admesh-ui-sdk 0.19.1 → 0.19.3

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.
package/dist/index.js CHANGED
@@ -1,37 +1,29 @@
1
- "use strict";var Ht=Object.defineProperty;var Kt=(t,e,o)=>e in t?Ht(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o;var $=(t,e,o)=>Kt(t,typeof e!="symbol"?e+"":e,o);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react"),Yt=require("react-dom");function at(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ge={exports:{}},se={};/**
1
+ "use strict";var X2=Object.defineProperty;var Q2=(v,g,C)=>g in v?X2(v,g,{enumerable:!0,configurable:!0,writable:!0,value:C}):v[g]=C;var _a=(v,g,C)=>Q2(v,typeof g!="symbol"?g+"":g,C);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const we=require("react"),yS=require("react-dom");function gS(v){return v&&v.__esModule&&Object.prototype.hasOwnProperty.call(v,"default")?v.default:v}var Tg={exports:{}},r0={};/**
2
2
  * @license React
3
- * react-jsx-runtime.production.min.js
3
+ * react-jsx-runtime.production.js
4
4
  *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Xe;function Gt(){if(Xe)return se;Xe=1;var t=w,e=Symbol.for("react.element"),o=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function n(l,h,b){var p,u={},g=null,x=null;b!==void 0&&(g=""+b),h.key!==void 0&&(g=""+h.key),h.ref!==void 0&&(x=h.ref);for(p in h)d.call(h,p)&&!i.hasOwnProperty(p)&&(u[p]=h[p]);if(l&&l.defaultProps)for(p in h=l.defaultProps,h)u[p]===void 0&&(u[p]=h[p]);return{$$typeof:e,type:l,key:g,ref:x,props:u,_owner:s.current}}return se.Fragment=o,se.jsx=n,se.jsxs=n,se}var ie={};/**
9
+ */var aS;function Z2(){if(aS)return r0;aS=1;var v=Symbol.for("react.transitional.element"),g=Symbol.for("react.fragment");function C(E,V,K){var L=null;if(K!==void 0&&(L=""+K),V.key!==void 0&&(L=""+V.key),"key"in V){K={};for(var q in V)q!=="key"&&(K[q]=V[q])}else K=V;return V=K.ref,{$$typeof:v,type:E,key:L,ref:V!==void 0?V:null,props:K}}return r0.Fragment=g,r0.jsx=C,r0.jsxs=C,r0}var d0={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Qe;function Jt(){return Qe||(Qe=1,process.env.NODE_ENV!=="production"&&function(){var t=w,e=Symbol.for("react.element"),o=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),n=Symbol.for("react.provider"),l=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),M=Symbol.iterator,N="@@iterator";function k(r){if(r===null||typeof r!="object")return null;var c=M&&r[M]||r[N];return typeof c=="function"?c:null}var A=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function j(r){{for(var c=arguments.length,m=new Array(c>1?c-1:0),v=1;v<c;v++)m[v-1]=arguments[v];D("error",r,m)}}function D(r,c,m){{var v=A.ReactDebugCurrentFrame,R=v.getStackAddendum();R!==""&&(c+="%s",m=m.concat([R]));var I=m.map(function(E){return String(E)});I.unshift("Warning: "+c),Function.prototype.apply.call(console[r],console,I)}}var H=!1,z=!1,y=!1,T=!1,f=!1,_;_=Symbol.for("react.module.reference");function S(r){return!!(typeof r=="string"||typeof r=="function"||r===d||r===i||f||r===s||r===b||r===p||T||r===x||H||z||y||typeof r=="object"&&r!==null&&(r.$$typeof===g||r.$$typeof===u||r.$$typeof===n||r.$$typeof===l||r.$$typeof===h||r.$$typeof===_||r.getModuleId!==void 0))}function K(r,c,m){var v=r.displayName;if(v)return v;var R=c.displayName||c.name||"";return R!==""?m+"("+R+")":m}function q(r){return r.displayName||"Context"}function P(r){if(r==null)return null;if(typeof r.tag=="number"&&j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case d:return"Fragment";case o:return"Portal";case i:return"Profiler";case s:return"StrictMode";case b:return"Suspense";case p:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case l:var c=r;return q(c)+".Consumer";case n:var m=r;return q(m._context)+".Provider";case h:return K(r,r.render,"ForwardRef");case u:var v=r.displayName||null;return v!==null?v:P(r.type)||"Memo";case g:{var R=r,I=R._payload,E=R._init;try{return P(E(I))}catch{return null}}}return null}var B=Object.assign,Y=0,L,G,le,xe,ne,J,ue;function De(){}De.__reactDisabledLog=!0;function yt(){{if(Y===0){L=console.log,G=console.info,le=console.warn,xe=console.error,ne=console.group,J=console.groupCollapsed,ue=console.groupEnd;var r={configurable:!0,enumerable:!0,value:De,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}Y++}}function vt(){{if(Y--,Y===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:B({},r,{value:L}),info:B({},r,{value:G}),warn:B({},r,{value:le}),error:B({},r,{value:xe}),group:B({},r,{value:ne}),groupCollapsed:B({},r,{value:J}),groupEnd:B({},r,{value:ue})})}Y<0&&j("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ye=A.ReactCurrentDispatcher,ve;function me(r,c,m){{if(ve===void 0)try{throw Error()}catch(R){var v=R.stack.trim().match(/\n( *(at )?)/);ve=v&&v[1]||""}return`
18
- `+ve+r}}var we=!1,he;{var wt=typeof WeakMap=="function"?WeakMap:Map;he=new wt}function Fe(r,c){if(!r||we)return"";{var m=he.get(r);if(m!==void 0)return m}var v;we=!0;var R=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var I;I=ye.current,ye.current=null,yt();try{if(c){var E=function(){throw Error()};if(Object.defineProperty(E.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(E,[])}catch(U){v=U}Reflect.construct(r,[],E)}else{try{E.call()}catch(U){v=U}r.call(E.prototype)}}else{try{throw Error()}catch(U){v=U}r()}}catch(U){if(U&&v&&typeof U.stack=="string"){for(var C=U.stack.split(`
19
- `),V=v.stack.split(`
20
- `),F=C.length-1,O=V.length-1;F>=1&&O>=0&&C[F]!==V[O];)O--;for(;F>=1&&O>=0;F--,O--)if(C[F]!==V[O]){if(F!==1||O!==1)do if(F--,O--,O<0||C[F]!==V[O]){var W=`
21
- `+C[F].replace(" at new "," at ");return r.displayName&&W.includes("<anonymous>")&&(W=W.replace("<anonymous>",r.displayName)),typeof r=="function"&&he.set(r,W),W}while(F>=1&&O>=0);break}}}finally{we=!1,ye.current=I,vt(),Error.prepareStackTrace=R}var te=r?r.displayName||r.name:"",X=te?me(te):"";return typeof r=="function"&&he.set(r,X),X}function kt(r,c,m){return Fe(r,!1)}function _t(r){var c=r.prototype;return!!(c&&c.isReactComponent)}function fe(r,c,m){if(r==null)return"";if(typeof r=="function")return Fe(r,_t(r));if(typeof r=="string")return me(r);switch(r){case b:return me("Suspense");case p:return me("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case h:return kt(r.render);case u:return fe(r.type,c,m);case g:{var v=r,R=v._payload,I=v._init;try{return fe(I(R),c,m)}catch{}}}return""}var ae=Object.prototype.hasOwnProperty,Oe={},Le=A.ReactDebugCurrentFrame;function pe(r){if(r){var c=r._owner,m=fe(r.type,r._source,c?c.type:null);Le.setExtraStackFrame(m)}else Le.setExtraStackFrame(null)}function St(r,c,m,v,R){{var I=Function.call.bind(ae);for(var E in r)if(I(r,E)){var C=void 0;try{if(typeof r[E]!="function"){var V=Error((v||"React class")+": "+m+" type `"+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[E]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw V.name="Invariant Violation",V}C=r[E](c,E,v,m,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(F){C=F}C&&!(C instanceof Error)&&(pe(R),j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",v||"React class",m,E,typeof C),pe(null)),C instanceof Error&&!(C.message in Oe)&&(Oe[C.message]=!0,pe(R),j("Failed %s type: %s",m,C.message),pe(null))}}}var Ct=Array.isArray;function ke(r){return Ct(r)}function Tt(r){{var c=typeof Symbol=="function"&&Symbol.toStringTag,m=c&&r[Symbol.toStringTag]||r.constructor.name||"Object";return m}}function Et(r){try{return Ve(r),!1}catch{return!0}}function Ve(r){return""+r}function $e(r){if(Et(r))return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Tt(r)),Ve(r)}var Ue=A.ReactCurrentOwner,Mt={key:!0,ref:!0,__self:!0,__source:!0},Be,ze;function Rt(r){if(ae.call(r,"ref")){var c=Object.getOwnPropertyDescriptor(r,"ref").get;if(c&&c.isReactWarning)return!1}return r.ref!==void 0}function jt(r){if(ae.call(r,"key")){var c=Object.getOwnPropertyDescriptor(r,"key").get;if(c&&c.isReactWarning)return!1}return r.key!==void 0}function At(r,c){typeof r.ref=="string"&&Ue.current}function It(r,c){{var m=function(){Be||(Be=!0,j("%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://reactjs.org/link/special-props)",c))};m.isReactWarning=!0,Object.defineProperty(r,"key",{get:m,configurable:!0})}}function Pt(r,c){{var m=function(){ze||(ze=!0,j("%s: `ref` 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://reactjs.org/link/special-props)",c))};m.isReactWarning=!0,Object.defineProperty(r,"ref",{get:m,configurable:!0})}}var Nt=function(r,c,m,v,R,I,E){var C={$$typeof:e,type:r,key:c,ref:m,props:E,_owner:I};return C._store={},Object.defineProperty(C._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(C,"_self",{configurable:!1,enumerable:!1,writable:!1,value:v}),Object.defineProperty(C,"_source",{configurable:!1,enumerable:!1,writable:!1,value:R}),Object.freeze&&(Object.freeze(C.props),Object.freeze(C)),C};function Dt(r,c,m,v,R){{var I,E={},C=null,V=null;m!==void 0&&($e(m),C=""+m),jt(c)&&($e(c.key),C=""+c.key),Rt(c)&&(V=c.ref,At(c,R));for(I in c)ae.call(c,I)&&!Mt.hasOwnProperty(I)&&(E[I]=c[I]);if(r&&r.defaultProps){var F=r.defaultProps;for(I in F)E[I]===void 0&&(E[I]=F[I])}if(C||V){var O=typeof r=="function"?r.displayName||r.name||"Unknown":r;C&&It(E,O),V&&Pt(E,O)}return Nt(r,C,V,R,v,Ue.current,E)}}var _e=A.ReactCurrentOwner,qe=A.ReactDebugCurrentFrame;function ee(r){if(r){var c=r._owner,m=fe(r.type,r._source,c?c.type:null);qe.setExtraStackFrame(m)}else qe.setExtraStackFrame(null)}var Se;Se=!1;function Ce(r){return typeof r=="object"&&r!==null&&r.$$typeof===e}function We(){{if(_e.current){var r=P(_e.current.type);if(r)return`
22
-
23
- Check the render method of \``+r+"`."}return""}}function Ft(r){return""}var He={};function Ot(r){{var c=We();if(!c){var m=typeof r=="string"?r:r.displayName||r.name;m&&(c=`
24
-
25
- Check the top-level render call using <`+m+">.")}return c}}function Ke(r,c){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var m=Ot(c);if(He[m])return;He[m]=!0;var v="";r&&r._owner&&r._owner!==_e.current&&(v=" It was passed a child from "+P(r._owner.type)+"."),ee(r),j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',m,v),ee(null)}}function Ye(r,c){{if(typeof r!="object")return;if(ke(r))for(var m=0;m<r.length;m++){var v=r[m];Ce(v)&&Ke(v,c)}else if(Ce(r))r._store&&(r._store.validated=!0);else if(r){var R=k(r);if(typeof R=="function"&&R!==r.entries)for(var I=R.call(r),E;!(E=I.next()).done;)Ce(E.value)&&Ke(E.value,c)}}}function Lt(r){{var c=r.type;if(c==null||typeof c=="string")return;var m;if(typeof c=="function")m=c.propTypes;else if(typeof c=="object"&&(c.$$typeof===h||c.$$typeof===u))m=c.propTypes;else return;if(m){var v=P(c);St(m,r.props,"prop",v,r)}else if(c.PropTypes!==void 0&&!Se){Se=!0;var R=P(c);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",R||"Unknown")}typeof c.getDefaultProps=="function"&&!c.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Vt(r){{for(var c=Object.keys(r.props),m=0;m<c.length;m++){var v=c[m];if(v!=="children"&&v!=="key"){ee(r),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",v),ee(null);break}}r.ref!==null&&(ee(r),j("Invalid attribute `ref` supplied to `React.Fragment`."),ee(null))}}var Ge={};function Je(r,c,m,v,R,I){{var E=S(r);if(!E){var C="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(C+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var V=Ft();V?C+=V:C+=We();var F;r===null?F="null":ke(r)?F="array":r!==void 0&&r.$$typeof===e?(F="<"+(P(r.type)||"Unknown")+" />",C=" Did you accidentally export a JSX literal instead of a component?"):F=typeof r,j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",F,C)}var O=Dt(r,c,m,R,I);if(O==null)return O;if(E){var W=c.children;if(W!==void 0)if(v)if(ke(W)){for(var te=0;te<W.length;te++)Ye(W[te],r);Object.freeze&&Object.freeze(W)}else j("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 Ye(W,r)}if(ae.call(c,"key")){var X=P(r),U=Object.keys(c).filter(function(Wt){return Wt!=="key"}),Te=U.length>0?"{key: someKey, "+U.join(": ..., ")+": ...}":"{key: someKey}";if(!Ge[X+Te]){var qt=U.length>0?"{"+U.join(": ..., ")+": ...}":"{}";j(`A props object containing a "key" prop is being spread into JSX:
17
+ */var nS;function J2(){return nS||(nS=1,process.env.NODE_ENV!=="production"&&function(){function v(j){if(j==null)return null;if(typeof j=="function")return j.$$typeof===ee?null:j.displayName||j.name||null;if(typeof j=="string")return j;switch(j){case qe:return"Fragment";case De:return"Profiler";case re:return"StrictMode";case Rt:return"Suspense";case de:return"SuspenseList";case Me: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 ze:return"Portal";case je:return j.displayName||"Context";case bt:return(j._context.displayName||"Context")+".Consumer";case St:var se=j.render;return j=j.displayName,j||(j=se.displayName||se.name||"",j=j!==""?"ForwardRef("+j+")":"ForwardRef"),j;case Ae:return se=j.displayName||null,se!==null?se:v(j.type)||"Memo";case I:se=j._payload,j=j._init;try{return v(j(se))}catch{}}return null}function g(j){return""+j}function C(j){try{g(j);var se=!1}catch{se=!0}if(se){se=console;var Se=se.error,xe=typeof Symbol=="function"&&Symbol.toStringTag&&j[Symbol.toStringTag]||j.constructor.name||"Object";return Se.call(se,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",xe),g(j)}}function E(j){if(j===qe)return"<>";if(typeof j=="object"&&j!==null&&j.$$typeof===I)return"<...>";try{var se=v(j);return se?"<"+se+">":"<...>"}catch{return"<...>"}}function V(){var j=lt.A;return j===null?null:j.getOwner()}function K(){return Error("react-stack-top-frame")}function L(j){if(Ue.call(j,"key")){var se=Object.getOwnPropertyDescriptor(j,"key").get;if(se&&se.isReactWarning)return!1}return j.key!==void 0}function q(j,se){function Se(){qt||(qt=!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)",se))}Se.isReactWarning=!0,Object.defineProperty(j,"key",{get:Se,configurable:!0})}function ue(){var j=v(this.type);return z[j]||(z[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 he(j,se,Se,xe,Re,ht,Ra,cu){return Se=ht.ref,j={$$typeof:oe,type:j,key:se,props:ht,_owner:Re},(Se!==void 0?Se:null)!==null?Object.defineProperty(j,"ref",{enumerable:!1,get:ue}):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:Ra}),Object.defineProperty(j,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:cu}),Object.freeze&&(Object.freeze(j.props),Object.freeze(j)),j}function Ee(j,se,Se,xe,Re,ht,Ra,cu){var Yt=se.children;if(Yt!==void 0)if(xe)if(ye(Yt)){for(xe=0;xe<Yt.length;xe++)W(Yt[xe]);Object.freeze&&Object.freeze(Yt)}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 W(Yt);if(Ue.call(se,"key")){Yt=v(j);var xl=Object.keys(se).filter(function(ne){return ne!=="key"});xe=0<xl.length?"{key: someKey, "+xl.join(": ..., ")+": ...}":"{key: someKey}",be[Yt+xe]||(xl=0<xl.length?"{"+xl.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
26
18
  let props = %s;
27
19
  <%s {...props} />
28
20
  React keys must be passed directly to JSX without using spread:
29
21
  let props = %s;
30
- <%s key={someKey} {...props} />`,Te,X,qt,X),Ge[X+Te]=!0}}return r===d?Vt(O):Lt(O),O}}function $t(r,c,m){return Je(r,c,m,!0)}function Ut(r,c,m){return Je(r,c,m,!1)}var Bt=Ut,zt=$t;ie.Fragment=d,ie.jsx=Bt,ie.jsxs=zt}()),ie}var Ze;function Xt(){return Ze||(Ze=1,process.env.NODE_ENV==="production"?ge.exports=Gt():ge.exports=Jt()),ge.exports}var a=Xt();const Qt=t=>{try{return new URL(t),!0}catch{return!1}},et=(t,e)=>{const o=new Map;e.forEach(h=>{h.admesh_link&&o.set(h.admesh_link,h)});const d=/\[([^\]]+)\]\(([^)]+)\)/g,s=[];let i=0,n,l=0;for(;(n=d.exec(t))!==null;){const[h,b,p]=n,u=o.get(p);n.index>i&&s.push(t.slice(i,n.index)),u?(l++,s.push(a.jsx("a",{href:u.admesh_link,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 underline decoration-blue-600 dark:decoration-blue-400 hover:decoration-blue-800 dark:hover:decoration-blue-300 transition-colors duration-200 font-medium",style:{color:"#2563eb",textDecoration:"underline",textDecorationColor:"#2563eb",textUnderlineOffset:"2px"},onClick:g=>{console.log("AdMesh summary link clicked:",{adId:u.ad_id,productId:u.product_id,title:u.title||u.recommendation_title,brand:u.brand,pricing:u.pricing,admeshLink:u.admesh_link,source:"summary"}),typeof window<"u"&&window.admeshTracker&&window.admeshTracker.trackClick({adId:u.ad_id,productId:u.product_id,admeshLink:u.admesh_link,source:"summary"})},children:b},`summary-link-${l}`))):(console.warn(`[AdMesh Summary] No recommendation found for link: [${b}](${p}), creating regular link`),Qt(p)?(l++,s.push(a.jsx("a",{href:p,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 underline decoration-blue-600 dark:decoration-blue-400 hover:decoration-blue-800 dark:hover:decoration-blue-300 transition-colors duration-200 font-medium",style:{color:"#2563eb",textDecoration:"underline",textDecorationColor:"#2563eb",textUnderlineOffset:"2px"},onClick:g=>{console.log("AdMesh summary unmatched link clicked:",{linkText:b,url:p,source:"summary"}),typeof window<"u"&&window.admeshTracker&&window.admeshTracker.trackClick({url:p,linkText:b,source:"summary_unmatched"})},children:b},`summary-link-${l}`))):(console.warn(`[AdMesh Summary] Invalid URL in markdown link: [${b}](${p})`),s.push(b))),i=n.index+h.length}return i<t.length&&s.push(t.slice(i)),s},Ae=({summaryText:t,recommendations:e,theme:o,className:d="",style:s={},onLinkClick:i})=>{if(!t||!t.trim())return console.warn("[AdMesh Summary] No summary text provided"),null;if(!e||e.length===0){console.warn("[AdMesh Summary] No recommendations provided");const l=et(t,[]);return a.jsx("div",{className:`admesh-summary-unit ${d}`,style:s,children:a.jsx("p",{className:"text-gray-700 dark:text-gray-300 leading-relaxed",children:l.map((h,b)=>a.jsx(w.Fragment,{children:h},b))})})}const n=et(t,e);return a.jsxs("div",{className:`admesh-summary-unit ${d}`,style:{fontFamily:(o==null?void 0:o.fontFamily)||'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',...s},children:[a.jsx("div",{className:"summary-content",children:a.jsx("p",{className:"text-gray-700 dark:text-gray-300 leading-relaxed text-base",children:n.map((l,h)=>a.jsx(w.Fragment,{children:l},h))})}),a.jsx("div",{className:"mt-3 pt-2 border-t border-gray-200 dark:border-gray-700",children:a.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:"Sponsored"})})]})};var Ee={exports:{}};/*!
22
+ <%s key={someKey} {...props} />`,xe,Yt,xl,Yt),be[Yt+xe]=!0)}if(Yt=null,Se!==void 0&&(C(Se),Yt=""+Se),L(se)&&(C(se.key),Yt=""+se.key),"key"in se){Se={};for(var Ri in se)Ri!=="key"&&(Se[Ri]=se[Ri])}else Se=se;return Yt&&q(Se,typeof j=="function"?j.displayName||j.name||"Unknown":j),he(j,Yt,ht,Re,V(),Se,Ra,cu)}function W(j){typeof j=="object"&&j!==null&&j.$$typeof===oe&&j._store&&(j._store.validated=1)}var te=we,oe=Symbol.for("react.transitional.element"),ze=Symbol.for("react.portal"),qe=Symbol.for("react.fragment"),re=Symbol.for("react.strict_mode"),De=Symbol.for("react.profiler"),bt=Symbol.for("react.consumer"),je=Symbol.for("react.context"),St=Symbol.for("react.forward_ref"),Rt=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),Ae=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),Me=Symbol.for("react.activity"),ee=Symbol.for("react.client.reference"),lt=te.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ue=Object.prototype.hasOwnProperty,ye=Array.isArray,Ct=console.createTask?console.createTask:function(){return null};te={react_stack_bottom_frame:function(j){return j()}};var qt,z={},J=te.react_stack_bottom_frame.bind(te,K)(),P=Ct(E(K)),be={};d0.Fragment=qe,d0.jsx=function(j,se,Se,xe,Re){var ht=1e4>lt.recentlyCreatedOwnerStacks++;return Ee(j,se,Se,!1,xe,Re,ht?Error("react-stack-top-frame"):J,ht?Ct(E(j)):P)},d0.jsxs=function(j,se,Se,xe,Re){var ht=1e4>lt.recentlyCreatedOwnerStacks++;return Ee(j,se,Se,!0,xe,Re,ht?Error("react-stack-top-frame"):J,ht?Ct(E(j)):P)}}()),d0}var uS;function k2(){return uS||(uS=1,process.env.NODE_ENV==="production"?Tg.exports=Z2():Tg.exports=J2()),Tg.exports}var $=k2();const K2=v=>{try{return new URL(v),!0}catch{return!1}},iS=(v,g)=>{const C=new Map;g.forEach(ue=>{ue.admesh_link&&C.set(ue.admesh_link,ue)});const E=/\[([^\]]+)\]\(([^)]+)\)/g,V=[];let K=0,L,q=0;for(;(L=E.exec(v))!==null;){const[ue,he,Ee]=L,W=C.get(Ee);L.index>K&&V.push(v.slice(K,L.index)),W?(q++,V.push($.jsx("a",{href:W.admesh_link,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 underline decoration-blue-600 dark:decoration-blue-400 hover:decoration-blue-800 dark:hover:decoration-blue-300 transition-colors duration-200 font-medium",style:{color:"#2563eb",textDecoration:"underline",textDecorationColor:"#2563eb",textUnderlineOffset:"2px"},onClick:te=>{console.log("AdMesh summary link clicked:",{adId:W.ad_id,productId:W.product_id,title:W.title||W.recommendation_title,brand:W.brand,pricing:W.pricing,admeshLink:W.admesh_link,source:"summary"}),typeof window<"u"&&window.admeshTracker&&window.admeshTracker.trackClick({adId:W.ad_id,productId:W.product_id,admeshLink:W.admesh_link,source:"summary"})},children:he},`summary-link-${q}`))):(console.warn(`[AdMesh Summary] No recommendation found for link: [${he}](${Ee}), creating regular link`),K2(Ee)?(q++,V.push($.jsx("a",{href:Ee,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 underline decoration-blue-600 dark:decoration-blue-400 hover:decoration-blue-800 dark:hover:decoration-blue-300 transition-colors duration-200 font-medium",style:{color:"#2563eb",textDecoration:"underline",textDecorationColor:"#2563eb",textUnderlineOffset:"2px"},onClick:te=>{console.log("AdMesh summary unmatched link clicked:",{linkText:he,url:Ee,source:"summary"}),typeof window<"u"&&window.admeshTracker&&window.admeshTracker.trackClick({url:Ee,linkText:he,source:"summary_unmatched"})},children:he},`summary-link-${q}`))):(console.warn(`[AdMesh Summary] Invalid URL in markdown link: [${he}](${Ee})`),V.push(he))),K=L.index+ue.length}return K<v.length&&V.push(v.slice(K)),V},ab=({summaryText:v,recommendations:g,theme:C,className:E="",style:V={},onLinkClick:K})=>{if(!v||!v.trim())return console.warn("[AdMesh Summary] No summary text provided"),null;if(!g||g.length===0){console.warn("[AdMesh Summary] No recommendations provided");const q=iS(v,[]);return $.jsx("div",{className:`admesh-summary-unit ${E}`,style:V,children:$.jsx("p",{className:"text-gray-700 dark:text-gray-300 leading-relaxed",children:q.map((ue,he)=>$.jsx(we.Fragment,{children:ue},he))})})}const L=iS(v,g);return $.jsxs("div",{className:`admesh-summary-unit ${E}`,style:{fontFamily:(C==null?void 0:C.fontFamily)||'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',...V},children:[$.jsx("div",{className:"summary-content",children:$.jsx("p",{className:"text-gray-700 dark:text-gray-300 leading-relaxed text-base",children:L.map((q,ue)=>$.jsx(we.Fragment,{children:q},ue))})}),$.jsx("div",{className:"mt-3 pt-2 border-t border-gray-200 dark:border-gray-700",children:$.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:"Sponsored"})})]})};var Fv={exports:{}};/*!
31
23
  Copyright (c) 2018 Jed Watson.
32
24
  Licensed under the MIT License (MIT), see
33
25
  http://jedwatson.github.io/classnames
34
- */var tt;function Zt(){return tt||(tt=1,function(t){(function(){var e={}.hasOwnProperty;function o(){for(var i="",n=0;n<arguments.length;n++){var l=arguments[n];l&&(i=s(i,d(l)))}return i}function d(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return o.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var n="";for(var l in i)e.call(i,l)&&i[l]&&(n=s(n,l));return n}function s(i,n){return n?i?i+" "+n:i+n:i}t.exports?(o.default=o,t.exports=o):window.classNames=o})()}(Ee)),Ee.exports}var er=Zt();const Z=at(er),tr="https://api.useadmesh.com/track";let Ie={apiBaseUrl:tr,enabled:!0,debug:!1,retryAttempts:3,retryDelay:1e3};const rr=t=>{Ie={...Ie,...t}},st=t=>{const[e,o]=w.useState(!1),[d,s]=w.useState(null),i=w.useMemo(()=>({...Ie,...t}),[t]),n=w.useCallback((u,g)=>{i.debug&&console.log(`[AdMesh Tracker] ${u}`,g)},[i.debug]),l=w.useCallback(async(u,g)=>{if(!i.enabled){n("Tracking disabled, skipping event",{eventType:u,data:g});return}if(!g.adId||!g.admeshLink){const k="Missing required tracking data: adId and admeshLink are required";n(k,g),s(k);return}o(!0),s(null);const x={event_type:u,ad_id:g.adId,admesh_link:g.admeshLink,product_id:g.productId,user_id:g.userId,session_id:g.sessionId,revenue:g.revenue,conversion_type:g.conversionType,metadata:g.metadata,timestamp:new Date().toISOString(),user_agent:navigator.userAgent,referrer:document.referrer,page_url:window.location.href};n(`Sending ${u} event`,x);let M=null;for(let k=1;k<=(i.retryAttempts||3);k++)try{const A=await fetch(`${i.apiBaseUrl}/events`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(x)});if(!A.ok)throw new Error(`HTTP ${A.status}: ${A.statusText}`);const j=await A.json();n(`${u} event tracked successfully`,j),o(!1);return}catch(A){M=A,n(`Attempt ${k} failed for ${u} event`,A),k<(i.retryAttempts||3)&&await new Promise(j=>setTimeout(j,(i.retryDelay||1e3)*k))}const N=`Failed to track ${u} event after ${i.retryAttempts} attempts: ${M==null?void 0:M.message}`;n(N,M),s(N),o(!1)},[i,n]),h=w.useCallback(async u=>l("click",u),[l]),b=w.useCallback(async u=>l("view",u),[l]),p=w.useCallback(async u=>(!u.revenue&&!u.conversionType&&n("Warning: Conversion tracking without revenue or conversion type",u),l("conversion",u)),[l,n]);return{trackClick:h,trackView:b,trackConversion:p,isTracking:e,error:d}},or=(t,e,o)=>{try{const d=new URL(t);return d.searchParams.set("ad_id",e),d.searchParams.set("utm_source","admesh"),d.searchParams.set("utm_medium","recommendation"),o&&Object.entries(o).forEach(([s,i])=>{d.searchParams.set(s,i)}),d.toString()}catch(d){return console.warn("[AdMesh] Invalid URL provided to buildAdMeshLink:",t,d),t}},nr=(t,e)=>({adId:t.ad_id,admeshLink:t.admesh_link,productId:t.product_id,...e}),ce=({adId:t,admeshLink:e,productId:o,children:d,trackingData:s,className:i,style:n})=>{const{trackClick:l,trackView:h}=st(),b=w.useRef(null),p=w.useRef(!1);w.useEffect(()=>{if(!b.current||p.current)return;const g=new IntersectionObserver(x=>{x.forEach(M=>{M.isIntersecting&&!p.current&&(p.current=!0,h({adId:t,admeshLink:e,productId:o,...s}).catch(console.error))})},{threshold:.5,rootMargin:"0px"});return g.observe(b.current),()=>{g.disconnect()}},[t,e,o,s,h]);const u=w.useCallback(async g=>{try{await l({adId:t,admeshLink:e,productId:o,...s})}catch(N){console.error("Failed to track click:",N)}g.target.closest("a")||window.open(e,"_blank","noopener,noreferrer")},[t,e,o,s,l]);return a.jsx("div",{ref:b,className:i,onClick:u,style:{cursor:"pointer",...n},children:d})};ce.displayName="AdMeshLinkTracker";const ar=`
26
+ */var cS;function $2(){return cS||(cS=1,function(v){(function(){var g={}.hasOwnProperty;function C(){for(var K="",L=0;L<arguments.length;L++){var q=arguments[L];q&&(K=V(K,E(q)))}return K}function E(K){if(typeof K=="string"||typeof K=="number")return K;if(typeof K!="object")return"";if(Array.isArray(K))return C.apply(null,K);if(K.toString!==Object.prototype.toString&&!K.toString.toString().includes("[native code]"))return K.toString();var L="";for(var q in K)g.call(K,q)&&K[q]&&(L=V(L,q));return L}function V(K,L){return L?K?K+" "+L:K+L:K}v.exports?(C.default=C,v.exports=C):window.classNames=C})()}(Fv)),Fv.exports}var W2=$2();const sr=gS(W2),F2="https://api.useadmesh.com/track";let nb={apiBaseUrl:F2,enabled:!0,debug:!1,retryAttempts:3,retryDelay:1e3};const I2=v=>{nb={...nb,...v}},vS=v=>{const[g,C]=we.useState(!1),[E,V]=we.useState(null),K=we.useMemo(()=>({...nb,...v}),[v]),L=we.useCallback((W,te)=>{K.debug&&console.log(`[AdMesh Tracker] ${W}`,te)},[K.debug]),q=we.useCallback(async(W,te)=>{if(!K.enabled){L("Tracking disabled, skipping event",{eventType:W,data:te});return}if(!te.adId||!te.admeshLink){const re="Missing required tracking data: adId and admeshLink are required";L(re,te),V(re);return}C(!0),V(null);const oe={event_type:W,ad_id:te.adId,admesh_link:te.admeshLink,product_id:te.productId,user_id:te.userId,session_id:te.sessionId,revenue:te.revenue,conversion_type:te.conversionType,metadata:te.metadata,timestamp:new Date().toISOString(),user_agent:navigator.userAgent,referrer:document.referrer,page_url:window.location.href};L(`Sending ${W} event`,oe);let ze=null;for(let re=1;re<=(K.retryAttempts||3);re++)try{const De=await fetch(`${K.apiBaseUrl}/events`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(oe)});if(!De.ok)throw new Error(`HTTP ${De.status}: ${De.statusText}`);const bt=await De.json();L(`${W} event tracked successfully`,bt),C(!1);return}catch(De){ze=De,L(`Attempt ${re} failed for ${W} event`,De),re<(K.retryAttempts||3)&&await new Promise(bt=>setTimeout(bt,(K.retryDelay||1e3)*re))}const qe=`Failed to track ${W} event after ${K.retryAttempts} attempts: ${ze==null?void 0:ze.message}`;L(qe,ze),V(qe),C(!1)},[K,L]),ue=we.useCallback(async W=>q("click",W),[q]),he=we.useCallback(async W=>q("view",W),[q]),Ee=we.useCallback(async W=>(!W.revenue&&!W.conversionType&&L("Warning: Conversion tracking without revenue or conversion type",W),q("conversion",W)),[q,L]);return{trackClick:ue,trackView:he,trackConversion:Ee,isTracking:g,error:E}},P2=(v,g,C)=>{try{const E=new URL(v);return E.searchParams.set("ad_id",g),E.searchParams.set("utm_source","admesh"),E.searchParams.set("utm_medium","recommendation"),C&&Object.entries(C).forEach(([V,K])=>{E.searchParams.set(V,K)}),E.toString()}catch(E){return console.warn("[AdMesh] Invalid URL provided to buildAdMeshLink:",v,E),v}},eT=(v,g)=>({adId:v.ad_id,admeshLink:v.admesh_link,productId:v.product_id,...g}),y0=({adId:v,admeshLink:g,productId:C,children:E,trackingData:V,className:K,style:L})=>{const{trackClick:q,trackView:ue}=vS(),he=we.useRef(null),Ee=we.useRef(!1);we.useEffect(()=>{if(!he.current||Ee.current)return;const te=new IntersectionObserver(oe=>{oe.forEach(ze=>{ze.isIntersecting&&!Ee.current&&(Ee.current=!0,ue({adId:v,admeshLink:g,productId:C,...V}).catch(console.error))})},{threshold:.5,rootMargin:"0px"});return te.observe(he.current),()=>{te.disconnect()}},[v,g,C,V,ue]);const W=we.useCallback(async te=>{try{await q({adId:v,admeshLink:g,productId:C,...V})}catch(qe){console.error("Failed to track click:",qe)}te.target.closest("a")||window.open(g,"_blank","noopener,noreferrer")},[v,g,C,V,q]);return $.jsx("div",{ref:he,className:K,onClick:W,style:{cursor:"pointer",...L},children:E})};y0.displayName="AdMeshLinkTracker";const tT=`
35
27
  /* AdMesh UI SDK - Complete Self-Contained Styles */
36
28
 
37
29
  /* CSS Reset for AdMesh components */
@@ -699,7 +691,7 @@ React keys must be passed directly to JSX without using spread:
699
691
  .admesh-component .lg\\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
700
692
  .admesh-component .lg\\:col-span-1 { grid-column: span 1 / span 1; }
701
693
  }
702
- `;let Me=!1;const it=()=>{w.useEffect(()=>{if(Me)return;const t=document.createElement("style");return t.id="admesh-ui-sdk-styles",t.textContent=ar,document.getElementById("admesh-ui-sdk-styles")||(document.head.appendChild(t),Me=!0),()=>{const e=document.getElementById("admesh-ui-sdk-styles");e&&document.head.contains(e)&&(document.head.removeChild(e),Me=!1)}},[])},oe=(t,e={})=>{const o=t.intent_match_score||0,d=e.customLabels||{};return o>=.8?d.partnerRecommendation||"Smart Pick":o>=.6?d.partnerMatch||"Partner Recommendation":o>=.3?d.promotedOption||"Promoted Match":d.relatedOption||"Related"},Pe=(t,e)=>{const o=t.intent_match_score||0;return o>=.8?"This recommendation is from a partner who compensates us when you engage. We've matched it to your needs based on your query.":o>=.6?"Top-rated partner solution matched to your specific requirements. Partner compensates us for qualified referrals.":o>=.3?"This partner solution may be relevant to your needs. The partner compensates us when you take qualifying actions.":"This solution is somewhat related to your query. While not a perfect match, it might still be helpful. This partner compensates us for qualified referrals."},sr=(t=!0,e=!1)=>t?e?"These curated recommendations are from partners who compensate us for referrals.":"Personalized Sponsoreds: All results are from vetted partners who compensate us for qualified matches. We've ranked them based on relevance to your specific needs.":"Expanded Results: While these don't perfectly match your query, they're related solutions from our partner network. All partners compensate us for referrals.",ir=(t,e=!1)=>{const o=t.intent_match_score||0;return e?"Promoted Match":o>=.8?"Smart Pick":o>=.6?"Partner Recommendation":"Promoted Match"},dr=()=>"We've partnered with trusted providers to bring you relevant solutions. These partners compensate us for qualified referrals, which helps us keep our service free.",cr=t=>({"Top Match":"Smart Pick",Sponsored:"Smart Pick","Perfect Fit":"Smart Pick","Great Match":"Partner Recommendation",Recommended:"Partner Recommendation","Good Fit":"Promoted Match",Featured:"Promoted Match","Popular Choice":"Popular Choice","Premium Pick":"Premium Pick","Free Tier":"Free Tier","AI Powered":"AI Powered",Popular:"Popular",New:"New","Trial Available":"Trial Available","Related Option":"Related Option","Alternative Solution":"Alternative Solution","Expanded Match":"Expanded Match"})[t]||t,lr=(t,e="button")=>{const o=t.recommendation_title||t.title;return e==="link"?o:t.trial_days&&t.trial_days>0?`Try ${o}`:"Learn More"},ur=t=>t.some(e=>(e.intent_match_score||0)>=.8),mr=(t=!1)=>t?"":"Recommendations ",de=({recommendation:t,theme:e,showBadges:o=!0,showFeatures:d=!1,variation:s="default",expandable:i=!1,className:n,style:l})=>{var M,N,k,A,j,D,H,z,y,T,f,_,S,K,q,P,B,Y;it();const[h,b]=w.useState(!1);w.useMemo(()=>{var ne;const L=[],G=oe(t);(G==="Smart Pick"||G==="Partner Recommendation"||G==="Promoted Match")&&L.push("Top Match"),t.trial_days&&t.trial_days>0&&L.push("Trial Available");const le=["ai","artificial intelligence","machine learning","ml","automation"];return(((ne=t.keywords)==null?void 0:ne.some(J=>le.some(ue=>J.toLowerCase().includes(ue))))||t.title.toLowerCase().includes("ai"))&&L.push("AI Powered"),t.badges&&t.badges.length>0&&t.badges.forEach(J=>{["Top Match","Free Tier","AI Powered","Popular","New","Trial Available"].includes(J)&&!L.includes(J)&&L.push(J)}),L},[t]),Math.round((((M=t.meta)==null?void 0:M.intent_match_score)||t.intent_match_score||0)*100);const u=s==="simple"?{title:t.recommendation_title||t.title,description:t.recommendation_description||t.description||t.reason,ctaText:t.recommendation_title||t.title,isSimple:!0}:{title:t.recommendation_title||t.title,description:t.recommendation_description||t.description||t.reason,ctaText:t.recommendation_title||t.title},g=Z("admesh-component","admesh-card","relative p-3 sm:p-4 rounded-xl bg-gradient-to-br from-white to-gray-50 dark:from-slate-800 dark:to-slate-900 border border-gray-200/50 dark:border-slate-700/50 shadow-lg hover:shadow-xl transition-all duration-300 hover:-translate-y-1",n),x=e?{"--admesh-primary":e.primaryColor||e.accentColor||"#3b82f6","--admesh-secondary":e.secondaryColor||"#10b981","--admesh-accent":e.accentColor||"#3b82f6","--admesh-background":e.backgroundColor,"--admesh-surface":e.surfaceColor,"--admesh-border":e.borderColor,"--admesh-text":e.textColor,"--admesh-text-secondary":e.textSecondaryColor,"--admesh-radius":e.borderRadius||"12px","--admesh-shadow-sm":(N=e.shadows)==null?void 0:N.small,"--admesh-shadow-md":(k=e.shadows)==null?void 0:k.medium,"--admesh-shadow-lg":(A=e.shadows)==null?void 0:A.large,"--admesh-spacing-sm":(j=e.spacing)==null?void 0:j.small,"--admesh-spacing-md":(D=e.spacing)==null?void 0:D.medium,"--admesh-spacing-lg":(H=e.spacing)==null?void 0:H.large,"--admesh-font-size-sm":(z=e.fontSize)==null?void 0:z.small,"--admesh-font-size-base":(y=e.fontSize)==null?void 0:y.base,"--admesh-font-size-lg":(T=e.fontSize)==null?void 0:T.large,"--admesh-font-size-title":(f=e.fontSize)==null?void 0:f.title,fontFamily:e.fontFamily,width:((S=(_=e.components)==null?void 0:_.productCard)==null?void 0:S.width)||"100%"}:{width:"100%"};return s==="simple"?a.jsxs("div",{className:Z("admesh-component admesh-simple-ad","inline-block text-sm leading-relaxed",n),style:{fontFamily:(e==null?void 0:e.fontFamily)||'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',...(K=e==null?void 0:e.components)==null?void 0:K.productCard,...l},"data-admesh-theme":e==null?void 0:e.mode,children:[a.jsx("span",{style:{fontSize:"11px",fontWeight:"600",color:(e==null?void 0:e.mode)==="dark"?"#000000":"#ffffff",backgroundColor:(e==null?void 0:e.mode)==="dark"?"#ffffff":"#000000",padding:"2px 6px",borderRadius:"4px",marginRight:"8px"},title:Pe(t,oe(t)),children:oe(t)}),a.jsxs("span",{style:{color:(e==null?void 0:e.mode)==="dark"?"#f3f4f6":"#374151",marginRight:"4px"},children:[u.description," "]}),a.jsx(ce,{adId:((q=t.meta)==null?void 0:q.ad_id)||t.ad_id||"",admeshLink:t.admesh_link,productId:t.product_id,trackingData:{title:t.title,matchScore:t.intent_match_score,component:"simple_ad_cta"},children:a.jsx("span",{style:{color:(e==null?void 0:e.mode)==="dark"?"#ffffff":"#000000",textDecoration:"underline",cursor:"pointer",fontSize:"inherit",fontFamily:"inherit"},children:u.ctaText})})]}):a.jsx("div",{className:g,style:{fontFamily:(e==null?void 0:e.fontFamily)||'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',...(P=e==null?void 0:e.components)==null?void 0:P.productCard,...l},"data-admesh-theme":e==null?void 0:e.mode,children:a.jsxs("div",{className:"h-full flex flex-col",style:x,children:[a.jsx("div",{className:"mb-1.5",children:a.jsx("span",{style:{fontSize:"11px",fontWeight:"600",color:(e==null?void 0:e.mode)==="dark"?"#000000":"#ffffff",backgroundColor:(e==null?void 0:e.mode)==="dark"?"#ffffff":"#000000",padding:"2px 6px",borderRadius:"4px"},title:Pe(t,oe(t)),children:oe(t)})}),a.jsxs("div",{className:"flex justify-between items-center gap-3 mb-2",children:[a.jsxs("div",{className:"flex items-center gap-2 flex-1 min-w-0",children:[t.product_logo&&a.jsx("img",{src:t.product_logo.url,alt:`${t.title} logo`,className:"w-6 h-6 rounded flex-shrink-0",onError:L=>{L.target.style.display="none"}}),a.jsx("h4",{className:"font-semibold text-gray-800 dark:text-gray-200 text-sm sm:text-base truncate",children:u.title})]}),a.jsx("div",{className:"flex-shrink-0",children:a.jsx(ce,{adId:((B=t.meta)==null?void 0:B.ad_id)||t.ad_id||"",admeshLink:t.admesh_link,productId:t.product_id,trackingData:{title:t.title,matchScore:((Y=t.meta)==null?void 0:Y.intent_match_score)||t.intent_match_score,component:"product_card_cta"},children:a.jsxs("button",{className:"text-xs px-2 py-1 sm:px-3 sm:py-2 rounded-full flex items-center transition-all duration-200 transform hover:scale-105 shadow-md hover:shadow-lg whitespace-nowrap",style:{backgroundColor:(e==null?void 0:e.accentColor)||"#000000",color:(e==null?void 0:e.mode)==="dark"?"#000000":"#ffffff"},children:["Visit",a.jsx("svg",{className:"ml-1 h-3 w-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})]})})})]}),a.jsx("div",{className:"mb-3",children:a.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-300 leading-snug",children:u.description})}),d&&t.features&&t.features.length>0&&a.jsxs("div",{className:"mb-2",children:[a.jsx("div",{className:"text-xs font-medium mb-1.5",style:{color:(e==null?void 0:e.mode)==="dark"?"#9ca3af":"#666666"},children:"Key Features"}),a.jsxs("div",{className:"flex flex-wrap gap-1.5",children:[t.features.slice(0,4).map((L,G)=>a.jsxs("span",{className:"text-xs px-2 py-1 rounded-full border",style:{backgroundColor:(e==null?void 0:e.mode)==="dark"?"#111111":"#f5f5f5",color:(e==null?void 0:e.mode)==="dark"?"#ffffff":"#000000",borderColor:(e==null?void 0:e.mode)==="dark"?"#333333":"#e5e7eb"},children:[a.jsx("svg",{className:"h-3 w-3 mr-0.5 inline",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})}),L]},G)),t.features.length>4&&a.jsxs("span",{className:"text-xs px-2 py-1",style:{color:(e==null?void 0:e.mode)==="dark"?"#9ca3af":"#666666"},children:["+",t.features.length-4," more"]})]})]}),a.jsx("div",{className:"mt-auto pt-3 border-t border-gray-100 dark:border-slate-700",children:a.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500 dark:text-gray-400",children:[a.jsx("span",{children:"Sponsored"}),a.jsx("span",{className:"text-gray-400 dark:text-gray-500"})]})})]})})};de.displayName="AdMeshProductCard";const dt=({recommendations:t,title:e="Product Recommendations",showTitle:o=!0,className:d="",cardClassName:s="",onProductClick:i,showPricing:n=!0,showRatings:l=!0,showBrand:h=!0,showSource:b=!1,showShipping:p=!0,maxCards:u=10,cardWidth:g="md",theme:x="auto",borderRadius:M="md",shadow:N="sm"})=>{if(!t||t.length===0)return console.log("[AdMesh Ecommerce Cards] Empty recommendations - not rendering anything"),null;const k=t.slice(0,u),A=()=>{switch(g){case"sm":return"w-48 min-w-48";case"md":return"w-64 min-w-64";case"lg":return"w-80 min-w-80";default:return"w-64 min-w-64"}},j=()=>{switch(M){case"none":return"rounded-none";case"sm":return"rounded-sm";case"md":return"rounded-lg";case"lg":return"rounded-xl";default:return"rounded-lg"}},D=()=>{switch(N){case"none":return"";case"sm":return"shadow-sm hover:shadow-md";case"md":return"shadow-md hover:shadow-lg";case"lg":return"shadow-lg hover:shadow-xl";default:return"shadow-sm hover:shadow-md"}},H=()=>x==="dark"?"bg-gray-900 text-white":x==="light"?"bg-white text-gray-900":"bg-white dark:bg-gray-900 text-gray-900 dark:text-white",z=f=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0,maximumFractionDigits:2}).format(f),y=f=>{const _=[],S=Math.floor(f),K=f%1!==0;for(let P=0;P<S;P++)_.push(a.jsx("span",{className:"text-yellow-400",children:"★"},P));K&&_.push(a.jsx("span",{className:"text-yellow-400",children:"☆"},"half"));const q=5-Math.ceil(f);for(let P=0;P<q;P++)_.push(a.jsx("span",{className:"text-gray-300 dark:text-gray-600",children:"☆"},`empty-${P}`));return _},T=f=>{if(i)i(f);else{const _=f.admesh_link||f.url;_&&window.open(_,"_blank","noopener,noreferrer")}};return(!products||products.length===0)&&(!t||t.length===0)?null:a.jsxs("div",{className:Z("w-full",d),children:[o&&a.jsxs("div",{className:"mb-4",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:e}),a.jsx("div",{className:"mt-1 h-0.5 w-12 bg-blue-500"})]}),a.jsxs("div",{className:"relative",children:[k.length===0?a.jsx("div",{className:"text-center py-8 text-gray-500",children:"No products to display"}):a.jsx("div",{className:"flex gap-4 overflow-x-auto pb-4 scrollbar-hide",children:k.map(f=>{var S;const _=f.product_id||f.id||f.ad_id;return a.jsxs("div",{className:Z(A(),j(),D(),H(),"flex-shrink-0 border border-gray-200 dark:border-gray-700 transition-all duration-200 cursor-pointer hover:scale-[1.02]",s),onClick:()=>T(f),children:[a.jsxs("div",{className:"relative aspect-square w-full overflow-hidden",children:[f.image_url?a.jsx("img",{src:f.image_url,alt:f.title,className:"h-full w-full object-cover transition-transform duration-200 hover:scale-105",loading:"lazy"}):a.jsx("div",{className:"flex h-full w-full items-center justify-center bg-gray-100 dark:bg-gray-800",children:a.jsx("svg",{className:"h-12 w-12 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"})})}),n&&f.discount_percentage&&f.discount_percentage>0&&a.jsxs("div",{className:"absolute top-2 left-2 bg-red-500 text-white text-xs font-bold px-2 py-1 rounded",children:["-",Math.round(f.discount_percentage),"%"]}),b&&f.source&&a.jsx("div",{className:"absolute top-2 right-2 bg-blue-500 text-white text-xs font-medium px-2 py-1 rounded",children:f.source.toUpperCase()})]}),a.jsxs("div",{className:"p-3",children:[h&&f.brand&&a.jsx("div",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1 uppercase tracking-wide",children:f.brand}),a.jsx("h4",{className:"text-sm font-medium text-gray-900 dark:text-white line-clamp-2 mb-2 leading-tight",children:f.title}),l&&f.rating&&a.jsxs("div",{className:"flex items-center gap-1 mb-2",children:[a.jsx("div",{className:"flex text-sm",children:y(f.rating)}),a.jsxs("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:["(",f.review_count||0,")"]})]}),n&&f.price&&a.jsx("div",{className:"mb-2",children:a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("span",{className:"text-lg font-bold text-gray-900 dark:text-white",children:z(f.price)}),f.original_price&&f.original_price>f.price&&a.jsx("span",{className:"text-sm text-gray-500 dark:text-gray-400 line-through",children:z(f.original_price)})]})}),p&&((S=f.shipping_info)==null?void 0:S.free_shipping_over_35)&&a.jsx("div",{className:"text-xs text-green-600 dark:text-green-400 font-medium",children:"Free shipping over $35"}),f.availability&&f.availability!=="unknown"&&a.jsx("div",{className:Z("text-xs font-medium mt-1",f.availability==="in_stock"?"text-green-600 dark:text-green-400":"text-red-600 dark:text-red-400"),children:f.availability==="in_stock"?"In Stock":"Out of Stock"})]})]},_)})}),k.length>0&&a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"absolute top-1/2 -left-2 transform -translate-y-1/2 bg-white dark:bg-gray-800 rounded-full shadow-lg p-1 opacity-0 group-hover:opacity-100 transition-opacity",children:a.jsx("svg",{className:"w-4 h-4 text-gray-600 dark:text-gray-300",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),a.jsx("div",{className:"absolute top-1/2 -right-2 transform -translate-y-1/2 bg-white dark:bg-gray-800 rounded-full shadow-lg p-1 opacity-0 group-hover:opacity-100 transition-opacity",children:a.jsx("svg",{className:"w-4 h-4 text-gray-600 dark:text-gray-300",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]})]}),a.jsxs("div",{className:"flex justify-between items-center mt-3 pt-2 border-t border-gray-200 dark:border-gray-700",children:[a.jsx("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:"Sponsored"}),a.jsx("span",{className:"text-xs text-gray-400 dark:text-gray-500"})]}),a.jsx("style",{dangerouslySetInnerHTML:{__html:`
694
+ `;let Iv=!1;const bS=()=>{we.useEffect(()=>{if(Iv)return;const v=document.createElement("style");return v.id="admesh-ui-sdk-styles",v.textContent=tT,document.getElementById("admesh-ui-sdk-styles")||(document.head.appendChild(v),Iv=!0),()=>{const g=document.getElementById("admesh-ui-sdk-styles");g&&document.head.contains(g)&&(document.head.removeChild(g),Iv=!1)}},[])},_h=(v,g={})=>{const C=v.intent_match_score||0,E=g.customLabels||{};return C>=.8?E.partnerRecommendation||"Smart Pick":C>=.6?E.partnerMatch||"Partner Recommendation":C>=.3?E.promotedOption||"Promoted Match":E.relatedOption||"Related"},ub=(v,g)=>{const C=v.intent_match_score||0;return C>=.8?"This recommendation is from a partner who compensates us when you engage. We've matched it to your needs based on your query.":C>=.6?"Top-rated partner solution matched to your specific requirements. Partner compensates us for qualified referrals.":C>=.3?"This partner solution may be relevant to your needs. The partner compensates us when you take qualifying actions.":"This solution is somewhat related to your query. While not a perfect match, it might still be helpful. This partner compensates us for qualified referrals."},lT=(v=!0,g=!1)=>v?g?"These curated recommendations are from partners who compensate us for referrals.":"Personalized Sponsoreds: All results are from vetted partners who compensate us for qualified matches. We've ranked them based on relevance to your specific needs.":"Expanded Results: While these don't perfectly match your query, they're related solutions from our partner network. All partners compensate us for referrals.",aT=(v,g=!1)=>{const C=v.intent_match_score||0;return g?"Promoted Match":C>=.8?"Smart Pick":C>=.6?"Partner Recommendation":"Promoted Match"},nT=()=>"We've partnered with trusted providers to bring you relevant solutions. These partners compensate us for qualified referrals, which helps us keep our service free.",uT=v=>({"Top Match":"Smart Pick",Sponsored:"Smart Pick","Perfect Fit":"Smart Pick","Great Match":"Partner Recommendation",Recommended:"Partner Recommendation","Good Fit":"Promoted Match",Featured:"Promoted Match","Popular Choice":"Popular Choice","Premium Pick":"Premium Pick","Free Tier":"Free Tier","AI Powered":"AI Powered",Popular:"Popular",New:"New","Trial Available":"Trial Available","Related Option":"Related Option","Alternative Solution":"Alternative Solution","Expanded Match":"Expanded Match"})[v]||v,iT=(v,g="button")=>{const C=v.recommendation_title||v.title;return g==="link"?C:v.trial_days&&v.trial_days>0?`Try ${C}`:"Learn More"},cT=v=>v.some(g=>(g.intent_match_score||0)>=.8),oT=(v=!1)=>v?"":"Recommendations ",p0=({recommendation:v,theme:g,showBadges:C=!0,showFeatures:E=!1,variation:V="default",expandable:K=!1,className:L,style:q})=>{var ze,qe,re,De,bt,je,St,Rt,de,Ae,I,Me,ee,lt,Ue,ye,Ct,qt;bS();const[ue,he]=we.useState(!1);we.useMemo(()=>{var j;const z=[],J=_h(v);(J==="Smart Pick"||J==="Partner Recommendation"||J==="Promoted Match")&&z.push("Top Match"),v.trial_days&&v.trial_days>0&&z.push("Trial Available");const P=["ai","artificial intelligence","machine learning","ml","automation"];return(((j=v.keywords)==null?void 0:j.some(se=>P.some(Se=>se.toLowerCase().includes(Se))))||v.title.toLowerCase().includes("ai"))&&z.push("AI Powered"),v.badges&&v.badges.length>0&&v.badges.forEach(se=>{["Top Match","Free Tier","AI Powered","Popular","New","Trial Available"].includes(se)&&!z.includes(se)&&z.push(se)}),z},[v]),Math.round((((ze=v.meta)==null?void 0:ze.intent_match_score)||v.intent_match_score||0)*100);const W=V==="simple"?{title:v.recommendation_title||v.title,description:v.recommendation_description||v.description||v.reason,ctaText:v.recommendation_title||v.title,isSimple:!0}:{title:v.recommendation_title||v.title,description:v.recommendation_description||v.description||v.reason,ctaText:v.recommendation_title||v.title},te=sr("admesh-component","admesh-card","relative p-3 sm:p-4 rounded-xl bg-gradient-to-br from-white to-gray-50 dark:from-slate-800 dark:to-slate-900 border border-gray-200/50 dark:border-slate-700/50 shadow-lg hover:shadow-xl transition-all duration-300 hover:-translate-y-1",L),oe=g?{"--admesh-primary":g.primaryColor||g.accentColor||"#3b82f6","--admesh-secondary":g.secondaryColor||"#10b981","--admesh-accent":g.accentColor||"#3b82f6","--admesh-background":g.backgroundColor,"--admesh-surface":g.surfaceColor,"--admesh-border":g.borderColor,"--admesh-text":g.textColor,"--admesh-text-secondary":g.textSecondaryColor,"--admesh-radius":g.borderRadius||"12px","--admesh-shadow-sm":(qe=g.shadows)==null?void 0:qe.small,"--admesh-shadow-md":(re=g.shadows)==null?void 0:re.medium,"--admesh-shadow-lg":(De=g.shadows)==null?void 0:De.large,"--admesh-spacing-sm":(bt=g.spacing)==null?void 0:bt.small,"--admesh-spacing-md":(je=g.spacing)==null?void 0:je.medium,"--admesh-spacing-lg":(St=g.spacing)==null?void 0:St.large,"--admesh-font-size-sm":(Rt=g.fontSize)==null?void 0:Rt.small,"--admesh-font-size-base":(de=g.fontSize)==null?void 0:de.base,"--admesh-font-size-lg":(Ae=g.fontSize)==null?void 0:Ae.large,"--admesh-font-size-title":(I=g.fontSize)==null?void 0:I.title,fontFamily:g.fontFamily,width:((ee=(Me=g.components)==null?void 0:Me.productCard)==null?void 0:ee.width)||"100%"}:{width:"100%"};return V==="simple"?$.jsxs("div",{className:sr("admesh-component admesh-simple-ad","inline-block text-sm leading-relaxed",L),style:{fontFamily:(g==null?void 0:g.fontFamily)||'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',...(lt=g==null?void 0:g.components)==null?void 0:lt.productCard,...q},"data-admesh-theme":g==null?void 0:g.mode,children:[$.jsx("span",{style:{fontSize:"11px",fontWeight:"600",color:(g==null?void 0:g.mode)==="dark"?"#000000":"#ffffff",backgroundColor:(g==null?void 0:g.mode)==="dark"?"#ffffff":"#000000",padding:"2px 6px",borderRadius:"4px",marginRight:"8px"},title:ub(v,_h(v)),children:_h(v)}),$.jsxs("span",{style:{color:(g==null?void 0:g.mode)==="dark"?"#f3f4f6":"#374151",marginRight:"4px"},children:[W.description," "]}),$.jsx(y0,{adId:((Ue=v.meta)==null?void 0:Ue.ad_id)||v.ad_id||"",admeshLink:v.admesh_link,productId:v.product_id,trackingData:{title:v.title,matchScore:v.intent_match_score,component:"simple_ad_cta"},children:$.jsx("span",{style:{color:(g==null?void 0:g.mode)==="dark"?"#ffffff":"#000000",textDecoration:"underline",cursor:"pointer",fontSize:"inherit",fontFamily:"inherit"},children:W.ctaText})})]}):$.jsx("div",{className:te,style:{fontFamily:(g==null?void 0:g.fontFamily)||'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',...(ye=g==null?void 0:g.components)==null?void 0:ye.productCard,...q},"data-admesh-theme":g==null?void 0:g.mode,children:$.jsxs("div",{className:"h-full flex flex-col",style:oe,children:[$.jsx("div",{className:"mb-1.5",children:$.jsx("span",{style:{fontSize:"11px",fontWeight:"600",color:(g==null?void 0:g.mode)==="dark"?"#000000":"#ffffff",backgroundColor:(g==null?void 0:g.mode)==="dark"?"#ffffff":"#000000",padding:"2px 6px",borderRadius:"4px"},title:ub(v,_h(v)),children:_h(v)})}),$.jsxs("div",{className:"flex justify-between items-center gap-3 mb-2",children:[$.jsxs("div",{className:"flex items-center gap-2 flex-1 min-w-0",children:[v.product_logo&&$.jsx("img",{src:v.product_logo.url,alt:`${v.title} logo`,className:"w-6 h-6 rounded flex-shrink-0",onError:z=>{z.target.style.display="none"}}),$.jsx("h4",{className:"font-semibold text-gray-800 dark:text-gray-200 text-sm sm:text-base truncate",children:W.title})]}),$.jsx("div",{className:"flex-shrink-0",children:$.jsx(y0,{adId:((Ct=v.meta)==null?void 0:Ct.ad_id)||v.ad_id||"",admeshLink:v.admesh_link,productId:v.product_id,trackingData:{title:v.title,matchScore:((qt=v.meta)==null?void 0:qt.intent_match_score)||v.intent_match_score,component:"product_card_cta"},children:$.jsxs("button",{className:"text-xs px-2 py-1 sm:px-3 sm:py-2 rounded-full flex items-center transition-all duration-200 transform hover:scale-105 shadow-md hover:shadow-lg whitespace-nowrap",style:{backgroundColor:(g==null?void 0:g.accentColor)||"#000000",color:(g==null?void 0:g.mode)==="dark"?"#000000":"#ffffff"},children:["Visit",$.jsx("svg",{className:"ml-1 h-3 w-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:$.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})]})})})]}),$.jsx("div",{className:"mb-3",children:$.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-300 leading-snug",children:W.description})}),E&&v.features&&v.features.length>0&&$.jsxs("div",{className:"mb-2",children:[$.jsx("div",{className:"text-xs font-medium mb-1.5",style:{color:(g==null?void 0:g.mode)==="dark"?"#9ca3af":"#666666"},children:"Key Features"}),$.jsxs("div",{className:"flex flex-wrap gap-1.5",children:[v.features.slice(0,4).map((z,J)=>$.jsxs("span",{className:"text-xs px-2 py-1 rounded-full border",style:{backgroundColor:(g==null?void 0:g.mode)==="dark"?"#111111":"#f5f5f5",color:(g==null?void 0:g.mode)==="dark"?"#ffffff":"#000000",borderColor:(g==null?void 0:g.mode)==="dark"?"#333333":"#e5e7eb"},children:[$.jsx("svg",{className:"h-3 w-3 mr-0.5 inline",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:$.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})}),z]},J)),v.features.length>4&&$.jsxs("span",{className:"text-xs px-2 py-1",style:{color:(g==null?void 0:g.mode)==="dark"?"#9ca3af":"#666666"},children:["+",v.features.length-4," more"]})]})]}),$.jsx("div",{className:"mt-auto pt-3 border-t border-gray-100 dark:border-slate-700",children:$.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500 dark:text-gray-400",children:[$.jsx("span",{children:"Sponsored"}),$.jsx("span",{className:"text-gray-400 dark:text-gray-500"})]})})]})})};p0.displayName="AdMeshProductCard";const SS=({recommendations:v,title:g="Product Recommendations",showTitle:C=!0,className:E="",cardClassName:V="",onProductClick:K,showPricing:L=!0,showRatings:q=!0,showBrand:ue=!0,showSource:he=!1,showShipping:Ee=!0,maxCards:W=10,cardWidth:te="md",theme:oe="auto",borderRadius:ze="md",shadow:qe="sm"})=>{if(!v||v.length===0)return console.log("[AdMesh Ecommerce Cards] Empty recommendations - not rendering anything"),null;const re=v.slice(0,W),De=()=>{switch(te){case"sm":return"w-48 min-w-48";case"md":return"w-64 min-w-64";case"lg":return"w-80 min-w-80";default:return"w-64 min-w-64"}},bt=()=>{switch(ze){case"none":return"rounded-none";case"sm":return"rounded-sm";case"md":return"rounded-lg";case"lg":return"rounded-xl";default:return"rounded-lg"}},je=()=>{switch(qe){case"none":return"";case"sm":return"shadow-sm hover:shadow-md";case"md":return"shadow-md hover:shadow-lg";case"lg":return"shadow-lg hover:shadow-xl";default:return"shadow-sm hover:shadow-md"}},St=()=>oe==="dark"?"bg-gray-900 text-white":oe==="light"?"bg-white text-gray-900":"bg-white dark:bg-gray-900 text-gray-900 dark:text-white",Rt=I=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0,maximumFractionDigits:2}).format(I),de=I=>{const Me=[],ee=Math.floor(I),lt=I%1!==0;for(let ye=0;ye<ee;ye++)Me.push($.jsx("span",{className:"text-yellow-400",children:"★"},ye));lt&&Me.push($.jsx("span",{className:"text-yellow-400",children:"☆"},"half"));const Ue=5-Math.ceil(I);for(let ye=0;ye<Ue;ye++)Me.push($.jsx("span",{className:"text-gray-300 dark:text-gray-600",children:"☆"},`empty-${ye}`));return Me},Ae=I=>{if(K)K(I);else{const Me=I.admesh_link||I.url;Me&&window.open(Me,"_blank","noopener,noreferrer")}};return(!products||products.length===0)&&(!v||v.length===0)?null:$.jsxs("div",{className:sr("w-full",E),children:[C&&$.jsxs("div",{className:"mb-4",children:[$.jsx("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:g}),$.jsx("div",{className:"mt-1 h-0.5 w-12 bg-blue-500"})]}),$.jsxs("div",{className:"relative",children:[re.length===0?$.jsx("div",{className:"text-center py-8 text-gray-500",children:"No products to display"}):$.jsx("div",{className:"flex gap-4 overflow-x-auto pb-4 scrollbar-hide",children:re.map(I=>{var ee;const Me=I.product_id||I.id||I.ad_id;return $.jsxs("div",{className:sr(De(),bt(),je(),St(),"flex-shrink-0 border border-gray-200 dark:border-gray-700 transition-all duration-200 cursor-pointer hover:scale-[1.02]",V),onClick:()=>Ae(I),children:[$.jsxs("div",{className:"relative aspect-square w-full overflow-hidden",children:[I.image_url?$.jsx("img",{src:I.image_url,alt:I.title,className:"h-full w-full object-cover transition-transform duration-200 hover:scale-105",loading:"lazy"}):$.jsx("div",{className:"flex h-full w-full items-center justify-center bg-gray-100 dark:bg-gray-800",children:$.jsx("svg",{className:"h-12 w-12 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:$.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"})})}),L&&I.discount_percentage&&I.discount_percentage>0&&$.jsxs("div",{className:"absolute top-2 left-2 bg-red-500 text-white text-xs font-bold px-2 py-1 rounded",children:["-",Math.round(I.discount_percentage),"%"]}),he&&I.source&&$.jsx("div",{className:"absolute top-2 right-2 bg-blue-500 text-white text-xs font-medium px-2 py-1 rounded",children:I.source.toUpperCase()})]}),$.jsxs("div",{className:"p-3",children:[ue&&I.brand&&$.jsx("div",{className:"text-xs text-gray-500 dark:text-gray-400 mb-1 uppercase tracking-wide",children:I.brand}),$.jsx("h4",{className:"text-sm font-medium text-gray-900 dark:text-white line-clamp-2 mb-2 leading-tight",children:I.title}),q&&I.rating&&$.jsxs("div",{className:"flex items-center gap-1 mb-2",children:[$.jsx("div",{className:"flex text-sm",children:de(I.rating)}),$.jsxs("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:["(",I.review_count||0,")"]})]}),L&&I.price&&$.jsx("div",{className:"mb-2",children:$.jsxs("div",{className:"flex items-center gap-2",children:[$.jsx("span",{className:"text-lg font-bold text-gray-900 dark:text-white",children:Rt(I.price)}),I.original_price&&I.original_price>I.price&&$.jsx("span",{className:"text-sm text-gray-500 dark:text-gray-400 line-through",children:Rt(I.original_price)})]})}),Ee&&((ee=I.shipping_info)==null?void 0:ee.free_shipping_over_35)&&$.jsx("div",{className:"text-xs text-green-600 dark:text-green-400 font-medium",children:"Free shipping over $35"}),I.availability&&I.availability!=="unknown"&&$.jsx("div",{className:sr("text-xs font-medium mt-1",I.availability==="in_stock"?"text-green-600 dark:text-green-400":"text-red-600 dark:text-red-400"),children:I.availability==="in_stock"?"In Stock":"Out of Stock"})]})]},Me)})}),re.length>0&&$.jsxs($.Fragment,{children:[$.jsx("div",{className:"absolute top-1/2 -left-2 transform -translate-y-1/2 bg-white dark:bg-gray-800 rounded-full shadow-lg p-1 opacity-0 group-hover:opacity-100 transition-opacity",children:$.jsx("svg",{className:"w-4 h-4 text-gray-600 dark:text-gray-300",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:$.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),$.jsx("div",{className:"absolute top-1/2 -right-2 transform -translate-y-1/2 bg-white dark:bg-gray-800 rounded-full shadow-lg p-1 opacity-0 group-hover:opacity-100 transition-opacity",children:$.jsx("svg",{className:"w-4 h-4 text-gray-600 dark:text-gray-300",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:$.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]})]}),$.jsxs("div",{className:"flex justify-between items-center mt-3 pt-2 border-t border-gray-200 dark:border-gray-700",children:[$.jsx("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:"Sponsored"}),$.jsx("span",{className:"text-xs text-gray-400 dark:text-gray-500"})]}),$.jsx("style",{dangerouslySetInnerHTML:{__html:`
703
695
  .scrollbar-hide {
704
696
  -ms-overflow-style: none;
705
697
  scrollbar-width: none;
@@ -713,5 +705,258 @@ React keys must be passed directly to JSX without using spread:
713
705
  -webkit-box-orient: vertical;
714
706
  overflow: hidden;
715
707
  }
716
- `}})]})},hr=t=>{var s,i,n;const e=[];if(!t)return{isValid:!1,isEmpty:!0,warnings:["No response object provided"]};(!t.recommendations||!Array.isArray(t.recommendations))&&e.push("No recommendations array found in response"),t.layout_type==="citation"&&!t.citation_summary&&e.push("Citation layout specified but no citation_summary provided");const o=((s=t.recommendations)==null?void 0:s.filter(l=>l&&l.admesh_link&&(l.title||l.recommendation_title)))||[],d=((i=t.recommendations)==null?void 0:i.length)===0;return o.length===0&&!d&&e.push("No valid recommendations found (missing admesh_link or title)"),{isValid:o.length>0,isEmpty:d,validCount:o.length,totalCount:((n=t.recommendations)==null?void 0:n.length)||0,warnings:e}},ct=({response:t,theme:e,className:o="",style:d={},onRecommendationClick:s,onLinkClick:i})=>{const n=hr(t);if(n.warnings.length>0&&console.warn("[AdMesh Summary Layout] Validation warnings:",n.warnings),n.isEmpty)return console.log("[AdMesh Summary Layout] Empty recommendations array - not rendering anything"),null;if(!n.isValid)return console.error("[AdMesh Summary Layout] Invalid response object"),null;const{layout_type:l="citation",citation_summary:h,recommendations:b=[],requires_summary:p=!0}=t;console.log(`[AdMesh Summary Layout] Rendering ${l} layout with ${n.validCount}/${n.totalCount} valid recommendations`);const u=()=>{switch(l){case"citation":return h&&p?a.jsx(Ae,{summaryText:h,recommendations:b,theme:e,onLinkClick:i}):a.jsxs("div",{className:"fallback-citation",children:[a.jsx("p",{className:"text-gray-700 dark:text-gray-300 mb-3",children:"Based on your query, I'd recommend checking out these options:"}),a.jsx(de,{recommendation:b[0],theme:e})]});case"product_cards":case"product":return a.jsx("div",{className:"product-cards-layout",children:b.slice(0,3).map((g,x)=>a.jsx(de,{recommendation:g,theme:e,className:"mb-4"},g.ad_id||`rec-${x}`))});case"ecommerce":return a.jsx(dt,{recommendations:b.slice(0,3),theme:(e==null?void 0:e.mode)||"light"});default:return console.warn(`[AdMesh Summary Layout] Unknown layout type: ${l}`),h?a.jsx(Ae,{summaryText:h,recommendations:b,theme:e,onLinkClick:i}):a.jsx(de,{recommendation:b[0],theme:e})}};return a.jsx("div",{className:`admesh-summary-layout admesh-layout-${l} ${o}`,style:{fontFamily:(e==null?void 0:e.fontFamily)||'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',...d},children:u()})},lt=({response:t,theme:e,className:o,style:d,onRecommendationClick:s,onLinkClick:i})=>t?t.recommendations&&Array.isArray(t.recommendations)&&t.recommendations.length===0?(console.log("[AdMeshLayout] Empty recommendations array - not rendering anything"),null):a.jsx(ct,{response:t,theme:e,className:o,style:d,onRecommendationClick:s,onLinkClick:i}):(console.error("[AdMeshLayout] response prop is required"),null),ut=({recommendation:t,theme:e,variation:o="default",expandable:d=!1,className:s,style:i})=>{var u,g,x,M,N;const[n,l]=w.useState(!1),b=(()=>{const k=t.content_variations;return o==="question"&&(k!=null&&k.question)?{title:k.question.cta||t.recommendation_title||t.title,description:k.question.text,ctaText:k.question.cta||t.recommendation_title||t.title}:o==="statement"&&(k!=null&&k.statement)?{title:t.recommendation_title||t.title,description:k.statement.text,ctaText:k.statement.cta||t.recommendation_title||t.title}:{title:t.recommendation_title||t.title,description:t.recommendation_description||t.reason||"",ctaText:t.recommendation_title||t.title}})(),p=Z("rounded-xl shadow-sm border border-gray-200 dark:border-gray-800 p-4 bg-white dark:bg-slate-900","hover:shadow-md transition-shadow duration-200",{"cursor-pointer":d&&(o==="question"||o==="statement")},s);return a.jsx("div",{className:p,style:{fontFamily:(e==null?void 0:e.fontFamily)||'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',width:((g=(u=e==null?void 0:e.components)==null?void 0:u.inlineRecommendation)==null?void 0:g.width)||"100%",...(x=e==null?void 0:e.components)==null?void 0:x.productCard,...i},"data-admesh-theme":e==null?void 0:e.mode,children:a.jsxs("div",{className:"h-full flex flex-col",children:[a.jsxs("div",{className:"flex justify-between items-center gap-3 mb-2",children:[a.jsxs("div",{className:"flex items-center gap-2 flex-1 min-w-0",children:[t.product_logo&&a.jsx("img",{src:t.product_logo.url,alt:`${t.title} logo`,className:"w-5 h-5 rounded flex-shrink-0",onError:k=>{k.target.style.display="none"}}),a.jsx("h4",{className:"font-semibold text-gray-800 dark:text-gray-200 text-sm truncate",children:b.title})]}),a.jsx("div",{className:"flex-shrink-0",children:a.jsx(ce,{adId:((M=t.meta)==null?void 0:M.ad_id)||t.ad_id||"",admeshLink:t.admesh_link,productId:t.product_id,trackingData:{title:t.title,matchScore:((N=t.meta)==null?void 0:N.intent_match_score)||t.intent_match_score,component:"inline_card_cta"},children:a.jsxs("button",{className:"text-xs px-2 py-1 rounded-full bg-gradient-to-r from-purple-500 to-pink-500 text-white hover:from-purple-600 hover:to-pink-600 flex items-center transition-all duration-200 transform hover:scale-105 shadow-sm whitespace-nowrap",children:[o==="question"?"Try":"Visit",a.jsx("svg",{className:"ml-1 h-3 w-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})]})})})]}),b.description&&a.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-300 mb-2 line-clamp-2",children:b.description}),a.jsx("div",{className:"mt-auto pt-2 border-t border-gray-100 dark:border-slate-700",children:a.jsxs("div",{className:"flex items-center justify-between text-[11px] text-gray-500 dark:text-gray-400",children:[a.jsx("span",{children:"Sponsored"}),a.jsx("span",{className:"text-gray-400 dark:text-gray-500"})]})})]})})};ut.displayName="AdMeshInlineCard";const fr={"Top Match":"primary","Free Tier":"success","AI Powered":"secondary",Popular:"warning",New:"primary","Trial Available":"success"},pr={"Top Match":"★","Free Tier":"◆","AI Powered":"◉",Popular:"▲",New:"●","Trial Available":"◈"},mt=({type:t,variant:e,size:o="md",className:d,style:s})=>{const i=e||fr[t]||"secondary",n=pr[t],l=Z("admesh-component","admesh-badge",`admesh-badge--${i}`,`admesh-badge--${o}`,d);return a.jsxs("span",{className:l,style:s,children:[n&&a.jsx("span",{className:"admesh-badge__icon",children:n}),a.jsx("span",{className:"admesh-badge__text",children:t})]})};mt.displayName="AdMeshBadge";function gr(t,e,o){const s=t*e>242500;return{...{visibilityThreshold:s?.3:.5,minimumDuration:1e3,isLargeAd:s},...o}}function br(t){return t<768?"mobile":t<1024?"tablet":"desktop"}function xr(t){const e=t.getBoundingClientRect(),o=window.innerHeight||document.documentElement.clientHeight,d=window.innerWidth||document.documentElement.clientWidth,s=e.height,i=e.width;if(s===0||i===0)return 0;const n=Math.max(0,e.top),l=Math.min(o,e.bottom),h=Math.max(0,e.left),b=Math.min(d,e.right),p=Math.max(0,l-n),u=Math.max(0,b-h),g=p*u,x=s*i;return x>0?g/x:0}function rt(){const t=window.innerHeight,e=document.documentElement.scrollHeight,o=window.pageYOffset||document.documentElement.scrollTop,d=e-t;return d<=0?100:Math.min(100,o/d*100)}function yr(t){const e=t.getBoundingClientRect(),o=window.pageYOffset||document.documentElement.scrollTop,d=window.pageXOffset||document.documentElement.scrollLeft;return{top:e.top+o,left:e.left+d}}function vr(t){const e=t.getBoundingClientRect(),o=yr(t),d=window.innerWidth||document.documentElement.clientWidth,s=window.innerHeight||document.documentElement.clientHeight,i=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches;return{pageUrl:window.location.href,pageTitle:document.title,referrer:document.referrer,deviceType:br(d),viewportWidth:d,viewportHeight:s,adWidth:e.width,adHeight:e.height,adPositionTop:o.top,adPositionLeft:o.left,isDarkMode:i,language:navigator.language,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone}}function wr(){return`session_${Date.now()}_${Math.random().toString(36).substring(2,11)}`}function kr(){return`batch_${Date.now()}_${Math.random().toString(36).substring(2,11)}`}function _r(t,e,o){return t>=o.visibilityThreshold&&e>=o.minimumDuration}function be(t=new Date){return t.toISOString()}function Sr(t){return t.length===0?0:t.reduce((o,d)=>o+d,0)/t.length}function ot(t,e){let o;return function(...s){o||(t(...s),o=!0,setTimeout(()=>o=!1,e))}}async function Cr(t,e,o=3,d=1e3){let s=null;for(let i=0;i<o;i++){try{const n=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(n.ok)return!0;s=new Error(`HTTP ${n.status}: ${n.statusText}`)}catch(n){s=n}i<o-1&&await new Promise(n=>setTimeout(n,d*Math.pow(2,i)))}return console.error("[AdMesh Viewability] Failed to send analytics event:",s),!1}async function Tr(t,e,o,d=3,s=1e3){if(t.length===0)return!0;const i={batchId:kr(),sessionId:e,createdAt:be(),events:t,eventCount:t.length};let n=null;for(let l=0;l<d;l++){try{const h=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(h.ok)return!0;n=new Error(`HTTP ${h.status}: ${h.statusText}`)}catch(h){n=h}l<d-1&&await new Promise(h=>setTimeout(h,s*Math.pow(2,l)))}return console.error("[AdMesh Viewability] Failed to send analytics batch:",n),!1}const Er={enabled:!0,apiEndpoint:"https://api.useadmesh.com/analytics/ui-sdk/viewability",enableBatching:!0,batchSize:10,batchTimeout:5e3,debug:!1,enableRetry:!0,maxRetries:3,retryDelay:1e3};let Ne=Er;const Mr=t=>{Ne={...Ne,...t}};function ht({adId:t,productId:e,offerId:o,agentId:d,elementRef:s,config:i}){const n={...Ne,...i},l=w.useRef(wr()),[h,b]=w.useState({isVisible:!1,isViewable:!1,visibilityPercentage:0,timeMetrics:{loadedAt:be(),totalVisibleDuration:0,totalViewableDuration:0,totalHoverDuration:0,totalFocusDuration:0},engagementMetrics:{currentScrollDepth:0,viewportEnterCount:0,viewportExitCount:0,hoverCount:0,wasClicked:!1,maxVisibilityPercentage:0,averageVisibilityPercentage:0},isTracking:n.enabled}),p=w.useRef(null),u=w.useRef(null),g=w.useRef(null),x=w.useRef(null),M=w.useRef(null),N=w.useRef([]),k=w.useRef([]),A=w.useRef(null),j=w.useCallback((y,T)=>{n.debug&&console.log(`[AdMesh Viewability] ${y}`,T)},[n.debug]),D=w.useCallback(async(y,T)=>{if(!n.enabled||!s.current||!p.current)return;const f=vr(s.current),_={eventType:y,timestamp:be(),sessionId:l.current,adId:t,productId:e,offerId:o,agentId:d,timeMetrics:h.timeMetrics,engagementMetrics:h.engagementMetrics,contextMetrics:f,mrcStandards:p.current,isViewable:h.isViewable,metadata:T};j(`Event: ${y}`,_),n.onEvent&&n.onEvent(_),n.enableBatching?(k.current.push(_),k.current.length>=n.batchSize?await H():(A.current&&clearTimeout(A.current),A.current=setTimeout(H,n.batchTimeout))):await Cr(_,n.apiEndpoint,n.maxRetries,n.retryDelay)},[n,t,e,o,d,s,h,j]),H=w.useCallback(async()=>{if(k.current.length===0)return;const y=[...k.current];k.current=[],A.current&&(clearTimeout(A.current),A.current=null),await Tr(y,l.current,n.apiEndpoint,n.maxRetries,n.retryDelay)&&n.onBatchSent&&n.onBatchSent({batchId:`batch_${Date.now()}`,sessionId:l.current,createdAt:be(),events:y,eventCount:y.length})},[n]),z=w.useCallback(ot(()=>{if(!s.current)return;const y=xr(s.current),T=Date.now(),f=new Date(h.timeMetrics.loadedAt).getTime();b(_=>{const S={..._};y>0&&N.current.push(y);const K=_.isVisible,q=y>0;if(q&&!K)u.current=T,S.engagementMetrics.viewportEnterCount++,S.timeMetrics.timeToFirstVisible||(S.timeMetrics.timeToFirstVisible=T-f,S.engagementMetrics.scrollDepthAtFirstVisible=rt(),D("ad_visible"));else if(!q&&K){if(u.current){const P=T-u.current;S.timeMetrics.totalVisibleDuration+=P,u.current=null}S.engagementMetrics.viewportExitCount++,D("ad_hidden")}else if(q&&K&&u.current){const P=T-u.current;S.timeMetrics.totalVisibleDuration+=P,u.current=T}if(S.isVisible=q,S.visibilityPercentage=y,y>S.engagementMetrics.maxVisibilityPercentage&&(S.engagementMetrics.maxVisibilityPercentage=y),N.current.length>0&&(S.engagementMetrics.averageVisibilityPercentage=Sr(N.current)),p.current){const P=_.isViewable,B=_r(y,S.timeMetrics.totalVisibleDuration,p.current);if(B&&!P)S.isViewable=!0,S.timeMetrics.timeToViewable=T-f,g.current=T,D("ad_viewable");else if(B&&P&&g.current){const Y=T-g.current;S.timeMetrics.totalViewableDuration+=Y,g.current=T}}return S.engagementMetrics.currentScrollDepth=rt(),S})},100),[s,h.timeMetrics.loadedAt,D]);return w.useEffect(()=>{if(!s.current)return;const y=s.current.getBoundingClientRect();p.current=gr(y.width,y.height,n.mrcStandards),j("Initialized MRC standards",p.current),D("ad_loaded")},[s,n.mrcStandards,j,D]),w.useEffect(()=>{if(!n.enabled||!s.current)return;const y=new IntersectionObserver(T=>{T.forEach(()=>{z()})},{threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1],rootMargin:"0px"});return y.observe(s.current),()=>{y.disconnect()}},[n.enabled,s,z]),w.useEffect(()=>{if(!n.enabled)return;const y=ot(()=>{z()},100);return window.addEventListener("scroll",y,{passive:!0}),()=>window.removeEventListener("scroll",y)},[n.enabled,z]),w.useEffect(()=>{if(!n.enabled||!s.current)return;const y=s.current,T=()=>{x.current=Date.now(),b(_=>({..._,engagementMetrics:{..._.engagementMetrics,hoverCount:_.engagementMetrics.hoverCount+1}})),D("ad_hover_start")},f=()=>{if(x.current){const _=Date.now()-x.current;b(S=>({...S,timeMetrics:{...S.timeMetrics,totalHoverDuration:S.timeMetrics.totalHoverDuration+_}})),x.current=null,D("ad_hover_end",{hoverDuration:_})}};return y.addEventListener("mouseenter",T),y.addEventListener("mouseleave",f),()=>{y.removeEventListener("mouseenter",T),y.removeEventListener("mouseleave",f)}},[n.enabled,s,D]),w.useEffect(()=>{if(!n.enabled||!s.current)return;const y=s.current,T=()=>{M.current=Date.now(),D("ad_focus")},f=()=>{if(M.current){const _=Date.now()-M.current;b(S=>({...S,timeMetrics:{...S.timeMetrics,totalFocusDuration:S.timeMetrics.totalFocusDuration+_}})),M.current=null,D("ad_blur",{focusDuration:_})}};return y.addEventListener("focus",T),y.addEventListener("blur",f),()=>{y.removeEventListener("focus",T),y.removeEventListener("blur",f)}},[n.enabled,s,D]),w.useEffect(()=>{if(!n.enabled||!s.current)return;const y=s.current,T=()=>{b(f=>({...f,engagementMetrics:{...f.engagementMetrics,wasClicked:!0}})),D("ad_click")};return y.addEventListener("click",T),()=>{y.removeEventListener("click",T)}},[n.enabled,s,D]),w.useEffect(()=>()=>{const y=Date.now(),T=new Date(h.timeMetrics.loadedAt).getTime(),f=y-T;b(_=>({..._,timeMetrics:{..._.timeMetrics,sessionDuration:f}})),D("ad_unloaded",{sessionDuration:f}),H()},[]),h}const ft=({adId:t,productId:e,offerId:o,agentId:d,children:s,config:i,className:n,style:l,onViewabilityChange:h,onVisible:b,onViewable:p,onClick:u})=>{const g=w.useRef(null),x=ht({adId:t,productId:e,offerId:o,agentId:d,elementRef:g,config:i}),M=w.useRef(x.isViewable);w.useEffect(()=>{x.isViewable!==M.current&&(M.current=x.isViewable,h&&h(x.isViewable),x.isViewable&&p&&p())},[x.isViewable,h,p]);const N=w.useRef(x.isVisible);w.useEffect(()=>{x.isVisible!==N.current&&(N.current=x.isVisible,x.isVisible&&b&&b())},[x.isVisible,b]);const k=A=>{u&&u()};return a.jsx("div",{ref:g,className:n,style:l,onClick:k,"data-admesh-viewability-tracker":!0,"data-ad-id":t,"data-is-viewable":x.isViewable,"data-is-visible":x.isVisible,"data-visibility-percentage":x.visibilityPercentage.toFixed(2),children:s})};ft.displayName="AdMeshViewabilityTracker";const Re="admesh_session_id",je="admesh_session_timestamp",Rr=30*60*1e3;class pt{constructor(e=!1){$(this,"debug");this.debug=e}generateSessionId(){const e=Date.now(),o=Math.random().toString(36).substring(2,15);return`session_${e}_${o}`}createSession(){const e=this.generateSessionId();return this.storeSessionId(e),this.debug&&console.log("[SessionManager] Created session:",e),e}storeSessionId(e){try{typeof window<"u"&&window.localStorage&&(localStorage.setItem(Re,e),localStorage.setItem(je,Date.now().toString()))}catch(o){this.debug&&console.warn("[SessionManager] Failed to store session ID:",o)}}getStoredSessionId(){try{if(typeof window>"u"||!window.localStorage)return null;const e=localStorage.getItem(Re),o=localStorage.getItem(je);return!e||!o?null:Date.now()-parseInt(o,10)>Rr?(this.debug&&console.log("[SessionManager] Session expired"),this.clearStoredSessionId(),null):e}catch(e){return this.debug&&console.warn("[SessionManager] Failed to get stored session ID:",e),null}}clearStoredSessionId(){try{typeof window<"u"&&window.localStorage&&(localStorage.removeItem(Re),localStorage.removeItem(je))}catch(e){this.debug&&console.warn("[SessionManager] Failed to clear session ID:",e)}}closeSession(e){this.debug&&console.log("[SessionManager] Closing session:",e),this.clearStoredSessionId()}isSessionValid(e){return this.getStoredSessionId()===e}}class gt{constructor(e){$(this,"apiKey");$(this,"apiBaseUrl");$(this,"debug");this.apiKey=e.apiKey,this.apiBaseUrl=e.apiBaseUrl||"https://api.useadmesh.com",this.debug=e.debug||!1}async fetchRecommendations(e){try{const o=`${this.apiBaseUrl}/agent/recommend`,d={query:e.query,format:e.format||"auto",...e.previous_query&&{previous_query:e.previous_query},...e.previous_summary&&{previous_summary:e.previous_summary},...e.session_id&&{session_id:e.session_id},...e.is_fallback_allowed!==void 0&&{is_fallback_allowed:e.is_fallback_allowed}};this.debug&&(console.log("[Fetcher] Calling endpoint:",o),console.log("[Fetcher] Payload:",d));const s=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`},body:JSON.stringify(d)});if(!s.ok){const l=(await s.json().catch(()=>({}))).detail||`HTTP ${s.status}`;throw new Error(`Failed to fetch recommendations: ${l}`)}const i=await s.json();return this.debug&&console.log("[Fetcher] Response:",i),i}catch(o){throw this.debug&&console.error("[Fetcher] Error fetching recommendations:",o),o}}}var re={},nt;function jr(){if(nt)return re;nt=1;var t=Yt;if(process.env.NODE_ENV==="production")re.createRoot=t.createRoot,re.hydrateRoot=t.hydrateRoot;else{var e=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;re.createRoot=function(o,d){e.usingClientEntryPoint=!0;try{return t.createRoot(o,d)}finally{e.usingClientEntryPoint=!1}},re.hydrateRoot=function(o,d,s){e.usingClientEntryPoint=!0;try{return t.hydrateRoot(o,d,s)}finally{e.usingClientEntryPoint=!1}}}return re}var Ar=jr();const Ir=at(Ar);class bt{constructor(e){$(this,"debug");$(this,"firedExposures",new Set);this.debug=e.debug||!1}fireExposure(e,o,d){const s=`${d}_${o}`;if(this.firedExposures.has(s)){this.debug&&console.log("[Tracker] Exposure already fired for:",o);return}this.firedExposures.add(s);try{fetch(e,{method:"GET",keepalive:!0}).catch(i=>{this.debug&&console.warn("[Tracker] Failed to fire exposure:",i)}),this.debug&&console.log("[Tracker] Fired exposure for:",o)}catch(i){this.debug&&console.error("[Tracker] Error firing exposure:",i)}}fireClick(e,o,d){try{fetch(e,{method:"GET",keepalive:!0}).catch(s=>{this.debug&&console.warn("[Tracker] Failed to fire click:",s)}),this.debug&&console.log("[Tracker] Fired click for:",o)}catch(s){this.debug&&console.error("[Tracker] Error firing click:",s)}}fireConversion(e,o,d){try{fetch(e,{method:"GET",keepalive:!0}).catch(s=>{this.debug&&console.warn("[Tracker] Failed to fire conversion:",s)}),this.debug&&console.log("[Tracker] Fired conversion for:",o)}catch(s){this.debug&&console.error("[Tracker] Error firing conversion:",s)}}clearFiredExposures(){this.firedExposures.clear(),this.debug&&console.log("[Tracker] Cleared fired exposures")}}class xt{constructor(e=!1){$(this,"debug");$(this,"roots",new Map);this.debug=e}async render(e){var o,d,s,i;try{const n=document.getElementById(e.containerId);if(!n)throw new Error(`Container with ID "${e.containerId}" not found`);this.debug&&console.log("[Renderer] Rendering recommendations in container:",e.containerId);const l=this.roots.get(e.containerId);l&&l.unmount();const h=Ir.createRoot(n),b=(p,u)=>{var x,M;const g=(M=(x=e.response.response)==null?void 0:x.recommendations)==null?void 0:M.find(N=>{var k;return((k=N.meta)==null?void 0:k.ad_id)===p||N.ad_id===p});g!=null&&g.click_url&&e.tracker.fireClick(g.click_url,p,e.sessionId),e.onRecommendationClick&&e.onRecommendationClick(p,u),window.open(u,"_blank")};h.render(a.jsx(lt,{response:{layout_type:(o=e.response.response)==null?void 0:o.layout_type,citation_summary:(d=e.response.response)==null?void 0:d.summary,recommendations:((s=e.response.response)==null?void 0:s.recommendations)||[],requires_summary:!!((i=e.response.response)!=null&&i.summary)},theme:e.theme,onRecommendationClick:p=>{var x;const u=((x=p.meta)==null?void 0:x.ad_id)||p.ad_id||"",g=p.admesh_link||"";b(u,g)}})),this.roots.set(e.containerId,h),this.debug&&console.log("[Renderer] Rendered successfully")}catch(n){throw this.debug&&console.error("[Renderer] Error rendering:",n),n}}unmount(e){const o=this.roots.get(e);o&&(o.unmount(),this.roots.delete(e),this.debug&&console.log("[Renderer] Unmounted container:",e))}unmountAll(){for(const[e,o]of this.roots.entries())o.unmount(),this.debug&&console.log("[Renderer] Unmounted container:",e);this.roots.clear()}}class Pr{constructor(e){$(this,"config");$(this,"sessionManager");$(this,"fetcher");$(this,"renderer");$(this,"tracker");$(this,"currentSessionId",null);if(!e.apiKey)throw new Error("AdMeshSDK: apiKey is required");this.config={apiBaseUrl:e.apiBaseUrl||"https://api.useadmesh.com",debug:e.debug||!1,...e},this.sessionManager=new pt(this.config.debug),this.fetcher=new gt(this.config),this.renderer=new xt(this.config.debug),this.tracker=new bt(this.config),this.currentSessionId=this.sessionManager.getStoredSessionId(),this.config.debug&&this.currentSessionId&&console.log("[AdMeshSDK] Restored session:",this.currentSessionId)}async showRecommendations(e){var o,d;try{this.config.debug&&console.log("[AdMeshSDK] Fetching recommendations for query:",e.query),this.currentSessionId||(this.currentSessionId=this.sessionManager.createSession(),this.config.debug&&console.log("[AdMeshSDK] Created new session:",this.currentSessionId));const s=await this.fetcher.fetchRecommendations({query:e.query,format:e.format||"auto",previous_query:e.previousQuery,previous_summary:e.previousSummary,session_id:this.currentSessionId,is_fallback_allowed:e.isFallbackAllowed!==!1});if(this.config.debug&&console.log("[AdMeshSDK] Received recommendations:",s),await this.renderer.render({containerId:e.containerId,response:s,theme:e.theme||this.config.theme,onRecommendationClick:e.onRecommendationClick,tracker:this.tracker,sessionId:this.currentSessionId}),(o=s.response)!=null&&o.recommendations){for(const i of s.response.recommendations)if(i.exposure_url){const n=((d=i.meta)==null?void 0:d.ad_id)||i.ad_id||"";this.tracker.fireExposure(i.exposure_url,n,this.currentSessionId)}}}catch(s){throw console.error("[AdMeshSDK] Error showing recommendations:",s),s}}closeSession(){this.currentSessionId&&(this.config.debug&&console.log("[AdMeshSDK] Closing session:",this.currentSessionId),this.sessionManager.closeSession(this.currentSessionId),this.currentSessionId=null)}getSessionId(){return this.currentSessionId}createNewSession(){return this.currentSessionId=this.sessionManager.createSession(),this.config.debug&&console.log("[AdMeshSDK] Created new session:",this.currentSessionId),this.currentSessionId}setSessionId(e){this.currentSessionId=e,this.sessionManager.storeSessionId(e),this.config.debug&&console.log("[AdMeshSDK] Set session ID:",e)}}const Q=(t={})=>{const e={mode:"light",primaryColor:"#000000",secondaryColor:"#666666",accentColor:"#000000",backgroundColor:"#ffffff",surfaceColor:"#ffffff",borderColor:"#e5e7eb",textColor:"#000000",textSecondaryColor:"#666666",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:{small:"12px",base:"14px",large:"16px",title:"18px"},borderRadius:"8px",spacing:{small:"4px",medium:"8px",large:"16px"},shadows:{small:"0 1px 3px rgba(0, 0, 0, 0.1)",medium:"0 4px 6px rgba(0, 0, 0, 0.1)",large:"0 10px 15px rgba(0, 0, 0, 0.1)"},icons:{expandIcon:"▼",collapseIcon:"▲",starIcon:"★",checkIcon:"✓",arrowIcon:"→"},gradients:{primary:"#000000",secondary:"#666666",accent:"#000000"},components:{productCard:{width:"100%"},citationUnit:{width:"100%"},inlineRecommendation:{width:"100%"},expandableUnit:{width:"100%"},compareTable:{width:"100%"},card:{width:"auto"},button:{width:"auto"}}},o={...e,...t,fontSize:{...e.fontSize,...t.fontSize},spacing:{...e.spacing,...t.spacing},shadows:{...e.shadows,...t.shadows},icons:{...e.icons,...t.icons},components:{...e.components,...t.components}};return Fr(o)},Nr=(t={})=>Q({...{mode:"dark",primaryColor:"#ffffff",secondaryColor:"#9ca3af",accentColor:"#ffffff",backgroundColor:"#000000",surfaceColor:"#111111",borderColor:"#333333",textColor:"#ffffff",textSecondaryColor:"#9ca3af",shadows:{small:"0 1px 3px rgba(255, 255, 255, 0.1)",medium:"0 4px 6px rgba(255, 255, 255, 0.1)",large:"0 10px 15px rgba(255, 255, 255, 0.1)"},gradients:{primary:"#ffffff",secondary:"#9ca3af",accent:"#ffffff"}},...t}),Dr={get minimal(){return Q({primaryColor:"#000000",secondaryColor:"#666666",borderRadius:"4px",shadows:{small:"none",medium:"0 1px 3px rgba(0, 0, 0, 0.1)",large:"0 2px 6px rgba(0, 0, 0, 0.1)"},gradients:{primary:"#000000",secondary:"#666666",accent:"#000000"},components:{productCard:{width:"100%"},citationUnit:{width:"100%"},inlineRecommendation:{width:"100%"},expandableUnit:{width:"100%"},compareTable:{width:"100%"}}})},get vibrant(){return Q({primaryColor:"#8b5cf6",secondaryColor:"#06b6d4",accentColor:"#f59e0b",borderRadius:"12px",gradients:{primary:"#8b5cf6",secondary:"#06b6d4",accent:"#f59e0b"},components:{productCard:{width:"100%"},citationUnit:{width:"100%"},inlineRecommendation:{width:"100%"},expandableUnit:{width:"100%"},compareTable:{width:"100%"}}})},get corporate(){return Q({primaryColor:"#1e40af",secondaryColor:"#059669",backgroundColor:"#f8fafc",surfaceColor:"#ffffff",borderColor:"#cbd5e1",borderRadius:"6px",fontFamily:'"Inter", -apple-system, BlinkMacSystemFont, sans-serif',components:{productCard:{width:"100%"},citationUnit:{width:"100%"},inlineRecommendation:{width:"100%"},expandableUnit:{width:"100%"},compareTable:{width:"100%"}}})},get highContrast(){return Q({primaryColor:"#000000",secondaryColor:"#ffffff",backgroundColor:"#ffffff",surfaceColor:"#f5f5f5",borderColor:"#000000",textColor:"#000000",textSecondaryColor:"#333333",borderRadius:"0px",shadows:{small:"none",medium:"0 0 0 2px #000000",large:"0 0 0 3px #000000"},components:{productCard:{width:"100%"},citationUnit:{width:"100%"},inlineRecommendation:{width:"100%"},expandableUnit:{width:"100%"},compareTable:{width:"100%"}}})}},Fr=(t={})=>{const e=t.components||{},o={productCard:{width:"100%",...e.productCard},citationUnit:{width:"100%",...e.citationUnit},inlineRecommendation:{width:"100%",...e.inlineRecommendation},expandableUnit:{width:"100%",...e.expandableUnit},compareTable:{width:"100%",...e.compareTable},card:{width:"auto",...e.card},button:{width:"auto",...e.button}};return{...t,components:{...e,...o}}},Or=(...t)=>{const e=Q();return t.reduce((o,d)=>d?{...o,...d,mode:d.mode||o.mode}:o,e)},Lr=t=>{var o,d,s,i,n,l;const e=getComputedStyle(t);return{primaryColor:((o=e.getPropertyValue("--admesh-primary-color"))==null?void 0:o.trim())||void 0,secondaryColor:((d=e.getPropertyValue("--admesh-secondary-color"))==null?void 0:d.trim())||void 0,backgroundColor:((s=e.getPropertyValue("--admesh-background-color"))==null?void 0:s.trim())||void 0,textColor:((i=e.getPropertyValue("--admesh-text-color"))==null?void 0:i.trim())||void 0,borderRadius:((n=e.getPropertyValue("--admesh-border-radius"))==null?void 0:n.trim())||void 0,fontFamily:((l=e.getPropertyValue("--admesh-font-family"))==null?void 0:l.trim())||void 0}},Vr="0.2.1",$r={trackingEnabled:!0,debug:!1,theme:{mode:"light",accentColor:"#2563eb"}};exports.AdMeshBadge=mt;exports.AdMeshEcommerceCards=dt;exports.AdMeshInlineCard=ut;exports.AdMeshLayout=lt;exports.AdMeshLinkTracker=ce;exports.AdMeshProductCard=de;exports.AdMeshRecommendationFetcher=gt;exports.AdMeshRenderer=xt;exports.AdMeshSDK=Pr;exports.AdMeshSessionManager=pt;exports.AdMeshSummaryLayout=ct;exports.AdMeshSummaryUnit=Ae;exports.AdMeshTracker=bt;exports.AdMeshViewabilityTracker=ft;exports.DEFAULT_CONFIG=$r;exports.VERSION=Vr;exports.buildAdMeshLink=or;exports.createAdMeshTheme=Q;exports.createDarkTheme=Nr;exports.extractTrackingData=nr;exports.getBadgeText=cr;exports.getCtaText=lr;exports.getInlineDisclosure=ir;exports.getInlineTooltip=dr;exports.getLabelTooltip=Pe;exports.getPoweredByText=mr;exports.getRecommendationLabel=oe;exports.getSectionDisclosure=sr;exports.hasHighQualityMatches=ur;exports.mergeThemes=Or;exports.setAdMeshTrackerConfig=rr;exports.setViewabilityTrackerConfig=Mr;exports.themeFromCSSProperties=Lr;exports.themePresets=Dr;exports.useAdMeshStyles=it;exports.useAdMeshTracker=st;exports.useViewabilityTracker=ht;
708
+ `}})]})},sT=v=>{var V,K,L;const g=[];if(!v)return{isValid:!1,isEmpty:!0,warnings:["No response object provided"]};(!v.recommendations||!Array.isArray(v.recommendations))&&g.push("No recommendations array found in response"),v.layout_type==="citation"&&!v.citation_summary&&g.push("Citation layout specified but no citation_summary provided");const C=((V=v.recommendations)==null?void 0:V.filter(q=>q&&q.admesh_link&&(q.title||q.recommendation_title)))||[],E=((K=v.recommendations)==null?void 0:K.length)===0;return C.length===0&&!E&&g.push("No valid recommendations found (missing admesh_link or title)"),{isValid:C.length>0,isEmpty:E,validCount:C.length,totalCount:((L=v.recommendations)==null?void 0:L.length)||0,warnings:g}},TS=({response:v,theme:g,className:C="",style:E={},onRecommendationClick:V,onLinkClick:K})=>{const L=sT(v);if(L.warnings.length>0&&console.warn("[AdMesh Summary Layout] Validation warnings:",L.warnings),L.isEmpty)return console.log("[AdMesh Summary Layout] Empty recommendations array - not rendering anything"),null;if(!L.isValid)return console.error("[AdMesh Summary Layout] Invalid response object"),null;const{layout_type:q="citation",citation_summary:ue,recommendations:he=[],requires_summary:Ee=!0}=v;console.log(`[AdMesh Summary Layout] Rendering ${q} layout with ${L.validCount}/${L.totalCount} valid recommendations`);const W=()=>{switch(q){case"citation":return ue&&Ee?$.jsx(ab,{summaryText:ue,recommendations:he,theme:g,onLinkClick:K}):$.jsxs("div",{className:"fallback-citation",children:[$.jsx("p",{className:"text-gray-700 dark:text-gray-300 mb-3",children:"Based on your query, I'd recommend checking out these options:"}),$.jsx(p0,{recommendation:he[0],theme:g})]});case"product_cards":case"product":return $.jsx("div",{className:"product-cards-layout",children:he.slice(0,3).map((te,oe)=>$.jsx(p0,{recommendation:te,theme:g,className:"mb-4"},te.ad_id||`rec-${oe}`))});case"ecommerce":return $.jsx(SS,{recommendations:he.slice(0,3),theme:(g==null?void 0:g.mode)||"light"});default:return console.warn(`[AdMesh Summary Layout] Unknown layout type: ${q}`),ue?$.jsx(ab,{summaryText:ue,recommendations:he,theme:g,onLinkClick:K}):$.jsx(p0,{recommendation:he[0],theme:g})}};return $.jsx("div",{className:`admesh-summary-layout admesh-layout-${q} ${C}`,style:{fontFamily:(g==null?void 0:g.fontFamily)||'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',...E},children:W()})},ES=({response:v,theme:g,className:C,style:E,onRecommendationClick:V,onLinkClick:K})=>v?v.recommendations&&Array.isArray(v.recommendations)&&v.recommendations.length===0?(console.log("[AdMeshLayout] Empty recommendations array - not rendering anything"),null):$.jsx(TS,{response:v,theme:g,className:C,style:E,onRecommendationClick:V,onLinkClick:K}):(console.error("[AdMeshLayout] response prop is required"),null),AS=({recommendation:v,theme:g,variation:C="default",expandable:E=!1,className:V,style:K})=>{var W,te,oe,ze,qe;const[L,q]=we.useState(!1),he=(()=>{const re=v.content_variations;return C==="question"&&(re!=null&&re.question)?{title:re.question.cta||v.recommendation_title||v.title,description:re.question.text,ctaText:re.question.cta||v.recommendation_title||v.title}:C==="statement"&&(re!=null&&re.statement)?{title:v.recommendation_title||v.title,description:re.statement.text,ctaText:re.statement.cta||v.recommendation_title||v.title}:{title:v.recommendation_title||v.title,description:v.recommendation_description||v.reason||"",ctaText:v.recommendation_title||v.title}})(),Ee=sr("rounded-xl shadow-sm border border-gray-200 dark:border-gray-800 p-4 bg-white dark:bg-slate-900","hover:shadow-md transition-shadow duration-200",{"cursor-pointer":E&&(C==="question"||C==="statement")},V);return $.jsx("div",{className:Ee,style:{fontFamily:(g==null?void 0:g.fontFamily)||'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',width:((te=(W=g==null?void 0:g.components)==null?void 0:W.inlineRecommendation)==null?void 0:te.width)||"100%",...(oe=g==null?void 0:g.components)==null?void 0:oe.productCard,...K},"data-admesh-theme":g==null?void 0:g.mode,children:$.jsxs("div",{className:"h-full flex flex-col",children:[$.jsxs("div",{className:"flex justify-between items-center gap-3 mb-2",children:[$.jsxs("div",{className:"flex items-center gap-2 flex-1 min-w-0",children:[v.product_logo&&$.jsx("img",{src:v.product_logo.url,alt:`${v.title} logo`,className:"w-5 h-5 rounded flex-shrink-0",onError:re=>{re.target.style.display="none"}}),$.jsx("h4",{className:"font-semibold text-gray-800 dark:text-gray-200 text-sm truncate",children:he.title})]}),$.jsx("div",{className:"flex-shrink-0",children:$.jsx(y0,{adId:((ze=v.meta)==null?void 0:ze.ad_id)||v.ad_id||"",admeshLink:v.admesh_link,productId:v.product_id,trackingData:{title:v.title,matchScore:((qe=v.meta)==null?void 0:qe.intent_match_score)||v.intent_match_score,component:"inline_card_cta"},children:$.jsxs("button",{className:"text-xs px-2 py-1 rounded-full bg-gradient-to-r from-purple-500 to-pink-500 text-white hover:from-purple-600 hover:to-pink-600 flex items-center transition-all duration-200 transform hover:scale-105 shadow-sm whitespace-nowrap",children:[C==="question"?"Try":"Visit",$.jsx("svg",{className:"ml-1 h-3 w-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:$.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})]})})})]}),he.description&&$.jsx("p",{className:"text-xs text-gray-600 dark:text-gray-300 mb-2 line-clamp-2",children:he.description}),$.jsx("div",{className:"mt-auto pt-2 border-t border-gray-100 dark:border-slate-700",children:$.jsxs("div",{className:"flex items-center justify-between text-[11px] text-gray-500 dark:text-gray-400",children:[$.jsx("span",{children:"Sponsored"}),$.jsx("span",{className:"text-gray-400 dark:text-gray-500"})]})})]})})};AS.displayName="AdMeshInlineCard";const fT={"Top Match":"primary","Free Tier":"success","AI Powered":"secondary",Popular:"warning",New:"primary","Trial Available":"success"},rT={"Top Match":"★","Free Tier":"◆","AI Powered":"◉",Popular:"▲",New:"●","Trial Available":"◈"},xS=({type:v,variant:g,size:C="md",className:E,style:V})=>{const K=g||fT[v]||"secondary",L=rT[v],q=sr("admesh-component","admesh-badge",`admesh-badge--${K}`,`admesh-badge--${C}`,E);return $.jsxs("span",{className:q,style:V,children:[L&&$.jsx("span",{className:"admesh-badge__icon",children:L}),$.jsx("span",{className:"admesh-badge__text",children:v})]})};xS.displayName="AdMeshBadge";function dT(v,g,C){const V=v*g>242500;return{...{visibilityThreshold:V?.3:.5,minimumDuration:1e3,isLargeAd:V},...C}}function hT(v){return v<768?"mobile":v<1024?"tablet":"desktop"}function mT(v){const g=v.getBoundingClientRect(),C=window.innerHeight||document.documentElement.clientHeight,E=window.innerWidth||document.documentElement.clientWidth,V=g.height,K=g.width;if(V===0||K===0)return 0;const L=Math.max(0,g.top),q=Math.min(C,g.bottom),ue=Math.max(0,g.left),he=Math.min(E,g.right),Ee=Math.max(0,q-L),W=Math.max(0,he-ue),te=Ee*W,oe=V*K;return oe>0?te/oe:0}function oS(){const v=window.innerHeight,g=document.documentElement.scrollHeight,C=window.pageYOffset||document.documentElement.scrollTop,E=g-v;return E<=0?100:Math.min(100,C/E*100)}function pT(v){const g=v.getBoundingClientRect(),C=window.pageYOffset||document.documentElement.scrollTop,E=window.pageXOffset||document.documentElement.scrollLeft;return{top:g.top+C,left:g.left+E}}function yT(v){const g=v.getBoundingClientRect(),C=pT(v),E=window.innerWidth||document.documentElement.clientWidth,V=window.innerHeight||document.documentElement.clientHeight,K=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches;return{pageUrl:window.location.href,pageTitle:document.title,referrer:document.referrer,deviceType:hT(E),viewportWidth:E,viewportHeight:V,adWidth:g.width,adHeight:g.height,adPositionTop:C.top,adPositionLeft:C.left,isDarkMode:K,language:navigator.language,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone}}function gT(){return`session_${Date.now()}_${Math.random().toString(36).substring(2,11)}`}function vT(){return`batch_${Date.now()}_${Math.random().toString(36).substring(2,11)}`}function bT(v,g,C){return v>=C.visibilityThreshold&&g>=C.minimumDuration}function xg(v=new Date){return v.toISOString()}function ST(v){return v.length===0?0:v.reduce((C,E)=>C+E,0)/v.length}function sS(v,g){let C;return function(...V){C||(v(...V),C=!0,setTimeout(()=>C=!1,g))}}async function TT(v,g,C=3,E=1e3){let V=null;for(let K=0;K<C;K++){try{const L=await fetch(g,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(v)});if(L.ok)return!0;V=new Error(`HTTP ${L.status}: ${L.statusText}`)}catch(L){V=L}K<C-1&&await new Promise(L=>setTimeout(L,E*Math.pow(2,K)))}return console.error("[AdMesh Viewability] Failed to send analytics event:",V),!1}async function ET(v,g,C,E=3,V=1e3){if(v.length===0)return!0;const K={batchId:vT(),sessionId:g,createdAt:xg(),events:v,eventCount:v.length};let L=null;for(let q=0;q<E;q++){try{const ue=await fetch(C,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(K)});if(ue.ok)return!0;L=new Error(`HTTP ${ue.status}: ${ue.statusText}`)}catch(ue){L=ue}q<E-1&&await new Promise(ue=>setTimeout(ue,V*Math.pow(2,q)))}return console.error("[AdMesh Viewability] Failed to send analytics batch:",L),!1}const AT={enabled:!0,apiEndpoint:"https://api.useadmesh.com/analytics/ui-sdk/viewability",enableBatching:!0,batchSize:10,batchTimeout:5e3,debug:!1,enableRetry:!0,maxRetries:3,retryDelay:1e3};let ib=AT;const xT=v=>{ib={...ib,...v}};function MS({adId:v,productId:g,offerId:C,agentId:E,elementRef:V,config:K}){const L={...ib,...K},q=we.useRef(gT()),[ue,he]=we.useState({isVisible:!1,isViewable:!1,visibilityPercentage:0,timeMetrics:{loadedAt:xg(),totalVisibleDuration:0,totalViewableDuration:0,totalHoverDuration:0,totalFocusDuration:0},engagementMetrics:{currentScrollDepth:0,viewportEnterCount:0,viewportExitCount:0,hoverCount:0,wasClicked:!1,maxVisibilityPercentage:0,averageVisibilityPercentage:0},isTracking:L.enabled}),Ee=we.useRef(null),W=we.useRef(null),te=we.useRef(null),oe=we.useRef(null),ze=we.useRef(null),qe=we.useRef([]),re=we.useRef([]),De=we.useRef(null),bt=we.useCallback((de,Ae)=>{L.debug&&console.log(`[AdMesh Viewability] ${de}`,Ae)},[L.debug]),je=we.useCallback(async(de,Ae)=>{if(!L.enabled||!V.current||!Ee.current)return;const I=yT(V.current),Me={eventType:de,timestamp:xg(),sessionId:q.current,adId:v,productId:g,offerId:C,agentId:E,timeMetrics:ue.timeMetrics,engagementMetrics:ue.engagementMetrics,contextMetrics:I,mrcStandards:Ee.current,isViewable:ue.isViewable,metadata:Ae};bt(`Event: ${de}`,Me),L.onEvent&&L.onEvent(Me),L.enableBatching?(re.current.push(Me),re.current.length>=L.batchSize?await St():(De.current&&clearTimeout(De.current),De.current=setTimeout(St,L.batchTimeout))):await TT(Me,L.apiEndpoint,L.maxRetries,L.retryDelay)},[L,v,g,C,E,V,ue,bt]),St=we.useCallback(async()=>{if(re.current.length===0)return;const de=[...re.current];re.current=[],De.current&&(clearTimeout(De.current),De.current=null),await ET(de,q.current,L.apiEndpoint,L.maxRetries,L.retryDelay)&&L.onBatchSent&&L.onBatchSent({batchId:`batch_${Date.now()}`,sessionId:q.current,createdAt:xg(),events:de,eventCount:de.length})},[L]),Rt=we.useCallback(sS(()=>{if(!V.current)return;const de=mT(V.current),Ae=Date.now(),I=new Date(ue.timeMetrics.loadedAt).getTime();he(Me=>{const ee={...Me};de>0&&qe.current.push(de);const lt=Me.isVisible,Ue=de>0;if(Ue&&!lt)W.current=Ae,ee.engagementMetrics.viewportEnterCount++,ee.timeMetrics.timeToFirstVisible||(ee.timeMetrics.timeToFirstVisible=Ae-I,ee.engagementMetrics.scrollDepthAtFirstVisible=oS(),je("ad_visible"));else if(!Ue&&lt){if(W.current){const ye=Ae-W.current;ee.timeMetrics.totalVisibleDuration+=ye,W.current=null}ee.engagementMetrics.viewportExitCount++,je("ad_hidden")}else if(Ue&&lt&&W.current){const ye=Ae-W.current;ee.timeMetrics.totalVisibleDuration+=ye,W.current=Ae}if(ee.isVisible=Ue,ee.visibilityPercentage=de,de>ee.engagementMetrics.maxVisibilityPercentage&&(ee.engagementMetrics.maxVisibilityPercentage=de),qe.current.length>0&&(ee.engagementMetrics.averageVisibilityPercentage=ST(qe.current)),Ee.current){const ye=Me.isViewable,Ct=bT(de,ee.timeMetrics.totalVisibleDuration,Ee.current);if(Ct&&!ye)ee.isViewable=!0,ee.timeMetrics.timeToViewable=Ae-I,te.current=Ae,je("ad_viewable");else if(Ct&&ye&&te.current){const qt=Ae-te.current;ee.timeMetrics.totalViewableDuration+=qt,te.current=Ae}}return ee.engagementMetrics.currentScrollDepth=oS(),ee})},100),[V,ue.timeMetrics.loadedAt,je]);return we.useEffect(()=>{if(!V.current)return;const de=V.current.getBoundingClientRect();Ee.current=dT(de.width,de.height,L.mrcStandards),bt("Initialized MRC standards",Ee.current),je("ad_loaded")},[V,L.mrcStandards,bt,je]),we.useEffect(()=>{if(!L.enabled||!V.current)return;const de=new IntersectionObserver(Ae=>{Ae.forEach(()=>{Rt()})},{threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1],rootMargin:"0px"});return de.observe(V.current),()=>{de.disconnect()}},[L.enabled,V,Rt]),we.useEffect(()=>{if(!L.enabled)return;const de=sS(()=>{Rt()},100);return window.addEventListener("scroll",de,{passive:!0}),()=>window.removeEventListener("scroll",de)},[L.enabled,Rt]),we.useEffect(()=>{if(!L.enabled||!V.current)return;const de=V.current,Ae=()=>{oe.current=Date.now(),he(Me=>({...Me,engagementMetrics:{...Me.engagementMetrics,hoverCount:Me.engagementMetrics.hoverCount+1}})),je("ad_hover_start")},I=()=>{if(oe.current){const Me=Date.now()-oe.current;he(ee=>({...ee,timeMetrics:{...ee.timeMetrics,totalHoverDuration:ee.timeMetrics.totalHoverDuration+Me}})),oe.current=null,je("ad_hover_end",{hoverDuration:Me})}};return de.addEventListener("mouseenter",Ae),de.addEventListener("mouseleave",I),()=>{de.removeEventListener("mouseenter",Ae),de.removeEventListener("mouseleave",I)}},[L.enabled,V,je]),we.useEffect(()=>{if(!L.enabled||!V.current)return;const de=V.current,Ae=()=>{ze.current=Date.now(),je("ad_focus")},I=()=>{if(ze.current){const Me=Date.now()-ze.current;he(ee=>({...ee,timeMetrics:{...ee.timeMetrics,totalFocusDuration:ee.timeMetrics.totalFocusDuration+Me}})),ze.current=null,je("ad_blur",{focusDuration:Me})}};return de.addEventListener("focus",Ae),de.addEventListener("blur",I),()=>{de.removeEventListener("focus",Ae),de.removeEventListener("blur",I)}},[L.enabled,V,je]),we.useEffect(()=>{if(!L.enabled||!V.current)return;const de=V.current,Ae=()=>{he(I=>({...I,engagementMetrics:{...I.engagementMetrics,wasClicked:!0}})),je("ad_click")};return de.addEventListener("click",Ae),()=>{de.removeEventListener("click",Ae)}},[L.enabled,V,je]),we.useEffect(()=>()=>{const de=Date.now(),Ae=new Date(ue.timeMetrics.loadedAt).getTime(),I=de-Ae;he(Me=>({...Me,timeMetrics:{...Me.timeMetrics,sessionDuration:I}})),je("ad_unloaded",{sessionDuration:I}),St()},[]),ue}const zS=({adId:v,productId:g,offerId:C,agentId:E,children:V,config:K,className:L,style:q,onViewabilityChange:ue,onVisible:he,onViewable:Ee,onClick:W})=>{const te=we.useRef(null),oe=MS({adId:v,productId:g,offerId:C,agentId:E,elementRef:te,config:K}),ze=we.useRef(oe.isViewable);we.useEffect(()=>{oe.isViewable!==ze.current&&(ze.current=oe.isViewable,ue&&ue(oe.isViewable),oe.isViewable&&Ee&&Ee())},[oe.isViewable,ue,Ee]);const qe=we.useRef(oe.isVisible);we.useEffect(()=>{oe.isVisible!==qe.current&&(qe.current=oe.isVisible,oe.isVisible&&he&&he())},[oe.isVisible,he]);const re=De=>{W&&W()};return $.jsx("div",{ref:te,className:L,style:q,onClick:re,"data-admesh-viewability-tracker":!0,"data-ad-id":v,"data-is-viewable":oe.isViewable,"data-is-visible":oe.isVisible,"data-visibility-percentage":oe.visibilityPercentage.toFixed(2),children:V})};zS.displayName="AdMeshViewabilityTracker";const Pv="admesh_session_id",eb="admesh_session_timestamp",MT=30*60*1e3;class DS{constructor(g=!1){_a(this,"debug");this.debug=g}generateSessionId(){const g=Date.now(),C=Math.random().toString(36).substring(2,15);return`session_${g}_${C}`}createSession(){const g=this.generateSessionId();return this.storeSessionId(g),this.debug&&console.log("[SessionManager] Created session:",g),g}storeSessionId(g){try{typeof window<"u"&&window.localStorage&&(localStorage.setItem(Pv,g),localStorage.setItem(eb,Date.now().toString()))}catch(C){this.debug&&console.warn("[SessionManager] Failed to store session ID:",C)}}getStoredSessionId(){try{if(typeof window>"u"||!window.localStorage)return null;const g=localStorage.getItem(Pv),C=localStorage.getItem(eb);return!g||!C?null:Date.now()-parseInt(C,10)>MT?(this.debug&&console.log("[SessionManager] Session expired"),this.clearStoredSessionId(),null):g}catch(g){return this.debug&&console.warn("[SessionManager] Failed to get stored session ID:",g),null}}clearStoredSessionId(){try{typeof window<"u"&&window.localStorage&&(localStorage.removeItem(Pv),localStorage.removeItem(eb))}catch(g){this.debug&&console.warn("[SessionManager] Failed to clear session ID:",g)}}closeSession(g){this.debug&&console.log("[SessionManager] Closing session:",g),this.clearStoredSessionId()}isSessionValid(g){return this.getStoredSessionId()===g}}class OS{constructor(g){_a(this,"apiKey");_a(this,"apiBaseUrl");_a(this,"debug");this.apiKey=g.apiKey,this.apiBaseUrl=g.apiBaseUrl||"https://api.useadmesh.com",this.debug=g.debug||!1}async fetchRecommendations(g){try{const C=`${this.apiBaseUrl}/agent/recommend`,E={query:g.query,format:g.format||"auto",...g.previous_query&&{previous_query:g.previous_query},...g.previous_summary&&{previous_summary:g.previous_summary},...g.session_id&&{session_id:g.session_id},...g.is_fallback_allowed!==void 0&&{is_fallback_allowed:g.is_fallback_allowed}};this.debug&&(console.log("[Fetcher] Calling endpoint:",C),console.log("[Fetcher] Payload:",E));const V=await fetch(C,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`},body:JSON.stringify(E)});if(!V.ok){const q=(await V.json().catch(()=>({}))).detail||`HTTP ${V.status}`;throw new Error(`Failed to fetch recommendations: ${q}`)}const K=await V.json();return this.debug&&console.log("[Fetcher] Response:",K),K}catch(C){throw this.debug&&console.error("[Fetcher] Error fetching recommendations:",C),C}}}var Eg={exports:{}},h0={},Ag={exports:{}},tb={};/**
709
+ * @license React
710
+ * scheduler.production.js
711
+ *
712
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
713
+ *
714
+ * This source code is licensed under the MIT license found in the
715
+ * LICENSE file in the root directory of this source tree.
716
+ */var fS;function zT(){return fS||(fS=1,function(v){function g(z,J){var P=z.length;z.push(J);e:for(;0<P;){var be=P-1>>>1,j=z[be];if(0<V(j,J))z[be]=J,z[P]=j,P=be;else break e}}function C(z){return z.length===0?null:z[0]}function E(z){if(z.length===0)return null;var J=z[0],P=z.pop();if(P!==J){z[0]=P;e:for(var be=0,j=z.length,se=j>>>1;be<se;){var Se=2*(be+1)-1,xe=z[Se],Re=Se+1,ht=z[Re];if(0>V(xe,P))Re<j&&0>V(ht,xe)?(z[be]=ht,z[Re]=P,be=Re):(z[be]=xe,z[Se]=P,be=Se);else if(Re<j&&0>V(ht,P))z[be]=ht,z[Re]=P,be=Re;else break e}}return J}function V(z,J){var P=z.sortIndex-J.sortIndex;return P!==0?P:z.id-J.id}if(v.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var K=performance;v.unstable_now=function(){return K.now()}}else{var L=Date,q=L.now();v.unstable_now=function(){return L.now()-q}}var ue=[],he=[],Ee=1,W=null,te=3,oe=!1,ze=!1,qe=!1,re=!1,De=typeof setTimeout=="function"?setTimeout:null,bt=typeof clearTimeout=="function"?clearTimeout:null,je=typeof setImmediate<"u"?setImmediate:null;function St(z){for(var J=C(he);J!==null;){if(J.callback===null)E(he);else if(J.startTime<=z)E(he),J.sortIndex=J.expirationTime,g(ue,J);else break;J=C(he)}}function Rt(z){if(qe=!1,St(z),!ze)if(C(ue)!==null)ze=!0,de||(de=!0,Ue());else{var J=C(he);J!==null&&qt(Rt,J.startTime-z)}}var de=!1,Ae=-1,I=5,Me=-1;function ee(){return re?!0:!(v.unstable_now()-Me<I)}function lt(){if(re=!1,de){var z=v.unstable_now();Me=z;var J=!0;try{e:{ze=!1,qe&&(qe=!1,bt(Ae),Ae=-1),oe=!0;var P=te;try{t:{for(St(z),W=C(ue);W!==null&&!(W.expirationTime>z&&ee());){var be=W.callback;if(typeof be=="function"){W.callback=null,te=W.priorityLevel;var j=be(W.expirationTime<=z);if(z=v.unstable_now(),typeof j=="function"){W.callback=j,St(z),J=!0;break t}W===C(ue)&&E(ue),St(z)}else E(ue);W=C(ue)}if(W!==null)J=!0;else{var se=C(he);se!==null&&qt(Rt,se.startTime-z),J=!1}}break e}finally{W=null,te=P,oe=!1}J=void 0}}finally{J?Ue():de=!1}}}var Ue;if(typeof je=="function")Ue=function(){je(lt)};else if(typeof MessageChannel<"u"){var ye=new MessageChannel,Ct=ye.port2;ye.port1.onmessage=lt,Ue=function(){Ct.postMessage(null)}}else Ue=function(){De(lt,0)};function qt(z,J){Ae=De(function(){z(v.unstable_now())},J)}v.unstable_IdlePriority=5,v.unstable_ImmediatePriority=1,v.unstable_LowPriority=4,v.unstable_NormalPriority=3,v.unstable_Profiling=null,v.unstable_UserBlockingPriority=2,v.unstable_cancelCallback=function(z){z.callback=null},v.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<z?Math.floor(1e3/z):5},v.unstable_getCurrentPriorityLevel=function(){return te},v.unstable_next=function(z){switch(te){case 1:case 2:case 3:var J=3;break;default:J=te}var P=te;te=J;try{return z()}finally{te=P}},v.unstable_requestPaint=function(){re=!0},v.unstable_runWithPriority=function(z,J){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var P=te;te=z;try{return J()}finally{te=P}},v.unstable_scheduleCallback=function(z,J,P){var be=v.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?be+P:be):P=be,z){case 1:var j=-1;break;case 2:j=250;break;case 5:j=1073741823;break;case 4:j=1e4;break;default:j=5e3}return j=P+j,z={id:Ee++,callback:J,priorityLevel:z,startTime:P,expirationTime:j,sortIndex:-1},P>be?(z.sortIndex=P,g(he,z),C(ue)===null&&z===C(he)&&(qe?(bt(Ae),Ae=-1):qe=!0,qt(Rt,P-be))):(z.sortIndex=j,g(ue,z),ze||oe||(ze=!0,de||(de=!0,Ue()))),z},v.unstable_shouldYield=ee,v.unstable_wrapCallback=function(z){var J=te;return function(){var P=te;te=J;try{return z.apply(this,arguments)}finally{te=P}}}}(tb)),tb}var lb={};/**
717
+ * @license React
718
+ * scheduler.development.js
719
+ *
720
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
721
+ *
722
+ * This source code is licensed under the MIT license found in the
723
+ * LICENSE file in the root directory of this source tree.
724
+ */var rS;function DT(){return rS||(rS=1,function(v){process.env.NODE_ENV!=="production"&&function(){function g(){if(Rt=!1,Me){var z=v.unstable_now();Ue=z;var J=!0;try{e:{je=!1,St&&(St=!1,Ae(ee),ee=-1),bt=!0;var P=De;try{t:{for(L(z),re=E(oe);re!==null&&!(re.expirationTime>z&&ue());){var be=re.callback;if(typeof be=="function"){re.callback=null,De=re.priorityLevel;var j=be(re.expirationTime<=z);if(z=v.unstable_now(),typeof j=="function"){re.callback=j,L(z),J=!0;break t}re===E(oe)&&V(oe),L(z)}else V(oe);re=E(oe)}if(re!==null)J=!0;else{var se=E(ze);se!==null&&he(q,se.startTime-z),J=!1}}break e}finally{re=null,De=P,bt=!1}J=void 0}}finally{J?ye():Me=!1}}}function C(z,J){var P=z.length;z.push(J);e:for(;0<P;){var be=P-1>>>1,j=z[be];if(0<K(j,J))z[be]=J,z[P]=j,P=be;else break e}}function E(z){return z.length===0?null:z[0]}function V(z){if(z.length===0)return null;var J=z[0],P=z.pop();if(P!==J){z[0]=P;e:for(var be=0,j=z.length,se=j>>>1;be<se;){var Se=2*(be+1)-1,xe=z[Se],Re=Se+1,ht=z[Re];if(0>K(xe,P))Re<j&&0>K(ht,xe)?(z[be]=ht,z[Re]=P,be=Re):(z[be]=xe,z[Se]=P,be=Se);else if(Re<j&&0>K(ht,P))z[be]=ht,z[Re]=P,be=Re;else break e}}return J}function K(z,J){var P=z.sortIndex-J.sortIndex;return P!==0?P:z.id-J.id}function L(z){for(var J=E(ze);J!==null;){if(J.callback===null)V(ze);else if(J.startTime<=z)V(ze),J.sortIndex=J.expirationTime,C(oe,J);else break;J=E(ze)}}function q(z){if(St=!1,L(z),!je)if(E(oe)!==null)je=!0,Me||(Me=!0,ye());else{var J=E(ze);J!==null&&he(q,J.startTime-z)}}function ue(){return Rt?!0:!(v.unstable_now()-Ue<lt)}function he(z,J){ee=de(function(){z(v.unstable_now())},J)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),v.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var Ee=performance;v.unstable_now=function(){return Ee.now()}}else{var W=Date,te=W.now();v.unstable_now=function(){return W.now()-te}}var oe=[],ze=[],qe=1,re=null,De=3,bt=!1,je=!1,St=!1,Rt=!1,de=typeof setTimeout=="function"?setTimeout:null,Ae=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null,Me=!1,ee=-1,lt=5,Ue=-1;if(typeof I=="function")var ye=function(){I(g)};else if(typeof MessageChannel<"u"){var Ct=new MessageChannel,qt=Ct.port2;Ct.port1.onmessage=g,ye=function(){qt.postMessage(null)}}else ye=function(){de(g,0)};v.unstable_IdlePriority=5,v.unstable_ImmediatePriority=1,v.unstable_LowPriority=4,v.unstable_NormalPriority=3,v.unstable_Profiling=null,v.unstable_UserBlockingPriority=2,v.unstable_cancelCallback=function(z){z.callback=null},v.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):lt=0<z?Math.floor(1e3/z):5},v.unstable_getCurrentPriorityLevel=function(){return De},v.unstable_next=function(z){switch(De){case 1:case 2:case 3:var J=3;break;default:J=De}var P=De;De=J;try{return z()}finally{De=P}},v.unstable_requestPaint=function(){Rt=!0},v.unstable_runWithPriority=function(z,J){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var P=De;De=z;try{return J()}finally{De=P}},v.unstable_scheduleCallback=function(z,J,P){var be=v.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?be+P:be):P=be,z){case 1:var j=-1;break;case 2:j=250;break;case 5:j=1073741823;break;case 4:j=1e4;break;default:j=5e3}return j=P+j,z={id:qe++,callback:J,priorityLevel:z,startTime:P,expirationTime:j,sortIndex:-1},P>be?(z.sortIndex=P,C(ze,z),E(oe)===null&&z===E(ze)&&(St?(Ae(ee),ee=-1):St=!0,he(q,P-be))):(z.sortIndex=j,C(oe,z),je||bt||(je=!0,Me||(Me=!0,ye()))),z},v.unstable_shouldYield=ue,v.unstable_wrapCallback=function(z){var J=De;return function(){var P=De;De=J;try{return z.apply(this,arguments)}finally{De=P}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(lb)),lb}var dS;function _S(){return dS||(dS=1,process.env.NODE_ENV==="production"?Ag.exports=zT():Ag.exports=DT()),Ag.exports}/**
725
+ * @license React
726
+ * react-dom-client.production.js
727
+ *
728
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
729
+ *
730
+ * This source code is licensed under the MIT license found in the
731
+ * LICENSE file in the root directory of this source tree.
732
+ */var hS;function OT(){if(hS)return h0;hS=1;var v=_S(),g=we,C=yS;function E(l){var a="https://react.dev/errors/"+l;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)a+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+l+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function V(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function K(l){var a=l,u=l;if(l.alternate)for(;a.return;)a=a.return;else{l=a;do a=l,(a.flags&4098)!==0&&(u=a.return),l=a.return;while(l)}return a.tag===3?u:null}function L(l){if(l.tag===13){var a=l.memoizedState;if(a===null&&(l=l.alternate,l!==null&&(a=l.memoizedState)),a!==null)return a.dehydrated}return null}function q(l){if(l.tag===31){var a=l.memoizedState;if(a===null&&(l=l.alternate,l!==null&&(a=l.memoizedState)),a!==null)return a.dehydrated}return null}function ue(l){if(K(l)!==l)throw Error(E(188))}function he(l){var a=l.alternate;if(!a){if(a=K(l),a===null)throw Error(E(188));return a!==l?null:l}for(var u=l,c=a;;){var f=u.return;if(f===null)break;var r=f.alternate;if(r===null){if(c=f.return,c!==null){u=c;continue}break}if(f.child===r.child){for(r=f.child;r;){if(r===u)return ue(f),l;if(r===c)return ue(f),a;r=r.sibling}throw Error(E(188))}if(u.return!==c.return)u=f,c=r;else{for(var m=!1,p=f.child;p;){if(p===u){m=!0,u=f,c=r;break}if(p===c){m=!0,c=f,u=r;break}p=p.sibling}if(!m){for(p=r.child;p;){if(p===u){m=!0,u=r,c=f;break}if(p===c){m=!0,c=r,u=f;break}p=p.sibling}if(!m)throw Error(E(189))}}if(u.alternate!==c)throw Error(E(190))}if(u.tag!==3)throw Error(E(188));return u.stateNode.current===u?l:a}function Ee(l){var a=l.tag;if(a===5||a===26||a===27||a===6)return l;for(l=l.child;l!==null;){if(a=Ee(l),a!==null)return a;l=l.sibling}return null}var W=Object.assign,te=Symbol.for("react.element"),oe=Symbol.for("react.transitional.element"),ze=Symbol.for("react.portal"),qe=Symbol.for("react.fragment"),re=Symbol.for("react.strict_mode"),De=Symbol.for("react.profiler"),bt=Symbol.for("react.consumer"),je=Symbol.for("react.context"),St=Symbol.for("react.forward_ref"),Rt=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),Ae=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),Me=Symbol.for("react.activity"),ee=Symbol.for("react.memo_cache_sentinel"),lt=Symbol.iterator;function Ue(l){return l===null||typeof l!="object"?null:(l=lt&&l[lt]||l["@@iterator"],typeof l=="function"?l:null)}var ye=Symbol.for("react.client.reference");function Ct(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===ye?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case qe:return"Fragment";case De:return"Profiler";case re:return"StrictMode";case Rt:return"Suspense";case de:return"SuspenseList";case Me:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case ze:return"Portal";case je:return l.displayName||"Context";case bt:return(l._context.displayName||"Context")+".Consumer";case St:var a=l.render;return l=l.displayName,l||(l=a.displayName||a.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case Ae:return a=l.displayName||null,a!==null?a:Ct(l.type)||"Memo";case I:a=l._payload,l=l._init;try{return Ct(l(a))}catch{}}return null}var qt=Array.isArray,z=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=C.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P={pending:!1,data:null,method:null,action:null},be=[],j=-1;function se(l){return{current:l}}function Se(l){0>j||(l.current=be[j],be[j]=null,j--)}function xe(l,a){j++,be[j]=l.current,l.current=a}var Re=se(null),ht=se(null),Ra=se(null),cu=se(null);function Yt(l,a){switch(xe(Ra,a),xe(ht,l),xe(Re,null),a.nodeType){case 9:case 11:l=(l=a.documentElement)&&(l=l.namespaceURI)?Hd(l):0;break;default:if(l=a.tagName,a=a.namespaceURI)a=Hd(a),l=Nf(a,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}Se(Re),xe(Re,l)}function xl(){Se(Re),Se(ht),Se(Ra)}function Ri(l){l.memoizedState!==null&&xe(cu,l);var a=Re.current,u=Nf(a,l.type);a!==u&&(xe(ht,l),xe(Re,u))}function ne(l){ht.current===l&&(Se(Re),Se(ht)),cu.current===l&&(Se(cu),zc._currentValue=P)}var cs,os;function bn(l){if(cs===void 0)try{throw Error()}catch(u){var a=u.stack.trim().match(/\n( *(at )?)/);cs=a&&a[1]||"",os=-1<u.stack.indexOf(`
733
+ at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
734
+ `+cs+l+os}var Ci=!1;function mt(l,a){if(!l||Ci)return"";Ci=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(a){var F=function(){throw Error()};if(Object.defineProperty(F.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(F,[])}catch(N){var H=N}Reflect.construct(l,[],F)}else{try{F.call()}catch(N){H=N}l.call(F.prototype)}}else{try{throw Error()}catch(N){H=N}(F=l())&&typeof F.catch=="function"&&F.catch(function(){})}}catch(N){if(N&&H&&typeof N.stack=="string")return[N.stack,H.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=c.DetermineComponentFrameRoot(),m=r[0],p=r[1];if(m&&p){var A=m.split(`
735
+ `),U=p.split(`
736
+ `);for(f=c=0;c<A.length&&!A[c].includes("DetermineComponentFrameRoot");)c++;for(;f<U.length&&!U[f].includes("DetermineComponentFrameRoot");)f++;if(c===A.length||f===U.length)for(c=A.length-1,f=U.length-1;1<=c&&0<=f&&A[c]!==U[f];)f--;for(;1<=c&&0<=f;c--,f--)if(A[c]!==U[f]){if(c!==1||f!==1)do if(c--,f--,0>f||A[c]!==U[f]){var Z=`
737
+ `+A[c].replace(" at new "," at ");return l.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",l.displayName)),Z}while(1<=c&&0<=f);break}}}finally{Ci=!1,Error.prepareStackTrace=u}return(u=l?l.displayName||l.name:"")?bn(u):""}function Rh(l,a){switch(l.tag){case 26:case 27:case 5:return bn(l.type);case 16:return bn("Lazy");case 13:return l.child!==a&&a!==null?bn("Suspense Fallback"):bn("Suspense");case 19:return bn("SuspenseList");case 0:case 15:return mt(l.type,!1);case 11:return mt(l.type.render,!1);case 1:return mt(l.type,!0);case 31:return bn("Activity");default:return""}}function fr(l){try{var a="",u=null;do a+=Rh(l,u),u=l,l=l.return;while(l);return a}catch(c){return`
738
+ Error generating stack: `+c.message+`
739
+ `+c.stack}}var Ch=Object.prototype.hasOwnProperty,Tt=v.unstable_scheduleCallback,Uh=v.unstable_cancelCallback,g0=v.unstable_shouldYield,ss=v.unstable_requestPaint,Nl=v.unstable_now,v0=v.unstable_getCurrentPriorityLevel,Hh=v.unstable_ImmediatePriority,qc=v.unstable_UserBlockingPriority,rr=v.unstable_NormalPriority,Mg=v.unstable_LowPriority,Iu=v.unstable_IdlePriority,dr=v.log,fs=v.unstable_setDisableYieldValue,rs=null,Wl=null;function ou(l){if(typeof dr=="function"&&fs(l),Wl&&typeof Wl.setStrictMode=="function")try{Wl.setStrictMode(rs,l)}catch{}}var Bl=Math.clz32?Math.clz32:b0,ds=Math.log,zg=Math.LN2;function b0(l){return l>>>=0,l===0?32:31-(ds(l)/zg|0)|0}var hs=256,ms=4194304;function su(l){var a=l&42;if(a!==0)return a;switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function ps(l,a,u){var c=l.pendingLanes;if(c===0)return 0;var f=0,r=l.suspendedLanes,m=l.pingedLanes;l=l.warmLanes;var p=c&134217727;return p!==0?(c=p&~r,c!==0?f=su(c):(m&=p,m!==0?f=su(m):u||(u=p&~l,u!==0&&(f=su(u))))):(p=c&~r,p!==0?f=su(p):m!==0?f=su(m):u||(u=c&~l,u!==0&&(f=su(u)))),f===0?0:a!==0&&a!==f&&(a&r)===0&&(r=f&-f,u=a&-a,r>=u||r===32&&(u&4194048)!==0)?a:f}function Yc(l,a){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&a)===0}function wh(l,a){switch(l){case 1:case 2:case 4:case 8:case 64:return a+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 a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Nh(){var l=hs;return hs<<=1,(hs&4194048)===0&&(hs=256),l}function Bh(){var l=ms;return ms<<=1,(ms&62914560)===0&&(ms=4194304),l}function ys(l){for(var a=[],u=0;31>u;u++)a.push(l);return a}function Sn(l,a){l.pendingLanes|=a,a!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function Pu(l,a,u,c,f,r){var m=l.pendingLanes;l.pendingLanes=u,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=u,l.entangledLanes&=u,l.errorRecoveryDisabledLanes&=u,l.shellSuspendCounter=0;var p=l.entanglements,A=l.expirationTimes,U=l.hiddenUpdates;for(u=m&~u;0<u;){var Z=31-Bl(u),F=1<<Z;p[Z]=0,A[Z]=-1;var H=U[Z];if(H!==null)for(U[Z]=null,Z=0;Z<H.length;Z++){var N=H[Z];N!==null&&(N.lane&=-536870913)}u&=~F}c!==0&&Vc(l,c,0),r!==0&&f===0&&l.tag!==0&&(l.suspendedLanes|=r&~(m&~a))}function Vc(l,a,u){l.pendingLanes|=a,l.suspendedLanes&=~a;var c=31-Bl(a);l.entangledLanes|=a,l.entanglements[c]=l.entanglements[c]|1073741824|u&4194090}function Ui(l,a){var u=l.entangledLanes|=a;for(l=l.entanglements;u;){var c=31-Bl(u),f=1<<c;f&a|l[c]&a&&(l[c]|=a),u&=~f}}function Ft(l,a){var u=a&-a;return u=(u&42)!==0?1:fu(u),(u&(l.suspendedLanes|a))!==0?0:u}function fu(l){switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=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:l=128;break;case 268435456:l=134217728;break;default:l=0}return l}function ei(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function Hi(){var l=J.p;return l!==0?l:(l=window.event,l===void 0?32:xp(l.type))}function hr(l,a){var u=J.p;try{return J.p=l,a()}finally{J.p=u}}var ru=Math.random().toString(36).slice(2),Jt="__reactFiber$"+ru,ml="__reactProps$"+ru,Fl="__reactContainer$"+ru,Il="__reactEvents$"+ru,S0="__reactListeners$"+ru,Dg="__reactHandles$"+ru,mr="__reactResources$"+ru,Gc="__reactMarker$"+ru;function Lc(l){delete l[Jt],delete l[ml],delete l[Il],delete l[S0],delete l[Dg]}function pl(l){var a=l[Jt];if(a)return a;for(var u=l.parentNode;u;){if(a=u[Fl]||u[Jt]){if(u=a.alternate,a.child!==null||u!==null&&u.child!==null)for(l=yp(l);l!==null;){if(u=l[Jt])return u;l=yp(l)}return a}l=u,u=l.parentNode}return null}function wi(l){if(l=l[Jt]||l[Fl]){var a=l.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return l}return null}function Ni(l){var a=l.tag;if(a===5||a===26||a===27||a===6)return l.stateNode;throw Error(E(33))}function Bi(l){var a=l[mr];return a||(a=l[mr]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function kt(l){l[Gc]=!0}var jh=new Set,qh={};function Ca(l,a){ji(l,a),ji(l+"Capture",a)}function ji(l,a){for(qh[l]=a,l=0;l<a.length;l++)jh.add(a[l])}var T0=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]*$"),Yh={},Vh={};function E0(l){return Ch.call(Vh,l)?!0:Ch.call(Yh,l)?!1:T0.test(l)?Vh[l]=!0:(Yh[l]=!0,!1)}function Ml(l,a,u){if(E0(a))if(u===null)l.removeAttribute(a);else{switch(typeof u){case"undefined":case"function":case"symbol":l.removeAttribute(a);return;case"boolean":var c=a.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){l.removeAttribute(a);return}}l.setAttribute(a,""+u)}}function du(l,a,u){if(u===null)l.removeAttribute(a);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(a);return}l.setAttribute(a,""+u)}}function jl(l,a,u,c){if(c===null)l.removeAttribute(u);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(u);return}l.setAttributeNS(a,u,""+c)}}function ra(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Xc(l){var a=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function pr(l,a,u){var c=Object.getOwnPropertyDescriptor(l.constructor.prototype,a);if(!l.hasOwnProperty(a)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var f=c.get,r=c.set;return Object.defineProperty(l,a,{configurable:!0,get:function(){return f.call(this)},set:function(m){u=""+m,r.call(this,m)}}),Object.defineProperty(l,a,{enumerable:c.enumerable}),{getValue:function(){return u},setValue:function(m){u=""+m},stopTracking:function(){l._valueTracker=null,delete l[a]}}}}function gs(l){if(!l._valueTracker){var a=Xc(l)?"checked":"value";l._valueTracker=pr(l,a,""+l[a])}}function Qc(l){if(!l)return!1;var a=l._valueTracker;if(!a)return!0;var u=a.getValue(),c="";return l&&(c=Xc(l)?l.checked?"true":"false":l.value),l=c,l!==u?(a.setValue(l),!0):!1}function hu(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var Gh=/[\n"\\]/g;function Ua(l){return l.replace(Gh,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Lh(l,a,u,c,f,r,m,p){l.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?l.type=m:l.removeAttribute("type"),a!=null?m==="number"?(a===0&&l.value===""||l.value!=a)&&(l.value=""+ra(a)):l.value!==""+ra(a)&&(l.value=""+ra(a)):m!=="submit"&&m!=="reset"||l.removeAttribute("value"),a!=null?vs(l,m,ra(a)):u!=null?vs(l,m,ra(u)):c!=null&&l.removeAttribute("value"),f==null&&r!=null&&(l.defaultChecked=!!r),f!=null&&(l.checked=f&&typeof f!="function"&&typeof f!="symbol"),p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?l.name=""+ra(p):l.removeAttribute("name")}function Xh(l,a,u,c,f,r,m,p){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(l.type=r),a!=null||u!=null){if(!(r!=="submit"&&r!=="reset"||a!=null)){gs(l);return}u=u!=null?""+ra(u):"",a=a!=null?""+ra(a):u,p||a===l.value||(l.value=a),l.defaultValue=a}c=c??f,c=typeof c!="function"&&typeof c!="symbol"&&!!c,l.checked=p?l.checked:!!c,l.defaultChecked=!!c,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(l.name=m),gs(l)}function vs(l,a,u){a==="number"&&hu(l.ownerDocument)===l||l.defaultValue===""+u||(l.defaultValue=""+u)}function ti(l,a,u,c){if(l=l.options,a){a={};for(var f=0;f<u.length;f++)a["$"+u[f]]=!0;for(u=0;u<l.length;u++)f=a.hasOwnProperty("$"+l[u].value),l[u].selected!==f&&(l[u].selected=f),f&&c&&(l[u].defaultSelected=!0)}else{for(u=""+ra(u),a=null,f=0;f<l.length;f++){if(l[f].value===u){l[f].selected=!0,c&&(l[f].defaultSelected=!0);return}a!==null||l[f].disabled||(a=l[f])}a!==null&&(a.selected=!0)}}function Qh(l,a,u){if(a!=null&&(a=""+ra(a),a!==l.value&&(l.value=a),u==null)){l.defaultValue!==a&&(l.defaultValue=a);return}l.defaultValue=u!=null?""+ra(u):""}function Zh(l,a,u,c){if(a==null){if(c!=null){if(u!=null)throw Error(E(92));if(qt(c)){if(1<c.length)throw Error(E(93));c=c[0]}u=c}u==null&&(u=""),a=u}u=ra(a),l.defaultValue=u,c=l.textContent,c===u&&c!==""&&c!==null&&(l.value=c),gs(l)}function qi(l,a){if(a){var u=l.firstChild;if(u&&u===l.lastChild&&u.nodeType===3){u.nodeValue=a;return}}l.textContent=a}var Og=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Jh(l,a,u){var c=a.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?c?l.setProperty(a,""):a==="float"?l.cssFloat="":l[a]="":c?l.setProperty(a,u):typeof u!="number"||u===0||Og.has(a)?a==="float"?l.cssFloat=u:l[a]=(""+u).trim():l[a]=u+"px"}function yr(l,a,u){if(a!=null&&typeof a!="object")throw Error(E(62));if(l=l.style,u!=null){for(var c in u)!u.hasOwnProperty(c)||a!=null&&a.hasOwnProperty(c)||(c.indexOf("--")===0?l.setProperty(c,""):c==="float"?l.cssFloat="":l[c]="");for(var f in a)c=a[f],a.hasOwnProperty(f)&&u[f]!==c&&Jh(l,f,c)}else for(var r in a)a.hasOwnProperty(r)&&Jh(l,r,a[r])}function Zc(l){if(l.indexOf("-")===-1)return!1;switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var bs=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"]]),_g=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ss(l){return _g.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function Tn(){}var Yi=null;function gr(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var Jc=null,kc=null;function A0(l){var a=wi(l);if(a&&(l=a.stateNode)){var u=l[ml]||null;e:switch(l=a.stateNode,a.type){case"input":if(Lh(l,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),a=u.name,u.type==="radio"&&a!=null){for(u=l;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+Ua(""+a)+'"][type="radio"]'),a=0;a<u.length;a++){var c=u[a];if(c!==l&&c.form===l.form){var f=c[ml]||null;if(!f)throw Error(E(90));Lh(c,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(a=0;a<u.length;a++)c=u[a],c.form===l.form&&Qc(c)}break e;case"textarea":Qh(l,u.value,u.defaultValue);break e;case"select":a=u.value,a!=null&&ti(l,!!u.multiple,a,!1)}}}var kh=!1;function Kc(l,a,u){if(kh)return l(a,u);kh=!0;try{var c=l(a);return c}finally{if(kh=!1,(Jc!==null||kc!==null)&&(Hl(),Jc&&(a=Jc,l=kc,kc=Jc=null,A0(a),l)))for(a=0;a<l.length;a++)A0(l[a])}}function da(l,a){var u=l.stateNode;if(u===null)return null;var c=u[ml]||null;if(c===null)return null;u=c[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(l=l.type,c=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!c;break e;default:l=!1}if(l)return null;if(u&&typeof u!="function")throw Error(E(231,a,typeof u));return u}var $a=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vr=!1;if($a)try{var $c={};Object.defineProperty($c,"passive",{get:function(){vr=!0}}),window.addEventListener("test",$c,$c),window.removeEventListener("test",$c,$c)}catch{vr=!1}var Ha=null,br=null,Vi=null;function Ts(){if(Vi)return Vi;var l,a=br,u=a.length,c,f="value"in Ha?Ha.value:Ha.textContent,r=f.length;for(l=0;l<u&&a[l]===f[l];l++);var m=u-l;for(c=1;c<=m&&a[u-c]===f[r-c];c++);return Vi=f.slice(l,1<c?1-c:void 0)}function Es(l){var a=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&a===13&&(l=13)):l=a,l===10&&(l=13),32<=l||l===13?l:0}function yl(){return!0}function x0(){return!1}function zl(l){function a(u,c,f,r,m){this._reactName=u,this._targetInst=f,this.type=c,this.nativeEvent=r,this.target=m,this.currentTarget=null;for(var p in l)l.hasOwnProperty(p)&&(u=l[p],this[p]=u?u(r):r[p]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?yl:x0,this.isPropagationStopped=x0,this}return W(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=yl)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=yl)},persist:function(){},isPersistent:yl}),a}var li={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},As=zl(li),xs=W({},li,{view:0,detail:0}),Rg=zl(xs),Sr,Kh,Wc,Tr=W({},xs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Er,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==Wc&&(Wc&&l.type==="mousemove"?(Sr=l.screenX-Wc.screenX,Kh=l.screenY-Wc.screenY):Kh=Sr=0,Wc=l),Sr)},movementY:function(l){return"movementY"in l?l.movementY:Kh}}),Ms=zl(Tr),M0=W({},Tr,{dataTransfer:0}),z0=zl(M0),D0=W({},xs,{relatedTarget:0}),$h=zl(D0),Cg=W({},li,{animationName:0,elapsedTime:0,pseudoElement:0}),Ug=zl(Cg),Hg=W({},li,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),wg=zl(Hg),zs=W({},li,{data:0}),Wh=zl(zs),O0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_0={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"},R0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fh(l){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(l):(l=R0[l])?!!a[l]:!1}function Er(){return Fh}var Gi=W({},xs,{key:function(l){if(l.key){var a=O0[l.key]||l.key;if(a!=="Unidentified")return a}return l.type==="keypress"?(l=Es(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?_0[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Er,charCode:function(l){return l.type==="keypress"?Es(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?Es(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),Li=zl(Gi),Wa=W({},Tr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ds=zl(Wa),Ar=W({},xs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Er}),Ih=zl(Ar),ql=W({},li,{propertyName:0,elapsedTime:0,pseudoElement:0}),C0=zl(ql),xr=W({},Tr,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),Xi=zl(xr),Ph=W({},li,{newState:0,oldState:0}),U0=zl(Ph),H0=[9,13,27,32],Os=$a&&"CompositionEvent"in window,_s=null;$a&&"documentMode"in document&&(_s=document.documentMode);var em=$a&&"TextEvent"in window&&!_s,En=$a&&(!Os||_s&&8<_s&&11>=_s),tm=" ",Mr=!1;function Rs(l,a){switch(l){case"keyup":return H0.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ai(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var ni=!1;function w0(l,a){switch(l){case"compositionend":return ai(a);case"keypress":return a.which!==32?null:(Mr=!0,tm);case"textInput":return l=a.data,l===tm&&Mr?null:l;default:return null}}function lm(l,a){if(ni)return l==="compositionend"||!Os&&Rs(l,a)?(l=Ts(),Vi=br=Ha=null,ni=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return En&&a.locale!=="ko"?null:a.data;default:return null}}var ha={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function An(l){var a=l&&l.nodeName&&l.nodeName.toLowerCase();return a==="input"?!!ha[l.type]:a==="textarea"}function am(l,a,u,c){Jc?kc?kc.push(c):kc=[c]:Jc=c,a=jt(a,"onChange"),0<a.length&&(u=new As("onChange","change",null,u,c),l.push({event:u,listeners:a}))}var Qi=null,Zi=null;function N0(l){Oy(l,0)}function Cs(l){var a=Ni(l);if(Qc(a))return l}function mu(l,a){if(l==="change")return a}var ui=!1;if($a){var zr;if($a){var Fc="oninput"in document;if(!Fc){var pu=document.createElement("div");pu.setAttribute("oninput","return;"),Fc=typeof pu.oninput=="function"}zr=Fc}else zr=!1;ui=zr&&(!document.documentMode||9<document.documentMode)}function nm(){Qi&&(Qi.detachEvent("onpropertychange",um),Zi=Qi=null)}function um(l){if(l.propertyName==="value"&&Cs(Zi)){var a=[];am(a,Zi,l,gr(l)),Kc(N0,a)}}function Ic(l,a,u){l==="focusin"?(nm(),Qi=a,Zi=u,Qi.attachEvent("onpropertychange",um)):l==="focusout"&&nm()}function Ji(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Cs(Zi)}function im(l,a){if(l==="click")return Cs(a)}function Us(l,a){if(l==="input"||l==="change")return Cs(a)}function cm(l,a){return l===a&&(l!==0||1/l===1/a)||l!==l&&a!==a}var Dl=typeof Object.is=="function"?Object.is:cm;function wa(l,a){if(Dl(l,a))return!0;if(typeof l!="object"||l===null||typeof a!="object"||a===null)return!1;var u=Object.keys(l),c=Object.keys(a);if(u.length!==c.length)return!1;for(c=0;c<u.length;c++){var f=u[c];if(!Ch.call(a,f)||!Dl(l[f],a[f]))return!1}return!0}function xn(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function Dr(l,a){var u=xn(l);l=0;for(var c;u;){if(u.nodeType===3){if(c=l+u.textContent.length,l<=a&&c>=a)return{node:u,offset:a-l};l=c}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=xn(u)}}function Or(l,a){return l&&a?l===a?!0:l&&l.nodeType===3?!1:a&&a.nodeType===3?Or(l,a.parentNode):"contains"in l?l.contains(a):l.compareDocumentPosition?!!(l.compareDocumentPosition(a)&16):!1:!1}function ki(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var a=hu(l.document);a instanceof l.HTMLIFrameElement;){try{var u=typeof a.contentWindow.location.href=="string"}catch{u=!1}if(u)l=a.contentWindow;else break;a=hu(l.document)}return a}function Pc(l){var a=l&&l.nodeName&&l.nodeName.toLowerCase();return a&&(a==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||a==="textarea"||l.contentEditable==="true")}var Ki=$a&&"documentMode"in document&&11>=document.documentMode,ot=null,eo=null,to=null,Hs=!1;function ii(l,a,u){var c=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Hs||ot==null||ot!==hu(c)||(c=ot,"selectionStart"in c&&Pc(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),to&&wa(to,c)||(to=c,c=jt(eo,"onSelect"),0<c.length&&(a=new As("onSelect","select",null,a,u),l.push({event:a,listeners:c}),a.target=ot)))}function Fa(l,a){var u={};return u[l.toLowerCase()]=a.toLowerCase(),u["Webkit"+l]="webkit"+a,u["Moz"+l]="moz"+a,u}var Pl={animationend:Fa("Animation","AnimationEnd"),animationiteration:Fa("Animation","AnimationIteration"),animationstart:Fa("Animation","AnimationStart"),transitionrun:Fa("Transition","TransitionRun"),transitionstart:Fa("Transition","TransitionStart"),transitioncancel:Fa("Transition","TransitionCancel"),transitionend:Fa("Transition","TransitionEnd")},lo={},ao={};$a&&(ao=document.createElement("div").style,"AnimationEvent"in window||(delete Pl.animationend.animation,delete Pl.animationiteration.animation,delete Pl.animationstart.animation),"TransitionEvent"in window||delete Pl.transitionend.transition);function It(l){if(lo[l])return lo[l];if(!Pl[l])return l;var a=Pl[l],u;for(u in a)if(a.hasOwnProperty(u)&&u in ao)return lo[l]=a[u];return l}var ea=It("animationend"),_r=It("animationiteration"),Rr=It("animationstart"),B0=It("transitionrun"),Mn=It("transitionstart"),zn=It("transitioncancel"),no=It("transitionend"),j0=new Map,Cr="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(" ");Cr.push("scrollEnd");function Ia(l,a){j0.set(l,a),Ca(a,[l])}var uo=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)},Yl=[],$i=0,Ur=0;function ws(){for(var l=$i,a=Ur=$i=0;a<l;){var u=Yl[a];Yl[a++]=null;var c=Yl[a];Yl[a++]=null;var f=Yl[a];Yl[a++]=null;var r=Yl[a];if(Yl[a++]=null,c!==null&&f!==null){var m=c.pending;m===null?f.next=f:(f.next=m.next,m.next=f),c.pending=f}r!==0&&ul(u,f,r)}}function Ns(l,a,u,c){Yl[$i++]=l,Yl[$i++]=a,Yl[$i++]=u,Yl[$i++]=c,Ur|=c,l.lanes|=c,l=l.alternate,l!==null&&(l.lanes|=c)}function Hr(l,a,u,c){return Ns(l,a,u,c),Wi(l)}function ci(l,a){return Ns(l,null,null,a),Wi(l)}function ul(l,a,u){l.lanes|=u;var c=l.alternate;c!==null&&(c.lanes|=u);for(var f=!1,r=l.return;r!==null;)r.childLanes|=u,c=r.alternate,c!==null&&(c.childLanes|=u),r.tag===22&&(l=r.stateNode,l===null||l._visibility&1||(f=!0)),l=r,r=r.return;return l.tag===3?(r=l.stateNode,f&&a!==null&&(f=31-Bl(u),l=r.hiddenUpdates,c=l[f],c===null?l[f]=[a]:c.push(a),a.lane=u|536870912),r):null}function Wi(l){if(50<Cf)throw Cf=0,tp=null,Error(E(185));for(var a=l.return;a!==null;)l=a,a=l.return;return l.tag===3?l.stateNode:null}var yu={};function Bs(l,a,u,c){this.tag=l,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ol(l,a,u,c){return new Bs(l,a,u,c)}function io(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Na(l,a){var u=l.alternate;return u===null?(u=Ol(l.tag,a,l.key,l.mode),u.elementType=l.elementType,u.type=l.type,u.stateNode=l.stateNode,u.alternate=l,l.alternate=u):(u.pendingProps=a,u.type=l.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=l.flags&65011712,u.childLanes=l.childLanes,u.lanes=l.lanes,u.child=l.child,u.memoizedProps=l.memoizedProps,u.memoizedState=l.memoizedState,u.updateQueue=l.updateQueue,a=l.dependencies,u.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},u.sibling=l.sibling,u.index=l.index,u.ref=l.ref,u.refCleanup=l.refCleanup,u}function om(l,a){l.flags&=65011714;var u=l.alternate;return u===null?(l.childLanes=0,l.lanes=a,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=u.childLanes,l.lanes=u.lanes,l.child=u.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=u.memoizedProps,l.memoizedState=u.memoizedState,l.updateQueue=u.updateQueue,l.type=u.type,a=u.dependencies,l.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),l}function js(l,a,u,c,f,r){var m=0;if(c=l,typeof l=="function")io(l)&&(m=1);else if(typeof l=="string")m=Yd(l,u,Re.current)?26:l==="html"||l==="head"||l==="body"?27:5;else e:switch(l){case Me:return l=Ol(31,u,a,f),l.elementType=Me,l.lanes=r,l;case qe:return gu(u.children,f,r,a);case re:m=8,f|=24;break;case De:return l=Ol(12,u,a,f|2),l.elementType=De,l.lanes=r,l;case Rt:return l=Ol(13,u,a,f),l.elementType=Rt,l.lanes=r,l;case de:return l=Ol(19,u,a,f),l.elementType=de,l.lanes=r,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case je:m=10;break e;case bt:m=9;break e;case St:m=11;break e;case Ae:m=14;break e;case I:m=16,c=null;break e}m=29,u=Error(E(130,l===null?"null":typeof l,"")),c=null}return a=Ol(m,u,a,f),a.elementType=l,a.type=c,a.lanes=r,a}function gu(l,a,u,c){return l=Ol(7,l,c,a),l.lanes=u,l}function qs(l,a,u){return l=Ol(6,l,null,a),l.lanes=u,l}function vu(l){var a=Ol(18,null,null,0);return a.stateNode=l,a}function Dn(l,a,u){return a=Ol(4,l.children!==null?l.children:[],l.key,a),a.lanes=u,a.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},a}var co=new WeakMap;function Vl(l,a){if(typeof l=="object"&&l!==null){var u=co.get(l);return u!==void 0?u:(a={value:l,source:a,stack:fr(a)},co.set(l,a),a)}return{value:l,source:a,stack:fr(a)}}var On=[],_n=0,Ys=null,Vs=0,ma=[],pa=0,Rn=null,Ba=1,gl="";function Pa(l,a){On[_n++]=Vs,On[_n++]=Ys,Ys=l,Vs=a}function sm(l,a,u){ma[pa++]=Ba,ma[pa++]=gl,ma[pa++]=Rn,Rn=l;var c=Ba;l=gl;var f=32-Bl(c)-1;c&=~(1<<f),u+=1;var r=32-Bl(a)+f;if(30<r){var m=f-f%5;r=(c&(1<<m)-1).toString(32),c>>=m,f-=m,Ba=1<<32-Bl(a)+f|u<<f|c,gl=r+l}else Ba=1<<r|u<<f|c,gl=l}function Cn(l){l.return!==null&&(Pa(l,1),sm(l,1,0))}function Gl(l){for(;l===Ys;)Ys=On[--_n],On[_n]=null,Vs=On[--_n],On[_n]=null;for(;l===Rn;)Rn=ma[--pa],ma[pa]=null,gl=ma[--pa],ma[pa]=null,Ba=ma[--pa],ma[pa]=null}function Gs(l,a){ma[pa++]=Ba,ma[pa++]=gl,ma[pa++]=Rn,Ba=a.id,gl=a.overflow,Rn=l}var Te=null,k=null,Ve=!1,en=null,at=!1,Ls=Error(E(519));function Un(l){var a=Error(E(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Fi(Vl(a,l)),Ls}function fm(l){var a=l.stateNode,u=l.type,c=l.memoizedProps;switch(a[Jt]=l,a[ml]=c,u){case"dialog":Le("cancel",a),Le("close",a);break;case"iframe":case"object":case"embed":Le("load",a);break;case"video":case"audio":for(u=0;u<Ai.length;u++)Le(Ai[u],a);break;case"source":Le("error",a);break;case"img":case"image":case"link":Le("error",a),Le("load",a);break;case"details":Le("toggle",a);break;case"input":Le("invalid",a),Xh(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":Le("invalid",a);break;case"textarea":Le("invalid",a),Zh(a,c.value,c.defaultValue,c.children)}u=c.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||a.textContent===""+u||c.suppressHydrationWarning===!0||Tc(a.textContent,u)?(c.popover!=null&&(Le("beforetoggle",a),Le("toggle",a)),c.onScroll!=null&&Le("scroll",a),c.onScrollEnd!=null&&Le("scrollend",a),c.onClick!=null&&(a.onclick=Tn),a=!0):a=!1,a||Un(l,!0)}function wr(l){for(Te=l.return;Te;)switch(Te.tag){case 5:case 31:case 13:at=!1;return;case 27:case 3:at=!0;return;default:Te=Te.return}}function oo(l){if(l!==Te)return!1;if(!Ve)return wr(l),Ve=!0,!1;var a=l.tag,u;if((u=a!==3&&a!==27)&&((u=a===5)&&(u=l.type,u=!(u!=="form"&&u!=="button")||kl(l.type,l.memoizedProps)),u=!u),u&&k&&Un(l),wr(l),a===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(E(317));k=pp(l)}else if(a===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(E(317));k=pp(l)}else a===27?(a=k,xi(l.type)?(l=Bd,Bd=null,k=l):k=a):k=Te?ba(l.stateNode.nextSibling):null;return!0}function bu(){k=Te=null,Ve=!1}function Xs(){var l=en;return l!==null&&(ua===null?ua=l:ua.push.apply(ua,l),en=null),l}function Fi(l){en===null?en=[l]:en.push(l)}var _l=se(null),We=null,tn=null;function ja(l,a,u){xe(_l,a._currentValue),a._currentValue=u}function Rl(l){l._currentValue=_l.current,Se(_l)}function Su(l,a,u){for(;l!==null;){var c=l.alternate;if((l.childLanes&a)!==a?(l.childLanes|=a,c!==null&&(c.childLanes|=a)):c!==null&&(c.childLanes&a)!==a&&(c.childLanes|=a),l===u)break;l=l.return}}function ya(l,a,u,c){var f=l.child;for(f!==null&&(f.return=l);f!==null;){var r=f.dependencies;if(r!==null){var m=f.child;r=r.firstContext;e:for(;r!==null;){var p=r;r=f;for(var A=0;A<a.length;A++)if(p.context===a[A]){r.lanes|=u,p=r.alternate,p!==null&&(p.lanes|=u),Su(r.return,u,l),c||(m=null);break e}r=p.next}}else if(f.tag===18){if(m=f.return,m===null)throw Error(E(341));m.lanes|=u,r=m.alternate,r!==null&&(r.lanes|=u),Su(m,u,l),m=null}else m=f.child;if(m!==null)m.return=f;else for(m=f;m!==null;){if(m===l){m=null;break}if(f=m.sibling,f!==null){f.return=m.return,m=f;break}m=m.return}f=m}}function oi(l,a,u,c){l=null;for(var f=a,r=!1;f!==null;){if(!r){if((f.flags&524288)!==0)r=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var m=f.alternate;if(m===null)throw Error(E(387));if(m=m.memoizedProps,m!==null){var p=f.type;Dl(f.pendingProps.value,m.value)||(l!==null?l.push(p):l=[p])}}else if(f===cu.current){if(m=f.alternate,m===null)throw Error(E(387));m.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(l!==null?l.push(zc):l=[zc])}f=f.return}l!==null&&ya(a,l,u,c),a.flags|=262144}function Tu(l){for(l=l.firstContext;l!==null;){if(!Dl(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function Eu(l){We=l,tn=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function Lt(l){return Qs(We,l)}function so(l,a){return We===null&&Eu(l),Qs(l,a)}function Qs(l,a){var u=a._currentValue;if(a={context:a,memoizedValue:u,next:null},tn===null){if(l===null)throw Error(E(308));tn=a,l.dependencies={lanes:0,firstContext:a},l.flags|=524288}else tn=tn.next=a;return u}var q0=typeof AbortController<"u"?AbortController:function(){var l=[],a=this.signal={aborted:!1,addEventListener:function(u,c){l.push(c)}};this.abort=function(){a.aborted=!0,l.forEach(function(u){return u()})}},Y0=v.unstable_scheduleCallback,V0=v.unstable_NormalPriority,Xt={$$typeof:je,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Nr(){return{controller:new q0,data:new Map,refCount:0}}function Ii(l){l.refCount--,l.refCount===0&&Y0(V0,function(){l.controller.abort()})}var Pi=null,Zs=0,ec=0,tc=null;function G0(l,a){if(Pi===null){var u=Pi=[];Zs=0,ec=wf(),tc={status:"pending",value:void 0,then:function(c){u.push(c)}}}return Zs++,a.then(L0,L0),a}function L0(){if(--Zs===0&&Pi!==null){tc!==null&&(tc.status="fulfilled");var l=Pi;Pi=null,ec=0,tc=null;for(var a=0;a<l.length;a++)(0,l[a])()}}function X0(l,a){var u=[],c={status:"pending",value:null,reason:null,then:function(f){u.push(f)}};return l.then(function(){c.status="fulfilled",c.value=a;for(var f=0;f<u.length;f++)(0,u[f])(a)},function(f){for(c.status="rejected",c.reason=f,f=0;f<u.length;f++)(0,u[f])(void 0)}),c}var rm=z.S;z.S=function(l,a){typeof a=="object"&&a!==null&&typeof a.then=="function"&&G0(l,a),rm!==null&&rm(l,a)};var si=se(null);function Js(){var l=si.current;return l!==null?l:yt.pooledCache}function ks(l,a){a===null?xe(si,si.current):xe(si,a.pool)}function dm(){var l=Js();return l===null?null:{parent:Xt._currentValue,pool:l}}var Hn=Error(E(460)),fo=Error(E(474)),Ks=Error(E(542)),Br={then:function(){}};function $s(l){return l=l.status,l==="fulfilled"||l==="rejected"}function lc(l,a,u){switch(u=l[u],u===void 0?l.push(a):u!==a&&(a.then(Tn,Tn),a=u),a.status){case"fulfilled":return a.value;case"rejected":throw l=a.reason,Ll(l),l;default:if(typeof a.status=="string")a.then(Tn,Tn);else{if(l=yt,l!==null&&100<l.shellSuspendCounter)throw Error(E(482));l=a,l.status="pending",l.then(function(c){if(a.status==="pending"){var f=a;f.status="fulfilled",f.value=c}},function(c){if(a.status==="pending"){var f=a;f.status="rejected",f.reason=c}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw l=a.reason,Ll(l),l}throw fi=a,Hn}}var fi=null;function ri(){if(fi===null)throw Error(E(459));var l=fi;return fi=null,l}function Ll(l){if(l===Hn||l===Ks)throw Error(E(483))}var Au=null,ac=0;function Ws(l){var a=ac;return ac+=1,Au===null&&(Au=[]),lc(Au,l,a)}function nc(l,a){a=a.props.ref,l.ref=a!==void 0?a:null}function uc(l,a){throw a.$$typeof===te?Error(E(525)):(l=Object.prototype.toString.call(a),Error(E(31,l==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":l)))}function jr(l){var a=l._init;return a(l._payload)}function Fs(l){function a(D,M){if(l){var _=D.deletions;_===null?(D.deletions=[M],D.flags|=16):_.push(M)}}function u(D,M){if(!l)return null;for(;M!==null;)a(D,M),M=M.sibling;return null}function c(D){for(var M=new Map;D!==null;)D.key!==null?M.set(D.key,D):M.set(D.index,D),D=D.sibling;return M}function f(D,M){return D=Na(D,M),D.index=0,D.sibling=null,D}function r(D,M,_){return D.index=_,l?(_=D.alternate,_!==null?(_=_.index,_<M?(D.flags|=67108866,M):_):(D.flags|=67108866,M)):(D.flags|=1048576,M)}function m(D){return l&&D.alternate===null&&(D.flags|=67108866),D}function p(D,M,_,X){return M===null||M.tag!==6?(M=qs(_,D.mode,X),M.return=D,M):(M=f(M,_),M.return=D,M)}function A(D,M,_,X){var me=_.type;return me===qe?Z(D,M,_.props.children,X,_.key):M!==null&&(M.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===I&&jr(me)===M.type)?(M=f(M,_.props),nc(M,_),M.return=D,M):(M=js(_.type,_.key,_.props,null,D.mode,X),nc(M,_),M.return=D,M)}function U(D,M,_,X){return M===null||M.tag!==4||M.stateNode.containerInfo!==_.containerInfo||M.stateNode.implementation!==_.implementation?(M=Dn(_,D.mode,X),M.return=D,M):(M=f(M,_.children||[]),M.return=D,M)}function Z(D,M,_,X,me){return M===null||M.tag!==7?(M=gu(_,D.mode,X,me),M.return=D,M):(M=f(M,_),M.return=D,M)}function F(D,M,_){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=qs(""+M,D.mode,_),M.return=D,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case oe:return _=js(M.type,M.key,M.props,null,D.mode,_),nc(_,M),_.return=D,_;case ze:return M=Dn(M,D.mode,_),M.return=D,M;case I:var X=M._init;return M=X(M._payload),F(D,M,_)}if(qt(M)||Ue(M))return M=gu(M,D.mode,_,null),M.return=D,M;if(typeof M.then=="function")return F(D,Ws(M),_);if(M.$$typeof===je)return F(D,so(D,M),_);uc(D,M)}return null}function H(D,M,_,X){var me=M!==null?M.key:null;if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return me!==null?null:p(D,M,""+_,X);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case oe:return _.key===me?A(D,M,_,X):null;case ze:return _.key===me?U(D,M,_,X):null;case I:return me=_._init,_=me(_._payload),H(D,M,_,X)}if(qt(_)||Ue(_))return me!==null?null:Z(D,M,_,X,null);if(typeof _.then=="function")return H(D,M,Ws(_),X);if(_.$$typeof===je)return H(D,M,so(D,_),X);uc(D,_)}return null}function N(D,M,_,X,me){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return D=D.get(_)||null,p(M,D,""+X,me);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case oe:return D=D.get(X.key===null?_:X.key)||null,A(M,D,X,me);case ze:return D=D.get(X.key===null?_:X.key)||null,U(M,D,X,me);case I:var Je=X._init;return X=Je(X._payload),N(D,M,_,X,me)}if(qt(X)||Ue(X))return D=D.get(_)||null,Z(M,D,X,me,null);if(typeof X.then=="function")return N(D,M,_,Ws(X),me);if(X.$$typeof===je)return N(D,M,_,so(M,X),me);uc(M,X)}return null}function fe(D,M,_,X){for(var me=null,Je=null,ie=M,Ne=M=0,Qe=null;ie!==null&&Ne<_.length;Ne++){ie.index>Ne?(Qe=ie,ie=null):Qe=ie.sibling;var nt=H(D,ie,_[Ne],X);if(nt===null){ie===null&&(ie=Qe);break}l&&ie&&nt.alternate===null&&a(D,ie),M=r(nt,M,Ne),Je===null?me=nt:Je.sibling=nt,Je=nt,ie=Qe}if(Ne===_.length)return u(D,ie),Ve&&Pa(D,Ne),me;if(ie===null){for(;Ne<_.length;Ne++)ie=F(D,_[Ne],X),ie!==null&&(M=r(ie,M,Ne),Je===null?me=ie:Je.sibling=ie,Je=ie);return Ve&&Pa(D,Ne),me}for(ie=c(ie);Ne<_.length;Ne++)Qe=N(ie,D,Ne,_[Ne],X),Qe!==null&&(l&&Qe.alternate!==null&&ie.delete(Qe.key===null?Ne:Qe.key),M=r(Qe,M,Ne),Je===null?me=Qe:Je.sibling=Qe,Je=Qe);return l&&ie.forEach(function($n){return a(D,$n)}),Ve&&Pa(D,Ne),me}function ge(D,M,_,X){if(_==null)throw Error(E(151));for(var me=null,Je=null,ie=M,Ne=M=0,Qe=null,nt=_.next();ie!==null&&!nt.done;Ne++,nt=_.next()){ie.index>Ne?(Qe=ie,ie=null):Qe=ie.sibling;var $n=H(D,ie,nt.value,X);if($n===null){ie===null&&(ie=Qe);break}l&&ie&&$n.alternate===null&&a(D,ie),M=r($n,M,Ne),Je===null?me=$n:Je.sibling=$n,Je=$n,ie=Qe}if(nt.done)return u(D,ie),Ve&&Pa(D,Ne),me;if(ie===null){for(;!nt.done;Ne++,nt=_.next())nt=F(D,nt.value,X),nt!==null&&(M=r(nt,M,Ne),Je===null?me=nt:Je.sibling=nt,Je=nt);return Ve&&Pa(D,Ne),me}for(ie=c(ie);!nt.done;Ne++,nt=_.next())nt=N(ie,D,Ne,nt.value,X),nt!==null&&(l&&nt.alternate!==null&&ie.delete(nt.key===null?Ne:nt.key),M=r(nt,M,Ne),Je===null?me=nt:Je.sibling=nt,Je=nt);return l&&ie.forEach(function(Op){return a(D,Op)}),Ve&&Pa(D,Ne),me}function ft(D,M,_,X){if(typeof _=="object"&&_!==null&&_.type===qe&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case oe:e:{for(var me=_.key;M!==null;){if(M.key===me){if(me=_.type,me===qe){if(M.tag===7){u(D,M.sibling),X=f(M,_.props.children),X.return=D,D=X;break e}}else if(M.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===I&&jr(me)===M.type){u(D,M.sibling),X=f(M,_.props),nc(X,_),X.return=D,D=X;break e}u(D,M);break}else a(D,M);M=M.sibling}_.type===qe?(X=gu(_.props.children,D.mode,X,_.key),X.return=D,D=X):(X=js(_.type,_.key,_.props,null,D.mode,X),nc(X,_),X.return=D,D=X)}return m(D);case ze:e:{for(me=_.key;M!==null;){if(M.key===me)if(M.tag===4&&M.stateNode.containerInfo===_.containerInfo&&M.stateNode.implementation===_.implementation){u(D,M.sibling),X=f(M,_.children||[]),X.return=D,D=X;break e}else{u(D,M);break}else a(D,M);M=M.sibling}X=Dn(_,D.mode,X),X.return=D,D=X}return m(D);case I:return me=_._init,_=me(_._payload),ft(D,M,_,X)}if(qt(_))return fe(D,M,_,X);if(Ue(_)){if(me=Ue(_),typeof me!="function")throw Error(E(150));return _=me.call(_),ge(D,M,_,X)}if(typeof _.then=="function")return ft(D,M,Ws(_),X);if(_.$$typeof===je)return ft(D,M,so(D,_),X);uc(D,_)}return typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint"?(_=""+_,M!==null&&M.tag===6?(u(D,M.sibling),X=f(M,_),X.return=D,D=X):(u(D,M),X=qs(_,D.mode,X),X.return=D,D=X),m(D)):u(D,M)}return function(D,M,_,X){try{ac=0;var me=ft(D,M,_,X);return Au=null,me}catch(ie){if(ie===Hn||ie===Ks)throw ie;var Je=Ol(29,ie,null,D.mode);return Je.lanes=X,Je.return=D,Je}finally{}}}var xu=Fs(!0),Is=Fs(!1),wn=!1;function qr(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Yr(l,a){l=l.updateQueue,a.updateQueue===l&&(a.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function Nn(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function Mu(l,a,u){var c=l.updateQueue;if(c===null)return null;if(c=c.shared,(ut&2)!==0){var f=c.pending;return f===null?a.next=a:(a.next=f.next,f.next=a),c.pending=a,a=Wi(l),ul(l,null,u),a}return Ns(l,c,a,u),Wi(l)}function di(l,a,u){if(a=a.updateQueue,a!==null&&(a=a.shared,(u&4194048)!==0)){var c=a.lanes;c&=l.pendingLanes,u|=c,a.lanes=u,Ui(l,u)}}function Vr(l,a){var u=l.updateQueue,c=l.alternate;if(c!==null&&(c=c.updateQueue,u===c)){var f=null,r=null;if(u=u.firstBaseUpdate,u!==null){do{var m={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};r===null?f=r=m:r=r.next=m,u=u.next}while(u!==null);r===null?f=r=a:r=r.next=a}else f=r=a;u={baseState:c.baseState,firstBaseUpdate:f,lastBaseUpdate:r,shared:c.shared,callbacks:c.callbacks},l.updateQueue=u;return}l=u.lastBaseUpdate,l===null?u.firstBaseUpdate=a:l.next=a,u.lastBaseUpdate=a}var Ps=!1;function ro(){if(Ps){var l=tc;if(l!==null)throw l}}function ho(l,a,u,c){Ps=!1;var f=l.updateQueue;wn=!1;var r=f.firstBaseUpdate,m=f.lastBaseUpdate,p=f.shared.pending;if(p!==null){f.shared.pending=null;var A=p,U=A.next;A.next=null,m===null?r=U:m.next=U,m=A;var Z=l.alternate;Z!==null&&(Z=Z.updateQueue,p=Z.lastBaseUpdate,p!==m&&(p===null?Z.firstBaseUpdate=U:p.next=U,Z.lastBaseUpdate=A))}if(r!==null){var F=f.baseState;m=0,Z=U=A=null,p=r;do{var H=p.lane&-536870913,N=H!==p.lane;if(N?(Ie&H)===H:(c&H)===H){H!==0&&H===ec&&(Ps=!0),Z!==null&&(Z=Z.next={lane:0,tag:p.tag,payload:p.payload,callback:null,next:null});e:{var fe=l,ge=p;H=a;var ft=u;switch(ge.tag){case 1:if(fe=ge.payload,typeof fe=="function"){F=fe.call(ft,F,H);break e}F=fe;break e;case 3:fe.flags=fe.flags&-65537|128;case 0:if(fe=ge.payload,H=typeof fe=="function"?fe.call(ft,F,H):fe,H==null)break e;F=W({},F,H);break e;case 2:wn=!0}}H=p.callback,H!==null&&(l.flags|=64,N&&(l.flags|=8192),N=f.callbacks,N===null?f.callbacks=[H]:N.push(H))}else N={lane:H,tag:p.tag,payload:p.payload,callback:p.callback,next:null},Z===null?(U=Z=N,A=F):Z=Z.next=N,m|=H;if(p=p.next,p===null){if(p=f.shared.pending,p===null)break;N=p,p=N.next,N.next=null,f.lastBaseUpdate=N,f.shared.pending=null}}while(!0);Z===null&&(A=F),f.baseState=A,f.firstBaseUpdate=U,f.lastBaseUpdate=Z,r===null&&(f.shared.lanes=0),Uu|=m,l.lanes=m,l.memoizedState=F}}function Gr(l,a){if(typeof l!="function")throw Error(E(191,l));l.call(a)}function hm(l,a){var u=l.callbacks;if(u!==null)for(l.callbacks=null,l=0;l<u.length;l++)Gr(u[l],a)}var ic=se(null),Bn=se(0);function Lr(l,a){l=Xa,xe(Bn,l),xe(ic,a),Xa=l|a.baseLanes}function ef(){xe(Bn,Xa),xe(ic,ic.current)}function mm(){Xa=Bn.current,Se(ic),Se(Bn)}var ga=se(null),va=null;function qa(l){var a=l.alternate;xe(Nt,Nt.current&1),xe(ga,l),va===null&&(a===null||ic.current!==null||a.memoizedState!==null)&&(va=l)}function tf(l){xe(Nt,Nt.current),xe(ga,l),va===null&&(va=l)}function lf(l){l.tag===22?(xe(Nt,Nt.current),xe(ga,l),va===null&&(va=l)):zu()}function zu(){xe(Nt,Nt.current),xe(ga,ga.current)}function ta(l){Se(ga),va===l&&(va=null),Se(Nt)}var Nt=se(0);function mo(l){for(var a=l;a!==null;){if(a.tag===13){var u=a.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||jo(u)||Ac(u)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===l)break;for(;a.sibling===null;){if(a.return===null||a.return===l)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var jn=0,Ge=null,et=null,Qt=null,af=!1,cc=!1,qn=!1,nf=0,oc=0,hi=null,pm=0;function Zt(){throw Error(E(321))}function Pt(l,a){if(a===null)return!1;for(var u=0;u<a.length&&u<l.length;u++)if(!Dl(l[u],a[u]))return!1;return!0}function Xr(l,a,u,c,f,r){return jn=r,Ge=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,z.H=l===null||l.memoizedState===null?Rm:Xl,qn=!1,r=u(c,f),qn=!1,cc&&(r=gm(a,u,c,f)),ym(l),r}function ym(l){z.H=bl;var a=et!==null&&et.next!==null;if(jn=0,Qt=et=Ge=null,af=!1,oc=0,hi=null,a)throw Error(E(300));l===null||Ut||(l=l.dependencies,l!==null&&Tu(l)&&(Ut=!0))}function gm(l,a,u,c){Ge=l;var f=0;do{if(cc&&(hi=null),oc=0,cc=!1,25<=f)throw Error(E(301));if(f+=1,Qt=et=null,l.updateQueue!=null){var r=l.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}z.H=ly,r=a(u,c)}while(cc);return r}function Q0(){var l=z.H,a=l.useState()[0];return a=typeof a.then=="function"?yo(a):a,l=l.useState()[0],(et!==null?et.memoizedState:null)!==l&&(Ge.flags|=1024),a}function Qr(){var l=nf!==0;return nf=0,l}function po(l,a,u){a.updateQueue=l.updateQueue,a.flags&=-2053,l.lanes&=~u}function Zr(l){if(af){for(l=l.memoizedState;l!==null;){var a=l.queue;a!==null&&(a.pending=null),l=l.next}af=!1}jn=0,Qt=et=Ge=null,cc=!1,oc=nf=0,hi=null}function vl(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Qt===null?Ge.memoizedState=Qt=l:Qt=Qt.next=l,Qt}function Vt(){if(et===null){var l=Ge.alternate;l=l!==null?l.memoizedState:null}else l=et.next;var a=Qt===null?Ge.memoizedState:Qt.next;if(a!==null)Qt=a,et=l;else{if(l===null)throw Ge.alternate===null?Error(E(467)):Error(E(310));et=l,l={memoizedState:et.memoizedState,baseState:et.baseState,baseQueue:et.baseQueue,queue:et.queue,next:null},Qt===null?Ge.memoizedState=Qt=l:Qt=Qt.next=l}return Qt}function Jr(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function yo(l){var a=oc;return oc+=1,hi===null&&(hi=[]),l=lc(hi,l,a),a=Ge,(Qt===null?a.memoizedState:Qt.next)===null&&(a=a.alternate,z.H=a===null||a.memoizedState===null?Rm:Xl),l}function uf(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return yo(l);if(l.$$typeof===je)return Lt(l)}throw Error(E(438,String(l)))}function cf(l){var a=null,u=Ge.updateQueue;if(u!==null&&(a=u.memoCache),a==null){var c=Ge.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(a={data:c.data.map(function(f){return f.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),u===null&&(u=Jr(),Ge.updateQueue=u),u.memoCache=a,u=a.data[a.index],u===void 0)for(u=a.data[a.index]=Array(l),c=0;c<l;c++)u[c]=ee;return a.index++,u}function ln(l,a){return typeof a=="function"?a(l):a}function go(l){var a=Vt();return kr(a,et,l)}function kr(l,a,u){var c=l.queue;if(c===null)throw Error(E(311));c.lastRenderedReducer=u;var f=l.baseQueue,r=c.pending;if(r!==null){if(f!==null){var m=f.next;f.next=r.next,r.next=m}a.baseQueue=f=r,c.pending=null}if(r=l.baseState,f===null)l.memoizedState=r;else{a=f.next;var p=m=null,A=null,U=a,Z=!1;do{var F=U.lane&-536870913;if(F!==U.lane?(Ie&F)===F:(jn&F)===F){var H=U.revertLane;if(H===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),F===ec&&(Z=!0);else if((jn&H)===H){U=U.next,H===ec&&(Z=!0);continue}else F={lane:0,revertLane:U.revertLane,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},A===null?(p=A=F,m=r):A=A.next=F,Ge.lanes|=H,Uu|=H;F=U.action,qn&&u(r,F),r=U.hasEagerState?U.eagerState:u(r,F)}else H={lane:F,revertLane:U.revertLane,gesture:U.gesture,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},A===null?(p=A=H,m=r):A=A.next=H,Ge.lanes|=F,Uu|=F;U=U.next}while(U!==null&&U!==a);if(A===null?m=r:A.next=p,!Dl(r,l.memoizedState)&&(Ut=!0,Z&&(u=tc,u!==null)))throw u;l.memoizedState=r,l.baseState=m,l.baseQueue=A,c.lastRenderedState=r}return f===null&&(c.lanes=0),[l.memoizedState,c.dispatch]}function of(l){var a=Vt(),u=a.queue;if(u===null)throw Error(E(311));u.lastRenderedReducer=l;var c=u.dispatch,f=u.pending,r=a.memoizedState;if(f!==null){u.pending=null;var m=f=f.next;do r=l(r,m.action),m=m.next;while(m!==f);Dl(r,a.memoizedState)||(Ut=!0),a.memoizedState=r,a.baseQueue===null&&(a.baseState=r),u.lastRenderedState=r}return[r,c]}function sf(l,a,u){var c=Ge,f=Vt(),r=Ve;if(r){if(u===void 0)throw Error(E(407));u=u()}else u=a();var m=!Dl((et||f).memoizedState,u);if(m&&(f.memoizedState=u,Ut=!0),f=f.queue,Ir($r.bind(null,c,f,l),[l]),f.getSnapshot!==a||m||Qt!==null&&Qt.memoizedState.tag&1){if(c.flags|=2048,mi(9,{destroy:void 0},vm.bind(null,c,f,u,a),null),yt===null)throw Error(E(349));r||(jn&124)!==0||Kr(c,a,u)}return u}function Kr(l,a,u){l.flags|=16384,l={getSnapshot:a,value:u},a=Ge.updateQueue,a===null?(a=Jr(),Ge.updateQueue=a,a.stores=[l]):(u=a.stores,u===null?a.stores=[l]:u.push(l))}function vm(l,a,u,c){a.value=u,a.getSnapshot=c,bm(a)&&Yn(l)}function $r(l,a,u){return u(function(){bm(a)&&Yn(l)})}function bm(l){var a=l.getSnapshot;l=l.value;try{var u=a();return!Dl(l,u)}catch{return!0}}function Yn(l){var a=ci(l,2);a!==null&&ia(a,l,2)}function ff(l){var a=vl();if(typeof l=="function"){var u=l;if(l=u(),qn){ou(!0);try{u()}finally{ou(!1)}}}return a.memoizedState=a.baseState=l,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ln,lastRenderedState:l},a}function Z0(l,a,u,c){return l.baseState=u,kr(l,et,typeof c=="function"?c:ln)}function Sm(l,a,u,c,f){if(mf(l))throw Error(E(485));if(l=a.action,l!==null){var r={payload:f,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){r.listeners.push(m)}};z.T!==null?u(!0):r.isTransition=!1,c(r),u=a.pending,u===null?(r.next=a.pending=r,Vn(a,r)):(r.next=u.next,a.pending=u.next=r)}}function Vn(l,a){var u=a.action,c=a.payload,f=l.state;if(a.isTransition){var r=z.T,m={};z.T=m;try{var p=u(f,c),A=z.S;A!==null&&A(m,p),Wr(l,a,p)}catch(U){vo(l,a,U)}finally{r!==null&&m.types!==null&&(r.types=m.types),z.T=r}}else try{r=u(f,c),Wr(l,a,r)}catch(U){vo(l,a,U)}}function Wr(l,a,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(c){Tm(l,a,c)},function(c){return vo(l,a,c)}):Tm(l,a,u)}function Tm(l,a,u){a.status="fulfilled",a.value=u,bo(a),l.state=u,a=l.pending,a!==null&&(u=a.next,u===a?l.pending=null:(u=u.next,a.next=u,Vn(l,u)))}function vo(l,a,u){var c=l.pending;if(l.pending=null,c!==null){c=c.next;do a.status="rejected",a.reason=u,bo(a),a=a.next;while(a!==c)}l.action=null}function bo(l){l=l.listeners;for(var a=0;a<l.length;a++)(0,l[a])()}function pt(l,a){return a}function J0(l,a){if(Ve){var u=yt.formState;if(u!==null){e:{var c=Ge;if(Ve){if(k){t:{for(var f=k,r=at;f.nodeType!==8;){if(!r){f=null;break t}if(f=ba(f.nextSibling),f===null){f=null;break t}}r=f.data,f=r==="F!"||r==="F"?f:null}if(f){k=ba(f.nextSibling),c=f.data==="F!";break e}}Un(c)}c=!1}c&&(a=u[0])}}return u=vl(),u.memoizedState=u.baseState=a,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pt,lastRenderedState:a},u.queue=c,u=Ln.bind(null,Ge,c),c.dispatch=u,c=ff(!1),r=td.bind(null,Ge,!1,c.queue),c=vl(),f={state:a,dispatch:null,action:l,pending:null},c.queue=f,u=Sm.bind(null,Ge,f,r,u),f.dispatch=u,c.memoizedState=l,[a,u,!1]}function k0(l){var a=Vt();return Em(a,et,l)}function Em(l,a,u){if(a=kr(l,a,pt)[0],l=go(ln)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var c=yo(a)}catch(m){throw m===Hn?Ks:m}else c=a;a=Vt();var f=a.queue,r=f.dispatch;return u!==a.memoizedState&&(Ge.flags|=2048,mi(9,{destroy:void 0},Gn.bind(null,f,u),null)),[c,r,l]}function Gn(l,a){l.action=a}function Am(l){var a=Vt(),u=et;if(u!==null)return Em(a,u,l);Vt(),a=a.memoizedState,u=Vt();var c=u.queue.dispatch;return u.memoizedState=l,[a,c,!1]}function mi(l,a,u,c){return l={tag:l,create:u,deps:c,inst:a,next:null},a=Ge.updateQueue,a===null&&(a=Jr(),Ge.updateQueue=a),u=a.lastEffect,u===null?a.lastEffect=l.next=l:(c=u.next,u.next=l,l.next=c,a.lastEffect=l),l}function So(){return Vt().memoizedState}function Du(l,a,u,c){var f=vl();Ge.flags|=l,f.memoizedState=mi(1|a,{destroy:void 0},u,c===void 0?null:c)}function rf(l,a,u,c){var f=Vt();c=c===void 0?null:c;var r=f.memoizedState.inst;et!==null&&c!==null&&Pt(c,et.memoizedState.deps)?f.memoizedState=mi(a,r,u,c):(Ge.flags|=l,f.memoizedState=mi(1|a,r,u,c))}function Fr(l,a){Du(8390656,8,l,a)}function Ir(l,a){rf(2048,8,l,a)}function K0(l,a){return rf(4,2,l,a)}function $0(l,a){return rf(4,4,l,a)}function xm(l,a){if(typeof a=="function"){l=l();var u=a(l);return function(){typeof u=="function"?u():a(null)}}if(a!=null)return l=l(),a.current=l,function(){a.current=null}}function W0(l,a,u){u=u!=null?u.concat([l]):null,rf(4,4,xm.bind(null,a,l),u)}function sc(){}function an(l,a){var u=Vt();a=a===void 0?null:a;var c=u.memoizedState;return a!==null&&Pt(a,c[1])?c[0]:(u.memoizedState=[l,a],l)}function Mm(l,a){var u=Vt();a=a===void 0?null:a;var c=u.memoizedState;if(a!==null&&Pt(a,c[1]))return c[0];if(c=l(),qn){ou(!0);try{l()}finally{ou(!1)}}return u.memoizedState=[c,a],c}function zm(l,a,u){return u===void 0||(jn&1073741824)!==0?l.memoizedState=a:(l.memoizedState=u,l=gy(),Ge.lanes|=l,Uu|=l,u)}function Dm(l,a,u,c){return Dl(u,a)?u:ic.current!==null?(l=zm(l,u,c),Dl(l,a)||(Ut=!0),l):(jn&42)===0||(jn&1073741824)!==0?(Ut=!0,l.memoizedState=u):(l=gy(),Ge.lanes|=l,Uu|=l,a)}function Pr(l,a,u,c,f){var r=J.p;J.p=r!==0&&8>r?r:8;var m=z.T,p={};z.T=p,td(l,!1,a,u);try{var A=f(),U=z.S;if(U!==null&&U(p,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var Z=X0(A,c);To(l,a,Z,Jl(l))}else To(l,a,c,Jl(l))}catch(F){To(l,a,{then:function(){},status:"rejected",reason:F},Jl())}finally{J.p=r,m!==null&&p.types!==null&&(m.types=p.types),z.T=m}}function F0(){}function df(l,a,u,c){if(l.tag!==5)throw Error(E(476));var f=ed(l).queue;Pr(l,f,a,P,u===null?F0:function(){return hf(l),u(c)})}function ed(l){var a=l.memoizedState;if(a!==null)return a;a={memoizedState:P,baseState:P,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ln,lastRenderedState:P},next:null};var u={};return a.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ln,lastRenderedState:u},next:null},l.memoizedState=a,l=l.alternate,l!==null&&(l.memoizedState=a),a}function hf(l){var a=ed(l);a.next===null&&(a=l.alternate.memoizedState),To(l,a.next.queue,{},Jl())}function Om(){return Lt(zc)}function _m(){return Vt().memoizedState}function I0(){return Vt().memoizedState}function P0(l){for(var a=l.return;a!==null;){switch(a.tag){case 24:case 3:var u=Jl();l=Nn(u);var c=Mu(a,l,u);c!==null&&(ia(c,a,u),di(c,a,u)),a={cache:Nr()},l.payload=a;return}a=a.return}}function ey(l,a,u){var c=Jl();u={lane:c,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},mf(l)?ty(a,u):(u=Hr(l,a,u,c),u!==null&&(ia(u,l,c),pf(u,a,c)))}function Ln(l,a,u){var c=Jl();To(l,a,u,c)}function To(l,a,u,c){var f={lane:c,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(mf(l))ty(a,f);else{var r=l.alternate;if(l.lanes===0&&(r===null||r.lanes===0)&&(r=a.lastRenderedReducer,r!==null))try{var m=a.lastRenderedState,p=r(m,u);if(f.hasEagerState=!0,f.eagerState=p,Dl(p,m))return Ns(l,a,f,0),yt===null&&ws(),!1}catch{}finally{}if(u=Hr(l,a,f,c),u!==null)return ia(u,l,c),pf(u,a,c),!0}return!1}function td(l,a,u,c){if(c={lane:2,revertLane:wf(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},mf(l)){if(a)throw Error(E(479))}else a=Hr(l,u,c,2),a!==null&&ia(a,l,2)}function mf(l){var a=l.alternate;return l===Ge||a!==null&&a===Ge}function ty(l,a){cc=af=!0;var u=l.pending;u===null?a.next=a:(a.next=u.next,u.next=a),l.pending=a}function pf(l,a,u){if((u&4194048)!==0){var c=a.lanes;c&=l.pendingLanes,u|=c,a.lanes=u,Ui(l,u)}}var bl={readContext:Lt,use:uf,useCallback:Zt,useContext:Zt,useEffect:Zt,useImperativeHandle:Zt,useLayoutEffect:Zt,useInsertionEffect:Zt,useMemo:Zt,useReducer:Zt,useRef:Zt,useState:Zt,useDebugValue:Zt,useDeferredValue:Zt,useTransition:Zt,useSyncExternalStore:Zt,useId:Zt,useHostTransitionStatus:Zt,useFormState:Zt,useActionState:Zt,useOptimistic:Zt,useMemoCache:Zt,useCacheRefresh:Zt},Rm={readContext:Lt,use:uf,useCallback:function(l,a){return vl().memoizedState=[l,a===void 0?null:a],l},useContext:Lt,useEffect:Fr,useImperativeHandle:function(l,a,u){u=u!=null?u.concat([l]):null,Du(4194308,4,xm.bind(null,a,l),u)},useLayoutEffect:function(l,a){return Du(4194308,4,l,a)},useInsertionEffect:function(l,a){Du(4,2,l,a)},useMemo:function(l,a){var u=vl();a=a===void 0?null:a;var c=l();if(qn){ou(!0);try{l()}finally{ou(!1)}}return u.memoizedState=[c,a],c},useReducer:function(l,a,u){var c=vl();if(u!==void 0){var f=u(a);if(qn){ou(!0);try{u(a)}finally{ou(!1)}}}else f=a;return c.memoizedState=c.baseState=f,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:f},c.queue=l,l=l.dispatch=ey.bind(null,Ge,l),[c.memoizedState,l]},useRef:function(l){var a=vl();return l={current:l},a.memoizedState=l},useState:function(l){l=ff(l);var a=l.queue,u=Ln.bind(null,Ge,a);return a.dispatch=u,[l.memoizedState,u]},useDebugValue:sc,useDeferredValue:function(l,a){var u=vl();return zm(u,l,a)},useTransition:function(){var l=ff(!1);return l=Pr.bind(null,Ge,l.queue,!0,!1),vl().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,a,u){var c=Ge,f=vl();if(Ve){if(u===void 0)throw Error(E(407));u=u()}else{if(u=a(),yt===null)throw Error(E(349));(Ie&124)!==0||Kr(c,a,u)}f.memoizedState=u;var r={value:u,getSnapshot:a};return f.queue=r,Fr($r.bind(null,c,r,l),[l]),c.flags|=2048,mi(9,{destroy:void 0},vm.bind(null,c,r,u,a),null),u},useId:function(){var l=vl(),a=yt.identifierPrefix;if(Ve){var u=gl,c=Ba;u=(c&~(1<<32-Bl(c)-1)).toString(32)+u,a="_"+a+"R_"+u,u=nf++,0<u&&(a+="H"+u.toString(32)),a+="_"}else u=pm++,a="_"+a+"r_"+u.toString(32)+"_";return l.memoizedState=a},useHostTransitionStatus:Om,useFormState:J0,useActionState:J0,useOptimistic:function(l){var a=vl();a.memoizedState=a.baseState=l;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=u,a=td.bind(null,Ge,!0,u),u.dispatch=a,[l,a]},useMemoCache:cf,useCacheRefresh:function(){return vl().memoizedState=P0.bind(null,Ge)}},Xl={readContext:Lt,use:uf,useCallback:an,useContext:Lt,useEffect:Ir,useImperativeHandle:W0,useInsertionEffect:K0,useLayoutEffect:$0,useMemo:Mm,useReducer:go,useRef:So,useState:function(){return go(ln)},useDebugValue:sc,useDeferredValue:function(l,a){var u=Vt();return Dm(u,et.memoizedState,l,a)},useTransition:function(){var l=go(ln)[0],a=Vt().memoizedState;return[typeof l=="boolean"?l:yo(l),a]},useSyncExternalStore:sf,useId:_m,useHostTransitionStatus:Om,useFormState:k0,useActionState:k0,useOptimistic:function(l,a){var u=Vt();return Z0(u,et,l,a)},useMemoCache:cf,useCacheRefresh:I0},ly={readContext:Lt,use:uf,useCallback:an,useContext:Lt,useEffect:Ir,useImperativeHandle:W0,useInsertionEffect:K0,useLayoutEffect:$0,useMemo:Mm,useReducer:of,useRef:So,useState:function(){return of(ln)},useDebugValue:sc,useDeferredValue:function(l,a){var u=Vt();return et===null?zm(u,l,a):Dm(u,et.memoizedState,l,a)},useTransition:function(){var l=of(ln)[0],a=Vt().memoizedState;return[typeof l=="boolean"?l:yo(l),a]},useSyncExternalStore:sf,useId:_m,useHostTransitionStatus:Om,useFormState:Am,useActionState:Am,useOptimistic:function(l,a){var u=Vt();return et!==null?Z0(u,et,l,a):(u.baseState=l,[l,u.queue.dispatch])},useMemoCache:cf,useCacheRefresh:I0};function Ya(l,a,u,c){a=l.memoizedState,u=u(c,a),u=u==null?a:W({},a,u),l.memoizedState=u,l.lanes===0&&(l.updateQueue.baseState=u)}var ld={enqueueSetState:function(l,a,u){l=l._reactInternals;var c=Jl(),f=Nn(c);f.payload=a,u!=null&&(f.callback=u),a=Mu(l,f,c),a!==null&&(ia(a,l,c),di(a,l,c))},enqueueReplaceState:function(l,a,u){l=l._reactInternals;var c=Jl(),f=Nn(c);f.tag=1,f.payload=a,u!=null&&(f.callback=u),a=Mu(l,f,c),a!==null&&(ia(a,l,c),di(a,l,c))},enqueueForceUpdate:function(l,a){l=l._reactInternals;var u=Jl(),c=Nn(u);c.tag=2,a!=null&&(c.callback=a),a=Mu(l,c,u),a!==null&&(ia(a,l,u),di(a,l,u))}};function pi(l,a,u,c,f,r,m){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(c,r,m):a.prototype&&a.prototype.isPureReactComponent?!wa(u,c)||!wa(f,r):!0}function Cm(l,a,u,c){l=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(u,c),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(u,c),a.state!==l&&ld.enqueueReplaceState(a,a.state,null)}function Cl(l,a){var u=a;if("ref"in a){u={};for(var c in a)c!=="ref"&&(u[c]=a[c])}if(l=l.defaultProps){u===a&&(u=W({},u));for(var f in l)u[f]===void 0&&(u[f]=l[f])}return u}function ad(l){uo(l)}function nd(l){console.error(l)}function Va(l){uo(l)}function yf(l,a){try{var u=l.onUncaughtError;u(a.value,{componentStack:a.stack})}catch(c){setTimeout(function(){throw c})}}function fc(l,a,u){try{var c=l.onCaughtError;c(u.value,{componentStack:u.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function ud(l,a,u){return u=Nn(u),u.tag=3,u.payload={element:null},u.callback=function(){yf(l,a)},u}function Eo(l){return l=Nn(l),l.tag=3,l}function rc(l,a,u,c){var f=u.type.getDerivedStateFromError;if(typeof f=="function"){var r=c.value;l.payload=function(){return f(r)},l.callback=function(){fc(a,u,c)}}var m=u.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(l.callback=function(){fc(a,u,c),typeof f!="function"&&(Ti===null?Ti=new Set([this]):Ti.add(this));var p=c.stack;this.componentDidCatch(c.value,{componentStack:p!==null?p:""})})}function ay(l,a,u,c,f){if(u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(a=u.alternate,a!==null&&oi(a,u,f,!0),u=ga.current,u!==null){switch(u.tag){case 31:case 13:return va===null?bd():u.alternate===null&&Bt===0&&(Bt=3),u.flags&=-257,u.flags|=65536,u.lanes=f,c===Br?u.flags|=16384:(a=u.updateQueue,a===null?u.updateQueue=new Set([c]):a.add(c),xd(l,c,f)),!1;case 22:return u.flags|=65536,c===Br?u.flags|=16384:(a=u.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([c])},u.updateQueue=a):(u=a.retryQueue,u===null?a.retryQueue=new Set([c]):u.add(c)),xd(l,c,f)),!1}throw Error(E(435,u.tag))}return xd(l,c,f),bd(),!1}if(Ve)return a=ga.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=f,c!==Ls&&(l=Error(E(422),{cause:c}),Fi(Vl(l,u)))):(c!==Ls&&(a=Error(E(423),{cause:c}),Fi(Vl(a,u))),l=l.current.alternate,l.flags|=65536,f&=-f,l.lanes|=f,c=Vl(c,u),f=ud(l.stateNode,c,f),Vr(l,f),Bt!==4&&(Bt=2)),!1;var r=Error(E(520),{cause:c});if(r=Vl(r,u),_f===null?_f=[r]:_f.push(r),Bt!==4&&(Bt=2),a===null)return!0;c=Vl(c,u),u=a;do{switch(u.tag){case 3:return u.flags|=65536,l=f&-f,u.lanes|=l,l=ud(u.stateNode,c,l),Vr(u,l),!1;case 1:if(a=u.type,r=u.stateNode,(u.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(Ti===null||!Ti.has(r))))return u.flags|=65536,f&=-f,u.lanes|=f,f=Eo(f),rc(f,l,u,c),Vr(u,f),!1}u=u.return}while(u!==null);return!1}var id=Error(E(461)),Ut=!1;function il(l,a,u,c){a.child=l===null?Is(a,null,u,c):xu(a,l.child,u,c)}function gf(l,a,u,c,f){u=u.render;var r=a.ref;if("ref"in c){var m={};for(var p in c)p!=="ref"&&(m[p]=c[p])}else m=c;return Eu(a),c=Xr(l,a,u,m,r,f),p=Qr(),l!==null&&!Ut?(po(l,a,f),_u(l,a,f)):(Ve&&p&&Cn(a),a.flags|=1,il(l,a,c,f),a.child)}function Um(l,a,u,c,f){if(l===null){var r=u.type;return typeof r=="function"&&!io(r)&&r.defaultProps===void 0&&u.compare===null?(a.tag=15,a.type=r,Hm(l,a,r,c,f)):(l=js(u.type,null,c,a,a.mode,f),l.ref=a.ref,l.return=a,a.child=l)}if(r=l.child,!Ym(l,f)){var m=r.memoizedProps;if(u=u.compare,u=u!==null?u:wa,u(m,c)&&l.ref===a.ref)return _u(l,a,f)}return a.flags|=1,l=Na(r,c),l.ref=a.ref,l.return=a,a.child=l}function Hm(l,a,u,c,f){if(l!==null){var r=l.memoizedProps;if(wa(r,c)&&l.ref===a.ref)if(Ut=!1,a.pendingProps=c=r,Ym(l,f))(l.flags&131072)!==0&&(Ut=!0);else return a.lanes=l.lanes,_u(l,a,f)}return cd(l,a,u,c,f)}function ny(l,a,u,c){var f=c.children,r=l!==null?l.memoizedState:null;if(c.mode==="hidden"){if((a.flags&128)!==0){if(c=r!==null?r.baseLanes|u:u,l!==null){for(f=a.child=l.child,r=0;f!==null;)r=r|f.lanes|f.childLanes,f=f.sibling;a.childLanes=r&~c}else a.childLanes=0,a.child=null;return wm(l,a,c,u)}if((u&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},l!==null&&ks(a,r!==null?r.cachePool:null),r!==null?Lr(a,r):ef(),lf(a);else return a.lanes=a.childLanes=536870912,wm(l,a,r!==null?r.baseLanes|u:u,u)}else r!==null?(ks(a,r.cachePool),Lr(a,r),zu(),a.memoizedState=null):(l!==null&&ks(a,null),ef(),zu());return il(l,a,f,u),a.child}function wm(l,a,u,c){var f=Js();return f=f===null?null:{parent:Xt._currentValue,pool:f},a.memoizedState={baseLanes:u,cachePool:f},l!==null&&ks(a,null),ef(),lf(a),l!==null&&oi(l,a,c,!0),null}function Ul(l,a){return a=bf({mode:a.mode,children:a.children},l.mode),a.ref=l.ref,l.child=a,a.return=l,a}function Nm(l,a,u){return xu(a,l.child,null,u),l=Ul(a,a.pendingProps),l.flags|=2,ta(a),a.memoizedState=null,l}function zt(l,a){var u=a.ref;if(u===null)l!==null&&l.ref!==null&&(a.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(E(284));(l===null||l.ref!==u)&&(a.flags|=4194816)}}function cd(l,a,u,c,f){return Eu(a),u=Xr(l,a,u,c,void 0,f),c=Qr(),l!==null&&!Ut?(po(l,a,f),_u(l,a,f)):(Ve&&c&&Cn(a),a.flags|=1,il(l,a,u,f),a.child)}function Bm(l,a,u,c,f,r){return Eu(a),a.updateQueue=null,u=gm(a,c,u,f),ym(l),c=Qr(),l!==null&&!Ut?(po(l,a,r),_u(l,a,r)):(Ve&&c&&Cn(a),a.flags|=1,il(l,a,u,r),a.child)}function uy(l,a,u,c,f){if(Eu(a),a.stateNode===null){var r=yu,m=u.contextType;typeof m=="object"&&m!==null&&(r=Lt(m)),r=new u(c,r),a.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=ld,a.stateNode=r,r._reactInternals=a,r=a.stateNode,r.props=c,r.state=a.memoizedState,r.refs={},qr(a),m=u.contextType,r.context=typeof m=="object"&&m!==null?Lt(m):yu,r.state=a.memoizedState,m=u.getDerivedStateFromProps,typeof m=="function"&&(Ya(a,u,m,c),r.state=a.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(m=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),m!==r.state&&ld.enqueueReplaceState(r,r.state,null),ho(a,c,r,f),ro(),r.state=a.memoizedState),typeof r.componentDidMount=="function"&&(a.flags|=4194308),c=!0}else if(l===null){r=a.stateNode;var p=a.memoizedProps,A=Cl(u,p);r.props=A;var U=r.context,Z=u.contextType;m=yu,typeof Z=="object"&&Z!==null&&(m=Lt(Z));var F=u.getDerivedStateFromProps;Z=typeof F=="function"||typeof r.getSnapshotBeforeUpdate=="function",p=a.pendingProps!==p,Z||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(p||U!==m)&&Cm(a,r,c,m),wn=!1;var H=a.memoizedState;r.state=H,ho(a,c,r,f),ro(),U=a.memoizedState,p||H!==U||wn?(typeof F=="function"&&(Ya(a,u,F,c),U=a.memoizedState),(A=wn||pi(a,u,A,c,H,U,m))?(Z||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(a.flags|=4194308)):(typeof r.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=c,a.memoizedState=U),r.props=c,r.state=U,r.context=m,c=A):(typeof r.componentDidMount=="function"&&(a.flags|=4194308),c=!1)}else{r=a.stateNode,Yr(l,a),m=a.memoizedProps,Z=Cl(u,m),r.props=Z,F=a.pendingProps,H=r.context,U=u.contextType,A=yu,typeof U=="object"&&U!==null&&(A=Lt(U)),p=u.getDerivedStateFromProps,(U=typeof p=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(m!==F||H!==A)&&Cm(a,r,c,A),wn=!1,H=a.memoizedState,r.state=H,ho(a,c,r,f),ro();var N=a.memoizedState;m!==F||H!==N||wn||l!==null&&l.dependencies!==null&&Tu(l.dependencies)?(typeof p=="function"&&(Ya(a,u,p,c),N=a.memoizedState),(Z=wn||pi(a,u,Z,c,H,N,A)||l!==null&&l.dependencies!==null&&Tu(l.dependencies))?(U||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(c,N,A),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(c,N,A)),typeof r.componentDidUpdate=="function"&&(a.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof r.componentDidUpdate!="function"||m===l.memoizedProps&&H===l.memoizedState||(a.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||m===l.memoizedProps&&H===l.memoizedState||(a.flags|=1024),a.memoizedProps=c,a.memoizedState=N),r.props=c,r.state=N,r.context=A,c=Z):(typeof r.componentDidUpdate!="function"||m===l.memoizedProps&&H===l.memoizedState||(a.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||m===l.memoizedProps&&H===l.memoizedState||(a.flags|=1024),c=!1)}return r=c,zt(l,a),c=(a.flags&128)!==0,r||c?(r=a.stateNode,u=c&&typeof u.getDerivedStateFromError!="function"?null:r.render(),a.flags|=1,l!==null&&c?(a.child=xu(a,l.child,null,f),a.child=xu(a,null,u,f)):il(l,a,u,f),a.memoizedState=r.state,l=a.child):l=_u(l,a,f),l}function Ou(l,a,u,c){return bu(),a.flags|=256,il(l,a,u,c),a.child}var yi={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function vf(l){return{baseLanes:l,cachePool:dm()}}function gi(l,a,u){return l=l!==null?l.childLanes&~u:0,a&&(l|=Qa),l}function jm(l,a,u){var c=a.pendingProps,f=!1,r=(a.flags&128)!==0,m;if((m=r)||(m=l!==null&&l.memoizedState===null?!1:(Nt.current&2)!==0),m&&(f=!0,a.flags&=-129),m=(a.flags&32)!==0,a.flags&=-33,l===null){if(Ve){if(f?qa(a):zu(),(l=k)?(l=Yu(l,at),l=l!==null&&l.data!=="&"?l:null,l!==null&&(a.memoizedState={dehydrated:l,treeContext:Rn!==null?{id:Ba,overflow:gl}:null,retryLane:536870912,hydrationErrors:null},u=vu(l),u.return=a,a.child=u,Te=a,k=null)):l=null,l===null)throw Un(a);return Ac(l)?a.lanes=32:a.lanes=536870912,null}var p=c.children;return c=c.fallback,f?(zu(),f=a.mode,p=bf({mode:"hidden",children:p},f),c=gu(c,f,u,null),p.return=a,c.return=a,p.sibling=c,a.child=p,p=a.child,p.memoizedState=vf(u),p.childLanes=gi(l,m,u),a.memoizedState=yi,c):(qa(a),od(a,p))}var A=l.memoizedState;if(A!==null&&(p=A.dehydrated,p!==null)){if(r)a.flags&256?(qa(a),a.flags&=-257,a=sd(l,a,u)):a.memoizedState!==null?(zu(),a.child=l.child,a.flags|=128,a=null):(zu(),p=c.fallback,f=a.mode,c=bf({mode:"visible",children:c.children},f),p=gu(p,f,u,null),p.flags|=2,c.return=a,p.return=a,c.sibling=p,a.child=c,xu(a,l.child,null,u),c=a.child,c.memoizedState=vf(u),c.childLanes=gi(l,m,u),a.memoizedState=yi,a=p);else if(qa(a),Ac(p)){if(m=p.nextSibling&&p.nextSibling.dataset,m)var U=m.dgst;m=U,c=Error(E(419)),c.stack="",c.digest=m,Fi({value:c,source:null,stack:null}),a=sd(l,a,u)}else if(Ut||oi(l,a,u,!1),m=(u&l.childLanes)!==0,Ut||m){if(m=yt,m!==null&&(c=Ft(m,u),c!==0&&c!==A.retryLane))throw A.retryLane=c,ci(l,c),ia(m,l,c),id;jo(p)||bd(),a=sd(l,a,u)}else jo(p)?(a.flags|=192,a.child=l.child,a=null):(l=A.treeContext,k=ba(p.nextSibling),Te=a,Ve=!0,en=null,at=!1,l!==null&&Gs(a,l),a=od(a,c.children),a.flags|=4096);return a}return f?(zu(),p=c.fallback,f=a.mode,A=l.child,U=A.sibling,c=Na(A,{mode:"hidden",children:c.children}),c.subtreeFlags=A.subtreeFlags&65011712,U!==null?p=Na(U,p):(p=gu(p,f,u,null),p.flags|=2),p.return=a,c.return=a,c.sibling=p,a.child=c,c=p,p=a.child,f=l.child.memoizedState,f===null?f=vf(u):(A=f.cachePool,A!==null?(U=Xt._currentValue,A=A.parent!==U?{parent:U,pool:U}:A):A=dm(),f={baseLanes:f.baseLanes|u,cachePool:A}),p.memoizedState=f,p.childLanes=gi(l,m,u),a.memoizedState=yi,c):(qa(a),u=l.child,l=u.sibling,u=Na(u,{mode:"visible",children:c.children}),u.return=a,u.sibling=null,l!==null&&(m=a.deletions,m===null?(a.deletions=[l],a.flags|=16):m.push(l)),a.child=u,a.memoizedState=null,u)}function od(l,a){return a=bf({mode:"visible",children:a},l.mode),a.return=l,l.child=a}function bf(l,a){return l=Ol(22,l,null,a),l.lanes=0,l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},l}function sd(l,a,u){return xu(a,l.child,null,u),l=od(a,a.pendingProps.children),l.flags|=2,a.memoizedState=null,l}function Sf(l,a,u){l.lanes|=a;var c=l.alternate;c!==null&&(c.lanes|=a),Su(l.return,a,u)}function Tf(l,a,u,c,f,r){var m=l.memoizedState;m===null?l.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:c,tail:u,tailMode:f,treeForkCount:r}:(m.isBackwards=a,m.rendering=null,m.renderingStartTime=0,m.last=c,m.tail=u,m.tailMode=f,m.treeForkCount=r)}function qm(l,a,u){var c=a.pendingProps,f=c.revealOrder,r=c.tail;c=c.children;var m=Nt.current,p=(m&2)!==0;if(p?(m=m&1|2,a.flags|=128):m&=1,xe(Nt,m),il(l,a,c,u),c=Ve?Vs:0,!p&&l!==null&&(l.flags&128)!==0)e:for(l=a.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Sf(l,u,a);else if(l.tag===19)Sf(l,u,a);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===a)break e;for(;l.sibling===null;){if(l.return===null||l.return===a)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(f){case"forwards":for(u=a.child,f=null;u!==null;)l=u.alternate,l!==null&&mo(l)===null&&(f=u),u=u.sibling;u=f,u===null?(f=a.child,a.child=null):(f=u.sibling,u.sibling=null),Tf(a,!1,f,u,r,c);break;case"backwards":case"unstable_legacy-backwards":for(u=null,f=a.child,a.child=null;f!==null;){if(l=f.alternate,l!==null&&mo(l)===null){a.child=f;break}l=f.sibling,f.sibling=u,u=f,f=l}Tf(a,!0,u,null,r,c);break;case"together":Tf(a,!1,null,null,void 0,c);break;default:a.memoizedState=null}return a.child}function _u(l,a,u){if(l!==null&&(a.dependencies=l.dependencies),Uu|=a.lanes,(u&a.childLanes)===0)if(l!==null){if(oi(l,a,u,!1),(u&a.childLanes)===0)return null}else return null;if(l!==null&&a.child!==l.child)throw Error(E(153));if(a.child!==null){for(l=a.child,u=Na(l,l.pendingProps),a.child=u,u.return=a;l.sibling!==null;)l=l.sibling,u=u.sibling=Na(l,l.pendingProps),u.return=a;u.sibling=null}return a.child}function Ym(l,a){return(l.lanes&a)!==0?!0:(l=l.dependencies,!!(l!==null&&Tu(l)))}function iy(l,a,u){switch(a.tag){case 3:Yt(a,a.stateNode.containerInfo),ja(a,Xt,l.memoizedState.cache),bu();break;case 27:case 5:Ri(a);break;case 4:Yt(a,a.stateNode.containerInfo);break;case 10:ja(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,tf(a),null;break;case 13:var c=a.memoizedState;if(c!==null)return c.dehydrated!==null?(qa(a),a.flags|=128,null):(u&a.child.childLanes)!==0?jm(l,a,u):(qa(a),l=_u(l,a,u),l!==null?l.sibling:null);qa(a);break;case 19:var f=(l.flags&128)!==0;if(c=(u&a.childLanes)!==0,c||(oi(l,a,u,!1),c=(u&a.childLanes)!==0),f){if(c)return qm(l,a,u);a.flags|=128}if(f=a.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),xe(Nt,Nt.current),c)break;return null;case 22:return a.lanes=0,ny(l,a,u,a.pendingProps);case 24:ja(a,Xt,l.memoizedState.cache)}return _u(l,a,u)}function Vm(l,a,u){if(l!==null)if(l.memoizedProps!==a.pendingProps)Ut=!0;else{if(!Ym(l,u)&&(a.flags&128)===0)return Ut=!1,iy(l,a,u);Ut=(l.flags&131072)!==0}else Ut=!1,Ve&&(a.flags&1048576)!==0&&sm(a,Vs,a.index);switch(a.lanes=0,a.tag){case 16:e:{l=a.pendingProps;var c=a.elementType,f=c._init;if(c=f(c._payload),a.type=c,typeof c=="function")io(c)?(l=Cl(c,l),a.tag=1,a=uy(null,a,c,l,u)):(a.tag=0,a=cd(null,a,c,l,u));else{if(c!=null){if(f=c.$$typeof,f===St){a.tag=11,a=gf(null,a,c,l,u);break e}else if(f===Ae){a.tag=14,a=Um(null,a,c,l,u);break e}}throw a=Ct(c)||c,Error(E(306,a,""))}}return a;case 0:return cd(l,a,a.type,a.pendingProps,u);case 1:return c=a.type,f=Cl(c,a.pendingProps),uy(l,a,c,f,u);case 3:e:{if(Yt(a,a.stateNode.containerInfo),l===null)throw Error(E(387));c=a.pendingProps;var r=a.memoizedState;f=r.element,Yr(l,a),ho(a,c,null,u);var m=a.memoizedState;if(c=m.cache,ja(a,Xt,c),c!==r.cache&&ya(a,[Xt],u,!0),ro(),c=m.element,r.isDehydrated)if(r={element:c,isDehydrated:!1,cache:m.cache},a.updateQueue.baseState=r,a.memoizedState=r,a.flags&256){a=Ou(l,a,c,u);break e}else if(c!==f){f=Vl(Error(E(424)),a),Fi(f),a=Ou(l,a,c,u);break e}else{switch(l=a.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(k=ba(l.firstChild),Te=a,Ve=!0,en=null,at=!0,u=Is(a,null,c,u),a.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling}else{if(bu(),c===f){a=_u(l,a,u);break e}il(l,a,c,u)}a=a.child}return a;case 26:return zt(l,a),l===null?(u=xc(a.type,null,a.pendingProps,null))?a.memoizedState=u:Ve||(u=a.type,l=a.pendingProps,c=Bo(Ra.current).createElement(u),c[Jt]=a,c[ml]=l,tl(c,u,l),kt(c),a.stateNode=c):a.memoizedState=xc(a.type,l.memoizedProps,a.pendingProps,l.memoizedState),null;case 27:return Ri(a),l===null&&Ve&&(c=a.stateNode=gp(a.type,a.pendingProps,Ra.current),Te=a,at=!0,f=k,xi(a.type)?(Bd=f,k=ba(c.firstChild)):k=f),il(l,a,a.pendingProps.children,u),zt(l,a),l===null&&(a.flags|=4194304),a.child;case 5:return l===null&&Ve&&((f=c=k)&&(c=Mi(c,a.type,a.pendingProps,at),c!==null?(a.stateNode=c,Te=a,k=ba(c.firstChild),at=!1,f=!0):f=!1),f||Un(a)),Ri(a),f=a.type,r=a.pendingProps,m=l!==null?l.memoizedProps:null,c=r.children,kl(f,r)?c=null:m!==null&&kl(f,m)&&(a.flags|=32),a.memoizedState!==null&&(f=Xr(l,a,Q0,null,null,u),zc._currentValue=f),zt(l,a),il(l,a,c,u),a.child;case 6:return l===null&&Ve&&((l=u=k)&&(u=jf(u,a.pendingProps,at),u!==null?(a.stateNode=u,Te=a,k=null,l=!0):l=!1),l||Un(a)),null;case 13:return jm(l,a,u);case 4:return Yt(a,a.stateNode.containerInfo),c=a.pendingProps,l===null?a.child=xu(a,null,c,u):il(l,a,c,u),a.child;case 11:return gf(l,a,a.type,a.pendingProps,u);case 7:return il(l,a,a.pendingProps,u),a.child;case 8:return il(l,a,a.pendingProps.children,u),a.child;case 12:return il(l,a,a.pendingProps.children,u),a.child;case 10:return c=a.pendingProps,ja(a,a.type,c.value),il(l,a,c.children,u),a.child;case 9:return f=a.type._context,c=a.pendingProps.children,Eu(a),f=Lt(f),c=c(f),a.flags|=1,il(l,a,c,u),a.child;case 14:return Um(l,a,a.type,a.pendingProps,u);case 15:return Hm(l,a,a.type,a.pendingProps,u);case 19:return qm(l,a,u);case 31:if(f=a.pendingProps,m=(a.flags&128)!==0,a.flags&=-129,l===null)if(Ve){if(f.mode==="hidden")Ul(a,f);else if(tf(a),(u=k)?(u=Yu(u,at),u=u!==null&&u.data==="&"?u:null,u!==null&&(a.memoizedState={dehydrated:u,treeContext:Rn!==null?{id:Ba,overflow:gl}:null,retryLane:536870912,hydrationErrors:null},l=vu(u),l.return=a,a.child=l,Te=a,k=null)):u=null,u===null)throw Un(a);a.lanes=536870912,a=null}else a=Ul(a,f);else if(c=l.memoizedState,c!==null)if(r=c.dehydrated,tf(a),m)if(a.flags&256)a.flags&=-257,a=Nm(l,a,u);else if(a.memoizedState!==null)a.child=l.child,a.flags|=128,a=null;else throw Error(E(558));else if(Ut||oi(l,a,u,!1),m=(u&l.childLanes)!==0,Ut||m){if(f=yt,f!==null&&(r=Ft(f,u),r!==0&&r!==c.retryLane))throw c.retryLane=r,ci(l,r),ia(f,l,r),id;bd(),a=Nm(l,a,u)}else u=c.treeContext,k=ba(r.nextSibling),Te=a,Ve=!0,en=null,at=!1,u!==null&&Gs(a,u),a=Ul(a,f),a.flags|=4096;else u=Na(l.child,{mode:f.mode,children:f.children}),u.ref=a.ref,a.child=u,u.return=a,a=u;return a;case 22:return ny(l,a,u,a.pendingProps);case 24:return Eu(a),c=Lt(Xt),l===null?(f=Js(),f===null&&(f=yt,r=Nr(),f.pooledCache=r,r.refCount++,r!==null&&(f.pooledCacheLanes|=u),f=r),a.memoizedState={parent:c,cache:f},qr(a),ja(a,Xt,f)):((l.lanes&u)!==0&&(Yr(l,a),ho(a,null,null,u),ro()),f=l.memoizedState,r=a.memoizedState,f.parent!==c?(f={parent:c,cache:c},a.memoizedState=f,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=f),ja(a,Xt,c)):(c=r.cache,ja(a,Xt,c),c!==f.cache&&ya(a,[Xt],u,!0))),il(l,a,a.pendingProps.children,u),a.child;case 29:throw a.pendingProps}throw Error(E(156,a.tag))}function Ru(l){l.flags|=4}function vi(l,a,u,c,f){if((a=(l.mode&32)!==0)&&(a=!1),a){if(l.flags|=16777216,(f&335544128)===f)if(l.stateNode.complete)l.flags|=8192;else if(np())l.flags|=8192;else throw fi=Br,fo}else l.flags&=-16777217}function Ef(l,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!Aa(a))if(np())l.flags|=8192;else throw fi=Br,fo}function Af(l,a){a!==null&&(l.flags|=4),l.flags&16384&&(a=l.tag!==22?Bh():536870912,l.lanes|=a,Do|=a)}function dc(l,a){if(!Ve)switch(l.tailMode){case"hidden":a=l.tail;for(var u=null;a!==null;)a.alternate!==null&&(u=a),a=a.sibling;u===null?l.tail=null:u.sibling=null;break;case"collapsed":u=l.tail;for(var c=null;u!==null;)u.alternate!==null&&(c=u),u=u.sibling;c===null?a||l.tail===null?l.tail=null:l.tail.sibling=null:c.sibling=null}}function Et(l){var a=l.alternate!==null&&l.alternate.child===l.child,u=0,c=0;if(a)for(var f=l.child;f!==null;)u|=f.lanes|f.childLanes,c|=f.subtreeFlags&65011712,c|=f.flags&65011712,f.return=l,f=f.sibling;else for(f=l.child;f!==null;)u|=f.lanes|f.childLanes,c|=f.subtreeFlags,c|=f.flags,f.return=l,f=f.sibling;return l.subtreeFlags|=c,l.childLanes=u,a}function cy(l,a,u){var c=a.pendingProps;switch(Gl(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Et(a),null;case 1:return Et(a),null;case 3:return u=a.stateNode,c=null,l!==null&&(c=l.memoizedState.cache),a.memoizedState.cache!==c&&(a.flags|=2048),Rl(Xt),xl(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(l===null||l.child===null)&&(oo(a)?Ru(a):l===null||l.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Xs())),Et(a),null;case 26:var f=a.type,r=a.memoizedState;return l===null?(Ru(a),r!==null?(Et(a),Ef(a,r)):(Et(a),vi(a,f,null,c,u))):r?r!==l.memoizedState?(Ru(a),Et(a),Ef(a,r)):(Et(a),a.flags&=-16777217):(l=l.memoizedProps,l!==c&&Ru(a),Et(a),vi(a,f,l,c,u)),null;case 27:if(ne(a),u=Ra.current,f=a.type,l!==null&&a.stateNode!=null)l.memoizedProps!==c&&Ru(a);else{if(!c){if(a.stateNode===null)throw Error(E(166));return Et(a),null}l=Re.current,oo(a)?fm(a):(l=gp(f,c,u),a.stateNode=l,Ru(a))}return Et(a),null;case 5:if(ne(a),f=a.type,l!==null&&a.stateNode!=null)l.memoizedProps!==c&&Ru(a);else{if(!c){if(a.stateNode===null)throw Error(E(166));return Et(a),null}if(r=Re.current,oo(a))fm(a);else{var m=Bo(Ra.current);switch(r){case 1:r=m.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:r=m.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":r=m.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":r=m.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":r=m.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof c.is=="string"?m.createElement("select",{is:c.is}):m.createElement("select"),c.multiple?r.multiple=!0:c.size&&(r.size=c.size);break;default:r=typeof c.is=="string"?m.createElement(f,{is:c.is}):m.createElement(f)}}r[Jt]=a,r[ml]=c;e:for(m=a.child;m!==null;){if(m.tag===5||m.tag===6)r.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===a)break e;for(;m.sibling===null;){if(m.return===null||m.return===a)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}a.stateNode=r;e:switch(tl(r,f,c),f){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&Ru(a)}}return Et(a),vi(a,a.type,l===null?null:l.memoizedProps,a.pendingProps,u),null;case 6:if(l&&a.stateNode!=null)l.memoizedProps!==c&&Ru(a);else{if(typeof c!="string"&&a.stateNode===null)throw Error(E(166));if(l=Ra.current,oo(a)){if(l=a.stateNode,u=a.memoizedProps,c=null,f=Te,f!==null)switch(f.tag){case 27:case 5:c=f.memoizedProps}l[Jt]=a,l=!!(l.nodeValue===u||c!==null&&c.suppressHydrationWarning===!0||Tc(l.nodeValue,u)),l||Un(a,!0)}else l=Bo(l).createTextNode(c),l[Jt]=a,a.stateNode=l}return Et(a),null;case 31:if(u=a.memoizedState,l===null||l.memoizedState!==null){if(c=oo(a),u!==null){if(l===null){if(!c)throw Error(E(318));if(l=a.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(E(557));l[Jt]=a}else bu(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Et(a),l=!1}else u=Xs(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=u),l=!0;if(!l)return a.flags&256?(ta(a),a):(ta(a),null);if((a.flags&128)!==0)throw Error(E(558))}return Et(a),null;case 13:if(c=a.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(f=oo(a),c!==null&&c.dehydrated!==null){if(l===null){if(!f)throw Error(E(318));if(f=a.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(E(317));f[Jt]=a}else bu(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Et(a),f=!1}else f=Xs(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=f),f=!0;if(!f)return a.flags&256?(ta(a),a):(ta(a),null)}return ta(a),(a.flags&128)!==0?(a.lanes=u,a):(u=c!==null,l=l!==null&&l.memoizedState!==null,u&&(c=a.child,f=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(f=c.alternate.memoizedState.cachePool.pool),r=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(r=c.memoizedState.cachePool.pool),r!==f&&(c.flags|=2048)),u!==l&&u&&(a.child.flags|=8192),Af(a,a.updateQueue),Et(a),null);case 4:return xl(),l===null&&Cd(a.stateNode.containerInfo),Et(a),null;case 10:return Rl(a.type),Et(a),null;case 19:if(Se(Nt),c=a.memoizedState,c===null)return Et(a),null;if(f=(a.flags&128)!==0,r=c.rendering,r===null)if(f)dc(c,!1);else{if(Bt!==0||l!==null&&(l.flags&128)!==0)for(l=a.child;l!==null;){if(r=mo(l),r!==null){for(a.flags|=128,dc(c,!1),l=r.updateQueue,a.updateQueue=l,Af(a,l),a.subtreeFlags=0,l=u,u=a.child;u!==null;)om(u,l),u=u.sibling;return xe(Nt,Nt.current&1|2),Ve&&Pa(a,c.treeForkCount),a.child}l=l.sibling}c.tail!==null&&Nl()>Rf&&(a.flags|=128,f=!0,dc(c,!1),a.lanes=4194304)}else{if(!f)if(l=mo(r),l!==null){if(a.flags|=128,f=!0,l=l.updateQueue,a.updateQueue=l,Af(a,l),dc(c,!0),c.tail===null&&c.tailMode==="hidden"&&!r.alternate&&!Ve)return Et(a),null}else 2*Nl()-c.renderingStartTime>Rf&&u!==536870912&&(a.flags|=128,f=!0,dc(c,!1),a.lanes=4194304);c.isBackwards?(r.sibling=a.child,a.child=r):(l=c.last,l!==null?l.sibling=r:a.child=r,c.last=r)}return c.tail!==null?(l=c.tail,c.rendering=l,c.tail=l.sibling,c.renderingStartTime=Nl(),l.sibling=null,u=Nt.current,xe(Nt,f?u&1|2:u&1),Ve&&Pa(a,c.treeForkCount),l):(Et(a),null);case 22:case 23:return ta(a),mm(),c=a.memoizedState!==null,l!==null?l.memoizedState!==null!==c&&(a.flags|=8192):c&&(a.flags|=8192),c?(u&536870912)!==0&&(a.flags&128)===0&&(Et(a),a.subtreeFlags&6&&(a.flags|=8192)):Et(a),u=a.updateQueue,u!==null&&Af(a,u.retryQueue),u=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==u&&(a.flags|=2048),l!==null&&Se(si),null;case 24:return u=null,l!==null&&(u=l.memoizedState.cache),a.memoizedState.cache!==u&&(a.flags|=2048),Rl(Xt),Et(a),null;case 25:return null;case 30:return null}throw Error(E(156,a.tag))}function oy(l,a){switch(Gl(a),a.tag){case 1:return l=a.flags,l&65536?(a.flags=l&-65537|128,a):null;case 3:return Rl(Xt),xl(),l=a.flags,(l&65536)!==0&&(l&128)===0?(a.flags=l&-65537|128,a):null;case 26:case 27:case 5:return ne(a),null;case 31:if(a.memoizedState!==null){if(ta(a),a.alternate===null)throw Error(E(340));bu()}return l=a.flags,l&65536?(a.flags=l&-65537|128,a):null;case 13:if(ta(a),l=a.memoizedState,l!==null&&l.dehydrated!==null){if(a.alternate===null)throw Error(E(340));bu()}return l=a.flags,l&65536?(a.flags=l&-65537|128,a):null;case 19:return Se(Nt),null;case 4:return xl(),null;case 10:return Rl(a.type),null;case 22:case 23:return ta(a),mm(),l!==null&&Se(si),l=a.flags,l&65536?(a.flags=l&-65537|128,a):null;case 24:return Rl(Xt),null;case 25:return null;default:return null}}function sy(l,a){switch(Gl(a),a.tag){case 3:Rl(Xt),xl();break;case 26:case 27:case 5:ne(a);break;case 4:xl();break;case 31:a.memoizedState!==null&&ta(a);break;case 13:ta(a);break;case 19:Se(Nt);break;case 10:Rl(a.type);break;case 22:case 23:ta(a),mm(),l!==null&&Se(si);break;case 24:Rl(Xt)}}function Ao(l,a){try{var u=a.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var f=c.next;u=f;do{if((u.tag&l)===l){c=void 0;var r=u.create,m=u.inst;c=r(),m.destroy=c}u=u.next}while(u!==f)}}catch(p){st(a,a.return,p)}}function Ga(l,a,u){try{var c=a.updateQueue,f=c!==null?c.lastEffect:null;if(f!==null){var r=f.next;c=r;do{if((c.tag&l)===l){var m=c.inst,p=m.destroy;if(p!==void 0){m.destroy=void 0,f=a;var A=u,U=p;try{U()}catch(Z){st(f,A,Z)}}}c=c.next}while(c!==r)}}catch(Z){st(a,a.return,Z)}}function Gm(l){var a=l.updateQueue;if(a!==null){var u=l.stateNode;try{hm(a,u)}catch(c){st(l,l.return,c)}}}function Lm(l,a,u){u.props=Cl(l.type,l.memoizedProps),u.state=l.memoizedState;try{u.componentWillUnmount()}catch(c){st(l,a,c)}}function Fe(l,a){try{var u=l.ref;if(u!==null){switch(l.tag){case 26:case 27:case 5:var c=l.stateNode;break;case 30:c=l.stateNode;break;default:c=l.stateNode}typeof u=="function"?l.refCleanup=u(c):u.current=c}}catch(f){st(l,a,f)}}function La(l,a){var u=l.ref,c=l.refCleanup;if(u!==null)if(typeof c=="function")try{c()}catch(f){st(l,a,f)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(f){st(l,a,f)}else u.current=null}function fy(l){var a=l.type,u=l.memoizedProps,c=l.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":u.autoFocus&&c.focus();break e;case"img":u.src?c.src=u.src:u.srcSet&&(c.srcset=u.srcSet)}}catch(f){st(l,l.return,f)}}function fd(l,a,u){try{var c=l.stateNode;hp(c,l.type,u,a),c[ml]=a}catch(f){st(l,l.return,f)}}function ry(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&xi(l.type)||l.tag===4}function Xm(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||ry(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&xi(l.type)||l.flags&2||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function xf(l,a,u){var c=l.tag;if(c===5||c===6)l=l.stateNode,a?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(l,a):(a=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,a.appendChild(l),u=u._reactRootContainer,u!=null||a.onclick!==null||(a.onclick=Tn));else if(c!==4&&(c===27&&xi(l.type)&&(u=l.stateNode,a=null),l=l.child,l!==null))for(xf(l,a,u),l=l.sibling;l!==null;)xf(l,a,u),l=l.sibling}function Mf(l,a,u){var c=l.tag;if(c===5||c===6)l=l.stateNode,a?u.insertBefore(l,a):u.appendChild(l);else if(c!==4&&(c===27&&xi(l.type)&&(u=l.stateNode),l=l.child,l!==null))for(Mf(l,a,u),l=l.sibling;l!==null;)Mf(l,a,u),l=l.sibling}function Qm(l){var a=l.stateNode,u=l.memoizedProps;try{for(var c=l.type,f=a.attributes;f.length;)a.removeAttributeNode(f[0]);tl(a,c,u),a[Jt]=l,a[ml]=u}catch(r){st(l,l.return,r)}}var Xn=!1,Dt=!1,Zm=!1,dy=typeof WeakSet=="function"?WeakSet:Set,vt=null;function zf(l,a){if(l=l.containerInfo,Za=Ld,l=ki(l),Pc(l)){if("selectionStart"in l)var u={start:l.selectionStart,end:l.selectionEnd};else e:{u=(u=l.ownerDocument)&&u.defaultView||window;var c=u.getSelection&&u.getSelection();if(c&&c.rangeCount!==0){u=c.anchorNode;var f=c.anchorOffset,r=c.focusNode;c=c.focusOffset;try{u.nodeType,r.nodeType}catch{u=null;break e}var m=0,p=-1,A=-1,U=0,Z=0,F=l,H=null;t:for(;;){for(var N;F!==u||f!==0&&F.nodeType!==3||(p=m+f),F!==r||c!==0&&F.nodeType!==3||(A=m+c),F.nodeType===3&&(m+=F.nodeValue.length),(N=F.firstChild)!==null;)H=F,F=N;for(;;){if(F===l)break t;if(H===u&&++U===f&&(p=m),H===r&&++Z===c&&(A=m),(N=F.nextSibling)!==null)break;F=H,H=F.parentNode}F=N}u=p===-1||A===-1?null:{start:p,end:A}}else u=null}u=u||{start:0,end:0}}else u=null;for(Ec={focusedElem:l,selectionRange:u},Ld=!1,vt=a;vt!==null;)if(a=vt,l=a.child,(a.subtreeFlags&1024)!==0&&l!==null)l.return=a,vt=l;else for(;vt!==null;){switch(a=vt,r=a.alternate,l=a.flags,a.tag){case 0:break;case 11:case 15:break;case 1:if((l&1024)!==0&&r!==null){l=void 0,u=a,f=r.memoizedProps,r=r.memoizedState,c=u.stateNode;try{var fe=Cl(u.type,f);l=c.getSnapshotBeforeUpdate(fe,r),c.__reactInternalSnapshotBeforeUpdate=l}catch(ge){st(u,u.return,ge)}}break;case 3:if((l&1024)!==0){if(l=a.stateNode.containerInfo,u=l.nodeType,u===9)fn(l);else if(u===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":fn(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(E(163))}if(l=a.sibling,l!==null){l.return=a.return,vt=l;break}vt=a.return}}function hy(l,a,u){var c=u.flags;switch(u.tag){case 0:case 11:case 15:nn(l,u),c&4&&Ao(5,u);break;case 1:if(nn(l,u),c&4)if(l=u.stateNode,a===null)try{l.componentDidMount()}catch(m){st(u,u.return,m)}else{var f=Cl(u.type,a.memoizedProps);a=a.memoizedState;try{l.componentDidUpdate(f,a,l.__reactInternalSnapshotBeforeUpdate)}catch(m){st(u,u.return,m)}}c&64&&Gm(u),c&512&&Fe(u,u.return);break;case 3:if(nn(l,u),c&64&&(l=u.updateQueue,l!==null)){if(a=null,u.child!==null)switch(u.child.tag){case 27:case 5:a=u.child.stateNode;break;case 1:a=u.child.stateNode}try{hm(l,a)}catch(m){st(u,u.return,m)}}break;case 27:a===null&&c&4&&Qm(u);case 26:case 5:nn(l,u),a===null&&c&4&&fy(u),c&512&&Fe(u,u.return);break;case 12:nn(l,u);break;case 31:nn(l,u),c&4&&Jm(l,u);break;case 13:nn(l,u),c&4&&hd(l,u),c&64&&(l=u.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(u=qg.bind(null,u),Ry(l,u))));break;case 22:if(c=u.memoizedState!==null||Xn,!c){a=a!==null&&a.memoizedState!==null||Dt,f=Xn;var r=Dt;Xn=c,(Dt=a)&&!r?un(l,u,(u.subtreeFlags&8772)!==0):nn(l,u),Xn=f,Dt=r}break;case 30:break;default:nn(l,u)}}function rd(l){var a=l.alternate;a!==null&&(l.alternate=null,rd(a)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(a=l.stateNode,a!==null&&Lc(a)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var Ot=null,Ql=!1;function Qn(l,a,u){for(u=u.child;u!==null;)dd(l,a,u),u=u.sibling}function dd(l,a,u){if(Wl&&typeof Wl.onCommitFiberUnmount=="function")try{Wl.onCommitFiberUnmount(rs,u)}catch{}switch(u.tag){case 26:Dt||La(u,a),Qn(l,a,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:Dt||La(u,a);var c=Ot,f=Ql;xi(u.type)&&(Ot=u.stateNode,Ql=!1),Qn(l,a,u),qo(u.stateNode),Ot=c,Ql=f;break;case 5:Dt||La(u,a);case 6:if(c=Ot,f=Ql,Ot=null,Qn(l,a,u),Ot=c,Ql=f,Ot!==null)if(Ql)try{(Ot.nodeType===9?Ot.body:Ot.nodeName==="HTML"?Ot.ownerDocument.body:Ot).removeChild(u.stateNode)}catch(r){st(u,a,r)}else try{Ot.removeChild(u.stateNode)}catch(r){st(u,a,r)}break;case 18:Ot!==null&&(Ql?(l=Ot,wd(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,u.stateNode),mn(l)):wd(Ot,u.stateNode));break;case 4:c=Ot,f=Ql,Ot=u.stateNode.containerInfo,Ql=!0,Qn(l,a,u),Ot=c,Ql=f;break;case 0:case 11:case 14:case 15:Dt||Ga(2,u,a),Dt||Ga(4,u,a),Qn(l,a,u);break;case 1:Dt||(La(u,a),c=u.stateNode,typeof c.componentWillUnmount=="function"&&Lm(u,a,c)),Qn(l,a,u);break;case 21:Qn(l,a,u);break;case 22:Dt=(c=Dt)||u.memoizedState!==null,Qn(l,a,u),Dt=c;break;default:Qn(l,a,u)}}function Jm(l,a){if(a.memoizedState===null&&(l=a.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{mn(l)}catch(u){st(a,a.return,u)}}}function hd(l,a){if(a.memoizedState===null&&(l=a.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{mn(l)}catch(u){st(a,a.return,u)}}function my(l){switch(l.tag){case 31:case 13:case 19:var a=l.stateNode;return a===null&&(a=l.stateNode=new dy),a;case 22:return l=l.stateNode,a=l._retryCache,a===null&&(a=l._retryCache=new dy),a;default:throw Error(E(435,l.tag))}}function Df(l,a){var u=my(l);a.forEach(function(c){var f=Yg.bind(null,l,c);u.has(c)||(u.add(c),c.then(f,f))})}function la(l,a){var u=a.deletions;if(u!==null)for(var c=0;c<u.length;c++){var f=u[c],r=l,m=a,p=m;e:for(;p!==null;){switch(p.tag){case 27:if(xi(p.type)){Ot=p.stateNode,Ql=!1;break e}break;case 5:Ot=p.stateNode,Ql=!1;break e;case 3:case 4:Ot=p.stateNode.containerInfo,Ql=!0;break e}p=p.return}if(Ot===null)throw Error(E(160));dd(r,m,f),Ot=null,Ql=!1,r=f.alternate,r!==null&&(r.return=null),f.return=null}if(a.subtreeFlags&13878)for(a=a.child;a!==null;)km(a,l),a=a.sibling}var aa=null;function km(l,a){var u=l.alternate,c=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:la(a,l),Oe(l),c&4&&(Ga(3,l,l.return),Ao(3,l),Ga(5,l,l.return));break;case 1:la(a,l),Oe(l),c&512&&(Dt||u===null||La(u,u.return)),c&64&&Xn&&(l=l.updateQueue,l!==null&&(c=l.callbacks,c!==null&&(u=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=u===null?c:u.concat(c))));break;case 26:var f=aa;if(la(a,l),Oe(l),c&512&&(Dt||u===null||La(u,u.return)),c&4){var r=u!==null?u.memoizedState:null;if(c=l.memoizedState,u===null)if(c===null)if(l.stateNode===null){e:{c=l.type,u=l.memoizedProps,f=f.ownerDocument||f;t:switch(c){case"title":r=f.getElementsByTagName("title")[0],(!r||r[Gc]||r[Jt]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=f.createElement(c),f.head.insertBefore(r,f.querySelector("head > title"))),tl(r,c,u),r[Jt]=l,kt(r),c=r;break e;case"link":var m=Uy("link","href",f).get(c+(u.href||""));if(m){for(var p=0;p<m.length;p++)if(r=m[p],r.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&r.getAttribute("rel")===(u.rel==null?null:u.rel)&&r.getAttribute("title")===(u.title==null?null:u.title)&&r.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){m.splice(p,1);break t}}r=f.createElement(c),tl(r,c,u),f.head.appendChild(r);break;case"meta":if(m=Uy("meta","content",f).get(c+(u.content||""))){for(p=0;p<m.length;p++)if(r=m[p],r.getAttribute("content")===(u.content==null?null:""+u.content)&&r.getAttribute("name")===(u.name==null?null:u.name)&&r.getAttribute("property")===(u.property==null?null:u.property)&&r.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&r.getAttribute("charset")===(u.charSet==null?null:u.charSet)){m.splice(p,1);break t}}r=f.createElement(c),tl(r,c,u),f.head.appendChild(r);break;default:throw Error(E(468,c))}r[Jt]=l,kt(r),c=r}l.stateNode=c}else qf(f,l.type,l.stateNode);else l.stateNode=ae(f,c,l.memoizedProps);else r!==c?(r===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):r.count--,c===null?qf(f,l.type,l.stateNode):ae(f,c,l.memoizedProps)):c===null&&l.stateNode!==null&&fd(l,l.memoizedProps,u.memoizedProps)}break;case 27:la(a,l),Oe(l),c&512&&(Dt||u===null||La(u,u.return)),u!==null&&c&4&&fd(l,l.memoizedProps,u.memoizedProps);break;case 5:if(la(a,l),Oe(l),c&512&&(Dt||u===null||La(u,u.return)),l.flags&32){f=l.stateNode;try{qi(f,"")}catch(fe){st(l,l.return,fe)}}c&4&&l.stateNode!=null&&(f=l.memoizedProps,fd(l,f,u!==null?u.memoizedProps:f)),c&1024&&(Zm=!0);break;case 6:if(la(a,l),Oe(l),c&4){if(l.stateNode===null)throw Error(E(162));c=l.memoizedProps,u=l.stateNode;try{u.nodeValue=c}catch(fe){st(l,l.return,fe)}}break;case 3:if(qd=null,f=aa,aa=Yo(a.containerInfo),la(a,l),aa=f,Oe(l),c&4&&u!==null&&u.memoizedState.isDehydrated)try{mn(a.containerInfo)}catch(fe){st(l,l.return,fe)}Zm&&(Zm=!1,md(l));break;case 4:c=aa,aa=Yo(l.stateNode.containerInfo),la(a,l),Oe(l),aa=c;break;case 12:la(a,l),Oe(l);break;case 31:la(a,l),Oe(l),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,Df(l,c)));break;case 13:la(a,l),Oe(l),l.child.flags&8192&&l.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(Im=Nl()),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,Df(l,c)));break;case 22:f=l.memoizedState!==null;var A=u!==null&&u.memoizedState!==null,U=Xn,Z=Dt;if(Xn=U||f,Dt=Z||A,la(a,l),Dt=Z,Xn=U,Oe(l),c&8192)e:for(a=l.stateNode,a._visibility=f?a._visibility&-2:a._visibility|1,f&&(u===null||A||Xn||Dt||bi(l)),u=null,a=l;;){if(a.tag===5||a.tag===26){if(u===null){A=u=a;try{if(r=A.stateNode,f)m=r.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none";else{p=A.stateNode;var F=A.memoizedProps.style,H=F!=null&&F.hasOwnProperty("display")?F.display:null;p.style.display=H==null||typeof H=="boolean"?"":(""+H).trim()}}catch(fe){st(A,A.return,fe)}}}else if(a.tag===6){if(u===null){A=a;try{A.stateNode.nodeValue=f?"":A.memoizedProps}catch(fe){st(A,A.return,fe)}}}else if(a.tag===18){if(u===null){A=a;try{var N=A.stateNode;f?Nd(N,!0):Nd(A.stateNode,!1)}catch(fe){st(A,A.return,fe)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===l)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===l)break e;for(;a.sibling===null;){if(a.return===null||a.return===l)break e;u===a&&(u=null),a=a.return}u===a&&(u=null),a.sibling.return=a.return,a=a.sibling}c&4&&(c=l.updateQueue,c!==null&&(u=c.retryQueue,u!==null&&(c.retryQueue=null,Df(l,u))));break;case 19:la(a,l),Oe(l),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,Df(l,c)));break;case 30:break;case 21:break;default:la(a,l),Oe(l)}}function Oe(l){var a=l.flags;if(a&2){try{for(var u,c=l.return;c!==null;){if(ry(c)){u=c;break}c=c.return}if(u==null)throw Error(E(160));switch(u.tag){case 27:var f=u.stateNode,r=Xm(l);Mf(l,r,f);break;case 5:var m=u.stateNode;u.flags&32&&(qi(m,""),u.flags&=-33);var p=Xm(l);Mf(l,p,m);break;case 3:case 4:var A=u.stateNode.containerInfo,U=Xm(l);xf(l,U,A);break;default:throw Error(E(161))}}catch(Z){st(l,l.return,Z)}l.flags&=-3}a&4096&&(l.flags&=-4097)}function md(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var a=l;md(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),l=l.sibling}}function nn(l,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)hy(l,a.alternate,a),a=a.sibling}function bi(l){for(l=l.child;l!==null;){var a=l;switch(a.tag){case 0:case 11:case 14:case 15:Ga(4,a,a.return),bi(a);break;case 1:La(a,a.return);var u=a.stateNode;typeof u.componentWillUnmount=="function"&&Lm(a,a.return,u),bi(a);break;case 27:qo(a.stateNode);case 26:case 5:La(a,a.return),bi(a);break;case 22:a.memoizedState===null&&bi(a);break;case 30:bi(a);break;default:bi(a)}l=l.sibling}}function un(l,a,u){for(u=u&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var c=a.alternate,f=l,r=a,m=r.flags;switch(r.tag){case 0:case 11:case 15:un(f,r,u),Ao(4,r);break;case 1:if(un(f,r,u),c=r,f=c.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(U){st(c,c.return,U)}if(c=r,f=c.updateQueue,f!==null){var p=c.stateNode;try{var A=f.shared.hiddenCallbacks;if(A!==null)for(f.shared.hiddenCallbacks=null,f=0;f<A.length;f++)Gr(A[f],p)}catch(U){st(c,c.return,U)}}u&&m&64&&Gm(r),Fe(r,r.return);break;case 27:Qm(r);case 26:case 5:un(f,r,u),u&&c===null&&m&4&&fy(r),Fe(r,r.return);break;case 12:un(f,r,u);break;case 31:un(f,r,u),u&&m&4&&Jm(f,r);break;case 13:un(f,r,u),u&&m&4&&hd(f,r);break;case 22:r.memoizedState===null&&un(f,r,u),Fe(r,r.return);break;case 30:break;default:un(f,r,u)}a=a.sibling}}function hc(l,a){var u=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),l=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),l!==u&&(l!=null&&l.refCount++,u!=null&&Ii(u))}function xo(l,a){l=null,a.alternate!==null&&(l=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==l&&(a.refCount++,l!=null&&Ii(l))}function cn(l,a,u,c){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Km(l,a,u,c),a=a.sibling}function Km(l,a,u,c){var f=a.flags;switch(a.tag){case 0:case 11:case 15:cn(l,a,u,c),f&2048&&Ao(9,a);break;case 1:cn(l,a,u,c);break;case 3:cn(l,a,u,c),f&2048&&(l=null,a.alternate!==null&&(l=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==l&&(a.refCount++,l!=null&&Ii(l)));break;case 12:if(f&2048){cn(l,a,u,c),l=a.stateNode;try{var r=a.memoizedProps,m=r.id,p=r.onPostCommit;typeof p=="function"&&p(m,a.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(A){st(a,a.return,A)}}else cn(l,a,u,c);break;case 31:cn(l,a,u,c);break;case 13:cn(l,a,u,c);break;case 23:break;case 22:r=a.stateNode,m=a.alternate,a.memoizedState!==null?r._visibility&2?cn(l,a,u,c):Gt(l,a):r._visibility&2?cn(l,a,u,c):(r._visibility|=2,Si(l,a,u,c,(a.subtreeFlags&10256)!==0)),f&2048&&hc(m,a);break;case 24:cn(l,a,u,c),f&2048&&xo(a.alternate,a);break;default:cn(l,a,u,c)}}function Si(l,a,u,c,f){for(f=f&&(a.subtreeFlags&10256)!==0,a=a.child;a!==null;){var r=l,m=a,p=u,A=c,U=m.flags;switch(m.tag){case 0:case 11:case 15:Si(r,m,p,A,f),Ao(8,m);break;case 23:break;case 22:var Z=m.stateNode;m.memoizedState!==null?Z._visibility&2?Si(r,m,p,A,f):Gt(r,m):(Z._visibility|=2,Si(r,m,p,A,f)),f&&U&2048&&hc(m.alternate,m);break;case 24:Si(r,m,p,A,f),f&&U&2048&&xo(m.alternate,m);break;default:Si(r,m,p,A,f)}a=a.sibling}}function Gt(l,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var u=l,c=a,f=c.flags;switch(c.tag){case 22:Gt(u,c),f&2048&&hc(c.alternate,c);break;case 24:Gt(u,c),f&2048&&xo(c.alternate,c);break;default:Gt(u,c)}a=a.sibling}}var Of=8192;function Zl(l){if(l.subtreeFlags&Of)for(l=l.child;l!==null;)$m(l),l=l.sibling}function $m(l){switch(l.tag){case 26:Zl(l),l.flags&Of&&l.memoizedState!==null&&Vu(aa,l.memoizedState,l.memoizedProps);break;case 5:Zl(l);break;case 3:case 4:var a=aa;aa=Yo(l.stateNode.containerInfo),Zl(l),aa=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=Of,Of=16777216,Zl(l),Of=a):Zl(l));break;default:Zl(l)}}function Cu(l){var a=l.alternate;if(a!==null&&(l=a.child,l!==null)){a.child=null;do a=l.sibling,l.sibling=null,l=a;while(l!==null)}}function Mo(l){var a=l.deletions;if((l.flags&16)!==0){if(a!==null)for(var u=0;u<a.length;u++){var c=a[u];vt=c,cl(c,l)}Cu(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)rt(l),l=l.sibling}function rt(l){switch(l.tag){case 0:case 11:case 15:Mo(l),l.flags&2048&&Ga(9,l,l.return);break;case 3:Mo(l);break;case 12:Mo(l);break;case 22:var a=l.stateNode;l.memoizedState!==null&&a._visibility&2&&(l.return===null||l.return.tag!==13)?(a._visibility&=-3,zo(l)):Mo(l);break;default:Mo(l)}}function zo(l){var a=l.deletions;if((l.flags&16)!==0){if(a!==null)for(var u=0;u<a.length;u++){var c=a[u];vt=c,cl(c,l)}Cu(l)}for(l=l.child;l!==null;){switch(a=l,a.tag){case 0:case 11:case 15:Ga(8,a,a.return),zo(a);break;case 22:u=a.stateNode,u._visibility&2&&(u._visibility&=-3,zo(a));break;default:zo(a)}l=l.sibling}}function cl(l,a){for(;vt!==null;){var u=vt;switch(u.tag){case 0:case 11:case 15:Ga(8,u,a);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var c=u.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:Ii(u.memoizedState.cache)}if(c=u.child,c!==null)c.return=u,vt=c;else e:for(u=l;vt!==null;){c=vt;var f=c.sibling,r=c.return;if(rd(c),c===u){vt=null;break e}if(f!==null){f.return=r,vt=f;break e}vt=r}}}var Ng={getCacheForType:function(l){var a=Lt(Xt),u=a.data.get(l);return u===void 0&&(u=l(),a.data.set(l,u)),u},cacheSignal:function(){return Lt(Xt).controller.signal}},py=typeof WeakMap=="function"?WeakMap:Map,ut=0,yt=null,_e=null,Ie=0,it=0,na=null,Zn=!1,mc=!1,Wm=!1,Xa=0,Bt=0,Uu=0,Hu=0,Fm=0,Qa=0,Do=0,_f=null,ua=null,pd=!1,Im=0,Rf=1/0,on=null,Ti=null,el=0,wu=null,pc=null,Oo=0,Pm=0,ep=null,yy=null,Cf=0,tp=null;function Jl(){return(ut&2)!==0&&Ie!==0?Ie&-Ie:z.T!==null?wf():Hi()}function gy(){Qa===0&&(Qa=(Ie&536870912)===0||Ve?Nh():536870912);var l=ga.current;return l!==null&&(l.flags|=32),Qa}function ia(l,a,u){(l===yt&&(it===2||it===9)||l.cancelPendingCommit!==null)&&(yc(l,0),Ei(l,Ie,Qa,!1)),Sn(l,u),((ut&2)===0||l!==yt)&&(l===yt&&((ut&2)===0&&(Hu|=u),Bt===4&&Ei(l,Ie,Qa,!1)),sn(l))}function lp(l,a,u){if((ut&6)!==0)throw Error(E(327));var c=!u&&(a&124)===0&&(a&l.expiredLanes)===0||Yc(l,a),f=c?Uf(l,a):Sd(l,a,!0),r=c;do{if(f===0){mc&&!c&&Ei(l,a,0,!1);break}else{if(u=l.current.alternate,r&&!ap(u)){f=Sd(l,a,!1),r=!1;continue}if(f===2){if(r=a,l.errorRecoveryDisabledLanes&r)var m=0;else m=l.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){a=m;e:{var p=l;f=_f;var A=p.current.memoizedState.isDehydrated;if(A&&(yc(p,m).flags|=256),m=Sd(p,m,!1),m!==2){if(Wm&&!A){p.errorRecoveryDisabledLanes|=r,Hu|=r,f=4;break e}r=ua,ua=f,r!==null&&(ua===null?ua=r:ua.push.apply(ua,r))}f=m}if(r=!1,f!==2)continue}}if(f===1){yc(l,0),Ei(l,a,0,!0);break}e:{switch(c=l,r=f,r){case 0:case 1:throw Error(E(345));case 4:if((a&4194048)!==a)break;case 6:Ei(c,a,Qa,!Zn);break e;case 2:ua=null;break;case 3:case 5:break;default:throw Error(E(329))}if((a&62914560)===a&&(f=Im+300-Nl(),10<f)){if(Ei(c,a,Qa,!Zn),ps(c,0,!0)!==0)break e;c.timeoutHandle=mp(yd.bind(null,c,u,ua,on,pd,a,Qa,Hu,Do,Zn,r,2,-0,0),f);break e}yd(c,u,ua,on,pd,a,Qa,Hu,Do,Zn,r,0,-0,0)}}break}while(!0);sn(l)}function yd(l,a,u,c,f,r,m,p,A,U,Z,F,H,N){if(l.timeoutHandle=-1,F=a.subtreeFlags,(F&8192||(F&16785408)===16785408)&&(sa={stylesheets:null,count:0,unsuspend:Tn},$m(a),F=Vd(),F!==null)){l.cancelPendingCommit=F(cp.bind(null,l,a,r,u,c,f,m,p,A,Z,1,H,N)),Ei(l,r,m,!U);return}cp(l,a,r,u,c,f,m,p,A)}function ap(l){for(var a=l;;){var u=a.tag;if((u===0||u===11||u===15)&&a.flags&16384&&(u=a.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var c=0;c<u.length;c++){var f=u[c],r=f.getSnapshot;f=f.value;try{if(!Dl(r(),f))return!1}catch{return!1}}if(u=a.child,a.subtreeFlags&16384&&u!==null)u.return=a,a=u;else{if(a===l)break;for(;a.sibling===null;){if(a.return===null||a.return===l)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ei(l,a,u,c){a&=~Fm,a&=~Hu,l.suspendedLanes|=a,l.pingedLanes&=~a,c&&(l.warmLanes|=a),c=l.expirationTimes;for(var f=a;0<f;){var r=31-Bl(f),m=1<<r;c[r]=-1,f&=~m}u!==0&&Vc(l,u,a)}function Hl(){return(ut&6)===0?(bc(0),!1):!0}function gd(){if(_e!==null){if(it===0)var l=_e.return;else l=_e,tn=We=null,Zr(l),Au=null,ac=0,l=_e;for(;l!==null;)sy(l.alternate,l),l=l.return;_e=null}}function yc(l,a){var u=l.timeoutHandle;u!==-1&&(l.timeoutHandle=-1,Qg(u)),u=l.cancelPendingCommit,u!==null&&(l.cancelPendingCommit=null,u()),gd(),yt=l,_e=u=Na(l.current,null),Ie=a,it=0,na=null,Zn=!1,mc=Yc(l,a),Wm=!1,Do=Qa=Fm=Hu=Uu=Bt=0,ua=_f=null,pd=!1,(a&8)!==0&&(a|=a&32);var c=l.entangledLanes;if(c!==0)for(l=l.entanglements,c&=a;0<c;){var f=31-Bl(c),r=1<<f;a|=l[f],c&=~r}return Xa=a,ws(),u}function vd(l,a){Ge=null,z.H=bl,a===Hn||a===Ks?(a=ri(),it=3):a===fo?(a=ri(),it=4):it=a===id?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,na=a,_e===null&&(Bt=1,yf(l,Vl(a,l.current)))}function np(){var l=ga.current;return l===null?!0:(Ie&4194048)===Ie?va===null:(Ie&62914560)===Ie||(Ie&536870912)!==0?l===va:!1}function vy(){var l=z.H;return z.H=bl,l===null?bl:l}function by(){var l=z.A;return z.A=Ng,l}function bd(){Bt=4,Zn||(Ie&4194048)!==Ie&&ga.current!==null||(mc=!0),(Uu&134217727)===0&&(Hu&134217727)===0||yt===null||Ei(yt,Ie,Qa,!1)}function Sd(l,a,u){var c=ut;ut|=2;var f=vy(),r=by();(yt!==l||Ie!==a)&&(on=null,yc(l,a)),a=!1;var m=Bt;e:do try{if(it!==0&&_e!==null){var p=_e,A=na;switch(it){case 8:gd(),m=6;break e;case 3:case 2:case 9:case 6:ga.current===null&&(a=!0);var U=it;if(it=0,na=null,Nu(l,p,A,U),u&&mc){m=0;break e}break;default:U=it,it=0,na=null,Nu(l,p,A,U)}}Bg(),m=Bt;break}catch(Z){vd(l,Z)}while(!0);return a&&l.shellSuspendCounter++,tn=We=null,ut=c,z.H=f,z.A=r,_e===null&&(yt=null,Ie=0,ws()),m}function Bg(){for(;_e!==null;)up(_e)}function Uf(l,a){var u=ut;ut|=2;var c=vy(),f=by();yt!==l||Ie!==a?(on=null,Rf=Nl()+500,yc(l,a)):mc=Yc(l,a);e:do try{if(it!==0&&_e!==null){a=_e;var r=na;t:switch(it){case 1:it=0,na=null,Nu(l,a,r,1);break;case 2:case 9:if($s(r)){it=0,na=null,ip(a);break}a=function(){it!==2&&it!==9||yt!==l||(it=7),sn(l)},r.then(a,a);break e;case 3:it=7;break e;case 4:it=5;break e;case 7:$s(r)?(it=0,na=null,ip(a)):(it=0,na=null,Nu(l,a,r,7));break;case 5:var m=null;switch(_e.tag){case 26:m=_e.memoizedState;case 5:case 27:var p=_e;if(m?Aa(m):p.stateNode.complete){it=0,na=null;var A=p.sibling;if(A!==null)_e=A;else{var U=p.return;U!==null?(_e=U,Bu(U)):_e=null}break t}}it=0,na=null,Nu(l,a,r,5);break;case 6:it=0,na=null,Nu(l,a,r,6);break;case 8:gd(),Bt=6;break e;default:throw Error(E(462))}}Td();break}catch(Z){vd(l,Z)}while(!0);return tn=We=null,z.H=c,z.A=f,ut=u,_e!==null?0:(yt=null,Ie=0,ws(),Bt)}function Td(){for(;_e!==null&&!g0();)up(_e)}function up(l){var a=Vm(l.alternate,l,Xa);l.memoizedProps=l.pendingProps,a===null?Bu(l):_e=a}function ip(l){var a=l,u=a.alternate;switch(a.tag){case 15:case 0:a=Bm(u,a,a.pendingProps,a.type,void 0,Ie);break;case 11:a=Bm(u,a,a.pendingProps,a.type.render,a.ref,Ie);break;case 5:Zr(a);default:sy(u,a),a=_e=om(a,Xa),a=Vm(u,a,Xa)}l.memoizedProps=l.pendingProps,a===null?Bu(l):_e=a}function Nu(l,a,u,c){tn=We=null,Zr(a),Au=null,ac=0;var f=a.return;try{if(ay(l,f,a,u,Ie)){Bt=1,yf(l,Vl(u,l.current)),_e=null;return}}catch(r){if(f!==null)throw _e=f,r;Bt=1,yf(l,Vl(u,l.current)),_e=null;return}a.flags&32768?(Ve||c===1?l=!0:mc||(Ie&536870912)!==0?l=!1:(Zn=l=!0,(c===2||c===9||c===3||c===6)&&(c=ga.current,c!==null&&c.tag===13&&(c.flags|=16384))),_o(a,l)):Bu(a)}function Bu(l){var a=l;do{if((a.flags&32768)!==0){_o(a,Zn);return}l=a.return;var u=cy(a.alternate,a,Xa);if(u!==null){_e=u;return}if(a=a.sibling,a!==null){_e=a;return}_e=a=l}while(a!==null);Bt===0&&(Bt=5)}function _o(l,a){do{var u=oy(l.alternate,l);if(u!==null){u.flags&=32767,_e=u;return}if(u=l.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!a&&(l=l.sibling,l!==null)){_e=l;return}_e=l=u}while(l!==null);Bt=6,_e=null}function cp(l,a,u,c,f,r,m,p,A){l.cancelPendingCommit=null;do vc();while(el!==0);if((ut&6)!==0)throw Error(E(327));if(a!==null){if(a===l.current)throw Error(E(177));if(r=a.lanes|a.childLanes,r|=Ur,Pu(l,u,r,m,p,A),l===yt&&(_e=yt=null,Ie=0),pc=a,wu=l,Oo=u,Pm=r,ep=f,yy=c,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,Md(rr,function(){return Ed(),null})):(l.callbackNode=null,l.callbackPriority=0),c=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||c){c=z.T,z.T=null,f=J.p,J.p=2,m=ut,ut|=4;try{zf(l,a,u)}finally{ut=m,J.p=f,z.T=c}}el=1,Sy(),gc(),Ro()}}function Sy(){if(el===1){el=0;var l=wu,a=pc,u=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||u){u=z.T,z.T=null;var c=J.p;J.p=2;var f=ut;ut|=4;try{km(a,l);var r=Ec,m=ki(l.containerInfo),p=r.focusedElem,A=r.selectionRange;if(m!==p&&p&&p.ownerDocument&&Or(p.ownerDocument.documentElement,p)){if(A!==null&&Pc(p)){var U=A.start,Z=A.end;if(Z===void 0&&(Z=U),"selectionStart"in p)p.selectionStart=U,p.selectionEnd=Math.min(Z,p.value.length);else{var F=p.ownerDocument||document,H=F&&F.defaultView||window;if(H.getSelection){var N=H.getSelection(),fe=p.textContent.length,ge=Math.min(A.start,fe),ft=A.end===void 0?ge:Math.min(A.end,fe);!N.extend&&ge>ft&&(m=ft,ft=ge,ge=m);var D=Dr(p,ge),M=Dr(p,ft);if(D&&M&&(N.rangeCount!==1||N.anchorNode!==D.node||N.anchorOffset!==D.offset||N.focusNode!==M.node||N.focusOffset!==M.offset)){var _=F.createRange();_.setStart(D.node,D.offset),N.removeAllRanges(),ge>ft?(N.addRange(_),N.extend(M.node,M.offset)):(_.setEnd(M.node,M.offset),N.addRange(_))}}}}for(F=[],N=p;N=N.parentNode;)N.nodeType===1&&F.push({element:N,left:N.scrollLeft,top:N.scrollTop});for(typeof p.focus=="function"&&p.focus(),p=0;p<F.length;p++){var X=F[p];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}Ld=!!Za,Ec=Za=null}finally{ut=f,J.p=c,z.T=u}}l.current=a,el=2}}function gc(){if(el===2){el=0;var l=wu,a=pc,u=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||u){u=z.T,z.T=null;var c=J.p;J.p=2;var f=ut;ut|=4;try{hy(l,a.alternate,a)}finally{ut=f,J.p=c,z.T=u}}el=3}}function Ro(){if(el===4||el===3){el=0,ss();var l=wu,a=pc,u=Oo,c=yy;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?el=5:(el=0,pc=wu=null,op(l,l.pendingLanes));var f=l.pendingLanes;if(f===0&&(Ti=null),ei(u),a=a.stateNode,Wl&&typeof Wl.onCommitFiberRoot=="function")try{Wl.onCommitFiberRoot(rs,a,void 0,(a.current.flags&128)===128)}catch{}if(c!==null){a=z.T,f=J.p,J.p=2,z.T=null;try{for(var r=l.onRecoverableError,m=0;m<c.length;m++){var p=c[m];r(p.value,{componentStack:p.stack})}}finally{z.T=a,J.p=f}}(Oo&3)!==0&&vc(),sn(l),f=l.pendingLanes,(u&4194090)!==0&&(f&42)!==0?l===tp?Cf++:(Cf=0,tp=l):Cf=0,bc(0)}}function op(l,a){(l.pooledCacheLanes&=a)===0&&(a=l.pooledCache,a!=null&&(l.pooledCache=null,Ii(a)))}function vc(l){return Sy(),gc(),Ro(),Ed()}function Ed(){if(el!==5)return!1;var l=wu,a=Pm;Pm=0;var u=ei(Oo),c=z.T,f=J.p;try{J.p=32>u?32:u,z.T=null,u=ep,ep=null;var r=wu,m=Oo;if(el=0,pc=wu=null,Oo=0,(ut&6)!==0)throw Error(E(331));var p=ut;if(ut|=4,rt(r.current),Km(r,r.current,m,u),ut=p,bc(0,!1),Wl&&typeof Wl.onPostCommitFiberRoot=="function")try{Wl.onPostCommitFiberRoot(rs,r)}catch{}return!0}finally{J.p=f,z.T=c,op(l,a)}}function Ad(l,a,u){a=Vl(u,a),a=ud(l.stateNode,a,2),l=Mu(l,a,2),l!==null&&(Sn(l,2),sn(l))}function st(l,a,u){if(l.tag===3)Ad(l,l,u);else for(;a!==null;){if(a.tag===3){Ad(a,l,u);break}else if(a.tag===1){var c=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Ti===null||!Ti.has(c))){l=Vl(u,l),u=Eo(2),c=Mu(a,u,2),c!==null&&(rc(u,c,a,l),Sn(c,2),sn(c));break}}a=a.return}}function xd(l,a,u){var c=l.pingCache;if(c===null){c=l.pingCache=new py;var f=new Set;c.set(a,f)}else f=c.get(a),f===void 0&&(f=new Set,c.set(a,f));f.has(u)||(Wm=!0,f.add(u),l=jg.bind(null,l,a,u),a.then(l,l))}function jg(l,a,u){var c=l.pingCache;c!==null&&c.delete(a),l.pingedLanes|=l.suspendedLanes&u,l.warmLanes&=~u,yt===l&&(Ie&u)===u&&(Bt===4||Bt===3&&(Ie&62914560)===Ie&&300>Nl()-Im?(ut&2)===0&&yc(l,0):Fm|=u,Do===Ie&&(Do=0)),sn(l)}function sp(l,a){a===0&&(a=Bh()),l=ci(l,a),l!==null&&(Sn(l,a),sn(l))}function qg(l){var a=l.memoizedState,u=0;a!==null&&(u=a.retryLane),sp(l,u)}function Yg(l,a){var u=0;switch(l.tag){case 31:case 13:var c=l.stateNode,f=l.memoizedState;f!==null&&(u=f.retryLane);break;case 19:c=l.stateNode;break;case 22:c=l.stateNode._retryCache;break;default:throw Error(E(314))}c!==null&&c.delete(a),sp(l,u)}function Md(l,a){return Tt(l,a)}var Co=null,Uo=null,fp=!1,Hf=!1,zd=!1,Jn=0;function sn(l){l!==Uo&&l.next===null&&(Uo===null?Co=Uo=l:Uo=Uo.next=l),Hf=!0,fp||(fp=!0,Vg())}function bc(l,a){if(!zd&&Hf){zd=!0;do for(var u=!1,c=Co;c!==null;){if(l!==0){var f=c.pendingLanes;if(f===0)var r=0;else{var m=c.suspendedLanes,p=c.pingedLanes;r=(1<<31-Bl(42|l)+1)-1,r&=f&~(m&~p),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(u=!0,xy(c,r))}else r=Ie,r=ps(c,c===yt?r:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(r&3)===0||Yc(c,r)||(u=!0,xy(c,r));c=c.next}while(u);zd=!1}}function Ty(){rp()}function rp(){Hf=fp=!1;var l=0;Jn!==0&&Xg()&&(l=Jn);for(var a=Nl(),u=null,c=Co;c!==null;){var f=c.next,r=Ey(c,a);r===0?(c.next=null,u===null?Co=f:u.next=f,f===null&&(Uo=u)):(u=c,(l!==0||(r&3)!==0)&&(Hf=!0)),c=f}el!==0&&el!==5||bc(l),Jn!==0&&(Jn=0)}function Ey(l,a){for(var u=l.suspendedLanes,c=l.pingedLanes,f=l.expirationTimes,r=l.pendingLanes&-62914561;0<r;){var m=31-Bl(r),p=1<<m,A=f[m];A===-1?((p&u)===0||(p&c)!==0)&&(f[m]=wh(p,a)):A<=a&&(l.expiredLanes|=p),r&=~p}if(a=yt,u=Ie,u=ps(l,l===a?u:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),c=l.callbackNode,u===0||l===a&&(it===2||it===9)||l.cancelPendingCommit!==null)return c!==null&&c!==null&&Uh(c),l.callbackNode=null,l.callbackPriority=0;if((u&3)===0||Yc(l,u)){if(a=u&-u,a===l.callbackPriority)return a;switch(c!==null&&Uh(c),ei(u)){case 2:case 8:u=qc;break;case 32:u=rr;break;case 268435456:u=Iu;break;default:u=rr}return c=Ay.bind(null,l),u=Tt(u,c),l.callbackPriority=a,l.callbackNode=u,a}return c!==null&&c!==null&&Uh(c),l.callbackPriority=2,l.callbackNode=null,2}function Ay(l,a){if(el!==0&&el!==5)return l.callbackNode=null,l.callbackPriority=0,null;var u=l.callbackNode;if(vc()&&l.callbackNode!==u)return null;var c=Ie;return c=ps(l,l===yt?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),c===0?null:(lp(l,c,a),Ey(l,Nl()),l.callbackNode!=null&&l.callbackNode===u?Ay.bind(null,l):null)}function xy(l,a){if(vc())return null;lp(l,a,!0)}function Vg(){B(function(){(ut&6)!==0?Tt(Hh,Ty):rp()})}function wf(){if(Jn===0){var l=ec;Jn=l!==0?l:Nh()}return Jn}function Dd(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Ss(""+l)}function Od(l,a){var u=a.ownerDocument.createElement("input");return u.name=a.name,u.value=a.value,l.id&&u.setAttribute("form",l.id),a.parentNode.insertBefore(u,a),l=new FormData(l),u.parentNode.removeChild(u),l}function My(l,a,u,c,f){if(a==="submit"&&u&&u.stateNode===f){var r=Dd((f[ml]||null).action),m=c.submitter;m&&(a=(a=m[ml]||null)?Dd(a.formAction):m.getAttribute("formAction"),a!==null&&(r=a,m=null));var p=new As("action","action",null,c,f);l.push({event:p,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Jn!==0){var A=m?Od(f,m):new FormData(f);df(u,{pending:!0,data:A,method:f.method,action:r},null,A)}}else typeof r=="function"&&(p.preventDefault(),A=m?Od(f,m):new FormData(f),df(u,{pending:!0,data:A,method:f.method,action:r},r,A))},currentTarget:f}]})}}for(var _d=0;_d<Cr.length;_d++){var Sc=Cr[_d],Gg=Sc.toLowerCase(),zy=Sc[0].toUpperCase()+Sc.slice(1);Ia(Gg,"on"+zy)}Ia(ea,"onAnimationEnd"),Ia(_r,"onAnimationIteration"),Ia(Rr,"onAnimationStart"),Ia("dblclick","onDoubleClick"),Ia("focusin","onFocus"),Ia("focusout","onBlur"),Ia(B0,"onTransitionRun"),Ia(Mn,"onTransitionStart"),Ia(zn,"onTransitionCancel"),Ia(no,"onTransitionEnd"),ji("onMouseEnter",["mouseout","mouseover"]),ji("onMouseLeave",["mouseout","mouseover"]),ji("onPointerEnter",["pointerout","pointerover"]),ji("onPointerLeave",["pointerout","pointerover"]),Ca("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ca("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ca("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ca("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ca("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ca("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ai="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(" "),Dy=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ai));function Oy(l,a){a=(a&4)!==0;for(var u=0;u<l.length;u++){var c=l[u],f=c.event;c=c.listeners;e:{var r=void 0;if(a)for(var m=c.length-1;0<=m;m--){var p=c[m],A=p.instance,U=p.currentTarget;if(p=p.listener,A!==r&&f.isPropagationStopped())break e;r=p,f.currentTarget=U;try{r(f)}catch(Z){uo(Z)}f.currentTarget=null,r=A}else for(m=0;m<c.length;m++){if(p=c[m],A=p.instance,U=p.currentTarget,p=p.listener,A!==r&&f.isPropagationStopped())break e;r=p,f.currentTarget=U;try{r(f)}catch(Z){uo(Z)}f.currentTarget=null,r=A}}}}function Le(l,a){var u=a[Il];u===void 0&&(u=a[Il]=new Set);var c=l+"__bubble";u.has(c)||(Ud(a,l,2,!1),u.add(c))}function Rd(l,a,u){var c=0;a&&(c|=4),Ud(u,l,c,a)}var ju="_reactListening"+Math.random().toString(36).slice(2);function Cd(l){if(!l[ju]){l[ju]=!0,jh.forEach(function(u){u!=="selectionchange"&&(Dy.has(u)||Rd(u,!1,l),Rd(u,!0,l))});var a=l.nodeType===9?l:l.ownerDocument;a===null||a[ju]||(a[ju]=!0,Rd("selectionchange",!1,a))}}function Ud(l,a,u,c){switch(xp(a)){case 2:var f=Ny;break;case 8:f=By;break;default:f=Ap}u=f.bind(null,a,u,l),f=void 0,!vr||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(f=!0),c?f!==void 0?l.addEventListener(a,u,{capture:!0,passive:f}):l.addEventListener(a,u,!0):f!==void 0?l.addEventListener(a,u,{passive:f}):l.addEventListener(a,u,!1)}function Ho(l,a,u,c,f){var r=c;if((a&1)===0&&(a&2)===0&&c!==null)e:for(;;){if(c===null)return;var m=c.tag;if(m===3||m===4){var p=c.stateNode.containerInfo;if(p===f)break;if(m===4)for(m=c.return;m!==null;){var A=m.tag;if((A===3||A===4)&&m.stateNode.containerInfo===f)return;m=m.return}for(;p!==null;){if(m=pl(p),m===null)return;if(A=m.tag,A===5||A===6||A===26||A===27){c=r=m;continue e}p=p.parentNode}}c=c.return}Kc(function(){var U=r,Z=gr(u),F=[];e:{var H=j0.get(l);if(H!==void 0){var N=As,fe=l;switch(l){case"keypress":if(Es(u)===0)break e;case"keydown":case"keyup":N=Li;break;case"focusin":fe="focus",N=$h;break;case"focusout":fe="blur",N=$h;break;case"beforeblur":case"afterblur":N=$h;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":N=Ms;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":N=z0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":N=Ih;break;case ea:case _r:case Rr:N=Ug;break;case no:N=C0;break;case"scroll":case"scrollend":N=Rg;break;case"wheel":N=Xi;break;case"copy":case"cut":case"paste":N=wg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":N=Ds;break;case"toggle":case"beforetoggle":N=U0}var ge=(a&4)!==0,ft=!ge&&(l==="scroll"||l==="scrollend"),D=ge?H!==null?H+"Capture":null:H;ge=[];for(var M=U,_;M!==null;){var X=M;if(_=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||_===null||D===null||(X=da(M,D),X!=null&&ge.push(wo(M,X,_))),ft)break;M=M.return}0<ge.length&&(H=new N(H,fe,null,u,Z),F.push({event:H,listeners:ge}))}}if((a&7)===0){e:{if(H=l==="mouseover"||l==="pointerover",N=l==="mouseout"||l==="pointerout",H&&u!==Yi&&(fe=u.relatedTarget||u.fromElement)&&(pl(fe)||fe[Fl]))break e;if((N||H)&&(H=Z.window===Z?Z:(H=Z.ownerDocument)?H.defaultView||H.parentWindow:window,N?(fe=u.relatedTarget||u.toElement,N=U,fe=fe?pl(fe):null,fe!==null&&(ft=K(fe),ge=fe.tag,fe!==ft||ge!==5&&ge!==27&&ge!==6)&&(fe=null)):(N=null,fe=U),N!==fe)){if(ge=Ms,X="onMouseLeave",D="onMouseEnter",M="mouse",(l==="pointerout"||l==="pointerover")&&(ge=Ds,X="onPointerLeave",D="onPointerEnter",M="pointer"),ft=N==null?H:Ni(N),_=fe==null?H:Ni(fe),H=new ge(X,M+"leave",N,u,Z),H.target=ft,H.relatedTarget=_,X=null,pl(Z)===U&&(ge=new ge(D,M+"enter",fe,u,Z),ge.target=_,ge.relatedTarget=ft,X=ge),ft=X,N&&fe)t:{for(ge=dp,D=N,M=fe,_=0,X=D;X;X=ge(X))_++;X=0;for(var me=M;me;me=ge(me))X++;for(;0<_-X;)D=ge(D),_--;for(;0<X-_;)M=ge(M),X--;for(;_--;){if(D===M||M!==null&&D===M.alternate){ge=D;break t}D=ge(D),M=ge(M)}ge=null}else ge=null;N!==null&&_y(F,H,N,ge,!1),fe!==null&&ft!==null&&_y(F,ft,fe,ge,!0)}}e:{if(H=U?Ni(U):window,N=H.nodeName&&H.nodeName.toLowerCase(),N==="select"||N==="input"&&H.type==="file")var Je=mu;else if(An(H))if(ui)Je=Us;else{Je=Ji;var ie=Ic}else N=H.nodeName,!N||N.toLowerCase()!=="input"||H.type!=="checkbox"&&H.type!=="radio"?U&&Zc(U.elementType)&&(Je=mu):Je=im;if(Je&&(Je=Je(l,U))){am(F,Je,u,Z);break e}ie&&ie(l,H,U),l==="focusout"&&U&&H.type==="number"&&U.memoizedProps.value!=null&&vs(H,"number",H.value)}switch(ie=U?Ni(U):window,l){case"focusin":(An(ie)||ie.contentEditable==="true")&&(ot=ie,eo=U,to=null);break;case"focusout":to=eo=ot=null;break;case"mousedown":Hs=!0;break;case"contextmenu":case"mouseup":case"dragend":Hs=!1,ii(F,u,Z);break;case"selectionchange":if(Ki)break;case"keydown":case"keyup":ii(F,u,Z)}var Ne;if(Os)e:{switch(l){case"compositionstart":var Qe="onCompositionStart";break e;case"compositionend":Qe="onCompositionEnd";break e;case"compositionupdate":Qe="onCompositionUpdate";break e}Qe=void 0}else ni?Rs(l,u)&&(Qe="onCompositionEnd"):l==="keydown"&&u.keyCode===229&&(Qe="onCompositionStart");Qe&&(En&&u.locale!=="ko"&&(ni||Qe!=="onCompositionStart"?Qe==="onCompositionEnd"&&ni&&(Ne=Ts()):(Ha=Z,br="value"in Ha?Ha.value:Ha.textContent,ni=!0)),ie=jt(U,Qe),0<ie.length&&(Qe=new Wh(Qe,l,null,u,Z),F.push({event:Qe,listeners:ie}),Ne?Qe.data=Ne:(Ne=ai(u),Ne!==null&&(Qe.data=Ne)))),(Ne=em?w0(l,u):lm(l,u))&&(Qe=jt(U,"onBeforeInput"),0<Qe.length&&(ie=new Wh("onBeforeInput","beforeinput",null,u,Z),F.push({event:ie,listeners:Qe}),ie.data=Ne)),My(F,l,U,u,Z)}Oy(F,a)})}function wo(l,a,u){return{instance:l,listener:a,currentTarget:u}}function jt(l,a){for(var u=a+"Capture",c=[];l!==null;){var f=l,r=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||r===null||(f=da(l,u),f!=null&&c.unshift(wo(l,f,r)),f=da(l,a),f!=null&&c.push(wo(l,f,r))),l.tag===3)return c;l=l.return}return[]}function dp(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function _y(l,a,u,c,f){for(var r=a._reactName,m=[];u!==null&&u!==c;){var p=u,A=p.alternate,U=p.stateNode;if(p=p.tag,A!==null&&A===c)break;p!==5&&p!==26&&p!==27||U===null||(A=U,f?(U=da(u,r),U!=null&&m.unshift(wo(u,U,A))):f||(U=da(u,r),U!=null&&m.push(wo(u,U,A)))),u=u.return}m.length!==0&&l.push({event:a,listeners:m})}var Xe=/\r\n?/g,Lg=/\u0000|\uFFFD/g;function qu(l){return(typeof l=="string"?l:""+l).replace(Xe,`
740
+ `).replace(Lg,"")}function Tc(l,a){return a=qu(a),qu(l)===a}function tt(l,a,u,c,f,r){switch(u){case"children":typeof c=="string"?a==="body"||a==="textarea"&&c===""||qi(l,c):(typeof c=="number"||typeof c=="bigint")&&a!=="body"&&qi(l,""+c);break;case"className":du(l,"class",c);break;case"tabIndex":du(l,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":du(l,u,c);break;case"style":yr(l,c,r);break;case"data":if(a!=="object"){du(l,"data",c);break}case"src":case"href":if(c===""&&(a!=="a"||u!=="href")){l.removeAttribute(u);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){l.removeAttribute(u);break}c=Ss(""+c),l.setAttribute(u,c);break;case"action":case"formAction":if(typeof c=="function"){l.setAttribute(u,"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 r=="function"&&(u==="formAction"?(a!=="input"&&tt(l,a,"name",f.name,f,null),tt(l,a,"formEncType",f.formEncType,f,null),tt(l,a,"formMethod",f.formMethod,f,null),tt(l,a,"formTarget",f.formTarget,f,null)):(tt(l,a,"encType",f.encType,f,null),tt(l,a,"method",f.method,f,null),tt(l,a,"target",f.target,f,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){l.removeAttribute(u);break}c=Ss(""+c),l.setAttribute(u,c);break;case"onClick":c!=null&&(l.onclick=Tn);break;case"onScroll":c!=null&&Le("scroll",l);break;case"onScrollEnd":c!=null&&Le("scrollend",l);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(E(61));if(u=c.__html,u!=null){if(f.children!=null)throw Error(E(60));l.innerHTML=u}}break;case"multiple":l.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":l.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){l.removeAttribute("xlink:href");break}u=Ss(""+c),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,""+c):l.removeAttribute(u);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,""):l.removeAttribute(u);break;case"capture":case"download":c===!0?l.setAttribute(u,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,c):l.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?l.setAttribute(u,c):l.removeAttribute(u);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?l.removeAttribute(u):l.setAttribute(u,c);break;case"popover":Le("beforetoggle",l),Le("toggle",l),Ml(l,"popover",c);break;case"xlinkActuate":jl(l,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":jl(l,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":jl(l,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":jl(l,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":jl(l,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":jl(l,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":jl(l,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":jl(l,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":jl(l,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":Ml(l,"is",c);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=bs.get(u)||u,Ml(l,u,c))}}function No(l,a,u,c,f,r){switch(u){case"style":yr(l,c,r);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(E(61));if(u=c.__html,u!=null){if(f.children!=null)throw Error(E(60));l.innerHTML=u}}break;case"children":typeof c=="string"?qi(l,c):(typeof c=="number"||typeof c=="bigint")&&qi(l,""+c);break;case"onScroll":c!=null&&Le("scroll",l);break;case"onScrollEnd":c!=null&&Le("scrollend",l);break;case"onClick":c!=null&&(l.onclick=Tn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!qh.hasOwnProperty(u))e:{if(u[0]==="o"&&u[1]==="n"&&(f=u.endsWith("Capture"),a=u.slice(2,f?u.length-7:void 0),r=l[ml]||null,r=r!=null?r[u]:null,typeof r=="function"&&l.removeEventListener(a,r,f),typeof c=="function")){typeof r!="function"&&r!==null&&(u in l?l[u]=null:l.hasAttribute(u)&&l.removeAttribute(u)),l.addEventListener(a,c,f);break e}u in l?l[u]=c:c===!0?l.setAttribute(u,""):Ml(l,u,c)}}}function tl(l,a,u){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Le("error",l),Le("load",l);var c=!1,f=!1,r;for(r in u)if(u.hasOwnProperty(r)){var m=u[r];if(m!=null)switch(r){case"src":c=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(E(137,a));default:tt(l,a,r,m,u,null)}}f&&tt(l,a,"srcSet",u.srcSet,u,null),c&&tt(l,a,"src",u.src,u,null);return;case"input":Le("invalid",l);var p=r=m=f=null,A=null,U=null;for(c in u)if(u.hasOwnProperty(c)){var Z=u[c];if(Z!=null)switch(c){case"name":f=Z;break;case"type":m=Z;break;case"checked":A=Z;break;case"defaultChecked":U=Z;break;case"value":r=Z;break;case"defaultValue":p=Z;break;case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(E(137,a));break;default:tt(l,a,c,Z,u,null)}}Xh(l,r,p,A,U,m,f,!1);return;case"select":Le("invalid",l),c=m=r=null;for(f in u)if(u.hasOwnProperty(f)&&(p=u[f],p!=null))switch(f){case"value":r=p;break;case"defaultValue":m=p;break;case"multiple":c=p;default:tt(l,a,f,p,u,null)}a=r,u=m,l.multiple=!!c,a!=null?ti(l,!!c,a,!1):u!=null&&ti(l,!!c,u,!0);return;case"textarea":Le("invalid",l),r=f=c=null;for(m in u)if(u.hasOwnProperty(m)&&(p=u[m],p!=null))switch(m){case"value":c=p;break;case"defaultValue":f=p;break;case"children":r=p;break;case"dangerouslySetInnerHTML":if(p!=null)throw Error(E(91));break;default:tt(l,a,m,p,u,null)}Zh(l,c,f,r);return;case"option":for(A in u)if(u.hasOwnProperty(A)&&(c=u[A],c!=null))switch(A){case"selected":l.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:tt(l,a,A,c,u,null)}return;case"dialog":Le("beforetoggle",l),Le("toggle",l),Le("cancel",l),Le("close",l);break;case"iframe":case"object":Le("load",l);break;case"video":case"audio":for(c=0;c<Ai.length;c++)Le(Ai[c],l);break;case"image":Le("error",l),Le("load",l);break;case"details":Le("toggle",l);break;case"embed":case"source":case"link":Le("error",l),Le("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(U in u)if(u.hasOwnProperty(U)&&(c=u[U],c!=null))switch(U){case"children":case"dangerouslySetInnerHTML":throw Error(E(137,a));default:tt(l,a,U,c,u,null)}return;default:if(Zc(a)){for(Z in u)u.hasOwnProperty(Z)&&(c=u[Z],c!==void 0&&No(l,a,Z,c,u,void 0));return}}for(p in u)u.hasOwnProperty(p)&&(c=u[p],c!=null&&tt(l,a,p,c,u,null))}function hp(l,a,u,c){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,r=null,m=null,p=null,A=null,U=null,Z=null;for(N in u){var F=u[N];if(u.hasOwnProperty(N)&&F!=null)switch(N){case"checked":break;case"value":break;case"defaultValue":A=F;default:c.hasOwnProperty(N)||tt(l,a,N,null,c,F)}}for(var H in c){var N=c[H];if(F=u[H],c.hasOwnProperty(H)&&(N!=null||F!=null))switch(H){case"type":r=N;break;case"name":f=N;break;case"checked":U=N;break;case"defaultChecked":Z=N;break;case"value":m=N;break;case"defaultValue":p=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(E(137,a));break;default:N!==F&&tt(l,a,H,N,c,F)}}Lh(l,m,p,A,U,Z,r,f);return;case"select":N=m=p=H=null;for(r in u)if(A=u[r],u.hasOwnProperty(r)&&A!=null)switch(r){case"value":break;case"multiple":N=A;default:c.hasOwnProperty(r)||tt(l,a,r,null,c,A)}for(f in c)if(r=c[f],A=u[f],c.hasOwnProperty(f)&&(r!=null||A!=null))switch(f){case"value":H=r;break;case"defaultValue":p=r;break;case"multiple":m=r;default:r!==A&&tt(l,a,f,r,c,A)}a=p,u=m,c=N,H!=null?ti(l,!!u,H,!1):!!c!=!!u&&(a!=null?ti(l,!!u,a,!0):ti(l,!!u,u?[]:"",!1));return;case"textarea":N=H=null;for(p in u)if(f=u[p],u.hasOwnProperty(p)&&f!=null&&!c.hasOwnProperty(p))switch(p){case"value":break;case"children":break;default:tt(l,a,p,null,c,f)}for(m in c)if(f=c[m],r=u[m],c.hasOwnProperty(m)&&(f!=null||r!=null))switch(m){case"value":H=f;break;case"defaultValue":N=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(E(91));break;default:f!==r&&tt(l,a,m,f,c,r)}Qh(l,H,N);return;case"option":for(var fe in u)if(H=u[fe],u.hasOwnProperty(fe)&&H!=null&&!c.hasOwnProperty(fe))switch(fe){case"selected":l.selected=!1;break;default:tt(l,a,fe,null,c,H)}for(A in c)if(H=c[A],N=u[A],c.hasOwnProperty(A)&&H!==N&&(H!=null||N!=null))switch(A){case"selected":l.selected=H&&typeof H!="function"&&typeof H!="symbol";break;default:tt(l,a,A,H,c,N)}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 ge in u)H=u[ge],u.hasOwnProperty(ge)&&H!=null&&!c.hasOwnProperty(ge)&&tt(l,a,ge,null,c,H);for(U in c)if(H=c[U],N=u[U],c.hasOwnProperty(U)&&H!==N&&(H!=null||N!=null))switch(U){case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(E(137,a));break;default:tt(l,a,U,H,c,N)}return;default:if(Zc(a)){for(var ft in u)H=u[ft],u.hasOwnProperty(ft)&&H!==void 0&&!c.hasOwnProperty(ft)&&No(l,a,ft,void 0,c,H);for(Z in c)H=c[Z],N=u[Z],!c.hasOwnProperty(Z)||H===N||H===void 0&&N===void 0||No(l,a,Z,H,c,N);return}}for(var D in u)H=u[D],u.hasOwnProperty(D)&&H!=null&&!c.hasOwnProperty(D)&&tt(l,a,D,null,c,H);for(F in c)H=c[F],N=u[F],!c.hasOwnProperty(F)||H===N||H==null&&N==null||tt(l,a,F,H,c,N)}var Za=null,Ec=null;function Bo(l){return l.nodeType===9?l:l.ownerDocument}function Hd(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Nf(l,a){if(l===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&a==="foreignObject"?0:l}function kl(l,a){return l==="textarea"||l==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Bf=null;function Xg(){var l=window.event;return l&&l.type==="popstate"?l===Bf?!1:(Bf=l,!0):(Bf=null,!1)}var mp=typeof setTimeout=="function"?setTimeout:void 0,Qg=typeof clearTimeout=="function"?clearTimeout:void 0,ol=typeof Promise=="function"?Promise:void 0,B=typeof queueMicrotask=="function"?queueMicrotask:typeof ol<"u"?function(l){return ol.resolve(null).then(l).catch(ct)}:mp;function ct(l){setTimeout(function(){throw l})}function xi(l){return l==="head"}function wd(l,a){var u=a,c=0;do{var f=u.nextSibling;if(l.removeChild(u),f&&f.nodeType===8)if(u=f.data,u==="/$"||u==="/&"){if(c===0){l.removeChild(f),mn(a);return}c--}else if(u==="$"||u==="$?"||u==="$~"||u==="$!"||u==="&")c++;else if(u==="html")qo(l.ownerDocument.documentElement);else if(u==="head"){u=l.ownerDocument.head,qo(u);for(var r=u.firstChild;r;){var m=r.nextSibling,p=r.nodeName;r[Gc]||p==="SCRIPT"||p==="STYLE"||p==="LINK"&&r.rel.toLowerCase()==="stylesheet"||u.removeChild(r),r=m}}else u==="body"&&qo(l.ownerDocument.body);u=f}while(u);mn(a)}function Nd(l,a){var u=l;l=0;do{var c=u.nextSibling;if(u.nodeType===1?a?(u._stashedDisplay=u.style.display,u.style.display="none"):(u.style.display=u._stashedDisplay||"",u.getAttribute("style")===""&&u.removeAttribute("style")):u.nodeType===3&&(a?(u._stashedText=u.nodeValue,u.nodeValue=""):u.nodeValue=u._stashedText||""),c&&c.nodeType===8)if(u=c.data,u==="/$"){if(l===0)break;l--}else u!=="$"&&u!=="$?"&&u!=="$~"&&u!=="$!"||l++;u=c}while(u)}function fn(l){var a=l.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var u=a;switch(a=a.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":fn(u),Lc(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}l.removeChild(u)}}function Mi(l,a,u,c){for(;l.nodeType===1;){var f=u;if(l.nodeName.toLowerCase()!==a.toLowerCase()){if(!c&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(c){if(!l[Gc])switch(a){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(r=l.getAttribute("rel"),r==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(r!==f.rel||l.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||l.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||l.getAttribute("title")!==(f.title==null?null:f.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(r=l.getAttribute("src"),(r!==(f.src==null?null:f.src)||l.getAttribute("type")!==(f.type==null?null:f.type)||l.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&r&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(a==="input"&&l.type==="hidden"){var r=f.name==null?null:""+f.name;if(f.type==="hidden"&&l.getAttribute("name")===r)return l}else return l;if(l=ba(l.nextSibling),l===null)break}return null}function jf(l,a,u){if(a==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!u||(l=ba(l.nextSibling),l===null))return null;return l}function Yu(l,a){for(;l.nodeType!==8;)if(!a||(l=ba(l.nextSibling),l===null))return null;return l}function jo(l){return l.data==="$?"||l.data==="$~"}function Ac(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function Ry(l,a){var u=l.ownerDocument;if(l.data==="$~")l._reactRetry=a;else if(l.data!=="$?"||u.readyState!=="loading")a();else{var c=function(){a(),u.removeEventListener("DOMContentLoaded",c)};u.addEventListener("DOMContentLoaded",c),l._reactRetry=c}}function ba(l){for(;l!=null;l=l.nextSibling){var a=l.nodeType;if(a===1||a===3)break;if(a===8){if(a=l.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return l}var Bd=null;function pp(l){l=l.nextSibling;for(var a=0;l;){if(l.nodeType===8){var u=l.data;if(u==="/$"||u==="/&"){if(a===0)return ba(l.nextSibling);a--}else u!=="$"&&u!=="$!"&&u!=="$?"&&u!=="$~"&&u!=="&"||a++}l=l.nextSibling}return null}function yp(l){l=l.previousSibling;for(var a=0;l;){if(l.nodeType===8){var u=l.data;if(u==="$"||u==="$!"||u==="$?"||u==="$~"||u==="&"){if(a===0)return l;a--}else u!=="/$"&&u!=="/&"||a++}l=l.previousSibling}return null}function gp(l,a,u){switch(a=Bo(u),l){case"html":if(l=a.documentElement,!l)throw Error(E(452));return l;case"head":if(l=a.head,!l)throw Error(E(453));return l;case"body":if(l=a.body,!l)throw Error(E(454));return l;default:throw Error(E(451))}}function qo(l){for(var a=l.attributes;a.length;)l.removeAttributeNode(a[0]);Lc(l)}var ca=new Map,vp=new Set;function Yo(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var rn=J.d;J.d={f:Sa,r:kn,D:Zg,C:Jg,L:kg,m:Kn,X:bp,S:Kg,M:Sp};function Sa(){var l=rn.f(),a=Hl();return l||a}function kn(l){var a=wi(l);a!==null&&a.tag===5&&a.type==="form"?hf(a):rn.r(l)}var oa=typeof document>"u"?null:document;function jd(l,a,u){var c=oa;if(c&&typeof a=="string"&&a){var f=Ua(a);f='link[rel="'+l+'"][href="'+f+'"]',typeof u=="string"&&(f+='[crossorigin="'+u+'"]'),vp.has(f)||(vp.add(f),l={rel:l,crossOrigin:u,href:a},c.querySelector(f)===null&&(a=c.createElement("link"),tl(a,"link",l),kt(a),c.head.appendChild(a)))}}function Zg(l){rn.D(l),jd("dns-prefetch",l,null)}function Jg(l,a){rn.C(l,a),jd("preconnect",l,a)}function kg(l,a,u){rn.L(l,a,u);var c=oa;if(c&&l&&a){var f='link[rel="preload"][as="'+Ua(a)+'"]';a==="image"&&u&&u.imageSrcSet?(f+='[imagesrcset="'+Ua(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(f+='[imagesizes="'+Ua(u.imageSizes)+'"]')):f+='[href="'+Ua(l)+'"]';var r=f;switch(a){case"style":r=Vo(l);break;case"script":r=dn(l)}ca.has(r)||(l=W({rel:"preload",href:a==="image"&&u&&u.imageSrcSet?void 0:l,as:a},u),ca.set(r,l),c.querySelector(f)!==null||a==="style"&&c.querySelector(Mc(r))||a==="script"&&c.querySelector(Kt(r))||(a=c.createElement("link"),tl(a,"link",l),kt(a),c.head.appendChild(a)))}}function Kn(l,a){rn.m(l,a);var u=oa;if(u&&l){var c=a&&typeof a.as=="string"?a.as:"script",f='link[rel="modulepreload"][as="'+Ua(c)+'"][href="'+Ua(l)+'"]',r=f;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=dn(l)}if(!ca.has(r)&&(l=W({rel:"modulepreload",href:l},a),ca.set(r,l),u.querySelector(f)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(Kt(r)))return}c=u.createElement("link"),tl(c,"link",l),kt(c),u.head.appendChild(c)}}}function Kg(l,a,u){rn.S(l,a,u);var c=oa;if(c&&l){var f=Bi(c).hoistableStyles,r=Vo(l);a=a||"default";var m=f.get(r);if(!m){var p={loading:0,preload:null};if(m=c.querySelector(Mc(r)))p.loading=5;else{l=W({rel:"stylesheet",href:l,"data-precedence":a},u),(u=ca.get(r))&&Ea(l,u);var A=m=c.createElement("link");kt(A),tl(A,"link",l),A._p=new Promise(function(U,Z){A.onload=U,A.onerror=Z}),A.addEventListener("load",function(){p.loading|=1}),A.addEventListener("error",function(){p.loading|=2}),p.loading|=4,Ta(m,a,c)}m={type:"stylesheet",instance:m,count:1,state:p},f.set(r,m)}}}function bp(l,a){rn.X(l,a);var u=oa;if(u&&l){var c=Bi(u).hoistableScripts,f=dn(l),r=c.get(f);r||(r=u.querySelector(Kt(f)),r||(l=W({src:l,async:!0},a),(a=ca.get(f))&&Sl(l,a),r=u.createElement("script"),kt(r),tl(r,"link",l),u.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},c.set(f,r))}}function Sp(l,a){rn.M(l,a);var u=oa;if(u&&l){var c=Bi(u).hoistableScripts,f=dn(l),r=c.get(f);r||(r=u.querySelector(Kt(f)),r||(l=W({src:l,async:!0,type:"module"},a),(a=ca.get(f))&&Sl(l,a),r=u.createElement("script"),kt(r),tl(r,"link",l),u.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},c.set(f,r))}}function xc(l,a,u,c){var f=(f=Ra.current)?Yo(f):null;if(!f)throw Error(E(446));switch(l){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(a=Vo(u.href),u=Bi(f).hoistableStyles,c=u.get(a),c||(c={type:"style",instance:null,count:0,state:null},u.set(a,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){l=Vo(u.href);var r=Bi(f).hoistableStyles,m=r.get(l);if(m||(f=f.ownerDocument||f,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(l,m),(r=f.querySelector(Mc(l)))&&!r._p&&(m.instance=r,m.state.loading=5),ca.has(l)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},ca.set(l,u),r||$g(f,l,u,m.state))),a&&c===null)throw Error(E(528,""));return m}if(a&&c!==null)throw Error(E(529,""));return null;case"script":return a=u.async,u=u.src,typeof u=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=dn(u),u=Bi(f).hoistableScripts,c=u.get(a),c||(c={type:"script",instance:null,count:0,state:null},u.set(a,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(E(444,l))}}function Vo(l){return'href="'+Ua(l)+'"'}function Mc(l){return'link[rel="stylesheet"]['+l+"]"}function Cy(l){return W({},l,{"data-precedence":l.precedence,precedence:null})}function $g(l,a,u,c){l.querySelector('link[rel="preload"][as="style"]['+a+"]")?c.loading=1:(a=l.createElement("link"),c.preload=a,a.addEventListener("load",function(){return c.loading|=1}),a.addEventListener("error",function(){return c.loading|=2}),tl(a,"link",u),kt(a),l.head.appendChild(a))}function dn(l){return'[src="'+Ua(l)+'"]'}function Kt(l){return"script[async]"+l}function ae(l,a,u){if(a.count++,a.instance===null)switch(a.type){case"style":var c=l.querySelector('style[data-href~="'+Ua(u.href)+'"]');if(c)return a.instance=c,kt(c),c;var f=W({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return c=(l.ownerDocument||l).createElement("style"),kt(c),tl(c,"style",f),Ta(c,u.precedence,l),a.instance=c;case"stylesheet":f=Vo(u.href);var r=l.querySelector(Mc(f));if(r)return a.state.loading|=4,a.instance=r,kt(r),r;c=Cy(u),(f=ca.get(f))&&Ea(c,f),r=(l.ownerDocument||l).createElement("link"),kt(r);var m=r;return m._p=new Promise(function(p,A){m.onload=p,m.onerror=A}),tl(r,"link",c),a.state.loading|=4,Ta(r,u.precedence,l),a.instance=r;case"script":return r=dn(u.src),(f=l.querySelector(Kt(r)))?(a.instance=f,kt(f),f):(c=u,(f=ca.get(r))&&(c=W({},u),Sl(c,f)),l=l.ownerDocument||l,f=l.createElement("script"),kt(f),tl(f,"link",c),l.head.appendChild(f),a.instance=f);case"void":return null;default:throw Error(E(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(c=a.instance,a.state.loading|=4,Ta(c,u.precedence,l));return a.instance}function Ta(l,a,u){for(var c=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=c.length?c[c.length-1]:null,r=f,m=0;m<c.length;m++){var p=c[m];if(p.dataset.precedence===a)r=p;else if(r!==f)break}r?r.parentNode.insertBefore(l,r.nextSibling):(a=u.nodeType===9?u.head:u,a.insertBefore(l,a.firstChild))}function Ea(l,a){l.crossOrigin==null&&(l.crossOrigin=a.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=a.referrerPolicy),l.title==null&&(l.title=a.title)}function Sl(l,a){l.crossOrigin==null&&(l.crossOrigin=a.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=a.referrerPolicy),l.integrity==null&&(l.integrity=a.integrity)}var qd=null;function Uy(l,a,u){if(qd===null){var c=new Map,f=qd=new Map;f.set(u,c)}else f=qd,c=f.get(u),c||(c=new Map,f.set(u,c));if(c.has(l))return c;for(c.set(l,null),u=u.getElementsByTagName(l),f=0;f<u.length;f++){var r=u[f];if(!(r[Gc]||r[Jt]||l==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var m=r.getAttribute(a)||"";m=l+m;var p=c.get(m);p?p.push(r):c.set(m,[r])}}return c}function qf(l,a,u){l=l.ownerDocument||l,l.head.insertBefore(u,a==="title"?l.querySelector("head > title"):null)}function Yd(l,a,u){if(u===1||a.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return l=a.disabled,typeof a.precedence=="string"&&l==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function Aa(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}var sa=null;function Vu(l,a,u){if(sa===null)throw Error(E(475));var c=sa;if(a.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var f=Vo(u.href),r=l.querySelector(Mc(f));if(r){l=r._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(c.count++,c=hn.bind(c),l.then(c,c)),a.state.loading|=4,a.instance=r,kt(r);return}r=l.ownerDocument||l,u=Cy(u),(f=ca.get(f))&&Ea(u,f),r=r.createElement("link"),kt(r);var m=r;m._p=new Promise(function(p,A){m.onload=p,m.onerror=A}),tl(r,"link",u),a.instance=r}c.stylesheets===null&&(c.stylesheets=new Map),c.stylesheets.set(a,l),(l=a.state.preload)&&(a.state.loading&3)===0&&(c.count++,a=hn.bind(c),l.addEventListener("load",a),l.addEventListener("error",a))}}function Vd(){if(sa===null)throw Error(E(475));var l=sa;return l.stylesheets&&l.count===0&&Tl(l,l.stylesheets),0<l.count?function(a){var u=setTimeout(function(){if(l.stylesheets&&Tl(l,l.stylesheets),l.unsuspend){var c=l.unsuspend;l.unsuspend=null,c()}},6e4);return l.unsuspend=a,function(){l.unsuspend=null,clearTimeout(u)}}:null}function hn(){if(this.count--,this.count===0){if(this.stylesheets)Tl(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var $t=null;function Tl(l,a){l.stylesheets=null,l.unsuspend!==null&&(l.count++,$t=new Map,a.forEach(zi,l),$t=null,hn.call(l))}function zi(l,a){if(!(a.state.loading&4)){var u=$t.get(l);if(u)var c=u.get(null);else{u=new Map,$t.set(l,u);for(var f=l.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<f.length;r++){var m=f[r];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(u.set(m.dataset.precedence,m),c=m)}c&&u.set(null,c)}f=a.instance,m=f.getAttribute("data-precedence"),r=u.get(m)||c,r===c&&u.set(null,f),u.set(m,f),this.count++,c=hn.bind(this),f.addEventListener("load",c),f.addEventListener("error",c),r?r.parentNode.insertBefore(f,r.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(f,l.firstChild)),a.state.loading|=4}}var zc={$$typeof:je,Provider:null,Consumer:null,_currentValue:P,_currentValue2:P,_threadCount:0};function Wg(l,a,u,c,f,r,m,p,A){this.tag=1,this.containerInfo=l,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ys(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ys(0),this.hiddenUpdates=ys(null),this.identifierPrefix=c,this.onUncaughtError=f,this.onCaughtError=r,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function Hy(l,a,u,c,f,r,m,p,A,U,Z,F){return l=new Wg(l,a,u,m,A,U,Z,F,p),a=1,r===!0&&(a|=24),r=Ol(3,null,null,a),l.current=r,r.stateNode=l,a=Nr(),a.refCount++,l.pooledCache=a,a.refCount++,r.memoizedState={element:c,isDehydrated:u,cache:a},qr(r),l}function Tp(l){return l?(l=yu,l):yu}function Go(l,a,u,c,f,r){f=Tp(f),c.context===null?c.context=f:c.pendingContext=f,c=Nn(a),c.payload={element:u},r=r===void 0?null:r,r!==null&&(c.callback=r),u=Mu(l,c,a),u!==null&&(ia(u,l,a),di(u,l,a))}function Ep(l,a){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var u=l.retryLane;l.retryLane=u!==0&&u<a?u:a}}function Gu(l,a){Ep(l,a),(l=l.alternate)&&Ep(l,a)}function Gd(l){if(l.tag===13||l.tag===31){var a=ci(l,67108864);a!==null&&ia(a,l,67108864),Gu(l,67108864)}}function wy(l){if(l.tag===13||l.tag===31){var a=Jl();a=fu(a);var u=ci(l,a);u!==null&&ia(u,l,a),Gu(l,a)}}var Ld=!0;function Ny(l,a,u,c){var f=z.T;z.T=null;var r=J.p;try{J.p=2,Ap(l,a,u,c)}finally{J.p=r,z.T=f}}function By(l,a,u,c){var f=z.T;z.T=null;var r=J.p;try{J.p=8,Ap(l,a,u,c)}finally{J.p=r,z.T=f}}function Ap(l,a,u,c){if(Ld){var f=Xd(c);if(f===null)Ho(l,a,c,Yf,u),jy(l,c);else if(Jd(f,l,a,u,c))c.stopPropagation();else if(jy(l,c),a&4&&-1<Fg.indexOf(l)){for(;f!==null;){var r=wi(f);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var m=su(r.pendingLanes);if(m!==0){var p=r;for(p.pendingLanes|=2,p.entangledLanes|=2;m;){var A=1<<31-Bl(m);p.entanglements[1]|=A,m&=~A}sn(r),(ut&6)===0&&(Rf=Nl()+500,bc(0))}}break;case 31:case 13:p=ci(r,2),p!==null&&ia(p,r,2),Hl(),Gu(r,2)}if(r=Xd(c),r===null&&Ho(l,a,c,Yf,u),r===f)break;f=r}f!==null&&c.stopPropagation()}else Ho(l,a,c,null,u)}}function Xd(l){return l=gr(l),Qd(l)}var Yf=null;function Qd(l){if(Yf=null,l=pl(l),l!==null){var a=K(l);if(a===null)l=null;else{var u=a.tag;if(u===13){if(l=L(a),l!==null)return l;l=null}else if(u===31){if(l=q(a),l!==null)return l;l=null}else if(u===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;l=null}else a!==l&&(l=null)}}return Yf=l,null}function xp(l){switch(l){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(v0()){case Hh:return 2;case qc:return 8;case rr:case Mg:return 32;case Iu:return 268435456;default:return 32}default:return 32}}var Zd=!1,Lu=null,Xu=null,Qu=null,Lo=new Map,Vf=new Map,Zu=[],Fg="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function jy(l,a){switch(l){case"focusin":case"focusout":Lu=null;break;case"dragenter":case"dragleave":Xu=null;break;case"mouseover":case"mouseout":Qu=null;break;case"pointerover":case"pointerout":Lo.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Vf.delete(a.pointerId)}}function Xo(l,a,u,c,f,r){return l===null||l.nativeEvent!==r?(l={blockedOn:a,domEventName:u,eventSystemFlags:c,nativeEvent:r,targetContainers:[f]},a!==null&&(a=wi(a),a!==null&&Gd(a)),l):(l.eventSystemFlags|=c,a=l.targetContainers,f!==null&&a.indexOf(f)===-1&&a.push(f),l)}function Jd(l,a,u,c,f){switch(a){case"focusin":return Lu=Xo(Lu,l,a,u,c,f),!0;case"dragenter":return Xu=Xo(Xu,l,a,u,c,f),!0;case"mouseover":return Qu=Xo(Qu,l,a,u,c,f),!0;case"pointerover":var r=f.pointerId;return Lo.set(r,Xo(Lo.get(r)||null,l,a,u,c,f)),!0;case"gotpointercapture":return r=f.pointerId,Vf.set(r,Xo(Vf.get(r)||null,l,a,u,c,f)),!0}return!1}function kd(l){var a=pl(l.target);if(a!==null){var u=K(a);if(u!==null){if(a=u.tag,a===13){if(a=L(u),a!==null){l.blockedOn=a,hr(l.priority,function(){wy(u)});return}}else if(a===31){if(a=q(u),a!==null){l.blockedOn=a,hr(l.priority,function(){wy(u)});return}}else if(a===3&&u.stateNode.current.memoizedState.isDehydrated){l.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}l.blockedOn=null}function Gf(l){if(l.blockedOn!==null)return!1;for(var a=l.targetContainers;0<a.length;){var u=Xd(l.nativeEvent);if(u===null){u=l.nativeEvent;var c=new u.constructor(u.type,u);Yi=c,u.target.dispatchEvent(c),Yi=null}else return a=wi(u),a!==null&&Gd(a),l.blockedOn=u,!1;a.shift()}return!0}function Mp(l,a,u){Gf(l)&&u.delete(a)}function Ig(){Zd=!1,Lu!==null&&Gf(Lu)&&(Lu=null),Xu!==null&&Gf(Xu)&&(Xu=null),Qu!==null&&Gf(Qu)&&(Qu=null),Lo.forEach(Mp),Vf.forEach(Mp)}function Kd(l,a){l.blockedOn===a&&(l.blockedOn=null,Zd||(Zd=!0,v.unstable_scheduleCallback(v.unstable_NormalPriority,Ig)))}var $d=null;function zp(l){$d!==l&&($d=l,v.unstable_scheduleCallback(v.unstable_NormalPriority,function(){$d===l&&($d=null);for(var a=0;a<l.length;a+=3){var u=l[a],c=l[a+1],f=l[a+2];if(typeof c!="function"){if(Qd(c||u)===null)continue;break}var r=wi(u);r!==null&&(l.splice(a,3),a-=3,df(r,{pending:!0,data:f,method:u.method,action:c},c,f))}}))}function mn(l){function a(A){return Kd(A,l)}Lu!==null&&Kd(Lu,l),Xu!==null&&Kd(Xu,l),Qu!==null&&Kd(Qu,l),Lo.forEach(a),Vf.forEach(a);for(var u=0;u<Zu.length;u++){var c=Zu[u];c.blockedOn===l&&(c.blockedOn=null)}for(;0<Zu.length&&(u=Zu[0],u.blockedOn===null);)kd(u),u.blockedOn===null&&Zu.shift();if(u=(l.ownerDocument||l).$$reactFormReplay,u!=null)for(c=0;c<u.length;c+=3){var f=u[c],r=u[c+1],m=f[ml]||null;if(typeof r=="function")m||zp(u);else if(m){var p=null;if(r&&r.hasAttribute("formAction")){if(f=r,m=r[ml]||null)p=m.formAction;else if(Qd(f)!==null)continue}else p=m.action;typeof p=="function"?u[c+1]=p:(u.splice(c,3),c-=3),zp(u)}}}function Wd(){function l(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(m){return f=m})},focusReset:"manual",scroll:"manual"})}function a(){f!==null&&(f(),f=null),c||setTimeout(u,20)}function u(){if(!c&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,f=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(u,100),function(){c=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),f!==null&&(f(),f=null)}}}function Fd(l){this._internalRoot=l}Lf.prototype.render=Fd.prototype.render=function(l){var a=this._internalRoot;if(a===null)throw Error(E(409));var u=a.current,c=Jl();Go(u,c,l,a,null,null)},Lf.prototype.unmount=Fd.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var a=l.containerInfo;Go(l.current,2,null,l,null,null),Hl(),a[Fl]=null}};function Lf(l){this._internalRoot=l}Lf.prototype.unstable_scheduleHydration=function(l){if(l){var a=Hi();l={blockedOn:null,target:l,priority:a};for(var u=0;u<Zu.length&&a!==0&&a<Zu[u].priority;u++);Zu.splice(u,0,l),u===0&&kd(l)}};var Dp=g.version;if(Dp!=="19.2.0-canary-97cdd5d3-20250710")throw Error(E(527,Dp,"19.2.0-canary-97cdd5d3-20250710"));J.findDOMNode=function(l){var a=l._reactInternals;if(a===void 0)throw typeof l.render=="function"?Error(E(188)):(l=Object.keys(l).join(","),Error(E(268,l)));return l=he(a),l=l!==null?Ee(l):null,l=l===null?null:l.stateNode,l};var Id={bundleType:0,version:"19.2.0-canary-97cdd5d3-20250710",rendererPackageName:"react-dom",currentDispatcherRef:z,reconcilerVersion:"19.2.0-canary-97cdd5d3-20250710"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ju=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ju.isDisabled&&Ju.supportsFiber)try{rs=Ju.inject(Id),Wl=Ju}catch{}}return h0.createRoot=function(l,a){if(!V(l))throw Error(E(299));var u=!1,c="",f=ad,r=nd,m=Va;return a!=null&&(a.unstable_strictMode===!0&&(u=!0),a.identifierPrefix!==void 0&&(c=a.identifierPrefix),a.onUncaughtError!==void 0&&(f=a.onUncaughtError),a.onCaughtError!==void 0&&(r=a.onCaughtError),a.onRecoverableError!==void 0&&(m=a.onRecoverableError)),a=Hy(l,1,!1,null,null,u,c,null,f,r,m,Wd),l[Fl]=a.current,Cd(l),new Fd(a)},h0.hydrateRoot=function(l,a,u){if(!V(l))throw Error(E(299));var c=!1,f="",r=ad,m=nd,p=Va,A=null;return u!=null&&(u.unstable_strictMode===!0&&(c=!0),u.identifierPrefix!==void 0&&(f=u.identifierPrefix),u.onUncaughtError!==void 0&&(r=u.onUncaughtError),u.onCaughtError!==void 0&&(m=u.onCaughtError),u.onRecoverableError!==void 0&&(p=u.onRecoverableError),u.formState!==void 0&&(A=u.formState)),a=Hy(l,1,!0,a,u??null,c,f,A,r,m,p,Wd),a.context=Tp(null),u=a.current,c=Jl(),c=fu(c),f=Nn(c),f.callback=null,Mu(u,f,c),u=c,a.current.lanes=u,Sn(a,u),sn(a),l[Fl]=a.current,Cd(l),new Lf(a)},h0.version="19.2.0-canary-97cdd5d3-20250710",h0}var m0={};/**
741
+ * @license React
742
+ * react-dom-client.development.js
743
+ *
744
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
745
+ *
746
+ * This source code is licensed under the MIT license found in the
747
+ * LICENSE file in the root directory of this source tree.
748
+ */var mS;function _T(){return mS||(mS=1,process.env.NODE_ENV!=="production"&&function(){function v(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function g(e,t,n,i){if(n>=t.length)return i;var o=t[n],s=ol(e)?e.slice():Xe({},e);return s[o]=g(e[o],t,n+1,i),s}function C(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var i=0;i<n.length-1;i++)if(t[i]!==n[i]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return E(e,t,n,0)}}function E(e,t,n,i){var o=t[i],s=ol(e)?e.slice():Xe({},e);return i+1===t.length?(s[n[i]]=s[o],ol(s)?s.splice(o,1):delete s[o]):s[o]=E(e[o],t,n,i+1),s}function V(e,t,n){var i=t[n],o=ol(e)?e.slice():Xe({},e);return n+1===t.length?(ol(o)?o.splice(i,1):delete o[i],o):(o[i]=V(e[i],t,n+1),o)}function K(){return!1}function L(){return null}function q(){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 ue(){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 he(){}function Ee(){}function W(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function te(e,t,n,i){return new _s(e,t,n,i)}function oe(e,t){e.context===Qo&&(Jn(e.current,2,t,e,null,null),yi())}function ze(e,t){if(Fn!==null){var n=t.staleFamilies;t=t.updatedFamilies,Ga(),Os(e.current,t,n),yi()}}function qe(e){Fn=e}function re(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function De(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function bt(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function je(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function St(e){if(De(e)!==e)throw Error("Unable to find node on an unmounted component.")}function Rt(e){var t=e.alternate;if(!t){if(t=De(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,i=t;;){var o=n.return;if(o===null)break;var s=o.alternate;if(s===null){if(i=o.return,i!==null){n=i;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===n)return St(o),e;if(s===i)return St(o),t;s=s.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==i.return)n=o,i=s;else{for(var d=!1,h=o.child;h;){if(h===n){d=!0,n=o,i=s;break}if(h===i){d=!0,i=o,n=s;break}h=h.sibling}if(!d){for(h=s.child;h;){if(h===n){d=!0,n=s,i=o;break}if(h===i){d=!0,i=s,n=o;break}h=h.sibling}if(!d)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(n.alternate!==i)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function de(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=de(e),t!==null)return t;e=e.sibling}return null}function Ae(e){return e===null||typeof e!="object"?null:(e=mp&&e[mp]||e["@@iterator"],typeof e=="function"?e:null)}function I(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Qg?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case tt:return"Fragment";case tl:return"Profiler";case No:return"StrictMode";case Bo:return"Suspense";case Hd:return"SuspenseList";case Bf:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case Tc:return"Portal";case Za:return e.displayName||"Context";case hp:return(e._context.displayName||"Context")+".Consumer";case Ec:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Nf:return t=e.displayName||null,t!==null?t:I(e.type)||"Memo";case kl:t=e._payload,e=e._init;try{return I(e(t))}catch{}}return null}function Me(e){return typeof e.tag=="number"?ee(e):typeof e.name=="string"?e.name:null}function ee(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return I(t);case 8:return t===No?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name=="string")return t[n].name}if(e.return!==null)return ee(e.return)}return null}function lt(e){return{current:e}}function Ue(e,t){0>fn?console.error("Unexpected pop."):(t!==Nd[fn]&&console.error("Unexpected Fiber popped."),e.current=wd[fn],wd[fn]=null,Nd[fn]=null,fn--)}function ye(e,t,n){fn++,wd[fn]=e.current,Nd[fn]=n,e.current=t}function Ct(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function qt(e,t){ye(Yu,t,e),ye(jf,e,e),ye(Mi,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?Bt(t):Nc;break;default:if(n=t.tagName,t=t.namespaceURI)t=Bt(t),t=Uu(t,n);else switch(n){case"svg":t=Dh;break;case"math":t=mg;break;default:t=Nc}}n=n.toLowerCase(),n=Zh(null,n),n={context:t,ancestorInfo:n},Ue(Mi,e),ye(Mi,n,e)}function z(e){Ue(Mi,e),Ue(jf,e),Ue(Yu,e)}function J(){return Ct(Mi.current)}function P(e){e.memoizedState!==null&&ye(jo,e,e);var t=Ct(Mi.current),n=e.type,i=Uu(t.context,n);n=Zh(t.ancestorInfo,n),i={context:i,ancestorInfo:n},t!==i&&(ye(jf,e,e),ye(Mi,i,e))}function be(e){jf.current===e&&(Ue(Mi,e),Ue(jf,e)),jo.current===e&&(Ue(jo,e),o0._currentValue=cr)}function j(){}function se(){if(Ac===0){Ry=console.log,ba=console.info,Bd=console.warn,pp=console.error,yp=console.group,gp=console.groupCollapsed,qo=console.groupEnd;var e={configurable:!0,enumerable:!0,value:j,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ac++}function Se(){if(Ac--,Ac===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Xe({},e,{value:Ry}),info:Xe({},e,{value:ba}),warn:Xe({},e,{value:Bd}),error:Xe({},e,{value:pp}),group:Xe({},e,{value:yp}),groupCollapsed:Xe({},e,{value:gp}),groupEnd:Xe({},e,{value:qo})})}0>Ac&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function xe(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
749
+ `)&&(e=e.slice(29)),t=e.indexOf(`
750
+ `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
751
+ `,t)),t!==-1)e=e.slice(0,t);else return"";return e}function Re(e){if(ca===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ca=t&&t[1]||"",vp=-1<n.stack.indexOf(`
752
+ at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
753
+ `+ca+e+vp}function ht(e,t){if(!e||Yo)return"";var n=rn.get(e);if(n!==void 0)return n;Yo=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var i=null;i=B.H,B.H=null,se();try{var o={DetermineComponentFrameRoot:function(){try{if(t){var O=function(){throw Error()};if(Object.defineProperty(O.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(O,[])}catch(ce){var G=ce}Reflect.construct(e,[],O)}else{try{O.call()}catch(ce){G=ce}e.call(O.prototype)}}else{try{throw Error()}catch(ce){G=ce}(O=e())&&typeof O.catch=="function"&&O.catch(function(){})}}catch(ce){if(ce&&G&&typeof ce.stack=="string")return[ce.stack,G.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),h=d[0],y=d[1];if(h&&y){var b=h.split(`
754
+ `),R=y.split(`
755
+ `);for(d=s=0;s<b.length&&!b[s].includes("DetermineComponentFrameRoot");)s++;for(;d<R.length&&!R[d].includes("DetermineComponentFrameRoot");)d++;if(s===b.length||d===R.length)for(s=b.length-1,d=R.length-1;1<=s&&0<=d&&b[s]!==R[d];)d--;for(;1<=s&&0<=d;s--,d--)if(b[s]!==R[d]){if(s!==1||d!==1)do if(s--,d--,0>d||b[s]!==R[d]){var w=`
756
+ `+b[s].replace(" at new "," at ");return e.displayName&&w.includes("<anonymous>")&&(w=w.replace("<anonymous>",e.displayName)),typeof e=="function"&&rn.set(e,w),w}while(1<=s&&0<=d);break}}}finally{Yo=!1,B.H=i,Se(),Error.prepareStackTrace=n}return b=(b=e?e.displayName||e.name:"")?Re(b):"",typeof e=="function"&&rn.set(e,b),b}function Ra(e,t){switch(e.tag){case 26:case 27:case 5:return Re(e.type);case 16:return Re("Lazy");case 13:return e.child!==t&&t!==null?Re("Suspense Fallback"):Re("Suspense");case 19:return Re("SuspenseList");case 0:case 15:return ht(e.type,!1);case 11:return ht(e.type.render,!1);case 1:return ht(e.type,!0);case 31:return Re("Activity");default:return""}}function cu(e){try{var t="",n=null;do{t+=Ra(e,n);var i=e._debugInfo;if(i)for(var o=i.length-1;0<=o;o--){var s=i[o];if(typeof s.name=="string"){var d=t;e:{var h=s.name,y=s.env,b=s.debugLocation;if(b!=null){var R=xe(b),w=R.lastIndexOf(`
757
+ `),O=w===-1?R:R.slice(w+1);if(O.indexOf(h)!==-1){var G=`
758
+ `+O;break e}}G=Re(h+(y?" ["+y+"]":""))}t=d+G}}n=e,e=e.return}while(e);return t}catch(ce){return`
759
+ Error generating stack: `+ce.message+`
760
+ `+ce.stack}}function Yt(e){return(e=e?e.displayName||e.name:"")?Re(e):""}function xl(){if(Sa===null)return null;var e=Sa._debugOwner;return e!=null?Me(e):null}function Ri(){if(Sa===null)return"";var e=Sa;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=Re(e.type);break;case 13:t+=Re("Suspense");break;case 19:t+=Re("SuspenseList");break;case 31:t+=Re("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Yt(e.type));break;case 11:e._debugOwner||t!==""||(t+=Yt(e.type.render))}for(;e;)if(typeof e.tag=="number"){var n=e;e=n._debugOwner;var i=n._debugStack;e&&i&&(typeof i!="string"&&(n._debugStack=i=xe(i)),i!==""&&(t+=`
761
+ `+i))}else if(e.debugStack!=null){var o=e.debugStack;(e=e.owner)&&o&&(t+=`
762
+ `+xe(o))}else break;var s=t}catch(d){s=`
763
+ Error generating stack: `+d.message+`
764
+ `+d.stack}return s}function ne(e,t,n,i,o,s,d){var h=Sa;cs(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,i,o,s,d)):t(n,i,o,s,d)}finally{cs(h)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function cs(e){B.getCurrentStack=e===null?null:Ri,kn=!1,Sa=e}function os(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function bn(e){try{return Ci(e),!1}catch{return!0}}function Ci(e){return""+e}function mt(e,t){if(bn(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,os(e)),Ci(e)}function Rh(e,t){if(bn(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,os(e)),Ci(e)}function fr(e){if(bn(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",os(e)),Ci(e)}function Ch(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{dn=t.inject(e),Kt=t}catch(n){console.error("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function Tt(e){if(typeof Cy=="function"&&$g(e),Kt&&typeof Kt.setStrictMode=="function")try{Kt.setStrictMode(dn,e)}catch(t){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %s",t))}}function Uh(e){ae=e}function g0(){ae!==null&&typeof ae.markCommitStopped=="function"&&ae.markCommitStopped()}function ss(e){ae!==null&&typeof ae.markComponentRenderStarted=="function"&&ae.markComponentRenderStarted(e)}function Nl(){ae!==null&&typeof ae.markComponentRenderStopped=="function"&&ae.markComponentRenderStopped()}function v0(e){ae!==null&&typeof ae.markRenderStarted=="function"&&ae.markRenderStarted(e)}function Hh(){ae!==null&&typeof ae.markRenderStopped=="function"&&ae.markRenderStopped()}function qc(e,t){ae!==null&&typeof ae.markStateUpdateScheduled=="function"&&ae.markStateUpdateScheduled(e,t)}function rr(e){return e>>>=0,e===0?32:31-(qd(e)/Uy|0)|0}function Mg(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function Iu(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function dr(e,t,n){var i=e.pendingLanes;if(i===0)return 0;var o=0,s=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var h=i&134217727;return h!==0?(i=h&~s,i!==0?o=Iu(i):(d&=h,d!==0?o=Iu(d):n||(n=h&~e,n!==0&&(o=Iu(n))))):(h=i&~s,h!==0?o=Iu(h):d!==0?o=Iu(d):n||(n=i&~e,n!==0&&(o=Iu(n)))),o===0?0:t!==0&&t!==o&&(t&s)===0&&(s=o&-o,n=t&-t,s>=n||s===32&&(n&4194048)!==0)?t:o}function fs(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rs(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Wl(){var e=qf;return qf<<=1,(qf&4194048)===0&&(qf=256),e}function ou(){var e=Yd;return Yd<<=1,(Yd&62914560)===0&&(Yd=4194304),e}function Bl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ds(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function zg(e,t,n,i,o,s){var d=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var h=e.entanglements,y=e.expirationTimes,b=e.hiddenUpdates;for(n=d&~n;0<n;){var R=31-Sl(n),w=1<<R;h[R]=0,y[R]=-1;var O=b[R];if(O!==null)for(b[R]=null,R=0;R<O.length;R++){var G=O[R];G!==null&&(G.lane&=-536870913)}n&=~w}i!==0&&b0(e,i,0),s!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=s&~(d&~t))}function b0(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-Sl(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|n&4194090}function hs(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-Sl(n),o=1<<i;o&t|e[i]&t&&(e[i]|=t),n&=~o}}function ms(e,t){var n=t&-t;return n=(n&42)!==0?1:su(n),(n&(e.suspendedLanes|t))!==0?0:n}function su(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ps(e,t,n){if(Ea)for(e=e.pendingUpdatersLaneMap;0<n;){var i=31-Sl(n),o=1<<i;e[i].add(t),n&=~o}}function Yc(e,t){if(Ea)for(var n=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;0<t;){var o=31-Sl(t);e=1<<o,o=n[o],0<o.size&&(o.forEach(function(s){var d=s.alternate;d!==null&&i.has(d)||i.add(s)}),o.clear()),t&=~e}}function wh(e){return e&=-e,Aa<e?sa<e?(e&134217727)!==0?Vu:Vd:sa:Aa}function Nh(){var e=ct.p;return e!==0?e:(e=window.event,e===void 0?Vu:My(e.type))}function Bh(e,t){var n=ct.p;try{return ct.p=e,t()}finally{ct.p=n}}function ys(e){delete e[$t],delete e[Tl],delete e[zc],delete e[Wg],delete e[Hy]}function Sn(e){var t=e[$t];if(t)return t;for(var n=e.parentNode;n;){if(t=n[zi]||n[$t]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=np(e);e!==null;){if(n=e[$t])return n;e=np(e)}return t}e=n,n=e.parentNode}return null}function Pu(e){if(e=e[$t]||e[zi]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Vc(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Ui(e){var t=e[Tp];return t||(t=e[Tp]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ft(e){e[Go]=!0}function fu(e,t){ei(e,t),ei(e+"Capture",t)}function ei(e,t){Gu[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Gu[e]=t;var n=e.toLowerCase();for(Gd[n]=e,e==="onDoubleClick"&&(Gd.ondblclick=e),e=0;e<t.length;e++)Ep.add(t[e])}function Hi(e,t){wy[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function hr(e){return oa.call(By,e)?!0:oa.call(Ny,e)?!1:Ld.test(e)?By[e]=!0:(Ny[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function ru(e,t,n){if(hr(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===""&&n===!0?!0:(mt(n,t),e===""+n?n:e)}}function Jt(e,t,n){if(hr(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}mt(n,t),e.setAttribute(t,""+n)}}function ml(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}mt(n,t),e.setAttribute(t,""+n)}}function Fl(e,t,n,i){if(i===null)e.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}mt(i,n),e.setAttributeNS(t,n,""+i)}}function Il(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return fr(e),e;default:return""}}function S0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Dg(e,t,n){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var o=i.get,s=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(d){fr(d),n=""+d,s.call(this,d)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return n},setValue:function(d){fr(d),n=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function mr(e){if(!e._valueTracker){var t=S0(e)?"checked":"value";e._valueTracker=Dg(e,t,""+e[t])}}function Gc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=S0(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function Lc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function pl(e){return e.replace(Ap,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function wi(e,t){t.checked===void 0||t.defaultChecked===void 0||Yf||(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",xl()||"A component",t.type),Yf=!0),t.value===void 0||t.defaultValue===void 0||Xd||(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",xl()||"A component",t.type),Xd=!0)}function Ni(e,t,n,i,o,s,d,h){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?(mt(d,"type"),e.type=d):e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Il(t)):e.value!==""+Il(t)&&(e.value=""+Il(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?kt(e,d,Il(t)):n!=null?kt(e,d,Il(n)):i!=null&&e.removeAttribute("value"),o==null&&s!=null&&(e.defaultChecked=!!s),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?(mt(h,"name"),e.name=""+Il(h)):e.removeAttribute("name")}function Bi(e,t,n,i,o,s,d,h){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(mt(s,"type"),e.type=s),t!=null||n!=null){if(!(s!=="submit"&&s!=="reset"||t!=null)){mr(e);return}n=n!=null?""+Il(n):"",t=t!=null?""+Il(t):n,h||t===e.value||(e.value=t),e.defaultValue=t}i=i??o,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=h?e.checked:!!i,e.defaultChecked=!!i,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(mt(d,"name"),e.name=d),mr(e)}function kt(e,t,n){t==="number"&&Lc(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function jh(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?dp.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||xp||(xp=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||Zd||(Zd=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||Qd||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Qd=!0)}function qh(){var e=xl();return e?`
765
+
766
+ Check the render method of \``+e+"`.":""}function Ca(e,t,n,i){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&i&&(e[n].defaultSelected=!0)}else{for(n=""+Il(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,i&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function ji(e,t){for(e=0;e<Xu.length;e++){var n=Xu[e];if(t[n]!=null){var i=ol(t[n]);t.multiple&&!i?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,qh()):!t.multiple&&i&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,qh())}}t.value===void 0||t.defaultValue===void 0||Lu||(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"),Lu=!0)}function T0(e,t){t.value===void 0||t.defaultValue===void 0||Qu||(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",xl()||"A component"),Qu=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Yh(e,t,n){if(t!=null&&(t=""+Il(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Il(n):""}function Vh(e,t,n,i){if(t==null){if(i!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ol(i)){if(1<i.length)throw Error("<textarea> can only have at most one child.");i=i[0]}n=i}n==null&&(n=""),t=n}n=Il(t),e.defaultValue=n,i=e.textContent,i===n&&i!==""&&i!==null&&(e.value=i),mr(e)}function E0(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?E0(e.children[0],t):e}function Ml(e){return" "+" ".repeat(e)}function du(e){return"+ "+" ".repeat(e)}function jl(e){return"- "+" ".repeat(e)}function ra(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Xc(e,t){return Lo.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function pr(e,t,n){var i=120-2*n;if(t===null)return du(n)+Xc(e,i)+`
767
+ `;if(typeof t=="string"){for(var o=0;o<t.length&&o<e.length&&t.charCodeAt(o)===e.charCodeAt(o);o++);return o>i-8&&10<o&&(e="..."+e.slice(o-8),t="..."+t.slice(o-8)),du(n)+Xc(e,i)+`
768
+ `+jl(n)+Xc(t,i)+`
769
+ `}return Ml(n)+Xc(e,i)+`
770
+ `}function gs(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,n){return n})}function Qc(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(ol(e))return"[...]";if(e.$$typeof===qu)return(t=I(e.type))?"<"+t+">":"<...>";var n=gs(e);if(n==="Object"){n="",t-=2;for(var i in e)if(e.hasOwnProperty(i)){var o=JSON.stringify(i);if(o!=='"'+i+'"'&&(i=o),t-=i.length-2,o=Qc(e[i],15>t?t:15),t-=o.length,0>t){n+=n===""?"...":", ...";break}n+=(n===""?"":",")+i+":"+o}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function hu(e,t){return typeof e!="string"||Lo.test(e)?"{"+Qc(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function Gh(e,t,n){var i=120-n.length-e.length,o=[],s;for(s in t)if(t.hasOwnProperty(s)&&s!=="children"){var d=hu(t[s],120-n.length-s.length-1);i-=s.length+d.length+2,o.push(s+"="+d)}return o.length===0?n+"<"+e+`>
771
+ `:0<i?n+"<"+e+" "+o.join(" ")+`>
772
+ `:n+"<"+e+`
773
+ `+n+" "+o.join(`
774
+ `+n+" ")+`
775
+ `+n+`>
776
+ `}function Ua(e,t,n){var i="",o=Xe({},t),s;for(s in e)if(e.hasOwnProperty(s)){delete o[s];var d=120-2*n-s.length-2,h=Qc(e[s],d);t.hasOwnProperty(s)?(d=Qc(t[s],d),i+=du(n)+s+": "+h+`
777
+ `,i+=jl(n)+s+": "+d+`
778
+ `):i+=du(n)+s+": "+h+`
779
+ `}for(var y in o)o.hasOwnProperty(y)&&(e=Qc(o[y],120-2*n-y.length-2),i+=jl(n)+y+": "+e+`
780
+ `);return i}function Lh(e,t,n,i){var o="",s=new Map;for(b in n)n.hasOwnProperty(b)&&s.set(b.toLowerCase(),b);if(s.size===1&&s.has("children"))o+=Gh(e,t,Ml(i));else{for(var d in t)if(t.hasOwnProperty(d)&&d!=="children"){var h=120-2*(i+1)-d.length-1,y=s.get(d.toLowerCase());if(y!==void 0){s.delete(d.toLowerCase());var b=t[d];y=n[y];var R=hu(b,h);h=hu(y,h),typeof b=="object"&&b!==null&&typeof y=="object"&&y!==null&&gs(b)==="Object"&&gs(y)==="Object"&&(2<Object.keys(b).length||2<Object.keys(y).length||-1<R.indexOf("...")||-1<h.indexOf("..."))?o+=Ml(i+1)+d+`={{
781
+ `+Ua(b,y,i+2)+Ml(i+1)+`}}
782
+ `:(o+=du(i+1)+d+"="+R+`
783
+ `,o+=jl(i+1)+d+"="+h+`
784
+ `)}else o+=Ml(i+1)+d+"="+hu(t[d],h)+`
785
+ `}s.forEach(function(w){if(w!=="children"){var O=120-2*(i+1)-w.length-1;o+=jl(i+1)+w+"="+hu(n[w],O)+`
786
+ `}}),o=o===""?Ml(i)+"<"+e+`>
787
+ `:Ml(i)+"<"+e+`
788
+ `+o+Ml(i)+`>
789
+ `}return e=n.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(s="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(s=""+t),o+=pr(s,""+e,i+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(o=e==null?o+pr(""+t,null,i+1):o+pr(""+t,void 0,i+1)),o}function Xh(e,t){var n=ra(e);if(n===null){for(n="",e=e.child;e;)n+=Xh(e,t),e=e.sibling;return n}return Ml(t)+"<"+n+`>
790
+ `}function vs(e,t){var n=E0(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return Ml(t)+`...
791
+ `+vs(n,t+1);n="";var i=e.fiber._debugInfo;if(i)for(var o=0;o<i.length;o++){var s=i[o].name;typeof s=="string"&&(n+=Ml(t)+"<"+s+`>
792
+ `,t++)}if(i="",o=e.fiber.pendingProps,e.fiber.tag===6)i=pr(o,e.serverProps,t),t++;else if(s=ra(e.fiber),s!==null)if(e.serverProps===void 0){i=t;var d=120-2*i-s.length-2,h="";for(b in o)if(o.hasOwnProperty(b)&&b!=="children"){var y=hu(o[b],15);if(d-=b.length+y.length+2,0>d){h+=" ...";break}h+=" "+b+"="+y}i=Ml(i)+"<"+s+h+`>
793
+ `,t++}else e.serverProps===null?(i=Gh(s,o,du(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(i=Lh(s,o,e.serverProps,t),t++);var b="";for(o=e.fiber.child,s=0;o&&s<e.children.length;)d=e.children[s],d.fiber===o?(b+=vs(d,t),s++):b+=Xh(o,t),o=o.sibling;for(o&&0<e.children.length&&(b+=Ml(t)+`...
794
+ `),o=e.serverTail,e.serverProps===null&&t--,e=0;e<o.length;e++)s=o[e],b=typeof s=="string"?b+(jl(t)+Xc(s,120-2*t)+`
795
+ `):b+Gh(s.type,s.props,jl(t));return n+i+b}function ti(e){try{return`
796
+
797
+ `+vs(e,0)}catch{return""}}function Qh(e,t,n){for(var i=t,o=null,s=0;i;)i===e&&(s=0),o={fiber:i,children:o!==null?[o]:[],serverProps:i===t?n:i===e?null:void 0,serverTail:[],distanceFromLeaf:s},s++,i=i.return;return o!==null?ti(o).replaceAll(/^[+-]/gm,">"):""}function Zh(e,t){var n=Xe({},e||Xo),i={tag:t};return Zu.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),Fg.indexOf(t)!==-1&&(n.pTagInButtonScope=null),Vf.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=i,t==="form"&&(n.formTag=i),t==="a"&&(n.aTagInScope=i),t==="button"&&(n.buttonTagInScope=i),t==="nobr"&&(n.nobrTagInScope=i),t==="p"&&(n.pTagInButtonScope=i),t==="li"&&(n.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=i),t==="#document"||t==="html"?n.containerTagInScope=null:n.containerTagInScope||(n.containerTagInScope=i),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?n.implicitRootScope===!0&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function qi(e,t,n){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(n)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!n)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return jy.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return n||t===null;case"html":return n&&t==="#document"||t===null;case"body":return n&&(t==="#document"||t==="html")||t===null}return!0}function Og(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Jh(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function yr(e,t){t=t||Xo;var n=t.current;if(t=(n=qi(e,n&&n.tag,t.implicitRootScope)?null:n)?null:Og(e,t),t=n||t,!t)return!0;var i=t.tag;if(t=String(!!n)+"|"+e+"|"+i,Jd[t])return!1;Jd[t]=!0;var o=(t=Sa)?Jh(t.return,i):null,s=t!==null&&o!==null?Qh(o,t,null):"",d="<"+e+">";return n?(n="",i==="table"&&e==="tr"&&(n+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
798
+ This will cause a hydration error.%s`,d,i,n,s)):console.error(`In HTML, %s cannot be a descendant of <%s>.
799
+ This will cause a hydration error.%s`,d,i,s),t&&(e=t.return,o===null||e===null||o===e&&e._debugOwner===t._debugOwner||ne(o,function(){console.error(`<%s> cannot contain a nested %s.
800
+ See this log for the ancestor stack trace.`,i,d)})),!1}function Zc(e,t,n){if(n||qi("#text",t,!1))return!0;if(n="#text|"+t,Jd[n])return!1;Jd[n]=!0;var i=(n=Sa)?Jh(n,t):null;return n=n!==null&&i!==null?Qh(i,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
801
+ This will cause a hydration error.%s`,t,n):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
802
+ This will cause a hydration error.%s`,t,n),!1}function bs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function _g(e){return e.replace($d,function(t,n){return n.toUpperCase()})}function Ss(e,t,n){var i=t.indexOf("--")===0;i||(-1<t.indexOf("-")?mn.hasOwnProperty(t)&&mn[t]||(mn[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,_g(t.replace(Kd,"ms-")))):Ig.test(t)?mn.hasOwnProperty(t)&&mn[t]||(mn[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!zp.test(n)||Wd.hasOwnProperty(n)&&Wd[n]||(Wd[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(zp,""))),typeof n=="number"&&(isNaN(n)?Fd||(Fd=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||Lf||(Lf=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,n):typeof n!="number"||n===0||Dp.has(t)?t==="float"?e.cssFloat=n:(Rh(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function Tn(e,t,n){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var i={};if(n){for(var o in n)if(n.hasOwnProperty(o)&&!t.hasOwnProperty(o))for(var s=kd[o]||[o],d=0;d<s.length;d++)i[s[d]]=o}for(var h in t)if(t.hasOwnProperty(h)&&(!n||n[h]!==t[h]))for(o=kd[h]||[h],s=0;s<o.length;s++)i[o[s]]=h;h={};for(var y in t)for(o=kd[y]||[y],s=0;s<o.length;s++)h[o[s]]=y;y={};for(var b in i)if(o=i[b],(s=h[b])&&o!==s&&(d=o+","+s,!y[d])){y[d]=!0,d=console;var R=t[o];d.error.call(d,"%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.",R==null||typeof R=="boolean"||R===""?"Removing":"Updating",o,s)}}for(var w in n)!n.hasOwnProperty(w)||t!=null&&t.hasOwnProperty(w)||(w.indexOf("--")===0?e.setProperty(w,""):w==="float"?e.cssFloat="":e[w]="");for(var O in t)b=t[O],t.hasOwnProperty(O)&&n[O]!==b&&Ss(e,O,b)}else for(i in t)t.hasOwnProperty(i)&&Ss(e,i,t[i])}function Yi(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function gr(e){return l.get(e)||e}function Jc(e,t){if(oa.call(c,t)&&c[t])return!0;if(r.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=u.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),c[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),c[t]=!0}if(f.test(t)){if(e=t.toLowerCase(),e=u.hasOwnProperty(e)?e:null,e==null)return c[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),c[t]=!0)}return!0}function kc(e,t){var n=[],i;for(i in t)Jc(e,i)||n.push(i);t=n.map(function(o){return"`"+o+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function A0(e,t,n,i){if(oa.call(p,t)&&p[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="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."),p[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(i!=null){if(e=i.possibleRegistrationNames,i.registrationNameDependencies.hasOwnProperty(t))return!0;if(i=e.hasOwnProperty(o)?e[o]:null,i!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,i),p[t]=!0;if(A.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),p[t]=!0}else if(A.test(t))return U.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),p[t]=!0;if(Z.test(t)||F.test(t))return!0;if(o==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),p[t]=!0;if(o==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),p[t]=!0;if(o==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),p[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),p[t]=!0;if(a.hasOwnProperty(o)){if(o=a[o],o!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,o),p[t]=!0}else if(t!==o)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),p[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof n){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return o=t.toLowerCase().slice(0,5),o==="data-"||o==="aria-"?!0:(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),p[t]=!0)}case"function":case"symbol":return p[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),p[t]=!0}}return!0}function kh(e,t,n){var i=[],o;for(o in t)A0(e,o,t[o],n)||i.push(o);t=i.map(function(s){return"`"+s+"`"}).join(", "),i.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<i.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Kc(e){return H.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function da(){}function $a(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function vr(e){var t=Pu(e);if(t&&(e=t.stateNode)){var n=e[Tl]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ni(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(mt(t,"name"),n=n.querySelectorAll('input[name="'+pl(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var o=i[Tl]||null;if(!o)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Ni(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)i=n[t],i.form===e.form&&Gc(i)}break e;case"textarea":Yh(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Ca(e,!!n.multiple,t,!1)}}}function $c(e,t,n){if(ft)return e(t,n);ft=!0;try{var i=e(t);return i}finally{if(ft=!1,(fe!==null||ge!==null)&&(yi(),fe&&(t=fe,e=ge,ge=fe=null,vr(t),e)))for(t=0;t<e.length;t++)vr(e[t])}}function Ha(e,t){var n=e.stateNode;if(n===null)return null;var i=n[Tl]||null;if(i===null)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function br(){if(Je)return Je;var e,t=me,n=t.length,i,o="value"in X?X.value:X.textContent,s=o.length;for(e=0;e<n&&t[e]===o[e];e++);var d=n-e;for(i=1;i<=d&&t[n-i]===o[s-i];i++);return Je=o.slice(e,1<i?1-i:void 0)}function Vi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ts(){return!0}function Es(){return!1}function yl(e){function t(n,i,o,s,d){this._reactName=n,this._targetInst=o,this.type=i,this.nativeEvent=s,this.target=d,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(n=e[h],this[h]=n?n(s):s[h]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Ts:Es,this.isPropagationStopped=Es,this}return Xe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ts)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ts)},persist:function(){},isPersistent:Ts}),t}function x0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=XS[e])?!!t[e]:!1}function zl(){return x0}function li(e,t){switch(e){case"keyup":return t2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==fb;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function As(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function xs(e,t){switch(e){case"compositionend":return As(t);case"keypress":return t.which!==db?null:(mb=!0,hb);case"textInput":return e=t.data,e===hb&&mb?null:e;default:return null}}function Rg(e,t){if(Pd)return e==="compositionend"||!ev&&li(e,t)?(e=br(),Je=me=X=null,Pd=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return rb&&t.locale!=="ko"?null:t.data;default:return null}}function Sr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!a2[e.type]:t==="textarea"}function Kh(e){if(!D)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function Wc(e,t,n,i){fe?ge?ge.push(i):ge=[i]:fe=i,t=xo(t,"onChange"),0<t.length&&(n=new Ne("onChange","change",null,n,i),e.push({event:n,listeners:t}))}function Tr(e){km(e,0)}function Ms(e){var t=Vc(e);if(Gc(t))return e}function M0(e,t){if(e==="change")return t}function z0(){Cp&&(Cp.detachEvent("onpropertychange",D0),Up=Cp=null)}function D0(e){if(e.propertyName==="value"&&Ms(Up)){var t=[];Wc(t,Up,e,$a(e)),$c(Tr,t)}}function $h(e,t,n){e==="focusin"?(z0(),Cp=t,Up=n,Cp.attachEvent("onpropertychange",D0)):e==="focusout"&&z0()}function Cg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ms(Up)}function Ug(e,t){if(e==="click")return Ms(t)}function Hg(e,t){if(e==="input"||e==="change")return Ms(t)}function wg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function zs(e,t){if(xa(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var o=n[i];if(!oa.call(t,o)||!xa(e[o],t[o]))return!1}return!0}function Wh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function O0(e,t){var n=Wh(e);e=0;for(var i;n;){if(n.nodeType===3){if(i=e+n.textContent.length,e<=t&&i>=t)return{node:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Wh(n)}}function _0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function R0(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Lc(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Lc(e.document)}return t}function Fh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Er(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;lv||eh==null||eh!==Lc(i)||(i=eh,"selectionStart"in i&&Fh(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Hp&&zs(Hp,i)||(Hp=i,i=xo(tv,"onSelect"),0<i.length&&(t=new Ne("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=eh)))}function Gi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function Li(e){if(av[e])return av[e];if(!th[e])return e;var t=th[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in yb)return av[e]=t[n];return e}function Wa(e,t){Tb.set(e,t),fu(t,[e])}function Ds(){for(var e=lh,t=cv=lh=0;t<e;){var n=Wn[t];Wn[t++]=null;var i=Wn[t];Wn[t++]=null;var o=Wn[t];Wn[t++]=null;var s=Wn[t];if(Wn[t++]=null,i!==null&&o!==null){var d=i.pending;d===null?o.next=o:(o.next=d.next,d.next=o),i.pending=o}s!==0&&C0(n,o,s)}}function Ar(e,t,n,i){Wn[lh++]=e,Wn[lh++]=t,Wn[lh++]=n,Wn[lh++]=i,cv|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function Ih(e,t,n,i){return Ar(e,t,n,i),xr(e)}function ql(e,t){return Ar(e,null,null,t),xr(e)}function C0(e,t,n){e.lanes|=n;var i=e.alternate;i!==null&&(i.lanes|=n);for(var o=!1,s=e.return;s!==null;)s.childLanes|=n,i=s.alternate,i!==null&&(i.childLanes|=n),s.tag===22&&(e=s.stateNode,e===null||e._visibility&iv||(o=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,o&&t!==null&&(o=31-Sl(n),e=s.hiddenUpdates,i=e[o],i===null?e[o]=[t]:i.push(t),t.lane=n|536870912),s):null}function xr(e){if(t0>D2)throw tr=t0=0,l0=Bv=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.");tr>O2&&(tr=0,l0=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&Xn(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&Xn(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function Xi(e){if(Fn===null)return e;var t=Fn(e);return t===void 0?e:t.current}function Ph(e){if(Fn===null)return e;var t=Fn(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Xi(e.render),e.render!==t)?(t={$$typeof:Ec,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function U0(e,t){if(Fn===null)return!1;var n=e.elementType;t=t.type;var i=!1,o=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(i=!0);break;case 0:(typeof t=="function"||o===kl)&&(i=!0);break;case 11:(o===Ec||o===kl)&&(i=!0);break;case 14:case 15:(o===Nf||o===kl)&&(i=!0);break;default:return!1}return!!(i&&(e=Fn(n),e!==void 0&&e===Fn(t)))}function H0(e){Fn!==null&&typeof WeakSet=="function"&&(ah===null&&(ah=new WeakSet),ah.add(e))}function Os(e,t,n){var i=e.alternate,o=e.child,s=e.sibling,d=e.tag,h=e.type,y=null;switch(d){case 0:case 15:case 1:y=h;break;case 11:y=h.render}if(Fn===null)throw Error("Expected resolveFamily to be set during hot reload.");var b=!1;h=!1,y!==null&&(y=Fn(y),y!==void 0&&(n.has(y)?h=!0:t.has(y)&&(d===1?h=!0:b=!0))),ah!==null&&(ah.has(e)||i!==null&&ah.has(i))&&(h=!0),h&&(e._debugNeedsRemount=!0),(h||b)&&(i=ql(e,2),i!==null&&zt(i,e,2)),o===null||h||Os(o,t,n),s!==null&&Os(s,t,n)}function _s(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,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,xb||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function em(e){return e=e.prototype,!(!e||!e.isReactComponent)}function En(e,t){var n=e.alternate;switch(n===null?(n=te(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=Xi(e.type);break;case 1:n.type=Xi(e.type);break;case 11:n.type=Ph(e.type)}return n}function tm(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function Mr(e,t,n,i,o,s){var d=0,h=e;if(typeof e=="function")em(e)&&(d=1),h=Xi(h);else if(typeof e=="string")d=J(),d=jg(e,n,d)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Bf:return t=te(31,n,t,o),t.elementType=Bf,t.lanes=s,t;case tt:return ai(n.children,o,s,t);case No:d=8,o|=fa,o|=ku;break;case tl:return e=n,i=o,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=te(12,e,t,i|sl),t.elementType=tl,t.lanes=s,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Bo:return t=te(13,n,t,o),t.elementType=Bo,t.lanes=s,t;case Hd:return t=te(19,n,t,o),t.elementType=Hd,t.lanes=s,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Za:d=10;break e;case hp:d=9;break e;case Ec:d=11,h=Ph(h);break e;case Nf:d=14;break e;case kl:d=16,h=null;break e}h="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(h+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":ol(e)?n="array":e!==void 0&&e.$$typeof===qu?(n="<"+(I(e.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(d=i?Me(i):null)&&(h+=`
803
+
804
+ Check the render method of \``+d+"`."),d=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+h)),h=null}return t=te(d,n,t,o),t.elementType=e,t.type=h,t.lanes=s,t._debugOwner=i,t}function Rs(e,t,n){return t=Mr(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function ai(e,t,n,i){return e=te(7,e,i,t),e.lanes=n,e}function ni(e,t,n){return e=te(6,e,null,t),e.lanes=n,e}function w0(e){var t=te(18,null,null,At);return t.stateNode=e,t}function lm(e,t,n){return t=te(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ha(e,t){if(typeof e=="object"&&e!==null){var n=ov.get(e);return n!==void 0?n:(t={value:e,source:t,stack:cu(t)},ov.set(e,t),t)}return{value:e,source:t,stack:cu(t)}}function An(e,t){mu(),nh[uh++]=wp,nh[uh++]=Yy,Yy=e,wp=t}function am(e,t,n){mu(),In[Pn++]=Dc,In[Pn++]=Oc,In[Pn++]=Qf,Qf=e;var i=Dc;e=Oc;var o=32-Sl(i)-1;i&=~(1<<o),n+=1;var s=32-Sl(t)+o;if(30<s){var d=o-o%5;s=(i&(1<<d)-1).toString(32),i>>=d,o-=d,Dc=1<<32-Sl(t)+o|n<<o|i,Oc=s+e}else Dc=1<<s|n<<o|i,Oc=e}function Qi(e){mu(),e.return!==null&&(An(e,1),am(e,1,0))}function Zi(e){for(;e===Yy;)Yy=nh[--uh],nh[uh]=null,wp=nh[--uh],nh[uh]=null;for(;e===Qf;)Qf=In[--Pn],In[Pn]=null,Oc=In[--Pn],In[Pn]=null,Dc=In[--Pn],In[Pn]=null}function N0(){return mu(),Qf!==null?{id:Dc,overflow:Oc}:null}function Cs(e,t){mu(),In[Pn++]=Dc,In[Pn++]=Oc,In[Pn++]=Qf,Dc=t.id,Oc=t.overflow,Qf=e}function mu(){Ke||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function ui(e,t){if(e.return===null){if(pn===null)pn={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(pn.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");pn.distanceFromLeaf>t&&(pn.distanceFromLeaf=t)}return pn}var n=ui(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function zr(){Ke&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Fc(e,t){Di||(e=ui(e,0),e.serverProps=null,t!==null&&(t=gd(t),e.serverTail.push(t)))}function pu(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,n="",i=pn;throw i!==null&&(pn=null,n=ti(i)),Us(ha(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
805
+
806
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
807
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
808
+ - Date formatting in a user's locale which doesn't match the server.
809
+ - External changing data without sending a snapshot of it along with the HTML.
810
+ - Invalid HTML tag nesting.
811
+
812
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
813
+
814
+ https://react.dev/link/hydration-mismatch`+n),e)),sv}function nm(e){var t=e.stateNode,n=e.type,i=e.memoizedProps;switch(t[$t]=e,t[Tl]=i,Si(n,i),n){case"dialog":Oe("cancel",t),Oe("close",t);break;case"iframe":case"object":case"embed":Oe("load",t);break;case"video":case"audio":for(n=0;n<a0.length;n++)Oe(a0[n],t);break;case"source":Oe("error",t);break;case"img":case"image":case"link":Oe("error",t),Oe("load",t);break;case"details":Oe("toggle",t);break;case"input":Hi("input",i),Oe("invalid",t),wi(t,i),Bi(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"option":jh(t,i);break;case"select":Hi("select",i),Oe("invalid",t),ji(t,i);break;case"textarea":Hi("textarea",i),Oe("invalid",t),T0(t,i),Vh(t,i.value,i.defaultValue,i.children)}n=i.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||i.suppressHydrationWarning===!0||Mo(t.textContent,n)?(i.popover!=null&&(Oe("beforetoggle",t),Oe("toggle",t)),i.onScroll!=null&&Oe("scroll",t),i.onScrollEnd!=null&&Oe("scrollend",t),i.onClick!=null&&(t.onclick=da),t=!0):t=!1,t||pu(e,!0)}function um(e){for(Kl=e.return;Kl;)switch(Kl.tag){case 5:case 31:case 13:eu=!1;return;case 27:case 3:eu=!0;return;default:Kl=Kl.return}}function Ic(e){if(e!==Kl)return!1;if(!Ke)return um(e),Ke=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Hu(e.type,e.memoizedProps)),n=!n),n&&Ht){for(n=Ht;n;){var i=ui(e,0),o=gd(n);i.serverTail.push(o),n=o.type==="Suspense"?vd(n):Hl(n.nextSibling)}pu(e)}if(um(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Ht=vd(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Ht=vd(e)}else t===27?(t=Ht,on(e.type)?(e=Kv,Kv=null,Ht=e):Ht=t):Ht=Kl?Hl(e.stateNode.nextSibling):null;return!0}function Ji(){Ht=Kl=null,Di=Ke=!1}function im(){var e=Zo;return e!==null&&(Oa===null?Oa=e:Oa.push.apply(Oa,e),Zo=null),e}function Us(e){Zo===null?Zo=[e]:Zo.push(e)}function cm(){var e=pn;if(e!==null){pn=null;for(var t=ti(e);0<e.children.length;)e=e.children[0];ne(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
815
+
816
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
817
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
818
+ - Date formatting in a user's locale which doesn't match the server.
819
+ - External changing data without sending a snapshot of it along with the HTML.
820
+ - Invalid HTML tag nesting.
821
+
822
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
823
+
824
+ %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function Dl(){ih=Vy=null,ch=!1}function wa(e,t,n){ye(fv,t._currentValue,e),t._currentValue=n,ye(rv,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==zb&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=zb}function xn(e,t){e._currentValue=fv.current;var n=rv.current;Ue(rv,t),e._currentRenderer=n,Ue(fv,t)}function Dr(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}e!==n&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Or(e,t,n,i){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var s=o.dependencies;if(s!==null){var d=o.child;s=s.firstContext;e:for(;s!==null;){var h=s;s=o;for(var y=0;y<t.length;y++)if(h.context===t[y]){s.lanes|=n,h=s.alternate,h!==null&&(h.lanes|=n),Dr(s.return,n,e),i||(d=null);break e}s=h.next}}else if(o.tag===18){if(d=o.return,d===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");d.lanes|=n,s=d.alternate,s!==null&&(s.lanes|=n),Dr(d,n,e),d=null}else d=o.child;if(d!==null)d.return=o;else for(d=o;d!==null;){if(d===e){d=null;break}if(o=d.sibling,o!==null){o.return=d.return,d=o;break}d=d.return}o=d}}function ki(e,t,n,i){e=null;for(var o=t,s=!1;o!==null;){if(!s){if((o.flags&524288)!==0)s=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var d=o.alternate;if(d===null)throw Error("Should have a current fiber. This is a bug in React.");if(d=d.memoizedProps,d!==null){var h=o.type;xa(o.pendingProps.value,d.value)||(e!==null?e.push(h):e=[h])}}else if(o===jo.current){if(d=o.alternate,d===null)throw Error("Should have a current fiber. This is a bug in React.");d.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(o0):e=[o0])}o=o.return}e!==null&&Or(t,e,n,i),t.flags|=262144}function Pc(e){for(e=e.firstContext;e!==null;){if(!xa(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ki(e){Vy=e,ih=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ot(e){return ch&&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()."),to(Vy,e)}function eo(e,t){return Vy===null&&Ki(e),to(e,t)}function to(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},ih===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");ih=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else ih=ih.next=t;return n}function Hs(){return{controller:new d2,data:new Map,refCount:0}}function ii(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Fa(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&h2(m2,function(){e.controller.abort()})}function Pl(){var e=Zf;return Zf=0,e}function lo(e){var t=Zf;return Zf=e,t}function ao(e){var t=Zf;return Zf+=e,t}function It(){var e=_c;return _c=-1.1,e}function ea(e){0<=e&&(_c=e)}function _r(e){Ma=oh(),0>e.actualStartTime&&(e.actualStartTime=Ma)}function Rr(e){if(0<=Ma){var t=oh()-Ma;e.actualDuration+=t,e.selfBaseDuration=t,Ma=-1}}function B0(e){if(0<=Ma){var t=oh()-Ma;e.actualDuration+=t,Ma=-1}}function Mn(){if(0<=Ma){var e=oh()-Ma;Ma=-1,Zf+=e}}function zn(){Ma=oh(),0>_c&&(_c=Ma)}function no(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function j0(e,t){if(Np===null){var n=Np=[];dv=0,Jf=hd(),sh={status:"pending",value:void 0,then:function(i){n.push(i)}}}return dv++,t.then(Cr,Cr),t}function Cr(){if(--dv===0&&Np!==null){sh!==null&&(sh.status="fulfilled");var e=Np;Np=null,Jf=0,sh=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ia(e,t){var n=[],i={status:"pending",value:null,reason:null,then:function(o){n.push(o)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var o=0;o<n.length;o++)(0,n[o])(t)},function(o){for(i.status="rejected",i.reason=o,o=0;o<n.length;o++)(0,n[o])(void 0)}),i}function uo(){var e=kf.current;return e!==null?e:Mt.pooledCache}function Yl(e,t){t===null?ye(kf,kf.current,e):ye(kf,t.pool,e)}function $i(){var e=uo();return e===null?null:{parent:fl._currentValue,pool:e}}function Ur(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function ws(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Ns(e,t,n){B.actQueue!==null&&(B.didUsePromise=!0);var i=e.thenables;switch(n=i[n],n===void 0?i.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(da,da),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ci(e),e;default:if(typeof t.status=="string")t.then(da,da);else{if(e=Mt,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(o){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=o}},function(o){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=o}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ci(e),e}throw fh=t,ky=!0,Lp}}function Hr(){if(fh===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=fh;return fh=null,ky=!1,e}function ci(e){if(e===Lp||e===Zy)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 ul(e){var t=Ze;return e!=null&&(Ze=t===null?e:t.concat(e)),t}function Wi(e,t,n){for(var i=Object.keys(e.props),o=0;o<i.length;o++){var s=i[o];if(s!=="children"&&s!=="key"){t===null&&(t=Rs(e,n.mode,0),t._debugInfo=Ze,t.return=n),ne(t,function(d){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",d)},s);break}}}function yu(e){var t=Xp;return Xp+=1,rh===null&&(rh=Ur()),Ns(rh,e,t)}function Bs(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ol(e,t){throw t.$$typeof===Lg?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
825
+ - Multiple copies of the "react" package is used.
826
+ - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
827
+ - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function io(e,t){var n=ee(e)||"Component";Qb[n]||(Qb[n]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
828
+ root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
829
+ <%s>{%s}</%s>`,t,t,n,t,n))}function Na(e,t){var n=ee(e)||"Component";Zb[n]||(Zb[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
830
+ root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
831
+ <%s>%s</%s>`,n,t,n))}function om(e){function t(S,T){if(e){var x=S.deletions;x===null?(S.deletions=[T],S.flags|=16):x.push(T)}}function n(S,T){if(!e)return null;for(;T!==null;)t(S,T),T=T.sibling;return null}function i(S){for(var T=new Map;S!==null;)S.key!==null?T.set(S.key,S):T.set(S.index,S),S=S.sibling;return T}function o(S,T){return S=En(S,T),S.index=0,S.sibling=null,S}function s(S,T,x){return S.index=x,e?(x=S.alternate,x!==null?(x=x.index,x<T?(S.flags|=67108866,T):x):(S.flags|=67108866,T)):(S.flags|=1048576,T)}function d(S){return e&&S.alternate===null&&(S.flags|=67108866),S}function h(S,T,x,Q){return T===null||T.tag!==6?(T=ni(x,S.mode,Q),T.return=S,T._debugOwner=S,T._debugTask=S._debugTask,T._debugInfo=Ze,T):(T=o(T,x),T.return=S,T._debugInfo=Ze,T)}function y(S,T,x,Q){var le=x.type;return le===tt?(T=R(S,T,x.props.children,Q,x.key),Wi(x,T,S),T):T!==null&&(T.elementType===le||U0(T,x)||typeof le=="object"&&le!==null&&le.$$typeof===kl&&Jo(le)===T.type)?(T=o(T,x.props),Bs(T,x),T.return=S,T._debugOwner=x._owner,T._debugInfo=Ze,T):(T=Rs(x,S.mode,Q),Bs(T,x),T.return=S,T._debugInfo=Ze,T)}function b(S,T,x,Q){return T===null||T.tag!==4||T.stateNode.containerInfo!==x.containerInfo||T.stateNode.implementation!==x.implementation?(T=lm(x,S.mode,Q),T.return=S,T._debugInfo=Ze,T):(T=o(T,x.children||[]),T.return=S,T._debugInfo=Ze,T)}function R(S,T,x,Q,le){return T===null||T.tag!==7?(T=ai(x,S.mode,Q,le),T.return=S,T._debugOwner=S,T._debugTask=S._debugTask,T._debugInfo=Ze,T):(T=o(T,x),T.return=S,T._debugInfo=Ze,T)}function w(S,T,x){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return T=ni(""+T,S.mode,x),T.return=S,T._debugOwner=S,T._debugTask=S._debugTask,T._debugInfo=Ze,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case qu:return x=Rs(T,S.mode,x),Bs(x,T),x.return=S,S=ul(T._debugInfo),x._debugInfo=Ze,Ze=S,x;case Tc:return T=lm(T,S.mode,x),T.return=S,T._debugInfo=Ze,T;case kl:var Q=ul(T._debugInfo);return T=Jo(T),S=w(S,T,x),Ze=Q,S}if(ol(T)||Ae(T))return x=ai(T,S.mode,x,null),x.return=S,x._debugOwner=S,x._debugTask=S._debugTask,S=ul(T._debugInfo),x._debugInfo=Ze,Ze=S,x;if(typeof T.then=="function")return Q=ul(T._debugInfo),S=w(S,yu(T),x),Ze=Q,S;if(T.$$typeof===Za)return w(S,eo(S,T),x);Ol(S,T)}return typeof T=="function"&&io(S,T),typeof T=="symbol"&&Na(S,T),null}function O(S,T,x,Q){var le=T!==null?T.key:null;if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return le!==null?null:h(S,T,""+x,Q);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case qu:return x.key===le?(le=ul(x._debugInfo),S=y(S,T,x,Q),Ze=le,S):null;case Tc:return x.key===le?b(S,T,x,Q):null;case kl:return le=ul(x._debugInfo),x=Jo(x),S=O(S,T,x,Q),Ze=le,S}if(ol(x)||Ae(x))return le!==null?null:(le=ul(x._debugInfo),S=R(S,T,x,Q,null),Ze=le,S);if(typeof x.then=="function")return le=ul(x._debugInfo),S=O(S,T,yu(x),Q),Ze=le,S;if(x.$$typeof===Za)return O(S,T,eo(S,x),Q);Ol(S,x)}return typeof x=="function"&&io(S,x),typeof x=="symbol"&&Na(S,x),null}function G(S,T,x,Q,le){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return S=S.get(x)||null,h(T,S,""+Q,le);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case qu:return x=S.get(Q.key===null?x:Q.key)||null,S=ul(Q._debugInfo),T=y(T,x,Q,le),Ze=S,T;case Tc:return S=S.get(Q.key===null?x:Q.key)||null,b(T,S,Q,le);case kl:var He=ul(Q._debugInfo);return Q=Jo(Q),T=G(S,T,x,Q,le),Ze=He,T}if(ol(Q)||Ae(Q))return x=S.get(x)||null,S=ul(Q._debugInfo),T=R(T,x,Q,le,null),Ze=S,T;if(typeof Q.then=="function")return He=ul(Q._debugInfo),T=G(S,T,x,yu(Q),le),Ze=He,T;if(Q.$$typeof===Za)return G(S,T,x,eo(T,Q),le);Ol(T,Q)}return typeof Q=="function"&&io(T,Q),typeof Q=="symbol"&&Na(T,Q),null}function ce(S,T,x,Q){if(typeof x!="object"||x===null)return Q;switch(x.$$typeof){case qu:case Tc:Ee(S,T,x);var le=x.key;if(typeof le!="string")break;if(Q===null){Q=new Set,Q.add(le);break}if(!Q.has(le)){Q.add(le);break}ne(T,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.",le)});break;case kl:x=Jo(x),ce(S,T,x,Q)}return Q}function Ce(S,T,x,Q){for(var le=null,He=null,ve=null,pe=T,Ye=T=0,wt=null;pe!==null&&Ye<x.length;Ye++){pe.index>Ye?(wt=pe,pe=null):wt=pe.sibling;var nl=O(S,pe,x[Ye],Q);if(nl===null){pe===null&&(pe=wt);break}le=ce(S,nl,x[Ye],le),e&&pe&&nl.alternate===null&&t(S,pe),T=s(nl,T,Ye),ve===null?He=nl:ve.sibling=nl,ve=nl,pe=wt}if(Ye===x.length)return n(S,pe),Ke&&An(S,Ye),He;if(pe===null){for(;Ye<x.length;Ye++)pe=w(S,x[Ye],Q),pe!==null&&(le=ce(S,pe,x[Ye],le),T=s(pe,T,Ye),ve===null?He=pe:ve.sibling=pe,ve=pe);return Ke&&An(S,Ye),He}for(pe=i(pe);Ye<x.length;Ye++)wt=G(pe,S,Ye,x[Ye],Q),wt!==null&&(le=ce(S,wt,x[Ye],le),e&&wt.alternate!==null&&pe.delete(wt.key===null?Ye:wt.key),T=s(wt,T,Ye),ve===null?He=wt:ve.sibling=wt,ve=wt);return e&&pe.forEach(function(jc){return t(S,jc)}),Ke&&An(S,Ye),He}function _t(S,T,x,Q){if(x==null)throw Error("An iterable object provided no iterator.");for(var le=null,He=null,ve=T,pe=T=0,Ye=null,wt=null,nl=x.next();ve!==null&&!nl.done;pe++,nl=x.next()){ve.index>pe?(Ye=ve,ve=null):Ye=ve.sibling;var jc=O(S,ve,nl.value,Q);if(jc===null){ve===null&&(ve=Ye);break}wt=ce(S,jc,nl.value,wt),e&&ve&&jc.alternate===null&&t(S,ve),T=s(jc,T,pe),He===null?le=jc:He.sibling=jc,He=jc,ve=Ye}if(nl.done)return n(S,ve),Ke&&An(S,pe),le;if(ve===null){for(;!nl.done;pe++,nl=x.next())ve=w(S,nl.value,Q),ve!==null&&(wt=ce(S,ve,nl.value,wt),T=s(ve,T,pe),He===null?le=ve:He.sibling=ve,He=ve);return Ke&&An(S,pe),le}for(ve=i(ve);!nl.done;pe++,nl=x.next())Ye=G(ve,S,pe,nl.value,Q),Ye!==null&&(wt=ce(S,Ye,nl.value,wt),e&&Ye.alternate!==null&&ve.delete(Ye.key===null?pe:Ye.key),T=s(Ye,T,pe),He===null?le=Ye:He.sibling=Ye,He=Ye);return e&&ve.forEach(function(L2){return t(S,L2)}),Ke&&An(S,pe),le}function Pe(S,T,x,Q){if(typeof x=="object"&&x!==null&&x.type===tt&&x.key===null&&(Wi(x,null,S),x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case qu:var le=ul(x._debugInfo);e:{for(var He=x.key;T!==null;){if(T.key===He){if(He=x.type,He===tt){if(T.tag===7){n(S,T.sibling),Q=o(T,x.props.children),Q.return=S,Q._debugOwner=x._owner,Q._debugInfo=Ze,Wi(x,Q,S),S=Q;break e}}else if(T.elementType===He||U0(T,x)||typeof He=="object"&&He!==null&&He.$$typeof===kl&&Jo(He)===T.type){n(S,T.sibling),Q=o(T,x.props),Bs(Q,x),Q.return=S,Q._debugOwner=x._owner,Q._debugInfo=Ze,S=Q;break e}n(S,T);break}else t(S,T);T=T.sibling}x.type===tt?(Q=ai(x.props.children,S.mode,Q,x.key),Q.return=S,Q._debugOwner=S,Q._debugTask=S._debugTask,Q._debugInfo=Ze,Wi(x,Q,S),S=Q):(Q=Rs(x,S.mode,Q),Bs(Q,x),Q.return=S,Q._debugInfo=Ze,S=Q)}return S=d(S),Ze=le,S;case Tc:e:{for(le=x,x=le.key;T!==null;){if(T.key===x)if(T.tag===4&&T.stateNode.containerInfo===le.containerInfo&&T.stateNode.implementation===le.implementation){n(S,T.sibling),Q=o(T,le.children||[]),Q.return=S,S=Q;break e}else{n(S,T);break}else t(S,T);T=T.sibling}Q=lm(le,S.mode,Q),Q.return=S,S=Q}return d(S);case kl:return le=ul(x._debugInfo),x=Jo(x),S=Pe(S,T,x,Q),Ze=le,S}if(ol(x))return le=ul(x._debugInfo),S=Ce(S,T,x,Q),Ze=le,S;if(Ae(x)){if(le=ul(x._debugInfo),He=Ae(x),typeof He!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var ve=He.call(x);return ve===x?(S.tag!==0||Object.prototype.toString.call(S.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(ve)!=="[object Generator]")&&(Lb||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."),Lb=!0):x.entries!==He||yv||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),yv=!0),S=_t(S,T,ve,Q),Ze=le,S}if(typeof x.then=="function")return le=ul(x._debugInfo),S=Pe(S,T,yu(x),Q),Ze=le,S;if(x.$$typeof===Za)return Pe(S,T,eo(S,x),Q);Ol(S,x)}return typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint"?(le=""+x,T!==null&&T.tag===6?(n(S,T.sibling),Q=o(T,le),Q.return=S,S=Q):(n(S,T),Q=ni(le,S.mode,Q),Q.return=S,Q._debugOwner=S,Q._debugTask=S._debugTask,Q._debugInfo=Ze,S=Q),d(S)):(typeof x=="function"&&io(S,x),typeof x=="symbol"&&Na(S,x),n(S,T))}return function(S,T,x,Q){var le=Ze;Ze=null;try{Xp=0;var He=Pe(S,T,x,Q);return rh=null,He}catch(wt){if(wt===Lp||wt===Zy)throw wt;var ve=te(29,wt,null,S.mode);ve.lanes=Q,ve.return=S;var pe=ve._debugInfo=Ze;if(ve._debugOwner=S._debugOwner,ve._debugTask=S._debugTask,pe!=null){for(var Ye=pe.length-1;0<=Ye;Ye--)if(typeof pe[Ye].stack=="string"){ve._debugOwner=pe[Ye],ve._debugTask=pe[Ye].debugTask;break}}return ve}finally{Ze=le}}}function js(e,t){var n=ol(e);return e=!n&&typeof Ae(e)=="function",n||e?(n=n?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",n,t,n),!1):!0}function gu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function qs(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function vu(e){return{lane:e,tag:kb,payload:null,callback:null,next:null}}function Dn(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,vv===i&&!Wb){var o=ee(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
832
+
833
+ Please update the following component: %s`,o),Wb=!0}return(dt&Da)!==ka?(o=i.pending,o===null?t.next=t:(t.next=o.next,o.next=t),i.pending=t,t=xr(e),C0(e,null,n),t):(Ar(e,i,t,n),xr(e))}function co(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,hs(e,n)}}function Vl(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var o=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var d={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};s===null?o=s=d:s=s.next=d,n=n.next}while(n!==null);s===null?o=s=t:s=s.next=t}else o=s=t;n={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:i.shared,callbacks:i.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function On(){if(bv){var e=sh;if(e!==null)throw e}}function _n(e,t,n,i){bv=!1;var o=e.updateQueue;ko=!1,vv=o.shared;var s=o.firstBaseUpdate,d=o.lastBaseUpdate,h=o.shared.pending;if(h!==null){o.shared.pending=null;var y=h,b=y.next;y.next=null,d===null?s=b:d.next=b,d=y;var R=e.alternate;R!==null&&(R=R.updateQueue,h=R.lastBaseUpdate,h!==d&&(h===null?R.firstBaseUpdate=b:h.next=b,R.lastBaseUpdate=y))}if(s!==null){var w=o.baseState;d=0,R=b=y=null,h=s;do{var O=h.lane&-536870913,G=O!==h.lane;if(G?($e&O)===O:(i&O)===O){O!==0&&O===Jf&&(bv=!0),R!==null&&(R=R.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});e:{O=e;var ce=h,Ce=t,_t=n;switch(ce.tag){case Kb:if(ce=ce.payload,typeof ce=="function"){ch=!0;var Pe=ce.call(_t,w,Ce);if(O.mode&fa){Tt(!0);try{ce.call(_t,w,Ce)}finally{Tt(!1)}}ch=!1,w=Pe;break e}w=ce;break e;case gv:O.flags=O.flags&-65537|128;case kb:if(Pe=ce.payload,typeof Pe=="function"){if(ch=!0,ce=Pe.call(_t,w,Ce),O.mode&fa){Tt(!0);try{Pe.call(_t,w,Ce)}finally{Tt(!1)}}ch=!1}else ce=Pe;if(ce==null)break e;w=Xe({},w,ce);break e;case $b:ko=!0}}O=h.callback,O!==null&&(e.flags|=64,G&&(e.flags|=8192),G=o.callbacks,G===null?o.callbacks=[O]:G.push(O))}else G={lane:O,tag:h.tag,payload:h.payload,callback:h.callback,next:null},R===null?(b=R=G,y=w):R=R.next=G,d|=O;if(h=h.next,h===null){if(h=o.shared.pending,h===null)break;G=h,h=G.next,G.next=null,o.lastBaseUpdate=G,o.shared.pending=null}}while(!0);R===null&&(y=w),o.baseState=y,o.firstBaseUpdate=b,o.lastBaseUpdate=R,s===null&&(o.shared.lanes=0),$o|=d,e.lanes=d,e.memoizedState=w}vv=null}function Ys(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Vs(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Ys(n[e],t)}function ma(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Ys(n[e],t)}function pa(e,t){var n=_i;ye(Ky,n,e),ye(dh,t,e),_i=n|t.baseLanes}function Rn(e){ye(Ky,_i,e),ye(dh,dh.current,e)}function Ba(e){_i=Ky.current,Ue(dh,e),Ue(Ky,e)}function gl(e){var t=e.alternate;ye(ll,ll.current&hh,e),ye(yn,e,e),tu===null&&(t===null||dh.current!==null||t.memoizedState!==null)&&(tu=e)}function Pa(e){ye(ll,ll.current,e),ye(yn,e,e),tu===null&&(tu=e)}function sm(e){e.tag===22?(ye(ll,ll.current,e),ye(yn,e,e),tu===null&&(tu=e)):Cn(e)}function Cn(e){ye(ll,ll.current,e),ye(yn,yn.current,e)}function Gl(e){Ue(yn,e),tu===e&&(tu=null),Ue(ll,e)}function Gs(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||yd(n)||ap(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Te(){var e=Y;nu===null?nu=[e]:nu.push(e)}function k(){var e=Y;if(nu!==null&&(Uc++,nu[Uc]!==e)){var t=ee(Be);if(!Fb.has(t)&&(Fb.add(t),nu!==null)){for(var n="",i=0;i<=Uc;i++){var o=nu[i],s=i===Uc?e:o;for(o=i+1+". "+o;30>o.length;)o+=" ";o+=s+`
834
+ `,n+=o}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
835
+
836
+ Previous render Next render
837
+ ------------------------------------------------------
838
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
839
+ `,t,n)}}}function Ve(e){e==null||ol(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Y,typeof e)}function en(){var e=ee(Be);Pb.has(e)||(Pb.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function at(){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:
840
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
841
+ 2. You might be breaking the Rules of Hooks
842
+ 3. You might have more than one copy of React in the same app
843
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Ls(e,t){if(Jp)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Y),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
844
+
845
+ Previous: %s
846
+ Incoming: %s`,Y,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!xa(e[n],t[n]))return!1;return!0}function Un(e,t,n,i,o,s){Rc=s,Be=t,nu=e!==null?e._debugHookTypes:null,Uc=-1,Jp=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(s=ee(Be),Sv.has(s)||(Sv.add(s),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.",s===null?"An unknown Component":"<"+s+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,B.H=e!==null&&e.memoizedState!==null?Ev:nu!==null?e1:Tv,Wf=s=(t.mode&fa)!==At;var d=mv(n,i,o);if(Wf=!1,ph&&(d=wr(t,n,i,o)),s){Tt(!0);try{d=wr(t,n,i,o)}finally{Tt(!1)}}return fm(e,t),d}function fm(e,t){t._debugHookTypes=nu,t.dependencies===null?Cc!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Cc}):t.dependencies._debugThenableState=Cc,B.H=Fy;var n=xt!==null&&xt.next!==null;if(Rc=0,nu=Y=rl=xt=Be=null,Uc=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),$y=!1,Zp=0,Cc=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||dl||(e=e.dependencies,e!==null&&Pc(e)&&(dl=!0)),ky?(ky=!1,e=!0):e=!1,e&&(t=ee(t)||"Unknown",Ib.has(t)||Sv.has(t)||(Ib.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function wr(e,t,n,i){Be=e;var o=0;do{if(ph&&(Cc=null),Zp=0,ph=!1,o>=b2)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o+=1,Jp=!1,rl=xt=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}Uc=-1,B.H=t1,s=mv(t,n,i)}while(ph);return s}function oo(){var e=B.H,t=e.useState()[0];return t=typeof t.then=="function"?ja(t):t,e=e.useState()[0],(xt!==null?xt.memoizedState:null)!==e&&(Be.flags|=1024),t}function bu(){var e=Wy!==0;return Wy=0,e}function Xs(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&ku)!==At?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function Fi(e){if($y){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}$y=!1}Rc=0,nu=rl=xt=Be=null,Uc=-1,Y=null,ph=!1,Zp=Wy=0,Cc=null}function _l(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rl===null?Be.memoizedState=rl=e:rl=rl.next=e,rl}function We(){if(xt===null){var e=Be.alternate;e=e!==null?e.memoizedState:null}else e=xt.next;var t=rl===null?Be.memoizedState:rl.next;if(t!==null)rl=t,xt=e;else{if(e===null)throw Be.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");xt=e,e={memoizedState:xt.memoizedState,baseState:xt.baseState,baseQueue:xt.baseQueue,queue:xt.queue,next:null},rl===null?Be.memoizedState=rl=e:rl=rl.next=e}return rl}function tn(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ja(e){var t=Zp;return Zp+=1,Cc===null&&(Cc=Ur()),e=Ns(Cc,e,t),t=Be,(rl===null?t.memoizedState:rl.next)===null&&(t=t.alternate,B.H=t!==null&&t.memoizedState!==null?Ev:Tv),e}function Rl(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ja(e);if(e.$$typeof===Za)return ot(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Su(e){var t=null,n=Be.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var i=Be.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=tn(),Be.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||Jp)for(n=t.data[t.index]=Array(e),i=0;i<e;i++)n[i]=Xg;else n.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",n.length,e);return t.index++,n}function ya(e,t){return typeof t=="function"?t(e):t}function oi(e,t,n){var i=_l();if(n!==void 0){var o=n(t);if(Wf){Tt(!0);try{n(t)}finally{Tt(!1)}}}else o=t;return i.memoizedState=i.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},i.queue=e,e=e.dispatch=ga.bind(null,Be,e),[i.memoizedState,e]}function Tu(e){var t=We();return Eu(t,xt,e)}function Eu(e,t,n){var i=e.queue;if(i===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");i.lastRenderedReducer=n;var o=e.baseQueue,s=i.pending;if(s!==null){if(o!==null){var d=o.next;o.next=s.next,s.next=d}t.baseQueue!==o&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=o=s,i.pending=null}if(s=e.baseState,o===null)e.memoizedState=s;else{t=o.next;var h=d=null,y=null,b=t,R=!1;do{var w=b.lane&-536870913;if(w!==b.lane?($e&w)===w:(Rc&w)===w){var O=b.revertLane;if(O===0)y!==null&&(y=y.next={lane:0,revertLane:0,gesture:null,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null}),w===Jf&&(R=!0);else if((Rc&O)===O){b=b.next,O===Jf&&(R=!0);continue}else w={lane:0,revertLane:b.revertLane,gesture:null,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null},y===null?(h=y=w,d=s):y=y.next=w,Be.lanes|=O,$o|=O;w=b.action,Wf&&n(s,w),s=b.hasEagerState?b.eagerState:n(s,w)}else O={lane:w,revertLane:b.revertLane,gesture:b.gesture,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null},y===null?(h=y=O,d=s):y=y.next=O,Be.lanes|=w,$o|=w;b=b.next}while(b!==null&&b!==t);if(y===null?d=s:y.next=h,!xa(s,e.memoizedState)&&(dl=!0,R&&(n=sh,n!==null)))throw n;e.memoizedState=s,e.baseState=d,e.baseQueue=y,i.lastRenderedState=s}return o===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function Lt(e){var t=We(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var i=n.dispatch,o=n.pending,s=t.memoizedState;if(o!==null){n.pending=null;var d=o=o.next;do s=e(s,d.action),d=d.next;while(d!==o);xa(s,t.memoizedState)||(dl=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,i]}function so(e,t,n){var i=Be,o=_l();if(Ke){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var s=n();mh||s===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),mh=!0)}else{if(s=t(),mh||(n=t(),xa(s,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),mh=!0)),Mt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");($e&124)!==0||q0(i,t,s)}return o.memoizedState=s,n={value:s,getSnapshot:t},o.queue=n,Au(V0.bind(null,i,n,e),[e]),i.flags|=2048,lc(au|El,{destroy:void 0},Y0.bind(null,i,n,s,t),null),s}function Qs(e,t,n){var i=Be,o=We(),s=Ke;if(s){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!mh){var d=t();xa(n,d)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),mh=!0)}(d=!xa((xt||o).memoizedState,n))&&(o.memoizedState=n,dl=!0),o=o.queue;var h=V0.bind(null,i,o,e);if(Ll(2048,El,h,[e]),o.getSnapshot!==t||d||rl!==null&&rl.memoizedState.tag&au){if(i.flags|=2048,lc(au|El,{destroy:void 0},Y0.bind(null,i,o,n,t),null),Mt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");s||(Rc&124)!==0||q0(i,t,n)}return n}function q0(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Be.updateQueue,t===null?(t=tn(),Be.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Y0(e,t,n,i){t.value=n,t.getSnapshot=i,Xt(t)&&Nr(e)}function V0(e,t,n){return n(function(){Xt(t)&&Nr(e)})}function Xt(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!xa(e,n)}catch{return!0}}function Nr(e){var t=ql(e,2);t!==null&&zt(t,e,2)}function Ii(e){var t=_l();if(typeof e=="function"){var n=e;if(e=n(),Wf){Tt(!0);try{n()}finally{Tt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ya,lastRenderedState:e},t}function Pi(e){e=Ii(e);var t=e.queue,n=va.bind(null,Be,t);return t.dispatch=n,[e.memoizedState,n]}function Zs(e){var t=_l();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=tf.bind(null,Be,!0,n),n.dispatch=t,[e,t]}function ec(e,t){var n=We();return tc(n,xt,e,t)}function tc(e,t,n,i){return e.baseState=n,Eu(e,xt,typeof i=="function"?i:ya)}function G0(e,t){var n=We();return xt!==null?tc(n,xt,e,t):(n.baseState=e,[e,n.queue.dispatch])}function L0(e,t,n,i,o){if(lf(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var s={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){s.listeners.push(d)}};B.T!==null?n(!0):s.isTransition=!1,i(s),n=t.pending,n===null?(s.next=t.pending=s,X0(t,s)):(s.next=n.next,t.pending=n.next=s)}}function X0(e,t){var n=t.action,i=t.payload,o=e.state;if(t.isTransition){var s=B.T,d={};d._updatedFibers=new Set,B.T=d;try{var h=n(o,i),y=B.S;y!==null&&y(d,h),rm(e,t,h)}catch(b){Js(e,t,b)}finally{s!==null&&d.types!==null&&(s.types!==null&&s.types!==d.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),s.types=d.types),B.T=s,s===null&&d._updatedFibers&&(e=d._updatedFibers.size,d._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{d=n(o,i),rm(e,t,d)}catch(b){Js(e,t,b)}}function rm(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(B.asyncTransitions++,n.then(di,di),n.then(function(i){si(e,t,i)},function(i){return Js(e,t,i)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):si(e,t,n)}function si(e,t,n){t.status="fulfilled",t.value=n,ks(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,X0(e,n)))}function Js(e,t,n){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=n,ks(t),t=t.next;while(t!==i)}e.action=null}function ks(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function dm(e,t){return t}function Hn(e,t){if(Ke){var n=Mt.formState;if(n!==null){e:{var i=Be;if(Ke){if(Ht){t:{for(var o=Ht,s=eu;o.nodeType!==8;){if(!s){o=null;break t}if(o=Hl(o.nextSibling),o===null){o=null;break t}}s=o.data,o=s===Qv||s===N1?o:null}if(o){Ht=Hl(o.nextSibling),i=o.data===Qv;break e}}pu(i)}i=!1}i&&(t=n[0])}}return n=_l(),n.memoizedState=n.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:dm,lastRenderedState:t},n.queue=i,n=va.bind(null,Be,i),i.dispatch=n,i=Ii(!1),s=tf.bind(null,Be,!1,i.queue),i=_l(),o={state:t,dispatch:null,action:e,pending:null},i.queue=o,n=L0.bind(null,Be,o,s,n),o.dispatch=n,i.memoizedState=e,[t,n,!1]}function fo(e){var t=We();return Ks(t,xt,e)}function Ks(e,t,n){if(t=Eu(e,t,dm)[0],e=Tu(ya)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=ja(t)}catch(d){throw d===Lp?Zy:d}else i=t;t=We();var o=t.queue,s=o.dispatch;return n!==t.memoizedState&&(Be.flags|=2048,lc(au|El,{destroy:void 0},Br.bind(null,o,n),null)),[i,s,e]}function Br(e,t){e.action=t}function $s(e){var t=We(),n=xt;if(n!==null)return Ks(t,n,e);We(),t=t.memoizedState,n=We();var i=n.queue.dispatch;return n.memoizedState=e,[t,i,!1]}function lc(e,t,n,i){return e={tag:e,create:n,deps:i,inst:t,next:null},t=Be.updateQueue,t===null&&(t=tn(),Be.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e),e}function fi(e){var t=_l();return e={current:e},t.memoizedState=e}function ri(e,t,n,i){var o=_l();Be.flags|=e,o.memoizedState=lc(au|t,{destroy:void 0},n,i===void 0?null:i)}function Ll(e,t,n,i){var o=We();i=i===void 0?null:i;var s=o.memoizedState.inst;xt!==null&&i!==null&&Ls(i,xt.memoizedState.deps)?o.memoizedState=lc(t,s,n,i):(Be.flags|=e,o.memoizedState=lc(au|t,s,n,i))}function Au(e,t){(Be.mode&ku)!==At?ri(276826112,El,e,t):ri(8390656,El,e,t)}function ac(e,t){var n=4194308;return(Be.mode&ku)!==At&&(n|=134217728),ri(n,$l,e,t)}function Ws(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function nc(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null;var i=4194308;(Be.mode&ku)!==At&&(i|=134217728),ri(i,$l,Ws.bind(null,t,e),n)}function uc(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null,Ll(4,$l,Ws.bind(null,t,e),n)}function jr(e,t){return _l().memoizedState=[e,t===void 0?null:t],e}function Fs(e,t){var n=We();t=t===void 0?null:t;var i=n.memoizedState;return t!==null&&Ls(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function xu(e,t){var n=_l();t=t===void 0?null:t;var i=e();if(Wf){Tt(!0);try{e()}finally{Tt(!1)}}return n.memoizedState=[i,t],i}function Is(e,t){var n=We();t=t===void 0?null:t;var i=n.memoizedState;if(t!==null&&Ls(t,i[1]))return i[0];if(i=e(),Wf){Tt(!0);try{e()}finally{Tt(!1)}}return n.memoizedState=[i,t],i}function wn(e,t){var n=_l();return Nn(n,e,t)}function qr(e,t){var n=We();return Mu(n,xt.memoizedState,e,t)}function Yr(e,t){var n=We();return xt===null?Nn(n,e,t):Mu(n,xt.memoizedState,e,t)}function Nn(e,t,n){return n===void 0||(Rc&1073741824)!==0?e.memoizedState=t:(e.memoizedState=n,e=Nm(),Be.lanes|=e,$o|=e,n)}function Mu(e,t,n,i){return xa(n,t)?n:dh.current!==null?(e=Nn(e,n,i),xa(e,t)||(dl=!0),e):(Rc&42)===0||(Rc&1073741824)!==0?(dl=!0,e.memoizedState=n):(e=Nm(),Be.lanes|=e,$o|=e,t)}function di(){B.asyncTransitions--}function Vr(e,t,n,i,o){var s=ct.p;ct.p=s!==0&&s<sa?s:sa;var d=B.T,h={};h._updatedFibers=new Set,B.T=h,tf(e,!1,t,n);try{var y=o(),b=B.S;if(b!==null&&b(h,y),y!==null&&typeof y=="object"&&typeof y.then=="function"){B.asyncTransitions++,y.then(di,di);var R=Ia(y,i);qa(e,t,R,Ul(e))}else qa(e,t,i,Ul(e))}catch(w){qa(e,t,{then:function(){},status:"rejected",reason:w},Ul(e))}finally{ct.p=s,d!==null&&h.types!==null&&(d.types!==null&&d.types!==h.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."),d.types=h.types),B.T=d,d===null&&h._updatedFibers&&(e=h._updatedFibers.size,h._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Ps(e,t,n,i){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var o=ro(e).queue;Vr(e,o,t,cr,n===null?he:function(){return ho(e),n(i)})}function ro(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:cr,baseState:cr,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ya,lastRenderedState:cr},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ya,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ho(e){B.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=ro(e);t.next===null&&(t=e.alternate.memoizedState),qa(e,t.next.queue,{},Ul(e))}function Gr(){var e=Ii(!1);return e=Vr.bind(null,Be,e.queue,!0,!1),_l().memoizedState=e,[!1,e]}function hm(){var e=Tu(ya)[0],t=We().memoizedState;return[typeof e=="boolean"?e:ja(e),t]}function ic(){var e=Lt(ya)[0],t=We().memoizedState;return[typeof e=="boolean"?e:ja(e),t]}function Bn(){return ot(o0)}function Lr(){var e=_l(),t=Mt.identifierPrefix;if(Ke){var n=Oc,i=Dc;n=(i&~(1<<32-Sl(i)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Wy++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=v2++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t}function ef(){return _l().memoizedState=mm.bind(null,Be)}function mm(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var i=Ul(n);e=vu(i);var o=Dn(n,e,i);o!==null&&(zt(o,n,i),co(o,n,i)),n=Hs(),t!=null&&o!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:n};return}n=n.return}}function ga(e,t,n){var i=arguments;typeof i[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()."),i=Ul(e);var o={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};lf(e)?zu(t,o):(o=Ih(e,t,o,i),o!==null&&(zt(o,e,i),ta(o,t,i))),qc(e,i)}function va(e,t,n){var i=arguments;typeof i[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()."),i=Ul(e),qa(e,t,n,i),qc(e,i)}function qa(e,t,n,i){var o={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(lf(e))zu(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null)){var d=B.H;B.H=$u;try{var h=t.lastRenderedState,y=s(h,n);if(o.hasEagerState=!0,o.eagerState=y,xa(y,h))return Ar(e,t,o,0),Mt===null&&Ds(),!1}catch{}finally{B.H=d}}if(n=Ih(e,t,o,i),n!==null)return zt(n,e,i),ta(n,t,i),!0}return!1}function tf(e,t,n,i){if(B.T===null&&Jf===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."),i={lane:2,revertLane:hd(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},lf(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Ih(e,n,i,2),t!==null&&zt(t,e,2);qc(e,2)}function lf(e){var t=e.alternate;return e===Be||t!==null&&t===Be}function zu(e,t){ph=$y=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ta(e,t,n){if((n&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,hs(e,n)}}function Nt(e){if(e!==null&&typeof e!="function"){var t=String(e);d1.has(t)||(d1.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function mo(e,t,n,i){var o=e.memoizedState,s=n(i,o);if(e.mode&fa){Tt(!0);try{s=n(i,o)}finally{Tt(!1)}}s===void 0&&(t=I(t)||"Component",o1.has(t)||(o1.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),o=s==null?o:Xe({},o,s),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}function jn(e,t,n,i,o,s,d){var h=e.stateNode;if(typeof h.shouldComponentUpdate=="function"){if(n=h.shouldComponentUpdate(i,s,d),e.mode&fa){Tt(!0);try{n=h.shouldComponentUpdate(i,s,d)}finally{Tt(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",I(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!zs(n,i)||!zs(o,s):!0}function Ge(e,t,n,i){var o=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==o&&(e=ee(e)||"Component",a1.has(e)||(a1.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Av.enqueueReplaceState(t,t.state,null))}function et(e,t){var n=t;if("ref"in t){n={};for(var i in t)i!=="ref"&&(n[i]=t[i])}if(e=e.defaultProps){n===t&&(n=Xe({},n));for(var o in e)n[o]===void 0&&(n[o]=e[o])}return n}function Qt(e){uv(e),console.warn(`%s
847
+
848
+ %s
849
+ `,yh?"An error occurred in the <"+yh+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
850
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function af(e){var t=yh?"The above error occurred in the <"+yh+"> component.":"The above error occurred in one of your React components.",n="React will try to recreate this component tree from scratch using the error boundary you provided, "+((xv||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var i=e.environmentName;e=[`%o
851
+
852
+ %s
853
+
854
+ %s
855
+ `,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,X1+e[0],Q1,gg+i+gg,Z1):e.splice(0,0,X1,Q1,gg+i+gg,Z1),e.unshift(console),i=V2.apply(console.error,e),i()}else console.error(`%o
856
+
857
+ %s
858
+
859
+ %s
860
+ `,e,t,n)}function cc(e){uv(e)}function qn(e,t){try{yh=t.source?ee(t.source):null,xv=null;var n=t.value;if(B.actQueue!==null)B.thrownErrors.push(n);else{var i=e.onUncaughtError;i(n,{componentStack:t.stack})}}catch(o){setTimeout(function(){throw o})}}function nf(e,t,n){try{yh=n.source?ee(n.source):null,xv=ee(t);var i=e.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function oc(e,t,n){return n=vu(n),n.tag=gv,n.payload={element:null},n.callback=function(){ne(t.source,qn,e,t)},n}function hi(e){return e=vu(e),e.tag=gv,e}function pm(e,t,n,i){var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var s=i.value;e.payload=function(){return o(s)},e.callback=function(){H0(n),ne(i.source,nf,t,n,i)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){H0(n),ne(i.source,nf,t,n,i),typeof o!="function"&&(Fo===null?Fo=new Set([this]):Fo.add(this)),p2(this,i),typeof o=="function"||(n.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ee(n)||"Unknown")})}function Zt(e,t,n,i,o){if(n.flags|=32768,Ea&&Dt(e,o),i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=n.alternate,t!==null&&ki(t,n,o,!0),Ke&&(Di=!0),n=yn.current,n!==null){switch(n.tag){case 31:case 13:return tu===null?Sf():n.alternate===null&&Wt===wc&&(Wt=Ov),n.flags&=-257,n.flags|=65536,n.lanes=o,i===Jy?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([i]):t.add(i),La(e,i,o)),!1;case 22:return n.flags|=65536,i===Jy?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([i]):n.add(i)),La(e,i,o)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return La(e,i,o),Sf(),!1}if(Ke)return Di=!0,t=yn.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==sv&&Us(ha(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:i}),n))):(i!==sv&&Us(ha(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:i}),n)),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,i=ha(i,n),o=oc(e.stateNode,i,o),Vl(e,o),Wt!==Ff&&(Wt=Sh)),!1;var s=ha(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:i}),n);if(Pp===null?Pp=[s]:Pp.push(s),Wt!==Ff&&(Wt=Sh),t===null)return!0;i=ha(i,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,e=oc(n.stateNode,i,e),Vl(n,e),!1;case 1:if(t=n.type,s=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(Fo===null||!Fo.has(s))))return n.flags|=65536,o&=-o,n.lanes|=o,o=hi(o),pm(o,e,n,i),Vl(n,o),!1}n=n.return}while(n!==null);return!1}function Pt(e,t,n,i){t.child=e===null?Jb(t,null,n,i):$f(t,e.child,n,i)}function Xr(e,t,n,i,o){n=n.render;var s=t.ref;if("ref"in i){var d={};for(var h in i)h!=="ref"&&(d[h]=i[h])}else d=i;return Ki(t),ss(t),i=Un(e,t,n,d,s,o),h=bu(),Nl(),e!==null&&!dl?(Xs(e,t,o),Yn(e,t,o)):(Ke&&h&&Qi(t),t.flags|=1,Pt(e,t,i,o),t.child)}function ym(e,t,n,i,o){if(e===null){var s=n.type;return typeof s=="function"&&!em(s)&&s.defaultProps===void 0&&n.compare===null?(n=Xi(s),t.tag=15,t.type=n,cf(t,s),gm(e,t,n,i,o)):(e=Mr(n.type,null,i,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!ff(e,o)){var d=s.memoizedProps;if(n=n.compare,n=n!==null?n:zs,n(d,i)&&e.ref===t.ref)return Yn(e,t,o)}return t.flags|=1,e=En(s,i),e.ref=t.ref,e.return=t,t.child=e}function gm(e,t,n,i,o){if(e!==null){var s=e.memoizedProps;if(zs(s,i)&&e.ref===t.ref&&t.type===e.type)if(dl=!1,t.pendingProps=i=s,ff(e,o))(e.flags&131072)!==0&&(dl=!0);else return t.lanes=e.lanes,Yn(e,t,o)}return Vt(e,t,n,i,o)}function Q0(e,t,n,i){var o=i.children,s=e!==null?e.memoizedState:null;if(i.mode==="hidden"){if((t.flags&128)!==0){if(i=s!==null?s.baseLanes|n:n,e!==null){for(o=t.child=e.child,s=0;o!==null;)s=s|o.lanes|o.childLanes,o=o.sibling;t.childLanes=s&~i}else t.childLanes=0,t.child=null;return Qr(e,t,i,n)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Yl(t,s!==null?s.cachePool:null),s!==null?pa(t,s):Rn(t),sm(t);else return t.lanes=t.childLanes=536870912,Qr(e,t,s!==null?s.baseLanes|n:n,n)}else s!==null?(Yl(t,s.cachePool),pa(t,s),Cn(t),t.memoizedState=null):(e!==null&&Yl(t,null),Rn(t),Cn(t));return Pt(e,t,o,n),t.child}function Qr(e,t,n,i){var o=uo();return o=o===null?null:{parent:fl._currentValue,pool:o},t.memoizedState={baseLanes:n,cachePool:o},e!==null&&Yl(t,null),Rn(t),sm(t),e!==null&&ki(e,t,i,!0),null}function po(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
861
+ - <Activity %s>
862
+ + <Activity %s>`,n===!0?"hidden":n===!1?"hidden={false}":"hidden={...}",n?'mode="hidden"':'mode="visible"'),t=sf({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Zr(e,t,n){return $f(t,e.child,null,n),e=po(t,t.pendingProps),e.flags|=2,Gl(t),t.memoizedState=null,e}function vl(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Vt(e,t,n,i,o){if(n.prototype&&typeof n.prototype.render=="function"){var s=I(n)||"Unknown";h1[s]||(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.",s,s),h1[s]=!0)}return t.mode&fa&&Ku.recordLegacyContextWarning(t,null),e===null&&(cf(t,t.type),n.contextTypes&&(s=I(n)||"Unknown",p1[s]||(p1[s]=!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)",s)))),Ki(t),ss(t),n=Un(e,t,n,i,void 0,o),i=bu(),Nl(),e!==null&&!dl?(Xs(e,t,o),Yn(e,t,o)):(Ke&&i&&Qi(t),t.flags|=1,Pt(e,t,n,o),t.child)}function Jr(e,t,n,i,o,s){return Ki(t),ss(t),Uc=-1,Jp=e!==null&&e.type!==t.type,t.updateQueue=null,n=wr(t,i,n,o),fm(e,t),i=bu(),Nl(),e!==null&&!dl?(Xs(e,t,s),Yn(e,t,s)):(Ke&&i&&Qi(t),t.flags|=1,Pt(e,t,n,s),t.child)}function yo(e,t,n,i,o){switch(L(t)){case!1:var s=t.stateNode,d=new t.type(t.memoizedProps,s.context).state;s.updater.enqueueSetState(s,d,null);break;case!0:t.flags|=128,t.flags|=65536,s=Error("Simulated error coming from DevTools");var h=o&-o;if(t.lanes|=h,d=Mt,d===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");h=hi(h),pm(h,d,t,ha(s,t)),Vl(t,h)}if(Ki(t),t.stateNode===null){if(d=Qo,s=n.contextType,"contextType"in n&&s!==null&&(s===void 0||s.$$typeof!==Za)&&!r1.has(n)&&(r1.add(n),h=s===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 s!="object"?" However, it is set to a "+typeof s+".":s.$$typeof===hp?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(s).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",I(n)||"Component",h)),typeof s=="object"&&s!==null&&(d=ot(s)),s=new n(i,d),t.mode&fa){Tt(!0);try{s=new n(i,d)}finally{Tt(!1)}}if(d=t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Av,t.stateNode=s,s._reactInternals=t,s._reactInternalInstance=l1,typeof n.getDerivedStateFromProps=="function"&&d===null&&(d=I(n)||"Component",n1.has(d)||(n1.add(d),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.",d,s.state===null?"null":"undefined",d))),typeof n.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"){var y=h=d=null;if(typeof s.componentWillMount=="function"&&s.componentWillMount.__suppressDeprecationWarning!==!0?d="componentWillMount":typeof s.UNSAFE_componentWillMount=="function"&&(d="UNSAFE_componentWillMount"),typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps.__suppressDeprecationWarning!==!0?h="componentWillReceiveProps":typeof s.UNSAFE_componentWillReceiveProps=="function"&&(h="UNSAFE_componentWillReceiveProps"),typeof s.componentWillUpdate=="function"&&s.componentWillUpdate.__suppressDeprecationWarning!==!0?y="componentWillUpdate":typeof s.UNSAFE_componentWillUpdate=="function"&&(y="UNSAFE_componentWillUpdate"),d!==null||h!==null||y!==null){s=I(n)||"Component";var b=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";i1.has(s)||(i1.add(s),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
863
+
864
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
865
+
866
+ The above lifecycles should be removed. Learn more about this warning here:
867
+ https://react.dev/link/unsafe-component-lifecycles`,s,b,d!==null?`
868
+ `+d:"",h!==null?`
869
+ `+h:"",y!==null?`
870
+ `+y:""))}}s=t.stateNode,d=I(n)||"Component",s.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",d):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",d)),!s.getInitialState||s.getInitialState.isReactClassApproved||s.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?",d),s.getDefaultProps&&!s.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.",d),s.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",d),n.childContextTypes&&!f1.has(n)&&(f1.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",d)),n.contextTypes&&!s1.has(n)&&(s1.add(n),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",d)),typeof s.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.",d),n.prototype&&n.prototype.isPureReactComponent&&typeof s.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.",I(n)||"A pure component"),typeof s.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",d),typeof s.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().",d),typeof s.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",d),typeof s.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",d),h=s.props!==i,s.props!==void 0&&h&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",d),s.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.",d,d),typeof s.getSnapshotBeforeUpdate!="function"||typeof s.componentDidUpdate=="function"||u1.has(n)||(u1.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",I(n))),typeof s.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof s.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof n.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",d),(h=s.state)&&(typeof h!="object"||ol(h))&&console.error("%s.state: must be set to an object or null",d),typeof s.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",d),s=t.stateNode,s.props=i,s.state=t.memoizedState,s.refs={},gu(t),d=n.contextType,s.context=typeof d=="object"&&d!==null?ot(d):Qo,s.state===i&&(d=I(n)||"Component",c1.has(d)||(c1.add(d),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.",d))),t.mode&fa&&Ku.recordLegacyContextWarning(t,s),Ku.recordUnsafeLifecycleWarnings(t,s),s.state=t.memoizedState,d=n.getDerivedStateFromProps,typeof d=="function"&&(mo(t,n,d,i),s.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(d=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),d!==s.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ee(t)||"Component"),Av.enqueueReplaceState(s,s.state,null)),_n(t,i,s,o),On(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&ku)!==At&&(t.flags|=134217728),s=!0}else if(e===null){s=t.stateNode;var R=t.memoizedProps;h=et(n,R),s.props=h;var w=s.context;y=n.contextType,d=Qo,typeof y=="object"&&y!==null&&(d=ot(y)),b=n.getDerivedStateFromProps,y=typeof b=="function"||typeof s.getSnapshotBeforeUpdate=="function",R=t.pendingProps!==R,y||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(R||w!==d)&&Ge(t,s,i,d),ko=!1;var O=t.memoizedState;s.state=O,_n(t,i,s,o),On(),w=t.memoizedState,R||O!==w||ko?(typeof b=="function"&&(mo(t,n,b,i),w=t.memoizedState),(h=ko||jn(t,n,h,i,O,w,d))?(y||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&ku)!==At&&(t.flags|=134217728)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&ku)!==At&&(t.flags|=134217728),t.memoizedProps=i,t.memoizedState=w),s.props=i,s.state=w,s.context=d,s=h):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&ku)!==At&&(t.flags|=134217728),s=!1)}else{s=t.stateNode,qs(e,t),d=t.memoizedProps,y=et(n,d),s.props=y,b=t.pendingProps,O=s.context,w=n.contextType,h=Qo,typeof w=="object"&&w!==null&&(h=ot(w)),R=n.getDerivedStateFromProps,(w=typeof R=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(d!==b||O!==h)&&Ge(t,s,i,h),ko=!1,O=t.memoizedState,s.state=O,_n(t,i,s,o),On();var G=t.memoizedState;d!==b||O!==G||ko||e!==null&&e.dependencies!==null&&Pc(e.dependencies)?(typeof R=="function"&&(mo(t,n,R,i),G=t.memoizedState),(y=ko||jn(t,n,y,i,O,G,h)||e!==null&&e.dependencies!==null&&Pc(e.dependencies))?(w||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,G,h),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,G,h)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=G),s.props=i,s.state=G,s.context=h,s=y):(typeof s.componentDidUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),s=!1)}if(h=s,vl(e,t),d=(t.flags&128)!==0,h||d){if(h=t.stateNode,cs(t),d&&typeof n.getDerivedStateFromError!="function")n=null,Ma=-1;else{if(ss(t),n=Ub(h),t.mode&fa){Tt(!0);try{Ub(h)}finally{Tt(!1)}}Nl()}t.flags|=1,e!==null&&d?(t.child=$f(t,e.child,null,o),t.child=$f(t,null,n,o)):Pt(e,t,n,o),t.memoizedState=h.state,e=t.child}else e=Yn(e,t,o);return o=t.stateNode,s&&o.props!==i&&(gh||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ee(t)||"a component"),gh=!0),e}function uf(e,t,n,i){return Ji(),t.flags|=256,Pt(e,t,n,i),t.child}function cf(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
871
+ %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=I(t)||"Unknown",y1[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),y1[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=I(t)||"Unknown",m1[t]||(console.error("%s: Function components do not support contextType.",t),m1[t]=!0))}function ln(e){return{baseLanes:e,cachePool:$i()}}function go(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=vn),e}function kr(e,t,n){var i,o=t.pendingProps;K(t)&&(t.flags|=128);var s=!1,d=(t.flags&128)!==0;if((i=d)||(i=e!==null&&e.memoizedState===null?!1:(ll.current&Qp)!==0),i&&(s=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ke){if(s?gl(t):Cn(t),(e=Ht)?(n=lp(e,eu),n=n!==null&&n.data!==ar?n:null,n!==null&&(i={dehydrated:n,treeContext:N0(),retryLane:536870912,hydrationErrors:null},t.memoizedState=i,i=w0(n),i.return=t,t.child=i,Kl=t,Ht=null)):n=null,n===null)throw Fc(t,e),pu(t);return ap(n)?t.lanes=32:t.lanes=536870912,null}var h=o.children;if(o=o.fallback,s){Cn(t);var y=t.mode;return h=sf({mode:"hidden",children:h},y),o=ai(o,y,n,null),h.return=t,o.return=t,h.sibling=o,t.child=h,h=t.child,h.memoizedState=ln(n),h.childLanes=go(e,i,n),t.memoizedState=zv,o}return gl(t),of(t,h)}var b=e.memoizedState;if(b!==null){var R=b.dehydrated;if(R!==null){if(d)t.flags&256?(gl(t),t.flags&=-257,t=Kr(e,t,n)):t.memoizedState!==null?(Cn(t),t.child=e.child,t.flags|=128,t=null):(Cn(t),h=o.fallback,y=t.mode,o=sf({mode:"visible",children:o.children},y),h=ai(h,y,n,null),h.flags|=2,o.return=t,h.return=t,o.sibling=h,t.child=o,$f(t,e.child,null,n),o=t.child,o.memoizedState=ln(n),o.childLanes=go(e,i,n),t.memoizedState=zv,t=h);else if(gl(t),zr(),ap(R)){if(i=R.nextSibling&&R.nextSibling.dataset,i){h=i.dgst;var w=i.msg;y=i.stck;var O=i.cstck}s=w,i=h,o=y,R=O,h=s,y=R,h=Error(h||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),h.stack=o||"",h.digest=i,i=y===void 0?null:y,o={value:h,source:null,stack:i},typeof i=="string"&&ov.set(h,o),Us(o),t=Kr(e,t,n)}else if(dl||ki(e,t,n,!1),i=(n&e.childLanes)!==0,dl||i){if(i=Mt,i!==null&&(o=ms(i,n),o!==0&&o!==b.retryLane))throw b.retryLane=o,ql(e,o),zt(i,e,o),Mv;yd(R)||Sf(),t=Kr(e,t,n)}else yd(R)?(t.flags|=192,t.child=e.child,t=null):(e=b.treeContext,Ht=Hl(R.nextSibling),Kl=t,Ke=!0,Zo=null,Di=!1,pn=null,eu=!1,e!==null&&Cs(t,e),t=of(t,o.children),t.flags|=4096);return t}}return s?(Cn(t),h=o.fallback,y=t.mode,O=e.child,R=O.sibling,o=En(O,{mode:"hidden",children:o.children}),o.subtreeFlags=O.subtreeFlags&65011712,R!==null?h=En(R,h):(h=ai(h,y,n,null),h.flags|=2),h.return=t,o.return=t,o.sibling=h,t.child=o,o=h,h=t.child,y=e.child.memoizedState,y===null?y=ln(n):(O=y.cachePool,O!==null?(R=fl._currentValue,O=O.parent!==R?{parent:R,pool:R}:O):O=$i(),y={baseLanes:y.baseLanes|n,cachePool:O}),h.memoizedState=y,h.childLanes=go(e,i,n),t.memoizedState=zv,o):(gl(t),n=e.child,e=n.sibling,n=En(n,{mode:"visible",children:o.children}),n.return=t,n.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=n,t.memoizedState=null,n)}function of(e,t){return t=sf({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function sf(e,t){return e=te(22,e,null,t),e.lanes=0,e.stateNode={_visibility:iv,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Kr(e,t,n){return $f(t,e.child,null,n),e=of(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function vm(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),Dr(e.return,t,n)}function $r(e,t,n,i,o,s){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:o,treeForkCount:s}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=n,d.tailMode=o,d.treeForkCount=s)}function bm(e,t,n){var i=t.pendingProps,o=i.revealOrder,s=i.tail,d=i.children,h=ll.current;if((i=(h&Qp)!==0)?(h=h&hh|Qp,t.flags|=128):h&=hh,ye(ll,h,t),h=o??"null",o!=="forwards"&&o!=="unstable_legacy-backwards"&&o!=="together"&&o!=="independent"&&!g1[h])if(g1[h]=!0,o==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(o==="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 o=="string")switch(o.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.',o,o.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.',o,o.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o);h=s??"null",Py[h]||(s==null?(o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&(Py[h]=!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".')):s!=="visible"&&s!=="collapsed"&&s!=="hidden"?(Py[h]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',s)):o!=="forwards"&&o!=="backwards"&&o!=="unstable_legacy-backwards"&&(Py[h]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',s)));e:if((o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&d!==void 0&&d!==null&&d!==!1)if(ol(d)){for(h=0;h<d.length;h++)if(!js(d[h],h))break e}else if(h=Ae(d),typeof h=="function"){if(h=h.call(d))for(var y=h.next(),b=0;!y.done;y=h.next()){if(!js(y.value,b))break e;b++}}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?',o);if(Pt(e,t,d,n),Ke?(mu(),d=wp):d=0,!i&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&vm(e,n,t);else if(e.tag===19)vm(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Gs(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),$r(t,!1,o,n,s,d);break;case"backwards":case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Gs(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}$r(t,!0,n,null,s,d);break;case"together":$r(t,!1,null,null,void 0,d);break;default:t.memoizedState=null}return t.child}function Yn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ma=-1,$o|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ki(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,n=En(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=En(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ff(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Pc(e)))}function Z0(e,t,n){switch(t.tag){case 3:qt(t,t.stateNode.containerInfo),wa(t,fl,e.memoizedState.cache),Ji();break;case 27:case 5:P(t);break;case 4:qt(t,t.stateNode.containerInfo);break;case 10:wa(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var i=t.stateNode;i.effectDuration=-0,i.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,Pa(t),null;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(gl(t),t.flags|=128,null):(n&t.child.childLanes)!==0?kr(e,t,n):(gl(t),e=Yn(e,t,n),e!==null?e.sibling:null);gl(t);break;case 19:var o=(e.flags&128)!==0;if(i=(n&t.childLanes)!==0,i||(ki(e,t,n,!1),i=(n&t.childLanes)!==0),o){if(i)return bm(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ye(ll,ll.current,t),i)break;return null;case 22:return t.lanes=0,Q0(e,t,n,t.pendingProps);case 24:wa(t,fl,e.memoizedState.cache)}return Yn(e,t,n)}function Sm(e,t,n){if(t._debugNeedsRemount&&e!==null){n=Mr(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var i=t.return;if(i===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===i.child)i.child=n;else{var o=i.child;if(o===null)throw Error("Expected parent to have a child.");for(;o.sibling!==t;)if(o=o.sibling,o===null)throw Error("Expected to find the previous sibling.");o.sibling=n}return t=i.deletions,t===null?(i.deletions=[e],i.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)dl=!0;else{if(!ff(e,n)&&(t.flags&128)===0)return dl=!1,Z0(e,t,n);dl=(e.flags&131072)!==0}else dl=!1,(i=Ke)&&(mu(),i=(t.flags&1048576)!==0),i&&(i=t.index,mu(),am(t,wp,i));switch(t.lanes=0,t.tag){case 16:e:if(i=t.pendingProps,e=Jo(t.elementType),t.type=e,typeof e=="function")em(e)?(i=et(e,i),t.tag=1,t.type=e=Xi(e),t=yo(null,t,e,i,n)):(t.tag=0,cf(t,e),t.type=e=Xi(e),t=Vt(null,t,e,i,n));else{if(e!=null){if(o=e.$$typeof,o===Ec){t.tag=11,t.type=e=Ph(e),t=Xr(null,t,e,i,n);break e}else if(o===Nf){t.tag=14,t=ym(null,t,e,i,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===kl&&(t=" Did you wrap a component in React.lazy() more than once?"),n=I(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Vt(e,t,t.type,t.pendingProps,n);case 1:return i=t.type,o=et(i,t.pendingProps),yo(e,t,i,o,n);case 3:e:{if(qt(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");i=t.pendingProps;var s=t.memoizedState;o=s.element,qs(e,t),_n(t,i,null,n);var d=t.memoizedState;if(i=d.cache,wa(t,fl,i),i!==s.cache&&Or(t,[fl],n,!0),On(),i=d.element,s.isDehydrated)if(s={element:i,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=uf(e,t,i,n);break e}else if(i!==o){o=ha(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Us(o),t=uf(e,t,i,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ht=Hl(e.firstChild),Kl=t,Ke=!0,Zo=null,Di=!1,pn=null,eu=!0,n=Jb(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Ji(),i===o){t=Yn(e,t,n);break e}Pt(e,t,i,n)}t=t.child}return t;case 26:return vl(e,t),e===null?(n=ip(t.type,null,t.pendingProps,null))?t.memoizedState=n:Ke||(n=t.type,e=t.pendingProps,i=Ct(Yu.current),i=Xa(i).createElement(n),i[$t]=t,i[Tl]=e,cl(i,n,e),Ft(i),t.stateNode=i):t.memoizedState=ip(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return P(t),e===null&&Ke&&(i=Ct(Yu.current),o=J(),i=t.stateNode=Sd(t.type,t.pendingProps,i,o,!1),Di||(o=mc(i,t.type,t.pendingProps,o),o!==null&&(ui(t,0).serverProps=o)),Kl=t,eu=!0,o=Ht,on(t.type)?(Kv=o,Ht=Hl(i.firstChild)):Ht=o),Pt(e,t,t.pendingProps.children,n),vl(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ke&&(s=J(),i=yr(t.type,s.ancestorInfo),o=Ht,(d=!o)||(d=gy(o,t.type,t.pendingProps,eu),d!==null?(t.stateNode=d,Di||(s=mc(d,t.type,t.pendingProps,s),s!==null&&(ui(t,0).serverProps=s)),Kl=t,Ht=Hl(d.firstChild),eu=!1,s=!0):s=!1,d=!s),d&&(i&&Fc(t,o),pu(t))),P(t),o=t.type,s=t.pendingProps,d=e!==null?e.memoizedProps:null,i=s.children,Hu(o,s)?i=null:d!==null&&Hu(o,d)&&(t.flags|=32),t.memoizedState!==null&&(o=Un(e,t,oo,null,null,n),o0._currentValue=o),vl(e,t),Pt(e,t,i,n),t.child;case 6:return e===null&&Ke&&(n=t.pendingProps,e=J(),i=e.ancestorInfo.current,n=i!=null?Zc(n,i.tag,e.ancestorInfo.implicitRootScope):!0,e=Ht,(i=!e)||(i=ia(e,t.pendingProps,eu),i!==null?(t.stateNode=i,Kl=t,Ht=null,i=!0):i=!1,i=!i),i&&(n&&Fc(t,e),pu(t))),null;case 13:return kr(e,t,n);case 4:return qt(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=$f(t,null,i,n):Pt(e,t,i,n),t.child;case 11:return Xr(e,t,t.type,t.pendingProps,n);case 7:return Pt(e,t,t.pendingProps,n),t.child;case 8:return Pt(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,i=t.stateNode,i.effectDuration=-0,i.passiveEffectDuration=-0,Pt(e,t,t.pendingProps.children,n),t.child;case 10:return i=t.type,o=t.pendingProps,s=o.value,"value"in o||v1||(v1=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),wa(t,i,s),Pt(e,t,o.children,n),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,typeof i!="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."),Ki(t),o=ot(o),ss(t),i=mv(i,o,void 0),Nl(),t.flags|=1,Pt(e,t,i,n),t.child;case 14:return ym(e,t,t.type,t.pendingProps,n);case 15:return gm(e,t,t.type,t.pendingProps,n);case 19:return bm(e,t,n);case 31:if(o=t.pendingProps,d=(t.flags&128)!==0,t.flags&=-129,e===null)if(Ke){if(o.mode==="hidden")po(t,o);else if(Pa(t),(n=Ht)?(e=lp(n,eu),e=e!==null&&e.data===ar?e:null,e!==null&&(i={dehydrated:e,treeContext:N0(),retryLane:536870912,hydrationErrors:null},t.memoizedState=i,i=w0(e),i.return=t,t.child=i,Kl=t,Ht=null)):e=null,e===null)throw Fc(t,n),pu(t);t.lanes=536870912,t=null}else t=po(t,o);else if(i=e.memoizedState,i!==null)if(s=i.dehydrated,Pa(t),d)if(t.flags&256)t.flags&=-257,t=Zr(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(zr(),dl||ki(e,t,n,!1),d=(n&e.childLanes)!==0,dl||d){if(o=Mt,o!==null&&(s=ms(o,n),s!==0&&s!==i.retryLane))throw i.retryLane=s,ql(e,s),zt(o,e,s),Mv;Sf(),t=Zr(e,t,n)}else n=i.treeContext,Ht=Hl(s.nextSibling),Kl=t,Ke=!0,Zo=null,Di=!1,pn=null,eu=!1,n!==null&&Cs(t,n),t=po(t,o),t.flags|=4096;else n=En(e.child,{mode:o.mode,children:o.children}),n.ref=t.ref,t.child=n,n.return=t,t=n;return t;case 22:return Q0(e,t,n,t.pendingProps);case 24:return Ki(t),i=ot(fl),e===null?(o=uo(),o===null&&(o=Mt,s=Hs(),o.pooledCache=s,ii(s),s!==null&&(o.pooledCacheLanes|=n),o=s),t.memoizedState={parent:i,cache:o},gu(t),wa(t,fl,o)):((e.lanes&n)!==0&&(qs(e,t),_n(t,null,null,n),On()),o=e.memoizedState,s=t.memoizedState,o.parent!==i?(o={parent:i,cache:i},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),wa(t,fl,i)):(i=s.cache,wa(t,fl,i),i!==o.cache&&Or(t,[fl],n,!0))),Pt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Vn(e){e.flags|=4}function Wr(e,t,n,i,o){if((t=(e.mode&r2)!==At)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(od())e.flags|=8192;else throw fh=Jy,hv}else e.flags&=-16777217}function Tm(e,t){if(t.type!=="stylesheet"||(t.state.loading&uu)!==ir)e.flags&=-16777217;else if(e.flags|=16777216,!sp(t))if(od())e.flags|=8192;else throw fh=Jy,hv}function vo(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ou():536870912,e.lanes|=t,er|=t)}function bo(e,t){if(!Ke)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function pt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(t)if((e.mode&sl)!==At){for(var o=e.selfBaseDuration,s=e.child;s!==null;)n|=s.lanes|s.childLanes,i|=s.subtreeFlags&65011712,i|=s.flags&65011712,o+=s.treeBaseDuration,s=s.sibling;e.treeBaseDuration=o}else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags&65011712,i|=o.flags&65011712,o.return=e,o=o.sibling;else if((e.mode&sl)!==At){o=e.actualDuration,s=e.selfBaseDuration;for(var d=e.child;d!==null;)n|=d.lanes|d.childLanes,i|=d.subtreeFlags,i|=d.flags,o+=d.actualDuration,s+=d.treeBaseDuration,d=d.sibling;e.actualDuration=o,e.treeBaseDuration=s}else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function J0(e,t,n){var i=t.pendingProps;switch(Zi(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pt(t),null;case 1:return pt(t),null;case 3:return n=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),xn(fl,t),z(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ic(t)?(cm(),Vn(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,im())),pt(t),null;case 26:var o=t.type,s=t.memoizedState;return e===null?(Vn(t),s!==null?(pt(t),Tm(t,s)):(pt(t),Wr(t,o,null,i,n))):s?s!==e.memoizedState?(Vn(t),pt(t),Tm(t,s)):(pt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&Vn(t),pt(t),Wr(t,o,e,i,n)),null;case 27:if(be(t),n=Ct(Yu.current),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Vn(t);else{if(!i){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return pt(t),null}e=J(),Ic(t)?nm(t):(e=Sd(o,i,n,e,!0),t.stateNode=e,Vn(t))}return pt(t),null;case 5:if(be(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Vn(t);else{if(!i){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return pt(t),null}var d=J();if(Ic(t))nm(t);else{switch(s=Ct(Yu.current),yr(o,d.ancestorInfo),d=d.context,s=Xa(s),d){case Dh:s=s.createElementNS(Ju,o);break;case mg:s=s.createElementNS(Id,o);break;default:switch(o){case"svg":s=s.createElementNS(Ju,o);break;case"math":s=s.createElementNS(Id,o);break;case"script":s=s.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof i.is=="string"?s.createElement("select",{is:i.is}):s.createElement("select"),i.multiple?s.multiple=!0:i.size&&(s.size=i.size);break;default:s=typeof i.is=="string"?s.createElement(o,{is:i.is}):s.createElement(o),o.indexOf("-")===-1&&(o!==o.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),Object.prototype.toString.call(s)!=="[object HTMLUnknownElement]"||oa.call(j1,o)||(j1[o]=!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.",o)))}}s[$t]=t,s[Tl]=i;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)s.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=s;e:switch(cl(s,o,i),o){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&Vn(t)}}return pt(t),Wr(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&Vn(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=Ct(Yu.current),n=J(),Ic(t)){if(e=t.stateNode,n=t.memoizedProps,o=!Di,i=null,s=Kl,s!==null)switch(s.tag){case 3:o&&(o=yc(e,n,i),o!==null&&(ui(t,0).serverProps=o));break;case 27:case 5:i=s.memoizedProps,o&&(o=yc(e,n,i),o!==null&&(ui(t,0).serverProps=o))}e[$t]=t,e=!!(e.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||Mo(e.nodeValue,n)),e||pu(t,!0)}else o=n.ancestorInfo.current,o!=null&&Zc(i,o.tag,n.ancestorInfo.implicitRootScope),e=Xa(e).createTextNode(i),e[$t]=t,t.stateNode=e}return pt(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(i=Ic(t),n!==null){if(e===null){if(!i)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[$t]=t,pt(t),(t.mode&sl)!==At&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else cm(),Ji(),(t.flags&128)===0&&(n=t.memoizedState=null),t.flags|=4,pt(t),(t.mode&sl)!==At&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=im(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Gl(t),t):(Gl(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return pt(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=i,s=Ic(t),o!==null&&o.dehydrated!==null){if(e===null){if(!s)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");s[$t]=t,pt(t),(t.mode&sl)!==At&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration))}else cm(),Ji(),(t.flags&128)===0&&(o=t.memoizedState=null),t.flags|=4,pt(t),(t.mode&sl)!==At&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration));o=!1}else o=im(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(Gl(t),t):(Gl(t),null)}return Gl(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&sl)!==At&&no(t),t):(n=i!==null,e=e!==null&&e.memoizedState!==null,n&&(i=t.child,o=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(o=i.alternate.memoizedState.cachePool.pool),s=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(s=i.memoizedState.cachePool.pool),s!==o&&(i.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),vo(t,t.updateQueue),pt(t),(t.mode&sl)!==At&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return z(t),e===null&&nn(t.stateNode.containerInfo),pt(t),null;case 10:return xn(t.type,t),pt(t),null;case 19:if(Ue(ll,t),i=t.memoizedState,i===null)return pt(t),null;if(o=(t.flags&128)!==0,s=i.rendering,s===null)if(o)bo(i,!1);else{if(Wt!==wc||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=Gs(e),s!==null){for(t.flags|=128,bo(i,!1),e=s.updateQueue,t.updateQueue=e,vo(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)tm(n,e),n=n.sibling;return ye(ll,ll.current&hh|Qp,t),Ke&&An(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&Kn()>lg&&(t.flags|=128,o=!0,bo(i,!1),t.lanes=4194304)}else{if(!o)if(e=Gs(s),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,vo(t,e),bo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Ke)return pt(t),null}else 2*Kn()-i.renderingStartTime>lg&&n!==536870912&&(t.flags|=128,o=!0,bo(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(e=i.last,e!==null?e.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Kn(),e.sibling=null,n=ll.current,n=o?n&hh|Qp:n&hh,ye(ll,n,t),Ke&&An(t,i.treeForkCount),e):(pt(t),null);case 22:case 23:return Gl(t),Ba(t),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(n&536870912)!==0&&(t.flags&128)===0&&(pt(t),t.subtreeFlags&6&&(t.flags|=8192)):pt(t),n=t.updateQueue,n!==null&&vo(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==n&&(t.flags|=2048),e!==null&&Ue(kf,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),xn(fl,t),pt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function k0(e,t){switch(Zi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&sl)!==At&&no(t),t):null;case 3:return xn(fl,t),z(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return be(t),null;case 31:if(t.memoizedState!==null){if(Gl(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ji()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&sl)!==At&&no(t),t):null;case 13:if(Gl(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Ji()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&sl)!==At&&no(t),t):null;case 19:return Ue(ll,t),null;case 4:return z(t),null;case 10:return xn(t.type,t),null;case 22:case 23:return Gl(t),Ba(t),e!==null&&Ue(kf,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&sl)!==At&&no(t),t):null;case 24:return xn(fl,t),null;case 25:return null;default:return null}}function Em(e,t){switch(Zi(t),t.tag){case 3:xn(fl,t),z(t);break;case 26:case 27:case 5:be(t);break;case 4:z(t);break;case 31:t.memoizedState!==null&&Gl(t);break;case 13:Gl(t);break;case 19:Ue(ll,t);break;case 10:xn(t.type,t);break;case 22:case 23:Gl(t),Ba(t),e!==null&&Ue(kf,t);break;case 24:xn(fl,t)}}function Gn(e){return(e.mode&sl)!==At}function Am(e,t){Gn(e)?(zn(),So(t,e),Mn()):So(t,e)}function mi(e,t,n){Gn(e)?(zn(),Du(n,e,t),Mn()):Du(n,e,t)}function So(e,t){try{var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var o=i.next;n=o;do{if((n.tag&e)===e&&((e&El)!==lu?ae!==null&&typeof ae.markComponentPassiveEffectMountStarted=="function"&&ae.markComponentPassiveEffectMountStarted(t):(e&$l)!==lu&&ae!==null&&typeof ae.markComponentLayoutEffectMountStarted=="function"&&ae.markComponentLayoutEffectMountStarted(t),i=void 0,(e&za)!==lu&&(xh=!0),i=ne(t,y2,n),(e&za)!==lu&&(xh=!1),(e&El)!==lu?ae!==null&&typeof ae.markComponentPassiveEffectMountStopped=="function"&&ae.markComponentPassiveEffectMountStopped():(e&$l)!==lu&&ae!==null&&typeof ae.markComponentLayoutEffectMountStopped=="function"&&ae.markComponentLayoutEffectMountStopped(),i!==void 0&&typeof i!="function")){var s=void 0;s=(n.tag&$l)!==0?"useLayoutEffect":(n.tag&za)!==0?"useInsertionEffect":"useEffect";var d=void 0;d=i===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof i.then=="function"?`
872
+
873
+ It looks like you wrote `+s+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
874
+
875
+ `+s+`(() => {
876
+ async function fetchData() {
877
+ // You can await here
878
+ const response = await MyAPI.getData(someId);
879
+ // ...
880
+ }
881
+ fetchData();
882
+ }, [someId]); // Or [] if effect doesn't need props or state
883
+
884
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+i,ne(t,function(h,y){console.error("%s must not return anything besides a function, which is used for clean-up.%s",h,y)},s,d)}n=n.next}while(n!==o)}}catch(h){Fe(t,t.return,h)}}function Du(e,t,n){try{var i=t.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var s=o.next;i=s;do{if((i.tag&e)===e){var d=i.inst,h=d.destroy;h!==void 0&&(d.destroy=void 0,(e&El)!==lu?ae!==null&&typeof ae.markComponentPassiveEffectUnmountStarted=="function"&&ae.markComponentPassiveEffectUnmountStarted(t):(e&$l)!==lu&&ae!==null&&typeof ae.markComponentLayoutEffectUnmountStarted=="function"&&ae.markComponentLayoutEffectUnmountStarted(t),(e&za)!==lu&&(xh=!0),o=t,ne(o,g2,o,n,h),(e&za)!==lu&&(xh=!1),(e&El)!==lu?ae!==null&&typeof ae.markComponentPassiveEffectUnmountStopped=="function"&&ae.markComponentPassiveEffectUnmountStopped():(e&$l)!==lu&&ae!==null&&typeof ae.markComponentLayoutEffectUnmountStopped=="function"&&ae.markComponentLayoutEffectUnmountStopped())}i=i.next}while(i!==s)}}catch(y){Fe(t,t.return,y)}}function rf(e,t){Gn(e)?(zn(),So(t,e),Mn()):So(t,e)}function Fr(e,t,n){Gn(e)?(zn(),Du(n,e,t),Mn()):Du(n,e,t)}function Ir(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||gh||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ee(e)||"instance"),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ee(e)||"instance"));try{ne(e,ma,t,n)}catch(i){Fe(e,e.return,i)}}}function K0(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function $0(e,t){var n=t.memoizedProps,i=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||gh||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ee(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ee(e)||"instance"));try{var o=et(e.type,n),s=ne(e,K0,t,o,i);n=b1,s!==void 0||n.has(e.type)||(n.add(e.type),ne(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ee(e))})),t.__reactInternalSnapshotBeforeUpdate=s}catch(d){Fe(e,e.return,d)}}function xm(e,t,n){n.props=et(e.type,e.memoizedProps),n.state=e.memoizedState,Gn(e)?(zn(),ne(e,qb,e,t,n),Mn()):ne(e,qb,e,t,n)}function W0(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(Gn(e))try{zn(),e.refCleanup=t(n)}finally{Mn()}else e.refCleanup=t(n);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ee(e)),t.current=n}}function sc(e,t){try{ne(e,W0,e)}catch(n){Fe(e,t,n)}}function an(e,t){var n=e.ref,i=e.refCleanup;if(n!==null)if(typeof i=="function")try{if(Gn(e))try{zn(),ne(e,i)}finally{Mn(e)}else ne(e,i)}catch(o){Fe(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(Gn(e))try{zn(),ne(e,n,null)}finally{Mn(e)}else ne(e,n,null)}catch(o){Fe(e,t,o)}else n.current=null}function Mm(e,t,n,i){var o=e.memoizedProps,s=o.id,d=o.onCommit;o=o.onRender,t=t===null?"mount":"update",Ly&&(t="nested-update"),typeof o=="function"&&o(s,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof d=="function"&&d(s,t,i,n)}function zm(e,t,n,i){var o=e.memoizedProps;e=o.id,o=o.onPostCommit,t=t===null?"mount":"update",Ly&&(t="nested-update"),typeof o=="function"&&o(e,t,i,n)}function Dm(e){var t=e.type,n=e.memoizedProps,i=e.stateNode;try{ne(e,Do,i,t,n,e)}catch(o){Fe(e,e.return,o)}}function Pr(e,t,n){try{ne(e,ua,e.stateNode,e.type,n,t,e)}catch(i){Fe(e,e.return,i)}}function F0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&on(e.type)||e.tag===4}function df(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||F0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&on(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ed(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(Rf(n),(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t)):(Rf(n),t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=da));else if(i!==4&&(i===27&&on(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(ed(e,t,n),e=e.sibling;e!==null;)ed(e,t,n),e=e.sibling}function hf(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(i===27&&on(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(hf(e,t,n),e=e.sibling;e!==null;)hf(e,t,n),e=e.sibling}function Om(e){for(var t,n=e.return;n!==null;){if(F0(n)){t=n;break}n=n.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,n=df(e),hf(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(pd(n),t.flags&=-33),t=df(e),hf(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=df(e),ed(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function _m(e){var t=e.stateNode,n=e.memoizedProps;try{ne(e,Bg,e.type,n,t,e)}catch(i){Fe(e,e.return,i)}}function I0(e,t){if(e=e.containerInfo,Zv=vg,e=R0(e),Fh(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var o=i.anchorOffset,s=i.focusNode;i=i.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var d=0,h=-1,y=-1,b=0,R=0,w=e,O=null;t:for(;;){for(var G;w!==n||o!==0&&w.nodeType!==3||(h=d+o),w!==s||i!==0&&w.nodeType!==3||(y=d+i),w.nodeType===3&&(d+=w.nodeValue.length),(G=w.firstChild)!==null;)O=w,w=G;for(;;){if(w===e)break t;if(O===n&&++b===o&&(h=d),O===s&&++R===i&&(y=d),(G=w.nextSibling)!==null)break;w=O,O=w.parentNode}w=G}n=h===-1||y===-1?null:{start:h,end:y}}else n=null}n=n||{start:0,end:0}}else n=null;for(Jv={focusedElem:e,selectionRange:n},vg=!1,wl=t;wl!==null;)if(t=wl,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,wl=e;else for(;wl!==null;){switch(e=t=wl,n=e.alternate,o=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(o&1024)!==0&&n!==null&&$0(e,n);break;case 3:if((o&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)Jl(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Jl(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((o&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,wl=e;break}wl=t.return}}function P0(e,t,n){var i=It(),o=n.flags;switch(n.tag){case 0:case 11:case 15:Ya(e,n),o&4&&Am(n,$l|au);break;case 1:if(Ya(e,n),o&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||gh||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ee(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ee(n)||"instance")),Gn(n)?(zn(),ne(n,pv,n,e),Mn()):ne(n,pv,n,e);else{var s=et(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||gh||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ee(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ee(n)||"instance")),Gn(n)?(zn(),ne(n,Nb,n,e,s,t,e.__reactInternalSnapshotBeforeUpdate),Mn()):ne(n,Nb,n,e,s,t,e.__reactInternalSnapshotBeforeUpdate)}o&64&&Ir(n),o&512&&sc(n,n.return);break;case 3:if(t=Pl(),Ya(e,n),o&64&&(o=n.updateQueue,o!==null)){if(s=null,n.child!==null)switch(n.child.tag){case 27:case 5:s=n.child.stateNode;break;case 1:s=n.child.stateNode}try{ne(n,ma,o,s)}catch(h){Fe(n,n.return,h)}}e.effectDuration+=lo(t);break;case 27:t===null&&o&4&&_m(n);case 26:case 5:if(Ya(e,n),t===null){if(o&4)Dm(n);else if(o&64){e=n.type,t=n.memoizedProps,s=n.stateNode;try{ne(n,_f,s,e,t,n)}catch(h){Fe(n,n.return,h)}}}o&512&&sc(n,n.return);break;case 12:if(o&4){o=Pl(),Ya(e,n),e=n.stateNode,e.effectDuration+=ao(o);try{ne(n,Mm,n,t,Gy,e.effectDuration)}catch(h){Fe(n,n.return,h)}}else Ya(e,n);break;case 31:Ya(e,n),o&4&&td(e,n);break;case 13:Ya(e,n),o&4&&mf(e,n),o&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=ry.bind(null,n),Ei(e,n))));break;case 22:if(o=n.memoizedState!==null||Hc,!o){t=t!==null&&t.memoizedState!==null||al,s=Hc;var d=al;Hc=o,(al=t)&&!d?Cl(e,n,(n.subtreeFlags&8772)!==0):Ya(e,n),Hc=s,al=d}break;case 30:break;default:Ya(e,n)}ea(i)}function ey(e){var t=e.alternate;t!==null&&(e.alternate=null,ey(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ys(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ln(e,t,n){for(n=n.child;n!==null;)To(e,t,n),n=n.sibling}function To(e,t,n){if(Kt&&typeof Kt.onCommitFiberUnmount=="function")try{Kt.onCommitFiberUnmount(dn,n)}catch(d){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %s",d))}var i=It();switch(n.tag){case 26:al||an(n,t),Ln(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:al||an(n,t);var o=hl,s=Ja;on(n.type)&&(hl=n.stateNode,Ja=!1),Ln(e,t,n),ne(n,Uf,n.stateNode),hl=o,Ja=s;break;case 5:al||an(n,t);case 6:if(o=hl,s=Ja,hl=null,Ln(e,t,n),hl=o,Ja=s,hl!==null)if(Ja)try{ne(n,el,hl,n.stateNode)}catch(d){Fe(n,t,d)}else try{ne(n,Ti,hl,n.stateNode)}catch(d){Fe(n,t,d)}break;case 18:hl!==null&&(Ja?(e=hl,wu(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),ju(e)):wu(hl,n.stateNode));break;case 4:o=hl,s=Ja,hl=n.stateNode.containerInfo,Ja=!0,Ln(e,t,n),hl=o,Ja=s;break;case 0:case 11:case 14:case 15:al||Du(za,n,t),al||mi(n,t,$l),Ln(e,t,n);break;case 1:al||(an(n,t),o=n.stateNode,typeof o.componentWillUnmount=="function"&&xm(n,t,o)),Ln(e,t,n);break;case 21:Ln(e,t,n);break;case 22:al=(o=al)||n.memoizedState!==null,Ln(e,t,n),al=o;break;default:Ln(e,t,n)}ea(i)}function td(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ne(t,by,e)}catch(n){Fe(t,t.return,n)}}}function mf(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ne(t,bd,e)}catch(n){Fe(t,t.return,n)}}function ty(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new S1),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new S1),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function pf(e,t){var n=ty(e);t.forEach(function(i){var o=Xm.bind(null,e,i);if(!n.has(i)){if(n.add(i),Ea)if(vh!==null&&bh!==null)Dt(bh,vh);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(o,o)}})}function bl(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var o=e,s=t,d=n[i],h=It(),y=s;e:for(;y!==null;){switch(y.tag){case 27:if(on(y.type)){hl=y.stateNode,Ja=!1;break e}break;case 5:hl=y.stateNode,Ja=!1;break e;case 3:case 4:hl=y.stateNode.containerInfo,Ja=!0;break e}y=y.return}if(hl===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");To(o,s,d),hl=null,Ja=!1,ea(h),o=d,s=o.alternate,s!==null&&(s.return=null),o.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Rm(t,e),t=t.sibling}function Rm(e,t){var n=It(),i=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:bl(t,e),Xl(e),o&4&&(Du(za|au,e,e.return),So(za|au,e),mi(e,e.return,$l|au));break;case 1:bl(t,e),Xl(e),o&512&&(al||i===null||an(i,i.return)),o&64&&Hc&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(i=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=i===null?o:i.concat(o))));break;case 26:var s=Wu;if(bl(t,e),Xl(e),o&512&&(al||i===null||an(i,i.return)),o&4){var d=i!==null?i.memoizedState:null;if(o=e.memoizedState,i===null)if(o===null)if(e.stateNode===null){e:{o=e.type,i=e.memoizedProps,s=s.ownerDocument||s;t:switch(o){case"title":d=s.getElementsByTagName("title")[0],(!d||d[Go]||d[$t]||d.namespaceURI===Ju||d.hasAttribute("itemprop"))&&(d=s.createElement(o),s.head.insertBefore(d,s.querySelector("head > title"))),cl(d,o,i),d[$t]=e,Ft(d),o=d;break e;case"link":var h=st("link","href",s).get(o+(i.href||""));if(h){for(var y=0;y<h.length;y++)if(d=h[y],d.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&d.getAttribute("rel")===(i.rel==null?null:i.rel)&&d.getAttribute("title")===(i.title==null?null:i.title)&&d.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){h.splice(y,1);break t}}d=s.createElement(o),cl(d,o,i),s.head.appendChild(d);break;case"meta":if(h=st("meta","content",s).get(o+(i.content||""))){for(y=0;y<h.length;y++)if(d=h[y],mt(i.content,"content"),d.getAttribute("content")===(i.content==null?null:""+i.content)&&d.getAttribute("name")===(i.name==null?null:i.name)&&d.getAttribute("property")===(i.property==null?null:i.property)&&d.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&d.getAttribute("charset")===(i.charSet==null?null:i.charSet)){h.splice(y,1);break t}}d=s.createElement(o),cl(d,o,i),s.head.appendChild(d);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+o+'". This is a bug in React.')}d[$t]=e,Ft(d),o=d}e.stateNode=o}else xd(s,e.type,e.stateNode);else e.stateNode=op(s,o,e.memoizedProps);else d!==o?(d===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):d.count--,o===null?xd(s,e.type,e.stateNode):op(s,o,e.memoizedProps)):o===null&&e.stateNode!==null&&Pr(e,e.memoizedProps,i.memoizedProps)}break;case 27:bl(t,e),Xl(e),o&512&&(al||i===null||an(i,i.return)),i!==null&&o&4&&Pr(e,e.memoizedProps,i.memoizedProps);break;case 5:if(bl(t,e),Xl(e),o&512&&(al||i===null||an(i,i.return)),e.flags&32){s=e.stateNode;try{ne(e,pd,s)}catch(O){Fe(e,e.return,O)}}o&4&&e.stateNode!=null&&(s=e.memoizedProps,Pr(e,s,i!==null?i.memoizedProps:s)),o&1024&&(Dv=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(bl(t,e),Xl(e),o&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");o=e.memoizedProps,i=i!==null?i.memoizedProps:o,s=e.stateNode;try{ne(e,Im,s,i,o)}catch(O){Fe(e,e.return,O)}}break;case 3:if(s=Pl(),pg=null,d=Wu,Wu=Td(t.containerInfo),bl(t,e),Wu=d,Xl(e),o&4&&i!==null&&i.memoizedState.isDehydrated)try{ne(e,vy,t.containerInfo)}catch(O){Fe(e,e.return,O)}Dv&&(Dv=!1,ly(e)),t.effectDuration+=lo(s);break;case 4:o=Wu,Wu=Td(e.stateNode.containerInfo),bl(t,e),Xl(e),Wu=o;break;case 12:o=Pl(),bl(t,e),Xl(e),e.stateNode.effectDuration+=ao(o);break;case 31:bl(t,e),Xl(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,pf(e,o)));break;case 13:bl(t,e),Xl(e),e.child.flags&8192&&e.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(Hv=Kn()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,pf(e,o)));break;case 22:s=e.memoizedState!==null;var b=i!==null&&i.memoizedState!==null,R=Hc,w=al;if(Hc=R||s,al=w||b,bl(t,e),al=w,Hc=R,Xl(e),o&8192)e:for(t=e.stateNode,t._visibility=s?t._visibility&-2:t._visibility|iv,s&&(i===null||b||Hc||al||pi(e)),i=null,t=e;;){if(t.tag===5||t.tag===26){if(i===null){b=i=t;try{d=b.stateNode,s?ne(b,Pm,d):ne(b,Cf,b.stateNode,b.memoizedProps)}catch(O){Fe(b,b.return,O)}}}else if(t.tag===6){if(i===null){b=t;try{h=b.stateNode,s?ne(b,ep,h):ne(b,tp,h,b.memoizedProps)}catch(O){Fe(b,b.return,O)}}}else if(t.tag===18){if(i===null){b=t;try{y=b.stateNode,s?ne(b,Oo,y):ne(b,yy,b.stateNode)}catch(O){Fe(b,b.return,O)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;i===t&&(i=null),t=t.return}i===t&&(i=null),t.sibling.return=t.return,t=t.sibling}o&4&&(o=e.updateQueue,o!==null&&(i=o.retryQueue,i!==null&&(o.retryQueue=null,pf(e,i))));break;case 19:bl(t,e),Xl(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,pf(e,o)));break;case 30:break;case 21:break;default:bl(t,e),Xl(e)}ea(n)}function Xl(e){var t=e.flags;if(t&2){try{ne(e,Om,e)}catch(n){Fe(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ly(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;ly(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ya(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)P0(e,t.alternate,t),t=t.sibling}function ld(e){var t=It();switch(e.tag){case 0:case 11:case 14:case 15:mi(e,e.return,$l),pi(e);break;case 1:an(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&xm(e,e.return,n),pi(e);break;case 27:ne(e,Uf,e.stateNode);case 26:case 5:an(e,e.return),pi(e);break;case 22:e.memoizedState===null&&pi(e);break;case 30:pi(e);break;default:pi(e)}ea(t)}function pi(e){for(e=e.child;e!==null;)ld(e),e=e.sibling}function Cm(e,t,n,i){var o=It(),s=n.flags;switch(n.tag){case 0:case 11:case 15:Cl(e,n,i),Am(n,$l);break;case 1:if(Cl(e,n,i),t=n.stateNode,typeof t.componentDidMount=="function"&&ne(n,pv,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{ne(n,Vs,t,e)}catch(d){Fe(n,n.return,d)}}i&&s&64&&Ir(n),sc(n,n.return);break;case 27:_m(n);case 26:case 5:Cl(e,n,i),i&&t===null&&s&4&&Dm(n),sc(n,n.return);break;case 12:if(i&&s&4){s=Pl(),Cl(e,n,i),i=n.stateNode,i.effectDuration+=ao(s);try{ne(n,Mm,n,t,Gy,i.effectDuration)}catch(d){Fe(n,n.return,d)}}else Cl(e,n,i);break;case 31:Cl(e,n,i),i&&s&4&&td(e,n);break;case 13:Cl(e,n,i),i&&s&4&&mf(e,n);break;case 22:n.memoizedState===null&&Cl(e,n,i),sc(n,n.return);break;case 30:break;default:Cl(e,n,i)}ea(o)}function Cl(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Cm(e,t.alternate,t,n),t=t.sibling}function ad(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&ii(e),n!=null&&Fa(n))}function nd(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(ii(t),e!=null&&Fa(e))}function Va(e,t,n,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)yf(e,t,n,i),t=t.sibling}function yf(e,t,n,i){var o=It(),s=t.flags;switch(t.tag){case 0:case 11:case 15:Va(e,t,n,i),s&2048&&rf(t,El|au);break;case 1:Va(e,t,n,i);break;case 3:var d=Pl();Va(e,t,n,i),s&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==n&&(ii(t),n!=null&&Fa(n))),e.passiveEffectDuration+=lo(d);break;case 12:if(s&2048){s=Pl(),Va(e,t,n,i),e=t.stateNode,e.passiveEffectDuration+=ao(s);try{ne(t,zm,t,t.alternate,Gy,e.passiveEffectDuration)}catch(y){Fe(t,t.return,y)}}else Va(e,t,n,i);break;case 31:Va(e,t,n,i);break;case 13:Va(e,t,n,i);break;case 23:break;case 22:d=t.stateNode;var h=t.alternate;t.memoizedState!==null?d._visibility&Xf?Va(e,t,n,i):Eo(e,t):d._visibility&Xf?Va(e,t,n,i):(d._visibility|=Xf,fc(e,t,n,i,(t.subtreeFlags&10256)!==0)),s&2048&&ad(h,t);break;case 24:Va(e,t,n,i),s&2048&&nd(t.alternate,t);break;default:Va(e,t,n,i)}ea(o)}function fc(e,t,n,i,o){for(o=o&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)ud(e,t,n,i,o),t=t.sibling}function ud(e,t,n,i,o){var s=It(),d=t.flags;switch(t.tag){case 0:case 11:case 15:fc(e,t,n,i,o),rf(t,El);break;case 23:break;case 22:var h=t.stateNode;t.memoizedState!==null?h._visibility&Xf?fc(e,t,n,i,o):Eo(e,t):(h._visibility|=Xf,fc(e,t,n,i,o)),o&&d&2048&&ad(t.alternate,t);break;case 24:fc(e,t,n,i,o),o&&d&2048&&nd(t.alternate,t);break;default:fc(e,t,n,i,o)}ea(s)}function Eo(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,i=t,o=i.flags;switch(i.tag){case 22:Eo(n,i),o&2048&&ad(i.alternate,i);break;case 24:Eo(n,i),o&2048&&nd(i.alternate,i);break;default:Eo(n,i)}t=t.sibling}}function rc(e){if(e.subtreeFlags&kp)for(e=e.child;e!==null;)ay(e),e=e.sibling}function ay(e){switch(e.tag){case 26:rc(e),e.flags&kp&&e.memoizedState!==null&&qg(Wu,e.memoizedState,e.memoizedProps);break;case 5:rc(e);break;case 3:case 4:var t=Wu;Wu=Td(e.stateNode.containerInfo),rc(e),Wu=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=kp,kp=16777216,rc(e),kp=t):rc(e));break;default:rc(e)}}function id(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ut(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var i=t[n],o=It();wl=i,Hm(i,e),ea(o)}id(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)il(e),e=e.sibling}function il(e){var t=It();switch(e.tag){case 0:case 11:case 15:Ut(e),e.flags&2048&&Fr(e,e.return,El|au);break;case 3:var n=Pl();Ut(e),e.stateNode.passiveEffectDuration+=lo(n);break;case 12:n=Pl(),Ut(e),e.stateNode.passiveEffectDuration+=ao(n);break;case 22:n=e.stateNode,e.memoizedState!==null&&n._visibility&Xf&&(e.return===null||e.return.tag!==13)?(n._visibility&=-3,gf(e)):Ut(e);break;default:Ut(e)}ea(t)}function gf(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var i=t[n],o=It();wl=i,Hm(i,e),ea(o)}id(e)}for(e=e.child;e!==null;)Um(e),e=e.sibling}function Um(e){var t=It();switch(e.tag){case 0:case 11:case 15:Fr(e,e.return,El),gf(e);break;case 22:var n=e.stateNode;n._visibility&Xf&&(n._visibility&=-3,gf(e));break;default:gf(e)}ea(t)}function Hm(e,t){for(;wl!==null;){var n=wl,i=n,o=t,s=It();switch(i.tag){case 0:case 11:case 15:Fr(i,o,El);break;case 23:case 22:i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(i=i.memoizedState.cachePool.pool,i!=null&&ii(i));break;case 24:Fa(i.memoizedState.cache)}if(ea(s),s=n.child,s!==null)s.return=n,wl=s;else e:for(n=e;wl!==null;){if(s=wl,i=s.sibling,o=s.return,ey(s),s===n){wl=null;break e}if(i!==null){i.return=o,wl=i;break e}wl=o}}}function ny(){T2.forEach(function(e){return e()})}function wm(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||B.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Ul(e){if((dt&Da)!==ka&&$e!==0)return $e&-$e;var t=B.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),hd()):Nh()}function Nm(){vn===0&&(vn=($e&536870912)===0||Ke?Wl():536870912);var e=yn.current;return e!==null&&(e.flags|=32),vn}function zt(e,t,n){if(xh&&console.error("useInsertionEffect must not schedule updates."),jv&&(ng=!0),(e===Mt&&(gt===If||gt===Pf)||e.cancelPendingCommit!==null)&&(gi(e,0),Ou(e,$e,vn,!1)),ds(e,n),(dt&Da)!==ka&&e===Mt){if(kn)switch(t.tag){case 0:case 11:case 15:e=ke&&ee(ke)||"Unknown",R1.has(e)||(R1.add(e),t=ee(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:_1||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),_1=!0)}}else Ea&&ps(e,t,n),dy(t),e===Mt&&((dt&Da)===ka&&(Wo|=n),Wt===Ff&&Ou(e,$e,vn,!1)),vt(e)}function cd(e,t,n){if((dt&(Da|Fu))!==ka)throw Error("Should not already be working.");var i=!n&&(t&124)===0&&(t&e.expiredLanes)===0||fs(e,t),o=i?_u(e,t):Tf(e,t,!0),s=i;do{if(o===wc){Eh&&!i&&Ou(e,t,0,!1);break}else{if(n=e.current.alternate,s&&!uy(n)){o=Tf(e,t,!1),s=!1;continue}if(o===Sh){if(s=t,e.errorRecoveryDisabledLanes&s)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){t=d;e:{o=e;var h=d;d=Pp;var y=o.current.memoizedState.isDehydrated;if(y&&(gi(o,h).flags|=256),h=Tf(o,h,!1),h!==Sh){if(Cv&&!y){o.errorRecoveryDisabledLanes|=s,Wo|=s,o=Ff;break e}o=Oa,Oa=d,o!==null&&(Oa===null?Oa=o:Oa.push.apply(Oa,o))}o=h}if(s=!1,o!==Sh)continue}}if(o===$p){gi(e,0),Ou(e,t,0,!0);break}e:{switch(i=e,o){case wc:case $p:throw Error("Root did not complete. This is a bug in React.");case Ff:if((t&4194048)!==t)break;case eg:Ou(i,t,vn,!Ko);break e;case Sh:Oa=null;break;case Ov:case T1:break;default:throw Error("Unknown root exit status.")}if(B.actQueue!==null)dc(i,n,t,Oa,e0,tg,vn,Wo,er);else{if((t&62914560)===t&&(s=Hv+A1-Kn(),10<s)){if(Ou(i,t,vn,!Ko),dr(i,0,!0)!==0)break e;i.timeoutHandle=q1(Bm.bind(null,i,n,Oa,e0,tg,t,vn,Wo,er,Ko,o,M2,Db,0),s);break e}Bm(i,n,Oa,e0,tg,t,vn,Wo,er,Ko,o,A2,Db,0)}}}break}while(!0);vt(e)}function Bm(e,t,n,i,o,s,d,h,y,b,R,w,O,G){if(e.timeoutHandle=ur,w=t.subtreeFlags,(w&8192||(w&16785408)===16785408)&&(c0={stylesheets:null,count:0,unsuspend:da},ay(t),w=Yg(),w!==null)){e.cancelPendingCommit=w(dc.bind(null,e,t,s,n,i,o,d,h,y,R,x2,O,G)),Ou(e,s,d,!b);return}dc(e,t,s,n,i,o,d,h,y)}function uy(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var i=0;i<n.length;i++){var o=n[i],s=o.getSnapshot;o=o.value;try{if(!xa(s(),o))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ou(e,t,n,i){t&=~Uv,t&=~Wo,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var o=t;0<o;){var s=31-Sl(o),d=1<<s;i[s]=-1,o&=~d}n!==0&&b0(e,n,t)}function yi(){return(dt&(Da|Fu))===ka?(zf(0),!1):!0}function vf(){if(ke!==null){if(gt===Ka)var e=ke.return;else e=ke,Dl(),Fi(e),rh=null,Xp=0,e=ke;for(;e!==null;)Em(e.alternate,e),e=e.return;ke=null}}function gi(e,t){var n=e.timeoutHandle;n!==ur&&(e.timeoutHandle=ur,q2(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),vf(),Mt=e,ke=n=En(e.current,null),$e=t,gt=Ka,gn=null,Ko=!1,Eh=fs(e,t),Cv=!1,Wt=wc,er=vn=Uv=Wo=$o=0,Oa=Pp=null,tg=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var o=31-Sl(i),s=1<<o;t|=e[o],i&=~s}return _i=t,Ds(),t=Ab(),1e3<t-Eb&&(B.recentlyCreatedOwnerStacks=0,Eb=t),Ku.discardPendingWarnings(),n}function jm(e,t){Be=null,B.H=Fy,B.getCurrentStack=null,kn=!1,Sa=null,t===Lp||t===Zy?(t=Hr(),gt=Fp):t===hv?(t=Hr(),gt=E1):gt=t===Mv?Rv:t!==null&&typeof t=="object"&&typeof t.then=="function"?Th:Wp,gn=t;var n=ke;if(n===null)Wt=$p,qn(e,ha(t,e.current));else switch(n.mode&sl&&Rr(n),Nl(),gt){case Wp:ae!==null&&typeof ae.markComponentErrored=="function"&&ae.markComponentErrored(n,t,$e);break;case If:case Pf:case Fp:case Th:case Ip:ae!==null&&typeof ae.markComponentSuspended=="function"&&ae.markComponentSuspended(n,t,$e)}}function od(){var e=yn.current;return e===null?!0:($e&4194048)===$e?tu===null:($e&62914560)===$e||($e&536870912)!==0?e===tu:!1}function bf(){var e=B.H;return B.H=Fy,e===null?Fy:e}function sd(){var e=B.A;return B.A=S2,e}function Sf(){Wt=Ff,Ko||($e&4194048)!==$e&&yn.current!==null||(Eh=!0),($o&134217727)===0&&(Wo&134217727)===0||Mt===null||Ou(Mt,$e,vn,!1)}function Tf(e,t,n){var i=dt;dt|=Da;var o=bf(),s=sd();if(Mt!==e||$e!==t){if(Ea){var d=e.memoizedUpdaters;0<d.size&&(Dt(e,$e),d.clear()),Yc(e,t)}e0=null,gi(e,t)}v0(t),t=!1,d=Wt;e:do try{if(gt!==Ka&&ke!==null){var h=ke,y=gn;switch(gt){case Rv:vf(),d=eg;break e;case Fp:case If:case Pf:case Th:yn.current===null&&(t=!0);var b=gt;if(gt=Ka,gn=null,vi(e,h,y,b),n&&Eh){d=wc;break e}break;default:b=gt,gt=Ka,gn=null,vi(e,h,y,b)}}qm(),d=Wt;break}catch(R){jm(e,R)}while(!0);return t&&e.shellSuspendCounter++,Dl(),dt=i,B.H=o,B.A=s,Hh(),ke===null&&(Mt=null,$e=0,Ds()),d}function qm(){for(;ke!==null;)iy(ke)}function _u(e,t){var n=dt;dt|=Da;var i=bf(),o=sd();if(Mt!==e||$e!==t){if(Ea){var s=e.memoizedUpdaters;0<s.size&&(Dt(e,$e),s.clear()),Yc(e,t)}e0=null,lg=Kn()+x1,gi(e,t)}else Eh=fs(e,t);v0(t);e:do try{if(gt!==Ka&&ke!==null)t:switch(t=ke,s=gn,gt){case Wp:gt=Ka,gn=null,vi(e,t,s,Wp);break;case If:case Pf:if(ws(s)){gt=Ka,gn=null,Vm(t);break}t=function(){gt!==If&&gt!==Pf||Mt!==e||(gt=Ip),vt(e)},s.then(t,t);break e;case Fp:gt=Ip;break e;case E1:gt=_v;break e;case Ip:ws(s)?(gt=Ka,gn=null,Vm(t)):(gt=Ka,gn=null,vi(e,t,s,Ip));break;case _v:var d=null;switch(ke.tag){case 26:d=ke.memoizedState;case 5:case 27:var h=ke;if(d?sp(d):h.stateNode.complete){gt=Ka,gn=null;var y=h.sibling;if(y!==null)ke=y;else{var b=h.return;b!==null?(ke=b,Ef(b)):ke=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}gt=Ka,gn=null,vi(e,t,s,_v);break;case Th:gt=Ka,gn=null,vi(e,t,s,Th);break;case Rv:vf(),Wt=eg;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}B.actQueue!==null?qm():Ym();break}catch(R){jm(e,R)}while(!0);return Dl(),B.H=i,B.A=o,dt=n,ke!==null?(ae!==null&&typeof ae.markRenderYielded=="function"&&ae.markRenderYielded(),wc):(Hh(),Mt=null,$e=0,Ds(),Wt)}function Ym(){for(;ke!==null&&!Jg();)iy(ke)}function iy(e){var t=e.alternate;(e.mode&sl)!==At?(_r(e),t=ne(e,Sm,t,e,_i),Rr(e)):t=ne(e,Sm,t,e,_i),e.memoizedProps=e.pendingProps,t===null?Ef(e):ke=t}function Vm(e){var t=ne(e,Ru,e);e.memoizedProps=e.pendingProps,t===null?Ef(e):ke=t}function Ru(e){var t=e.alternate,n=(e.mode&sl)!==At;switch(n&&_r(e),e.tag){case 15:case 0:t=Jr(t,e,e.pendingProps,e.type,void 0,$e);break;case 11:t=Jr(t,e,e.pendingProps,e.type.render,e.ref,$e);break;case 5:Fi(e);default:Em(t,e),e=ke=tm(e,_i),t=Sm(t,e,_i)}return n&&Rr(e),t}function vi(e,t,n,i){Dl(),Fi(t),rh=null,Xp=0;var o=t.return;try{if(Zt(e,o,t,n,$e)){Wt=$p,qn(e,ha(n,e.current)),ke=null;return}}catch(s){if(o!==null)throw ke=o,s;Wt=$p,qn(e,ha(n,e.current)),ke=null;return}t.flags&32768?(Ke||i===Wp?e=!0:Eh||($e&536870912)!==0?e=!1:(Ko=e=!0,(i===If||i===Pf||i===Fp||i===Th)&&(i=yn.current,i!==null&&i.tag===13&&(i.flags|=16384))),Af(t,e)):Ef(t)}function Ef(e){var t=e;do{if((t.flags&32768)!==0){Af(t,Ko);return}var n=t.alternate;if(e=t.return,_r(t),n=ne(t,J0,n,t,_i),(t.mode&sl)!==At&&B0(t),n!==null){ke=n;return}if(t=t.sibling,t!==null){ke=t;return}ke=t=e}while(t!==null);Wt===wc&&(Wt=T1)}function Af(e,t){do{var n=k0(e.alternate,e);if(n!==null){n.flags&=32767,ke=n;return}if((e.mode&sl)!==At){B0(e),n=e.actualDuration;for(var i=e.child;i!==null;)n+=i.actualDuration,i=i.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){ke=e;return}ke=e=n}while(e!==null);Wt=eg,ke=null}function dc(e,t,n,i,o,s,d,h,y){e.cancelPendingCommit=null;do Ga();while(Al!==Io);if(Ku.flushLegacyContextWarning(),Ku.flushPendingUnsafeLifecycleWarnings(),(dt&(Da|Fu))!==ka)throw Error("Should not already be working.");if(ae!==null&&typeof ae.markCommitStarted=="function"&&ae.markCommitStarted(n),t===null)g0();else{if(n===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(s=t.lanes|t.childLanes,s|=cv,zg(e,n,s,d,h,y),e===Mt&&(ke=Mt=null,$e=0),Ah=t,Po=e,es=n,wv=s,Nv=o,O1=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Zm(xc,function(){return Gm(),null})):(e.callbackNode=null,e.callbackPriority=0),Gy=oh(),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=B.T,B.T=null,o=ct.p,ct.p=Aa,d=dt,dt|=Fu;try{I0(e,t,n)}finally{dt=d,ct.p=o,B.T=i}}Al=M1,Et(),cy(),oy()}}function Et(){if(Al===M1){Al=Io;var e=Po,t=Ah,n=es,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=B.T,B.T=null;var o=ct.p;ct.p=Aa;var s=dt;dt|=Fu;try{vh=n,bh=e,_c=-1.1,Rm(t,e),bh=vh=null,n=Jv;var d=R0(e.containerInfo),h=n.focusedElem,y=n.selectionRange;if(d!==h&&h&&h.ownerDocument&&_0(h.ownerDocument.documentElement,h)){if(y!==null&&Fh(h)){var b=y.start,R=y.end;if(R===void 0&&(R=b),"selectionStart"in h)h.selectionStart=b,h.selectionEnd=Math.min(R,h.value.length);else{var w=h.ownerDocument||document,O=w&&w.defaultView||window;if(O.getSelection){var G=O.getSelection(),ce=h.textContent.length,Ce=Math.min(y.start,ce),_t=y.end===void 0?Ce:Math.min(y.end,ce);!G.extend&&Ce>_t&&(d=_t,_t=Ce,Ce=d);var Pe=O0(h,Ce),S=O0(h,_t);if(Pe&&S&&(G.rangeCount!==1||G.anchorNode!==Pe.node||G.anchorOffset!==Pe.offset||G.focusNode!==S.node||G.focusOffset!==S.offset)){var T=w.createRange();T.setStart(Pe.node,Pe.offset),G.removeAllRanges(),Ce>_t?(G.addRange(T),G.extend(S.node,S.offset)):(T.setEnd(S.node,S.offset),G.addRange(T))}}}}for(w=[],G=h;G=G.parentNode;)G.nodeType===1&&w.push({element:G,left:G.scrollLeft,top:G.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<w.length;h++){var x=w[h];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}vg=!!Zv,Jv=Zv=null}finally{dt=s,ct.p=o,B.T=i}}e.current=t,Al=z1}}function cy(){if(Al===z1){Al=Io;var e=Po,t=Ah,n=es,i=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||i){i=B.T,B.T=null;var o=ct.p;ct.p=Aa;var s=dt;dt|=Fu;try{ae!==null&&typeof ae.markLayoutEffectsStarted=="function"&&ae.markLayoutEffectsStarted(n),vh=n,bh=e,_c=-1.1,P0(e,t.alternate,t),bh=vh=null,ae!==null&&typeof ae.markLayoutEffectsStopped=="function"&&ae.markLayoutEffectsStopped()}finally{dt=s,ct.p=o,B.T=i}}Al=D1}}function oy(){if(Al===z2||Al===D1){Al=Io,kg();var e=Po,t=Ah,n=es,i=O1,o=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;o?Al=ag:(Al=Io,Ah=Po=null,Ao(e,e.pendingLanes),tr=0,l0=null);var s=e.pendingLanes;if(s===0&&(Fo=null),o||Qm(e),o=wh(n),t=t.stateNode,Kt&&typeof Kt.onCommitFiberRoot=="function")try{var d=(t.current.flags&128)===128;switch(o){case Aa:var h=bp;break;case sa:h=Sp;break;case Vu:h=xc;break;case Vd:h=Mc;break;default:h=xc}Kt.onCommitFiberRoot(dn,t,h,d)}catch(w){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %s",w))}if(Ea&&e.memoizedUpdaters.clear(),ny(),i!==null){d=B.T,h=ct.p,ct.p=Aa,B.T=null;try{var y=e.onRecoverableError;for(t=0;t<i.length;t++){var b=i[t],R=sy(b.stack);ne(b.source,y,b.value,R)}}finally{B.T=d,ct.p=h}}(es&3)!==0&&Ga(),vt(e),s=e.pendingLanes,(n&4194090)!==0&&(s&42)!==0?(Xy=!0,e===Bv?t0++:(t0=0,Bv=e)):t0=0,zf(0),g0()}}function sy(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Ao(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Fa(t)))}function Ga(e){return Et(),cy(),oy(),Gm()}function Gm(){if(Al!==ag)return!1;var e=Po,t=wv;wv=0;var n=wh(es),i=Vu>n?Vu:n;n=B.T;var o=ct.p;try{ct.p=i,B.T=null,i=Nv,Nv=null;var s=Po,d=es;if(Al=Io,Ah=Po=null,es=0,(dt&(Da|Fu))!==ka)throw Error("Cannot flush passive effects while already rendering.");jv=!0,ng=!1,ae!==null&&typeof ae.markPassiveEffectsStarted=="function"&&ae.markPassiveEffectsStarted(d);var h=dt;dt|=Fu;var y=s.current;_c=-1.1,il(y);var b=s.current;if(_c=-1.1,yf(s,b,d,i),ae!==null&&typeof ae.markPassiveEffectsStopped=="function"&&ae.markPassiveEffectsStopped(),Qm(s),dt=h,zf(0,!1),ng?s===l0?tr++:(tr=0,l0=s):tr=0,ng=jv=!1,Kt&&typeof Kt.onPostCommitFiberRoot=="function")try{Kt.onPostCommitFiberRoot(dn,s)}catch(w){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %s",w))}var R=s.current.stateNode;return R.effectDuration=0,R.passiveEffectDuration=0,!0}finally{ct.p=o,B.T=n,Ao(e,t)}}function Lm(e,t,n){t=ha(n,t),t=oc(e.stateNode,t,2),e=Dn(e,t,2),e!==null&&(ds(e,2),vt(e))}function Fe(e,t,n){if(xh=!1,e.tag===3)Lm(e,e,n);else{for(;t!==null;){if(t.tag===3){Lm(t,e,n);return}if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Fo===null||!Fo.has(i))){e=ha(n,e),n=hi(2),i=Dn(t,n,2),i!==null&&(pm(n,i,t,e),ds(i,2),vt(i));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
885
+
886
+ Error message:
887
+
888
+ %s`,n)}}function La(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new E2;var o=new Set;i.set(t,o)}else o=i.get(t),o===void 0&&(o=new Set,i.set(t,o));o.has(n)||(Cv=!0,o.add(n),i=fy.bind(null,e,t,n),Ea&&Dt(e,n),t.then(i,i))}function fy(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,wm()&&B.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
889
+
890
+ When testing, code that resolves suspended data should be wrapped into act(...):
891
+
892
+ act(() => {
893
+ /* finish loading suspended data */
894
+ });
895
+ /* assert on the output */
896
+
897
+ 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`),Mt===e&&($e&n)===n&&(Wt===Ff||Wt===Ov&&($e&62914560)===$e&&Kn()-Hv<A1?(dt&Da)===ka&&gi(e,0):Uv|=n,er===$e&&(er=0)),vt(e)}function fd(e,t){t===0&&(t=ou()),e=ql(e,t),e!==null&&(ds(e,t),vt(e))}function ry(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),fd(e,n)}function Xm(e,t){var n=0;switch(e.tag){case 31:case 13:var i=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),fd(e,n)}function xf(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var i=e,o=t,s=o.type===No;s=n||s,o.tag!==22?o.flags&67108864?s&&ne(o,Mf,i,o):xf(i,o,s):o.memoizedState===null&&(s&&o.flags&8192?ne(o,Mf,i,o):o.subtreeFlags&67108864&&ne(o,xf,i,o,s)),t=t.sibling}}function Mf(e,t){Tt(!0);try{ld(t),Um(t),Cm(e,t.alternate,t,!1),ud(e,t,0,null,!1,0)}finally{Tt(!1)}}function Qm(e){var t=!0;e.current.mode&(fa|ku)||(t=!1),xf(e,e.current,t)}function Xn(e){if((dt&Da)===ka){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=ee(e)||"ReactComponent",ug!==null){if(ug.has(t))return;ug.add(t)}else ug=new Set([t]);ne(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function Dt(e,t){Ea&&e.memoizedUpdaters.forEach(function(n){ps(e,n,t)})}function Zm(e,t){var n=B.actQueue;return n!==null?(n.push(t),_2):jd(e,t)}function dy(e){wm()&&B.actQueue===null&&ne(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
898
+
899
+ When testing, code that causes React state updates should be wrapped into act(...):
900
+
901
+ act(() => {
902
+ /* fire events that update state */
903
+ });
904
+ /* assert on the output */
905
+
906
+ 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`,ee(e))})}function vt(e){e!==Mh&&e.next===null&&(Mh===null?ig=Mh=e:Mh=Mh.next=e),cg=!0,B.actQueue!==null?Yv||(Yv=!0,Jm()):qv||(qv=!0,Jm())}function zf(e,t){if(!Vv&&cg){Vv=!0;do for(var n=!1,i=ig;i!==null;){if(e!==0){var o=i.pendingLanes;if(o===0)var s=0;else{var d=i.suspendedLanes,h=i.pingedLanes;s=(1<<31-Sl(42|e)+1)-1,s&=o&~(d&~h),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(n=!0,Qn(i,s))}else s=$e,s=dr(i,i===Mt?s:0,i.cancelPendingCommit!==null||i.timeoutHandle!==ur),(s&3)===0||fs(i,s)||(n=!0,Qn(i,s));i=i.next}while(n);Vv=!1}}function hy(){rd()}function rd(){cg=Yv=qv=!1;var e=0;ts!==0&&Fm()&&(e=ts);for(var t=Kn(),n=null,i=ig;i!==null;){var o=i.next,s=Ot(i,t);s===0?(i.next=null,n===null?ig=o:n.next=o,o===null&&(Mh=n)):(n=i,(e!==0||(s&3)!==0)&&(cg=!0)),i=o}Al!==Io&&Al!==ag||zf(e),ts!==0&&(ts=0)}function Ot(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes&-62914561;0<s;){var d=31-Sl(s),h=1<<d,y=o[d];y===-1?((h&n)===0||(h&i)!==0)&&(o[d]=rs(h,t)):y<=t&&(e.expiredLanes|=h),s&=~h}if(t=Mt,n=$e,n=dr(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ur),i=e.callbackNode,n===0||e===t&&(gt===If||gt===Pf)||e.cancelPendingCommit!==null)return i!==null&&dd(i),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||fs(e,n)){if(t=n&-n,t!==e.callbackPriority||B.actQueue!==null&&i!==Gv)dd(i);else return t;switch(wh(n)){case Aa:case sa:n=Sp;break;case Vu:n=xc;break;case Vd:n=Mc;break;default:n=xc}return i=Ql.bind(null,e),B.actQueue!==null?(B.actQueue.push(i),n=Gv):n=jd(n,i),e.callbackPriority=t,e.callbackNode=n,t}return i!==null&&dd(i),e.callbackPriority=2,e.callbackNode=null,2}function Ql(e,t){if(Xy=Ly=!1,Al!==Io&&Al!==ag)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Ga()&&e.callbackNode!==n)return null;var i=$e;return i=dr(e,e===Mt?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ur),i===0?null:(cd(e,i,t),Ot(e,Kn()),e.callbackNode!=null&&e.callbackNode===n?Ql.bind(null,e):null)}function Qn(e,t){if(Ga())return null;Ly=Xy,Xy=!1,cd(e,t,!0)}function dd(e){e!==Gv&&e!==null&&Zg(e)}function Jm(){B.actQueue!==null&&B.actQueue.push(function(){return rd(),null}),Y2(function(){(dt&(Da|Fu))!==ka?jd(bp,hy):rd()})}function hd(){if(ts===0){var e=Jf;ts=e!==0?e:Wl()}return ts}function my(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(mt(e,"action"),Kc(""+e))}function Df(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function la(e,t,n,i,o){if(t==="submit"&&n&&n.stateNode===o){var s=my((o[Tl]||null).action),d=i.submitter;d&&(t=(t=d[Tl]||null)?my(t.formAction):d.getAttribute("formAction"),t!==null&&(s=t,d=null));var h=new Ne("action","action",null,i,o);e.push({event:h,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(ts!==0){var y=d?Df(o,d):new FormData(o),b={pending:!0,data:y,method:o.method,action:s};Object.freeze(b),Ps(n,b,null,y)}}else typeof s=="function"&&(h.preventDefault(),y=d?Df(o,d):new FormData(o),b={pending:!0,data:y,method:o.method,action:s},Object.freeze(b),Ps(n,b,s,y))},currentTarget:o}]})}}function aa(e,t,n){e.currentTarget=n;try{t(e)}catch(i){uv(i)}e.currentTarget=null}function km(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var i=e[n];e:{var o=void 0,s=i.event;if(i=i.listeners,t)for(var d=i.length-1;0<=d;d--){var h=i[d],y=h.instance,b=h.currentTarget;if(h=h.listener,y!==o&&s.isPropagationStopped())break e;y!==null?ne(y,aa,s,h,b):aa(s,h,b),o=y}else for(d=0;d<i.length;d++){if(h=i[d],y=h.instance,b=h.currentTarget,h=h.listener,y!==o&&s.isPropagationStopped())break e;y!==null?ne(y,aa,s,h,b):aa(s,h,b),o=y}}}}function Oe(e,t){Lv.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[zc];n===void 0&&(n=t[zc]=new Set);var i=e+"__bubble";n.has(i)||(bi(t,e,2,!1),n.add(i))}function md(e,t,n){Lv.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=4),bi(n,e,i,t)}function nn(e){if(!e[og]){e[og]=!0,Ep.forEach(function(n){n!=="selectionchange"&&(Lv.has(n)||md(n,!1,e),md(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[og]||(t[og]=!0,md("selectionchange",!1,t))}}function bi(e,t,n,i){switch(My(t)){case Aa:var o=xy;break;case sa:o=Vg;break;default:o=wf}n=o.bind(null,t,n,e),o=void 0,!M||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),i?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function un(e,t,n,i,o){var s=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var d=i.tag;if(d===3||d===4){var h=i.stateNode.containerInfo;if(h===o)break;if(d===4)for(d=i.return;d!==null;){var y=d.tag;if((y===3||y===4)&&d.stateNode.containerInfo===o)return;d=d.return}for(;h!==null;){if(d=Sn(h),d===null)return;if(y=d.tag,y===5||y===6||y===26||y===27){i=s=d;continue e}h=h.parentNode}}i=i.return}$c(function(){var b=s,R=$a(n),w=[];e:{var O=Tb.get(e);if(O!==void 0){var G=Ne,ce=e;switch(e){case"keypress":if(Vi(n)===0)break e;case"keydown":case"keyup":G=ZS;break;case"focusin":ce="focus",G=Pg;break;case"focusout":ce="blur",G=Pg;break;case"beforeblur":case"afterblur":G=Pg;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":G=cb;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":G=HS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":G=KS;break;case gb:case vb:case bb:G=BS;break;case Sb:G=WS;break;case"scroll":case"scrollend":G=nt;break;case"wheel":G=IS;break;case"copy":case"cut":case"paste":G=qS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":G=sb;break;case"toggle":case"beforetoggle":G=e2}var Ce=(t&4)!==0,_t=!Ce&&(e==="scroll"||e==="scrollend"),Pe=Ce?O!==null?O+"Capture":null:O;Ce=[];for(var S=b,T;S!==null;){var x=S;if(T=x.stateNode,x=x.tag,x!==5&&x!==26&&x!==27||T===null||Pe===null||(x=Ha(S,Pe),x!=null&&Ce.push(hc(S,x,T))),_t)break;S=S.return}0<Ce.length&&(O=new G(O,ce,null,n,R),w.push({event:O,listeners:Ce}))}}if((t&7)===0){e:{if(O=e==="mouseover"||e==="pointerover",G=e==="mouseout"||e==="pointerout",O&&n!==N&&(ce=n.relatedTarget||n.fromElement)&&(Sn(ce)||ce[zi]))break e;if((G||O)&&(O=R.window===R?R:(O=R.ownerDocument)?O.defaultView||O.parentWindow:window,G?(ce=n.relatedTarget||n.toElement,G=b,ce=ce?Sn(ce):null,ce!==null&&(_t=De(ce),Ce=ce.tag,ce!==_t||Ce!==5&&Ce!==27&&Ce!==6)&&(ce=null)):(G=null,ce=b),G!==ce)){if(Ce=cb,x="onMouseLeave",Pe="onMouseEnter",S="mouse",(e==="pointerout"||e==="pointerover")&&(Ce=sb,x="onPointerLeave",Pe="onPointerEnter",S="pointer"),_t=G==null?O:Vc(G),T=ce==null?O:Vc(ce),O=new Ce(x,S+"leave",G,n,R),O.target=_t,O.relatedTarget=T,x=null,Sn(R)===b&&(Ce=new Ce(Pe,S+"enter",ce,n,R),Ce.target=T,Ce.relatedTarget=_t,x=Ce),_t=x,G&&ce)t:{for(Ce=cn,Pe=G,S=ce,T=0,x=Pe;x;x=Ce(x))T++;x=0;for(var Q=S;Q;Q=Ce(Q))x++;for(;0<T-x;)Pe=Ce(Pe),T--;for(;0<x-T;)S=Ce(S),x--;for(;T--;){if(Pe===S||S!==null&&Pe===S.alternate){Ce=Pe;break t}Pe=Ce(Pe),S=Ce(S)}Ce=null}else Ce=null;G!==null&&Km(w,O,G,Ce,!1),ce!==null&&_t!==null&&Km(w,_t,ce,Ce,!0)}}e:{if(O=b?Vc(b):window,G=O.nodeName&&O.nodeName.toLowerCase(),G==="select"||G==="input"&&O.type==="file")var le=M0;else if(Sr(O))if(pb)le=Hg;else{le=Cg;var He=$h}else G=O.nodeName,!G||G.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?b&&Yi(b.elementType)&&(le=M0):le=Ug;if(le&&(le=le(e,b))){Wc(w,le,n,R);break e}He&&He(e,O,b),e==="focusout"&&b&&O.type==="number"&&b.memoizedProps.value!=null&&kt(O,"number",O.value)}switch(He=b?Vc(b):window,e){case"focusin":(Sr(He)||He.contentEditable==="true")&&(eh=He,tv=b,Hp=null);break;case"focusout":Hp=tv=eh=null;break;case"mousedown":lv=!0;break;case"contextmenu":case"mouseup":case"dragend":lv=!1,Er(w,n,R);break;case"selectionchange":if(n2)break;case"keydown":case"keyup":Er(w,n,R)}var ve;if(ev)e:{switch(e){case"compositionstart":var pe="onCompositionStart";break e;case"compositionend":pe="onCompositionEnd";break e;case"compositionupdate":pe="onCompositionUpdate";break e}pe=void 0}else Pd?li(e,n)&&(pe="onCompositionEnd"):e==="keydown"&&n.keyCode===fb&&(pe="onCompositionStart");pe&&(rb&&n.locale!=="ko"&&(Pd||pe!=="onCompositionStart"?pe==="onCompositionEnd"&&Pd&&(ve=br()):(X=R,me="value"in X?X.value:X.textContent,Pd=!0)),He=xo(b,pe),0<He.length&&(pe=new ob(pe,e,null,n,R),w.push({event:pe,listeners:He}),ve?pe.data=ve:(ve=As(n),ve!==null&&(pe.data=ve)))),(ve=l2?xs(e,n):Rg(e,n))&&(pe=xo(b,"onBeforeInput"),0<pe.length&&(He=new VS("onBeforeInput","beforeinput",null,n,R),w.push({event:He,listeners:pe}),He.data=ve)),la(w,e,b,n,R)}km(w,t)})}function hc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function xo(e,t){for(var n=t+"Capture",i=[];e!==null;){var o=e,s=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||s===null||(o=Ha(e,n),o!=null&&i.unshift(hc(e,o,s)),o=Ha(e,t),o!=null&&i.push(hc(e,o,s))),e.tag===3)return i;e=e.return}return[]}function cn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Km(e,t,n,i,o){for(var s=t._reactName,d=[];n!==null&&n!==i;){var h=n,y=h.alternate,b=h.stateNode;if(h=h.tag,y!==null&&y===i)break;h!==5&&h!==26&&h!==27||b===null||(y=b,o?(b=Ha(n,s),b!=null&&d.unshift(hc(n,b,y))):o||(b=Ha(n,s),b!=null&&d.push(hc(n,b,y)))),n=n.return}d.length!==0&&e.push({event:t,listeners:d})}function Si(e,t){kc(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||m||(m=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:Gu,possibleRegistrationNames:Gd};Yi(e)||typeof t.is=="string"||kh(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Gt(e,t,n,i){t!==n&&(n=Cu(n),Cu(t)!==n&&(i[e]=t))}function Of(e,t,n){t.forEach(function(i){n[py(i)]=i==="style"?ut(e):e.getAttribute(i)})}function Zl(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function $m(e,t){return e=e.namespaceURI===Id||e.namespaceURI===Ju?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Cu(e){return bn(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",os(e)),Ci(e)),(typeof e=="string"?e:""+e).replace(R2,`
907
+ `).replace(C2,"")}function Mo(e,t){return t=Cu(t),Cu(e)===t}function rt(e,t,n,i,o,s){switch(n){case"children":typeof i=="string"?(Zc(i,t,!1),t==="body"||t==="textarea"&&i===""||bs(e,i)):(typeof i=="number"||typeof i=="bigint")&&(Zc(""+i,t,!1),t!=="body"&&bs(e,""+i));break;case"className":ml(e,"class",i);break;case"tabIndex":ml(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":ml(e,n,i);break;case"style":Tn(e,i,s);break;case"data":if(t!=="object"){ml(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||n!=="href")){console.error(n==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',n,n),e.removeAttribute(n);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}mt(i,n),i=Kc(""+i),e.setAttribute(n,i);break;case"action":case"formAction":if(i!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof i=="function"&&(o.encType==null&&o.method==null||rg||(rg=!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.")),o.target==null||fg||(fg=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||o.type==="submit"||o.type==="image"||sg?t!=="button"||o.type==null||o.type==="submit"||sg?typeof i=="function"&&(o.name==null||H1||(H1=!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.')),o.formEncType==null&&o.formMethod==null||rg||(rg=!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.")),o.formTarget==null||fg||(fg=!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."))):(sg=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(sg=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof i=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof s=="function"&&(n==="formAction"?(t!=="input"&&rt(e,t,"name",o.name,o,null),rt(e,t,"formEncType",o.formEncType,o,null),rt(e,t,"formMethod",o.formMethod,o,null),rt(e,t,"formTarget",o.formTarget,o,null)):(rt(e,t,"encType",o.encType,o,null),rt(e,t,"method",o.method,o,null),rt(e,t,"target",o.target,o,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}mt(i,n),i=Kc(""+i),e.setAttribute(n,i);break;case"onClick":i!=null&&(typeof i!="function"&&Zl(n,i),e.onclick=da);break;case"onScroll":i!=null&&(typeof i!="function"&&Zl(n,i),Oe("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&Zl(n,i),Oe("scrollend",e));break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=i.__html,n!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}mt(i,n),n=Kc(""+i),e.setAttributeNS(lr,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?(mt(i,n),e.setAttribute(n,""+i)):e.removeAttribute(n);break;case"inert":i!==""||dg[n]||(dg[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":i===!0?e.setAttribute(n,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?(mt(i,n),e.setAttribute(n,i)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?(mt(i,n),e.setAttribute(n,i)):e.removeAttribute(n);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(n):(mt(i,n),e.setAttribute(n,i));break;case"popover":Oe("beforetoggle",e),Oe("toggle",e),Jt(e,"popover",i);break;case"xlinkActuate":Fl(e,lr,"xlink:actuate",i);break;case"xlinkArcrole":Fl(e,lr,"xlink:arcrole",i);break;case"xlinkRole":Fl(e,lr,"xlink:role",i);break;case"xlinkShow":Fl(e,lr,"xlink:show",i);break;case"xlinkTitle":Fl(e,lr,"xlink:title",i);break;case"xlinkType":Fl(e,lr,"xlink:type",i);break;case"xmlBase":Fl(e,Xv,"xml:base",i);break;case"xmlLang":Fl(e,Xv,"xml:lang",i);break;case"xmlSpace":Fl(e,Xv,"xml:space",i);break;case"is":s!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Jt(e,"is",i);break;case"innerText":case"textContent":break;case"popoverTarget":w1||i==null||typeof i!="object"||(w1=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",i));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=gr(n),Jt(e,n,i)):Gu.hasOwnProperty(n)&&i!=null&&typeof i!="function"&&Zl(n,i)}}function zo(e,t,n,i,o,s){switch(n){case"style":Tn(e,i,s);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=i.__html,n!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof i=="string"?bs(e,i):(typeof i=="number"||typeof i=="bigint")&&bs(e,""+i);break;case"onScroll":i!=null&&(typeof i!="function"&&Zl(n,i),Oe("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&Zl(n,i),Oe("scrollend",e));break;case"onClick":i!=null&&(typeof i!="function"&&Zl(n,i),e.onclick=da);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Gu.hasOwnProperty(n))i!=null&&typeof i!="function"&&Zl(n,i);else e:{if(n[0]==="o"&&n[1]==="n"&&(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),s=e[Tl]||null,s=s!=null?s[n]:null,typeof s=="function"&&e.removeEventListener(t,s,o),typeof i=="function")){typeof s!="function"&&s!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,i,o);break e}n in e?e[n]=i:i===!0?e.setAttribute(n,""):Jt(e,n,i)}}}function cl(e,t,n){switch(Si(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Oe("error",e),Oe("load",e);var i=!1,o=!1,s;for(s in n)if(n.hasOwnProperty(s)){var d=n[s];if(d!=null)switch(s){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:rt(e,t,s,d,n,null)}}o&&rt(e,t,"srcSet",n.srcSet,n,null),i&&rt(e,t,"src",n.src,n,null);return;case"input":Hi("input",n),Oe("invalid",e);var h=s=d=o=null,y=null,b=null;for(i in n)if(n.hasOwnProperty(i)){var R=n[i];if(R!=null)switch(i){case"name":o=R;break;case"type":d=R;break;case"checked":y=R;break;case"defaultChecked":b=R;break;case"value":s=R;break;case"defaultValue":h=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:rt(e,t,i,R,n,null)}}wi(e,n),Bi(e,s,h,y,b,d,o,!1);return;case"select":Hi("select",n),Oe("invalid",e),i=d=s=null;for(o in n)if(n.hasOwnProperty(o)&&(h=n[o],h!=null))switch(o){case"value":s=h;break;case"defaultValue":d=h;break;case"multiple":i=h;default:rt(e,t,o,h,n,null)}ji(e,n),t=s,n=d,e.multiple=!!i,t!=null?Ca(e,!!i,t,!1):n!=null&&Ca(e,!!i,n,!0);return;case"textarea":Hi("textarea",n),Oe("invalid",e),s=o=i=null;for(d in n)if(n.hasOwnProperty(d)&&(h=n[d],h!=null))switch(d){case"value":i=h;break;case"defaultValue":o=h;break;case"children":s=h;break;case"dangerouslySetInnerHTML":if(h!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:rt(e,t,d,h,n,null)}T0(e,n),Vh(e,i,o,s);return;case"option":jh(e,n);for(y in n)if(n.hasOwnProperty(y)&&(i=n[y],i!=null))switch(y){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:rt(e,t,y,i,n,null)}return;case"dialog":Oe("beforetoggle",e),Oe("toggle",e),Oe("cancel",e),Oe("close",e);break;case"iframe":case"object":Oe("load",e);break;case"video":case"audio":for(i=0;i<a0.length;i++)Oe(a0[i],e);break;case"image":Oe("error",e),Oe("load",e);break;case"details":Oe("toggle",e);break;case"embed":case"source":case"link":Oe("error",e),Oe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(b in n)if(n.hasOwnProperty(b)&&(i=n[b],i!=null))switch(b){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:rt(e,t,b,i,n,null)}return;default:if(Yi(t)){for(R in n)n.hasOwnProperty(R)&&(i=n[R],i!==void 0&&zo(e,t,R,i,n,void 0));return}}for(h in n)n.hasOwnProperty(h)&&(i=n[h],i!=null&&rt(e,t,h,i,n,null))}function Ng(e,t,n,i){switch(Si(t,i),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,s=null,d=null,h=null,y=null,b=null,R=null;for(G in n){var w=n[G];if(n.hasOwnProperty(G)&&w!=null)switch(G){case"checked":break;case"value":break;case"defaultValue":y=w;default:i.hasOwnProperty(G)||rt(e,t,G,null,i,w)}}for(var O in i){var G=i[O];if(w=n[O],i.hasOwnProperty(O)&&(G!=null||w!=null))switch(O){case"type":s=G;break;case"name":o=G;break;case"checked":b=G;break;case"defaultChecked":R=G;break;case"value":d=G;break;case"defaultValue":h=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:G!==w&&rt(e,t,O,G,i,w)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,i=i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null,t||!i||U1||(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"),U1=!0),!t||i||C1||(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"),C1=!0),Ni(e,d,h,y,b,R,s,o);return;case"select":G=d=h=O=null;for(s in n)if(y=n[s],n.hasOwnProperty(s)&&y!=null)switch(s){case"value":break;case"multiple":G=y;default:i.hasOwnProperty(s)||rt(e,t,s,null,i,y)}for(o in i)if(s=i[o],y=n[o],i.hasOwnProperty(o)&&(s!=null||y!=null))switch(o){case"value":O=s;break;case"defaultValue":h=s;break;case"multiple":d=s;default:s!==y&&rt(e,t,o,s,i,y)}i=h,t=d,n=G,O!=null?Ca(e,!!t,O,!1):!!n!=!!t&&(i!=null?Ca(e,!!t,i,!0):Ca(e,!!t,t?[]:"",!1));return;case"textarea":G=O=null;for(h in n)if(o=n[h],n.hasOwnProperty(h)&&o!=null&&!i.hasOwnProperty(h))switch(h){case"value":break;case"children":break;default:rt(e,t,h,null,i,o)}for(d in i)if(o=i[d],s=n[d],i.hasOwnProperty(d)&&(o!=null||s!=null))switch(d){case"value":O=o;break;case"defaultValue":G=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:o!==s&&rt(e,t,d,o,i,s)}Yh(e,O,G);return;case"option":for(var ce in n)if(O=n[ce],n.hasOwnProperty(ce)&&O!=null&&!i.hasOwnProperty(ce))switch(ce){case"selected":e.selected=!1;break;default:rt(e,t,ce,null,i,O)}for(y in i)if(O=i[y],G=n[y],i.hasOwnProperty(y)&&O!==G&&(O!=null||G!=null))switch(y){case"selected":e.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:rt(e,t,y,O,i,G)}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 Ce in n)O=n[Ce],n.hasOwnProperty(Ce)&&O!=null&&!i.hasOwnProperty(Ce)&&rt(e,t,Ce,null,i,O);for(b in i)if(O=i[b],G=n[b],i.hasOwnProperty(b)&&O!==G&&(O!=null||G!=null))switch(b){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:rt(e,t,b,O,i,G)}return;default:if(Yi(t)){for(var _t in n)O=n[_t],n.hasOwnProperty(_t)&&O!==void 0&&!i.hasOwnProperty(_t)&&zo(e,t,_t,void 0,i,O);for(R in i)O=i[R],G=n[R],!i.hasOwnProperty(R)||O===G||O===void 0&&G===void 0||zo(e,t,R,O,i,G);return}}for(var Pe in n)O=n[Pe],n.hasOwnProperty(Pe)&&O!=null&&!i.hasOwnProperty(Pe)&&rt(e,t,Pe,null,i,O);for(w in i)O=i[w],G=n[w],!i.hasOwnProperty(w)||O===G||O==null&&G==null||rt(e,t,w,O,i,G)}function py(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function ut(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var i=e[n];t[i]=e.getPropertyValue(i)}return t}function yt(e,t,n){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var i,o=i="",s;for(s in t)if(t.hasOwnProperty(s)){var d=t[s];d!=null&&typeof d!="boolean"&&d!==""&&(s.indexOf("--")===0?(Rh(d,s),i+=o+s+":"+(""+d).trim()):typeof d!="number"||d===0||Dp.has(s)?(Rh(d,s),i+=o+s.replace(Gf,"-$1").toLowerCase().replace(Mp,"-ms-")+":"+(""+d).trim()):i+=o+s.replace(Gf,"-$1").toLowerCase().replace(Mp,"-ms-")+":"+d+"px",o=";")}i=i||null,t=e.getAttribute("style"),t!==i&&(i=Cu(i),Cu(t)!==i&&(n.style=ut(e)))}}function _e(e,t,n,i,o,s){if(o.delete(n),e=e.getAttribute(n),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(mt(i,t),e===""+i)return}Gt(t,e,i,s)}function Ie(e,t,n,i,o,s){if(o.delete(n),e=e.getAttribute(n),e===null){switch(typeof i){case"function":case"symbol":return}if(!i)return}else switch(typeof i){case"function":case"symbol":break;default:if(i)return}Gt(t,e,i,s)}function it(e,t,n,i,o,s){if(o.delete(n),e=e.getAttribute(n),e===null)switch(typeof i){case"undefined":case"function":case"symbol":return}else if(i!=null)switch(typeof i){case"function":case"symbol":break;default:if(mt(i,n),e===""+i)return}Gt(t,e,i,s)}function na(e,t,n,i,o,s){if(o.delete(n),e=e.getAttribute(n),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(i))return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(!isNaN(i)&&(mt(i,t),e===""+i))return}Gt(t,e,i,s)}function Zn(e,t,n,i,o,s){if(o.delete(n),e=e.getAttribute(n),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(mt(i,t),n=Kc(""+i),e===n)return}Gt(t,e,i,s)}function mc(e,t,n,i){for(var o={},s=new Set,d=e.attributes,h=0;h<d.length;h++)switch(d[h].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:s.add(d[h].name)}if(Yi(t)){for(var y in n)if(n.hasOwnProperty(y)){var b=n[y];if(b!=null){if(Gu.hasOwnProperty(y))typeof b!="function"&&Zl(y,b);else if(n.suppressHydrationWarning!==!0)switch(y){case"children":typeof b!="string"&&typeof b!="number"||Gt("children",e.textContent,b,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=e.innerHTML,b=b?b.__html:void 0,b!=null&&(b=$m(e,b),Gt(y,d,b,o));continue;case"style":s.delete(y),yt(e,b,o);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":s.delete(y.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",y);continue;case"className":s.delete("class"),d=ru(e,"class",b),Gt("className",d,b,o);continue;default:i.context===Nc&&t!=="svg"&&t!=="math"?s.delete(y.toLowerCase()):s.delete(y),d=ru(e,y,b),Gt(y,d,b,o)}}}}else for(b in n)if(n.hasOwnProperty(b)&&(y=n[b],y!=null)){if(Gu.hasOwnProperty(b))typeof y!="function"&&Zl(b,y);else if(n.suppressHydrationWarning!==!0)switch(b){case"children":typeof y!="string"&&typeof y!="number"||Gt("children",e.textContent,y,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=e.innerHTML,y=y?y.__html:void 0,y!=null&&(y=$m(e,y),d!==y&&(o[b]={__html:d}));continue;case"className":_e(e,b,"class",y,s,o);continue;case"tabIndex":_e(e,b,"tabindex",y,s,o);continue;case"style":s.delete(b),yt(e,y,o);continue;case"multiple":s.delete(b),Gt(b,e.multiple,y,o);continue;case"muted":s.delete(b),Gt(b,e.muted,y,o);continue;case"autoFocus":s.delete("autofocus"),Gt(b,e.autofocus,y,o);continue;case"data":if(t!=="object"){s.delete(b),d=e.getAttribute("data"),Gt(b,d,y,o);continue}case"src":case"href":if(!(y!==""||t==="a"&&b==="href"||t==="object"&&b==="data")){console.error(b==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',b,b);continue}Zn(e,b,b,y,s,o);continue;case"action":case"formAction":if(d=e.getAttribute(b),typeof y=="function"){s.delete(b.toLowerCase()),b==="formAction"?(s.delete("name"),s.delete("formenctype"),s.delete("formmethod"),s.delete("formtarget")):(s.delete("enctype"),s.delete("method"),s.delete("target"));continue}else if(d===U2){s.delete(b.toLowerCase()),Gt(b,"function",y,o);continue}Zn(e,b,b.toLowerCase(),y,s,o);continue;case"xlinkHref":Zn(e,b,"xlink:href",y,s,o);continue;case"contentEditable":it(e,b,"contenteditable",y,s,o);continue;case"spellCheck":it(e,b,"spellcheck",y,s,o);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":it(e,b,b,y,s,o);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":Ie(e,b,b.toLowerCase(),y,s,o);continue;case"capture":case"download":e:{h=e;var R=d=b,w=o;if(s.delete(R),h=h.getAttribute(R),h===null)switch(typeof y){case"undefined":case"function":case"symbol":break e;default:if(y===!1)break e}else if(y!=null)switch(typeof y){case"function":case"symbol":break;case"boolean":if(y===!0&&h==="")break e;break;default:if(mt(y,d),h===""+y)break e}Gt(d,h,y,w)}continue;case"cols":case"rows":case"size":case"span":e:{if(h=e,R=d=b,w=o,s.delete(R),h=h.getAttribute(R),h===null)switch(typeof y){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(y)||1>y)break e}else if(y!=null)switch(typeof y){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(y)||1>y)&&(mt(y,d),h===""+y))break e}Gt(d,h,y,w)}continue;case"rowSpan":na(e,b,"rowspan",y,s,o);continue;case"start":na(e,b,b,y,s,o);continue;case"xHeight":_e(e,b,"x-height",y,s,o);continue;case"xlinkActuate":_e(e,b,"xlink:actuate",y,s,o);continue;case"xlinkArcrole":_e(e,b,"xlink:arcrole",y,s,o);continue;case"xlinkRole":_e(e,b,"xlink:role",y,s,o);continue;case"xlinkShow":_e(e,b,"xlink:show",y,s,o);continue;case"xlinkTitle":_e(e,b,"xlink:title",y,s,o);continue;case"xlinkType":_e(e,b,"xlink:type",y,s,o);continue;case"xmlBase":_e(e,b,"xml:base",y,s,o);continue;case"xmlLang":_e(e,b,"xml:lang",y,s,o);continue;case"xmlSpace":_e(e,b,"xml:space",y,s,o);continue;case"inert":y!==""||dg[b]||(dg[b]=!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.",b)),Ie(e,b,b,y,s,o);continue;default:if(!(2<b.length)||b[0]!=="o"&&b[0]!=="O"||b[1]!=="n"&&b[1]!=="N"){h=gr(b),d=!1,i.context===Nc&&t!=="svg"&&t!=="math"?s.delete(h.toLowerCase()):(R=b.toLowerCase(),R=a.hasOwnProperty(R)&&a[R]||null,R!==null&&R!==b&&(d=!0,s.delete(R)),s.delete(h));e:if(R=e,w=h,h=y,hr(w))if(R.hasAttribute(w))R=R.getAttribute(w),mt(h,w),h=R===""+h?h:R;else{switch(typeof h){case"function":case"symbol":break e;case"boolean":if(R=w.toLowerCase().slice(0,5),R!=="data-"&&R!=="aria-")break e}h=h===void 0?void 0:null}else h=void 0;d||Gt(b,h,y,o)}}}return 0<s.size&&n.suppressHydrationWarning!==!0&&Of(e,s,o),Object.keys(o).length===0?null:o}function Wm(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function Xa(e){return e.nodeType===9?e:e.ownerDocument}function Bt(e){switch(e){case Ju:return Dh;case Id:return mg;default:return Nc}}function Uu(e,t){if(e===Nc)switch(t){case"svg":return Dh;case"math":return mg;default:return Nc}return e===Dh&&t==="foreignObject"?Nc:e}function Hu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function Fm(){var e=window.event;return e&&e.type==="popstate"?e===kv?!1:(kv=e,!0):(kv=null,!1)}function Qa(e){setTimeout(function(){throw e})}function Do(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function _f(){}function ua(e,t,n,i){Ng(e,t,n,i),e[Tl]=i}function pd(e){bs(e,"")}function Im(e,t,n){e.nodeValue=n}function Rf(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Tl]||null;if(t!==null){var n=Pu(e);n!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,ne(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,ne(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function on(e){return e==="head"}function Ti(e,t){e.removeChild(t)}function el(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function wu(e,t){var n=t,i=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n===u0||n===hg){if(i===0){e.removeChild(o),ju(t);return}i--}else if(n===n0||n===ls||n===nr||n===zh||n===ar)i++;else if(n===w2)Uf(e.ownerDocument.documentElement);else if(n===B2){n=e.ownerDocument.head,Uf(n);for(var s=n.firstChild;s;){var d=s.nextSibling,h=s.nodeName;s[Go]||h==="SCRIPT"||h==="STYLE"||h==="LINK"&&s.rel.toLowerCase()==="stylesheet"||n.removeChild(s),s=d}}else n===N2&&Uf(e.ownerDocument.body);n=o}while(n);ju(t)}function pc(e,t){var n=e;e=0;do{var i=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),i&&i.nodeType===8)if(n=i.data,n===u0){if(e===0)break;e--}else n!==n0&&n!==ls&&n!==nr&&n!==zh||e++;n=i}while(n)}function Oo(e){pc(e,!0)}function Pm(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function ep(e){e.nodeValue=""}function yy(e){pc(e,!1)}function Cf(e,t){t=t[j2],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function tp(e,t){e.nodeValue=t}function Jl(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Jl(n),ys(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function gy(e,t,n,i){for(;e.nodeType===1;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[Go])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(s!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){mt(o.name,"name");var s=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;if(e=Hl(e.nextSibling),e===null)break}return null}function ia(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Hl(e.nextSibling),e===null))return null;return e}function lp(e,t){for(;e.nodeType!==8;)if(!t||(e=Hl(e.nextSibling),e===null))return null;return e}function yd(e){return e.data===ls||e.data===nr}function ap(e){return e.data===zh||e.data===ls&&e.ownerDocument.readyState!==B1}function Ei(e,t){var n=e.ownerDocument;if(e.data===nr)e._reactRetry=t;else if(e.data!==ls||n.readyState!==B1)t();else{var i=function(){t(),n.removeEventListener("DOMContentLoaded",i)};n.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function Hl(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===n0||t===zh||t===ls||t===nr||t===ar||t===Qv||t===N1)break;if(t===u0||t===hg)return null}}return e}function gd(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},i=e.attributes,o=0;o<i.length;o++){var s=i[o];n[py(s.name)]=s.name.toLowerCase()==="style"?ut(e):s.value}return{type:t,props:n}}return e.nodeType===8?e.data===ar?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function yc(e,t,n){return n===null||n[H2]!==!0?(e.nodeValue===t?e=null:(t=Cu(t),e=Cu(e.nodeValue)===t?null:e.nodeValue),e):null}function vd(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===u0||n===hg){if(t===0)return Hl(e.nextSibling);t--}else n!==n0&&n!==zh&&n!==ls&&n!==nr&&n!==ar||t++}e=e.nextSibling}return null}function np(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===n0||n===zh||n===ls||n===nr||n===ar){if(t===0)return e;t--}else n!==u0&&n!==hg||t++}e=e.previousSibling}return null}function vy(e){ju(e)}function by(e){ju(e)}function bd(e){ju(e)}function Sd(e,t,n,i,o){switch(o&&yr(e,i.ancestorInfo),t=Xa(n),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Bg(e,t,n,i){if(!n[zi]&&Pu(n)){var o=n.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",o,o,o)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(o=n.attributes;o.length;)n.removeAttributeNode(o[0]);cl(n,e,t),n[$t]=i,n[Tl]=t}function Uf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ys(e)}function Td(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function up(e,t,n){var i=Oh;if(i&&typeof t=="string"&&t){var o=pl(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof n=="string"&&(o+='[crossorigin="'+n+'"]'),L1.has(o)||(L1.add(o),e={rel:e,crossOrigin:n,href:t},i.querySelector(o)===null&&(t=i.createElement("link"),cl(t,"link",e),Ft(t),i.head.appendChild(t)))}}function ip(e,t,n,i){var o=(o=Yu.current)?Td(o):null;if(!o)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=Bu(n.href),t=Ui(o).hoistableStyles,i=t.get(n),i||(i={type:"style",instance:null,count:0,state:null},t.set(n,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Bu(n.href);var s=Ui(o).hoistableStyles,d=s.get(e);if(!d&&(o=o.ownerDocument||o,d={type:"stylesheet",instance:null,count:0,state:{loading:ir,preload:null}},s.set(e,d),(s=o.querySelector(_o(e)))&&!s._p&&(d.instance=s,d.state.loading=i0|uu),!iu.has(e))){var h={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};iu.set(e,h),s||Sy(o,e,h,d.state)}if(t&&i===null)throw n=`
908
+
909
+ - `+Nu(t)+`
910
+ + `+Nu(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return d}if(t&&i!==null)throw n=`
911
+
912
+ - `+Nu(t)+`
913
+ + `+Nu(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=gc(n),t=Ui(o).hoistableScripts,i=t.get(n),i||(i={type:"script",instance:null,count:0,state:null},t.set(n,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Nu(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):oa.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):oa.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):oa.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function Bu(e){return'href="'+pl(e)+'"'}function _o(e){return'link[rel="stylesheet"]['+e+"]"}function cp(e){return Xe({},e,{"data-precedence":e.precedence,precedence:null})}function Sy(e,t,n,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=i0:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=i0}),t.addEventListener("error",function(){return i.loading|=V1}),cl(t,"link",n),Ft(t),e.head.appendChild(t))}function gc(e){return'[src="'+pl(e)+'"]'}function Ro(e){return"script[async]"+e}function op(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+pl(n.href)+'"]');if(i)return t.instance=i,Ft(i),i;var o=Xe({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),Ft(i),cl(i,"style",o),vc(i,n.precedence,e),t.instance=i;case"stylesheet":o=Bu(n.href);var s=e.querySelector(_o(o));if(s)return t.state.loading|=uu,t.instance=s,Ft(s),s;i=cp(n),(o=iu.get(o))&&Ed(i,o),s=(e.ownerDocument||e).createElement("link"),Ft(s);var d=s;return d._p=new Promise(function(h,y){d.onload=h,d.onerror=y}),cl(s,"link",i),t.state.loading|=uu,vc(s,n.precedence,e),t.instance=s;case"script":return s=gc(n.src),(o=e.querySelector(Ro(s)))?(t.instance=o,Ft(o),o):(i=n,(o=iu.get(s))&&(i=Xe({},n),Ad(i,o)),e=e.ownerDocument||e,o=e.createElement("script"),Ft(o),cl(o,"link",i),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&uu)===ir&&(i=t.instance,t.state.loading|=uu,vc(i,n.precedence,e));return t.instance}function vc(e,t,n){for(var i=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=i.length?i[i.length-1]:null,s=o,d=0;d<i.length;d++){var h=i[d];if(h.dataset.precedence===t)s=h;else if(s!==o)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Ed(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Ad(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function st(e,t,n){if(pg===null){var i=new Map,o=pg=new Map;o.set(n,i)}else o=pg,i=o.get(n),i||(i=new Map,o.set(n,i));if(i.has(e))return i;for(i.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var s=n[o];if(!(s[Go]||s[$t]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!==Ju){var d=s.getAttribute(t)||"";d=e+d;var h=i.get(d);h?h.push(s):i.set(d,[s])}}return i}function xd(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function jg(e,t,n){var i=!n.ancestorInfo.containerTagInScope;if(n.context===Dh||t.itemProp!=null)return!i||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){i&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var o=t.onError,s=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),o&&n.push("`onError`"),s!=null&&n.push("`disabled`"),o=Wm(n,"and"),o+=n.length===1?" prop":" props",s=n.length===1?"an "+o:"the "+o,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,s,o)}i&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&i&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){i&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":i&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function sp(e){return!(e.type==="stylesheet"&&(e.state.loading&G1)===ir)}function qg(e,t,n){if(c0===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var i=c0;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(t.state.loading&uu)===ir){if(t.instance===null){var o=Bu(n.href),s=e.querySelector(_o(o));if(s){e=s._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(i.count++,i=Md.bind(i),e.then(i,i)),t.state.loading|=uu,t.instance=s,Ft(s);return}s=e.ownerDocument||e,n=cp(n),(o=iu.get(o))&&Ed(n,o),s=s.createElement("link"),Ft(s);var d=s;d._p=new Promise(function(h,y){d.onload=h,d.onerror=y}),cl(s,"link",n),t.instance=s}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&G1)===ir&&(i.count++,t=Md.bind(i),e.addEventListener("load",t),e.addEventListener("error",t))}}function Yg(){if(c0===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=c0;return e.stylesheets&&e.count===0&&Co(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Co(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function Md(){if(this.count--,this.count===0){if(this.stylesheets)Co(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Co(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,yg=new Map,t.forEach(Uo,e),yg=null,Md.call(e))}function Uo(e,t){if(!(t.state.loading&uu)){var n=yg.get(e);if(n)var i=n.get($v);else{n=new Map,yg.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<o.length;s++){var d=o[s];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(n.set(d.dataset.precedence,d),i=d)}i&&n.set($v,i)}o=t.instance,d=o.getAttribute("data-precedence"),s=n.get(d)||i,s===i&&n.set($v,o),n.set(d,o),this.count++,i=Md.bind(this),o.addEventListener("load",i),o.addEventListener("error",i),s?s.parentNode.insertBefore(o,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=uu}}function fp(e,t,n,i,o,s,d,h,y){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=ur,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Bl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bl(0),this.hiddenUpdates=Bl(null),this.identifierPrefix=i,this.onUncaughtError=o,this.onCaughtError=s,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=y,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function Hf(e,t,n,i,o,s,d,h,y,b,R,w){return e=new fp(e,t,n,d,y,b,R,w,h),t=f2,s===!0&&(t|=fa|ku),Ea&&(t|=sl),s=te(3,null,null,t),e.current=s,s.stateNode=e,t=Hs(),ii(t),e.pooledCache=t,ii(t),s.memoizedState={element:i,isDehydrated:n,cache:t},gu(s),e}function zd(e){return e?(e=Qo,e):Qo}function Jn(e,t,n,i,o,s){if(Kt&&typeof Kt.onScheduleFiberRoot=="function")try{Kt.onScheduleFiberRoot(dn,i,n)}catch(d){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %s",d))}ae!==null&&typeof ae.markRenderScheduled=="function"&&ae.markRenderScheduled(t),o=zd(o),i.context===null?i.context=o:i.pendingContext=o,kn&&Sa!==null&&!J1&&(J1=!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.
914
+
915
+ Check the render method of %s.`,ee(Sa)||"Unknown")),i=vu(t),i.payload={element:n},s=s===void 0?null:s,s!==null&&(typeof s!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",s),i.callback=s),n=Dn(e,i,t),n!==null&&(zt(n,e,t),co(n,e,t))}function sn(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function bc(e,t){sn(e,t),(e=e.alternate)&&sn(e,t)}function Ty(e){if(e.tag===13||e.tag===31){var t=ql(e,67108864);t!==null&&zt(t,e,67108864),bc(e,67108864)}}function rp(e){if(e.tag===13||e.tag===31){var t=Ul(e);t=su(t);var n=ql(e,t);n!==null&&zt(n,e,t),bc(e,t)}}function Ey(){return Sa}function Ay(){for(var e=new Map,t=1,n=0;31>n;n++){var i=Mg(t);e.set(t,i),t*=2}return e}function xy(e,t,n,i){var o=B.T;B.T=null;var s=ct.p;try{ct.p=Aa,wf(e,t,n,i)}finally{ct.p=s,B.T=o}}function Vg(e,t,n,i){var o=B.T;B.T=null;var s=ct.p;try{ct.p=sa,wf(e,t,n,i)}finally{ct.p=s,B.T=o}}function wf(e,t,n,i){if(vg){var o=Dd(i);if(o===null)un(e,t,i,bg,n),_d(e,i);else if(Gg(o,e,t,n,i))i.stopPropagation();else if(_d(e,i),t&4&&-1<G2.indexOf(e)){for(;o!==null;){var s=Pu(o);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var d=Iu(s.pendingLanes);if(d!==0){var h=s;for(h.pendingLanes|=2,h.entangledLanes|=2;d;){var y=1<<31-Sl(d);h.entanglements[1]|=y,d&=~y}vt(s),(dt&(Da|Fu))===ka&&(lg=Kn()+x1,zf(0))}}break;case 31:case 13:h=ql(s,2),h!==null&&zt(h,s,2),yi(),bc(s,2)}if(s=Dd(i),s===null&&un(e,t,i,bg,n),s===o)break;o=s}o!==null&&i.stopPropagation()}else un(e,t,i,null,n)}}function Dd(e){return e=$a(e),Od(e)}function Od(e){if(bg=null,e=Sn(e),e!==null){var t=De(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=bt(t),e!==null)return e;e=null}else if(n===31){if(e=je(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return bg=e,null}function My(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Aa;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 sa;case"message":switch(Kg()){case bp:return Aa;case Sp:return sa;case xc:case Vo:return Vu;case Mc:return Vd;default:return Vu}default:return Vu}}function _d(e,t){switch(e){case"focusin":case"focusout":as=null;break;case"dragenter":case"dragleave":ns=null;break;case"mouseover":case"mouseout":us=null;break;case"pointerover":case"pointerout":s0.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":f0.delete(t.pointerId)}}function Sc(e,t,n,i,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:s,targetContainers:[o]},t!==null&&(t=Pu(t),t!==null&&Ty(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Gg(e,t,n,i,o){switch(t){case"focusin":return as=Sc(as,e,t,n,i,o),!0;case"dragenter":return ns=Sc(ns,e,t,n,i,o),!0;case"mouseover":return us=Sc(us,e,t,n,i,o),!0;case"pointerover":var s=o.pointerId;return s0.set(s,Sc(s0.get(s)||null,e,t,n,i,o)),!0;case"gotpointercapture":return s=o.pointerId,f0.set(s,Sc(f0.get(s)||null,e,t,n,i,o)),!0}return!1}function zy(e){var t=Sn(e.target);if(t!==null){var n=De(t);if(n!==null){if(t=n.tag,t===13){if(t=bt(n),t!==null){e.blockedOn=t,Bh(e.priority,function(){rp(n)});return}}else if(t===31){if(t=je(n),t!==null){e.blockedOn=t,Bh(e.priority,function(){rp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ai(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Dd(e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n),o=i;N!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),N=o,n.target.dispatchEvent(i),N===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."),N=null}else return t=Pu(n),t!==null&&Ty(t),e.blockedOn=n,!1;t.shift()}return!0}function Dy(e,t,n){Ai(e)&&n.delete(t)}function Oy(){Wv=!1,as!==null&&Ai(as)&&(as=null),ns!==null&&Ai(ns)&&(ns=null),us!==null&&Ai(us)&&(us=null),s0.forEach(Dy),f0.forEach(Dy)}function Le(e,t){e.blockedOn===t&&(e.blockedOn=null,Wv||(Wv=!0,jt.unstable_scheduleCallback(jt.unstable_NormalPriority,Oy)))}function Rd(e){Sg!==e&&(Sg=e,jt.unstable_scheduleCallback(jt.unstable_NormalPriority,function(){Sg===e&&(Sg=null);for(var t=0;t<e.length;t+=3){var n=e[t],i=e[t+1],o=e[t+2];if(typeof i!="function"){if(Od(i||n)===null)continue;break}var s=Pu(n);s!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:o,method:n.method,action:i},Object.freeze(n),Ps(s,n,i,o))}}))}function ju(e){function t(y){return Le(y,e)}as!==null&&Le(as,e),ns!==null&&Le(ns,e),us!==null&&Le(us,e),s0.forEach(t),f0.forEach(t);for(var n=0;n<is.length;n++){var i=is[n];i.blockedOn===e&&(i.blockedOn=null)}for(;0<is.length&&(n=is[0],n.blockedOn===null);)zy(n),n.blockedOn===null&&is.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var o=n[i],s=n[i+1],d=o[Tl]||null;if(typeof s=="function")d||Rd(n);else if(d){var h=null;if(s&&s.hasAttribute("formAction")){if(o=s,d=s[Tl]||null)h=d.formAction;else if(Od(o)!==null)continue}else h=d.action;typeof h=="function"?n[i+1]=h:(n.splice(i,3),i-=3),Rd(n)}}}function Cd(){function e(s){s.canIntercept&&s.info==="react-transition"&&s.intercept({handler:function(){return new Promise(function(d){return o=d})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),i||setTimeout(n,20)}function n(){if(!i&&!navigation.transition){var s=navigation.currentEntry;s&&s.url!=null&&navigation.navigate(s.url,{state:s.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function Ud(e){this._internalRoot=e}function Ho(e){this._internalRoot=e}function wo(e){e[zi]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var jt=_S(),dp=we,_y=yS,Xe=Object.assign,Lg=Symbol.for("react.element"),qu=Symbol.for("react.transitional.element"),Tc=Symbol.for("react.portal"),tt=Symbol.for("react.fragment"),No=Symbol.for("react.strict_mode"),tl=Symbol.for("react.profiler"),hp=Symbol.for("react.consumer"),Za=Symbol.for("react.context"),Ec=Symbol.for("react.forward_ref"),Bo=Symbol.for("react.suspense"),Hd=Symbol.for("react.suspense_list"),Nf=Symbol.for("react.memo"),kl=Symbol.for("react.lazy"),Bf=Symbol.for("react.activity"),Xg=Symbol.for("react.memo_cache_sentinel"),mp=Symbol.iterator,Qg=Symbol.for("react.client.reference"),ol=Array.isArray,B=dp.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ct=_y.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,xi=Object.freeze({pending:!1,data:null,method:null,action:null}),wd=[],Nd=[],fn=-1,Mi=lt(null),jf=lt(null),Yu=lt(null),jo=lt(null),Ac=0,Ry,ba,Bd,pp,yp,gp,qo;j.__reactDisabledLog=!0;var ca,vp,Yo=!1,rn=new(typeof WeakMap=="function"?WeakMap:Map),Sa=null,kn=!1,oa=Object.prototype.hasOwnProperty,jd=jt.unstable_scheduleCallback,Zg=jt.unstable_cancelCallback,Jg=jt.unstable_shouldYield,kg=jt.unstable_requestPaint,Kn=jt.unstable_now,Kg=jt.unstable_getCurrentPriorityLevel,bp=jt.unstable_ImmediatePriority,Sp=jt.unstable_UserBlockingPriority,xc=jt.unstable_NormalPriority,Vo=jt.unstable_LowPriority,Mc=jt.unstable_IdlePriority,Cy=jt.log,$g=jt.unstable_setDisableYieldValue,dn=null,Kt=null,ae=null,Ta=!1,Ea=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Sl=Math.clz32?Math.clz32:rr,qd=Math.log,Uy=Math.LN2,qf=256,Yd=4194304,Aa=2,sa=8,Vu=32,Vd=268435456,hn=Math.random().toString(36).slice(2),$t="__reactFiber$"+hn,Tl="__reactProps$"+hn,zi="__reactContainer$"+hn,zc="__reactEvents$"+hn,Wg="__reactListeners$"+hn,Hy="__reactHandles$"+hn,Tp="__reactResources$"+hn,Go="__reactMarker$"+hn,Ep=new Set,Gu={},Gd={},wy={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Ld=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]*$"),Ny={},By={},Ap=/[\n"\\]/g,Xd=!1,Yf=!1,Qd=!1,xp=!1,Zd=!1,Lu=!1,Xu=["value","defaultValue"],Qu=!1,Lo=/["'&<>\n\t]|^\s|\s$/,Vf="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(" "),Zu="applet caption html table td th marquee object template foreignObject desc title".split(" "),Fg=Zu.concat(["button"]),jy="dd dt li option optgroup p rp rt".split(" "),Xo={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Jd={},kd={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"]},Gf=/([A-Z])/g,Mp=/^ms-/,Ig=/^(?:webkit|moz|o)[A-Z]/,Kd=/^-ms-/,$d=/-(.)/g,zp=/;\s*$/,mn={},Wd={},Fd=!1,Lf=!1,Dp=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(" ")),Id="http://www.w3.org/1998/Math/MathML",Ju="http://www.w3.org/2000/svg",l=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"]]),a={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"},u={"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},c={},f=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]*$"),r=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]*$"),m=!1,p={},A=/^on./,U=/^on[^A-Z]/,Z=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]*$"),F=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]*$"),H=/^[\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,N=null,fe=null,ge=null,ft=!1,D=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),M=!1;if(D)try{var _={};Object.defineProperty(_,"passive",{get:function(){M=!0}}),window.addEventListener("test",_,_),window.removeEventListener("test",_,_)}catch{M=!1}var X=null,me=null,Je=null,ie={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ne=yl(ie),Qe=Xe({},ie,{view:0,detail:0}),nt=yl(Qe),$n,Op,_p,qy=Xe({},Qe,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zl,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==_p&&(_p&&e.type==="mousemove"?($n=e.screenX-_p.screenX,Op=e.screenY-_p.screenY):Op=$n=0,_p=e),$n)},movementY:function(e){return"movementY"in e?e.movementY:Op}}),cb=yl(qy),US=Xe({},qy,{dataTransfer:0}),HS=yl(US),wS=Xe({},Qe,{relatedTarget:0}),Pg=yl(wS),NS=Xe({},ie,{animationName:0,elapsedTime:0,pseudoElement:0}),BS=yl(NS),jS=Xe({},ie,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),qS=yl(jS),YS=Xe({},ie,{data:0}),ob=yl(YS),VS=ob,GS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},LS={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"},XS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},QS=Xe({},Qe,{key:function(e){if(e.key){var t=GS[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Vi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?LS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zl,charCode:function(e){return e.type==="keypress"?Vi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Vi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ZS=yl(QS),JS=Xe({},qy,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sb=yl(JS),kS=Xe({},Qe,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zl}),KS=yl(kS),$S=Xe({},ie,{propertyName:0,elapsedTime:0,pseudoElement:0}),WS=yl($S),FS=Xe({},qy,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),IS=yl(FS),PS=Xe({},ie,{newState:0,oldState:0}),e2=yl(PS),t2=[9,13,27,32],fb=229,ev=D&&"CompositionEvent"in window,Rp=null;D&&"documentMode"in document&&(Rp=document.documentMode);var l2=D&&"TextEvent"in window&&!Rp,rb=D&&(!ev||Rp&&8<Rp&&11>=Rp),db=32,hb=String.fromCharCode(db),mb=!1,Pd=!1,a2={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},Cp=null,Up=null,pb=!1;D&&(pb=Kh("input")&&(!document.documentMode||9<document.documentMode));var xa=typeof Object.is=="function"?Object.is:wg,n2=D&&"documentMode"in document&&11>=document.documentMode,eh=null,tv=null,Hp=null,lv=!1,th={animationend:Gi("Animation","AnimationEnd"),animationiteration:Gi("Animation","AnimationIteration"),animationstart:Gi("Animation","AnimationStart"),transitionrun:Gi("Transition","TransitionRun"),transitionstart:Gi("Transition","TransitionStart"),transitioncancel:Gi("Transition","TransitionCancel"),transitionend:Gi("Transition","TransitionEnd")},av={},yb={};D&&(yb=document.createElement("div").style,"AnimationEvent"in window||(delete th.animationend.animation,delete th.animationiteration.animation,delete th.animationstart.animation),"TransitionEvent"in window||delete th.transitionend.transition);var gb=Li("animationend"),vb=Li("animationiteration"),bb=Li("animationstart"),u2=Li("transitionrun"),i2=Li("transitionstart"),c2=Li("transitioncancel"),Sb=Li("transitionend"),Tb=new Map,nv="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(" ");nv.push("scrollEnd");var Eb=0;if(typeof performance=="object"&&typeof performance.now=="function")var o2=performance,Ab=function(){return o2.now()};else{var s2=Date;Ab=function(){return s2.now()}}var uv=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},iv=1,Xf=2,Wn=[],lh=0,cv=0,Qo={};Object.freeze(Qo);var Fn=null,ah=null,At=0,f2=1,sl=2,fa=8,ku=16,r2=32,xb=!1;try{var Mb=Object.preventExtensions({})}catch{xb=!0}var ov=new WeakMap,nh=[],uh=0,Yy=null,wp=0,In=[],Pn=0,Qf=null,Dc=1,Oc="",Kl=null,Ht=null,Ke=!1,Di=!1,pn=null,Zo=null,eu=!1,sv=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."),fv=lt(null),rv=lt(null),zb={},Vy=null,ih=null,ch=!1,d2=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},h2=jt.unstable_scheduleCallback,m2=jt.unstable_NormalPriority,fl={$$typeof:Za,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},oh=jt.unstable_now,Db=-0,Gy=-0,Ma=-1.1,Zf=-0,_c=-1.1,Ly=!1,Xy=!1,Np=null,dv=0,Jf=0,sh=null,Ob=B.S;B.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&j0(e,t),Ob!==null&&Ob(e,t)};var kf=lt(null),Ku={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Bp=[],jp=[],qp=[],Yp=[],Vp=[],Gp=[],Kf=new Set;Ku.recordUnsafeLifecycleWarnings=function(e,t){Kf.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Bp.push(e),e.mode&fa&&typeof t.UNSAFE_componentWillMount=="function"&&jp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&qp.push(e),e.mode&fa&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Yp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Vp.push(e),e.mode&fa&&typeof t.UNSAFE_componentWillUpdate=="function"&&Gp.push(e))},Ku.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Bp.length&&(Bp.forEach(function(h){e.add(ee(h)||"Component"),Kf.add(h.type)}),Bp=[]);var t=new Set;0<jp.length&&(jp.forEach(function(h){t.add(ee(h)||"Component"),Kf.add(h.type)}),jp=[]);var n=new Set;0<qp.length&&(qp.forEach(function(h){n.add(ee(h)||"Component"),Kf.add(h.type)}),qp=[]);var i=new Set;0<Yp.length&&(Yp.forEach(function(h){i.add(ee(h)||"Component"),Kf.add(h.type)}),Yp=[]);var o=new Set;0<Vp.length&&(Vp.forEach(function(h){o.add(ee(h)||"Component"),Kf.add(h.type)}),Vp=[]);var s=new Set;if(0<Gp.length&&(Gp.forEach(function(h){s.add(ee(h)||"Component"),Kf.add(h.type)}),Gp=[]),0<t.size){var d=W(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
916
+
917
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
918
+
919
+ Please update the following components: %s`,d)}0<i.size&&(d=W(i),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.
920
+
921
+ * Move data fetching code or side effects to componentDidUpdate.
922
+ * 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
923
+
924
+ Please update the following components: %s`,d)),0<s.size&&(d=W(s),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.
925
+
926
+ * Move data fetching code or side effects to componentDidUpdate.
927
+
928
+ Please update the following components: %s`,d)),0<e.size&&(d=W(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
929
+
930
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
931
+ * 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.
932
+
933
+ Please update the following components: %s`,d)),0<n.size&&(d=W(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
934
+
935
+ * Move data fetching code or side effects to componentDidUpdate.
936
+ * 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
937
+ * 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.
938
+
939
+ Please update the following components: %s`,d)),0<o.size&&(d=W(o),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
940
+
941
+ * Move data fetching code or side effects to componentDidUpdate.
942
+ * 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.
943
+
944
+ Please update the following components: %s`,d))};var Qy=new Map,_b=new Set;Ku.recordLegacyContextWarning=function(e,t){for(var n=null,i=e;i!==null;)i.mode&fa&&(n=i),i=i.return;n===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!_b.has(e.type)&&(i=Qy.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],Qy.set(n,i)),i.push(e))},Ku.flushLegacyContextWarning=function(){Qy.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(o){n.add(ee(o)||"Component"),_b.add(o.type)});var i=W(n);ne(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
945
+
946
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
947
+
948
+ Please update the following components: %s
949
+
950
+ Learn more about this warning here: https://react.dev/link/legacy-context`,i)})}})},Ku.discardPendingWarnings=function(){Bp=[],jp=[],qp=[],Yp=[],Vp=[],Gp=[],Qy=new Map};var Lp=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`."),hv=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."),Zy=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."),Jy={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.')}},fh=null,ky=!1,Rb={react_stack_bottom_frame:function(e,t,n){var i=kn;kn=!0;try{return e(t,n)}finally{kn=i}}},mv=Rb.react_stack_bottom_frame.bind(Rb),Cb={react_stack_bottom_frame:function(e){var t=kn;kn=!0;try{return e.render()}finally{kn=t}}},Ub=Cb.react_stack_bottom_frame.bind(Cb),Hb={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(n){Fe(e,e.return,n)}}},pv=Hb.react_stack_bottom_frame.bind(Hb),wb={react_stack_bottom_frame:function(e,t,n,i,o){try{t.componentDidUpdate(n,i,o)}catch(s){Fe(e,e.return,s)}}},Nb=wb.react_stack_bottom_frame.bind(wb),Bb={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},p2=Bb.react_stack_bottom_frame.bind(Bb),jb={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(i){Fe(e,t,i)}}},qb=jb.react_stack_bottom_frame.bind(jb),Yb={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},y2=Yb.react_stack_bottom_frame.bind(Yb),Vb={react_stack_bottom_frame:function(e,t,n){try{n()}catch(i){Fe(e,t,i)}}},g2=Vb.react_stack_bottom_frame.bind(Vb),Gb={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},Jo=Gb.react_stack_bottom_frame.bind(Gb),rh=null,Xp=0,Ze=null,yv,Lb=yv=!1,Xb={},Qb={},Zb={};Ee=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");n._store.validated=1;var i=ee(e),o=i||"null";if(!Xb[o]){Xb[o]=!0,n=n._owner,e=e._debugOwner;var s="";e&&typeof e.tag=="number"&&(o=ee(e))&&(s=`
951
+
952
+ Check the render method of \``+o+"`."),s||i&&(s=`
953
+
954
+ Check the top-level render call using <`+i+">.");var d="";n!=null&&e!==n&&(i=null,typeof n.tag=="number"?i=ee(n):typeof n.name=="string"&&(i=n.name),i&&(d=" It was passed a child from "+i+".")),ne(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',s,d)})}}};var $f=om(!0),Jb=om(!1),kb=0,Kb=1,$b=2,gv=3,ko=!1,Wb=!1,vv=null,bv=!1,dh=lt(null),Ky=lt(0),yn=lt(null),tu=null,hh=1,Qp=2,ll=lt(0),lu=0,au=1,za=2,$l=4,El=8,mh,Fb=new Set,Ib=new Set,Sv=new Set,Pb=new Set,Rc=0,Be=null,xt=null,rl=null,$y=!1,ph=!1,Wf=!1,Wy=0,Zp=0,Cc=null,v2=0,b2=25,Y=null,nu=null,Uc=-1,Jp=!1,Fy={readContext:ot,use:Rl,useCallback:at,useContext:at,useEffect:at,useImperativeHandle:at,useLayoutEffect:at,useInsertionEffect:at,useMemo:at,useReducer:at,useRef:at,useState:at,useDebugValue:at,useDeferredValue:at,useTransition:at,useSyncExternalStore:at,useId:at,useHostTransitionStatus:at,useFormState:at,useActionState:at,useOptimistic:at,useMemoCache:at,useCacheRefresh:at},Tv=null,e1=null,Ev=null,t1=null,Oi=null,$u=null,Iy=null;Tv={readContext:function(e){return ot(e)},use:Rl,useCallback:function(e,t){return Y="useCallback",Te(),Ve(t),jr(e,t)},useContext:function(e){return Y="useContext",Te(),ot(e)},useEffect:function(e,t){return Y="useEffect",Te(),Ve(t),Au(e,t)},useImperativeHandle:function(e,t,n){return Y="useImperativeHandle",Te(),Ve(n),nc(e,t,n)},useInsertionEffect:function(e,t){Y="useInsertionEffect",Te(),Ve(t),ri(4,za,e,t)},useLayoutEffect:function(e,t){return Y="useLayoutEffect",Te(),Ve(t),ac(e,t)},useMemo:function(e,t){Y="useMemo",Te(),Ve(t);var n=B.H;B.H=Oi;try{return xu(e,t)}finally{B.H=n}},useReducer:function(e,t,n){Y="useReducer",Te();var i=B.H;B.H=Oi;try{return oi(e,t,n)}finally{B.H=i}},useRef:function(e){return Y="useRef",Te(),fi(e)},useState:function(e){Y="useState",Te();var t=B.H;B.H=Oi;try{return Pi(e)}finally{B.H=t}},useDebugValue:function(){Y="useDebugValue",Te()},useDeferredValue:function(e,t){return Y="useDeferredValue",Te(),wn(e,t)},useTransition:function(){return Y="useTransition",Te(),Gr()},useSyncExternalStore:function(e,t,n){return Y="useSyncExternalStore",Te(),so(e,t,n)},useId:function(){return Y="useId",Te(),Lr()},useFormState:function(e,t){return Y="useFormState",Te(),en(),Hn(e,t)},useActionState:function(e,t){return Y="useActionState",Te(),Hn(e,t)},useOptimistic:function(e){return Y="useOptimistic",Te(),Zs(e)},useHostTransitionStatus:Bn,useMemoCache:Su,useCacheRefresh:function(){return Y="useCacheRefresh",Te(),ef()}},e1={readContext:function(e){return ot(e)},use:Rl,useCallback:function(e,t){return Y="useCallback",k(),jr(e,t)},useContext:function(e){return Y="useContext",k(),ot(e)},useEffect:function(e,t){return Y="useEffect",k(),Au(e,t)},useImperativeHandle:function(e,t,n){return Y="useImperativeHandle",k(),nc(e,t,n)},useInsertionEffect:function(e,t){Y="useInsertionEffect",k(),ri(4,za,e,t)},useLayoutEffect:function(e,t){return Y="useLayoutEffect",k(),ac(e,t)},useMemo:function(e,t){Y="useMemo",k();var n=B.H;B.H=Oi;try{return xu(e,t)}finally{B.H=n}},useReducer:function(e,t,n){Y="useReducer",k();var i=B.H;B.H=Oi;try{return oi(e,t,n)}finally{B.H=i}},useRef:function(e){return Y="useRef",k(),fi(e)},useState:function(e){Y="useState",k();var t=B.H;B.H=Oi;try{return Pi(e)}finally{B.H=t}},useDebugValue:function(){Y="useDebugValue",k()},useDeferredValue:function(e,t){return Y="useDeferredValue",k(),wn(e,t)},useTransition:function(){return Y="useTransition",k(),Gr()},useSyncExternalStore:function(e,t,n){return Y="useSyncExternalStore",k(),so(e,t,n)},useId:function(){return Y="useId",k(),Lr()},useActionState:function(e,t){return Y="useActionState",k(),Hn(e,t)},useFormState:function(e,t){return Y="useFormState",k(),en(),Hn(e,t)},useOptimistic:function(e){return Y="useOptimistic",k(),Zs(e)},useHostTransitionStatus:Bn,useMemoCache:Su,useCacheRefresh:function(){return Y="useCacheRefresh",k(),ef()}},Ev={readContext:function(e){return ot(e)},use:Rl,useCallback:function(e,t){return Y="useCallback",k(),Fs(e,t)},useContext:function(e){return Y="useContext",k(),ot(e)},useEffect:function(e,t){Y="useEffect",k(),Ll(2048,El,e,t)},useImperativeHandle:function(e,t,n){return Y="useImperativeHandle",k(),uc(e,t,n)},useInsertionEffect:function(e,t){return Y="useInsertionEffect",k(),Ll(4,za,e,t)},useLayoutEffect:function(e,t){return Y="useLayoutEffect",k(),Ll(4,$l,e,t)},useMemo:function(e,t){Y="useMemo",k();var n=B.H;B.H=$u;try{return Is(e,t)}finally{B.H=n}},useReducer:function(e,t,n){Y="useReducer",k();var i=B.H;B.H=$u;try{return Tu(e,t,n)}finally{B.H=i}},useRef:function(){return Y="useRef",k(),We().memoizedState},useState:function(){Y="useState",k();var e=B.H;B.H=$u;try{return Tu(ya)}finally{B.H=e}},useDebugValue:function(){Y="useDebugValue",k()},useDeferredValue:function(e,t){return Y="useDeferredValue",k(),qr(e,t)},useTransition:function(){return Y="useTransition",k(),hm()},useSyncExternalStore:function(e,t,n){return Y="useSyncExternalStore",k(),Qs(e,t,n)},useId:function(){return Y="useId",k(),We().memoizedState},useFormState:function(e){return Y="useFormState",k(),en(),fo(e)},useActionState:function(e){return Y="useActionState",k(),fo(e)},useOptimistic:function(e,t){return Y="useOptimistic",k(),ec(e,t)},useHostTransitionStatus:Bn,useMemoCache:Su,useCacheRefresh:function(){return Y="useCacheRefresh",k(),We().memoizedState}},t1={readContext:function(e){return ot(e)},use:Rl,useCallback:function(e,t){return Y="useCallback",k(),Fs(e,t)},useContext:function(e){return Y="useContext",k(),ot(e)},useEffect:function(e,t){Y="useEffect",k(),Ll(2048,El,e,t)},useImperativeHandle:function(e,t,n){return Y="useImperativeHandle",k(),uc(e,t,n)},useInsertionEffect:function(e,t){return Y="useInsertionEffect",k(),Ll(4,za,e,t)},useLayoutEffect:function(e,t){return Y="useLayoutEffect",k(),Ll(4,$l,e,t)},useMemo:function(e,t){Y="useMemo",k();var n=B.H;B.H=Iy;try{return Is(e,t)}finally{B.H=n}},useReducer:function(e,t,n){Y="useReducer",k();var i=B.H;B.H=Iy;try{return Lt(e,t,n)}finally{B.H=i}},useRef:function(){return Y="useRef",k(),We().memoizedState},useState:function(){Y="useState",k();var e=B.H;B.H=Iy;try{return Lt(ya)}finally{B.H=e}},useDebugValue:function(){Y="useDebugValue",k()},useDeferredValue:function(e,t){return Y="useDeferredValue",k(),Yr(e,t)},useTransition:function(){return Y="useTransition",k(),ic()},useSyncExternalStore:function(e,t,n){return Y="useSyncExternalStore",k(),Qs(e,t,n)},useId:function(){return Y="useId",k(),We().memoizedState},useFormState:function(e){return Y="useFormState",k(),en(),$s(e)},useActionState:function(e){return Y="useActionState",k(),$s(e)},useOptimistic:function(e,t){return Y="useOptimistic",k(),G0(e,t)},useHostTransitionStatus:Bn,useMemoCache:Su,useCacheRefresh:function(){return Y="useCacheRefresh",k(),We().memoizedState}},Oi={readContext:function(e){return ue(),ot(e)},use:function(e){return q(),Rl(e)},useCallback:function(e,t){return Y="useCallback",q(),Te(),jr(e,t)},useContext:function(e){return Y="useContext",q(),Te(),ot(e)},useEffect:function(e,t){return Y="useEffect",q(),Te(),Au(e,t)},useImperativeHandle:function(e,t,n){return Y="useImperativeHandle",q(),Te(),nc(e,t,n)},useInsertionEffect:function(e,t){Y="useInsertionEffect",q(),Te(),ri(4,za,e,t)},useLayoutEffect:function(e,t){return Y="useLayoutEffect",q(),Te(),ac(e,t)},useMemo:function(e,t){Y="useMemo",q(),Te();var n=B.H;B.H=Oi;try{return xu(e,t)}finally{B.H=n}},useReducer:function(e,t,n){Y="useReducer",q(),Te();var i=B.H;B.H=Oi;try{return oi(e,t,n)}finally{B.H=i}},useRef:function(e){return Y="useRef",q(),Te(),fi(e)},useState:function(e){Y="useState",q(),Te();var t=B.H;B.H=Oi;try{return Pi(e)}finally{B.H=t}},useDebugValue:function(){Y="useDebugValue",q(),Te()},useDeferredValue:function(e,t){return Y="useDeferredValue",q(),Te(),wn(e,t)},useTransition:function(){return Y="useTransition",q(),Te(),Gr()},useSyncExternalStore:function(e,t,n){return Y="useSyncExternalStore",q(),Te(),so(e,t,n)},useId:function(){return Y="useId",q(),Te(),Lr()},useFormState:function(e,t){return Y="useFormState",q(),Te(),Hn(e,t)},useActionState:function(e,t){return Y="useActionState",q(),Te(),Hn(e,t)},useOptimistic:function(e){return Y="useOptimistic",q(),Te(),Zs(e)},useMemoCache:function(e){return q(),Su(e)},useHostTransitionStatus:Bn,useCacheRefresh:function(){return Y="useCacheRefresh",Te(),ef()}},$u={readContext:function(e){return ue(),ot(e)},use:function(e){return q(),Rl(e)},useCallback:function(e,t){return Y="useCallback",q(),k(),Fs(e,t)},useContext:function(e){return Y="useContext",q(),k(),ot(e)},useEffect:function(e,t){Y="useEffect",q(),k(),Ll(2048,El,e,t)},useImperativeHandle:function(e,t,n){return Y="useImperativeHandle",q(),k(),uc(e,t,n)},useInsertionEffect:function(e,t){return Y="useInsertionEffect",q(),k(),Ll(4,za,e,t)},useLayoutEffect:function(e,t){return Y="useLayoutEffect",q(),k(),Ll(4,$l,e,t)},useMemo:function(e,t){Y="useMemo",q(),k();var n=B.H;B.H=$u;try{return Is(e,t)}finally{B.H=n}},useReducer:function(e,t,n){Y="useReducer",q(),k();var i=B.H;B.H=$u;try{return Tu(e,t,n)}finally{B.H=i}},useRef:function(){return Y="useRef",q(),k(),We().memoizedState},useState:function(){Y="useState",q(),k();var e=B.H;B.H=$u;try{return Tu(ya)}finally{B.H=e}},useDebugValue:function(){Y="useDebugValue",q(),k()},useDeferredValue:function(e,t){return Y="useDeferredValue",q(),k(),qr(e,t)},useTransition:function(){return Y="useTransition",q(),k(),hm()},useSyncExternalStore:function(e,t,n){return Y="useSyncExternalStore",q(),k(),Qs(e,t,n)},useId:function(){return Y="useId",q(),k(),We().memoizedState},useFormState:function(e){return Y="useFormState",q(),k(),fo(e)},useActionState:function(e){return Y="useActionState",q(),k(),fo(e)},useOptimistic:function(e,t){return Y="useOptimistic",q(),k(),ec(e,t)},useMemoCache:function(e){return q(),Su(e)},useHostTransitionStatus:Bn,useCacheRefresh:function(){return Y="useCacheRefresh",k(),We().memoizedState}},Iy={readContext:function(e){return ue(),ot(e)},use:function(e){return q(),Rl(e)},useCallback:function(e,t){return Y="useCallback",q(),k(),Fs(e,t)},useContext:function(e){return Y="useContext",q(),k(),ot(e)},useEffect:function(e,t){Y="useEffect",q(),k(),Ll(2048,El,e,t)},useImperativeHandle:function(e,t,n){return Y="useImperativeHandle",q(),k(),uc(e,t,n)},useInsertionEffect:function(e,t){return Y="useInsertionEffect",q(),k(),Ll(4,za,e,t)},useLayoutEffect:function(e,t){return Y="useLayoutEffect",q(),k(),Ll(4,$l,e,t)},useMemo:function(e,t){Y="useMemo",q(),k();var n=B.H;B.H=$u;try{return Is(e,t)}finally{B.H=n}},useReducer:function(e,t,n){Y="useReducer",q(),k();var i=B.H;B.H=$u;try{return Lt(e,t,n)}finally{B.H=i}},useRef:function(){return Y="useRef",q(),k(),We().memoizedState},useState:function(){Y="useState",q(),k();var e=B.H;B.H=$u;try{return Lt(ya)}finally{B.H=e}},useDebugValue:function(){Y="useDebugValue",q(),k()},useDeferredValue:function(e,t){return Y="useDeferredValue",q(),k(),Yr(e,t)},useTransition:function(){return Y="useTransition",q(),k(),ic()},useSyncExternalStore:function(e,t,n){return Y="useSyncExternalStore",q(),k(),Qs(e,t,n)},useId:function(){return Y="useId",q(),k(),We().memoizedState},useFormState:function(e){return Y="useFormState",q(),k(),$s(e)},useActionState:function(e){return Y="useActionState",q(),k(),$s(e)},useOptimistic:function(e,t){return Y="useOptimistic",q(),k(),G0(e,t)},useMemoCache:function(e){return q(),Su(e)},useHostTransitionStatus:Bn,useCacheRefresh:function(){return Y="useCacheRefresh",k(),We().memoizedState}};var l1={},a1=new Set,n1=new Set,u1=new Set,i1=new Set,c1=new Set,o1=new Set,s1=new Set,f1=new Set,r1=new Set,d1=new Set;Object.freeze(l1);var Av={enqueueSetState:function(e,t,n){e=e._reactInternals;var i=Ul(e),o=vu(i);o.payload=t,n!=null&&(Nt(n),o.callback=n),t=Dn(e,o,i),t!==null&&(zt(t,e,i),co(t,e,i)),qc(e,i)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=Ul(e),o=vu(i);o.tag=Kb,o.payload=t,n!=null&&(Nt(n),o.callback=n),t=Dn(e,o,i),t!==null&&(zt(t,e,i),co(t,e,i)),qc(e,i)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ul(e),i=vu(n);i.tag=$b,t!=null&&(Nt(t),i.callback=t),t=Dn(e,i,n),t!==null&&(zt(t,e,n),co(t,e,n)),ae!==null&&typeof ae.markForceUpdateScheduled=="function"&&ae.markForceUpdateScheduled(e,n)}},yh=null,xv=null,Mv=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."),dl=!1,h1={},m1={},p1={},y1={},gh=!1,g1={},Py={},zv={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},v1=!1,b1=null;b1=new Set;var Hc=!1,al=!1,Dv=!1,S1=typeof WeakSet=="function"?WeakSet:Set,wl=null,vh=null,bh=null,hl=null,Ja=!1,Wu=null,kp=8192,S2={getCacheForType:function(e){var t=ot(fl),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ot(fl).controller.signal},getOwner:function(){return Sa}};if(typeof Symbol=="function"&&Symbol.for){var Kp=Symbol.for;Kp("selector.component"),Kp("selector.has_pseudo_class"),Kp("selector.role"),Kp("selector.test_id"),Kp("selector.text")}var T2=[],E2=typeof WeakMap=="function"?WeakMap:Map,ka=0,Da=2,Fu=4,wc=0,$p=1,Sh=2,Ov=3,Ff=4,eg=6,T1=5,dt=ka,Mt=null,ke=null,$e=0,Ka=0,Wp=1,If=2,Fp=3,E1=4,_v=5,Th=6,Ip=7,Rv=8,Pf=9,gt=Ka,gn=null,Ko=!1,Eh=!1,Cv=!1,_i=0,Wt=wc,$o=0,Wo=0,Uv=0,vn=0,er=0,Pp=null,Oa=null,tg=!1,Hv=0,A1=300,lg=1/0,x1=500,e0=null,Fo=null,A2=0,x2=1,M2=2,Io=0,M1=1,z1=2,D1=3,z2=4,ag=5,Al=0,Po=null,Ah=null,es=0,wv=0,Nv=null,O1=null,D2=50,t0=0,Bv=null,jv=!1,ng=!1,O2=50,tr=0,l0=null,xh=!1,ug=null,_1=!1,R1=new Set,_2={},ig=null,Mh=null,qv=!1,Yv=!1,cg=!1,Vv=!1,ts=0,Gv={};(function(){for(var e=0;e<nv.length;e++){var t=nv[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Wa(n,"on"+t)}Wa(gb,"onAnimationEnd"),Wa(vb,"onAnimationIteration"),Wa(bb,"onAnimationStart"),Wa("dblclick","onDoubleClick"),Wa("focusin","onFocus"),Wa("focusout","onBlur"),Wa(u2,"onTransitionRun"),Wa(i2,"onTransitionStart"),Wa(c2,"onTransitionCancel"),Wa(Sb,"onTransitionEnd")})(),ei("onMouseEnter",["mouseout","mouseover"]),ei("onMouseLeave",["mouseout","mouseover"]),ei("onPointerEnter",["pointerout","pointerover"]),ei("onPointerLeave",["pointerout","pointerover"]),fu("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),fu("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),fu("onBeforeInput",["compositionend","keypress","textInput","paste"]),fu("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),fu("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),fu("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var a0="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(" "),Lv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(a0)),og="_reactListening"+Math.random().toString(36).slice(2),C1=!1,U1=!1,sg=!1,H1=!1,fg=!1,rg=!1,w1=!1,dg={},R2=/\r\n?/g,C2=/\u0000|\uFFFD/g,lr="http://www.w3.org/1999/xlink",Xv="http://www.w3.org/XML/1998/namespace",U2="javascript:throw new Error('React form unexpectedly submitted.')",H2="suppressHydrationWarning",ar="&",hg="/&",n0="$",u0="/$",ls="$?",nr="$~",zh="$!",w2="html",N2="body",B2="head",Qv="F!",N1="F",B1="loading",j2="style",Nc=0,Dh=1,mg=2,Zv=null,Jv=null,j1={dialog:!0,webview:!0},kv=null,q1=typeof setTimeout=="function"?setTimeout:void 0,q2=typeof clearTimeout=="function"?clearTimeout:void 0,ur=-1,Y1=typeof Promise=="function"?Promise:void 0,Y2=typeof queueMicrotask=="function"?queueMicrotask:typeof Y1<"u"?function(e){return Y1.resolve(null).then(e).catch(Qa)}:q1,Kv=null,ir=0,i0=1,V1=2,G1=3,uu=4,iu=new Map,L1=new Set,Bc=ct.d;ct.d={f:function(){var e=Bc.f(),t=yi();return e||t},r:function(e){var t=Pu(e);t!==null&&t.tag===5&&t.type==="form"?ho(t):Bc.r(e)},D:function(e){Bc.D(e),up("dns-prefetch",e,null)},C:function(e,t){Bc.C(e,t),up("preconnect",e,t)},L:function(e,t,n){Bc.L(e,t,n);var i=Oh;if(i&&e&&t){var o='link[rel="preload"][as="'+pl(t)+'"]';t==="image"&&n&&n.imageSrcSet?(o+='[imagesrcset="'+pl(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(o+='[imagesizes="'+pl(n.imageSizes)+'"]')):o+='[href="'+pl(e)+'"]';var s=o;switch(t){case"style":s=Bu(e);break;case"script":s=gc(e)}iu.has(s)||(e=Xe({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),iu.set(s,e),i.querySelector(o)!==null||t==="style"&&i.querySelector(_o(s))||t==="script"&&i.querySelector(Ro(s))||(t=i.createElement("link"),cl(t,"link",e),Ft(t),i.head.appendChild(t)))}},m:function(e,t){Bc.m(e,t);var n=Oh;if(n&&e){var i=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+pl(i)+'"][href="'+pl(e)+'"]',s=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=gc(e)}if(!iu.has(s)&&(e=Xe({rel:"modulepreload",href:e},t),iu.set(s,e),n.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Ro(s)))return}i=n.createElement("link"),cl(i,"link",e),Ft(i),n.head.appendChild(i)}}},X:function(e,t){Bc.X(e,t);var n=Oh;if(n&&e){var i=Ui(n).hoistableScripts,o=gc(e),s=i.get(o);s||(s=n.querySelector(Ro(o)),s||(e=Xe({src:e,async:!0},t),(t=iu.get(o))&&Ad(e,t),s=n.createElement("script"),Ft(s),cl(s,"link",e),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(o,s))}},S:function(e,t,n){Bc.S(e,t,n);var i=Oh;if(i&&e){var o=Ui(i).hoistableStyles,s=Bu(e);t=t||"default";var d=o.get(s);if(!d){var h={loading:ir,preload:null};if(d=i.querySelector(_o(s)))h.loading=i0|uu;else{e=Xe({rel:"stylesheet",href:e,"data-precedence":t},n),(n=iu.get(s))&&Ed(e,n);var y=d=i.createElement("link");Ft(y),cl(y,"link",e),y._p=new Promise(function(b,R){y.onload=b,y.onerror=R}),y.addEventListener("load",function(){h.loading|=i0}),y.addEventListener("error",function(){h.loading|=V1}),h.loading|=uu,vc(d,t,i)}d={type:"stylesheet",instance:d,count:1,state:h},o.set(s,d)}}},M:function(e,t){Bc.M(e,t);var n=Oh;if(n&&e){var i=Ui(n).hoistableScripts,o=gc(e),s=i.get(o);s||(s=n.querySelector(Ro(o)),s||(e=Xe({src:e,async:!0,type:"module"},t),(t=iu.get(o))&&Ad(e,t),s=n.createElement("script"),Ft(s),cl(s,"link",e),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(o,s))}}};var Oh=typeof document>"u"?null:document,pg=null,c0=null,$v=null,yg=null,cr=xi,o0={$$typeof:Za,Provider:null,Consumer:null,_currentValue:cr,_currentValue2:cr,_threadCount:0},X1="%c%s%c ",Q1="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",Z1="",gg=" ",V2=Function.prototype.bind,J1=!1,k1=null,K1=null,$1=null,W1=null,F1=null,I1=null,P1=null,eS=null,tS=null;k1=function(e,t,n,i){t=v(e,t),t!==null&&(n=g(t.memoizedState,n,0,i),t.memoizedState=n,t.baseState=n,e.memoizedProps=Xe({},e.memoizedProps),n=ql(e,2),n!==null&&zt(n,e,2))},K1=function(e,t,n){t=v(e,t),t!==null&&(n=V(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=Xe({},e.memoizedProps),n=ql(e,2),n!==null&&zt(n,e,2))},$1=function(e,t,n,i){t=v(e,t),t!==null&&(n=C(t.memoizedState,n,i),t.memoizedState=n,t.baseState=n,e.memoizedProps=Xe({},e.memoizedProps),n=ql(e,2),n!==null&&zt(n,e,2))},W1=function(e,t,n){e.pendingProps=g(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ql(e,2),t!==null&&zt(t,e,2)},F1=function(e,t){e.pendingProps=V(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ql(e,2),t!==null&&zt(t,e,2)},I1=function(e,t,n){e.pendingProps=C(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ql(e,2),t!==null&&zt(t,e,2)},P1=function(e){var t=ql(e,2);t!==null&&zt(t,e,2)},eS=function(e){L=e},tS=function(e){K=e};var vg=!0,bg=null,Wv=!1,as=null,ns=null,us=null,s0=new Map,f0=new Map,is=[],G2="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(" "),Sg=null;if(Ho.prototype.render=Ud.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):re(n[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var i=t.current,o=Ul(i);Jn(i,o,n,t,null,null)},Ho.prototype.unmount=Ud.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(dt&(Da|Fu))!==ka&&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."),Jn(e.current,2,null,e,null,null),yi(),t[zi]=null}},Ho.prototype.unstable_scheduleHydration=function(e){if(e){var t=Nh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<is.length&&t!==0&&t<is[n].priority;n++);is.splice(n,0,e),n===0&&zy(e)}},function(){var e=dp.version;if(e!=="19.2.0-canary-97cdd5d3-20250710")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
955
+ - react: `+(e+`
956
+ - react-dom: 19.2.0-canary-97cdd5d3-20250710
957
+ 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"),ct.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=Rt(t),e=e!==null?de(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.2.0-canary-97cdd5d3-20250710",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.2.0-canary-97cdd5d3-20250710"};return e.overrideHookState=k1,e.overrideHookStateDeletePath=K1,e.overrideHookStateRenamePath=$1,e.overrideProps=W1,e.overridePropsDeletePath=F1,e.overridePropsRenamePath=I1,e.scheduleUpdate=P1,e.setErrorHandler=eS,e.setSuspenseHandler=tS,e.scheduleRefresh=ze,e.scheduleRoot=oe,e.setRefreshHandler=qe,e.getCurrentFiber=Ey,e.getLaneLabelMap=Ay,e.injectProfilingHooks=Uh,Ch(e)}()&&D&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var lS=window.location.protocol;/^(https?|file):$/.test(lS)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(lS==="file:"?`
958
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}m0.createRoot=function(e,t){if(!re(e))throw Error("Target container is not a DOM element.");wo(e);var n=!1,i="",o=Qt,s=af,d=cc;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===qu&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
959
+
960
+ let root = createRoot(domContainer);
961
+ root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(d=t.onRecoverableError)),t=Hf(e,1,!1,null,null,n,i,null,o,s,d,Cd),e[zi]=t.current,nn(e),new Ud(t)},m0.hydrateRoot=function(e,t,n){if(!re(e))throw Error("Target container is not a DOM element.");wo(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=!1,o="",s=Qt,d=af,h=cc,y=null;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(h=n.onRecoverableError),n.formState!==void 0&&(y=n.formState)),t=Hf(e,1,!0,t,n??null,i,o,y,s,d,h,Cd),t.context=zd(null),n=t.current,i=Ul(n),i=su(i),o=vu(i),o.callback=null,Dn(n,o,i),n=i,t.current.lanes=n,ds(t,n),vt(t),e[zi]=t.current,nn(e),new Ho(t)},m0.version="19.2.0-canary-97cdd5d3-20250710",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),m0}var pS;function RT(){if(pS)return Eg.exports;pS=1;function v(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(v)}catch(g){console.error(g)}}}return process.env.NODE_ENV==="production"?(v(),Eg.exports=OT()):Eg.exports=_T(),Eg.exports}var CT=RT();const UT=gS(CT);class RS{constructor(g){_a(this,"debug");_a(this,"firedExposures",new Set);this.debug=g.debug||!1}fireExposure(g,C,E){const V=`${E}_${C}`;if(this.firedExposures.has(V)){this.debug&&console.log("[Tracker] Exposure already fired for:",C);return}this.firedExposures.add(V);try{fetch(g,{method:"GET",keepalive:!0}).catch(K=>{this.debug&&console.warn("[Tracker] Failed to fire exposure:",K)}),this.debug&&console.log("[Tracker] Fired exposure for:",C)}catch(K){this.debug&&console.error("[Tracker] Error firing exposure:",K)}}fireClick(g,C,E){try{fetch(g,{method:"GET",keepalive:!0}).catch(V=>{this.debug&&console.warn("[Tracker] Failed to fire click:",V)}),this.debug&&console.log("[Tracker] Fired click for:",C)}catch(V){this.debug&&console.error("[Tracker] Error firing click:",V)}}fireConversion(g,C,E){try{fetch(g,{method:"GET",keepalive:!0}).catch(V=>{this.debug&&console.warn("[Tracker] Failed to fire conversion:",V)}),this.debug&&console.log("[Tracker] Fired conversion for:",C)}catch(V){this.debug&&console.error("[Tracker] Error firing conversion:",V)}}clearFiredExposures(){this.firedExposures.clear(),this.debug&&console.log("[Tracker] Cleared fired exposures")}}class CS{constructor(g=!1){_a(this,"debug");_a(this,"roots",new Map);this.debug=g}async render(g){var C,E,V,K;try{const L=document.getElementById(g.containerId);if(!L)throw new Error(`Container with ID "${g.containerId}" not found`);this.debug&&console.log("[Renderer] Rendering recommendations in container:",g.containerId);const q=this.roots.get(g.containerId);q&&q.unmount();const ue=UT.createRoot(L),he=(Ee,W)=>{var oe,ze;const te=(ze=(oe=g.response.response)==null?void 0:oe.recommendations)==null?void 0:ze.find(qe=>{var re;return((re=qe.meta)==null?void 0:re.ad_id)===Ee||qe.ad_id===Ee});te!=null&&te.click_url&&g.tracker.fireClick(te.click_url,Ee,g.sessionId),g.onRecommendationClick&&g.onRecommendationClick(Ee,W),window.open(W,"_blank")};ue.render($.jsx(ES,{response:{layout_type:(C=g.response.response)==null?void 0:C.layout_type,citation_summary:(E=g.response.response)==null?void 0:E.summary,recommendations:((V=g.response.response)==null?void 0:V.recommendations)||[],requires_summary:!!((K=g.response.response)!=null&&K.summary)},theme:g.theme,onRecommendationClick:Ee=>{var oe;const W=((oe=Ee.meta)==null?void 0:oe.ad_id)||Ee.ad_id||"",te=Ee.admesh_link||"";he(W,te)}})),this.roots.set(g.containerId,ue),this.debug&&console.log("[Renderer] Rendered successfully")}catch(L){throw this.debug&&console.error("[Renderer] Error rendering:",L),L}}unmount(g){const C=this.roots.get(g);C&&(C.unmount(),this.roots.delete(g),this.debug&&console.log("[Renderer] Unmounted container:",g))}unmountAll(){for(const[g,C]of this.roots.entries())C.unmount(),this.debug&&console.log("[Renderer] Unmounted container:",g);this.roots.clear()}}class HT{constructor(g){_a(this,"config");_a(this,"sessionManager");_a(this,"fetcher");_a(this,"renderer");_a(this,"tracker");_a(this,"currentSessionId",null);if(!g.apiKey)throw new Error("AdMeshSDK: apiKey is required");this.config={apiBaseUrl:g.apiBaseUrl||"https://api.useadmesh.com",debug:g.debug||!1,...g},this.sessionManager=new DS(this.config.debug),this.fetcher=new OS(this.config),this.renderer=new CS(this.config.debug),this.tracker=new RS(this.config),this.currentSessionId=this.sessionManager.getStoredSessionId(),this.config.debug&&this.currentSessionId&&console.log("[AdMeshSDK] Restored session:",this.currentSessionId)}async showRecommendations(g){var C,E;try{this.config.debug&&console.log("[AdMeshSDK] Fetching recommendations for query:",g.query),this.currentSessionId||(this.currentSessionId=this.sessionManager.createSession(),this.config.debug&&console.log("[AdMeshSDK] Created new session:",this.currentSessionId));const V=await this.fetcher.fetchRecommendations({query:g.query,format:g.format||"auto",previous_query:g.previousQuery,previous_summary:g.previousSummary,session_id:this.currentSessionId,is_fallback_allowed:g.isFallbackAllowed!==!1});if(this.config.debug&&console.log("[AdMeshSDK] Received recommendations:",V),await this.renderer.render({containerId:g.containerId,response:V,theme:g.theme||this.config.theme,onRecommendationClick:g.onRecommendationClick,tracker:this.tracker,sessionId:this.currentSessionId}),(C=V.response)!=null&&C.recommendations){for(const K of V.response.recommendations)if(K.exposure_url){const L=((E=K.meta)==null?void 0:E.ad_id)||K.ad_id||"";this.tracker.fireExposure(K.exposure_url,L,this.currentSessionId)}}}catch(V){throw console.error("[AdMeshSDK] Error showing recommendations:",V),V}}closeSession(){this.currentSessionId&&(this.config.debug&&console.log("[AdMeshSDK] Closing session:",this.currentSessionId),this.sessionManager.closeSession(this.currentSessionId),this.currentSessionId=null)}getSessionId(){return this.currentSessionId}createNewSession(){return this.currentSessionId=this.sessionManager.createSession(),this.config.debug&&console.log("[AdMeshSDK] Created new session:",this.currentSessionId),this.currentSessionId}setSessionId(g){this.currentSessionId=g,this.sessionManager.storeSessionId(g),this.config.debug&&console.log("[AdMeshSDK] Set session ID:",g)}}const or=(v={})=>{const g={mode:"light",primaryColor:"#000000",secondaryColor:"#666666",accentColor:"#000000",backgroundColor:"#ffffff",surfaceColor:"#ffffff",borderColor:"#e5e7eb",textColor:"#000000",textSecondaryColor:"#666666",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',fontSize:{small:"12px",base:"14px",large:"16px",title:"18px"},borderRadius:"8px",spacing:{small:"4px",medium:"8px",large:"16px"},shadows:{small:"0 1px 3px rgba(0, 0, 0, 0.1)",medium:"0 4px 6px rgba(0, 0, 0, 0.1)",large:"0 10px 15px rgba(0, 0, 0, 0.1)"},icons:{expandIcon:"▼",collapseIcon:"▲",starIcon:"★",checkIcon:"✓",arrowIcon:"→"},gradients:{primary:"#000000",secondary:"#666666",accent:"#000000"},components:{productCard:{width:"100%"},citationUnit:{width:"100%"},inlineRecommendation:{width:"100%"},expandableUnit:{width:"100%"},compareTable:{width:"100%"},card:{width:"auto"},button:{width:"auto"}}},C={...g,...v,fontSize:{...g.fontSize,...v.fontSize},spacing:{...g.spacing,...v.spacing},shadows:{...g.shadows,...v.shadows},icons:{...g.icons,...v.icons},components:{...g.components,...v.components}};return BT(C)},wT=(v={})=>or({...{mode:"dark",primaryColor:"#ffffff",secondaryColor:"#9ca3af",accentColor:"#ffffff",backgroundColor:"#000000",surfaceColor:"#111111",borderColor:"#333333",textColor:"#ffffff",textSecondaryColor:"#9ca3af",shadows:{small:"0 1px 3px rgba(255, 255, 255, 0.1)",medium:"0 4px 6px rgba(255, 255, 255, 0.1)",large:"0 10px 15px rgba(255, 255, 255, 0.1)"},gradients:{primary:"#ffffff",secondary:"#9ca3af",accent:"#ffffff"}},...v}),NT={get minimal(){return or({primaryColor:"#000000",secondaryColor:"#666666",borderRadius:"4px",shadows:{small:"none",medium:"0 1px 3px rgba(0, 0, 0, 0.1)",large:"0 2px 6px rgba(0, 0, 0, 0.1)"},gradients:{primary:"#000000",secondary:"#666666",accent:"#000000"},components:{productCard:{width:"100%"},citationUnit:{width:"100%"},inlineRecommendation:{width:"100%"},expandableUnit:{width:"100%"},compareTable:{width:"100%"}}})},get vibrant(){return or({primaryColor:"#8b5cf6",secondaryColor:"#06b6d4",accentColor:"#f59e0b",borderRadius:"12px",gradients:{primary:"#8b5cf6",secondary:"#06b6d4",accent:"#f59e0b"},components:{productCard:{width:"100%"},citationUnit:{width:"100%"},inlineRecommendation:{width:"100%"},expandableUnit:{width:"100%"},compareTable:{width:"100%"}}})},get corporate(){return or({primaryColor:"#1e40af",secondaryColor:"#059669",backgroundColor:"#f8fafc",surfaceColor:"#ffffff",borderColor:"#cbd5e1",borderRadius:"6px",fontFamily:'"Inter", -apple-system, BlinkMacSystemFont, sans-serif',components:{productCard:{width:"100%"},citationUnit:{width:"100%"},inlineRecommendation:{width:"100%"},expandableUnit:{width:"100%"},compareTable:{width:"100%"}}})},get highContrast(){return or({primaryColor:"#000000",secondaryColor:"#ffffff",backgroundColor:"#ffffff",surfaceColor:"#f5f5f5",borderColor:"#000000",textColor:"#000000",textSecondaryColor:"#333333",borderRadius:"0px",shadows:{small:"none",medium:"0 0 0 2px #000000",large:"0 0 0 3px #000000"},components:{productCard:{width:"100%"},citationUnit:{width:"100%"},inlineRecommendation:{width:"100%"},expandableUnit:{width:"100%"},compareTable:{width:"100%"}}})}},BT=(v={})=>{const g=v.components||{},C={productCard:{width:"100%",...g.productCard},citationUnit:{width:"100%",...g.citationUnit},inlineRecommendation:{width:"100%",...g.inlineRecommendation},expandableUnit:{width:"100%",...g.expandableUnit},compareTable:{width:"100%",...g.compareTable},card:{width:"auto",...g.card},button:{width:"auto",...g.button}};return{...v,components:{...g,...C}}},jT=(...v)=>{const g=or();return v.reduce((C,E)=>E?{...C,...E,mode:E.mode||C.mode}:C,g)},qT=v=>{var C,E,V,K,L,q;const g=getComputedStyle(v);return{primaryColor:((C=g.getPropertyValue("--admesh-primary-color"))==null?void 0:C.trim())||void 0,secondaryColor:((E=g.getPropertyValue("--admesh-secondary-color"))==null?void 0:E.trim())||void 0,backgroundColor:((V=g.getPropertyValue("--admesh-background-color"))==null?void 0:V.trim())||void 0,textColor:((K=g.getPropertyValue("--admesh-text-color"))==null?void 0:K.trim())||void 0,borderRadius:((L=g.getPropertyValue("--admesh-border-radius"))==null?void 0:L.trim())||void 0,fontFamily:((q=g.getPropertyValue("--admesh-font-family"))==null?void 0:q.trim())||void 0}},YT="0.2.1",VT={trackingEnabled:!0,debug:!1,theme:{mode:"light",accentColor:"#2563eb"}};exports.AdMeshBadge=xS;exports.AdMeshEcommerceCards=SS;exports.AdMeshInlineCard=AS;exports.AdMeshLayout=ES;exports.AdMeshLinkTracker=y0;exports.AdMeshProductCard=p0;exports.AdMeshRecommendationFetcher=OS;exports.AdMeshRenderer=CS;exports.AdMeshSDK=HT;exports.AdMeshSessionManager=DS;exports.AdMeshSummaryLayout=TS;exports.AdMeshSummaryUnit=ab;exports.AdMeshTracker=RS;exports.AdMeshViewabilityTracker=zS;exports.DEFAULT_CONFIG=VT;exports.VERSION=YT;exports.buildAdMeshLink=P2;exports.createAdMeshTheme=or;exports.createDarkTheme=wT;exports.extractTrackingData=eT;exports.getBadgeText=uT;exports.getCtaText=iT;exports.getInlineDisclosure=aT;exports.getInlineTooltip=nT;exports.getLabelTooltip=ub;exports.getPoweredByText=oT;exports.getRecommendationLabel=_h;exports.getSectionDisclosure=lT;exports.hasHighQualityMatches=cT;exports.mergeThemes=jT;exports.setAdMeshTrackerConfig=I2;exports.setViewabilityTrackerConfig=xT;exports.themeFromCSSProperties=qT;exports.themePresets=NT;exports.useAdMeshStyles=bS;exports.useAdMeshTracker=vS;exports.useViewabilityTracker=MS;
717
962
  //# sourceMappingURL=index.js.map