import{g as bs}from"./app-DW8k92tM.js";function N0(a,i){for(var o=0;o<i.length;o++){const r=i[o];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in a)){const f=Object.getOwnPropertyDescriptor(r,s);f&&Object.defineProperty(a,s,f.get?f:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var qc={exports:{}},Si={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Dh;function U0(){if(Dh)return Si;Dh=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function o(r,s,f){var d=null;if(f!==void 0&&(d=""+f),s.key!==void 0&&(d=""+s.key),"key"in s){f={};for(var h in s)h!=="key"&&(f[h]=s[h])}else f=s;return s=f.ref,{$$typeof:a,type:r,key:d,ref:s!==void 0?s:null,props:f}}return Si.Fragment=i,Si.jsx=o,Si.jsxs=o,Si}var zh;function B0(){return zh||(zh=1,qc.exports=U0()),qc.exports}var ot=B0(),kc={exports:{}},ft={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Nh;function H0(){if(Nh)return ft;Nh=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),S=Symbol.iterator;function T(E){return E===null||typeof E!="object"?null:(E=S&&E[S]||E["@@iterator"],typeof E=="function"?E:null)}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,A={};function M(E,G,F){this.props=E,this.context=G,this.refs=A,this.updater=F||D}M.prototype.isReactComponent={},M.prototype.setState=function(E,G){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,G,"setState")},M.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function q(){}q.prototype=M.prototype;function Q(E,G,F){this.props=E,this.context=G,this.refs=A,this.updater=F||D}var X=Q.prototype=new q;X.constructor=Q,O(X,M.prototype),X.isPureReactComponent=!0;var Z=Array.isArray,k={H:null,A:null,T:null,S:null,V:null},$=Object.prototype.hasOwnProperty;function P(E,G,F,K,W,dt){return F=dt.ref,{$$typeof:a,type:E,key:G,ref:F!==void 0?F:null,props:dt}}function J(E,G){return P(E.type,G,void 0,void 0,void 0,E.props)}function ct(E){return typeof E=="object"&&E!==null&&E.$$typeof===a}function At(E){var G={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(F){return G[F]})}var _t=/\/+/g;function yt(E,G){return typeof E=="object"&&E!==null&&E.key!=null?At(""+E.key):G.toString(36)}function Ot(){}function xt(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(Ot,Ot):(E.status="pending",E.then(function(G){E.status==="pending"&&(E.status="fulfilled",E.value=G)},function(G){E.status==="pending"&&(E.status="rejected",E.reason=G)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function gt(E,G,F,K,W){var dt=typeof E;(dt==="undefined"||dt==="boolean")&&(E=null);var it=!1;if(E===null)it=!0;else switch(dt){case"bigint":case"string":case"number":it=!0;break;case"object":switch(E.$$typeof){case a:case i:it=!0;break;case g:return it=E._init,gt(it(E._payload),G,F,K,W)}}if(it)return W=W(E),it=K===""?"."+yt(E,0):K,Z(W)?(F="",it!=null&&(F=it.replace(_t,"$&/")+"/"),gt(W,G,F,"",function(ie){return ie})):W!=null&&(ct(W)&&(W=J(W,F+(W.key==null||E&&E.key===W.key?"":(""+W.key).replace(_t,"$&/")+"/")+it)),G.push(W)),1;it=0;var pt=K===""?".":K+":";if(Z(E))for(var Rt=0;Rt<E.length;Rt++)K=E[Rt],dt=pt+yt(K,Rt),it+=gt(K,G,F,dt,W);else if(Rt=T(E),typeof Rt=="function")for(E=Rt.call(E),Rt=0;!(K=E.next()).done;)K=K.value,dt=pt+yt(K,Rt++),it+=gt(K,G,F,dt,W);else if(dt==="object"){if(typeof E.then=="function")return gt(xt(E),G,F,K,W);throw G=String(E),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return it}function N(E,G,F){if(E==null)return E;var K=[],W=0;return gt(E,K,"","",function(dt){return G.call(F,dt,W++)}),K}function V(E){if(E._status===-1){var G=E._result;G=G(),G.then(function(F){(E._status===0||E._status===-1)&&(E._status=1,E._result=F)},function(F){(E._status===0||E._status===-1)&&(E._status=2,E._result=F)}),E._status===-1&&(E._status=0,E._result=G)}if(E._status===1)return E._result.default;throw E._result}var H=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=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(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)};function rt(){}return ft.Children={map:N,forEach:function(E,G,F){N(E,function(){G.apply(this,arguments)},F)},count:function(E){var G=0;return N(E,function(){G++}),G},toArray:function(E){return N(E,function(G){return G})||[]},only:function(E){if(!ct(E))throw Error("React.Children.only expected to receive a single React element child.");return E}},ft.Component=M,ft.Fragment=o,ft.Profiler=s,ft.PureComponent=Q,ft.StrictMode=r,ft.Suspense=y,ft.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,ft.__COMPILER_RUNTIME={__proto__:null,c:function(E){return k.H.useMemoCache(E)}},ft.cache=function(E){return function(){return E.apply(null,arguments)}},ft.cloneElement=function(E,G,F){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var K=O({},E.props),W=E.key,dt=void 0;if(G!=null)for(it in G.ref!==void 0&&(dt=void 0),G.key!==void 0&&(W=""+G.key),G)!$.call(G,it)||it==="key"||it==="__self"||it==="__source"||it==="ref"&&G.ref===void 0||(K[it]=G[it]);var it=arguments.length-2;if(it===1)K.children=F;else if(1<it){for(var pt=Array(it),Rt=0;Rt<it;Rt++)pt[Rt]=arguments[Rt+2];K.children=pt}return P(E.type,W,void 0,void 0,dt,K)},ft.createContext=function(E){return E={$$typeof:d,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:f,_context:E},E},ft.createElement=function(E,G,F){var K,W={},dt=null;if(G!=null)for(K in G.key!==void 0&&(dt=""+G.key),G)$.call(G,K)&&K!=="key"&&K!=="__self"&&K!=="__source"&&(W[K]=G[K]);var it=arguments.length-2;if(it===1)W.children=F;else if(1<it){for(var pt=Array(it),Rt=0;Rt<it;Rt++)pt[Rt]=arguments[Rt+2];W.children=pt}if(E&&E.defaultProps)for(K in it=E.defaultProps,it)W[K]===void 0&&(W[K]=it[K]);return P(E,dt,void 0,void 0,null,W)},ft.createRef=function(){return{current:null}},ft.forwardRef=function(E){return{$$typeof:h,render:E}},ft.isValidElement=ct,ft.lazy=function(E){return{$$typeof:g,_payload:{_status:-1,_result:E},_init:V}},ft.memo=function(E,G){return{$$typeof:p,type:E,compare:G===void 0?null:G}},ft.startTransition=function(E){var G=k.T,F={};k.T=F;try{var K=E(),W=k.S;W!==null&&W(F,K),typeof K=="object"&&K!==null&&typeof K.then=="function"&&K.then(rt,H)}catch(dt){H(dt)}finally{k.T=G}},ft.unstable_useCacheRefresh=function(){return k.H.useCacheRefresh()},ft.use=function(E){return k.H.use(E)},ft.useActionState=function(E,G,F){return k.H.useActionState(E,G,F)},ft.useCallback=function(E,G){return k.H.useCallback(E,G)},ft.useContext=function(E){return k.H.useContext(E)},ft.useDebugValue=function(){},ft.useDeferredValue=function(E,G){return k.H.useDeferredValue(E,G)},ft.useEffect=function(E,G,F){var K=k.H;if(typeof F=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return K.useEffect(E,G)},ft.useId=function(){return k.H.useId()},ft.useImperativeHandle=function(E,G,F){return k.H.useImperativeHandle(E,G,F)},ft.useInsertionEffect=function(E,G){return k.H.useInsertionEffect(E,G)},ft.useLayoutEffect=function(E,G){return k.H.useLayoutEffect(E,G)},ft.useMemo=function(E,G){return k.H.useMemo(E,G)},ft.useOptimistic=function(E,G){return k.H.useOptimistic(E,G)},ft.useReducer=function(E,G,F){return k.H.useReducer(E,G,F)},ft.useRef=function(E){return k.H.useRef(E)},ft.useState=function(E){return k.H.useState(E)},ft.useSyncExternalStore=function(E,G,F){return k.H.useSyncExternalStore(E,G,F)},ft.useTransition=function(){return k.H.useTransition()},ft.version="19.1.1",ft}var Uh;function Ss(){return Uh||(Uh=1,kc.exports=H0()),kc.exports}var R=Ss();const L0=bs(R),Mp=N0({__proto__:null,default:L0},[R]);var Yc={exports:{}},Ei={},Gc={exports:{}},Xc={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Bh;function j0(){return Bh||(Bh=1,(function(a){function i(N,V){var H=N.length;N.push(V);t:for(;0<H;){var rt=H-1>>>1,E=N[rt];if(0<s(E,V))N[rt]=V,N[H]=E,H=rt;else break t}}function o(N){return N.length===0?null:N[0]}function r(N){if(N.length===0)return null;var V=N[0],H=N.pop();if(H!==V){N[0]=H;t:for(var rt=0,E=N.length,G=E>>>1;rt<G;){var F=2*(rt+1)-1,K=N[F],W=F+1,dt=N[W];if(0>s(K,H))W<E&&0>s(dt,K)?(N[rt]=dt,N[W]=H,rt=W):(N[rt]=K,N[F]=H,rt=F);else if(W<E&&0>s(dt,H))N[rt]=dt,N[W]=H,rt=W;else break t}}return V}function s(N,V){var H=N.sortIndex-V.sortIndex;return H!==0?H:N.id-V.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;a.unstable_now=function(){return f.now()}}else{var d=Date,h=d.now();a.unstable_now=function(){return d.now()-h}}var y=[],p=[],g=1,S=null,T=3,D=!1,O=!1,A=!1,M=!1,q=typeof setTimeout=="function"?setTimeout:null,Q=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate<"u"?setImmediate:null;function Z(N){for(var V=o(p);V!==null;){if(V.callback===null)r(p);else if(V.startTime<=N)r(p),V.sortIndex=V.expirationTime,i(y,V);else break;V=o(p)}}function k(N){if(A=!1,Z(N),!O)if(o(y)!==null)O=!0,$||($=!0,yt());else{var V=o(p);V!==null&&gt(k,V.startTime-N)}}var $=!1,P=-1,J=5,ct=-1;function At(){return M?!0:!(a.unstable_now()-ct<J)}function _t(){if(M=!1,$){var N=a.unstable_now();ct=N;var V=!0;try{t:{O=!1,A&&(A=!1,Q(P),P=-1),D=!0;var H=T;try{e:{for(Z(N),S=o(y);S!==null&&!(S.expirationTime>N&&At());){var rt=S.callback;if(typeof rt=="function"){S.callback=null,T=S.priorityLevel;var E=rt(S.expirationTime<=N);if(N=a.unstable_now(),typeof E=="function"){S.callback=E,Z(N),V=!0;break e}S===o(y)&&r(y),Z(N)}else r(y);S=o(y)}if(S!==null)V=!0;else{var G=o(p);G!==null&&gt(k,G.startTime-N),V=!1}}break t}finally{S=null,T=H,D=!1}V=void 0}}finally{V?yt():$=!1}}}var yt;if(typeof X=="function")yt=function(){X(_t)};else if(typeof MessageChannel<"u"){var Ot=new MessageChannel,xt=Ot.port2;Ot.port1.onmessage=_t,yt=function(){xt.postMessage(null)}}else yt=function(){q(_t,0)};function gt(N,V){P=q(function(){N(a.unstable_now())},V)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(N){N.callback=null},a.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):J=0<N?Math.floor(1e3/N):5},a.unstable_getCurrentPriorityLevel=function(){return T},a.unstable_next=function(N){switch(T){case 1:case 2:case 3:var V=3;break;default:V=T}var H=T;T=V;try{return N()}finally{T=H}},a.unstable_requestPaint=function(){M=!0},a.unstable_runWithPriority=function(N,V){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var H=T;T=N;try{return V()}finally{T=H}},a.unstable_scheduleCallback=function(N,V,H){var rt=a.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?rt+H:rt):H=rt,N){case 1:var E=-1;break;case 2:E=250;break;case 5:E=1073741823;break;case 4:E=1e4;break;default:E=5e3}return E=H+E,N={id:g++,callback:V,priorityLevel:N,startTime:H,expirationTime:E,sortIndex:-1},H>rt?(N.sortIndex=H,i(p,N),o(y)===null&&N===o(p)&&(A?(Q(P),P=-1):A=!0,gt(k,H-rt))):(N.sortIndex=E,i(y,N),O||D||(O=!0,$||($=!0,yt()))),N},a.unstable_shouldYield=At,a.unstable_wrapCallback=function(N){var V=T;return function(){var H=T;T=V;try{return N.apply(this,arguments)}finally{T=H}}}})(Xc)),Xc}var Hh;function q0(){return Hh||(Hh=1,Gc.exports=j0()),Gc.exports}var Vc={exports:{}},le={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Lh;function k0(){if(Lh)return le;Lh=1;var a=Ss();function i(y){var p="https://react.dev/errors/"+y;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)p+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+y+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var r={d:{f:o,r:function(){throw Error(i(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},s=Symbol.for("react.portal");function f(y,p,g){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:S==null?null:""+S,children:y,containerInfo:p,implementation:g}}var d=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(y,p){if(y==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return le.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,le.createPortal=function(y,p){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(i(299));return f(y,p,null,g)},le.flushSync=function(y){var p=d.T,g=r.p;try{if(d.T=null,r.p=2,y)return y()}finally{d.T=p,r.p=g,r.d.f()}},le.preconnect=function(y,p){typeof y=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,r.d.C(y,p))},le.prefetchDNS=function(y){typeof y=="string"&&r.d.D(y)},le.preinit=function(y,p){if(typeof y=="string"&&p&&typeof p.as=="string"){var g=p.as,S=h(g,p.crossOrigin),T=typeof p.integrity=="string"?p.integrity:void 0,D=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;g==="style"?r.d.S(y,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:S,integrity:T,fetchPriority:D}):g==="script"&&r.d.X(y,{crossOrigin:S,integrity:T,fetchPriority:D,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},le.preinitModule=function(y,p){if(typeof y=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var g=h(p.as,p.crossOrigin);r.d.M(y,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&r.d.M(y)},le.preload=function(y,p){if(typeof y=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var g=p.as,S=h(g,p.crossOrigin);r.d.L(y,g,{crossOrigin:S,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},le.preloadModule=function(y,p){if(typeof y=="string")if(p){var g=h(p.as,p.crossOrigin);r.d.m(y,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else r.d.m(y)},le.requestFormReset=function(y){r.d.r(y)},le.unstable_batchedUpdates=function(y,p){return y(p)},le.useFormState=function(y,p,g){return d.H.useFormState(y,p,g)},le.useFormStatus=function(){return d.H.useHostTransitionStatus()},le.version="19.1.1",le}var jh;function _p(){if(jh)return Vc.exports;jh=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),Vc.exports=k0(),Vc.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var qh;function Y0(){if(qh)return Ei;qh=1;var a=q0(),i=Ss(),o=_p();function r(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function f(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function d(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function h(t){if(f(t)!==t)throw Error(r(188))}function y(t){var e=t.alternate;if(!e){if(e=f(t),e===null)throw Error(r(188));return e!==t?null:t}for(var n=t,l=e;;){var u=n.return;if(u===null)break;var c=u.alternate;if(c===null){if(l=u.return,l!==null){n=l;continue}break}if(u.child===c.child){for(c=u.child;c;){if(c===n)return h(u),t;if(c===l)return h(u),e;c=c.sibling}throw Error(r(188))}if(n.return!==l.return)n=u,l=c;else{for(var m=!1,v=u.child;v;){if(v===n){m=!0,n=u,l=c;break}if(v===l){m=!0,l=u,n=c;break}v=v.sibling}if(!m){for(v=c.child;v;){if(v===n){m=!0,n=c,l=u;break}if(v===l){m=!0,l=c,n=u;break}v=v.sibling}if(!m)throw Error(r(189))}}if(n.alternate!==l)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?t:e}function p(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=p(t),e!==null)return e;t=t.sibling}return null}var g=Object.assign,S=Symbol.for("react.element"),T=Symbol.for("react.transitional.element"),D=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),q=Symbol.for("react.provider"),Q=Symbol.for("react.consumer"),X=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),ct=Symbol.for("react.activity"),At=Symbol.for("react.memo_cache_sentinel"),_t=Symbol.iterator;function yt(t){return t===null||typeof t!="object"?null:(t=_t&&t[_t]||t["@@iterator"],typeof t=="function"?t:null)}var Ot=Symbol.for("react.client.reference");function xt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Ot?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case O:return"Fragment";case M:return"Profiler";case A:return"StrictMode";case k:return"Suspense";case $:return"SuspenseList";case ct:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case D:return"Portal";case X:return(t.displayName||"Context")+".Provider";case Q:return(t._context.displayName||"Context")+".Consumer";case Z:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case P:return e=t.displayName||null,e!==null?e:xt(t.type)||"Memo";case J:e=t._payload,t=t._init;try{return xt(t(e))}catch{}}return null}var gt=Array.isArray,N=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H={pending:!1,data:null,method:null,action:null},rt=[],E=-1;function G(t){return{current:t}}function F(t){0>E||(t.current=rt[E],rt[E]=null,E--)}function K(t,e){E++,rt[E]=t.current,t.current=e}var W=G(null),dt=G(null),it=G(null),pt=G(null);function Rt(t,e){switch(K(it,e),K(dt,t),K(W,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?ih(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=ih(e),t=uh(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}F(W),K(W,t)}function ie(){F(W),F(dt),F(it)}function ke(t){t.memoizedState!==null&&K(pt,t);var e=W.current,n=uh(e,t.type);e!==n&&(K(dt,t),K(W,n))}function Ye(t){dt.current===t&&(F(W),F(dt)),pt.current===t&&(F(pt),pi._currentValue=H)}var Ge=Object.prototype.hasOwnProperty,En=a.unstable_scheduleCallback,Or=a.unstable_cancelCallback,fy=a.unstable_shouldYield,dy=a.unstable_requestPaint,Xe=a.unstable_now,my=a.unstable_getCurrentPriorityLevel,js=a.unstable_ImmediatePriority,qs=a.unstable_UserBlockingPriority,Ni=a.unstable_NormalPriority,hy=a.unstable_LowPriority,ks=a.unstable_IdlePriority,py=a.log,vy=a.unstable_setDisableYieldValue,Aa=null,he=null;function xn(t){if(typeof py=="function"&&vy(t),he&&typeof he.setStrictMode=="function")try{he.setStrictMode(Aa,t)}catch{}}var pe=Math.clz32?Math.clz32:by,yy=Math.log,gy=Math.LN2;function by(t){return t>>>=0,t===0?32:31-(yy(t)/gy|0)|0}var Ui=256,Bi=4194304;function tl(t){var e=t&42;if(e!==0)return e;switch(t&-t){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 t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Hi(t,e,n){var l=t.pendingLanes;if(l===0)return 0;var u=0,c=t.suspendedLanes,m=t.pingedLanes;t=t.warmLanes;var v=l&134217727;return v!==0?(l=v&~c,l!==0?u=tl(l):(m&=v,m!==0?u=tl(m):n||(n=v&~t,n!==0&&(u=tl(n))))):(v=l&~c,v!==0?u=tl(v):m!==0?u=tl(m):n||(n=l&~t,n!==0&&(u=tl(n)))),u===0?0:e!==0&&e!==u&&(e&c)===0&&(c=u&-u,n=e&-e,c>=n||c===32&&(n&4194048)!==0)?e:u}function wa(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Sy(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 Ys(){var t=Ui;return Ui<<=1,(Ui&4194048)===0&&(Ui=256),t}function Gs(){var t=Bi;return Bi<<=1,(Bi&62914560)===0&&(Bi=4194304),t}function Rr(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Ta(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Ey(t,e,n,l,u,c){var m=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var v=t.entanglements,b=t.expirationTimes,_=t.hiddenUpdates;for(n=m&~n;0<n;){var L=31-pe(n),Y=1<<L;v[L]=0,b[L]=-1;var z=_[L];if(z!==null)for(_[L]=null,L=0;L<z.length;L++){var U=z[L];U!==null&&(U.lane&=-536870913)}n&=~Y}l!==0&&Xs(t,l,0),c!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=c&~(m&~e))}function Xs(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-pe(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|n&4194090}function Vs(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var l=31-pe(n),u=1<<l;u&e|t[l]&e&&(t[l]|=e),n&=~u}}function Cr(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Mr(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Qs(){var t=V.p;return t!==0?t:(t=window.event,t===void 0?32:Th(t.type))}function xy(t,e){var n=V.p;try{return V.p=t,e()}finally{V.p=n}}var An=Math.random().toString(36).slice(2),ee="__reactFiber$"+An,re="__reactProps$"+An,Al="__reactContainer$"+An,_r="__reactEvents$"+An,Ay="__reactListeners$"+An,wy="__reactHandles$"+An,Zs="__reactResources$"+An,Oa="__reactMarker$"+An;function Dr(t){delete t[ee],delete t[re],delete t[_r],delete t[Ay],delete t[wy]}function wl(t){var e=t[ee];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Al]||n[ee]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=sh(t);t!==null;){if(n=t[ee])return n;t=sh(t)}return e}t=n,n=t.parentNode}return null}function Tl(t){if(t=t[ee]||t[Al]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function Ra(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(r(33))}function Ol(t){var e=t[Zs];return e||(e=t[Zs]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Jt(t){t[Oa]=!0}var Ks=new Set,Js={};function el(t,e){Rl(t,e),Rl(t+"Capture",e)}function Rl(t,e){for(Js[t]=e,t=0;t<e.length;t++)Ks.add(e[t])}var Ty=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]*$"),Ps={},Fs={};function Oy(t){return Ge.call(Fs,t)?!0:Ge.call(Ps,t)?!1:Ty.test(t)?Fs[t]=!0:(Ps[t]=!0,!1)}function Li(t,e,n){if(Oy(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function ji(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function nn(t,e,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+l)}}var zr,Ws;function Cl(t){if(zr===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);zr=e&&e[1]||"",Ws=-1<n.stack.indexOf(`
    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+zr+t+Ws}var Nr=!1;function Ur(t,e){if(!t||Nr)return"";Nr=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(U){var z=U}Reflect.construct(t,[],Y)}else{try{Y.call()}catch(U){z=U}t.call(Y.prototype)}}else{try{throw Error()}catch(U){z=U}(Y=t())&&typeof Y.catch=="function"&&Y.catch(function(){})}}catch(U){if(U&&z&&typeof U.stack=="string")return[U.stack,z.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=l.DetermineComponentFrameRoot(),m=c[0],v=c[1];if(m&&v){var b=m.split(`
`),_=v.split(`
`);for(u=l=0;l<b.length&&!b[l].includes("DetermineComponentFrameRoot");)l++;for(;u<_.length&&!_[u].includes("DetermineComponentFrameRoot");)u++;if(l===b.length||u===_.length)for(l=b.length-1,u=_.length-1;1<=l&&0<=u&&b[l]!==_[u];)u--;for(;1<=l&&0<=u;l--,u--)if(b[l]!==_[u]){if(l!==1||u!==1)do if(l--,u--,0>u||b[l]!==_[u]){var L=`
`+b[l].replace(" at new "," at ");return t.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",t.displayName)),L}while(1<=l&&0<=u);break}}}finally{Nr=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?Cl(n):""}function Ry(t){switch(t.tag){case 26:case 27:case 5:return Cl(t.type);case 16:return Cl("Lazy");case 13:return Cl("Suspense");case 19:return Cl("SuspenseList");case 0:case 15:return Ur(t.type,!1);case 11:return Ur(t.type.render,!1);case 1:return Ur(t.type,!0);case 31:return Cl("Activity");default:return""}}function $s(t){try{var e="";do e+=Ry(t),t=t.return;while(t);return e}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}function Te(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Is(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Cy(t){var e=Is(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),l=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var u=n.get,c=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return u.call(this)},set:function(m){l=""+m,c.call(this,m)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return l},setValue:function(m){l=""+m},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function qi(t){t._valueTracker||(t._valueTracker=Cy(t))}function tf(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),l="";return t&&(l=Is(t)?t.checked?"true":"false":t.value),t=l,t!==n?(e.setValue(t),!0):!1}function ki(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var My=/[\n"\\]/g;function Oe(t){return t.replace(My,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Br(t,e,n,l,u,c,m,v){t.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?t.type=m:t.removeAttribute("type"),e!=null?m==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Te(e)):t.value!==""+Te(e)&&(t.value=""+Te(e)):m!=="submit"&&m!=="reset"||t.removeAttribute("value"),e!=null?Hr(t,m,Te(e)):n!=null?Hr(t,m,Te(n)):l!=null&&t.removeAttribute("value"),u==null&&c!=null&&(t.defaultChecked=!!c),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?t.name=""+Te(v):t.removeAttribute("name")}function ef(t,e,n,l,u,c,m,v){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.type=c),e!=null||n!=null){if(!(c!=="submit"&&c!=="reset"||e!=null))return;n=n!=null?""+Te(n):"",e=e!=null?""+Te(e):n,v||e===t.value||(t.value=e),t.defaultValue=e}l=l??u,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=v?t.checked:!!l,t.defaultChecked=!!l,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(t.name=m)}function Hr(t,e,n){e==="number"&&ki(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Ml(t,e,n,l){if(t=t.options,e){e={};for(var u=0;u<n.length;u++)e["$"+n[u]]=!0;for(n=0;n<t.length;n++)u=e.hasOwnProperty("$"+t[n].value),t[n].selected!==u&&(t[n].selected=u),u&&l&&(t[n].defaultSelected=!0)}else{for(n=""+Te(n),e=null,u=0;u<t.length;u++){if(t[u].value===n){t[u].selected=!0,l&&(t[u].defaultSelected=!0);return}e!==null||t[u].disabled||(e=t[u])}e!==null&&(e.selected=!0)}}function nf(t,e,n){if(e!=null&&(e=""+Te(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Te(n):""}function lf(t,e,n,l){if(e==null){if(l!=null){if(n!=null)throw Error(r(92));if(gt(l)){if(1<l.length)throw Error(r(93));l=l[0]}n=l}n==null&&(n=""),e=n}n=Te(e),t.defaultValue=n,l=t.textContent,l===n&&l!==""&&l!==null&&(t.value=l)}function _l(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var _y=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 af(t,e,n){var l=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,n):typeof n!="number"||n===0||_y.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function uf(t,e,n){if(e!=null&&typeof e!="object")throw Error(r(62));if(t=t.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var u in e)l=e[u],e.hasOwnProperty(u)&&n[u]!==l&&af(t,u,l)}else for(var c in e)e.hasOwnProperty(c)&&af(t,c,e[c])}function Lr(t){if(t.indexOf("-")===-1)return!1;switch(t){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 Dy=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"]]),zy=/^[\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 Yi(t){return zy.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var jr=null;function qr(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Dl=null,zl=null;function rf(t){var e=Tl(t);if(e&&(t=e.stateNode)){var n=t[re]||null;t:switch(t=e.stateNode,e.type){case"input":if(Br(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Oe(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var l=n[e];if(l!==t&&l.form===t.form){var u=l[re]||null;if(!u)throw Error(r(90));Br(l,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(e=0;e<n.length;e++)l=n[e],l.form===t.form&&tf(l)}break t;case"textarea":nf(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Ml(t,!!n.multiple,e,!1)}}}var kr=!1;function of(t,e,n){if(kr)return t(e,n);kr=!0;try{var l=t(e);return l}finally{if(kr=!1,(Dl!==null||zl!==null)&&(Ou(),Dl&&(e=Dl,t=zl,zl=Dl=null,rf(e),t)))for(e=0;e<t.length;e++)rf(t[e])}}function Ca(t,e){var n=t.stateNode;if(n===null)return null;var l=n[re]||null;if(l===null)return null;n=l[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(r(231,e,typeof n));return n}var ln=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Yr=!1;if(ln)try{var Ma={};Object.defineProperty(Ma,"passive",{get:function(){Yr=!0}}),window.addEventListener("test",Ma,Ma),window.removeEventListener("test",Ma,Ma)}catch{Yr=!1}var wn=null,Gr=null,Gi=null;function cf(){if(Gi)return Gi;var t,e=Gr,n=e.length,l,u="value"in wn?wn.value:wn.textContent,c=u.length;for(t=0;t<n&&e[t]===u[t];t++);var m=n-t;for(l=1;l<=m&&e[n-l]===u[c-l];l++);return Gi=u.slice(t,1<l?1-l:void 0)}function Xi(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Vi(){return!0}function sf(){return!1}function oe(t){function e(n,l,u,c,m){this._reactName=n,this._targetInst=u,this.type=l,this.nativeEvent=c,this.target=m,this.currentTarget=null;for(var v in t)t.hasOwnProperty(v)&&(n=t[v],this[v]=n?n(c):c[v]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Vi:sf,this.isPropagationStopped=sf,this}return g(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Vi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Vi)},persist:function(){},isPersistent:Vi}),e}var nl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qi=oe(nl),_a=g({},nl,{view:0,detail:0}),Ny=oe(_a),Xr,Vr,Da,Zi=g({},_a,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zr,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Da&&(Da&&t.type==="mousemove"?(Xr=t.screenX-Da.screenX,Vr=t.screenY-Da.screenY):Vr=Xr=0,Da=t),Xr)},movementY:function(t){return"movementY"in t?t.movementY:Vr}}),ff=oe(Zi),Uy=g({},Zi,{dataTransfer:0}),By=oe(Uy),Hy=g({},_a,{relatedTarget:0}),Qr=oe(Hy),Ly=g({},nl,{animationName:0,elapsedTime:0,pseudoElement:0}),jy=oe(Ly),qy=g({},nl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),ky=oe(qy),Yy=g({},nl,{data:0}),df=oe(Yy),Gy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xy={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"},Vy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Qy(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Vy[t])?!!e[t]:!1}function Zr(){return Qy}var Zy=g({},_a,{key:function(t){if(t.key){var e=Gy[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Xi(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Xy[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zr,charCode:function(t){return t.type==="keypress"?Xi(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Xi(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Ky=oe(Zy),Jy=g({},Zi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),mf=oe(Jy),Py=g({},_a,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zr}),Fy=oe(Py),Wy=g({},nl,{propertyName:0,elapsedTime:0,pseudoElement:0}),$y=oe(Wy),Iy=g({},Zi,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),tg=oe(Iy),eg=g({},nl,{newState:0,oldState:0}),ng=oe(eg),lg=[9,13,27,32],Kr=ln&&"CompositionEvent"in window,za=null;ln&&"documentMode"in document&&(za=document.documentMode);var ag=ln&&"TextEvent"in window&&!za,hf=ln&&(!Kr||za&&8<za&&11>=za),pf=" ",vf=!1;function yf(t,e){switch(t){case"keyup":return lg.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Nl=!1;function ig(t,e){switch(t){case"compositionend":return gf(e);case"keypress":return e.which!==32?null:(vf=!0,pf);case"textInput":return t=e.data,t===pf&&vf?null:t;default:return null}}function ug(t,e){if(Nl)return t==="compositionend"||!Kr&&yf(t,e)?(t=cf(),Gi=Gr=wn=null,Nl=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return hf&&e.locale!=="ko"?null:e.data;default:return null}}var rg={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 bf(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!rg[t.type]:e==="textarea"}function Sf(t,e,n,l){Dl?zl?zl.push(l):zl=[l]:Dl=l,e=zu(e,"onChange"),0<e.length&&(n=new Qi("onChange","change",null,n,l),t.push({event:n,listeners:e}))}var Na=null,Ua=null;function og(t){th(t,0)}function Ki(t){var e=Ra(t);if(tf(e))return t}function Ef(t,e){if(t==="change")return e}var xf=!1;if(ln){var Jr;if(ln){var Pr="oninput"in document;if(!Pr){var Af=document.createElement("div");Af.setAttribute("oninput","return;"),Pr=typeof Af.oninput=="function"}Jr=Pr}else Jr=!1;xf=Jr&&(!document.documentMode||9<document.documentMode)}function wf(){Na&&(Na.detachEvent("onpropertychange",Tf),Ua=Na=null)}function Tf(t){if(t.propertyName==="value"&&Ki(Ua)){var e=[];Sf(e,Ua,t,qr(t)),of(og,e)}}function cg(t,e,n){t==="focusin"?(wf(),Na=e,Ua=n,Na.attachEvent("onpropertychange",Tf)):t==="focusout"&&wf()}function sg(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ki(Ua)}function fg(t,e){if(t==="click")return Ki(e)}function dg(t,e){if(t==="input"||t==="change")return Ki(e)}function mg(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var ve=typeof Object.is=="function"?Object.is:mg;function Ba(t,e){if(ve(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),l=Object.keys(e);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var u=n[l];if(!Ge.call(e,u)||!ve(t[u],e[u]))return!1}return!0}function Of(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Rf(t,e){var n=Of(t);t=0;for(var l;n;){if(n.nodeType===3){if(l=t+n.textContent.length,t<=e&&l>=e)return{node:n,offset:e-t};t=l}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Of(n)}}function Cf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Cf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Mf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=ki(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=ki(t.document)}return e}function Fr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var hg=ln&&"documentMode"in document&&11>=document.documentMode,Ul=null,Wr=null,Ha=null,$r=!1;function _f(t,e,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$r||Ul==null||Ul!==ki(l)||(l=Ul,"selectionStart"in l&&Fr(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Ha&&Ba(Ha,l)||(Ha=l,l=zu(Wr,"onSelect"),0<l.length&&(e=new Qi("onSelect","select",null,e,n),t.push({event:e,listeners:l}),e.target=Ul)))}function ll(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Bl={animationend:ll("Animation","AnimationEnd"),animationiteration:ll("Animation","AnimationIteration"),animationstart:ll("Animation","AnimationStart"),transitionrun:ll("Transition","TransitionRun"),transitionstart:ll("Transition","TransitionStart"),transitioncancel:ll("Transition","TransitionCancel"),transitionend:ll("Transition","TransitionEnd")},Ir={},Df={};ln&&(Df=document.createElement("div").style,"AnimationEvent"in window||(delete Bl.animationend.animation,delete Bl.animationiteration.animation,delete Bl.animationstart.animation),"TransitionEvent"in window||delete Bl.transitionend.transition);function al(t){if(Ir[t])return Ir[t];if(!Bl[t])return t;var e=Bl[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Df)return Ir[t]=e[n];return t}var zf=al("animationend"),Nf=al("animationiteration"),Uf=al("animationstart"),pg=al("transitionrun"),vg=al("transitionstart"),yg=al("transitioncancel"),Bf=al("transitionend"),Hf=new Map,to="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(" ");to.push("scrollEnd");function Ue(t,e){Hf.set(t,e),el(e,[t])}var Lf=new WeakMap;function Re(t,e){if(typeof t=="object"&&t!==null){var n=Lf.get(t);return n!==void 0?n:(e={value:t,source:e,stack:$s(e)},Lf.set(t,e),e)}return{value:t,source:e,stack:$s(e)}}var Ce=[],Hl=0,eo=0;function Ji(){for(var t=Hl,e=eo=Hl=0;e<t;){var n=Ce[e];Ce[e++]=null;var l=Ce[e];Ce[e++]=null;var u=Ce[e];Ce[e++]=null;var c=Ce[e];if(Ce[e++]=null,l!==null&&u!==null){var m=l.pending;m===null?u.next=u:(u.next=m.next,m.next=u),l.pending=u}c!==0&&jf(n,u,c)}}function Pi(t,e,n,l){Ce[Hl++]=t,Ce[Hl++]=e,Ce[Hl++]=n,Ce[Hl++]=l,eo|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function no(t,e,n,l){return Pi(t,e,n,l),Fi(t)}function Ll(t,e){return Pi(t,null,null,e),Fi(t)}function jf(t,e,n){t.lanes|=n;var l=t.alternate;l!==null&&(l.lanes|=n);for(var u=!1,c=t.return;c!==null;)c.childLanes|=n,l=c.alternate,l!==null&&(l.childLanes|=n),c.tag===22&&(t=c.stateNode,t===null||t._visibility&1||(u=!0)),t=c,c=c.return;return t.tag===3?(c=t.stateNode,u&&e!==null&&(u=31-pe(n),t=c.hiddenUpdates,l=t[u],l===null?t[u]=[e]:l.push(e),e.lane=n|536870912),c):null}function Fi(t){if(50<ri)throw ri=0,cc=null,Error(r(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var jl={};function gg(t,e,n,l){this.tag=t,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=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ye(t,e,n,l){return new gg(t,e,n,l)}function lo(t){return t=t.prototype,!(!t||!t.isReactComponent)}function an(t,e){var n=t.alternate;return n===null?(n=ye(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function qf(t,e){t.flags&=65011714;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Wi(t,e,n,l,u,c){var m=0;if(l=t,typeof t=="function")lo(t)&&(m=1);else if(typeof t=="string")m=S0(t,n,W.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case ct:return t=ye(31,n,e,u),t.elementType=ct,t.lanes=c,t;case O:return il(n.children,u,c,e);case A:m=8,u|=24;break;case M:return t=ye(12,n,e,u|2),t.elementType=M,t.lanes=c,t;case k:return t=ye(13,n,e,u),t.elementType=k,t.lanes=c,t;case $:return t=ye(19,n,e,u),t.elementType=$,t.lanes=c,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case q:case X:m=10;break t;case Q:m=9;break t;case Z:m=11;break t;case P:m=14;break t;case J:m=16,l=null;break t}m=29,n=Error(r(130,t===null?"null":typeof t,"")),l=null}return e=ye(m,n,e,u),e.elementType=t,e.type=l,e.lanes=c,e}function il(t,e,n,l){return t=ye(7,t,l,e),t.lanes=n,t}function ao(t,e,n){return t=ye(6,t,null,e),t.lanes=n,t}function io(t,e,n){return e=ye(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var ql=[],kl=0,$i=null,Ii=0,Me=[],_e=0,ul=null,un=1,rn="";function rl(t,e){ql[kl++]=Ii,ql[kl++]=$i,$i=t,Ii=e}function kf(t,e,n){Me[_e++]=un,Me[_e++]=rn,Me[_e++]=ul,ul=t;var l=un;t=rn;var u=32-pe(l)-1;l&=~(1<<u),n+=1;var c=32-pe(e)+u;if(30<c){var m=u-u%5;c=(l&(1<<m)-1).toString(32),l>>=m,u-=m,un=1<<32-pe(e)+u|n<<u|l,rn=c+t}else un=1<<c|n<<u|l,rn=t}function uo(t){t.return!==null&&(rl(t,1),kf(t,1,0))}function ro(t){for(;t===$i;)$i=ql[--kl],ql[kl]=null,Ii=ql[--kl],ql[kl]=null;for(;t===ul;)ul=Me[--_e],Me[_e]=null,rn=Me[--_e],Me[_e]=null,un=Me[--_e],Me[_e]=null}var ue=null,jt=null,Tt=!1,ol=null,Ve=!1,oo=Error(r(519));function cl(t){var e=Error(r(418,""));throw qa(Re(e,t)),oo}function Yf(t){var e=t.stateNode,n=t.type,l=t.memoizedProps;switch(e[ee]=t,e[re]=l,n){case"dialog":St("cancel",e),St("close",e);break;case"iframe":case"object":case"embed":St("load",e);break;case"video":case"audio":for(n=0;n<ci.length;n++)St(ci[n],e);break;case"source":St("error",e);break;case"img":case"image":case"link":St("error",e),St("load",e);break;case"details":St("toggle",e);break;case"input":St("invalid",e),ef(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0),qi(e);break;case"select":St("invalid",e);break;case"textarea":St("invalid",e),lf(e,l.value,l.defaultValue,l.children),qi(e)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||l.suppressHydrationWarning===!0||ah(e.textContent,n)?(l.popover!=null&&(St("beforetoggle",e),St("toggle",e)),l.onScroll!=null&&St("scroll",e),l.onScrollEnd!=null&&St("scrollend",e),l.onClick!=null&&(e.onclick=Nu),e=!0):e=!1,e||cl(t)}function Gf(t){for(ue=t.return;ue;)switch(ue.tag){case 5:case 13:Ve=!1;return;case 27:case 3:Ve=!0;return;default:ue=ue.return}}function La(t){if(t!==ue)return!1;if(!Tt)return Gf(t),Tt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||Tc(t.type,t.memoizedProps)),n=!n),n&&jt&&cl(t),Gf(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8)if(n=t.data,n==="/$"){if(e===0){jt=He(t.nextSibling);break t}e--}else n!=="$"&&n!=="$!"&&n!=="$?"||e++;t=t.nextSibling}jt=null}}else e===27?(e=jt,kn(t.type)?(t=Mc,Mc=null,jt=t):jt=e):jt=ue?He(t.stateNode.nextSibling):null;return!0}function ja(){jt=ue=null,Tt=!1}function Xf(){var t=ol;return t!==null&&(fe===null?fe=t:fe.push.apply(fe,t),ol=null),t}function qa(t){ol===null?ol=[t]:ol.push(t)}var co=G(null),sl=null,on=null;function Tn(t,e,n){K(co,e._currentValue),e._currentValue=n}function cn(t){t._currentValue=co.current,F(co)}function so(t,e,n){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===n)break;t=t.return}}function fo(t,e,n,l){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var c=u.dependencies;if(c!==null){var m=u.child;c=c.firstContext;t:for(;c!==null;){var v=c;c=u;for(var b=0;b<e.length;b++)if(v.context===e[b]){c.lanes|=n,v=c.alternate,v!==null&&(v.lanes|=n),so(c.return,n,t),l||(m=null);break t}c=v.next}}else if(u.tag===18){if(m=u.return,m===null)throw Error(r(341));m.lanes|=n,c=m.alternate,c!==null&&(c.lanes|=n),so(m,n,t),m=null}else m=u.child;if(m!==null)m.return=u;else for(m=u;m!==null;){if(m===t){m=null;break}if(u=m.sibling,u!==null){u.return=m.return,m=u;break}m=m.return}u=m}}function ka(t,e,n,l){t=null;for(var u=e,c=!1;u!==null;){if(!c){if((u.flags&524288)!==0)c=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var m=u.alternate;if(m===null)throw Error(r(387));if(m=m.memoizedProps,m!==null){var v=u.type;ve(u.pendingProps.value,m.value)||(t!==null?t.push(v):t=[v])}}else if(u===pt.current){if(m=u.alternate,m===null)throw Error(r(387));m.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(pi):t=[pi])}u=u.return}t!==null&&fo(e,t,n,l),e.flags|=262144}function tu(t){for(t=t.firstContext;t!==null;){if(!ve(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function fl(t){sl=t,on=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ne(t){return Vf(sl,t)}function eu(t,e){return sl===null&&fl(t),Vf(t,e)}function Vf(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},on===null){if(t===null)throw Error(r(308));on=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else on=on.next=e;return n}var bg=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},Sg=a.unstable_scheduleCallback,Eg=a.unstable_NormalPriority,Qt={$$typeof:X,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function mo(){return{controller:new bg,data:new Map,refCount:0}}function Ya(t){t.refCount--,t.refCount===0&&Sg(Eg,function(){t.controller.abort()})}var Ga=null,ho=0,Yl=0,Gl=null;function xg(t,e){if(Ga===null){var n=Ga=[];ho=0,Yl=vc(),Gl={status:"pending",value:void 0,then:function(l){n.push(l)}}}return ho++,e.then(Qf,Qf),e}function Qf(){if(--ho===0&&Ga!==null){Gl!==null&&(Gl.status="fulfilled");var t=Ga;Ga=null,Yl=0,Gl=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Ag(t,e){var n=[],l={status:"pending",value:null,reason:null,then:function(u){n.push(u)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var u=0;u<n.length;u++)(0,n[u])(e)},function(u){for(l.status="rejected",l.reason=u,u=0;u<n.length;u++)(0,n[u])(void 0)}),l}var Zf=N.S;N.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&xg(t,e),Zf!==null&&Zf(t,e)};var dl=G(null);function po(){var t=dl.current;return t!==null?t:Bt.pooledCache}function nu(t,e){e===null?K(dl,dl.current):K(dl,e.pool)}function Kf(){var t=po();return t===null?null:{parent:Qt._currentValue,pool:t}}var Xa=Error(r(460)),Jf=Error(r(474)),lu=Error(r(542)),vo={then:function(){}};function Pf(t){return t=t.status,t==="fulfilled"||t==="rejected"}function au(){}function Ff(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(au,au),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,$f(t),t;default:if(typeof e.status=="string")e.then(au,au);else{if(t=Bt,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var u=e;u.status="fulfilled",u.value=l}},function(l){if(e.status==="pending"){var u=e;u.status="rejected",u.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,$f(t),t}throw Va=e,Xa}}var Va=null;function Wf(){if(Va===null)throw Error(r(459));var t=Va;return Va=null,t}function $f(t){if(t===Xa||t===lu)throw Error(r(483))}var On=!1;function yo(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function go(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Rn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Cn(t,e,n){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Ct&2)!==0){var u=l.pending;return u===null?e.next=e:(e.next=u.next,u.next=e),l.pending=e,e=Fi(t),jf(t,null,n),e}return Pi(t,l,e,n),Fi(t)}function Qa(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,Vs(t,n)}}function bo(t,e){var n=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var u=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var m={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?u=c=m:c=c.next=m,n=n.next}while(n!==null);c===null?u=c=e:c=c.next=e}else u=c=e;n={baseState:l.baseState,firstBaseUpdate:u,lastBaseUpdate:c,shared:l.shared,callbacks:l.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var So=!1;function Za(){if(So){var t=Gl;if(t!==null)throw t}}function Ka(t,e,n,l){So=!1;var u=t.updateQueue;On=!1;var c=u.firstBaseUpdate,m=u.lastBaseUpdate,v=u.shared.pending;if(v!==null){u.shared.pending=null;var b=v,_=b.next;b.next=null,m===null?c=_:m.next=_,m=b;var L=t.alternate;L!==null&&(L=L.updateQueue,v=L.lastBaseUpdate,v!==m&&(v===null?L.firstBaseUpdate=_:v.next=_,L.lastBaseUpdate=b))}if(c!==null){var Y=u.baseState;m=0,L=_=b=null,v=c;do{var z=v.lane&-536870913,U=z!==v.lane;if(U?(Et&z)===z:(l&z)===z){z!==0&&z===Yl&&(So=!0),L!==null&&(L=L.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});t:{var ut=t,lt=v;z=e;var Nt=n;switch(lt.tag){case 1:if(ut=lt.payload,typeof ut=="function"){Y=ut.call(Nt,Y,z);break t}Y=ut;break t;case 3:ut.flags=ut.flags&-65537|128;case 0:if(ut=lt.payload,z=typeof ut=="function"?ut.call(Nt,Y,z):ut,z==null)break t;Y=g({},Y,z);break t;case 2:On=!0}}z=v.callback,z!==null&&(t.flags|=64,U&&(t.flags|=8192),U=u.callbacks,U===null?u.callbacks=[z]:U.push(z))}else U={lane:z,tag:v.tag,payload:v.payload,callback:v.callback,next:null},L===null?(_=L=U,b=Y):L=L.next=U,m|=z;if(v=v.next,v===null){if(v=u.shared.pending,v===null)break;U=v,v=U.next,U.next=null,u.lastBaseUpdate=U,u.shared.pending=null}}while(!0);L===null&&(b=Y),u.baseState=b,u.firstBaseUpdate=_,u.lastBaseUpdate=L,c===null&&(u.shared.lanes=0),Hn|=m,t.lanes=m,t.memoizedState=Y}}function If(t,e){if(typeof t!="function")throw Error(r(191,t));t.call(e)}function td(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)If(n[t],e)}var Xl=G(null),iu=G(0);function ed(t,e){t=vn,K(iu,t),K(Xl,e),vn=t|e.baseLanes}function Eo(){K(iu,vn),K(Xl,Xl.current)}function xo(){vn=iu.current,F(Xl),F(iu)}var Mn=0,mt=null,Dt=null,Xt=null,uu=!1,Vl=!1,ml=!1,ru=0,Ja=0,Ql=null,wg=0;function kt(){throw Error(r(321))}function Ao(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!ve(t[n],e[n]))return!1;return!0}function wo(t,e,n,l,u,c){return Mn=c,mt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,N.H=t===null||t.memoizedState===null?jd:qd,ml=!1,c=n(l,u),ml=!1,Vl&&(c=ld(e,n,l,u)),nd(t),c}function nd(t){N.H=mu;var e=Dt!==null&&Dt.next!==null;if(Mn=0,Xt=Dt=mt=null,uu=!1,Ja=0,Ql=null,e)throw Error(r(300));t===null||Pt||(t=t.dependencies,t!==null&&tu(t)&&(Pt=!0))}function ld(t,e,n,l){mt=t;var u=0;do{if(Vl&&(Ql=null),Ja=0,Vl=!1,25<=u)throw Error(r(301));if(u+=1,Xt=Dt=null,t.updateQueue!=null){var c=t.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}N.H=Dg,c=e(n,l)}while(Vl);return c}function Tg(){var t=N.H,e=t.useState()[0];return e=typeof e.then=="function"?Pa(e):e,t=t.useState()[0],(Dt!==null?Dt.memoizedState:null)!==t&&(mt.flags|=1024),e}function To(){var t=ru!==0;return ru=0,t}function Oo(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function Ro(t){if(uu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}uu=!1}Mn=0,Xt=Dt=mt=null,Vl=!1,Ja=ru=0,Ql=null}function ce(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xt===null?mt.memoizedState=Xt=t:Xt=Xt.next=t,Xt}function Vt(){if(Dt===null){var t=mt.alternate;t=t!==null?t.memoizedState:null}else t=Dt.next;var e=Xt===null?mt.memoizedState:Xt.next;if(e!==null)Xt=e,Dt=t;else{if(t===null)throw mt.alternate===null?Error(r(467)):Error(r(310));Dt=t,t={memoizedState:Dt.memoizedState,baseState:Dt.baseState,baseQueue:Dt.baseQueue,queue:Dt.queue,next:null},Xt===null?mt.memoizedState=Xt=t:Xt=Xt.next=t}return Xt}function Co(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Pa(t){var e=Ja;return Ja+=1,Ql===null&&(Ql=[]),t=Ff(Ql,t,e),e=mt,(Xt===null?e.memoizedState:Xt.next)===null&&(e=e.alternate,N.H=e===null||e.memoizedState===null?jd:qd),t}function ou(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Pa(t);if(t.$$typeof===X)return ne(t)}throw Error(r(438,String(t)))}function Mo(t){var e=null,n=mt.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var l=mt.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(u){return u.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=Co(),mt.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),l=0;l<t;l++)n[l]=At;return e.index++,n}function sn(t,e){return typeof e=="function"?e(t):e}function cu(t){var e=Vt();return _o(e,Dt,t)}function _o(t,e,n){var l=t.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=n;var u=t.baseQueue,c=l.pending;if(c!==null){if(u!==null){var m=u.next;u.next=c.next,c.next=m}e.baseQueue=u=c,l.pending=null}if(c=t.baseState,u===null)t.memoizedState=c;else{e=u.next;var v=m=null,b=null,_=e,L=!1;do{var Y=_.lane&-536870913;if(Y!==_.lane?(Et&Y)===Y:(Mn&Y)===Y){var z=_.revertLane;if(z===0)b!==null&&(b=b.next={lane:0,revertLane:0,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null}),Y===Yl&&(L=!0);else if((Mn&z)===z){_=_.next,z===Yl&&(L=!0);continue}else Y={lane:0,revertLane:_.revertLane,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},b===null?(v=b=Y,m=c):b=b.next=Y,mt.lanes|=z,Hn|=z;Y=_.action,ml&&n(c,Y),c=_.hasEagerState?_.eagerState:n(c,Y)}else z={lane:Y,revertLane:_.revertLane,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},b===null?(v=b=z,m=c):b=b.next=z,mt.lanes|=Y,Hn|=Y;_=_.next}while(_!==null&&_!==e);if(b===null?m=c:b.next=v,!ve(c,t.memoizedState)&&(Pt=!0,L&&(n=Gl,n!==null)))throw n;t.memoizedState=c,t.baseState=m,t.baseQueue=b,l.lastRenderedState=c}return u===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function Do(t){var e=Vt(),n=e.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=t;var l=n.dispatch,u=n.pending,c=e.memoizedState;if(u!==null){n.pending=null;var m=u=u.next;do c=t(c,m.action),m=m.next;while(m!==u);ve(c,e.memoizedState)||(Pt=!0),e.memoizedState=c,e.baseQueue===null&&(e.baseState=c),n.lastRenderedState=c}return[c,l]}function ad(t,e,n){var l=mt,u=Vt(),c=Tt;if(c){if(n===void 0)throw Error(r(407));n=n()}else n=e();var m=!ve((Dt||u).memoizedState,n);m&&(u.memoizedState=n,Pt=!0),u=u.queue;var v=rd.bind(null,l,u,t);if(Fa(2048,8,v,[t]),u.getSnapshot!==e||m||Xt!==null&&Xt.memoizedState.tag&1){if(l.flags|=2048,Zl(9,su(),ud.bind(null,l,u,n,e),null),Bt===null)throw Error(r(349));c||(Mn&124)!==0||id(l,e,n)}return n}function id(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=mt.updateQueue,e===null?(e=Co(),mt.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function ud(t,e,n,l){e.value=n,e.getSnapshot=l,od(e)&&cd(t)}function rd(t,e,n){return n(function(){od(e)&&cd(t)})}function od(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!ve(t,n)}catch{return!0}}function cd(t){var e=Ll(t,2);e!==null&&xe(e,t,2)}function zo(t){var e=ce();if(typeof t=="function"){var n=t;if(t=n(),ml){xn(!0);try{n()}finally{xn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:sn,lastRenderedState:t},e}function sd(t,e,n,l){return t.baseState=n,_o(t,Dt,typeof l=="function"?l:sn)}function Og(t,e,n,l,u){if(du(t))throw Error(r(485));if(t=e.action,t!==null){var c={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){c.listeners.push(m)}};N.T!==null?n(!0):c.isTransition=!1,l(c),n=e.pending,n===null?(c.next=e.pending=c,fd(e,c)):(c.next=n.next,e.pending=n.next=c)}}function fd(t,e){var n=e.action,l=e.payload,u=t.state;if(e.isTransition){var c=N.T,m={};N.T=m;try{var v=n(u,l),b=N.S;b!==null&&b(m,v),dd(t,e,v)}catch(_){No(t,e,_)}finally{N.T=c}}else try{c=n(u,l),dd(t,e,c)}catch(_){No(t,e,_)}}function dd(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){md(t,e,l)},function(l){return No(t,e,l)}):md(t,e,n)}function md(t,e,n){e.status="fulfilled",e.value=n,hd(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,fd(t,n)))}function No(t,e,n){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=n,hd(e),e=e.next;while(e!==l)}t.action=null}function hd(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function pd(t,e){return e}function vd(t,e){if(Tt){var n=Bt.formState;if(n!==null){t:{var l=mt;if(Tt){if(jt){e:{for(var u=jt,c=Ve;u.nodeType!==8;){if(!c){u=null;break e}if(u=He(u.nextSibling),u===null){u=null;break e}}c=u.data,u=c==="F!"||c==="F"?u:null}if(u){jt=He(u.nextSibling),l=u.data==="F!";break t}}cl(l)}l=!1}l&&(e=n[0])}}return n=ce(),n.memoizedState=n.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pd,lastRenderedState:e},n.queue=l,n=Bd.bind(null,mt,l),l.dispatch=n,l=zo(!1),c=jo.bind(null,mt,!1,l.queue),l=ce(),u={state:e,dispatch:null,action:t,pending:null},l.queue=u,n=Og.bind(null,mt,u,c,n),u.dispatch=n,l.memoizedState=t,[e,n,!1]}function yd(t){var e=Vt();return gd(e,Dt,t)}function gd(t,e,n){if(e=_o(t,e,pd)[0],t=cu(sn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=Pa(e)}catch(m){throw m===Xa?lu:m}else l=e;e=Vt();var u=e.queue,c=u.dispatch;return n!==e.memoizedState&&(mt.flags|=2048,Zl(9,su(),Rg.bind(null,u,n),null)),[l,c,t]}function Rg(t,e){t.action=e}function bd(t){var e=Vt(),n=Dt;if(n!==null)return gd(e,n,t);Vt(),e=e.memoizedState,n=Vt();var l=n.queue.dispatch;return n.memoizedState=t,[e,l,!1]}function Zl(t,e,n,l){return t={tag:t,create:n,deps:l,inst:e,next:null},e=mt.updateQueue,e===null&&(e=Co(),mt.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(l=n.next,n.next=t,t.next=l,e.lastEffect=t),t}function su(){return{destroy:void 0,resource:void 0}}function Sd(){return Vt().memoizedState}function fu(t,e,n,l){var u=ce();l=l===void 0?null:l,mt.flags|=t,u.memoizedState=Zl(1|e,su(),n,l)}function Fa(t,e,n,l){var u=Vt();l=l===void 0?null:l;var c=u.memoizedState.inst;Dt!==null&&l!==null&&Ao(l,Dt.memoizedState.deps)?u.memoizedState=Zl(e,c,n,l):(mt.flags|=t,u.memoizedState=Zl(1|e,c,n,l))}function Ed(t,e){fu(8390656,8,t,e)}function xd(t,e){Fa(2048,8,t,e)}function Ad(t,e){return Fa(4,2,t,e)}function wd(t,e){return Fa(4,4,t,e)}function Td(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Od(t,e,n){n=n!=null?n.concat([t]):null,Fa(4,4,Td.bind(null,e,t),n)}function Uo(){}function Rd(t,e){var n=Vt();e=e===void 0?null:e;var l=n.memoizedState;return e!==null&&Ao(e,l[1])?l[0]:(n.memoizedState=[t,e],t)}function Cd(t,e){var n=Vt();e=e===void 0?null:e;var l=n.memoizedState;if(e!==null&&Ao(e,l[1]))return l[0];if(l=t(),ml){xn(!0);try{t()}finally{xn(!1)}}return n.memoizedState=[l,e],l}function Bo(t,e,n){return n===void 0||(Mn&1073741824)!==0?t.memoizedState=e:(t.memoizedState=n,t=Dm(),mt.lanes|=t,Hn|=t,n)}function Md(t,e,n,l){return ve(n,e)?n:Xl.current!==null?(t=Bo(t,n,l),ve(t,e)||(Pt=!0),t):(Mn&42)===0?(Pt=!0,t.memoizedState=n):(t=Dm(),mt.lanes|=t,Hn|=t,e)}function _d(t,e,n,l,u){var c=V.p;V.p=c!==0&&8>c?c:8;var m=N.T,v={};N.T=v,jo(t,!1,e,n);try{var b=u(),_=N.S;if(_!==null&&_(v,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var L=Ag(b,l);Wa(t,e,L,Ee(t))}else Wa(t,e,l,Ee(t))}catch(Y){Wa(t,e,{then:function(){},status:"rejected",reason:Y},Ee())}finally{V.p=c,N.T=m}}function Cg(){}function Ho(t,e,n,l){if(t.tag!==5)throw Error(r(476));var u=Dd(t).queue;_d(t,u,e,H,n===null?Cg:function(){return zd(t),n(l)})}function Dd(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:H,baseState:H,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:sn,lastRenderedState:H},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:sn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function zd(t){var e=Dd(t).next.queue;Wa(t,e,{},Ee())}function Lo(){return ne(pi)}function Nd(){return Vt().memoizedState}function Ud(){return Vt().memoizedState}function Mg(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=Ee();t=Rn(n);var l=Cn(e,t,n);l!==null&&(xe(l,e,n),Qa(l,e,n)),e={cache:mo()},t.payload=e;return}e=e.return}}function _g(t,e,n){var l=Ee();n={lane:l,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},du(t)?Hd(e,n):(n=no(t,e,n,l),n!==null&&(xe(n,t,l),Ld(n,e,l)))}function Bd(t,e,n){var l=Ee();Wa(t,e,n,l)}function Wa(t,e,n,l){var u={lane:l,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(du(t))Hd(e,u);else{var c=t.alternate;if(t.lanes===0&&(c===null||c.lanes===0)&&(c=e.lastRenderedReducer,c!==null))try{var m=e.lastRenderedState,v=c(m,n);if(u.hasEagerState=!0,u.eagerState=v,ve(v,m))return Pi(t,e,u,0),Bt===null&&Ji(),!1}catch{}finally{}if(n=no(t,e,u,l),n!==null)return xe(n,t,l),Ld(n,e,l),!0}return!1}function jo(t,e,n,l){if(l={lane:2,revertLane:vc(),action:l,hasEagerState:!1,eagerState:null,next:null},du(t)){if(e)throw Error(r(479))}else e=no(t,n,l,2),e!==null&&xe(e,t,2)}function du(t){var e=t.alternate;return t===mt||e!==null&&e===mt}function Hd(t,e){Vl=uu=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Ld(t,e,n){if((n&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,Vs(t,n)}}var mu={readContext:ne,use:ou,useCallback:kt,useContext:kt,useEffect:kt,useImperativeHandle:kt,useLayoutEffect:kt,useInsertionEffect:kt,useMemo:kt,useReducer:kt,useRef:kt,useState:kt,useDebugValue:kt,useDeferredValue:kt,useTransition:kt,useSyncExternalStore:kt,useId:kt,useHostTransitionStatus:kt,useFormState:kt,useActionState:kt,useOptimistic:kt,useMemoCache:kt,useCacheRefresh:kt},jd={readContext:ne,use:ou,useCallback:function(t,e){return ce().memoizedState=[t,e===void 0?null:e],t},useContext:ne,useEffect:Ed,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,fu(4194308,4,Td.bind(null,e,t),n)},useLayoutEffect:function(t,e){return fu(4194308,4,t,e)},useInsertionEffect:function(t,e){fu(4,2,t,e)},useMemo:function(t,e){var n=ce();e=e===void 0?null:e;var l=t();if(ml){xn(!0);try{t()}finally{xn(!1)}}return n.memoizedState=[l,e],l},useReducer:function(t,e,n){var l=ce();if(n!==void 0){var u=n(e);if(ml){xn(!0);try{n(e)}finally{xn(!1)}}}else u=e;return l.memoizedState=l.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},l.queue=t,t=t.dispatch=_g.bind(null,mt,t),[l.memoizedState,t]},useRef:function(t){var e=ce();return t={current:t},e.memoizedState=t},useState:function(t){t=zo(t);var e=t.queue,n=Bd.bind(null,mt,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:Uo,useDeferredValue:function(t,e){var n=ce();return Bo(n,t,e)},useTransition:function(){var t=zo(!1);return t=_d.bind(null,mt,t.queue,!0,!1),ce().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var l=mt,u=ce();if(Tt){if(n===void 0)throw Error(r(407));n=n()}else{if(n=e(),Bt===null)throw Error(r(349));(Et&124)!==0||id(l,e,n)}u.memoizedState=n;var c={value:n,getSnapshot:e};return u.queue=c,Ed(rd.bind(null,l,c,t),[t]),l.flags|=2048,Zl(9,su(),ud.bind(null,l,c,n,e),null),n},useId:function(){var t=ce(),e=Bt.identifierPrefix;if(Tt){var n=rn,l=un;n=(l&~(1<<32-pe(l)-1)).toString(32)+n,e="«"+e+"R"+n,n=ru++,0<n&&(e+="H"+n.toString(32)),e+="»"}else n=wg++,e="«"+e+"r"+n.toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:Lo,useFormState:vd,useActionState:vd,useOptimistic:function(t){var e=ce();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=jo.bind(null,mt,!0,n),n.dispatch=e,[t,e]},useMemoCache:Mo,useCacheRefresh:function(){return ce().memoizedState=Mg.bind(null,mt)}},qd={readContext:ne,use:ou,useCallback:Rd,useContext:ne,useEffect:xd,useImperativeHandle:Od,useInsertionEffect:Ad,useLayoutEffect:wd,useMemo:Cd,useReducer:cu,useRef:Sd,useState:function(){return cu(sn)},useDebugValue:Uo,useDeferredValue:function(t,e){var n=Vt();return Md(n,Dt.memoizedState,t,e)},useTransition:function(){var t=cu(sn)[0],e=Vt().memoizedState;return[typeof t=="boolean"?t:Pa(t),e]},useSyncExternalStore:ad,useId:Nd,useHostTransitionStatus:Lo,useFormState:yd,useActionState:yd,useOptimistic:function(t,e){var n=Vt();return sd(n,Dt,t,e)},useMemoCache:Mo,useCacheRefresh:Ud},Dg={readContext:ne,use:ou,useCallback:Rd,useContext:ne,useEffect:xd,useImperativeHandle:Od,useInsertionEffect:Ad,useLayoutEffect:wd,useMemo:Cd,useReducer:Do,useRef:Sd,useState:function(){return Do(sn)},useDebugValue:Uo,useDeferredValue:function(t,e){var n=Vt();return Dt===null?Bo(n,t,e):Md(n,Dt.memoizedState,t,e)},useTransition:function(){var t=Do(sn)[0],e=Vt().memoizedState;return[typeof t=="boolean"?t:Pa(t),e]},useSyncExternalStore:ad,useId:Nd,useHostTransitionStatus:Lo,useFormState:bd,useActionState:bd,useOptimistic:function(t,e){var n=Vt();return Dt!==null?sd(n,Dt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:Mo,useCacheRefresh:Ud},Kl=null,$a=0;function hu(t){var e=$a;return $a+=1,Kl===null&&(Kl=[]),Ff(Kl,t,e)}function Ia(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function pu(t,e){throw e.$$typeof===S?Error(r(525)):(t=Object.prototype.toString.call(e),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function kd(t){var e=t._init;return e(t._payload)}function Yd(t){function e(w,x){if(t){var C=w.deletions;C===null?(w.deletions=[x],w.flags|=16):C.push(x)}}function n(w,x){if(!t)return null;for(;x!==null;)e(w,x),x=x.sibling;return null}function l(w){for(var x=new Map;w!==null;)w.key!==null?x.set(w.key,w):x.set(w.index,w),w=w.sibling;return x}function u(w,x){return w=an(w,x),w.index=0,w.sibling=null,w}function c(w,x,C){return w.index=C,t?(C=w.alternate,C!==null?(C=C.index,C<x?(w.flags|=67108866,x):C):(w.flags|=67108866,x)):(w.flags|=1048576,x)}function m(w){return t&&w.alternate===null&&(w.flags|=67108866),w}function v(w,x,C,j){return x===null||x.tag!==6?(x=ao(C,w.mode,j),x.return=w,x):(x=u(x,C),x.return=w,x)}function b(w,x,C,j){var I=C.type;return I===O?L(w,x,C.props.children,j,C.key):x!==null&&(x.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===J&&kd(I)===x.type)?(x=u(x,C.props),Ia(x,C),x.return=w,x):(x=Wi(C.type,C.key,C.props,null,w.mode,j),Ia(x,C),x.return=w,x)}function _(w,x,C,j){return x===null||x.tag!==4||x.stateNode.containerInfo!==C.containerInfo||x.stateNode.implementation!==C.implementation?(x=io(C,w.mode,j),x.return=w,x):(x=u(x,C.children||[]),x.return=w,x)}function L(w,x,C,j,I){return x===null||x.tag!==7?(x=il(C,w.mode,j,I),x.return=w,x):(x=u(x,C),x.return=w,x)}function Y(w,x,C){if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return x=ao(""+x,w.mode,C),x.return=w,x;if(typeof x=="object"&&x!==null){switch(x.$$typeof){case T:return C=Wi(x.type,x.key,x.props,null,w.mode,C),Ia(C,x),C.return=w,C;case D:return x=io(x,w.mode,C),x.return=w,x;case J:var j=x._init;return x=j(x._payload),Y(w,x,C)}if(gt(x)||yt(x))return x=il(x,w.mode,C,null),x.return=w,x;if(typeof x.then=="function")return Y(w,hu(x),C);if(x.$$typeof===X)return Y(w,eu(w,x),C);pu(w,x)}return null}function z(w,x,C,j){var I=x!==null?x.key:null;if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return I!==null?null:v(w,x,""+C,j);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case T:return C.key===I?b(w,x,C,j):null;case D:return C.key===I?_(w,x,C,j):null;case J:return I=C._init,C=I(C._payload),z(w,x,C,j)}if(gt(C)||yt(C))return I!==null?null:L(w,x,C,j,null);if(typeof C.then=="function")return z(w,x,hu(C),j);if(C.$$typeof===X)return z(w,x,eu(w,C),j);pu(w,C)}return null}function U(w,x,C,j,I){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return w=w.get(C)||null,v(x,w,""+j,I);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case T:return w=w.get(j.key===null?C:j.key)||null,b(x,w,j,I);case D:return w=w.get(j.key===null?C:j.key)||null,_(x,w,j,I);case J:var vt=j._init;return j=vt(j._payload),U(w,x,C,j,I)}if(gt(j)||yt(j))return w=w.get(C)||null,L(x,w,j,I,null);if(typeof j.then=="function")return U(w,x,C,hu(j),I);if(j.$$typeof===X)return U(w,x,C,eu(x,j),I);pu(x,j)}return null}function ut(w,x,C,j){for(var I=null,vt=null,nt=x,at=x=0,Wt=null;nt!==null&&at<C.length;at++){nt.index>at?(Wt=nt,nt=null):Wt=nt.sibling;var wt=z(w,nt,C[at],j);if(wt===null){nt===null&&(nt=Wt);break}t&&nt&&wt.alternate===null&&e(w,nt),x=c(wt,x,at),vt===null?I=wt:vt.sibling=wt,vt=wt,nt=Wt}if(at===C.length)return n(w,nt),Tt&&rl(w,at),I;if(nt===null){for(;at<C.length;at++)nt=Y(w,C[at],j),nt!==null&&(x=c(nt,x,at),vt===null?I=nt:vt.sibling=nt,vt=nt);return Tt&&rl(w,at),I}for(nt=l(nt);at<C.length;at++)Wt=U(nt,w,at,C[at],j),Wt!==null&&(t&&Wt.alternate!==null&&nt.delete(Wt.key===null?at:Wt.key),x=c(Wt,x,at),vt===null?I=Wt:vt.sibling=Wt,vt=Wt);return t&&nt.forEach(function(Qn){return e(w,Qn)}),Tt&&rl(w,at),I}function lt(w,x,C,j){if(C==null)throw Error(r(151));for(var I=null,vt=null,nt=x,at=x=0,Wt=null,wt=C.next();nt!==null&&!wt.done;at++,wt=C.next()){nt.index>at?(Wt=nt,nt=null):Wt=nt.sibling;var Qn=z(w,nt,wt.value,j);if(Qn===null){nt===null&&(nt=Wt);break}t&&nt&&Qn.alternate===null&&e(w,nt),x=c(Qn,x,at),vt===null?I=Qn:vt.sibling=Qn,vt=Qn,nt=Wt}if(wt.done)return n(w,nt),Tt&&rl(w,at),I;if(nt===null){for(;!wt.done;at++,wt=C.next())wt=Y(w,wt.value,j),wt!==null&&(x=c(wt,x,at),vt===null?I=wt:vt.sibling=wt,vt=wt);return Tt&&rl(w,at),I}for(nt=l(nt);!wt.done;at++,wt=C.next())wt=U(nt,w,at,wt.value,j),wt!==null&&(t&&wt.alternate!==null&&nt.delete(wt.key===null?at:wt.key),x=c(wt,x,at),vt===null?I=wt:vt.sibling=wt,vt=wt);return t&&nt.forEach(function(z0){return e(w,z0)}),Tt&&rl(w,at),I}function Nt(w,x,C,j){if(typeof C=="object"&&C!==null&&C.type===O&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case T:t:{for(var I=C.key;x!==null;){if(x.key===I){if(I=C.type,I===O){if(x.tag===7){n(w,x.sibling),j=u(x,C.props.children),j.return=w,w=j;break t}}else if(x.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===J&&kd(I)===x.type){n(w,x.sibling),j=u(x,C.props),Ia(j,C),j.return=w,w=j;break t}n(w,x);break}else e(w,x);x=x.sibling}C.type===O?(j=il(C.props.children,w.mode,j,C.key),j.return=w,w=j):(j=Wi(C.type,C.key,C.props,null,w.mode,j),Ia(j,C),j.return=w,w=j)}return m(w);case D:t:{for(I=C.key;x!==null;){if(x.key===I)if(x.tag===4&&x.stateNode.containerInfo===C.containerInfo&&x.stateNode.implementation===C.implementation){n(w,x.sibling),j=u(x,C.children||[]),j.return=w,w=j;break t}else{n(w,x);break}else e(w,x);x=x.sibling}j=io(C,w.mode,j),j.return=w,w=j}return m(w);case J:return I=C._init,C=I(C._payload),Nt(w,x,C,j)}if(gt(C))return ut(w,x,C,j);if(yt(C)){if(I=yt(C),typeof I!="function")throw Error(r(150));return C=I.call(C),lt(w,x,C,j)}if(typeof C.then=="function")return Nt(w,x,hu(C),j);if(C.$$typeof===X)return Nt(w,x,eu(w,C),j);pu(w,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(C=""+C,x!==null&&x.tag===6?(n(w,x.sibling),j=u(x,C),j.return=w,w=j):(n(w,x),j=ao(C,w.mode,j),j.return=w,w=j),m(w)):n(w,x)}return function(w,x,C,j){try{$a=0;var I=Nt(w,x,C,j);return Kl=null,I}catch(nt){if(nt===Xa||nt===lu)throw nt;var vt=ye(29,nt,null,w.mode);return vt.lanes=j,vt.return=w,vt}finally{}}}var Jl=Yd(!0),Gd=Yd(!1),De=G(null),Qe=null;function _n(t){var e=t.alternate;K(Zt,Zt.current&1),K(De,t),Qe===null&&(e===null||Xl.current!==null||e.memoizedState!==null)&&(Qe=t)}function Xd(t){if(t.tag===22){if(K(Zt,Zt.current),K(De,t),Qe===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(Qe=t)}}else Dn()}function Dn(){K(Zt,Zt.current),K(De,De.current)}function fn(t){F(De),Qe===t&&(Qe=null),F(Zt)}var Zt=G(0);function vu(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||Cc(n)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function qo(t,e,n,l){e=t.memoizedState,n=n(l,e),n=n==null?e:g({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var ko={enqueueSetState:function(t,e,n){t=t._reactInternals;var l=Ee(),u=Rn(l);u.payload=e,n!=null&&(u.callback=n),e=Cn(t,u,l),e!==null&&(xe(e,t,l),Qa(e,t,l))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var l=Ee(),u=Rn(l);u.tag=1,u.payload=e,n!=null&&(u.callback=n),e=Cn(t,u,l),e!==null&&(xe(e,t,l),Qa(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Ee(),l=Rn(n);l.tag=2,e!=null&&(l.callback=e),e=Cn(t,l,n),e!==null&&(xe(e,t,n),Qa(e,t,n))}};function Vd(t,e,n,l,u,c,m){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,c,m):e.prototype&&e.prototype.isPureReactComponent?!Ba(n,l)||!Ba(u,c):!0}function Qd(t,e,n,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,l),e.state!==t&&ko.enqueueReplaceState(e,e.state,null)}function hl(t,e){var n=e;if("ref"in e){n={};for(var l in e)l!=="ref"&&(n[l]=e[l])}if(t=t.defaultProps){n===e&&(n=g({},n));for(var u in t)n[u]===void 0&&(n[u]=t[u])}return n}var yu=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Zd(t){yu(t)}function Kd(t){console.error(t)}function Jd(t){yu(t)}function gu(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function Pd(t,e,n){try{var l=t.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function Yo(t,e,n){return n=Rn(n),n.tag=3,n.payload={element:null},n.callback=function(){gu(t,e)},n}function Fd(t){return t=Rn(t),t.tag=3,t}function Wd(t,e,n,l){var u=n.type.getDerivedStateFromError;if(typeof u=="function"){var c=l.value;t.payload=function(){return u(c)},t.callback=function(){Pd(e,n,l)}}var m=n.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(t.callback=function(){Pd(e,n,l),typeof u!="function"&&(Ln===null?Ln=new Set([this]):Ln.add(this));var v=l.stack;this.componentDidCatch(l.value,{componentStack:v!==null?v:""})})}function zg(t,e,n,l,u){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=n.alternate,e!==null&&ka(e,n,u,!0),n=De.current,n!==null){switch(n.tag){case 13:return Qe===null?fc():n.alternate===null&&qt===0&&(qt=3),n.flags&=-257,n.flags|=65536,n.lanes=u,l===vo?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([l]):e.add(l),mc(t,l,u)),!1;case 22:return n.flags|=65536,l===vo?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([l]):n.add(l)),mc(t,l,u)),!1}throw Error(r(435,n.tag))}return mc(t,l,u),fc(),!1}if(Tt)return e=De.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=u,l!==oo&&(t=Error(r(422),{cause:l}),qa(Re(t,n)))):(l!==oo&&(e=Error(r(423),{cause:l}),qa(Re(e,n))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,l=Re(l,n),u=Yo(t.stateNode,l,u),bo(t,u),qt!==4&&(qt=2)),!1;var c=Error(r(520),{cause:l});if(c=Re(c,n),ui===null?ui=[c]:ui.push(c),qt!==4&&(qt=2),e===null)return!0;l=Re(l,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=u&-u,n.lanes|=t,t=Yo(n.stateNode,l,t),bo(n,t),!1;case 1:if(e=n.type,c=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Ln===null||!Ln.has(c))))return n.flags|=65536,u&=-u,n.lanes|=u,u=Fd(u),Wd(u,t,n,l),bo(n,u),!1}n=n.return}while(n!==null);return!1}var $d=Error(r(461)),Pt=!1;function $t(t,e,n,l){e.child=t===null?Gd(e,null,n,l):Jl(e,t.child,n,l)}function Id(t,e,n,l,u){n=n.render;var c=e.ref;if("ref"in l){var m={};for(var v in l)v!=="ref"&&(m[v]=l[v])}else m=l;return fl(e),l=wo(t,e,n,m,c,u),v=To(),t!==null&&!Pt?(Oo(t,e,u),dn(t,e,u)):(Tt&&v&&uo(e),e.flags|=1,$t(t,e,l,u),e.child)}function tm(t,e,n,l,u){if(t===null){var c=n.type;return typeof c=="function"&&!lo(c)&&c.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=c,em(t,e,c,l,u)):(t=Wi(n.type,null,l,e,e.mode,u),t.ref=e.ref,t.return=e,e.child=t)}if(c=t.child,!Po(t,u)){var m=c.memoizedProps;if(n=n.compare,n=n!==null?n:Ba,n(m,l)&&t.ref===e.ref)return dn(t,e,u)}return e.flags|=1,t=an(c,l),t.ref=e.ref,t.return=e,e.child=t}function em(t,e,n,l,u){if(t!==null){var c=t.memoizedProps;if(Ba(c,l)&&t.ref===e.ref)if(Pt=!1,e.pendingProps=l=c,Po(t,u))(t.flags&131072)!==0&&(Pt=!0);else return e.lanes=t.lanes,dn(t,e,u)}return Go(t,e,n,l,u)}function nm(t,e,n){var l=e.pendingProps,u=l.children,c=t!==null?t.memoizedState:null;if(l.mode==="hidden"){if((e.flags&128)!==0){if(l=c!==null?c.baseLanes|n:n,t!==null){for(u=e.child=t.child,c=0;u!==null;)c=c|u.lanes|u.childLanes,u=u.sibling;e.childLanes=c&~l}else e.childLanes=0,e.child=null;return lm(t,e,l,n)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&nu(e,c!==null?c.cachePool:null),c!==null?ed(e,c):Eo(),Xd(e);else return e.lanes=e.childLanes=536870912,lm(t,e,c!==null?c.baseLanes|n:n,n)}else c!==null?(nu(e,c.cachePool),ed(e,c),Dn(),e.memoizedState=null):(t!==null&&nu(e,null),Eo(),Dn());return $t(t,e,u,n),e.child}function lm(t,e,n,l){var u=po();return u=u===null?null:{parent:Qt._currentValue,pool:u},e.memoizedState={baseLanes:n,cachePool:u},t!==null&&nu(e,null),Eo(),Xd(e),t!==null&&ka(t,e,l,!0),null}function bu(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(r(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function Go(t,e,n,l,u){return fl(e),n=wo(t,e,n,l,void 0,u),l=To(),t!==null&&!Pt?(Oo(t,e,u),dn(t,e,u)):(Tt&&l&&uo(e),e.flags|=1,$t(t,e,n,u),e.child)}function am(t,e,n,l,u,c){return fl(e),e.updateQueue=null,n=ld(e,l,n,u),nd(t),l=To(),t!==null&&!Pt?(Oo(t,e,c),dn(t,e,c)):(Tt&&l&&uo(e),e.flags|=1,$t(t,e,n,c),e.child)}function im(t,e,n,l,u){if(fl(e),e.stateNode===null){var c=jl,m=n.contextType;typeof m=="object"&&m!==null&&(c=ne(m)),c=new n(l,c),e.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=ko,e.stateNode=c,c._reactInternals=e,c=e.stateNode,c.props=l,c.state=e.memoizedState,c.refs={},yo(e),m=n.contextType,c.context=typeof m=="object"&&m!==null?ne(m):jl,c.state=e.memoizedState,m=n.getDerivedStateFromProps,typeof m=="function"&&(qo(e,n,m,l),c.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(m=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),m!==c.state&&ko.enqueueReplaceState(c,c.state,null),Ka(e,l,c,u),Za(),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){c=e.stateNode;var v=e.memoizedProps,b=hl(n,v);c.props=b;var _=c.context,L=n.contextType;m=jl,typeof L=="object"&&L!==null&&(m=ne(L));var Y=n.getDerivedStateFromProps;L=typeof Y=="function"||typeof c.getSnapshotBeforeUpdate=="function",v=e.pendingProps!==v,L||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(v||_!==m)&&Qd(e,c,l,m),On=!1;var z=e.memoizedState;c.state=z,Ka(e,l,c,u),Za(),_=e.memoizedState,v||z!==_||On?(typeof Y=="function"&&(qo(e,n,Y,l),_=e.memoizedState),(b=On||Vd(e,n,b,l,z,_,m))?(L||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(e.flags|=4194308)):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=_),c.props=l,c.state=_,c.context=m,l=b):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{c=e.stateNode,go(t,e),m=e.memoizedProps,L=hl(n,m),c.props=L,Y=e.pendingProps,z=c.context,_=n.contextType,b=jl,typeof _=="object"&&_!==null&&(b=ne(_)),v=n.getDerivedStateFromProps,(_=typeof v=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(m!==Y||z!==b)&&Qd(e,c,l,b),On=!1,z=e.memoizedState,c.state=z,Ka(e,l,c,u),Za();var U=e.memoizedState;m!==Y||z!==U||On||t!==null&&t.dependencies!==null&&tu(t.dependencies)?(typeof v=="function"&&(qo(e,n,v,l),U=e.memoizedState),(L=On||Vd(e,n,L,l,z,U,b)||t!==null&&t.dependencies!==null&&tu(t.dependencies))?(_||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(l,U,b),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(l,U,b)),typeof c.componentDidUpdate=="function"&&(e.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof c.componentDidUpdate!="function"||m===t.memoizedProps&&z===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===t.memoizedProps&&z===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=U),c.props=l,c.state=U,c.context=b,l=L):(typeof c.componentDidUpdate!="function"||m===t.memoizedProps&&z===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===t.memoizedProps&&z===t.memoizedState||(e.flags|=1024),l=!1)}return c=l,bu(t,e),l=(e.flags&128)!==0,c||l?(c=e.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:c.render(),e.flags|=1,t!==null&&l?(e.child=Jl(e,t.child,null,u),e.child=Jl(e,null,n,u)):$t(t,e,n,u),e.memoizedState=c.state,t=e.child):t=dn(t,e,u),t}function um(t,e,n,l){return ja(),e.flags|=256,$t(t,e,n,l),e.child}var Xo={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Vo(t){return{baseLanes:t,cachePool:Kf()}}function Qo(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=ze),t}function rm(t,e,n){var l=e.pendingProps,u=!1,c=(e.flags&128)!==0,m;if((m=c)||(m=t!==null&&t.memoizedState===null?!1:(Zt.current&2)!==0),m&&(u=!0,e.flags&=-129),m=(e.flags&32)!==0,e.flags&=-33,t===null){if(Tt){if(u?_n(e):Dn(),Tt){var v=jt,b;if(b=v){t:{for(b=v,v=Ve;b.nodeType!==8;){if(!v){v=null;break t}if(b=He(b.nextSibling),b===null){v=null;break t}}v=b}v!==null?(e.memoizedState={dehydrated:v,treeContext:ul!==null?{id:un,overflow:rn}:null,retryLane:536870912,hydrationErrors:null},b=ye(18,null,null,0),b.stateNode=v,b.return=e,e.child=b,ue=e,jt=null,b=!0):b=!1}b||cl(e)}if(v=e.memoizedState,v!==null&&(v=v.dehydrated,v!==null))return Cc(v)?e.lanes=32:e.lanes=536870912,null;fn(e)}return v=l.children,l=l.fallback,u?(Dn(),u=e.mode,v=Su({mode:"hidden",children:v},u),l=il(l,u,n,null),v.return=e,l.return=e,v.sibling=l,e.child=v,u=e.child,u.memoizedState=Vo(n),u.childLanes=Qo(t,m,n),e.memoizedState=Xo,l):(_n(e),Zo(e,v))}if(b=t.memoizedState,b!==null&&(v=b.dehydrated,v!==null)){if(c)e.flags&256?(_n(e),e.flags&=-257,e=Ko(t,e,n)):e.memoizedState!==null?(Dn(),e.child=t.child,e.flags|=128,e=null):(Dn(),u=l.fallback,v=e.mode,l=Su({mode:"visible",children:l.children},v),u=il(u,v,n,null),u.flags|=2,l.return=e,u.return=e,l.sibling=u,e.child=l,Jl(e,t.child,null,n),l=e.child,l.memoizedState=Vo(n),l.childLanes=Qo(t,m,n),e.memoizedState=Xo,e=u);else if(_n(e),Cc(v)){if(m=v.nextSibling&&v.nextSibling.dataset,m)var _=m.dgst;m=_,l=Error(r(419)),l.stack="",l.digest=m,qa({value:l,source:null,stack:null}),e=Ko(t,e,n)}else if(Pt||ka(t,e,n,!1),m=(n&t.childLanes)!==0,Pt||m){if(m=Bt,m!==null&&(l=n&-n,l=(l&42)!==0?1:Cr(l),l=(l&(m.suspendedLanes|n))!==0?0:l,l!==0&&l!==b.retryLane))throw b.retryLane=l,Ll(t,l),xe(m,t,l),$d;v.data==="$?"||fc(),e=Ko(t,e,n)}else v.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=b.treeContext,jt=He(v.nextSibling),ue=e,Tt=!0,ol=null,Ve=!1,t!==null&&(Me[_e++]=un,Me[_e++]=rn,Me[_e++]=ul,un=t.id,rn=t.overflow,ul=e),e=Zo(e,l.children),e.flags|=4096);return e}return u?(Dn(),u=l.fallback,v=e.mode,b=t.child,_=b.sibling,l=an(b,{mode:"hidden",children:l.children}),l.subtreeFlags=b.subtreeFlags&65011712,_!==null?u=an(_,u):(u=il(u,v,n,null),u.flags|=2),u.return=e,l.return=e,l.sibling=u,e.child=l,l=u,u=e.child,v=t.child.memoizedState,v===null?v=Vo(n):(b=v.cachePool,b!==null?(_=Qt._currentValue,b=b.parent!==_?{parent:_,pool:_}:b):b=Kf(),v={baseLanes:v.baseLanes|n,cachePool:b}),u.memoizedState=v,u.childLanes=Qo(t,m,n),e.memoizedState=Xo,l):(_n(e),n=t.child,t=n.sibling,n=an(n,{mode:"visible",children:l.children}),n.return=e,n.sibling=null,t!==null&&(m=e.deletions,m===null?(e.deletions=[t],e.flags|=16):m.push(t)),e.child=n,e.memoizedState=null,n)}function Zo(t,e){return e=Su({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Su(t,e){return t=ye(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Ko(t,e,n){return Jl(e,t.child,null,n),t=Zo(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function om(t,e,n){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),so(t.return,e,n)}function Jo(t,e,n,l,u){var c=t.memoizedState;c===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:u}:(c.isBackwards=e,c.rendering=null,c.renderingStartTime=0,c.last=l,c.tail=n,c.tailMode=u)}function cm(t,e,n){var l=e.pendingProps,u=l.revealOrder,c=l.tail;if($t(t,e,l.children,n),l=Zt.current,(l&2)!==0)l=l&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&om(t,n,e);else if(t.tag===19)om(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}l&=1}switch(K(Zt,l),u){case"forwards":for(n=e.child,u=null;n!==null;)t=n.alternate,t!==null&&vu(t)===null&&(u=n),n=n.sibling;n=u,n===null?(u=e.child,e.child=null):(u=n.sibling,n.sibling=null),Jo(e,!1,u,n,c);break;case"backwards":for(n=null,u=e.child,e.child=null;u!==null;){if(t=u.alternate,t!==null&&vu(t)===null){e.child=u;break}t=u.sibling,u.sibling=n,n=u,u=t}Jo(e,!0,n,null,c);break;case"together":Jo(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function dn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Hn|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(ka(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(r(153));if(e.child!==null){for(t=e.child,n=an(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=an(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function Po(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&tu(t)))}function Ng(t,e,n){switch(e.tag){case 3:Rt(e,e.stateNode.containerInfo),Tn(e,Qt,t.memoizedState.cache),ja();break;case 27:case 5:ke(e);break;case 4:Rt(e,e.stateNode.containerInfo);break;case 10:Tn(e,e.type,e.memoizedProps.value);break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(_n(e),e.flags|=128,null):(n&e.child.childLanes)!==0?rm(t,e,n):(_n(e),t=dn(t,e,n),t!==null?t.sibling:null);_n(e);break;case 19:var u=(t.flags&128)!==0;if(l=(n&e.childLanes)!==0,l||(ka(t,e,n,!1),l=(n&e.childLanes)!==0),u){if(l)return cm(t,e,n);e.flags|=128}if(u=e.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),K(Zt,Zt.current),l)break;return null;case 22:case 23:return e.lanes=0,nm(t,e,n);case 24:Tn(e,Qt,t.memoizedState.cache)}return dn(t,e,n)}function sm(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)Pt=!0;else{if(!Po(t,n)&&(e.flags&128)===0)return Pt=!1,Ng(t,e,n);Pt=(t.flags&131072)!==0}else Pt=!1,Tt&&(e.flags&1048576)!==0&&kf(e,Ii,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var l=e.elementType,u=l._init;if(l=u(l._payload),e.type=l,typeof l=="function")lo(l)?(t=hl(l,t),e.tag=1,e=im(null,e,l,t,n)):(e.tag=0,e=Go(null,e,l,t,n));else{if(l!=null){if(u=l.$$typeof,u===Z){e.tag=11,e=Id(null,e,l,t,n);break t}else if(u===P){e.tag=14,e=tm(null,e,l,t,n);break t}}throw e=xt(l)||l,Error(r(306,e,""))}}return e;case 0:return Go(t,e,e.type,e.pendingProps,n);case 1:return l=e.type,u=hl(l,e.pendingProps),im(t,e,l,u,n);case 3:t:{if(Rt(e,e.stateNode.containerInfo),t===null)throw Error(r(387));l=e.pendingProps;var c=e.memoizedState;u=c.element,go(t,e),Ka(e,l,null,n);var m=e.memoizedState;if(l=m.cache,Tn(e,Qt,l),l!==c.cache&&fo(e,[Qt],n,!0),Za(),l=m.element,c.isDehydrated)if(c={element:l,isDehydrated:!1,cache:m.cache},e.updateQueue.baseState=c,e.memoizedState=c,e.flags&256){e=um(t,e,l,n);break t}else if(l!==u){u=Re(Error(r(424)),e),qa(u),e=um(t,e,l,n);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(jt=He(t.firstChild),ue=e,Tt=!0,ol=null,Ve=!0,n=Gd(e,null,l,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(ja(),l===u){e=dn(t,e,n);break t}$t(t,e,l,n)}e=e.child}return e;case 26:return bu(t,e),t===null?(n=hh(e.type,null,e.pendingProps,null))?e.memoizedState=n:Tt||(n=e.type,t=e.pendingProps,l=Uu(it.current).createElement(n),l[ee]=e,l[re]=t,te(l,n,t),Jt(l),e.stateNode=l):e.memoizedState=hh(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return ke(e),t===null&&Tt&&(l=e.stateNode=fh(e.type,e.pendingProps,it.current),ue=e,Ve=!0,u=jt,kn(e.type)?(Mc=u,jt=He(l.firstChild)):jt=u),$t(t,e,e.pendingProps.children,n),bu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&Tt&&((u=l=jt)&&(l=r0(l,e.type,e.pendingProps,Ve),l!==null?(e.stateNode=l,ue=e,jt=He(l.firstChild),Ve=!1,u=!0):u=!1),u||cl(e)),ke(e),u=e.type,c=e.pendingProps,m=t!==null?t.memoizedProps:null,l=c.children,Tc(u,c)?l=null:m!==null&&Tc(u,m)&&(e.flags|=32),e.memoizedState!==null&&(u=wo(t,e,Tg,null,null,n),pi._currentValue=u),bu(t,e),$t(t,e,l,n),e.child;case 6:return t===null&&Tt&&((t=n=jt)&&(n=o0(n,e.pendingProps,Ve),n!==null?(e.stateNode=n,ue=e,jt=null,t=!0):t=!1),t||cl(e)),null;case 13:return rm(t,e,n);case 4:return Rt(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=Jl(e,null,l,n):$t(t,e,l,n),e.child;case 11:return Id(t,e,e.type,e.pendingProps,n);case 7:return $t(t,e,e.pendingProps,n),e.child;case 8:return $t(t,e,e.pendingProps.children,n),e.child;case 12:return $t(t,e,e.pendingProps.children,n),e.child;case 10:return l=e.pendingProps,Tn(e,e.type,l.value),$t(t,e,l.children,n),e.child;case 9:return u=e.type._context,l=e.pendingProps.children,fl(e),u=ne(u),l=l(u),e.flags|=1,$t(t,e,l,n),e.child;case 14:return tm(t,e,e.type,e.pendingProps,n);case 15:return em(t,e,e.type,e.pendingProps,n);case 19:return cm(t,e,n);case 31:return l=e.pendingProps,n=e.mode,l={mode:l.mode,children:l.children},t===null?(n=Su(l,n),n.ref=e.ref,e.child=n,n.return=e,e=n):(n=an(t.child,l),n.ref=e.ref,e.child=n,n.return=e,e=n),e;case 22:return nm(t,e,n);case 24:return fl(e),l=ne(Qt),t===null?(u=po(),u===null&&(u=Bt,c=mo(),u.pooledCache=c,c.refCount++,c!==null&&(u.pooledCacheLanes|=n),u=c),e.memoizedState={parent:l,cache:u},yo(e),Tn(e,Qt,u)):((t.lanes&n)!==0&&(go(t,e),Ka(e,null,null,n),Za()),u=t.memoizedState,c=e.memoizedState,u.parent!==l?(u={parent:l,cache:l},e.memoizedState=u,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=u),Tn(e,Qt,l)):(l=c.cache,Tn(e,Qt,l),l!==u.cache&&fo(e,[Qt],n,!0))),$t(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(r(156,e.tag))}function mn(t){t.flags|=4}function fm(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!bh(e)){if(e=De.current,e!==null&&((Et&4194048)===Et?Qe!==null:(Et&62914560)!==Et&&(Et&536870912)===0||e!==Qe))throw Va=vo,Jf;t.flags|=8192}}function Eu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Gs():536870912,t.lanes|=e,$l|=e)}function ti(t,e){if(!Tt)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function Lt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,l=0;if(e)for(var u=t.child;u!==null;)n|=u.lanes|u.childLanes,l|=u.subtreeFlags&65011712,l|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)n|=u.lanes|u.childLanes,l|=u.subtreeFlags,l|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=l,t.childLanes=n,e}function Ug(t,e,n){var l=e.pendingProps;switch(ro(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Lt(e),null;case 1:return Lt(e),null;case 3:return n=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),cn(Qt),ie(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(La(e)?mn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Xf())),Lt(e),null;case 26:return n=e.memoizedState,t===null?(mn(e),n!==null?(Lt(e),fm(e,n)):(Lt(e),e.flags&=-16777217)):n?n!==t.memoizedState?(mn(e),Lt(e),fm(e,n)):(Lt(e),e.flags&=-16777217):(t.memoizedProps!==l&&mn(e),Lt(e),e.flags&=-16777217),null;case 27:Ye(e),n=it.current;var u=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==l&&mn(e);else{if(!l){if(e.stateNode===null)throw Error(r(166));return Lt(e),null}t=W.current,La(e)?Yf(e):(t=fh(u,l,n),e.stateNode=t,mn(e))}return Lt(e),null;case 5:if(Ye(e),n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&mn(e);else{if(!l){if(e.stateNode===null)throw Error(r(166));return Lt(e),null}if(t=W.current,La(e))Yf(e);else{switch(u=Uu(it.current),t){case 1:t=u.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:t=u.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":t=u.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":t=u.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":t=u.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof l.is=="string"?u.createElement("select",{is:l.is}):u.createElement("select"),l.multiple?t.multiple=!0:l.size&&(t.size=l.size);break;default:t=typeof l.is=="string"?u.createElement(n,{is:l.is}):u.createElement(n)}}t[ee]=e,t[re]=l;t:for(u=e.child;u!==null;){if(u.tag===5||u.tag===6)t.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break t;for(;u.sibling===null;){if(u.return===null||u.return===e)break t;u=u.return}u.sibling.return=u.return,u=u.sibling}e.stateNode=t;t:switch(te(t,n,l),n){case"button":case"input":case"select":case"textarea":t=!!l.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&mn(e)}}return Lt(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&mn(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(r(166));if(t=it.current,La(e)){if(t=e.stateNode,n=e.memoizedProps,l=null,u=ue,u!==null)switch(u.tag){case 27:case 5:l=u.memoizedProps}t[ee]=e,t=!!(t.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||ah(t.nodeValue,n)),t||cl(e)}else t=Uu(t).createTextNode(l),t[ee]=e,e.stateNode=t}return Lt(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=La(e),l!==null&&l.dehydrated!==null){if(t===null){if(!u)throw Error(r(318));if(u=e.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(r(317));u[ee]=e}else ja(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Lt(e),u=!1}else u=Xf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return e.flags&256?(fn(e),e):(fn(e),null)}if(fn(e),(e.flags&128)!==0)return e.lanes=n,e;if(n=l!==null,t=t!==null&&t.memoizedState!==null,n){l=e.child,u=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(u=l.alternate.memoizedState.cachePool.pool);var c=null;l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(c=l.memoizedState.cachePool.pool),c!==u&&(l.flags|=2048)}return n!==t&&n&&(e.child.flags|=8192),Eu(e,e.updateQueue),Lt(e),null;case 4:return ie(),t===null&&Sc(e.stateNode.containerInfo),Lt(e),null;case 10:return cn(e.type),Lt(e),null;case 19:if(F(Zt),u=e.memoizedState,u===null)return Lt(e),null;if(l=(e.flags&128)!==0,c=u.rendering,c===null)if(l)ti(u,!1);else{if(qt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(c=vu(t),c!==null){for(e.flags|=128,ti(u,!1),t=c.updateQueue,e.updateQueue=t,Eu(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)qf(n,t),n=n.sibling;return K(Zt,Zt.current&1|2),e.child}t=t.sibling}u.tail!==null&&Xe()>wu&&(e.flags|=128,l=!0,ti(u,!1),e.lanes=4194304)}else{if(!l)if(t=vu(c),t!==null){if(e.flags|=128,l=!0,t=t.updateQueue,e.updateQueue=t,Eu(e,t),ti(u,!0),u.tail===null&&u.tailMode==="hidden"&&!c.alternate&&!Tt)return Lt(e),null}else 2*Xe()-u.renderingStartTime>wu&&n!==536870912&&(e.flags|=128,l=!0,ti(u,!1),e.lanes=4194304);u.isBackwards?(c.sibling=e.child,e.child=c):(t=u.last,t!==null?t.sibling=c:e.child=c,u.last=c)}return u.tail!==null?(e=u.tail,u.rendering=e,u.tail=e.sibling,u.renderingStartTime=Xe(),e.sibling=null,t=Zt.current,K(Zt,l?t&1|2:t&1),e):(Lt(e),null);case 22:case 23:return fn(e),xo(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(n&536870912)!==0&&(e.flags&128)===0&&(Lt(e),e.subtreeFlags&6&&(e.flags|=8192)):Lt(e),n=e.updateQueue,n!==null&&Eu(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==n&&(e.flags|=2048),t!==null&&F(dl),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),cn(Qt),Lt(e),null;case 25:return null;case 30:return null}throw Error(r(156,e.tag))}function Bg(t,e){switch(ro(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return cn(Qt),ie(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Ye(e),null;case 13:if(fn(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(r(340));ja()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return F(Zt),null;case 4:return ie(),null;case 10:return cn(e.type),null;case 22:case 23:return fn(e),xo(),t!==null&&F(dl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return cn(Qt),null;case 25:return null;default:return null}}function dm(t,e){switch(ro(e),e.tag){case 3:cn(Qt),ie();break;case 26:case 27:case 5:Ye(e);break;case 4:ie();break;case 13:fn(e);break;case 19:F(Zt);break;case 10:cn(e.type);break;case 22:case 23:fn(e),xo(),t!==null&&F(dl);break;case 24:cn(Qt)}}function ei(t,e){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var u=l.next;n=u;do{if((n.tag&t)===t){l=void 0;var c=n.create,m=n.inst;l=c(),m.destroy=l}n=n.next}while(n!==u)}}catch(v){Ut(e,e.return,v)}}function zn(t,e,n){try{var l=e.updateQueue,u=l!==null?l.lastEffect:null;if(u!==null){var c=u.next;l=c;do{if((l.tag&t)===t){var m=l.inst,v=m.destroy;if(v!==void 0){m.destroy=void 0,u=e;var b=n,_=v;try{_()}catch(L){Ut(u,b,L)}}}l=l.next}while(l!==c)}}catch(L){Ut(e,e.return,L)}}function mm(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{td(e,n)}catch(l){Ut(t,t.return,l)}}}function hm(t,e,n){n.props=hl(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(l){Ut(t,e,l)}}function ni(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof n=="function"?t.refCleanup=n(l):n.current=l}}catch(u){Ut(t,e,u)}}function Ze(t,e){var n=t.ref,l=t.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(u){Ut(t,e,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(u){Ut(t,e,u)}else n.current=null}function pm(t){var e=t.type,n=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break t;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(u){Ut(t,t.return,u)}}function Fo(t,e,n){try{var l=t.stateNode;n0(l,t.type,n,e),l[re]=e}catch(u){Ut(t,t.return,u)}}function vm(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&kn(t.type)||t.tag===4}function Wo(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||vm(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&kn(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function $o(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=Nu));else if(l!==4&&(l===27&&kn(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for($o(t,e,n),t=t.sibling;t!==null;)$o(t,e,n),t=t.sibling}function xu(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(l!==4&&(l===27&&kn(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(xu(t,e,n),t=t.sibling;t!==null;)xu(t,e,n),t=t.sibling}function ym(t){var e=t.stateNode,n=t.memoizedProps;try{for(var l=t.type,u=e.attributes;u.length;)e.removeAttributeNode(u[0]);te(e,l,n),e[ee]=t,e[re]=n}catch(c){Ut(t,t.return,c)}}var hn=!1,Yt=!1,Io=!1,gm=typeof WeakSet=="function"?WeakSet:Set,Ft=null;function Hg(t,e){if(t=t.containerInfo,Ac=ku,t=Mf(t),Fr(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var u=l.anchorOffset,c=l.focusNode;l=l.focusOffset;try{n.nodeType,c.nodeType}catch{n=null;break t}var m=0,v=-1,b=-1,_=0,L=0,Y=t,z=null;e:for(;;){for(var U;Y!==n||u!==0&&Y.nodeType!==3||(v=m+u),Y!==c||l!==0&&Y.nodeType!==3||(b=m+l),Y.nodeType===3&&(m+=Y.nodeValue.length),(U=Y.firstChild)!==null;)z=Y,Y=U;for(;;){if(Y===t)break e;if(z===n&&++_===u&&(v=m),z===c&&++L===l&&(b=m),(U=Y.nextSibling)!==null)break;Y=z,z=Y.parentNode}Y=U}n=v===-1||b===-1?null:{start:v,end:b}}else n=null}n=n||{start:0,end:0}}else n=null;for(wc={focusedElem:t,selectionRange:n},ku=!1,Ft=e;Ft!==null;)if(e=Ft,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,Ft=t;else for(;Ft!==null;){switch(e=Ft,c=e.alternate,t=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&c!==null){t=void 0,n=e,u=c.memoizedProps,c=c.memoizedState,l=n.stateNode;try{var ut=hl(n.type,u,n.elementType===n.type);t=l.getSnapshotBeforeUpdate(ut,c),l.__reactInternalSnapshotBeforeUpdate=t}catch(lt){Ut(n,n.return,lt)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)Rc(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Rc(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(r(163))}if(t=e.sibling,t!==null){t.return=e.return,Ft=t;break}Ft=e.return}}function bm(t,e,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:Nn(t,n),l&4&&ei(5,n);break;case 1:if(Nn(t,n),l&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(m){Ut(n,n.return,m)}else{var u=hl(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(u,e,t.__reactInternalSnapshotBeforeUpdate)}catch(m){Ut(n,n.return,m)}}l&64&&mm(n),l&512&&ni(n,n.return);break;case 3:if(Nn(t,n),l&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{td(t,e)}catch(m){Ut(n,n.return,m)}}break;case 27:e===null&&l&4&&ym(n);case 26:case 5:Nn(t,n),e===null&&l&4&&pm(n),l&512&&ni(n,n.return);break;case 12:Nn(t,n);break;case 13:Nn(t,n),l&4&&xm(t,n),l&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=Qg.bind(null,n),c0(t,n))));break;case 22:if(l=n.memoizedState!==null||hn,!l){e=e!==null&&e.memoizedState!==null||Yt,u=hn;var c=Yt;hn=l,(Yt=e)&&!c?Un(t,n,(n.subtreeFlags&8772)!==0):Nn(t,n),hn=u,Yt=c}break;case 30:break;default:Nn(t,n)}}function Sm(t){var e=t.alternate;e!==null&&(t.alternate=null,Sm(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Dr(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Ht=null,se=!1;function pn(t,e,n){for(n=n.child;n!==null;)Em(t,e,n),n=n.sibling}function Em(t,e,n){if(he&&typeof he.onCommitFiberUnmount=="function")try{he.onCommitFiberUnmount(Aa,n)}catch{}switch(n.tag){case 26:Yt||Ze(n,e),pn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Yt||Ze(n,e);var l=Ht,u=se;kn(n.type)&&(Ht=n.stateNode,se=!1),pn(t,e,n),fi(n.stateNode),Ht=l,se=u;break;case 5:Yt||Ze(n,e);case 6:if(l=Ht,u=se,Ht=null,pn(t,e,n),Ht=l,se=u,Ht!==null)if(se)try{(Ht.nodeType===9?Ht.body:Ht.nodeName==="HTML"?Ht.ownerDocument.body:Ht).removeChild(n.stateNode)}catch(c){Ut(n,e,c)}else try{Ht.removeChild(n.stateNode)}catch(c){Ut(n,e,c)}break;case 18:Ht!==null&&(se?(t=Ht,ch(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),bi(t)):ch(Ht,n.stateNode));break;case 4:l=Ht,u=se,Ht=n.stateNode.containerInfo,se=!0,pn(t,e,n),Ht=l,se=u;break;case 0:case 11:case 14:case 15:Yt||zn(2,n,e),Yt||zn(4,n,e),pn(t,e,n);break;case 1:Yt||(Ze(n,e),l=n.stateNode,typeof l.componentWillUnmount=="function"&&hm(n,e,l)),pn(t,e,n);break;case 21:pn(t,e,n);break;case 22:Yt=(l=Yt)||n.memoizedState!==null,pn(t,e,n),Yt=l;break;default:pn(t,e,n)}}function xm(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{bi(t)}catch(n){Ut(e,e.return,n)}}function Lg(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new gm),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new gm),e;default:throw Error(r(435,t.tag))}}function tc(t,e){var n=Lg(t);e.forEach(function(l){var u=Zg.bind(null,t,l);n.has(l)||(n.add(l),l.then(u,u))})}function ge(t,e){var n=e.deletions;if(n!==null)for(var l=0;l<n.length;l++){var u=n[l],c=t,m=e,v=m;t:for(;v!==null;){switch(v.tag){case 27:if(kn(v.type)){Ht=v.stateNode,se=!1;break t}break;case 5:Ht=v.stateNode,se=!1;break t;case 3:case 4:Ht=v.stateNode.containerInfo,se=!0;break t}v=v.return}if(Ht===null)throw Error(r(160));Em(c,m,u),Ht=null,se=!1,c=u.alternate,c!==null&&(c.return=null),u.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)Am(e,t),e=e.sibling}var Be=null;function Am(t,e){var n=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ge(e,t),be(t),l&4&&(zn(3,t,t.return),ei(3,t),zn(5,t,t.return));break;case 1:ge(e,t),be(t),l&512&&(Yt||n===null||Ze(n,n.return)),l&64&&hn&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var u=Be;if(ge(e,t),be(t),l&512&&(Yt||n===null||Ze(n,n.return)),l&4){var c=n!==null?n.memoizedState:null;if(l=t.memoizedState,n===null)if(l===null)if(t.stateNode===null){t:{l=t.type,n=t.memoizedProps,u=u.ownerDocument||u;e:switch(l){case"title":c=u.getElementsByTagName("title")[0],(!c||c[Oa]||c[ee]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=u.createElement(l),u.head.insertBefore(c,u.querySelector("head > title"))),te(c,l,n),c[ee]=t,Jt(c),l=c;break t;case"link":var m=yh("link","href",u).get(l+(n.href||""));if(m){for(var v=0;v<m.length;v++)if(c=m[v],c.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&c.getAttribute("rel")===(n.rel==null?null:n.rel)&&c.getAttribute("title")===(n.title==null?null:n.title)&&c.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){m.splice(v,1);break e}}c=u.createElement(l),te(c,l,n),u.head.appendChild(c);break;case"meta":if(m=yh("meta","content",u).get(l+(n.content||""))){for(v=0;v<m.length;v++)if(c=m[v],c.getAttribute("content")===(n.content==null?null:""+n.content)&&c.getAttribute("name")===(n.name==null?null:n.name)&&c.getAttribute("property")===(n.property==null?null:n.property)&&c.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&c.getAttribute("charset")===(n.charSet==null?null:n.charSet)){m.splice(v,1);break e}}c=u.createElement(l),te(c,l,n),u.head.appendChild(c);break;default:throw Error(r(468,l))}c[ee]=t,Jt(c),l=c}t.stateNode=l}else gh(u,t.type,t.stateNode);else t.stateNode=vh(u,l,t.memoizedProps);else c!==l?(c===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):c.count--,l===null?gh(u,t.type,t.stateNode):vh(u,l,t.memoizedProps)):l===null&&t.stateNode!==null&&Fo(t,t.memoizedProps,n.memoizedProps)}break;case 27:ge(e,t),be(t),l&512&&(Yt||n===null||Ze(n,n.return)),n!==null&&l&4&&Fo(t,t.memoizedProps,n.memoizedProps);break;case 5:if(ge(e,t),be(t),l&512&&(Yt||n===null||Ze(n,n.return)),t.flags&32){u=t.stateNode;try{_l(u,"")}catch(U){Ut(t,t.return,U)}}l&4&&t.stateNode!=null&&(u=t.memoizedProps,Fo(t,u,n!==null?n.memoizedProps:u)),l&1024&&(Io=!0);break;case 6:if(ge(e,t),be(t),l&4){if(t.stateNode===null)throw Error(r(162));l=t.memoizedProps,n=t.stateNode;try{n.nodeValue=l}catch(U){Ut(t,t.return,U)}}break;case 3:if(Lu=null,u=Be,Be=Bu(e.containerInfo),ge(e,t),Be=u,be(t),l&4&&n!==null&&n.memoizedState.isDehydrated)try{bi(e.containerInfo)}catch(U){Ut(t,t.return,U)}Io&&(Io=!1,wm(t));break;case 4:l=Be,Be=Bu(t.stateNode.containerInfo),ge(e,t),be(t),Be=l;break;case 12:ge(e,t),be(t);break;case 13:ge(e,t),be(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(uc=Xe()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,tc(t,l)));break;case 22:u=t.memoizedState!==null;var b=n!==null&&n.memoizedState!==null,_=hn,L=Yt;if(hn=_||u,Yt=L||b,ge(e,t),Yt=L,hn=_,be(t),l&8192)t:for(e=t.stateNode,e._visibility=u?e._visibility&-2:e._visibility|1,u&&(n===null||b||hn||Yt||pl(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){b=n=e;try{if(c=b.stateNode,u)m=c.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none";else{v=b.stateNode;var Y=b.memoizedProps.style,z=Y!=null&&Y.hasOwnProperty("display")?Y.display:null;v.style.display=z==null||typeof z=="boolean"?"":(""+z).trim()}}catch(U){Ut(b,b.return,U)}}}else if(e.tag===6){if(n===null){b=e;try{b.stateNode.nodeValue=u?"":b.memoizedProps}catch(U){Ut(b,b.return,U)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=t.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,tc(t,n))));break;case 19:ge(e,t),be(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,tc(t,l)));break;case 30:break;case 21:break;default:ge(e,t),be(t)}}function be(t){var e=t.flags;if(e&2){try{for(var n,l=t.return;l!==null;){if(vm(l)){n=l;break}l=l.return}if(n==null)throw Error(r(160));switch(n.tag){case 27:var u=n.stateNode,c=Wo(t);xu(t,c,u);break;case 5:var m=n.stateNode;n.flags&32&&(_l(m,""),n.flags&=-33);var v=Wo(t);xu(t,v,m);break;case 3:case 4:var b=n.stateNode.containerInfo,_=Wo(t);$o(t,_,b);break;default:throw Error(r(161))}}catch(L){Ut(t,t.return,L)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function wm(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;wm(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Nn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)bm(t,e.alternate,e),e=e.sibling}function pl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:zn(4,e,e.return),pl(e);break;case 1:Ze(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&hm(e,e.return,n),pl(e);break;case 27:fi(e.stateNode);case 26:case 5:Ze(e,e.return),pl(e);break;case 22:e.memoizedState===null&&pl(e);break;case 30:pl(e);break;default:pl(e)}t=t.sibling}}function Un(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,u=t,c=e,m=c.flags;switch(c.tag){case 0:case 11:case 15:Un(u,c,n),ei(4,c);break;case 1:if(Un(u,c,n),l=c,u=l.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(_){Ut(l,l.return,_)}if(l=c,u=l.updateQueue,u!==null){var v=l.stateNode;try{var b=u.shared.hiddenCallbacks;if(b!==null)for(u.shared.hiddenCallbacks=null,u=0;u<b.length;u++)If(b[u],v)}catch(_){Ut(l,l.return,_)}}n&&m&64&&mm(c),ni(c,c.return);break;case 27:ym(c);case 26:case 5:Un(u,c,n),n&&l===null&&m&4&&pm(c),ni(c,c.return);break;case 12:Un(u,c,n);break;case 13:Un(u,c,n),n&&m&4&&xm(u,c);break;case 22:c.memoizedState===null&&Un(u,c,n),ni(c,c.return);break;case 30:break;default:Un(u,c,n)}e=e.sibling}}function ec(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&Ya(n))}function nc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Ya(t))}function Ke(t,e,n,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Tm(t,e,n,l),e=e.sibling}function Tm(t,e,n,l){var u=e.flags;switch(e.tag){case 0:case 11:case 15:Ke(t,e,n,l),u&2048&&ei(9,e);break;case 1:Ke(t,e,n,l);break;case 3:Ke(t,e,n,l),u&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Ya(t)));break;case 12:if(u&2048){Ke(t,e,n,l),t=e.stateNode;try{var c=e.memoizedProps,m=c.id,v=c.onPostCommit;typeof v=="function"&&v(m,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(b){Ut(e,e.return,b)}}else Ke(t,e,n,l);break;case 13:Ke(t,e,n,l);break;case 23:break;case 22:c=e.stateNode,m=e.alternate,e.memoizedState!==null?c._visibility&2?Ke(t,e,n,l):li(t,e):c._visibility&2?Ke(t,e,n,l):(c._visibility|=2,Pl(t,e,n,l,(e.subtreeFlags&10256)!==0)),u&2048&&ec(m,e);break;case 24:Ke(t,e,n,l),u&2048&&nc(e.alternate,e);break;default:Ke(t,e,n,l)}}function Pl(t,e,n,l,u){for(u=u&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var c=t,m=e,v=n,b=l,_=m.flags;switch(m.tag){case 0:case 11:case 15:Pl(c,m,v,b,u),ei(8,m);break;case 23:break;case 22:var L=m.stateNode;m.memoizedState!==null?L._visibility&2?Pl(c,m,v,b,u):li(c,m):(L._visibility|=2,Pl(c,m,v,b,u)),u&&_&2048&&ec(m.alternate,m);break;case 24:Pl(c,m,v,b,u),u&&_&2048&&nc(m.alternate,m);break;default:Pl(c,m,v,b,u)}e=e.sibling}}function li(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,l=e,u=l.flags;switch(l.tag){case 22:li(n,l),u&2048&&ec(l.alternate,l);break;case 24:li(n,l),u&2048&&nc(l.alternate,l);break;default:li(n,l)}e=e.sibling}}var ai=8192;function Fl(t){if(t.subtreeFlags&ai)for(t=t.child;t!==null;)Om(t),t=t.sibling}function Om(t){switch(t.tag){case 26:Fl(t),t.flags&ai&&t.memoizedState!==null&&x0(Be,t.memoizedState,t.memoizedProps);break;case 5:Fl(t);break;case 3:case 4:var e=Be;Be=Bu(t.stateNode.containerInfo),Fl(t),Be=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=ai,ai=16777216,Fl(t),ai=e):Fl(t));break;default:Fl(t)}}function Rm(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function ii(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];Ft=l,Mm(l,t)}Rm(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Cm(t),t=t.sibling}function Cm(t){switch(t.tag){case 0:case 11:case 15:ii(t),t.flags&2048&&zn(9,t,t.return);break;case 3:ii(t);break;case 12:ii(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Au(t)):ii(t);break;default:ii(t)}}function Au(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];Ft=l,Mm(l,t)}Rm(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:zn(8,e,e.return),Au(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,Au(e));break;default:Au(e)}t=t.sibling}}function Mm(t,e){for(;Ft!==null;){var n=Ft;switch(n.tag){case 0:case 11:case 15:zn(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Ya(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,Ft=l;else t:for(n=t;Ft!==null;){l=Ft;var u=l.sibling,c=l.return;if(Sm(l),l===n){Ft=null;break t}if(u!==null){u.return=c,Ft=u;break t}Ft=c}}}var jg={getCacheForType:function(t){var e=ne(Qt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n}},qg=typeof WeakMap=="function"?WeakMap:Map,Ct=0,Bt=null,bt=null,Et=0,Mt=0,Se=null,Bn=!1,Wl=!1,lc=!1,vn=0,qt=0,Hn=0,vl=0,ac=0,ze=0,$l=0,ui=null,fe=null,ic=!1,uc=0,wu=1/0,Tu=null,Ln=null,It=0,jn=null,Il=null,ta=0,rc=0,oc=null,_m=null,ri=0,cc=null;function Ee(){if((Ct&2)!==0&&Et!==0)return Et&-Et;if(N.T!==null){var t=Yl;return t!==0?t:vc()}return Qs()}function Dm(){ze===0&&(ze=(Et&536870912)===0||Tt?Ys():536870912);var t=De.current;return t!==null&&(t.flags|=32),ze}function xe(t,e,n){(t===Bt&&(Mt===2||Mt===9)||t.cancelPendingCommit!==null)&&(ea(t,0),qn(t,Et,ze,!1)),Ta(t,n),((Ct&2)===0||t!==Bt)&&(t===Bt&&((Ct&2)===0&&(vl|=n),qt===4&&qn(t,Et,ze,!1)),Je(t))}function zm(t,e,n){if((Ct&6)!==0)throw Error(r(327));var l=!n&&(e&124)===0&&(e&t.expiredLanes)===0||wa(t,e),u=l?Gg(t,e):dc(t,e,!0),c=l;do{if(u===0){Wl&&!l&&qn(t,e,0,!1);break}else{if(n=t.current.alternate,c&&!kg(n)){u=dc(t,e,!1),c=!1;continue}if(u===2){if(c=e,t.errorRecoveryDisabledLanes&c)var m=0;else m=t.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){e=m;t:{var v=t;u=ui;var b=v.current.memoizedState.isDehydrated;if(b&&(ea(v,m).flags|=256),m=dc(v,m,!1),m!==2){if(lc&&!b){v.errorRecoveryDisabledLanes|=c,vl|=c,u=4;break t}c=fe,fe=u,c!==null&&(fe===null?fe=c:fe.push.apply(fe,c))}u=m}if(c=!1,u!==2)continue}}if(u===1){ea(t,0),qn(t,e,0,!0);break}t:{switch(l=t,c=u,c){case 0:case 1:throw Error(r(345));case 4:if((e&4194048)!==e)break;case 6:qn(l,e,ze,!Bn);break t;case 2:fe=null;break;case 3:case 5:break;default:throw Error(r(329))}if((e&62914560)===e&&(u=uc+300-Xe(),10<u)){if(qn(l,e,ze,!Bn),Hi(l,0,!0)!==0)break t;l.timeoutHandle=rh(Nm.bind(null,l,n,fe,Tu,ic,e,ze,vl,$l,Bn,c,2,-0,0),u);break t}Nm(l,n,fe,Tu,ic,e,ze,vl,$l,Bn,c,0,-0,0)}}break}while(!0);Je(t)}function Nm(t,e,n,l,u,c,m,v,b,_,L,Y,z,U){if(t.timeoutHandle=-1,Y=e.subtreeFlags,(Y&8192||(Y&16785408)===16785408)&&(hi={stylesheets:null,count:0,unsuspend:E0},Om(e),Y=A0(),Y!==null)){t.cancelPendingCommit=Y(km.bind(null,t,e,c,n,l,u,m,v,b,L,1,z,U)),qn(t,c,m,!_);return}km(t,e,c,n,l,u,m,v,b)}function kg(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var l=0;l<n.length;l++){var u=n[l],c=u.getSnapshot;u=u.value;try{if(!ve(c(),u))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function qn(t,e,n,l){e&=~ac,e&=~vl,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var u=e;0<u;){var c=31-pe(u),m=1<<c;l[c]=-1,u&=~m}n!==0&&Xs(t,n,e)}function Ou(){return(Ct&6)===0?(oi(0),!1):!0}function sc(){if(bt!==null){if(Mt===0)var t=bt.return;else t=bt,on=sl=null,Ro(t),Kl=null,$a=0,t=bt;for(;t!==null;)dm(t.alternate,t),t=t.return;bt=null}}function ea(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,a0(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),sc(),Bt=t,bt=n=an(t.current,null),Et=e,Mt=0,Se=null,Bn=!1,Wl=wa(t,e),lc=!1,$l=ze=ac=vl=Hn=qt=0,fe=ui=null,ic=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var u=31-pe(l),c=1<<u;e|=t[u],l&=~c}return vn=e,Ji(),n}function Um(t,e){mt=null,N.H=mu,e===Xa||e===lu?(e=Wf(),Mt=3):e===Jf?(e=Wf(),Mt=4):Mt=e===$d?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Se=e,bt===null&&(qt=1,gu(t,Re(e,t.current)))}function Bm(){var t=N.H;return N.H=mu,t===null?mu:t}function Hm(){var t=N.A;return N.A=jg,t}function fc(){qt=4,Bn||(Et&4194048)!==Et&&De.current!==null||(Wl=!0),(Hn&134217727)===0&&(vl&134217727)===0||Bt===null||qn(Bt,Et,ze,!1)}function dc(t,e,n){var l=Ct;Ct|=2;var u=Bm(),c=Hm();(Bt!==t||Et!==e)&&(Tu=null,ea(t,e)),e=!1;var m=qt;t:do try{if(Mt!==0&&bt!==null){var v=bt,b=Se;switch(Mt){case 8:sc(),m=6;break t;case 3:case 2:case 9:case 6:De.current===null&&(e=!0);var _=Mt;if(Mt=0,Se=null,na(t,v,b,_),n&&Wl){m=0;break t}break;default:_=Mt,Mt=0,Se=null,na(t,v,b,_)}}Yg(),m=qt;break}catch(L){Um(t,L)}while(!0);return e&&t.shellSuspendCounter++,on=sl=null,Ct=l,N.H=u,N.A=c,bt===null&&(Bt=null,Et=0,Ji()),m}function Yg(){for(;bt!==null;)Lm(bt)}function Gg(t,e){var n=Ct;Ct|=2;var l=Bm(),u=Hm();Bt!==t||Et!==e?(Tu=null,wu=Xe()+500,ea(t,e)):Wl=wa(t,e);t:do try{if(Mt!==0&&bt!==null){e=bt;var c=Se;e:switch(Mt){case 1:Mt=0,Se=null,na(t,e,c,1);break;case 2:case 9:if(Pf(c)){Mt=0,Se=null,jm(e);break}e=function(){Mt!==2&&Mt!==9||Bt!==t||(Mt=7),Je(t)},c.then(e,e);break t;case 3:Mt=7;break t;case 4:Mt=5;break t;case 7:Pf(c)?(Mt=0,Se=null,jm(e)):(Mt=0,Se=null,na(t,e,c,7));break;case 5:var m=null;switch(bt.tag){case 26:m=bt.memoizedState;case 5:case 27:var v=bt;if(!m||bh(m)){Mt=0,Se=null;var b=v.sibling;if(b!==null)bt=b;else{var _=v.return;_!==null?(bt=_,Ru(_)):bt=null}break e}}Mt=0,Se=null,na(t,e,c,5);break;case 6:Mt=0,Se=null,na(t,e,c,6);break;case 8:sc(),qt=6;break t;default:throw Error(r(462))}}Xg();break}catch(L){Um(t,L)}while(!0);return on=sl=null,N.H=l,N.A=u,Ct=n,bt!==null?0:(Bt=null,Et=0,Ji(),qt)}function Xg(){for(;bt!==null&&!fy();)Lm(bt)}function Lm(t){var e=sm(t.alternate,t,vn);t.memoizedProps=t.pendingProps,e===null?Ru(t):bt=e}function jm(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=am(n,e,e.pendingProps,e.type,void 0,Et);break;case 11:e=am(n,e,e.pendingProps,e.type.render,e.ref,Et);break;case 5:Ro(e);default:dm(n,e),e=bt=qf(e,vn),e=sm(n,e,vn)}t.memoizedProps=t.pendingProps,e===null?Ru(t):bt=e}function na(t,e,n,l){on=sl=null,Ro(e),Kl=null,$a=0;var u=e.return;try{if(zg(t,u,e,n,Et)){qt=1,gu(t,Re(n,t.current)),bt=null;return}}catch(c){if(u!==null)throw bt=u,c;qt=1,gu(t,Re(n,t.current)),bt=null;return}e.flags&32768?(Tt||l===1?t=!0:Wl||(Et&536870912)!==0?t=!1:(Bn=t=!0,(l===2||l===9||l===3||l===6)&&(l=De.current,l!==null&&l.tag===13&&(l.flags|=16384))),qm(e,t)):Ru(e)}function Ru(t){var e=t;do{if((e.flags&32768)!==0){qm(e,Bn);return}t=e.return;var n=Ug(e.alternate,e,vn);if(n!==null){bt=n;return}if(e=e.sibling,e!==null){bt=e;return}bt=e=t}while(e!==null);qt===0&&(qt=5)}function qm(t,e){do{var n=Bg(t.alternate,t);if(n!==null){n.flags&=32767,bt=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){bt=t;return}bt=t=n}while(t!==null);qt=6,bt=null}function km(t,e,n,l,u,c,m,v,b){t.cancelPendingCommit=null;do Cu();while(It!==0);if((Ct&6)!==0)throw Error(r(327));if(e!==null){if(e===t.current)throw Error(r(177));if(c=e.lanes|e.childLanes,c|=eo,Ey(t,n,c,m,v,b),t===Bt&&(bt=Bt=null,Et=0),Il=e,jn=t,ta=n,rc=c,oc=u,_m=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Kg(Ni,function(){return Qm(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=N.T,N.T=null,u=V.p,V.p=2,m=Ct,Ct|=4;try{Hg(t,e,n)}finally{Ct=m,V.p=u,N.T=l}}It=1,Ym(),Gm(),Xm()}}function Ym(){if(It===1){It=0;var t=jn,e=Il,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=N.T,N.T=null;var l=V.p;V.p=2;var u=Ct;Ct|=4;try{Am(e,t);var c=wc,m=Mf(t.containerInfo),v=c.focusedElem,b=c.selectionRange;if(m!==v&&v&&v.ownerDocument&&Cf(v.ownerDocument.documentElement,v)){if(b!==null&&Fr(v)){var _=b.start,L=b.end;if(L===void 0&&(L=_),"selectionStart"in v)v.selectionStart=_,v.selectionEnd=Math.min(L,v.value.length);else{var Y=v.ownerDocument||document,z=Y&&Y.defaultView||window;if(z.getSelection){var U=z.getSelection(),ut=v.textContent.length,lt=Math.min(b.start,ut),Nt=b.end===void 0?lt:Math.min(b.end,ut);!U.extend&&lt>Nt&&(m=Nt,Nt=lt,lt=m);var w=Rf(v,lt),x=Rf(v,Nt);if(w&&x&&(U.rangeCount!==1||U.anchorNode!==w.node||U.anchorOffset!==w.offset||U.focusNode!==x.node||U.focusOffset!==x.offset)){var C=Y.createRange();C.setStart(w.node,w.offset),U.removeAllRanges(),lt>Nt?(U.addRange(C),U.extend(x.node,x.offset)):(C.setEnd(x.node,x.offset),U.addRange(C))}}}}for(Y=[],U=v;U=U.parentNode;)U.nodeType===1&&Y.push({element:U,left:U.scrollLeft,top:U.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<Y.length;v++){var j=Y[v];j.element.scrollLeft=j.left,j.element.scrollTop=j.top}}ku=!!Ac,wc=Ac=null}finally{Ct=u,V.p=l,N.T=n}}t.current=e,It=2}}function Gm(){if(It===2){It=0;var t=jn,e=Il,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=N.T,N.T=null;var l=V.p;V.p=2;var u=Ct;Ct|=4;try{bm(t,e.alternate,e)}finally{Ct=u,V.p=l,N.T=n}}It=3}}function Xm(){if(It===4||It===3){It=0,dy();var t=jn,e=Il,n=ta,l=_m;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?It=5:(It=0,Il=jn=null,Vm(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(Ln=null),Mr(n),e=e.stateNode,he&&typeof he.onCommitFiberRoot=="function")try{he.onCommitFiberRoot(Aa,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=N.T,u=V.p,V.p=2,N.T=null;try{for(var c=t.onRecoverableError,m=0;m<l.length;m++){var v=l[m];c(v.value,{componentStack:v.stack})}}finally{N.T=e,V.p=u}}(ta&3)!==0&&Cu(),Je(t),u=t.pendingLanes,(n&4194090)!==0&&(u&42)!==0?t===cc?ri++:(ri=0,cc=t):ri=0,oi(0)}}function Vm(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Ya(e)))}function Cu(t){return Ym(),Gm(),Xm(),Qm()}function Qm(){if(It!==5)return!1;var t=jn,e=rc;rc=0;var n=Mr(ta),l=N.T,u=V.p;try{V.p=32>n?32:n,N.T=null,n=oc,oc=null;var c=jn,m=ta;if(It=0,Il=jn=null,ta=0,(Ct&6)!==0)throw Error(r(331));var v=Ct;if(Ct|=4,Cm(c.current),Tm(c,c.current,m,n),Ct=v,oi(0,!1),he&&typeof he.onPostCommitFiberRoot=="function")try{he.onPostCommitFiberRoot(Aa,c)}catch{}return!0}finally{V.p=u,N.T=l,Vm(t,e)}}function Zm(t,e,n){e=Re(n,e),e=Yo(t.stateNode,e,2),t=Cn(t,e,2),t!==null&&(Ta(t,2),Je(t))}function Ut(t,e,n){if(t.tag===3)Zm(t,t,n);else for(;e!==null;){if(e.tag===3){Zm(e,t,n);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Ln===null||!Ln.has(l))){t=Re(n,t),n=Fd(2),l=Cn(e,n,2),l!==null&&(Wd(n,l,e,t),Ta(l,2),Je(l));break}}e=e.return}}function mc(t,e,n){var l=t.pingCache;if(l===null){l=t.pingCache=new qg;var u=new Set;l.set(e,u)}else u=l.get(e),u===void 0&&(u=new Set,l.set(e,u));u.has(n)||(lc=!0,u.add(n),t=Vg.bind(null,t,e,n),e.then(t,t))}function Vg(t,e,n){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Bt===t&&(Et&n)===n&&(qt===4||qt===3&&(Et&62914560)===Et&&300>Xe()-uc?(Ct&2)===0&&ea(t,0):ac|=n,$l===Et&&($l=0)),Je(t)}function Km(t,e){e===0&&(e=Gs()),t=Ll(t,e),t!==null&&(Ta(t,e),Je(t))}function Qg(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Km(t,n)}function Zg(t,e){var n=0;switch(t.tag){case 13:var l=t.stateNode,u=t.memoizedState;u!==null&&(n=u.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(r(314))}l!==null&&l.delete(e),Km(t,n)}function Kg(t,e){return En(t,e)}var Mu=null,la=null,hc=!1,_u=!1,pc=!1,yl=0;function Je(t){t!==la&&t.next===null&&(la===null?Mu=la=t:la=la.next=t),_u=!0,hc||(hc=!0,Pg())}function oi(t,e){if(!pc&&_u){pc=!0;do for(var n=!1,l=Mu;l!==null;){if(t!==0){var u=l.pendingLanes;if(u===0)var c=0;else{var m=l.suspendedLanes,v=l.pingedLanes;c=(1<<31-pe(42|t)+1)-1,c&=u&~(m&~v),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,Wm(l,c))}else c=Et,c=Hi(l,l===Bt?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(c&3)===0||wa(l,c)||(n=!0,Wm(l,c));l=l.next}while(n);pc=!1}}function Jg(){Jm()}function Jm(){_u=hc=!1;var t=0;yl!==0&&(l0()&&(t=yl),yl=0);for(var e=Xe(),n=null,l=Mu;l!==null;){var u=l.next,c=Pm(l,e);c===0?(l.next=null,n===null?Mu=u:n.next=u,u===null&&(la=n)):(n=l,(t!==0||(c&3)!==0)&&(_u=!0)),l=u}oi(t)}function Pm(t,e){for(var n=t.suspendedLanes,l=t.pingedLanes,u=t.expirationTimes,c=t.pendingLanes&-62914561;0<c;){var m=31-pe(c),v=1<<m,b=u[m];b===-1?((v&n)===0||(v&l)!==0)&&(u[m]=Sy(v,e)):b<=e&&(t.expiredLanes|=v),c&=~v}if(e=Bt,n=Et,n=Hi(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,n===0||t===e&&(Mt===2||Mt===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&Or(l),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||wa(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(l!==null&&Or(l),Mr(n)){case 2:case 8:n=qs;break;case 32:n=Ni;break;case 268435456:n=ks;break;default:n=Ni}return l=Fm.bind(null,t),n=En(n,l),t.callbackPriority=e,t.callbackNode=n,e}return l!==null&&l!==null&&Or(l),t.callbackPriority=2,t.callbackNode=null,2}function Fm(t,e){if(It!==0&&It!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(Cu()&&t.callbackNode!==n)return null;var l=Et;return l=Hi(t,t===Bt?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(zm(t,l,e),Pm(t,Xe()),t.callbackNode!=null&&t.callbackNode===n?Fm.bind(null,t):null)}function Wm(t,e){if(Cu())return null;zm(t,e,!0)}function Pg(){i0(function(){(Ct&6)!==0?En(js,Jg):Jm()})}function vc(){return yl===0&&(yl=Ys()),yl}function $m(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Yi(""+t)}function Im(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function Fg(t,e,n,l,u){if(e==="submit"&&n&&n.stateNode===u){var c=$m((u[re]||null).action),m=l.submitter;m&&(e=(e=m[re]||null)?$m(e.formAction):m.getAttribute("formAction"),e!==null&&(c=e,m=null));var v=new Qi("action","action",null,l,u);t.push({event:v,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(yl!==0){var b=m?Im(u,m):new FormData(u);Ho(n,{pending:!0,data:b,method:u.method,action:c},null,b)}}else typeof c=="function"&&(v.preventDefault(),b=m?Im(u,m):new FormData(u),Ho(n,{pending:!0,data:b,method:u.method,action:c},c,b))},currentTarget:u}]})}}for(var yc=0;yc<to.length;yc++){var gc=to[yc],Wg=gc.toLowerCase(),$g=gc[0].toUpperCase()+gc.slice(1);Ue(Wg,"on"+$g)}Ue(zf,"onAnimationEnd"),Ue(Nf,"onAnimationIteration"),Ue(Uf,"onAnimationStart"),Ue("dblclick","onDoubleClick"),Ue("focusin","onFocus"),Ue("focusout","onBlur"),Ue(pg,"onTransitionRun"),Ue(vg,"onTransitionStart"),Ue(yg,"onTransitionCancel"),Ue(Bf,"onTransitionEnd"),Rl("onMouseEnter",["mouseout","mouseover"]),Rl("onMouseLeave",["mouseout","mouseover"]),Rl("onPointerEnter",["pointerout","pointerover"]),Rl("onPointerLeave",["pointerout","pointerover"]),el("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),el("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),el("onBeforeInput",["compositionend","keypress","textInput","paste"]),el("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),el("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),el("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ci="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(" "),Ig=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ci));function th(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var l=t[n],u=l.event;l=l.listeners;t:{var c=void 0;if(e)for(var m=l.length-1;0<=m;m--){var v=l[m],b=v.instance,_=v.currentTarget;if(v=v.listener,b!==c&&u.isPropagationStopped())break t;c=v,u.currentTarget=_;try{c(u)}catch(L){yu(L)}u.currentTarget=null,c=b}else for(m=0;m<l.length;m++){if(v=l[m],b=v.instance,_=v.currentTarget,v=v.listener,b!==c&&u.isPropagationStopped())break t;c=v,u.currentTarget=_;try{c(u)}catch(L){yu(L)}u.currentTarget=null,c=b}}}}function St(t,e){var n=e[_r];n===void 0&&(n=e[_r]=new Set);var l=t+"__bubble";n.has(l)||(eh(e,t,2,!1),n.add(l))}function bc(t,e,n){var l=0;e&&(l|=4),eh(n,t,l,e)}var Du="_reactListening"+Math.random().toString(36).slice(2);function Sc(t){if(!t[Du]){t[Du]=!0,Ks.forEach(function(n){n!=="selectionchange"&&(Ig.has(n)||bc(n,!1,t),bc(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Du]||(e[Du]=!0,bc("selectionchange",!1,e))}}function eh(t,e,n,l){switch(Th(e)){case 2:var u=O0;break;case 8:u=R0;break;default:u=Uc}n=u.bind(null,e,n,t),u=void 0,!Yr||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(u=!0),l?u!==void 0?t.addEventListener(e,n,{capture:!0,passive:u}):t.addEventListener(e,n,!0):u!==void 0?t.addEventListener(e,n,{passive:u}):t.addEventListener(e,n,!1)}function Ec(t,e,n,l,u){var c=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var m=l.tag;if(m===3||m===4){var v=l.stateNode.containerInfo;if(v===u)break;if(m===4)for(m=l.return;m!==null;){var b=m.tag;if((b===3||b===4)&&m.stateNode.containerInfo===u)return;m=m.return}for(;v!==null;){if(m=wl(v),m===null)return;if(b=m.tag,b===5||b===6||b===26||b===27){l=c=m;continue t}v=v.parentNode}}l=l.return}of(function(){var _=c,L=qr(n),Y=[];t:{var z=Hf.get(t);if(z!==void 0){var U=Qi,ut=t;switch(t){case"keypress":if(Xi(n)===0)break t;case"keydown":case"keyup":U=Ky;break;case"focusin":ut="focus",U=Qr;break;case"focusout":ut="blur",U=Qr;break;case"beforeblur":case"afterblur":U=Qr;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":U=ff;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=By;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=Fy;break;case zf:case Nf:case Uf:U=jy;break;case Bf:U=$y;break;case"scroll":case"scrollend":U=Ny;break;case"wheel":U=tg;break;case"copy":case"cut":case"paste":U=ky;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=mf;break;case"toggle":case"beforetoggle":U=ng}var lt=(e&4)!==0,Nt=!lt&&(t==="scroll"||t==="scrollend"),w=lt?z!==null?z+"Capture":null:z;lt=[];for(var x=_,C;x!==null;){var j=x;if(C=j.stateNode,j=j.tag,j!==5&&j!==26&&j!==27||C===null||w===null||(j=Ca(x,w),j!=null&&lt.push(si(x,j,C))),Nt)break;x=x.return}0<lt.length&&(z=new U(z,ut,null,n,L),Y.push({event:z,listeners:lt}))}}if((e&7)===0){t:{if(z=t==="mouseover"||t==="pointerover",U=t==="mouseout"||t==="pointerout",z&&n!==jr&&(ut=n.relatedTarget||n.fromElement)&&(wl(ut)||ut[Al]))break t;if((U||z)&&(z=L.window===L?L:(z=L.ownerDocument)?z.defaultView||z.parentWindow:window,U?(ut=n.relatedTarget||n.toElement,U=_,ut=ut?wl(ut):null,ut!==null&&(Nt=f(ut),lt=ut.tag,ut!==Nt||lt!==5&&lt!==27&&lt!==6)&&(ut=null)):(U=null,ut=_),U!==ut)){if(lt=ff,j="onMouseLeave",w="onMouseEnter",x="mouse",(t==="pointerout"||t==="pointerover")&&(lt=mf,j="onPointerLeave",w="onPointerEnter",x="pointer"),Nt=U==null?z:Ra(U),C=ut==null?z:Ra(ut),z=new lt(j,x+"leave",U,n,L),z.target=Nt,z.relatedTarget=C,j=null,wl(L)===_&&(lt=new lt(w,x+"enter",ut,n,L),lt.target=C,lt.relatedTarget=Nt,j=lt),Nt=j,U&&ut)e:{for(lt=U,w=ut,x=0,C=lt;C;C=aa(C))x++;for(C=0,j=w;j;j=aa(j))C++;for(;0<x-C;)lt=aa(lt),x--;for(;0<C-x;)w=aa(w),C--;for(;x--;){if(lt===w||w!==null&&lt===w.alternate)break e;lt=aa(lt),w=aa(w)}lt=null}else lt=null;U!==null&&nh(Y,z,U,lt,!1),ut!==null&&Nt!==null&&nh(Y,Nt,ut,lt,!0)}}t:{if(z=_?Ra(_):window,U=z.nodeName&&z.nodeName.toLowerCase(),U==="select"||U==="input"&&z.type==="file")var I=Ef;else if(bf(z))if(xf)I=dg;else{I=sg;var vt=cg}else U=z.nodeName,!U||U.toLowerCase()!=="input"||z.type!=="checkbox"&&z.type!=="radio"?_&&Lr(_.elementType)&&(I=Ef):I=fg;if(I&&(I=I(t,_))){Sf(Y,I,n,L);break t}vt&&vt(t,z,_),t==="focusout"&&_&&z.type==="number"&&_.memoizedProps.value!=null&&Hr(z,"number",z.value)}switch(vt=_?Ra(_):window,t){case"focusin":(bf(vt)||vt.contentEditable==="true")&&(Ul=vt,Wr=_,Ha=null);break;case"focusout":Ha=Wr=Ul=null;break;case"mousedown":$r=!0;break;case"contextmenu":case"mouseup":case"dragend":$r=!1,_f(Y,n,L);break;case"selectionchange":if(hg)break;case"keydown":case"keyup":_f(Y,n,L)}var nt;if(Kr)t:{switch(t){case"compositionstart":var at="onCompositionStart";break t;case"compositionend":at="onCompositionEnd";break t;case"compositionupdate":at="onCompositionUpdate";break t}at=void 0}else Nl?yf(t,n)&&(at="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(at="onCompositionStart");at&&(hf&&n.locale!=="ko"&&(Nl||at!=="onCompositionStart"?at==="onCompositionEnd"&&Nl&&(nt=cf()):(wn=L,Gr="value"in wn?wn.value:wn.textContent,Nl=!0)),vt=zu(_,at),0<vt.length&&(at=new df(at,t,null,n,L),Y.push({event:at,listeners:vt}),nt?at.data=nt:(nt=gf(n),nt!==null&&(at.data=nt)))),(nt=ag?ig(t,n):ug(t,n))&&(at=zu(_,"onBeforeInput"),0<at.length&&(vt=new df("onBeforeInput","beforeinput",null,n,L),Y.push({event:vt,listeners:at}),vt.data=nt)),Fg(Y,t,_,n,L)}th(Y,e)})}function si(t,e,n){return{instance:t,listener:e,currentTarget:n}}function zu(t,e){for(var n=e+"Capture",l=[];t!==null;){var u=t,c=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||c===null||(u=Ca(t,n),u!=null&&l.unshift(si(t,u,c)),u=Ca(t,e),u!=null&&l.push(si(t,u,c))),t.tag===3)return l;t=t.return}return[]}function aa(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function nh(t,e,n,l,u){for(var c=e._reactName,m=[];n!==null&&n!==l;){var v=n,b=v.alternate,_=v.stateNode;if(v=v.tag,b!==null&&b===l)break;v!==5&&v!==26&&v!==27||_===null||(b=_,u?(_=Ca(n,c),_!=null&&m.unshift(si(n,_,b))):u||(_=Ca(n,c),_!=null&&m.push(si(n,_,b)))),n=n.return}m.length!==0&&t.push({event:e,listeners:m})}var t0=/\r\n?/g,e0=/\u0000|\uFFFD/g;function lh(t){return(typeof t=="string"?t:""+t).replace(t0,`
`).replace(e0,"")}function ah(t,e){return e=lh(e),lh(t)===e}function Nu(){}function zt(t,e,n,l,u,c){switch(n){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||_l(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&_l(t,""+l);break;case"className":ji(t,"class",l);break;case"tabIndex":ji(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":ji(t,n,l);break;case"style":uf(t,l,c);break;case"data":if(e!=="object"){ji(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Yi(""+l),t.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(n==="formAction"?(e!=="input"&&zt(t,e,"name",u.name,u,null),zt(t,e,"formEncType",u.formEncType,u,null),zt(t,e,"formMethod",u.formMethod,u,null),zt(t,e,"formTarget",u.formTarget,u,null)):(zt(t,e,"encType",u.encType,u,null),zt(t,e,"method",u.method,u,null),zt(t,e,"target",u.target,u,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Yi(""+l),t.setAttribute(n,l);break;case"onClick":l!=null&&(t.onclick=Nu);break;case"onScroll":l!=null&&St("scroll",t);break;case"onScrollEnd":l!=null&&St("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(n=l.__html,n!=null){if(u.children!=null)throw Error(r(60));t.innerHTML=n}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}n=Yi(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""+l):t.removeAttribute(n);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":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":l===!0?t.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,l):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(n,l):t.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(n):t.setAttribute(n,l);break;case"popover":St("beforetoggle",t),St("toggle",t),Li(t,"popover",l);break;case"xlinkActuate":nn(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":nn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":nn(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":nn(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":nn(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":nn(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":nn(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":nn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":nn(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Li(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=Dy.get(n)||n,Li(t,n,l))}}function xc(t,e,n,l,u,c){switch(n){case"style":uf(t,l,c);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(n=l.__html,n!=null){if(u.children!=null)throw Error(r(60));t.innerHTML=n}}break;case"children":typeof l=="string"?_l(t,l):(typeof l=="number"||typeof l=="bigint")&&_l(t,""+l);break;case"onScroll":l!=null&&St("scroll",t);break;case"onScrollEnd":l!=null&&St("scrollend",t);break;case"onClick":l!=null&&(t.onclick=Nu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Js.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(u=n.endsWith("Capture"),e=n.slice(2,u?n.length-7:void 0),c=t[re]||null,c=c!=null?c[n]:null,typeof c=="function"&&t.removeEventListener(e,c,u),typeof l=="function")){typeof c!="function"&&c!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,l,u);break t}n in t?t[n]=l:l===!0?t.setAttribute(n,""):Li(t,n,l)}}}function te(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":St("error",t),St("load",t);var l=!1,u=!1,c;for(c in n)if(n.hasOwnProperty(c)){var m=n[c];if(m!=null)switch(c){case"src":l=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:zt(t,e,c,m,n,null)}}u&&zt(t,e,"srcSet",n.srcSet,n,null),l&&zt(t,e,"src",n.src,n,null);return;case"input":St("invalid",t);var v=c=m=u=null,b=null,_=null;for(l in n)if(n.hasOwnProperty(l)){var L=n[l];if(L!=null)switch(l){case"name":u=L;break;case"type":m=L;break;case"checked":b=L;break;case"defaultChecked":_=L;break;case"value":c=L;break;case"defaultValue":v=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(r(137,e));break;default:zt(t,e,l,L,n,null)}}ef(t,c,v,b,_,m,u,!1),qi(t);return;case"select":St("invalid",t),l=m=c=null;for(u in n)if(n.hasOwnProperty(u)&&(v=n[u],v!=null))switch(u){case"value":c=v;break;case"defaultValue":m=v;break;case"multiple":l=v;default:zt(t,e,u,v,n,null)}e=c,n=m,t.multiple=!!l,e!=null?Ml(t,!!l,e,!1):n!=null&&Ml(t,!!l,n,!0);return;case"textarea":St("invalid",t),c=u=l=null;for(m in n)if(n.hasOwnProperty(m)&&(v=n[m],v!=null))switch(m){case"value":l=v;break;case"defaultValue":u=v;break;case"children":c=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(r(91));break;default:zt(t,e,m,v,n,null)}lf(t,l,u,c),qi(t);return;case"option":for(b in n)if(n.hasOwnProperty(b)&&(l=n[b],l!=null))switch(b){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:zt(t,e,b,l,n,null)}return;case"dialog":St("beforetoggle",t),St("toggle",t),St("cancel",t),St("close",t);break;case"iframe":case"object":St("load",t);break;case"video":case"audio":for(l=0;l<ci.length;l++)St(ci[l],t);break;case"image":St("error",t),St("load",t);break;case"details":St("toggle",t);break;case"embed":case"source":case"link":St("error",t),St("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(_ in n)if(n.hasOwnProperty(_)&&(l=n[_],l!=null))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:zt(t,e,_,l,n,null)}return;default:if(Lr(e)){for(L in n)n.hasOwnProperty(L)&&(l=n[L],l!==void 0&&xc(t,e,L,l,n,void 0));return}}for(v in n)n.hasOwnProperty(v)&&(l=n[v],l!=null&&zt(t,e,v,l,n,null))}function n0(t,e,n,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,c=null,m=null,v=null,b=null,_=null,L=null;for(U in n){var Y=n[U];if(n.hasOwnProperty(U)&&Y!=null)switch(U){case"checked":break;case"value":break;case"defaultValue":b=Y;default:l.hasOwnProperty(U)||zt(t,e,U,null,l,Y)}}for(var z in l){var U=l[z];if(Y=n[z],l.hasOwnProperty(z)&&(U!=null||Y!=null))switch(z){case"type":c=U;break;case"name":u=U;break;case"checked":_=U;break;case"defaultChecked":L=U;break;case"value":m=U;break;case"defaultValue":v=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(r(137,e));break;default:U!==Y&&zt(t,e,z,U,l,Y)}}Br(t,m,v,b,_,L,c,u);return;case"select":U=m=v=z=null;for(c in n)if(b=n[c],n.hasOwnProperty(c)&&b!=null)switch(c){case"value":break;case"multiple":U=b;default:l.hasOwnProperty(c)||zt(t,e,c,null,l,b)}for(u in l)if(c=l[u],b=n[u],l.hasOwnProperty(u)&&(c!=null||b!=null))switch(u){case"value":z=c;break;case"defaultValue":v=c;break;case"multiple":m=c;default:c!==b&&zt(t,e,u,c,l,b)}e=v,n=m,l=U,z!=null?Ml(t,!!n,z,!1):!!l!=!!n&&(e!=null?Ml(t,!!n,e,!0):Ml(t,!!n,n?[]:"",!1));return;case"textarea":U=z=null;for(v in n)if(u=n[v],n.hasOwnProperty(v)&&u!=null&&!l.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:zt(t,e,v,null,l,u)}for(m in l)if(u=l[m],c=n[m],l.hasOwnProperty(m)&&(u!=null||c!=null))switch(m){case"value":z=u;break;case"defaultValue":U=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(r(91));break;default:u!==c&&zt(t,e,m,u,l,c)}nf(t,z,U);return;case"option":for(var ut in n)if(z=n[ut],n.hasOwnProperty(ut)&&z!=null&&!l.hasOwnProperty(ut))switch(ut){case"selected":t.selected=!1;break;default:zt(t,e,ut,null,l,z)}for(b in l)if(z=l[b],U=n[b],l.hasOwnProperty(b)&&z!==U&&(z!=null||U!=null))switch(b){case"selected":t.selected=z&&typeof z!="function"&&typeof z!="symbol";break;default:zt(t,e,b,z,l,U)}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 lt in n)z=n[lt],n.hasOwnProperty(lt)&&z!=null&&!l.hasOwnProperty(lt)&&zt(t,e,lt,null,l,z);for(_ in l)if(z=l[_],U=n[_],l.hasOwnProperty(_)&&z!==U&&(z!=null||U!=null))switch(_){case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(r(137,e));break;default:zt(t,e,_,z,l,U)}return;default:if(Lr(e)){for(var Nt in n)z=n[Nt],n.hasOwnProperty(Nt)&&z!==void 0&&!l.hasOwnProperty(Nt)&&xc(t,e,Nt,void 0,l,z);for(L in l)z=l[L],U=n[L],!l.hasOwnProperty(L)||z===U||z===void 0&&U===void 0||xc(t,e,L,z,l,U);return}}for(var w in n)z=n[w],n.hasOwnProperty(w)&&z!=null&&!l.hasOwnProperty(w)&&zt(t,e,w,null,l,z);for(Y in l)z=l[Y],U=n[Y],!l.hasOwnProperty(Y)||z===U||z==null&&U==null||zt(t,e,Y,z,l,U)}var Ac=null,wc=null;function Uu(t){return t.nodeType===9?t:t.ownerDocument}function ih(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function uh(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Tc(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Oc=null;function l0(){var t=window.event;return t&&t.type==="popstate"?t===Oc?!1:(Oc=t,!0):(Oc=null,!1)}var rh=typeof setTimeout=="function"?setTimeout:void 0,a0=typeof clearTimeout=="function"?clearTimeout:void 0,oh=typeof Promise=="function"?Promise:void 0,i0=typeof queueMicrotask=="function"?queueMicrotask:typeof oh<"u"?function(t){return oh.resolve(null).then(t).catch(u0)}:rh;function u0(t){setTimeout(function(){throw t})}function kn(t){return t==="head"}function ch(t,e){var n=e,l=0,u=0;do{var c=n.nextSibling;if(t.removeChild(n),c&&c.nodeType===8)if(n=c.data,n==="/$"){if(0<l&&8>l){n=l;var m=t.ownerDocument;if(n&1&&fi(m.documentElement),n&2&&fi(m.body),n&4)for(n=m.head,fi(n),m=n.firstChild;m;){var v=m.nextSibling,b=m.nodeName;m[Oa]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&m.rel.toLowerCase()==="stylesheet"||n.removeChild(m),m=v}}if(u===0){t.removeChild(c),bi(e);return}u--}else n==="$"||n==="$?"||n==="$!"?u++:l=n.charCodeAt(0)-48;else l=0;n=c}while(n);bi(e)}function Rc(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Rc(n),Dr(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function r0(t,e,n,l){for(;t.nodeType===1;){var u=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[Oa])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(c=t.getAttribute("rel"),c==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(c!==u.rel||t.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||t.getAttribute("title")!==(u.title==null?null:u.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(c=t.getAttribute("src"),(c!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&c&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var c=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===c)return t}else return t;if(t=He(t.nextSibling),t===null)break}return null}function o0(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=He(t.nextSibling),t===null))return null;return t}function Cc(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function c0(t,e){var n=t.ownerDocument;if(t.data!=="$?"||n.readyState==="complete")e();else{var l=function(){e(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function He(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="F!"||e==="F")break;if(e==="/$")return null}}return t}var Mc=null;function sh(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"){if(e===0)return t;e--}else n==="/$"&&e++}t=t.previousSibling}return null}function fh(t,e,n){switch(e=Uu(n),t){case"html":if(t=e.documentElement,!t)throw Error(r(452));return t;case"head":if(t=e.head,!t)throw Error(r(453));return t;case"body":if(t=e.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}function fi(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Dr(t)}var Ne=new Map,dh=new Set;function Bu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var yn=V.d;V.d={f:s0,r:f0,D:d0,C:m0,L:h0,m:p0,X:y0,S:v0,M:g0};function s0(){var t=yn.f(),e=Ou();return t||e}function f0(t){var e=Tl(t);e!==null&&e.tag===5&&e.type==="form"?zd(e):yn.r(t)}var ia=typeof document>"u"?null:document;function mh(t,e,n){var l=ia;if(l&&typeof e=="string"&&e){var u=Oe(e);u='link[rel="'+t+'"][href="'+u+'"]',typeof n=="string"&&(u+='[crossorigin="'+n+'"]'),dh.has(u)||(dh.add(u),t={rel:t,crossOrigin:n,href:e},l.querySelector(u)===null&&(e=l.createElement("link"),te(e,"link",t),Jt(e),l.head.appendChild(e)))}}function d0(t){yn.D(t),mh("dns-prefetch",t,null)}function m0(t,e){yn.C(t,e),mh("preconnect",t,e)}function h0(t,e,n){yn.L(t,e,n);var l=ia;if(l&&t&&e){var u='link[rel="preload"][as="'+Oe(e)+'"]';e==="image"&&n&&n.imageSrcSet?(u+='[imagesrcset="'+Oe(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(u+='[imagesizes="'+Oe(n.imageSizes)+'"]')):u+='[href="'+Oe(t)+'"]';var c=u;switch(e){case"style":c=ua(t);break;case"script":c=ra(t)}Ne.has(c)||(t=g({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Ne.set(c,t),l.querySelector(u)!==null||e==="style"&&l.querySelector(di(c))||e==="script"&&l.querySelector(mi(c))||(e=l.createElement("link"),te(e,"link",t),Jt(e),l.head.appendChild(e)))}}function p0(t,e){yn.m(t,e);var n=ia;if(n&&t){var l=e&&typeof e.as=="string"?e.as:"script",u='link[rel="modulepreload"][as="'+Oe(l)+'"][href="'+Oe(t)+'"]',c=u;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=ra(t)}if(!Ne.has(c)&&(t=g({rel:"modulepreload",href:t},e),Ne.set(c,t),n.querySelector(u)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(mi(c)))return}l=n.createElement("link"),te(l,"link",t),Jt(l),n.head.appendChild(l)}}}function v0(t,e,n){yn.S(t,e,n);var l=ia;if(l&&t){var u=Ol(l).hoistableStyles,c=ua(t);e=e||"default";var m=u.get(c);if(!m){var v={loading:0,preload:null};if(m=l.querySelector(di(c)))v.loading=5;else{t=g({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Ne.get(c))&&_c(t,n);var b=m=l.createElement("link");Jt(b),te(b,"link",t),b._p=new Promise(function(_,L){b.onload=_,b.onerror=L}),b.addEventListener("load",function(){v.loading|=1}),b.addEventListener("error",function(){v.loading|=2}),v.loading|=4,Hu(m,e,l)}m={type:"stylesheet",instance:m,count:1,state:v},u.set(c,m)}}}function y0(t,e){yn.X(t,e);var n=ia;if(n&&t){var l=Ol(n).hoistableScripts,u=ra(t),c=l.get(u);c||(c=n.querySelector(mi(u)),c||(t=g({src:t,async:!0},e),(e=Ne.get(u))&&Dc(t,e),c=n.createElement("script"),Jt(c),te(c,"link",t),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(u,c))}}function g0(t,e){yn.M(t,e);var n=ia;if(n&&t){var l=Ol(n).hoistableScripts,u=ra(t),c=l.get(u);c||(c=n.querySelector(mi(u)),c||(t=g({src:t,async:!0,type:"module"},e),(e=Ne.get(u))&&Dc(t,e),c=n.createElement("script"),Jt(c),te(c,"link",t),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(u,c))}}function hh(t,e,n,l){var u=(u=it.current)?Bu(u):null;if(!u)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=ua(n.href),n=Ol(u).hoistableStyles,l=n.get(e),l||(l={type:"style",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=ua(n.href);var c=Ol(u).hoistableStyles,m=c.get(t);if(m||(u=u.ownerDocument||u,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(t,m),(c=u.querySelector(di(t)))&&!c._p&&(m.instance=c,m.state.loading=5),Ne.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ne.set(t,n),c||b0(u,t,n,m.state))),e&&l===null)throw Error(r(528,""));return m}if(e&&l!==null)throw Error(r(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=ra(n),n=Ol(u).hoistableScripts,l=n.get(e),l||(l={type:"script",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function ua(t){return'href="'+Oe(t)+'"'}function di(t){return'link[rel="stylesheet"]['+t+"]"}function ph(t){return g({},t,{"data-precedence":t.precedence,precedence:null})}function b0(t,e,n,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),te(e,"link",n),Jt(e),t.head.appendChild(e))}function ra(t){return'[src="'+Oe(t)+'"]'}function mi(t){return"script[async]"+t}function vh(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Oe(n.href)+'"]');if(l)return e.instance=l,Jt(l),l;var u=g({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),Jt(l),te(l,"style",u),Hu(l,n.precedence,t),e.instance=l;case"stylesheet":u=ua(n.href);var c=t.querySelector(di(u));if(c)return e.state.loading|=4,e.instance=c,Jt(c),c;l=ph(n),(u=Ne.get(u))&&_c(l,u),c=(t.ownerDocument||t).createElement("link"),Jt(c);var m=c;return m._p=new Promise(function(v,b){m.onload=v,m.onerror=b}),te(c,"link",l),e.state.loading|=4,Hu(c,n.precedence,t),e.instance=c;case"script":return c=ra(n.src),(u=t.querySelector(mi(c)))?(e.instance=u,Jt(u),u):(l=n,(u=Ne.get(c))&&(l=g({},n),Dc(l,u)),t=t.ownerDocument||t,u=t.createElement("script"),Jt(u),te(u,"link",l),t.head.appendChild(u),e.instance=u);case"void":return null;default:throw Error(r(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,Hu(l,n.precedence,t));return e.instance}function Hu(t,e,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=l.length?l[l.length-1]:null,c=u,m=0;m<l.length;m++){var v=l[m];if(v.dataset.precedence===e)c=v;else if(c!==u)break}c?c.parentNode.insertBefore(t,c.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function _c(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Dc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Lu=null;function yh(t,e,n){if(Lu===null){var l=new Map,u=Lu=new Map;u.set(n,l)}else u=Lu,l=u.get(n),l||(l=new Map,u.set(n,l));if(l.has(t))return l;for(l.set(t,null),n=n.getElementsByTagName(t),u=0;u<n.length;u++){var c=n[u];if(!(c[Oa]||c[ee]||t==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var m=c.getAttribute(e)||"";m=t+m;var v=l.get(m);v?v.push(c):l.set(m,[c])}}return l}function gh(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function S0(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function bh(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var hi=null;function E0(){}function x0(t,e,n){if(hi===null)throw Error(r(475));var l=hi;if(e.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var u=ua(n.href),c=t.querySelector(di(u));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=ju.bind(l),t.then(l,l)),e.state.loading|=4,e.instance=c,Jt(c);return}c=t.ownerDocument||t,n=ph(n),(u=Ne.get(u))&&_c(n,u),c=c.createElement("link"),Jt(c);var m=c;m._p=new Promise(function(v,b){m.onload=v,m.onerror=b}),te(c,"link",n),e.instance=c}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(l.count++,e=ju.bind(l),t.addEventListener("load",e),t.addEventListener("error",e))}}function A0(){if(hi===null)throw Error(r(475));var t=hi;return t.stylesheets&&t.count===0&&zc(t,t.stylesheets),0<t.count?function(e){var n=setTimeout(function(){if(t.stylesheets&&zc(t,t.stylesheets),t.unsuspend){var l=t.unsuspend;t.unsuspend=null,l()}},6e4);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(n)}}:null}function ju(){if(this.count--,this.count===0){if(this.stylesheets)zc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var qu=null;function zc(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,qu=new Map,e.forEach(w0,t),qu=null,ju.call(t))}function w0(t,e){if(!(e.state.loading&4)){var n=qu.get(t);if(n)var l=n.get(null);else{n=new Map,qu.set(t,n);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<u.length;c++){var m=u[c];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(n.set(m.dataset.precedence,m),l=m)}l&&n.set(null,l)}u=e.instance,m=u.getAttribute("data-precedence"),c=n.get(m)||l,c===l&&n.set(null,u),n.set(m,u),this.count++,l=ju.bind(this),u.addEventListener("load",l),u.addEventListener("error",l),c?c.parentNode.insertBefore(u,c.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),e.state.loading|=4}}var pi={$$typeof:X,Provider:null,Consumer:null,_currentValue:H,_currentValue2:H,_threadCount:0};function T0(t,e,n,l,u,c,m,v){this.tag=1,this.containerInfo=t,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=Rr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Rr(0),this.hiddenUpdates=Rr(null),this.identifierPrefix=l,this.onUncaughtError=u,this.onCaughtError=c,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=v,this.incompleteTransitions=new Map}function Sh(t,e,n,l,u,c,m,v,b,_,L,Y){return t=new T0(t,e,n,m,v,b,_,Y),e=1,c===!0&&(e|=24),c=ye(3,null,null,e),t.current=c,c.stateNode=t,e=mo(),e.refCount++,t.pooledCache=e,e.refCount++,c.memoizedState={element:l,isDehydrated:n,cache:e},yo(c),t}function Eh(t){return t?(t=jl,t):jl}function xh(t,e,n,l,u,c){u=Eh(u),l.context===null?l.context=u:l.pendingContext=u,l=Rn(e),l.payload={element:n},c=c===void 0?null:c,c!==null&&(l.callback=c),n=Cn(t,l,e),n!==null&&(xe(n,t,e),Qa(n,t,e))}function Ah(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function Nc(t,e){Ah(t,e),(t=t.alternate)&&Ah(t,e)}function wh(t){if(t.tag===13){var e=Ll(t,67108864);e!==null&&xe(e,t,67108864),Nc(t,67108864)}}var ku=!0;function O0(t,e,n,l){var u=N.T;N.T=null;var c=V.p;try{V.p=2,Uc(t,e,n,l)}finally{V.p=c,N.T=u}}function R0(t,e,n,l){var u=N.T;N.T=null;var c=V.p;try{V.p=8,Uc(t,e,n,l)}finally{V.p=c,N.T=u}}function Uc(t,e,n,l){if(ku){var u=Bc(l);if(u===null)Ec(t,e,l,Yu,n),Oh(t,l);else if(M0(u,t,e,n,l))l.stopPropagation();else if(Oh(t,l),e&4&&-1<C0.indexOf(t)){for(;u!==null;){var c=Tl(u);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var m=tl(c.pendingLanes);if(m!==0){var v=c;for(v.pendingLanes|=2,v.entangledLanes|=2;m;){var b=1<<31-pe(m);v.entanglements[1]|=b,m&=~b}Je(c),(Ct&6)===0&&(wu=Xe()+500,oi(0))}}break;case 13:v=Ll(c,2),v!==null&&xe(v,c,2),Ou(),Nc(c,2)}if(c=Bc(l),c===null&&Ec(t,e,l,Yu,n),c===u)break;u=c}u!==null&&l.stopPropagation()}else Ec(t,e,l,null,n)}}function Bc(t){return t=qr(t),Hc(t)}var Yu=null;function Hc(t){if(Yu=null,t=wl(t),t!==null){var e=f(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=d(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Yu=t,null}function Th(t){switch(t){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(my()){case js:return 2;case qs:return 8;case Ni:case hy:return 32;case ks:return 268435456;default:return 32}default:return 32}}var Lc=!1,Yn=null,Gn=null,Xn=null,vi=new Map,yi=new Map,Vn=[],C0="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 Oh(t,e){switch(t){case"focusin":case"focusout":Yn=null;break;case"dragenter":case"dragleave":Gn=null;break;case"mouseover":case"mouseout":Xn=null;break;case"pointerover":case"pointerout":vi.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":yi.delete(e.pointerId)}}function gi(t,e,n,l,u,c){return t===null||t.nativeEvent!==c?(t={blockedOn:e,domEventName:n,eventSystemFlags:l,nativeEvent:c,targetContainers:[u]},e!==null&&(e=Tl(e),e!==null&&wh(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,u!==null&&e.indexOf(u)===-1&&e.push(u),t)}function M0(t,e,n,l,u){switch(e){case"focusin":return Yn=gi(Yn,t,e,n,l,u),!0;case"dragenter":return Gn=gi(Gn,t,e,n,l,u),!0;case"mouseover":return Xn=gi(Xn,t,e,n,l,u),!0;case"pointerover":var c=u.pointerId;return vi.set(c,gi(vi.get(c)||null,t,e,n,l,u)),!0;case"gotpointercapture":return c=u.pointerId,yi.set(c,gi(yi.get(c)||null,t,e,n,l,u)),!0}return!1}function Rh(t){var e=wl(t.target);if(e!==null){var n=f(e);if(n!==null){if(e=n.tag,e===13){if(e=d(n),e!==null){t.blockedOn=e,xy(t.priority,function(){if(n.tag===13){var l=Ee();l=Cr(l);var u=Ll(n,l);u!==null&&xe(u,n,l),Nc(n,l)}});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Gu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=Bc(t.nativeEvent);if(n===null){n=t.nativeEvent;var l=new n.constructor(n.type,n);jr=l,n.target.dispatchEvent(l),jr=null}else return e=Tl(n),e!==null&&wh(e),t.blockedOn=n,!1;e.shift()}return!0}function Ch(t,e,n){Gu(t)&&n.delete(e)}function _0(){Lc=!1,Yn!==null&&Gu(Yn)&&(Yn=null),Gn!==null&&Gu(Gn)&&(Gn=null),Xn!==null&&Gu(Xn)&&(Xn=null),vi.forEach(Ch),yi.forEach(Ch)}function Xu(t,e){t.blockedOn===e&&(t.blockedOn=null,Lc||(Lc=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,_0)))}var Vu=null;function Mh(t){Vu!==t&&(Vu=t,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){Vu===t&&(Vu=null);for(var e=0;e<t.length;e+=3){var n=t[e],l=t[e+1],u=t[e+2];if(typeof l!="function"){if(Hc(l||n)===null)continue;break}var c=Tl(n);c!==null&&(t.splice(e,3),e-=3,Ho(c,{pending:!0,data:u,method:n.method,action:l},l,u))}}))}function bi(t){function e(b){return Xu(b,t)}Yn!==null&&Xu(Yn,t),Gn!==null&&Xu(Gn,t),Xn!==null&&Xu(Xn,t),vi.forEach(e),yi.forEach(e);for(var n=0;n<Vn.length;n++){var l=Vn[n];l.blockedOn===t&&(l.blockedOn=null)}for(;0<Vn.length&&(n=Vn[0],n.blockedOn===null);)Rh(n),n.blockedOn===null&&Vn.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var u=n[l],c=n[l+1],m=u[re]||null;if(typeof c=="function")m||Mh(n);else if(m){var v=null;if(c&&c.hasAttribute("formAction")){if(u=c,m=c[re]||null)v=m.formAction;else if(Hc(u)!==null)continue}else v=m.action;typeof v=="function"?n[l+1]=v:(n.splice(l,3),l-=3),Mh(n)}}}function jc(t){this._internalRoot=t}Qu.prototype.render=jc.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(r(409));var n=e.current,l=Ee();xh(n,l,t,e,null,null)},Qu.prototype.unmount=jc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;xh(t.current,2,null,t,null,null),Ou(),e[Al]=null}};function Qu(t){this._internalRoot=t}Qu.prototype.unstable_scheduleHydration=function(t){if(t){var e=Qs();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Vn.length&&e!==0&&e<Vn[n].priority;n++);Vn.splice(n,0,t),n===0&&Rh(t)}};var _h=i.version;if(_h!=="19.1.1")throw Error(r(527,_h,"19.1.1"));V.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=y(e),t=t!==null?p(t):null,t=t===null?null:t.stateNode,t};var D0={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:N,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Zu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zu.isDisabled&&Zu.supportsFiber)try{Aa=Zu.inject(D0),he=Zu}catch{}}return Ei.createRoot=function(t,e){if(!s(t))throw Error(r(299));var n=!1,l="",u=Zd,c=Kd,m=Jd,v=null;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(m=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(v=e.unstable_transitionCallbacks)),e=Sh(t,1,!1,null,null,n,l,u,c,m,v,null),t[Al]=e.current,Sc(t),new jc(e)},Ei.hydrateRoot=function(t,e,n){if(!s(t))throw Error(r(299));var l=!1,u="",c=Zd,m=Kd,v=Jd,b=null,_=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(m=n.onCaughtError),n.onRecoverableError!==void 0&&(v=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(b=n.unstable_transitionCallbacks),n.formState!==void 0&&(_=n.formState)),e=Sh(t,1,!0,e,n??null,l,u,c,m,v,b,_),e.context=Eh(null),n=e.current,l=Ee(),l=Cr(l),u=Rn(l),u.callback=null,Cn(n,u,l),n=l,e.current.lanes=n,Ta(e,n),Je(e),t[Al]=e.current,Sc(t),new Qu(e)},Ei.version="19.1.1",Ei}var kh;function G0(){if(kh)return Yc.exports;kh=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),Yc.exports=Y0(),Yc.exports}var X0=G0();const fA=bs(X0);function Dp(a,i){return function(){return a.apply(i,arguments)}}const{toString:V0}=Object.prototype,{getPrototypeOf:Es}=Object,{iterator:hr,toStringTag:zp}=Symbol,pr=(a=>i=>{const o=V0.call(i);return a[o]||(a[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),qe=a=>(a=a.toLowerCase(),i=>pr(i)===a),vr=a=>i=>typeof i===a,{isArray:ya}=Array,wi=vr("undefined");function Ri(a){return a!==null&&!wi(a)&&a.constructor!==null&&!wi(a.constructor)&&de(a.constructor.isBuffer)&&a.constructor.isBuffer(a)}const Np=qe("ArrayBuffer");function Q0(a){let i;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?i=ArrayBuffer.isView(a):i=a&&a.buffer&&Np(a.buffer),i}const Z0=vr("string"),de=vr("function"),Up=vr("number"),Ci=a=>a!==null&&typeof a=="object",K0=a=>a===!0||a===!1,nr=a=>{if(pr(a)!=="object")return!1;const i=Es(a);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(zp in a)&&!(hr in a)},J0=a=>{if(!Ci(a)||Ri(a))return!1;try{return Object.keys(a).length===0&&Object.getPrototypeOf(a)===Object.prototype}catch{return!1}},P0=qe("Date"),F0=qe("File"),W0=qe("Blob"),$0=qe("FileList"),I0=a=>Ci(a)&&de(a.pipe),tb=a=>{let i;return a&&(typeof FormData=="function"&&a instanceof FormData||de(a.append)&&((i=pr(a))==="formdata"||i==="object"&&de(a.toString)&&a.toString()==="[object FormData]"))},eb=qe("URLSearchParams"),[nb,lb,ab,ib]=["ReadableStream","Request","Response","Headers"].map(qe),ub=a=>a.trim?a.trim():a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Mi(a,i,{allOwnKeys:o=!1}={}){if(a===null||typeof a>"u")return;let r,s;if(typeof a!="object"&&(a=[a]),ya(a))for(r=0,s=a.length;r<s;r++)i.call(null,a[r],r,a);else{if(Ri(a))return;const f=o?Object.getOwnPropertyNames(a):Object.keys(a),d=f.length;let h;for(r=0;r<d;r++)h=f[r],i.call(null,a[h],h,a)}}function Bp(a,i){if(Ri(a))return null;i=i.toLowerCase();const o=Object.keys(a);let r=o.length,s;for(;r-- >0;)if(s=o[r],i===s.toLowerCase())return s;return null}const bl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Hp=a=>!wi(a)&&a!==bl;function is(){const{caseless:a}=Hp(this)&&this||{},i={},o=(r,s)=>{const f=a&&Bp(i,s)||s;nr(i[f])&&nr(r)?i[f]=is(i[f],r):nr(r)?i[f]=is({},r):ya(r)?i[f]=r.slice():i[f]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&Mi(arguments[r],o);return i}const rb=(a,i,o,{allOwnKeys:r}={})=>(Mi(i,(s,f)=>{o&&de(s)?a[f]=Dp(s,o):a[f]=s},{allOwnKeys:r}),a),ob=a=>(a.charCodeAt(0)===65279&&(a=a.slice(1)),a),cb=(a,i,o,r)=>{a.prototype=Object.create(i.prototype,r),a.prototype.constructor=a,Object.defineProperty(a,"super",{value:i.prototype}),o&&Object.assign(a.prototype,o)},sb=(a,i,o,r)=>{let s,f,d;const h={};if(i=i||{},a==null)return i;do{for(s=Object.getOwnPropertyNames(a),f=s.length;f-- >0;)d=s[f],(!r||r(d,a,i))&&!h[d]&&(i[d]=a[d],h[d]=!0);a=o!==!1&&Es(a)}while(a&&(!o||o(a,i))&&a!==Object.prototype);return i},fb=(a,i,o)=>{a=String(a),(o===void 0||o>a.length)&&(o=a.length),o-=i.length;const r=a.indexOf(i,o);return r!==-1&&r===o},db=a=>{if(!a)return null;if(ya(a))return a;let i=a.length;if(!Up(i))return null;const o=new Array(i);for(;i-- >0;)o[i]=a[i];return o},mb=(a=>i=>a&&i instanceof a)(typeof Uint8Array<"u"&&Es(Uint8Array)),hb=(a,i)=>{const r=(a&&a[hr]).call(a);let s;for(;(s=r.next())&&!s.done;){const f=s.value;i.call(a,f[0],f[1])}},pb=(a,i)=>{let o;const r=[];for(;(o=a.exec(i))!==null;)r.push(o);return r},vb=qe("HTMLFormElement"),yb=a=>a.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,r,s){return r.toUpperCase()+s}),Yh=(({hasOwnProperty:a})=>(i,o)=>a.call(i,o))(Object.prototype),gb=qe("RegExp"),Lp=(a,i)=>{const o=Object.getOwnPropertyDescriptors(a),r={};Mi(o,(s,f)=>{let d;(d=i(s,f,a))!==!1&&(r[f]=d||s)}),Object.defineProperties(a,r)},bb=a=>{Lp(a,(i,o)=>{if(de(a)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const r=a[o];if(de(r)){if(i.enumerable=!1,"writable"in i){i.writable=!1;return}i.set||(i.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},Sb=(a,i)=>{const o={},r=s=>{s.forEach(f=>{o[f]=!0})};return ya(a)?r(a):r(String(a).split(i)),o},Eb=()=>{},xb=(a,i)=>a!=null&&Number.isFinite(a=+a)?a:i;function Ab(a){return!!(a&&de(a.append)&&a[zp]==="FormData"&&a[hr])}const wb=a=>{const i=new Array(10),o=(r,s)=>{if(Ci(r)){if(i.indexOf(r)>=0)return;if(Ri(r))return r;if(!("toJSON"in r)){i[s]=r;const f=ya(r)?[]:{};return Mi(r,(d,h)=>{const y=o(d,s+1);!wi(y)&&(f[h]=y)}),i[s]=void 0,f}}return r};return o(a,0)},Tb=qe("AsyncFunction"),Ob=a=>a&&(Ci(a)||de(a))&&de(a.then)&&de(a.catch),jp=((a,i)=>a?setImmediate:i?((o,r)=>(bl.addEventListener("message",({source:s,data:f})=>{s===bl&&f===o&&r.length&&r.shift()()},!1),s=>{r.push(s),bl.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",de(bl.postMessage)),Rb=typeof queueMicrotask<"u"?queueMicrotask.bind(bl):typeof process<"u"&&process.nextTick||jp,Cb=a=>a!=null&&de(a[hr]),B={isArray:ya,isArrayBuffer:Np,isBuffer:Ri,isFormData:tb,isArrayBufferView:Q0,isString:Z0,isNumber:Up,isBoolean:K0,isObject:Ci,isPlainObject:nr,isEmptyObject:J0,isReadableStream:nb,isRequest:lb,isResponse:ab,isHeaders:ib,isUndefined:wi,isDate:P0,isFile:F0,isBlob:W0,isRegExp:gb,isFunction:de,isStream:I0,isURLSearchParams:eb,isTypedArray:mb,isFileList:$0,forEach:Mi,merge:is,extend:rb,trim:ub,stripBOM:ob,inherits:cb,toFlatObject:sb,kindOf:pr,kindOfTest:qe,endsWith:fb,toArray:db,forEachEntry:hb,matchAll:pb,isHTMLForm:vb,hasOwnProperty:Yh,hasOwnProp:Yh,reduceDescriptors:Lp,freezeMethods:bb,toObjectSet:Sb,toCamelCase:yb,noop:Eb,toFiniteNumber:xb,findKey:Bp,global:bl,isContextDefined:Hp,isSpecCompliantForm:Ab,toJSONObject:wb,isAsyncFn:Tb,isThenable:Ob,setImmediate:jp,asap:Rb,isIterable:Cb};function st(a,i,o,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=a,this.name="AxiosError",i&&(this.code=i),o&&(this.config=o),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}B.inherits(st,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:B.toJSONObject(this.config),code:this.code,status:this.status}}});const qp=st.prototype,kp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(a=>{kp[a]={value:a}});Object.defineProperties(st,kp);Object.defineProperty(qp,"isAxiosError",{value:!0});st.from=(a,i,o,r,s,f)=>{const d=Object.create(qp);return B.toFlatObject(a,d,function(y){return y!==Error.prototype},h=>h!=="isAxiosError"),st.call(d,a.message,i,o,r,s),d.cause=a,d.name=a.name,f&&Object.assign(d,f),d};const Mb=null;function us(a){return B.isPlainObject(a)||B.isArray(a)}function Yp(a){return B.endsWith(a,"[]")?a.slice(0,-2):a}function Gh(a,i,o){return a?a.concat(i).map(function(s,f){return s=Yp(s),!o&&f?"["+s+"]":s}).join(o?".":""):i}function _b(a){return B.isArray(a)&&!a.some(us)}const Db=B.toFlatObject(B,{},null,function(i){return/^is[A-Z]/.test(i)});function yr(a,i,o){if(!B.isObject(a))throw new TypeError("target must be an object");i=i||new FormData,o=B.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(A,M){return!B.isUndefined(M[A])});const r=o.metaTokens,s=o.visitor||g,f=o.dots,d=o.indexes,y=(o.Blob||typeof Blob<"u"&&Blob)&&B.isSpecCompliantForm(i);if(!B.isFunction(s))throw new TypeError("visitor must be a function");function p(O){if(O===null)return"";if(B.isDate(O))return O.toISOString();if(B.isBoolean(O))return O.toString();if(!y&&B.isBlob(O))throw new st("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(O)||B.isTypedArray(O)?y&&typeof Blob=="function"?new Blob([O]):Buffer.from(O):O}function g(O,A,M){let q=O;if(O&&!M&&typeof O=="object"){if(B.endsWith(A,"{}"))A=r?A:A.slice(0,-2),O=JSON.stringify(O);else if(B.isArray(O)&&_b(O)||(B.isFileList(O)||B.endsWith(A,"[]"))&&(q=B.toArray(O)))return A=Yp(A),q.forEach(function(X,Z){!(B.isUndefined(X)||X===null)&&i.append(d===!0?Gh([A],Z,f):d===null?A:A+"[]",p(X))}),!1}return us(O)?!0:(i.append(Gh(M,A,f),p(O)),!1)}const S=[],T=Object.assign(Db,{defaultVisitor:g,convertValue:p,isVisitable:us});function D(O,A){if(!B.isUndefined(O)){if(S.indexOf(O)!==-1)throw Error("Circular reference detected in "+A.join("."));S.push(O),B.forEach(O,function(q,Q){(!(B.isUndefined(q)||q===null)&&s.call(i,q,B.isString(Q)?Q.trim():Q,A,T))===!0&&D(q,A?A.concat(Q):[Q])}),S.pop()}}if(!B.isObject(a))throw new TypeError("data must be an object");return D(a),i}function Xh(a){const i={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(a).replace(/[!'()~]|%20|%00/g,function(r){return i[r]})}function xs(a,i){this._pairs=[],a&&yr(a,this,i)}const Gp=xs.prototype;Gp.append=function(i,o){this._pairs.push([i,o])};Gp.toString=function(i){const o=i?function(r){return i.call(this,r,Xh)}:Xh;return this._pairs.map(function(s){return o(s[0])+"="+o(s[1])},"").join("&")};function zb(a){return encodeURIComponent(a).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Xp(a,i,o){if(!i)return a;const r=o&&o.encode||zb;B.isFunction(o)&&(o={serialize:o});const s=o&&o.serialize;let f;if(s?f=s(i,o):f=B.isURLSearchParams(i)?i.toString():new xs(i,o).toString(r),f){const d=a.indexOf("#");d!==-1&&(a=a.slice(0,d)),a+=(a.indexOf("?")===-1?"?":"&")+f}return a}class Vh{constructor(){this.handlers=[]}use(i,o,r){return this.handlers.push({fulfilled:i,rejected:o,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(i){this.handlers[i]&&(this.handlers[i]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(i){B.forEach(this.handlers,function(r){r!==null&&i(r)})}}const Vp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Nb=typeof URLSearchParams<"u"?URLSearchParams:xs,Ub=typeof FormData<"u"?FormData:null,Bb=typeof Blob<"u"?Blob:null,Hb={isBrowser:!0,classes:{URLSearchParams:Nb,FormData:Ub,Blob:Bb},protocols:["http","https","file","blob","url","data"]},As=typeof window<"u"&&typeof document<"u",rs=typeof navigator=="object"&&navigator||void 0,Lb=As&&(!rs||["ReactNative","NativeScript","NS"].indexOf(rs.product)<0),jb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",qb=As&&window.location.href||"http://localhost",kb=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:As,hasStandardBrowserEnv:Lb,hasStandardBrowserWebWorkerEnv:jb,navigator:rs,origin:qb},Symbol.toStringTag,{value:"Module"})),ae={...kb,...Hb};function Yb(a,i){return yr(a,new ae.classes.URLSearchParams,{visitor:function(o,r,s,f){return ae.isNode&&B.isBuffer(o)?(this.append(r,o.toString("base64")),!1):f.defaultVisitor.apply(this,arguments)},...i})}function Gb(a){return B.matchAll(/\w+|\[(\w*)]/g,a).map(i=>i[0]==="[]"?"":i[1]||i[0])}function Xb(a){const i={},o=Object.keys(a);let r;const s=o.length;let f;for(r=0;r<s;r++)f=o[r],i[f]=a[f];return i}function Qp(a){function i(o,r,s,f){let d=o[f++];if(d==="__proto__")return!0;const h=Number.isFinite(+d),y=f>=o.length;return d=!d&&B.isArray(s)?s.length:d,y?(B.hasOwnProp(s,d)?s[d]=[s[d],r]:s[d]=r,!h):((!s[d]||!B.isObject(s[d]))&&(s[d]=[]),i(o,r,s[d],f)&&B.isArray(s[d])&&(s[d]=Xb(s[d])),!h)}if(B.isFormData(a)&&B.isFunction(a.entries)){const o={};return B.forEachEntry(a,(r,s)=>{i(Gb(r),s,o,0)}),o}return null}function Vb(a,i,o){if(B.isString(a))try{return(i||JSON.parse)(a),B.trim(a)}catch(r){if(r.name!=="SyntaxError")throw r}return(o||JSON.stringify)(a)}const _i={transitional:Vp,adapter:["xhr","http","fetch"],transformRequest:[function(i,o){const r=o.getContentType()||"",s=r.indexOf("application/json")>-1,f=B.isObject(i);if(f&&B.isHTMLForm(i)&&(i=new FormData(i)),B.isFormData(i))return s?JSON.stringify(Qp(i)):i;if(B.isArrayBuffer(i)||B.isBuffer(i)||B.isStream(i)||B.isFile(i)||B.isBlob(i)||B.isReadableStream(i))return i;if(B.isArrayBufferView(i))return i.buffer;if(B.isURLSearchParams(i))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),i.toString();let h;if(f){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Yb(i,this.formSerializer).toString();if((h=B.isFileList(i))||r.indexOf("multipart/form-data")>-1){const y=this.env&&this.env.FormData;return yr(h?{"files[]":i}:i,y&&new y,this.formSerializer)}}return f||s?(o.setContentType("application/json",!1),Vb(i)):i}],transformResponse:[function(i){const o=this.transitional||_i.transitional,r=o&&o.forcedJSONParsing,s=this.responseType==="json";if(B.isResponse(i)||B.isReadableStream(i))return i;if(i&&B.isString(i)&&(r&&!this.responseType||s)){const d=!(o&&o.silentJSONParsing)&&s;try{return JSON.parse(i)}catch(h){if(d)throw h.name==="SyntaxError"?st.from(h,st.ERR_BAD_RESPONSE,this,null,this.response):h}}return i}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ae.classes.FormData,Blob:ae.classes.Blob},validateStatus:function(i){return i>=200&&i<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};B.forEach(["delete","get","head","post","put","patch"],a=>{_i.headers[a]={}});const Qb=B.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Zb=a=>{const i={};let o,r,s;return a&&a.split(`
`).forEach(function(d){s=d.indexOf(":"),o=d.substring(0,s).trim().toLowerCase(),r=d.substring(s+1).trim(),!(!o||i[o]&&Qb[o])&&(o==="set-cookie"?i[o]?i[o].push(r):i[o]=[r]:i[o]=i[o]?i[o]+", "+r:r)}),i},Qh=Symbol("internals");function xi(a){return a&&String(a).trim().toLowerCase()}function lr(a){return a===!1||a==null?a:B.isArray(a)?a.map(lr):String(a)}function Kb(a){const i=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=o.exec(a);)i[r[1]]=r[2];return i}const Jb=a=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(a.trim());function Qc(a,i,o,r,s){if(B.isFunction(r))return r.call(this,i,o);if(s&&(i=o),!!B.isString(i)){if(B.isString(r))return i.indexOf(r)!==-1;if(B.isRegExp(r))return r.test(i)}}function Pb(a){return a.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(i,o,r)=>o.toUpperCase()+r)}function Fb(a,i){const o=B.toCamelCase(" "+i);["get","set","has"].forEach(r=>{Object.defineProperty(a,r+o,{value:function(s,f,d){return this[r].call(this,i,s,f,d)},configurable:!0})})}let me=class{constructor(i){i&&this.set(i)}set(i,o,r){const s=this;function f(h,y,p){const g=xi(y);if(!g)throw new Error("header name must be a non-empty string");const S=B.findKey(s,g);(!S||s[S]===void 0||p===!0||p===void 0&&s[S]!==!1)&&(s[S||y]=lr(h))}const d=(h,y)=>B.forEach(h,(p,g)=>f(p,g,y));if(B.isPlainObject(i)||i instanceof this.constructor)d(i,o);else if(B.isString(i)&&(i=i.trim())&&!Jb(i))d(Zb(i),o);else if(B.isObject(i)&&B.isIterable(i)){let h={},y,p;for(const g of i){if(!B.isArray(g))throw TypeError("Object iterator must return a key-value pair");h[p=g[0]]=(y=h[p])?B.isArray(y)?[...y,g[1]]:[y,g[1]]:g[1]}d(h,o)}else i!=null&&f(o,i,r);return this}get(i,o){if(i=xi(i),i){const r=B.findKey(this,i);if(r){const s=this[r];if(!o)return s;if(o===!0)return Kb(s);if(B.isFunction(o))return o.call(this,s,r);if(B.isRegExp(o))return o.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(i,o){if(i=xi(i),i){const r=B.findKey(this,i);return!!(r&&this[r]!==void 0&&(!o||Qc(this,this[r],r,o)))}return!1}delete(i,o){const r=this;let s=!1;function f(d){if(d=xi(d),d){const h=B.findKey(r,d);h&&(!o||Qc(r,r[h],h,o))&&(delete r[h],s=!0)}}return B.isArray(i)?i.forEach(f):f(i),s}clear(i){const o=Object.keys(this);let r=o.length,s=!1;for(;r--;){const f=o[r];(!i||Qc(this,this[f],f,i,!0))&&(delete this[f],s=!0)}return s}normalize(i){const o=this,r={};return B.forEach(this,(s,f)=>{const d=B.findKey(r,f);if(d){o[d]=lr(s),delete o[f];return}const h=i?Pb(f):String(f).trim();h!==f&&delete o[f],o[h]=lr(s),r[h]=!0}),this}concat(...i){return this.constructor.concat(this,...i)}toJSON(i){const o=Object.create(null);return B.forEach(this,(r,s)=>{r!=null&&r!==!1&&(o[s]=i&&B.isArray(r)?r.join(", "):r)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([i,o])=>i+": "+o).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static concat(i,...o){const r=new this(i);return o.forEach(s=>r.set(s)),r}static accessor(i){const r=(this[Qh]=this[Qh]={accessors:{}}).accessors,s=this.prototype;function f(d){const h=xi(d);r[h]||(Fb(s,d),r[h]=!0)}return B.isArray(i)?i.forEach(f):f(i),this}};me.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);B.reduceDescriptors(me.prototype,({value:a},i)=>{let o=i[0].toUpperCase()+i.slice(1);return{get:()=>a,set(r){this[o]=r}}});B.freezeMethods(me);function Zc(a,i){const o=this||_i,r=i||o,s=me.from(r.headers);let f=r.data;return B.forEach(a,function(h){f=h.call(o,f,s.normalize(),i?i.status:void 0)}),s.normalize(),f}function Zp(a){return!!(a&&a.__CANCEL__)}function ga(a,i,o){st.call(this,a??"canceled",st.ERR_CANCELED,i,o),this.name="CanceledError"}B.inherits(ga,st,{__CANCEL__:!0});function Kp(a,i,o){const r=o.config.validateStatus;!o.status||!r||r(o.status)?a(o):i(new st("Request failed with status code "+o.status,[st.ERR_BAD_REQUEST,st.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}function Wb(a){const i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(a);return i&&i[1]||""}function $b(a,i){a=a||10;const o=new Array(a),r=new Array(a);let s=0,f=0,d;return i=i!==void 0?i:1e3,function(y){const p=Date.now(),g=r[f];d||(d=p),o[s]=y,r[s]=p;let S=f,T=0;for(;S!==s;)T+=o[S++],S=S%a;if(s=(s+1)%a,s===f&&(f=(f+1)%a),p-d<i)return;const D=g&&p-g;return D?Math.round(T*1e3/D):void 0}}function Ib(a,i){let o=0,r=1e3/i,s,f;const d=(p,g=Date.now())=>{o=g,s=null,f&&(clearTimeout(f),f=null),a(...p)};return[(...p)=>{const g=Date.now(),S=g-o;S>=r?d(p,g):(s=p,f||(f=setTimeout(()=>{f=null,d(s)},r-S)))},()=>s&&d(s)]}const or=(a,i,o=3)=>{let r=0;const s=$b(50,250);return Ib(f=>{const d=f.loaded,h=f.lengthComputable?f.total:void 0,y=d-r,p=s(y),g=d<=h;r=d;const S={loaded:d,total:h,progress:h?d/h:void 0,bytes:y,rate:p||void 0,estimated:p&&h&&g?(h-d)/p:void 0,event:f,lengthComputable:h!=null,[i?"download":"upload"]:!0};a(S)},o)},Zh=(a,i)=>{const o=a!=null;return[r=>i[0]({lengthComputable:o,total:a,loaded:r}),i[1]]},Kh=a=>(...i)=>B.asap(()=>a(...i)),tS=ae.hasStandardBrowserEnv?((a,i)=>o=>(o=new URL(o,ae.origin),a.protocol===o.protocol&&a.host===o.host&&(i||a.port===o.port)))(new URL(ae.origin),ae.navigator&&/(msie|trident)/i.test(ae.navigator.userAgent)):()=>!0,eS=ae.hasStandardBrowserEnv?{write(a,i,o,r,s,f){const d=[a+"="+encodeURIComponent(i)];B.isNumber(o)&&d.push("expires="+new Date(o).toGMTString()),B.isString(r)&&d.push("path="+r),B.isString(s)&&d.push("domain="+s),f===!0&&d.push("secure"),document.cookie=d.join("; ")},read(a){const i=document.cookie.match(new RegExp("(^|;\\s*)("+a+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove(a){this.write(a,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function nS(a){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(a)}function lS(a,i){return i?a.replace(/\/?\/$/,"")+"/"+i.replace(/^\/+/,""):a}function Jp(a,i,o){let r=!nS(i);return a&&(r||o==!1)?lS(a,i):i}const Jh=a=>a instanceof me?{...a}:a;function El(a,i){i=i||{};const o={};function r(p,g,S,T){return B.isPlainObject(p)&&B.isPlainObject(g)?B.merge.call({caseless:T},p,g):B.isPlainObject(g)?B.merge({},g):B.isArray(g)?g.slice():g}function s(p,g,S,T){if(B.isUndefined(g)){if(!B.isUndefined(p))return r(void 0,p,S,T)}else return r(p,g,S,T)}function f(p,g){if(!B.isUndefined(g))return r(void 0,g)}function d(p,g){if(B.isUndefined(g)){if(!B.isUndefined(p))return r(void 0,p)}else return r(void 0,g)}function h(p,g,S){if(S in i)return r(p,g);if(S in a)return r(void 0,p)}const y={url:f,method:f,data:f,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,withXSRFToken:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,beforeRedirect:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:h,headers:(p,g,S)=>s(Jh(p),Jh(g),S,!0)};return B.forEach(Object.keys({...a,...i}),function(g){const S=y[g]||s,T=S(a[g],i[g],g);B.isUndefined(T)&&S!==h||(o[g]=T)}),o}const Pp=a=>{const i=El({},a);let{data:o,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:f,headers:d,auth:h}=i;i.headers=d=me.from(d),i.url=Xp(Jp(i.baseURL,i.url,i.allowAbsoluteUrls),a.params,a.paramsSerializer),h&&d.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):"")));let y;if(B.isFormData(o)){if(ae.hasStandardBrowserEnv||ae.hasStandardBrowserWebWorkerEnv)d.setContentType(void 0);else if((y=d.getContentType())!==!1){const[p,...g]=y?y.split(";").map(S=>S.trim()).filter(Boolean):[];d.setContentType([p||"multipart/form-data",...g].join("; "))}}if(ae.hasStandardBrowserEnv&&(r&&B.isFunction(r)&&(r=r(i)),r||r!==!1&&tS(i.url))){const p=s&&f&&eS.read(f);p&&d.set(s,p)}return i},aS=typeof XMLHttpRequest<"u",iS=aS&&function(a){return new Promise(function(o,r){const s=Pp(a);let f=s.data;const d=me.from(s.headers).normalize();let{responseType:h,onUploadProgress:y,onDownloadProgress:p}=s,g,S,T,D,O;function A(){D&&D(),O&&O(),s.cancelToken&&s.cancelToken.unsubscribe(g),s.signal&&s.signal.removeEventListener("abort",g)}let M=new XMLHttpRequest;M.open(s.method.toUpperCase(),s.url,!0),M.timeout=s.timeout;function q(){if(!M)return;const X=me.from("getAllResponseHeaders"in M&&M.getAllResponseHeaders()),k={data:!h||h==="text"||h==="json"?M.responseText:M.response,status:M.status,statusText:M.statusText,headers:X,config:a,request:M};Kp(function(P){o(P),A()},function(P){r(P),A()},k),M=null}"onloadend"in M?M.onloadend=q:M.onreadystatechange=function(){!M||M.readyState!==4||M.status===0&&!(M.responseURL&&M.responseURL.indexOf("file:")===0)||setTimeout(q)},M.onabort=function(){M&&(r(new st("Request aborted",st.ECONNABORTED,a,M)),M=null)},M.onerror=function(){r(new st("Network Error",st.ERR_NETWORK,a,M)),M=null},M.ontimeout=function(){let Z=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const k=s.transitional||Vp;s.timeoutErrorMessage&&(Z=s.timeoutErrorMessage),r(new st(Z,k.clarifyTimeoutError?st.ETIMEDOUT:st.ECONNABORTED,a,M)),M=null},f===void 0&&d.setContentType(null),"setRequestHeader"in M&&B.forEach(d.toJSON(),function(Z,k){M.setRequestHeader(k,Z)}),B.isUndefined(s.withCredentials)||(M.withCredentials=!!s.withCredentials),h&&h!=="json"&&(M.responseType=s.responseType),p&&([T,O]=or(p,!0),M.addEventListener("progress",T)),y&&M.upload&&([S,D]=or(y),M.upload.addEventListener("progress",S),M.upload.addEventListener("loadend",D)),(s.cancelToken||s.signal)&&(g=X=>{M&&(r(!X||X.type?new ga(null,a,M):X),M.abort(),M=null)},s.cancelToken&&s.cancelToken.subscribe(g),s.signal&&(s.signal.aborted?g():s.signal.addEventListener("abort",g)));const Q=Wb(s.url);if(Q&&ae.protocols.indexOf(Q)===-1){r(new st("Unsupported protocol "+Q+":",st.ERR_BAD_REQUEST,a));return}M.send(f||null)})},uS=(a,i)=>{const{length:o}=a=a?a.filter(Boolean):[];if(i||o){let r=new AbortController,s;const f=function(p){if(!s){s=!0,h();const g=p instanceof Error?p:this.reason;r.abort(g instanceof st?g:new ga(g instanceof Error?g.message:g))}};let d=i&&setTimeout(()=>{d=null,f(new st(`timeout ${i} of ms exceeded`,st.ETIMEDOUT))},i);const h=()=>{a&&(d&&clearTimeout(d),d=null,a.forEach(p=>{p.unsubscribe?p.unsubscribe(f):p.removeEventListener("abort",f)}),a=null)};a.forEach(p=>p.addEventListener("abort",f));const{signal:y}=r;return y.unsubscribe=()=>B.asap(h),y}},rS=function*(a,i){let o=a.byteLength;if(o<i){yield a;return}let r=0,s;for(;r<o;)s=r+i,yield a.slice(r,s),r=s},oS=async function*(a,i){for await(const o of cS(a))yield*rS(o,i)},cS=async function*(a){if(a[Symbol.asyncIterator]){yield*a;return}const i=a.getReader();try{for(;;){const{done:o,value:r}=await i.read();if(o)break;yield r}}finally{await i.cancel()}},Ph=(a,i,o,r)=>{const s=oS(a,i);let f=0,d,h=y=>{d||(d=!0,r&&r(y))};return new ReadableStream({async pull(y){try{const{done:p,value:g}=await s.next();if(p){h(),y.close();return}let S=g.byteLength;if(o){let T=f+=S;o(T)}y.enqueue(new Uint8Array(g))}catch(p){throw h(p),p}},cancel(y){return h(y),s.return()}},{highWaterMark:2})},gr=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Fp=gr&&typeof ReadableStream=="function",sS=gr&&(typeof TextEncoder=="function"?(a=>i=>a.encode(i))(new TextEncoder):async a=>new Uint8Array(await new Response(a).arrayBuffer())),Wp=(a,...i)=>{try{return!!a(...i)}catch{return!1}},fS=Fp&&Wp(()=>{let a=!1;const i=new Request(ae.origin,{body:new ReadableStream,method:"POST",get duplex(){return a=!0,"half"}}).headers.has("Content-Type");return a&&!i}),Fh=64*1024,os=Fp&&Wp(()=>B.isReadableStream(new Response("").body)),cr={stream:os&&(a=>a.body)};gr&&(a=>{["text","arrayBuffer","blob","formData","stream"].forEach(i=>{!cr[i]&&(cr[i]=B.isFunction(a[i])?o=>o[i]():(o,r)=>{throw new st(`Response type '${i}' is not supported`,st.ERR_NOT_SUPPORT,r)})})})(new Response);const dS=async a=>{if(a==null)return 0;if(B.isBlob(a))return a.size;if(B.isSpecCompliantForm(a))return(await new Request(ae.origin,{method:"POST",body:a}).arrayBuffer()).byteLength;if(B.isArrayBufferView(a)||B.isArrayBuffer(a))return a.byteLength;if(B.isURLSearchParams(a)&&(a=a+""),B.isString(a))return(await sS(a)).byteLength},mS=async(a,i)=>{const o=B.toFiniteNumber(a.getContentLength());return o??dS(i)},hS=gr&&(async a=>{let{url:i,method:o,data:r,signal:s,cancelToken:f,timeout:d,onDownloadProgress:h,onUploadProgress:y,responseType:p,headers:g,withCredentials:S="same-origin",fetchOptions:T}=Pp(a);p=p?(p+"").toLowerCase():"text";let D=uS([s,f&&f.toAbortSignal()],d),O;const A=D&&D.unsubscribe&&(()=>{D.unsubscribe()});let M;try{if(y&&fS&&o!=="get"&&o!=="head"&&(M=await mS(g,r))!==0){let k=new Request(i,{method:"POST",body:r,duplex:"half"}),$;if(B.isFormData(r)&&($=k.headers.get("content-type"))&&g.setContentType($),k.body){const[P,J]=Zh(M,or(Kh(y)));r=Ph(k.body,Fh,P,J)}}B.isString(S)||(S=S?"include":"omit");const q="credentials"in Request.prototype;O=new Request(i,{...T,signal:D,method:o.toUpperCase(),headers:g.normalize().toJSON(),body:r,duplex:"half",credentials:q?S:void 0});let Q=await fetch(O,T);const X=os&&(p==="stream"||p==="response");if(os&&(h||X&&A)){const k={};["status","statusText","headers"].forEach(ct=>{k[ct]=Q[ct]});const $=B.toFiniteNumber(Q.headers.get("content-length")),[P,J]=h&&Zh($,or(Kh(h),!0))||[];Q=new Response(Ph(Q.body,Fh,P,()=>{J&&J(),A&&A()}),k)}p=p||"text";let Z=await cr[B.findKey(cr,p)||"text"](Q,a);return!X&&A&&A(),await new Promise((k,$)=>{Kp(k,$,{data:Z,headers:me.from(Q.headers),status:Q.status,statusText:Q.statusText,config:a,request:O})})}catch(q){throw A&&A(),q&&q.name==="TypeError"&&/Load failed|fetch/i.test(q.message)?Object.assign(new st("Network Error",st.ERR_NETWORK,a,O),{cause:q.cause||q}):st.from(q,q&&q.code,a,O)}}),cs={http:Mb,xhr:iS,fetch:hS};B.forEach(cs,(a,i)=>{if(a){try{Object.defineProperty(a,"name",{value:i})}catch{}Object.defineProperty(a,"adapterName",{value:i})}});const Wh=a=>`- ${a}`,pS=a=>B.isFunction(a)||a===null||a===!1,$p={getAdapter:a=>{a=B.isArray(a)?a:[a];const{length:i}=a;let o,r;const s={};for(let f=0;f<i;f++){o=a[f];let d;if(r=o,!pS(o)&&(r=cs[(d=String(o)).toLowerCase()],r===void 0))throw new st(`Unknown adapter '${d}'`);if(r)break;s[d||"#"+f]=r}if(!r){const f=Object.entries(s).map(([h,y])=>`adapter ${h} `+(y===!1?"is not supported by the environment":"is not available in the build"));let d=i?f.length>1?`since :
`+f.map(Wh).join(`
`):" "+Wh(f[0]):"as no adapter specified";throw new st("There is no suitable adapter to dispatch the request "+d,"ERR_NOT_SUPPORT")}return r},adapters:cs};function Kc(a){if(a.cancelToken&&a.cancelToken.throwIfRequested(),a.signal&&a.signal.aborted)throw new ga(null,a)}function $h(a){return Kc(a),a.headers=me.from(a.headers),a.data=Zc.call(a,a.transformRequest),["post","put","patch"].indexOf(a.method)!==-1&&a.headers.setContentType("application/x-www-form-urlencoded",!1),$p.getAdapter(a.adapter||_i.adapter)(a).then(function(r){return Kc(a),r.data=Zc.call(a,a.transformResponse,r),r.headers=me.from(r.headers),r},function(r){return Zp(r)||(Kc(a),r&&r.response&&(r.response.data=Zc.call(a,a.transformResponse,r.response),r.response.headers=me.from(r.response.headers))),Promise.reject(r)})}const Ip="1.11.0",br={};["object","boolean","number","function","string","symbol"].forEach((a,i)=>{br[a]=function(r){return typeof r===a||"a"+(i<1?"n ":" ")+a}});const Ih={};br.transitional=function(i,o,r){function s(f,d){return"[Axios v"+Ip+"] Transitional option '"+f+"'"+d+(r?". "+r:"")}return(f,d,h)=>{if(i===!1)throw new st(s(d," has been removed"+(o?" in "+o:"")),st.ERR_DEPRECATED);return o&&!Ih[d]&&(Ih[d]=!0,console.warn(s(d," has been deprecated since v"+o+" and will be removed in the near future"))),i?i(f,d,h):!0}};br.spelling=function(i){return(o,r)=>(console.warn(`${r} is likely a misspelling of ${i}`),!0)};function vS(a,i,o){if(typeof a!="object")throw new st("options must be an object",st.ERR_BAD_OPTION_VALUE);const r=Object.keys(a);let s=r.length;for(;s-- >0;){const f=r[s],d=i[f];if(d){const h=a[f],y=h===void 0||d(h,f,a);if(y!==!0)throw new st("option "+f+" must be "+y,st.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new st("Unknown option "+f,st.ERR_BAD_OPTION)}}const ar={assertOptions:vS,validators:br},Pe=ar.validators;let Sl=class{constructor(i){this.defaults=i||{},this.interceptors={request:new Vh,response:new Vh}}async request(i,o){try{return await this._request(i,o)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const f=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?f&&!String(r.stack).endsWith(f.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+f):r.stack=f}catch{}}throw r}}_request(i,o){typeof i=="string"?(o=o||{},o.url=i):o=i||{},o=El(this.defaults,o);const{transitional:r,paramsSerializer:s,headers:f}=o;r!==void 0&&ar.assertOptions(r,{silentJSONParsing:Pe.transitional(Pe.boolean),forcedJSONParsing:Pe.transitional(Pe.boolean),clarifyTimeoutError:Pe.transitional(Pe.boolean)},!1),s!=null&&(B.isFunction(s)?o.paramsSerializer={serialize:s}:ar.assertOptions(s,{encode:Pe.function,serialize:Pe.function},!0)),o.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?o.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:o.allowAbsoluteUrls=!0),ar.assertOptions(o,{baseUrl:Pe.spelling("baseURL"),withXsrfToken:Pe.spelling("withXSRFToken")},!0),o.method=(o.method||this.defaults.method||"get").toLowerCase();let d=f&&B.merge(f.common,f[o.method]);f&&B.forEach(["delete","get","head","post","put","patch","common"],O=>{delete f[O]}),o.headers=me.concat(d,f);const h=[];let y=!0;this.interceptors.request.forEach(function(A){typeof A.runWhen=="function"&&A.runWhen(o)===!1||(y=y&&A.synchronous,h.unshift(A.fulfilled,A.rejected))});const p=[];this.interceptors.response.forEach(function(A){p.push(A.fulfilled,A.rejected)});let g,S=0,T;if(!y){const O=[$h.bind(this),void 0];for(O.unshift(...h),O.push(...p),T=O.length,g=Promise.resolve(o);S<T;)g=g.then(O[S++],O[S++]);return g}T=h.length;let D=o;for(S=0;S<T;){const O=h[S++],A=h[S++];try{D=O(D)}catch(M){A.call(this,M);break}}try{g=$h.call(this,D)}catch(O){return Promise.reject(O)}for(S=0,T=p.length;S<T;)g=g.then(p[S++],p[S++]);return g}getUri(i){i=El(this.defaults,i);const o=Jp(i.baseURL,i.url,i.allowAbsoluteUrls);return Xp(o,i.params,i.paramsSerializer)}};B.forEach(["delete","get","head","options"],function(i){Sl.prototype[i]=function(o,r){return this.request(El(r||{},{method:i,url:o,data:(r||{}).data}))}});B.forEach(["post","put","patch"],function(i){function o(r){return function(f,d,h){return this.request(El(h||{},{method:i,headers:r?{"Content-Type":"multipart/form-data"}:{},url:f,data:d}))}}Sl.prototype[i]=o(),Sl.prototype[i+"Form"]=o(!0)});let yS=class tv{constructor(i){if(typeof i!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(function(f){o=f});const r=this;this.promise.then(s=>{if(!r._listeners)return;let f=r._listeners.length;for(;f-- >0;)r._listeners[f](s);r._listeners=null}),this.promise.then=s=>{let f;const d=new Promise(h=>{r.subscribe(h),f=h}).then(s);return d.cancel=function(){r.unsubscribe(f)},d},i(function(f,d,h){r.reason||(r.reason=new ga(f,d,h),o(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;const o=this._listeners.indexOf(i);o!==-1&&this._listeners.splice(o,1)}toAbortSignal(){const i=new AbortController,o=r=>{i.abort(r)};return this.subscribe(o),i.signal.unsubscribe=()=>this.unsubscribe(o),i.signal}static source(){let i;return{token:new tv(function(s){i=s}),cancel:i}}};function gS(a){return function(o){return a.apply(null,o)}}function bS(a){return B.isObject(a)&&a.isAxiosError===!0}const ss={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ss).forEach(([a,i])=>{ss[i]=a});function ev(a){const i=new Sl(a),o=Dp(Sl.prototype.request,i);return B.extend(o,Sl.prototype,i,{allOwnKeys:!0}),B.extend(o,i,null,{allOwnKeys:!0}),o.create=function(s){return ev(El(a,s))},o}const Gt=ev(_i);Gt.Axios=Sl;Gt.CanceledError=ga;Gt.CancelToken=yS;Gt.isCancel=Zp;Gt.VERSION=Ip;Gt.toFormData=yr;Gt.AxiosError=st;Gt.Cancel=Gt.CanceledError;Gt.all=function(i){return Promise.all(i)};Gt.spread=gS;Gt.isAxiosError=bS;Gt.mergeConfig=El;Gt.AxiosHeaders=me;Gt.formToJSON=a=>Qp(B.isHTMLForm(a)?new FormData(a):a);Gt.getAdapter=$p.getAdapter;Gt.HttpStatusCode=ss;Gt.default=Gt;const{Axios:hA,AxiosError:pA,CanceledError:vA,isCancel:yA,CancelToken:gA,VERSION:bA,all:SA,Cancel:EA,isAxiosError:xA,spread:AA,toFormData:wA,AxiosHeaders:TA,HttpStatusCode:OA,formToJSON:RA,getAdapter:CA,mergeConfig:MA}=Gt,Ku=Gt.create({baseURL:"http://localhost:3000/",headers:{"Content-Type":"application/json",Authorization:"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2ludC5pcHN1cHBseS5jb20uYXUvYXBpL2xvZ2luIiwiaWF0IjoxNzIxNjA5MTEzLCJleHAiOjMyMzUzMzcxMTMsIm5iZiI6MTcyMTYwOTExMywianRpIjoiWHpCZkZPc0ZJUlFxaEZvaiIsInN1YiI6MSwicHJ2IjoiYzhlZTFmYzg5ZTc3NWVjNGM3Mzg2NjdlNWJlMTdhNTkwYjZkNDBmYyJ9.kFFEPpdmNUp-kn_G3cIIc26bivO6tbfcvkpG9I8Im7M"}});class SS{item_per_page=10;async index(i){const o={skip:0,limit:10,order:"updatedAt desc",where:{account:"prology_net",status:"Updated"}};return Ku({method:"POST",data:{urlAPI:"/api/ebay-listing/listing-get-list",filter:{...o,...i,where:{...o.where,...i?.where}}}})}async get(i){return Ku({method:"POST",data:{filter:{where:{account:"prology_net",condition:i.raw_condition,productModelCode:i.sku}},pageCurrent:"/ebaytools/listing-ebay",urlAPI:"/api/ebay-listing/get-image-listing"}})}async sync(i){return Ku({url:"sync",method:"POST",data:i})}async getPublistedProducts(){return Ku({url:"data"})}async apiRequest(i,o){return new Promise((r,s)=>{const f="req_"+Date.now()+"_"+Math.random();function d(h){h.data.type==="API_RESPONSE"&&h.data.requestId===f&&(window.removeEventListener("message",d),h.data.error?s(h.data.error):r(h.data.payload))}window.addEventListener("message",d),window.postMessage({type:"API_REQUEST",requestId:f,payload:o,fn:i},"*")})}}const _A=new SS;function tp(a,i){if(typeof a=="function")return a(i);a!=null&&(a.current=i)}function nv(...a){return i=>{let o=!1;const r=a.map(s=>{const f=tp(s,i);return!o&&typeof f=="function"&&(o=!0),f});if(o)return()=>{for(let s=0;s<r.length;s++){const f=r[s];typeof f=="function"?f():tp(a[s],null)}}}}function $n(...a){return R.useCallback(nv(...a),a)}function ws(a){const i=xS(a),o=R.forwardRef((r,s)=>{const{children:f,...d}=r,h=R.Children.toArray(f),y=h.find(wS);if(y){const p=y.props.children,g=h.map(S=>S===y?R.Children.count(p)>1?R.Children.only(null):R.isValidElement(p)?p.props.children:null:S);return ot.jsx(i,{...d,ref:s,children:R.isValidElement(p)?R.cloneElement(p,void 0,g):null})}return ot.jsx(i,{...d,ref:s,children:f})});return o.displayName=`${a}.Slot`,o}var ES=ws("Slot");function xS(a){const i=R.forwardRef((o,r)=>{const{children:s,...f}=o;if(R.isValidElement(s)){const d=OS(s),h=TS(f,s.props);return s.type!==R.Fragment&&(h.ref=r?nv(r,d):d),R.cloneElement(s,h)}return R.Children.count(s)>1?R.Children.only(null):null});return i.displayName=`${a}.SlotClone`,i}var AS=Symbol("radix.slottable");function wS(a){return R.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===AS}function TS(a,i){const o={...i};for(const r in i){const s=a[r],f=i[r];/^on[A-Z]/.test(r)?s&&f?o[r]=(...h)=>{const y=f(...h);return s(...h),y}:s&&(o[r]=s):r==="style"?o[r]={...s,...f}:r==="className"&&(o[r]=[s,f].filter(Boolean).join(" "))}return{...a,...o}}function OS(a){let i=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,o=i&&"isReactWarning"in i&&i.isReactWarning;return o?a.ref:(i=Object.getOwnPropertyDescriptor(a,"ref")?.get,o=i&&"isReactWarning"in i&&i.isReactWarning,o?a.props.ref:a.props.ref||a.ref)}function lv(a){var i,o,r="";if(typeof a=="string"||typeof a=="number")r+=a;else if(typeof a=="object")if(Array.isArray(a)){var s=a.length;for(i=0;i<s;i++)a[i]&&(o=lv(a[i]))&&(r&&(r+=" "),r+=o)}else for(o in a)a[o]&&(r&&(r+=" "),r+=o);return r}function av(){for(var a,i,o=0,r="",s=arguments.length;o<s;o++)(a=arguments[o])&&(i=lv(a))&&(r&&(r+=" "),r+=i);return r}const ep=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,np=av,RS=(a,i)=>o=>{var r;if(i?.variants==null)return np(a,o?.class,o?.className);const{variants:s,defaultVariants:f}=i,d=Object.keys(s).map(p=>{const g=o?.[p],S=f?.[p];if(g===null)return null;const T=ep(g)||ep(S);return s[p][T]}),h=o&&Object.entries(o).reduce((p,g)=>{let[S,T]=g;return T===void 0||(p[S]=T),p},{}),y=i==null||(r=i.compoundVariants)===null||r===void 0?void 0:r.reduce((p,g)=>{let{class:S,className:T,...D}=g;return Object.entries(D).every(O=>{let[A,M]=O;return Array.isArray(M)?M.includes({...f,...h}[A]):{...f,...h}[A]===M})?[...p,S,T]:p},[]);return np(a,d,y,o?.class,o?.className)},Ts="-",CS=a=>{const i=_S(a),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=a;return{getClassGroupId:d=>{const h=d.split(Ts);return h[0]===""&&h.length!==1&&h.shift(),iv(h,i)||MS(d)},getConflictingClassGroupIds:(d,h)=>{const y=o[d]||[];return h&&r[d]?[...y,...r[d]]:y}}},iv=(a,i)=>{if(a.length===0)return i.classGroupId;const o=a[0],r=i.nextPart.get(o),s=r?iv(a.slice(1),r):void 0;if(s)return s;if(i.validators.length===0)return;const f=a.join(Ts);return i.validators.find(({validator:d})=>d(f))?.classGroupId},lp=/^\[(.+)\]$/,MS=a=>{if(lp.test(a)){const i=lp.exec(a)[1],o=i?.substring(0,i.indexOf(":"));if(o)return"arbitrary.."+o}},_S=a=>{const{theme:i,classGroups:o}=a,r={nextPart:new Map,validators:[]};for(const s in o)fs(o[s],r,s,i);return r},fs=(a,i,o,r)=>{a.forEach(s=>{if(typeof s=="string"){const f=s===""?i:ap(i,s);f.classGroupId=o;return}if(typeof s=="function"){if(DS(s)){fs(s(r),i,o,r);return}i.validators.push({validator:s,classGroupId:o});return}Object.entries(s).forEach(([f,d])=>{fs(d,ap(i,f),o,r)})})},ap=(a,i)=>{let o=a;return i.split(Ts).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},DS=a=>a.isThemeGetter,zS=a=>{if(a<1)return{get:()=>{},set:()=>{}};let i=0,o=new Map,r=new Map;const s=(f,d)=>{o.set(f,d),i++,i>a&&(i=0,r=o,o=new Map)};return{get(f){let d=o.get(f);if(d!==void 0)return d;if((d=r.get(f))!==void 0)return s(f,d),d},set(f,d){o.has(f)?o.set(f,d):s(f,d)}}},ds="!",ms=":",NS=ms.length,US=a=>{const{prefix:i,experimentalParseClassName:o}=a;let r=s=>{const f=[];let d=0,h=0,y=0,p;for(let O=0;O<s.length;O++){let A=s[O];if(d===0&&h===0){if(A===ms){f.push(s.slice(y,O)),y=O+NS;continue}if(A==="/"){p=O;continue}}A==="["?d++:A==="]"?d--:A==="("?h++:A===")"&&h--}const g=f.length===0?s:s.substring(y),S=BS(g),T=S!==g,D=p&&p>y?p-y:void 0;return{modifiers:f,hasImportantModifier:T,baseClassName:S,maybePostfixModifierPosition:D}};if(i){const s=i+ms,f=r;r=d=>d.startsWith(s)?f(d.substring(s.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:d,maybePostfixModifierPosition:void 0}}if(o){const s=r;r=f=>o({className:f,parseClassName:s})}return r},BS=a=>a.endsWith(ds)?a.substring(0,a.length-1):a.startsWith(ds)?a.substring(1):a,HS=a=>{const i=Object.fromEntries(a.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const s=[];let f=[];return r.forEach(d=>{d[0]==="["||i[d]?(s.push(...f.sort(),d),f=[]):f.push(d)}),s.push(...f.sort()),s}},LS=a=>({cache:zS(a.cacheSize),parseClassName:US(a),sortModifiers:HS(a),...CS(a)}),jS=/\s+/,qS=(a,i)=>{const{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:f}=i,d=[],h=a.trim().split(jS);let y="";for(let p=h.length-1;p>=0;p-=1){const g=h[p],{isExternal:S,modifiers:T,hasImportantModifier:D,baseClassName:O,maybePostfixModifierPosition:A}=o(g);if(S){y=g+(y.length>0?" "+y:y);continue}let M=!!A,q=r(M?O.substring(0,A):O);if(!q){if(!M){y=g+(y.length>0?" "+y:y);continue}if(q=r(O),!q){y=g+(y.length>0?" "+y:y);continue}M=!1}const Q=f(T).join(":"),X=D?Q+ds:Q,Z=X+q;if(d.includes(Z))continue;d.push(Z);const k=s(q,M);for(let $=0;$<k.length;++$){const P=k[$];d.push(X+P)}y=g+(y.length>0?" "+y:y)}return y};function kS(){let a=0,i,o,r="";for(;a<arguments.length;)(i=arguments[a++])&&(o=uv(i))&&(r&&(r+=" "),r+=o);return r}const uv=a=>{if(typeof a=="string")return a;let i,o="";for(let r=0;r<a.length;r++)a[r]&&(i=uv(a[r]))&&(o&&(o+=" "),o+=i);return o};function YS(a,...i){let o,r,s,f=d;function d(y){const p=i.reduce((g,S)=>S(g),a());return o=LS(p),r=o.cache.get,s=o.cache.set,f=h,h(y)}function h(y){const p=r(y);if(p)return p;const g=qS(y,o);return s(y,g),g}return function(){return f(kS.apply(null,arguments))}}const Kt=a=>{const i=o=>o[a]||[];return i.isThemeGetter=!0,i},rv=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ov=/^\((?:(\w[\w-]*):)?(.+)\)$/i,GS=/^\d+\/\d+$/,XS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,VS=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,QS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ZS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,KS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,oa=a=>GS.test(a),ht=a=>!!a&&!Number.isNaN(Number(a)),Zn=a=>!!a&&Number.isInteger(Number(a)),Jc=a=>a.endsWith("%")&&ht(a.slice(0,-1)),gn=a=>XS.test(a),JS=()=>!0,PS=a=>VS.test(a)&&!QS.test(a),cv=()=>!1,FS=a=>ZS.test(a),WS=a=>KS.test(a),$S=a=>!tt(a)&&!et(a),IS=a=>ba(a,dv,cv),tt=a=>rv.test(a),gl=a=>ba(a,mv,PS),Pc=a=>ba(a,a1,ht),ip=a=>ba(a,sv,cv),t1=a=>ba(a,fv,WS),Ju=a=>ba(a,hv,FS),et=a=>ov.test(a),Ai=a=>Sa(a,mv),e1=a=>Sa(a,i1),up=a=>Sa(a,sv),n1=a=>Sa(a,dv),l1=a=>Sa(a,fv),Pu=a=>Sa(a,hv,!0),ba=(a,i,o)=>{const r=rv.exec(a);return r?r[1]?i(r[1]):o(r[2]):!1},Sa=(a,i,o=!1)=>{const r=ov.exec(a);return r?r[1]?i(r[1]):o:!1},sv=a=>a==="position"||a==="percentage",fv=a=>a==="image"||a==="url",dv=a=>a==="length"||a==="size"||a==="bg-size",mv=a=>a==="length",a1=a=>a==="number",i1=a=>a==="family-name",hv=a=>a==="shadow",u1=()=>{const a=Kt("color"),i=Kt("font"),o=Kt("text"),r=Kt("font-weight"),s=Kt("tracking"),f=Kt("leading"),d=Kt("breakpoint"),h=Kt("container"),y=Kt("spacing"),p=Kt("radius"),g=Kt("shadow"),S=Kt("inset-shadow"),T=Kt("text-shadow"),D=Kt("drop-shadow"),O=Kt("blur"),A=Kt("perspective"),M=Kt("aspect"),q=Kt("ease"),Q=Kt("animate"),X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...Z(),et,tt],$=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],J=()=>[et,tt,y],ct=()=>[oa,"full","auto",...J()],At=()=>[Zn,"none","subgrid",et,tt],_t=()=>["auto",{span:["full",Zn,et,tt]},Zn,et,tt],yt=()=>[Zn,"auto",et,tt],Ot=()=>["auto","min","max","fr",et,tt],xt=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],gt=()=>["start","end","center","stretch","center-safe","end-safe"],N=()=>["auto",...J()],V=()=>[oa,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...J()],H=()=>[a,et,tt],rt=()=>[...Z(),up,ip,{position:[et,tt]}],E=()=>["no-repeat",{repeat:["","x","y","space","round"]}],G=()=>["auto","cover","contain",n1,IS,{size:[et,tt]}],F=()=>[Jc,Ai,gl],K=()=>["","none","full",p,et,tt],W=()=>["",ht,Ai,gl],dt=()=>["solid","dashed","dotted","double"],it=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pt=()=>[ht,Jc,up,ip],Rt=()=>["","none",O,et,tt],ie=()=>["none",ht,et,tt],ke=()=>["none",ht,et,tt],Ye=()=>[ht,et,tt],Ge=()=>[oa,"full",...J()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[gn],breakpoint:[gn],color:[JS],container:[gn],"drop-shadow":[gn],ease:["in","out","in-out"],font:[$S],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[gn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[gn],shadow:[gn],spacing:["px",ht],text:[gn],"text-shadow":[gn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",oa,tt,et,M]}],container:["container"],columns:[{columns:[ht,tt,et,h]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ct()}],"inset-x":[{"inset-x":ct()}],"inset-y":[{"inset-y":ct()}],start:[{start:ct()}],end:[{end:ct()}],top:[{top:ct()}],right:[{right:ct()}],bottom:[{bottom:ct()}],left:[{left:ct()}],visibility:["visible","invisible","collapse"],z:[{z:[Zn,"auto",et,tt]}],basis:[{basis:[oa,"full","auto",h,...J()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ht,oa,"auto","initial","none",tt]}],grow:[{grow:["",ht,et,tt]}],shrink:[{shrink:["",ht,et,tt]}],order:[{order:[Zn,"first","last","none",et,tt]}],"grid-cols":[{"grid-cols":At()}],"col-start-end":[{col:_t()}],"col-start":[{"col-start":yt()}],"col-end":[{"col-end":yt()}],"grid-rows":[{"grid-rows":At()}],"row-start-end":[{row:_t()}],"row-start":[{"row-start":yt()}],"row-end":[{"row-end":yt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ot()}],"auto-rows":[{"auto-rows":Ot()}],gap:[{gap:J()}],"gap-x":[{"gap-x":J()}],"gap-y":[{"gap-y":J()}],"justify-content":[{justify:[...xt(),"normal"]}],"justify-items":[{"justify-items":[...gt(),"normal"]}],"justify-self":[{"justify-self":["auto",...gt()]}],"align-content":[{content:["normal",...xt()]}],"align-items":[{items:[...gt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...gt(),{baseline:["","last"]}]}],"place-content":[{"place-content":xt()}],"place-items":[{"place-items":[...gt(),"baseline"]}],"place-self":[{"place-self":["auto",...gt()]}],p:[{p:J()}],px:[{px:J()}],py:[{py:J()}],ps:[{ps:J()}],pe:[{pe:J()}],pt:[{pt:J()}],pr:[{pr:J()}],pb:[{pb:J()}],pl:[{pl:J()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":J()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":J()}],"space-y-reverse":["space-y-reverse"],size:[{size:V()}],w:[{w:[h,"screen",...V()]}],"min-w":[{"min-w":[h,"screen","none",...V()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[d]},...V()]}],h:[{h:["screen","lh",...V()]}],"min-h":[{"min-h":["screen","lh","none",...V()]}],"max-h":[{"max-h":["screen","lh",...V()]}],"font-size":[{text:["base",o,Ai,gl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,et,Pc]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Jc,tt]}],"font-family":[{font:[e1,tt,i]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,et,tt]}],"line-clamp":[{"line-clamp":[ht,"none",et,Pc]}],leading:[{leading:[f,...J()]}],"list-image":[{"list-image":["none",et,tt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",et,tt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:H()}],"text-color":[{text:H()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...dt(),"wavy"]}],"text-decoration-thickness":[{decoration:[ht,"from-font","auto",et,gl]}],"text-decoration-color":[{decoration:H()}],"underline-offset":[{"underline-offset":[ht,"auto",et,tt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:J()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",et,tt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",et,tt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:rt()}],"bg-repeat":[{bg:E()}],"bg-size":[{bg:G()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Zn,et,tt],radial:["",et,tt],conic:[Zn,et,tt]},l1,t1]}],"bg-color":[{bg:H()}],"gradient-from-pos":[{from:F()}],"gradient-via-pos":[{via:F()}],"gradient-to-pos":[{to:F()}],"gradient-from":[{from:H()}],"gradient-via":[{via:H()}],"gradient-to":[{to:H()}],rounded:[{rounded:K()}],"rounded-s":[{"rounded-s":K()}],"rounded-e":[{"rounded-e":K()}],"rounded-t":[{"rounded-t":K()}],"rounded-r":[{"rounded-r":K()}],"rounded-b":[{"rounded-b":K()}],"rounded-l":[{"rounded-l":K()}],"rounded-ss":[{"rounded-ss":K()}],"rounded-se":[{"rounded-se":K()}],"rounded-ee":[{"rounded-ee":K()}],"rounded-es":[{"rounded-es":K()}],"rounded-tl":[{"rounded-tl":K()}],"rounded-tr":[{"rounded-tr":K()}],"rounded-br":[{"rounded-br":K()}],"rounded-bl":[{"rounded-bl":K()}],"border-w":[{border:W()}],"border-w-x":[{"border-x":W()}],"border-w-y":[{"border-y":W()}],"border-w-s":[{"border-s":W()}],"border-w-e":[{"border-e":W()}],"border-w-t":[{"border-t":W()}],"border-w-r":[{"border-r":W()}],"border-w-b":[{"border-b":W()}],"border-w-l":[{"border-l":W()}],"divide-x":[{"divide-x":W()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":W()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...dt(),"hidden","none"]}],"divide-style":[{divide:[...dt(),"hidden","none"]}],"border-color":[{border:H()}],"border-color-x":[{"border-x":H()}],"border-color-y":[{"border-y":H()}],"border-color-s":[{"border-s":H()}],"border-color-e":[{"border-e":H()}],"border-color-t":[{"border-t":H()}],"border-color-r":[{"border-r":H()}],"border-color-b":[{"border-b":H()}],"border-color-l":[{"border-l":H()}],"divide-color":[{divide:H()}],"outline-style":[{outline:[...dt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ht,et,tt]}],"outline-w":[{outline:["",ht,Ai,gl]}],"outline-color":[{outline:H()}],shadow:[{shadow:["","none",g,Pu,Ju]}],"shadow-color":[{shadow:H()}],"inset-shadow":[{"inset-shadow":["none",S,Pu,Ju]}],"inset-shadow-color":[{"inset-shadow":H()}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:H()}],"ring-offset-w":[{"ring-offset":[ht,gl]}],"ring-offset-color":[{"ring-offset":H()}],"inset-ring-w":[{"inset-ring":W()}],"inset-ring-color":[{"inset-ring":H()}],"text-shadow":[{"text-shadow":["none",T,Pu,Ju]}],"text-shadow-color":[{"text-shadow":H()}],opacity:[{opacity:[ht,et,tt]}],"mix-blend":[{"mix-blend":[...it(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":it()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ht]}],"mask-image-linear-from-pos":[{"mask-linear-from":pt()}],"mask-image-linear-to-pos":[{"mask-linear-to":pt()}],"mask-image-linear-from-color":[{"mask-linear-from":H()}],"mask-image-linear-to-color":[{"mask-linear-to":H()}],"mask-image-t-from-pos":[{"mask-t-from":pt()}],"mask-image-t-to-pos":[{"mask-t-to":pt()}],"mask-image-t-from-color":[{"mask-t-from":H()}],"mask-image-t-to-color":[{"mask-t-to":H()}],"mask-image-r-from-pos":[{"mask-r-from":pt()}],"mask-image-r-to-pos":[{"mask-r-to":pt()}],"mask-image-r-from-color":[{"mask-r-from":H()}],"mask-image-r-to-color":[{"mask-r-to":H()}],"mask-image-b-from-pos":[{"mask-b-from":pt()}],"mask-image-b-to-pos":[{"mask-b-to":pt()}],"mask-image-b-from-color":[{"mask-b-from":H()}],"mask-image-b-to-color":[{"mask-b-to":H()}],"mask-image-l-from-pos":[{"mask-l-from":pt()}],"mask-image-l-to-pos":[{"mask-l-to":pt()}],"mask-image-l-from-color":[{"mask-l-from":H()}],"mask-image-l-to-color":[{"mask-l-to":H()}],"mask-image-x-from-pos":[{"mask-x-from":pt()}],"mask-image-x-to-pos":[{"mask-x-to":pt()}],"mask-image-x-from-color":[{"mask-x-from":H()}],"mask-image-x-to-color":[{"mask-x-to":H()}],"mask-image-y-from-pos":[{"mask-y-from":pt()}],"mask-image-y-to-pos":[{"mask-y-to":pt()}],"mask-image-y-from-color":[{"mask-y-from":H()}],"mask-image-y-to-color":[{"mask-y-to":H()}],"mask-image-radial":[{"mask-radial":[et,tt]}],"mask-image-radial-from-pos":[{"mask-radial-from":pt()}],"mask-image-radial-to-pos":[{"mask-radial-to":pt()}],"mask-image-radial-from-color":[{"mask-radial-from":H()}],"mask-image-radial-to-color":[{"mask-radial-to":H()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":Z()}],"mask-image-conic-pos":[{"mask-conic":[ht]}],"mask-image-conic-from-pos":[{"mask-conic-from":pt()}],"mask-image-conic-to-pos":[{"mask-conic-to":pt()}],"mask-image-conic-from-color":[{"mask-conic-from":H()}],"mask-image-conic-to-color":[{"mask-conic-to":H()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:rt()}],"mask-repeat":[{mask:E()}],"mask-size":[{mask:G()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",et,tt]}],filter:[{filter:["","none",et,tt]}],blur:[{blur:Rt()}],brightness:[{brightness:[ht,et,tt]}],contrast:[{contrast:[ht,et,tt]}],"drop-shadow":[{"drop-shadow":["","none",D,Pu,Ju]}],"drop-shadow-color":[{"drop-shadow":H()}],grayscale:[{grayscale:["",ht,et,tt]}],"hue-rotate":[{"hue-rotate":[ht,et,tt]}],invert:[{invert:["",ht,et,tt]}],saturate:[{saturate:[ht,et,tt]}],sepia:[{sepia:["",ht,et,tt]}],"backdrop-filter":[{"backdrop-filter":["","none",et,tt]}],"backdrop-blur":[{"backdrop-blur":Rt()}],"backdrop-brightness":[{"backdrop-brightness":[ht,et,tt]}],"backdrop-contrast":[{"backdrop-contrast":[ht,et,tt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ht,et,tt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ht,et,tt]}],"backdrop-invert":[{"backdrop-invert":["",ht,et,tt]}],"backdrop-opacity":[{"backdrop-opacity":[ht,et,tt]}],"backdrop-saturate":[{"backdrop-saturate":[ht,et,tt]}],"backdrop-sepia":[{"backdrop-sepia":["",ht,et,tt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":J()}],"border-spacing-x":[{"border-spacing-x":J()}],"border-spacing-y":[{"border-spacing-y":J()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",et,tt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ht,"initial",et,tt]}],ease:[{ease:["linear","initial",q,et,tt]}],delay:[{delay:[ht,et,tt]}],animate:[{animate:["none",Q,et,tt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,et,tt]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:ie()}],"rotate-x":[{"rotate-x":ie()}],"rotate-y":[{"rotate-y":ie()}],"rotate-z":[{"rotate-z":ie()}],scale:[{scale:ke()}],"scale-x":[{"scale-x":ke()}],"scale-y":[{"scale-y":ke()}],"scale-z":[{"scale-z":ke()}],"scale-3d":["scale-3d"],skew:[{skew:Ye()}],"skew-x":[{"skew-x":Ye()}],"skew-y":[{"skew-y":Ye()}],transform:[{transform:[et,tt,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ge()}],"translate-x":[{"translate-x":Ge()}],"translate-y":[{"translate-y":Ge()}],"translate-z":[{"translate-z":Ge()}],"translate-none":["translate-none"],accent:[{accent:H()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:H()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",et,tt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":J()}],"scroll-mx":[{"scroll-mx":J()}],"scroll-my":[{"scroll-my":J()}],"scroll-ms":[{"scroll-ms":J()}],"scroll-me":[{"scroll-me":J()}],"scroll-mt":[{"scroll-mt":J()}],"scroll-mr":[{"scroll-mr":J()}],"scroll-mb":[{"scroll-mb":J()}],"scroll-ml":[{"scroll-ml":J()}],"scroll-p":[{"scroll-p":J()}],"scroll-px":[{"scroll-px":J()}],"scroll-py":[{"scroll-py":J()}],"scroll-ps":[{"scroll-ps":J()}],"scroll-pe":[{"scroll-pe":J()}],"scroll-pt":[{"scroll-pt":J()}],"scroll-pr":[{"scroll-pr":J()}],"scroll-pb":[{"scroll-pb":J()}],"scroll-pl":[{"scroll-pl":J()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",et,tt]}],fill:[{fill:["none",...H()]}],"stroke-w":[{stroke:[ht,Ai,gl,Pc]}],stroke:[{stroke:["none",...H()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},r1=YS(u1);function Sr(...a){return r1(av(a))}function DA(a){let i=[];Array.isArray(a?.listImage)&&(i=a.listImage.map(s=>typeof s=="string"?s:`https://int.ipsupply.com.au${s.url}`).slice(0,10));let o=`Package contain:
`;Array.isArray(a?.package_contain)?o+=a.package_contain.map(s=>`- ${s}`).join(`
`):typeof a?.package_contain=="string"&&a.package_contain.trim()!==""&&(o+=a.package_contain);const r=[a.description||"",a.code||"",a.title||"",(typeof a?.category=="string"?a.category:a?.category?.name)||"",o,'Join the "Prology | Latest Products & Deals" group for more products.'].filter(Boolean).join(`

`);return{images:i,title:a?.title?.includes(a?.code)?a?.title:`${a?.title} - ${a?.code}`,price:a?.price,category:"electronics & computers",condition:a?.conditionEbay?.toLowerCase()?.includes("new")?"new":"used – like new",brand:typeof a?.manufactor=="string"?a?.manufactor:"",description:r,tags:[],sku:a?.code,location:a?.location||"Sydney, Australia",status:!1,id:a?.id,publist_id:a?.listingId,raw_condition:a?.condition}}const o1=RS("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-neutral-950 focus-visible:ring-neutral-950/50 focus-visible:ring-[3px] aria-invalid:ring-red-500/20 dark:aria-invalid:ring-red-500/40 aria-invalid:border-red-500 dark:focus-visible:border-neutral-300 dark:focus-visible:ring-neutral-300/50 dark:aria-invalid:ring-red-900/20 dark:dark:aria-invalid:ring-red-900/40 dark:aria-invalid:border-red-900",{variants:{variant:{default:"bg-neutral-900 text-neutral-50 shadow-xs hover:bg-neutral-900/90 dark:bg-neutral-50 dark:text-neutral-900 dark:hover:bg-neutral-50/90",destructive:"bg-red-500 text-white shadow-xs hover:bg-red-500/90 focus-visible:ring-red-500/20 dark:focus-visible:ring-red-500/40 dark:bg-red-500/60 dark:bg-red-900 dark:hover:bg-red-900/90 dark:focus-visible:ring-red-900/20 dark:dark:focus-visible:ring-red-900/40 dark:dark:bg-red-900/60",outline:"border bg-white shadow-xs hover:bg-neutral-100 hover:text-neutral-900 dark:bg-neutral-200/30 dark:border-neutral-200 dark:hover:bg-neutral-200/50 dark:bg-neutral-950 dark:hover:bg-neutral-800 dark:hover:text-neutral-50 dark:dark:bg-neutral-800/30 dark:dark:border-neutral-800 dark:dark:hover:bg-neutral-800/50",secondary:"bg-neutral-100 text-neutral-900 shadow-xs hover:bg-neutral-100/80 dark:bg-neutral-800 dark:text-neutral-50 dark:hover:bg-neutral-800/80",ghost:"hover:bg-neutral-100 hover:text-neutral-900 dark:hover:bg-neutral-100/50 dark:hover:bg-neutral-800 dark:hover:text-neutral-50 dark:dark:hover:bg-neutral-800/50",link:"text-neutral-900 underline-offset-4 hover:underline dark:text-neutral-50"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",xs:"h-7 rounded-md gap-1 px-2.5 has-[>svg]:px-2",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function zA({className:a,variant:i,size:o,asChild:r=!1,...s}){const f=r?ES:"button";return ot.jsx(f,{"data-slot":"button",className:Sr(o1({variant:i,size:o,className:a})),...s})}function Jn(a,i,{checkForDefaultPrevented:o=!0}={}){return function(s){if(a?.(s),o===!1||!s.defaultPrevented)return i?.(s)}}function NA(a,i){const o=R.createContext(i),r=f=>{const{children:d,...h}=f,y=R.useMemo(()=>h,Object.values(h));return ot.jsx(o.Provider,{value:y,children:d})};r.displayName=a+"Provider";function s(f){const d=R.useContext(o);if(d)return d;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${a}\``)}return[r,s]}function pv(a,i=[]){let o=[];function r(f,d){const h=R.createContext(d),y=o.length;o=[...o,d];const p=S=>{const{scope:T,children:D,...O}=S,A=T?.[a]?.[y]||h,M=R.useMemo(()=>O,Object.values(O));return ot.jsx(A.Provider,{value:M,children:D})};p.displayName=f+"Provider";function g(S,T){const D=T?.[a]?.[y]||h,O=R.useContext(D);if(O)return O;if(d!==void 0)return d;throw new Error(`\`${S}\` must be used within \`${f}\``)}return[p,g]}const s=()=>{const f=o.map(d=>R.createContext(d));return function(h){const y=h?.[a]||f;return R.useMemo(()=>({[`__scope${a}`]:{...h,[a]:y}}),[h,y])}};return s.scopeName=a,[r,c1(s,...i)]}function c1(...a){const i=a[0];if(a.length===1)return i;const o=()=>{const r=a.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(f){const d=r.reduce((h,{useScope:y,scopeName:p})=>{const S=y(f)[`__scope${p}`];return{...h,...S}},{});return R.useMemo(()=>({[`__scope${i.scopeName}`]:d}),[d])}};return o.scopeName=i.scopeName,o}var Os=_p();const s1=bs(Os);var f1=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],tn=f1.reduce((a,i)=>{const o=ws(`Primitive.${i}`),r=R.forwardRef((s,f)=>{const{asChild:d,...h}=s,y=d?o:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),ot.jsx(y,{...h,ref:f})});return r.displayName=`Primitive.${i}`,{...a,[i]:r}},{});function d1(a,i){a&&Os.flushSync(()=>a.dispatchEvent(i))}function ha(a){const i=R.useRef(a);return R.useEffect(()=>{i.current=a}),R.useMemo(()=>(...o)=>i.current?.(...o),[])}function m1(a,i=globalThis?.document){const o=ha(a);R.useEffect(()=>{const r=s=>{s.key==="Escape"&&o(s)};return i.addEventListener("keydown",r,{capture:!0}),()=>i.removeEventListener("keydown",r,{capture:!0})},[o,i])}var h1="DismissableLayer",hs="dismissableLayer.update",p1="dismissableLayer.pointerDownOutside",v1="dismissableLayer.focusOutside",rp,vv=R.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yv=R.forwardRef((a,i)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:f,onInteractOutside:d,onDismiss:h,...y}=a,p=R.useContext(vv),[g,S]=R.useState(null),T=g?.ownerDocument??globalThis?.document,[,D]=R.useState({}),O=$n(i,P=>S(P)),A=Array.from(p.layers),[M]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),q=A.indexOf(M),Q=g?A.indexOf(g):-1,X=p.layersWithOutsidePointerEventsDisabled.size>0,Z=Q>=q,k=b1(P=>{const J=P.target,ct=[...p.branches].some(At=>At.contains(J));!Z||ct||(s?.(P),d?.(P),P.defaultPrevented||h?.())},T),$=S1(P=>{const J=P.target;[...p.branches].some(At=>At.contains(J))||(f?.(P),d?.(P),P.defaultPrevented||h?.())},T);return m1(P=>{Q===p.layers.size-1&&(r?.(P),!P.defaultPrevented&&h&&(P.preventDefault(),h()))},T),R.useEffect(()=>{if(g)return o&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(rp=T.body.style.pointerEvents,T.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(g)),p.layers.add(g),op(),()=>{o&&p.layersWithOutsidePointerEventsDisabled.size===1&&(T.body.style.pointerEvents=rp)}},[g,T,o,p]),R.useEffect(()=>()=>{g&&(p.layers.delete(g),p.layersWithOutsidePointerEventsDisabled.delete(g),op())},[g,p]),R.useEffect(()=>{const P=()=>D({});return document.addEventListener(hs,P),()=>document.removeEventListener(hs,P)},[]),ot.jsx(tn.div,{...y,ref:O,style:{pointerEvents:X?Z?"auto":"none":void 0,...a.style},onFocusCapture:Jn(a.onFocusCapture,$.onFocusCapture),onBlurCapture:Jn(a.onBlurCapture,$.onBlurCapture),onPointerDownCapture:Jn(a.onPointerDownCapture,k.onPointerDownCapture)})});yv.displayName=h1;var y1="DismissableLayerBranch",g1=R.forwardRef((a,i)=>{const o=R.useContext(vv),r=R.useRef(null),s=$n(i,r);return R.useEffect(()=>{const f=r.current;if(f)return o.branches.add(f),()=>{o.branches.delete(f)}},[o.branches]),ot.jsx(tn.div,{...a,ref:s})});g1.displayName=y1;function b1(a,i=globalThis?.document){const o=ha(a),r=R.useRef(!1),s=R.useRef(()=>{});return R.useEffect(()=>{const f=h=>{if(h.target&&!r.current){let y=function(){gv(p1,o,p,{discrete:!0})};const p={originalEvent:h};h.pointerType==="touch"?(i.removeEventListener("click",s.current),s.current=y,i.addEventListener("click",s.current,{once:!0})):y()}else i.removeEventListener("click",s.current);r.current=!1},d=window.setTimeout(()=>{i.addEventListener("pointerdown",f)},0);return()=>{window.clearTimeout(d),i.removeEventListener("pointerdown",f),i.removeEventListener("click",s.current)}},[i,o]),{onPointerDownCapture:()=>r.current=!0}}function S1(a,i=globalThis?.document){const o=ha(a),r=R.useRef(!1);return R.useEffect(()=>{const s=f=>{f.target&&!r.current&&gv(v1,o,{originalEvent:f},{discrete:!1})};return i.addEventListener("focusin",s),()=>i.removeEventListener("focusin",s)},[i,o]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function op(){const a=new CustomEvent(hs);document.dispatchEvent(a)}function gv(a,i,o,{discrete:r}){const s=o.originalEvent.target,f=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:o});i&&s.addEventListener(a,i,{once:!0}),r?d1(s,f):s.dispatchEvent(f)}var Fc=0;function E1(){R.useEffect(()=>{const a=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",a[0]??cp()),document.body.insertAdjacentElement("beforeend",a[1]??cp()),Fc++,()=>{Fc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(i=>i.remove()),Fc--}},[])}function cp(){const a=document.createElement("span");return a.setAttribute("data-radix-focus-guard",""),a.tabIndex=0,a.style.outline="none",a.style.opacity="0",a.style.position="fixed",a.style.pointerEvents="none",a}var Wc="focusScope.autoFocusOnMount",$c="focusScope.autoFocusOnUnmount",sp={bubbles:!1,cancelable:!0},x1="FocusScope",bv=R.forwardRef((a,i)=>{const{loop:o=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:f,...d}=a,[h,y]=R.useState(null),p=ha(s),g=ha(f),S=R.useRef(null),T=$n(i,A=>y(A)),D=R.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;R.useEffect(()=>{if(r){let A=function(X){if(D.paused||!h)return;const Z=X.target;h.contains(Z)?S.current=Z:Kn(S.current,{select:!0})},M=function(X){if(D.paused||!h)return;const Z=X.relatedTarget;Z!==null&&(h.contains(Z)||Kn(S.current,{select:!0}))},q=function(X){if(document.activeElement===document.body)for(const k of X)k.removedNodes.length>0&&Kn(h)};document.addEventListener("focusin",A),document.addEventListener("focusout",M);const Q=new MutationObserver(q);return h&&Q.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",A),document.removeEventListener("focusout",M),Q.disconnect()}}},[r,h,D.paused]),R.useEffect(()=>{if(h){dp.add(D);const A=document.activeElement;if(!h.contains(A)){const q=new CustomEvent(Wc,sp);h.addEventListener(Wc,p),h.dispatchEvent(q),q.defaultPrevented||(A1(C1(Sv(h)),{select:!0}),document.activeElement===A&&Kn(h))}return()=>{h.removeEventListener(Wc,p),setTimeout(()=>{const q=new CustomEvent($c,sp);h.addEventListener($c,g),h.dispatchEvent(q),q.defaultPrevented||Kn(A??document.body,{select:!0}),h.removeEventListener($c,g),dp.remove(D)},0)}}},[h,p,g,D]);const O=R.useCallback(A=>{if(!o&&!r||D.paused)return;const M=A.key==="Tab"&&!A.altKey&&!A.ctrlKey&&!A.metaKey,q=document.activeElement;if(M&&q){const Q=A.currentTarget,[X,Z]=w1(Q);X&&Z?!A.shiftKey&&q===Z?(A.preventDefault(),o&&Kn(X,{select:!0})):A.shiftKey&&q===X&&(A.preventDefault(),o&&Kn(Z,{select:!0})):q===Q&&A.preventDefault()}},[o,r,D.paused]);return ot.jsx(tn.div,{tabIndex:-1,...d,ref:T,onKeyDown:O})});bv.displayName=x1;function A1(a,{select:i=!1}={}){const o=document.activeElement;for(const r of a)if(Kn(r,{select:i}),document.activeElement!==o)return}function w1(a){const i=Sv(a),o=fp(i,a),r=fp(i.reverse(),a);return[o,r]}function Sv(a){const i=[],o=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)i.push(o.currentNode);return i}function fp(a,i){for(const o of a)if(!T1(o,{upTo:i}))return o}function T1(a,{upTo:i}){if(getComputedStyle(a).visibility==="hidden")return!0;for(;a;){if(i!==void 0&&a===i)return!1;if(getComputedStyle(a).display==="none")return!0;a=a.parentElement}return!1}function O1(a){return a instanceof HTMLInputElement&&"select"in a}function Kn(a,{select:i=!1}={}){if(a&&a.focus){const o=document.activeElement;a.focus({preventScroll:!0}),a!==o&&O1(a)&&i&&a.select()}}var dp=R1();function R1(){let a=[];return{add(i){const o=a[0];i!==o&&o?.pause(),a=mp(a,i),a.unshift(i)},remove(i){a=mp(a,i),a[0]?.resume()}}}function mp(a,i){const o=[...a],r=o.indexOf(i);return r!==-1&&o.splice(r,1),o}function C1(a){return a.filter(i=>i.tagName!=="A")}var Pn=globalThis?.document?R.useLayoutEffect:()=>{},M1=Mp[" useId ".trim().toString()]||(()=>{}),_1=0;function D1(a){const[i,o]=R.useState(M1());return Pn(()=>{o(r=>r??String(_1++))},[a]),a||(i?`radix-${i}`:"")}const z1=["top","right","bottom","left"],Fn=Math.min,Ae=Math.max,sr=Math.round,Fu=Math.floor,$e=a=>({x:a,y:a}),N1={left:"right",right:"left",bottom:"top",top:"bottom"},U1={start:"end",end:"start"};function ps(a,i,o){return Ae(a,Fn(i,o))}function bn(a,i){return typeof a=="function"?a(i):a}function Sn(a){return a.split("-")[0]}function Ea(a){return a.split("-")[1]}function Rs(a){return a==="x"?"y":"x"}function Cs(a){return a==="y"?"height":"width"}const B1=new Set(["top","bottom"]);function We(a){return B1.has(Sn(a))?"y":"x"}function Ms(a){return Rs(We(a))}function H1(a,i,o){o===void 0&&(o=!1);const r=Ea(a),s=Ms(a),f=Cs(s);let d=s==="x"?r===(o?"end":"start")?"right":"left":r==="start"?"bottom":"top";return i.reference[f]>i.floating[f]&&(d=fr(d)),[d,fr(d)]}function L1(a){const i=fr(a);return[vs(a),i,vs(i)]}function vs(a){return a.replace(/start|end/g,i=>U1[i])}const hp=["left","right"],pp=["right","left"],j1=["top","bottom"],q1=["bottom","top"];function k1(a,i,o){switch(a){case"top":case"bottom":return o?i?pp:hp:i?hp:pp;case"left":case"right":return i?j1:q1;default:return[]}}function Y1(a,i,o,r){const s=Ea(a);let f=k1(Sn(a),o==="start",r);return s&&(f=f.map(d=>d+"-"+s),i&&(f=f.concat(f.map(vs)))),f}function fr(a){return a.replace(/left|right|bottom|top/g,i=>N1[i])}function G1(a){return{top:0,right:0,bottom:0,left:0,...a}}function Ev(a){return typeof a!="number"?G1(a):{top:a,right:a,bottom:a,left:a}}function dr(a){const{x:i,y:o,width:r,height:s}=a;return{width:r,height:s,top:o,left:i,right:i+r,bottom:o+s,x:i,y:o}}function vp(a,i,o){let{reference:r,floating:s}=a;const f=We(i),d=Ms(i),h=Cs(d),y=Sn(i),p=f==="y",g=r.x+r.width/2-s.width/2,S=r.y+r.height/2-s.height/2,T=r[h]/2-s[h]/2;let D;switch(y){case"top":D={x:g,y:r.y-s.height};break;case"bottom":D={x:g,y:r.y+r.height};break;case"right":D={x:r.x+r.width,y:S};break;case"left":D={x:r.x-s.width,y:S};break;default:D={x:r.x,y:r.y}}switch(Ea(i)){case"start":D[d]-=T*(o&&p?-1:1);break;case"end":D[d]+=T*(o&&p?-1:1);break}return D}const X1=async(a,i,o)=>{const{placement:r="bottom",strategy:s="absolute",middleware:f=[],platform:d}=o,h=f.filter(Boolean),y=await(d.isRTL==null?void 0:d.isRTL(i));let p=await d.getElementRects({reference:a,floating:i,strategy:s}),{x:g,y:S}=vp(p,r,y),T=r,D={},O=0;for(let A=0;A<h.length;A++){const{name:M,fn:q}=h[A],{x:Q,y:X,data:Z,reset:k}=await q({x:g,y:S,initialPlacement:r,placement:T,strategy:s,middlewareData:D,rects:p,platform:d,elements:{reference:a,floating:i}});g=Q??g,S=X??S,D={...D,[M]:{...D[M],...Z}},k&&O<=50&&(O++,typeof k=="object"&&(k.placement&&(T=k.placement),k.rects&&(p=k.rects===!0?await d.getElementRects({reference:a,floating:i,strategy:s}):k.rects),{x:g,y:S}=vp(p,T,y)),A=-1)}return{x:g,y:S,placement:T,strategy:s,middlewareData:D}};async function Ti(a,i){var o;i===void 0&&(i={});const{x:r,y:s,platform:f,rects:d,elements:h,strategy:y}=a,{boundary:p="clippingAncestors",rootBoundary:g="viewport",elementContext:S="floating",altBoundary:T=!1,padding:D=0}=bn(i,a),O=Ev(D),M=h[T?S==="floating"?"reference":"floating":S],q=dr(await f.getClippingRect({element:(o=await(f.isElement==null?void 0:f.isElement(M)))==null||o?M:M.contextElement||await(f.getDocumentElement==null?void 0:f.getDocumentElement(h.floating)),boundary:p,rootBoundary:g,strategy:y})),Q=S==="floating"?{x:r,y:s,width:d.floating.width,height:d.floating.height}:d.reference,X=await(f.getOffsetParent==null?void 0:f.getOffsetParent(h.floating)),Z=await(f.isElement==null?void 0:f.isElement(X))?await(f.getScale==null?void 0:f.getScale(X))||{x:1,y:1}:{x:1,y:1},k=dr(f.convertOffsetParentRelativeRectToViewportRelativeRect?await f.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:Q,offsetParent:X,strategy:y}):Q);return{top:(q.top-k.top+O.top)/Z.y,bottom:(k.bottom-q.bottom+O.bottom)/Z.y,left:(q.left-k.left+O.left)/Z.x,right:(k.right-q.right+O.right)/Z.x}}const V1=a=>({name:"arrow",options:a,async fn(i){const{x:o,y:r,placement:s,rects:f,platform:d,elements:h,middlewareData:y}=i,{element:p,padding:g=0}=bn(a,i)||{};if(p==null)return{};const S=Ev(g),T={x:o,y:r},D=Ms(s),O=Cs(D),A=await d.getDimensions(p),M=D==="y",q=M?"top":"left",Q=M?"bottom":"right",X=M?"clientHeight":"clientWidth",Z=f.reference[O]+f.reference[D]-T[D]-f.floating[O],k=T[D]-f.reference[D],$=await(d.getOffsetParent==null?void 0:d.getOffsetParent(p));let P=$?$[X]:0;(!P||!await(d.isElement==null?void 0:d.isElement($)))&&(P=h.floating[X]||f.floating[O]);const J=Z/2-k/2,ct=P/2-A[O]/2-1,At=Fn(S[q],ct),_t=Fn(S[Q],ct),yt=At,Ot=P-A[O]-_t,xt=P/2-A[O]/2+J,gt=ps(yt,xt,Ot),N=!y.arrow&&Ea(s)!=null&&xt!==gt&&f.reference[O]/2-(xt<yt?At:_t)-A[O]/2<0,V=N?xt<yt?xt-yt:xt-Ot:0;return{[D]:T[D]+V,data:{[D]:gt,centerOffset:xt-gt-V,...N&&{alignmentOffset:V}},reset:N}}}),Q1=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(i){var o,r;const{placement:s,middlewareData:f,rects:d,initialPlacement:h,platform:y,elements:p}=i,{mainAxis:g=!0,crossAxis:S=!0,fallbackPlacements:T,fallbackStrategy:D="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:A=!0,...M}=bn(a,i);if((o=f.arrow)!=null&&o.alignmentOffset)return{};const q=Sn(s),Q=We(h),X=Sn(h)===h,Z=await(y.isRTL==null?void 0:y.isRTL(p.floating)),k=T||(X||!A?[fr(h)]:L1(h)),$=O!=="none";!T&&$&&k.push(...Y1(h,A,O,Z));const P=[h,...k],J=await Ti(i,M),ct=[];let At=((r=f.flip)==null?void 0:r.overflows)||[];if(g&&ct.push(J[q]),S){const xt=H1(s,d,Z);ct.push(J[xt[0]],J[xt[1]])}if(At=[...At,{placement:s,overflows:ct}],!ct.every(xt=>xt<=0)){var _t,yt;const xt=(((_t=f.flip)==null?void 0:_t.index)||0)+1,gt=P[xt];if(gt&&(!(S==="alignment"?Q!==We(gt):!1)||At.every(H=>We(H.placement)===Q?H.overflows[0]>0:!0)))return{data:{index:xt,overflows:At},reset:{placement:gt}};let N=(yt=At.filter(V=>V.overflows[0]<=0).sort((V,H)=>V.overflows[1]-H.overflows[1])[0])==null?void 0:yt.placement;if(!N)switch(D){case"bestFit":{var Ot;const V=(Ot=At.filter(H=>{if($){const rt=We(H.placement);return rt===Q||rt==="y"}return!0}).map(H=>[H.placement,H.overflows.filter(rt=>rt>0).reduce((rt,E)=>rt+E,0)]).sort((H,rt)=>H[1]-rt[1])[0])==null?void 0:Ot[0];V&&(N=V);break}case"initialPlacement":N=h;break}if(s!==N)return{reset:{placement:N}}}return{}}}};function yp(a,i){return{top:a.top-i.height,right:a.right-i.width,bottom:a.bottom-i.height,left:a.left-i.width}}function gp(a){return z1.some(i=>a[i]>=0)}const Z1=function(a){return a===void 0&&(a={}),{name:"hide",options:a,async fn(i){const{rects:o}=i,{strategy:r="referenceHidden",...s}=bn(a,i);switch(r){case"referenceHidden":{const f=await Ti(i,{...s,elementContext:"reference"}),d=yp(f,o.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:gp(d)}}}case"escaped":{const f=await Ti(i,{...s,altBoundary:!0}),d=yp(f,o.floating);return{data:{escapedOffsets:d,escaped:gp(d)}}}default:return{}}}}},xv=new Set(["left","top"]);async function K1(a,i){const{placement:o,platform:r,elements:s}=a,f=await(r.isRTL==null?void 0:r.isRTL(s.floating)),d=Sn(o),h=Ea(o),y=We(o)==="y",p=xv.has(d)?-1:1,g=f&&y?-1:1,S=bn(i,a);let{mainAxis:T,crossAxis:D,alignmentAxis:O}=typeof S=="number"?{mainAxis:S,crossAxis:0,alignmentAxis:null}:{mainAxis:S.mainAxis||0,crossAxis:S.crossAxis||0,alignmentAxis:S.alignmentAxis};return h&&typeof O=="number"&&(D=h==="end"?O*-1:O),y?{x:D*g,y:T*p}:{x:T*p,y:D*g}}const J1=function(a){return a===void 0&&(a=0),{name:"offset",options:a,async fn(i){var o,r;const{x:s,y:f,placement:d,middlewareData:h}=i,y=await K1(i,a);return d===((o=h.offset)==null?void 0:o.placement)&&(r=h.arrow)!=null&&r.alignmentOffset?{}:{x:s+y.x,y:f+y.y,data:{...y,placement:d}}}}},P1=function(a){return a===void 0&&(a={}),{name:"shift",options:a,async fn(i){const{x:o,y:r,placement:s}=i,{mainAxis:f=!0,crossAxis:d=!1,limiter:h={fn:M=>{let{x:q,y:Q}=M;return{x:q,y:Q}}},...y}=bn(a,i),p={x:o,y:r},g=await Ti(i,y),S=We(Sn(s)),T=Rs(S);let D=p[T],O=p[S];if(f){const M=T==="y"?"top":"left",q=T==="y"?"bottom":"right",Q=D+g[M],X=D-g[q];D=ps(Q,D,X)}if(d){const M=S==="y"?"top":"left",q=S==="y"?"bottom":"right",Q=O+g[M],X=O-g[q];O=ps(Q,O,X)}const A=h.fn({...i,[T]:D,[S]:O});return{...A,data:{x:A.x-o,y:A.y-r,enabled:{[T]:f,[S]:d}}}}}},F1=function(a){return a===void 0&&(a={}),{options:a,fn(i){const{x:o,y:r,placement:s,rects:f,middlewareData:d}=i,{offset:h=0,mainAxis:y=!0,crossAxis:p=!0}=bn(a,i),g={x:o,y:r},S=We(s),T=Rs(S);let D=g[T],O=g[S];const A=bn(h,i),M=typeof A=="number"?{mainAxis:A,crossAxis:0}:{mainAxis:0,crossAxis:0,...A};if(y){const X=T==="y"?"height":"width",Z=f.reference[T]-f.floating[X]+M.mainAxis,k=f.reference[T]+f.reference[X]-M.mainAxis;D<Z?D=Z:D>k&&(D=k)}if(p){var q,Q;const X=T==="y"?"width":"height",Z=xv.has(Sn(s)),k=f.reference[S]-f.floating[X]+(Z&&((q=d.offset)==null?void 0:q[S])||0)+(Z?0:M.crossAxis),$=f.reference[S]+f.reference[X]+(Z?0:((Q=d.offset)==null?void 0:Q[S])||0)-(Z?M.crossAxis:0);O<k?O=k:O>$&&(O=$)}return{[T]:D,[S]:O}}}},W1=function(a){return a===void 0&&(a={}),{name:"size",options:a,async fn(i){var o,r;const{placement:s,rects:f,platform:d,elements:h}=i,{apply:y=()=>{},...p}=bn(a,i),g=await Ti(i,p),S=Sn(s),T=Ea(s),D=We(s)==="y",{width:O,height:A}=f.floating;let M,q;S==="top"||S==="bottom"?(M=S,q=T===(await(d.isRTL==null?void 0:d.isRTL(h.floating))?"start":"end")?"left":"right"):(q=S,M=T==="end"?"top":"bottom");const Q=A-g.top-g.bottom,X=O-g.left-g.right,Z=Fn(A-g[M],Q),k=Fn(O-g[q],X),$=!i.middlewareData.shift;let P=Z,J=k;if((o=i.middlewareData.shift)!=null&&o.enabled.x&&(J=X),(r=i.middlewareData.shift)!=null&&r.enabled.y&&(P=Q),$&&!T){const At=Ae(g.left,0),_t=Ae(g.right,0),yt=Ae(g.top,0),Ot=Ae(g.bottom,0);D?J=O-2*(At!==0||_t!==0?At+_t:Ae(g.left,g.right)):P=A-2*(yt!==0||Ot!==0?yt+Ot:Ae(g.top,g.bottom))}await y({...i,availableWidth:J,availableHeight:P});const ct=await d.getDimensions(h.floating);return O!==ct.width||A!==ct.height?{reset:{rects:!0}}:{}}}};function Er(){return typeof window<"u"}function xa(a){return Av(a)?(a.nodeName||"").toLowerCase():"#document"}function we(a){var i;return(a==null||(i=a.ownerDocument)==null?void 0:i.defaultView)||window}function en(a){var i;return(i=(Av(a)?a.ownerDocument:a.document)||window.document)==null?void 0:i.documentElement}function Av(a){return Er()?a instanceof Node||a instanceof we(a).Node:!1}function Le(a){return Er()?a instanceof Element||a instanceof we(a).Element:!1}function Ie(a){return Er()?a instanceof HTMLElement||a instanceof we(a).HTMLElement:!1}function bp(a){return!Er()||typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof we(a).ShadowRoot}const $1=new Set(["inline","contents"]);function Di(a){const{overflow:i,overflowX:o,overflowY:r,display:s}=je(a);return/auto|scroll|overlay|hidden|clip/.test(i+r+o)&&!$1.has(s)}const I1=new Set(["table","td","th"]);function tE(a){return I1.has(xa(a))}const eE=[":popover-open",":modal"];function xr(a){return eE.some(i=>{try{return a.matches(i)}catch{return!1}})}const nE=["transform","translate","scale","rotate","perspective"],lE=["transform","translate","scale","rotate","perspective","filter"],aE=["paint","layout","strict","content"];function _s(a){const i=Ds(),o=Le(a)?je(a):a;return nE.some(r=>o[r]?o[r]!=="none":!1)||(o.containerType?o.containerType!=="normal":!1)||!i&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!i&&(o.filter?o.filter!=="none":!1)||lE.some(r=>(o.willChange||"").includes(r))||aE.some(r=>(o.contain||"").includes(r))}function iE(a){let i=Wn(a);for(;Ie(i)&&!pa(i);){if(_s(i))return i;if(xr(i))return null;i=Wn(i)}return null}function Ds(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const uE=new Set(["html","body","#document"]);function pa(a){return uE.has(xa(a))}function je(a){return we(a).getComputedStyle(a)}function Ar(a){return Le(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function Wn(a){if(xa(a)==="html")return a;const i=a.assignedSlot||a.parentNode||bp(a)&&a.host||en(a);return bp(i)?i.host:i}function wv(a){const i=Wn(a);return pa(i)?a.ownerDocument?a.ownerDocument.body:a.body:Ie(i)&&Di(i)?i:wv(i)}function Oi(a,i,o){var r;i===void 0&&(i=[]),o===void 0&&(o=!0);const s=wv(a),f=s===((r=a.ownerDocument)==null?void 0:r.body),d=we(s);if(f){const h=ys(d);return i.concat(d,d.visualViewport||[],Di(s)?s:[],h&&o?Oi(h):[])}return i.concat(s,Oi(s,[],o))}function ys(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function Tv(a){const i=je(a);let o=parseFloat(i.width)||0,r=parseFloat(i.height)||0;const s=Ie(a),f=s?a.offsetWidth:o,d=s?a.offsetHeight:r,h=sr(o)!==f||sr(r)!==d;return h&&(o=f,r=d),{width:o,height:r,$:h}}function zs(a){return Le(a)?a:a.contextElement}function da(a){const i=zs(a);if(!Ie(i))return $e(1);const o=i.getBoundingClientRect(),{width:r,height:s,$:f}=Tv(i);let d=(f?sr(o.width):o.width)/r,h=(f?sr(o.height):o.height)/s;return(!d||!Number.isFinite(d))&&(d=1),(!h||!Number.isFinite(h))&&(h=1),{x:d,y:h}}const rE=$e(0);function Ov(a){const i=we(a);return!Ds()||!i.visualViewport?rE:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function oE(a,i,o){return i===void 0&&(i=!1),!o||i&&o!==we(a)?!1:i}function xl(a,i,o,r){i===void 0&&(i=!1),o===void 0&&(o=!1);const s=a.getBoundingClientRect(),f=zs(a);let d=$e(1);i&&(r?Le(r)&&(d=da(r)):d=da(a));const h=oE(f,o,r)?Ov(f):$e(0);let y=(s.left+h.x)/d.x,p=(s.top+h.y)/d.y,g=s.width/d.x,S=s.height/d.y;if(f){const T=we(f),D=r&&Le(r)?we(r):r;let O=T,A=ys(O);for(;A&&r&&D!==O;){const M=da(A),q=A.getBoundingClientRect(),Q=je(A),X=q.left+(A.clientLeft+parseFloat(Q.paddingLeft))*M.x,Z=q.top+(A.clientTop+parseFloat(Q.paddingTop))*M.y;y*=M.x,p*=M.y,g*=M.x,S*=M.y,y+=X,p+=Z,O=we(A),A=ys(O)}}return dr({width:g,height:S,x:y,y:p})}function Ns(a,i){const o=Ar(a).scrollLeft;return i?i.left+o:xl(en(a)).left+o}function Rv(a,i,o){o===void 0&&(o=!1);const r=a.getBoundingClientRect(),s=r.left+i.scrollLeft-(o?0:Ns(a,r)),f=r.top+i.scrollTop;return{x:s,y:f}}function cE(a){let{elements:i,rect:o,offsetParent:r,strategy:s}=a;const f=s==="fixed",d=en(r),h=i?xr(i.floating):!1;if(r===d||h&&f)return o;let y={scrollLeft:0,scrollTop:0},p=$e(1);const g=$e(0),S=Ie(r);if((S||!S&&!f)&&((xa(r)!=="body"||Di(d))&&(y=Ar(r)),Ie(r))){const D=xl(r);p=da(r),g.x=D.x+r.clientLeft,g.y=D.y+r.clientTop}const T=d&&!S&&!f?Rv(d,y,!0):$e(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-y.scrollLeft*p.x+g.x+T.x,y:o.y*p.y-y.scrollTop*p.y+g.y+T.y}}function sE(a){return Array.from(a.getClientRects())}function fE(a){const i=en(a),o=Ar(a),r=a.ownerDocument.body,s=Ae(i.scrollWidth,i.clientWidth,r.scrollWidth,r.clientWidth),f=Ae(i.scrollHeight,i.clientHeight,r.scrollHeight,r.clientHeight);let d=-o.scrollLeft+Ns(a);const h=-o.scrollTop;return je(r).direction==="rtl"&&(d+=Ae(i.clientWidth,r.clientWidth)-s),{width:s,height:f,x:d,y:h}}function dE(a,i){const o=we(a),r=en(a),s=o.visualViewport;let f=r.clientWidth,d=r.clientHeight,h=0,y=0;if(s){f=s.width,d=s.height;const p=Ds();(!p||p&&i==="fixed")&&(h=s.offsetLeft,y=s.offsetTop)}return{width:f,height:d,x:h,y}}const mE=new Set(["absolute","fixed"]);function hE(a,i){const o=xl(a,!0,i==="fixed"),r=o.top+a.clientTop,s=o.left+a.clientLeft,f=Ie(a)?da(a):$e(1),d=a.clientWidth*f.x,h=a.clientHeight*f.y,y=s*f.x,p=r*f.y;return{width:d,height:h,x:y,y:p}}function Sp(a,i,o){let r;if(i==="viewport")r=dE(a,o);else if(i==="document")r=fE(en(a));else if(Le(i))r=hE(i,o);else{const s=Ov(a);r={x:i.x-s.x,y:i.y-s.y,width:i.width,height:i.height}}return dr(r)}function Cv(a,i){const o=Wn(a);return o===i||!Le(o)||pa(o)?!1:je(o).position==="fixed"||Cv(o,i)}function pE(a,i){const o=i.get(a);if(o)return o;let r=Oi(a,[],!1).filter(h=>Le(h)&&xa(h)!=="body"),s=null;const f=je(a).position==="fixed";let d=f?Wn(a):a;for(;Le(d)&&!pa(d);){const h=je(d),y=_s(d);!y&&h.position==="fixed"&&(s=null),(f?!y&&!s:!y&&h.position==="static"&&!!s&&mE.has(s.position)||Di(d)&&!y&&Cv(a,d))?r=r.filter(g=>g!==d):s=h,d=Wn(d)}return i.set(a,r),r}function vE(a){let{element:i,boundary:o,rootBoundary:r,strategy:s}=a;const d=[...o==="clippingAncestors"?xr(i)?[]:pE(i,this._c):[].concat(o),r],h=d[0],y=d.reduce((p,g)=>{const S=Sp(i,g,s);return p.top=Ae(S.top,p.top),p.right=Fn(S.right,p.right),p.bottom=Fn(S.bottom,p.bottom),p.left=Ae(S.left,p.left),p},Sp(i,h,s));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function yE(a){const{width:i,height:o}=Tv(a);return{width:i,height:o}}function gE(a,i,o){const r=Ie(i),s=en(i),f=o==="fixed",d=xl(a,!0,f,i);let h={scrollLeft:0,scrollTop:0};const y=$e(0);function p(){y.x=Ns(s)}if(r||!r&&!f)if((xa(i)!=="body"||Di(s))&&(h=Ar(i)),r){const D=xl(i,!0,f,i);y.x=D.x+i.clientLeft,y.y=D.y+i.clientTop}else s&&p();f&&!r&&s&&p();const g=s&&!r&&!f?Rv(s,h):$e(0),S=d.left+h.scrollLeft-y.x-g.x,T=d.top+h.scrollTop-y.y-g.y;return{x:S,y:T,width:d.width,height:d.height}}function Ic(a){return je(a).position==="static"}function Ep(a,i){if(!Ie(a)||je(a).position==="fixed")return null;if(i)return i(a);let o=a.offsetParent;return en(a)===o&&(o=o.ownerDocument.body),o}function Mv(a,i){const o=we(a);if(xr(a))return o;if(!Ie(a)){let s=Wn(a);for(;s&&!pa(s);){if(Le(s)&&!Ic(s))return s;s=Wn(s)}return o}let r=Ep(a,i);for(;r&&tE(r)&&Ic(r);)r=Ep(r,i);return r&&pa(r)&&Ic(r)&&!_s(r)?o:r||iE(a)||o}const bE=async function(a){const i=this.getOffsetParent||Mv,o=this.getDimensions,r=await o(a.floating);return{reference:gE(a.reference,await i(a.floating),a.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function SE(a){return je(a).direction==="rtl"}const EE={convertOffsetParentRelativeRectToViewportRelativeRect:cE,getDocumentElement:en,getClippingRect:vE,getOffsetParent:Mv,getElementRects:bE,getClientRects:sE,getDimensions:yE,getScale:da,isElement:Le,isRTL:SE};function _v(a,i){return a.x===i.x&&a.y===i.y&&a.width===i.width&&a.height===i.height}function xE(a,i){let o=null,r;const s=en(a);function f(){var h;clearTimeout(r),(h=o)==null||h.disconnect(),o=null}function d(h,y){h===void 0&&(h=!1),y===void 0&&(y=1),f();const p=a.getBoundingClientRect(),{left:g,top:S,width:T,height:D}=p;if(h||i(),!T||!D)return;const O=Fu(S),A=Fu(s.clientWidth-(g+T)),M=Fu(s.clientHeight-(S+D)),q=Fu(g),X={rootMargin:-O+"px "+-A+"px "+-M+"px "+-q+"px",threshold:Ae(0,Fn(1,y))||1};let Z=!0;function k($){const P=$[0].intersectionRatio;if(P!==y){if(!Z)return d();P?d(!1,P):r=setTimeout(()=>{d(!1,1e-7)},1e3)}P===1&&!_v(p,a.getBoundingClientRect())&&d(),Z=!1}try{o=new IntersectionObserver(k,{...X,root:s.ownerDocument})}catch{o=new IntersectionObserver(k,X)}o.observe(a)}return d(!0),f}function AE(a,i,o,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:f=!0,elementResize:d=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:y=!1}=r,p=zs(a),g=s||f?[...p?Oi(p):[],...Oi(i)]:[];g.forEach(q=>{s&&q.addEventListener("scroll",o,{passive:!0}),f&&q.addEventListener("resize",o)});const S=p&&h?xE(p,o):null;let T=-1,D=null;d&&(D=new ResizeObserver(q=>{let[Q]=q;Q&&Q.target===p&&D&&(D.unobserve(i),cancelAnimationFrame(T),T=requestAnimationFrame(()=>{var X;(X=D)==null||X.observe(i)})),o()}),p&&!y&&D.observe(p),D.observe(i));let O,A=y?xl(a):null;y&&M();function M(){const q=xl(a);A&&!_v(A,q)&&o(),A=q,O=requestAnimationFrame(M)}return o(),()=>{var q;g.forEach(Q=>{s&&Q.removeEventListener("scroll",o),f&&Q.removeEventListener("resize",o)}),S?.(),(q=D)==null||q.disconnect(),D=null,y&&cancelAnimationFrame(O)}}const wE=J1,TE=P1,OE=Q1,RE=W1,CE=Z1,xp=V1,ME=F1,_E=(a,i,o)=>{const r=new Map,s={platform:EE,...o},f={...s.platform,_c:r};return X1(a,i,{...s,platform:f})};var DE=typeof document<"u",zE=function(){},ir=DE?R.useLayoutEffect:zE;function mr(a,i){if(a===i)return!0;if(typeof a!=typeof i)return!1;if(typeof a=="function"&&a.toString()===i.toString())return!0;let o,r,s;if(a&&i&&typeof a=="object"){if(Array.isArray(a)){if(o=a.length,o!==i.length)return!1;for(r=o;r--!==0;)if(!mr(a[r],i[r]))return!1;return!0}if(s=Object.keys(a),o=s.length,o!==Object.keys(i).length)return!1;for(r=o;r--!==0;)if(!{}.hasOwnProperty.call(i,s[r]))return!1;for(r=o;r--!==0;){const f=s[r];if(!(f==="_owner"&&a.$$typeof)&&!mr(a[f],i[f]))return!1}return!0}return a!==a&&i!==i}function Dv(a){return typeof window>"u"?1:(a.ownerDocument.defaultView||window).devicePixelRatio||1}function Ap(a,i){const o=Dv(a);return Math.round(i*o)/o}function ts(a){const i=R.useRef(a);return ir(()=>{i.current=a}),i}function NE(a){a===void 0&&(a={});const{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s,elements:{reference:f,floating:d}={},transform:h=!0,whileElementsMounted:y,open:p}=a,[g,S]=R.useState({x:0,y:0,strategy:o,placement:i,middlewareData:{},isPositioned:!1}),[T,D]=R.useState(r);mr(T,r)||D(r);const[O,A]=R.useState(null),[M,q]=R.useState(null),Q=R.useCallback(H=>{H!==$.current&&($.current=H,A(H))},[]),X=R.useCallback(H=>{H!==P.current&&(P.current=H,q(H))},[]),Z=f||O,k=d||M,$=R.useRef(null),P=R.useRef(null),J=R.useRef(g),ct=y!=null,At=ts(y),_t=ts(s),yt=ts(p),Ot=R.useCallback(()=>{if(!$.current||!P.current)return;const H={placement:i,strategy:o,middleware:T};_t.current&&(H.platform=_t.current),_E($.current,P.current,H).then(rt=>{const E={...rt,isPositioned:yt.current!==!1};xt.current&&!mr(J.current,E)&&(J.current=E,Os.flushSync(()=>{S(E)}))})},[T,i,o,_t,yt]);ir(()=>{p===!1&&J.current.isPositioned&&(J.current.isPositioned=!1,S(H=>({...H,isPositioned:!1})))},[p]);const xt=R.useRef(!1);ir(()=>(xt.current=!0,()=>{xt.current=!1}),[]),ir(()=>{if(Z&&($.current=Z),k&&(P.current=k),Z&&k){if(At.current)return At.current(Z,k,Ot);Ot()}},[Z,k,Ot,At,ct]);const gt=R.useMemo(()=>({reference:$,floating:P,setReference:Q,setFloating:X}),[Q,X]),N=R.useMemo(()=>({reference:Z,floating:k}),[Z,k]),V=R.useMemo(()=>{const H={position:o,left:0,top:0};if(!N.floating)return H;const rt=Ap(N.floating,g.x),E=Ap(N.floating,g.y);return h?{...H,transform:"translate("+rt+"px, "+E+"px)",...Dv(N.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:rt,top:E}},[o,h,N.floating,g.x,g.y]);return R.useMemo(()=>({...g,update:Ot,refs:gt,elements:N,floatingStyles:V}),[g,Ot,gt,N,V])}const UE=a=>{function i(o){return{}.hasOwnProperty.call(o,"current")}return{name:"arrow",options:a,fn(o){const{element:r,padding:s}=typeof a=="function"?a(o):a;return r&&i(r)?r.current!=null?xp({element:r.current,padding:s}).fn(o):{}:r?xp({element:r,padding:s}).fn(o):{}}}},BE=(a,i)=>({...wE(a),options:[a,i]}),HE=(a,i)=>({...TE(a),options:[a,i]}),LE=(a,i)=>({...ME(a),options:[a,i]}),jE=(a,i)=>({...OE(a),options:[a,i]}),qE=(a,i)=>({...RE(a),options:[a,i]}),kE=(a,i)=>({...CE(a),options:[a,i]}),YE=(a,i)=>({...UE(a),options:[a,i]});var GE="Arrow",zv=R.forwardRef((a,i)=>{const{children:o,width:r=10,height:s=5,...f}=a;return ot.jsx(tn.svg,{...f,ref:i,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:a.asChild?o:ot.jsx("polygon",{points:"0,0 30,0 15,10"})})});zv.displayName=GE;var XE=zv;function VE(a){const[i,o]=R.useState(void 0);return Pn(()=>{if(a){o({width:a.offsetWidth,height:a.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const f=s[0];let d,h;if("borderBoxSize"in f){const y=f.borderBoxSize,p=Array.isArray(y)?y[0]:y;d=p.inlineSize,h=p.blockSize}else d=a.offsetWidth,h=a.offsetHeight;o({width:d,height:h})});return r.observe(a,{box:"border-box"}),()=>r.unobserve(a)}else o(void 0)},[a]),i}var Us="Popper",[Nv,Uv]=pv(Us),[QE,Bv]=Nv(Us),Hv=a=>{const{__scopePopper:i,children:o}=a,[r,s]=R.useState(null);return ot.jsx(QE,{scope:i,anchor:r,onAnchorChange:s,children:o})};Hv.displayName=Us;var Lv="PopperAnchor",jv=R.forwardRef((a,i)=>{const{__scopePopper:o,virtualRef:r,...s}=a,f=Bv(Lv,o),d=R.useRef(null),h=$n(i,d),y=R.useRef(null);return R.useEffect(()=>{const p=y.current;y.current=r?.current||d.current,p!==y.current&&f.onAnchorChange(y.current)}),r?null:ot.jsx(tn.div,{...s,ref:h})});jv.displayName=Lv;var Bs="PopperContent",[ZE,KE]=Nv(Bs),qv=R.forwardRef((a,i)=>{const{__scopePopper:o,side:r="bottom",sideOffset:s=0,align:f="center",alignOffset:d=0,arrowPadding:h=0,avoidCollisions:y=!0,collisionBoundary:p=[],collisionPadding:g=0,sticky:S="partial",hideWhenDetached:T=!1,updatePositionStrategy:D="optimized",onPlaced:O,...A}=a,M=Bv(Bs,o),[q,Q]=R.useState(null),X=$n(i,pt=>Q(pt)),[Z,k]=R.useState(null),$=VE(Z),P=$?.width??0,J=$?.height??0,ct=r+(f!=="center"?"-"+f:""),At=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},_t=Array.isArray(p)?p:[p],yt=_t.length>0,Ot={padding:At,boundary:_t.filter(PE),altBoundary:yt},{refs:xt,floatingStyles:gt,placement:N,isPositioned:V,middlewareData:H}=NE({strategy:"fixed",placement:ct,whileElementsMounted:(...pt)=>AE(...pt,{animationFrame:D==="always"}),elements:{reference:M.anchor},middleware:[BE({mainAxis:s+J,alignmentAxis:d}),y&&HE({mainAxis:!0,crossAxis:!1,limiter:S==="partial"?LE():void 0,...Ot}),y&&jE({...Ot}),qE({...Ot,apply:({elements:pt,rects:Rt,availableWidth:ie,availableHeight:ke})=>{const{width:Ye,height:Ge}=Rt.reference,En=pt.floating.style;En.setProperty("--radix-popper-available-width",`${ie}px`),En.setProperty("--radix-popper-available-height",`${ke}px`),En.setProperty("--radix-popper-anchor-width",`${Ye}px`),En.setProperty("--radix-popper-anchor-height",`${Ge}px`)}}),Z&&YE({element:Z,padding:h}),FE({arrowWidth:P,arrowHeight:J}),T&&kE({strategy:"referenceHidden",...Ot})]}),[rt,E]=Gv(N),G=ha(O);Pn(()=>{V&&G?.()},[V,G]);const F=H.arrow?.x,K=H.arrow?.y,W=H.arrow?.centerOffset!==0,[dt,it]=R.useState();return Pn(()=>{q&&it(window.getComputedStyle(q).zIndex)},[q]),ot.jsx("div",{ref:xt.setFloating,"data-radix-popper-content-wrapper":"",style:{...gt,transform:V?gt.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:dt,"--radix-popper-transform-origin":[H.transformOrigin?.x,H.transformOrigin?.y].join(" "),...H.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:a.dir,children:ot.jsx(ZE,{scope:o,placedSide:rt,onArrowChange:k,arrowX:F,arrowY:K,shouldHideArrow:W,children:ot.jsx(tn.div,{"data-side":rt,"data-align":E,...A,ref:X,style:{...A.style,animation:V?void 0:"none"}})})})});qv.displayName=Bs;var kv="PopperArrow",JE={top:"bottom",right:"left",bottom:"top",left:"right"},Yv=R.forwardRef(function(i,o){const{__scopePopper:r,...s}=i,f=KE(kv,r),d=JE[f.placedSide];return ot.jsx("span",{ref:f.onArrowChange,style:{position:"absolute",left:f.arrowX,top:f.arrowY,[d]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[f.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[f.placedSide],visibility:f.shouldHideArrow?"hidden":void 0},children:ot.jsx(XE,{...s,ref:o,style:{...s.style,display:"block"}})})});Yv.displayName=kv;function PE(a){return a!==null}var FE=a=>({name:"transformOrigin",options:a,fn(i){const{placement:o,rects:r,middlewareData:s}=i,d=s.arrow?.centerOffset!==0,h=d?0:a.arrowWidth,y=d?0:a.arrowHeight,[p,g]=Gv(o),S={start:"0%",center:"50%",end:"100%"}[g],T=(s.arrow?.x??0)+h/2,D=(s.arrow?.y??0)+y/2;let O="",A="";return p==="bottom"?(O=d?S:`${T}px`,A=`${-y}px`):p==="top"?(O=d?S:`${T}px`,A=`${r.floating.height+y}px`):p==="right"?(O=`${-y}px`,A=d?S:`${D}px`):p==="left"&&(O=`${r.floating.width+y}px`,A=d?S:`${D}px`),{data:{x:O,y:A}}}});function Gv(a){const[i,o="center"]=a.split("-");return[i,o]}var WE=Hv,Xv=jv,$E=qv,IE=Yv,tx="Portal",Vv=R.forwardRef((a,i)=>{const{container:o,...r}=a,[s,f]=R.useState(!1);Pn(()=>f(!0),[]);const d=o||s&&globalThis?.document?.body;return d?s1.createPortal(ot.jsx(tn.div,{...r,ref:i}),d):null});Vv.displayName=tx;function ex(a,i){return R.useReducer((o,r)=>i[o][r]??o,a)}var Hs=a=>{const{present:i,children:o}=a,r=nx(i),s=typeof o=="function"?o({present:r.isPresent}):R.Children.only(o),f=$n(r.ref,lx(s));return typeof o=="function"||r.isPresent?R.cloneElement(s,{ref:f}):null};Hs.displayName="Presence";function nx(a){const[i,o]=R.useState(),r=R.useRef(null),s=R.useRef(a),f=R.useRef("none"),d=a?"mounted":"unmounted",[h,y]=ex(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return R.useEffect(()=>{const p=Wu(r.current);f.current=h==="mounted"?p:"none"},[h]),Pn(()=>{const p=r.current,g=s.current;if(g!==a){const T=f.current,D=Wu(p);a?y("MOUNT"):D==="none"||p?.display==="none"?y("UNMOUNT"):y(g&&T!==D?"ANIMATION_OUT":"UNMOUNT"),s.current=a}},[a,y]),Pn(()=>{if(i){let p;const g=i.ownerDocument.defaultView??window,S=D=>{const A=Wu(r.current).includes(CSS.escape(D.animationName));if(D.target===i&&A&&(y("ANIMATION_END"),!s.current)){const M=i.style.animationFillMode;i.style.animationFillMode="forwards",p=g.setTimeout(()=>{i.style.animationFillMode==="forwards"&&(i.style.animationFillMode=M)})}},T=D=>{D.target===i&&(f.current=Wu(r.current))};return i.addEventListener("animationstart",T),i.addEventListener("animationcancel",S),i.addEventListener("animationend",S),()=>{g.clearTimeout(p),i.removeEventListener("animationstart",T),i.removeEventListener("animationcancel",S),i.removeEventListener("animationend",S)}}else y("ANIMATION_END")},[i,y]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:R.useCallback(p=>{r.current=p?getComputedStyle(p):null,o(p)},[])}}function Wu(a){return a?.animationName||"none"}function lx(a){let i=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,o=i&&"isReactWarning"in i&&i.isReactWarning;return o?a.ref:(i=Object.getOwnPropertyDescriptor(a,"ref")?.get,o=i&&"isReactWarning"in i&&i.isReactWarning,o?a.props.ref:a.props.ref||a.ref)}var ax=Mp[" useInsertionEffect ".trim().toString()]||Pn;function ix({prop:a,defaultProp:i,onChange:o=()=>{},caller:r}){const[s,f,d]=ux({defaultProp:i,onChange:o}),h=a!==void 0,y=h?a:s;{const g=R.useRef(a!==void 0);R.useEffect(()=>{const S=g.current;S!==h&&console.warn(`${r} is changing from ${S?"controlled":"uncontrolled"} to ${h?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),g.current=h},[h,r])}const p=R.useCallback(g=>{if(h){const S=rx(g)?g(a):g;S!==a&&d.current?.(S)}else f(g)},[h,a,f,d]);return[y,p]}function ux({defaultProp:a,onChange:i}){const[o,r]=R.useState(a),s=R.useRef(o),f=R.useRef(i);return ax(()=>{f.current=i},[i]),R.useEffect(()=>{s.current!==o&&(f.current?.(o),s.current=o)},[o,s]),[o,r,f]}function rx(a){return typeof a=="function"}var ox=function(a){if(typeof document>"u")return null;var i=Array.isArray(a)?a[0]:a;return i.ownerDocument.body},ca=new WeakMap,$u=new WeakMap,Iu={},es=0,Qv=function(a){return a&&(a.host||Qv(a.parentNode))},cx=function(a,i){return i.map(function(o){if(a.contains(o))return o;var r=Qv(o);return r&&a.contains(r)?r:(console.error("aria-hidden",o,"in not contained inside",a,". Doing nothing"),null)}).filter(function(o){return!!o})},sx=function(a,i,o,r){var s=cx(i,Array.isArray(a)?a:[a]);Iu[o]||(Iu[o]=new WeakMap);var f=Iu[o],d=[],h=new Set,y=new Set(s),p=function(S){!S||h.has(S)||(h.add(S),p(S.parentNode))};s.forEach(p);var g=function(S){!S||y.has(S)||Array.prototype.forEach.call(S.children,function(T){if(h.has(T))g(T);else try{var D=T.getAttribute(r),O=D!==null&&D!=="false",A=(ca.get(T)||0)+1,M=(f.get(T)||0)+1;ca.set(T,A),f.set(T,M),d.push(T),A===1&&O&&$u.set(T,!0),M===1&&T.setAttribute(o,"true"),O||T.setAttribute(r,"true")}catch(q){console.error("aria-hidden: cannot operate on ",T,q)}})};return g(i),h.clear(),es++,function(){d.forEach(function(S){var T=ca.get(S)-1,D=f.get(S)-1;ca.set(S,T),f.set(S,D),T||($u.has(S)||S.removeAttribute(r),$u.delete(S)),D||S.removeAttribute(o)}),es--,es||(ca=new WeakMap,ca=new WeakMap,$u=new WeakMap,Iu={})}},fx=function(a,i,o){o===void 0&&(o="data-aria-hidden");var r=Array.from(Array.isArray(a)?a:[a]),s=ox(a);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live], script"))),sx(r,s,o,"aria-hidden")):function(){return null}},Fe=function(){return Fe=Object.assign||function(i){for(var o,r=1,s=arguments.length;r<s;r++){o=arguments[r];for(var f in o)Object.prototype.hasOwnProperty.call(o,f)&&(i[f]=o[f])}return i},Fe.apply(this,arguments)};function Zv(a,i){var o={};for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&i.indexOf(r)<0&&(o[r]=a[r]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(a);s<r.length;s++)i.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(a,r[s])&&(o[r[s]]=a[r[s]]);return o}function dx(a,i,o){if(o||arguments.length===2)for(var r=0,s=i.length,f;r<s;r++)(f||!(r in i))&&(f||(f=Array.prototype.slice.call(i,0,r)),f[r]=i[r]);return a.concat(f||Array.prototype.slice.call(i))}var ur="right-scroll-bar-position",rr="width-before-scroll-bar",mx="with-scroll-bars-hidden",hx="--removed-body-scroll-bar-size";function ns(a,i){return typeof a=="function"?a(i):a&&(a.current=i),a}function px(a,i){var o=R.useState(function(){return{value:a,callback:i,facade:{get current(){return o.value},set current(r){var s=o.value;s!==r&&(o.value=r,o.callback(r,s))}}}})[0];return o.callback=i,o.facade}var vx=typeof window<"u"?R.useLayoutEffect:R.useEffect,wp=new WeakMap;function yx(a,i){var o=px(null,function(r){return a.forEach(function(s){return ns(s,r)})});return vx(function(){var r=wp.get(o);if(r){var s=new Set(r),f=new Set(a),d=o.current;s.forEach(function(h){f.has(h)||ns(h,null)}),f.forEach(function(h){s.has(h)||ns(h,d)})}wp.set(o,a)},[a]),o}function gx(a){return a}function bx(a,i){i===void 0&&(i=gx);var o=[],r=!1,s={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:a},useMedium:function(f){var d=i(f,r);return o.push(d),function(){o=o.filter(function(h){return h!==d})}},assignSyncMedium:function(f){for(r=!0;o.length;){var d=o;o=[],d.forEach(f)}o={push:function(h){return f(h)},filter:function(){return o}}},assignMedium:function(f){r=!0;var d=[];if(o.length){var h=o;o=[],h.forEach(f),d=o}var y=function(){var g=d;d=[],g.forEach(f)},p=function(){return Promise.resolve().then(y)};p(),o={push:function(g){d.push(g),p()},filter:function(g){return d=d.filter(g),o}}}};return s}function Sx(a){a===void 0&&(a={});var i=bx(null);return i.options=Fe({async:!0,ssr:!1},a),i}var Kv=function(a){var i=a.sideCar,o=Zv(a,["sideCar"]);if(!i)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=i.read();if(!r)throw new Error("Sidecar medium not found");return R.createElement(r,Fe({},o))};Kv.isSideCarExport=!0;function Ex(a,i){return a.useMedium(i),Kv}var Jv=Sx(),ls=function(){},wr=R.forwardRef(function(a,i){var o=R.useRef(null),r=R.useState({onScrollCapture:ls,onWheelCapture:ls,onTouchMoveCapture:ls}),s=r[0],f=r[1],d=a.forwardProps,h=a.children,y=a.className,p=a.removeScrollBar,g=a.enabled,S=a.shards,T=a.sideCar,D=a.noRelative,O=a.noIsolation,A=a.inert,M=a.allowPinchZoom,q=a.as,Q=q===void 0?"div":q,X=a.gapMode,Z=Zv(a,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=T,$=yx([o,i]),P=Fe(Fe({},Z),s);return R.createElement(R.Fragment,null,g&&R.createElement(k,{sideCar:Jv,removeScrollBar:p,shards:S,noRelative:D,noIsolation:O,inert:A,setCallbacks:f,allowPinchZoom:!!M,lockRef:o,gapMode:X}),d?R.cloneElement(R.Children.only(h),Fe(Fe({},P),{ref:$})):R.createElement(Q,Fe({},P,{className:y,ref:$}),h))});wr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};wr.classNames={fullWidth:rr,zeroRight:ur};var xx=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ax(){if(!document)return null;var a=document.createElement("style");a.type="text/css";var i=xx();return i&&a.setAttribute("nonce",i),a}function wx(a,i){a.styleSheet?a.styleSheet.cssText=i:a.appendChild(document.createTextNode(i))}function Tx(a){var i=document.head||document.getElementsByTagName("head")[0];i.appendChild(a)}var Ox=function(){var a=0,i=null;return{add:function(o){a==0&&(i=Ax())&&(wx(i,o),Tx(i)),a++},remove:function(){a--,!a&&i&&(i.parentNode&&i.parentNode.removeChild(i),i=null)}}},Rx=function(){var a=Ox();return function(i,o){R.useEffect(function(){return a.add(i),function(){a.remove()}},[i&&o])}},Pv=function(){var a=Rx(),i=function(o){var r=o.styles,s=o.dynamic;return a(r,s),null};return i},Cx={left:0,top:0,right:0,gap:0},as=function(a){return parseInt(a||"",10)||0},Mx=function(a){var i=window.getComputedStyle(document.body),o=i[a==="padding"?"paddingLeft":"marginLeft"],r=i[a==="padding"?"paddingTop":"marginTop"],s=i[a==="padding"?"paddingRight":"marginRight"];return[as(o),as(r),as(s)]},_x=function(a){if(a===void 0&&(a="margin"),typeof window>"u")return Cx;var i=Mx(a),o=document.documentElement.clientWidth,r=window.innerWidth;return{left:i[0],top:i[1],right:i[2],gap:Math.max(0,r-o+i[2]-i[0])}},Dx=Pv(),ma="data-scroll-locked",zx=function(a,i,o,r){var s=a.left,f=a.top,d=a.right,h=a.gap;return o===void 0&&(o="margin"),`
  .`.concat(mx,` {
   overflow: hidden `).concat(r,`;
   padding-right: `).concat(h,"px ").concat(r,`;
  }
  body[`).concat(ma,`] {
    overflow: hidden `).concat(r,`;
    overscroll-behavior: contain;
    `).concat([i&&"position: relative ".concat(r,";"),o==="margin"&&`
    padding-left: `.concat(s,`px;
    padding-top: `).concat(f,`px;
    padding-right: `).concat(d,`px;
    margin-left:0;
    margin-top:0;
    margin-right: `).concat(h,"px ").concat(r,`;
    `),o==="padding"&&"padding-right: ".concat(h,"px ").concat(r,";")].filter(Boolean).join(""),`
  }
  
  .`).concat(ur,` {
    right: `).concat(h,"px ").concat(r,`;
  }
  
  .`).concat(rr,` {
    margin-right: `).concat(h,"px ").concat(r,`;
  }
  
  .`).concat(ur," .").concat(ur,` {
    right: 0 `).concat(r,`;
  }
  
  .`).concat(rr," .").concat(rr,` {
    margin-right: 0 `).concat(r,`;
  }
  
  body[`).concat(ma,`] {
    `).concat(hx,": ").concat(h,`px;
  }
`)},Tp=function(){var a=parseInt(document.body.getAttribute(ma)||"0",10);return isFinite(a)?a:0},Nx=function(){R.useEffect(function(){return document.body.setAttribute(ma,(Tp()+1).toString()),function(){var a=Tp()-1;a<=0?document.body.removeAttribute(ma):document.body.setAttribute(ma,a.toString())}},[])},Ux=function(a){var i=a.noRelative,o=a.noImportant,r=a.gapMode,s=r===void 0?"margin":r;Nx();var f=R.useMemo(function(){return _x(s)},[s]);return R.createElement(Dx,{styles:zx(f,!i,s,o?"":"!important")})},gs=!1;if(typeof window<"u")try{var tr=Object.defineProperty({},"passive",{get:function(){return gs=!0,!0}});window.addEventListener("test",tr,tr),window.removeEventListener("test",tr,tr)}catch{gs=!1}var sa=gs?{passive:!1}:!1,Bx=function(a){return a.tagName==="TEXTAREA"},Fv=function(a,i){if(!(a instanceof Element))return!1;var o=window.getComputedStyle(a);return o[i]!=="hidden"&&!(o.overflowY===o.overflowX&&!Bx(a)&&o[i]==="visible")},Hx=function(a){return Fv(a,"overflowY")},Lx=function(a){return Fv(a,"overflowX")},Op=function(a,i){var o=i.ownerDocument,r=i;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=Wv(a,r);if(s){var f=$v(a,r),d=f[1],h=f[2];if(d>h)return!0}r=r.parentNode}while(r&&r!==o.body);return!1},jx=function(a){var i=a.scrollTop,o=a.scrollHeight,r=a.clientHeight;return[i,o,r]},qx=function(a){var i=a.scrollLeft,o=a.scrollWidth,r=a.clientWidth;return[i,o,r]},Wv=function(a,i){return a==="v"?Hx(i):Lx(i)},$v=function(a,i){return a==="v"?jx(i):qx(i)},kx=function(a,i){return a==="h"&&i==="rtl"?-1:1},Yx=function(a,i,o,r,s){var f=kx(a,window.getComputedStyle(i).direction),d=f*r,h=o.target,y=i.contains(h),p=!1,g=d>0,S=0,T=0;do{if(!h)break;var D=$v(a,h),O=D[0],A=D[1],M=D[2],q=A-M-f*O;(O||q)&&Wv(a,h)&&(S+=q,T+=O);var Q=h.parentNode;h=Q&&Q.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Q.host:Q}while(!y&&h!==document.body||y&&(i.contains(h)||i===h));return(g&&Math.abs(S)<1||!g&&Math.abs(T)<1)&&(p=!0),p},er=function(a){return"changedTouches"in a?[a.changedTouches[0].clientX,a.changedTouches[0].clientY]:[0,0]},Rp=function(a){return[a.deltaX,a.deltaY]},Cp=function(a){return a&&"current"in a?a.current:a},Gx=function(a,i){return a[0]===i[0]&&a[1]===i[1]},Xx=function(a){return`
  .block-interactivity-`.concat(a,` {pointer-events: none;}
  .allow-interactivity-`).concat(a,` {pointer-events: all;}
`)},Vx=0,fa=[];function Qx(a){var i=R.useRef([]),o=R.useRef([0,0]),r=R.useRef(),s=R.useState(Vx++)[0],f=R.useState(Pv)[0],d=R.useRef(a);R.useEffect(function(){d.current=a},[a]),R.useEffect(function(){if(a.inert){document.body.classList.add("block-interactivity-".concat(s));var A=dx([a.lockRef.current],(a.shards||[]).map(Cp),!0).filter(Boolean);return A.forEach(function(M){return M.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),A.forEach(function(M){return M.classList.remove("allow-interactivity-".concat(s))})}}},[a.inert,a.lockRef.current,a.shards]);var h=R.useCallback(function(A,M){if("touches"in A&&A.touches.length===2||A.type==="wheel"&&A.ctrlKey)return!d.current.allowPinchZoom;var q=er(A),Q=o.current,X="deltaX"in A?A.deltaX:Q[0]-q[0],Z="deltaY"in A?A.deltaY:Q[1]-q[1],k,$=A.target,P=Math.abs(X)>Math.abs(Z)?"h":"v";if("touches"in A&&P==="h"&&$.type==="range")return!1;var J=Op(P,$);if(!J)return!0;if(J?k=P:(k=P==="v"?"h":"v",J=Op(P,$)),!J)return!1;if(!r.current&&"changedTouches"in A&&(X||Z)&&(r.current=k),!k)return!0;var ct=r.current||k;return Yx(ct,M,A,ct==="h"?X:Z)},[]),y=R.useCallback(function(A){var M=A;if(!(!fa.length||fa[fa.length-1]!==f)){var q="deltaY"in M?Rp(M):er(M),Q=i.current.filter(function(k){return k.name===M.type&&(k.target===M.target||M.target===k.shadowParent)&&Gx(k.delta,q)})[0];if(Q&&Q.should){M.cancelable&&M.preventDefault();return}if(!Q){var X=(d.current.shards||[]).map(Cp).filter(Boolean).filter(function(k){return k.contains(M.target)}),Z=X.length>0?h(M,X[0]):!d.current.noIsolation;Z&&M.cancelable&&M.preventDefault()}}},[]),p=R.useCallback(function(A,M,q,Q){var X={name:A,delta:M,target:q,should:Q,shadowParent:Zx(q)};i.current.push(X),setTimeout(function(){i.current=i.current.filter(function(Z){return Z!==X})},1)},[]),g=R.useCallback(function(A){o.current=er(A),r.current=void 0},[]),S=R.useCallback(function(A){p(A.type,Rp(A),A.target,h(A,a.lockRef.current))},[]),T=R.useCallback(function(A){p(A.type,er(A),A.target,h(A,a.lockRef.current))},[]);R.useEffect(function(){return fa.push(f),a.setCallbacks({onScrollCapture:S,onWheelCapture:S,onTouchMoveCapture:T}),document.addEventListener("wheel",y,sa),document.addEventListener("touchmove",y,sa),document.addEventListener("touchstart",g,sa),function(){fa=fa.filter(function(A){return A!==f}),document.removeEventListener("wheel",y,sa),document.removeEventListener("touchmove",y,sa),document.removeEventListener("touchstart",g,sa)}},[]);var D=a.removeScrollBar,O=a.inert;return R.createElement(R.Fragment,null,O?R.createElement(f,{styles:Xx(s)}):null,D?R.createElement(Ux,{noRelative:a.noRelative,gapMode:a.gapMode}):null)}function Zx(a){for(var i=null;a!==null;)a instanceof ShadowRoot&&(i=a.host,a=a.host),a=a.parentNode;return i}const Kx=Ex(Jv,Qx);var Iv=R.forwardRef(function(a,i){return R.createElement(wr,Fe({},a,{ref:i,sideCar:Kx}))});Iv.classNames=wr.classNames;var Tr="Popover",[ty,UA]=pv(Tr,[Uv]),zi=Uv(),[Jx,In]=ty(Tr),ey=a=>{const{__scopePopover:i,children:o,open:r,defaultOpen:s,onOpenChange:f,modal:d=!1}=a,h=zi(i),y=R.useRef(null),[p,g]=R.useState(!1),[S,T]=ix({prop:r,defaultProp:s??!1,onChange:f,caller:Tr});return ot.jsx(WE,{...h,children:ot.jsx(Jx,{scope:i,contentId:D1(),triggerRef:y,open:S,onOpenChange:T,onOpenToggle:R.useCallback(()=>T(D=>!D),[T]),hasCustomAnchor:p,onCustomAnchorAdd:R.useCallback(()=>g(!0),[]),onCustomAnchorRemove:R.useCallback(()=>g(!1),[]),modal:d,children:o})})};ey.displayName=Tr;var ny="PopoverAnchor",Px=R.forwardRef((a,i)=>{const{__scopePopover:o,...r}=a,s=In(ny,o),f=zi(o),{onCustomAnchorAdd:d,onCustomAnchorRemove:h}=s;return R.useEffect(()=>(d(),()=>h()),[d,h]),ot.jsx(Xv,{...f,...r,ref:i})});Px.displayName=ny;var ly="PopoverTrigger",ay=R.forwardRef((a,i)=>{const{__scopePopover:o,...r}=a,s=In(ly,o),f=zi(o),d=$n(i,s.triggerRef),h=ot.jsx(tn.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":cy(s.open),...r,ref:d,onClick:Jn(a.onClick,s.onOpenToggle)});return s.hasCustomAnchor?h:ot.jsx(Xv,{asChild:!0,...f,children:h})});ay.displayName=ly;var Ls="PopoverPortal",[Fx,Wx]=ty(Ls,{forceMount:void 0}),iy=a=>{const{__scopePopover:i,forceMount:o,children:r,container:s}=a,f=In(Ls,i);return ot.jsx(Fx,{scope:i,forceMount:o,children:ot.jsx(Hs,{present:o||f.open,children:ot.jsx(Vv,{asChild:!0,container:s,children:r})})})};iy.displayName=Ls;var va="PopoverContent",uy=R.forwardRef((a,i)=>{const o=Wx(va,a.__scopePopover),{forceMount:r=o.forceMount,...s}=a,f=In(va,a.__scopePopover);return ot.jsx(Hs,{present:r||f.open,children:f.modal?ot.jsx(Ix,{...s,ref:i}):ot.jsx(tA,{...s,ref:i})})});uy.displayName=va;var $x=ws("PopoverContent.RemoveScroll"),Ix=R.forwardRef((a,i)=>{const o=In(va,a.__scopePopover),r=R.useRef(null),s=$n(i,r),f=R.useRef(!1);return R.useEffect(()=>{const d=r.current;if(d)return fx(d)},[]),ot.jsx(Iv,{as:$x,allowPinchZoom:!0,children:ot.jsx(ry,{...a,ref:s,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Jn(a.onCloseAutoFocus,d=>{d.preventDefault(),f.current||o.triggerRef.current?.focus()}),onPointerDownOutside:Jn(a.onPointerDownOutside,d=>{const h=d.detail.originalEvent,y=h.button===0&&h.ctrlKey===!0,p=h.button===2||y;f.current=p},{checkForDefaultPrevented:!1}),onFocusOutside:Jn(a.onFocusOutside,d=>d.preventDefault(),{checkForDefaultPrevented:!1})})})}),tA=R.forwardRef((a,i)=>{const o=In(va,a.__scopePopover),r=R.useRef(!1),s=R.useRef(!1);return ot.jsx(ry,{...a,ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:f=>{a.onCloseAutoFocus?.(f),f.defaultPrevented||(r.current||o.triggerRef.current?.focus(),f.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:f=>{a.onInteractOutside?.(f),f.defaultPrevented||(r.current=!0,f.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const d=f.target;o.triggerRef.current?.contains(d)&&f.preventDefault(),f.detail.originalEvent.type==="focusin"&&s.current&&f.preventDefault()}})}),ry=R.forwardRef((a,i)=>{const{__scopePopover:o,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:f,disableOutsidePointerEvents:d,onEscapeKeyDown:h,onPointerDownOutside:y,onFocusOutside:p,onInteractOutside:g,...S}=a,T=In(va,o),D=zi(o);return E1(),ot.jsx(bv,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:f,children:ot.jsx(yv,{asChild:!0,disableOutsidePointerEvents:d,onInteractOutside:g,onEscapeKeyDown:h,onPointerDownOutside:y,onFocusOutside:p,onDismiss:()=>T.onOpenChange(!1),children:ot.jsx($E,{"data-state":cy(T.open),role:"dialog",id:T.contentId,...D,...S,ref:i,style:{...S.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),oy="PopoverClose",eA=R.forwardRef((a,i)=>{const{__scopePopover:o,...r}=a,s=In(oy,o);return ot.jsx(tn.button,{type:"button",...r,ref:i,onClick:Jn(a.onClick,()=>s.onOpenChange(!1))})});eA.displayName=oy;var nA="PopoverArrow",lA=R.forwardRef((a,i)=>{const{__scopePopover:o,...r}=a,s=zi(o);return ot.jsx(IE,{...s,...r,ref:i})});lA.displayName=nA;function cy(a){return a?"open":"closed"}var aA=ey,iA=ay,uA=iy,rA=uy;function BA({...a}){return ot.jsx(aA,{"data-slot":"popover",...a})}function HA({...a}){return ot.jsx(iA,{"data-slot":"popover-trigger",...a})}function LA({className:a,align:i="center",sideOffset:o=4,...r}){const[s,f]=R.useState(null);return R.useEffect(()=>{const d=document.getElementById("my-extension-root");d&&d.shadowRoot?f(d.shadowRoot):f(document.body)},[]),s?ot.jsx(uA,{container:s,children:ot.jsx(rA,{"data-slot":"popover-content",align:i,sideOffset:o,className:Sr("bg-white text-neutral-950 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border border-neutral-200 p-4 shadow-md outline-hidden dark:bg-neutral-950 dark:text-neutral-50 dark:border-neutral-800",a),...r})}):null}function jA({className:a,type:i,...o}){return ot.jsx("input",{type:i,"data-slot":"input",className:Sr("file:text-neutral-950 placeholder:text-neutral-500 selection:bg-neutral-900 selection:text-neutral-50 dark:bg-neutral-200/30 border-neutral-200 flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:file:text-neutral-50 dark:placeholder:text-neutral-400 dark:selection:bg-neutral-50 dark:selection:text-neutral-900 dark:dark:bg-neutral-800/30 dark:border-neutral-800","focus-visible:border-neutral-950 focus-visible:ring-neutral-950/50 focus-visible:ring-[3px] dark:focus-visible:border-neutral-300 dark:focus-visible:ring-neutral-300/50","aria-invalid:ring-red-500/20 dark:aria-invalid:ring-red-500/40 aria-invalid:border-red-500 dark:aria-invalid:ring-red-900/20 dark:dark:aria-invalid:ring-red-900/40 dark:aria-invalid:border-red-900",a),...o})}var oA="Label",sy=R.forwardRef((a,i)=>ot.jsx(tn.label,{...a,ref:i,onMouseDown:o=>{o.target.closest("button, input, select, textarea")||(a.onMouseDown?.(o),!o.defaultPrevented&&o.detail>1&&o.preventDefault())}}));sy.displayName=oA;var cA=sy;function qA({className:a,...i}){return ot.jsx(cA,{"data-slot":"label",className:Sr("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",a),...i})}export{Xv as A,zA as B,$E as C,yv as D,IE as E,bv as F,DA as G,d1 as H,jA as I,nv as J,s1 as K,qA as L,BA as P,fA as R,ES as S,HA as a,LA as b,pv as c,L0 as d,ws as e,D1 as f,tn as g,Jn as h,ix as i,ot as j,ha as k,RS as l,Sr as m,Hs as n,Vv as o,_A as p,fx as q,R as r,Iv as s,E1 as t,$n as u,NA as v,Uv as w,WE as x,Pn as y,Os as z};
