vendor: 4,391 bytes, line 1
1function dE(t,a){for(var s=0;s<a.length;s++){const r=a[s];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in t)){const u=Object.getOwnPropertyDescriptor(r,l);u&&Object.defineProperty(t,l,u.get?u:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const f of u.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&r(f)}).observe(document,{childList:!0,subtree:!0});function s(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function r(l){if(l.ep)return;l.ep=!0;const u=s(l);fetch(l.href,u)}})();function $b(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var $d={exports:{}},jr={};var Ev;function fE(){if(Ev)return jr;Ev=1;var t=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function s(r,l,u){var f=null;if(u!==void 0&&(f=""+u),l.key!==void 0&&(f=""+l.key),"key"in l){u={};for(var m in l)m!=="key"&&(u[m]=l[m])}else u=l;return l=u.ref,{$$typeof:t,type:r,key:f,ref:l!==void 0?l:null,props:u}}return jr.Fragment=a,jr.jsx=s,jr.jsxs=s,jr}var Nv;function hE(){return Nv||(Nv=1,$d.exports=fE()),$d.exports}var d=hE(),Wd={exports:{}},Tr={},Jd={exports:{}},ef={};var Av;function mE(){return Av||(Av=1,(function(t){function a(V,Y){var q=V.length;V.push(Y);e:for(;0<q;){var re=q-1>>>1,fe=V[re];if(0<l(fe,Y))V[re]=Y,V[q]=fe,q=re;else break e}}function s(V){return V.length===0?null:V[0]}function r(V){if(V.length===0)return null;var Y=V[0],q=V.pop();if(q!==Y){V[0]=q;e:for(var re=0,fe=V.length,M=fe>>>1;re<M;){var K=2*(re+1)-1,Z=V[K],$=K+1,he=V[$];if(0>l(Z,q))$<fe&&0>l(he,Z)?(V[re]=he,V[$]=q,re=$):(V[re]=Z,V[K]=q,re=K);else if($<fe&&0>l(he,q))V[re]=he,V[$]=q,re=$;else break e}}return Y}function l(V,Y){var q=V.sortIndex-Y.sortIndex;return q!==0?q:V.id-Y.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var f=Date,m=f.now();t.unstable_now=function(){return f.now()-m}}var p=[],g=[],y=1,v=null,w=3,j=!1,N=!1,T=!1,E=!1,A=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function D(V){for(var Y=s(g);Y!==null;){if(Y.callback===null)r(g);else if(Y.startTime<=V)r(g),Y.sortIndex=Y.expirationTime,a(p,Y);else break;Y=s(g)}}function k(V){if(T=!1,D(V),!N)if(s(p)!==null)N=!0,G||(G=!0,le());else{var Y=s(g);Y!==null&&me(k,Y.startTime-V)}}var G=!1,H=-1,L=5,W=-1;function te(){return E?!0:!(t.unstable_now()-W<L)}function se(){if(E=!1,G){var V=t.unstable_now();W=V;var Y=!0;try{e:{N=!1,T&&(T=!1,_(H),H=-1),j=!0;var q=w;try{t:{for(D(V),v=s(p);v!==null&&!(v.expirationTime>V&&te());){var re=v.callback;if(typeof re=="function"){v.callback=null,w=v.priorityLevel;var fe=re(v.expirationTime<=V);if(V=t.unstable_now(),typeof fe=="function"){v.callback=fe,D(V),Y=!0;break t}v===s(p)&&r(p),D(V)}else r(p);v=s(p)}if(v!==null)Y=!0;else{var M=s(g);M!==null&&me(k,M.startTime-V),Y=!1}}break e}finally{v=null,w=q,j=!1}Y=void 0}}finally{Y?le():G=!1}}}var le;if(typeof R=="function")le=function(){R(se)};else if(typeof MessageChannel<"u"){var ge=new MessageChannel,J=ge.port2;ge.port1.onmessage=se,le=function(){J.postMessage(null)}}else le=function(){A(se,0)};function me(V,Y){H=A(function(){V(t.unstable_now())},Y)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(V){V.callback=null},t.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):L=0<V?Math.floor(1e3/V):5},t.unstable_getCurrentPriorityLevel=function(){return w},t.unstable_next=function(V){switch(w){case 1:case 2:case 3:var Y=3;break;default:Y=w}var q=w;
vendor: 16,095 bytes, line 1
1w=Y;try{return V()}finally{w=q}},t.unstable_requestPaint=function(){E=!0},t.unstable_runWithPriority=function(V,Y){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var q=w;w=V;try{return Y()}finally{w=q}},t.unstable_scheduleCallback=function(V,Y,q){var re=t.unstable_now();switch(typeof q=="object"&&q!==null?(q=q.delay,q=typeof q=="number"&&0<q?re+q:re):q=re,V){case 1:var fe=-1;break;case 2:fe=250;break;case 5:fe=1073741823;break;case 4:fe=1e4;break;default:fe=5e3}return fe=q+fe,V={id:y++,callback:Y,priorityLevel:V,startTime:q,expirationTime:fe,sortIndex:-1},q>re?(V.sortIndex=q,a(g,V),s(p)===null&&V===s(g)&&(T?(_(H),H=-1):T=!0,me(k,q-re))):(V.sortIndex=fe,a(p,V),N||j||(N=!0,G||(G=!0,le()))),V},t.unstable_shouldYield=te,t.unstable_wrapCallback=function(V){var Y=w;return function(){var q=w;w=Y;try{return V.apply(this,arguments)}finally{w=q}}}})(ef)),ef}var Cv;function pE(){return Cv||(Cv=1,Jd.exports=mE()),Jd.exports}var tf={exports:{}},pe={};var Rv;function gE(){if(Rv)return pe;Rv=1;var t=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),f=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),w=Symbol.iterator;function j(M){return M===null||typeof M!="object"?null:(M=w&&M[w]||M["@@iterator"],typeof M=="function"?M:null)}var N={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,E={};function A(M,K,Z){this.props=M,this.context=K,this.refs=E,this.updater=Z||N}A.prototype.isReactComponent={},A.prototype.setState=function(M,K){if(typeof M!="object"&&typeof M!="function"&&M!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,M,K,"setState")},A.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function _(){}_.prototype=A.prototype;function R(M,K,Z){this.props=M,this.context=K,this.refs=E,this.updater=Z||N}var D=R.prototype=new _;D.constructor=R,T(D,A.prototype),D.isPureReactComponent=!0;var k=Array.isArray;function G(){}var H={H:null,A:null,T:null,S:null},L=Object.prototype.hasOwnProperty;function W(M,K,Z){var $=Z.ref;return{$$typeof:t,type:M,key:K,ref:$!==void 0?$:null,props:Z}}function te(M,K){return W(M.type,K,M.props)}function se(M){return typeof M=="object"&&M!==null&&M.$$typeof===t}function le(M){var K={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(Z){return K[Z]})}var ge=/\/+/g;function J(M,K){return typeof M=="object"&&M!==null&&M.key!=null?le(""+M.key):K.toString(36)}function me(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(G,G):(M.status="pending",M.then(function(K){M.status==="pending"&&(M.status="fulfilled",M.value=K)},function(K){M.status==="pending"&&(M.status="rejected",M.reason=K)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function V(M,K,Z,$,he){var ye=typeof M;(ye==="undefined"||ye==="boolean")&&(M=null);var ce=!1;if(M===null)ce=!0;else switch(ye){case"bigint":case"string":case"number":ce=!0;break;case"object":switch(M.$$typeof){case t:case a:ce=!0;break;case y:return ce=M._init,V(ce(M._payload),K,Z,$,he)}}if(ce)return he=he(M),ce=$===""?"."+J(M,0):$,k(he)?(Z="",ce!=null&&(Z=ce.replace(ge,"$&/")+"/"),V(he,K,Z,"",function(Gt){return Gt})):he!=null&&(se(he)&&(he=te(he,Z+(he.key==null||M&&M.key===he.key?"":(""+he.key).replace(ge,"$&/")+"/")+ce)),K.push(he)),1;ce=0;var $e=$===""?".":$+":";if(k(M))for(var ze=0;ze<M.length;ze++)$=M[ze],ye=$e+J($,ze),ce+=V($,K,Z,ye,he);else if(ze=j(M),typeof ze=="function")for(M=ze.call(M),ze=0;!($=M.next()).done;)$=$.value,ye=$e+J($,ze++),ce+=V($,K,Z,ye,he);else if(ye==="object"){if(typeof M.then=="function")return V(me(M),K,Z,$,he);throw K=String(M),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.")}return ce}function Y(M,K,Z){if(M==null)return M;var $=[],he=0;return V(M,$,"","",function(ye){return K.call(Z,ye,he++)}),$}function q(M){if(M._status===-1){var K=M._result;K=K(),K.then(function(Z){(M._status===0||M._status===-1)&&(M._status=1,M._result=Z)},function(Z){(M._status===0||M._status===-1)&&(M._status=2,M._result=Z)}),M._status===-1&&(M._status=0,M._result=K)}if(M._status===1)return M._result.default;throw M._result}var re=typeof reportError=="function"?reportError:function(M){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var K=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof M=="object"&&M!==null&&typeof M.message=="string"?String(M.message):String(M),error:M});if(!window.dispatchEvent(K))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",M);return}console.error(M)},fe={map:Y,forEach:function(M,K,Z){Y(M,function(){K.apply(this,arguments)},Z)},count:function(M){var K=0;return Y(M,function(){K++}),K},toArray:function(M){return Y(M,function(K){return K})||[]},only:function(M){if(!se(M))throw Error("React.Children.only expected to receive a single React element child.");return M}};return pe.Activity=v,pe.Children=fe,pe.Component=A,pe.Fragment=s,pe.Profiler=l,pe.PureComponent=R,pe.StrictMode=r,pe.Suspense=p,pe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=H,pe.__COMPILER_RUNTIME={__proto__:null,c:function(M){return H.H.useMemoCache(M)}},pe.cache=function(M){return function(){return M.apply(null,arguments)}},pe.cacheSignal=function(){return null},pe.cloneElement=function(M,K,Z){if(M==null)throw Error("The argument must be a React element, but you passed "+M+".");var $=T({},M.props),he=M.key;if(K!=null)for(ye in K.key!==void 0&&(he=""+K.key),K)!L.call(K,ye)||ye==="key"||ye==="__self"||ye==="__source"||ye==="ref"&&K.ref===void 0||($[ye]=K[ye]);var ye=arguments.length-2;if(ye===1)$.children=Z;else if(1<ye){for(var ce=Array(ye),$e=0;$e<ye;$e++)ce[$e]=arguments[$e+2];$.children=ce}return W(M.type,he,$)},pe.createContext=function(M){return M={$$typeof:f,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null},M.Provider=M,M.Consumer={$$typeof:u,_context:M},M},pe.createElement=function(M,K,Z){var $,he={},ye=null;if(K!=null)for($ in K.key!==void 0&&(ye=""+K.key),K)L.call(K,$)&&$!=="key"&&$!=="__self"&&$!=="__source"&&(he[$]=K[$]);var ce=arguments.length-2;if(ce===1)he.children=Z;else if(1<ce){for(var $e=Array(ce),ze=0;ze<ce;ze++)$e[ze]=arguments[ze+2];he.children=$e}if(M&&M.defaultProps)for($ in ce=M.defaultProps,ce)he[$]===void 0&&(he[$]=ce[$]);return W(M,ye,he)},pe.createRef=function(){return{current:null}},pe.forwardRef=function(M){return{$$typeof:m,render:M}},pe.isValidElement=se,pe.lazy=function(M){return{$$typeof:y,_payload:{_status:-1,_result:M},_init:q}},pe.memo=function(M,K){return{$$typeof:g,type:M,compare:K===void 0?null:K}},pe.startTransition=function(M){var K=H.T,Z={};H.T=Z;try{var $=M(),he=H.S;he!==null&&he(Z,$),typeof $=="object"&&$!==null&&typeof $.then=="function"&&$.then(G,re)}catch(ye){re(ye)}finally{K!==null&&Z.types!==null&&(K.types=Z.types),H.T=K}},pe.unstable_useCacheRefresh=function(){return H.H.useCacheRefresh()},pe.use=function(M){return H.H.use(M)},pe.useActionState=function(M,K,Z){return H.H.useActionState(M,K,Z)},pe.useCallback=function(M,K){return H.H.useCallback(M,K)},pe.useContext=function(M){return H.H.useContext(M)},pe.useDebugValue=function(){},pe.useDeferredValue=function(M,K){return H.H.useDeferredValue(M,K)},pe.useEffect=function(M,K){return H.H.useEffect(M,K)},pe.useEffectEvent=function(M){return H.H.useEffectEvent(M)},pe.useId=function(){return H.H.useId()},pe.useImperativeHandle=function(M,K,Z){return H.H.useImperativeHandle(M,K,Z)},pe.useInsertionEffect=function(M,K){return H.H.useInsertionEffect(M,K)},pe.useLayoutEffect=function(M,K){return H.H.useLayoutEffect(M,K)},pe.useMemo=function(M,K){return H.H.useMemo(M,K)},pe.useOptimistic=function(M,K){return H.H.useOptimistic(M,K)},pe.useReducer=function(M,K,Z){return H.H.useReducer(M,K,Z)},pe.useRef=function(M){return H.H.useRef(M)},pe.useState=function(M){return H.H.useState(M)},pe.useSyncExternalStore=function(M,K,Z){return H.H.useSyncExternalStore(M,K,Z)},pe.useTransition=function(){return H.H.useTransition()},pe.version="19.2.3",pe}var Mv;function oc(){return Mv||(Mv=1,tf.exports=gE()),tf.exports}var nf={exports:{}},vt={};var Dv;function yE(){if(Dv)return vt;Dv=1;var t=oc();function a(p){var g="https://react.dev/errors/"+p;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)g+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+p+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var r={d:{f:s,r:function(){throw Error(a(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},l=Symbol.for("react.portal");function u(p,g,y){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:v==null?null:""+v,children:p,containerInfo:g,implementation:y}}var f=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(p,g){if(p==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return vt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,vt.createPortal=function(p,g){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(a(299));return u(p,g,null,y)},vt.flushSync=function(p){var g=f.T,y=r.p;try{if(f.T=null,r.p=2,p)return p()}finally{f.T=g,r.p=y,r.d.f()}},vt.preconnect=function(p,g){typeof p=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,r.d.C(p,g))},vt.prefetchDNS=function(p){typeof p=="string"&&r.d.D(p)},vt.preinit=function(p,g){if(typeof p=="string"&&g&&typeof g.as=="string"){var y=g.as,v=m(y,g.crossOrigin),w=typeof g.integrity=="string"?g.integrity:void 0,j=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;y==="style"?r.d.S(p,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:v,integrity:w,fetchPriority:j}):y==="script"&&r.d.X(p,{crossOrigin:v,integrity:w,fetchPriority:j,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},vt.preinitModule=function(p,g){if(typeof p=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var y=m(g.as,g.crossOrigin);r.d.M(p,{crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&r.d.M(p)},vt.preload=function(p,g){if(typeof p=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var y=g.as,v=m(y,g.crossOrigin);r.d.L(p,y,{crossOrigin:v,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},vt.preloadModule=function(p,g){if(typeof p=="string")if(g){var y=m(g.as,g.crossOrigin);r.d.m(p,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else r.d.m(p)},vt.requestFormReset=function(p){r.d.r(p)},vt.unstable_batchedUpdates=function(p,g){return p(g)},vt.useFormState=function(p,g,y){return f.H.useFormState(p,g,y)},vt.useFormStatus=function(){return f.H.useHostTransitionStatus()},vt.version="19.2.3",vt}var Ov;function Wb(){if(Ov)return nf.exports;Ov=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(a){console.error(a)}}return t(),nf.exports=yE(),nf.exports}var _v;function vE(){if(_v)return Tr;_v=1;var t=pE(),a=oc(),s=Wb();function r(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)n+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var n=e,i=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(i=n.return),e=n.return;while(e)}return n.tag===3?i:null}function f(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function m(e){if(e.tag===31){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function p(e){if(u(e)!==e)throw Error(r(188))}function g(e){var n=e.alternate;if(!n){if(n=u(e),n===null)throw Error(r(188));return n!==e?null:e}for(var i=e,o=n;;){var c=i.return;if(c===null)break;var h=c.alternate;if(h===null){if(o=c.return,o!==null){i=o;continue}break}if(c.child===h.child){for(h=c.child;h;){if(h===i)return p(c),e;if(h===o)return p(c),n;h=h.sibling}throw Error(r(188))}if(i.return!==o.return)i=c,o=h;else{for(var x=!1,S=c.child;S;){if(S===i){x=!0,i=c,o=h;break}if(S===o){x=!0,o=c,i=h;break}S=S.sibling}if(!x){for(S=h.child;S;){if(S===i){x=!0,i=h,o=c;break}if(S===o){x=!0,o=h,i=c;break}S=S.sibling}if(!x)throw Error(r(189))}}if(i.alternate!==o)throw Error(r(190))}if(i.tag!==3)throw Error(r(188));return i.stateNode.current===i?e:n}function y(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=y(e),n!==null)return n;e=e.sibling}return null}var v=Object.assign,w=Symbol.for("react.element"),j=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),R=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),te=Symbol.for("react.memo_cache_sentinel"),se=Symbol.iterator;function le(e){return e===null||typeof e!="object"?null:(e=se&&e[se]||e["@@iterator"],typeof e=="function"?e:null)}var ge=Symbol.for("react.client.reference");function J(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ge?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case T:return"Fragment";case A:return"Profiler";case E:return"StrictMode";case k:return"Suspense";case G:return"SuspenseList";case W:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case N:return"Portal";case R:return e.displayName||"Context";case _:return(e._context.displayName||"Context")+".Consumer";case D:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case H:return n=e.displayName||null,n!==null?n:J(e.type)||"Memo";case L:n=e._payload,e=e._init;try{return J(e(n))}catch{}}return null}var me=Array.isArray,V=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q={pending:!1,data:null,method:null,action:null},re=[],fe=-1;function M(e){return{current:e}}function K(e){0>fe||(e.current=re[fe],re[fe]=null,fe--)}function Z(e,n){fe++,re[fe]=e.current,e.current=n}var $=M(null),he=M(null),ye=M(null),ce=M(null);function $e(e,n){switch(Z(ye,n),Z(he,e),Z($,null),n.nodeType){case 9:case 11:e=(e
vendor: 12,036 bytes, lines 1-8
1=n.documentElement)&&(e=e.namespaceURI)?Xy(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=Xy(n),e=Iy(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}K($),Z($,e)}function ze(){K($),K(he),K(ye)}function Gt(e){e.memoizedState!==null&&Z(ce,e);var n=$.current,i=Iy(n,e.type);n!==i&&(Z(he,e),Z($,i))}function pn(e){he.current===e&&(K($),K(he)),ce.current===e&&(K(ce),xr._currentValue=q)}var gn,Ua;function Ba(e){if(gn===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);gn=n&&n[1]||"",Ua=-1<i.stack.indexOf(` 2 at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return` 3`+gn+e+Ua}var kc=!1;function zc(e,n){if(!e||kc)return"";kc=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(n){var I=function(){throw Error()};if(Object.defineProperty(I.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(I,[])}catch(F){var B=F}Reflect.construct(e,[],I)}else{try{I.call()}catch(F){B=F}e.call(I.prototype)}}else{try{throw Error()}catch(F){B=F}(I=e())&&typeof I.catch=="function"&&I.catch(function(){})}}catch(F){if(F&&B&&typeof F.stack=="string")return[F.stack,B.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=o.DetermineComponentFrameRoot(),x=h[0],S=h[1];if(x&&S){var C=x.split(` 4`),U=S.split(` 5`);for(c=o=0;o<C.length&&!C[o].includes("DetermineComponentFrameRoot");)o++;for(;c<U.length&&!U[c].includes("DetermineComponentFrameRoot");)c++;if(o===C.length||c===U.length)for(o=C.length-1,c=U.length-1;1<=o&&0<=c&&C[o]!==U[c];)c--;for(;1<=o&&0<=c;o--,c--)if(C[o]!==U[c]){if(o!==1||c!==1)do if(o--,c--,0>c||C[o]!==U[c]){var Q=` 6`+C[o].replace(" at new "," at ");return e.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",e.displayName)),Q}while(1<=o&&0<=c);break}}}finally{kc=!1,Error.prepareStackTrace=i}return(i=e?e.displayName||e.name:"")?Ba(i):""}function qj(e,n){switch(e.tag){case 26:case 27:case 5:return Ba(e.type);case 16:return Ba("Lazy");case 13:return e.child!==n&&n!==null?Ba("Suspense Fallback"):Ba("Suspense");case 19:return Ba("SuspenseList");case 0:case 15:return zc(e.type,!1);case 11:return zc(e.type.render,!1);case 1:return zc(e.type,!0);case 31:return Ba("Activity");default:return""}}function Em(e){try{var n="",i=null;do n+=qj(e,i),i=e,e=e.return;while(e);return n}catch(o){return` 7Error generating stack: `+o.message+` 8`+o.stack}}var Vc=Object.prototype.hasOwnProperty,Lc=t.unstable_scheduleCallback,Pc=t.unstable_cancelCallback,Fj=t.unstable_shouldYield,Gj=t.unstable_requestPaint,Ot=t.unstable_now,Yj=t.unstable_getCurrentPriorityLevel,Nm=t.unstable_ImmediatePriority,Am=t.unstable_UserBlockingPriority,so=t.unstable_NormalPriority,Qj=t.unstable_LowPriority,Cm=t.unstable_IdlePriority,Kj=t.log,Xj=t.unstable_setDisableYieldValue,Ds=null,_t=null;function ta(e){if(typeof Kj=="function"&&Xj(e),_t&&typeof _t.setStrictMode=="function")try{_t.setStrictMode(Ds,e)}catch{}}var kt=Math.clz32?Math.clz32:$j,Ij=Math.log,Zj=Math.LN2;function $j(e){return e>>>=0,e===0?32:31-(Ij(e)/Zj|0)|0}var ro=256,oo=262144,lo=4194304;function Ha(e){var n=e&42;if(n!==0)return n;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function co(e,n,i){var o=e.pendingLanes;if(o===0)return 0;var c=0,h=e.suspendedLanes,x=e.pingedLanes;e=e.warmLanes;var S=o&134217727;return S!==0?(o=S&~h,o!==0?c=Ha(o):(x&=S,x!==0?c=Ha(x):i||(i=S&~e,i!==0&&(c=Ha(i))))):(S=o&~h,S!==0?c=Ha(S):x!==0?c=Ha(x):i||(i=o&~e,i!==0&&(c=Ha(i)))),c===0?0:n!==0&&n!==c&&(n&h)===0&&(h=c&-c,i=n&-n,h>=i||h===32&&(i&4194048)!==0)?n:c}function Os(e,n){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)===0}function Wj(e,n){switch(e){case 1:case 2:case 4:case 8:case 64:return n+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 n+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 Rm(){var e=lo;return lo<<=1,(lo&62914560)===0&&(lo=4194304),e}function Uc(e){for(var n=[],i=0;31>i;i++)n.push(e);return n}function _s(e,n){e.pendingLanes|=n,n!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Jj(e,n,i,o,c,h){var x=e.pendingLanes;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=i,e.entangledLanes&=i,e.errorRecoveryDisabledLanes&=i,e.shellSuspendCounter=0;var S=e.entanglements,C=e.expirationTimes,U=e.hiddenUpdates;for(i=x&~i;0<i;){var Q=31-kt(i),I=1<<Q;S[Q]=0,C[Q]=-1;var B=U[Q];if(B!==null)for(U[Q]=null,Q=0;Q<B.length;Q++){var F=B[Q];F!==null&&(F.lane&=-536870913)}i&=~I}o!==0&&Mm(e,o,0),h!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=h&~(x&~n))}function Mm(e,n,i){e.pendingLanes|=n,e.suspendedLanes&=~n;var o=31-kt(n);e.entangledLanes|=n,e.entanglements[o]=e.entanglements[o]|1073741824|i&261930}function Dm(e,n){var i=e.entangledLanes|=n;for(e=e.entanglements;i;){var o=31-kt(i),c=1<<o;c&n|e[o]&n&&(e[o]|=n),i&=~c}}function Om(e,n){var i=n&-n;return i=(i&42)!==0?1:Bc(i),(i&(e.suspendedLanes|n))!==0?0:i}function Bc(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 Hc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function _m(){var e=Y.p;return e!==0?e:(e=window.event,e===void 0?32:vv(e.type))}function km(e,n){var i=Y.p;try{return Y.p=e,n()}finally{Y.p=i}}var na=Math.random().toString(36).slice(2),dt="__reactFiber$"+na,Et="__reactProps$"+na,Si="__reactContainer$"+na,qc="__reactEvents$"+na,eT="__reactListeners$"+na,tT="__reactHandles$"+na,zm="__reactResources$"+na,ks="__reactMarker$"+na;function Fc(e){delete e[dt],delete e[Et],delete e[qc],delete e[eT],delete e[tT]}function ji(e){var n=e[dt];if(n)return n;for(var i=e.parentNode;i;){if(n=i[Si]||i[dt]){if(i=n.alternate,n.child!==null||i!==null&&i.child!==null)for(e=nv(e);e!==null;){if(i=e[dt])return i;e=nv(e)}return n}e=i,i=e.parentNode}return null}function Ti(e){if(e=e[dt]||e[Si]){var n=e.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return e}return null}function zs(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e.stateNode;throw Error(r(33))}function Ei(e){var n=e[zm];return n||(n=e[zm]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function ct(e){e[ks]=!0}var Vm=new Set,Lm={};function qa(e,n){Ni(e,n),Ni(e+"Capture",n)}function Ni(e,n){for(Lm[e]=n,e=0;e<n.length;e++)Vm.add(n[e])}var nT=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Pm={},Um={};function aT(e){return Vc.call(Um,e)?!0:Vc.call(Pm,e)?!1:nT.test(e)?Um[e]=!0:(Pm[e]=!0,!1)}function uo(e,n,i){if(aT(n))if(i===null)e.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":e.removeAttribute(n);return;case"boolean":var o=n.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(n);return}}e.setAttribute(n,""+i)}}function fo(e,n,i){if(i===null)e.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttribute(n,""+i)}}function Rn(e,n,i,o){if(o===null)e.removeAttribute(i);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttributeNS(n,i,""+o)}}function Yt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Bm(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function iT(e,n,i){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,n);if(!e.hasOwnProperty(n)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,h=o.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(x){i=""+x,h.call(this,x)}}),Object.defineProperty(e,n,{enumerable:o.enumerable}),{getValue:function(){return i},setValue:function(x){i=""+x},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Gc(e){if(!e._valueTracker){var n=Bm(e)?"checked":"value";e._valueTracker=iT(e,n,""+e[n])}}function Hm(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var i=n.getValue(),o="";return e&&(o=Bm(e)?e.checked?"true":"false":e.value),e=o,e!==i?(n.setValue(e),!0):!1}function ho(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 sT=/[\n"\\]/g;function Qt(e){return e.replace(sT,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function Yc(e,n,i,o,c,h,x,S){e.name="",x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.type=x:e.removeAttribute("type"),n!=null?x==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+Yt(n)):e.value!==""+Yt(n)&&(e.value=""+Yt(n)):x!=="submit"&&x!=="reset"||e.removeAttribute("value"),n!=null?Qc(e,x,Yt(n)):i!=null?Qc(e,x,Yt(i)):o!=null&&e.removeAttribute("value"),c==null&&h!=null&&(e.defaultChecked=!!h),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?e.name=""+Yt(S):e.removeAttribute("name")}function qm(e,n,i,o,c,h,x,S){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(e.type=h),n!=null||i!=null){if(!(h!=="submit"&&h!=="reset"||n!=null)){Gc(e);return}i=i!=null?""+Yt(i):"",n=n!=null?""+Yt(n):i,S||n===e.value||(e.value=n),e.defaultValue=n}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=S?e.checked:!!o,e.defaultChecked=!!o,x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(e.name=x),Gc(e)}function Qc(e,n,i){n==="number"&&ho(e.ownerDocument)===e||e.defaultValue===""+i||(e.defaultValue=""+i)}function Ai(e,n,i,o){if(e=e.options,n){n={};for(var c=0;c<i.length;c++)n["$"+i[c]]=!0;for(i=0;i<e.length;i++)c=n.hasOwnProperty("$"+e[i].value),e[i].selected!==c&&(e[i].selected=c),c&&o&&(e[i].defaultSelected=!0)}else{for(i=""+Yt(i),n=null,c=0;c<e.length;c++){if(e[c].value===i){e[c].selected=!0,o&&(e[c].defaultSelected=!0);return}n!==null||e[c].disabled||(n=e[c])}n!==null&&(n.selected=!0)}}function Fm(e,n,i){if(n!=null&&(n=""+Yt(n),n!==e.value&&(e.value=n),i==null)){e.defaultValue!==n&&(e.defaultValue=n);return}e.defaultValue=i!=null?""+Yt(i):""}function Gm(e,n,i,o){if(n==null){if(o!=null){if(i!=null)throw Error(r(92));if(me(o)){if(1<o.length)throw Error(r(93));o=o[0]}i=o}i==null&&(i=""),n=i}i=Yt(n),e.defaultValue=i,o=e.textContent,o===i&&o!==""&&o!==null&&(e.value=o),Gc(e)}function Ci(e,n){if(n){var i=e.firstChild;
vendor: 4,140 bytes, line 8
8if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=n;return}}e.textContent=n}var rT=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 Ym(e,n,i){var o=n.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?o?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="":o?e.setProperty(n,i):typeof i!="number"||i===0||rT.has(n)?n==="float"?e.cssFloat=i:e[n]=(""+i).trim():e[n]=i+"px"}function Qm(e,n,i){if(n!=null&&typeof n!="object")throw Error(r(62));if(e=e.style,i!=null){for(var o in i)!i.hasOwnProperty(o)||n!=null&&n.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var c in n)o=n[c],n.hasOwnProperty(c)&&i[c]!==o&&Ym(e,c,o)}else for(var h in n)n.hasOwnProperty(h)&&Ym(e,h,n[h])}function Kc(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 oT=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"]]),lT=/^[\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 mo(e){return lT.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Mn(){}var Xc=null;function Ic(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ri=null,Mi=null;function Km(e){var n=Ti(e);if(n&&(e=n.stateNode)){var i=e[Et]||null;e:switch(e=n.stateNode,n.type){case"input":if(Yc(e,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),n=i.name,i.type==="radio"&&n!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Qt(""+n)+'"][type="radio"]'),n=0;n<i.length;n++){var o=i[n];if(o!==e&&o.form===e.form){var c=o[Et]||null;if(!c)throw Error(r(90));Yc(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(n=0;n<i.length;n++)o=i[n],o.form===e.form&&Hm(o)}break e;case"textarea":Fm(e,i.value,i.defaultValue);break e;case"select":n=i.value,n!=null&&Ai(e,!!i.multiple,n,!1)}}}var Zc=!1;function Xm(e,n,i){if(Zc)return e(n,i);Zc=!0;try{var o=e(n);return o}finally{if(Zc=!1,(Ri!==null||Mi!==null)&&(tl(),Ri&&(n=Ri,e=Mi,Mi=Ri=null,Km(n),e)))for(n=0;n<e.length;n++)Km(e[n])}}function Vs(e,n){var i=e.stateNode;if(i===null)return null;var o=i[Et]||null;if(o===null)return null;i=o[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(r(231,n,typeof i));return i}var Dn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$c=!1;if(Dn)try{var Ls={};Object.defineProperty(Ls,"passive",{get:function(){$c=!0}}),window.addEventListener("test",Ls,Ls),window.removeEventListener("test",Ls,Ls)}catch{$c=!1}var aa=null,Wc=null,po=null;function Im(){if(po)return po;var e,n=Wc,i=n.length,o,c="value"in aa?aa.value:aa.textContent,h=c.length;for(e=0;e<i&&n[e]===c[e];e++);var x=i-e;for(o=1;o<=x&&n[i-o]===c[h-o];o++);return po=c.slice(e,1<o?1-o:void 0)}function go(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function yo(){return!0}function Zm(){return!1}function Nt(e){function n(i,o,c,h,x){this._reactName=i,this._targetInst=c,this.type=o,this.nativeEvent=h,this.target=x,this.currentTarget=null;for(var S in e)e.hasOwnProperty(S)&&(i=e[S],this[S]=i?i(h):h[S]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?yo:Zm,this.isPropagationStopped=Zm,this}return v(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=yo)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=yo)},persist:function(){},isPersistent:yo}),n}var Fa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vo=Nt(Fa),Ps=v({},Fa,{view:0,detail:0}),cT=Nt(Ps),Jc,eu,Us,xo=v({},Ps,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:nu,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!==Us&&(Us&&e.type==="mousemove"?(Jc=e.screenX-Us.screenX,eu=e.screenY-Us.screenY):eu=Jc=0,Us=e),Jc)},movementY:function(e){return"movementY"in e?e.movementY:eu}}
vendor: 4,758 bytes, line 8
8),$m=Nt(xo),uT=v({},xo,{dataTransfer:0}),dT=Nt(uT),fT=v({},Ps,{relatedTarget:0}),tu=Nt(fT),hT=v({},Fa,{animationName:0,elapsedTime:0,pseudoElement:0}),mT=Nt(hT),pT=v({},Fa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gT=Nt(pT),yT=v({},Fa,{data:0}),Wm=Nt(yT),vT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xT={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"},bT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function wT(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=bT[e])?!!n[e]:!1}function nu(){return wT}var ST=v({},Ps,{key:function(e){if(e.key){var n=vT[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=go(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?xT[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:nu,charCode:function(e){return e.type==="keypress"?go(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?go(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),jT=Nt(ST),TT=v({},xo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jm=Nt(TT),ET=v({},Ps,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:nu}),NT=Nt(ET),AT=v({},Fa,{propertyName:0,elapsedTime:0,pseudoElement:0}),CT=Nt(AT),RT=v({},xo,{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}),MT=Nt(RT),DT=v({},Fa,{newState:0,oldState:0}),OT=Nt(DT),_T=[9,13,27,32],au=Dn&&"CompositionEvent"in window,Bs=null;Dn&&"documentMode"in document&&(Bs=document.documentMode);var kT=Dn&&"TextEvent"in window&&!Bs,ep=Dn&&(!au||Bs&&8<Bs&&11>=Bs),tp=" ",np=!1;function ap(e,n){switch(e){case"keyup":return _T.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ip(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Di=!1;function zT(e,n){switch(e){case"compositionend":return ip(n);case"keypress":return n.which!==32?null:(np=!0,tp);case"textInput":return e=n.data,e===tp&&np?null:e;default:return null}}function VT(e,n){if(Di)return e==="compositionend"||!au&&ap(e,n)?(e=Im(),po=Wc=aa=null,Di=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return ep&&n.locale!=="ko"?null:n.data;default:return null}}var LT={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 sp(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!LT[e.type]:n==="textarea"}function rp(e,n,i,o){Ri?Mi?Mi.push(o):Mi=[o]:Ri=o,n=ll(n,"onChange"),0<n.length&&(i=new vo("onChange","change",null,i,o),e.push({event:i,listeners:n}))}var Hs=null,qs=null;function PT(e){qy(e,0)}function bo(e){var n=zs(e);if(Hm(n))return e}function op(e,n){if(e==="change")return n}var lp=!1;if(Dn){var iu;if(Dn){var su="oninput"in document;if(!su){var cp=document.createElement("div");cp.setAttribute("oninput","return;"),su=typeof cp.oninput=="function"}iu=su}else iu=!1;lp=iu&&(!document.documentMode||9<document.documentMode)}function up(){Hs&&(Hs.detachEvent("onpropertychange",dp),qs=Hs=null)}function dp(e){if(e.propertyName==="value"&&bo(qs)){var n=[];rp(n,qs,e,Ic(e)),Xm(PT,n)}}function UT(e,n,i){e==="focusin"?(up(),Hs=n,qs=i,Hs.attachEvent("onpropertychange",dp)):e==="focusout"&&up()}function BT(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return bo(qs)}function HT(e,n){if(e==="click")return bo(n)}function qT(e,n){if(e==="input"||e==="change")return bo(n)}function FT(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var zt=typeof Object.is=="function"?Object.is:FT;function Fs(e,n){if(zt(e,n))return!0;
vendor: 17,878 bytes, line 8
8if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var i=Object.keys(e),o=Object.keys(n);if(i.length!==o.length)return!1;for(o=0;o<i.length;o++){var c=i[o];if(!Vc.call(n,c)||!zt(e[c],n[c]))return!1}return!0}function fp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hp(e,n){var i=fp(e);e=0;for(var o;i;){if(i.nodeType===3){if(o=e+i.textContent.length,e<=n&&o>=n)return{node:i,offset:n-e};e=o}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=fp(i)}}function mp(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?mp(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function pp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var n=ho(e.document);n instanceof e.HTMLIFrameElement;){try{var i=typeof n.contentWindow.location.href=="string"}catch{i=!1}if(i)e=n.contentWindow;else break;n=ho(e.document)}return n}function ru(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}var GT=Dn&&"documentMode"in document&&11>=document.documentMode,Oi=null,ou=null,Gs=null,lu=!1;function gp(e,n,i){var o=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;lu||Oi==null||Oi!==ho(o)||(o=Oi,"selectionStart"in o&&ru(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Gs&&Fs(Gs,o)||(Gs=o,o=ll(ou,"onSelect"),0<o.length&&(n=new vo("onSelect","select",null,n,i),e.push({event:n,listeners:o}),n.target=Oi)))}function Ga(e,n){var i={};return i[e.toLowerCase()]=n.toLowerCase(),i["Webkit"+e]="webkit"+n,i["Moz"+e]="moz"+n,i}var _i={animationend:Ga("Animation","AnimationEnd"),animationiteration:Ga("Animation","AnimationIteration"),animationstart:Ga("Animation","AnimationStart"),transitionrun:Ga("Transition","TransitionRun"),transitionstart:Ga("Transition","TransitionStart"),transitioncancel:Ga("Transition","TransitionCancel"),transitionend:Ga("Transition","TransitionEnd")},cu={},yp={};Dn&&(yp=document.createElement("div").style,"AnimationEvent"in window||(delete _i.animationend.animation,delete _i.animationiteration.animation,delete _i.animationstart.animation),"TransitionEvent"in window||delete _i.transitionend.transition);function Ya(e){if(cu[e])return cu[e];if(!_i[e])return e;var n=_i[e],i;for(i in n)if(n.hasOwnProperty(i)&&i in yp)return cu[e]=n[i];return e}var vp=Ya("animationend"),xp=Ya("animationiteration"),bp=Ya("animationstart"),YT=Ya("transitionrun"),QT=Ya("transitionstart"),KT=Ya("transitioncancel"),wp=Ya("transitionend"),Sp=new Map,uu="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(" ");uu.push("scrollEnd");function rn(e,n){Sp.set(e,n),qa(n,[e])}var wo=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=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(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Kt=[],ki=0,du=0;function So(){for(var e=ki,n=du=ki=0;n<e;){var i=Kt[n];Kt[n++]=null;var o=Kt[n];Kt[n++]=null;var c=Kt[n];Kt[n++]=null;var h=Kt[n];if(Kt[n++]=null,o!==null&&c!==null){var x=o.pending;x===null?c.next=c:(c.next=x.next,x.next=c),o.pending=c}h!==0&&jp(i,c,h)}}function jo(e,n,i,o){Kt[ki++]=e,Kt[ki++]=n,Kt[ki++]=i,Kt[ki++]=o,du|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function fu(e,n,i,o){return jo(e,n,i,o),To(e)}function Qa(e,n){return jo(e,null,null,n),To(e)}function jp(e,n,i){e.lanes|=i;var o=e.alternate;o!==null&&(o.lanes|=i);for(var c=!1,h=e.return;h!==null;)h.childLanes|=i,o=h.alternate,o!==null&&(o.childLanes|=i),h.tag===22&&(e=h.stateNode,e===null||e._visibility&1||(c=!0)),e=h,h=h.return;return e.tag===3?(h=e.stateNode,c&&n!==null&&(c=31-kt(i),e=h.hiddenUpdates,o=e[c],o===null?e[c]=[n]:o.push(n),n.lane=i|536870912),h):null}function To(e){if(50<fr)throw fr=0,wd=null,Error(r(185));for(var n=e.return;n!==null;)e=n,n=e.return;return e.tag===3?e.stateNode:null}var zi={};function XT(e,n,i,o){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Vt(e,n,i,o){return new XT(e,n,i,o)}function hu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function On(e,n){var i=e.alternate;return i===null?(i=Vt(e.tag,n,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=n,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&65011712,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,n=e.dependencies,i.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i}function Tp(e,n){e.flags&=65011714;var i=e.alternate;return i===null?(e.childLanes=0,e.lanes=n,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type,n=i.dependencies,e.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),e}function Eo(e,n,i,o,c,h){var x=0;if(o=e,typeof e=="function")hu(e)&&(x=1);else if(typeof e=="string")x=J2(e,i,$.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case W:return e=Vt(31,i,n,c),e.elementType=W,e.lanes=h,e;case T:return Ka(i.children,c,h,n);case E:x=8,c|=24;break;case A:return e=Vt(12,i,n,c|2),e.elementType=A,e.lanes=h,e;case k:return e=Vt(13,i,n,c),e.elementType=k,e.lanes=h,e;case G:return e=Vt(19,i,n,c),e.elementType=G,e.lanes=h,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case R:x=10;break e;case _:x=9;break e;case D:x=11;break e;case H:x=14;break e;case L:x=16,o=null;break e}x=29,i=Error(r(130,e===null?"null":typeof e,"")),o=null}return n=Vt(x,i,n,c),n.elementType=e,n.type=o,n.lanes=h,n}function Ka(e,n,i,o){return e=Vt(7,e,o,n),e.lanes=i,e}function mu(e,n,i){return e=Vt(6,e,null,n),e.lanes=i,e}function Ep(e){var n=Vt(18,null,null,0);return n.stateNode=e,n}function pu(e,n,i){return n=Vt(4,e.children!==null?e.children:[],e.key,n),n.lanes=i,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}var Np=new WeakMap;function Xt(e,n){if(typeof e=="object"&&e!==null){var i=Np.get(e);return i!==void 0?i:(n={value:e,source:n,stack:Em(n)},Np.set(e,n),n)}return{value:e,source:n,stack:Em(n)}}var Vi=[],Li=0,No=null,Ys=0,It=[],Zt=0,ia=null,yn=1,vn="";function _n(e,n){Vi[Li++]=Ys,Vi[Li++]=No,No=e,Ys=n}function Ap(e,n,i){It[Zt++]=yn,It[Zt++]=vn,It[Zt++]=ia,ia=e;var o=yn;e=vn;var c=32-kt(o)-1;o&=~(1<<c),i+=1;var h=32-kt(n)+c;if(30<h){var x=c-c%5;h=(o&(1<<x)-1).toString(32),o>>=x,c-=x,yn=1<<32-kt(n)+c|i<<c|o,vn=h+e}else yn=1<<h|i<<c|o,vn=e}function gu(e){e.return!==null&&(_n(e,1),Ap(e,1,0))}function yu(e){for(;e===No;)No=Vi[--Li],Vi[Li]=null,Ys=Vi[--Li],Vi[Li]=null;for(;e===ia;)ia=It[--Zt],It[Zt]=null,vn=It[--Zt],It[Zt]=null,yn=It[--Zt],It[Zt]=null}function Cp(e,n){It[Zt++]=yn,It[Zt++]=vn,It[Zt++]=ia,yn=n.id,vn=n.overflow,ia=e}var ft=null,qe=null,Ne=!1,sa=null,$t=!1,vu=Error(r(519));function ra(e){var n=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Qs(Xt(n,e)),vu}function Rp(e){var n=e.stateNode,i=e.type,o=e.memoizedProps;switch(n[dt]=e,n[Et]=o,i){case"dialog":je("cancel",n),je("close",n);break;case"iframe":case"object":case"embed":je("load",n);break;case"video":case"audio":for(i=0;i<mr.length;i++)je(mr[i],n);break;case"source":je("error",n);break;case"img":case"image":case"link":je("error",n),je("load",n);break;case"details":je("toggle",n);break;case"input":je("invalid",n),qm(n,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":je("invalid",n);break;case"textarea":je("invalid",n),Gm(n,o.value,o.defaultValue,o.children)}i=o.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||n.textContent===""+i||o.suppressHydrationWarning===!0||Qy(n.textContent,i)?(o.popover!=null&&(je("beforetoggle",n),je("toggle",n)),o.onScroll!=null&&je("scroll",n),o.onScrollEnd!=null&&je("scrollend",n),o.onClick!=null&&(n.onclick=Mn),n=!0):n=!1,n||ra(e,!0)}function Mp(e){for(ft=e.return;ft;)switch(ft.tag){case 5:case 31:case 13:$t=!1;return;case 27:case 3:$t=!0;return;default:ft=ft.return}}function Pi(e){if(e!==ft)return!1;if(!Ne)return Mp(e),Ne=!0,!1;var n=e.tag,i;if((i=n!==3&&n!==27)&&((i=n===5)&&(i=e.type,i=!(i!=="form"&&i!=="button")||Vd(e.type,e.memoizedProps)),i=!i),i&&qe&&ra(e),Mp(e),n===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));qe=tv(e)}else if(n===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));qe=tv(e)}else n===27?(n=qe,ba(e.type)?(e=Hd,Hd=null,qe=e):qe=n):qe=ft?Jt(e.stateNode.nextSibling):null;return!0}function Xa(){qe=ft=null,Ne=!1}function xu(){var e=sa;return e!==null&&(Mt===null?Mt=e:Mt.push.apply(Mt,e),sa=null),e}function Qs(e){sa===null?sa=[e]:sa.push(e)}var bu=M(null),Ia=null,kn=null;function oa(e,n,i){Z(bu,n._currentValue),n._currentValue=i}function zn(e){e._currentValue=bu.current,K(bu)}function wu(e,n,i){for(;e!==null;){var o=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,o!==null&&(o.childLanes|=n)):o!==null&&(o.childLanes&n)!==n&&(o.childLanes|=n),e===i)break;e=e.return}}function Su(e,n,i,o){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var h=c.dependencies;if(h!==null){var x=c.child;h=h.firstContext;e:for(;h!==null;){var S=h;h=c;for(var C=0;C<n.length;C++)if(S.context===n[C]){h.lanes|=i,S=h.alternate,S!==null&&(S.lanes|=i),wu(h.return,i,e),o||(x=null);break e}h=S.next}}else if(c.tag===18){if(x=c.return,x===null)throw Error(r(341));x.lanes|=i,h=x.alternate,h!==null&&(h.lanes|=i),wu(x,i,e),x=null}else x=c.child;if(x!==null)x.return=c;else for(x=c;x!==null;){if(x===e){x=null;break}if(c=x.sibling,c!==null){c.return=x.return,x=c;break}x=x.return}c=x}}function Ui(e,n,i,o){e=null;for(var c=n,h=!1;c!==null;){if(!h){if((c.flags&524288)!==0)h=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var x=c.alternate;if(x===null)throw Error(r(387));if(x=x.memoizedProps,x!==null){var S=c.type;zt(c.pendingProps.value,x.value)||(e!==null?e.push(S):e=[S])}}else if(c===ce.current){if(x=c.alternate,x===null)throw Error(r(387));x.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(xr):e=[xr])}c=c.return}e!==null&&Su(n,e,i,o),n.flags|=262144}function Ao(e){for(e=e.firstContext;e!==null;){if(!zt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Za(e){Ia=e,kn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ht(e){return Dp(Ia,e)}function Co(e,n){return Ia===null&&Za(e),Dp(e,n)}function Dp(e,n){var i=n._currentValue;if(n={context:n,memoizedValue:i,next:null},kn===null){if(e===null)throw Error(r(308));kn=n,e.dependencies={lanes:0,firstContext:n},e.flags|=524288}else kn=kn.next=n;return i}var IT=typeof AbortController<"u"?AbortController:function(){var e=[],n=this.signal={aborted:!1,addEventListener:function(i,o){e.push(o)}};this.abort=function(){n.aborted=!0,e.forEach(function(i){return i()})}},ZT=t.unstable_scheduleCallback,$T=t.unstable_NormalPriority,et={$$typeof:R,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ju(){return{controller:new IT,data:new Map,refCount:0}}function Ks(e){e.refCount--,e.refCount===0&&ZT($T,function(){e.controller.abort()})}var Xs=null,Tu=0,Bi=0,Hi=null;function WT(e,n){if(Xs===null){var i=Xs=[];Tu=0,Bi=Ad(),Hi={status:"pending",value:void 0,then:function(o){i.push(o)}}}return Tu++,n.then(Op,Op),n}function Op(){if(--Tu===0&&Xs!==null){Hi!==null&&(Hi.status="fulfilled");var e=Xs;Xs=null,Bi=0,Hi=null;for(var n=0;n<e.length;n++)(0,e[n])()}}function JT(e,n){var i=[],o={status:"pending",value:null,reason:null,then:function(c){i.push(c)}};return e.then(function(){o.status="fulfilled",o.value=n;for(var c=0;c<i.length;c++)(0,i[c])(n)},function(c){for(o.status="rejected",o.reason=c,c=0;c<i.length;c++)(0,i[c])(void 0)}),o}var _p=V.S;V.S=function(e,n){gy=Ot(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&WT(e,n),_p!==null&&_p(e,n)};var $a=M(null);function Eu(){var e=$a.current;return e!==null?e:Ue.pooledCache}function Ro(e,n){n===null?Z($a,$a.current):Z($a,n.pool)}function kp(){var e=Eu();return e===null?null:{parent:et._currentValue,pool:e}}var qi=Error(r(460)),Nu=Error(r(474)),Mo=Error(r(542)),Do={then:function(){}};function zp(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Vp(e,n,i){switch(i=e[i],i===void 0?e.push(n):i!==n&&(n.then(Mn,Mn),n=i),n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,Pp(e),e;default:if(typeof n.status=="string")n.then(Mn,Mn);else{if(e=Ue,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=n,e.status="pending",e.then(function(o){if(n.status==="pending"){var c=n;c.status="fulfilled",c.value=o}},function(o){if(n.status==="pending"){var c=n;c.status="rejected",c.reason=o}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,Pp(e),e}throw Ja=n,qi}}function Wa(e){try{var n=e._init;return n(e._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(Ja=i,qi):i}}var Ja=null;function Lp(){if(Ja===null)throw Error(r(459));var e=Ja;return Ja=null,e}function Pp(e){if(e===qi||e===Mo)throw Error(r(483))}var Fi=null,Is=0;function Oo(e){var n=Is;return Is+=1,Fi===null&&(Fi=[]),Vp(Fi,e,n)}function Zs(e,n){n=n.props.ref,e.ref=n!==void 0?n:null}function _o(e,n){throw n.$$typeof===w?Error(r(525)):(e=Object.prototype.toString.call(n),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)))}function Up(e){function n(z,O){if(e){var P=z.deletions;P===null?(z.deletions=[O],z.flags|=16):P.push(O)}}function i(z,O){if(!e)return null;for(;O!==null;)n(z,O),O=O.sibling;return null}function o(z){for(var O=new Map;z!==null;)z.key!==null?O.set(z.key,z):O.set(z.index,z),z=z.sibling;return O}function c(z,O){return z=On(z,O),z.index=0,z.sibling=null,z}function h(z,O,P){return z.index=P,e?(P=z.alternate,P!==null?(P=P.index,P<O?(z.flags|=67108866,O):P):(z.flags|=67108866,O)):(z.flags|=1048576,O)}function x(z){return e&&z.alternate===null&&(z.flags|=67108866),z}function S(z,O,P,X){return O===null||O.tag!==6?(O=mu(P,z.mode,X),O.return=z,O):(O=c(O,P),O.return=z,O)}function C(z,O,P,X){var ue=P.type;return ue===T?Q(z,O,P.props.children,X,P.key):O!==null&&(O.elementType===ue||typeof ue=="object"&&ue!==null&&ue.$$typeof===L&&Wa(ue)===O.type)?(O=c(O,P.props),Zs(O,P),O.return=z,O):(O=Eo(P.type,P.key,P.props,null,z.mode,X),Zs(O,P),O.return=z,O)}function U(z,O,P,X){return O===null||O.tag!==4||O.stateNode.containerInfo!==P.containerInfo||O.stateNode.implementation!==P.implementation?(O=pu(P,z.mode,X),O.return=z,O):(O=c(O,P.children||[]),O.return=z,O)}function Q(z,O,P,X,ue){return O===null||O.tag!==7?(O=Ka(P,z.mode,X,ue),O.return=z,O):(O=c(O,P),O.return=z,O)}function I(z,O,P){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return O=mu(""+O,z.mode,P),O.return=z,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case j:return P=Eo(O.type,O.key,O.props,null,z.mode,P),Zs(P,O),P.return=z,P;case N:return O=pu(O,z.mode,P),O.return=z,O;case L:return O=Wa(O),I(z,O,P)}if(me(O)||le(O))return O=Ka(O,z.mode,P,null),O.return=z,O;if(typeof O.then=="function")return I(z,Oo(O),P);if(O.$$typeof===R)return I(z,Co(z,O),P);_o(z,O)}return null}function B(z,O,P,X){var ue=O!==null?O.key:null;if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return ue!==null?null:S(z,O,""+P,X);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case j:return P.key===ue?C(z,O,P,X):null;case N:return P.key===ue?U(z,O,P,X):null;case L:return P=Wa(P),B(z,O,P,X)}if(me(P)||le(P))return ue!==null?null:Q(z,O,P,X,null);if(typeof P.then=="function")return B(z,O,Oo(P),X);if(P.$$typeof===R)return B(z,O,Co(z,P),X);_o(z,P)}return null}function F(z,O,P,X,ue){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return z=z.get(P)||null,S(O,z,""+X,ue);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case j:return z=z.get(X.key===null?P:X.key)||null,C(O,z,X,ue);case N:return z=z.get(X.key===null?P:X.key)||null,U(O,z,X,ue);case L:return X=Wa(X),F(z,O,P,X,ue)}if(me(X)||le(X))return z=z.get(P)||null,Q(O,z,X,ue,null);if(typeof X.then=="function")return F(z,O,P,Oo(X),ue);
vendor: 4,725 bytes, line 8
8if(X.$$typeof===R)return F(z,O,P,Co(O,X),ue);_o(O,X)}return null}function ne(z,O,P,X){for(var ue=null,Me=null,oe=O,xe=O=0,Ee=null;oe!==null&&xe<P.length;xe++){oe.index>xe?(Ee=oe,oe=null):Ee=oe.sibling;var De=B(z,oe,P[xe],X);if(De===null){oe===null&&(oe=Ee);break}e&&oe&&De.alternate===null&&n(z,oe),O=h(De,O,xe),Me===null?ue=De:Me.sibling=De,Me=De,oe=Ee}if(xe===P.length)return i(z,oe),Ne&&_n(z,xe),ue;if(oe===null){for(;xe<P.length;xe++)oe=I(z,P[xe],X),oe!==null&&(O=h(oe,O,xe),Me===null?ue=oe:Me.sibling=oe,Me=oe);return Ne&&_n(z,xe),ue}for(oe=o(oe);xe<P.length;xe++)Ee=F(oe,z,xe,P[xe],X),Ee!==null&&(e&&Ee.alternate!==null&&oe.delete(Ee.key===null?xe:Ee.key),O=h(Ee,O,xe),Me===null?ue=Ee:Me.sibling=Ee,Me=Ee);return e&&oe.forEach(function(Ea){return n(z,Ea)}),Ne&&_n(z,xe),ue}function de(z,O,P,X){if(P==null)throw Error(r(151));for(var ue=null,Me=null,oe=O,xe=O=0,Ee=null,De=P.next();oe!==null&&!De.done;xe++,De=P.next()){oe.index>xe?(Ee=oe,oe=null):Ee=oe.sibling;var Ea=B(z,oe,De.value,X);if(Ea===null){oe===null&&(oe=Ee);break}e&&oe&&Ea.alternate===null&&n(z,oe),O=h(Ea,O,xe),Me===null?ue=Ea:Me.sibling=Ea,Me=Ea,oe=Ee}if(De.done)return i(z,oe),Ne&&_n(z,xe),ue;if(oe===null){for(;!De.done;xe++,De=P.next())De=I(z,De.value,X),De!==null&&(O=h(De,O,xe),Me===null?ue=De:Me.sibling=De,Me=De);return Ne&&_n(z,xe),ue}for(oe=o(oe);!De.done;xe++,De=P.next())De=F(oe,z,xe,De.value,X),De!==null&&(e&&De.alternate!==null&&oe.delete(De.key===null?xe:De.key),O=h(De,O,xe),Me===null?ue=De:Me.sibling=De,Me=De);return e&&oe.forEach(function(uE){return n(z,uE)}),Ne&&_n(z,xe),ue}function Pe(z,O,P,X){if(typeof P=="object"&&P!==null&&P.type===T&&P.key===null&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case j:e:{for(var ue=P.key;O!==null;){if(O.key===ue){if(ue=P.type,ue===T){if(O.tag===7){i(z,O.sibling),X=c(O,P.props.children),X.return=z,z=X;break e}}else if(O.elementType===ue||typeof ue=="object"&&ue!==null&&ue.$$typeof===L&&Wa(ue)===O.type){i(z,O.sibling),X=c(O,P.props),Zs(X,P),X.return=z,z=X;break e}i(z,O);break}else n(z,O);O=O.sibling}P.type===T?(X=Ka(P.props.children,z.mode,X,P.key),X.return=z,z=X):(X=Eo(P.type,P.key,P.props,null,z.mode,X),Zs(X,P),X.return=z,z=X)}return x(z);case N:e:{for(ue=P.key;O!==null;){if(O.key===ue)if(O.tag===4&&O.stateNode.containerInfo===P.containerInfo&&O.stateNode.implementation===P.implementation){i(z,O.sibling),X=c(O,P.children||[]),X.return=z,z=X;break e}else{i(z,O);break}else n(z,O);O=O.sibling}X=pu(P,z.mode,X),X.return=z,z=X}return x(z);case L:return P=Wa(P),Pe(z,O,P,X)}if(me(P))return ne(z,O,P,X);if(le(P)){if(ue=le(P),typeof ue!="function")throw Error(r(150));return P=ue.call(P),de(z,O,P,X)}if(typeof P.then=="function")return Pe(z,O,Oo(P),X);if(P.$$typeof===R)return Pe(z,O,Co(z,P),X);_o(z,P)}return typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint"?(P=""+P,O!==null&&O.tag===6?(i(z,O.sibling),X=c(O,P),X.return=z,z=X):(i(z,O),X=mu(P,z.mode,X),X.return=z,z=X),x(z)):i(z,O)}return function(z,O,P,X){try{Is=0;var ue=Pe(z,O,P,X);return Fi=null,ue}catch(oe){if(oe===qi||oe===Mo)throw oe;var Me=Vt(29,oe,null,z.mode);return Me.lanes=X,Me.return=z,Me}}}var ei=Up(!0),Bp=Up(!1),la=!1;function Au(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Cu(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ca(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ua(e,n,i){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(Oe&2)!==0){var c=o.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),o.pending=n,n=To(e),jp(e,null,i),n}return jo(e,o,n,i),To(e)}function $s(e,n,i){if(n=n.updateQueue,n!==null&&(n=n.shared,(i&4194048)!==0)){var o=n.lanes;o&=e.pendingLanes,i|=o,n.lanes=i,Dm(e,i)}}function Ru(e,n){var i=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,i===o)){var c=null,h=null;if(i=i.firstBaseUpdate,i!==null){do{var x={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};h===null?c=h=x:h=h.next=x,i=i.next}while(i!==null);h===null?c=h=n:h=h.next=n}else c=h=n;i={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:h,shared:o.shared,callbacks:o.callbacks},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=n:e.next=n,i.lastBaseUpdate=n}var Mu=!1;function Ws(){if(Mu){var e=Hi;if(e!==null)throw e}}function Js(e,n,i,o){Mu=!1;var c=e.updateQueue;la=!1;var h=c.firstBaseUpdate,x=c.lastBaseUpdate,S=c.shared.pending;if(S!==null){c.shared.pending=null;var C=S,U=C.next;C.next=null,x===null?h=U:x.next=U,x=C;var Q=e.alternate;
vendor: 10,515 bytes, line 8
8Q!==null&&(Q=Q.updateQueue,S=Q.lastBaseUpdate,S!==x&&(S===null?Q.firstBaseUpdate=U:S.next=U,Q.lastBaseUpdate=C))}if(h!==null){var I=c.baseState;x=0,Q=U=C=null,S=h;do{var B=S.lane&-536870913,F=B!==S.lane;if(F?(Te&B)===B:(o&B)===B){B!==0&&B===Bi&&(Mu=!0),Q!==null&&(Q=Q.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var ne=e,de=S;B=n;var Pe=i;switch(de.tag){case 1:if(ne=de.payload,typeof ne=="function"){I=ne.call(Pe,I,B);break e}I=ne;break e;case 3:ne.flags=ne.flags&-65537|128;case 0:if(ne=de.payload,B=typeof ne=="function"?ne.call(Pe,I,B):ne,B==null)break e;I=v({},I,B);break e;case 2:la=!0}}B=S.callback,B!==null&&(e.flags|=64,F&&(e.flags|=8192),F=c.callbacks,F===null?c.callbacks=[B]:F.push(B))}else F={lane:B,tag:S.tag,payload:S.payload,callback:S.callback,next:null},Q===null?(U=Q=F,C=I):Q=Q.next=F,x|=B;if(S=S.next,S===null){if(S=c.shared.pending,S===null)break;F=S,S=F.next,F.next=null,c.lastBaseUpdate=F,c.shared.pending=null}}while(!0);Q===null&&(C=I),c.baseState=C,c.firstBaseUpdate=U,c.lastBaseUpdate=Q,h===null&&(c.shared.lanes=0),pa|=x,e.lanes=x,e.memoizedState=I}}function Hp(e,n){if(typeof e!="function")throw Error(r(191,e));e.call(n)}function qp(e,n){var i=e.callbacks;if(i!==null)for(e.callbacks=null,e=0;e<i.length;e++)Hp(i[e],n)}var Gi=M(null),ko=M(0);function Fp(e,n){e=Gn,Z(ko,e),Z(Gi,n),Gn=e|n.baseLanes}function Du(){Z(ko,Gn),Z(Gi,Gi.current)}function Ou(){Gn=ko.current,K(Gi),K(ko)}var Lt=M(null),Wt=null;function da(e){var n=e.alternate;Z(We,We.current&1),Z(Lt,e),Wt===null&&(n===null||Gi.current!==null||n.memoizedState!==null)&&(Wt=e)}function _u(e){Z(We,We.current),Z(Lt,e),Wt===null&&(Wt=e)}function Gp(e){e.tag===22?(Z(We,We.current),Z(Lt,e),Wt===null&&(Wt=e)):fa()}function fa(){Z(We,We.current),Z(Lt,Lt.current)}function Pt(e){K(Lt),Wt===e&&(Wt=null),K(We)}var We=M(0);function zo(e){for(var n=e;n!==null;){if(n.tag===13){var i=n.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||Ud(i)||Bd(i)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Vn=0,ve=null,Ve=null,tt=null,Vo=!1,Yi=!1,ti=!1,Lo=0,er=0,Qi=null,e2=0;function Xe(){throw Error(r(321))}function ku(e,n){if(n===null)return!1;for(var i=0;i<n.length&&i<e.length;i++)if(!zt(e[i],n[i]))return!1;return!0}function zu(e,n,i,o,c,h){return Vn=h,ve=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,V.H=e===null||e.memoizedState===null?Ag:Zu,ti=!1,h=i(o,c),ti=!1,Yi&&(h=Qp(n,i,o,c)),Yp(e),h}function Yp(e){V.H=ar;var n=Ve!==null&&Ve.next!==null;if(Vn=0,tt=Ve=ve=null,Vo=!1,er=0,Qi=null,n)throw Error(r(300));e===null||nt||(e=e.dependencies,e!==null&&Ao(e)&&(nt=!0))}function Qp(e,n,i,o){ve=e;var c=0;do{if(Yi&&(Qi=null),er=0,Yi=!1,25<=c)throw Error(r(301));if(c+=1,tt=Ve=null,e.updateQueue!=null){var h=e.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}V.H=Cg,h=n(i,o)}while(Yi);return h}function t2(){var e=V.H,n=e.useState()[0];return n=typeof n.then=="function"?tr(n):n,e=e.useState()[0],(Ve!==null?Ve.memoizedState:null)!==e&&(ve.flags|=1024),n}function Vu(){var e=Lo!==0;return Lo=0,e}function Lu(e,n,i){n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~i}function Pu(e){if(Vo){for(e=e.memoizedState;e!==null;){var n=e.queue;n!==null&&(n.pending=null),e=e.next}Vo=!1}Vn=0,tt=Ve=ve=null,Yi=!1,er=Lo=0,Qi=null}function wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tt===null?ve.memoizedState=tt=e:tt=tt.next=e,tt}function Je(){if(Ve===null){var e=ve.alternate;e=e!==null?e.memoizedState:null}else e=Ve.next;var n=tt===null?ve.memoizedState:tt.next;if(n!==null)tt=n,Ve=e;else{if(e===null)throw ve.alternate===null?Error(r(467)):Error(r(310));Ve=e,e={memoizedState:Ve.memoizedState,baseState:Ve.baseState,baseQueue:Ve.baseQueue,queue:Ve.queue,next:null},tt===null?ve.memoizedState=tt=e:tt=tt.next=e}return tt}function Po(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function tr(e){var n=er;return er+=1,Qi===null&&(Qi=[]),e=Vp(Qi,e,n),n=ve,(tt===null?n.memoizedState:tt.next)===null&&(n=n.alternate,V.H=n===null||n.memoizedState===null?Ag:Zu),e}function Uo(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return tr(e);if(e.$$typeof===R)return ht(e)}throw Error(r(438,String(e)))}function Uu(e){var n=null,i=ve.updateQueue;if(i!==null&&(n=i.memoCache),n==null){var o=ve.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(n={data:o.data.map(function(c){return c.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),i===null&&(i=Po(),ve.updateQueue=i),i.memoCache=n,i=n.data[n.index],i===void 0)for(i=n.data[n.index]=Array(e),o=0;o<e;o++)i[o]=te;return n.index++,i}function Ln(e,n){return typeof n=="function"?n(e):n}function Bo(e){var n=Je();return Bu(n,Ve,e)}function Bu(e,n,i){var o=e.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=i;var c=e.baseQueue,h=o.pending;if(h!==null){if(c!==null){var x=c.next;c.next=h.next,h.next=x}n.baseQueue=c=h,o.pending=null}if(h=e.baseState,c===null)e.memoizedState=h;else{n=c.next;var S=x=null,C=null,U=n,Q=!1;do{var I=U.lane&-536870913;if(I!==U.lane?(Te&I)===I:(Vn&I)===I){var B=U.revertLane;if(B===0)C!==null&&(C=C.next={lane:0,revertLane:0,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),I===Bi&&(Q=!0);else if((Vn&B)===B){U=U.next,B===Bi&&(Q=!0);continue}else I={lane:0,revertLane:U.revertLane,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},C===null?(S=C=I,x=h):C=C.next=I,ve.lanes|=B,pa|=B;I=U.action,ti&&i(h,I),h=U.hasEagerState?U.eagerState:i(h,I)}else B={lane:I,revertLane:U.revertLane,gesture:U.gesture,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},C===null?(S=C=B,x=h):C=C.next=B,ve.lanes|=I,pa|=I;U=U.next}while(U!==null&&U!==n);if(C===null?x=h:C.next=S,!zt(h,e.memoizedState)&&(nt=!0,Q&&(i=Hi,i!==null)))throw i;e.memoizedState=h,e.baseState=x,e.baseQueue=C,o.lastRenderedState=h}return c===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Hu(e){var n=Je(),i=n.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=e;var o=i.dispatch,c=i.pending,h=n.memoizedState;if(c!==null){i.pending=null;var x=c=c.next;do h=e(h,x.action),x=x.next;while(x!==c);zt(h,n.memoizedState)||(nt=!0),n.memoizedState=h,n.baseQueue===null&&(n.baseState=h),i.lastRenderedState=h}return[h,o]}function Kp(e,n,i){var o=ve,c=Je(),h=Ne;if(h){if(i===void 0)throw Error(r(407));i=i()}else i=n();var x=!zt((Ve||c).memoizedState,i);if(x&&(c.memoizedState=i,nt=!0),c=c.queue,Gu(Zp.bind(null,o,c,e),[e]),c.getSnapshot!==n||x||tt!==null&&tt.memoizedState.tag&1){if(o.flags|=2048,Ki(9,{destroy:void 0},Ip.bind(null,o,c,i,n),null),Ue===null)throw Error(r(349));h||(Vn&127)!==0||Xp(o,n,i)}return i}function Xp(e,n,i){e.flags|=16384,e={getSnapshot:n,value:i},n=ve.updateQueue,n===null?(n=Po(),ve.updateQueue=n,n.stores=[e]):(i=n.stores,i===null?n.stores=[e]:i.push(e))}function Ip(e,n,i,o){n.value=i,n.getSnapshot=o,$p(n)&&Wp(e)}function Zp(e,n,i){return i(function(){$p(n)&&Wp(e)})}function $p(e){var n=e.getSnapshot;e=e.value;try{var i=n();return!zt(e,i)}catch{return!0}}function Wp(e){var n=Qa(e,2);n!==null&&Dt(n,e,2)}function qu(e){var n=wt();if(typeof e=="function"){var i=e;if(e=i(),ti){ta(!0);try{i()}finally{ta(!1)}}}return n.memoizedState=n.baseState=e,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ln,lastRenderedState:e},n}function Jp(e,n,i,o){return e.baseState=i,Bu(e,Ve,typeof o=="function"?o:Ln)}function n2(e,n,i,o,c){if(Fo(e))throw Error(r(485));if(e=n.action,e!==null){var h={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(x){h.listeners.push(x)}};V.T!==null?i(!0):h.isTransition=!1,o(h),i=n.pending,i===null?(h.next=n.pending=h,eg(n,h)):(h.next=i.next,n.pending=i.next=h)}}function eg(e,n){var i=n.action,o=n.payload,c=e.state;if(n.isTransition){var h=V.T,x={};V.T=x;try{var S=i(c,o),C=V.S;C!==null&&C(x,S),tg(e,n,S)}catch(U){Fu(e,n,U)}finally{h!==null&&x.types!==null&&(h.types=x.types),V.T=h}}else try{h=i(c,o),tg(e,n,h)}catch(U){Fu(e,n,U)}}function tg(e,n,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(o){ng(e,n,o)},function(o){return Fu(e,n,o)}):ng(e,n,i)}function ng(e,n,i){n.status="fulfilled",n.value=i,ag(n),e.state=i,n=e.pending,n!==null&&(i=n.next,i===n?e.pending=null:(i=i.next,n.next=i,eg(e,i)))}function Fu(e,n,i){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do n.status="rejected",n.reason=i,ag(n),n=n.next;while(n!==o)}e.action=null}function ag(e){e=e.listeners;for(var n=0;n<e.length;n++)(0,e[n])()}function ig(e,n){return n}function sg(e,n){if(Ne){var i=Ue.formState;if(i!==null){e:{var o=ve;if(Ne){if(qe){t:{for(var c=qe,h=$t;c.nodeType!==8;){if(!h){c=null;break t}if(c=Jt(c.nextSibling),c===null){c=null;break t}}h=c.data,c=h==="F!"||h==="F"?c:null}if(c){qe=Jt(c.nextSibling),o=c.data==="F!";break e}}ra(o)}o=!1}o&&(n=i[0])}}return i=wt(),i.memoizedState=i.baseState=n,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ig,lastRenderedState:n},i.queue=o,i=Tg.bind(null,ve,o),o.dispatch=i,o=qu(!1),h=Iu.bind(null,ve,!1,o.queue),o=wt(),c={state:n,dispatch:null,action:e,pending:null},o.queue=c,i=n2.bind(null,ve,c,h,i),c.dispatch=i,o.memoizedState=e,[n,i,!1]}function rg(e){var n=Je();return og(n,Ve,e)}function og(e,n,i){if(n=Bu(e,n,ig)[0],e=Bo(Ln)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var o=tr(n)}catch(x){throw x===qi?Mo:x}else o=n;n=Je();var c=n.queue,h=c.dispatch;return i!==n.memoizedState&&(ve.flags|=2048,Ki(9,{destroy:void 0},a2.bind(null,c,i),null)),[o,h,e]}function a2(e,n){e.action=n}function lg(e){var n=Je(),i=Ve;if(i!==null)return og(n,i,e);Je(),n=n.memoizedState,i=Je();var o=i.queue.dispatch;return i.memoizedState=e,[n,o,!1]}function Ki(e,n,i,o){return e={tag:e,create:i,deps:o,inst:n,next:null},n=ve.updateQueue,n===null&&(n=Po(),ve.updateQueue=n),i=n.lastEffect,i===null?n.lastEffect=e.next=e:(o=i.next,i.next=e,e.next=o,n.lastEffect=e),e}function cg(){return Je().memoizedState}function Ho(e,n,i,o){var c=wt();ve.flags|=e,c.memoizedState=Ki(1|n,{destroy:void 0}
vendor: 5,164 bytes, line 8
8,i,o===void 0?null:o)}function qo(e,n,i,o){var c=Je();o=o===void 0?null:o;var h=c.memoizedState.inst;Ve!==null&&o!==null&&ku(o,Ve.memoizedState.deps)?c.memoizedState=Ki(n,h,i,o):(ve.flags|=e,c.memoizedState=Ki(1|n,h,i,o))}function ug(e,n){Ho(8390656,8,e,n)}function Gu(e,n){qo(2048,8,e,n)}function i2(e){ve.flags|=4;var n=ve.updateQueue;if(n===null)n=Po(),ve.updateQueue=n,n.events=[e];else{var i=n.events;i===null?n.events=[e]:i.push(e)}}function dg(e){var n=Je().memoizedState;return i2({ref:n,nextImpl:e}),function(){if((Oe&2)!==0)throw Error(r(440));return n.impl.apply(void 0,arguments)}}function fg(e,n){return qo(4,2,e,n)}function hg(e,n){return qo(4,4,e,n)}function mg(e,n){if(typeof n=="function"){e=e();var i=n(e);return function(){typeof i=="function"?i():n(null)}}if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function pg(e,n,i){i=i!=null?i.concat([e]):null,qo(4,4,mg.bind(null,n,e),i)}function Yu(){}function gg(e,n){var i=Je();n=n===void 0?null:n;var o=i.memoizedState;return n!==null&&ku(n,o[1])?o[0]:(i.memoizedState=[e,n],e)}function yg(e,n){var i=Je();n=n===void 0?null:n;var o=i.memoizedState;if(n!==null&&ku(n,o[1]))return o[0];if(o=e(),ti){ta(!0);try{e()}finally{ta(!1)}}return i.memoizedState=[o,n],o}function Qu(e,n,i){return i===void 0||(Vn&1073741824)!==0&&(Te&261930)===0?e.memoizedState=n:(e.memoizedState=i,e=vy(),ve.lanes|=e,pa|=e,i)}function vg(e,n,i,o){return zt(i,n)?i:Gi.current!==null?(e=Qu(e,i,o),zt(e,n)||(nt=!0),e):(Vn&42)===0||(Vn&1073741824)!==0&&(Te&261930)===0?(nt=!0,e.memoizedState=i):(e=vy(),ve.lanes|=e,pa|=e,n)}function xg(e,n,i,o,c){var h=Y.p;Y.p=h!==0&&8>h?h:8;var x=V.T,S={};V.T=S,Iu(e,!1,n,i);try{var C=c(),U=V.S;if(U!==null&&U(S,C),C!==null&&typeof C=="object"&&typeof C.then=="function"){var Q=JT(C,o);nr(e,n,Q,Ht(e))}else nr(e,n,o,Ht(e))}catch(I){nr(e,n,{then:function(){},status:"rejected",reason:I},Ht())}finally{Y.p=h,x!==null&&S.types!==null&&(x.types=S.types),V.T=x}}function s2(){}function Ku(e,n,i,o){if(e.tag!==5)throw Error(r(476));var c=bg(e).queue;xg(e,c,n,q,i===null?s2:function(){return wg(e),i(o)})}function bg(e){var n=e.memoizedState;if(n!==null)return n;n={memoizedState:q,baseState:q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ln,lastRenderedState:q},next:null};var i={};return n.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ln,lastRenderedState:i},next:null},e.memoizedState=n,e=e.alternate,e!==null&&(e.memoizedState=n),n}function wg(e){var n=bg(e);n.next===null&&(n=e.alternate.memoizedState),nr(e,n.next.queue,{},Ht())}function Xu(){return ht(xr)}function Sg(){return Je().memoizedState}function jg(){return Je().memoizedState}function r2(e){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var i=Ht();e=ca(i);var o=ua(n,e,i);o!==null&&(Dt(o,n,i),$s(o,n,i)),n={cache:ju()},e.payload=n;return}n=n.return}}function o2(e,n,i){var o=Ht();i={lane:o,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Fo(e)?Eg(n,i):(i=fu(e,n,i,o),i!==null&&(Dt(i,e,o),Ng(i,n,o)))}function Tg(e,n,i){var o=Ht();nr(e,n,i,o)}function nr(e,n,i,o){var c={lane:o,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Fo(e))Eg(n,c);else{var h=e.alternate;if(e.lanes===0&&(h===null||h.lanes===0)&&(h=n.lastRenderedReducer,h!==null))try{var x=n.lastRenderedState,S=h(x,i);if(c.hasEagerState=!0,c.eagerState=S,zt(S,x))return jo(e,n,c,0),Ue===null&&So(),!1}catch{}if(i=fu(e,n,c,o),i!==null)return Dt(i,e,o),Ng(i,n,o),!0}return!1}function Iu(e,n,i,o){if(o={lane:2,revertLane:Ad(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Fo(e)){if(n)throw Error(r(479))}else n=fu(e,i,o,2),n!==null&&Dt(n,e,2)}function Fo(e){var n=e.alternate;return e===ve||n!==null&&n===ve}function Eg(e,n){Yi=Vo=!0;var i=e.pending;i===null?n.next=n:(n.next=i.next,i.next=n),e.pending=n}function Ng(e,n,i){if((i&4194048)!==0){var o=n.lanes;o&=e.pendingLanes,i|=o,n.lanes=i,Dm(e,i)}}var ar={readContext:ht,use:Uo,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useLayoutEffect:Xe,useInsertionEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useSyncExternalStore:Xe,useId:Xe,useHostTransitionStatus:Xe,useFormState:Xe,useActionState:Xe,useOptimistic:Xe,useMemoCache:Xe,useCacheRefresh:Xe};ar.useEffectEvent=Xe;var Ag={readContext:ht,use:Uo,useCallback:function(e,n){return wt().memoizedState=[e,n===void 0?null:n],e},useContext:ht,useEffect:ug,useImperativeHandle:function(e,n,i){i=i!=null?i.concat([e]):null,Ho(4194308,4,mg.bind(null,n,e),i)},useLayoutEffect:function(e,n){return Ho(4194308,4,e,n)},useInsertionEffect:function(e,n){Ho(4,2,e,n)},useMemo:function(e,n){var i=wt();n=n===void 0?null:n;var o=e();if(ti){ta(!0);try{e()}finally{ta(!1)}}return i.memoizedState=[o,n],o},useReducer:function(e,n,i){var o=wt();if(i!==void 0){var c=i(n);if(ti){ta(!0);try{i(n)}finally{ta(!1)}}}else c=n;return o.memoizedState=o.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},o.queue=e,e=e.dispatch=o2.bind(null,ve,e),[o.memoizedState,e]}
vendor: 2,614 bytes, line 8
8,useRef:function(e){var n=wt();return e={current:e},n.memoizedState=e},useState:function(e){e=qu(e);var n=e.queue,i=Tg.bind(null,ve,n);return n.dispatch=i,[e.memoizedState,i]},useDebugValue:Yu,useDeferredValue:function(e,n){var i=wt();return Qu(i,e,n)},useTransition:function(){var e=qu(!1);return e=xg.bind(null,ve,e.queue,!0,!1),wt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,i){var o=ve,c=wt();if(Ne){if(i===void 0)throw Error(r(407));i=i()}else{if(i=n(),Ue===null)throw Error(r(349));(Te&127)!==0||Xp(o,n,i)}c.memoizedState=i;var h={value:i,getSnapshot:n};return c.queue=h,ug(Zp.bind(null,o,h,e),[e]),o.flags|=2048,Ki(9,{destroy:void 0},Ip.bind(null,o,h,i,n),null),i},useId:function(){var e=wt(),n=Ue.identifierPrefix;if(Ne){var i=vn,o=yn;i=(o&~(1<<32-kt(o)-1)).toString(32)+i,n="_"+n+"R_"+i,i=Lo++,0<i&&(n+="H"+i.toString(32)),n+="_"}else i=e2++,n="_"+n+"r_"+i.toString(32)+"_";return e.memoizedState=n},useHostTransitionStatus:Xu,useFormState:sg,useActionState:sg,useOptimistic:function(e){var n=wt();n.memoizedState=n.baseState=e;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=i,n=Iu.bind(null,ve,!0,i),i.dispatch=n,[e,n]},useMemoCache:Uu,useCacheRefresh:function(){return wt().memoizedState=r2.bind(null,ve)},useEffectEvent:function(e){var n=wt(),i={impl:e};return n.memoizedState=i,function(){if((Oe&2)!==0)throw Error(r(440));return i.impl.apply(void 0,arguments)}}},Zu={readContext:ht,use:Uo,useCallback:gg,useContext:ht,useEffect:Gu,useImperativeHandle:pg,useInsertionEffect:fg,useLayoutEffect:hg,useMemo:yg,useReducer:Bo,useRef:cg,useState:function(){return Bo(Ln)},useDebugValue:Yu,useDeferredValue:function(e,n){var i=Je();return vg(i,Ve.memoizedState,e,n)},useTransition:function(){var e=Bo(Ln)[0],n=Je().memoizedState;return[typeof e=="boolean"?e:tr(e),n]},useSyncExternalStore:Kp,useId:Sg,useHostTransitionStatus:Xu,useFormState:rg,useActionState:rg,useOptimistic:function(e,n){var i=Je();return Jp(i,Ve,e,n)},useMemoCache:Uu,useCacheRefresh:jg};Zu.useEffectEvent=dg;var Cg={readContext:ht,use:Uo,useCallback:gg,useContext:ht,useEffect:Gu,useImperativeHandle:pg,useInsertionEffect:fg,useLayoutEffect:hg,useMemo:yg,useReducer:Hu,useRef:cg,useState:function(){return Hu(Ln)},useDebugValue:Yu,useDeferredValue:function(e,n){var i=Je();return Ve===null?Qu(i,e,n):vg(i,Ve.memoizedState,e,n)},useTransition:function(){var e=Hu(Ln)[0],n=Je().memoizedState;return[typeof e=="boolean"?e:tr(e),n]},useSyncExternalStore:Kp,useId:Sg,useHostTransitionStatus:Xu,useFormState:lg,useActionState:lg,useOptimistic:function(e,n){var i=Je();
vendor: 12,169 bytes, line 8
8return Ve!==null?Jp(i,Ve,e,n):(i.baseState=e,[e,i.queue.dispatch])},useMemoCache:Uu,useCacheRefresh:jg};Cg.useEffectEvent=dg;function $u(e,n,i,o){n=e.memoizedState,i=i(o,n),i=i==null?n:v({},n,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var Wu={enqueueSetState:function(e,n,i){e=e._reactInternals;var o=Ht(),c=ca(o);c.payload=n,i!=null&&(c.callback=i),n=ua(e,c,o),n!==null&&(Dt(n,e,o),$s(n,e,o))},enqueueReplaceState:function(e,n,i){e=e._reactInternals;var o=Ht(),c=ca(o);c.tag=1,c.payload=n,i!=null&&(c.callback=i),n=ua(e,c,o),n!==null&&(Dt(n,e,o),$s(n,e,o))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var i=Ht(),o=ca(i);o.tag=2,n!=null&&(o.callback=n),n=ua(e,o,i),n!==null&&(Dt(n,e,i),$s(n,e,i))}};function Rg(e,n,i,o,c,h,x){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,h,x):n.prototype&&n.prototype.isPureReactComponent?!Fs(i,o)||!Fs(c,h):!0}function Mg(e,n,i,o){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(i,o),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(i,o),n.state!==e&&Wu.enqueueReplaceState(n,n.state,null)}function ni(e,n){var i=n;if("ref"in n){i={};for(var o in n)o!=="ref"&&(i[o]=n[o])}if(e=e.defaultProps){i===n&&(i=v({},i));for(var c in e)i[c]===void 0&&(i[c]=e[c])}return i}function Dg(e){wo(e)}function Og(e){console.error(e)}function _g(e){wo(e)}function Go(e,n){try{var i=e.onUncaughtError;i(n.value,{componentStack:n.stack})}catch(o){setTimeout(function(){throw o})}}function kg(e,n,i){try{var o=e.onCaughtError;o(i.value,{componentStack:i.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function Ju(e,n,i){return i=ca(i),i.tag=3,i.payload={element:null},i.callback=function(){Go(e,n)},i}function zg(e){return e=ca(e),e.tag=3,e}function Vg(e,n,i,o){var c=i.type.getDerivedStateFromError;if(typeof c=="function"){var h=o.value;e.payload=function(){return c(h)},e.callback=function(){kg(n,i,o)}}var x=i.stateNode;x!==null&&typeof x.componentDidCatch=="function"&&(e.callback=function(){kg(n,i,o),typeof c!="function"&&(ga===null?ga=new Set([this]):ga.add(this));var S=o.stack;this.componentDidCatch(o.value,{componentStack:S!==null?S:""})})}function l2(e,n,i,o,c){if(i.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(n=i.alternate,n!==null&&Ui(n,i,c,!0),i=Lt.current,i!==null){switch(i.tag){case 31:case 13:return Wt===null?nl():i.alternate===null&&Ie===0&&(Ie=3),i.flags&=-257,i.flags|=65536,i.lanes=c,o===Do?i.flags|=16384:(n=i.updateQueue,n===null?i.updateQueue=new Set([o]):n.add(o),Td(e,o,c)),!1;case 22:return i.flags|=65536,o===Do?i.flags|=16384:(n=i.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([o])},i.updateQueue=n):(i=n.retryQueue,i===null?n.retryQueue=new Set([o]):i.add(o)),Td(e,o,c)),!1}throw Error(r(435,i.tag))}return Td(e,o,c),nl(),!1}if(Ne)return n=Lt.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=c,o!==vu&&(e=Error(r(422),{cause:o}),Qs(Xt(e,i)))):(o!==vu&&(n=Error(r(423),{cause:o}),Qs(Xt(n,i))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,o=Xt(o,i),c=Ju(e.stateNode,o,c),Ru(e,c),Ie!==4&&(Ie=2)),!1;var h=Error(r(520),{cause:o});if(h=Xt(h,i),dr===null?dr=[h]:dr.push(h),Ie!==4&&(Ie=2),n===null)return!0;o=Xt(o,i),i=n;do{switch(i.tag){case 3:return i.flags|=65536,e=c&-c,i.lanes|=e,e=Ju(i.stateNode,o,e),Ru(i,e),!1;case 1:if(n=i.type,h=i.stateNode,(i.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(ga===null||!ga.has(h))))return i.flags|=65536,c&=-c,i.lanes|=c,c=zg(c),Vg(c,e,i,o),Ru(i,c),!1}i=i.return}while(i!==null);return!1}var ed=Error(r(461)),nt=!1;function mt(e,n,i,o){n.child=e===null?Bp(n,null,i,o):ei(n,e.child,i,o)}function Lg(e,n,i,o,c){i=i.render;var h=n.ref;if("ref"in o){var x={};for(var S in o)S!=="ref"&&(x[S]=o[S])}else x=o;return Za(n),o=zu(e,n,i,x,h,c),S=Vu(),e!==null&&!nt?(Lu(e,n,c),Pn(e,n,c)):(Ne&&S&&gu(n),n.flags|=1,mt(e,n,o,c),n.child)}function Pg(e,n,i,o,c){if(e===null){var h=i.type;return typeof h=="function"&&!hu(h)&&h.defaultProps===void 0&&i.compare===null?(n.tag=15,n.type=h,Ug(e,n,h,o,c)):(e=Eo(i.type,null,o,n,n.mode,c),e.ref=n.ref,e.return=n,n.child=e)}if(h=e.child,!ld(e,c)){var x=h.memoizedProps;if(i=i.compare,i=i!==null?i:Fs,i(x,o)&&e.ref===n.ref)return Pn(e,n,c)}return n.flags|=1,e=On(h,o),e.ref=n.ref,e.return=n,n.child=e}function Ug(e,n,i,o,c){if(e!==null){var h=e.memoizedProps;if(Fs(h,o)&&e.ref===n.ref)if(nt=!1,n.pendingProps=o=h,ld(e,c))(e.flags&131072)!==0&&(nt=!0);else return n.lanes=e.lanes,Pn(e,n,c)}return td(e,n,i,o,c)}function Bg(e,n,i,o){var c=o.children,h=e!==null?e.memoizedState:null;if(e===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((n.flags&128)!==0){if(h=h!==null?h.baseLanes|i:i,e!==null){for(o=n.child=e.child,c=0;o!==null;)c=c|o.lanes|o.childLanes,o=o.sibling;o=c&~h}else o=0,n.child=null;return Hg(e,n,h,i,o)}if((i&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ro(n,h!==null?h.cachePool:null),h!==null?Fp(n,h):Du(),Gp(n);else return o=n.lanes=536870912,Hg(e,n,h!==null?h.baseLanes|i:i,i,o)}else h!==null?(Ro(n,h.cachePool),Fp(n,h),fa(),n.memoizedState=null):(e!==null&&Ro(n,null),Du(),fa());return mt(e,n,c,i),n.child}function ir(e,n){return e!==null&&e.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function Hg(e,n,i,o,c){var h=Eu();return h=h===null?null:{parent:et._currentValue,pool:h},n.memoizedState={baseLanes:i,cachePool:h},e!==null&&Ro(n,null),Du(),Gp(n),e!==null&&Ui(e,n,o,!0),n.childLanes=c,null}function Yo(e,n){return n=Ko({mode:n.mode,children:n.children},e.mode),n.ref=e.ref,e.child=n,n.return=e,n}function qg(e,n,i){return ei(n,e.child,null,i),e=Yo(n,n.pendingProps),e.flags|=2,Pt(n),n.memoizedState=null,e}function c2(e,n,i){var o=n.pendingProps,c=(n.flags&128)!==0;if(n.flags&=-129,e===null){if(Ne){if(o.mode==="hidden")return e=Yo(n,o),n.lanes=536870912,ir(null,e);if(_u(n),(e=qe)?(e=ev(e,$t),e=e!==null&&e.data==="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:ia!==null?{id:yn,overflow:vn}:null,retryLane:536870912,hydrationErrors:null},i=Ep(e),i.return=n,n.child=i,ft=n,qe=null)):e=null,e===null)throw ra(n);return n.lanes=536870912,null}return Yo(n,o)}var h=e.memoizedState;if(h!==null){var x=h.dehydrated;if(_u(n),c)if(n.flags&256)n.flags&=-257,n=qg(e,n,i);else if(n.memoizedState!==null)n.child=e.child,n.flags|=128,n=null;else throw Error(r(558));else if(nt||Ui(e,n,i,!1),c=(i&e.childLanes)!==0,nt||c){if(o=Ue,o!==null&&(x=Om(o,i),x!==0&&x!==h.retryLane))throw h.retryLane=x,Qa(e,x),Dt(o,e,x),ed;nl(),n=qg(e,n,i)}else e=h.treeContext,qe=Jt(x.nextSibling),ft=n,Ne=!0,sa=null,$t=!1,e!==null&&Cp(n,e),n=Yo(n,o),n.flags|=4096;return n}return e=On(e.child,{mode:o.mode,children:o.children}),e.ref=n.ref,n.child=e,e.return=n,e}function Qo(e,n){var i=n.ref;if(i===null)e!==null&&e.ref!==null&&(n.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(r(284));(e===null||e.ref!==i)&&(n.flags|=4194816)}}function td(e,n,i,o,c){return Za(n),i=zu(e,n,i,o,void 0,c),o=Vu(),e!==null&&!nt?(Lu(e,n,c),Pn(e,n,c)):(Ne&&o&&gu(n),n.flags|=1,mt(e,n,i,c),n.child)}function Fg(e,n,i,o,c,h){return Za(n),n.updateQueue=null,i=Qp(n,o,i,c),Yp(e),o=Vu(),e!==null&&!nt?(Lu(e,n,h),Pn(e,n,h)):(Ne&&o&&gu(n),n.flags|=1,mt(e,n,i,h),n.child)}function Gg(e,n,i,o,c){if(Za(n),n.stateNode===null){var h=zi,x=i.contextType;typeof x=="object"&&x!==null&&(h=ht(x)),h=new i(o,h),n.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=Wu,n.stateNode=h,h._reactInternals=n,h=n.stateNode,h.props=o,h.state=n.memoizedState,h.refs={},Au(n),x=i.contextType,h.context=typeof x=="object"&&x!==null?ht(x):zi,h.state=n.memoizedState,x=i.getDerivedStateFromProps,typeof x=="function"&&($u(n,i,x,o),h.state=n.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(x=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),x!==h.state&&Wu.enqueueReplaceState(h,h.state,null),Js(n,o,h,c),Ws(),h.state=n.memoizedState),typeof h.componentDidMount=="function"&&(n.flags|=4194308),o=!0}else if(e===null){h=n.stateNode;var S=n.memoizedProps,C=ni(i,S);h.props=C;var U=h.context,Q=i.contextType;x=zi,typeof Q=="object"&&Q!==null&&(x=ht(Q));var I=i.getDerivedStateFromProps;Q=typeof I=="function"||typeof h.getSnapshotBeforeUpdate=="function",S=n.pendingProps!==S,Q||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(S||U!==x)&&Mg(n,h,o,x),la=!1;var B=n.memoizedState;h.state=B,Js(n,o,h,c),Ws(),U=n.memoizedState,S||B!==U||la?(typeof I=="function"&&($u(n,i,I,o),U=n.memoizedState),(C=la||Rg(n,i,C,o,B,U,x))?(Q||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(n.flags|=4194308)):(typeof h.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=o,n.memoizedState=U),h.props=o,h.state=U,h.context=x,o=C):(typeof h.componentDidMount=="function"&&(n.flags|=4194308),o=!1)}else{h=n.stateNode,Cu(e,n),x=n.memoizedProps,Q=ni(i,x),h.props=Q,I=n.pendingProps,B=h.context,U=i.contextType,C=zi,typeof U=="object"&&U!==null&&(C=ht(U)),S=i.getDerivedStateFromProps,(U=typeof S=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(x!==I||B!==C)&&Mg(n,h,o,C),la=!1,B=n.memoizedState,h.state=B,Js(n,o,h,c),Ws();var F=n.memoizedState;x!==I||B!==F||la||e!==null&&e.dependencies!==null&&Ao(e.dependencies)?(typeof S=="function"&&($u(n,i,S,o),F=n.memoizedState),(Q=la||Rg(n,i,Q,o,B,F,C)||e!==null&&e.dependencies!==null&&Ao(e.dependencies))?(U||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(o,F,C),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(o,F,C)),typeof h.componentDidUpdate=="function"&&(n.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof h.componentDidUpdate!="function"||x===e.memoizedProps&&B===e.memoizedState||(n.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||x===e.memoizedProps&&B===e.memoizedState||(n.flags|=1024),n.memoizedProps=o,n.memoizedState=F),h.props=o,h.state=F,h.context=C,o=Q):(typeof h.componentDidUpdate!="function"||x===e.memoizedProps&&B===e.memoizedState||(n.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||x===e.memoizedProps&&B===e.memoizedState||(n.flags|=1024),o=!1)}return h=o,Qo(e,n),o=(n.flags&128)!==0,h||o?(h=n.stateNode,i=o&&typeof i.getDerivedStateFromError!="function"?null:h.render(),n.flags|=1,e!==null&&o?(n.child=ei(n,e.child,null,c),n.child=ei(n,null,i,c)):mt(e,n,i,c),n.memoizedState=h.state,e=n.child):e=Pn(e,n,c),e}function Yg(e,n,i,o){return Xa(),n.flags|=256,mt(e,n,i,o),n.child}var nd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ad(e){return{baseLanes:e,cachePool:kp()}}function id(e,n,i){return e=e!==null?e.childLanes&~i:0,n&&(e|=Bt),e}function Qg(e,n,i){var o=n.pendingProps,c=!1,h=(n.flags&128)!==0,x;if((x=h)||(x=e!==null&&e.memoizedState===null?!1:(We.current&2)!==0),x&&(c=!0,n.flags&=-129),x=(n.flags&32)!==0,n.flags&=-33,e===null){if(Ne){if(c?da(n):fa(),(e=qe)?(e=ev(e,$t),e=e!==null&&e.data!=="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:ia!==null?{id:yn,overflow:vn}:null,retryLane:536870912,hydrationErrors:null},i=Ep(e),i.return=n,n.child=i,ft=n,qe=null)):e=null,e===null)throw ra(n);return Bd(e)?n.lanes=32:n.lanes=536870912,null}var S=o.children;
vendor: 6,433 bytes, line 8
8return o=o.fallback,c?(fa(),c=n.mode,S=Ko({mode:"hidden",children:S},c),o=Ka(o,c,i,null),S.return=n,o.return=n,S.sibling=o,n.child=S,o=n.child,o.memoizedState=ad(i),o.childLanes=id(e,x,i),n.memoizedState=nd,ir(null,o)):(da(n),sd(n,S))}var C=e.memoizedState;if(C!==null&&(S=C.dehydrated,S!==null)){if(h)n.flags&256?(da(n),n.flags&=-257,n=rd(e,n,i)):n.memoizedState!==null?(fa(),n.child=e.child,n.flags|=128,n=null):(fa(),S=o.fallback,c=n.mode,o=Ko({mode:"visible",children:o.children},c),S=Ka(S,c,i,null),S.flags|=2,o.return=n,S.return=n,o.sibling=S,n.child=o,ei(n,e.child,null,i),o=n.child,o.memoizedState=ad(i),o.childLanes=id(e,x,i),n.memoizedState=nd,n=ir(null,o));else if(da(n),Bd(S)){if(x=S.nextSibling&&S.nextSibling.dataset,x)var U=x.dgst;x=U,o=Error(r(419)),o.stack="",o.digest=x,Qs({value:o,source:null,stack:null}),n=rd(e,n,i)}else if(nt||Ui(e,n,i,!1),x=(i&e.childLanes)!==0,nt||x){if(x=Ue,x!==null&&(o=Om(x,i),o!==0&&o!==C.retryLane))throw C.retryLane=o,Qa(e,o),Dt(x,e,o),ed;Ud(S)||nl(),n=rd(e,n,i)}else Ud(S)?(n.flags|=192,n.child=e.child,n=null):(e=C.treeContext,qe=Jt(S.nextSibling),ft=n,Ne=!0,sa=null,$t=!1,e!==null&&Cp(n,e),n=sd(n,o.children),n.flags|=4096);return n}return c?(fa(),S=o.fallback,c=n.mode,C=e.child,U=C.sibling,o=On(C,{mode:"hidden",children:o.children}),o.subtreeFlags=C.subtreeFlags&65011712,U!==null?S=On(U,S):(S=Ka(S,c,i,null),S.flags|=2),S.return=n,o.return=n,o.sibling=S,n.child=o,ir(null,o),o=n.child,S=e.child.memoizedState,S===null?S=ad(i):(c=S.cachePool,c!==null?(C=et._currentValue,c=c.parent!==C?{parent:C,pool:C}:c):c=kp(),S={baseLanes:S.baseLanes|i,cachePool:c}),o.memoizedState=S,o.childLanes=id(e,x,i),n.memoizedState=nd,ir(e.child,o)):(da(n),i=e.child,e=i.sibling,i=On(i,{mode:"visible",children:o.children}),i.return=n,i.sibling=null,e!==null&&(x=n.deletions,x===null?(n.deletions=[e],n.flags|=16):x.push(e)),n.child=i,n.memoizedState=null,i)}function sd(e,n){return n=Ko({mode:"visible",children:n},e.mode),n.return=e,e.child=n}function Ko(e,n){return e=Vt(22,e,null,n),e.lanes=0,e}function rd(e,n,i){return ei(n,e.child,null,i),e=sd(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function Kg(e,n,i){e.lanes|=n;var o=e.alternate;o!==null&&(o.lanes|=n),wu(e.return,n,i)}function od(e,n,i,o,c,h){var x=e.memoizedState;x===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:o,tail:i,tailMode:c,treeForkCount:h}:(x.isBackwards=n,x.rendering=null,x.renderingStartTime=0,x.last=o,x.tail=i,x.tailMode=c,x.treeForkCount=h)}function Xg(e,n,i){var o=n.pendingProps,c=o.revealOrder,h=o.tail;o=o.children;var x=We.current,S=(x&2)!==0;if(S?(x=x&1|2,n.flags|=128):x&=1,Z(We,x),mt(e,n,o,i),o=Ne?Ys:0,!S&&e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Kg(e,i,n);else if(e.tag===19)Kg(e,i,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(c){case"forwards":for(i=n.child,c=null;i!==null;)e=i.alternate,e!==null&&zo(e)===null&&(c=i),i=i.sibling;i=c,i===null?(c=n.child,n.child=null):(c=i.sibling,i.sibling=null),od(n,!1,c,i,h,o);break;case"backwards":case"unstable_legacy-backwards":for(i=null,c=n.child,n.child=null;c!==null;){if(e=c.alternate,e!==null&&zo(e)===null){n.child=c;break}e=c.sibling,c.sibling=i,i=c,c=e}od(n,!0,i,null,h,o);break;case"together":od(n,!1,null,null,void 0,o);break;default:n.memoizedState=null}return n.child}function Pn(e,n,i){if(e!==null&&(n.dependencies=e.dependencies),pa|=n.lanes,(i&n.childLanes)===0)if(e!==null){if(Ui(e,n,i,!1),(i&n.childLanes)===0)return null}else return null;if(e!==null&&n.child!==e.child)throw Error(r(153));if(n.child!==null){for(e=n.child,i=On(e,e.pendingProps),n.child=i,i.return=n;e.sibling!==null;)e=e.sibling,i=i.sibling=On(e,e.pendingProps),i.return=n;i.sibling=null}return n.child}function ld(e,n){return(e.lanes&n)!==0?!0:(e=e.dependencies,!!(e!==null&&Ao(e)))}function u2(e,n,i){switch(n.tag){case 3:$e(n,n.stateNode.containerInfo),oa(n,et,e.memoizedState.cache),Xa();break;case 27:case 5:Gt(n);break;case 4:$e(n,n.stateNode.containerInfo);break;case 10:oa(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,_u(n),null;break;case 13:var o=n.memoizedState;if(o!==null)return o.dehydrated!==null?(da(n),n.flags|=128,null):(i&n.child.childLanes)!==0?Qg(e,n,i):(da(n),e=Pn(e,n,i),e!==null?e.sibling:null);da(n);break;case 19:var c=(e.flags&128)!==0;if(o=(i&n.childLanes)!==0,o||(Ui(e,n,i,!1),o=(i&n.childLanes)!==0),c){if(o)return Xg(e,n,i);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Z(We,We.current),o)break;return null;case 22:return n.lanes=0,Bg(e,n,i,n.pendingProps);case 24:oa(n,et,e.memoizedState.cache)}return Pn(e,n,i)}function Ig(e,n,i){if(e!==null)if(e.memoizedProps!==n.pendingProps)nt=!0;else{if(!ld(e,i)&&(n.flags&128)===0)return nt=!1,u2(e,n,i);nt=(e.flags&131072)!==0}else nt=!1,Ne&&(n.flags&1048576)!==0&&Ap(n,Ys,n.index);switch(n.lanes=0,n.tag){case 16:e:{var o=n.pendingProps;if(e=Wa(n.elementType),n.type=e,typeof e=="function")hu(e)?(o=ni(e,o),n.tag=1,n=Gg(null,n,e,o,i)):(n.tag=0,n=td(null,n,e,o,i));else{if(e!=null){var c=e.$$typeof;if(c===D){n.tag=11,n=Lg(null,n,e,o,i);break e}else if(c===H){n.tag=14,n=Pg(null,n,e,o,i);break e}}throw n=J(e)||e,Error(r(306,n,""))}}return n;case 0:return td(e,n,n.type,n.pendingProps,i);case 1:return o=n.type,c=ni(o,n.pendingProps),Gg(e,n,o,c,i);case 3:e:{if($e(n,n.stateNode.containerInfo),e===null)throw Error(r(387));o=n.pendingProps;var h=n.memoizedState;c=h.element,Cu(e,n),Js(n,o,null,i);var x=n.memoizedState;if(o=x.cache,oa(n,et,o),o!==h.cache&&Su(n,[et],i,!0),Ws(),o=x.element,h.isDehydrated)if(h={element:o,isDehydrated:!1,cache:x.cache},n.updateQueue.baseState=h,n.memoizedState=h,n.flags&256){n=Yg(e,n,o,i);break e}else if(o!==c){c=Xt(Error(r(424)),n),Qs(c),n=Yg(e,n,o,i);break e}else for(e=n.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,qe=Jt(e.firstChild),ft=n,Ne=!0,sa=null,$t=!0,i=Bp(n,null,o,i),n.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(Xa(),o===c){n=Pn(e,n,i);break e}mt(e,n,o,i)}n=n.child}return n;case 26:return Qo(e,n),e===null?(i=rv(n.type,null,n.pendingProps,null))?n.memoizedState=i:Ne||(i=n.type,e=n.pendingProps,o=cl(ye.current).createElement(i),o[dt]=n,o[Et]=e,pt(
vendor: 1,695 bytes, line 8
8o,i,e),ct(o),n.stateNode=o):n.memoizedState=rv(n.type,e.memoizedProps,n.pendingProps,e.memoizedState),null;case 27:return Gt(n),e===null&&Ne&&(o=n.stateNode=av(n.type,n.pendingProps,ye.current),ft=n,$t=!0,c=qe,ba(n.type)?(Hd=c,qe=Jt(o.firstChild)):qe=c),mt(e,n,n.pendingProps.children,i),Qo(e,n),e===null&&(n.flags|=4194304),n.child;case 5:return e===null&&Ne&&((c=o=qe)&&(o=B2(o,n.type,n.pendingProps,$t),o!==null?(n.stateNode=o,ft=n,qe=Jt(o.firstChild),$t=!1,c=!0):c=!1),c||ra(n)),Gt(n),c=n.type,h=n.pendingProps,x=e!==null?e.memoizedProps:null,o=h.children,Vd(c,h)?o=null:x!==null&&Vd(c,x)&&(n.flags|=32),n.memoizedState!==null&&(c=zu(e,n,t2,null,null,i),xr._currentValue=c),Qo(e,n),mt(e,n,o,i),n.child;case 6:return e===null&&Ne&&((e=i=qe)&&(i=H2(i,n.pendingProps,$t),i!==null?(n.stateNode=i,ft=n,qe=null,e=!0):e=!1),e||ra(n)),null;case 13:return Qg(e,n,i);case 4:return $e(n,n.stateNode.containerInfo),o=n.pendingProps,e===null?n.child=ei(n,null,o,i):mt(e,n,o,i),n.child;case 11:return Lg(e,n,n.type,n.pendingProps,i);case 7:return mt(e,n,n.pendingProps,i),n.child;case 8:return mt(e,n,n.pendingProps.children,i),n.child;case 12:return mt(e,n,n.pendingProps.children,i),n.child;case 10:return o=n.pendingProps,oa(n,n.type,o.value),mt(e,n,o.children,i),n.child;case 9:return c=n.type._context,o=n.pendingProps.children,Za(n),c=ht(c),o=o(c),n.flags|=1,mt(e,n,o,i),n.child;case 14:return Pg(e,n,n.type,n.pendingProps,i);case 15:return Ug(e,n,n.type,n.pendingProps,i);case 19:return Xg(e,n,i);case 31:return c2(e,n,i);case 22:return Bg(e,n,i,n.pendingProps);case 24:return Za(n),o=ht(et),e===null?(c=Eu(),c===null&&(c=Ue,h=ju(),c.pooledCache=h,h.refCount++,h!==null&&(c.pooledCacheLanes|=i),c=h
vendor: 5,858 bytes, line 8
8),n.memoizedState={parent:o,cache:c},Au(n),oa(n,et,c)):((e.lanes&i)!==0&&(Cu(e,n),Js(n,null,null,i),Ws()),c=e.memoizedState,h=n.memoizedState,c.parent!==o?(c={parent:o,cache:o},n.memoizedState=c,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=c),oa(n,et,o)):(o=h.cache,oa(n,et,o),o!==c.cache&&Su(n,[et],i,!0))),mt(e,n,n.pendingProps.children,i),n.child;case 29:throw n.pendingProps}throw Error(r(156,n.tag))}function Un(e){e.flags|=4}function cd(e,n,i,o,c){if((n=(e.mode&32)!==0)&&(n=!1),n){if(e.flags|=16777216,(c&335544128)===c)if(e.stateNode.complete)e.flags|=8192;else if(Sy())e.flags|=8192;else throw Ja=Do,Nu}else e.flags&=-16777217}function Zg(e,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!dv(n))if(Sy())e.flags|=8192;else throw Ja=Do,Nu}function Xo(e,n){n!==null&&(e.flags|=4),e.flags&16384&&(n=e.tag!==22?Rm():536870912,e.lanes|=n,$i|=n)}function sr(e,n){if(!Ne)switch(e.tailMode){case"hidden":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var o=null;i!==null;)i.alternate!==null&&(o=i),i=i.sibling;o===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Fe(e){var n=e.alternate!==null&&e.alternate.child===e.child,i=0,o=0;if(n)for(var c=e.child;c!==null;)i|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)i|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=o,e.childLanes=i,n}function d2(e,n,i){var o=n.pendingProps;switch(yu(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fe(n),null;case 1:return Fe(n),null;case 3:return i=n.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),n.memoizedState.cache!==o&&(n.flags|=2048),zn(et),ze(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Pi(n)?Un(n):e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,xu())),Fe(n),null;case 26:var c=n.type,h=n.memoizedState;return e===null?(Un(n),h!==null?(Fe(n),Zg(n,h)):(Fe(n),cd(n,c,null,o,i))):h?h!==e.memoizedState?(Un(n),Fe(n),Zg(n,h)):(Fe(n),n.flags&=-16777217):(e=e.memoizedProps,e!==o&&Un(n),Fe(n),cd(n,c,e,o,i)),null;case 27:if(pn(n),i=ye.current,c=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==o&&Un(n);else{if(!o){if(n.stateNode===null)throw Error(r(166));return Fe(n),null}e=$.current,Pi(n)?Rp(n):(e=av(c,o,i),n.stateNode=e,Un(n))}return Fe(n),null;case 5:if(pn(n),c=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==o&&Un(n);else{if(!o){if(n.stateNode===null)throw Error(r(166));return Fe(n),null}if(h=$.current,Pi(n))Rp(n);else{var x=cl(ye.current);switch(h){case 1:h=x.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:h=x.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":h=x.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":h=x.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":h=x.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild);break;case"select":h=typeof o.is=="string"?x.createElement("select",{is:o.is}):x.createElement("select"),o.multiple?h.multiple=!0:o.size&&(h.size=o.size);break;default:h=typeof o.is=="string"?x.createElement(c,{is:o.is}):x.createElement(c)}}h[dt]=n,h[Et]=o;e:for(x=n.child;x!==null;){if(x.tag===5||x.tag===6)h.appendChild(x.stateNode);else if(x.tag!==4&&x.tag!==27&&x.child!==null){x.child.return=x,x=x.child;continue}if(x===n)break e;for(;x.sibling===null;){if(x.return===null||x.return===n)break e;x=x.return}x.sibling.return=x.return,x=x.sibling}n.stateNode=h;e:switch(pt(h,c,o),c){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&Un(n)}}return Fe(n),cd(n,n.type,e===null?null:e.memoizedProps,n.pendingProps,i),null;case 6:if(e&&n.stateNode!=null)e.memoizedProps!==o&&Un(n);else{if(typeof o!="string"&&n.stateNode===null)throw Error(r(166));if(e=ye.current,Pi(n)){if(e=n.stateNode,i=n.memoizedProps,o=null,c=ft,c!==null)switch(c.tag){case 27:case 5:o=c.memoizedProps}e[dt]=n,e=!!(e.nodeValue===i||o!==null&&o.suppressHydrationWarning===!0||Qy(e.nodeValue,i)),e||ra(n,!0)}else e=cl(e).createTextNode(o),e[dt]=n,n.stateNode=e}return Fe(n),null;case 31:if(i=n.memoizedState,e===null||e.memoizedState!==null){if(o=Pi(n),i!==null){if(e===null){if(!o)throw Error(r(318));if(e=n.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[dt]=n}else Xa(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Fe(n),e=!1}else i=xu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),e=!0;if(!e)return n.flags&256?(Pt(n),n):(Pt(n),null);if((n.flags&128)!==0)throw Error(r(558))}return Fe(n),null;case 13:if(o=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=Pi(n),o!==null&&o.dehydrated!==null){if(e===null){if(!c)throw Error(r(318));if(c=n.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(r(317));c[dt]=n}else Xa(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Fe(n),c=!1}else c=xu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return n.flags&256?(Pt(n),n):(Pt(n),null)}return Pt(n),(n.flags&128)!==0?(n.lanes=i,n):(i=o!==null,e=e!==null&&e.memoizedState!==null,i&&(o=n.child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool),h=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(h=o.memoizedState.cachePool.pool),h!==c&&(o.flags|=2048)),i!==e&&i&&(n.child.flags|=8192),Xo(n,n.updateQueue),Fe(n),null);case 4:return ze(),e===null&&Dd(n.stateNode.containerInfo),Fe(n),null;
vendor: 23,250 bytes, line 8
8case 10:return zn(n.type),Fe(n),null;case 19:if(K(We),o=n.memoizedState,o===null)return Fe(n),null;if(c=(n.flags&128)!==0,h=o.rendering,h===null)if(c)sr(o,!1);else{if(Ie!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(h=zo(e),h!==null){for(n.flags|=128,sr(o,!1),e=h.updateQueue,n.updateQueue=e,Xo(n,e),n.subtreeFlags=0,e=i,i=n.child;i!==null;)Tp(i,e),i=i.sibling;return Z(We,We.current&1|2),Ne&&_n(n,o.treeForkCount),n.child}e=e.sibling}o.tail!==null&&Ot()>Jo&&(n.flags|=128,c=!0,sr(o,!1),n.lanes=4194304)}else{if(!c)if(e=zo(h),e!==null){if(n.flags|=128,c=!0,e=e.updateQueue,n.updateQueue=e,Xo(n,e),sr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!h.alternate&&!Ne)return Fe(n),null}else 2*Ot()-o.renderingStartTime>Jo&&i!==536870912&&(n.flags|=128,c=!0,sr(o,!1),n.lanes=4194304);o.isBackwards?(h.sibling=n.child,n.child=h):(e=o.last,e!==null?e.sibling=h:n.child=h,o.last=h)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Ot(),e.sibling=null,i=We.current,Z(We,c?i&1|2:i&1),Ne&&_n(n,o.treeForkCount),e):(Fe(n),null);case 22:case 23:return Pt(n),Ou(),o=n.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(n.flags|=8192):o&&(n.flags|=8192),o?(i&536870912)!==0&&(n.flags&128)===0&&(Fe(n),n.subtreeFlags&6&&(n.flags|=8192)):Fe(n),i=n.updateQueue,i!==null&&Xo(n,i.retryQueue),i=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),o=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==i&&(n.flags|=2048),e!==null&&K($a),null;case 24:return i=null,e!==null&&(i=e.memoizedState.cache),n.memoizedState.cache!==i&&(n.flags|=2048),zn(et),Fe(n),null;case 25:return null;case 30:return null}throw Error(r(156,n.tag))}function f2(e,n){switch(yu(n),n.tag){case 1:return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return zn(et),ze(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 26:case 27:case 5:return pn(n),null;case 31:if(n.memoizedState!==null){if(Pt(n),n.alternate===null)throw Error(r(340));Xa()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 13:if(Pt(n),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(r(340));Xa()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return K(We),null;case 4:return ze(),null;case 10:return zn(n.type),null;case 22:case 23:return Pt(n),Ou(),e!==null&&K($a),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 24:return zn(et),null;case 25:return null;default:return null}}function $g(e,n){switch(yu(n),n.tag){case 3:zn(et),ze();break;case 26:case 27:case 5:pn(n);break;case 4:ze();break;case 31:n.memoizedState!==null&&Pt(n);break;case 13:Pt(n);break;case 19:K(We);break;case 10:zn(n.type);break;case 22:case 23:Pt(n),Ou(),e!==null&&K($a);break;case 24:zn(et)}}function rr(e,n){try{var i=n.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var c=o.next;i=c;do{if((i.tag&e)===e){o=void 0;var h=i.create,x=i.inst;o=h(),x.destroy=o}i=i.next}while(i!==c)}}catch(S){ke(n,n.return,S)}}function ha(e,n,i){try{var o=n.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var h=c.next;o=h;do{if((o.tag&e)===e){var x=o.inst,S=x.destroy;if(S!==void 0){x.destroy=void 0,c=n;var C=i,U=S;try{U()}catch(Q){ke(c,C,Q)}}}o=o.next}while(o!==h)}}catch(Q){ke(n,n.return,Q)}}function Wg(e){var n=e.updateQueue;if(n!==null){var i=e.stateNode;try{qp(n,i)}catch(o){ke(e,e.return,o)}}}function Jg(e,n,i){i.props=ni(e.type,e.memoizedProps),i.state=e.memoizedState;try{i.componentWillUnmount()}catch(o){ke(e,n,o)}}function or(e,n){try{var i=e.ref;if(i!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof i=="function"?e.refCleanup=i(o):i.current=o}}catch(c){ke(e,n,c)}}function xn(e,n){var i=e.ref,o=e.refCleanup;if(i!==null)if(typeof o=="function")try{o()}catch(c){ke(e,n,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(c){ke(e,n,c)}else i.current=null}function ey(e){var n=e.type,i=e.memoizedProps,o=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":i.autoFocus&&o.focus();break e;case"img":i.src?o.src=i.src:i.srcSet&&(o.srcset=i.srcSet)}}catch(c){ke(e,e.return,c)}}function ud(e,n,i){try{var o=e.stateNode;k2(o,e.type,i,n),o[Et]=n}catch(c){ke(e,e.return,c)}}function ty(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ba(e.type)||e.tag===4}function dd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ty(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&&ba(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 fd(e,n,i){var o=e.tag;if(o===5||o===6)e=e.stateNode,n?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(e,n):(n=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,n.appendChild(e),i=i._reactRootContainer,i!=null||n.onclick!==null||(n.onclick=Mn));else if(o!==4&&(o===27&&ba(e.type)&&(i=e.stateNode,n=null),e=e.child,e!==null))for(fd(e,n,i),e=e.sibling;e!==null;)fd(e,n,i),e=e.sibling}function Io(e,n,i){var o=e.tag;if(o===5||o===6)e=e.stateNode,n?i.insertBefore(e,n):i.appendChild(e);else if(o!==4&&(o===27&&ba(e.type)&&(i=e.stateNode),e=e.child,e!==null))for(Io(e,n,i),e=e.sibling;e!==null;)Io(e,n,i),e=e.sibling}function ny(e){var n=e.stateNode,i=e.memoizedProps;try{for(var o=e.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);pt(n,o,i),n[dt]=e,n[Et]=i}catch(h){ke(e,e.return,h)}}var Bn=!1,at=!1,hd=!1,ay=typeof WeakSet=="function"?WeakSet:Set,ut=null;function h2(e,n){if(e=e.containerInfo,kd=gl,e=pp(e),ru(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var o=i.getSelection&&i.getSelection();if(o&&o.rangeCount!==0){i=o.anchorNode;var c=o.anchorOffset,h=o.focusNode;o=o.focusOffset;try{i.nodeType,h.nodeType}catch{i=null;break e}var x=0,S=-1,C=-1,U=0,Q=0,I=e,B=null;t:for(;;){for(var F;I!==i||c!==0&&I.nodeType!==3||(S=x+c),I!==h||o!==0&&I.nodeType!==3||(C=x+o),I.nodeType===3&&(x+=I.nodeValue.length),(F=I.firstChild)!==null;)B=I,I=F;for(;;){if(I===e)break t;if(B===i&&++U===c&&(S=x),B===h&&++Q===o&&(C=x),(F=I.nextSibling)!==null)break;I=B,B=I.parentNode}I=F}i=S===-1||C===-1?null:{start:S,end:C}}else i=null}i=i||{start:0,end:0}}else i=null;for(zd={focusedElem:e,selectionRange:i},gl=!1,ut=n;ut!==null;)if(n=ut,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,ut=e;else for(;ut!==null;){switch(n=ut,h=n.alternate,e=n.flags,n.tag){case 0:if((e&4)!==0&&(e=n.updateQueue,e=e!==null?e.events:null,e!==null))for(i=0;i<e.length;i++)c=e[i],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&h!==null){e=void 0,i=n,c=h.memoizedProps,h=h.memoizedState,o=i.stateNode;try{var ne=ni(i.type,c);e=o.getSnapshotBeforeUpdate(ne,h),o.__reactInternalSnapshotBeforeUpdate=e}catch(de){ke(i,i.return,de)}}break;case 3:if((e&1024)!==0){if(e=n.stateNode.containerInfo,i=e.nodeType,i===9)Pd(e);else if(i===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Pd(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(r(163))}if(e=n.sibling,e!==null){e.return=n.return,ut=e;break}ut=n.return}}function iy(e,n,i){var o=i.flags;switch(i.tag){case 0:case 11:case 15:qn(e,i),o&4&&rr(5,i);break;case 1:if(qn(e,i),o&4)if(e=i.stateNode,n===null)try{e.componentDidMount()}catch(x){ke(i,i.return,x)}else{var c=ni(i.type,n.memoizedProps);n=n.memoizedState;try{e.componentDidUpdate(c,n,e.__reactInternalSnapshotBeforeUpdate)}catch(x){ke(i,i.return,x)}}o&64&&Wg(i),o&512&&or(i,i.return);break;case 3:if(qn(e,i),o&64&&(e=i.updateQueue,e!==null)){if(n=null,i.child!==null)switch(i.child.tag){case 27:case 5:n=i.child.stateNode;break;case 1:n=i.child.stateNode}try{qp(e,n)}catch(x){ke(i,i.return,x)}}break;case 27:n===null&&o&4&&ny(i);case 26:case 5:qn(e,i),n===null&&o&4&&ey(i),o&512&&or(i,i.return);break;case 12:qn(e,i);break;case 31:qn(e,i),o&4&&oy(e,i);break;case 13:qn(e,i),o&4&&ly(e,i),o&64&&(e=i.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(i=S2.bind(null,i),q2(e,i))));break;case 22:if(o=i.memoizedState!==null||Bn,!o){n=n!==null&&n.memoizedState!==null||at,c=Bn;var h=at;Bn=o,(at=n)&&!h?Fn(e,i,(i.subtreeFlags&8772)!==0):qn(e,i),Bn=c,at=h}break;case 30:break;default:qn(e,i)}}function sy(e){var n=e.alternate;n!==null&&(e.alternate=null,sy(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&Fc(n)),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 Ye=null,At=!1;function Hn(e,n,i){for(i=i.child;i!==null;)ry(e,n,i),i=i.sibling}function ry(e,n,i){if(_t&&typeof _t.onCommitFiberUnmount=="function")try{_t.onCommitFiberUnmount(Ds,i)}catch{}switch(i.tag){case 26:at||xn(i,n),Hn(e,n,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:at||xn(i,n);var o=Ye,c=At;ba(i.type)&&(Ye=i.stateNode,At=!1),Hn(e,n,i),gr(i.stateNode),Ye=o,At=c;break;case 5:at||xn(i,n);case 6:if(o=Ye,c=At,Ye=null,Hn(e,n,i),Ye=o,At=c,Ye!==null)if(At)try{(Ye.nodeType===9?Ye.body:Ye.nodeName==="HTML"?Ye.ownerDocument.body:Ye).removeChild(i.stateNode)}catch(h){ke(i,n,h)}else try{Ye.removeChild(i.stateNode)}catch(h){ke(i,n,h)}break;case 18:Ye!==null&&(At?(e=Ye,Wy(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,i.stateNode),ss(e)):Wy(Ye,i.stateNode));break;case 4:o=Ye,c=At,Ye=i.stateNode.containerInfo,At=!0,Hn(e,n,i),Ye=o,At=c;break;case 0:case 11:case 14:case 15:ha(2,i,n),at||ha(4,i,n),Hn(e,n,i);break;case 1:at||(xn(i,n),o=i.stateNode,typeof o.componentWillUnmount=="function"&&Jg(i,n,o)),Hn(e,n,i);break;case 21:Hn(e,n,i);break;case 22:at=(o=at)||i.memoizedState!==null,Hn(e,n,i),at=o;break;default:Hn(e,n,i)}}function oy(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ss(e)}catch(i){ke(n,n.return,i)}}}function ly(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ss(e)}catch(i){ke(n,n.return,i)}}function m2(e){switch(e.tag){case 31:case 13:case 19:var n=e.stateNode;return n===null&&(n=e.stateNode=new ay),n;case 22:return e=e.stateNode,n=e._retryCache,n===null&&(n=e._retryCache=new ay),n;default:throw Error(r(435,e.tag))}}function Zo(e,n){var i=m2(e);n.forEach(function(o){if(!i.has(o)){i.add(o);var c=j2.bind(null,e,o);o.then(c,c)}})}function Ct(e,n){var i=n.deletions;if(i!==null)for(var o=0;o<i.length;o++){var c=i[o],h=e,x=n,S=x;e:for(;S!==null;){switch(S.tag){case 27:if(ba(S.type)){Ye=S.stateNode,At=!1;break e}break;case 5:Ye=S.stateNode,At=!1;break e;case 3:case 4:Ye=S.stateNode.containerInfo,At=!0;break e}S=S.return}if(Ye===null)throw Error(r(160));ry(h,x,c),Ye=null,At=!1,h=c.alternate,h!==null&&(h.return=null),c.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)cy(n,e),n=n.sibling}var on=null;function cy(e,n){var i=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ct(n,e),Rt(e),o&4&&(ha(3,e,e.return),rr(3,e),ha(5,e,e.return));break;case 1:Ct(n,e),Rt(e),o&512&&(at||i===null||xn(i,i.return)),o&64&&Bn&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(i=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=i===null?o:i.concat(o))));break;case 26:var c=on;if(Ct(n,e),Rt(e),o&512&&(at||i===null||xn(i,i.return)),o&4){var h=i!==null?i.memoizedState:null;if(o=e.memoizedState,i===null)if(o===null)if(e.stateNode===null){e:{o=e.type,i=e.memoizedProps,c=c.ownerDocument||c;t:switch(o){case"title":h=c.getElementsByTagName("title")[0],(!h||h[ks]||h[dt]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=c.createElement(o),c.head.insertBefore(h,c.querySelector("head > title"))),pt(h,o,i),h[dt]=e,ct(h),o=h;break e;case"link":var x=cv("link","href",c).get(o+(i.href||""));if(x){for(var S=0;S<x.length;S++)if(h=x[S],h.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&h.getAttribute("rel")===(i.rel==null?null:i.rel)&&h.getAttribute("title")===(i.title==null?null:i.title)&&h.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){x.splice(S,1);break t}}h=c.createElement(o),pt(h,o,i),c.head.appendChild(h);break;case"meta":if(x=cv("meta","content",c).get(o+(i.content||""))){for(S=0;S<x.length;S++)if(h=x[S],h.getAttribute("content")===(i.content==null?null:""+i.content)&&h.getAttribute("name")===(i.name==null?null:i.name)&&h.getAttribute("property")===(i.property==null?null:i.property)&&h.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&h.getAttribute("charset")===(i.charSet==null?null:i.charSet)){x.splice(S,1);break t}}h=c.createElement(o),pt(h,o,i),c.head.appendChild(h);break;default:throw Error(r(468,o))}h[dt]=e,ct(h),o=h}e.stateNode=o}else uv(c,e.type,e.stateNode);else e.stateNode=lv(c,o,e.memoizedProps);else h!==o?(h===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):h.count--,o===null?uv(c,e.type,e.stateNode):lv(c,o,e.memoizedProps)):o===null&&e.stateNode!==null&&ud(e,e.memoizedProps,i.memoizedProps)}break;case 27:Ct(n,e),Rt(e),o&512&&(at||i===null||xn(i,i.return)),i!==null&&o&4&&ud(e,e.memoizedProps,i.memoizedProps);break;case 5:if(Ct(n,e),Rt(e),o&512&&(at||i===null||xn(i,i.return)),e.flags&32){c=e.stateNode;try{Ci(c,"")}catch(ne){ke(e,e.return,ne)}}o&4&&e.stateNode!=null&&(c=e.memoizedProps,ud(e,c,i!==null?i.memoizedProps:c)),o&1024&&(hd=!0);break;case 6:if(Ct(n,e),Rt(e),o&4){if(e.stateNode===null)throw Error(r(162));o=e.memoizedProps,i=e.stateNode;try{i.nodeValue=o}catch(ne){ke(e,e.return,ne)}}break;case 3:if(fl=null,c=on,on=ul(n.containerInfo),Ct(n,e),on=c,Rt(e),o&4&&i!==null&&i.memoizedState.isDehydrated)try{ss(n.containerInfo)}catch(ne){ke(e,e.return,ne)}hd&&(hd=!1,uy(e));break;case 4:o=on,on=ul(e.stateNode.containerInfo),Ct(n,e),Rt(e),on=o;break;case 12:Ct(n,e),Rt(e);break;case 31:Ct(n,e),Rt(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Zo(e,o)));break;case 13:Ct(n,e),Rt(e),e.child.flags&8192&&e.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(Wo=Ot()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Zo(e,o)));break;case 22:c=e.memoizedState!==null;var C=i!==null&&i.memoizedState!==null,U=Bn,Q=at;if(Bn=U||c,at=Q||C,Ct(n,e),at=Q,Bn=U,Rt(e),o&8192)e:for(n=e.stateNode,n._visibility=c?n._visibility&-2:n._visibility|1,c&&(i===null||C||Bn||at||ai(e)),i=null,n=e;;){if(n.tag===5||n.tag===26){if(i===null){C=i=n;try{if(h=C.stateNode,c)x=h.style,typeof x.setProperty=="function"?x.setProperty("display","none","important"):x.display="none";else{S=C.stateNode;var I=C.memoizedProps.style,B=I!=null&&I.hasOwnProperty("display")?I.display:null;S.style.display=B==null||typeof B=="boolean"?"":(""+B).trim()}}catch(ne){ke(C,C.return,ne)}}}else if(n.tag===6){if(i===null){C=n;try{C.stateNode.nodeValue=c?"":C.memoizedProps}catch(ne){ke(C,C.return,ne)}}}else if(n.tag===18){if(i===null){C=n;try{var F=C.stateNode;c?Jy(F,!0):Jy(C.stateNode,!1)}catch(ne){ke(C,C.return,ne)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;n.sibling===null;){if(n.return===null||n.return===e)break e;i===n&&(i=null),n=n.return}i===n&&(i=null),n.sibling.return=n.return,n=n.sibling}o&4&&(o=e.updateQueue,o!==null&&(i=o.retryQueue,i!==null&&(o.retryQueue=null,Zo(e,i))));break;case 19:Ct(n,e),Rt(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Zo(e,o)));break;case 30:break;case 21:break;default:Ct(n,e),Rt(e)}}function Rt(e){var n=e.flags;if(n&2){try{for(var i,o=e.return;o!==null;){if(ty(o)){i=o;break}o=o.return}if(i==null)throw Error(r(160));switch(i.tag){case 27:var c=i.stateNode,h=dd(e);Io(e,h,c);break;case 5:var x=i.stateNode;i.flags&32&&(Ci(x,""),i.flags&=-33);var S=dd(e);Io(e,S,x);break;case 3:case 4:var C=i.stateNode.containerInfo,U=dd(e);fd(e,U,C);break;default:throw Error(r(161))}}catch(Q){ke(e,e.return,Q)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function uy(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var n=e;uy(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),e=e.sibling}}function qn(e,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)iy(e,n.alternate,n),n=n.sibling}function ai(e){for(e=e.child;e!==null;){var n=e;switch(n.tag){case 0:case 11:case 14:case 15:ha(4,n,n.return),ai(n);break;case 1:xn(n,n.return);var i=n.stateNode;typeof i.componentWillUnmount=="function"&&Jg(n,n.return,i),ai(n);break;case 27:gr(n.stateNode);case 26:case 5:xn(n,n.return),ai(n);break;case 22:n.memoizedState===null&&ai(n);break;case 30:ai(n);break;default:ai(n)}e=e.sibling}}function Fn(e,n,i){for(i=i&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var o=n.alternate,c=e,h=n,x=h.flags;switch(h.tag){case 0:case 11:case 15:Fn(c,h,i),rr(4,h);break;case 1:if(Fn(c,h,i),o=h,c=o.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(U){ke(o,o.return,U)}if(o=h,c=o.updateQueue,c!==null){var S=o.stateNode;try{var C=c.shared.hiddenCallbacks;if(C!==null)for(c.shared.hiddenCallbacks=null,c=0;c<C.length;c++)Hp(C[c],S)}catch(U){ke(o,o.return,U)}}i&&x&64&&Wg(h),or(h,h.return);break;case 27:ny(h);case 26:case 5:Fn(c,h,i),i&&o===null&&x&4&&ey(h),or(h,h.return);break;case 12:Fn(c,h,i);break;case 31:Fn(c,h,i),i&&x&4&&oy(c,h);break;case 13:Fn(c,h,i),i&&x&4&&ly(c,h);break;case 22:h.memoizedState===null&&Fn(c,h,i),or(h,h.return);break;case 30:break;default:Fn(c,h,i)}n=n.sibling}}function md(e,n){var i=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),e=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(e=n.memoizedState.cachePool.pool),e!==i&&(e!=null&&e.refCount++,i!=null&&Ks(i))}function pd(e,n){e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&Ks(e))}function ln(e,n,i,o){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)dy(e,n,i,o),n=n.sibling}function dy(e,n,i,o){var c=n.flags;switch(n.tag){case 0:case 11:case 15:ln(e,n,i,o),c&2048&&rr(9,n);break;case 1:ln(e,n,i,o);break;case 3:ln(e,n,i,o),c&2048&&(e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&Ks(e)));break;case 12:if(c&2048){ln(e,n,i,o),e=n.stateNode;try{var h=n.memoizedProps,x=h.id,S=h.onPostCommit;typeof S=="function"&&S(x,n.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(C){ke(n,n.return,C)}}else ln(e,n,i,o);break;case 31:ln(e,n,i,o);break;case 13:ln(e,n,i,o);break;case 23:break;case 22:h=n.stateNode,x=n.alternate,n.memoizedState!==null?h._visibility&2?ln(e,n,i,o):lr(e,n):h._visibility&2?ln(e,n,i,o):(h._visibility|=2,Xi(e,n,i,o,(n.subtreeFlags&10256)!==0||!1)),c&2048&&md(x,n);break;case 24:ln(e,n,i,o),c&2048&&pd(n.alternate,n);break;default:ln(e,n,i,o)}}function Xi(e,n,i,o,c){for(c=c&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var h=e,x=n,S=i,C=o,U=x.flags;switch(x.tag){case 0:case 11:case 15:Xi(h,x,S,C,c),rr(8,x);break;case 23:break;case 22:var Q=x.stateNode;x.memoizedState!==null?Q._visibility&2?Xi(h,x,S,C,c):lr(h,x):(Q._visibility|=2,Xi(h,x,S,C,c)),c&&U&2048&&md(x.alternate,x);break;case 24:Xi(h,x,S,C,c),c&&U&2048&&pd(x.alternate,x);break;default:Xi(h,x,S,C,c)}n=n.sibling}}function lr(e,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var i=e,o=n,c=o.flags;switch(o.tag){case 22:lr(i,o),c&2048&&md(o.alternate,o);break;case 24:lr(i,o),c&2048&&pd(o.alternate,o);break;default:lr(i,o)}n=n.sibling}}var cr=8192;function Ii(e,n,i){if(e.subtreeFlags&cr)for(e=e.child;e!==null;)fy(e,n,i),e=e.sibling}function fy(e,n,i){switch(e.tag){case 26:Ii(e,n,i),e.flags&cr&&e.memoizedState!==null&&eE(i,on,e.memoizedState,e.memoizedProps);break;case 5:Ii(e,n,i);break;case 3:case 4:var o=on;on=ul(e.stateNode.containerInfo),Ii(e,n,i),on=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=cr,cr=16777216,Ii(e,n,i),cr=o):Ii(e,n,i));break;default:Ii(e,n,i)}}function hy(e){var n=e.alternate;if(n!==null&&(e=n.child,e!==null)){n.child=null;do n=e.sibling,e.sibling=null,e=n;while(e!==null)}}function ur(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var i=0;i<n.length;i++){var o=n[i];ut=o,py(o,e)}hy(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)my(e),e=e.sibling}function my(e){switch(e.tag){case 0:case 11:case 15:ur(e),e.flags&2048&&ha(9,e,e.return);break;case 3:ur(e);break;case 12:ur(e);break;case 22:var n=e.stateNode;e.memoizedState!==null&&n._visibility&2&&(e.return===null||e.return.tag!==13)?(n._visibility&=-3,$o(e)):ur(e);break;default:ur(e)}}function $o(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var i=0;i<n.length;i++){var o=n[i];ut=o,py(o,e)}hy(e)}for(e=e.child;e!==null;){switch(n=e,n.tag){case 0:case 11:case 15:ha(8,n,n.return),$o(n);break;case 22:i=n.stateNode,i._visibility&2&&(i._visibility&=-3,$o(n));break;default:$o(n)}e=e.sibling}}function py(e,n){for(;ut!==null;){var i=ut;switch(i.tag){case 0:case 11:case 15:ha(8,i,n);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var o=i.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:Ks(i.memoizedState.cache)}if(o=i.child,o!==null)o.return=i,ut=o;else e:for(i=e;ut!==null;){o=ut;var c=o.sibling,h=o.return;if(sy(o),o===i){ut=null;break e}if(c!==null){c.return=h,ut=c;break e}ut=h}}}var p2={getCacheForType:function(e){var n=ht(et),i=n.data.get(e);return i===void 0&&(i=e(),n.data.set(e,i)),i},cacheSignal:function(){return ht(et).controller.signal}},g2=typeof WeakMap=="function"?WeakMap:Map,Oe=0,Ue=null,Se=null,Te=0,_e=0,Ut=null,ma=!1,Zi=!1,gd=!1,Gn=0,Ie=0,pa=0,ii=0,yd=0,Bt=0,$i=0,dr=null,Mt=null,vd=!1,Wo=0,gy=0,Jo=1/0,el=null,ga=null,st=0,ya=null,Wi=null,Yn=0,xd=0,bd=null,yy=null,fr=0,wd=null;function Ht(){return(Oe&2)!==0&&Te!==0?Te&-Te:V.T!==null?Ad():_m()}function vy(){if(Bt===0)if((Te&536870912)===0||Ne){var e=oo;oo<<=1,(oo&3932160)===0&&(oo=262144),Bt=e}else Bt=536870912;return e=Lt.current,e!==null&&(e.flags|=32),Bt}function Dt(e,n,i){(e===Ue&&(_e===2||_e===9)||e.cancelPendingCommit!==null)&&(Ji(e,0),va(e,Te,Bt,!1)),_s(e,i),((Oe&2)===0||e!==Ue)&&(e===Ue&&((Oe&2)===0&&(ii|=i),Ie===4&&va(e,Te,Bt,!1)),bn(e))}function xy(e,n,i){if((Oe&6)!==0)throw Error(r(327));var o=!i&&(n&127)===0&&(n&e.expiredLanes)===0||Os(e,n),c=o?x2(e,n):jd(e,n,!0),h=o;do{if(c===0){Zi&&!o&&va(e,n,0,!1);break}else{if(i=e.current.alternate,h&&!y2(i)){c=jd(e,n,!1),h=!1;continue}if(c===2){if(h=n,e.errorRecoveryDisabledLanes&h)var x=0;else x=e.pendingLanes&-536870913,x=x!==0?x:x&536870912?536870912:0;if(x!==0){n=x;e:{var S=e;c=dr;var C=S.current.memoizedState.isDehydrated;if(C&&(Ji(S,x).flags|=256),x=jd(S,x,!1),x!==2){if(gd&&!C){S.errorRecoveryDisabledLanes|=h,ii|=h,c=4;break e}h=Mt,Mt=c,h!==null&&(Mt===null?Mt=h:Mt.push.apply(Mt,h))}c=x}if(h=!1,c!==2)continue}}if(c===1){Ji(e,0),va(e,n,0,!0);break}e:{switch(o=e,h=c,h){case 0:case 1:throw Error(r(345));case 4:if((n&4194048)!==n)break;case 6:va(o,n,Bt,!ma);break e;case 2:Mt=null;break;case 3:case 5:break;default:throw Error(r(329))}
vendor: 15,506 bytes, line 8
8if((n&62914560)===n&&(c=Wo+300-Ot(),10<c)){if(va(o,n,Bt,!ma),co(o,0,!0)!==0)break e;Yn=n,o.timeoutHandle=Zy(by.bind(null,o,i,Mt,el,vd,n,Bt,ii,$i,ma,h,"Throttled",-0,0),c);break e}by(o,i,Mt,el,vd,n,Bt,ii,$i,ma,h,null,-0,0)}}break}while(!0);bn(e)}function by(e,n,i,o,c,h,x,S,C,U,Q,I,B,F){if(e.timeoutHandle=-1,I=n.subtreeFlags,I&8192||(I&16785408)===16785408){I={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Mn},fy(n,h,I);var ne=(h&62914560)===h?Wo-Ot():(h&4194048)===h?gy-Ot():0;if(ne=tE(I,ne),ne!==null){Yn=h,e.cancelPendingCommit=ne(Cy.bind(null,e,n,h,i,o,c,x,S,C,Q,I,null,B,F)),va(e,h,x,!U);return}}Cy(e,n,h,i,o,c,x,S,C)}function y2(e){for(var n=e;;){var i=n.tag;if((i===0||i===11||i===15)&&n.flags&16384&&(i=n.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var o=0;o<i.length;o++){var c=i[o],h=c.getSnapshot;c=c.value;try{if(!zt(h(),c))return!1}catch{return!1}}if(i=n.child,n.subtreeFlags&16384&&i!==null)i.return=n,n=i;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function va(e,n,i,o){n&=~yd,n&=~ii,e.suspendedLanes|=n,e.pingedLanes&=~n,o&&(e.warmLanes|=n),o=e.expirationTimes;for(var c=n;0<c;){var h=31-kt(c),x=1<<h;o[h]=-1,c&=~x}i!==0&&Mm(e,i,n)}function tl(){return(Oe&6)===0?(hr(0),!1):!0}function Sd(){if(Se!==null){if(_e===0)var e=Se.return;else e=Se,kn=Ia=null,Pu(e),Fi=null,Is=0,e=Se;for(;e!==null;)$g(e.alternate,e),e=e.return;Se=null}}function Ji(e,n){var i=e.timeoutHandle;i!==-1&&(e.timeoutHandle=-1,L2(i)),i=e.cancelPendingCommit,i!==null&&(e.cancelPendingCommit=null,i()),Yn=0,Sd(),Ue=e,Se=i=On(e.current,null),Te=n,_e=0,Ut=null,ma=!1,Zi=Os(e,n),gd=!1,$i=Bt=yd=ii=pa=Ie=0,Mt=dr=null,vd=!1,(n&8)!==0&&(n|=n&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=n;0<o;){var c=31-kt(o),h=1<<c;n|=e[c],o&=~h}return Gn=n,So(),i}function wy(e,n){ve=null,V.H=ar,n===qi||n===Mo?(n=Lp(),_e=3):n===Nu?(n=Lp(),_e=4):_e=n===ed?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Ut=n,Se===null&&(Ie=1,Go(e,Xt(n,e.current)))}function Sy(){var e=Lt.current;return e===null?!0:(Te&4194048)===Te?Wt===null:(Te&62914560)===Te||(Te&536870912)!==0?e===Wt:!1}function jy(){var e=V.H;return V.H=ar,e===null?ar:e}function Ty(){var e=V.A;return V.A=p2,e}function nl(){Ie=4,ma||(Te&4194048)!==Te&&Lt.current!==null||(Zi=!0),(pa&134217727)===0&&(ii&134217727)===0||Ue===null||va(Ue,Te,Bt,!1)}function jd(e,n,i){var o=Oe;Oe|=2;var c=jy(),h=Ty();(Ue!==e||Te!==n)&&(el=null,Ji(e,n)),n=!1;var x=Ie;e:do try{if(_e!==0&&Se!==null){var S=Se,C=Ut;switch(_e){case 8:Sd(),x=6;break e;case 3:case 2:case 9:case 6:Lt.current===null&&(n=!0);var U=_e;if(_e=0,Ut=null,es(e,S,C,U),i&&Zi){x=0;break e}break;default:U=_e,_e=0,Ut=null,es(e,S,C,U)}}v2(),x=Ie;break}catch(Q){wy(e,Q)}while(!0);return n&&e.shellSuspendCounter++,kn=Ia=null,Oe=o,V.H=c,V.A=h,Se===null&&(Ue=null,Te=0,So()),x}function v2(){for(;Se!==null;)Ey(Se)}function x2(e,n){var i=Oe;Oe|=2;var o=jy(),c=Ty();Ue!==e||Te!==n?(el=null,Jo=Ot()+500,Ji(e,n)):Zi=Os(e,n);e:do try{if(_e!==0&&Se!==null){n=Se;var h=Ut;t:switch(_e){case 1:_e=0,Ut=null,es(e,n,h,1);break;case 2:case 9:if(zp(h)){_e=0,Ut=null,Ny(n);break}n=function(){_e!==2&&_e!==9||Ue!==e||(_e=7),bn(e)},h.then(n,n);break e;case 3:_e=7;break e;case 4:_e=5;break e;case 7:zp(h)?(_e=0,Ut=null,Ny(n)):(_e=0,Ut=null,es(e,n,h,7));break;case 5:var x=null;switch(Se.tag){case 26:x=Se.memoizedState;case 5:case 27:var S=Se;if(x?dv(x):S.stateNode.complete){_e=0,Ut=null;var C=S.sibling;if(C!==null)Se=C;else{var U=S.return;U!==null?(Se=U,al(U)):Se=null}break t}}_e=0,Ut=null,es(e,n,h,5);break;case 6:_e=0,Ut=null,es(e,n,h,6);break;case 8:Sd(),Ie=6;break e;default:throw Error(r(462))}}b2();break}catch(Q){wy(e,Q)}while(!0);return kn=Ia=null,V.H=o,V.A=c,Oe=i,Se!==null?0:(Ue=null,Te=0,So(),Ie)}function b2(){for(;Se!==null&&!Fj();)Ey(Se)}function Ey(e){var n=Ig(e.alternate,e,Gn);e.memoizedProps=e.pendingProps,n===null?al(e):Se=n}function Ny(e){var n=e,i=n.alternate;switch(n.tag){case 15:case 0:n=Fg(i,n,n.pendingProps,n.type,void 0,Te);break;case 11:n=Fg(i,n,n.pendingProps,n.type.render,n.ref,Te);break;case 5:Pu(n);default:$g(i,n),n=Se=Tp(n,Gn),n=Ig(i,n,Gn)}e.memoizedProps=e.pendingProps,n===null?al(e):Se=n}function es(e,n,i,o){kn=Ia=null,Pu(n),Fi=null,Is=0;var c=n.return;try{if(l2(e,c,n,i,Te)){Ie=1,Go(e,Xt(i,e.current)),Se=null;return}}catch(h){if(c!==null)throw Se=c,h;Ie=1,Go(e,Xt(i,e.current)),Se=null;return}n.flags&32768?(Ne||o===1?e=!0:Zi||(Te&536870912)!==0?e=!1:(ma=e=!0,(o===2||o===9||o===3||o===6)&&(o=Lt.current,o!==null&&o.tag===13&&(o.flags|=16384))),Ay(n,e)):al(n)}function al(e){var n=e;do{if((n.flags&32768)!==0){Ay(n,ma);return}e=n.return;var i=d2(n.alternate,n,Gn);if(i!==null){Se=i;return}if(n=n.sibling,n!==null){Se=n;return}Se=n=e}while(n!==null);Ie===0&&(Ie=5)}function Ay(e,n){do{var i=f2(e.alternate,e);if(i!==null){i.flags&=32767,Se=i;return}if(i=e.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!n&&(e=e.sibling,e!==null)){Se=e;return}Se=e=i}while(e!==null);Ie=6,Se=null}function Cy(e,n,i,o,c,h,x,S,C){e.cancelPendingCommit=null;do il();while(st!==0);if((Oe&6)!==0)throw Error(r(327));if(n!==null){if(n===e.current)throw Error(r(177));if(h=n.lanes|n.childLanes,h|=du,Jj(e,i,h,x,S,C),e===Ue&&(Se=Ue=null,Te=0),Wi=n,ya=e,Yn=i,xd=h,bd=c,yy=o,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,T2(so,function(){return _y(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||o){o=V.T,V.T=null,c=Y.p,Y.p=2,x=Oe,Oe|=4;try{h2(e,n,i)}finally{Oe=x,Y.p=c,V.T=o}}st=1,Ry(),My(),Dy()}}function Ry(){if(st===1){st=0;var e=ya,n=Wi,i=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||i){i=V.T,V.T=null;var o=Y.p;Y.p=2;var c=Oe;Oe|=4;try{cy(n,e);var h=zd,x=pp(e.containerInfo),S=h.focusedElem,C=h.selectionRange;if(x!==S&&S&&S.ownerDocument&&mp(S.ownerDocument.documentElement,S)){if(C!==null&&ru(S)){var U=C.start,Q=C.end;if(Q===void 0&&(Q=U),"selectionStart"in S)S.selectionStart=U,S.selectionEnd=Math.min(Q,S.value.length);else{var I=S.ownerDocument||document,B=I&&I.defaultView||window;if(B.getSelection){var F=B.getSelection(),ne=S.textContent.length,de=Math.min(C.start,ne),Pe=C.end===void 0?de:Math.min(C.end,ne);!F.extend&&de>Pe&&(x=Pe,Pe=de,de=x);var z=hp(S,de),O=hp(S,Pe);if(z&&O&&(F.rangeCount!==1||F.anchorNode!==z.node||F.anchorOffset!==z.offset||F.focusNode!==O.node||F.focusOffset!==O.offset)){var P=I.createRange();P.setStart(z.node,z.offset),F.removeAllRanges(),de>Pe?(F.addRange(P),F.extend(O.node,O.offset)):(P.setEnd(O.node,O.offset),F.addRange(P))}}}}for(I=[],F=S;F=F.parentNode;)F.nodeType===1&&I.push({element:F,left:F.scrollLeft,top:F.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<I.length;S++){var X=I[S];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}gl=!!kd,zd=kd=null}finally{Oe=c,Y.p=o,V.T=i}}e.current=n,st=2}}function My(){if(st===2){st=0;var e=ya,n=Wi,i=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||i){i=V.T,V.T=null;var o=Y.p;Y.p=2;var c=Oe;Oe|=4;try{iy(e,n.alternate,n)}finally{Oe=c,Y.p=o,V.T=i}}st=3}}function Dy(){if(st===4||st===3){st=0,Gj();var e=ya,n=Wi,i=Yn,o=yy;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?st=5:(st=0,Wi=ya=null,Oy(e,e.pendingLanes));var c=e.pendingLanes;if(c===0&&(ga=null),Hc(i),n=n.stateNode,_t&&typeof _t.onCommitFiberRoot=="function")try{_t.onCommitFiberRoot(Ds,n,void 0,(n.current.flags&128)===128)}catch{}if(o!==null){n=V.T,c=Y.p,Y.p=2,V.T=null;try{for(var h=e.onRecoverableError,x=0;x<o.length;x++){var S=o[x];h(S.value,{componentStack:S.stack})}}finally{V.T=n,Y.p=c}}(Yn&3)!==0&&il(),bn(e),c=e.pendingLanes,(i&261930)!==0&&(c&42)!==0?e===wd?fr++:(fr=0,wd=e):fr=0,hr(0)}}function Oy(e,n){(e.pooledCacheLanes&=n)===0&&(n=e.pooledCache,n!=null&&(e.pooledCache=null,Ks(n)))}function il(){return Ry(),My(),Dy(),_y()}function _y(){if(st!==5)return!1;var e=ya,n=xd;xd=0;var i=Hc(Yn),o=V.T,c=Y.p;try{Y.p=32>i?32:i,V.T=null,i=bd,bd=null;var h=ya,x=Yn;if(st=0,Wi=ya=null,Yn=0,(Oe&6)!==0)throw Error(r(331));var S=Oe;if(Oe|=4,my(h.current),dy(h,h.current,x,i),Oe=S,hr(0,!1),_t&&typeof _t.onPostCommitFiberRoot=="function")try{_t.onPostCommitFiberRoot(Ds,h)}catch{}return!0}finally{Y.p=c,V.T=o,Oy(e,n)}}function ky(e,n,i){n=Xt(i,n),n=Ju(e.stateNode,n,2),e=ua(e,n,2),e!==null&&(_s(e,2),bn(e))}function ke(e,n,i){if(e.tag===3)ky(e,e,i);else for(;n!==null;){if(n.tag===3){ky(n,e,i);break}else if(n.tag===1){var o=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(ga===null||!ga.has(o))){e=Xt(i,e),i=zg(2),o=ua(n,i,2),o!==null&&(Vg(i,o,n,e),_s(o,2),bn(o));break}}n=n.return}}function Td(e,n,i){var o=e.pingCache;if(o===null){o=e.pingCache=new g2;var c=new Set;o.set(n,c)}else c=o.get(n),c===void 0&&(c=new Set,o.set(n,c));c.has(i)||(gd=!0,c.add(i),e=w2.bind(null,e,n,i),n.then(e,e))}function w2(e,n,i){var o=e.pingCache;o!==null&&o.delete(n),e.pingedLanes|=e.suspendedLanes&i,e.warmLanes&=~i,Ue===e&&(Te&i)===i&&(Ie===4||Ie===3&&(Te&62914560)===Te&&300>Ot()-Wo?(Oe&2)===0&&Ji(e,0):yd|=i,$i===Te&&($i=0)),bn(e)}function zy(e,n){n===0&&(n=Rm()),e=Qa(e,n),e!==null&&(_s(e,n),bn(e))}function S2(e){var n=e.memoizedState,i=0;n!==null&&(i=n.retryLane),zy(e,i)}function j2(e,n){var i=0;switch(e.tag){case 31:case 13:var o=e.stateNode,c=e.memoizedState;c!==null&&(i=c.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(r(314))}o!==null&&o.delete(n),zy(e,i)}function T2(e,n){return Lc(e,n)}var sl=null,ts=null,Ed=!1,rl=!1,Nd=!1,xa=0;function bn(e){e!==ts&&e.next===null&&(ts===null?sl=ts=e:ts=ts.next=e),rl=!0,Ed||(Ed=!0,N2())}function hr(e,n){if(!Nd&&rl){Nd=!0;do for(var i=!1,o=sl;o!==null;){if(e!==0){var c=o.pendingLanes;if(c===0)var h=0;else{var x=o.suspendedLanes,S=o.pingedLanes;h=(1<<31-kt(42|e)+1)-1,h&=c&~(x&~S),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(i=!0,Uy(o,h))}else h=Te,h=co(o,o===Ue?h:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(h&3)===0||Os(o,h)||(i=!0,Uy(o,h));o=o.next}while(i);Nd=!1}}function E2(){Vy()}function Vy(){rl=Ed=!1;var e=0;xa!==0&&V2()&&(e=xa);for(var n=Ot(),i=null,o=sl;o!==null;){var c=o.next,h=Ly(o,n);h===0?(o.next=null,i===null?sl=c:i.next=c,c===null&&(ts=i)):(i=o,(e!==0||(h&3)!==0)&&(rl=!0)),o=c}st!==0&&st!==5||hr(e),xa!==0&&(xa=0)}function Ly(e,n){for(var i=e.suspendedLanes,o=e.pingedLanes,c=e.expirationTimes,h=e.pendingLanes&-62914561;0<h;){var x=31-kt(h),S=1<<x,C=c[x];C===-1?((S&i)===0||(S&o)!==0)&&(c[x]=Wj(S,n)):C<=n&&(e.expiredLanes|=S),h&=~S}if(n=Ue,i=Te,i=co(e,e===n?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,i===0||e===n&&(_e===2||_e===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&Pc(o),e.callbackNode=null,e.callbackPriority=0;if((i&3)===0||Os(e,i)){if(n=i&-i,n===e.callbackPriority)return n;switch(o!==null&&Pc(o),Hc(i)){case 2:case 8:i=Am;break;case 32:i=so;break;case 268435456:i=Cm;break;default:i=so}return o=Py.bind(null,e),i=Lc(i,o),e.callbackPriority=n,e.callbackNode=i,n}return o!==null&&o!==null&&Pc(o),e.callbackPriority=2,e.callbackNode=null,2}function Py(e,n){if(st!==0&&st!==5)return e.callbackNode=null,e.callbackPriority=0,null;var i=e.callbackNode;if(il()&&e.callbackNode!==i)return null;var o=Te;return o=co(e,e===Ue?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(xy(e,o,n),Ly(e,Ot()),e.callbackNode!=null&&e.callbackNode===i?Py.bind(null,e):null)}function Uy(e,n){if(il())return null;xy(e,n,!0)}function N2(){P2(function(){(Oe&6)!==0?Lc(Nm,E2):Vy()})}function Ad(){if(xa===0){var e=Bi;e===0&&(e=ro,ro<<=1,(ro&261888)===0&&(ro=256)),xa=e}return xa}function By(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:mo(""+e)}function Hy(e,n){var i=n.ownerDocument.createElement("input");return i.name=n.name,i.value=n.value,e.id&&i.setAttribute("form",e.id),n.parentNode.insertBefore(i,n),e=new FormData(e),i.parentNode.removeChild(i),e}function A2(e,n,i,o,c){if(n==="submit"&&i&&i.stateNode===c){var h=By((c[Et]||null).action),x=o.submitter;x&&(n=(n=x[Et]||null)?By(n.formAction):x.getAttribute("formAction"),n!==null&&(h=n,x=null));var S=new vo("action","action",null,o,c);e.push({event:S,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(xa!==0){var C=x?Hy(c,x):new FormData(c);Ku(i,{pending:!0,data:C,method:c.method,action:h},null,C)}}else typeof h=="function"&&(S.preventDefault(),C=x?Hy(c,x):new FormData(c),Ku(i,{pending:!0,data:C,method:c.method,action:h},h,C))},currentTarget:c}]})}}for(var Cd=0;Cd<uu.length;Cd++){var Rd=uu[Cd],C2=Rd.toLowerCase(),R2=Rd[0].toUpperCase()+Rd.slice(1);rn(C2,"on"+R2)}rn(vp,"onAnimationEnd"),rn(xp,"onAnimationIteration"),rn(bp,"onAnimationStart"),rn("dblclick","onDoubleClick"),rn("focusin","onFocus"),rn("focusout","onBlur"),rn(YT,"onTransitionRun"),rn(QT,"onTransitionStart"),rn(KT,"onTransitionCancel"),rn(wp,"onTransitionEnd"),Ni("onMouseEnter",["mouseout","mouseover"]),Ni("onMouseLeave",["mouseout","mouseover"]),Ni("onPointerEnter",["pointerout","pointerover"]),Ni("onPointerLeave",["pointerout","pointerover"]),qa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),qa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),qa("onBeforeInput",["compositionend","keypress","textInput","paste"]),qa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),qa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),qa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mr="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(" "),M2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(mr));function qy(e,n){n=(n&4)!==0;for(var i=0;i<e.length;i++){var o=e[i],c=o.event;o=o.listeners;e:{var h=void 0;if(n)for(var x=o.length-1;0<=x;x--){var S=o[x],C=S.instance,U=S.currentTarget;if(S=S.listener,C!==h&&c.isPropagationStopped())break e;h=S,c.currentTarget=U;try{h(c)}catch(Q){wo(Q)}c.currentTarget=null,h=C}else for(x=0;x<o.length;x++){if(S=o[x],C=S.instance,U=S.currentTarget,S=S.listener,C!==h&&c.isPropagationStopped())break e;h=S,c.currentTarget=U;try{h(c)}catch(Q){wo(Q)}c.currentTarget=null,h=C}}}}function je(e,n){var i=n[qc];i===void 0&&(i=n[qc]=new Set);var o=e+"__bubble";i.has(o)||(Fy(n,e,2,!1),i.add(o))}function Md(e,n,i){var o=0;n&&(o|=4),Fy(i,e,o,n)}var ol="_reactListening"+Math.random().toString(36).slice(2);function Dd(e){if(!e[ol]){e[ol]=!0,Vm.forEach(function(i){i!=="selectionchange"&&(M2.has(i)||Md(i,!1,e),Md(i,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[ol]||(n[ol]=!0,Md("selectionchange",!1,n))}}function Fy(e,n,i,o){switch(vv(n)){case 2:var c=iE;break;case 8:c=sE;break;default:c=Qd}i=c.bind(null,n,i,e),c=void 0,!$c||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),o?c!==void 0?e.addEventListener(n,i,{capture:!0,passive:c}):e.addEventListener(n,i,!0):c!==void 0?e.addEventListener(n,i,{passive:c}):e.addEventListener(n,i,!1)}function Od(e,n,i,o,c){var h=o;if((n&1)===0&&(n&2)===0&&o!==null)e:for(;;){if(o===null)return;var x=o.tag;if(x===3||x===4){var S=o.stateNode.containerInfo;
vendor: 2,649 bytes, line 8
8if(S===c)break;if(x===4)for(x=o.return;x!==null;){var C=x.tag;if((C===3||C===4)&&x.stateNode.containerInfo===c)return;x=x.return}for(;S!==null;){if(x=ji(S),x===null)return;if(C=x.tag,C===5||C===6||C===26||C===27){o=h=x;continue e}S=S.parentNode}}o=o.return}Xm(function(){var U=h,Q=Ic(i),I=[];e:{var B=Sp.get(e);if(B!==void 0){var F=vo,ne=e;switch(e){case"keypress":if(go(i)===0)break e;case"keydown":case"keyup":F=jT;break;case"focusin":ne="focus",F=tu;break;case"focusout":ne="blur",F=tu;break;case"beforeblur":case"afterblur":F=tu;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":F=$m;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":F=dT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":F=NT;break;case vp:case xp:case bp:F=mT;break;case wp:F=CT;break;case"scroll":case"scrollend":F=cT;break;case"wheel":F=MT;break;case"copy":case"cut":case"paste":F=gT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":F=Jm;break;case"toggle":case"beforetoggle":F=OT}var de=(n&4)!==0,Pe=!de&&(e==="scroll"||e==="scrollend"),z=de?B!==null?B+"Capture":null:B;de=[];for(var O=U,P;O!==null;){var X=O;if(P=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||P===null||z===null||(X=Vs(O,z),X!=null&&de.push(pr(O,X,P))),Pe)break;O=O.return}0<de.length&&(B=new F(B,ne,null,i,Q),I.push({event:B,listeners:de}))}}if((n&7)===0){e:{if(B=e==="mouseover"||e==="pointerover",F=e==="mouseout"||e==="pointerout",B&&i!==Xc&&(ne=i.relatedTarget||i.fromElement)&&(ji(ne)||ne[Si]))break e;if((F||B)&&(B=Q.window===Q?Q:(B=Q.ownerDocument)?B.defaultView||B.parentWindow:window,F?(ne=i.relatedTarget||i.toElement,F=U,ne=ne?ji(ne):null,ne!==null&&(Pe=u(ne),de=ne.tag,ne!==Pe||de!==5&&de!==27&&de!==6)&&(ne=null)):(F=null,ne=U),F!==ne)){if(de=$m,X="onMouseLeave",z="onMouseEnter",O="mouse",(e==="pointerout"||e==="pointerover")&&(de=Jm,X="onPointerLeave",z="onPointerEnter",O="pointer"),Pe=F==null?B:zs(F),P=ne==null?B:zs(ne),B=new de(X,O+"leave",F,i,Q),B.target=Pe,B.relatedTarget=P,X=null,ji(Q)===U&&(de=new de(z,O+"enter",ne,i,Q),de.target=P,de.relatedTarget=Pe,X=de),Pe=X,F&&ne)t:{for(de=D2,z=F,O=ne,P=0,X=z;X;X=de(X))P++;X=0;for(var ue=O;ue;ue=de(ue))X++;for(;0<P-X;)z=de(z),P--;for(;0<X-P;)O=de(O),X--;for(;P--;){if(z===O||O!==null&&z===O.alternate){de=z;break t}z=de(z),O=de(O)}de=null}else de=null;F!==null&&Gy(I,B,F,de,!1),ne!==null&&Pe!==null&&Gy(I,Pe,ne,de,!0)}}
vendor: 5,189 bytes, lines 8-9
8e:{if(B=U?zs(U):window,F=B.nodeName&&B.nodeName.toLowerCase(),F==="select"||F==="input"&&B.type==="file")var Me=op;else if(sp(B))if(lp)Me=qT;else{Me=BT;var oe=UT}else F=B.nodeName,!F||F.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?U&&Kc(U.elementType)&&(Me=op):Me=HT;if(Me&&(Me=Me(e,U))){rp(I,Me,i,Q);break e}oe&&oe(e,B,U),e==="focusout"&&U&&B.type==="number"&&U.memoizedProps.value!=null&&Qc(B,"number",B.value)}switch(oe=U?zs(U):window,e){case"focusin":(sp(oe)||oe.contentEditable==="true")&&(Oi=oe,ou=U,Gs=null);break;case"focusout":Gs=ou=Oi=null;break;case"mousedown":lu=!0;break;case"contextmenu":case"mouseup":case"dragend":lu=!1,gp(I,i,Q);break;case"selectionchange":if(GT)break;case"keydown":case"keyup":gp(I,i,Q)}var xe;if(au)e:{switch(e){case"compositionstart":var Ee="onCompositionStart";break e;case"compositionend":Ee="onCompositionEnd";break e;case"compositionupdate":Ee="onCompositionUpdate";break e}Ee=void 0}else Di?ap(e,i)&&(Ee="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(Ee="onCompositionStart");Ee&&(ep&&i.locale!=="ko"&&(Di||Ee!=="onCompositionStart"?Ee==="onCompositionEnd"&&Di&&(xe=Im()):(aa=Q,Wc="value"in aa?aa.value:aa.textContent,Di=!0)),oe=ll(U,Ee),0<oe.length&&(Ee=new Wm(Ee,e,null,i,Q),I.push({event:Ee,listeners:oe}),xe?Ee.data=xe:(xe=ip(i),xe!==null&&(Ee.data=xe)))),(xe=kT?zT(e,i):VT(e,i))&&(Ee=ll(U,"onBeforeInput"),0<Ee.length&&(oe=new Wm("onBeforeInput","beforeinput",null,i,Q),I.push({event:oe,listeners:Ee}),oe.data=xe)),A2(I,e,U,i,Q)}qy(I,n)})}function pr(e,n,i){return{instance:e,listener:n,currentTarget:i}}function ll(e,n){for(var i=n+"Capture",o=[];e!==null;){var c=e,h=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||h===null||(c=Vs(e,i),c!=null&&o.unshift(pr(e,c,h)),c=Vs(e,n),c!=null&&o.push(pr(e,c,h))),e.tag===3)return o;e=e.return}return[]}function D2(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Gy(e,n,i,o,c){for(var h=n._reactName,x=[];i!==null&&i!==o;){var S=i,C=S.alternate,U=S.stateNode;if(S=S.tag,C!==null&&C===o)break;S!==5&&S!==26&&S!==27||U===null||(C=U,c?(U=Vs(i,h),U!=null&&x.unshift(pr(i,U,C))):c||(U=Vs(i,h),U!=null&&x.push(pr(i,U,C)))),i=i.return}x.length!==0&&e.push({event:n,listeners:x})}var O2=/\r\n?/g,_2=/\u0000|\uFFFD/g;function Yy(e){return(typeof e=="string"?e:""+e).replace(O2,` 9`).replace(_2,"")}function Qy(e,n){return n=Yy(n),Yy(e)===n}function Le(e,n,i,o,c,h){switch(i){case"children":typeof o=="string"?n==="body"||n==="textarea"&&o===""||Ci(e,o):(typeof o=="number"||typeof o=="bigint")&&n!=="body"&&Ci(e,""+o);break;case"className":fo(e,"class",o);break;case"tabIndex":fo(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":fo(e,i,o);break;case"style":Qm(e,o,h);break;case"data":if(n!=="object"){fo(e,"data",o);break}case"src":case"href":if(o===""&&(n!=="a"||i!=="href")){e.removeAttribute(i);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(i);break}o=mo(""+o),e.setAttribute(i,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(i,"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 h=="function"&&(i==="formAction"?(n!=="input"&&Le(e,n,"name",c.name,c,null),Le(e,n,"formEncType",c.formEncType,c,null),Le(e,n,"formMethod",c.formMethod,c,null),Le(e,n,"formTarget",c.formTarget,c,null)):(Le(e,n,"encType",c.encType,c,null),Le(e,n,"method",c.method,c,null),Le(e,n,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(i);break}o=mo(""+o),e.setAttribute(i,o);break;case"onClick":o!=null&&(e.onclick=Mn);break;case"onScroll":o!=null&&je("scroll",e);break;case"onScrollEnd":o!=null&&je("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(i=o.__html,i!=null){if(c.children!=null)throw Error(r(60));e.innerHTML=i}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}i=mo(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(i,""+o):e.removeAttribute(i);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":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(i,""):e.removeAttribute(i);break;case"capture":case"download":o===!0?e.setAttribute(i,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(i,o):e.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(i,o):e.removeAttribute(i);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(i):e.setAttribute(i,o);break;case"popover":je("beforetoggle",e),je("toggle",e),uo(e,"popover",o);break;case"xlinkActuate":Rn(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Rn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Rn(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Rn(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Rn(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Rn(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Rn(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Rn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Rn(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":uo(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=oT.get(i)||i,uo(e,i,o))}}function _d(e,n,i,o,c,h){switch(i){case"style":Qm(e,o,h);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(i=o.__html,i!=null){if(c.children!=null)throw Error(r(60));e.innerHTML=i}}break;case"children":typeof o=="string"?Ci(e,o):(typeof o=="number"||typeof o=="bigint")&&Ci(e,""+o);break;case"onScroll":o!=null&&je("scroll",e);break;case"onScrollEnd":o!=null&&je("scrollend",e);break;case"onClick":o!=null&&(e.onclick=Mn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Lm.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(c=i.endsWith("Capture"),n=i.slice(2,c?i.length-7:void 0),h=e[Et]||null,h=h!=null?h[i]:null,typeof h=="function"&&e.removeEventListener(n,h,c),typeof o=="function")){typeof h!="function"&&h!==null&&(i in e?e[i]=null:e.hasAttribute(i)&&e.removeAttribute(i)),e.addEventListener(n,o,c);break e}i in e?e[i]=o:o===!0?e.setAttribute(i,""):uo(e,i,o)}}}function pt(e,n,i){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":je("error",e),je("load",e);var o=!1,c=!1,h;for(h in i)if(i.hasOwnProperty(h)){var x=i[h];if(x!=null)switch(h){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:Le(e,n,h,x,i,null)}}c&&Le(e,n,"srcSet",i.srcSet,i,null),o&&Le(e,n,"src",i.src,i,null);return;case"input":je("invalid",e);var S=h=x=c=null,C=null,U=null;for(o in i)if(i.hasOwnProperty(o)){var Q=i[o];if(Q!=null)switch(o){case"name":c=Q;break;case"type":x=Q;break;case"checked":C=Q;break;case"defaultChecked":U=Q;break;case"value":h=Q;break;case"defaultValue":S=Q;break;case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(r(137,n));break;default:Le(e,n,o,Q,i,null)}}qm(e,h,S,C,U,x,c,!1);return;case"select":je("invalid",e),o=x=h=null;for(c in i)if(i.hasOwnProperty(c)&&(S=i[c],S!=null))switch(c){case"value":h=S;break;case"defaultValue":x=S;break;case"multiple":o=S;default:Le(e,n,c,S,i,null)}n=h,i=x,e.multiple=!!o,n!=null?Ai(e,!!o,n,!1):i!=null&&Ai(e,!!o,i,!0);return;case"textarea":je("invalid",e),h=c=o=null;for(x in i)if(i.hasOwnProperty(x)&&(S=i[x],S!=null))switch(x){case"value":o=S;break;case"defaultValue":c=S;break;case"children":h=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(r(91));break;default:Le(e,n,x,S,i,null)}Gm(e,o,c,h);return;case"option":for(C in i)i.hasOwnProperty(C)&&(o=i[C],o!=null)&&(C==="selected"?e.selected=o&&typeof o!="function"&&typeof o!="symbol":Le(e,n,C,o,i,null));return;
vendor: 4,294 bytes, line 9
9case"dialog":je("beforetoggle",e),je("toggle",e),je("cancel",e),je("close",e);break;case"iframe":case"object":je("load",e);break;case"video":case"audio":for(o=0;o<mr.length;o++)je(mr[o],e);break;case"image":je("error",e),je("load",e);break;case"details":je("toggle",e);break;case"embed":case"source":case"link":je("error",e),je("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 i)if(i.hasOwnProperty(U)&&(o=i[U],o!=null))switch(U){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:Le(e,n,U,o,i,null)}return;default:if(Kc(n)){for(Q in i)i.hasOwnProperty(Q)&&(o=i[Q],o!==void 0&&_d(e,n,Q,o,i,void 0));return}}for(S in i)i.hasOwnProperty(S)&&(o=i[S],o!=null&&Le(e,n,S,o,i,null))}function k2(e,n,i,o){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,h=null,x=null,S=null,C=null,U=null,Q=null;for(F in i){var I=i[F];if(i.hasOwnProperty(F)&&I!=null)switch(F){case"checked":break;case"value":break;case"defaultValue":C=I;default:o.hasOwnProperty(F)||Le(e,n,F,null,o,I)}}for(var B in o){var F=o[B];if(I=i[B],o.hasOwnProperty(B)&&(F!=null||I!=null))switch(B){case"type":h=F;break;case"name":c=F;break;case"checked":U=F;break;case"defaultChecked":Q=F;break;case"value":x=F;break;case"defaultValue":S=F;break;case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(r(137,n));break;default:F!==I&&Le(e,n,B,F,o,I)}}Yc(e,x,S,C,U,Q,h,c);return;case"select":F=x=S=B=null;for(h in i)if(C=i[h],i.hasOwnProperty(h)&&C!=null)switch(h){case"value":break;case"multiple":F=C;default:o.hasOwnProperty(h)||Le(e,n,h,null,o,C)}for(c in o)if(h=o[c],C=i[c],o.hasOwnProperty(c)&&(h!=null||C!=null))switch(c){case"value":B=h;break;case"defaultValue":S=h;break;case"multiple":x=h;default:h!==C&&Le(e,n,c,h,o,C)}n=S,i=x,o=F,B!=null?Ai(e,!!i,B,!1):!!o!=!!i&&(n!=null?Ai(e,!!i,n,!0):Ai(e,!!i,i?[]:"",!1));return;case"textarea":F=B=null;for(S in i)if(c=i[S],i.hasOwnProperty(S)&&c!=null&&!o.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:Le(e,n,S,null,o,c)}for(x in o)if(c=o[x],h=i[x],o.hasOwnProperty(x)&&(c!=null||h!=null))switch(x){case"value":B=c;break;case"defaultValue":F=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(r(91));break;default:c!==h&&Le(e,n,x,c,o,h)}Fm(e,B,F);return;case"option":for(var ne in i)B=i[ne],i.hasOwnProperty(ne)&&B!=null&&!o.hasOwnProperty(ne)&&(ne==="selected"?e.selected=!1:Le(e,n,ne,null,o,B));for(C in o)B=o[C],F=i[C],o.hasOwnProperty(C)&&B!==F&&(B!=null||F!=null)&&(C==="selected"?e.selected=B&&typeof B!="function"&&typeof B!="symbol":Le(e,n,C,B,o,F));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 de in i)B=i[de],i.hasOwnProperty(de)&&B!=null&&!o.hasOwnProperty(de)&&Le(e,n,de,null,o,B);for(U in o)if(B=o[U],F=i[U],o.hasOwnProperty(U)&&B!==F&&(B!=null||F!=null))switch(U){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(r(137,n));break;default:Le(e,n,U,B,o,F)}return;default:if(Kc(n)){for(var Pe in i)B=i[Pe],i.hasOwnProperty(Pe)&&B!==void 0&&!o.hasOwnProperty(Pe)&&_d(e,n,Pe,void 0,o,B);for(Q in o)B=o[Q],F=i[Q],!o.hasOwnProperty(Q)||B===F||B===void 0&&F===void 0||_d(e,n,Q,B,o,F);return}}for(var z in i)B=i[z],i.hasOwnProperty(z)&&B!=null&&!o.hasOwnProperty(z)&&Le(e,n,z,null,o,B);for(I in o)B=o[I],F=i[I],!o.hasOwnProperty(I)||B===F||B==null&&F==null||Le(e,n,I,B,o,F)}function Ky(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function z2(){if(typeof performance.getEntriesByType=="function"){for(var e=0,n=0,i=performance.getEntriesByType("resource"),o=0;o<i.length;o++){var c=i[o],h=c.transferSize,x=c.initiatorType,S=c.duration;if(h&&S&&Ky(x)){for(x=0,S=c.responseEnd,o+=1;o<i.length;o++){var C=i[o],U=C.startTime;if(U>S)break;var Q=C.transferSize,I=C.initiatorType;Q&&Ky(I)&&(C=C.responseEnd,x+=Q*(C<S?1:(S-U)/(C-U)))}if(--o,n+=8*(h+x)/(c.duration/1e3),e++,10<e)break}}if(0<e)return n/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var kd=null,zd=null;
vendor: 7,636 bytes, line 9
9function cl(e){return e.nodeType===9?e:e.ownerDocument}function Xy(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 Iy(e,n){if(e===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&n==="foreignObject"?0:e}function Vd(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Ld=null;function V2(){var e=window.event;return e&&e.type==="popstate"?e===Ld?!1:(Ld=e,!0):(Ld=null,!1)}var Zy=typeof setTimeout=="function"?setTimeout:void 0,L2=typeof clearTimeout=="function"?clearTimeout:void 0,$y=typeof Promise=="function"?Promise:void 0,P2=typeof queueMicrotask=="function"?queueMicrotask:typeof $y<"u"?function(e){return $y.resolve(null).then(e).catch(U2)}:Zy;function U2(e){setTimeout(function(){throw e})}function ba(e){return e==="head"}function Wy(e,n){var i=n,o=0;do{var c=i.nextSibling;if(e.removeChild(i),c&&c.nodeType===8)if(i=c.data,i==="/$"||i==="/&"){if(o===0){e.removeChild(c),ss(n);return}o--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")o++;else if(i==="html")gr(e.ownerDocument.documentElement);else if(i==="head"){i=e.ownerDocument.head,gr(i);for(var h=i.firstChild;h;){var x=h.nextSibling,S=h.nodeName;h[ks]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&h.rel.toLowerCase()==="stylesheet"||i.removeChild(h),h=x}}else i==="body"&&gr(e.ownerDocument.body);i=c}while(i);ss(n)}function Jy(e,n){var i=e;e=0;do{var o=i.nextSibling;if(i.nodeType===1?n?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(n?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),o&&o.nodeType===8)if(i=o.data,i==="/$"){if(e===0)break;e--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||e++;i=o}while(i)}function Pd(e){var n=e.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var i=n;switch(n=n.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":Pd(i),Fc(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}e.removeChild(i)}}function B2(e,n,i,o){for(;e.nodeType===1;){var c=i;if(e.nodeName.toLowerCase()!==n.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[ks])switch(n){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(h=e.getAttribute("rel"),h==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(h!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(h=e.getAttribute("src"),(h!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&h&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(n==="input"&&e.type==="hidden"){var h=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===h)return e}else return e;if(e=Jt(e.nextSibling),e===null)break}return null}function H2(e,n,i){if(n==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=Jt(e.nextSibling),e===null))return null;return e}function ev(e,n){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Jt(e.nextSibling),e===null))return null;return e}function Ud(e){return e.data==="$?"||e.data==="$~"}function Bd(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function q2(e,n){var i=e.ownerDocument;if(e.data==="$~")e._reactRetry=n;else if(e.data!=="$?"||i.readyState!=="loading")n();else{var o=function(){n(),i.removeEventListener("DOMContentLoaded",o)};i.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function Jt(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return e}var Hd=null;function tv(e){e=e.nextSibling;for(var n=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"||i==="/&"){if(n===0)return Jt(e.nextSibling);n--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||n++}e=e.nextSibling}return null}function nv(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(n===0)return e;n--}else i!=="/$"&&i!=="/&"||n++}e=e.previousSibling}return null}function av(e,n,i){switch(n=cl(i),e){case"html":if(e=n.documentElement,!e)throw Error(r(452));return e;case"head":if(e=n.head,!e)throw Error(r(453));return e;case"body":if(e=n.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function gr(e){for(var n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Fc(e)}var en=new Map,iv=new Set;function ul(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Qn=Y.d;Y.d={f:F2,r:G2,D:Y2,C:Q2,L:K2,m:X2,X:Z2,S:I2,M:$2};function F2(){var e=Qn.f(),n=tl();return e||n}function G2(e){var n=Ti(e);n!==null&&n.tag===5&&n.type==="form"?wg(n):Qn.r(e)}var ns=typeof document>"u"?null:document;function sv(e,n,i){var o=ns;if(o&&typeof n=="string"&&n){var c=Qt(n);c='link[rel="'+e+'"][href="'+c+'"]',typeof i=="string"&&(c+='[crossorigin="'+i+'"]'),iv.has(c)||(iv.add(c),e={rel:e,crossOrigin:i,href:n},o.querySelector(c)===null&&(n=o.createElement("link"),pt(n,"link",e),ct(n),o.head.appendChild(n)))}}function Y2(e){Qn.D(e),sv("dns-prefetch",e,null)}function Q2(e,n){Qn.C(e,n),sv("preconnect",e,n)}function K2(e,n,i){Qn.L(e,n,i);var o=ns;if(o&&e&&n){var c='link[rel="preload"][as="'+Qt(n)+'"]';n==="image"&&i&&i.imageSrcSet?(c+='[imagesrcset="'+Qt(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(c+='[imagesizes="'+Qt(i.imageSizes)+'"]')):c+='[href="'+Qt(e)+'"]';var h=c;switch(n){case"style":h=as(e);break;case"script":h=is(e)}en.has(h)||(e=v({rel:"preload",href:n==="image"&&i&&i.imageSrcSet?void 0:e,as:n},i),en.set(h,e),o.querySelector(c)!==null||n==="style"&&o.querySelector(yr(h))||n==="script"&&o.querySelector(vr(h))||(n=o.createElement("link"),pt(n,"link",e),ct(n),o.head.appendChild(n)))}}function X2(e,n){Qn.m(e,n);var i=ns;if(i&&e){var o=n&&typeof n.as=="string"?n.as:"script",c='link[rel="modulepreload"][as="'+Qt(o)+'"][href="'+Qt(e)+'"]',h=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=is(e)}if(!en.has(h)&&(e=v({rel:"modulepreload",href:e},n),en.set(h,e),i.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(vr(h)))return}o=i.createElement("link"),pt(o,"link",e),ct(o),i.head.appendChild(o)}}}function I2(e,n,i){Qn.S(e,n,i);var o=ns;if(o&&e){var c=Ei(o).hoistableStyles,h=as(e);n=n||"default";var x=c.get(h);if(!x){var S={loading:0,preload:null};if(x=o.querySelector(yr(h)))S.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":n},i),(i=en.get(h))&&qd(e,i);var C=x=o.createElement("link");ct(C),pt(C,"link",e),C._p=new Promise(function(U,Q){C.onload=U,C.onerror=Q}),C.addEventListener("load",function(){S.loading|=1}),C.addEventListener("error",function(){S.loading|=2}),S.loading|=4,dl(x,n,o)}
vendor: 5,509 bytes, line 9
9x={type:"stylesheet",instance:x,count:1,state:S},c.set(h,x)}}}function Z2(e,n){Qn.X(e,n);var i=ns;if(i&&e){var o=Ei(i).hoistableScripts,c=is(e),h=o.get(c);h||(h=i.querySelector(vr(c)),h||(e=v({src:e,async:!0},n),(n=en.get(c))&&Fd(e,n),h=i.createElement("script"),ct(h),pt(h,"link",e),i.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},o.set(c,h))}}function $2(e,n){Qn.M(e,n);var i=ns;if(i&&e){var o=Ei(i).hoistableScripts,c=is(e),h=o.get(c);h||(h=i.querySelector(vr(c)),h||(e=v({src:e,async:!0,type:"module"},n),(n=en.get(c))&&Fd(e,n),h=i.createElement("script"),ct(h),pt(h,"link",e),i.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},o.set(c,h))}}function rv(e,n,i,o){var c=(c=ye.current)?ul(c):null;if(!c)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(n=as(i.href),i=Ei(c).hoistableStyles,o=i.get(n),o||(o={type:"style",instance:null,count:0,state:null},i.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){e=as(i.href);var h=Ei(c).hoistableStyles,x=h.get(e);if(x||(c=c.ownerDocument||c,x={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(e,x),(h=c.querySelector(yr(e)))&&!h._p&&(x.instance=h,x.state.loading=5),en.has(e)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},en.set(e,i),h||W2(c,e,i,x.state))),n&&o===null)throw Error(r(528,""));return x}if(n&&o!==null)throw Error(r(529,""));return null;case"script":return n=i.async,i=i.src,typeof i=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=is(i),i=Ei(c).hoistableScripts,o=i.get(n),o||(o={type:"script",instance:null,count:0,state:null},i.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function as(e){return'href="'+Qt(e)+'"'}function yr(e){return'link[rel="stylesheet"]['+e+"]"}function ov(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function W2(e,n,i,o){e.querySelector('link[rel="preload"][as="style"]['+n+"]")?o.loading=1:(n=e.createElement("link"),o.preload=n,n.addEventListener("load",function(){return o.loading|=1}),n.addEventListener("error",function(){return o.loading|=2}),pt(n,"link",i),ct(n),e.head.appendChild(n))}function is(e){return'[src="'+Qt(e)+'"]'}function vr(e){return"script[async]"+e}function lv(e,n,i){if(n.count++,n.instance===null)switch(n.type){case"style":var o=e.querySelector('style[data-href~="'+Qt(i.href)+'"]');if(o)return n.instance=o,ct(o),o;var c=v({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),ct(o),pt(o,"style",c),dl(o,i.precedence,e),n.instance=o;case"stylesheet":c=as(i.href);var h=e.querySelector(yr(c));if(h)return n.state.loading|=4,n.instance=h,ct(h),h;o=ov(i),(c=en.get(c))&&qd(o,c),h=(e.ownerDocument||e).createElement("link"),ct(h);var x=h;return x._p=new Promise(function(S,C){x.onload=S,x.onerror=C}),pt(h,"link",o),n.state.loading|=4,dl(h,i.precedence,e),n.instance=h;case"script":return h=is(i.src),(c=e.querySelector(vr(h)))?(n.instance=c,ct(c),c):(o=i,(c=en.get(h))&&(o=v({},i),Fd(o,c)),e=e.ownerDocument||e,c=e.createElement("script"),ct(c),pt(c,"link",o),e.head.appendChild(c),n.instance=c);case"void":return null;default:throw Error(r(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(o=n.instance,n.state.loading|=4,dl(o,i.precedence,e));return n.instance}function dl(e,n,i){for(var o=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,h=c,x=0;x<o.length;x++){var S=o[x];if(S.dataset.precedence===n)h=S;else if(h!==c)break}h?h.parentNode.insertBefore(e,h.nextSibling):(n=i.nodeType===9?i.head:i,n.insertBefore(e,n.firstChild))}function qd(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.title==null&&(e.title=n.title)}function Fd(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.integrity==null&&(e.integrity=n.integrity)}var fl=null;function cv(e,n,i){if(fl===null){var o=new Map,c=fl=new Map;c.set(i,o)}else c=fl,o=c.get(i),o||(o=new Map,c.set(i,o));if(o.has(e))return o;for(o.set(e,null),i=i.getElementsByTagName(e),c=0;c<i.length;c++){var h=i[c];if(!(h[ks]||h[dt]||e==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var x=h.getAttribute(n)||"";x=e+x;var S=o.get(x);S?S.push(h):o.set(x,[h])}}return o}function uv(e,n,i){e=e.ownerDocument||e,e.head.insertBefore(i,n==="title"?e.querySelector("head > title"):null)}function J2(e,n,i){if(i===1||n.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;return n.rel==="stylesheet"?(e=n.disabled,typeof n.precedence=="string"&&e==null):!0;case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function dv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function eE(e,n,i,o){if(i.type==="stylesheet"&&(typeof o.media!="str
9ing"||matchMedia(o.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var c=as(o.href),h=n.querySelector(yr(c));if(h){n=h._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(e.count++,e=hl.bind(e),n.then(e,e)),i.state.loading|=4,i.instance=h,ct(h);return}h=n.ownerDocument||n,o=ov(o),(c=en.get(c))&&qd(o,c),h=h.createElement("link"),ct(h);var x=h;x._p=new Promise(function(S,C){x.onload=S,x.onerror=C}),pt(h,"link",o),i.instance=h}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(i,n),(n=i.state.preload)&&(i.state.loading&3)===0&&(e.count++,i=hl.bind(e),n.addEventListener("load",i),n.addEventListener("error",i))}}var Gd=0;function tE(e,n){return e.stylesheets&&e.count===0&&pl(e,e.stylesheets),0<e.count||0<e.imgCount?function(i){var o=setTimeout(function(){if(e.stylesheets&&pl(e,e.stylesheets),e.unsuspend){var h=e.unsuspend;e.unsuspend=null,h()}},6e4+n);0<e.imgBytes&&Gd===0&&(Gd=62500*z2());var c=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&pl(e,e.stylesheets),e.unsuspend)){var h=e.unsuspend;e.unsuspend=null,h()}},(e.imgBytes>Gd?50:800)+n);return e.unsuspend=i,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(c)}}:null}function hl(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)pl(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ml=null;function pl(e,n){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ml=new Map,n.forEac
vendor: 9,854 bytes, line 9
9h(nE,e),ml=null,hl.call(e))}function nE(e,n){if(!(n.state.loading&4)){var i=ml.get(e);if(i)var o=i.get(null);else{i=new Map,ml.set(e,i);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<c.length;h++){var x=c[h];(x.nodeName==="LINK"||x.getAttribute("media")!=="not all")&&(i.set(x.dataset.precedence,x),o=x)}o&&i.set(null,o)}c=n.instance,x=c.getAttribute("data-precedence"),h=i.get(x)||o,h===o&&i.set(null,c),i.set(x,c),this.count++,o=hl.bind(this),c.addEventListener("load",o),c.addEventListener("error",o),h?h.parentNode.insertBefore(c,h.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),n.state.loading|=4}}var xr={$$typeof:R,Provider:null,Consumer:null,_currentValue:q,_currentValue2:q,_threadCount:0};function aE(e,n,i,o,c,h,x,S,C){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=Uc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Uc(0),this.hiddenUpdates=Uc(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=h,this.onRecoverableError=x,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=C,this.incompleteTransitions=new Map}function fv(e,n,i,o,c,h,x,S,C,U,Q,I){return e=new aE(e,n,i,x,C,U,Q,I,S),n=1,h===!0&&(n|=24),h=Vt(3,null,null,n),e.current=h,h.stateNode=e,n=ju(),n.refCount++,e.pooledCache=n,n.refCount++,h.memoizedState={element:o,isDehydrated:i,cache:n},Au(h),e}function hv(e){return e?(e=zi,e):zi}function mv(e,n,i,o,c,h){c=hv(c),o.context===null?o.context=c:o.pendingContext=c,o=ca(n),o.payload={element:i},h=h===void 0?null:h,h!==null&&(o.callback=h),i=ua(e,o,n),i!==null&&(Dt(i,e,n),$s(i,e,n))}function pv(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<n?i:n}}function Yd(e,n){pv(e,n),(e=e.alternate)&&pv(e,n)}function gv(e){if(e.tag===13||e.tag===31){var n=Qa(e,67108864);n!==null&&Dt(n,e,67108864),Yd(e,67108864)}}function yv(e){if(e.tag===13||e.tag===31){var n=Ht();n=Bc(n);var i=Qa(e,n);i!==null&&Dt(i,e,n),Yd(e,n)}}var gl=!0;function iE(e,n,i,o){var c=V.T;V.T=null;var h=Y.p;try{Y.p=2,Qd(e,n,i,o)}finally{Y.p=h,V.T=c}}function sE(e,n,i,o){var c=V.T;V.T=null;var h=Y.p;try{Y.p=8,Qd(e,n,i,o)}finally{Y.p=h,V.T=c}}function Qd(e,n,i,o){if(gl){var c=Kd(o);if(c===null)Od(e,n,o,yl,i),xv(e,o);else if(oE(c,e,n,i,o))o.stopPropagation();else if(xv(e,o),n&4&&-1<rE.indexOf(e)){for(;c!==null;){var h=Ti(c);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var x=Ha(h.pendingLanes);if(x!==0){var S=h;for(S.pendingLanes|=2,S.entangledLanes|=2;x;){var C=1<<31-kt(x);S.entanglements[1]|=C,x&=~C}bn(h),(Oe&6)===0&&(Jo=Ot()+500,hr(0))}}break;case 31:case 13:S=Qa(h,2),S!==null&&Dt(S,h,2),tl(),Yd(h,2)}if(h=Kd(o),h===null&&Od(e,n,o,yl,i),h===c)break;c=h}c!==null&&o.stopPropagation()}else Od(e,n,o,null,i)}}function Kd(e){return e=Ic(e),Xd(e)}var yl=null;function Xd(e){if(yl=null,e=ji(e),e!==null){var n=u(e);if(n===null)e=null;else{var i=n.tag;if(i===13){if(e=f(n),e!==null)return e;e=null}else if(i===31){if(e=m(n),e!==null)return e;e=null}else if(i===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}}return yl=e,null}function vv(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(Yj()){case Nm:return 2;case Am:return 8;case so:case Qj:return 32;case Cm:return 268435456;default:return 32}default:return 32}}var Id=!1,wa=null,Sa=null,ja=null,br=new Map,wr=new Map,Ta=[],rE="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 xv(e,n){switch(e){case"focusin":case"focusout":wa=null;break;case"dragenter":case"dragleave":Sa=null;break;case"mouseover":case"mouseout":ja=null;break;case"pointerover":case"pointerout":br.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":wr.delete(n.pointerId)}}function Sr(e,n,i,o,c,h){return e===null||e.nativeEvent!==h?(e={blockedOn:n,domEventName:i,eventSystemFlags:o,nativeEvent:h,targetContainers:[c]},n!==null&&(n=Ti(n),n!==null&&gv(n)),e):(e.eventSystemFlags|=o,n=e.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),e)}function oE(e,n,i,o,c){switch(n){case"focusin":return wa=Sr(wa,e,n,i,o,c),!0;case"dragenter":return Sa=Sr(Sa,e,n,i,o,c),!0;case"mouseover":return ja=Sr(ja,e,n,i,o,c),!0;case"pointerover":var h=c.pointerId;return br.set(h,Sr(br.get(h)||null,e,n,i,o,c)),!0;case"gotpointercapture":return h=c.pointerId,wr.set(h,Sr(wr.get(h)||null,e,n,i,o,c)),!0}return!1}function bv(e){var n=ji(e.target);if(n!==null){var i=u(n);if(i!==null){if(n=i.tag,n===13){if(n=f(i),n!==null){e.blockedOn=n,km(e.priority,function(){yv(i)});return}}else if(n===31){if(n=m(i),n!==null){e.blockedOn=n,km(e.priority,function(){yv(i)});return}}else if(n===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function vl(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var i=Kd(e.nativeEvent);if(i===null){i=e.nativeEvent;var o=new i.constructor(i.type,i);Xc=o,i.target.dispatchEvent(o),Xc=null}else return n=Ti(i),n!==null&&gv(n),e.blockedOn=i,!1;n.shift()}return!0}function wv(e,n,i){vl(e)&&i.delete(n)}function lE(){Id=!1,wa!==null&&vl(wa)&&(wa=null),Sa!==null&&vl(Sa)&&(Sa=null),ja!==null&&vl(ja)&&(ja=null),br.forEach(wv),wr.forEach(wv)}function xl(e,n){e.blockedOn===n&&(e.blockedOn=null,Id||(Id=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,lE)))}var bl=null;function Sv(e){bl!==e&&(bl=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){bl===e&&(bl=null);for(var n=0;n<e.length;n+=3){var i=e[n],o=e[n+1],c=e[n+2];if(typeof o!="function"){if(Xd(o||i)===null)continue;break}var h=Ti(i);h!==null&&(e.splice(n,3),n-=3,Ku(h,{pending:!0,data:c,method:i.method,action:o},o,c))}}))}function ss(e){function n(C){return xl(C,e)}wa!==null&&xl(wa,e),Sa!==null&&xl(Sa,e),ja!==null&&xl(ja,e),br.forEach(n),wr.forEach(n);for(var i=0;i<Ta.length;i++){var o=Ta[i];o.blockedOn===e&&(o.blockedOn=null)}for(;0<Ta.length&&(i=Ta[0],i.blockedOn===null);)bv(i),i.blockedOn===null&&Ta.shift();if(i=(e.ownerDocument||e).$$reactFormReplay,i!=null)for(o=0;o<i.length;o+=3){var c=i[o],h=i[o+1],x=c[Et]||null;if(typeof h=="function")x||Sv(i);else if(x){var S=null;if(h&&h.hasAttribute("formAction")){if(c=h,x=h[Et]||null)S=x.formAction;else if(Xd(c)!==null)continue}else S=x.action;typeof S=="function"?i[o+1]=S:(i.splice(o,3),o-=3),Sv(i)}}}function jv(){function e(h){h.canIntercept&&h.info==="react-transition"&&h.intercept({handler:function(){return new Promise(function(x){return c=x})},focusReset:"manual",scroll:"manual"})}function n(){c!==null&&(c(),c=null),o||setTimeout(i,20)}function i(){if(!o&&!navigation.transition){var h=navigation.currentEntry;h&&h.url!=null&&navigation.navigate(h.url,{state:h.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,c=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(i,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),c!==null&&(c(),c=null)}}}function Zd(e){this._internalRoot=e}wl.prototype.render=Zd.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(r(409));var i=n.current,o=Ht();mv(i,o,e,n,null,null)},wl.prototype.unmount=Zd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;mv(e.current,2,null,e,null,null),tl(),n[Si]=null}};function wl(e){this._internalRoot=e}wl.prototype.unstable_scheduleHydration=function(e){if(e){var n=_m();e={blockedOn:null,target:e,priority:n};for(var i=0;i<Ta.length&&n!==0&&n<Ta[i].priority;i++);Ta.splice(i,0,e),i===0&&bv(e)}};var Tv=a.version;if(Tv!=="19.2.3")throw Error(r(527,Tv,"19.2.3"));Y.findDOMNode=function(e){var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=g(n),e=e!==null?y(e):null,e=e===null?null:e.stateNode,e};var cE={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:V,reconcilerVersion:"19.2.3"};
9if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Sl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Sl.isDisabled&&Sl.supportsFiber)try{Ds=Sl.inject(cE),_t=Sl}catch{}}return Tr.createRoot=function(e,n){if(!l(e))throw Error(r(299));var i=!1,o="",c=Dg,h=Og,x=_g;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(h=n.onCaughtError),n.onRecoverableError!==void 0&&(x=n.onRecoverableError)),n=fv(e,1,!1,null,null,i,o,null,c,h,x,jv),e[Si]=n.current,Dd(e),new Zd(n)},Tr.hydrateRoot=function(e,n,i){if(!l(e))throw Error(r(299));var o=!1,c="",h=Dg,x=Og,S=_g,C=null;return i!=null&&(i.unstable_strictMode===!0&&(o=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(h=i.onUncaughtError),i.onCaughtError!==void 0&&(x=i.onCaughtError),i.onRecoverableError!==void 0&&(S=i.onRecoverableError),i.formState!==void 0&&(C=i.formState)),n=fv(e,1,!0,n,i??null,o,c,C,h,x,S,jv),n.context=hv(null),i=n.current,o=Ht(),o=Bc(o),c=ca(o),c.callback=null,ua(i,c,o),i=o,n.current.lanes=i,_s(n,i),bn(n),e[Si]=n.current,Dd(e),new wl(n)},Tr.version="19.2.3",Tr}var kv;function xE(){if(kv)return Wd.exports;kv=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(a){console.error(a)}}return t(),Wd.exports=vE(),Wd.exports}var bE=xE();function wE(t,a){if(t instanceof RegExp)return{keys:!1,pattern:t};var s,r,l,u,f=[],m="",p=t.split("/");for(p[0]||p.shift();l=p.shift();)s=l[0],s==="*"?(f.push(s),m+=l[1]==="?"?"(?:/(.*))?":"/(.*)"):s===":"?(r=l.indexOf("?",1),u=l.indexOf(".",1),f.push(l.substring(1,~r?r:~u?u:l.length)),m+=~r&&!~u?"(?:/([^/]+?))?":"/([^/]+?)",~u&&(m+=(~r?"?":"")+"\\"+l.substring(u))):m+="/"+l;return{keys:f,pattern:new RegExp("^"+m+(a?"(?=$|/)":"/?$"),"i")}}var b=oc();const Aa=$b(b),lc=dE({__proto__:null,default:Aa},[b]);var af={exports:{}},sf={};var zv;function SE(){if(zv)return sf;zv=1;var t=oc();function a(v,w){return v===w&&(v!==0||1/v===1/w)||v!==v&&w!==w}var s=typeof Object.is=="function"?Object.is:a,r=t.useState,l=t.useEffect,u=t.useLayoutEffect,f=t.useDebugValue;function m(v,w){var j=w(),N=r({inst:{value:j,getSnapshot:w}}),T=N[0].inst,E=N[1];return u(function(){T.value=j,T.getSnapshot=w,p(T)&&E({inst:T})},[v,j,w]),l(function(){return p(T)&&E({inst:T}),v(function(){p(T)&&E({inst:T})})},[v]),f(j),j}function p(v){var w=v.getSnapshot;v=v.value;try{var j=w();return!s(v,j)}catch{return!0}}function g(v,w){return w()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:m;return sf.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:y,sf}var Vv;function jE(){return Vv||(Vv=1,af.exports=SE()),af.exports}var TE=jE();const EE=lc.useInsertionEffect,NE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",AE=NE?b.useLayoutEffect:b.useEffect,CE=EE||AE,Jb=t=>{const a=b.useRef([t,(...s)=>a[0](...s)]).current;return CE(()=>{a[0]=t}),a[1]},RE="popstate",jh="pushState",Th="replaceState",ME="hashchange",Lv=[RE,jh,Th,ME],DE=t=>{for(const a of Lv)addEventListener(a,t);return()=>{for(const a of Lv)removeEventListener(a,t)}},e0=(t,a)=>TE.useSyncExternalStore(DE,t,a),Pv=()=>location.search,OE=({ssrSearch:t}={})=>e0(Pv,t!=null?()=>t:Pv),Uv=()=>location.pathname,_E=({ssrPath:t}={})=>e0(Uv,t!=null?()=>t:Uv),kE=(t,{replace:a=!1,state:s=null}={})=>history[a?Th:jh](s,"",t),zE=(t={})=>[_E(t),kE],Bv=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Bv]>"u"){for(const t of[jh,Th]){const a=history[t];history[t]=function(){const s=a.apply(this,arguments),r=new Event(t);return r.arguments=arguments,dispatchEvent(r),s}}Object.defineProperty(window,Bv,{value:!0})}const VE=(t,a)=>a.toLowerCase().indexOf(t.toLowerCase())?"~"+a:a.slice(t.length)||"/",t0=(t="")=>t==="/"?"":t,LE=(t,a)=>t[0]==="~"?t.slice(1):t0(a)+t,PE=(t="",a)=>VE(Hv(t0(t)),Hv(a)),Hv=t=>{try{return decodeURI(t)}catch{return t}},n0={hook:zE,searchHook:OE,parser:wE,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:t=>t,aroundNav:(t,a,s)=>t(a,s)},a0=b.createContext(n0),Qr=()=>b.useContext(a0),i0={},s0=b.createContext(i0),UE=()=>b.useContext(s0),cc=t=>{const[a,s]=t.hook(t);return[PE(t.base,a),Jb((r,l)=>t.aroundNav(s,LE(r,t.base),l))]},r0=()=>cc(Qr()),o0=(t,a,s,r)=>
9{const{pattern:l,keys:u}=a instanceof RegExp?{keys:!1,pattern:a}:t(a||"*",r),f=l.exec(s)||[],[m,...p]=f;return m!==void 0?[!0,(()=>{const g=u!==!1?Object.fromEntries(u.map((v,w)=>[v,p[w]])):f.groups;let y={...p};return g&&Object.assign(y,g),y})(),...r?[m]:[]]:[!1,null]},BE=({children:t,...a})=>{const s=Qr(),r=a.hook?n0:s;let l=r;const[u,f=a.ssrSearch??""]=a.ssrPath?.split("?")??[];u&&(a.ssrSearch=f,a.ssrPath=u),a.hrefs=a.hrefs??a.hook?.hrefs,a.searchHook=a.searchHook??a.hook?.searchHook;let m=b.useRef({}),p=m.current,g=p;for(let y in r){const v=y==="base"?r[y]+(a[y]??""):a[y]??r[y];p===g&&v!==g[y]&&(m.current=g={...g}),g[y]=v,(v!==r[y]||v!==l[y])&&(l=g)}return b.createElement(a0.Provider,{value:l,children:t})},qv=({children:t,component:a},s)=>a?b.createElement(a,{params:s}):typeof t=="function"?t(s):t,HE=t=>{let a=b.useRef(i0);const s=a.current;return a.current=Object.keys(t).length!==Object.keys(s).length||Object.entries(t).some(([r,l])=>l!==s[r])?t:s},wn=({path:t,nest:a,match:s,...r})=>{const l=Qr(),[u]=cc(l),[f,m,p]=s??o0(l.parser,t,u,a),g=HE({...UE(),...m});if(!f)return null;const y=p?b.createElement(BE,{base:p},qv(r,g)):qv(r,g);return b.createElement(s0.Provider,{value:g,children:y})},Qe=b.forwardRef((t,a)=>{const s=Qr(),[r,l]=cc(s),{to:u="",href:f=u,onClick:m,asChild:p,children:g,className:y,replace:v,state:w,transition:j,...N}=t,T=Jb(A=>{A.ctrlKey||A.metaKey||A.altKey||A.shiftKey||A.button!==0||(m?.(A),A.defaultPrevented||(A.preventDefault(),l(f,t)))}),E=s.hrefs(f[0]==="~"?f.slice(1):s.base+f,s);return p&&b.isValidElement(g)?b.cloneElement(g,{onClick:T,href:E}):b.createElement("a",{...N,onClick:T,href:E,className:y?.call?y(r===f):y,children:g,ref:a})}),l0=t=>Array.isArray(t)?t.flatMap(a=>l0(a&&a.type===b.Fragment?a.props.children:a)):[t],qE=({children:t,location:a})=>{const s=Qr(),[r]=cc(s);for(const l of l0(t)){let u=0;if(b.isValidElement(l)&&(u=o0(s.parser,l.props.path,a||r,l.props.nest))[0])return b.cloneElement(l,{match:u})}return null};var js=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},FE={setTimeout:(t,a)=>setTimeout(t,a),clearTimeout:t=>clearTimeout(t),setInterval:(t,a)=>setInterval(t,a),clearInterval:t=>clearInterval(t)},GE=class{#e=FE;#t=!1;setTimeoutProvider(t){this.#e=t}setTimeout(t,a){return this.#e.setTimeout(t,a)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,a){return this.#e.setInterval(t,a)}clearInterval(t){this.#e.clearInterval(t)}},li=new GE;function YE(t){setTimeout(t,0)}var pi=typeof window>"u"||"Deno"in globalThis;function St(){}function QE(t,a){return typeof t=="function"?t(a):t}function Lf(t){return typeof t=="number"&&t>=0&&t!==1/0}function c0(t,a){return Math.max(t+(a||0)-Date.now(),0)}function Oa(t,a){return typeof t=="function"?t(a):t}function nn(t,a){return typeof t=="function"?t(a):t}function Fv(t,a){const{type:s="all",exact:r,fetchStatus:l,predicate:u,queryKey:f,stale:m}=t;if(f){if(r){if(a.queryHash!==Eh(f,a.options))return!1}else if(!Lr(a.queryKey,f))return!1}if(s!=="all"){const p=a.isActive();if(s==="active"&&!p||s==="inactive"&&p)return!1}return!(typeof m=="boolean"&&a.isStale()!==m||l&&l!==a.state.fetchStatus||u&&!u(a))}function Gv(t,a){const{exact:s,status:r,predicate:l,mutationKey:u}=t;if(u){if(!a.options.mutationKey)return!1;if(s){if(gi(a.options.mutationKey)!==gi(u))return!1}else if(!Lr(a.options.mutationKey,u))return!1}return!(r&&a.state.status!==r||l&&!l(a))}function Eh(t,a){return(a?.queryKeyHashFn||gi)(t)}function gi(t){return JSON.stringify(t,(a,s)=>Pf(s)?Object.keys(s).sort().reduce((r,l)=>(r[l]=s[l],r),{}):s)}function Lr(t,a){return t===a?!0:typeof t!=typeof a?!1:t&&a&&typeof t=="object"&&typeof a=="object"?Object.keys(a).every(s=>Lr(t[s],a[s])):!1}var KE=Object.prototype.hasOwnProperty;function u0(t,a,s=0){if(t===a)return t;if(s>500)return a;const r=Yv(t)&&Yv(a);if(!r&&!(Pf(t)&&Pf(a)))return a;const u=(r?t:Object.keys(t)).length,f=r?a:Object.keys(a),m=f.length,p=r?new Array(m):{};let g=0;for(let y=0;y<m;y++){const v=r?y:f[y],w=t[v],j=a[v];if(w===j){p[v]=w,(r?y<u:KE.call(t,v))&&g++;continue}if(w===null||j===null||typeof w!="object"||typeof j!="object"){p[v]=j;continue}const N=u0(w,j,s+1);p[v]=N,N===w&&g++}return u===m&&g===u?t:p}
vendor: 22,920 bytes, line 9
9function Yl(t,a){if(!a||Object.keys(t).length!==Object.keys(a).length)return!1;for(const s in t)if(t[s]!==a[s])return!1;return!0}function Yv(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Pf(t){if(!Qv(t))return!1;const a=t.constructor;if(a===void 0)return!0;const s=a.prototype;return!(!Qv(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function Qv(t){return Object.prototype.toString.call(t)==="[object Object]"}function XE(t){return new Promise(a=>{li.setTimeout(a,t)})}function Uf(t,a,s){return typeof s.structuralSharing=="function"?s.structuralSharing(t,a):s.structuralSharing!==!1?u0(t,a):a}function IE(t,a,s=0){const r=[...t,a];return s&&r.length>s?r.slice(1):r}function ZE(t,a,s=0){const r=[a,...t];return s&&r.length>s?r.slice(0,-1):r}var Nh=Symbol();function d0(t,a){return!t.queryFn&&a?.initialPromise?()=>a.initialPromise:!t.queryFn||t.queryFn===Nh?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function Ah(t,a){return typeof t=="function"?t(...a):!!t}function $E(t,a,s){let r=!1,l;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(l??=a(),r||(r=!0,l.aborted?s():l.addEventListener("abort",s,{once:!0})),l)}),t}var WE=class extends js{#e;#t;#n;constructor(){super(),this.#n=t=>{if(!pi&&window.addEventListener){const a=()=>t();return window.addEventListener("visibilitychange",a,!1),()=>{window.removeEventListener("visibilitychange",a)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(a=>{a(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Ch=new WE;function Bf(){let t,a;const s=new Promise((l,u)=>{t=l,a=u});s.status="pending",s.catch(()=>{});function r(l){Object.assign(s,l),delete s.resolve,delete s.reject}return s.resolve=l=>{r({status:"fulfilled",value:l}),t(l)},s.reject=l=>{r({status:"rejected",reason:l}),a(l)},s}var JE=YE;function eN(){let t=[],a=0,s=m=>{m()},r=m=>{m()},l=JE;const u=m=>{a?t.push(m):l(()=>{s(m)})},f=()=>{const m=t;t=[],m.length&&l(()=>{r(()=>{m.forEach(p=>{s(p)})})})};return{batch:m=>{let p;a++;try{p=m()}finally{a--,a||f()}return p},batchCalls:m=>(...p)=>{u(()=>{m(...p)})},schedule:u,setNotifyFunction:m=>{s=m},setBatchNotifyFunction:m=>{r=m},setScheduler:m=>{l=m}}}var lt=eN(),tN=class extends js{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(!pi&&window.addEventListener){const a=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",a,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",a),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(s=>{s(t)}))}isOnline(){return this.#e}},Ql=new tN;function nN(t){return Math.min(1e3*2**t,3e4)}function f0(t){return(t??"online")==="online"?Ql.isOnline():!0}var Hf=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function h0(t){let a=!1,s=0,r;const l=Bf(),u=()=>l.status!=="pending",f=T=>{if(!u()){const E=new Hf(T);w(E),t.onCancel?.(E)}},m=()=>{a=!0},p=()=>{a=!1},g=()=>Ch.isFocused()&&(t.networkMode==="always"||Ql.isOnline())&&t.canRun(),y=()=>f0(t.networkMode)&&t.canRun(),v=T=>{u()||(r?.(),l.resolve(T))},w=T=>{u()||(r?.(),l.reject(T))},j=()=>new Promise(T=>{r=E=>{(u()||g())&&T(E)},t.onPause?.()}).then(()=>{r=void 0,u()||t.onContinue?.()}),N=()=>{if(u())return;let T;const E=s===0?t.initialPromise:void 0;try{T=E??t.fn()}catch(A){T=Promise.reject(A)}Promise.resolve(T).then(v).catch(A=>{if(u())return;const _=t.retry??(pi?0:3),R=t.retryDelay??nN,D=typeof R=="function"?R(s,A):R,k=_===!0||typeof _=="number"&&s<_||typeof _=="function"&&_(s,A);if(a||!k){w(A);return}s++,t.onFail?.(s,A),XE(D).then(()=>g()?void 0:j()).then(()=>{a?w(A):N()})})};return{promise:l,status:()=>l.status,cancel:f,continue:()=>(r?.(),l),cancelRetry:m,continueRetry:p,canStart:y,start:()=>(y()?N():j().then(N),l)}}var m0=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Lf(this.gcTime)&&(this.#e=li.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(pi?1/0:300*1e3))}clearGcTimeout(){this.#e&&(li.clearTimeout(this.#e),this.#e=void 0)}},aN=class extends m0{#e;#t;#n;#i;#a;#r;#o;constructor(t){super(),this.#o=!1,this.#r=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#i=t.client,this.#n=this.#i.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#e=Xv(this.options),this.state=t.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#a?.promise}setOptions(t){if(this.options={...this.#r,...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const a=Xv(this.options);a.data!==void 0&&(this.setState(Kv(a.data,a.dataUpdatedAt)),this.#e=a)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(t,a){const s=Uf(this.state.data,t,this.options);return this.#s({data:s,type:"success",dataUpdatedAt:a?.updatedAt,manual:a?.manual}),s}setState(t,a){this.#s({type:"setState",state:t,setStateOptions:a})}cancel(t){const a=this.#a?.promise;return this.#a?.cancel(t),a?a.then(St).catch(St):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(t=>nn(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Nh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Oa(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!c0(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(a=>a.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(a=>a.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(a=>a!==t),this.observers.length||(this.#a&&(this.#o?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}async fetch(t,a){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&a?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(p=>p.options.queryFn);m&&this.setOptions(m.options)}const s=new AbortController,r=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(this.#o=!0,s.signal)})},l=()=>{const m=d0(this.options,a),g=(()=>{const y={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(y),y})();return this.#o=!1,this.options.persister?this.options.persister(m,g,this):m(g)},f=(()=>{const m={fetchOptions:a,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:l};return r(m),m})();this.options.behavior?.onFetch(f,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==f.fetchOptions?.meta)&&this.#s({type:"fetch",meta:f.fetchOptions?.meta}),this.#a=h0({initialPromise:a?.initialPromise,fn:f.fetchFn,onCancel:m=>{m instanceof Hf&&m.revert&&this.setState({...this.#t,fetchStatus:"idle"}),s.abort()},onFail:(m,p)=>{this.#s({type:"failed",failureCount:m,error:p})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0});try{const m=await this.#a.start();if(m===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(m),this.#n.config.onSuccess?.(m,this),this.#n.config.onSettled?.(m,this.state.error,this),m}catch(m){if(m instanceof Hf){if(m.silent)return this.#a.promise;if(m.revert){if(this.state.data===void 0)throw m;return this.state.data}}throw this.#s({type:"error",error:m}),this.#n.config.onError?.(m,this),this.#n.config.onSettled?.(this.state.data,m,this),m}finally{this.scheduleGc()}}#s(t){const a=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...p0(s.data,this.options),fetchMeta:t.meta??null};case"success":const r={...s,...Kv(t.data,t.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=t.manual?r:void 0,r;case"error":const l=t.error;return{...s,error:l,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=a(this.state),lt.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:t})})}};function p0(t,a){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:f0(a.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function Kv(t,a){return{data:t,dataUpdatedAt:a??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Xv(t){const a=typeof t.initialData=="function"?t.initialData():t.initialData,s=a!==void 0,r=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:a,dataUpdateCount:0,dataUpdatedAt:s?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var iN=class extends js{constructor(t,a){super(),this.options=a,this.#e=t,this.#s=null,this.#o=Bf(),this.bindMethods(),this.setOptions(a)}#e;#t=void 0;#n=void 0;#i=void 0;#a;#r;#o;#s;#p;#f;#h;#c;#u;#l;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Iv(this.#t,this.options)?this.#d():this.updateResult(),this.#x())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return qf(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return qf(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#w(),this.#t.removeObserver(this)}setOptions(t){const a=this.options,s=this.#t;if(this.options=this.#e.defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof nn(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),a._defaulted&&!Yl(this.options,a)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const r=this.hasListeners();r&&Zv(this.#t,s,this.options,a)&&this.#d(),this.updateResult(),r&&(this.#t!==s||nn(this.options.enabled,this.#t)!==nn(a.enabled,this.#t)||Oa(this.options.staleTime,this.#t)!==Oa(a.staleTime,this.#t))&&this.#g();const l=this.#y();r&&(this.#t!==s||nn(this.options.enabled,this.#t)!==nn(a.enabled,this.#t)||l!==this.#l)&&this.#v(l)}getOptimisticResult(t){const a=this.#e.getQueryCache().build(this.#e,t),s=this.createResult(a,t);return rN(this,s)&&(this.#i=s,this.#r=this.options,this.#a=this.#t.state),s}getCurrentResult(){return this.#i}trackResult(t,a){return new Proxy(t,{get:(s,r)=>(this.trackProp(r),a?.(r),r==="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(s,r))})}trackProp(t){this.#m.add(t)}getCurrentQuery(){return this.#t}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const a=this.#e.defaultQueryOptions(t),s=this.#e.getQueryCache().build(this.#e,a);return s.fetch().then(()=>this.createResult(s,a))}fetch(t){return this.#d({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#d(t){this.#S();let a=this.#t.fetch(this.options,t);return t?.throwOnError||(a=a.catch(St)),a}#g(){this.#b();const t=Oa(this.options.staleTime,this.#t);if(pi||this.#i.isStale||!Lf(t))return;const s=c0(this.#i.dataUpdatedAt,t)+1;this.#c=li.setTimeout(()=>{this.#i.isStale||this.updateResult()},s)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(t){this.#w(),this.#l=t,!(pi||nn(this.options.enabled,this.#t)===!1||!Lf(this.#l)||this.#l===0)&&(this.#u=li.setInterval(()=>{(this.options.refetchIntervalInBackground||Ch.isFocused())&&this.#d()},this.#l))}#x(){this.#g(),this.#v(this.#y())}#b(){this.#c&&(li.clearTimeout(this.#c),this.#c=void 0)}#w(){this.#u&&(li.clearInterval(this.#u),this.#u=void 0)}createResult(t,a){const s=this.#t,r=this.options,l=this.#i,u=this.#a,f=this.#r,p=t!==s?t.state:this.#n,{state:g}=t;let y={...g},v=!1,w;if(a._optimisticResults){const L=this.hasListeners(),W=!L&&Iv(t,a),te=L&&Zv(t,s,a,r);(W||te)&&(y={...y,...p0(g.data,t.options)}),a._optimisticResults==="isRestoring"&&(y.fetchStatus="idle")}let{error:j,errorUpdatedAt:N,status:T}=y;w=y.data;let E=!1;if(a.placeholderData!==void 0&&w===void 0&&T==="pending"){let L;l?.isPlaceholderData&&a.placeholderData===f?.placeholderData?(L=l.data,E=!0):L=typeof a.placeholderData=="function"?a.placeholderData(this.#h?.state.data,this.#h):a.placeholderData,L!==void 0&&(T="success",w=Uf(l?.data,L,a),v=!0)}if(a.select&&w!==void 0&&!E)if(l&&w===u?.data&&a.select===this.#p)w=this.#f;else try{this.#p=a.select,w=a.select(w),w=Uf(l?.data,w,a),this.#f=w,this.#s=null}catch(L){this.#s=L}this.#s&&(j=this.#s,w=this.#f,N=Date.now(),T="error");const A=y.fetchStatus==="fetching",_=T==="pending",R=T==="error",D=_&&A,k=w!==void 0,H={status:T,fetchStatus:y.fetchStatus,isPending:_,isSuccess:T==="success",isError:R,isInitialLoading:D,isLoading:D,data:w,dataUpdatedAt:y.dataUpdatedAt,error:j,errorUpdatedAt:N,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:y.dataUpdateCount>0||y.errorUpdateCount>0,isFetchedAfterMount:y.dataUpdateCount>p.dataUpdateCount||y.errorUpdateCount>p.errorUpdateCount,isFetching:A,isRefetching:A&&!_,isLoadingError:R&&!k,isPaused:y.fetchStatus==="paused",isPlaceholderData:v,isRefetchError:R&&k,isStale:Rh(t,a),refetch:this.refetch,promise:this.#o,isEnabled:nn(a.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const L=H.data!==void 0,W=H.status==="error"&&!L,te=ge=>{W?ge.reject(H.error):L&&ge.resolve(H.data)},se=()=>{const ge=this.#o=H.promise=Bf();te(ge)},le=this.#o;switch(le.status){case"pending":t.queryHash===s.queryHash&&te(le);break;case"fulfilled":(W||H.data!==le.value)&&se();break;case"rejected":(!W||H.error!==le.reason)&&se();break}}return H}updateResult(){const t=this.#i,a=this.createResult(this.#t,this.options);if(this.#a=this.#t.state,this.#r=this.options,this.#a.data!==void 0&&(this.#h=this.#t),Yl(a,t))return;this.#i=a;const s=()=>{if(!t)return!0;const{notifyOnChangeProps:r}=this.options,l=typeof r=="function"?r():r;if(l==="all"||!l&&!this.#m.size)return!0;const u=new Set(l??this.#m);return this.options.throwOnError&&u.add("error"),Object.keys(this.#i).some(f=>{const m=f;return this.#i[m]!==t[m]&&u.has(m)})};this.#j({listeners:s()})}#S(){const t=this.#e.getQueryCache().build(this.#e,this.options);if(t===this.#t)return;const a=this.#t;this.#t=t,this.#n=t.state,this.hasListeners()&&(a?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#x()}#j(t){lt.batch(()=>{t.listeners&&this.listeners.forEach(a=>{a(this.#i)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function sN(t,a){return nn(a.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&a.retryOnMount===!1)}function Iv(t,a){return sN(t,a)||t.state.data!==void 0&&qf(t,a,a.refetchOnMount)}function qf(t,a,s){if(nn(a.enabled,t)!==!1&&Oa(a.staleTime,t)!=="static"){const r=typeof s=="function"?s(t):s;return r==="always"||r!==!1&&Rh(t,a)}return!1}function Zv(t,a,s,r){return(t!==a||nn(r.enabled,t)===!1)&&(!s.suspense||t.state.status!=="error")&&Rh(t,s)}function Rh(t,a){return nn(a.enabled,t)!==!1&&t.isStaleByTime(Oa(a.staleTime,t))}function rN(t,a){return!Yl(t.getCurrentResult(),a)}function $v(t){return{onFetch:(a,s)=>{const r=a.options,l=a.fetchOptions?.meta?.fetchMore?.direction,u=a.state.data?.pages||[],f=a.state.data?.pageParams||[];let m={pages:[],pageParams:[]},p=0;const g=async()=>{let y=!1;const v=N=>{$E(N,()=>a.signal,()=>y=!0)},w=d0(a.options,a.fetchOptions),j=async(N,T,E)=>{if(y)return Promise.reject();if(T==null&&N.pages.length)return Promise.resolve(N);const _=(()=>{const G={client:a.client,queryKey:a.queryKey,pageParam:T,direction:E?"backward":"forward",meta:a.options.meta};return v(G),G})(),R=await w(_),{maxPages:D}=a.options,k=E?ZE:IE;return{pages:k(N.pages,R,D),pageParams:k(N.pageParams,T,D)}};if(l&&u.length){const N=l==="backward",T=N?oN:Wv,E={pages:u,pageParams:f},A=T(r,E);m=await j(E,A,N)}else{const N=t??u.length;do{const T=p===0?f[0]??r.initialPageParam:Wv(r,m);if(p>0&&T==null)break;m=await j(m,T),p++}while(p<N)}return m};a.options.persister?a.fetchFn=()=>a.options.persister?.(g,{client:a.client,queryKey:a.queryKey,meta:a.options.meta,signal:a.signal},s):a.fetchFn=g}}}function Wv(t,{pages:a,pageParams:s}){const r=a.length-1;return a.length>0?t.getNextPageParam(a[r],a,s[r],s):void 0}function oN(t,{pages:a,pageParams:s}){return a.length>0?t.getPreviousPageParam?.(a[0],a,s[0],s):void 0}var lN=class extends m0{#e;#t;#n;#i;constructor(t){super(),this.#e=t.client,this.mutationId=t.mutationId,this.#n=t.mutationCache,this.#t=[],this.state=t.state||g0(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(a=>a!==t),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(t){const a=()=>{this.#a({type:"continue"})},s={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=h0({fn:()=>this.options.mutationFn?this.options.mutationFn(t,s):Promise.reject(new Error("No mutationFn found")),onFail:(u,f)=>{this.#a({type:"failed",failureCount:u,error:f})},onPause:()=>{this.#a({type:"pause"})},onContinue:a,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",l=!this.#i.canStart();try{if(r)a();else{this.#a({type:"pending",variables:t,isPaused:l}),await this.#n.config.onMutate?.(t,this,s);const f=await this.options.onMutate?.(t,s);f!==this.state.context&&this.#a({type:"pending",context:f,variables:t,isPaused:l})}const u=await this.#i.start();return await this.#n.config.onSuccess?.(u,t,this.state.context,this,s),await this.options.onSuccess?.(u,t,this.state.context,s),await this.#n.config.onSettled?.(u,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(u,null,t,this.state.context,s),this.#a({type:"success",data:u}),u}catch(u){try{await this.#n.config.onError?.(u,t,this.state.context,this,s)}catch(f){Promise.reject(f)}try{await this.options.onError?.(u,t,this.state.context,s)}catch(f){Promise.reject(f)}try{await this.#n.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,s)}catch(f){Promise.reject(f)}try{await this.options.onSettled?.(void 0,u,t,this.state.context,s)}catch(f){Promise.reject(f)}throw this.#a({type:"error",error:u}),u}finally{this.#n.runNext(this)}}#a(t){const a=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=a(this.state),lt.batch(()=>{this.#t.forEach(s=>{s.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function g0(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var cN=class extends js{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,a,s){const r=new lN({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(a),state:s});return this.add(r),r}add(t){this.#e.add(t);const a=jl(t);if(typeof a=="string"){const s=this.#t.get(a);s?s.push(t):this.#t.set(a,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const a=jl(t);if(typeof a=="string"){const s=this.#t.get(a);if(s)if(s.length>1){const r=s.indexOf(t);r!==-1&&s.splice(r,1)}else s[0]===t&&this.#t.delete(a)}}this.notify({type:"removed",mutation:t})}canRun(t){const a=jl(t);if(typeof a=="string"){const r=this.#t.get(a)?.find(l=>l.state.status==="pending");return!r||r===t}else return!0}runNext(t){const a=jl(t);return typeof a=="string"?this.#t.get(a)?.find(r=>
9r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){lt.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const a={exact:!0,...t};return this.getAll().find(s=>Gv(a,s))}findAll(t={}){return this.getAll().filter(a=>Gv(t,a))}notify(t){lt.batch(()=>{this.listeners.forEach(a=>{a(t)})})}resumePausedMutations(){const t=this.getAll().filter(a=>a.state.isPaused);return lt.batch(()=>Promise.all(t.map(a=>a.continue().catch(St))))}};function jl(t){return t.options.scope?.id}var uN=class extends js{#e;#t=void 0;#n;#i;constructor(a,s){super(),this.#e=a,this.setOptions(s),this.bindMethods(),this.#a()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(a){const s=this.options;this.options=this.#e.defaultMutationOptions(a),Yl(this.options,s)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),s?.mutationKey&&this.options.mutationKey&&gi(s.mutationKey)!==gi(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(a){this.#a(),this.#r(a)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#a(),this.#r()}mutate(a,s){return this.#i=s,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(a)}#a(){const a=this.#n?.state??g0();this.#t={...a,isPending:a.status==="pending",isSuccess:a.status==="success",isError:a.status==="error",isIdle:a.status==="idle",mutate:this.mutate,reset:this.reset}}#r(a){lt.batch(()=>{if(this.#i&&this.hasListeners()){const s=this.#t.variables,r=this.#t.context,l={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(a?.type==="success"){try{this.#i.onSuccess?.(a.data,s,r,l)}catch(u){Promise.reject(u)}try{this.#i.onSettled?.(a.data,null,s,r,l)}catch(u){Promise.reject(u)}}else if(a?.type==="error"){try{this.#i.onError?.(a.error,s,r,l)}catch(u){Promise.reject(u)}try{this.#i.onSettled?.(void 0,a.error,s,r,l)}catch(u){Promise.reject(u)}}}this.listeners.forEach(s=>{s(this.#t)})})}},dN=class extends js{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,a,s){const r=a.queryKey,l=a.queryHash??Eh(r,a);let u=this.get(l);return u||(u=new aN({client:t,queryKey:r,queryHash:l,options:t.defaultQueryOptions(a),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(u)),u}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const a=this.#e.get(t.queryHash);a&&(t.destroy(),a===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){lt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const a={exact:!0,...t};return this.getAll().find(s=>Fv(a,s))}findAll(t={}){const a=this.getAll();return Object.keys(t).length>0?a.filter(s=>Fv(t,s)):a}notify(t){lt.batch(()=>{this.listeners.forEach(a=>{a(t)})})}onFocus(){lt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){lt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},fN=class{#e;#t;#n;#i;#a;#r;#o;#s;constructor(t={}){this.#e=t.queryCache||new dN,this.#t=t.mutationCache||new cN,this.#n=t.defaultOptions||{},this.#i=new Map,this.#a=new Map,this.#r=0}mount(){this.#r++,this.#r===1&&(this.#o=Ch.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=Ql.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#r--,this.#r===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const a=this.defaultQueryOptions({queryKey:t});return this.#e.get(a.queryHash)?.state.data}ensureQueryData(t){const a=this.defaultQueryOptions(t),s=this.#e.build(this,a),r=s.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(Oa(a.staleTime,s))&&this.prefetchQuery(a),Promise.resolve(r))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:a,state:s})=>{const r=s.data;return[a,r]})}setQueryData(t,a,s){const r=this.defaultQueryOptions({queryKey:t}),u=this.#e.get(r.queryHash)?.state.data,f=QE(a,u);if(f!==void 0)return this.#e.build(this,r).setData(f,{...s,manual:!0})}
9setQueriesData(t,a,s){return lt.batch(()=>this.#e.findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,a,s)]))}getQueryState(t){const a=this.defaultQueryOptions({queryKey:t});return this.#e.get(a.queryHash)?.state}removeQueries(t){const a=this.#e;lt.batch(()=>{a.findAll(t).forEach(s=>{a.remove(s)})})}resetQueries(t,a){const s=this.#e;return lt.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},a)))}cancelQueries(t,a={}){const s={revert:!0,...a},r=lt.batch(()=>this.#e.findAll(t).map(l=>l.cancel(s)));return Promise.all(r).then(St).catch(St)}invalidateQueries(t,a={}){return lt.batch(()=>(this.#e.findAll(t).forEach(s=>{s.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},a)))}refetchQueries(t,a={}){const s={...a,cancelRefetch:a.cancelRefetch??!0},r=lt.batch(()=>this.#e.findAll(t).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,s);return s.throwOnError||(u=u.catch(St)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(r).then(St)}fetchQuery(t){const a=this.defaultQueryOptions(t);a.retry===void 0&&(a.retry=!1);const s=this.#e.build(this,a);return s.isStaleByTime(Oa(a.staleTime,s))?s.fetch(a):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(St).catch(St)}fetchInfiniteQuery(t){return t.behavior=$v(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(St).catch(St)}ensureInfiniteQueryData(t){return t.behavior=$v(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Ql.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,a){this.#i.set(gi(t),{queryKey:t,defaultOptions:a})}getQueryDefaults(t){const a=[...this.#i.values()],s={};return a.forEach(r=>{Lr(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,a){this.#a.set(gi(t),{mutationKey:t,defaultOptions:a})}getMutationDefaults(t){const a=[...this.#a.values()],s={};return a.forEach(r=>{Lr(t,r.mutationKey)&&Object.assign(s,r.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const a={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return a.queryHash||(a.queryHash=Eh(a.queryKey,a)),a.refetchOnReconnect===void 0&&(a.refetchOnReconnect=a.networkMode!=="always"),a.throwOnError===void 0&&(a.throwOnError=!!a.suspense),!a.networkMode&&a.persister&&(a.networkMode="offlineFirst"),a.queryFn===Nh&&(a.enabled=!1),a}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},y0=b.createContext(void 0),v0=t=>{const a=b.useContext(y0);if(!a)throw new Error("No QueryClient set, use QueryClientProvider to set one");return a},hN=({client:t,children:a})=>(b.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),d.jsx(y0.Provider,{value:t,children:a})),x0=b.createContext(!1),mN=()=>b.useContext(x0);x0.Provider;function pN(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var gN=b.createContext(pN()),yN=()=>b.useContext(gN),vN=(t,a,s)=>{const r=s?.state.error&&typeof t.throwOnError=="function"?Ah(t.throwOnError,[s.state.error,s]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||r)&&(a.isReset()||(t.retryOnMount=!1))},xN=t=>{b.useEffect(()=>{t.clearReset()},[t])},bN=({result:t,errorResetBoundary:a,throwOnError:s,query:r,suspense:l})=>t.isError&&!a.isReset()&&!t.isFetching&&r&&(l&&t.data===void 0||Ah(s,[t.error,r])),wN=t=>{if(t.suspense){const s=l=>l==="static"?l:Math.max(l??1e3,1e3),r=t.staleTime;t.staleTime=typeof r=="function"?(...l)=>s(r(...l)):s(r),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},SN=(t,a)=>t.isLoading&&t.isFetching&&!a,jN=(t,a)=>t?.suspense&&a.isPending,Jv=(t,a,s)=>a.fetchOptimistic(t).catch(()=>{s.clearReset()});function TN(t,a,s){const r=mN(),l=yN(),u=v0(),f=u.defaultQueryOptions(t);u.getDefaultOptions().queries?._experimental_beforeQuery?.(f);const m=u.getQueryCache().get(f.queryHash);f._optimisticResults=r?"isRestoring":"optimistic",wN(f),vN(f,l,m),xN(l);const p=!u.getQueryCache().get(f.queryHash),[g]=b.useState(()=>new a(u,f)),y=g.getOptimisticResult(f),v=!r&&t.subscribed!==!1;if(b.useSyncExternalStore(b.useCallback(w=>{const j=v?g.subscribe(lt.batchCalls(w)):St;return g.updateResult(),j},[g,v]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),b.useEffect(()=>{g.setOptions(f)},[f,g]),jN(f,y))throw Jv(f,g,l);if(bN({result:y,errorResetBoundary:l,throwOnError:f.throwOnError,query:m,suspense:f.suspense}))throw y.error;return u.getDefaultOptions().queries?._experimental_afterQuery?.(f,y),f.experimental_prefetchInRender&&!pi&&SN(y,r)&&(p?Jv(f,g,l):m?.promise)?.catch(St).finally(()=>{g.updateResult()}),f.notifyOnChangeProps?y:g.trackResult(y)}function uc(t,a){return TN(t,iN)}function ci(t,a){const s=v0(),[r]=b.useState(()=>new uN(s,t));b.useEffect(()=>{r.setOptions(t)},[r,t]);const l=b.useSyncExternalStore(b.useCallback(f=>r.subscribe(lt.batchCalls(f)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),u=b.useCallback((f,m)=>{r.mutate(f,m).catch(St)},[r]);if(l.error&&Ah(r.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:u,mutateAsync:l.mutate}}async function b0(t){if(!t.ok){const a=await t.text()||t.statusText;throw new Error(`${t.status}: ${a}`)}}async function Xn(t,a,s){const r=await fetch(a,{method:t,headers:s?{"Content-Type":"application/json"}:{},body:s?JSON.stringify(s):void 0,credentials:"include"});return await b0(r),r}const EN=({on401:t})=>async({queryKey:a})=>{const s=await fetch(a.join("/"),{credentials:"include"});return await b0(s),await s.json()},Ma=new fN({defaultOptions:{queries:{queryFn:EN({on401:"throw"}),refetchInterval:!1,refetchOnWindowFocus:!1,staleTime:1/0,retry:!1},mutations:{retry:!1}}}),NN=1,AN=1e6;let rf=0;function CN(){return rf=(rf+1)%Number.MAX_SAFE_INTEGER,rf.toString()}const of=new Map,ex=t=>{if(of.has(t))return;const a=setTimeout(()=>{of.delete(t),Dr({type:"REMOVE_TOAST",toastId:t})},AN);of.set(t,a)},RN=(t,a)=>{switch(a.type){case"ADD_TOAST":return{...t,toasts:[a.toast,...t.toasts].slice(0,NN)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(s=>s.id===a.toast.id?{...s,...a.toast}:s)};case"DISMISS_TOAST":{const{toastId:s}=a;
9return s?ex(s):t.toasts.forEach(r=>{ex(r.id)}),{...t,toasts:t.toasts.map(r=>r.id===s||s===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return a.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(s=>s.id!==a.toastId)}}},Vl=[];let Ll={toasts:[]};function Dr(t){Ll=RN(Ll,t),Vl.forEach(a=>{a(Ll)})}function MN({...t}){const a=CN(),s=l=>Dr({type:"UPDATE_TOAST",toast:{...l,id:a}}),r=()=>Dr({type:"DISMISS_TOAST",toastId:a});return Dr({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:l=>{l||r()}}}),{id:a,dismiss:r,update:s}}function Kr(){const[t,a]=b.useState(Ll);return b.useEffect(()=>(Vl.push(a),()=>{const s=Vl.indexOf(a);s>-1&&Vl.splice(s,1)}),[t]),{...t,toast:MN,dismiss:s=>Dr({type:"DISMISS_TOAST",toastId:s})}}var dc=Wb();const DN=$b(dc);function Ce(t,a,{checkForDefaultPrevented:s=!0}={}){return function(l){if(t?.(l),s===!1||!l.defaultPrevented)return a?.(l)}}function tx(t,a){if(typeof t=="function")return t(a);t!=null&&(t.current=a)}function Xr(...t){return a=>{let s=!1;const r=t.map(l=>{const u=tx(l,a);return!s&&typeof u=="function"&&(s=!0),u});if(s)return()=>{for(let l=0;l<r.length;l++){const u=r[l];typeof u=="function"?u():tx(t[l],null)}}}}function bt(...t){return b.useCallback(Xr(...t),t)}function ON(t,a){const s=b.createContext(a),r=u=>{const{children:f,...m}=u,p=b.useMemo(()=>m,Object.values(m));return d.jsx(s.Provider,{value:p,children:f})};r.displayName=t+"Provider";function l(u){const f=b.useContext(s);if(f)return f;if(a!==void 0)return a;throw new Error(`\`${u}\` must be used within \`${t}\``)}return[r,l]}function xi(t,a=[]){let s=[];function r(u,f){const m=b.createContext(f),p=s.length;s=[...s,f];const g=v=>{const{scope:w,children:j,...N}=v,T=w?.[t]?.[p]||m,E=b.useMemo(()=>N,Object.values(N));return d.jsx(T.Provider,{value:E,children:j})};g.displayName=u+"Provider";function y(v,w){const j=w?.[t]?.[p]||m,N=b.useContext(j);if(N)return N;if(f!==void 0)return f;throw new Error(`\`${v}\` must be used within \`${u}\``)}return[g,y]}const l=()=>{const u=s.map(f=>b.createContext(f));return function(m){const p=m?.[t]||u;return b.useMemo(()=>({[`__scope${t}`]:{...m,[t]:p}}),[m,p])}};return l.scopeName=t,[r,_N(l,...a)]}function _N(...t){const a=t[0];if(t.length===1)return a;const s=()=>{const r=t.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(u){const f=r.reduce((m,{useScope:p,scopeName:g})=>{const v=p(u)[`__scope${g}`];return{...m,...v}},{});return b.useMemo(()=>({[`__scope${a.scopeName}`]:f}),[f])}};return s.scopeName=a.scopeName,s}function nx(t){const a=kN(t),s=b.forwardRef((r,l)=>{const{children:u,...f}=r,m=b.Children.toArray(u),p=m.find(VN);if(p){const g=p.props.children,y=m.map(v=>v===p?b.Children.count(g)>1?b.Children.only(null):b.isValidElement(g)?g.props.children:null:v);return d.jsx(a,{...f,ref:l,children:b.isValidElement(g)?b.cloneElement(g,void 0,y):null})}return d.jsx(a,{...f,ref:l,children:u})});return s.displayName=`${t}.Slot`,s}function kN(t){const a=b.forwardRef((s,r)=>{const{children:l,...u}=s;if(b.isValidElement(l)){const f=PN(l),m=LN(u,l.props);return l.type!==b.Fragment&&(m.ref=r?Xr(r,f):f),b.cloneElement(l,m)}return b.Children.count(l)>1?b.Children.only(null):null});return a.displayName=`${t}.SlotClone`,a}var zN=Symbol("radix.slottable");function VN(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===zN}function LN(t,a){const s={...a};for(const r in a){const l=t[r],u=a[r];/^on[A-Z]/.test(r)?l&&u?s[r]=(...m)=>{const p=u(...m);return l(...m),p}:l&&(s[r]=l):r==="style"?s[r]={...l,...u}:r==="className"&&(s[r]=[l,u].filter(Boolean).join(" "))}return{...t,...s}}function PN(t){let a=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning;return s?t.ref:(a=Object.getOwnPropertyDescriptor(t,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning,s?t.props.ref:t.props.ref||t.ref)}function w0(t){const a=t+"CollectionProvider",[s,r]=xi(a),[l,u]=s(a,{collectionRef:{current:null},itemMap:new Map}),f=T=>{const{scope:E,children:A}=T,_=Aa.useRef(null),R=Aa.useRef(new Map).current;return d.jsx(l,{scope:E,itemMap:R,collectionRef:_,children:A})};f.displayName=a;const m=t+"CollectionSlot",p=nx(m),g=Aa.forwardRef((T,E)=>{const{scope:A,children:_}=T,R=u(m,A),D=bt(E,R.collectionRef);return d.jsx(p,{ref:D,children:_})});g.displayName=m;
vendor: 7,224 bytes, line 9
9const y=t+"CollectionItemSlot",v="data-radix-collection-item",w=nx(y),j=Aa.forwardRef((T,E)=>{const{scope:A,children:_,...R}=T,D=Aa.useRef(null),k=bt(E,D),G=u(y,A);return Aa.useEffect(()=>(G.itemMap.set(D,{ref:D,...R}),()=>{G.itemMap.delete(D)})),d.jsx(w,{[v]:"",ref:k,children:_})});j.displayName=y;function N(T){const E=u(t+"CollectionConsumer",T);return Aa.useCallback(()=>{const _=E.collectionRef.current;if(!_)return[];const R=Array.from(_.querySelectorAll(`[${v}]`));return Array.from(E.itemMap.values()).sort((G,H)=>R.indexOf(G.ref.current)-R.indexOf(H.ref.current))},[E.collectionRef,E.itemMap])}return[{Provider:f,Slot:g,ItemSlot:j},N,r]}function UN(t){const a=BN(t),s=b.forwardRef((r,l)=>{const{children:u,...f}=r,m=b.Children.toArray(u),p=m.find(qN);if(p){const g=p.props.children,y=m.map(v=>v===p?b.Children.count(g)>1?b.Children.only(null):b.isValidElement(g)?g.props.children:null:v);return d.jsx(a,{...f,ref:l,children:b.isValidElement(g)?b.cloneElement(g,void 0,y):null})}return d.jsx(a,{...f,ref:l,children:u})});return s.displayName=`${t}.Slot`,s}function BN(t){const a=b.forwardRef((s,r)=>{const{children:l,...u}=s;if(b.isValidElement(l)){const f=GN(l),m=FN(u,l.props);return l.type!==b.Fragment&&(m.ref=r?Xr(r,f):f),b.cloneElement(l,m)}return b.Children.count(l)>1?b.Children.only(null):null});return a.displayName=`${t}.SlotClone`,a}var HN=Symbol("radix.slottable");function qN(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===HN}function FN(t,a){const s={...a};for(const r in a){const l=t[r],u=a[r];/^on[A-Z]/.test(r)?l&&u?s[r]=(...m)=>{const p=u(...m);return l(...m),p}:l&&(s[r]=l):r==="style"?s[r]={...l,...u}:r==="className"&&(s[r]=[l,u].filter(Boolean).join(" "))}return{...t,...s}}function GN(t){let a=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning;return s?t.ref:(a=Object.getOwnPropertyDescriptor(t,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning,s?t.props.ref:t.props.ref||t.ref)}var YN=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],He=YN.reduce((t,a)=>{const s=UN(`Primitive.${a}`),r=b.forwardRef((l,u)=>{const{asChild:f,...m}=l,p=f?s:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(p,{...m,ref:u})});return r.displayName=`Primitive.${a}`,{...t,[a]:r}},{});function S0(t,a){t&&dc.flushSync(()=>t.dispatchEvent(a))}function dn(t){const a=b.useRef(t);return b.useEffect(()=>{a.current=t}),b.useMemo(()=>(...s)=>a.current?.(...s),[])}function QN(t,a=globalThis?.document){const s=dn(t);b.useEffect(()=>{const r=l=>{l.key==="Escape"&&s(l)};return a.addEventListener("keydown",r,{capture:!0}),()=>a.removeEventListener("keydown",r,{capture:!0})},[s,a])}var KN="DismissableLayer",Ff="dismissableLayer.update",XN="dismissableLayer.pointerDownOutside",IN="dismissableLayer.focusOutside",ax,j0=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),fc=b.forwardRef((t,a)=>{const{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:r,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,onDismiss:m,...p}=t,g=b.useContext(j0),[y,v]=b.useState(null),w=y?.ownerDocument??globalThis?.document,[,j]=b.useState({}),N=bt(a,H=>v(H)),T=Array.from(g.layers),[E]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),A=T.indexOf(E),_=y?T.indexOf(y):-1,R=g.layersWithOutsidePointerEventsDisabled.size>0,D=_>=A,k=$N(H=>{const L=H.target,W=[...g.branches].some(te=>te.contains(L));!D||W||(l?.(H),f?.(H),H.defaultPrevented||m?.())},w),G=WN(H=>{const L=H.target;[...g.branches].some(te=>te.contains(L))||(u?.(H),f?.(H),H.defaultPrevented||m?.())},w);return QN(H=>{_===g.layers.size-1&&(r?.(H),!H.defaultPrevented&&m&&(H.preventDefault(),m()))},w),b.useEffect(()=>{if(y)return s&&(g.layersWithOutsidePointerEventsDisabled.size===0&&(ax=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(y)),g.layers.add(y),ix(),()=>{s&&g.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=ax)}},[y,w,s,g]),b.useEffect(()=>()=>{y&&(g.layers.delete(y),g.layersWithOutsidePointerEventsDisabled.delete(y),ix())},[y,g]),b.useEffect(()=>{const H=()=>j({});return document.addEventListener(Ff,H),()=>document.removeEventListener(Ff,H)},[]),d.jsx(He.div,{...p,ref:N,style:{pointerEvents:R?D?"auto":"none":void 0,...t.style},onFocusCapture:Ce(t.onFocusCapture,G.onFocusCapture),onBlurCapture:Ce(t.onBlurCapture,G.onBlurCapture),onPointerDownCapture:Ce(t.onPointerDownCapture,k.onPointerDownCapture)})});fc.displayName=KN;var ZN="DismissableLayerBranch",T0=b.forwardRef((t,a)=>{const s=b.useContext(j0),r=b.useRef(null),l=bt(a,r);return b.useEffect(()=>{const u=r.current;if(u)return s.branches.add(u),()=>{s.branches.delete(u)}},[s.branches]),d.jsx(He.div,{...t,ref:l})});T0.displayName=ZN;function $N(t,a=globalThis?.document){const s=dn(t),r=b.useRef(!1),l=b.useRef(()=>{});return b.useEffect(()=>{const u=m=>{if(m.target&&!r.current){let p=function(){E0(XN,s,g,{discrete:!0})};const g={originalEvent:m};m.pointerType==="touch"?(a.removeEventListener("click",l.current),l.current=p,a.addEventListener("click",l.current,{once:!0})):p()}else a.removeEventListener("click",l.current);r.current=!1},f=window.setTimeout(()=>{a.addEventListener("pointerdown",u)},0);return()=>{window.clearTimeout(f),a.removeEventListener("pointerdown",u),a.removeEventListener("click",l.current)}},[a,s]),{onPointerDownCapture:()=>r.current=!0}}function WN(t,a=globalThis?.document){const s=dn(t),r=b.useRef(!1);return b.useEffect(()=>{const l=u=>{u.target&&!r.current&&E0(IN,s,{originalEvent:u},{discrete:!1})};return a.addEventListener("focusin",l),()=>a.removeEventListener("focusin",l)},[a,s]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function ix(){const t=new CustomEvent(Ff);document.dispatchEvent(t)}function E0(t,a,s,{discrete:r}){const l=s.originalEvent.target,u=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:s});a&&l.addEventListener(t,a,{once:!0}),r?S0(l,u):l.dispatchEvent(u)}var JN=fc,eA=T0,Zn=globalThis?.document?b.useLayoutEffect:()=>{},tA="Portal",hc=b.forwardRef((t,a)=>{const{container:s,...r}=t,[l,u]=b.useState(!1);Zn(()=>u(!0),[]);const f=s||l&&globalThis?.document?.body;return f?DN.createPortal(d.jsx(He.div,{...r,ref:a}),f):null});hc.displayName=tA;function nA(t,a){return b.useReducer((s,r)=>a[s][r]??s,t)}var La=t=>{const{present:a,children:s}=t,r=aA(a),l=typeof s=="function"?s({present:r.isPresent}):b.Children.only(s),u=bt(r.ref,iA(l));return typeof s=="function"||r.isPresent?b.cloneElement(l,{ref:u}):null};La.displayName="Presence";function aA(t){const[a,s]=b.useState(),r=b.useRef(null),l=b.useRef(t),u=b.useRef("none"),f=t?"mounted":"unmounted",[m,p]=nA(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const g=Tl(r.current);u.current=m==="mounted"?g:"none"},[m]),Zn(()=>{const g=r.current,y=l.current;if(y!==t){const w=u.current,j=Tl(g);t?p("MOUNT"):j==="none"||g?.display==="none"?p("UNMOUNT"):p(y&&w!==j?"ANIMATION_OUT":"UNMOUNT"),l.current=t}}
9,[t,p]),Zn(()=>{if(a){let g;const y=a.ownerDocument.defaultView??window,v=j=>{const T=Tl(r.current).includes(CSS.escape(j.animationName));if(j.target===a&&T&&(p("ANIMATION_END"),!l.current)){const E=a.style.animationFillMode;a.style.animationFillMode="forwards",g=y.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=E)})}},w=j=>{j.target===a&&(u.current=Tl(r.current))};return a.addEventListener("animationstart",w),a.addEventListener("animationcancel",v),a.addEventListener("animationend",v),()=>{y.clearTimeout(g),a.removeEventListener("animationstart",w),a.removeEventListener("animationcancel",v),a.removeEventListener("animationend",v)}}else p("ANIMATION_END")},[a,p]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:b.useCallback(g=>{r.current=g?getComputedStyle(g):null,s(g)},[])}}function Tl(t){return t?.animationName||"none"}function iA(t){let a=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning;return s?t.ref:(a=Object.getOwnPropertyDescriptor(t,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning,s?t.props.ref:t.props.ref||t.ref)}var sA=lc[" useInsertionEffect ".trim().toString()]||Zn;function mc({prop:t,defaultProp:a,onChange:s=()=>{},caller:r}){const[l,u,f]=rA({defaultProp:a,onChange:s}),m=t!==void 0,p=m?t:l;{const y=b.useRef(t!==void 0);b.useEffect(()=>{const v=y.current;v!==m&&console.warn(`${r} is changing from ${v?"controlled":"uncontrolled"} to ${m?"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=m},[m,r])}const g=b.useCallback(y=>{if(m){const v=oA(y)?y(t):y;v!==t&&f.current?.(v)}else u(y)},[m,t,u,f]);return[p,g]}function rA({defaultProp:t,onChange:a}){const[s,r]=b.useState(t),l=b.useRef(s),u=b.useRef(a);return sA(()=>{u.current=a},[a]),b.useEffect(()=>{l.current!==s&&(u.current?.(s),l.current=s)},[s,l]),[s,r,u]}function oA(t){return typeof t=="function"}var lA=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"}),cA="VisuallyHidden",pc=b.forwardRef((t,a)=>d.jsx(He.span,{...t,ref:a,style:{...lA,...t.style}}));pc.displayName=cA;var uA=pc,Mh="ToastProvider",[Dh,dA,fA]=w0("Toast"),[N0]=xi("Toast",[fA]),[hA,gc]=N0(Mh),A0=t=>{const{__scopeToast:a,label:s="Notification",duration:r=5e3,swipeDirection:l="right",swipeThreshold:u=50,children:f}=t,[m,p]=b.useState(null),[g,y]=b.useState(0),v=b.useRef(!1),w=b.useRef(!1);return s.trim()||console.error(`Invalid prop \`label\` supplied to \`${Mh}\`. Expected non-empty \`string\`.`),d.jsx(Dh.Provider,{scope:a,children:d.jsx(hA,{scope:a,label:s,duration:r,swipeDirection:l,swipeThreshold:u,toastCount:g,viewport:m,onViewportChange:p,onToastAdd:b.useCallback(()=>y(j=>j+1),[]),onToastRemove:b.useCallback(()=>y(j=>j-1),[]),isFocusedToastEscapeKeyDownRef:v,isClosePausedRef:w,children:f})})};A0.displayName=Mh;var C0="ToastViewport",mA=["F8"],Gf="toast.viewportPause",Yf="toast.viewportResume",R0=b.forwardRef((t,a)=>{const{__scopeToast:s,hotkey:r=mA,label:l="Notifications ({hotkey})",...u}=t,f=gc(C0,s),m=dA(s),p=b.useRef(null),g=b.useRef(null),y=b.useRef(null),v=b.useRef(null),w=bt(a,v,f.onViewportChange),j=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=f.toastCount>0;b.useEffect(()=>{const E=A=>{r.length!==0&&r.every(R=>A[R]||A.code===R)&&v.current?.focus()};return document.addEventListener("keydown",E),()=>document.removeEventListener("keydown",E)},[r]),b.useEffect(()=>{const E=p.current,A=v.current;if(N&&E&&A){const _=()=>{if(!f.isClosePausedRef.current){const G=new CustomEvent(Gf);A.dispatchEvent(G),f.isClosePausedRef.current=!0}},R=()=>{if(f.isClosePausedRef.current){const G=new CustomEvent(Yf);A.dispatchEvent(G),f.isClosePausedRef.current=!1}},D=G=>{!E.contains(G.relatedTarget)&&R()},k=()=>{E.contains(document.activeElement)||R()};return E.addEventListener("focusin",_),E.addEventListener("focusout",D),E.addEventListener("pointermove",_),E.addEventListener("pointerleave",k),window.addEventListener("blur",_),window.addEventListener("focus",R),()=>{E.removeEventListener("focusin",_),E.removeEventListener("focusout",D),E.removeEventListener("pointermove",_),E.removeEventListener("pointerleave",k),window.removeEventListener("blur",_),window.removeEventListener("focus",R)}}},[N,f.isClosePausedRef]);const T=b.useCallback(({tabbingDirection:E})=>{const _=m().map(R=>{const D=R.ref.current,k=[D,...AA(D)];return E==="forwards"?k:k.reverse()});return(E==="forwards"?_.reverse():_).flat()},[m]);return b.useEffect(()=>{const E=v.current;if(E){const A=_=>{const R=_.altKey||_.ctrlKey||_.metaKey;if(_.key==="Tab"&&!R){const k=document.activeElement,G=_.shiftKey;if(_.target===E&&G){g.current?.focus();return}const W=T({tabbingDirection:G?"backwards":"forwards"}),te=W.findIndex(se=>se===k);lf(W.slice(te+1))?_.preventDefault():G?g.current?.focus():y.current?.focus()}};return E.addEventListener("keydown",A),()=>E.removeEventListener("keydown",A)}},[m,T]),d.jsxs(eA,{ref:p,role:"region","aria-label":l.replace("{hotkey}",j),tabIndex:-1,style:{pointerEvents:N?void 0:"none"},children:[N&&d.jsx(Qf,{ref:g,onFocusFromOutsideViewport:()=>{const E=T({tabbingDirection:"forwards"});lf(E)}}),d.jsx(Dh.Slot,{scope:s,children:d.jsx(He.ol,{tabIndex:-1,...u,ref:w}
9)}),N&&d.jsx(Qf,{ref:y,onFocusFromOutsideViewport:()=>{const E=T({tabbingDirection:"backwards"});lf(E)}})]})});R0.displayName=C0;var M0="ToastFocusProxy",Qf=b.forwardRef((t,a)=>{const{__scopeToast:s,onFocusFromOutsideViewport:r,...l}=t,u=gc(M0,s);return d.jsx(pc,{tabIndex:0,...l,ref:a,style:{position:"fixed"},onFocus:f=>{const m=f.relatedTarget;!u.viewport?.contains(m)&&r()}})});Qf.displayName=M0;var Ir="Toast",pA="toast.swipeStart",gA="toast.swipeMove",yA="toast.swipeCancel",vA="toast.swipeEnd",D0=b.forwardRef((t,a)=>{const{forceMount:s,open:r,defaultOpen:l,onOpenChange:u,...f}=t,[m,p]=mc({prop:r,defaultProp:l??!0,onChange:u,caller:Ir});return d.jsx(La,{present:s||m,children:d.jsx(wA,{open:m,...f,ref:a,onClose:()=>p(!1),onPause:dn(t.onPause),onResume:dn(t.onResume),onSwipeStart:Ce(t.onSwipeStart,g=>{g.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ce(t.onSwipeMove,g=>{const{x:y,y:v}=g.detail.delta;g.currentTarget.setAttribute("data-swipe","move"),g.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${y}px`),g.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${v}px`)}),onSwipeCancel:Ce(t.onSwipeCancel,g=>{g.currentTarget.setAttribute("data-swipe","cancel"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),g.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Ce(t.onSwipeEnd,g=>{const{x:y,y:v}=g.detail.delta;g.currentTarget.setAttribute("data-swipe","end"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),g.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${y}px`),g.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${v}px`),p(!1)})})})});D0.displayName=Ir;var[xA,bA]=N0(Ir,{onClose(){}}),wA=b.forwardRef((t,a)=>{const{__scopeToast:s,type:r="foreground",duration:l,open:u,onClose:f,onEscapeKeyDown:m,onPause:p,onResume:g,onSwipeStart:y,onSwipeMove:v,onSwipeCancel:w,onSwipeEnd:j,...N}=t,T=gc(Ir,s),[E,A]=b.useState(null),_=bt(a,J=>A(J)),R=b.useRef(null),D=b.useRef(null),k=l||T.duration,G=b.useRef(0),H=b.useRef(k),L=b.useRef(0),{onToastAdd:W,onToastRemove:te}=T,se=dn(()=>{E?.contains(document.activeElement)&&T.viewport?.focus(),f()}),le=b.useCallback(J=>{!J||J===1/0||(window.clearTimeout(L.current),G.current=new Date().getTime(),L.current=window.setTimeout(se,J))},[se]);b.useEffect(()=>{const J=T.viewport;if(J){const me=()=>{le(H.current),g?.()},V=()=>{const Y=new Date().getTime()-G.current;H.current=H.current-Y,window.clearTimeout(L.current),p?.()};return J.addEventListener(Gf,V),J.addEventListener(Yf,me),()=>{J.removeEventListener(Gf,V),J.removeEventListener(Yf,me)}}},[T.viewport,k,p,g,le]),b.useEffect(()=>{u&&!T.isClosePausedRef.current&&le(k)},[u,k,T.isClosePausedRef,le]),b.useEffect(()=>(W(),()=>te()),[W,te]);const ge=b.useMemo(()=>E?P0(E):null,[E]);return T.viewport?d.jsxs(d.Fragment,{children:[ge&&d.jsx(SA,{__scopeToast:s,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:ge}),d.jsx(xA,{scope:s,onClose:se,children:dc.createPortal(d.jsx(Dh.ItemSlot,{scope:s,children:d.jsx(JN,{asChild:!0,onEscapeKeyDown:Ce(m,()=>{T.isFocusedToastEscapeKeyDownRef.current||se(),T.isFocusedToastEscapeKeyDownRef.current=!1}),children:d.jsx(He.li,{tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":T.swipeDirection,...N,ref:_,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:Ce(t.onKeyDown,J=>{J.key==="Escape"&&(m?.(J.nativeEvent),J.nativeEvent.defaultPrevented||(T.isFocusedToastEscapeKeyDownRef.current=!0,se()))}),onPointerDown:Ce(t.onPointerDown,J=>{J.button===0&&(R.current={x:J.clientX,y:J.clientY})}),onPointerMove:Ce(t.onPointerMove,J=>{if(!R.current)return;const me=J.clientX-R.current.x,V=J.clientY-R.current.y,Y=!!D.current,q=["left","right"].includes(T.swipeDirection),re=["left","up"].includes(T.swipeDirection)?Math.min:Math.max,fe=q?re(0,me):0,M=q?0:re(0,V),K=J.pointerType==="touch"?10:2,Z={x:fe,y:M},$={originalEvent:J,delta:Z};Y?(D.current=Z,El(gA,v,$,{discrete:!1})):sx(Z,T.swipeDirection,K)?(D.current=Z,El(pA,y,$,{discrete:!1}),J.target.setPointerCapture(J.pointerId)):(Math.abs(me)>K||Math.abs(V)>K)&&(R.current=null)}),onPointerUp:Ce(t.onPointerUp,J=>{const me=D.current,V=J.target;
9if(V.hasPointerCapture(J.pointerId)&&V.releasePointerCapture(J.pointerId),D.current=null,R.current=null,me){const Y=J.currentTarget,q={originalEvent:J,delta:me};sx(me,T.swipeDirection,T.swipeThreshold)?El(vA,j,q,{discrete:!0}):El(yA,w,q,{discrete:!0}),Y.addEventListener("click",re=>re.preventDefault(),{once:!0})}})})})}),T.viewport)})]}):null}),SA=t=>{const{__scopeToast:a,children:s,...r}=t,l=gc(Ir,a),[u,f]=b.useState(!1),[m,p]=b.useState(!1);return EA(()=>f(!0)),b.useEffect(()=>{const g=window.setTimeout(()=>p(!0),1e3);return()=>window.clearTimeout(g)},[]),m?null:d.jsx(hc,{asChild:!0,children:d.jsx(pc,{...r,children:u&&d.jsxs(d.Fragment,{children:[l.label," ",s]})})})},jA="ToastTitle",O0=b.forwardRef((t,a)=>{const{__scopeToast:s,...r}=t;return d.jsx(He.div,{...r,ref:a})});O0.displayName=jA;var TA="ToastDescription",_0=b.forwardRef((t,a)=>{const{__scopeToast:s,...r}=t;return d.jsx(He.div,{...r,ref:a})});_0.displayName=TA;var k0="ToastAction",z0=b.forwardRef((t,a)=>{const{altText:s,...r}=t;return s.trim()?d.jsx(L0,{altText:s,asChild:!0,children:d.jsx(Oh,{...r,ref:a})}):(console.error(`Invalid prop \`altText\` supplied to \`${k0}\`. Expected non-empty \`string\`.`),null)});z0.displayName=k0;var V0="ToastClose",Oh=b.forwardRef((t,a)=>{const{__scopeToast:s,...r}=t,l=bA(V0,s);return d.jsx(L0,{asChild:!0,children:d.jsx(He.button,{type:"button",...r,ref:a,onClick:Ce(t.onClick,l.onClose)})})});Oh.displayName=V0;var L0=b.forwardRef((t,a)=>{const{__scopeToast:s,altText:r,...l}=t;return d.jsx(He.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...l,ref:a})});function P0(t){const a=[];return Array.from(t.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&a.push(r.textContent),NA(r)){const l=r.ariaHidden||r.hidden||r.style.display==="none",u=r.dataset.radixToastAnnounceExclude==="";if(!l)if(u){const f=r.dataset.radixToastAnnounceAlt;f&&a.push(f)}else a.push(...P0(r))}}),a}function El(t,a,s,{discrete:r}){const l=s.originalEvent.currentTarget,u=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:s});a&&l.addEventListener(t,a,{once:!0}),r?S0(l,u):l.dispatchEvent(u)}var sx=(t,a,s=0)=>{const r=Math.abs(t.x),l=Math.abs(t.y),u=r>l;return a==="left"||a==="right"?u&&r>s:!u&&l>s};function EA(t=()=>{}){const a=dn(t);Zn(()=>{let s=0,r=0;return s=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(a)),()=>{window.cancelAnimationFrame(s),window.cancelAnimationFrame(r)}},[a])}function NA(t){return t.nodeType===t.ELEMENT_NODE}function AA(t){const a=[],s=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const l=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||l?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;s.nextNode();)a.push(s.currentNode);return a}function lf(t){const a=document.activeElement;return t.some(s=>s===a?!0:(s.focus(),document.activeElement!==a))}var CA=A0,U0=R0,B0=D0,H0=O0,q0=_0,F0=z0,G0=Oh;function Y0(t){var a,s,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var l=t.length;for(a=0;a<l;a++)t[a]&&(s=Y0(t[a]))&&(r&&(r+=" "),r+=s)}else for(s in t)t[s]&&(r&&(r+=" "),r+=s);return r}function Q0(){for(var t,a,s=0,r="",l=arguments.length;s<l;s++)(t=arguments[s])&&(a=Y0(t))&&(r&&(r+=" "),r+=a);return r}const rx=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,ox=Q0,Zr=(t,a)=>s=>{var r;if(a?.variants==null)return ox(t,s?.class,s?.className);const{variants:l,defaultVariants:u}=a,f=Object.keys(l).map(g=>{const y=s?.[g],v=u?.[g];if(y===null)return null;const w=rx(y)||rx(v);return l[g][w]}),m=s&&Object.entries(s).reduce((g,y)=>{let[v,w]=y;return w===void 0||(g[v]=w),g},{}),p=a==null||(r=a.compoundVariants)===null||r===void 0?void 0:r.reduce((g,y)=>{let{class:v,className:w,...j}=y;return Object.entries(j).every(N=>{let[T,E]=N;return Array.isArray(E)?E.includes({...u,...m}[T]):{...u,...m}[T]===E})?[...g,v,w]:g},[]);return ox(t,f,p,s?.class,s?.className)};const RA=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),MA=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,s,r)=>r?r.toUpperCase():s.toLowerCase()),lx=t=>{const a=MA(t);return a.charAt(0).toUpperCase()+a.slice(1)},K0=(...t)=>t.filter((a,s,r)=>!!a&&a.trim()!==""&&r.indexOf(a)===s).join(" ").trim(),DA=t=>{for(const a in t)if(a.startsWith("aria-")||a==="role"||a==="title")return!0};var OA={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 _A=b.forwardRef(({color:t="currentColor",size:a=24,strokeWidth:s=2,absoluteStrokeWidth:r,className:l="",children:u,iconNode:f,...m},p)=>b.createElement("svg",{ref:p,...OA,width:a,height:a,stroke:t,strokeWidth:r?Number(s)*24/Number(a):s,className:K0("lucide",l),...!u&&!DA(m)&&{"aria-hidden":"true"},...m},[...f.map(([g,y])=>b.createElement(g,y)),...Array.isArray(u)?u:[u]]));const we=(t,a)=>{const s=b.forwardRef(({className:r,...l},u)=>b.createElement(_A,{ref:u,iconNode:a,className:K0(`lucide-${RA(lx(t))}`,`lucide-${t}`,r),...l}));return s.displayName=lx(t),s};const kA=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],X0=we("arrow-down",kA);const zA=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Cr=we("arrow-right",zA);const VA=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],LA=we("arrow-up-down",VA);const PA=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],I0=we("arrow-up",PA);const UA=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],BA=we("award",UA);const HA=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}
9],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],qA=we("building-2",HA);const FA=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],GA=we("chart-column",FA);const YA=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],QA=we("check",YA);const KA=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Z0=we("chevron-left",KA);const XA=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],$0=we("chevron-right",XA);const IA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],ZA=we("circle-alert",IA);const $A=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],WA=we("circle-check",$A);const JA=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],eC=we("clock",JA);const tC=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],cx=we("download",tC);const nC=[["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"}]],aC=we("external-link",nC);const iC=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],sC=we("file-check",iC);const rC=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],oC=we("file-text",rC);const lC=[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]],cC=we("hammer",lC);const uC=[["path",{d:"M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5",key:"1p9q5i"}],["path",{d:"M14 6a6 6 0 0 1 6 6v3",key:"1hnv84"}],["path",{d:"M4 15v-3a6 6 0 0 1 6-6",key:"9ciidu"}],["rect",{x:"2",y:"15",width:"20",height:"4",rx:"1",key:"g3x8cw"}]],W0=we("hard-hat",uC);const dC=[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]],fC=we("image-plus",dC);const hC=[["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"}]],mC=we("layers",hC);const pC=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Kf=we("loader-circle",pC);const gC=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],yC=we("log-out",gC);const vC=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],xC=we("lock",vC);const bC=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],vs=we("mail",bC);const wC=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],SC=we("map-pin",wC);const jC=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],TC=we("menu",jC);const EC=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],NC=we("message-square",EC);const AC=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],J0=we("pen",AC);const CC=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2
90 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Pr=we("phone",CC);const RC=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],e1=we("plus",RC);const MC=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],DC=we("search",MC);const OC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],_C=we("target",OC);const kC=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],t1=we("trash-2",kC);const zC=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],VC=we("trending-up",zC);const LC=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],PC=we("upload",LC);const UC=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],BC=we("users",UC);const HC=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],$r=we("x",HC),qC=(t,a)=>{const s=new Array(t.length+a.length);for(let r=0;r<t.length;r++)s[r]=t[r];for(let r=0;r<a.length;r++)s[t.length+r]=a[r];return s},FC=(t,a)=>({classGroupId:t,validator:a}),n1=(t=new Map,a=null,s)=>({nextPart:t,validators:a,classGroupId:s}),Kl="-",ux=[],GC="arbitrary..",YC=t=>{const a=KC(t),{conflictingClassGroups:s,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:f=>{if(f.startsWith("[")&&f.endsWith("]"))return QC(f);const m=f.split(Kl),p=m[0]===""&&m.length>1?1:0;return a1(m,p,a)},getConflictingClassGroupIds:(f,m)=>{if(m){const p=r[f],g=s[f];return p?g?qC(g,p):p:g||ux}return s[f]||ux}}},a1=(t,a,s)=>{if(t.length-a===0)return s.classGroupId;const l=t[a],u=s.nextPart.get(l);if(u){const g=a1(t,a+1,u);if(g)return g}const f=s.validators;if(f===null)return;const m=a===0?t.join(Kl):t.slice(a).join(Kl),p=f.length;for(let g=0;g<p;g++){const y=f[g];if(y.validator(m))return y.classGroupId}},QC=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const a=t.slice(1,-1),s=a.indexOf(":"),r=a.slice(0,s);return r?GC+r:void 0})(),KC=t=>{const{theme:a,classGroups:s}=t;return XC(s,a)},XC=(t,a)=>{const s=n1();for(const r in t){const l=t[r];_h(l,s,r,a)}return s},_h=(t,a,s,r)=>{const l=t.length;for(let u=0;u<l;u++){const f=t[u];IC(f,a,s,r)}},IC=(t,a,s,r)=>{if(typeof t=="string"){ZC(t,a,s);return}if(typeof t=="function"){$C(t,a,s,r);return}WC(t,a,s,r)},ZC=(t,a,s)=>{const r=t===""?a:i1(a,t);r.classGroupId=s},$C=(t,a,s,r)=>{if(JC(t)){_h(t(r),a,s,r);return}a.validators===null&&(a.validators=[]),a.validators.push(FC(s,t))},WC=(t,a,s,r)=>{const l=Object.entries(t),u=l.length;for(let f=0;f<u;f++){const[m,p]=l[f];_h(p,i1(a,m),s,r)}},i1=(t,a)=>{let s=t;const r=a.split(Kl),l=r.length;for(let u=0;u<l;u++){const f=r[u];let m=s.nextPart.get(f);m||(m=n1(),s.nextPart.set(f,m)),s=m}return s},JC=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,eR=t=>{if(t<1)return{get:()=>{},set:()=>{}};let a=0,s=Object.create(null),r=Object.create(null);const l=(u,f)=>{s[u]=f,a++,a>t&&(a=0,r=s,s=Object.create(null))};return{get(u){let f=s[u];if(f!==void 0)return f;if((f=r[u])!==void 0)return l(u,f),f},set(u,f){u in s?s[u]=f:l(u,f)}}},Xf="!",dx=":",tR=[],fx=(t,a,s,r,l)=>({modifiers:t,hasImportantModifier:a,baseClassName:s,maybePostfixModifierPosition:r,isExternal:l}),nR=t=>{const{prefix:a,experimentalParseClassName:s}=t;let r=l=>{const u=[];let f=0,m=0,p=0,g;const y=l.length;for(let T=0;T<y;T++){const E=l[T];if(f===0&&m===0){if(E===dx){u.push(l.slice(p,T)),p=T+1;continue}if(E==="/"){g=T;continue}}E==="["?f++:E==="]"?f--:E==="("?m++:E===")"&&m--}const v=u.length===0?l:l.slice(p);let w=v,j=!1;v.endsWith(Xf)?(w=v.slice(0,-1),j=!0):v.startsWith(Xf)&&(w=v.slice(1),j=!0);const N=g&&g>p?g-p:void 0;return fx(u,j,w,N)};if(a){const l=a+dx,u=r;r=f=>f.startsWith(l)?u(f.slice(l.length)):fx(tR,!1,f,void 0,!0)}if(s){const l=r;r=u=>s({className:u,parseClassName:l})}return r},aR=t=>{const a=new Map;
vendor: 5,205 bytes, line 9
9return t.orderSensitiveModifiers.forEach((s,r)=>{a.set(s,1e6+r)}),s=>{const r=[];let l=[];for(let u=0;u<s.length;u++){const f=s[u],m=f[0]==="[",p=a.has(f);m||p?(l.length>0&&(l.sort(),r.push(...l),l=[]),r.push(f)):l.push(f)}return l.length>0&&(l.sort(),r.push(...l)),r}},iR=t=>({cache:eR(t.cacheSize),parseClassName:nR(t),sortModifiers:aR(t),...YC(t)}),sR=/\s+/,rR=(t,a)=>{const{parseClassName:s,getClassGroupId:r,getConflictingClassGroupIds:l,sortModifiers:u}=a,f=[],m=t.trim().split(sR);let p="";for(let g=m.length-1;g>=0;g-=1){const y=m[g],{isExternal:v,modifiers:w,hasImportantModifier:j,baseClassName:N,maybePostfixModifierPosition:T}=s(y);if(v){p=y+(p.length>0?" "+p:p);continue}let E=!!T,A=r(E?N.substring(0,T):N);if(!A){if(!E){p=y+(p.length>0?" "+p:p);continue}if(A=r(N),!A){p=y+(p.length>0?" "+p:p);continue}E=!1}const _=w.length===0?"":w.length===1?w[0]:u(w).join(":"),R=j?_+Xf:_,D=R+A;if(f.indexOf(D)>-1)continue;f.push(D);const k=l(A,E);for(let G=0;G<k.length;++G){const H=k[G];f.push(R+H)}p=y+(p.length>0?" "+p:p)}return p},oR=(...t)=>{let a=0,s,r,l="";for(;a<t.length;)(s=t[a++])&&(r=s1(s))&&(l&&(l+=" "),l+=r);return l},s1=t=>{if(typeof t=="string")return t;let a,s="";for(let r=0;r<t.length;r++)t[r]&&(a=s1(t[r]))&&(s&&(s+=" "),s+=a);return s},lR=(t,...a)=>{let s,r,l,u;const f=p=>{const g=a.reduce((y,v)=>v(y),t());return s=iR(g),r=s.cache.get,l=s.cache.set,u=m,m(p)},m=p=>{const g=r(p);if(g)return g;const y=rR(p,s);return l(p,y),y};return u=f,(...p)=>u(oR(...p))},cR=[],rt=t=>{const a=s=>s[t]||cR;return a.isThemeGetter=!0,a},r1=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,o1=/^\((?:(\w[\w-]*):)?(.+)\)$/i,uR=/^\d+\/\d+$/,dR=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fR=/\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$/,hR=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,mR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,pR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rs=t=>uR.test(t),be=t=>!!t&&!Number.isNaN(Number(t)),Na=t=>!!t&&Number.isInteger(Number(t)),cf=t=>t.endsWith("%")&&be(t.slice(0,-1)),Kn=t=>dR.test(t),gR=()=>!0,yR=t=>fR.test(t)&&!hR.test(t),l1=()=>!1,vR=t=>mR.test(t),xR=t=>pR.test(t),bR=t=>!ae(t)&&!ie(t),wR=t=>Ts(t,d1,l1),ae=t=>r1.test(t),si=t=>Ts(t,f1,yR),uf=t=>Ts(t,NR,be),hx=t=>Ts(t,c1,l1),SR=t=>Ts(t,u1,xR),Nl=t=>Ts(t,h1,vR),ie=t=>o1.test(t),Er=t=>Es(t,f1),jR=t=>Es(t,AR),mx=t=>Es(t,c1),TR=t=>Es(t,d1),ER=t=>Es(t,u1),Al=t=>Es(t,h1,!0),Ts=(t,a,s)=>{const r=r1.exec(t);return r?r[1]?a(r[1]):s(r[2]):!1},Es=(t,a,s=!1)=>{const r=o1.exec(t);return r?r[1]?a(r[1]):s:!1},c1=t=>t==="position"||t==="percentage",u1=t=>t==="image"||t==="url",d1=t=>t==="length"||t==="size"||t==="bg-size",f1=t=>t==="length",NR=t=>t==="number",AR=t=>t==="family-name",h1=t=>t==="shadow",CR=()=>{const t=rt("color"),a=rt("font"),s=rt("text"),r=rt("font-weight"),l=rt("tracking"),u=rt("leading"),f=rt("breakpoint"),m=rt("container"),p=rt("spacing"),g=rt("radius"),y=rt("shadow"),v=rt("inset-shadow"),w=rt("text-shadow"),j=rt("drop-shadow"),N=rt("blur"),T=rt("perspective"),E=rt("aspect"),A=rt("ease"),_=rt("animate"),R=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...D(),ie,ae],G=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto","contain","none"],L=()=>[ie,ae,p],W=()=>[rs,"full","auto",...L()],te=()=>[Na,"none","subgrid",ie,ae],se=()=>["auto",{span:["full",Na,ie,ae]},Na,ie,ae],le=()=>[Na,"auto",ie,ae],ge=()=>["auto","min","max","fr",ie,ae],J=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],me=()=>["start","end","center","stretch","center-safe","end-safe"],V=()=>["auto",...L()],Y=()=>[rs,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...L()],q=()=>[t,ie,ae],re=()=>[...D(),mx,hx,{position:[ie,ae]}],fe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],M=()=>["auto","cover","contain",TR,wR,{size:[ie,ae]}],K=()=>[cf,Er,si],Z=()=>["","none","full",g,ie,ae],$=()=>["",be,Er,si],he=()=>["solid","dashed","dotted","double"],ye=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>[be,cf,mx,hx],$e=()=>["","none",N,ie,ae],ze=()=>["none",be,ie,ae],Gt=()=>["none",be,ie,ae],pn=()=>[be,ie,ae],gn=()=>[rs,"full",...L()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Kn],breakpoint:[Kn],color:[gR],container:[Kn],"drop-shadow":[Kn],ease:["in","out","in-out"],font:[bR],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Kn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Kn],shadow:[Kn],spacing:["px",be],text:[Kn],"text-shadow":[Kn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",rs,ae,ie,E]}
vendor: 12,864 bytes, line 9
9],container:["container"],columns:[{columns:[be,ae,ie,m]}],"break-after":[{"break-after":R()}],"break-before":[{"break-before":R()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:W()}],"inset-x":[{"inset-x":W()}],"inset-y":[{"inset-y":W()}],start:[{start:W()}],end:[{end:W()}],top:[{top:W()}],right:[{right:W()}],bottom:[{bottom:W()}],left:[{left:W()}],visibility:["visible","invisible","collapse"],z:[{z:[Na,"auto",ie,ae]}],basis:[{basis:[rs,"full","auto",m,...L()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[be,rs,"auto","initial","none",ae]}],grow:[{grow:["",be,ie,ae]}],shrink:[{shrink:["",be,ie,ae]}],order:[{order:[Na,"first","last","none",ie,ae]}],"grid-cols":[{"grid-cols":te()}],"col-start-end":[{col:se()}],"col-start":[{"col-start":le()}],"col-end":[{"col-end":le()}],"grid-rows":[{"grid-rows":te()}],"row-start-end":[{row:se()}],"row-start":[{"row-start":le()}],"row-end":[{"row-end":le()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ge()}],"auto-rows":[{"auto-rows":ge()}],gap:[{gap:L()}],"gap-x":[{"gap-x":L()}],"gap-y":[{"gap-y":L()}],"justify-content":[{justify:[...J(),"normal"]}],"justify-items":[{"justify-items":[...me(),"normal"]}],"justify-self":[{"justify-self":["auto",...me()]}],"align-content":[{content:["normal",...J()]}],"align-items":[{items:[...me(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...me(),{baseline:["","last"]}]}],"place-content":[{"place-content":J()}],"place-items":[{"place-items":[...me(),"baseline"]}],"place-self":[{"place-self":["auto",...me()]}],p:[{p:L()}],px:[{px:L()}],py:[{py:L()}],ps:[{ps:L()}],pe:[{pe:L()}],pt:[{pt:L()}],pr:[{pr:L()}],pb:[{pb:L()}],pl:[{pl:L()}],m:[{m:V()}],mx:[{mx:V()}],my:[{my:V()}],ms:[{ms:V()}],me:[{me:V()}],mt:[{mt:V()}],mr:[{mr:V()}],mb:[{mb:V()}],ml:[{ml:V()}],"space-x":[{"space-x":L()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":L()}],"space-y-reverse":["space-y-reverse"],size:[{size:Y()}],w:[{w:[m,"screen",...Y()]}],"min-w":[{"min-w":[m,"screen","none",...Y()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[f]},...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",s,Er,si]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ie,uf]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",cf,ae]}],"font-family":[{font:[jR,ae,a]}],"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:[l,ie,ae]}],"line-clamp":[{"line-clamp":[be,"none",ie,uf]}],leading:[{leading:[u,...L()]}],"list-image":[{"list-image":["none",ie,ae]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ie,ae]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:q()}],"text-color":[{text:q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...he(),"wavy"]}],"text-decoration-thickness":[{decoration:[be,"from-font","auto",ie,si]}],"text-decoration-color":[{decoration:q()}],"underline-offset":[{"underline-offset":[be,"auto",ie,ae]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ie,ae]}],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",ie,ae]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:re()}],"bg-repeat":[{bg:fe()}],"bg-size":[{bg:M()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Na,ie,ae],radial:["",ie,ae],conic:[Na,ie,ae]},ER,SR]}],"bg-color":[{bg:q()}],"gradient-from-pos":[{from:K()}],"gradient-via-pos":[{via:K()}],"gradient-to-pos":[{to:K()}],"gradient-from":[{from:q()}],"gradient-via":[{via:q()}],"gradient-to":[{to:q()}],rounded:[{rounded:Z()}],"rounded-s":[{"rounded-s":Z()}],"rounded-e":[{"rounded-e":Z()}],"rounded-t":[{"rounded-t":Z()}],"rounded-r":[{"rounded-r":Z()}],"rounded-b":[{"rounded-b":Z()}],"rounded-l":[{"rounded-l":Z()}],"rounded-ss":[{"rounded-ss":Z()}],"rounded-se":[{"rounded-se":Z()}],"rounded-ee":[{"rounded-ee":Z()}],"rounded-es":[{"rounded-es":Z()}],"rounded-tl":[{"rounded-tl":Z()}],"rounded-tr":[{"rounded-tr":Z()}],"rounded-br":[{"rounded-br":Z()}],"rounded-bl":[{"rounded-bl":Z()}],"border-w":[{border:$()}],"border-w-x":[{"border-x":$()}],"border-w-y":[{"border-y":$()}],"border-w-s":[{"border-s":$()}],"border-w-e":[{"border-e":$()}],"border-w-t":[{"border-t":$()}],"border-w-r":[{"border-r":$()}],"border-w-b":[{"border-b":$()}],"border-w-l":[{"border-l":$()}],"divide-x":[{"divide-x":$()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":$()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...he(),"hidden","none"]}],"divide-style":[{divide:[...he(),"hidden","none"]}],"border-color":[{border:q()}],"border-color-x":[{"border-x":q()}],"border-color-y":[{"border-y":q()}],"border-color-s":[{"border-s":q()}],"border-color-e":[{"border-e":q()}],"border-color-t":[{"border-t":q()}],"border-color-r":[{"border-r":q()}],"border-color-b":[{"border-b":q()}],"border-color-l":[{"border-l":q()}],"divide-color":[{divide:q()}],"outline-style":[{outline:[...he(),"none","hidden"]}],"outline-offset":[{"outline-offset":[be,ie,ae]}],"outline-w":[{outline:["",be,Er,si]}],"outline-color":[{outline:q()}],shadow:[{shadow:["","none",y,Al,Nl]}],"shadow-color":[{shadow:q()}],"inset-shadow":[{"inset-shadow":["none",v,Al,Nl]}],"inset-shadow-color":[{"inset-shadow":q()}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:q()}],"ring-offset-w":[{"ring-offset":[be,si]}],"ring-offset-color":[{"ring-offset":q()}],"inset-ring-w":[{"inset-ring":$()}],"inset-ring-color":[{"inset-ring":q()}],"text-shadow":[{"text-shadow":["none",w,Al,Nl]}],"text-shadow-color":[{"text-shadow":q()}],opacity:[{opacity:[be,ie,ae]}],"mix-blend":[{"mix-blend":[...ye(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ye()}],"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":[be]}],"mask-image-linear-from-pos":[{"mask-linear-from":ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":ce()}],"mask-image-linear-from-color":[{"mask-linear-from":q()}],"mask-image-linear-to-color":[{"mask-linear-to":q()}],"mask-image-t-from-pos":[{"mask-t-from":ce()}],"mask-image-t-to-pos":[{"mask-t-to":ce()}],"mask-image-t-from-color":[{"mask-t-from":q()}],"mask-image-t-to-color":[{"mask-t-to":q()}],"mask-image-r-from-pos":[{"mask-r-from":ce()}],"mask-image-r-to-pos":[{"mask-r-to":ce()}],"mask-image-r-from-color":[{"mask-r-from":q()}],"mask-image-r-to-color":[{"mask-r-to":q()}],"mask-image-b-from-pos":[{"mask-b-from":ce()}],"mask-image-b-to-pos":[{"mask-b-to":ce()}],"mask-image-b-from-color":[{"mask-b-from":q()}],"mask-image-b-to-color":[{"mask-b-to":q()}],"mask-image-l-from-pos":[{"mask-l-from":ce()}],"mask-image-l-to-pos":[{"mask-l-to":ce()}],"mask-image-l-from-color":[{"mask-l-from":q()}],"mask-image-l-to-color":[{"mask-l-to":q()}],"mask-image-x-from-pos":[{"mask-x-from":ce()}],"mask-image-x-to-pos":[{"mask-x-to":ce()}],"mask-image-x-from-color":[{"mask-x-from":q()}],"mask-image-x-to-color":[{"mask-x-to":q()}],"mask-image-y-from-pos":[{"mask-y-from":ce()}],"mask-image-y-to-pos":[{"mask-y-to":ce()}],"mask-image-y-from-color":[{"mask-y-from":q()}],"mask-image-y-to-color":[{"mask-y-to":q()}],"mask-image-radial":[{"mask-radial":[ie,ae]}],"mask-image-radial-from-pos":[{"mask-radial-from":ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":ce()}],"mask-image-radial-from-color":[{"mask-radial-from":q()}],"mask-image-radial-to-color":[{"mask-radial-to":q()}],"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":D()}],"mask-image-conic-pos":[{"mask-conic":[be]}],"mask-image-conic-from-pos":[{"mask-conic-from":ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":ce()}],"mask-image-conic-from-color":[{"mask-conic-from":q()}],"mask-image-conic-to-color":[{"mask-conic-to":q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:re()}],"mask-repeat":[{mask:fe()}],"mask-size":[{mask:M()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ie,ae]}],filter:[{filter:["","none",ie,ae]}],blur:[{blur:$e()}],brightness:[{brightness:[be,ie,ae]}],contrast:[{contrast:[be,ie,ae]}],"drop-shadow":[{"drop-shadow":["","none",j,Al,Nl]}],"drop-shadow-color":[{"drop-shadow":q()}],grayscale:[{grayscale:["",be,ie,ae]}],"hue-rotate":[{"hue-rotate":[be,ie,ae]}],invert:[{invert:["",be,ie,ae]}],saturate:[{saturate:[be,ie,ae]}],sepia:[{sepia:["",be,ie,ae]}],"backdrop-filter":[{"backdrop-filter":["","none",ie,ae]}],"backdrop-blur":[{"backdrop-blur":$e()}],"backdrop-brightness":[{"backdrop-brightness":[be,ie,ae]}],"backdrop-contrast":[{"backdrop-contrast":[be,ie,ae]}],"backdrop-grayscale":[{"backdrop-grayscale":["",be,ie,ae]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[be,ie,ae]}],"backdrop-invert":[{"backdrop-invert":["",be,ie,ae]}],"backdrop-opacity":[{"backdrop-opacity":[be,ie,ae]}],"backdrop-saturate":[{"backdrop-saturate":[be,ie,ae]}],"backdrop-sepia":[{"backdrop-sepia":["",be,ie,ae]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":L()}],"border-spacing-x":[{"border-spacing-x":L()}],"border-spacing-y":[{"border-spacing-y":L()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ie,ae]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[be,"initial",ie,ae]}],ease:[{ease:["linear","initial",A,ie,ae]}],delay:[{delay:[be,ie,ae]}],animate:[{animate:["none",_,ie,ae]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[T,ie,ae]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:ze()}],"rotate-x":[{"rotate-x":ze()}],"rotate-y":[{"rotate-y":ze()}],"rotate-z":[{"rotate-z":ze()}],scale:[{scale:Gt()}],"scale-x":[{"scale-x":Gt()}],"scale-y":[{"scale-y":Gt()}],"scale-z":[{"scale-z":Gt()}],"scale-3d":["scale-3d"],skew:[{skew:pn()}],"skew-x":[{"skew-x":pn()}],"skew-y":[{"skew-y":pn()}],transform:[{transform:[ie,ae,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:gn()}],"translate-x":[{"translate-x":gn()}],"translate-y":[{"translate-y":gn()}],"translate-z":[{"translate-z":gn()}],"translate-none":["translate-none"],accent:[{accent:q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:q()}
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",ie,ae]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"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",ie,ae]}],fill:[{fill:["none",...q()]}],"stroke-w":[{stroke:[be,Er,si,uf]}],stroke:[{stroke:["none",...q()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},RR=lR(CR);function Re(...t){return RR(Q0(t))}const MR=CA,m1=b.forwardRef(({className:t,...a},s)=>d.jsx(U0,{ref:s,className:Re("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",t),...a}));m1.displayName=U0.displayName;const DR=Zr("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),p1=b.forwardRef(({className:t,variant:a,...s},r)=>d.jsx(B0,{ref:r,className:Re(DR({variant:a}),t),...s}));p1.displayName=B0.displayName;const OR=b.forwardRef(({className:t,...a},s)=>d.jsx(F0,{ref:s,className:Re("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",t),...a}));OR.displayName=F0.displayName;const g1=b.forwardRef(({className:t,...a},s)=>d.jsx(G0,{ref:s,className:Re("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 17,559 bytes, line 9
9/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t),"toast-close":"",...a,children:d.jsx($r,{className:"h-4 w-4"})}));g1.displayName=G0.displayName;const y1=b.forwardRef(({className:t,...a},s)=>d.jsx(H0,{ref:s,className:Re("text-sm font-semibold",t),...a}));y1.displayName=H0.displayName;const v1=b.forwardRef(({className:t,...a},s)=>d.jsx(q0,{ref:s,className:Re("text-sm opacity-90",t),...a}));v1.displayName=q0.displayName;function _R(){const{toasts:t}=Kr();return d.jsxs(MR,{children:[t.map(function({id:a,title:s,description:r,action:l,...u}){return d.jsxs(p1,{...u,children:[d.jsxs("div",{className:"grid gap-1",children:[s&&d.jsx(y1,{children:s}),r&&d.jsx(v1,{children:r})]}),l,d.jsx(g1,{})]},a)}),d.jsx(m1,{})]})}var kR=lc[" useId ".trim().toString()]||(()=>{}),zR=0;function Or(t){const[a,s]=b.useState(kR());return Zn(()=>{s(r=>r??String(zR++))},[t]),a?`radix-${a}`:""}const VR=["top","right","bottom","left"],_a=Math.min,qt=Math.max,Xl=Math.round,Cl=Math.floor,Tn=t=>({x:t,y:t}),LR={left:"right",right:"left",bottom:"top",top:"bottom"},PR={start:"end",end:"start"};function If(t,a,s){return qt(t,_a(a,s))}function $n(t,a){return typeof t=="function"?t(a):t}function Wn(t){return t.split("-")[0]}function Ns(t){return t.split("-")[1]}function kh(t){return t==="x"?"y":"x"}function zh(t){return t==="y"?"height":"width"}const UR=new Set(["top","bottom"]);function jn(t){return UR.has(Wn(t))?"y":"x"}function Vh(t){return kh(jn(t))}function BR(t,a,s){s===void 0&&(s=!1);const r=Ns(t),l=Vh(t),u=zh(l);let f=l==="x"?r===(s?"end":"start")?"right":"left":r==="start"?"bottom":"top";return a.reference[u]>a.floating[u]&&(f=Il(f)),[f,Il(f)]}function HR(t){const a=Il(t);return[Zf(t),a,Zf(a)]}function Zf(t){return t.replace(/start|end/g,a=>PR[a])}const px=["left","right"],gx=["right","left"],qR=["top","bottom"],FR=["bottom","top"];function GR(t,a,s){switch(t){case"top":case"bottom":return s?a?gx:px:a?px:gx;case"left":case"right":return a?qR:FR;default:return[]}}function YR(t,a,s,r){const l=Ns(t);let u=GR(Wn(t),s==="start",r);return l&&(u=u.map(f=>f+"-"+l),a&&(u=u.concat(u.map(Zf)))),u}function Il(t){return t.replace(/left|right|bottom|top/g,a=>LR[a])}function QR(t){return{top:0,right:0,bottom:0,left:0,...t}}function x1(t){return typeof t!="number"?QR(t):{top:t,right:t,bottom:t,left:t}}function Zl(t){const{x:a,y:s,width:r,height:l}=t;return{width:r,height:l,top:s,left:a,right:a+r,bottom:s+l,x:a,y:s}}function yx(t,a,s){let{reference:r,floating:l}=t;const u=jn(a),f=Vh(a),m=zh(f),p=Wn(a),g=u==="y",y=r.x+r.width/2-l.width/2,v=r.y+r.height/2-l.height/2,w=r[m]/2-l[m]/2;let j;switch(p){case"top":j={x:y,y:r.y-l.height};break;case"bottom":j={x:y,y:r.y+r.height};break;case"right":j={x:r.x+r.width,y:v};break;case"left":j={x:r.x-l.width,y:v};break;default:j={x:r.x,y:r.y}}switch(Ns(a)){case"start":j[f]-=w*(s&&g?-1:1);break;case"end":j[f]+=w*(s&&g?-1:1);break}return j}const KR=async(t,a,s)=>{const{placement:r="bottom",strategy:l="absolute",middleware:u=[],platform:f}=s,m=u.filter(Boolean),p=await(f.isRTL==null?void 0:f.isRTL(a));let g=await f.getElementRects({reference:t,floating:a,strategy:l}),{x:y,y:v}=yx(g,r,p),w=r,j={},N=0;for(let T=0;T<m.length;T++){const{name:E,fn:A}=m[T],{x:_,y:R,data:D,reset:k}=await A({x:y,y:v,initialPlacement:r,placement:w,strategy:l,middlewareData:j,rects:g,platform:f,elements:{reference:t,floating:a}});y=_??y,v=R??v,j={...j,[E]:{...j[E],...D}},k&&N<=50&&(N++,typeof k=="object"&&(k.placement&&(w=k.placement),k.rects&&(g=k.rects===!0?await f.getElementRects({reference:t,floating:a,strategy:l}):k.rects),{x:y,y:v}=yx(g,w,p)),T=-1)}return{x:y,y:v,placement:w,strategy:l,middlewareData:j}};async function Ur(t,a){var s;a===void 0&&(a={});const{x:r,y:l,platform:u,rects:f,elements:m,strategy:p}=t,{boundary:g="clippingAncestors",rootBoundary:y="viewport",elementContext:v="floating",altBoundary:w=!1,padding:j=0}=$n(a,t),N=x1(j),E=m[w?v==="floating"?"reference":"floating":v],A=Zl(await u.getClippingRect({element:(s=await(u.isElement==null?void 0:u.isElement(E)))==null||s?E:E.contextElement||await(u.getDocumentElement==null?void 0:u.getDocumentElement(m.floating)),boundary:g,rootBoundary:y,strategy:p})),_=v==="floating"?{x:r,y:l,width:f.floating.width,height:f.floating.height}:f.reference,R=await(u.getOffsetParent==null?void 0:u.getOffsetParent(m.floating)),D=await(u.isElement==null?void 0:u.isElement(R))?await(u.getScale==null?void 0:u.getScale(R))||{x:1,y:1}:{x:1,y:1},k=Zl(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:m,rect:_,offsetParent:R,strategy:p}):_);return{top:(A.top-k.top+N.top)/D.y,bottom:(k.bottom-A.bottom+N.bottom)/D.y,left:(A.left-k.left+N.left)/D.x,right:(k.right-A.right+N.right)/D.x}}const XR=t=>({name:"arrow",options:t,async fn(a){const{x:s,y:r,placement:l,rects:u,platform:f,elements:m,middlewareData:p}=a,{element:g,padding:y=0}=$n(t,a)||{};if(g==null)return{};const v=x1(y),w={x:s,y:r},j=Vh(l),N=zh(j),T=await f.getDimensions(g),E=j==="y",A=E?"top":"left",_=E?"bottom":"right",R=E?"clientHeight":"clientWidth",D=u.reference[N]+u.reference[j]-w[j]-u.floating[N],k=w[j]-u.reference[j],G=await(f.getOffsetParent==null?void 0:f.getOffsetParent(g));let H=G?G[R]:0;(!H||!await(f.isElement==null?void 0:f.isElement(G)))&&(H=m.floating[R]||u.floating[N]);const L=D/2-k/2,W=H/2-T[N]/2-1,te=_a(v[A],W),se=_a(v[_],W),le=te,ge=H-T[N]-se,J=H/2-T[N]/2+L,me=If(le,J,ge),V=!p.arrow&&Ns(l)!=null&&J!==me&&u.reference[N]/2-(J<le?te:se)-T[N]/2<0,Y=V?J<le?J-le:J-ge:0;return{[j]:w[j]+Y,data:{[j]:me,centerOffset:J-me-Y,...V&&{alignmentOffset:Y}},reset:V}}}),IR=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(a){var s,r;const{placement:l,middlewareData:u,rects:f,initialPlacement:m,platform:p,elements:g}=a,{mainAxis:y=!0,crossAxis:v=!0,fallbackPlacements:w,fallbackStrategy:j="bestFit",fallbackAxisSideDirection:N="none",flipAlignment:T=!0,...E}=$n(t,a);if((s=u.arrow)!=null&&s.alignmentOffset)return{};const A=Wn(l),_=jn(m),R=Wn(m)===m,D=await(p.isRTL==null?void 0:p.isRTL(g.floating)),k=w||(R||!T?[Il(m)]:HR(m)),G=N!=="none";!w&&G&&k.push(...YR(m,T,N,D));const H=[m,...k],L=await Ur(a,E),W=[];let te=((r=u.flip)==null?void 0:r.overflows)||[];if(y&&W.push(L[A]),v){const J=BR(l,f,D);W.push(L[J[0]],L[J[1]])}if(te=[...te,{placement:l,overflows:W}],!W.every(J=>J<=0)){var se,le;const J=(((se=u.flip)==null?void 0:se.index)||0)+1,me=H[J];if(me&&(!(v==="alignment"?_!==jn(me):!1)||te.every(q=>jn(q.placement)===_?q.overflows[0]>0:!0)))return{data:{index:J,overflows:te},reset:{placement:me}};let V=(le=te.filter(Y=>Y.overflows[0]<=0).sort((Y,q)=>Y.overflows[1]-q.overflows[1])[0])==null?void 0:le.placement;if(!V)switch(j){case"bestFit":{var ge;const Y=(ge=te.filter(q=>{if(G){const re=jn(q.placement);return re===_||re==="y"}return!0}).map(q=>[q.placement,q.overflows.filter(re=>re>0).reduce((re,fe)=>re+fe,0)]).sort((q,re)=>q[1]-re[1])[0])==null?void 0:ge[0];Y&&(V=Y);break}case"initialPlacement":V=m;break}if(l!==V)return{reset:{placement:V}}}return{}}}};function vx(t,a){return{top:t.top-a.height,right:t.right-a.width,bottom:t.bottom-a.height,left:t.left-a.width}}function xx(t){return VR.some(a=>t[a]>=0)}const ZR=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(a){const{rects:s}=a,{strategy:r="referenceHidden",...l}=$n(t,a);switch(r){case"referenceHidden":{const u=await Ur(a,{...l,elementContext:"reference"}),f=vx(u,s.reference);return{data:{referenceHiddenOffsets:f,referenceHidden:xx(f)}}}case"escaped":{const u=await Ur(a,{...l,altBoundary:!0}),f=vx(u,s.floating);return{data:{escapedOffsets:f,escaped:xx(f)}}}default:return{}}}}},b1=new Set(["left","top"]);async function $R(t,a){const{placement:s,platform:r,elements:l}=t,u=await(r.isRTL==null?void 0:r.isRTL(l.floating)),f=Wn(s),m=Ns(s),p=jn(s)==="y",g=b1.has(f)?-1:1,y=u&&p?-1:1,v=$n(a,t);let{mainAxis:w,crossAxis:j,alignmentAxis:N}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return m&&typeof N=="number"&&(j=m==="end"?N*-1:N),p?{x:j*y,y:w*g}:{x:w*g,y:j*y}}const WR=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(a){var s,r;const{x:l,y:u,placement:f,middlewareData:m}=a,p=await $R(a,t);return f===((s=m.offset)==null?void 0:s.placement)&&(r=m.arrow)!=null&&r.alignmentOffset?{}:{x:l+p.x,y:u+p.y,data:{...p,placement:f}}}}},JR=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(a){const{x:s,y:r,placement:l}=a,{mainAxis:u=!0,crossAxis:f=!1,limiter:m={fn:E=>{let{x:A,y:_}=E;return{x:A,y:_}}},...p}=$n(t,a),g={x:s,y:r},y=await Ur(a,p),v=jn(Wn(l)),w=kh(v);let j=g[w],N=g[v];if(u){const E=w==="y"?"top":"left",A=w==="y"?"bottom":"right",_=j+y[E],R=j-y[A];j=If(_,j,R)}if(f){const E=v==="y"?"top":"left",A=v==="y"?"bottom":"right",_=N+y[E],R=N-y[A];N=If(_,N,R)}const T=m.fn({...a,[w]:j,[v]:N});return{...T,data:{x:T.x-s,y:T.y-r,enabled:{[w]:u,[v]:f}}}}}},eM=function(t){return t===void 0&&(t={}),{options:t,fn(a){const{x:s,y:r,placement:l,rects:u,middlewareData:f}=a,{offset:m=0,mainAxis:p=!0,crossAxis:g=!0}=$n(t,a),y={x:s,y:r},v=jn(l),w=kh(v);let j=y[w],N=y[v];const T=$n(m,a),E=typeof T=="number"?{mainAxis:T,crossAxis:0}:{mainAxis:0,crossAxis:0,...T};if(p){const R=w==="y"?"height":"width",D=u.reference[w]-u.floating[R]+E.mainAxis,k=u.reference[w]+u.reference[R]-E.mainAxis;j<D?j=D:j>k&&(j=k)}if(g){var A,_;const R=w==="y"?"width":"height",D=b1.has(Wn(l)),k=u.reference[v]-u.floating[R]+(D&&((A=f.offset)==null?void 0:A[v])||0)+(D?0:E.crossAxis),G=u.reference[v]+u.reference[R]+(D?0:((_=f.offset)==null?void 0:_[v])||0)-(D?E.crossAxis:0);N<k?N=k:N>G&&(N=G)}return{[w]:j,[v]:N}}}},tM=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(a){var s,r;const{placement:l,rects:u,platform:f,elements:m}=a,{apply:p=()=>{},...g}=$n(t,a),y=await Ur(a,g),v=Wn(l),w=Ns(l),j=jn(l)==="y",{width:N,height:T}=u.floating;let E,A;v==="top"||v==="bottom"?(E=v,A=w===(await(f.isRTL==null?void 0:f.isRTL(m.floating))?"start":"end")?"left":"right"):(A=v,E=w==="end"?"top":"bottom");const _=T-y.top-y.bottom,R=N-y.left-y.right,D=_a(T-y[E],_),k=_a(N-y[A],R),G=!a.middlewareData.shift;let H=D,L=k;if((s=a.middlewareData.shift)!=null&&s.enabled.x&&(L=R),(r=a.middlewareData.shift)!=null&&r.enabled.y&&(H=_),G&&!w){const te=qt(y.left,0),se=qt(y.right,0),le=qt(y.top,0),ge=qt(y.bottom,0);j?L=N-2*(te!==0||se!==0?te+se:qt(y.left,y.right)):H=T-2*(le!==0||ge!==0?le+ge:qt(y.top,y.bottom))}await p({...a,availableWidth:L,availableHeight:H});const W=await f.getDimensions(m.floating);return N!==W.width||T!==W.height?{reset:{rects:!0}}:{}}}};function yc(){return typeof window<"u"}function As(t){return w1(t)?(t.nodeName||"").toLowerCase():"#document"}function Ft(t){var a;return(t==null||(a=t.ownerDocument)==null?void 0:a.defaultView)||window}function Cn(t){var a;return(a=(w1(t)?t.ownerDocument:t.document)||window.document)==null?void 0:a.documentElement}function w1(t){return yc()?t instanceof Node||t instanceof Ft(t).Node:!1}function fn(t){return yc()?t instanceof Element||t instanceof Ft(t).Element:!1}function Nn(t){return yc()?t instanceof HTMLElement||t instanceof Ft(t).HTMLElement:!1}function bx(t){return!yc()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ft(t).ShadowRoot}const nM=new Set(["inline","contents"]);function Wr(t){const{overflow:a,overflowX:s,overflowY:r,display:l}=hn(t);return/auto|scroll|overlay|hidden|clip/.test(a+r+s)&&!nM.has(l)}const aM=new Set(["table","td","th"]);function iM(t){return aM.has(As(t))}const sM=[":popover-open",":modal"];function vc(t){return sM.some(a=>{try{return t.matches(a)}catch{return!1}})}const rM=["transform","translate","scale","rotate","perspective"],oM=["transform","translate","scale","rotate","perspective","filter"],lM=["paint","layout","strict","content"];function Lh(t){const a=Ph(),s=fn(t)?hn(t):t;return rM.some(r=>s[r]?s[r]!=="none":!1)||(s.containerType?s.containerType!=="normal":!1)||!a&&(s.backdropFilter?s.backdropFilter!=="none":!1)||!a&&(s.filter?s.filter!=="none":!1)||oM.some(r=>(s.willChange||"").includes(r))||lM.some(r=>(s.contain||"").includes(r))}function cM(t){let a=ka(t);for(;Nn(a)&&!xs(a);){if(Lh(a))return a;if(vc(a))return null;a=ka(a)}return null}function Ph(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const uM=new Set(["html","body","#document"]);function xs(t){return uM.has(As(t))}function hn(t){return Ft(t).getComputedStyle(t)}function xc(t){return fn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ka(t){if(As(t)==="html")return t;const a=t.assignedSlot||t.parentNode||bx(t)&&t.host||Cn(t);return bx(a)?a.host:a}function S1(t){const a=ka(t);return xs(a)?t.ownerDocument?t.ownerDocument.body:t.body:Nn(a)&&Wr(a)?a:S1(a)}function Br(t,a,s){var r;a===void 0&&(a=[]),s===void 0&&(s=!0);const l=S1(t),u=l===((r=t.ownerDocument)==null?void 0:r.body),f=Ft(l);if(u){const m=$f(f);return a.concat(f,f.visualViewport||[],Wr(l)?l:[],m&&s?Br(m):[])}return a.concat(l,Br(l,[],s))}function $f(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function j1(t){const a=hn(t);let s=parseFloat(a.width)||0,r=parseFloat(a.height)||0;const l=Nn(t),u=l?t.offsetWidth:s,f=l?t.offsetHeight:r,m=Xl(s)!==u||Xl(r)!==f;return m&&(s=u,r=f),{width:s,height:r,$:m}}function Uh(t){return fn(t)?t:t.contextElement}function ms(t){const a=Uh(t);if(!Nn(a))return Tn(1);const s=a.getBoundingClientRect(),{width:r,height:l,$:u}=j1(a);let f=(u?Xl(s.width):s.width)/r,m=(u?Xl(s.height):s.height)/l;return(!f||!Number.isFinite(f))&&(f=1),(!m||!Number.isFinite(m))&&(m=1),{x:f,y:m}}const dM=Tn(0);function T1(t){const a=Ft(t);return!Ph()||!a.visualViewport?dM:{x:a.visualViewport.offsetLeft,y:a.visualViewport.offsetTop}}function fM(t,a,s){return a===void 0&&(a=!1),!s||a&&s!==Ft(t)?!1:a}function yi(t,a,s,r){a===void 0&&(a=!1),s===void 0&&(s=!1);const l=t.getBoundingClientRect(),u=Uh(t);let f=Tn(1);a&&(r?fn(r)&&(f=ms(r)):f=ms(t));const m=fM(u,s,r)?T1(u):Tn(0);let p=(l.left+m.x)/f.x,g=(l.top+m.y)/f.y,y=l.width/f.x,v=l.height/f.y;if(u){const w=Ft(u),j=r&&fn(r)?Ft(r):r;let N=w,T=$f(N);for(;T&&r&&j!==N;){const E=ms(T),A=T.getBoundingClientRect(),_=hn(T),R=A.left+(T.clientLeft+parseFloat(_.paddingLeft))*E.x,D=A.top+(T.clientTop+parseFloat(_.paddingTop))*E.y;p*=E.x,g*=E.y,y*=E.x,v*=E.y,p+=R,g+=D,N=Ft(T),T=$f(N)}}return Zl({width:y,height:v,x:p,y:g})}function bc(t,a){const s=xc(t).scrollLeft;return a?a.left+s:yi(Cn(t)).left+s}function E1(t,a){const s=t.getBoundingClientRect(),r=s.left+a.scrollLeft-bc(t,s),l=s.top+a.scrollTop;return{x:r,y:l}}function hM(t){let{elements:a,rect:s,offsetParent:r,strategy:l}=t;const u=l==="fixed",f=Cn(r),m=a?vc(a.floating):!1;if(r===f||m&&u)return s;let p={scrollLeft:0,scrollTop:0},g=Tn(1);const y=Tn(0),v=Nn(r);if((v||!v&&!u)&&((As(r)!=="body"||Wr(f))&&(p=xc(r)),Nn(r))){const j=yi(r);g=ms(r),y.x=j.x+r.clientLeft,y.y=j.y+r.clientTop}const w=f&&!v&&!u?E1(f,p):Tn(0);return{width:s.width*g.x,height:s.height*g.y,x:s.x*g.x-p.scrollLeft*g.x+y.x+w.x,y:s.y*g.y-p.scrollTop*g.y+y.y+w.y}}function mM(t){return Array.from(t.getClientRects())}function pM(t){const a=Cn(t),s=xc(t),r=t.ownerDocument.body,l=qt(a.scrollWidth,a.clientWidth,r.scrollWidth,r.clientWidth),u=qt(a.scrollHeight,a.clientHeight,r.scrollHeight,r.clientHeight);let f=-s.scrollLeft+bc(t);const m=-s.scrollTop;return hn(r).direction==="rtl"&&(f+=qt(a.clientWidth,r.clientWidth)-l),{width:l,height:u,x:f,y:m}}const wx=25;function gM(t,a){const s=Ft(t),r=Cn(t),l=s.visualViewport;let u=r.clientWidth,f=r.clientHeight,m=0,p=0;if(l){u=l.width,f=l.height;const y=Ph();(!y||y&&a==="fixed")&&(m=l.offsetLeft,p=l.offsetTop)}const g=bc(r);if(g<=0){const y=r.ownerDocument,v=y.body,w=getComputedStyle(v),j=y.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,N=Math.abs(r.clientWidth-v.clientWidth-j);N<=wx&&(u-=N)}else g<=wx&&(u+=g);return{width:u,height:f,x:m,y:p}}const yM=new Set(["absolute","fixed"]);function vM(t,a){const s=yi(t,!0,a==="fixed"),r=s.top+t.clientTop,l=s.left+t.clientLeft,u=Nn(t)?ms(t):Tn(1),f=t.clientWidth*u.x,m=t.clientHeight*u.y,p=l*u.x,g=r*u.y;return{width:f,height:m,x:p,y:g}}function Sx(t,a,s){let r;if(a==="viewport")r=gM(t,s);else if(a==="document")r=pM(Cn(t));else if(fn(a))r=vM(a,s);else{const l=T1(t);r={x:a.x-l.x,y:a.y-l.y,width:a.width,height:a.height}}return Zl(r)}function N1(t,a){const s=ka(t);return s===a||!fn(s)||xs(s)?!1:hn(s).position==="fixed"||N1(s,a)}function xM(t,a){const s=a.get(t);if(s)return s;let r=Br(t,[],!1).filter(m=>fn(m)&&As(m)!=="body"),l=null;const u=hn(t).position==="fixed";let f=u?ka(t):t;for(;fn(f)&&!xs(f);){const m=hn(f),p=Lh(f);!p&&m.position==="fixed"&&(l=null),(u?!p&&!l:!p&&m.position==="static"&&!!l&&yM.has(l.position)||Wr(f)&&!p&&N1(t,f))?r=r.filter(y=>y!==f):l=m,f=ka(f)}return a.set(t,r),r}function bM(t){let{element:a,boundary:s,rootBoundary:r,strategy:l}=t;const f=[...s==="clippingAncestors"?vc(a)?[]:xM(a,this._c):[].concat(s),r],m=f[0],p=f.reduce((g,y)=>{const v=Sx(a,y,l);return g.top=qt(v.top,g.top),g.right=_a(v.right,g.right),g.bottom=_a(v.bottom,g.bottom),g.left=qt(v.left,g.left),g},Sx(a,m,l));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function wM(t){const{width:a,height:s}=j1(t);return{width:a,height:s}}
vendor: 4,572 bytes, line 9
9function SM(t,a,s){const r=Nn(a),l=Cn(a),u=s==="fixed",f=yi(t,!0,u,a);let m={scrollLeft:0,scrollTop:0};const p=Tn(0);function g(){p.x=bc(l)}if(r||!r&&!u)if((As(a)!=="body"||Wr(l))&&(m=xc(a)),r){const j=yi(a,!0,u,a);p.x=j.x+a.clientLeft,p.y=j.y+a.clientTop}else l&&g();u&&!r&&l&&g();const y=l&&!r&&!u?E1(l,m):Tn(0),v=f.left+m.scrollLeft-p.x-y.x,w=f.top+m.scrollTop-p.y-y.y;return{x:v,y:w,width:f.width,height:f.height}}function df(t){return hn(t).position==="static"}function jx(t,a){if(!Nn(t)||hn(t).position==="fixed")return null;if(a)return a(t);let s=t.offsetParent;return Cn(t)===s&&(s=s.ownerDocument.body),s}function A1(t,a){const s=Ft(t);if(vc(t))return s;if(!Nn(t)){let l=ka(t);for(;l&&!xs(l);){if(fn(l)&&!df(l))return l;l=ka(l)}return s}let r=jx(t,a);for(;r&&iM(r)&&df(r);)r=jx(r,a);return r&&xs(r)&&df(r)&&!Lh(r)?s:r||cM(t)||s}const jM=async function(t){const a=this.getOffsetParent||A1,s=this.getDimensions,r=await s(t.floating);return{reference:SM(t.reference,await a(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function TM(t){return hn(t).direction==="rtl"}const EM={convertOffsetParentRelativeRectToViewportRelativeRect:hM,getDocumentElement:Cn,getClippingRect:bM,getOffsetParent:A1,getElementRects:jM,getClientRects:mM,getDimensions:wM,getScale:ms,isElement:fn,isRTL:TM};function C1(t,a){return t.x===a.x&&t.y===a.y&&t.width===a.width&&t.height===a.height}function NM(t,a){let s=null,r;const l=Cn(t);function u(){var m;clearTimeout(r),(m=s)==null||m.disconnect(),s=null}function f(m,p){m===void 0&&(m=!1),p===void 0&&(p=1),u();const g=t.getBoundingClientRect(),{left:y,top:v,width:w,height:j}=g;if(m||a(),!w||!j)return;const N=Cl(v),T=Cl(l.clientWidth-(y+w)),E=Cl(l.clientHeight-(v+j)),A=Cl(y),R={rootMargin:-N+"px "+-T+"px "+-E+"px "+-A+"px",threshold:qt(0,_a(1,p))||1};let D=!0;function k(G){const H=G[0].intersectionRatio;if(H!==p){if(!D)return f();H?f(!1,H):r=setTimeout(()=>{f(!1,1e-7)},1e3)}H===1&&!C1(g,t.getBoundingClientRect())&&f(),D=!1}try{s=new IntersectionObserver(k,{...R,root:l.ownerDocument})}catch{s=new IntersectionObserver(k,R)}s.observe(t)}return f(!0),u}function AM(t,a,s,r){r===void 0&&(r={});const{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:f=typeof ResizeObserver=="function",layoutShift:m=typeof IntersectionObserver=="function",animationFrame:p=!1}=r,g=Uh(t),y=l||u?[...g?Br(g):[],...Br(a)]:[];y.forEach(A=>{l&&A.addEventListener("scroll",s,{passive:!0}),u&&A.addEventListener("resize",s)});const v=g&&m?NM(g,s):null;let w=-1,j=null;f&&(j=new ResizeObserver(A=>{let[_]=A;_&&_.target===g&&j&&(j.unobserve(a),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var R;(R=j)==null||R.observe(a)})),s()}),g&&!p&&j.observe(g),j.observe(a));let N,T=p?yi(t):null;p&&E();function E(){const A=yi(t);T&&!C1(T,A)&&s(),T=A,N=requestAnimationFrame(E)}return s(),()=>{var A;y.forEach(_=>{l&&_.removeEventListener("scroll",s),u&&_.removeEventListener("resize",s)}),v?.(),(A=j)==null||A.disconnect(),j=null,p&&cancelAnimationFrame(N)}}const CM=WR,RM=JR,MM=IR,DM=tM,OM=ZR,Tx=XR,_M=eM,kM=(t,a,s)=>{const r=new Map,l={platform:EM,...s},u={...l.platform,_c:r};return KR(t,a,{...l,platform:u})};var zM=typeof document<"u",VM=function(){},Pl=zM?b.useLayoutEffect:VM;function $l(t,a){if(t===a)return!0;if(typeof t!=typeof a)return!1;if(typeof t=="function"&&t.toString()===a.toString())return!0;let s,r,l;if(t&&a&&typeof t=="object"){if(Array.isArray(t)){if(s=t.length,s!==a.length)return!1;for(r=s;r--!==0;)if(!$l(t[r],a[r]))return!1;return!0}if(l=Object.keys(t),s=l.length,s!==Object.keys(a).length)return!1;for(r=s;r--!==0;)if(!{}.hasOwnProperty.call(a,l[r]))return!1;for(r=s;r--!==0;){const u=l[r];if(!(u==="_owner"&&t.$$typeof)&&!$l(t[u],a[u]))return!1}return!0}return t!==t&&a!==a}function R1(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Ex(t,a){const s=R1(t);return Math.round(a*s)/s}function ff(t){const a=b.useRef(t);return Pl(()=>{a.current=t}),a}function LM(t){t===void 0&&(t={});const{placement:a="bottom",strategy:s="absolute",middleware:r=[],platform:l,elements:{reference:u,floating:f}={},transform:m=!0,whileElementsMounted:p,open:g}=t,[y,v]=b.useState({x:0,y:0,strategy:s,placement:a,middlewareData:{},isPositioned:!1}),[w,j]=b.useState(r);$l(w,r)||j(r);const[N,T]=b.useState(null),[E,A]=b.useState(null),_=b.useCallback(q=>{q!==G.current&&(G.current=q,T(q))},[]),R=b.useCallback(q=>{q!==H.current&&(H.current=q,A(q))},[]),D=u||N,k=f||E,G=b.useRef(null),H=b.useRef(null),L=b.useRef(y),W=p!=null,te=ff(p),se=ff(l),le=ff(g),ge=b.useCallback(()=>
vendor: 26,697 bytes, lines 9-24
9{if(!G.current||!H.current)return;const q={placement:a,strategy:s,middleware:w};se.current&&(q.platform=se.current),kM(G.current,H.current,q).then(re=>{const fe={...re,isPositioned:le.current!==!1};J.current&&!$l(L.current,fe)&&(L.current=fe,dc.flushSync(()=>{v(fe)}))})},[w,a,s,se,le]);Pl(()=>{g===!1&&L.current.isPositioned&&(L.current.isPositioned=!1,v(q=>({...q,isPositioned:!1})))},[g]);const J=b.useRef(!1);Pl(()=>(J.current=!0,()=>{J.current=!1}),[]),Pl(()=>{if(D&&(G.current=D),k&&(H.current=k),D&&k){if(te.current)return te.current(D,k,ge);ge()}},[D,k,ge,te,W]);const me=b.useMemo(()=>({reference:G,floating:H,setReference:_,setFloating:R}),[_,R]),V=b.useMemo(()=>({reference:D,floating:k}),[D,k]),Y=b.useMemo(()=>{const q={position:s,left:0,top:0};if(!V.floating)return q;const re=Ex(V.floating,y.x),fe=Ex(V.floating,y.y);return m?{...q,transform:"translate("+re+"px, "+fe+"px)",...R1(V.floating)>=1.5&&{willChange:"transform"}}:{position:s,left:re,top:fe}},[s,m,V.floating,y.x,y.y]);return b.useMemo(()=>({...y,update:ge,refs:me,elements:V,floatingStyles:Y}),[y,ge,me,V,Y])}const PM=t=>{function a(s){return{}.hasOwnProperty.call(s,"current")}return{name:"arrow",options:t,fn(s){const{element:r,padding:l}=typeof t=="function"?t(s):t;return r&&a(r)?r.current!=null?Tx({element:r.current,padding:l}).fn(s):{}:r?Tx({element:r,padding:l}).fn(s):{}}}},UM=(t,a)=>({...CM(t),options:[t,a]}),BM=(t,a)=>({...RM(t),options:[t,a]}),HM=(t,a)=>({..._M(t),options:[t,a]}),qM=(t,a)=>({...MM(t),options:[t,a]}),FM=(t,a)=>({...DM(t),options:[t,a]}),GM=(t,a)=>({...OM(t),options:[t,a]}),YM=(t,a)=>({...PM(t),options:[t,a]});var QM="Arrow",M1=b.forwardRef((t,a)=>{const{children:s,width:r=10,height:l=5,...u}=t;return d.jsx(He.svg,{...u,ref:a,width:r,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?s:d.jsx("polygon",{points:"0,0 30,0 15,10"})})});M1.displayName=QM;var KM=M1;function XM(t){const[a,s]=b.useState(void 0);return Zn(()=>{if(t){s({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const u=l[0];let f,m;if("borderBoxSize"in u){const p=u.borderBoxSize,g=Array.isArray(p)?p[0]:p;f=g.inlineSize,m=g.blockSize}else f=t.offsetWidth,m=t.offsetHeight;s({width:f,height:m})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else s(void 0)},[t]),a}var D1="Popper",[O1,_1]=xi(D1),[S5,k1]=O1(D1),z1="PopperAnchor",V1=b.forwardRef((t,a)=>{const{__scopePopper:s,virtualRef:r,...l}=t,u=k1(z1,s),f=b.useRef(null),m=bt(a,f),p=b.useRef(null);return b.useEffect(()=>{const g=p.current;p.current=r?.current||f.current,g!==p.current&&u.onAnchorChange(p.current)}),r?null:d.jsx(He.div,{...l,ref:m})});V1.displayName=z1;var Bh="PopperContent",[IM,ZM]=O1(Bh),L1=b.forwardRef((t,a)=>{const{__scopePopper:s,side:r="bottom",sideOffset:l=0,align:u="center",alignOffset:f=0,arrowPadding:m=0,avoidCollisions:p=!0,collisionBoundary:g=[],collisionPadding:y=0,sticky:v="partial",hideWhenDetached:w=!1,updatePositionStrategy:j="optimized",onPlaced:N,...T}=t,E=k1(Bh,s),[A,_]=b.useState(null),R=bt(a,ce=>_(ce)),[D,k]=b.useState(null),G=XM(D),H=G?.width??0,L=G?.height??0,W=r+(u!=="center"?"-"+u:""),te=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},se=Array.isArray(g)?g:[g],le=se.length>0,ge={padding:te,boundary:se.filter(WM),altBoundary:le},{refs:J,floatingStyles:me,placement:V,isPositioned:Y,middlewareData:q}=LM({strategy:"fixed",placement:W,whileElementsMounted:(...ce)=>AM(...ce,{animationFrame:j==="always"}),elements:{reference:E.anchor},middleware:[UM({mainAxis:l+L,alignmentAxis:f}),p&&BM({mainAxis:!0,crossAxis:!1,limiter:v==="partial"?HM():void 0,...ge}),p&&qM({...ge}),FM({...ge,apply:({elements:ce,rects:$e,availableWidth:ze,availableHeight:Gt})=>{const{width:pn,height:gn}=$e.reference,Ua=ce.floating.style;Ua.setProperty("--radix-popper-available-width",`${ze}px`),Ua.setProperty("--radix-popper-available-height",`${Gt}px`),Ua.setProperty("--radix-popper-anchor-width",`${pn}px`),Ua.setProperty("--radix-popper-anchor-height",`${gn}px`)}}),D&&YM({element:D,padding:m}),JM({arrowWidth:H,arrowHeight:L}),w&&GM({strategy:"referenceHidden",...ge})]}),[re,fe]=B1(V),M=dn(N);Zn(()=>{Y&&M?.()},[Y,M]);const K=q.arrow?.x,Z=q.arrow?.y,$=q.arrow?.centerOffset!==0,[he,ye]=b.useState();return Zn(()=>{A&&ye(window.getComputedStyle(A).zIndex)},[A]),d.jsx("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...me,transform:Y?me.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:he,"--radix-popper-transform-origin":[q.transformOrigin?.x,q.transformOrigin?.y].join(" "),...q.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:d.jsx(IM,{scope:s,placedSide:re,onArrowChange:k,arrowX:K,arrowY:Z,shouldHideArrow:$,children:d.jsx(He.div,{"data-side":re,"data-align":fe,...T,ref:R,style:{...T.style,animation:Y?void 0:"none"}})})})});L1.displayName=Bh;var P1="PopperArrow",$M={top:"bottom",right:"left",bottom:"top",left:"right"},U1=b.forwardRef(function(a,s){const{__scopePopper:r,...l}=a,u=ZM(P1,r),f=$M[u.placedSide];return d.jsx("span",{ref:u.onArrowChange,style:{position:"absolute",left:u.arrowX,top:u.arrowY,[f]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[u.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[u.placedSide],visibility:u.shouldHideArrow?"hidden":void 0},children:d.jsx(KM,{...l,ref:s,style:{...l.style,display:"block"}})})});U1.displayName=P1;function WM(t){return t!==null}var JM=t=>({name:"transformOrigin",options:t,fn(a){const{placement:s,rects:r,middlewareData:l}=a,f=l.arrow?.centerOffset!==0,m=f?0:t.arrowWidth,p=f?0:t.arrowHeight,[g,y]=B1(s),v={start:"0%",center:"50%",end:"100%"}[y],w=(l.arrow?.x??0)+m/2,j=(l.arrow?.y??0)+p/2;let N="",T="";return g==="bottom"?(N=f?v:`${w}px`,T=`${-p}px`):g==="top"?(N=f?v:`${w}px`,T=`${r.floating.height+p}px`):g==="right"?(N=`${-p}px`,T=f?v:`${j}px`):g==="left"&&(N=`${r.floating.width+p}px`,T=f?v:`${j}px`),{data:{x:N,y:T}}}});function B1(t){const[a,s="center"]=t.split("-");return[a,s]}var eD=V1,tD=L1,nD=U1,aD=Symbol("radix.slottable");function iD(t){const a=({children:s})=>d.jsx(d.Fragment,{children:s});return a.displayName=`${t}.Slottable`,a.__radixId=aD,a}var[wc]=xi("Tooltip",[_1]),Hh=_1(),H1="TooltipProvider",sD=700,Nx="tooltip.open",[rD,q1]=wc(H1),F1=t=>{const{__scopeTooltip:a,delayDuration:s=sD,skipDelayDuration:r=300,disableHoverableContent:l=!1,children:u}=t,f=b.useRef(!0),m=b.useRef(!1),p=b.useRef(0);return b.useEffect(()=>{const g=p.current;return()=>window.clearTimeout(g)},[]),d.jsx(rD,{scope:a,isOpenDelayedRef:f,delayDuration:s,onOpen:b.useCallback(()=>{window.clearTimeout(p.current),f.current=!1},[]),onClose:b.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>f.current=!0,r)},[r]),isPointerInTransitRef:m,onPointerInTransitChange:b.useCallback(g=>{m.current=g},[]),disableHoverableContent:l,children:u})};F1.displayName=H1;var G1="Tooltip",[j5,Jr]=wc(G1),Wf="TooltipTrigger",oD=b.forwardRef((t,a)=>{const{__scopeTooltip:s,...r}=t,l=Jr(Wf,s),u=q1(Wf,s),f=Hh(s),m=b.useRef(null),p=bt(a,m,l.onTriggerChange),g=b.useRef(!1),y=b.useRef(!1),v=b.useCallback(()=>g.current=!1,[]);return b.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),d.jsx(eD,{asChild:!0,...f,children:d.jsx(He.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...r,ref:p,onPointerMove:Ce(t.onPointerMove,w=>{w.pointerType!=="touch"&&!y.current&&!u.isPointerInTransitRef.current&&(l.onTriggerEnter(),y.current=!0)}),onPointerLeave:Ce(t.onPointerLeave,()=>{l.onTriggerLeave(),y.current=!1}),onPointerDown:Ce(t.onPointerDown,()=>{l.open&&l.onClose(),g.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:Ce(t.onFocus,()=>{g.current||l.onOpen()}),onBlur:Ce(t.onBlur,l.onClose),onClick:Ce(t.onClick,l.onClose)})})});oD.displayName=Wf;var qh="TooltipPortal",[lD,cD]=wc(qh,{forceMount:void 0}),Y1=t=>{const{__scopeTooltip:a,forceMount:s,children:r,container:l}=t,u=Jr(qh,a);return d.jsx(lD,{scope:a,forceMount:s,children:d.jsx(La,{present:s||u.open,children:d.jsx(hc,{asChild:!0,container:l,children:r})})})};Y1.displayName=qh;var bs="TooltipContent",Q1=b.forwardRef((t,a)=>{const s=cD(bs,t.__scopeTooltip),{forceMount:r=s.forceMount,side:l="top",...u}=t,f=Jr(bs,t.__scopeTooltip);return d.jsx(La,{present:r||f.open,children:f.disableHoverableContent?d.jsx(K1,{side:l,...u,ref:a}):d.jsx(uD,{side:l,...u,ref:a})})}),uD=b.forwardRef((t,a)=>{const s=Jr(bs,t.__scopeTooltip),r=q1(bs,t.__scopeTooltip),l=b.useRef(null),u=bt(a,l),[f,m]=b.useState(null),{trigger:p,onClose:g}=s,y=l.current,{onPointerInTransitChange:v}=r,w=b.useCallback(()=>{m(null),v(!1)},[v]),j=b.useCallback((N,T)=>{const E=N.currentTarget,A={x:N.clientX,y:N.clientY},_=pD(A,E.getBoundingClientRect()),R=gD(A,_),D=yD(T.getBoundingClientRect()),k=xD([...R,...D]);m(k),v(!0)},[v]);return b.useEffect(()=>()=>w(),[w]),b.useEffect(()=>{if(p&&y){const N=E=>j(E,y),T=E=>j(E,p);return p.addEventListener("pointerleave",N),y.addEventListener("pointerleave",T),()=>{p.removeEventListener("pointerleave",N),y.removeEventListener("pointerleave",T)}}},[p,y,j,w]),b.useEffect(()=>{if(f){const N=T=>{const E=T.target,A={x:T.clientX,y:T.clientY},_=p?.contains(E)||y?.contains(E),R=!vD(A,f);_?w():R&&(w(),g())};return document.addEventListener("pointermove",N),()=>document.removeEventListener("pointermove",N)}},[p,y,f,g,w]),d.jsx(K1,{...t,ref:u})}),[dD,fD]=wc(G1,{isInside:!1}),hD=iD("TooltipContent"),K1=b.forwardRef((t,a)=>{const{__scopeTooltip:s,children:r,"aria-label":l,onEscapeKeyDown:u,onPointerDownOutside:f,...m}=t,p=Jr(bs,s),g=Hh(s),{onClose:y}=p;return b.useEffect(()=>(document.addEventListener(Nx,y),()=>document.removeEventListener(Nx,y)),[y]),b.useEffect(()=>{if(p.trigger){const v=w=>{w.target?.contains(p.trigger)&&y()};return window.addEventListener("scroll",v,{capture:!0}),()=>window.removeEventListener("scroll",v,{capture:!0})}},[p.trigger,y]),d.jsx(fc,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:v=>v.preventDefault(),onDismiss:y,children:d.jsxs(tD,{"data-state":p.stateAttribute,...g,...m,ref:a,style:{...m.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[d.jsx(hD,{children:r}),d.jsx(dD,{scope:s,isInside:!0,children:d.jsx(uA,{id:p.contentId,role:"tooltip",children:l||r})})]})})});Q1.displayName=bs;var X1="TooltipArrow",mD=b.forwardRef((t,a)=>{const{__scopeTooltip:s,...r}=t,l=Hh(s);return fD(X1,s).isInside?null:d.jsx(nD,{...l,...r,ref:a})});mD.displayName=X1;function pD(t,a){const s=Math.abs(a.top-t.y),r=Math.abs(a.bottom-t.y),l=Math.abs(a.right-t.x),u=Math.abs(a.left-t.x);switch(Math.min(s,r,l,u)){case u:return"left";case l:return"right";case s:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function gD(t,a,s=5){const r=[];switch(a){case"top":r.push({x:t.x-s,y:t.y+s},{x:t.x+s,y:t.y+s});break;case"bottom":r.push({x:t.x-s,y:t.y-s},{x:t.x+s,y:t.y-s});break;case"left":r.push({x:t.x+s,y:t.y-s},{x:t.x+s,y:t.y+s});break;case"right":r.push({x:t.x-s,y:t.y-s},{x:t.x-s,y:t.y+s});break}return r}function yD(t){const{top:a,right:s,bottom:r,left:l}=t;return[{x:l,y:a},{x:s,y:a},{x:s,y:r},{x:l,y:r}]}function vD(t,a){const{x:s,y:r}=t;let l=!1;for(let u=0,f=a.length-1;u<a.length;f=u++){const m=a[u],p=a[f],g=m.x,y=m.y,v=p.x,w=p.y;y>r!=w>r&&s<(v-g)*(r-y)/(w-y)+g&&(l=!l)}return l}function xD(t){const a=t.slice();return a.sort((s,r)=>s.x<r.x?-1:s.x>r.x?1:s.y<r.y?-1:s.y>r.y?1:0),bD(a)}function bD(t){if(t.length<=1)return t.slice();const a=[];for(let r=0;r<t.length;r++){const l=t[r];for(;a.length>=2;){const u=a[a.length-1],f=a[a.length-2];if((u.x-f.x)*(l.y-f.y)>=(u.y-f.y)*(l.x-f.x))a.pop();else break}a.push(l)}a.pop();const s=[];for(let r=t.length-1;r>=0;r--){const l=t[r];for(;s.length>=2;){const u=s[s.length-1],f=s[s.length-2];if((u.x-f.x)*(l.y-f.y)>=(u.y-f.y)*(l.x-f.x))s.pop();else break}s.push(l)}return s.pop(),a.length===1&&s.length===1&&a[0].x===s[0].x&&a[0].y===s[0].y?a:a.concat(s)}var wD=F1,SD=Y1,I1=Q1;const jD=wD,TD=b.forwardRef(({className:t,sideOffset:a=4,...s},r)=>d.jsx(SD,{children:d.jsx(I1,{ref:r,sideOffset:a,className:Re("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 origin-[--radix-tooltip-content-transform-origin]",t),...s})}));TD.displayName=I1.displayName;const bi=b.forwardRef(({className:t,...a},s)=>d.jsx("div",{ref:s,className:Re("rounded-xl border bg-card text-card-foreground shadow",t),...a}));bi.displayName="Card";const Sc=b.forwardRef(({className:t,...a},s)=>d.jsx("div",{ref:s,className:Re("flex flex-col space-y-1.5 p-6",t),...a}));Sc.displayName="CardHeader";const jc=b.forwardRef(({className:t,...a},s)=>d.jsx("div",{ref:s,className:Re("font-semibold leading-none tracking-tight",t),...a}));jc.displayName="CardTitle";const Z1=b.forwardRef(({className:t,...a},s)=>d.jsx("div",{ref:s,className:Re("text-sm text-muted-foreground",t),...a}));Z1.displayName="CardDescription";const wi=b.forwardRef(({className:t,...a},s)=>d.jsx("div",{ref:s,className:Re("p-6 pt-0",t),...a}));wi.displayName="CardContent";const ED=b.forwardRef(({className:t,...a},s)=>d.jsx("div",{ref:s,className:Re("flex items-center p-6 pt-0",t),...a}));ED.displayName="CardFooter";function ND(){return d.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50",children:d.jsx(bi,{className:"w-full max-w-md mx-4",children:d.jsxs(wi,{className:"pt-6",children:[d.jsxs("div",{className:"flex mb-4 gap-2",children:[d.jsx(ZA,{className:"h-8 w-8 text-red-500"}),d.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 Page Not Found"})]}),d.jsx("p",{className:"mt-4 text-sm text-gray-600",children:"Did you forget to add the page to the router?"})]})})})}var AD=Symbol.for("react.lazy"),Wl=lc[" use ".trim().toString()];function CD(t){return typeof t=="object"&&t!==null&&"then"in t}function $1(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===AD&&"_payload"in t&&CD(t._payload)}function W1(t){const a=MD(t),s=b.forwardRef((r,l)=>{let{children:u,...f}=r;$1(u)&&typeof Wl=="function"&&(u=Wl(u._payload));const m=b.Children.toArray(u),p=m.find(OD);if(p){const g=p.props.children,y=m.map(v=>v===p?b.Children.count(g)>1?b.Children.only(null):b.isValidElement(g)?g.props.children:null:v);return d.jsx(a,{...f,ref:l,children:b.isValidElement(g)?b.cloneElement(g,void 0,y):null})}return d.jsx(a,{...f,ref:l,children:u})});return s.displayName=`${t}.Slot`,s}var RD=W1("Slot");function MD(t){const a=b.forwardRef((s,r)=>{let{children:l,...u}=s;if($1(l)&&typeof Wl=="function"&&(l=Wl(l._payload)),b.isValidElement(l)){const f=kD(l),m=_D(u,l.props);return l.type!==b.Fragment&&(m.ref=r?Xr(r,f):f),b.cloneElement(l,m)}return b.Children.count(l)>1?b.Children.only(null):null});return a.displayName=`${t}.SlotClone`,a}var DD=Symbol("radix.slottable");function OD(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===DD}function _D(t,a){const s={...a};for(const r in a){const l=t[r],u=a[r];/^on[A-Z]/.test(r)?l&&u?s[r]=(...m)=>{const p=u(...m);return l(...m),p}:l&&(s[r]=l):r==="style"?s[r]={...l,...u}:r==="className"&&(s[r]=[l,u].filter(Boolean).join(" "))}return{...t,...s}}function kD(t){let a=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning;return s?t.ref:(a=Object.getOwnPropertyDescriptor(t,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning,s?t.props.ref:t.props.ref||t.ref)}const zD=Zr("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover-elevate active-elevate-2",{variants:{variant:{default:"bg-primary text-primary-foreground border border-primary-border",destructive:"bg-destructive text-destructive-foreground shadow-sm border-destructive-border",outline:" border [border-color:var(--button-outline)] shadow-xs active:shadow-none ",secondary:"border bg-secondary text-secondary-foreground border border-secondary-border ",ghost:"border border-transparent",link:"text-primary underline-offset-4 hover:underline"},size:{default:"min-h-9 px-4 py-2",sm:"min-h-8 rounded-md px-3 text-xs",lg:"min-h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Ae=b.forwardRef(({className:t,variant:a,size:s,asChild:r=!1,...l},u)=>{const f=r?RD:"button";return d.jsx(f,{className:Re(zD({variant:a,size:s,className:t})),ref:u,...l})});Ae.displayName="Button";var hf="focusScope.autoFocusOnMount",mf="focusScope.autoFocusOnUnmount",Ax={bubbles:!1,cancelable:!0},VD="FocusScope",J1=b.forwardRef((t,a)=>{const{loop:s=!1,trapped:r=!1,onMountAutoFocus:l,onUnmountAutoFocus:u,...f}=t,[m,p]=b.useState(null),g=dn(l),y=dn(u),v=b.useRef(null),w=bt(a,T=>p(T)),j=b.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;b.useEffect(()=>{if(r){let T=function(R){if(j.paused||!m)return;const D=R.target;m.contains(D)?v.current=D:Ca(v.current,{select:!0})},E=function(R){if(j.paused||!m)return;const D=R.relatedTarget;D!==null&&(m.contains(D)||Ca(v.current,{select:!0}))},A=function(R){if(document.activeElement===document.body)for(const k of R)k.removedNodes.length>0&&Ca(m)};document.addEventListener("focusin",T),document.addEventListener("focusout",E);const _=new MutationObserver(A);return m&&_.observe(m,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",T),document.removeEventListener("focusout",E),_.disconnect()}}},[r,m,j.paused]),b.useEffect(()=>{if(m){Rx.add(j);const T=document.activeElement;if(!m.contains(T)){const A=new CustomEvent(hf,Ax);m.addEventListener(hf,g),m.dispatchEvent(A),A.defaultPrevented||(LD(qD(ew(m)),{select:!0}),document.activeElement===T&&Ca(m))}return()=>{m.removeEventListener(hf,g),setTimeout(()=>{const A=new CustomEvent(mf,Ax);m.addEventListener(mf,y),m.dispatchEvent(A),A.defaultPrevented||Ca(T??document.body,{select:!0}),m.removeEventListener(mf,y),Rx.remove(j)},0)}}},[m,g,y,j]);const N=b.useCallback(T=>{if(!s&&!r||j.paused)return;const E=T.key==="Tab"&&!T.altKey&&!T.ctrlKey&&!T.metaKey,A=document.activeElement;if(E&&A){const _=T.currentTarget,[R,D]=PD(_);R&&D?!T.shiftKey&&A===D?(T.preventDefault(),s&&Ca(R,{select:!0})):T.shiftKey&&A===R&&(T.preventDefault(),s&&Ca(D,{select:!0})):A===_&&T.preventDefault()}},[s,r,j.paused]);return d.jsx(He.div,{tabIndex:-1,...f,ref:w,onKeyDown:N})});J1.displayName=VD;function LD(t,{select:a=!1}={}){const s=document.activeElement;for(const r of t)if(Ca(r,{select:a}),document.activeElement!==s)return}function PD(t){const a=ew(t),s=Cx(a,t),r=Cx(a.reverse(),t);return[s,r]}function ew(t){const a=[],s=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const l=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||l?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;s.nextNode();)a.push(s.currentNode);return a}function Cx(t,a){for(const s of t)if(!UD(s,{upTo:a}))return s}function UD(t,{upTo:a}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(a!==void 0&&t===a)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function BD(t){return t instanceof HTMLInputElement&&"select"in t}function Ca(t,{select:a=!1}={}){if(t&&t.focus){const s=document.activeElement;t.focus({preventScroll:!0}),t!==s&&BD(t)&&a&&t.select()}}var Rx=HD();function HD(){let t=[];return{add(a){const s=t[0];a!==s&&s?.pause(),t=Mx(t,a),t.unshift(a)},remove(a){t=Mx(t,a),t[0]?.resume()}}}function Mx(t,a){const s=[...t],r=s.indexOf(a);return r!==-1&&s.splice(r,1),s}function qD(t){return t.filter(a=>a.tagName!=="A")}var pf=0;function FD(){b.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??Dx()),document.body.insertAdjacentElement("beforeend",t[1]??Dx()),pf++,()=>{pf===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(a=>a.remove()),pf--}},[])}function Dx(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var Sn=function(){return Sn=Object.assign||function(a){for(var s,r=1,l=arguments.length;r<l;r++){s=arguments[r];for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(a[u]=s[u])}return a},Sn.apply(this,arguments)};function tw(t,a){var s={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&a.indexOf(r)<0&&(s[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,r=Object.getOwnPropertySymbols(t);l<r.length;l++)a.indexOf(r[l])<0&&Object.prototype.propertyIsEnumerable.call(t,r[l])&&(s[r[l]]=t[r[l]]);return s}function GD(t,a,s){if(s||arguments.length===2)for(var r=0,l=a.length,u;r<l;r++)(u||!(r in a))&&(u||(u=Array.prototype.slice.call(a,0,r)),u[r]=a[r]);return t.concat(u||Array.prototype.slice.call(a))}var Ul="right-scroll-bar-position",Bl="width-before-scroll-bar",YD="with-scroll-bars-hidden",QD="--removed-body-scroll-bar-size";function gf(t,a){return typeof t=="function"?t(a):t&&(t.current=a),t}function KD(t,a){var s=b.useState(function(){return{value:t,callback:a,facade:{get current(){return s.value},set current(r){var l=s.value;l!==r&&(s.value=r,s.callback(r,l))}}}})[0];return s.callback=a,s.facade}var XD=typeof window<"u"?b.useLayoutEffect:b.useEffect,Ox=new WeakMap;function ID(t,a){var s=KD(null,function(r){return t.forEach(function(l){return gf(l,r)})});return XD(function(){var r=Ox.get(s);if(r){var l=new Set(r),u=new Set(t),f=s.current;l.forEach(function(m){u.has(m)||gf(m,null)}),u.forEach(function(m){l.has(m)||gf(m,f)})}Ox.set(s,t)},[t]),s}function ZD(t){return t}function $D(t,a){a===void 0&&(a=ZD);var s=[],r=!1,l={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return s.length?s[s.length-1]:t},useMedium:function(u){var f=a(u,r);return s.push(f),function(){s=s.filter(function(m){return m!==f})}},assignSyncMedium:function(u){for(r=!0;s.length;){var f=s;s=[],f.forEach(u)}s={push:function(m){return u(m)},filter:function(){return s}}},assignMedium:function(u){r=!0;var f=[];if(s.length){var m=s;s=[],m.forEach(u),f=s}var p=function(){var y=f;f=[],y.forEach(u)},g=function(){return Promise.resolve().then(p)};g(),s={push:function(y){f.push(y),g()},filter:function(y){return f=f.filter(y),s}}}};return l}function WD(t){t===void 0&&(t={});var a=$D(null);return a.options=Sn({async:!0,ssr:!1},t),a}var nw=function(t){var a=t.sideCar,s=tw(t,["sideCar"]);if(!a)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=a.read();if(!r)throw new Error("Sidecar medium not found");return b.createElement(r,Sn({},s))};nw.isSideCarExport=!0;function JD(t,a){return t.useMedium(a),nw}var aw=WD(),yf=function(){},Tc=b.forwardRef(function(t,a){var s=b.useRef(null),r=b.useState({onScrollCapture:yf,onWheelCapture:yf,onTouchMoveCapture:yf}),l=r[0],u=r[1],f=t.forwardProps,m=t.children,p=t.className,g=t.removeScrollBar,y=t.enabled,v=t.shards,w=t.sideCar,j=t.noRelative,N=t.noIsolation,T=t.inert,E=t.allowPinchZoom,A=t.as,_=A===void 0?"div":A,R=t.gapMode,D=tw(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=w,G=ID([s,a]),H=Sn(Sn({},D),l);return b.createElement(b.Fragment,null,y&&b.createElement(k,{sideCar:aw,removeScrollBar:g,shards:v,noRelative:j,noIsolation:N,inert:T,setCallbacks:u,allowPinchZoom:!!E,lockRef:s,gapMode:R}),f?b.cloneElement(b.Children.only(m),Sn(Sn({},H),{ref:G})):b.createElement(_,Sn({},H,{className:p,ref:G}),m))});Tc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Tc.classNames={fullWidth:Bl,zeroRight:Ul};var eO=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function tO(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var a=eO();return a&&t.setAttribute("nonce",a),t}function nO(t,a){t.styleSheet?t.styleSheet.cssText=a:t.appendChild(document.createTextNode(a))}function aO(t){var a=document.head||document.getElementsByTagName("head")[0];a.appendChild(t)}var iO=function(){var t=0,a=null;return{add:function(s){t==0&&(a=tO())&&(nO(a,s),aO(a)),t++},remove:function(){t--,!t&&a&&(a.parentNode&&a.parentNode.removeChild(a),a=null)}}},sO=function(){var t=iO();return function(a,s){b.useEffect(function(){return t.add(a),function(){t.remove()}},[a&&s])}},iw=function(){var t=sO(),a=function(s){var r=s.styles,l=s.dynamic;return t(r,l),null};return a},rO={left:0,top:0,right:0,gap:0},vf=function(t){return parseInt(t||"",10)||0},oO=function(t){var a=window.getComputedStyle(document.body),s=a[t==="padding"?"paddingLeft":"marginLeft"],r=a[t==="padding"?"paddingTop":"marginTop"],l=a[t==="padding"?"paddingRight":"marginRight"];return[vf(s),vf(r),vf(l)]},lO=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return rO;var a=oO(t),s=document.documentElement.clientWidth,r=window.innerWidth;return{left:a[0],top:a[1],right:a[2],gap:Math.max(0,r-s+a[2]-a[0])}},cO=iw(),ps="data-scroll-locked",uO=function(t,a,s,r){var l=t.left,u=t.top,f=t.right,m=t.gap;return s===void 0&&(s="margin"),` 10 .`.concat(YD,` { 11 overflow: hidden `).concat(r,`; 12 padding-right: `).concat(m,"px ").concat(r,`; 13 } 14 body[`).concat(ps,`] { 15 overflow: hidden `).concat(r,`; 16 overscroll-behavior: contain; 17 `).concat([a&&"position: relative ".concat(r,";"),s==="margin"&&` 18 padding-left: `.concat(l,`px; 19 padding-top: `).concat(u,`px; 20 padding-right: `).concat(f,`px; 21 margin-left:0; 22 margin-top:0; 23 margin-right: `).concat(m,"px ").concat(r,`; 24 `),s==="padding"&&"padding-right: ".concat(m,"px ").concat(r,";
24")].filter(Boolean).join(""),` 25 } 26 27 .`).concat(Ul,` { 28 right: `).concat(m,"px ").concat(r,`; 29 } 30 31 .`).concat(Bl,` { 32 margin-right: `).concat(m,"px ").concat(r,`; 33 } 34 35 .`).concat(Ul," .").concat(Ul,` { 36 right: 0 `).concat(r,`; 37 } 38 39 .`).concat(Bl," .").concat(Bl,` { 40 margin-right: 0 `).concat(r,`; 41 } 42 43 body[`).concat(ps,`] { 44 `).concat(QD,": ").concat(m,`px; 45 } 46`)},_x=function(){var t=parseInt(document.body.getAttribute(ps)||"0",10);return isFinite(t)?t:0},dO=function(){b.useEffect(function(){return document.body.setAttribute(ps,(_x()+1).toString()),function(){var t=_x()-1;t<=0?document.body.removeAttribute(ps):document.body.setAttribute(ps,t.toString())}},[])},fO=function(t){var a=t.noRelative,s=t.noImportant,r=t.gapMode,l=r===void 0?"margin":r;dO();var u=b.useMemo(function(){return lO(l)},[l]);return b.createElement(cO,{styles:uO(u,!a,l,s?"":"!important")})},Jf=!1;if(typeof window<"u")try{var Rl=Object.defineProperty({},"passive",{get:function(){return Jf=!0,!0}});window.addEventListener("test",Rl,Rl),window.removeEventListener("test",Rl,Rl)}catch{Jf=!1}var os=Jf?{passive:!1}:!1,hO=function(t){return t.tagName==="TEXTAREA"},sw=function(t,a){if(!(t instanceof Element))return!1;var s=window.getComputedStyle(t);return s[a]!=="hidden"&&!(s.overflowY===s.overflowX&&!hO(t)&&s[a]==="visible")},mO=function(t){return sw(t,"overflowY")},pO=function(t){return sw(t,"overflowX")},kx=function(t,a){var s=a.ownerDocument,r=a;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var l=rw(t,r);if(l){var u=ow(t,r),f=u[1],m=u[2];if(f>m)return!0}r=r.parentNode}while(r&&r!==s.body);return!1},gO=function(t){var a=t.scrollTop,s=t.scrollHeight,r=t.clientHeight;return[a,s,r]},yO=function(t){var a=t.scrollLeft,s=t.scrollWidth,r=t.clientWidth;return[a,s,r]},rw=function(t,a){return t==="v"?mO(a):pO(a)},ow=function(t,a){return t==="v"?gO(a):yO(a)},vO=function(t,a){return t==="h"&&a==="rtl"?-1:1},xO=function(t,a,s,r,l){var u=vO(t,window.getComputedStyle(a).direction),f=u*r,m=s.target,p=a.contains(m),g=!1,y=f>0,v=0,w=0;do{if(!m)break;var j=ow(t,m),N=j[0],T=j[1],E=j[2],A=T-E-u*N;(N||A)&&rw(t,m)&&(v+=A,w+=N);var _=m.parentNode;m=_&&_.nodeType===Node.DOCUMENT_FRAGMENT_NODE?_.host:_}while(!p&&m!==document.body||p&&(a.contains(m)||a===m));return(y&&Math.abs(v)<1||!y&&Math.abs(w)<1)&&(g=!0),g},Ml=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},zx=function(t){return[t.deltaX,t.deltaY]},Vx=function(t){return t&&"current"in t?t.current:t},bO=function(t,a){return t[0]===a[0]&&t[1]===a[1]},wO=function(t){return` 47 .block-interactivity-`.concat(t,` {pointer-events: none;} 48 .allow-interactivity-`).concat(t,` {pointer-events: all;} 49`)},SO=0,ls=[];function jO(t){var a=b.useRef([]),s=b.useRef([0,0]),r=b.useRef(),l=b.useState(SO++)[0],u=b.useState(iw)[0],f=b.useRef(t);b.useEffect(function(){f.current=t},[t]),b.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(l));var T=GD([t.lockRef.current],(t.shards||[]).map(Vx),!0).filter(Boolean);return T.forEach(function(E){return E.classList.add("allow-interactivity-".concat(l))}),function(){document.body.classList.remove("block-interactivity-".concat(l)),T.forEach(function(E){return E.classList.remove("allow-interactivity-".concat(l))})}}},[t.inert,t.lockRef.current,t.shards]);var m=b.useCallback(function(T,E){if("touches"in T&&T.touches.length===2||T.type==="wheel"&&T.ctrlKey)return!f.current.allowPinchZoom;var A=Ml(T),_=s.current,R="deltaX"in T?T.deltaX:_[0]-A[0],D="deltaY"in T?T.deltaY:_[1]-A[1],k,G=T.target,H=Math.abs(R)>Math.abs(D)?"h":"v";if("touches"in T&&H==="h"&&G.type==="range")return!1;var L=window.getSelection(),W=L&&L.anchorNode,te=W?W===G||W.contains(G):!1;if(te)return!1;var se=kx(H,G);if(!se)return!0;if(se?k=H:(k=H==="v"?"h":"v",se=kx(H,G)),!se)return!1;if(!r.current&&"changedTouches"in T&&(R||D)&&(r.current=k),!k)return!0;var le=r.current||k;return xO(le,E,T,le==="h"?R:D)},[]),p=b.useCallback(function(T){var E=T;if(!(!ls.length||ls[ls.length-1]!==u)){var A="deltaY"in E?zx(E):Ml(E),_=a.current.filter(function(k){return k.name===E.type&&(k.target===E.target||E.target===k.shadowParent)&&bO(k.delta,A)})[0];
vendor: 10,620 bytes, lines 49-53
49if(_&&_.should){E.cancelable&&E.preventDefault();return}if(!_){var R=(f.current.shards||[]).map(Vx).filter(Boolean).filter(function(k){return k.contains(E.target)}),D=R.length>0?m(E,R[0]):!f.current.noIsolation;D&&E.cancelable&&E.preventDefault()}}},[]),g=b.useCallback(function(T,E,A,_){var R={name:T,delta:E,target:A,should:_,shadowParent:TO(A)};a.current.push(R),setTimeout(function(){a.current=a.current.filter(function(D){return D!==R})},1)},[]),y=b.useCallback(function(T){s.current=Ml(T),r.current=void 0},[]),v=b.useCallback(function(T){g(T.type,zx(T),T.target,m(T,t.lockRef.current))},[]),w=b.useCallback(function(T){g(T.type,Ml(T),T.target,m(T,t.lockRef.current))},[]);b.useEffect(function(){return ls.push(u),t.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:w}),document.addEventListener("wheel",p,os),document.addEventListener("touchmove",p,os),document.addEventListener("touchstart",y,os),function(){ls=ls.filter(function(T){return T!==u}),document.removeEventListener("wheel",p,os),document.removeEventListener("touchmove",p,os),document.removeEventListener("touchstart",y,os)}},[]);var j=t.removeScrollBar,N=t.inert;return b.createElement(b.Fragment,null,N?b.createElement(u,{styles:wO(l)}):null,j?b.createElement(fO,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function TO(t){for(var a=null;t!==null;)t instanceof ShadowRoot&&(a=t.host,t=t.host),t=t.parentNode;return a}const EO=JD(aw,jO);var lw=b.forwardRef(function(t,a){return b.createElement(Tc,Sn({},t,{ref:a,sideCar:EO}))});lw.classNames=Tc.classNames;var NO=function(t){if(typeof document>"u")return null;var a=Array.isArray(t)?t[0]:t;return a.ownerDocument.body},cs=new WeakMap,Dl=new WeakMap,Ol={},xf=0,cw=function(t){return t&&(t.host||cw(t.parentNode))},AO=function(t,a){return a.map(function(s){if(t.contains(s))return s;var r=cw(s);return r&&t.contains(r)?r:(console.error("aria-hidden",s,"in not contained inside",t,". Doing nothing"),null)}).filter(function(s){return!!s})},CO=function(t,a,s,r){var l=AO(a,Array.isArray(t)?t:[t]);Ol[s]||(Ol[s]=new WeakMap);var u=Ol[s],f=[],m=new Set,p=new Set(l),g=function(v){!v||m.has(v)||(m.add(v),g(v.parentNode))};l.forEach(g);var y=function(v){!v||p.has(v)||Array.prototype.forEach.call(v.children,function(w){if(m.has(w))y(w);else try{var j=w.getAttribute(r),N=j!==null&&j!=="false",T=(cs.get(w)||0)+1,E=(u.get(w)||0)+1;cs.set(w,T),u.set(w,E),f.push(w),T===1&&N&&Dl.set(w,!0),E===1&&w.setAttribute(s,"true"),N||w.setAttribute(r,"true")}catch(A){console.error("aria-hidden: cannot operate on ",w,A)}})};return y(a),m.clear(),xf++,function(){f.forEach(function(v){var w=cs.get(v)-1,j=u.get(v)-1;cs.set(v,w),u.set(v,j),w||(Dl.has(v)||v.removeAttribute(r),Dl.delete(v)),j||v.removeAttribute(s)}),xf--,xf||(cs=new WeakMap,cs=new WeakMap,Dl=new WeakMap,Ol={})}},RO=function(t,a,s){s===void 0&&(s="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),l=NO(t);return l?(r.push.apply(r,Array.from(l.querySelectorAll("[aria-live], script"))),CO(r,l,s,"aria-hidden")):function(){return null}};function MO(t){const a=DO(t),s=b.forwardRef((r,l)=>{const{children:u,...f}=r,m=b.Children.toArray(u),p=m.find(_O);if(p){const g=p.props.children,y=m.map(v=>v===p?b.Children.count(g)>1?b.Children.only(null):b.isValidElement(g)?g.props.children:null:v);return d.jsx(a,{...f,ref:l,children:b.isValidElement(g)?b.cloneElement(g,void 0,y):null})}return d.jsx(a,{...f,ref:l,children:u})});return s.displayName=`${t}.Slot`,s}function DO(t){const a=b.forwardRef((s,r)=>{const{children:l,...u}=s;if(b.isValidElement(l)){const f=zO(l),m=kO(u,l.props);return l.type!==b.Fragment&&(m.ref=r?Xr(r,f):f),b.cloneElement(l,m)}return b.Children.count(l)>1?b.Children.only(null):null});return a.displayName=`${t}.SlotClone`,a}var OO=Symbol("radix.slottable");function _O(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===OO}function kO(t,a){const s={...a};for(const r in a){const l=t[r],u=a[r];/^on[A-Z]/.test(r)?l&&u?s[r]=(...m)=>{const p=u(...m);return l(...m),p}:l&&(s[r]=l):r==="style"?s[r]={...l,...u}:r==="className"&&(s[r]=[l,u].filter(Boolean).join(" "))}return{...t,...s}}function zO(t){let a=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning;return s?t.ref:(a=Object.getOwnPropertyDescriptor(t,"ref")?.get,s=a&&"isReactWarning"in a&&a.isReactWarning,s?t.props.ref:t.props.ref||t.ref)}var Ec="Dialog",[uw]=xi(Ec),[VO,mn]=uw(Ec),dw=t=>{const{__scopeDialog:a,children:s,open:r,defaultOpen:l,onOpenChange:u,modal:f=!0}=t,m=b.useRef(null),p=b.useRef(null),[g,y]=mc({prop:r,defaultProp:l??!1,onChange:u,caller:Ec});return d.jsx(VO,{scope:a,triggerRef:m,contentRef:p,contentId:Or(),titleId:Or(),descriptionId:Or(),open:g,onOpenChange:y,onOpenToggle:b.useCallback(()=>y(v=>!v),[y]),modal:f,children:s})};dw.displayName=Ec;var fw="DialogTrigger",hw=b.forwardRef((t,a)=>{const{__scopeDialog:s,...r}=t,l=mn(fw,s),u=bt(a,l.triggerRef);return d.jsx(He.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":Yh(l.open),...r,ref:u,onClick:Ce(t.onClick,l.onOpenToggle)})});hw.displayName=fw;var Fh="DialogPortal",[LO,mw]=uw(Fh,{forceMount:void 0}),pw=t=>{const{__scopeDialog:a,forceMount:s,children:r,container:l}=t,u=mn(Fh,a);return d.jsx(LO,{scope:a,forceMount:s,children:b.Children.map(r,f=>d.jsx(La,{present:s||u.open,children:d.jsx(hc,{asChild:!0,container:l,children:f})}))})};pw.displayName=Fh;var Jl="DialogOverlay",gw=b.forwardRef((t,a)=>{const s=mw(Jl,t.__scopeDialog),{forceMount:r=s.forceMount,...l}=t,u=mn(Jl,t.__scopeDialog);return u.modal?d.jsx(La,{present:r||u.open,children:d.jsx(UO,{...l,ref:a})}):null});gw.displayName=Jl;var PO=MO("DialogOverlay.RemoveScroll"),UO=b.forwardRef((t,a)=>{const{__scopeDialog:s,...r}=t,l=mn(Jl,s);return d.jsx(lw,{as:PO,allowPinchZoom:!0,shards:[l.contentRef],children:d.jsx(He.div,{"data-state":Yh(l.open),...r,ref:a,style:{pointerEvents:"auto",...r.style}})})}),vi="DialogContent",yw=b.forwardRef((t,a)=>{const s=mw(vi,t.__scopeDialog),{forceMount:r=s.forceMount,...l}=t,u=mn(vi,t.__scopeDialog);return d.jsx(La,{present:r||u.open,children:u.modal?d.jsx(BO,{...l,ref:a}):d.jsx(HO,{...l,ref:a})})});yw.displayName=vi;var BO=b.forwardRef((t,a)=>{const s=mn(vi,t.__scopeDialog),r=b.useRef(null),l=bt(a,s.contentRef,r);return b.useEffect(()=>{const u=r.current;if(u)return RO(u)},[]),d.jsx(vw,{...t,ref:l,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ce(t.onCloseAutoFocus,u=>{u.preventDefault(),s.triggerRef.current?.focus()}),onPointerDownOutside:Ce(t.onPointerDownOutside,u=>{const f=u.detail.originalEvent,m=f.button===0&&f.ctrlKey===!0;(f.button===2||m)&&u.preventDefault()}),onFocusOutside:Ce(t.onFocusOutside,u=>u.preventDefault())})}),HO=b.forwardRef((t,a)=>{const s=mn(vi,t.__scopeDialog),r=b.useRef(!1),l=b.useRef(!1);return d.jsx(vw,{...t,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:u=>{t.onCloseAutoFocus?.(u),u.defaultPrevented||(r.current||s.triggerRef.current?.focus(),u.preventDefault()),r.current=!1,l.current=!1},onInteractOutside:u=>{t.onInteractOutside?.(u),u.defaultPrevented||(r.current=!0,u.detail.originalEvent.type==="pointerdown"&&(l.current=!0));const f=u.target;s.triggerRef.current?.contains(f)&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&l.current&&u.preventDefault()}})}),vw=b.forwardRef((t,a)=>{const{__scopeDialog:s,trapFocus:r,onOpenAutoFocus:l,onCloseAutoFocus:u,...f}=t,m=mn(vi,s),p=b.useRef(null),g=bt(a,p);return FD(),d.jsxs(d.Fragment,{children:[d.jsx(J1,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:l,onUnmountAutoFocus:u,children:d.jsx(fc,{role:"dialog",id:m.contentId,"aria-describedby":m.descriptionId,"aria-labelledby":m.titleId,"data-state":Yh(m.open),...f,ref:g,onDismiss:()=>m.onOpenChange(!1)})}),d.jsxs(d.Fragment,{children:[d.jsx(qO,{titleId:m.titleId}),d.jsx(GO,{contentRef:p,descriptionId:m.descriptionId})]})]})}),Gh="DialogTitle",xw=b.forwardRef((t,a)=>{const{__scopeDialog:s,...r}=t,l=mn(Gh,s);return d.jsx(He.h2,{id:l.titleId,...r,ref:a})});xw.displayName=Gh;var bw="DialogDescription",ww=b.forwardRef((t,a)=>{const{__scopeDialog:s,...r}=t,l=mn(bw,s);return d.jsx(He.p,{id:l.descriptionId,...r,ref:a})});ww.displayName=bw;var Sw="DialogClose",jw=b.forwardRef((t,a)=>{const{__scopeDialog:s,...r}=t,l=mn(Sw,s);return d.jsx(He.button,{type:"button",...r,ref:a,onClick:Ce(t.onClick,()=>l.onOpenChange(!1))})});jw.displayName=Sw;function Yh(t){return t?"open":"closed"}var Tw="DialogTitleWarning",[T5,Ew]=ON(Tw,{contentName:vi,titleName:Gh,docsSlug:"dialog"}),qO=({titleId:t})=>{const a=Ew(Tw),s=`\`${a.contentName}\` requires a \`${a.titleName}\` for the component to be accessible for screen reader users. 50 51If you want to hide the \`${a.titleName}\`, you can wrap it with our VisuallyHidden component. 52 53For more information, see https://radix-ui.com/primitives/docs/components/${a.docsSlug}`;return b.useEffect(()=>{t&&(document.getElementById(t)||console.error(s))},[s,t]),null},FO="DialogDescriptionWarning",GO=({contentRef:t,descriptionId:a})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Ew(FO).contentName}}.`;return b.useEffect(()=>{const l=t.current?.getAttribute("aria-describedby");a&&l&&(document.getElementById(a)||console.warn(r))},[r,t,a]),null},Nw=dw,YO=hw,Aw=pw,Nc=gw,Ac=yw,Cc=xw,Rc=ww,Cw=jw;const QO=Nw,KO=YO,XO=Aw,Rw=b.forwardRef(({className:t,...a},s)=>d.jsx(Nc,{className:Re("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",t),...a,ref:s}));Rw.displayName=Nc.displayName;const IO=Zr("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Mw=b.forwardRef(({side:t="right",className:a,children:s,...r},l)=>d.jsxs(XO,{children:[d.jsx(Rw,{}),d.jsxs(Ac,{ref:l,className:Re(IO({side:t}),a),...r,children:[d.jsxs(Cw,{className:"absolute right-4 top-4 roun
53ded-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-secondary",children:[d.jsx($r,{className:"h-4 w-4"}),d.jsx("span",{className:"sr-only",children:"Close"})]}),s]})]}));Mw.displayName=Ac.displayName;const ZO=b.forwardRef(({className:t,...a},s)=>d.jsx(Cc,{ref:s,className:Re("text-lg font-semibold text-foreground",t),...a}));ZO.displayName=Cc.displayName;const $O=b.forwardRef(({className:t,...a},s)=>d.jsx(Rc,{ref:s,className:Re("text-sm text-muted-foreground",t),...a}));$O.displayName=Rc.displayName;const Lx=[{label:"Platform",href:"/platform"},{label:"About",href:"/about"},{label:"Legacy",href:"/legacy"},{label:"Capabilities",href:"/capabilities"},{label:"Projects",href:"/projects"},{label:"Careers",href:"/careers"},{label:"Contact",href:"/contact"}];function ea({children:t}){const[a]=r0(),[s,r]=b.useState(!1),[l,u]=b.useState(!1);return b.useEffect(()=>{const f=()=>{r(window.scrollY>20)};return window.addEventListener("scroll",f),()=>window.removeEventListener("scroll",f)},[]),b.useEffect(()=>{u(!1)},[a]),d.jsxs("div",{className:"min-h-screen flex flex-col bg-background font-sans text-foreground selection:bg-primary/20 selection:text-primary",children:[d.jsx("div",{className:"bg-foreground text-background py-2 px-4 text-xs font-medium tracking-wider uppercase text-center md:text-right md:pr-8",children:"An affiliated company of Hansji"}),d.jsx("header",{className:Re("sticky top-0 z-50 w-full transition-all duration-300 border-b",s?"bg-background/95 backdrop-blur-md border-border shadow-sm py-2":"bg-background border-transparent py-4"),children:d.jsxs("div",{className:"container mx-auto px-4 md:px-6 flex items-center justify-between gap-8",children:[d.jsx(Qe,{href:"/",className:"flex items-center gap-3 group shrink-0",children:d.jsx("img",{src:"/images/logo-seva.png",alt:"SEVA Build",className:"h-8 md:h-10 w-auto object-contain transition-transform group-hover:scale-105"})}),d.jsxs("nav",{className:"hidden lg:flex items-center gap-6 xl:gap-8",children:[Lx.map(f=>d.jsx(Qe,{href:f.href,className:Re("text-sm font-medium uppercase tracking-wide transition-colors hover:text-primary underline-offset-4 decoration-2",a===f.href?"text-primary underline":"text-muted-foreground"),children:f.label},f.href)),d.jsx(Qe,{href:"/careers",children:d.jsx(Ae,{size:"sm",className:"font-heading uppercase tracking-widest ml-4 bg-primary hover:bg-primary/90 text-white rounded-none",children:"Join SEVA"})})]}),d.jsxs(QO,{open:l,onOpenChange:u,children:[d.jsx(KO,{asChild:!0,children:d.jsxs(Ae,{variant:"ghost",size:"icon",className:"lg:hidden rounded-none",children:[d.jsx(TC,{className:"h-6 w-6"}),d.jsx("span",{className:"sr-only",children:"Toggle menu"})]})}),d.jsx(Mw,{side:"right",className:"w-[300px] sm:w-[400px] border-l-2 border-primary bg-background p-0",children:d.jsxs("div",{className:"flex flex-col h-full",children:[d.jsxs("div",{className:"p-6 border-b",children:[d.jsx("img",{src:"/images/logo-seva.png",alt:"SEVA Build",className:"h-8 w-auto object-contain mb-4"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"Purpose-driven construction."})]}),d.jsx("nav",{className:"flex-1 overflow-y-auto py-6 px-6 flex flex-col gap-2",children:Lx.map(f=>d.jsx(Qe,{href:f.href,className:Re("block py-3 text-lg font-heading uppercase tracking-wide border-b border-border/50 hover:text-primary transition-colors",a===f.href?"text-primary border-primary":"text-foreground"),children:f.label},f.href))}),d.jsx("div",{className:"p-6 bg-muted/30",children:d.jsxs("div",{className:"flex flex-col gap-3",children:[d.jsx(Qe,{href:"/contact",children:d.jsx(Ae,{className:"w-full rounded-none font-heading uppercase tracking-widest bg-primary text-white hover:bg-primary/90",children:"Work With Us"})}),d.jsx(Qe,{href:"/careers",children:d.jsx(Ae,{variant:"outline",className:"w-full rounded-none font-heading uppercase tracking-widest border-foreground
53/20 hover:bg-foreground hover:text-white",children:"Join The Team"})})]})})]})})]})]})}),d.jsx("main",{className:"flex-1",children:t}),d.jsx("footer",{className:"bg-foreground text-background pt-16 pb-8 border-t-4 border-primary",children:d.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-12 mb-16",children:[d.jsxs("div",{className:"md:col-span-4 lg:col-span-5 space-y-6",children:[d.jsx("img",{src:"/images/logo-seva.png",alt:"SEVA Build",className:"h-10 w-auto object-contain brightness-0 invert opacity-90"}),d.jsx("p",{className:"text-muted-foreground max-w-sm leading-relaxed",children:"A disciplined execution platform delivering purpose-driven construction. We build with intention, integrity, and a multi-generational mindset."}),d.jsxs("div",{className:"flex items-center gap-3 pt-4 border-t border-white/10",children:[d.jsx("img",{src:"/images/logo-hansji.png",alt:"Hansji",className:"h-8 w-auto object-contain brightness-0 invert opacity-70"}),d.jsx("span",{className:"text-sm text-muted-foreground uppercase tracking-widest font-heading",children:"An Affiliated Company"})]})]}),d.jsxs("div",{className:"md:col-span-2 lg:col-span-2 space-y-6",children:[d.jsx("h4",{className:"text-lg font-heading uppercase tracking-widest text-primary",children:"Company"}),d.jsxs("ul",{className:"space-y-3",children:[d.jsx("li",{children:d.jsx(Qe,{href:"/about",className:"text-muted-foreground hover:text-white transition-colors",children:"About Us"})}),d.jsx("li",{children:d.jsx(Qe,{href:"/platform",className:"text-muted-foreground hover:text-white transition-colors",children:"Our Platform"})}),d.jsx("li",{children:d.jsx(Qe,{href:"/legacy",className:"text-muted-foreground hover:text-white transition-colors",children:"Hansji Legacy"})}),d.jsx("li",{children:d.jsx(Qe,{href:"/careers",className:"text-muted-foreground hover:text-white transition-colors",children:"Careers"})})]})]}),d.jsxs("div",{className:"md:col-span-2 lg:col-span-2 space-y-6",children:[d.jsx("h4",{className:"text-lg font-heading uppercase tracking-widest text-primary",children:"Services"}),d.jsxs("ul",{className:"space-y-3",children:[d.jsx("li",{children:d.jsx(Qe,{href:"/projects",className:"text-muted-foreground hover:text-white transition-colors",children:"Projects"})}),d.jsx("li",{children:d.jsx(Qe,{href:"/capabilities",className:"text-muted-foreground hover:text-white transition-colors",children:"Capabilities"})}),d.jsx("li",{children:d.jsx(Qe,{href:"/contact",className:"text-muted-foreground hover:text-white transition-colors",children:"Contact"})})]})]}),d.jsxs("div",{className:"md:col-span-4 lg:col-span-3 space-y-6",children:[d.jsx("h4",{className:"text-lg font-heading uppercase tracking-widest text-primary",children:"Contact"}),d.jsxs("ul",{className:"space-y-4",children:[d.jsxs("li",{className:"flex items-start gap-3 text-muted-foreground",children:[d.jsx(Pr,{className:"h-5 w-5 text-primary shrink-0"}),d.jsx("span",{children:"(714) 399-0150"})]}),d.jsxs("li",{className:"flex items-start gap-3 text-muted-foreground",children:[d.jsx(vs,{className:"h-5 w-5 text-primary shrink-0"}),d.jsx("span",{children:"[email protected]"})]})]})]})]}),d.jsxs("div",{className:"border-t border-white/10 pt-8 flex flex-col md:flex-row justify-between items-center gap-4 text-sm text-muted-foreground",children:[d.jsxs("p",{children:["© ",new Date().getFullYear()," SEVA Build, LLC â An affiliated company of Hansji Corporation."]}),d.jsxs("div",{className:"flex gap-6",children:[d.jsx("a",{href:"#",className:"hover:text-white transition-colors",children:"Privacy Policy"}),d.jsx("a",{href:"#",className:"hover:text-white transition-colors",children:"Terms of Service"})]})]})]})})]})}const Dw=b.createContext({});function WO(t){const a=b.useRef(null);return a.current===null&&(a.current=t()),a.current}const Ow=typeof window<"u",JO=Ow?b.useLayoutEffect:b.useEffect,Qh=b.createContext(null);function Kh(t,a){t.indexOf(a)===-1&&t.push(a)}function Xh(t,a){const s=t.indexOf(a);s>-1&&t.splice(s,1)}const An=(t,a,s)=>s>a?a:s<t?t:s;let Ih=()=>{};const Jn={},_w=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function kw(t){return typeof t=="object"&&t!==null}const zw=t=>/^0[^.\s]+$/u.test(t);function Zh(t){let a;return()=>(a===void 0&&(a=t()),a)}const sn=t=>t,e3=(t,a)=>s=>a(t(s)),eo=(...t)=>t.reduce(e3),Hr=(t,a,s)=>{const r=a-t;return r===0?1:(s-t)/r};class $h{constructor(){this.subscriptions=[]}add(a){return Kh(this.subscriptions,a),()=>Xh(this.subscriptions,a)}notify(a,s,r){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](a,s,r);else for(let u=0;u<l;u++){const f=this.subscriptions[u];f&&f(a,s,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const In=t=>t*1e3,an=t=>t/1e3;function Vw(t,a){return a?t*(1e3/a):0}const Lw=(t,a,s)=>(((1-3*s+3*a)*t+(3*s-6*a))*t+3*a)*t,t3=1e-7,n3=12;function a3(t,a,s,r,l){let u,f,m=0;do f=a+(s-a)/2,u=Lw(f,r,l)-t,u>0?s=f:a=f;
vendor: 113,083 bytes, line 53
53while(Math.abs(u)>t3&&++m<n3);return f}function to(t,a,s,r){if(t===a&&s===r)return sn;const l=u=>a3(u,0,1,t,s);return u=>u===0||u===1?u:Lw(l(u),a,r)}const Pw=t=>a=>a<=.5?t(2*a)/2:(2-t(2*(1-a)))/2,Uw=t=>a=>1-t(1-a),Bw=to(.33,1.53,.69,.99),Wh=Uw(Bw),Hw=Pw(Wh),qw=t=>(t*=2)<1?.5*Wh(t):.5*(2-Math.pow(2,-10*(t-1))),Jh=t=>1-Math.sin(Math.acos(t)),Fw=Uw(Jh),Gw=Pw(Jh),i3=to(.42,0,1,1),s3=to(0,0,.58,1),Yw=to(.42,0,.58,1),r3=t=>Array.isArray(t)&&typeof t[0]!="number",Qw=t=>Array.isArray(t)&&typeof t[0]=="number",o3={linear:sn,easeIn:i3,easeInOut:Yw,easeOut:s3,circIn:Jh,circInOut:Gw,circOut:Fw,backIn:Wh,backInOut:Hw,backOut:Bw,anticipate:qw},l3=t=>typeof t=="string",Px=t=>{if(Qw(t)){Ih(t.length===4);const[a,s,r,l]=t;return to(a,s,r,l)}else if(l3(t))return o3[t];return t},_l=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function c3(t,a){let s=new Set,r=new Set,l=!1,u=!1;const f=new WeakSet;let m={delta:0,timestamp:0,isProcessing:!1};function p(y){f.has(y)&&(g.schedule(y),t()),y(m)}const g={schedule:(y,v=!1,w=!1)=>{const N=w&&l?s:r;return v&&f.add(y),N.has(y)||N.add(y),y},cancel:y=>{r.delete(y),f.delete(y)},process:y=>{if(m=y,l){u=!0;return}l=!0,[s,r]=[r,s],s.forEach(p),s.clear(),l=!1,u&&(u=!1,g.process(y))}};return g}const u3=40;function Kw(t,a){let s=!1,r=!0;const l={delta:0,timestamp:0,isProcessing:!1},u=()=>s=!0,f=_l.reduce((R,D)=>(R[D]=c3(u),R),{}),{setup:m,read:p,resolveKeyframes:g,preUpdate:y,update:v,preRender:w,render:j,postRender:N}=f,T=()=>{const R=Jn.useManualTiming?l.timestamp:performance.now();s=!1,Jn.useManualTiming||(l.delta=r?1e3/60:Math.max(Math.min(R-l.timestamp,u3),1)),l.timestamp=R,l.isProcessing=!0,m.process(l),p.process(l),g.process(l),y.process(l),v.process(l),w.process(l),j.process(l),N.process(l),l.isProcessing=!1,s&&a&&(r=!1,t(T))},E=()=>{s=!0,r=!0,l.isProcessing||t(T)};return{schedule:_l.reduce((R,D)=>{const k=f[D];return R[D]=(G,H=!1,L=!1)=>(s||E(),k.schedule(G,H,L)),R},{}),cancel:R=>{for(let D=0;D<_l.length;D++)f[_l[D]].cancel(R)},state:l,steps:f}}const{schedule:Ge,cancel:za,state:gt,steps:bf}=Kw(typeof requestAnimationFrame<"u"?requestAnimationFrame:sn,!0);let Hl;function d3(){Hl=void 0}const jt={now:()=>(Hl===void 0&&jt.set(gt.isProcessing||Jn.useManualTiming?gt.timestamp:performance.now()),Hl),set:t=>{Hl=t,queueMicrotask(d3)}},Xw=t=>a=>typeof a=="string"&&a.startsWith(t),Iw=Xw("--"),f3=Xw("var(--"),em=t=>f3(t)?h3.test(t.split("/*")[0].trim()):!1,h3=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Ux(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const Cs={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},qr={...Cs,transform:t=>An(0,1,t)},kl={...Cs,default:1},_r=t=>Math.round(t*1e5)/1e5,tm=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function m3(t){return t==null}const p3=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,nm=(t,a)=>s=>!!(typeof s=="string"&&p3.test(s)&&s.startsWith(t)||a&&!m3(s)&&Object.prototype.hasOwnProperty.call(s,a)),Zw=(t,a,s)=>r=>{if(typeof r!="string")return r;const[l,u,f,m]=r.match(tm);return{[t]:parseFloat(l),[a]:parseFloat(u),[s]:parseFloat(f),alpha:m!==void 0?parseFloat(m):1}},g3=t=>An(0,255,t),wf={...Cs,transform:t=>Math.round(g3(t))},ui={test:nm("rgb","red"),parse:Zw("red","green","blue"),transform:({red:t,green:a,blue:s,alpha:r=1})=>"rgba("+wf.transform(t)+", "+wf.transform(a)+", "+wf.transform(s)+", "+_r(qr.transform(r))+")"};function y3(t){let a="",s="",r="",l="";return t.length>5?(a=t.substring(1,3),s=t.substring(3,5),r=t.substring(5,7),l=t.substring(7,9)):(a=t.substring(1,2),s=t.substring(2,3),r=t.substring(3,4),l=t.substring(4,5),a+=a,s+=s,r+=r,l+=l),{red:parseInt(a,16),green:parseInt(s,16),blue:parseInt(r,16),alpha:l?parseInt(l,16)/255:1}}const eh={test:nm("#"),parse:y3,transform:ui.transform},no=t=>({test:a=>typeof a=="string"&&a.endsWith(t)&&a.split(" ").length===1,parse:parseFloat,transform:a=>`${a}${t}`}),Ra=no("deg"),En=no("%"),ee=no("px"),v3=no("vh"),x3=no("vw"),Bx={...En,parse:t=>En.parse(t)/100,transform:t=>En.transform(t*100)},us={test:nm("hsl","hue"),parse:Zw("hue","saturation","lightness"),transform:({hue:t,saturation:a,lightness:s,alpha:r=1})=>"hsla("+Math.round(t)+", "+En.transform(_r(a))+", "+En.transform(_r(s))+", "+_r(qr.transform(r))+")"},it={test:t=>ui.test(t)||eh.test(t)||us.test(t),parse:t=>ui.test(t)?ui.parse(t):us.test(t)?us.parse(t):eh.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?ui.transform(t):us.transform(t),getAnimatableNone:t=>{const a=it.parse(t);return a.alpha=0,it.transform(a)}},b3=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function w3(t){return isNaN(t)&&typeof t=="string"&&(t.match(tm)?.length||0)+(t.match(b3)?.length||0)>0}const $w="number",Ww="color",S3="var",j3="var(",Hx="${}",T3=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Fr(t){const a=t.toString(),s=[],r={color:[],number:[],var:[]},l=[];let u=0;const m=a.replace(T3,p=>(it.test(p)?(r.color.push(u),l.push(Ww),s.push(it.parse(p))):p.startsWith(j3)?(r.var.push(u),l.push(S3),s.push(p)):(r.number.push(u),l.push($w),s.push(parseFloat(p))),++u,Hx)).split(Hx);return{values:s,split:m,indexes:r,types:l}}function Jw(t){return Fr(t).values}function eS(t){const{split:a,types:s}=Fr(t),r=a.length;return l=>{let u="";for(let f=0;f<r;f++)if(u+=a[f],l[f]!==void 0){const m=s[f];m===$w?u+=_r(l[f]):m===Ww?u+=it.transform(l[f]):u+=l[f]}return u}}const E3=t=>typeof t=="number"?0:it.test(t)?it.getAnimatableNone(t):t;function N3(t){const a=Jw(t);return eS(t)(a.map(E3))}const Va={test:w3,parse:Jw,createTransformer:eS,getAnimatableNone:N3};function Sf(t,a,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?t+(a-t)*6*s:s<1/2?a:s<2/3?t+(a-t)*(2/3-s)*6:t}function A3({hue:t,saturation:a,lightness:s,alpha:r}){t/=360,a/=100,s/=100;let l=0,u=0,f=0;if(!a)l=u=f=s;else{const m=s<.5?s*(1+a):s+a-s*a,p=2*s-m;l=Sf(p,m,t+1/3),u=Sf(p,m,t),f=Sf(p,m,t-1/3)}return{red:Math.round(l*255),green:Math.round(u*255),blue:Math.round(f*255),alpha:r}}function ec(t,a){return s=>s>0?a:t}const Ke=(t,a,s)=>t+(a-t)*s,jf=(t,a,s)=>{const r=t*t,l=s*(a*a-r)+r;return l<0?0:Math.sqrt(l)},C3=[eh,ui,us],R3=t=>C3.find(a=>a.test(t));function qx(t){const a=R3(t);if(!a)return!1;let s=a.parse(t);return a===us&&(s=A3(s)),s}const Fx=(t,a)=>{const s=qx(t),r=qx(a);if(!s||!r)return ec(t,a);const l={...s};return u=>(l.red=jf(s.red,r.red,u),l.green=jf(s.green,r.green,u),l.blue=jf(s.blue,r.blue,u),l.alpha=Ke(s.alpha,r.alpha,u),ui.transform(l))},th=new Set(["none","hidden"]);function M3(t,a){return th.has(t)?s=>s<=0?t:a:s=>s>=1?a:t}function D3(t,a){return s=>Ke(t,a,s)}function am(t){return typeof t=="number"?D3:typeof t=="string"?em(t)?ec:it.test(t)?Fx:k3:Array.isArray(t)?tS:typeof t=="object"?it.test(t)?Fx:O3:ec}function tS(t,a){const s=[...t],r=s.length,l=t.map((u,f)=>am(u)(u,a[f]));return u=>{for(let f=0;f<r;f++)s[f]=l[f](u);return s}}function O3(t,a){const s={...t,...a},r={};for(const l in s)t[l]!==void 0&&a[l]!==void 0&&(r[l]=am(t[l])(t[l],a[l]));return l=>{for(const u in r)s[u]=r[u](l);return s}}function _3(t,a){const s=[],r={color:0,var:0,number:0};for(let l=0;l<a.values.length;l++){const u=a.types[l],f=t.indexes[u][r[u]],m=t.values[f]??0;s[l]=m,r[u]++}return s}const k3=(t,a)=>{const s=Va.createTransformer(a),r=Fr(t),l=Fr(a);return r.indexes.var.length===l.indexes.var.length&&r.indexes.color.length===l.indexes.color.length&&r.indexes.number.length>=l.indexes.number.length?th.has(t)&&!l.values.length||th.has(a)&&!r.values.length?M3(t,a):eo(tS(_3(r,l),l.values),s):ec(t,a)};function nS(t,a,s){return typeof t=="number"&&typeof a=="number"&&typeof s=="number"?Ke(t,a,s):am(t)(t,a)}const z3=t=>{const a=({timestamp:s})=>t(s);return{start:(s=!0)=>Ge.update(a,s),stop:()=>za(a),now:()=>gt.isProcessing?gt.timestamp:jt.now()}},aS=(t,a,s=10)=>{let r="";const l=Math.max(Math.round(a/s),2);for(let u=0;u<l;u++)r+=Math.round(t(u/(l-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},tc=2e4;function im(t){let a=0;const s=50;let r=t.next(a);for(;!r.done&&a<tc;)a+=s,r=t.next(a);return a>=tc?1/0:a}function V3(t,a=100,s){const r=s({...t,keyframes:[0,a]}),l=Math.min(im(r),tc);return{type:"keyframes",ease:u=>r.next(l*u).value/a,duration:an(l)}}const L3=5;function iS(t,a,s){const r=Math.max(a-L3,0);return Vw(s-t(r),a-r)}const Ze={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Tf=.001;function P3({duration:t=Ze.duration,bounce:a=Ze.bounce,velocity:s=Ze.velocity,mass:r=Ze.mass}){let l,u,f=1-a;f=An(Ze.minDamping,Ze.maxDamping,f),t=An(Ze.minDuration,Ze.maxDuration,an(t)),f<1?(l=g=>{const y=g*f,v=y*t,w=y-s,j=nh(g,f),N=Math.exp(-v);return Tf-w/j*N},u=g=>{const v=g*f*t,w=v*s+s,j=Math.pow(f,2)*Math.pow(g,2)*t,N=Math.exp(-v),T=nh(Math.pow(g,2),f);return(-l(g)+Tf>0?-1:1)*((w-j)*N)/T}):(l=g=>{const y=Math.exp(-g*t),v=(g-s)*t+1;return-Tf+y*v},u=g=>{const y=Math.exp(-g*t),v=(s-g)*(t*t);return y*v});const m=5/t,p=B3(l,u,m);if(t=In(t),isNaN(p))return{stiffness:Ze.stiffness,damping:Ze.damping,duration:t};{const g=Math.pow(p,2)*r;return{stiffness:g,damping:f*2*Math.sqrt(r*g),duration:t}}}const U3=12;function B3(t,a,s){let r=s;for(let l=1;l<U3;l++)r=r-t(r)/a(r);return r}function nh(t,a){return t*Math.sqrt(1-a*a)}const H3=["duration","bounce"],q3=["stiffness","damping","mass"];function Gx(t,a){return a.some(s=>t[s]!==void 0)}function F3(t){let a={velocity:Ze.velocity,stiffness:Ze.stiffness,damping:Ze.damping,mass:Ze.mass,isResolvedFromDuration:!1,...t};if(!Gx(t,q3)&&Gx(t,H3))if(t.visualDuration){const s=t.visualDuration,r=2*Math.PI/(s*1.2),l=r*r,u=2*An(.05,1,1-(t.bounce||0))*Math.sqrt(l);a={...a,mass:Ze.mass,stiffness:l,damping:u}}else{const s=P3(t);a={...a,...s,mass:Ze.mass},a.isResolvedFromDuration=!0}return a}function nc(t=Ze.visualDuration,a=Ze.bounce){const s=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:a}:t;let{restSpeed:r,restDelta:l}=s;const u=s.keyframes[0],f=s.keyframes[s.keyframes.length-1],m={done:!1,value:u},{stiffness:p,damping:g,mass:y,duration:v,velocity:w,isResolvedFromDuration:j}=F3({...s,velocity:-an(s.velocity||0)}),N=w||0,T=g/(2*Math.sqrt(p*y)),E=f-u,A=an(Math.sqrt(p/y)),_=Math.abs(E)<5;r||(r=_?Ze.restSpeed.granular:Ze.restSpeed.default),l||(l=_?Ze.restDelta.granular:Ze.restDelta.default);let R;if(T<1){const k=nh(A,T);R=G=>{const H=Math.exp(-T*A*G);return f-H*((N+T*A*E)/k*Math.sin(k*G)+E*Math.cos(k*G))}}else if(T===1)R=k=>f-Math.exp(-A*k)*(E+(N+A*E)*k);else{const k=A*Math.sqrt(T*T-1);R=G=>{const H=Math.exp(-T*A*G),L=Math.min(k*G,300);return f-H*((N+T*A*E)*Math.sinh(L)+k*E*Math.cosh(L))/k}}const D={calculatedDuration:j&&v||null,next:k=>{const G=R(k);if(j)m.done=k>=v;else{let H=k===0?N:0;T<1&&(H=k===0?In(N):iS(R,k,G));const L=Math.abs(H)<=r,W=Math.abs(f-G)<=l;m.done=L&&W}return m.value=m.done?f:G,m},toString:()=>{const k=Math.min(im(D),tc),G=aS(H=>D.next(k*H).value,k,30);return k+"ms "+G},toTransition:()=>{}};return D}nc.applyToOptions=t=>{const a=V3(t,100,nc);return t.ease=a.ease,t.duration=In(a.duration),t.type="keyframes",t};function ah({keyframes:t,velocity:a=0,power:s=.8,timeConstant:r=325,bounceDamping:l=10,bounceStiffness:u=500,modifyTarget:f,min:m,max:p,restDelta:g=.5,restSpeed:y}){const v=t[0],w={done:!1,value:v},j=L=>m!==void 0&&L<m||p!==void 0&&L>p,N=L=>m===void 0?p:p===void 0||Math.abs(m-L)<Math.abs(p-L)?m:p;let T=s*a;const E=v+T,A=f===void 0?E:f(E);A!==E&&(T=A-v);const _=L=>-T*Math.exp(-L/r),R=L=>A+_(L),D=L=>{const W=_(L),te=R(L);w.done=Math.abs(W)<=g,w.value=w.done?A:te};let k,G;const H=L=>{j(w.value)&&(k=L,G=nc({keyframes:[w.value,N(w.value)],velocity:iS(R,L,w.value),damping:l,stiffness:u,restDelta:g,restSpeed:y}))};return H(0),{calculatedDuration:null,next:L=>{let W=!1;return!G&&k===void 0&&(W=!0,D(L),H(L)),k!==void 0&&L>=k?G.next(L-k):(!W&&D(L),w)}}}function G3(t,a,s){const r=[],l=s||Jn.mix||nS,u=t.length-1;for(let f=0;f<u;f++){let m=l(t[f],t[f+1]);if(a){const p=Array.isArray(a)?a[f]||sn:a;m=eo(p,m)}r.push(m)}return r}function Y3(t,a,{clamp:s=!0,ease:r,mixer:l}={}){const u=t.length;if(Ih(u===a.length),u===1)return()=>a[0];if(u===2&&a[0]===a[1])return()=>a[1];const f=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),a=[...a].reverse());const m=G3(a,r,l),p=m.length,g=y=>{if(f&&y<t[0])return a[0];let v=0;if(p>1)for(;v<t.length-2&&!(y<t[v+1]);v++);const w=Hr(t[v],t[v+1],y);return m[v](w)};return s?y=>g(An(t[0],t[u-1],y)):g}function Q3(t,a){const s=t[t.length-1];for(let r=1;r<=a;r++){const l=Hr(0,a,r);t.push(Ke(s,1,l))}}function K3(t){const a=[0];return Q3(a,t.length-1),a}function X3(t,a){return t.map(s=>s*a)}function I3(t,a){return t.map(()=>a||Yw).splice(0,t.length-1)}function kr({duration:t=300,keyframes:a,times:s,ease:r="easeInOut"}){const l=r3(r)?r.map(Px):Px(r),u={done:!1,value:a[0]},f=X3(s&&s.length===a.length?s:K3(a),t),m=Y3(f,a,{ease:Array.isArray(l)?l:I3(a,l)});return{calculatedDuration:t,next:p=>(u.value=m(p),u.done=p>=t,u)}}const Z3=t=>t!==null;function sm(t,{repeat:a,repeatType:s="loop"},r,l=1){const u=t.filter(Z3),m=l<0||a&&s!=="loop"&&a%2===1?0:u.length-1;return!m||r===void 0?u[m]:r}const $3={decay:ah,inertia:ah,tween:kr,keyframes:kr,spring:nc};function sS(t){typeof t.type=="string"&&(t.type=$3[t.type])}class rm{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(a=>{this.resolve=a})}notifyFinished(){this.resolve()}then(a,s){return this.finished.then(a,s)}}const W3=t=>t/100;class om extends rm{constructor(a){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==jt.now()&&this.tick(jt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=a,this.initAnimation(),this.play(),a.autoplay===!1&&this.pause()}initAnimation(){const{options:a}=this;sS(a);const{type:s=kr,repeat:r=0,repeatDelay:l=0,repeatType:u,velocity:f=0}=a;let{keyframes:m}=a;const p=s||kr;p!==kr&&typeof m[0]!="number"&&(this.mixKeyframes=eo(W3,nS(m[0],m[1])),m=[0,100]);const g=p({...a,keyframes:m});u==="mirror"&&(this.mirroredGenerator=p({...a,keyframes:[...m].reverse(),velocity:-f})),g.calculatedDuration===null&&(g.calculatedDuration=im(g));const{calculatedDuration:y}=g;this.calculatedDuration=y,this.resolvedDuration=y+l,this.totalDuration=this.resolvedDuration*(r+1)-l,this.generator=g}updateTime(a){const s=Math.round(a-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(a,s=!1){const{generator:r,totalDuration:l,mixKeyframes:u,mirroredGenerator:f,resolvedDuration:m,calculatedDuration:p}=this;if(this.startTime===null)return r.next(0);const{delay:g=0,keyframes:y,repeat:v,repeatType:w,repeatDelay:j,type:N,onUpdate:T,finalKeyframe:E}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,a):this.speed<0&&(this.startTime=Math.min(a-l/this.speed,this.startTime)),s?this.currentTime=a:this.updateTime(a);const A=this.currentTime-g*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?A<0:A>l;this.currentTime=Math.max(A,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let R=this.currentTime,D=r;if(v){const L=Math.min(this.currentTime,l)/m;let W=Math.floor(L),te=L%1;!te&&L>=1&&(te=1),te===1&&W--,W=Math.min(W,v+1),W%2&&(w==="reverse"?(te=1-te,j&&(te-=j/m)):w==="mirror"&&(D=f)),R=An(0,1,te)*m}const k=_?{done:!1,value:y[0]}:D.next(R);u&&(k.value=u(k.value));let{done:G}=k;!_&&p!==null&&(G=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const H=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&G);return H&&N!==ah&&(k.value=sm(y,this.options,E,this.speed)),T&&T(k.value),H&&this.finish(),k}then(a,s){return this.finished.then(a,s)}get duration(){return an(this.calculatedDuration)}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+an(a)}get time(){return an(this.currentTime)}set time(a){a=In(a),this.currentTime=a,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=a:this.driver&&(this.startTime=this.driver.now()-a/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(a){this.updateTime(jt.now());const s=this.playbackSpeed!==a;this.playbackSpeed=a,s&&(this.time=an(this.currentTime))}play(){if(this.isStopped)return;const{driver:a=z3,startTime:s}=this.options;this.driver||(this.driver=a(l=>this.tick(l))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=s??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(jt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(a){return this.startTime=0,this.tick(a,!0)}attachTimeline(a){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),a.observe(this)}}function J3(t){for(let a=1;a<t.length;a++)t[a]??(t[a]=t[a-1])}const di=t=>t*180/Math.PI,ih=t=>{const a=di(Math.atan2(t[1],t[0]));return sh(a)},e4={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:ih,rotateZ:ih,skewX:t=>di(Math.atan(t[1])),skewY:t=>di(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},sh=t=>(t=t%360,t<0&&(t+=360),t),Yx=ih,Qx=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Kx=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),t4={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Qx,scaleY:Kx,scale:t=>(Qx(t)+Kx(t))/2,rotateX:t=>sh(di(Math.atan2(t[6],t[5]))),rotateY:t=>sh(di(Math.atan2(-t[2],t[0]))),rotateZ:Yx,rotate:Yx,skewX:t=>di(Math.atan(t[4])),skewY:t=>di(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function rh(t){return t.includes("scale")?1:0}function oh(t,a){if(!t||t==="none")return rh(a);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,l;if(s)r=t4,l=s;else{const m=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=e4,l=m}if(!l)return rh(a);const u=r[a],f=l[1].split(",").map(a4);return typeof u=="function"?u(f):f[u]}const n4=(t,a)=>{const{transform:s="none"}=getComputedStyle(t);return oh(s,a)};function a4(t){return parseFloat(t.trim())}const Rs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ms=new Set(Rs),Xx=t=>t===Cs||t===ee,i4=new Set(["x","y","z"]),s4=Rs.filter(t=>!i4.has(t));function r4(t){const a=[];return s4.forEach(s=>{const r=t.getValue(s);r!==void 0&&(a.push([s,r.get()]),r.set(s.startsWith("scale")?1:0))}),a}const Da={width:({x:t},{paddingLeft:a="0",paddingRight:s="0"})=>t.max-t.min-parseFloat(a)-parseFloat(s),height:({y:t},{paddingTop:a="0",paddingBottom:s="0"})=>t.max-t.min-parseFloat(a)-parseFloat(s),top:(t,{top:a})=>parseFloat(a),left:(t,{left:a})=>parseFloat(a),bottom:({y:t},{top:a})=>parseFloat(a)+(t.max-t.min),right:({x:t},{left:a})=>parseFloat(a)+(t.max-t.min),x:(t,{transform:a})=>oh(a,"x"),y:(t,{transform:a})=>oh(a,"y")};Da.translateX=Da.x;Da.translateY=Da.y;const mi=new Set;let lh=!1,ch=!1,uh=!1;function rS(){if(ch){const t=Array.from(mi).filter(r=>r.needsMeasurement),a=new Set(t.map(r=>r.element)),s=new Map;a.forEach(r=>{const l=r4(r);l.length&&(s.set(r,l),r.render())}),t.forEach(r=>r.measureInitialState()),a.forEach(r=>{r.render();const l=s.get(r);l&&l.forEach(([u,f])=>{r.getValue(u)?.set(f)})}),t.forEach(r=>r.measureEndState()),t.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}ch=!1,lh=!1,mi.forEach(t=>t.complete(uh)),mi.clear()}function oS(){mi.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(ch=!0)})}function o4(){uh=!0,oS(),rS(),uh=!1}class lm{constructor(a,s,r,l,u,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...a],this.onComplete=s,this.name=r,this.motionValue=l,this.element=u,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(mi.add(this),lh||(lh=!0,Ge.read(oS),Ge.resolveKeyframes(rS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:a,name:s,element:r,motionValue:l}=this;if(a[0]===null){const u=l?.get(),f=a[a.length-1];if(u!==void 0)a[0]=u;else if(r&&s){const m=r.readValue(s,f);m!=null&&(a[0]=m)}a[0]===void 0&&(a[0]=f),l&&u===void 0&&l.set(a[0])}J3(a)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(a=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,a),mi.delete(this)}cancel(){this.state==="scheduled"&&(mi.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const l4=t=>t.startsWith("--");function c4(t,a,s){l4(a)?t.style.setProperty(a,s):t.style[a]=s}const u4=Zh(()=>window.ScrollTimeline!==void 0),d4={};function f4(t,a){const s=Zh(t);return()=>d4[a]??s()}const lS=f4(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Rr=([t,a,s,r])=>`cubic-bezier(${t}, ${a}, ${s}, ${r})`,Ix={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Rr([0,.65,.55,1]),circOut:Rr([.55,0,1,.45]),backIn:Rr([.31,.01,.66,-.59]),backOut:Rr([.33,1.53,.69,.99])};function cS(t,a){if(t)return typeof t=="function"?lS()?aS(t,a):"ease-out":Qw(t)?Rr(t):Array.isArray(t)?t.map(s=>cS(s,a)||Ix.easeOut):Ix[t]}function h4(t,a,s,{delay:r=0,duration:l=300,repeat:u=0,repeatType:f="loop",ease:m="easeOut",times:p}={},g=void 0){const y={[a]:s};p&&(y.offset=p);const v=cS(m,l);Array.isArray(v)&&(y.easing=v);const w={delay:r,duration:l,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:u+1,direction:f==="reverse"?"alternate":"normal"};return g&&(w.pseudoElement=g),t.animate(y,w)}function uS(t){return typeof t=="function"&&"applyToOptions"in t}function m4({type:t,...a}){return uS(t)&&lS()?t.applyToOptions(a):(a.duration??(a.duration=300),a.ease??(a.ease="easeOut"),a)}class p4 extends rm{constructor(a){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!a)return;const{element:s,name:r,keyframes:l,pseudoElement:u,allowFlatten:f=!1,finalKeyframe:m,onComplete:p}=a;this.isPseudoElement=!!u,this.allowFlatten=f,this.options=a,Ih(typeof a.type!="string");const g=m4(a);this.animation=h4(s,r,l,g,u),g.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const y=sm(l,this.options,m,this.speed);this.updateMotionValue?this.updateMotionValue(y):c4(s,r,y),this.animation.cancel()}p?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:a}=this;a==="idle"||a==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const a=this.animation.effect?.getComputedTiming?.().duration||0;return an(Number(a))}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+an(a)}get time(){return an(Number(this.animation.currentTime)||0)}set time(a){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=In(a)}get speed(){return this.animation.playbackRate}set speed(a){a<0&&(this.finishedTime=null),this.animation.playbackRate=a}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(a){this.manualStartTime=this.animation.startTime=a}attachTimeline({timeline:a,observe:s}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,a&&u4()?(this.animation.timeline=a,sn):s(this)}}const dS={anticipate:qw,backInOut:Hw,circInOut:Gw};function g4(t){return t in dS}function y4(t){typeof t.ease=="string"&&g4(t.ease)&&(t.ease=dS[t.ease])}const Ef=10;class v4 extends p4{constructor(a){y4(a),sS(a),super(a),a.startTime!==void 0&&(this.startTime=a.startTime),this.options=a}updateMotionValue(a){const{motionValue:s,onUpdate:r,onComplete:l,element:u,...f}=this.options;if(!s)return;if(a!==void 0){s.set(a);return}const m=new om({...f,autoplay:!1}),p=Math.max(Ef,jt.now()-this.startTime),g=An(0,Ef,p-Ef);s.setWithVelocity(m.sample(Math.max(0,p-g)).value,m.sample(p).value,g),m.stop()}}const Zx=(t,a)=>a==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Va.test(t)||t==="0")&&!t.startsWith("url("));function x4(t){const a=t[0];if(t.length===1)return!0;for(let s=0;s<t.length;s++)if(t[s]!==a)return!0}function b4(t,a,s,r){const l=t[0];if(l===null)return!1;if(a==="display"||a==="visibility")return!0;const u=t[t.length-1],f=Zx(l,a),m=Zx(u,a);return!f||!m?!1:x4(t)||(s==="spring"||uS(s))&&r}function dh(t){t.duration=0,t.type="keyframes"}const w4=new Set(["opacity","clipPath","filter","transform"]),S4=Zh(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function j4(t){const{motionValue:a,name:s,repeatDelay:r,repeatType:l,damping:u,type:f}=t;if(!(a?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:g}=a.owner.getProps();return S4()&&s&&w4.has(s)&&(s!=="transform"||!g)&&!p&&!r&&l!=="mirror"&&u!==0&&f!=="inertia"}const T4=40;class E4 extends rm{constructor({autoplay:a=!0,delay:s=0,type:r="keyframes",repeat:l=0,repeatDelay:u=0,repeatType:f="loop",keyframes:m,name:p,motionValue:g,element:y,...v}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=jt.now();const w={autoplay:a,delay:s,type:r,repeat:l,repeatDelay:u,repeatType:f,name:p,motionValue:g,element:y,...v},j=y?.KeyframeResolver||lm;this.keyframeResolver=new j(m,(N,T,E)=>this.onKeyframesResolved(N,T,w,!E),p,g,y),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(a,s,r,l){this.keyframeResolver=void 0;const{name:u,type:f,velocity:m,delay:p,isHandoff:g,onUpdate:y}=r;this.resolvedAt=jt.now(),b4(a,u,f,m)||((Jn.instantAnimations||!p)&&y?.(sm(a,r,s)),a[0]=a[a.length-1],dh(r),r.repeat=0);const w={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>T4?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...r,keyframes:a},j=!g&&j4(w)?new v4({...w,element:w.motionValue.owner.current}):new om(w);j.finished.then(()=>this.notifyFinished()).catch(sn),this.pendingTimeline&&(this.stopTimeline=j.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=j}get finished(){return this._animation?this.animation.finished:this._finished}then(a,s){return this.finished.finally(a).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),o4()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(a){this.animation.time=a}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(a){this.animation.speed=a}get startTime(){return this.animation.startTime}attachTimeline(a){return this._animation?this.stopTimeline=this.animation.attachTimeline(a):this.pendingTimeline=a,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const N4=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function A4(t){const a=N4.exec(t);if(!a)return[,];const[,s,r,l]=a;return[`--${s??r}`,l]}function fS(t,a,s=1){const[r,l]=A4(t);if(!r)return;const u=window.getComputedStyle(a).getPropertyValue(r);if(u){const f=u.trim();return _w(f)?parseFloat(f):f}return em(l)?fS(l,a,s+1):l}function cm(t,a){return t?.[a]??t?.default??t}const C4={type:"spring",stiffness:500,damping:25,restSpeed:10},R4=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),M4={type:"keyframes",duration:.8},D4={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},O4=(t,{keyframes:a})=>a.length>2?M4:Ms.has(t)?t.startsWith("scale")?R4(a[1]):C4:D4;function _4({when:t,delay:a,delayChildren:s,staggerChildren:r,staggerDirection:l,repeat:u,repeatType:f,repeatDelay:m,from:p,elapsed:g,...y}){return!!Object.keys(y).length}const k4=t=>t!==null;function z4(t,{repeat:a,repeatType:s="loop"},r){const l=t.filter(k4),u=a&&s!=="loop"&&a%2===1?0:l.length-1;return l[u]}function hS(t,a,s,r=0,l=1){const u=Array.from(t).sort((g,y)=>g.sortNodePosition(y)).indexOf(a),f=t.size,m=(f-1)*r;return typeof s=="function"?s(u,f):l===1?u*r:m-u*r}const um=(t,a,s,r={},l,u)=>f=>{const m=cm(r,t)||{},p=m.delay||r.delay||0;let{elapsed:g=0}=r;g=g-In(p);const y={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:a.getVelocity(),...m,delay:-g,onUpdate:w=>{a.set(w),m.onUpdate&&m.onUpdate(w)},onComplete:()=>{f(),m.onComplete&&m.onComplete()},name:t,motionValue:a,element:u?void 0:l};_4(m)||Object.assign(y,O4(t,y)),y.duration&&(y.duration=In(y.duration)),y.repeatDelay&&(y.repeatDelay=In(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let v=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(dh(y),y.delay===0&&(v=!0)),(Jn.instantAnimations||Jn.skipAnimations)&&(v=!0,dh(y),y.delay=0),y.allowFlatten=!m.type&&!m.ease,v&&!u&&a.get()!==void 0){const w=z4(y.keyframes,m);if(w!==void 0){Ge.update(()=>{y.onUpdate(w),y.onComplete()});return}}return m.isSync?new om(y):new E4(y)},mS=new Set(["width","height","top","left","right","bottom",...Rs]),$x=30,V4=t=>!isNaN(parseFloat(t));class L4{constructor(a,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const l=jt.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(a),this.owner=s.owner}setCurrent(a){this.current=a,this.updatedAt=jt.now(),this.canTrackVelocity===null&&a!==void 0&&(this.canTrackVelocity=V4(this.current))}setPrevFrameValue(a=this.current){this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt}onChange(a){return this.on("change",a)}on(a,s){this.events[a]||(this.events[a]=new $h);const r=this.events[a].add(s);return a==="change"?()=>{r(),Ge.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const a in this.events)this.events[a].clear()}attach(a,s){this.passiveEffect=a,this.stopPassiveEffect=s}set(a){this.passiveEffect?this.passiveEffect(a,this.updateAndNotify):this.updateAndNotify(a)}setWithVelocity(a,s,r){this.set(s),this.prev=void 0,this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt-r}jump(a,s=!0){this.updateAndNotify(a),this.prev=a,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(a){this.dependents||(this.dependents=new Set),this.dependents.add(a)}removeDependent(a){this.dependents&&this.dependents.delete(a)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const a=jt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||a-this.updatedAt>$x)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,$x);return Vw(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(a){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=a(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ws(t,a){return new L4(t,a)}function Wx(t){const a=[{},{}];return t?.values.forEach((s,r)=>{a[0][r]=s.get(),a[1][r]=s.getVelocity()}),a}function dm(t,a,s,r){if(typeof a=="function"){const[l,u]=Wx(r);a=a(s!==void 0?s:t.custom,l,u)}if(typeof a=="string"&&(a=t.variants&&t.variants[a]),typeof a=="function"){const[l,u]=Wx(r);a=a(s!==void 0?s:t.custom,l,u)}return a}function gs(t,a,s){const r=t.getProps();return dm(r,a,s!==void 0?s:r.custom,t)}const fh=t=>Array.isArray(t);function P4(t,a,s){t.hasValue(a)?t.getValue(a).set(s):t.addValue(a,ws(s))}function U4(t){return fh(t)?t[t.length-1]||0:t}function B4(t,a){const s=gs(t,a);let{transitionEnd:r={},transition:l={},...u}=s||{};u={...u,...r};for(const f in u){const m=U4(u[f]);P4(t,f,m)}}const xt=t=>!!(t&&t.getVelocity);function H4(t){return!!(xt(t)&&t.add)}function hh(t,a){const s=t.getValue("willChange");if(H4(s))return s.add(a);if(!s&&Jn.WillChange){const r=new Jn.WillChange("auto");t.addValue("willChange",r),r.add(a)}}function fm(t){return t.replace(/([A-Z])/g,a=>`-${a.toLowerCase()}`)}const q4="framerAppearId",pS="data-"+fm(q4);function gS(t){return t.props[pS]}function F4({protectedKeys:t,needsAnimating:a},s){const r=t.hasOwnProperty(s)&&a[s]!==!0;return a[s]=!1,r}function yS(t,a,{delay:s=0,transitionOverride:r,type:l}={}){let{transition:u=t.getDefaultTransition(),transitionEnd:f,...m}=a;r&&(u=r);const p=[],g=l&&t.animationState&&t.animationState.getState()[l];for(const y in m){const v=t.getValue(y,t.latestValues[y]??null),w=m[y];if(w===void 0||g&&F4(g,y))continue;const j={delay:s,...cm(u||{},y)},N=v.get();if(N!==void 0&&!v.isAnimating&&!Array.isArray(w)&&w===N&&!j.velocity)continue;let T=!1;if(window.MotionHandoffAnimation){const A=gS(t);if(A){const _=window.MotionHandoffAnimation(A,y,Ge);_!==null&&(j.startTime=_,T=!0)}}hh(t,y),v.start(um(y,v,w,t.shouldReduceMotion&&mS.has(y)?{type:!1}:j,t,T));const E=v.animation;E&&p.push(E)}return f&&Promise.all(p).then(()=>{Ge.update(()=>{f&&B4(t,f)})}),p}function mh(t,a,s={}){const r=gs(t,a,s.type==="exit"?t.presenceContext?.custom:void 0);let{transition:l=t.getDefaultTransition()||{}}=r||{};s.transitionOverride&&(l=s.transitionOverride);const u=r?()=>Promise.all(yS(t,r,s)):()=>Promise.resolve(),f=t.variantChildren&&t.variantChildren.size?(p=0)=>{const{delayChildren:g=0,staggerChildren:y,staggerDirection:v}=l;return G4(t,a,p,g,y,v,s)}:()=>Promise.resolve(),{when:m}=l;if(m){const[p,g]=m==="beforeChildren"?[u,f]:[f,u];return p().then(()=>g())}else return Promise.all([u(),f(s.delay)])}function G4(t,a,s=0,r=0,l=0,u=1,f){const m=[];for(const p of t.variantChildren)p.notify("AnimationStart",a),m.push(mh(p,a,{...f,delay:s+(typeof r=="function"?0:r)+hS(t.variantChildren,p,r,l,u)}).then(()=>p.notify("AnimationComplete",a)));return Promise.all(m)}function Y4(t,a,s={}){t.notify("AnimationStart",a);let r;if(Array.isArray(a)){const l=a.map(u=>mh(t,u,s));r=Promise.all(l)}else if(typeof a=="string")r=mh(t,a,s);else{const l=typeof a=="function"?gs(t,a,s.custom):a;r=Promise.all(yS(t,l,s))}return r.then(()=>{t.notify("AnimationComplete",a)})}const Q4={test:t=>t==="auto",parse:t=>t},vS=t=>a=>a.test(t),xS=[Cs,ee,En,Ra,x3,v3,Q4],Jx=t=>xS.find(vS(t));function K4(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||zw(t):!0}const X4=new Set(["brightness","contrast","saturate","opacity"]);function I4(t){const[a,s]=t.slice(0,-1).split("(");if(a==="drop-shadow")return t;const[r]=s.match(tm)||[];if(!r)return t;const l=s.replace(r,"");let u=X4.has(a)?1:0;return r!==s&&(u*=100),a+"("+u+l+")"}const Z4=/\b([a-z-]*)\(.*?\)/gu,ph={...Va,getAnimatableNone:t=>{const a=t.match(Z4);return a?a.map(I4).join(" "):t}},eb={...Cs,transform:Math.round},$4={rotate:Ra,rotateX:Ra,rotateY:Ra,rotateZ:Ra,scale:kl,scaleX:kl,scaleY:kl,scaleZ:kl,skew:Ra,skewX:Ra,skewY:Ra,distance:ee,translateX:ee,translateY:ee,translateZ:ee,x:ee,y:ee,z:ee,perspective:ee,transformPerspective:ee,opacity:qr,originX:Bx,originY:Bx,originZ:ee},hm={borderWidth:ee,borderTopWidth:ee,borderRightWidth:ee,borderBottomWidth:ee,borderLeftWidth:ee,borderRadius:ee,radius:ee,borderTopLeftRadius:ee,borderTopRightRadius:ee,borderBottomRightRadius:ee,borderBottomLeftRadius:ee,width:ee,maxWidth:ee,height:ee,maxHeight:ee,top:ee,right:ee,bottom:ee,left:ee,inset:ee,insetBlock:ee,insetBlockStart:ee,insetBlockEnd:ee,insetInline:ee,insetInlineStart:ee,insetInlineEnd:ee,padding:ee,paddingTop:ee,paddingRight:ee,paddingBottom:ee,paddingLeft:ee,paddingBlock:ee,paddingBlockStart:ee,paddingBlockEnd:ee,paddingInline:ee,paddingInlineStart:ee,paddingInlineEnd:ee,margin:ee,marginTop:ee,marginRight:ee,marginBottom:ee,marginLeft:ee,marginBlock:ee,marginBlockStart:ee,marginBlockEnd:ee,marginInline:ee,marginInlineStart:ee,marginInlineEnd:ee,backgroundPositionX:ee,backgroundPositionY:ee,...$4,zIndex:eb,fillOpacity:qr,strokeOpacity:qr,numOctaves:eb},W4={...hm,color:it,backgroundColor:it,outlineColor:it,fill:it,stroke:it,borderColor:it,borderTopColor:it,borderRightColor:it,borderBottomColor:it,borderLeftColor:it,filter:ph,WebkitFilter:ph},bS=t=>W4[t];function wS(t,a){let s=bS(t);return s!==ph&&(s=Va),s.getAnimatableNone?s.getAnimatableNone(a):void 0}const J4=new Set(["auto","none","0"]);function e_(t,a,s){let r=0,l;for(;r<t.length&&!l;){const u=t[r];typeof u=="string"&&!J4.has(u)&&Fr(u).values.length&&(l=t[r]),r++}if(l&&s)for(const u of a)t[u]=wS(s,l)}class t_ extends lm{constructor(a,s,r,l,u){super(a,s,r,l,u,!0)}readKeyframes(){const{unresolvedKeyframes:a,element:s,name:r}=this;if(!s||!s.current)return;super.readKeyframes();for(let y=0;y<a.length;y++){let v=a[y];if(typeof v=="string"&&(v=v.trim(),em(v))){const w=fS(v,s.current);w!==void 0&&(a[y]=w),y===a.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!mS.has(r)||a.length!==2)return;const[l,u]=a,f=Jx(l),m=Jx(u),p=Ux(l),g=Ux(u);if(p!==g&&Da[r]){this.needsMeasurement=!0;return}if(f!==m)if(Xx(f)&&Xx(m))for(let y=0;y<a.length;y++){const v=a[y];typeof v=="string"&&(a[y]=parseFloat(v))}else Da[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:a,name:s}=this,r=[];for(let l=0;l<a.length;l++)(a[l]===null||K4(a[l]))&&r.push(l);r.length&&e_(a,r,s)}measureInitialState(){const{element:a,unresolvedKeyframes:s,name:r}=this;if(!a||!a.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Da[r](a.measureViewportBox(),window.getComputedStyle(a.current)),s[0]=this.measuredOrigin;const l=s[s.length-1];l!==void 0&&a.getValue(r,l).jump(l,!1)}measureEndState(){const{element:a,name:s,unresolvedKeyframes:r}=this;if(!a||!a.current)return;const l=a.getValue(s);l&&l.jump(this.measuredOrigin,!1);const u=r.length-1,f=r[u];r[u]=Da[s](a.measureViewportBox(),window.getComputedStyle(a.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),this.removedTransforms?.length&&this.removedTransforms.forEach(([m,p])=>{a.getValue(m).set(p)}),this.resolveNoneKeyframes()}}function n_(t,a,s){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let r=document;const l=s?.[t]??r.querySelectorAll(t);return l?Array.from(l):[]}return Array.from(t)}const SS=(t,a)=>a&&typeof t=="number"?a.transform(t):t;function a_(t){return kw(t)&&"offsetHeight"in t}const{schedule:mm}=Kw(queueMicrotask,!1),un={x:!1,y:!1};function jS(){return un.x||un.y}function i_(t){return t==="x"||t==="y"?un[t]?null:(un[t]=!0,()=>{un[t]=!1}):un.x||un.y?null:(un.x=un.y=!0,()=>{un.x=un.y=!1})}function TS(t,a){const s=n_(t),r=new AbortController,l={passive:!0,...a,signal:r.signal};return[s,l,()=>r.abort()]}function tb(t){return!(t.pointerType==="touch"||jS())}function s_(t,a,s={}){const[r,l,u]=TS(t,s),f=m=>{if(!tb(m))return;const{target:p}=m,g=a(p,m);if(typeof g!="function"||!p)return;const y=v=>{tb(v)&&(g(v),p.removeEventListener("pointerleave",y))};p.addEventListener("pointerleave",y,l)};return r.forEach(m=>{m.addEventListener("pointerenter",f,l)}),u}const ES=(t,a)=>a?t===a?!0:ES(t,a.parentElement):!1,pm=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,r_=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function NS(t){return r_.has(t.tagName)||t.isContentEditable===!0}const ql=new WeakSet;function nb(t){return a=>{a.key==="Enter"&&t(a)}}function Nf(t,a){t.dispatchEvent(new PointerEvent("pointer"+a,{isPrimary:!0,bubbles:!0}))}const o_=(t,a)=>{const s=t.currentTarget;if(!s)return;const r=nb(()=>{if(ql.has(s))return;Nf(s,"down");const l=nb(()=>{Nf(s,"up")}),u=()=>Nf(s,"cancel");s.addEventListener("keyup",l,a),s.addEventListener("blur",u,a)});s.addEventListener("keydown",r,a),s.addEventListener("blur",()=>s.removeEventListener("keydown",r),a)};function ab(t){return pm(t)&&!jS()}function l_(t,a,s={}){const[r,l,u]=TS(t,s),f=m=>{const p=m.currentTarget;if(!ab(m))return;ql.add(p);const g=a(p,m),y=(j,N)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",w),ql.has(p)&&ql.delete(p),ab(j)&&typeof g=="function"&&g(j,{success:N})},v=j=>{y(j,p===window||p===document||s.useGlobalTarget||ES(p,j.target))},w=j=>{y(j,!1)};window.addEventListener("pointerup",v,l),window.addEventListener("pointercancel",w,l)};return r.forEach(m=>{(s.useGlobalTarget?window:m).addEventListener("pointerdown",f,l),a_(m)&&(m.addEventListener("focus",g=>o_(g,l)),!NS(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),u}function AS(t){return kw(t)&&"ownerSVGElement"in t}function c_(t){return AS(t)&&t.tagName==="svg"}const u_=[...xS,it,Va],d_=t=>u_.find(vS(t)),ib=()=>({translate:0,scale:1,origin:0,originPoint:0}),ds=()=>({x:ib(),y:ib()}),sb=()=>({min:0,max:0}),ot=()=>({x:sb(),y:sb()}),gh={current:null},CS={current:!1},f_=typeof window<"u";function h_(){if(CS.current=!0,!!f_)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),a=()=>gh.current=t.matches;t.addEventListener("change",a),a()}else gh.current=!1}const m_=new WeakMap;function Mc(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Gr(t){return typeof t=="string"||Array.isArray(t)}const gm=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ym=["initial",...gm];function Dc(t){return Mc(t.animate)||ym.some(a=>Gr(t[a]))}function RS(t){return!!(Dc(t)||t.variants)}function p_(t,a,s){for(const r in a){const l=a[r],u=s[r];if(xt(l))t.addValue(r,l);else if(xt(u))t.addValue(r,ws(l,{owner:t}));else if(u!==l)if(t.hasValue(r)){const f=t.getValue(r);f.liveStyle===!0?f.jump(l):f.hasAnimated||f.set(l)}else{const f=t.getStaticValue(r);t.addValue(r,ws(f!==void 0?f:l,{owner:t}))}}for(const r in s)a[r]===void 0&&t.removeValue(r);return a}const rb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let ac={};function MS(t){ac=t}function g_(){return ac}class y_{scrapeMotionValuesFromProps(a,s,r){return{}}constructor({parent:a,props:s,presenceContext:r,reducedMotionConfig:l,blockInitialAnimation:u,visualState:f},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=lm,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const w=jt.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,Ge.render(this.render,!1,!0))};const{latestValues:p,renderState:g}=f;this.latestValues=p,this.baseTarget={...p},this.initialValues=s.initial?{...p}:{},this.renderState=g,this.parent=a,this.props=s,this.presenceContext=r,this.depth=a?a.depth+1:0,this.reducedMotionConfig=l,this.options=m,this.blockInitialAnimation=!!u,this.isControllingVariants=Dc(s),this.isVariantNode=RS(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(a&&a.current);const{willChange:y,...v}=this.scrapeMotionValuesFromProps(s,{},this);for(const w in v){const j=v[w];p[w]!==void 0&&xt(j)&&j.set(p[w])}}mount(a){this.current=a,m_.set(a,this),this.projection&&!this.projection.instance&&this.projection.mount(a),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,r)=>this.bindToMotionValue(r,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(CS.current||h_(),this.shouldReduceMotion=gh.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),za(this.notifyUpdate),za(this.render),this.valueSubscriptions.forEach(a=>a()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const a in this.events)this.events[a].clear();for(const a in this.features){const s=this.features[a];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(a){this.children.add(a),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(a)}removeChild(a){this.children.delete(a),this.enteringChildren&&this.enteringChildren.delete(a)}bindToMotionValue(a,s){this.valueSubscriptions.has(a)&&this.valueSubscriptions.get(a)();const r=Ms.has(a);r&&this.onBindTransform&&this.onBindTransform();const l=s.on("change",f=>{this.latestValues[a]=f,this.props.onUpdate&&Ge.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;typeof window<"u"&&window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,a,s)),this.valueSubscriptions.set(a,()=>{l(),u&&u(),s.owner&&s.stop()})}sortNodePosition(a){return!this.current||!this.sortInstanceNodePosition||this.type!==a.type?0:this.sortInstanceNodePosition(this.current,a.current)}updateFeatures(){let a="animation";for(a in ac){const s=ac[a];if(!s)continue;const{isEnabled:r,Feature:l}=s;if(!this.features[a]&&l&&r(this.props)&&(this.features[a]=new l(this)),this.features[a]){const u=this.features[a];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ot()}getStaticValue(a){return this.latestValues[a]}setStaticValue(a,s){this.latestValues[a]=s}update(a,s){(a.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=a,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let r=0;r<rb.length;r++){const l=rb[r];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const u="on"+l,f=a[u];f&&(this.propEventSubscriptions[l]=this.on(l,f))}this.prevMotionValues=p_(this,this.scrapeMotionValuesFromProps(a,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(a){return this.props.variants?this.props.variants[a]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(a){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(a),()=>s.variantChildren.delete(a)}addValue(a,s){const r=this.values.get(a);s!==r&&(r&&this.removeValue(a),this.bindToMotionValue(a,s),this.values.set(a,s),this.latestValues[a]=s.get())}removeValue(a){this.values.delete(a);const s=this.valueSubscriptions.get(a);s&&(s(),this.valueSubscriptions.delete(a)),delete this.latestValues[a],this.removeValueFromRenderState(a,this.renderState)}hasValue(a){return this.values.has(a)}getValue(a,s){if(this.props.values&&this.props.values[a])return this.props.values[a];let r=this.values.get(a);return r===void 0&&s!==void 0&&(r=ws(s===null?void 0:s,{owner:this}),this.addValue(a,r)),r}readValue(a,s){let r=this.latestValues[a]!==void 0||!this.current?this.latestValues[a]:this.getBaseTargetFromProps(this.props,a)??this.readValueFromInstance(this.current,a,this.options);return r!=null&&(typeof r=="string"&&(_w(r)||zw(r))?r=parseFloat(r):!d_(r)&&Va.test(s)&&(r=wS(a,s)),this.setBaseTarget(a,xt(r)?r.get():r)),xt(r)?r.get():r}setBaseTarget(a,s){this.baseTarget[a]=s}getBaseTarget(a){const{initial:s}=this.props;let r;if(typeof s=="string"||typeof s=="object"){const u=dm(this.props,s,this.presenceContext?.custom);u&&(r=u[a])}if(s&&r!==void 0)return r;const l=this.getBaseTargetFromProps(this.props,a);return l!==void 0&&!xt(l)?l:this.initialValues[a]!==void 0&&r===void 0?void 0:this.baseTarget[a]}on(a,s){return this.events[a]||(this.events[a]=new $h),this.events[a].add(s)}notify(a,...s){this.events[a]&&this.events[a].notify(...s)}scheduleRenderMicrotask(){mm.render(this.render)}}class Pa{constructor(a){this.isMounted=!1,this.node=a}update(){}}class DS extends y_{constructor(){super(...arguments),this.KeyframeResolver=t_}sortInstanceNodePosition(a,s){return a.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(a,s){const r=a.style;return r?r[s]:void 0}removeValueFromRenderState(a,{vars:s,style:r}){delete s[a],delete r[a]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:a}=this.props;xt(a)&&(this.childSubscription=a.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function OS({top:t,left:a,right:s,bottom:r}){return{x:{min:a,max:s},y:{min:t,max:r}}}function v_({x:t,y:a}){return{top:a.min,right:t.max,bottom:a.max,left:t.min}}function x_(t,a){if(!a)return t;const s=a({x:t.left,y:t.top}),r=a({x:t.right,y:t.bottom});return{top:s.y,left:s.x,bottom:r.y,right:r.x}}function Af(t){return t===void 0||t===1}function yh({scale:t,scaleX:a,scaleY:s}){return!Af(t)||!Af(a)||!Af(s)}function oi(t){return yh(t)||_S(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function _S(t){return ob(t.x)||ob(t.y)}function ob(t){return t&&t!=="0%"}function ic(t,a,s){const r=t-s,l=a*r;return s+l}function lb(t,a,s,r,l){return l!==void 0&&(t=ic(t,l,r)),ic(t,s,r)+a}function vh(t,a=0,s=1,r,l){t.min=lb(t.min,a,s,r,l),t.max=lb(t.max,a,s,r,l)}function kS(t,{x:a,y:s}){vh(t.x,a.translate,a.scale,a.originPoint),vh(t.y,s.translate,s.scale,s.originPoint)}const cb=.999999999999,ub=1.0000000000001;function b_(t,a,s,r=!1){const l=s.length;if(!l)return;a.x=a.y=1;let u,f;for(let m=0;m<l;m++){u=s[m],f=u.projectionDelta;const{visualElement:p}=u.options;p&&p.props.style&&p.props.style.display==="contents"||(r&&u.options.layoutScroll&&u.scroll&&u!==u.root&&hs(t,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),f&&(a.x*=f.x.scale,a.y*=f.y.scale,kS(t,f)),r&&oi(u.latestValues)&&hs(t,u.latestValues))}a.x<ub&&a.x>cb&&(a.x=1),a.y<ub&&a.y>cb&&(a.y=1)}function fs(t,a){t.min=t.min+a,t.max=t.max+a}function db(t,a,s,r,l=.5){const u=Ke(t.min,t.max,l);vh(t,a,s,u,r)}function hs(t,a){db(t.x,a.x,a.scaleX,a.scale,a.originX),db(t.y,a.y,a.scaleY,a.scale,a.originY)}function zS(t,a){return OS(x_(t.getBoundingClientRect(),a))}function w_(t,a,s){const r=zS(t,s),{scroll:l}=a;return l&&(fs(r.x,l.offset.x),fs(r.y,l.offset.y)),r}const S_={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},j_=Rs.length;function T_(t,a,s){let r="",l=!0;for(let u=0;u<j_;u++){const f=Rs[u],m=t[f];if(m===void 0)continue;let p=!0;if(typeof m=="number"?p=m===(f.startsWith("scale")?1:0):p=parseFloat(m)===0,!p||s){const g=SS(m,hm[f]);if(!p){l=!1;const y=S_[f]||f;r+=`${y}(${g}) `}s&&(a[f]=g)}}return r=r.trim(),s?r=s(a,l?"":r):l&&(r="none"),r}function vm(t,a,s){const{style:r,vars:l,transformOrigin:u}=t;let f=!1,m=!1;for(const p in a){const g=a[p];if(Ms.has(p)){f=!0;continue}else if(Iw(p)){l[p]=g;continue}else{const y=SS(g,hm[p]);p.startsWith("origin")?(m=!0,u[p]=y):r[p]=y}}if(a.transform||(f||s?r.transform=T_(a,t.transform,s):r.transform&&(r.transform="none")),m){const{originX:p="50%",originY:g="50%",originZ:y=0}=u;r.transformOrigin=`${p} ${g} ${y}`}}function VS(t,{style:a,vars:s},r,l){const u=t.style;let f;for(f in a)u[f]=a[f];l?.applyProjectionStyles(u,r);for(f in s)u.setProperty(f,s[f])}function fb(t,a){return a.max===a.min?0:t/(a.max-a.min)*100}const Nr={correct:(t,a)=>{if(!a.target)return t;if(typeof t=="string")if(ee.test(t))t=parseFloat(t);else return t;const s=fb(t,a.target.x),r=fb(t,a.target.y);return`${s}% ${r}%`}},E_={correct:(t,{treeScale:a,projectionDelta:s})=>{const r=t,l=Va.parse(t);if(l.length>5)return r;const u=Va.createTransformer(t),f=typeof l[0]!="number"?1:0,m=s.x.scale*a.x,p=s.y.scale*a.y;l[0+f]/=m,l[1+f]/=p;const g=Ke(m,p,.5);return typeof l[2+f]=="number"&&(l[2+f]/=g),typeof l[3+f]=="number"&&(l[3+f]/=g),u(l)}},xh={borderRadius:{...Nr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Nr,borderTopRightRadius:Nr,borderBottomLeftRadius:Nr,borderBottomRightRadius:Nr,boxShadow:E_};function LS(t,{layout:a,layoutId:s}){return Ms.has(t)||t.startsWith("origin")||(a||s!==void 0)&&(!!xh[t]||t==="opacity")}function xm(t,a,s){const r=t.style,l=a?.style,u={};if(!r)return u;for(const f in r)(xt(r[f])||l&&xt(l[f])||LS(f,t)||s?.getValue(f)?.liveStyle!==void 0)&&(u[f]=r[f]);return u}function N_(t){return window.getComputedStyle(t)}class A_ extends DS{constructor(){super(...arguments),this.type="html",this.renderInstance=VS}readValueFromInstance(a,s){if(Ms.has(s))return this.projection?.isProjecting?rh(s):n4(a,s);{const r=N_(a),l=(Iw(s)?r.getPropertyValue(s):r[s])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(a,{transformPagePoint:s}){return zS(a,s)}build(a,s,r){vm(a,s,r.transformTemplate)}scrapeMotionValuesFromProps(a,s,r){return xm(a,s,r)}}const C_={offset:"stroke-dashoffset",array:"stroke-dasharray"},R_={offset:"strokeDashoffset",array:"strokeDasharray"};function M_(t,a,s=1,r=0,l=!0){t.pathLength=1;const u=l?C_:R_;t[u.offset]=ee.transform(-r);const f=ee.transform(a),m=ee.transform(s);t[u.array]=`${f} ${m}`}const D_=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function PS(t,{attrX:a,attrY:s,attrScale:r,pathLength:l,pathSpacing:u=1,pathOffset:f=0,...m},p,g,y){if(vm(t,m,g),p){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:v,style:w}=t;v.transform&&(w.transform=v.transform,delete v.transform),(w.transform||v.transformOrigin)&&(w.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),w.transform&&(w.transformBox=y?.transformBox??"fill-box",delete v.transformBox);for(const j of D_)v[j]!==void 0&&(w[j]=v[j],delete v[j]);a!==void 0&&(v.x=a),s!==void 0&&(v.y=s),r!==void 0&&(v.scale=r),l!==void 0&&M_(v,l,u,f,!1)}const US=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),BS=t=>typeof t=="string"&&t.toLowerCase()==="svg";function O_(t,a,s,r){VS(t,a,void 0,r);for(const l in a.attrs)t.setAttribute(US.has(l)?l:fm(l),a.attrs[l])}function HS(t,a,s){const r=xm(t,a,s);for(const l in t)if(xt(t[l])||xt(a[l])){const u=Rs.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;r[u]=t[l]}return r}class __ extends DS{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ot}getBaseTargetFromProps(a,s){return a[s]}readValueFromInstance(a,s){if(Ms.has(s)){const r=bS(s);return r&&r.default||0}return s=US.has(s)?s:fm(s),a.getAttribute(s)}scrapeMotionValuesFromProps(a,s,r){return HS(a,s,r)}build(a,s,r){PS(a,s,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(a,s,r,l){O_(a,s,r,l)}mount(a){this.isSVGTag=BS(a.tagName),super.mount(a)}}const k_=ym.length;function qS(t){if(!t)return;if(!t.isControllingVariants){const s=t.parent?qS(t.parent)||{}:{};return t.props.initial!==void 0&&(s.initial=t.props.initial),s}const a={};for(let s=0;s<k_;s++){const r=ym[s],l=t.props[r];(Gr(l)||l===!1)&&(a[r]=l)}return a}function FS(t,a){if(!Array.isArray(a))return!1;const s=a.length;if(s!==t.length)return!1;for(let r=0;r<s;r++)if(a[r]!==t[r])return!1;return!0}const z_=[...gm].reverse(),V_=gm.length;function L_(t){return a=>Promise.all(a.map(({animation:s,options:r})=>Y4(t,s,r)))}function P_(t){let a=L_(t),s=hb(),r=!0;const l=p=>(g,y)=>{const v=gs(t,y,p==="exit"?t.presenceContext?.custom:void 0);if(v){const{transition:w,transitionEnd:j,...N}=v;g={...g,...N,...j}}return g};function u(p){a=p(t)}function f(p){const{props:g}=t,y=qS(t.parent)||{},v=[],w=new Set;let j={},N=1/0;for(let E=0;E<V_;E++){const A=z_[E],_=s[A],R=g[A]!==void 0?g[A]:y[A],D=Gr(R),k=A===p?_.isActive:null;k===!1&&(N=E);let G=R===y[A]&&R!==g[A]&&D;if(G&&r&&t.manuallyAnimateOnMount&&(G=!1),_.protectedKeys={...j},!_.isActive&&k===null||!R&&!_.prevProp||Mc(R)||typeof R=="boolean")continue;const H=U_(_.prevProp,R);let L=H||A===p&&_.isActive&&!G&&D||E>N&&D,W=!1;const te=Array.isArray(R)?R:[R];let se=te.reduce(l(A),{});k===!1&&(se={});const{prevResolvedValues:le={}}=_,ge={...le,...se},J=Y=>{L=!0,w.has(Y)&&(W=!0,w.delete(Y)),_.needsAnimating[Y]=!0;const q=t.getValue(Y);q&&(q.liveStyle=!1)};for(const Y in ge){const q=se[Y],re=le[Y];if(j.hasOwnProperty(Y))continue;let fe=!1;fh(q)&&fh(re)?fe=!FS(q,re):fe=q!==re,fe?q!=null?J(Y):w.add(Y):q!==void 0&&w.has(Y)?J(Y):_.protectedKeys[Y]=!0}_.prevProp=R,_.prevResolvedValues=se,_.isActive&&(j={...j,...se}),r&&t.blockInitialAnimation&&(L=!1);const me=G&&H;L&&(!me||W)&&v.push(...te.map(Y=>{const q={type:A};if(typeof Y=="string"&&r&&!me&&t.manuallyAnimateOnMount&&t.parent){const{parent:re}=t,fe=gs(re,Y);if(re.enteringChildren&&fe){const{delayChildren:M}=fe.transition||{};q.delay=hS(re.enteringChildren,t,M)}}return{animation:Y,options:q}}))}if(w.size){const E={};if(typeof g.initial!="boolean"){const A=gs(t,Array.isArray(g.initial)?g.initial[0]:g.initial);A&&A.transition&&(E.transition=A.transition)}w.forEach(A=>{const _=t.getBaseTarget(A),R=t.getValue(A);R&&(R.liveStyle=!0),E[A]=_??null}),v.push({animation:E})}let T=!!v.length;return r&&(g.initial===!1||g.initial===g.animate)&&!t.manuallyAnimateOnMount&&(T=!1),r=!1,T?a(v):Promise.resolve()}function m(p,g){if(s[p].isActive===g)return Promise.resolve();t.variantChildren?.forEach(v=>v.animationState?.setActive(p,g)),s[p].isActive=g;const y=f(p);for(const v in s)s[v].protectedKeys={};return y}return{animateChanges:f,setActive:m,setAnimateFunction:u,getState:()=>s,reset:()=>{s=hb()}}}function U_(t,a){return typeof a=="string"?a!==t:Array.isArray(a)?!FS(a,t):!1}function ri(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function hb(){return{animate:ri(!0),whileInView:ri(),whileHover:ri(),whileTap:ri(),whileDrag:ri(),whileFocus:ri(),exit:ri()}}const GS=1e-4,B_=1-GS,H_=1+GS,YS=.01,q_=0-YS,F_=0+YS;function Tt(t){return t.max-t.min}function G_(t,a,s){return Math.abs(t-a)<=s}function mb(t,a,s,r=.5){t.origin=r,t.originPoint=Ke(a.min,a.max,t.origin),t.scale=Tt(s)/Tt(a),t.translate=Ke(s.min,s.max,t.origin)-t.originPoint,(t.scale>=B_&&t.scale<=H_||isNaN(t.scale))&&(t.scale=1),(t.translate>=q_&&t.translate<=F_||isNaN(t.translate))&&(t.translate=0)}function zr(t,a,s,r){mb(t.x,a.x,s.x,r?r.originX:void 0),mb(t.y,a.y,s.y,r?r.originY:void 0)}function pb(t,a,s){t.min=s.min+a.min,t.max=t.min+Tt(a)}function Y_(t,a,s){pb(t.x,a.x,s.x),pb(t.y,a.y,s.y)}function gb(t,a,s){t.min=a.min-s.min,t.max=t.min+Tt(a)}function sc(t,a,s){gb(t.x,a.x,s.x),gb(t.y,a.y,s.y)}function yb(t,a,s,r,l){return t-=a,t=ic(t,1/s,r),l!==void 0&&(t=ic(t,1/l,r)),t}function Q_(t,a=0,s=1,r=.5,l,u=t,f=t){if(En.test(a)&&(a=parseFloat(a),a=Ke(f.min,f.max,a/100)-f.min),typeof a!="number")return;let m=Ke(u.min,u.max,r);t===u&&(m-=a),t.min=yb(t.min,a,s,m,l),t.max=yb(t.max,a,s,m,l)}function vb(t,a,[s,r,l],u,f){Q_(t,a[s],a[r],a[l],a.scale,u,f)}const K_=["x","scaleX","originX"],X_=["y","scaleY","originY"];function xb(t,a,s,r){vb(t.x,a,K_,s?s.x:void 0,r?r.x:void 0),vb(t.y,a,X_,s?s.y:void 0,r?r.y:void 0)}function bb(t,a){t.min=a.min,t.max=a.max}function cn(t,a){bb(t.x,a.x),bb(t.y,a.y)}function wb(t,a){t.translate=a.translate,t.scale=a.scale,t.originPoint=a.originPoint,t.origin=a.origin}function Sb(t){return t.translate===0&&t.scale===1}function QS(t){return Sb(t.x)&&Sb(t.y)}function jb(t,a){return t.min===a.min&&t.max===a.max}function I_(t,a){return jb(t.x,a.x)&&jb(t.y,a.y)}function Tb(t,a){return Math.round(t.min)===Math.round(a.min)&&Math.round(t.max)===Math.round(a.max)}function KS(t,a){return Tb(t.x,a.x)&&Tb(t.y,a.y)}function Eb(t){return Tt(t.x)/Tt(t.y)}function Nb(t,a){return t.translate===a.translate&&t.scale===a.scale&&t.originPoint===a.originPoint}function tn(t){return[t("x"),t("y")]}function Z_(t,a,s){let r="";const l=t.x.translate/a.x,u=t.y.translate/a.y,f=s?.z||0;if((l||u||f)&&(r=`translate3d(${l}px, ${u}px, ${f}px) `),(a.x!==1||a.y!==1)&&(r+=`scale(${1/a.x}, ${1/a.y}) `),s){const{transformPerspective:g,rotate:y,rotateX:v,rotateY:w,skewX:j,skewY:N}=s;g&&(r=`perspective(${g}px) ${r}`),y&&(r+=`rotate(${y}deg) `),v&&(r+=`rotateX(${v}deg) `),w&&(r+=`rotateY(${w}deg) `),j&&(r+=`skewX(${j}deg) `),N&&(r+=`skewY(${N}deg) `)}const m=t.x.scale*a.x,p=t.y.scale*a.y;return(m!==1||p!==1)&&(r+=`scale(${m}, ${p})`),r||"none"}const XS=["TopLeft","TopRight","BottomLeft","BottomRight"],$_=XS.length,Ab=t=>typeof t=="string"?parseFloat(t):t,Cb=t=>typeof t=="number"||ee.test(t);function W_(t,a,s,r,l,u){l?(t.opacity=Ke(0,s.opacity??1,J_(r)),t.opacityExit=Ke(a.opacity??1,0,ek(r))):u&&(t.opacity=Ke(a.opacity??1,s.opacity??1,r));for(let f=0;f<$_;f++){const m=`border${XS[f]}Radius`;let p=Rb(a,m),g=Rb(s,m);if(p===void 0&&g===void 0)continue;p||(p=0),g||(g=0),p===0||g===0||Cb(p)===Cb(g)?(t[m]=Math.max(Ke(Ab(p),Ab(g),r),0),(En.test(g)||En.test(p))&&(t[m]+="%")):t[m]=g}(a.rotate||s.rotate)&&(t.rotate=Ke(a.rotate||0,s.rotate||0,r))}function Rb(t,a){return t[a]!==void 0?t[a]:t.borderRadius}const J_=IS(0,.5,Fw),ek=IS(.5,.95,sn);function IS(t,a,s){return r=>r<t?0:r>a?1:s(Hr(t,a,r))}function tk(t,a){const s=jt.now(),r=({timestamp:l})=>{const u=l-s;u>=a&&(za(r),t(u-a))};return Ge.setup(r,!0),()=>za(r)}function Yr(t,a,s,r={passive:!0}){return t.addEventListener(a,s,r),()=>t.removeEventListener(a,s)}function Fl(t){return xt(t)?t.get():t}function nk(t,a,s){const r=xt(t)?t:ws(t);return r.start(um("",r,a,s)),r.animation}const ak=(t,a)=>t.depth-a.depth;class ik{constructor(){this.children=[],this.isDirty=!1}add(a){Kh(this.children,a),this.isDirty=!0}remove(a){Xh(this.children,a),this.isDirty=!0}forEach(a){this.isDirty&&this.children.sort(ak),this.isDirty=!1,this.children.forEach(a)}}class sk{constructor(){this.members=[]}add(a){Kh(this.members,a),a.scheduleRender()}remove(a){if(Xh(this.members,a),a===this.prevLead&&(this.prevLead=void 0),a===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(a){const s=this.members.findIndex(l=>a===l);if(s===0)return!1;let r;for(let l=s;l>=0;l--){const u=this.members[l];if(u.isPresent!==!1){r=u;break}}return r?(this.promote(r),!0):!1}promote(a,s){const r=this.lead;if(a!==r&&(this.prevLead=r,this.lead=a,a.show(),r)){r.instance&&r.scheduleRender(),a.scheduleRender(),a.resumeFrom=r,s&&(a.resumeFrom.preserveOpacity=!0),r.snapshot&&(a.snapshot=r.snapshot,a.snapshot.latestValues=r.animationValues||r.latestValues),a.root&&a.root.isUpdating&&(a.isLayoutDirty=!0);const{crossfade:l}=a.options;l===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(a=>{const{options:s,resumingFrom:r}=a;s.onExitComplete&&s.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(a=>{a.instance&&a.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Gl={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Cf=["","X","Y","Z"],rk=1e3;let ok=0;function Rf(t,a,s,r){const{latestValues:l}=a;l[t]&&(s[t]=l[t],a.setStaticValue(t,0),r&&(r[t]=0))}function ZS(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:a}=t.options;if(!a)return;const s=gS(a);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:l,layoutId:u}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",Ge,!(l||u))}const{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&ZS(r)}function $S({attachResizeListener:t,defaultParent:a,measureScroll:s,checkIsScrollRoot:r,resetTransform:l}){return class{constructor(f={},m=a?.()){this.id=ok++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(uk),this.nodes.forEach(mk),this.nodes.forEach(pk),this.nodes.forEach(dk)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=f,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new ik)}addEventListener(f,m){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new $h),this.eventHandlers.get(f).add(m)}notifyListeners(f,...m){const p=this.eventHandlers.get(f);p&&p.notify(...m)}hasListeners(f){return this.eventHandlers.has(f)}mount(f){if(this.instance)return;this.isSVG=AS(f)&&!c_(f),this.instance=f;const{layoutId:m,layout:p,visualElement:g}=this.options;if(g&&!g.current&&g.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||m)&&(this.isLayoutDirty=!0),t){let y,v=0;const w=()=>this.root.updateBlockedByResize=!1;Ge.read(()=>{v=window.innerWidth}),t(f,()=>{const j=window.innerWidth;j!==v&&(v=j,this.root.updateBlockedByResize=!0,y&&y(),y=tk(w,250),Gl.hasAnimatedSinceResize&&(Gl.hasAnimatedSinceResize=!1,this.nodes.forEach(Ob)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&g&&(m||p)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:v,hasRelativeLayoutChanged:w,layout:j})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const N=this.options.transition||g.getDefaultTransition()||bk,{onLayoutAnimationStart:T,onLayoutAnimationComplete:E}=g.getProps(),A=!this.targetLayout||!KS(this.targetLayout,j),_=!v&&w;if(this.options.layoutRoot||this.resumeFrom||_||v&&(A||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const R={...cm(N,"layout"),onPlay:T,onComplete:E};(g.shouldReduceMotion||this.options.layoutRoot)&&(R.delay=0,R.type=!1),this.startAnimation(R),this.setAnimationOrigin(y,_)}else v||Ob(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=j})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const f=this.getStack();f&&f.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),za(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(gk),this.animationId++)}getTransformTemplate(){const{visualElement:f}=this.options;return f&&f.getProps().transformTemplate}willUpdate(f=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&ZS(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const v=this.path[y];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:m,layout:p}=this.options;if(m===void 0&&!p)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Mb);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Db);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(hk),this.nodes.forEach(lk),this.nodes.forEach(ck)):this.nodes.forEach(Db),this.clearAllSnapshots();const m=jt.now();gt.delta=An(0,1e3/60,m-gt.timestamp),gt.timestamp=m,gt.isProcessing=!0,bf.update.process(gt),bf.preRender.process(gt),bf.render.process(gt),gt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,mm.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(fk),this.sharedNodes.forEach(yk)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ge.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ge.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Tt(this.snapshot.measuredBox.x)&&!Tt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const f=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=ot(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:m}=this.options;m&&m.notify("LayoutMeasure",this.layout.layoutBox,f?f.layoutBox:void 0)}updateScroll(f="measure"){let m=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===f&&(m=!1),m&&this.instance){const p=r(this.instance);this.scroll={animationId:this.root.animationId,phase:f,isRoot:p,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!l)return;const f=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!QS(this.projectionDelta),p=this.getTransformTemplate(),g=p?p(this.latestValues,""):void 0,y=g!==this.prevTransformTemplateValue;f&&this.instance&&(m||oi(this.latestValues)||y)&&(l(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const m=this.measurePageBox();let p=this.removeElementScroll(m);return f&&(p=this.removeTransform(p)),wk(p),{animationId:this.root.animationId,measuredBox:m,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:f}=this.options;if(!f)return ot();const m=f.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Sk))){const{scroll:g}=this.root;g&&(fs(m.x,g.offset.x),fs(m.y,g.offset.y))}return m}removeElementScroll(f){const m=ot();if(cn(m,f),this.scroll?.wasRoot)return m;for(let p=0;p<this.path.length;p++){const g=this.path[p],{scroll:y,options:v}=g;g!==this.root&&y&&v.layoutScroll&&(y.wasRoot&&cn(m,f),fs(m.x,y.offset.x),fs(m.y,y.offset.y))}return m}applyTransform(f,m=!1){const p=ot();cn(p,f);for(let g=0;g<this.path.length;g++){const y=this.path[g];!m&&y.options.layoutScroll&&y.scroll&&y!==y.root&&hs(p,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),oi(y.latestValues)&&hs(p,y.latestValues)}return oi(this.latestValues)&&hs(p,this.latestValues),p}removeTransform(f){const m=ot();cn(m,f);for(let p=0;p<this.path.length;p++){const g=this.path[p];if(!g.instance||!oi(g.latestValues))continue;yh(g.latestValues)&&g.updateSnapshot();const y=ot(),v=g.measurePageBox();cn(y,v),xb(m,g.latestValues,g.snapshot?g.snapshot.layoutBox:void 0,y)}return oi(this.latestValues)&&xb(m,this.latestValues),m}setTargetDelta(f){this.targetDelta=f,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(f){this.options={...this.options,...f,crossfade:f.crossfade!==void 0?f.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==gt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(f=!1){const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==m;if(!(f||p&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:v}=this.options;if(!this.layout||!(y||v))return;this.resolvedRelativeTargetAt=gt.timestamp;const w=this.getClosestProjectingParent();w&&this.linkedParentVersion!==w.layoutVersion&&!w.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(w&&w.layout?this.createRelativeTarget(w,this.layout.layoutBox,w.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ot(),this.targetWithTransforms=ot()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Y_(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):cn(this.target,this.layout.layoutBox),kS(this.target,this.targetDelta)):cn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,w&&!!w.resumingFrom==!!this.resumingFrom&&!w.options.layoutScroll&&w.target&&this.animationProgress!==1?this.createRelativeTarget(w,this.target,w.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||yh(this.parent.latestValues)||_S(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(f,m,p){this.relativeParent=f,this.linkedParentVersion=f.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ot(),this.relativeTargetOrigin=ot(),sc(this.relativeTargetOrigin,m,p),cn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const f=this.getLead(),m=!!this.resumingFrom||this!==f;let p=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(p=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===gt.timestamp&&(p=!1),p)return;const{layout:g,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||y))return;cn(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,w=this.treeScale.y;b_(this.layoutCorrected,this.treeScale,this.path,m),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=ot());const{target:j}=f;if(!j){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(wb(this.prevProjectionDelta.x,this.projectionDelta.x),wb(this.prevProjectionDelta.y,this.projectionDelta.y)),zr(this.projectionDelta,this.layoutCorrected,j,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==w||!Nb(this.projectionDelta.x,this.prevProjectionDelta.x)||!Nb(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",j))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){if(this.options.visualElement?.scheduleRender(),f){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ds(),this.projectionDelta=ds(),this.projectionDeltaWithTransform=ds()}setAnimationOrigin(f,m=!1){const p=this.snapshot,g=p?p.latestValues:{},y={...this.latestValues},v=ds();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const w=ot(),j=p?p.source:void 0,N=this.layout?this.layout.source:void 0,T=j!==N,E=this.getStack(),A=!E||E.members.length<=1,_=!!(T&&!A&&this.options.crossfade===!0&&!this.path.some(xk));this.animationProgress=0;let R;this.mixTargetDelta=D=>{const k=D/1e3;_b(v.x,f.x,k),_b(v.y,f.y,k),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(sc(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),vk(this.relativeTarget,this.relativeTargetOrigin,w,k),R&&I_(this.relativeTarget,R)&&(this.isProjectionDirty=!1),R||(R=ot()),cn(R,this.relativeTarget)),T&&(this.animationValues=y,W_(y,g,this.latestValues,k,_,A)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(za(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ge.update(()=>{Gl.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ws(0)),this.currentAnimation=nk(this.motionValue,[0,1e3],{...f,velocity:0,isSync:!0,onUpdate:m=>{this.mixTargetDelta(m),f.onUpdate&&f.onUpdate(m)},onStop:()=>{},onComplete:()=>{f.onComplete&&f.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const f=this.getStack();f&&f.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(rk),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:m,target:p,layout:g,latestValues:y}=f;if(!(!m||!p||!g)){if(this!==f&&this.layout&&g&&WS(this.options.animationType,this.layout.layoutBox,g.layoutBox)){p=this.target||ot();const v=Tt(this.layout.layoutBox.x);p.x.min=f.target.x.min,p.x.max=p.x.min+v;const w=Tt(this.layout.layoutBox.y);p.y.min=f.target.y.min,p.y.max=p.y.min+w}cn(m,p),hs(m,y),zr(this.projectionDeltaWithTransform,this.layoutCorrected,m,y)}}registerSharedNode(f,m){this.sharedNodes.has(f)||this.sharedNodes.set(f,new sk),this.sharedNodes.get(f).add(m);const g=m.options.initialPromotionConfig;m.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(m):void 0})}isLead(){const f=this.getStack();return f?f.lead===this:!0}getLead(){const{layoutId:f}=this.options;return f?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:f}=this.options;return f?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:f}=this.options;if(f)return this.root.sharedNodes.get(f)}promote({needsReset:f,transition:m,preserveFollowOpacity:p}={}){const g=this.getStack();g&&g.promote(this,p),f&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const f=this.getStack();return f?f.relegate(this):!1}resetSkewAndRotation(){const{visualElement:f}=this.options;if(!f)return;let m=!1;const{latestValues:p}=f;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(m=!0),!m)return;const g={};p.z&&Rf("z",f,g,this.animationValues);for(let y=0;y<Cf.length;y++)Rf(`rotate${Cf[y]}`,f,g,this.animationValues),Rf(`skew${Cf[y]}`,f,g,this.animationValues);f.render();for(const y in g)f.setStaticValue(y,g[y]),this.animationValues&&(this.animationValues[y]=g[y]);f.scheduleRender()}applyProjectionStyles(f,m){if(!this.instance||this.isSVG)return;if(!this.isVisible){f.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,f.visibility="",f.opacity="",f.pointerEvents=Fl(m?.pointerEvents)||"",f.transform=p?p(this.latestValues,""):"none";return}const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){this.options.layoutId&&(f.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,f.pointerEvents=Fl(m?.pointerEvents)||""),this.hasProjected&&!oi(this.latestValues)&&(f.transform=p?p({},""):"none",this.hasProjected=!1);return}f.visibility="";const y=g.animationValues||g.latestValues;this.applyTransformsToTarget();let v=Z_(this.projectionDeltaWithTransform,this.treeScale,y);p&&(v=p(y,v)),f.transform=v;const{x:w,y:j}=this.projectionDelta;f.transformOrigin=`${w.origin*100}% ${j.origin*100}% 0`,g.animationValues?f.opacity=g===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:f.opacity=g===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const N in xh){if(y[N]===void 0)continue;const{correct:T,applyTo:E,isCSSVariable:A}=xh[N],_=v==="none"?y[N]:T(y[N],g);if(E){const R=E.length;for(let D=0;D<R;D++)f[E[D]]=_}else A?this.options.visualElement.renderState.vars[N]=_:f[N]=_}this.options.layoutId&&(f.pointerEvents=g===this?Fl(m?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>f.currentAnimation?.stop()),this.root.nodes.forEach(Mb),this.root.sharedNodes.clear()}}}function lk(t){t.updateLayout()}function ck(t){const a=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&a&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:r}=t.layout,{animationType:l}=t.options,u=a.source!==t.layout.source;l==="size"?tn(y=>{const v=u?a.measuredBox[y]:a.layoutBox[y],w=Tt(v);v.min=s[y].min,v.max=v.min+w}):WS(l,a.layoutBox,s)&&tn(y=>{const v=u?a.measuredBox[y]:a.layoutBox[y],w=Tt(s[y]);v.max=v.min+w,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[y].max=t.relativeTarget[y].min+w)});const f=ds();zr(f,s,a.layoutBox);const m=ds();u?zr(m,t.applyTransform(r,!0),a.measuredBox):zr(m,s,a.layoutBox);const p=!QS(f);let g=!1;if(!t.resumeFrom){const y=t.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:v,layout:w}=y;if(v&&w){const j=ot();sc(j,a.layoutBox,v.layoutBox);const N=ot();sc(N,s,w.layoutBox),KS(j,N)||(g=!0),y.options.layoutRoot&&(t.relativeTarget=N,t.relativeTargetOrigin=j,t.relativeParent=y)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:a,delta:m,layoutDelta:f,hasLayoutChanged:p,hasRelativeLayoutChanged:g})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function uk(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function dk(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function fk(t){t.clearSnapshot()}function Mb(t){t.clearMeasurements()}function Db(t){t.isLayoutDirty=!1}function hk(t){const{visualElement:a}=t.options;a&&a.getProps().onBeforeLayoutMeasure&&a.notify("BeforeLayoutMeasure"),t.resetTransform()}function Ob(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function mk(t){t.resolveTargetDelta()}function pk(t){t.calcProjection()}function gk(t){t.resetSkewAndRotation()}function yk(t){t.removeLeadSnapshot()}function _b(t,a,s){t.translate=Ke(a.translate,0,s),t.scale=Ke(a.scale,1,s),t.origin=a.origin,t.originPoint=a.originPoint}function kb(t,a,s,r){t.min=Ke(a.min,s.min,r),t.max=Ke(a.max,s.max,r)}function vk(t,a,s,r){kb(t.x,a.x,s.x,r),kb(t.y,a.y,s.y,r)}function xk(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const bk={duration:.45,ease:[.4,0,.1,1]},zb=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Vb=zb("applewebkit/")&&!zb("chrome/")?Math.round:sn;function Lb(t){t.min=Vb(t.min),t.max=Vb(t.max)}function wk(t){Lb(t.x),Lb(t.y)}function WS(t,a,s){return t==="position"||t==="preserve-aspect"&&!G_(Eb(a),Eb(s),.2)}function Sk(t){return t!==t.root&&t.scroll?.wasRoot}const jk=$S({attachResizeListener:(t,a)=>Yr(t,"resize",a),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Mf={current:void 0},JS=$S({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Mf.current){const t=new jk({});t.mount(window),t.setOptions({layoutScroll:!0}),Mf.current=t}return Mf.current},resetTransform:(t,a)=>{t.style.transform=a!==void 0?a:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),ej=b.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function Tk(t=!0){const a=b.useContext(Qh);if(a===null)return[!0,null];const{isPresent:s,onExitComplete:r,register:l}=a,u=b.useId();b.useEffect(()=>{if(t)return l(u)},[t]);const f=b.useCallback(()=>t&&r&&r(u),[u,r,t]);return!s&&r?[!1,f]:[!0]}const tj=b.createContext({strict:!1}),Pb={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let Ub=!1;function Ek(){if(Ub)return;const t={};for(const a in Pb)t[a]={isEnabled:s=>Pb[a].some(r=>!!s[r])};MS(t),Ub=!0}function nj(){return Ek(),g_()}function Nk(t){const a=nj();for(const s in t)a[s]={...a[s],...t[s]};MS(a)}const Ak=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function rc(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Ak.has(t)}let aj=t=>!rc(t);function Ck(t){typeof t=="function"&&(aj=a=>a.startsWith("on")?!rc(a):t(a))}try{Ck(require("@emotion/is-prop-valid").default)}catch{}function Rk(t,a,s){const r={};for(const l in t)l==="values"&&typeof t.values=="object"||(aj(l)||s===!0&&rc(l)||!a&&!rc(l)||t.draggable&&l.startsWith("onDrag"))&&(r[l]=t[l]);return r}const Oc=b.createContext({});function Mk(t,a){if(Dc(t)){const{initial:s,animate:r}=t;return{initial:s===!1||Gr(s)?s:void 0,animate:Gr(r)?r:void 0}}return t.inherit!==!1?a:{}}function Dk(t){const{initial:a,animate:s}=Mk(t,b.useContext(Oc));return b.useMemo(()=>({initial:a,animate:s}),[Bb(a),Bb(s)])}function Bb(t){return Array.isArray(t)?t.join(" "):t}const bm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ij(t,a,s){for(const r in a)!xt(a[r])&&!LS(r,s)&&(t[r]=a[r])}function Ok({transformTemplate:t},a){return b.useMemo(()=>{const s=bm();return vm(s,a,t),Object.assign({},s.vars,s.style)},[a])}function _k(t,a){const s=t.style||{},r={};return ij(r,s,t),Object.assign(r,Ok(t,a)),r}function kk(t,a){const s={},r=_k(t,a);return t.drag&&t.dragListener!==!1&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=r,s}const sj=()=>({...bm(),attrs:{}});function zk(t,a,s,r){const l=b.useMemo(()=>{const u=sj();return PS(u,a,BS(r),t.transformTemplate,t.style),{...u.attrs,style:{...u.style}}},[a]);if(t.style){const u={};ij(u,t.style,t),l.style={...u,...l.style}}return l}const Vk=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function wm(t){return typeof t!="string"||t.includes("-")?!1:!!(Vk.indexOf(t)>-1||/[A-Z]/u.test(t))}function Lk(t,a,s,{latestValues:r},l,u=!1,f){const p=(f??wm(t)?zk:kk)(a,r,l,t),g=Rk(a,typeof t=="string",u),y=t!==b.Fragment?{...g,...p,ref:s}:{},{children:v}=a,w=b.useMemo(()=>xt(v)?v.get():v,[v]);return b.createElement(t,{...y,children:w})}function Pk({scrapeMotionValuesFromProps:t,createRenderState:a},s,r,l){return{latestValues:Uk(s,r,l,t),renderState:a()}}function Uk(t,a,s,r){const l={},u=r(t,{});for(const w in u)l[w]=Fl(u[w]);let{initial:f,animate:m}=t;const p=Dc(t),g=RS(t);a&&g&&!p&&t.inherit!==!1&&(f===void 0&&(f=a.initial),m===void 0&&(m=a.animate));let y=s?s.initial===!1:!1;y=y||f===!1;const v=y?m:f;if(v&&typeof v!="boolean"&&!Mc(v)){const w=Array.isArray(v)?v:[v];for(let j=0;j<w.length;j++){const N=dm(t,w[j]);if(N){const{transitionEnd:T,transition:E,...A}=N;for(const _ in A){let R=A[_];if(Array.isArray(R)){const D=y?R.length-1:0;R=R[D]}R!==null&&(l[_]=R)}for(const _ in T)l[_]=T[_]}}}return l}const rj=t=>(a,s)=>{const r=b.useContext(Oc),l=b.useContext(Qh),u=()=>Pk(t,a,r,l);return s?u():WO(u)},Bk=rj({scrapeMotionValuesFromProps:xm,createRenderState:bm}),Hk=rj({scrapeMotionValuesFromProps:HS,createRenderState:sj}),qk=Symbol.for("motionComponentSymbol");function Fk(t,a,s){const r=b.useRef(s);b.useInsertionEffect(()=>{r.current=s});const l=b.useRef(null);return b.useCallback(u=>{u&&t.onMount?.(u),a&&(u?a.mount(u):a.unmount());const f=r.current;if(typeof f=="function")if(u){const m=f(u);typeof m=="function"&&(l.current=m)}else l.current?(l.current(),l.current=null):f(u);else f&&(f.current=u)},[a])}const oj=b.createContext({});function Mr(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function Gk(t,a,s,r,l,u){const{visualElement:f}=b.useContext(Oc),m=b.useContext(tj),p=b.useContext(Qh),g=b.useContext(ej).reducedMotion,y=b.useRef(null);r=r||m.renderer,!y.current&&r&&(y.current=r(t,{visualState:a,parent:f,props:s,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:g,isSVG:u}));const v=y.current,w=b.useContext(oj);v&&!v.projection&&l&&(v.type==="html"||v.type==="svg")&&Yk(y.current,s,l,w);const j=b.useRef(!1);b.useInsertionEffect(()=>{v&&j.current&&v.update(s,p)});const N=s[pS],T=b.useRef(!!N&&!window.MotionHandoffIsComplete?.(N)&&window.MotionHasOptimisedAnimation?.(N));return JO(()=>{v&&(j.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),T.current&&v.animationState&&v.animationState.animateChanges())}),b.useEffect(()=>{v&&(!T.current&&v.animationState&&v.animationState.animateChanges(),T.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(N)}),T.current=!1),v.enteringChildren=void 0)}),v}function Yk(t,a,s,r){const{layoutId:l,layout:u,drag:f,dragConstraints:m,layoutScroll:p,layoutRoot:g,layoutCrossfade:y}=a;t.projection=new s(t.latestValues,a["data-framer-portal-id"]?void 0:lj(t.parent)),t.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!f||m&&Mr(m),visualElement:t,animationType:typeof u=="string"?u:"both",initialPromotionConfig:r,crossfade:y,layoutScroll:p,layoutRoot:g})}function lj(t){if(t)return t.options.allowProjection!==!1?t.projection:lj(t.parent)}function Df(t,{forwardMotionProps:a=!1,type:s}={},r,l){r&&Nk(r);const u=s?s==="svg":wm(t),f=u?Hk:Bk;function m(g,y){let v;const w={...b.useContext(ej),...g,layoutId:Qk(g)},{isStatic:j}=w,N=Dk(g),T=f(g,j);if(!j&&Ow){Kk();const E=Xk(w);v=E.MeasureLayout,N.visualElement=Gk(t,T,w,l,E.ProjectionNode,u)}return d.jsxs(Oc.Provider,{value:N,children:[v&&N.visualElement?d.jsx(v,{visualElement:N.visualElement,...w}):null,Lk(t,g,Fk(T,N.visualElement,y),T,j,a,u)]})}m.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const p=b.forwardRef(m);return p[qk]=t,p}function Qk({layoutId:t}){const a=b.useContext(Dw).id;return a&&t!==void 0?a+"-"+t:t}function Kk(t,a){b.useContext(tj).strict}function Xk(t){const a=nj(),{drag:s,layout:r}=a;if(!s&&!r)return{};const l={...s,...r};return{MeasureLayout:s?.isEnabled(t)||r?.isEnabled(t)?l.MeasureLayout:void 0,ProjectionNode:l.ProjectionNode}}function Ik(t,a){if(typeof Proxy>"u")return Df;const s=new Map,r=(u,f)=>Df(u,f,t,a),l=(u,f)=>r(u,f);return new Proxy(l,{get:(u,f)=>f==="create"?r:(s.has(f)||s.set(f,Df(f,void 0,t,a)),s.get(f))})}const Zk=(t,a)=>a.isSVG??wm(t)?new __(a):new A_(a,{allowProjection:t!==b.Fragment});class $k extends Pa{constructor(a){super(a),a.animationState||(a.animationState=P_(a))}updateAnimationControlsSubscription(){const{animate:a}=this.node.getProps();Mc(a)&&(this.unmountControls=a.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:a}=this.node.getProps(),{animate:s}=this.node.prevProps||{};a!==s&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Wk=0;class Jk extends Pa{constructor(){super(...arguments),this.id=Wk++}update(){if(!this.node.presenceContext)return;const{isPresent:a,onExitComplete:s}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||a===r)return;const l=this.node.animationState.setActive("exit",!a);s&&!a&&l.then(()=>{s(this.id)})}mount(){const{register:a,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),a&&(this.unmount=a(this.id))}unmount(){}}const e6={animation:{Feature:$k},exit:{Feature:Jk}};function ao(t){return{point:{x:t.pageX,y:t.pageY}}}const t6=t=>a=>pm(a)&&t(a,ao(a));function Vr(t,a,s,r){return Yr(t,a,t6(s),r)}const cj=({current:t})=>t?t.ownerDocument.defaultView:null,Hb=(t,a)=>Math.abs(t-a);function n6(t,a){const s=Hb(t.x,a.x),r=Hb(t.y,a.y);return Math.sqrt(s**2+r**2)}const qb=new Set(["auto","scroll"]);class uj{constructor(a,s,{transformPagePoint:r,contextWindow:l=window,dragSnapToOrigin:u=!1,distanceThreshold:f=3,element:m}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=j=>{this.handleScroll(j.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const j=_f(this.lastMoveEventInfo,this.history),N=this.startEvent!==null,T=n6(j.offset,{x:0,y:0})>=this.distanceThreshold;if(!N&&!T)return;const{point:E}=j,{timestamp:A}=gt;this.history.push({...E,timestamp:A});const{onStart:_,onMove:R}=this.handlers;N||(_&&_(this.lastMoveEvent,j),this.startEvent=this.lastMoveEvent),R&&R(this.lastMoveEvent,j)},this.handlePointerMove=(j,N)=>{this.lastMoveEvent=j,this.lastMoveEventInfo=Of(N,this.transformPagePoint),Ge.update(this.updatePoint,!0)},this.handlePointerUp=(j,N)=>{this.end();const{onEnd:T,onSessionEnd:E,resumeAnimation:A}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&A&&A(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const _=_f(j.type==="pointercancel"?this.lastMoveEventInfo:Of(N,this.transformPagePoint),this.history);this.startEvent&&T&&T(j,_),E&&E(j,_)},!pm(a))return;this.dragSnapToOrigin=u,this.handlers=s,this.transformPagePoint=r,this.distanceThreshold=f,this.contextWindow=l||window;const p=ao(a),g=Of(p,this.transformPagePoint),{point:y}=g,{timestamp:v}=gt;this.history=[{...y,timestamp:v}];const{onSessionStart:w}=s;w&&w(a,_f(g,this.history)),this.removeListeners=eo(Vr(this.contextWindow,"pointermove",this.handlePointerMove),Vr(this.contextWindow,"pointerup",this.handlePointerUp),Vr(this.contextWindow,"pointercancel",this.handlePointerUp)),m&&this.startScrollTracking(m)}startScrollTracking(a){let s=a.parentElement;for(;s;){const r=getComputedStyle(s);(qb.has(r.overflowX)||qb.has(r.overflowY))&&this.scrollPositions.set(s,{x:s.scrollLeft,y:s.scrollTop}),s=s.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(a){const s=this.scrollPositions.get(a);if(!s)return;const r=a===window,l=r?{x:window.scrollX,y:window.scrollY}:{x:a.scrollLeft,y:a.scrollTop},u={x:l.x-s.x,y:l.y-s.y};u.x===0&&u.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=u.x,this.lastMoveEventInfo.point.y+=u.y):this.history.length>0&&(this.history[0].x-=u.x,this.history[0].y-=u.y),this.scrollPositions.set(a,l),Ge.update(this.updatePoint,!0))}updateHandlers(a){this.handlers=a}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),za(this.updatePoint)}}function Of(t,a){return a?{point:a(t.point)}:t}function Fb(t,a){return{x:t.x-a.x,y:t.y-a.y}}function _f({point:t},a){return{point:t,delta:Fb(t,dj(a)),offset:Fb(t,a6(a)),velocity:i6(a,.1)}}function a6(t){return t[0]}function dj(t){return t[t.length-1]}function i6(t,a){if(t.length<2)return{x:0,y:0};let s=t.length-1,r=null;const l=dj(t);for(;s>=0&&(r=t[s],!(l.timestamp-r.timestamp>In(a)));)s--;if(!r)return{x:0,y:0};const u=an(l.timestamp-r.timestamp);if(u===0)return{x:0,y:0};const f={x:(l.x-r.x)/u,y:(l.y-r.y)/u};return f.x===1/0&&(f.x=0),f.y===1/0&&(f.y=0),f}function s6(t,{min:a,max:s},r){return a!==void 0&&t<a?t=r?Ke(a,t,r.min):Math.max(t,a):s!==void 0&&t>s&&(t=r?Ke(s,t,r.max):Math.min(t,s)),t}function Gb(t,a,s){return{min:a!==void 0?t.min+a:void 0,max:s!==void 0?t.max+s-(t.max-t.min):void 0}}function r6(t,{top:a,left:s,bottom:r,right:l}){return{x:Gb(t.x,s,l),y:Gb(t.y,a,r)}}function Yb(t,a){let s=a.min-t.min,r=a.max-t.max;return a.max-a.min<t.max-t.min&&([s,r]=[r,s]),{min:s,max:r}}function o6(t,a){return{x:Yb(t.x,a.x),y:Yb(t.y,a.y)}}function l6(t,a){let s=.5;const r=Tt(t),l=Tt(a);return l>r?s=Hr(a.min,a.max-r,t.min):r>l&&(s=Hr(t.min,t.max-l,a.min)),An(0,1,s)}function c6(t,a){const s={};return a.min!==void 0&&(s.min=a.min-t.min),a.max!==void 0&&(s.max=a.max-t.min),s}const bh=.35;function u6(t=bh){return t===!1?t=0:t===!0&&(t=bh),{x:Qb(t,"left","right"),y:Qb(t,"top","bottom")}}function Qb(t,a,s){return{min:Kb(t,a),max:Kb(t,s)}}function Kb(t,a){return typeof t=="number"?t:t[a]||0}const d6=new WeakMap;class f6{constructor(a){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ot(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=a}start(a,{snapToCursor:s=!1,distanceThreshold:r}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const u=v=>{s?(this.stopAnimation(),this.snapToCursor(ao(v).point)):this.pauseAnimation()},f=(v,w)=>{this.stopAnimation();const{drag:j,dragPropagation:N,onDragStart:T}=this.getProps();if(j&&!N&&(this.openDragLock&&this.openDragLock(),this.openDragLock=i_(j),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=w,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tn(A=>{let _=this.getAxisMotionValue(A).get()||0;if(En.test(_)){const{projection:R}=this.visualElement;if(R&&R.layout){const D=R.layout.layoutBox[A];D&&(_=Tt(D)*(parseFloat(_)/100))}}this.originPoint[A]=_}),T&&Ge.postRender(()=>T(v,w)),hh(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},m=(v,w)=>{this.latestPointerEvent=v,this.latestPanInfo=w;const{dragPropagation:j,dragDirectionLock:N,onDirectionLock:T,onDrag:E}=this.getProps();if(!j&&!this.openDragLock)return;const{offset:A}=w;if(N&&this.currentDirection===null){this.currentDirection=h6(A),this.currentDirection!==null&&T&&T(this.currentDirection);return}this.updateAxis("x",w.point,A),this.updateAxis("y",w.point,A),this.visualElement.render(),E&&E(v,w)},p=(v,w)=>{this.latestPointerEvent=v,this.latestPanInfo=w,this.stop(v,w),this.latestPointerEvent=null,this.latestPanInfo=null},g=()=>tn(v=>this.getAnimationState(v)==="paused"&&this.getAxisMotionValue(v).animation?.play()),{dragSnapToOrigin:y}=this.getProps();this.panSession=new uj(a,{onSessionStart:u,onStart:f,onMove:m,onSessionEnd:p,resumeAnimation:g},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:r,contextWindow:cj(this.visualElement),element:this.visualElement.current})}stop(a,s){const r=a||this.latestPointerEvent,l=s||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!l||!r)return;const{velocity:f}=l;this.startAnimation(f);const{onDragEnd:m}=this.getProps();m&&Ge.postRender(()=>m(r,l))}cancel(){this.isDragging=!1;const{projection:a,animationState:s}=this.visualElement;a&&(a.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}updateAxis(a,s,r){const{drag:l}=this.getProps();if(!r||!zl(a,l,this.currentDirection))return;const u=this.getAxisMotionValue(a);let f=this.originPoint[a]+r[a];this.constraints&&this.constraints[a]&&(f=s6(f,this.constraints[a],this.elastic[a])),u.set(f)}resolveConstraints(){const{dragConstraints:a,dragElastic:s}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;a&&Mr(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&r?this.constraints=r6(r.layoutBox,a):this.constraints=!1,this.elastic=u6(s),l!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&tn(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=c6(r.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:a,onMeasureDragConstraints:s}=this.getProps();if(!a||!Mr(a))return!1;const r=a.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const u=w_(r,l.root,this.visualElement.getTransformPagePoint());let f=o6(l.layout.layoutBox,u);if(s){const m=s(v_(f));this.hasMutatedConstraints=!!m,m&&(f=OS(m))}return f}startAnimation(a){const{drag:s,dragMomentum:r,dragElastic:l,dragTransition:u,dragSnapToOrigin:f,onDragTransitionEnd:m}=this.getProps(),p=this.constraints||{},g=tn(y=>{if(!zl(y,s,this.currentDirection))return;let v=p&&p[y]||{};f&&(v={min:0,max:0});const w=l?200:1e6,j=l?40:1e7,N={type:"inertia",velocity:r?a[y]:0,bounceStiffness:w,bounceDamping:j,timeConstant:750,restDelta:1,restSpeed:10,...u,...v};return this.startAxisValueAnimation(y,N)});return Promise.all(g).then(m)}startAxisValueAnimation(a,s){const r=this.getAxisMotionValue(a);return hh(this.visualElement,a),r.start(um(a,r,0,s,this.visualElement,!1))}stopAnimation(){tn(a=>this.getAxisMotionValue(a).stop())}pauseAnimation(){tn(a=>this.getAxisMotionValue(a).animation?.pause())}getAnimationState(a){return this.getAxisMotionValue(a).animation?.state}getAxisMotionValue(a){const s=`_drag${a.toUpperCase()}`,r=this.visualElement.getProps(),l=r[s];return l||this.visualElement.getValue(a,(r.initial?r.initial[a]:void 0)||0)}snapToCursor(a){tn(s=>{const{drag:r}=this.getProps();if(!zl(s,r,this.currentDirection))return;const{projection:l}=this.visualElement,u=this.getAxisMotionValue(s);if(l&&l.layout){const{min:f,max:m}=l.layout.layoutBox[s],p=u.get()||0;u.set(a[s]-Ke(f,m,.5)+p)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:a,dragConstraints:s}=this.getProps(),{projection:r}=this.visualElement;if(!Mr(s)||!r||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};tn(f=>{const m=this.getAxisMotionValue(f);if(m&&this.constraints!==!1){const p=m.get();l[f]=l6({min:p,max:p},this.constraints[f])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),tn(f=>{if(!zl(f,a,null))return;const m=this.getAxisMotionValue(f),{min:p,max:g}=this.constraints[f];m.set(Ke(p,g,l[f]))})}addListeners(){if(!this.visualElement.current)return;d6.set(this.visualElement,this);const a=this.visualElement.current,s=Vr(a,"pointerdown",p=>{const{drag:g,dragListener:y=!0}=this.getProps();g&&y&&!NS(p.target)&&this.start(p)}),r=()=>{const{dragConstraints:p}=this.getProps();Mr(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,u=l.addEventListener("measure",r);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),Ge.read(r);const f=Yr(window,"resize",()=>this.scalePositionWithinConstraints()),m=l.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:g})=>{this.isDragging&&g&&(tn(y=>{const v=this.getAxisMotionValue(y);v&&(this.originPoint[y]+=p[y].translate,v.set(v.get()+p[y].translate))}),this.visualElement.render())}));return()=>{f(),s(),u(),m&&m()}}getProps(){const a=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:r=!1,dragPropagation:l=!1,dragConstraints:u=!1,dragElastic:f=bh,dragMomentum:m=!0}=a;return{...a,drag:s,dragDirectionLock:r,dragPropagation:l,dragConstraints:u,dragElastic:f,dragMomentum:m}}}function zl(t,a,s){return(a===!0||a===t)&&(s===null||s===t)}function h6(t,a=10){let s=null;return Math.abs(t.y)>a?s="y":Math.abs(t.x)>a&&(s="x"),s}class m6 extends Pa{constructor(a){super(a),this.removeGroupControls=sn,this.removeListeners=sn,this.controls=new f6(a)}mount(){const{dragControls:a}=this.node.getProps();a&&(this.removeGroupControls=a.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||sn}update(){const{dragControls:a}=this.node.getProps(),{dragControls:s}=this.node.prevProps||{};a!==s&&(this.removeGroupControls(),a&&(this.removeGroupControls=a.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const Xb=t=>(a,s)=>{t&&Ge.postRender(()=>t(a,s))};class p6 extends Pa{constructor(){super(...arguments),this.removePointerDownListener=sn}onPointerDown(a){this.session=new uj(a,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:cj(this.node)})}createPanHandlers(){const{onPanSessionStart:a,onPanStart:s,onPan:r,onPanEnd:l}=this.node.getProps();return{onSessionStart:Xb(a),onStart:Xb(s),onMove:r,onEnd:(u,f)=>{delete this.session,l&&Ge.postRender(()=>l(u,f))}}}mount(){this.removePointerDownListener=Vr(this.node.current,"pointerdown",a=>this.onPointerDown(a))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let kf=!1;class g6 extends b.Component{componentDidMount(){const{visualElement:a,layoutGroup:s,switchLayoutGroup:r,layoutId:l}=this.props,{projection:u}=a;u&&(s.group&&s.group.add(u),r&&r.register&&l&&r.register(u),kf&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,onExitComplete:()=>this.safeToRemove()})),Gl.hasEverUpdated=!0}getSnapshotBeforeUpdate(a){const{layoutDependency:s,visualElement:r,drag:l,isPresent:u}=this.props,{projection:f}=r;return f&&(f.isPresent=u,kf=!0,l||a.layoutDependency!==s||s===void 0||a.isPresent!==u?f.willUpdate():this.safeToRemove(),a.isPresent!==u&&(u?f.promote():f.relegate()||Ge.postRender(()=>{const m=f.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:a}=this.props.visualElement;a&&(a.root.didUpdate(),mm.postRender(()=>{!a.currentAnimation&&a.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:a,layoutGroup:s,switchLayoutGroup:r}=this.props,{projection:l}=a;kf=!0,l&&(l.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(l),r&&r.deregister&&r.deregister(l))}safeToRemove(){const{safeToRemove:a}=this.props;a&&a()}render(){return null}}function fj(t){const[a,s]=Tk(),r=b.useContext(Dw);return d.jsx(g6,{...t,layoutGroup:r,switchLayoutGroup:b.useContext(oj),isPresent:a,safeToRemove:s})}const y6={pan:{Feature:p6},drag:{Feature:m6,ProjectionNode:JS,MeasureLayout:fj}};function Ib(t,a,s){const{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover",s==="Start");const l="onHover"+s,u=r[l];u&&Ge.postRender(()=>u(a,ao(a)))}class v6 extends Pa{mount(){const{current:a}=this.node;a&&(this.unmount=s_(a,(s,r)=>(Ib(this.node,r,"Start"),l=>Ib(this.node,l,"End"))))}unmount(){}}class x6 extends Pa{constructor(){super(...arguments),this.isActive=!1}onFocus(){let a=!1;try{a=this.node.current.matches(":focus-visible")}catch{a=!0}!a||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=eo(Yr(this.node.current,"focus",()=>this.onFocus()),Yr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Zb(t,a,s){const{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap",s==="Start");const l="onTap"+(s==="End"?"":s),u=r[l];u&&Ge.postRender(()=>u(a,ao(a)))}class b6 extends Pa{mount(){const{current:a}=this.node;a&&(this.unmount=l_(a,(s,r)=>(Zb(this.node,r,"Start"),(l,{success:u})=>Zb(this.node,l,u?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const wh=new WeakMap,zf=new WeakMap,w6=t=>{const a=wh.get(t.target);a&&a(t)},S6=t=>{t.forEach(w6)};function j6({root:t,...a}){const s=t||document;zf.has(s)||zf.set(s,{});const r=zf.get(s),l=JSON.stringify(a);return r[l]||(r[l]=new IntersectionObserver(S6,{root:t,...a})),r[l]}function T6(t,a,s){const r=j6(a);return wh.set(t,s),r.observe(t),()=>{wh.delete(t),r.unobserve(t)}}const E6={some:0,all:1};class N6 extends Pa{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();
53const{viewport:a={}}=this.node.getProps(),{root:s,margin:r,amount:l="some",once:u}=a,f={root:s?s.current:void 0,rootMargin:r,threshold:typeof l=="number"?l:E6[l]},m=p=>{const{isIntersecting:g}=p;if(this.isInView===g||(this.isInView=g,u&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:y,onViewportLeave:v}=this.node.getProps(),w=g?y:v;w&&w(p)};return T6(this.node.current,f,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:a,prevProps:s}=this.node;["amount","margin","root"].some(A6(a,s))&&this.startObserver()}unmount(){}}function A6({viewport:t={}},{viewport:a={}}={}){return s=>t[s]!==a[s]}const C6={inView:{Feature:N6},tap:{Feature:b6},focus:{Feature:x6},hover:{Feature:v6}},R6={layout:{ProjectionNode:JS,MeasureLayout:fj}},M6={...e6,...C6,...y6,...R6},ys=Ik(M6,Zk);function D6(){return d.jsxs("section",{className:"relative h-[70vh] md:h-[85vh] min-h-[500px] md:min-h-[600px] flex items-center overflow-hidden",children:[d.jsxs("div",{className:"absolute inset-0 z-0",children:[d.jsx("img",{src:"/images/hero-preview.jpg",alt:"Construction Site",className:"w-full h-full object-cover"}),d.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-black/80 via-black/40 to-transparent"}),d.jsx("div",{className:"absolute inset-0 bg-black/20"})," "]}),d.jsx("div",{className:"container mx-auto px-4 md:px-6 relative z-10 pt-20",children:d.jsxs(ys.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,ease:"easeOut"},className:"max-w-3xl",children:[d.jsx("div",{className:"inline-flex items-center gap-2 px-3 py-1 bg-primary/90 text-white text-xs font-bold uppercase tracking-widest mb-6 backdrop-blur-sm",children:"An affiliated company of Hansji"}),d.jsxs("h1",{className:"text-4xl sm:text-5xl md:text-7xl lg:text-8xl font-heading font-medium text-white uppercase leading-[0.9] mb-6 tracking-tight",children:["Purpose-Driven ",d.jsx("br",{}),d.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-white to-white/70",children:"Construction"})]}),d.jsx("p",{className:"text-lg md:text-xl text-white/90 max-w-xl mb-10 leading-relaxed font-light border-l-2 border-primary pl-6",children:"SEVA Build delivers disciplined, high-quality execution while developing people and communities. Backed by a multi-decade family enterpriseâs standards and long-term mindset."}),d.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[d.jsx(Qe,{href:"/careers",children:d.jsx(Ae,{size:"lg",className:"w-full sm:w-auto h-14 px-8 text-base bg-primary hover:bg-primary/90 text-white font-heading uppercase tracking-widest rounded-none border-2 border-primary transition-all hover:translate-y-[-2px]",children:"Join SEVA"})}),d.jsx(Qe,{href:"/contact",children:d.jsx(Ae,{size:"lg",variant:"outline",className:"w-full sm:w-auto h-14 px-8 text-base bg-transparent text-white border-2 border-white/30 hover:bg-white hover:text-black font-heading uppercase tracking-widest rounded-none backdrop-blur-sm transition-all hover:translate-y-[-2px]",children:"Work With Us"})})]})]})}),d.jsx(ys.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{delay:.6,duration:.8,ease:"easeOut"},className:"absolute bottom-6 right-4 md:bottom-10 md:right-8 z-10","data-testid":"hero-project-label",children:d.jsxs("div",{className:"bg-black/50 backdrop-blur-md border-l-2 border-primary px-4 py-2.5",children:[d.jsx("p",{className:"text-white text-[11px] md:text-xs font-heading uppercase tracking-wider leading-tight",children:"Dual-brand Residence Inn / Courtyard"}),d.jsx("p",{className:"text-white/70 text-[10px] md:text-[11px] font-light tracking-wide mt-0.5",children:"Luhrs City Center â Phoenix Downtown"}),d.jsx("p",{className:"text-white text-[10px] md:text-[11px] font-bold tracking-wide mt-1",children:"â a Hansji development project"})]})}),d.jsxs(ys.div,{initial:{opacity:0}
53,animate:{opacity:1},transition:{delay:1,duration:1},className:"absolute bottom-8 left-1/2 -translate-x-1/2 text-white/50 flex flex-col items-center gap-2",children:[d.jsx("span",{className:"text-[10px] uppercase tracking-[0.2em]",children:"Scroll"}),d.jsx("div",{className:"w-[1px] h-12 bg-gradient-to-b from-white/50 to-transparent"})]})]})}function Sm(){const{data:t=[],isLoading:a}=uc({queryKey:["/api/projects"]}),s=ci({mutationFn:async y=>(await Xn("POST","/api/projects",y)).json(),onSuccess:()=>Ma.invalidateQueries({queryKey:["/api/projects"]})}),r=ci({mutationFn:async({id:y,data:v})=>(await Xn("PATCH",`/api/projects/${y}`,v)).json(),onSuccess:()=>Ma.invalidateQueries({queryKey:["/api/projects"]})}),l=ci({mutationFn:async y=>{await Xn("DELETE",`/api/projects/${y}`)},onSuccess:()=>Ma.invalidateQueries({queryKey:["/api/projects"]})}),u=ci({mutationFn:async y=>(await Xn("PUT","/api/projects/reorder",{orderedIds:y})).json(),onSuccess:()=>Ma.invalidateQueries({queryKey:["/api/projects"]})});return{projects:t,isLoading:a,addProject:y=>s.mutate(y),updateProject:(y,v)=>r.mutate({id:y,data:v}),deleteProject:y=>l.mutate(y),reorderProjects:y=>u.mutate(y)}}function hj(){const{data:t=[],isLoading:a}=uc({queryKey:["/api/jobs"]}),s=ci({mutationFn:async p=>(await Xn("POST","/api/jobs",p)).json(),onSuccess:()=>Ma.invalidateQueries({queryKey:["/api/jobs"]})}),r=ci({mutationFn:async({id:p,data:g})=>(await Xn("PATCH",`/api/jobs/${p}`,g)).json(),onSuccess:()=>Ma.invalidateQueries({queryKey:["/api/jobs"]})}),l=ci({mutationFn:async p=>{await Xn("DELETE",`/api/jobs/${p}`)},onSuccess:()=>Ma.invalidateQueries({queryKey:["/api/jobs"]})});return{jobs:t,isLoading:a,addJob:p=>s.mutate(p),updateJob:(p,g)=>r.mutate({id:p,data:g}),deleteJob:p=>l.mutate(p)}}function O6(){const{projects:t}=Sm();return d.jsxs(ea,{children:[d.jsx(D6,{}),d.jsxs("section",{className:"py-12 md:py-20 bg-foreground text-background relative overflow-hidden",children:[d.jsx("div",{className:"absolute top-0 right-0 w-1/3 h-full bg-white/5 skew-x-12 translate-x-1/3"}),d.jsx("div",{className:"container mx-auto px-4 md:px-6 relative z-10",children:d.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-8 md:gap-12",children:[{label:"Years of Legacy",value:"50+"},{label:"Projects Delivered",value:"50+"},{label:"Square Feet Built",value:"2.5M"},{label:"Safety Rating",value:"A+"}].map((a,s)=>d.jsxs(ys.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.1},className:"text-center md:text-left border-l border-white/10 pl-6",children:[d.jsx("div",{className:"text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-heading font-bold text-primary mb-2",children:a.value}),d.jsx("div",{className:"text-[10px] sm:text-sm uppercase tracking-widest text-muted-foreground",children:a.label})]},s))})})]}),d.jsx("section",{className:"py-16 md:py-24 bg-background",children:d.jsx("div",{className:"container mx-auto px-4 md:px-6",children:d.jsxs("div",{className:"grid md:grid-cols-2 gap-16 items-center",children:[d.jsxs("div",{children:[d.jsx("h2",{className:"text-primary text-sm font-bold uppercase tracking-widest mb-4",children:"Our Mission"}),d.jsxs("h3",{className:"text-3xl md:text-5xl font-heading font-medium text-foreground mb-6 leading-tight",children:["Building with discipline, ",d.jsx("br",{}),"integrity, and purpose."]}),d.jsx("p",{className:"text-lg text-muted-foreground mb-8 leading-relaxed",children:"SEVA Build was formed to deliver disciplined, high-quality construction while developing people and communities. As an affiliated company of Hansji, we bring a multi-decade owner's mindset to every project. We don't just build structures; we build value, certainty, and careers."}),d.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 mb-8",children:["Owner's Mindset","Schedule Certainty","Quality Execution","Safety First"].map(a=>d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx(WA,{className:"h-5 w-5 text-primary"}),d.jsx("span",{className:"font-medium text-foreground",children:a})]},a))}),d.jsx(Qe,{href:"/about",children:d.jsx(Ae,{variant:"outline",className:"rounded-none border-foreground
53/20 text-foreground hover:bg-foreground hover:text-background font-heading uppercase tracking-widest px-8",children:"About Seva"})})]}),d.jsxs("div",{className:"relative h-[300px] md:h-[500px] lg:h-[600px] w-full bg-muted",children:[d.jsx("div",{className:"absolute inset-4 border-2 border-foreground/5 z-20 pointer-events-none"}),d.jsx("img",{src:"/images/team-meeting.jpg",alt:"Construction Team",className:"w-full h-full object-cover filter grayscale contrast-[1.1]"}),d.jsx("div",{className:"absolute bottom-0 left-0 bg-primary p-6 z-30 max-w-xs",children:d.jsx("p",{className:"text-white font-heading text-xl uppercase leading-none",children:'"We build differently because we think like owners."'})})]})]})})}),d.jsx("section",{className:"py-24 bg-muted/30",children:d.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[d.jsxs("div",{className:"flex justify-between items-end mb-12",children:[d.jsxs("div",{children:[d.jsx("h2",{className:"text-primary text-sm font-bold uppercase tracking-widest mb-2",children:"Selected Work"}),d.jsx("h3",{className:"text-4xl font-heading text-foreground",children:"Featured Projects"})]}),d.jsx(Qe,{href:"/projects",children:d.jsxs(Ae,{variant:"link",className:"text-foreground hover:text-primary p-0 h-auto font-heading uppercase tracking-widest hidden md:flex items-center gap-2",children:["View All Projects ",d.jsx(Cr,{className:"h-4 w-4"})]})})]}),d.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:t.slice(0,3).map((a,s)=>d.jsx(Qe,{href:"/projects",children:d.jsxs(ys.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.1},className:"group cursor-pointer",children:[d.jsxs("div",{className:"aspect-[4/3] overflow-hidden mb-6 relative bg-gray-200",children:[d.jsx("div",{className:"absolute inset-0 bg-black/0 group-hover:bg-black/10 transition-colors z-10"}),d.jsx("img",{src:(a.images&&a.images.length>0?a.images[0]:a.image)||"/images/project-site.jpg",alt:a.name,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105 filter grayscale-[0.2] group-hover:grayscale-0"}),d.jsx("div",{className:"absolute top-4 left-4 bg-white/90 backdrop-blur-sm px-3 py-1 text-xs font-bold uppercase tracking-widest text-foreground z-20",children:a.location})]}),d.jsx("h4",{className:"text-2xl font-heading text-foreground mb-2 group-hover:text-primary transition-colors",children:a.name}),d.jsxs("p",{className:"text-muted-foreground text-sm uppercase tracking-wider mb-3",children:[a.scope," ⢠",a.delivery]})]})},a.id))}),d.jsx("div",{className:"mt-8 md:hidden",children:d.jsx(Qe,{href:"/projects",children:d.jsx(Ae,{className:"w-full rounded-none font-heading uppercase tracking-widest",children:"View All Projects"})})})]})}),d.jsx("section",{className:"py-20 bg-primary text-white",children:d.jsxs("div",{className:"container mx-auto px-4 md:px-6 text-center",children:[d.jsx("h2",{className:"text-4xl md:text-5xl font-heading uppercase mb-6",children:"Build Your Future Here"}),d.jsx("p",{className:"text-xl text-white/90 max-w-2xl mx-auto mb-10 font-light",children:"SEVA offers long-term opportunity, meaningful projects, and pride in craft. Join a team that values your growth."}),d.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[d.jsx(Qe,{href:"/careers",children:d.jsx(Ae,{size:"lg",className:"w-full sm:w-auto bg-white text-primary hover:bg-white/90 rounded-none font-heading uppercase tracking-widest px-10 h-14 text-lg",children:"View Open Positions"})}),d.jsx(Qe,{href:"/contact",children:d.jsx(Ae,{size:"lg",variant:"outline",className:"w-full sm:w-auto border-white text-white hover:bg-white/10 rounded-none font-heading uppercase tracking-widest px-10 h-14 text-lg bg-transparent",children:"Contact Us"})})]})]})})]})}function _6(){return d.jsxs(ea,{children:[d.jsx("div",{className:"bg-muted py-20 md:py-28",children:d.jsx("div",{className:"container mx-auto px-4 md:px-6",children:d.jsxs(ys.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"max-w-4xl",children:[d.jsx("div",{className:"inline-block px-3 py-1 bg-accent/10 text-accent text-xs font-bold uppercase tracking-widest mb-6",children:"The Engine"}),d.jsxs("h1",{className:"text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-heading uppercase text-foreground mb-8",children:["The Execution Platform ",d.jsx("br",{}),d.jsx("span",{className:"text-muted-foreground",children:"Behind Hansji"})]}
53),d.jsx("p",{className:"text-xl md:text-2xl text-foreground/80 leading-relaxed font-light border-l-4 border-accent pl-8",children:"SEVA Build supports Hansji-led real estate and operating projects by providing disciplined construction execution, schedule certainty, and cost control."})]})})}),d.jsx("section",{className:"py-24 bg-background border-b",children:d.jsx("div",{className:"container mx-auto px-4 md:px-6",children:d.jsxs("div",{className:"bg-muted/30 p-8 md:p-16 rounded-sm border border-border",children:[d.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-8 md:gap-4 relative",children:[d.jsxs("div",{className:"flex flex-col items-center text-center max-w-[240px] z-10",children:[d.jsx("div",{className:"w-24 h-24 bg-accent text-white flex items-center justify-center rounded-sm shadow-xl mb-6 relative",children:d.jsx("img",{src:"/images/logo-hansji.png",alt:"Hansji",className:"w-16 h-auto brightness-0 invert"})}),d.jsx("h3",{className:"text-xl font-heading uppercase mb-2",children:"Hansji Corporation"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"Vision, Capital, & Strategy"})]}),d.jsxs("div",{className:"hidden md:flex flex-1 h-[2px] bg-border relative items-center justify-center self-start mt-12",children:[d.jsx("div",{className:"absolute -top-3 text-xs uppercase tracking-widest text-muted-foreground bg-background px-2",children:"Initiates"}),d.jsx(Cr,{className:"absolute right-0 top-1/2 -translate-y-1/2 text-border"})]}),d.jsx(Cr,{className:"md:hidden text-muted-foreground rotate-90 my-4"}),d.jsxs("div",{className:"flex flex-col items-center text-center max-w-[240px] z-10",children:[d.jsx("div",{className:"w-24 h-24 bg-white border-2 border-foreground
53/10 flex items-center justify-center rounded-sm mb-6 shadow-sm",children:d.jsx(qA,{className:"w-10 h-10 text-foreground",strokeWidth:1.5})}),d.jsx("h3",{className:"text-xl font-heading uppercase mb-2",children:"Assets & Developments"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"Hotels, Commercial, Mixed-Use"})]}),d.jsxs("div",{className:"hidden md:flex flex-1 h-[2px] bg-primary relative items-center justify-center self-start mt-12",children:[d.jsx("div",{className:"absolute -top-3 text-xs uppercase tracking-widest text-primary bg-background px-2 font-bold",children:"Executes"}),d.jsx(Cr,{className:"absolute right-0 top-1/2 -translate-y-1/2 text-primary"})]}),d.jsx(Cr,{className:"md:hidden text-primary rotate-90 my-4"}),d.jsxs("div",{className:"flex flex-col items-center text-center max-w-[240px] z-10",children:[d.jsx("div",{className:"w-24 h-24 bg-primary text-white flex items-center justify-center rounded-sm shadow-xl mb-6 ring-4 ring-primary/20 relative",children:d.jsx("img",{src:"/images/logo-seva.png",alt:"Seva",className:"w-20 h-auto brightness-0 invert"})}),d.jsx("h3",{className:"text-xl font-heading uppercase mb-2 text-primary",children:"SEVA Build"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"Execution, Quality, Delivery"})]})]}),d.jsxs("div",{className:"mt-16 pt-12 border-t text-center",children:[d.jsx("h4",{className:"text-sm font-bold uppercase tracking-widest text-muted-foreground mb-6",children:"Delivering Results"}),d.jsx("div",{className:"flex flex-wrap justify-center gap-4 md:gap-12",children:["Quality Assurance","Schedule Discipline","Value Creation","Risk Reduction"].map(t=>d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx(k6,{className:"w-5 h-5 text-primary"}),d.jsx("span",{className:"font-heading uppercase text-lg",children:t})]},t))})]})]})})}),d.jsx("section",{className:"py-24",children:d.jsx("div",{className:"container mx-auto px-4 md:px-6",children:d.jsxs("div",{className:"grid lg:grid-cols-12 gap-16",children:[d.jsx("div",{className:"lg:col-span-4",children:d.jsx("h2",{className:"text-4xl font-heading uppercase mb-6 sticky top-24",children:"How SEVA Creates Value"})}),d.jsx("div",{className:"lg:col-span-8 grid sm:grid-cols-2 gap-8",children:[{icon:mC,title:"Early Involvement",desc:"We integrate during precon & planning to align scope, budget, and constructability before shovels hit the ground."},{icon:GA,title:"Standardized Execution",desc:"Repeatable playbooks across asset types and geographies ensure consistent results and predictable outcomes."},{icon:W0,title:"Field-Driven Standards",desc:"Our rigorous QA/QC and safety programs are led by experienced field superintendents, not just office managers."},{icon:eC,title:"Speed to Market",desc:"Optimized scheduling for faster renovations, repositionings, and ground-up delivery to maximize asset ROI."}].map((t,a)=>d.jsxs("div",{className:"bg-muted/20 p-8 border border-border hover:border-primary/50 transition-colors group",children:[d.jsx(t.icon,{className:"w-10 h-10 text-primary mb-6 group-hover:scale-110 transition-transform"}),d.jsx("h3",{className:"text-xl font-heading uppercase mb-3",children:t.title}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:t.desc})]},a))})]})})}),d.jsx("section",{className:"py-24 bg-foreground text-background",children:d.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[d.jsxs("div",{className:"max-w-4xl mx-auto text-center mb-16",children:[d.jsx("h2",{className:"text-4xl font-heading uppercase mb-6",children:"Controls & Discipline"}),d.jsx("p",{className:"text-xl text-white/70",children:"We operate with the rigor of a large firm and the agility of a dedicated partner. Our reporting and documentation standards provide complete transparency."})]}),d.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:[{title:"Reporting Cadence",desc:"Weekly executive summaries and daily field logs."},{title:"Budget Tracking",desc:"Real-time cost forecasting and contingency management."},{title:"Change Management",desc:"Strict approval workflows to prevent scope creep."},{title:"Closeout",desc:"Systematic turnover packages and warranty documentation."}].map((t,a)=>d.jsxs("div",{className:"border border-white/10 p-6 text-center hover:bg-white/5 transition-colors",children:[d.jsx(sC,{className:"w-8 h-8 text-primary mx-auto mb-4"}),d.jsx("h4",{className:"font-heading uppercase text-lg mb-2",children:t.title}),d.jsx("p",{className:"text-sm text-white/60",children:t.desc})]},a))})]})})]})}function k6(t){return d.jsxs("svg",{...t,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",children:[d.jsx("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),d.jsx("polyline",{points:"22 4 12 14.01 9 11.01"})]})}function z6(){return d.jsxs(ea,{children:[d.jsx("div",{className:"container mx-auto px-4 md:px-6 py-16 md:py-28",children:d.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-start",children:[d.jsxs("div",{children:[d.jsx("h1",{className:"text-4xl md:text-6xl font-heading uppercase mb-8",children:"About SEVA"}),d.jsxs("div",{className:"prose prose-lg text-muted-foreground prose-headings:font-heading prose-headings:uppercase prose-p:leading-relaxed",children:[d.jsx("p",{className:"text-2xl text-foreground font-light mb-8",children:"SEVA Build is an affiliated company of Hansji Corporation, a multi-generational family enterprise with decades of experience across real estate development, hospital
53ity, and operating businesses."}),d.jsx("p",{className:"mb-6",children:"SEVA was created to serve as a focused execution and workforce-development platformâbringing together disciplined construction practices, strong field leadership, and a commitment to training the next generation of builders."}),d.jsx("p",{children:"While SEVA operates independently day-to-day, it is aligned with Hansjiâs long-term values, standards, and approach to quality, accountability, and building with intention. We are not just contractors; we are partners in value creation."})]})]}),d.jsxs("div",{className:"bg-muted p-8 md:p-12 h-full flex flex-col justify-center border-l-4 border-primary",children:[d.jsx("h3",{className:"text-2xl font-heading uppercase mb-6 text-foreground",children:"Together We Create"}),d.jsx("p",{className:"text-muted-foreground mb-8",children:'"Seva" implies selfless service. In our context, it means building with a mindset of service to the project, the community, and the people who will inhabit the spaces we create.'}),d.jsx("ul",{className:"space-y-6",children:[{icon:BC,title:"Service to People",desc:"Mentoring and growing the next generation of tradespeople."},{icon:cC,title:"Respect for Craft",desc:"Honoring the work by doing it right the first time."},{icon:_C,title:"Focus on Outcome",desc:"Prioritizing the long-term success of the asset over short-term shortcuts."}].map((t,a)=>d.jsxs("li",{className:"flex gap-4",children:[d.jsx("div",{className:"bg-white p-3 rounded-sm shadow-sm h-fit",children:d.jsx(t.icon,{className:"w-5 h-5 text-primary"})}),d.jsxs("div",{children:[d.jsx("h4",{className:"font-heading uppercase text-lg mb-1",children:t.title}),d.jsx("p",{className:"text-sm text-muted-foreground",children:t.desc})]})]},a))})]})]})}),d.jsx("div",{className:"h-[300px] md:h-[400px] w-full bg-scroll md:bg-fixed bg-cover bg-center",style:{backgroundImage:"url('/images/texture-concrete.png')"}
53,children:d.jsx("div",{className:"w-full h-full bg-foreground/80 flex items-center justify-center text-center px-4",children:d.jsx("h2",{className:"text-2xl sm:text-4xl md:text-6xl font-heading uppercase text-white tracking-wider max-w-4xl",children:'"We build things that last. Relationships, Careers, and Structures."'})})})]})}function V6(){return d.jsxs(ea,{children:[d.jsx("div",{className:"bg-[#004e74] text-white py-16 md:py-24",children:d.jsxs("div",{className:"container mx-auto px-4 md:px-6 text-center",children:[d.jsx("img",{src:"/images/logo-hansji.png",alt:"Hansji",className:"h-12 sm:h-16 w-auto mx-auto mb-8 brightness-0 invert"}),d.jsx("h1",{className:"text-4xl md:text-7xl font-heading uppercase mb-6",children:"The Hansji Legacy"}),d.jsx("p",{className:"text-lg sm:text-xl text-white/80 max-w-2xl mx-auto font-light",children:"A foundation of integrity, innovation, and long-term vision."})]})}),d.jsx("div",{className:"container mx-auto px-4 md:px-6 py-16 md:py-24",children:d.jsxs("div",{className:"grid lg:grid-cols-3 gap-12 lg:gap-16",children:[d.jsx("div",{className:"lg:col-span-1",children:d.jsxs("div",{className:"lg:sticky lg:top-24",children:[d.jsx("h2",{className:"text-3xl font-heading uppercase mb-6 text-primary",children:"Who is Hansji"}),d.jsxs("p",{className:"text-muted-foreground leading-relaxed mb-6",children:["Hansji is a multi-generational family enterprise with decades of experience across hospitality, real estate development, and operating businesses. Known for disciplined execution and long-term stewardship, Hansji builds and operates projects that strengthen communities and create enduring value.",d.jsx("br",{}),d.jsx("br",{}),d.jsx("a",{href:"https://www.hansji.com",target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline font-medium",children:"Visit www.hansji.com"})]}),d.jsx("h2",{className:"text-3xl font-heading uppercase mb-6 text-primary mt-12",children:"Why SEVA Exists"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"SEVA Build was established to strengthen construction execution within the Hansji ecosystemâbringing schedule discipline, quality standards, and field leadership into a focused platform. As an affiliated company of Hansji, SEVA supports the delivery of complex projects while developing people through training, mentorship, and hands-on growth in the trades."})]})}),d.jsxs("div",{className:"lg:col-span-2 border-l-2 border-border pl-6 sm:pl-8 md:pl-16 relative",children:[d.jsx("div",{className:"absolute top-0 left-[-5px] w-2 h-2 sm:w-3 sm:h-3 bg-primary rounded-full"}),d.jsx("div",{className:"absolute bottom-0 left-[-5px] w-2 h-2 sm:w-3 sm:h-3 bg-primary rounded-full"}),d.jsx("h3",{className:"text-2xl font-heading uppercase mb-2 text-muted-foreground",children:"Milestones"}),d.jsx("p",{className:"text-sm font-medium uppercase tracking-widest text-muted-foreground mb-8 sm:mb-12",children:"Capabilities first â applied across diverse project types"}),d.jsx("div",{className:"space-y-10 sm:space-y-16",children:[{year:"1",title:"Foundation",desc:"Hansji's roots begin with hospitality and operationsâbuilding a reputation for hands-on leadership and consistent service standards."},{year:"2",title:"Capability Building",desc:"Over time, Hansji strengthens core capabilities in development, project delivery, and operational disciplineâcreating repeatable systems that scale."},{year:"3",title:"Diversification",desc:d.jsxs(d.Fragment,{children:["Hansji applies these capabilities across multiple project types in parallelâhospitality and lodging, nature-based destinations (including ",d.jsx("a",{href:"https://www.terravi.com",target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline",children:"Terra Vi"}),"), urban and mixed-use projects, and other operating assetsâguided by long-term value creation rather than a single asset class."]})},{year:"4",title:"Formation of SEVA",desc:"SEVA Build is launched to provide a focused construction execution and workforce-development platformâsupporting projects with planning rigor, field leadership, and accountability."},{year:"5",title:"Integrated Platform",desc:"Hansji and SEVA work hand-in-hand as an integrated ecosystemâaligning development, operations, and execution to deliver high-quality assets with speed, precision, and pride in craft."}].map((t,a)=>d.jsxs("div",{className:"relative group",children:[d.jsx("div",{className:"absolute -left-[29px] sm:-left-[41px] md:-left-[73px] top-1 sm:top-2 w-4 h-4 sm:w-5 sm:h-5 bg-background border-[3px] sm:border-4 border-muted group-hover:border-primary transition-colors rounded-full z-10"}),d.jsxs("span",{className:"hidden sm:block text-5xl md:text-6xl font-heading font-bold text-muted/10 absolute -top-8 -left-4 -z-10 select-none",children:["0",t.year]}),d.jsx("h4",{className:"text-xl sm:text-2xl font-heading uppercase mb-2 sm:mb-3 pt-1 sm:pt-2",children:t.title}),d.jsx("p",{className:"text-sm sm:text-base text-muted-foreground max-w-lg",children:t.desc})]},a))})]})]})})]})}const Ar=[{src:"/images/framecad-trailer-exterior.png",alt:"SEVA Build mobile fabrication trailer with FrameCAD machines"},{src:"/images/framecad-trailer-interior.png",alt:"FrameCAD machine installed inside SEVA Build mobile trailer"}];function L6(){const[t,a]=b.useState(0),s=()=>a(l=>l===0?Ar.length-1:l-1),r=()=>a(l=>l===Ar.length-1?0:l+1);return d.jsxs("div",{className:"relative w-full aspect-[16/9] overflow-hidden border border-border group/carousel","data-testid":"carousel-framecad",children:[d.jsx("div",{className:"flex h-full transition-transform duration-500 ease-out",style:{transform:`translateX(-${t*100}%)`},children:Ar.map((l,u)=>d.jsx("img",{src:l.src,alt:l.alt,className:"w-full h-full object-cover shrink-0","data-testid":`img-framecad-slide-${u}`},u))}),d.jsx("button",{onClick:s,className:"absolute left-2 top-1/2 -translate-y-1/2 w-9 h-9 bg-black/50 hover:bg-black/70 text-white rounded-full flex items-center justify-center opacity-0 group-hover/carousel:opacity-100 transition-opacity backdrop-blur-sm","aria-label":"Previous image","data-testid":"button-frameca
53d-prev",children:d.jsx(Z0,{className:"w-5 h-5"})}),d.jsx("button",{onClick:r,className:"absolute right-2 top-1/2 -translate-y-1/2 w-9 h-9 bg-black/50 hover:bg-black/70 text-white rounded-full flex items-center justify-center opacity-0 group-hover/carousel:opacity-100 transition-opacity backdrop-blur-sm","aria-label":"Next image","data-testid":"button-framecad-next",children:d.jsx($0,{className:"w-5 h-5"})}),d.jsx("div",{className:"absolute bottom-3 left-1/2 -translate-x-1/2 flex gap-1.5",children:Ar.map((l,u)=>d.jsx("button",{onClick:()=>a(u),className:`w-2 h-2 rounded-full transition-all ${u===t?"bg-white w-5":"bg-white/50 hover:bg-white/80"}`,"aria-label":`Go to image ${u+1}`,"data-testid":`button-framecad-dot-${u}`},u))}),d.jsxs("div",{className:"absolute top-3 right-3 text-[10px] bg-black/60 text-white px-2 py-0.5 rounded-sm backdrop-blur-sm font-mono",children:[t+1," / ",Ar.length]})]})}function P6(){const t=[{title:"Preconstruction",desc:"We build the project before we build the project. Cost certainty, scope clarity, and value engineering.",items:["Conceptual Estimating","Constructability Review","Value Engineering","Permitting Support"]},{title:"Planning & Scheduling",desc:"Rigorous CPM scheduling that drives pace and accountability.",items:["Master Scheduling","Pull Planning","Logistics Planning","Procurement Tracking"]},{title:"Field Execution",desc:"Boots on the ground leadership ensuring quality and safety.",items:["On-site Supervision","Subcontractor Management","Safety Enforcement","Daily Reporting"]},{title:"QA/QC & Closeout",desc:"Finishing strong with zero defects and complete documentation.",items:["Mock-ups & Testing","Punchlist Management","Owner Training","Warranty Turnover"]}];return d.jsx(ea,{children:d.jsxs("div",{className:"py-20 container mx-auto px-4 md:px-6",children:[d.jsx("h1",{className:"text-4xl md:text-7xl font-heading uppercase mb-6",children:"Our Capabilities"}),d.jsx("p",{className:"text-2xl text-muted-foreground max-w-3xl font-light mb-16",children:"From concept to keys, we provide a full spectrum of construction management services designed to reduce risk and maximize value."}),d.jsx("div",{className:"grid md:grid-cols-2 gap-8 mb-24",children:t.map((a,s)=>d.jsxs("div",{className:"bg-white border border-border p-8 md:p-12 hover:shadow-lg transition-shadow",children:[d.jsx("h3",{className:"text-2xl font-heading uppercase mb-4 text-primary",children:a.title}),d.jsx("p",{className:"text-lg text-foreground mb-8",children:a.desc}),d.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:a.items.map(r=>d.jsxs("li",{className:"flex items-center gap-2 text-muted-foreground text-sm uppercase tracking-wide",children:[d.jsx(QA,{className:"w-4 h-4 text-primary"})," ",r]},r))})]},s))}),d.jsxs("div",{className:"mb-24","data-testid":"section-framecad",children:[d.jsxs("div",{className:"border-l-4 border-primary pl-6 mb-10",children:[d.jsx("h2",{className:"text-3xl md:text-5xl font-heading uppercase mb-4","data-testid":"text-framecad-heading",children:"Innovation in Action"}),d.jsx("p",{className:"text-xl text-muted-foreground font-light max-w-3xl",children:"Mobile Light Gauge Steel Fabrication"})]}),d.jsx(L6,{}),d.jsxs("div",{className:"space-y-6 mt-10",children:[d.jsx("p",{className:"text-lg text-foreground leading-relaxed",children:"SEVA Build has embraced advanced construction technology by integrating FrameCAD automated fabrication systems into its operations. These machines produce precision-engineered light gauge steel framing components â wall panels, trusses, and structural frames â with speed and accuracy that traditional stick-framing methods cannot match."}),d.jsx("p",{className:"text-lg text-foreground leading-relaxed",children:"But SEVA didn't stop at adopting the technology. In a move that sets us apart in the industry, we installed our FrameCAD machines inside fully custom, transportable trailers. These mobile fabrication units can be deployed to any project site in the country, transforming a parking lot or staging area into a high-output manufacturing facility within hours."}),d.jsx("p",{className:"text-lg text-foreground leading-relaxed",children:"This means steel framing components are fabricated on-site, cut to spec, labeled, and ready for installation â eliminating long-distance material shipping, reducing waste, compressing schedules, and giving our field teams total control over production timelines. It's construction manufacturing, untethered from the factory floor."})]}),d.jsxs("div",{className:"grid sm:grid-cols-3 gap-6 mt-12 mb-12",children:[d.jsxs("div",{className:"bg-muted p-6 border-t-2 border-primary","data-testid":"card-frameca
53d-deployable",children:[d.jsx("h4",{className:"font-heading uppercase text-lg mb-2",children:"Deployable Anywhere"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"Our mobile trailers bring the factory to the field â set up on any job site nationwide and start fabricating within hours."})]}),d.jsxs("div",{className:"bg-muted p-6 border-t-2 border-primary","data-testid":"card-framecad-precision",children:[d.jsx("h4",{className:"font-heading uppercase text-lg mb-2",children:"Precision Engineered"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"FrameCAD's automated systems produce components to exact specifications, eliminating human error and ensuring consistent structural quality."})]}),d.jsxs("div",{className:"bg-muted p-6 border-t-2 border-primary","data-testid":"card-framecad-timelines",children:[d.jsx("h4",{className:"font-heading uppercase text-lg mb-2",children:"Faster Timelines"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"On-site fabrication removes shipping delays, cuts material waste, and compresses framing schedules â keeping projects on pace and on budget."})]})]}),d.jsx("div",{className:"aspect-video w-full max-w-4xl mx-auto border border-border overflow-hidden",children:d.jsx("iframe",{src:"https://www.youtube.com/embed/tFD1e3Mrf3c",title:"FrameCAD Light Gauge Steel Framing",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"w-full h-full","data-testid":"video-framecad"})})]}),d.jsxs("div",{className:"bg-foreground text-background p-6 md:p-12 rounded-sm",children:[d.jsx("h2",{className:"text-3xl font-heading uppercase mb-8",children:"Self-Perform Capabilities"}),d.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-6 sm:gap-8",children:[d.jsxs("div",{className:"space-y-4",children:[d.jsx("h4",{className:"text-primary font-bold uppercase tracking-widest",children:"Concrete"}),d.jsx("p",{className:"text-sm text-white/70",children:"Foundations, Slabs, Site Concrete"})]}),d.jsxs("div",{className:"space-y-4",children:[d.jsx("h4",{className:"text-primary font-bold uppercase tracking-widest",children:"Carpentry"}),d.jsx("p",{className:"text-sm text-white/70",children:"Rough Framing, Finish Carpentry, Doors & Hardware"})]}),d.jsxs("div",{className:"space-y-4",children:[d.jsx("h4",{className:"text-primary font-bold uppercase tracking-widest",children:"Specialties"}),d.jsx("p",{className:"text-sm text-white/70",children:"Installation of Division 10 items, Protection"})]}),d.jsxs("div",{className:"space-y-4",children:[d.jsx("h4",{className:"text-primary font-bold uppercase tracking-widest",children:"MEP Systems"}),d.jsx("p",{className:"text-sm text-white/70",children:"Mechanical, Electrical, Plumbing Coordination"})]})]})]})]})})}const U6=Zr("whitespace-nowrap inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 hover-elevate ",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow-xs",secondary:"border-transparent bg-secondary text-secondary-foreground",destructive:"border-transparent bg-destructive text-destructive-foreground shadow-xs",outline:"text-foreground border [border-color:var(--badge-outline)]"}},defaultVariants:{variant:"default"}});function B6({className:t,variant:a,...s}){return d.jsx("div",{className:Re(U6({variant:a}),t),...s})}function H6({images:t,name:a}){const[s,r]=b.useState(0);if(!t||t.length===0)return d.jsx("div",{className:"w-full h-full bg-muted flex items-center justify-center",children:d.jsx("span",{className:"text-muted-foreground text-sm",children:"No image"})});if(t.length===1)return d.jsx("img",{src:t[0],alt:a,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105","data-testid":`img-project-${a}`});const l=m=>{r(m)},u=m=>{m.stopPropagation(),r(p=>p===0?t.length-1:p-1)},f=m=>{m.stopPropagation(),r(p=>p===t.length-1?0:p+1)};return d.jsxs("div",{className:"relative w-full h-full overflow-hidden group/carousel",children:[d.jsx("div",{className:"flex h-full transition-transform duration-500 ease-out",style:{transform:`translateX(-${s*100}
53%)`},children:t.map((m,p)=>d.jsx("img",{src:m,alt:`${a} - Image ${p+1}`,className:"w-full h-full object-cover shrink-0","data-testid":`img-project-slide-${p}`},p))}),d.jsx("button",{onClick:u,className:"absolute left-2 top-1/2 -translate-y-1/2 w-9 h-9 bg-black/50 hover:bg-black/70 text-white rounded-full flex items-center justify-center opacity-0 group-hover/carousel:opacity-100 transition-opacity backdrop-blur-sm","aria-label":"Previous image","data-testid":"button-carousel-prev",children:d.jsx(Z0,{className:"w-5 h-5"})}),d.jsx("button",{onClick:f,className:"absolute right-2 top-1/2 -translate-y-1/2 w-9 h-9 bg-black/50 hover:bg-black/70 text-white rounded-full flex items-center justify-center opacity-0 group-hover/carousel:opacity-100 transition-opacity backdrop-blur-sm","aria-label":"Next image","data-testid":"button-carousel-next",children:d.jsx($0,{className:"w-5 h-5"})}),d.jsx("div",{className:"absolute bottom-3 left-1/2 -translate-x-1/2 flex gap-1.5",children:t.map((m,p)=>d.jsx("button",{onClick:g=>{g.stopPropagation(),l(p)},className:`w-2 h-2 rounded-full transition-all ${p===s?"bg-white w-5":"bg-white/50 hover:bg-white/80"}`,"aria-label":`Go to image ${p+1}`,"data-testid":`button-carousel-dot-${p}`},p))}),d.jsxs("div",{className:"absolute top-3 right-3 text-[10px] bg-black/60 text-white px-2 py-0.5 rounded-sm backdrop-blur-sm font-mono",children:[s+1," / ",t.length]})]})}function q6(){const{projects:t}=Sm(),a=s=>s.images&&s.images.length>0?s.images:s.image?[s.image]:["/images/project-site.jpg"];return d.jsx(ea,{children:d.jsxs("div",{className:"py-20 container mx-auto px-4 md:px-6",children:[d.jsx("h1",{className:"text-4xl md:text-7xl font-heading uppercase mb-12 md:mb-16","data-testid":"text-projects-title",children:"Selected Projects"}),t.length===0?d.jsx("div",{className:"text-center py-20 bg-muted/30 border border-dashed border-border","data-testid":"text-no-projects",children:d.jsx("p",{className:"text-xl text-muted-foreground",children:"No projects currently listed."})}):d.jsx("div",{className:"grid gap-16 md:gap-24",children:t.map((s,r)=>d.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 lg:gap-16 items-center group","data-testid":`card-project-${s.id}`,children:[d.jsxs("div",{className:`order-1 ${r%2===0?"lg:order-1":"lg:order-2"} aspect-[4/3] bg-muted overflow-hidden relative`,children:[d.jsx("div",{className:"absolute inset-0 bg-black/0 group-hover:bg-black/10 transition-colors z-10 pointer-events-none"}),d.jsx(H6,{images:a(s),name:s.name})]}),d.jsxs("div",{className:`order-2 ${r%2===0?"lg:order-2":"lg:order-1"}`,children:[d.jsx("div",{className:"inline-block px-3 py-1 bg-muted text-muted-foreground text-xs font-bold uppercase tracking-widest mb-6",children:s.location}),d.jsx("h2",{className:"text-2xl sm:text-3xl md:text-5xl font-heading uppercase mb-6 group-hover:text-primary transition-colors","data-testid":`text-project-name-${s.id}`,children:s.name}),d.jsxs("div",{className:"grid grid-cols-2 gap-4 mb-8 text-sm uppercase tracking-wide text-muted-foreground border-y border-border py-6",children:[d.jsxs("div",{children:[d.jsx("span",{className:"block text-xs font-bold text-foreground",children:"Scope"}),s.scope]}),d.jsxs("div",{children:[d.jsx("span",{className:"block text-xs font-bold text-foreground",children:"Delivery"}),s.delivery]}),d.jsxs("div",{children:[d.jsx("span",{className:"block text-xs font-bold text-foreground",children:"Duration"}),s.duration]})]}),d.jsx("p",{className:"text-lg text-foreground/80 mb-8 leading-relaxed",children:s.description}),d.jsx("div",{className:"flex flex-wrap gap-2 mb-8",children:s.highlights.map((l,u)=>d.jsx(B6,{variant:"outline",className:"rounded-none font-normal uppercase tracking-wide text-xs","data-testid":`badge-highlight-${u}`,children:l},u))}),s.website&&d.jsx("a",{href:s.website,target:"_blank",rel:"noopener noreferrer",children:d.jsxs(Ae,{variant:"outline",className:"rounded-none border-primary text-primary hover:bg-primary hover:text-white uppercase tracking-widest","data-testid":`link-project-website-${s.id}`,children:["View Project Website ",d.jsx(aC,{className:"ml-2 w-4 h-4"})]})})]})]},s.id))})]})})}const Be=b.forwardRef(({className:t,type:a,...s},r)=>d.jsx("input",{type:a,className:Re("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:r,...s}));Be.displayName="Input";const Ss=b.forwardRef(({className:t,...a},s)=>
53d.jsx("textarea",{className:Re("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:s,...a}));Ss.displayName="Textarea";const F6=Nw,G6=Aw,mj=b.forwardRef(({className:t,...a},s)=>d.jsx(Nc,{ref:s,className:Re("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",t),...a}));mj.displayName=Nc.displayName;const pj=b.forwardRef(({className:t,children:a,...s},r)=>d.jsxs(G6,{children:[d.jsx(mj,{}),d.jsxs(Ac,{ref:r,className:Re("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",t),...s,children:[a,d.jsxs(Cw,{className:"absolute right-4 top-4 roun
53ded-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:[d.jsx($r,{className:"h-4 w-4"}),d.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));pj.displayName=Ac.displayName;const gj=({className:t,...a})=>d.jsx("div",{className:Re("flex flex-col space-y-1.5 text-center sm:text-left",t),...a});gj.displayName="DialogHeader";const yj=b.forwardRef(({className:t,...a},s)=>d.jsx(Cc,{ref:s,className:Re("text-lg font-semibold leading-none tracking-tight",t),...a}));yj.displayName=Cc.displayName;const vj=b.forwardRef(({className:t,...a},s)=>d.jsx(Rc,{ref:s,className:Re("text-sm text-muted-foreground",t),...a}));vj.displayName=Rc.displayName;function Y6(){const{jobs:t}=hj(),{toast:a}=Kr(),[s,r]=b.useState(null),[l,u]=b.useState(!1),[f,m]=b.useState(!1),[p,g]=b.useState({name:"",email:"",phone:"",comments:""}),[y,v]=b.useState(null),w=b.useRef(null),j=E=>{r(E),g({name:"",email:"",phone:"",comments:""}),v(null),u(!0)},N=E=>{const A=E.target.files?.[0];if(A){if(A.size>5*1024*1024){a({title:"File Too Large",description:"Please select a file under 5MB.",variant:"destructive"});return}v(A)}},T=async E=>{if(E.preventDefault(),!!s){m(!0);try{const A=new FormData;if(A.append("jobTitle",s.title),A.append("jobLocation",s.location),A.append("name",p.name),A.append("email",p.email),A.append("phone",p.phone),A.append("comments",p.comments),y&&A.append("resume",y),!(await fetch("/api/applications",{method:"POST",body:A})).ok)throw new Error("Failed to submit");a({title:"Application Submitted",description:"Thank you for applying! We will review your application and be in touch."}),u(!1)}catch{a({title:"Error",description:"Something went wrong. Please try again or email us directly at [email protected].",variant:"destructive"})}finally{m(!1)}}};return d.jsxs(ea,{children:[d.jsx("div",{className:"bg-primary text-white py-24",children:d.jsx("div",{className:"container mx-auto px-4 md:px-6",children:d.jsxs("div",{className:"max-w-4xl",children:[d.jsx("div",{className:"inline-flex items-center gap-2 px-3 py-1 bg-white/10 text-white text-xs font-bold uppercase tracking-widest mb-6 backdrop-blur-sm",children:"We are building the next generation"}),d.jsx("h1",{className:"text-4xl md:text-7xl font-heading uppercase mb-8",children:"Build Your Future Here"}),d.jsx("p",{className:"text-xl md:text-2xl font-light text-white/90 max-w-2xl leading-relaxed",children:"SEVA was created to give builders a place to grow. As an affiliated company of Hansji, we offer long-term opportunity, meaningful projects, mentorship, and pride in craft."})]})})}),d.jsx("section",{className:"py-24 bg-background",children:d.jsxs("div",{className:"container mx-auto px-4 md:px-6",children:[d.jsx("h2",{className:"text-3xl font-heading uppercase mb-12 text-center",children:"The Growth Pathway"}),d.jsxs("div",{className:"relative",children:[d.jsx("div",{className:"hidden md:block absolute top-1/2 left-0 w-full h-1 bg-muted -z-10 -translate-y-1/2"}),d.jsx("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8",children:[{title:"Apprentice",desc:"Learn the fundamentals of safety, quality, and craft."},{title:"Journeyman/Lead",desc:"Master your trade and begin leading small crews."},{title:"Foreman",desc:"Manage field operations for specific scopes."},{title:"Superintendent",desc:"Lead the entire jobsite, schedule, and safety culture."}].map((E,A)=>d.jsxs("div",{className:"bg-background border border-border p-6 text-center hover:border-primary transition-colors group",children:[d.jsx("div",{className:"w-12 h-12 bg-muted text-muted-foreground rounded-full flex items-center justify-center mx-auto mb-6 font-heading font-bold text-xl group-hover:bg-primary group-hover:text-white transition-colors",children:A+1}),d.jsx("h3",{className:"text-xl font-heading uppercase mb-3",children:E.title}),d.jsx("p",{className:"text-sm text-muted-foreground",children:E.desc})]},A))})]})]})}),d.jsx("section",{className:"py-24 bg-muted/30",children:d.jsx("div",{className:"container mx-auto px-4 md:px-6",children:d.jsx("div",{className:"grid md:grid-cols-3 gap-12",children:[{icon:W0,title:"Field First",desc:"We respect the field. Our leaders come from the trades and understand how work actually gets put in place."},{icon:VC,title:"Long Term",desc:"We aren't a 'churn and burn' shop. We invest in training because we want you here for your career."},{icon:BA,title:"Excellence",desc:"We hold ourselves to the Hansji standard. Good enough isn't good enough."}].map((E,A)=>d.jsxs("div",{children:[d.jsx(E.icon,{className:"w-10 h-10 text-primary mb-6"}),d.jsx("h3",{className:"text-xl font-heading uppercase mb-4",children:E.title}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:E.desc})]},A))})})}),d.jsxs("section",{className:"py-24 container mx-auto px-4 md:px-6",children:[d.jsxs("div",{className:"flex justify-between items-center mb-12",children:[d.jsx("h2",{className:"text-3xl md:text-4xl font-heading uppercase",children:"Open Positions"}),d.jsx(Qe,{href:"/contact",children:d.jsx(Ae,{variant:"outline",className:"hidden md:flex rounded-none font-heading uppercase tracking-widest",children:"Don't see your role? Contact Us"})})]}),t.length===0?d.jsxs("div",{className:"text-center py-16 bg-muted/20 border border-dashed border-border",children:[d.jsx("p",{className:"text-xl text-muted-foreground mb-4",children:"No specific openings listed right now."}),d.jsx(Qe,{href:"/contact",children:d.jsx(Ae,{variant:"link",className:"text-primary font-bold uppercase tracking-widest",children:"Send us your resume anyway"})})]}):d.jsx("div",{className:"grid gap-6",children:t.map(E=>d.jsxs("div",{"data-testid":`card-job-${E.id}`,className:"border border-border p-5 sm:p-8 hover:border-primary transition-colors flex flex-col md:flex-row justify-between items-start md:items-center gap-4 sm:gap-6",children:[d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsxs("div",{className:"flex flex-wrap gap-2 sm:gap-4 items-center mb-2",children:[d.jsx("h3",{className:"text-xl sm:text-2xl font-heading uppercase",children:E.title}),d.jsx("span",{className:"bg-muted px-2 py-1 text-xs font-bold uppercase tracking-wide",children:E.location})]}),d.jsx("p",{className:"text-muted-foreground mb-4 max-w-2xl",children:E.growth}),d.jsx("div",{className:"flex flex-col sm:flex-row sm:flex-wrap gap-1 sm:gap-4",children:E.responsibilities.map((A,_)=>
53d.jsxs("span",{className:"text-sm text-foreground/70",children:["⢠",A]},_))})]}),E.applyLink?d.jsx("a",{href:E.applyLink,target:"_blank",rel:"noopener noreferrer",className:"w-full md:w-auto shrink-0",children:d.jsx(Ae,{"data-testid":`button-apply-${E.id}`,className:"w-full md:w-auto rounded-none bg-foreground text-background hover:bg-primary hover:text-white font-heading uppercase tracking-widest px-8",children:"Apply Now"})}):d.jsx(Ae,{"data-testid":`button-apply-${E.id}`,onClick:()=>j(E),className:"w-full md:w-auto shrink-0 rounded-none bg-foreground text-background hover:bg-primary hover:text-white font-heading uppercase tracking-widest px-8",children:"Apply Now"})]},E.id))})]}),d.jsx(F6,{open:l,onOpenChange:u,children:d.jsxs(pj,{className:"sm:max-w-[520px] rounded-none border-border p-0 overflow-hidden",children:[d.jsxs(gj,{className:"bg-foreground text-background p-6",children:[d.jsx(yj,{className:"font-heading uppercase text-xl tracking-wide",children:s?.title}),d.jsx(vj,{className:"text-background/70 text-sm uppercase tracking-widest mt-1",children:s?.location})]}),d.jsxs("form",{onSubmit:T,className:"p-6 space-y-5",children:[d.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[d.jsxs("div",{className:"space-y-2",children:[d.jsx("label",{className:"text-xs font-bold uppercase tracking-widest",children:"Name *"}),d.jsx(Be,{"data-testid":"input-apply-name",placeholder:"Your Name",className:"rounded-none bg-background border-border",required:!0,value:p.name,onChange:E=>g(A=>({...A,name:E.target.value}))})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx("label",{className:"text-xs font-bold uppercase tracking-widest",children:"Phone"}),d.jsx(Be,{"data-testid":"input-apply-phone",placeholder:"(555) 123-4567",className:"rounded-none bg-background border-border",value:p.phone,onChange:E=>g(A=>({...A,phone:E.target.value}))})]})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx("label",{className:"text-xs font-bold uppercase tracking-widest",children:"Email *"}),d.jsx(Be,{"data-testid":"input-apply-email",type:"email",placeholder:"[email protected]",className:"rounded-none bg-background border-border",required:!0,value:p.email,onChange:E=>g(A=>({...A,email:E.target.value}))})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx("label",{className:"text-xs font-bold uppercase tracking-widest",children:"Comments / Cover Letter"}),d.jsx(Ss,{"data-testid":"input-apply-comments",placeholder:"Tell us about your experience, qualifications, or anything else you'd like us to know...",className:"min-h-[120px] rounded-none bg-background border-border",value:p.comments,onChange:E=>g(A=>({...A,comments:E.target.value}))})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx("label",{className:"text-xs font-bold uppercase tracking-widest",children:"Attach Resume / Document"}),d.jsx("input",{ref:w,type:"file",accept:".pdf,.doc,.docx,.jpg,.jpeg,.png",onChange:N,className:"hidden"}),y?d.jsxs("div",{className:"flex items-center gap-3 p-3 bg-muted/50 border border-border",children:[d.jsx(oC,{className:"w-5 h-5 text-primary shrink-0"}),d.jsx("span",{className:"text-sm truncate flex-1",children:y.name}),d.jsxs("span",{className:"text-xs text-muted-foreground shrink-0",children:[(y.size/1024/1024).toFixed(1)," MB"]}),d.jsx("button",{type:"button","data-testid":"button-remove-file",onClick:()=>{v(null),w.current&&(w.current.value="")},className:"text-muted-foreground hover:text-foreground shrink-0",children:d.jsx($r,{className:"w-4 h-4"})})]}):d.jsxs("button",{type:"button","data-testid":"button-upload-resume",onClick:()=>w.current?.click(),className:"w-full flex items-center justify-center gap-2 p-3 border border-dashed border-border text-sm text-muted-foreground hover:border-primary hover:text-primary transition-colors",children:[d.jsx(PC,{className:"w-4 h-4"}),"Choose File (PDF, Word, or Image â max 5MB)"]})]}),d.jsx(Ae,{"data-testid":"button-submit-application",type:"submit",size:"lg",className:"w-full rounded-none font-heading uppercase tracking-widest bg-primary hover:bg-primary/90 text-white",disabled:f,children:f?d.jsxs(d.Fragment,{children:[d.jsx(Kf,{className:"w-4 h-4 mr-2 animate-spin"})," Submitting..."]}):"Submit Application"})]})]})})]})}var Q6=b.createContext(void 0);function xj(t){const a=b.useContext(Q6);return t||a||"ltr"}var Vf="rovingFocusGroup.onEntryFocus",K6={bubbles:!1,cancelable:!0},io="RovingFocusGroup",[Sh,bj,X6]=w0(io),[I6,wj]=xi(io,[X6]),[Z6,$6]=I6(io),Sj=b.forwardRef((t,a)=>d.jsx(Sh.Provider,{scope:t.__scopeRovingFocusGroup,children:d.jsx(Sh.Slot,{scope:t.__scopeRovingFocusGroup,children:d.jsx(W6,{...t,ref:
vendor: 6,551 bytes, line 53
53a})})}));Sj.displayName=io;var W6=b.forwardRef((t,a)=>{const{__scopeRovingFocusGroup:s,orientation:r,loop:l=!1,dir:u,currentTabStopId:f,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:p,onEntryFocus:g,preventScrollOnEntryFocus:y=!1,...v}=t,w=b.useRef(null),j=bt(a,w),N=xj(u),[T,E]=mc({prop:f,defaultProp:m??null,onChange:p,caller:io}),[A,_]=b.useState(!1),R=dn(g),D=bj(s),k=b.useRef(!1),[G,H]=b.useState(0);return b.useEffect(()=>{const L=w.current;if(L)return L.addEventListener(Vf,R),()=>L.removeEventListener(Vf,R)},[R]),d.jsx(Z6,{scope:s,orientation:r,dir:N,loop:l,currentTabStopId:T,onItemFocus:b.useCallback(L=>E(L),[E]),onItemShiftTab:b.useCallback(()=>_(!0),[]),onFocusableItemAdd:b.useCallback(()=>H(L=>L+1),[]),onFocusableItemRemove:b.useCallback(()=>H(L=>L-1),[]),children:d.jsx(He.div,{tabIndex:A||G===0?-1:0,"data-orientation":r,...v,ref:j,style:{outline:"none",...t.style},onMouseDown:Ce(t.onMouseDown,()=>{k.current=!0}),onFocus:Ce(t.onFocus,L=>{const W=!k.current;if(L.target===L.currentTarget&&W&&!A){const te=new CustomEvent(Vf,K6);if(L.currentTarget.dispatchEvent(te),!te.defaultPrevented){const se=D().filter(V=>V.focusable),le=se.find(V=>V.active),ge=se.find(V=>V.id===T),me=[le,ge,...se].filter(Boolean).map(V=>V.ref.current);Ej(me,y)}}k.current=!1}),onBlur:Ce(t.onBlur,()=>_(!1))})})}),jj="RovingFocusGroupItem",Tj=b.forwardRef((t,a)=>{const{__scopeRovingFocusGroup:s,focusable:r=!0,active:l=!1,tabStopId:u,children:f,...m}=t,p=Or(),g=u||p,y=$6(jj,s),v=y.currentTabStopId===g,w=bj(s),{onFocusableItemAdd:j,onFocusableItemRemove:N,currentTabStopId:T}=y;return b.useEffect(()=>{if(r)return j(),()=>N()},[r,j,N]),d.jsx(Sh.ItemSlot,{scope:s,id:g,focusable:r,active:l,children:d.jsx(He.span,{tabIndex:v?0:-1,"data-orientation":y.orientation,...m,ref:a,onMouseDown:Ce(t.onMouseDown,E=>{r?y.onItemFocus(g):E.preventDefault()}),onFocus:Ce(t.onFocus,()=>y.onItemFocus(g)),onKeyDown:Ce(t.onKeyDown,E=>{if(E.key==="Tab"&&E.shiftKey){y.onItemShiftTab();return}if(E.target!==E.currentTarget)return;const A=t5(E,y.orientation,y.dir);if(A!==void 0){if(E.metaKey||E.ctrlKey||E.altKey||E.shiftKey)return;E.preventDefault();let R=w().filter(D=>D.focusable).map(D=>D.ref.current);if(A==="last")R.reverse();else if(A==="prev"||A==="next"){A==="prev"&&R.reverse();const D=R.indexOf(E.currentTarget);R=y.loop?n5(R,D+1):R.slice(D+1)}setTimeout(()=>Ej(R))}}),children:typeof f=="function"?f({isCurrentTabStop:v,hasTabStop:T!=null}):f})})});Tj.displayName=jj;var J6={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function e5(t,a){return a!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function t5(t,a,s){const r=e5(t.key,s);if(!(a==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(a==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return J6[r]}function Ej(t,a=!1){const s=document.activeElement;for(const r of t)if(r===s||(r.focus({preventScroll:a}),document.activeElement!==s))return}function n5(t,a){return t.map((s,r)=>t[(a+r)%t.length])}var a5=Sj,i5=Tj,_c="Tabs",[s5]=xi(_c,[wj]),Nj=wj(),[r5,jm]=s5(_c),Aj=b.forwardRef((t,a)=>{const{__scopeTabs:s,value:r,onValueChange:l,defaultValue:u,orientation:f="horizontal",dir:m,activationMode:p="automatic",...g}=t,y=xj(m),[v,w]=mc({prop:r,onChange:l,defaultProp:u??"",caller:_c});return d.jsx(r5,{scope:s,baseId:Or(),value:v,onValueChange:w,orientation:f,dir:y,activationMode:p,children:d.jsx(He.div,{dir:y,"data-orientation":f,...g,ref:a})})});Aj.displayName=_c;var Cj="TabsList",Rj=b.forwardRef((t,a)=>{const{__scopeTabs:s,loop:r=!0,...l}=t,u=jm(Cj,s),f=Nj(s);return d.jsx(a5,{asChild:!0,...f,orientation:u.orientation,dir:u.dir,loop:r,children:d.jsx(He.div,{role:"tablist","aria-orientation":u.orientation,...l,ref:a})})});Rj.displayName=Cj;var Mj="TabsTrigger",Dj=b.forwardRef((t,a)=>{const{__scopeTabs:s,value:r,disabled:l=!1,...u}=t,f=jm(Mj,s),m=Nj(s),p=kj(f.baseId,r),g=zj(f.baseId,r),y=r===f.value;return d.jsx(i5,{asChild:!0,...m,focusable:!l,active:y,children:d.jsx(He.button,{type:"button",role:"tab","aria-selected":y,"aria-controls":g,"data-state":y?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:p,...u,ref:a,onMouseDown:Ce(t.onMouseDown,v=>{!l&&v.button===0&&v.ctrlKey===!1?f.onValueChange(r):v.preventDefault()}),onKeyDown:Ce(t.onKeyDown,v=>{[" ","Enter"].includes(v.key)&&f.onValueChange(r)}),onFocus:Ce(t.onFocus,()=>{const v=f.activationMode!=="manual";!y&&!l&&v&&f.onValueChange(r)})})})});Dj.displayName=Mj;var Oj="TabsContent",_j=b.forwardRef((t,a)=>{const{__scopeTabs:s,value:r,forceMount:l,children:u,...f}=t,m=jm(Oj,s),p=kj(m.baseId,r),g=zj(m.baseId,r),y=r===m.value,v=b.useRef(y);return b.useEffect(()=>{const w=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(w)},[]),d.jsx(La,{present:l||y,children:({present:w})=>d.jsx(He.div,{"data-state":y?"active":"inactive","data-orientation":m.orientation,role:"tabpanel","aria-labelledby":p,hidden:!w,id:g,tabIndex:0,...f,ref:a,style:{...t.style,animationDuration:v.current?"0s":void 0},children:w&&u})})});_j.displayName=Oj;function kj(t,a){return`${t}-trigger-${a}`}function zj(t,a){return`${t}-content-${a}`}var o5=Aj,Vj=Rj,Lj=Dj,Pj=_j;const Uj=o5,Tm=b.forwardRef(({className:t,...a},s)=>d.jsx(Vj,{ref:s,className:Re("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...a}));Tm.displayName=Vj.displayName;const fi=b.forwardRef(({className:t,...a},s)=>d.jsx(Lj,{ref:s,className:Re("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",t),...a}));fi.displayName=Lj.displayName;const hi=b.forwardRef(({className:t,...a},s)=>d.jsx(Pj,{ref:s,className:Re("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...a}));hi.displayName=Pj.displayName;function l5(){const{toast:t}=Kr(),[a,s]=b.useState({name:"",company:"",email:"",message:""}),[r,l]=b.useState({name:"",phone:"",email:"",position:"",message:""}),[u,f]=b.useState(!1),[m,p]=b.useState(!1),g=async v=>{v.preventDefault(),f(!0);try{await Xn("POST","/api/contact",{type:"project",name:a.name,email:a.email,company:a.company||null,phone:null,position:null,message:a.message}
53),t({title:"Inquiry Sent",description:"Thank you for contacting SEVA Build. We will be in touch shortly."}),s({name:"",company:"",email:"",message:""})}catch{t({title:"Error",description:"Something went wrong. Please try again or email us directly.",variant:"destructive"})}finally{f(!1)}},y=async v=>{v.preventDefault(),p(!0);try{await Xn("POST","/api/contact",{type:"career",name:r.name,email:r.email,company:null,phone:r.phone||null,position:r.position||null,message:r.message}),t({title:"Application Received",description:"Thank you for your interest. We will review your submission and be in touch."}),l({name:"",phone:"",email:"",position:"",message:""})}catch{t({title:"Error",description:"Something went wrong. Please try again or email us directly.",variant:"destructive"})}finally{p(!1)}};return d.jsx(ea,{children:d.jsxs("div",{className:"py-20 container mx-auto px-4 md:px-6",children:[d.jsx("h1",{className:"text-4xl md:text-7xl font-heading uppercase mb-12 md:mb-16",children:"Get In Touch"}),d.jsxs("div",{className:"grid lg:grid-cols-12 gap-16",children:[d.jsx("div",{className:"lg:col-span-5 space-y-12",children:d.jsxs("div",{children:[d.jsx("h3",{className:"text-2xl font-heading uppercase mb-6 text-primary",children:"Headquarters"}),d.jsx("p",{className:"text-xl text-foreground font-light mb-8",children:"Delivering disciplined execution and building lasting value â wherever the project demands."}),d.jsxs("ul",{className:"space-y-6",children:[d.jsxs("li",{className:"flex items-start gap-4",children:[d.jsx(SC,{className:"w-6 h-6 text-primary shrink-0 mt-1"}),d.jsxs("div",{children:[d.jsx("h4",{className:"font-heading uppercase text-sm mb-1",children:"Office"}),d.jsxs("p",{className:"text-muted-foreground",children:["46 Discovery, Suite 250",d.jsx("br",{}),"Irvine, CA 92618"]})]})]}),d.jsxs("li",{className:"flex items-start gap-4",children:[d.jsx(Pr,{className:"w-6 h-6 text-primary shrink-0 mt-1"}),d.jsxs("div",{children:[d.jsx("h4",{className:"font-heading uppercase text-sm mb-1",children:"Phone"}),d.jsx("p",{className:"text-muted-foreground",children:"(714) 399-0150"})]})]}),d.jsxs("li",{className:"flex items-start gap-4",children:[d.jsx(vs,{className:"w-6 h-6 text-primary shrink-0 mt-1"}),d.jsxs("div",{children:[d.jsx("h4",{className:"font-heading uppercase text-sm mb-1",children:"Email"}),d.jsx("p",{className:"text-muted-foreground",children:"[email protected]"})]})]})]})]})}),d.jsx("div",{className:"lg:col-span-7 bg-muted/30 p-8 md:p-12 border border-border",children:d.jsxs(Uj,{defaultValue:"project",className:"w-full",children:[d.jsxs(Tm,{className:"grid w-full grid-cols-2 mb-8 bg-background p-1 rounded-none border border-border",children:[d.jsx(fi,{"data-testid":"tab-project-inquiry",value:"project",className:"rounded-none font-heading uppercase tracking-widest data-[state=active]:bg-primary data-[state=active]:text-white",children:"Project Inquiry"}),d.jsx(fi,{"data-testid":"tab-join-team",value:"career",className:"rounded-none font-heading uppercase tracking-widest data-[state=active]:bg-primary data-[state=active]:text-white",children:"Join The Team"})]}),d.jsx(hi,{value:"project",children:d.jsxs("form",{onSubmit:g,className:"space-y-6",children:[d.jsxs("div",{className:"grid sm:grid-cols-2 gap-6",children:[d.jsxs("div",{className:"space-y-2",children:[d.jsx("label",{className:"text-xs font-bold uppercase tracking-widest",children:"Name"}),d.jsx(Be,{"data-testid":"input-project-name",placeholder:"Your Name",className:"rounded-none bg-background border-border",required:!0,value:a.name,onChange:v=>s(w=>({...w,name:v.target.value}))})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx("label",{className:"text-xs font-bold uppercase tracking-widest",children:"Company"}),d.jsx(Be,{"data-testid":"input-project-company",placeholder:"Company Name",className:"rounded-none bg-background border-border",value:a.company,onChange:v=>s(w=>({...w,company:v.target.value}))})]})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx("label",{className:"text-xs font-bold uppercase tracking-widest",children:"Email"}),d.jsx(Be,{"data-testid":"input-project-email",type:"email",placeholder:"[email protected]",className:"rounded-none bg-background border-border",required:!0,value:a.email,onChange:v=>s(w=>({...w,email:v.target.value}))})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx("label",{className:"text-xs font-bold uppercase tracking-widest",children:"Project Details"}),d.jsx(Ss,{"data-testid":"input-project-message",placeholder:"Tell us about your project...",className:"min-h-[150px] rounded-none bg-background border-border",required:!0,value:a.message,onChange:v=>s(w=>({...w,message:v.target.value}))})]}),d.jsx(Ae,{"data-testid":"button-submit-project",type:"submit",size:"lg",className:"w-full rounded-none font-heading uppercase tracking-widest bg-primary hover:bg-primary/90 text-white",disabled:u,children:u?d.jsxs(d.Fragment,{children:[d.jsx(Kf,{className:"w-4 h-4 mr-2 animate-spin"})," Sending..."]}):"Send Inquiry"})]})}),d.jsx(hi,{value:"career",children:d.jsxs("form",{onSubmit:y,className:"space-y-6",children:[d.jsxs("div",{className:"grid sm:grid-cols-2 gap-6",children:[d.jsxs("div",{className:"space-y-2",children:[d.jsx("label",{className:"text-xs font-bold uppercase tracking-widest",children:"Name"}),d.jsx(Be,{"data-testid":"input-career-name",placeholder:"Your Name",className:"rounded-none bg-background border-border",required:!0,value:r.name,onChange:v=>l(w=>({...w,name:v.target.value}))})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx("label",{className:"text-xs font-bold uppercase tracking-widest",children:"Phone"}),d.jsx(Be,{"data-testid":"input-career-phone",placeholder:"(714) 399-0150",className:"rounded-none bg-background border-border",value:r.phone,onChange:v=>l(w=>({...w,phone:v.target.value}))})]})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx("label",{className:"text-xs font-bold uppercase tracking-widest",children:"Email"}),d.jsx(Be,{"data-testid":"input-career-email",type:"email",placeholder:"[email protected]",className:"rounded-none bg-background border-border",required:!0,value:r.email,onChange:v=>l(w=>({...w,email:v.target.value}))})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx("label",{className:"text-xs font-bold uppercase tracking-widest",children:"Position of Interest"}),d.jsx(Be,{"data-testid":"input-career-position",placeholder:"e.g. Superintendent",className:"rounded-none bg-background border-border",value:r.position,onChange:v=>l(w=>({...w,position:v.target.value}))})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx("label",{className:"text-xs font-bold uppercase tracking-widest",children:"Experience / Message"}),d.jsx(Ss,{"data-testid":"input-career-message",placeholder:"Briefly describe your experience...",className:"min-h-[150px] rounded-none bg-background border-border",required:!0,value:r.message,onChange:v=>l(w=>({...w,message:v.target.value}))})]}),d.jsx(Ae,{"data-testid":"button-submit-career",type:"submit",size:"lg",className:"w-full rounded-none font-heading uppercase tracking-widest bg-primary hover:bg-primary/90 text-white",disabled:m,children:m?d.jsxs(d.Fragment,{children:[d.jsx(Kf,{className:"w-4 h-4 mr-2 animate-spin"})," Submitting..."]}):"Submit Application"})]})})]})})]})]})})}var c5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],u5=c5.reduce((t,a)=>{const s=W1(`Primitive.${a}`),r=b.forwardRef((l,u)=>{const{asChild:f,...m}=l,p=f?s:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(p,{...m,ref:u})});return r.displayName=`Primitive.${a}`,{...t,[a]:r}},{}),d5="Label",Bj=b.forwardRef((t,a)=>
53d.jsx(u5.label,{...t,ref:a,onMouseDown:s=>{s.target.closest("button, input, select, textarea")||(t.onMouseDown?.(s),!s.defaultPrevented&&s.detail>1&&s.preventDefault())}}));Bj.displayName=d5;var Hj=Bj;const f5=Zr("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),yt=b.forwardRef(({className:t,...a},s)=>d.jsx(Hj,{ref:s,className:Re(f5(),t),...a}));yt.displayName=Hj.displayName;function h5(){const[t,a]=b.useState(!1),[s,r]=b.useState(""),l=u=>{u.preventDefault(),s==="admin"||s==="seva"||s==="hansji"?a(!0):alert("Invalid password. Try 'admin'")};return t?d.jsxs(ea,{children:[d.jsx("div",{className:"bg-foreground text-background py-8 md:py-12",children:d.jsxs("div",{className:"container mx-auto px-4 flex flex-col sm:flex-row justify-between items-start sm:items-center gap-4",children:[d.jsxs("div",{children:[d.jsx("h1",{className:"text-3xl md:text-4xl font-heading uppercase",children:"Admin Dashboard"}),d.jsx("p",{className:"text-white/60 text-sm md:text-base",children:"Manage projects and career opportunities"})]}),d.jsxs(Ae,{variant:"outline",onClick:()=>a(!1),className:"bg-transparent border-white/20 text-white hover:bg-white hover:text-black rounded-none gap-2",children:[d.jsx(yC,{className:"w-4 h-4"})," ",d.jsx("span",{className:"hidden sm:inline",children:"Sign Out"}),d.jsx("span",{className:"sm:hidden",children:"Exit"})]})]})}),d.jsx("div",{className:"container mx-auto px-4 py-12",children:d.jsxs(Uj,{defaultValue:"projects",className:"space-y-8",children:[d.jsxs(Tm,{className:"bg-muted p-1 rounded-none border border-border w-full md:w-auto grid grid-cols-2 md:grid-cols-4 md:inline-flex",children:[d.jsx(fi,{value:"projects",className:"px-4 md:px-8 rounded-none font-heading uppercase tracking-widest text-xs md:text-sm data-[state=active]:bg-primary data-[state=active]:text-white","data-testid":"tab-projects",children:"Projects"}),d.jsx(fi,{value:"jobs",className:"px-4 md:px-8 rounded-none font-heading uppercase tracking-widest text-xs md:text-sm data-[state=active]:bg-primary data-[state=active]:text-white","data-testid":"tab-careers",children:"Careers"}),d.jsx(fi,{value:"applications",className:"px-4 md:px-8 rounded-none font-heading uppercase tracking-widest text-xs md:text-sm data-[state=active]:bg-primary data-[state=active]:text-white","data-testid":"tab-applications",children:"Job Inquiries"}),d.jsx(fi,{value:"contact",className:"px-4 md:px-8 rounded-none font-heading uppercase tracking-widest text-xs md:text-sm data-[state=active]:bg-primary data-[state=active]:text-white","data-testid":"tab-contact",children:"Contact Forms"})]}),d.jsx(hi,{value:"projects",children:d.jsx(m5,{})}),d.jsx(hi,{value:"jobs",children:d.jsx(p5,{})}),d.jsx(hi,{value:"applications",children:d.jsx(g5,{})}),d.jsx(hi,{value:"contact",children:d.jsx(y5,{})})]})})]}):d.jsx("div",{className:"min-h-screen bg-muted flex items-center justify-center p-4",children:d.jsxs(bi,{className:"w-full max-w-md rounded-sm border-t-4 border-t-primary",children:[d.jsxs(Sc,{className:"text-center pb-8",children:[d.jsx("div",{className:"mx-auto w-16 h-16 bg-foreground rounded-full flex items-center justify-center mb-4",children:d.jsx(xC,{className:"w-8 h-8 text-background"})}),d.jsx(jc,{className:"font-heading uppercase text-2xl",children:"SEVA Admin"}),d.jsx(Z1,{children:"Enter secure access code to manage content"})]}),d.jsx(wi,{children:d.jsxs("form",{onSubmit:l,className:"space-y-4",children:[d.jsxs("div",{className:"space-y-2",children:[d.jsx(yt,{children:"Access Code"}),d.jsx(Be,{type:"password",value:s,onChange:u=>r(u.target.value),className:"font-mono text-center tracking-widest",placeholder:"â¢â¢â¢â¢â¢","data-testid":"input-password"})]}),d.jsx(Ae,{type:"submit",className:"w-full rounded-none font-heading uppercase tracking-widest bg-primary hover:bg-primary/90","data-testid":"button-login",children:"Unlock Dashboard"}),d.jsx("div",{className:"text-center text-xs text-muted-foreground pt-4",children:'Hint: Use "admin" for prototype access'})]})})]})})}function m5(){const{projects:t,addProject:a,updateProject:s,deleteProject:r,reorderProjects:l}=Sm(),[u,f]=b.useState(!1),[m,p]=b.useState(null),[g,y]=b.useState([]),{toast:v}=Kr(),w=m?t.find(D=>D.id===m):null,j=(D,k=1600,G=.8)=>new Promise(H=>{const L=new FileReader;L.onloadend=()=>{const W=new Image;W.onload=()=>{const te=document.createElement("canvas");let se=W.width,le=W.height;se>k&&(le=le*k/se,se=k),te.width=se,te.height=le,te.getContext("2d").drawImage(W,0,0,se,le),H(te.toDataURL("image/jpeg",G))},W.src=L.result},L.readAsDataURL(D)}),N=async D=>{const k=D.target.files;if(k){for(const G of Array.from(k)){const H=await j(G);y(L=>[...L,H])}D.target.value=""}},T=D=>{y(k=>k.filter((G,H)=>H!==D))},E=D=>{D.preventDefault();const k=new FormData(D.currentTarget),G={name:k.get("name"),location:k.get("location"),scope:k.get("scope"),delivery:k.get("delivery"),duration:k.get("duration"),description:k.get("description"),highlights:k.get("highlights").split(",").map(H=>H.trim()),image:g[0]||w?.image||"/images/project-site.jpg",images:g.length>
530?g:w?.images||[],website:k.get("website"),sortOrder:w?.sortOrder??t.length};m?(s(m,G),p(null),v({title:"Project Updated",description:"The project details have been updated."})):(a(G),f(!1),v({title:"Project Added",description:"The project has been added to the database."})),y([])},A=D=>{p(D.id),f(!0),y(D.images&&D.images.length>0?D.images:D.image?[D.image]:[])},_=()=>{f(!1),p(null),y([])},R=(D,k)=>{const G=k==="up"?D-1:D+1;if(G<0||G>=t.length)return;const H=t.map(L=>L.id);[H[D],H[G]]=[H[G],H[D]],l(H)};return d.jsxs("div",{className:"space-y-6",children:[d.jsxs("div",{className:"flex justify-between items-center",children:[d.jsxs("h2",{className:"text-2xl font-heading uppercase",children:["Active Projects (",t.length,")"]}),!u&&d.jsxs(Ae,{onClick:()=>{f(!0),y([])},className:"rounded-none bg-primary hover:bg-primary/90","data-testid":"button-add-project",children:[d.jsx(e1,{className:"w-4 h-4 mr-2"})," Add Project"]})]}),u&&d.jsxs(bi,{className:"border-2 border-primary/20 bg-muted/10",children:[d.jsx(Sc,{children:d.jsx(jc,{children:m?"Edit Project":"New Project Details"})}),d.jsx(wi,{children:d.jsxs("form",{onSubmit:E,className:"grid md:grid-cols-2 gap-6",children:[d.jsxs("div",{className:"space-y-2",children:[d.jsx(yt,{children:"Project Name"}),d.jsx(Be,{name:"name",required:!0,defaultValue:w?.name,placeholder:"e.g. Urban Mixed-Use Redevelopment","data-testid":"input-project-name"})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(yt,{children:"Location"}),d.jsx(Be,{name:"location",required:!0,defaultValue:w?.location,placeholder:"e.g. Portland, OR","data-testid":"input-project-location"})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(yt,{children:"Scope"}),d.jsx(Be,{name:"scope",required:!0,defaultValue:w?.scope,placeholder:"e.g. Adaptive Reuse","data-testid":"input-project-scope"})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(yt,{children:"Delivery Method"}),d.jsx(Be,{name:"delivery",required:!0,defaultValue:w?.delivery,placeholder:"e.g. CM/GC","data-testid":"input-project-delivery"})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(yt,{children:"Duration"}),d.jsx(Be,{name:"duration",required:!0,defaultValue:w?.duration,placeholder:"e.g. 18 Months","data-testid":"input-project-duration"})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(yt,{children:"Highlights (comma separated)"}),d.jsx(Be,{name:"highlights",defaultValue:w?.highlights.join(", "),placeholder:"Historic Seismic Upgrade, LEED Gold Target, etc.","data-testid":"input-project-highlights"})]}),d.jsxs("div",{className:"md:col-span-2 space-y-4 border p-4 bg-background",children:[d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsx(yt,{children:"Project Images"}),d.jsxs("label",{className:"cursor-pointer inline-flex items-center gap-2 text-sm text-primary hover:text-primary/80 transition-colors",children:[d.jsx(fC,{className:"w-4 h-4"}),d.jsx("span",{className:"font-medium",children:"Add Images"}),d.jsx(Be,{type:"file",accept:"image/*",multiple:!0,onChange:N,className:"hidden","data-testid":"input-project-images"})]})]}),g.length>0?d.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-3",children:g.map((D,k)=>d.jsxs("div",{className:"relative group aspect-[4/3] bg-muted border border-border overflow-hidden",children:[d.jsx("img",{src:D,alt:`Image ${k+1}`,className:"w-full h-full object-cover"}),d.jsx("button",{type:"button",onClick:()=>T(k),className:"absolute top-1 right-1 w-6 h-6 bg-black/70 text-white rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity","data-testid":`button-remove-image-${k}`,children:d.jsx($r,{className:"w-3 h-3"})}),k===0&&d.jsx("span",{className:"absolute bottom-1 left-1 text-[9px] bg-primary text-white px-1.5 py-0.5 uppercase tracking-wider font-bold",children:"Cover"})]},k))}):d.jsx("div",{className:"h-24 bg-muted border border-dashed border-border flex items-center justify-center",children:d.jsx("span",{className:"text-xs text-muted-foreground",children:'No images added â click "Add Images" above'})}),d.jsx("p",{className:"text-[10px] text-muted-foreground uppercase tracking-widest",children:"First image becomes the cover. Visitors can scroll through all images."})]}),d.jsxs("div",{className:"md:col-span-2 space-y-2",children:[d.jsx(yt,{children:"Project Website (Optional)"}),d.jsx(Be,{name:"website",defaultValue:w?.website??"",placeholder:"https://...","data-testid":"input-project-website"})]}),d.jsxs("div",{className:"md:col-span-2 space-y-2",children:[d.jsx(yt,{children:"Description"}),d.jsx(Ss,{name:"description",required:!0,defaultValue:w?.description,placeholder:"Project overview...",className:"min-h-[100px]","data-testid":"input-project-description"})]}),d.jsxs("div",{className:"md:col-span-2 flex gap-4",children:[d.jsx(Ae,{type:"submit",className:"flex-1 rounded-none bg-foreground text-white hover:bg-primary","data-testid":"button-submit-project",children:m?"Update Project":"Save Project"}),d.jsx(Ae,{type:"button",variant:"outline",onClick:_,className:"rounded-none border-foreground
53/20","data-testid":"button-cancel-project",children:"Cancel"})]})]})})]}),d.jsx("div",{className:"grid gap-4",children:t.map((D,k)=>d.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between p-3 sm:p-4 border bg-card hover:border-primary transition-colors group gap-3","data-testid":`card-project-${D.id}`,children:[d.jsxs("div",{className:"flex items-center gap-3 sm:gap-4 min-w-0",children:[d.jsxs("div",{className:"flex flex-col gap-1 shrink-0",children:[d.jsx(Ae,{size:"icon",variant:"ghost",className:"h-6 w-6 text-muted-foreground hover:text-foreground hover:bg-muted disabled:opacity-30",onClick:()=>R(k,"up"),disabled:k===0,"data-testid":`button-move-up-${D.id}`,children:d.jsx(I0,{className:"w-3.5 h-3.5"})}),d.jsx(Ae,{size:"icon",variant:"ghost",className:"h-6 w-6 text-muted-foreground hover:text-foreground hover:bg-muted disabled:opacity-30",onClick:()=>R(k,"down"),disabled:k===t.length-1,"data-testid":`button-move-down-${D.id}`,children:d.jsx(X0,{className:"w-3.5 h-3.5"})})]}),d.jsxs("div",{className:"h-14 w-20 sm:h-16 sm:w-24 bg-muted overflow-hidden relative border border-border shrink-0",children:[d.jsx("img",{src:(D.images&&D.images.length>0?D.images[0]:D.image)||"/images/project-site.jpg",alt:"",className:"w-full h-full object-cover"}),D.images&&D.images.length>1&&d.jsx("span",{className:"absolute bottom-0 right-0 text-[9px] bg-black/70 text-white px-1 py-0.5",children:D.images.length})]}),d.jsxs("div",{className:"min-w-0",children:[d.jsx("h3",{className:"font-heading uppercase text-base sm:text-lg group-hover:text-primary transition-colors truncate",children:D.name}),d.jsxs("p",{className:"text-xs text-muted-foreground uppercase tracking-wide mb-1",children:[D.location," ⢠",D.scope]}),d.jsx("div",{className:"hidden sm:flex gap-2",children:D.highlights.slice(0,2).map((G,H)=>d.jsx("span",{className:"text-[10px] bg-muted px-1.5 py-0.5 rounded-sm text-muted-foreground",children:G},H))})]})]}),d.jsxs("div",{className:"flex gap-2 self-end sm:self-auto shrink-0",children:[d.jsx(Ae,{size:"icon",variant:"ghost",className:"text-muted-foreground hover:text-foreground hover:bg-muted",onClick:()=>A(D),"data-testid":`button-edit-project-${D.id}`,children:d.jsx(J0,{className:"w-4 h-4"})}),d.jsx(Ae,{size:"icon",variant:"ghost",className:"text-destructive hover:text-destructive hover:bg-destructive/10",onClick:()=>r(D.id),"data-testid":`button-delete-project-${D.id}`,children:d.jsx(t1,{className:"w-4 h-4"})})]})]},D.id))})]})}function p5(){const{jobs:t,addJob:a,updateJob:s,deleteJob:r}=hj(),[l,u]=b.useState(!1),[f,m]=b.useState(null),{toast:p}=Kr(),g=j=>{j.preventDefault();const N=new FormData(j.currentTarget),T={title:N.get("title"),location:N.get("location"),type:N.get("type"),growth:N.get("growth"),link:"#",responsibilities:N.get("responsibilities").split(` 54`).filter(E=>E.trim()),applyLink:N.get("applyLink")};f?(s(f,T),m(null),p({title:"Role Updated",description:"The job position has been updated."})):(a(T),u(!1),p({title:"Role Added",description:"The job position has been posted."}))},y=j=>{m(j.id),u(!0)},v=()=>{u(!1),m(null)},w=f?t.find(j=>j.id===f):null;return d.jsxs("div",{className:"space-y-6",children:[d.jsxs("div",{className:"flex justify-between items-center",children:[d.jsxs("h2",{className:"text-2xl font-heading uppercase",children:["Open Positions (",t.length,")"]}),!l&&d.jsxs(Ae,{onClick:()=>u(!0),className:"rounded-none bg-primary hover:bg-primary/90","data-testid":"button-add-job",children:[d.jsx(e1,{className:"w-4 h-4 mr-2"})," Post Role"]})]}),l&&d.jsxs(bi,{className:"border-2 border-primary/20 bg-muted/10",children:[d.jsx(Sc,{children:d.jsx(jc,{children:f?"Edit Position":"New Position Details"})}),d.jsx(wi,{children:d.jsxs("form",{onSubmit:g,className:"grid md:grid-cols-2 gap-6",children:[d.jsxs("div",{className:"space-y-2",children:[d.jsx(yt,{children:"Job Title"}),d.jsx(Be,{name:"title",required:!0,defaultValue:w?.title,placeholder:"e.g. Superintendent","data-testid":"input-job-title"})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(yt,{children:"Location"}),d.jsx(Be,{name:"location",required:!0,defaultValue:w?.location,placeholder:"e.g. Seattle, WA","data-testid":"input-job-location"})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(yt,{children:"Type"}),d.jsx(Be,{name:"type",required:!0,defaultValue:w?.type,placeholder:"e.g. Full-time","data-testid":"input-job-type"})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(yt,{children:"Growth Opportunity"}),d.jsx(Be,{name:"growth",required:!0,defaultValue:w?.growth,placeholder:"e.g. Path to General Supt","data-testid":"input-job-growth"})]}),d.jsxs("div",{className:"md:col-span-2 space-y-2",children:[d.jsx(yt,{children:"Custom Application Link (Optional)"}),d.jsx(Be,{name:"applyLink",defaultValue:w?.applyLink??"",placeholder:"https://external-ats.c
54om/...","data-testid":"input-job-apply-link"}),d.jsx("p",{className:"text-[10px] text-muted-foreground uppercase tracking-widest",children:"Leave blank to use the default Contact form"})]}),d.jsxs("div",{className:"md:col-span-2 space-y-2",children:[d.jsx(yt,{children:"Responsibilities (One per line)"}),d.jsx(Ss,{name:"responsibilities",required:!0,defaultValue:w?.responsibilities.join(` 55`),placeholder:"Manage schedule...",className:"min-h-[100px]","data-testid":"input-job-responsibilities"})]}),d.jsxs("div",{className:"md:col-span-2 flex gap-4",children:[d.jsx(Ae,{type:"submit",className:"flex-1 rounded-none bg-foreground text-white hover:bg-primary","data-testid":"button-submit-job",children:f?"Update Position":"Post Position"}),d.jsx(Ae,{type:"button",variant:"outline",onClick:v,className:"rounded-none border-foreground/20","data-testid":"button-cancel-job",children:"Cancel"})]})]})})]}),d.jsx("div",{className:"grid gap-4",children:t.map(j=>d.jsxs("div",{className:"flex items-center justify-between p-4 border bg-card hover:border-primary transition-colors","data-testid":`card-job-${j.id}`,children:[d.jsxs("div",{children:[d.jsx("h3",{className:"font-heading uppercase text-lg",children:j.title}),d.jsxs("p",{className:"text-xs text-muted-foreground",children:[j.location," ⢠",j.type]})]}),d.jsxs("div",{className:"flex gap-2",children:[d.jsx(Ae,{size:"icon",variant:"ghost",className:"text-muted-foreground hover:text-foreground hover:bg-muted",onClick:()=>y(j),"data-testid":`button-edit-job-${j.id}`,children:d.jsx(J0,{className:"w-4 h-4"})}),d.jsx(Ae,{size:"icon",variant:"ghost",className:"text-destructive hover:text-destructive hover:bg-destructive/10",onClick:()=>r(j.id),"data-testid":`button-delete-job-${j.id}`,children:d.jsx(t1,{className:"w-5 h-5"})})]})]},j.id))})]})}function g5(){const[t,a]=b.useState(""),[s,r]=b.useState("createdAt"),[l,u]=b.useState("desc"),{data:f=[],isLoading:m}=uc({queryKey:["/api/applications",t,s,l],queryFn:async()=>{const v=new URLSearchParams;return t&&v.set("search",t),v.set("sortBy",s),v.set("sortOrder",l),(await fetch(`/api/applications?${v.toString()}`)).json()}}),p=v=>{s===v?u(w=>w==="asc"?"desc":"asc"):(r(v),u("desc"))},g=({column:v})=>s!==v?d.jsx(LA,{className:"w-3 h-3 ml-1 opacity-40"}):l==="asc"?d.jsx(I0,{className:"w-3 h-3 ml-1"}):d.jsx(X0,{className:"w-3 h-3 ml-1"}),y=v=>new Date(v).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit"});return d.jsxs("div",{className:"space-y-6",children:[d.jsxs("div",{className:"flex flex-col sm:flex-row justify-between items-start sm:items-center gap-4",children:[d.jsxs("h2",{className:"text-2xl font-heading uppercase","data-testid":"text-applications-count",children:["Job Inquiries (",f.length,")"]}),d.jsxs("div",{className:"relative w-full sm:w-72",children:[d.jsx(DC,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),d.jsx(Be,{"data-testid":"input-search-applications",placeholder:"Search by name, title, location...",value:t,onChange:v=>a(v.target.value),className:"pl-10 rounded-none"})]})]}),m?d.jsx("div",{className:"text-center py-12 text-muted-foreground",children:"Loading inquiries..."}):f.length===0?d.jsxs("div",{className:"text-center py-12 border border-dashed border-border",children:[d.jsx(NC,{className:"w-10 h-10 mx-auto mb-3 text-muted-foreground/50"}),d.jsx("p",{className:"text-muted-foreground",children:t?"No results match your search":"No job inquiries yet"})]}):d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"hidden md:block overflow-x-auto",children:d.jsxs("table",{className:"w-full text-sm",children:[d.jsx("thead",{children:d.jsxs("tr",{className:"border-b-2 border-foreground",children:[d.jsx("th",{className:"text-left p-3 font-heading uppercase tracking-wider text-xs",children:d.jsxs("button",{onClick:()=>p("createdAt"),className:"flex items-center hover:text-primary","data-testid":"button-sort-date",children:["Date ",d.jsx(g,{column:"createdAt"})]})}),d.jsx("th",{className:"text-left p-3 font-heading uppercase tracking-wider text-xs",children:d.jsxs("button",{onClick:()=>p("jobTitle"),className:"flex items-center hover:text-primary","data-testid":"button-sort-title",children:["Position ",d.jsx(g,{column:"jobTitle"})]})}),d.jsx("th",{className:"text-left p-3 font-heading uppercase tracking-wider text-xs",children:d.jsxs("button",{onClick:()=>p("jobLocation"),className:"flex items-center hover:text-primary","data-testid":"button-sort-location",children:["Location ",d.jsx(g,{column:"jobLocation"})]})}),d.jsx("th",{className:"text-left p-3 font-heading uppercase tracking-wider text-xs",children:d.jsxs("button",{onClick:()=>p("name"),className:"flex items-center hover:text-primary","data-testid":"button-sort-name",children:["Applicant ",d.jsx(g,{column:"name"})]})}),d.jsx("th",{className:"text-left p-3 font-heading uppercase tracking-wider text-xs",children:"Contact"}),d.jsx("th",{className:"text-left p-3 font-heading uppercase tracking-wider text-xs",children:"Resume"})]})}),d.jsx("tbody",{children:f.map(v=>d.jsxs("tr",{className:"border-b border-border hover:bg-muted/50 transition-colors","data-testid":`row-application-${v.id}`,children:[d.jsx("td",{className:"p-3 text-muted-foreground whitespace-nowrap",children:y(v.createdAt)}),d.jsx("td",{className:"p-3 font-medium",children:v.jobTitle}),d.jsx("td",{className:"p-3",children:v.jobLocation}),d.jsx("td",{className:"p-3 font-medium",children:v.name}),d.jsx("td",{className:"p-3",children:d.jsxs("div",{className:"flex flex-col gap-0.5",children:[d.jsxs("a",{href:`mailto:${v.email}`,className:"text-primary hover:underline flex items-center gap-1 text-xs","data-testid":`link-email-${v.id}`,children:[d.jsx(vs,{className:"w-3 h-3"})," ",v.email]}),v.phone&&d.jsxs("span",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[d.jsx(Pr,{className:"w-3 h-3"})," ",v.phone]}
55)]})}),d.jsx("td",{className:"p-3",children:v.fileName?d.jsxs("a",{href:`/api/applications/${v.id}/resume`,download:!0,className:"inline-flex items-center gap-1.5 text-xs bg-foreground text-background px-3 py-1.5 hover:bg-primary transition-colors","data-testid":`button-download-resume-${v.id}`,children:[d.jsx(cx,{className:"w-3 h-3"})," ",v.fileName]}):d.jsx("span",{className:"text-xs text-muted-foreground",children:"â"})})]},v.id))})]})}),d.jsx("div",{className:"md:hidden space-y-4",children:f.map(v=>d.jsx(bi,{className:"rounded-none border-l-4 border-l-primary","data-testid":`card-application-${v.id}`,children:d.jsxs(wi,{className:"p-4 space-y-3",children:[d.jsxs("div",{className:"flex justify-between items-start",children:[d.jsxs("div",{children:[d.jsx("h3",{className:"font-heading uppercase text-base",children:v.jobTitle}),d.jsx("p",{className:"text-xs text-muted-foreground",children:v.jobLocation})]}),d.jsx("span",{className:"text-[10px] text-muted-foreground",children:y(v.createdAt)})]}),d.jsxs("div",{className:"border-t border-border pt-3 space-y-1",children:[d.jsx("p",{className:"text-sm font-medium",children:v.name}),d.jsxs("a",{href:`mailto:${v.email}`,className:"text-primary hover:underline flex items-center gap-1 text-xs","data-testid":`link-mobile-email-${v.id}`,children:[d.jsx(vs,{className:"w-3 h-3"})," ",v.email]}),v.phone&&d.jsxs("span",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[d.jsx(Pr,{className:"w-3 h-3"})," ",v.phone]})]}),v.comments&&d.jsx("p",{className:"text-xs text-muted-foreground border-t border-border pt-2",children:v.comments}),v.fileName&&d.jsxs("a",{href:`/api/applications/${v.id}/resume`,download:!0,className:"inline-flex items-center gap-1.5 text-xs bg-foreground text-background px-3 py-1.5 hover:bg-primary transition-colors","data-testid":`button-mobile-download-resume-${v.id}`,children:[d.jsx(cx,{className:"w-3 h-3"})," Download Resume"]})]})},v.id))})]})]})}function y5(){const{data:t=[],isLoading:a}=uc({queryKey:["/api/contact-submissions"]}),s=r=>new Date(r).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit"});return d.jsxs("div",{className:"space-y-6",children:[d.jsxs("h2",{className:"text-2xl font-heading uppercase","data-testid":"text-contact-count",children:["Contact Us Forms (",t.length,")"]}),a?d.jsx("div",{className:"text-center py-12 text-muted-foreground",children:"Loading submissions..."}):t.length===0?d.jsxs("div",{className:"text-center py-12 border border-dashed border-border",children:[d.jsx(vs,{className:"w-10 h-10 mx-auto mb-3 text-muted-foreground/50"}),d.jsx("p",{className:"text-muted-foreground",children:"No contact form submissions yet"})]}):d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"hidden md:block overflow-x-auto",children:d.jsxs("table",{className:"w-full text-sm",children:[d.jsx("thead",{children:d.jsxs("tr",{className:"border-b-2 border-foreground",children:[d.jsx("th",{className:"text-left p-3 font-heading uppercase tracking-wider text-xs",children:"Date"}),d.jsx("th",{className:"text-left p-3 font-heading uppercase tracking-wider text-xs",children:"Type"}),d.jsx("th",{className:"text-left p-3 font-heading uppercase tracking-wider text-xs",children:"Name"}),d.jsx("th",{className:"text-left p-3 font-heading uppercase tracking-wider text-xs",children:"Email"}),d.jsx("th",{className:"text-left p-3 font-heading uppercase tracking-wider text-xs",children:"Company"}),d.jsx("th",{className:"text-left p-3 font-heading uppercase tracking-wider text-xs",children:"Message"})]})}),d.jsx("tbody",{children:t.map(r=>d.jsxs("tr",{className:"border-b border-border hover:bg-muted/50 transition-colors","data-testid":`row-contact-${r.id}`,children:[d.jsx("td",{className:"p-3 text-muted-foreground whitespace-nowrap",children:s(r.createdAt)}),d.jsx("td",{className:"p-3",children:d.jsx("span",{className:`text-[10px] uppercase tracking-wider font-bold px-2 py-1 ${r.type==="project"?"bg-blue-500/10 text-blue-600":"bg-primary/10 text-primary"}`,children:r.type==="project"?"Project":"Career"})}),d.jsx("td",{className:"p-3 font-medium",children:r.name}),d.jsx("td",{className:"p-3",children:d.jsx("a",{href:`mailto:${r.email}`,className:"text-primary hover:underline text-xs","data-testid":`link-contact-email-${r.id}`,children:r.email})}),d.jsx("td",{className:"p-3 text-muted-foreground",children:r.company||"â"}),d.jsx("td",{className:"p-3 max-w-xs",children:d.jsx("p",{className:"text-xs text-muted-foreground line-clamp-2",children:r.message})})]},r.id))})]})}),d.jsx("div",{className:"md:hidden space-y-4",children:t.map(r=>d.jsx(bi,{className:"rounded-none border-l-4 border-l-blue-500","data-testid":`card-contact-${r.id}`,children:d.jsxs(wi,{className:"p-4 space-y-3",children:[d.jsxs("div",{className:"flex justify-between items-start",children:[d.jsx("div",{className:"flex items-center gap-2",children:d.jsx("span",{className:`text-[10px] uppercase tracking-wider font-bold px-2 py-1 ${r.type==="project"?"bg-blue-500/10 text-blue-600":"bg-primary/10 text-primary"}`,children:r.type==="project"?"Project":"Career"})}),d.jsx("span",{className:"text-[10px] text-muted-foreground",children:s(r.createdAt)})]}),d.jsxs("div",{className:"space-y-1",children:[d.jsx("p",{className:"text-sm font-medium",children:r.name}),d.jsxs("a",{href:`mailto:${r.email}`,className:"text-primary hover:underline flex items-center gap-1 text-xs","data-testid":`link-mobile-contact-email-${r.id}`,children:[d.jsx(vs,{className:"w-3 h-3"})," ",r.email]}),r.phone&&d.jsxs("span",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[d.jsx(Pr,{className:"w-3 h-3"})," ",r.phone]}),r.company&&d.jsx("p",{className:"text-xs text-muted-foreground",children:r.company})]}),d.jsx("div",{className:"border-t border-border pt-2",children:d.jsx("p",{className:"text-xs text-muted-foreground",children:r.message})})]})},r.id))})]})]})}function v5(){const[t]=r0();return b.useEffect(()=>{window.scrollTo(0,0)},[t]),null}function x5(){return d.jsxs(d.Fragment,{children:[d.jsx(v5,{}),d.jsxs(qE,{children:[d.jsx(wn,{path:"/",component:O6}),d.jsx(wn,{path:"/platform",component:_6}),d.jsx(wn,{path:"/about",component:z6}),d.jsx(wn,{path:"/legacy",component:V6}),d.jsx(wn,{path:"/capabilities",component:P6}),d.jsx(wn,{path:"/projects",component:q6}),d.jsx(wn,{path:"/careers",component:Y6}),d.jsx(wn,{path:"/contact",component:l5}),d.jsx(wn,{path:"/admin",component:h5}),d.jsx(wn,{component:ND})]})]})}function b5(){return d.jsx(hN,{client:Ma,children:d.jsxs(jD,{children:[d.jsx(_R,{}),d.jsx(x5,{})]})})}bE.createRoot(document.getElementById("root")).render(d.jsx(b5,{}));
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.