vendor: 2,544 bytes, line 1
1var i0=t=>{throw TypeError(t)};var s0=(t,i,a)=>i.has(t)||i0("Cannot "+a);var yt=(t,i,a)=>(s0(t,i,"read from private field"),a?a.call(t):i.get(t)),a0=(t,i,a)=>i.has(t)?i0("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(t):i.set(t,a),zf=(t,i,a,r)=>(s0(t,i,"write to private field"),r?r.call(t,a):i.set(t,a),a);function qT(t,i){for(var a=0;a<i.length;a++){const r=i[a];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in t)){const u=Object.getOwnPropertyDescriptor(r,o);u&&Object.defineProperty(t,o,u.get?u:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const u of o)if(u.type==="childList")for(const h of u.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&r(h)}).observe(document,{childList:!0,subtree:!0});function a(o){const u={};return o.integrity&&(u.integrity=o.integrity),o.referrerPolicy&&(u.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?u.credentials="include":o.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function r(o){if(o.ep)return;o.ep=!0;const u=a(o);fetch(o.href,u)}})();function GT(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var kf={exports:{}},dr={};var r0;function YT(){if(r0)return dr;r0=1;var t=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function a(r,o,u){var h=null;if(u!==void 0&&(h=""+u),o.key!==void 0&&(h=""+o.key),"key"in o){u={};for(var m in o)m!=="key"&&(u[m]=o[m])}else u=o;return o=u.ref,{$$typeof:t,type:r,key:h,ref:o!==void 0?o:null,props:u}}return dr.Fragment=i,dr.jsx=a,dr.jsxs=a,dr}var l0;function FT(){return l0||(l0=1,kf.exports=YT()),kf.exports}var f=FT(),Lf={exports:{}},hr={},Vf={exports:{}},Uf={};var o0;function XT(){return o0||(o0=1,(function(t){function i(D,X){var Z=D.length;D.push(X);e:for(;0<Z;){var te=Z-1>>>1,I=D[te];if(0<o(I,X))D[te]=X,D[Z]=I,Z=te;else break e}}function a(D){return D.length===0?null:D[0]}function r(D){if(D.length===0)return null;var X=D[0],Z=D.pop();if(Z!==X){D[0]=Z;e:for(var te=0,I=D.length,R=I>>>1;te<R;){var F=2*(te+1)-1,J=D[F],ne=F+1,ae=D[ne];if(0>o(J,Z))ne<I&&0>o(ae,J)?(D[te]=ae,D[ne]=Z,te=ne):(D[te]=J,D[F]=Z,te=F);else if(ne<I&&0>o(ae,Z))D[te]=ae,D[ne]=Z,te=ne;else break e}}return X}
vendor: 17,699 bytes, line 1
1function o(D,X){var Z=D.sortIndex-X.sortIndex;return Z!==0?Z:D.id-X.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 h=Date,m=h.now();t.unstable_now=function(){return h.now()-m}}var g=[],p=[],y=1,v=null,b=3,j=!1,S=!1,E=!1,A=!1,N=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;function z(D){for(var X=a(p);X!==null;){if(X.callback===null)r(p);else if(X.startTime<=D)r(p),X.sortIndex=X.expirationTime,i(g,X);else break;X=a(p)}}function G(D){if(E=!1,z(D),!S)if(a(g)!==null)S=!0,q||(q=!0,ee());else{var X=a(p);X!==null&&pe(G,X.startTime-D)}}var q=!1,P=-1,L=5,W=-1;function $(){return A?!0:!(t.unstable_now()-W<L)}function oe(){if(A=!1,q){var D=t.unstable_now();W=D;var X=!0;try{e:{S=!1,E&&(E=!1,_(P),P=-1),j=!0;var Z=b;try{t:{for(z(D),v=a(g);v!==null&&!(v.expirationTime>D&&$());){var te=v.callback;if(typeof te=="function"){v.callback=null,b=v.priorityLevel;var I=te(v.expirationTime<=D);if(D=t.unstable_now(),typeof I=="function"){v.callback=I,z(D),X=!0;break t}v===a(g)&&r(g),z(D)}else r(g);v=a(g)}if(v!==null)X=!0;else{var R=a(p);R!==null&&pe(G,R.startTime-D),X=!1}}break e}finally{v=null,b=Z,j=!1}X=void 0}}finally{X?ee():q=!1}}}var ee;if(typeof M=="function")ee=function(){M(oe)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,ue=de.port2;de.port1.onmessage=oe,ee=function(){ue.postMessage(null)}}else ee=function(){N(oe,0)};function pe(D,X){P=N(function(){D(t.unstable_now())},X)}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(D){D.callback=null},t.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):L=0<D?Math.floor(1e3/D):5},t.unstable_getCurrentPriorityLevel=function(){return b},t.unstable_next=function(D){switch(b){case 1:case 2:case 3:var X=3;break;default:X=b}var Z=b;b=X;try{return D()}finally{b=Z}},t.unstable_requestPaint=function(){A=!0},t.unstable_runWithPriority=function(D,X){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var Z=b;b=D;try{return X()}finally{b=Z}},t.unstable_scheduleCallback=function(D,X,Z){var te=t.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?te+Z:te):Z=te,D){case 1:var I=-1;break;case 2:I=250;break;case 5:I=1073741823;break;case 4:I=1e4;break;default:I=5e3}return I=Z+I,D={id:y++,callback:X,priorityLevel:D,startTime:Z,expirationTime:I,sortIndex:-1},Z>te?(D.sortIndex=Z,i(p,D),a(g)===null&&D===a(p)&&(E?(_(P),P=-1):E=!0,pe(G,Z-te))):(D.sortIndex=I,i(g,D),S||j||(S=!0,q||(q=!0,ee()))),D},t.unstable_shouldYield=$,t.unstable_wrapCallback=function(D){var X=b;return function(){var Z=b;b=X;try{return D.apply(this,arguments)}finally{b=Z}}}})(Uf)),Uf}var c0;function QT(){return c0||(c0=1,Vf.exports=XT()),Vf.exports}var Bf={exports:{}},ye={};var u0;function KT(){if(u0)return ye;u0=1;var t=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),h=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),b=Symbol.iterator;function j(R){return R===null||typeof R!="object"?null:(R=b&&R[b]||R["@@iterator"],typeof R=="function"?R:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,A={};function N(R,F,J){this.props=R,this.context=F,this.refs=A,this.updater=J||S}N.prototype.isReactComponent={},N.prototype.setState=function(R,F){if(typeof R!="object"&&typeof R!="function"&&R!=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,R,F,"setState")},N.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function _(){}_.prototype=N.prototype;function M(R,F,J){this.props=R,this.context=F,this.refs=A,this.updater=J||S}var z=M.prototype=new _;z.constructor=M,E(z,N.prototype),z.isPureReactComponent=!0;var G=Array.isArray;function q(){}var P={H:null,A:null,T:null,S:null},L=Object.prototype.hasOwnProperty;function W(R,F,J){var ne=J.ref;return{$$typeof:t,type:R,key:F,ref:ne!==void 0?ne:null,props:J}}function $(R,F){return W(R.type,F,R.props)}function oe(R){return typeof R=="object"&&R!==null&&R.$$typeof===t}function ee(R){var F={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(J){return F[J]})}var de=/\/+/g;function ue(R,F){return typeof R=="object"&&R!==null&&R.key!=null?ee(""+R.key):F.toString(36)}function pe(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status=="string"?R.then(q,q):(R.status="pending",R.then(function(F){R.status==="pending"&&(R.status="fulfilled",R.value=F)},function(F){R.status==="pending"&&(R.status="rejected",R.reason=F)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function D(R,F,J,ne,ae){var fe=typeof R;(fe==="undefined"||fe==="boolean")&&(R=null);var we=!1;if(R===null)we=!0;else switch(fe){case"bigint":case"string":case"number":we=!0;break;case"object":switch(R.$$typeof){case t:case i:we=!0;break;case y:return we=R._init,D(we(R._payload),F,J,ne,ae)}}if(we)return ae=ae(R),we=ne===""?"."+ue(R,0):ne,G(ae)?(J="",we!=null&&(J=we.replace(de,"$&/")+"/"),D(ae,F,J,"",function(cn){return cn})):ae!=null&&(oe(ae)&&(ae=$(ae,J+(ae.key==null||R&&R.key===ae.key?"":(""+ae.key).replace(de,"$&/")+"/")+we)),F.push(ae)),1;we=0;var Ie=ne===""?".":ne+":";if(G(R))for(var ge=0;ge<R.length;ge++)ne=R[ge],fe=Ie+ue(ne,ge),we+=D(ne,F,J,fe,ae);else if(ge=j(R),typeof ge=="function")for(R=ge.call(R),ge=0;!(ne=R.next()).done;)ne=ne.value,fe=Ie+ue(ne,ge++),we+=D(ne,F,J,fe,ae);else if(fe==="object"){if(typeof R.then=="function")return D(pe(R),F,J,ne,ae);throw F=String(R),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.")}return we}function X(R,F,J){if(R==null)return R;var ne=[],ae=0;return D(R,ne,"","",function(fe){return F.call(J,fe,ae++)}),ne}function Z(R){if(R._status===-1){var F=R._result;F=F(),F.then(function(J){(R._status===0||R._status===-1)&&(R._status=1,R._result=J)},function(J){(R._status===0||R._status===-1)&&(R._status=2,R._result=J)}),R._status===-1&&(R._status=0,R._result=F)}if(R._status===1)return R._result.default;throw R._result}var te=typeof reportError=="function"?reportError:function(R){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var F=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof R=="object"&&R!==null&&typeof R.message=="string"?String(R.message):String(R),error:R});if(!window.dispatchEvent(F))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",R);return}console.error(R)},I={map:X,forEach:function(R,F,J){X(R,function(){F.apply(this,arguments)},J)},count:function(R){var F=0;return X(R,function(){F++}),F},toArray:function(R){return X(R,function(F){return F})||[]},only:function(R){if(!oe(R))throw Error("React.Children.only expected to receive a single React element child.");return R}};return ye.Activity=v,ye.Children=I,ye.Component=N,ye.Fragment=a,ye.Profiler=o,ye.PureComponent=M,ye.StrictMode=r,ye.Suspense=g,ye.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,ye.__COMPILER_RUNTIME={__proto__:null,c:function(R){return P.H.useMemoCache(R)}},ye.cache=function(R){return function(){return R.apply(null,arguments)}},ye.cacheSignal=function(){return null},ye.cloneElement=function(R,F,J){if(R==null)throw Error("The argument must be a React element, but you passed "+R+".");var ne=E({},R.props),ae=R.key;if(F!=null)for(fe in F.key!==void 0&&(ae=""+F.key),F)!L.call(F,fe)||fe==="key"||fe==="__self"||fe==="__source"||fe==="ref"&&F.ref===void 0||(ne[fe]=F[fe]);var fe=arguments.length-2;if(fe===1)ne.children=J;else if(1<fe){for(var we=Array(fe),Ie=0;Ie<fe;Ie++)we[Ie]=arguments[Ie+2];ne.children=we}return W(R.type,ae,ne)},ye.createContext=function(R){return R={$$typeof:h,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null},R.Provider=R,R.Consumer={$$typeof:u,_context:R},R},ye.createElement=function(R,F,J){var ne,ae={},fe=null;if(F!=null)for(ne in F.key!==void 0&&(fe=""+F.key),F)L.call(F,ne)&&ne!=="key"&&ne!=="__self"&&ne!=="__source"&&(ae[ne]=F[ne]);var we=arguments.length-2;if(we===1)ae.children=J;else if(1<we){for(var Ie=Array(we),ge=0;ge<we;ge++)Ie[ge]=arguments[ge+2];ae.children=Ie}if(R&&R.defaultProps)for(ne in we=R.defaultProps,we)ae[ne]===void 0&&(ae[ne]=we[ne]);return W(R,fe,ae)},ye.createRef=function(){return{current:null}},ye.forwardRef=function(R){return{$$typeof:m,render:R}},ye.isValidElement=oe,ye.lazy=function(R){return{$$typeof:y,_payload:{_status:-1,_result:R},_init:Z}},ye.memo=function(R,F){return{$$typeof:p,type:R,compare:F===void 0?null:F}},ye.startTransition=function(R){var F=P.T,J={};P.T=J;try{var ne=R(),ae=P.S;ae!==null&&ae(J,ne),typeof ne=="object"&&ne!==null&&typeof ne.then=="function"&&ne.then(q,te)}catch(fe){te(fe)}finally{F!==null&&J.types!==null&&(F.types=J.types),P.T=F}},ye.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},ye.use=function(R){return P.H.use(R)},ye.useActionState=function(R,F,J){return P.H.useActionState(R,F,J)},ye.useCallback=function(R,F){return P.H.useCallback(R,F)},ye.useContext=function(R){return P.H.useContext(R)},ye.useDebugValue=function(){},ye.useDeferredValue=function(R,F){return P.H.useDeferredValue(R,F)},ye.useEffect=function(R,F){return P.H.useEffect(R,F)},ye.useEffectEvent=function(R){return P.H.useEffectEvent(R)},ye.useId=function(){return P.H.useId()},ye.useImperativeHandle=function(R,F,J){return P.H.useImperativeHandle(R,F,J)},ye.useInsertionEffect=function(R,F){return P.H.useInsertionEffect(R,F)},ye.useLayoutEffect=function(R,F){return P.H.useLayoutEffect(R,F)},ye.useMemo=function(R,F){return P.H.useMemo(R,F)},ye.useOptimistic=function(R,F){return P.H.useOptimistic(R,F)},ye.useReducer=function(R,F,J){return P.H.useReducer(R,F,J)},ye.useRef=function(R){return P.H.useRef(R)},ye.useState=function(R){return P.H.useState(R)},ye.useSyncExternalStore=function(R,F,J){return P.H.useSyncExternalStore(R,F,J)},ye.useTransition=function(){return P.H.useTransition()},ye.version="19.2.8",ye}var f0;function Io(){return f0||(f0=1,Bf.exports=KT()),Bf.exports}var Pf={exports:{}},xt={};var d0;function ZT(){if(d0)return xt;d0=1;var t=Io();function i(g){var p="https://react.dev/errors/"+g;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)p+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+g+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var r={d:{f:a,r:function(){throw Error(i(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},o=Symbol.for("react.portal");function u(g,p,y){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:v==null?null:""+v,children:g,containerInfo:p,implementation:y}}var h=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(g,p){if(g==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return xt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,xt.createPortal=function(g,p){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(i(299));return u(g,p,null,y)},xt.flushSync=function(g){var p=h.T,y=r.p;try{if(h.T=null,r.p=2,g)return g()}finally{h.T=p,r.p=y,r.d.f()}},xt.preconnect=function(g,p){typeof g=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,r.d.C(g,p))},xt.prefetchDNS=function(g){typeof g=="string"&&r.d.D(g)},xt.preinit=function(g,p){if(typeof g=="string"&&p&&typeof p.as=="string"){var y=p.as,v=m(y,p.crossOrigin),b=typeof p.integrity=="string"?p.integrity:void 0,j=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;y==="style"?r.d.S(g,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:v,integrity:b,fetchPriority:j}):y==="script"&&r.d.X(g,{crossOrigin:v,integrity:b,fetchPriority:j,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},xt.preinitModule=function(g,p){if(typeof g=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var y=m(p.as,p.crossOrigin);r.d.M(g,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&r.d.M(g)},xt.preload=function(g,p){if(typeof g=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var y=p.as,v=m(y,p.crossOrigin);r.d.L(g,y,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},xt.preloadModule=function(g,p){if(typeof g=="string")if(p){var y=m(p.as,p.crossOrigin);r.d.m(g,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else r.d.m(g)},xt.requestFormReset=function(g){r.d.r(g)},xt.unstable_batchedUpdates=function(g,p){return g(p)},xt.useFormState=function(g,p,y){return h.H.useFormState(g,p,y)},xt.useFormStatus=function(){return h.H.useHostTransitionStatus()},xt.version="19.2.8",xt}var h0;function Ev(){if(h0)return Pf.exports;h0=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(i){console.error(i)}}return t(),Pf.exports=ZT(),Pf.exports}var m0;function IT(){if(m0)return hr;m0=1;var t=QT(),i=Io(),a=Ev();function r(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)n+="&args[]="+encodeURIComponent(arguments[s])}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 o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var n=e,s=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(s=n.return),e=n.return;while(e)}return n.tag===3?s:null}function h(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 g(e){if(u(e)!==e)throw Error(r(188))}function p(e){var n=e.alternate;if(!n){if(n=u(e),n===null)throw Error(r(188));return n!==e?null:e}for(var s=e,l=n;;){var c=s.return;if(c===null)break;var d=c.alternate;if(d===null){if(l=c.return,l!==null){s=l;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===s)return g(c),e;if(d===l)return g(c),n;d=d.sibling}throw Error(r(188))}if(s.return!==l.return)s=c,l=d;else{for(var x=!1,w=c.child;w;){if(w===s){x=!0,s=c,l=d;break}if(w===l){x=!0,l=c,s=d;break}w=w.sibling}if(!x){for(w=d.child;w;){if(w===s){x=!0,s=d,l=c;break}if(w===l){x=!0,l=d,s=c;break}w=w.sibling}if(!x)throw Error(r(189))}}if(s.alternate!==l)throw Error(r(190))}if(s.tag!==3)throw Error(r(188));return s.stateNode.current===s?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,b=Symbol.for("react.element"),j=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),M=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),q=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),$=Symbol.for("react.memo_cache_sentinel"),oe=Symbol.iterator;function ee(e){return e===null||typeof e!="object"?null:(e=oe&&e[oe]||e["@@iterator"],typeof e=="function"?e:null)}var de=Symbol.for("react.client.reference");function ue(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===de?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case E:return"Fragment";case N:return"Profiler";case A:return"StrictMode";case G:return"Suspense";case q:return"SuspenseList";case W:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case S:return"Portal";case M:return e.displayName||"Context";case _:return(e._context.displayName||"Context")+".Consumer";case z:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;
vendor: 12,654 bytes, lines 1-8
1case P:return n=e.displayName||null,n!==null?n:ue(e.type)||"Memo";case L:n=e._payload,e=e._init;try{return ue(e(n))}catch{}}return null}var pe=Array.isArray,D=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z={pending:!1,data:null,method:null,action:null},te=[],I=-1;function R(e){return{current:e}}function F(e){0>I||(e.current=te[I],te[I]=null,I--)}function J(e,n){I++,te[I]=e.current,e.current=n}var ne=R(null),ae=R(null),fe=R(null),we=R(null);function Ie(e,n){switch(J(fe,n),J(ae,e),J(ne,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?Ay(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=Ay(n),e=Ny(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}F(ne),J(ne,e)}function ge(){F(ne),F(ae),F(fe)}function cn(e){e.memoizedState!==null&&J(we,e);var n=ne.current,s=Ny(n,e.type);n!==s&&(J(ae,e),J(ne,s))}function un(e){ae.current===e&&(F(ne),F(ae)),we.current===e&&(F(we),or._currentValue=Z)}var bn,ai;function jt(e){if(bn===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);bn=n&&n[1]||"",ai=-1<s.stack.indexOf(` 2 at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return` 3`+bn+e+ai}var ri=!1;function yc(e,n){if(!e||ri)return"";ri=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(n){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(H){var B=H}Reflect.construct(e,[],K)}else{try{K.call()}catch(H){B=H}e.call(K.prototype)}}else{try{throw Error()}catch(H){B=H}(K=e())&&typeof K.catch=="function"&&K.catch(function(){})}}catch(H){if(H&&B&&typeof H.stack=="string")return[H.stack,B.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=l.DetermineComponentFrameRoot(),x=d[0],w=d[1];if(x&&w){var C=x.split(` 4`),U=w.split(` 5`);for(c=l=0;l<C.length&&!C[l].includes("DetermineComponentFrameRoot");)l++;for(;c<U.length&&!U[c].includes("DetermineComponentFrameRoot");)c++;if(l===C.length||c===U.length)for(l=C.length-1,c=U.length-1;1<=l&&0<=c&&C[l]!==U[c];)c--;for(;1<=l&&0<=c;l--,c--)if(C[l]!==U[c]){if(l!==1||c!==1)do if(l--,c--,0>c||C[l]!==U[c]){var Y=` 6`+C[l].replace(" at new "," at ");return e.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",e.displayName)),Y}while(1<=l&&0<=c);break}}}finally{ri=!1,Error.prepareStackTrace=s}return(s=e?e.displayName||e.name:"")?jt(s):""}function vS(e,n){switch(e.tag){case 26:case 27:case 5:return jt(e.type);case 16:return jt("Lazy");case 13:return e.child!==n&&n!==null?jt("Suspense Fallback"):jt("Suspense");case 19:return jt("SuspenseList");case 0:case 15:return yc(e.type,!1);case 11:return yc(e.type.render,!1);case 1:return yc(e.type,!0);case 31:return jt("Activity");default:return""}}function im(e){try{var n="",s=null;do n+=vS(e,s),s=e,e=e.return;while(e);return n}catch(l){return` 7Error generating stack: `+l.message+` 8`+l.stack}}var xc=Object.prototype.hasOwnProperty,vc=t.unstable_scheduleCallback,bc=t.unstable_cancelCallback,bS=t.unstable_shouldYield,wS=t.unstable_requestPaint,zt=t.unstable_now,SS=t.unstable_getCurrentPriorityLevel,sm=t.unstable_ImmediatePriority,am=t.unstable_UserBlockingPriority,Br=t.unstable_NormalPriority,TS=t.unstable_LowPriority,rm=t.unstable_IdlePriority,jS=t.log,ES=t.unstable_setDisableYieldValue,ba=null,kt=null;function li(e){if(typeof jS=="function"&&ES(e),kt&&typeof kt.setStrictMode=="function")try{kt.setStrictMode(ba,e)}catch{}}var Lt=Math.clz32?Math.clz32:CS,AS=Math.log,NS=Math.LN2;function CS(e){return e>>>=0,e===0?32:31-(AS(e)/NS|0)|0}var Pr=256,Hr=262144,qr=4194304;function Hi(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 Gr(e,n,s){var l=e.pendingLanes;if(l===0)return 0;var c=0,d=e.suspendedLanes,x=e.pingedLanes;e=e.warmLanes;var w=l&134217727;return w!==0?(l=w&~d,l!==0?c=Hi(l):(x&=w,x!==0?c=Hi(x):s||(s=w&~e,s!==0&&(c=Hi(s))))):(w=l&~d,w!==0?c=Hi(w):x!==0?c=Hi(x):s||(s=l&~e,s!==0&&(c=Hi(s)))),c===0?0:n!==0&&n!==c&&(n&d)===0&&(d=c&-c,s=n&-n,d>=s||d===32&&(s&4194048)!==0)?n:c}function wa(e,n){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)===0}function RS(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 lm(){var e=qr;return qr<<=1,(qr&62914560)===0&&(qr=4194304),e}function wc(e){for(var n=[],s=0;31>s;s++)n.push(e);return n}function Sa(e,n){e.pendingLanes|=n,n!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function MS(e,n,s,l,c,d){var x=e.pendingLanes;e.pendingLanes=s,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=s,e.entangledLanes&=s,e.errorRecoveryDisabledLanes&=s,e.shellSuspendCounter=0;var w=e.entanglements,C=e.expirationTimes,U=e.hiddenUpdates;for(s=x&~s;0<s;){var Y=31-Lt(s),K=1<<Y;w[Y]=0,C[Y]=-1;var B=U[Y];if(B!==null)for(U[Y]=null,Y=0;Y<B.length;Y++){var H=B[Y];H!==null&&(H.lane&=-536870913)}s&=~K}l!==0&&om(e,l,0),d!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=d&~(x&~n))}function om(e,n,s){e.pendingLanes|=n,e.suspendedLanes&=~n;var l=31-Lt(n);e.entangledLanes|=n,e.entanglements[l]=e.entanglements[l]|1073741824|s&261930}function cm(e,n){var s=e.entangledLanes|=n;for(e=e.entanglements;s;){var l=31-Lt(s),c=1<<l;c&n|e[l]&n&&(e[l]|=n),s&=~c}}function um(e,n){var s=n&-n;return s=(s&42)!==0?1:Sc(s),(s&(e.suspendedLanes|n))!==0?0:s}function Sc(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 Tc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function fm(){var e=X.p;return e!==0?e:(e=window.event,e===void 0?32:Iy(e.type))}function dm(e,n){var s=X.p;try{return X.p=e,n()}finally{X.p=s}}var oi=Math.random().toString(36).slice(2),ut="__reactFiber$"+oi,Et="__reactProps$"+oi,ys="__reactContainer$"+oi,jc="__reactEvents$"+oi,DS="__reactListeners$"+oi,OS="__reactHandles$"+oi,hm="__reactResources$"+oi,Ta="__reactMarker$"+oi;function Ec(e){delete e[ut],delete e[Et],delete e[jc],delete e[DS],delete e[OS]}function xs(e){var n=e[ut];if(n)return n;for(var s=e.parentNode;s;){if(n=s[ys]||s[ut]){if(s=n.alternate,n.child!==null||s!==null&&s.child!==null)for(e=zy(e);e!==null;){if(s=e[ut])return s;e=zy(e)}return n}e=s,s=e.parentNode}return null}function vs(e){if(e=e[ut]||e[ys]){var n=e.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return e}return null}function ja(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e.stateNode;throw Error(r(33))}function bs(e){var n=e[hm];return n||(n=e[hm]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function lt(e){e[Ta]=!0}var mm=new Set,pm={};function qi(e,n){ws(e,n),ws(e+"Capture",n)}function ws(e,n){for(pm[e]=n,e=0;e<n.length;e++)mm.add(n[e])}var _S=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]*$"),gm={},ym={};function zS(e){return xc.call(ym,e)?!0:xc.call(gm,e)?!1:_S.test(e)?ym[e]=!0:(gm[e]=!0,!1)}function Yr(e,n,s){if(zS(n))if(s===null)e.removeAttribute(n);else{switch(typeof s){case"undefined":case"function":case"symbol":e.removeAttribute(n);return;case"boolean":var l=n.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(n);return}}e.setAttribute(n,""+s)}}function Fr(e,n,s){if(s===null)e.removeAttribute(n);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttribute(n,""+s)}}function _n(e,n,s,l){if(l===null)e.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(s);return}e.setAttributeNS(n,s,""+l)}}function Kt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function xm(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function kS(e,n,s){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,n);if(!e.hasOwnProperty(n)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var c=l.get,d=l.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(x){s=""+x,d.call(this,x)}}),Object.defineProperty(e,n,{enumerable:l.enumerable}),{getValue:function(){return s},setValue:function(x){s=""+x},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Ac(e){if(!e._valueTracker){var n=xm(e)?"checked":"value";e._valueTracker=kS(e,n,""+e[n])}}function vm(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var s=n.getValue(),l="";return e&&(l=xm(e)?e.checked?"true":"false":e.value),e=l,e!==s?(n.setValue(e),!0):!1}function Xr(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 LS=/[\n"\\]/g;function Zt(e){return e.replace(LS,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function Nc(e,n,s,l,c,d,x,w){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=""+Kt(n)):e.value!==""+Kt(n)&&(e.value=""+Kt(n)):x!=="submit"&&x!=="reset"||e.removeAttribute("value"),n!=null?Cc(e,x,Kt(n)):s!=null?Cc(e,x,Kt(s)):l!=null&&e.removeAttribute("value"),c==null&&d!=null&&(e.defaultChecked=!!d),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?e.name=""+Kt(w):e.removeAttribute("name")}function bm(e,n,s,l,c,d,x,w){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),n!=null||s!=null){if(!(d!=="submit"&&d!=="reset"||n!=null)){Ac(e);return}s=s!=null?""+Kt(s):"",n=n!=null?""+Kt(n):s,w||n===e.value||(e.value=n),e.defaultValue=n}l=l??c,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=w?e.checked:!!l,e.defaultChecked=!!l,x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(e.name=x),Ac(e)}function Cc(e,n,s){n==="number"&&Xr(e.ownerDocument)===e||e.defaultValue===""+s||(e.defaultValue=""+s)}function Ss(e,n,s,l){if(e=e.options,n){n={};for(var c=0;c<s.length;c++)n["$"+s[c]]=!0;for(s=0;s<e.length;s++)c=n.hasOwnProperty("$"+e[s].value),e[s].selected!==c&&(e[s].selected=c),c&&l&&(e[s].defaultSelected=!0)}else{for(s=""+Kt(s),n=null,c=0;c<e.length;c++){if(e[c].value===s){e[c].selected=!0,l&&(e[c].defaultSelected=!0);return}n!==null||e[c].disabled||(n=e[c])}n!==null&&(n.selected=!0)}}function wm(e,n,s){if(n!=null&&(n=""+Kt(n),n!==e.value&&(e.value=n),s==null)){e.defaultValue!==n&&(e.defaultValue=n);return}e.defaultValue=s!=null?""+Kt(s):""}function Sm(e,n,s,l){if(n==null){if(l!=null){if(s!=null)throw Error(r(92));if(pe(l)){if(1<l.length)throw Error(r(93));l=l[0]}s=l}s==null&&(s=""),n=s}s=Kt(n),e.defaultValue=s,l=e.textContent,l===s&&l!==""&&l!==null&&(e.value=l),Ac(e)}function Ts(e,n){if(n){var s=e.firstChild;
vendor: 4,140 bytes, line 8
8if(s&&s===e.lastChild&&s.nodeType===3){s.nodeValue=n;return}}e.textContent=n}var VS=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 Tm(e,n,s){var l=n.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?l?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="":l?e.setProperty(n,s):typeof s!="number"||s===0||VS.has(n)?n==="float"?e.cssFloat=s:e[n]=(""+s).trim():e[n]=s+"px"}function jm(e,n,s){if(n!=null&&typeof n!="object")throw Error(r(62));if(e=e.style,s!=null){for(var l in s)!s.hasOwnProperty(l)||n!=null&&n.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var c in n)l=n[c],n.hasOwnProperty(c)&&s[c]!==l&&Tm(e,c,l)}else for(var d in n)n.hasOwnProperty(d)&&Tm(e,d,n[d])}function Rc(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 US=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"]]),BS=/^[\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 Qr(e){return BS.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function zn(){}var Mc=null;function Dc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var js=null,Es=null;function Em(e){var n=vs(e);if(n&&(e=n.stateNode)){var s=e[Et]||null;e:switch(e=n.stateNode,n.type){case"input":if(Nc(e,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),n=s.name,s.type==="radio"&&n!=null){for(s=e;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+Zt(""+n)+'"][type="radio"]'),n=0;n<s.length;n++){var l=s[n];if(l!==e&&l.form===e.form){var c=l[Et]||null;if(!c)throw Error(r(90));Nc(l,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(n=0;n<s.length;n++)l=s[n],l.form===e.form&&vm(l)}break e;case"textarea":wm(e,s.value,s.defaultValue);break e;case"select":n=s.value,n!=null&&Ss(e,!!s.multiple,n,!1)}}}var Oc=!1;function Am(e,n,s){if(Oc)return e(n,s);Oc=!0;try{var l=e(n);return l}finally{if(Oc=!1,(js!==null||Es!==null)&&(zl(),js&&(n=js,e=Es,Es=js=null,Em(n),e)))for(n=0;n<e.length;n++)Em(e[n])}}function Ea(e,n){var s=e.stateNode;if(s===null)return null;var l=s[Et]||null;if(l===null)return null;s=l[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":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(s&&typeof s!="function")throw Error(r(231,n,typeof s));return s}var kn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_c=!1;if(kn)try{var Aa={};Object.defineProperty(Aa,"passive",{get:function(){_c=!0}}),window.addEventListener("test",Aa,Aa),window.removeEventListener("test",Aa,Aa)}catch{_c=!1}var ci=null,zc=null,Kr=null;function Nm(){if(Kr)return Kr;var e,n=zc,s=n.length,l,c="value"in ci?ci.value:ci.textContent,d=c.length;for(e=0;e<s&&n[e]===c[e];e++);var x=s-e;for(l=1;l<=x&&n[s-l]===c[d-l];l++);return Kr=c.slice(e,1<l?1-l:void 0)}function Zr(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 Ir(){return!0}function Cm(){return!1}function At(e){function n(s,l,c,d,x){this._reactName=s,this._targetInst=c,this.type=l,this.nativeEvent=d,this.target=x,this.currentTarget=null;for(var w in e)e.hasOwnProperty(w)&&(s=e[w],this[w]=s?s(d):d[w]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Ir:Cm,this.isPropagationStopped=Cm,this}return v(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Ir)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Ir)},persist:function(){},isPersistent:Ir}),n}var Gi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$r=At(Gi),Na=v({},Gi,{view:0,detail:0}),PS=At(Na),kc,Lc,Ca,Wr=v({},Na,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Uc,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!==Ca&&(Ca&&e.type==="mousemove"?(kc=e.screenX-Ca.screenX,Lc=e.screenY-Ca.screenY):Lc=kc=0,C
vendor: 9,969 bytes, line 8
8a=e),kc)},movementY:function(e){return"movementY"in e?e.movementY:Lc}}),Rm=At(Wr),HS=v({},Wr,{dataTransfer:0}),qS=At(HS),GS=v({},Na,{relatedTarget:0}),Vc=At(GS),YS=v({},Gi,{animationName:0,elapsedTime:0,pseudoElement:0}),FS=At(YS),XS=v({},Gi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),QS=At(XS),KS=v({},Gi,{data:0}),Mm=At(KS),ZS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},IS={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"},$S={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function WS(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=$S[e])?!!n[e]:!1}function Uc(){return WS}var JS=v({},Na,{key:function(e){if(e.key){var n=ZS[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=Zr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?IS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Uc,charCode:function(e){return e.type==="keypress"?Zr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Zr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),e2=At(JS),t2=v({},Wr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Dm=At(t2),n2=v({},Na,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Uc}),i2=At(n2),s2=v({},Gi,{propertyName:0,elapsedTime:0,pseudoElement:0}),a2=At(s2),r2=v({},Wr,{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}),l2=At(r2),o2=v({},Gi,{newState:0,oldState:0}),c2=At(o2),u2=[9,13,27,32],Bc=kn&&"CompositionEvent"in window,Ra=null;kn&&"documentMode"in document&&(Ra=document.documentMode);var f2=kn&&"TextEvent"in window&&!Ra,Om=kn&&(!Bc||Ra&&8<Ra&&11>=Ra),_m=" ",zm=!1;function km(e,n){switch(e){case"keyup":return u2.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var As=!1;function d2(e,n){switch(e){case"compositionend":return Lm(n);case"keypress":return n.which!==32?null:(zm=!0,_m);case"textInput":return e=n.data,e===_m&&zm?null:e;default:return null}}function h2(e,n){if(As)return e==="compositionend"||!Bc&&km(e,n)?(e=Nm(),Kr=zc=ci=null,As=!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 Om&&n.locale!=="ko"?null:n.data;default:return null}}var m2={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 Vm(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!m2[e.type]:n==="textarea"}function Um(e,n,s,l){js?Es?Es.push(l):Es=[l]:js=l,n=Hl(n,"onChange"),0<n.length&&(s=new $r("onChange","change",null,s,l),e.push({event:s,listeners:n}))}var Ma=null,Da=null;function p2(e){by(e,0)}function Jr(e){var n=ja(e);if(vm(n))return e}function Bm(e,n){if(e==="change")return n}var Pm=!1;if(kn){var Pc;if(kn){var Hc="oninput"in document;if(!Hc){var Hm=document.createElement("div");Hm.setAttribute("oninput","return;"),Hc=typeof Hm.oninput=="function"}Pc=Hc}else Pc=!1;Pm=Pc&&(!document.documentMode||9<document.documentMode)}function qm(){Ma&&(Ma.detachEvent("onpropertychange",Gm),Da=Ma=null)}function Gm(e){if(e.propertyName==="value"&&Jr(Da)){var n=[];Um(n,Da,e,Dc(e)),Am(p2,n)}}function g2(e,n,s){e==="focusin"?(qm(),Ma=n,Da=s,Ma.attachEvent("onpropertychange",Gm)):e==="focusout"&&qm()}function y2(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Jr(Da)}function x2(e,n){if(e==="click")return Jr(n)}function v2(e,n){if(e==="input"||e==="change")return Jr(n)}function b2(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Vt=typeof Object.is=="function"?Object.is:b2;function Oa(e,n){if(Vt(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var s=Object.keys(e),l=Object.keys(n);if(s.length!==l.length)return!1;for(l=0;l<s.length;l++){var c=s[l];if(!xc.call(n,c)||!Vt(e[c],n[c]))return!1}return!0}function Ym(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Fm(e,n){var s=Ym(e);e=0;for(var l;s;){if(s.nodeType===3){if(l=e+s.textContent.length,e<=n&&l>=n)return{node:s,offset:n-e};e=l}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=Ym(s)}}function Xm(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Xm(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Qm(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var n=Xr(e.document);n instanceof e.HTMLIFrameElement;){try{var s=typeof n.contentWindow.location.href=="string"}catch{s=!1}if(s)e=n.contentWindow;else break;n=Xr(e.document)}return n}function qc(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 w2=kn&&"documentMode"in document&&11>=document.documentMode,Ns=null,Gc=null,_a=null,Yc=!1;function Km(e,n,s){var l=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Yc||Ns==null||Ns!==Xr(l)||(l=Ns,"selectionStart"in l&&qc(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),_a&&Oa(_a,l)||(_a=l,l=Hl(Gc,"onSelect"),0<l.length&&(n=new $r("onSelect","select",null,n,s),e.push({event:n,listeners:l}),n.target=Ns)))}function Yi(e,n){var s={};return s[e.toLowerCase()]=n.toLowerCase(),s["Webkit"+e]="webkit"+n,s["Moz"+e]="moz"+n,s}var Cs={animationend:Yi("Animation","AnimationEnd"),animationiteration:Yi("Animation","AnimationIteration"),animationstart:Yi("Animation","AnimationStart"),transitionrun:Yi("Transition","TransitionRun"),transitionstart:Yi("Transition","TransitionStart"),transitioncancel:Yi("Transition","TransitionCancel"),transitionend:Yi("Transition","TransitionEnd")},Fc={},Zm={};kn&&(Zm=document.createElement("div").style,"AnimationEvent"in window||(delete Cs.animationend.animation,delete Cs.animationiteration.animation,delete Cs.animationstart.animation),"TransitionEvent"in window||delete Cs.transitionend.transition);function Fi(e){if(Fc[e])return Fc[e];if(!Cs[e])return e;var n=Cs[e],s;for(s in n)if(n.hasOwnProperty(s)&&s in Zm)return Fc[e]=n[s];return e}var Im=Fi("animationend"),$m=Fi("animationiteration"),Wm=Fi("animationstart"),S2=Fi("transitionrun"),T2=Fi("transitionstart"),j2=Fi("transitioncancel"),Jm=Fi("transitionend"),ep=new Map,Xc="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(" ");Xc.push("scrollEnd");function fn(e,n){ep.set(e,n),qi(n,[e])}var el=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)},It=[],Rs=0,Qc=0;function tl(){for(var e=Rs,n=Qc=Rs=0;n<e;){var s=It[n];It[n++]=null;var l=It[n];It[n++]=null;var c=It[n];It[n++]=null;var d=It[n];if(It[n++]=null,l!==null&&c!==null){var x=l.pending;x===null?c.next=c:(c.next=x.next,x.next=c),l.pending=c}d!==0&&tp(s,c,d)}}function nl(e,n,s,l){It[Rs++]=e,It[Rs++]=n,It[Rs++]=s,It[Rs++]=l,Qc|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function Kc(e,n,s,l){return nl(e,n,s,l),il(e)}function Xi(e,n){return nl(e,null,null,n),il(e)}function tp(e,n,s){e.lanes|=s;var l=e.alternate;l!==null&&(l.lanes|=s);for(var c=!1,d=e.return;d!==null;)d.childLanes|=s,l=d.alternate,l!==null&&(l.childLanes|=s),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(c=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,c&&n!==null&&(c=31-Lt(s),e=d.hiddenUpdates,l=e[c],l===null?e[c]=[n]:l.push(n),n.lane=s|536870912),d):null}function il(e){if(50<tr)throw tr=0,sf=null,Error(r(185));for(var n=e.return;n!==null;)e=n,n=e.return;return e.tag===3?e.stateNode:null}var Ms={};function E2(e,n,s,l){this.tag=e,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 14,490 bytes, line 8
8ype=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=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ut(e,n,s,l){return new E2(e,n,s,l)}function Zc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ln(e,n){var s=e.alternate;return s===null?(s=Ut(e.tag,n,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s.alternate=e,e.alternate=s):(s.pendingProps=n,s.type=e.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=e.flags&65011712,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue,n=e.dependencies,s.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.refCleanup=e.refCleanup,s}function np(e,n){e.flags&=65011714;var s=e.alternate;return s===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=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type,n=s.dependencies,e.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),e}function sl(e,n,s,l,c,d){var x=0;if(l=e,typeof e=="function")Zc(e)&&(x=1);else if(typeof e=="string")x=MT(e,s,ne.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case W:return e=Ut(31,s,n,c),e.elementType=W,e.lanes=d,e;case E:return Qi(s.children,c,d,n);case A:x=8,c|=24;break;case N:return e=Ut(12,s,n,c|2),e.elementType=N,e.lanes=d,e;case G:return e=Ut(13,s,n,c),e.elementType=G,e.lanes=d,e;case q:return e=Ut(19,s,n,c),e.elementType=q,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case M:x=10;break e;case _:x=9;break e;case z:x=11;break e;case P:x=14;break e;case L:x=16,l=null;break e}x=29,s=Error(r(130,e===null?"null":typeof e,"")),l=null}return n=Ut(x,s,n,c),n.elementType=e,n.type=l,n.lanes=d,n}function Qi(e,n,s,l){return e=Ut(7,e,l,n),e.lanes=s,e}function Ic(e,n,s){return e=Ut(6,e,null,n),e.lanes=s,e}function ip(e){var n=Ut(18,null,null,0);return n.stateNode=e,n}function $c(e,n,s){return n=Ut(4,e.children!==null?e.children:[],e.key,n),n.lanes=s,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}var sp=new WeakMap;function $t(e,n){if(typeof e=="object"&&e!==null){var s=sp.get(e);return s!==void 0?s:(n={value:e,source:n,stack:im(n)},sp.set(e,n),n)}return{value:e,source:n,stack:im(n)}}var Ds=[],Os=0,al=null,za=0,Wt=[],Jt=0,ui=null,wn=1,Sn="";function Vn(e,n){Ds[Os++]=za,Ds[Os++]=al,al=e,za=n}function ap(e,n,s){Wt[Jt++]=wn,Wt[Jt++]=Sn,Wt[Jt++]=ui,ui=e;var l=wn;e=Sn;var c=32-Lt(l)-1;l&=~(1<<c),s+=1;var d=32-Lt(n)+c;if(30<d){var x=c-c%5;d=(l&(1<<x)-1).toString(32),l>>=x,c-=x,wn=1<<32-Lt(n)+c|s<<c|l,Sn=d+e}else wn=1<<d|s<<c|l,Sn=e}function Wc(e){e.return!==null&&(Vn(e,1),ap(e,1,0))}function Jc(e){for(;e===al;)al=Ds[--Os],Ds[Os]=null,za=Ds[--Os],Ds[Os]=null;for(;e===ui;)ui=Wt[--Jt],Wt[Jt]=null,Sn=Wt[--Jt],Wt[Jt]=null,wn=Wt[--Jt],Wt[Jt]=null}function rp(e,n){Wt[Jt++]=wn,Wt[Jt++]=Sn,Wt[Jt++]=ui,wn=n.id,Sn=n.overflow,ui=e}var ft=null,He=null,Ae=!1,fi=null,en=!1,eu=Error(r(519));function di(e){var n=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ka($t(n,e)),eu}function lp(e){var n=e.stateNode,s=e.type,l=e.memoizedProps;switch(n[ut]=e,n[Et]=l,s){case"dialog":Te("cancel",n),Te("close",n);break;case"iframe":case"object":case"embed":Te("load",n);break;case"video":case"audio":for(s=0;s<ir.length;s++)Te(ir[s],n);break;case"source":Te("error",n);break;case"img":case"image":case"link":Te("error",n),Te("load",n);break;case"details":Te("toggle",n);break;case"input":Te("invalid",n),bm(n,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":Te("invalid",n);break;case"textarea":Te("invalid",n),Sm(n,l.value,l.defaultValue,l.children)}s=l.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||n.textContent===""+s||l.suppressHydrationWarning===!0||jy(n.textContent,s)?(l.popover!=null&&(Te("beforetoggle",n),Te("toggle",n)),l.onScroll!=null&&Te("scroll",n),l.onScrollEnd!=null&&Te("scrollend",n),l.onClick!=null&&(n.onclick=zn),n=!0):n=!1,n||di(e,!0)}function op(e){for(ft=e.return;ft;)switch(ft.tag){case 5:case 31:case 13:en=!1;return;case 27:case 3:en=!0;return;default:ft=ft.return}}function _s(e){if(e!==ft)return!1;if(!Ae)return op(e),Ae=!0,!1;var n=e.tag,s;if((s=n!==3&&n!==27)&&((s=n===5)&&(s=e.type,s=!(s!=="form"&&s!=="button")||vf(e.type,e.memoizedProps)),s=!s),s&&He&&di(e),op(e),n===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));He=_y(e)}else if(n===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));He=_y(e)}else n===27?(n=He,Ai(e.type)?(e=jf,jf=null,He=e):He=n):He=ft?nn(e.stateNode.nextSibling):null;return!0}function Ki(){He=ft=null,Ae=!1}function tu(){var e=fi;return e!==null&&(Mt===null?Mt=e:Mt.push.apply(Mt,e),fi=null),e}function ka(e){fi===null?fi=[e]:fi.push(e)}var nu=R(null),Zi=null,Un=null;function hi(e,n,s){J(nu,n._currentValue),n._currentValue=s}function Bn(e){e._currentValue=nu.current,F(nu)}function iu(e,n,s){for(;e!==null;){var l=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,l!==null&&(l.childLanes|=n)):l!==null&&(l.childLanes&n)!==n&&(l.childLanes|=n),e===s)break;e=e.return}}function su(e,n,s,l){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var d=c.dependencies;if(d!==null){var x=c.child;d=d.firstContext;e:for(;d!==null;){var w=d;d=c;for(var C=0;C<n.length;C++)if(w.context===n[C]){d.lanes|=s,w=d.alternate,w!==null&&(w.lanes|=s),iu(d.return,s,e),l||(x=null);break e}d=w.next}}else if(c.tag===18){if(x=c.return,x===null)throw Error(r(341));x.lanes|=s,d=x.alternate,d!==null&&(d.lanes|=s),iu(x,s,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 zs(e,n,s,l){e=null;for(var c=n,d=!1;c!==null;){if(!d){if((c.flags&524288)!==0)d=!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 w=c.type;Vt(c.pendingProps.value,x.value)||(e!==null?e.push(w):e=[w])}}else if(c===we.current){if(x=c.alternate,x===null)throw Error(r(387));x.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(or):e=[or])}c=c.return}e!==null&&su(n,e,s,l),n.flags|=262144}function rl(e){for(e=e.firstContext;e!==null;){if(!Vt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ii(e){Zi=e,Un=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function dt(e){return cp(Zi,e)}function ll(e,n){return Zi===null&&Ii(e),cp(e,n)}function cp(e,n){var s=n._currentValue;if(n={context:n,memoizedValue:s,next:null},Un===null){if(e===null)throw Error(r(308));Un=n,e.dependencies={lanes:0,firstContext:n},e.flags|=524288}else Un=Un.next=n;return s}var A2=typeof AbortController<"u"?AbortController:function(){var e=[],n=this.signal={aborted:!1,addEventListener:function(s,l){e.push(l)}};this.abort=function(){n.aborted=!0,e.forEach(function(s){return s()})}},N2=t.unstable_scheduleCallback,C2=t.unstable_NormalPriority,$e={$$typeof:M,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function au(){return{controller:new A2,data:new Map,refCount:0}}function La(e){e.refCount--,e.refCount===0&&N2(C2,function(){e.controller.abort()})}var Va=null,ru=0,ks=0,Ls=null;function R2(e,n){if(Va===null){var s=Va=[];ru=0,ks=uf(),Ls={status:"pending",value:void 0,then:function(l){s.push(l)}}}return ru++,n.then(up,up),n}function up(){if(--ru===0&&Va!==null){Ls!==null&&(Ls.status="fulfilled");var e=Va;Va=null,ks=0,Ls=null;for(var n=0;n<e.length;n++)(0,e[n])()}}function M2(e,n){var s=[],l={status:"pending",value:null,reason:null,then:function(c){s.push(c)}};return e.then(function(){l.status="fulfilled",l.value=n;for(var c=0;c<s.length;c++)(0,s[c])(n)},function(c){for(l.status="rejected",l.reason=c,c=0;c<s.length;c++)(0,s[c])(void 0)}),l}var fp=D.S;D.S=function(e,n){Kg=zt(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&R2(e,n),fp!==null&&fp(e,n)};var $i=R(null);function lu(){var e=$i.current;return e!==null?e:Le.pooledCache}function ol(e,n){n===null?J($i,$i.current):J($i,n.pool)}function dp(){var e=lu();return e===null?null:{parent:$e._currentValue,pool:e}}var Vs=Error(r(460)),ou=Error(r(474)),cl=Error(r(542)),ul={then:function(){}};function hp(e){return e=e.status,e==="fulfilled"||e==="rejected"}function mp(e,n,s){switch(s=e[s],s===void 0?e.push(n):s!==n&&(n.then(zn,zn),n=s),n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,gp(e),e;default:if(typeof n.status=="string")n.then(zn,zn);else{if(e=Le,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=n,e.status="pending",e.then(function(l){if(n.status==="pending"){var c=n;c.status="fulfilled",c.value=l}},function(l){if(n.status==="pending"){var c=n;c.status="rejected",c.reason=l}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,gp(e),e}throw Ji=n,Vs}}function Wi(e){try{var n=e._init;return n(e._payload)}catch(s){throw s!==null&&typeof s=="object"&&typeof s.then=="function"?(Ji=s,Vs):s}}var Ji=null;function pp(){if(Ji===null)throw Error(r(459));var e=Ji;return Ji=null,e}function gp(e){if(e===Vs||e===cl)throw Error(r(483))}var Us=null,Ua=0;function fl(e){var n=Ua;return Ua+=1,Us===null&&(Us=[]),mp(Us,e,n)}function Ba(e,n){n=n.props.ref,e.ref=n!==void 0?n:null}function dl(e,n){throw n.$$typeof===b?Error(r(525)):(e=Object.prototype.toString.call(n),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)))}function yp(e){function n(k,O){if(e){var V=k.deletions;V===null?(k.deletions=[O],k.flags|=16):V.push(O)}}function s(k,O){if(!e)return null;for(;O!==null;)n(k,O),O=O.sibling;return null}function l(k){for(var O=new Map;k!==null;)k.key!==null?O.set(k.key,k):O.set(k.index,k),k=k.sibling;return O}function c(k,O){return k=Ln(k,O),k.index=0,k.sibling=null,k}function d(k,O,V){return k.index=V,e?(V=k.alternate,V!==null?(V=V.index,V<O?(k.flags|=67108866,O):V):(k.flags|=67108866,O)):(k.flags|=1048576,O)}function x(k){return e&&k.alternate===null&&(k.flags|=67108866),k}function w(k,O,V,Q){return O===null||O.tag!==6?(O=Ic(V,k.mode,Q),O.return=k,O):(O=c(O,V),O.return=k,O)}function C(k,O,V,Q){var he=V.type;return he===E?Y(k,O,V.props.children,Q,V.key):O!==null&&(O.elementType===he||typeof he=="object"&&he!==null&&he.$$typeof===L&&Wi(he)===O.type)?(O=c(O,V.props),Ba(O,V),O.return=k,O):(O=sl(V.type,V.key,V.props,null,k.mode,Q),Ba(O,V),O.return=k,O)}function U(k,O,V,Q){return O===null||O.tag!==4||O.stateNode.containerInfo!==V.containerInfo||O.stateNode.implementation!==V.implementation?(O=$c(V,k.mode,Q),O.return=k,O):(O=c(O,V.children||[]),O.return=k,O)}function Y(k,O,V,Q,he){return O===null||O.tag!==7?(O=Qi(V,k.mode,Q,he),O.return=k,O):(O=c(O,V),O.return=k,O)}function K(k,O,V){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return O=Ic(""+O,k.mode,V),O.return=k,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case j:return V=sl(O.type,O.key,O.props,null,k.mode,V),Ba(V,O),V.return=k,V;case S:return O=$c(O,k.mode,V),O.return=k,O;case L:return O=Wi(O),K(k,O,V)}if(pe(O)||ee(O))return O=Qi(O,k.mode,V,null),O.return=k,O;if(typeof O.then=="function")return K(k,fl(O),V);if(O.$$typeof===M)return K(k,ll(k,O),V);dl(k,O)}return null}function B(k,O,V,Q){var he=O!==null?O.key:null;if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return he!==null?null:w(k,O,""+V,Q);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case j:return V.key===he?C(k,O,V,Q):null;case S:return V.key===he?U(k,O,V,Q):null;case L:return V=Wi(V),B(k,O,V,Q)}if(pe(V)||ee(V))return he!==null?null:Y(k,O,V,Q,null);if(typeof V.then=="function")return B(k,O,fl(V),Q);if(V.$$typeof===M)return B(k,O,ll(k,V),Q);dl(k,V)}return null}function H(k,O,V,Q,he){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return k=k.get(V)||null,w(O,k,""+Q,he);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case j:return k=k.get(Q.key===null?V:Q.key)||null,C(O,k,Q,he);case S:return k=k.get(Q.key===null?V:Q.key)||null,U(O,k,Q,he);case L:return Q=Wi(Q),H(k,O,V,Q,he)}if(pe(Q)||ee(Q))return k=k.get(V)||null,Y(O,k,Q,he,null);if(typeof Q.then=="function")return H(k,O,V,fl(Q),he);if(Q.$$typeof===M)return H(k,O,V,ll(O,Q),he);dl(O,Q)}return null}function re(k,O,V,Q){for(var he=null,Ce=null,ce=O,ve=O=0,Ee=null;ce!==null&&ve<V.length;ve++){ce.index>ve?(Ee=ce,ce=null):Ee=ce.sibling;var Re=B(k,ce,V[ve],Q);if(Re===null){ce===null&&(ce=Ee);break}e&&ce&&Re.alternate===null&&n(k,ce),O=d(Re,O,ve),Ce===null?he=Re:Ce.sibling=Re,Ce=Re,ce=Ee}if(ve===V.length)return s(k,ce),Ae&&Vn(k,ve),he;if(ce===null){for(;ve<V.length;ve++)ce=K(k,V[ve],Q),ce!==null&&(O=d(ce,O,ve),Ce===null?he=ce:Ce.sibling=ce,Ce=ce);return Ae&&Vn(k,ve),he}for(ce=l(ce);ve<V.length;ve++)Ee=H(ce,k,ve,V[ve],Q),Ee!==null&&(e&&Ee.alternate!==null&&ce.delete(Ee.key===null?ve:Ee.key),O=d(Ee,O,ve),Ce===null?he=Ee:Ce.sibling=Ee,Ce=Ee);return e&&ce.forEach(function(Di){return n(k,Di)}),Ae&&Vn(k,ve),he}function me(k,O,V,Q){if(V==null)throw Error(r(151));for(var he=null,Ce=null,ce=O,ve=O=0,Ee=null,Re=V.next();ce!==null&&!Re.done;ve++,Re=V.next()){ce.index>ve?(Ee=ce,ce=null):Ee=ce.sibling;var Di=B(k,ce,Re.value,Q);if(Di===null){ce===null&&(ce=Ee);break}e&&ce&&Di.alternate===null&&n(k,ce),O=d(Di,O,ve),Ce===null?he=Di:Ce.sibling=Di,Ce=Di,ce=Ee}if(Re.done)return s(k,ce),Ae&&Vn(k,ve),he;if(ce===null){for(;!Re.done;ve++,Re=V.next())Re=K(k,Re.value,Q),Re!==null&&(O=d(Re,O,ve),Ce===null?he=Re:Ce.sibling=Re,Ce=Re);return Ae&&Vn(k,ve),he}for(ce=l(ce);!Re.done;ve++,Re=V.next())Re=H(ce,k,ve,Re.value,Q),Re!==null&&(e&&Re.alternate!==null&&ce.delete(Re.key===null?ve:Re.key),O=d(Re,O,ve),Ce===null?he=Re:Ce.sibling=Re,Ce=Re);return e&&ce.forEach(function(HT){return n(k,HT)}),Ae&&Vn(k,ve),he}function ke(k,O,V,Q){if(typeof V=="object"&&V!==null&&V.type===E&&V.key===null&&(V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case j:e:{for(var he=V.key;O!==null;
vendor: 4,185 bytes, line 8
8){if(O.key===he){if(he=V.type,he===E){if(O.tag===7){s(k,O.sibling),Q=c(O,V.props.children),Q.return=k,k=Q;break e}}else if(O.elementType===he||typeof he=="object"&&he!==null&&he.$$typeof===L&&Wi(he)===O.type){s(k,O.sibling),Q=c(O,V.props),Ba(Q,V),Q.return=k,k=Q;break e}s(k,O);break}else n(k,O);O=O.sibling}V.type===E?(Q=Qi(V.props.children,k.mode,Q,V.key),Q.return=k,k=Q):(Q=sl(V.type,V.key,V.props,null,k.mode,Q),Ba(Q,V),Q.return=k,k=Q)}return x(k);case S:e:{for(he=V.key;O!==null;){if(O.key===he)if(O.tag===4&&O.stateNode.containerInfo===V.containerInfo&&O.stateNode.implementation===V.implementation){s(k,O.sibling),Q=c(O,V.children||[]),Q.return=k,k=Q;break e}else{s(k,O);break}else n(k,O);O=O.sibling}Q=$c(V,k.mode,Q),Q.return=k,k=Q}return x(k);case L:return V=Wi(V),ke(k,O,V,Q)}if(pe(V))return re(k,O,V,Q);if(ee(V)){if(he=ee(V),typeof he!="function")throw Error(r(150));return V=he.call(V),me(k,O,V,Q)}if(typeof V.then=="function")return ke(k,O,fl(V),Q);if(V.$$typeof===M)return ke(k,O,ll(k,V),Q);dl(k,V)}return typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint"?(V=""+V,O!==null&&O.tag===6?(s(k,O.sibling),Q=c(O,V),Q.return=k,k=Q):(s(k,O),Q=Ic(V,k.mode,Q),Q.return=k,k=Q),x(k)):s(k,O)}return function(k,O,V,Q){try{Ua=0;var he=ke(k,O,V,Q);return Us=null,he}catch(ce){if(ce===Vs||ce===cl)throw ce;var Ce=Ut(29,ce,null,k.mode);return Ce.lanes=Q,Ce.return=k,Ce}}}var es=yp(!0),xp=yp(!1),mi=!1;function cu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function uu(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 pi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function gi(e,n,s){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Me&2)!==0){var c=l.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),l.pending=n,n=il(e),tp(e,null,s),n}return nl(e,l,n,s),il(e)}function Pa(e,n,s){if(n=n.updateQueue,n!==null&&(n=n.shared,(s&4194048)!==0)){var l=n.lanes;l&=e.pendingLanes,s|=l,n.lanes=s,cm(e,s)}}function fu(e,n){var s=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,s===l)){var c=null,d=null;if(s=s.firstBaseUpdate,s!==null){do{var x={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};d===null?c=d=x:d=d.next=x,s=s.next}while(s!==null);d===null?c=d=n:d=d.next=n}else c=d=n;s={baseState:l.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:l.shared,callbacks:l.callbacks},e.updateQueue=s;return}e=s.lastBaseUpdate,e===null?s.firstBaseUpdate=n:e.next=n,s.lastBaseUpdate=n}var du=!1;function Ha(){if(du){var e=Ls;if(e!==null)throw e}}function qa(e,n,s,l){du=!1;var c=e.updateQueue;mi=!1;var d=c.firstBaseUpdate,x=c.lastBaseUpdate,w=c.shared.pending;if(w!==null){c.shared.pending=null;var C=w,U=C.next;C.next=null,x===null?d=U:x.next=U,x=C;var Y=e.alternate;Y!==null&&(Y=Y.updateQueue,w=Y.lastBaseUpdate,w!==x&&(w===null?Y.firstBaseUpdate=U:w.next=U,Y.lastBaseUpdate=C))}if(d!==null){var K=c.baseState;x=0,Y=U=C=null,w=d;do{var B=w.lane&-536870913,H=B!==w.lane;if(H?(je&B)===B:(l&B)===B){B!==0&&B===ks&&(du=!0),Y!==null&&(Y=Y.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});e:{var re=e,me=w;B=n;var ke=s;switch(me.tag){case 1:if(re=me.payload,typeof re=="function"){K=re.call(ke,K,B);break e}K=re;break e;case 3:re.flags=re.flags&-65537|128;case 0:if(re=me.payload,B=typeof re=="function"?re.call(ke,K,B):re,B==null)break e;K=v({},K,B);break e;case 2:mi=!0}}B=w.callback,B!==null&&(e.flags|=64,H&&(e.flags|=8192),H=c.callbacks,H===null?c.callbacks=[B]:H.push(B))}else H={lane:B,tag:w.tag,payload:w.payload,callback:w.callback,next:null},Y===null?(U=Y=H,C=K):Y=Y.next=H,x|=B;if(w=w.next,w===null){if(w=c.shared.pending,w===null)break;H=w,w=H.next,H.next=null,c.lastBaseUpdate=H,c.shared.pending=null}}while(!0);Y===null&&(C=K),c.baseState=C,c.firstBaseUpdate=U,c.lastBaseUpdate=Y,d===null&&(c.shared.lanes=0),wi|=x,e.lanes=x,e.memoizedState=K}}function vp(e,n){if(typeof e!="function")throw Error(r(191,e));e.call(n)}function bp(e,n){var s=e.callbacks;
vendor: 4,902 bytes, line 8
8if(s!==null)for(e.callbacks=null,e=0;e<s.length;e++)vp(s[e],n)}var Bs=R(null),hl=R(0);function wp(e,n){e=Kn,J(hl,e),J(Bs,n),Kn=e|n.baseLanes}function hu(){J(hl,Kn),J(Bs,Bs.current)}function mu(){Kn=hl.current,F(Bs),F(hl)}var Bt=R(null),tn=null;function yi(e){var n=e.alternate;J(Qe,Qe.current&1),J(Bt,e),tn===null&&(n===null||Bs.current!==null||n.memoizedState!==null)&&(tn=e)}function pu(e){J(Qe,Qe.current),J(Bt,e),tn===null&&(tn=e)}function Sp(e){e.tag===22?(J(Qe,Qe.current),J(Bt,e),tn===null&&(tn=e)):xi()}function xi(){J(Qe,Qe.current),J(Bt,Bt.current)}function Pt(e){F(Bt),tn===e&&(tn=null),F(Qe)}var Qe=R(0);function ml(e){for(var n=e;n!==null;){if(n.tag===13){var s=n.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||Sf(s)||Tf(s)))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 Pn=0,xe=null,_e=null,We=null,pl=!1,Ps=!1,ts=!1,gl=0,Ga=0,Hs=null,D2=0;function Ye(){throw Error(r(321))}function gu(e,n){if(n===null)return!1;for(var s=0;s<n.length&&s<e.length;s++)if(!Vt(e[s],n[s]))return!1;return!0}function yu(e,n,s,l,c,d){return Pn=d,xe=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,D.H=e===null||e.memoizedState===null?ag:Ou,ts=!1,d=s(l,c),ts=!1,Ps&&(d=jp(n,s,l,c)),Tp(e),d}function Tp(e){D.H=Xa;var n=_e!==null&&_e.next!==null;if(Pn=0,We=_e=xe=null,pl=!1,Ga=0,Hs=null,n)throw Error(r(300));e===null||Je||(e=e.dependencies,e!==null&&rl(e)&&(Je=!0))}function jp(e,n,s,l){xe=e;var c=0;do{if(Ps&&(Hs=null),Ga=0,Ps=!1,25<=c)throw Error(r(301));if(c+=1,We=_e=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}D.H=rg,d=n(s,l)}while(Ps);return d}function O2(){var e=D.H,n=e.useState()[0];return n=typeof n.then=="function"?Ya(n):n,e=e.useState()[0],(_e!==null?_e.memoizedState:null)!==e&&(xe.flags|=1024),n}function xu(){var e=gl!==0;return gl=0,e}function vu(e,n,s){n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~s}function bu(e){if(pl){for(e=e.memoizedState;e!==null;){var n=e.queue;n!==null&&(n.pending=null),e=e.next}pl=!1}Pn=0,We=_e=xe=null,Ps=!1,Ga=gl=0,Hs=null}function vt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return We===null?xe.memoizedState=We=e:We=We.next=e,We}function Ke(){if(_e===null){var e=xe.alternate;e=e!==null?e.memoizedState:null}else e=_e.next;var n=We===null?xe.memoizedState:We.next;if(n!==null)We=n,_e=e;else{if(e===null)throw xe.alternate===null?Error(r(467)):Error(r(310));_e=e,e={memoizedState:_e.memoizedState,baseState:_e.baseState,baseQueue:_e.baseQueue,queue:_e.queue,next:null},We===null?xe.memoizedState=We=e:We=We.next=e}return We}function yl(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ya(e){var n=Ga;return Ga+=1,Hs===null&&(Hs=[]),e=mp(Hs,e,n),n=xe,(We===null?n.memoizedState:We.next)===null&&(n=n.alternate,D.H=n===null||n.memoizedState===null?ag:Ou),e}function xl(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Ya(e);if(e.$$typeof===M)return dt(e)}throw Error(r(438,String(e)))}function wu(e){var n=null,s=xe.updateQueue;if(s!==null&&(n=s.memoCache),n==null){var l=xe.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(n={data:l.data.map(function(c){return c.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),s===null&&(s=yl(),xe.updateQueue=s),s.memoCache=n,s=n.data[n.index],s===void 0)for(s=n.data[n.index]=Array(e),l=0;l<e;l++)s[l]=$;return n.index++,s}function Hn(e,n){return typeof n=="function"?n(e):n}function vl(e){var n=Ke();return Su(n,_e,e)}function Su(e,n,s){var l=e.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=s;var c=e.baseQueue,d=l.pending;if(d!==null){if(c!==null){var x=c.next;c.next=d.next,d.next=x}n.baseQueue=c=d,l.pending=null}if(d=e.baseState,c===null)e.memoizedState=d;else{n=c.next;var w=x=null,C=null,U=n,Y=!1;do{var K=U.lane&-536870913;if(K!==U.lane?(je&K)===K:(Pn&K)===K){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}),K===ks&&(Y=!0);else if((Pn&B)===B){U=U.next,B===ks&&(Y=!0);continue}else K={lane:0,revertLane:U.revertLane,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},C===null?(w=C=K,x=d):C=C.next=K,xe.lanes|=B,wi|=B;K=U.action,ts&&s(d,K),d=U.hasEagerState?U.eagerState:s(d,K)}else B={lane:K,revertLane:U.revertLane,gesture:U.gesture,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}
vendor: 4,241 bytes, line 8
8,C===null?(w=C=B,x=d):C=C.next=B,xe.lanes|=K,wi|=K;U=U.next}while(U!==null&&U!==n);if(C===null?x=d:C.next=w,!Vt(d,e.memoizedState)&&(Je=!0,Y&&(s=Ls,s!==null)))throw s;e.memoizedState=d,e.baseState=x,e.baseQueue=C,l.lastRenderedState=d}return c===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function Tu(e){var n=Ke(),s=n.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=e;var l=s.dispatch,c=s.pending,d=n.memoizedState;if(c!==null){s.pending=null;var x=c=c.next;do d=e(d,x.action),x=x.next;while(x!==c);Vt(d,n.memoizedState)||(Je=!0),n.memoizedState=d,n.baseQueue===null&&(n.baseState=d),s.lastRenderedState=d}return[d,l]}function Ep(e,n,s){var l=xe,c=Ke(),d=Ae;if(d){if(s===void 0)throw Error(r(407));s=s()}else s=n();var x=!Vt((_e||c).memoizedState,s);if(x&&(c.memoizedState=s,Je=!0),c=c.queue,Au(Cp.bind(null,l,c,e),[e]),c.getSnapshot!==n||x||We!==null&&We.memoizedState.tag&1){if(l.flags|=2048,qs(9,{destroy:void 0},Np.bind(null,l,c,s,n),null),Le===null)throw Error(r(349));d||(Pn&127)!==0||Ap(l,n,s)}return s}function Ap(e,n,s){e.flags|=16384,e={getSnapshot:n,value:s},n=xe.updateQueue,n===null?(n=yl(),xe.updateQueue=n,n.stores=[e]):(s=n.stores,s===null?n.stores=[e]:s.push(e))}function Np(e,n,s,l){n.value=s,n.getSnapshot=l,Rp(n)&&Mp(e)}function Cp(e,n,s){return s(function(){Rp(n)&&Mp(e)})}function Rp(e){var n=e.getSnapshot;e=e.value;try{var s=n();return!Vt(e,s)}catch{return!0}}function Mp(e){var n=Xi(e,2);n!==null&&Dt(n,e,2)}function ju(e){var n=vt();if(typeof e=="function"){var s=e;if(e=s(),ts){li(!0);try{s()}finally{li(!1)}}}return n.memoizedState=n.baseState=e,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hn,lastRenderedState:e},n}function Dp(e,n,s,l){return e.baseState=s,Su(e,_e,typeof l=="function"?l:Hn)}function _2(e,n,s,l,c){if(Sl(e))throw Error(r(485));if(e=n.action,e!==null){var d={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(x){d.listeners.push(x)}};D.T!==null?s(!0):d.isTransition=!1,l(d),s=n.pending,s===null?(d.next=n.pending=d,Op(n,d)):(d.next=s.next,n.pending=s.next=d)}}function Op(e,n){var s=n.action,l=n.payload,c=e.state;if(n.isTransition){var d=D.T,x={};D.T=x;try{var w=s(c,l),C=D.S;C!==null&&C(x,w),_p(e,n,w)}catch(U){Eu(e,n,U)}finally{d!==null&&x.types!==null&&(d.types=x.types),D.T=d}}else try{d=s(c,l),_p(e,n,d)}catch(U){Eu(e,n,U)}}function _p(e,n,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(l){zp(e,n,l)},function(l){return Eu(e,n,l)}):zp(e,n,s)}function zp(e,n,s){n.status="fulfilled",n.value=s,kp(n),e.state=s,n=e.pending,n!==null&&(s=n.next,s===n?e.pending=null:(s=s.next,n.next=s,Op(e,s)))}function Eu(e,n,s){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do n.status="rejected",n.reason=s,kp(n),n=n.next;while(n!==l)}e.action=null}function kp(e){e=e.listeners;for(var n=0;n<e.length;n++)(0,e[n])()}function Lp(e,n){return n}function Vp(e,n){if(Ae){var s=Le.formState;if(s!==null){e:{var l=xe;if(Ae){if(He){t:{for(var c=He,d=en;c.nodeType!==8;){if(!d){c=null;break t}if(c=nn(c.nextSibling),c===null){c=null;break t}}d=c.data,c=d==="F!"||d==="F"?c:null}if(c){He=nn(c.nextSibling),l=c.data==="F!";break e}}di(l)}l=!1}l&&(n=s[0])}}return s=vt(),s.memoizedState=s.baseState=n,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lp,lastRenderedState:n},s.queue=l,s=ng.bind(null,xe,l),l.dispatch=s,l=ju(!1),d=Du.bind(null,xe,!1,l.queue),l=vt(),c={state:n,dispatch:null,action:e,pending:null},l.queue=c,s=_2.bind(null,xe,c,d,s),c.dispatch=s,l.memoizedState=e,[n,s,!1]}function Up(e){var n=Ke();return Bp(n,_e,e)}function Bp(e,n,s){if(n=Su(e,n,Lp)[0],e=vl(Hn)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var l=Ya(n)}catch(x){throw x===Vs?cl:x}else l=n;n=Ke();var c=n.queue,d=c.dispatch;return s!==n.memoizedState&&(xe.flags|=2048,qs(9,{destroy:void 0},z2.bind(null,c,s),null)),[l,d,e]}function z2(e,n){e.action=n}function Pp(e){var n=Ke(),s=_e;if(s!==null)return Bp(n,s,e);Ke(),n=n.memoizedState,s=Ke();var l=s.queue.dispatch;return s.memoizedState=e,[n,l,!1]}function qs(e,n,s,l){return e={tag:e,create:s,deps:l,inst:n,next:null},n=xe.updateQueue,n===null&&(n=yl(),xe.updateQueue=n),s=n.lastEffect,s===null?n.lastEffect=e.next=e:(l=s.next,
vendor: 5,323 bytes, line 8
8s.next=e,e.next=l,n.lastEffect=e),e}function Hp(){return Ke().memoizedState}function bl(e,n,s,l){var c=vt();xe.flags|=e,c.memoizedState=qs(1|n,{destroy:void 0},s,l===void 0?null:l)}function wl(e,n,s,l){var c=Ke();l=l===void 0?null:l;var d=c.memoizedState.inst;_e!==null&&l!==null&&gu(l,_e.memoizedState.deps)?c.memoizedState=qs(n,d,s,l):(xe.flags|=e,c.memoizedState=qs(1|n,d,s,l))}function qp(e,n){bl(8390656,8,e,n)}function Au(e,n){wl(2048,8,e,n)}function k2(e){xe.flags|=4;var n=xe.updateQueue;if(n===null)n=yl(),xe.updateQueue=n,n.events=[e];else{var s=n.events;s===null?n.events=[e]:s.push(e)}}function Gp(e){var n=Ke().memoizedState;return k2({ref:n,nextImpl:e}),function(){if((Me&2)!==0)throw Error(r(440));return n.impl.apply(void 0,arguments)}}function Yp(e,n){return wl(4,2,e,n)}function Fp(e,n){return wl(4,4,e,n)}function Xp(e,n){if(typeof n=="function"){e=e();var s=n(e);return function(){typeof s=="function"?s():n(null)}}if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Qp(e,n,s){s=s!=null?s.concat([e]):null,wl(4,4,Xp.bind(null,n,e),s)}function Nu(){}function Kp(e,n){var s=Ke();n=n===void 0?null:n;var l=s.memoizedState;return n!==null&&gu(n,l[1])?l[0]:(s.memoizedState=[e,n],e)}function Zp(e,n){var s=Ke();n=n===void 0?null:n;var l=s.memoizedState;if(n!==null&&gu(n,l[1]))return l[0];if(l=e(),ts){li(!0);try{e()}finally{li(!1)}}return s.memoizedState=[l,n],l}function Cu(e,n,s){return s===void 0||(Pn&1073741824)!==0&&(je&261930)===0?e.memoizedState=n:(e.memoizedState=s,e=Ig(),xe.lanes|=e,wi|=e,s)}function Ip(e,n,s,l){return Vt(s,n)?s:Bs.current!==null?(e=Cu(e,s,l),Vt(e,n)||(Je=!0),e):(Pn&42)===0||(Pn&1073741824)!==0&&(je&261930)===0?(Je=!0,e.memoizedState=s):(e=Ig(),xe.lanes|=e,wi|=e,n)}function $p(e,n,s,l,c){var d=X.p;X.p=d!==0&&8>d?d:8;var x=D.T,w={};D.T=w,Du(e,!1,n,s);try{var C=c(),U=D.S;if(U!==null&&U(w,C),C!==null&&typeof C=="object"&&typeof C.then=="function"){var Y=M2(C,l);Fa(e,n,Y,Gt(e))}else Fa(e,n,l,Gt(e))}catch(K){Fa(e,n,{then:function(){},status:"rejected",reason:K},Gt())}finally{X.p=d,x!==null&&w.types!==null&&(x.types=w.types),D.T=x}}function L2(){}function Ru(e,n,s,l){if(e.tag!==5)throw Error(r(476));var c=Wp(e).queue;$p(e,c,n,Z,s===null?L2:function(){return Jp(e),s(l)})}function Wp(e){var n=e.memoizedState;if(n!==null)return n;n={memoizedState:Z,baseState:Z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hn,lastRenderedState:Z},next:null};var s={};return n.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hn,lastRenderedState:s},next:null},e.memoizedState=n,e=e.alternate,e!==null&&(e.memoizedState=n),n}function Jp(e){var n=Wp(e);n.next===null&&(n=e.alternate.memoizedState),Fa(e,n.next.queue,{},Gt())}function Mu(){return dt(or)}function eg(){return Ke().memoizedState}function tg(){return Ke().memoizedState}function V2(e){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var s=Gt();e=pi(s);var l=gi(n,e,s);l!==null&&(Dt(l,n,s),Pa(l,n,s)),n={cache:au()},e.payload=n;return}n=n.return}}function U2(e,n,s){var l=Gt();s={lane:l,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Sl(e)?ig(n,s):(s=Kc(e,n,s,l),s!==null&&(Dt(s,e,l),sg(s,n,l)))}function ng(e,n,s){var l=Gt();Fa(e,n,s,l)}function Fa(e,n,s,l){var c={lane:l,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};if(Sl(e))ig(n,c);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=n.lastRenderedReducer,d!==null))try{var x=n.lastRenderedState,w=d(x,s);if(c.hasEagerState=!0,c.eagerState=w,Vt(w,x))return nl(e,n,c,0),Le===null&&tl(),!1}catch{}if(s=Kc(e,n,c,l),s!==null)return Dt(s,e,l),sg(s,n,l),!0}return!1}function Du(e,n,s,l){if(l={lane:2,revertLane:uf(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Sl(e)){if(n)throw Error(r(479))}else n=Kc(e,s,l,2),n!==null&&Dt(n,e,2)}function Sl(e){var n=e.alternate;return e===xe||n!==null&&n===xe}function ig(e,n){Ps=pl=!0;var s=e.pending;s===null?n.next=n:(n.next=s.next,s.next=n),e.pending=n}function sg(e,n,s){if((s&4194048)!==0){var l=n.lanes;l&=e.pendingLanes,s|=l,n.lanes=s,cm(e,s)}}var Xa={readContext:dt,use:xl,useCallback:Ye,useContext:Ye,useEffect:Ye,useImperativeHandle:Ye,useLayoutEffect:Ye,useInsertionEffect:Ye,useMemo:Ye,useReducer:Ye,useRef:Ye,useState:Ye,useDebugValue:Ye,useDeferredValue:Ye,useTransition:Ye,useSyncExternalStore:Ye,useId:Ye,useHostTransitionStatus:Ye,useFormState:Ye,useActionState:Ye,useOptimistic:Ye,useMemoCache:Ye,useCacheRefresh:Ye};Xa.useEffectEvent=Ye;var ag={readContext:dt,use:xl,useCallback:function(e,n){return vt().memoizedState=[e,n===void 0?null:n],e},useContext:dt,useEffect:qp,useImperativeHandle:function(e,n,s){s=s!=null?s.concat([e]):null,bl(4194308,4,Xp.bind(null,n,e),s)},useLayoutEffect:function(e,n){return bl(4194308,4,e,n)},useInsertionEffect:function(e,n){bl(4,2,e,n)},useMemo:function(e,n){var s=vt();n=n===void 0?null:n;var l=e();if(ts){li(!0);try{e()}finally{li(!1)}}return s.memoizedState=[l,n],l},useReducer:function(e,n,s){var l=vt();if(s!==void 0){var c=s(n);if(ts){li(!0);try{s(n)}finally{li(!1)}}}else c=n;return l.memoizedState=l.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},l.queue=e,e=e.dispatch=U2.bind(null,xe,e),[l.memoizedState,e]}
vendor: 6,301 bytes, line 8
8,useRef:function(e){var n=vt();return e={current:e},n.memoizedState=e},useState:function(e){e=ju(e);var n=e.queue,s=ng.bind(null,xe,n);return n.dispatch=s,[e.memoizedState,s]},useDebugValue:Nu,useDeferredValue:function(e,n){var s=vt();return Cu(s,e,n)},useTransition:function(){var e=ju(!1);return e=$p.bind(null,xe,e.queue,!0,!1),vt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,s){var l=xe,c=vt();if(Ae){if(s===void 0)throw Error(r(407));s=s()}else{if(s=n(),Le===null)throw Error(r(349));(je&127)!==0||Ap(l,n,s)}c.memoizedState=s;var d={value:s,getSnapshot:n};return c.queue=d,qp(Cp.bind(null,l,d,e),[e]),l.flags|=2048,qs(9,{destroy:void 0},Np.bind(null,l,d,s,n),null),s},useId:function(){var e=vt(),n=Le.identifierPrefix;if(Ae){var s=Sn,l=wn;s=(l&~(1<<32-Lt(l)-1)).toString(32)+s,n="_"+n+"R_"+s,s=gl++,0<s&&(n+="H"+s.toString(32)),n+="_"}else s=D2++,n="_"+n+"r_"+s.toString(32)+"_";return e.memoizedState=n},useHostTransitionStatus:Mu,useFormState:Vp,useActionState:Vp,useOptimistic:function(e){var n=vt();n.memoizedState=n.baseState=e;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=s,n=Du.bind(null,xe,!0,s),s.dispatch=n,[e,n]},useMemoCache:wu,useCacheRefresh:function(){return vt().memoizedState=V2.bind(null,xe)},useEffectEvent:function(e){var n=vt(),s={impl:e};return n.memoizedState=s,function(){if((Me&2)!==0)throw Error(r(440));return s.impl.apply(void 0,arguments)}}},Ou={readContext:dt,use:xl,useCallback:Kp,useContext:dt,useEffect:Au,useImperativeHandle:Qp,useInsertionEffect:Yp,useLayoutEffect:Fp,useMemo:Zp,useReducer:vl,useRef:Hp,useState:function(){return vl(Hn)},useDebugValue:Nu,useDeferredValue:function(e,n){var s=Ke();return Ip(s,_e.memoizedState,e,n)},useTransition:function(){var e=vl(Hn)[0],n=Ke().memoizedState;return[typeof e=="boolean"?e:Ya(e),n]},useSyncExternalStore:Ep,useId:eg,useHostTransitionStatus:Mu,useFormState:Up,useActionState:Up,useOptimistic:function(e,n){var s=Ke();return Dp(s,_e,e,n)},useMemoCache:wu,useCacheRefresh:tg};Ou.useEffectEvent=Gp;var rg={readContext:dt,use:xl,useCallback:Kp,useContext:dt,useEffect:Au,useImperativeHandle:Qp,useInsertionEffect:Yp,useLayoutEffect:Fp,useMemo:Zp,useReducer:Tu,useRef:Hp,useState:function(){return Tu(Hn)},useDebugValue:Nu,useDeferredValue:function(e,n){var s=Ke();return _e===null?Cu(s,e,n):Ip(s,_e.memoizedState,e,n)},useTransition:function(){var e=Tu(Hn)[0],n=Ke().memoizedState;return[typeof e=="boolean"?e:Ya(e),n]},useSyncExternalStore:Ep,useId:eg,useHostTransitionStatus:Mu,useFormState:Pp,useActionState:Pp,useOptimistic:function(e,n){var s=Ke();return _e!==null?Dp(s,_e,e,n):(s.baseState=e,[e,s.queue.dispatch])},useMemoCache:wu,useCacheRefresh:tg};rg.useEffectEvent=Gp;function _u(e,n,s,l){n=e.memoizedState,s=s(l,n),s=s==null?n:v({},n,s),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}var zu={enqueueSetState:function(e,n,s){e=e._reactInternals;var l=Gt(),c=pi(l);c.payload=n,s!=null&&(c.callback=s),n=gi(e,c,l),n!==null&&(Dt(n,e,l),Pa(n,e,l))},enqueueReplaceState:function(e,n,s){e=e._reactInternals;var l=Gt(),c=pi(l);c.tag=1,c.payload=n,s!=null&&(c.callback=s),n=gi(e,c,l),n!==null&&(Dt(n,e,l),Pa(n,e,l))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var s=Gt(),l=pi(s);l.tag=2,n!=null&&(l.callback=n),n=gi(e,l,s),n!==null&&(Dt(n,e,s),Pa(n,e,s))}};function lg(e,n,s,l,c,d,x){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,d,x):n.prototype&&n.prototype.isPureReactComponent?!Oa(s,l)||!Oa(c,d):!0}function og(e,n,s,l){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(s,l),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(s,l),n.state!==e&&zu.enqueueReplaceState(n,n.state,null)}function ns(e,n){var s=n;if("ref"in n){s={};for(var l in n)l!=="ref"&&(s[l]=n[l])}if(e=e.defaultProps){s===n&&(s=v({},s));for(var c in e)s[c]===void 0&&(s[c]=e[c])}return s}function cg(e){el(e)}function ug(e){console.error(e)}function fg(e){el(e)}function Tl(e,n){try{var s=e.onUncaughtError;s(n.value,{componentStack:n.stack})}catch(l){setTimeout(function(){throw l})}}function dg(e,n,s){try{var l=e.onCaughtError;l(s.value,{componentStack:s.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function ku(e,n,s){return s=pi(s),s.tag=3,s.payload={element:null},s.callback=function(){Tl(e,n)},s}function hg(e){return e=pi(e),e.tag=3,e}function mg(e,n,s,l){var c=s.type.getDerivedStateFromError;if(typeof c=="function"){var d=l.value;e.payload=function(){return c(d)},e.callback=function(){dg(n,s,l)}}var x=s.stateNode;x!==null&&typeof x.componentDidCatch=="function"&&(e.callback=function(){dg(n,s,l),typeof c!="function"&&(Si===null?Si=new Set([this]):Si.add(this));var w=l.stack;this.componentDidCatch(l.value,{componentStack:w!==null?w:""})})}function B2(e,n,s,l,c){if(s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(n=s.alternate,n!==null&&zs(n,s,c,!0),s=Bt.current,s!==null){switch(s.tag){case 31:case 13:return tn===null?kl():s.alternate===null&&Fe===0&&(Fe=3),s.flags&=-257,s.flags|=65536,s.lanes=c,l===ul?s.flags|=16384:(n=s.updateQueue,n===null?s.updateQueue=new Set([l]):n.add(l),lf(e,l,c)),!1;case 22:return s.flags|=65536,l===ul?s.flags|=16384:(n=s.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([l])},s.updateQueue=n):(s=n.retryQueue,s===null?n.retryQueue=new Set([l]):s.add(l)),lf(e,l,c)),!1}throw Error(r(435,s.tag))}return lf(e,l,c),kl(),!1}if(Ae)return n=Bt.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=c,l!==eu&&(e=Error(r(422),{cause:l}),ka($t(e,s)))):(l!==eu&&(n=Error(r(423),{cause:l}),ka($t(n,s))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,l=$t(l,s),c=ku(e.stateNode,l,c),fu(e,c),Fe!==4&&(Fe=2)),!1;var d=Error(r(520),{cause:l});if(d=$t(d,s),er===null?er=[d]:er.push(d),Fe!==4&&(Fe=2),n===null)return!0;l=$t(l,s),s=n;do{switch(s.tag){case 3:return s.flags|=65536,e=c&-c,s.lanes|=e,e=ku(s.stateNode,l,e),fu(s,e),!1;case 1:if(n=s.type,d=s.stateNode,(s.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Si===null||!Si.has(d))))return s.flags|=65536,c&=-c,s.lanes|=c,c=hg(c),mg(c,e,
vendor: 12,395 bytes, line 8
8s,l),fu(s,c),!1}s=s.return}while(s!==null);return!1}var Lu=Error(r(461)),Je=!1;function ht(e,n,s,l){n.child=e===null?xp(n,null,s,l):es(n,e.child,s,l)}function pg(e,n,s,l,c){s=s.render;var d=n.ref;if("ref"in l){var x={};for(var w in l)w!=="ref"&&(x[w]=l[w])}else x=l;return Ii(n),l=yu(e,n,s,x,d,c),w=xu(),e!==null&&!Je?(vu(e,n,c),qn(e,n,c)):(Ae&&w&&Wc(n),n.flags|=1,ht(e,n,l,c),n.child)}function gg(e,n,s,l,c){if(e===null){var d=s.type;return typeof d=="function"&&!Zc(d)&&d.defaultProps===void 0&&s.compare===null?(n.tag=15,n.type=d,yg(e,n,d,l,c)):(e=sl(s.type,null,l,n,n.mode,c),e.ref=n.ref,e.return=n,n.child=e)}if(d=e.child,!Yu(e,c)){var x=d.memoizedProps;if(s=s.compare,s=s!==null?s:Oa,s(x,l)&&e.ref===n.ref)return qn(e,n,c)}return n.flags|=1,e=Ln(d,l),e.ref=n.ref,e.return=n,n.child=e}function yg(e,n,s,l,c){if(e!==null){var d=e.memoizedProps;if(Oa(d,l)&&e.ref===n.ref)if(Je=!1,n.pendingProps=l=d,Yu(e,c))(e.flags&131072)!==0&&(Je=!0);else return n.lanes=e.lanes,qn(e,n,c)}return Vu(e,n,s,l,c)}function xg(e,n,s,l){var c=l.children,d=e!==null?e.memoizedState:null;if(e===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((n.flags&128)!==0){if(d=d!==null?d.baseLanes|s:s,e!==null){for(l=n.child=e.child,c=0;l!==null;)c=c|l.lanes|l.childLanes,l=l.sibling;l=c&~d}else l=0,n.child=null;return vg(e,n,d,s,l)}if((s&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},e!==null&&ol(n,d!==null?d.cachePool:null),d!==null?wp(n,d):hu(),Sp(n);else return l=n.lanes=536870912,vg(e,n,d!==null?d.baseLanes|s:s,s,l)}else d!==null?(ol(n,d.cachePool),wp(n,d),xi(),n.memoizedState=null):(e!==null&&ol(n,null),hu(),xi());return ht(e,n,c,s),n.child}function Qa(e,n){return e!==null&&e.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function vg(e,n,s,l,c){var d=lu();return d=d===null?null:{parent:$e._currentValue,pool:d},n.memoizedState={baseLanes:s,cachePool:d},e!==null&&ol(n,null),hu(),Sp(n),e!==null&&zs(e,n,l,!0),n.childLanes=c,null}function jl(e,n){return n=Al({mode:n.mode,children:n.children},e.mode),n.ref=e.ref,e.child=n,n.return=e,n}function bg(e,n,s){return es(n,e.child,null,s),e=jl(n,n.pendingProps),e.flags|=2,Pt(n),n.memoizedState=null,e}function P2(e,n,s){var l=n.pendingProps,c=(n.flags&128)!==0;if(n.flags&=-129,e===null){if(Ae){if(l.mode==="hidden")return e=jl(n,l),n.lanes=536870912,Qa(null,e);if(pu(n),(e=He)?(e=Oy(e,en),e=e!==null&&e.data==="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:ui!==null?{id:wn,overflow:Sn}:null,retryLane:536870912,hydrationErrors:null},s=ip(e),s.return=n,n.child=s,ft=n,He=null)):e=null,e===null)throw di(n);return n.lanes=536870912,null}return jl(n,l)}var d=e.memoizedState;if(d!==null){var x=d.dehydrated;if(pu(n),c)if(n.flags&256)n.flags&=-257,n=bg(e,n,s);else if(n.memoizedState!==null)n.child=e.child,n.flags|=128,n=null;else throw Error(r(558));else if(Je||zs(e,n,s,!1),c=(s&e.childLanes)!==0,Je||c){if(l=Le,l!==null&&(x=um(l,s),x!==0&&x!==d.retryLane))throw d.retryLane=x,Xi(e,x),Dt(l,e,x),Lu;kl(),n=bg(e,n,s)}else e=d.treeContext,He=nn(x.nextSibling),ft=n,Ae=!0,fi=null,en=!1,e!==null&&rp(n,e),n=jl(n,l),n.flags|=4096;return n}return e=Ln(e.child,{mode:l.mode,children:l.children}),e.ref=n.ref,n.child=e,e.return=n,e}function El(e,n){var s=n.ref;if(s===null)e!==null&&e.ref!==null&&(n.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(r(284));(e===null||e.ref!==s)&&(n.flags|=4194816)}}function Vu(e,n,s,l,c){return Ii(n),s=yu(e,n,s,l,void 0,c),l=xu(),e!==null&&!Je?(vu(e,n,c),qn(e,n,c)):(Ae&&l&&Wc(n),n.flags|=1,ht(e,n,s,c),n.child)}function wg(e,n,s,l,c,d){return Ii(n),n.updateQueue=null,s=jp(n,l,s,c),Tp(e),l=xu(),e!==null&&!Je?(vu(e,n,d),qn(e,n,d)):(Ae&&l&&Wc(n),n.flags|=1,ht(e,n,s,d),n.child)}function Sg(e,n,s,l,c){if(Ii(n),n.stateNode===null){var d=Ms,x=s.contextType;typeof x=="object"&&x!==null&&(d=dt(x)),d=new s(l,d),n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=zu,n.stateNode=d,d._reactInternals=n,d=n.stateNode,d.props=l,d.state=n.memoizedState,d.refs={},cu(n),x=s.contextType,d.context=typeof x=="object"&&x!==null?dt(x):Ms,d.state=n.memoizedState,x=s.getDerivedStateFromProps,typeof x=="function"&&(_u(n,s,x,l),d.state=n.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(x=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),x!==d.state&&zu.enqueueReplaceState(d,d.state,null),qa(n,l,d,c),Ha(),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308),l=!0}else if(e===null){d=n.stateNode;var w=n.memoizedProps,C=ns(s,w);d.props=C;var U=d.context,Y=s.contextType;x=Ms,typeof Y=="object"&&Y!==null&&(x=dt(Y));var K=s.getDerivedStateFromProps;Y=typeof K=="function"||typeof d.getSnapshotBeforeUpdate=="function",w=n.pendingProps!==w,Y||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(w||U!==x)&&og(n,d,l,x),mi=!1;var B=n.memoizedState;d.state=B,qa(n,l,d,c),Ha(),U=n.memoizedState,w||B!==U||mi?(typeof K=="function"&&(_u(n,s,K,l),U=n.memoizedState),(C=mi||lg(n,s,C,l,B,U,x))?(Y||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(n.flags|=4194308)):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=l,n.memoizedState=U),d.props=l,d.state=U,d.context=x,l=C):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),l=!1)}else{d=n.stateNode,uu(e,n),x=n.memoizedProps,Y=ns(s,x),d.props=Y,K=n.pendingProps,B=d.context,U=s.contextType,C=Ms,typeof U=="object"&&U!==null&&(C=dt(U)),w=s.getDerivedStateFromProps,(U=typeof w=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(x!==K||B!==C)&&og(n,d,l,C),mi=!1,B=n.memoizedState,d.state=B,qa(n,l,d,c),Ha();var H=n.memoizedState;x!==K||B!==H||mi||e!==null&&e.dependencies!==null&&rl(e.dependencies)?(typeof w=="function"&&(_u(n,s,w,l),H=n.memoizedState),(Y=mi||lg(n,s,Y,l,B,H,C)||e!==null&&e.dependencies!==null&&rl(e.dependencies))?(U||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(l,H,C),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(l,H,C)),typeof d.componentDidUpdate=="function"&&(n.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof d.componentDidUpdate!="function"||x===e.memoizedProps&&B===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||x===e.memoizedProps&&B===e.memoizedState||(n.flags|=1024),n.memoizedProps=l,n.memoizedState=H),d.props=l,d.state=H,d.context=C,l=Y):(typeof d.componentDidUpdate!="function"||x===e.memoizedProps&&B===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||x===e.memoizedProps&&B===e.memoizedState||(n.flags|=1024),l=!1)}return d=l,El(e,n),l=(n.flags&128)!==0,d||l?(d=n.stateNode,s=l&&typeof s.getDerivedStateFromError!="function"?null:d.render(),n.flags|=1,e!==null&&l?(n.child=es(n,e.child,null,c),n.child=es(n,null,s,c)):ht(e,n,s,c),n.memoizedState=d.state,e=n.child):e=qn(e,n,c),e}function Tg(e,n,s,l){return Ki(),n.flags|=256,ht(e,n,s,l),n.child}var Uu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Bu(e){return{baseLanes:e,cachePool:dp()}}function Pu(e,n,s){return e=e!==null?e.childLanes&~s:0,n&&(e|=qt),e}function jg(e,n,s){var l=n.pendingProps,c=!1,d=(n.flags&128)!==0,x;if((x=d)||(x=e!==null&&e.memoizedState===null?!1:(Qe.current&2)!==0),x&&(c=!0,n.flags&=-129),x=(n.flags&32)!==0,n.flags&=-33,e===null){if(Ae){if(c?yi(n):xi(),(e=He)?(e=Oy(e,en),e=e!==null&&e.data!=="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:ui!==null?{id:wn,overflow:Sn}:null,retryLane:536870912,hydrationErrors:null},s=ip(e),s.return=n,n.child=s,ft=n,He=null)):e=null,e===null)throw di(n);return Tf(e)?n.lanes=32:n.lanes=536870912,null}var w=l.children;return l=l.fallback,c?(xi(),c=n.mode,w=Al({mode:"hidden",children:w},c),l=Qi(l,c,s,null),w.return=n,l.return=n,w.sibling=l,n.child=w,l=n.child,l.memoizedState=Bu(s),l.childLanes=Pu(e,x,s),n.memoizedState=Uu,Qa(null,l)):(yi(n),Hu(n,w))}var C=e.memoizedState;if(C!==null&&(w=C.dehydrated,w!==null)){if(d)n.flags&256?(yi(n),n.flags&=-257,n=qu(e,n,s)):n.memoizedState!==null?(xi(),n.child=e.child,n.flags|=128,n=null):(xi(),w=l.fallback,c=n.mode,l=Al({mode:"visible",children:l.children},c),w=Qi(w,c,s,null),w.flags|=2,l.return=n,w.return=n,l.sibling=w,n.child=l,es(n,e.child,null,s),l=n.child,l.memoizedState=Bu(s),l.childLanes=Pu(e,x,s),n.memoizedState=Uu,n=Qa(null,l));else if(yi(n),Tf(w)){if(x=w.nextSibling&&w.nextSibling.dataset,x)var U=x.dgst;x=U,l=Error(r(419)),l.stack="",l.digest=x,ka({value:l,source:null,stack:null}),n=qu(e,n,s)}else if(Je||zs(e,n,s,!1),x=(s&e.childLanes)!==0,Je||x){if(x=Le,x!==null&&(l=um(x,s),l!==0&&l!==C.retryLane))throw C.retryLane=l,Xi(e,l),Dt(x,e,l),Lu;Sf(w)||kl(),n=qu(e,n,s)}else Sf(w)?(n.flags|=192,n.child=e.child,n=null):(e=C.treeContext,He=nn(w.nextSibling),ft=n,Ae=!0,fi=null,en=!1,e!==null&&rp(n,e),n=Hu(n,l.children),n.flags|=4096);return n}return c?(xi(),w=l.fallback,c=n.mode,C=e.child,U=C.sibling,l=Ln(C,{mode:"hidden",children:l.children}),l.subtreeFlags=C.subtreeFlags&65011712,U!==null?w=Ln(U,w):(w=Qi(w,c,s,null),w.flags|=2),w.return=n,l.return=n,l.sibling=w,n.child=l,Qa(null,l),l=n.child,w=e.child.memoizedState,w===null?w=Bu(s):(c=w.cachePool,c!==null?(C=$e._currentValue,c=c.parent!==C?{parent:C,pool:C}:c):c=dp(),w={baseLanes:w.baseLanes|s,cachePool:c}),l.memoizedState=w,l.childLanes=Pu(e,x,s),n.memoizedState=Uu,Qa(e.child,l)):(yi(n),s=e.child,e=s.sibling,s=Ln(s,{mode:"visible",children:l.children}),s.return=n,s.sibling=null,e!==null&&(x=n.deletions,x===null?(n.deletions=[e],n.flags|=16):x.push(e)),n.child=s,n.memoizedState=null,s)}function Hu(e,n){return n=Al({mode:"visible",children:n},e.mode),n.return=e,e.child=n}function Al(e,n){return e=Ut(22,e,null,n),e.lanes=0,e}function qu(e,n,s){return es(n,e.child,null,s),e=Hu(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function Eg(e,n,s){e.lanes|=n;var l=e.alternate;l!==null&&(l.lanes|=n),iu(e.return,n,s)}function Gu(e,n,s,l,c,d){var x=e.memoizedState;x===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:l,tail:s,tailMode:c,treeForkCount:d}:(x.isBackwards=n,x.rendering=null,x.renderingStartTime=0,x.last=l,x.tail=s,x.tailMode=c,x.treeForkCount=d)}function Ag(e,n,s){var l=n.pendingProps,c=l.revealOrder,d=l.tail;l=l.children;var x=Qe.current,w=(x&2)!==0;if(w?(x=x&1|2,n.flags|=128):x&=1,J(Qe,x),ht(e,n,l,s),l=Ae?za:0,!w&&e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Eg(e,s,n);else if(e.tag===19)Eg(e,s,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(s=n.child,c=null;s!==null;)e=s.alternate,e!==null&&ml(e)===null&&(c=s),s=s.sibling;s=c,s===null?(c=n.child,n.child=null):(c=s.sibling,s.sibling=null),Gu(n,!1,c,s,d,l);break;case"backwards":case"unstable_legacy-backwards":for(s=null,c=n.child,n.child=null;c!==null;){if(e=c.alternate,e!==null&&ml(e)===null){n.child=c;break}e=c.sibling,c.sibling=s,s=c,c=e}Gu(n,!0,s,null,d,l);break;case"together":Gu(n,!1,null,null,void 0,l);break;default:n.memoizedState=null}return n.child}function qn(e,n,s){if(e!==null&&(n.dependencies=e.dependencies),wi|=n.lanes,(s&n.childLanes)===0)if(e!==null){if(zs(e,n,s,!1),(s&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,s=Ln(e,e.pendingProps),n.child=s,s.return=n;e.sibling!==null;)e=e.sibling,s=s.sibling=Ln(e,e.pendingProps),s.return=n;s.sibling=null}return n.child}
vendor: 6,108 bytes, line 8
8function Yu(e,n){return(e.lanes&n)!==0?!0:(e=e.dependencies,!!(e!==null&&rl(e)))}function H2(e,n,s){switch(n.tag){case 3:Ie(n,n.stateNode.containerInfo),hi(n,$e,e.memoizedState.cache),Ki();break;case 27:case 5:cn(n);break;case 4:Ie(n,n.stateNode.containerInfo);break;case 10:hi(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,pu(n),null;break;case 13:var l=n.memoizedState;if(l!==null)return l.dehydrated!==null?(yi(n),n.flags|=128,null):(s&n.child.childLanes)!==0?jg(e,n,s):(yi(n),e=qn(e,n,s),e!==null?e.sibling:null);yi(n);break;case 19:var c=(e.flags&128)!==0;if(l=(s&n.childLanes)!==0,l||(zs(e,n,s,!1),l=(s&n.childLanes)!==0),c){if(l)return Ag(e,n,s);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),J(Qe,Qe.current),l)break;return null;case 22:return n.lanes=0,xg(e,n,s,n.pendingProps);case 24:hi(n,$e,e.memoizedState.cache)}return qn(e,n,s)}function Ng(e,n,s){if(e!==null)if(e.memoizedProps!==n.pendingProps)Je=!0;else{if(!Yu(e,s)&&(n.flags&128)===0)return Je=!1,H2(e,n,s);Je=(e.flags&131072)!==0}else Je=!1,Ae&&(n.flags&1048576)!==0&&ap(n,za,n.index);switch(n.lanes=0,n.tag){case 16:e:{var l=n.pendingProps;if(e=Wi(n.elementType),n.type=e,typeof e=="function")Zc(e)?(l=ns(e,l),n.tag=1,n=Sg(null,n,e,l,s)):(n.tag=0,n=Vu(null,n,e,l,s));else{if(e!=null){var c=e.$$typeof;if(c===z){n.tag=11,n=pg(null,n,e,l,s);break e}else if(c===P){n.tag=14,n=gg(null,n,e,l,s);break e}}throw n=ue(e)||e,Error(r(306,n,""))}}return n;case 0:return Vu(e,n,n.type,n.pendingProps,s);case 1:return l=n.type,c=ns(l,n.pendingProps),Sg(e,n,l,c,s);case 3:e:{if(Ie(n,n.stateNode.containerInfo),e===null)throw Error(r(387));l=n.pendingProps;var d=n.memoizedState;c=d.element,uu(e,n),qa(n,l,null,s);var x=n.memoizedState;if(l=x.cache,hi(n,$e,l),l!==d.cache&&su(n,[$e],s,!0),Ha(),l=x.element,d.isDehydrated)if(d={element:l,isDehydrated:!1,cache:x.cache},n.updateQueue.baseState=d,n.memoizedState=d,n.flags&256){n=Tg(e,n,l,s);break e}else if(l!==c){c=$t(Error(r(424)),n),ka(c),n=Tg(e,n,l,s);break e}else for(e=n.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,He=nn(e.firstChild),ft=n,Ae=!0,fi=null,en=!0,s=xp(n,null,l,s),n.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(Ki(),l===c){n=qn(e,n,s);break e}ht(e,n,l,s)}n=n.child}return n;case 26:return El(e,n),e===null?(s=Uy(n.type,null,n.pendingProps,null))?n.memoizedState=s:Ae||(s=n.type,e=n.pendingProps,l=ql(fe.current).createElement(s),l[ut]=n,l[Et]=e,mt(l,s,e),lt(l),n.stateNode=l):n.memoizedState=Uy(n.type,e.memoizedProps,n.pendingProps,e.memoizedState),null;case 27:return cn(n),e===null&&Ae&&(l=n.stateNode=ky(n.type,n.pendingProps,fe.current),ft=n,en=!0,c=He,Ai(n.type)?(jf=c,He=nn(l.firstChild)):He=c),ht(e,n,n.pendingProps.children,s),El(e,n),e===null&&(n.flags|=4194304),n.child;case 5:return e===null&&Ae&&((c=l=He)&&(l=yT(l,n.type,n.pendingProps,en),l!==null?(n.stateNode=l,ft=n,He=nn(l.firstChild),en=!1,c=!0):c=!1),c||di(n)),cn(n),c=n.type,d=n.pendingProps,x=e!==null?e.memoizedProps:null,l=d.children,vf(c,d)?l=null:x!==null&&vf(c,x)&&(n.flags|=32),n.memoizedState!==null&&(c=yu(e,n,O2,null,null,s),or._currentValue=c),El(e,n),ht(e,n,l,s),n.child;case 6:return e===null&&Ae&&((e=s=He)&&(s=xT(s,n.pendingProps,en),s!==null?(n.stateNode=s,ft=n,He=null,e=!0):e=!1),e||di(n)),null;case 13:return jg(e,n,s);case 4:return Ie(n,n.stateNode.containerInfo),l=n.pendingProps,e===null?n.child=es(n,null,l,s):ht(e,n,l,s),n.child;case 11:return pg(e,n,n.type,n.pendingProps,s);case 7:return ht(e,n,n.pendingProps,s),n.child;case 8:return ht(e,n,n.pendingProps.children,s),n.child;case 12:return ht(e,n,n.pendingProps.children,s),n.child;case 10:return l=n.pendingProps,hi(n,n.type,l.value),ht(e,n,l.children,s),n.child;case 9:return c=n.type._context,l=n.pendingProps.children,Ii(n),c=dt(c),l=l(c),n.flags|=1,ht(e,n,l,s),n.child;case 14:return gg(e,n,n.type,n.pendingProps,s);case 15:return yg(e,n,n.type,n.pendingProps,s);case 19:return Ag(e,n,s);case 31:return P2(e,n,s);case 22:return xg(e,n,s,n.pendingProps);case 24:return Ii(n),l=dt($e),e===null?(c=lu(),c===null&&(c=Le,d=au(),c.pooledCache=d,d.refCount++,d!==null&&(c.pooledCacheLanes|=s),c=d),n.memoizedState={parent:l,cache:c},cu(n),hi(n,$e,c)):((e.lanes&s)!==0&&(uu(e,n),qa(n,null,null,s),Ha()),c=e.memoizedState,d=n.memoizedState,c.parent!==l?(c={parent:l,cache:l},n.memoizedState=c,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=c),hi(n,$e,l)):(l=d.cache,hi(n,$e,l),l!==c.cache&&su(n,[$e],s,!0))),ht(e,n,n.pendingProps.children,s),n.child;case 29:throw n.pendingProps}throw Error(r(156,n.tag))}function Gn(e){e.flags|=4}function Fu(e,n,s,l,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(ey())e.flags|=8192;else throw Ji=ul,ou}else e.flags&=-16777217}function Cg(e,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Gy(n))if(ey())e.flags|=8192;else throw Ji=ul,ou}function Nl(e,n){n!==null&&(e.flags|=4),e.flags&16384&&(n=e.tag!==22?lm():536870912,e.lanes|=n,Xs|=n)}function Ka(e,n){if(!Ae)switch(e.tailMode){case"hidden":n=e.tail;for(var s=null;n!==null;)n.alternate!==null&&(s=n),n=n.sibling;s===null?e.tail=null:s.sibling=null;break;case"collapsed":s=e.tail;for(var l=null;s!==null;)s.alternate!==null&&(l=s),s=s.sibling;l===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function qe(e){var n=e.alternate!==null&&e.alternate.child===e.child,s=0,l=0;if(n)for(var c=e.child;c!==null;)s|=c.lanes|c.childLanes,l|=c.subtreeFlags&65011712,l|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)s|=c.lanes|c.childLanes,l|=c.subtreeFlags,l|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=l,e.childLanes=s,n}function q2(e,n,s){var l=n.pendingProps;switch(Jc(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qe(n),null;case 1:return qe(n),null;case 3:return s=n.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),n.memoizedState.cache!==l&&(n.flags|=2048),Bn($e),ge(),s.pe
vendor: 5,205 bytes, line 8
8ndingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&(_s(n)?Gn(n):e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,tu())),qe(n),null;case 26:var c=n.type,d=n.memoizedState;return e===null?(Gn(n),d!==null?(qe(n),Cg(n,d)):(qe(n),Fu(n,c,null,l,s))):d?d!==e.memoizedState?(Gn(n),qe(n),Cg(n,d)):(qe(n),n.flags&=-16777217):(e=e.memoizedProps,e!==l&&Gn(n),qe(n),Fu(n,c,e,l,s)),null;case 27:if(un(n),s=fe.current,c=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==l&&Gn(n);else{if(!l){if(n.stateNode===null)throw Error(r(166));return qe(n),null}e=ne.current,_s(n)?lp(n):(e=ky(c,l,s),n.stateNode=e,Gn(n))}return qe(n),null;case 5:if(un(n),c=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==l&&Gn(n);else{if(!l){if(n.stateNode===null)throw Error(r(166));return qe(n),null}if(d=ne.current,_s(n))lp(n);else{var x=ql(fe.current);switch(d){case 1:d=x.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:d=x.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":d=x.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":d=x.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":d=x.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof l.is=="string"?x.createElement("select",{is:l.is}):x.createElement("select"),l.multiple?d.multiple=!0:l.size&&(d.size=l.size);break;default:d=typeof l.is=="string"?x.createElement(c,{is:l.is}):x.createElement(c)}}d[ut]=n,d[Et]=l;e:for(x=n.child;x!==null;){if(x.tag===5||x.tag===6)d.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=d;e:switch(mt(d,c,l),c){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&Gn(n)}}return qe(n),Fu(n,n.type,e===null?null:e.memoizedProps,n.pendingProps,s),null;case 6:if(e&&n.stateNode!=null)e.memoizedProps!==l&&Gn(n);else{if(typeof l!="string"&&n.stateNode===null)throw Error(r(166));if(e=fe.current,_s(n)){if(e=n.stateNode,s=n.memoizedProps,l=null,c=ft,c!==null)switch(c.tag){case 27:case 5:l=c.memoizedProps}e[ut]=n,e=!!(e.nodeValue===s||l!==null&&l.suppressHydrationWarning===!0||jy(e.nodeValue,s)),e||di(n,!0)}else e=ql(e).createTextNode(l),e[ut]=n,n.stateNode=e}return qe(n),null;case 31:if(s=n.memoizedState,e===null||e.memoizedState!==null){if(l=_s(n),s!==null){if(e===null){if(!l)throw Error(r(318));if(e=n.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[ut]=n}else Ki(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;qe(n),e=!1}else s=tu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),e=!0;if(!e)return n.flags&256?(Pt(n),n):(Pt(n),null);if((n.flags&128)!==0)throw Error(r(558))}return qe(n),null;case 13:if(l=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=_s(n),l!==null&&l.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[ut]=n}else Ki(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;qe(n),c=!1}else c=tu(),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=s,n):(s=l!==null,e=e!==null&&e.memoizedState!==null,s&&(l=n.child,c=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(c=l.alternate.memoizedState.cachePool.pool),d=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(d=l.memoizedState.cachePool.pool),d!==c&&(l.flags|=2048)),s!==e&&s&&(n.child.flags|=8192),Nl(n,n.updateQueue),qe(n),null);case 4:return ge(),e===null&&mf(n.stateNode.containerInfo),qe(n),null;case 10:return Bn(n.type),qe(n),null;case 19:if(F(Qe),l=n.memoizedState,l===null)return qe(n),null;if(c=(n.flags&128)!==0,d=l.rendering,d===null)if(c)Ka(l,!1);else{if(Fe!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(d=ml(e),d!==null){for(n.flags|=128,Ka(l,!1),e=d.updateQueue,n.updateQueue=e,Nl(n,e),n.subtreeFlags=0,e=s,s=n.child;s!==null;)np(s,e),s=s.sibling;return J(Qe,Qe.current&1|2),Ae&&Vn(n,l.treeForkCount),n.child}e=e.sibling}l.tail!==null&&zt()>Ol&&(n.flags|=128,c=!0,Ka(l,!1),n.lanes=4194304)}else{if(!c)if(e=ml(d),e!==null){if(n.flags|=128,c=!0,e=e.updateQueue,n.updateQueue=e,Nl(n,e),Ka(l,!0),l.tail===null&&l.tailMode==="hidden"&&!d.alternate&&!Ae)return qe(n),null}else 2*zt()-l.renderingStartTime>Ol&&s!==536870912&&(n.flags|=128,c=!0,Ka(l,!1),n.lanes=4194304);l.isBackwards?(d.sibling=n.child,n.child=d):(e=l.last,e!==null?e.sibling=d:n.child=d,l.last=d)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=zt(),e.sibling=null,s=Qe.current,J(Qe,c?s&1|2:s&1),Ae&&Vn(n,l.treeForkCount),e):(qe(n),null);case 22:case 23:return Pt(n),mu(),l=n.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(n.flags|=8192):l&&(n.flags|=8192),l?(s&536870912)!==0&&(n.flags&128)===0&&(qe
vendor: 21,690 bytes, line 8
8(n),n.subtreeFlags&6&&(n.flags|=8192)):qe(n),s=n.updateQueue,s!==null&&Nl(n,s.retryQueue),s=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(s=e.memoizedState.cachePool.pool),l=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(l=n.memoizedState.cachePool.pool),l!==s&&(n.flags|=2048),e!==null&&F($i),null;case 24:return s=null,e!==null&&(s=e.memoizedState.cache),n.memoizedState.cache!==s&&(n.flags|=2048),Bn($e),qe(n),null;case 25:return null;case 30:return null}throw Error(r(156,n.tag))}function G2(e,n){switch(Jc(n),n.tag){case 1:return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return Bn($e),ge(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 26:case 27:case 5:return un(n),null;case 31:if(n.memoizedState!==null){if(Pt(n),n.alternate===null)throw Error(r(340));Ki()}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));Ki()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return F(Qe),null;case 4:return ge(),null;case 10:return Bn(n.type),null;case 22:case 23:return Pt(n),mu(),e!==null&&F($i),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 24:return Bn($e),null;case 25:return null;default:return null}}function Rg(e,n){switch(Jc(n),n.tag){case 3:Bn($e),ge();break;case 26:case 27:case 5:un(n);break;case 4:ge();break;case 31:n.memoizedState!==null&&Pt(n);break;case 13:Pt(n);break;case 19:F(Qe);break;case 10:Bn(n.type);break;case 22:case 23:Pt(n),mu(),e!==null&&F($i);break;case 24:Bn($e)}}function Za(e,n){try{var s=n.updateQueue,l=s!==null?s.lastEffect:null;if(l!==null){var c=l.next;s=c;do{if((s.tag&e)===e){l=void 0;var d=s.create,x=s.inst;l=d(),x.destroy=l}s=s.next}while(s!==c)}}catch(w){Oe(n,n.return,w)}}function vi(e,n,s){try{var l=n.updateQueue,c=l!==null?l.lastEffect:null;if(c!==null){var d=c.next;l=d;do{if((l.tag&e)===e){var x=l.inst,w=x.destroy;if(w!==void 0){x.destroy=void 0,c=n;var C=s,U=w;try{U()}catch(Y){Oe(c,C,Y)}}}l=l.next}while(l!==d)}}catch(Y){Oe(n,n.return,Y)}}function Mg(e){var n=e.updateQueue;if(n!==null){var s=e.stateNode;try{bp(n,s)}catch(l){Oe(e,e.return,l)}}}function Dg(e,n,s){s.props=ns(e.type,e.memoizedProps),s.state=e.memoizedState;try{s.componentWillUnmount()}catch(l){Oe(e,n,l)}}function Ia(e,n){try{var s=e.ref;if(s!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof s=="function"?e.refCleanup=s(l):s.current=l}}catch(c){Oe(e,n,c)}}function Tn(e,n){var s=e.ref,l=e.refCleanup;if(s!==null)if(typeof l=="function")try{l()}catch(c){Oe(e,n,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(c){Oe(e,n,c)}else s.current=null}function Og(e){var n=e.type,s=e.memoizedProps,l=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":s.autoFocus&&l.focus();break e;case"img":s.src?l.src=s.src:s.srcSet&&(l.srcset=s.srcSet)}}catch(c){Oe(e,e.return,c)}}function Xu(e,n,s){try{var l=e.stateNode;fT(l,e.type,s,n),l[Et]=n}catch(c){Oe(e,e.return,c)}}function _g(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ai(e.type)||e.tag===4}function Qu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_g(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&&Ai(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 Ku(e,n,s){var l=e.tag;if(l===5||l===6)e=e.stateNode,n?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(e,n):(n=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,n.appendChild(e),s=s._reactRootContainer,s!=null||n.onclick!==null||(n.onclick=zn));else if(l!==4&&(l===27&&Ai(e.type)&&(s=e.stateNode,n=null),e=e.child,e!==null))for(Ku(e,n,s),e=e.sibling;e!==null;)Ku(e,n,s),e=e.sibling}function Cl(e,n,s){var l=e.tag;if(l===5||l===6)e=e.stateNode,n?s.insertBefore(e,n):s.appendChild(e);else if(l!==4&&(l===27&&Ai(e.type)&&(s=e.stateNode),e=e.child,e!==null))for(Cl(e,n,s),e=e.sibling;e!==null;)Cl(e,n,s),e=e.sibling}function zg(e){var n=e.stateNode,s=e.memoizedProps;try{for(var l=e.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);mt(n,l,s),n[ut]=e,n[Et]=s}catch(d){Oe(e,e.return,d)}}var Yn=!1,et=!1,Zu=!1,kg=typeof WeakSet=="function"?WeakSet:Set,ot=null;function Y2(e,n){if(e=e.containerInfo,yf=Zl,e=Qm(e),qc(e)){if("selectionStart"in e)var s={start:e.selectionStart,end:e.selectionEnd};else e:{s=(s=e.ownerDocument)&&s.defaultView||window;var l=s.getSelection&&s.getSelection();if(l&&l.rangeCount!==0){s=l.anchorNode;var c=l.anchorOffset,d=l.focusNode;l=l.focusOffset;try{s.nodeType,d.nodeType}catch{s=null;break e}var x=0,w=-1,C=-1,U=0,Y=0,K=e,B=null;t:for(;;){for(var H;K!==s||c!==0&&K.nodeType!==3||(w=x+c),K!==d||l!==0&&K.nodeType!==3||(C=x+l),K.nodeType===3&&(x+=K.nodeValue.length),(H=K.firstChild)!==null;)B=K,K=H;for(;;){if(K===e)break t;if(B===s&&++U===c&&(w=x),B===d&&++Y===l&&(C=x),(H=K.nextSibling)!==null)break;K=B,B=K.parentNode}K=H}s=w===-1||C===-1?null:{start:w,end:C}}else s=null}s=s||{start:0,end:0}}else s=null;for(xf={focusedElem:e,selectionRange:s},Zl=!1,ot=n;ot!==null;)if(n=ot,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,ot=e;else for(;ot!==null;){switch(n=ot,d=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(s=0;s<e.length;s++)c=e[s],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,s=n,c=d.memoizedProps,d=d.memoizedState,l=s.stateNode;try{var re=ns(s.type,c);e=l.getSnapshotBeforeUpdate(re,d),l.__reactInternalSnapshotBeforeUpdate=e}catch(me){Oe(s,s.return,me)}}break;case 3:if((e&1024)!==0){if(e=n.stateNode.containerInfo,s=e.nodeType,s===9)wf(e);else if(s===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":wf(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,ot=e;break}ot=n.return}}function Lg(e,n,s){var l=s.flags;switch(s.tag){case 0:case 11:case 15:Xn(e,s),l&4&&Za(5,s);break;case 1:if(Xn(e,s),l&4)if(e=s.stateNode,n===null)try{e.componentDidMount()}catch(x){Oe(s,s.return,x)}else{var c=ns(s.type,n.memoizedProps);n=n.memoizedState;try{e.componentDidUpdate(c,n,e.__reactInternalSnapshotBeforeUpdate)}catch(x){Oe(s,s.return,x)}}l&64&&Mg(s),l&512&&Ia(s,s.return);break;case 3:if(Xn(e,s),l&64&&(e=s.updateQueue,e!==null)){if(n=null,s.child!==null)switch(s.child.tag){case 27:case 5:n=s.child.stateNode;break;case 1:n=s.child.stateNode}try{bp(e,n)}catch(x){Oe(s,s.return,x)}}break;case 27:n===null&&l&4&&zg(s);case 26:case 5:Xn(e,s),n===null&&l&4&&Og(s),l&512&&Ia(s,s.return);break;case 12:Xn(e,s);break;case 31:Xn(e,s),l&4&&Bg(e,s);break;case 13:Xn(e,s),l&4&&Pg(e,s),l&64&&(e=s.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(s=J2.bind(null,s),vT(e,s))));break;case 22:if(l=s.memoizedState!==null||Yn,!l){n=n!==null&&n.memoizedState!==null||et,c=Yn;var d=et;Yn=l,(et=n)&&!d?Qn(e,s,(s.subtreeFlags&8772)!==0):Xn(e,s),Yn=c,et=d}break;case 30:break;default:Xn(e,s)}}function Vg(e){var n=e.alternate;n!==null&&(e.alternate=null,Vg(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&Ec(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 Ge=null,Nt=!1;function Fn(e,n,s){for(s=s.child;s!==null;)Ug(e,n,s),s=s.sibling}function Ug(e,n,s){if(kt&&typeof kt.onCommitFiberUnmount=="function")try{kt.onCommitFiberUnmount(ba,s)}catch{}switch(s.tag){case 26:et||Tn(s,n),Fn(e,n,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:et||Tn(s,n);var l=Ge,c=Nt;Ai(s.type)&&(Ge=s.stateNode,Nt=!1),Fn(e,n,s),ar(s.stateNode),Ge=l,Nt=c;break;case 5:et||Tn(s,n);case 6:if(l=Ge,c=Nt,Ge=null,Fn(e,n,s),Ge=l,Nt=c,Ge!==null)if(Nt)try{(Ge.nodeType===9?Ge.body:Ge.nodeName==="HTML"?Ge.ownerDocument.body:Ge).removeChild(s.stateNode)}catch(d){Oe(s,n,d)}else try{Ge.removeChild(s.stateNode)}catch(d){Oe(s,n,d)}break;case 18:Ge!==null&&(Nt?(e=Ge,My(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,s.stateNode),ea(e)):My(Ge,s.stateNode));break;case 4:l=Ge,c=Nt,Ge=s.stateNode.containerInfo,Nt=!0,Fn(e,n,s),Ge=l,Nt=c;break;case 0:case 11:case 14:case 15:vi(2,s,n),et||vi(4,s,n),Fn(e,n,s);break;case 1:et||(Tn(s,n),l=s.stateNode,typeof l.componentWillUnmount=="function"&&Dg(s,n,l)),Fn(e,n,s);break;case 21:Fn(e,n,s);break;case 22:et=(l=et)||s.memoizedState!==null,Fn(e,n,s),et=l;break;default:Fn(e,n,s)}}function Bg(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ea(e)}catch(s){Oe(n,n.return,s)}}}function Pg(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ea(e)}catch(s){Oe(n,n.return,s)}}function F2(e){switch(e.tag){case 31:case 13:case 19:var n=e.stateNode;return n===null&&(n=e.stateNode=new kg),n;case 22:return e=e.stateNode,n=e._retryCache,n===null&&(n=e._retryCache=new kg),n;default:throw Error(r(435,e.tag))}}function Rl(e,n){var s=F2(e);n.forEach(function(l){if(!s.has(l)){s.add(l);var c=eT.bind(null,e,l);l.then(c,c)}})}function Ct(e,n){var s=n.deletions;if(s!==null)for(var l=0;l<s.length;l++){var c=s[l],d=e,x=n,w=x;e:for(;w!==null;){switch(w.tag){case 27:if(Ai(w.type)){Ge=w.stateNode,Nt=!1;break e}break;case 5:Ge=w.stateNode,Nt=!1;break e;case 3:case 4:Ge=w.stateNode.containerInfo,Nt=!0;break e}w=w.return}if(Ge===null)throw Error(r(160));Ug(d,x,c),Ge=null,Nt=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)Hg(n,e),n=n.sibling}var dn=null;function Hg(e,n){var s=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ct(n,e),Rt(e),l&4&&(vi(3,e,e.return),Za(3,e),vi(5,e,e.return));break;case 1:Ct(n,e),Rt(e),l&512&&(et||s===null||Tn(s,s.return)),l&64&&Yn&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(s=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=s===null?l:s.concat(l))));break;case 26:var c=dn;if(Ct(n,e),Rt(e),l&512&&(et||s===null||Tn(s,s.return)),l&4){var d=s!==null?s.memoizedState:null;if(l=e.memoizedState,s===null)if(l===null)if(e.stateNode===null){e:{l=e.type,s=e.memoizedProps,c=c.ownerDocument||c;t:switch(l){case"title":d=c.getElementsByTagName("title")[0],(!d||d[Ta]||d[ut]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=c.createElement(l),c.head.insertBefore(d,c.querySelector("head > title"))),mt(d,l,s),d[ut]=e,lt(d),l=d;break e;case"link":var x=Hy("link","href",c).get(l+(s.href||""));if(x){for(var w=0;w<x.length;w++)if(d=x[w],d.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&d.getAttribute("rel")===(s.rel==null?null:s.rel)&&d.getAttribute("title")===(s.title==null?null:s.title)&&d.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){x.splice(w,1);break t}}d=c.createElement(l),mt(d,l,s),c.head.appendChild(d);break;case"meta":if(x=Hy("meta","content",c).get(l+(s.content||""))){for(w=0;w<x.length;w++)if(d=x[w],d.getAttribute("content")===(s.content==null?null:""+s.content)&&d.getAttribute("name")===(s.name==null?null:s.name)&&d.getAttribute("property")===(s.property==null?null:s.property)&&d.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&d.getAttribute("charset")===(s.charSet==null?null:s.charSet)){x.splice(w,1);break t}}d=c.createElement(l),mt(d,l,s),c.head.appendChild(d);break;default:throw Error(r(468,l))}d[ut]=e,lt(d),l=d}e.stateNode=l}else qy(c,e.type,e.stateNode);else e.stateNode=Py(c,l,e.memoizedProps);else d!==l?(d===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):d.count--,l===null?qy(c,e.type,e.stateNode):Py(c,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Xu(e,e.memoizedProps,s.memoizedProps)}break;case 27:Ct(n,e),Rt(e),l&512&&(et||s===null||Tn(s,s.return)),s!==null&&l&4&&Xu(e,e.memoizedProps,s.memoizedProps);break;case 5:if(Ct(n,e),Rt(e),l&512&&(et||s===null||Tn(s,s.return)),e.flags&32){c=e.stateNode;try{Ts(c,"")}catch(re){Oe(e,e.return,re)}}l&4&&e.stateNode!=null&&(c=e.memoizedProps,Xu(e,c,s!==null?s.memoizedProps:c)),l&1024&&(Zu=!0);break;case 6:if(Ct(n,e),Rt(e),l&4){if(e.stateNode===null)throw Error(r(162));l=e.memoizedProps,s=e.stateNode;try{s.nodeValue=l}catch(re){Oe(e,e.return,re)}}break;case 3:if(Fl=null,c=dn,dn=Gl(n.containerInfo),Ct(n,e),dn=c,Rt(e),l&4&&s!==null&&s.memoizedState.isDehydrated)try{ea(n.containerInfo)}catch(re){Oe(e,e.return,re)}Zu&&(Zu=!1,qg(e));break;case 4:l=dn,dn=Gl(e.stateNode.containerInfo),Ct(n,e),Rt(e),dn=l;break;case 12:Ct(n,e),Rt(e);break;case 31:Ct(n,e),Rt(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Rl(e,l)));break;case 13:Ct(n,e),Rt(e),e.child.flags&8192&&e.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(Dl=zt()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Rl(e,l)));break;case 22:c=e.memoizedState!==null;var C=s!==null&&s.memoizedState!==null,U=Yn,Y=et;if(Yn=U||c,et=Y||C,Ct(n,e),et=Y,Yn=U,Rt(e),l&8192)e:for(n=e.stateNode,n._visibility=c?n._visibility&-2:n._visibility|1,c&&(s===null||C||Yn||et||is(e)),s=null,n=e;;){if(n.tag===5||n.tag===26){if(s===null){C=s=n;try{if(d=C.stateNode,c)x=d.style,typeof x.setProperty=="function"?x.setProperty("display","none","important"):x.display="none";else{w=C.stateNode;var K=C.memoizedProps.style,B=K!=null&&K.hasOwnProperty("display")?K.display:null;w.style.display=B==null||typeof B=="boolean"?"":(""+B).trim()}}catch(re){Oe(C,C.return,re)}}}else if(n.tag===6){if(s===null){C=n;try{C.stateNode.nodeValue=c?"":C.memoizedProps}catch(re){Oe(C,C.return,re)}}}else if(n.tag===18){if(s===null){C=n;try{var H=C.stateNode;c?Dy(H,!0):Dy(C.stateNode,!1)}catch(re){Oe(C,C.return,re)}}}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;s===n&&(s=null),n=n.return}s===n&&(s=null),n.sibling.return=n.return,n=n.sibling}l&4&&(l=e.updateQueue,l!==null&&(s=l.retryQueue,s!==null&&(l.retryQueue=null,Rl(e,s))));break;case 19:Ct(n,e),Rt(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Rl(e,l)));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 s,l=e.return;l!==null;){if(_g(l)){s=l;break}l=l.return}if(s==null)throw Error(r(160));switch(s.tag){case 27:var c=s.stateNode,d=Qu(e);Cl(e,d,c);break;case 5:var x=s.stateNode;s.flags&32&&(Ts(x,""),s.flags&=-33);var w=Qu(e);Cl(e,w,x);break;case 3:case 4:var C=s.stateNode.containerInfo,U=Qu(e);Ku(e,U,C);break;default:throw Error(r(161))}}catch(Y){Oe(e,e.return,Y)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function qg(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var n=e;qg(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),e=e.sibling}}function Xn(e,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)Lg(e,n.alternate,n),n=n.sibling}function is(e){for(e=e.child;e!==null;){var n=e;switch(n.tag){case 0:case 11:case 14:case 15:vi(4,n,n.return),is(n);break;case 1:Tn(n,n.return);var s=n.stateNode;typeof s.componentWillUnmount=="function"&&Dg(n,n.return,s),is(n);break;case 27:ar(n.stateNode);case 26:case 5:Tn(n,n.return),is(n);break;case 22:n.memoizedState===null&&is(n);break;case 30:is(n);break;default:is(n)}e=e.sibling}}function Qn(e,n,s){for(s=s&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var l=n.alternate,c=e,d=n,x=d.flags;switch(d.tag){case 0:case 11:case 15:Qn(c,d,s),Za(4,d);break;case 1:if(Qn(c,d,s),l=d,c=l.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(U){Oe(l,l.return,U)}if(l=d,c=l.updateQueue,c!==null){var w=l.stateNode;try{var C=c.shared.hiddenCallbacks;if(C!==null)for(c.shared.hiddenCallbacks=null,c=0;c<C.length;c++)vp(C[c],w)}catch(U){Oe(l,l.return,U)}}s&&x&64&&Mg(d),Ia(d,d.return);break;case 27:zg(d);case 26:case 5:Qn(c,d,s),s&&l===null&&x&4&&Og(d),Ia(d,d.return);break;case 12:Qn(c,d,s);break;case 31:Qn(c,d,s),s&&x&4&&Bg(c,d);break;case 13:Qn(c,d,s),s&&x&4&&Pg(c,d);break;case 22:d.memoizedState===null&&Qn(c,d,s),Ia(d,d.return);break;case 30:break;default:Qn(c,d,s)}n=n.sibling}}function Iu(e,n){var s=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(s=e.memoizedState.cachePool.pool),e=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(e=n.memoizedState.cachePool.pool),e!==s&&(e!=null&&e.refCount++,s!=null&&La(s))}function $u(e,n){e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&La(e))}function hn(e,n,s,l){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Gg(e,n,s,l),n=n.sibling}function Gg(e,n,s,l){var c=n.flags;switch(n.tag){case 0:case 11:case 15:hn(e,n,s,l),c&2048&&Za(9,n);break;case 1:hn(e,n,s,l);break;case 3:hn(e,n,s,l),c&2048&&(e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&La(e)));break;case 12:if(c&2048){hn(e,n,s,l),e=n.stateNode;try{var d=n.memoizedProps,x=d.id,w=d.onPostCommit;typeof w=="function"&&w(x,n.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(C){Oe(n,n.return,C)}}else hn(e,n,s,l);break;case 31:hn(e,n,s,l);break;case 13:hn(e,n,s,l);break;case 23:break;case 22:d=n.stateNode,x=n.alternate,n.memoizedState!==null?d._visibility&2?hn(e,n,s,l):$a(e,n):d._visibility&2?hn(e,n,s,l):(d._visibility|=2,Gs(e,n,s,l,(n.subtreeFlags&10256)!==0||!1)),c&2048&&Iu(x,n);break;case 24:hn(e,n,s,l),c&2048&&$u(n.alternate,n);break;default:hn(e,n,s,l)}}function Gs(e,n,s,l,c){for(c=c&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var d=e,x=n,w=s,C=l,U=x.flags;switch(x.tag){case 0:case 11:case 15:Gs(d,x,w,C,c),Za(8,x);break;case 23:break;case 22:var Y=x.stateNode;x.memoizedState!==null?Y._visibility&2?Gs(d,x,w,C,c):$a(d,x):(Y._visibility|=2,Gs(d,x,w,C,c)),c&&U&2048&&Iu(x.alternate,x);break;case 24:Gs(d,x,w,C,c),c&&U&2048&&$u(x.alternate,x);break;default:Gs(d,x,w,C,c)}n=n.sibling}}function $a(e,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var s=e,l=n,c=l.flags;switch(l.tag){case 22:$a(s,l),c&2048&&Iu(l.alternate,l);break;case 24:$a(s,l),c&2048&&$u(l.alternate,l);break;default:$a(s,l)}n=n.sibling}}var Wa=8192;function Ys(e,n,s){if(e.subtreeFlags&Wa)for(e=e.child;e!==null;)Yg(e,n,s),e=e.sibling}function Yg(e,n,s){switch(e.tag){case 26:Ys(e,n,s),e.flags&Wa&&e.memoizedState!==null&&DT(s,dn,e.memoizedState,e.memoizedProps);break;case 5:Ys(e,n,s);break;case 3:case 4:var l=dn;dn=Gl(e.stateNode.containerInfo),Ys(e,n,s),dn=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=Wa,Wa=16777216,Ys(e,n,s),Wa=l):Ys(e,n,s));break;default:Ys(e,n,s)}}function Fg(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 Ja(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var s=0;s<n.length;s++){var l=n[s];ot=l,Qg(l,e)}Fg(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Xg(e),e=e.sibling}function Xg(e){switch(e.tag){case 0:case 11:case 15:Ja(e),e.flags&2048&&vi(9,e,e.return);break;case 3:Ja(e);break;case 12:Ja(e);break;case 22:var n=e.stateNode;e.memoizedState!==null&&n._visibility&2&&(e.return===null||e.return.tag!==13)?(n._visibility&=-3,Ml(e)):Ja(e);break;default:Ja(e)}}function Ml(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var s=0;s<n.length;s++){var l=n[s];ot=l,Qg(l,e)}Fg(e)}for(e=e.child;e!==null;){switch(n=e,n.tag){case 0:case 11:case 15:vi(8,n,n.return),Ml(n);break;case 22:s=n.stateNode,s._visibility&2&&(s._visibility&=-3,Ml(n));break;default:Ml(n)}e=e.sibling}}function Qg(e,n){for(;ot!==null;){var s=ot;switch(s.tag){case 0:case 11:case 15:vi(8,s,n);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var l=s.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:La(s.memoizedState.cache)}if(l=s.child,l!==null)l.return=s,ot=l;else e:for(s=e;ot!==null;){l=ot;var c=l.sibling,d=l.return;if(Vg(l),l===s){ot=null;break e}if(c!==null){c.return=d,ot=c;break e}ot=d}}}var X2={getCacheForType:function(e){var n=dt($e),s=n.data.get(e);return s===void 0&&(s=e(),n.data.set(e,s)),s},cacheSignal:function(){return dt($e).controller.signal}},Q2=typeof WeakMap=="function"?WeakMap:Map,Me=0,Le=null,Se=null,je=0,De=0,Ht=null,bi=!1,Fs=!1,Wu=!1,Kn=0,Fe=0,wi=0,ss=0,Ju=0,qt=0,Xs=0,er=null,Mt=null,ef=!1,Dl=0,Kg=0,Ol=1/0,_l=null,Si=null,it=0,Ti=null,Qs=null,Zn=0,tf=0,nf=null,Zg=null,tr=0,sf=null;function Gt(){return(Me&2)!==0&&je!==0?je&-je:D.T!==null?uf():fm()}function Ig(){if(qt===0)if((je&536870912)===0||Ae){var e=Hr;Hr<<=1,(Hr&3932160)===0&&(Hr=262144),qt=e}else qt=536870912;return e=Bt.current,e!==null&&(e.flags|=32),qt}function Dt(e,n,s){(e===Le&&(De===2||De===9)||e.cancelPendingCommit!==null)&&(Ks(e,0),ji(e,je,qt,!1)),Sa(e,s),((Me&2)===0||e!==Le)&&(e===Le&&((Me&2)===0&&(ss|=s),Fe===4&&ji(e,je,qt,!1)),jn(e))}function $g(e,n,s){if((Me&6)!==0)throw Error(r(327));var l=!s&&(n&127)===0&&(n&e.expiredLanes)===0||wa(e,n),c=l?I2(e,n):rf(e,n,!0),d=l;do{if(c===0){Fs&&!l&&ji(e,n,0,!1);break}else{if(s=e.current.alternate,d&&!K2(s)){c=rf(e,n,!1),d=!1;continue}if(c===2){if(d=n,e.errorRecoveryDisabledLanes&d)var x=0;else x=e.pendingLanes&-536870913,x=x!==0?x:x&536870912?536870912:0;if(x!==0){n=x;e:{var w=e;c=er;var C=w.current.memoizedState.isDehydrated;if(C&&(Ks(w,x).flags|=256),x=rf(w,x,!1),x!==2){if(Wu&&!C){w.errorRecoveryDisabledLanes|=d,ss|
vendor: 8,773 bytes, line 8
8=d,c=4;break e}d=Mt,Mt=c,d!==null&&(Mt===null?Mt=d:Mt.push.apply(Mt,d))}c=x}if(d=!1,c!==2)continue}}if(c===1){Ks(e,0),ji(e,n,0,!0);break}e:{switch(l=e,d=c,d){case 0:case 1:throw Error(r(345));case 4:if((n&4194048)!==n)break;case 6:ji(l,n,qt,!bi);break e;case 2:Mt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((n&62914560)===n&&(c=Dl+300-zt(),10<c)){if(ji(l,n,qt,!bi),Gr(l,0,!0)!==0)break e;Zn=n,l.timeoutHandle=Cy(Wg.bind(null,l,s,Mt,_l,ef,n,qt,ss,Xs,bi,d,"Throttled",-0,0),c);break e}Wg(l,s,Mt,_l,ef,n,qt,ss,Xs,bi,d,null,-0,0)}}break}while(!0);jn(e)}function Wg(e,n,s,l,c,d,x,w,C,U,Y,K,B,H){if(e.timeoutHandle=-1,K=n.subtreeFlags,K&8192||(K&16785408)===16785408){K={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:zn},Yg(n,d,K);var re=(d&62914560)===d?Dl-zt():(d&4194048)===d?Kg-zt():0;if(re=OT(K,re),re!==null){Zn=d,e.cancelPendingCommit=re(ry.bind(null,e,n,d,s,l,c,x,w,C,Y,K,null,B,H)),ji(e,d,x,!U);return}}ry(e,n,d,s,l,c,x,w,C)}function K2(e){for(var n=e;;){var s=n.tag;if((s===0||s===11||s===15)&&n.flags&16384&&(s=n.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var l=0;l<s.length;l++){var c=s[l],d=c.getSnapshot;c=c.value;try{if(!Vt(d(),c))return!1}catch{return!1}}if(s=n.child,n.subtreeFlags&16384&&s!==null)s.return=n,n=s;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 ji(e,n,s,l){n&=~Ju,n&=~ss,e.suspendedLanes|=n,e.pingedLanes&=~n,l&&(e.warmLanes|=n),l=e.expirationTimes;for(var c=n;0<c;){var d=31-Lt(c),x=1<<d;l[d]=-1,c&=~x}s!==0&&om(e,s,n)}function zl(){return(Me&6)===0?(nr(0),!1):!0}function af(){if(Se!==null){if(De===0)var e=Se.return;else e=Se,Un=Zi=null,bu(e),Us=null,Ua=0,e=Se;for(;e!==null;)Rg(e.alternate,e),e=e.return;Se=null}}function Ks(e,n){var s=e.timeoutHandle;s!==-1&&(e.timeoutHandle=-1,mT(s)),s=e.cancelPendingCommit,s!==null&&(e.cancelPendingCommit=null,s()),Zn=0,af(),Le=e,Se=s=Ln(e.current,null),je=n,De=0,Ht=null,bi=!1,Fs=wa(e,n),Wu=!1,Xs=qt=Ju=ss=wi=Fe=0,Mt=er=null,ef=!1,(n&8)!==0&&(n|=n&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=n;0<l;){var c=31-Lt(l),d=1<<c;n|=e[c],l&=~d}return Kn=n,tl(),s}function Jg(e,n){xe=null,D.H=Xa,n===Vs||n===cl?(n=pp(),De=3):n===ou?(n=pp(),De=4):De=n===Lu?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Ht=n,Se===null&&(Fe=1,Tl(e,$t(n,e.current)))}function ey(){var e=Bt.current;return e===null?!0:(je&4194048)===je?tn===null:(je&62914560)===je||(je&536870912)!==0?e===tn:!1}function ty(){var e=D.H;return D.H=Xa,e===null?Xa:e}function ny(){var e=D.A;return D.A=X2,e}function kl(){Fe=4,bi||(je&4194048)!==je&&Bt.current!==null||(Fs=!0),(wi&134217727)===0&&(ss&134217727)===0||Le===null||ji(Le,je,qt,!1)}function rf(e,n,s){var l=Me;Me|=2;var c=ty(),d=ny();(Le!==e||je!==n)&&(_l=null,Ks(e,n)),n=!1;var x=Fe;e:do try{if(De!==0&&Se!==null){var w=Se,C=Ht;switch(De){case 8:af(),x=6;break e;case 3:case 2:case 9:case 6:Bt.current===null&&(n=!0);var U=De;if(De=0,Ht=null,Zs(e,w,C,U),s&&Fs){x=0;break e}break;default:U=De,De=0,Ht=null,Zs(e,w,C,U)}}Z2(),x=Fe;break}catch(Y){Jg(e,Y)}while(!0);return n&&e.shellSuspendCounter++,Un=Zi=null,Me=l,D.H=c,D.A=d,Se===null&&(Le=null,je=0,tl()),x}function Z2(){for(;Se!==null;)iy(Se)}function I2(e,n){var s=Me;Me|=2;var l=ty(),c=ny();Le!==e||je!==n?(_l=null,Ol=zt()+500,Ks(e,n)):Fs=wa(e,n);e:do try{if(De!==0&&Se!==null){n=Se;var d=Ht;t:switch(De){case 1:De=0,Ht=null,Zs(e,n,d,1);break;case 2:case 9:if(hp(d)){De=0,Ht=null,sy(n);break}n=function(){De!==2&&De!==9||Le!==e||(De=7),jn(e)},d.then(n,n);break e;case 3:De=7;break e;case 4:De=5;break e;case 7:hp(d)?(De=0,Ht=null,sy(n)):(De=0,Ht=null,Zs(e,n,d,7));break;case 5:var x=null;switch(Se.tag){case 26:x=Se.memoizedState;case 5:case 27:var w=Se;if(x?Gy(x):w.stateNode.complete){De=0,Ht=null;var C=w.sibling;if(C!==null)Se=C;else{var U=w.return;U!==null?(Se=U,Ll(U)):Se=null}break t}}De=0,Ht=null,Zs(e,n,d,5);break;case 6:De=0,Ht=null,Zs(e,n,d,6);break;case 8:af(),Fe=6;break e;default:throw Error(r(462))}}$2();break}catch(Y){Jg(e,Y)}while(!0);return Un=Zi=null,D.H=l,D.A=c,Me=s,Se!==null?0:(Le=null,je=0,tl(),Fe)}function $2(){for(;Se!==null&&!bS();)iy(Se)}function iy(e){var n=Ng(e.alternate,e,Kn);e.memoizedProps=e.pendingProps,n===null?Ll(e):Se=n}function sy(e){var n=e,s=n.alternate;switch(n.tag){case 15:case 0:n=wg(s,n,n.pendingProps,n.type,void 0,je);break;case 11:n=wg(s,n,n.pendingProps,n.type.render,n.ref,je);break;case 5:bu(n);default:Rg(s,n),n=Se=np(n,Kn),n=Ng(s,n,Kn)}e.memoizedProps=e.pendingProps,n===null?Ll(e):Se=n}function Zs(e,n,s,l){Un=Zi=null,bu(n),Us=null,Ua=0;var c=n.return;try{if(B2(e,c,n,s,je)){Fe=1,Tl(e,$t(s,e.current)),Se=null;return}}catch(d){if(c!==null)throw Se=c,d;Fe=1,Tl(e,$t(s,e.current)),Se=null;return}n.flags&32768?(Ae||l===1?e=!0:Fs||(je&536870912)!==0?e=!1:(bi=e=!0,(l===2||l===9||l===3||l===6)&&(l=Bt.current,l!==null&&l.tag===13&&(l.flags|=16384))),ay(n,e)):Ll(n)}function Ll(e){var n=e;do{if((n.flags&32768)!==0){ay(n,bi);return}e=n.return;var s=q2(n.alternate,n,Kn);if(s!==null){Se=s;return}if(n=n.sibling,n!==null){Se=n;return}Se=n=e}while(n!==null);Fe===0&&(Fe=5)}function ay(e,n){do{var s=G2(e.alternate,e);if(s!==null){s.flags&=32767,Se=s;return}if(s=e.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!n&&(e=e.sibling,e!==null)){Se=e;return}Se=e=s}while(e!==null);Fe=6,Se=null}function ry(e,n,s,l,c,d,x,w,C){e.cancelPendingCommit=null;do Vl();while(it!==0);if((Me&6)!==0)throw Error(r(327));if(n!==null){if(n===e.current)throw Error(r(177));if(d=n.lanes|n.childLanes,d|=Qc,MS(e,s,d,x,w,C),e===Le&&(Se=Le=null,je=0),Qs=n,Ti=e,Zn=s,tf=d,nf=c,Zg=l,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,tT(Br,function(){return fy(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||l){l=D.T,D.T=null,c=X.p,X.p=2,x=Me,Me|=4;try{Y2(e,n,s)}finally{Me=x,X.p=c,D.T=l}}it=1,ly(),oy(),cy()}}function ly(){if(it===1){it=0;var e=Ti,n=Qs,s=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||s){s=D.T,D.T=null;var l=X.p;X.p=2;var c=Me;Me|=4;try{Hg(n,e);var d=xf,x=Qm(e.containerInfo),w=d.focusedElem,C=d.selectionRange;if(x!==w&&w&&w.ownerDocument&&Xm(w.ownerDocument.documentElement,w)){if(C!==null&&qc(w)){var U=C.start,Y=C.end;if(Y===void 0&&(Y=U),"selectionStart"in w)w.selectionStart=U,w.selectionEnd=Math.min(Y,w.value.length);else{var K=w.ownerDocument||document,B=K&&K.defaultView||window;if(B.getSelection){var H=B.getSelection(),re=w.textContent.length,me=Math.min(C.start,re),ke=C.end===void 0?me:Math.min(C.end,re);!H.extend&&me>ke&&(x=ke,ke=me,me=x);var k=Fm(w,me),O=Fm(w,ke);if(k&&O&&(H.rangeCount!==1||H.anchorNode!==k.node||H.anchorOffset!==k.offset||H.focusNode!==O.node||H.focusOffset!==O.offset)){var V=K.createRange();V.setStart(k.node,k.offset),H.removeAllRanges(),me>ke?(H.addRange(V),H.extend(O.node,O.offset)):(V.setEnd(O.node,O.offset),H.addRange(V))}}}}for(K=[],H=w;H=H.parentNode;)H.nodeType===1&&K.push({element:H,left:H.scrollLeft,top:H.scrollTop});for(typeof w.focus=="function"&&w.focus(),w=0;w<K.length;w++){var Q=K[w];Q.element.scrollLeft=Q.left,Q.element.scrollTop=Q.top}}Zl=!!yf,xf=yf=null}finally{Me=c,X.p=l,D.T=s}}e.current=n,it=2}}function oy(){if(it===2){it=0;var e=Ti,n=Qs,s=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||s){s=D.T,D.T=null;var l=X.p;X.p=2;var c=Me;Me|=4;try{Lg(e,n.alternate,n)}finally{Me=c,X.p=l,D.T=s}}it=3}}function cy(){if(it===4||it===3){it=0,wS();var e=Ti,n=Qs,s=Zn,l=Zg;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?it=5:(it=0,Qs=Ti=null,uy(e,e.pendingLanes));var c=e.pendingLanes;if(c===0&&(Si=null),Tc(s),n=n.stateNode,kt&&typeof kt.onCommitFiberRoot=="function")try{kt.onCommitFiberRoot(ba,n,void 0,(n.current.flags&128)===128)}catch{}if(l!==null){n=D.T,c=X.p,X.p=2,D.T=null;try{for(var d=e.onRecoverableError,x=0;x<l.length;x++){var w=l[x];d(w.value,{componentStack:w.stack})}}finally{D.T=n,X.p=c}}(Zn&3)!==0&&Vl(),jn(e),c=e.pendingLanes,(s&261930)!==0&&(c&42)!==0?e===sf?tr++:(tr=0,sf=e):tr=0,nr(0)}}function uy(e,n){(e.pooledCacheLanes&=n)===0&&(n=e.pooledCache,n!=null&&(e.pooledCache=null,La(n)))}function Vl(){return ly(),oy(),cy(),fy()}function fy(){if(it!==5)return!1;var e=Ti,n=tf;tf=0;var s=Tc(Zn),l=D.T,c=X.p;try{X.p=32>s?32:s,D.T=null,s=nf,nf=null;var d=Ti,x=Zn;if(it=0,Qs=Ti=null,Zn=0,(Me&6)!==0)throw Error(r(331));var w=Me;if(Me|=4,Xg(d.current),Gg(d,d.current,x,s),Me=w,nr(0,!1),kt&&typeof kt.onPostCommitFiberRoot=="function")try{kt.onPostCommitFiberRoot(ba,d)}catch{}return!0}finally{X.p=c,D.T=l,uy(e,n)}}function dy(e,n,s){n=$t(s,n),n=ku(e.stateNode,n,2),e=gi(e,n,2),e!==null&&(Sa(e,2),jn(e))}function Oe(e,n,s){if(e.tag===3)dy(e,e,s);else for(;n!==null;
vendor: 4,855 bytes, line 8
8){if(n.tag===3){dy(n,e,s);break}else if(n.tag===1){var l=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Si===null||!Si.has(l))){e=$t(s,e),s=hg(2),l=gi(n,s,2),l!==null&&(mg(s,l,n,e),Sa(l,2),jn(l));break}}n=n.return}}function lf(e,n,s){var l=e.pingCache;if(l===null){l=e.pingCache=new Q2;var c=new Set;l.set(n,c)}else c=l.get(n),c===void 0&&(c=new Set,l.set(n,c));c.has(s)||(Wu=!0,c.add(s),e=W2.bind(null,e,n,s),n.then(e,e))}function W2(e,n,s){var l=e.pingCache;l!==null&&l.delete(n),e.pingedLanes|=e.suspendedLanes&s,e.warmLanes&=~s,Le===e&&(je&s)===s&&(Fe===4||Fe===3&&(je&62914560)===je&&300>zt()-Dl?(Me&2)===0&&Ks(e,0):Ju|=s,Xs===je&&(Xs=0)),jn(e)}function hy(e,n){n===0&&(n=lm()),e=Xi(e,n),e!==null&&(Sa(e,n),jn(e))}function J2(e){var n=e.memoizedState,s=0;n!==null&&(s=n.retryLane),hy(e,s)}function eT(e,n){var s=0;switch(e.tag){case 31:case 13:var l=e.stateNode,c=e.memoizedState;c!==null&&(s=c.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(r(314))}l!==null&&l.delete(n),hy(e,s)}function tT(e,n){return vc(e,n)}var Ul=null,Is=null,of=!1,Bl=!1,cf=!1,Ei=0;function jn(e){e!==Is&&e.next===null&&(Is===null?Ul=Is=e:Is=Is.next=e),Bl=!0,of||(of=!0,iT())}function nr(e,n){if(!cf&&Bl){cf=!0;do for(var s=!1,l=Ul;l!==null;){if(e!==0){var c=l.pendingLanes;if(c===0)var d=0;else{var x=l.suspendedLanes,w=l.pingedLanes;d=(1<<31-Lt(42|e)+1)-1,d&=c&~(x&~w),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(s=!0,yy(l,d))}else d=je,d=Gr(l,l===Le?d:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(d&3)===0||wa(l,d)||(s=!0,yy(l,d));l=l.next}while(s);cf=!1}}function nT(){my()}function my(){Bl=of=!1;var e=0;Ei!==0&&hT()&&(e=Ei);for(var n=zt(),s=null,l=Ul;l!==null;){var c=l.next,d=py(l,n);d===0?(l.next=null,s===null?Ul=c:s.next=c,c===null&&(Is=s)):(s=l,(e!==0||(d&3)!==0)&&(Bl=!0)),l=c}it!==0&&it!==5||nr(e),Ei!==0&&(Ei=0)}function py(e,n){for(var s=e.suspendedLanes,l=e.pingedLanes,c=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var x=31-Lt(d),w=1<<x,C=c[x];C===-1?((w&s)===0||(w&l)!==0)&&(c[x]=RS(w,n)):C<=n&&(e.expiredLanes|=w),d&=~w}if(n=Le,s=je,s=Gr(e,e===n?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,s===0||e===n&&(De===2||De===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&bc(l),e.callbackNode=null,e.callbackPriority=0;if((s&3)===0||wa(e,s)){if(n=s&-s,n===e.callbackPriority)return n;switch(l!==null&&bc(l),Tc(s)){case 2:case 8:s=am;break;case 32:s=Br;break;case 268435456:s=rm;break;default:s=Br}return l=gy.bind(null,e),s=vc(s,l),e.callbackPriority=n,e.callbackNode=s,n}return l!==null&&l!==null&&bc(l),e.callbackPriority=2,e.callbackNode=null,2}function gy(e,n){if(it!==0&&it!==5)return e.callbackNode=null,e.callbackPriority=0,null;var s=e.callbackNode;if(Vl()&&e.callbackNode!==s)return null;var l=je;return l=Gr(e,e===Le?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:($g(e,l,n),py(e,zt()),e.callbackNode!=null&&e.callbackNode===s?gy.bind(null,e):null)}function yy(e,n){if(Vl())return null;$g(e,n,!0)}function iT(){pT(function(){(Me&6)!==0?vc(sm,nT):my()})}function uf(){if(Ei===0){var e=ks;e===0&&(e=Pr,Pr<<=1,(Pr&261888)===0&&(Pr=256)),Ei=e}return Ei}function xy(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Qr(""+e)}function vy(e,n){var s=n.ownerDocument.createElement("input");return s.name=n.name,s.value=n.value,e.id&&s.setAttribute("form",e.id),n.parentNode.insertBefore(s,n),e=new FormData(e),s.parentNode.removeChild(s),e}function sT(e,n,s,l,c){if(n==="submit"&&s&&s.stateNode===c){var d=xy((c[Et]||null).action),x=l.submitter;x&&(n=(n=x[Et]||null)?xy(n.formAction):x.getAttribute("formAction"),n!==null&&(d=n,x=null));var w=new $r("action","action",null,l,c);e.push({event:w,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Ei!==0){var C=x?vy(c,x):new FormData(c);Ru(s,{pending:!0,data:C,method:c.method,action:d},null,C)}}else typeof d=="function"&&(w.preventDefault(),C=x?vy(c,x):new FormData(c),Ru(s,{pending:!0,data:C,method:c.method,action:d},d,C))},currentTarget:c}]})}}for(var ff=0;ff<Xc.length;ff++){var df=Xc[ff],aT=df.toLowerCase(),rT=df[0].toUpperCase()+df.slice(1);fn(aT,"on"+rT)}fn(Im,"onAnimationEnd"),fn($m,"onAnimationIteration"),fn(Wm,"onAnimationStart"),fn("dblclick","onDoubleClick"),fn("focusin","onFocus"),fn("focusout","onBlur"),fn(S2,"onTransitionRun"),fn(T2,"onTransitionStart"),fn(j2,"onTransitionCancel"),fn(Jm,"onTransitionEnd"),ws("onMouseEnter",["mouseout","mouseover"]),ws("onMouseLeave",["mouseout","mouseover"]),ws("onPointerEnter",["pointerout","pointerover"]),ws("onPointerLeave",["pointerout","pointerover"]),qi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),qi("onSelect","focusout contextmenu dragend focu
8sin keydown keyup mousedown mouseup selectionchange".split(" ")),qi("onBeforeInput",["compositionend","keypress","textInput","paste"]),qi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),qi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),qi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ir="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(" "),lT=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ir));function by(e,n){n=(n&4)!==0;for(var s=0;s<e.length;s++){var l=e[s],c=l.event;l=l.listeners;e:{var d=void 0;if(n)for(var x=l.length-1;0<=x;x--){var w=l[x],C=w.instance,U=w.currentTarget;if(w=w.listener,C!==d&&c.isPropagationStopped())break e;d=w,c.currentTarget=U;try{d(c)}catch(Y){el(Y)}c.currentTarget=null,d=C}else for(x=0;x<l.length;x++){if(w=l[x],C=w.instance,U=w.currentTarget,w=w.listener,C!==d&&c.isPropagationStopped())break e;d=w,c.currentTarget=U;try{d(c)}catch(Y){el(Y)}c.currentTarget=null,d=C}}}}function Te(e,n){var s=n[jc];s===void 0&&(s=n[jc]=new Set);var l=e+"__bubble";s.has(l)||(wy(n,e,2,!1),s.add(l))}function hf(e,n,s){var l=0;n&&(l|=4),wy(s,e,l,n)}var Pl="_reactListening"+Math.random().toString(36).slice(2);function mf(e){if(!e[Pl]){e[Pl]=!0,mm.forEach(function(s){s!=="selectionchange"&&(lT.has(s)||hf(s,!1,e),hf(s,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[Pl]||(n[Pl]=!0,hf("selectionchange",!1,n))}}function wy(e,n,s,l){switch(Iy(n)){case 2:var c=kT;break;case 8:c=LT;break;default:c=Rf}s=c.bind(null,n,s,e),c=void 0,!_c||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),l?c!==void 0?e.addEventListener(n,s,{capture:!0,passive:c}):e.addEventListener(n,s,!0):c!==void 0?e.addEventListener(n,s,{passive:c}):e.addEventListener(n,s,!1)}function pf(e,n,s,l,c){var d=l;if((n&1)===0&&(n&2)===0&&l!==null)e:for(;;){if(l===null)return;var x=l.tag;if(x===3||x===4){var w=l.stateNode.containerInfo;if(w===c)break;if(x===4)for(x=l.return;x!==null;){var C=x.tag;if((C===3||C===4)&&x.stateNode.containerInfo===c)return;x=x.return}for(;w!==null;){if(x=xs(w),x===null)return;if(C=x.tag,C===5||C===6||C===26||C===27){l=d=x;continue e}w=w.parentNode}}l=l.return}Am(function(){var U=d,Y=Dc(s),K=[];e:{var B=ep.get(e);if(B!==void 0){var H=$r,re=e;switch(e){case"keypress":if(Zr(s)===0)break e;case"keydown":case"keyup":H=e2;break;case"focusin":re="focus",H=Vc;break;case"focusout":re="blur",H=Vc;break;case"beforeblur":case"afterblur":H=Vc;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":H=Rm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":H=qS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":H=i2;break;case Im:case $m:case Wm:H=FS;break;case Jm:H=a2;break;case"scroll":case"scrollend":H=PS;break;case"wheel":H=l2;break;case"copy":case"cut":case"paste":H=QS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":H=Dm;break;case"toggle":case"beforetoggle":H=c2}var me=(n&4)!==0,ke=!me&&(e==="scroll"||e==="scrollend"),k=me?B!==null?B+"Capture":null:B;me=[];for(var O=U,V;O!==null;){var Q=O;if(V=Q.stateNode,Q=Q.tag,Q!==5&&Q!==26&&Q!==27||V===null||k===null||(Q=Ea(O,k),Q!=null&&me.push(sr(O,Q,V))),ke)break;O=O.return}0<me.length&&(B=new H(B,re,null,s,Y),K.push({event:B,listeners:me}))}}if((n&7)===0){e:{if(B=e==="mouseover"||e==="pointerover",H=e==="mouseout"||e==="pointerout",B&&s!==Mc&&(re=s.relatedTarget||s.fromElement)&&(xs(re)||re[ys]))break e;if((H||B)&&(B=Y.window===Y?Y:(B=Y.ownerDocument)?B.defaultView||B.parentWindow:window,H?(re=s.relatedTarget||s.toElement,H=U,re=re?xs(re):null,re!==null&&(ke=u(re),me=re.tag,re!==ke||me!==5&&me!==27&&me!==6)&&(re=null)):(H=null,re=U),H!==re)){if(me=Rm,Q="onMouseLeave",k="onMouseEnter",O="mouse",(e==="pointerout"||e==="pointerover")&&(me=Dm,Q="onPointerLeave",k="onPointerEnter",O="pointer"),ke=H==null?B:ja(H),V=re==null?B:ja(re),B=new me(Q,O+"leave",H,s,Y),B.target=ke,B.relatedTarget=V,Q=null,xs(Y)===U&&(me=new me(k,O+"enter",re,s,Y),me.target=V,me.relatedTarget=ke,Q=me),ke=Q,H&&re)t:{for(me=oT,k=H,O=re,V=0,Q=k;Q;Q=me(Q))V++;Q=0;for(var he=O;he;he=me(he))Q++;for(;0<V-Q;)k=me(k),V--;for(;0<Q-V;)O=me(O),Q--;for(;V--;){if(k===O||O!==null&&k===O.alternate){me=k;break t}k=me(k),O=me(O)}me=null}else me=null;H!==null&&Sy(K,B,H,me,!1),re!==null&&ke!==null&&Sy(K,ke,re,me,!0)}}
vendor: 5,189 bytes, lines 8-9
8e:{if(B=U?ja(U):window,H=B.nodeName&&B.nodeName.toLowerCase(),H==="select"||H==="input"&&B.type==="file")var Ce=Bm;else if(Vm(B))if(Pm)Ce=v2;else{Ce=y2;var ce=g2}else H=B.nodeName,!H||H.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?U&&Rc(U.elementType)&&(Ce=Bm):Ce=x2;if(Ce&&(Ce=Ce(e,U))){Um(K,Ce,s,Y);break e}ce&&ce(e,B,U),e==="focusout"&&U&&B.type==="number"&&U.memoizedProps.value!=null&&Cc(B,"number",B.value)}switch(ce=U?ja(U):window,e){case"focusin":(Vm(ce)||ce.contentEditable==="true")&&(Ns=ce,Gc=U,_a=null);break;case"focusout":_a=Gc=Ns=null;break;case"mousedown":Yc=!0;break;case"contextmenu":case"mouseup":case"dragend":Yc=!1,Km(K,s,Y);break;case"selectionchange":if(w2)break;case"keydown":case"keyup":Km(K,s,Y)}var ve;if(Bc)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 As?km(e,s)&&(Ee="onCompositionEnd"):e==="keydown"&&s.keyCode===229&&(Ee="onCompositionStart");Ee&&(Om&&s.locale!=="ko"&&(As||Ee!=="onCompositionStart"?Ee==="onCompositionEnd"&&As&&(ve=Nm()):(ci=Y,zc="value"in ci?ci.value:ci.textContent,As=!0)),ce=Hl(U,Ee),0<ce.length&&(Ee=new Mm(Ee,e,null,s,Y),K.push({event:Ee,listeners:ce}),ve?Ee.data=ve:(ve=Lm(s),ve!==null&&(Ee.data=ve)))),(ve=f2?d2(e,s):h2(e,s))&&(Ee=Hl(U,"onBeforeInput"),0<Ee.length&&(ce=new Mm("onBeforeInput","beforeinput",null,s,Y),K.push({event:ce,listeners:Ee}),ce.data=ve)),sT(K,e,U,s,Y)}by(K,n)})}function sr(e,n,s){return{instance:e,listener:n,currentTarget:s}}function Hl(e,n){for(var s=n+"Capture",l=[];e!==null;){var c=e,d=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||d===null||(c=Ea(e,s),c!=null&&l.unshift(sr(e,c,d)),c=Ea(e,n),c!=null&&l.push(sr(e,c,d))),e.tag===3)return l;e=e.return}return[]}function oT(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Sy(e,n,s,l,c){for(var d=n._reactName,x=[];s!==null&&s!==l;){var w=s,C=w.alternate,U=w.stateNode;if(w=w.tag,C!==null&&C===l)break;w!==5&&w!==26&&w!==27||U===null||(C=U,c?(U=Ea(s,d),U!=null&&x.unshift(sr(s,U,C))):c||(U=Ea(s,d),U!=null&&x.push(sr(s,U,C)))),s=s.return}x.length!==0&&e.push({event:n,listeners:x})}var cT=/\r\n?/g,uT=/\u0000|\uFFFD/g;function Ty(e){return(typeof e=="string"?e:""+e).replace(cT,` 9`).replace(uT,"")}function jy(e,n){return n=Ty(n),Ty(e)===n}function ze(e,n,s,l,c,d){switch(s){case"children":typeof l=="string"?n==="body"||n==="textarea"&&l===""||Ts(e,l):(typeof l=="number"||typeof l=="bigint")&&n!=="body"&&Ts(e,""+l);break;case"className":Fr(e,"class",l);break;case"tabIndex":Fr(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Fr(e,s,l);break;case"style":jm(e,l,d);break;case"data":if(n!=="object"){Fr(e,"data",l);break}case"src":case"href":if(l===""&&(n!=="a"||s!=="href")){e.removeAttribute(s);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(s);break}l=Qr(""+l),e.setAttribute(s,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(s,"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 d=="function"&&(s==="formAction"?(n!=="input"&&ze(e,n,"name",c.name,c,null),ze(e,n,"formEncType",c.formEncType,c,null),ze(e,n,"formMethod",c.formMethod,c,null),ze(e,n,"formTarget",c.formTarget,c,null)):(ze(e,n,"encType",c.encType,c,null),ze(e,n,"method",c.method,c,null),ze(e,n,"target",c.target,c,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(s);break}l=Qr(""+l),e.setAttribute(s,l);break;case"onClick":l!=null&&(e.onclick=zn);break;case"onScroll":l!=null&&Te("scroll",e);break;case"onScrollEnd":l!=null&&Te("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(s=l.__html,s!=null){if(c.children!=null)throw Error(r(60));e.innerHTML=s}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}s=Qr(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(s,""+l):e.removeAttribute(s);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":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(s,""):e.removeAttribute(s);break;case"capture":case"download":l===!0?e.setAttribute(s,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(s,l):e.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(s,l):e.removeAttribute(s);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(s):e.setAttribute(s,l);break;case"popover":Te("beforetoggle",e),Te("toggle",e),Yr(e,"popover",l);break;case"xlinkActuate":_n(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":_n(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":_n(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":_n(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":_n(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":_n(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":_n(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":_n(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":_n(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Yr(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=US.get(s)||s,Yr(e,s,l))}}function gf(e,n,s,l,c,d){switch(s){case"style":jm(e,l,d);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(s=l.__html,s!=null){if(c.children!=null)throw Error(r(60));e.innerHTML=s}}break;case"children":typeof l=="string"?Ts(e,l):(typeof l=="number"||typeof l=="bigint")&&Ts(e,""+l);break;case"onScroll":l!=null&&Te("scroll",e);break;case"onScrollEnd":l!=null&&Te("scrollend",e);break;case"onClick":l!=null&&(e.onclick=zn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!pm.hasOwnProperty(s))e:{if(s[0]==="o"&&s[1]==="n"&&(c=s.endsWith("Capture"),n=s.slice(2,c?s.length-7:void 0),d=e[Et]||null,d=d!=null?d[s]:null,typeof d=="function"&&e.removeEventListener(n,d,c),typeof l=="function")){typeof d!="function"&&d!==null&&(s in e?e[s]=null:e.hasAttribute(s)&&e.removeAttribute(s)),e.addEventListener(n,l,c);break e}s in e?e[s]=l:l===!0?e.setAttribute(s,""):Yr(e,s,l)}}}function mt(e,n,s){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Te("error",e),Te("load",e);var l=!1,c=!1,d;for(d in s)if(s.hasOwnProperty(d)){var x=s[d];if(x!=null)switch(d){case"src":l=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:ze(e,n,d,x,s,null)}}c&&ze(e,n,"srcSet",s.srcSet,s,null),l&&ze(e,n,"src",s.src,s,null);return;case"input":Te("invalid",e);var w=d=x=c=null,C=null,U=null;for(l in s)if(s.hasOwnProperty(l)){var Y=s[l];if(Y!=null)switch(l){case"name":c=Y;break;case"type":x=Y;break;case"checked":C=Y;break;case"defaultChecked":U=Y;break;case"value":d=Y;break;case"defaultValue":w=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(r(137,n));break;default:ze(e,n,l,Y,s,null)}}bm(e,d,w,C,U,x,c,!1);return;case"select":Te("invalid",e),l=x=d=null;for(c in s)if(s.hasOwnProperty(c)&&(w=s[c],w!=null))switch(c){case"value":d=w;break;case"defaultValue":x=w;break;case"multiple":l=w;default:ze(e,n,c,w,s,null)}n=d,s=x,e.multiple=!!l,n!=null?Ss(e,!!l,n,!1):s!=null&&Ss(e,!!l,s,!0);return;case"textarea":Te("invalid",e),d=c=l=null;for(x in s)if(s.hasOwnProperty(x)&&(w=s[x],w!=null))switch(x){case"value":l=w;break;case"defaultValue":c=w;break;case"children":d=w;break;case"dangerouslySetInnerHTML":if(w!=null)throw Error(r(91));break;default:ze(e,n,x,w,s,null)}Sm(e,l,c,d);return;case"option":for(C in s)s.hasOwnProperty(C)&&(l=s[C],l!=null)&&(C==="selected"?e.selected=l&&typeof l!="function"&&typeof l!="symbol":ze(e,n,C,l,s,null));return;case"dialog":Te("beforetoggle",e),Te("toggle",e),Te("cancel",e),Te("close",e);break;case"iframe":case"object":Te("load",e);break;case"video":case"audio":for(l=0;l<ir.length;l++)Te(ir[l],e);break;case"image":Te("error",e),Te("load",e);break;case"details":Te("toggle",e);break;case"embed":case"source":case"link":Te("error",e),Te("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 s)if(s.hasOwnProperty(U)&&(l=s[U],l!=null))switch(U){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,n));default:ze(e,n,U,l,s,null)}return;default:if(Rc(n)){for(Y in s)s.hasOwnProperty(Y)&&(l=s[Y],l!==void 0&&gf(e,n,Y,l,s,void 0));return}}for(w in s)s.hasOwnProperty(w)&&(l=s[w],l!=null&&ze(e,n,w,l,s,null))}function fT(e,n,s,l){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,d=null,x=null,w=null,C=null,U=null,Y=null;for(H in s){var K=s[H];if(s.hasOwnProperty(H)&&K!=null)switch(H){case"checked":break;case"value":break;case"defaultValue":C=K;default:l.hasOwnProperty(H)||ze(e,n,H,null,l,K)}}for(var B in l){var H=l[B];if(K=s[B],l.hasOwnProperty(B)&&(H!=null||K!=null))switch(B){case"type":d=H;break;case"name":c=H;break;case"checked":U=H;break;case"defaultChecked":Y=H;break;case"value":x=H;break;case"defaultValue":w=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(r(137,n));break;default:H!==K&&ze(e,n,B,H,l,K)}}Nc(e,x,w,C,U,Y,d,c);return;case"select":H=x=w=B=null;for(d in s)if(C=s[d],s.hasOwnProperty(d)&&C!=null)switch(d){case"value":break;case"multiple":H=C;default:l.hasOwnProperty(d)||ze(e,n,d,null,l,C)}for(c in l)if(d=l[c],C=s[c],l.hasOwnProperty(c)&&(d!=null||C!=null))switch(c){case"value":B=d;break;case"defaultValue":w=d;break;case"multiple":x=d;default:d!==C&&ze(e,n,c,d,l,C)}n=w,s=x,l=H,B!=null?Ss(e,!!s,B,!1):!!l!=!!s&&(n!=null?Ss(e,!!s,n,!0):Ss(e,!!s,s?[]:"",!1));return;case"textarea":H=B=null;for(w in s)if(c=s[w],s.hasOwnProperty(w)&&c!=null&&!l.hasOwnProperty(w))switch(w){case"value":break;case"children":break;default:ze(e,n,w,null,l,c)}for(x in l)if(c=l[x],d=s[x],l.hasOwnProperty(x)&&(c!=null||d!=null))switch(x){case"value":B=c;break;case"defaultValue":H=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(r(91));break;default:c!==d&&ze(e,n,x,c,l,d)}wm(e,B,H);return;case"option":for(var re in s)B=s[re],s.hasOwnProperty(re)&&B!=null&&!l.hasOwnProperty(re)&&(re==="selected"?e.selected=!1:ze(e,n,re,null,l,B));for(C in l)B=l[C],H=s[C],l.hasOwnProperty(C)&&B!==H&&(B!=null||H!=null)&&(C==="selected"?e.selected=B&&typeof B!="function"&&typeof B!="symbol":ze(e,n,C,B,l,H));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 me in s)B=s[me],s.hasOwnProperty(me)&&B!=null&&!l.hasOwnProperty(me)&&ze(e,n,me,null,l,B);for(U in l)if(B=l[U],H=s[U],l.hasOwnProperty(U)&&B!==H&&(B!=null||H!=null))switch(U){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(r(137,n));break;default:ze(e,n,U,B,l,H)}return;default:if(Rc(n)){for(var ke in s)B=s[ke],s.hasOwnProperty(ke)&&B!==void 0&&!l.hasOwnProperty(ke)&&gf(e,n,ke,void 0,l,B);for(Y in l)B=l[Y],H=s[Y],!l.hasOwnProperty(Y)||B===H||B===void 0&&H===void 0||gf(e,n,Y,B,l,H);return}}for(var k in s)B=s[k],s.hasOwnProperty(k)&&B!=null&&!l.hasOwnProperty(k)&&ze(e,n,k,null,l,B);for(K in l)B=l[K],H=s[K],!l.hasOwnProperty(K)||B===H||B==null&&H==null||ze(e,n,K,B,l,H)}function Ey(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function dT(){if(typeof performance.getEntriesByType=="function"){for(var e=0,n=0,s=performance.getEntriesByType("resource"),l=0;l<s.length;l++){var c=s[l],d=c.transferSize,x=c.initiatorType,w=c.duration;if(d&&w&&Ey(x)){for(x=0,w=c.responseEnd,l+=1;l<s.length;l++){var C=s[l],U=C.startTime;if(U>w)break;var Y=C.transferSize,K=C.initiatorType;Y&&Ey(K)&&(C=C.responseEnd,x+=Y*(C<w?1:(w-U)/(C-U)))}if(--l,n+=8*(d+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 yf=null,xf=null;
vendor: 7,636 bytes, line 9
9function ql(e){return e.nodeType===9?e:e.ownerDocument}function Ay(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 Ny(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 vf(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 bf=null;function hT(){var e=window.event;return e&&e.type==="popstate"?e===bf?!1:(bf=e,!0):(bf=null,!1)}var Cy=typeof setTimeout=="function"?setTimeout:void 0,mT=typeof clearTimeout=="function"?clearTimeout:void 0,Ry=typeof Promise=="function"?Promise:void 0,pT=typeof queueMicrotask=="function"?queueMicrotask:typeof Ry<"u"?function(e){return Ry.resolve(null).then(e).catch(gT)}:Cy;function gT(e){setTimeout(function(){throw e})}function Ai(e){return e==="head"}function My(e,n){var s=n,l=0;do{var c=s.nextSibling;if(e.removeChild(s),c&&c.nodeType===8)if(s=c.data,s==="/$"||s==="/&"){if(l===0){e.removeChild(c),ea(n);return}l--}else if(s==="$"||s==="$?"||s==="$~"||s==="$!"||s==="&")l++;else if(s==="html")ar(e.ownerDocument.documentElement);else if(s==="head"){s=e.ownerDocument.head,ar(s);for(var d=s.firstChild;d;){var x=d.nextSibling,w=d.nodeName;d[Ta]||w==="SCRIPT"||w==="STYLE"||w==="LINK"&&d.rel.toLowerCase()==="stylesheet"||s.removeChild(d),d=x}}else s==="body"&&ar(e.ownerDocument.body);s=c}while(s);ea(n)}function Dy(e,n){var s=e;e=0;do{var l=s.nextSibling;if(s.nodeType===1?n?(s._stashedDisplay=s.style.display,s.style.display="none"):(s.style.display=s._stashedDisplay||"",s.getAttribute("style")===""&&s.removeAttribute("style")):s.nodeType===3&&(n?(s._stashedText=s.nodeValue,s.nodeValue=""):s.nodeValue=s._stashedText||""),l&&l.nodeType===8)if(s=l.data,s==="/$"){if(e===0)break;e--}else s!=="$"&&s!=="$?"&&s!=="$~"&&s!=="$!"||e++;s=l}while(s)}function wf(e){var n=e.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var s=n;switch(n=n.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":wf(s),Ec(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}e.removeChild(s)}}function yT(e,n,s,l){for(;e.nodeType===1;){var c=s;if(e.nodeName.toLowerCase()!==n.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[Ta])switch(n){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==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(d=e.getAttribute("src"),(d!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(n==="input"&&e.type==="hidden"){var d=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=nn(e.nextSibling),e===null)break}return null}function xT(e,n,s){if(n==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!s||(e=nn(e.nextSibling),e===null))return null;return e}function Oy(e,n){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=nn(e.nextSibling),e===null))return null;return e}function Sf(e){return e.data==="$?"||e.data==="$~"}function Tf(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function vT(e,n){var s=e.ownerDocument;if(e.data==="$~")e._reactRetry=n;else if(e.data!=="$?"||s.readyState!=="loading")n();else{var l=function(){n(),s.removeEventListener("DOMContentLoaded",l)};s.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function nn(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 jf=null;function _y(e){e=e.nextSibling;for(var n=0;e;){if(e.nodeType===8){var s=e.data;if(s==="/$"||s==="/&"){if(n===0)return nn(e.nextSibling);n--}else s!=="$"&&s!=="$!"&&s!=="$?"&&s!=="$~"&&s!=="&"||n++}e=e.nextSibling}return null}function zy(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var s=e.data;if(s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"){if(n===0)return e;n--}else s!=="/$"&&s!=="/&"||n++}e=e.previousSibling}return null}function ky(e,n,s){switch(n=ql(s),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 ar(e){for(var n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Ec(e)}var sn=new Map,Ly=new Set;function Gl(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var In=X.d;X.d={f:bT,r:wT,D:ST,C:TT,L:jT,m:ET,X:NT,S:AT,M:CT};function bT(){var e=In.f(),n=zl();return e||n}function wT(e){var n=vs(e);n!==null&&n.tag===5&&n.type==="form"?Jp(n):In.r(e)}var $s=typeof document>"u"?null:document;function Vy(e,n,s){var l=$s;if(l&&typeof n=="string"&&n){var c=Zt(n);c='link[rel="'+e+'"][href="'+c+'"]',typeof s=="string"&&(c+='[crossorigin="'+s+'"]'),Ly.has(c)||(Ly.add(c),e={rel:e,crossOrigin:s,href:n},l.querySelector(c)===null&&(n=l.createElement("link"),mt(n,"link",e),lt(n),l.head.appendChild(n)))}}function ST(e){In.D(e),Vy("dns-prefetch",e,null)}function TT(e,n){In.C(e,n),Vy("preconnect",e,n)}function jT(e,n,s){In.L(e,n,s);var l=$s;if(l&&e&&n){var c='link[rel="preload"][as="'+Zt(n)+'"]';n==="image"&&s&&s.imageSrcSet?(c+='[imagesrcset="'+Zt(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(c+='[imagesizes="'+Zt(s.imageSizes)+'"]')):c+='[href="'+Zt(e)+'"]';var d=c;switch(n){case"style":d=Ws(e);break;case"script":d=Js(e)}sn.has(d)||(e=v({rel:"preload",href:n==="image"&&s&&s.imageSrcSet?void 0:e,as:n},s),sn.set(d,e),l.querySelector(c)!==null||n==="style"&&l.querySelector(rr(d))||n==="script"&&l.querySelector(lr(d))||(n=l.createElement("link"),mt(n,"link",e),lt(n),l.head.appendChild(n)))}}function ET(e,n){In.m(e,n);var s=$s;if(s&&e){var l=n&&typeof n.as=="string"?n.as:"script",c='link[rel="modulepreload"][as="'+Zt(l)+'"][href="'+Zt(e)+'"]',d=c;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=Js(e)}if(!sn.has(d)&&(e=v({rel:"modulepreload",href:e},n),sn.set(d,e),s.querySelector(c)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(lr(d)))return}l=s.createElement("link"),mt(l,"link",e),lt(l),s.head.appendChild(l)}}}function AT(e,n,s){In.S(e,n,s);var l=$s;if(l&&e){var c=bs(l).hoistableStyles,d=Ws(e);n=n||"default";var x=c.get(d);if(!x){var w={loading:0,preload:null};if(x=l.querySelector(rr(d)))w.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":n},s),(s=sn.get(d))&&Ef(e,s);var C=x=l.createElement("link");lt(C),mt(C,"link",e),C._p=new Promise(function(U,Y){C.onload=U,C.onerror=Y}),C.addEventListener("load",function(){w.loading|=1}),C.addEventListener("error",function(){w.loading|=2}),w.loading|=4,Yl(x,n,l)}
vendor: 5,509 bytes, line 9
9x={type:"stylesheet",instance:x,count:1,state:w},c.set(d,x)}}}function NT(e,n){In.X(e,n);var s=$s;if(s&&e){var l=bs(s).hoistableScripts,c=Js(e),d=l.get(c);d||(d=s.querySelector(lr(c)),d||(e=v({src:e,async:!0},n),(n=sn.get(c))&&Af(e,n),d=s.createElement("script"),lt(d),mt(d,"link",e),s.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},l.set(c,d))}}function CT(e,n){In.M(e,n);var s=$s;if(s&&e){var l=bs(s).hoistableScripts,c=Js(e),d=l.get(c);d||(d=s.querySelector(lr(c)),d||(e=v({src:e,async:!0,type:"module"},n),(n=sn.get(c))&&Af(e,n),d=s.createElement("script"),lt(d),mt(d,"link",e),s.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},l.set(c,d))}}function Uy(e,n,s,l){var c=(c=fe.current)?Gl(c):null;if(!c)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(n=Ws(s.href),s=bs(c).hoistableStyles,l=s.get(n),l||(l={type:"style",instance:null,count:0,state:null},s.set(n,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){e=Ws(s.href);var d=bs(c).hoistableStyles,x=d.get(e);if(x||(c=c.ownerDocument||c,x={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,x),(d=c.querySelector(rr(e)))&&!d._p&&(x.instance=d,x.state.loading=5),sn.has(e)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},sn.set(e,s),d||RT(c,e,s,x.state))),n&&l===null)throw Error(r(528,""));return x}if(n&&l!==null)throw Error(r(529,""));return null;case"script":return n=s.async,s=s.src,typeof s=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Js(s),s=bs(c).hoistableScripts,l=s.get(n),l||(l={type:"script",instance:null,count:0,state:null},s.set(n,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Ws(e){return'href="'+Zt(e)+'"'}function rr(e){return'link[rel="stylesheet"]['+e+"]"}function By(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function RT(e,n,s,l){e.querySelector('link[rel="preload"][as="style"]['+n+"]")?l.loading=1:(n=e.createElement("link"),l.preload=n,n.addEventListener("load",function(){return l.loading|=1}),n.addEventListener("error",function(){return l.loading|=2}),mt(n,"link",s),lt(n),e.head.appendChild(n))}function Js(e){return'[src="'+Zt(e)+'"]'}function lr(e){return"script[async]"+e}function Py(e,n,s){if(n.count++,n.instance===null)switch(n.type){case"style":var l=e.querySelector('style[data-href~="'+Zt(s.href)+'"]');if(l)return n.instance=l,lt(l),l;var c=v({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),lt(l),mt(l,"style",c),Yl(l,s.precedence,e),n.instance=l;case"stylesheet":c=Ws(s.href);var d=e.querySelector(rr(c));if(d)return n.state.loading|=4,n.instance=d,lt(d),d;l=By(s),(c=sn.get(c))&&Ef(l,c),d=(e.ownerDocument||e).createElement("link"),lt(d);var x=d;return x._p=new Promise(function(w,C){x.onload=w,x.onerror=C}),mt(d,"link",l),n.state.loading|=4,Yl(d,s.precedence,e),n.instance=d;case"script":return d=Js(s.src),(c=e.querySelector(lr(d)))?(n.instance=c,lt(c),c):(l=s,(c=sn.get(d))&&(l=v({},s),Af(l,c)),e=e.ownerDocument||e,c=e.createElement("script"),lt(c),mt(c,"link",l),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&&(l=n.instance,n.state.loading|=4,Yl(l,s.precedence,e));return n.instance}function Yl(e,n,s){for(var l=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=l.length?l[l.length-1]:null,d=c,x=0;x<l.length;x++){var w=l[x];if(w.dataset.precedence===n)d=w;else if(d!==c)break}d?d.parentNode.insertBefore(e,d.nextSibling):(n=s.nodeType===9?s.head:s,n.insertBefore(e,n.firstChild))}function Ef(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.title==null&&(e.title=n.title)}function Af(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 Hy(e,n,s){if(Fl===null){var l=new Map,c=Fl=new Map;c.set(s,l)}else c=Fl,l=c.get(s),l||(l=new Map,c.set(s,l));if(l.has(e))return l;for(l.set(e,null),s=s.getElementsByTagName(e),c=0;c<s.length;c++){var d=s[c];if(!(d[Ta]||d[ut]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var x=d.getAttribute(n)||"";x=e+x;var w=l.get(x);w?w.push(d):l.set(x,[d])}}return l}function qy(e,n,s){e=e.ownerDocument||e,e.head.insertBefore(s,n==="title"?e.querySelector("head > title"):null)}function MT(e,n,s){if(s===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 Gy(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function DT(e,n,s,l){if(s.type==="stylesheet"&&(typeof l.media!="str
9ing"||matchMedia(l.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var c=Ws(l.href),d=n.querySelector(rr(c));if(d){n=d._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(e.count++,e=Xl.bind(e),n.then(e,e)),s.state.loading|=4,s.instance=d,lt(d);return}d=n.ownerDocument||n,l=By(l),(c=sn.get(c))&&Ef(l,c),d=d.createElement("link"),lt(d);var x=d;x._p=new Promise(function(w,C){x.onload=w,x.onerror=C}),mt(d,"link",l),s.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(s,n),(n=s.state.preload)&&(s.state.loading&3)===0&&(e.count++,s=Xl.bind(e),n.addEventListener("load",s),n.addEventListener("error",s))}}var Nf=0;function OT(e,n){return e.stylesheets&&e.count===0&&Kl(e,e.stylesheets),0<e.count||0<e.imgCount?function(s){var l=setTimeout(function(){if(e.stylesheets&&Kl(e,e.stylesheets),e.unsuspend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4+n);0<e.imgBytes&&Nf===0&&(Nf=62500*dT());var c=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Kl(e,e.stylesheets),e.unsuspend)){var d=e.unsuspend;e.unsuspend=null,d()}},(e.imgBytes>Nf?50:800)+n);return e.unsuspend=s,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(c)}}:null}function Xl(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Kl(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Ql=null;function Kl(e,n){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Ql=new Map,n.forEac
vendor: 9,854 bytes, line 9
9h(_T,e),Ql=null,Xl.call(e))}function _T(e,n){if(!(n.state.loading&4)){var s=Ql.get(e);if(s)var l=s.get(null);else{s=new Map,Ql.set(e,s);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<c.length;d++){var x=c[d];(x.nodeName==="LINK"||x.getAttribute("media")!=="not all")&&(s.set(x.dataset.precedence,x),l=x)}l&&s.set(null,l)}c=n.instance,x=c.getAttribute("data-precedence"),d=s.get(x)||l,d===l&&s.set(null,c),s.set(x,c),this.count++,l=Xl.bind(this),c.addEventListener("load",l),c.addEventListener("error",l),d?d.parentNode.insertBefore(c,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),n.state.loading|=4}}var or={$$typeof:M,Provider:null,Consumer:null,_currentValue:Z,_currentValue2:Z,_threadCount:0};function zT(e,n,s,l,c,d,x,w,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=wc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wc(0),this.hiddenUpdates=wc(null),this.identifierPrefix=l,this.onUncaughtError=c,this.onCaughtError=d,this.onRecoverableError=x,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=C,this.incompleteTransitions=new Map}function Yy(e,n,s,l,c,d,x,w,C,U,Y,K){return e=new zT(e,n,s,x,C,U,Y,K,w),n=1,d===!0&&(n|=24),d=Ut(3,null,null,n),e.current=d,d.stateNode=e,n=au(),n.refCount++,e.pooledCache=n,n.refCount++,d.memoizedState={element:l,isDehydrated:s,cache:n},cu(d),e}function Fy(e){return e?(e=Ms,e):Ms}function Xy(e,n,s,l,c,d){c=Fy(c),l.context===null?l.context=c:l.pendingContext=c,l=pi(n),l.payload={element:s},d=d===void 0?null:d,d!==null&&(l.callback=d),s=gi(e,l,n),s!==null&&(Dt(s,e,n),Pa(s,e,n))}function Qy(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var s=e.retryLane;e.retryLane=s!==0&&s<n?s:n}}function Cf(e,n){Qy(e,n),(e=e.alternate)&&Qy(e,n)}function Ky(e){if(e.tag===13||e.tag===31){var n=Xi(e,67108864);n!==null&&Dt(n,e,67108864),Cf(e,67108864)}}function Zy(e){if(e.tag===13||e.tag===31){var n=Gt();n=Sc(n);var s=Xi(e,n);s!==null&&Dt(s,e,n),Cf(e,n)}}var Zl=!0;function kT(e,n,s,l){var c=D.T;D.T=null;var d=X.p;try{X.p=2,Rf(e,n,s,l)}finally{X.p=d,D.T=c}}function LT(e,n,s,l){var c=D.T;D.T=null;var d=X.p;try{X.p=8,Rf(e,n,s,l)}finally{X.p=d,D.T=c}}function Rf(e,n,s,l){if(Zl){var c=Mf(l);if(c===null)pf(e,n,l,Il,s),$y(e,l);else if(UT(c,e,n,s,l))l.stopPropagation();else if($y(e,l),n&4&&-1<VT.indexOf(e)){for(;c!==null;){var d=vs(c);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var x=Hi(d.pendingLanes);if(x!==0){var w=d;for(w.pendingLanes|=2,w.entangledLanes|=2;x;){var C=1<<31-Lt(x);w.entanglements[1]|=C,x&=~C}jn(d),(Me&6)===0&&(Ol=zt()+500,nr(0))}}break;case 31:case 13:w=Xi(d,2),w!==null&&Dt(w,d,2),zl(),Cf(d,2)}if(d=Mf(l),d===null&&pf(e,n,l,Il,s),d===c)break;c=d}c!==null&&l.stopPropagation()}else pf(e,n,l,null,s)}}function Mf(e){return e=Dc(e),Df(e)}var Il=null;function Df(e){if(Il=null,e=xs(e),e!==null){var n=u(e);if(n===null)e=null;else{var s=n.tag;if(s===13){if(e=h(n),e!==null)return e;e=null}else if(s===31){if(e=m(n),e!==null)return e;e=null}else if(s===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}}return Il=e,null}function Iy(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(SS()){case sm:return 2;case am:return 8;case Br:case TS:return 32;case rm:return 268435456;default:return 32}default:return 32}}var Of=!1,Ni=null,Ci=null,Ri=null,cr=new Map,ur=new Map,Mi=[],VT="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 $y(e,n){switch(e){case"focusin":case"focusout":Ni=null;break;case"dragenter":case"dragleave":Ci=null;break;case"mouseover":case"mouseout":Ri=null;break;case"pointerover":case"pointerout":cr.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":ur.delete(n.pointerId)}}function fr(e,n,s,l,c,d){return e===null||e.nativeEvent!==d?(e={blockedOn:n,domEventName:s,eventSystemFlags:l,nativeEvent:d,targetContainers:[c]},n!==null&&(n=vs(n),n!==null&&Ky(n)),e):(e.eventSystemFlags|=l,n=e.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),e)}function UT(e,n,s,l,c){switch(n){case"focusin":return Ni=fr(Ni,e,n,s,l,c),!0;case"dragenter":return Ci=fr(Ci,e,n,s,l,c),!0;case"mouseover":return Ri=fr(Ri,e,n,s,l,c),!0;case"pointerover":var d=c.pointerId;return cr.set(d,fr(cr.get(d)||null,e,n,s,l,c)),!0;case"gotpointercapture":return d=c.pointerId,ur.set(d,fr(ur.get(d)||null,e,n,s,l,c)),!0}return!1}function Wy(e){var n=xs(e.target);if(n!==null){var s=u(n);if(s!==null){if(n=s.tag,n===13){if(n=h(s),n!==null){e.blockedOn=n,dm(e.priority,function(){Zy(s)});return}}else if(n===31){if(n=m(s),n!==null){e.blockedOn=n,dm(e.priority,function(){Zy(s)});return}}else if(n===3&&s.stateNode.current.memoizedState.isDehydrated){e.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}e.blockedOn=null}function $l(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var s=Mf(e.nativeEvent);if(s===null){s=e.nativeEvent;var l=new s.constructor(s.type,s);Mc=l,s.target.dispatchEvent(l),Mc=null}else return n=vs(s),n!==null&&Ky(n),e.blockedOn=s,!1;n.shift()}return!0}function Jy(e,n,s){$l(e)&&s.delete(n)}function BT(){Of=!1,Ni!==null&&$l(Ni)&&(Ni=null),Ci!==null&&$l(Ci)&&(Ci=null),Ri!==null&&$l(Ri)&&(Ri=null),cr.forEach(Jy),ur.forEach(Jy)}function Wl(e,n){e.blockedOn===n&&(e.blockedOn=null,Of||(Of=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,BT)))}var Jl=null;function e0(e){Jl!==e&&(Jl=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Jl===e&&(Jl=null);for(var n=0;n<e.length;n+=3){var s=e[n],l=e[n+1],c=e[n+2];if(typeof l!="function"){if(Df(l||s)===null)continue;break}var d=vs(s);d!==null&&(e.splice(n,3),n-=3,Ru(d,{pending:!0,data:c,method:s.method,action:l},l,c))}}))}function ea(e){function n(C){return Wl(C,e)}Ni!==null&&Wl(Ni,e),Ci!==null&&Wl(Ci,e),Ri!==null&&Wl(Ri,e),cr.forEach(n),ur.forEach(n);for(var s=0;s<Mi.length;s++){var l=Mi[s];l.blockedOn===e&&(l.blockedOn=null)}for(;0<Mi.length&&(s=Mi[0],s.blockedOn===null);)Wy(s),s.blockedOn===null&&Mi.shift();if(s=(e.ownerDocument||e).$$reactFormReplay,s!=null)for(l=0;l<s.length;l+=3){var c=s[l],d=s[l+1],x=c[Et]||null;if(typeof d=="function")x||e0(s);else if(x){var w=null;if(d&&d.hasAttribute("formAction")){if(c=d,x=d[Et]||null)w=x.formAction;else if(Df(c)!==null)continue}else w=x.action;typeof w=="function"?s[l+1]=w:(s.splice(l,3),l-=3),e0(s)}}}function t0(){function e(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(x){return c=x})},focusReset:"manual",scroll:"manual"})}function n(){c!==null&&(c(),c=null),l||setTimeout(s,20)}function s(){if(!l&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,c=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(s,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),c!==null&&(c(),c=null)}}}function _f(e){this._internalRoot=e}eo.prototype.render=_f.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(r(409));var s=n.current,l=Gt();Xy(s,l,e,n,null,null)},eo.prototype.unmount=_f.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Xy(e.current,2,null,e,null,null),zl(),n[ys]=null}};function eo(e){this._internalRoot=e}eo.prototype.unstable_scheduleHydration=function(e){if(e){var n=fm();e={blockedOn:null,target:e,priority:n};for(var s=0;s<Mi.length&&n!==0&&n<Mi[s].priority;s++);Mi.splice(s,0,e),s===0&&Wy(e)}};var n0=i.version;if(n0!=="19.2.8")throw Error(r(527,n0,"19.2.8"));X.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=p(n),e=e!==null?y(e):null,e=e===null?null:e.stateNode,e};var PT={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.2.8"};
9if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var to=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!to.isDisabled&&to.supportsFiber)try{ba=to.inject(PT),kt=to}catch{}}return hr.createRoot=function(e,n){if(!o(e))throw Error(r(299));var s=!1,l="",c=cg,d=ug,x=fg;return n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(x=n.onRecoverableError)),n=Yy(e,1,!1,null,null,s,l,null,c,d,x,t0),e[ys]=n.current,mf(e),new _f(n)},hr.hydrateRoot=function(e,n,s){if(!o(e))throw Error(r(299));var l=!1,c="",d=cg,x=ug,w=fg,C=null;return s!=null&&(s.unstable_strictMode===!0&&(l=!0),s.identifierPrefix!==void 0&&(c=s.identifierPrefix),s.onUncaughtError!==void 0&&(d=s.onUncaughtError),s.onCaughtError!==void 0&&(x=s.onCaughtError),s.onRecoverableError!==void 0&&(w=s.onRecoverableError),s.formState!==void 0&&(C=s.formState)),n=Yy(e,1,!0,n,s??null,l,c,C,d,x,w,t0),n.context=Fy(null),s=n.current,l=Gt(),l=Sc(l),c=pi(l),c.callback=null,gi(s,c,l),s=l,n.current.lanes=s,Sa(n,s),jn(n),e[ys]=n.current,mf(e),new eo(n)},hr.version="19.2.8",hr}var p0;function $T(){if(p0)return Lf.exports;p0=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(i){console.error(i)}}return t(),Lf.exports=IT(),Lf.exports}var WT=$T();function JT(t,i){if(t instanceof RegExp)return{keys:!1,pattern:t};var a,r,o,u,h=[],m="",g=t.split("/");for(g[0]||g.shift();o=g.shift();)a=o[0],a==="*"?(h.push(a),m+=o[1]==="?"?"(?:/(.*))?":"/(.*)"):a===":"?(r=o.indexOf("?",1),u=o.indexOf(".",1),h.push(o.substring(1,~r?r:~u?u:o.length)),m+=~r&&!~u?"(?:/([^/]+?))?":"/([^/]+?)",~u&&(m+=(~r?"?":"")+"\\"+o.substring(u))):m+="/"+o;return{keys:h,pattern:new RegExp("^"+m+(i?"(?=$|/)":"/?$"),"i")}}var T=Io();const ej=GT(T),_r=qT({__proto__:null,default:ej},[T]);var Hf={exports:{}},qf={};var g0;function tj(){if(g0)return qf;g0=1;var t=Io();function i(v,b){return v===b&&(v!==0||1/v===1/b)||v!==v&&b!==b}var a=typeof Object.is=="function"?Object.is:i,r=t.useState,o=t.useEffect,u=t.useLayoutEffect,h=t.useDebugValue;function m(v,b){var j=b(),S=r({inst:{value:j,getSnapshot:b}}),E=S[0].inst,A=S[1];return u(function(){E.value=j,E.getSnapshot=b,g(E)&&A({inst:E})},[v,j,b]),o(function(){return g(E)&&A({inst:E}),v(function(){g(E)&&A({inst:E})})},[v]),h(j),j}function g(v){var b=v.getSnapshot;v=v.value;try{var j=b();return!a(v,j)}catch{return!0}}function p(v,b){return b()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:m;return qf.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:y,qf}var y0;function nj(){return y0||(y0=1,Hf.exports=tj()),Hf.exports}var ij=nj();const sj=_r.useInsertionEffect,aj=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",rj=aj?T.useLayoutEffect:T.useEffect,lj=sj||rj,Av=t=>{const i=T.useRef([t,(...a)=>i[0](...a)]).current;return lj(()=>{i[0]=t}),i[1]},oj="popstate",nh="pushState",ih="replaceState",cj="hashchange",x0=[oj,nh,ih,cj],uj=t=>{for(const i of x0)addEventListener(i,t);return()=>{for(const i of x0)removeEventListener(i,t)}},Nv=(t,i)=>ij.useSyncExternalStore(uj,t,i),v0=()=>location.search,fj=({ssrSearch:t}={})=>Nv(v0,t!=null?()=>t:v0),b0=()=>location.pathname,dj=({ssrPath:t}={})=>Nv(b0,t!=null?()=>t:b0),hj=(t,{replace:i=!1,state:a=null}={})=>history[i?ih:nh](a,"",t),mj=(t={})=>[dj(t),hj],w0=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[w0]>"u"){for(const t of[nh,ih]){const i=history[t];history[t]=function(){const a=i.apply(this,arguments),r=new Event(t);return r.arguments=arguments,dispatchEvent(r),a}}Object.defineProperty(window,w0,{value:!0})}const pj=(t,i)=>i.toLowerCase().indexOf(t.toLowerCase())?"~"+i:i.slice(t.length)||"/",Cv=(t="")=>t==="/"?"":t,gj=(t,i)=>t[0]==="~"?t.slice(1):Cv(i)+t,yj=(t="",i)=>pj(md(Cv(t)),md(i)),xj=t=>t[0]==="?"?t.slice(1):t,md=t=>{try{return decodeURI(t)}catch{return t}},vj=t=>md(xj(t)),Rv={hook:mj,searchHook:fj,parser:JT,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:t=>t,aroundNav:(t,i,a)=>t(i,a)},Mv=T.createContext(Rv),da=()=>T.useContext(Mv),Dv={},Ov=T.createContext(Dv),bj=()=>T.useContext(Ov),$o=t=>{const[i,a]=t.hook(t);return[yj(t.base,i),Av((r,o)=>t.aroundNav(a,gj(r,t.base),o))]},wj=()=>$o(da()),Sj=()=>{const t=da();return vj(t.searchHook(t))},_v=(t,i,a,r)=>{const{pattern:o,keys:u}=i instanceof RegExp?{keys:!1,pattern:i}:t(i||"*",r),h=o.exec(a)||[],[m,...g]=h;return m!==void 0?[!0,(()=>{const p=u!==!1?Object.fromEntries(u.map((v,b)=>[v,g[b]])):h.groups;let y={...g};return p&&Object.assign(y,p),y})(),...r?[m]:[]]:[!1,null]},Tj=({children:t,...i})=>{const a=da(),r=i.hook?Rv:a;let o=r;const[u,h=i.ssrSearch??""]=i.ssrPath?.split("?")??[];u&&(i.ssrSearch=h,i.ssrPath=u),i.hrefs=i.hrefs??i.hook?.hrefs,i.searchHook=i.searchHook??i.hook?.searchHook;let m=T.useRef({}),g=m.current,p=g;
9for(let y in r){const v=y==="base"?r[y]+(i[y]??""):i[y]??r[y];g===p&&v!==p[y]&&(m.current=p={...p}),p[y]=v,(v!==r[y]||v!==o[y])&&(o=p)}return T.createElement(Mv.Provider,{value:o,children:t})},S0=({children:t,component:i},a)=>i?T.createElement(i,{params:a}):typeof t=="function"?t(a):t,jj=t=>{let i=T.useRef(Dv);const a=i.current;return i.current=Object.keys(t).length!==Object.keys(a).length||Object.entries(t).some(([r,o])=>o!==a[r])?t:a},mr=({path:t,nest:i,match:a,...r})=>{const o=da(),[u]=$o(o),[h,m,g]=a??_v(o.parser,t,u,i),p=jj({...bj(),...m});if(!h)return null;const y=g?T.createElement(Tj,{base:g},S0(r,p)):S0(r,p);return T.createElement(Ov.Provider,{value:p,children:y})},zv=T.forwardRef((t,i)=>{const a=da(),[r,o]=$o(a),{to:u="",href:h=u,onClick:m,asChild:g,children:p,className:y,replace:v,state:b,transition:j,...S}=t,E=Av(N=>{N.ctrlKey||N.metaKey||N.altKey||N.shiftKey||N.button!==0||(m?.(N),N.defaultPrevented||(N.preventDefault(),o(h,t)))}),A=a.hrefs(h[0]==="~"?h.slice(1):a.base+h,a);return g&&T.isValidElement(p)?T.cloneElement(p,{onClick:E,href:A}):T.createElement("a",{...S,onClick:E,href:A,className:y?.call?y(r===h):y,children:p,ref:i})}),kv=t=>Array.isArray(t)?t.flatMap(i=>kv(i&&i.type===T.Fragment?i.props.children:i)):[t],Ej=({children:t,location:i})=>{const a=da(),[r]=$o(a);for(const o of kv(t)){let u=0;if(T.isValidElement(o)&&(u=_v(a.parser,o.props.path,i||r,o.props.nest))[0])return T.cloneElement(o,{match:u})}return null},Aj=T.createContext(void 0),Nj=({client:t,children:i})=>(T.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),f.jsx(Aj.Provider,{value:t,children:i})),Cj={setTimeout:(t,i)=>setTimeout(t,i),clearTimeout:t=>clearTimeout(t),setInterval:(t,i)=>setInterval(t,i),clearInterval:t=>clearInterval(t)};var Rj=class{#e=Cj;#t=!1;setTimeoutProvider(t){this.#e=t}setTimeout(t,i){return this.#e.setTimeout(t,i)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,i){return this.#e.setInterval(t,i)}clearInterval(t){this.#e.clearInterval(t)}};const pd=new Rj;function Mj(t){setTimeout(t,0)}const Dj=typeof window>"u"||"Deno"in globalThis;function an(){}function Oj(t,i){return typeof t=="function"?t(i):t}function _j(t){return typeof t=="number"&&t>=0&&t!==1/0}function zj(t,i){return Math.max(t+(i||0)-Date.now(),0)}function po(t,i){return typeof t=="function"?t(i):t}function kj(t,i){return typeof t=="function"?t(i):t}function T0(t,i){const{type:a="all",exact:r,fetchStatus:o,predicate:u,queryKey:h,stale:m}=t;if(h){if(r){if(i.queryHash!==sh(h,i.options))return!1}else if(!ca(i.queryKey,h))return!1}if(a!=="all"){const g=i.isActive();if(a==="active"&&!g||a==="inactive"&&g)return!1}return!(typeof m=="boolean"&&i.isStale()!==m||o&&o!==i.state.fetchStatus||u&&!u(i))}function j0(t,i){const{exact:a,status:r,predicate:o,mutationKey:u}=t;if(u){if(!i.options.mutationKey)return!1;if(a){if(Er(i.options.mutationKey)!==Er(u))return!1}else if(!ca(i.options.mutationKey,u))return!1}return!(r&&i.state.status!==r||o&&!o(i))}function sh(t,i){return(i?.queryKeyHashFn||Er)(t)}function Er(t){return JSON.stringify(t,(i,a)=>gd(a)?Object.keys(a).sort().reduce((r,o)=>(r[o]=a[o],r),{}):a)}function ca(t,i){if(t===i)return!0;if(typeof t!=typeof i)return!1;if(t&&i&&typeof t=="object"&&typeof i=="object"){if(Array.isArray(t)&&Array.isArray(i)){for(let r=0;r<i.length;r++)if(!ca(t[r],i[r]))return!1;return!0}const a=Object.keys(i);for(const r of a)if(!ca(t[r],i[r]))return!1;return!0}return!1}const Lj=Object.prototype.hasOwnProperty;function Lv(t,i,a=0){if(t===i)return t;if(a>500)return i;const r=E0(t)&&E0(i);if(!r&&!(gd(t)&&gd(i)))return i;const o=(r?t:Object.keys(t)).length,u=r?i:Object.keys(i),h=u.length,m=r?new Array(h):{};let g=0;for(let p=0;p<h;
9p++){const y=r?p:u[p],v=t[y],b=i[y];if(v===b){m[y]=v,(r?p<o:Lj.call(t,y))&&g++;continue}if(v===null||b===null||typeof v!="object"||typeof b!="object"){m[y]=b;continue}const j=Lv(v,b,a+1);m[y]=j,j===v&&g++}return o===h&&g===o?t:m}function E0(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function gd(t){if(!A0(t))return!1;const i=t.constructor;if(i===void 0)return!0;const a=i.prototype;return!(!A0(a)||!a.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function A0(t){return Object.prototype.toString.call(t)==="[object Object]"}function Vj(t){return new Promise(i=>{pd.setTimeout(i,t)})}function Uj(t,i,a){return typeof a.structuralSharing=="function"?a.structuralSharing(t,i):a.structuralSharing!==!1?Lv(t,i):i}function Bj(t,i,a=0){const r=[...t,i];return a&&r.length>a?r.slice(1):r}function Pj(t,i,a=0){const r=[i,...t];return a&&r.length>a?r.slice(0,-1):r}const ah=Symbol();function Vv(t,i){return!t.queryFn&&i?.initialPromise?()=>i.initialPromise:!t.queryFn||t.queryFn===ah?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function Hj(t,i,a){let r=!1,o;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(o??=i(),r||(r=!0,o.aborted?a():o.addEventListener("abort",a,{once:!0})),o)}),t}const Uv=(()=>{let t=()=>Dj;return{isServer(){return t()},setIsServer(i){t=i}}})();var Wo=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(){}},qj=class extends Wo{#e;#t;#n;constructor(){super(),this.#n=t=>{if(typeof window<"u"&&window.addEventListener){const i=()=>t();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}}}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(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(i=>{i(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}};const Bv=new qj,Gj=Mj;function Yj(){let t=[],i=0,a=m=>{m()},r=m=>{m()},o=Gj;const u=m=>{i?t.push(m):o(()=>{a(m)})},h=()=>{const m=t;t=[],m.length&&o(()=>{r(()=>{m.forEach(g=>{a(g)})})})};return{batch:m=>{let g;i++;try{g=m()}finally{i--,i||h()}return g},batchCalls:m=>(...g)=>{u(()=>{m(...g)})},schedule:u,setNotifyFunction:m=>{a=m},setBatchNotifyFunction:m=>{r=m},setScheduler:m=>{o=m}}}const bt=Yj();var Fj=class extends Wo{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(typeof window<"u"&&window.addEventListener){const i=()=>t(!0),a=()=>t(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",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(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(i=>{i(t)}))}isOnline(){return this.#e}};const Mo=new Fj;function Xj(t){return Math.min(1e3*2**t,3e4)}function Pv(t){return(t??"online")==="online"?Mo.isOnline():!0}var yd=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function Hv(t){let i=!1,a=0,r,o="pending",u,h;const m=new Promise((_,M)=>{u=_,h=M});m.catch(an);const g=()=>o!=="pending",p=_=>{if(!g()){const M=new yd(_);
9E(M),t.onCancel?.(M)}},y=()=>{i=!0},v=()=>{i=!1},b=()=>Bv.isFocused()&&(t.networkMode==="always"||Mo.isOnline())&&t.canRun(),j=()=>Pv(t.networkMode)&&t.canRun(),S=_=>{g()||(r?.(),o="resolved",u(_))},E=_=>{g()||(r?.(),o="rejected",h(_))},A=()=>new Promise(_=>{r=M=>{(g()||b())&&_(M)},t.onPause?.()}).then(()=>{r=void 0,g()||t.onContinue?.()}),N=()=>{if(g())return;let _;const M=a===0?t.initialPromise:void 0;try{_=M??t.fn()}catch(z){_=Promise.reject(z)}Promise.resolve(_).then(S).catch(z=>{if(g())return;const G=t.retry??(Uv.isServer()?0:3),q=t.retryDelay??Xj,P=typeof q=="function"?q(a,z):q,L=G===!0||typeof G=="number"&&a<G||typeof G=="function"&&G(a,z);if(i||!L){E(z);return}a++,t.onFail?.(a,z),Vj(P).then(()=>b()?void 0:A()).then(()=>{i?E(z):N()})})};return{promise:m,status:()=>o,cancel:p,continue:()=>(r?.(),m),cancelRetry:y,continueRetry:v,canStart:j,start:()=>(j()?N():A().then(N),m)}}var qv=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),_j(this.gcTime)&&(this.#e=pd.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Uv.isServer()?1/0:3e5))}clearGcTimeout(){this.#e!==void 0&&(pd.clearTimeout(this.#e),this.#e=void 0)}};function Qj(t){return{onFetch:(i,a)=>{const r=i.options,o=i.fetchOptions?.meta?.fetchMore?.direction,u=i.state.data?.pages||[],h=i.state.data?.pageParams||[];let m={pages:[],pageParams:[]},g=0;const p=async()=>{let y=!1;const v=S=>{Hj(S,()=>i.signal,()=>y=!0)},b=Vv(i.options,i.fetchOptions),j=async(S,E,A)=>{if(y)return Promise.reject(i.signal.reason);if(E==null&&S.pages.length)return Promise.resolve(S);const _=(()=>{const q={client:i.client,queryKey:i.queryKey,pageParam:E,direction:A?"backward":"forward",meta:i.options.meta};return v(q),q})(),M=await b(_),{maxPages:z}=i.options,G=A?Pj:Bj;return{pages:G(S.pages,M,z),pageParams:G(S.pageParams,E,z)}};if(o&&u.length){const S=o==="backward",E=S?Kj:N0,A={pages:u,pageParams:h};m=await j(A,E(r,A),S)}else{const S=t??u.length;do{const E=g===0?h[0]??r.initialPageParam:N0(r,m);if(g>0&&E==null)break;m=await j(m,E),g++}while(g<S)}return m};i.options.persister?i.fetchFn=()=>i.options.persister?.(p,{client:i.client,queryKey:i.queryKey,meta:i.options.meta,signal:i.signal},a):i.fetchFn=p}}}function N0(t,{pages:i,pageParams:a}){const r=i.length-1;return i.length>0?t.getNextPageParam(i[r],i,a[r],a):void 0}function Kj(t,{pages:i,pageParams:a}){return i.length>0?t.getPreviousPageParam?.(i[0],i,a[0],a):void 0}var Zj=class extends qv{#e;#t;#n;#s;#a;#i;#o;#r;constructor(t){super(),this.#r=!1,this.#o=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#a=t.client,this.#s=this.#a.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#t=R0(this.options),this.state=t.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#i?.promise}setOptions(t){if(this.options={...this.#o,...t},t?._type&&(this.#e=t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=R0(this.options);i.data!==void 0&&(this.setState(C0(i.data,i.dataUpdatedAt)),this.#t=i)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#s.remove(this)}setData(t,i){const a=Uj(this.state.data,t,this.options);return this.#l({data:a,type:"success",dataUpdatedAt:i?.updatedAt,manual:i?.manual}),a}setState(t){this.#l({type:"setState",state:t})}cancel(t){const i=this.#i?.promise;return this.#i?.cancel(t),i?i.then(an).catch(an):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>kj(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ah||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>po(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:!zj(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){const i=this.observers.indexOf(t);i!==-1&&(this.observers.splice(i,1),this.observers.length||(this.#i&&(this.#r||this.#c()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#s.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(t,i){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&i?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(t&&this.setOptions(t),!this.options.queryFn){const g=this.observers.find(p=>p.options.queryFn);g&&this.setOptions(g.options)}const a=new AbortController,r=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(this.#r=!0,a.signal)}
9)},o=()=>{const g=Vv(this.options,i),y=(()=>{const v={client:this.#a,queryKey:this.queryKey,meta:this.meta};return r(v),v})();return this.#r=!1,this.options.persister?this.options.persister(g,y,this):g(y)},h=(()=>{const g={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:o};return r(g),g})();(this.#e==="infinite"?Qj(this.options.pages):this.options.behavior)?.onFetch(h,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==h.fetchOptions?.meta)&&this.#l({type:"fetch",meta:h.fetchOptions?.meta});const m=this.#i=Hv({initialPromise:i?.initialPromise,fn:h.fetchFn,onCancel:g=>{g instanceof yd&&g.revert&&this.setState({...this.#n,fetchStatus:"idle"}),a.abort()},onFail:(g,p)=>{this.#l({type:"failed",failureCount:g,error:p})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode,canRun:()=>!0});try{const g=await m.start();if(g===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(g),this.#s.config.onSuccess?.(g,this),this.#s.config.onSettled?.(g,this.state.error,this),g}catch(g){if(g instanceof yd){if(g.silent)return this.#i.promise;if(g.revert){if(this.state.data===void 0)throw g;return this.state.data}}throw this.#l({type:"error",error:g}),this.#s.config.onError?.(g,this),this.#s.config.onSettled?.(this.state.data,g,this),g}finally{this.#i===m&&(this.#i=void 0),this.scheduleGc()}}#l(t){const i=a=>{switch(t.type){case"failed":return{...a,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...Ij(a.data,this.options),fetchMeta:t.meta??null};case"success":const r={...a,...C0(t.data,t.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=t.manual?r:void 0,r;case"error":const o=t.error;return{...a,error:o,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...t.state}}};this.state=i(this.state),bt.batch(()=>{this.observers.slice().forEach(a=>{a.onQueryUpdate()}),this.#s.notify({query:this,type:"updated",action:t})})}};function Ij(t,i){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Pv(i.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function C0(t,i){return{data:t,dataUpdatedAt:i??Date.now(),error:null,isInvalidated:!1,status:"success"}}function R0(t){const i=typeof t.initialData=="function"?t.initialData():t.initialData,a=i!==void 0,r=a?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:i,dataUpdateCount:0,dataUpdatedAt:a?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}var $j=class extends qv{#e;#t;#n;#s;constructor(t){super(),this.#e=t.client,this.mutationId=t.mutationId,this.#n=t.mutationCache,this.#t=[],this.state=t.state||Wj(),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(i=>i!==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.#s?.continue()??(this.state.status==="pending"?this.execute(this.state.variables):Promise.resolve())}async execute(t){const i=()=>{this.#a({type:"continue"})},a={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey},r=this.#s=Hv({fn:()=>this.options.mutationFn?this.options.mutationFn(t,a):Promise.reject(new Error("No mutationFn found")),onFail:(h,m)=>{this.#a({type:"failed",failureCount:h,error:m})},onPause:()=>{this.#a({type:"pause"})},onContinue:i,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)}),o=this.state.status==="pending",u=!r.canStart();try{if(o)i();else{this.#a({type:"pending",variables:t,isPaused:u}),this.#n.config.onMutate&&await this.#n.config.onMutate(t,this,a);const m=await this.options.onMutate?.(t,a);m!==this.state.context&&this.#a({type:"pending",context:m,variables:t,isPaused:u})}const h=await r.start();return await this.#n.config.onSuccess?.(h,t,this.state.context,this,a),await this.options.onSuccess?.(h,t,this.state.context,a),await this.#n.config.onSettled?.(h,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(h,null,t,this.state.context,a),this.#a({type:"success",data:h}),h}catch(h){try{await this.#n.config.onError?.(h,t,this.state.context,this,a)}catch(m){Promise.reject(m)}try{await this.options.onError?.(h,t,this.state.context,a)}catch(m){Promise.reject(m)}try{await this.#n.config.onSettled?.(void 0,h,this.state.variables,this.state.context,this,a)}catch(m){Promise.reject(m)}try{await this.options.onSettled?.(void 0,h,t,this.state.context,a)}catch(m){Promise.reject(m)}throw this.#a({type:"error",error:h}),h}finally{this.#s===r&&(this.#s=void 0),this.#n.runNext(this)}}#a(t){const i=a=>{switch(t.type){case"failed":return{...a,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};
vendor: 4,440 bytes, line 9
9case"pending":return{...a,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{...a,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:t.error,failureCount:a.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=i(this.state),bt.batch(()=>{this.#t.forEach(a=>{a.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function Wj(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Jj=class extends Wo{#e;#t;#n;constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}build(t,i,a){const r=new $j({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(i),state:a});return this.add(r),r}add(t){this.#e.add(t);const i=no(t);if(typeof i=="string"){const a=this.#t.get(i);a?a.push(t):this.#t.set(i,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const i=no(t);if(typeof i=="string"){const a=this.#t.get(i);if(a)if(a.length>1){const r=a.indexOf(t);r!==-1&&a.splice(r,1)}else a[0]===t&&this.#t.delete(i)}}this.notify({type:"removed",mutation:t})}canRun(t){const i=no(t);if(typeof i=="string"){const a=this.#t.get(i)?.find(r=>r.state.status==="pending");return!a||a===t}else return!0}runNext(t){const i=no(t);return typeof i=="string"?this.#t.get(i)?.find(a=>a!==t&&a.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){bt.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 i={exact:!0,...t};return this.getAll().find(a=>j0(i,a))}findAll(t={}){return this.getAll().filter(i=>j0(t,i))}notify(t){bt.batch(()=>{this.listeners.forEach(i=>{i(t)})})}resumePausedMutations(){const t=this.getAll().filter(i=>i.state.isPaused);return bt.batch(()=>Promise.all(t.map(i=>i.continue().catch(an))))}};function no(t){return t.options.scope?.id}var eE=class extends Wo{#e;constructor(t={}){super(),this.config=t,this.#e=new Map}build(t,i,a){const r=i.queryKey,o=i.queryHash??sh(r,i);let u=this.get(o);return u||(u=new Zj({client:t,queryKey:r,queryHash:o,options:t.defaultQueryOptions(i),state:a,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 i=this.#e.get(t.queryHash);i&&(t.destroy(),i===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){bt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const i={exact:!0,...t};return this.getAll().find(a=>T0(i,a))}findAll(t={}){const i=this.getAll();return Object.keys(t).length>0?i.filter(a=>T0(t,a)):i}notify(t){bt.batch(()=>{this.listeners.forEach(i=>{i(t)})})}onFocus(){bt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){bt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},tE=class{#e;#t;#n;#s;#a;#i;#o;#r;constructor(t={}){this.#e=t.queryCache||new eE,this.#t=t.mutationCache||new Jj,this.#n=t.defaultOptions||{},this.#s=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#o=Bv.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#r=Mo.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#o?.(),this.#o=void 0,this.#r?.(),this.#r=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 i=this.defaultQueryOptions({queryKey:t});return this.#e.get(i.queryHash)?.state.data}ensureQueryData(t){const i=this.defaultQueryOptions(t),a=this.#e.build(this,i),r=a.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&a.isStaleByTime(po(i.staleTime,a))&&this.prefetchQuery(i),Promise.resolve(r))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:i,state:a})=>[i,a.data])}setQueryData(t,i,a){const r=this.defaultQueryOptions({queryKey:t}),o=this.#e.get(r.queryHash)?.state.data,u=Oj(i,o);if(u!==void 0)return this.#e.build(this,r).setData(u,{...a,manual:!0})}
9setQueriesData(t,i,a){return bt.batch(()=>this.#e.findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,i,a)]))}getQueryState(t){const i=this.defaultQueryOptions({queryKey:t});return this.#e.get(i.queryHash)?.state}removeQueries(t){const i=this.#e;bt.batch(()=>{i.findAll(t).forEach(a=>{i.remove(a)})})}resetQueries(t,i){const a=this.#e;return bt.batch(()=>{const r=a.findAll(t),o=new Set(r);return r.forEach(u=>{u.reset()}),this.refetchQueries({type:"active",predicate:u=>o.has(u)},i)})}cancelQueries(t,i={}){const a={revert:!0,...i},r=bt.batch(()=>this.#e.findAll(t).map(o=>o.cancel(a)));return Promise.all(r).then(an).catch(an)}invalidateQueries(t,i={}){return bt.batch(()=>(this.#e.findAll(t).forEach(a=>{a.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},i)))}refetchQueries(t,i={}){const a={...i,cancelRefetch:i.cancelRefetch??!0},r=bt.batch(()=>this.#e.findAll(t).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let u=o.fetch(void 0,a);return a.throwOnError||(u=u.catch(an)),o.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(r).then(an)}async query(t){const i=this.defaultQueryOptions(t);i.retry===void 0&&(i.retry=!1);const a=this.#e.build(this,i),r=a.isStaleByTime(po(i.staleTime,a))?await a.fetch(i):a.state.data,o=i.select;return o?o(r):r}fetchQuery(t){const i=this.defaultQueryOptions(t);i.retry===void 0&&(i.retry=!1);const a=this.#e.build(this,i);return a.isStaleByTime(po(i.staleTime,a))?a.fetch(i):Promise.resolve(a.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(an).catch(an)}infiniteQuery(t){return t._type="infinite",this.query(t)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(an).catch(an)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return Mo.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,i){this.#s.set(Er(t),{queryKey:t,defaultOptions:i})}getQueryDefaults(t){const i=[...this.#s.values()],a={};return i.forEach(r=>{ca(t,r.queryKey)&&Object.assign(a,r.defaultOptions)}),a}setMutationDefaults(t,i){this.#a.set(Er(t),{mutationKey:t,defaultOptions:i})}getMutationDefaults(t){const i=[...this.#a.values()],a={};return i.forEach(r=>{ca(t,r.mutationKey)&&Object.assign(a,r.defaultOptions)}),a}defaultQueryOptions(t){if(t._defaulted)return t;const i={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return i.queryHash||(i.queryHash=sh(i.queryKey,i)),i.refetchOnReconnect===void 0&&(i.refetchOnReconnect=i.networkMode!=="always"),i.throwOnError===void 0&&(i.throwOnError=!!i.suspense),!i.networkMode&&i.persister&&(i.networkMode="offlineFirst"),i.queryFn===ah&&(i.enabled=!1),i}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()}};async function nE(t){if(!t.ok){const i=await t.text()||t.statusText;throw new Error(`${t.status}: ${i}`)}}const iE=({on401:t})=>async({queryKey:i})=>{const a=await fetch(i.join("/"),{credentials:"include"});return await nE(a),await a.json()},sE=new tE({defaultOptions:{queries:{queryFn:iE({on401:"throw"}),refetchInterval:!1,refetchOnWindowFocus:!1,staleTime:1/0,retry:!1},mutations:{retry:!1}}}),aE=1,rE=1e6;let Gf=0;function lE(){return Gf=(Gf+1)%Number.MAX_SAFE_INTEGER,Gf.toString()}const Yf=new Map,M0=t=>{if(Yf.has(t))return;const i=setTimeout(()=>{Yf.delete(t),vr({type:"REMOVE_TOAST",toastId:t})},rE);Yf.set(t,i)},oE=(t,i)=>{switch(i.type){case"ADD_TOAST":return{...t,toasts:[i.toast,...t.toasts].slice(0,aE)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(a=>a.id===i.toast.id?{...a,...i.toast}:a)};case"DISMISS_TOAST":{const{toastId:a}=i;return a?M0(a):t.toasts.forEach(r=>{M0(r.id)}),{...t,toasts:t.toasts.map(r=>r.id===a||a===void 0?{...r,open:!1}:r)}
9}case"REMOVE_TOAST":return i.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(a=>a.id!==i.toastId)}}},go=[];let yo={toasts:[]};function vr(t){yo=oE(yo,t),go.forEach(i=>{i(yo)})}function cE({...t}){const i=lE(),a=o=>vr({type:"UPDATE_TOAST",toast:{...o,id:i}}),r=()=>vr({type:"DISMISS_TOAST",toastId:i});return vr({type:"ADD_TOAST",toast:{...t,id:i,open:!0,onOpenChange:o=>{o||r()}}}),{id:i,dismiss:r,update:a}}function uE(){const[t,i]=T.useState(yo);return T.useEffect(()=>(go.push(i),()=>{const a=go.indexOf(i);a>-1&&go.splice(a,1)}),[t]),{...t,toast:cE,dismiss:a=>vr({type:"DISMISS_TOAST",toastId:a})}}var Jo=Ev(),fE=Object.defineProperty,ha=(t,i)=>fE(t,"name",{value:i,configurable:!0}),Gv=!!(typeof window<"u"&&window.document&&window.document.createElement);function Ot(t,i,{checkForDefaultPrevented:a=!0}={}){return ha(function(o){if(t?.(o),a===!1||!o||!o.defaultPrevented)return i?.(o)},"handleEvent")}ha(Ot,"composeEventHandlers");function dE(t){if(!Gv)throw new Error("Cannot access window outside of the DOM");return t?.ownerDocument?.defaultView??window}ha(dE,"getOwnerWindow");function xd(t){if(!Gv)throw new Error("Cannot access document outside of the DOM");return t?.ownerDocument??document}ha(xd,"getOwnerDocument");function Yv(t,i=!1){const{activeElement:a}=xd(t);if(!a?.nodeName)return null;if(Fv(a)&&a.contentDocument)return Yv(a.contentDocument.body,i);if(i){const r=a.getAttribute("aria-activedescendant");if(r){const o=xd(a).getElementById(r);if(o)return o}}return a}ha(Yv,"getActiveElement");function Fv(t){return t.tagName==="IFRAME"}ha(Fv,"isFrame");var hE=Object.defineProperty,rh=(t,i)=>hE(t,"name",{value:i,configurable:!0});function vd(t,i){if(typeof t=="function")return t(i);t!=null&&(t.current=i)}rh(vd,"setRef");function Xv(...t){return i=>{let a=!1;const r=t.map(o=>{const u=vd(o,i);return!a&&typeof u=="function"&&(a=!0),u});if(a)return()=>{for(let o=0;o<r.length;o++){const u=r[o];typeof u=="function"?u():vd(t[o],null)}}}}rh(Xv,"composeRefs");function Ft(...t){return T.useCallback(Xv(...t),t)}rh(Ft,"useComposedRefs");var mE=Object.defineProperty,rn=(t,i)=>mE(t,"name",{value:i,configurable:!0});function pE(t,i){const a=T.createContext(i);a.displayName=t+"Context";const r=rn(u=>{const{children:h,...m}=u,g=T.useMemo(()=>m,Object.values(m));return f.jsx(a.Provider,{value:g,children:h})},"Provider");r.displayName=t+"Provider";function o(u,h={}){const{optional:m=!1}=h,g=T.useContext(a);if(g)return g;if(i!==void 0)return i;if(!m)throw new Error(`\`${u}\` must be used within \`${t}\``)}return rn(o,"useContext"),[r,o]}rn(pE,"createContext");function ma(t,i=[]){let a=[];function r(u,h){const m=T.createContext(h);m.displayName=u+"Context";const g=a.length;a=[...a,h];const p=rn(v=>{const{scope:b,children:j,...S}=v,E=b?.[t]?.[g]||m,A=T.useMemo(()=>S,Object.values(S));return f.jsx(E.Provider,{value:A,children:j})},"Provider");p.displayName=u+"Provider";function y(v,b,j={}){const{optional:S=!1}=j,E=b?.[t]?.[g]||m,A=T.useContext(E);if(A)return A;if(h!==void 0)return h;if(!S)throw new Error(`\`${v}\` must be used within \`${u}\``)}return rn(y,"useContext"),[p,y]}rn(r,"createContext");const o=rn(()=>{const u=a.map(h=>T.createContext(h));return rn(function(m){const g=m?.[t]||u;return T.useMemo(()=>({[`__scope${t}`]:{...m,[t]:g}}),[m,g])},"useScope")},"createScope");return o.scopeName=t,[r,Qv(o,...i)]}rn(ma,"createContextScope");function Qv(...t){const i=t[0];if(t.length===1)return i;const a=rn(()=>{const r=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return rn(function(u){const h=r.reduce((m,{useScope:g,scopeName:p})=>{const v=g(u)[`__scope${p}`];return{...m,...v}},{});return T.useMemo(()=>({[`__scope${i.scopeName}`]:h}),[h])},"useComposedScopes")},"createScope");return a.scopeName=i.scopeName,a}rn(Qv,"composeContextScopes");var gE=Object.defineProperty,xn=(t,i)=>gE(t,"name",{value:i,configurable:!0});function hs(t){const i=T.forwardRef((a,r)=>{let{children:o,...u}=a,h=null,m=!1;const g=[];bd(o)&&typeof io=="function"&&(o=io(o._payload)),T.Children.forEach(o,b=>{if(Wv(b)){m=!0;const j=b;let S="child"in j.props?j.props.child:j.props.children;
9bd(S)&&typeof io=="function"&&(S=io(S._payload)),h=xE(j,S),g.push(h?.props?.children)}else g.push(b)}),h?h=T.cloneElement(h,void 0,g):!m&&T.Children.count(o)===1&&T.isValidElement(o)&&(h=o);const p=h?$v(h):void 0,y=Ft(r,p);if(!h){if(o||o===0)throw new Error(m?wE(t):bE(t));return o}const v=Iv(u,h.props??{});return h.type!==T.Fragment&&(v.ref=r?y:p),T.cloneElement(h,v)});return i.displayName=`${t}.Slot`,i}xn(hs,"createSlot");var yE=hs("Slot"),Kv=Symbol.for("radix.slottable");function Zv(t){const i=xn(a=>"child"in a?a.children(a.child):a.children,"Slottable");return i.displayName=`${t}.Slottable`,i.__radixId=Kv,i}xn(Zv,"createSlottable");var xE=xn((t,i)=>{if("child"in t.props){const a=t.props.child;return T.isValidElement(a)?T.cloneElement(a,void 0,t.props.children(a.props.children)):null}return T.isValidElement(i)?i:null},"getSlottableElementFromSlottable");function Iv(t,i){const a={...i};for(const r in i){const o=t[r],u=i[r];/^on[A-Z]/.test(r)?o&&u?a[r]=(...m)=>{const g=u(...m);return o(...m),g}:o&&(a[r]=o):r==="style"?a[r]={...o,...u}:r==="className"&&(a[r]=[o,u].filter(Boolean).join(" "))}return{...t,...a}}xn(Iv,"mergeProps");function $v(t){let i=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,a=i&&"isReactWarning"in i&&i.isReactWarning;return a?t.ref:(i=Object.getOwnPropertyDescriptor(t,"ref")?.get,a=i&&"isReactWarning"in i&&i.isReactWarning,a?t.props.ref:t.props.ref||t.ref)}xn($v,"getElementRef");function Wv(t){return T.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===Kv}xn(Wv,"isSlottable");var vE=Symbol.for("react.lazy");function bd(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===vE&&"_payload"in t&&Jv(t._payload)}xn(bd,"isLazyComponent");function Jv(t){return typeof t=="object"&&t!==null&&"then"in t}xn(Jv,"isPromiseLike");var bE=xn(t=>`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),wE=xn(t=>`${t} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),io=_r[" use ".trim().toString()],SE=Object.defineProperty,ct=(t,i)=>SE(t,"name",{value:i,configurable:!0});function eb(t){const i=t+"CollectionProvider",[a,r]=ma(i),[o,u]=a(i,{collectionRef:{current:null},itemMap:new Map}),h=ct(E=>{const{scope:A,children:N}=E,_=T.useRef(null),M=T.useRef(new Map).current;return f.jsx(o,{scope:A,itemMap:M,collectionRef:_,children:N})},"CollectionProvider");h.displayName=i;const m=t+"CollectionSlot",g=hs(m),p=T.forwardRef((E,A)=>{const{scope:N,children:_}=E,M=u(m,N),z=Ft(A,M.collectionRef);return f.jsx(g,{ref:z,children:_})});p.displayName=m;const y=t+"CollectionItemSlot",v="data-radix-collection-item",b=hs(y),j=T.forwardRef((E,A)=>{const{scope:N,children:_,...M}=E,z=T.useRef(null),G=Ft(A,z),q=u(y,N);return T.useEffect(()=>(q.itemMap.set(z,{ref:z,...M}),()=>{q.itemMap.delete(z)})),f.jsx(b,{[v]:"",ref:G,children:_})});j.displayName=y;function S(E){const A=u(t+"CollectionConsumer",E);return T.useCallback(()=>{const _=A.collectionRef.current;if(!_)return[];const M=Array.from(_.querySelectorAll(`[${v}]`));return Array.from(A.itemMap.values()).sort((q,P)=>M.indexOf(q.ref.current)-M.indexOf(P.ref.current))},[A.collectionRef,A.itemMap])}return ct(S,"useCollection"),[{Provider:h,Slot:p,ItemSlot:j},S,r]}ct(eb,"createCollection");var D0=new WeakMap,tt,Yt,Ff=(Yt=class extends Map{constructor(a){super(a);a0(this,tt);zf(this,tt,[...super.keys()]),D0.set(this,!0)}set(a,r){return D0.get(this)&&(this.has(a)?yt(this,tt)[yt(this,tt).indexOf(a)]=a:yt(this,tt).push(a)),super.set(a,r),this}insert(a,r,o){const u=this.has(r),h=yt(this,tt).length,m=lh(a);let g=m>=0?m:h+m;const p=g<0||g>=h?-1:g;if(p===this.size||u&&p===this.size-1||p===-1)return this.set(r,o),this;const y=this.size+(u?0:1);m<0&&g++;const v=[...yt(this,tt)];let b,j=!1;for(let S=g;S<y;S++)if(g===S){let E=v[S];v[S]===r&&(E=v[S+1]),u&&this.delete(r),b=this.get(E),this.set(r,o)}else{!j&&v[S-1]===r&&(j=!0);const E=v[j?S:S-1],A=b;b=this.get(E),this.delete(E),this.set(E,A)}return this}with(a,r,o){const u=new Yt(this);return u.insert(a,r,o),u}before(a){const r=yt(this,tt).indexOf(a)-1;if(!(r<0))return this.entryAt(r)}setBefore(a,r,o){const u=yt(this,tt).indexOf(a);return u===-1?this:this.insert(u,r,o)}after(a){let r=yt(this,tt).indexOf(a);if(r=r===-1||r===this.size-1?-1:r+1,r!==-1)return this.entryAt(r)}setAfter(a,r,o){const u=yt(this,tt).indexOf(a);return u===-1?this:this.insert(u+1,r,o)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return zf(this,tt,[]),super.clear()}delete(a){const r=super.delete(a);return r&&yt(this,tt).splice(yt(this,tt).indexOf(a),1),r}deleteAt(a){const r=this.keyAt(a);return r!==void 0?this.delete(r):!1}at(a){const r=xo(yt(this,tt),a);if(r!==void 0)return this.get(r)}entryAt(a){const r=xo(yt(this,tt),a);if(r!==void 0)return[r,this.get(r)]}indexOf(a){return yt(this,tt).indexOf(a)}keyAt(a){return xo(yt(this,tt),a)}from(a,r){const o=this.indexOf(a);if(o===-1)return;let u=o+r;return u<0&&(u=0),u>=this.size&&(u=this.size-1),this.at(u)}keyFrom(a,r){const o=this.indexOf(a);if(o===-1)return;let u=o+r;return u<0&&(u=0),u>=this.size&&(u=this.size-1),this.keyAt(u)}find(a,r){let o=0;for(const u of this){if(Reflect.apply(a,r,[u,o,this]))return u;o++}}findIndex(a,r){let o=0;for(const u of this){if(Reflect.apply(a,r,[u,o,this]))return o;o++}return-1}filter(a,r){const o=[];let u=0;for(const h of this)Reflect.apply(a,r,[h,u,this])&&o.push(h),u++;return new Yt(o)}map(a,r){const o=[];let u=0;for(const h of this)o.push([h[0],Reflect.apply(a,r,[h,u,this])]),u++;return new Yt(o)}reduce(...a){const[r,o]=a;let u=0,h=o??this.at(0);for(const m of this)u===0&&a.length===1?h=m:h=Reflect.apply(r,this,[h,m,u,this]),u++;return h}reduceRight(...a){const[r,o]=a;let u=o??this.at(-1);for(let h=this.size-1;h>=0;h--){const m=this.at(h);h===this.size-1&&a.length===1?u=m:u=Reflect.apply(r,this,[u,m,h,this])}return u}toSorted(a){const r=[...this.entries()].sort(a);return new Yt(r)}toReversed(){const a=new Yt;for(let r=this.size-1;r>=0;r--){const o=this.keyAt(r),u=this.get(o);a.set(o,u)}return a}toSpliced(...a){const r=[...this.entries()];return r.splice(...a),new Yt(r)}slice(a,r){const o=new Yt;let u=this.size-1;if(a===void 0)return o;a<0&&(a=a+this.size),r!==void 0&&r>0&&(u=r-1);for(let h=a;h<=u;h++){const m=this.keyAt(h),g=this.get(m);o.set(m,g)}return o}every(a,r){let o=0;for(const u of this){if(!Reflect.apply(a,r,[u,o,this]))return!1;o++}return!0}some(a,r){let o=0;for(const u of this){if(Reflect.apply(a,r,[u,o,this]))return!0;o++}return!1}},tt=new WeakMap,ct(Yt,"OrderedDict"),Yt);function xo(t,i){if("at"in Array.prototype)return Array.prototype.at.call(t,i);const a=tb(t,i);return a===-1?void 0:t[a]}ct(xo,"at");function tb(t,i){const a=t.length,r=lh(i),o=r>=0?r:a+r;return o<0||o>=a?-1:o}ct(tb,"toSafeIndex");function lh(t){return t!==t||t===0?0:Math.trunc(t)}ct(lh,"toSafeInteger");function TE(t){const i=t+"CollectionProvider",[a,r]=ma(i),[o,u]=a(i,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new Ff,setItemMap:ct(()=>{},"setItemMap")}),h=ct(({state:M,...z})=>M?f.jsx(g,{...z,state:M}):f.jsx(m,{...z}),"CollectionProvider");h.displayName=i;const m=ct(M=>{const z=A();return f.jsx(g,{...M,state:z})},"CollectionInit");m.displayName=i+"Init";const g=ct(M=>{const{scope:z,children:G,state:q}=M,P=T.useRef(null),[L,W]=T.useState(null),$=Ft(P,W),[oe,ee]=q;return T.useEffect(()=>{if(!L)return;const de=sb(()=>{});return de.observe(L,{childList:!0,subtree:!0}),()=>{de.disconnect()}},[L]),f.jsx(o,{scope:z,itemMap:oe,setItemMap:ee,collectionRef:$,collectionRefObject:P,collectionElement:L,children:G})},"CollectionProviderImpl");g.displayName=i+"Impl";const p=t+"CollectionSlot",y=hs(p),v=T.forwardRef((M,z)=>{const{scope:G,children:q}=M,P=u(p,G),L=Ft(z,P.collectionRef);return f.jsx(y,{ref:L,children:q})});v.displayName=p;const b=t+"CollectionItemSlot",j="data-radix-collection-item",S=hs(b),E=T.forwardRef((M,z)=>{const{scope:G,children:q,...P}=M,L=T.useRef(null),[W,$]=T.useState(null),oe=Ft(z,L,$),ee=u(b,G),{setItemMap:de}=ee,ue=T.useRef(P);nb(ue.current,P)||(ue.current=P);const pe=ue.current;return T.useEffect(()=>{const D=pe;return de(X=>W?X.has(W)?X.set(W,{...D,element:W}).toSorted(wd):(X.set(W,{...D,element:W}),X.toSorted(wd)):X),()=>{de(X=>!W||!X.has(W)?X:(X.delete(W),new Ff(X)))}},[W,pe,de]),f.jsx(S,{[j]:"",ref:oe,children:q})});E.displayName=b;function A(){return T.useState(new Ff)}ct(A,"useInitCollection");function N(M){const{itemMap:z}=u(t+"CollectionConsumer",M);return z}return ct(N,"useCollection"),[{Provider:h,Slot:v,ItemSlot:E},{createCollectionScope:r,useCollection:N,useInitCollection:A}]}ct(TE,"createCollection");function nb(t,i){if(t===i)return!0;
9if(typeof t!="object"||typeof i!="object"||t==null||i==null)return!1;const a=Object.keys(t),r=Object.keys(i);if(a.length!==r.length)return!1;for(const o of a)if(!Object.prototype.hasOwnProperty.call(i,o)||t[o]!==i[o])return!1;return!0}ct(nb,"shallowEqual");function ib(t,i){return!!(i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING)}ct(ib,"isElementPreceding");function wd(t,i){return!t[1].element||!i[1].element?0:ib(t[1].element,i[1].element)?-1:1}ct(wd,"sortByDocumentPosition");function sb(t){return new MutationObserver(a=>{for(const r of a)if(r.type==="childList"){t();return}})}ct(sb,"getChildListObserver");var jE=Object.defineProperty,EE=(t,i)=>jE(t,"name",{value:i,configurable:!0}),AE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],vn=AE.reduce((t,i)=>{const a=hs(`Primitive.${i}`),r=T.forwardRef((o,u)=>{const{asChild:h,...m}=o,g=h?a:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),f.jsx(g,{...m,ref:u})});return r.displayName=`Primitive.${i}`,{...t,[i]:r}},{});function oh(t,i){t&&Jo.flushSync(()=>t.dispatchEvent(i))}EE(oh,"dispatchDiscreteCustomEvent");var NE=Object.defineProperty,CE=(t,i)=>NE(t,"name",{value:i,configurable:!0});function ti(t){const i=T.useRef(t);return T.useEffect(()=>{i.current=t}),T.useMemo(()=>((...a)=>i.current?.(...a)),[])}CE(ti,"useCallbackRef");var RE=Object.defineProperty,rt=(t,i)=>RE(t,"name",{value:i,configurable:!0}),Sd="dismissableLayer.update",ME="dismissableLayer.pointerDownOutside",DE="dismissableLayer.focusOutside",O0,ch=T.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),ab=T.forwardRef(rt(function(i,a){const{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:o=!1,onEscapeKeyDown:u,onPointerDownOutside:h,onFocusOutside:m,onInteractOutside:g,onDismiss:p,...y}=i,v=T.useContext(ch),[b,j]=T.useState(null),S=b?.ownerDocument??globalThis?.document,[,E]=T.useState({}),A=Ft(a,j),N=Array.from(v.layers),[_]=[...v.layersWithOutsidePointerEventsDisabled].slice(-1),M=_?N.indexOf(_):-1,z=b?N.indexOf(b):-1,G=v.layersWithOutsidePointerEventsDisabled.size>0,q=z>=M,P=T.useRef(!1),L=rb(ee=>{h?.(ee),g?.(ee),ee.defaultPrevented||p?.()},{ownerDocument:S,deferPointerDownOutside:o,isDeferredPointerDownOutsideRef:P,dismissableSurfaces:v.dismissableSurfaces,shouldHandlePointerDownOutside:T.useCallback(ee=>{if(!(ee instanceof Node))return!1;const de=[...v.branches].some(ue=>ue.contains(ee));return q&&!de},[v.branches,q])}),W=lb(ee=>{if(o&&P.current)return;const de=ee.target;[...v.branches].some(pe=>pe.contains(de))||(m?.(ee),g?.(ee),ee.defaultPrevented||p?.())},S),$=b?z===N.length-1:!1,oe=ti(ee=>{ee.key==="Escape"&&(u?.(ee),!ee.defaultPrevented&&p&&(ee.preventDefault(),p()))});return T.useEffect(()=>{if($)return S.addEventListener("keydown",oe,{capture:!0}),()=>S.removeEventListener("keydown",oe,{capture:!0})},[S,$,oe]),T.useEffect(()=>{if(b)return r&&(v.layersWithOutsidePointerEventsDisabled.size===0&&(O0=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),v.layersWithOutsidePointerEventsDisabled.add(b)),v.layers.add(b),Td(),()=>{r&&(v.layersWithOutsidePointerEventsDisabled.delete(b),v.layersWithOutsidePointerEventsDisabled.size===0&&(S.body.style.pointerEvents=O0))}},[b,S,r,v]),T.useEffect(()=>()=>{b&&(v.layers.delete(b),v.layersWithOutsidePointerEventsDisabled.delete(b),Td())},[b,v]),T.useEffect(()=>{const ee=rt(()=>E({}),"handleUpdate");return document.addEventListener(Sd,ee),()=>document.removeEventListener(Sd,ee)},[]),f.jsx(vn.div,{...y,ref:A,style:{pointerEvents:G?q?"auto":"none":void 0,...i.style},onFocusCapture:Ot(i.onFocusCapture,W.onFocusCapture),onBlurCapture:Ot(i.onBlurCapture,W.onBlurCapture),onPointerDownCapture:Ot(i.onPointerDownCapture,L.onPointerDownCapture)})},"DismissableLayer")),OE=T.forwardRef(rt(function(i,a){const r=T.useContext(ch),o=T.useRef(null),u=Ft(a,o);return T.useEffect(()=>{const h=o.current;if(h)return r.branches.add(h),()=>{r.branches.delete(h)}},[r.branches]),f.jsx(vn.div,{...i,ref:u})},"DismissableLayerBranch"));
9function _E(){const t=T.useContext(ch),[i,a]=T.useState(null);return T.useEffect(()=>{if(i)return t.dismissableSurfaces.add(i),()=>{t.dismissableSurfaces.delete(i)}},[i,t.dismissableSurfaces]),a}rt(_E,"useDismissableLayerSurface");var zE=rt(()=>!0,"IS_TRUE");function rb(t,i){const{ownerDocument:a=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:u,shouldHandlePointerDownOutside:h=zE}=i,m=ti(t),g=T.useRef(!1),p=T.useRef(!1),y=T.useRef(new Map),v=T.useRef(()=>{});return T.useEffect(()=>{function b(){p.current=!1,o.current=!1,y.current.clear()}rt(b,"resetOutsideInteraction");function j(){return Array.from(y.current.values()).some(Boolean)}rt(j,"isOutsideInteractionIntercepted");function S(M){if(!p.current)return;const z=M.target;z instanceof Node&&[...u].some(q=>q.contains(z))||y.current.set(M.type,!0),M.type==="click"&&window.setTimeout(()=>{p.current&&v.current()},0)}rt(S,"handleInteractionCapture");function E(M){p.current&&y.current.set(M.type,!1)}rt(E,"handleInteractionBubble");const A=rt(M=>{if(M.target&&!g.current){let z=function(){a.removeEventListener("click",v.current);const q=j();b(),q||uh(ME,m,G,{discrete:!0})};if(rt(z,"handleAndDispatchPointerDownOutsideEvent"),!h(M.target)){a.removeEventListener("click",v.current),b(),g.current=!1;return}const G={originalEvent:M};p.current=!0,o.current=r&&M.button===0,y.current.clear(),!r||M.button!==0?z():(a.removeEventListener("click",v.current),v.current=z,a.addEventListener("click",v.current,{once:!0}))}else a.removeEventListener("click",v.current),b();g.current=!1},"handlePointerDown"),N=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const M of N)a.addEventListener(M,S,!0),a.addEventListener(M,E);const _=window.setTimeout(()=>{a.addEventListener("pointerdown",A)},0);return()=>{window.clearTimeout(_),a.removeEventListener("pointerdown",A),a.removeEventListener("click",v.current);for(const M of N)a.removeEventListener(M,S,!0),a.removeEventListener(M,E)}},[a,m,r,o,u,h]),{onPointerDownCapture:rt(()=>g.current=!0,"onPointerDownCapture")}}rt(rb,"usePointerDownOutside");function lb(t,i=globalThis?.document){const a=ti(t),r=T.useRef(!1);return T.useEffect(()=>{const o=rt(u=>{u.target&&!r.current&&uh(DE,a,{originalEvent:u},{discrete:!1})},"handleFocus");return i.addEventListener("focusin",o),()=>i.removeEventListener("focusin",o)},[i,a]),{onFocusCapture:rt(()=>r.current=!0,"onFocusCapture"),onBlurCapture:rt(()=>r.current=!1,"onBlurCapture")}}rt(lb,"useFocusOutside");function Td(){const t=new CustomEvent(Sd);document.dispatchEvent(t)}rt(Td,"dispatchUpdate");function uh(t,i,a,{discrete:r}){const o=a.originalEvent.target,u=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:a});i&&o.addEventListener(t,i,{once:!0}),r?oh(o,u):o.dispatchEvent(u)}rt(uh,"handleAndDispatchCustomEvent");var kE=ab,LE=OE,gn=globalThis?.document?T.useLayoutEffect:()=>{},VE=Object.defineProperty,UE=(t,i)=>VE(t,"name",{value:i,configurable:!0}),ob=T.forwardRef(UE(function(i,a){const{container:r,...o}=i,[u,h]=T.useState(!1);gn(()=>h(!0),[]);const m=r||u&&globalThis?.document?.body;return m?Jo.createPortal(f.jsx(vn.div,{...o,ref:a}),m):null},"Portal")),BE=Object.defineProperty,ni=(t,i)=>BE(t,"name",{value:i,configurable:!0});function cb(t,i){return T.useReducer((a,r)=>i[a][r]??a,t)}ni(cb,"useStateMachine");var fh=ni(t=>{const{present:i,children:a}=t,r=ub(i),o=typeof a=="function"?a({present:r.isPresent}):T.Children.only(a),u=fb(r.ref,db(o));return typeof a=="function"||r.isPresent?T.cloneElement(o,{ref:u}):null},"Presence");function ub(t){const[i,a]=T.useState(),r=T.useRef(null),o=T.useRef(t),u=T.useRef("none"),h=T.useRef(void 0),m=t?"mounted":"unmounted",[g,p]=cb(m,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return T.useEffect(()=>{g==="mounted"?(u.current=h.current??ta(r.current),h.current=void 0):u.current="none"},[g]),gn(()=>{const y=r.current,v=o.current;if(v!==t){const j=u.current,S=ta(y);t?(h.current=S,p("MOUNT")):S==="none"||y?.display==="none"?p("UNMOUNT"):p(v&&j!==S?"ANIMATION_OUT":"UNMOUNT"),o.current=t}}
9,[t,p]),gn(()=>{if(i){let y;const v=i.ownerDocument.defaultView??window,b=ni(S=>{const A=ta(r.current).includes(CSS.escape(S.animationName));if(S.target===i&&A&&(p("ANIMATION_END"),!o.current)){const N=i.style.animationFillMode;i.style.animationFillMode="forwards",y=v.setTimeout(()=>{i.style.animationFillMode==="forwards"&&(i.style.animationFillMode=N)})}},"handleAnimationEnd"),j=ni(S=>{S.target===i&&(u.current=ta(r.current))},"handleAnimationStart");return i.addEventListener("animationstart",j),i.addEventListener("animationcancel",b),i.addEventListener("animationend",b),()=>{v.clearTimeout(y),i.removeEventListener("animationstart",j),i.removeEventListener("animationcancel",b),i.removeEventListener("animationend",b)}}else p("ANIMATION_END")},[i,p]),{isPresent:["mounted","unmountSuspended"].includes(g),ref:T.useCallback(y=>{if(y){const v=getComputedStyle(y);r.current=v,h.current=ta(v)}else r.current=null;a(y)},[])}}ni(ub,"usePresence");function jd(t,i){if(typeof t=="function")return t(i);t!=null&&(t.current=i)}ni(jd,"setRef");function fb(...t){const i=T.useRef(t);return i.current=t,T.useCallback(a=>{const r=i.current;let o=!1;const u=r.map(h=>{const m=jd(h,a);return!o&&typeof m=="function"&&(o=!0),m});if(o)return()=>{for(let h=0;h<u.length;h++){const m=u[h];typeof m=="function"?m():jd(r[h],null)}}},[])}ni(fb,"useStableComposedRefs");function ta(t){return t?.animationName||"none"}ni(ta,"getAnimationName");function db(t){let i=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,a=i&&"isReactWarning"in i&&i.isReactWarning;return a?t.ref:(i=Object.getOwnPropertyDescriptor(t,"ref")?.get,a=i&&"isReactWarning"in i&&i.isReactWarning,a?t.props.ref:t.props.ref||t.ref)}ni(db,"getElementRef");var PE=Object.defineProperty,HE=(t,i)=>PE(t,"name",{value:i,configurable:!0}),_0=_r[" useEffectEvent ".trim().toString()],z0=_r[" useInsertionEffect ".trim().toString()];function hb(t){if(typeof _0=="function")return _0(t);const i=T.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof z0=="function"?z0(()=>{i.current=t}):gn(()=>{i.current=t}),T.useMemo(()=>((...a)=>i.current?.(...a)),[])}HE(hb,"useEffectEvent");var qE=Object.defineProperty,zr=(t,i)=>qE(t,"name",{value:i,configurable:!0}),GE=_r[" useInsertionEffect ".trim().toString()]||gn;function mb({prop:t,defaultProp:i,onChange:a=zr(()=>{},"onChange"),caller:r}){const[o,u,h]=pb({defaultProp:i,onChange:a}),m=t!==void 0,g=m?t:o,p=T.useCallback(y=>{if(m){const v=gb(y)?y(t):y;v!==t&&h.current?.(v)}else u(y)},[m,t,u,h]);return[g,p]}zr(mb,"useControllableState");function pb({defaultProp:t,onChange:i}){const[a,r]=T.useState(t),o=T.useRef(a),u=T.useRef(i);return GE(()=>{u.current=i},[i]),T.useEffect(()=>{o.current!==a&&(u.current?.(a),o.current=a)},[a,o]),[a,r,u]}zr(pb,"useUncontrolledState");function gb(t){return typeof t=="function"}zr(gb,"isFunction");var k0=Symbol("RADIX:SYNC_STATE");function YE(t,i,a,r){const{prop:o,defaultProp:u,onChange:h,caller:m}=i,g=o!==void 0,p=hb(h),y=[{...a,state:u}];r&&y.push(r);const[v,b]=T.useReducer((A,N)=>{if(N.type===k0)return{...A,state:N.state};const _=t(A,N);return g&&!Object.is(_.state,A.state)&&p(_.state),_},...y),j=v.state,S=T.useRef(j);T.useEffect(()=>{S.current!==j&&(S.current=j,g||p(j))},[j,S,g]);const E=T.useMemo(()=>o!==void 0?{...v,state:o}:v,[v,o]);return T.useEffect(()=>{g&&!Object.is(o,v.state)&&b({type:k0,state:o})},[o,v.state,g]),[E,b]}zr(YE,"useControllableStateReducer");var FE=Object.defineProperty,XE=(t,i)=>FE(t,"name",{value:i,configurable:!0}),QE=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"}),dh=T.forwardRef(XE(function(i,a){return f.jsx(vn.span,{...i,ref:a,style:{...QE,...i.style}})},"VisuallyHidden")),KE=dh,ZE=Object.defineProperty,Ve=(t,i)=>ZE(t,"name",{value:i,configurable:!0}),yb="ToastProvider",[hh,xb,IE]=eb("Toast"),[vb,V6]=ma("Toast",[IE]),[$E,ec]=vb(yb),WE=Ve(t=>{const{__scopeToast:i,label:a="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:u=50,announcerContainer:h,children:m}=t,[g,p]=T.useState(null),[y,v]=T.useState(0),b=T.useRef(!1);return a.trim()||console.error(`Invalid prop \`label\` supplied to \`${yb}\`. Expected non-empty \`string\`.`),f.jsx(hh.Provider,{scope:i,children:f.jsx($E,{scope:i,label:a,duration:r,swipeDirection:o,swipeThreshold:u,toastCount:y,viewport:g,onViewportChange:p,onToastAdd:T.useCallback(()=>v(j=>j+1),[]),onToastRemove:T.useCallback(()=>v(j=>j-1),[]),isClosePausedRef:b,announcerContainer:h,children:m})})},"ToastProvider"),JE="ToastViewport",eA=["F8"],Ed="toast.viewportPause",Ad="toast.viewportResume",tA=T.forwardRef(Ve(function(i,a){const{__scopeToast:r,hotkey:o=eA,label:u="Notifications ({hotkey})",...h}=i,m=ec(JE,r),g=xb(r),p=T.useRef(null),y=T.useRef(null),v=T.useRef(null),b=T.useRef(null),j=Ft(a,b,m.onViewportChange),S=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),E=m.toastCount>0;T.useEffect(()=>{const N=Ve(_=>{o.length!==0&&o.every(z=>_[z]||_.code===z)&&b.current?.focus()},"handleKeyDown");return document.addEventListener("keydown",N),()=>document.removeEventListener("keydown",N)},[o]),T.useEffect(()=>{const N=p.current,_=b.current;if(E&&N&&_){const M=Ve(()=>{if(!m.isClosePausedRef.current){const P=new CustomEvent(Ed);_.dispatchEvent(P),m.isClosePausedRef.current=!0}},"handlePause"),z=Ve(()=>{if(m.isClosePausedRef.current){const P=new CustomEvent(Ad);_.dispatchEvent(P),m.isClosePausedRef.current=!1}},"handleResume"),G=Ve(P=>{!N.contains(P.relatedTarget)&&z()},"handleFocusOutResume"),q=Ve(()=>{N.contains(document.activeElement)||z()},"handlePointerLeaveResume");return N.addEventListener("focusin",M),N.addEventListener("focusout",G),N.addEventListener("pointermove",M),N.addEventListener("pointerleave",q),window.addEventListener("blur",M),window.addEventListener("focus",z),()=>{N.removeEventListener("focusin",M),N.removeEventListener("focusout",G),N.removeEventListener("pointermove",M),N.removeEventListener("pointerleave",q),window.removeEventListener("blur",M),window.removeEventListener("focus",z)}}},[E,m.isClosePausedRef]);const A=T.useCallback(({tabbingDirection:N})=>{const M=g().map(z=>{const G=z.ref.current,q=[G,...jb(G)];return N==="forwards"?q:q.reverse()});return(N==="forwards"?M.reverse():M).flat()},[g]);return T.useEffect(()=>{const N=b.current;if(N){const _=Ve(M=>{const z=M.altKey||M.ctrlKey||M.metaKey;
9if(M.key==="Tab"&&!z){const q=document.activeElement,P=M.shiftKey;if(M.target===N&&P){y.current?.focus();return}const $=A({tabbingDirection:P?"backwards":"forwards"}),oe=$.findIndex(ee=>ee===q);vo($.slice(oe+1))?M.preventDefault():P?y.current?.focus():v.current?.focus()}},"handleKeyDown");return N.addEventListener("keydown",_),()=>N.removeEventListener("keydown",_)}},[g,A]),f.jsxs(LE,{ref:p,role:"region","aria-label":u.replace("{hotkey}",S),tabIndex:-1,style:{pointerEvents:E?void 0:"none"},children:[E&&f.jsx(L0,{ref:y,onFocusFromOutsideViewport:()=>{const N=A({tabbingDirection:"forwards"});vo(N)}}),f.jsx(hh.Slot,{scope:r,children:f.jsx(vn.ol,{tabIndex:-1,...h,ref:j})}),E&&f.jsx(L0,{ref:v,onFocusFromOutsideViewport:()=>{const N=A({tabbingDirection:"backwards"});vo(N)}})]})},"ToastViewport")),nA="ToastFocusProxy",L0=T.forwardRef(Ve(function(i,a){const{__scopeToast:r,onFocusFromOutsideViewport:o,...u}=i,h=ec(nA,r);return f.jsx(dh,{tabIndex:0,...u,ref:a,style:{position:"fixed"},onFocus:m=>{const g=m.relatedTarget;!h.viewport?.contains(g)&&o()}})},"ToastFocusProxy")),tc="Toast",iA="toast.swipeStart",sA="toast.swipeMove",aA="toast.swipeCancel",rA="toast.swipeEnd",lA=T.forwardRef(Ve(function(i,a){const{forceMount:r,open:o,defaultOpen:u,onOpenChange:h,...m}=i,[g,p]=mb({prop:o,defaultProp:u??!0,onChange:h,caller:tc});return f.jsx(fh,{present:r||g,children:f.jsx(uA,{open:g,...m,ref:a,onClose:()=>p(!1),onPause:ti(i.onPause),onResume:ti(i.onResume),onSwipeStart:Ot(i.onSwipeStart,y=>{y.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ot(i.onSwipeMove,y=>{const{x:v,y:b}=y.detail.delta;y.currentTarget.setAttribute("data-swipe","move"),y.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${v}px`),y.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${b}px`)}),onSwipeCancel:Ot(i.onSwipeCancel,y=>{y.currentTarget.setAttribute("data-swipe","cancel"),y.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),y.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),y.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),y.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Ot(i.onSwipeEnd,y=>{const{x:v,y:b}=y.detail.delta;y.currentTarget.setAttribute("data-swipe","end"),y.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),y.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),y.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${v}px`),y.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${b}px`),p(!1)})})})},"Toast")),[oA,cA]=vb(tc,{onClose(){}}),uA=T.forwardRef(Ve(function(i,a){const{__scopeToast:r,type:o="foreground",duration:u,open:h,onClose:m,onEscapeKeyDown:g,onPause:p,onResume:y,onSwipeStart:v,onSwipeMove:b,onSwipeCancel:j,onSwipeEnd:S,...E}=i,A=ec(tc,r),N=xb(r),[_,M]=T.useState(null),z=Ft(a,M),G=T.useRef(null),q=T.useRef(null),P=u||A.duration,L=T.useRef(0),W=T.useRef(P),$=T.useRef(0),{onToastAdd:oe,onToastRemove:ee}=A,de=ti(()=>{_?.contains(document.activeElement)&&A.viewport?.focus(),m()}),ue=T.useCallback(D=>{!D||D===1/0||(window.clearTimeout($.current),L.current=new Date().getTime(),$.current=window.setTimeout(de,D))},[de]);T.useEffect(()=>{const D=A.viewport;if(D){const X=Ve(()=>{ue(W.current),y?.()},"handleResume"),Z=Ve(()=>{const te=new Date().getTime()-L.current;W.current=W.current-te,window.clearTimeout($.current),p?.()},"handlePause");return D.addEventListener(Ed,Z),D.addEventListener(Ad,X),()=>{D.removeEventListener(Ed,Z),D.removeEventListener(Ad,X)}}},[A.viewport,P,p,y,ue]),T.useEffect(()=>{h&&!A.isClosePausedRef.current&&ue(P)},[h,P,A.isClosePausedRef,ue]),T.useEffect(()=>()=>{window.clearTimeout($.current)},[]),T.useEffect(()=>(oe(),()=>ee()),[oe,ee]);const pe=T.useMemo(()=>_?mh(_):null,[_]);return A.viewport?f.jsxs(f.Fragment,{children:[pe&&f.jsx(fA,{__scopeToast:r,role:"status","aria-live":o==="foreground"?"assertive":"polite",children:pe}),f.jsx(oA,{scope:r,onClose:de,children:Jo.createPortal(f.jsx(hh.ItemSlot,{scope:r,children:f.jsx(kE,{asChild:!0,onEscapeKeyDown:Ot(g,D=>{N().some(Z=>Z.ref.current?.contains(D.target))||de()}),children:f.jsx(vn.li,{tabIndex:0,"data-state":h?"open":"closed","data-swipe-direction":A.swipeDirection,...E,ref:z,style:{userSelect:"none",touchAction:"none",...i.style},onKeyDown:Ot(i.onKeyDown,D=>{D.key==="Escape"&&(g?.(D.nativeEvent),D.nativeEvent.defaultPrevented||de())}),onPointerDown:Ot(i.onPointerDown,D=>{D.button===0&&(G.current={x:D.clientX,y:D.clientY})}),onPointerMove:Ot(i.onPointerMove,D=>{if(!G.current)return;const X=D.clientX-G.current.x,Z=D.clientY-G.current.y,te=!!q.current,I=["left","right"].includes(A.swipeDirection),R=["left","up"].includes(A.swipeDirection)?Math.min:Math.max,F=I?R(0,X):0,J=I?0:R(0,Z),ne=D.pointerType==="touch"?10:2,ae={x:F,y:J},fe={originalEvent:D,delta:ae};te?(q.current=ae,yr(sA,b,fe,{discrete:!1})):V0(ae,A.swipeDirection,ne)?(q.current=ae,yr(iA,v,fe,{discrete:!1}),D.target.setPointerCapture(D.pointerId)):(Math.abs(X)>ne||Math.abs(Z)>ne)&&(G.current=null)}),onPointerUp:Ot(i.onPointerUp,D=>{const X=q.current,Z=D.target;if(Z.hasPointerCapture(D.pointerId)&&Z.releasePointerCapture(D.pointerId),q.current=null,G.current=null,X){const te=D.currentTarget,I={originalEvent:D,delta:X};V0(X,A.swipeDirection,A.swipeThreshold)?yr(rA,S,I,{discrete:!0}):yr(aA,j,I,{discrete:!0}),te.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),A.viewport)})]}):null},"ToastImpl")),fA=Ve(t=>{const{__scopeToast:i,children:a,...r}=t,o=ec(tc,i),[u,h]=T.useState(!1),[m,g]=T.useState(!1);return Sb(()=>h(!0)),T.useEffect(()=>{const p=window.setTimeout(()=>g(!0),1e3);return()=>window.clearTimeout(p)},[]),m?null:f.jsx(ob,{asChild:!0,container:o.announcerContainer||void 0,children:f.jsx(dh,{...r,children:u&&f.jsxs(f.Fragment,{children:[o.label," ",a]})})})},"ToastAnnounce"),dA=T.forwardRef(Ve(function(i,a){const{__scopeToast:r,...o}=i;return f.jsx(vn.div,{...o,ref:a})},"ToastTitle")),hA=T.forwardRef(Ve(function(i,a){const{__scopeToast:r,...o}=i;return f.jsx(vn.div,{...o,ref:a})},"ToastDescription")),mA="ToastAction",pA=T.forwardRef(Ve(function(i,a){const{altText:r,...o}=i;return r.trim()?f.jsx(wb,{altText:r,asChild:!0,children:f.jsx(bb,{...o,ref:a})}):(console.error(`Invalid prop \`altText\` supplied to \`${mA}\`. Expected non-empty \`string\`.`),null)},"ToastAction")),gA="ToastClose",bb=T.forwardRef(Ve(function(i,a){const{__scopeToast:r,...o}=i,u=cA(gA,r);return f.jsx(wb,{asChild:!0,children:f.jsx(vn.button,{type:"button",...o,ref:a,onClick:Ot(i.onClick,u.onClose)})})},"ToastClose")),wb=T.forwardRef(Ve(function(i,a){const{__scopeToast:r,altText:o,...u}=i;return f.jsx(vn.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0,...u,ref:a})},"ToastAnnounceExclude"));function mh(t){const i=[];
9return Array.from(t.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&i.push(r.textContent),Tb(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",u=r.dataset.radixToastAnnounceExclude==="";if(!o)if(u){const h=r.dataset.radixToastAnnounceAlt;h&&i.push(h)}else i.push(...mh(r))}}),i}Ve(mh,"getAnnounceTextContent");function yr(t,i,a,{discrete:r}){const o=a.originalEvent.currentTarget,u=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:a});i&&o.addEventListener(t,i,{once:!0}),r?oh(o,u):o.dispatchEvent(u)}Ve(yr,"handleAndDispatchCustomEvent");var V0=Ve((t,i,a=0)=>{const r=Math.abs(t.x),o=Math.abs(t.y),u=r>o;return i==="left"||i==="right"?u&&r>a:!u&&o>a},"isDeltaInDirection");function Sb(t=()=>{}){const i=ti(t);gn(()=>{let a=0,r=0;return a=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(i)),()=>{window.cancelAnimationFrame(a),window.cancelAnimationFrame(r)}},[i])}Ve(Sb,"useNextFrame");function Tb(t){return t.nodeType===t.ELEMENT_NODE}Ve(Tb,"isHTMLElement");function jb(t){const i=[],a=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:Ve(r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;a.nextNode();)i.push(a.currentNode);return i}Ve(jb,"getTabbableCandidates");function vo(t){const i=document.activeElement;return t.some(a=>a===i?!0:(a.focus(),document.activeElement!==i))}Ve(vo,"focusFirst");var yA=WE,Eb=tA,Ab=lA,Nb=dA,Cb=hA,Rb=pA,Mb=bb;function Db(t){var i,a,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(i=0;i<o;i++)t[i]&&(a=Db(t[i]))&&(r&&(r+=" "),r+=a)}else for(a in t)t[a]&&(r&&(r+=" "),r+=a);return r}function Ob(){for(var t,i,a=0,r="",o=arguments.length;a<o;a++)(t=arguments[a])&&(i=Db(t))&&(r&&(r+=" "),r+=i);return r}const U0=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,B0=Ob,_b=(t,i)=>a=>{var r;if(i?.variants==null)return B0(t,a?.class,a?.className);const{variants:o,defaultVariants:u}=i,h=Object.keys(o).map(p=>{const y=a?.[p],v=u?.[p];if(y===null)return null;const b=U0(y)||U0(v);return o[p][b]}),m=a&&Object.entries(a).reduce((p,y)=>{let[v,b]=y;return b===void 0||(p[v]=b),p},{}),g=i==null||(r=i.compoundVariants)===null||r===void 0?void 0:r.reduce((p,y)=>{let{class:v,className:b,...j}=y;return Object.entries(j).every(S=>{let[E,A]=S;return Array.isArray(A)?A.includes({...u,...m}[E]):{...u,...m}[E]===A})?[...p,v,b]:p},[]);return B0(t,h,g,a?.class,a?.className)};const xA=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),vA=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,a,r)=>r?r.toUpperCase():a.toLowerCase()),P0=t=>{const i=vA(t);return i.charAt(0).toUpperCase()+i.slice(1)},zb=(...t)=>t.filter((i,a,r)=>!!i&&i.trim()!==""&&r.indexOf(i)===a).join(" ").trim(),bA=t=>{for(const i in t)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};var wA={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 SA=T.forwardRef(({color:t="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:r,className:o="",children:u,iconNode:h,...m},g)=>T.createElement("svg",{ref:g,...wA,width:i,height:i,stroke:t,strokeWidth:r?Number(a)*24/Number(i):a,className:zb("lucide",o),...!u&&!bA(m)&&{"aria-hidden":"true"},...m},[...h.map(([p,y])=>T.createElement(p,y)),...Array.isArray(u)?u:[u]]));const Ne=(t,i)=>{const a=T.forwardRef(({className:r,...o},u)=>T.createElement(SA,{ref:u,iconNode:i,className:zb(`lucide-${xA(P0(t))}`,`lucide-${t}`,r),...o}));return a.displayName=P0(t),a};const TA=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],nc=Ne("arrow-right",TA);const jA=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],EA=Ne("book-open",jA);const AA=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}
9],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]],NA=Ne("brain-circuit",AA);const CA=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["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"}]],kb=Ne("building-2",CA);const RA=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],MA=Ne("car",RA);const DA=[["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"}]],Do=Ne("chart-column",DA);const OA=[["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"}]],_A=Ne("circle-alert",OA);const zA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],kA=Ne("circle-check",zA);const LA=[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Lb=Ne("circle-play",LA);const VA=[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]],Vb=Ne("coins",VA);const UA=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],Ub=Ne("database",UA);const BA=[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z",key:"1iv0i2"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],PA=Ne("factory",BA);const HA=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m3 15 2 2 4-4",key:"1lhrkk"}]],Bb=Ne("file-check-2",HA);const qA=[["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:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]],GA=Ne("file-spreadsheet",qA);const YA=[["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"}]],Oo=Ne("file-text",YA);const FA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],br=Ne("globe",FA);const XA=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],QA=Ne("graduation-cap",XA);const KA=[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]],Pb=Ne("handshake",KA);const ZA=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}],["path",{d:"M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"auskq0"}]],IA=Ne("heart-pulse",ZA);const $A=[["path",{d:"M10 18v-7",key:"wt116b"}],["path",{d:"M11.12 2.198a2 2 0 0 1 1.76.006l7.866 3.847c.476.233.31.949-.22.949H3.474c-.53 0-.695-.716-.22-.949z",key:"1m329m"}],["path",{d:"M14 18v-7",key:"vav6t3"}],["path",{d:"M18 18v-7",key:"aexdmj"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M6 18v-7",key:"1ivflk"}]],WA=Ne("landmark",$A);const JA=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],eN=Ne("layout-dashboard",JA);const tN=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],_o=Ne("leaf",tN);const nN=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],iN=Ne("lightbulb",nN);const sN=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],ia=Ne("linkedin",sN);const aN=[["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"}]],rN=Ne("lock",aN);const lN=[["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"}]],Nd=Ne("mail",lN);const oN=[["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"}]],cN=Ne("map-pin",oN);const uN=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],fN=Ne("menu",uN);const dN=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],hN=Ne("message-circle",dN);const mN=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],H0=Ne("mic",mN);const pN=[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}
vendor: 6,399 bytes, line 9
9],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]],gN=Ne("scale",pN);const yN=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],ph=Ne("shield-check",yN);const xN=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],q0=Ne("shield",xN);const vN=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Hb=Ne("x",vN);const bN=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],qb=Ne("zap",bN),wN=(t,i)=>{const a=new Array(t.length+i.length);for(let r=0;r<t.length;r++)a[r]=t[r];for(let r=0;r<i.length;r++)a[t.length+r]=i[r];return a},SN=(t,i)=>({classGroupId:t,validator:i}),Gb=(t=new Map,i=null,a)=>({nextPart:t,validators:i,classGroupId:a}),zo="-",G0=[],TN="arbitrary..",jN=t=>{const i=AN(t),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:h=>{if(h.startsWith("[")&&h.endsWith("]"))return EN(h);const m=h.split(zo),g=m[0]===""&&m.length>1?1:0;return Yb(m,g,i)},getConflictingClassGroupIds:(h,m)=>{if(m){const g=r[h],p=a[h];return g?p?wN(p,g):g:p||G0}return a[h]||G0}}},Yb=(t,i,a)=>{if(t.length-i===0)return a.classGroupId;const o=t[i],u=a.nextPart.get(o);if(u){const p=Yb(t,i+1,u);if(p)return p}const h=a.validators;if(h===null)return;const m=i===0?t.join(zo):t.slice(i).join(zo),g=h.length;for(let p=0;p<g;p++){const y=h[p];if(y.validator(m))return y.classGroupId}},EN=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const i=t.slice(1,-1),a=i.indexOf(":"),r=i.slice(0,a);return r?TN+r:void 0})(),AN=t=>{const{theme:i,classGroups:a}=t;return NN(a,i)},NN=(t,i)=>{const a=Gb();for(const r in t){const o=t[r];gh(o,a,r,i)}return a},gh=(t,i,a,r)=>{const o=t.length;for(let u=0;u<o;u++){const h=t[u];CN(h,i,a,r)}},CN=(t,i,a,r)=>{if(typeof t=="string"){RN(t,i,a);return}if(typeof t=="function"){MN(t,i,a,r);return}DN(t,i,a,r)},RN=(t,i,a)=>{const r=t===""?i:Fb(i,t);r.classGroupId=a},MN=(t,i,a,r)=>{if(ON(t)){gh(t(r),i,a,r);return}i.validators===null&&(i.validators=[]),i.validators.push(SN(a,t))},DN=(t,i,a,r)=>{const o=Object.entries(t),u=o.length;for(let h=0;h<u;h++){const[m,g]=o[h];gh(g,Fb(i,m),a,r)}},Fb=(t,i)=>{let a=t;const r=i.split(zo),o=r.length;for(let u=0;u<o;u++){const h=r[u];let m=a.nextPart.get(h);m||(m=Gb(),a.nextPart.set(h,m)),a=m}return a},ON=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,_N=t=>{if(t<1)return{get:()=>{},set:()=>{}};let i=0,a=Object.create(null),r=Object.create(null);const o=(u,h)=>{a[u]=h,i++,i>t&&(i=0,r=a,a=Object.create(null))};return{get(u){let h=a[u];if(h!==void 0)return h;if((h=r[u])!==void 0)return o(u,h),h},set(u,h){u in a?a[u]=h:o(u,h)}}},Cd="!",Y0=":",zN=[],F0=(t,i,a,r,o)=>({modifiers:t,hasImportantModifier:i,baseClassName:a,maybePostfixModifierPosition:r,isExternal:o}),kN=t=>{const{prefix:i,experimentalParseClassName:a}=t;let r=o=>{const u=[];let h=0,m=0,g=0,p;const y=o.length;for(let E=0;E<y;E++){const A=o[E];if(h===0&&m===0){if(A===Y0){u.push(o.slice(g,E)),g=E+1;continue}if(A==="/"){p=E;continue}}A==="["?h++:A==="]"?h--:A==="("?m++:A===")"&&m--}const v=u.length===0?o:o.slice(g);let b=v,j=!1;v.endsWith(Cd)?(b=v.slice(0,-1),j=!0):v.startsWith(Cd)&&(b=v.slice(1),j=!0);const S=p&&p>g?p-g:void 0;return F0(u,j,b,S)};if(i){const o=i+Y0,u=r;r=h=>h.startsWith(o)?u(h.slice(o.length)):F0(zN,!1,h,void 0,!0)}if(a){const o=r;r=u=>a({className:u,parseClassName:o})}return r},LN=t=>{const i=new Map;return t.orderSensitiveModifiers.forEach((a,r)=>{i.set(a,1e6+r)}),a=>{const r=[];let o=[];for(let u=0;u<a.length;u++){const h=a[u],m=h[0]==="[",g=i.has(h);m||g?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(h)):o.push(h)}return o.length>0&&(o.sort(),r.push(...o)),r}},VN=t=>({cache:_N(t.cacheSize),parseClassName:kN(t),sortModifiers:LN(t),postfixLookupClassGroupIds:UN(t),...jN(t)}),UN=t=>{const i=Object.create(null),a=t.postfixLookupClassGroups;if(a)for(let r=0;r<a.length;r++)i[a[r]]=!0;return i},BN=/\s+/,PN=(t,i)=>{const{parseClassName:a,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:u,postfixLookupClassGroupIds:h}=i,m=[],g=t.trim().split(BN);let p="";for(let y=g.length-1;y>=0;y-=1){const v=g[y],{isExternal:b,modifiers:j,hasImportantModifier:S,baseClassName:E,maybePostfixModifierPosition:A}=a(v);if(b){p=v+(p.length>0?" "+p:p);continue}let N=!!A,_;if(N){const P=E.substring(0,A);_=r(P);const L=_&&h[_]?r(E):void 0;L&&L!==_&&(_=L,N=!1)}else _=r(E);if(!_){if(!N){p=v+(p.length>0?" "+p:p);continue}if(_=r(E),!_){p=v+(p.length>0?" "+p:p);continue}N=!1}const M=j.length===0?"":j.length===1?j[0]:u(j).join(":"),z=S?M+Cd:M,G=z+_;if(m.indexOf(G)>-1)continue;m.push(G);const q=o(_,N);for(let P=0;P<q.length;++P){const L=q[P];m.push(z+L)}p=v+(p.length>0?" "+p:p)}return p},HN=(...t)=>{let i=0,a,r,o="";for(;i<t.length;)(a=t[i++])&&(r=Xb(a))&&(o&&(o+=" "),o+=r);return o},Xb=t=>{if(typeof t=="string")return t;let i,a="";for(let r=0;r<t.length;r++)t[r]&&(i=Xb(t[r]))&&(a&&(a+=" "),a+=i);return a},qN=(t,...i)=>{let a,r,o,u;const h=g=>{const p=i.reduce((y,v)=>v(y),t());return a=VN(p),r=a.cache.get,o=a.cache.set,u=m,m(g)},m=g=>{const p=r(g);if(p)return p;const y=PN(g,a);return o(g,y),y};return u=h,(...g)=>u(HN(...g))},GN=[],st=t=>{const i=a=>a[t]||GN;return i.isThemeGetter=!0,i},Qb=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Kb=/^\((?:(\w[\w-]*):)?(.+)\)$/i,YN=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,FN=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,XN=/\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$/,QN=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,KN=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ZN=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Oi=t=>YN.test(t),be=t=>!!t&&!Number.isNaN(Number(t)),En=t=>!!t&&Number.isInteger(Number(t)),Xf=t=>t.endsWith("%")&&be(t.slice(0,-1)),$n=t=>FN.test(t),Zb=()=>!0,IN=t=>XN.test(t)&&!QN.test(t),yh=()=>!1,$N=t=>KN.test(t),WN=t=>ZN.test(t),JN=t=>!ie(t)&&!se(t),eC=t=>t.startsWith("@container")&&(t[10]==="/"&&t[11]!==void 0||t[11]==="s"&&t[16
vendor: 9,493 bytes, line 9
9]!==void 0&&t.startsWith("-size/",10)||t[11]==="n"&&t[18]!==void 0&&t.startsWith("-normal/",10)),tC=t=>Ui(t,Wb,yh),ie=t=>Qb.test(t),as=t=>Ui(t,Jb,IN),X0=t=>Ui(t,cC,be),nC=t=>Ui(t,t1,Zb),iC=t=>Ui(t,e1,yh),Q0=t=>Ui(t,Ib,yh),sC=t=>Ui(t,$b,WN),so=t=>Ui(t,n1,$N),se=t=>Kb.test(t),pr=t=>gs(t,Jb),aC=t=>gs(t,e1),K0=t=>gs(t,Ib),rC=t=>gs(t,Wb),lC=t=>gs(t,$b),ao=t=>gs(t,n1,!0),oC=t=>gs(t,t1,!0),Ui=(t,i,a)=>{const r=Qb.exec(t);return r?r[1]?i(r[1]):a(r[2]):!1},gs=(t,i,a=!1)=>{const r=Kb.exec(t);return r?r[1]?i(r[1]):a:!1},Ib=t=>t==="position"||t==="percentage",$b=t=>t==="image"||t==="url",Wb=t=>t==="length"||t==="size"||t==="bg-size",Jb=t=>t==="length",cC=t=>t==="number",e1=t=>t==="family-name",t1=t=>t==="number"||t==="weight",n1=t=>t==="shadow",uC=()=>{const t=st("color"),i=st("font"),a=st("text"),r=st("font-weight"),o=st("tracking"),u=st("leading"),h=st("breakpoint"),m=st("container"),g=st("spacing"),p=st("radius"),y=st("shadow"),v=st("inset-shadow"),b=st("text-shadow"),j=st("drop-shadow"),S=st("blur"),E=st("perspective"),A=st("aspect"),N=st("ease"),_=st("animate"),M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],G=()=>[...z(),se,ie],q=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],L=()=>[se,ie,g],W=()=>[Oi,"full","auto",...L()],$=()=>[En,"none","subgrid",se,ie],oe=()=>["auto",{span:["full",En,se,ie]},En,se,ie],ee=()=>[En,"auto",se,ie],de=()=>["auto","min","max","fr",se,ie],ue=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],pe=()=>["start","end","center","stretch","center-safe","end-safe"],D=()=>["auto",...L()],X=()=>[Oi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...L()],Z=()=>[Oi,"screen","full","dvw","lvw","svw","min","max","fit",...L()],te=()=>[Oi,"screen","full","lh","dvh","lvh","svh","min","max","fit",...L()],I=()=>[t,se,ie],R=()=>[...z(),K0,Q0,{position:[se,ie]}],F=()=>["no-repeat",{repeat:["","x","y","space","round"]}],J=()=>["auto","cover","contain",rC,tC,{size:[se,ie]}],ne=()=>[Xf,pr,as],ae=()=>["","none","full",p,se,ie],fe=()=>["",be,pr,as],we=()=>["solid","dashed","dotted","double"],Ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ge=()=>[be,Xf,K0,Q0],cn=()=>["","none",S,se,ie],un=()=>["none",be,se,ie],bn=()=>["none",be,se,ie],ai=()=>[be,se,ie],jt=()=>[Oi,"full",...L()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[$n],breakpoint:[$n],color:[Zb],container:[$n],"drop-shadow":[$n],ease:["in","out","in-out"],font:[JN],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[$n],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[$n],shadow:[$n],spacing:["px",be],text:[$n],"text-shadow":[$n],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Oi,ie,se,A]}],container:["container"],"container-type":[{"@container":["","normal","size",se,ie]}],"container-named":[eC],columns:[{columns:[be,ie,se,m]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"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:G()}],overflow:[{overflow:q()}],"overflow-x":[{"overflow-x":q()}],"overflow-y":[{"overflow-y":q()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:W()}],"inset-x":[{"inset-x":W()}],"inset-y":[{"inset-y":W()}],start:[{"inset-s":W(),start:W()}],end:[{"inset-e":W(),end:W()}],"inset-bs":[{"inset-bs":W()}],"inset-be":[{"inset-be":W()}],top:[{top:W()}],right:[{right:W()}],bottom:[{bottom:W()}],left:[{left:W()}],visibility:["visible","invisible","collapse"],z:[{z:[En,"auto",se,ie]}],basis:[{basis:[Oi,"full","auto",m,...L()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[be,Oi,"auto","initial","none",ie]}],grow:[{grow:["",be,se,ie]}],shrink:[{shrink:["",be,se,ie]}],order:[{order:[En,"first","last","none",se,ie]}],"grid-cols":[{"grid-cols":$()}],"col-start-end":[{col:oe()}],"col-start":[{"col-start":ee()}],"col-end":[{"col-end":ee()}],"grid-rows":[{"grid-rows":$()}],"row-start-end":[{row:oe()}],"row-start":[{"row-start":ee()}],"row-end":[{"row-end":ee()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":de()}],"auto-rows":[{"auto-rows":de()}],gap:[{gap:L()}],"gap-x":[{"gap-x":L()}],"gap-y":[{"gap-y":L()}],"justify-content":[{justify:[...ue(),"normal"]}],"justify-items":[{"justify-items":[...pe(),"normal"]}],"justify-self":[{"justify-self":["auto",...pe()]}],"align-content":[{content:["normal",...ue()]}],"align-items":[{items:[...pe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...pe(),{baseline:["","last"]}]}],"place-content":[{"place-content":ue()}],"place-items":[{"place-items":[...pe(),"baseline"]}],"place-self":[{"place-self":["auto",...pe()]}],p:[{p:L()}],px:[{px:L()}],py:[{py:L()}],ps:[{ps:L()}],pe:[{pe:L()}],pbs:[{pbs:L()}],pbe:[{pbe:L()}],pt:[{pt:L()}],pr:[{pr:L()}],pb:[{pb:L()}],pl:[{pl:L()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mbs:[{mbs:D()}],mbe:[{mbe:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":L()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":L()}],"space-y-reverse":["space-y-reverse"],size:[{size:X()}],"inline-size":[{inline:["auto",...Z()]}],"min-inline-size":[{"min-inline":["auto",...Z()]}],"max-inline-size":[{"max-inline":["none",...Z()]}],"block-size":[{block:["auto",...te()]}],"min-block-size":[{"min-block":["auto",...te()]}],"max-block-size":[{"max-block":["none",...te()]}],w:[{w:[m,"screen",...X()]}],"min-w":[{"min-w":[m,"screen","none",...X()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[h]},...X()]}],h:[{h:["screen","lh",...X()]}],"min-h":[{"min-h":["screen","lh","none",...X()]}],"max-h":[{"max-h":["screen","lh",...X()]}],"font-size":[{text:["base",a,pr,as]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,oC,nC]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Xf,ie]}],"font-family":[{font:[aC,iC,i]}],"font-features":[{"font-features":[ie]}],"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:[o,se,ie]}],"line-clamp":[{"line-clamp":[be,"none",se,X0]}],leading:[{leading:[u,...L()]}],"list-image":[{"list-image":["none",se,ie]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",se,ie]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:I()}],"text-color":[{text:I()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...we(),"wavy"]}],"text-decoration-thickness":[{decoration:[be,"from-font","auto",se,as]}],"text-decoration-color":[{decoration:I()}],"underline-offset":[{"underline-offset":[be,"auto",se,ie]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"tab-size":[{tab:[En,se,ie]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",se,ie]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",se,ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:R()}],"bg-repeat":[{bg:F()}],"bg-size":[{bg:J()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},En,se,ie],radial:["",se,ie],conic:[En,se,ie]},lC,sC]}],"bg-color":[{bg:I()}],"gradient-from-pos":[{from:ne()}
9],"gradient-via-pos":[{via:ne()}],"gradient-to-pos":[{to:ne()}],"gradient-from":[{from:I()}],"gradient-via":[{via:I()}],"gradient-to":[{to:I()}],rounded:[{rounded:ae()}],"rounded-s":[{"rounded-s":ae()}],"rounded-e":[{"rounded-e":ae()}],"rounded-t":[{"rounded-t":ae()}],"rounded-r":[{"rounded-r":ae()}],"rounded-b":[{"rounded-b":ae()}],"rounded-l":[{"rounded-l":ae()}],"rounded-ss":[{"rounded-ss":ae()}],"rounded-se":[{"rounded-se":ae()}],"rounded-ee":[{"rounded-ee":ae()}],"rounded-es":[{"rounded-es":ae()}],"rounded-tl":[{"rounded-tl":ae()}],"rounded-tr":[{"rounded-tr":ae()}],"rounded-br":[{"rounded-br":ae()}],"rounded-bl":[{"rounded-bl":ae()}],"border-w":[{border:fe()}],"border-w-x":[{"border-x":fe()}],"border-w-y":[{"border-y":fe()}],"border-w-s":[{"border-s":fe()}],"border-w-e":[{"border-e":fe()}],"border-w-bs":[{"border-bs":fe()}],"border-w-be":[{"border-be":fe()}],"border-w-t":[{"border-t":fe()}],"border-w-r":[{"border-r":fe()}],"border-w-b":[{"border-b":fe()}],"border-w-l":[{"border-l":fe()}],"divide-x":[{"divide-x":fe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":fe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...we(),"hidden","none"]}],"divide-style":[{divide:[...we(),"hidden","none"]}],"border-color":[{border:I()}],"border-color-x":[{"border-x":I()}],"border-color-y":[{"border-y":I()}],"border-color-s":[{"border-s":I()}],"border-color-e":[{"border-e":I()}],"border-color-bs":[{"border-bs":I()}],"border-color-be":[{"border-be":I()}],"border-color-t":[{"border-t":I()}],"border-color-r":[{"border-r":I()}],"border-color-b":[{"border-b":I()}],"border-color-l":[{"border-l":I()}
vendor: 5,780 bytes, line 9
9],"divide-color":[{divide:I()}],"outline-style":[{outline:[...we(),"none","hidden"]}],"outline-offset":[{"outline-offset":[be,se,ie]}],"outline-w":[{outline:["",be,pr,as]}],"outline-color":[{outline:I()}],shadow:[{shadow:["","none",y,ao,so]}],"shadow-color":[{shadow:I()}],"inset-shadow":[{"inset-shadow":["none",v,ao,so]}],"inset-shadow-color":[{"inset-shadow":I()}],"ring-w":[{ring:fe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:I()}],"ring-offset-w":[{"ring-offset":[be,as]}],"ring-offset-color":[{"ring-offset":I()}],"inset-ring-w":[{"inset-ring":fe()}],"inset-ring-color":[{"inset-ring":I()}],"text-shadow":[{"text-shadow":["none",b,ao,so]}],"text-shadow-color":[{"text-shadow":I()}],opacity:[{opacity:[be,se,ie]}],"mix-blend":[{"mix-blend":[...Ie(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ie()}],"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":ge()}],"mask-image-linear-to-pos":[{"mask-linear-to":ge()}],"mask-image-linear-from-color":[{"mask-linear-from":I()}],"mask-image-linear-to-color":[{"mask-linear-to":I()}],"mask-image-t-from-pos":[{"mask-t-from":ge()}],"mask-image-t-to-pos":[{"mask-t-to":ge()}],"mask-image-t-from-color":[{"mask-t-from":I()}],"mask-image-t-to-color":[{"mask-t-to":I()}],"mask-image-r-from-pos":[{"mask-r-from":ge()}],"mask-image-r-to-pos":[{"mask-r-to":ge()}],"mask-image-r-from-color":[{"mask-r-from":I()}],"mask-image-r-to-color":[{"mask-r-to":I()}],"mask-image-b-from-pos":[{"mask-b-from":ge()}],"mask-image-b-to-pos":[{"mask-b-to":ge()}],"mask-image-b-from-color":[{"mask-b-from":I()}],"mask-image-b-to-color":[{"mask-b-to":I()}],"mask-image-l-from-pos":[{"mask-l-from":ge()}],"mask-image-l-to-pos":[{"mask-l-to":ge()}],"mask-image-l-from-color":[{"mask-l-from":I()}],"mask-image-l-to-color":[{"mask-l-to":I()}],"mask-image-x-from-pos":[{"mask-x-from":ge()}],"mask-image-x-to-pos":[{"mask-x-to":ge()}],"mask-image-x-from-color":[{"mask-x-from":I()}],"mask-image-x-to-color":[{"mask-x-to":I()}],"mask-image-y-from-pos":[{"mask-y-from":ge()}],"mask-image-y-to-pos":[{"mask-y-to":ge()}],"mask-image-y-from-color":[{"mask-y-from":I()}],"mask-image-y-to-color":[{"mask-y-to":I()}],"mask-image-radial":[{"mask-radial":[se,ie]}],"mask-image-radial-from-pos":[{"mask-radial-from":ge()}],"mask-image-radial-to-pos":[{"mask-radial-to":ge()}],"mask-image-radial-from-color":[{"mask-radial-from":I()}],"mask-image-radial-to-color":[{"mask-radial-to":I()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":z()}],"mask-image-conic-pos":[{"mask-conic":[be]}],"mask-image-conic-from-pos":[{"mask-conic-from":ge()}],"mask-image-conic-to-pos":[{"mask-conic-to":ge()}],"mask-image-conic-from-color":[{"mask-conic-from":I()}],"mask-image-conic-to-color":[{"mask-conic-to":I()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:R()}],"mask-repeat":[{mask:F()}],"mask-size":[{mask:J()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",se,ie]}],filter:[{filter:["","none",se,ie]}],blur:[{blur:cn()}],brightness:[{brightness:[be,se,ie]}],contrast:[{contrast:[be,se,ie]}],"drop-shadow":[{"drop-shadow":["","none",j,ao,so]}],"drop-shadow-color":[{"drop-shadow":I()}],grayscale:[{grayscale:["",be,se,ie]}],"hue-rotate":[{"hue-rotate":[be,se,ie]}],invert:[{invert:["",be,se,ie]}],saturate:[{saturate:[be,se,ie]}],sepia:[{sepia:["",be,se,ie]}],"backdrop-filter":[{"backdrop-filter":["","none",se,ie]}],"backdrop-blur":[{"backdrop-blur":cn()}],"backdrop-brightness":[{"backdrop-brightness":[be,se,ie]}],"backdrop-contrast":[{"backdrop-contrast":[be,se,ie]}],"backdrop-grayscale":[{"backdrop-grayscale":["",be,se,ie]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[be,se,ie]}],"backdrop-invert":[{"backdrop-invert":["",be,se,ie]}],"backdrop-opacity":[{"backdrop-opacity":[be,se,ie]}],"backdrop-saturate":[{"backdrop-saturate":[be,se,ie]}],"backdrop-sepia":[{"backdrop-sepia":["",be,se,ie]}],"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",se,ie]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[be,"initial",se,ie]}],ease:[{ease:["linear","initial",N,se,ie]}],delay:[{delay:[be,se,ie]}],animate:[{animate:["none",_,se,ie]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[E,se,ie]}],"perspective-origin":[{"perspective-origin":G()}],rotate:[{rotate:un()}],"rotate-x":[{"rotate-x":un()}],"rotate-y":[{"rotate-y":un()}],"rotate-z":[{"rotate-z":un()}],scale:[{scale:bn()}],"scale-x":[{"scale-x":bn()}],"scale-y":[{"scale-y":bn()}],"scale-z":[{"scale-z":bn()}],"scale-3d":["scale-3d"],skew:[{skew:ai()}],"skew-x":[{"skew-x":ai()}],"skew-y":[{"skew-y":ai()}],transform:[{transform:[se,ie,"","none","gpu","cpu"]}],"transform-origin":[{origin:G()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:jt()}],"translate-x":[{"translate-x":jt()}],"translate-y":[{"translate-y":jt()}],"translate-z":[{"translate-z":jt()}],"translate-none":["translate-none"],zoom:[{zoom:[En,se,ie]}],accent:[{accent:I()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:I()}
9],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",se,ie]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":I()}],"scrollbar-track-color":[{"scrollbar-track":I()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"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-mbs":[{"scroll-mbs":L()}],"scroll-mbe":[{"scroll-mbe":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-pbs":[{"scroll-pbs":L()}],"scroll-pbe":[{"scroll-pbe":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",se,ie]}],fill:[{fill:["none",...I()]}],"stroke-w":[{stroke:[be,pr,as,X0]}],stroke:[{stroke:["none",...I()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},fC=qN(uC);function Ue(...t){return fC(Ob(t))}const dC=yA,i1=T.forwardRef(({className:t,...i},a)=>f.jsx(Eb,{ref:a,className:Ue("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),...i}));i1.displayName=Eb.displayName;const hC=_b("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"}}),s1=T.forwardRef(({className:t,variant:i,...a},r)=>f.jsx(Ab,{ref:r,className:Ue(hC({variant:i}),t),...a}));s1.displayName=Ab.displayName;const mC=T.forwardRef(({className:t,...i},a)=>
9f.jsx(Rb,{ref:a,className:Ue("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),...i}));mC.displayName=Rb.displayName;const a1=T.forwardRef(({className:t,...i},a)=>f.jsx(Mb,{ref:a,className:Ue("absolute right-2 top-2 rounded-md p-1 text-foreground/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":"",...i,children:f.jsx(Hb,{className:"h-4 w-4"})}));a1.displayName=Mb.displayName;const r1=T.forwardRef(({className:t,...i},a)=>f.jsx(Nb,{ref:a,className:Ue("text-sm font-semibold",t),...i}));r1.displayName=Nb.displayName;const l1=T.forwardRef(({className:t,...i},a)=>f.jsx(Cb,{ref:a,className:Ue("text-sm opacity-90",t),...i}));l1.displayName=Cb.displayName;function pC(){const{toasts:t}=uE();return f.jsxs(dC,{children:[t.map(function({id:i,title:a,description:r,action:o,...u}){return f.jsxs(s1,{...u,children:[f.jsxs("div",{className:"grid gap-1",children:[a&&f.jsx(r1,{children:a}),r&&f.jsx(l1,{children:r})]}),o,f.jsx(a1,{})]},i)}),f.jsx(i1,{})]})}const gC=["top","right","bottom","left"],zi=Math.min,Jn=Math.max,ko=Math.round,ro=Math.floor,ei=t=>({x:t,y:t}),yC={left:"right",right:"left",bottom:"top",top:"bottom"};function o1(t,i,a){return Jn(t,zi(i,a))}function ii(t,i){return typeof t=="function"?t(i):t}function ki(t){return t.split("-")[0]}function pa(t){return t.split("-")[1]}function xh(t){return t==="x"?"y":"x"}function vh(t){return t==="y"?"height":"width"}function Cn(t){const i=t[0];return i==="t"||i==="b"?"y":"x"}function bh(t){return xh(Cn(t))}function xC(t,i,a){a===void 0&&(a=!1);const r=pa(t),o=bh(t),u=vh(o);let h=o==="x"?r===(a?"end":"start")?"right":"left":r==="start"?"bottom":"top";return i.reference[u]>i.floating[u]&&(h=Lo(h)),[h,Lo(h)]}function vC(t){const i=Lo(t);return[Rd(t),i,Rd(i)]}function Rd(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const Z0=["left","right"],I0=["right","left"],bC=["top","bottom"],wC=["bottom","top"];function SC(t,i,a){switch(t){case"top":case"bottom":return a?i?I0:Z0:i?Z0:I0;case"left":case"right":return i?bC:wC;default:return[]}}function TC(t,i,a,r){const o=pa(t);let u=SC(ki(t),a==="start",r);return o&&(u=u.map(h=>h+"-"+o),i&&(u=u.concat(u.map(Rd)))),u}function Lo(t){const i=ki(t);return yC[i]+t.slice(i.length)}function jC(t){var i,a,r,o;return{top:(i=t.top)!=null?i:0,right:(a=t.right)!=null?a:0,bottom:(r=t.bottom)!=null?r:0,left:(o=t.left)!=null?o:0}}function c1(t){return typeof t!="number"?jC(t):{top:t,right:t,bottom:t,left:t}}function Vo(t){const{x:i,y:a,width:r,height:o}=t;return{width:r,height:o,top:a,left:i,right:i+r,bottom:a+o,x:i,y:a}}function $0(t,i,a){let{reference:r,floating:o}=t;const u=Cn(i),h=bh(i),m=vh(h),g=ki(i),p=u==="y",y=r.x+r.width/2-o.width/2,v=r.y+r.height/2-o.height/2,b=r[m]/2-o[m]/2;let j;switch(g){case"top":j={x:y,y:r.y-o.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-o.width,y:v};break;default:j={x:r.x,y:r.y}}const S=pa(i);return S&&(j[h]+=b*(S==="end"?1:-1)*(a&&p?-1:1)),j}async function EC(t,i){var a;i===void 0&&(i={});const{x:r,y:o,platform:u,rects:h,elements:m,strategy:g}=t,{boundary:p="clippingAncestors",rootBoundary:y="viewport",elementContext:v="floating",altBoundary:b=!1,padding:j=0}=ii(i,t),S=c1(j),A=m[b?v==="floating"?"reference":"floating":v],N=Vo(await u.getClippingRect({element:(a=await(u.isElement==null?void 0:u.isElement(A)))==null||a?A:A.contextElement||await(u.getDocumentElement==null?void 0:u.getDocumentElement(m.floating)),boundary:p,rootBoundary:y,strategy:g})),_=v==="floating"?{x:r,y:o,width:h.floating.width,height:h.floating.height}:h.reference,M=await(u.getOffsetParent==null?void 0:u.getOffsetParent(m.floating)),z=await(u.isElement==null?void 0:u.isElement(M))&&await(u.getScale==null?void 0:u.getScale(M))||{x:1,y:1},G=Vo(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:m,rect:_,offsetParent:M,strategy:g}):_);return{top:(N.top-G.top+S.top)/z.y,bottom:(G.bottom-N.bottom+S.bottom)/z.y,left:(N.left-G.left+S.left)/z.x,right:(G.right-N.right+S.right)/z.x}}const AC=50,NC=async(t,i,a)=>{const{placement:r="bottom",strategy:o="absolute",middleware:u=[],platform:h}=a,m=h.detectOverflow?h:{...h,detectOverflow:EC},g=await(h.isRTL==null?void 0:h.isRTL(i));let p=await h.getElementRects({reference:t,floating:i,strategy:o}),{x:y,y:v}=$0(p,r,g),b=r,j=0;const S={};for(let E=0;E<u.length;E++){const A=u[E];if(!A)continue;const{name:N,fn:_}=A,{x:M,y:z,data:G,reset:q}=await _({x:y,y:v,initialPlacement:r,placement:b,strategy:o,middlewareData:S,rects:p,platform:m,elements:{reference:t,floating:i}});y=M??y,v=z??v,S[N]={...S[N],...G},q&&j<AC&&(j++,typeof q=="object"&&(q.placement&&(b=q.placement),q.rects&&(p=q.rects===!0?await h.getElementRects({reference:t,floating:i,strategy:o}):q.rects),{x:y,y:v}=$0(p,b,g)),E=-1)}return{x:y,y:v,placement:b,strategy:o,middlewareData:S}},CC=t=>({name:"arrow",options:t,async fn(i){const{x:a,y:r,placement:o,rects:u,platform:h,elements:m,middlewareData:g}=i,{element:p,padding:y=0}=ii(t,i)||{};if(p==null)return{};const v=c1(y),b={x:a,y:r},j=bh(o),S=vh(j),E=await h.getDimensions(p),A=j==="y",N=A?"top":"left",_=A?"bottom":"right",M=A?"clientHeight":"clientWidth",z=u.reference[S]+u.reference[j]-b[j]-u.floating[S],G=b[j]-u.reference[j],q=await(h.getOffsetParent==null?void 0:h.getOffsetParent(p));let P=q?q[M]:0;(!P||!await(h.isElement==null?void 0:h.isElement(q)))&&(P=m.floating[M]||u.floating[S]);const L=z/2-G/2,W=P/2-E[S]/2-1,$=zi(v[N],W),oe=zi(v[_],W),ee=P-E[S]-oe,de=P/2-E[S]/2+L,ue=o1($,de,ee),pe=!g.arrow&&pa(o)!=null&&de!==ue&&u.reference[S]/2-(de<$?$:oe)-E[S]/2<0,D=pe?de<$?de-$:de-ee:0;return{[j]:b[j]+D,data:{[j]:ue,centerOffset:de-ue-D,...pe&&{alignmentOffset:D}},reset:pe}}}),RC=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(i){var a,r;const{placement:o,middlewareData:u,rects:h,initialPlacement:m,platform:g,elements:p}=i,{mainAxis:y=!0,crossAxis:v=!0,fallbackPlacements:b,fallbackStrategy:j="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:E=!0,...A}=ii(t,i);if((a=u.arrow)!=null&&a.alignmentOffset)return{};const N=ki(o),_=Cn(m),M=ki(m)===m,z=await(g.isRTL==null?void 0:g.isRTL(p.floating)),G=b||(M||!E?[Lo(m)]:vC(m)),q=S!=="none";!b&&q&&G.push(...TC(m,E,S,z));const P=[m,...G],L=await g.detectOverflow(i,A),W=[];let $=((r=u.flip)==null?void 0:r.overflows)||[];if(y&&W.push(L[N]),v){const ue=xC(o,h,z);W.push(L[ue[0]],L[ue[1]])}if($=[...$,{placement:o,overflows:W}],!W.every(ue=>ue<=0)){var oe,ee;const ue=(((oe=u.flip)==null?void 0:oe.index)||0)+1,pe=P[ue];
9if(pe&&(!(v==="alignment"?_!==Cn(pe):!1)||$.every(Z=>Cn(Z.placement)===_?Z.overflows[0]>0:!0)))return{data:{index:ue,overflows:$},reset:{placement:pe}};let D=(ee=$.filter(X=>X.overflows[0]<=0).sort((X,Z)=>X.overflows[1]-Z.overflows[1])[0])==null?void 0:ee.placement;if(!D)switch(j){case"bestFit":{var de;const X=(de=$.filter(Z=>{if(q){const te=Cn(Z.placement);return te===_||te==="y"}return!0}).map(Z=>[Z.placement,Z.overflows.filter(te=>te>0).reduce((te,I)=>te+I,0)]).sort((Z,te)=>Z[1]-te[1])[0])==null?void 0:de[0];X&&(D=X);break}case"initialPlacement":D=m;break}if(o!==D)return{reset:{placement:D}}}return{}}}};function W0(t,i){return{top:t.top-i.height,right:t.right-i.width,bottom:t.bottom-i.height,left:t.left-i.width}}function J0(t){return gC.some(i=>t[i]>=0)}const MC=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(i){const{rects:a,platform:r}=i,{strategy:o="referenceHidden",...u}=ii(t,i);switch(o){case"referenceHidden":{const h=await r.detectOverflow(i,{...u,elementContext:"reference"}),m=W0(h,a.reference);return{data:{referenceHiddenOffsets:m,referenceHidden:J0(m)}}}case"escaped":{const h=await r.detectOverflow(i,{...u,altBoundary:!0}),m=W0(h,a.floating);return{data:{escapedOffsets:m,escaped:J0(m)}}}default:return{}}}}},u1=new Set(["left","top"]);async function DC(t,i){const{placement:a,platform:r,elements:o}=t,u=await(r.isRTL==null?void 0:r.isRTL(o.floating)),h=ki(a),m=pa(a),g=Cn(a)==="y",p=u1.has(h)?-1:1,y=u&&g?-1:1,v=ii(i,t);let{mainAxis:b,crossAxis:j,alignmentAxis:S}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return m&&typeof S=="number"&&(j=m==="end"?S*-1:S),g?{x:j*y,y:b*p}:{x:b*p,y:j*y}}const OC=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(i){var a,r;const{x:o,y:u,placement:h,middlewareData:m}=i,g=await DC(i,t);return h===((a=m.offset)==null?void 0:a.placement)&&(r=m.arrow)!=null&&r.alignmentOffset?{}:{x:o+g.x,y:u+g.y,data:{...g,placement:h}}}}},_C=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(i){const{x:a,y:r,placement:o,platform:u}=i,{mainAxis:h=!0,crossAxis:m=!1,limiter:g={fn:_=>{let{x:M,y:z}=_;return{x:M,y:z}}},...p}=ii(t,i),y={x:a,y:r},v=await u.detectOverflow(i,p),b=Cn(o),j=xh(b);let S=y[j],E=y[b];const A=(_,M)=>o1(M+v[_==="y"?"top":"left"],M,M-v[_==="y"?"bottom":"right"]);h&&(S=A(j,S)),m&&(E=A(b,E));const N=g.fn({...i,[j]:S,[b]:E});return{...N,data:{x:N.x-a,y:N.y-r,enabled:{[j]:h,[b]:m}}}}}},zC=function(t){return t===void 0&&(t={}),{options:t,fn(i){var a,r;const{x:o,y:u,placement:h,rects:m,middlewareData:g}=i,{offset:p=0,mainAxis:y=!0,crossAxis:v=!0}=ii(t,i),b={x:o,y:u},j=Cn(h),S=xh(j);let E=b[S],A=b[j];const N=ii(p,i),_=typeof N=="number"?{mainAxis:N,crossAxis:0}:{mainAxis:(a=N.mainAxis)!=null?a:0,crossAxis:(r=N.crossAxis)!=null?r:0};if(y){const G=S==="y"?"height":"width",q=m.reference[S]-m.floating[G]+_.mainAxis,P=m.reference[S]+m.reference[G]-_.mainAxis;E<q?E=q:E>P&&(E=P)}if(v){var M,z;const G=S==="y"?"width":"height",q=u1.has(ki(h)),P=m.reference[j]-m.floating[G]+(q&&((M=g.offset)==null?void 0:M[j])||0)+(q?0:_.crossAxis),L=m.reference[j]+m.reference[G]+(q?0:((z=g.offset)==null?void 0:z[j])||0)-(q?_.crossAxis:0);A<P?A=P:A>L&&(A=L)}return{[S]:E,[j]:A}}}},kC=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(i){const{placement:a,rects:r,platform:o,elements:u}=i,{apply:h=()=>{},...m}=ii(t,i),g=await o.detectOverflow(i,m),p=ki(a),y=pa(a),v=Cn(a)==="y",{width:b,height:j}=r.floating;let S,E;p==="top"||p==="bottom"?(S=p,E=y===(await(o.isRTL==null?void 0:o.isRTL(u.floating))?"start":"end")?"left":"right"):(E=p,S=y==="end"?"top":"bottom");const A=j-g.top-g.bottom,N=b-g.left-g.right,_=zi(j-g[S],A),M=zi(b-g[E],N),z=i.middlewareData.shift,G=!z;let q=_,P=M;z!=null&&z.enabled.x&&(P=N),z!=null&&z.enabled.y&&(q=A),G&&!y&&(v?P=b-2*Jn(g.left,g.right):q=j-2*Jn(g.top,g.bottom)),await h({...i,availableWidth:P,availableHeight:q});const L=await o.getDimensions(u.floating);return b!==L.width||j!==L.height?{reset:{rects:!0}}:{}}}};function ic(){return typeof window<"u"}function ga(t){return f1(t)?(t.nodeName||"").toLowerCase():"#document"}function _t(t){var i;return(t==null||(i=t.ownerDocument)==null?void 0:i.defaultView)||window}function si(t){var i;return(i=(f1(t)?t.ownerDocument:t.document)||window.document)==null?void 0:i.documentElement}function f1(t){return ic()?t instanceof Node||t instanceof _t(t).Node:!1}function Mn(t){return ic()?t instanceof Element||t instanceof _t(t).Element:!1}function Bi(t){return ic()?t instanceof HTMLElement||t instanceof _t(t).HTMLElement:!1}function ex(t){return!ic()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _t(t).ShadowRoot}function sc(t){const{overflow:i,overflowX:a,overflowY:r,display:o}=Dn(t);return/auto|scroll|overlay|hidden|clip/.test(i+r+a)&&o!=="inline"&&o!=="contents"}function LC(t){return/^(table|td|th)$/.test(ga(t))}function ac(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const VC=/transform|translate|scale|rotate|perspective|filter/,UC=/paint|layout|strict|content/,rs=t=>!!t&&t!=="none";let Qf;function wh(t){const i=Mn(t)?Dn(t):t;return rs(i.transform)||rs(i.translate)||rs(i.scale)||rs(i.rotate)||rs(i.perspective)||!Sh()&&(rs(i.backdropFilter)||rs(i.filter))||VC.test(i.willChange||"")||UC.test(i.contain||"")}function BC(t){let i=ms(t);for(;Bi(i)&&!Ar(i);){if(wh(i))return i;if(ac(i))return null;i=ms(i)}return null}function Sh(){return Qf==null&&(Qf=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Qf}function Ar(t){return/^(html|body|#document)$/.test(ga(t))}function Dn(t){return _t(t).getComputedStyle(t)}function rc(t){return Mn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ms(t){if(ga(t)==="html")return t;const i=t.assignedSlot||t.parentNode||ex(t)&&t.host||si(t);return ex(i)?i.host:i}function d1(t){const i=ms(t);return Ar(i)?(t.ownerDocument||t).body:Bi(i)&&sc(i)?i:d1(i)}function Nr(t,i,a){var r;i===void 0&&(i=[]),a===void 0&&(a=!0);const o=d1(t),u=o===((r=t.ownerDocument)==null?void 0:r.body),h=_t(o);if(u){const m=Md(h);
9return i.concat(h,h.visualViewport||[],sc(o)?o:[],m&&a?Nr(m):[])}else return i.concat(o,Nr(o,[],a))}function Md(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function h1(t){const i=Dn(t);let a=parseFloat(i.width)||0,r=parseFloat(i.height)||0;const o=Bi(t),u=o?t.offsetWidth:a,h=o?t.offsetHeight:r,m=ko(a)!==u||ko(r)!==h;return m&&(a=u,r=h),{width:a,height:r,$:m}}function Th(t){return Mn(t)?t:t.contextElement}function la(t){const i=Th(t);if(!Bi(i))return ei(1);const a=i.getBoundingClientRect(),{width:r,height:o,$:u}=h1(i);let h=(u?ko(a.width):a.width)/r,m=(u?ko(a.height):a.height)/o;return(!h||!Number.isFinite(h))&&(h=1),(!m||!Number.isFinite(m))&&(m=1),{x:h,y:m}}const PC=ei(0);function m1(t){const i=_t(t);return!Sh()||!i.visualViewport?PC:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function HC(t,i,a){return i===void 0&&(i=!1),!!a&&i&&a===_t(t)}function ps(t,i,a,r){i===void 0&&(i=!1),a===void 0&&(a=!1);const o=t.getBoundingClientRect(),u=Th(t);let h=ei(1);i&&(r?Mn(r)&&(h=la(r)):h=la(t));const m=HC(u,a,r)?m1(u):ei(0);let g=(o.left+m.x)/h.x,p=(o.top+m.y)/h.y,y=o.width/h.x,v=o.height/h.y;if(u&&r){const b=_t(u),j=Mn(r)?_t(r):r;let S=b,E=Md(S);for(;E&&j!==S;){const A=la(E),N=E.getBoundingClientRect(),_=Dn(E),M=N.left+(E.clientLeft+parseFloat(_.paddingLeft))*A.x,z=N.top+(E.clientTop+parseFloat(_.paddingTop))*A.y;g*=A.x,p*=A.y,y*=A.x,v*=A.y,g+=M,p+=z,S=_t(E),E=Md(S)}}return Vo({width:y,height:v,x:g,y:p})}function lc(t,i){const a=rc(t).scrollLeft;return i?i.left+a:ps(si(t)).left+a}function p1(t,i){const a=t.getBoundingClientRect(),r=a.left+i.scrollLeft-lc(t,a),o=a.top+i.scrollTop;return{x:r,y:o}}function qC(t){let{elements:i,rect:a,offsetParent:r,strategy:o}=t;const u=o==="fixed",h=si(r),m=i?ac(i.floating):!1;if(r===h||m&&u)return a;let g={scrollLeft:0,scrollTop:0},p=ei(1);const y=ei(0),v=Bi(r);if((v||!u)&&((ga(r)!=="body"||sc(h))&&(g=rc(r)),v)){const j=ps(r);p=la(r),y.x=j.x+r.clientLeft,y.y=j.y+r.clientTop}const b=h&&!v&&!u?p1(h,g):ei(0);return{width:a.width*p.x,height:a.height*p.y,x:a.x*p.x-g.scrollLeft*p.x+y.x+b.x,y:a.y*p.y-g.scrollTop*p.y+y.y+b.y}}function GC(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function YC(t){const i=rc(t),a=t.ownerDocument.body,r=Jn(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),o=Jn(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight);let u=-i.scrollLeft+lc(t);const h=-i.scrollTop;return Dn(a).direction==="rtl"&&(u+=Jn(t.clientWidth,a.clientWidth)-r),{width:r,height:o,x:u,y:h}}const FC=25;function XC(t,i,a){a===void 0&&(a="viewport");const r=a==="layoutViewport",o=_t(t),u=si(t),h=o.visualViewport;let m=u.clientWidth,g=u.clientHeight,p=0,y=0;if(h){const b=!Sh()||i==="fixed";r?b||(p=-h.offsetLeft,y=-h.offsetTop):(m=h.width,g=h.height,b&&(p=h.offsetLeft,y=h.offsetTop))}if(lc(u)<=0){const b=u.ownerDocument,j=b.body,S=getComputedStyle(j),E=b.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,A=Math.abs(u.clientWidth-j.clientWidth-E),N=getComputedStyle(u).scrollbarGutter==="stable both-edges"?A/2:A;N<=FC&&(m-=N)}return{width:m,height:g,x:p,y}}function QC(t,i){const a=ps(t,!0,i==="fixed"),r=a.top+t.clientTop,o=a.left+t.clientLeft,u=la(t),h=t.clientWidth*u.x,m=t.clientHeight*u.y,g=o*u.x,p=r*u.y;return{width:h,height:m,x:g,y:p}}function tx(t,i,a){let r;if(i==="viewport"||i==="layoutViewport")r=XC(t,a,i);else if(i==="document")r=YC(si(t));else if(Mn(i))r=QC(i,a);else{const o=m1(t);r={x:i.x-o.x,y:i.y-o.y,width:i.width,height:i.height}}return Vo(r)}function KC(t,i){const a=i.get(t);if(a)return a;let r=Nr(t,[],!1).filter(m=>Mn(m)&&ga(m)!=="body"),o=null;const u=Dn(t).position==="fixed";let h=u?ms(t):t;for(;Mn(h)&&!Ar(h);){const m=Dn(h),g=wh(h),p=o?o.position:u?"fixed":"";!g&&(p==="fixed"||p==="absolute"&&m.position==="static")?r=r.filter(v=>v!==h):o=m,h=ms(h)}return i.set(t,r),r}function ZC(t){let{element:i,boundary:a,rootBoundary:r,strategy:o}=t;const h=[...a==="clippingAncestors"?ac(i)?[]:KC(i,this._c):[].concat(a),r],m=tx(i,h[0],o);let g=m.top,p=m.right,y=m.bottom,v=m.left;for(let b=1;b<h.length;b++){const j=tx(i,h[b],o);g=Jn(j.top,g),p=zi(j.right,p),y=zi(j.bottom,y),v=Jn(j.left,v)}return{width:p-v,height:y-g,x:v,y:g}}function IC(t){const{width:i,height:a}=h1(t);return{width:i,height:a}}function $C(t,i,a){const r=Bi(i),o=si(i),u=a==="fixed",h=ps(t,!0,u,i);let m={scrollLeft:0,scrollTop:0};const g=ei(0);if((r||!u)&&((ga(i)!=="body"||sc(o))&&(m=rc(i)),r)){const b=ps(i,!0,u,i);g.x=b.x+i.clientLeft,g.y=b.y+i.clientTop}!r&&o&&(g.x=lc(o));const p=o&&!r&&!u?p1(o,m):ei(0),y=h.left+m.scrollLeft-g.x-p.x,v=h.top+m.scrollTop-g.y-p.y;return{x:y,y:v,width:h.width,height:h.height}}function Kf(t){return Dn(t).position==="static"}function nx(t,i){if(!Bi(t)||Dn(t).position==="fixed")return null;if(i)return i(t);let a=t.offsetParent;return si(t)===a&&(a=a.ownerDocument.body),a}function g1(t,i){const a=_t(t);if(ac(t))return a;
vendor: 4,386 bytes, line 9
9if(!Bi(t)){let o=ms(t);for(;o&&!Ar(o);){if(Mn(o)&&!Kf(o))return o;o=ms(o)}return a}let r=nx(t,i);for(;r&&LC(r)&&Kf(r);)r=nx(r,i);return r&&Ar(r)&&Kf(r)&&!wh(r)?a:r||BC(t)||a}const WC=async function(t){const i=this.getOffsetParent||g1,a=this.getDimensions,r=await a(t.floating);return{reference:$C(t.reference,await i(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function JC(t){return Dn(t).direction==="rtl"}const eR={convertOffsetParentRelativeRectToViewportRelativeRect:qC,getDocumentElement:si,getClippingRect:ZC,getOffsetParent:g1,getElementRects:WC,getClientRects:GC,getDimensions:IC,getScale:la,isElement:Mn,isRTL:JC};function y1(t,i){return t.x===i.x&&t.y===i.y&&t.width===i.width&&t.height===i.height}function tR(t,i,a){let r=null,o;const u=si(t);function h(){var y;clearTimeout(o),(y=r)==null||y.disconnect(),r=null}function m(y,v){y===void 0&&(y=!1),v===void 0&&(v=1),h();const b=t.getBoundingClientRect(),{left:j,top:S,width:E,height:A}=b;if(y||i(),!E||!A)return;const N=ro(S),_=ro(u.clientWidth-(j+E)),M=ro(u.clientHeight-(S+A)),z=ro(j),q={rootMargin:-N+"px "+-_+"px "+-M+"px "+-z+"px",threshold:Jn(0,zi(1,v))||1};let P=!0;function L(W){const $=W[0].intersectionRatio;if(!y1(b,t.getBoundingClientRect()))return m();if($!==v){if(!P)return m();$?m(!1,$):o=setTimeout(()=>{m(!1,1e-7)},1e3)}P=!1}try{r=new IntersectionObserver(L,{...q,root:u.ownerDocument})}catch{r=new IntersectionObserver(L,q)}r.observe(t)}const g=_t(t),p=()=>m(a);return g.addEventListener("resize",p),m(!0),()=>{g.removeEventListener("resize",p),h()}}function nR(t,i,a,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:u=!0,elementResize:h=typeof ResizeObserver=="function",layoutShift:m=typeof IntersectionObserver=="function",animationFrame:g=!1}=r,p=Th(t),y=o||u?[...p?Nr(p):[],...i?Nr(i):[]]:[];y.forEach(N=>{o&&N.addEventListener("scroll",a),u&&N.addEventListener("resize",a)});const v=p&&m?tR(p,a,u):null;let b=-1,j=null;h&&(j=new ResizeObserver(N=>{let[_]=N;_&&_.target===p&&j&&i&&(j.unobserve(i),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var M;(M=j)==null||M.observe(i)})),a()}),p&&!g&&j.observe(p),i&&j.observe(i));let S,E=g?ps(t):null;g&&A();function A(){const N=ps(t);E&&!y1(E,N)&&a(),E=N,S=requestAnimationFrame(A)}return a(),()=>{var N;y.forEach(_=>{o&&_.removeEventListener("scroll",a),u&&_.removeEventListener("resize",a)}),v?.(),(N=j)==null||N.disconnect(),j=null,g&&cancelAnimationFrame(S)}}const iR=OC,sR=_C,aR=RC,rR=kC,lR=MC,ix=CC,oR=zC,cR=(t,i,a)=>{const r=new Map,o=a??{},u={...eR,...o.platform,_c:r};return NC(t,i,{...o,platform:u})};var uR=typeof document<"u",fR=function(){},bo=uR?T.useLayoutEffect:fR;function Uo(t,i){if(t===i)return!0;if(typeof t!=typeof i)return!1;if(typeof t=="function"&&t.toString()===i.toString())return!0;let a,r,o;if(t&&i&&typeof t=="object"){if(Array.isArray(t)){if(a=t.length,a!==i.length)return!1;for(r=a;r--!==0;)if(!Uo(t[r],i[r]))return!1;return!0}if(o=Object.keys(t),a=o.length,a!==Object.keys(i).length)return!1;for(r=a;r--!==0;)if(!{}.hasOwnProperty.call(i,o[r]))return!1;for(r=a;r--!==0;){const u=o[r];if(!(u==="_owner"&&t.$$typeof)&&!Uo(t[u],i[u]))return!1}return!0}return t!==t&&i!==i}function x1(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function sx(t,i){const a=x1(t);return Math.round(i*a)/a}function Zf(t){const i=T.useRef(t);return bo(()=>{i.current=t}),i}function dR(t){t===void 0&&(t={});const{placement:i="bottom",strategy:a="absolute",middleware:r=[],platform:o,elements:{reference:u,floating:h}={},transform:m=!0,whileElementsMounted:g,open:p}=t,[y,v]=T.useState({x:0,y:0,strategy:a,placement:i,middlewareData:{},isPositioned:!1}),[b,j]=T.useState(r);Uo(b,r)||j(r);const[S,E]=T.useState(null),[A,N]=T.useState(null),_=T.useCallback(Z=>{Z!==q.current&&(q.current=Z,E(Z))},[]),M=T.useCallback(Z=>{Z!==P.current&&(P.current=Z,N(Z))},[]),z=u||S,G=h||A,q=T.useRef(null),P=T.useRef(null),L=T.useRef(y),W=g!=null,$=Zf(g),oe=Zf(o),ee=Zf(p),de=T.useCallback(()=>{if(!q.current||!P.current)return;const Z={placement:i,strategy:a,middleware:b};oe.current&&(Z.platform=oe.current),cR(q.current,P.current,Z).then(te=>{const I={...te,isPositioned:ee.current!==!1};ue.current&&!Uo(L.current,I)&&(L.current=I,Jo.flushSync(()=>{v(I)}))})},[b,i,a,oe,ee]);bo(()=>{p===!1&&L.current.isPositioned&&(L.current.isPositioned=!1,v(Z=>({...Z,isPositioned:!1})))}
9,[p]);const ue=T.useRef(!1);bo(()=>(ue.current=!0,()=>{ue.current=!1}),[]),bo(()=>{if(z&&(q.current=z),G&&(P.current=G),z&&G){if($.current)return $.current(z,G,de);de()}},[z,G,de,$,W]);const pe=T.useMemo(()=>({reference:q,floating:P,setReference:_,setFloating:M}),[_,M]),D=T.useMemo(()=>({reference:z,floating:G}),[z,G]),X=T.useMemo(()=>{const Z={position:a,left:0,top:0};if(!D.floating)return Z;const te=sx(D.floating,y.x),I=sx(D.floating,y.y);return m?{...Z,transform:"translate("+te+"px, "+I+"px)",...x1(D.floating)>=1.5&&{willChange:"transform"}}:{position:a,left:te,top:I}},[a,m,D.floating,y.x,y.y]);return T.useMemo(()=>({...y,update:de,refs:pe,elements:D,floatingStyles:X}),[y,de,pe,D,X])}const hR=t=>{function i(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:t,fn(a){const{element:r,padding:o}=typeof t=="function"?t(a):t;return r&&i(r)?r.current!=null?ix({element:r.current,padding:o}).fn(a):{}:r?ix({element:r,padding:o}).fn(a):{}}}},mR=(t,i)=>{const a=iR(t);return{name:a.name,fn:a.fn,options:[t,i]}},pR=(t,i)=>{const a=sR(t);return{name:a.name,fn:a.fn,options:[t,i]}},gR=(t,i)=>({fn:oR(t).fn,options:[t,i]}),yR=(t,i)=>{const a=aR(t);return{name:a.name,fn:a.fn,options:[t,i]}},xR=(t,i)=>{const a=rR(t);return{name:a.name,fn:a.fn,options:[t,i]}},vR=(t,i)=>{const a=lR(t);return{name:a.name,fn:a.fn,options:[t,i]}},bR=(t,i)=>{const a=hR(t);return{name:a.name,fn:a.fn,options:[t,i]}};var wR=Object.defineProperty,SR=(t,i)=>wR(t,"name",{value:i,configurable:!0});function v1(t){const[i,a]=T.useState(void 0);return gn(()=>{if(t){a({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const u=o[0];let h,m;if("borderBoxSize"in u){const g=u.borderBoxSize,p=Array.isArray(g)?g[0]:g;h=p.inlineSize,m=p.blockSize}else h=t.offsetWidth,m=t.offsetHeight;a({width:h,height:m})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else a(void 0)},[t]),i}SR(v1,"useSize");var TR=Object.defineProperty,oa=(t,i)=>TR(t,"name",{value:i,configurable:!0}),b1="Popper",[w1,S1]=ma(b1),[U6,jR]=w1(b1),T1="PopperContent",[ER,B6]=w1(T1),AR=T.forwardRef(oa(function(i,a){const{__scopePopper:r,side:o="bottom",sideOffset:u=0,align:h="center",alignOffset:m=0,arrowPadding:g=0,avoidCollisions:p=!0,collisionBoundary:y=[],collisionPadding:v=0,sticky:b="partial",hideWhenDetached:j=!1,updatePositionStrategy:S="optimized",onPlaced:E,...A}=i,N=jR(T1,r),[_,M]=T.useState(null),z=Ft(a,M),[G,q]=T.useState(null),P=v1(G),L=P?.width??0,W=P?.height??0,$=o+(h!=="center"?"-"+h:""),oe=typeof v=="number"?v:{top:0,right:0,bottom:0,left:0,...v},ee=Array.isArray(y)?y:[y],de=ee.length>0,ue={padding:oe,boundary:ee.filter(j1),altBoundary:de},{refs:pe,floatingStyles:D,placement:X,isPositioned:Z,middlewareData:te}=dR({strategy:"fixed",placement:$,whileElementsMounted:oa((...ge)=>nR(...ge,{animationFrame:S==="always"}),"whileElementsMounted"),elements:{reference:N.anchor},middleware:[mR({mainAxis:u+W,alignmentAxis:m}),p&&pR({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?gR():void 0,...ue}),p&&yR({...ue}),xR({...ue,apply:oa(({elements:ge,rects:cn,availableWidth:un,availableHeight:bn})=>{const{width:ai,height:jt}=cn.reference,ri=ge.floating.style;ri.setProperty("--radix-popper-available-width",`${un}px`),ri.setProperty("--radix-popper-available-height",`${bn}px`),ri.setProperty("--radix-popper-anchor-width",`${ai}px`),ri.setProperty("--radix-popper-anchor-height",`${jt}px`)},"apply")}),G&&bR({element:G,padding:g}),NR({arrowWidth:L,arrowHeight:W}),j&&vR({strategy:"referenceHidden",...ue,boundary:de?ue.boundary:void 0})]}),I=N.setPlacementState;gn(()=>(I(X),()=>{I(void 0)}),[X,I]);const[R,F]=jh(X),J=ti(E);gn(()=>{Z&&J?.()},[Z,J]);const ne=te.arrow?.x,ae=te.arrow?.y,fe=te.arrow?.centerOffset!==0,[we,Ie]=T.useState();return gn(()=>{_&&Ie(window.getComputedStyle(_).zIndex)},[_]),f.jsx("div",{ref:pe.setFloating,"data-radix-popper-content-wrapper":"",style:{...D,transform:Z?D.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,"--radix-popper-transform-origin":[te.transformOrigin?.x,te.transformOrigin?.y].join(" "),...te.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:i.dir,children:f.jsx(ER,{scope:r,placedSide:R,placedAlign:F,onArrowChange:q,arrowX:ne,arrowY:
9ae,shouldHideArrow:fe,children:f.jsx(vn.div,{"data-side":R,"data-align":F,...A,ref:z,style:{...A.style,animation:Z?A.style?.animation:"none"}})})})},"PopperContent"));function j1(t){return t!==null}oa(j1,"isNotNull");var NR=oa(t=>({name:"transformOrigin",options:t,fn(i){const{placement:a,rects:r,middlewareData:o}=i,h=o.arrow?.centerOffset!==0,m=h?0:t.arrowWidth,g=h?0:t.arrowHeight,[p,y]=jh(a),v={start:"0%",center:"50%",end:"100%"}[y],b=(o.arrow?.x??0)+m/2,j=(o.arrow?.y??0)+g/2;let S="",E="";return p==="bottom"?(S=h?v:`${b}px`,E=`${-g}px`):p==="top"?(S=h?v:`${b}px`,E=`${r.floating.height+g}px`):p==="right"?(S=`${-g}px`,E=h?v:`${j}px`):p==="left"&&(S=`${r.floating.width+g}px`,E=h?v:`${j}px`),{data:{x:S,y:E}}}}),"transformOrigin");function jh(t){const[i,a="center"]=t.split("-");return[i,a]}oa(jh,"getSideAndAlignFromPlacement");var CR=AR,RR=Object.defineProperty,wt=(t,i)=>RR(t,"name",{value:i,configurable:!0}),[Eh,P6]=ma("Tooltip",[S1]),MR=S1(),DR="TooltipProvider",OR=700,ax="tooltip.open",[_R,zR]=Eh(DR),kR=wt(t=>{const{__scopeTooltip:i,delayDuration:a=OR,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:u}=t,h=T.useRef(!0),m=T.useRef(!1),g=T.useRef(0);return T.useEffect(()=>{const p=g.current;return()=>window.clearTimeout(p)},[]),f.jsx(_R,{scope:i,isOpenDelayedRef:h,delayDuration:a,onOpen:T.useCallback(()=>{r<=0||(window.clearTimeout(g.current),h.current=!1)},[r]),onClose:T.useCallback(()=>{r<=0||(window.clearTimeout(g.current),g.current=window.setTimeout(()=>h.current=!0,r))},[r]),isPointerInTransitRef:m,onPointerInTransitChange:T.useCallback(p=>{m.current=p},[]),disableHoverableContent:o,children:u})},"TooltipProvider"),LR="Tooltip",[H6,oc]=Eh(LR),E1="TooltipPortal",[VR,UR]=Eh(E1,{forceMount:void 0}),BR=wt(t=>{const{__scopeTooltip:i,forceMount:a,children:r,container:o}=t,u=oc(E1,i);return f.jsx(VR,{scope:i,forceMount:a,children:f.jsx(fh,{present:a||u.open,children:f.jsx(ob,{asChild:!0,container:o,children:r})})})},"TooltipPortal"),Cr="TooltipContent",PR=T.forwardRef(wt(function(i,a){const r=UR(Cr,i.__scopeTooltip),{forceMount:o=r.forceMount,side:u="top",...h}=i,m=oc(Cr,i.__scopeTooltip);return f.jsx(fh,{present:o||m.open,children:m.disableHoverableContent?f.jsx(A1,{side:u,...h,ref:a}):f.jsx(HR,{side:u,...h,ref:a})})},"TooltipContent")),HR=T.forwardRef(wt(function(i,a){const r=oc(Cr,i.__scopeTooltip),o=zR(Cr,i.__scopeTooltip),u=T.useRef(null),h=Ft(a,u),[m,g]=T.useState(null),{trigger:p,onClose:y}=r,v=u.current,{onPointerInTransitChange:b}=o,j=T.useCallback(()=>{g(null),b(!1)},[b]),S=T.useCallback((E,A)=>{const N=E.currentTarget,_={x:E.clientX,y:E.clientY},M=N1(_,N.getBoundingClientRect()),z=C1(_,M),G=R1(A.getBoundingClientRect()),q=D1([...z,...G]);g(q),b(!0)},[b]);return T.useEffect(()=>()=>j(),[j]),T.useEffect(()=>{if(p&&v){const E=wt(N=>S(N,v),"handleTriggerLeave"),A=wt(N=>S(N,p),"handleContentLeave");return p.addEventListener("pointerleave",E),v.addEventListener("pointerleave",A),()=>{p.removeEventListener("pointerleave",E),v.removeEventListener("pointerleave",A)}}},[p,v,S,j]),T.useEffect(()=>{if(m){const E=wt(A=>{const N=A.target,_={x:A.clientX,y:A.clientY},M=p?.contains(N)||v?.contains(N),z=!M1(_,m);M?j():z&&(j(),y())},"handleTrackPointerGrace");return document.addEventListener("pointermove",E),()=>document.removeEventListener("pointermove",E)}},[p,v,m,y,j]),f.jsx(A1,{...i,ref:h})},"TooltipContentHoverable")),qR=Zv("TooltipContent"),A1=T.forwardRef(wt(function(i,a){const{__scopeTooltip:r,children:o,"aria-label":u,id:h,onEscapeKeyDown:m,onPointerDownOutside:g,...p}=i,y=oc(Cr,r),v=MR(r),{onClose:b}=y;T.useEffect(()=>(document.addEventListener(ax,b),()=>document.removeEventListener(ax,b)),[b]),T.useEffect(()=>{if(y.trigger){const S=wt(E=>{E.target instanceof Node&&E.target.contains(y.trigger)&&b()},"handleScroll");return window.addEventListener("scroll",S,{capture:!0}),()=>window.removeEventListener("scroll",S,{capture:!0})}},[y.trigger,b]);const{setContentId:j}=y;return gn(()=>(j(h),()=>{j(void 0)}),[h,j]),f.jsx(ab,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:S=>S.preventDefault(),onDismiss:b,children:f.jsxs(CR,{"data-state":y.stateAttribute,role:u?void 0:"tooltip",id:u?void 0:y.contentId,...v,...p,ref:a,style:{...p.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:[f.jsx(qR,{children:o}),u?f.jsx(KE,{id:y.contentId,role:"tooltip",children:u}):null]})})},"TooltipContentImpl"));function N1(t,i){const a=Math.abs(i.top-t.y),r=Math.abs(i.bottom-t.y),o=Math.abs(i.right-t.x),u=Math.abs(i.left-t.x);switch(Math.min(a,r,o,u)){case u:return"left";case o:return"right";case a:return"top";case r:return"bottom";default:throw new Error("unreachable")}}wt(N1,"getExitSideFromRect");function C1(t,i,a=5){const r=[];switch(i){case"top":r.push({x:t.x-a,y:t.y+a},{x:t.x+a,y:t.y+a});break;case"bottom":r.push({x:t.x-a,y:t.y-a},{x:t.x+a,y:t.y-a});break;case"left":r.push({x:t.x+a,y:t.y-a},{x:t.x+a,y:t.y+a});break;case"right":r.push({x:t.x-a,y:t.y-a},{x:t.x-a,y:t.y+a});break}return r}wt(C1,"getPaddedExitPoints");function R1(t){const{top:i,right:a,bottom:r,left:o}=t;return[{x:o,y:i},{x:a,y:i},{x:a,y:r},{x:o,y:r}]}wt(R1,"getPointsFromRect");function M1(t,i){const{x:a,y:r}=t;let o=!1;for(let u=0,h=i.length-1;u<i.length;
9h=u++){const m=i[u],g=i[h],p=m.x,y=m.y,v=g.x,b=g.y;y>r!=b>r&&a<(v-p)*(r-y)/(b-y)+p&&(o=!o)}return o}wt(M1,"isPointInPolygon");function D1(t){const i=t.slice();return i.sort((a,r)=>a.x<r.x?-1:a.x>r.x?1:a.y<r.y?-1:a.y>r.y?1:0),O1(i)}wt(D1,"getHull");function O1(t){if(t.length<=1)return t.slice();const i=[];for(let r=0;r<t.length;r++){const o=t[r];for(;i.length>=2;){const u=i[i.length-1],h=i[i.length-2];if((u.x-h.x)*(o.y-h.y)>=(u.y-h.y)*(o.x-h.x))i.pop();else break}i.push(o)}i.pop();const a=[];for(let r=t.length-1;r>=0;r--){const o=t[r];for(;a.length>=2;){const u=a[a.length-1],h=a[a.length-2];if((u.x-h.x)*(o.y-h.y)>=(u.y-h.y)*(o.x-h.x))a.pop();else break}a.push(o)}return a.pop(),i.length===1&&a.length===1&&i[0].x===a[0].x&&i[0].y===a[0].y?i:i.concat(a)}wt(O1,"getHullPresorted");var GR=kR,YR=BR,_1=PR;const FR=GR,XR=T.forwardRef(({className:t,sideOffset:i=4,...a},r)=>f.jsx(YR,{children:f.jsx(_1,{ref:r,sideOffset:i,className:Ue("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),...a})}));XR.displayName=_1.displayName;function QR(){return f.jsx("a",{href:"https://wa.me/917795123435",target:"_blank",rel:"noopener noreferrer",className:"fixed bottom-5 right-5 z-[60] group","aria-label":"Chat on WhatsApp","data-testid":"button-whatsapp-float",children:f.jsxs("div",{className:"relative",children:[f.jsx("div",{className:"absolute inset-0 rounded-full blur-xl bg-emerald-500/35 group-hover:bg-emerald-500/45 transition-colors"}),f.jsx("div",{className:"relative h-14 w-14 rounded-full bg-emerald-500 text-white shadow-xl shadow-emerald-500/25 ring-1 ring-emerald-300/30 grid place-items-center transition-transform duration-200 group-hover:scale-[1.03] active:scale-[0.98]",children:f.jsx(hN,{className:"h-6 w-6"})})]})})}const z1=T.forwardRef(({className:t,...i},a)=>f.jsx("div",{ref:a,className:Ue("rounded-xl border bg-card text-card-foreground shadow",t),...i}));z1.displayName="Card";const KR=T.forwardRef(({className:t,...i},a)=>f.jsx("div",{ref:a,className:Ue("flex flex-col space-y-1.5 p-6",t),...i}));KR.displayName="CardHeader";const ZR=T.forwardRef(({className:t,...i},a)=>f.jsx("div",{ref:a,className:Ue("font-semibold leading-none tracking-tight",t),...i}));ZR.displayName="CardTitle";const IR=T.forwardRef(({className:t,...i},a)=>f.jsx("div",{ref:a,className:Ue("text-sm text-muted-foreground",t),...i}));IR.displayName="CardDescription";const k1=T.forwardRef(({className:t,...i},a)=>f.jsx("div",{ref:a,className:Ue("p-6 pt-0",t),...i}));k1.displayName="CardContent";const $R=T.forwardRef(({className:t,...i},a)=>f.jsx("div",{ref:a,className:Ue("flex items-center p-6 pt-0",t),...i}));$R.displayName="CardFooter";function WR(){return f.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50",children:f.jsx(z1,{className:"w-full max-w-md mx-4",children:f.jsxs(k1,{className:"pt-6",children:[f.jsxs("div",{className:"flex mb-4 gap-2",children:[f.jsx(_A,{className:"h-8 w-8 text-red-500"}),f.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 Page Not Found"})]}),f.jsx("p",{className:"mt-4 text-sm text-gray-600",children:"Did you forget to add the page to the router?"})]})})})}const JR=_b("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"}}),Xt=T.forwardRef(({className:t,variant:i,size:a,asChild:r=!1,...o},u)=>{const h=r?yE:"button";return f.jsx(h,{className:Ue(JR({variant:i,size:a,className:t})),ref:u,...o})});Xt.displayName="Button";const Bo="/assets/RIU.ai's_logo_1765775790374-BwSEuzVb.png";function cc(){const[t,i]=T.useState(!1),[a,r]=T.useState(!1);T.useEffect(()=>{const u=()=>{i(window.scrollY>10)};return window.addEventListener("scroll",u),()=>window.removeEventListener("scroll",u)},[]);const o=[{name:"Product",href:"#product"},{name:"Solutions",href:"#solutions"},{name:"Podcast",href:"/podcast"},{name:"Company",href:"/about"}];return f.jsxs("nav",{className:Ue("fixed top-0 left-0 right-0 z-50 transition-all duration-300",t?"bg-white/90 backdrop-blur-md border-b border-border/50 py-3 shadow-sm":"bg-white/50 backdrop-blur-sm border-b border-transparent py-5"),children:[f.jsxs("div",{className:"container mx-auto px-6 flex items-center justify-between",children:[f.jsx(zv,{href:"/",className:"flex items-center gap-2 group cursor-pointer",children:f.jsx("img",{src:Bo,alt:"RIU.ai Logo",className:"h-10 w-auto object-contain"})}),f.jsx("div",{className:"hidden md:flex items-center gap-8",children:o.map(u=>f.jsx("a",{href:u.href,className:"text-sm font-medium text-slate-600 hover:text-primary transition-colors",children:u.name},u.name))}),f.jsxs("div",{className:"hidden md:flex items-center gap-4",children:[f.jsx("a",{href:"mailto:[email protected]",className:"text-sm font-medium text-slate-600 hover:text-primary transition-colors",children:"Contact Sales"}),f.jsx(Xt,{size:"sm",className:"rounded-full px-6 bg-primary hover:bg-primary/90 text-white shadow-lg shadow-primary/20",onClick:()=>window.open("https://calendly.com/abhimanyu-riu/30min","_blank"),children:"Book a Demo"})]}),f.jsx("button",{className:"md:hidden p-2 text-foreground",onClick:()=>r(!a),children:a?f.jsx(Hb,{}):f.jsx(fN,{})})]}),a&&f.jsx("div",{className:"md:hidden absolute top-full left-0 right-0 bg-white border-b border-border p-6 shadow-xl animate-in slide-in-from-top-5",children:f.jsxs("div",{className:"flex flex-col gap-4",children:[o.map(u=>f.jsx("a",{href:u.href,className:"text-lg font-medium py-2 border-b border-border/50 text-slate-700",onClick:()=>r(!1),children:u.name},u.name)),f.jsxs("div",{className:"flex flex-col gap-3 mt-4",children:[f.jsx(Xt,{variant:"outline",className:"w-full justify-center",onClick:()=>window.open("mailto:[email protected]"),children:"Contact Sales"}),f.jsx(Xt,{className:"w-full justify-center bg-primary text-white",onClick:()=>window.open("https://calendly.com/abhimanyu-riu/30min","_blank"),children:"Book a Demo"})]})]})})]})}function uc(){return f.jsx("footer",{className:"bg-slate-900 text-slate-300 pt-20 pb-10",children:f.jsxs("div",{className:"container mx-auto px-6",children:[f.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 ga
9p-12 mb-16",children:[f.jsxs("div",{className:"lg:col-span-2",children:[f.jsx(zv,{href:"/",className:"flex items-center gap-2 mb-6 cursor-pointer",children:f.jsx("img",{src:Bo,alt:"RIU.ai Logo",className:"h-10 w-auto object-contain brightness-0 invert"})}),f.jsxs("p",{className:"text-slate-400 text-sm leading-relaxed mb-6 max-w-sm",children:["Sustainable Intelligence for the Next Generation.",f.jsx("br",{}),"AI-first ESG reporting, carbon accounting, compliance management, and net-zero transformation."]}),f.jsx("div",{className:"flex gap-4",children:f.jsx("a",{href:"https://www.linkedin.com/company/riuai/",target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 rounded-full bg-slate-800 flex items-center justify-center hover:bg-primary hover:text-white transition-all duration-300",children:f.jsx(ia,{className:"w-5 h-5"})})})]}),f.jsxs("div",{children:[f.jsx("h4",{className:"font-bold text-white mb-6",children:"Product"}),f.jsxs("ul",{className:"space-y-4 text-sm",children:[f.jsx("li",{children:f.jsx("a",{href:"#",className:"hover:text-primary transition-colors",children:"ESG Reporting"})}),f.jsx("li",{children:f.jsx("a",{href:"#",className:"hover:text-primary transition-colors",children:"Carbon Accounting"})}),f.jsx("li",{children:f.jsx("a",{href:"#",className:"hover:text-primary transition-colors",children:"Supply Chain"})}),f.jsx("li",{children:f.jsx("a",{href:"#",className:"hover:text-primary transition-colors",children:"RIU Sense AI"})})]})]}),f.jsxs("div",{children:[f.jsx("h4",{className:"font-bold text-white mb-6",children:"Company"}),f.jsxs("ul",{className:"space-y-4 text-sm",children:[f.jsx("li",{children:f.jsx("a",{href:"/about?tab=about",className:"hover:text-primary transition-colors",children:"About Us"})}),f.jsx("li",{children:f.jsx("a",{href:"/about?tab=careers",className:"hover:text-primary transition-colors",children:"Careers"})}),f.jsx("li",{children:f.jsx("a",{href:"/about?tab=partners",className:"hover:text-primary transition-colors",children:"Partners"})}),f.jsx("li",{children:f.jsx("a",{href:"/about?tab=contact",className:"hover:text-primary transition-colors",children:"Contact"})})]})]}),f.jsxs("div",{children:[f.jsx("h4",{className:"font-bold text-white mb-6",children:"Resources"}),f.jsxs("ul",{className:"space-y-4 text-sm",children:[f.jsx("li",{children:f.jsx("a",{href:"/podcast",className:"hover:text-primary transition-colors",children:"Podcast"})}),f.jsx("li",{children:f.jsx("a",{href:"#",className:"hover:text-primary transition-colors",children:"Blog"})}),f.jsx("li",{children:f.jsx("a",{href:"/legal#privacy",className:"hover:text-primary transition-colors",children:"Privacy Policy"})}),f.jsx("li",{children:f.jsx("a",{href:"/legal#terms",className:"hover:text-primary transition-colors",children:"Terms of Service"})})]})]})]}),f.jsxs("div",{className:"border-t border-slate-800 pt-8 flex flex-col md:flex-row justify-between items-center gap-4 text-sm text-slate-500",children:[f.jsxs("p",{children:["© ",new Date().getFullYear()," RIU.ai. All rights reserved."]}),f.jsxs("div",{className:"flex gap-6",children:[f.jsx("a",{href:"/legal#privacy",className:"hover:text-white transition-colors",children:"Privacy"}),f.jsx("a",{href:"/legal#terms",className:"hover:text-white transition-colors",children:"Terms"}),f.jsx("a",{href:"/legal#cookies",className:"hover:text-white transition-colors",children:"Cookies"}),f.jsx("a",{href:"/login",className:"hover:text-white transition-colors",children:"Login"})]})]})]})})}const Ah=T.createContext({});function Nh(t){const i=T.useRef(null);return i.current===null&&(i.current=t()),i.current}const eM=typeof window<"u",Ch=eM?T.useLayoutEffect:T.useEffect,fc=T.createContext(null);function Rh(t,i){t.indexOf(i)===-1&&t.push(i)}function Po(t,i){const a=t.indexOf(i);a>-1&&t.splice(a,1)}const On=(t,i,a)=>a>i?i:a<t?t:a;let dc=()=>{};const Li={},L1=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),V1=t=>typeof t=="object"&&t!==null,U1=t=>/^0[^.\s]+$/u.test(t);function B1(t){let i;return()=>(i===void 0&&(i=t()),i)}const on=t=>t,kr=(...t)=>t.reduce((i,a)=>r=>a(i(r))),Rr=(t,i,a)=>{const r=i-t;return r?(a-t)/r:1};class Mh{constructor(){this.subscriptions=[]}add(i){return Rh(this.subscriptions,i),()=>Po(this.subscriptions,i)}notify(i,a,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](i,a,r);else for(let u=0;u<o;u++){const h=this.subscriptions[u];h&&h(i,a,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Qt=t=>t*1e3,ln=t=>t/1e3,P1=(t,i)=>i?t*(1e3/i):0,H1=(t,i,a)=>(((1-3*a+3*i)*t+(3*a-6*i))*t+3*i)*t,tM=1e-7,nM=12;function iM(t,i,a,r,o){let u,h,m=0;do h=i+(a-i)/2,u=H1(h,r,o)-t,u>0?a=h:i=h;while(Math.abs(u)>tM&&++m<nM);return h}function Lr(t,i,a,r){if(t===i&&a===r)return on;const o=u=>iM(u,0,1,t,a);return u=>u===0||u===1?u:H1(o(u),i,r)}const q1=t=>i=>i<=.5?t(2*i)/2:(2-t(2*(1-i)))/2,G1=t=>i=>
vendor: 57,116 bytes, line 9
91-t(1-i),Y1=Lr(.33,1.53,.69,.99),Dh=G1(Y1),F1=q1(Dh),X1=t=>t>=1?1:(t*=2)<1?.5*Dh(t):.5*(2-Math.pow(2,-10*(t-1))),Oh=t=>1-Math.sin(Math.acos(t)),Q1=G1(Oh),K1=q1(Oh),sM=Lr(.42,0,1,1),aM=Lr(0,0,.58,1),Z1=Lr(.42,0,.58,1),rM=t=>Array.isArray(t)&&typeof t[0]!="number",I1=t=>Array.isArray(t)&&typeof t[0]=="number",lM={linear:on,easeIn:sM,easeInOut:Z1,easeOut:aM,circIn:Oh,circInOut:K1,circOut:Q1,backIn:Dh,backInOut:F1,backOut:Y1,anticipate:X1},oM=t=>typeof t=="string",rx=t=>{if(I1(t)){dc(t.length===4);const[i,a,r,o]=t;return Lr(i,a,r,o)}else if(oM(t))return lM[t];return t},lo=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function cM(t){let i=new Set,a=new Set,r=!1,o=!1;const u=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function m(p){u.has(p)&&(g.schedule(p),t()),p(h)}const g={schedule:(p,y=!1,v=!1)=>{const j=v&&r?i:a;return y&&u.add(p),j.add(p),p},cancel:p=>{a.delete(p),u.delete(p)},process:p=>{if(h=p,r){o=!0;return}r=!0;const y=i;i=a,a=y,i.forEach(m),i.clear(),r=!1,o&&(o=!1,g.process(p))}};return g}const uM=40;function $1(t,i){let a=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},u=()=>a=!0,h=lo.reduce((M,z)=>(M[z]=cM(u),M),{}),{setup:m,read:g,resolveKeyframes:p,preUpdate:y,update:v,preRender:b,render:j,postRender:S}=h,E=()=>{const M=Li.useManualTiming,z=M?o.timestamp:performance.now();a=!1,M||(o.delta=r?1e3/60:Math.max(Math.min(z-o.timestamp,uM),1)),o.timestamp=z,o.isProcessing=!0,m.process(o),g.process(o),p.process(o),y.process(o),v.process(o),b.process(o),j.process(o),S.process(o),o.isProcessing=!1,a&&i&&(r=!1,t(E))},A=()=>{a=!0,r=!0,o.isProcessing||t(E)};return{schedule:lo.reduce((M,z)=>{const G=h[z];return M[z]=(q,P=!1,L=!1)=>(a||A(),G.schedule(q,P,L)),M},{}),cancel:M=>{for(let z=0;z<lo.length;z++)h[lo[z]].cancel(M)},state:o,steps:h}}const{schedule:Pe,cancel:Vi,state:pt,steps:If}=$1(typeof requestAnimationFrame<"u"?requestAnimationFrame:on,!0);let wo;function fM(){wo=void 0}const St={now:()=>(wo===void 0&&St.set(pt.isProcessing||Li.useManualTiming?pt.timestamp:performance.now()),wo),set:t=>{wo=t,queueMicrotask(fM)}},W1=t=>i=>typeof i=="string"&&i.startsWith(t),J1=W1("--"),dM=W1("var(--"),_h=t=>dM(t)?hM.test(t.split("/*")[0].trim()):!1,hM=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function lx(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const ya={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Mr={...ya,transform:t=>On(0,1,t)},oo={...ya,default:1},wr=t=>Math.round(t*1e5)/1e5,zh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function mM(t){return t==null}const pM=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,kh=(t,i)=>a=>!!(typeof a=="string"&&pM.test(a)&&a.startsWith(t)||i&&!mM(a)&&Object.prototype.hasOwnProperty.call(a,i)),ew=(t,i,a)=>r=>{if(typeof r!="string")return r;const[o,u,h,m]=r.match(zh);return{[t]:parseFloat(o),[i]:parseFloat(u),[a]:parseFloat(h),alpha:m!==void 0?parseFloat(m):1}},gM=t=>On(0,255,t),$f={...ya,transform:t=>Math.round(gM(t))},cs={test:kh("rgb","red"),parse:ew("red","green","blue"),transform:({red:t,green:i,blue:a,alpha:r=1})=>"rgba("+$f.transform(t)+", "+$f.transform(i)+", "+$f.transform(a)+", "+wr(Mr.transform(r))+")"};function yM(t){let i="",a="",r="",o="";return t.length>5?(i=t.substring(1,3),a=t.substring(3,5),r=t.substring(5,7),o=t.substring(7,9)):(i=t.substring(1,2),a=t.substring(2,3),r=t.substring(3,4),o=t.substring(4,5),i+=i,a+=a,r+=r,o+=o),{red:parseInt(i,16),green:parseInt(a,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Dd={test:kh("#"),parse:yM,transform:cs.transform},Vr=t=>({test:i=>typeof i=="string"&&i.endsWith(t)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${t}`}),Wn=Vr("deg"),Rn=Vr("%"),le=Vr("px"),xM=Vr("vh"),vM=Vr("vw"),ox={...Rn,parse:t=>Rn.parse(t)/100,transform:t=>Rn.transform(t*100)},sa={test:kh("hsl","hue"),parse:ew("hue","saturation","lightness"),transform:({hue:t,saturation:i,lightness:a,alpha:r=1})=>"hsla("+Math.round(t)+", "+Rn.transform(wr(i))+", "+Rn.transform(wr(a))+", "+wr(Mr.transform(r))+")"},nt={test:t=>cs.test(t)||Dd.test(t)||sa.test(t),parse:t=>cs.test(t)?cs.parse(t):sa.test(t)?sa.parse(t):Dd.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?cs.transform(t):sa.transform(t),getAnimatableNone:t=>{const i=nt.parse(t);return i.alpha=0,nt.transform(i)}},bM=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function wM(t){return isNaN(t)&&typeof t=="string"&&(t.match(zh)?.length||0)+(t.match(bM)?.length||0)>0}const tw="number",nw="color",SM="var",TM="var(",cx="${}",jM=/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 ua(t){const i=t.toString(),a=[],r={color:[],number:[],var:[]},o=[];let u=0;const m=i.replace(jM,g=>(nt.test(g)?(r.color.push(u),o.push(nw),a.push(nt.parse(g))):g.startsWith(TM)?(r.var.push(u),o.push(SM),a.push(g)):(r.number.push(u),o.push(tw),a.push(parseFloat(g))),++u,cx)).split(cx);return{values:a,split:m,indexes:r,types:o}}function EM(t){return ua(t).values}function iw({split:t,types:i}){const a=t.length;return r=>{let o="";for(let u=0;u<a;u++)if(o+=t[u],r[u]!==void 0){const h=i[u];h===tw?o+=wr(r[u]):h===nw?o+=nt.transform(r[u]):o+=r[u]}return o}}function AM(t){return iw(ua(t))}const NM=t=>typeof t=="number"?0:nt.test(t)?nt.getAnimatableNone(t):t,CM=(t,i)=>typeof t=="number"?i?.trim().endsWith("/")?t:0:NM(t);function RM(t){const i=ua(t);return iw(i)(i.values.map((r,o)=>CM(r,i.split[o])))}const yn={test:wM,parse:EM,createTransformer:AM,getAnimatableNone:RM};function Wf(t,i,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?t+(i-t)*6*a:a<1/2?i:a<2/3?t+(i-t)*(2/3-a)*6:t}function MM({hue:t,saturation:i,lightness:a,alpha:r}){t/=360,i/=100,a/=100;let o=0,u=0,h=0;if(!i)o=u=h=a;else{const m=a<.5?a*(1+i):a+i-a*i,g=2*a-m;o=Wf(g,m,t+1/3),u=Wf(g,m,t),h=Wf(g,m,t-1/3)}return{red:Math.round(o*255),green:Math.round(u*255),blue:Math.round(h*255),alpha:r}}function Ho(t,i){return a=>a>0?i:t}const Be=(t,i,a)=>t+(i-t)*a,Jf=(t,i,a)=>{const r=t*t,o=a*(i*i-r)+r;return o<0?0:Math.sqrt(o)},DM=[Dd,cs,sa],OM=t=>DM.find(i=>i.test(t));function ux(t){const i=OM(t);if(!i)return!1;let a=i.parse(t);return i===sa&&(a=MM(a)),a}const fx=(t,i)=>{const a=ux(t),r=ux(i);if(!a||!r)return Ho(t,i);const o={...a};return u=>(o.red=Jf(a.red,r.red,u),o.green=Jf(a.green,r.green,u),o.blue=Jf(a.blue,r.blue,u),o.alpha=Be(a.alpha,r.alpha,u),cs.transform(o))},Od=new Set(["none","hidden"]);function _M(t,i){return Od.has(t)?a=>a<=0?t:i:a=>a>=1?i:t}function zM(t,i){return a=>Be(t,i,a)}function Lh(t){return typeof t=="number"?zM:typeof t=="string"?_h(t)?Ho:nt.test(t)?fx:VM:Array.isArray(t)?sw:typeof t=="object"?nt.test(t)?fx:kM:Ho}function sw(t,i){const a=[...t],r=a.length,o=t.map((u,h)=>Lh(u)(u,i[h]));return u=>{for(let h=0;h<r;h++)a[h]=o[h](u);return a}}function kM(t,i){const a={...t,...i},r={};for(const o in a)t[o]!==void 0&&i[o]!==void 0&&(r[o]=Lh(t[o])(t[o],i[o]));return o=>{for(const u in r)a[u]=r[u](o);return a}}function LM(t,i){const a=[],r={color:0,var:0,number:0};for(let o=0;o<i.values.length;o++){const u=i.types[o],h=t.indexes[u][r[u]],m=t.values[h]??0;a[o]=m,r[u]++}return a}const VM=(t,i)=>{const a=yn.createTransformer(i),r=ua(t),o=ua(i);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Od.has(t)&&!o.values.length||Od.has(i)&&!r.values.length?_M(t,i):kr(sw(LM(r,o),o.values),a):Ho(t,i)};function aw(t,i,a){return typeof t=="number"&&typeof i=="number"&&typeof a=="number"?Be(t,i,a):Lh(t)(t,i)}const UM=t=>{const i=({timestamp:a})=>t(a);return{start:(a=!0)=>Pe.update(i,a),stop:()=>Vi(i),now:()=>pt.isProcessing?pt.timestamp:St.now()}},rw=(t,i,a=10)=>{let r="";const o=Math.max(Math.round(i/a),2);for(let u=0;u<o;u++)r+=Math.round(t(u/(o-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},qo=2e4;function Vh(t){let i=0;const a=50;let r=t.next(i);for(;!r.done&&i<qo;)i+=a,r=t.next(i);return i>=qo?1/0:i}function BM(t,i=100,a){const r=a({...t,keyframes:[0,i]}),o=Math.min(Vh(r),qo);return{type:"keyframes",ease:u=>r.next(o*u).value/i,duration:ln(o)}}const Xe={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};function _d(t,i){return t*Math.sqrt(1-i*i)}const PM=12;function HM(t,i,a){let r=a;for(let o=1;o<PM;o++)r=r-t(r)/i(r);return r}const ed=.001;function qM({duration:t=Xe.duration,bounce:i=Xe.bounce,velocity:a=Xe.velocity,mass:r=Xe.mass}){let o,u,h=1-i;h=On(Xe.minDamping,Xe.maxDamping,h),t=On(Xe.minDuration,Xe.maxDuration,ln(t)),h<1?(o=p=>{const y=p*h,v=y*t,b=y-a,j=_d(p,h),S=Math.exp(-v);return ed-b/j*S},u=p=>{const v=p*h*t,b=v*a+a,j=Math.pow(h,2)*Math.pow(p,2)*t,S=Math.exp(-v),E=_d(Math.pow(p,2),h);return(-o(p)+ed>0?-1:1)*((b-j)*S)/E}):(o=p=>{const y=Math.exp(-p*t),v=(p-a)*t+1;return-ed+y*v},u=p=>{const y=Math.exp(-p*t),v=(a-p)*(t*t);return y*v});const m=5/t,g=HM(o,u,m);if(t=Qt(t),isNaN(g))return{stiffness:Xe.stiffness,damping:Xe.damping,duration:t};{const p=Math.pow(g,2)*r;return{stiffness:p,damping:h*2*Math.sqrt(r*p),duration:t}}}const GM=["duration","bounce"],YM=["stiffness","damping","mass"];function dx(t,i){return i.some(a=>t[a]!==void 0)}function FM(t){let i={velocity:Xe.velocity,stiffness:Xe.stiffness,damping:Xe.damping,mass:Xe.mass,isResolvedFromDuration:!1,...t};if(!dx(t,YM)&&dx(t,GM))if(i.velocity=0,t.visualDuration){const a=t.visualDuration,r=2*Math.PI/(a*1.2),o=r*r,u=2*On(.05,1,1-(t.bounce||0))*Math.sqrt(o);i={...i,mass:Xe.mass,stiffness:o,damping:u}}else{const a=qM({...t,velocity:0});i={...i,...a,mass:Xe.mass},i.isResolvedFromDuration=!0}return i}function Go(t=Xe.visualDuration,i=Xe.bounce){const a=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:i}:t;let{restSpeed:r,restDelta:o}=a;const u=a.keyframes[0],h=a.keyframes[a.keyframes.length-1],m={done:!1,value:u},{stiffness:g,damping:p,mass:y,duration:v,velocity:b,isResolvedFromDuration:j}=FM({...a,velocity:-ln(a.velocity||0)}),S=b||0,E=p/(2*Math.sqrt(g*y)),A=h-u,N=ln(Math.sqrt(g/y)),_=Math.abs(A)<5;r||(r=_?Xe.restSpeed.granular:Xe.restSpeed.default),o||(o=_?Xe.restDelta.granular:Xe.restDelta.default);let M,z,G,q,P,L;if(E<1)G=_d(N,E),q=(S+E*N*A)/G,M=$=>{const oe=Math.exp(-E*N*$);return h-oe*(q*Math.sin(G*$)+A*Math.cos(G*$))},P=E*N*q+A*G,L=E*N*A-q*G,z=$=>Math.exp(-E*N*$)*(P*Math.sin(G*$)+L*Math.cos(G*$));else if(E===1){M=oe=>h-Math.exp(-N*oe)*(A+(S+N*A)*oe);const $=S+N*A;z=oe=>Math.exp(-N*oe)*(N*$*oe-S)}else{const $=N*Math.sqrt(E*E-1);M=ue=>{const pe=Math.exp(-E*N*ue),D=Math.min($*ue,300);return h-pe*((S+E*N*A)*Math.sinh(D)+$*A*Math.cosh(D))/$};const oe=(S+E*N*A)/$,ee=E*N*oe-A*$,de=E*N*A-oe*$;z=ue=>{const pe=Math.exp(-E*N*ue),D=Math.min($*ue,300);return pe*(ee*Math.sinh(D)+de*Math.cosh(D))}}const W={calculatedDuration:j&&v||null,velocity:$=>Qt(z($)),next:$=>{if(!j&&E<1){const ee=Math.exp(-E*N*$),de=Math.sin(G*$),ue=Math.cos(G*$),pe=h-ee*(q*de+A*ue),D=Qt(ee*(P*de+L*ue));return m.done=Math.abs(D)<=r&&Math.abs(h-pe)<=o,m.value=m.done?h:pe,m}const oe=M($);if(j)m.done=$>=v;else{const ee=Qt(z($));m.done=Math.abs(ee)<=r&&Math.abs(h-oe)<=o}return m.value=m.done?h:oe,m},toString:()=>{const $=Math.min(Vh(W),qo),oe=rw(ee=>W.next($*ee).value,$,30);return $+"ms "+oe},toTransition:()=>{}};return W}Go.applyToOptions=t=>{const i=BM(t,100,Go);return t.ease=i.ease,t.duration=Qt(i.duration),t.type="keyframes",t};const XM=5;function lw(t,i,a){const r=Math.max(i-XM,0);return P1(a-t(r),i-r)}function zd({keyframes:t,velocity:i=0,power:a=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:u=500,modifyTarget:h,min:m,max:g,restDelta:p=.5,restSpeed:y}){const v=t[0],b={done:!1,value:v},j=L=>m!==void 0&&L<m||g!==void 0&&L>g,S=L=>m===void 0?g:g===void 0||Math.abs(m-L)<Math.abs(g-L)?m:g;let E=a*i;const A=v+E,N=h===void 0?A:h(A);N!==A&&(E=N-v);const _=L=>-E*Math.exp(-L/r),M=L=>N+_(L),z=L=>{const W=_(L),$=M(L);b.done=Math.abs(W)<=p,b.value=b.done?N:$};let G,q;const P=L=>{j(b.value)&&(G=L,q=Go({keyframes:[b.value,S(b.value)],velocity:lw(M,L,b.value),damping:o,stiffness:u,restDelta:p,restSpeed:y}))};return P(0),{calculatedDuration:null,next:L=>{let W=!1;return!q&&G===void 0&&(W=!0,z(L),P(L)),G!==void 0&&L>=G?q.next(L-G):(!W&&z(L),b)}}}function QM(t,i,a){const r=[],o=a||Li.mix||aw,u=t.length-1;for(let h=0;h<u;h++){let m=o(t[h],t[h+1]);if(i){const g=Array.isArray(i)?i[h]||on:i;m=kr(g,m)}r.push(m)}return r}function KM(t,i,{clamp:a=!0,ease:r,mixer:o}={}){const u=t.length;if(dc(u===i.length),u===1)return()=>i[0];if(u===2&&i[0]===i[1])return()=>i[1];const h=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),i=[...i].reverse());const m=QM(i,r,o),g=m.length,p=y=>{if(h&&y<t[0])return i[0];let v=0;if(g>1)for(;v<t.length-2&&!(y<t[v+1]);v++);const b=Rr(t[v],t[v+1],y);return m[v](b)};return a?y=>p(On(t[0],t[u-1],y)):p}function ZM(t,i){const a=t[t.length-1];for(let r=1;r<=i;r++){const o=Rr(0,i,r);t.push(Be(a,1,o))}}function IM(t){const i=[0];return ZM(i,t.length-1),i}function $M(t,i){return t.map(a=>a*i)}function WM(t,i){return t.map(()=>i||Z1).splice(0,t.length-1)}function Sr({duration:t=300,keyframes:i,times:a,ease:r="easeInOut"}){const o=rM(r)?r.map(rx):rx(r),u={done:!1,value:i[0]},h=$M(a&&a.length===i.length?a:IM(i),t),m=KM(h,i,{ease:Array.isArray(o)?o:WM(i,o)});return{calculatedDuration:t,next:g=>(u.value=m(g),u.done=g>=t,u)}}const JM=t=>t!==null;function hc(t,{repeat:i,repeatType:a="loop"},r,o=1){const u=t.filter(JM),m=o<0||i&&a!=="loop"&&i%2===1?0:u.length-1;return!m||r===void 0?u[m]:r}const e5={decay:zd,inertia:zd,tween:Sr,keyframes:Sr,spring:Go};function ow(t){typeof t.type=="string"&&(t.type=e5[t.type])}class Uh{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,a){return this.finished.then(i,a)}}const t5=t=>t/100;class Yo extends Uh{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:a}=this.options;a&&a.updatedAt!==St.now()&&this.tick(St.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=i,this.initAnimation(),this.play(),i.autoplay===!1&&this.pause()}initAnimation(){const{options:i}=this;ow(i);const{type:a=Sr,repeat:r=0,repeatDelay:o=0,repeatType:u,velocity:h=0}=i;let{keyframes:m}=i;const g=a||Sr;g!==Sr&&typeof m[0]!="number"&&(this.mixKeyframes=kr(t5,aw(m[0],m[1])),m=[0,100]);const p=g({...i,keyframes:m});u==="mirror"&&(this.mirroredGenerator=g({...i,keyframes:[...m].reverse(),velocity:-h})),p.calculatedDuration===null&&(p.calculatedDuration=Vh(p));const{calculatedDuration:y}=p;this.calculatedDuration=y,this.resolvedDuration=y+o,this.totalDuration=this.resolvedDuration*(r+1)-o,this.generator=p}updateTime(i){const a=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(i,a=!1){const{generator:r,totalDuration:o,mixKeyframes:u,mirroredGenerator:h,resolvedDuration:m,calculatedDuration:g}=this;if(this.startTime===null)return r.next(0);const{delay:p=0,keyframes:y,repeat:v,repeatType:b,repeatDelay:j,type:S,onUpdate:E,finalKeyframe:A}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,i):this.speed<0&&(this.startTime=Math.min(i-o/this.speed,this.startTime)),a?this.currentTime=i:this.updateTime(i);const N=this.currentTime-p*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?N<0:N>o;this.currentTime=Math.max(N,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let M=this.currentTime,z=r;if(v){const L=Math.min(this.currentTime,o)/m;let W=Math.floor(L),$=L%1;!$&&L>=1&&($=1),$===1&&W--,W=Math.min(W,v+1),W%2&&(b==="reverse"?($=1-$,j&&($-=j/m)):b==="mirror"&&(z=h)),M=On(0,1,$)*m}let G;_?(this.delayState.value=y[0],G=this.delayState):G=z.next(M),u&&!_&&(G.value=u(G.value));let{done:q}=G;!_&&g!==null&&(q=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&q);return P&&S!==zd&&(G.value=hc(y,this.options,A,this.speed)),E&&E(G.value),P&&this.finish(),G}then(i,a){return this.finished.then(i,a)}get duration(){return ln(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+ln(i)}get time(){return ln(this.currentTime)}set time(i){i=Qt(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=i,this.tick(i))}getGeneratorVelocity(){const i=this.currentTime;if(i<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(i);const a=this.generator.next(i).value;return lw(r=>this.generator.next(r).value,i,a)}get speed(){return this.playbackSpeed}set speed(i){const a=this.playbackSpeed!==i;a&&this.driver&&this.updateTime(St.now()),this.playbackSpeed=i,a&&this.driver&&(this.time=ln(this.currentTime))}play(){if(this.isStopped)return;const{driver:i=UM,startTime:a}=this.options;this.driver||(this.driver=i(o=>this.tick(o))),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=a??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(St.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(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),i.observe(this)}}function n5(t){for(let i=1;i<t.length;i++)t[i]??(t[i]=t[i-1])}const us=t=>t*180/Math.PI,kd=t=>{const i=us(Math.atan2(t[1],t[0]));return Ld(i)},i5={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:kd,rotateZ:kd,skewX:t=>us(Math.atan(t[1])),skewY:t=>us(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Ld=t=>(t=t%360,t<0&&(t+=360),t),hx=kd,mx=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),px=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),s5={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:mx,scaleY:px,scale:t=>(mx(t)+px(t))/2,rotateX:t=>Ld(us(Math.atan2(t[6],t[5]))),rotateY:t=>Ld(us(Math.atan2(-t[2],t[0]))),rotateZ:hx,rotate:hx,skewX:t=>us(Math.atan(t[4])),skewY:t=>us(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Vd(t){return t.includes("scale")?1:0}function Ud(t,i){if(!t||t==="none")return Vd(i);const a=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(a)r=s5,o=a;else{const m=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=i5,o=m}if(!o)return Vd(i);const u=r[i],h=o[1].split(",").map(r5);return typeof u=="function"?u(h):h[u]}const a5=(t,i)=>{const{transform:a="none"}=getComputedStyle(t);return Ud(a,i)};function r5(t){return parseFloat(t.trim())}const xa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],va=new Set([...xa,"pathRotation"]),gx=t=>t===ya||t===le,l5=new Set(["x","y","z"]),o5=xa.filter(t=>!l5.has(t));function c5(t){const i=[];return o5.forEach(a=>{const r=t.getValue(a);r!==void 0&&(i.push([a,r.get()]),r.set(a.startsWith("scale")?1:0))}),i}const _i={width:({x:t},{paddingLeft:i="0",paddingRight:a="0",boxSizing:r})=>{const o=t.max-t.min;return r==="border-box"?o:o-parseFloat(i)-parseFloat(a)},height:({y:t},{paddingTop:i="0",paddingBottom:a="0",boxSizing:r})=>{const o=t.max-t.min;return r==="border-box"?o:o-parseFloat(i)-parseFloat(a)},top:(t,{top:i})=>parseFloat(i),left:(t,{left:i})=>parseFloat(i),bottom:({y:t},{top:i})=>parseFloat(i)+(t.max-t.min),right:({x:t},{left:i})=>parseFloat(i)+(t.max-t.min),x:(t,{transform:i})=>Ud(i,"x"),y:(t,{transform:i})=>Ud(i,"y")};_i.translateX=_i.x;_i.translateY=_i.y;const fs=new Set;let Bd=!1,Pd=!1,Hd=!1;function cw(){if(Pd){const t=Array.from(fs).filter(r=>r.needsMeasurement),i=new Set(t.map(r=>r.element)),a=new Map;i.forEach(r=>{const o=c5(r);o.length&&(a.set(r,o),r.render())}),t.forEach(r=>r.measureInitialState()),i.forEach(r=>{r.render();const o=a.get(r);o&&o.forEach(([u,h])=>{r.getValue(u)?.set(h)})}),t.forEach(r=>r.measureEndState()),t.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Pd=!1,Bd=!1,fs.forEach(t=>t.complete(Hd)),fs.clear()}function uw(){fs.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Pd=!0)})}function u5(){Hd=!0,uw(),cw(),Hd=!1}class Bh{constructor(i,a,r,o,u,h=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=a,this.name=r,this.motionValue=o,this.element=u,this.isAsync=h}scheduleResolve(){this.state="scheduled",this.isAsync?(fs.add(this),Bd||(Bd=!0,Pe.read(uw),Pe.resolveKeyframes(cw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:a,element:r,motionValue:o}=this;if(i[0]===null){const u=o?.get(),h=i[i.length-1];if(u!==void 0)i[0]=u;else if(r&&a){const m=r.readValue(a,h);m!=null&&(i[0]=m)}i[0]===void 0&&(i[0]=h),o&&u===void 0&&o.set(i[0])}n5(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),fs.delete(this)}cancel(){this.state==="scheduled"&&(fs.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const f5=t=>t.startsWith("--");function fw(t,i,a){f5(i)?t.style.setProperty(i,a):t.style[i]=a}const d5={};function dw(t,i){const a=B1(t);return()=>d5[i]??a()}const h5=dw(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),hw=dw(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),xr=([t,i,a,r])=>`cubic-bezier(${t}, ${i}, ${a}, ${r})`,yx={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:xr([0,.65,.55,1]),circOut:xr([.55,0,1,.45]),backIn:xr([.31,.01,.66,-.59]),backOut:xr([.33,1.53,.69,.99])};function mw(t,i){if(t)return typeof t=="function"?hw()?rw(t,i):"ease-out":I1(t)?xr(t):Array.isArray(t)?t.map(a=>mw(a,i)||yx.easeOut):yx[t]}function m5(t,i,a,{delay:r=0,duration:o=300,repeat:u=0,repeatType:h="loop",ease:m="easeOut",times:g}={},p=void 0){const y={[i]:a};g&&(y.offset=g);const v=mw(m,o);Array.isArray(v)&&(y.easing=v);const b={delay:r,duration:o,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:u+1,direction:h==="reverse"?"alternate":"normal"};return p&&(b.pseudoElement=p),t.animate(y,b)}function pw(t){return typeof t=="function"&&"applyToOptions"in t}function p5({type:t,...i}){return pw(t)&&hw()?t.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class gw extends Uh{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!i)return;const{element:a,name:r,keyframes:o,pseudoElement:u,allowFlatten:h=!1,finalKeyframe:m,onComplete:g}=i;this.isPseudoElement=!!u,this.allowFlatten=h,this.options=i,dc(typeof i.type!="string");const p=p5(i);this.animation=m5(a,r,o,p,u),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const y=hc(o,this.options,m,this.speed);this.updateMotionValue&&this.updateMotionValue(y),fw(a,r,y),this.animation.cancel()}g?.(),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:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const i=this.options?.element;!this.isPseudoElement&&i?.isConnected&&this.animation.commitStyles?.()}get duration(){const i=this.animation.effect?.getComputedTiming?.().duration||0;return ln(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+ln(i)}get time(){return ln(Number(this.animation.currentTime)||0)}set time(i){const a=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Qt(i),a&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(i){this.manualStartTime=this.animation.startTime=i}attachTimeline({timeline:i,rangeStart:a,rangeEnd:r,observe:o}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,i&&h5()?(this.animation.timeline=i,a&&(this.animation.rangeStart=a),r&&(this.animation.rangeEnd=r),on):o(this)}}const yw={anticipate:X1,backInOut:F1,circInOut:K1};function g5(t){return t in yw}function y5(t){typeof t.ease=="string"&&g5(t.ease)&&(t.ease=yw[t.ease])}const td=10;class x5 extends gw{constructor(i){y5(i),ow(i),super(i),i.startTime!==void 0&&i.autoplay!==!1&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:a,onUpdate:r,onComplete:o,element:u,...h}=this.options;if(!a)return;if(i!==void 0){a.set(i);return}const m=new Yo({...h,autoplay:!1}),g=Math.max(td,St.now()-this.startTime),p=On(0,td,g-td),y=m.sample(g).value,{name:v}=this.options;u&&v&&fw(u,v,y),a.setWithVelocity(m.sample(Math.max(0,g-p)).value,y,p),m.stop()}}const xx=(t,i)=>i==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(yn.test(t)||t==="0")&&!t.startsWith("url("));function v5(t){const i=t[0];if(t.length===1)return!0;for(let a=0;a<t.length;a++)if(t[a]!==i)return!0}function b5(t,i,a,r){const o=t[0];if(o===null)return!1;if(i==="display"||i==="visibility")return!0;const u=t[t.length-1],h=xx(o,i),m=xx(u,i);return!h||!m?!1:v5(t)||(a==="spring"||pw(a))&&r}function qd(t){t.duration=0,t.type="keyframes"}const xw=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),w5=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function S5(t){for(let i=0;i<t.length;i++)if(typeof t[i]=="string"&&w5.test(t[i]))return!0;return!1}const T5=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),j5=B1(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function E5(t){const{motionValue:i,name:a,repeatDelay:r,repeatType:o,damping:u,type:h,keyframes:m}=t,g=i?.owner?.current;if(!(g instanceof HTMLElement)&&!(g instanceof SVGElement))return!1;const{onUpdate:p,transformTemplate:y}=i.owner.getProps();return j5()&&a&&(xw.has(a)||T5.has(a)&&S5(m))&&(a!=="transform"||!y)&&!p&&!r&&o!=="mirror"&&u!==0&&h!=="inertia"}const A5=40;class N5 extends Uh{constructor({autoplay:i=!0,delay:a=0,type:r="keyframes",repeat:o=0,repeatDelay:u=0,repeatType:h="loop",keyframes:m,name:g,motionValue:p,element:y,...v}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=St.now();const b={autoplay:i,delay:a,type:r,repeat:o,repeatDelay:u,repeatType:h,name:g,motionValue:p,element:y,...v},j=y?.KeyframeResolver||Bh;this.keyframeResolver=new j(m,(S,E,A)=>this.onKeyframesResolved(S,E,b,!A),g,p,y),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(i,a,r,o){this.keyframeResolver=void 0;const{name:u,type:h,velocity:m,delay:g,isHandoff:p,onUpdate:y}=r;this.resolvedAt=St.now();let v=!0;b5(i,u,h,m)||(v=!1,(Li.instantAnimations||!g)&&y?.(hc(i,r,a)),i[0]=i[i.length-1],qd(r),r.repeat=0);const j={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>A5?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...r,keyframes:i},S=v&&!p&&E5(j),E=j.motionValue?.owner?.current;let A;if(S)try{A=new x5({...j,element:E})}catch{A=new Yo(j)}else A=new Yo(j);A.finished.then(()=>{this.notifyFinished()}).catch(on),this.pendingTimeline&&(this.stopTimeline=A.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=A}get finished(){return this._animation?this.animation.finished:this._finished}then(i,a){return this.finished.finally(i).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),u5()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function vw(t,i,a,r=0,o=1){const u=Array.from(t).sort((p,y)=>p.sortNodePosition(y)).indexOf(i),h=t.size,m=(h-1)*r;return typeof a=="function"?a(u,h):o===1?u*r:m-u*r}const vx=30,C5=t=>!isNaN(parseFloat(t));class R5{constructor(i,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const o=St.now();if(this.updatedAt!==o&&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(i),this.owner=a.owner}setCurrent(i){this.current=i,this.updatedAt=St.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=C5(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return this.on("change",i)}on(i,a){this.events[i]||(this.events[i]=new Mh);const r=this.events[i].add(a);return i==="change"?()=>{r(),Pe.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,a){this.passiveEffect=i,this.stopPassiveEffect=a}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,a,r){this.set(a),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-r}jump(i,a=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const i=St.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>vx)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,vx);return P1(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(i){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=i(a),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 fa(t,i){return new R5(t,i)}function bw(t,i){if(t?.inherit&&i){const{inherit:a,...r}=t;return{...i,...r}}return t}function Ph(t,i){const a=t?.[i]??t?.default??t;return a!==t?bw(a,t):a}const M5={type:"spring",stiffness:500,damping:25,restSpeed:10},D5=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),O5={type:"keyframes",duration:.8},_5={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},z5=(t,{keyframes:i})=>i.length>2?O5:va.has(t)?t.startsWith("scale")?D5(i[1]):M5:_5,k5=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function L5(t){for(const i in t)if(!k5.has(i))return!0;return!1}const Hh=(t,i,a,r={},o,u)=>h=>{const m=Ph(r,t)||{},g=m.delay||r.delay||0;let{elapsed:p=0}=r;p=p-Qt(g);const y={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:i.getVelocity(),...m,delay:-p,onUpdate:b=>{i.set(b),m.onUpdate&&m.onUpdate(b)},onComplete:()=>{h(),m.onComplete&&m.onComplete()},name:t,motionValue:i,element:u?void 0:o};L5(m)||Object.assign(y,z5(t,y)),y.duration&&(y.duration=Qt(y.duration)),y.repeatDelay&&(y.repeatDelay=Qt(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let v=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(qd(y),y.delay===0&&(v=!0)),(Li.instantAnimations||Li.skipAnimations||o?.shouldSkipAnimations||m.skipAnimations)&&(v=!0,qd(y),y.delay=0),y.allowFlatten=!m.type&&!m.ease,v&&!u&&i.get()!==void 0){const b=hc(y.keyframes,m);if(b!==void 0){Pe.update(()=>{y.onUpdate(b),y.onComplete()});return}}return m.isSync?new Yo(y):new N5(y)},V5=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function U5(t){const i=V5.exec(t);if(!i)return[,];const[,a,r,o]=i;return[`--${a??r}`,o]}function ww(t,i,a=1){const[r,o]=U5(t);if(!r)return;const u=window.getComputedStyle(i).getPropertyValue(r);if(u){const h=u.trim();return L1(h)?parseFloat(h):h}return _h(o)?ww(o,i,a+1):o}function bx(t){const i=[{},{}];return t?.values.forEach((a,r)=>{i[0][r]=a.get(),i[1][r]=a.getVelocity()}),i}function qh(t,i,a,r){if(typeof i=="function"){const[o,u]=bx(r);i=i(a!==void 0?a:t.custom,o,u)}if(typeof i=="string"&&(i=t.variants&&t.variants[i]),typeof i=="function"){const[o,u]=bx(r);i=i(a!==void 0?a:t.custom,o,u)}return i}function ds(t,i,a){const r=t.getProps();return qh(r,i,a!==void 0?a:r.custom,t)}const Sw=new Set(["width","height","top","left","right","bottom",...xa]),Gd=t=>Array.isArray(t);function B5(t,i,a){t.hasValue(i)?t.getValue(i).set(a):t.addValue(i,fa(a))}function P5(t){return Gd(t)?t[t.length-1]||0:t}function H5(t,i){const a=ds(t,i);let{transitionEnd:r={},transition:o={},...u}=a||{};u={...u,...r};for(const h in u){const m=P5(u[h]);B5(t,h,m)}}const gt=t=>!!(t&&t.getVelocity);function q5(t){return!!(gt(t)&&t.add)}function Yd(t,i){const a=t.getValue("willChange");if(q5(a))return a.add(i);if(!a&&Li.WillChange){const r=new Li.WillChange("auto");t.addValue("willChange",r),r.add(i)}}function Gh(t){return t.replace(/([A-Z])/g,i=>`-${i.toLowerCase()}`)}const G5="framerAppearId",Tw="data-"+Gh(G5);function jw(t){return t.props[Tw]}function Y5({protectedKeys:t,needsAnimating:i},a){const r=t.hasOwnProperty(a)&&i[a]!==!0;return i[a]=!1,r}function Ew(t,i,{delay:a=0,transitionOverride:r,type:o}={}){let{transition:u,transitionEnd:h,...m}=i;const g=t.getDefaultTransition();u=u?bw(u,g):g;const p=u?.reduceMotion,y=u?.skipAnimations;r&&(u=r);const v=[],b=o&&t.animationState&&t.animationState.getState()[o],j=u?.path;j&&j.animateVisualElement(t,m,u,a,v);for(const S in m){const E=t.getValue(S,t.latestValues[S]??null),A=m[S];if(A===void 0||b&&Y5(b,S))continue;const N={delay:a,...Ph(u||{},S)};y&&(N.skipAnimations=!0);const _=E.get();if(_!==void 0&&!E.isAnimating()&&!Array.isArray(A)&&A===_&&!N.velocity){Pe.update(()=>E.set(A));continue}let M=!1;if(window.MotionHandoffAnimation){const q=jw(t);if(q){const P=window.MotionHandoffAnimation(q,S,Pe);P!==null&&(N.startTime=P,M=!0)}}Yd(t,S);const z=p??t.shouldReduceMotion;E.start(Hh(S,E,A,z&&Sw.has(S)?{type:!1}:N,t,M));const G=E.animation;G&&v.push(G)}if(h){const S=()=>Pe.update(()=>{h&&H5(t,h)});v.length?Promise.all(v).then(S):S()}return v}function Fd(t,i,a={}){const r=ds(t,i,a.type==="exit"?t.presenceContext?.custom:void 0);let{transition:o=t.getDefaultTransition()||{}}=r||{};a.transitionOverride&&(o=a.transitionOverride);const u=r?()=>Promise.all(Ew(t,r,a)):()=>Promise.resolve(),h=t.variantChildren&&t.variantChildren.size?(g=0)=>{const{delayChildren:p=0,staggerChildren:y,staggerDirection:v}=o;return F5(t,i,g,p,y,v,a)}:()=>Promise.resolve(),{when:m}=o;if(m){const[g,p]=m==="beforeChildren"?[u,h]:[h,u];return g().then(()=>p())}else return Promise.all([u(),h(a.delay)])}function F5(t,i,a=0,r=0,o=0,u=1,h){const m=[];for(const g of t.variantChildren)g.notify("AnimationStart",i),m.push(Fd(g,i,{...h,delay:a+(typeof r=="function"?0:r)+vw(t.variantChildren,g,r,o,u)}).then(()=>g.notify("AnimationComplete",i)));return Promise.all(m)}function X5(t,i,a={}){t.notify("AnimationStart",i);let r;if(Array.isArray(i)){const o=i.map(u=>Fd(t,u,a));r=Promise.all(o)}else if(typeof i=="string")r=Fd(t,i,a);else{const o=typeof i=="function"?ds(t,i,a.custom):i;r=Promise.all(Ew(t,o,a))}return r.then(()=>{t.notify("AnimationComplete",i)})}const Q5={test:t=>t==="auto",parse:t=>t},Aw=t=>i=>i.test(t),Nw=[ya,le,Rn,Wn,vM,xM,Q5],wx=t=>Nw.find(Aw(t));function K5(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||U1(t):!0}const Z5=new Set(["brightness","contrast","saturate","opacity"]);function I5(t){const[i,a]=t.slice(0,-1).split("(");if(i==="drop-shadow")return t;const[r]=a.match(zh)||[];if(!r)return t;const o=a.replace(r,"");let u=Z5.has(i)?1:0;return r!==a&&(u*=100),i+"("+u+o+")"}const $5=/\b([a-z-]*)\(.*?\)/gu,Xd={...yn,getAnimatableNone:t=>{const i=t.match($5);return i?i.map(I5).join(" "):t}},Qd={...yn,getAnimatableNone:t=>{const i=yn.parse(t);return yn.createTransformer(t)(i.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Sx={...ya,transform:Math.round},W5={rotate:Wn,pathRotation:Wn,rotateX:Wn,rotateY:Wn,rotateZ:Wn,scale:oo,scaleX:oo,scaleY:oo,scaleZ:oo,skew:Wn,skewX:Wn,skewY:Wn,distance:le,translateX:le,translateY:le,translateZ:le,x:le,y:le,z:le,perspective:le,transformPerspective:le,opacity:Mr,originX:ox,originY:ox,originZ:le},Fo={borderWidth:le,borderTopWidth:le,borderRightWidth:le,borderBottomWidth:le,borderLeftWidth:le,borderRadius:le,borderTopLeftRadius:le,borderTopRightRadius:le,borderBottomRightRadius:le,borderBottomLeftRadius:le,width:le,maxWidth:le,height:le,maxHeight:le,top:le,right:le,bottom:le,left:le,inset:le,insetBlock:le,insetBlockStart:le,insetBlockEnd:le,insetInline:le,insetInlineStart:le,insetInlineEnd:le,padding:le,paddingTop:le,paddingRight:le,paddingBottom:le,paddingLeft:le,paddingBlock:le,paddingBlockStart:le,paddingBlockEnd:le,paddingInline:le,paddingInlineStart:le,paddingInlineEnd:le,margin:le,marginTop:le,marginRight:le,marginBottom:le,marginLeft:le,marginBlock:le,marginBlockStart:le,marginBlockEnd:le,marginInline:le,marginInlineStart:le,marginInlineEnd:le,fontSize:le,backgroundPositionX:le,backgroundPositionY:le,...W5,zIndex:Sx,fillOpacity:Mr,strokeOpacity:Mr,numOctaves:Sx},J5={...Fo,color:nt,backgroundColor:nt,outlineColor:nt,fill:nt,stroke:nt,borderColor:nt,borderTopColor:nt,borderRightColor:nt,borderBottomColor:nt,borderLeftColor:nt,filter:Xd,WebkitFilter:Xd,mask:Qd,WebkitMask:Qd},Cw=t=>J5[t],e3=new Set([Xd,Qd]);function Rw(t,i){let a=Cw(t);return e3.has(a)||(a=yn),a.getAnimatableNone?a.getAnimatableNone(i):void 0}const t3=new Set(["auto","none","0"]);function n3(t,i,a){let r=0,o;for(;r<t.length&&!o;){const u=t[r];typeof u=="string"&&!t3.has(u)&&ua(u).values.length&&(o=t[r]),r++}if(o&&a)for(const u of i)t[u]=Rw(a,o)}class i3 extends Bh{constructor(i,a,r,o,u){super(i,a,r,o,u,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:a,name:r}=this;if(!a||!a.current)return;super.readKeyframes();for(let y=0;y<i.length;y++){let v=i[y];if(typeof v=="string"&&(v=v.trim(),_h(v))){const b=ww(v,a.current);b!==void 0&&(i[y]=b),y===i.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!Sw.has(r)||i.length!==2)return;const[o,u]=i,h=wx(o),m=wx(u),g=lx(o),p=lx(u);if(g!==p&&_i[r]){this.needsMeasurement=!0;return}if(h!==m)if(gx(h)&&gx(m))for(let y=0;y<i.length;y++){const v=i[y];typeof v=="string"&&(i[y]=parseFloat(v))}else _i[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:a}=this,r=[];for(let o=0;o<i.length;o++)(i[o]===null||K5(i[o]))&&r.push(o);r.length&&n3(i,r,a)}measureInitialState(){const{element:i,unresolvedKeyframes:a,name:r}=this;if(!i||!i.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=_i[r](i.measureViewportBox(),window.getComputedStyle(i.current)),a[0]=this.measuredOrigin;const o=a[a.length-1];o!==void 0&&i.getValue(r,o).jump(o,!1)}measureEndState(){const{element:i,name:a,unresolvedKeyframes:r}=this;if(!i||!i.current)return;const o=i.getValue(a);o&&o.jump(this.measuredOrigin,!1);const u=r.length-1,h=r[u];r[u]=_i[a](i.measureViewportBox(),window.getComputedStyle(i.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),this.removedTransforms?.length&&this.removedTransforms.forEach(([m,g])=>{i.getValue(m).set(g)}),this.resolveNoneKeyframes()}}const Yh=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function Mw(t,i,a){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let r=document;const o=a?.[t]??r.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t).filter(r=>r!=null)}const Kd=(t,i)=>i&&typeof t=="number"?i.transform(t):t;function So(t){return V1(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}const{schedule:Fh}=$1(queueMicrotask,!1),pn={x:!1,y:!1};function Dw(){return pn.x||pn.y}function s3(t){return t==="x"||t==="y"?pn[t]?null:(pn[t]=!0,()=>{pn[t]=!1}):pn.x||pn.y?null:(pn.x=pn.y=!0,()=>{pn.x=pn.y=!1})}function Ow(t,i){const a=Mw(t),r=new AbortController,o={passive:!0,...i,signal:r.signal};return[a,o,()=>r.abort()]}function a3(t){return!(t.pointerType==="touch"||Dw())}function r3(t,i,a={}){const[r,o,u]=Ow(t,a);return r.forEach(h=>{let m=!1,g=!1,p;const y=()=>{h.removeEventListener("pointerleave",S)},v=A=>{p&&(p(A),p=void 0),y()},b=A=>{m=!1,window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",b),g&&(g=!1,v(A))},j=()=>{m=!0,window.addEventListener("pointerup",b,o),window.addEventListener("pointercancel",b,o)},S=A=>{if(A.pointerType!=="touch"){if(m){g=!0;return}v(A)}},E=A=>{if(!a3(A))return;g=!1;const N=i(h,A);typeof N=="function"&&(p=N,h.addEventListener("pointerleave",S,o))};h.addEventListener("pointerenter",E,o),h.addEventListener("pointerdown",j,o)}),u}const _w=(t,i)=>i?t===i?!0:_w(t,i.parentElement):!1,Xh=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,l3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function o3(t){return l3.has(t.tagName)||t.isContentEditable===!0}const c3=new Set(["INPUT","SELECT","TEXTAREA"]);function u3(t){return c3.has(t.tagName)||t.isContentEditable===!0}const To=new WeakSet;function Tx(t){return i=>{i.key==="Enter"&&t(i)}}function nd(t,i){t.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const f3=(t,i)=>{const a=t.currentTarget;if(!a)return;const r=Tx(()=>{if(To.has(a))return;nd(a,"down");const o=Tx(()=>{nd(a,"up")}),u=()=>nd(a,"cancel");a.addEventListener("keyup",o,i),a.addEventListener("blur",u,i)});a.addEventListener("keydown",r,i),a.addEventListener("blur",()=>a.removeEventListener("keydown",r),i)};function jx(t){return Xh(t)&&!Dw()}const Ex=new WeakSet;function d3(t,i,a={}){const[r,o,u]=Ow(t,a),h=m=>{const g=m.currentTarget;if(!jx(m)||Ex.has(m))return;To.add(g),a.stopPropagation&&Ex.add(m);const p=i(g,m),y={...o,capture:!0},v=(S,E)=>{window.removeEventListener("pointerup",b,y),window.removeEventListener("pointercancel",j,y),To.has(g)&&To.delete(g),jx(S)&&typeof p=="function"&&p(S,{success:E})},b=S=>{v(S,g===window||g===document||a.useGlobalTarget||_w(g,S.target))},j=S=>{v(S,!1)};window.addEventListener("pointerup",b,y),window.addEventListener("pointercancel",j,y)};return r.forEach(m=>{(a.useGlobalTarget?window:m).addEventListener("pointerdown",h,o),So(m)&&(m.addEventListener("focus",p=>f3(p,o)),!o3(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),u}function Qh(t){return V1(t)&&"ownerSVGElement"in t}const jo=new WeakMap;let Eo;const zw=(t,i,a)=>(r,o)=>o&&o[0]?o[0][t+"Size"]:Qh(r)&&"getBBox"in r?r.getBBox()[i]:r[a],h3=zw("inline","width","offsetWidth"),m3=zw("block","height","offsetHeight");function p3({target:t,borderBoxSize:i}){jo.get(t)?.forEach(a=>{a(t,{get width(){return h3(t,i)},get height(){return m3(t,i)}})})}function g3(t){t.forEach(p3)}function y3(){typeof ResizeObserver>"u"||(Eo=new ResizeObserver(g3))}function x3(t,i){Eo||y3();const a=Mw(t);return a.forEach(r=>{let o=jo.get(r);o||(o=new Set,jo.set(r,o)),o.add(i),Eo?.observe(r)}),()=>{a.forEach(r=>{const o=jo.get(r);o?.delete(i),o?.size||Eo?.unobserve(r)})}}const Ao=new Set;let aa;function v3(){aa=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ao.forEach(i=>i(t))},window.addEventListener("resize",aa)}function b3(t){return Ao.add(t),aa||v3(),()=>{Ao.delete(t),!Ao.size&&typeof aa=="function"&&(window.removeEventListener("resize",aa),aa=void 0)}}function Ax(t,i){return typeof t=="function"?b3(t):x3(t,i)}function w3(t){return Qh(t)&&t.tagName==="svg"}const S3=[...Nw,nt,yn],T3=t=>S3.find(Aw(t)),Nx=()=>({translate:0,scale:1,origin:0,originPoint:0}),ra=()=>({x:Nx(),y:Nx()}),Cx=()=>({min:0,max:0}),at=()=>({x:Cx(),y:Cx()}),j3=new WeakMap;function mc(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Dr(t){return typeof t=="string"||Array.isArray(t)}const Kh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Zh=["initial",...Kh];function pc(t){return mc(t.animate)||Zh.some(i=>Dr(t[i]))}function kw(t){return!!(pc(t)||t.variants)}function E3(t,i,a){for(const r in i){const o=i[r],u=a[r];if(gt(o))t.addValue(r,o);else if(gt(u))t.addValue(r,fa(o,{owner:t}));else if(u!==o)if(t.hasValue(r)){const h=t.getValue(r);h.liveStyle===!0?h.jump(o):h.hasAnimated||h.set(o)}else{const h=t.getStaticValue(r);t.addValue(r,fa(h!==void 0?h:o,{owner:t}))}}for(const r in a)i[r]===void 0&&t.removeValue(r);return i}const Zd={current:null},Lw={current:!1},A3=typeof window<"u";function N3(){if(Lw.current=!0,!!A3)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),i=()=>Zd.current=t.matches;t.addEventListener("change",i),i()}else Zd.current=!1}const Rx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Xo={};function Vw(t){Xo=t}function C3(){return Xo}class R3{scrapeMotionValuesFromProps(i,a,r){return{}}constructor({parent:i,props:a,presenceContext:r,reducedMotionConfig:o,skipAnimations:u,blockInitialAnimation:h,visualState:m},g={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Bh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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 j=St.now();this.renderScheduledAt<j&&(this.renderScheduledAt=j,Pe.render(this.render,!1,!0))};const{latestValues:p,renderState:y}=m;this.latestValues=p,this.baseTarget={...p},this.initialValues=a.initial?{...p}:{},this.renderState=y,this.parent=i,this.props=a,this.presenceContext=r,this.depth=i?i.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=u,this.options=g,this.blockInitialAnimation=!!h,this.isControllingVariants=pc(a),this.isVariantNode=kw(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:v,...b}=this.scrapeMotionValuesFromProps(a,{},this);for(const j in b){const S=b[j];p[j]!==void 0&>(S)&&S.set(p[j])}}mount(i){if(this.hasBeenMounted)for(const a in this.initialValues)this.values.get(a)?.jump(this.initialValues[a]),this.latestValues[a]=this.initialValues[a];this.current=i,j3.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,r)=>this.bindToMotionValue(r,a)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Lw.current||N3(),this.shouldReduceMotion=Zd.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Vi(this.notifyUpdate),Vi(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const a=this.features[i];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(i){this.children.add(i),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(i)}removeChild(i){this.children.delete(i),this.enteringChildren&&this.enteringChildren.delete(i)}bindToMotionValue(i,a){if(this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)(),a.accelerate&&xw.has(i)&&this.current instanceof HTMLElement){const{factory:h,keyframes:m,times:g,ease:p,duration:y}=a.accelerate,v=new gw({element:this.current,name:i,keyframes:m,times:g,ease:p,duration:Qt(y)}),b=h(v);this.valueSubscriptions.set(i,()=>{b(),v.cancel()});return}const r=va.has(i);r&&this.onBindTransform&&this.onBindTransform();const o=a.on("change",h=>{this.latestValues[i]=h,this.props.onUpdate&&Pe.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;typeof window<"u"&&window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,i,a)),this.valueSubscriptions.set(i,()=>{o(),u&&u()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in Xo){const a=Xo[i];if(!a)continue;const{isEnabled:r,Feature:o}=a;if(!this.features[i]&&o&&r(this.props)&&(this.features[i]=new o(this)),this.features[i]){const u=this.features[i];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):at()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,a){this.latestValues[i]=a}update(i,a){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let r=0;r<Rx.length;r++){const o=Rx[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const u="on"+o,h=i[u];h&&(this.propEventSubscriptions[o]=this.on(o,h))}this.prevMotionValues=E3(this,this.scrapeMotionValuesFromProps(i,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]: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(i){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(i),()=>a.variantChildren.delete(i)}addValue(i,a){const r=this.values.get(i);a!==r&&(r&&this.removeValue(i),this.bindToMotionValue(i,a),this.values.set(i,a),this.latestValues[i]=a.get())}removeValue(i){this.values.delete(i);const a=this.valueSubscriptions.get(i);a&&(a(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,a){if(this.props.values&&this.props.values[i])return this.props.values[i];let r=this.values.get(i);return r===void 0&&a!==void 0&&(r=fa(a===null?void 0:a,{owner:this}),this.addValue(i,r)),r}readValue(i,a){let r=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return r!=null&&(typeof r=="string"&&(L1(r)||U1(r))?r=parseFloat(r):!T3(r)&&yn.test(a)&&(r=Rw(i,a)),this.setBaseTarget(i,gt(r)?r.get():r)),gt(r)?r.get():r}setBaseTarget(i,a){this.baseTarget[i]=a}getBaseTarget(i){const{initial:a}=this.props;let r;if(typeof a=="string"||typeof a=="object"){const u=qh(this.props,a,this.presenceContext?.custom);u&&(r=u[i])}if(a&&r!==void 0)return r;const o=this.getBaseTargetFromProps(this.props,i);return o!==void 0&&!gt(o)?o:this.initialValues[i]!==void 0&&r===void 0?void 0:this.baseTarget[i]}on(i,a){return this.events[i]||(this.events[i]=new Mh),this.events[i].add(a)}notify(i,...a){this.events[i]&&this.events[i].notify(...a)}scheduleRenderMicrotask(){Fh.render(this.render)}}class Uw extends R3{constructor(){super(...arguments),this.KeyframeResolver=i3}sortInstanceNodePosition(i,a){return i.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(i,a){const r=i.style;return r?r[a]:void 0}removeValueFromRenderState(i,{vars:a,style:r}){delete a[i],delete r[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;gt(i)&&(this.childSubscription=i.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}class Pi{constructor(i){this.isMounted=!1,this.node=i}update(){}}function Bw({top:t,left:i,right:a,bottom:r}){return{x:{min:i,max:a},y:{min:t,max:r}}}function M3({x:t,y:i}){return{top:i.min,right:t.max,bottom:i.max,left:t.min}}function D3(t,i){if(!i)return t;const a=i({x:t.left,y:t.top}),r=i({x:t.right,y:t.bottom});return{top:a.y,left:a.x,bottom:r.y,right:r.x}}function id(t){return t===void 0||t===1}function Id({scale:t,scaleX:i,scaleY:a}){return!id(t)||!id(i)||!id(a)}function os(t){return Id(t)||Pw(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Pw(t){return Mx(t.x)||Mx(t.y)}function Mx(t){return t&&t!=="0%"}function Qo(t,i,a){const r=t-a,o=i*r;return a+o}function Dx(t,i,a,r,o){return o!==void 0&&(t=Qo(t,o,r)),Qo(t,a,r)+i}function $d(t,i=0,a=1,r,o){t.min=Dx(t.min,i,a,r,o),t.max=Dx(t.max,i,a,r,o)}function Hw(t,{x:i,y:a}){$d(t.x,i.translate,i.scale,i.originPoint),$d(t.y,a.translate,a.scale,a.originPoint)}const Ox=.999999999999,_x=1.0000000000001;function O3(t,i,a,r=!1){const o=a.length;if(!o)return;i.x=i.y=1;let u,h;for(let m=0;m<o;m++){u=a[m],h=u.projectionDelta;const{visualElement:g}=u.options;g&&g.props.style&&g.props.style.display==="contents"||(r&&u.options.layoutScroll&&u.scroll&&u!==u.root&&(Nn(t.x,-u.scroll.offset.x),Nn(t.y,-u.scroll.offset.y)),h&&(i.x*=h.x.scale,i.y*=h.y.scale,Hw(t,h)),r&&os(u.latestValues)&&No(t,u.latestValues,u.layout?.layoutBox))}i.x<_x&&i.x>Ox&&(i.x=1),i.y<_x&&i.y>Ox&&(i.y=1)}function Nn(t,i){t.min+=i,t.max+=i}function zx(t,i,a,r,o=.5){const u=Be(t.min,t.max,o);$d(t,i,a,u,r)}function kx(t,i){return typeof t=="string"?parseFloat(t)/100*(i.max-i.min):t}function No(t,i,a){const r=a??t;zx(t.x,kx(i.x,r.x),i.scaleX,i.scale,i.originX),zx(t.y,kx(i.y,r.y),i.scaleY,i.scale,i.originY)}function qw(t,i){return Bw(D3(t.getBoundingClientRect(),i))}function _3(t,i,a){const r=qw(t,a),{scroll:o}=i;return o&&(Nn(r.x,o.offset.x),Nn(r.y,o.offset.y)),r}const z3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},k3=xa.length;function L3(t,i,a){let r="",o=!0;for(let h=0;h<k3;h++){const m=xa[h],g=t[m];
vendor: 4,456 bytes, line 9
9if(g===void 0)continue;let p=!0;if(typeof g=="number")p=g===(m.startsWith("scale")?1:0);else{const y=parseFloat(g);p=m.startsWith("scale")?y===1:y===0}if(!p||a){const y=Kd(g,Fo[m]);if(!p){o=!1;const v=z3[m]||m;r+=`${v}(${y}) `}a&&(i[m]=y)}}const u=t.pathRotation;return u&&(o=!1,r+=`rotate(${Kd(u,Fo.pathRotation)}) `),r=r.trim(),a?r=a(i,o?"":r):o&&(r="none"),r}function Ih(t,i,a){const{style:r,vars:o,transformOrigin:u}=t;let h=!1,m=!1;for(const g in i){const p=i[g];if(va.has(g)){h=!0;continue}else if(J1(g)){o[g]=p;continue}else{const y=Kd(p,Fo[g]);g.startsWith("origin")?(m=!0,u[g]=y):r[g]=y}}if(i.transform||(h||a?r.transform=L3(i,t.transform,a):r.transform&&(r.transform="none")),m){const{originX:g="50%",originY:p="50%",originZ:y=0}=u;r.transformOrigin=`${g} ${p} ${y}`}}function Gw(t,{style:i,vars:a},r,o){const u=t.style;let h;for(h in i)u[h]=i[h];o?.applyProjectionStyles(u,r);for(h in a)u.setProperty(h,a[h])}function Lx(t,i){return i.max===i.min?0:t/(i.max-i.min)*100}const gr={correct:(t,i)=>{if(!i.target)return t;if(typeof t=="string")if(le.test(t))t=parseFloat(t);else return t;const a=Lx(t,i.target.x),r=Lx(t,i.target.y);return`${a}% ${r}%`}},V3={correct:(t,{treeScale:i,projectionDelta:a})=>{const r=t,o=yn.parse(t);if(o.length>5)return r;const u=yn.createTransformer(t),h=typeof o[0]!="number"?1:0,m=a.x.scale*i.x,g=a.y.scale*i.y;o[0+h]/=m,o[1+h]/=g;const p=Be(m,g,.5);return typeof o[2+h]=="number"&&(o[2+h]/=p),typeof o[3+h]=="number"&&(o[3+h]/=p),u(o)}},Wd={borderRadius:{...gr,applyTo:[...Yh]},borderTopLeftRadius:gr,borderTopRightRadius:gr,borderBottomLeftRadius:gr,borderBottomRightRadius:gr,boxShadow:V3};function Yw(t,{layout:i,layoutId:a}){return va.has(t)||t.startsWith("origin")||(i||a!==void 0)&&(!!Wd[t]||t==="opacity")}function $h(t,i,a){const r=t.style,o=i?.style,u={};if(!r)return u;for(const h in r)(gt(r[h])||o&>(o[h])||Yw(h,t)||a?.getValue(h)?.liveStyle!==void 0)&&(u[h]=r[h]);return u}function U3(t){return window.getComputedStyle(t)}class B3 extends Uw{constructor(){super(...arguments),this.type="html",this.renderInstance=Gw}mount(i){dc(!!i.style),super.mount(i)}readValueFromInstance(i,a){if(va.has(a))return this.projection?.isProjecting?Vd(a):a5(i,a);{const r=U3(i),o=(J1(a)?r.getPropertyValue(a):r[a])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(i,{transformPagePoint:a}){return qw(i,a)}build(i,a,r){Ih(i,a,r.transformTemplate)}scrapeMotionValuesFromProps(i,a,r){return $h(i,a,r)}}const P3={offset:"stroke-dashoffset",array:"stroke-dasharray"},H3={offset:"strokeDashoffset",array:"strokeDasharray"};function q3(t,i,a=1,r=0,o=!0){t.pathLength=1;const u=o?P3:H3;t[u.offset]=`${-r}`,t[u.array]=`${i} ${a}`}const G3=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Fw(t,{attrX:i,attrY:a,attrScale:r,pathLength:o,pathSpacing:u=1,pathOffset:h=0,...m},g,p,y){if(Ih(t,m,p),g){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:v,style:b}=t;v.transform&&(b.transform=v.transform,delete v.transform),(b.transform||v.transformOrigin)&&(b.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),b.transform&&(b.transformBox=y?.transformBox??"fill-box",delete v.transformBox);for(const j of G3)v[j]!==void 0&&(b[j]=v[j],delete v[j]);i!==void 0&&(v.x=i),a!==void 0&&(v.y=a),r!==void 0&&(v.scale=r),o!==void 0&&q3(v,o,u,h,!1)}const Xw=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"]),Qw=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Y3(t,i,a,r){Gw(t,i,void 0,r);for(const o in i.attrs)t.setAttribute(Xw.has(o)?o:Gh(o),i.attrs[o])}function Kw(t,i,a){const r=$h(t,i,a);for(const o in t)if(gt(t[o])||gt(i[o])){const u=xa.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[u]=t[o]}return r}class F3 extends Uw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=at}getBaseTargetFromProps(i,a){return i[a]}readValueFromInstance(i,a){if(va.has(a)){const r=Cw(a);return r&&r.default||0}return a=Xw.has(a)?a:Gh(a),i.getAttribute(a)}scrapeMotionValuesFromProps(i,a,r){return Kw(i,a,r)}build(i,a,r){Fw(i,a,this.isSVGTag,r.transformTemplate,r.style)}
vendor: 30,697 bytes, line 9
9renderInstance(i,a,r,o){Y3(i,a,r,o)}mount(i){this.isSVGTag=Qw(i.tagName),super.mount(i)}}const X3=Zh.length;function Zw(t){if(!t)return;if(!t.isControllingVariants){const a=t.parent?Zw(t.parent)||{}:{};return t.props.initial!==void 0&&(a.initial=t.props.initial),a}const i={};for(let a=0;a<X3;a++){const r=Zh[a],o=t.props[r];(Dr(o)||o===!1)&&(i[r]=o)}return i}function Iw(t,i){if(!Array.isArray(i))return!1;const a=i.length;if(a!==t.length)return!1;for(let r=0;r<a;r++)if(i[r]!==t[r])return!1;return!0}const Q3=[...Kh].reverse(),K3=Kh.length;function Z3(t){return i=>Promise.all(i.map(({animation:a,options:r})=>X5(t,a,r)))}function I3(t){let i=Z3(t),a=Vx(),r=!0,o=!1;const u=p=>(y,v)=>{const b=ds(t,v,p==="exit"?t.presenceContext?.custom:void 0);if(b){const{transition:j,transitionEnd:S,...E}=b;y={...y,...E,...S}}return y};function h(p){i=p(t)}function m(p){const{props:y}=t,v=Zw(t.parent)||{},b=[],j=new Set;let S={},E=1/0;for(let N=0;N<K3;N++){const _=Q3[N],M=a[_],z=y[_]!==void 0?y[_]:v[_],G=Dr(z),q=_===p?M.isActive:null;q===!1&&(E=N);let P=z===v[_]&&z!==y[_]&&G;if(P&&(r||o)&&t.manuallyAnimateOnMount&&(P=!1),M.protectedKeys={...S},!M.isActive&&q===null||!z&&!M.prevProp||mc(z)||typeof z=="boolean")continue;if(_==="exit"&&M.isActive&&q!==!0){M.prevResolvedValues&&(S={...S,...M.prevResolvedValues});continue}const L=$3(M.prevProp,z);let W=L||_===p&&M.isActive&&!P&&G||N>E&&G,$=!1;const oe=Array.isArray(z)?z:[z];let ee=oe.reduce(u(_),{});q===!1&&(ee={});const{prevResolvedValues:de={}}=M,ue={...de,...ee},pe=Z=>{W=!0,j.has(Z)&&($=!0,j.delete(Z)),M.needsAnimating[Z]=!0;const te=t.getValue(Z);te&&(te.liveStyle=!1)};for(const Z in ue){const te=ee[Z],I=de[Z];if(S.hasOwnProperty(Z))continue;let R=!1;Gd(te)&&Gd(I)?R=!Iw(te,I)||L:R=te!==I,R?te!=null?pe(Z):j.add(Z):te!==void 0&&j.has(Z)?pe(Z):M.protectedKeys[Z]=!0}M.prevProp=z,M.prevResolvedValues=ee,M.isActive&&(S={...S,...ee}),(r||o)&&t.blockInitialAnimation&&(W=!1);const D=P&&L;W&&(!D||$)&&b.push(...oe.map(Z=>{const te={type:_};if(typeof Z=="string"&&(r||o)&&!D&&t.manuallyAnimateOnMount&&t.parent){const{parent:I}=t,R=ds(I,Z);if(I.enteringChildren&&R){const{delayChildren:F}=R.transition||{};te.delay=vw(I.enteringChildren,t,F)}}return{animation:Z,options:te}}))}if(j.size){const N={};if(typeof y.initial!="boolean"){const _=ds(t,Array.isArray(y.initial)?y.initial[0]:y.initial);_&&_.transition&&(N.transition=_.transition)}j.forEach(_=>{const M=t.getBaseTarget(_),z=t.getValue(_);z&&(z.liveStyle=!0),N[_]=M??null}),b.push({animation:N})}let A=!!b.length;return r&&(y.initial===!1||y.initial===y.animate)&&!t.manuallyAnimateOnMount&&(A=!1),r=!1,o=!1,A?i(b):Promise.resolve()}function g(p,y){if(a[p].isActive===y)return Promise.resolve();t.variantChildren?.forEach(b=>b.animationState?.setActive(p,y)),a[p].isActive=y;const v=m(p);for(const b in a)a[b].protectedKeys={};return v}return{animateChanges:m,setActive:g,setAnimateFunction:h,getState:()=>a,reset:()=>{a=Vx(),o=!0}}}function $3(t,i){return typeof i=="string"?i!==t:Array.isArray(i)?!Iw(i,t):!1}function ls(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Vx(){return{animate:ls(!0),whileInView:ls(),whileHover:ls(),whileTap:ls(),whileDrag:ls(),whileFocus:ls(),exit:ls()}}function Jd(t,i){t.min=i.min,t.max=i.max}function mn(t,i){Jd(t.x,i.x),Jd(t.y,i.y)}function Ux(t,i){t.translate=i.translate,t.scale=i.scale,t.originPoint=i.originPoint,t.origin=i.origin}const $w=1e-4,W3=1-$w,J3=1+$w,Ww=.01,eD=0-Ww,tD=0+Ww;function Tt(t){return t.max-t.min}function nD(t,i,a){return Math.abs(t-i)<=a}function Bx(t,i,a,r=.5){t.origin=r,t.originPoint=Be(i.min,i.max,t.origin),t.scale=Tt(a)/Tt(i),t.translate=Be(a.min,a.max,t.origin)-t.originPoint,(t.scale>=W3&&t.scale<=J3||isNaN(t.scale))&&(t.scale=1),(t.translate>=eD&&t.translate<=tD||isNaN(t.translate))&&(t.translate=0)}function Tr(t,i,a,r){Bx(t.x,i.x,a.x,r?r.originX:void 0),Bx(t.y,i.y,a.y,r?r.originY:void 0)}function Px(t,i,a,r=0){const o=r?Be(a.min,a.max,r):a.min;t.min=o+i.min,t.max=t.min+Tt(i)}function iD(t,i,a,r){Px(t.x,i.x,a.x,r?.x),Px(t.y,i.y,a.y,r?.y)}function Hx(t,i,a,r=0){const o=r?Be(a.min,a.max,r):a.min;t.min=i.min-o,t.max=t.min+Tt(i)}function Ko(t,i,a,r){Hx(t.x,i.x,a.x,r?.x),Hx(t.y,i.y,a.y,r?.y)}function qx(t,i,a,r,o){return t-=i,t=Qo(t,1/a,r),o!==void 0&&(t=Qo(t,1/o,r)),t}function sD(t,i=0,a=1,r=.5,o,u=t,h=t){if(Rn.test(i)&&(i=parseFloat(i),i=Be(h.min,h.max,i/100)-h.min),typeof i!="number")return;let m=Be(u.min,u.max,r);t===u&&(m-=i),t.min=qx(t.min,i,a,m,o),t.max=qx(t.max,i,a,m,o)}function Gx(t,i,[a,r,o],u,h){sD(t,i[a],i[r],i[o],i.scale,u,h)}const aD=["x","scaleX","originX"],rD=["y","scaleY","originY"];function Yx(t,i,a,r){Gx(t.x,i,aD,a?a.x:void 0,r?r.x:void 0),Gx(t.y,i,rD,a?a.y:void 0,r?r.y:void 0)}function Fx(t){return t.translate===0&&t.scale===1}function Jw(t){return Fx(t.x)&&Fx(t.y)}function Xx(t,i){return t.min===i.min&&t.max===i.max}function lD(t,i){return Xx(t.x,i.x)&&Xx(t.y,i.y)}function Qx(t,i){return Math.round(t.min)===Math.round(i.min)&&Math.round(t.max)===Math.round(i.max)}function eS(t,i){return Qx(t.x,i.x)&&Qx(t.y,i.y)}function Kx(t){return Tt(t.x)/Tt(t.y)}function Zx(t,i){return t.translate===i.translate&&t.scale===i.scale&&t.originPoint===i.originPoint}function An(t){return[t("x"),t("y")]}function oD(t,i,a){let r="";const o=t.x.translate/i.x,u=t.y.translate/i.y,h=a?.z||0;if((o||u||h)&&(r=`translate3d(${o}px, ${u}px, ${h}px) `),(i.x!==1||i.y!==1)&&(r+=`scale(${1/i.x}, ${1/i.y}) `),a){const{transformPerspective:p,rotate:y,pathRotation:v,rotateX:b,rotateY:j,skewX:S,skewY:E}=a;p&&(r=`perspective(${p}px) ${r}`),y&&(r+=`rotate(${y}deg) `),v&&(r+=`rotate(${v}deg) `),b&&(r+=`rotateX(${b}deg) `),j&&(r+=`rotateY(${j}deg) `),S&&(r+=`skewX(${S}deg) `),E&&(r+=`skewY(${E}deg) `)}const m=t.x.scale*i.x,g=t.y.scale*i.y;return(m!==1||g!==1)&&(r+=`scale(${m}, ${g})`),r||"none"}const cD=Yh.length,Ix=t=>typeof t=="string"?parseFloat(t):t,$x=t=>typeof t=="number"||le.test(t);function uD(t,i,a,r,o,u){o?(t.opacity=Be(0,a.opacity??1,fD(r)),t.opacityExit=Be(i.opacity??1,0,dD(r))):u&&(t.opacity=Be(i.opacity??1,a.opacity??1,r));for(let h=0;h<cD;h++){const m=Yh[h];let g=Wx(i,m),p=Wx(a,m);if(g===void 0&&p===void 0)continue;g||(g=0),p||(p=0),g===0||p===0||$x(g)===$x(p)?(t[m]=Math.max(Be(Ix(g),Ix(p),r),0),(Rn.test(p)||Rn.test(g))&&(t[m]+="%")):t[m]=p}(i.rotate||a.rotate)&&(t.rotate=Be(i.rotate||0,a.rotate||0,r))}function Wx(t,i){return t[i]!==void 0?t[i]:t.borderRadius}const fD=tS(0,.5,Q1),dD=tS(.5,.95,on);function tS(t,i,a){return r=>r<t?0:r>i?1:a(Rr(t,i,r))}function hD(t,i,a){const r=gt(t)?t:fa(t);return r.start(Hh("",r,i,a)),r.animation}function Or(t,i,a,r={passive:!0}){return t.addEventListener(i,a,r),()=>t.removeEventListener(i,a,r)}const mD=(t,i)=>t.depth-i.depth;class pD{constructor(){this.children=[],this.isDirty=!1}add(i){Rh(this.children,i),this.isDirty=!0}remove(i){Po(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(mD),this.isDirty=!1,this.children.forEach(i)}}function gD(t,i){const a=St.now(),r=({timestamp:o})=>{const u=o-a;u>=i&&(Vi(r),t(u-i))};return Pe.setup(r,!0),()=>Vi(r)}function Co(t){return gt(t)?t.get():t}class yD{constructor(){this.members=[]}add(i){Rh(this.members,i);for(let a=this.members.length-1;a>=0;a--){const r=this.members[a];if(r===i||r===this.lead||r===this.prevLead)continue;const o=r.instance;(!o||o.isConnected===!1)&&!r.snapshot&&(Po(this.members,r),r.unmount())}i.scheduleRender()}remove(i){if(Po(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(i){for(let a=this.members.indexOf(i)-1;a>=0;a--){const r=this.members[a];if(r.isPresent!==!1&&r.instance?.isConnected!==!1)return this.promote(r),!0}return!1}promote(i,a){const r=this.lead;if(i!==r&&(this.prevLead=r,this.lead=i,i.show(),r)){r.updateSnapshot(),i.scheduleRender();const{layoutDependency:o}=r.options,{layoutDependency:u}=i.options;(o===void 0||o!==u)&&(i.resumeFrom=r,a&&(r.preserveOpacity=!0),r.snapshot&&(i.snapshot=r.snapshot,i.snapshot.latestValues=r.animationValues||r.latestValues),i.root?.isUpdating&&(i.isLayoutDirty=!0)),i.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(i=>{i.options.onExitComplete?.(),i.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(i=>i.instance&&i.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const Ro={hasAnimatedSinceResize:!0,hasEverUpdated:!1},sd=["","X","Y","Z"],xD=1e3;let vD=0;function ad(t,i,a,r){const{latestValues:o}=i;o[t]&&(a[t]=o[t],i.setStaticValue(t,0),r&&(r[t]=0))}function nS(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:i}=t.options;if(!i)return;const a=jw(i);if(window.MotionHasOptimisedAnimation(a,"transform")){const{layout:o,layoutId:u}=t.options;window.MotionCancelOptimisedAnimation(a,"transform",Pe,!(o||u))}const{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&nS(r)}function iS({attachResizeListener:t,defaultParent:i,measureScroll:a,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(h={},m=i?.()){this.id=vD++,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(SD),this.nodes.forEach(CD),this.nodes.forEach(RD),this.nodes.forEach(TD)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=h,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 g=0;g<this.path.length;g++)this.path[g].shouldResetTransform=!0;this.root===this&&(this.nodes=new pD)}addEventListener(h,m){return this.eventHandlers.has(h)||this.eventHandlers.set(h,new Mh),this.eventHandlers.get(h).add(m)}notifyListeners(h,...m){const g=this.eventHandlers.get(h);g&&g.notify(...m)}hasListeners(h){return this.eventHandlers.has(h)}mount(h){if(this.instance)return;this.isSVG=Qh(h)&&!w3(h),this.instance=h;const{layoutId:m,layout:g,visualElement:p}=this.options;if(p&&!p.current&&p.mount(h),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(g||m)&&(this.isLayoutDirty=!0),t){let y,v=0;const b=()=>this.root.updateBlockedByResize=!1;Pe.read(()=>{v=window.innerWidth}),t(h,()=>{const j=window.innerWidth;j!==v&&(v=j,this.root.updateBlockedByResize=!0,y&&y(),y=gD(b,250),Ro.hasAnimatedSinceResize&&(Ro.hasAnimatedSinceResize=!1,this.nodes.forEach(tv)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&p&&(m||g)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:v,hasRelativeLayoutChanged:b,layout:j})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const S=this.options.transition||p.getDefaultTransition()||zD,{onLayoutAnimationStart:E,onLayoutAnimationComplete:A}=p.getProps(),N=!this.targetLayout||!eS(this.targetLayout,j),_=!v&&b;if(this.options.layoutRoot||this.resumeFrom||_||v&&(N||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const M={...Ph(S,"layout"),onPlay:E,onComplete:A};(p.shouldReduceMotion||this.options.layoutRoot)&&(M.delay=0,M.type=!1),this.startAnimation(M),this.setAnimationOrigin(y,_,M.path)}else v||tv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=j})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const h=this.getStack();h&&h.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Vi(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(MD),this.animationId++)}getTransformTemplate(){const{visualElement:h}=this.options;return h&&h.getProps().transformTemplate}willUpdate(h=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&nS(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,(typeof v.latestValues.x=="string"||typeof v.latestValues.y=="string")&&(v.isLayoutDirty=!0),v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:m,layout:g}=this.options;if(m===void 0&&!g)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),h&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const g=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),g&&this.nodes.forEach(ED),this.nodes.forEach(Jx);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(ev);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(AD),this.nodes.forEach(ND),this.nodes.forEach(bD),this.nodes.forEach(wD)):this.nodes.forEach(ev),this.clearAllSnapshots();const m=St.now();pt.delta=On(0,1e3/60,m-pt.timestamp),pt.timestamp=m,pt.isProcessing=!0,If.update.process(pt),If.preRender.process(pt),If.render.process(pt),pt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Fh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(jD),this.sharedNodes.forEach(DD)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Pe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Pe.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 g=0;g<this.path.length;g++)this.path[g].updateScroll();const h=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=at()),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,h?h.layoutBox:void 0)}updateScroll(h="measure"){let m=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===h&&(m=!1),m&&this.instance){const g=r(this.instance);this.scroll={animationId:this.root.animationId,phase:h,isRoot:g,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:g}}}resetTransform(){if(!o)return;const h=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!Jw(this.projectionDelta),g=this.getTransformTemplate(),p=g?g(this.latestValues,""):void 0,y=p!==this.prevTransformTemplateValue;h&&this.instance&&(m||os(this.latestValues)||y)&&(o(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(h=!0){const m=this.measurePageBox();let g=this.removeElementScroll(m);return h&&(g=this.removeTransform(g)),kD(g),{animationId:this.root.animationId,measuredBox:m,layoutBox:g,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:h}=this.options;if(!h)return at();const m=h.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(LD))){const{scroll:p}=this.root;p&&(Nn(m.x,p.offset.x),Nn(m.y,p.offset.y))}return m}removeElementScroll(h){const m=at();if(mn(m,h),this.scroll?.wasRoot)return m;for(let g=0;g<this.path.length;g++){const p=this.path[g],{scroll:y,options:v}=p;p!==this.root&&y&&v.layoutScroll&&(y.wasRoot&&mn(m,h),Nn(m.x,y.offset.x),Nn(m.y,y.offset.y))}return m}applyTransform(h,m=!1,g){const p=g||at();mn(p,h);for(let y=0;y<this.path.length;y++){const v=this.path[y];!m&&v.options.layoutScroll&&v.scroll&&v!==v.root&&(Nn(p.x,-v.scroll.offset.x),Nn(p.y,-v.scroll.offset.y)),os(v.latestValues)&&No(p,v.latestValues,v.layout?.layoutBox)}return os(this.latestValues)&&No(p,this.latestValues,this.layout?.layoutBox),p}removeTransform(h){const m=at();mn(m,h);for(let g=0;g<this.path.length;g++){const p=this.path[g];if(!os(p.latestValues))continue;let y;p.instance&&(Id(p.latestValues)&&p.updateSnapshot(),y=at(),mn(y,p.measurePageBox())),Yx(m,p.latestValues,p.snapshot?.layoutBox,y)}return os(this.latestValues)&&Yx(m,this.latestValues),m}setTargetDelta(h){this.targetDelta=h,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(h){this.options={...this.options,...h,crossfade:h.crossfade!==void 0?h.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!==pt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(h=!1){const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const g=!!this.resumingFrom||this!==m;if(!(h||g&&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=pt.timestamp;const b=this.getClosestProjectingParent();b&&this.linkedParentVersion!==b.layoutVersion&&!b.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&b&&b.layout?this.createRelativeTarget(b,this.layout.layoutBox,b.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=at(),this.targetWithTransforms=at()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),iD(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):mn(this.target,this.layout.layoutBox),Hw(this.target,this.targetDelta)):mn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?this.createRelativeTarget(b,this.target,b.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Id(this.parent.latestValues)||Pw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(h,m,g){this.relativeParent=h,this.linkedParentVersion=h.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=at(),this.relativeTargetOrigin=at(),Ko(this.relativeTargetOrigin,m,g,this.options.layoutAnchor||void 0),mn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const h=this.getLead(),m=!!this.resumingFrom||this!==h;let g=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(g=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(g=!1),this.resolvedRelativeTargetAt===pt.timestamp&&(g=!1),g)return;const{layout:p,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||!(p||y))return;mn(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,b=this.treeScale.y;O3(this.layoutCorrected,this.treeScale,this.path,m),h.layout&&!h.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(h.target=h.layout.layoutBox,h.targetWithTransforms=at());const{target:j}=h;if(!j){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ux(this.prevProjectionDelta.x,this.projectionDelta.x),Ux(this.prevProjectionDelta.y,this.projectionDelta.y)),Tr(this.projectionDelta,this.layoutCorrected,j,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==b||!Zx(this.projectionDelta.x,this.prevProjectionDelta.x)||!Zx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",j))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(h=!0){if(this.options.visualElement?.scheduleRender(),h){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ra(),this.projectionDelta=ra(),this.projectionDeltaWithTransform=ra()}setAnimationOrigin(h,m=!1,g){const p=this.snapshot,y=p?p.latestValues:{},v={...this.latestValues},b=ra();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const j=at(),S=p?p.source:void 0,E=this.layout?this.layout.source:void 0,A=S!==E,N=this.getStack(),_=!N||N.members.length<=1,M=!!(A&&!_&&this.options.crossfade===!0&&!this.path.some(_D));this.animationProgress=0;let z;const G=g?.interpolateProjection(h);this.mixTargetDelta=q=>{const P=q/1e3,L=G?.(P);L?(b.x.translate=L.x,b.x.scale=Be(h.x.scale,1,P),b.x.origin=h.x.origin,b.x.originPoint=h.x.originPoint,b.y.translate=L.y,b.y.scale=Be(h.y.scale,1,P),b.y.origin=h.y.origin,b.y.originPoint=h.y.originPoint):(nv(b.x,h.x,P),nv(b.y,h.y,P)),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ko(j,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),OD(this.relativeTarget,this.relativeTargetOrigin,j,P),z&&lD(this.relativeTarget,z)&&(this.isProjectionDirty=!1),z||(z=at()),mn(z,this.relativeTarget)),A&&(this.animationValues=v,uD(v,y,this.latestValues,P,M,_)),L&&L.rotate!==void 0&&(this.animationValues||(this.animationValues=v),this.animationValues.pathRotation=L.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(h){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Vi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Pe.update(()=>{Ro.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=fa(0)),this.motionValue.jump(0,!1),this.currentAnimation=hD(this.motionValue,[0,1e3],{...h,velocity:0,isSync:!0,onUpdate:m=>{this.mixTargetDelta(m),h.onUpdate&&h.onUpdate(m)},onComplete:()=>{h.onComplete&&h.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 h=this.getStack();h&&h.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(xD),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const h=this.getLead();let{targetWithTransforms:m,target:g,layout:p,latestValues:y}=h;if(!(!m||!g||!p)){if(this!==h&&this.layout&&p&&sS(this.options.animationType,this.layout.layoutBox,p.layoutBox)){g=this.target||at();const v=Tt(this.layout.layoutBox.x);g.x.min=h.target.x.min,g.x.max=g.x.min+v;const b=Tt(this.layout.layoutBox.y);g.y.min=h.target.y.min,g.y.max=g.y.min+b}mn(m,g),No(m,y),Tr(this.projectionDeltaWithTransform,this.layoutCorrected,m,y)}}registerSharedNode(h,m){this.sharedNodes.has(h)||this.sharedNodes.set(h,new yD),this.sharedNodes.get(h).add(m);const p=m.options.initialPromotionConfig;m.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(m):void 0})}isLead(){const h=this.getStack();return h?h.lead===this:!0}getLead(){const{layoutId:h}=this.options;return h?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:h}=this.options;return h?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:h}=this.options;if(h)return this.root.sharedNodes.get(h)}promote({needsReset:h,transition:m,preserveFollowOpacity:g}={}){const p=this.getStack();p&&p.promote(this,g),h&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const h=this.getStack();return h?h.relegate(this):!1}resetSkewAndRotation(){const{visualElement:h}=this.options;if(!h)return;let m=!1;const{latestValues:g}=h;if((g.z||g.rotate||g.rotateX||g.rotateY||g.rotateZ||g.skewX||g.skewY)&&(m=!0),!m)return;const p={};g.z&&ad("z",h,p,this.animationValues);for(let y=0;y<sd.length;y++)ad(`rotate${sd[y]}`,h,p,this.animationValues),ad(`skew${sd[y]}`,h,p,this.animationValues);h.render();for(const y in p)h.setStaticValue(y,p[y]),this.animationValues&&(this.animationValues[y]=p[y]);h.scheduleRender()}applyProjectionStyles(h,m){if(!this.instance||this.isSVG)return;if(!this.isVisible){h.visibility="hidden";return}const g=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,h.visibility="",h.opacity="",h.pointerEvents=Co(m?.pointerEvents)||"",h.transform=g?g(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(h.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,h.pointerEvents=Co(m?.pointerEvents)||""),this.hasProjected&&!os(this.latestValues)&&(h.transform=g?g({},""):"none",this.hasProjected=!1);return}h.visibility="";const y=p.animationValues||p.latestValues;this.applyTransformsToTarget();let v=oD(this.projectionDeltaWithTransform,this.treeScale,y);g&&(v=g(y,v)),h.transform=v;const{x:b,y:j}=this.projectionDelta;h.transformOrigin=`${b.origin*100}% ${j.origin*100}% 0`,p.animationValues?h.opacity=p===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:h.opacity=p===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const S in Wd){if(y[S]===void 0)continue;const{correct:E,applyTo:A,isCSSVariable:N}=Wd[S],_=v==="none"?y[S]:E(y[S],p);if(A){const M=A.length;for(let z=0;z<M;z++)h[A[z]]=_}else N?this.options.visualElement.renderState.vars[S]=_:h[S]=_}this.options.layoutId&&(h.pointerEvents=p===this?Co(m?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(h=>h.currentAnimation?.stop()),this.root.nodes.forEach(Jx),this.root.sharedNodes.clear()}}}function bD(t){t.updateLayout()}function wD(t){const i=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:r}=t.layout,{animationType:o}=t.options,u=i.source!==t.layout.source;if(o==="size")An(y=>{const v=u?i.measuredBox[y]:i.layoutBox[y],b=Tt(v);v.min=a[y].min,v.max=v.min+b});else if(o==="x"||o==="y"){const y=o==="x"?"y":"x";Jd(u?i.measuredBox[y]:i.layoutBox[y],a[y])}else sS(o,i.layoutBox,a)&&An(y=>{const v=u?i.measuredBox[y]:i.layoutBox[y],b=Tt(a[y]);v.max=v.min+b,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[y].max=t.relativeTarget[y].min+b)});const h=ra();Tr(h,a,i.layoutBox);const m=ra();u?Tr(m,t.applyTransform(r,!0),i.measuredBox):Tr(m,a,i.layoutBox);const g=!Jw(h);let p=!1;if(!t.resumeFrom){const y=t.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:v,layout:b}=y;if(v&&b){const j=t.options.layoutAnchor||void 0,S=at();Ko(S,i.layoutBox,v.layoutBox,j);const E=at();Ko(E,a,b.layoutBox,j),eS(S,E)||(p=!0),y.options.layoutRoot&&(t.relativeTarget=E,t.relativeTargetOrigin=S,t.relativeParent=y)}}}t.notifyListeners("didUpdate",{layout:a,snapshot:i,delta:m,layoutDelta:h,hasLayoutChanged:g,hasRelativeLayoutChanged:p})}else if(t.isLead()){const{onExitComplete:a}=t.options;a&&a()}t.options.transition=void 0}function SD(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 TD(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function jD(t){t.clearSnapshot()}function Jx(t){t.clearMeasurements()}function ED(t){t.isLayoutDirty=!0,t.updateLayout()}function ev(t){t.isLayoutDirty=!1}function AD(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function ND(t){const{visualElement:i}=t.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),t.resetTransform()}function tv(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function CD(t){t.resolveTargetDelta()}function RD(t){t.calcProjection()}
9function MD(t){t.resetSkewAndRotation()}function DD(t){t.removeLeadSnapshot()}function nv(t,i,a){t.translate=Be(i.translate,0,a),t.scale=Be(i.scale,1,a),t.origin=i.origin,t.originPoint=i.originPoint}function iv(t,i,a,r){t.min=Be(i.min,a.min,r),t.max=Be(i.max,a.max,r)}function OD(t,i,a,r){iv(t.x,i.x,a.x,r),iv(t.y,i.y,a.y,r)}function _D(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const zD={duration:.45,ease:[.4,0,.1,1]},sv=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),av=sv("applewebkit/")&&!sv("chrome/")?Math.round:on;function rv(t){t.min=av(t.min),t.max=av(t.max)}function kD(t){rv(t.x),rv(t.y)}function sS(t,i,a){return t==="position"||t==="preserve-aspect"&&!nD(Kx(i),Kx(a),.2)}function LD(t){return t!==t.root&&t.scroll?.wasRoot}const VD=iS({attachResizeListener:(t,i)=>Or(t,"resize",i),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),rd={current:void 0},aS=iS({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rd.current){const t=new VD({});t.mount(window),t.setOptions({layoutScroll:!0}),rd.current=t}return rd.current},resetTransform:(t,i)=>{t.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Wh=T.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function lv(t,i){if(typeof t=="function")return t(i);t!=null&&(t.current=i)}function UD(...t){return i=>{let a=!1;const r=t.map(o=>{const u=lv(o,i);return!a&&typeof u=="function"&&(a=!0),u});if(a)return()=>{for(let o=0;o<r.length;o++){const u=r[o];typeof u=="function"?u():lv(t[o],null)}}}}function BD(...t){return T.useCallback(UD(...t),t)}class PD extends T.Component{getSnapshotBeforeUpdate(i){const a=this.props.childRef.current;if(So(a)&&i.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=a.offsetParent,o=So(r)&&r.offsetWidth||0,u=So(r)&&r.offsetHeight||0,h=getComputedStyle(a),m=this.props.sizeRef.current;m.height=parseFloat(h.height),m.width=parseFloat(h.width),m.top=a.offsetTop,m.left=a.offsetLeft,m.right=o-m.width-m.left,m.bottom=u-m.height-m.top,m.direction=h.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function HD({children:t,isPresent:i,anchorX:a,anchorY:r,root:o,pop:u}){const h=T.useId(),m=T.useRef(null),g=T.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:p}=T.useContext(Wh),y=u!==!1?t.props?.ref??t?.ref:void 0,v=BD(m,y);return T.useInsertionEffect(()=>{const{width:b,height:j,top:S,left:E,right:A,bottom:N,direction:_}=g.current;if(i||u===!1||!m.current||!b||!j)return;const M=_==="rtl",z=a==="left"?M?`right: ${A}`:`left: ${E}`:M?`left: ${E}`:`right: ${A}`,G=r==="bottom"?`bottom: ${N}`:`top: ${S}`;m.current.dataset.motionPopId=h;const q=document.createElement("style");p&&(q.nonce=p);const P=o??document.head;return P.appendChild(q),q.sheet&&q.sheet.insertRule(` 10 [data-motion-pop-id="${h}"] { 11 position: absolute !important; 12 width: ${b}px !important; 13 height: ${j}px !important; 14 ${z}px !important; 15 ${G}px !important; 16 } 17 `),()=>{m.current?.removeAttribute("data-motion-pop-id"),P.contains(q)&&P.removeChild(q)}},[i]),f.jsx(PD,{isPresent:i,childRef:m,sizeRef:g,pop:u,children:u===!1?t:T.cloneElement(t,{ref:v})})}const qD=({children:t,initial:i,isPresent:a,onExitComplete:r,custom:o,presenceAffectsLayout:u,mode:h,anchorX:m,anchorY:g,root:p})=>{const y=Nh(GD),v=T.useId(),b=T.useRef(a),j=T.useRef(r);Ch(()=>{b.current=a,j.current=r});let S=!0,E=T.useMemo(()=>(S=!1,{id:v,initial:i,isPresent:a,custom:o,onExitComplete:A=>{y.set(A,!0);for(const N of y.values())if(!N)return;r&&r()},register:A=>(y.set(A,!1),()=>{y.delete(A),!b.current&&!y.size&&j.current?.()})}),[a,y,r]);return u&&S&&(E={...E}),T.useMemo(()=>{y.forEach((A,N)=>y.set(N,!1))},[a]),T.useEffect(()=>{!a&&!y.size&&r&&r()},[a]),t=f.jsx(HD,{pop:h==="popLayout",isPresent:a,anchorX:m,anchorY:g,root:p,children:t}),f.jsx(fc.Provider,{value:E,children:t})};function GD(){return new Map}function rS(t=!0){const i=T.useContext(fc);if(i===null)return[!0,null];const{isPresent:a,onExitComplete:r,register:o}=i,u=T.useId();T.useEffect(()=>{if(t)return o(u)},[t]);const h=T.useCallback(()=>t&&r&&r(u),[u,r,t]);return!a&&r?[!1,h]:[!0]}const co=t=>t.key||"";function ov(t){const i=[];
vendor: 5,766 bytes, line 17
17return T.Children.forEach(t,a=>{T.isValidElement(a)&&i.push(a)}),i}const Jh=({children:t,custom:i,initial:a=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:u="sync",propagate:h=!1,anchorX:m="left",anchorY:g="top",root:p})=>{const[y,v]=rS(h),b=T.useMemo(()=>ov(t),[t]),j=h&&!y?[]:b.map(co),S=T.useRef(!0),E=T.useRef(b),A=Nh(()=>new Map),N=T.useRef(new Set),[_,M]=T.useState(b),[z,G]=T.useState(b);Ch(()=>{S.current=!1,E.current=b;for(let L=0;L<z.length;L++){const W=co(z[L]);j.includes(W)?(A.delete(W),N.current.delete(W)):A.get(W)!==!0&&A.set(W,!1)}},[z,j.length,j.join("-")]);const q=[];if(b!==_){let L=[...b];for(let W=0;W<z.length;W++){const $=z[W],oe=co($);j.includes(oe)||(L.splice(W,0,$),q.push($))}return u==="wait"&&q.length&&(L=q),G(ov(L)),M(b),null}const{forceRender:P}=T.useContext(Ah);return f.jsx(f.Fragment,{children:z.map(L=>{const W=co(L),$=h&&!y?!1:b===z||j.includes(W),oe=()=>{if(N.current.has(W))return;if(A.has(W))N.current.add(W),A.set(W,!0);else return;let ee=!0;A.forEach(de=>{de||(ee=!1)}),ee&&(P?.(),G(E.current),h&&v?.(),r&&r())};return f.jsx(qD,{isPresent:$,initial:!S.current||a?void 0:!1,custom:i,presenceAffectsLayout:o,mode:u,root:p,onExitComplete:$?void 0:oe,anchorX:m,anchorY:g,children:L},W)})})},lS=T.createContext({strict:!1}),cv={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 uv=!1;function YD(){if(uv)return;const t={};for(const i in cv)t[i]={isEnabled:a=>cv[i].some(r=>!!a[r])};Vw(t),uv=!0}function oS(){return YD(),C3()}function FD(t){const i=oS();for(const a in t)i[a]={...i[a],...t[a]};Vw(i)}const XD=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","propagate","ignoreStrict","viewport"]);function Zo(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||XD.has(t)}let cS=t=>!Zo(t);function QD(t){typeof t=="function"&&(cS=i=>i.startsWith("on")?!Zo(i):t(i))}try{QD(require("@emotion/is-prop-valid").default)}catch{}function KD(t,i,a){const r={};for(const o in t)o==="values"&&typeof t.values=="object"||gt(t[o])||(cS(o)||a===!0&&Zo(o)||!i&&!Zo(o)||t.draggable&&o.startsWith("onDrag"))&&(r[o]=t[o]);return r}const gc=T.createContext({});function ZD(t,i){if(pc(t)){const{initial:a,animate:r}=t;return{initial:a===!1||Dr(a)?a:void 0,animate:Dr(r)?r:void 0}}return t.inherit!==!1?i:{}}function ID(t){const{initial:i,animate:a}=ZD(t,T.useContext(gc));return T.useMemo(()=>({initial:i,animate:a}),[fv(i),fv(a)])}function fv(t){return Array.isArray(t)?t.join(" "):t}const em=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function uS(t,i,a){for(const r in i)!gt(i[r])&&!Yw(r,a)&&(t[r]=i[r])}function $D({transformTemplate:t},i){return T.useMemo(()=>{const a=em();return Ih(a,i,t),Object.assign({},a.vars,a.style)},[i])}function WD(t,i){const a=t.style||{},r={};return uS(r,a,t),Object.assign(r,$D(t,i)),r}function JD(t,i){const a={},r=WD(t,i);return t.drag&&t.dragListener!==!1&&(a.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)&&(a.tabIndex=0),a.style=r,a}const fS=()=>({...em(),attrs:{}});function eO(t,i,a,r){const o=T.useMemo(()=>{const u=fS();return Fw(u,i,Qw(r),t.transformTemplate,t.style),{...u.attrs,style:{...u.style}}},[i]);if(t.style){const u={};uS(u,t.style,t),o.style={...u,...o.style}}return o}const tO=["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 tm(t){return typeof t!="string"||t.includes("-")?!1:!!(tO.indexOf(t)>-1||/[A-Z]/u.test(t))}function nO(t,i,a,{latestValues:r},o,u=!1,h){const g=(h??tm(t)?eO:JD)(i,r,o,t),p=KD(i,typeof t=="string",u),y=t!==T.Fragment?{...p,...g,ref:a}:{},{children:v}=i,b=T.useMemo(()=>gt(v)?v.get():v,[v]);return T.createElement(t,{...y,children:b})}function iO({scrapeMotionValuesFromProps:t,createRenderState:i},a,r,o){return{latestValues:sO(a,r,o,t),renderState:i()}}function sO(t,i,a,r){const o={},u=r(t,{});for(const b in u)o[b]=Co(u[b]);let{initial:h,animate:m}=t;const g=pc(t),p=kw(t);i&&p&&!g&&t.inherit!==!1&&(h===void 0&&(h=i.initial),m===void 0&&(m=i.animate));let y=a?a.initial===!1:!1;y=y||h===!1;const v=y?m:h;if(v&&typeof v!="boolean"&&!mc(v)){const b=Array.isArray(v)?v:[v];for(let j=0;j<b.length;j++){const S=qh(t,b[j]);if(S){const{transitionEnd:E,transition:A,...N}=S;for(const _ in N){let M=N[_];if(Array.isArray(M)){const z=y?M.length-1:0;M=M[z]}M!==null&&(o[_]=M)}for(const _ in E)o[_]=E[_]}}}return o}const dS=t=>(i,a)=>{const r=T.useContext(gc),o=T.useContext(fc),u=()=>iO(t,i,r,o);return a?u():Nh(u)},aO=dS({scrapeMotionValuesFromProps:$h,createRenderState:em}),rO=dS({scrapeMotionValuesFromProps:Kw,createRenderState:fS}),lO=Symbol.for("motionComponentSymbol");function oO(t,i,a){const r=T.useRef(a);T.useInsertionEffect(()=>{r.current=a});const o=T.useRef(null);return T.useCallback(u=>
vendor: 23,573 bytes, line 17
17{u&&t.onMount?.(u),i&&(u?i.mount(u):i.unmount());const h=r.current;if(typeof h=="function")if(u){const m=h(u);typeof m=="function"&&(o.current=m)}else o.current?(o.current(),o.current=null):h(u);else h&&(h.current=u)},[i])}const hS=T.createContext({});function na(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function cO(t,i,a,r,o,u){const{visualElement:h}=T.useContext(gc),m=T.useContext(lS),g=T.useContext(fc),p=T.useContext(Wh),y=p.reducedMotion,v=p.skipAnimations,b=T.useRef(null),j=T.useRef(!1);r=r||m.renderer,!b.current&&r&&(b.current=r(t,{visualState:i,parent:h,props:a,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:y,skipAnimations:v,isSVG:u}),j.current&&b.current&&(b.current.manuallyAnimateOnMount=!0));const S=b.current,E=T.useContext(hS);S&&!S.projection&&o&&(S.type==="html"||S.type==="svg")&&uO(b.current,a,o,E);const A=T.useRef(!1);T.useInsertionEffect(()=>{S&&A.current&&S.update(a,g)});const N=a[Tw],_=T.useRef(!!N&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(N)&&window.MotionHasOptimisedAnimation?.(N));return Ch(()=>{j.current=!0,S&&(A.current=!0,window.MotionIsMounted=!0,S.updateFeatures(),S.scheduleRenderMicrotask(),_.current&&S.animationState&&S.animationState.animateChanges())}),T.useEffect(()=>{S&&(!_.current&&S.animationState&&S.animationState.animateChanges(),_.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(N)}),_.current=!1),S.enteringChildren=void 0)}),S}function uO(t,i,a,r){const{layoutId:o,layout:u,drag:h,dragConstraints:m,layoutScroll:g,layoutRoot:p,layoutAnchor:y,layoutCrossfade:v}=i;t.projection=new a(t.latestValues,i["data-framer-portal-id"]?void 0:mS(t.parent)),t.projection.setOptions({layoutId:o,layout:u,alwaysMeasureLayout:!!h||m&&na(m),visualElement:t,animationType:typeof u=="string"?u:"both",initialPromotionConfig:r,crossfade:v,layoutScroll:g,layoutRoot:p,layoutAnchor:y})}function mS(t){if(t)return t.options.allowProjection!==!1?t.projection:mS(t.parent)}function ld(t,{forwardMotionProps:i=!1,type:a}={},r,o){r&&FD(r);const u=a?a==="svg":tm(t),h=u?rO:aO;function m(p,y){let v;const b={...T.useContext(Wh),...p,layoutId:fO(p)},{isStatic:j}=b,S=ID(p),E=h(p,j);if(!j&&typeof window<"u"){dO();const A=hO(b);v=A.MeasureLayout,S.visualElement=cO(t,E,b,o,A.ProjectionNode,u)}return f.jsxs(gc.Provider,{value:S,children:[v&&S.visualElement?f.jsx(v,{visualElement:S.visualElement,...b}):null,nO(t,p,oO(E,S.visualElement,y),E,j,i,u)]})}m.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const g=T.forwardRef(m);return g[lO]=t,g}function fO({layoutId:t}){const i=T.useContext(Ah).id;return i&&t!==void 0?i+"-"+t:t}function dO(t,i){T.useContext(lS).strict}function hO(t){const i=oS(),{drag:a,layout:r}=i;if(!a&&!r)return{};const o={...a,...r};return{MeasureLayout:a?.isEnabled(t)||r?.isEnabled(t)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function mO(t,i){if(typeof Proxy>"u")return ld;const a=new Map,r=(u,h)=>ld(u,h,t,i),o=(u,h)=>r(u,h);return new Proxy(o,{get:(u,h)=>h==="create"?r:(a.has(h)||a.set(h,ld(h,void 0,t,i)),a.get(h))})}const pO=(t,i)=>i.isSVG??tm(t)?new F3(i):new B3(i,{allowProjection:t!==T.Fragment});class gO extends Pi{constructor(i){super(i),i.animationState||(i.animationState=I3(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();mc(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:a}=this.node.prevProps||{};i!==a&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let yO=0;class xO extends Pi{constructor(){super(...arguments),this.id=yO++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:a}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===r)return;if(i&&r===!1){if(this.isExitComplete){const{initial:u,custom:h}=this.node.getProps();if(typeof u=="string"||typeof u=="object"&&u!==null&&!Array.isArray(u)){const m=ds(this.node,u,h);if(m){const{transition:g,transitionEnd:p,...y}=m;for(const v in y)this.node.getValue(v)?.jump(y[v])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const o=this.node.animationState.setActive("exit",!i);a&&!i&&o.then(()=>{this.isExitComplete=!0,a(this.id)})}mount(){const{register:i,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const vO={animation:{Feature:gO},exit:{Feature:xO}};function Ur(t){return{point:{x:t.pageX,y:t.pageY}}}const bO=t=>i=>Xh(i)&&t(i,Ur(i));function jr(t,i,a,r){return Or(t,i,bO(a),r)}const pS=({current:t})=>t?t.ownerDocument.defaultView:null,dv=(t,i)=>Math.abs(t-i);function wO(t,i){const a=dv(t.x,i.x),r=dv(t.y,i.y);return Math.sqrt(a**2+r**2)}const hv=new Set(["auto","scroll"]);class gS{constructor(i,a,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:u=!1,distanceThreshold:h=3,element:m}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=S=>{this.handleScroll(S.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=uo(this.lastRawMoveEventInfo,this.transformPagePoint));const S=od(this.lastMoveEventInfo,this.history),E=this.startEvent!==null,A=wO(S.offset,{x:0,y:0})>=this.distanceThreshold;if(!E&&!A)return;const{point:N}=S,{timestamp:_}=pt;this.history.push({...N,timestamp:_});const{onStart:M,onMove:z}=this.handlers;E||(M&&M(this.lastMoveEvent,S),this.startEvent=this.lastMoveEvent),z&&z(this.lastMoveEvent,S)},this.handlePointerMove=(S,E)=>{this.lastMoveEvent=S,this.lastRawMoveEventInfo=E,this.lastMoveEventInfo=uo(E,this.transformPagePoint),Pe.update(this.updatePoint,!0)},this.handlePointerUp=(S,E)=>{this.end();const{onEnd:A,onSessionEnd:N,resumeAnimation:_}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&_&&_(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const M=od(S.type==="pointercancel"?this.lastMoveEventInfo:uo(E,this.transformPagePoint),this.history);this.startEvent&&A&&A(S,M),N&&N(S,M)},!Xh(i))return;this.dragSnapToOrigin=u,this.handlers=a,this.transformPagePoint=r,this.distanceThreshold=h,this.contextWindow=o||window;const g=Ur(i),p=uo(g,this.transformPagePoint),{point:y}=p,{timestamp:v}=pt;this.history=[{...y,timestamp:v}];const{onSessionStart:b}=a;b&&b(i,od(p,this.history));const j={passive:!0,capture:!0};this.removeListeners=kr(jr(this.contextWindow,"pointermove",this.handlePointerMove,j),jr(this.contextWindow,"pointerup",this.handlePointerUp,j),jr(this.contextWindow,"pointercancel",this.handlePointerUp,j)),m&&this.startScrollTracking(m)}startScrollTracking(i){let a=i.parentElement;for(;a;){const r=getComputedStyle(a);(hv.has(r.overflowX)||hv.has(r.overflowY))&&this.scrollPositions.set(a,{x:a.scrollLeft,y:a.scrollTop}),a=a.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(i){const a=this.scrollPositions.get(i);if(!a)return;const r=i===window,o=r?{x:window.scrollX,y:window.scrollY}:{x:i.scrollLeft,y:i.scrollTop},u={x:o.x-a.x,y:o.y-a.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(i,o),Pe.update(this.updatePoint,!0))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Vi(this.updatePoint)}}function uo(t,i){return i?{point:i(t.point)}:t}function mv(t,i){return{x:t.x-i.x,y:t.y-i.y}}function od({point:t},i){return{point:t,delta:mv(t,yS(i)),offset:mv(t,SO(i)),velocity:TO(i,.1)}}function SO(t){return t[0]}function yS(t){return t[t.length-1]}function TO(t,i){if(t.length<2)return{x:0,y:0};let a=t.length-1,r=null;const o=yS(t);for(;a>=0&&(r=t[a],!(o.timestamp-r.timestamp>Qt(i)));)a--;if(!r)return{x:0,y:0};r===t[0]&&t.length>2&&o.timestamp-r.timestamp>Qt(i)*2&&(r=t[1]);const u=ln(o.timestamp-r.timestamp);if(u===0)return{x:0,y:0};const h={x:(o.x-r.x)/u,y:(o.y-r.y)/u};return h.x===1/0&&(h.x=0),h.y===1/0&&(h.y=0),h}function jO(t,{min:i,max:a},r){return i!==void 0&&t<i?t=r?Be(i,t,r.min):Math.max(t,i):a!==void 0&&t>a&&(t=r?Be(a,t,r.max):Math.min(t,a)),t}function pv(t,i,a){return{min:i!==void 0?t.min+i:void 0,max:a!==void 0?t.max+a-(t.max-t.min):void 0}}function EO(t,{top:i,left:a,bottom:r,right:o}){return{x:pv(t.x,a,o),y:pv(t.y,i,r)}}function gv(t,i){let a=i.min-t.min,r=i.max-t.max;return i.max-i.min<t.max-t.min&&([a,r]=[r,a]),{min:a,max:r}}function AO(t,i){return{x:gv(t.x,i.x),y:gv(t.y,i.y)}}function NO(t,i){let a=.5;const r=Tt(t),o=Tt(i);return o>r?a=Rr(i.min,i.max-r,t.min):r>o&&(a=Rr(t.min,t.max-o,i.min)),On(0,1,a)}function CO(t,i){const a={};return i.min!==void 0&&(a.min=i.min-t.min),i.max!==void 0&&(a.max=i.max-t.min),a}const eh=.35;function RO(t=eh){return t===!1?t=0:t===!0&&(t=eh),{x:yv(t,"left","right"),y:yv(t,"top","bottom")}}function yv(t,i,a){return{min:xv(t,i),max:xv(t,a)}}function xv(t,i){return typeof t=="number"?t:t[i]||0}const MO=new WeakMap;class DO{constructor(i){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=at(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:a=!1,distanceThreshold:r}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const u=v=>{a&&this.snapToCursor(Ur(v).point),this.stopAnimation()},h=(v,b)=>{const{drag:j,dragPropagation:S,onDragStart:E}=this.getProps();if(j&&!S&&(this.openDragLock&&this.openDragLock(),this.openDragLock=s3(j),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),An(N=>{let _=this.getAxisMotionValue(N).get()||0;if(Rn.test(_)){const{projection:M}=this.visualElement;if(M&&M.layout){const z=M.layout.layoutBox[N];z&&(_=Tt(z)*(parseFloat(_)/100))}}this.originPoint[N]=_}),E&&Pe.update(()=>E(v,b),!1,!0),Yd(this.visualElement,"transform");const{animationState:A}=this.visualElement;A&&A.setActive("whileDrag",!0)},m=(v,b)=>{this.latestPointerEvent=v,this.latestPanInfo=b;const{dragPropagation:j,dragDirectionLock:S,onDirectionLock:E,onDrag:A}=this.getProps();if(!j&&!this.openDragLock)return;const{offset:N}=b;if(S&&this.currentDirection===null){this.currentDirection=_O(N),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",b.point,N),this.updateAxis("y",b.point,N),this.visualElement.render(),A&&Pe.update(()=>A(v,b),!1,!0)},g=(v,b)=>{this.latestPointerEvent=v,this.latestPanInfo=b,this.stop(v,b),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>{const{dragSnapToOrigin:v}=this.getProps();(v||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:y}=this.getProps();this.panSession=new gS(i,{onSessionStart:u,onStart:h,onMove:m,onSessionEnd:g,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:r,contextWindow:pS(this.visualElement),element:this.visualElement.current})}stop(i,a){const r=i||this.latestPointerEvent,o=a||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!o||!r)return;const{velocity:h}=o;this.startAnimation(h);const{onDragEnd:m}=this.getProps();m&&Pe.postRender(()=>m(r,o))}cancel(){this.isDragging=!1;const{projection:i,animationState:a}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(i,a,r){const{drag:o}=this.getProps();if(!r||!fo(i,o,this.currentDirection))return;const u=this.getAxisMotionValue(i);let h=this.originPoint[i]+r[i];this.constraints&&this.constraints[i]&&(h=jO(h,this.constraints[i],this.elastic[i])),u.set(h)}resolveConstraints(){const{dragConstraints:i,dragElastic:a}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;i&&na(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&r?this.constraints=EO(r.layoutBox,i):this.constraints=!1,this.elastic=RO(a),o!==this.constraints&&!na(i)&&r&&this.constraints&&!this.hasMutatedConstraints&&An(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=CO(r.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:a}=this.getProps();if(!i||!na(i))return!1;const r=i.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;o.root&&(o.root.scroll=void 0,o.root.updateScroll());const u=_3(r,o.root,this.visualElement.getTransformPagePoint());let h=AO(o.layout.layoutBox,u);if(a){const m=a(M3(h));this.hasMutatedConstraints=!!m,m&&(h=Bw(m))}return h}startAnimation(i){const{drag:a,dragMomentum:r,dragElastic:o,dragTransition:u,dragSnapToOrigin:h,onDragTransitionEnd:m}=this.getProps(),g=this.constraints||{},p=An(y=>{if(!fo(y,a,this.currentDirection))return;let v=g&&g[y]||{};(h===!0||h===y)&&(v={min:0,max:0});const b=o?200:1e6,j=o?40:1e7,S={type:"inertia",velocity:r?i[y]:0,bounceStiffness:b,bounceDamping:j,timeConstant:750,restDelta:1,restSpeed:10,...u,...v};return this.startAxisValueAnimation(y,S)});return Promise.all(p).then(m)}startAxisValueAnimation(i,a){const r=this.getAxisMotionValue(i);return Yd(this.visualElement,i),r.start(Hh(i,r,0,a,this.visualElement,!1))}stopAnimation(){An(i=>this.getAxisMotionValue(i).stop())}getAxisMotionValue(i){const a=`_drag${i.toUpperCase()}`,o=this.visualElement.getProps()[a];return o||this.visualElement.getValue(i,this.visualElement.latestValues[i]??0)}snapToCursor(i){An(a=>{const{drag:r}=this.getProps();if(!fo(a,r,this.currentDirection))return;const{projection:o}=this.visualElement,u=this.getAxisMotionValue(a);if(o&&o.layout){const{min:h,max:m}=o.layout.layoutBox[a],g=u.get()||0;u.set(i[a]-Be(h,m,.5)+g)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:a}=this.getProps(),{projection:r}=this.visualElement;if(!na(a)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};An(h=>{const m=this.getAxisMotionValue(h);if(m&&this.constraints!==!1){const g=m.get();o[h]=NO({min:g,max:g},this.constraints[h])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),An(h=>{if(!fo(h,i,null))return;const m=this.getAxisMotionValue(h),{min:g,max:p}=this.constraints[h];m.set(Be(g,p,o[h]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;MO.set(this.visualElement,this);const i=this.visualElement.current,a=jr(i,"pointerdown",p=>{const{drag:y,dragListener:v=!0}=this.getProps(),b=p.target,j=b!==i&&u3(b);y&&v&&!j&&this.start(p)});let r;const o=()=>{const{dragConstraints:p}=this.getProps();na(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),r||(r=OO(i,p.current,()=>this.scalePositionWithinConstraints())))},{projection:u}=this.visualElement,h=u.addEventListener("measure",o);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),Pe.read(o);const m=Or(window,"resize",()=>this.scalePositionWithinConstraints()),g=u.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:y})=>{this.isDragging&&y&&(An(v=>{const b=this.getAxisMotionValue(v);b&&(this.originPoint[v]+=p[v].translate,b.set(b.get()+p[v].translate))}),this.visualElement.render())}));return()=>{m(),a(),h(),g&&g(),r&&r()}}getProps(){const i=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:u=!1,dragElastic:h=eh,dragMomentum:m=!0}=i;return{...i,drag:a,dragDirectionLock:r,dragPropagation:o,dragConstraints:u,dragElastic:h,dragMomentum:m}}}function vv(t){let i=!0;return()=>{if(i){i=!1;return}t()}}function OO(t,i,a){const r=Ax(t,vv(a)),o=Ax(i,vv(a));return()=>{r(),o()}}function fo(t,i,a){return(i===!0||i===t)&&(a===null||a===t)}function _O(t,i=10){let a=null;return Math.abs(t.y)>i?a="y":Math.abs(t.x)>i&&(a="x"),a}class zO extends Pi{constructor(i){super(i),this.removeGroupControls=on,this.removeListeners=on,this.controls=new DO(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||on}update(){const{dragControls:i}=this.node.getProps(),{dragControls:a}=this.node.prevProps||{};i!==a&&(this.removeGroupControls(),i&&(this.removeGroupControls=i.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const cd=t=>(i,a)=>{t&&Pe.update(()=>t(i,a),!1,!0)};class kO extends Pi{constructor(){super(...arguments),this.removePointerDownListener=on}onPointerDown(i){this.session=new gS(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:pS(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:a,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:cd(i),onStart:cd(a),onMove:cd(r),onEnd:(u,h)=>{delete this.session,o&&Pe.postRender(()=>o(u,h))}}}mount(){this.removePointerDownListener=jr(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ud=!1;class LO extends T.Component{componentDidMount(){const{visualElement:i,layoutGroup:a,switchLayoutGroup:r,layoutId:o}=this.props,{projection:u}=i;u&&(a.group&&a.group.add(u),r&&r.register&&o&&r.register(u),ud&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ro.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:a,visualElement:r,drag:o,isPresent:u}=this.props,{projection:h}=r;return h&&(h.isPresent=u,i.layoutDependency!==a&&h.setOptions({...h.options,layoutDependency:a}),ud=!0,o||i.layoutDependency!==a||a===void 0||i.isPresent!==u?h.willUpdate():this.safeToRemove(),i.isPresent!==u&&(u?h.promote():h.relegate()||Pe.postRender(()=>{const m=h.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:i,layoutAnchor:a}=this.props,{projection:r}=i;r&&(r.options.layoutAnchor=a,r.root.didUpdate(),Fh.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:a,switchLayoutGroup:r}=this.props,{projection:o}=i;ud=!0,o&&(o.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function xS(t){const[i,a]=rS(),r=T.useContext(Ah);return f.jsx(LO,{...t,layoutGroup:r,switchLayoutGroup:T.useContext(hS),isPresent:i,safeToRemove:a})}const VO={pan:{Feature:kO},drag:{Feature:zO,ProjectionNode:aS,MeasureLayout:xS}};function bv(t,i,a){const{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover",a==="Start");const o="onHover"+a,u=r[o];u&&Pe.postRender(()=>u(i,Ur(i)))}class UO extends Pi{mount(){const{current:i}=this.node;i&&(this.unmount=r3(i,(a,r)=>(bv(this.node,r,"Start"),o=>bv(this.node,o,"End"))))}unmount(){}}class BO extends Pi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let i=!1;try{i=this.node.current.matches(":focus-visible")}catch{i=!0}!i||!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=kr(Or(this.node.current,"focus",()=>this.onFocus()),Or(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function wv(t,i,a){const{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap",a==="Start");const o="onTap"+(a==="End"?"":a),u=r[o];u&&Pe.postRender(()=>u(i,Ur(i)))}class PO extends Pi{mount(){const{current:i}=this.node;if(!i)return;const{globalTapTarget:a,propagate:r}=this.node.props;this.unmount=d3(i,(o,u)=>(wv(this.node,u,"Start"),(h,{success:m})=>wv(this.node,h,m?"End":"Cancel")),{useGlobalTarget:a,stopPropagation:r?.tap===!1})}unmount(){}}const th=new WeakMap,fd=new WeakMap,HO=t=>{const i=th.get(t.target);i&&i(t)},qO=t=>{t.forEach(HO)};function GO({root:t,...i}){const a=t||document;fd.has(a)||fd.set(a,{});const r=fd.get(a),o=JSON.stringify(i);return r[o]||(r[o]=new IntersectionObserver(qO,{root:t,...i})),r[o]}function YO(t,i,a){const r=GO(i);return th.set(t,a),r.observe(t),()=>{th.delete(t),r.unobserve(t)}}const FO={some:0,all:1};class XO extends Pi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:i={}}=this.node.getProps(),{root:a,margin:r,amount:o="some",once:u}=i,h={root:a?a.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:FO[o]},m=g=>{const{isIntersecting:p}=g;if(this.isInView===p||(this.isInView=p,u&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:y,onViewportLeave:v}=this.node.getProps(),b=p?y:v;b&&b(g)};this.stopObserver=YO(this.node.current,h,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:a}=this.node;["amount","margin","root"].some(QO(i,a))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function QO({viewport:t={}},{viewport:i={}}={}){return a=>t[a]!==i[a]}const KO={inView:{Feature:XO},tap:{Feature:PO},focus:{Feature:BO},hover:{Feature:UO}},ZO={layout:{ProjectionNode:aS,MeasureLayout:xS}},IO={...vO,...KO,...VO,...ZO},Ze=mO(IO,pO),nm="/assets/clean_white_enterprise_saas_hero_background_with_subtle_data_waves-DxzsbpSF.png";function $O(){const[t,i]=T.useState(0);return T.useEffect(()=>{const a=setInterval(()=>{i(r=>(r+1)%3)},4e3);return()=>clearInterval(a)},[]),f.jsxs("section",{className:"relative min-h-[90vh] flex items-center pt-32 pb-20 overflow-hidden bg-white text-slate-900",children:[f.jsxs("div",{className:"absolute inset-0 z-0",children:[f.jsx("img",{src:nm,alt:"Abstract Data Backgroun
17d",className:"w-full h-full object-cover opacity-60"}),f.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-white/95 via-white/50 to-white/90"})]}),f.jsxs("div",{className:"container mx-auto px-6 relative z-10 grid grid-cols-1 lg:grid-cols-2 gap-16 items-center",children:[f.jsxs(Ze.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-2xl",children:[f.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-slate-100 border border-slate-200 text-slate-700 text-xs font-semibold uppercase tracking-wider mb-8 shadow-sm",children:[f.jsx("span",{className:"w-2 h-2 rounded-full bg-green-500 animate-pulse"}),"AI-Driven ESG Platform"]}),f.jsxs("h1",{className:"text-4xl md:text-6xl font-display font-bold leading-tight mb-6 text-slate-900 text-balance",children:["AI-Driven ESG, ",f.jsx("br",{}),"Carbon Accounting & ",f.jsx("br",{}),f.jsx("span",{className:"text-primary",children:"Net-Zero Platform"})]}),f.jsx("p",{className:"text-lg md:text-xl text-slate-600 mb-10 leading-relaxed max-w-lg font-medium",children:"Automate sustainability data, streamline compliance, scale decarbonization, and accelerate strategic decision-making â all in one unified AI-led platform."}),f.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 mb-12",children:[f.jsxs(Xt,{size:"lg",className:"rounded-full bg-primary hover:bg-primary/90 text-white px-8 h-12 text-base shadow-xl shadow-primary/20",onClick:()=>window.open("https://calendly.com/abhimanyu-riu/30min","_blank"),children:["Book a Demo ",f.jsx(nc,{className:"ml-2 w-4 h-4"})]}),f.jsxs(Xt,{size:"lg",variant:"outline",className:"rounded-full bg-white border-slate-200 hover:bg-slate-50 text-slate-700 px-8 h-12 text-base shadow-sm",children:[f.jsx(Lb,{className:"mr-2 w-4 h-4 text-primary"})," Watch Demo"]})]}),f.jsxs("div",{className:"grid grid-cols-2 gap-y-3 gap-x-6 text-sm text-slate-600 font-medium",children:[f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx(ho,{})," Real-time ESG analytics"]}),f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx(ho,{})," Audit-ready carbon accounting"]}),f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx(ho,{})," Built-in AI chatbot (RIU Sense)"]}),f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx(ho,{})," Supplier risk intelligence"]})]})]}),f.jsxs(Ze.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.8,delay:.2},className:"relative hidden lg:block h-[500px]",children:[f.jsxs("div",{className:"absolute inset-0 bg-white/60 backdrop-blur-3xl rounded-[2.5rem] border border-white/50 shadow-2xl overflow-hidden",children:[f.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-white/80 to-slate-50/80 z-0"}),f.jsxs("div",{className:"relative z-10 p-8 h-full flex flex-col",children:[f.jsxs("div",{className:"flex items-center justify-between mb-8",children:[f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx("div",{className:"w-8 h-8 bg-primary rounded-lg flex items-center justify-center text-white",children:f.jsx(eN,{className:"w-5 h-5"})}),f.jsx("span",{className:"font-bold text-slate-900",children:"Enterprise Overview"})]}),f.jsxs("div",{className:"flex gap-2",children:[f.jsx("div",{className:`w-2 h-2 rounded-full ${t===0?"bg-primary":"bg-slate-300"}`}),f.jsx("div",{className:`w-2 h-2 rounded-full ${t===1?"bg-primary":"bg-slate-300"}`}),f.jsx("div",{className:`w-2 h-2 rounded-full ${t===2?"bg-primary":"bg-slate-300"}`})]})]}),f.jsx("div",{className:"relative flex-grow",children:f.jsxs(Jh,{mode:"wait",children:[t===0&&f.jsx(WO,{},"d1"),t===1&&f.jsx(JO,{},"d2"),t===2&&f.jsx(e6,{},"d3")]})})]})]}),f.jsx("div",{className:"absolute -z-10 top-20 -right-20 w-80 h-80 bg-primary/20 rounded-full blur-[100px]"}),f.jsx("div",{className:"absolute -z-10 -bottom-20 -left-20 w-80 h-80 bg-blue-400/20 rounded-full blur-[100px]"})]})]})]})}function ho(){return f.jsx("div",{className:"w-5 h-5 rounded-full bg-green-100 flex items-center justify-center text-green-600 shrink-0",children:f.jsx("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M1 4L3.5 6.5L9 1",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})}function WO(){return f.jsxs(Ze.div,{initial:{opacity:0,y:20}
17,animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.5},className:"h-full grid grid-cols-2 gap-4",children:[f.jsxs("div",{className:"bg-white rounded-xl p-4 shadow-sm border border-slate-100 col-span-2",children:[f.jsxs("div",{className:"flex justify-between items-end mb-4",children:[f.jsxs("div",{children:[f.jsx("div",{className:"text-slate-500 text-xs uppercase font-bold tracking-wider mb-1",children:"Total Emissions"}),f.jsxs("div",{className:"text-3xl font-bold text-slate-900",children:["12,450 ",f.jsx("span",{className:"text-sm font-medium text-slate-400",children:"tCO2e"})]})]}),f.jsx("div",{className:"text-green-600 bg-green-50 px-2 py-1 rounded text-xs font-bold",children:"-12% YoY"})]}),f.jsx("div",{className:"h-2 bg-slate-100 rounded-full overflow-hidden",children:f.jsx("div",{className:"h-full w-[70%] bg-primary rounded-full"})})]}),f.jsxs("div",{className:"bg-white rounded-xl p-4 shadow-sm border border-slate-100",children:[f.jsxs("div",{className:"flex items-center gap-2 mb-2 text-slate-500 text-xs font-bold uppercase",children:[f.jsx(br,{className:"w-4 h-4"})," Scope 1"]}),f.jsx("div",{className:"text-xl font-bold text-slate-900",children:"4,200"})]}),f.jsxs("div",{className:"bg-white rounded-xl p-4 shadow-sm border border-slate-100",children:[f.jsxs("div",{className:"flex items-center gap-2 mb-2 text-slate-500 text-xs font-bold uppercase",children:[f.jsx(qb,{className:"w-4 h-4"})," Scope 2"]}),f.jsx("div",{className:"text-xl font-bold text-slate-900",children:"3,150"})]}),f.jsxs("div",{className:"bg-primary/5 rounded-xl p-4 shadow-sm border border-primary/10 col-span-2 flex items-center gap-4",children:[f.jsx("div",{className:"w-10 h-10 rounded-full bg-primary flex items-center justify-center text-white shrink-0",children:f.jsx(NA,{className:"w-5 h-5"})}),f.jsxs("div",{className:"text-sm",children:[f.jsx("span",{className:"font-bold text-slate-900",children:"RIU Insight:"})," High emission anomaly detected in Logistics Hub A. ",f.jsx("span",{className:"text-primary underline cursor-pointer",children:"View details"})]})]})]})}function JO(){return f.jsxs(Ze.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.5},className:"h-full flex flex-col gap-4",children:[f.jsxs("div",{className:"bg-white rounded-xl p-4 shadow-sm border border-slate-100 flex-grow",children:[f.jsx("div",{className:"text-slate-500 text-xs uppercase font-bold tracking-wider mb-4",children:"Emissions by Facility"}),f.jsx("div",{className:"space-y-3",children:[{name:"Bangalore HQ",val:75},{name:"Mumbai Plant",val:45},{name:"Delhi Office",val:30}].map((t,i)=>f.jsxs("div",{children:[f.jsxs("div",{className:"flex justify-between text-sm mb-1",children:[f.jsx("span",{className:"font-medium text-slate-700",children:t.name}),f.jsxs("span",{className:"text-slate-500",children:[t.val,"%"]})]}),f.jsx("div",{className:"h-2 bg-slate-100 rounded-full overflow-hidden",children:f.jsx("div",{className:"h-full bg-blue-500 rounded-full",style:{width:`${t.val}%`}})})]},i))})]}),f.jsxs("div",{className:"bg-white rounded-xl p-4 shadow-sm border border-slate-100 flex items-center justify-between",children:[f.jsxs("div",{children:[f.jsx("div",{className:"text-xs text-slate-500 font-bold uppercase",children:"Data Quality"}),f.jsx("div",{className:"text-lg font-bold text-slate-900",children:"98.5% Verified"})]}),f.jsx(ph,{className:"w-8 h-8 text-green-500"})]})]})}function e6(){return f.jsxs(Ze.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.5},className:"h-full grid grid-cols-2 gap-4",children:[f.jsxs("div",{className:"bg-white rounded-xl p-4 shadow-sm border border-slate-100 col-span-2",children:[f.jsx("div",{className:"text-slate-500 text-xs uppercase font-bold tracking-wider mb-2",children:"Net Zero Trajectory"}),f.jsx("div",{className:"h-24 flex items-end gap-2",children:[30,45,35,60,50,70,40].map((t,i)=>f.jsx("div",{className:"flex-1 bg-gradient-to-t from-primary/20 to-primary rounded-t-sm",style:{height:`${t}%`}},i))})]}),f.jsx("div",{className:"bg-white rounded-xl p-4 shadow-sm border border-slate-100 col-span-2",children:f.jsxs("div",{className:"flex items-start gap-3",children:[f.jsx("div",{className:"p-2 bg-purple-100 text-purple-600 rounded-lg",children:f.jsx(Oo,{className:"w-5 h-5"})}),f.jsxs("div",{children:[f.jsx("div",{className:"font-bold text-slate-900",children:"BRSR Report Ready"}),f.jsx("div",{className:"text-xs text-slate-500",children:"Generated 2 mins ago"}),f.jsx(Xt,{size:"sm",variant:"outline",className:"mt-2 h-7 text-xs",children:"Download PDF"})]})]})})]})}const t6="/assets/image_1765776670591-CkfR0jRn.png",n6="/assets/image_1765776767853--YoRFItO.png",i6="/assets/image_1765776869529-BoRZpJQr.png",s6="/assets/image_1765776926399-DDdrtWbd.png",a6="/assets/image_1765776946449-DA4c_5vt.png",r6="/assets/image_1765776995782-Byg3sIvo.png",l6="/assets/image_1765777025382-DQa8uJyM.png",Sv=[{name:"Manipal Hospitals",src:t6,className:"h-12"},{name:"Kennametal",src:n6,className:"h-10"},{name:"Hosachiguru",src:a6,className:"h-10"},{name:"Popular Vehicles",src:i6,className:"h-12"},{name:"Brigade Group",src:l6,className:"h-14"},{name:"Time Technoplast",src:r6,className:"h-12"},{name:"Kamala Farms",src:s6,className:"h-16"}];function o6(){return f.jsxs("section",{className:"py-20 bg-slate-50 border-b border-border overflow-hidden",children:[f.jsx("div",{className:"container mx-auto px-6 text-center mb-16",children:f.jsx("h3",{className:"text-xl md:text-2xl font-bold text-slate-900",children:"Trusted by Industry Leaders"})}),f.jsxs("div",{className:"relative flex overflow-x-hidden group",children:[f.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-32 bg-gradient-to-r from-slate-50 to-transparent z-10 pointer-events-none"}),f.jsx("div",{className:"absolute right-0 top-0 bottom-0 w-32 bg-gradient-to-l from-slate-50 to-transparent z-10 pointer-events-none"}),f.jsxs("div",{className:"flex gap-32",children:[f.jsx("div",{className:"animate-marquee flex shrink-0 items-center justify-around ga
17p-32 min-w-full",children:Sv.map((t,i)=>f.jsx("div",{className:"transition-all duration-500 cursor-pointer transform hover:scale-105 flex items-center justify-center min-w-[240px]",children:f.jsx("img",{src:t.src,alt:t.name,className:Ue("w-auto h-16 md:h-20 object-contain mix-blend-multiply",t.className),loading:"lazy"})},`l1-${i}`))}),f.jsx("div",{className:"animate-marquee flex shrink-0 items-center justify-around gap-32 min-w-full",children:Sv.map((t,i)=>f.jsx("div",{className:"transition-all duration-500 cursor-pointer transform hover:scale-105 flex items-center justify-center min-w-[240px]",children:f.jsx("img",{src:t.src,alt:t.name,className:Ue("w-auto h-16 md:h-20 object-contain mix-blend-multiply",t.className),loading:"lazy"})},`l2-${i}`))})]})]}),f.jsx("style",{children:` 18 @keyframes marquee { 19 0% { transform: translateX(0); } 20 100% { transform: translateX(-100%); } 21 } 22 .animate-marquee { 23 animation: marquee 60s linear infinite; 24 } 25 /* Pause on hover */ 26 .group:hover .animate-marquee { 27 animation-play-state: paused; 28 } 29 `})]})}function c6(){return f.jsx("section",{className:"py-24 bg-white border-b border-border overflow-hidden",children:f.jsx("div",{className:"container mx-auto px-6",children:f.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[f.jsxs("div",{children:[f.jsx("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-red-50 text-red-600 text-xs font-bold uppercase tracking-wider mb-6",children:"The Challenge"}),f.jsxs("h2",{className:"text-3xl md:text-4xl font-display font-bold text-slate-900 mb-6 leading-tight",children:["Is Your ESG Data Trapped in ",f.jsx("br",{}),f.jsx("span",{className:"text-red-600",children:"Silos & Spreadsheets?"})]}),f.jsx("p",{className:"text-lg text-slate-600 mb-8 leading-relaxed",children:"Manual data collection, disconnected systems, and audit nightmares are slowing down your sustainability goals."}),f.jsxs("div",{className:"space-y-6",children:[f.jsxs("div",{className:"flex items-start gap-4 p-4 bg-slate-50 rounded-xl border border-slate-100",children:[f.jsx("div",{className:"w-10 h-10 bg-red-100 rounded-lg flex items-center justify-center text-red-600 shrink-0",children:f.jsx(GA,{className:"w-5 h-5"})}),f.jsxs("div",{children:[f.jsx("div",{className:"font-bold text-slate-900 text-lg",children:"80%"}),f.jsx("div",{className:"text-slate-600 text-sm",children:"ESG data stuck in PDFs & Excel"})]})]}),f.jsxs("div",{className:"flex items-center gap-2 text-slate-500 text-sm pl-2",children:[f.jsx(nc,{className:"w-4 h-4 rotate-90"})," Disconnected workflows lead to compliance risks"]})]})]}),f.jsxs("div",{className:"relative",children:[f.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 to-secondary/5 rounded-3xl -z-10 transform rotate-3"}),f.jsxs("div",{className:"bg-white p-8 md:p-10 rounded-3xl border border-slate-200 shadow-xl",children:[f.jsx("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-green-50 text-green-600 text-xs font-bold uppercase tracking-wider mb-6",children:"The Solution"}),f.jsx("h3",{className:"text-2xl font-bold text-slate-900 mb-4",children:"One Unified Intelligence Layer"}),f.jsxs("div",{className:"grid gap-6",children:[f.jsxs("div",{className:"flex items-center gap-4",children:[f.jsx("div",{className:"w-12 h-12 bg-green-100 rounded-full flex items-center justify-center text-green-600 shrink-0",children:f.jsx(kA,{className:"w-6 h-6"})}),f.jsxs("div",{children:[f.jsx("div",{className:"font-bold text-slate-900 text-lg",children:"100% Traceable"}),f.jsx("div",{className:"text-slate-600 text-sm",children:"Audit-ready data trails for every metric"})]})]}),f.jsxs("div",{className:"flex items-center gap-4",children:[f.jsx("div",{className:"w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center text-blue-600 shrink-0",children:f.jsx(qb,{className:"w-6 h-6"})}),f.jsxs("div",{children:[f.jsx("div",{className:"font-bold text-slate-900 text-lg",children:"10x Faster"}),f.jsx("div",{className:"text-slate-600 text-sm",children:"From raw data to disclosure reports"})]})]}),f.jsxs("div",{className:"flex items-center gap-4",children:[f.jsx("div",{className:"w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center text-purple-600 shrink-0",children:f.jsx(Ub,{className:"w-6 h-6"})}),f.jsxs("div",{children:[f.jsx("div",{className:"font-bold text-slate-900 text-lg",children:"Real-time Sync"}),f.jsx("div",{className:"text-slate-600 text-sm",children:"Connects with ERP, IoT, and APIs"})]})]})]})]})]})]})})})}const dd=["BILLS","ERP","IOT","API","DOCS","CSV"],hd=["BRSR","ESG","GHG","CSRD","CDP","GRI"];function u6(){return f.jsx("section",{className:"py-24 bg-slate-50 border-b border-border overflow-hidden",children:f.jsxs("div",{className:"container mx-auto px-6",children:[f.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-20",children:[f.jsx("div",{className:"text-primary font-bold tracking-widest text-sm uppercase mb-2",children:"AI Ã Sustainability"}),f.jsxs("h2",{className:"text-4xl md:text-5xl font-display font-bold text-slate-900 mb-6",children:["BUILT FOR ",f.jsx("br",{})," ENTERPRISE ESG."]}),f.jsx("p",{className:"text-slate-600 text-lg max-w-2xl mx-auto",children:"RIU.ai ingests scattered ESG data; centralizes it into a single source of truth;
29 provides analytics, benchmarking, and reduction insights; and automates reporting."})]}),f.jsxs("div",{className:"relative max-w-6xl mx-auto hidden lg:flex justify-center items-center min-h-[500px] gap-0",children:[f.jsxs("div",{className:"flex flex-col gap-6 w-40 relative z-10 py-10",children:[f.jsx("div",{className:"absolute -top-8 left-0 right-0 text-center text-xs font-bold text-slate-400 uppercase tracking-widest",children:"INPUTS"}),dd.map((t,i)=>f.jsxs(Ze.div,{initial:{x:-20,opacity:0},whileInView:{x:0,opacity:1},transition:{delay:i*.1},className:"h-12 bg-white border border-slate-200 rounded flex items-center justify-center text-sm font-bold text-slate-700 shadow-sm relative group hover:border-primary/50 transition-colors",children:[t,f.jsx("div",{className:"absolute -right-1.5 top-1/2 w-3 h-3 bg-slate-200 rounded-full border-2 border-white translate-y-[-50%] z-10 group-hover:bg-primary transition-colors"})]},i))]}),f.jsxs("div",{className:"w-[600px] relative shrink-0 self-stretch",children:[f.jsxs("svg",{className:"absolute inset-0 w-full h-full overflow-visible pointer-events-none",children:[f.jsx("defs",{children:f.jsxs("linearGradient",{id:"line-gradient",x1:"0",y1:"0",x2:"100%",y2:"0",children:[f.jsx("stop",{offset:"0%",stopColor:"#cbd5e1",stopOpacity:"0.5"}),f.jsx("stop",{offset:"50%",stopColor:"#3b82f6",stopOpacity:"1"}),f.jsx("stop",{offset:"100%",stopColor:"#cbd5e1",stopOpacity:"0.5"})]})}),dd.map((t,i)=>{const a=40+i*72+24,r=250,u=600/2;return f.jsxs("g",{children:[f.jsx(Ze.path,{d:`M 0,${a} C 100,${a} 100,${r} ${u-60},${r}`,fill:"none",stroke:"#cbd5e1",strokeWidth:"1.5"}),f.jsx(Ze.circle,{r:"3",fill:"#3b82f6",children:f.jsx("animateMotion",{dur:`${2+i*.5}s`,repeatCount:"indefinite",path:`M 0,${a} C 100,${a} 100,${r} ${u-60},${r}`})})]},`in-${i}`)}),hd.map((t,i)=>{const r=40+i*72+24,o=600,u=o/2;return f.jsxs("g",{children:[f.jsx(Ze.path,{d:`M ${u+60},250 C ${o-100},250 ${o-100},${r} ${o},${r}`,fill:"none",stroke:"#cbd5e1",strokeWidth:"1.5"}),f.jsx(Ze.circle,{r:"3",fill:"#10b981",children:f.jsx("animateMotion",{dur:`${2.5+i*.5}s`,repeatCount:"indefinite",path:`M ${u+60},250 C ${o-100},250 ${o-100},${r} ${o},${r}`})})]},`out-${i}`)})]}),f.jsxs("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-72 h-36 bg-white rounded-xl shadow-2xl flex flex-col items-center justify-center text-slate-900 z-20 border border-slate-200",children:[f.jsx("div",{className:"absolute -left-3 top-1/2 -translate-y-1/2 w-6 h-12 bg-white rounded-l border-y border-l border-slate-200"}),f.jsx("div",{className:"absolute -right-3 top-1/2 -translate-y-1/2 w-6 h-12 bg-white rounded-r border-y border-r border-slate-200"}),f.jsx("div",{className:"flex flex-col items-center gap-3 mb-2",children:f.jsx("img",{src:Bo,alt:"RIU.ai",className:"h-10 w-auto object-contain"})}),f.jsxs("div",{className:"flex items-center gap-2 mt-1",children:[f.jsx("span",{className:"w-2 h-2 bg-green-500 rounded-full animate-pulse"}),f.jsx("span",{className:"text-[10px] text-slate-500 uppercase tracking-widest font-semibold",children:"Processing Live Data"})]})]})]}),f.jsxs("div",{className:"flex flex-col gap-6 w-40 relative z-10 py-10",children:[f.jsx("div",{className:"absolute -top-8 left-0 right-0 text-center text-xs font-bold text-slate-400 uppercase tracking-widest",children:"OUTPUTS"}),hd.map((t,i)=>f.jsxs(Ze.div,{initial:{x:20,opacity:0},whileInView:{x:0,opacity:1},transition:{delay:i*.1},className:"h-12 bg-white border border-slate-200 rounded flex items-center justify-center text-sm font-bold text-slate-700 shadow-sm relative group hover:border-green-500/50 transition-colors",children:[f.jsx("div",{className:"absolute -left-1.5 top-1/2 w-3 h-3 bg-slate-200 rounded-full border-2 border-white translate-y-[-50%] z-10 group-hover:bg-green-500 transition-colors"}),t]},i))]})]}),f.jsxs("div",{className:"lg:hidden flex flex-col items-center gap-8 max-w-sm mx-auto",children:[f.jsxs("div",{className:"w-full space-y-3",children:[f.jsx("div",{className:"text-center text-xs font-bold text-slate-400 uppercase tracking-widest mb-2",children:"INPUTS"}),f.jsx("div",{className:"grid grid-cols-2 gap-3",children:dd.map((t,i)=>f.jsx("div",{className:"p-3 bg-white border border-slate-200 rounded text-center text-sm font-bold text-slate-700",children:t},i))})]}),f.jsx("div",{className:"w-full bg-white rounded-xl p-6 text-center text-slate-900 shadow-xl relative overflow-hidden border border-slate-200",children:f.jsxs("div",{className:"flex flex-col items-center gap-3 relative z-10",children:[f.jsx("img",{src:Bo,alt:"RIU.ai",className:"h-12 w-auto object-contain mb-2"}),f.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-slate-100 text-[10px] font-bold uppercase tracking-wider text-slate-500",children:[f.jsx("span",{className:"w-1.5 h-1.5 bg-green-500 rounded-full animate-pulse"})," Live"]})]})}),f.jsxs("div",{className:"w-full space-y-3",children:[f.jsx("div",{className:"text-center text-xs font-bold text-slate-400 uppercase tracking-widest mb-2",children:"OUTPUTS"}),f.jsx("div",{className:"grid grid-cols-2 gap-3",children:hd.map((t,i)=>f.jsx("div",{className:"p-3 bg-white border border-slate-200 rounded text-center text-sm font-bold text-slate-700",children:t},i))})]})]})]})})}const Tv=[{name:"BRSR",desc:"India (SEBI)",icon:f.jsx(Oo,{className:"w-5 h-5 text-blue-600"}),borderColor:"border-blue-200",bg:"bg-blue-50"},{name:"GRI",desc:"Global Reporting Initiative",icon:f.jsx(br,{className:"w-5 h-5 text-orange-600"}),borderColor:"border-orange-200",bg:"bg-orange-50"},{name:"SASB",desc:"Sustainability Accounting",icon:f.jsx(gN,{className:"w-5 h-5 text-emerald-600"}),borderColor:"border-emerald-200",bg:"bg-emerald-50"},{name:"TCFD",desc:"Climate-related Financial Disclosures",icon:f.jsx(Do,{
29className:"w-5 h-5 text-indigo-600"}),borderColor:"border-indigo-200",bg:"bg-indigo-50"},{name:"CSRD",desc:"Corporate Sustainability (EU)",icon:f.jsx(EA,{className:"w-5 h-5 text-purple-600"}),borderColor:"border-purple-200",bg:"bg-purple-50"},{name:"ISSB",desc:"International Sustainability Standards",icon:f.jsx(br,{className:"w-5 h-5 text-cyan-600"}),borderColor:"border-cyan-200",bg:"bg-cyan-50"},{name:"GHG Protocol",desc:"Scope 1, 2 & 3 Emissions",icon:f.jsx(_o,{className:"w-5 h-5 text-green-600"}),borderColor:"border-green-200",bg:"bg-green-50"},{name:"UN SDGs",desc:"Sustainable Development Goals",icon:f.jsx(br,{className:"w-5 h-5 text-rose-600"}),borderColor:"border-rose-200",bg:"bg-rose-50"},{name:"ISO 14064",desc:"Carbon Accounting",icon:f.jsx(Ub,{className:"w-5 h-5 text-slate-600"}),borderColor:"border-slate-200",bg:"bg-slate-50"},{name:"CDP",desc:"Carbon Disclosure Project",icon:f.jsx(Do,{className:"w-5 h-5 text-teal-600"}),borderColor:"border-teal-200",bg:"bg-teal-50"},{name:"Net-Zero",desc:"SBTi Aligned Targets",icon:f.jsx(_o,{className:"w-5 h-5 text-lime-600"}),borderColor:"border-lime-200",bg:"bg-lime-50"}];function f6(){return f.jsxs("section",{className:"py-12 bg-slate-50 border-b border-border overflow-hidden",children:[f.jsx("div",{className:"container mx-auto px-6 text-center mb-10",children:f.jsx("h3",{className:"text-sm font-semibold text-slate-500 uppercase tracking-widest",children:"Global ESG Frameworks Supported"})}),f.jsxs("div",{className:"relative flex overflow-x-hidden group",children:[f.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-24 bg-gradient-to-r from-slate-50 to-transparent z-10 pointer-events-none"}),f.jsx("div",{className:"absolute right-0 top-0 bottom-0 w-24 bg-gradient-to-l from-slate-50 to-transparent z-10 pointer-events-none"}),f.jsxs("div",{className:"flex gap-12",children:[f.jsx("div",{className:"animate-marquee-slow flex shrink-0 items-center gap-12 min-w-full",children:Tv.map((t,i)=>f.jsxs("div",{className:Ue("flex items-center gap-4 px-6 py-4 rounded-xl border bg-white shadow-sm min-w-[280px]",t.borderColor),children:[f.jsx("div",{className:Ue("w-10 h-10 rounded-lg flex items-center justify-center shrink-0",t.bg),children:t.icon}),f.jsxs("div",{children:[f.jsx("div",{className:"font-bold text-slate-900 leading-tight",children:t.name}),f.jsx("div",{className:"text-xs text-slate-500 font-medium",children:t.desc})]})]},`f1-${i}`))}),f.jsx("div",{className:"animate-marquee-slow flex shrink-0 items-center gap-12 min-w-full",children:Tv.map((t,i)=>f.jsxs("div",{className:Ue("flex items-center gap-4 px-6 py-4 rounded-xl border bg-white shadow-sm min-w-[280px]",t.borderColor),children:[f.jsx("div",{className:Ue("w-10 h-10 rounded-lg flex items-center justify-center shrink-0",t.bg),children:t.icon}),f.jsxs("div",{children:[f.jsx("div",{className:"font-bold text-slate-900 leading-tight",children:t.name}),f.jsx("div",{className:"text-xs text-slate-500 font-medium",children:t.desc})]})]},`f2-${i}`))})]})]}),f.jsx("style",{children:` 30 @keyframes marquee { 31 0% { transform: translateX(0); } 32 100% { transform: translateX(-100%); } 33 } 34 .animate-marquee-slow { 35 animation: marquee 80s linear infinite; 36 } 37 /* Pause on hover */ 38 .group:hover .animate-marquee-slow { 39 animation-play-state: paused; 40 } 41 `})]})}const mo=[{id:"manufacturing",label:"Manufacturing",icon:f.jsx(PA,{className:"w-5 h-5"}),title:"Decarbonize Production & Supply Chain",description:"Track Scope 1 & 2 emissions across factories in real-time. Optimize energy usage and manage complex supply chain (Scope 3) data with audit-ready accuracy.",features:["Energy intensity monitoring","Waste & water management","Supply chain audit trails"],logos:["Kennametal","Time Technoplast"],color:"text-blue-600",bg:"bg-blue-50"},{id:"real-estate",label:"Real Estate",icon:f.jsx(kb,{className:"w-5 h-5"}),title:"Green Building & Embodied Carbon",description:"Manage portfolio-wide ESG performance. Track embodied carbon for new projects and operational emissions for existing assets to meet BRSR & GRI standards.",features:["Portfolio benchmarking","Construction waste tracking","Green certification data"],logos:["Brigade Group","Hosachiguru"],color:"text-emerald-600",bg:"bg-emerald-50"},{id:"healthcare",label:"Healthcare",icon:f.jsx(IA,{className:"w-5 h-5"}),title:"Sustainable Healthcare Operations",description:"Balance patient care with environmental responsibility. Track medical waste, energy efficie
41ncy in 24/7 facilities, and sustainable procurement.",features:["Biomedical waste tracking","Hospital energy audits","Compliance reporting"],logos:["Manipal Hospitals"],color:"text-red-500",bg:"bg-red-50"},{id:"bfsi",label:"BFSI",icon:f.jsx(WA,{className:"w-5 h-5"}),title:"Financed Emissions & Risk",description:"Measure financed emissions (Scope 3 Category 15). Assess climate risk in lending portfolios and generate investor-grade ESG disclosures.",features:["Portfolio carbon footprint","Climate risk assessment","Regulatory disclosure"],logos:["Muthoot FinCorp"],color:"text-purple-600",bg:"bg-purple-50"},{id:"automotive",label:"Automotive",icon:f.jsx(MA,{className:"w-5 h-5"}),title:"Fleet Electrification & Circularity",description:"Accelerate the transition to net-zero mobility. Track fleet emissions, plan EV transitions, and monitor end-of-life vehicle recycling.",features:["Fleet emission tracking","EV transition modelling","Material circularity"],logos:["Popular Vehicles"],color:"text-orange-600",bg:"bg-orange-50"},{id:"carbon-credit-monetization",label:"Carbon Credit Monetization",icon:f.jsx(_o,{className:"w-5 h-5"}),title:"Carbon Sequestration & Carbon Credits",description:"Turn climate-positive farming into measurable income with MRV-ready carbon sequestration measurement, verification, and trade-ready credits.",features:["Farm-level sequestration models","MRV-ready audit trails","Trade-ready credits"],logos:["Agribusiness","Landholders"],color:"text-emerald-700",bg:"bg-emerald-50",render:f.jsxs("div",{className:"mt-8 grid grid-cols-1 gap-6",children:[f.jsx("div",{className:"rounded-2xl border border-slate-200 bg-gradient-to-br from-slate-50 to-white p-6",children:f.jsxs("div",{className:"flex items-start gap-4",children:[f.jsx("div",{className:"h-11 w-11 rounded-2xl bg-primary/10 text-primary grid place-items-center ring-1 ring-primary/10","data-testid":"icon-solution-carbon-measure",children:f.jsx(Do,{
41className:"h-5 w-5"})}),f.jsxs("div",{className:"flex-1",children:[f.jsx("h4",{className:"text-lg font-bold text-slate-900","data-testid":"text-solution-carbon-measure-title",children:"Measure Carbon Sequestration"}),f.jsx("p",{className:"mt-2 text-slate-600 leading-relaxed","data-testid":"text-solution-carbon-measure-body",children:"RIU.ai calculates sequestration across agricultural land using farm-level inputs like crop patterns, land use, soil practices, and historical data."}),f.jsx("div",{className:"mt-4 flex flex-wrap gap-2",children:["Potential","Plot & farm impact","Progress over time"].map((t,i)=>f.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full bg-white border border-slate-200 px-3 py-1.5 text-xs font-bold text-slate-700","data-testid":`pill-solution-carbon-measure-${i}`,children:[f.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-emerald-500"}),t]},t))})]})]})}),f.jsx("div",{className:"rounded-2xl border border-slate-200 bg-gradient-to-br from-slate-50 to-white p-6",children:f.jsxs("div",{className:"flex items-start gap-4",children:[f.jsx("div",{className:"h-11 w-11 rounded-2xl bg-emerald-50 text-emerald-700 grid place-items-center ring-1 ring-emerald-100","data-testid":"icon-solution-carbon-verify",children:f.jsx(Bb,{className:"h-5 w-5"})}),f.jsxs("div",{className:"flex-1",children:[f.jsx("h4",{className:"text-lg font-bold text-slate-900","data-testid":"text-solution-carbon-verify-title",children:"Verify & Generate Carbon Credits"}),f.jsx("p",{className:"mt-2 text-slate-600 leading-relaxed","data-testid":"text-solution-carbon-verify-body",children:"Data is structured to support MRV requirements and convert verified sequestration outcomes into trade-ready credits aligned with leading voluntary market standards."}),f.jsx("div",{className:"mt-4 flex flex-wrap gap-2",children:["MRV-ready","Audit readiness","Standards alignment"].map((t,i)=>f.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full bg-slate-900 text-white px-3 py-1.5 text-xs font-bold uppercase tracking-widest","data-testid":`badge-solution-carbon-verify-${i}`,children:[f.jsx(ph,{className:"h-4 w-4"}),t]},t))})]})]})}),f.jsx("div",{className:"rounded-2xl border border-slate-200 bg-gradient-to-br from-slate-50 to-white p-6",children:f.jsxs("div",{className:"flex items-start gap-4",children:[f.jsx("div",{className:"h-11 w-11 rounded-2xl bg-amber-50 text-amber-800 grid place-items-center ring-1 ring-amber-100","data-testid":"icon-solution-carbon-trade",children:f.jsx(Vb,{className:"h-5 w-5"})}),f.jsxs("div",{className:"flex-1",children:[f.jsx("h4",{className:"text-lg font-bold text-slate-900","data-testid":"text-solution-carbon-trade-title",children:"Trade Carbon Credits"}),f.jsx("p",{className:"mt-2 text-slate-600 leading-relaxed","data-testid":"text-solution-carbon-trade-body",children:"Unlock a recurring income stream by listing credits with verified buyers, sustainability-focused enterprises, aggregators, and marketplaces."}),f.jsx("div",{className:"mt-4 grid grid-cols-1 sm:grid-cols-2 gap-2",children:["Verified corporate buyers","Sustainability-focused enterprises","Aggregators & marketplaces","Trade-ready credits"].map((t,i)=>f.jsxs("div",{className:"flex items-center justify-between rounded-xl border border-slate-200 bg-white px-3 py-2","data-testid":`row-solution-carbon-trade-${i}`,children:[f.jsx("span",{className:"text-sm font-semibold text-slate-700",children:t}),f.jsx("span",{className:"text-xs font-bold text-slate-400",children:"â"})]},t))})]})]})}),f.jsxs("div",{className:"rounded-2xl border border-slate-200 bg-slate-900 text-white p-6","data-testid":"card-solution-carbon-farmers",children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("div",{className:"h-10 w-10 rounded-2xl bg-white/10 grid place-items-center ring-1 ring-white/10","data-testid":"icon-solution-carbon-farmers",children:f.jsx(Pb,{className:"h-5 w-5"})}),f.jsx("div",{className:"text-base font-bold","data-testid":"text-solution-carbon-farmers-title",children:"Built for Farmers"})]}),f.jsx("p",{className:"mt-2 text-white/80","data-testid":"text-solution-carbon-farmers-body",children:"Simple onboarding on mobile/web, transparent dashboards, and clear insightsâmaking sustainability measurable, verifiable, and rewarding."})]})]})}];function d6(){const[t,i]=T.useState(mo[0].id),a=mo.find(r=>r.id===t)||mo[0];return f.jsx("section",{id:"solutions",className:"py-24 bg-white border-b border-border",children:f.jsxs("div",{className:"container mx-auto px-6",children:[f.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[f.jsx("h2",{className:"text-3xl md:text-4xl font-display font-bold text-slate-900 mb-4","data-testid":"text-solutions-title",children:"Solutions"}),f.jsx("p",{className:"text-slate-500 text-lg","data-testid":"text-solutions-subtitle",children:"Purpose-built solutions across industries and outcomes."})]}),f.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-8",children:[f.jsx("div",{className:"lg:col-span-4 flex flex-col gap-2",children:mo.map(r=>f.jsxs("button",{onClick:()=>i(r.id),className:Ue("flex items-center gap-4 p-4 rounded-xl text-left transition-all duration-300 border",t===r.i
41d?"bg-white border-primary/20 shadow-md transform scale-[1.02]":"border-transparent hover:bg-slate-50 hover:text-slate-900 text-slate-500"),"data-testid":`tab-solution-${r.id}`,children:[f.jsx("div",{className:Ue("w-10 h-10 rounded-lg flex items-center justify-center transition-colors",t===r.id?`${r.bg} ${r.color}`:"bg-slate-100 text-slate-400"),children:r.icon}),f.jsxs("span",{className:Ue("font-semibold text-lg",t===r.id?"text-slate-900":"text-slate-500"),children:["\\",r.label]}),t===r.id&&f.jsx(Ze.div,{layoutId:"active-solution-pill",className:"ml-auto w-1.5 h-1.5 rounded-full bg-primary"})]},r.id))}),f.jsx("div",{className:"lg:col-span-8",children:f.jsx(Jh,{mode:"wait",children:f.jsxs(Ze.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.3},className:"bg-white rounded-2xl p-8 md:p-12 border border-slate-100 shadow-xl min-h-[520px] flex flex-col justify-between relative overflow-hidden","data-testid":`panel-solution-${a.id}`,children:[f.jsx("div",{className:Ue("absolute top-0 right-0 w-64 h-64 rounded-bl-full opacity-5 pointer-events-none",a.bg)}),f.jsxs("div",{className:"relative z-10",children:[f.jsxs("div",{className:Ue("inline-flex items-center gap-2 px-3 py-1 rounded-full text-xs font-bold uppercase tracking-wider mb-6 border",a.bg,a.color,"border-current opacity-80"),"data-testid":"badge-solution-category",children:[a.icon,a.label]}),f.jsx("h3",{className:"text-2xl md:text-3xl font-display font-bold text-slate-900 mb-4","data-testid":"text-solution-title",children:a.title}),f.jsx("p",{className:"text-slate-600 text-lg leading-relaxed","data-testid":"text-solution-description",children:a.description}),f.jsx("div",{className:"mt-8 grid grid-cols-1 md:grid-cols-2 gap-4","data-testid":"grid-solution-features",children:a.features.map((r,o)=>f.jsxs("div",{className:"bg-slate-50 p-4 rounded-xl border border-slate-100 flex items-start gap-3","data-testid":`feature-solution-${a.id}-${o}`,children:[f.jsx("div",{className:`w-2 h-2 rounded-full mt-2 shrink-0 ${a.color.replace("text-","bg-")}`}),f.jsx("span",{className:"text-sm font-medium text-slate-700",children:r})]},o))}),a.render]}),f.jsxs("div",{className:"border-t border-slate-100 pt-8 flex flex-col sm:flex-row items-center justify-between gap-6 relative z-10",children:[f.jsx("div",{className:"text-sm text-slate-400 font-medium uppercase tracking-wider","data-testid":"text-solution-trust",children:"Trusted by leaders"}),f.jsx("div",{className:"flex flex-wrap gap-6 items-center","data-testid":"list-solution-trust",children:a.logos.map((r,o)=>f.jsx("span",{className:"text-slate-700 font-display font-bold text-lg","data-testid":`text-solution-logo-${o}`,children:r},o))})]})]},a.id)})})]})]})})}function h6(){return f.jsxs("section",{className:"py-24 bg-primary text-white relative overflow-hidden",children:[f.jsx("div",{className:"absolute inset-0 opacity-10 bg-[radial-gradient(#fff_1px,transparent_1px)] [background-size:16px_16px]"}),f.jsx("div",{className:"absolute top-0 right-0 w-96 h-96 bg-white/10 rounded-full blur-[100px] -translate-y-1/2 translate-x-1/2"}),f.jsx("div",{className:"absolute bottom-0 left-0 w-96 h-96 bg-black/10 rounded-full blur-[100px] translate-y-1/2 -translate-x-1/2"}),f.jsxs("div",{className:"container mx-auto px-6 relative z-10 text-center",children:[f.jsx("h2",{className:"text-3xl md:text-5xl font-display font-bold mb-6 text-balance",children:"Scale ESG & Net-Zero with Confidence"}),f.jsx("p",{className:"text-primary-foreground/80 text-lg md:text-xl mb-10 max-w-2xl mx-auto",children:"Join the platform that's powering the next generation of sustainable enterprises. Start your journey today."}),f.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[f.jsxs(Xt,{size:"lg",variant:"secondary",className:"h-14 px-8 text-lg rounded-full shadow-xl hover:shadow-2xl transition-all hover:-translate-y-1 font-semibold",onClick:()=>window.open("https://calendly.com/abhimanyu-riu/30min","_blank"),children:["Schedule a Demo ",f.jsx(nc,{className:"ml-2 w-5 h-5"})]}),f.jsxs(Xt,{size:"lg",variant:"outline",className:"h-14 px-8 text-lg rounded-full bg-transparent border-white text-white hover:bg-white/10",children:["Contact Sales ",f.jsx(Nd,{className:"ml-2 w-5 h-5"})]})]})]})]})}function m6(){return f.jsxs("div",{className:"min-h-screen bg-background text-foreground font-sans",children:[f.jsx(cc,{}),f.jsxs("main",{children:[f.jsx($O,{}),f.jsx(o6,{}),f.jsx(c6,{}),f.jsx(u6,{}),f.jsx(f6,{}),f.jsx(d6,{}),f.jsx(h6,{})]}),f.jsx(uc,{})]})}const p6="/assets/image_1765780055773-7urgEjNH.png",g6="/assets/image_1765780097315-CJhdTqLX.png",y6="/assets/image_1765780415497-DLOxKW5t.png",x6="/assets/image_1765780442167-yBtU2f1_.png",v6="/assets/image_1765780469822-Cn6iYOWc.png",b6="/assets/image_1765866275331-DPxkUxzu.png",w6="/assets/image_1765866294856-vvPkiV87.png",S6="/assets/image_1765866331005-CPbFk6aR.png",T6="/assets/image_1765866346971-CdUFUrjt.png",j6="/assets/image_1765866361969-FzLZZp9S.png",E6="/assets/news_gia_france-Bpjw1efN.png",jv=[{id:"about",label:"About Us"},{id:"founders",label:"Founders"},{id:"advisors",label:"Advisors"},{id:"careers",label:"Careers"},{id:"partners",label:"Partners"},{id:"news",label:"News"},{id:"contact",label:"Contact"}];function A6(){wj();const t=Sj(),[i,a]=T.useState("about");T.useEffect(()=>{const u=new URLSearchParams(t).get("tab");u&&jv.some(h=>h.id===u)&&a(u)},[t]);const r=o=>{a(o);const u=new URL(window.location.href);u.searchParams.set("tab",o),window.history.pushState({},"",u.toString())};return f.jsxs("div",{className:"min-h-screen bg-background text-foreground font-sans",children:[f.jsx(cc,{}),f.jsxs("main",{className:"pt-20",children:[f.jsxs("section",{className:"relative py-20 bg-slate-50 overflow-hidden border-b border-border",children:[f.jsx("div",{className:"absolute inset-0 z-0 opacity-40",children:f.jsx("img",{src:nm,alt:"Backgroun
41d",className:"w-full h-full object-cover"})}),f.jsxs("div",{className:"container mx-auto px-6 relative z-10",children:[f.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[f.jsxs("h1",{className:"text-4xl md:text-5xl font-display font-bold text-slate-900 mb-6 leading-tight",children:["Building the Intelligence Layer for ",f.jsx("br",{}),f.jsx("span",{className:"text-primary",children:"Sustainable Business"})]}),f.jsx("p",{className:"text-xl text-slate-600 leading-relaxed max-w-2xl mx-auto",children:"RIU.ai is an AI-driven ESG, carbon accounting, and net-zero intelligence platform designed for modern enterprises."})]}),f.jsx("div",{className:"flex flex-wrap justify-center gap-2 mt-12",children:jv.map(o=>f.jsx("button",{onClick:()=>r(o.id),className:Ue("px-6 py-3 rounded-full text-sm font-bold transition-all duration-200 border",i===o.id?"bg-primary text-white border-primary shadow-md":"bg-white text-slate-600 border-slate-200 hover:border-primary/50 hover:bg-slate-50"),children:o.label},o.id))})]})]}),f.jsx("div",{className:"min-h-[600px] bg-white",children:f.jsxs(Jh,{mode:"wait",children:[i==="about"&&f.jsx(Ze.section,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.3},className:"py-20",children:f.jsxs("div",{className:"container mx-auto px-6 grid md:grid-cols-2 gap-16 items-center",children:[f.jsxs("div",{children:[f.jsx("h2",{className:"text-3xl font-display font-bold text-slate-900 mb-6",children:"Our Approach"}),f.jsxs("div",{className:"space-y-6 text-slate-600 text-lg leading-relaxed",children:[f.jsx("p",{children:"Built at the intersection of technology, climate science, and enterprise data, RIU.ai enables companies to collect, analyze, and act on ESG and carbon data across operations, supply chains, and portfoliosâon one unified platform."}),f.jsx("p",{children:"Our approach is product-led, research-backed, and enterprise-ready, combining advanced AI, deep ESG frameworks, and strong academic partnerships to help businesses make sustainability a strategic advantageânot just a compliance exercise."})]})]}),f.jsx("div",{className:"bg-slate-50 p-8 rounded-2xl border border-border",children:f.jsxs("div",{className:"grid grid-cols-1 gap-6",children:[f.jsxs("div",{className:"flex gap-4",children:[f.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center text-primary shrink-0",children:f.jsx(kb,{})}),f.jsxs("div",{children:[f.jsx("h3",{className:"font-bold text-slate-900 mb-2",children:"Enterprise-Ready"}),f.jsx("p",{className:"text-slate-500",children:"Scalable, secure systems capable of handling multi-entity complexity and global compliance standards."})]})]}),f.jsxs("div",{className:"flex gap-4",children:[f.jsx("div",{className:"w-12 h-12 bg-secondary/10 rounded-lg flex items-center justify-center text-green-600 shrink-0",children:f.jsx(iN,{})}),f.jsxs("div",{children:[f.jsx("h3",{className:"font-bold text-slate-900 mb-2",children:"Product-Led"}),f.jsx("p",{className:"text-slate-500",children:"Intuitive, outcome-driven platform design that translates sustainability theory into execution."})]})]}),f.jsxs("div",{className:"flex gap-4",children:[f.jsx("div",{className:"w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center text-purple-600 shrink-0",children:f.jsx(QA,{})}),f.jsxs("div",{children:[f.jsx("h3",{className:"font-bold text-slate-900 mb-2",children:"Research-Backed"}),f.jsx("p",{className:"text-slate-500",children:"Deep academic partnerships and R&D collaboration ensuring methodological rigor."})]})]})]})})]})},"about"),i==="founders"&&f.jsx(Ze.section,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.3},className:"py-20 bg-slate-50",children:f.jsx("div",{className:"container mx-auto px-6",children:f.jsxs("div",{className:"grid md:grid-cols-2 gap-12 max-w-5xl mx-auto",children:[f.jsxs("div",{className:"bg-white p-8 rounded-2xl border border-border shadow-sm hover:shadow-md transition-shadow",children:[f.jsxs("div",{className:"flex flex-col sm:flex-row gap-6 items-start mb-6",children:[f.jsx("img",{src:p6,alt:"Sharique Zia",className:"w-24 h-24 rounded-full object-cover border border-slate-100 shadow-sm shrink-0"}),f.jsx("div",{className:"flex-1 w-full",children:f.jsxs("div",{className:"flex justify-between items-start",children:[f.jsxs("div",{children:[f.jsx("h3",{className:"text-2xl font-bold text-slate-900",children:"Sharique Zia"}),f.jsx("div",{className:"text-primary font-medium",children:"Co-Founder"})]}),f.jsx("a",{href:"https://www.linkedin.com/in/sharique-zia",target:"_blank",rel:"noopener noreferrer",className:"text-slate-400 hover:text-[#0077b5] transition-colors",children:f.jsx(ia,{className:"w-6 h-6"})})]})})]}),f.jsx("p",{className:"text-slate-600 mb-6 leading-relaxed",children:"Shariqueâs journey sits at the crossroads of technology, systems thinking, and impact-led innovation. At RIU.ai, he brings a product architectâs mindsetâfocusing on building scalable, secure, and intelligent systems that enterprises can trust."}),f.jsx("p",{className:"text-slate-600 leading-relaxed",children:"His belief is simple: sustainability data should be as reliable, actionable, and real-time as financial data. This philosophy is deeply embedded in RIU.aiâs platform design, from audit trails to AI-driven insights."})]}),f.jsxs("div",{className:"bg-white p-8 rounded-2xl border border-border shadow-sm hover:shadow-md transition-shadow",children:[f.jsxs("div",{className:"flex flex-col sm:flex-row gap-6 items-start mb-6",children:[f.jsx("img",{src:g6,alt:"Abhimanyu Gaurav",className:"w-24 h-24 rounded-full object-cover border border-slate-100 shadow-sm shrink-0"}),f.jsx("div",{className:"flex-1 w-full",children:f.jsxs("div",{className:"flex justify-between items-start",children:[f.jsxs("div",{children:[f.jsx("h3",{className:"text-2xl font-bold text-slate-900",children:"Abhimanyu Gaurav"}),f.jsx("div",{className:"text-primary font-medium",children:"Co-Founder"})]}),f.jsx("a",{href:"https://www.linkedin.com/in/abhimanyu-gaurav-52b17010b",target:"_blank",rel:"noopener noreferrer",className:"text-slate-400 hover:text-[#0077b5] transition-colors",children:f.jsx(ia,{className:"w-6 h-6"})})]})})]}),f.jsx("p",{className:"text-slate-600 mb-6 leading-relaxed",children:"Abhimanyuâs path has been shaped by years of working across enterprise SaaS, business transformation, and customer-facing leadership roles. He believes ESG is not a checklist or a reportâit is a core indicator of business resilience."}),f.jsx("p",{className:"text-slate-600 leading-relaxed",children:"At RIU.ai, Abhimanyu focuses on translating sustainability from theory into execution by aligning ESG outcomes with business metrics, operational workflows, and leadership decision-making."})]})]})})},"founders"),i==="advisors"&&f.jsx(Ze.section,{initial:{opacity:0,y:10}
41,animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.3},className:"py-20",children:f.jsx("div",{className:"container mx-auto px-6",children:f.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:[{name:"Dr. Purandar Chakravarty",role:"Innovation, Strategy & Leadership Advisor",desc:"Seasoned thought leader helping align sustainability intelligence with leadership decision-making.",img:y6,linkedin:"https://www.linkedin.com/in/powertoimagine"},{name:"Dr. Mona Shah",role:"Sustainability & ESG Advisor",desc:"Expert in ESG frameworks, sustainability strategy, and stakeholder engagement.",img:x6,linkedin:"https://www.linkedin.com/in/dr-mona-n-shah-003924144/"},{name:"Balamurali Chandrasekhar",role:"Enterprise & Growth Advisor",desc:"Strong expertise in enterprise ecosystems, partnerships, and scaling technology-led solutions.",img:v6,linkedin:"https://www.linkedin.com/in/balamuralichandrasekhar/"}].map((o,u)=>f.jsxs("div",{className:"text-center group bg-slate-50 p-6 rounded-2xl border border-slate-100 hover:border-primary/20 transition-all flex flex-col items-center",children:[f.jsx("div",{className:"w-32 h-32 mx-auto rounded-full overflow-hidden mb-6 shadow-sm border border-slate-100 bg-white",children:f.jsx("img",{src:o.img,alt:o.name,className:"w-full h-full object-cover"})}),f.jsx("h3",{className:"font-bold text-slate-900 mb-2",children:o.name}),f.jsx("div",{className:"text-xs font-bold text-primary uppercase tracking-wider mb-4 h-8 flex items-center justify-center",children:o.role}),f.jsx("p",{className:"text-sm text-slate-500 leading-relaxed mb-6 flex-grow",children:o.desc}),f.jsx("div",{className:"flex justify-center mt-auto",children:f.jsx("a",{href:o.linkedin,target:"_blank",rel:"noopener noreferrer",className:"text-slate-300 hover:text-[#0077b5] transition-colors",children:f.jsx(ia,{className:"w-5 h-5"})})})]},u))})})},"advisors"),i==="careers"&&f.jsx(Ze.section,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.3},className:"py-20 bg-slate-50",children:f.jsxs("div",{className:"container mx-auto px-6",children:[f.jsxs("div",{className:"max-w-4xl mx-auto text-center mb-16",children:[f.jsx("h2",{className:"text-3xl font-display font-bold text-slate-900 mb-4",children:"Join Our Mission"}),f.jsx("h3",{className:"text-xl text-primary font-medium mb-6",children:"Build the Future of Sustainable Intelligence"}),f.jsx("p",{className:"text-slate-600 text-lg leading-relaxed max-w-2xl mx-auto",children:"At RIU.ai, you wonât just build softwareâyouâll help shape how businesses measure, manage, and act on sustainability."})]}),f.jsxs("div",{className:"grid md:grid-cols-2 gap-12 items-center max-w-5xl mx-auto",children:[f.jsxs("div",{className:"bg-white p-8 rounded-2xl border border-border shadow-sm",children:[f.jsx("h4",{className:"font-bold text-lg text-slate-900 mb-6",children:"Weâre looking for people who:"}),f.jsx("ul",{className:"space-y-4",children:["Think in systems, not silos","Care about impact as much as performance","Love solving complex problems with technology","Want to work at the intersection of AI, data, and climate"].map((o,u)=>f.jsxs("li",{className:"flex items-center gap-3 text-slate-600",children:[f.jsx("div",{className:"w-6 h-6 rounded-full bg-green-100 flex items-center justify-center text-green-600 shrink-0",children:f.jsx(nc,{className:"w-3 h-3"})}),o]},u))})]}),f.jsxs("div",{className:"text-center md:text-left",children:[f.jsx("p",{className:"text-lg text-slate-600 mb-8 leading-relaxed",children:"Whether youâre an engineer, designer, data scientist, or sustainability expert, youâll be working on problems that matterâat enterprise scale."}),f.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center md:justify-start",children:[f.jsxs(Xt,{className:"gap-2 bg-primary hover:bg-primary/90 text-white",children:[f.jsx(Nd,{className:"w-4 h-4"})," Write to Us"]}),f.jsxs(Xt,{variant:"outline",className:"gap-2 border-slate-300 text-slate-700 hover:bg-slate-50",children:[f.jsx(ia,{className:"w-4 h-4 text-[#0077b5]"})," Follow on LinkedIn"]})]})]})]})]})},"careers"),i==="partners"&&f.jsx(Ze.section,{initial:{opacity:0,y:10}
41,animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.3},className:"py-20",children:f.jsxs("div",{className:"container mx-auto px-6",children:[f.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[f.jsx("h2",{className:"text-3xl font-display font-bold text-slate-900 mb-6",children:"Ecosystem Partners"}),f.jsx("p",{className:"text-slate-500 text-lg",children:"We collaborate with a growing ecosystem of technology, research, and innovation partners to accelerate sustainable outcomes."})]}),f.jsx("div",{className:"relative max-w-5xl mx-auto",children:f.jsx("div",{className:"overflow-x-auto pb-8 hide-scrollbar",children:f.jsx("div",{className:"flex gap-6 min-w-max px-4",children:[{name:"Vyati Systems",tag:"Technology",img:b6,link:"https://vayatisystems.com/"},{name:"IIT Jammu",tag:"Academic & R&D Partner",img:w6,link:"https://www.iitjammu.ac.in/"},{name:"Brigade REAP",tag:"Innovation & Startup Ecosystem",img:S6,link:"https://brigadereap.com/"},{name:"Ramaiah Evolute",tag:"Innovation",img:T6,link:"https://ramaiah-evolute.com/"},{name:"6th Energy",tag:"Energy",img:j6,link:"https://6thenergy.com/"}].map((o,u)=>f.jsxs("a",{href:o.link,target:"_blank",rel:"noopener noreferrer",className:"bg-slate-50 border border-slate-100 p-8 rounded-xl text-center w-[280px] hover:shadow-lg transition-all hover:border-primary/20 group cursor-pointer flex flex-col items-center justify-center shrink-0 h-[220px]",children:[f.jsx("div",{className:"h-20 flex items-center justify-center mb-6",children:f.jsx("img",{src:o.img,alt:o.name,className:"max-h-full max-w-[180px] object-contain grayscale group-hover:grayscale-0 transition-all duration-300"})}),f.jsx("div",{className:"font-bold text-lg text-slate-900 mb-2 group-hover:text-primary transition-colors",children:o.name}),f.jsx("div",{className:"text-xs text-slate-500 font-medium uppercase tracking-wider",children:o.tag})]},u))})})})]})},"partners"),i==="carbon-credit-monetization"&&f.jsx(Ze.section,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.3},className:"py-20 bg-white",children:f.jsx("div",{className:"container mx-auto px-6",children:f.jsxs("div",{className:"max-w-6xl mx-auto",children:[f.jsxs("div",{className:"text-center max-w-4xl mx-auto",children:[f.jsx("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-emerald-50 text-emerald-700 text-xs font-bold uppercase tracking-widest border border-emerald-100","data-testid":"badge-carbon-title",children:"Carbon Sequestration & Carbon Credits"}),f.jsx("h2",{className:"mt-5 text-3xl md:text-5xl font-display font-bold text-slate-900 leading-tight","data-testid":"text-carbon-title",children:"Turn climate-positive farming into measurable income."}),f.jsx("p",{className:"mt-5 text-lg text-slate-600 leading-relaxed","data-testid":"text-carbon-intro",children:"RIU.ai enables farm owners to measure, verify, and monetise carbon sequestration through a simple, digital-first platform available on mobile and webâmaking carbon outcomes transparent, credible, and tradable."})]}),f.jsxs("div",{className:"mt-12 grid grid-cols-1 lg:grid-cols-3 gap-6",children:[f.jsxs("div",{className:"lg:col-span-2 grid grid-cols-1 gap-6",children:[f.jsx("div",{className:"rounded-3xl border border-slate-200 bg-gradient-to-br from-slate-50 to-white p-8 shadow-sm","data-testid":"card-carbon-measure",children:f.jsxs("div",{className:"flex items-start gap-4",children:[f.jsx("div",{className:"h-12 w-12 rounded-2xl bg-primary/10 text-primary grid place-items-center ring-1 ring-primary/10","data-testid":"icon-carbon-measure",children:f.jsx(Do,{
41className:"h-6 w-6"})}),f.jsxs("div",{className:"flex-1",children:[f.jsx("h3",{className:"text-xl font-bold text-slate-900","data-testid":"text-carbon-measure-title",children:"Measure Carbon Sequestration"}),f.jsx("p",{className:"mt-2 text-slate-600 leading-relaxed","data-testid":"text-carbon-measure-body",children:"RIU.ai calculates carbon sequestration across agricultural land using farm-level data like crop patterns, land use, soil management practices, and historical inputs."}),f.jsx("div",{className:"mt-5 grid grid-cols-1 sm:grid-cols-3 gap-3",children:["Carbon sequestration potential","Plot & farm-level impact","Progress over time"].map((o,u)=>f.jsxs("div",{className:"flex items-center gap-2 rounded-xl border border-slate-200 bg-white px-4 py-3","data-testid":`pill-carbon-measure-${u}`,children:[f.jsx("span",{className:"h-2 w-2 rounded-full bg-emerald-500"}),f.jsx("span",{className:"text-sm font-semibold text-slate-700",children:o})]},o))})]})]})}),f.jsx("div",{className:"rounded-3xl border border-slate-200 bg-gradient-to-br from-slate-50 to-white p-8 shadow-sm","data-testid":"card-carbon-verify",children:f.jsxs("div",{className:"flex items-start gap-4",children:[f.jsx("div",{className:"h-12 w-12 rounded-2xl bg-emerald-50 text-emerald-700 grid place-items-center ring-1 ring-emerald-100","data-testid":"icon-carbon-verify",children:f.jsx(Bb,{className:"h-6 w-6"})}),f.jsxs("div",{className:"flex-1",children:[f.jsx("h3",{className:"text-xl font-bold text-slate-900","data-testid":"text-carbon-verify-title",children:"Verify & Generate Carbon Credits"}),f.jsx("p",{className:"mt-2 text-slate-600 leading-relaxed","data-testid":"text-carbon-verify-body",children:"All captured data is structured to support MRV (Measurement, Reporting, and Verification) requirements. RIU.ai helps convert verified sequestration outcomes into trade-ready carbon credits aligned with leading voluntary carbon market standards."}),f.jsx("div",{className:"mt-5 flex flex-wrap gap-3",children:["MRV-ready structure","Audit readiness","Credible standards alignment"].map((o,u)=>f.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full bg-slate-900 text-white px-4 py-2 text-xs font-bold uppercase tracking-widest","data-testid":`badge-carbon-verify-${u}`,children:[f.jsx(ph,{className:"h-4 w-4"}),o]},o))})]})]})}),f.jsx("div",{className:"rounded-3xl border border-slate-200 bg-gradient-to-br from-slate-50 to-white p-8 shadow-sm","data-testid":"card-carbon-trade",children:f.jsxs("div",{className:"flex items-start gap-4",children:[f.jsx("div",{className:"h-12 w-12 rounded-2xl bg-amber-50 text-amber-800 grid place-items-center ring-1 ring-amber-100","data-testid":"icon-carbon-trade",children:f.jsx(Vb,{className:"h-6 w-6"})}),f.jsxs("div",{className:"flex-1",children:[f.jsx("h3",{className:"text-xl font-bold text-slate-900","data-testid":"text-carbon-trade-title",children:"Trade Carbon Credits"}),f.jsx("p",{className:"mt-2 text-slate-600 leading-relaxed","data-testid":"text-carbon-trade-body",children:"Farm owners gain access to opportunities to list and trade carbon credits with verified corporate buyers, sustainability-focused enterprises, aggregators, and marketplacesâunlocking recurring income while supporting net-zero goals."}),f.jsx("div",{className:"mt-5 grid grid-cols-1 sm:grid-cols-2 gap-3",children:["Verified corporate buyers","Aggregators & marketplaces","Sustainability-focused enterprises","Trade-ready credits"].map((o,u)=>f.jsxs("div",{className:"flex items-center justify-between rounded-2xl border border-slate-200 bg-white px-4 py-3","data-testid":`row-carbon-trade-${u}`,children:[f.jsx("span",{className:"text-sm font-semibold text-slate-700",children:o}),f.jsx("span",{className:"text-xs font-bold text-slate-400",children:"â"})]},o))})]})]})})]}),f.jsxs("div",{className:"rounded-3xl border border-slate-200 bg-slate-900 text-white p-8 shadow-sm","data-testid":"card-carbon-farmers",children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("div",{className:"h-11 w-11 rounded-2xl bg-white/10 grid place-items-center ring-1 ring-white/10","data-testid":"icon-carbon-farmers",children:f.jsx(_o,{className:"h-6 w-6"})}),f.jsx("h3",{className:"text-xl font-bold","data-testid":"text-carbon-farmers-title",children:"Built for Farmers"})]}),f.jsx("p",{className:"mt-3 text-white/80 leading-relaxed","data-testid":"text-carbon-farmers-body",children:"Designed with simplicity and accessibility at the coreâno complex jargon, just clear, actionable insights."}),f.jsx("div",{className:"mt-7 space-y-3",children:["Easy onboarding via mobile app or web platform","Transparent dashboards showing carbon impact and potential earnings","Suitable for small, mid, and large landholders","Clear, actionable insights"].map((o,u)=>f.jsxs("div",{className:"flex items-start gap-3 rounded-2xl bg-white/5 border border-white/10 px-4 py-3","data-testid":`item-carbon-farmers-${u}`,children:[f.jsx("span",{className:"mt-1 h-2 w-2 rounded-full bg-emerald-400"}),f.jsx("div",{className:"text-sm font-semibold text-white/90",children:o})]},o))}),f.jsx("div",{className:"mt-8 rounded-2xl bg-white/5 border border-white/10 p-5","data-testid":"callout-carbon-income",children:f.jsxs("div",{className:"flex items-start gap-3",children:[f.jsx("div",{className:"h-10 w-10 rounded-xl bg-emerald-500/15 text-emerald-300 grid place-items-center","data-testid":"icon-carbon-income",children:f.jsx(Pb,{className:"h-5 w-5"})}),f.jsxs("div",{children:[f.jsx("div",{className:"text-sm font-bold","data-testid":"text-carbon-income-title",children:"From Sustainable Practices to Sustainable Income"}),f.jsx("div",{className:"mt-1 text-sm text-white/75 leading-relaxed","data-testid":"text-carbon-income-body",children:"RIU.ai makes sustainability measurable, verifiable, and rewardingâempowering farm owners to participate confidently in the carbon economy while building climate resilience."})]})]})})]})]})]})})},"carbon-credit-monetization"),i==="news"&&f.jsx(Ze.section,{initial:{opacity:0,y:10}
41,animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.3},className:"py-20 bg-slate-50",children:f.jsx("div",{className:"container mx-auto px-6",children:f.jsxs("div",{className:"max-w-5xl mx-auto",children:[f.jsxs("div",{className:"text-center mb-10",children:[f.jsx("h2",{className:"text-3xl md:text-4xl font-display font-bold text-slate-900","data-testid":"text-news-title",children:"News"}),f.jsx("p",{className:"text-slate-600 mt-3","data-testid":"text-news-subtitle",children:"Latest milestones and announcements from RIU.ai."})]}),f.jsx("a",{href:"https://www.linkedin.com/posts/carvestartuplabs_gia-market-access-program-to-france-activity-7422514260624465920-nxt3",target:"_blank",rel:"noopener noreferrer",className:"group block","data-testid":"link-news-gia",children:f.jsx("div",{className:"bg-white rounded-3xl border border-slate-200 shadow-sm hover:shadow-xl transition-all overflow-hidden",children:f.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2",children:[f.jsxs("div",{className:"relative",children:[f.jsx("img",{src:E6,alt:"Global Innovation Alliance market access program to France",className:"w-full h-full object-cover aspect-[4/3] lg:aspect-auto",loading:"lazy","data-testid":"img-news-gia"}),f.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/35 via-black/0 to-black/0 opacity-0 group-hover:opacity-100 transition-opacity"})]}),f.jsxs("div",{className:"p-8 lg:p-10 flex flex-col justify-center",children:[f.jsx("div",{className:"inline-flex items-center gap-2 text-xs font-bold uppercase tracking-widest text-primary","data-testid":"text-news-tag",children:"LinkedIn update"}),f.jsx("h3",{className:"mt-3 text-2xl md:text-3xl font-display font-bold text-slate-900","data-testid":"text-news-headline",children:"Selected for the GIA Market Access Program to France"}),f.jsxs("div",{className:"mt-4 space-y-2 text-slate-600 leading-relaxed","data-testid":"text-news-summary",children:[f.jsx("p",{children:"RIU.ai has been selected for the Global Innovation Alliance (GIA) Market Access Program to France."}),f.jsx("p",{children:"This milestone reflects our commitment to building enterprise-grade sustainability intelligence with global relevance."}),f.jsx("p",{children:"Read the full update on LinkedIn."})]}),f.jsxs("div",{className:"mt-6 inline-flex items-center gap-2 text-sm font-semibold text-slate-900 group-hover:text-primary transition-colors","data-testid":"text-news-cta",children:["View on LinkedIn",f.jsx("span",{"aria-hidden":!0,className:"translate-x-0 group-hover:translate-x-0.5 transition-transform",children:"â"})]})]})]})})})]})})},"news"),i==="contact"&&f.jsx(Ze.section,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.3},className:"py-20 bg-slate-900 text-white",children:f.jsxs("div",{className:"container mx-auto px-6 max-w-4xl text-center",children:[f.jsx("h2",{className:"text-3xl font-display font-bold mb-12",children:"Get in Touch"}),f.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[f.jsx("div",{className:"bg-white/5 border border-white/10 p-10 rounded-3xl backdrop-blur-sm hover:bg-white/10 transition-colors",children:f.jsxs("div",{className:"flex flex-col items-center gap-4",children:[f.jsx("div",{className:"w-16 h-16 bg-primary/20 rounded-full flex items-center justify-center text-primary mb-2",children:f.jsx(cN,{className:"w-8 h-8"})}),f.jsx("h3",{className:"font-bold text-xl",children:"Head Office"}),f.jsxs("p",{className:"text-slate-300 leading-relaxed",children:["Brigade REAP",f.jsx("br",{}),"A Block, 26/1, Dr. Rajkumar Road",f.jsx("br",{}),"Rajajinagar, Bengaluru",f.jsx("br",{}),"Karnataka â 560055, India"]})]})}),f.jsxs("div",{className:"bg-white/5 border border-white/10 p-10 rounded-3xl backdrop-blur-sm hover:bg-white/10 transition-colors flex flex-col items-center justify-center",children:[f.jsx("div",{className:"w-16 h-16 bg-blue-500/20 rounded-full flex items-center justify-center text-blue-400 mb-6",children:f.jsx(Nd,{className:"w-8 h-8"})}),f.jsx("h3",{className:"font-bold text-xl mb-4","data-testid":"text-contact-title",children:"Contact"}),f.jsxs("div",{className:"space-y-3 text-center",children:[f.jsx("a",{href:"mailto:[email protected]",className:"block text-slate-300 hover:text-white text-lg transition-colors","data-testid":"link-email-contact",children:"[email protected]"}),f.jsx("div",{className:"h-px w-24 bg-white/10 mx-auto"}),f.jsx("div",{className:"text-xs uppercase tracking-widest text-slate-400","data-testid":"text-support-label",children:"Support"}),f.jsx("a",{href:"tel:+917795123435",className:"block text-white text-lg font-semibold hover:text-white/90 transition-colors","data-testid":"link-phone-support",children:"+91 7795 123435"})]})]})]})]})},"contact")]})})]}),f.jsx(uc,{})]})}function N6(){return f.jsxs("div",{className:"min-h-screen bg-background text-foreground font-sans",children:[f.jsx(cc,{}),f.jsx("main",{className:"pt-20",children:f.jsx("section",{className:"py-24 bg-slate-50",children:f.jsxs("div",{className:"container mx-auto px-6 max-w-4xl",children:[f.jsx("h1",{className:"text-4xl md:text-5xl font-display font-bold text-slate-900 mb-8",children:"Legal & Security"}),f.jsx("p",{className:"text-xl text-slate-600 mb-12",children:"Transparency, security, and compliance are at the core of everything we do."}),f.jsxs("div",{className:"grid gap-12",children:[f.jsxs("div",{id:"privacy",className:"bg-white p-8 md:p-12 rounded-2xl border border-border shadow-sm",children:[f.jsxs("div",{className:"flex items-center gap-4 mb-8",children:[f.jsx("div",{className:"w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center text-blue-600",children:f.jsx(Oo,{})}),f.jsx("h2",{className:"text-3xl font-display font-bold text-slate-900",children:"Privacy Policy"})]}),f.jsxs("div",{className:"prose prose-slate max-w-none text-slate-600",children:[f.jsx("p",{children:"RIU.ai respects your privacy and is committed to protecting the personal and business information you share with us. This Privacy Policy explains how we
41collect, use, disclose, and safeguard information when you use our website, platform, and related services."}),f.jsx("h3",{className:"text-lg font-bold text-slate-900 mt-6 mb-2",children:"1. Information We Collect"}),f.jsxs("ul",{className:"list-disc pl-5 space-y-2",children:[f.jsxs("li",{children:[f.jsx("strong",{children:"Information You Provide:"})," Name, email address, phone number, company name, login credentials, and ESG/business data uploaded by you."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Automatically Collected Information:"})," IP address, browser type, device info, usage data, logs, and cookies."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Third-Party Data:"})," Data integrated via APIs, ERP systems, or IoT devices authorized by you."]})]}),f.jsx("h3",{className:"text-lg font-bold text-slate-900 mt-6 mb-2",children:"2. How We Use Information"}),f.jsx("p",{children:"We use information to provide the RIU.ai platform, deliver analytics, ensure compliance, improve performance, and communicate updates. We do not sell your personal or business data."}),f.jsx("h3",{className:"text-lg font-bold text-slate-900 mt-6 mb-2",children:"3. Data Sharing & Disclosure"}),f.jsx("p",{children:"We share data only with authorized service providers, academic partners (anonymized/aggregated), or legal authorities when required. All partners are bound by confidentiality."}),f.jsx("h3",{className:"text-lg font-bold text-slate-900 mt-6 mb-2",children:"4. Data Security"}),f.jsx("p",{children:"We implement encryption, role-based access controls, secure cloud infrastructure, and continuous monitoring."}),f.jsx("h3",{className:"text-lg font-bold text-slate-900 mt-6 mb-2",children:"5. Your Rights"}),f.jsxs("p",{children:["You may request access, correction, or deletion of your data. Contact: ",f.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})]})]})]}),f.jsxs("div",{id:"terms",className:"bg-white p-8 md:p-12 rounded-2xl border border-border shadow-sm",children:[f.jsxs("div",{className:"flex items-center gap-4 mb-8",children:[f.jsx("div",{className:"w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center text-purple-600",children:f.jsx(br,{})}),f.jsx("h2",{className:"text-3xl font-display font-bold text-slate-900",children:"Terms of Service"})]}),f.jsxs("div",{className:"prose prose-slate max-w-none text-slate-600",children:[f.jsx("p",{children:"These Terms govern your access to and use of the RIU.ai website and platform. By using RIU.ai, you agree to these Terms."}),f.jsx("h3",{className:"text-lg font-bold text-slate-900 mt-6 mb-2",children:"1. Use of the Platform"}),f.jsx("p",{children:"RIU.ai grants you a limited right to use the platform for lawful business purposes. You agree not to misuse, reverse engineer, or disrupt the platform."}),f.jsx("h3",{className:"text-lg font-bold text-slate-900 mt-6 mb-2",children:"2. User Responsibilities"}),f.jsx("p",{children:"You are responsible for the accuracy of data uploaded and maintaining the confidentiality of your login credentials."}),f.jsx("h3",{className:"text-lg font-bold text-slate-900 mt-6 mb-2",children:"3. Intellectual Property & Data Ownership"}),f.jsx("p",{children:"All software and AI models belong to RIU.ai. You retain full ownership of your data."}),f.jsx("h3",{className:"text-lg font-bold text-slate-900 mt-6 mb-2",children:"4. Governing Law"}),f.jsx("p",{children:"These Terms shall be governed by the laws of India, with exclusive jurisdiction in Bengaluru, Karnataka."})]})]}),f.jsxs("div",{id:"cookies",className:"bg-white p-8 md:p-12 rounded-2xl border border-border shadow-sm",children:[f.jsx("h2",{className:"text-2xl font-display font-bold text-slate-900 mb-6",children:"Cookie Policy"}),f.jsxs("div",{className:"prose prose-slate max-w-none text-slate-600",children:[f.jsx("p",{children:"RIU.ai uses cookies to improve user experience and platform performance."}),f.jsxs("ul",{className:"list-disc pl-5 space-y-2 mt-4",children:[f.jsxs("li",{children:[f.jsx("strong",{children:"Essential Cookies:"})," Required for functionality."]}
41),f.jsxs("li",{children:[f.jsx("strong",{children:"Analytics Cookies:"})," Help us understand usage patterns."]}),f.jsxs("li",{children:[f.jsx("strong",{children:"Performance Cookies:"})," Improve speed and reliability."]})]}),f.jsx("p",{className:"mt-4",children:"We do not use cookies for advertising or tracking unrelated third-party behavior."})]})]}),f.jsxs("div",{id:"security",className:"bg-slate-900 text-white p-8 md:p-12 rounded-2xl border border-slate-800 shadow-xl",children:[f.jsxs("div",{className:"flex items-center gap-4 mb-8",children:[f.jsx("div",{className:"w-12 h-12 bg-primary/20 rounded-lg flex items-center justify-center text-primary",children:f.jsx(q0,{})}),f.jsx("h2",{className:"text-3xl font-display font-bold",children:"Security"})]}),f.jsxs("div",{className:"space-y-8",children:[f.jsxs("div",{children:[f.jsx("h3",{className:"text-xl font-bold mb-4",children:"Enterprise-Grade Security by Design"}),f.jsx("p",{className:"text-slate-400 mb-6",children:"Security is foundational to RIU.ai. We design our platform to meet the expectations of enterprise customers, regulators, and auditors."}),f.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[f.jsxs("div",{className:"flex items-center gap-3 bg-white/5 p-3 rounded-lg border border-white/10",children:[f.jsx(rN,{className:"w-5 h-5 text-primary"}),f.jsx("span",{className:"text-sm",children:"Data Encryption (at rest & transit)"})]}),f.jsxs("div",{className:"flex items-center gap-3 bg-white/5 p-3 rounded-lg border border-white/10",children:[f.jsx(C6,{className:"w-5 h-5 text-primary"}),f.jsx("span",{className:"text-sm",children:"Role-Based Access Controls"})]}),f.jsxs("div",{className:"flex items-center gap-3 bg-white/5 p-3 rounded-lg border border-white/10",children:[f.jsx(Oo,{className:"w-5 h-5 text-primary"}),f.jsx("span",{className:"text-sm",children:"Audit Logs & Activity Monitoring"})]}),f.jsxs("div",{className:"flex items-center gap-3 bg-white/5 p-3 rounded-lg border border-white/10",children:[f.jsx(q0,{className:"w-5 h-5 text-primary"}),f.jsx("span",{className:"text-sm",children:"Secure Cloud Infrastructure"})]})]})]}),f.jsxs("div",{className:"border-t border-white/10 pt-6",children:[f.jsx("h3",{className:"text-lg font-bold mb-2",children:"Responsible Disclosure"}),f.jsxs("p",{className:"text-slate-400 text-sm",children:["If you discover a security vulnerability, please report it responsibly to: ",f.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})]})]})]})]})]})]})})}),f.jsx(uc,{})]})}function C6({className:t}){return f.jsxs("svg",{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",className:t,children:[f.jsx("path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"}),f.jsx("circle",{cx:"9",cy:"7",r:"4"}),f.jsx("path",{d:"M22 21v-2a4 4 0 0 0-3-3.87"}),f.jsx("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]})}const R6="/assets/image_1765781769075-DiF-fnWg.png",M6="/assets/image_1765781812730-mDL9UnIi.png",D6="/assets/image_1765781843894-BIBCGL2i.png",O6=[{id:1,guest:"Prabodha Acharya",role:"Chief Sustainability Officer, JSW Group",title:"Decarbonizing Hard-to-Abate Sectors",description:"Prabodha Acharya, a veteran with 30+ years in corporate sustainability, leads JSW Group's ambitious net-zero transition. In this episode, he discusses the challenges and strategies for decarbonizing heavy industries like steel and cement, and how digital transformation is key to managing complex environmental data at scale.",link:"https://www.youtube.com/watch?v=DQbfmn7rw9g",linkedin:"https://www.linkedin.com/in/prabodha-acharya-76009514/",img:R6,color:"bg-blue-50 text-blue-600",border:"border-blue-100"},{id:2,guest:"Dr. Aditi Mishal",role:"CSO, Welspun Enterprises",title:"Embedding ESG in Corporate Strategy",description:"Dr. Aditi Mishal shares her expertise on moving sustainability from a compliance checklist to a core business strategy. The conversation explores how Welspun is integrating ESG principles into their operations and the critical role of accurate data in driving transparent, value-led sustainability reporting.",link:"https://www.youtube.com/watch?v=e-dYQFwixjs",linkedin:"https://www.linkedin.com/in/dr-aditi-mishal-35bb731b/",img:M6,color:"bg-emerald-50 text-emerald-600",border:"border-emerald-100"},{id:3,guest:"Dr. Yogendra Saxena",role:"Ex-Group CSO, Tata Power",title:"The Evolution of Corporate Sustainability",description:"With over four decades of experience, Dr. Yogendra Saxena offers a masterclass on the evolution of EHS and sustainability in India. He discusses biodiversity management, the circular economy, and how future-ready organizations must balance environmental stewardship with robust business growth.",link:"https://youtu.be/7imFKJWghco",linkedin:"https://www.linkedin.com/in/drsaxena",img:D6,color:"bg-purple-50 text-purple-600",border:"border-purple-100"}];function _6(){return f.jsxs("div",{className:"min-h-screen bg-background text-foreground font-sans",children:[f.jsx(cc,{}),f.jsxs("main",{className:"pt-20",children:[f.jsxs("section",{className:"relative py-20 bg-slate-50 overflow-hidden border-b border-border",children:[f.jsx("div",{className:"absolute inset-0 z-0 opacity-40",children:f.jsx("img",{src:nm,alt:"Backgroun
41d",className:"w-full h-full object-cover"})}),f.jsx("div",{className:"container mx-auto px-6 relative z-10",children:f.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[f.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-primary/10 text-primary text-xs font-bold uppercase tracking-wider mb-6",children:[f.jsx(H0,{className:"w-4 h-4"}),"RIU.ai Podcast Series"]}),f.jsxs("h1",{className:"text-4xl md:text-5xl font-display font-bold text-slate-900 mb-6 leading-tight",children:["Conversations on ",f.jsx("br",{}),f.jsx("span",{className:"text-primary",children:"Sustainability & Innovation"})]}),f.jsx("p",{className:"text-xl text-slate-600 leading-relaxed max-w-2xl mx-auto",children:"Deep dives with industry leaders, CSOs, and innovators shaping the future of ESG and net-zero intelligence."})]})})]}),f.jsx("section",{className:"py-24 bg-white",children:f.jsx("div",{className:"container mx-auto px-6",children:f.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:O6.map(t=>f.jsxs("div",{className:"group relative flex flex-col h-full bg-white rounded-2xl border border-slate-100 shadow-sm hover:shadow-xl transition-all duration-300 overflow-hidden",children:[f.jsx("div",{className:`h-2 w-full ${t.color.replace("text-","bg-").replace("50","500")}`}),f.jsxs("div",{className:"p-8 flex flex-col h-full",children:[f.jsxs("div",{className:"flex items-start gap-4 mb-6",children:[f.jsx("div",{className:`w-16 h-16 rounded-full overflow-hidden shrink-0 ${t.color} ${t.border} border`,children:f.jsx("img",{src:t.img,alt:t.guest,className:"w-full h-full object-cover"})}),f.jsxs("div",{className:"flex-1",children:[f.jsxs("div",{className:"flex justify-between items-start",children:[f.jsx("h3",{className:"font-bold text-slate-900 text-lg leading-tight",children:t.guest}),f.jsx("a",{href:t.linkedin,target:"_blank",rel:"noopener noreferrer",className:"text-slate-400 hover:text-[#0077b5] transition-colors",children:f.jsx(ia,{className:"w-5 h-5"})})]}),f.jsx("p",{className:"text-sm text-slate-500 mt-1",children:t.role})]})]}),f.jsxs("div",{className:"mb-8 flex-grow",children:[f.jsx("h4",{className:"font-display font-bold text-xl text-slate-900 mb-3 group-hover:text-primary transition-colors",children:t.title}),f.jsx("p",{className:"text-slate-600 text-sm leading-relaxed",children:t.description})]}),f.jsx("div",{className:"mt-auto pt-6 border-t border-slate-50",children:f.jsxs(Xt,{className:"w-full gap-2 rounded-xl group-hover:bg-primary group-hover:text-white transition-all",variant:"outline",onClick:()=>window.open(t.link,"_blank"),children:[f.jsx(Lb,{className:"w-4 h-4"})," Watch Episode"]})})]})]},t.id))})})}),f.jsx("section",{className:"py-20 bg-slate-900 text-white",children:f.jsxs("div",{className:"container mx-auto px-6 text-center max-w-2xl",children:[f.jsx(H0,{className:"w-12 h-12 text-primary mx-auto mb-6"}),f.jsx("h2",{className:"text-3xl font-display font-bold mb-4",children:"Never Miss an Episode"}),f.jsx("p",{className:"text-slate-400 mb-8 text-lg",children:"Subscribe to get the latest insights from sustainability leaders delivered to your inbox."}),f.jsxs("div",{className:"flex gap-2 max-w-md mx-auto",children:[f.jsx("input",{type:"email",placeholder:"Enter your email",className:"flex-1 px-4 py-3 rounded-lg bg-white/10 border border-white/20 text-white placeholder:text-slate-500 focus:outline-none focus:border-primary"}),f.jsx(Xt,{className:"bg-primary hover:bg-primary/90 text-white px-6",children:"Subscribe"})]})]})})]}),f.jsx(uc,{})]})}function z6(){return f.jsxs(Ej,{children:[f.jsx(mr,{path:"/",component:m6}),f.jsx(mr,{path:"/about",component:A6}),f.jsx(mr,{path:"/legal",component:N6}),f.jsx(mr,{path:"/podcast",component:_6}),f.jsx(mr,{component:WR})]})}function k6(){return f.jsx(Nj,{client:sE,children:f.jsxs(FR,{children:[f.jsx(pC,{}),f.jsx(QR,{}),f.jsx(z6,{})]})})}WT.createRoot(document.getElementById("root")).render(f.jsx(k6,{}));
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.