vendor: 8,028 bytes, line 1
1function D1(n,r){for(var l=0;l<r.length;l++){const o=r[l];if(typeof o!="string"&&!Array.isArray(o)){for(const c in o)if(c!=="default"&&!(c in n)){const f=Object.getOwnPropertyDescriptor(o,c);f&&Object.defineProperty(n,c,f.get?f:{enumerable:!0,get:()=>o[c]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))o(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&o(d)}).observe(document,{childList:!0,subtree:!0});function l(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function o(c){if(c.ep)return;c.ep=!0;const f=l(c);fetch(c.href,f)}})();function Sv(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Yu={exports:{}},cl={};var ag;function _1(){if(ag)return cl;ag=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function l(o,c,f){var d=null;if(f!==void 0&&(d=""+f),c.key!==void 0&&(d=""+c.key),"key"in c){f={};for(var h in c)h!=="key"&&(f[h]=c[h])}else f=c;return c=f.ref,{$$typeof:n,type:o,key:d,ref:c!==void 0?c:null,props:f}}return cl.Fragment=r,cl.jsx=l,cl.jsxs=l,cl}var rg;function j1(){return rg||(rg=1,Yu.exports=_1()),Yu.exports}var b=j1(),Vu={exports:{}},ul={},Qu={exports:{}},Gu={};var ig;function z1(){return ig||(ig=1,(function(n){function r(A,Y){var Z=A.length;A.push(Y);e:for(;0<Z;){var re=Z-1>>>1,E=A[re];if(0<c(E,Y))A[re]=Y,A[Z]=E,Z=re;else break e}}function l(A){return A.length===0?null:A[0]}function o(A){if(A.length===0)return null;var Y=A[0],Z=A.pop();if(Z!==Y){A[0]=Z;e:for(var re=0,E=A.length,V=E>>>1;re<V;){var F=2*(re+1)-1,Q=A[F],I=F+1,te=A[I];if(0>c(Q,Z))I<E&&0>c(te,Q)?(A[re]=te,A[I]=Z,re=I):(A[re]=Q,A[F]=Z,re=F);else if(I<E&&0>c(te,Z))A[re]=te,A[I]=Z,re=I;else break e}}return Y}function c(A,Y){var Z=A.sortIndex-Y.sortIndex;return Z!==0?Z:A.id-Y.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var d=Date,h=d.now();n.unstable_now=function(){return d.now()-h}}var v=[],p=[],y=1,m=null,T=3,R=!1,O=!1,S=!1,M=!1,N=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function q(A){for(var Y=l(p);Y!==null;){if(Y.callback===null)o(p);else if(Y.startTime<=A)o(p),Y.sortIndex=Y.expirationTime,r(v,Y);else break;Y=l(p)}}function P(A){if(S=!1,q(A),!O)if(l(v)!==null)O=!0,W||(W=!0,ue());else{var Y=l(p);Y!==null&&de(P,Y.startTime-A)}}var W=!1,$=-1,B=5,ie=-1;function he(){return M?!0:!(n.unstable_now()-ie<B)}function ae(){if(M=!1,W){var A=n.unstable_now();ie=A;var Y=!0;try{e:{O=!1,S&&(S=!1,z($),$=-1),R=!0;var Z=T;try{t:{for(q(A),m=l(v);m!==null&&!(m.expirationTime>A&&he());){var re=m.callback;if(typeof re=="function"){m.callback=null,T=m.priorityLevel;var E=re(m.expirationTime<=A);if(A=n.unstable_now(),typeof E=="function"){m.callback=E,q(A),Y=!0;break t}m===l(v)&&o(v),q(A)}else o(v);m=l(v)}if(m!==null)Y=!0;else{var V=l(p);V!==null&&de(P,V.startTime-A),Y=!1}}break e}finally{m=null,T=Z,R=!1}Y=void 0}}finally{Y?ue():W=!1}}}var ue;if(typeof _=="function")ue=function(){_(ae)};else if(typeof MessageChannel<"u"){var fe=new MessageChannel,be=fe.port2;fe.port1.onmessage=ae,ue=function(){be.postMessage(null)}}else ue=function(){N(ae,0)};function de(A,Y){$=N(function(){A(n.unstable_now())},Y)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(A){A.callback=null},n.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<A?Math.floor(1e3/A):5},n.unstable_getCurrentPriorityLevel=function(){return T},n.unstable_next=function(A){switch(T){case 1:case 2:case 3:var Y=3;break;default:Y=T}var Z=T;T=Y;try{return A()}finally{T=Z}},n.unstable_requestPaint=function(){M=!0},n.unstable_runWithPriority=function(A,Y){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var Z=T;T=A;try{return Y()}finally{T=Z}},n.unstable_scheduleCallback=function(A,Y,Z){var re=n.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?re+Z:re):Z=re,A){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=Z+E,A={id:y++,callback:Y,priorityLevel:A,startTime:Z,expirationTime:E,sortIndex:-1},Z>re?(A.sortIndex=Z,r(p,A),l(v)===null&&A===l(p)&&(S?(z($),$=-1):S=!0,de(P,Z-re))):(A.sortIndex=E,r(v,A),O||R||(O=!0,W||(W=!0,ue()))),A},n.unstable_shouldYield=he,n.unstable_wrapCallback=function(A){var Y=T;return function(){var Z=T;T=Y;try{return A.apply(this,arguments)}finally{T=Z}}}})(Gu)),Gu}var lg;function k1(){return lg||(lg=1,Qu.exports=z1()),Qu.exports}var Xu={exports:{}},we={};var og;function U1(){if(og)return we;og=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),m=Symbol.iterator;function T(E){return E===null||typeof E!="object"?null:(E=m&&E[m]||E["@@iterator"],typeof E=="function"?E:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,S={};function M(E,V,F){this.props=E,this.context=V,this.refs=S,this.updater=F||R}M.prototype.isReactComponent={},M.prototype.setState=function(E,V){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,V,"setState")},M.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function N(){}N.prototype=M.prototype;function z(E,V,F){this.props=E,this.context=V,this.refs=S,this.updater=F||R}var _=z.prototype=new N;_.constructor=z,O(_,M.prototype),_.isPureReactComponent=!0;var q=Array.isArray,P={H:null,A:null,T:null,S:null,V:null},W=Object.prototype.hasOwnProperty;function $(E,V,F,Q,I,te){return F=te.ref,{$$typeof:n,type:E,key:V,ref:F!==void 0?F:null,props:te}}function B(E,V){return $(E.type,V,void 0,void 0,void 0,E.props)}function ie(E){return typeof E=="object"&&E!==null&&E.$$typeof===n}function he(E){var V={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(F){return V[F]})}var ae=/\/+/g;function ue(E,V){return typeof E=="object"&&E!==null&&E.key!=null?he(""+E.key):V.toString(36)}function fe(){}function be(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(fe,fe):(E.status="pending",E.then(function(V){E.status==="pending"&&(E.status="fulfilled",E.value=V)},function(V){E.status==="pending"&&(E.status="rejected",E.reason=V)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function de(E,V,F,Q,I){var te=typeof E;(te==="undefined"||te==="boolean")&&(E=null);var ee=!1;if(E===null)ee=!0;else switch(te){case"bigint":case"string":case"number":ee=!0;break;case"object":switch(E.$$typeof){case n:case r:ee=!0;break;case y:return ee=E._init,de(ee(E._payload),V,F,Q,I)}}if(ee)return I=I(E),ee=Q===""?"."+ue(E,0):Q,q(I)?(F="",ee!=null&&(F=ee.replace(ae,"$&/")+"/"),de(I,V,F,"",function(pe){return pe}
vendor: 17,648 bytes, line 1
1)):I!=null&&(ie(I)&&(I=B(I,F+(I.key==null||E&&E.key===I.key?"":(""+I.key).replace(ae,"$&/")+"/")+ee)),V.push(I)),1;ee=0;var le=Q===""?".":Q+":";if(q(E))for(var ne=0;ne<E.length;ne++)Q=E[ne],te=le+ue(Q,ne),ee+=de(Q,V,F,te,I);else if(ne=T(E),typeof ne=="function")for(E=ne.call(E),ne=0;!(Q=E.next()).done;)Q=Q.value,te=le+ue(Q,ne++),ee+=de(Q,V,F,te,I);else if(te==="object"){if(typeof E.then=="function")return de(be(E),V,F,Q,I);throw V=String(E),Error("Objects are not valid as a React child (found: "+(V==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":V)+"). If you meant to render a collection of children, use an array instead.")}return ee}function A(E,V,F){if(E==null)return E;var Q=[],I=0;return de(E,Q,"","",function(te){return V.call(F,te,I++)}),Q}function Y(E){if(E._status===-1){var V=E._result;V=V(),V.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=V)}if(E._status===1)return E._result.default;throw E._result}var Z=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var V=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(V))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)};function re(){}return we.Children={map:A,forEach:function(E,V,F){A(E,function(){V.apply(this,arguments)},F)},count:function(E){var V=0;return A(E,function(){V++}),V},toArray:function(E){return A(E,function(V){return V})||[]},only:function(E){if(!ie(E))throw Error("React.Children.only expected to receive a single React element child.");return E}},we.Component=M,we.Fragment=l,we.Profiler=c,we.PureComponent=z,we.StrictMode=o,we.Suspense=v,we.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,we.__COMPILER_RUNTIME={__proto__:null,c:function(E){return P.H.useMemoCache(E)}},we.cache=function(E){return function(){return E.apply(null,arguments)}},we.cloneElement=function(E,V,F){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var Q=O({},E.props),I=E.key,te=void 0;if(V!=null)for(ee in V.ref!==void 0&&(te=void 0),V.key!==void 0&&(I=""+V.key),V)!W.call(V,ee)||ee==="key"||ee==="__self"||ee==="__source"||ee==="ref"&&V.ref===void 0||(Q[ee]=V[ee]);var ee=arguments.length-2;if(ee===1)Q.children=F;else if(1<ee){for(var le=Array(ee),ne=0;ne<ee;ne++)le[ne]=arguments[ne+2];Q.children=le}return $(E.type,I,void 0,void 0,te,Q)},we.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},we.createElement=function(E,V,F){var Q,I={},te=null;if(V!=null)for(Q in V.key!==void 0&&(te=""+V.key),V)W.call(V,Q)&&Q!=="key"&&Q!=="__self"&&Q!=="__source"&&(I[Q]=V[Q]);var ee=arguments.length-2;if(ee===1)I.children=F;else if(1<ee){for(var le=Array(ee),ne=0;ne<ee;ne++)le[ne]=arguments[ne+2];I.children=le}if(E&&E.defaultProps)for(Q in ee=E.defaultProps,ee)I[Q]===void 0&&(I[Q]=ee[Q]);return $(E,te,void 0,void 0,null,I)},we.createRef=function(){return{current:null}},we.forwardRef=function(E){return{$$typeof:h,render:E}},we.isValidElement=ie,we.lazy=function(E){return{$$typeof:y,_payload:{_status:-1,_result:E},_init:Y}},we.memo=function(E,V){return{$$typeof:p,type:E,compare:V===void 0?null:V}},we.startTransition=function(E){var V=P.T,F={};P.T=F;try{var Q=E(),I=P.S;I!==null&&I(F,Q),typeof Q=="object"&&Q!==null&&typeof Q.then=="function"&&Q.then(re,Z)}catch(te){Z(te)}finally{P.T=V}},we.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},we.use=function(E){return P.H.use(E)},we.useActionState=function(E,V,F){return P.H.useActionState(E,V,F)},we.useCallback=function(E,V){return P.H.useCallback(E,V)},we.useContext=function(E){return P.H.useContext(E)},we.useDebugValue=function(){},we.useDeferredValue=function(E,V){return P.H.useDeferredValue(E,V)},we.useEffect=function(E,V,F){var Q=P.H;if(typeof F=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return Q.useEffect(E,V)},we.useId=function(){return P.H.useId()},we.useImperativeHandle=function(E,V,F){return P.H.useImperativeHandle(E,V,F)},we.useInsertionEffect=function(E,V){return P.H.useInsertionEffect(E,V)},we.useLayoutEffect=function(E,V){return P.H.useLayoutEffect(E,V)},we.useMemo=function(E,V){return P.H.useMemo(E,V)},we.useOptimistic=function(E,V){return P.H.useOptimistic(E,V)},we.useReducer=function(E,V,F){return P.H.useReducer(E,V,F)},we.useRef=function(E){return P.H.useRef(E)},we.useState=function(E){return P.H.useState(E)},we.useSyncExternalStore=function(E,V,F){return P.H.useSyncExternalStore(E,V,F)},we.useTransition=function(){return P.H.useTransition()},we.version="19.1.0",we}var sg;function bs(){return sg||(sg=1,Xu.exports=U1()),Xu.exports}var Ku={exports:{}},Tt={};var cg;function H1(){if(cg)return Tt;cg=1;var n=bs();function r(v){var p="https://react.dev/errors/"+v;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)p+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+v+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var o={d:{f:l,r:function(){throw Error(r(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(v,p,y){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:m==null?null:""+m,children:v,containerInfo:p,implementation:y}}var d=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(v,p){if(v==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Tt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,Tt.createPortal=function(v,p){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(r(299));return f(v,p,null,y)},Tt.flushSync=function(v){var p=d.T,y=o.p;try{if(d.T=null,o.p=2,v)return v()}finally{d.T=p,o.p=y,o.d.f()}},Tt.preconnect=function(v,p){typeof v=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,o.d.C(v,p))},Tt.prefetchDNS=function(v){typeof v=="string"&&o.d.D(v)},Tt.preinit=function(v,p){if(typeof v=="string"&&p&&typeof p.as=="string"){var y=p.as,m=h(y,p.crossOrigin),T=typeof p.integrity=="string"?p.integrity:void 0,R=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;y==="style"?o.d.S(v,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:m,integrity:T,fetchPriority:R}):y==="script"&&o.d.X(v,{crossOrigin:m,integrity:T,fetchPriority:R,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Tt.preinitModule=function(v,p){if(typeof v=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var y=h(p.as,p.crossOrigin);o.d.M(v,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&o.d.M(v)},Tt.preload=function(v,p){if(typeof v=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var y=p.as,m=h(y,p.crossOrigin);o.d.L(v,y,{crossOrigin:m,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})}},Tt.preloadModule=function(v,p){if(typeof v=="string")if(p){var y=h(p.as,p.crossOrigin);o.d.m(v,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else o.d.m(v)},Tt.requestFormReset=function(v){o.d.r(v)},Tt.unstable_batchedUpdates=function(v,p){return v(p)},Tt.useFormState=function(v,p,y){return d.H.useFormState(v,p,y)},Tt.useFormStatus=function(){return d.H.useHostTransitionStatus()},Tt.version="19.1.0",Tt}var ug;function Ev(){if(ug)return Ku.exports;ug=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Ku.exports=H1(),Ku.exports}var fg;function L1(){if(fg)return ul;fg=1;var n=k1(),r=bs(),l=Ev();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function d(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function h(e){if(f(e)!==e)throw Error(o(188))}function v(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(o(188));return t!==e?null:e}for(var a=e,i=t;;){var s=a.return;if(s===null)break;var u=s.alternate;if(u===null){if(i=s.return,i!==null){a=i;continue}break}if(s.child===u.child){for(u=s.child;u;){if(u===a)return h(s),e;if(u===i)return h(s),t;u=u.sibling}throw Error(o(188))}if(a.return!==i.return)a=s,i=u;else{for(var g=!1,w=s.child;w;){if(w===a){g=!0,a=s,i=u;break}if(w===i){g=!0,i=s,a=u;break}w=w.sibling}if(!g){for(w=u.child;w;){if(w===a){g=!0,a=u,i=s;break}if(w===i){g=!0,i=u,a=s;break}w=w.sibling}if(!g)throw Error(o(189))}}if(a.alternate!==i)throw Error(o(190))}if(a.tag!==3)throw Error(o(188));return a.stateNode.current===a?e:t}function p(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=p(e),t!==null)return t;e=e.sibling}return null}var y=Object.assign,m=Symbol.for("react.element"),T=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),N=Symbol.for("react.provider"),z=Symbol.for("react.consumer"),_=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),W=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),ie=Symbol.for("react.activity"),he=Symbol.for("react.memo_cache_sentinel"),ae=Symbol.iterator;function ue(e){return e===null||typeof e!="object"?null:(e=ae&&e[ae]||e["@@iterator"],typeof e=="function"?e:null)}var fe=Symbol.for("react.client.reference");function be(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===fe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case O:return"Fragment";case M:return"Profiler";case S:return"StrictMode";case P:return"Suspense";case W:return"SuspenseList";case ie:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case R:return"Portal";case _:return(e.displayName||"Context")+".Provider";case z:return(e._context.displayName||"Context")+".Consumer";case q:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case $:return t=e.displayName||null,t!==null?t:be(e.type)||"Memo";case B:t=e._payload,e=e._init;try{return be(e(t))}catch{}}return null}var de=Array.isArray,A=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z={pending:!1,data:null,method:null,action:null},re=[],E=-1;function V(e){return{current:e}}function F(e){0>E||(e.current=re[E],re[E]=null,E--)}function Q(e,t){E++,re[E]=e.current,e.current=t}var I=V(null),te=V(null),ee=V(null),le=V(null);function ne(e,t){switch(Q(ee,t),Q(te,e),Q(I,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Dp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Dp(t),e=_p(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}F(I),Q(I,e)}function pe(){F(I),F(te),F(ee)}function Re(e){e.memoizedState!==null&&Q(le,e);var t=I.current,a=_p(t,e.type);t!==a&&(Q(te,e),Q(I,a))}function Se(e){te.current===e&&(F(I),F(te)),le.current===e&&(F(le),rl._currentValue=Z)}var Ne=Object.prototype.hasOwnProperty,lt=n.unstable_scheduleCallback,Ge=n.unstable_cancelCallback,ja=n.unstable_shouldYield,Wn=n.unstable_requestPaint,nt=n.unstable_now,Cl=n.unstable_getCurrentPriorityLevel,Gt=n.unstable_ImmediatePriority,Ml=n.unstable_UserBlockingPriority,ur=n.unstable_NormalPriority,Ot=n.unstable_LowPriority,On=n.unstable_IdlePriority,js=n.log,zs=n.unstable_setDisableYieldValue,un=null,Rt=null;function tn(e){if(typeof js=="function"&&zs(e),Rt&&typeof Rt.setStrictMode=="function")try{Rt.setStrictMode(un,e)}catch{}}var gt=Math.clz32?Math.clz32:$n,Fn=Math.log,Nl=Math.LN2;function $n(e){return e>>>=0,e===0?32:31-(Fn(e)/Nl|0)|0}var fr=256,dr=4194304;function fn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function za(e,t,a){var i=e.pendingLanes;if(i===0)return 0;var s=0,u=e.suspendedLanes,g=e.pingedLanes;e=e.warmLanes;var w=i&134217727;return w!==0?(i=w&~u,i!==0?s=fn(i):(g&=w,g!==0?s=fn(g):a||(a=w&~e,a!==0&&(s=fn(a))))):(w=i&~u,w!==0?s=fn(w):g!==0?s=fn(g):a||(a=i&~e,a!==0&&(s=fn(a)))),s===0?0:t!==0&&t!==s&&(t&u)===0&&(u=s&-s,a=t&-t,u>=a||u===32&&(a&4194048)!==0)?t:s}function ka(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function hi(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function nn(){var e=fr;return fr<<=1,(fr&4194048)===0&&(fr=256),e}function Al(){var e=dr;return dr<<=1,(dr&62914560)===0&&(dr=4194304),e}function mi(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function In(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Dl(e,t,a,i,s,u){var g=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var w=e.entanglements,C=e.expirationTimes,U=e.hiddenUpdates;for(a=g&~a;0<a;){var G=31-gt(a),K=1<<G;w[G]=0,C[G]=-1;var H=U[G];if(H!==null)for(U[G]=null,G=0;G<H.length;G++){var L=H[G];L!==null&&(L.lane&=-536870913)}a&=~K}i!==0&&xe(e,i,0),u!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=u&~(g&~t))}function xe(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-gt(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|a&4194090}function $e(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var i=31-gt(a),s=1<<i;s&t|e[i]&t&&(e[i]|=t),a&=~s}}function at(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function vt(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Ua(){var e=Y.p;return e!==0?e:(e=window.event,e===void 0?32:$p(e.type))}function ot(e,t){var a=Y.p;try{return Y.p=e,t()}finally{Y.p=a}}var Ie=Math.random().toString(36).slice(2),Je="__reactFiber$"+Ie,Ve="__reactProps$"+Ie,ft="__reactContainer$"+Ie,hr="__reactEvents$"+Ie,Rn="__reactListeners$"+Ie,yd="__reactHandles$"+Ie,bd="__reactResources$"+Ie,pi="__reactMarker$"+Ie;function ks(e){delete e[Je],delete e[Ve],delete e[hr],delete e[Rn],delete e[yd]}function mr(e){var t=e[Je];if(t)return t;for(var a=e.parentNode;a;){if(t=a[ft]||a[Je]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Up(e);e!==null;){if(a=e[Je])return a;e=Up(e)}return t}e=a,a=e.parentNode}return null}function pr(e){if(e=e[Je]||e[ft]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function gi(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function gr(e){var t=e[bd];return t||(t=e[bd]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function dt(e){e[pi]=!0}var xd=new Set,wd={};function Ha(e,t){vr(e,t),vr(e+"Capture",t)}function vr(e,t){for(wd[e]=t,e=0;e<t.length;e++)xd.add(t[e])}var E0=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
1037D\\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]*$"),Sd={},Ed={};function T0(e){return Ne.call(Ed,e)?!0:Ne.call(Sd,e)?!1:E0.test(e)?Ed[e]=!0:(Sd[e]=!0,!1)}function _l(e,t,a){if(T0(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function jl(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function Cn(e,t,a,i){if(i===null)e.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+i)}}var Us,Td;function yr(e){if(Us===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Us=t&&t[1]||"",Td=-1<a.stack.indexOf(` 2 at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return` 3`+Us+e+Td}var Hs=!1;function Ls(e,t){if(!e||Hs)return"";Hs=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(t){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(L){var H=L}Reflect.construct(e,[],K)}else{try{K.call()}catch(L){H=L}e.call(K.prototype)}}else{try{throw Error()}catch(L){H=L}(K=e())&&typeof K.catch=="function"&&K.catch(function(){})}}catch(L){if(L&&H&&typeof L.stack=="string")return[L.stack,H.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=i.DetermineComponentFrameRoot(),g=u[0],w=u[1];if(g&&w){var C=g.split(` 4`),U=w.split(` 5`);for(s=i=0;i<C.length&&!C[i].includes("DetermineComponentFrameRoot");)i++;for(;s<U.length&&!U[s].includes("DetermineComponentFrameRoot");)s++;if(i===C.length||s===U.length)for(i=C.length-1,s=U.length-1;1<=i&&0<=s&&C[i]!==U[s];)s--;for(;1<=i&&0<=s;i--,s--)if(C[i]!==U[s]){if(i!==1||s!==1)do if(i--,s--,0>s||C[i]!==U[s]){var G=` 6`+C[i].replace(" at new "," at ");return e.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",e.displayName)),G}while(1<=i&&0<=s);break}}}finally{Hs=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?yr(a):""}function O0(e){switch(e.tag){case 26:case 27:case 5:return yr(e.type);case 16:return yr("Lazy");case 13:return yr("Suspense");case 19:return yr("SuspenseList");case 0:case 15:return Ls(e.type,!1);case 11:return Ls(e.type.render,!1);case 1:return Ls(e.type,!0);case 31:return yr("Activity");default:return""}}function Od(e){try{var t="";do t+=O0(e),e=e.return;while(e);return t}catch(a){return` 7Error generating stack: `+a.message+` 8`+a.stack}}function Xt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Rd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function R0(e){var t=Rd(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var s=a.get,u=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(g){i=""+g,u.call(this,g)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return i},setValue:function(g){i=""+g},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function zl(e){e._valueTracker||(e._valueTracker=R0(e))}function Cd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),i="";return e&&(i=Rd(e)?e.checked?"true":"false":e.value),e=i,e!==a?(t.setValue(e),!0):!1}function kl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var C0=/[\n"\\]/g;function Kt(e){return e.replace(C0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Bs(e,t,a,i,s,u,g,w){e.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.type=g:e.removeAttribute("type"),t!=null?g==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Xt(t)):e.value!==""+Xt(t)&&(e.value=""+Xt(t)):g!=="submit"&&g!=="reset"||e.removeAttribute("value"),t!=null?qs(e,g,Xt(t)):a!=null?qs(e,g,Xt(a)):i!=null&&e.removeAttribute("value"),s==null&&u!=null&&(e.defaultChecked=!!u),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?e.name=""+Xt(w):e.removeAttribute("name")}function Md(e,t,a,i,s,u,g,w){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||a!=null){if(!(u!=="submit"&&u!=="reset"||t!=null))return;a=a!=null?""+Xt(a):"",t=t!=null?""+Xt(t):a,w||t===e.value||(e.value=t),e.defaultValue=t}i=i??s,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=w?e.checked:!!i,e.defaultChecked=!!i,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(e.name=g)}function qs(e,t,a){t==="number"&&kl(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}
vendor: 4,961 bytes, line 8
8function br(e,t,a,i){if(e=e.options,t){t={};for(var s=0;s<a.length;s++)t["$"+a[s]]=!0;for(a=0;a<e.length;a++)s=t.hasOwnProperty("$"+e[a].value),e[a].selected!==s&&(e[a].selected=s),s&&i&&(e[a].defaultSelected=!0)}else{for(a=""+Xt(a),t=null,s=0;s<e.length;s++){if(e[s].value===a){e[s].selected=!0,i&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Nd(e,t,a){if(t!=null&&(t=""+Xt(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+Xt(a):""}function Ad(e,t,a,i){if(t==null){if(i!=null){if(a!=null)throw Error(o(92));if(de(i)){if(1<i.length)throw Error(o(93));i=i[0]}a=i}a==null&&(a=""),t=a}a=Xt(t),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i)}function xr(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var M0=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 Dd(e,t,a){var i=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,a):typeof a!="number"||a===0||M0.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function _d(e,t,a){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,a!=null){for(var i in a)!a.hasOwnProperty(i)||t!=null&&t.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="");for(var s in t)i=t[s],t.hasOwnProperty(s)&&a[s]!==i&&Dd(e,s,i)}else for(var u in t)t.hasOwnProperty(u)&&Dd(e,u,t[u])}function Ps(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var N0=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
8-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"]]),A0=/^[\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 Ul(e){return A0.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Ys=null;function Vs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var wr=null,Sr=null;function jd(e){var t=pr(e);if(t&&(e=t.stateNode)){var a=e[Ve]||null;e:switch(e=t.stateNode,t.type){case"input":if(Bs(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Kt(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var i=a[t];if(i!==e&&i.form===e.form){var s=i[Ve]||null;if(!s)throw Error(o(90));Bs(i,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<a.length;t++)i=a[t],i.form===e.form&&Cd(i)}break e;case"textarea":Nd(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&br(e,!!a.multiple,t,!1)}}}var Qs=!1;function zd(e,t,a){if(Qs)return e(t,a);Qs=!0;try{var i=e(t);return i}finally{if(Qs=!1,(wr!==null||Sr!==null)&&(So(),wr&&(t=wr,e=Sr,Sr=wr=null,jd(t),e)))for(t=0;t<e.length;t++)jd(e[t])}}function vi(e,t){var a=e.stateNode;if(a===null)return null;var i=a[Ve]||null;if(i===null)return null;a=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(o(231,t,typeof a));return a}var Mn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Gs=!1;if(Mn)try{var yi={};Object.defineProperty(yi,"passive",{get:function(){Gs=!0}}),window.addEventListener("test",yi,yi),window.removeEventListener("test",yi,yi)}catch{Gs=!1}var Jn=null,Xs=null,Hl=null;function kd(){if(Hl)return Hl;var e,t=Xs,a=t.length,i,s="value"in Jn?Jn.value:Jn.textContent,u=s.length;for(e=0;e<a&&t[e]===s[e];e++);var g=a-e;for(i=1;i<=g&&t[a-i]===s[u-i];i++);return Hl=s.slice(e,1<i?1-i:void 0)}function Ll(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Bl(){return!0}function Ud(){return!1}function Nt(e){function t(a,i,s,u,g){this._reactName=a,this._targetInst=s,this.type=i,this.nativeEvent=u,this.target=g,this.currentTarget=null;for(var w in e)e.hasOwnProperty(w)&&(a=e[w],this[w]=a?a(u):u[w]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Bl:Ud,this.isPropagationStopped=Ud,this}return y(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Bl)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Bl)},persist:function(){},isPersistent:Bl}),t}var La={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ql=Nt(La),bi=y({},La,{view:0,detail:0}),D0=Nt(bi),Ks,Zs,xi,Pl=y({},bi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fs,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==xi&&(xi&&e.type==="mousemove"?(Ks=e.screenX-xi.screenX,Zs=e.screenY-xi.screenY):Zs=Ks=0,xi=e),Ks)},movementY:function(e){return"movementY"in e?e.movementY:Zs}}),Hd=Nt(Pl),_0=y({},Pl,{dataTransfer:0}),j0=Nt(_0),z0=y({},bi,{relatedTarget:0}),Ws=Nt(z0),k0=y({},La,{animationName:0,elapsedTime:0,pseudoElement:0}),U0=Nt(k0),H0=y({}
vendor: 4,590 bytes, line 8
8,La,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),L0=Nt(H0),B0=y({},La,{data:0}),Ld=Nt(B0),q0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},P0={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"},Y0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function V0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Y0[e])?!!t[e]:!1}function Fs(){return V0}var Q0=y({},bi,{key:function(e){if(e.key){var t=q0[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ll(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?P0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fs,charCode:function(e){return e.type==="keypress"?Ll(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ll(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),G0=Nt(Q0),X0=y({},Pl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Bd=Nt(X0),K0=y({},bi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fs}),Z0=Nt(K0),W0=y({},La,{propertyName:0,elapsedTime:0,pseudoElement:0}),F0=Nt(W0),$0=y({},Pl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),I0=Nt($0),J0=y({},La,{newState:0,oldState:0}),ex=Nt(J0),tx=[9,13,27,32],$s=Mn&&"CompositionEvent"in window,wi=null;Mn&&"documentMode"in document&&(wi=document.documentMode);var nx=Mn&&"TextEvent"in window&&!wi,qd=Mn&&(!$s||wi&&8<wi&&11>=wi),Pd=" ",Yd=!1;function Vd(e,t){switch(e){case"keyup":return tx.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Er=!1;function ax(e,t){switch(e){case"compositionend":return Qd(t);case"keypress":return t.which!==32?null:(Yd=!0,Pd);case"textInput":return e=t.data,e===Pd&&Yd?null:e;default:return null}}function rx(e,t){if(Er)return e==="compositionend"||!$s&&Vd(e,t)?(e=kd(),Hl=Xs=Jn=null,Er=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return qd&&t.locale!=="ko"?null:t.data;default:return null}}var ix={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 Gd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ix[e.type]:t==="textarea"}function Xd(e,t,a,i){wr?Sr?Sr.push(i):Sr=[i]:wr=i,t=Mo(t,"onChange"),0<t.length&&(a=new ql("onChange","change",null,a,i),e.push({event:a,listeners:t}))}var Si=null,Ei=null;function lx(e){Rp(e,0)}function Yl(e){var t=gi(e);if(Cd(t))return e}function Kd(e,t){if(e==="change")return t}var Zd=!1;if(Mn){var Is;if(Mn){var Js="oninput"in document;if(!Js){var Wd=document.createElement("div");Wd.setAttribute("oninput","return;"),Js=typeof Wd.oninput=="function"}Is=Js}else Is=!1;Zd=Is&&(!document.documentMode||9<document.documentMode)}function Fd(){Si&&(Si.detachEvent("onpropertychange",$d),Ei=Si=null)}function $d(e){if(e.propertyName==="value"&&Yl(Ei)){var t=[];Xd(t,Ei,e,Vs(e)),zd(lx,t)}}function ox(e,t,a){e==="focusin"?(Fd(),Si=t,Ei=a,Si.attachEvent("onpropertychange",$d)):e==="focusout"&&Fd()}function sx(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Yl(Ei)}function cx(e,t){if(e==="click")return Yl(t)}function ux(e,t){if(e==="input"||e==="change")return Yl(t)}function fx(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ut=typeof Object.is=="function"?Object.is:fx;function Ti(e,t){if(Ut(e,t))return!0;
vendor: 32,456 bytes, line 8
8if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(i=0;i<a.length;i++){var s=a[i];if(!Ne.call(t,s)||!Ut(e[s],t[s]))return!1}return!0}function Id(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Jd(e,t){var a=Id(e);e=0;for(var i;a;){if(a.nodeType===3){if(i=e+a.textContent.length,e<=t&&i>=t)return{node:a,offset:t-e};e=i}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Id(a)}}function eh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?eh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function th(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=kl(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=kl(e.document)}return t}function ec(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var dx=Mn&&"documentMode"in document&&11>=document.documentMode,Tr=null,tc=null,Oi=null,nc=!1;function nh(e,t,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;nc||Tr==null||Tr!==kl(i)||(i=Tr,"selectionStart"in i&&ec(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Oi&&Ti(Oi,i)||(Oi=i,i=Mo(tc,"onSelect"),0<i.length&&(t=new ql("onSelect","select",null,t,a),e.push({event:t,listeners:i}),t.target=Tr)))}function Ba(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Or={animationend:Ba("Animation","AnimationEnd"),animationiteration:Ba("Animation","AnimationIteration"),animationstart:Ba("Animation","AnimationStart"),transitionrun:Ba("Transition","TransitionRun"),transitionstart:Ba("Transition","TransitionStart"),transitioncancel:Ba("Transition","TransitionCancel"),transitionend:Ba("Transition","TransitionEnd")},ac={},ah={};Mn&&(ah=document.createElement("div").style,"AnimationEvent"in window||(delete Or.animationend.animation,delete Or.animationiteration.animation,delete Or.animationstart.animation),"TransitionEvent"in window||delete Or.transitionend.transition);function qa(e){if(ac[e])return ac[e];if(!Or[e])return e;var t=Or[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in ah)return ac[e]=t[a];return e}var rh=qa("animationend"),ih=qa("animationiteration"),lh=qa("animationstart"),hx=qa("transitionrun"),mx=qa("transitionstart"),px=qa("transitioncancel"),oh=qa("transitionend"),sh=new Map,rc="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(" ");rc.push("scrollEnd");function an(e,t){sh.set(e,t),Ha(t,[e])}var ch=new WeakMap;function Zt(e,t){if(typeof e=="object"&&e!==null){var a=ch.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Od(t)},ch.set(e,t),t)}return{value:e,source:t,stack:Od(t)}}var Wt=[],Rr=0,ic=0;function Vl(){for(var e=Rr,t=ic=Rr=0;t<e;){var a=Wt[t];Wt[t++]=null;var i=Wt[t];Wt[t++]=null;var s=Wt[t];Wt[t++]=null;var u=Wt[t];if(Wt[t++]=null,i!==null&&s!==null){var g=i.pending;g===null?s.next=s:(s.next=g.next,g.next=s),i.pending=s}u!==0&&uh(a,s,u)}}function Ql(e,t,a,i){Wt[Rr++]=e,Wt[Rr++]=t,Wt[Rr++]=a,Wt[Rr++]=i,ic|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function lc(e,t,a,i){return Ql(e,t,a,i),Gl(e)}function Cr(e,t){return Ql(e,null,null,t),Gl(e)}function uh(e,t,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var s=!1,u=e.return;u!==null;)u.childLanes|=a,i=u.alternate,i!==null&&(i.childLanes|=a),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(s=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,s&&t!==null&&(s=31-gt(a),e=u.hiddenUpdates,i=e[s],i===null?e[s]=[t]:i.push(t),t.lane=a|536870912),u):null}function Gl(e){if(50<Fi)throw Fi=0,du=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Mr={};function gx(e,t,a,i){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ht(e,t,a,i){return new gx(e,t,a,i)}function oc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Nn(e,t){var a=e.alternate;return a===null?(a=Ht(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function fh(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Xl(e,t,a,i,s,u){var g=0;if(i=e,typeof e=="function")oc(e)&&(g=1);else if(typeof e=="string")g=y1(e,a,I.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ie:return e=Ht(31,a,t,s),e.elementType=ie,e.lanes=u,e;case O:return Pa(a.children,s,u,t);case S:g=8,s|=24;break;case M:return e=Ht(12,a,t,s|2),e.elementType=M,e.lanes=u,e;case P:return e=Ht(13,a,t,s),e.elementType=P,e.lanes=u,e;case W:return e=Ht(19,a,t,s),e.elementType=W,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case N:case _:g=10;break e;case z:g=9;break e;case q:g=11;break e;case $:g=14;break e;case B:g=16,i=null;break e}g=29,a=Error(o(130,e===null?"null":typeof e,"")),i=null}return t=Ht(g,a,t,s),t.elementType=e,t.type=i,t.lanes=u,t}function Pa(e,t,a,i){return e=Ht(7,e,i,t),e.lanes=a,e}function sc(e,t,a){return e=Ht(6,e,null,t),e.lanes=a,e}function cc(e,t,a){return t=Ht(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Nr=[],Ar=0,Kl=null,Zl=0,Ft=[],$t=0,Ya=null,An=1,Dn="";function Va(e,t){Nr[Ar++]=Zl,Nr[Ar++]=Kl,Kl=e,Zl=t}function dh(e,t,a){Ft[$t++]=An,Ft[$t++]=Dn,Ft[$t++]=Ya,Ya=e;var i=An;e=Dn;var s=32-gt(i)-1;i&=~(1<<s),a+=1;var u=32-gt(t)+s;if(30<u){var g=s-s%5;u=(i&(1<<g)-1).toString(32),i>>=g,s-=g,An=1<<32-gt(t)+s|a<<s|i,Dn=u+e}else An=1<<u|a<<s|i,Dn=e}function uc(e){e.return!==null&&(Va(e,1),dh(e,1,0))}function fc(e){for(;e===Kl;)Kl=Nr[--Ar],Nr[Ar]=null,Zl=Nr[--Ar],Nr[Ar]=null;for(;e===Ya;)Ya=Ft[--$t],Ft[$t]=null,Dn=Ft[--$t],Ft[$t]=null,An=Ft[--$t],Ft[$t]=null}var Ct=null,We=null,je=!1,Qa=null,dn=!1,dc=Error(o(519));function Ga(e){var t=Error(o(418,""));throw Mi(Zt(t,e)),dc}function hh(e){var t=e.stateNode,a=e.type,i=e.memoizedProps;switch(t[Je]=e,t[Ve]=i,a){case"dialog":Me("cancel",t),Me("close",t);break;case"iframe":case"object":case"embed":Me("load",t);break;case"video":case"audio":for(a=0;a<Ii.length;a++)Me(Ii[a],t);break;case"source":Me("error",t);break;case"img":case"image":case"link":Me("error",t),Me("load",t);break;case"details":Me("toggle",t);break;case"input":Me("invalid",t),Md(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0),zl(t);break;case"select":Me("invalid",t);break;case"textarea":Me("invalid",t),Ad(t,i.value,i.defaultValue,i.children),zl(t)}a=i.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||i.suppressHydrationWarning===!0||Ap(t.textContent,a)?(i.popover!=null&&(Me("beforetoggle",t),Me("toggle",t)),i.onScroll!=null&&Me("scroll",t),i.onScrollEnd!=null&&Me("scrollend",t),i.onClick!=null&&(t.onclick=No),t=!0):t=!1,t||Ga(e)}function mh(e){for(Ct=e.return;Ct;)switch(Ct.tag){case 5:case 13:dn=!1;return;case 27:case 3:dn=!0;return;default:Ct=Ct.return}}function Ri(e){if(e!==Ct)return!1;if(!je)return mh(e),je=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Mu(e.type,e.memoizedProps)),a=!a),a&&We&&Ga(e),mh(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(a=e.data,a==="/$"){if(t===0){We=ln(e.nextSibling);break e}t--}else a!=="$"&&a!=="$!"&&a!=="$?"||t++;e=e.nextSibling}We=null}}else t===27?(t=We,pa(e.type)?(e=_u,_u=null,We=e):We=t):We=Ct?ln(e.stateNode.nextSibling):null;return!0}function Ci(){We=Ct=null,je=!1}function ph(){var e=Qa;return e!==null&&(_t===null?_t=e:_t.push.apply(_t,e),Qa=null),e}function Mi(e){Qa===null?Qa=[e]:Qa.push(e)}var hc=V(null),Xa=null,_n=null;function ea(e,t,a){Q(hc,t._currentValue),t._currentValue=a}function jn(e){e._currentValue=hc.current,F(hc)}function mc(e,t,a){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===a)break;e=e.return}}function pc(e,t,a,i){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var u=s.dependencies;if(u!==null){var g=s.child;u=u.firstContext;e:for(;u!==null;){var w=u;u=s;for(var C=0;C<t.length;C++)if(w.context===t[C]){u.lanes|=a,w=u.alternate,w!==null&&(w.lanes|=a),mc(u.return,a,e),i||(g=null);break e}u=w.next}}else if(s.tag===18){if(g=s.return,g===null)throw Error(o(341));g.lanes|=a,u=g.alternate,u!==null&&(u.lanes|=a),mc(g,a,e),g=null}else g=s.child;if(g!==null)g.return=s;else for(g=s;g!==null;){if(g===e){g=null;break}if(s=g.sibling,s!==null){s.return=g.return,g=s;break}g=g.return}s=g}}function Ni(e,t,a,i){e=null;for(var s=t,u=!1;s!==null;){if(!u){if((s.flags&524288)!==0)u=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var g=s.alternate;if(g===null)throw Error(o(387));if(g=g.memoizedProps,g!==null){var w=s.type;Ut(s.pendingProps.value,g.value)||(e!==null?e.push(w):e=[w])}}else if(s===le.current){if(g=s.alternate,g===null)throw Error(o(387));g.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(rl):e=[rl])}s=s.return}e!==null&&pc(t,e,a,i),t.flags|=262144}function Wl(e){for(e=e.firstContext;e!==null;){if(!Ut(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ka(e){Xa=e,_n=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Et(e){return gh(Xa,e)}function Fl(e,t){return Xa===null&&Ka(e),gh(e,t)}function gh(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},_n===null){if(e===null)throw Error(o(308));_n=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else _n=_n.next=t;return a}var vx=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},yx=n.unstable_scheduleCallback,bx=n.unstable_NormalPriority,st={$$typeof:_,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function gc(){return{controller:new vx,data:new Map,refCount:0}}function Ai(e){e.refCount--,e.refCount===0&&yx(bx,function(){e.controller.abort()})}var Di=null,vc=0,Dr=0,_r=null;function xx(e,t){if(Di===null){var a=Di=[];vc=0,Dr=bu(),_r={status:"pending",value:void 0,then:function(i){a.push(i)}}}return vc++,t.then(vh,vh),t}function vh(){if(--vc===0&&Di!==null){_r!==null&&(_r.status="fulfilled");var e=Di;Di=null,Dr=0,_r=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function wx(e,t){var a=[],i={status:"pending",value:null,reason:null,then:function(s){a.push(s)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var s=0;s<a.length;s++)(0,a[s])(t)},function(s){for(i.status="rejected",i.reason=s,s=0;s<a.length;s++)(0,a[s])(void 0)}),i}var yh=A.S;A.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&xx(e,t),yh!==null&&yh(e,t)};var Za=V(null);function yc(){var e=Za.current;return e!==null?e:Qe.pooledCache}function $l(e,t){t===null?Q(Za,Za.current):Q(Za,t.pool)}function bh(){var e=yc();return e===null?null:{parent:st._currentValue,pool:e}}var _i=Error(o(460)),xh=Error(o(474)),Il=Error(o(542)),bc={then:function(){}};function wh(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Jl(){}function Sh(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(Jl,Jl),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Th(e),e;default:if(typeof t.status=="string")t.then(Jl,Jl);else{if(e=Qe,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=i}},function(i){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Th(e),e}throw ji=t,_i}}var ji=null;function Eh(){if(ji===null)throw Error(o(459));var e=ji;return ji=null,e}function Th(e){if(e===_i||e===Il)throw Error(o(483))}var ta=!1;function xc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function wc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function na(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function aa(e,t,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(ke&2)!==0){var s=i.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),i.pending=t,t=Gl(e),uh(e,null,a),t}return Ql(e,i,t,a),Gl(e)}function zi(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,$e(e,a)}}function Sc(e,t){var a=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var s=null,u=null;if(a=a.firstBaseUpdate,a!==null){do{var g={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};u===null?s=u=g:u=u.next=g,a=a.next}while(a!==null);u===null?s=u=t:u=u.next=t}else s=u=t;a={baseState:i.baseState,firstBaseUpdate:s,lastBaseUpdate:u,shared:i.shared,callbacks:i.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Ec=!1;function ki(){if(Ec){var e=_r;if(e!==null)throw e}}function Ui(e,t,a,i){Ec=!1;var s=e.updateQueue;ta=!1;var u=s.firstBaseUpdate,g=s.lastBaseUpdate,w=s.shared.pending;if(w!==null){s.shared.pending=null;var C=w,U=C.next;C.next=null,g===null?u=U:g.next=U,g=C;var G=e.alternate;G!==null&&(G=G.updateQueue,w=G.lastBaseUpdate,w!==g&&(w===null?G.firstBaseUpdate=U:w.next=U,G.lastBaseUpdate=C))}if(u!==null){var K=s.baseState;g=0,G=U=C=null,w=u;do{var H=w.lane&-536870913,L=H!==w.lane;if(L?(Ae&H)===H:(i&H)===H){H!==0&&H===Dr&&(Ec=!0),G!==null&&(G=G.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});e:{var ye=e,ge=w;H=t;var qe=a;switch(ge.tag){case 1:if(ye=ge.payload,typeof ye=="function"){K=ye.call(qe,K,H);break e}K=ye;break e;case 3:ye.flags=ye.flags&-65537|128;case 0:if(ye=ge.payload,H=typeof ye=="function"?ye.call(qe,K,H):ye,H==null)break e;K=y({},K,H);break e;case 2:ta=!0}}H=w.callback,H!==null&&(e.flags|=64,L&&(e.flags|=8192),L=s.callbacks,L===null?s.callbacks=[H]:L.push(H))}else L={lane:H,tag:w.tag,payload:w.payload,callback:w.callback,next:null},G===null?(U=G=L,C=K):G=G.next=L,g|=H;if(w=w.next,w===null){if(w=s.shared.pending,w===null)break;L=w,w=L.next,L.next=null,s.lastBaseUpdate=L,s.shared.pending=null}}while(!0);G===null&&(C=K),s.baseState=C,s.firstBaseUpdate=U,s.lastBaseUpdate=G,u===null&&(s.shared.lanes=0),fa|=g,e.lanes=g,e.memoizedState=K}}function Oh(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function Rh(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)Oh(a[e],t)}var jr=V(null),eo=V(0);function Ch(e,t){e=qn,Q(eo,e),Q(jr,t),qn=e|t.baseLanes}function Tc(){Q(eo,qn),Q(jr,jr.current)}function Oc(){qn=eo.current,F(jr),F(eo)}var ra=0,Ee=null,Le=null,rt=null,to=!1,zr=!1,Wa=!1,no=0,Hi=0,kr=null,Sx=0;function et(){throw Error(o(321))}function Rc(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!Ut(e[a],t[a]))return!1;return!0}function Cc(e,t,a,i,s,u){return ra=u,Ee=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,A.H=e===null||e.memoizedState===null?um:fm,Wa=!1,u=a(i,s),Wa=!1,zr&&(u=Nh(t,a,i,s)),Mh(e),u}function Mh(e){A.H=so;var t=Le!==null&&Le.next!==null;if(ra=0,rt=Le=Ee=null,to=!1,Hi=0,kr=null,t)throw Error(o(300));e===null||ht||(e=e.dependencies,e!==null&&Wl(e)&&(ht=!0))}function Nh(e,t,a,i){Ee=e;var s=0;do{if(zr&&(kr=null),Hi=0,zr=!1,25<=s)throw Error(o(301));if(s+=1,rt=Le=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}A.H=Nx,u=t(a,i)}while(zr);return u}function Ex(){var e=A.H,t=e.useState()[0];return t=typeof t.then=="function"?Li(t):t,e=e.useState()[0],(Le!==null?Le.memoizedState:null)!==e&&(Ee.flags|=1024),t}function Mc(){var e=no!==0;return no=0,e}function Nc(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function Ac(e){if(to){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}to=!1}ra=0,rt=Le=Ee=null,zr=!1,Hi=no=0,kr=null}function At(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rt===null?Ee.memoizedState=rt=e:rt=rt.next=e,rt}function it(){if(Le===null){var e=Ee.alternate;e=e!==null?e.memoizedState:null}else e=Le.next;var t=rt===null?Ee.memoizedState:rt.next;if(t!==null)rt=t,Le=e;else{if(e===null)throw Ee.alternate===null?Error(o(467)):Error(o(310));Le=e,e={memoizedState:Le.memoizedState,baseState:Le.baseState,baseQueue:Le.baseQueue,queue:Le.queue,next:null},rt===null?Ee.memoizedState=rt=e:rt=rt.next=e}return rt}function Dc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Li(e){var t=Hi;return Hi+=1,kr===null&&(kr=[]),e=Sh(kr,e,t),t=Ee,(rt===null?t.memoizedState:rt.next)===null&&(t=t.alternate,A.H=t===null||t.memoizedState===null?um:fm),e}function ao(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Li(e);if(e.$$typeof===_)return Et(e)}throw Error(o(438,String(e)))}function _c(e){var t=null,a=Ee.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var i=Ee.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Dc(),Ee.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),i=0;i<e;i++)a[i]=he;return t.index++,a}function zn(e,t){return typeof t=="function"?t(e):t}function ro(e){var t=it();return jc(t,Le,e)}function jc(e,t,a){var i=e.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=a;var s=e.baseQueue,u=i.pending;if(u!==null){if(s!==null){var g=s.next;s.next=u.next,u.next=g}t.baseQueue=s=u,i.pending=null}if(u=e.baseState,s===null)e.memoizedState=u;else{t=s.next;var w=g=null,C=null,U=t,G=!1;do{var K=U.lane&-536870913;if(K!==U.lane?(Ae&K)===K:(ra&K)===K){var H=U.revertLane;if(H===0)C!==null&&(C=C.next={lane:0,revertLane:0,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),K===Dr&&(G=!0);else if((ra&H)===H){U=U.next,H===Dr&&(G=!0);continue}else K={lane:0,revertLane:U.revertLane,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},C===null?(w=C=K,g=u):C=C.next=K,Ee.lanes|=H,fa|=H;K=U.action,Wa&&a(u,K),u=U.hasEagerState?U.eagerState:a(u,K)}else H={lane:K,revertLane:U.revertLane,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},C===null?(w=C=H,g=u):C=C.next=H,Ee.lanes|=K,fa|=K;U=U.next}while(U!==null&&U!==t);if(C===null?g=u:C.next=w,!Ut(u,e.memoizedState)&&(ht=!0,G&&(a=_r,a!==null)))throw a;e.memoizedState=u,e.baseState=g,e.baseQueue=C,i.lastRenderedState=u}return s===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function zc(e){var t=it(),a=t.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=e;var i=a.dispatch,s=a.pending,u=t.memoizedState;if(s!==null){a.pending=null;var g=s=s.next;do u=e(u,g.action),g=g.next;while(g!==s);Ut(u,t.memoizedState)||(ht=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),a.lastRenderedState=u}return[u,i]}function Ah(e,t,a){var i=Ee,s=it(),u=je;if(u){if(a===void 0)throw Error(o(407));a=a()}else a=t();var g=!Ut((Le||s).memoizedState,a);g&&(s.memoizedState=a,ht=!0),s=s.queue;var w=jh.bind(null,i,s,e);if(Bi(2048,8,w,[e]),s.getSnapshot!==t||g||rt!==null&&rt.memoizedState.tag&1){if(i.flags|=2048,Ur(9,io(),_h.bind(null,i,s,a,t),null),Qe===null)throw Error(o(349));u||(ra&124)!==0||Dh(i,t,a)}return a}function Dh(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=Ee.updateQueue,t===null?(t=Dc(),Ee.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function _h(e,t,a,i){t.value=a,t.getSnapshot=i,zh(t)&&kh(e)}function jh(e,t,a){return a(function(){zh(t)&&kh(e)})}function zh(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Ut(e,a)}catch{return!0}}function kh(e){var t=Cr(e,2);t!==null&&Yt(t,e,2)}function kc(e){var t=At();if(typeof e=="function"){var a=e;if(e=a(),Wa){tn(!0);try{a()}finally{tn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:e},t}function Uh(e,t,a,i){return e.baseState=a,jc(e,Le,typeof i=="function"?i:zn)}function Tx(e,t,a,i,s){if(oo(e))throw Error(o(485));if(e=t.action,e!==null){var u={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){u.listeners.push(g)}};A.T!==null?a(!0):u.isTransition=!1,i(u),a=t.pending,a===null?(u.next=t.pending=u,Hh(t,u)):(u.next=a.next,t.pending=a.next=u)}}function Hh(e,t){var a=t.action,i=t.payload,s=e.state;if(t.isTransition){var u=A.T,g={};A.T=g;try{var w=a(s,i),C=A.S;C!==null&&C(g,w),Lh(e,t,w)}catch(U){Uc(e,t,U)}finally{A.T=u}}else try{u=a(s,i),Lh(e,t,u)}catch(U){Uc(e,t,U)}}function Lh(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(i){Bh(e,t,i)},function(i){return Uc(e,t,i)}):Bh(e,t,a)}function Bh(e,t,a){t.status="fulfilled",t.value=a,qh(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Hh(e,a)))}function Uc(e,t,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=a,qh(t),t=t.next;while(t!==i)}e.action=null}function qh(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ph(e,t){return t}function Yh(e,t){if(je){var a=Qe.formState;if(a!==null){e:{var i=Ee;if(je){if(We){t:{for(var s=We,u=dn;s.nodeType!==8;){if(!u){s=null;break t}if(s=ln(s.nextSibling),s===null){s=null;break t}}u=s.data,s=u==="F!"||u==="F"?s:null}if(s){We=ln(s.nextSibling),i=s.data==="F!";break e}}Ga(i)}i=!1}i&&(t=a[0])}}return a=At(),a.memoizedState=a.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ph,lastRenderedState:t},a.queue=i,a=om.bind(null,Ee,i),i.dispatch=a,i=kc(!1),u=Pc.bind(null,Ee,!1,i.queue),i=At(),s={state:t,dispatch:null,action:e,pending:null},i.queue=s,a=Tx.bind(null,Ee,s,u,a),s.dispatch=a,i.memoizedState=e,[t,a,!1]}function Vh(e){var t=it();return Qh(t,Le,e)}function Qh(e,t,a){if(t=jc(e,t,Ph)[0],e=ro(zn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=Li(t)}catch(g){throw g===_i?Il:g}else i=t;t=it();var s=t.queue,u=s.dispatch;return a!==t.memoizedState&&(Ee.flags|=2048,Ur(9,io(),Ox.bind(null,s,a),null)),[i,u,e]}function Ox(e,t){e.action=t}function Gh(e){var t=it(),a=Le;if(a!==null)return Qh(t,a,e);it(),t=t.memoizedState,a=it();var i=a.queue.dispatch;return a.memoizedState=e,[t,i,!1]}function Ur(e,t,a,i){return e={tag:e,create:a,deps:i,inst:t,next:null},t=Ee.updateQueue,t===null&&(t=Dc(),Ee.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(i=a.next,a.next=e,e.next=i,t.lastEffect=e),e}function io(){return{destroy:void 0,resource:void 0}}function Xh(){return it().memoizedState}function lo(e,t,a,i){var s=At();i=i===void 0?null:i,Ee.flags|=e,s.memoizedState=Ur(1|t,io(),a,i)}function Bi(e,t,a,i){var s=it();i=i===void 0?null:i;var u=s.memoizedState.inst;Le!==null&&i!==null&&Rc(i,Le.memoizedState.deps)?s.memoizedState=Ur(t,u,a,i):(Ee.flags|=e,s.memoizedState=Ur(1|t,u,a,i))}function Kh(e,t){lo(8390656,8,e,t)}function Zh(e,t){Bi(2048,8,e,t)}function Wh(e,t){return Bi(4,2,e,t)}function Fh(e,t){return Bi(4,4,e,t)}function $h(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ih(e,t,a){a=a!=null?a.concat([e]):null,Bi(4,4,$h.bind(null,t,e),a)}function Hc(){}function Jh(e,t){var a=it();t=t===void 0?null:t;var i=a.memoizedState;return t!==null&&Rc(t,i[1])?i[0]:(a.memoizedState=[e,t],e)}function em(e,t){var a=it();t=t===void 0?null:t;var i=a.memoizedState;if(t!==null&&Rc(t,i[1]))return i[0];if(i=e(),Wa){tn(!0);try{e()}finally{tn(!1)}}return a.memoizedState=[i,t],i}function Lc(e,t,a){return a===void 0||(ra&1073741824)!==0?e.memoizedState=t:(e.memoizedState=a,e=ap(),Ee.lanes|=e,fa|=e,a)}function tm(e,t,a,i){return Ut(a,t)?a:jr.current!==null?(e=Lc(e,a,i),Ut(e,t)||(ht=!0),e):(ra&42)===0?(ht=!0,e.memoizedState=a):(e=ap(),Ee.lanes|=e,fa|=e,t)}function nm(e,t,a,i,s){var u=Y.p;Y.p=u!==0&&8>u?u:8;var g=A.T,w={};A.T=w,Pc(e,!1,t,a);try{var C=s(),U=A.S;if(U!==null&&U(w,C),C!==null&&typeof C=="object"&&typeof C.then=="function"){var G=wx(C,i);qi(e,t,G,Pt(e))}else qi(e,t,i,Pt(e))}catch(K){qi(e,t,{then:function(){},status:"rejected",reason:K},Pt())}finally{Y.p=u,A.T=g}}function Rx(){}function Bc(e,t,a,i){if(e.tag!==5)throw Error(o(476));var s=am(e).queue;nm(e,s,t,Z,a===null?Rx:function(){return rm(e),a(i)})}function am(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Z,baseState:Z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:Z},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function rm(e){var t=am(e).next.queue;qi(e,t,{},Pt())}function qc(){return Et(rl)}function im(){return it().memoizedState}function lm(){return it().memoizedState}function Cx(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Pt();e=na(a);var i=aa(t,e,a);i!==null&&(Yt(i,t,a),zi(i,t,a)),t={cache:gc()},e.payload=t;return}t=t.return}}function Mx(e,t,a){var i=Pt();a={lane:i,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},oo(e)?sm(t,a):(a=lc(e,t,a,i),a!==null&&(Yt(a,e,i),cm(a,t,i)))}function om(e,t,a){var i=Pt();qi(e,t,a,i)}function qi(e,t,a,i){var s={lane:i,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(oo(e))sm(t,s);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var g=t.lastRenderedState,w=u(g,a);if(s.hasEagerState=!0,s.eagerState=w,Ut(w,g))return Ql(e,t,s,0),Qe===null&&Vl(),!1}catch{}if(a=lc(e,t,s,i),a!==null)return Yt(a,e,i),cm(a,t,i),!0}return!1}function Pc(e,t,a,i){if(i={lane:2,revertLane:bu(),action:i,hasEagerState:!1,eagerState:null,next:null},oo(e)){if(t)throw Error(o(479))}else t=lc(e,a,i,2),t!==null&&Yt(t,e,2)}function oo(e){var t=e.alternate;return e===Ee||t!==null&&t===Ee}function sm(e,t){zr=to=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function cm(e,t,a){if((a&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,$e(e,a)}}var so={readContext:Et,use:ao,useCallback:et,useContext:et,useEffect:et,useImperativeHandle:et,useLayoutEffect:et,useInsertionEffect:et,useMemo:et,useReducer:et,useRef:et,useState:et,useDebugValue:et,useDeferredValue:et,useTransition:et,useSyncExternalStore:et,useId:et,useHostTransitionStatus:et,useFormState:et,useActionState:et,useOptimistic:et,useMemoCache:et,useCacheRefresh:et},um={readContext:Et,use:ao,useCallback:function(e,t){return At().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:Kh,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,lo(4194308,4,$h.bind(null,t,e),a)},useLayoutEffect:function(e,t){return lo(4194308,4,e,t)},useInsertionEffect:function(e,t){lo(4,2,e,t)},useMemo:function(e,t){var a=At();t=t===void 0?null:t;var i=e();if(Wa){tn(!0);try{e()}finally{tn(!1)}}return a.memoizedState=[i,t],i},useReducer:function(e,t,a){var i=At();if(a!==void 0){var s=a(t);if(Wa){tn(!0);try{a(t)}finally{tn(!1)}}}else s=t;return i.memoizedState=i.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},i.queue=e,e=e.dispatch=Mx.bind(null,Ee,e),[i.memoizedState,e]},useRef:function(e){var t=At();return e={current:e},t.memoizedState=e},useState:function(e){e=kc(e);var t=e.queue,a=om.bind(null,Ee,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:Hc,useDeferredValue:function(e,t){var a=At();return Lc(a,e,t)},useTransition:function(){var e=kc(!1);return e=nm.bind(null,Ee,e.queue,!0,!1),At().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var i=Ee,s=At();if(je){if(a===void 0)throw Error(o(407));a=a()}else{if(a=t(),Qe===null)throw Error(o(349));(Ae&124)!==0||Dh(i,t,a)}s.memoizedState=a;var u={value:a,getSnapshot:t};return s.queue=u,Kh(jh.bind(null,i,u,e),[e]),i.flags|=2048,Ur(9,io(),_h.bind(null,i,u,a,t),null),a},useId:function(){var e=At(),t=Qe.identifierPrefix;if(je){var a=Dn,i=An;a=(i&~(1<<32-gt(i)-1)).toString(32)+a,t="«"+t+"R"+a,a=no++,0<a&&(t+="H"+a.toString(32)),t+="»"}else a=Sx++,t="«"+t+"r"+a.toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:qc,useFormState:Yh,useActionState:Yh,useOptimistic:function(e){var t=At();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Pc.bind(null,Ee,!0,a),a.dispatch=t,[e,t]},useMemoCache:_c,useCacheRefresh:function(){return At().memoizedState=Cx.bind(null,Ee)}},fm={readContext:Et,use:ao,useCallback:Jh,useContext:Et,useEffect:Zh,useImperativeHandle:Ih,useInsertionEffect:Wh,useLayoutEffect:Fh,useMemo:em,useReducer:ro,useRef:Xh,useState:function(){return ro(zn)},useDebugValue:Hc,useDeferredValue:function(e,t){var a=it();return tm(a,Le.memoizedState,e,t)},useTransition:function(){var e=ro(zn)[0],t=it().memoizedState;return[typeof e=="boolean"?e:Li(e),t]},useSyncExternalStore:Ah,useId:im,useHostTransitionStatus:qc,useFormState:Vh,useActionState:Vh,useOptimistic:function(e,t){var a=it();return Uh(a,Le,e,t)},useMemoCache:_c,useCacheRefresh:lm},Nx={readContext:Et,use:ao,useCallback:Jh,useContext:Et,useEffect:Zh,useImperativeHandle:Ih,useInsertionEffect:Wh,useLayoutEffect:Fh,useMemo:em,useReducer:zc,useRef:Xh,useState:function(){return zc(zn)},useDebugValue:Hc,useDeferredValue:function(e,t){var a=it();return Le===null?Lc(a,e,t):tm(a,Le.memoizedState,e,t)},useTransition:function(){var e=zc(zn)[0],t=it().memoizedState;return[typeof e=="boolean"?e:Li(e),t]},useSyncExternalStore:Ah,useId:im,useHostTransitionStatus:qc,useFormState:Gh,useActionState:Gh,useOptimistic:function(e,t){var a=it();return Le!==null?Uh(a,Le,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:_c,useCacheRefresh:lm},Hr=null,Pi=0;function co(e){var t=Pi;return Pi+=1,Hr===null&&(Hr=[]),Sh(Hr,e,t)}
vendor: 1,546 bytes, line 8
8function Yi(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function uo(e,t){throw t.$$typeof===m?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function dm(e){var t=e._init;return t(e._payload)}function hm(e){function t(j,D){if(e){var k=j.deletions;k===null?(j.deletions=[D],j.flags|=16):k.push(D)}}function a(j,D){if(!e)return null;for(;D!==null;)t(j,D),D=D.sibling;return null}function i(j){for(var D=new Map;j!==null;)j.key!==null?D.set(j.key,j):D.set(j.index,j),j=j.sibling;return D}function s(j,D){return j=Nn(j,D),j.index=0,j.sibling=null,j}function u(j,D,k){return j.index=k,e?(k=j.alternate,k!==null?(k=k.index,k<D?(j.flags|=67108866,D):k):(j.flags|=67108866,D)):(j.flags|=1048576,D)}function g(j){return e&&j.alternate===null&&(j.flags|=67108866),j}function w(j,D,k,X){return D===null||D.tag!==6?(D=sc(k,j.mode,X),D.return=j,D):(D=s(D,k),D.return=j,D)}function C(j,D,k,X){var ce=k.type;return ce===O?G(j,D,k.props.children,X,k.key):D!==null&&(D.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===B&&dm(ce)===D.type)?(D=s(D,k.props),Yi(D,k),D.return=j,D):(D=Xl(k.type,k.key,k.props,null,j.mode,X),Yi(D,k),D.return=j,D)}function U(j,D,k,X){return D===null||D.tag!==4||D.stateNode.containerInfo!==k.containerInfo||D.stateNode.implementation!==k.implementation?(D=cc(k,j.mode,X),D.return=j,D):(D=s(D,k.children||[]),D.return=j,D)}function G(j,D,k,X,ce){return D===null||D.tag!==7?(D=Pa(k,j.mode,X,ce),D.return=j,D):(D=s(D,k),D.return=j,D)}
vendor: 65,393 bytes, line 8
8function K(j,D,k){if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return D=sc(""+D,j.mode,k),D.return=j,D;if(typeof D=="object"&&D!==null){switch(D.$$typeof){case T:return k=Xl(D.type,D.key,D.props,null,j.mode,k),Yi(k,D),k.return=j,k;case R:return D=cc(D,j.mode,k),D.return=j,D;case B:var X=D._init;return D=X(D._payload),K(j,D,k)}if(de(D)||ue(D))return D=Pa(D,j.mode,k,null),D.return=j,D;if(typeof D.then=="function")return K(j,co(D),k);if(D.$$typeof===_)return K(j,Fl(j,D),k);uo(j,D)}return null}function H(j,D,k,X){var ce=D!==null?D.key:null;if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return ce!==null?null:w(j,D,""+k,X);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case T:return k.key===ce?C(j,D,k,X):null;case R:return k.key===ce?U(j,D,k,X):null;case B:return ce=k._init,k=ce(k._payload),H(j,D,k,X)}if(de(k)||ue(k))return ce!==null?null:G(j,D,k,X,null);if(typeof k.then=="function")return H(j,D,co(k),X);if(k.$$typeof===_)return H(j,D,Fl(j,k),X);uo(j,k)}return null}function L(j,D,k,X,ce){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return j=j.get(k)||null,w(D,j,""+X,ce);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case T:return j=j.get(X.key===null?k:X.key)||null,C(D,j,X,ce);case R:return j=j.get(X.key===null?k:X.key)||null,U(D,j,X,ce);case B:var Oe=X._init;return X=Oe(X._payload),L(j,D,k,X,ce)}if(de(X)||ue(X))return j=j.get(k)||null,G(D,j,X,ce,null);if(typeof X.then=="function")return L(j,D,k,co(X),ce);if(X.$$typeof===_)return L(j,D,k,Fl(D,X),ce);uo(D,X)}return null}function ye(j,D,k,X){for(var ce=null,Oe=null,me=D,ve=D=0,pt=null;me!==null&&ve<k.length;ve++){me.index>ve?(pt=me,me=null):pt=me.sibling;var De=H(j,me,k[ve],X);if(De===null){me===null&&(me=pt);break}e&&me&&De.alternate===null&&t(j,me),D=u(De,D,ve),Oe===null?ce=De:Oe.sibling=De,Oe=De,me=pt}if(ve===k.length)return a(j,me),je&&Va(j,ve),ce;if(me===null){for(;ve<k.length;ve++)me=K(j,k[ve],X),me!==null&&(D=u(me,D,ve),Oe===null?ce=me:Oe.sibling=me,Oe=me);return je&&Va(j,ve),ce}for(me=i(me);ve<k.length;ve++)pt=L(me,j,ve,k[ve],X),pt!==null&&(e&&pt.alternate!==null&&me.delete(pt.key===null?ve:pt.key),D=u(pt,D,ve),Oe===null?ce=pt:Oe.sibling=pt,Oe=pt);return e&&me.forEach(function(xa){return t(j,xa)}),je&&Va(j,ve),ce}function ge(j,D,k,X){if(k==null)throw Error(o(151));for(var ce=null,Oe=null,me=D,ve=D=0,pt=null,De=k.next();me!==null&&!De.done;ve++,De=k.next()){me.index>ve?(pt=me,me=null):pt=me.sibling;var xa=H(j,me,De.value,X);if(xa===null){me===null&&(me=pt);break}e&&me&&xa.alternate===null&&t(j,me),D=u(xa,D,ve),Oe===null?ce=xa:Oe.sibling=xa,Oe=xa,me=pt}if(De.done)return a(j,me),je&&Va(j,ve),ce;if(me===null){for(;!De.done;ve++,De=k.next())De=K(j,De.value,X),De!==null&&(D=u(De,D,ve),Oe===null?ce=De:Oe.sibling=De,Oe=De);return je&&Va(j,ve),ce}for(me=i(me);!De.done;ve++,De=k.next())De=L(me,j,ve,De.value,X),De!==null&&(e&&De.alternate!==null&&me.delete(De.key===null?ve:De.key),D=u(De,D,ve),Oe===null?ce=De:Oe.sibling=De,Oe=De);return e&&me.forEach(function(A1){return t(j,A1)}),je&&Va(j,ve),ce}function qe(j,D,k,X){if(typeof k=="object"&&k!==null&&k.type===O&&k.key===null&&(k=k.props.children),typeof k=="object"&&k!==null){switch(k.$$typeof){case T:e:{for(var ce=k.key;D!==null;){if(D.key===ce){if(ce=k.type,ce===O){if(D.tag===7){a(j,D.sibling),X=s(D,k.props.children),X.return=j,j=X;break e}}else if(D.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===B&&dm(ce)===D.type){a(j,D.sibling),X=s(D,k.props),Yi(X,k),X.return=j,j=X;break e}a(j,D);break}else t(j,D);D=D.sibling}k.type===O?(X=Pa(k.props.children,j.mode,X,k.key),X.return=j,j=X):(X=Xl(k.type,k.key,k.props,null,j.mode,X),Yi(X,k),X.return=j,j=X)}return g(j);case R:e:{for(ce=k.key;D!==null;){if(D.key===ce)if(D.tag===4&&D.stateNode.containerInfo===k.containerInfo&&D.stateNode.implementation===k.implementation){a(j,D.sibling),X=s(D,k.children||[]),X.return=j,j=X;break e}else{a(j,D);break}else t(j,D);D=D.sibling}X=cc(k,j.mode,X),X.return=j,j=X}return g(j);case B:return ce=k._init,k=ce(k._payload),qe(j,D,k,X)}if(de(k))return ye(j,D,k,X);if(ue(k)){if(ce=ue(k),typeof ce!="function")throw Error(o(150));return k=ce.call(k),ge(j,D,k,X)}if(typeof k.then=="function")return qe(j,D,co(k),X);if(k.$$typeof===_)return qe(j,D,Fl(j,k),X);uo(j,k)}return typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint"?(k=""+k,D!==null&&D.tag===6?(a(j,D.sibling),X=s(D,k),X.return=j,j=X):(a(j,D),X=sc(k,j.mode,X),X.return=j,j=X),g(j)):a(j,D)}return function(j,D,k,X){try{Pi=0;var ce=qe(j,D,k,X);return Hr=null,ce}catch(me){if(me===_i||me===Il)throw me;var Oe=Ht(29,me,null,j.mode);return Oe.lanes=X,Oe.return=j,Oe}}}var Lr=hm(!0),mm=hm(!1),It=V(null),hn=null;function ia(e){var t=e.alternate;Q(ct,ct.current&1),Q(It,e),hn===null&&(t===null||jr.current!==null||t.memoizedState!==null)&&(hn=e)}function pm(e){if(e.tag===22){if(Q(ct,ct.current),Q(It,e),hn===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(hn=e)}}else la()}function la(){Q(ct,ct.current),Q(It,It.current)}function kn(e){F(It),hn===e&&(hn=null),F(ct)}var ct=V(0);function fo(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||Du(a)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Yc(e,t,a,i){t=e.memoizedState,a=a(i,t),a=a==null?t:y({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Vc={enqueueSetState:function(e,t,a){e=e._reactInternals;var i=Pt(),s=na(i);s.payload=t,a!=null&&(s.callback=a),t=aa(e,s,i),t!==null&&(Yt(t,e,i),zi(t,e,i))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var i=Pt(),s=na(i);s.tag=1,s.payload=t,a!=null&&(s.callback=a),t=aa(e,s,i),t!==null&&(Yt(t,e,i),zi(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Pt(),i=na(a);i.tag=2,t!=null&&(i.callback=t),t=aa(e,i,a),t!==null&&(Yt(t,e,a),zi(t,e,a))}};function gm(e,t,a,i,s,u,g){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,u,g):t.prototype&&t.prototype.isPureReactComponent?!Ti(a,i)||!Ti(s,u):!0}function vm(e,t,a,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,i),t.state!==e&&Vc.enqueueReplaceState(t,t.state,null)}function Fa(e,t){var a=t;if("ref"in t){a={};for(var i in t)i!=="ref"&&(a[i]=t[i])}if(e=e.defaultProps){a===t&&(a=y({},a));for(var s in e)a[s]===void 0&&(a[s]=e[s])}return a}var ho=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function ym(e){ho(e)}function bm(e){console.error(e)}function xm(e){ho(e)}function mo(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function wm(e,t,a){try{var i=e.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Qc(e,t,a){return a=na(a),a.tag=3,a.payload={element:null},a.callback=function(){mo(e,t)},a}function Sm(e){return e=na(e),e.tag=3,e}function Em(e,t,a,i){var s=a.type.getDerivedStateFromError;if(typeof s=="function"){var u=i.value;e.payload=function(){return s(u)},e.callback=function(){wm(t,a,i)}}var g=a.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(e.callback=function(){wm(t,a,i),typeof s!="function"&&(da===null?da=new Set([this]):da.add(this));var w=i.stack;this.componentDidCatch(i.value,{componentStack:w!==null?w:""})})}function Ax(e,t,a,i,s){if(a.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=a.alternate,t!==null&&Ni(t,a,s,!0),a=It.current,a!==null){switch(a.tag){case 13:return hn===null?mu():a.alternate===null&&Fe===0&&(Fe=3),a.flags&=-257,a.flags|=65536,a.lanes=s,i===bc?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([i]):t.add(i),gu(e,i,s)),!1;case 22:return a.flags|=65536,i===bc?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([i]):a.add(i)),gu(e,i,s)),!1}throw Error(o(435,a.tag))}return gu(e,i,s),mu(),!1}if(je)return t=It.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,i!==dc&&(e=Error(o(422),{cause:i}),Mi(Zt(e,a)))):(i!==dc&&(t=Error(o(423),{cause:i}),Mi(Zt(t,a))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,i=Zt(i,a),s=Qc(e.stateNode,i,s),Sc(e,s),Fe!==4&&(Fe=2)),!1;var u=Error(o(520),{cause:i});if(u=Zt(u,a),Wi===null?Wi=[u]:Wi.push(u),Fe!==4&&(Fe=2),t===null)return!0;i=Zt(i,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=s&-s,a.lanes|=e,e=Qc(a.stateNode,i,e),Sc(a,e),!1;case 1:if(t=a.type,u=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(da===null||!da.has(u))))return a.flags|=65536,s&=-s,a.lanes|=s,s=Sm(s),Em(s,e,a,i),Sc(a,s),!1}a=a.return}while(a!==null);return!1}var Tm=Error(o(461)),ht=!1;function yt(e,t,a,i){t.child=e===null?mm(t,null,a,i):Lr(t,e.child,a,i)}function Om(e,t,a,i,s){a=a.render;var u=t.ref;if("ref"in i){var g={};for(var w in i)w!=="ref"&&(g[w]=i[w])}else g=i;return Ka(t),i=Cc(e,t,a,g,u,s),w=Mc(),e!==null&&!ht?(Nc(e,t,s),Un(e,t,s)):(je&&w&&uc(t),t.flags|=1,yt(e,t,i,s),t.child)}function Rm(e,t,a,i,s){if(e===null){var u=a.type;return typeof u=="function"&&!oc(u)&&u.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=u,Cm(e,t,u,i,s)):(e=Xl(a.type,null,i,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!Ic(e,s)){var g=u.memoizedProps;if(a=a.compare,a=a!==null?a:Ti,a(g,i)&&e.ref===t.ref)return Un(e,t,s)}return t.flags|=1,e=Nn(u,i),e.ref=t.ref,e.return=t,t.child=e}function Cm(e,t,a,i,s){if(e!==null){var u=e.memoizedProps;if(Ti(u,i)&&e.ref===t.ref)if(ht=!1,t.pendingProps=i=u,Ic(e,s))(e.flags&131072)!==0&&(ht=!0);else return t.lanes=e.lanes,Un(e,t,s)}return Gc(e,t,a,i,s)}function Mm(e,t,a){var i=t.pendingProps,s=i.children,u=e!==null?e.memoizedState:null;if(i.mode==="hidden"){if((t.flags&128)!==0){if(i=u!==null?u.baseLanes|a:a,e!==null){for(s=t.child=e.child,u=0;s!==null;)u=u|s.lanes|s.childLanes,s=s.sibling;t.childLanes=u&~i}else t.childLanes=0,t.child=null;return Nm(e,t,i,a)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&$l(t,u!==null?u.cachePool:null),u!==null?Ch(t,u):Tc(),pm(t);else return t.lanes=t.childLanes=536870912,Nm(e,t,u!==null?u.baseLanes|a:a,a)}else u!==null?($l(t,u.cachePool),Ch(t,u),la(),t.memoizedState=null):(e!==null&&$l(t,null),Tc(),la());return yt(e,t,s,a),t.child}function Nm(e,t,a,i){var s=yc();return s=s===null?null:{parent:st._currentValue,pool:s},t.memoizedState={baseLanes:a,cachePool:s},e!==null&&$l(t,null),Tc(),pm(t),e!==null&&Ni(e,t,i,!0),null}function po(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(o(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function Gc(e,t,a,i,s){return Ka(t),a=Cc(e,t,a,i,void 0,s),i=Mc(),e!==null&&!ht?(Nc(e,t,s),Un(e,t,s)):(je&&i&&uc(t),t.flags|=1,yt(e,t,a,s),t.child)}function Am(e,t,a,i,s,u){return Ka(t),t.updateQueue=null,a=Nh(t,i,a,s),Mh(e),i=Mc(),e!==null&&!ht?(Nc(e,t,u),Un(e,t,u)):(je&&i&&uc(t),t.flags|=1,yt(e,t,a,u),t.child)}function Dm(e,t,a,i,s){if(Ka(t),t.stateNode===null){var u=Mr,g=a.contextType;typeof g=="object"&&g!==null&&(u=Et(g)),u=new a(i,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Vc,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=i,u.state=t.memoizedState,u.refs={},xc(t),g=a.contextType,u.context=typeof g=="object"&&g!==null?Et(g):Mr,u.state=t.memoizedState,g=a.getDerivedStateFromProps,typeof g=="function"&&(Yc(t,a,g,i),u.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(g=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),g!==u.state&&Vc.enqueueReplaceState(u,u.state,null),Ui(t,i,u,s),ki(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){u=t.stateNode;var w=t.memoizedProps,C=Fa(a,w);u.props=C;var U=u.context,G=a.contextType;g=Mr,typeof G=="object"&&G!==null&&(g=Et(G));var K=a.getDerivedStateFromProps;G=typeof K=="function"||typeof u.getSnapshotBeforeUpdate=="function",w=t.pendingProps!==w,G||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(w||U!==g)&&vm(t,u,i,g),ta=!1;var H=t.memoizedState;u.state=H,Ui(t,i,u,s),ki(),U=t.memoizedState,w||H!==U||ta?(typeof K=="function"&&(Yc(t,a,K,i),U=t.memoizedState),(C=ta||gm(t,a,C,i,H,U,g))?(G||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=U),u.props=i,u.state=U,u.context=g,i=C):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{u=t.stateNode,wc(e,t),g=t.memoizedProps,G=Fa(a,g),u.props=G,K=t.pendingProps,H=u.context,U=a.contextType,C=Mr,typeof U=="object"&&U!==null&&(C=Et(U)),w=a.getDerivedStateFromProps,(U=typeof w=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(g!==K||H!==C)&&vm(t,u,i,C),ta=!1,H=t.memoizedState,u.state=H,Ui(t,i,u,s),ki();var L=t.memoizedState;g!==K||H!==L||ta||e!==null&&e.dependencies!==null&&Wl(e.dependencies)?(typeof w=="function"&&(Yc(t,a,w,i),L=t.memoizedState),(G=ta||gm(t,a,G,i,H,L,C)||e!==null&&e.dependencies!==null&&Wl(e.dependencies))?(U||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(i,L,C),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(i,L,C)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||g===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=L),u.props=i,u.state=L,u.context=C,i=G):(typeof u.componentDidUpdate!="function"||g===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),i=!1)}return u=i,po(e,t),i=(t.flags&128)!==0,u||i?(u=t.stateNode,a=i&&typeof a.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&i?(t.child=Lr(t,e.child,null,s),t.child=Lr(t,null,a,s)):yt(e,t,a,s),t.memoizedState=u.state,e=t.child):e=Un(e,t,s),e}function _m(e,t,a,i){return Ci(),t.flags|=256,yt(e,t,a,i),t.child}var Xc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Kc(e){return{baseLanes:e,cachePool:bh()}}function Zc(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Jt),e}function jm(e,t,a){var i=t.pendingProps,s=!1,u=(t.flags&128)!==0,g;if((g=u)||(g=e!==null&&e.memoizedState===null?!1:(ct.current&2)!==0),g&&(s=!0,t.flags&=-129),g=(t.flags&32)!==0,t.flags&=-33,e===null){if(je){if(s?ia(t):la(),je){var w=We,C;if(C=w){e:{for(C=w,w=dn;C.nodeType!==8;){if(!w){w=null;break e}if(C=ln(C.nextSibling),C===null){w=null;break e}}w=C}w!==null?(t.memoizedState={dehydrated:w,treeContext:Ya!==null?{id:An,overflow:Dn}:null,retryLane:536870912,hydrationErrors:null},C=Ht(18,null,null,0),C.stateNode=w,C.return=t,t.child=C,Ct=t,We=null,C=!0):C=!1}C||Ga(t)}if(w=t.memoizedState,w!==null&&(w=w.dehydrated,w!==null))return Du(w)?t.lanes=32:t.lanes=536870912,null;kn(t)}return w=i.children,i=i.fallback,s?(la(),s=t.mode,w=go({mode:"hidden",children:w},s),i=Pa(i,s,a,null),w.return=t,i.return=t,w.sibling=i,t.child=w,s=t.child,s.memoizedState=Kc(a),s.childLanes=Zc(e,g,a),t.memoizedState=Xc,i):(ia(t),Wc(t,w))}if(C=e.memoizedState,C!==null&&(w=C.dehydrated,w!==null)){if(u)t.flags&256?(ia(t),t.flags&=-257,t=Fc(e,t,a)):t.memoizedState!==null?(la(),t.child=e.child,t.flags|=128,t=null):(la(),s=i.fallback,w=t.mode,i=go({mode:"visible",children:i.children},w),s=Pa(s,w,a,null),s.flags|=2,i.return=t,s.return=t,i.sibling=s,t.child=i,Lr(t,e.child,null,a),i=t.child,i.memoizedState=Kc(a),i.childLanes=Zc(e,g,a),t.memoizedState=Xc,t=s);else if(ia(t),Du(w)){if(g=w.nextSibling&&w.nextSibling.dataset,g)var U=g.dgst;g=U,i=Error(o(419)),i.stack="",i.digest=g,Mi({value:i,source:null,stack:null}),t=Fc(e,t,a)}else if(ht||Ni(e,t,a,!1),g=(a&e.childLanes)!==0,ht||g){if(g=Qe,g!==null&&(i=a&-a,i=(i&42)!==0?1:at(i),i=(i&(g.suspendedLanes|a))!==0?0:i,i!==0&&i!==C.retryLane))throw C.retryLane=i,Cr(e,i),Yt(g,e,i),Tm;w.data==="$?"||mu(),t=Fc(e,t,a)}else w.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=C.treeContext,We=ln(w.nextSibling),Ct=t,je=!0,Qa=null,dn=!1,e!==null&&(Ft[$t++]=An,Ft[$t++]=Dn,Ft[$t++]=Ya,An=e.id,Dn=e.overflow,Ya=t),t=Wc(t,i.children),t.flags|=4096);return t}return s?(la(),s=i.fallback,w=t.mode,C=e.child,U=C.sibling,i=Nn(C,{mode:"hidden",children:i.children}),i.subtreeFlags=C.subtreeFlags&65011712,U!==null?s=Nn(U,s):(s=Pa(s,w,a,null),s.flags|=2),s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,w=e.child.memoizedState,w===null?w=Kc(a):(C=w.cachePool,C!==null?(U=st._currentValue,C=C.parent!==U?{parent:U,pool:U}:C):C=bh(),w={baseLanes:w.baseLanes|a,cachePool:C}),s.memoizedState=w,s.childLanes=Zc(e,g,a),t.memoizedState=Xc,i):(ia(t),a=e.child,e=a.sibling,a=Nn(a,{mode:"visible",children:i.children}),a.return=t,a.sibling=null,e!==null&&(g=t.deletions,g===null?(t.deletions=[e],t.flags|=16):g.push(e)),t.child=a,t.memoizedState=null,a)}function Wc(e,t){return t=go({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function go(e,t){return e=Ht(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Fc(e,t,a){return Lr(t,e.child,null,a),e=Wc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function zm(e,t,a){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),mc(e.return,t,a)}function $c(e,t,a,i,s){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:s}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=i,u.tail=a,u.tailMode=s)}function km(e,t,a){var i=t.pendingProps,s=i.revealOrder,u=i.tail;if(yt(e,t,i.children,a),i=ct.current,(i&2)!==0)i=i&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&zm(e,a,t);else if(e.tag===19)zm(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=1}switch(Q(ct,i),s){case"forwards":for(a=t.child,s=null;a!==null;)e=a.alternate,e!==null&&fo(e)===null&&(s=a),a=a.sibling;a=s,a===null?(s=t.child,t.child=null):(s=a.sibling,a.sibling=null),$c(t,!1,s,a,u);break;case"backwards":for(a=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&fo(e)===null){t.child=s;break}e=s.sibling,s.sibling=a,a=s,s=e}$c(t,!0,a,null,u);break;case"together":$c(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Un(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),fa|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Ni(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,a=Nn(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Nn(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function Ic(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Wl(e)))}function Dx(e,t,a){switch(t.tag){case 3:ne(t,t.stateNode.containerInfo),ea(t,st,e.memoizedState.cache),Ci();break;case 27:case 5:Re(t);break;case 4:ne(t,t.stateNode.containerInfo);break;case 10:ea(t,t.type,t.memoizedProps.value);break;case 13:var i=t.memoizedState;if(i!==null)return i.dehydrated!==null?(ia(t),t.flags|=128,null):(a&t.child.childLanes)!==0?jm(e,t,a):(ia(t),e=Un(e,t,a),e!==null?e.sibling:null);ia(t);break;case 19:var s=(e.flags&128)!==0;if(i=(a&t.childLanes)!==0,i||(Ni(e,t,a,!1),i=(a&t.childLanes)!==0),s){if(i)return km(e,t,a);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Q(ct,ct.current),i)break;return null;case 22:case 23:return t.lanes=0,Mm(e,t,a);case 24:ea(t,st,e.memoizedState.cache)}return Un(e,t,a)}function Um(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)ht=!0;else{if(!Ic(e,a)&&(t.flags&128)===0)return ht=!1,Dx(e,t,a);ht=(e.flags&131072)!==0}else ht=!1,je&&(t.flags&1048576)!==0&&dh(t,Zl,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var i=t.elementType,s=i._init;if(i=s(i._payload),t.type=i,typeof i=="function")oc(i)?(e=Fa(i,e),t.tag=1,t=Dm(null,t,i,e,a)):(t.tag=0,t=Gc(null,t,i,e,a));else{if(i!=null){if(s=i.$$typeof,s===q){t.tag=11,t=Om(null,t,i,e,a);break e}else if(s===$){t.tag=14,t=Rm(null,t,i,e,a);break e}}throw t=be(i)||i,Error(o(306,t,""))}}return t;case 0:return Gc(e,t,t.type,t.pendingProps,a);case 1:return i=t.type,s=Fa(i,t.pendingProps),Dm(e,t,i,s,a);case 3:e:{if(ne(t,t.stateNode.containerInfo),e===null)throw Error(o(387));i=t.pendingProps;var u=t.memoizedState;s=u.element,wc(e,t),Ui(t,i,null,a);var g=t.memoizedState;if(i=g.cache,ea(t,st,i),i!==u.cache&&pc(t,[st],a,!0),ki(),i=g.element,u.isDehydrated)if(u={element:i,isDehydrated:!1,cache:g.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=_m(e,t,i,a);break e}else if(i!==s){s=Zt(Error(o(424)),t),Mi(s),t=_m(e,t,i,a);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,We=ln(e.firstChild),Ct=t,je=!0,Qa=null,dn=!0,a=mm(t,null,i,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Ci(),i===s){t=Un(e,t,a);break e}yt(e,t,i,a)}t=t.child}return t;case 26:return po(e,t),e===null?(a=qp(t.type,null,t.pendingProps,null))?t.memoizedState=a:je||(a=t.type,e=t.pendingProps,i=Ao(ee.current).createElement(a),i[Je]=t,i[Ve]=e,xt(i,a,e),dt(i),t.stateNode=i):t.memoizedState=qp(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Re(t),e===null&&je&&(i=t.stateNode=Hp(t.type,t.pendingProps,ee.current),Ct=t,dn=!0,s=We,pa(t.type)?(_u=s,We=ln(i.firstChild)):We=s),yt(e,t,t.pendingProps.children,a),po(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&je&&((s=i=We)&&(i=i1(i,t.type,t.pendingProps,dn),i!==null?(t.stateNode=i,Ct=t,We=ln(i.firstChild),dn=!1,s=!0):s=!1),s||Ga(t)),Re(t),s=t.type,u=t.pendingProps,g=e!==null?e.memoizedProps:null,i=u.children,Mu(s,u)?i=null:g!==null&&Mu(s,g)&&(t.flags|=32),t.memoizedState!==null&&(s=Cc(e,t,Ex,null,null,a),rl._currentValue=s),po(e,t),yt(e,t,i,a),t.child;case 6:return e===null&&je&&((e=a=We)&&(a=l1(a,t.pendingProps,dn),a!==null?(t.stateNode=a,Ct=t,We=null,e=!0):e=!1),e||Ga(t)),null;case 13:return jm(e,t,a);case 4:return ne(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Lr(t,null,i,a):yt(e,t,i,a),t.child;case 11:return Om(e,t,t.type,t.pendingProps,a);case 7:return yt(e,t,t.pendingProps,a),t.child;case 8:return yt(e,t,t.pendingProps.children,a),t.child;case 12:return yt(e,t,t.pendingProps.children,a),t.child;case 10:return i=t.pendingProps,ea(t,t.type,i.value),yt(e,t,i.children,a),t.child;case 9:return s=t.type._context,i=t.pendingProps.children,Ka(t),s=Et(s),i=i(s),t.flags|=1,yt(e,t,i,a),t.child;case 14:return Rm(e,t,t.type,t.pendingProps,a);case 15:return Cm(e,t,t.type,t.pendingProps,a);case 19:return km(e,t,a);case 31:return i=t.pendingProps,a=t.mode,i={mode:i.mode,children:i.children},e===null?(a=go(i,a),a.ref=t.ref,t.child=a,a.return=t,t=a):(a=Nn(e.child,i),a.ref=t.ref,t.child=a,a.return=t,t=a),t;case 22:return Mm(e,t,a);case 24:return Ka(t),i=Et(st),e===null?(s=yc(),s===null&&(s=Qe,u=gc(),s.pooledCache=u,u.refCount++,u!==null&&(s.pooledCacheLanes|=a),s=u),t.memoizedState={parent:i,cache:s},xc(t),ea(t,st,s)):((e.lanes&a)!==0&&(wc(e,t),Ui(t,null,null,a),ki()),s=e.memoizedState,u=t.memoizedState,s.parent!==i?(s={parent:i,cache:i},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),ea(t,st,i)):(i=u.cache,ea(t,st,i),i!==s.cache&&pc(t,[st],a,!0))),yt(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function Hn(e){e.flags|=4}function Hm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Gp(t)){if(t=It.current,t!==null&&((Ae&4194048)===Ae?hn!==null:(Ae&62914560)!==Ae&&(Ae&536870912)===0||t!==hn))throw ji=bc,xh;e.flags|=8192}}function vo(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Al():536870912,e.lanes|=t,Yr|=t)}function Vi(e,t){if(!je)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Ze(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(t)for(var s=e.child;s!==null;)a|=s.lanes|s.childLanes,i|=s.subtreeFlags&65011712,i|=s.flags&65011712,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)a|=s.lanes|s.childLanes,i|=s.subtreeFlags,i|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=i,e.childLanes=a,t}function _x(e,t,a){var i=t.pendingProps;switch(fc(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ze(t),null;case 1:return Ze(t),null;case 3:return a=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),jn(st),pe(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Ri(t)?Hn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ph())),Ze(t),null;case 26:return a=t.memoizedState,e===null?(Hn(t),a!==null?(Ze(t),Hm(t,a)):(Ze(t),t.flags&=-16777217)):a?a!==e.memoizedState?(Hn(t),Ze(t),Hm(t,a)):(Ze(t),t.flags&=-16777217):(e.memoizedProps!==i&&Hn(t),Ze(t),t.flags&=-16777217),null;case 27:Se(t),a=ee.current;var s=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Hn(t);else{if(!i){if(t.stateNode===null)throw Error(o(166));return Ze(t),null}e=I.current,Ri(t)?hh(t):(e=Hp(s,i,a),t.stateNode=e,Hn(t))}return Ze(t),null;case 5:if(Se(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Hn(t);else{if(!i){if(t.stateNode===null)throw Error(o(166));return Ze(t),null}if(e=I.current,Ri(t))hh(t);else{switch(s=Ao(ee.current),e){case 1:e=s.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:e=s.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":e=s.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":e=s.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof i.is=="string"?s.createElement("select",{is:i.is}):s.createElement("select"),i.multiple?e.multiple=!0:i.size&&(e.size=i.size);break;default:e=typeof i.is=="string"?s.createElement(a,{is:i.is}):s.createElement(a)}}e[Je]=t,e[Ve]=i;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)e.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=e;e:switch(xt(e,a,i),a){case"button":case"input":case"select":case"textarea":e=!!i.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Hn(t)}}return Ze(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&Hn(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(o(166));if(e=ee.current,Ri(t)){if(e=t.stateNode,a=t.memoizedProps,i=null,s=Ct,s!==null)switch(s.tag){case 27:case 5:i=s.memoizedProps}e[Je]=t,e=!!(e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||Ap(e.nodeValue,a)),e||Ga(t)}else e=Ao(e).createTextNode(i),e[Je]=t,t.stateNode=e}return Ze(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=Ri(t),i!==null&&i.dehydrated!==null){if(e===null){if(!s)throw Error(o(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(o(317));s[Je]=t}else Ci(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ze(t),s=!1}else s=ph(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(kn(t),t):(kn(t),null)}if(kn(t),(t.flags&128)!==0)return t.lanes=a,t;if(a=i!==null,e=e!==null&&e.memoizedState!==null,a){i=t.child,s=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(s=i.alternate.memoizedState.cachePool.pool);var u=null;i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(u=i.memoizedState.cachePool.pool),u!==s&&(i.flags|=2048)}return a!==e&&a&&(t.child.flags|=8192),vo(t,t.updateQueue),Ze(t),null;case 4:return pe(),e===null&&Eu(t.stateNode.containerInfo),Ze(t),null;case 10:return jn(t.type),Ze(t),null;case 19:if(F(ct),s=t.memoizedState,s===null)return Ze(t),null;if(i=(t.flags&128)!==0,u=s.rendering,u===null)if(i)Vi(s,!1);else{if(Fe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=fo(e),u!==null){for(t.flags|=128,Vi(s,!1),e=u.updateQueue,t.updateQueue=e,vo(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)fh(a,e),a=a.sibling;return Q(ct,ct.current&1|2),t.child}e=e.sibling}s.tail!==null&&nt()>xo&&(t.flags|=128,i=!0,Vi(s,!1),t.lanes=4194304)}else{if(!i)if(e=fo(u),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,vo(t,e),Vi(s,!0),s.tail===null&&s.tailMode==="hidden"&&!u.alternate&&!je)return Ze(t),null}else 2*nt()-s.renderingStartTime>xo&&a!==536870912&&(t.flags|=128,i=!0,Vi(s,!1),t.lanes=4194304);s.isBackwards?(u.sibling=t.child,t.child=u):(e=s.last,e!==null?e.sibling=u:t.child=u,s.last=u)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=nt(),t.sibling=null,e=ct.current,Q(ct,i?e&1|2:e&1),t):(Ze(t),null);case 22:case 23:return kn(t),Oc(),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(a&536870912)!==0&&(t.flags&128)===0&&(Ze(t),t.subtreeFlags&6&&(t.flags|=8192)):Ze(t),a=t.updateQueue,a!==null&&vo(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==a&&(t.flags|=2048),e!==null&&F(Za),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),jn(st),Ze(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function jx(e,t){switch(fc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return jn(st),pe(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Se(t),null;case 13:if(kn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Ci()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return F(ct),null;case 4:return pe(),null;case 10:return jn(t.type),null;case 22:case 23:return kn(t),Oc(),e!==null&&F(Za),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return jn(st),null;case 25:return null;default:return null}}function Lm(e,t){switch(fc(t),t.tag){case 3:jn(st),pe();break;case 26:case 27:case 5:Se(t);break;case 4:pe();break;case 13:kn(t);break;case 19:F(ct);break;case 10:jn(t.type);break;case 22:case 23:kn(t),Oc(),e!==null&&F(Za);break;case 24:jn(st)}}function Qi(e,t){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var s=i.next;a=s;do{if((a.tag&e)===e){i=void 0;var u=a.create,g=a.inst;i=u(),g.destroy=i}a=a.next}while(a!==s)}}catch(w){Pe(t,t.return,w)}}function oa(e,t,a){try{var i=t.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var u=s.next;i=u;do{if((i.tag&e)===e){var g=i.inst,w=g.destroy;if(w!==void 0){g.destroy=void 0,s=t;var C=a,U=w;try{U()}catch(G){Pe(s,C,G)}}}i=i.next}while(i!==u)}}catch(G){Pe(t,t.return,G)}}function Bm(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{Rh(t,a)}catch(i){Pe(e,e.return,i)}}}function qm(e,t,a){a.props=Fa(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(i){Pe(e,t,i)}}function Gi(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof a=="function"?e.refCleanup=a(i):a.current=i}}catch(s){Pe(e,t,s)}}function mn(e,t){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i=="function")try{i()}catch(s){Pe(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(s){Pe(e,t,s)}else a.current=null}function Pm(e){var t=e.type,a=e.memoizedProps,i=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&i.focus();break e;case"img":a.src?i.src=a.src:a.srcSet&&(i.srcset=a.srcSet)}}catch(s){Pe(e,e.return,s)}}function Jc(e,t,a){try{var i=e.stateNode;e1(i,e.type,a,t),i[Ve]=t}catch(s){Pe(e,e.return,s)}}function Ym(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&pa(e.type)||e.tag===4}function eu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ym(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&pa(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function tu(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=No));else if(i!==4&&(i===27&&pa(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(tu(e,t,a),e=e.sibling;e!==null;)tu(e,t,a),e=e.sibling}function yo(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(i!==4&&(i===27&&pa(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(yo(e,t,a),e=e.sibling;e!==null;)yo(e,t,a),e=e.sibling}function Vm(e){var t=e.stateNode,a=e.memoizedProps;try{for(var i=e.type,s=t.attributes;s.length;)t.removeAttributeNode(s[0]);xt(t,i,a),t[Je]=e,t[Ve]=a}catch(u){Pe(e,e.return,u)}}var Ln=!1,tt=!1,nu=!1,Qm=typeof WeakSet=="function"?WeakSet:Set,mt=null;function zx(e,t){if(e=e.containerInfo,Ru=Uo,e=th(e),ec(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var i=a.getSelection&&a.getSelection();if(i&&i.rangeCount!==0){a=i.anchorNode;var s=i.anchorOffset,u=i.focusNode;i=i.focusOffset;try{a.nodeType,u.nodeType}catch{a=null;break e}var g=0,w=-1,C=-1,U=0,G=0,K=e,H=null;t:for(;;){for(var L;K!==a||s!==0&&K.nodeType!==3||(w=g+s),K!==u||i!==0&&K.nodeType!==3||(C=g+i),K.nodeType===3&&(g+=K.nodeValue.length),(L=K.firstChild)!==null;)H=K,K=L;for(;;){if(K===e)break t;if(H===a&&++U===s&&(w=g),H===u&&++G===i&&(C=g),(L=K.nextSibling)!==null)break;K=H,H=K.parentNode}K=L}a=w===-1||C===-1?null:{start:w,end:C}}else a=null}a=a||{start:0,end:0}}else a=null;for(Cu={focusedElem:e,selectionRange:a},Uo=!1,mt=t;mt!==null;)if(t=mt,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,mt=e;else for(;mt!==null;){switch(t=mt,u=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,a=t,s=u.memoizedProps,u=u.memoizedState,i=a.stateNode;try{var ye=Fa(a.type,s,a.elementType===a.type);e=i.getSnapshotBeforeUpdate(ye,u),i.__reactInternalSnapshotBeforeUpdate=e}catch(ge){Pe(a,a.return,ge)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)Au(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Au(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,mt=e;break}mt=t.return}}function Gm(e,t,a){var i=a.flags;switch(a.tag){case 0:case 11:case 15:sa(e,a),i&4&&Qi(5,a);break;case 1:if(sa(e,a),i&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(g){Pe(a,a.return,g)}else{var s=Fa(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(s,t,e.__reactInternalSnapshotBeforeUpdate)}catch(g){Pe(a,a.return,g)}}i&64&&Bm(a),i&512&&Gi(a,a.return);break;case 3:if(sa(e,a),i&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{Rh(e,t)}catch(g){Pe(a,a.return,g)}}break;case 27:t===null&&i&4&&Vm(a);case 26:case 5:sa(e,a),t===null&&i&4&&Pm(a),i&512&&Gi(a,a.return);break;case 12:sa(e,a);break;case 13:sa(e,a),i&4&&Zm(e,a),i&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=Vx.bind(null,a),o1(e,a))));break;case 22:if(i=a.memoizedState!==null||Ln,!i){t=t!==null&&t.memoizedState!==null||tt,s=Ln;var u=tt;Ln=i,(tt=t)&&!u?ca(e,a,(a.subtreeFlags&8772)!==0):sa(e,a),Ln=s,tt=u}break;case 30:break;default:sa(e,a)}}function Xm(e){var t=e.alternate;t!==null&&(e.alternate=null,Xm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ks(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ke=null,Dt=!1;function Bn(e,t,a){for(a=a.child;a!==null;)Km(e,t,a),a=a.sibling}function Km(e,t,a){if(Rt&&typeof Rt.onCommitFiberUnmount=="function")try{Rt.onCommitFiberUnmount(un,a)}catch{}switch(a.tag){case 26:tt||mn(a,t),Bn(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:tt||mn(a,t);var i=Ke,s=Dt;pa(a.type)&&(Ke=a.stateNode,Dt=!1),Bn(e,t,a),el(a.stateNode),Ke=i,Dt=s;break;case 5:tt||mn(a,t);case 6:if(i=Ke,s=Dt,Ke=null,Bn(e,t,a),Ke=i,Dt=s,Ke!==null)if(Dt)try{(Ke.nodeType===9?Ke.body:Ke.nodeName==="HTML"?Ke.ownerDocument.body:Ke).removeChild(a.stateNode)}catch(u){Pe(a,t,u)}else try{Ke.removeChild(a.stateNode)}catch(u){Pe(a,t,u)}break;case 18:Ke!==null&&(Dt?(e=Ke,kp(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),sl(e)):kp(Ke,a.stateNode));break;case 4:i=Ke,s=Dt,Ke=a.stateNode.containerInfo,Dt=!0,Bn(e,t,a),Ke=i,Dt=s;break;case 0:case 11:case 14:case 15:tt||oa(2,a,t),tt||oa(4,a,t),Bn(e,t,a);break;case 1:tt||(mn(a,t),i=a.stateNode,typeof i.componentWillUnmount=="function"&&qm(a,t,i)),Bn(e,t,a);break;case 21:Bn(e,t,a);break;case 22:tt=(i=tt)||a.memoizedState!==null,Bn(e,t,a),tt=i;break;default:Bn(e,t,a)}}function Zm(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{sl(e)}catch(a){Pe(t,t.return,a)}}function kx(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Qm),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Qm),t;default:throw Error(o(435,e.tag))}}function au(e,t){var a=kx(e);t.forEach(function(i){var s=Qx.bind(null,e,i);a.has(i)||(a.add(i),i.then(s,s))})}function Lt(e,t){var a=t.deletions;if(a!==null)for(var i=0;i<a.length;i++){var s=a[i],u=e,g=t,w=g;e:for(;w!==null;){switch(w.tag){case 27:if(pa(w.type)){Ke=w.stateNode,Dt=!1;break e}break;case 5:Ke=w.stateNode,Dt=!1;break e;case 3:case 4:Ke=w.stateNode.containerInfo,Dt=!0;break e}w=w.return}if(Ke===null)throw Error(o(160));Km(u,g,s),Ke=null,Dt=!1,u=s.alternate,u!==null&&(u.return=null),s.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Wm(t,e),t=t.sibling}var rn=null;function Wm(e,t){var a=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Lt(t,e),Bt(e),i&4&&(oa(3,e,e.return),Qi(3,e),oa(5,e,e.return));break;case 1:Lt(t,e),Bt(e),i&512&&(tt||a===null||mn(a,a.return)),i&64&&Ln&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?i:a.concat(i))));break;case 26:var s=rn;if(Lt(t,e),Bt(e),i&512&&(tt||a===null||mn(a,a.return)),i&4){var u=a!==null?a.memoizedState:null;if(i=e.memoizedState,a===null)if(i===null)if(e.stateNode===null){e:{i=e.type,a=e.memoizedProps,s=s.ownerDocument||s;t:switch(i){case"title":u=s.getElementsByTagName("title")[0],(!u||u[pi]||u[Je]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=s.createElement(i),s.head.insertBefore(u,s.querySelector("head > title"))),xt(u,i,a),u[Je]=e,dt(u),i=u;break e;case"link":var g=Vp("link","href",s).get(i+(a.href||""));if(g){for(var w=0;w<g.length;w++)if(u=g[w],u.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&u.getAttribute("rel")===(a.rel==null?null:a.rel)&&u.getAttribute("title")===(a.title==null?null:a.title)&&u.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){g.splice(w,1);break t}}u=s.createElement(i),xt(u,i,a),s.head.appendChild(u);break;case"meta":if(g=Vp("meta","content",s).get(i+(a.content||""))){for(w=0;w<g.length;w++)if(u=g[w],u.getAttribute("content")===(a.content==null?null:""+a.content)&&u.getAttribute("name")===(a.name==null?null:a.name)&&u.getAttribute("property")===(a.property==null?null:a.property)&&u.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&u.getAttribute("charset")===(a.charSet==null?null:a.charSet)){g.splice(w,1);break t}}u=s.createElement(i),xt(u,i,a),s.head.appendChild(u);break;default:throw Error(o(468,i))}u[Je]=e,dt(u),i=u}e.stateNode=i}else Qp(s,e.type,e.stateNode);else e.stateNode=Yp(s,i,e.memoizedProps);else u!==i?(u===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):u.count--,i===null?Qp(s,e.type,e.stateNode):Yp(s,i,e.memoizedProps)):i===null&&e.stateNode!==null&&Jc(e,e.memoizedProps,a.memoizedProps)}break;case 27:Lt(t,e),Bt(e),i&512&&(tt||a===null||mn(a,a.return)),a!==null&&i&4&&Jc(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Lt(t,e),Bt(e),i&512&&(tt||a===null||mn(a,a.return)),e.flags&32){s=e.stateNode;try{xr(s,"")}catch(L){Pe(e,e.return,L)}}i&4&&e.stateNode!=null&&(s=e.memoizedProps,Jc(e,s,a!==null?a.memoizedProps:s)),i&1024&&(nu=!0);break;case 6:if(Lt(t,e),Bt(e),i&4){if(e.stateNode===null)throw Error(o(162));i=e.memoizedProps,a=e.stateNode;try{a.nodeValue=i}catch(L){Pe(e,e.return,L)}}break;case 3:if(jo=null,s=rn,rn=Do(t.containerInfo),Lt(t,e),rn=s,Bt(e),i&4&&a!==null&&a.memoizedState.isDehydrated)try{sl(t.containerInfo)}catch(L){Pe(e,e.return,L)}nu&&(nu=!1,Fm(e));break;case 4:i=rn,rn=Do(e.stateNode.containerInfo),Lt(t,e),Bt(e),rn=i;break;case 12:Lt(t,e),Bt(e);break;case 13:Lt(t,e),Bt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(cu=nt()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,au(e,i)));break;case 22:s=e.memoizedState!==null;var C=a!==null&&a.memoizedState!==null,U=Ln,G=tt;if(Ln=U||s,tt=G||C,Lt(t,e),tt=G,Ln=U,Bt(e),i&8192)e:for(t=e.stateNode,t._visibility=s?t._visibility&-2:t._visibility|1,s&&(a===null||C||Ln||tt||$a(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){C=a=t;try{if(u=C.stateNode,s)g=u.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none";else{w=C.stateNode;var K=C.memoizedProps.style,H=K!=null&&K.hasOwnProperty("display")?K.display:null;w.style.display=H==null||typeof H=="boolean"?"":(""+H).trim()}}catch(L){Pe(C,C.return,L)}}}else if(t.tag===6){if(a===null){C=t;try{C.stateNode.nodeValue=s?"":C.memoizedProps}catch(L){Pe(C,C.return,L)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}i&4&&(i=e.updateQueue,i!==null&&(a=i.retryQueue,a!==null&&(i.retryQueue=null,au(e,a))));break;case 19:Lt(t,e),Bt(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,au(e,i)));break;case 30:break;case 21:break;default:Lt(t,e),Bt(e)}}function Bt(e){var t=e.flags;if(t&2){try{for(var a,i=e.return;i!==null;){if(Ym(i)){a=i;break}i=i.return}if(a==null)throw Error(o(160));switch(a.tag){case 27:var s=a.stateNode,u=eu(e);yo(e,u,s);break;case 5:var g=a.stateNode;a.flags&32&&(xr(g,""),a.flags&=-33);var w=eu(e);yo(e,w,g);break;case 3:case 4:var C=a.stateNode.containerInfo,U=eu(e);tu(e,U,C);break;default:throw Error(o(161))}}catch(G){Pe(e,e.return,G)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Fm(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Fm(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function sa(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Gm(e,t.alternate,t),t=t.sibling}function $a(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:oa(4,t,t.return),$a(t);break;case 1:mn(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&qm(t,t.return,a),$a(t);break;case 27:el(t.stateNode);case 26:case 5:mn(t,t.return),$a(t);break;case 22:t.memoizedState===null&&$a(t);break;case 30:$a(t);break;default:$a(t)}e=e.sibling}}function ca(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var i=t.alternate,s=e,u=t,g=u.flags;switch(u.tag){case 0:case 11:case 15:ca(s,u,a),Qi(4,u);break;case 1:if(ca(s,u,a),i=u,s=i.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(U){Pe(i,i.return,U)}if(i=u,s=i.updateQueue,s!==null){var w=i.stateNode;try{var C=s.shared.hiddenCallbacks;if(C!==null)for(s.shared.hiddenCallbacks=null,s=0;s<C.length;s++)Oh(C[s],w)}catch(U){Pe(i,i.return,U)}}a&&g&64&&Bm(u),Gi(u,u.return);break;case 27:Vm(u);case 26:case 5:ca(s,u,a),a&&i===null&&g&4&&Pm(u),Gi(u,u.return);break;case 12:ca(s,u,a);break;case 13:ca(s,u,a),a&&g&4&&Zm(s,u);break;case 22:u.memoizedState===null&&ca(s,u,a),Gi(u,u.return);break;case 30:break;default:ca(s,u,a)}t=t.sibling}}function ru(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Ai(a))}function iu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ai(e))}function pn(e,t,a,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)$m(e,t,a,i),t=t.sibling}function $m(e,t,a,i){var s=t.flags;switch(t.tag){case 0:case 11:case 15:pn(e,t,a,i),s&2048&&Qi(9,t);break;case 1:pn(e,t,a,i);break;case 3:pn(e,t,a,i),s&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ai(e)));break;case 12:if(s&2048){pn(e,t,a,i),e=t.stateNode;try{var u=t.memoizedProps,g=u.id,w=u.onPostCommit;typeof w=="function"&&w(g,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(C){Pe(t,t.return,C)}}else pn(e,t,a,i);break;case 13:pn(e,t,a,i);break;case 23:break;case 22:u=t.stateNode,g=t.alternate,t.memoizedState!==null?u._visibility&2?pn(e,t,a,i):Xi(e,t):u._visibility&2?pn(e,t,a,i):(u._visibility|=2,Br(e,t,a,i,(t.subtreeFlags&10256)!==0)),s&2048&&ru(g,t);break;case 24:pn(e,t,a,i),s&2048&&iu(t.alternate,t);break;default:pn(e,t,a,i)}}function Br(e,t,a,i,s){for(s=s&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var u=e,g=t,w=a,C=i,U=g.flags;switch(g.tag){case 0:case 11:case 15:Br(u,g,w,C,s),Qi(8,g);break;case 23:break;case 22:var G=g.stateNode;g.memoizedState!==null?G._visibility&2?Br(u,g,w,C,s):Xi(u,g):(G._visibility|=2,Br(u,g,w,C,s)),s&&U&2048&&ru(g.alternate,g);break;case 24:Br(u,g,w,C,s),s&&U&2048&&iu(g.alternate,g);break;default:Br(u,g,w,C,s)}t=t.sibling}}function Xi(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,i=t,s=i.flags;switch(i.tag){case 22:Xi(a,i),s&2048&&ru(i.alternate,i);break;case 24:Xi(a,i),s&2048&&iu(i.alternate,i);break;default:Xi(a,i)}t=t.sibling}}var Ki=8192;function qr(e){if(e.subtreeFlags&Ki)for(e=e.child;e!==null;)Im(e),e=e.sibling}function Im(e){switch(e.tag){case 26:qr(e),e.flags&Ki&&e.memoizedState!==null&&x1(rn,e.memoizedState,e.memoizedProps);break;case 5:qr(e);break;case 3:case 4:var t=rn;rn=Do(e.stateNode.containerInfo),qr(e),rn=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=Ki,Ki=16777216,qr(e),Ki=t):qr(e));break;default:qr(e)}}function Jm(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Zi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a];mt=i,tp(i,e)}Jm(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)ep(e),e=e.sibling}function ep(e){switch(e.tag){case 0:case 11:case 15:Zi(e),e.flags&2048&&oa(9,e,e.return);break;case 3:Zi(e);break;case 12:Zi(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,bo(e)):Zi(e);break;default:Zi(e)}}function bo(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a];mt=i,tp(i,e)}Jm(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:oa(8,t,t.return),bo(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,bo(t));break;default:bo(t)}e=e.sibling}}function tp(e,t){for(;mt!==null;){var a=mt;switch(a.tag){case 0:case 11:case 15:oa(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var i=a.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:Ai(a.memoizedState.cache)}if(i=a.child,i!==null)i.return=a,mt=i;else e:for(a=e;mt!==null;){i=mt;var s=i.sibling,u=i.return;if(Xm(i),i===a){mt=null;break e}if(s!==null){s.return=u,mt=s;break e}mt=u}}}var Ux={getCacheForType:function(e){var t=Et(st),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a}},Hx=typeof WeakMap=="function"?WeakMap:Map,ke=0,Qe=null,Ce=null,Ae=0,Ue=0,qt=null,ua=!1,Pr=!1,lu=!1,qn=0,Fe=0,fa=0,Ia=0,ou=0,Jt=0,Yr=0,Wi=null,_t=null,su=!1,cu=0,xo=1/0,wo=null,da=null,bt=0,ha=null,Vr=null,Qr=0,uu=0,fu=null,np=null,Fi=0,du=null;function Pt(){if((ke&2)!==0&&Ae!==0)return Ae&-Ae;if(A.T!==null){var e=Dr;return e!==0?e:bu()}return Ua()}function ap(){Jt===0&&(Jt=(Ae&536870912)===0||je?nn():536870912);var e=It.current;return e!==null&&(e.flags|=32),Jt}function Yt(e,t,a){(e===Qe&&(Ue===2||Ue===9)||e.cancelPendingCommit!==null)&&(Gr(e,0),ma(e,Ae,Jt,!1)),In(e,a),((ke&2)===0||e!==Qe)&&(e===Qe&&((ke&2)===0&&(Ia|=a),Fe===4&&ma(e,Ae,Jt,!1)),gn(e))}function rp(e,t,a){if((ke&6)!==0)throw Error(o(327));var i=!a&&(t&124)===0&&(t&e.expiredLanes)===0||ka(e,t),s=i?qx(e,t):pu(e,t,!0),u=i;do{if(s===0){Pr&&!i&&ma(e,t,0,!1);break}else{if(a=e.current.alternate,u&&!Lx(a)){s=pu(e,t,!1),u=!1;continue}if(s===2){if(u=t,e.errorRecoveryDisabledLanes&u)var g=0;else g=e.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){t=g;e:{var w=e;s=Wi;var C=w.current.memoizedState.isDehydrated;if(C&&(Gr(w,g).flags|=256),g=pu(w,g,!1),g!==2){if(lu&&!C){w.errorRecoveryDisabledLanes|=u,Ia|=u,s=4;break e}u=_t,_t=s,u!==null&&(_t===null?_t=u:_t.push.apply(_t,u))}s=g}if(u=!1,s!==2)continue}}if(s===1){Gr(e,0),ma(e,t,0,!0);break}e:{switch(i=e,u=s,u){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:ma(i,t,Jt,!ua);break e;case 2:_t=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(s=cu+300-nt(),10<s)){if(ma(i,t,Jt,!ua),za(i,0,!0)!==0)break e;i.timeoutHandle=jp(ip.bind(null,i,a,_t,wo,su,t,Jt,Ia,Yr,ua,u,2,-0,0),s);break e}ip(i,a,_t,wo,su,t,Jt,Ia,Yr,ua,u,0,-0,0)}}break}while(!0);gn(e)}function ip(e,t,a,i,s,u,g,w,C,U,G,K,H,L){if(e.timeoutHandle=-1,K=t.subtreeFlags,(K&8192||(K&16785408)===16785408)&&(al={stylesheets:null,count:0,unsuspend:b1},Im(t),K=w1(),K!==null)){e.cancelPendingCommit=K(dp.bind(null,e,t,u,a,i,s,g,w,C,G,1,H,L)),ma(e,u,g,!U);return}dp(e,t,u,a,i,s,g,w,C)}function Lx(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var i=0;i<a.length;i++){var s=a[i],u=s.getSnapshot;s=s.value;try{if(!Ut(u(),s))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ma(e,t,a,i){t&=~ou,t&=~Ia,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var s=t;0<s;){var u=31-gt(s),g=1<<u;i[u]=-1,s&=~g}a!==0&&xe(e,a,t)}function So(){return(ke&6)===0?($i(0),!1):!0}function hu(){if(Ce!==null){if(Ue===0)var e=Ce.return;else e=Ce,_n=Xa=null,Ac(e),Hr=null,Pi=0,e=Ce;for(;e!==null;)Lm(e.alternate,e),e=e.return;Ce=null}}function Gr(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,n1(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),hu(),Qe=e,Ce=a=Nn(e.current,null),Ae=t,Ue=0,qt=null,ua=!1,Pr=ka(e,t),lu=!1,Yr=Jt=ou=Ia=fa=Fe=0,_t=Wi=null,su=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var s=31-gt(i),u=1<<s;t|=e[s],i&=~u}return qn=t,Vl(),a}function lp(e,t){Ee=null,A.H=so,t===_i||t===Il?(t=Eh(),Ue=3):t===xh?(t=Eh(),Ue=4):Ue=t===Tm?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,qt=t,Ce===null&&(Fe=1,mo(e,Zt(t,e.current)))}function op(){var e=A.H;return A.H=so,e===null?so:e}function sp(){var e=A.A;return A.A=Ux,e}function mu(){Fe=4,ua||(Ae&4194048)!==Ae&&It.current!==null||(Pr=!0),(fa&134217727)===0&&(Ia&134217727)===0||Qe===null||ma(Qe,Ae,Jt,!1)}function pu(e,t,a){var i=ke;ke|=2;var s=op(),u=sp();(Qe!==e||Ae!==t)&&(wo=null,Gr(e,t)),t=!1;var g=Fe;e:do try{if(Ue!==0&&Ce!==null){var w=Ce,C=qt;switch(Ue){case 8:hu(),g=6;break e;case 3:case 2:case 9:case 6:It.current===null&&(t=!0);var U=Ue;if(Ue=0,qt=null,Xr(e,w,C,U),a&&Pr){g=0;break e}break;default:U=Ue,Ue=0,qt=null,Xr(e,w,C,U)}}Bx(),g=Fe;break}catch(G){lp(e,G)}while(!0);return t&&e.shellSuspendCounter++,_n=Xa=null,ke=i,A.H=s,A.A=u,Ce===null&&(Qe=null,Ae=0,Vl()),g}function Bx(){for(;Ce!==null;)cp(Ce)}function qx(e,t){var a=ke;ke|=2;var i=op(),s=sp();Qe!==e||Ae!==t?(wo=null,xo=nt()+500,Gr(e,t)):Pr=ka(e,t);e:do try{if(Ue!==0&&Ce!==null){t=Ce;var u=qt;t:switch(Ue){case 1:Ue=0,qt=null,Xr(e,t,u,1);break;case 2:case 9:if(wh(u)){Ue=0,qt=null,up(t);break}t=function(){Ue!==2&&Ue!==9||Qe!==e||(Ue=7),gn(e)},u.then(t,t);break e;case 3:Ue=7;break e;case 4:Ue=5;break e;case 7:wh(u)?(Ue=0,qt=null,up(t)):(Ue=0,qt=null,Xr(e,t,u,7));break;case 5:var g=null;switch(Ce.tag){case 26:g=Ce.memoizedState;case 5:case 27:var w=Ce;if(!g||Gp(g)){Ue=0,qt=null;var C=w.sibling;if(C!==null)Ce=C;else{var U=w.return;U!==null?(Ce=U,Eo(U)):Ce=null}break t}}Ue=0,qt=null,Xr(e,t,u,5);break;case 6:Ue=0,qt=null,Xr(e,t,u,6);break;case 8:hu(),Fe=6;break e;default:throw Error(o(462))}}Px();break}catch(G){lp(e,G)}while(!0);return _n=Xa=null,A.H=i,A.A=s,ke=a,Ce!==null?0:(Qe=null,Ae=0,Vl(),Fe)}function Px(){for(;Ce!==null&&!ja();)cp(Ce)}function cp(e){var t=Um(e.alternate,e,qn);e.memoizedProps=e.pendingProps,t===null?Eo(e):Ce=t}function up(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=Am(a,t,t.pendingProps,t.type,void 0,Ae);break;case 11:t=Am(a,t,t.pendingProps,t.type.render,t.ref,Ae);break;case 5:Ac(t);default:Lm(a,t),t=Ce=fh(t,qn),t=Um(a,t,qn)}e.memoizedProps=e.pendingProps,t===null?Eo(e):Ce=t}function Xr(e,t,a,i){_n=Xa=null,Ac(t),Hr=null,Pi=0;var s=t.return;try{if(Ax(e,s,t,a,Ae)){Fe=1,mo(e,Zt(a,e.current)),Ce=null;return}}catch(u){if(s!==null)throw Ce=s,u;Fe=1,mo(e,Zt(a,e.current)),Ce=null;return}t.flags&32768?(je||i===1?e=!0:Pr||(Ae&536870912)!==0?e=!1:(ua=e=!0,(i===2||i===9||i===3||i===6)&&(i=It.current,i!==null&&i.tag===13&&(i.flags|=16384))),fp(t,e)):Eo(t)}function Eo(e){var t=e;do{if((t.flags&32768)!==0){fp(t,ua);return}e=t.return;var a=_x(t.alternate,t,qn);if(a!==null){Ce=a;return}if(t=t.sibling,t!==null){Ce=t;return}Ce=t=e}while(t!==null);Fe===0&&(Fe=5)}function fp(e,t){do{var a=jx(e.alternate,e);if(a!==null){a.flags&=32767,Ce=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){Ce=e;return}Ce=e=a}while(e!==null);Fe=6,Ce=null}function dp(e,t,a,i,s,u,g,w,C){e.cancelPendingCommit=null;do To();while(bt!==0);if((ke&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(u=t.lanes|t.childLanes,u|=ic,Dl(e,a,u,g,w,C),e===Qe&&(Ce=Qe=null,Ae=0),Vr=t,ha=e,Qr=a,uu=u,fu=s,np=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Gx(ur,function(){return vp(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=A.T,A.T=null,s=Y.p,Y.p=2,g=ke,ke|=4;try{zx(e,t,a)}finally{ke=g,Y.p=s,A.T=i}}bt=1,hp(),mp(),pp()}}function hp(){if(bt===1){bt=0;var e=ha,t=Vr,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=A.T,A.T=null;var i=Y.p;Y.p=2;var s=ke;ke|=4;try{Wm(t,e);var u=Cu,g=th(e.containerInfo),w=u.focusedElem,C=u.selectionRange;if(g!==w&&w&&w.ownerDocument&&eh(w.ownerDocument.documentElement,w)){if(C!==null&&ec(w)){var U=C.start,G=C.end;if(G===void 0&&(G=U),"selectionStart"in w)w.selectionStart=U,w.selectionEnd=Math.min(G,w.value.length);else{var K=w.ownerDocument||document,H=K&&K.defaultView||window;if(H.getSelection){var L=H.getSelection(),ye=w.textContent.length,ge=Math.min(C.start,ye),qe=C.end===void 0?ge:Math.min(C.end,ye);!L.extend&&ge>qe&&(g=qe,qe=ge,ge=g);var j=Jd(w,ge),D=Jd(w,qe);if(j&&D&&(L.rangeCount!==1||L.anchorNode!==j.node||L.anchorOffset!==j.offset||L.focusNode!==D.node||L.focusOffset!==D.offset)){var k=K.createRange();k.setStart(j.node,j.offset),L.removeAllRanges(),ge>qe?(L.addRange(k),L.extend(D.node,D.offset)):(k.setEnd(D.node,D.offset),L.addRange(k))}}}}for(K=[],L=w;L=L.parentNode;)L.nodeType===1&&K.push({element:L,left:L.scrollLeft,top:L.scrollTop});for(typeof w.focus=="function"&&w.focus(),w=0;w<K.length;w++){var X=K[w];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}Uo=!!Ru,Cu=Ru=null}finally{ke=s,Y.p=i,A.T=a}}e.current=t,bt=2}}function mp(){if(bt===2){bt=0;var e=ha,t=Vr,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=A.T,A.T=null;var i=Y.p;Y.p=2;var s=ke;ke|=4;try{Gm(e,t.alternate,t)}finally{ke=s,Y.p=i,A.T=a}}bt=3}}function pp(){if(bt===4||bt===3){bt=0,Wn();var e=ha,t=Vr,a=Qr,i=np;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?bt=5:(bt=0,Vr=ha=null,gp(e,e.pendingLanes));var s=e.pendingLanes;if(s===0&&(da=null),vt(a),t=t.stateNode,Rt&&typeof Rt.onCommitFiberRoot=="function")try{Rt.onCommitFiberRoot(un,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=A.T,s=Y.p,Y.p=2,A.T=null;try{for(var u=e.onRecoverableError,g=0;g<i.length;g++){var w=i[g];u(w.value,{componentStack:w.stack})}}finally{A.T=t,Y.p=s}}(Qr&3)!==0&&To(),gn(e),s=e.pendingLanes,(a&4194090)!==0&&(s&42)!==0?e===du?Fi++:(Fi=0,du=e):Fi=0,$i(0)}}function gp(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ai(t)))}function To(e){return hp(),mp(),pp(),vp()}function vp(){if(bt!==5)return!1;var e=ha,t=uu;uu=0;var a=vt(Qr),i=A.T,s=Y.p;try{Y.p=32>a?32:a,A.T=null,a=fu,fu=null;var u=ha,g=Qr;if(bt=0,Vr=ha=null,Qr=0,(ke&6)!==0)throw Error(o(331));var w=ke;if(ke|=4,ep(u.current),$m(u,u.current,g,a),ke=w,$i(0,!1),Rt&&typeof Rt.onPostCommitFiberRoot=="function")try{Rt.onPostCommitFiberRoot(un,u)}catch{}return!0}finally{Y.p=s,A.T=i,gp(e,t)}}function yp(e,t,a){t=Zt(a,t),t=Qc(e.stateNode,t,2),e=aa(e,t,2),e!==null&&(In(e,2),gn(e))}function Pe(e,t,a){if(e.tag===3)yp(e,e,a);else for(;t!==null;){if(t.tag===3){yp(t,e,a);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(da===null||!da.has(i))){e=Zt(a,e),a=Sm(2),i=aa(t,a,2),i!==null&&(Em(a,i,t,e),In(i,2),gn(i));break}}t=t.return}}function gu(e,t,a){var i=e.pingCache;if(i===null){i=e.pingCache=new Hx;var s=new Set;i.set(t,s)}else s=i.get(t),s===void 0&&(s=new Set,i.set(t,s));s.has(a)||(lu=!0,s.add(a),e=Yx.bind(null,e,t,a),t.then(e,e))}function Yx(e,t,a){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Qe===e&&(Ae&a)===a&&(Fe===4||Fe===3&&(Ae&62914560)===Ae&&300>nt()-cu?(ke&2)===0&&Gr(e,0):ou|=a,Yr===Ae&&(Yr=0)),gn(e)}function bp(e,t){t===0&&(t=Al()),e=Cr(e,t),e!==null&&(In(e,t),gn(e))}function Vx(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),bp(e,a)}function Qx(e,t){var a=0;switch(e.tag){case 13:var i=e.stateNode,s=e.memoizedState;s!==null&&(a=s.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(o(314))}i!==null&&i.delete(t),bp(e,a)}function Gx(e,t){return lt(e,t)}var Oo=null,Kr=null,vu=!1,Ro=!1,yu=!1,Ja=0;function gn(e){e!==Kr&&e.next===null&&(Kr===null?Oo=Kr=e:Kr=Kr.next=e),Ro=!0,vu||(vu=!0,Kx())}function $i(e,t){if(!yu&&Ro){yu=!0;do for(var a=!1,i=Oo;i!==null;){if(e!==0){var s=i.pendingLanes;if(s===0)var u=0;else{var g=i.suspendedLanes,w=i.pingedLanes;u=(1<<31-gt(42|e)+1)-1,u&=s&~(g&~w),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(a=!0,Ep(i,u))}else u=Ae,u=za(i,i===Qe?u:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(u&3)===0||ka(i,u)||(a=!0,Ep(i,u));i=i.next}while(a);yu=!1}}function Xx(){xp()}function xp(){Ro=vu=!1;var e=0;Ja!==0&&(t1()&&(e=Ja),Ja=0);for(var t=nt(),a=null,i=Oo;i!==null;){var s=i.next,u=wp(i,t);u===0?(i.next=null,a===null?Oo=s:a.next=s,s===null&&(Kr=a)):(a=i,(e!==0||(u&3)!==0)&&(Ro=!0)),i=s}$i(e)}function wp(e,t){for(var a=e.suspendedLanes,i=e.pingedLanes,s=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var g=31-gt(u),w=1<<g,C=s[g];C===-1?((w&a)===0||(w&i)!==0)&&(s[g]=hi(w,t)):C<=t&&(e.expiredLanes|=w),u&=~w}if(t=Qe,a=Ae,a=za(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,a===0||e===t&&(Ue===2||Ue===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&Ge(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||ka(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(i!==null&&Ge(i),vt(a)){case 2:case 8:a=Ml;break;case 32:a=ur;break;case 268435456:a=On;break;default:a=ur}return i=Sp.bind(null,e),a=lt(a,i),e.callbackPriority=t,e.callbackNode=a,t}return i!==null&&i!==null&&Ge(i),e.callbackPriority=2,e.callbackNode=null,2}function Sp(e,t){if(bt!==0&&bt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(To()&&e.callbackNode!==a)return null;var i=Ae;return i=za(e,e===Qe?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(rp(e,i,t),wp(e,nt()),e.callbackNode!=null&&e.callbackNode===a?Sp.bind(null,e):null)}function Ep(e,t){if(To())return null;rp(e,t,!0)}function Kx(){a1(function(){(ke&6)!==0?lt(Gt,Xx):xp()})}function bu(){return Ja===0&&(Ja=nn()),Ja}function Tp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ul(""+e)}function Op(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function Zx(e,t,a,i,s){if(t==="submit"&&a&&a.stateNode===s){var u=Tp((s[Ve]||null).action),g=i.submitter;g&&(t=(t=g[Ve]||null)?Tp(t.formAction):g.getAttribute("formAction"),t!==null&&(u=t,g=null));var w=new ql("action","action",null,i,s);e.push({event:w,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Ja!==0){var C=g?Op(s,g):new FormData(s);Bc(a,{pending:!0,data:C,method:s.method,action:u},null,C)}}else typeof u=="function"&&(w.preventDefault(),C=g?Op(s,g):new FormData(s),Bc(a,{pending:!0,data:C,method:s.method,action:u},u,C))},currentTarget:s}]})}}for(var xu=0;xu<rc.length;xu++){var wu=rc[xu],Wx=wu.toLowerCase(),Fx=wu[0].toUpperCase()+wu.slice(1);an(Wx,"on"+Fx)}an(rh,"onAnimationEnd"),an(ih,"onAnimationIteration"),an(lh,"onAnimationStart"),an("dblclick","onDoubleClick"),an("focusin","onFocus"),an("focusout","onBlur"),an(hx,"onTransitionRun"),an(mx,"onTransitionStart"),an(px,"onTransitionCancel"),an(oh,"onTransitionEnd"),vr("onMouseEnter",["mouseout","mouseover"]),vr("onMouseLeave",["mouseout","mouseover"]),vr("onPointerEnter",["pointerout","pointerover"]),vr("onPointerLeave",["pointerout","pointerover"]),Ha("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ha("onSelect","focusout contextmenu dragend focu
8sin keydown keyup mousedown mouseup selectionchange".split(" ")),Ha("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ha("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ha("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ha("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ii="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(" "),$x=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ii));function Rp(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var i=e[a],s=i.event;i=i.listeners;e:{var u=void 0;if(t)for(var g=i.length-1;0<=g;g--){var w=i[g],C=w.instance,U=w.currentTarget;if(w=w.listener,C!==u&&s.isPropagationStopped())break e;u=w,s.currentTarget=U;try{u(s)}catch(G){ho(G)}s.currentTarget=null,u=C}else for(g=0;g<i.length;g++){if(w=i[g],C=w.instance,U=w.currentTarget,w=w.listener,C!==u&&s.isPropagationStopped())break e;u=w,s.currentTarget=U;try{u(s)}catch(G){ho(G)}s.currentTarget=null,u=C}}}}function Me(e,t){var a=t[hr];a===void 0&&(a=t[hr]=new Set);var i=e+"__bubble";a.has(i)||(Cp(t,e,2,!1),a.add(i))}function Su(e,t,a){var i=0;t&&(i|=4),Cp(a,e,i,t)}var Co="_reactListening"+Math.random().toString(36).slice(2);function Eu(e){if(!e[Co]){e[Co]=!0,xd.forEach(function(a){a!=="selectionchange"&&($x.has(a)||Su(a,!1,e),Su(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Co]||(t[Co]=!0,Su("selectionchange",!1,t))}}function Cp(e,t,a,i){switch($p(t)){case 2:var s=T1;break;case 8:s=O1;break;default:s=Hu}a=s.bind(null,t,a,e),s=void 0,!Gs||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),i?s!==void 0?e.addEventListener(t,a,{capture:!0,passive:s}):e.addEventListener(t,a,!0):s!==void 0?e.addEventListener(t,a,{passive:s}):e.addEventListener(t,a,!1)}function Tu(e,t,a,i,s){var u=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var g=i.tag;if(g===3||g===4){var w=i.stateNode.containerInfo;if(w===s)break;if(g===4)for(g=i.return;g!==null;){var C=g.tag;if((C===3||C===4)&&g.stateNode.containerInfo===s)return;g=g.return}for(;w!==null;){if(g=mr(w),g===null)return;if(C=g.tag,C===5||C===6||C===26||C===27){i=u=g;continue e}w=w.parentNode}}i=i.return}zd(function(){var U=u,G=Vs(a),K=[];e:{var H=sh.get(e);if(H!==void 0){var L=ql,ye=e;switch(e){case"keypress":if(Ll(a)===0)break e;case"keydown":case"keyup":L=G0;break;case"focusin":ye="focus",L=Ws;break;case"focusout":ye="blur",L=Ws;break;case"beforeblur":case"afterblur":L=Ws;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":L=Hd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":L=j0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":L=Z0;break;case rh:case ih:case lh:L=U0;break;case oh:L=F0;break;case"scroll":case"scrollend":L=D0;break;case"wheel":L=I0;break;case"copy":case"cut":case"paste":L=L0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":L=Bd;break;case"toggle":case"beforetoggle":L=ex}var ge=(t&4)!==0,qe=!ge&&(e==="scroll"||e==="scrollend"),j=ge?H!==null?H+"Capture":null:H;ge=[];for(var D=U,k;D!==null;){var X=D;if(k=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||k===null||j===null||(X=vi(D,j),X!=null&&ge.push(Ji(D,X,k))),qe)break;D=D.return}0<ge.length&&(H=new L(H,ye,null,a,G),K.push({event:H,listeners:ge}))}}if((t&7)===0){e:{if(H=e==="mouseover"||e==="pointerover",L=e==="mouseout"||e==="pointerout",H&&a!==Ys&&(ye=a.relatedTarget||a.fromElement)&&(mr(ye)||ye[ft]))break e;if((L||H)&&(H=G.window===G?G:(H=G.ownerDocument)?H.defaultView||H.parentWindow:window,L?(ye=a.relatedTarget||a.toElement,L=U,ye=ye?mr(ye):null,ye!==null&&(qe=f(ye),ge=ye.tag,ye!==qe||ge!==5&&ge!==27&&ge!==6)&&(ye=null)):(L=null,ye=U),L!==ye)){if(ge=Hd,X="onMouseLeave",j="onMouseEnter",D="mouse",(e==="pointerout"||e==="pointerover")&&(ge=Bd,X="onPointerLeave",j="onPointerEnter",D="pointer"),qe=L==null?H:gi(L),k=ye==null?H:gi(ye),H=new ge(X,D+"leave",L,a,G),H.target=qe,H.relatedTarget=k,X=null,mr(G)===U&&(ge=new ge(j,D+"enter",ye,a,G),ge.target=k,ge.relatedTarget=qe,X=ge),qe=X,L&&ye)t:{for(ge=L,j=ye,D=0,k=ge;k;k=Zr(k))D++;for(k=0,X=j;X;X=Zr(X))k++;for(;0<D-k;)ge=Zr(ge),D--;for(;0<k-D;)j=Zr(j),k--;for(;D--;){if(ge===j||j!==null&&ge===j.alternate)break t;ge=Zr(ge),j=Zr(j)}ge=null}else ge=null;L!==null&&Mp(K,H,L,ge,!1),ye!==null&&qe!==null&&Mp(K,qe,ye,ge,!0)}}
vendor: 5,204 bytes, lines 8-9
8e:{if(H=U?gi(U):window,L=H.nodeName&&H.nodeName.toLowerCase(),L==="select"||L==="input"&&H.type==="file")var ce=Kd;else if(Gd(H))if(Zd)ce=ux;else{ce=sx;var Oe=ox}else L=H.nodeName,!L||L.toLowerCase()!=="input"||H.type!=="checkbox"&&H.type!=="radio"?U&&Ps(U.elementType)&&(ce=Kd):ce=cx;if(ce&&(ce=ce(e,U))){Xd(K,ce,a,G);break e}Oe&&Oe(e,H,U),e==="focusout"&&U&&H.type==="number"&&U.memoizedProps.value!=null&&qs(H,"number",H.value)}switch(Oe=U?gi(U):window,e){case"focusin":(Gd(Oe)||Oe.contentEditable==="true")&&(Tr=Oe,tc=U,Oi=null);break;case"focusout":Oi=tc=Tr=null;break;case"mousedown":nc=!0;break;case"contextmenu":case"mouseup":case"dragend":nc=!1,nh(K,a,G);break;case"selectionchange":if(dx)break;case"keydown":case"keyup":nh(K,a,G)}var me;if($s)e:{switch(e){case"compositionstart":var ve="onCompositionStart";break e;case"compositionend":ve="onCompositionEnd";break e;case"compositionupdate":ve="onCompositionUpdate";break e}ve=void 0}else Er?Vd(e,a)&&(ve="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(ve="onCompositionStart");ve&&(qd&&a.locale!=="ko"&&(Er||ve!=="onCompositionStart"?ve==="onCompositionEnd"&&Er&&(me=kd()):(Jn=G,Xs="value"in Jn?Jn.value:Jn.textContent,Er=!0)),Oe=Mo(U,ve),0<Oe.length&&(ve=new Ld(ve,e,null,a,G),K.push({event:ve,listeners:Oe}),me?ve.data=me:(me=Qd(a),me!==null&&(ve.data=me)))),(me=nx?ax(e,a):rx(e,a))&&(ve=Mo(U,"onBeforeInput"),0<ve.length&&(Oe=new Ld("onBeforeInput","beforeinput",null,a,G),K.push({event:Oe,listeners:ve}),Oe.data=me)),Zx(K,e,U,a,G)}Rp(K,t)})}function Ji(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Mo(e,t){for(var a=t+"Capture",i=[];e!==null;){var s=e,u=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||u===null||(s=vi(e,a),s!=null&&i.unshift(Ji(e,s,u)),s=vi(e,t),s!=null&&i.push(Ji(e,s,u))),e.tag===3)return i;e=e.return}return[]}function Zr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Mp(e,t,a,i,s){for(var u=t._reactName,g=[];a!==null&&a!==i;){var w=a,C=w.alternate,U=w.stateNode;if(w=w.tag,C!==null&&C===i)break;w!==5&&w!==26&&w!==27||U===null||(C=U,s?(U=vi(a,u),U!=null&&g.unshift(Ji(a,U,C))):s||(U=vi(a,u),U!=null&&g.push(Ji(a,U,C)))),a=a.return}g.length!==0&&e.push({event:t,listeners:g})}var Ix=/\r\n?/g,Jx=/\u0000|\uFFFD/g;function Np(e){return(typeof e=="string"?e:""+e).replace(Ix,` 9`).replace(Jx,"")}function Ap(e,t){return t=Np(t),Np(e)===t}function No(){}function Be(e,t,a,i,s,u){switch(a){case"children":typeof i=="string"?t==="body"||t==="textarea"&&i===""||xr(e,i):(typeof i=="number"||typeof i=="bigint")&&t!=="body"&&xr(e,""+i);break;case"className":jl(e,"class",i);break;case"tabIndex":jl(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":jl(e,a,i);break;case"style":_d(e,i,u);break;case"data":if(t!=="object"){jl(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}i=Ul(""+i),e.setAttribute(a,i);break;case"action":case"formAction":if(typeof i=="function"){e.setAttribute(a,"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 u=="function"&&(a==="formAction"?(t!=="input"&&Be(e,t,"name",s.name,s,null),Be(e,t,"formEncType",s.formEncType,s,null),Be(e,t,"formMethod",s.formMethod,s,null),Be(e,t,"formTarget",s.formTarget,s,null)):(Be(e,t,"encType",s.encType,s,null),Be(e,t,"method",s.method,s,null),Be(e,t,"target",s.target,s,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}i=Ul(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(e.onclick=No);break;case"onScroll":i!=null&&Me("scroll",e);break;case"onScrollEnd":i!=null&&Me("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(o(61));if(a=i.__html,a!=null){if(s.children!=null)throw Error(o(60));e.innerHTML=a}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}a=Ul(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,""+i):e.removeAttribute(a);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"playsInl
9ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":i===!0?e.setAttribute(a,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,i):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(a,i):e.removeAttribute(a);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(a):e.setAttribute(a,i);break;case"popover":Me("beforetoggle",e),Me("toggle",e),_l(e,"popover",i);break;case"xlinkActuate":Cn(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":Cn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":Cn(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":Cn(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":Cn(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":Cn(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":Cn(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":Cn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":Cn(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":_l(e,"is",i);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=N0.get(a)||a,_l(e,a,i))}}function Ou(e,t,a,i,s,u){switch(a){case"style":_d(e,i,u);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(o(61));if(a=i.__html,a!=null){if(s.children!=null)throw Error(o(60));e.innerHTML=a}}break;case"children":typeof i=="string"?xr(e,i):(typeof i=="number"||typeof i=="bigint")&&xr(e,""+i);break;case"onScroll":i!=null&&Me("scroll",e);break;case"onScrollEnd":i!=null&&Me("scrollend",e);break;case"onClick":i!=null&&(e.onclick=No);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!wd.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(s=a.endsWith("Capture"),t=a.slice(2,s?a.length-7:void 0),u=e[Ve]||null,u=u!=null?u[a]:null,typeof u=="function"&&e.removeEventListener(t,u,s),typeof i=="function")){typeof u!="function"&&u!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,i,s);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):_l(e,a,i)}}}function xt(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Me("error",e),Me("load",e);var i=!1,s=!1,u;for(u in a)if(a.hasOwnProperty(u)){var g=a[u];if(g!=null)switch(u){case"src":i=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Be(e,t,u,g,a,null)}}s&&Be(e,t,"srcSet",a.srcSet,a,null),i&&Be(e,t,"src",a.src,a,null);return;case"input":Me("invalid",e);var w=u=g=s=null,C=null,U=null;for(i in a)if(a.hasOwnProperty(i)){var G=a[i];if(G!=null)switch(i){case"name":s=G;break;case"type":g=G;break;case"checked":C=G;break;case"defaultChecked":U=G;break;case"value":u=G;break;case"defaultValue":w=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(o(137,t));break;default:Be(e,t,i,G,a,null)}}Md(e,u,w,C,U,g,s,!1),zl(e);return;case"select":Me("invalid",e),i=g=u=null;for(s in a)if(a.hasOwnProperty(s)&&(w=a[s],w!=null))switch(s){case"value":u=w;break;case"defaultValue":g=w;break;case"multiple":i=w;default:Be(e,t,s,w,a,null)}t=u,a=g,e.multiple=!!i,t!=null?br(e,!!i,t,!1):a!=null&&br(e,!!i,a,!0);return;case"textarea":Me("invalid",e),u=s=i=null;for(g in a)if(a.hasOwnProperty(g)&&(w=a[g],w!=null))switch(g){case"value":i=w;break;case"defaultValue":s=w;break;case"children":u=w;break;case"dangerouslySetInnerHTML":if(w!=null)throw Error(o(91));break;default:Be(e,t,g,w,a,null)}Ad(e,i,s,u),zl(e);return;case"option":for(C in a)a.hasOwnProperty(C)&&(i=a[C],i!=null)&&(C==="selected"?e.selected=i&&typeof i!="function"&&typeof i!="symbol":Be(e,t,C,i,a,null));return;case"dialog":Me("beforetoggle",e),Me("toggle",e),Me("cancel",e),Me("close",e);break;case"iframe":case"object":Me("load",e);break;case"video":case"audio":for(i=0;i<Ii.length;i++)Me(Ii[i],e);break;case"image":Me("error",e),Me("load",e);break;case"details":Me("toggle",e);break;case"embed":case"source":case"link":Me("error",e),Me("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(U in a)if(a.hasOwnProperty(U)&&(i=a[U],i!=null))switch(U){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Be(e,t,U,i,a,null)}return;default:if(Ps(t)){for(G in a)a.hasOwnProperty(G)&&(i=a[G],i!==void 0&&Ou(e,t,G,i,a,void 0));return}}for(w in a)a.hasOwnProperty(w)&&(i=a[w],i!=null&&Be(e,t,w,i,a,null))}function e1(e,t,a,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,u=null,g=null,w=null,C=null,U=null,G=null;for(L in a){var K=a[L];if(a.hasOwnProperty(L)&&K!=null)switch(L){case"checked":break;case"value":break;case"defaultValue":C=K;default:i.hasOwnProperty(L)||Be(e,t,L,null,i,K)}}for(var H in i){var L=i[H];if(K=a[H],i.hasOwnProperty(H)&&(L!=null||K!=null))switch(H){case"type":u=L;break;case"name":s=L;break;case"checked":U=L;break;case"defaultChecked":G=L;break;case"value":g=L;break;case"defaultValue":w=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(o(137,t));break;default:L!==K&&Be(e,t,H,L,i,K)}}Bs(e,g,w,C,U,G,u,s);return;case"select":L=g=w=H=null;for(u in a)if(C=a[u],a.hasOwnProperty(u)&&C!=null)switch(u){case"value":break;case"multiple":L=C;default:i.hasOwnProperty(u)||Be(e,t,u,null,i,C)}for(s in i)if(u=i[s],C=a[s],i.hasOwnProperty(s)&&(u!=null||C!=null))switch(s){case"value":H=u;break;case"defaultValue":w=u;break;case"multiple":g=u;default:u!==C&&Be(e,t,s,u,i,C)}t=w,a=g,i=L,H!=null?br(e,!!a,H,!1):!!i!=!!a&&(t!=null?br(e,!!a,t,!0):br(e,!!a,a?[]:"",!1));return;case"textarea":L=H=null;for(w in a)if(s=a[w],a.hasOwnProperty(w)&&s!=null&&!i.hasOwnProperty(w))switch(w){case"value":break;case"children":break;default:Be(e,t,w,null,i,s)}for(g in i)if(s=i[g],u=a[g],i.hasOwnProperty(g)&&(s!=null||u!=null))switch(g){case"value":H=s;break;case"defaultValue":L=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(o(91));break;default:s!==u&&Be(e,t,g,s,i,u)}Nd(e,H,L);return;case"option":for(var ye in a)H=a[ye],a.hasOwnProperty(ye)&&H!=null&&!i.hasOwnProperty(ye)&&(ye==="selected"?e.selected=!1:Be(e,t,ye,null,i,H));for(C in i)H=i[C],L=a[C],i.hasOwnProperty(C)&&H!==L&&(H!=null||L!=null)&&(C==="selected"?e.selected=H&&typeof H!="function"&&typeof H!="symbol":Be(e,t,C,H,i,L));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ge in a)H=a[ge],a.hasOwnProperty(ge)&&H!=null&&!i.hasOwnProperty(ge)&&Be(e,t,ge,null,i,H);for(U in i)if(H=i[U],L=a[U],i.hasOwnProperty(U)&&H!==L&&(H!=null||L!=null))switch(U){case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(o(137,t));break;default:Be(e,t,U,H,i,L)}return;default:if(Ps(t)){for(var qe in a)H=a[qe],a.hasOwnProperty(qe)&&H!==void 0&&!i.hasOwnProperty(qe)&&Ou(e,t,qe,void 0,i,H);for(G in i)H=i[G],L=a[G],!i.hasOwnProperty(G)||H===L||H===void 0&&L===void 0||Ou(e,t,G,H,i,L);return}}for(var j in a)H=a[j],a.hasOwnProperty(j)&&H!=null&&!i.hasOwnProperty(j)&&Be(e,t,j,null,i,H);for(K in i)H=i[K],L=a[K],!i.hasOwnProperty(K)||H===L||H==null&&L==null||Be(e,t,K,H,i,L)}var Ru=null,Cu=null;
vendor: 4,584 bytes, line 9
9function Ao(e){return e.nodeType===9?e:e.ownerDocument}function Dp(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function _p(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Mu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Nu=null;function t1(){var e=window.event;return e&&e.type==="popstate"?e===Nu?!1:(Nu=e,!0):(Nu=null,!1)}var jp=typeof setTimeout=="function"?setTimeout:void 0,n1=typeof clearTimeout=="function"?clearTimeout:void 0,zp=typeof Promise=="function"?Promise:void 0,a1=typeof queueMicrotask=="function"?queueMicrotask:typeof zp<"u"?function(e){return zp.resolve(null).then(e).catch(r1)}:jp;function r1(e){setTimeout(function(){throw e})}function pa(e){return e==="head"}function kp(e,t){var a=t,i=0,s=0;do{var u=a.nextSibling;if(e.removeChild(a),u&&u.nodeType===8)if(a=u.data,a==="/$"){if(0<i&&8>i){a=i;var g=e.ownerDocument;if(a&1&&el(g.documentElement),a&2&&el(g.body),a&4)for(a=g.head,el(a),g=a.firstChild;g;){var w=g.nextSibling,C=g.nodeName;g[pi]||C==="SCRIPT"||C==="STYLE"||C==="LINK"&&g.rel.toLowerCase()==="stylesheet"||a.removeChild(g),g=w}}if(s===0){e.removeChild(u),sl(t);return}s--}else a==="$"||a==="$?"||a==="$!"?s++:i=a.charCodeAt(0)-48;else i=0;a=u}while(a);sl(t)}function Au(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Au(a),ks(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function i1(e,t,a,i){for(;e.nodeType===1;){var s=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[pi])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=ln(e.nextSibling),e===null)break}return null}function l1(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=ln(e.nextSibling),e===null))return null;return e}function Du(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function o1(e,t){var a=e.ownerDocument;if(e.data!=="$?"||a.readyState==="complete")t();else{var i=function(){t(),a.removeEventListener("DOMContentLoaded",i)};a.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function ln(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}var _u=null;function Up(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"){if(t===0)return e;t--}else a==="/$"&&t++}e=e.previousSibling}return null}function Hp(e,t,a){switch(t=Ao(a),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function el(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ks(e)}var en=new Map,Lp=new Set;function Do(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Pn=Y.d;Y.d={f:s1,r:c1,D:u1,C:f1,L:d1,m:h1,X:p1,S:m1,M:g1};function s1(){var e=Pn.f(),t=So();return e||t}function c1(e){var t=pr(e);t!==null&&t.tag===5&&t.type==="form"?rm(t):Pn.r(e)}var Wr=typeof document>"u"?null:document;function Bp(e,t,a){var i=Wr;if(i&&typeof t=="string"&&t){var s=Kt(t);
vendor: 7,568 bytes, line 9
9s='link[rel="'+e+'"][href="'+s+'"]',typeof a=="string"&&(s+='[crossorigin="'+a+'"]'),Lp.has(s)||(Lp.add(s),e={rel:e,crossOrigin:a,href:t},i.querySelector(s)===null&&(t=i.createElement("link"),xt(t,"link",e),dt(t),i.head.appendChild(t)))}}function u1(e){Pn.D(e),Bp("dns-prefetch",e,null)}function f1(e,t){Pn.C(e,t),Bp("preconnect",e,t)}function d1(e,t,a){Pn.L(e,t,a);var i=Wr;if(i&&e&&t){var s='link[rel="preload"][as="'+Kt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(s+='[imagesrcset="'+Kt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(s+='[imagesizes="'+Kt(a.imageSizes)+'"]')):s+='[href="'+Kt(e)+'"]';var u=s;switch(t){case"style":u=Fr(e);break;case"script":u=$r(e)}en.has(u)||(e=y({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),en.set(u,e),i.querySelector(s)!==null||t==="style"&&i.querySelector(tl(u))||t==="script"&&i.querySelector(nl(u))||(t=i.createElement("link"),xt(t,"link",e),dt(t),i.head.appendChild(t)))}}function h1(e,t){Pn.m(e,t);var a=Wr;if(a&&e){var i=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+Kt(i)+'"][href="'+Kt(e)+'"]',u=s;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=$r(e)}if(!en.has(u)&&(e=y({rel:"modulepreload",href:e},t),en.set(u,e),a.querySelector(s)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(nl(u)))return}i=a.createElement("link"),xt(i,"link",e),dt(i),a.head.appendChild(i)}}}function m1(e,t,a){Pn.S(e,t,a);var i=Wr;if(i&&e){var s=gr(i).hoistableStyles,u=Fr(e);t=t||"default";var g=s.get(u);if(!g){var w={loading:0,preload:null};if(g=i.querySelector(tl(u)))w.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":t},a),(a=en.get(u))&&ju(e,a);var C=g=i.createElement("link");dt(C),xt(C,"link",e),C._p=new Promise(function(U,G){C.onload=U,C.onerror=G}),C.addEventListener("load",function(){w.loading|=1}),C.addEventListener("error",function(){w.loading|=2}),w.loading|=4,_o(g,t,i)}g={type:"stylesheet",instance:g,count:1,state:w},s.set(u,g)}}}function p1(e,t){Pn.X(e,t);var a=Wr;if(a&&e){var i=gr(a).hoistableScripts,s=$r(e),u=i.get(s);u||(u=a.querySelector(nl(s)),u||(e=y({src:e,async:!0},t),(t=en.get(s))&&zu(e,t),u=a.createElement("script"),dt(u),xt(u,"link",e),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},i.set(s,u))}}function g1(e,t){Pn.M(e,t);var a=Wr;if(a&&e){var i=gr(a).hoistableScripts,s=$r(e),u=i.get(s);u||(u=a.querySelector(nl(s)),u||(e=y({src:e,async:!0,type:"module"},t),(t=en.get(s))&&zu(e,t),u=a.createElement("script"),dt(u),xt(u,"link",e),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},i.set(s,u))}}function qp(e,t,a,i){var s=(s=ee.current)?Do(s):null;if(!s)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=Fr(a.href),a=gr(s).hoistableStyles,i=a.get(t),i||(i={type:"style",instance:null,count:0,state:null},a.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Fr(a.href);var u=gr(s).hoistableStyles,g=u.get(e);if(g||(s=s.ownerDocument||s,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,g),(u=s.querySelector(tl(e)))&&!u._p&&(g.instance=u,g.state.loading=5),en.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},en.set(e,a),u||v1(s,e,a,g.state))),t&&i===null)throw Error(o(528,""));return g}if(t&&i!==null)throw Error(o(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=$r(a),a=gr(s).hoistableScripts,i=a.get(t),i||(i={type:"script",instance:null,count:0,state:null},a.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Fr(e){return'href="'+Kt(e)+'"'}function tl(e){return'link[rel="stylesheet"]['+e+"]"}function Pp(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function v1(e,t,a,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=1:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2}),xt(t,"link",a),dt(t),e.head.appendChild(t))}function $r(e){return'[src="'+Kt(e)+'"]'}function nl(e){return"script[async]"+e}function Yp(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+Kt(a.href)+'"]');if(i)return t.instance=i,dt(i),i;var s=y({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),dt(i),xt(i,"style",s),_o(i,a.precedence,e),t.instance=i;case"stylesheet":s=Fr(a.href);var u=e.querySelector(tl(s));if(u)return t.state.loading|=4,t.instance=u,dt(u),u;i=Pp(a),(s=en.get(s))&&ju(i,s),u=(e.ownerDocument||e).createElement("link"),dt(u);var g=u;return g._p=new Promise(function(w,C){g.onload=w,g.onerror=C}),xt(u,"link",i),t.state.loading|=4,_o(u,a.precedence,e),t.instance=u;case"script":return u=$r(a.src),(s=e.querySelector(nl(u)))?(t.instance=s,dt(s),s):(i=a,(s=en.get(u))&&(i=y({},a),zu(i,s)),e=e.ownerDocument||e,s=e.createElement("script"),dt(s),xt(s,"link",i),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,_o(i,a.precedence,e));return t.instance}function _o(e,t,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=i.length?i[i.length-1]:null,u=s,g=0;g<i.length;g++){var w=i[g];if(w.dataset.precedence===t)u=w;else if(u!==s)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function ju(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function zu(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var jo=null;function Vp(e,t,a){if(jo===null){var i=new Map,s=jo=new Map;s.set(a,i)}else s=jo,i=s.get(a),i||(i=new Map,s.set(a,i));if(i.has(e))return i;for(i.set(e,null),a=a.getElementsByTagName(e),s=0;s<a.length;s++){var u=a[s];if(!(u[pi]||u[Je]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var g=u.getAttribute(t)||"";g=e+g;var w=i.get(g);w?w.push(u):i.set(g,[u])}}return i}function Qp(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function y1(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Gp(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var al=null;function b1(){}function x1(e,t,a){if(al===null)throw Error(o(475));var i=al;
vendor: 9,717 bytes, line 9
9if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var s=Fr(a.href),u=e.querySelector(tl(s));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(i.count++,i=zo.bind(i),e.then(i,i)),t.state.loading|=4,t.instance=u,dt(u);return}u=e.ownerDocument||e,a=Pp(a),(s=en.get(s))&&ju(a,s),u=u.createElement("link"),dt(u);var g=u;g._p=new Promise(function(w,C){g.onload=w,g.onerror=C}),xt(u,"link",a),t.instance=u}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(i.count++,t=zo.bind(i),e.addEventListener("load",t),e.addEventListener("error",t))}}function w1(){if(al===null)throw Error(o(475));var e=al;return e.stylesheets&&e.count===0&&ku(e,e.stylesheets),0<e.count?function(t){var a=setTimeout(function(){if(e.stylesheets&&ku(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(a)}}:null}function zo(){if(this.count--,this.count===0){if(this.stylesheets)ku(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ko=null;function ku(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ko=new Map,t.forEach(S1,e),ko=null,zo.call(e))}function S1(e,t){if(!(t.state.loading&4)){var a=ko.get(e);if(a)var i=a.get(null);else{a=new Map,ko.set(e,a);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<s.length;u++){var g=s[u];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(a.set(g.dataset.precedence,g),i=g)}i&&a.set(null,i)}s=t.instance,g=s.getAttribute("data-precedence"),u=a.get(g)||i,u===i&&a.set(null,s),a.set(g,s),this.count++,i=zo.bind(this),s.addEventListener("load",i),s.addEventListener("error",i),u?u.parentNode.insertBefore(s,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=4}}var rl={$$typeof:_,Provider:null,Consumer:null,_currentValue:Z,_currentValue2:Z,_threadCount:0};function E1(e,t,a,i,s,u,g,w){this.tag=1,this.containerInfo=e,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=mi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mi(0),this.hiddenUpdates=mi(null),this.identifierPrefix=i,this.onUncaughtError=s,this.onCaughtError=u,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=w,this.incompleteTransitions=new Map}function Xp(e,t,a,i,s,u,g,w,C,U,G,K){return e=new E1(e,t,a,g,w,C,U,K),t=1,u===!0&&(t|=24),u=Ht(3,null,null,t),e.current=u,u.stateNode=e,t=gc(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:i,isDehydrated:a,cache:t},xc(u),e}function Kp(e){return e?(e=Mr,e):Mr}function Zp(e,t,a,i,s,u){s=Kp(s),i.context===null?i.context=s:i.pendingContext=s,i=na(t),i.payload={element:a},u=u===void 0?null:u,u!==null&&(i.callback=u),a=aa(e,i,t),a!==null&&(Yt(a,e,t),zi(a,e,t))}function Wp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function Uu(e,t){Wp(e,t),(e=e.alternate)&&Wp(e,t)}function Fp(e){if(e.tag===13){var t=Cr(e,67108864);t!==null&&Yt(t,e,67108864),Uu(e,67108864)}}var Uo=!0;function T1(e,t,a,i){var s=A.T;A.T=null;var u=Y.p;try{Y.p=2,Hu(e,t,a,i)}finally{Y.p=u,A.T=s}}function O1(e,t,a,i){var s=A.T;A.T=null;var u=Y.p;try{Y.p=8,Hu(e,t,a,i)}finally{Y.p=u,A.T=s}}function Hu(e,t,a,i){if(Uo){var s=Lu(i);if(s===null)Tu(e,t,i,Ho,a),Ip(e,i);else if(C1(s,e,t,a,i))i.stopPropagation();else if(Ip(e,i),t&4&&-1<R1.indexOf(e)){for(;s!==null;){var u=pr(s);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var g=fn(u.pendingLanes);if(g!==0){var w=u;for(w.pendingLanes|=2,w.entangledLanes|=2;g;){var C=1<<31-gt(g);w.entanglements[1]|=C,g&=~C}gn(u),(ke&6)===0&&(xo=nt()+500,$i(0))}}break;case 13:w=Cr(u,2),w!==null&&Yt(w,u,2),So(),Uu(u,2)}if(u=Lu(i),u===null&&Tu(e,t,i,Ho,a),u===s)break;s=u}s!==null&&i.stopPropagation()}else Tu(e,t,i,null,a)}}function Lu(e){return e=Vs(e),Bu(e)}var Ho=null;function Bu(e){if(Ho=null,e=mr(e),e!==null){var t=f(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=d(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Ho=e,null}function $p(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 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(Cl()){case Gt:return 2;case Ml:return 8;case ur:case Ot:return 32;case On:return 268435456;default:return 32}default:return 32}}var qu=!1,ga=null,va=null,ya=null,il=new Map,ll=new Map,ba=[],R1="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 Ip(e,t){switch(e){case"focusin":case"focusout":ga=null;break;case"dragenter":case"dragleave":va=null;break;case"mouseover":case"mouseout":ya=null;break;case"pointerover":case"pointerout":il.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ll.delete(t.pointerId)}}function ol(e,t,a,i,s,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:a,eventSystemFlags:i,nativeEvent:u,targetContainers:[s]},t!==null&&(t=pr(t),t!==null&&Fp(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function C1(e,t,a,i,s){switch(t){case"focusin":return ga=ol(ga,e,t,a,i,s),!0;case"dragenter":return va=ol(va,e,t,a,i,s),!0;case"mouseover":return ya=ol(ya,e,t,a,i,s),!0;case"pointerover":var u=s.pointerId;return il.set(u,ol(il.get(u)||null,e,t,a,i,s)),!0;case"gotpointercapture":return u=s.pointerId,ll.set(u,ol(ll.get(u)||null,e,t,a,i,s)),!0}return!1}function Jp(e){var t=mr(e.target);if(t!==null){var a=f(t);if(a!==null){if(t=a.tag,t===13){if(t=d(a),t!==null){e.blockedOn=t,ot(e.priority,function(){if(a.tag===13){var i=Pt();i=at(i);var s=Cr(a,i);s!==null&&Yt(s,a,i),Uu(a,i)}});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Lo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Lu(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a);Ys=i,a.target.dispatchEvent(i),Ys=null}else return t=pr(a),t!==null&&Fp(t),e.blockedOn=a,!1;t.shift()}return!0}function eg(e,t,a){Lo(e)&&a.delete(t)}function M1(){qu=!1,ga!==null&&Lo(ga)&&(ga=null),va!==null&&Lo(va)&&(va=null),ya!==null&&Lo(ya)&&(ya=null),il.forEach(eg),ll.forEach(eg)}function Bo(e,t){e.blockedOn===t&&(e.blockedOn=null,qu||(qu=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,M1)))}var qo=null;function tg(e){qo!==e&&(qo=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){qo===e&&(qo=null);for(var t=0;t<e.length;t+=3){var a=e[t],i=e[t+1],s=e[t+2];if(typeof i!="function"){if(Bu(i||a)===null)continue;break}var u=pr(a);u!==null&&(e.splice(t,3),t-=3,Bc(u,{pending:!0,data:s,method:a.method,action:i},i,s))}}))}function sl(e){function t(C){return Bo(C,e)}ga!==null&&Bo(ga,e),va!==null&&Bo(va,e),ya!==null&&Bo(ya,e),il.forEach(t),ll.forEach(t);for(var a=0;a<ba.length;a++){var i=ba[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<ba.length&&(a=ba[0],a.blockedOn===null);)Jp(a),a.blockedOn===null&&ba.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var s=a[i],u=a[i+1],g=s[Ve]||null;if(typeof u=="function")g||tg(a);else if(g){var w=null;if(u&&u.hasAttribute("formAction")){if(s=u,g=u[Ve]||null)w=g.formAction;else if(Bu(s)!==null)continue}else w=g.action;typeof w=="function"?a[i+1]=w:(a.splice(i,3),i-=3),tg(a)}}}function Pu(e){this._internalRoot=e}Po.prototype.render=Pu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var a=t.current,i=Pt();Zp(a,i,e,t,null,null)},Po.prototype.unmount=Pu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Zp(e.current,2,null,e,null,null),So(),t[ft]=null}};function Po(e){this._internalRoot=e}Po.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ua();e={blockedOn:null,target:e,priority:t};for(var a=0;a<ba.length&&t!==0&&t<ba[a].priority;a++);ba.splice(a,0,e),a===0&&Jp(e)}};
vendor: 36,657 bytes, line 9
9var ng=r.version;if(ng!=="19.1.0")throw Error(o(527,ng,"19.1.0"));Y.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=v(t),e=e!==null?p(e):null,e=e===null?null:e.stateNode,e};var N1={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:A,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Yo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yo.isDisabled&&Yo.supportsFiber)try{un=Yo.inject(N1),Rt=Yo}catch{}}return ul.createRoot=function(e,t){if(!c(e))throw Error(o(299));var a=!1,i="",s=ym,u=bm,g=xm,w=null;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(g=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(w=t.unstable_transitionCallbacks)),t=Xp(e,1,!1,null,null,a,i,s,u,g,w,null),e[ft]=t.current,Eu(e),new Pu(t)},ul.hydrateRoot=function(e,t,a){if(!c(e))throw Error(o(299));var i=!1,s="",u=ym,g=bm,w=xm,C=null,U=null;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(s=a.identifierPrefix),a.onUncaughtError!==void 0&&(u=a.onUncaughtError),a.onCaughtError!==void 0&&(g=a.onCaughtError),a.onRecoverableError!==void 0&&(w=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(C=a.unstable_transitionCallbacks),a.formState!==void 0&&(U=a.formState)),t=Xp(e,1,!0,t,a??null,i,s,u,g,w,C,U),t.context=Kp(null),a=t.current,i=Pt(),i=at(i),s=na(i),s.callback=null,aa(a,s,i),a=i,t.current.lanes=a,In(t,a),gn(t),e[ft]=t.current,Eu(e),new Po(t)},ul.version="19.1.0",ul}var dg;function B1(){if(dg)return Vu.exports;dg=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Vu.exports=L1(),Vu.exports}var q1=B1(),Sl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},P1=class extends Sl{#e;#t;#n;constructor(){super(),this.#n=n=>{if(typeof window<"u"&&window.addEventListener){const r=()=>n();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(n){this.#n=n,this.#t?.(),this.#t=n(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(n){this.#e!==n&&(this.#e=n,this.onFocus())}onFocus(){const n=this.isFocused();this.listeners.forEach(r=>{r(n)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Af=new P1,Y1={setTimeout:(n,r)=>setTimeout(n,r),clearTimeout:n=>clearTimeout(n),setInterval:(n,r)=>setInterval(n,r),clearInterval:n=>clearInterval(n)},V1=class{#e=Y1;#t=!1;setTimeoutProvider(n){this.#e=n}setTimeout(n,r){return this.#e.setTimeout(n,r)}clearTimeout(n){this.#e.clearTimeout(n)}setInterval(n,r){return this.#e.setInterval(n,r)}clearInterval(n){this.#e.clearInterval(n)}},rr=new V1;function Q1(n){setTimeout(n,0)}var G1=typeof window>"u"||"Deno"in globalThis;function zt(){}function X1(n,r){return typeof n=="function"?n(r):n}function sf(n){return typeof n=="number"&&n>=0&&n!==1/0}function Tv(n,r){return Math.max(n+(r||0)-Date.now(),0)}function Ta(n,r){return typeof n=="function"?n(r):n}function Qt(n,r){return typeof n=="function"?n(r):n}function hg(n,r){const{type:l="all",exact:o,fetchStatus:c,predicate:f,queryKey:d,stale:h}=n;if(d){if(o){if(r.queryHash!==Df(d,r.options))return!1}else if(!yl(r.queryKey,d))return!1}if(l!=="all"){const v=r.isActive();if(l==="active"&&!v||l==="inactive"&&v)return!1}return!(typeof h=="boolean"&&r.isStale()!==h||c&&c!==r.state.fetchStatus||f&&!f(r))}function mg(n,r){const{exact:l,status:o,predicate:c,mutationKey:f}=n;if(f){if(!r.options.mutationKey)return!1;if(l){if(vl(r.options.mutationKey)!==vl(f))return!1}else if(!yl(r.options.mutationKey,f))return!1}return!(o&&r.state.status!==o||c&&!c(r))}function Df(n,r){return(r?.queryKeyHashFn||vl)(n)}function vl(n){return JSON.stringify(n,(r,l)=>uf(l)?Object.keys(l).sort().reduce((o,c)=>(o[c]=l[c],o),{}):l)}function yl(n,r){return n===r?!0:typeof n!=typeof r?!1:n&&r&&typeof n=="object"&&typeof r=="object"?Object.keys(r).every(l=>yl(n[l],r[l])):!1}var K1=Object.prototype.hasOwnProperty;function Ov(n,r,l=0){if(n===r)return n;if(l>500)return r;const o=pg(n)&&pg(r);if(!o&&!(uf(n)&&uf(r)))return r;const f=(o?n:Object.keys(n)).length,d=o?r:Object.keys(r),h=d.length,v=o?new Array(h):{};let p=0;for(let y=0;y<h;y++){const m=o?y:d[y],T=n[m],R=r[m];if(T===R){v[m]=T,(o?y<f:K1.call(n,m))&&p++;continue}if(T===null||R===null||typeof T!="object"||typeof R!="object"){v[m]=R;continue}const O=Ov(T,R,l+1);v[m]=O,O===T&&p++}return f===h&&p===f?n:v}function cf(n,r){if(!r||Object.keys(n).length!==Object.keys(r).length)return!1;for(const l in n)if(n[l]!==r[l])return!1;return!0}function pg(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function uf(n){if(!gg(n))return!1;const r=n.constructor;if(r===void 0)return!0;const l=r.prototype;return!(!gg(l)||!l.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(n)!==Object.prototype)}function gg(n){return Object.prototype.toString.call(n)==="[object Object]"}function Z1(n){return new Promise(r=>{rr.setTimeout(r,n)})}function ff(n,r,l){return typeof l.structuralSharing=="function"?l.structuralSharing(n,r):l.structuralSharing!==!1?Ov(n,r):r}function W1(n,r,l=0){const o=[...n,r];return l&&o.length>l?o.slice(1):o}function F1(n,r,l=0){const o=[r,...n];return l&&o.length>l?o.slice(0,-1):o}var _f=Symbol();function Rv(n,r){return!n.queryFn&&r?.initialPromise?()=>r.initialPromise:!n.queryFn||n.queryFn===_f?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}function Cv(n,r){return typeof n=="function"?n(...r):!!n}function $1(n,r,l){let o=!1,c;return Object.defineProperty(n,"signal",{enumerable:!0,get:()=>(c??=r(),o||(o=!0,c.aborted?l():c.addEventListener("abort",l,{once:!0})),c)}),n}var bl=(()=>{let n=()=>G1;return{isServer(){return n()},setIsServer(r){n=r}}})();function df(){let n,r;const l=new Promise((c,f)=>{n=c,r=f});l.status="pending",l.catch(()=>{});function o(c){Object.assign(l,c),delete l.resolve,delete l.reject}return l.resolve=c=>{o({status:"fulfilled",value:c}),n(c)},l.reject=c=>{o({status:"rejected",reason:c}),r(c)},l}var I1=Q1;function J1(){let n=[],r=0,l=h=>{h()},o=h=>{h()},c=I1;const f=h=>{r?n.push(h):c(()=>{l(h)})},d=()=>{const h=n;n=[],h.length&&c(()=>{o(()=>{h.forEach(v=>{l(v)})})})};return{batch:h=>{let v;r++;try{v=h()}finally{r--,r||d()}return v},batchCalls:h=>(...v)=>{f(()=>{h(...v)})},schedule:f,setNotifyFunction:h=>{l=h},setBatchNotifyFunction:h=>{o=h},setScheduler:h=>{c=h}}}var wt=J1(),ew=class extends Sl{#e=!0;#t;#n;constructor(){super(),this.#n=n=>{if(typeof window<"u"&&window.addEventListener){const r=()=>n(!0),l=()=>n(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",l,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",l)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(n){this.#n=n,this.#t?.(),this.#t=n(this.setOnline.bind(this))}setOnline(n){this.#e!==n&&(this.#e=n,this.listeners.forEach(l=>{l(n)}))}isOnline(){return this.#e}},ls=new ew;function tw(n){return Math.min(1e3*2**n,3e4)}function Mv(n){return(n??"online")==="online"?ls.isOnline():!0}var hf=class extends Error{constructor(n){super("CancelledError"),this.revert=n?.revert,this.silent=n?.silent}};function Nv(n){let r=!1,l=0,o;const c=df(),f=()=>c.status!=="pending",d=S=>{if(!f()){const M=new hf(S);T(M),n.onCancel?.(M)}},h=()=>{r=!0},v=()=>{r=!1},p=()=>Af.isFocused()&&(n.networkMode==="always"||ls.isOnline())&&n.canRun(),y=()=>Mv(n.networkMode)&&n.canRun(),m=S=>{f()||(o?.(),c.resolve(S))},T=S=>{f()||(o?.(),c.reject(S))},R=()=>new Promise(S=>{o=M=>{(f()||p())&&S(M)},n.onPause?.()}).then(()=>{o=void 0,f()||n.onContinue?.()}),O=()=>{if(f())return;let S;const M=l===0?n.initialPromise:void 0;try{S=M??n.fn()}catch(N){S=Promise.reject(N)}Promise.resolve(S).then(m).catch(N=>{if(f())return;const z=n.retry??(bl.isServer()?0:3),_=n.retryDelay??tw,q=typeof _=="function"?_(l,N):_,P=z===!0||typeof z=="number"&&l<z||typeof z=="function"&&z(l,N);if(r||!P){T(N);return}l++,n.onFail?.(l,N),Z1(q).then(()=>p()?void 0:R()).then(()=>{r?T(N):O()})})};return{promise:c,status:()=>c.status,cancel:d,continue:()=>(o?.(),c),cancelRetry:h,continueRetry:v,canStart:y,start:()=>(y()?O():R().then(O),c)}}var Av=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),sf(this.gcTime)&&(this.#e=rr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(bl.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(rr.clearTimeout(this.#e),this.#e=void 0)}};function nw(n){return{onFetch:(r,l)=>{const o=r.options,c=r.fetchOptions?.meta?.fetchMore?.direction,f=r.state.data?.pages||[],d=r.state.data?.pageParams||[];let h={pages:[],pageParams:[]},v=0;const p=async()=>{let y=!1;const m=O=>{$1(O,()=>r.signal,()=>y=!0)},T=Rv(r.options,r.fetchOptions),R=async(O,S,M)=>{if(y)return Promise.reject(r.signal.reason);if(S==null&&O.pages.length)return Promise.resolve(O);const z=(()=>{const W={client:r.client,queryKey:r.queryKey,pageParam:S,direction:M?"backward":"forward",meta:r.options.meta};return m(W),W})(),_=await T(z),{maxPages:q}=r.options,P=M?F1:W1;return{pages:P(O.pages,_,q),pageParams:P(O.pageParams,S,q)}};if(c&&f.length){const O=c==="backward",S=O?aw:vg,M={pages:f,pageParams:d},N=S(o,M);h=await R(M,N,O)}else{const O=n??f.length;do{const S=v===0?d[0]??o.initialPageParam:vg(o,h);if(v>0&&S==null)break;h=await R(h,S),v++}while(v<O)}return h};r.options.persister?r.fetchFn=()=>r.options.persister?.(p,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},l):r.fetchFn=p}}}function vg(n,{pages:r,pageParams:l}){const o=r.length-1;return r.length>0?n.getNextPageParam(r[o],r,l[o],l):void 0}function aw(n,{pages:r,pageParams:l}){return r.length>0?n.getPreviousPageParam?.(r[0],r,l[0],l):void 0}var rw=class extends Av{#e;#t;#n;#a;#i;#r;#o;#l;constructor(n){super(),this.#l=!1,this.#o=n.defaultOptions,this.setOptions(n.options),this.observers=[],this.#i=n.client,this.#a=this.#i.getQueryCache(),this.queryKey=n.queryKey,this.queryHash=n.queryHash,this.#t=bg(this.options),this.state=n.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#r?.promise}setOptions(n){if(this.options={...this.#o,...n},n?._type&&(this.#e=n._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const r=bg(this.options);r.data!==void 0&&(this.setState(yg(r.data,r.dataUpdatedAt)),this.#t=r)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#a.remove(this)}setData(n,r){const l=ff(this.state.data,n,this.options);return this.#s({data:l,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),l}setState(n){this.#s({type:"setState",state:n})}cancel(n){const r=this.#r?.promise;return this.#r?.cancel(n),r?r.then(zt).catch(zt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(n=>Qt(n.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===_f||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(n=>Ta(n.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(n=>n.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(n=0){return this.state.data===void 0?!0:n==="static"?!1:this.state.isInvalidated?!0:!Tv(this.state.dataUpdatedAt,n)}onFocus(){this.observers.find(r=>r.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(r=>r.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(n){this.observers.includes(n)||(this.observers.push(n),this.clearGcTimeout(),this.#a.notify({type:"observerAdded",query:this,observer:n}))}removeObserver(n){this.observers.includes(n)&&(this.observers=this.observers.filter(r=>r!==n),this.observers.length||(this.#r&&(this.#l||this.#u()?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#a.notify({type:"observerRemoved",query:this,observer:n}))}getObserversCount(){return this.observers.length}#u(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}async fetch(n,r){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(n&&this.setOptions(n),!this.options.queryFn){const v=this.observers.find(p=>p.options.queryFn);v&&this.setOptions(v.options)}const l=new AbortController,o=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(this.#l=!0,l.signal)})},c=()=>{const v=Rv(this.options,r),y=(()=>{const m={client:this.#i,queryKey:this.queryKey,meta:this.meta};return o(m),m})();return this.#l=!1,this.options.persister?this.options.persister(v,y,this):v(y)},d=(()=>{const v={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:c};return o(v),v})();(this.#e==="infinite"?nw(this.options.pages):this.options.behavior)?.onFetch(d,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==d.fetchOptions?.meta)&&this.#s({type:"fetch",meta:d.fetchOptions?.meta}),this.#r=Nv({initialPromise:r?.initialPromise,fn:d.fetchFn,onCancel:v=>{v instanceof hf&&v.revert&&this.setState({...this.#n,fetchStatus:"idle"}),l.abort()},onFail:(v,p)=>{this.#s({type:"failed",failureCount:v,error:p})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0});try{const v=await this.#r.start();if(v===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(v),this.#a.config.onSuccess?.(v,this),this.#a.config.onSettled?.(v,this.state.error,this),v}catch(v){if(v instanceof hf){if(v.silent)return this.#r.promise;if(v.revert){if(this.state.data===void 0)throw v;return this.state.data}}throw this.#s({type:"error",error:v}),this.#a.config.onError?.(v,this),this.#a.config.onSettled?.(this.state.data,v,this),v}finally{this.scheduleGc()}}#s(n){const r=l=>{switch(n.type){case"failed":return{...l,fetchFailureCount:n.failureCount,fetchFailureReason:n.error};case"pause":return{...l,fetchStatus:"paused"};case"continue":return{...l,fetchStatus:"fetching"};case"fetch":return{...l,...Dv(l.data,this.options),fetchMeta:n.meta??null};case"success":const o={...l,...yg(n.data,n.dataUpdatedAt),dataUpdateCount:l.dataUpdateCount+1,...!n.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=n.manual?o:void 0,o;case"error":const c=n.error;return{...l,error:c,errorUpdateCount:l.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:l.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...l,isInvalidated:!0};case"setState":return{...l,...n.state}}};this.state=r(this.state),wt.batch(()=>{this.observers.forEach(l=>{l.onQueryUpdate()}),this.#a.notify({query:this,type:"updated",action:n})})}};function Dv(n,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Mv(r.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function yg(n,r){return{data:n,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function bg(n){const r=typeof n.initialData=="function"?n.initialData():n.initialData,l=r!==void 0,o=l?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:l?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:l?"success":"pending",fetchStatus:"idle"}}var iw=class extends Sl{constructor(n,r){super(),this.options=r,this.#e=n,this.#l=null,this.#o=df(),this.bindMethods(),this.setOptions(r)}#e;#t=void 0;#n=void 0;#a=void 0;#i;#r;#o;#l;#u;#s;#m;#f;#d;#c;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),xg(this.#t,this.options)?this.#h():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return mf(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return mf(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#x(),this.#w(),this.#t.removeObserver(this)}setOptions(n){const r=this.options,l=this.#t;if(this.options=this.#e.defaultQueryOptions(n),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Qt(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#S(),this.#t.setOptions(this.options),r._defaulted&&!cf(this.options,r)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const o=this.hasListeners();o&&wg(this.#t,l,this.options,r)&&this.#h(),this.updateResult(),o&&(this.#t!==l||Qt(this.options.enabled,this.#t)!==Qt(r.enabled,this.#t)||Ta(this.options.staleTime,this.#t)!==Ta(r.staleTime,this.#t))&&this.#g();const c=this.#v();o&&(this.#t!==l||Qt(this.options.enabled,this.#t)!==Qt(r.enabled,this.#t)||c!==this.#c)&&this.#y(c)}getOptimisticResult(n){const r=this.#e.getQueryCache().build(this.#e,n),l=this.createResult(r,n);return ow(this,l)&&(this.#a=l,this.#r=this.options,this.#i=this.#t.state),l}getCurrentResult(){return this.#a}trackResult(n,r){return new Proxy(n,{get:(l,o)=>(this.trackProp(o),r?.(o),o==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(l,o))})}trackProp(n){this.#p.add(n)}getCurrentQuery(){return this.#t}refetch({...n}={}){return this.fetch({...n})}fetchOptimistic(n){const r=this.#e.defaultQueryOptions(n),l=this.#e.getQueryCache().build(this.#e,r);return l.fetch().then(()=>this.createResult(l,r))}fetch(n){return this.#h({...n,cancelRefetch:n.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#a))}#h(n){this.#S();let r=this.#t.fetch(this.options,n);return n?.throwOnError||(r=r.catch(zt)),r}#g(){this.#x();const n=Ta(this.options.staleTime,this.#t);if(bl.isServer()||this.#a.isStale||!sf(n))return;const l=Tv(this.#a.dataUpdatedAt,n)+1;this.#f=rr.setTimeout(()=>{this.#a.isStale||this.updateResult()},l)}#v(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#y(n){this.#w(),this.#c=n,!(bl.isServer()||Qt(this.options.enabled,this.#t)===!1||!sf(this.#c)||this.#c===0)&&(this.#d=rr.setInterval(()=>{(this.options.refetchIntervalInBackground||Af.isFocused())&&this.#h()},this.#c))}#b(){this.#g(),this.#y(this.#v())}#x(){this.#f!==void 0&&(rr.clearTimeout(this.#f),this.#f=void 0)}#w(){this.#d!==void 0&&(rr.clearInterval(this.#d),this.#d=void 0)}createResult(n,r){const l=this.#t,o=this.options,c=this.#a,f=this.#i,d=this.#r,v=n!==l?n.state:this.#n,{state:p}=n;let y={...p},m=!1,T;if(r._optimisticResults){const B=this.hasListeners(),ie=!B&&xg(n,r),he=B&&wg(n,l,r,o);(ie||he)&&(y={...y,...Dv(p.data,n.options)}),r._optimisticResults==="isRestoring"&&(y.fetchStatus="idle")}let{error:R,errorUpdatedAt:O,status:S}=y;T=y.data;let M=!1;if(r.placeholderData!==void 0&&T===void 0&&S==="pending"){let B;c?.isPlaceholderData&&r.placeholderData===d?.placeholderData?(B=c.data,M=!0):B=typeof r.placeholderData=="function"?r.placeholderData(this.#m?.state.data,this.#m):r.placeholderData,B!==void 0&&(S="success",T=ff(c?.data,B,r),m=!0)}if(r.select&&T!==void 0&&!M)if(c&&T===f?.data&&r.select===this.#u)T=this.#s;else try{this.#u=r.select,T=r.select(T),T=ff(c?.data,T,r),this.#s=T,this.#l=null}catch(B){this.#l=B}this.#l&&(R=this.#l,T=this.#s,O=Date.now(),S="error");const N=y.fetchStatus==="fetching",z=S==="pending",_=S==="error",q=z&&N,P=T!==void 0,$={status:S,fetchStatus:y.fetchStatus,isPending:z,isSuccess:S==="success",isError:_,isInitialLoading:q,isLoading:q,data:T,dataUpdatedAt:y.dataUpdatedAt,error:R,errorUpdatedAt:O,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:n.isFetched(),isFetchedAfterMount:y.dataUpdateCount>v.dataUpdateCount||y.errorUpdateCount>v.errorUpdateCount,isFetching:N,isRefetching:N&&!z,isLoadingError:_&&!P,isPaused:y.fetchStatus==="paused",isPlaceholderData:m,isRefetchError:_&&P,isStale:jf(n,r),refetch:this.refetch,promise:this.#o,isEnabled:Qt(r.enabled,n)!==!1};if(this.options.experimental_prefetchInRender){const B=$.data!==void 0,ie=$.status==="error"&&!B,he=fe=>{ie?fe.reject($.error):B&&fe.resolve($.data)},ae=()=>{const fe=this.#o=$.promise=df();he(fe)},ue=this.#o;switch(ue.status){case"pending":n.queryHash===l.queryHash&&he(ue);break;case"fulfilled":(ie||$.data!==ue.value)&&ae();break;case"rejected":(!ie||$.error!==ue.reason)&&ae();break}}return $}updateResult(){const n=this.#a,r=this.createResult(this.#t,this.options);if(this.#i=this.#t.state,this.#r=this.options,this.#i.data!==void 0&&(this.#m=this.#t),cf(r,n))return;this.#a=r;const l=()=>{if(!n)return!0;const{notifyOnChangeProps:o}=this.options,c=typeof o=="function"?o():o;if(c==="all"||!c&&!this.#p.size)return!0;const f=new Set(c??this.#p);return this.options.throwOnError&&f.add("error"),Object.keys(this.#a).some(d=>{const h=d;return this.#a[h]!==n[h]&&f.has(h)})};this.#E({listeners:l()})}#S(){const n=this.#e.getQueryCache().build(this.#e,this.options);if(n===this.#t)return;const r=this.#t;this.#t=n,this.#n=n.state,this.hasListeners()&&(r?.removeObserver(this),n.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#E(n){wt.batch(()=>{n.listeners&&this.listeners.forEach(r=>{r(this.#a)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function lw(n,r){return Qt(r.enabled,n)!==!1&&n.state.data===void 0&&!(n.state.status==="error"&&Qt(r.retryOnMount,n)===!1)}function xg(n,r){return lw(n,r)||n.state.data!==void 0&&mf(n,r,r.refetchOnMount)}function mf(n,r,l){if(Qt(r.enabled,n)!==!1&&Ta(r.staleTime,n)!=="static"){const o=typeof l=="function"?l(n):l;return o==="always"||o!==!1&&jf(n,r)}return!1}function wg(n,r,l,o){return(n!==r||Qt(o.enabled,n)===!1)&&(!l.suspense||n.state.status!=="error")&&jf(n,l)}function jf(n,r){return Qt(r.enabled,n)!==!1&&n.isStaleByTime(Ta(r.staleTime,n))}function ow(n,r){return!cf(n.getCurrentResult(),r)}var sw=class extends Av{#e;#t;#n;#a;constructor(n){super(),this.#e=n.client,this.mutationId=n.mutationId,this.#n=n.mutationCache,this.#t=[],this.state=n.state||cw(),this.setOptions(n.options),this.scheduleGc()}setOptions(n){this.options=n,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(n){this.#t.includes(n)||(this.#t.push(n),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:n}))}removeObserver(n){this.#t=this.#t.filter(r=>r!==n),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:n})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#a?.continue()??this.execute(this.state.variables)}async execute(n){const r=()=>{this.#i({type:"continue"})},l={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=Nv({fn:()=>this.options.mutationFn?this.options.mutationFn(n,l):Promise.reject(new Error("No mutationFn found")),onFail:(f,d)=>{this.#i({type:"failed",failureCount:f,error:d})},onPause:()=>{this.#i({type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const o=this.state.status==="pending",c=!this.#a.canStart();try{if(o)r();else{this.#i({type:"pending",variables:n,isPaused:c}),this.#n.config.onMutate&&await this.#n.config.onMutate(n,this,l);const d=await this.options.onMutate?.(n,l);d!==this.state.context&&this.#i({type:"pending",context:d,variables:n,isPaused:c})}const f=await this.#a.start();return await this.#n.config.onSuccess?.(f,n,this.state.context,this,l),await this.options.onSuccess?.(f,n,this.state.context,l),await this.#n.config.onSettled?.(f,null,this.state.variables,this.state.context,this,l),await this.options.onSettled?.(f,null,n,this.state.context,l),this.#i({type:"success",data:f}),f}catch(f){try{await this.#n.config.onError?.(f,n,this.state.context,this,l)}catch(d){Promise.reject(d)}try{await this.options.onError?.(f,n,this.state.context,l)}catch(d){Promise.reject(d)}try{await this.#n.config.onSettled?.(void 0,f,this.state.variables,this.state.context,this,l)}catch(d){Promise.reject(d)}try{await this.options.onSettled?.(void 0,f,n,this.state.context,l)}catch(d){Promise.reject(d)}throw this.#i({type:"error",error:f}),f}finally{this.#n.runNext(this)}}#i(n){const r=l=>{switch(n.type){case"failed":return{...l,failureCount:n.failureCount,failureReason:n.error};case"pause":return{...l,isPaused:!0};case"continue":return{...l,isPaused:!1};case"pending":return{...l,context:n.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:n.isPaused,status:"pending",variables:n.variables,submittedAt:Date.now()};case"success":return{...l,data:n.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...l,data:void 0,error:n.error,failureCount:l.failureCount+1,failureReason:n.error,isPaused:!1,status:"error"}}};this.state=r(this.state),wt.batch(()=>{this.#t.forEach(l=>{l.onMutationUpdate(n)}),this.#n.notify({mutation:this,type:"updated",action:n})})}};function cw(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var uw=class extends Sl{constructor(n={}){super(),this.config=n,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(n,r,l){const o=new sw({client:n,mutationCache:this,mutationId:++this.#n,options:n.defaultMutationOptions(r),state:l});return this.add(o),o}add(n){this.#e.add(n);const r=Vo(n);if(typeof r=="string"){const l=this.#t.get(r);l?l.push(n):this.#t.set(r,[n])}this.notify({type:"added",mutation:n})}remove(n){if(this.#e.delete(n)){const r=Vo(n);if(typeof r=="string"){const l=this.#t.get(r);if(l)if(l.length>1){const o=l.indexOf(n);o!==-1&&l.splice(o,1)}else l[0]===n&&this.#t.delete(r)}}this.notify({type:"removed",mutation:n})}canRun(n){const r=Vo(n);if(typeof r=="string"){const o=this.#t.get(r)?.find(c=>c.state.status==="pending");return!o||o===n}else return!0}runNext(n){const r=Vo(n);return typeof r=="string"?this.#t.get(r)?.find(o=>o!==n&&o.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){wt.batch(()=>{this.#e.forEach(n=>{this.notify({type:"removed",mutation:n})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(n){const r={exact:!0,...n};return this.getAll().find(l=>mg(r,l))}findAll(n={}){return this.getAll().filter(r=>mg(n,r))}notify(n){wt.batch(()=>{this.listeners.forEach(r=>{r(n)})})}resumePausedMutations(){const n=this.getAll().filter(r=>r.state.isPaused);return wt.batch(()=>Promise.all(n.map(r=>r.continue().catch(zt))))}};function Vo(n){return n.options.scope?.id}var fw=class extends Sl{constructor(n={}){super(),this.config=n,this.#e=new Map}#e;build(n,r,l){const o=r.queryKey,c=r.queryHash??Df(o,r);let f=this.get(c);return f||(f=new rw({client:n,queryKey:o,queryHash:c,options:n.defaultQueryOptions(r),state:l,defaultOptions:n.getQueryDefaults(o)}),this.add(f)),f}add(n){this.#e.has(n.queryHash)||(this.#e.set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const r=this.#e.get(n.queryHash);r&&(n.destroy(),r===n&&this.#e.delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){wt.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return this.#e.get(n)}getAll(){return[...this.#e.values()]}find(n){const r={exact:!0,...n};return this.getAll().find(l=>hg(r,l))}findAll(n={}){const r=this.getAll();return Object.keys(n).length>0?r.filter(l=>hg(n,l)):r}notify(n){wt.batch(()=>{this.listeners.forEach(r=>{r(n)})})}onFocus(){wt.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){wt.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},dw=class{#e;#t;#n;#a;#i;#r;#o;#l;constructor(n={}){this.#e=n.queryCache||new fw,this.#t=n.mutationCache||new uw,this.#n=n.defaultOptions||{},this.#a=new Map,this.#i=new Map,this.#r=0}mount(){this.#r++,this.#r===1&&(this.#o=Af.subscribe(async n=>{n&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#l=ls.subscribe(async n=>{n&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#r--,this.#r===0&&(this.#o?.(),this.#o=void 0,this.#l?.(),this.#l=void 0)}isFetching(n){return this.#e.findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return this.#t.findAll({...n,status:"pending"}).length}getQueryData(n){const r=this.defaultQueryOptions({queryKey:n});return this.#e.get(r.queryHash)?.state.data}ensureQueryData(n){const r=this.defaultQueryOptions(n),l=this.#e.build(this,r),o=l.state.data;return o===void 0?this.fetchQuery(n):(n.revalidateIfStale&&l.isStaleByTime(Ta(r.staleTime,l))&&this.prefetchQuery(r),Promise.resolve(o))}getQueriesData(n){return this.#e.findAll(n).map(({queryKey:r,state:l})=>{const o=l.data;return[r,o]})}setQueryData(n,r,l){const o=this.defaultQueryOptions({queryKey:n}),f=this.#e.get(o.queryHash)?.state.data,d=X1(r,f);if(d!==void 0)return this.#e.build(this,o).setData(d,{...l,manual:!0})}setQueriesData(n,r,l){return wt.batch(()=>this.#e.findAll(n).map(({queryKey:o})=>[o,this.setQueryData(o,r,l)]))}getQueryState(n){const r=this.defaultQueryOptions({queryKey:n});return this.#e.get(r.queryHash)?.state}removeQueries(n){const r=this.#e;wt.batch(()=>{r.findAll(n).forEach(l=>{r.remove(l)})})}resetQueries(n,r){const l=this.#e;return wt.batch(()=>(l.findAll(n).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...n},r)))}cancelQueries(n,r={}){const l={revert:!0,...r},o=wt.batch(()=>this.#e.findAll(n).map(c=>c.cancel(l)));return Promise.all(o).then(zt).catch(zt)}invalidateQueries(n,r={}){return wt.batch(()=>(this.#e.findAll(n).forEach(l=>{l.invalidate()}),n?.refetchType==="none"?Promise.resolve():this.refetchQueries({...n,type:n?.refetchType??n?.type??"active"},r)))}refetchQueries(n,r={}){const l={...r,cancelRefetch:r.cancelRefetch??!0},o=wt.batch(()=>this.#e.findAll(n).filter(c=>!c.isDisabled()&&!c.isStatic()).map(c=>{let f=c.fetch(void 0,l);return l.throwOnError||(f=f.catch(zt)),c.state.fetchStatus==="paused"?Promise.resolve():f}));return Promise.all(o).then(zt)}fetchQuery(n){const r=this.defaultQueryOptions(n);r.retry===void 0&&(r.retry=!1);const l=this.#e.build(this,r);return l.isStaleByTime(Ta(r.staleTime,l))?l.fetch(r):Promise.resolve(l.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(zt).catch(zt)}fetchInfiniteQuery(n){return n._type="infinite",this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(zt).catch(zt)}ensureInfiniteQueryData(n){return n._type="infinite",this.ensureQueryData(n)}resumePausedMutations(){return ls.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(n){this.#n=n}setQueryDefaults(n,r){this.#a.set(vl(n),{queryKey:n,defaultOptions:r})}getQueryDefaults(n){const r=[...this.#a.values()],l={};return r.forEach(o=>{yl(n,o.queryKey)&&Object.assign(l,o.defaultOptions)}),l}setMutationDefaults(n,r){this.#i.set(vl(n),{mutationKey:n,defaultOptions:r})}getMutationDefaults(n){const r=[...this.#i.values()],l={};return r.forEach(o=>{yl(n,o.mutationKey)&&Object.assign(l,o.defaultOptions)}),l}defaultQueryOptions(n){if(n._defaulted)return n;const r={...this.#n.queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return r.queryHash||(r.queryHash=Df(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===_f&&(r.enabled=!1),r}defaultMutationOptions(n){return n?._defaulted?n:{...this.#n.mutations,...n?.mutationKey&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},x=bs();const J=Sv(x),xs=D1({__proto__:null,default:J},[x]);var _v=x.createContext(void 0),hw=n=>{const r=x.useContext(_v);if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},mw=({client:n,children:r})=>(x.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),b.jsx(_v.Provider,{value:n,children:r})),jv=x.createContext(!1),pw=()=>x.useContext(jv);jv.Provider;function gw(){let n=!1;return{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n}}var vw=x.createContext(gw()),yw=()=>x.useContext(vw),bw=(n,r,l)=>{const o=l?.state.error&&typeof n.throwOnError=="function"?Cv(n.throwOnError,[l.state.error,l]):n.throwOnError;(n.suspense||n.experimental_prefetchInRender||o)&&(r.isReset()||(n.retryOnMount=!1))},xw=n=>{x.useEffect(()=>{n.clearReset()},[n])},ww=({result:n,errorResetBoundary:r,throwOnError:l,query:o,suspense:c})=>n.isError&&!r.isReset()&&!n.isFetching&&o&&(c&&n.data===void 0||Cv(l,[n.error,o])),Sw=n=>{if(n.suspense){const l=c=>c==="static"?c:Math.max(c??1e3,1e3),o=n.staleTime;n.staleTime=typeof o=="function"?(...c)=>l(o(...c)):l(o),typeof n.gcTime=="number"&&(n.gcTime=Math.max(n.gcTime,1e3))}},Ew=(n,r)=>n.isLoading&&n.isFetching&&!r,Tw=(n,r)=>n?.suspense&&r.isPending,Sg=(n,r,l)=>r.fetchOptimistic(n).catch(()=>{l.clearReset()});function Ow(n,r,l){const o=pw(),c=yw(),f=hw(),d=f.defaultQueryOptions(n);f.getDefaultOptions().queries?._experimental_beforeQuery?.(d);const h=f.getQueryCache().get(d.queryHash),v=n.subscribed!==!1;d._optimisticResults=o?"isRestoring":v?"optimistic":void 0,Sw(d),bw(d,c,h),xw(c);const p=!f.getQueryCache().get(d.queryHash),[y]=x.useState(()=>new r(f,d)),m=y.getOptimisticResult(d),T=!o&&v;if(x.useSyncExternalStore(x.useCallback(R=>{const O=T?y.subscribe(wt.batchCalls(R)):zt;return y.updateResult(),O},[y,T]),()=>y.getCurrentResult(),()=>y.getCurrentResult()),x.useEffect(()=>{y.setOptions(d)},[d,y]),Tw(d,m))throw Sg(d,y,c);if(ww({result:m,errorResetBoundary:c,throwOnError:d.throwOnError,query:h,suspense:d.suspense}))throw m.error;return f.getDefaultOptions().queries?._experimental_afterQuery?.(d,m),d.experimental_prefetchInRender&&!bl.isServer()&&Ew(m,o)&&(p?Sg(d,y,c):h?.promise)?.catch(zt).finally(()=>{y.updateResult()}),d.notifyOnChangeProps?m:y.trackResult(m)}function zv(n,r){return Ow(n,iw)}function Rw(n,r){if(n instanceof RegExp)return{keys:!1,pattern:n};var l,o,c,f,d=[],h="",v=n.split("/");for(v[0]||v.shift();c=v.shift();)l=c[0],l==="*"?(d.push(l),h+=c[1]==="?"?"(?:/(.*))?":"/(.*)"):l===":"?(o=c.indexOf("?",1),f=c.indexOf(".",1),d.push(c.substring(1,~o?o:~f?f:c.length)),h+=~o&&!~f?"(?:/([^/]+?))?":"/([^/]+?)",~f&&(h+=(~o?"?":"")+"\\"+c.substring(f))):h+="/"+c;return{keys:d,pattern:new RegExp("^"+h+(r?"(?=$|/)":"/?$"),"i")}}var Zu={exports:{}},Wu={};var Eg;function Cw(){if(Eg)return Wu;Eg=1;var n=bs();function r(m,T){return m===T&&(m!==0||1/m===1/T)||m!==m&&T!==T}var l=typeof Object.is=="function"?Object.is:r,o=n.useState,c=n.useEffect,f=n.useLayoutEffect,d=n.useDebugValue;function h(m,T){var R=T(),O=o({inst:{value:R,getSnapshot:T}}),S=O[0].inst,M=O[1];return f(function(){S.value=R,S.getSnapshot=T,v(S)&&M({inst:S}
9)},[m,R,T]),c(function(){return v(S)&&M({inst:S}),m(function(){v(S)&&M({inst:S})})},[m]),d(R),R}function v(m){var T=m.getSnapshot;m=m.value;try{var R=T();return!l(m,R)}catch{return!0}}function p(m,T){return T()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:h;return Wu.useSyncExternalStore=n.useSyncExternalStore!==void 0?n.useSyncExternalStore:y,Wu}var Tg;function Mw(){return Tg||(Tg=1,Zu.exports=Cw()),Zu.exports}var Nw=Mw();const Aw=xs.useInsertionEffect,Dw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",_w=Dw?x.useLayoutEffect:x.useEffect,jw=Aw||_w,kv=n=>{const r=x.useRef([n,(...l)=>r[0](...l)]).current;return jw(()=>{r[0]=n}),r[1]},zw="popstate",zf="pushState",kf="replaceState",kw="hashchange",Og=[zw,zf,kf,kw],Uw=n=>{for(const r of Og)addEventListener(r,n);return()=>{for(const r of Og)removeEventListener(r,n)}},Uv=(n,r)=>Nw.useSyncExternalStore(Uw,n,r),Rg=()=>location.search,Hw=({ssrSearch:n}={})=>Uv(Rg,n!=null?()=>n:Rg),Cg=()=>location.pathname,Lw=({ssrPath:n}={})=>Uv(Cg,n!=null?()=>n:Cg),Bw=(n,{replace:r=!1,state:l=null}={})=>history[r?kf:zf](l,"",n),qw=(n={})=>[Lw(n),Bw],Mg=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Mg]>"u"){for(const n of[zf,kf]){const r=history[n];history[n]=function(){const l=r.apply(this,arguments),o=new Event(n);return o.arguments=arguments,dispatchEvent(o),l}}Object.defineProperty(window,Mg,{value:!0})}const Pw=(n,r)=>r.toLowerCase().indexOf(n.toLowerCase())?"~"+r:r.slice(n.length)||"/",Hv=(n="")=>n==="/"?"":n,Yw=(n,r)=>n[0]==="~"?n.slice(1):Hv(r)+n,Vw=(n="",r)=>Pw(Ng(Hv(n)),Ng(r)),Ng=n=>{try{return decodeURI(n)}catch{return n}},Lv={hook:qw,searchHook:Hw,parser:Rw,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:n=>n,aroundNav:(n,r,l)=>n(r,l)},Bv=x.createContext(Lv),ws=()=>x.useContext(Bv),qv={},Pv=x.createContext(qv),Qw=()=>x.useContext(Pv),Uf=n=>{const[r,l]=n.hook(n);return[Vw(n.base,r),kv((o,c)=>n.aroundNav(l,Yw(o,n.base),c))]},Yv=(n,r,l,o)=>{const{pattern:c,keys:f}=r instanceof RegExp?{keys:!1,pattern:r}:n(r||"*",o),d=c.exec(l)||[],[h,...v]=d;return h!==void 0?[!0,(()=>{const p=f!==!1?Object.fromEntries(f.map((m,T)=>[m,v[T]])):d.groups;let y={...v};return p&&Object.assign(y,p),y})(),...o?[h]:[]]:[!1,null]},Vv=({children:n,...r})=>{const l=ws(),o=r.hook?Lv:l;let c=o;const[f,d=r.ssrSearch??""]=r.ssrPath?.split("?")??[];f&&(r.ssrSearch=d,r.ssrPath=f),r.hrefs=r.hrefs??r.hook?.hrefs,r.searchHook=r.searchHook??r.hook?.searchHook;let h=x.useRef({}),v=h.current,p=v;for(let y in o){const m=y==="base"?o[y]+(r[y]??""):r[y]??o[y];v===p&&m!==p[y]&&(h.current=p={...p}),p[y]=m,(m!==o[y]||m!==c[y])&&(c=p)}return x.createElement(Bv.Provider,{value:c,children:n})},Ag=({children:n,component:r},l)=>r?x.createElement(r,{params:l}):typeof n=="function"?n(l):n,Gw=n=>{let r=x.useRef(qv);const l=r.current;return r.current=Object.keys(n).length!==Object.keys(l).length||Object.entries(n).some(([o,c])=>c!==l[o])?n:l},Fu=({path:n,nest:r,match:l,...o})=>{const c=ws(),[f]=Uf(c),[d,h,v]=l??Yv(c.parser,n,f,r),p=Gw({...Qw(),...h});if(!d)return null;const y=v?x.createElement(Vv,{base:v},Ag(o,p)):Ag(o,p);return x.createElement(Pv.Provider,{value:p,children:y})};x.forwardRef((n,r)=>{const l=ws(),[o,c]=Uf(l),{to:f="",href:d=f,onClick:h,asChild:v,children:p,className:y,replace:m,state:T,transition:R,...O}=n,S=kv(N=>{N.ctrlKey||N.metaKey||N.altKey||N.shiftKey||N.button!==0||(h?.(N),N.defaultPrevented||(N.preventDefault(),c(d,n)))}),M=l.hrefs(d[0]==="~"?d.slice(1):l.base+d,l);return v&&x.isValidElement(p)?x.cloneElement(p,{onClick:S,href:M}):x.createElement("a",{...O,onClick:S,href:M,className:y?.call?y(o===d):y,children:p,ref:r})});const Qv=n=>Array.isArray(n)?n.flatMap(r=>Qv(r&&r.type===x.Fragment?r.props.children:r)):[n],Xw=({children:n,location:r})=>{const l=ws(),[o]=Uf(l);for(const c of Qv(n)){let f=0;if(x.isValidElement(c)&&(f=Yv(l.parser,c.props.path,r||o,c.props.nest))[0])return x.cloneElement(c,{match:f})}return null};var ci=Ev();const Kw=Sv(ci);function Zw(n){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css",r.appendChild(l),l.styleSheet?l.styleSheet.cssText=n:l.appendChild(document.createTextNode(n))}const Ww=n=>{switch(n){case"success":return Iw;case"info":return eS;case"warning":return Jw;case"error":return tS;default:return null}},Fw=Array(12).fill(0),$w=({visible:n,className:r})=>J.createElement("div",{className:["sonner-loading-wrapper",r].filter(
vendor: 6,020 bytes, line 9
9Boolean).join(" "),"data-visible":n},J.createElement("div",{className:"sonner-spinner"},Fw.map((l,o)=>J.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${o}`})))),Iw=J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},J.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Jw=J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},J.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),eS=J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},J.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),tS=J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},J.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),nS=J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},J.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),J.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),aS=()=>{const[n,r]=J.useState(document.hidden);return J.useEffect(()=>{const l=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",l),()=>window.removeEventListener("visibilitychange",l)},[]),n};let pf=1;class rS{constructor(){this.subscribe=r=>(this.subscribers.push(r),()=>{const l=this.subscribers.indexOf(r);this.subscribers.splice(l,1)}),this.publish=r=>{this.subscribers.forEach(l=>l(r))},this.addToast=r=>{this.publish(r),this.toasts=[...this.toasts,r]},this.create=r=>{var l;const{message:o,...c}=r,f=typeof r?.id=="number"||((l=r.id)==null?void 0:l.length)>0?r.id:pf++,d=this.toasts.find(v=>v.id===f),h=r.dismissible===void 0?!0:r.dismissible;return this.dismissedToasts.has(f)&&this.dismissedToasts.delete(f),d?this.toasts=this.toasts.map(v=>v.id===f?(this.publish({...v,...r,id:f,title:o}),{...v,...r,id:f,dismissible:h,title:o}):v):this.addToast({title:o,...c,dismissible:h,id:f}),f},this.dismiss=r=>(r?(this.dismissedToasts.add(r),requestAnimationFrame(()=>this.subscribers.forEach(l=>l({id:r,dismiss:!0})))):this.toasts.forEach(l=>{this.subscribers.forEach(o=>o({id:l.id,dismiss:!0}))}),r),this.message=(r,l)=>this.create({...l,message:r}),this.error=(r,l)=>this.create({...l,message:r,type:"error"}),this.success=(r,l)=>this.create({...l,type:"success",message:r}),this.info=(r,l)=>this.create({...l,type:"info",message:r}),this.warning=(r,l)=>this.create({...l,type:"warning",message:r}),this.loading=(r,l)=>this.create({...l,type:"loading",message:r}),this.promise=(r,l)=>{if(!l)return;let o;l.loading!==void 0&&(o=this.create({...l,promise:r,type:"loading",message:l.loading,description:typeof l.description!="function"?l.description:void 0}));const c=Promise.resolve(r instanceof Function?r():r);let f=o!==void 0,d;const h=c.then(async p=>{if(d=["resolve",p],J.isValidElement(p))f=!1,this.create({id:o,type:"default",message:p});else if(lS(p)&&!p.ok){f=!1;const m=typeof l.error=="function"?await l.error(`HTTP error! status: ${p.status}`):l.error,T=typeof l.description=="function"?await l.description(`HTTP error! status: ${p.status}`):l.description,O=typeof m=="object"&&!J.isValidElement(m)?m:{message:m};this.create({id:o,type:"error",description:T,...O})}else if(p instanceof Error){f=!1;const m=typeof l.error=="function"?await l.error(p):l.error,T=typeof l.description=="function"?await l.description(p):l.description,O=typeof m=="object"&&!J.isValidElement(m)?m:{message:m};this.create({id:o,type:"error",description:T,...O})}else if(l.success!==void 0){f=!1;const m=typeof l.success=="function"?await l.success(p):l.success,T=typeof l.description=="function"?await l.description(p):l.description,O=typeof m=="object"&&!J.isValidElement(m)?m:{message:m};this.create({id:o,type:"success",description:T,...O})}}).catch(async p=>{if(d=["reject",p],l.error!==void 0){f=!1;const y=typeof l.error=="function"?await l.error(p):l.error,m=typeof l.description=="function"?await l.description(p):l.description,R=typeof y=="object"&&!J.isValidElement(y)?y:{message:y};this.create({id:o,type:"error",description:m,...R})}}).finally(()=>{f&&(this.dismiss(o),o=void 0),l.finally==null||l.finally.call(l)}),v=()=>new Promise((p,y)=>h.then(()=>d[0]==="reject"?y(d[1]):p(d[1])).catch(y));return typeof o!="string"&&typeof o!="number"?{unwrap:v}:Object.assign(o,{unwrap:v})},this.custom=(r,l)=>{const o=l?.id||pf++;return this.create({jsx:r(o),id:o,...l}),o},this.getActiveToasts=()=>this.toasts.filter(r=>!this.dismissedToasts.has(r.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const jt=new rS,iS=(n,r)=>{const l=r?.id||pf++;return jt.addToast({title:n,...r,id:l}),l},lS=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",oS=iS,sS=()=>jt.toasts,cS=()=>jt.getActiveToasts(),uS=Object.assign(oS,{success:jt.success,info:jt.info,warning:jt.warning,error:jt.error,custom:jt.custom,message:jt.message,promise:jt.promise,dismiss:jt.dismiss,loading:jt.loading},{getHistory:sS,getToasts:cS});Zw
vendor: 4,787 bytes, line 9
9("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;
vendor: 10,086 bytes, line 9
9left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function
vendor: 1,670 bytes, line 9
9Qo(n){return n.label!==void 0}const fS=3,dS="24px",hS="16px",Dg=4e3,mS=356,pS=14,gS=45,vS=200;function vn(...n){return n.filter(Boolean).join(" ")}function yS(n){const[r,l]=n.split("-"),o=[];return r&&o.push(r),l&&o.push(l),o}const bS=n=>{var r,l,o,c,f,d,h,v,p;const{invert:y,toast:m,unstyled:T,interacting:R,setHeights:O,visibleToasts:S,heights:M,index:N,toasts:z,expanded:_,removeToast:q,defaultRichColors:P,closeButton:W,style:$,cancelButtonStyle:B,actionButtonStyle:ie,className:he="",descriptionClassName:ae="",duration:ue,position:fe,gap:be,expandByDefault:de,classNames:A,icons:Y,closeButtonAriaLabel:Z="Close toast"}=n,[re,E]=J.useState(null),[V,F]=J.useState(null),[Q,I]=J.useState(!1),[te,ee]=J.useState(!1),[le,ne]=J.useState(!1),[pe,Re]=J.useState(!1),[Se,Ne]=J.useState(!1),[lt,Ge]=J.useState(0),[ja,Wn]=J.useState(0),nt=J.useRef(m.duration||ue||Dg),Cl=J.useRef(null),Gt=J.useRef(null),Ml=N===0,ur=N+1<=S,Ot=m.type,On=m.dismissible!==!1,js=m.className||"",zs=m.descriptionClassName||"",un=J.useMemo(()=>M.findIndex(xe=>xe.toastId===m.id)||0,[M,m.id]),Rt=J.useMemo(()=>{var xe;return(xe=m.closeButton)!=null?xe:W},[m.closeButton,W]),tn=J.useMemo(()=>m.duration||ue||Dg,[m.duration,ue]),gt=J.useRef(0),Fn=J.useRef(0),Nl=J.useRef(0),$n=J.useRef(null),[fr,dr]=fe.split("-"),fn=J.useMemo(()=>M.reduce((xe,$e,at)=>at>=un?xe:xe+$e.height,0),[M,un]),za=aS(),ka=m.invert||y,hi=Ot==="loading";Fn.current=J.useMemo(()=>un*be+fn,[un,fn]),J.useEffect(()=>{nt.current=tn},[tn]),J.useEffect(()=>{I(!0)},[]),J.useEffect(()=>{const xe=Gt.current;if(xe){const $e=xe.getBoundingClientRect().height;return Wn($e),O(at=>[{toastId:m.id,height:$e,position:m.position},...at]),()=>
vendor: 11,332 bytes, line 9
9O(at=>at.filter(vt=>vt.toastId!==m.id))}},[O,m.id]),J.useLayoutEffect(()=>{if(!Q)return;const xe=Gt.current,$e=xe.style.height;xe.style.height="auto";const at=xe.getBoundingClientRect().height;xe.style.height=$e,Wn(at),O(vt=>vt.find(ot=>ot.toastId===m.id)?vt.map(ot=>ot.toastId===m.id?{...ot,height:at}:ot):[{toastId:m.id,height:at,position:m.position},...vt])},[Q,m.title,m.description,O,m.id,m.jsx,m.action,m.cancel]);const nn=J.useCallback(()=>{ee(!0),Ge(Fn.current),O(xe=>xe.filter($e=>$e.toastId!==m.id)),setTimeout(()=>{q(m)},vS)},[m,q,O,Fn]);J.useEffect(()=>{if(m.promise&&Ot==="loading"||m.duration===1/0||m.type==="loading")return;let xe;return _||R||za?(()=>{if(Nl.current<gt.current){const vt=new Date().getTime()-gt.current;nt.current=nt.current-vt}Nl.current=new Date().getTime()})():nt.current!==1/0&&(gt.current=new Date().getTime(),xe=setTimeout(()=>{m.onAutoClose==null||m.onAutoClose.call(m,m),nn()},nt.current)),()=>clearTimeout(xe)},[_,R,m,Ot,za,nn]),J.useEffect(()=>{m.delete&&(nn(),m.onDismiss==null||m.onDismiss.call(m,m))},[nn,m.delete]);function Al(){var xe;if(Y?.loading){var $e;return J.createElement("div",{className:vn(A?.loader,m==null||($e=m.classNames)==null?void 0:$e.loader,"sonner-loader"),"data-visible":Ot==="loading"},Y.loading)}return J.createElement($w,{className:vn(A?.loader,m==null||(xe=m.classNames)==null?void 0:xe.loader),visible:Ot==="loading"})}const mi=m.icon||Y?.[Ot]||Ww(Ot);var In,Dl;return J.createElement("li",{tabIndex:0,ref:Gt,className:vn(he,js,A?.toast,m==null||(r=m.classNames)==null?void 0:r.toast,A?.default,A?.[Ot],m==null||(l=m.classNames)==null?void 0:l[Ot]),"data-sonner-toast":"","data-rich-colors":(In=m.richColors)!=null?In:P,"data-styled":!(m.jsx||m.unstyled||T),"data-mounted":Q,"data-promise":!!m.promise,"data-swiped":Se,"data-removed":te,"data-visible":ur,"data-y-position":fr,"data-x-position":dr,"data-index":N,"data-front":Ml,"data-swiping":le,"data-dismissible":On,"data-type":Ot,"data-invert":ka,"data-swipe-out":pe,"data-swipe-direction":V,"data-expanded":!!(_||de&&Q),"data-testid":m.testId,style:{"--index":N,"--toasts-before":N,"--z-index":z.length-N,"--offset":`${te?lt:Fn.current}px`,"--initial-height":de?"auto":`${ja}px`,...$,...m.style},onDragEnd:()=>{ne(!1),E(null),$n.current=null},onPointerDown:xe=>{xe.button!==2&&(hi||!On||(Cl.current=new Date,Ge(Fn.current),xe.target.setPointerCapture(xe.pointerId),xe.target.tagName!=="BUTTON"&&(ne(!0),$n.current={x:xe.clientX,y:xe.clientY})))},onPointerUp:()=>{var xe,$e,at;if(pe||!On)return;$n.current=null;const vt=Number(((xe=Gt.current)==null?void 0:xe.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Ua=Number((($e=Gt.current)==null?void 0:$e.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),ot=new Date().getTime()-((at=Cl.current)==null?void 0:at.getTime()),Ie=re==="x"?vt:Ua,Je=Math.abs(Ie)/ot;if(Math.abs(Ie)>=gS||Je>.11){Ge(Fn.current),m.onDismiss==null||m.onDismiss.call(m,m),F(re==="x"?vt>0?"right":"left":Ua>0?"down":"up"),nn(),Re(!0);return}else{var Ve,ft;(Ve=Gt.current)==null||Ve.style.setProperty("--swipe-amount-x","0px"),(ft=Gt.current)==null||ft.style.setProperty("--swipe-amount-y","0px")}Ne(!1),ne(!1),E(null)},onPointerMove:xe=>{var $e,at,vt;if(!$n.current||!On||(($e=window.getSelection())==null?void 0:$e.toString().length)>0)return;const ot=xe.clientY-$n.current.y,Ie=xe.clientX-$n.current.x;var Je;const Ve=(Je=n.swipeDirections)!=null?Je:yS(fe);!re&&(Math.abs(Ie)>1||Math.abs(ot)>1)&&E(Math.abs(Ie)>Math.abs(ot)?"x":"y");let ft={x:0,y:0};const hr=Rn=>1/(1.5+Math.abs(Rn)/20);if(re==="y"){if(Ve.includes("top")||Ve.includes("bottom"))if(Ve.includes("top")&&ot<0||Ve.includes("bottom")&&ot>0)ft.y=ot;else{const Rn=ot*hr(ot);ft.y=Math.abs(Rn)<Math.abs(ot)?Rn:ot}}else if(re==="x"&&(Ve.includes("left")||Ve.includes("right")))if(Ve.includes("left")&&Ie<0||Ve.includes("right")&&Ie>0)ft.x=Ie;else{const Rn=Ie*hr(Ie);ft.x=Math.abs(Rn)<Math.abs(Ie)?Rn:Ie}(Math.abs(ft.x)>0||Math.abs(ft.y)>0)&&Ne(!0),(at=Gt.current)==null||at.style.setProperty("--swipe-amount-x",`${ft.x}px`),(vt=Gt.current)==null||vt.style.setProperty("--swipe-amount-y",`${ft.y}px`)}},Rt&&!m.jsx&&Ot!=="loading"?J.createElement("button",{"aria-label":Z,"data-disabled":hi,"data-close-button":!0,onClick:hi||!On?()=>{}:()=>{nn(),m.onDismiss==null||m.onDismiss.call(m,m)},className:vn(A?.closeButton,m==null||(o=m.classNames)==null?void 0:o.closeButton)},(Dl=Y?.close)!=null?Dl:nS):null,(Ot||m.icon||m.promise)&&m.icon!==null&&(Y?.[Ot]!==null||m.icon)?J.createElement("div",{"data-icon":"",className:vn(A?.icon,m==null||(c=m.classNames)==null?void 0:c.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||Al():null,m.type!=="loading"?mi:null):null,J.createElement("div",{"data-content":"",className:vn(A?.content,m==null||(f=m.classNames)==null?void 0:f.content)},J.createElement("div",{"data-title":"",className:vn(A?.title,m==null||(d=m.classNames)==null?void 0:d.title)},m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title),m.description?J.createElement("div",{"data-description":"",className:vn(ae,zs,A?.description,m==null||(h=m.classNames)==null?void 0:h.description)},typeof m.description=="function"?m.description():m.description):null),J.isValidElement(m.cancel)?m.cancel:m.cancel&&Qo(m.cancel)?J.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||B,onClick:xe=>{Qo(m.cancel)&&On&&(m.cancel.onClick==null||m.cancel.onClick.call(m.cancel,xe),nn())},className:vn(A?.cancelButton,m==null||(v=m.classNames)==null?void 0:v.cancelButton)},m.cancel.label):null,J.isValidElement(m.action)?m.action:m.action&&Qo(m.action)?J.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||ie,onClick:xe=>{Qo(m.action)&&(m.action.onClick==null||m.action.onClick.call(m.action,xe),!xe.defaultPrevented&&nn())},className:vn(A?.actionButton,m==null||(p=m.classNames)==null?void 0:p.actionButton)},m.action.label):null)};function _g(){if(typeof window>"u"||typeof document>"u")return"ltr";const n=document.documentElement.getAttribute("dir");return n==="auto"||!n?window.getComputedStyle(document.documentElement).direction:n}function xS(n,r){const l={};return[n,r].forEach((o,c)=>{const f=c===1,d=f?"--mobile-offset":"--offset",h=f?hS:dS;function v(p){["top","right","bottom","left"].forEach(y=>{l[`${d}-${y}`]=typeof p=="number"?`${p}px`:p})}typeof o=="number"||typeof o=="string"?v(o):typeof o=="object"?["top","right","bottom","left"].forEach(p=>{o[p]===void 0?l[`${d}-${p}`]=h:l[`${d}-${p}`]=typeof o[p]=="number"?`${o[p]}px`:o[p]}):v(h)}),l}const wS=J.forwardRef(function(r,l){const{id:o,invert:c,position:f="bottom-right",hotkey:d=["altKey","KeyT"],expand:h,closeButton:v,className:p,offset:y,mobileOffset:m,theme:T="light",richColors:R,duration:O,style:S,visibleToasts:M=fS,toastOptions:N,dir:z=_g(),gap:_=pS,icons:q,containerAriaLabel:P="Notifications"}=r,[W,$]=J.useState([]),B=J.useMemo(()=>o?W.filter(Q=>Q.toasterId===o):W.filter(Q=>!Q.toasterId),[W,o]),ie=J.useMemo(()=>Array.from(new Set([f].concat(B.filter(Q=>Q.position).map(Q=>Q.position)))),[B,f]),[he,ae]=J.useState([]),[ue,fe]=J.useState(!1),[be,de]=J.useState(!1),[A,Y]=J.useState(T!=="system"?T:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),Z=J.useRef(null),re=d.join("+").replace(/Key/g,"").replace(/Digit/g,""),E=J.useRef(null),V=J.useRef(!1),F=J.useCallback(Q=>{$(I=>{var te;return(te=I.find(ee=>ee.id===Q.id))!=null&&te.delete||jt.dismiss(Q.id),I.filter(({id:ee})=>ee!==Q.id)})},[]);return J.useEffect(()=>jt.subscribe(Q=>{if(Q.dismiss){requestAnimationFrame(()=>{$(I=>I.map(te=>te.id===Q.id?{...te,delete:!0}:te))});return}setTimeout(()=>{Kw.flushSync(()=>{$(I=>{const te=I.findIndex(ee=>ee.id===Q.id);return te!==-1?[...I.slice(0,te),{...I[te],...Q},...I.slice(te+1)]:[Q,...I]})})})}),[W]),J.useEffect(()=>{if(T!=="system"){Y(T);return}if(T==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Y("dark"):Y("light")),typeof window>"u")return;const Q=window.matchMedia("(prefers-color-scheme: dark)");try{Q.addEventListener("change",({matches:I})=>{Y(I?"dark":"light")})}catch{Q.addListener(({matches:te})=>{try{Y(te?"dark":"light")}catch(ee){console.error(ee)}})}},[T]),J.useEffect(()=>{W.length<=1&&fe(!1)},[W]),J.useEffect(()=>{const Q=I=>{var te;if(d.every(ne=>I[ne]||I.code===ne)){var le;fe(!0),(le=Z.current)==null||le.focus()}I.code==="Escape"&&(document.activeElement===Z.current||(te=Z.current)!=null&&te.contains(document.activeElement))&&fe(!1)};return document.addEventListener("keydown",Q),()=>document.removeEventListener("keydown",Q)},[d]),J.useEffect(()=>{if(Z.current)return()=>{E.current&&(E.current.focus({preventScroll:!0}),E.current=null,V.current=!1)}},[Z.current]),J.createElement("section",{ref:l,"aria-label":`${P} ${re}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},ie.map((Q,I)=>{var te;const[ee,le]=Q.split("-");return B.length?J.createElement("ol",{key:Q,dir:z==="auto"?_g():z,tabIndex:-1,ref:Z,className:p,"data-sonner-toaster":!0,"data-sonner-theme":A,"data-y-position":ee,"data-x-position":le,style:{"--front-toast-height":`${((te=he[0])==null?void 0:te.height)||0}px`,"--width":`${mS}px`,"--gap":`${_}px`,...S,...xS(y,m)},onBlur:ne=>{V.current&&!ne.currentTarget.contains(ne.relatedTarget)&&(V.current=!1,E.current&&(E.current.focus({preventScroll:!0}),E.current=null))},onFocus:ne=>{ne.target instanceof HTMLElement&&ne.target.dataset.dismissible==="false"||V.current||(V.current=!0,E.current=ne.relatedTarget)},onMouseEnter:()=>fe(!0),onMouseMove:()=>fe(!0),onMouseLeave:()=>{be||fe(!1)},onDragEnd:()=>fe(!1),onPointerDown:ne=>{ne.target instanceof HTMLElement&&ne.target.dataset.dismissible==="false"||de(!0)},onPointerUp:()=>de(!1)},B.filter(ne=>!ne.position&&I===0||ne.position===Q).map((ne,pe)=>{var Re,Se;return J.createElement(bS,{key:ne.id,icons:q,index:pe,toast:ne,defaultRichColors:R,duration:(Re=N?.duration)!=null?Re:O,className:N?.className,descriptionClassName:N?.descriptionClassName,invert:c,visibleToasts:M,closeButton:(Se=N?.closeButton)!=null?Se:v,interacting:be,position:Q,style:N?.style,unstyled:N?.unstyled,classNames:N?.classNames,cancelButtonStyle:N?.cancelButtonStyle,actionButtonStyle:N?.actionButtonStyle,closeButtonAriaLabel:N?.closeButtonAriaLabel,removeToast:F,toasts:B.filter(Ne=>Ne.position==ne.position),heights:he.filter(Ne=>Ne.position==ne.position),setHeights:ae,expandByDefault:h,gap:_,expanded:ue,swipeDirections:r.swipeDirections})})):null}))});function Gv(n){var r,l,o="";if(typeof n=="string"||typeof n=="number")o+=n;else if(typeof n=="object")if(Array.isArray(n)){var c=n.length;for(r=0;r<c;r++)n[r]&&(l=Gv(n[r]))&&(o&&(o+=" "),o+=l)}else for(l in n)n[l]&&(o&&(o+=" "),o+=l);return o}function Xv(){for(var n,r,l=0,o="",c=arguments.length;l<c;l++)(n=arguments[l])&&(r=Gv(n))&&(o&&(o+=" "),o+=r);return o}const SS=(n,r)=>{const l=new Array(n.length+r.length);for(let o=0;o<n.length;o++)l[o]=n[o];for(let o=0;o<r.length;o++)l[n.length+o]=r[o];return l},ES=(n,r)=>({classGroupId:n,validator:r}),Kv=(n=new Map,r=null,l)=>({nextPart:n,validators:r,classGroupId:l}),os="-",jg=[],TS="arbitrary..",OS=n=>{const r=CS(n),{conflictingClassGroups:l,conflictingClassGroupModifiers:o}=n;return{getClassGroupId:d=>
vendor: 3,960 bytes, line 9
9{if(d.startsWith("[")&&d.endsWith("]"))return RS(d);const h=d.split(os),v=h[0]===""&&h.length>1?1:0;return Zv(h,v,r)},getConflictingClassGroupIds:(d,h)=>{if(h){const v=o[d],p=l[d];return v?p?SS(p,v):v:p||jg}return l[d]||jg}}},Zv=(n,r,l)=>{if(n.length-r===0)return l.classGroupId;const c=n[r],f=l.nextPart.get(c);if(f){const p=Zv(n,r+1,f);if(p)return p}const d=l.validators;if(d===null)return;const h=r===0?n.join(os):n.slice(r).join(os),v=d.length;for(let p=0;p<v;p++){const y=d[p];if(y.validator(h))return y.classGroupId}},RS=n=>n.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=n.slice(1,-1),l=r.indexOf(":"),o=r.slice(0,l);return o?TS+o:void 0})(),CS=n=>{const{theme:r,classGroups:l}=n;return MS(l,r)},MS=(n,r)=>{const l=Kv();for(const o in n){const c=n[o];Hf(c,l,o,r)}return l},Hf=(n,r,l,o)=>{const c=n.length;for(let f=0;f<c;f++){const d=n[f];NS(d,r,l,o)}},NS=(n,r,l,o)=>{if(typeof n=="string"){AS(n,r,l);return}if(typeof n=="function"){DS(n,r,l,o);return}_S(n,r,l,o)},AS=(n,r,l)=>{const o=n===""?r:Wv(r,n);o.classGroupId=l},DS=(n,r,l,o)=>{if(jS(n)){Hf(n(o),r,l,o);return}r.validators===null&&(r.validators=[]),r.validators.push(ES(l,n))},_S=(n,r,l,o)=>{const c=Object.entries(n),f=c.length;for(let d=0;d<f;d++){const[h,v]=c[d];Hf(v,Wv(r,h),l,o)}},Wv=(n,r)=>{let l=n;const o=r.split(os),c=o.length;for(let f=0;f<c;f++){const d=o[f];let h=l.nextPart.get(d);h||(h=Kv(),l.nextPart.set(d,h)),l=h}return l},jS=n=>"isThemeGetter"in n&&n.isThemeGetter===!0,zS=n=>{if(n<1)return{get:()=>{},set:()=>{}};let r=0,l=Object.create(null),o=Object.create(null);const c=(f,d)=>{l[f]=d,r++,r>n&&(r=0,o=l,l=Object.create(null))};return{get(f){let d=l[f];if(d!==void 0)return d;if((d=o[f])!==void 0)return c(f,d),d},set(f,d){f in l?l[f]=d:c(f,d)}}},gf="!",zg=":",kS=[],kg=(n,r,l,o,c)=>({modifiers:n,hasImportantModifier:r,baseClassName:l,maybePostfixModifierPosition:o,isExternal:c}),US=n=>{const{prefix:r,experimentalParseClassName:l}=n;let o=c=>{const f=[];let d=0,h=0,v=0,p;const y=c.length;for(let S=0;S<y;S++){const M=c[S];if(d===0&&h===0){if(M===zg){f.push(c.slice(v,S)),v=S+1;continue}if(M==="/"){p=S;continue}}M==="["?d++:M==="]"?d--:M==="("?h++:M===")"&&h--}const m=f.length===0?c:c.slice(v);let T=m,R=!1;m.endsWith(gf)?(T=m.slice(0,-1),R=!0):m.startsWith(gf)&&(T=m.slice(1),R=!0);const O=p&&p>v?p-v:void 0;return kg(f,R,T,O)};if(r){const c=r+zg,f=o;o=d=>d.startsWith(c)?f(d.slice(c.length)):kg(kS,!1,d,void 0,!0)}if(l){const c=o;o=f=>l({className:f,parseClassName:c})}return o},HS=n=>{const r=new Map;return n.orderSensitiveModifiers.forEach((l,o)=>{r.set(l,1e6+o)}),l=>{const o=[];let c=[];for(let f=0;f<l.length;f++){const d=l[f],h=d[0]==="[",v=r.has(d);h||v?(c.length>0&&(c.sort(),o.push(...c),c=[]),o.push(d)):c.push(d)}return c.length>0&&(c.sort(),o.push(...c)),o}},LS=n=>({cache:zS(n.cacheSize),parseClassName:US(n),sortModifiers:HS(n),postfixLookupClassGroupIds:BS(n),...OS(n)}),BS=n=>{const r=Object.create(null),l=n.postfixLookupClassGroups;if(l)for(let o=0;o<l.length;o++)r[l[o]]=!0;return r},qS=/\s+/,PS=(n,r)=>{const{parseClassName:l,getClassGroupId:o,getConflictingClassGroupIds:c,sortModifiers:f,postfixLookupClassGroupIds:d}=r,h=[],v=n.trim().split(qS);let p="";for(let y=v.length-1;y>=0;y-=1){const m=v[y],{isExternal:T,modifiers:R,hasImportantModifier:O,baseClassName:S,maybePostfixModifierPosition:M}=l(m);if(T){p=m+(p.length>0?" "+p:p);continue}let N=!!M,z;if(N){const $=S.substring(0,M);z=o($);const B=z&&d[z]?o(S):void 0;B&&B!==z&&(z=B,N=!1)}else z=o(S);if(!z){if(!N){p=m+(p.length>0?" "+p:p);continue}if(z=o(S),!z){p=m+(p.length>0?" "+p:p);continue}N=!1}const _=R.length===0?"":R.length===1?R[0]:f(R).join(":"),q=O?_+gf:_,P=q+z;if(h.indexOf(P)>-1)continue;h.push(P);const W=c(z,N);for(let $=0;$<W.length;++$){const B=W[$];h.push(q+B)}p=m+(p.length>0?" "+p:p)}return p},YS=(...n)=>{let r=0,l,o,c="";for(;r<n.length;)(l=n[r++])&&(o=Fv(l))&&(c&&(c+=" "),c+=o);return c},Fv=n=>{if(typeof n=="string")return n;let r,l="";for(let o=0;o<n.length;
vendor: 4,517 bytes, line 9
9o++)n[o]&&(r=Fv(n[o]))&&(l&&(l+=" "),l+=r);return l},VS=(n,...r)=>{let l,o,c,f;const d=v=>{const p=r.reduce((y,m)=>m(y),n());return l=LS(p),o=l.cache.get,c=l.cache.set,f=h,h(v)},h=v=>{const p=o(v);if(p)return p;const y=PS(v,l);return c(v,y),y};return f=d,(...v)=>f(YS(...v))},QS=[],ut=n=>{const r=l=>l[n]||QS;return r.isThemeGetter=!0,r},$v=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Iv=/^\((?:(\w[\w-]*):)?(.+)\)$/i,GS=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,XS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,KS=/\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$/,ZS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,WS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,FS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,wa=n=>GS.test(n),Te=n=>!!n&&!Number.isNaN(Number(n)),yn=n=>!!n&&Number.isInteger(Number(n)),$u=n=>n.endsWith("%")&&Te(n.slice(0,-1)),Yn=n=>XS.test(n),Jv=()=>!0,$S=n=>KS.test(n)&&!ZS.test(n),Lf=()=>!1,IS=n=>WS.test(n),JS=n=>FS.test(n),eE=n=>!oe(n)&&!se(n),tE=n=>n.startsWith("@container")&&(n[10]==="/"&&n[11]!==void 0||n[11]==="s"&&n[16]!==void 0&&n.startsWith("-size/",10)||n[11]==="n"&&n[18]!==void 0&&n.startsWith("-normal/",10)),nE=n=>Na(n,ny,Lf),oe=n=>$v.test(n),er=n=>Na(n,ay,$S),Ug=n=>Na(n,uE,Te),aE=n=>Na(n,iy,Jv),rE=n=>Na(n,ry,Lf),Hg=n=>Na(n,ey,Lf),iE=n=>Na(n,ty,JS),Go=n=>Na(n,ly,IS),se=n=>Iv.test(n),fl=n=>sr(n,ay),lE=n=>sr(n,ry),Lg=n=>sr(n,ey),oE=n=>sr(n,ny),sE=n=>sr(n,ty),Xo=n=>sr(n,ly,!0),cE=n=>sr(n,iy,!0),Na=(n,r,l)=>{const o=$v.exec(n);return o?o[1]?r(o[1]):l(o[2]):!1},sr=(n,r,l=!1)=>{const o=Iv.exec(n);return o?o[1]?r(o[1]):l:!1},ey=n=>n==="position"||n==="percentage",ty=n=>n==="image"||n==="url",ny=n=>n==="length"||n==="size"||n==="bg-size",ay=n=>n==="length",uE=n=>n==="number",ry=n=>n==="family-name",iy=n=>n==="number"||n==="weight",ly=n=>n==="shadow",fE=()=>{const n=ut("color"),r=ut("font"),l=ut("text"),o=ut("font-weight"),c=ut("tracking"),f=ut("leading"),d=ut("breakpoint"),h=ut("container"),v=ut("spacing"),p=ut("radius"),y=ut("shadow"),m=ut("inset-shadow"),T=ut("text-shadow"),R=ut("drop-shadow"),O=ut("blur"),S=ut("perspective"),M=ut("aspect"),N=ut("ease"),z=ut("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],P=()=>[...q(),se,oe],W=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],B=()=>[se,oe,v],ie=()=>[wa,"full","auto",...B()],he=()=>[yn,"none","subgrid",se,oe],ae=()=>["auto",{span:["full",yn,se,oe]},yn,se,oe],ue=()=>[yn,"auto",se,oe],fe=()=>["auto","min","max","fr",se,oe],be=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],de=()=>["start","end","center","stretch","center-safe","end-safe"],A=()=>["auto",...B()],Y=()=>[wa,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...B()],Z=()=>[wa,"screen","full","dvw","lvw","svw","min","max","fit",...B()],re=()=>[wa,"screen","full","lh","dvh","lvh","svh","min","max","fit",...B()],E=()=>[n,se,oe],V=()=>[...q(),Lg,Hg,{position:[se,oe]}],F=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Q=()=>["auto","cover","contain",oE,nE,{size:[se,oe]}],I=()=>[$u,fl,er],te=()=>["","none","full",p,se,oe],ee=()=>["",Te,fl,er],le=()=>["solid","dashed","dotted","double"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>[Te,$u,Lg,Hg],Re=()=>["","none",O,se,oe],Se=()=>["none",Te,se,oe],Ne=()=>["none",Te,se,oe],lt=()=>[Te,se,oe],Ge=()=>[wa,"full",...B()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Yn],breakpoint:[Yn],color:[Jv],container:[Yn],"drop-shadow":[Yn],ease:["in","out","in-out"],font:[eE],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Yn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Yn],shadow:[Yn],spacing:["px",Te],text:[Yn],"text-shadow":[Yn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",wa,oe,se,M]}],container:["container"],"container-type":[{"@container":["","normal","size",se,oe]}
vendor: 6,155 bytes, line 9
9],"container-named":[tE],columns:[{columns:[Te,oe,se,h]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"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:P()}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ie()}],"inset-x":[{"inset-x":ie()}],"inset-y":[{"inset-y":ie()}],start:[{"inset-s":ie(),start:ie()}],end:[{"inset-e":ie(),end:ie()}],"inset-bs":[{"inset-bs":ie()}],"inset-be":[{"inset-be":ie()}],top:[{top:ie()}],right:[{right:ie()}],bottom:[{bottom:ie()}],left:[{left:ie()}],visibility:["visible","invisible","collapse"],z:[{z:[yn,"auto",se,oe]}],basis:[{basis:[wa,"full","auto",h,...B()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Te,wa,"auto","initial","none",oe]}],grow:[{grow:["",Te,se,oe]}],shrink:[{shrink:["",Te,se,oe]}],order:[{order:[yn,"first","last","none",se,oe]}],"grid-cols":[{"grid-cols":he()}],"col-start-end":[{col:ae()}],"col-start":[{"col-start":ue()}],"col-end":[{"col-end":ue()}],"grid-rows":[{"grid-rows":he()}],"row-start-end":[{row:ae()}],"row-start":[{"row-start":ue()}],"row-end":[{"row-end":ue()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":fe()}],"auto-rows":[{"auto-rows":fe()}],gap:[{gap:B()}],"gap-x":[{"gap-x":B()}],"gap-y":[{"gap-y":B()}],"justify-content":[{justify:[...be(),"normal"]}],"justify-items":[{"justify-items":[...de(),"normal"]}],"justify-self":[{"justify-self":["auto",...de()]}],"align-content":[{content:["normal",...be()]}],"align-items":[{items:[...de(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...de(),{baseline:["","last"]}]}],"place-content":[{"place-content":be()}],"place-items":[{"place-items":[...de(),"baseline"]}],"place-self":[{"place-self":["auto",...de()]}],p:[{p:B()}],px:[{px:B()}],py:[{py:B()}],ps:[{ps:B()}],pe:[{pe:B()}],pbs:[{pbs:B()}],pbe:[{pbe:B()}],pt:[{pt:B()}],pr:[{pr:B()}],pb:[{pb:B()}],pl:[{pl:B()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mbs:[{mbs:A()}],mbe:[{mbe:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":B()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":B()}],"space-y-reverse":["space-y-reverse"],size:[{size:Y()}],"inline-size":[{inline:["auto",...Z()]}],"min-inline-size":[{"min-inline":["auto",...Z()]}],"max-inline-size":[{"max-inline":["none",...Z()]}],"block-size":[{block:["auto",...re()]}],"min-block-size":[{"min-block":["auto",...re()]}],"max-block-size":[{"max-block":["none",...re()]}],w:[{w:[h,"screen",...Y()]}],"min-w":[{"min-w":[h,"screen","none",...Y()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[d]},...Y()]}],h:[{h:["screen","lh",...Y()]}],"min-h":[{"min-h":["screen","lh","none",...Y()]}],"max-h":[{"max-h":["screen","lh",...Y()]}],"font-size":[{text:["base",l,fl,er]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,cE,aE]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",$u,oe]}],"font-family":[{font:[lE,rE,r]}],"font-features":[{"font-features":[oe]}],"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:[c,se,oe]}],"line-clamp":[{"line-clamp":[Te,"none",se,Ug]}],leading:[{leading:[f,...B()]}],"list-image":[{"list-image":["none",se,oe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",se,oe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:E()}],"text-color":[{text:E()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:[Te,"from-font","auto",se,er]}],"text-decoration-color":[{decoration:E()}],"underline-offset":[{"underline-offset":[Te,"auto",se,oe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"tab-size":[{tab:[yn,se,oe]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",se,oe]}],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",se,oe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:V()}],"bg-repeat":[{bg:F()}],"bg-size":[{bg:Q()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},yn,se,oe],radial:["",se,oe],conic:[yn,se,oe]},sE,iE]}],"bg-color":[{bg:E()}],"gradient-from-pos":[{from:I()}
vendor: 7,425 bytes, line 9
9],"gradient-via-pos":[{via:I()}],"gradient-to-pos":[{to:I()}],"gradient-from":[{from:E()}],"gradient-via":[{via:E()}],"gradient-to":[{to:E()}],rounded:[{rounded:te()}],"rounded-s":[{"rounded-s":te()}],"rounded-e":[{"rounded-e":te()}],"rounded-t":[{"rounded-t":te()}],"rounded-r":[{"rounded-r":te()}],"rounded-b":[{"rounded-b":te()}],"rounded-l":[{"rounded-l":te()}],"rounded-ss":[{"rounded-ss":te()}],"rounded-se":[{"rounded-se":te()}],"rounded-ee":[{"rounded-ee":te()}],"rounded-es":[{"rounded-es":te()}],"rounded-tl":[{"rounded-tl":te()}],"rounded-tr":[{"rounded-tr":te()}],"rounded-br":[{"rounded-br":te()}],"rounded-bl":[{"rounded-bl":te()}],"border-w":[{border:ee()}],"border-w-x":[{"border-x":ee()}],"border-w-y":[{"border-y":ee()}],"border-w-s":[{"border-s":ee()}],"border-w-e":[{"border-e":ee()}],"border-w-bs":[{"border-bs":ee()}],"border-w-be":[{"border-be":ee()}],"border-w-t":[{"border-t":ee()}],"border-w-r":[{"border-r":ee()}],"border-w-b":[{"border-b":ee()}],"border-w-l":[{"border-l":ee()}],"divide-x":[{"divide-x":ee()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ee()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...le(),"hidden","none"]}],"divide-style":[{divide:[...le(),"hidden","none"]}],"border-color":[{border:E()}],"border-color-x":[{"border-x":E()}],"border-color-y":[{"border-y":E()}],"border-color-s":[{"border-s":E()}],"border-color-e":[{"border-e":E()}],"border-color-bs":[{"border-bs":E()}],"border-color-be":[{"border-be":E()}],"border-color-t":[{"border-t":E()}],"border-color-r":[{"border-r":E()}],"border-color-b":[{"border-b":E()}],"border-color-l":[{"border-l":E()}],"divide-color":[{divide:E()}],"outline-style":[{outline:[...le(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Te,se,oe]}],"outline-w":[{outline:["",Te,fl,er]}],"outline-color":[{outline:E()}],shadow:[{shadow:["","none",y,Xo,Go]}],"shadow-color":[{shadow:E()}],"inset-shadow":[{"inset-shadow":["none",m,Xo,Go]}],"inset-shadow-color":[{"inset-shadow":E()}],"ring-w":[{ring:ee()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:E()}],"ring-offset-w":[{"ring-offset":[Te,er]}],"ring-offset-color":[{"ring-offset":E()}],"inset-ring-w":[{"inset-ring":ee()}],"inset-ring-color":[{"inset-ring":E()}],"text-shadow":[{"text-shadow":["none",T,Xo,Go]}],"text-shadow-color":[{"text-shadow":E()}],opacity:[{opacity:[Te,se,oe]}],"mix-blend":[{"mix-blend":[...ne(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ne()}],"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":[Te]}],"mask-image-linear-from-pos":[{"mask-linear-from":pe()}],"mask-image-linear-to-pos":[{"mask-linear-to":pe()}],"mask-image-linear-from-color":[{"mask-linear-from":E()}],"mask-image-linear-to-color":[{"mask-linear-to":E()}],"mask-image-t-from-pos":[{"mask-t-from":pe()}],"mask-image-t-to-pos":[{"mask-t-to":pe()}],"mask-image-t-from-color":[{"mask-t-from":E()}],"mask-image-t-to-color":[{"mask-t-to":E()}],"mask-image-r-from-pos":[{"mask-r-from":pe()}],"mask-image-r-to-pos":[{"mask-r-to":pe()}],"mask-image-r-from-color":[{"mask-r-from":E()}],"mask-image-r-to-color":[{"mask-r-to":E()}],"mask-image-b-from-pos":[{"mask-b-from":pe()}],"mask-image-b-to-pos":[{"mask-b-to":pe()}],"mask-image-b-from-color":[{"mask-b-from":E()}],"mask-image-b-to-color":[{"mask-b-to":E()}],"mask-image-l-from-pos":[{"mask-l-from":pe()}],"mask-image-l-to-pos":[{"mask-l-to":pe()}],"mask-image-l-from-color":[{"mask-l-from":E()}],"mask-image-l-to-color":[{"mask-l-to":E()}],"mask-image-x-from-pos":[{"mask-x-from":pe()}],"mask-image-x-to-pos":[{"mask-x-to":pe()}],"mask-image-x-from-color":[{"mask-x-from":E()}],"mask-image-x-to-color":[{"mask-x-to":E()}],"mask-image-y-from-pos":[{"mask-y-from":pe()}],"mask-image-y-to-pos":[{"mask-y-to":pe()}],"mask-image-y-from-color":[{"mask-y-from":E()}],"mask-image-y-to-color":[{"mask-y-to":E()}],"mask-image-radial":[{"mask-radial":[se,oe]}],"mask-image-radial-from-pos":[{"mask-radial-from":pe()}],"mask-image-radial-to-pos":[{"mask-radial-to":pe()}],"mask-image-radial-from-color":[{"mask-radial-from":E()}],"mask-image-radial-to-color":[{"mask-radial-to":E()}],"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":q()}],"mask-image-conic-pos":[{"mask-conic":[Te]}],"mask-image-conic-from-pos":[{"mask-conic-from":pe()}],"mask-image-conic-to-pos":[{"mask-conic-to":pe()}],"mask-image-conic-from-color":[{"mask-conic-from":E()}],"mask-image-conic-to-color":[{"mask-conic-to":E()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:V()}],"mask-repeat":[{mask:F()}],"mask-size":[{mask:Q()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",se,oe]}],filter:[{filter:["","none",se,oe]}],blur:[{blur:Re()}],brightness:[{brightness:[Te,se,oe]}],contrast:[{contrast:[Te,se,oe]}],"drop-shadow":[{"drop-shadow":["","none",R,Xo,Go]}],"drop-shadow-color":[{"drop-shadow":E()}],grayscale:[{grayscale:["",Te,se,oe]}],"hue-rotate":[{"hue-rotate":[Te,se,oe]}],invert:[{invert:["",Te,se,oe]}],saturate:[{saturate:[Te,se,oe]}],sepia:[{sepia:["",Te,se,oe]}],"backdrop-filter":[{"backdrop-filter":["","none",se,oe]}],"backdrop-blur":[{"backdrop-blur":Re()}],"backdrop-brightness":[{"backdrop-brightness":[Te,se,oe]}],"backdrop-contrast":[{"backdrop-contrast":[Te,se,oe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Te,se,oe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Te,se,oe]}],"backdrop-invert":[{"backdrop-invert":["",Te,se,oe]}],"backdrop-opacity":[{"backdrop-opacity":[Te,se,oe]}],"backdrop-saturate":[{"backdrop-saturate":[Te,se,oe]}],"backdrop-sepia":[{"backdrop-sepia":["",Te,se,oe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":B()}],"border-spacing-x":[{"border-spacing-x":B()}],"border-spacing-y":[{"border-spacing-y":B()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",se,oe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Te,"initial",se,oe]}],ease:[{ease:["linear","initial",N,se,oe]}],delay:[{delay:[Te,se,oe]}],animate:[{animate:["none",z,se,oe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,se,oe]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:Se()}],"rotate-x":[{"rotate-x":Se()}],"rotate-y":[{"rotate-y":Se()}],"rotate-z":[{"rotate-z":Se()}],scale:[{scale:Ne()}],"scale-x":[{"scale-x":Ne()}],"scale-y":[{"scale-y":Ne()}],"scale-z":[{"scale-z":Ne()}],"scale-3d":["scale-3d"],skew:[{skew:lt()}],"skew-x":[{"skew-x":lt()}],"skew-y":[{"skew-y":lt()}],transform:[{transform:[se,oe,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"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"],zoom:[{zoom:[yn,se,oe]}],accent:[{accent:E()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:E()}
vendor: 5,205 bytes, line 9
9],"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",se,oe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":E()}],"scrollbar-track-color":[{"scrollbar-track":E()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mbs":[{"scroll-mbs":B()}],"scroll-mbe":[{"scroll-mbe":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pbs":[{"scroll-pbs":B()}],"scroll-pbe":[{"scroll-pbe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"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",se,oe]}],fill:[{fill:["none",...E()]}],"stroke-w":[{stroke:[Te,fl,er,Ug]}],stroke:[{stroke:["none",...E()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},dE=VS(fE);function Xe(...n){return dE(Xv(n))}const ss=x.forwardRef(({className:n,...r},l)=>b.jsx("div",{ref:l,className:Xe("rounded-xl border bg-card text-card-foreground shadow-sm",n
9),...r}));ss.displayName="Card";const hE=x.forwardRef(({className:n,...r},l)=>b.jsx("div",{ref:l,className:Xe("flex flex-col space-y-1.5 p-6",n),...r}));hE.displayName="CardHeader";const mE=x.forwardRef(({className:n,...r},l)=>b.jsx("h3",{ref:l,className:Xe("text-2xl font-semibold leading-none tracking-tight",n),...r}));mE.displayName="CardTitle";const pE=x.forwardRef(({className:n,...r},l)=>b.jsx("p",{ref:l,className:Xe("text-sm text-muted-foreground",n),...r}));pE.displayName="CardDescription";const cs=x.forwardRef(({className:n,...r},l)=>b.jsx("div",{ref:l,className:Xe("p-6 pt-0",n),...r}));cs.displayName="CardContent";const gE=x.forwardRef(({className:n,...r},l)=>b.jsx("div",{ref:l,className:Xe("flex items-center p-6 pt-0",n),...r}));gE.displayName="CardFooter";function Bg(n,r){if(typeof n=="function")return n(r);n!=null&&(n.current=r)}function vE(...n){return r=>{let l=!1;const o=n.map(c=>{const f=Bg(c,r);return!l&&typeof f=="function"&&(l=!0),f});if(l)return()=>{for(let c=0;c<o.length;c++){const f=o[c];typeof f=="function"?f():Bg(n[c],null)}}}}function Ye(...n){return x.useCallback(vE(...n),n)}function oi(n){const r=x.forwardRef((l,o)=>{let{children:c,...f}=l,d=null,h=!1;const v=[];qg(c)&&typeof Ko=="function"&&(c=Ko(c._payload)),x.Children.forEach(c,T=>{if(EE(T)){h=!0;const R=T;let O="child"in R.props?R.props.child:R.props.children;qg(O)&&typeof Ko=="function"&&(O=Ko(O._payload)),d=xE(R,O),v.push(d?.props?.children)}else v.push(T)}),d?d=x.cloneElement(d,void 0,v):!h&&x.Children.count(c)===1&&x.isValidElement(c)&&(d=c);const p=d?SE(d):void 0,y=Ye(o,p);if(!d){if(c||c===0)throw new Error(h?CE(n):RE(n));return c}const m=wE(f,d.props??{});return d.type!==x.Fragment&&(m.ref=o?y:p),x.cloneElement(d,m)});return r.displayName=`${n}.Slot`,r}var yE=oi("Slot"),bE=Symbol.for("radix.slottable"),xE=(n,r)=>{if("child"in n.props){const l=n.props.child;return x.isValidElement(l)?x.cloneElement(l,void 0,n.props.children(l.props.children)):null}return x.isValidElement(r)?r:null};function wE(n,r){const l={...r};for(const o in r){const c=n[o],f=r[o];/^on[A-Z]/.test(o)?c&&f?l[o]=(...h)=>{const v=f(...h);return c(...h),v}:c&&(l[o]=c):o==="style"?l[o]={...c,...f}:o==="className"&&(l[o]=[c,f].filter(Boolean).join(" "))}return{...n,...l}}function SE(n){let r=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,l=r&&"isReactWarning"in r&&r.isReactWarning;return l?n.ref:(r=Object.getOwnPropertyDescriptor(n,"ref")?.get,l=r&&"isReactWarning"in r&&r.isReactWarning,l?n.props.ref:n.props.ref||n.ref)}function EE(n){return x.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===bE}var TE=Symbol.for("react.lazy");function qg(n){return n!=null&&typeof n=="object"&&"$$typeof"in n&&n.$$typeof===TE&&"_payload"in n&&OE(n._payload)}function OE(n){return typeof n=="object"&&n!==null&&"then"in n}var RE=n=>`${n} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,CE=n=>`${n} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,Ko=xs[" use ".trim().toString()];const Pg=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,Yg=Xv,oy=(n,r)=>l=>{var o;if(r?.variants==null)return Yg(n,l?.class,l?.className);const{variants:c,defaultVariants:f}=r,d=Object.keys(c).map(p=>{const y=l?.[p],m=f?.[p];if(y===null)return null;const T=Pg(y)||Pg(m);return c[p][T]}),h=l&&Object.entries(l).reduce((p,y)=>{let[m,T]=y;return T===void 0||(p[m]=T),p},{}),v=r==null||(o=r.compoundVariants)===null||o===void 0?void 0:o.reduce((p,y)=>{let{class:m,className:T,...R}=y;return Object.entries(R).every(O=>{let[S,M]=O;return Array.isArray(M)?M.includes({...f,...h}[S]):{...f,...h}[S]===M})?[...p,m,T]:p},[]);return Yg(n,d,v,l?.class,l?.className)},ME=oy("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),sy=x.forwardRef(({className:n,variant:r,size:l,asChild:o=!1,...c},f)=>
9{const d=o?yE:"button";return b.jsx(d,{className:Xe(ME({variant:r,size:l,className:n})),ref:f,...c})});sy.displayName="Button";function us(n,[r,l]){return Math.min(l,Math.max(r,n))}function ze(n,r,{checkForDefaultPrevented:l=!0}={}){return function(c){if(n?.(c),l===!1||!c||!c.defaultPrevented)return r?.(c)}}function El(n,r=[]){let l=[];function o(f,d){const h=x.createContext(d);h.displayName=f+"Context";const v=l.length;l=[...l,d];const p=m=>{const{scope:T,children:R,...O}=m,S=T?.[n]?.[v]||h,M=x.useMemo(()=>O,Object.values(O));return b.jsx(S.Provider,{value:M,children:R})};p.displayName=f+"Provider";function y(m,T,R={}){const{optional:O=!1}=R,S=T?.[n]?.[v]||h,M=x.useContext(S);if(M)return M;if(d!==void 0)return d;if(!O)throw new Error(`\`${m}\` must be used within \`${f}\``)}return[p,y]}const c=()=>{const f=l.map(d=>x.createContext(d));return function(h){const v=h?.[n]||f;return x.useMemo(()=>({[`__scope${n}`]:{...h,[n]:v}}),[h,v])}};return c.scopeName=n,[o,NE(c,...r)]}function NE(...n){const r=n[0];if(n.length===1)return r;const l=()=>{const o=n.map(c=>({useScope:c(),scopeName:c.scopeName}));return function(f){const d=o.reduce((h,{useScope:v,scopeName:p})=>{const m=v(f)[`__scope${p}`];return{...h,...m}},{});return x.useMemo(()=>({[`__scope${r.scopeName}`]:d}),[d])}};return l.scopeName=r.scopeName,l}var St=globalThis?.document?x.useLayoutEffect:()=>{},AE=xs[" useInsertionEffect ".trim().toString()]||St;function fs({prop:n,defaultProp:r,onChange:l=()=>{},caller:o}){const[c,f,d]=DE({defaultProp:r,onChange:l}),h=n!==void 0,v=h?n:c;{const y=x.useRef(n!==void 0);x.useEffect(()=>{const m=y.current;m!==h&&console.warn(`${o} is changing from ${m?"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.`),y.current=h},[h,o])}const p=x.useCallback(y=>{if(h){const m=_E(y)?y(n):y;m!==n&&d.current?.(m)}else f(y)},[h,n,f,d]);return[v,p]}function DE({defaultProp:n,onChange:r}){const[l,o]=x.useState(n),c=x.useRef(l),f=x.useRef(r);return AE(()=>{f.current=r},[r]),x.useEffect(()=>{c.current!==l&&(f.current?.(l),c.current=l)},[l,c]),[l,o,f]}function _E(n){return typeof n=="function"}var jE=x.createContext(void 0);function cy(n){const r=x.useContext(jE);return n||r||"ltr"}function uy(n){const r=x.useRef({value:n,previous:n});return x.useMemo(()=>(r.current.value!==n&&(r.current.previous=r.current.value,r.current.value=n),r.current.previous),[n])}function fy(n){const[r,l]=x.useState(void 0);return St(()=>{if(n){l({width:n.offsetWidth,height:n.offsetHeight});const o=new ResizeObserver(c=>{if(!Array.isArray(c)||!c.length)return;const f=c[0];let d,h;if("borderBoxSize"in f){const v=f.borderBoxSize,p=Array.isArray(v)?v[0]:v;d=p.inlineSize,h=p.blockSize}else d=n.offsetWidth,h=n.offsetHeight;l({width:d,height:h})});return o.observe(n,{box:"border-box"}),()=>o.unobserve(n)}else l(void 0)},[n]),r}var zE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],_e=zE.reduce((n,r)=>{const l=oi(`Primitive.${r}`),o=x.forwardRef((c,f)=>{const{asChild:d,...h}=c,v=d?l:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),b.jsx(v,{...h,ref:f})});return o.displayName=`Primitive.${r}`,{...n,[r]:o}},{});function kE(n,r){n&&ci.flushSync(()=>n.dispatchEvent(r))}function dy(n){const r=n+"CollectionProvider",[l,o]=El(r),[c,f]=l(r,{collectionRef:{current:null},itemMap:new Map}),d=S=>{const{scope:M,children:N}=S,z=x.useRef(null),_=x.useRef(new Map).current;return b.jsx(c,{scope:M,itemMap:_,collectionRef:z,children:N})};d.displayName=r;const h=n+"CollectionSlot",v=oi(h),p=x.forwardRef((S,M)=>{const{scope:N,children:z}=S,_=f(h,N),q=Ye(M,_.collectionRef);return b.jsx(v,{ref:q,children:z})});p.displayName=h;const y=n+"CollectionItemSlot",m="data-radix-collection-item",T=oi(y),R=x.forwardRef((S,M)=>{const{scope:N,children:z,..._}=S,q=x.useRef(null),P=Ye(M,q),W=f(y,N);return x.useEffect(()=>(W.itemMap.set(q,{ref:q,..._}),()=>{W.itemMap.delete(q)})),b.jsx(T,{[m]:"",ref:P,children:z})});R.displayName=y;function O(S){const M=f(n+"CollectionConsumer",S);return x.useCallback(()=>{const z=M.collectionRef.current;if(!z)return[];const _=Array.from(z.querySelectorAll(`[${m}]`));return Array.from(M.itemMap.values()).sort((W,$)=>_.indexOf(W.ref.current)-_.indexOf($.ref.current))},[M.collectionRef,M.itemMap])}return[{Provider:d,Slot:p,ItemSlot:R},O,o]}var hy=["PageUp","PageDown"],my=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],py={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},ui="Slider",[vf,UE,HE]=dy(ui),[Bf]=El(ui,[HE]),[LE,Tl]=Bf(ui),qf=x.forwardRef((n,r)=>{const{name:l,min:o=0,max:c=100,step:f=1,orientation:d="horizontal",disabled:h=!1,minStepsBetweenThumbs:v=0,defaultValue:p=[o],value:y,onValueChange:m=()=>{},onValueCommit:T=()=>{},inverted:R=!1,form:O,...S}=n,M=x.useRef(new Set),N=x.useRef(0),z=x.useRef(!1),q=d==="horizontal"?BE:qE,[P,W]=x.use
9State(null),$=Ye(r,W),[B=[],ie]=fs({prop:y,defaultProp:p,onChange:A=>{[...M.current][N.current]?.focus({preventScroll:!0,focusVisible:z.current}),z.current=!1,m(A)}}),he=x.useRef(B),ae=x.useRef(B);x.useEffect(()=>{const A=O?P?.ownerDocument.getElementById(O):P?.closest("form");if(A instanceof HTMLFormElement){const Y=()=>ie(ae.current);return A.addEventListener("reset",Y),()=>A.removeEventListener("reset",Y)}},[P,O,ie]);function ue(A){const Y=QE(B,A);de(A,Y)}function fe(A){de(A,N.current)}function be(){const A=he.current[N.current];B[N.current]!==A&&T(B)}function de(A,Y,{commit:Z}={commit:!1}){const re=Dy(f),E=ts(Math.round((A-o)/f)*f+o,re),V=us(E,[o,c]);ie((F=[])=>{const Q=YE(F,V,Y);if(KE(Q,v*f)){N.current=Q.indexOf(V);const I=String(Q)!==String(F);return I&&Z&&T(Q),I?Q:F}else return F})}return b.jsx(LE,{scope:n.__scopeSlider,name:l,disabled:h,min:o,max:c,valueIndexToChangeRef:N,thumbs:M.current,values:B,orientation:d,form:O,children:b.jsx(vf.Provider,{scope:n.__scopeSlider,children:b.jsx(vf.Slot,{scope:n.__scopeSlider,children:b.jsx(q,{"aria-disabled":h,"data-disabled":h?"":void 0,...S,ref:$,onPointerDown:ze(S.onPointerDown,()=>{h||(he.current=B,z.current=!1)}),min:o,max:c,inverted:R,onSlideStart:h?void 0:ue,onSlideMove:h?void 0:fe,onSlideEnd:h?void 0:be,onHomeKeyDown:()=>{h||(z.current=!0,de(o,0,{commit:!0}))},onEndKeyDown:()=>{h||(z.current=!0,de(c,B.length-1,{commit:!0}))},onStepKeyDown:({event:A,direction:Y})=>{if(!h){z.current=!0;const E=hy.includes(A.key)||A.shiftKey&&my.includes(A.key)?10:1,V=N.current,F=B[V],Q=ZE(F,{min:o,step:f,direction:Y,multiplier:E});de(Q,V,{commit:!0})}}})})})})});qf.displayName=ui;var[gy,vy]=Bf(ui,{startEdge:"left",endEdge:"right",size:"width",direction:1}),BE=x.forwardRef((n,r)=>{const{min:l,max:o,dir:c,inverted:f,onSlideStart:d,onSlideMove:h,onSlideEnd:v,onStepKeyDown:p,...y}=n,[m,T]=x.useState(null),R=Ye(r,T),O=x.useRef(void 0),S=cy(c),M=S==="ltr",N=M&&!f||!M&&f;function z(_){const q=O.current||m.getBoundingClientRect(),P=[0,q.width],$=Pf(P,N?[l,o]:[o,l]);return O.current=q,$(_-q.left)}return b.jsx(gy,{scope:n.__scopeSlider,startEdge:N?"left":"right",endEdge:N?"right":"left",direction:N?1:-1,size:"width",children:b.jsx(yy,{dir:S,"data-orientation":"horizontal",...y,ref:R,style:{...y.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:_=>{const q=z(_.clientX);d?.(q)},onSlideMove:_=>{const q=z(_.clientX);h?.(q)},onSlideEnd:()=>{O.current=void 0,v?.()},onStepKeyDown:_=>{const P=py[N?"from-left":"from-right"].includes(_.key);p?.({event:_,direction:P?-1:1})}})})}),qE=x.forwardRef((n,r)=>{const{min:l,max:o,inverted:c,onSlideStart:f,onSlideMove:d,onSlideEnd:h,onStepKeyDown:v,...p}=n,y=x.useRef(null),m=Ye(r,y),T=x.useRef(void 0),R=!c;function O(S){const M=T.current||y.current.getBoundingClientRect(),N=[0,M.height],_=Pf(N,R?[o,l]:[l,o]);return T.current=M,_(S-M.top)}return b.jsx(gy,{scope:n.__scopeSlider,startEdge:R?"bottom":"top",endEdge:R?"top":"bottom",size:"height",direction:R?1:-1,children:b.jsx(yy,{"data-orientation":"vertical",...p,ref:m,style:{...p.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:S=>{const M=O(S.clientY);f?.(M)},onSlideMove:S=>{const M=O(S.clientY);d?.(M)},onSlideEnd:()=>{T.current=void 0,h?.()},onStepKeyDown:S=>{const N=py[R?"from-bottom":"from-top"].includes(S.key);v?.({event:S,direction:N?-1:1})}})})}),yy=x.forwardRef((n,r)=>{const{__scopeSlider:l,onSlideStart:o,onSlideMove:c,onSlideEnd:f,onHomeKeyDown:d,onEndKeyDown:h,onStepKeyDown:v,...p}=n,y=Tl(ui,l);return b.jsx(_e.span,{...p,ref:r,onKeyDown:ze(n.onKeyDown,m=>{m.key==="Home"?(d(m),m.preventDefault()):m.key==="End"?(h(m),m.preventDefault()):hy.concat(my).includes(m.key)&&(v(m),m.preventDefault())}),onPointerDown:ze(n.onPointerDown,m=>{const T=m.target;T.setPointerCapture(m.pointerId),m.preventDefault(),y.thumbs.has(T)?T.focus({preventScroll:!0,focusVisible:!1}):o(m)}),onPointerMove:ze(n.onPointerMove,m=>{m.target.hasPointerCapture(m.pointerId)&&c(m)}),onPointerUp:ze(n.onPointerUp,m=>{const T=m.target;T.hasPointerCapture(m.pointerId)&&(T.releasePointerCapture(m.pointerId),f(m))})})}),by="SliderTrack",xy=x.forwardRef((n,r)=>{const{__scopeSlider:l,...o}=n,c=Tl(by,l);return b.jsx(_e.span,{"data-disabled":c.disabled?"":void 0,"data-orientation":c.orientation,...o,ref:r})});xy.displayName=by;var yf="SliderRange",wy=x.forwardRef((n,r)=>{const{__scopeSlider:l,...o}=n,c=Tl(yf,l),f=vy(yf,l),d=x.useRef(null),h=Ye(r,d),v=c.values.length,p=c.values.map(T=>Ay(T,c.min,c.max)),y=v>1?Math.min(...p):0,m=100-Math.max(...p);return b.jsx(_e.span,{"data-orientation":c.orientation,"data-disabled":c.disabled?"":void 0,...o,ref:h,style:{...n.style,[f.startEdge]:y+"%",[f.endEdge]:m+"%"}})});wy.displayName=yf;var Sy="SliderThumb",[PE,Ey]=Bf(Sy),Ty="SliderThumbProvider";function Oy(n){const{__scopeSlider:r,name:l,children:o,internal_do_not_use_render:c}=n,f=Tl(Ty,r),d=UE(r),[h,v]=x.useState(null),p=x.useMemo(()=>h?d().findIndex(M=>M.ref.current===h):-1,[d,h]),y=fy(h),m=h?!!f.form||!!h.closest("form"):!0,T=f.values[p],R=l??(f.name?f.name+(f.values.length>1?"[]":""):void 0),O=T===void 0?0:Ay(T,f.min,f.max);x.useEffect(()=>{if(h)return f.thumbs.add(h),()=>{f.thumbs.delete(h)}},[h,f.thumbs]);const S={value:T,name:R,form:f.form,isFormControl:m,index:p,thumb:h,onThumbChange:v,percent:O,size:y};return b.jsx(PE,{scope:r,...S,children:WE(c)?c(S):o})}Oy.displayName=Ty;var es="SliderThumbTrigger",Ry=x.forwardRef((n,r)=>{const{__scopeSlider:l,...o}=n,c=Tl(es,l),f=vy(es,l),{index:d,value:h,percent:v,size:p,onThumbChange:y}=Ey(es,l),m=Ye(r,y),T=VE(d,c.values.length),R=p?.[f.size],O=R?GE(R,v,f.direction):0;return b.jsx("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[f.startEdge]:`calc(${v}% + ${O}px)`},children:b.jsx(vf.ItemSlot,{scope:l,children:b.jsx(_e.span,{role:"slider","aria-label":n["aria-label"]||T,"aria-valuemin":c.min,"aria-valuenow":h,"aria-valuemax":c.max,"aria-orientation":c.orientation,"data-orientation":c.orientation,"data-disabled":c.disabled?"":void 0,tabIndex:c.disabled?void 0:0,...o,ref:m,style:h===void 0?{display:"none"}:n.style,onFocus:ze(n.onFocus,()=>{c.valueIndexToChangeRef.current=d})})})})});Ry.displayName=es;var Cy=x.forwardRef((n,r)=>{const{__scopeSlider:l,name:o,...c}=n;return b.jsx(Oy,{__scopeSlider:l,name:o,internal_do_not_use_render:({index:f,isFormControl:d})=>b.jsxs(b.Fragment,{children:[b.jsx(Ry,{...c,ref:r,__scopeSlider:l}),d?b.jsx(Ny,{__scopeSlider:l},f):null]})})});Cy.displayName=Sy;var My="SliderBubbleInput",Ny=x.forwardRef(({__scopeSlider:n,...r},l)=>{const{value:o,name:c,form:f}=Ey(My,n),d=x.useRef(null),h=Ye(d,l),v=uy(o);return x.useEffect(()=>{const p=d.current;
9if(!p)return;const y=window.HTMLInputElement.prototype,T=Object.getOwnPropertyDescriptor(y,"value").set;if(v!==o&&T){const R=new Event("input",{bubbles:!0});T.call(p,o),p.dispatchEvent(R)}},[v,o]),b.jsx(_e.input,{style:{display:"none"},name:c,form:f,...r,ref:h,defaultValue:o})});Ny.displayName=My;function YE(n=[],r,l){const o=[...n];return o[l]=r,o.sort((c,f)=>c-f)}function Ay(n,r,l){const f=100/(l-r)*(n-r);return us(f,[0,100])}function VE(n,r){return r>2?`Value ${n+1} of ${r}`:r===2?["Minimum","Maximum"][n]:void 0}function QE(n,r){if(n.length===1)return 0;const l=n.map(c=>Math.abs(c-r)),o=Math.min(...l);return l.indexOf(o)}function GE(n,r,l){const o=n/2,f=Pf([0,50],[0,o]);return(o-f(r)*l)*l}function XE(n){return n.slice(0,-1).map((r,l)=>n[l+1]-r)}function KE(n,r){if(r>0){const l=XE(n);return Math.min(...l)>=r}return!0}function Pf(n,r){return l=>{if(n[0]===n[1]||r[0]===r[1])return r[0];const o=(r[1]-r[0])/(n[1]-n[0]);return r[0]+o*(l-n[0])}}function Dy(n){if(!Number.isFinite(n))return 0;const r=n.toString();if(r.includes("e")){const[o,c]=r.split("e"),f=o.split(".")[1]||"",d=Number(c);return Math.max(0,f.length-d)}const l=r.split(".")[1];return l?l.length:0}function ts(n,r){const l=Math.pow(10,r);return Math.round(n*l)/l}function ZE(n,{min:r,step:l,direction:o,multiplier:c}){const f=Dy(l),d=(n-r)/l,h=Math.round(d),v=ts(h*l+r,f)===ts(n,f);let p;return v?p=h+c*o:o>0?p=Math.ceil(d):p=Math.floor(d),ts(p*l+r,f)}function WE(n){return typeof n=="function"}const bf=x.forwardRef(({className:n,...r},l)=>b.jsxs(qf,{ref:l,className:Xe("relative flex w-full touch-none select-none items-center",n),...r,children:[b.jsx(xy,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary/20",children:b.jsx(wy,{className:"absolute h-full bg-primary"})}),b.jsx(Cy,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 cursor-grab active:cursor-grabbing"})]}));bf.displayName=qf.displayName;var FE="Label",_y=x.forwardRef((n,r)=>b.jsx(_e.label,{...n,ref:r,onMouseDown:l=>{l.target.closest("button, input, select, textarea")||(n.onMouseDown?.(l),!l.defaultPrevented&&l.detail>1&&l.preventDefault())}}));_y.displayName=FE;var jy=_y;const $E=oy("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ml=x.forwardRef(({className:n,...r},l)=>b.jsx(jy,{ref:l,className:Xe($E(),n),...r}));ml.displayName=jy.displayName;const IE=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),JE=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,l,o)=>o?o.toUpperCase():l.toLowerCase()),Vg=n=>{const r=JE(n);return r.charAt(0).toUpperCase()+r.slice(1)},zy=(...n)=>n.filter((r,l,o)=>!!r&&r.trim()!==""&&o.indexOf(r)===l).join(" ").trim(),e2=n=>{for(const r in n)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};var t2={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const n2=x.forwardRef(({color:n="currentColor",size:r=24,strokeWidth:l=2,absoluteStrokeWidth:o,className:c="",children:f,iconNode:d,...h},v)=>x.createElement("svg",{ref:v,...t2,width:r,height:r,stroke:n,strokeWidth:o?Number(l)*24/Number(r):l,className:zy("lucide",c),...!f&&!e2(h)&&{"aria-hidden":"true"},...h},[...d.map(([p,y])=>x.createElement(p,y)),...Array.isArray(f)?f:[f]]));const Kn=(n,r)=>{const l=x.forwardRef(({className:o,...c},f)=>x.createElement(n2,{ref:f,iconNode:r,className:zy(`lucide-${IE(Vg(n))}`,`lucide-${n}`,o),...c}));return l.displayName=Vg(n),l};const a2=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],r2=Kn("calendar",a2);const i2=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ky=Kn("check",i2);const l2=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Uy=Kn("chevron-down",l2);const o2=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],s2=Kn("chevron-up",o2);const c2=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],u2=Kn("code",c2);const f2=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],d2=Kn("copy",f2);const h2=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],m2=Kn("external-link",h2);const p2=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],g2=Kn("layers",p2);const v2=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,173 bytes, line 9
9],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],y2=Kn("x",v2);function Mt(n){const r=Object.prototype.toString.call(n);return n instanceof Date||typeof n=="object"&&r==="[object Date]"?new n.constructor(+n):typeof n=="number"||r==="[object Number]"||typeof n=="string"||r==="[object String]"?new Date(n):new Date(NaN)}function Oa(n,r){return n instanceof Date?new n.constructor(r):new Date(r)}function ns(n,r){const l=Mt(n);return isNaN(r)?Oa(n,NaN):(r&&l.setDate(l.getDate()+r),l)}const Hy=6048e5,b2=864e5;let x2={};function Ol(){return x2}function sn(n,r){const l=Ol(),o=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??l.weekStartsOn??l.locale?.options?.weekStartsOn??0,c=Mt(n),f=c.getDay(),d=(f<o?7:0)+f-o;return c.setDate(c.getDate()-d),c.setHours(0,0,0,0),c}function ds(n){return sn(n,{weekStartsOn:1})}function Ly(n){const r=Mt(n),l=r.getFullYear(),o=Oa(n,0);o.setFullYear(l+1,0,4),o.setHours(0,0,0,0);const c=ds(o),f=Oa(n,0);f.setFullYear(l,0,4),f.setHours(0,0,0,0);const d=ds(f);return r.getTime()>=c.getTime()?l+1:r.getTime()>=d.getTime()?l:l-1}function Qg(n){const r=Mt(n);return r.setHours(0,0,0,0),r}function Gg(n){const r=Mt(n),l=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return l.setUTCFullYear(r.getFullYear()),+n-+l}function w2(n,r){const l=Qg(n),o=Qg(r),c=+l-Gg(l),f=+o-Gg(o);return Math.round((c-f)/b2)}function S2(n){const r=Ly(n),l=Oa(n,0);return l.setFullYear(r,0,4),l.setHours(0,0,0,0),ds(l)}function E2(n,r){const l=r*7;return ns(n,l)}function T2(n){return n instanceof Date||typeof n=="object"&&Object.prototype.toString.call(n)==="[object Date]"}function O2(n){if(!T2(n)&&typeof n!="number")return!1;const r=Mt(n);return!isNaN(Number(r))}function R2(n){const r=Mt(n),l=r.getMonth();return r.setFullYear(r.getFullYear(),l+1,0),r.setHours(23,59,59,999),r}function C2(n){const r=Mt(n);return r.setDate(1),r.setHours(0,0,0,0),r}function M2(n){const r=Mt(n),l=Oa(n,0);return l.setFullYear(r.getFullYear(),0,1),l.setHours(0,0,0,0),l}function Xg(n,r){const l=Ol(),o=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??l.weekStartsOn??l.locale?.options?.weekStartsOn??0,c=Mt(n),f=c.getDay(),d=(f<o?-7:0)+6-(f-o);return c.setDate(c.getDate()+d),c.setHours(23,59,59,999),c}const N2={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},A2=(n,r,l)=>{let o;const c=N2[n];return typeof c=="string"?o=c:r===1?o=c.one:o=c.other.replace("{{count}}",r.toString()),l?.addSuffix?l.comparison&&l.comparison>0?"in "+o:o+" ago":o};function ai(n){return(r={})=>{const l=r.width?String(r.width):n.defaultWidth;return n.formats[l]||n.formats[n.defaultWidth]}}const D2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},_2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},j2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},z2={date:ai({formats:D2,defaultWidth:"full"}),time:ai({formats:_2,defaultWidth:"full"}),dateTime:ai({formats:j2,defaultWidth:"full"})},k2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},U2=(n,r,l,o)=>k2[n];function bn(n){return(r,l)=>{const o=l?.context?String(l.context):"standalone";let c;if(o==="formatting"&&n.formattingValues){const d=n.defaultFormattingWidth||n.defaultWidth,h=l?.width?String(l.width):d;c=n.formattingValues[h]||n.formattingValues[d]}else{const d=n.defaultWidth,h=l?.width?String(l.width):n.defaultWidth;c=n.values[h]||n.values[d]}const f=n.argumentCallback?n.argumentCallback(r):r;return c[f]}}const H2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},L2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},B2={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},q2={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
9ay","Saturday"]},P2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Y2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},V2=(n,r)=>{const l=Number(n),o=l%100;if(o>20||o<10)switch(o%10){case 1:return l+"st";case 2:return l+"nd";case 3:return l+"rd"}return l+"th"},Q2={ordinalNumber:V2,era:bn({values:H2,defaultWidth:"wide"}),quarter:bn({values:L2,defaultWidth:"wide",argumentCallback:n=>n-1}),month:bn({values:B2,defaultWidth:"wide"}),day:bn({values:q2,defaultWidth:"wide"}),dayPeriod:bn({values:P2,defaultWidth:"wide",formattingValues:Y2,defaultFormattingWidth:"wide"})};function xn(n){return(r,l={})=>{const o=l.width,c=o&&n.matchPatterns[o]||n.matchPatterns[n.defaultMatchWidth],f=r.match(c);if(!f)return null;const d=f[0],h=o&&n.parsePatterns[o]||n.parsePatterns[n.defaultParseWidth],v=Array.isArray(h)?X2(h,m=>m.test(d)):G2(h,m=>m.test(d));let p;p=n.valueCallback?n.valueCallback(v):v,p=l.valueCallback?l.valueCallback(p):p;const y=r.slice(d.length);return{value:p,rest:y}}}function G2(n,r){for(const l in n)if(Object.prototype.hasOwnProperty.call(n,l)&&r(n[l]))return l}function X2(n,r){for(let l=0;l<n.length;l++)if(r(n[l]))return l}function By(n){return(r,l={})=>{const o=r.match(n.matchPattern);if(!o)return null;const c=o[0],f=r.match(n.parsePattern);if(!f)return null;let d=n.valueCallback?n.valueCallback(f[0]):f[0];d=l.valueCallback?l.valueCallback(d):d;const h=r.slice(c.length);return{value:d,rest:h}}}const K2=/^(\d+)(th|st|nd|rd)?/i,Z2=/\d+/i,W2={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},F2={any:[/^b/i,/^(a|c)/i]},$2={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},I2={any:[/1/i,/2/i,/3/i,/4/i]},J2={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},eT={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},tT={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},nT={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},aT={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},rT={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},iT={ordinalNumber:By({matchPattern:K2,parsePattern:Z2,valueCallback:n=>parseInt(n,10)}),era:xn({matchPatterns:W2,defaultMatchWidth:"wide",parsePatterns:F2,defaultParseWidth:"any"}),quarter:xn({matchPatterns:$2,defaultMatchWidth:"wide",parsePatterns:I2,defaultParseWidth:"any",valueCallback:n=>n+1}),month:xn({matchPatterns:J2,defaultMatchWidth:"wide",parsePatterns:eT,defaultParseWidth:"any"}),day:xn({matchPatterns:tT,defaultMatchWidth:"wide",parsePatterns:nT,defaultParseWidth:"any"}),dayPeriod:xn({matchPatterns:aT,defaultMatchWidth:"any",parsePatterns:rT,defaultParseWidth:"any"})},lT={code:"en-US",formatDistance:A2,formatLong:z2,formatRelative:U2,localize:Q2,match:iT,options:{weekStartsOn:0,firstWeekContainsDate:1}};function oT(n){const r=Mt(n);return w2(r,M2(r))+1}function sT(n){const r=Mt(n),l=+ds(r)-+S2(r);return Math.round(l/Hy)+1}function qy(n,r){const l=Mt(n),o=l.getFullYear(),c=Ol(),f=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??c.firstWeekContainsDate??c.locale?.options?.firstWeekContainsDate??1,d=Oa(n,0);d.setFullYear(o+1,0,f),d.setHours(0,0,0,0);const h=sn(d,r),v=Oa(n,0);v.setFullYear(o,0,f),v.setHours(0,0,0,0);const p=sn(v,r);return l.getTime()>=h.getTime()?o+1:l.getTime()>=p.getTime()?o:o-1}function cT(n,r){const l=Ol(),o=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,c=qy(n,r),f=Oa(n,0);return f.setFullYear(c,0,o),f.setHours(0,0,0,0),sn(f,r)}function uT(n,r){const l=Mt(n),o=+sn(l,r)-+cT(l,r);return Math.round(o/Hy)+1}function He(n,r){const l=n<0?"-":"",o=Math.abs(n).toString().padStart(r,"0");return l+o}const Sa={y(n,r){const l=n.getFullYear(),o=l>0?l:1-l;return He(r==="yy"?o%100:o,r.length)},M(n,r){const l=n.getMonth();return r==="M"?String(l+1):He(l+1,2)},d(n,r){return He(n.getDate(),r.length)},a(n,r){const l=n.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return l.toUpperCase();case"aaa":return l;case"aaaaa":return l[0];default:return l==="am"?"a.m.":"p.m."}},h(n,r){return He(n.getHours()%12||12,r.length)},H(n,r){return He(n.getHours(),r.length)},m(n,r){return He(n.getMinutes(),r.length)},s(n,r){return He(n.getSeconds(),r.length)},S(n,r){const l=r.length,o=n.getMilliseconds(),c=Math.trunc(o*Math.pow(10,l-3));return He(c,r.length)}},Ir={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Kg={G:function(n,r,l){const o=n.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return l.era(o,{width:"abbreviated"});case"GGGGG":return l.era(o,{width:"narrow"});default:return l.era(o,{width:"wide"})}},y:function(n,r,l){if(r==="yo"){const o=n.getFullYear(),c=o>0?o:1-o;return l.ordinalNumber(c,{unit:"year"})}return Sa.y(n,r)},Y:function(n,r,l,o){const c=qy(n,o),f=c>
vendor: 8,496 bytes, line 9
90?c:1-c;if(r==="YY"){const d=f%100;return He(d,2)}return r==="Yo"?l.ordinalNumber(f,{unit:"year"}):He(f,r.length)},R:function(n,r){const l=Ly(n);return He(l,r.length)},u:function(n,r){const l=n.getFullYear();return He(l,r.length)},Q:function(n,r,l){const o=Math.ceil((n.getMonth()+1)/3);switch(r){case"Q":return String(o);case"QQ":return He(o,2);case"Qo":return l.ordinalNumber(o,{unit:"quarter"});case"QQQ":return l.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return l.quarter(o,{width:"narrow",context:"formatting"});default:return l.quarter(o,{width:"wide",context:"formatting"})}},q:function(n,r,l){const o=Math.ceil((n.getMonth()+1)/3);switch(r){case"q":return String(o);case"qq":return He(o,2);case"qo":return l.ordinalNumber(o,{unit:"quarter"});case"qqq":return l.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return l.quarter(o,{width:"narrow",context:"standalone"});default:return l.quarter(o,{width:"wide",context:"standalone"})}},M:function(n,r,l){const o=n.getMonth();switch(r){case"M":case"MM":return Sa.M(n,r);case"Mo":return l.ordinalNumber(o+1,{unit:"month"});case"MMM":return l.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return l.month(o,{width:"narrow",context:"formatting"});default:return l.month(o,{width:"wide",context:"formatting"})}},L:function(n,r,l){const o=n.getMonth();switch(r){case"L":return String(o+1);case"LL":return He(o+1,2);case"Lo":return l.ordinalNumber(o+1,{unit:"month"});case"LLL":return l.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return l.month(o,{width:"narrow",context:"standalone"});default:return l.month(o,{width:"wide",context:"standalone"})}},w:function(n,r,l,o){const c=uT(n,o);return r==="wo"?l.ordinalNumber(c,{unit:"week"}):He(c,r.length)},I:function(n,r,l){const o=sT(n);return r==="Io"?l.ordinalNumber(o,{unit:"week"}):He(o,r.length)},d:function(n,r,l){return r==="do"?l.ordinalNumber(n.getDate(),{unit:"date"}):Sa.d(n,r)},D:function(n,r,l){const o=oT(n);return r==="Do"?l.ordinalNumber(o,{unit:"dayOfYear"}):He(o,r.length)},E:function(n,r,l){const o=n.getDay();switch(r){case"E":case"EE":case"EEE":return l.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return l.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return l.day(o,{width:"short",context:"formatting"});default:return l.day(o,{width:"wide",context:"formatting"})}},e:function(n,r,l,o){const c=n.getDay(),f=(c-o.weekStartsOn+8)%7||7;switch(r){case"e":return String(f);case"ee":return He(f,2);case"eo":return l.ordinalNumber(f,{unit:"day"});case"eee":return l.day(c,{width:"abbreviated",context:"formatting"});case"eeeee":return l.day(c,{width:"narrow",context:"formatting"});case"eeeeee":return l.day(c,{width:"short",context:"formatting"});default:return l.day(c,{width:"wide",context:"formatting"})}},c:function(n,r,l,o){const c=n.getDay(),f=(c-o.weekStartsOn+8)%7||7;switch(r){case"c":return String(f);case"cc":return He(f,r.length);case"co":return l.ordinalNumber(f,{unit:"day"});case"ccc":return l.day(c,{width:"abbreviated",context:"standalone"});case"ccccc":return l.day(c,{width:"narrow",context:"standalone"});case"cccccc":return l.day(c,{width:"short",context:"standalone"});default:return l.day(c,{width:"wide",context:"standalone"})}},i:function(n,r,l){const o=n.getDay(),c=o===0?7:o;switch(r){case"i":return String(c);case"ii":return He(c,r.length);case"io":return l.ordinalNumber(c,{unit:"day"});case"iii":return l.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return l.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return l.day(o,{width:"short",context:"formatting"});default:return l.day(o,{width:"wide",context:"formatting"})}},a:function(n,r,l){const c=n.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return l.dayPeriod(c,{width:"abbreviated",context:"formatting"});case"aaa":return l.dayPeriod(c,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return l.dayPeriod(c,{width:"narrow",context:"formatting"});default:return l.dayPeriod(c,{width:"wide",context:"formatting"})}},b:function(n,r,l){const o=n.getHours();let c;switch(o===12?c=Ir.noon:o===0?c=Ir.midnight:c=o/12>=1?"pm":"am",r){case"b":case"bb":return l.dayPeriod(c,{width:"abbreviated",context:"formatting"});case"bbb":return l.dayPeriod(c,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return l.dayPeriod(c,{width:"narrow",context:"formatting"});default:return l.dayPeriod(c,{width:"wide",context:"formatting"})}},B:function(n,r,l){const o=n.getHours();let c;switch(o>=17?c=Ir.evening:o>=12?c=Ir.afternoon:o>=4?c=Ir.morning:c=Ir.night,r){case"B":case"BB":case"BBB":return l.dayPeriod(c,{width:"abbreviated",context:"formatting"});case"BBBBB":return l.dayPeriod(c,{width:"narrow",context:"formatting"});default:return l.dayPeriod(c,{width:"wide",context:"formatting"})}},h:function(n,r,l){if(r==="ho"){let o=n.getHours()%12;return o===0&&(o=12),l.ordinalNumber(o,{unit:"hour"})}return Sa.h(n,r)},H:function(n,r,l){return r==="Ho"?l.ordinalNumber(n.getHours(),{unit:"hour"}):Sa.H(n,r)},K:function(n,r,l){const o=n.getHours()%12;return r==="Ko"?l.ordinalNumber(o,{unit:"hour"}):He(o,r.length)},k:function(n,r,l){let o=n.getHours();return o===0&&(o=24),r==="ko"?l.ordinalNumber(o,{unit:"hour"}):He(o,r.length)},m:function(n,r,l){return r==="mo"?l.ordinalNumber(n.getMinutes(),{unit:"minute"}):Sa.m(n,r)},s:function(n,r,l){return r==="so"?l.ordinalNumber(n.getSeconds(),{unit:"second"}):Sa.s(n,r)},S:function(n,r){return Sa.S(n,r)},X:function(n,r,l){const o=n.getTimezoneOffset();if(o===0)return"Z";switch(r){case"X":return Wg(o);case"XXXX":case"XX":return nr(o);default:return nr(o,":")}},x:function(n,r,l){const o=n.getTimezoneOffset();switch(r){case"x":return Wg(o);case"xxxx":case"xx":return nr(o);default:return nr(o,":")}},O:function(n,r,l){const o=n.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+Zg(o,":");default:return"GMT"+nr(o,":")}},z:function(n,r,l){const o=n.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+Zg(o,":");default:return"GMT"+nr(o,":")}},t:function(n,r,l){const o=Math.trunc(n.getTime()/1e3);return He(o,r.length)},T:function(n,r,l){const o=n.getTime();return He(o,r.length)}};function Zg(n,r=""){const l=n>0?"-":"+",o=Math.abs(n),c=Math.trunc(o/60),f=o%60;return f===0?l+String(c):l+String(c)+r+He(f,2)}function Wg(n,r){return n%60===0?(n>0?"-":"+")+He(Math.abs(n)/60,2):nr(n,r)}function nr(n,r=""){const l=n>0?"-":"+",o=Math.abs(n),c=He(Math.trunc(o/60),2),f=He(o%60,2);return l+c+r+f}const Fg=(n,r)=>{switch(n){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});default:return r.date({width:"full"})}},Py=(n,r)=>{switch(n){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});default:return r.time({width:"full"})}},fT=(n,r)=>{const l=n.match(/(P+)(p+)?/)||[],o=l[1],c=l[2];if(!c)return Fg(n,r);let f;switch(o){case"P":f=r.dateTime({width:"short"});break;case"PP":f=r.dateTime({width:"medium"});break;case"PPP":f=r.dateTime({width:"long"});break;default:f=r.dateTime({width:"full"});break}return f.replace("{{date}}",Fg(o,r)).replace("{{time}}",Py(c,r))},dT={p:Py,P:fT},hT=/^D+$/,mT=/^Y+$/,pT=["D","DD","YY","YYYY"];function gT(n){return hT.test(n)}function vT(n){return mT.test(n)}function yT(n,r,l){const o=bT(n,r,l);if(console.warn(o),pT.includes(n))throw new RangeError(o)}function bT(n,r,l){const o=n[0]==="Y"?"years":"days of the month";return`Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${r}\`) for formatting ${o} to the input \`${l}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const xT=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,wT=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ST=/^'([^]*?)'?$/,ET=/''/g,TT=/[a-zA-Z]/;function ar(n,r,l){const o=Ol(),c=l?.locale??o.locale??lT,f=l?.firstWeekContainsDate??l?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,d=l?.weekStartsOn??l?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,h=Mt(n);if(!O2(h))throw new RangeError("Invalid time value");let v=r.match(wT).map(y=>{const m=y[0];if(m==="p"||m==="P"){const T=dT[m];return T(y,c.formatLong)}return y}).join("").match(xT).map(y=>{if(y==="''")return{isToken:!1,value:"'"};const m=y[0];if(m==="'")return{isToken:!1,value:OT(y)};if(Kg[m])return{isToken:!0,value:y};
9if(m.match(TT))throw new RangeError("Format string contains an unescaped latin alphabet character `"+m+"`");return{isToken:!1,value:y}});c.localize.preprocessor&&(v=c.localize.preprocessor(h,v));const p={firstWeekContainsDate:f,weekStartsOn:d,locale:c};return v.map(y=>{if(!y.isToken)return y.value;const m=y.value;(!l?.useAdditionalWeekYearTokens&&vT(m)||!l?.useAdditionalDayOfYearTokens&&gT(m))&&yT(m,r,String(n));const T=Kg[m[0]];return T(h,m,c.localize,p)}).join("")}function OT(n){const r=n.match(ST);return r?r[1].replace(ET,"'"):n}function $g(n,r,l){const o=sn(n,l),c=sn(r,l);return+o==+c}const RT={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},CT=(n,r,l)=>{let o;const c=RT[n];return typeof c=="string"?o=c:r===1?o=c.one:o=c.other.replace("{{count}}",r.toString()),l?.addSuffix?l.comparison&&l.comparison>0?"tra "+o:o+" fa":o},MT={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},NT={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},AT={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},DT={date:ai({formats:MT,defaultWidth:"full"}),time:ai({formats:NT,defaultWidth:"full"}),dateTime:ai({formats:AT,defaultWidth:"full"})},Yf=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function _T(n){return n===0?"'domenica scorsa alle' p":"'"+Yf[n]+" scorso alle' p"}function Ig(n){return"'"+Yf[n]+" alle' p"}function jT(n){return n===0?"'domenica prossima alle' p":"'"+Yf[n]+" prossimo alle' p"}const zT={lastWeek:(n,r,l)=>{const o=n.getDay();return $g(n,r,l)?Ig(o):_T(o)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:(n,r,l)=>{const o=n.getDay();return $g(n,r,l)?Ig(o):jT(o)},other:"P"},kT=(n,r,l,o)=>{const c=zT[n];return typeof c=="function"?c(r,l,o):c},UT={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},HT={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},LT={narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},BT={narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},qT={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},PT={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},YT=(n,r)=>{const l=Number(n);return String(l)},VT={ordinalNumber:YT,era:bn({values:UT,defaultWidth:"wide"}),quarter:bn({values:HT,defaultWidth:"wide",argumentCallback:n=>n-1}),month:bn({values:LT,defaultWidth:"wide"}),day:bn({values:BT,defaultWidth:"wide"}),dayPeriod:bn({values:qT,defaultWidth:"wide",formattingValues:PT,defaultFormattingWidth:"wide"})},QT=/^(\d+)(º)?/i,GT=/\d+/i,XT={narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},KT={any:[/^a/i,/^(d|e)/i]},ZT={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},WT={any:[/1/i,/2/i,/3/i,/4/i]},FT={narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|
9set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},$T={narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},IT={narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},JT={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},eO={narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},tO={any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},nO={ordinalNumber:By({matchPattern:QT,parsePattern:GT,valueCallback:n=>parseInt(n,10)}),era:xn({matchPatterns:XT,defaultMatchWidth:"wide",parsePatterns:KT,defaultParseWidth:"any"}),quarter:xn({matchPatterns:ZT,defaultMatchWidth:"wide",parsePatterns:WT,defaultParseWidth:"any",valueCallback:n=>n+1}),month:xn({matchPatterns:FT,defaultMatchWidth:"wide",parsePatterns:$T,defaultParseWidth:"any"}),day:xn({matchPatterns:IT,defaultMatchWidth:"wide",parsePatterns:JT,defaultParseWidth:"any"}),dayPeriod:xn({matchPatterns:eO,defaultMatchWidth:"any",parsePatterns:tO,defaultParseWidth:"any"})},gl={code:"it",formatDistance:CT,formatLong:DT,formatRelative:kT,localize:VT,match:nO,options:{weekStartsOn:1,firstWeekContainsDate:4}},Yy=[{slug:"",label:"Tutti"},{slug:"concerti",label:"Concerti"},{slug:"teatri",label:"Teatro"},{slug:"mostre",label:"Mostre"},{slug:"cibo-e-vino",label:"Cibo e Vino"},{slug:"cinema",label:"Cinema"},{slug:"disco-feste",label:"Disco e Feste"},{slug:"escursioni",label:"Escursioni"},{slug:"fiere",label:"Fiere"},{slug:"incontri",label:"Incontri"},{slug:"manifestazioni",label:"Manifestazioni"},{slug:"mercatini",label:"Mercatini"},{slug:"sport",label:"Sport"},{slug:"corsi",label:"Corsi"},{slug:"fitness",label:"Fitness"},{slug:"hobby",label:"Hobby"},{slug:"inaugurazioni",label:"Inaugurazioni"},{slug:"religione",label:"Religione"}],xf=[{slug:"",label:"Sempre"},{slug:"oggi",label:"Oggi"},{slug:"domani",label:"Domani"},{slug:"weekend",label:"Weekend"},{slug:"questa-settimana",label:"Questa settimana"},{slug:"prossima-settimana",label:"Prossima settimana"},{slug:"questo-mese",label:"Questo mese"}];function aO(n){const r=new Date;switch(n){case"oggi":return{start:r,end:r};case"domani":{const l=ns(r,1);return{start:l,end:l}}case"weekend":{const l=ns(sn(r,{weekStartsOn:1}),5),o=ns(sn(r,{weekStartsOn:1}),6);return{start:l,end:o}}case"questa-settimana":return{start:sn(r,{weekStartsOn:1}),end:Xg(r,{weekStartsOn:1})};case"prossima-settimana":{const l=E2(r,1);return{start:sn(l,{weekStartsOn:1}),end:Xg(l,{weekStartsOn:1})}}case"questo-mese":return{start:C2(r),end:R2(r)};default:return null}}function rO(n){if(!n)return"";const r=aO(n);return r?r.start.getTime()===r.end.getTime()||ar(r.start,"d MMMM")===ar(r.end,"d MMMM")?ar(r.start,"EEEE d MMMM",{locale:gl}):`${ar(r.start,"d MMMM",{locale:gl})} - ${ar(r.end,"d MMMM",{locale:gl})}`:""}function iO(){const[n,r]=x.useState(600),[l,o]=x.useState(6),[c,f]=x.use
9State(""),[d,h]=x.useState(""),[v,p]=x.useState(!1),[y,m]=x.useState(()=>`${window.location.origin}/widget?limit=6`);x.useEffect(()=>{let S=`${`${window.location.origin}/`}widget?limit=${l}`;c&&(S+=`&tipo=${c}`),d&&(S+=`&quando=${d}`),m(S)},[l,c,d]);const T=`<iframe id="eventi-widget" src="${y}" width="100%" height="${n}px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);" title="Eventi NapoliToday"></iframe> 10<script>(function(){var f=document.getElementById("eventi-widget");window.addEventListener("message",function(e){if(!f||e.origin!=="${window.location.origin}"||e.source!==f.contentWindow||!e.data)return;var h=Number(e.data.height),p=Number(e.data.top);if(e.data.type==="eventi-widget-height"&&isFinite(h)&&h>0&&h<20000){f.style.height=Math.round(h)+"px";}if(e.data.type==="eventi-widget-popup"&&isFinite(h)&&isFinite(p)&&h>0&&h<20000&&p>=0&&p<20000){var r=f.getBoundingClientRect();var t=window.pageYOffset+r.top+p-Math.max(20,(window.innerHeight-h)/2);window.scrollTo({top:Math.max(0,t),behavior:"smooth"});}});})();<\/script>`,R=()=>{navigator.clipboard.writeText(T),p(!0),uS.success("Codice copiato negli appunti!"),setTimeout(()=>p(!1),2e3)};return b.jsxs("div",{className:"min-h-screen bg-background text-foreground pb-20",children:[b.jsxs("header",{className:"bg-primary text-primary-foreground py-16 px-6 relative overflow-hidden",children:[b.jsx("div",{className:"absolute inset-0 bg-[url('https://www.transparenttextures.com/patterns/stardust.png')] opacity-20 pointer-events-none"}),b.jsxs("div",{className:"max-w-5xl mx-auto relative z-10 flex flex-col md:flex-row items-center justify-between gap-8",children:[b.jsxs("div",{className:"max-w-2xl",children:[b.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 bg-primary-foreground/20 rounded-full text-sm font-medium mb-6",children:[b.jsx("span",{className:"w-2 h-2 rounded-full bg-green-400 animate-pulse"}),"Sincronizzazione in tempo reale"]}),b.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-serif font-bold tracking-tight mb-4 text-balance",children:"Porta gli eventi di Napoli sul tuo sito."}),b.jsx("p",{className:"text-lg md:text-xl text-primary-foreground/90 max-w-xl text-balance",children:"Un widget elegante e reattivo per Elementor, alimentato direttamente dal feed di NapoliToday. Pronto in 30 secondi."})]}),b.jsx("div",{className:"hidden md:flex w-48 h-48 rounded-full bg-secondary items-center justify-center shadow-xl rotate-3 hover:rotate-6 transition-transform duration-500",children:b.jsx("span",{className:"text-6xl font-serif text-white",children:"Na."})})]})]}),b.jsxs("main",{className:"max-w-5xl mx-auto px-6 py-12 grid grid-cols-1 lg:grid-cols-12 gap-12",children:[b.jsxs("div",{className:"lg:col-span-5 space-y-8",children:[b.jsxs("section",{children:[b.jsxs("h2",{className:"text-2xl font-serif font-bold mb-6 flex items-center gap-2",children:[b.jsx(g2,{className:"text-primary w-6 h-6"}),"1. Personalizza"]}),b.jsx(ss,{className:"shadow-md",children:b.jsxs(cs,{className:"p-6 space-y-8",children:[b.jsxs("div",{className:"space-y-4",children:[b.jsx("div",{className:"flex justify-between",children:b.jsx(ml,{className:"text-base",children:"Periodo Iniziale"})}),b.jsx("select",{value:d,onChange:O=>h(O.target.value),className:"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
10ing-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",children:xf.map(O=>b.jsx("option",{value:O.slug,children:O.label},O.slug||"all"))}),b.jsx("p",{className:"text-xs text-muted-foreground",children:"I visitatori potranno comunque cambiare data dal menu all'interno del widget."})]}),b.jsxs("div",{className:"space-y-4",children:[b.jsx("div",{className:"flex justify-between",children:b.jsx(ml,{className:"text-base",children:"Categoria Iniziale"})}),b.jsx("select",{value:c,onChange:O=>f(O.target.value),className:"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",children:Yy.map(O=>b.jsx("option",{value:O.slug,children:O.label},O.slug||"all"))})]}),b.jsxs("div",{className:"space-y-4",children:[b.jsxs("div",{className:"flex justify-between",children:[b.jsx(ml,{className:"text-base",children:"Altezza Widget (px)"}),b.jsxs("span",{className:"text-muted-foreground font-mono",children:[n,"px"]})]}),b.jsx(bf,{value:[n],min:400,max:1200,step:50,onValueChange:O=>r(O[0])}),b.jsx("p",{className:"text-xs text-muted-foreground",children:"Regola l'altezza in base allo spazio disponibile nel layout."})]}),b.jsxs("div",{className:"space-y-4",children:[b.jsxs("div",{className:"flex justify-between",children:[b.jsx(ml,{className:"text-base",children:"Numero di Eventi"}),b.jsx("span",{className:"text-muted-foreground font-mono",children:l})]}),b.jsx(bf,{value:[l],min:2,max:20,step:1,onValueChange:O=>o(O[0])})]})]})})]}),b.jsxs("section",{children:[b.jsxs("h2",{className:"text-2xl font-serif font-bold mb-6 flex items-center gap-2",children:[b.jsx(u2,{className:"text-primary w-6 h-6"}),"2. Copia il Codice"]}),b.jsx(ss,{className:"shadow-md border-primary/20",children:b.jsxs(cs,{className:"p-0",children:[b.jsx("div",{className:"bg-zinc-900 text-zinc-50 p-4 rounded-t-xl overflow-x-auto",children:b.jsx("pre",{className:"text-sm font-mono whitespace-pre-wrap break-all",children:T})}
10),b.jsxs("div",{className:"p-4 bg-card flex flex-col gap-4 rounded-b-xl",children:[b.jsx(sy,{onClick:R,className:"w-full text-lg h-12 shadow-md hover:shadow-lg transition-all",variant:v?"secondary":"default",children:v?b.jsxs(b.Fragment,{children:[b.jsx(ky,{className:"mr-2 h-5 w-5"})," Copiato!"]}):b.jsxs(b.Fragment,{children:[b.jsx(d2,{className:"mr-2 h-5 w-5"})," Copia Codice Widget"]})}),b.jsxs("div",{className:"text-sm bg-muted p-4 rounded-lg border mt-2",children:[b.jsxs("h4",{className:"font-bold mb-2 flex items-center gap-1.5",children:[b.jsx("span",{className:"bg-primary text-white w-5 h-5 flex items-center justify-center rounded-full text-xs",children:"i"}),"Nota sulle interazioni:"]}),b.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Cliccando su un evento, si aprirà un comodo popup di dettaglio direttamente all'interno del widget. In questo modo i visitatori resteranno sempre sul tuo sito."})]})]})]})})]})]}),b.jsx("div",{className:"lg:col-span-7",children:b.jsxs("div",{className:"sticky top-6",children:[b.jsxs("h2",{className:"text-2xl font-serif font-bold mb-6 flex items-center gap-2",children:[b.jsx(m2,{className:"text-primary w-6 h-6"}),"Anteprima in tempo reale"]}),b.jsxs("div",{className:"rounded-xl border-4 border-muted p-1 bg-white shadow-2xl overflow-hidden relative",children:[b.jsxs("div",{className:"absolute top-0 inset-x-0 h-6 bg-muted flex items-center gap-1.5 px-3 rounded-t-lg",children:[b.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-destructive/80"}),b.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-yellow-400"}),b.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-green-400"})]}),b.jsx("div",{className:"mt-6 w-full rounded-b-lg overflow-hidden bg-background",children:b.jsx("iframe",{src:y,className:"w-full transition-all duration-300",style:{height:`${n}px`},frameBorder:"0",title:"Anteprima Widget"})})]})]})})]})]})}const lO=new Set([204,205,304]),oO="application/json, application/problem+json";function Vy(n){return typeof Request<"u"&&n instanceof Request}function sO(n,r){return r?r.toUpperCase():Vy(n)?n.method.toUpperCase():"GET"}function cO(n){return typeof URL<"u"&&n instanceof URL}function uO(n){return typeof n=="string"?n:cO(n)?n.toString():n.url}function fO(...n){const r=new Headers;for(const l of n)l&&new Headers(l).forEach((o,c)=>{r.set(c,o)});return r}function Qy(n){const r=n.get("content-type");return r?r.split(";",1)[0].trim().toLowerCase():null}function wf(n){return n==="application/json"||!!n?.endsWith("+json")}function Gy(n){return!!(n&&(n.startsWith("text/")||n==="application/xml"||n==="text/xml"||n.endsWith("+xml")||n==="application/x-www-form-urlencoded"))}function Xy(n,r){return!!(r==="HEAD"||lO.has(n.status)||n.headers.get("content-length")==="0"||n.body===null)}function Ky(n){return n.charCodeAt(0)===65279?n.slice(1):n}function Zy(n){const r=n.trimStart();return r.startsWith("{")||r.startsWith("[")}function dl(n,r){if(!n||typeof n!="object")return;const l=n[r];if(typeof l!="string")return;const o=l.trim();return o===""?void 0:o}function dO(n,r=300){return n.length>r?`${n.slice(0,r-1)}â¦`:n}function hO(n,r){const l=`HTTP ${n.status} ${n.statusText}`;if(typeof r=="string"){const d=r.trim();return d?`${l}: ${dO(d)}`:l}const o=dl(r,"title"),c=dl(r,"detail"),f=dl(r,"message")??dl(r,"error_description")??dl(r,"error");return o&&c?`${l}: ${o} â ${c}`:c?`${l}: ${c}`:f?`${l}: ${f}`:o?`${l}: ${o}`:l}class mO extends Error{name="ApiError";status;statusText;data;headers;response;method;url;constructor(r,l,o){super(hO(r,l)),Object.setPrototypeOf(this,new.target.prototype),this.status=r.status,this.statusText=r.statusText,this.data=l,this.headers=r.headers,this.response=r,this.method=o.method,this.url=r.url||o.url}}class pO extends Error{name="ResponseParseError";status;statusText;headers;response;method;url;rawBody;cause;constructor(r,l,o,c){super(`Failed to parse response from ${c.method} ${r.url||c.url} (${r.status} ${r.statusText}) as JSON`),Object.setPrototypeOf(this,new.target.prototype),this.status=r.status,this.statusText=r.statusText,this.headers=r.headers,this.response=r,this.method=c.method,this.url=r.url||c.url,this.rawBody=l,this.cause=o}}async function gO(n,r){const l=await n.text(),o=Ky(l);if(o.trim()==="")return null;try{return JSON.parse(o)}catch(c){throw new pO(n,l,c,r)}}async function vO(n,r){if(Xy(n,r))return null;const l=Qy(n.headers);if(l&&!wf(l)&&!Gy(l))return typeof n.blob=="function"?n.blob():n.text();const o=await n.text(),c=Ky(o);if(c.trim()==="")return null;if(wf(l)||Zy(c))try{return JSON.parse(c)}catch{return o}return o}function yO(n){const r=Qy(n.headers);return wf(r)?"json":Gy(r)||r==null?"text":"blob"}async function bO(n,r,l){if(Xy(n,l.method))return null;switch(r==="auto"?yO(n):r){case"json":return gO(n,l);case"text":{const c=await n.text();return c===""?null:c}case"blob":if(typeof n.blob!="function")throw new TypeError('Blob responses are not supported in this runtime. Use responseType "json" or "text" instead.');return n.blob()}}async function Wy(n,r={}){n=n;const{responseType:l="auto",headers:o,...c}=r,f=sO(n,c.method);if(c.body!=null&&(f==="GET"||f==="HEAD"))throw new TypeError(`customFetch: ${f} requests cannot have a body.`);const d=fO(Vy(n)?n.headers:void 0,o);
10typeof c.body=="string"&&!d.has("content-type")&&Zy(c.body)&&d.set("content-type","application/json"),l==="json"&&!d.has("accept")&&d.set("accept",oO);const h={method:f,url:uO(n)},v=await fetch(n,{...c,method:f,headers:d});if(!v.ok){const p=await vO(v,f);throw new mO(v,p,h)}return await bO(v,l,h)}const Fy=(n,r)=>{const l={queryKey:r};for(const o of Object.keys(n))o!=="queryKey"&&Object.defineProperty(l,o,{enumerable:!0,configurable:!0,get:()=>n[o]});return l},xO=n=>{const r=new URLSearchParams;Object.entries(n||{}).forEach(([o,c])=>{c!==void 0&&r.append(o,c===null?"null":String(c))});const l=r.toString();return l.length>0?`/api/eventi?${l}`:"/api/eventi"},wO=async(n,r)=>Wy(xO(n),{...r,method:"GET"}),$y=n=>["/api/eventi",...n?[n]:[]],SO=(n,r)=>{const{query:l,request:o}=r??{};return{queryKey:l?.queryKey??$y(n),queryFn:({signal:d})=>wO(n,{signal:d,...o}),...l}};function EO(n,r){const l=SO(n,r),o=zv(l);return Fy(o,l.queryKey)}const TO=n=>{const r=new URLSearchParams;Object.entries(n||{}).forEach(([o,c])=>{c!==void 0&&r.append(o,c===null?"null":String(c))});const l=r.toString();return l.length>0?`/api/eventi/dettaglio?${l}`:"/api/eventi/dettaglio"},OO=async(n,r)=>Wy(TO(n),{...r,method:"GET"}),Iy=n=>["/api/eventi/dettaglio",...n?[n]:[]],RO=(n,r)=>{const{query:l,request:o}=r??{};return{queryKey:l?.queryKey??Iy(n),queryFn:({signal:d})=>OO(n,{signal:d,...o}),...l}};function CO(n,r){const l=RO(n,r),o=zv(l);return Fy(o,l.queryKey)}function MO({event:n,index:r,onClick:l}){const o=n.imageUrl&&n.imageUrl.startsWith("http"),c=Math.min(r*100,500),f=n.description?n.description.replace(/<[^>]+>/g,"").trim():"";let d=null;if(n.dateText)d=n.dateText;else if(n.pubDate)try{const h=new Date(n.pubDate);isNaN(h.getTime())||(d=ar(h,"EEEE d MMMM yyyy, HH:mm",{locale:gl}))}catch{}return b.jsx("button",{onClick:h=>l(n,h.clientY),type:"button",className:"group block w-full text-left animate-in fade-in slide-in-from-bottom-4 fill-mode-backwards outline-none focus-visible:ring-2 focus-visible:ring-primary rounded-xl",style:{animationDelay:`${c}ms`},children:b.jsxs(ss,{className:"h-full overflow-hidden transition-all duration-300 hover:shadow-md hover:border-primary/50 group-hover:-translate-y-1 bg-card flex flex-col",children:[o?b.jsxs("div",{className:"relative aspect-video w-full overflow-hidden bg-muted flex-shrink-0 flex items-center justify-center",children:[b.jsx("img",{src:n.imageUrl,alt:n.title,className:"h-full w-full object-contain transition-transform duration-500 group-hover:scale-105",loading:"lazy"}),n.category&&b.jsx("div",{className:"absolute top-3 left-3 bg-background/90 backdrop-blur-sm px-2.5 py-1 rounded-md text-xs font-semibold text-primary uppercase tracking-wider",children:n.category})]}):b.jsx("div",{className:"relative aspect-video w-full overflow-hidden bg-gradient-to-br from-primary/10 via-muted to-primary/5 flex-shrink-0 flex items-center justify-center",children:b.jsxs("div",{className:"flex flex-col items-center gap-2 text-primary/70",children:[b.jsxs("svg",{width:"44",height:"44",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[b.jsx("path",{d:"M2 10s3-3 3-8c0 0 5 2 7 7 2-5 7-7 7-7 0 5 3 8 3 8-2 1-3 3-3 5a7 7 0 0 1-14 0c0-2-1-4-3-5Z"}),b.jsx("path",{d:"M9 15c1 1 2 1 3 1s2 0 3-1"})]}),b.jsx("span",{className:"text-xs font-semibold uppercase tracking-wider",children:n.category||"Evento"})]})}),b.jsxs(cs,{className:"p-4 flex flex-col gap-2 flex-1",children:[b.jsx("h4",{className:"font-serif text-lg leading-tight font-semibold text-foreground group-hover:text-primary transition-colors line-clamp-2",children:n.title}),b.jsxs("div",{className:"mt-1 space-y-1.5 flex-1",children:[d&&b.jsxs("p",{className:"text-xs text-muted-foreground font-medium flex items-center gap-1.5 capitalize",children:[b.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"shrink-0",children:[b.jsx("circle",{cx:"12",cy:"12",r:"10"}),b.jsx("polyline",{points:"12 6 12 12 16 14"})]}),b.jsx("span",{className:"line-clamp-1",children:d})]}),n.location&&b.jsxs("p",{className:"text-xs text-muted-foreground font-medium flex items-center gap-1.5",children:[b.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"shrink-0",children:[b.jsx("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"}),b.jsx("circle",{cx:"12",cy:"10",r:"3"})]}),b.jsx("span",{className:"line-clamp-1",children:n.location})]})]}),f&&b.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2 mt-2 leading-relaxed",children:f})]})]})})}function Vt({className:n,...r}){return b.jsx("div",{className:Xe("animate-pulse rounded-md bg-muted",n),...r})}function Gn(n){const r=x.useRef(n);return x.useEffect(()=>{r.current=n}),x.useMemo(()=>((...l)=>r.current?.(...l)),[])}var NO="DismissableLayer",Sf="dismissableLayer.update",AO="dismissableLayer.pointerDownOutside",DO="dismissableLayer.focusOutside",Jg,Vf=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),Qf=x.forwardRef((n,r)=>{const{disableOutsidePointerEvents:l=!1,deferPointerDownOutside:o=!1,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:h,onDismiss:v,...p}=n,y=x.useContext(Vf),[m,T]=x.useState(null),R=m?.ownerDocument??globalThis?.document,[,O]=x.use
10State({}),S=Ye(r,T),M=Array.from(y.layers),[N]=[...y.layersWithOutsidePointerEventsDisabled].slice(-1),z=N?M.indexOf(N):-1,_=m?M.indexOf(m):-1,q=y.layersWithOutsidePointerEventsDisabled.size>0,P=_>=z,W=x.useRef(!1),$=UO(ae=>{f?.(ae),h?.(ae),ae.defaultPrevented||v?.()},{ownerDocument:R,deferPointerDownOutside:o,isDeferredPointerDownOutsideRef:W,dismissableSurfaces:y.dismissableSurfaces,shouldHandlePointerDownOutside:x.useCallback(ae=>{if(!(ae instanceof Node))return!1;const ue=[...y.branches].some(fe=>fe.contains(ae));return P&&!ue},[y.branches,P])}),B=HO(ae=>{if(o&&W.current)return;const ue=ae.target;[...y.branches].some(be=>be.contains(ue))||(d?.(ae),h?.(ae),ae.defaultPrevented||v?.())},R),ie=m?_===M.length-1:!1,he=Gn(ae=>{ae.key==="Escape"&&(c?.(ae),!ae.defaultPrevented&&v&&(ae.preventDefault(),v()))});return x.useEffect(()=>{if(ie)return R.addEventListener("keydown",he,{capture:!0}),()=>R.removeEventListener("keydown",he,{capture:!0})},[R,ie,he]),x.useEffect(()=>{if(m)return l&&(y.layersWithOutsidePointerEventsDisabled.size===0&&(Jg=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),y.layersWithOutsidePointerEventsDisabled.add(m)),y.layers.add(m),ev(),()=>{l&&(y.layersWithOutsidePointerEventsDisabled.delete(m),y.layersWithOutsidePointerEventsDisabled.size===0&&(R.body.style.pointerEvents=Jg))}},[m,R,l,y]),x.useEffect(()=>()=>{m&&(y.layers.delete(m),y.layersWithOutsidePointerEventsDisabled.delete(m),ev())},[m,y]),x.useEffect(()=>{const ae=()=>O({});return document.addEventListener(Sf,ae),()=>document.removeEventListener(Sf,ae)},[]),b.jsx(_e.div,{...p,ref:S,style:{pointerEvents:q?P?"auto":"none":void 0,...n.style},onFocusCapture:ze(n.onFocusCapture,B.onFocusCapture),onBlurCapture:ze(n.onBlurCapture,B.onBlurCapture),onPointerDownCapture:ze(n.onPointerDownCapture,$.onPointerDownCapture)})});Qf.displayName=NO;var _O="DismissableLayerBranch",jO=x.forwardRef((n,r)=>{const l=x.useContext(Vf),o=x.useRef(null),c=Ye(r,o);return x.useEffect(()=>{const f=o.current;if(f)return l.branches.add(f),()=>{l.branches.delete(f)}},[l.branches]),b.jsx(_e.div,{...n,ref:c})});jO.displayName=_O;function zO(){const n=x.useContext(Vf),[r,l]=x.useState(null);return x.useEffect(()=>{if(r)return n.dismissableSurfaces.add(r),()=>{n.dismissableSurfaces.delete(r)}},[r,n.dismissableSurfaces]),l}var kO=()=>!0;function UO(n,r){const{ownerDocument:l=globalThis?.document,deferPointerDownOutside:o=!1,isDeferredPointerDownOutsideRef:c,dismissableSurfaces:f,shouldHandlePointerDownOutside:d=kO}=r,h=Gn(n),v=x.useRef(!1),p=x.useRef(!1),y=x.useRef(new Map),m=x.useRef(()=>{});return x.useEffect(()=>{function T(){p.current=!1,c.current=!1,y.current.clear()}function R(){return Array.from(y.current.values()).some(Boolean)}function O(_){if(!p.current)return;const q=_.target;q instanceof Node&&[...f].some(W=>W.contains(q))||y.current.set(_.type,!0),_.type==="click"&&window.setTimeout(()=>{p.current&&m.current()},0)}function S(_){p.current&&y.current.set(_.type,!1)}const M=_=>{if(_.target&&!v.current){let q=function(){l.removeEventListener("click",m.current);const W=R();T(),W||Jy(AO,h,P,{discrete:!0})};if(!d(_.target)){l.removeEventListener("click",m.current),T(),v.current=!1;return}const P={originalEvent:_};p.current=!0,c.current=o&&_.button===0,y.current.clear(),!o||_.button!==0?q():(l.removeEventListener("click",m.current),m.current=q,l.addEventListener("click",m.current,{once:!0}))}else l.removeEventListener("click",m.current),T();v.current=!1},N=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const _ of N)l.addEventListener(_,O,!0),l.addEventListener(_,S);const z=window.setTimeout(()=>{l.addEventListener("pointerdown",M)},0);return()=>{window.clearTimeout(z),l.removeEventListener("pointerdown",M),l.removeEventListener("click",m.current);for(const _ of N)l.removeEventListener(_,O,!0),l.removeEventListener(_,S)}},[l,h,o,c,f,d]),{onPointerDownCapture:()=>v.current=!0}}function HO(n,r=globalThis?.document){const l=Gn(n),o=x.useRef(!1);return x.useEffect(()=>{const c=f=>{f.target&&!o.current&&Jy(DO,l,{originalEvent:f},{discrete:!1})};return r.addEventListener("focusin",c),()=>r.removeEventListener("focusin",c)},[r,l]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function ev(){const n=new CustomEvent(Sf);document.dispatchEvent(n)}function Jy(n,r,l,{discrete:o}){const c=l.originalEvent.target,f=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:l});r&&c.addEventListener(n,r,{once:!0}),o?kE(c,f):c.dispatchEvent(f)}var Zo=0,Jr=null;function eb(){x.useEffect(()=>{Jr||(Jr={start:tv(),end:tv()});const{start:n,end:r}=Jr;return document.body.firstElementChild!==n&&document.body.insertAdjacentElement("afterbegin",n),document.body.lastElementChild!==r&&document.body.insertAdjacentElement("beforeend",r),Zo++,()=>{Zo===1&&(Jr?.start.remove(),Jr?.end.remove(),Jr=null),Zo=Math.max(0,Zo-1)}},[])}function tv(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var Iu="focusScope.autoFocusOnMount",Ju="focusScope.autoFocusOnUnmount",nv={bubbles:!1,cancelable:!0},LO="FocusScope",Gf=x.forwardRef((n,r)=>{const{loop:l=!1,trapped:o=!1,onMountAutoFocus:c,onUnmountAutoFocus:f,...d}=n,[h,v]=x.useState(null),p=Gn(c),y=Gn(f),m=x.useRef(null),T=Ye(r,v),R=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(o){let S=function(_){if(R.paused||!h)return;const q=_.target;h.contains(q)?m.current=q:Ea(m.current,{select:!0})},M=function(_){if(R.paused||!h)return;const q=_.relatedTarget;q!==null&&(h.contains(q)||Ea(m.current,{select:!0}))},N=function(_){if(document.activeElement===document.body)for(const P of _)P.removedNodes.length>0&&Ea(h)};document.addEventListener("focusin",S),document.addEventListener("focusout",M);const z=new MutationObserver(N);return h&&z.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",M),z.disconnect()}}},[o,h,R.paused]),x.useEffect(()=>{if(h){rv.add(R);const S=document.activeElement;if(!h.contains(S)){const N=new CustomEvent(Iu,nv);h.addEventListener(Iu,p),h.dispatchEvent(N),N.defaultPrevented||(BO(QO(tb(h)),{select:!0}),document.activeElement===S&&Ea(h))}return()=>{h.removeEventListener(Iu,p),setTimeout(()=>{const N=new CustomEvent(Ju,nv);h.addEventListener(Ju,y),h.dispatchEvent(N),N.defaultPrevented||Ea(S??document.body,{select:!0}),h.removeEventListener(Ju,y),rv.remove(R)},0)}}},[h,p,y,R]);const O=x.useCallback(S=>{if(!l&&!o||R.paused)return;const M=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,N=document.activeElement;if(M&&N){const z=S.currentTarget,[_,q]=qO(z);_&&q?!S.shiftKey&&N===q?(S.preventDefault(),l&&Ea(_,{select:!0})):S.shiftKey&&N===_&&(S.preventDefault(),l&&Ea(q,{select:!0})):N===z&&S.preventDefault()}},[l,o,R.paused]);return b.jsx(_e.div,{tabIndex:-1,...d,ref:T,onKeyDown:O})});Gf.displayName=LO;function BO(n,{select:r=!1}={}){const l=document.activeElement;for(const o of n)if(Ea(o,{select:r}),document.activeElement!==l)return}function qO(n){const r=tb(n),l=av(r,n),o=av(r.reverse(),n);return[l,o]}function tb(n){const r=[],l=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const c=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||c?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;l.nextNode();)r.push(l.currentNode);return r}function av(n,r){const l=typeof r.checkVisibility=="function"&&r.checkVisibility({checkVisibilityCSS:!0});for(const o of n)if(!(l?!o.checkVisibility({checkVisibilityCSS:!0}):PO(o,{upTo:r})))return o}function PO(n,{upTo:r}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(r!==void 0&&n===r)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function YO(n){return n instanceof HTMLInputElement&&"select"in n}function Ea(n,{select:r=!1}={}){if(n&&n.focus){const l=document.activeElement;n.focus({preventScroll:!0}),n!==l&&YO(n)&&r&&n.select()}}var rv=VO();function VO(){let n=[];return{add(r){const l=n[0];r!==l&&l?.pause(),n=iv(n,r),n.unshift(r)},remove(r){n=iv(n,r),n[0]?.resume()}}}function iv(n,r){const l=[...n],o=l.indexOf(r);return o!==-1&&l.splice(o,1),l}function QO(n){return n.filter(r=>r.tagName!=="A")}var GO=xs[" useId ".trim().toString()]||(()=>{}),XO=0;function ri(n){const[r,l]=x.useState(GO());return St(()=>{l(o=>o??String(XO++))},[n]),r?`radix-${r}`:""}const KO=["top","right","bottom","left"],Ra=Math.min,Vn=Math.max,hs=Math.round,Wo=Math.floor,Qn=n=>({x:n,y:n}
10),ZO={left:"right",right:"left",bottom:"top",top:"bottom"};function nb(n,r,l){return Vn(n,Ra(r,l))}function Xn(n,r){return typeof n=="function"?n(r):n}function Ca(n){return n.split("-")[0]}function fi(n){return n.split("-")[1]}function Xf(n){return n==="x"?"y":"x"}function Kf(n){return n==="y"?"height":"width"}function Sn(n){const r=n[0];return r==="t"||r==="b"?"y":"x"}function Zf(n){return Xf(Sn(n))}function WO(n,r,l){l===void 0&&(l=!1);const o=fi(n),c=Zf(n),f=Kf(c);let d=c==="x"?o===(l?"end":"start")?"right":"left":o==="start"?"bottom":"top";return r.reference[f]>r.floating[f]&&(d=ms(d)),[d,ms(d)]}function FO(n){const r=ms(n);return[Ef(n),r,Ef(r)]}function Ef(n){return n.includes("start")?n.replace("start","end"):n.replace("end","start")}const lv=["left","right"],ov=["right","left"],$O=["top","bottom"],IO=["bottom","top"];function JO(n,r,l){switch(n){case"top":case"bottom":return l?r?ov:lv:r?lv:ov;case"left":case"right":return r?$O:IO;default:return[]}}function eR(n,r,l,o){const c=fi(n);let f=JO(Ca(n),l==="start",o);return c&&(f=f.map(d=>d+"-"+c),r&&(f=f.concat(f.map(Ef)))),f}function ms(n){const r=Ca(n);return ZO[r]+n.slice(r.length)}function tR(n){var r,l,o,c;return{top:(r=n.top)!=null?r:0,right:(l=n.right)!=null?l:0,bottom:(o=n.bottom)!=null?o:0,left:(c=n.left)!=null?c:0}}function ab(n){return typeof n!="number"?tR(n):{top:n,right:n,bottom:n,left:n}}function ps(n){const{x:r,y:l,width:o,height:c}=n;return{width:o,height:c,top:l,left:r,right:r+o,bottom:l+c,x:r,y:l}}function sv(n,r,l){let{reference:o,floating:c}=n;const f=Sn(r),d=Zf(r),h=Kf(d),v=Ca(r),p=f==="y",y=o.x+o.width/2-c.width/2,m=o.y+o.height/2-c.height/2,T=o[h]/2-c[h]/2;let R;switch(v){case"top":R={x:y,y:o.y-c.height};break;case"bottom":R={x:y,y:o.y+o.height};break;case"right":R={x:o.x+o.width,y:m};break;case"left":R={x:o.x-c.width,y:m};break;default:R={x:o.x,y:o.y}}const O=fi(r);return O&&(R[d]+=T*(O==="end"?1:-1)*(l&&p?-1:1)),R}async function nR(n,r){var l;r===void 0&&(r={});const{x:o,y:c,platform:f,rects:d,elements:h,strategy:v}=n,{boundary:p="clippingAncestors",rootBoundary:y="viewport",elementContext:m="floating",altBoundary:T=!1,padding:R=0}=Xn(r,n),O=ab(R),M=h[T?m==="floating"?"reference":"floating":m],N=ps(await f.getClippingRect({element:(l=await(f.isElement==null?void 0:f.isElement(M)))==null||l?M:M.contextElement||await(f.getDocumentElement==null?void 0:f.getDocumentElement(h.floating)),boundary:p,rootBoundary:y,strategy:v})),z=m==="floating"?{x:o,y:c,width:d.floating.width,height:d.floating.height}:d.reference,_=await(f.getOffsetParent==null?void 0:f.getOffsetParent(h.floating)),q=await(f.isElement==null?void 0:f.isElement(_))&&await(f.getScale==null?void 0:f.getScale(_))||{x:1,y:1},P=ps(f.convertOffsetParentRelativeRectToViewportRelativeRect?await f.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:z,offsetParent:_,strategy:v}):z);return{top:(N.top-P.top+O.top)/q.y,bottom:(P.bottom-N.bottom+O.bottom)/q.y,left:(N.left-P.left+O.left)/q.x,right:(P.right-N.right+O.right)/q.x}}const aR=50,rR=async(n,r,l)=>{const{placement:o="bottom",strategy:c="absolute",middleware:f=[],platform:d}=l,h=d.detectOverflow?d:{...d,detectOverflow:nR},v=await(d.isRTL==null?void 0:d.isRTL(r));let p=await d.getElementRects({reference:n,floating:r,strategy:c}),{x:y,y:m}=sv(p,o,v),T=o,R=0;const O={};for(let S=0;S<f.length;S++){const M=f[S];if(!M)continue;const{name:N,fn:z}=M,{x:_,y:q,data:P,reset:W}=await z({x:y,y:m,initialPlacement:o,placement:T,strategy:c,middlewareData:O,rects:p,platform:h,elements:{reference:n,floating:r}});y=_??y,m=q??m,O[N]={...O[N],...P},W&&R<aR&&(R++,typeof W=="object"&&(W.placement&&(T=W.placement),W.rects&&(p=W.rects===!0?await d.getElementRects({reference:n,floating:r,strategy:c}):W.rects),{x:y,y:m}=sv(p,T,v)),S=-1)}return{x:y,y:m,placement:T,strategy:c,middlewareData:O}},iR=n=>({name:"arrow",options:n,async fn(r){const{x:l,y:o,placement:c,rects:f,platform:d,elements:h,middlewareData:v}=r,{element:p,padding:y=0}=Xn(n,r)||{};if(p==null)return{};const m=ab(y),T={x:l,y:o},R=Zf(c),O=Kf(R),S=await d.getDimensions(p),M=R==="y",N=M?"top":"left",z=M?"bottom":"right",_=M?"clientHeight":"clientWidth",q=f.reference[O]+f.reference[R]-T[R]-f.floating[O],P=T[R]-f.reference[R],W=await(d.getOffsetParent==null?void 0:d.getOffsetParent(p));let $=W?W[_]:0;(!$||!await(d.isElement==null?void 0:d.isElement(W)))&&($=h.floating[_]||f.floating[O]);const B=q/2-P/2,ie=$/2-S[O]/2-1,he=Ra(m[N],ie),ae=Ra(m[z],ie),ue=$-S[O]-ae,fe=$/2-S[O]/2+B,be=nb(he,fe,ue),de=!v.arrow&&fi(c)!=null&&fe!==be&&f.reference[O]/2-(fe<he?he:ae)-S[O]/2<0,A=de?fe
vendor: 4,208 bytes, line 10
10<he?fe-he:fe-ue:0;return{[R]:T[R]+A,data:{[R]:be,centerOffset:fe-be-A,...de&&{alignmentOffset:A}},reset:de}}}),lR=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(r){var l,o;const{placement:c,middlewareData:f,rects:d,initialPlacement:h,platform:v,elements:p}=r,{mainAxis:y=!0,crossAxis:m=!0,fallbackPlacements:T,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:S=!0,...M}=Xn(n,r);if((l=f.arrow)!=null&&l.alignmentOffset)return{};const N=Ca(c),z=Sn(h),_=Ca(h)===h,q=await(v.isRTL==null?void 0:v.isRTL(p.floating)),P=T||(_||!S?[ms(h)]:FO(h)),W=O!=="none";!T&&W&&P.push(...eR(h,S,O,q));const $=[h,...P],B=await v.detectOverflow(r,M),ie=[];let he=((o=f.flip)==null?void 0:o.overflows)||[];if(y&&ie.push(B[N]),m){const be=WO(c,d,q);ie.push(B[be[0]],B[be[1]])}if(he=[...he,{placement:c,overflows:ie}],!ie.every(be=>be<=0)){var ae,ue;const be=(((ae=f.flip)==null?void 0:ae.index)||0)+1,de=$[be];if(de&&(!(m==="alignment"?z!==Sn(de):!1)||he.every(Z=>Sn(Z.placement)===z?Z.overflows[0]>0:!0)))return{data:{index:be,overflows:he},reset:{placement:de}};let A=(ue=he.filter(Y=>Y.overflows[0]<=0).sort((Y,Z)=>Y.overflows[1]-Z.overflows[1])[0])==null?void 0:ue.placement;if(!A)switch(R){case"bestFit":{var fe;const Y=(fe=he.filter(Z=>{if(W){const re=Sn(Z.placement);return re===z||re==="y"}return!0}).map(Z=>[Z.placement,Z.overflows.filter(re=>re>0).reduce((re,E)=>re+E,0)]).sort((Z,re)=>Z[1]-re[1])[0])==null?void 0:fe[0];Y&&(A=Y);break}case"initialPlacement":A=h;break}if(c!==A)return{reset:{placement:A}}}return{}}}};function cv(n,r){return{top:n.top-r.height,right:n.right-r.width,bottom:n.bottom-r.height,left:n.left-r.width}}function uv(n){return KO.some(r=>n[r]>=0)}const oR=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(r){const{rects:l,platform:o}=r,{strategy:c="referenceHidden",...f}=Xn(n,r);switch(c){case"referenceHidden":{const d=await o.detectOverflow(r,{...f,elementContext:"reference"}),h=cv(d,l.reference);return{data:{referenceHiddenOffsets:h,referenceHidden:uv(h)}}}case"escaped":{const d=await o.detectOverflow(r,{...f,altBoundary:!0}),h=cv(d,l.floating);return{data:{escapedOffsets:h,escaped:uv(h)}}}default:return{}}}}},rb=new Set(["left","top"]);async function sR(n,r){const{placement:l,platform:o,elements:c}=n,f=await(o.isRTL==null?void 0:o.isRTL(c.floating)),d=Ca(l),h=fi(l),v=Sn(l)==="y",p=rb.has(d)?-1:1,y=f&&v?-1:1,m=Xn(r,n);let{mainAxis:T,crossAxis:R,alignmentAxis:O}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return h&&typeof O=="number"&&(R=h==="end"?O*-1:O),v?{x:R*y,y:T*p}:{x:T*p,y:R*y}}const cR=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(r){var l,o;const{x:c,y:f,placement:d,middlewareData:h}=r,v=await sR(r,n);return d===((l=h.offset)==null?void 0:l.placement)&&(o=h.arrow)!=null&&o.alignmentOffset?{}:{x:c+v.x,y:f+v.y,data:{...v,placement:d}}}}},uR=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(r){const{x:l,y:o,placement:c,platform:f}=r,{mainAxis:d=!0,crossAxis:h=!1,limiter:v={fn:z=>{let{x:_,y:q}=z;return{x:_,y:q}}},...p}=Xn(n,r),y={x:l,y:o},m=await f.detectOverflow(r,p),T=Sn(c),R=Xf(T);let O=y[R],S=y[T];const M=(z,_)=>nb(_+m[z==="y"?"top":"left"],_,_-m[z==="y"?"bottom":"right"]);d&&(O=M(R,O)),h&&(S=M(T,S));const N=v.fn({...r,[R]:O,[T]:S});return{...N,data:{x:N.x-l,y:N.y-o,enabled:{[R]:d,[T]:h}}}}}},fR=function(n){return n===void 0&&(n={}),{options:n,fn(r){var l,o;const{x:c,y:f,placement:d,rects:h,middlewareData:v}=r,{offset:p=0,mainAxis:y=!0,crossAxis:m=!0}=Xn(n,r),T={x:c,y:f},R=Sn(d),O=Xf(R);let S=T[O],M=T[R];const N=Xn(p,r),z=typeof N=="number"?{mainAxis:N,crossAxis:0}:{mainAxis:(l=N.mainAxis)!=null?l:0,crossAxis:(o=N.crossAxis)!=null?o:0};if(y){const P=O==="y"?"height":"width",W=h.reference[O]-h.floating[P]+z.mainAxis,$=h.reference[O]+h.reference[P]-z.mainAxis;S<W?S=W:S>$&&(S=$)}if(m){var _,q;const P=O==="y"?"width":"height",W=rb.has(Ca(d)),$=h.reference[R]-h.floating[P]+(W&&((_=v.offset)==null?void 0:_[R])||0)+(W?0:z.crossAxis),B=h.reference[R]+h.reference[P]+(W?0:((q=v.offset)==null?void 0:q[R])||0)-(W?z.crossAxis:0);M<$?M=$:M>
10B&&(M=B)}return{[O]:S,[R]:M}}}},dR=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(r){const{placement:l,rects:o,platform:c,elements:f}=r,{apply:d=()=>{},...h}=Xn(n,r),v=await c.detectOverflow(r,h),p=Ca(l),y=fi(l),m=Sn(l)==="y",{width:T,height:R}=o.floating;let O,S;p==="top"||p==="bottom"?(O=p,S=y===(await(c.isRTL==null?void 0:c.isRTL(f.floating))?"start":"end")?"left":"right"):(S=p,O=y==="end"?"top":"bottom");const M=R-v.top-v.bottom,N=T-v.left-v.right,z=Ra(R-v[O],M),_=Ra(T-v[S],N),q=r.middlewareData.shift,P=!q;let W=z,$=_;q!=null&&q.enabled.x&&($=N),q!=null&&q.enabled.y&&(W=M),P&&!y&&(m?$=T-2*Vn(v.left,v.right):W=R-2*Vn(v.top,v.bottom)),await d({...r,availableWidth:$,availableHeight:W});const B=await c.getDimensions(f.floating);return T!==B.width||R!==B.height?{reset:{rects:!0}}:{}}}};function Ss(){return typeof window<"u"}function di(n){return ib(n)?(n.nodeName||"").toLowerCase():"#document"}function kt(n){var r;return(n==null||(r=n.ownerDocument)==null?void 0:r.defaultView)||window}function Zn(n){var r;return(r=(ib(n)?n.ownerDocument:n.document)||window.document)==null?void 0:r.documentElement}function ib(n){return Ss()?n instanceof Node||n instanceof kt(n).Node:!1}function En(n){return Ss()?n instanceof Element||n instanceof kt(n).Element:!1}function Aa(n){return Ss()?n instanceof HTMLElement||n instanceof kt(n).HTMLElement:!1}function fv(n){return!Ss()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof kt(n).ShadowRoot}function Es(n){const{overflow:r,overflowX:l,overflowY:o,display:c}=Tn(n);return/auto|scroll|overlay|hidden|clip/.test(r+o+l)&&c!=="inline"&&c!=="contents"}function hR(n){return/^(table|td|th)$/.test(di(n))}function Ts(n){try{if(n.matches(":popover-open"))return!0}catch{}try{return n.matches(":modal")}catch{return!1}}const mR=/transform|translate|scale|rotate|perspective|filter/,pR=/paint|layout|strict|content/,tr=n=>!!n&&n!=="none";let ef;function Wf(n){const r=En(n)?Tn(n):n;return tr(r.transform)||tr(r.translate)||tr(r.scale)||tr(r.rotate)||tr(r.perspective)||!Ff()&&(tr(r.backdropFilter)||tr(r.filter))||mR.test(r.willChange||"")||pR.test(r.contain||"")}function gR(n){let r=ir(n);for(;Aa(r)&&!xl(r);){if(Wf(r))return r;if(Ts(r))return null;r=ir(r)}return null}function Ff(){return ef==null&&(ef=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ef}function xl(n){return/^(html|body|#document)$/.test(di(n))}function Tn(n){return kt(n).getComputedStyle(n)}function Os(n){return En(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function ir(n){if(di(n)==="html")return n;const r=n.assignedSlot||n.parentNode||fv(n)&&n.host||Zn(n);return fv(r)?r.host:r}function lb(n){const r=ir(n);return xl(r)?(n.ownerDocument||n).body:Aa(r)&&Es(r)?r:lb(r)}function wl(n,r,l){var o;r===void 0&&(r=[]),l===void 0&&(l=!0);const c=lb(n),f=c===((o=n.ownerDocument)==null?void 0:o.body),d=kt(c);if(f){const h=Tf(d);return r.concat(d,d.visualViewport||[],Es(c)?c:[],h&&l?wl(h):[])}else return r.concat(c,wl(c,[],l))}function Tf(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function ob(n){const r=Tn(n);let l=parseFloat(r.width)||0,o=parseFloat(r.height)||0;const c=Aa(n),f=c?n.offsetWidth:l,d=c?n.offsetHeight:o,h=hs(l)!==f||hs(o)!==d;return h&&(l=f,o=d),{width:l,height:o,$:h}}function $f(n){return En(n)?n:n.contextElement}function ii(n){const r=$f(n);if(!Aa(r))return Qn(1);const l=r.getBoundingClientRect(),{width:o,height:c,$:f}=ob(r);let d=(f?hs(l.width):l.width)/o,h=(f?hs(l.height):l.height)/c;return(!d||!Number.isFinite(d))&&(d=1),(!h||!Number.isFinite(h))&&(h=1),{x:d,y:h}}const vR=Qn(0);function sb(n){const r=kt(n);return!Ff()||!r.visualViewport?vR:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function yR(n,r,l){return r===void 0&&(r=!1),!!l&&r&&l===kt(n)}function lr(n,r,l,o){r===void 0&&(r=!1),l===void 0&&(l=!1);const c=n.getBoundingClientRect(),f=$f(n);let d=Qn(1);r&&(o?En(o)&&(d=ii(o)):d=ii(n));const h=yR(f,l,o)?sb(f):Qn(0);let v=(c.left+h.x)/d.x,p=(c.top+h.y)/d.y,y=c.width/d.x,m=c.height/d.y;if(f&&o){const T=kt(f),R=En(o)?kt(o):o;let O=T,S=Tf(O);for(;S&&R!==O;){const M=ii(S),N=S.getBoundingClientRect(),z=Tn(S),_=N.left+(S.clientLeft+parseFloat(z.paddingLeft))*M.x,q=N.top+(S.clientTop+parseFloat(z.paddingTop))*M.y;
10v*=M.x,p*=M.y,y*=M.x,m*=M.y,v+=_,p+=q,O=kt(S),S=Tf(O)}}return ps({width:y,height:m,x:v,y:p})}function Rs(n,r){const l=Os(n).scrollLeft;return r?r.left+l:lr(Zn(n)).left+l}function cb(n,r){const l=n.getBoundingClientRect(),o=l.left+r.scrollLeft-Rs(n,l),c=l.top+r.scrollTop;return{x:o,y:c}}function bR(n){let{elements:r,rect:l,offsetParent:o,strategy:c}=n;const f=c==="fixed",d=Zn(o),h=r?Ts(r.floating):!1;if(o===d||h&&f)return l;let v={scrollLeft:0,scrollTop:0},p=Qn(1);const y=Qn(0),m=Aa(o);if((m||!f)&&((di(o)!=="body"||Es(d))&&(v=Os(o)),m)){const R=lr(o);p=ii(o),y.x=R.x+o.clientLeft,y.y=R.y+o.clientTop}const T=d&&!m&&!f?cb(d,v):Qn(0);return{width:l.width*p.x,height:l.height*p.y,x:l.x*p.x-v.scrollLeft*p.x+y.x+T.x,y:l.y*p.y-v.scrollTop*p.y+y.y+T.y}}function xR(n){return n.getClientRects?Array.from(n.getClientRects()):[]}function wR(n){const r=Os(n),l=n.ownerDocument.body,o=Vn(n.scrollWidth,n.clientWidth,l.scrollWidth,l.clientWidth),c=Vn(n.scrollHeight,n.clientHeight,l.scrollHeight,l.clientHeight);let f=-r.scrollLeft+Rs(n);const d=-r.scrollTop;return Tn(l).direction==="rtl"&&(f+=Vn(n.clientWidth,l.clientWidth)-o),{width:o,height:c,x:f,y:d}}const SR=25;function ER(n,r,l){l===void 0&&(l="viewport");const o=l==="layoutViewport",c=kt(n),f=Zn(n),d=c.visualViewport;let h=f.clientWidth,v=f.clientHeight,p=0,y=0;if(d){const T=!Ff()||r==="fixed";o?T||(p=-d.offsetLeft,y=-d.offsetTop):(h=d.width,v=d.height,T&&(p=d.offsetLeft,y=d.offsetTop))}if(Rs(f)<=0){const T=f.ownerDocument,R=T.body,O=getComputedStyle(R),S=T.compatMode==="CSS1Compat"&&parseFloat(O.marginLeft)+parseFloat(O.marginRight)||0,M=Math.abs(f.clientWidth-R.clientWidth-S),N=getComputedStyle(f).scrollbarGutter==="stable both-edges"?M/2:M;N<=SR&&(h-=N)}return{width:h,height:v,x:p,y}}function TR(n,r){const l=lr(n,!0,r==="fixed"),o=l.top+n.clientTop,c=l.left+n.clientLeft,f=ii(n),d=n.clientWidth*f.x,h=n.clientHeight*f.y,v=c*f.x,p=o*f.y;return{width:d,height:h,x:v,y:p}}function dv(n,r,l){let o;if(r==="viewport"||r==="layoutViewport")o=ER(n,l,r);else if(r==="document")o=wR(Zn(n));else if(En(r))o=TR(r,l);else{const c=sb(n);o={x:r.x-c.x,y:r.y-c.y,width:r.width,height:r.height}}return ps(o)}function OR(n,r){const l=r.get(n);if(l)return l;let o=wl(n,[],!1).filter(h=>En(h)&&di(h)!=="body"),c=null;const f=Tn(n).position==="fixed";let d=f?ir(n):n;for(;En(d)&&!xl(d);){const h=Tn(d),v=Wf(d),p=c?c.position:f?"fixed":"";!v&&(p==="fixed"||p==="absolute"&&h.position==="static")?o=o.filter(m=>m!==d):c=h,d=ir(d)}return r.set(n,o),o}function RR(n){let{element:r,boundary:l,rootBoundary:o,strategy:c}=n;const d=[...l==="clippingAncestors"?Ts(r)?[]:OR(r,this._c):[].concat(l),o],h=dv(r,d[0],c);let v=h.top,p=h.right,y=h.bottom,m=h.left;for(let T=1;T<d.length;T++){const R=dv(r,d[T],c);v=Vn(R.top,v),p=Ra(R.right,p),y=Ra(R.bottom,y),m=Vn(R.left,m)}return{width:p-m,height:y-v,x:m,y:v}}function CR(n){const{width:r,height:l}=ob(n);return{width:r,height:l}}function MR(n,r,l){const o=Aa(r),c=Zn(r),f=l==="fixed",d=lr(n,!0,f,r);let h={scrollLeft:0,scrollTop:0};const v=Qn(0);if((o||!f)&&((di(r)!=="body"||Es(c))&&(h=Os(r)),o)){const T=lr(r,!0,f,r);v.x=T.x+r.clientLeft,v.y=T.y+r.clientTop}!o&&c&&(v.x=Rs(c));const p=c&&!o&&!f?cb(c,h):Qn(0),y=d.left+h.scrollLeft-v.x-p.x,m=d.top+h.scrollTop-v.y-p.y;return{x:y,y:m,width:d.width,height:d.height}}function tf(n){return Tn(n).position==="static"}function hv(n,r){if(!Aa(n)||Tn(n).position==="fixed")return null;if(r)return r(n);let l=n.offsetParent;return Zn(n)===l&&(l=l.ownerDocument.body),l}function ub(n,r){const l=kt(n);if(Ts(n))return l;if(!Aa(n)){let c=ir(n);for(;c&&!xl(c);){if(En(c)&&!tf(c))return c;c=ir(c)}return l}let o=hv(n,r);for(;o&&hR(o)&&tf(o);)o=hv(o,r);return o&&xl(o)&&tf(o)&&!Wf(o)?l:o||gR(n)||l}const NR=async function(n){const r=this.getOffsetParent||ub,l=this.getDimensions,o=await l(n.floating);return{reference:MR(n.reference,await r(n.floating),n.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function AR(n){return Tn(n).direction==="rtl"}const DR={convertOffsetParentRelativeRectToViewportRelativeRect:bR,getDocumentElement:Zn,getClippingRect:RR,getOffsetParent:ub,getElementRects:NR,getClientRects:xR,getDimensions:CR,getScale:ii,isElement:En,isRTL:AR};function fb(n,r){return n.x===r.x&&n.y===r.y&&n.width===r.width&&n.height===r.height}function _R(n,r,l){let o=null,c;const f=Zn(n);function d(){var y;clearTimeout(c),(y=o)==null||y.disconnect(),o=null}function h(y,m){y===void 0&&(y=!1),m===void 0&&(m=1),d();const T=n.getBoundingClientRect(),{left:R,top:O,width:S,height:M}=T;if(y||r(),!S||!M)return;const N=Wo(O),z=Wo(f.clientWidth-(R+S)),_=Wo(f.clientHeight-(O+M)),q=Wo(R),W={rootMargin:-N+"px "+-z+"px "+-_+"px "+-q+"px",threshold:Vn(0,Ra(1,m))||1};let $=!0;function B(ie){const he=ie[0].intersectionRatio;if(!fb(T,n.getBoundingClientRect()))return h();if(he!==m){if(!$)return h();he?h(!1,he):c=setTimeout(()=>{h(!1,1e-7)},1e3)}$=!1}try{o=new IntersectionObserver(B,{...W,root:f.ownerDocument})}catch{o=new IntersectionObserver(B,W)}o.observe(n)}const v=kt(n),p=()=>h(l);return v.addEventListener("resize",p),h(!0),()=>{v.removeEventListener("resize",p),d()}}function jR(n,r,l,o){o===void 0&&(o={});const{ancestorScroll:c=!0,ancestorResize:f=!0,elementResize:d=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:v=!1}=o,p=$f(n),y=c||f?[...p?wl(p):[],...r?wl(r):[]]:[];
vendor: 1,999 bytes, line 10
10y.forEach(N=>{c&&N.addEventListener("scroll",l),f&&N.addEventListener("resize",l)});const m=p&&h?_R(p,l,f):null;let T=-1,R=null;d&&(R=new ResizeObserver(N=>{let[z]=N;z&&z.target===p&&R&&r&&(R.unobserve(r),cancelAnimationFrame(T),T=requestAnimationFrame(()=>{var _;(_=R)==null||_.observe(r)})),l()}),p&&!v&&R.observe(p),r&&R.observe(r));let O,S=v?lr(n):null;v&&M();function M(){const N=lr(n);S&&!fb(S,N)&&l(),S=N,O=requestAnimationFrame(M)}return l(),()=>{var N;y.forEach(z=>{c&&z.removeEventListener("scroll",l),f&&z.removeEventListener("resize",l)}),m?.(),(N=R)==null||N.disconnect(),R=null,v&&cancelAnimationFrame(O)}}const zR=cR,kR=uR,UR=lR,HR=dR,LR=oR,mv=iR,BR=fR,qR=(n,r,l)=>{const o=new Map,c=l??{},f={...DR,...c.platform,_c:o};return rR(n,r,{...c,platform:f})};var PR=typeof document<"u",YR=function(){},as=PR?x.useLayoutEffect:YR;function gs(n,r){if(n===r)return!0;if(typeof n!=typeof r)return!1;if(typeof n=="function"&&n.toString()===r.toString())return!0;let l,o,c;if(n&&r&&typeof n=="object"){if(Array.isArray(n)){if(l=n.length,l!==r.length)return!1;for(o=l;o--!==0;)if(!gs(n[o],r[o]))return!1;return!0}if(c=Object.keys(n),l=c.length,l!==Object.keys(r).length)return!1;for(o=l;o--!==0;)if(!{}.hasOwnProperty.call(r,c[o]))return!1;for(o=l;o--!==0;){const f=c[o];if(!(f==="_owner"&&n.$$typeof)&&!gs(n[f],r[f]))return!1}return!0}return n!==n&&r!==r}function db(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function pv(n,r){const l=db(n);return Math.round(r*l)/l}function nf(n){const r=x.useRef(n);return as(()=>{r.current=n}),r}function VR(n){n===void 0&&(n={});const{placement:r="bottom",strategy:l="absolute",middleware:o=[],platform:c,elements:{reference:f,floating:d}={},transform:h=!0,whileElementsMounted:v,open:p}=n,[y,m]=x.useState({x:0,y:0,strategy:l,placement:r,middlewareData:{},isPositioned:!1}),[T,R]=x.useState(o);gs(T,o)||R(o);const[O,S]=x.useState(null),[M,N]=x.useState(null),z=x.useCallback(Z=>{Z!==W.current&&(W.current=Z,S(Z))}
10,[]),_=x.useCallback(Z=>{Z!==$.current&&($.current=Z,N(Z))},[]),q=f||O,P=d||M,W=x.useRef(null),$=x.useRef(null),B=x.useRef(y),ie=v!=null,he=nf(v),ae=nf(c),ue=nf(p),fe=x.useCallback(()=>{if(!W.current||!$.current)return;const Z={placement:r,strategy:l,middleware:T};ae.current&&(Z.platform=ae.current),qR(W.current,$.current,Z).then(re=>{const E={...re,isPositioned:ue.current!==!1};be.current&&!gs(B.current,E)&&(B.current=E,ci.flushSync(()=>{m(E)}))})},[T,r,l,ae,ue]);as(()=>{p===!1&&B.current.isPositioned&&(B.current.isPositioned=!1,m(Z=>({...Z,isPositioned:!1})))},[p]);const be=x.useRef(!1);as(()=>(be.current=!0,()=>{be.current=!1}),[]),as(()=>{if(q&&(W.current=q),P&&($.current=P),q&&P){if(he.current)return he.current(q,P,fe);fe()}},[q,P,fe,he,ie]);const de=x.useMemo(()=>({reference:W,floating:$,setReference:z,setFloating:_}),[z,_]),A=x.useMemo(()=>({reference:q,floating:P}),[q,P]),Y=x.useMemo(()=>{const Z={position:l,left:0,top:0};if(!A.floating)return Z;const re=pv(A.floating,y.x),E=pv(A.floating,y.y);return h?{...Z,transform:"translate("+re+"px, "+E+"px)",...db(A.floating)>=1.5&&{willChange:"transform"}}:{position:l,left:re,top:E}},[l,h,A.floating,y.x,y.y]);return x.useMemo(()=>({...y,update:fe,refs:de,elements:A,floatingStyles:Y}),[y,fe,de,A,Y])}const QR=n=>{function r(l){return{}.hasOwnProperty.call(l,"current")}return{name:"arrow",options:n,fn(l){const{element:o,padding:c}=typeof n=="function"?n(l):n;return o&&r(o)?o.current!=null?mv({element:o.current,padding:c}).fn(l):{}:o?mv({element:o,padding:c}).fn(l):{}}}},GR=(n,r)=>{const l=zR(n);return{name:l.name,fn:l.fn,options:[n,r]}},XR=(n,r)=>{const l=kR(n);return{name:l.name,fn:l.fn,options:[n,r]}},KR=(n,r)=>({fn:BR(n).fn,options:[n,r]}),ZR=(n,r)=>{const l=UR(n);return{name:l.name,fn:l.fn,options:[n,r]}},WR=(n,r)=>{const l=HR(n);return{name:l.name,fn:l.fn,options:[n,r]}},FR=(n,r)=>{const l=LR(n);return{name:l.name,fn:l.fn,options:[n,r]}},$R=(n,r)=>{const l=QR(n);return{name:l.name,fn:l.fn,options:[n,r]}};var IR="Arrow",hb=x.forwardRef((n,r)=>{const{children:l,width:o=10,height:c=5,...f}=n;return b.jsx(_e.svg,{...f,ref:r,width:o,height:c,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?l:b.jsx("polygon",{points:"0,0 30,0 15,10"})})});hb.displayName=IR;var JR=hb,If="Popper",[mb,pb]=El(If),[eC,gb]=mb(If),vb=n=>{const{__scopePopper:r,children:l}=n,[o,c]=x.useState(null),[f,d]=x.useState(void 0);return b.jsx(eC,{scope:r,anchor:o,onAnchorChange:c,placementState:f,setPlacementState:d,children:l})};vb.displayName=If;var yb="PopperAnchor",bb=x.forwardRef((n,r)=>{const{__scopePopper:l,virtualRef:o,...c}=n,f=gb(yb,l),d=x.useRef(null),h=f.onAnchorChange,v=x.useCallback(O=>{d.current=O,O&&h(O)},[h]),p=Ye(r,v),y=x.useRef(null);x.useEffect(()=>{if(!o)return;const O=y.current;y.current=o.current,O!==y.current&&h(y.current)});const m=f.placementState&&ed(f.placementState),T=m?.[0],R=m?.[1];return o?null:b.jsx(_e.div,{"data-radix-popper-side":T,"data-radix-popper-align":R,...c,ref:p})});bb.displayName=yb;var Jf="PopperContent",[tC,nC]=mb(Jf),xb=x.forwardRef((n,r)=>{const{__scopePopper:l,side:o="bottom",sideOffset:c=0,align:f="center",alignOffset:d=0,arrowPadding:h=0,avoidCollisions:v=!0,collisionBoundary:p=[],collisionPadding:y=0,sticky:m="partial",hideWhenDetached:T=!1,updatePositionStrategy:R="optimized",onPlaced:O,...S}=n,M=gb(Jf,l),[N,z]=x.useState(null),_=Ye(r,z),[q,P]=x.useState(null),W=fy(q),$=W?.width??0,B=W?.height??0,ie=o+(f!=="center"?"-"+f:""),he=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},ae=Array.isArray(p)?p:[p],ue=ae.length>0,fe={padding:he,boundary:ae.filter(rC),altBoundary:ue},{refs:be,floatingStyles:de,placement:A,isPositioned:Y,middlewareData:Z}=VR({strategy:"fixed",placement:ie,whileElementsMounted:(...ne)=>jR(...ne,{animationFrame:R==="always"}),elements:{reference:M.anchor},middleware:[GR({mainAxis:c+B,alignmentAxis:d}),v&&XR({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?KR():void 0,...fe}),v&&ZR({...fe}),WR({...fe,apply:({elements:ne,rects:pe,availableWidth:Re,availableHeight:Se})=>{const{width:Ne,height:lt}=pe.reference,Ge=ne.floating.style;Ge.setProperty("--radix-popper-available-width",`${Re}px`),Ge.setProperty("--radix-popper-available-height",`${Se}px`),Ge.setProperty("--radix-popper-anchor-width",`${Ne}px`),Ge.setProperty("--radix-popper-anchor-height",`${lt}px`)}}),q&&$R({element:q,padding:h}),iC({arrowWidth:$,arrowHeight:B}
10),T&&FR({strategy:"referenceHidden",...fe,boundary:ue?fe.boundary:void 0})]}),re=M.setPlacementState;St(()=>(re(A),()=>{re(void 0)}),[A,re]);const[E,V]=ed(A),F=Gn(O);St(()=>{Y&&F?.()},[Y,F]);const Q=Z.arrow?.x,I=Z.arrow?.y,te=Z.arrow?.centerOffset!==0,[ee,le]=x.useState();return St(()=>{N&&le(window.getComputedStyle(N).zIndex)},[N]),b.jsx("div",{ref:be.setFloating,"data-radix-popper-content-wrapper":"",style:{...de,transform:Y?de.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ee,"--radix-popper-transform-origin":[Z.transformOrigin?.x,Z.transformOrigin?.y].join(" "),...Z.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:n.dir,children:b.jsx(tC,{scope:l,placedSide:E,placedAlign:V,onArrowChange:P,arrowX:Q,arrowY:I,shouldHideArrow:te,children:b.jsx(_e.div,{"data-side":E,"data-align":V,...S,ref:_,style:{...S.style,animation:Y?void 0:"none"}})})})});xb.displayName=Jf;var wb="PopperArrow",aC={top:"bottom",right:"left",bottom:"top",left:"right"},Sb=x.forwardRef(function(r,l){const{__scopePopper:o,...c}=r,f=nC(wb,o),d=aC[f.placedSide];return b.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:b.jsx(JR,{...c,ref:l,style:{...c.style,display:"block"}})})});Sb.displayName=wb;function rC(n){return n!==null}var iC=n=>({name:"transformOrigin",options:n,fn(r){const{placement:l,rects:o,middlewareData:c}=r,d=c.arrow?.centerOffset!==0,h=d?0:n.arrowWidth,v=d?0:n.arrowHeight,[p,y]=ed(l),m={start:"0%",center:"50%",end:"100%"}[y],T=(c.arrow?.x??0)+h/2,R=(c.arrow?.y??0)+v/2;let O="",S="";return p==="bottom"?(O=d?m:`${T}px`,S=`${-v}px`):p==="top"?(O=d?m:`${T}px`,S=`${o.floating.height+v}px`):p==="right"?(O=`${-v}px`,S=d?m:`${R}px`):p==="left"&&(O=`${o.floating.width+v}px`,S=d?m:`${R}px`),{data:{x:O,y:S}}}});function ed(n){const[r,l="center"]=n.split("-");return[r,l]}var lC=vb,oC=bb,sC=xb,cC=Sb,uC="Portal",td=x.forwardRef((n,r)=>{const{container:l,...o}
vendor: 9,970 bytes, lines 10-25
10=n,[c,f]=x.useState(!1);St(()=>f(!0),[]);const d=l||c&&globalThis?.document?.body;return d?ci.createPortal(b.jsx(_e.div,{...o,ref:r}),d):null});td.displayName=uC;function fC(n,r){return x.useReducer((l,o)=>r[l][o]??l,n)}var Rl=n=>{const{present:r,children:l}=n,o=dC(r),c=typeof l=="function"?l({present:o.isPresent}):x.Children.only(l),f=hC(o.ref,mC(c));return typeof l=="function"||o.isPresent?x.cloneElement(c,{ref:f}):null};Rl.displayName="Presence";function dC(n){const[r,l]=x.useState(),o=x.useRef(null),c=x.useRef(n),f=x.useRef("none"),d=x.useRef(void 0),h=n?"mounted":"unmounted",[v,p]=fC(h,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{v==="mounted"?(f.current=d.current??hl(o.current),d.current=void 0):f.current="none"},[v]),St(()=>{const y=o.current,m=c.current;if(m!==n){const R=f.current,O=hl(y);n?(d.current=O,p("MOUNT")):O==="none"||y?.display==="none"?p("UNMOUNT"):p(m&&R!==O?"ANIMATION_OUT":"UNMOUNT"),c.current=n}},[n,p]),St(()=>{if(r){let y;const m=r.ownerDocument.defaultView??window,T=O=>{const M=hl(o.current).includes(CSS.escape(O.animationName));if(O.target===r&&M&&(p("ANIMATION_END"),!c.current)){const N=r.style.animationFillMode;r.style.animationFillMode="forwards",y=m.setTimeout(()=>{r.style.animationFillMode==="forwards"&&(r.style.animationFillMode=N)})}},R=O=>{O.target===r&&(f.current=hl(o.current))};return r.addEventListener("animationstart",R),r.addEventListener("animationcancel",T),r.addEventListener("animationend",T),()=>{m.clearTimeout(y),r.removeEventListener("animationstart",R),r.removeEventListener("animationcancel",T),r.removeEventListener("animationend",T)}}else p("ANIMATION_END")},[r,p]),{isPresent:["mounted","unmountSuspended"].includes(v),ref:x.useCallback(y=>{if(y){const m=getComputedStyle(y);o.current=m,d.current=hl(m)}else o.current=null;l(y)},[])}}function gv(n,r){if(typeof n=="function")return n(r);n!=null&&(n.current=r)}function hC(...n){const r=x.useRef(n);return r.current=n,x.useCallback(l=>{const o=r.current;let c=!1;const f=o.map(d=>{const h=gv(d,l);return!c&&typeof h=="function"&&(c=!0),h});if(c)return()=>{for(let d=0;d<f.length;d++){const h=f[d];typeof h=="function"?h():gv(o[d],null)}}},[])}function hl(n){return n?.animationName||"none"}function mC(n){let r=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,l=r&&"isReactWarning"in r&&r.isReactWarning;return l?n.ref:(r=Object.getOwnPropertyDescriptor(n,"ref")?.get,l=r&&"isReactWarning"in r&&r.isReactWarning,l?n.props.ref:n.props.ref||n.ref)}var Eb=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),pC="VisuallyHidden",gC=x.forwardRef((n,r)=>b.jsx(_e.span,{...n,ref:r,style:{...Eb,...n.style}}));gC.displayName=pC;var vC=function(n){if(typeof document>"u")return null;var r=Array.isArray(n)?n[0]:n;return r.ownerDocument.body},ei=new WeakMap,Fo=new WeakMap,$o={},af=0,Tb=function(n){return n&&(n.host||Tb(n.parentNode))},yC=function(n,r){return r.map(function(l){if(n.contains(l))return l;var o=Tb(l);return o&&n.contains(o)?o:(console.error("aria-hidden",l,"in not contained inside",n,". Doing nothing"),null)}).filter(function(l){return!!l})},bC=function(n,r,l,o){var c=yC(r,Array.isArray(n)?n:[n]);$o[l]||($o[l]=new WeakMap);var f=$o[l],d=[],h=new Set,v=new Set(c),p=function(m){!m||h.has(m)||(h.add(m),p(m.parentNode))};c.forEach(p);var y=function(m){!m||v.has(m)||Array.prototype.forEach.call(m.children,function(T){if(h.has(T))y(T);else try{var R=T.getAttribute(o),O=R!==null&&R!=="false",S=(ei.get(T)||0)+1,M=(f.get(T)||0)+1;ei.set(T,S),f.set(T,M),d.push(T),S===1&&O&&Fo.set(T,!0),M===1&&T.setAttribute(l,"true"),O||T.setAttribute(o,"true")}catch(N){console.error("aria-hidden: cannot operate on ",T,N)}})};return y(r),h.clear(),af++,function(){d.forEach(function(m){var T=ei.get(m)-1,R=f.get(m)-1;ei.set(m,T),f.set(m,R),T||(Fo.has(m)||m.removeAttribute(o),Fo.delete(m)),R||m.removeAttribute(l)}),af--,af||(ei=new WeakMap,ei=new WeakMap,Fo=new WeakMap,$o={})}},Ob=function(n,r,l){l===void 0&&(l="data-aria-hidden");var o=Array.from(Array.isArray(n)?n:[n]),c=vC(n);return c?(o.push.apply(o,Array.from(c.querySelectorAll("[aria-live], script"))),bC(o,c,l,"aria-hidden")):function(){return null}},wn=function(){return wn=Object.assign||function(r){for(var l,o=1,c=arguments.length;o<c;o++){l=arguments[o];for(var f in l)Object.prototype.hasOwnProperty.call(l,f)&&(r[f]=l[f])}return r},wn.apply(this,arguments)};function Rb(n,r){var l={};for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&r.indexOf(o)<0&&(l[o]=n[o]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,o=Object.getOwnPropertySymbols(n);c<o.length;c++)r.indexOf(o[c])<0&&Object.prototype.propertyIsEnumerable.call(n,o[c])&&(l[o[c]]=n[o[c]]);return l}function xC(n,r,l){if(l||arguments.length===2)for(var o=0,c=r.length,f;o<c;o++)(f||!(o in r))&&(f||(f=Array.prototype.slice.call(r,0,o)),f[o]=r[o]);return n.concat(f||Array.prototype.slice.call(r))}var rs="right-scroll-bar-position",is="width-before-scroll-bar",wC="with-scroll-bars-hidden",SC="--removed-body-scroll-bar-size";function rf(n,r){return typeof n=="function"?n(r):n&&(n.current=r),n}function EC(n,r){var l=x.useState(function(){return{value:n,callback:r,facade:{get current(){return l.value},set current(o){var c=l.value;c!==o&&(l.value=o,l.callback(o,c))}}}})[0];return l.callback=r,l.facade}var TC=typeof window<"u"?x.useLayoutEffect:x.useEffect,vv=new WeakMap;function OC(n,r){var l=EC(null,function(o){return n.forEach(function(c){return rf(c,o)})});return TC(function(){var o=vv.get(l);if(o){var c=new Set(o),f=new Set(n),d=l.current;c.forEach(function(h){f.has(h)||rf(h,null)}),f.forEach(function(h){c.has(h)||rf(h,d)})}vv.set(l,n)},[n]),l}function RC(n){return n}function CC(n,r){r===void 0&&(r=RC);var l=[],o=!1,c={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return l.length?l[l.length-1]:n},useMedium:function(f){var d=r(f,o);return l.push(d),function(){l=l.filter(function(h){return h!==d})}},assignSyncMedium:function(f){for(o=!0;l.length;){var d=l;l=[],d.forEach(f)}l={push:function(h){return f(h)},filter:function(){return l}}},assignMedium:function(f){o=!0;var d=[];if(l.length){var h=l;l=[],h.forEach(f),d=l}var v=function(){var y=d;d=[],y.forEach(f)},p=function(){return Promise.resolve().then(v)};p(),l={push:function(y){d.push(y),p()},filter:function(y){return d=d.filter(y),l}}}};return c}function MC(n){n===void 0&&(n={});var r=CC(null);return r.options=wn({async:!0,ssr:!1},n),r}var Cb=function(n){var r=n.sideCar,l=Rb(n,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=r.read();if(!o)throw new Error("Sidecar medium not found");return x.createElement(o,wn({},l))};Cb.isSideCarExport=!0;function NC(n,r){return n.useMedium(r),Cb}var Mb=MC(),lf=function(){},Cs=x.forwardRef(function(n,r){var l=x.useRef(null),o=x.useState({onScrollCapture:lf,onWheelCapture:lf,onTouchMoveCapture:lf}),c=o[0],f=o[1],d=n.forwardProps,h=n.children,v=n.className,p=n.removeScrollBar,y=n.enabled,m=n.shards,T=n.sideCar,R=n.noRelative,O=n.noIsolation,S=n.inert,M=n.allowPinchZoom,N=n.as,z=N===void 0?"div":N,_=n.gapMode,q=Rb(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=T,W=OC([l,r]),$=wn(wn({},q),c);return x.createElement(x.Fragment,null,y&&x.createElement(P,{sideCar:Mb,removeScrollBar:p,shards:m,noRelative:R,noIsolation:O,inert:S,setCallbacks:f,allowPinchZoom:!!M,lockRef:l,gapMode:_}),d?x.cloneElement(x.Children.only(h),wn(wn({},$),{ref:W})):x.createElement(z,wn({},$,{className:v,ref:W}),h))});Cs.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Cs.classNames={fullWidth:is,zeroRight:rs};var AC=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function DC(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var r=AC();return r&&n.setAttribute("nonce",r),n}function _C(n,r){n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r))}function jC(n){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(n)}var zC=function(){var n=0,r=null;return{add:function(l){n==0&&(r=DC())&&(_C(r,l),jC(r)),n++},remove:function(){n--,!n&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},kC=function(){var n=zC();return function(r,l){x.useEffect(function(){return n.add(r),function(){n.remove()}},[r&&l])}},Nb=function(){var n=kC(),r=function(l){var o=l.styles,c=l.dynamic;return n(o,c),null};return r},UC={left:0,top:0,right:0,gap:0},of=function(n){return parseInt(n||"",10)||0},HC=function(n){var r=window.getComputedStyle(document.body),l=r[n==="padding"?"paddingLeft":"marginLeft"],o=r[n==="padding"?"paddingTop":"marginTop"],c=r[n==="padding"?"paddingRight":"marginRight"];return[of(l),of(o),of(c)]},LC=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return UC;var r=HC(n),l=document.documentElement.clientWidth,o=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,o-l+r[2]-r[0])}},BC=Nb(),li="data-scroll-locked",qC=function(n,r,l,o){var c=n.left,f=n.top,d=n.right,h=n.gap;return l===void 0&&(l="margin"),` 11 .`.concat(wC,` { 12 overflow: hidden `).concat(o,`; 13 padding-right: `).concat(h,"px ").concat(o,`; 14 } 15 body[`).concat(li,`] { 16 overflow: hidden `).concat(o,`; 17 overscroll-behavior: contain; 18 `).concat([r&&"position: relative ".concat(o,";"),l==="margin"&&` 19 padding-left: `.concat(c,`px; 20 padding-top: `).concat(f,`px; 21 padding-right: `).concat(d,`px; 22 margin-left:0; 23 margin-top:0; 24 margin-right: `).concat(h,"px ").concat(o,`; 25 `),l==="padding"&&"padding-right: ".concat(h,"px ").concat(o,";
25")].filter(Boolean).join(""),` 26 } 27 28 .`).concat(rs,` { 29 right: `).concat(h,"px ").concat(o,`; 30 } 31 32 .`).concat(is,` { 33 margin-right: `).concat(h,"px ").concat(o,`; 34 } 35 36 .`).concat(rs," .").concat(rs,` { 37 right: 0 `).concat(o,`; 38 } 39 40 .`).concat(is," .").concat(is,` { 41 margin-right: 0 `).concat(o,`; 42 } 43 44 body[`).concat(li,`] { 45 `).concat(SC,": ").concat(h,`px; 46 } 47`)},yv=function(){var n=parseInt(document.body.getAttribute(li)||"0",10);return isFinite(n)?n:0},PC=function(){x.useEffect(function(){return document.body.setAttribute(li,(yv()+1).toString()),function(){var n=yv()-1;n<=0?document.body.removeAttribute(li):document.body.setAttribute(li,n.toString())}},[])},YC=function(n){var r=n.noRelative,l=n.noImportant,o=n.gapMode,c=o===void 0?"margin":o;PC();var f=x.useMemo(function(){return LC(c)},[c]);return x.createElement(BC,{styles:qC(f,!r,c,l?"":"!important")})},Of=!1;if(typeof window<"u")try{var Io=Object.defineProperty({},"passive",{get:function(){return Of=!0,!0}});window.addEventListener("test",Io,Io),window.removeEventListener("test",Io,Io)}catch{Of=!1}var ti=Of?{passive:!1}:!1,VC=function(n){return n.tagName==="TEXTAREA"},Ab=function(n,r){if(!(n instanceof Element))return!1;var l=window.getComputedStyle(n);return l[r]!=="hidden"&&!(l.overflowY===l.overflowX&&!VC(n)&&l[r]==="visible")},QC=function(n){return Ab(n,"overflowY")},GC=function(n){return Ab(n,"overflowX")},bv=function(n,r){var l=r.ownerDocument,o=r;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var c=Db(n,o);if(c){var f=_b(n,o),d=f[1],h=f[2];if(d>h)return!0}o=o.parentNode}while(o&&o!==l.body);return!1},XC=function(n){var r=n.scrollTop,l=n.scrollHeight,o=n.clientHeight;return[r,l,o]},KC=function(n){var r=n.scrollLeft,l=n.scrollWidth,o=n.clientWidth;return[r,l,o]},Db=function(n,r){return n==="v"?QC(r):GC(r)},_b=function(n,r){return n==="v"?XC(r):KC(r)},ZC=function(n,r){return n==="h"&&r==="rtl"?-1:1},WC=function(n,r,l,o,c){var f=ZC(n,window.getComputedStyle(r).direction),d=f*o,h=l.target,v=r.contains(h),p=!1,y=d>0,m=0,T=0;do{if(!h)break;var R=_b(n,h),O=R[0],S=R[1],M=R[2],N=S-M-f*O;(O||N)&&Db(n,h)&&(m+=N,T+=O);var z=h.parentNode;h=z&&z.nodeType===Node.DOCUMENT_FRAGMENT_NODE?z.host:z}while(!v&&h!==document.body||v&&(r.contains(h)||r===h));return(y&&Math.abs(m)<1||!y&&Math.abs(T)<1)&&(p=!0),p},Jo=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},xv=function(n){return[n.deltaX,n.deltaY]},wv=function(n){return n&&"current"in n?n.current:n},FC=function(n,r){return n[0]===r[0]&&n[1]===r[1]},$C=function(n){return` 48 .block-interactivity-`.concat(n,` {pointer-events: none;} 49 .allow-interactivity-`).concat(n,` {pointer-events: all;} 50`)},IC=0,ni=[];function JC(n){var r=x.useRef([]),l=x.useRef([0,0]),o=x.useRef(),c=x.useState(IC++)[0],f=x.useState(Nb)[0],d=x.useRef(n);x.useEffect(function(){d.current=n},[n]),x.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(c));var S=xC([n.lockRef.current],(n.shards||[]).map(wv),!0).filter(Boolean);return S.forEach(function(M){return M.classList.add("allow-interactivity-".concat(c))}),function(){document.body.classList.remove("block-interactivity-".concat(c)),S.forEach(function(M){return M.classList.remove("allow-interactivity-".concat(c))})}}},[n.inert,n.lockRef.current,n.shards]);var h=x.useCallback(function(S,M){if("touches"in S&&S.touches.length===2||S.type==="wheel"&&S.ctrlKey)return!d.current.allowPinchZoom;var N=Jo(S),z=l.current,_="deltaX"in S?S.deltaX:z[0]-N[0],q="deltaY"in S?S.deltaY:z[1]-N[1],P,W=S.target,$=Math.abs(_)>Math.abs(q)?"h":"v";if("touches"in S&&$==="h"&&W.type==="range")return!1;var B=window.getSelection(),ie=B&&B.anchorNode,he=ie?ie===W||ie.contains(W):!1;if(he)return!1;var ae=bv($,W);if(!ae)return!0;if(ae?P=$:(P=$==="v"?"h":"v",ae=bv($,W)),!ae)return!1;if(!o.current&&"changedTouches"in S&&(_||q)&&(o.current=P),!P)return!0;var ue=o.current||P;return WC(ue,M,S,ue==="h"?_:q)},[]),v=x.useCallback(function(S){var M=S;if(!(!ni.length||ni[ni.length-1]!==f)){var N="deltaY"in M?xv(M):Jo(M),z=r.current.filter(function(P){return P.name===M.type&&(P.target===M.target||M.target===P.shadowParent)&&FC(P.delta,N)})[0];if(z&&z.should){M.cancelable&&M.preventDefault();return}
50if(!z){var _=(d.current.shards||[]).map(wv).filter(Boolean).filter(function(P){return P.contains(M.target)}),q=_.length>0?h(M,_[0]):!d.current.noIsolation;q&&M.cancelable&&M.preventDefault()}}},[]),p=x.useCallback(function(S,M,N,z){var _={name:S,delta:M,target:N,should:z,shadowParent:eM(N)};r.current.push(_),setTimeout(function(){r.current=r.current.filter(function(q){return q!==_})},1)},[]),y=x.useCallback(function(S){l.current=Jo(S),o.current=void 0},[]),m=x.useCallback(function(S){p(S.type,xv(S),S.target,h(S,n.lockRef.current))},[]),T=x.useCallback(function(S){p(S.type,Jo(S),S.target,h(S,n.lockRef.current))},[]);x.useEffect(function(){return ni.push(f),n.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:T}),document.addEventListener("wheel",v,ti),document.addEventListener("touchmove",v,ti),document.addEventListener("touchstart",y,ti),function(){ni=ni.filter(function(S){return S!==f}),document.removeEventListener("wheel",v,ti),document.removeEventListener("touchmove",v,ti),document.removeEventListener("touchstart",y,ti)}},[]);var R=n.removeScrollBar,O=n.inert;return x.createElement(x.Fragment,null,O?x.createElement(f,{styles:$C(c)}):null,R?x.createElement(YC,{noRelative:n.noRelative,gapMode:n.gapMode}):null)}function eM(n){for(var r=null;n!==null;)n instanceof ShadowRoot&&(r=n.host,n=n.host),n=n.parentNode;return r}const tM=NC(Mb,JC);var nd=x.forwardRef(function(n,r){return x.createElement(Cs,wn({},n,{ref:r,sideCar:tM}))});nd.classNames=Cs.classNames;var nM=[" ","Enter","ArrowUp","ArrowDown"],aM=[" ","Enter"],or="Select",[Ms,Ns,rM]=dy(or),[cr]=El(or,[rM,pb]),As=pb(),[iM,Da]=cr(or),[lM,oM]=cr(or),sM="SelectProvider";function jb(n){const{__scopeSelect:r,children:l,open:o,defaultOpen:c,onOpenChange:f,value:d,defaultValue:h,onValueChange:v,dir:p,name:y,autoComplete:m,disabled:T,required:R,form:O,internal_do_not_use_render:S}=n,M=As(r),[N,z]=x.useState(null),[_,q]=x.useState(null),[P,W]=x.useState(!1),$=cy(p),[B,ie]=fs({prop:o,defaultProp:c??!1,onChange:f,caller:or}),[he,ae]=fs({prop:d,defaultProp:h,onChange:v,caller:or}),ue=x.useRef(null),fe=x.useRef(he);x.useEffect(()=>{const F=O?N?.ownerDocument.getElementById(O):N?.form;if(F instanceof HTMLFormElement){const Q=()=>ae(fe.current);return F.addEventListener("reset",Q),()=>F.removeEventListener("reset",Q)}},[O,N,ae]);const be=N?!!O||!!N.closest("form"):!0,[de,A]=x.useState(new Set),Y=ri(),Z=Array.from(de).map(F=>F.props.value).join(";"),re=x.useCallback(F=>{A(Q=>new Set(Q).add(F))},[]),E=x.useCallback(F=>{A(Q=>{const I=new Set(Q);return I.delete(F),I})},[]),V={required:R,trigger:N,onTriggerChange:z,valueNode:_,onValueNodeChange:q,valueNodeHasChildren:P,onValueNodeHasChildrenChange:W,contentId:Y,value:he,onValueChange:ae,open:B,onOpenChange:ie,dir:$,triggerPointerDownPosRef:ue,disabled:T,name:y,autoComplete:m,form:O,nativeOptions:de,nativeSelectKey:Z,isFormControl:be};return b.jsx(lC,{...M,children:b.jsx(iM,{scope:r,...V,children:b.jsx(Ms.Provider,{scope:r,children:b.jsx(lM,{scope:r,onNativeOptionAdd:re,onNativeOptionRemove:E,children:EM(S)?S(V):l})})})})}jb.displayName=sM;var zb=n=>{const{__scopeSelect:r,children:l,...o}=n;return b.jsx(jb,{__scopeSelect:r,...o,internal_do_not_use_render:({isFormControl:c})=>b.jsxs(b.Fragment,{children:[l,c?b.jsx(t0,{__scopeSelect:r}):null]})})};zb.displayName=or;var kb="SelectTrigger",ad=x.forwardRef((n,r)=>{const{__scopeSelect:l,disabled:o=!1,...c}=n,f=As(l),d=Da(kb,l),h=d.disabled||o,v=Ye(r,d.onTriggerChange),p=Ns(l),y=x.useRef("touch"),[m,T,R]=n0(S=>{const M=p().filter(_=>!_.disabled),N=M.find(_=>_.value===d.value),z=a0(M,S,N);z!==void 0&&d.onValueChange(z.value)}),O=S=>{h||(d.onOpenChange(!0),R()),S&&(d.triggerPointerDownPosRef.current={x:Math.round(S.pageX),y:Math.round(S.pageY)})};return b.jsx(oC,{asChild:!0,...f,children:b.jsx(_e.button,{type:"button",role:"combobox","aria-controls":d.open?d.contentId:void 0,"aria-expanded":d.open,"aria-required":d.required,"aria-autocomplete":"none",dir:d.dir,"data-state":d.open?"open":"closed",disabled:h,"data-disabled":h?"":void 0,"data-placeholder":Ds(d.value)?"":void 0,...c,ref:v,onClick:ze(c.onClick,S=>
vendor: 5,960 bytes, line 50
50{S.currentTarget.focus(),y.current!=="mouse"&&O(S)}),onPointerDown:ze(c.onPointerDown,S=>{y.current=S.pointerType;const M=S.target;M.hasPointerCapture(S.pointerId)&&M.releasePointerCapture(S.pointerId),S.button===0&&S.ctrlKey===!1&&S.pointerType==="mouse"&&(O(S),S.preventDefault())}),onKeyDown:ze(c.onKeyDown,S=>{const M=m.current!=="";!(S.ctrlKey||S.altKey||S.metaKey)&&S.key.length===1&&T(S.key),!(M&&S.key===" ")&&nM.includes(S.key)&&(O(),S.preventDefault())})})})});ad.displayName=kb;var Ub="SelectValue",Hb=x.forwardRef((n,r)=>{const{__scopeSelect:l,className:o,style:c,children:f,placeholder:d="",...h}=n,v=Da(Ub,l),{onValueNodeHasChildrenChange:p}=v,y=f!==void 0,m=Ye(r,v.onValueNodeChange);St(()=>{p(y)},[p,y]);const T=Ds(v.value);return b.jsx(_e.span,{...h,asChild:T?!1:h.asChild,ref:m,style:{pointerEvents:"none"},children:b.jsx(x.Fragment,{children:T?d:f},T?"placeholder":"value")})});Hb.displayName=Ub;var cM="SelectIcon",Lb=x.forwardRef((n,r)=>{const{__scopeSelect:l,children:o,...c}=n;return b.jsx(_e.span,{"aria-hidden":!0,...c,ref:r,children:o||"â¼"})});Lb.displayName=cM;var Bb="SelectPortal",[uM,fM]=cr(Bb,{forceMount:void 0}),qb=n=>{const{__scopeSelect:r,forceMount:l,...o}=n;return b.jsx(uM,{scope:n.__scopeSelect,forceMount:l,children:b.jsx(td,{asChild:!0,...o})})};qb.displayName=Bb;var Ma="SelectContent",rd=x.forwardRef((n,r)=>{const l=fM(Ma,n.__scopeSelect),{forceMount:o=l.forceMount,...c}=n,f=Da(Ma,n.__scopeSelect),[d,h]=x.useState();return St(()=>{h(new DocumentFragment)},[]),b.jsx(Rl,{present:o||f.open,children:({present:v})=>v?b.jsx(Vb,{...c,ref:r}):b.jsx(Pb,{...c,fragment:d})})});rd.displayName=Ma;var Pb=x.forwardRef((n,r)=>{const{__scopeSelect:l,children:o,fragment:c}=n;return c?ci.createPortal(b.jsx(Yb,{scope:l,children:b.jsx(Ms.Slot,{scope:l,children:b.jsx("div",{ref:r,children:o})})}),c):null});Pb.displayName="SelectContentFragment";var on=10,[Yb,_a]=cr(Ma),dM="SelectContentImpl",hM=oi("SelectContent.RemoveScroll"),Vb=x.forwardRef((n,r)=>{const{__scopeSelect:l}=n,{position:o="item-aligned",onCloseAutoFocus:c,onEscapeKeyDown:f,onPointerDownOutside:d,side:h,sideOffset:v,align:p,alignOffset:y,arrowPadding:m,collisionBoundary:T,collisionPadding:R,sticky:O,hideWhenDetached:S,avoidCollisions:M,...N}=n,z=Da(Ma,l),[_,q]=x.useState(null),[P,W]=x.useState(null),$=Ye(r,q),[B,ie]=x.useState(null),[he,ae]=x.useState(null),ue=Ns(l),[fe,be]=x.useState(!1),de=x.useRef(!1);x.useEffect(()=>{if(_)return Ob(_)},[_]),eb();const A=x.useCallback(le=>{const[ne,...pe]=ue().map(Ne=>Ne.ref.current),[Re]=pe.slice(-1),Se=document.activeElement;for(const Ne of le)if(Ne===Se||(Ne?.scrollIntoView({block:"nearest"}),Ne===ne&&P&&(P.scrollTop=0),Ne===Re&&P&&(P.scrollTop=P.scrollHeight),Ne?.focus(),document.activeElement!==Se))return},[ue,P]),Y=x.useCallback(()=>A([B,_]),[A,B,_]);x.useEffect(()=>{fe&&Y()},[fe,Y]);const{onOpenChange:Z,triggerPointerDownPosRef:re}=z;x.useEffect(()=>{if(_){let le={x:0,y:0};const ne=Re=>{le={x:Math.abs(Math.round(Re.pageX)-(re.current?.x??0)),y:Math.abs(Math.round(Re.pageY)-(re.current?.y??0))}},pe=Re=>{le.x<=10&&le.y<=10?Re.preventDefault():Re.composedPath().includes(_)||Z(!1),document.removeEventListener("pointermove",ne),re.current=null};return re.current!==null&&(document.addEventListener("pointermove",ne),document.addEventListener("pointerup",pe,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ne),document.removeEventListener("pointerup",pe,{capture:!0})}}},[_,Z,re]),x.useEffect(()=>{const le=()=>Z(!1);return window.addEventListener("blur",le),window.addEventListener("resize",le),()=>{window.removeEventListener("blur",le),window.removeEventListener("resize",le)}},[Z]);const[E,V]=n0(le=>{const ne=ue().filter(Se=>!Se.disabled),pe=ne.find(Se=>Se.ref.current===document.activeElement),Re=a0(ne,le,pe);Re&&setTimeout(()=>Re.ref.current?.focus())}),F=x.useCallback((le,ne,pe)=>{const Re=!de.current&&!pe;(z.value!==void 0&&z.value===ne||Re)&&(ie(le),Re&&(de.current=!0))},[z.value]),Q=x.useCallback(()=>_?.focus(),[_]),I=x.useCallback((le,ne,pe)=>{const Re=!de.current&&!pe;(z.value!==void 0&&z.value===ne||Re)&&ae(le)},[z.value]),te=o==="popper"?Rf:Qb,ee=te===Rf?{side:h,sideOffset:v,align:p,alignOffset:y,arrowPadding:m,collisionBoundary:T,collisionPadding:R,sticky:O,hideWhenDetached:S,avoidCollisions:M}:{};return b.jsx(Yb,{scope:l,content:_,viewport:P,onViewportChange:W,itemRefCallback:F,selectedItem:B,onItemLeave:Q,itemTextRefCallback:I,focusSelectedItem:Y,selectedItemText:he,position:o,isPositioned:fe,searchRef:E,children:b.jsx(nd,{as:hM,allowPinchZoom:!0,children:b.jsx(Gf,{asChild:!0,trapped:z.open,onMountAutoFocus:le=>{le.preventDefault()},onUnmountAutoFocus:ze(c,le=>{z.trigger?.focus({preventScroll:!0}),le.preventDefault()}),children:b.jsx(Qf,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:f,onPointerDownOutside:d,onFocusOutside:le=>le.preventDefault(),onDismiss:()=>z.onOpenChange(!1),children:b.jsx(te,{role:"listbox",id:z.contentId,"data-state":z.open?"open":"closed",dir:z.dir,onContextMenu:le=>le.preventDefault(),...N,...ee,onPlaced:()=>be(!0),ref:$,style:{display:"flex",flexDirection:"column",outline:"none",...N.style},onKeyDown:ze(N.onKeyDown,le=>{const ne=le.ctrlKey||le.altKey||le.metaKey;if(le.key==="Tab"&&le.preventDefault(),!ne&&le.key.length===1&&V(le.key),["ArrowUp","ArrowDown","Home","End"].includes(le.key)){let Re=ue().filter(Se=>!Se.disabled).map(Se=>Se.ref.current);if(["ArrowUp","End"].includes(le.key)&&(Re=Re.slice().reverse()),["ArrowUp","ArrowDown"].includes(le.key)){const Se=le.target,Ne=Re.indexOf(Se);Re=Re.slice(Ne+1)}setTimeout(()=>A(Re)),le.preventDefault()}})})})})})})});Vb.displayName=dM;var mM="SelectItemAlignedPosition",Qb=x.forwardRef((n,r)=>{const{__scopeSelect:l,onPlaced:o,...c}=n,f=Da(Ma,l),d=_a(Ma,l),[h,v]=x.useState(null),[p,y]=x.useState(null),m=Ye(r,y),T=Ns(l),R=x.useRef(!1),O=x.useRef(!0),{viewport:S,selectedItem:M,selectedItemText:N,focusSelectedItem:z}=d,_=x.useCallback(()=>
vendor: 4,292 bytes, line 50
50{if(f.trigger&&f.valueNode&&h&&p&&S&&M&&N){const $=f.trigger.getBoundingClientRect(),B=p.getBoundingClientRect(),ie=f.valueNode.getBoundingClientRect(),he=N.getBoundingClientRect();if(f.dir!=="rtl"){const Se=he.left-B.left,Ne=ie.left-Se,lt=$.left-Ne,Ge=$.width+lt,ja=Math.max(Ge,B.width),Wn=window.innerWidth-on,nt=us(Ne,[on,Math.max(on,Wn-ja)]);h.style.minWidth=Ge+"px",h.style.left=nt+"px"}else{const Se=B.right-he.right,Ne=window.innerWidth-ie.right-Se,lt=window.innerWidth-$.right-Ne,Ge=$.width+lt,ja=Math.max(Ge,B.width),Wn=window.innerWidth-on,nt=us(Ne,[on,Math.max(on,Wn-ja)]);h.style.minWidth=Ge+"px",h.style.right=nt+"px"}const ae=T(),ue=window.innerHeight-on*2,fe=S.scrollHeight,be=window.getComputedStyle(p),de=parseInt(be.borderTopWidth,10),A=parseInt(be.paddingTop,10),Y=parseInt(be.borderBottomWidth,10),Z=parseInt(be.paddingBottom,10),re=de+A+fe+Z+Y,E=Math.min(M.offsetHeight*5,re),V=window.getComputedStyle(S),F=parseInt(V.paddingTop,10),Q=parseInt(V.paddingBottom,10),I=$.top+$.height/2-on,te=ue-I,ee=M.offsetHeight/2,le=M.offsetTop+ee,ne=de+A+le,pe=re-ne;if(ne<=I){const Se=ae.length>0&&M===ae[ae.length-1].ref.current;h.style.bottom="0px";const Ne=p.clientHeight-S.offsetTop-S.offsetHeight,lt=Math.max(te,ee+(Se?Q:0)+Ne+Y),Ge=ne+lt;h.style.height=Ge+"px"}else{const Se=ae.length>0&&M===ae[0].ref.current;h.style.top="0px";const lt=Math.max(I,de+S.offsetTop+(Se?F:0)+ee)+pe;h.style.height=lt+"px",S.scrollTop=ne-I+S.offsetTop}h.style.margin=`${on}px 0`,h.style.minHeight=E+"px",h.style.maxHeight=ue+"px",o?.(),requestAnimationFrame(()=>R.current=!0)}},[T,f.trigger,f.valueNode,h,p,S,M,N,f.dir,o]);St(()=>_(),[_]);const[q,P]=x.useState();St(()=>{p&&P(window.getComputedStyle(p).zIndex)},[p]);const W=x.useCallback($=>{$&&O.current===!0&&(_(),z?.(),O.current=!1)},[_,z]);return b.jsx(gM,{scope:l,contentWrapper:h,shouldExpandOnScrollRef:R,onScrollButtonChange:W,children:b.jsx("div",{ref:v,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:q},children:b.jsx(_e.div,{...c,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...c.style}})})})});Qb.displayName=mM;var pM="SelectPopperPosition",Rf=x.forwardRef((n,r)=>{const{__scopeSelect:l,align:o="start",collisionPadding:c=on,...f}=n,d=As(l);return b.jsx(sC,{...d,...f,ref:r,align:o,collisionPadding:c,style:{boxSizing:"border-box",...f.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Rf.displayName=pM;var[gM,id]=cr(Ma,{}),Cf="SelectViewport",Gb=x.forwardRef((n,r)=>{const{__scopeSelect:l,nonce:o,...c}=n,f=_a(Cf,l),d=id(Cf,l),h=Ye(r,f.onViewportChange),v=x.useRef(0);return b.jsxs(b.Fragment,{children:[b.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),b.jsx(Ms.Slot,{scope:l,children:b.jsx(_e.div,{"data-radix-select-viewport":"",role:"presentation",...c,ref:h,style:{position:"relative",flex:1,overflow:"hidden auto",...c.style},onScroll:ze(c.onScroll,p=>{const y=p.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:T}=d;if(T?.current&&m){const R=Math.abs(v.current-y.scrollTop);if(R>0){const O=window.innerHeight-on*2,S=parseFloat(m.style.minHeight),M=parseFloat(m.style.height),N=Math.max(S,M);if(N<O){const z=N+R,_=Math.min(O,z),q=z-_;m.style.height=_+"px",m.style.bottom==="0px"&&(y.scrollTop=q>0?q:0,m.style.justifyContent="flex-end")}}}v.current=y.scrollTop})})})]})});Gb.displayName=Cf;var Xb="SelectGroup",[vM,yM]=cr(Xb),bM=x.forwardRef((n,r)=>{const{__scopeSelect:l,...o}=n,c=ri();return b.jsx(vM,{scope:l,id:c,children:b.jsx(_e.div,{role:"group","aria-labelledby":c,...o,ref:r})})});bM.displayName=Xb;var Kb="SelectLabel",ld=x.forwardRef((n,r)=>{const{__scopeSelect:l,...o}=n,c=yM(Kb,l);return b.jsx(_e.div,{id:c.id,...o,ref:r})});ld.displayName=Kb;var vs="SelectItem",[xM,Zb]=cr(vs),od=x.forwardRef((n,r)=>{const{__scopeSelect:l,value:o,disabled:c=!1,textValue:f,...d}
50=n,h=Da(vs,l),v=_a(vs,l),p=h.value===o,[y,m]=x.useState(f??""),[T,R]=x.useState(!1),O=Gn(_=>v.itemRefCallback?.(_,o,c)),S=Ye(r,O),M=ri(),N=x.useRef("touch"),z=()=>{c||(h.onValueChange(o),h.onOpenChange(!1))};return b.jsx(xM,{scope:l,value:o,disabled:c,textId:M,isSelected:p,onItemTextChange:x.useCallback(_=>{m(q=>q||(_?.textContent??"").trim())},[]),children:b.jsx(Ms.ItemSlot,{scope:l,value:o,disabled:c,textValue:y,children:b.jsx(_e.div,{role:"option","aria-labelledby":M,"data-highlighted":T?"":void 0,"aria-selected":p&&T,"data-state":p?"checked":"unchecked","aria-disabled":c||void 0,"data-disabled":c?"":void 0,tabIndex:c?void 0:-1,...d,ref:S,onFocus:ze(d.onFocus,()=>R(!0)),onBlur:ze(d.onBlur,()=>R(!1)),onClick:ze(d.onClick,()=>{N.current!=="mouse"&&z()}),onPointerUp:ze(d.onPointerUp,()=>{N.current==="mouse"&&z()}),onPointerDown:ze(d.onPointerDown,_=>{N.current=_.pointerType}),onPointerMove:ze(d.onPointerMove,_=>{N.current=_.pointerType,c?v.onItemLeave?.():N.current==="mouse"&&_.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ze(d.onPointerLeave,_=>{_.currentTarget===document.activeElement&&v.onItemLeave?.()}),onKeyDown:ze(d.onKeyDown,_=>{c||_.target!==_.currentTarget||v.searchRef?.current!==""&&_.key===" "||(aM.includes(_.key)&&z(),_.key===" "&&_.preventDefault())})})})})});od.displayName=vs;var pl="SelectItemText",Wb=x.forwardRef((n,r)=>{const{__scopeSelect:l,className:o,style:c,...f}=n,d=Da(pl,l),h=_a(pl,l),v=Zb(pl,l),p=oM(pl,l),[y,m]=x.useState(null),T=Gn(z=>h.itemTextRefCallback?.(z,v.value,v.disabled)),R=Ye(r,m,v.onItemTextChange,T),O=y?.textContent,S=x.useMemo(()=>b.jsx("option",{value:v.value,disabled:v.disabled,children:O},v.value),[v.disabled,v.value,O]),{onNativeOptionAdd:M,onNativeOptionRemove:N}=p;return St(()=>(M(S),()=>N(S)),[M,N,S]),b.jsxs(b.Fragment,{children:[b.jsx(_e.span,{id:v.textId,...f,ref:R}),v.isSelected&&d.valueNode&&!d.valueNodeHasChildren&&!Ds(d.value)?ci.createPortal(f.children,d.valueNode):null]})});Wb.displayName=pl;var Fb="SelectItemIndicator",$b=x.forwardRef((n,r)=>{const{__scopeSelect:l,...o}=n;return Zb(Fb,l).isSelected?b.jsx(_e.span,{"aria-hidden":!0,...o,ref:r}):null});$b.displayName=Fb;var Mf="SelectScrollUpButton",sd=x.forwardRef((n,r)=>{const l=_a(Mf,n.__scopeSelect),o=id(Mf,n.__scopeSelect),[c,f]=x.use
50State(!1),d=Ye(r,o.onScrollButtonChange);return St(()=>{if(l.viewport&&l.isPositioned){let h=function(){const p=v.scrollTop>0;f(p)};const v=l.viewport;return h(),v.addEventListener("scroll",h),()=>v.removeEventListener("scroll",h)}},[l.viewport,l.isPositioned]),c?b.jsx(Ib,{...n,ref:d,onAutoScroll:()=>{const{viewport:h,selectedItem:v}=l;h&&v&&(h.scrollTop=h.scrollTop-v.offsetHeight)}}):null});sd.displayName=Mf;var Nf="SelectScrollDownButton",cd=x.forwardRef((n,r)=>{const l=_a(Nf,n.__scopeSelect),o=id(Nf,n.__scopeSelect),[c,f]=x.useState(!1),d=Ye(r,o.onScrollButtonChange);return St(()=>{if(l.viewport&&l.isPositioned){let h=function(){const p=v.scrollHeight-v.clientHeight,y=Math.ceil(v.scrollTop)<p;f(y)};const v=l.viewport;return h(),v.addEventListener("scroll",h),()=>v.removeEventListener("scroll",h)}},[l.viewport,l.isPositioned]),c?b.jsx(Ib,{...n,ref:d,onAutoScroll:()=>{const{viewport:h,selectedItem:v}=l;h&&v&&(h.scrollTop=h.scrollTop+v.offsetHeight)}}):null});cd.displayName=Nf;var Ib=x.forwardRef((n,r)=>{const{__scopeSelect:l,onAutoScroll:o,...c}=n,f=_a("SelectScrollButton",l),d=x.useRef(null),h=Ns(l),v=x.useCallback(()=>{d.current!==null&&(window.clearInterval(d.current),d.current=null)},[]);return x.useEffect(()=>()=>v(),[v]),St(()=>{h().find(y=>y.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[h]),b.jsx(_e.div,{"aria-hidden":!0,...c,ref:r,style:{flexShrink:0,...c.style},onPointerDown:ze(c.onPointerDown,()=>{d.current===null&&(d.current=window.setInterval(o,50))}),onPointerMove:ze(c.onPointerMove,()=>{f.onItemLeave?.(),d.current===null&&(d.current=window.setInterval(o,50))}),onPointerLeave:ze(c.onPointerLeave,()=>{v()})})}),wM="SelectSeparator",ud=x.forwardRef((n,r)=>{const{__scopeSelect:l,...o}=n;return b.jsx(_e.div,{"aria-hidden":!0,...o,ref:r})});ud.displayName=wM;var Jb="SelectArrow",SM=x.forwardRef((n,r)=>{const{__scopeSelect:l,...o}=n,c=As(l);return _a(Jb,l).position==="popper"?b.jsx(cC,{...c,...o,ref:r}):null});SM.displayName=Jb;var e0="SelectBubbleInput",t0=x.forwardRef(({__scopeSelect:n,...r},l)=>{const o=Da(e0,n),{value:c,onValueChange:f,required:d,disabled:h,name:v,autoComplete:p,form:y}=o,{nativeOptions:m,nativeSelectKey:T}=o,R=x.useRef(null),O=Ye(l,R),S=c??"",M=uy(S),N=Array.from(m).some(z=>(z.props.value??"")==="");return x.useEffect(()=>{const z=R.current;if(!z)return;const _=window.HTMLSelectElement.prototype,P=Object.getOwnPropertyDescriptor(_,"value").set;if(M!==S&&P){const W=new Event("change",{bubbles:!0});P.call(z,S),z.dispatchEvent(W)}},[M,S]),b.jsxs(_e.select,{"aria-hidden":!0,required:d,tabIndex:-1,name:v,autoComplete:p,disabled:h,form:y,onChange:z=>f(z.target.value),...r,style:{...Eb,...r.style},ref:O,defaultValue:S,children:[Ds(c)&&!N?b.jsx("option",{value:""}):null,Array.from(m)]},T)});t0.displayName=e0;function EM(n){return typeof n=="function"}function Ds(n){return n===""||n===void 0}function n0(n){const r=Gn(n),l=x.useRef(""),o=x.useRef(0),c=x.useCallback(d=>{const h=l.current+d;r(h),(function v(p){l.current=p,window.clearTimeout(o.current),p!==""&&(o.current=window.setTimeout(()=>v(""),1e3))})(h)},[r]),f=x.useCallback(()=>{l.current="",window.clearTimeout(o.current)},[]);return x.useEffect(()=>()=>window.clearTimeout(o.current),[]),[l,c,f]}function a0(n,r,l){const c=r.length>1&&Array.from(r).every(p=>p===r[0])?r[0]:r,f=l?n.indexOf(l):-1;let d=TM(n,Math.max(f,0));c.length===1&&(d=d.filter(p=>p!==l));const v=d.find(p=>p.textValue.toLowerCase().startsWith(c.toLowerCase()));return v!==l?v:void 0}function TM(n,r){return n.map((l,o)=>n[(r+o)%n.length])}const OM=zb,RM=Hb,r0=x.forwardRef(({className:n,children:r,...l},o)=>b.jsxs(ad,{ref:o,className:Xe("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
50ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",n),...l,children:[r,b.jsx(Lb,{asChild:!0,children:b.jsx(Uy,{className:"h-4 w-4 opacity-50"})})]}));r0.displayName=ad.displayName;const i0=x.forwardRef(({className:n,...r},l)=>b.jsx(sd,{ref:l,className:Xe("flex cursor-default items-center justify-center py-1",n),...r,children:b.jsx(s2,{className:"h-4 w-4"})}));i0.displayName=sd.displayName;const l0=x.forwardRef(({className:n,...r},l)=>b.jsx(cd,{ref:l,className:Xe("flex cursor-default items-center justify-center py-1",n),...r,children:b.jsx(Uy,{className:"h-4 w-4"})}));l0.displayName=cd.displayName;const o0=x.forwardRef(({className:n,children:r,position:l="popper",...o},c)=>b.jsx(qb,{children:b.jsxs(rd,{ref:c,className:Xe("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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",l==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",n),position:l,...o,children:[b.jsx(i0,{}),b.jsx(Gb,{className:Xe("p-1",l==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:r}),b.jsx(l0,{})]})}));o0.displayName=rd.displayName;const CM=x.forwardRef(({className:n,...r},l)=>b.jsx(ld,{ref:l,className:Xe("py-1.5 pl-8 pr-2 text-sm font-semibold",n),...r}));CM.displayName=ld.displayName;const s0=x.forwardRef(({className:n,children:r,...l},o)=>b.jsxs(od,{ref:o,className:Xe("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n),...l,children:[b.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:b.jsx($b,{children:b.jsx(ky,{className:"h-4 w-4"})})}),b.jsx(Wb,{children:r})]}));s0.displayName=od.displayName;const MM=x.forwardRef(({className:n,...r},l)=>b.jsx(ud,{ref:l,className:Xe("-mx-1 my-1 h-px bg-muted",n),...r}));MM.displayName=ud.displayName;var _s="Dialog",[c0]=El(_s),[NM,cn]=c0(_s),u0=n=>{const{__scopeDialog:r,children:l,open:o,defaultOpen:c,onOpenChange:f,modal:d=!0}=n,h=x.useRef(null),v=x.useRef(null),[p,y]=fs({prop:o,defaultProp:c??!1,onChange:f,caller:_s});return b.jsx(NM,{scope:r,triggerRef:h,contentRef:v,contentId:ri(),titleId:ri(),descriptionId:ri(),open:p,onOpenChange:y,onOpenToggle:x.useCallback(()=>y(m=>!m),[y]),modal:d,children:l})};u0.displayName=_s;var f0="DialogTrigger",AM=x.forwardRef((n,r)=>{const{__scopeDialog:l,...o}=n,c=cn(f0,l),f=Ye(r,c.triggerRef);return b.jsx(_e.button,{type:"button","aria-haspopup":"dialog","aria-expanded":c.open,"aria-controls":c.open?c.contentId:void 0,"data-state":vd(c.open),...o,ref:f,onClick:ze(n.onClick,c.onOpenToggle)})});AM.displayName=f0;var fd="DialogPortal",[DM,d0]=c0(fd,{forceMount:void 0}),h0=n=>{const{__scopeDialog:r,forceMount:l,children:o,container:c}=n,f=cn(fd,r);return b.jsx(DM,{scope:r,forceMount:l,children:x.Children.map(o,d=>b.jsx(Rl,{present:l||f.open,children:b.jsx(td,{asChild:!0,container:c,children:d})}))})};h0.displayName=fd;var ys="DialogOverlay",dd=x.forwardRef((n,r)=>{const l=d0(ys,n.__scopeDialog),{forceMount:o=l.forceMount,...c}=n,f=cn(ys,n.__scopeDialog);return f.modal?b.jsx(Rl,{present:o||f.open,children:b.jsx(jM,{...c,ref:r})}):null});dd.displayName=ys;var _M=oi("DialogOverlay.RemoveScroll"),jM=x.forwardRef((n,r)=>{const{__scopeDialog:l,...o}=n,c=cn(ys,l),f=zO(),d=Ye(r,f);return b.jsx(nd,{as:_M,allowPinchZoom:!0,shards:[c.contentRef],children:b.jsx(_e.div,{"data-state":vd(c.open),...o,ref:d,style:{pointerEvents:"auto",...o.style}})})}),si="DialogContent",hd=x.forwardRef((n,r)=>{const l=d0(si,n.__scopeDialog),{forceMount:o=l.forceMount,...c}=n,f=cn(si,n.__scopeDialog);return b.jsx(Rl,{present:o||f.open,children:f.modal?b.jsx(zM,{...c,ref:r}):b.jsx(kM,{...c,ref:r})})});hd.displayName=si;var zM=x.forwardRef((n,r)=>{const l=cn(si,n.__scopeDialog),o=x.useRef(null),c=Ye(r,l.contentRef,o);return x.useEffect(()=>{const f=o.current;if(f)return Ob(f)},[]),b.jsx(m0,{...n,ref:c,trapFocus:l.open,disableOutsidePointerEvents:l.open,onCloseAutoFocus:ze(n.onCloseAutoFocus,f=>{f.preventDefault(),l.triggerRef.current?.focus()}),onPointerDownOutside:ze(n.onPointerDownOutside,f=>{const d=f.detail.originalEvent,h=d.button===0&&d.ctrlKey===!0;(d.button===2||h)&&f.preventDefault()}),onFocusOutside:ze(n.onFocusOutside,f=>f.preventDefault())})}),kM=x.forwardRef((n,r)=>{const l=cn(si,n.__scopeDialog),o=x.useRef(!1),c=x.useRef(!1);return b.jsx(m0,{...n,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:f=>{n.onCloseAutoFocus?.(f),f.defaultPrevented||(o.current||l.triggerRef.current?.focus(),f.preventDefault()),o.current=!1,c.current=!1},onInteractOutside:f=>{n.onInteractOutside?.(f),f.defaultPrevented||(o.current=!0,f.detail.originalEvent.type==="pointerdown"&&(c.current=!0));const d=f.target;l.triggerRef.current?.contains(d)&&f.preventDefault(),f.detail.originalEvent.type==="focusin"&&c.current&&f.preventDefault()}})}),m0=x.forwardRef((n,r)=>{const{__scopeDialog:l,trapFocus:o,onOpenAutoFocus:c,onCloseAutoFocus:f,...d}=n,h=cn(si,l);return eb(),b.jsx(b.Fragment,{children:b.jsx(Gf,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:c,onUnmountAutoFocus:f,children:b.jsx(Qf,{role:"dialog",id:h.contentId,"aria-describedby":h.descriptionId,"aria-labelledby":h.titleId,"data-state":vd(h.open),...d,ref:r,deferPointerDownOutside:!0,onDismiss:()=>h.onOpenChange(!1)})})})}),p0="DialogTitle",md=x.forwardRef((n,r)=>{const{__scopeDialog:l,...o}=n,c=cn(p0,l);return b.jsx(_e.h2,{id:c.titleId,...o,ref:r})});md.displayName=p0;var g0="DialogDescription",pd=x.forwardRef((n,r)=>{const{__scopeDialog:l,...o}=n,c=cn(g0,l);return b.jsx(_e.p,{id:c.descriptionId,...o,ref:r})});pd.displayName=g0;var v0="DialogClose",gd=x.forwardRef((n,r)=>{const{__scopeDialog:l,...o}=n,c=cn(v0,l);return b.jsx(_e.button,{type:"button",...o,ref:r,onClick:ze(n.onClick,()=>c.onOpenChange(!1))})});gd.displayName=v0;function vd(n){return n?"open":"closed"}const UM=u0,HM=h0,LM=gd,y0=x.forwardRef(({className:n,...r},l)=>b.jsx(dd,{ref:l,className:Xe("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",n),...r}));y0.displayName=dd.displayName;const b0=x.forwardRef(({className:n,children:r,...l},o)=>
50b.jsxs(HM,{children:[b.jsx(y0,{}),b.jsxs(hd,{ref:o,className:Xe("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n),...l,children:[r,b.jsxs(gd,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[b.jsx(y2,{className:"h-4 w-4"}),b.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));b0.displayName=hd.displayName;const x0=({className:n,...r})=>b.jsx("div",{className:Xe("flex flex-col space-y-1.5 text-center sm:text-left",n),...r});x0.displayName="DialogHeader";const w0=x.forwardRef(({className:n,...r},l)=>b.jsx(md,{ref:l,className:Xe("text-lg font-semibold leading-none tracking-tight",n),...r}));w0.displayName=md.displayName;const S0=x.forwardRef(({className:n,...r},l)=>b.jsx(pd,{ref:l,className:Xe("text-sm text-muted-foreground",n),...r}));S0.displayName=pd.displayName;function BM(){const[n,r]=x.useState(void 0),[l,o]=x.useState(void 0),[c,f]=x.use
50State(void 0),[d,h]=x.useState(null),[v,p]=x.useState(null),y=x.useRef(null);x.useEffect(()=>{if(window.parent===window||!y.current)return;const O=()=>{const M=y.current?.scrollHeight??0;M>0&&window.parent.postMessage({type:"eventi-widget-height",height:M},"*")};O();const S=new ResizeObserver(O);return S.observe(y.current),()=>S.disconnect()},[]),x.useEffect(()=>{const O=new URLSearchParams(window.location.search),S=O.get("limit");S&&!isNaN(Number(S))&&r(Number(S));const M=O.get("tipo");M&&o(M);const N=O.get("quando");N&&xf.some(z=>z.slug===N)&&f(N)},[]);const{data:m,isLoading:T,isError:R}=EO({limit:n,tipo:l,quando:c},{query:{queryKey:$y({limit:n,tipo:l,quando:c}),refetchOnWindowFocus:!1}});return b.jsxs("div",{ref:y,className:"bg-background p-3 sm:p-4 flex flex-col",children:[b.jsxs("div",{className:"mb-4 flex flex-col gap-3",children:[b.jsx("div",{className:"flex w-full max-w-xs",children:b.jsxs(OM,{value:c||"all",onValueChange:O=>f(O==="all"?void 0:O),children:[b.jsx(r0,{className:"w-[200px] h-11 bg-card",children:b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx(r2,{className:"w-4 h-4 text-primary"}),b.jsx(RM,{placeholder:"Sempre"})]})}),b.jsx(o0,{children:xf.map(O=>{const S=rO(O.slug);return b.jsx(s0,{value:O.slug||"all",className:Xe("py-2",!O.slug&&"py-1.5"),children:b.jsxs("div",{className:"flex flex-col",children:[b.jsx("span",{className:"font-medium",children:O.label}),S&&b.jsx("span",{className:"text-[11px] text-muted-foreground mt-0.5 capitalize",children:S})]})},O.slug||"all")})})]})}),b.jsxs("div",{className:"relative",children:[b.jsx("div",{className:"flex flex-wrap min-[600px]:flex-nowrap min-[600px]:overflow-x-auto gap-2 pb-2 [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none] scroll-smooth border-b border-border/50",children:Yy.map(O=>{const S=(l||"")===O.slug;return b.jsx("button",{onClick:()=>o(O.slug||void 0),className:Xe("whitespace-nowrap px-4 py-1.5 rounded-full text-sm font-medium transition-all duration-200 outline-none focus-visible:ring-2 focus-visible:ring-primary flex-shrink-0",S?"bg-primary text-primary-foreground shadow-sm":"bg-muted/50 text-muted-foreground hover:bg-accent hover:text-accent-foreground"),children:O.label},O.slug||"all")})}),b.jsx("div",{className:"hidden min-[600px]:block absolute right-0 top-0 bottom-2 w-8 bg-gradient-to-l from-background to-transparent pointer-events-none"})]})]}),b.jsxs("div",{className:"flex-1 relative",children:[T&&b.jsx("div",{className:"grid grid-cols-1 min-[600px]:grid-cols-3 gap-4 sm:gap-6",children:[...Array(n||6)].map((O,S)=>b.jsxs("div",{className:"flex flex-col space-y-3 rounded-xl border p-4 bg-card shadow-sm",children:[b.jsx(Vt,{className:"h-40 w-full rounded-lg"}),b.jsxs("div",{className:"space-y-2",children:[b.jsx(Vt,{className:"h-5 w-3/4"}),b.jsx(Vt,{className:"h-4 w-1/2"}),b.jsx(Vt,{className:"h-4 w-full"}),b.jsx(Vt,{className:"h-4 w-full"})]})]},S))}),R&&b.jsxs("div",{className:"flex flex-col items-center justify-center p-8 text-center bg-card rounded-xl border border-destructive/20 text-destructive h-full min-h-[300px]",children:[b.jsx("svg",{className:"w-12 h-12 mb-3 opacity-50",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:b.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),b.jsx("p",{className:"font-medium text-lg",children:"Impossibile caricare gli eventi."}),b.jsx("p",{className:"text-sm opacity-80 mt-1",children:"Riprova più tardi."})]}),!T&&!R&&m&&m.items.length===0&&b.jsxs("div",{className:"flex flex-col items-center justify-center p-8 text-center bg-card rounded-xl border text-muted-foreground h-full min-h-[300px]",children:[b.jsxs("svg",{width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",className:"opacity-50 mb-3",children:[b.jsx("rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",ry:"2"}),b.jsx("line",{x1:"16",x2:"16",y1:"2",y2:"6"}),b.jsx("line",{x1:"8",x2:"8",y1:"2",y2:"6"}),b.jsx("line",{x1:"3",x2:"21",y1:"10",y2:"10"}),b.jsx("path",{d:"M9 16l2 2 4-4"})]}),b.jsx("p",{className:"font-medium text-balance",children:"Nessun evento trovato per questi filtri."}),b.jsx("p",{className:"text-sm mt-1",children:"Prova a cambiare date o categoria."})]}),!T&&!R&&m&&m.items.length>0&&b.jsx("div",{className:"grid grid-cols-1 min-[600px]:grid-cols-3 gap-4 sm:gap-6",children:m.items.map((O,S)=>b.jsx(MO,{event:O,index:S,onClick:(M,N)=>{if(window.parent!==window){const z=document.documentElement.scrollHeight,_=Math.min(640,Math.max(320,z-32)),q=Math.max(16,Math.min(N-_/2,z-_-16));p({top:q,maxHeight:_}),window.parent.postMessage({type:"eventi-widget-popup",top:q,height:_},"*")}else p(null);h(M)}},`${O.link}-${S}`))})]}),b.jsx(qM,{event:d,pos:v,onOpenChange:O=>!O&&h(null)})]})}function qM({event:n,pos:r,onOpenChange:l}){const o=n?.link,{data:c,isLoading:f,isError:d}=CO({url:o},{query:{queryKey:Iy({url:o}),enabled:!!o,refetchOnWindowFocus:!1}}),h=c?.title||n?.title,v=c?.imageUrl||n?.imageUrl;let p=null;if(c?.dateText)p=c.dateText;else if(n?.dateText)p=n.dateText;else if(n?.pubDate)try{const m=new Date(n.pubDate);isNaN(m.getTime())||(p=ar(m,"EEEE d MMMM yyyy, HH:mm",{locale:gl}))}catch{}const y=c?.location||n?.location;return b.jsx(UM,{open:!!n,onOpenChange:l,children:b.jsxs(b0,{className:"max-w-3xl max-h-[min(85vh,640px)] overflow-y-auto p-0 gap-0 border-0 rounded-2xl shadow-2xl flex flex-col bg-background [&>button]:hidden",style:r!==null?{top:`${r.top}
50px`,maxHeight:`${r.maxHeight}px`,left:"50%",translate:"-50% 0",transform:"none"}:void 0,children:[b.jsxs("div",{className:"sr-only",children:[b.jsx(w0,{children:h||"Dettaglio Evento"}),b.jsx(S0,{children:"Dettagli completi dell'evento"})]}),b.jsxs("div",{className:"sticky top-0 z-20 flex items-center justify-between gap-3 px-4 sm:px-6 py-3 bg-background/95 backdrop-blur-sm border-b border-border shrink-0",children:[b.jsx("span",{className:"text-xs font-semibold text-primary uppercase tracking-wider truncate",children:n?.category||"Evento"}),b.jsxs(LM,{className:"flex items-center gap-1.5 rounded-full bg-primary text-primary-foreground hover:bg-primary/90 transition-colors px-5 py-2.5 text-base sm:px-3.5 sm:py-2 sm:text-sm font-semibold shadow-sm focus:outline-none focus-visible:ring-2 focus-visible:ring-ring shrink-0",children:[b.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[b.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),b.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),"Chiudi"]})]}),v&&!f&&!d&&b.jsx("div",{className:"w-full bg-muted shrink-0 flex items-center justify-center",children:b.jsx("img",{src:v,alt:h||"",className:"w-full max-h-[45vh] object-contain"})}),b.jsxs("div",{className:"p-6 sm:p-8 flex flex-col gap-6",children:[f&&b.jsxs("div",{className:"space-y-6",children:[b.jsxs("div",{className:"space-y-3",children:[b.jsx(Vt,{className:"h-8 w-4/5"}),b.jsx(Vt,{className:"h-8 w-3/5"})]}),b.jsx(Vt,{className:"h-5 w-1/3"}),b.jsxs("div",{className:"space-y-3 mt-4",children:[b.jsx(Vt,{className:"h-4 w-full"}),b.jsx(Vt,{className:"h-4 w-full"}),b.jsx(Vt,{className:"h-4 w-5/6"}),b.jsx(Vt,{className:"h-4 w-full"}),b.jsx(Vt,{className:"h-4 w-4/5"})]})]}),d&&b.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-center text-destructive",children:[b.jsx("svg",{className:"w-12 h-12 mb-3 opacity-50",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:b.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),b.jsx("p",{className:"font-medium text-lg",children:"Impossibile caricare il dettaglio dell'evento."}),b.jsx("p",{className:"text-sm opacity-80 mt-1",children:"Riprova più tardi."})]}),!f&&!d&&c&&b.jsxs(b.Fragment,{children:[b.jsxs(x0,{className:"text-left space-y-4",children:[b.jsx("h2",{className:"text-2xl sm:text-3xl font-serif font-bold text-foreground leading-tight text-balance",children:h}),b.jsxs("div",{className:"flex flex-col gap-2.5",children:[p&&b.jsxs("div",{className:"text-sm text-muted-foreground font-medium flex items-center gap-2 capitalize",children:[b.jsx("div",{className:"w-8 h-8 rounded-full bg-primary/10 flex items-center justify-center shrink-0 text-primary",children:b.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[b.jsx("circle",{cx:"12",cy:"12",r:"10"}),b.jsx("polyline",{points:"12 6 12 12 16 14"})]})}),b.jsx("span",{children:p})]}),y&&b.jsxs("div",{className:"text-sm text-muted-foreground font-medium flex items-center gap-2",children:[b.jsx("div",{className:"w-8 h-8 rounded-full bg-primary/10 flex items-center justify-center shrink-0 text-primary",children:b.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[b.jsx("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"}),b.jsx("circle",{cx:"12",cy:"10",r:"3"})]})}),b.jsx("span",{children:y})]})]})]}),b.jsx("div",{className:"space-y-4 text-base leading-relaxed text-foreground/90 pb-4",children:c.paragraphs.map((m,T)=>b.jsx("p",{children:m},T))})]})]})]})})}const PM=new dw;function YM(){return b.jsxs(Xw,{children:[b.jsx(Fu,{path:"/",component:iO}),b.jsx(Fu,{path:"/widget",component:BM}),b.jsx(Fu,{children:b.jsx("div",{className:"flex min-h-screen items-center justify-center bg-background text-foreground",children:b.jsxs("div",{className:"text-center",children:[b.jsx("h1",{className:"text-4xl font-serif font-bold mb-2",children:"404"}),b.jsx("p",{className:"text-muted-foreground",children:"Pagina non trovata"})]})})})]})}
50function VM(){return b.jsxs(mw,{client:PM,children:[b.jsx(Vv,{base:"/".replace(/\/$/,""),children:b.jsx(YM,{})}),b.jsx(wS,{position:"bottom-right",richColors:!0})]})}q1.createRoot(document.getElementById("root")).render(b.jsx(VM,{}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.