var i1=Object.defineProperty;var bp=e=>{throw TypeError(e)};var o1=(e,t,n)=>t in e?i1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Zt=(e,t,n)=>o1(e,typeof t!="symbol"?t+"":t,n),Ol=(e,t,n)=>t.has(e)||bp("Cannot "+n);var T=(e,t,n)=>(Ol(e,t,"read from private field"),n?n.call(e):t.get(e)),W=(e,t,n)=>t.has(e)?bp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),V=(e,t,n,a)=>(Ol(e,t,"write to private field"),a?a.call(e,n):t.set(e,n),n),Ne=(e,t,n)=>(Ol(e,t,"access private method"),n);var pi=(e,t,n,a)=>({set _(r){V(e,t,r,n)},get _(){return T(e,t,a)}});function l1(e,t){for(var n=0;n<t.length;n++){const a=t[n];if(typeof a!="string"&&!Array.isArray(a)){for(const r in a)if(r!=="default"&&!(r in e)){const s=Object.getOwnPropertyDescriptor(a,r);s&&Object.defineProperty(e,r,s.get?s:{enumerable:!0,get:()=>a[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))a(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&a(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function a(r){if(r.ep)return;r.ep=!0;const s=n(r);fetch(r.href,s)}})();function tl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zg={exports:{}},nl={},Jg={exports:{}},q={};/**
 * @license React
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Zs=Symbol.for("react.element"),c1=Symbol.for("react.portal"),u1=Symbol.for("react.fragment"),d1=Symbol.for("react.strict_mode"),h1=Symbol.for("react.profiler"),p1=Symbol.for("react.provider"),f1=Symbol.for("react.context"),m1=Symbol.for("react.forward_ref"),g1=Symbol.for("react.suspense"),x1=Symbol.for("react.memo"),y1=Symbol.for("react.lazy"),Pp=Symbol.iterator;function v1(e){return e===null||typeof e!="object"?null:(e=Pp&&e[Pp]||e["@@iterator"],typeof e=="function"?e:null)}var ex={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},tx=Object.assign,nx={};function Rr(e,t,n){this.props=e,this.context=t,this.refs=nx,this.updater=n||ex}Rr.prototype.isReactComponent={};Rr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Rr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ax(){}ax.prototype=Rr.prototype;function Pd(e,t,n){this.props=e,this.context=t,this.refs=nx,this.updater=n||ex}var Sd=Pd.prototype=new ax;Sd.constructor=Pd;tx(Sd,Rr.prototype);Sd.isPureReactComponent=!0;var Sp=Array.isArray,rx=Object.prototype.hasOwnProperty,Cd={current:null},sx={key:!0,ref:!0,__self:!0,__source:!0};function ix(e,t,n){var a,r={},s=null,i=null;if(t!=null)for(a in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)rx.call(t,a)&&!sx.hasOwnProperty(a)&&(r[a]=t[a]);var o=arguments.length-2;if(o===1)r.children=n;else if(1<o){for(var c=Array(o),u=0;u<o;u++)c[u]=arguments[u+2];r.children=c}if(e&&e.defaultProps)for(a in o=e.defaultProps,o)r[a]===void 0&&(r[a]=o[a]);return{$$typeof:Zs,type:e,key:s,ref:i,props:r,_owner:Cd.current}}function w1(e,t){return{$$typeof:Zs,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function kd(e){return typeof e=="object"&&e!==null&&e.$$typeof===Zs}function b1(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Cp=/\/+/g;function Dl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?b1(""+e.key):t.toString(36)}function $i(e,t,n,a,r){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Zs:case c1:i=!0}}if(i)return i=e,r=r(i),e=a===""?"."+Dl(i,0):a,Sp(r)?(n="",e!=null&&(n=e.replace(Cp,"$&/")+"/"),$i(r,t,n,"",function(u){return u})):r!=null&&(kd(r)&&(r=w1(r,n+(!r.key||i&&i.key===r.key?"":(""+r.key).replace(Cp,"$&/")+"/")+e)),t.push(r)),1;if(i=0,a=a===""?".":a+":",Sp(e))for(var o=0;o<e.length;o++){s=e[o];var c=a+Dl(s,o);i+=$i(s,t,n,c,r)}else if(c=v1(e),typeof c=="function")for(e=c.call(e),o=0;!(s=e.next()).done;)s=s.value,c=a+Dl(s,o++),i+=$i(s,t,n,c,r);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function fi(e,t,n){if(e==null)return e;var a=[],r=0;return $i(e,a,"","",function(s){return t.call(n,s,r++)}),a}function P1(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var $e={current:null},Hi={transition:null},S1={ReactCurrentDispatcher:$e,ReactCurrentBatchConfig:Hi,ReactCurrentOwner:Cd};function ox(){throw Error("act(...) is not supported in production builds of React.")}q.Children={map:fi,forEach:function(e,t,n){fi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return fi(e,function(){t++}),t},toArray:function(e){return fi(e,function(t){return t})||[]},only:function(e){if(!kd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};q.Component=Rr;q.Fragment=u1;q.Profiler=h1;q.PureComponent=Pd;q.StrictMode=d1;q.Suspense=g1;q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=S1;q.act=ox;q.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=tx({},e.props),r=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=Cd.current),t.key!==void 0&&(r=""+t.key),e.type&&e.type.defaultProps)var o=e.type.defaultProps;for(c in t)rx.call(t,c)&&!sx.hasOwnProperty(c)&&(a[c]=t[c]===void 0&&o!==void 0?o[c]:t[c])}var c=arguments.length-2;if(c===1)a.children=n;else if(1<c){o=Array(c);for(var u=0;u<c;u++)o[u]=arguments[u+2];a.children=o}return{$$typeof:Zs,type:e.type,key:r,ref:s,props:a,_owner:i}};q.createContext=function(e){return e={$$typeof:f1,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:p1,_context:e},e.Consumer=e};q.createElement=ix;q.createFactory=function(e){var t=ix.bind(null,e);return t.type=e,t};q.createRef=function(){return{current:null}};q.forwardRef=function(e){return{$$typeof:m1,render:e}};q.isValidElement=kd;q.lazy=function(e){return{$$typeof:y1,_payload:{_status:-1,_result:e},_init:P1}};q.memo=function(e,t){return{$$typeof:x1,type:e,compare:t===void 0?null:t}};q.startTransition=function(e){var t=Hi.transition;Hi.transition={};try{e()}finally{Hi.transition=t}};q.unstable_act=ox;q.useCallback=function(e,t){return $e.current.useCallback(e,t)};q.useContext=function(e){return $e.current.useContext(e)};q.useDebugValue=function(){};q.useDeferredValue=function(e){return $e.current.useDeferredValue(e)};q.useEffect=function(e,t){return $e.current.useEffect(e,t)};q.useId=function(){return $e.current.useId()};q.useImperativeHandle=function(e,t,n){return $e.current.useImperativeHandle(e,t,n)};q.useInsertionEffect=function(e,t){return $e.current.useInsertionEffect(e,t)};q.useLayoutEffect=function(e,t){return $e.current.useLayoutEffect(e,t)};q.useMemo=function(e,t){return $e.current.useMemo(e,t)};q.useReducer=function(e,t,n){return $e.current.useReducer(e,t,n)};q.useRef=function(e){return $e.current.useRef(e)};q.useState=function(e){return $e.current.useState(e)};q.useSyncExternalStore=function(e,t,n){return $e.current.useSyncExternalStore(e,t,n)};q.useTransition=function(){return $e.current.useTransition()};q.version="18.3.1";Jg.exports=q;var w=Jg.exports;const Ht=tl(w),Nd=l1({__proto__:null,default:Ht},[w]);/**
 * @license React
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var C1=w,k1=Symbol.for("react.element"),N1=Symbol.for("react.fragment"),j1=Object.prototype.hasOwnProperty,T1=C1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,E1={key:!0,ref:!0,__self:!0,__source:!0};function lx(e,t,n){var a,r={},s=null,i=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(a in t)j1.call(t,a)&&!E1.hasOwnProperty(a)&&(r[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps,t)r[a]===void 0&&(r[a]=t[a]);return{$$typeof:k1,type:e,key:s,ref:i,props:r,_owner:T1.current}}nl.Fragment=N1;nl.jsx=lx;nl.jsxs=lx;Zg.exports=nl;var l=Zg.exports,cx={exports:{}},st={},ux={exports:{}},dx={};/**
 * @license React
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(e){function t(j,M){var z=j.length;j.push(M);e:for(;0<z;){var B=z-1>>>1,X=j[B];if(0<r(X,M))j[B]=M,j[z]=X,z=B;else break e}}function n(j){return j.length===0?null:j[0]}function a(j){if(j.length===0)return null;var M=j[0],z=j.pop();if(z!==M){j[0]=z;e:for(var B=0,X=j.length,yt=X>>>1;B<yt;){var ot=2*(B+1)-1,$r=j[ot],Xt=ot+1,La=j[Xt];if(0>r($r,z))Xt<X&&0>r(La,$r)?(j[B]=La,j[Xt]=z,B=Xt):(j[B]=$r,j[ot]=z,B=ot);else if(Xt<X&&0>r(La,z))j[B]=La,j[Xt]=z,B=Xt;else break e}}return M}function r(j,M){var z=j.sortIndex-M.sortIndex;return z!==0?z:j.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,o=i.now();e.unstable_now=function(){return i.now()-o}}var c=[],u=[],d=1,h=null,p=3,m=!1,x=!1,v=!1,b=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(j){for(var M=n(u);M!==null;){if(M.callback===null)a(u);else if(M.startTime<=j)a(u),M.sortIndex=M.expirationTime,t(c,M);else break;M=n(u)}}function P(j){if(v=!1,y(j),!x)if(n(c)!==null)x=!0,_(S);else{var M=n(u);M!==null&&Q(P,M.startTime-j)}}function S(j,M){x=!1,v&&(v=!1,g(k),k=-1),m=!0;var z=p;try{for(y(M),h=n(c);h!==null&&(!(h.expirationTime>M)||j&&!L());){var B=h.callback;if(typeof B=="function"){h.callback=null,p=h.priorityLevel;var X=B(h.expirationTime<=M);M=e.unstable_now(),typeof X=="function"?h.callback=X:h===n(c)&&a(c),y(M)}else a(c);h=n(c)}if(h!==null)var yt=!0;else{var ot=n(u);ot!==null&&Q(P,ot.startTime-M),yt=!1}return yt}finally{h=null,p=z,m=!1}}var C=!1,N=null,k=-1,A=5,E=-1;function L(){return!(e.unstable_now()-E<A)}function O(){if(N!==null){var j=e.unstable_now();E=j;var M=!0;try{M=N(!0,j)}finally{M?$():(C=!1,N=null)}}else C=!1}var $;if(typeof f=="function")$=function(){f(O)};else if(typeof MessageChannel<"u"){var I=new MessageChannel,H=I.port2;I.port1.onmessage=O,$=function(){H.postMessage(null)}}else $=function(){b(O,0)};function _(j){N=j,C||(C=!0,$())}function Q(j,M){k=b(function(){j(e.unstable_now())},M)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(j){j.callback=null},e.unstable_continueExecution=function(){x||m||(x=!0,_(S))},e.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<j?Math.floor(1e3/j):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(j){switch(p){case 1:case 2:case 3:var M=3;break;default:M=p}var z=p;p=M;try{return j()}finally{p=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(j,M){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var z=p;p=j;try{return M()}finally{p=z}},e.unstable_scheduleCallback=function(j,M,z){var B=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?B+z:B):z=B,j){case 1:var X=-1;break;case 2:X=250;break;case 5:X=1073741823;break;case 4:X=1e4;break;default:X=5e3}return X=z+X,j={id:d++,callback:M,priorityLevel:j,startTime:z,expirationTime:X,sortIndex:-1},z>B?(j.sortIndex=z,t(u,j),n(c)===null&&j===n(u)&&(v?(g(k),k=-1):v=!0,Q(P,z-B))):(j.sortIndex=X,t(c,j),x||m||(x=!0,_(S))),j},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(j){var M=p;return function(){var z=p;p=M;try{return j.apply(this,arguments)}finally{p=z}}}})(dx);ux.exports=dx;var A1=ux.exports;/**
 * @license React
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var R1=w,rt=A1;function R(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var hx=new Set,Ps={};function Ma(e,t){wr(e,t),wr(e+"Capture",t)}function wr(e,t){for(Ps[e]=t,e=0;e<t.length;e++)hx.add(t[e])}var un=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Lc=Object.prototype.hasOwnProperty,M1=/^[: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]*$/,kp={},Np={};function I1(e){return Lc.call(Np,e)?!0:Lc.call(kp,e)?!1:M1.test(e)?Np[e]=!0:(kp[e]=!0,!1)}function O1(e,t,n,a){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return a?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function D1(e,t,n,a){if(t===null||typeof t>"u"||O1(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function He(e,t,n,a,r,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var Re={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Re[e]=new He(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Re[t]=new He(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Re[e]=new He(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Re[e]=new He(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Re[e]=new He(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Re[e]=new He(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Re[e]=new He(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Re[e]=new He(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Re[e]=new He(e,5,!1,e.toLowerCase(),null,!1,!1)});var jd=/[\-:]([a-z])/g;function Td(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(jd,Td);Re[t]=new He(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(jd,Td);Re[t]=new He(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(jd,Td);Re[t]=new He(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Re[e]=new He(e,1,!1,e.toLowerCase(),null,!1,!1)});Re.xlinkHref=new He("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Re[e]=new He(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ed(e,t,n,a){var r=Re.hasOwnProperty(t)?Re[t]:null;(r!==null?r.type!==0:a||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(D1(t,n,r,a)&&(n=null),a||r===null?I1(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=n===null?r.type===3?!1:"":n:(t=r.attributeName,a=r.attributeNamespace,n===null?e.removeAttribute(t):(r=r.type,n=r===3||r===4&&n===!0?"":""+n,a?e.setAttributeNS(a,t,n):e.setAttribute(t,n))))}var gn=R1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,mi=Symbol.for("react.element"),Va=Symbol.for("react.portal"),Ba=Symbol.for("react.fragment"),Ad=Symbol.for("react.strict_mode"),Fc=Symbol.for("react.profiler"),px=Symbol.for("react.provider"),fx=Symbol.for("react.context"),Rd=Symbol.for("react.forward_ref"),zc=Symbol.for("react.suspense"),_c=Symbol.for("react.suspense_list"),Md=Symbol.for("react.memo"),Sn=Symbol.for("react.lazy"),mx=Symbol.for("react.offscreen"),jp=Symbol.iterator;function Ur(e){return e===null||typeof e!="object"?null:(e=jp&&e[jp]||e["@@iterator"],typeof e=="function"?e:null)}var le=Object.assign,Ll;function as(e){if(Ll===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ll=t&&t[1]||""}return`
`+Ll+e}var Fl=!1;function zl(e,t){if(!e||Fl)return"";Fl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var a=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){a=u}e.call(t.prototype)}else{try{throw Error()}catch(u){a=u}e()}}catch(u){if(u&&a&&typeof u.stack=="string"){for(var r=u.stack.split(`
`),s=a.stack.split(`
`),i=r.length-1,o=s.length-1;1<=i&&0<=o&&r[i]!==s[o];)o--;for(;1<=i&&0<=o;i--,o--)if(r[i]!==s[o]){if(i!==1||o!==1)do if(i--,o--,0>o||r[i]!==s[o]){var c=`
`+r[i].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=i&&0<=o);break}}}finally{Fl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?as(e):""}function L1(e){switch(e.tag){case 5:return as(e.type);case 16:return as("Lazy");case 13:return as("Suspense");case 19:return as("SuspenseList");case 0:case 2:case 15:return e=zl(e.type,!1),e;case 11:return e=zl(e.type.render,!1),e;case 1:return e=zl(e.type,!0),e;default:return""}}function Vc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ba:return"Fragment";case Va:return"Portal";case Fc:return"Profiler";case Ad:return"StrictMode";case zc:return"Suspense";case _c:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case fx:return(e.displayName||"Context")+".Consumer";case px:return(e._context.displayName||"Context")+".Provider";case Rd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Md:return t=e.displayName||null,t!==null?t:Vc(e.type)||"Memo";case Sn:t=e._payload,e=e._init;try{return Vc(e(t))}catch{}}return null}function F1(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Vc(t);case 8:return t===Ad?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Wn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function gx(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function z1(e){var t=gx(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var r=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(i){a=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(i){a=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function gi(e){e._valueTracker||(e._valueTracker=z1(e))}function xx(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=gx(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function fo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Bc(e,t){var n=t.checked;return le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Tp(e,t){var n=t.defaultValue==null?"":t.defaultValue,a=t.checked!=null?t.checked:t.defaultChecked;n=Wn(t.value!=null?t.value:n),e._wrapperState={initialChecked:a,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function yx(e,t){t=t.checked,t!=null&&Ed(e,"checked",t,!1)}function $c(e,t){yx(e,t);var n=Wn(t.value),a=t.type;if(n!=null)a==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Hc(e,t.type,n):t.hasOwnProperty("defaultValue")&&Hc(e,t.type,Wn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ep(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var a=t.type;if(!(a!=="submit"&&a!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Hc(e,t,n){(t!=="number"||fo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var rs=Array.isArray;function tr(e,t,n,a){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Wn(n),t=null,r=0;r<e.length;r++){if(e[r].value===n){e[r].selected=!0,a&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function Uc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(R(91));return le({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ap(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(R(92));if(rs(n)){if(1<n.length)throw Error(R(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Wn(n)}}function vx(e,t){var n=Wn(t.value),a=Wn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),a!=null&&(e.defaultValue=""+a)}function Rp(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function wx(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function qc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?wx(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var xi,bx=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,a,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n,a,r)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(xi=xi||document.createElement("div"),xi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=xi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ss(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ls={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_1=["Webkit","ms","Moz","O"];Object.keys(ls).forEach(function(e){_1.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ls[t]=ls[e]})});function Px(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ls.hasOwnProperty(e)&&ls[e]?(""+t).trim():t+"px"}function Sx(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var a=n.indexOf("--")===0,r=Px(n,t[n],a);n==="float"&&(n="cssFloat"),a?e.setProperty(n,r):e[n]=r}}var V1=le({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Wc(e,t){if(t){if(V1[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(R(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(R(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(R(61))}if(t.style!=null&&typeof t.style!="object")throw Error(R(62))}}function Gc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 Kc=null;function Id(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Qc=null,nr=null,ar=null;function Mp(e){if(e=ti(e)){if(typeof Qc!="function")throw Error(R(280));var t=e.stateNode;t&&(t=ol(t),Qc(e.stateNode,e.type,t))}}function Cx(e){nr?ar?ar.push(e):ar=[e]:nr=e}function kx(){if(nr){var e=nr,t=ar;if(ar=nr=null,Mp(e),t)for(e=0;e<t.length;e++)Mp(t[e])}}function Nx(e,t){return e(t)}function jx(){}var _l=!1;function Tx(e,t,n){if(_l)return e(t,n);_l=!0;try{return Nx(e,t,n)}finally{_l=!1,(nr!==null||ar!==null)&&(jx(),kx())}}function Cs(e,t){var n=e.stateNode;if(n===null)return null;var a=ol(n);if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(R(231,t,typeof n));return n}var Yc=!1;if(un)try{var qr={};Object.defineProperty(qr,"passive",{get:function(){Yc=!0}}),window.addEventListener("test",qr,qr),window.removeEventListener("test",qr,qr)}catch{Yc=!1}function B1(e,t,n,a,r,s,i,o,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var cs=!1,mo=null,go=!1,Xc=null,$1={onError:function(e){cs=!0,mo=e}};function H1(e,t,n,a,r,s,i,o,c){cs=!1,mo=null,B1.apply($1,arguments)}function U1(e,t,n,a,r,s,i,o,c){if(H1.apply(this,arguments),cs){if(cs){var u=mo;cs=!1,mo=null}else throw Error(R(198));go||(go=!0,Xc=u)}}function Ia(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Ex(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Ip(e){if(Ia(e)!==e)throw Error(R(188))}function q1(e){var t=e.alternate;if(!t){if(t=Ia(e),t===null)throw Error(R(188));return t!==e?null:e}for(var n=e,a=t;;){var r=n.return;if(r===null)break;var s=r.alternate;if(s===null){if(a=r.return,a!==null){n=a;continue}break}if(r.child===s.child){for(s=r.child;s;){if(s===n)return Ip(r),e;if(s===a)return Ip(r),t;s=s.sibling}throw Error(R(188))}if(n.return!==a.return)n=r,a=s;else{for(var i=!1,o=r.child;o;){if(o===n){i=!0,n=r,a=s;break}if(o===a){i=!0,a=r,n=s;break}o=o.sibling}if(!i){for(o=s.child;o;){if(o===n){i=!0,n=s,a=r;break}if(o===a){i=!0,a=s,n=r;break}o=o.sibling}if(!i)throw Error(R(189))}}if(n.alternate!==a)throw Error(R(190))}if(n.tag!==3)throw Error(R(188));return n.stateNode.current===n?e:t}function Ax(e){return e=q1(e),e!==null?Rx(e):null}function Rx(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Rx(e);if(t!==null)return t;e=e.sibling}return null}var Mx=rt.unstable_scheduleCallback,Op=rt.unstable_cancelCallback,W1=rt.unstable_shouldYield,G1=rt.unstable_requestPaint,pe=rt.unstable_now,K1=rt.unstable_getCurrentPriorityLevel,Od=rt.unstable_ImmediatePriority,Ix=rt.unstable_UserBlockingPriority,xo=rt.unstable_NormalPriority,Q1=rt.unstable_LowPriority,Ox=rt.unstable_IdlePriority,al=null,qt=null;function Y1(e){if(qt&&typeof qt.onCommitFiberRoot=="function")try{qt.onCommitFiberRoot(al,e,void 0,(e.current.flags&128)===128)}catch{}}var Tt=Math.clz32?Math.clz32:J1,X1=Math.log,Z1=Math.LN2;function J1(e){return e>>>=0,e===0?32:31-(X1(e)/Z1|0)|0}var yi=64,vi=4194304;function ss(e){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:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function yo(e,t){var n=e.pendingLanes;if(n===0)return 0;var a=0,r=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var o=i&~r;o!==0?a=ss(o):(s&=i,s!==0&&(a=ss(s)))}else i=n&~r,i!==0?a=ss(i):s!==0&&(a=ss(s));if(a===0)return 0;if(t!==0&&t!==a&&!(t&r)&&(r=a&-a,s=t&-t,r>=s||r===16&&(s&4194240)!==0))return t;if(a&4&&(a|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=a;0<t;)n=31-Tt(t),r=1<<n,a|=e[n],t&=~r;return a}function eP(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function tP(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,r=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-Tt(s),o=1<<i,c=r[i];c===-1?(!(o&n)||o&a)&&(r[i]=eP(o,t)):c<=t&&(e.expiredLanes|=o),s&=~o}}function Zc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Dx(){var e=yi;return yi<<=1,!(yi&4194240)&&(yi=64),e}function Vl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Js(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Tt(t),e[t]=n}function nP(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0<n;){var r=31-Tt(n),s=1<<r;t[r]=0,a[r]=-1,e[r]=-1,n&=~s}}function Dd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-Tt(n),r=1<<a;r&t|e[a]&t&&(e[a]|=t),n&=~r}}var Z=0;function Lx(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Fx,Ld,zx,_x,Vx,Jc=!1,wi=[],Fn=null,zn=null,_n=null,ks=new Map,Ns=new Map,kn=[],aP="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 submit".split(" ");function Dp(e,t){switch(e){case"focusin":case"focusout":Fn=null;break;case"dragenter":case"dragleave":zn=null;break;case"mouseover":case"mouseout":_n=null;break;case"pointerover":case"pointerout":ks.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ns.delete(t.pointerId)}}function Wr(e,t,n,a,r,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:s,targetContainers:[r]},t!==null&&(t=ti(t),t!==null&&Ld(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function rP(e,t,n,a,r){switch(t){case"focusin":return Fn=Wr(Fn,e,t,n,a,r),!0;case"dragenter":return zn=Wr(zn,e,t,n,a,r),!0;case"mouseover":return _n=Wr(_n,e,t,n,a,r),!0;case"pointerover":var s=r.pointerId;return ks.set(s,Wr(ks.get(s)||null,e,t,n,a,r)),!0;case"gotpointercapture":return s=r.pointerId,Ns.set(s,Wr(Ns.get(s)||null,e,t,n,a,r)),!0}return!1}function Bx(e){var t=ca(e.target);if(t!==null){var n=Ia(t);if(n!==null){if(t=n.tag,t===13){if(t=Ex(n),t!==null){e.blockedOn=t,Vx(e.priority,function(){zx(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ui(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=eu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n);Kc=a,n.target.dispatchEvent(a),Kc=null}else return t=ti(n),t!==null&&Ld(t),e.blockedOn=n,!1;t.shift()}return!0}function Lp(e,t,n){Ui(e)&&n.delete(t)}function sP(){Jc=!1,Fn!==null&&Ui(Fn)&&(Fn=null),zn!==null&&Ui(zn)&&(zn=null),_n!==null&&Ui(_n)&&(_n=null),ks.forEach(Lp),Ns.forEach(Lp)}function Gr(e,t){e.blockedOn===t&&(e.blockedOn=null,Jc||(Jc=!0,rt.unstable_scheduleCallback(rt.unstable_NormalPriority,sP)))}function js(e){function t(r){return Gr(r,e)}if(0<wi.length){Gr(wi[0],e);for(var n=1;n<wi.length;n++){var a=wi[n];a.blockedOn===e&&(a.blockedOn=null)}}for(Fn!==null&&Gr(Fn,e),zn!==null&&Gr(zn,e),_n!==null&&Gr(_n,e),ks.forEach(t),Ns.forEach(t),n=0;n<kn.length;n++)a=kn[n],a.blockedOn===e&&(a.blockedOn=null);for(;0<kn.length&&(n=kn[0],n.blockedOn===null);)Bx(n),n.blockedOn===null&&kn.shift()}var rr=gn.ReactCurrentBatchConfig,vo=!0;function iP(e,t,n,a){var r=Z,s=rr.transition;rr.transition=null;try{Z=1,Fd(e,t,n,a)}finally{Z=r,rr.transition=s}}function oP(e,t,n,a){var r=Z,s=rr.transition;rr.transition=null;try{Z=4,Fd(e,t,n,a)}finally{Z=r,rr.transition=s}}function Fd(e,t,n,a){if(vo){var r=eu(e,t,n,a);if(r===null)Yl(e,t,a,wo,n),Dp(e,a);else if(rP(r,e,t,n,a))a.stopPropagation();else if(Dp(e,a),t&4&&-1<aP.indexOf(e)){for(;r!==null;){var s=ti(r);if(s!==null&&Fx(s),s=eu(e,t,n,a),s===null&&Yl(e,t,a,wo,n),s===r)break;r=s}r!==null&&a.stopPropagation()}else Yl(e,t,a,null,n)}}var wo=null;function eu(e,t,n,a){if(wo=null,e=Id(a),e=ca(e),e!==null)if(t=Ia(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Ex(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return wo=e,null}function $x(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(K1()){case Od:return 1;case Ix:return 4;case xo:case Q1:return 16;case Ox:return 536870912;default:return 16}default:return 16}}var In=null,zd=null,qi=null;function Hx(){if(qi)return qi;var e,t=zd,n=t.length,a,r="value"in In?In.value:In.textContent,s=r.length;for(e=0;e<n&&t[e]===r[e];e++);var i=n-e;for(a=1;a<=i&&t[n-a]===r[s-a];a++);return qi=r.slice(e,1<a?1-a:void 0)}function Wi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function bi(){return!0}function Fp(){return!1}function it(e){function t(n,a,r,s,i){this._reactName=n,this._targetInst=r,this.type=a,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var o in e)e.hasOwnProperty(o)&&(n=e[o],this[o]=n?n(s):s[o]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?bi:Fp,this.isPropagationStopped=Fp,this}return le(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=bi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=bi)},persist:function(){},isPersistent:bi}),t}var Mr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_d=it(Mr),ei=le({},Mr,{view:0,detail:0}),lP=it(ei),Bl,$l,Kr,rl=le({},ei,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vd,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!==Kr&&(Kr&&e.type==="mousemove"?(Bl=e.screenX-Kr.screenX,$l=e.screenY-Kr.screenY):$l=Bl=0,Kr=e),Bl)},movementY:function(e){return"movementY"in e?e.movementY:$l}}),zp=it(rl),cP=le({},rl,{dataTransfer:0}),uP=it(cP),dP=le({},ei,{relatedTarget:0}),Hl=it(dP),hP=le({},Mr,{animationName:0,elapsedTime:0,pseudoElement:0}),pP=it(hP),fP=le({},Mr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),mP=it(fP),gP=le({},Mr,{data:0}),_p=it(gP),xP={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yP={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"},vP={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function wP(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=vP[e])?!!t[e]:!1}function Vd(){return wP}var bP=le({},ei,{key:function(e){if(e.key){var t=xP[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Wi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?yP[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vd,charCode:function(e){return e.type==="keypress"?Wi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Wi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),PP=it(bP),SP=le({},rl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Vp=it(SP),CP=le({},ei,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vd}),kP=it(CP),NP=le({},Mr,{propertyName:0,elapsedTime:0,pseudoElement:0}),jP=it(NP),TP=le({},rl,{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}),EP=it(TP),AP=[9,13,27,32],Bd=un&&"CompositionEvent"in window,us=null;un&&"documentMode"in document&&(us=document.documentMode);var RP=un&&"TextEvent"in window&&!us,Ux=un&&(!Bd||us&&8<us&&11>=us),Bp=" ",$p=!1;function qx(e,t){switch(e){case"keyup":return AP.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wx(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $a=!1;function MP(e,t){switch(e){case"compositionend":return Wx(t);case"keypress":return t.which!==32?null:($p=!0,Bp);case"textInput":return e=t.data,e===Bp&&$p?null:e;default:return null}}function IP(e,t){if($a)return e==="compositionend"||!Bd&&qx(e,t)?(e=Hx(),qi=zd=In=null,$a=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ux&&t.locale!=="ko"?null:t.data;default:return null}}var OP={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 Hp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!OP[e.type]:t==="textarea"}function Gx(e,t,n,a){Cx(a),t=bo(t,"onChange"),0<t.length&&(n=new _d("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var ds=null,Ts=null;function DP(e){ry(e,0)}function sl(e){var t=qa(e);if(xx(t))return e}function LP(e,t){if(e==="change")return t}var Kx=!1;if(un){var Ul;if(un){var ql="oninput"in document;if(!ql){var Up=document.createElement("div");Up.setAttribute("oninput","return;"),ql=typeof Up.oninput=="function"}Ul=ql}else Ul=!1;Kx=Ul&&(!document.documentMode||9<document.documentMode)}function qp(){ds&&(ds.detachEvent("onpropertychange",Qx),Ts=ds=null)}function Qx(e){if(e.propertyName==="value"&&sl(Ts)){var t=[];Gx(t,Ts,e,Id(e)),Tx(DP,t)}}function FP(e,t,n){e==="focusin"?(qp(),ds=t,Ts=n,ds.attachEvent("onpropertychange",Qx)):e==="focusout"&&qp()}function zP(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return sl(Ts)}function _P(e,t){if(e==="click")return sl(t)}function VP(e,t){if(e==="input"||e==="change")return sl(t)}function BP(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Rt=typeof Object.is=="function"?Object.is:BP;function Es(e,t){if(Rt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var r=n[a];if(!Lc.call(t,r)||!Rt(e[r],t[r]))return!1}return!0}function Wp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Gp(e,t){var n=Wp(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Wp(n)}}function Yx(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Yx(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Xx(){for(var e=window,t=fo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=fo(e.document)}return t}function $d(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function $P(e){var t=Xx(),n=e.focusedElem,a=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Yx(n.ownerDocument.documentElement,n)){if(a!==null&&$d(n)){if(t=a.start,e=a.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var r=n.textContent.length,s=Math.min(a.start,r);a=a.end===void 0?s:Math.min(a.end,r),!e.extend&&s>a&&(r=a,a=s,s=r),r=Gp(n,s);var i=Gp(n,a);r&&i&&(e.rangeCount!==1||e.anchorNode!==r.node||e.anchorOffset!==r.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(r.node,r.offset),e.removeAllRanges(),s>a?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var HP=un&&"documentMode"in document&&11>=document.documentMode,Ha=null,tu=null,hs=null,nu=!1;function Kp(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;nu||Ha==null||Ha!==fo(a)||(a=Ha,"selectionStart"in a&&$d(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),hs&&Es(hs,a)||(hs=a,a=bo(tu,"onSelect"),0<a.length&&(t=new _d("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=Ha)))}function Pi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ua={animationend:Pi("Animation","AnimationEnd"),animationiteration:Pi("Animation","AnimationIteration"),animationstart:Pi("Animation","AnimationStart"),transitionend:Pi("Transition","TransitionEnd")},Wl={},Zx={};un&&(Zx=document.createElement("div").style,"AnimationEvent"in window||(delete Ua.animationend.animation,delete Ua.animationiteration.animation,delete Ua.animationstart.animation),"TransitionEvent"in window||delete Ua.transitionend.transition);function il(e){if(Wl[e])return Wl[e];if(!Ua[e])return e;var t=Ua[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Zx)return Wl[e]=t[n];return e}var Jx=il("animationend"),ey=il("animationiteration"),ty=il("animationstart"),ny=il("transitionend"),ay=new Map,Qp="abort auxClick 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(" ");function Jn(e,t){ay.set(e,t),Ma(t,[e])}for(var Gl=0;Gl<Qp.length;Gl++){var Kl=Qp[Gl],UP=Kl.toLowerCase(),qP=Kl[0].toUpperCase()+Kl.slice(1);Jn(UP,"on"+qP)}Jn(Jx,"onAnimationEnd");Jn(ey,"onAnimationIteration");Jn(ty,"onAnimationStart");Jn("dblclick","onDoubleClick");Jn("focusin","onFocus");Jn("focusout","onBlur");Jn(ny,"onTransitionEnd");wr("onMouseEnter",["mouseout","mouseover"]);wr("onMouseLeave",["mouseout","mouseover"]);wr("onPointerEnter",["pointerout","pointerover"]);wr("onPointerLeave",["pointerout","pointerover"]);Ma("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ma("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ma("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ma("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ma("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ma("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var is="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(" "),WP=new Set("cancel close invalid load scroll toggle".split(" ").concat(is));function Yp(e,t,n){var a=e.type||"unknown-event";e.currentTarget=n,U1(a,t,void 0,e),e.currentTarget=null}function ry(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n],r=a.event;a=a.listeners;e:{var s=void 0;if(t)for(var i=a.length-1;0<=i;i--){var o=a[i],c=o.instance,u=o.currentTarget;if(o=o.listener,c!==s&&r.isPropagationStopped())break e;Yp(r,o,u),s=c}else for(i=0;i<a.length;i++){if(o=a[i],c=o.instance,u=o.currentTarget,o=o.listener,c!==s&&r.isPropagationStopped())break e;Yp(r,o,u),s=c}}}if(go)throw e=Xc,go=!1,Xc=null,e}function ae(e,t){var n=t[ou];n===void 0&&(n=t[ou]=new Set);var a=e+"__bubble";n.has(a)||(sy(t,e,2,!1),n.add(a))}function Ql(e,t,n){var a=0;t&&(a|=4),sy(n,e,a,t)}var Si="_reactListening"+Math.random().toString(36).slice(2);function As(e){if(!e[Si]){e[Si]=!0,hx.forEach(function(n){n!=="selectionchange"&&(WP.has(n)||Ql(n,!1,e),Ql(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Si]||(t[Si]=!0,Ql("selectionchange",!1,t))}}function sy(e,t,n,a){switch($x(t)){case 1:var r=iP;break;case 4:r=oP;break;default:r=Fd}n=r.bind(null,t,n,e),r=void 0,!Yc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),a?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function Yl(e,t,n,a,r){var s=a;if(!(t&1)&&!(t&2)&&a!==null)e:for(;;){if(a===null)return;var i=a.tag;if(i===3||i===4){var o=a.stateNode.containerInfo;if(o===r||o.nodeType===8&&o.parentNode===r)break;if(i===4)for(i=a.return;i!==null;){var c=i.tag;if((c===3||c===4)&&(c=i.stateNode.containerInfo,c===r||c.nodeType===8&&c.parentNode===r))return;i=i.return}for(;o!==null;){if(i=ca(o),i===null)return;if(c=i.tag,c===5||c===6){a=s=i;continue e}o=o.parentNode}}a=a.return}Tx(function(){var u=s,d=Id(n),h=[];e:{var p=ay.get(e);if(p!==void 0){var m=_d,x=e;switch(e){case"keypress":if(Wi(n)===0)break e;case"keydown":case"keyup":m=PP;break;case"focusin":x="focus",m=Hl;break;case"focusout":x="blur",m=Hl;break;case"beforeblur":case"afterblur":m=Hl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=zp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=uP;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=kP;break;case Jx:case ey:case ty:m=pP;break;case ny:m=jP;break;case"scroll":m=lP;break;case"wheel":m=EP;break;case"copy":case"cut":case"paste":m=mP;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=Vp}var v=(t&4)!==0,b=!v&&e==="scroll",g=v?p!==null?p+"Capture":null:p;v=[];for(var f=u,y;f!==null;){y=f;var P=y.stateNode;if(y.tag===5&&P!==null&&(y=P,g!==null&&(P=Cs(f,g),P!=null&&v.push(Rs(f,P,y)))),b)break;f=f.return}0<v.length&&(p=new m(p,x,null,n,d),h.push({event:p,listeners:v}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",p&&n!==Kc&&(x=n.relatedTarget||n.fromElement)&&(ca(x)||x[dn]))break e;if((m||p)&&(p=d.window===d?d:(p=d.ownerDocument)?p.defaultView||p.parentWindow:window,m?(x=n.relatedTarget||n.toElement,m=u,x=x?ca(x):null,x!==null&&(b=Ia(x),x!==b||x.tag!==5&&x.tag!==6)&&(x=null)):(m=null,x=u),m!==x)){if(v=zp,P="onMouseLeave",g="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(v=Vp,P="onPointerLeave",g="onPointerEnter",f="pointer"),b=m==null?p:qa(m),y=x==null?p:qa(x),p=new v(P,f+"leave",m,n,d),p.target=b,p.relatedTarget=y,P=null,ca(d)===u&&(v=new v(g,f+"enter",x,n,d),v.target=y,v.relatedTarget=b,P=v),b=P,m&&x)t:{for(v=m,g=x,f=0,y=v;y;y=Fa(y))f++;for(y=0,P=g;P;P=Fa(P))y++;for(;0<f-y;)v=Fa(v),f--;for(;0<y-f;)g=Fa(g),y--;for(;f--;){if(v===g||g!==null&&v===g.alternate)break t;v=Fa(v),g=Fa(g)}v=null}else v=null;m!==null&&Xp(h,p,m,v,!1),x!==null&&b!==null&&Xp(h,b,x,v,!0)}}e:{if(p=u?qa(u):window,m=p.nodeName&&p.nodeName.toLowerCase(),m==="select"||m==="input"&&p.type==="file")var S=LP;else if(Hp(p))if(Kx)S=VP;else{S=zP;var C=FP}else(m=p.nodeName)&&m.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(S=_P);if(S&&(S=S(e,u))){Gx(h,S,n,d);break e}C&&C(e,p,u),e==="focusout"&&(C=p._wrapperState)&&C.controlled&&p.type==="number"&&Hc(p,"number",p.value)}switch(C=u?qa(u):window,e){case"focusin":(Hp(C)||C.contentEditable==="true")&&(Ha=C,tu=u,hs=null);break;case"focusout":hs=tu=Ha=null;break;case"mousedown":nu=!0;break;case"contextmenu":case"mouseup":case"dragend":nu=!1,Kp(h,n,d);break;case"selectionchange":if(HP)break;case"keydown":case"keyup":Kp(h,n,d)}var N;if(Bd)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else $a?qx(e,n)&&(k="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(k="onCompositionStart");k&&(Ux&&n.locale!=="ko"&&($a||k!=="onCompositionStart"?k==="onCompositionEnd"&&$a&&(N=Hx()):(In=d,zd="value"in In?In.value:In.textContent,$a=!0)),C=bo(u,k),0<C.length&&(k=new _p(k,e,null,n,d),h.push({event:k,listeners:C}),N?k.data=N:(N=Wx(n),N!==null&&(k.data=N)))),(N=RP?MP(e,n):IP(e,n))&&(u=bo(u,"onBeforeInput"),0<u.length&&(d=new _p("onBeforeInput","beforeinput",null,n,d),h.push({event:d,listeners:u}),d.data=N))}ry(h,t)})}function Rs(e,t,n){return{instance:e,listener:t,currentTarget:n}}function bo(e,t){for(var n=t+"Capture",a=[];e!==null;){var r=e,s=r.stateNode;r.tag===5&&s!==null&&(r=s,s=Cs(e,n),s!=null&&a.unshift(Rs(e,s,r)),s=Cs(e,t),s!=null&&a.push(Rs(e,s,r))),e=e.return}return a}function Fa(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Xp(e,t,n,a,r){for(var s=t._reactName,i=[];n!==null&&n!==a;){var o=n,c=o.alternate,u=o.stateNode;if(c!==null&&c===a)break;o.tag===5&&u!==null&&(o=u,r?(c=Cs(n,s),c!=null&&i.unshift(Rs(n,c,o))):r||(c=Cs(n,s),c!=null&&i.push(Rs(n,c,o)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var GP=/\r\n?/g,KP=/\u0000|\uFFFD/g;function Zp(e){return(typeof e=="string"?e:""+e).replace(GP,`
`).replace(KP,"")}function Ci(e,t,n){if(t=Zp(t),Zp(e)!==t&&n)throw Error(R(425))}function Po(){}var au=null,ru=null;function su(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var iu=typeof setTimeout=="function"?setTimeout:void 0,QP=typeof clearTimeout=="function"?clearTimeout:void 0,Jp=typeof Promise=="function"?Promise:void 0,YP=typeof queueMicrotask=="function"?queueMicrotask:typeof Jp<"u"?function(e){return Jp.resolve(null).then(e).catch(XP)}:iu;function XP(e){setTimeout(function(){throw e})}function Xl(e,t){var n=t,a=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===8)if(n=r.data,n==="/$"){if(a===0){e.removeChild(r),js(t);return}a--}else n!=="$"&&n!=="$?"&&n!=="$!"||a++;n=r}while(n);js(t)}function Vn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function ef(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Ir=Math.random().toString(36).slice(2),$t="__reactFiber$"+Ir,Ms="__reactProps$"+Ir,dn="__reactContainer$"+Ir,ou="__reactEvents$"+Ir,ZP="__reactListeners$"+Ir,JP="__reactHandles$"+Ir;function ca(e){var t=e[$t];if(t)return t;for(var n=e.parentNode;n;){if(t=n[dn]||n[$t]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ef(e);e!==null;){if(n=e[$t])return n;e=ef(e)}return t}e=n,n=e.parentNode}return null}function ti(e){return e=e[$t]||e[dn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function qa(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(R(33))}function ol(e){return e[Ms]||null}var lu=[],Wa=-1;function ea(e){return{current:e}}function re(e){0>Wa||(e.current=lu[Wa],lu[Wa]=null,Wa--)}function te(e,t){Wa++,lu[Wa]=e.current,e.current=t}var Gn={},Le=ea(Gn),Ge=ea(!1),ka=Gn;function br(e,t){var n=e.type.contextTypes;if(!n)return Gn;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var r={},s;for(s in n)r[s]=t[s];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=r),r}function Ke(e){return e=e.childContextTypes,e!=null}function So(){re(Ge),re(Le)}function tf(e,t,n){if(Le.current!==Gn)throw Error(R(168));te(Le,t),te(Ge,n)}function iy(e,t,n){var a=e.stateNode;if(t=t.childContextTypes,typeof a.getChildContext!="function")return n;a=a.getChildContext();for(var r in a)if(!(r in t))throw Error(R(108,F1(e)||"Unknown",r));return le({},n,a)}function Co(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gn,ka=Le.current,te(Le,e),te(Ge,Ge.current),!0}function nf(e,t,n){var a=e.stateNode;if(!a)throw Error(R(169));n?(e=iy(e,t,ka),a.__reactInternalMemoizedMergedChildContext=e,re(Ge),re(Le),te(Le,e)):re(Ge),te(Ge,n)}var an=null,ll=!1,Zl=!1;function oy(e){an===null?an=[e]:an.push(e)}function eS(e){ll=!0,oy(e)}function ta(){if(!Zl&&an!==null){Zl=!0;var e=0,t=Z;try{var n=an;for(Z=1;e<n.length;e++){var a=n[e];do a=a(!0);while(a!==null)}an=null,ll=!1}catch(r){throw an!==null&&(an=an.slice(e+1)),Mx(Od,ta),r}finally{Z=t,Zl=!1}}return null}var Ga=[],Ka=0,ko=null,No=0,ut=[],dt=0,Na=null,sn=1,on="";function ia(e,t){Ga[Ka++]=No,Ga[Ka++]=ko,ko=e,No=t}function ly(e,t,n){ut[dt++]=sn,ut[dt++]=on,ut[dt++]=Na,Na=e;var a=sn;e=on;var r=32-Tt(a)-1;a&=~(1<<r),n+=1;var s=32-Tt(t)+r;if(30<s){var i=r-r%5;s=(a&(1<<i)-1).toString(32),a>>=i,r-=i,sn=1<<32-Tt(t)+r|n<<r|a,on=s+e}else sn=1<<s|n<<r|a,on=e}function Hd(e){e.return!==null&&(ia(e,1),ly(e,1,0))}function Ud(e){for(;e===ko;)ko=Ga[--Ka],Ga[Ka]=null,No=Ga[--Ka],Ga[Ka]=null;for(;e===Na;)Na=ut[--dt],ut[dt]=null,on=ut[--dt],ut[dt]=null,sn=ut[--dt],ut[dt]=null}var et=null,Je=null,se=!1,Nt=null;function cy(e,t){var n=ht(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function af(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,et=e,Je=Vn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,et=e,Je=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Na!==null?{id:sn,overflow:on}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=ht(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,et=e,Je=null,!0):!1;default:return!1}}function cu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function uu(e){if(se){var t=Je;if(t){var n=t;if(!af(e,t)){if(cu(e))throw Error(R(418));t=Vn(n.nextSibling);var a=et;t&&af(e,t)?cy(a,n):(e.flags=e.flags&-4097|2,se=!1,et=e)}}else{if(cu(e))throw Error(R(418));e.flags=e.flags&-4097|2,se=!1,et=e}}}function rf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;et=e}function ki(e){if(e!==et)return!1;if(!se)return rf(e),se=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!su(e.type,e.memoizedProps)),t&&(t=Je)){if(cu(e))throw uy(),Error(R(418));for(;t;)cy(e,t),t=Vn(t.nextSibling)}if(rf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Je=Vn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Je=null}}else Je=et?Vn(e.stateNode.nextSibling):null;return!0}function uy(){for(var e=Je;e;)e=Vn(e.nextSibling)}function Pr(){Je=et=null,se=!1}function qd(e){Nt===null?Nt=[e]:Nt.push(e)}var tS=gn.ReactCurrentBatchConfig;function Qr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(R(309));var a=n.stateNode}if(!a)throw Error(R(147,e));var r=a,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var o=r.refs;i===null?delete o[s]:o[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(R(284));if(!n._owner)throw Error(R(290,e))}return e}function Ni(e,t){throw e=Object.prototype.toString.call(t),Error(R(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function sf(e){var t=e._init;return t(e._payload)}function dy(e){function t(g,f){if(e){var y=g.deletions;y===null?(g.deletions=[f],g.flags|=16):y.push(f)}}function n(g,f){if(!e)return null;for(;f!==null;)t(g,f),f=f.sibling;return null}function a(g,f){for(g=new Map;f!==null;)f.key!==null?g.set(f.key,f):g.set(f.index,f),f=f.sibling;return g}function r(g,f){return g=Un(g,f),g.index=0,g.sibling=null,g}function s(g,f,y){return g.index=y,e?(y=g.alternate,y!==null?(y=y.index,y<f?(g.flags|=2,f):y):(g.flags|=2,f)):(g.flags|=1048576,f)}function i(g){return e&&g.alternate===null&&(g.flags|=2),g}function o(g,f,y,P){return f===null||f.tag!==6?(f=sc(y,g.mode,P),f.return=g,f):(f=r(f,y),f.return=g,f)}function c(g,f,y,P){var S=y.type;return S===Ba?d(g,f,y.props.children,P,y.key):f!==null&&(f.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Sn&&sf(S)===f.type)?(P=r(f,y.props),P.ref=Qr(g,f,y),P.return=g,P):(P=Ji(y.type,y.key,y.props,null,g.mode,P),P.ref=Qr(g,f,y),P.return=g,P)}function u(g,f,y,P){return f===null||f.tag!==4||f.stateNode.containerInfo!==y.containerInfo||f.stateNode.implementation!==y.implementation?(f=ic(y,g.mode,P),f.return=g,f):(f=r(f,y.children||[]),f.return=g,f)}function d(g,f,y,P,S){return f===null||f.tag!==7?(f=Pa(y,g.mode,P,S),f.return=g,f):(f=r(f,y),f.return=g,f)}function h(g,f,y){if(typeof f=="string"&&f!==""||typeof f=="number")return f=sc(""+f,g.mode,y),f.return=g,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case mi:return y=Ji(f.type,f.key,f.props,null,g.mode,y),y.ref=Qr(g,null,f),y.return=g,y;case Va:return f=ic(f,g.mode,y),f.return=g,f;case Sn:var P=f._init;return h(g,P(f._payload),y)}if(rs(f)||Ur(f))return f=Pa(f,g.mode,y,null),f.return=g,f;Ni(g,f)}return null}function p(g,f,y,P){var S=f!==null?f.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return S!==null?null:o(g,f,""+y,P);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case mi:return y.key===S?c(g,f,y,P):null;case Va:return y.key===S?u(g,f,y,P):null;case Sn:return S=y._init,p(g,f,S(y._payload),P)}if(rs(y)||Ur(y))return S!==null?null:d(g,f,y,P,null);Ni(g,y)}return null}function m(g,f,y,P,S){if(typeof P=="string"&&P!==""||typeof P=="number")return g=g.get(y)||null,o(f,g,""+P,S);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case mi:return g=g.get(P.key===null?y:P.key)||null,c(f,g,P,S);case Va:return g=g.get(P.key===null?y:P.key)||null,u(f,g,P,S);case Sn:var C=P._init;return m(g,f,y,C(P._payload),S)}if(rs(P)||Ur(P))return g=g.get(y)||null,d(f,g,P,S,null);Ni(f,P)}return null}function x(g,f,y,P){for(var S=null,C=null,N=f,k=f=0,A=null;N!==null&&k<y.length;k++){N.index>k?(A=N,N=null):A=N.sibling;var E=p(g,N,y[k],P);if(E===null){N===null&&(N=A);break}e&&N&&E.alternate===null&&t(g,N),f=s(E,f,k),C===null?S=E:C.sibling=E,C=E,N=A}if(k===y.length)return n(g,N),se&&ia(g,k),S;if(N===null){for(;k<y.length;k++)N=h(g,y[k],P),N!==null&&(f=s(N,f,k),C===null?S=N:C.sibling=N,C=N);return se&&ia(g,k),S}for(N=a(g,N);k<y.length;k++)A=m(N,g,k,y[k],P),A!==null&&(e&&A.alternate!==null&&N.delete(A.key===null?k:A.key),f=s(A,f,k),C===null?S=A:C.sibling=A,C=A);return e&&N.forEach(function(L){return t(g,L)}),se&&ia(g,k),S}function v(g,f,y,P){var S=Ur(y);if(typeof S!="function")throw Error(R(150));if(y=S.call(y),y==null)throw Error(R(151));for(var C=S=null,N=f,k=f=0,A=null,E=y.next();N!==null&&!E.done;k++,E=y.next()){N.index>k?(A=N,N=null):A=N.sibling;var L=p(g,N,E.value,P);if(L===null){N===null&&(N=A);break}e&&N&&L.alternate===null&&t(g,N),f=s(L,f,k),C===null?S=L:C.sibling=L,C=L,N=A}if(E.done)return n(g,N),se&&ia(g,k),S;if(N===null){for(;!E.done;k++,E=y.next())E=h(g,E.value,P),E!==null&&(f=s(E,f,k),C===null?S=E:C.sibling=E,C=E);return se&&ia(g,k),S}for(N=a(g,N);!E.done;k++,E=y.next())E=m(N,g,k,E.value,P),E!==null&&(e&&E.alternate!==null&&N.delete(E.key===null?k:E.key),f=s(E,f,k),C===null?S=E:C.sibling=E,C=E);return e&&N.forEach(function(O){return t(g,O)}),se&&ia(g,k),S}function b(g,f,y,P){if(typeof y=="object"&&y!==null&&y.type===Ba&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case mi:e:{for(var S=y.key,C=f;C!==null;){if(C.key===S){if(S=y.type,S===Ba){if(C.tag===7){n(g,C.sibling),f=r(C,y.props.children),f.return=g,g=f;break e}}else if(C.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Sn&&sf(S)===C.type){n(g,C.sibling),f=r(C,y.props),f.ref=Qr(g,C,y),f.return=g,g=f;break e}n(g,C);break}else t(g,C);C=C.sibling}y.type===Ba?(f=Pa(y.props.children,g.mode,P,y.key),f.return=g,g=f):(P=Ji(y.type,y.key,y.props,null,g.mode,P),P.ref=Qr(g,f,y),P.return=g,g=P)}return i(g);case Va:e:{for(C=y.key;f!==null;){if(f.key===C)if(f.tag===4&&f.stateNode.containerInfo===y.containerInfo&&f.stateNode.implementation===y.implementation){n(g,f.sibling),f=r(f,y.children||[]),f.return=g,g=f;break e}else{n(g,f);break}else t(g,f);f=f.sibling}f=ic(y,g.mode,P),f.return=g,g=f}return i(g);case Sn:return C=y._init,b(g,f,C(y._payload),P)}if(rs(y))return x(g,f,y,P);if(Ur(y))return v(g,f,y,P);Ni(g,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,f!==null&&f.tag===6?(n(g,f.sibling),f=r(f,y),f.return=g,g=f):(n(g,f),f=sc(y,g.mode,P),f.return=g,g=f),i(g)):n(g,f)}return b}var Sr=dy(!0),hy=dy(!1),jo=ea(null),To=null,Qa=null,Wd=null;function Gd(){Wd=Qa=To=null}function Kd(e){var t=jo.current;re(jo),e._currentValue=t}function du(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function sr(e,t){To=e,Wd=Qa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(We=!0),e.firstContext=null)}function gt(e){var t=e._currentValue;if(Wd!==e)if(e={context:e,memoizedValue:t,next:null},Qa===null){if(To===null)throw Error(R(308));Qa=e,To.dependencies={lanes:0,firstContext:e}}else Qa=Qa.next=e;return t}var ua=null;function Qd(e){ua===null?ua=[e]:ua.push(e)}function py(e,t,n,a){var r=t.interleaved;return r===null?(n.next=n,Qd(t)):(n.next=r.next,r.next=n),t.interleaved=n,hn(e,a)}function hn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Cn=!1;function Yd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function fy(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ln(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bn(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,Y&2){var r=a.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),a.pending=t,hn(e,n)}return r=a.interleaved,r===null?(t.next=t,Qd(a)):(t.next=r.next,r.next=t),a.interleaved=t,hn(e,n)}function Gi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Dd(e,n)}}function of(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var r=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?r=s=i:s=s.next=i,n=n.next}while(n!==null);s===null?r=s=t:s=s.next=t}else r=s=t;n={baseState:a.baseState,firstBaseUpdate:r,lastBaseUpdate:s,shared:a.shared,effects:a.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Eo(e,t,n,a){var r=e.updateQueue;Cn=!1;var s=r.firstBaseUpdate,i=r.lastBaseUpdate,o=r.shared.pending;if(o!==null){r.shared.pending=null;var c=o,u=c.next;c.next=null,i===null?s=u:i.next=u,i=c;var d=e.alternate;d!==null&&(d=d.updateQueue,o=d.lastBaseUpdate,o!==i&&(o===null?d.firstBaseUpdate=u:o.next=u,d.lastBaseUpdate=c))}if(s!==null){var h=r.baseState;i=0,d=u=c=null,o=s;do{var p=o.lane,m=o.eventTime;if((a&p)===p){d!==null&&(d=d.next={eventTime:m,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var x=e,v=o;switch(p=t,m=n,v.tag){case 1:if(x=v.payload,typeof x=="function"){h=x.call(m,h,p);break e}h=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=v.payload,p=typeof x=="function"?x.call(m,h,p):x,p==null)break e;h=le({},h,p);break e;case 2:Cn=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,p=r.effects,p===null?r.effects=[o]:p.push(o))}else m={eventTime:m,lane:p,tag:o.tag,payload:o.payload,callback:o.callback,next:null},d===null?(u=d=m,c=h):d=d.next=m,i|=p;if(o=o.next,o===null){if(o=r.shared.pending,o===null)break;p=o,o=p.next,p.next=null,r.lastBaseUpdate=p,r.shared.pending=null}}while(!0);if(d===null&&(c=h),r.baseState=c,r.firstBaseUpdate=u,r.lastBaseUpdate=d,t=r.shared.interleaved,t!==null){r=t;do i|=r.lane,r=r.next;while(r!==t)}else s===null&&(r.shared.lanes=0);Ta|=i,e.lanes=i,e.memoizedState=h}}function lf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var a=e[t],r=a.callback;if(r!==null){if(a.callback=null,a=n,typeof r!="function")throw Error(R(191,r));r.call(a)}}}var ni={},Wt=ea(ni),Is=ea(ni),Os=ea(ni);function da(e){if(e===ni)throw Error(R(174));return e}function Xd(e,t){switch(te(Os,t),te(Is,e),te(Wt,ni),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:qc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=qc(t,e)}re(Wt),te(Wt,t)}function Cr(){re(Wt),re(Is),re(Os)}function my(e){da(Os.current);var t=da(Wt.current),n=qc(t,e.type);t!==n&&(te(Is,e),te(Wt,n))}function Zd(e){Is.current===e&&(re(Wt),re(Is))}var ie=ea(0);function Ao(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Jl=[];function Jd(){for(var e=0;e<Jl.length;e++)Jl[e]._workInProgressVersionPrimary=null;Jl.length=0}var Ki=gn.ReactCurrentDispatcher,ec=gn.ReactCurrentBatchConfig,ja=0,oe=null,ye=null,Pe=null,Ro=!1,ps=!1,Ds=0,nS=0;function Me(){throw Error(R(321))}function eh(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Rt(e[n],t[n]))return!1;return!0}function th(e,t,n,a,r,s){if(ja=s,oe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ki.current=e===null||e.memoizedState===null?iS:oS,e=n(a,r),ps){s=0;do{if(ps=!1,Ds=0,25<=s)throw Error(R(301));s+=1,Pe=ye=null,t.updateQueue=null,Ki.current=lS,e=n(a,r)}while(ps)}if(Ki.current=Mo,t=ye!==null&&ye.next!==null,ja=0,Pe=ye=oe=null,Ro=!1,t)throw Error(R(300));return e}function nh(){var e=Ds!==0;return Ds=0,e}function Lt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pe===null?oe.memoizedState=Pe=e:Pe=Pe.next=e,Pe}function xt(){if(ye===null){var e=oe.alternate;e=e!==null?e.memoizedState:null}else e=ye.next;var t=Pe===null?oe.memoizedState:Pe.next;if(t!==null)Pe=t,ye=e;else{if(e===null)throw Error(R(310));ye=e,e={memoizedState:ye.memoizedState,baseState:ye.baseState,baseQueue:ye.baseQueue,queue:ye.queue,next:null},Pe===null?oe.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function Ls(e,t){return typeof t=="function"?t(e):t}function tc(e){var t=xt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var a=ye,r=a.baseQueue,s=n.pending;if(s!==null){if(r!==null){var i=r.next;r.next=s.next,s.next=i}a.baseQueue=r=s,n.pending=null}if(r!==null){s=r.next,a=a.baseState;var o=i=null,c=null,u=s;do{var d=u.lane;if((ja&d)===d)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),a=u.hasEagerState?u.eagerState:e(a,u.action);else{var h={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(o=c=h,i=a):c=c.next=h,oe.lanes|=d,Ta|=d}u=u.next}while(u!==null&&u!==s);c===null?i=a:c.next=o,Rt(a,t.memoizedState)||(We=!0),t.memoizedState=a,t.baseState=i,t.baseQueue=c,n.lastRenderedState=a}if(e=n.interleaved,e!==null){r=e;do s=r.lane,oe.lanes|=s,Ta|=s,r=r.next;while(r!==e)}else r===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function nc(e){var t=xt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var a=n.dispatch,r=n.pending,s=t.memoizedState;if(r!==null){n.pending=null;var i=r=r.next;do s=e(s,i.action),i=i.next;while(i!==r);Rt(s,t.memoizedState)||(We=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,a]}function gy(){}function xy(e,t){var n=oe,a=xt(),r=t(),s=!Rt(a.memoizedState,r);if(s&&(a.memoizedState=r,We=!0),a=a.queue,ah(wy.bind(null,n,a,e),[e]),a.getSnapshot!==t||s||Pe!==null&&Pe.memoizedState.tag&1){if(n.flags|=2048,Fs(9,vy.bind(null,n,a,r,t),void 0,null),Se===null)throw Error(R(349));ja&30||yy(n,t,r)}return r}function yy(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=oe.updateQueue,t===null?(t={lastEffect:null,stores:null},oe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function vy(e,t,n,a){t.value=n,t.getSnapshot=a,by(t)&&Py(e)}function wy(e,t,n){return n(function(){by(t)&&Py(e)})}function by(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Rt(e,n)}catch{return!0}}function Py(e){var t=hn(e,1);t!==null&&Et(t,e,1,-1)}function cf(e){var t=Lt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ls,lastRenderedState:e},t.queue=e,e=e.dispatch=sS.bind(null,oe,e),[t.memoizedState,e]}function Fs(e,t,n,a){return e={tag:e,create:t,destroy:n,deps:a,next:null},t=oe.updateQueue,t===null?(t={lastEffect:null,stores:null},oe.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e)),e}function Sy(){return xt().memoizedState}function Qi(e,t,n,a){var r=Lt();oe.flags|=e,r.memoizedState=Fs(1|t,n,void 0,a===void 0?null:a)}function cl(e,t,n,a){var r=xt();a=a===void 0?null:a;var s=void 0;if(ye!==null){var i=ye.memoizedState;if(s=i.destroy,a!==null&&eh(a,i.deps)){r.memoizedState=Fs(t,n,s,a);return}}oe.flags|=e,r.memoizedState=Fs(1|t,n,s,a)}function uf(e,t){return Qi(8390656,8,e,t)}function ah(e,t){return cl(2048,8,e,t)}function Cy(e,t){return cl(4,2,e,t)}function ky(e,t){return cl(4,4,e,t)}function Ny(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function jy(e,t,n){return n=n!=null?n.concat([e]):null,cl(4,4,Ny.bind(null,t,e),n)}function rh(){}function Ty(e,t){var n=xt();t=t===void 0?null:t;var a=n.memoizedState;return a!==null&&t!==null&&eh(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Ey(e,t){var n=xt();t=t===void 0?null:t;var a=n.memoizedState;return a!==null&&t!==null&&eh(t,a[1])?a[0]:(e=e(),n.memoizedState=[e,t],e)}function Ay(e,t,n){return ja&21?(Rt(n,t)||(n=Dx(),oe.lanes|=n,Ta|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,We=!0),e.memoizedState=n)}function aS(e,t){var n=Z;Z=n!==0&&4>n?n:4,e(!0);var a=ec.transition;ec.transition={};try{e(!1),t()}finally{Z=n,ec.transition=a}}function Ry(){return xt().memoizedState}function rS(e,t,n){var a=Hn(e);if(n={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null},My(e))Iy(t,n);else if(n=py(e,t,n,a),n!==null){var r=Be();Et(n,e,a,r),Oy(n,t,a)}}function sS(e,t,n){var a=Hn(e),r={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null};if(My(e))Iy(t,r);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,o=s(i,n);if(r.hasEagerState=!0,r.eagerState=o,Rt(o,i)){var c=t.interleaved;c===null?(r.next=r,Qd(t)):(r.next=c.next,c.next=r),t.interleaved=r;return}}catch{}finally{}n=py(e,t,r,a),n!==null&&(r=Be(),Et(n,e,a,r),Oy(n,t,a))}}function My(e){var t=e.alternate;return e===oe||t!==null&&t===oe}function Iy(e,t){ps=Ro=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Oy(e,t,n){if(n&4194240){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Dd(e,n)}}var Mo={readContext:gt,useCallback:Me,useContext:Me,useEffect:Me,useImperativeHandle:Me,useInsertionEffect:Me,useLayoutEffect:Me,useMemo:Me,useReducer:Me,useRef:Me,useState:Me,useDebugValue:Me,useDeferredValue:Me,useTransition:Me,useMutableSource:Me,useSyncExternalStore:Me,useId:Me,unstable_isNewReconciler:!1},iS={readContext:gt,useCallback:function(e,t){return Lt().memoizedState=[e,t===void 0?null:t],e},useContext:gt,useEffect:uf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Qi(4194308,4,Ny.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Qi(4,2,e,t)},useMemo:function(e,t){var n=Lt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var a=Lt();return t=n!==void 0?n(t):t,a.memoizedState=a.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},a.queue=e,e=e.dispatch=rS.bind(null,oe,e),[a.memoizedState,e]},useRef:function(e){var t=Lt();return e={current:e},t.memoizedState=e},useState:cf,useDebugValue:rh,useDeferredValue:function(e){return Lt().memoizedState=e},useTransition:function(){var e=cf(!1),t=e[0];return e=aS.bind(null,e[1]),Lt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var a=oe,r=Lt();if(se){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),Se===null)throw Error(R(349));ja&30||yy(a,t,n)}r.memoizedState=n;var s={value:n,getSnapshot:t};return r.queue=s,uf(wy.bind(null,a,s,e),[e]),a.flags|=2048,Fs(9,vy.bind(null,a,s,n,t),void 0,null),n},useId:function(){var e=Lt(),t=Se.identifierPrefix;if(se){var n=on,a=sn;n=(a&~(1<<32-Tt(a)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ds++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=nS++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},oS={readContext:gt,useCallback:Ty,useContext:gt,useEffect:ah,useImperativeHandle:jy,useInsertionEffect:Cy,useLayoutEffect:ky,useMemo:Ey,useReducer:tc,useRef:Sy,useState:function(){return tc(Ls)},useDebugValue:rh,useDeferredValue:function(e){var t=xt();return Ay(t,ye.memoizedState,e)},useTransition:function(){var e=tc(Ls)[0],t=xt().memoizedState;return[e,t]},useMutableSource:gy,useSyncExternalStore:xy,useId:Ry,unstable_isNewReconciler:!1},lS={readContext:gt,useCallback:Ty,useContext:gt,useEffect:ah,useImperativeHandle:jy,useInsertionEffect:Cy,useLayoutEffect:ky,useMemo:Ey,useReducer:nc,useRef:Sy,useState:function(){return nc(Ls)},useDebugValue:rh,useDeferredValue:function(e){var t=xt();return ye===null?t.memoizedState=e:Ay(t,ye.memoizedState,e)},useTransition:function(){var e=nc(Ls)[0],t=xt().memoizedState;return[e,t]},useMutableSource:gy,useSyncExternalStore:xy,useId:Ry,unstable_isNewReconciler:!1};function Pt(e,t){if(e&&e.defaultProps){t=le({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function hu(e,t,n,a){t=e.memoizedState,n=n(a,t),n=n==null?t:le({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ul={isMounted:function(e){return(e=e._reactInternals)?Ia(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var a=Be(),r=Hn(e),s=ln(a,r);s.payload=t,n!=null&&(s.callback=n),t=Bn(e,s,r),t!==null&&(Et(t,e,r,a),Gi(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=Be(),r=Hn(e),s=ln(a,r);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Bn(e,s,r),t!==null&&(Et(t,e,r,a),Gi(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Be(),a=Hn(e),r=ln(n,a);r.tag=2,t!=null&&(r.callback=t),t=Bn(e,r,a),t!==null&&(Et(t,e,a,n),Gi(t,e,a))}};function df(e,t,n,a,r,s,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,s,i):t.prototype&&t.prototype.isPureReactComponent?!Es(n,a)||!Es(r,s):!0}function Dy(e,t,n){var a=!1,r=Gn,s=t.contextType;return typeof s=="object"&&s!==null?s=gt(s):(r=Ke(t)?ka:Le.current,a=t.contextTypes,s=(a=a!=null)?br(e,r):Gn),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ul,e.stateNode=t,t._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=s),t}function hf(e,t,n,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&ul.enqueueReplaceState(t,t.state,null)}function pu(e,t,n,a){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},Yd(e);var s=t.contextType;typeof s=="object"&&s!==null?r.context=gt(s):(s=Ke(t)?ka:Le.current,r.context=br(e,s)),r.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(hu(e,t,s,n),r.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(t=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),t!==r.state&&ul.enqueueReplaceState(r,r.state,null),Eo(e,n,r,a),r.state=e.memoizedState),typeof r.componentDidMount=="function"&&(e.flags|=4194308)}function kr(e,t){try{var n="",a=t;do n+=L1(a),a=a.return;while(a);var r=n}catch(s){r=`
Error generating stack: `+s.message+`
`+s.stack}return{value:e,source:t,stack:r,digest:null}}function ac(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function fu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var cS=typeof WeakMap=="function"?WeakMap:Map;function Ly(e,t,n){n=ln(-1,n),n.tag=3,n.payload={element:null};var a=t.value;return n.callback=function(){Oo||(Oo=!0,Cu=a),fu(e,t)},n}function Fy(e,t,n){n=ln(-1,n),n.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var r=t.value;n.payload=function(){return a(r)},n.callback=function(){fu(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){fu(e,t),typeof a!="function"&&($n===null?$n=new Set([this]):$n.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function pf(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new cS;var r=new Set;a.set(t,r)}else r=a.get(t),r===void 0&&(r=new Set,a.set(t,r));r.has(n)||(r.add(n),e=SS.bind(null,e,t,n),t.then(e,e))}function ff(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function mf(e,t,n,a,r){return e.mode&1?(e.flags|=65536,e.lanes=r,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=ln(-1,1),t.tag=2,Bn(n,t,1))),n.lanes|=1),e)}var uS=gn.ReactCurrentOwner,We=!1;function Fe(e,t,n,a){t.child=e===null?hy(t,null,n,a):Sr(t,e.child,n,a)}function gf(e,t,n,a,r){n=n.render;var s=t.ref;return sr(t,r),a=th(e,t,n,a,s,r),n=nh(),e!==null&&!We?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,pn(e,t,r)):(se&&n&&Hd(t),t.flags|=1,Fe(e,t,a,r),t.child)}function xf(e,t,n,a,r){if(e===null){var s=n.type;return typeof s=="function"&&!hh(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,zy(e,t,s,a,r)):(e=Ji(n.type,null,a,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&r)){var i=s.memoizedProps;if(n=n.compare,n=n!==null?n:Es,n(i,a)&&e.ref===t.ref)return pn(e,t,r)}return t.flags|=1,e=Un(s,a),e.ref=t.ref,e.return=t,t.child=e}function zy(e,t,n,a,r){if(e!==null){var s=e.memoizedProps;if(Es(s,a)&&e.ref===t.ref)if(We=!1,t.pendingProps=a=s,(e.lanes&r)!==0)e.flags&131072&&(We=!0);else return t.lanes=e.lanes,pn(e,t,r)}return mu(e,t,n,a,r)}function _y(e,t,n){var a=t.pendingProps,r=a.children,s=e!==null?e.memoizedState:null;if(a.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},te(Xa,Ye),Ye|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,te(Xa,Ye),Ye|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=s!==null?s.baseLanes:n,te(Xa,Ye),Ye|=a}else s!==null?(a=s.baseLanes|n,t.memoizedState=null):a=n,te(Xa,Ye),Ye|=a;return Fe(e,t,r,n),t.child}function Vy(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function mu(e,t,n,a,r){var s=Ke(n)?ka:Le.current;return s=br(t,s),sr(t,r),n=th(e,t,n,a,s,r),a=nh(),e!==null&&!We?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,pn(e,t,r)):(se&&a&&Hd(t),t.flags|=1,Fe(e,t,n,r),t.child)}function yf(e,t,n,a,r){if(Ke(n)){var s=!0;Co(t)}else s=!1;if(sr(t,r),t.stateNode===null)Yi(e,t),Dy(t,n,a),pu(t,n,a,r),a=!0;else if(e===null){var i=t.stateNode,o=t.memoizedProps;i.props=o;var c=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=gt(u):(u=Ke(n)?ka:Le.current,u=br(t,u));var d=n.getDerivedStateFromProps,h=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function";h||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==a||c!==u)&&hf(t,i,a,u),Cn=!1;var p=t.memoizedState;i.state=p,Eo(t,a,i,r),c=t.memoizedState,o!==a||p!==c||Ge.current||Cn?(typeof d=="function"&&(hu(t,n,d,a),c=t.memoizedState),(o=Cn||df(t,n,o,a,p,c,u))?(h||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=c),i.props=a,i.state=c,i.context=u,a=o):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{i=t.stateNode,fy(e,t),o=t.memoizedProps,u=t.type===t.elementType?o:Pt(t.type,o),i.props=u,h=t.pendingProps,p=i.context,c=n.contextType,typeof c=="object"&&c!==null?c=gt(c):(c=Ke(n)?ka:Le.current,c=br(t,c));var m=n.getDerivedStateFromProps;(d=typeof m=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==h||p!==c)&&hf(t,i,a,c),Cn=!1,p=t.memoizedState,i.state=p,Eo(t,a,i,r);var x=t.memoizedState;o!==h||p!==x||Ge.current||Cn?(typeof m=="function"&&(hu(t,n,m,a),x=t.memoizedState),(u=Cn||df(t,n,u,a,p,x,c)||!1)?(d||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,x,c),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,x,c)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=x),i.props=a,i.state=x,i.context=c,a=u):(typeof i.componentDidUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),a=!1)}return gu(e,t,n,a,s,r)}function gu(e,t,n,a,r,s){Vy(e,t);var i=(t.flags&128)!==0;if(!a&&!i)return r&&nf(t,n,!1),pn(e,t,s);a=t.stateNode,uS.current=t;var o=i&&typeof n.getDerivedStateFromError!="function"?null:a.render();return t.flags|=1,e!==null&&i?(t.child=Sr(t,e.child,null,s),t.child=Sr(t,null,o,s)):Fe(e,t,o,s),t.memoizedState=a.state,r&&nf(t,n,!0),t.child}function By(e){var t=e.stateNode;t.pendingContext?tf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&tf(e,t.context,!1),Xd(e,t.containerInfo)}function vf(e,t,n,a,r){return Pr(),qd(r),t.flags|=256,Fe(e,t,n,a),t.child}var xu={dehydrated:null,treeContext:null,retryLane:0};function yu(e){return{baseLanes:e,cachePool:null,transitions:null}}function $y(e,t,n){var a=t.pendingProps,r=ie.current,s=!1,i=(t.flags&128)!==0,o;if((o=i)||(o=e!==null&&e.memoizedState===null?!1:(r&2)!==0),o?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(r|=1),te(ie,r&1),e===null)return uu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=a.children,e=a.fallback,s?(a=t.mode,s=t.child,i={mode:"hidden",children:i},!(a&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=pl(i,a,0,null),e=Pa(e,a,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=yu(n),t.memoizedState=xu,e):sh(t,i));if(r=e.memoizedState,r!==null&&(o=r.dehydrated,o!==null))return dS(e,t,i,a,o,r,n);if(s){s=a.fallback,i=t.mode,r=e.child,o=r.sibling;var c={mode:"hidden",children:a.children};return!(i&1)&&t.child!==r?(a=t.child,a.childLanes=0,a.pendingProps=c,t.deletions=null):(a=Un(r,c),a.subtreeFlags=r.subtreeFlags&14680064),o!==null?s=Un(o,s):(s=Pa(s,i,n,null),s.flags|=2),s.return=t,a.return=t,a.sibling=s,t.child=a,a=s,s=t.child,i=e.child.memoizedState,i=i===null?yu(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=xu,a}return s=e.child,e=s.sibling,a=Un(s,{mode:"visible",children:a.children}),!(t.mode&1)&&(a.lanes=n),a.return=t,a.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function sh(e,t){return t=pl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ji(e,t,n,a){return a!==null&&qd(a),Sr(t,e.child,null,n),e=sh(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function dS(e,t,n,a,r,s,i){if(n)return t.flags&256?(t.flags&=-257,a=ac(Error(R(422))),ji(e,t,i,a)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=a.fallback,r=t.mode,a=pl({mode:"visible",children:a.children},r,0,null),s=Pa(s,r,i,null),s.flags|=2,a.return=t,s.return=t,a.sibling=s,t.child=a,t.mode&1&&Sr(t,e.child,null,i),t.child.memoizedState=yu(i),t.memoizedState=xu,s);if(!(t.mode&1))return ji(e,t,i,null);if(r.data==="$!"){if(a=r.nextSibling&&r.nextSibling.dataset,a)var o=a.dgst;return a=o,s=Error(R(419)),a=ac(s,a,void 0),ji(e,t,i,a)}if(o=(i&e.childLanes)!==0,We||o){if(a=Se,a!==null){switch(i&-i){case 4:r=2;break;case 16:r=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:r=32;break;case 536870912:r=268435456;break;default:r=0}r=r&(a.suspendedLanes|i)?0:r,r!==0&&r!==s.retryLane&&(s.retryLane=r,hn(e,r),Et(a,e,r,-1))}return dh(),a=ac(Error(R(421))),ji(e,t,i,a)}return r.data==="$?"?(t.flags|=128,t.child=e.child,t=CS.bind(null,e),r._reactRetry=t,null):(e=s.treeContext,Je=Vn(r.nextSibling),et=t,se=!0,Nt=null,e!==null&&(ut[dt++]=sn,ut[dt++]=on,ut[dt++]=Na,sn=e.id,on=e.overflow,Na=t),t=sh(t,a.children),t.flags|=4096,t)}function wf(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),du(e.return,t,n)}function rc(e,t,n,a,r){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:r}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=a,s.tail=n,s.tailMode=r)}function Hy(e,t,n){var a=t.pendingProps,r=a.revealOrder,s=a.tail;if(Fe(e,t,a.children,n),a=ie.current,a&2)a=a&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&wf(e,n,t);else if(e.tag===19)wf(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(te(ie,a),!(t.mode&1))t.memoizedState=null;else switch(r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&Ao(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),rc(t,!1,r,n,s);break;case"backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&Ao(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}rc(t,!0,n,null,s);break;case"together":rc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Yi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function pn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ta|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(R(153));if(t.child!==null){for(e=t.child,n=Un(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Un(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function hS(e,t,n){switch(t.tag){case 3:By(t),Pr();break;case 5:my(t);break;case 1:Ke(t.type)&&Co(t);break;case 4:Xd(t,t.stateNode.containerInfo);break;case 10:var a=t.type._context,r=t.memoizedProps.value;te(jo,a._currentValue),a._currentValue=r;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(te(ie,ie.current&1),t.flags|=128,null):n&t.child.childLanes?$y(e,t,n):(te(ie,ie.current&1),e=pn(e,t,n),e!==null?e.sibling:null);te(ie,ie.current&1);break;case 19:if(a=(n&t.childLanes)!==0,e.flags&128){if(a)return Hy(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),te(ie,ie.current),a)break;return null;case 22:case 23:return t.lanes=0,_y(e,t,n)}return pn(e,t,n)}var Uy,vu,qy,Wy;Uy=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};vu=function(){};qy=function(e,t,n,a){var r=e.memoizedProps;if(r!==a){e=t.stateNode,da(Wt.current);var s=null;switch(n){case"input":r=Bc(e,r),a=Bc(e,a),s=[];break;case"select":r=le({},r,{value:void 0}),a=le({},a,{value:void 0}),s=[];break;case"textarea":r=Uc(e,r),a=Uc(e,a),s=[];break;default:typeof r.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=Po)}Wc(n,a);var i;n=null;for(u in r)if(!a.hasOwnProperty(u)&&r.hasOwnProperty(u)&&r[u]!=null)if(u==="style"){var o=r[u];for(i in o)o.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ps.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in a){var c=a[u];if(o=r!=null?r[u]:void 0,a.hasOwnProperty(u)&&c!==o&&(c!=null||o!=null))if(u==="style")if(o){for(i in o)!o.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&o[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(s||(s=[]),s.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,o=o?o.__html:void 0,c!=null&&o!==c&&(s=s||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(s=s||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ps.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&ae("scroll",e),s||o===c||(s=[])):(s=s||[]).push(u,c))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};Wy=function(e,t,n,a){n!==a&&(t.flags|=4)};function Yr(e,t){if(!se)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Ie(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)for(var r=e.child;r!==null;)n|=r.lanes|r.childLanes,a|=r.subtreeFlags&14680064,a|=r.flags&14680064,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,a|=r.subtreeFlags,a|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function pS(e,t,n){var a=t.pendingProps;switch(Ud(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ie(t),null;case 1:return Ke(t.type)&&So(),Ie(t),null;case 3:return a=t.stateNode,Cr(),re(Ge),re(Le),Jd(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(ki(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Nt!==null&&(ju(Nt),Nt=null))),vu(e,t),Ie(t),null;case 5:Zd(t);var r=da(Os.current);if(n=t.type,e!==null&&t.stateNode!=null)qy(e,t,n,a,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!a){if(t.stateNode===null)throw Error(R(166));return Ie(t),null}if(e=da(Wt.current),ki(t)){a=t.stateNode,n=t.type;var s=t.memoizedProps;switch(a[$t]=t,a[Ms]=s,e=(t.mode&1)!==0,n){case"dialog":ae("cancel",a),ae("close",a);break;case"iframe":case"object":case"embed":ae("load",a);break;case"video":case"audio":for(r=0;r<is.length;r++)ae(is[r],a);break;case"source":ae("error",a);break;case"img":case"image":case"link":ae("error",a),ae("load",a);break;case"details":ae("toggle",a);break;case"input":Tp(a,s),ae("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!s.multiple},ae("invalid",a);break;case"textarea":Ap(a,s),ae("invalid",a)}Wc(n,s),r=null;for(var i in s)if(s.hasOwnProperty(i)){var o=s[i];i==="children"?typeof o=="string"?a.textContent!==o&&(s.suppressHydrationWarning!==!0&&Ci(a.textContent,o,e),r=["children",o]):typeof o=="number"&&a.textContent!==""+o&&(s.suppressHydrationWarning!==!0&&Ci(a.textContent,o,e),r=["children",""+o]):Ps.hasOwnProperty(i)&&o!=null&&i==="onScroll"&&ae("scroll",a)}switch(n){case"input":gi(a),Ep(a,s,!0);break;case"textarea":gi(a),Rp(a);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(a.onclick=Po)}a=r,t.updateQueue=a,a!==null&&(t.flags|=4)}else{i=r.nodeType===9?r:r.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=wx(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=i.createElement(n,{is:a.is}):(e=i.createElement(n),n==="select"&&(i=e,a.multiple?i.multiple=!0:a.size&&(i.size=a.size))):e=i.createElementNS(e,n),e[$t]=t,e[Ms]=a,Uy(e,t,!1,!1),t.stateNode=e;e:{switch(i=Gc(n,a),n){case"dialog":ae("cancel",e),ae("close",e),r=a;break;case"iframe":case"object":case"embed":ae("load",e),r=a;break;case"video":case"audio":for(r=0;r<is.length;r++)ae(is[r],e);r=a;break;case"source":ae("error",e),r=a;break;case"img":case"image":case"link":ae("error",e),ae("load",e),r=a;break;case"details":ae("toggle",e),r=a;break;case"input":Tp(e,a),r=Bc(e,a),ae("invalid",e);break;case"option":r=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},r=le({},a,{value:void 0}),ae("invalid",e);break;case"textarea":Ap(e,a),r=Uc(e,a),ae("invalid",e);break;default:r=a}Wc(n,r),o=r;for(s in o)if(o.hasOwnProperty(s)){var c=o[s];s==="style"?Sx(e,c):s==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&bx(e,c)):s==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Ss(e,c):typeof c=="number"&&Ss(e,""+c):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Ps.hasOwnProperty(s)?c!=null&&s==="onScroll"&&ae("scroll",e):c!=null&&Ed(e,s,c,i))}switch(n){case"input":gi(e),Ep(e,a,!1);break;case"textarea":gi(e),Rp(e);break;case"option":a.value!=null&&e.setAttribute("value",""+Wn(a.value));break;case"select":e.multiple=!!a.multiple,s=a.value,s!=null?tr(e,!!a.multiple,s,!1):a.defaultValue!=null&&tr(e,!!a.multiple,a.defaultValue,!0);break;default:typeof r.onClick=="function"&&(e.onclick=Po)}switch(n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ie(t),null;case 6:if(e&&t.stateNode!=null)Wy(e,t,e.memoizedProps,a);else{if(typeof a!="string"&&t.stateNode===null)throw Error(R(166));if(n=da(Os.current),da(Wt.current),ki(t)){if(a=t.stateNode,n=t.memoizedProps,a[$t]=t,(s=a.nodeValue!==n)&&(e=et,e!==null))switch(e.tag){case 3:Ci(a.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ci(a.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else a=(n.nodeType===9?n:n.ownerDocument).createTextNode(a),a[$t]=t,t.stateNode=a}return Ie(t),null;case 13:if(re(ie),a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(se&&Je!==null&&t.mode&1&&!(t.flags&128))uy(),Pr(),t.flags|=98560,s=!1;else if(s=ki(t),a!==null&&a.dehydrated!==null){if(e===null){if(!s)throw Error(R(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(R(317));s[$t]=t}else Pr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ie(t),s=!1}else Nt!==null&&(ju(Nt),Nt=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(t.child.flags|=8192,t.mode&1&&(e===null||ie.current&1?we===0&&(we=3):dh())),t.updateQueue!==null&&(t.flags|=4),Ie(t),null);case 4:return Cr(),vu(e,t),e===null&&As(t.stateNode.containerInfo),Ie(t),null;case 10:return Kd(t.type._context),Ie(t),null;case 17:return Ke(t.type)&&So(),Ie(t),null;case 19:if(re(ie),s=t.memoizedState,s===null)return Ie(t),null;if(a=(t.flags&128)!==0,i=s.rendering,i===null)if(a)Yr(s,!1);else{if(we!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Ao(e),i!==null){for(t.flags|=128,Yr(s,!1),a=i.updateQueue,a!==null&&(t.updateQueue=a,t.flags|=4),t.subtreeFlags=0,a=n,n=t.child;n!==null;)s=n,e=a,s.flags&=14680066,i=s.alternate,i===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return te(ie,ie.current&1|2),t.child}e=e.sibling}s.tail!==null&&pe()>Nr&&(t.flags|=128,a=!0,Yr(s,!1),t.lanes=4194304)}else{if(!a)if(e=Ao(i),e!==null){if(t.flags|=128,a=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Yr(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!se)return Ie(t),null}else 2*pe()-s.renderingStartTime>Nr&&n!==1073741824&&(t.flags|=128,a=!0,Yr(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(n=s.last,n!==null?n.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=pe(),t.sibling=null,n=ie.current,te(ie,a?n&1|2:n&1),t):(Ie(t),null);case 22:case 23:return uh(),a=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(t.flags|=8192),a&&t.mode&1?Ye&1073741824&&(Ie(t),t.subtreeFlags&6&&(t.flags|=8192)):Ie(t),null;case 24:return null;case 25:return null}throw Error(R(156,t.tag))}function fS(e,t){switch(Ud(t),t.tag){case 1:return Ke(t.type)&&So(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Cr(),re(Ge),re(Le),Jd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Zd(t),null;case 13:if(re(ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));Pr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return re(ie),null;case 4:return Cr(),null;case 10:return Kd(t.type._context),null;case 22:case 23:return uh(),null;case 24:return null;default:return null}}var Ti=!1,De=!1,mS=typeof WeakSet=="function"?WeakSet:Set,D=null;function Ya(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(a){de(e,t,a)}else n.current=null}function wu(e,t,n){try{n()}catch(a){de(e,t,a)}}var bf=!1;function gS(e,t){if(au=vo,e=Xx(),$d(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var r=a.anchorOffset,s=a.focusNode;a=a.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var i=0,o=-1,c=-1,u=0,d=0,h=e,p=null;t:for(;;){for(var m;h!==n||r!==0&&h.nodeType!==3||(o=i+r),h!==s||a!==0&&h.nodeType!==3||(c=i+a),h.nodeType===3&&(i+=h.nodeValue.length),(m=h.firstChild)!==null;)p=h,h=m;for(;;){if(h===e)break t;if(p===n&&++u===r&&(o=i),p===s&&++d===a&&(c=i),(m=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=m}n=o===-1||c===-1?null:{start:o,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ru={focusedElem:e,selectionRange:n},vo=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var v=x.memoizedProps,b=x.memoizedState,g=t.stateNode,f=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:Pt(t.type,v),b);g.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(R(163))}}catch(P){de(t,t.return,P)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return x=bf,bf=!1,x}function fs(e,t,n){var a=t.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var r=a=a.next;do{if((r.tag&e)===e){var s=r.destroy;r.destroy=void 0,s!==void 0&&wu(t,n,s)}r=r.next}while(r!==a)}}function dl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var a=n.create;n.destroy=a()}n=n.next}while(n!==t)}}function bu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Gy(e){var t=e.alternate;t!==null&&(e.alternate=null,Gy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[$t],delete t[Ms],delete t[ou],delete t[ZP],delete t[JP])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ky(e){return e.tag===5||e.tag===3||e.tag===4}function Pf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ky(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.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 Pu(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Po));else if(a!==4&&(e=e.child,e!==null))for(Pu(e,t,n),e=e.sibling;e!==null;)Pu(e,t,n),e=e.sibling}function Su(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(Su(e,t,n),e=e.sibling;e!==null;)Su(e,t,n),e=e.sibling}var je=null,kt=!1;function yn(e,t,n){for(n=n.child;n!==null;)Qy(e,t,n),n=n.sibling}function Qy(e,t,n){if(qt&&typeof qt.onCommitFiberUnmount=="function")try{qt.onCommitFiberUnmount(al,n)}catch{}switch(n.tag){case 5:De||Ya(n,t);case 6:var a=je,r=kt;je=null,yn(e,t,n),je=a,kt=r,je!==null&&(kt?(e=je,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):je.removeChild(n.stateNode));break;case 18:je!==null&&(kt?(e=je,n=n.stateNode,e.nodeType===8?Xl(e.parentNode,n):e.nodeType===1&&Xl(e,n),js(e)):Xl(je,n.stateNode));break;case 4:a=je,r=kt,je=n.stateNode.containerInfo,kt=!0,yn(e,t,n),je=a,kt=r;break;case 0:case 11:case 14:case 15:if(!De&&(a=n.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){r=a=a.next;do{var s=r,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&wu(n,t,i),r=r.next}while(r!==a)}yn(e,t,n);break;case 1:if(!De&&(Ya(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=n.memoizedProps,a.state=n.memoizedState,a.componentWillUnmount()}catch(o){de(n,t,o)}yn(e,t,n);break;case 21:yn(e,t,n);break;case 22:n.mode&1?(De=(a=De)||n.memoizedState!==null,yn(e,t,n),De=a):yn(e,t,n);break;default:yn(e,t,n)}}function Sf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new mS),t.forEach(function(a){var r=kS.bind(null,e,a);n.has(a)||(n.add(a),a.then(r,r))})}}function vt(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var r=n[a];try{var s=e,i=t,o=i;e:for(;o!==null;){switch(o.tag){case 5:je=o.stateNode,kt=!1;break e;case 3:je=o.stateNode.containerInfo,kt=!0;break e;case 4:je=o.stateNode.containerInfo,kt=!0;break e}o=o.return}if(je===null)throw Error(R(160));Qy(s,i,r),je=null,kt=!1;var c=r.alternate;c!==null&&(c.return=null),r.return=null}catch(u){de(r,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Yy(t,e),t=t.sibling}function Yy(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vt(t,e),Dt(e),a&4){try{fs(3,e,e.return),dl(3,e)}catch(v){de(e,e.return,v)}try{fs(5,e,e.return)}catch(v){de(e,e.return,v)}}break;case 1:vt(t,e),Dt(e),a&512&&n!==null&&Ya(n,n.return);break;case 5:if(vt(t,e),Dt(e),a&512&&n!==null&&Ya(n,n.return),e.flags&32){var r=e.stateNode;try{Ss(r,"")}catch(v){de(e,e.return,v)}}if(a&4&&(r=e.stateNode,r!=null)){var s=e.memoizedProps,i=n!==null?n.memoizedProps:s,o=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{o==="input"&&s.type==="radio"&&s.name!=null&&yx(r,s),Gc(o,i);var u=Gc(o,s);for(i=0;i<c.length;i+=2){var d=c[i],h=c[i+1];d==="style"?Sx(r,h):d==="dangerouslySetInnerHTML"?bx(r,h):d==="children"?Ss(r,h):Ed(r,d,h,u)}switch(o){case"input":$c(r,s);break;case"textarea":vx(r,s);break;case"select":var p=r._wrapperState.wasMultiple;r._wrapperState.wasMultiple=!!s.multiple;var m=s.value;m!=null?tr(r,!!s.multiple,m,!1):p!==!!s.multiple&&(s.defaultValue!=null?tr(r,!!s.multiple,s.defaultValue,!0):tr(r,!!s.multiple,s.multiple?[]:"",!1))}r[Ms]=s}catch(v){de(e,e.return,v)}}break;case 6:if(vt(t,e),Dt(e),a&4){if(e.stateNode===null)throw Error(R(162));r=e.stateNode,s=e.memoizedProps;try{r.nodeValue=s}catch(v){de(e,e.return,v)}}break;case 3:if(vt(t,e),Dt(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{js(t.containerInfo)}catch(v){de(e,e.return,v)}break;case 4:vt(t,e),Dt(e);break;case 13:vt(t,e),Dt(e),r=e.child,r.flags&8192&&(s=r.memoizedState!==null,r.stateNode.isHidden=s,!s||r.alternate!==null&&r.alternate.memoizedState!==null||(lh=pe())),a&4&&Sf(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(De=(u=De)||d,vt(t,e),De=u):vt(t,e),Dt(e),a&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(D=e,d=e.child;d!==null;){for(h=D=d;D!==null;){switch(p=D,m=p.child,p.tag){case 0:case 11:case 14:case 15:fs(4,p,p.return);break;case 1:Ya(p,p.return);var x=p.stateNode;if(typeof x.componentWillUnmount=="function"){a=p,n=p.return;try{t=a,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(v){de(a,n,v)}}break;case 5:Ya(p,p.return);break;case 22:if(p.memoizedState!==null){kf(h);continue}}m!==null?(m.return=p,D=m):kf(h)}d=d.sibling}e:for(d=null,h=e;;){if(h.tag===5){if(d===null){d=h;try{r=h.stateNode,u?(s=r.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(o=h.stateNode,c=h.memoizedProps.style,i=c!=null&&c.hasOwnProperty("display")?c.display:null,o.style.display=Px("display",i))}catch(v){de(e,e.return,v)}}}else if(h.tag===6){if(d===null)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(v){de(e,e.return,v)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:vt(t,e),Dt(e),a&4&&Sf(e);break;case 21:break;default:vt(t,e),Dt(e)}}function Dt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Ky(n)){var a=n;break e}n=n.return}throw Error(R(160))}switch(a.tag){case 5:var r=a.stateNode;a.flags&32&&(Ss(r,""),a.flags&=-33);var s=Pf(e);Su(e,s,r);break;case 3:case 4:var i=a.stateNode.containerInfo,o=Pf(e);Pu(e,o,i);break;default:throw Error(R(161))}}catch(c){de(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function xS(e,t,n){D=e,Xy(e)}function Xy(e,t,n){for(var a=(e.mode&1)!==0;D!==null;){var r=D,s=r.child;if(r.tag===22&&a){var i=r.memoizedState!==null||Ti;if(!i){var o=r.alternate,c=o!==null&&o.memoizedState!==null||De;o=Ti;var u=De;if(Ti=i,(De=c)&&!u)for(D=r;D!==null;)i=D,c=i.child,i.tag===22&&i.memoizedState!==null?Nf(r):c!==null?(c.return=i,D=c):Nf(r);for(;s!==null;)D=s,Xy(s),s=s.sibling;D=r,Ti=o,De=u}Cf(e)}else r.subtreeFlags&8772&&s!==null?(s.return=r,D=s):Cf(e)}}function Cf(e){for(;D!==null;){var t=D;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:De||dl(5,t);break;case 1:var a=t.stateNode;if(t.flags&4&&!De)if(n===null)a.componentDidMount();else{var r=t.elementType===t.type?n.memoizedProps:Pt(t.type,n.memoizedProps);a.componentDidUpdate(r,n.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&lf(t,s,a);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}lf(t,i,n)}break;case 5:var o=t.stateNode;if(n===null&&t.flags&4){n=o;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var h=d.dehydrated;h!==null&&js(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(R(163))}De||t.flags&512&&bu(t)}catch(p){de(t,t.return,p)}}if(t===e){D=null;break}if(n=t.sibling,n!==null){n.return=t.return,D=n;break}D=t.return}}function kf(e){for(;D!==null;){var t=D;if(t===e){D=null;break}var n=t.sibling;if(n!==null){n.return=t.return,D=n;break}D=t.return}}function Nf(e){for(;D!==null;){var t=D;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{dl(4,t)}catch(c){de(t,n,c)}break;case 1:var a=t.stateNode;if(typeof a.componentDidMount=="function"){var r=t.return;try{a.componentDidMount()}catch(c){de(t,r,c)}}var s=t.return;try{bu(t)}catch(c){de(t,s,c)}break;case 5:var i=t.return;try{bu(t)}catch(c){de(t,i,c)}}}catch(c){de(t,t.return,c)}if(t===e){D=null;break}var o=t.sibling;if(o!==null){o.return=t.return,D=o;break}D=t.return}}var yS=Math.ceil,Io=gn.ReactCurrentDispatcher,ih=gn.ReactCurrentOwner,ft=gn.ReactCurrentBatchConfig,Y=0,Se=null,me=null,Ae=0,Ye=0,Xa=ea(0),we=0,zs=null,Ta=0,hl=0,oh=0,ms=null,qe=null,lh=0,Nr=1/0,nn=null,Oo=!1,Cu=null,$n=null,Ei=!1,On=null,Do=0,gs=0,ku=null,Xi=-1,Zi=0;function Be(){return Y&6?pe():Xi!==-1?Xi:Xi=pe()}function Hn(e){return e.mode&1?Y&2&&Ae!==0?Ae&-Ae:tS.transition!==null?(Zi===0&&(Zi=Dx()),Zi):(e=Z,e!==0||(e=window.event,e=e===void 0?16:$x(e.type)),e):1}function Et(e,t,n,a){if(50<gs)throw gs=0,ku=null,Error(R(185));Js(e,n,a),(!(Y&2)||e!==Se)&&(e===Se&&(!(Y&2)&&(hl|=n),we===4&&Nn(e,Ae)),Qe(e,a),n===1&&Y===0&&!(t.mode&1)&&(Nr=pe()+500,ll&&ta()))}function Qe(e,t){var n=e.callbackNode;tP(e,t);var a=yo(e,e===Se?Ae:0);if(a===0)n!==null&&Op(n),e.callbackNode=null,e.callbackPriority=0;else if(t=a&-a,e.callbackPriority!==t){if(n!=null&&Op(n),t===1)e.tag===0?eS(jf.bind(null,e)):oy(jf.bind(null,e)),YP(function(){!(Y&6)&&ta()}),n=null;else{switch(Lx(a)){case 1:n=Od;break;case 4:n=Ix;break;case 16:n=xo;break;case 536870912:n=Ox;break;default:n=xo}n=sv(n,Zy.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Zy(e,t){if(Xi=-1,Zi=0,Y&6)throw Error(R(327));var n=e.callbackNode;if(ir()&&e.callbackNode!==n)return null;var a=yo(e,e===Se?Ae:0);if(a===0)return null;if(a&30||a&e.expiredLanes||t)t=Lo(e,a);else{t=a;var r=Y;Y|=2;var s=ev();(Se!==e||Ae!==t)&&(nn=null,Nr=pe()+500,ba(e,t));do try{bS();break}catch(o){Jy(e,o)}while(!0);Gd(),Io.current=s,Y=r,me!==null?t=0:(Se=null,Ae=0,t=we)}if(t!==0){if(t===2&&(r=Zc(e),r!==0&&(a=r,t=Nu(e,r))),t===1)throw n=zs,ba(e,0),Nn(e,a),Qe(e,pe()),n;if(t===6)Nn(e,a);else{if(r=e.current.alternate,!(a&30)&&!vS(r)&&(t=Lo(e,a),t===2&&(s=Zc(e),s!==0&&(a=s,t=Nu(e,s))),t===1))throw n=zs,ba(e,0),Nn(e,a),Qe(e,pe()),n;switch(e.finishedWork=r,e.finishedLanes=a,t){case 0:case 1:throw Error(R(345));case 2:oa(e,qe,nn);break;case 3:if(Nn(e,a),(a&130023424)===a&&(t=lh+500-pe(),10<t)){if(yo(e,0)!==0)break;if(r=e.suspendedLanes,(r&a)!==a){Be(),e.pingedLanes|=e.suspendedLanes&r;break}e.timeoutHandle=iu(oa.bind(null,e,qe,nn),t);break}oa(e,qe,nn);break;case 4:if(Nn(e,a),(a&4194240)===a)break;for(t=e.eventTimes,r=-1;0<a;){var i=31-Tt(a);s=1<<i,i=t[i],i>r&&(r=i),a&=~s}if(a=r,a=pe()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*yS(a/1960))-a,10<a){e.timeoutHandle=iu(oa.bind(null,e,qe,nn),a);break}oa(e,qe,nn);break;case 5:oa(e,qe,nn);break;default:throw Error(R(329))}}}return Qe(e,pe()),e.callbackNode===n?Zy.bind(null,e):null}function Nu(e,t){var n=ms;return e.current.memoizedState.isDehydrated&&(ba(e,t).flags|=256),e=Lo(e,t),e!==2&&(t=qe,qe=n,t!==null&&ju(t)),e}function ju(e){qe===null?qe=e:qe.push.apply(qe,e)}function vS(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var a=0;a<n.length;a++){var r=n[a],s=r.getSnapshot;r=r.value;try{if(!Rt(s(),r))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Nn(e,t){for(t&=~oh,t&=~hl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Tt(t),a=1<<n;e[n]=-1,t&=~a}}function jf(e){if(Y&6)throw Error(R(327));ir();var t=yo(e,0);if(!(t&1))return Qe(e,pe()),null;var n=Lo(e,t);if(e.tag!==0&&n===2){var a=Zc(e);a!==0&&(t=a,n=Nu(e,a))}if(n===1)throw n=zs,ba(e,0),Nn(e,t),Qe(e,pe()),n;if(n===6)throw Error(R(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,oa(e,qe,nn),Qe(e,pe()),null}function ch(e,t){var n=Y;Y|=1;try{return e(t)}finally{Y=n,Y===0&&(Nr=pe()+500,ll&&ta())}}function Ea(e){On!==null&&On.tag===0&&!(Y&6)&&ir();var t=Y;Y|=1;var n=ft.transition,a=Z;try{if(ft.transition=null,Z=1,e)return e()}finally{Z=a,ft.transition=n,Y=t,!(Y&6)&&ta()}}function uh(){Ye=Xa.current,re(Xa)}function ba(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,QP(n)),me!==null)for(n=me.return;n!==null;){var a=n;switch(Ud(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&So();break;case 3:Cr(),re(Ge),re(Le),Jd();break;case 5:Zd(a);break;case 4:Cr();break;case 13:re(ie);break;case 19:re(ie);break;case 10:Kd(a.type._context);break;case 22:case 23:uh()}n=n.return}if(Se=e,me=e=Un(e.current,null),Ae=Ye=t,we=0,zs=null,oh=hl=Ta=0,qe=ms=null,ua!==null){for(t=0;t<ua.length;t++)if(n=ua[t],a=n.interleaved,a!==null){n.interleaved=null;var r=a.next,s=n.pending;if(s!==null){var i=s.next;s.next=r,a.next=i}n.pending=a}ua=null}return e}function Jy(e,t){do{var n=me;try{if(Gd(),Ki.current=Mo,Ro){for(var a=oe.memoizedState;a!==null;){var r=a.queue;r!==null&&(r.pending=null),a=a.next}Ro=!1}if(ja=0,Pe=ye=oe=null,ps=!1,Ds=0,ih.current=null,n===null||n.return===null){we=1,zs=t,me=null;break}e:{var s=e,i=n.return,o=n,c=t;if(t=Ae,o.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,d=o,h=d.tag;if(!(d.mode&1)&&(h===0||h===11||h===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=ff(i);if(m!==null){m.flags&=-257,mf(m,i,o,s,t),m.mode&1&&pf(s,u,t),t=m,c=u;var x=t.updateQueue;if(x===null){var v=new Set;v.add(c),t.updateQueue=v}else x.add(c);break e}else{if(!(t&1)){pf(s,u,t),dh();break e}c=Error(R(426))}}else if(se&&o.mode&1){var b=ff(i);if(b!==null){!(b.flags&65536)&&(b.flags|=256),mf(b,i,o,s,t),qd(kr(c,o));break e}}s=c=kr(c,o),we!==4&&(we=2),ms===null?ms=[s]:ms.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var g=Ly(s,c,t);of(s,g);break e;case 1:o=c;var f=s.type,y=s.stateNode;if(!(s.flags&128)&&(typeof f.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&($n===null||!$n.has(y)))){s.flags|=65536,t&=-t,s.lanes|=t;var P=Fy(s,o,t);of(s,P);break e}}s=s.return}while(s!==null)}nv(n)}catch(S){t=S,me===n&&n!==null&&(me=n=n.return);continue}break}while(!0)}function ev(){var e=Io.current;return Io.current=Mo,e===null?Mo:e}function dh(){(we===0||we===3||we===2)&&(we=4),Se===null||!(Ta&268435455)&&!(hl&268435455)||Nn(Se,Ae)}function Lo(e,t){var n=Y;Y|=2;var a=ev();(Se!==e||Ae!==t)&&(nn=null,ba(e,t));do try{wS();break}catch(r){Jy(e,r)}while(!0);if(Gd(),Y=n,Io.current=a,me!==null)throw Error(R(261));return Se=null,Ae=0,we}function wS(){for(;me!==null;)tv(me)}function bS(){for(;me!==null&&!W1();)tv(me)}function tv(e){var t=rv(e.alternate,e,Ye);e.memoizedProps=e.pendingProps,t===null?nv(e):me=t,ih.current=null}function nv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=fS(n,t),n!==null){n.flags&=32767,me=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{we=6,me=null;return}}else if(n=pS(n,t,Ye),n!==null){me=n;return}if(t=t.sibling,t!==null){me=t;return}me=t=e}while(t!==null);we===0&&(we=5)}function oa(e,t,n){var a=Z,r=ft.transition;try{ft.transition=null,Z=1,PS(e,t,n,a)}finally{ft.transition=r,Z=a}return null}function PS(e,t,n,a){do ir();while(On!==null);if(Y&6)throw Error(R(327));n=e.finishedWork;var r=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(R(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(nP(e,s),e===Se&&(me=Se=null,Ae=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ei||(Ei=!0,sv(xo,function(){return ir(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=ft.transition,ft.transition=null;var i=Z;Z=1;var o=Y;Y|=4,ih.current=null,gS(e,n),Yy(n,e),$P(ru),vo=!!au,ru=au=null,e.current=n,xS(n),G1(),Y=o,Z=i,ft.transition=s}else e.current=n;if(Ei&&(Ei=!1,On=e,Do=r),s=e.pendingLanes,s===0&&($n=null),Y1(n.stateNode),Qe(e,pe()),t!==null)for(a=e.onRecoverableError,n=0;n<t.length;n++)r=t[n],a(r.value,{componentStack:r.stack,digest:r.digest});if(Oo)throw Oo=!1,e=Cu,Cu=null,e;return Do&1&&e.tag!==0&&ir(),s=e.pendingLanes,s&1?e===ku?gs++:(gs=0,ku=e):gs=0,ta(),null}function ir(){if(On!==null){var e=Lx(Do),t=ft.transition,n=Z;try{if(ft.transition=null,Z=16>e?16:e,On===null)var a=!1;else{if(e=On,On=null,Do=0,Y&6)throw Error(R(331));var r=Y;for(Y|=4,D=e.current;D!==null;){var s=D,i=s.child;if(D.flags&16){var o=s.deletions;if(o!==null){for(var c=0;c<o.length;c++){var u=o[c];for(D=u;D!==null;){var d=D;switch(d.tag){case 0:case 11:case 15:fs(8,d,s)}var h=d.child;if(h!==null)h.return=d,D=h;else for(;D!==null;){d=D;var p=d.sibling,m=d.return;if(Gy(d),d===u){D=null;break}if(p!==null){p.return=m,D=p;break}D=m}}}var x=s.alternate;if(x!==null){var v=x.child;if(v!==null){x.child=null;do{var b=v.sibling;v.sibling=null,v=b}while(v!==null)}}D=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,D=i;else e:for(;D!==null;){if(s=D,s.flags&2048)switch(s.tag){case 0:case 11:case 15:fs(9,s,s.return)}var g=s.sibling;if(g!==null){g.return=s.return,D=g;break e}D=s.return}}var f=e.current;for(D=f;D!==null;){i=D;var y=i.child;if(i.subtreeFlags&2064&&y!==null)y.return=i,D=y;else e:for(i=f;D!==null;){if(o=D,o.flags&2048)try{switch(o.tag){case 0:case 11:case 15:dl(9,o)}}catch(S){de(o,o.return,S)}if(o===i){D=null;break e}var P=o.sibling;if(P!==null){P.return=o.return,D=P;break e}D=o.return}}if(Y=r,ta(),qt&&typeof qt.onPostCommitFiberRoot=="function")try{qt.onPostCommitFiberRoot(al,e)}catch{}a=!0}return a}finally{Z=n,ft.transition=t}}return!1}function Tf(e,t,n){t=kr(n,t),t=Ly(e,t,1),e=Bn(e,t,1),t=Be(),e!==null&&(Js(e,1,t),Qe(e,t))}function de(e,t,n){if(e.tag===3)Tf(e,e,n);else for(;t!==null;){if(t.tag===3){Tf(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&($n===null||!$n.has(a))){e=kr(n,e),e=Fy(t,e,1),t=Bn(t,e,1),e=Be(),t!==null&&(Js(t,1,e),Qe(t,e));break}}t=t.return}}function SS(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),t=Be(),e.pingedLanes|=e.suspendedLanes&n,Se===e&&(Ae&n)===n&&(we===4||we===3&&(Ae&130023424)===Ae&&500>pe()-lh?ba(e,0):oh|=n),Qe(e,t)}function av(e,t){t===0&&(e.mode&1?(t=vi,vi<<=1,!(vi&130023424)&&(vi=4194304)):t=1);var n=Be();e=hn(e,t),e!==null&&(Js(e,t,n),Qe(e,n))}function CS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),av(e,n)}function kS(e,t){var n=0;switch(e.tag){case 13:var a=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(R(314))}a!==null&&a.delete(t),av(e,n)}var rv;rv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ge.current)We=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return We=!1,hS(e,t,n);We=!!(e.flags&131072)}else We=!1,se&&t.flags&1048576&&ly(t,No,t.index);switch(t.lanes=0,t.tag){case 2:var a=t.type;Yi(e,t),e=t.pendingProps;var r=br(t,Le.current);sr(t,n),r=th(null,t,a,e,r,n);var s=nh();return t.flags|=1,typeof r=="object"&&r!==null&&typeof r.render=="function"&&r.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ke(a)?(s=!0,Co(t)):s=!1,t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,Yd(t),r.updater=ul,t.stateNode=r,r._reactInternals=t,pu(t,a,e,n),t=gu(null,t,a,!0,s,n)):(t.tag=0,se&&s&&Hd(t),Fe(null,t,r,n),t=t.child),t;case 16:a=t.elementType;e:{switch(Yi(e,t),e=t.pendingProps,r=a._init,a=r(a._payload),t.type=a,r=t.tag=jS(a),e=Pt(a,e),r){case 0:t=mu(null,t,a,e,n);break e;case 1:t=yf(null,t,a,e,n);break e;case 11:t=gf(null,t,a,e,n);break e;case 14:t=xf(null,t,a,Pt(a.type,e),n);break e}throw Error(R(306,a,""))}return t;case 0:return a=t.type,r=t.pendingProps,r=t.elementType===a?r:Pt(a,r),mu(e,t,a,r,n);case 1:return a=t.type,r=t.pendingProps,r=t.elementType===a?r:Pt(a,r),yf(e,t,a,r,n);case 3:e:{if(By(t),e===null)throw Error(R(387));a=t.pendingProps,s=t.memoizedState,r=s.element,fy(e,t),Eo(t,a,null,n);var i=t.memoizedState;if(a=i.element,s.isDehydrated)if(s={element:a,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){r=kr(Error(R(423)),t),t=vf(e,t,a,n,r);break e}else if(a!==r){r=kr(Error(R(424)),t),t=vf(e,t,a,n,r);break e}else for(Je=Vn(t.stateNode.containerInfo.firstChild),et=t,se=!0,Nt=null,n=hy(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Pr(),a===r){t=pn(e,t,n);break e}Fe(e,t,a,n)}t=t.child}return t;case 5:return my(t),e===null&&uu(t),a=t.type,r=t.pendingProps,s=e!==null?e.memoizedProps:null,i=r.children,su(a,r)?i=null:s!==null&&su(a,s)&&(t.flags|=32),Vy(e,t),Fe(e,t,i,n),t.child;case 6:return e===null&&uu(t),null;case 13:return $y(e,t,n);case 4:return Xd(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Sr(t,null,a,n):Fe(e,t,a,n),t.child;case 11:return a=t.type,r=t.pendingProps,r=t.elementType===a?r:Pt(a,r),gf(e,t,a,r,n);case 7:return Fe(e,t,t.pendingProps,n),t.child;case 8:return Fe(e,t,t.pendingProps.children,n),t.child;case 12:return Fe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(a=t.type._context,r=t.pendingProps,s=t.memoizedProps,i=r.value,te(jo,a._currentValue),a._currentValue=i,s!==null)if(Rt(s.value,i)){if(s.children===r.children&&!Ge.current){t=pn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var o=s.dependencies;if(o!==null){i=s.child;for(var c=o.firstContext;c!==null;){if(c.context===a){if(s.tag===1){c=ln(-1,n&-n),c.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),du(s.return,n,t),o.lanes|=n;break}c=c.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(R(341));i.lanes|=n,o=i.alternate,o!==null&&(o.lanes|=n),du(i,n,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}Fe(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,a=t.pendingProps.children,sr(t,n),r=gt(r),a=a(r),t.flags|=1,Fe(e,t,a,n),t.child;case 14:return a=t.type,r=Pt(a,t.pendingProps),r=Pt(a.type,r),xf(e,t,a,r,n);case 15:return zy(e,t,t.type,t.pendingProps,n);case 17:return a=t.type,r=t.pendingProps,r=t.elementType===a?r:Pt(a,r),Yi(e,t),t.tag=1,Ke(a)?(e=!0,Co(t)):e=!1,sr(t,n),Dy(t,a,r),pu(t,a,r,n),gu(null,t,a,!0,e,n);case 19:return Hy(e,t,n);case 22:return _y(e,t,n)}throw Error(R(156,t.tag))};function sv(e,t){return Mx(e,t)}function NS(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ht(e,t,n,a){return new NS(e,t,n,a)}function hh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jS(e){if(typeof e=="function")return hh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Rd)return 11;if(e===Md)return 14}return 2}function Un(e,t){var n=e.alternate;return n===null?(n=ht(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ji(e,t,n,a,r,s){var i=2;if(a=e,typeof e=="function")hh(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Ba:return Pa(n.children,r,s,t);case Ad:i=8,r|=8;break;case Fc:return e=ht(12,n,t,r|2),e.elementType=Fc,e.lanes=s,e;case zc:return e=ht(13,n,t,r),e.elementType=zc,e.lanes=s,e;case _c:return e=ht(19,n,t,r),e.elementType=_c,e.lanes=s,e;case mx:return pl(n,r,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case px:i=10;break e;case fx:i=9;break e;case Rd:i=11;break e;case Md:i=14;break e;case Sn:i=16,a=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=ht(i,n,t,r),t.elementType=e,t.type=a,t.lanes=s,t}function Pa(e,t,n,a){return e=ht(7,e,a,t),e.lanes=n,e}function pl(e,t,n,a){return e=ht(22,e,a,t),e.elementType=mx,e.lanes=n,e.stateNode={isHidden:!1},e}function sc(e,t,n){return e=ht(6,e,null,t),e.lanes=n,e}function ic(e,t,n){return t=ht(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function TS(e,t,n,a,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Vl(0),this.expirationTimes=Vl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vl(0),this.identifierPrefix=a,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function ph(e,t,n,a,r,s,i,o,c){return e=new TS(e,t,n,o,c),t===1?(t=1,s===!0&&(t|=8)):t=0,s=ht(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:a,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yd(s),e}function ES(e,t,n){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Va,key:a==null?null:""+a,children:e,containerInfo:t,implementation:n}}function iv(e){if(!e)return Gn;e=e._reactInternals;e:{if(Ia(e)!==e||e.tag!==1)throw Error(R(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ke(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(R(171))}if(e.tag===1){var n=e.type;if(Ke(n))return iy(e,n,t)}return t}function ov(e,t,n,a,r,s,i,o,c){return e=ph(n,a,!0,e,r,s,i,o,c),e.context=iv(null),n=e.current,a=Be(),r=Hn(n),s=ln(a,r),s.callback=t??null,Bn(n,s,r),e.current.lanes=r,Js(e,r,a),Qe(e,a),e}function fl(e,t,n,a){var r=t.current,s=Be(),i=Hn(r);return n=iv(n),t.context===null?t.context=n:t.pendingContext=n,t=ln(s,i),t.payload={element:e},a=a===void 0?null:a,a!==null&&(t.callback=a),e=Bn(r,t,i),e!==null&&(Et(e,r,i,s),Gi(e,r,i)),i}function Fo(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Ef(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function fh(e,t){Ef(e,t),(e=e.alternate)&&Ef(e,t)}function AS(){return null}var lv=typeof reportError=="function"?reportError:function(e){console.error(e)};function mh(e){this._internalRoot=e}ml.prototype.render=mh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(R(409));fl(e,t,null,null)};ml.prototype.unmount=mh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ea(function(){fl(null,e,null,null)}),t[dn]=null}};function ml(e){this._internalRoot=e}ml.prototype.unstable_scheduleHydration=function(e){if(e){var t=_x();e={blockedOn:null,target:e,priority:t};for(var n=0;n<kn.length&&t!==0&&t<kn[n].priority;n++);kn.splice(n,0,e),n===0&&Bx(e)}};function gh(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function gl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Af(){}function RS(e,t,n,a,r){if(r){if(typeof a=="function"){var s=a;a=function(){var u=Fo(i);s.call(u)}}var i=ov(t,a,e,0,null,!1,!1,"",Af);return e._reactRootContainer=i,e[dn]=i.current,As(e.nodeType===8?e.parentNode:e),Ea(),i}for(;r=e.lastChild;)e.removeChild(r);if(typeof a=="function"){var o=a;a=function(){var u=Fo(c);o.call(u)}}var c=ph(e,0,!1,null,null,!1,!1,"",Af);return e._reactRootContainer=c,e[dn]=c.current,As(e.nodeType===8?e.parentNode:e),Ea(function(){fl(t,c,n,a)}),c}function xl(e,t,n,a,r){var s=n._reactRootContainer;if(s){var i=s;if(typeof r=="function"){var o=r;r=function(){var c=Fo(i);o.call(c)}}fl(t,i,e,r)}else i=RS(n,t,e,r,a);return Fo(i)}Fx=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ss(t.pendingLanes);n!==0&&(Dd(t,n|1),Qe(t,pe()),!(Y&6)&&(Nr=pe()+500,ta()))}break;case 13:Ea(function(){var a=hn(e,1);if(a!==null){var r=Be();Et(a,e,1,r)}}),fh(e,1)}};Ld=function(e){if(e.tag===13){var t=hn(e,134217728);if(t!==null){var n=Be();Et(t,e,134217728,n)}fh(e,134217728)}};zx=function(e){if(e.tag===13){var t=Hn(e),n=hn(e,t);if(n!==null){var a=Be();Et(n,e,t,a)}fh(e,t)}};_x=function(){return Z};Vx=function(e,t){var n=Z;try{return Z=e,t()}finally{Z=n}};Qc=function(e,t,n){switch(t){case"input":if($c(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var r=ol(a);if(!r)throw Error(R(90));xx(a),$c(a,r)}}}break;case"textarea":vx(e,n);break;case"select":t=n.value,t!=null&&tr(e,!!n.multiple,t,!1)}};Nx=ch;jx=Ea;var MS={usingClientEntryPoint:!1,Events:[ti,qa,ol,Cx,kx,ch]},Xr={findFiberByHostInstance:ca,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},IS={bundleType:Xr.bundleType,version:Xr.version,rendererPackageName:Xr.rendererPackageName,rendererConfig:Xr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:gn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ax(e),e===null?null:e.stateNode},findFiberByHostInstance:Xr.findFiberByHostInstance||AS,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ai=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ai.isDisabled&&Ai.supportsFiber)try{al=Ai.inject(IS),qt=Ai}catch{}}st.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=MS;st.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!gh(t))throw Error(R(200));return ES(e,t,null,n)};st.createRoot=function(e,t){if(!gh(e))throw Error(R(299));var n=!1,a="",r=lv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onRecoverableError!==void 0&&(r=t.onRecoverableError)),t=ph(e,1,!1,null,null,n,!1,a,r),e[dn]=t.current,As(e.nodeType===8?e.parentNode:e),new mh(t)};st.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(R(188)):(e=Object.keys(e).join(","),Error(R(268,e)));return e=Ax(t),e=e===null?null:e.stateNode,e};st.flushSync=function(e){return Ea(e)};st.hydrate=function(e,t,n){if(!gl(t))throw Error(R(200));return xl(null,e,t,!0,n)};st.hydrateRoot=function(e,t,n){if(!gh(e))throw Error(R(405));var a=n!=null&&n.hydratedSources||null,r=!1,s="",i=lv;if(n!=null&&(n.unstable_strictMode===!0&&(r=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=ov(t,null,e,1,n??null,r,!1,s,i),e[dn]=t.current,As(e),a)for(e=0;e<a.length;e++)n=a[e],r=n._getVersion,r=r(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,r]:t.mutableSourceEagerHydrationData.push(n,r);return new ml(t)};st.render=function(e,t,n){if(!gl(t))throw Error(R(200));return xl(null,e,t,!1,n)};st.unmountComponentAtNode=function(e){if(!gl(e))throw Error(R(40));return e._reactRootContainer?(Ea(function(){xl(null,null,e,!1,function(){e._reactRootContainer=null,e[dn]=null})}),!0):!1};st.unstable_batchedUpdates=ch;st.unstable_renderSubtreeIntoContainer=function(e,t,n,a){if(!gl(n))throw Error(R(200));if(e==null||e._reactInternals===void 0)throw Error(R(38));return xl(e,t,n,!1,a)};st.version="18.3.1-next-f1338f8080-20240426";function cv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(cv)}catch(e){console.error(e)}}cv(),cx.exports=st;var ai=cx.exports,uv,Rf=ai;uv=Rf.createRoot,Rf.hydrateRoot;const OS=1,DS=1e6;let oc=0;function LS(){return oc=(oc+1)%Number.MAX_SAFE_INTEGER,oc.toString()}const lc=new Map,Mf=e=>{if(lc.has(e))return;const t=setTimeout(()=>{lc.delete(e),xs({type:"REMOVE_TOAST",toastId:e})},DS);lc.set(e,t)},FS=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,OS)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Mf(n):e.toasts.forEach(a=>{Mf(a.id)}),{...e,toasts:e.toasts.map(a=>a.id===n||n===void 0?{...a,open:!1}:a)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},eo=[];let to={toasts:[]};function xs(e){to=FS(to,e),eo.forEach(t=>{t(to)})}function zS({...e}){const t=LS(),n=r=>xs({type:"UPDATE_TOAST",toast:{...r,id:t}}),a=()=>xs({type:"DISMISS_TOAST",toastId:t});return xs({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||a()}}}),{id:t,dismiss:a,update:n}}function dv(){const[e,t]=w.useState(to);return w.useEffect(()=>(eo.push(t),()=>{const n=eo.indexOf(t);n>-1&&eo.splice(n,1)}),[e]),{...e,toast:zS,dismiss:n=>xs({type:"DISMISS_TOAST",toastId:n})}}function ve(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function If(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function _S(...e){return t=>{let n=!1;const a=e.map(r=>{const s=If(r,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let r=0;r<a.length;r++){const s=a[r];typeof s=="function"?s():If(e[r],null)}}}}function Mt(...e){return w.useCallback(_S(...e),e)}function yl(e,t=[]){let n=[];function a(s,i){const o=w.createContext(i);o.displayName=s+"Context";const c=n.length;n=[...n,i];const u=h=>{var g;const{scope:p,children:m,...x}=h,v=((g=p==null?void 0:p[e])==null?void 0:g[c])||o,b=w.useMemo(()=>x,Object.values(x));return l.jsx(v.Provider,{value:b,children:m})};u.displayName=s+"Provider";function d(h,p){var v;const m=((v=p==null?void 0:p[e])==null?void 0:v[c])||o,x=w.useContext(m);if(x)return x;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[u,d]}const r=()=>{const s=n.map(i=>w.createContext(i));return function(o){const c=(o==null?void 0:o[e])||s;return w.useMemo(()=>({[`__scope${e}`]:{...o,[e]:c}}),[o,c])}};return r.scopeName=e,[a,VS(r,...t)]}function VS(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const a=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(s){const i=a.reduce((o,{useScope:c,scopeName:u})=>{const h=c(s)[`__scope${u}`];return{...o,...h}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function zo(e){const t=w.forwardRef((n,a)=>{let{children:r,...s}=n,i=null,o=!1;const c=[];Of(r)&&typeof Ri=="function"&&(r=Ri(r._payload)),w.Children.forEach(r,p=>{var m;if(WS(p)){o=!0;const x=p;let v="child"in x.props?x.props.child:x.props.children;Of(v)&&typeof Ri=="function"&&(v=Ri(v._payload)),i=HS(x,v),c.push((m=i==null?void 0:i.props)==null?void 0:m.children)}else c.push(p)}),i?i=w.cloneElement(i,void 0,c):!o&&w.Children.count(r)===1&&w.isValidElement(r)&&(i=r);const u=i?qS(i):void 0,d=Mt(a,u);if(!i){if(r||r===0)throw new Error(o?YS(e):QS(e));return r}const h=US(s,i.props??{});return i.type!==w.Fragment&&(h.ref=a?d:u),w.cloneElement(i,h)});return t.displayName=`${e}.Slot`,t}var BS=zo("Slot"),hv=Symbol.for("radix.slottable");function $S(e){const t=n=>"child"in n?n.children(n.child):n.children;return t.displayName=`${e}.Slottable`,t.__radixId=hv,t}var HS=(e,t)=>{if("child"in e.props){const n=e.props.child;return w.isValidElement(n)?w.cloneElement(n,void 0,e.props.children(n.props.children)):null}return w.isValidElement(t)?t:null};function US(e,t){const n={...t};for(const a in t){const r=e[a],s=t[a];/^on[A-Z]/.test(a)?r&&s?n[a]=(...o)=>{const c=s(...o);return r(...o),c}:r&&(n[a]=r):a==="style"?n[a]={...r,...s}:a==="className"&&(n[a]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function qS(e){var a,r;let t=(a=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:a.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function WS(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===hv}var GS=Symbol.for("react.lazy");function Of(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===GS&&"_payload"in e&&KS(e._payload)}function KS(e){return typeof e=="object"&&e!==null&&"then"in e}var QS=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,YS=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,Ri=Nd[" use ".trim().toString()];function XS(e){const t=e+"CollectionProvider",[n,a]=yl(t),[r,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=v=>{const{scope:b,children:g}=v,f=w.useRef(null),y=w.useRef(new Map).current;return l.jsx(r,{scope:b,itemMap:y,collectionRef:f,children:g})};i.displayName=t;const o=e+"CollectionSlot",c=zo(o),u=w.forwardRef((v,b)=>{const{scope:g,children:f}=v,y=s(o,g),P=Mt(b,y.collectionRef);return l.jsx(c,{ref:P,children:f})});u.displayName=o;const d=e+"CollectionItemSlot",h="data-radix-collection-item",p=zo(d),m=w.forwardRef((v,b)=>{const{scope:g,children:f,...y}=v,P=w.useRef(null),S=Mt(b,P),C=s(d,g);return w.useEffect(()=>(C.itemMap.set(P,{ref:P,...y}),()=>void C.itemMap.delete(P))),l.jsx(p,{[h]:"",ref:S,children:f})});m.displayName=d;function x(v){const b=s(e+"CollectionConsumer",v);return w.useCallback(()=>{const f=b.collectionRef.current;if(!f)return[];const y=Array.from(f.querySelectorAll(`[${h}]`));return Array.from(b.itemMap.values()).sort((C,N)=>y.indexOf(C.ref.current)-y.indexOf(N.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:i,Slot:u,ItemSlot:m},x,a]}var ZS=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ue=ZS.reduce((e,t)=>{const n=zo(`Primitive.${t}`),a=w.forwardRef((r,s)=>{const{asChild:i,...o}=r,c=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(c,{...o,ref:s})});return a.displayName=`Primitive.${t}`,{...e,[t]:a}},{});function pv(e,t){e&&ai.flushSync(()=>e.dispatchEvent(t))}function Kn(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var a;return(a=t.current)==null?void 0:a.call(t,...n)},[])}function JS(e,t=globalThis==null?void 0:globalThis.document){const n=Kn(e);w.useEffect(()=>{const a=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",a,{capture:!0}),()=>t.removeEventListener("keydown",a,{capture:!0})},[n,t])}var eC="DismissableLayer",Tu="dismissableLayer.update",tC="dismissableLayer.pointerDownOutside",nC="dismissableLayer.focusOutside",Df,fv=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),xh=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:a=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:o,onDismiss:c,...u}=e,d=w.useContext(fv),[h,p]=w.useState(null),m=(h==null?void 0:h.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,x]=w.useState({}),v=Mt(t,A=>p(A)),b=Array.from(d.layers),[g]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),f=b.indexOf(g),y=h?b.indexOf(h):-1,P=d.layersWithOutsidePointerEventsDisabled.size>0,S=y>=f,C=w.useRef(!1),N=rC(A=>{const E=A.target;if(!(E instanceof Node))return;const L=[...d.branches].some(O=>O.contains(E));!S||L||(s==null||s(A),o==null||o(A),A.defaultPrevented||c==null||c())},{ownerDocument:m,deferPointerDownOutside:a,isDeferredPointerDownOutsideRef:C,dismissableSurfaces:d.dismissableSurfaces}),k=sC(A=>{if(a&&C.current)return;const E=A.target;[...d.branches].some(O=>O.contains(E))||(i==null||i(A),o==null||o(A),A.defaultPrevented||c==null||c())},m);return JS(A=>{y===d.layers.size-1&&(r==null||r(A),!A.defaultPrevented&&c&&(A.preventDefault(),c()))},m),w.useEffect(()=>{if(h)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Df=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(h)),d.layers.add(h),Lf(),()=>{n&&(d.layersWithOutsidePointerEventsDisabled.delete(h),d.layersWithOutsidePointerEventsDisabled.size===0&&(m.body.style.pointerEvents=Df))}},[h,m,n,d]),w.useEffect(()=>()=>{h&&(d.layers.delete(h),d.layersWithOutsidePointerEventsDisabled.delete(h),Lf())},[h,d]),w.useEffect(()=>{const A=()=>x({});return document.addEventListener(Tu,A),()=>document.removeEventListener(Tu,A)},[]),l.jsx(Ue.div,{...u,ref:v,style:{pointerEvents:P?S?"auto":"none":void 0,...e.style},onFocusCapture:ve(e.onFocusCapture,k.onFocusCapture),onBlurCapture:ve(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:ve(e.onPointerDownCapture,N.onPointerDownCapture)})});xh.displayName=eC;var aC="DismissableLayerBranch",mv=w.forwardRef((e,t)=>{const n=w.useContext(fv),a=w.useRef(null),r=Mt(t,a);return w.useEffect(()=>{const s=a.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),l.jsx(Ue.div,{...e,ref:r})});mv.displayName=aC;function rC(e,t){const{ownerDocument:n=globalThis==null?void 0:globalThis.document,deferPointerDownOutside:a=!1,isDeferredPointerDownOutsideRef:r,dismissableSurfaces:s}=t,i=Kn(e),o=w.useRef(!1),c=w.useRef(!1),u=w.useRef(new Map),d=w.useRef(()=>{});return w.useEffect(()=>{function h(){c.current=!1,r.current=!1,u.current.clear()}function p(){return Array.from(u.current.values()).some(Boolean)}function m(f){if(!c.current)return;const y=f.target;y instanceof Node&&[...s].some(S=>S.contains(y))||u.current.set(f.type,!0),f.type==="click"&&window.setTimeout(()=>{c.current&&d.current()},0)}function x(f){c.current&&u.current.set(f.type,!1)}const v=f=>{if(f.target&&!o.current){let y=function(){n.removeEventListener("click",d.current);const S=p();h(),S||gv(tC,i,P,{discrete:!0})};const P={originalEvent:f};c.current=!0,r.current=a&&f.button===0,u.current.clear(),!a||f.button!==0?y():(n.removeEventListener("click",d.current),d.current=y,n.addEventListener("click",d.current,{once:!0}))}else n.removeEventListener("click",d.current),h();o.current=!1},b=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const f of b)n.addEventListener(f,m,!0),n.addEventListener(f,x);const g=window.setTimeout(()=>{n.addEventListener("pointerdown",v)},0);return()=>{window.clearTimeout(g),n.removeEventListener("pointerdown",v),n.removeEventListener("click",d.current);for(const f of b)n.removeEventListener(f,m,!0),n.removeEventListener(f,x)}},[n,i,a,r,s]),{onPointerDownCapture:()=>o.current=!0}}function sC(e,t=globalThis==null?void 0:globalThis.document){const n=Kn(e),a=w.useRef(!1);return w.useEffect(()=>{const r=s=>{s.target&&!a.current&&gv(nC,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}function Lf(){const e=new CustomEvent(Tu);document.dispatchEvent(e)}function gv(e,t,n,{discrete:a}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),a?pv(r,s):r.dispatchEvent(s)}var iC=xh,oC=mv,cn=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},lC="Portal",yh=w.forwardRef((e,t)=>{var o;const{container:n,...a}=e,[r,s]=w.useState(!1);cn(()=>s(!0),[]);const i=n||r&&((o=globalThis==null?void 0:globalThis.document)==null?void 0:o.body);return i?ai.createPortal(l.jsx(Ue.div,{...a,ref:t}),i):null});yh.displayName=lC;function cC(e,t){return w.useReducer((n,a)=>t[n][a]??n,e)}var vl=e=>{const{present:t,children:n}=e,a=uC(t),r=typeof n=="function"?n({present:a.isPresent}):w.Children.only(n),s=dC(a.ref,hC(r));return typeof n=="function"||a.isPresent?w.cloneElement(r,{ref:s}):null};vl.displayName="Presence";function uC(e){const[t,n]=w.useState(),a=w.useRef(null),r=w.useRef(e),s=w.useRef("none"),i=e?"mounted":"unmounted",[o,c]=cC(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=Mi(a.current);s.current=o==="mounted"?u:"none"},[o]),cn(()=>{const u=a.current,d=r.current;if(d!==e){const p=s.current,m=Mi(u);e?c("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&p!==m?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,c]),cn(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,h=m=>{const v=Mi(a.current).includes(CSS.escape(m.animationName));if(m.target===t&&v&&(c("ANIMATION_END"),!r.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},p=m=>{m.target===t&&(s.current=Mi(a.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(o),ref:w.useCallback(u=>{a.current=u?getComputedStyle(u):null,n(u)},[])}}function Ff(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function dC(...e){const t=w.useRef(e);return t.current=e,w.useCallback(n=>{const a=t.current;let r=!1;const s=a.map(i=>{const o=Ff(i,n);return!r&&typeof o=="function"&&(r=!0),o});if(r)return()=>{for(let i=0;i<s.length;i++){const o=s[i];typeof o=="function"?o():Ff(a[i],null)}}},[])}function Mi(e){return(e==null?void 0:e.animationName)||"none"}function hC(e){var a,r;let t=(a=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:a.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var pC=Nd[" useInsertionEffect ".trim().toString()]||cn;function fC({prop:e,defaultProp:t,onChange:n=()=>{},caller:a}){const[r,s,i]=mC({defaultProp:t,onChange:n}),o=e!==void 0,c=o?e:r;{const d=w.useRef(e!==void 0);w.useEffect(()=>{const h=d.current;h!==o&&console.warn(`${a} is changing from ${h?"controlled":"uncontrolled"} to ${o?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=o},[o,a])}const u=w.useCallback(d=>{var h;if(o){const p=gC(d)?d(e):d;p!==e&&((h=i.current)==null||h.call(i,p))}else s(d)},[o,e,s,i]);return[c,u]}function mC({defaultProp:e,onChange:t}){const[n,a]=w.useState(e),r=w.useRef(n),s=w.useRef(t);return pC(()=>{s.current=t},[t]),w.useEffect(()=>{var i;r.current!==n&&((i=s.current)==null||i.call(s,n),r.current=n)},[n,r]),[n,a,s]}function gC(e){return typeof e=="function"}var xC=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"}),yC="VisuallyHidden",wl=w.forwardRef((e,t)=>l.jsx(Ue.span,{...e,ref:t,style:{...xC,...e.style}}));wl.displayName=yC;var vC=wl,vh="ToastProvider",[wh,wC,bC]=XS("Toast"),[xv]=yl("Toast",[bC]),[PC,bl]=xv(vh),yv=e=>{const{__scopeToast:t,label:n="Notification",duration:a=5e3,swipeDirection:r="right",swipeThreshold:s=50,announcerContainer:i,children:o}=e,[c,u]=w.useState(null),[d,h]=w.useState(0),p=w.useRef(!1),m=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${vh}\`. Expected non-empty \`string\`.`),l.jsx(wh.Provider,{scope:t,children:l.jsx(PC,{scope:t,label:n,duration:a,swipeDirection:r,swipeThreshold:s,toastCount:d,viewport:c,onViewportChange:u,onToastAdd:w.useCallback(()=>h(x=>x+1),[]),onToastRemove:w.useCallback(()=>h(x=>x-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:m,announcerContainer:i,children:o})})};yv.displayName=vh;var vv="ToastViewport",SC=["F8"],Eu="toast.viewportPause",Au="toast.viewportResume",wv=w.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:a=SC,label:r="Notifications ({hotkey})",...s}=e,i=bl(vv,n),o=wC(n),c=w.useRef(null),u=w.useRef(null),d=w.useRef(null),h=w.useRef(null),p=Mt(t,h,i.onViewportChange),m=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=i.toastCount>0;w.useEffect(()=>{const b=g=>{var y;a.length!==0&&a.every(P=>g[P]||g.code===P)&&((y=h.current)==null||y.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[a]),w.useEffect(()=>{const b=c.current,g=h.current;if(x&&b&&g){const f=()=>{if(!i.isClosePausedRef.current){const C=new CustomEvent(Eu);g.dispatchEvent(C),i.isClosePausedRef.current=!0}},y=()=>{if(i.isClosePausedRef.current){const C=new CustomEvent(Au);g.dispatchEvent(C),i.isClosePausedRef.current=!1}},P=C=>{!b.contains(C.relatedTarget)&&y()},S=()=>{b.contains(document.activeElement)||y()};return b.addEventListener("focusin",f),b.addEventListener("focusout",P),b.addEventListener("pointermove",f),b.addEventListener("pointerleave",S),window.addEventListener("blur",f),window.addEventListener("focus",y),()=>{b.removeEventListener("focusin",f),b.removeEventListener("focusout",P),b.removeEventListener("pointermove",f),b.removeEventListener("pointerleave",S),window.removeEventListener("blur",f),window.removeEventListener("focus",y)}}},[x,i.isClosePausedRef]);const v=w.useCallback(({tabbingDirection:b})=>{const f=o().map(y=>{const P=y.ref.current,S=[P,...LC(P)];return b==="forwards"?S:S.reverse()});return(b==="forwards"?f.reverse():f).flat()},[o]);return w.useEffect(()=>{const b=h.current;if(b){const g=f=>{var S,C,N;const y=f.altKey||f.ctrlKey||f.metaKey;if(f.key==="Tab"&&!y){const k=document.activeElement,A=f.shiftKey;if(f.target===b&&A){(S=u.current)==null||S.focus();return}const O=v({tabbingDirection:A?"backwards":"forwards"}),$=O.findIndex(I=>I===k);cc(O.slice($+1))?f.preventDefault():A?(C=u.current)==null||C.focus():(N=d.current)==null||N.focus()}};return b.addEventListener("keydown",g),()=>b.removeEventListener("keydown",g)}},[o,v]),l.jsxs(oC,{ref:c,role:"region","aria-label":r.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&l.jsx(Ru,{ref:u,onFocusFromOutsideViewport:()=>{const b=v({tabbingDirection:"forwards"});cc(b)}}),l.jsx(wh.Slot,{scope:n,children:l.jsx(Ue.ol,{tabIndex:-1,...s,ref:p})}),x&&l.jsx(Ru,{ref:d,onFocusFromOutsideViewport:()=>{const b=v({tabbingDirection:"backwards"});cc(b)}})]})});wv.displayName=vv;var bv="ToastFocusProxy",Ru=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:a,...r}=e,s=bl(bv,n);return l.jsx(wl,{tabIndex:0,...r,ref:t,style:{position:"fixed"},onFocus:i=>{var u;const o=i.relatedTarget;!((u=s.viewport)!=null&&u.contains(o))&&a()}})});Ru.displayName=bv;var ri="Toast",CC="toast.swipeStart",kC="toast.swipeMove",NC="toast.swipeCancel",jC="toast.swipeEnd",Pv=w.forwardRef((e,t)=>{const{forceMount:n,open:a,defaultOpen:r,onOpenChange:s,...i}=e,[o,c]=fC({prop:a,defaultProp:r??!0,onChange:s,caller:ri});return l.jsx(vl,{present:n||o,children:l.jsx(AC,{open:o,...i,ref:t,onClose:()=>c(!1),onPause:Kn(e.onPause),onResume:Kn(e.onResume),onSwipeStart:ve(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ve(e.onSwipeMove,u=>{const{x:d,y:h}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:ve(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ve(e.onSwipeEnd,u=>{const{x:d,y:h}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),c(!1)})})})});Pv.displayName=ri;var[TC,EC]=xv(ri,{onClose(){}}),AC=w.forwardRef((e,t)=>{const{__scopeToast:n,type:a="foreground",duration:r,open:s,onClose:i,onEscapeKeyDown:o,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:h,onSwipeCancel:p,onSwipeEnd:m,...x}=e,v=bl(ri,n),[b,g]=w.useState(null),f=Mt(t,I=>g(I)),y=w.useRef(null),P=w.useRef(null),S=r||v.duration,C=w.useRef(0),N=w.useRef(S),k=w.useRef(0),{onToastAdd:A,onToastRemove:E}=v,L=Kn(()=>{var H;(b==null?void 0:b.contains(document.activeElement))&&((H=v.viewport)==null||H.focus()),i()}),O=w.useCallback(I=>{!I||I===1/0||(window.clearTimeout(k.current),C.current=new Date().getTime(),k.current=window.setTimeout(L,I))},[L]);w.useEffect(()=>{const I=v.viewport;if(I){const H=()=>{O(N.current),u==null||u()},_=()=>{const Q=new Date().getTime()-C.current;N.current=N.current-Q,window.clearTimeout(k.current),c==null||c()};return I.addEventListener(Eu,_),I.addEventListener(Au,H),()=>{I.removeEventListener(Eu,_),I.removeEventListener(Au,H)}}},[v.viewport,S,c,u,O]),w.useEffect(()=>{s&&!v.isClosePausedRef.current&&O(S)},[s,S,v.isClosePausedRef,O]),w.useEffect(()=>(A(),()=>E()),[A,E]);const $=w.useMemo(()=>b?Ev(b):null,[b]);return v.viewport?l.jsxs(l.Fragment,{children:[$&&l.jsx(RC,{__scopeToast:n,role:"status","aria-live":a==="foreground"?"assertive":"polite",children:$}),l.jsx(TC,{scope:n,onClose:L,children:ai.createPortal(l.jsx(wh.ItemSlot,{scope:n,children:l.jsx(iC,{asChild:!0,onEscapeKeyDown:ve(o,()=>{v.isFocusedToastEscapeKeyDownRef.current||L(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx(Ue.li,{tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":v.swipeDirection,...x,ref:f,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ve(e.onKeyDown,I=>{I.key==="Escape"&&(o==null||o(I.nativeEvent),I.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,L()))}),onPointerDown:ve(e.onPointerDown,I=>{I.button===0&&(y.current={x:I.clientX,y:I.clientY})}),onPointerMove:ve(e.onPointerMove,I=>{if(!y.current)return;const H=I.clientX-y.current.x,_=I.clientY-y.current.y,Q=!!P.current,j=["left","right"].includes(v.swipeDirection),M=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,z=j?M(0,H):0,B=j?0:M(0,_),X=I.pointerType==="touch"?10:2,yt={x:z,y:B},ot={originalEvent:I,delta:yt};Q?(P.current=yt,Ii(kC,h,ot,{discrete:!1})):zf(yt,v.swipeDirection,X)?(P.current=yt,Ii(CC,d,ot,{discrete:!1}),I.target.setPointerCapture(I.pointerId)):(Math.abs(H)>X||Math.abs(_)>X)&&(y.current=null)}),onPointerUp:ve(e.onPointerUp,I=>{const H=P.current,_=I.target;if(_.hasPointerCapture(I.pointerId)&&_.releasePointerCapture(I.pointerId),P.current=null,y.current=null,H){const Q=I.currentTarget,j={originalEvent:I,delta:H};zf(H,v.swipeDirection,v.swipeThreshold)?Ii(jC,m,j,{discrete:!0}):Ii(NC,p,j,{discrete:!0}),Q.addEventListener("click",M=>M.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),RC=e=>{const{__scopeToast:t,children:n,...a}=e,r=bl(ri,t),[s,i]=w.useState(!1),[o,c]=w.useState(!1);return OC(()=>i(!0)),w.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),o?null:l.jsx(yh,{asChild:!0,container:r.announcerContainer||void 0,children:l.jsx(wl,{...a,children:s&&l.jsxs(l.Fragment,{children:[r.label," ",n]})})})},MC="ToastTitle",Sv=w.forwardRef((e,t)=>{const{__scopeToast:n,...a}=e;return l.jsx(Ue.div,{...a,ref:t})});Sv.displayName=MC;var IC="ToastDescription",Cv=w.forwardRef((e,t)=>{const{__scopeToast:n,...a}=e;return l.jsx(Ue.div,{...a,ref:t})});Cv.displayName=IC;var kv="ToastAction",Nv=w.forwardRef((e,t)=>{const{altText:n,...a}=e;return n.trim()?l.jsx(Tv,{altText:n,asChild:!0,children:l.jsx(bh,{...a,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${kv}\`. Expected non-empty \`string\`.`),null)});Nv.displayName=kv;var jv="ToastClose",bh=w.forwardRef((e,t)=>{const{__scopeToast:n,...a}=e,r=EC(jv,n);return l.jsx(Tv,{asChild:!0,children:l.jsx(Ue.button,{type:"button",...a,ref:t,onClick:ve(e.onClick,r.onClose)})})});bh.displayName=jv;var Tv=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:a,...r}=e;return l.jsx(Ue.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":a||void 0,...r,ref:t})});function Ev(e){const t=[];return Array.from(e.childNodes).forEach(a=>{if(a.nodeType===a.TEXT_NODE&&a.textContent&&t.push(a.textContent),DC(a)){const r=a.ariaHidden||a.hidden||a.style.display==="none",s=a.dataset.radixToastAnnounceExclude==="";if(!r)if(s){const i=a.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Ev(a))}}),t}function Ii(e,t,n,{discrete:a}){const r=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),a?pv(r,s):r.dispatchEvent(s)}var zf=(e,t,n=0)=>{const a=Math.abs(e.x),r=Math.abs(e.y),s=a>r;return t==="left"||t==="right"?s&&a>n:!s&&r>n};function OC(e=()=>{}){const t=Kn(e);cn(()=>{let n=0,a=0;return n=window.requestAnimationFrame(()=>a=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(a)}},[t])}function DC(e){return e.nodeType===e.ELEMENT_NODE}function LC(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const r=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||r?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function cc(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var FC=yv,Av=wv,Rv=Pv,Mv=Sv,Iv=Cv,Ov=Nv,Dv=bh;function Lv(e){var t,n,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=Lv(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}function Fv(){for(var e,t,n=0,a="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=Lv(e))&&(a&&(a+=" "),a+=t);return a}const _f=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Vf=Fv,Ph=(e,t)=>n=>{var a;if((t==null?void 0:t.variants)==null)return Vf(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:s}=t,i=Object.keys(r).map(u=>{const d=n==null?void 0:n[u],h=s==null?void 0:s[u];if(d===null)return null;const p=_f(d)||_f(h);return r[u][p]}),o=n&&Object.entries(n).reduce((u,d)=>{let[h,p]=d;return p===void 0||(u[h]=p),u},{}),c=t==null||(a=t.compoundVariants)===null||a===void 0?void 0:a.reduce((u,d)=>{let{class:h,className:p,...m}=d;return Object.entries(m).every(x=>{let[v,b]=x;return Array.isArray(b)?b.includes({...s,...o}[v]):{...s,...o}[v]===b})?[...u,h,p]:u},[]);return Vf(e,i,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const zC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),_C=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,a)=>a?a.toUpperCase():n.toLowerCase()),Bf=e=>{const t=_C(e);return t.charAt(0).toUpperCase()+t.slice(1)},zv=(...e)=>e.filter((t,n,a)=>!!t&&t.trim()!==""&&a.indexOf(t)===n).join(" ").trim(),VC=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var BC={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"};/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $C=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:a,className:r="",children:s,iconNode:i,...o},c)=>w.createElement("svg",{ref:c,...BC,width:t,height:t,stroke:e,strokeWidth:a?Number(n)*24/Number(t):n,className:zv("lucide",r),...!s&&!VC(o)&&{"aria-hidden":"true"},...o},[...i.map(([u,d])=>w.createElement(u,d)),...Array.isArray(s)?s:[s]]));/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const K=(e,t)=>{const n=w.forwardRef(({className:a,...r},s)=>w.createElement($C,{ref:s,iconNode:t,className:zv(`lucide-${zC(Bf(e))}`,`lucide-${e}`,a),...r}));return n.displayName=Bf(e),n};/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const HC=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],_s=K("arrow-left",HC);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const UC=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],tt=K("arrow-right",UC);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qC=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z",key:"1l2ple"}],["path",{d:"M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z",key:"1wam0m"}]],Sh=K("atom",qC);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const WC=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],_v=K("award",WC);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const GC=[["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"}]],KC=K("book-open",GC);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const QC=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],Aa=K("calendar",QC);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const YC=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],$f=K("chevron-down",YC);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const XC=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Mu=K("chevron-right",XC);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ZC=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Or=K("circle-check-big",ZC);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const JC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],Ch=K("clock",JC);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ek=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],tk=K("cpu",ek);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const nk=[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Vv=K("earth",nk);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ak=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],rk=K("facebook",ak);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const sk=[["path",{d:"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z",key:"i9b6wo"}],["line",{x1:"4",x2:"4",y1:"22",y2:"15",key:"1cm3nv"}]],ik=K("flag",sk);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ok=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]],lk=K("heart",ok);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ck=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],uk=K("house",ck);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const dk=[["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"}]],hk=K("linkedin",dk);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const pk=[["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"}]],Bv=K("mail",pk);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const fk=[["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"}]],Iu=K("map-pin",fk);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const mk=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],gk=K("menu",mk);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const xk=[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]],$v=K("microscope",xk);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const yk=[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]],vk=K("network",yk);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const wk=[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],Hv=K("phone",wk);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const bk=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],Pk=K("quote",bk);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Sk=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Hf=K("refresh-cw",Sk);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ck=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],kk=K("send",Ck);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Nk=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Uv=K("star",Nk);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const jk=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Uf=K("triangle-alert",jk);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Tk=[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]],qv=K("trophy",Tk);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ek=[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]],Ak=K("twitter",Ek);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Rk=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Pl=K("users",Rk);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Mk=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Wv=K("x",Mk);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ik=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],Ok=K("youtube",Ik);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Dk=[["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"}]],Lk=K("zap",Dk),kh="-",Fk=e=>{const t=_k(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{const o=i.split(kh);return o[0]===""&&o.length!==1&&o.shift(),Gv(o,t)||zk(i)},getConflictingClassGroupIds:(i,o)=>{const c=n[i]||[];return o&&a[i]?[...c,...a[i]]:c}}},Gv=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],a=t.nextPart.get(n),r=a?Gv(e.slice(1),a):void 0;if(r)return r;if(t.validators.length===0)return;const s=e.join(kh);return(i=t.validators.find(({validator:o})=>o(s)))==null?void 0:i.classGroupId},qf=/^\[(.+)\]$/,zk=e=>{if(qf.test(e)){const t=qf.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},_k=e=>{const{theme:t,prefix:n}=e,a={nextPart:new Map,validators:[]};return Bk(Object.entries(e.classGroups),n).forEach(([s,i])=>{Ou(i,a,s,t)}),a},Ou=(e,t,n,a)=>{e.forEach(r=>{if(typeof r=="string"){const s=r===""?t:Wf(t,r);s.classGroupId=n;return}if(typeof r=="function"){if(Vk(r)){Ou(r(a),t,n,a);return}t.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(([s,i])=>{Ou(i,Wf(t,s),n,a)})})},Wf=(e,t)=>{let n=e;return t.split(kh).forEach(a=>{n.nextPart.has(a)||n.nextPart.set(a,{nextPart:new Map,validators:[]}),n=n.nextPart.get(a)}),n},Vk=e=>e.isThemeGetter,Bk=(e,t)=>t?e.map(([n,a])=>{const r=a.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,o])=>[t+i,o])):s);return[n,r]}):e,$k=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,a=new Map;const r=(s,i)=>{n.set(s,i),t++,t>e&&(t=0,a=n,n=new Map)};return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=a.get(s))!==void 0)return r(s,i),i},set(s,i){n.has(s)?n.set(s,i):r(s,i)}}},Kv="!",Hk=e=>{const{separator:t,experimentalParseClassName:n}=e,a=t.length===1,r=t[0],s=t.length,i=o=>{const c=[];let u=0,d=0,h;for(let b=0;b<o.length;b++){let g=o[b];if(u===0){if(g===r&&(a||o.slice(b,b+s)===t)){c.push(o.slice(d,b)),d=b+s;continue}if(g==="/"){h=b;continue}}g==="["?u++:g==="]"&&u--}const p=c.length===0?o:o.substring(d),m=p.startsWith(Kv),x=m?p.substring(1):p,v=h&&h>d?h-d:void 0;return{modifiers:c,hasImportantModifier:m,baseClassName:x,maybePostfixModifierPosition:v}};return n?o=>n({className:o,parseClassName:i}):i},Uk=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(a=>{a[0]==="["?(t.push(...n.sort(),a),n=[]):n.push(a)}),t.push(...n.sort()),t},qk=e=>({cache:$k(e.cacheSize),parseClassName:Hk(e),...Fk(e)}),Wk=/\s+/,Gk=(e,t)=>{const{parseClassName:n,getClassGroupId:a,getConflictingClassGroupIds:r}=t,s=[],i=e.trim().split(Wk);let o="";for(let c=i.length-1;c>=0;c-=1){const u=i[c],{modifiers:d,hasImportantModifier:h,baseClassName:p,maybePostfixModifierPosition:m}=n(u);let x=!!m,v=a(x?p.substring(0,m):p);if(!v){if(!x){o=u+(o.length>0?" "+o:o);continue}if(v=a(p),!v){o=u+(o.length>0?" "+o:o);continue}x=!1}const b=Uk(d).join(":"),g=h?b+Kv:b,f=g+v;if(s.includes(f))continue;s.push(f);const y=r(v,x);for(let P=0;P<y.length;++P){const S=y[P];s.push(g+S)}o=u+(o.length>0?" "+o:o)}return o};function Kk(){let e=0,t,n,a="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Qv(t))&&(a&&(a+=" "),a+=n);return a}const Qv=e=>{if(typeof e=="string")return e;let t,n="";for(let a=0;a<e.length;a++)e[a]&&(t=Qv(e[a]))&&(n&&(n+=" "),n+=t);return n};function Qk(e,...t){let n,a,r,s=i;function i(c){const u=t.reduce((d,h)=>h(d),e());return n=qk(u),a=n.cache.get,r=n.cache.set,s=o,o(c)}function o(c){const u=a(c);if(u)return u;const d=Gk(c,n);return r(c,d),d}return function(){return s(Kk.apply(null,arguments))}}const ne=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Yv=/^\[(?:([a-z-]+):)?(.+)\]$/i,Yk=/^\d+\/\d+$/,Xk=new Set(["px","full","screen"]),Zk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Jk=/\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$/,eN=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,tN=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,nN=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Jt=e=>or(e)||Xk.has(e)||Yk.test(e),vn=e=>Dr(e,"length",uN),or=e=>!!e&&!Number.isNaN(Number(e)),uc=e=>Dr(e,"number",or),Zr=e=>!!e&&Number.isInteger(Number(e)),aN=e=>e.endsWith("%")&&or(e.slice(0,-1)),U=e=>Yv.test(e),wn=e=>Zk.test(e),rN=new Set(["length","size","percentage"]),sN=e=>Dr(e,rN,Xv),iN=e=>Dr(e,"position",Xv),oN=new Set(["image","url"]),lN=e=>Dr(e,oN,hN),cN=e=>Dr(e,"",dN),Jr=()=>!0,Dr=(e,t,n)=>{const a=Yv.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):n(a[2]):!1},uN=e=>Jk.test(e)&&!eN.test(e),Xv=()=>!1,dN=e=>tN.test(e),hN=e=>nN.test(e),pN=()=>{const e=ne("colors"),t=ne("spacing"),n=ne("blur"),a=ne("brightness"),r=ne("borderColor"),s=ne("borderRadius"),i=ne("borderSpacing"),o=ne("borderWidth"),c=ne("contrast"),u=ne("grayscale"),d=ne("hueRotate"),h=ne("invert"),p=ne("gap"),m=ne("gradientColorStops"),x=ne("gradientColorStopPositions"),v=ne("inset"),b=ne("margin"),g=ne("opacity"),f=ne("padding"),y=ne("saturate"),P=ne("scale"),S=ne("sepia"),C=ne("skew"),N=ne("space"),k=ne("translate"),A=()=>["auto","contain","none"],E=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",U,t],O=()=>[U,t],$=()=>["",Jt,vn],I=()=>["auto",or,U],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],Q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],j=()=>["start","end","center","between","around","evenly","stretch"],M=()=>["","0",U],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[or,U];return{cacheSize:500,separator:":",theme:{colors:[Jr],spacing:[Jt,vn],blur:["none","",wn,U],brightness:B(),borderColor:[e],borderRadius:["none","","full",wn,U],borderSpacing:O(),borderWidth:$(),contrast:B(),grayscale:M(),hueRotate:B(),invert:M(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[aN,vn],inset:L(),margin:L(),opacity:B(),padding:O(),saturate:B(),scale:B(),sepia:M(),skew:B(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",U]}],container:["container"],columns:[{columns:[wn]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"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"],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:[...H(),U]}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Zr,U]}],basis:[{basis:L()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",U]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:["first","last","none",Zr,U]}],"grid-cols":[{"grid-cols":[Jr]}],"col-start-end":[{col:["auto",{span:["full",Zr,U]},U]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[Jr]}],"row-start-end":[{row:["auto",{span:[Zr,U]},U]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",U]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",U]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...j()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...j(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...j(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[f]}],px:[{px:[f]}],py:[{py:[f]}],ps:[{ps:[f]}],pe:[{pe:[f]}],pt:[{pt:[f]}],pr:[{pr:[f]}],pb:[{pb:[f]}],pl:[{pl:[f]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[N]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[N]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",U,t]}],"min-w":[{"min-w":[U,t,"min","max","fit"]}],"max-w":[{"max-w":[U,t,"none","full","min","max","fit","prose",{screen:[wn]},wn]}],h:[{h:[U,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[U,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[U,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[U,t,"auto","min","max","fit"]}],"font-size":[{text:["base",wn,vn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",uc]}],"font-family":[{font:[Jr]}],"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:["tighter","tight","normal","wide","wider","widest",U]}],"line-clamp":[{"line-clamp":["none",or,uc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Jt,U]}],"list-image":[{"list-image":["none",U]}],"list-style-type":[{list:["none","disc","decimal",U]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Jt,vn]}],"underline-offset":[{"underline-offset":["auto",Jt,U]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",U]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",U]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...H(),iN]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",sN]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},lN]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[o]}],"border-w-x":[{"border-x":[o]}],"border-w-y":[{"border-y":[o]}],"border-w-s":[{"border-s":[o]}],"border-w-e":[{"border-e":[o]}],"border-w-t":[{"border-t":[o]}],"border-w-r":[{"border-r":[o]}],"border-w-b":[{"border-b":[o]}],"border-w-l":[{"border-l":[o]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[..._(),"hidden"]}],"divide-x":[{"divide-x":[o]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[o]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:_()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[Jt,U]}],"outline-w":[{outline:[Jt,vn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Jt,vn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",wn,cN]}],"shadow-color":[{shadow:[Jr]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...Q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Q()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",wn,U]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[h]}],saturate:[{saturate:[y]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",U]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",U]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",U]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[Zr,U]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",U]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",U]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"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",U]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Jt,vn,uc]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},fN=Qk(pN);function Ce(...e){return fN(Fv(e))}const mN=FC,Zv=w.forwardRef(({className:e,...t},n)=>l.jsx(Av,{ref:n,className:Ce("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]",e),...t}));Zv.displayName=Av.displayName;const gN=Ph("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 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"}}),Jv=w.forwardRef(({className:e,variant:t,...n},a)=>l.jsx(Rv,{ref:a,className:Ce(gN({variant:t}),e),...n}));Jv.displayName=Rv.displayName;const xN=w.forwardRef(({className:e,...t},n)=>l.jsx(Ov,{ref:n,className:Ce("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring 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",e),...t}));xN.displayName=Ov.displayName;const e0=w.forwardRef(({className:e,...t},n)=>l.jsx(Dv,{ref:n,className:Ce("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 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",e),"toast-close":"",...t,children:l.jsx(Wv,{className:"h-4 w-4"})}));e0.displayName=Dv.displayName;const t0=w.forwardRef(({className:e,...t},n)=>l.jsx(Mv,{ref:n,className:Ce("text-sm font-semibold [&+div]:text-xs",e),...t}));t0.displayName=Mv.displayName;const n0=w.forwardRef(({className:e,...t},n)=>l.jsx(Iv,{ref:n,className:Ce("text-sm opacity-90",e),...t}));n0.displayName=Iv.displayName;function yN(){const{toasts:e}=dv();return l.jsxs(mN,{children:[e.map(function({id:t,title:n,description:a,action:r,...s}){return l.jsxs(Jv,{...s,children:[l.jsxs("div",{className:"grid gap-1",children:[n&&l.jsx(t0,{children:n}),a&&l.jsx(n0,{children:a})]}),r,l.jsx(e0,{})]},t)}),l.jsx(Zv,{})]})}const vN=["top","right","bottom","left"],Qn=Math.min,Ze=Math.max,_o=Math.round,Oi=Math.floor,Gt=e=>({x:e,y:e}),wN={left:"right",right:"left",bottom:"top",top:"bottom"};function Du(e,t,n){return Ze(e,Qn(t,n))}function fn(e,t){return typeof e=="function"?e(t):e}function mn(e){return e.split("-")[0]}function Lr(e){return e.split("-")[1]}function Nh(e){return e==="x"?"y":"x"}function jh(e){return e==="y"?"height":"width"}function Ut(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Th(e){return Nh(Ut(e))}function bN(e,t,n){n===void 0&&(n=!1);const a=Lr(e),r=Th(e),s=jh(r);let i=r==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Vo(i)),[i,Vo(i)]}function PN(e){const t=Vo(e);return[Lu(e),t,Lu(t)]}function Lu(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Gf=["left","right"],Kf=["right","left"],SN=["top","bottom"],CN=["bottom","top"];function kN(e,t,n){switch(e){case"top":case"bottom":return n?t?Kf:Gf:t?Gf:Kf;case"left":case"right":return t?SN:CN;default:return[]}}function NN(e,t,n,a){const r=Lr(e);let s=kN(mn(e),n==="start",a);return r&&(s=s.map(i=>i+"-"+r),t&&(s=s.concat(s.map(Lu)))),s}function Vo(e){const t=mn(e);return wN[t]+e.slice(t.length)}function jN(e){return{top:0,right:0,bottom:0,left:0,...e}}function a0(e){return typeof e!="number"?jN(e):{top:e,right:e,bottom:e,left:e}}function Bo(e){const{x:t,y:n,width:a,height:r}=e;return{width:a,height:r,top:n,left:t,right:t+a,bottom:n+r,x:t,y:n}}function Qf(e,t,n){let{reference:a,floating:r}=e;const s=Ut(t),i=Th(t),o=jh(i),c=mn(t),u=s==="y",d=a.x+a.width/2-r.width/2,h=a.y+a.height/2-r.height/2,p=a[o]/2-r[o]/2;let m;switch(c){case"top":m={x:d,y:a.y-r.height};break;case"bottom":m={x:d,y:a.y+a.height};break;case"right":m={x:a.x+a.width,y:h};break;case"left":m={x:a.x-r.width,y:h};break;default:m={x:a.x,y:a.y}}switch(Lr(t)){case"start":m[i]-=p*(n&&u?-1:1);break;case"end":m[i]+=p*(n&&u?-1:1);break}return m}async function TN(e,t){var n;t===void 0&&(t={});const{x:a,y:r,platform:s,rects:i,elements:o,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:p=!1,padding:m=0}=fn(t,e),x=a0(m),b=o[p?h==="floating"?"reference":"floating":h],g=Bo(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(b)))==null||n?b:b.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(o.floating)),boundary:u,rootBoundary:d,strategy:c})),f=h==="floating"?{x:a,y:r,width:i.floating.width,height:i.floating.height}:i.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(o.floating)),P=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},S=Bo(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:f,offsetParent:y,strategy:c}):f);return{top:(g.top-S.top+x.top)/P.y,bottom:(S.bottom-g.bottom+x.bottom)/P.y,left:(g.left-S.left+x.left)/P.x,right:(S.right-g.right+x.right)/P.x}}const EN=50,AN=async(e,t,n)=>{const{placement:a="bottom",strategy:r="absolute",middleware:s=[],platform:i}=n,o=i.detectOverflow?i:{...i,detectOverflow:TN},c=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:d,y:h}=Qf(u,a,c),p=a,m=0;const x={};for(let v=0;v<s.length;v++){const b=s[v];if(!b)continue;const{name:g,fn:f}=b,{x:y,y:P,data:S,reset:C}=await f({x:d,y:h,initialPlacement:a,placement:p,strategy:r,middlewareData:x,rects:u,platform:o,elements:{reference:e,floating:t}});d=y??d,h=P??h,x[g]={...x[g],...S},C&&m<EN&&(m++,typeof C=="object"&&(C.placement&&(p=C.placement),C.rects&&(u=C.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):C.rects),{x:d,y:h}=Qf(u,p,c)),v=-1)}return{x:d,y:h,placement:p,strategy:r,middlewareData:x}},RN=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:a,placement:r,rects:s,platform:i,elements:o,middlewareData:c}=t,{element:u,padding:d=0}=fn(e,t)||{};if(u==null)return{};const h=a0(d),p={x:n,y:a},m=Th(r),x=jh(m),v=await i.getDimensions(u),b=m==="y",g=b?"top":"left",f=b?"bottom":"right",y=b?"clientHeight":"clientWidth",P=s.reference[x]+s.reference[m]-p[m]-s.floating[x],S=p[m]-s.reference[m],C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let N=C?C[y]:0;(!N||!await(i.isElement==null?void 0:i.isElement(C)))&&(N=o.floating[y]||s.floating[x]);const k=P/2-S/2,A=N/2-v[x]/2-1,E=Qn(h[g],A),L=Qn(h[f],A),O=E,$=N-v[x]-L,I=N/2-v[x]/2+k,H=Du(O,I,$),_=!c.arrow&&Lr(r)!=null&&I!==H&&s.reference[x]/2-(I<O?E:L)-v[x]/2<0,Q=_?I<O?I-O:I-$:0;return{[m]:p[m]+Q,data:{[m]:H,centerOffset:I-H-Q,..._&&{alignmentOffset:Q}},reset:_}}}),MN=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,a;const{placement:r,middlewareData:s,rects:i,initialPlacement:o,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:v=!0,...b}=fn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const g=mn(r),f=Ut(o),y=mn(o)===o,P=await(c.isRTL==null?void 0:c.isRTL(u.floating)),S=p||(y||!v?[Vo(o)]:PN(o)),C=x!=="none";!p&&C&&S.push(...NN(o,v,x,P));const N=[o,...S],k=await c.detectOverflow(t,b),A=[];let E=((a=s.flip)==null?void 0:a.overflows)||[];if(d&&A.push(k[g]),h){const I=bN(r,i,P);A.push(k[I[0]],k[I[1]])}if(E=[...E,{placement:r,overflows:A}],!A.every(I=>I<=0)){var L,O;const I=(((L=s.flip)==null?void 0:L.index)||0)+1,H=N[I];if(H&&(!(h==="alignment"?f!==Ut(H):!1)||E.every(j=>Ut(j.placement)===f?j.overflows[0]>0:!0)))return{data:{index:I,overflows:E},reset:{placement:H}};let _=(O=E.filter(Q=>Q.overflows[0]<=0).sort((Q,j)=>Q.overflows[1]-j.overflows[1])[0])==null?void 0:O.placement;if(!_)switch(m){case"bestFit":{var $;const Q=($=E.filter(j=>{if(C){const M=Ut(j.placement);return M===f||M==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(M=>M>0).reduce((M,z)=>M+z,0)]).sort((j,M)=>j[1]-M[1])[0])==null?void 0:$[0];Q&&(_=Q);break}case"initialPlacement":_=o;break}if(r!==_)return{reset:{placement:_}}}return{}}}};function Yf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Xf(e){return vN.some(t=>e[t]>=0)}const IN=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:a}=t,{strategy:r="referenceHidden",...s}=fn(e,t);switch(r){case"referenceHidden":{const i=await a.detectOverflow(t,{...s,elementContext:"reference"}),o=Yf(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Xf(o)}}}case"escaped":{const i=await a.detectOverflow(t,{...s,altBoundary:!0}),o=Yf(i,n.floating);return{data:{escapedOffsets:o,escaped:Xf(o)}}}default:return{}}}}},r0=new Set(["left","top"]);async function ON(e,t){const{placement:n,platform:a,elements:r}=e,s=await(a.isRTL==null?void 0:a.isRTL(r.floating)),i=mn(n),o=Lr(n),c=Ut(n)==="y",u=r0.has(i)?-1:1,d=s&&c?-1:1,h=fn(t,e);let{mainAxis:p,crossAxis:m,alignmentAxis:x}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return o&&typeof x=="number"&&(m=o==="end"?x*-1:x),c?{x:m*d,y:p*u}:{x:p*u,y:m*d}}const DN=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,a;const{x:r,y:s,placement:i,middlewareData:o}=t,c=await ON(t,e);return i===((n=o.offset)==null?void 0:n.placement)&&(a=o.arrow)!=null&&a.alignmentOffset?{}:{x:r+c.x,y:s+c.y,data:{...c,placement:i}}}}},LN=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:a,placement:r,platform:s}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:c={fn:g=>{let{x:f,y}=g;return{x:f,y}}},...u}=fn(e,t),d={x:n,y:a},h=await s.detectOverflow(t,u),p=Ut(mn(r)),m=Nh(p);let x=d[m],v=d[p];if(i){const g=m==="y"?"top":"left",f=m==="y"?"bottom":"right",y=x+h[g],P=x-h[f];x=Du(y,x,P)}if(o){const g=p==="y"?"top":"left",f=p==="y"?"bottom":"right",y=v+h[g],P=v-h[f];v=Du(y,v,P)}const b=c.fn({...t,[m]:x,[p]:v});return{...b,data:{x:b.x-n,y:b.y-a,enabled:{[m]:i,[p]:o}}}}}},FN=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:a,placement:r,rects:s,middlewareData:i}=t,{offset:o=0,mainAxis:c=!0,crossAxis:u=!0}=fn(e,t),d={x:n,y:a},h=Ut(r),p=Nh(h);let m=d[p],x=d[h];const v=fn(o,t),b=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(c){const y=p==="y"?"height":"width",P=s.reference[p]-s.floating[y]+b.mainAxis,S=s.reference[p]+s.reference[y]-b.mainAxis;m<P?m=P:m>S&&(m=S)}if(u){var g,f;const y=p==="y"?"width":"height",P=r0.has(mn(r)),S=s.reference[h]-s.floating[y]+(P&&((g=i.offset)==null?void 0:g[h])||0)+(P?0:b.crossAxis),C=s.reference[h]+s.reference[y]+(P?0:((f=i.offset)==null?void 0:f[h])||0)-(P?b.crossAxis:0);x<S?x=S:x>C&&(x=C)}return{[p]:m,[h]:x}}}},zN=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,a;const{placement:r,rects:s,platform:i,elements:o}=t,{apply:c=()=>{},...u}=fn(e,t),d=await i.detectOverflow(t,u),h=mn(r),p=Lr(r),m=Ut(r)==="y",{width:x,height:v}=s.floating;let b,g;h==="top"||h==="bottom"?(b=h,g=p===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(g=h,b=p==="end"?"top":"bottom");const f=v-d.top-d.bottom,y=x-d.left-d.right,P=Qn(v-d[b],f),S=Qn(x-d[g],y),C=!t.middlewareData.shift;let N=P,k=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(k=y),(a=t.middlewareData.shift)!=null&&a.enabled.y&&(N=f),C&&!p){const E=Ze(d.left,0),L=Ze(d.right,0),O=Ze(d.top,0),$=Ze(d.bottom,0);m?k=x-2*(E!==0||L!==0?E+L:Ze(d.left,d.right)):N=v-2*(O!==0||$!==0?O+$:Ze(d.top,d.bottom))}await c({...t,availableWidth:k,availableHeight:N});const A=await i.getDimensions(o.floating);return x!==A.width||v!==A.height?{reset:{rects:!0}}:{}}}};function Sl(){return typeof window<"u"}function Fr(e){return s0(e)?(e.nodeName||"").toLowerCase():"#document"}function nt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Yt(e){var t;return(t=(s0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function s0(e){return Sl()?e instanceof Node||e instanceof nt(e).Node:!1}function It(e){return Sl()?e instanceof Element||e instanceof nt(e).Element:!1}function xn(e){return Sl()?e instanceof HTMLElement||e instanceof nt(e).HTMLElement:!1}function Zf(e){return!Sl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof nt(e).ShadowRoot}function si(e){const{overflow:t,overflowX:n,overflowY:a,display:r}=Ot(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+n)&&r!=="inline"&&r!=="contents"}function _N(e){return/^(table|td|th)$/.test(Fr(e))}function Cl(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const VN=/transform|translate|scale|rotate|perspective|filter/,BN=/paint|layout|strict|content/,ra=e=>!!e&&e!=="none";let dc;function Eh(e){const t=It(e)?Ot(e):e;return ra(t.transform)||ra(t.translate)||ra(t.scale)||ra(t.rotate)||ra(t.perspective)||!Ah()&&(ra(t.backdropFilter)||ra(t.filter))||VN.test(t.willChange||"")||BN.test(t.contain||"")}function $N(e){let t=Yn(e);for(;xn(t)&&!jr(t);){if(Eh(t))return t;if(Cl(t))return null;t=Yn(t)}return null}function Ah(){return dc==null&&(dc=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),dc}function jr(e){return/^(html|body|#document)$/.test(Fr(e))}function Ot(e){return nt(e).getComputedStyle(e)}function kl(e){return It(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Yn(e){if(Fr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Zf(e)&&e.host||Yt(e);return Zf(t)?t.host:t}function i0(e){const t=Yn(e);return jr(t)?e.ownerDocument?e.ownerDocument.body:e.body:xn(t)&&si(t)?t:i0(t)}function Vs(e,t,n){var a;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=i0(e),s=r===((a=e.ownerDocument)==null?void 0:a.body),i=nt(r);if(s){const o=Fu(i);return t.concat(i,i.visualViewport||[],si(r)?r:[],o&&n?Vs(o):[])}else return t.concat(r,Vs(r,[],n))}function Fu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function o0(e){const t=Ot(e);let n=parseFloat(t.width)||0,a=parseFloat(t.height)||0;const r=xn(e),s=r?e.offsetWidth:n,i=r?e.offsetHeight:a,o=_o(n)!==s||_o(a)!==i;return o&&(n=s,a=i),{width:n,height:a,$:o}}function Rh(e){return It(e)?e:e.contextElement}function lr(e){const t=Rh(e);if(!xn(t))return Gt(1);const n=t.getBoundingClientRect(),{width:a,height:r,$:s}=o0(t);let i=(s?_o(n.width):n.width)/a,o=(s?_o(n.height):n.height)/r;return(!i||!Number.isFinite(i))&&(i=1),(!o||!Number.isFinite(o))&&(o=1),{x:i,y:o}}const HN=Gt(0);function l0(e){const t=nt(e);return!Ah()||!t.visualViewport?HN:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function UN(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==nt(e)?!1:t}function Ra(e,t,n,a){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=Rh(e);let i=Gt(1);t&&(a?It(a)&&(i=lr(a)):i=lr(e));const o=UN(s,n,a)?l0(s):Gt(0);let c=(r.left+o.x)/i.x,u=(r.top+o.y)/i.y,d=r.width/i.x,h=r.height/i.y;if(s){const p=nt(s),m=a&&It(a)?nt(a):a;let x=p,v=Fu(x);for(;v&&a&&m!==x;){const b=lr(v),g=v.getBoundingClientRect(),f=Ot(v),y=g.left+(v.clientLeft+parseFloat(f.paddingLeft))*b.x,P=g.top+(v.clientTop+parseFloat(f.paddingTop))*b.y;c*=b.x,u*=b.y,d*=b.x,h*=b.y,c+=y,u+=P,x=nt(v),v=Fu(x)}}return Bo({width:d,height:h,x:c,y:u})}function Nl(e,t){const n=kl(e).scrollLeft;return t?t.left+n:Ra(Yt(e)).left+n}function c0(e,t){const n=e.getBoundingClientRect(),a=n.left+t.scrollLeft-Nl(e,n),r=n.top+t.scrollTop;return{x:a,y:r}}function qN(e){let{elements:t,rect:n,offsetParent:a,strategy:r}=e;const s=r==="fixed",i=Yt(a),o=t?Cl(t.floating):!1;if(a===i||o&&s)return n;let c={scrollLeft:0,scrollTop:0},u=Gt(1);const d=Gt(0),h=xn(a);if((h||!h&&!s)&&((Fr(a)!=="body"||si(i))&&(c=kl(a)),h)){const m=Ra(a);u=lr(a),d.x=m.x+a.clientLeft,d.y=m.y+a.clientTop}const p=i&&!h&&!s?c0(i,c):Gt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+p.x,y:n.y*u.y-c.scrollTop*u.y+d.y+p.y}}function WN(e){return Array.from(e.getClientRects())}function GN(e){const t=Yt(e),n=kl(e),a=e.ownerDocument.body,r=Ze(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),s=Ze(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight);let i=-n.scrollLeft+Nl(e);const o=-n.scrollTop;return Ot(a).direction==="rtl"&&(i+=Ze(t.clientWidth,a.clientWidth)-r),{width:r,height:s,x:i,y:o}}const Jf=25;function KN(e,t){const n=nt(e),a=Yt(e),r=n.visualViewport;let s=a.clientWidth,i=a.clientHeight,o=0,c=0;if(r){s=r.width,i=r.height;const d=Ah();(!d||d&&t==="fixed")&&(o=r.offsetLeft,c=r.offsetTop)}const u=Nl(a);if(u<=0){const d=a.ownerDocument,h=d.body,p=getComputedStyle(h),m=d.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,x=Math.abs(a.clientWidth-h.clientWidth-m);x<=Jf&&(s-=x)}else u<=Jf&&(s+=u);return{width:s,height:i,x:o,y:c}}function QN(e,t){const n=Ra(e,!0,t==="fixed"),a=n.top+e.clientTop,r=n.left+e.clientLeft,s=xn(e)?lr(e):Gt(1),i=e.clientWidth*s.x,o=e.clientHeight*s.y,c=r*s.x,u=a*s.y;return{width:i,height:o,x:c,y:u}}function em(e,t,n){let a;if(t==="viewport")a=KN(e,n);else if(t==="document")a=GN(Yt(e));else if(It(t))a=QN(t,n);else{const r=l0(e);a={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Bo(a)}function u0(e,t){const n=Yn(e);return n===t||!It(n)||jr(n)?!1:Ot(n).position==="fixed"||u0(n,t)}function YN(e,t){const n=t.get(e);if(n)return n;let a=Vs(e,[],!1).filter(o=>It(o)&&Fr(o)!=="body"),r=null;const s=Ot(e).position==="fixed";let i=s?Yn(e):e;for(;It(i)&&!jr(i);){const o=Ot(i),c=Eh(i);!c&&o.position==="fixed"&&(r=null),(s?!c&&!r:!c&&o.position==="static"&&!!r&&(r.position==="absolute"||r.position==="fixed")||si(i)&&!c&&u0(e,i))?a=a.filter(d=>d!==i):r=o,i=Yn(i)}return t.set(e,a),a}function XN(e){let{element:t,boundary:n,rootBoundary:a,strategy:r}=e;const i=[...n==="clippingAncestors"?Cl(t)?[]:YN(t,this._c):[].concat(n),a],o=em(t,i[0],r);let c=o.top,u=o.right,d=o.bottom,h=o.left;for(let p=1;p<i.length;p++){const m=em(t,i[p],r);c=Ze(m.top,c),u=Qn(m.right,u),d=Qn(m.bottom,d),h=Ze(m.left,h)}return{width:u-h,height:d-c,x:h,y:c}}function ZN(e){const{width:t,height:n}=o0(e);return{width:t,height:n}}function JN(e,t,n){const a=xn(t),r=Yt(t),s=n==="fixed",i=Ra(e,!0,s,t);let o={scrollLeft:0,scrollTop:0};const c=Gt(0);function u(){c.x=Nl(r)}if(a||!a&&!s)if((Fr(t)!=="body"||si(r))&&(o=kl(t)),a){const m=Ra(t,!0,s,t);c.x=m.x+t.clientLeft,c.y=m.y+t.clientTop}else r&&u();s&&!a&&r&&u();const d=r&&!a&&!s?c0(r,o):Gt(0),h=i.left+o.scrollLeft-c.x-d.x,p=i.top+o.scrollTop-c.y-d.y;return{x:h,y:p,width:i.width,height:i.height}}function hc(e){return Ot(e).position==="static"}function tm(e,t){if(!xn(e)||Ot(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Yt(e)===n&&(n=n.ownerDocument.body),n}function d0(e,t){const n=nt(e);if(Cl(e))return n;if(!xn(e)){let r=Yn(e);for(;r&&!jr(r);){if(It(r)&&!hc(r))return r;r=Yn(r)}return n}let a=tm(e,t);for(;a&&_N(a)&&hc(a);)a=tm(a,t);return a&&jr(a)&&hc(a)&&!Eh(a)?n:a||$N(e)||n}const e2=async function(e){const t=this.getOffsetParent||d0,n=this.getDimensions,a=await n(e.floating);return{reference:JN(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function t2(e){return Ot(e).direction==="rtl"}const n2={convertOffsetParentRelativeRectToViewportRelativeRect:qN,getDocumentElement:Yt,getClippingRect:XN,getOffsetParent:d0,getElementRects:e2,getClientRects:WN,getDimensions:ZN,getScale:lr,isElement:It,isRTL:t2};function h0(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function a2(e,t){let n=null,a;const r=Yt(e);function s(){var o;clearTimeout(a),(o=n)==null||o.disconnect(),n=null}function i(o,c){o===void 0&&(o=!1),c===void 0&&(c=1),s();const u=e.getBoundingClientRect(),{left:d,top:h,width:p,height:m}=u;if(o||t(),!p||!m)return;const x=Oi(h),v=Oi(r.clientWidth-(d+p)),b=Oi(r.clientHeight-(h+m)),g=Oi(d),y={rootMargin:-x+"px "+-v+"px "+-b+"px "+-g+"px",threshold:Ze(0,Qn(1,c))||1};let P=!0;function S(C){const N=C[0].intersectionRatio;if(N!==c){if(!P)return i();N?i(!1,N):a=setTimeout(()=>{i(!1,1e-7)},1e3)}N===1&&!h0(u,e.getBoundingClientRect())&&i(),P=!1}try{n=new IntersectionObserver(S,{...y,root:r.ownerDocument})}catch{n=new IntersectionObserver(S,y)}n.observe(e)}return i(!0),s}function r2(e,t,n,a){a===void 0&&(a={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:o=typeof IntersectionObserver=="function",animationFrame:c=!1}=a,u=Rh(e),d=r||s?[...u?Vs(u):[],...t?Vs(t):[]]:[];d.forEach(g=>{r&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});const h=u&&o?a2(u,n):null;let p=-1,m=null;i&&(m=new ResizeObserver(g=>{let[f]=g;f&&f.target===u&&m&&t&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=m)==null||y.observe(t)})),n()}),u&&!c&&m.observe(u),t&&m.observe(t));let x,v=c?Ra(e):null;c&&b();function b(){const g=Ra(e);v&&!h0(v,g)&&n(),v=g,x=requestAnimationFrame(b)}return n(),()=>{var g;d.forEach(f=>{r&&f.removeEventListener("scroll",n),s&&f.removeEventListener("resize",n)}),h==null||h(),(g=m)==null||g.disconnect(),m=null,c&&cancelAnimationFrame(x)}}const s2=DN,i2=LN,o2=MN,l2=zN,c2=IN,nm=RN,u2=FN,d2=(e,t,n)=>{const a=new Map,r={platform:n2,...n},s={...r.platform,_c:a};return AN(e,t,{...r,platform:s})};var h2=typeof document<"u",p2=function(){},no=h2?w.useLayoutEffect:p2;function $o(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,a,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(a=n;a--!==0;)if(!$o(e[a],t[a]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(a=n;a--!==0;)if(!{}.hasOwnProperty.call(t,r[a]))return!1;for(a=n;a--!==0;){const s=r[a];if(!(s==="_owner"&&e.$$typeof)&&!$o(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function p0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function am(e,t){const n=p0(e);return Math.round(t*n)/n}function pc(e){const t=w.useRef(e);return no(()=>{t.current=e}),t}function f2(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:a=[],platform:r,elements:{reference:s,floating:i}={},transform:o=!0,whileElementsMounted:c,open:u}=e,[d,h]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=w.useState(a);$o(p,a)||m(a);const[x,v]=w.useState(null),[b,g]=w.useState(null),f=w.useCallback(j=>{j!==C.current&&(C.current=j,v(j))},[]),y=w.useCallback(j=>{j!==N.current&&(N.current=j,g(j))},[]),P=s||x,S=i||b,C=w.useRef(null),N=w.useRef(null),k=w.useRef(d),A=c!=null,E=pc(c),L=pc(r),O=pc(u),$=w.useCallback(()=>{if(!C.current||!N.current)return;const j={placement:t,strategy:n,middleware:p};L.current&&(j.platform=L.current),d2(C.current,N.current,j).then(M=>{const z={...M,isPositioned:O.current!==!1};I.current&&!$o(k.current,z)&&(k.current=z,ai.flushSync(()=>{h(z)}))})},[p,t,n,L,O]);no(()=>{u===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,h(j=>({...j,isPositioned:!1})))},[u]);const I=w.useRef(!1);no(()=>(I.current=!0,()=>{I.current=!1}),[]),no(()=>{if(P&&(C.current=P),S&&(N.current=S),P&&S){if(E.current)return E.current(P,S,$);$()}},[P,S,$,E,A]);const H=w.useMemo(()=>({reference:C,floating:N,setReference:f,setFloating:y}),[f,y]),_=w.useMemo(()=>({reference:P,floating:S}),[P,S]),Q=w.useMemo(()=>{const j={position:n,left:0,top:0};if(!_.floating)return j;const M=am(_.floating,d.x),z=am(_.floating,d.y);return o?{...j,transform:"translate("+M+"px, "+z+"px)",...p0(_.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:z}},[n,o,_.floating,d.x,d.y]);return w.useMemo(()=>({...d,update:$,refs:H,elements:_,floatingStyles:Q}),[d,$,H,_,Q])}const m2=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:a,padding:r}=typeof e=="function"?e(n):e;return a&&t(a)?a.current!=null?nm({element:a.current,padding:r}).fn(n):{}:a?nm({element:a,padding:r}).fn(n):{}}}},g2=(e,t)=>{const n=s2(e);return{name:n.name,fn:n.fn,options:[e,t]}},x2=(e,t)=>{const n=i2(e);return{name:n.name,fn:n.fn,options:[e,t]}},y2=(e,t)=>({fn:u2(e).fn,options:[e,t]}),v2=(e,t)=>{const n=o2(e);return{name:n.name,fn:n.fn,options:[e,t]}},w2=(e,t)=>{const n=l2(e);return{name:n.name,fn:n.fn,options:[e,t]}},b2=(e,t)=>{const n=c2(e);return{name:n.name,fn:n.fn,options:[e,t]}},P2=(e,t)=>{const n=m2(e);return{name:n.name,fn:n.fn,options:[e,t]}};var S2="Arrow",f0=w.forwardRef((e,t)=>{const{children:n,width:a=10,height:r=5,...s}=e;return l.jsx(Ue.svg,{...s,ref:t,width:a,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});f0.displayName=S2;var C2=f0;function k2(e){const[t,n]=w.useState(void 0);return cn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const a=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const s=r[0];let i,o;if("borderBoxSize"in s){const c=s.borderBoxSize,u=Array.isArray(c)?c[0]:c;i=u.inlineSize,o=u.blockSize}else i=e.offsetWidth,o=e.offsetHeight;n({width:i,height:o})});return a.observe(e,{box:"border-box"}),()=>a.unobserve(e)}else n(void 0)},[e]),t}var m0="Popper",[g0,x0]=yl(m0),[sM,y0]=g0(m0),v0="PopperAnchor",w0=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:a,...r}=e,s=y0(v0,n),i=w.useRef(null),o=s.onAnchorChange,c=w.useCallback(x=>{i.current=x,x&&o(x)},[o]),u=Mt(t,c),d=w.useRef(null);w.useEffect(()=>{if(!a)return;const x=d.current;d.current=a.current,x!==d.current&&o(d.current)});const h=s.placementState&&Ih(s.placementState),p=h==null?void 0:h[0],m=h==null?void 0:h[1];return a?null:l.jsx(Ue.div,{"data-radix-popper-side":p,"data-radix-popper-align":m,...r,ref:u})});w0.displayName=v0;var Mh="PopperContent",[N2,j2]=g0(Mh),b0=w.forwardRef((e,t)=>{var fp,mp,gp,xp,yp,vp;const{__scopePopper:n,side:a="bottom",sideOffset:r=0,align:s="center",alignOffset:i=0,arrowPadding:o=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:h="partial",hideWhenDetached:p=!1,updatePositionStrategy:m="optimized",onPlaced:x,...v}=e,b=y0(Mh,n),[g,f]=w.useState(null),y=Mt(t,Hr=>f(Hr)),[P,S]=w.useState(null),C=k2(P),N=(C==null?void 0:C.width)??0,k=(C==null?void 0:C.height)??0,A=a+(s!=="center"?"-"+s:""),E=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},L=Array.isArray(u)?u:[u],O=L.length>0,$={padding:E,boundary:L.filter(E2),altBoundary:O},{refs:I,floatingStyles:H,placement:_,isPositioned:Q,middlewareData:j}=f2({strategy:"fixed",placement:A,whileElementsMounted:(...Hr)=>r2(...Hr,{animationFrame:m==="always"}),elements:{reference:b.anchor},middleware:[g2({mainAxis:r+k,alignmentAxis:i}),c&&x2({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?y2():void 0,...$}),c&&v2({...$}),w2({...$,apply:({elements:Hr,rects:wp,availableWidth:n1,availableHeight:a1})=>{const{width:r1,height:s1}=wp.reference,hi=Hr.floating.style;hi.setProperty("--radix-popper-available-width",`${n1}px`),hi.setProperty("--radix-popper-available-height",`${a1}px`),hi.setProperty("--radix-popper-anchor-width",`${r1}px`),hi.setProperty("--radix-popper-anchor-height",`${s1}px`)}}),P&&P2({element:P,padding:o}),A2({arrowWidth:N,arrowHeight:k}),p&&b2({strategy:"referenceHidden",...$,boundary:O?$.boundary:void 0})]}),M=b.setPlacementState;cn(()=>(M(_),()=>{M(void 0)}),[_,M]);const[z,B]=Ih(_),X=Kn(x);cn(()=>{Q&&(X==null||X())},[Q,X]);const yt=(fp=j.arrow)==null?void 0:fp.x,ot=(mp=j.arrow)==null?void 0:mp.y,$r=((gp=j.arrow)==null?void 0:gp.centerOffset)!==0,[Xt,La]=w.useState();return cn(()=>{g&&La(window.getComputedStyle(g).zIndex)},[g]),l.jsx("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:Q?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Xt,"--radix-popper-transform-origin":[(xp=j.transformOrigin)==null?void 0:xp.x,(yp=j.transformOrigin)==null?void 0:yp.y].join(" "),...((vp=j.hide)==null?void 0:vp.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(N2,{scope:n,placedSide:z,placedAlign:B,onArrowChange:S,arrowX:yt,arrowY:ot,shouldHideArrow:$r,children:l.jsx(Ue.div,{"data-side":z,"data-align":B,...v,ref:y,style:{...v.style,animation:Q?void 0:"none"}})})})});b0.displayName=Mh;var P0="PopperArrow",T2={top:"bottom",right:"left",bottom:"top",left:"right"},S0=w.forwardRef(function(t,n){const{__scopePopper:a,...r}=t,s=j2(P0,a),i=T2[s.placedSide];return l.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:l.jsx(C2,{...r,ref:n,style:{...r.style,display:"block"}})})});S0.displayName=P0;function E2(e){return e!==null}var A2=e=>({name:"transformOrigin",options:e,fn(t){var b,g,f;const{placement:n,rects:a,middlewareData:r}=t,i=((b=r.arrow)==null?void 0:b.centerOffset)!==0,o=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[u,d]=Ih(n),h={start:"0%",center:"50%",end:"100%"}[d],p=(((g=r.arrow)==null?void 0:g.x)??0)+o/2,m=(((f=r.arrow)==null?void 0:f.y)??0)+c/2;let x="",v="";return u==="bottom"?(x=i?h:`${p}px`,v=`${-c}px`):u==="top"?(x=i?h:`${p}px`,v=`${a.floating.height+c}px`):u==="right"?(x=`${-c}px`,v=i?h:`${m}px`):u==="left"&&(x=`${a.floating.width+c}px`,v=i?h:`${m}px`),{data:{x,y:v}}}});function Ih(e){const[t,n="center"]=e.split("-");return[t,n]}var R2=w0,M2=b0,I2=S0,[jl]=yl("Tooltip",[x0]),Oh=x0(),C0="TooltipProvider",O2=700,rm="tooltip.open",[D2,k0]=jl(C0),N0=e=>{const{__scopeTooltip:t,delayDuration:n=O2,skipDelayDuration:a=300,disableHoverableContent:r=!1,children:s}=e,i=w.useRef(!0),o=w.useRef(!1),c=w.useRef(0);return w.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),l.jsx(D2,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:w.useCallback(()=>{a<=0||(window.clearTimeout(c.current),i.current=!1)},[a]),onClose:w.useCallback(()=>{a<=0||(window.clearTimeout(c.current),c.current=window.setTimeout(()=>i.current=!0,a))},[a]),isPointerInTransitRef:o,onPointerInTransitChange:w.useCallback(u=>{o.current=u},[]),disableHoverableContent:r,children:s})};N0.displayName=C0;var j0="Tooltip",[iM,ii]=jl(j0),zu="TooltipTrigger",L2=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...a}=e,r=ii(zu,n),s=k0(zu,n),i=Oh(n),o=w.useRef(null),c=Mt(t,o,r.onTriggerChange),u=w.useRef(!1),d=w.useRef(!1),h=w.useCallback(()=>u.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),l.jsx(R2,{asChild:!0,...i,children:l.jsx(Ue.button,{"aria-describedby":r.open?r.contentId:void 0,"data-state":r.stateAttribute,...a,ref:c,onPointerMove:ve(e.onPointerMove,p=>{p.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(r.onTriggerEnter(),d.current=!0)}),onPointerLeave:ve(e.onPointerLeave,()=>{r.onTriggerLeave(),d.current=!1}),onPointerDown:ve(e.onPointerDown,()=>{r.open&&r.onClose(),u.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:ve(e.onFocus,()=>{u.current||r.onOpen()}),onBlur:ve(e.onBlur,r.onClose),onClick:ve(e.onClick,r.onClose)})})});L2.displayName=zu;var Dh="TooltipPortal",[F2,z2]=jl(Dh,{forceMount:void 0}),T0=e=>{const{__scopeTooltip:t,forceMount:n,children:a,container:r}=e,s=ii(Dh,t);return l.jsx(F2,{scope:t,forceMount:n,children:l.jsx(vl,{present:n||s.open,children:l.jsx(yh,{asChild:!0,container:r,children:a})})})};T0.displayName=Dh;var Tr="TooltipContent",E0=w.forwardRef((e,t)=>{const n=z2(Tr,e.__scopeTooltip),{forceMount:a=n.forceMount,side:r="top",...s}=e,i=ii(Tr,e.__scopeTooltip);return l.jsx(vl,{present:a||i.open,children:i.disableHoverableContent?l.jsx(A0,{side:r,...s,ref:t}):l.jsx(_2,{side:r,...s,ref:t})})}),_2=w.forwardRef((e,t)=>{const n=ii(Tr,e.__scopeTooltip),a=k0(Tr,e.__scopeTooltip),r=w.useRef(null),s=Mt(t,r),[i,o]=w.useState(null),{trigger:c,onClose:u}=n,d=r.current,{onPointerInTransitChange:h}=a,p=w.useCallback(()=>{o(null),h(!1)},[h]),m=w.useCallback((x,v)=>{const b=x.currentTarget,g={x:x.clientX,y:x.clientY},f=U2(g,b.getBoundingClientRect()),y=q2(g,f),P=W2(v.getBoundingClientRect()),S=K2([...y,...P]);o(S),h(!0)},[h]);return w.useEffect(()=>()=>p(),[p]),w.useEffect(()=>{if(c&&d){const x=b=>m(b,d),v=b=>m(b,c);return c.addEventListener("pointerleave",x),d.addEventListener("pointerleave",v),()=>{c.removeEventListener("pointerleave",x),d.removeEventListener("pointerleave",v)}}},[c,d,m,p]),w.useEffect(()=>{if(i){const x=v=>{const b=v.target,g={x:v.clientX,y:v.clientY},f=(c==null?void 0:c.contains(b))||(d==null?void 0:d.contains(b)),y=!G2(g,i);f?p():y&&(p(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[c,d,i,u,p]),l.jsx(A0,{...e,ref:s})}),[V2,B2]=jl(j0,{isInside:!1}),$2=$S("TooltipContent"),A0=w.forwardRef((e,t)=>{const{__scopeTooltip:n,children:a,"aria-label":r,onEscapeKeyDown:s,onPointerDownOutside:i,...o}=e,c=ii(Tr,n),u=Oh(n),{onClose:d}=c;return w.useEffect(()=>(document.addEventListener(rm,d),()=>document.removeEventListener(rm,d)),[d]),w.useEffect(()=>{if(c.trigger){const h=p=>{p.target instanceof Node&&p.target.contains(c.trigger)&&d()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[c.trigger,d]),l.jsx(xh,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:h=>h.preventDefault(),onDismiss:d,children:l.jsxs(M2,{"data-state":c.stateAttribute,...u,...o,ref:t,style:{...o.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:[l.jsx($2,{children:a}),l.jsx(V2,{scope:n,isInside:!0,children:l.jsx(vC,{id:c.contentId,role:"tooltip",children:r||a})})]})})});E0.displayName=Tr;var R0="TooltipArrow",H2=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...a}=e,r=Oh(n);return B2(R0,n).isInside?null:l.jsx(I2,{...r,...a,ref:t})});H2.displayName=R0;function U2(e,t){const n=Math.abs(t.top-e.y),a=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,a,r,s)){case s:return"left";case r:return"right";case n:return"top";case a:return"bottom";default:throw new Error("unreachable")}}function q2(e,t,n=5){const a=[];switch(t){case"top":a.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":a.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":a.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":a.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return a}function W2(e){const{top:t,right:n,bottom:a,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:a},{x:r,y:a}]}function G2(e,t){const{x:n,y:a}=e;let r=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const o=t[s],c=t[i],u=o.x,d=o.y,h=c.x,p=c.y;d>a!=p>a&&n<(h-u)*(a-d)/(p-d)+u&&(r=!r)}return r}function K2(e){const t=e.slice();return t.sort((n,a)=>n.x<a.x?-1:n.x>a.x?1:n.y<a.y?-1:n.y>a.y?1:0),Q2(t)}function Q2(e){if(e.length<=1)return e.slice();const t=[];for(let a=0;a<e.length;a++){const r=e[a];for(;t.length>=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(r.y-i.y)>=(s.y-i.y)*(r.x-i.x))t.pop();else break}t.push(r)}t.pop();const n=[];for(let a=e.length-1;a>=0;a--){const r=e[a];for(;n.length>=2;){const s=n[n.length-1],i=n[n.length-2];if((s.x-i.x)*(r.y-i.y)>=(s.y-i.y)*(r.x-i.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Y2=N0,X2=T0,M0=E0;const Z2=Y2,J2=w.forwardRef(({className:e,sideOffset:t=4,...n},a)=>l.jsx(X2,{children:l.jsx(M0,{ref:a,sideOffset:t,className:Ce("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]",e),...n})}));J2.displayName=M0.displayName;var Tl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},fa,jn,dr,Hg,ej=(Hg=class extends Tl{constructor(){super();W(this,fa);W(this,jn);W(this,dr);V(this,dr,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){T(this,jn)||this.setEventListener(T(this,dr))}onUnsubscribe(){var t;this.hasListeners()||((t=T(this,jn))==null||t.call(this),V(this,jn,void 0))}setEventListener(t){var n;V(this,dr,t),(n=T(this,jn))==null||n.call(this),V(this,jn,t(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()}))}setFocused(t){T(this,fa)!==t&&(V(this,fa,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof T(this,fa)=="boolean"?T(this,fa):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},fa=new WeakMap,jn=new WeakMap,dr=new WeakMap,Hg),I0=new ej,tj={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Tn,bd,Ug,nj=(Ug=class{constructor(){W(this,Tn,tj);W(this,bd,!1)}setTimeoutProvider(e){V(this,Tn,e)}setTimeout(e,t){return T(this,Tn).setTimeout(e,t)}clearTimeout(e){T(this,Tn).clearTimeout(e)}setInterval(e,t){return T(this,Tn).setInterval(e,t)}clearInterval(e){T(this,Tn).clearInterval(e)}},Tn=new WeakMap,bd=new WeakMap,Ug),_u=new nj;function aj(e){setTimeout(e,0)}var rj=typeof window>"u"||"Deno"in globalThis;function St(){}function sj(e,t){return typeof e=="function"?e(t):e}function ij(e){return typeof e=="number"&&e>=0&&e!==1/0}function oj(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Vu(e,t){return typeof e=="function"?e(t):e}function lj(e,t){return typeof e=="function"?e(t):e}function sm(e,t){const{type:n="all",exact:a,fetchStatus:r,predicate:s,queryKey:i,stale:o}=e;if(i){if(a){if(t.queryHash!==Lh(i,t.options))return!1}else if(!$s(t.queryKey,i))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof o=="boolean"&&t.isStale()!==o||r&&r!==t.state.fetchStatus||s&&!s(t))}function im(e,t){const{exact:n,status:a,predicate:r,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Bs(t.options.mutationKey)!==Bs(s))return!1}else if(!$s(t.options.mutationKey,s))return!1}return!(a&&t.state.status!==a||r&&!r(t))}function Lh(e,t){return((t==null?void 0:t.queryKeyHashFn)||Bs)(e)}function Bs(e){return JSON.stringify(e,(t,n)=>Bu(n)?Object.keys(n).sort().reduce((a,r)=>(a[r]=n[r],a),{}):n)}function $s(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>$s(e[n],t[n])):!1}var cj=Object.prototype.hasOwnProperty;function O0(e,t,n=0){if(e===t)return e;if(n>500)return t;const a=om(e)&&om(t);if(!a&&!(Bu(e)&&Bu(t)))return t;const s=(a?e:Object.keys(e)).length,i=a?t:Object.keys(t),o=i.length,c=a?new Array(o):{};let u=0;for(let d=0;d<o;d++){const h=a?d:i[d],p=e[h],m=t[h];if(p===m){c[h]=p,(a?d<s:cj.call(e,h))&&u++;continue}if(p===null||m===null||typeof p!="object"||typeof m!="object"){c[h]=m;continue}const x=O0(p,m,n+1);c[h]=x,x===p&&u++}return s===o&&u===s?e:c}function om(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Bu(e){if(!lm(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!lm(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function lm(e){return Object.prototype.toString.call(e)==="[object Object]"}function uj(e){return new Promise(t=>{_u.setTimeout(t,e)})}function dj(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?O0(e,t):t}function hj(e,t,n=0){const a=[...e,t];return n&&a.length>n?a.slice(1):a}function pj(e,t,n=0){const a=[t,...e];return n&&a.length>n?a.slice(0,-1):a}var Fh=Symbol();function D0(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Fh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function fj(e,t,n){let a=!1,r;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(r??(r=t()),a||(a=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)}),e}var L0=(()=>{let e=()=>rj;return{isServer(){return e()},setIsServer(t){e=t}}})();function mj(){let e,t;const n=new Promise((r,s)=>{e=r,t=s});n.status="pending",n.catch(()=>{});function a(r){Object.assign(n,r),delete n.resolve,delete n.reject}return n.resolve=r=>{a({status:"fulfilled",value:r}),e(r)},n.reject=r=>{a({status:"rejected",reason:r}),t(r)},n}var gj=aj;function xj(){let e=[],t=0,n=o=>{o()},a=o=>{o()},r=gj;const s=o=>{t?e.push(o):r(()=>{n(o)})},i=()=>{const o=e;e=[],o.length&&r(()=>{a(()=>{o.forEach(c=>{n(c)})})})};return{batch:o=>{let c;t++;try{c=o()}finally{t--,t||i()}return c},batchCalls:o=>(...c)=>{s(()=>{o(...c)})},schedule:s,setNotifyFunction:o=>{n=o},setBatchNotifyFunction:o=>{a=o},setScheduler:o=>{r=o}}}var ze=xj(),hr,En,pr,qg,yj=(qg=class extends Tl{constructor(){super();W(this,hr,!0);W(this,En);W(this,pr);V(this,pr,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t(!0),a=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",a)}}})}onSubscribe(){T(this,En)||this.setEventListener(T(this,pr))}onUnsubscribe(){var t;this.hasListeners()||((t=T(this,En))==null||t.call(this),V(this,En,void 0))}setEventListener(t){var n;V(this,pr,t),(n=T(this,En))==null||n.call(this),V(this,En,t(this.setOnline.bind(this)))}setOnline(t){T(this,hr)!==t&&(V(this,hr,t),this.listeners.forEach(a=>{a(t)}))}isOnline(){return T(this,hr)}},hr=new WeakMap,En=new WeakMap,pr=new WeakMap,qg),Ho=new yj;function vj(e){return Math.min(1e3*2**e,3e4)}function F0(e){return(e??"online")==="online"?Ho.isOnline():!0}var $u=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function z0(e){let t=!1,n=0,a;const r=mj(),s=()=>r.status!=="pending",i=v=>{var b;if(!s()){const g=new $u(v);p(g),(b=e.onCancel)==null||b.call(e,g)}},o=()=>{t=!0},c=()=>{t=!1},u=()=>I0.isFocused()&&(e.networkMode==="always"||Ho.isOnline())&&e.canRun(),d=()=>F0(e.networkMode)&&e.canRun(),h=v=>{s()||(a==null||a(),r.resolve(v))},p=v=>{s()||(a==null||a(),r.reject(v))},m=()=>new Promise(v=>{var b;a=g=>{(s()||u())&&v(g)},(b=e.onPause)==null||b.call(e)}).then(()=>{var v;a=void 0,s()||(v=e.onContinue)==null||v.call(e)}),x=()=>{if(s())return;let v;const b=n===0?e.initialPromise:void 0;try{v=b??e.fn()}catch(g){v=Promise.reject(g)}Promise.resolve(v).then(h).catch(g=>{var C;if(s())return;const f=e.retry??(L0.isServer()?0:3),y=e.retryDelay??vj,P=typeof y=="function"?y(n,g):y,S=f===!0||typeof f=="number"&&n<f||typeof f=="function"&&f(n,g);if(t||!S){p(g);return}n++,(C=e.onFail)==null||C.call(e,n,g),uj(P).then(()=>u()?void 0:m()).then(()=>{t?p(g):x()})})};return{promise:r,status:()=>r.status,cancel:i,continue:()=>(a==null||a(),r),cancelRetry:o,continueRetry:c,canStart:d,start:()=>(d()?x():m().then(x),r)}}var ma,Wg,_0=(Wg=class{constructor(){W(this,ma)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ij(this.gcTime)&&V(this,ma,_u.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(L0.isServer()?1/0:5*60*1e3))}clearGcTimeout(){T(this,ma)!==void 0&&(_u.clearTimeout(T(this,ma)),V(this,ma,void 0))}},ma=new WeakMap,Wg);function wj(e){return{onFetch:(t,n)=>{var d,h,p,m,x;const a=t.options,r=(p=(h=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:h.fetchMore)==null?void 0:p.direction,s=((m=t.state.data)==null?void 0:m.pages)||[],i=((x=t.state.data)==null?void 0:x.pageParams)||[];let o={pages:[],pageParams:[]},c=0;const u=async()=>{let v=!1;const b=y=>{fj(y,()=>t.signal,()=>v=!0)},g=D0(t.options,t.fetchOptions),f=async(y,P,S)=>{if(v)return Promise.reject(t.signal.reason);if(P==null&&y.pages.length)return Promise.resolve(y);const N=(()=>{const L={client:t.client,queryKey:t.queryKey,pageParam:P,direction:S?"backward":"forward",meta:t.options.meta};return b(L),L})(),k=await g(N),{maxPages:A}=t.options,E=S?pj:hj;return{pages:E(y.pages,k,A),pageParams:E(y.pageParams,P,A)}};if(r&&s.length){const y=r==="backward",P=y?bj:cm,S={pages:s,pageParams:i},C=P(a,S);o=await f(S,C,y)}else{const y=e??s.length;do{const P=c===0?i[0]??a.initialPageParam:cm(a,o);if(c>0&&P==null)break;o=await f(o,P),c++}while(c<y)}return o};t.options.persister?t.fetchFn=()=>{var v,b;return(b=(v=t.options).persister)==null?void 0:b.call(v,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function cm(e,{pages:t,pageParams:n}){const a=t.length-1;return t.length>0?e.getNextPageParam(t[a],t,n[a],n):void 0}function bj(e,{pages:t,pageParams:n}){var a;return t.length>0?(a=e.getPreviousPageParam)==null?void 0:a.call(e,t[0],t,n[0],n):void 0}var fr,ga,mr,ct,xa,be,Qs,ya,Xe,V0,en,Gg,Pj=(Gg=class extends _0{constructor(t){super();W(this,Xe);W(this,fr);W(this,ga);W(this,mr);W(this,ct);W(this,xa);W(this,be);W(this,Qs);W(this,ya);V(this,ya,!1),V(this,Qs,t.defaultOptions),this.setOptions(t.options),this.observers=[],V(this,xa,t.client),V(this,ct,T(this,xa).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,V(this,ga,dm(this.options)),this.state=t.state??T(this,ga),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return T(this,fr)}get promise(){var t;return(t=T(this,be))==null?void 0:t.promise}setOptions(t){if(this.options={...T(this,Qs),...t},t!=null&&t._type&&V(this,fr,t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=dm(this.options);n.data!==void 0&&(this.setState(um(n.data,n.dataUpdatedAt)),V(this,ga,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&T(this,ct).remove(this)}setData(t,n){const a=dj(this.state.data,t,this.options);return Ne(this,Xe,en).call(this,{data:a,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),a}setState(t){Ne(this,Xe,en).call(this,{type:"setState",state:t})}cancel(t){var a,r;const n=(a=T(this,be))==null?void 0:a.promise;return(r=T(this,be))==null||r.cancel(t),n?n.then(St).catch(St):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return T(this,ga)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>lj(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Fh||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Vu(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:!oj(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(a=>a.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=T(this,be))==null||n.continue()}onOnline(){var n;const t=this.observers.find(a=>a.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=T(this,be))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),T(this,ct).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(T(this,be)&&(T(this,ya)||Ne(this,Xe,V0).call(this)?T(this,be).cancel({revert:!0}):T(this,be).cancelRetry()),this.scheduleGc()),T(this,ct).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ne(this,Xe,en).call(this,{type:"invalidate"})}async fetch(t,n){var u,d,h,p,m,x,v,b,g,f,y;if(this.state.fetchStatus!=="idle"&&((u=T(this,be))==null?void 0:u.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(T(this,be))return T(this,be).continueRetry(),T(this,be).promise}if(t&&this.setOptions(t),!this.options.queryFn){const P=this.observers.find(S=>S.options.queryFn);P&&this.setOptions(P.options)}const a=new AbortController,r=P=>{Object.defineProperty(P,"signal",{enumerable:!0,get:()=>(V(this,ya,!0),a.signal)})},s=()=>{const P=D0(this.options,n),C=(()=>{const N={client:T(this,xa),queryKey:this.queryKey,meta:this.meta};return r(N),N})();return V(this,ya,!1),this.options.persister?this.options.persister(P,C,this):P(C)},o=(()=>{const P={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:T(this,xa),state:this.state,fetchFn:s};return r(P),P})(),c=T(this,fr)==="infinite"?wj(this.options.pages):this.options.behavior;c==null||c.onFetch(o,this),V(this,mr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=o.fetchOptions)==null?void 0:d.meta))&&Ne(this,Xe,en).call(this,{type:"fetch",meta:(h=o.fetchOptions)==null?void 0:h.meta}),V(this,be,z0({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,onCancel:P=>{P instanceof $u&&P.revert&&this.setState({...T(this,mr),fetchStatus:"idle"}),a.abort()},onFail:(P,S)=>{Ne(this,Xe,en).call(this,{type:"failed",failureCount:P,error:S})},onPause:()=>{Ne(this,Xe,en).call(this,{type:"pause"})},onContinue:()=>{Ne(this,Xe,en).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0}));try{const P=await T(this,be).start();if(P===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(P),(m=(p=T(this,ct).config).onSuccess)==null||m.call(p,P,this),(v=(x=T(this,ct).config).onSettled)==null||v.call(x,P,this.state.error,this),P}catch(P){if(P instanceof $u){if(P.silent)return T(this,be).promise;if(P.revert){if(this.state.data===void 0)throw P;return this.state.data}}throw Ne(this,Xe,en).call(this,{type:"error",error:P}),(g=(b=T(this,ct).config).onError)==null||g.call(b,P,this),(y=(f=T(this,ct).config).onSettled)==null||y.call(f,this.state.data,P,this),P}finally{this.scheduleGc()}}},fr=new WeakMap,ga=new WeakMap,mr=new WeakMap,ct=new WeakMap,xa=new WeakMap,be=new WeakMap,Qs=new WeakMap,ya=new WeakMap,Xe=new WeakSet,V0=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},en=function(t){const n=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,...Sj(a.data,this.options),fetchMeta:t.meta??null};case"success":const r={...a,...um(t.data,t.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return V(this,mr,t.manual?r:void 0),r;case"error":const s=t.error;return{...a,error:s,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...t.state}}};this.state=n(this.state),ze.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),T(this,ct).notify({query:this,type:"updated",action:t})})},Gg);function Sj(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:F0(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function um(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function dm(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,a=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Ys,zt,Oe,va,_t,bn,Kg,Cj=(Kg=class extends _0{constructor(t){super();W(this,_t);W(this,Ys);W(this,zt);W(this,Oe);W(this,va);V(this,Ys,t.client),this.mutationId=t.mutationId,V(this,Oe,t.mutationCache),V(this,zt,[]),this.state=t.state||kj(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){T(this,zt).includes(t)||(T(this,zt).push(t),this.clearGcTimeout(),T(this,Oe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){V(this,zt,T(this,zt).filter(n=>n!==t)),this.scheduleGc(),T(this,Oe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){T(this,zt).length||(this.state.status==="pending"?this.scheduleGc():T(this,Oe).remove(this))}continue(){var t;return((t=T(this,va))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,c,u,d,h,p,m,x,v,b,g,f,y,P,S,C,N;const n=()=>{Ne(this,_t,bn).call(this,{type:"continue"})},a={client:T(this,Ys),meta:this.options.meta,mutationKey:this.options.mutationKey};V(this,va,z0({fn:()=>this.options.mutationFn?this.options.mutationFn(t,a):Promise.reject(new Error("No mutationFn found")),onFail:(k,A)=>{Ne(this,_t,bn).call(this,{type:"failed",failureCount:k,error:A})},onPause:()=>{Ne(this,_t,bn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>T(this,Oe).canRun(this)}));const r=this.state.status==="pending",s=!T(this,va).canStart();try{if(r)n();else{Ne(this,_t,bn).call(this,{type:"pending",variables:t,isPaused:s}),T(this,Oe).config.onMutate&&await T(this,Oe).config.onMutate(t,this,a);const A=await((o=(i=this.options).onMutate)==null?void 0:o.call(i,t,a));A!==this.state.context&&Ne(this,_t,bn).call(this,{type:"pending",context:A,variables:t,isPaused:s})}const k=await T(this,va).start();return await((u=(c=T(this,Oe).config).onSuccess)==null?void 0:u.call(c,k,t,this.state.context,this,a)),await((h=(d=this.options).onSuccess)==null?void 0:h.call(d,k,t,this.state.context,a)),await((m=(p=T(this,Oe).config).onSettled)==null?void 0:m.call(p,k,null,this.state.variables,this.state.context,this,a)),await((v=(x=this.options).onSettled)==null?void 0:v.call(x,k,null,t,this.state.context,a)),Ne(this,_t,bn).call(this,{type:"success",data:k}),k}catch(k){try{await((g=(b=T(this,Oe).config).onError)==null?void 0:g.call(b,k,t,this.state.context,this,a))}catch(A){Promise.reject(A)}try{await((y=(f=this.options).onError)==null?void 0:y.call(f,k,t,this.state.context,a))}catch(A){Promise.reject(A)}try{await((S=(P=T(this,Oe).config).onSettled)==null?void 0:S.call(P,void 0,k,this.state.variables,this.state.context,this,a))}catch(A){Promise.reject(A)}try{await((N=(C=this.options).onSettled)==null?void 0:N.call(C,void 0,k,t,this.state.context,a))}catch(A){Promise.reject(A)}throw Ne(this,_t,bn).call(this,{type:"error",error:k}),k}finally{T(this,Oe).runNext(this)}}},Ys=new WeakMap,zt=new WeakMap,Oe=new WeakMap,va=new WeakMap,_t=new WeakSet,bn=function(t){const n=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};case"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=n(this.state),ze.batch(()=>{T(this,zt).forEach(a=>{a.onMutationUpdate(t)}),T(this,Oe).notify({mutation:this,type:"updated",action:t})})},Kg);function kj(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var rn,Ct,Xs,Qg,Nj=(Qg=class extends Tl{constructor(t={}){super();W(this,rn);W(this,Ct);W(this,Xs);this.config=t,V(this,rn,new Set),V(this,Ct,new Map),V(this,Xs,0)}build(t,n,a){const r=new Cj({client:t,mutationCache:this,mutationId:++pi(this,Xs)._,options:t.defaultMutationOptions(n),state:a});return this.add(r),r}add(t){T(this,rn).add(t);const n=Di(t);if(typeof n=="string"){const a=T(this,Ct).get(n);a?a.push(t):T(this,Ct).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(T(this,rn).delete(t)){const n=Di(t);if(typeof n=="string"){const a=T(this,Ct).get(n);if(a)if(a.length>1){const r=a.indexOf(t);r!==-1&&a.splice(r,1)}else a[0]===t&&T(this,Ct).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Di(t);if(typeof n=="string"){const a=T(this,Ct).get(n),r=a==null?void 0:a.find(s=>s.state.status==="pending");return!r||r===t}else return!0}runNext(t){var a;const n=Di(t);if(typeof n=="string"){const r=(a=T(this,Ct).get(n))==null?void 0:a.find(s=>s!==t&&s.state.isPaused);return(r==null?void 0:r.continue())??Promise.resolve()}else return Promise.resolve()}clear(){ze.batch(()=>{T(this,rn).forEach(t=>{this.notify({type:"removed",mutation:t})}),T(this,rn).clear(),T(this,Ct).clear()})}getAll(){return Array.from(T(this,rn))}find(t){const n={exact:!0,...t};return this.getAll().find(a=>im(n,a))}findAll(t={}){return this.getAll().filter(n=>im(t,n))}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return ze.batch(()=>Promise.all(t.map(n=>n.continue().catch(St))))}},rn=new WeakMap,Ct=new WeakMap,Xs=new WeakMap,Qg);function Di(e){var t;return(t=e.options.scope)==null?void 0:t.id}var Vt,Yg,jj=(Yg=class extends Tl{constructor(t={}){super();W(this,Vt);this.config=t,V(this,Vt,new Map)}build(t,n,a){const r=n.queryKey,s=n.queryHash??Lh(r,n);let i=this.get(s);return i||(i=new Pj({client:t,queryKey:r,queryHash:s,options:t.defaultQueryOptions(n),state:a,defaultOptions:t.getQueryDefaults(r)}),this.add(i)),i}add(t){T(this,Vt).has(t.queryHash)||(T(this,Vt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=T(this,Vt).get(t.queryHash);n&&(t.destroy(),n===t&&T(this,Vt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ze.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return T(this,Vt).get(t)}getAll(){return[...T(this,Vt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(a=>sm(n,a))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(a=>sm(t,a)):n}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){ze.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ze.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Vt=new WeakMap,Yg),ce,An,Rn,gr,xr,Mn,yr,vr,Xg,Tj=(Xg=class{constructor(e={}){W(this,ce);W(this,An);W(this,Rn);W(this,gr);W(this,xr);W(this,Mn);W(this,yr);W(this,vr);V(this,ce,e.queryCache||new jj),V(this,An,e.mutationCache||new Nj),V(this,Rn,e.defaultOptions||{}),V(this,gr,new Map),V(this,xr,new Map),V(this,Mn,0)}mount(){pi(this,Mn)._++,T(this,Mn)===1&&(V(this,yr,I0.subscribe(async e=>{e&&(await this.resumePausedMutations(),T(this,ce).onFocus())})),V(this,vr,Ho.subscribe(async e=>{e&&(await this.resumePausedMutations(),T(this,ce).onOnline())})))}unmount(){var e,t;pi(this,Mn)._--,T(this,Mn)===0&&((e=T(this,yr))==null||e.call(this),V(this,yr,void 0),(t=T(this,vr))==null||t.call(this),V(this,vr,void 0))}isFetching(e){return T(this,ce).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return T(this,An).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=T(this,ce).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=T(this,ce).build(this,t),a=n.state.data;return a===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Vu(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(a))}getQueriesData(e){return T(this,ce).findAll(e).map(({queryKey:t,state:n})=>{const a=n.data;return[t,a]})}setQueryData(e,t,n){const a=this.defaultQueryOptions({queryKey:e}),r=T(this,ce).get(a.queryHash),s=r==null?void 0:r.state.data,i=sj(t,s);if(i!==void 0)return T(this,ce).build(this,a).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return ze.batch(()=>T(this,ce).findAll(e).map(({queryKey:a})=>[a,this.setQueryData(a,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=T(this,ce).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=T(this,ce);ze.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=T(this,ce);return ze.batch(()=>(n.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},a=ze.batch(()=>T(this,ce).findAll(e).map(r=>r.cancel(n)));return Promise.all(a).then(St).catch(St)}invalidateQueries(e,t={}){return ze.batch(()=>(T(this,ce).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},a=ze.batch(()=>T(this,ce).findAll(e).filter(r=>!r.isDisabled()&&!r.isStatic()).map(r=>{let s=r.fetch(void 0,n);return n.throwOnError||(s=s.catch(St)),r.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(a).then(St)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=T(this,ce).build(this,t);return n.isStaleByTime(Vu(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(St).catch(St)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(St).catch(St)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return Ho.isOnline()?T(this,An).resumePausedMutations():Promise.resolve()}getQueryCache(){return T(this,ce)}getMutationCache(){return T(this,An)}getDefaultOptions(){return T(this,Rn)}setDefaultOptions(e){V(this,Rn,e)}setQueryDefaults(e,t){T(this,gr).set(Bs(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...T(this,gr).values()],n={};return t.forEach(a=>{$s(e,a.queryKey)&&Object.assign(n,a.defaultOptions)}),n}setMutationDefaults(e,t){T(this,xr).set(Bs(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...T(this,xr).values()],n={};return t.forEach(a=>{$s(e,a.mutationKey)&&Object.assign(n,a.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...T(this,Rn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Lh(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Fh&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...T(this,Rn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){T(this,ce).clear(),T(this,An).clear()}},ce=new WeakMap,An=new WeakMap,Rn=new WeakMap,gr=new WeakMap,xr=new WeakMap,Mn=new WeakMap,yr=new WeakMap,vr=new WeakMap,Xg),Ej=w.createContext(void 0),Aj=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(Ej.Provider,{value:e,children:t}));/**
 * @remix-run/router v1.23.3
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function Hs(){return Hs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Hs.apply(null,arguments)}var Dn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Dn||(Dn={}));const hm="popstate";function Rj(e){e===void 0&&(e={});function t(a,r){let{pathname:s,search:i,hash:o}=a.location;return Hu("",{pathname:s,search:i,hash:o},r.state&&r.state.usr||null,r.state&&r.state.key||"default")}function n(a,r){return typeof r=="string"?r:Uo(r)}return Ij(t,n,null,e)}function ge(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function zh(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Mj(){return Math.random().toString(36).substr(2,8)}function pm(e,t){return{usr:e.state,key:e.key,idx:t}}function Hu(e,t,n,a){return n===void 0&&(n=null),Hs({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?zr(t):t,{state:n,key:t&&t.key||a||Mj()})}function Uo(e){let{pathname:t="/",search:n="",hash:a=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),a&&a!=="#"&&(t+=a.charAt(0)==="#"?a:"#"+a),t}function zr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let a=e.indexOf("?");a>=0&&(t.search=e.substr(a),e=e.substr(0,a)),e&&(t.pathname=e)}return t}function Ij(e,t,n,a){a===void 0&&(a={});let{window:r=document.defaultView,v5Compat:s=!1}=a,i=r.history,o=Dn.Pop,c=null,u=d();u==null&&(u=0,i.replaceState(Hs({},i.state,{idx:u}),""));function d(){return(i.state||{idx:null}).idx}function h(){o=Dn.Pop;let b=d(),g=b==null?null:b-u;u=b,c&&c({action:o,location:v.location,delta:g})}function p(b,g){o=Dn.Push;let f=Hu(v.location,b,g);u=d()+1;let y=pm(f,u),P=v.createHref(f);try{i.pushState(y,"",P)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;r.location.assign(P)}s&&c&&c({action:o,location:v.location,delta:1})}function m(b,g){o=Dn.Replace;let f=Hu(v.location,b,g);u=d();let y=pm(f,u),P=v.createHref(f);i.replaceState(y,"",P),s&&c&&c({action:o,location:v.location,delta:0})}function x(b){let g=r.location.origin!=="null"?r.location.origin:r.location.href,f=typeof b=="string"?b:Uo(b);return f=f.replace(/ $/,"%20"),ge(g,"No window.location.(origin|href) available to create URL for href: "+f),new URL(f,g)}let v={get action(){return o},get location(){return e(r,i)},listen(b){if(c)throw new Error("A history only accepts one active listener");return r.addEventListener(hm,h),c=b,()=>{r.removeEventListener(hm,h),c=null}},createHref(b){return t(r,b)},createURL:x,encodeLocation(b){let g=x(b);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:p,replace:m,go(b){return i.go(b)}};return v}var fm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(fm||(fm={}));function Oj(e,t,n){return n===void 0&&(n="/"),Dj(e,t,n)}function Dj(e,t,n,a){let r=typeof t=="string"?zr(t):t,s=_h(r.pathname||"/",n);if(s==null)return null;let i=B0(e);Lj(i);let o=null,c=Kj(s);for(let u=0;o==null&&u<i.length;++u)o=qj(i[u],c);return o}function B0(e,t,n,a){t===void 0&&(t=[]),n===void 0&&(n=[]),a===void 0&&(a="");let r=(s,i,o)=>{let c={relativePath:o===void 0?s.path||"":o,caseSensitive:s.caseSensitive===!0,childrenIndex:i,route:s};c.relativePath.startsWith("/")&&(ge(c.relativePath.startsWith(a),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+a+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(a.length));let u=qn([a,c.relativePath]),d=n.concat(c);s.children&&s.children.length>0&&(ge(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),B0(s.children,t,d,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:Hj(u,s.index),routesMeta:d})};return e.forEach((s,i)=>{var o;if(s.path===""||!((o=s.path)!=null&&o.includes("?")))r(s,i);else for(let c of $0(s.path))r(s,i,c)}),t}function $0(e){let t=e.split("/");if(t.length===0)return[];let[n,...a]=t,r=n.endsWith("?"),s=n.replace(/\?$/,"");if(a.length===0)return r?[s,""]:[s];let i=$0(a.join("/")),o=[];return o.push(...i.map(c=>c===""?s:[s,c].join("/"))),r&&o.push(...i),o.map(c=>e.startsWith("/")&&c===""?"/":c)}function Lj(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Uj(t.routesMeta.map(a=>a.childrenIndex),n.routesMeta.map(a=>a.childrenIndex)))}const Fj=/^:[\w-]+$/,zj=3,_j=2,Vj=1,Bj=10,$j=-2,mm=e=>e==="*";function Hj(e,t){let n=e.split("/"),a=n.length;return n.some(mm)&&(a+=$j),t&&(a+=_j),n.filter(r=>!mm(r)).reduce((r,s)=>r+(Fj.test(s)?zj:s===""?Vj:Bj),a)}function Uj(e,t){return e.length===t.length&&e.slice(0,-1).every((a,r)=>a===t[r])?e[e.length-1]-t[t.length-1]:0}function qj(e,t,n){let{routesMeta:a}=e,r={},s="/",i=[];for(let o=0;o<a.length;++o){let c=a[o],u=o===a.length-1,d=s==="/"?t:t.slice(s.length)||"/",h=Wj({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),p=c.route;if(!h)return null;Object.assign(r,h.params),i.push({params:r,pathname:qn([s,h.pathname]),pathnameBase:Jj(qn([s,h.pathnameBase])),route:p}),h.pathnameBase!=="/"&&(s=qn([s,h.pathnameBase]))}return i}function Wj(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,a]=Gj(e.path,e.caseSensitive,e.end),r=t.match(n);if(!r)return null;let s=r[0],i=s.replace(/(.)\/+$/,"$1"),o=r.slice(1);return{params:a.reduce((u,d,h)=>{let{paramName:p,isOptional:m}=d;if(p==="*"){let v=o[h]||"";i=s.slice(0,s.length-v.length).replace(/(.)\/+$/,"$1")}const x=o[h];return m&&!x?u[p]=void 0:u[p]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:i,pattern:e}}function Gj(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),zh(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let a=[],r="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,o,c)=>(a.push({paramName:o,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(a.push({paramName:"*"}),r+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":e!==""&&e!=="/"&&(r+="(?:(?=\\/|$))"),[new RegExp(r,t?void 0:"i"),a]}function Kj(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return zh(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function _h(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,a=e.charAt(n);return a&&a!=="/"?null:e.slice(n)||"/"}const Qj=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Yj=e=>Qj.test(e);function Xj(e,t){t===void 0&&(t="/");let{pathname:n,search:a="",hash:r=""}=typeof e=="string"?zr(e):e,s;if(n)if(Yj(n))s=n;else{if(n.includes("//")){let i=n;n=q0(n),zh(!1,"Pathnames cannot have embedded double slashes - normalizing "+(i+" -> "+n))}n.startsWith("/")?s=gm(n.substring(1),"/"):s=gm(n,t)}else s=t;return{pathname:s,search:eT(a),hash:tT(r)}}function gm(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(r=>{r===".."?n.length>1&&n.pop():r!=="."&&n.push(r)}),n.length>1?n.join("/"):"/"}function fc(e,t,n,a){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(a)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Zj(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function H0(e,t){let n=Zj(e);return t?n.map((a,r)=>r===n.length-1?a.pathname:a.pathnameBase):n.map(a=>a.pathnameBase)}function U0(e,t,n,a){a===void 0&&(a=!1);let r;typeof e=="string"?r=zr(e):(r=Hs({},e),ge(!r.pathname||!r.pathname.includes("?"),fc("?","pathname","search",r)),ge(!r.pathname||!r.pathname.includes("#"),fc("#","pathname","hash",r)),ge(!r.search||!r.search.includes("#"),fc("#","search","hash",r)));let s=e===""||r.pathname==="",i=s?"/":r.pathname,o;if(i==null)o=n;else{let h=t.length-1;if(!a&&i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),h-=1;r.pathname=p.join("/")}o=h>=0?t[h]:"/"}let c=Xj(r,o),u=i&&i!=="/"&&i.endsWith("/"),d=(s||i===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const q0=e=>e.replace(/\/\/+/g,"/"),qn=e=>q0(e.join("/")),Jj=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),eT=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,tT=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function nT(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const W0=["post","put","patch","delete"];new Set(W0);const aT=["get",...W0];new Set(aT);/**
 * React Router v6.30.4
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function Us(){return Us=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Us.apply(null,arguments)}const Vh=w.createContext(null),rT=w.createContext(null),Oa=w.createContext(null),El=w.createContext(null),na=w.createContext({outlet:null,matches:[],isDataRoute:!1}),G0=w.createContext(null);function sT(e,t){let{relative:n}=t===void 0?{}:t;oi()||ge(!1);let{basename:a,navigator:r}=w.useContext(Oa),{hash:s,pathname:i,search:o}=Q0(e,{relative:n}),c=i;return a!=="/"&&(c=i==="/"?a:qn([a,i])),r.createHref({pathname:c,search:o,hash:s})}function oi(){return w.useContext(El)!=null}function Da(){return oi()||ge(!1),w.useContext(El).location}function K0(e){w.useContext(Oa).static||w.useLayoutEffect(e)}function iT(){let{isDataRoute:e}=w.useContext(na);return e?bT():oT()}function oT(){oi()||ge(!1);let e=w.useContext(Vh),{basename:t,future:n,navigator:a}=w.useContext(Oa),{matches:r}=w.useContext(na),{pathname:s}=Da(),i=JSON.stringify(H0(r,n.v7_relativeSplatPath)),o=w.useRef(!1);return K0(()=>{o.current=!0}),w.useCallback(function(u,d){if(d===void 0&&(d={}),!o.current)return;if(typeof u=="number"){a.go(u);return}let h=U0(u,JSON.parse(i),s,d.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:qn([t,h.pathname])),(d.replace?a.replace:a.push)(h,d.state,d)},[t,a,i,s,e])}const lT=w.createContext(null);function cT(e){let t=w.useContext(na).outlet;return t&&w.createElement(lT.Provider,{value:e},t)}function Q0(e,t){let{relative:n}=t===void 0?{}:t,{future:a}=w.useContext(Oa),{matches:r}=w.useContext(na),{pathname:s}=Da(),i=JSON.stringify(H0(r,a.v7_relativeSplatPath));return w.useMemo(()=>U0(e,JSON.parse(i),s,n==="path"),[e,i,s,n])}function uT(e,t){return dT(e,t)}function dT(e,t,n,a){oi()||ge(!1);let{navigator:r}=w.useContext(Oa),{matches:s}=w.useContext(na),i=s[s.length-1],o=i?i.params:{};i&&i.pathname;let c=i?i.pathnameBase:"/";i&&i.route;let u=Da(),d;if(t){var h;let b=typeof t=="string"?zr(t):t;c==="/"||(h=b.pathname)!=null&&h.startsWith(c)||ge(!1),d=b}else d=u;let p=d.pathname||"/",m=p;if(c!=="/"){let b=c.replace(/^\//,"").split("/");m="/"+p.replace(/^\//,"").split("/").slice(b.length).join("/")}let x=Oj(e,{pathname:m}),v=gT(x&&x.map(b=>Object.assign({},b,{params:Object.assign({},o,b.params),pathname:qn([c,r.encodeLocation?r.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?c:qn([c,r.encodeLocation?r.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),s,n,a);return t&&v?w.createElement(El.Provider,{value:{location:Us({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Dn.Pop}},v):v}function hT(){let e=wT(),t=nT(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:r},n):null,null)}const pT=w.createElement(hT,null);class fT extends w.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?w.createElement(na.Provider,{value:this.props.routeContext},w.createElement(G0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function mT(e){let{routeContext:t,match:n,children:a}=e,r=w.useContext(Vh);return r&&r.static&&r.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(na.Provider,{value:t},a)}function gT(e,t,n,a){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),a===void 0&&(a=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=a)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,o=(r=n)==null?void 0:r.errors;if(o!=null){let d=i.findIndex(h=>h.route.id&&(o==null?void 0:o[h.route.id])!==void 0);d>=0||ge(!1),i=i.slice(0,Math.min(i.length,d+1))}let c=!1,u=-1;if(n&&a&&a.v7_partialHydration)for(let d=0;d<i.length;d++){let h=i[d];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(u=d),h.route.id){let{loaderData:p,errors:m}=n,x=h.route.loader&&p[h.route.id]===void 0&&(!m||m[h.route.id]===void 0);if(h.route.lazy||x){c=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((d,h,p)=>{let m,x=!1,v=null,b=null;n&&(m=o&&h.route.id?o[h.route.id]:void 0,v=h.route.errorElement||pT,c&&(u<0&&p===0?(PT("route-fallback"),x=!0,b=null):u===p&&(x=!0,b=h.route.hydrateFallbackElement||null)));let g=t.concat(i.slice(0,p+1)),f=()=>{let y;return m?y=v:x?y=b:h.route.Component?y=w.createElement(h.route.Component,null):h.route.element?y=h.route.element:y=d,w.createElement(mT,{match:h,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:y})};return n&&(h.route.ErrorBoundary||h.route.errorElement||p===0)?w.createElement(fT,{location:n.location,revalidation:n.revalidation,component:v,error:m,children:f(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):f()},null)}var Y0=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Y0||{}),X0=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(X0||{});function xT(e){let t=w.useContext(Vh);return t||ge(!1),t}function yT(e){let t=w.useContext(rT);return t||ge(!1),t}function vT(e){let t=w.useContext(na);return t||ge(!1),t}function Z0(e){let t=vT(),n=t.matches[t.matches.length-1];return n.route.id||ge(!1),n.route.id}function wT(){var e;let t=w.useContext(G0),n=yT(),a=Z0();return t!==void 0?t:(e=n.errors)==null?void 0:e[a]}function bT(){let{router:e}=xT(Y0.UseNavigateStable),t=Z0(X0.UseNavigateStable),n=w.useRef(!1);return K0(()=>{n.current=!0}),w.useCallback(function(r,s){s===void 0&&(s={}),n.current&&(typeof r=="number"?e.navigate(r):e.navigate(r,Us({fromRouteId:t},s)))},[e,t])}const xm={};function PT(e,t,n){xm[e]||(xm[e]=!0)}function ST(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function CT(e){return cT(e.context)}function he(e){ge(!1)}function kT(e){let{basename:t="/",children:n=null,location:a,navigationType:r=Dn.Pop,navigator:s,static:i=!1,future:o}=e;oi()&&ge(!1);let c=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:c,navigator:s,static:i,future:Us({v7_relativeSplatPath:!1},o)}),[c,o,s,i]);typeof a=="string"&&(a=zr(a));let{pathname:d="/",search:h="",hash:p="",state:m=null,key:x="default"}=a,v=w.useMemo(()=>{let b=_h(d,c);return b==null?null:{location:{pathname:b,search:h,hash:p,state:m,key:x},navigationType:r}},[c,d,h,p,m,x,r]);return v==null?null:w.createElement(Oa.Provider,{value:u},w.createElement(El.Provider,{children:n,value:v}))}function NT(e){let{children:t,location:n}=e;return uT(Uu(t),n)}new Promise(()=>{});function Uu(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(a,r)=>{if(!w.isValidElement(a))return;let s=[...t,r];if(a.type===w.Fragment){n.push.apply(n,Uu(a.props.children,s));return}a.type!==he&&ge(!1),!a.props.index||!a.props.children||ge(!1);let i={id:a.props.id||s.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,loader:a.props.loader,action:a.props.action,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(i.children=Uu(a.props.children,s)),n.push(i)}),n}/**
 * React Router DOM v6.30.4
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function qu(){return qu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},qu.apply(null,arguments)}function jT(e,t){if(e==null)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(t.indexOf(a)!==-1)continue;n[a]=e[a]}return n}function TT(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ET(e,t){return e.button===0&&(!t||t==="_self")&&!TT(e)}const AT=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],RT="6";try{window.__reactRouterVersion=RT}catch{}const MT="startTransition",ym=Nd[MT];function IT(e){let{basename:t,children:n,future:a,window:r}=e,s=w.useRef();s.current==null&&(s.current=Rj({window:r,v5Compat:!0}));let i=s.current,[o,c]=w.useState({action:i.action,location:i.location}),{v7_startTransition:u}=a||{},d=w.useCallback(h=>{u&&ym?ym(()=>c(h)):c(h)},[c,u]);return w.useLayoutEffect(()=>i.listen(d),[i,d]),w.useEffect(()=>ST(a),[a]),w.createElement(kT,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:i,future:a})}const OT=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",DT=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,G=w.forwardRef(function(t,n){let{onClick:a,relative:r,reloadDocument:s,replace:i,state:o,target:c,to:u,preventScrollReset:d,viewTransition:h}=t,p=jT(t,AT),{basename:m}=w.useContext(Oa),x,v=!1;if(typeof u=="string"&&DT.test(u)&&(x=u,OT))try{let y=new URL(window.location.href),P=u.startsWith("//")?new URL(y.protocol+u):new URL(u),S=_h(P.pathname,m);P.origin===y.origin&&S!=null?u=S+P.search+P.hash:v=!0}catch{}let b=sT(u,{relative:r}),g=LT(u,{replace:i,state:o,target:c,preventScrollReset:d,relative:r,viewTransition:h});function f(y){a&&a(y),y.defaultPrevented||g(y)}return w.createElement("a",qu({},p,{href:x||b,onClick:v||s?a:f,ref:n,target:c}))});var vm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(vm||(vm={}));var wm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(wm||(wm={}));function LT(e,t){let{target:n,replace:a,state:r,preventScrollReset:s,relative:i,viewTransition:o}=t===void 0?{}:t,c=iT(),u=Da(),d=Q0(e,{relative:i});return w.useCallback(h=>{if(ET(h,n)){h.preventDefault();let p=a!==void 0?a:Uo(u)===Uo(d);c(e,{replace:p,state:r,preventScrollReset:s,relative:i,viewTransition:o})}},[u,c,d,a,r,n,e,s,i,o])}const FT=w.createContext(null),mc={didCatch:!1,error:null};class zT extends w.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=mc}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(...t){var a,r;const{error:n}=this.state;n!==null&&((r=(a=this.props).onReset)==null||r.call(a,{args:t,reason:"imperative-api"}),this.setState(mc))}componentDidCatch(t,n){var a,r;(r=(a=this.props).onError)==null||r.call(a,t,n)}componentDidUpdate(t,n){var s,i;const{didCatch:a}=this.state,{resetKeys:r}=this.props;a&&n.error!==null&&_T(t.resetKeys,r)&&((i=(s=this.props).onReset)==null||i.call(s,{next:r,prev:t.resetKeys,reason:"keys"}),this.setState(mc))}render(){const{children:t,fallbackRender:n,FallbackComponent:a,fallback:r}=this.props,{didCatch:s,error:i}=this.state;let o=t;if(s){const c={error:i,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")o=n(c);else if(a)o=w.createElement(a,c);else if(r!==void 0)o=r;else throw i}return w.createElement(FT.Provider,{value:{didCatch:s,error:i,resetErrorBoundary:this.resetErrorBoundary}},o)}}function _T(e=[],t=[]){return e.length!==t.length||e.some((n,a)=>!Object.is(n,t[a]))}var VT=typeof Element<"u",BT=typeof Map=="function",$T=typeof Set=="function",HT=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function ao(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,a,r;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(a=n;a--!==0;)if(!ao(e[a],t[a]))return!1;return!0}var s;if(BT&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(a=s.next()).done;)if(!t.has(a.value[0]))return!1;for(s=e.entries();!(a=s.next()).done;)if(!ao(a.value[1],t.get(a.value[0])))return!1;return!0}if($T&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(a=s.next()).done;)if(!t.has(a.value[0]))return!1;return!0}if(HT&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(a=n;a--!==0;)if(e[a]!==t[a])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(a=n;a--!==0;)if(!Object.prototype.hasOwnProperty.call(t,r[a]))return!1;if(VT&&e instanceof Element)return!1;for(a=n;a--!==0;)if(!((r[a]==="_owner"||r[a]==="__v"||r[a]==="__o")&&e.$$typeof)&&!ao(e[r[a]],t[r[a]]))return!1;return!0}return e!==e&&t!==t}var UT=function(t,n){try{return ao(t,n)}catch(a){if((a.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw a}};const qT=tl(UT);var WT=function(e,t,n,a,r,s,i,o){if(!e){var c;if(t===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,a,r,s,i,o],d=0;c=new Error(t.replace(/%s/g,function(){return u[d++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},GT=WT;const bm=tl(GT);var KT=function(t,n,a,r){var s=a?a.call(r,t,n):void 0;if(s!==void 0)return!!s;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var i=Object.keys(t),o=Object.keys(n);if(i.length!==o.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(n),u=0;u<i.length;u++){var d=i[u];if(!c(d))return!1;var h=t[d],p=n[d];if(s=a?a.call(r,h,p,d):void 0,s===!1||s===void 0&&h!==p)return!1}return!0};const QT=tl(KT);var J0=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(J0||{}),gc={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},Pm=Object.values(J0),Bh={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},YT=Object.entries(Bh).reduce((e,[t,n])=>(e[n]=t,e),{}),jt="data-rh",cr={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},ur=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const a=e[n];if(Object.prototype.hasOwnProperty.call(a,t))return a[t]}return null},XT=e=>{let t=ur(e,"title");const n=ur(e,cr.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const a=ur(e,cr.DEFAULT_TITLE);return t||a||void 0},ZT=e=>ur(e,cr.ON_CHANGE_CLIENT_STATE)||(()=>{}),xc=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,a)=>({...n,...a}),{}),JT=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,a)=>{if(!n.length){const r=Object.keys(a);for(let s=0;s<r.length;s+=1){const o=r[s].toLowerCase();if(e.indexOf(o)!==-1&&a[o])return n.concat(a)}}return n},[]),eE=e=>console&&typeof console.warn=="function"&&console.warn(e),es=(e,t,n)=>{const a={};return n.filter(r=>Array.isArray(r[e])?!0:(typeof r[e]<"u"&&eE(`Helmet: ${e} should be of type "Array". Instead found type "${typeof r[e]}"`),!1)).map(r=>r[e]).reverse().reduce((r,s)=>{const i={};s.filter(c=>{let u;const d=Object.keys(c);for(let p=0;p<d.length;p+=1){const m=d[p],x=m.toLowerCase();t.indexOf(x)!==-1&&!(u==="rel"&&c[u].toLowerCase()==="canonical")&&!(x==="rel"&&c[x].toLowerCase()==="stylesheet")&&(u=x),t.indexOf(m)!==-1&&(m==="innerHTML"||m==="cssText"||m==="itemprop")&&(u=m)}if(!u||!c[u])return!1;const h=c[u].toLowerCase();return a[u]||(a[u]={}),i[u]||(i[u]={}),a[u][h]?!1:(i[u][h]=!0,!0)}).reverse().forEach(c=>r.push(c));const o=Object.keys(i);for(let c=0;c<o.length;c+=1){const u=o[c],d={...a[u],...i[u]};a[u]=d}return r},[]).reverse()},tE=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},nE=e=>({baseTag:JT(["href"],e),bodyAttributes:xc("bodyAttributes",e),defer:ur(e,cr.DEFER),encode:ur(e,cr.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:xc("htmlAttributes",e),linkTags:es("link",["rel","href"],e),metaTags:es("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:es("noscript",["innerHTML"],e),onChangeClientState:ZT(e),scriptTags:es("script",["src","innerHTML"],e),styleTags:es("style",["cssText"],e),title:XT(e),titleAttributes:xc("titleAttributes",e),prioritizeSeoTags:tE(e,cr.PRIORITIZE_SEO_TAGS)}),ew=e=>Array.isArray(e)?e.join(""):e,aE=(e,t)=>{const n=Object.keys(e);for(let a=0;a<n.length;a+=1)if(t[n[a]]&&t[n[a]].includes(e[n[a]]))return!0;return!1},yc=(e,t)=>Array.isArray(e)?e.reduce((n,a)=>(aE(a,t)?n.priority.push(a):n.default.push(a),n),{priority:[],default:[]}):{default:e,priority:[]},Sm=(e,t)=>({...e,[t]:void 0}),rE=["noscript","script","style"],Wu=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),tw=e=>Object.keys(e).reduce((t,n)=>{const a=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${a}`:a},""),sE=(e,t,n,a)=>{const r=tw(n),s=ew(t);return r?`<${e} ${jt}="true" ${r}>${Wu(s,a)}</${e}>`:`<${e} ${jt}="true">${Wu(s,a)}</${e}>`},iE=(e,t,n=!0)=>t.reduce((a,r)=>{const s=r,i=Object.keys(s).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,d)=>{const h=typeof s[d]>"u"?d:`${d}="${Wu(s[d],n)}"`;return u?`${u} ${h}`:h},""),o=s.innerHTML||s.cssText||"",c=rE.indexOf(e)===-1;return`${a}<${e} ${jt}="true" ${i}${c?"/>":`>${o}</${e}>`}`},""),nw=(e,t={})=>Object.keys(e).reduce((n,a)=>{const r=Bh[a];return n[r||a]=e[a],n},t),oE=(e,t,n)=>{const a={key:t,[jt]:!0},r=nw(n,a);return[Ht.createElement("title",r,t)]},ro=(e,t)=>t.map((n,a)=>{const r={key:a,[jt]:!0};return Object.keys(n).forEach(s=>{const o=Bh[s]||s;if(o==="innerHTML"||o==="cssText"){const c=n.innerHTML||n.cssText;r.dangerouslySetInnerHTML={__html:c}}else r[o]=n[s]}),Ht.createElement(e,r)}),lt=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>oE(e,t.title,t.titleAttributes),toString:()=>sE(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>nw(t),toString:()=>tw(t)};default:return{toComponent:()=>ro(e,t),toString:()=>iE(e,t,n)}}},lE=({metaTags:e,linkTags:t,scriptTags:n,encode:a})=>{const r=yc(e,gc.meta),s=yc(t,gc.link),i=yc(n,gc.script);return{priorityMethods:{toComponent:()=>[...ro("meta",r.priority),...ro("link",s.priority),...ro("script",i.priority)],toString:()=>`${lt("meta",r.priority,a)} ${lt("link",s.priority,a)} ${lt("script",i.priority,a)}`},metaTags:r.default,linkTags:s.default,scriptTags:i.default}},cE=e=>{const{baseTag:t,bodyAttributes:n,encode:a=!0,htmlAttributes:r,noscriptTags:s,styleTags:i,title:o="",titleAttributes:c,prioritizeSeoTags:u}=e;let{linkTags:d,metaTags:h,scriptTags:p}=e,m={toComponent:()=>{},toString:()=>""};return u&&({priorityMethods:m,linkTags:d,metaTags:h,scriptTags:p}=lE(e)),{priority:m,base:lt("base",t,a),bodyAttributes:lt("bodyAttributes",n,a),htmlAttributes:lt("htmlAttributes",r,a),link:lt("link",d,a),meta:lt("meta",h,a),noscript:lt("noscript",s,a),script:lt("script",p,a),style:lt("style",i,a),title:lt("title",{title:o,titleAttributes:c},a)}},Gu=cE,Li=[],aw=!!(typeof window<"u"&&window.document&&window.document.createElement),Ku=class{constructor(e,t){Zt(this,"instances",[]);Zt(this,"canUseDOM",aw);Zt(this,"context");Zt(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Li:this.instances,add:e=>{(this.canUseDOM?Li:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Li:this.instances).indexOf(e);(this.canUseDOM?Li:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Gu({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},uE={},rw=Ht.createContext(uE),wa,sw=(wa=class extends w.Component{constructor(n){super(n);Zt(this,"helmetData");this.helmetData=new Ku(this.props.context||{},wa.canUseDOM)}render(){return Ht.createElement(rw.Provider,{value:this.helmetData.value},this.props.children)}},Zt(wa,"canUseDOM",aw),wa),za=(e,t)=>{const n=document.head||document.querySelector("head"),a=n.querySelectorAll(`${e}[${jt}]`),r=[].slice.call(a),s=[];let i;return t&&t.length&&t.forEach(o=>{const c=document.createElement(e);for(const u in o)if(Object.prototype.hasOwnProperty.call(o,u))if(u==="innerHTML")c.innerHTML=o.innerHTML;else if(u==="cssText")c.styleSheet?c.styleSheet.cssText=o.cssText:c.appendChild(document.createTextNode(o.cssText));else{const d=u,h=typeof o[d]>"u"?"":o[d];c.setAttribute(u,h)}c.setAttribute(jt,"true"),r.some((u,d)=>(i=d,c.isEqualNode(u)))?r.splice(i,1):s.push(c)}),r.forEach(o=>{var c;return(c=o.parentNode)==null?void 0:c.removeChild(o)}),s.forEach(o=>n.appendChild(o)),{oldTags:r,newTags:s}},Qu=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const a=n.getAttribute(jt),r=a?a.split(","):[],s=[...r],i=Object.keys(t);for(const o of i){const c=t[o]||"";n.getAttribute(o)!==c&&n.setAttribute(o,c),r.indexOf(o)===-1&&r.push(o);const u=s.indexOf(o);u!==-1&&s.splice(u,1)}for(let o=s.length-1;o>=0;o-=1)n.removeAttribute(s[o]);r.length===s.length?n.removeAttribute(jt):n.getAttribute(jt)!==i.join(",")&&n.setAttribute(jt,i.join(","))},dE=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=ew(e)),Qu("title",t)},Cm=(e,t)=>{const{baseTag:n,bodyAttributes:a,htmlAttributes:r,linkTags:s,metaTags:i,noscriptTags:o,onChangeClientState:c,scriptTags:u,styleTags:d,title:h,titleAttributes:p}=e;Qu("body",a),Qu("html",r),dE(h,p);const m={baseTag:za("base",n),linkTags:za("link",s),metaTags:za("meta",i),noscriptTags:za("noscript",o),scriptTags:za("script",u),styleTags:za("style",d)},x={},v={};Object.keys(m).forEach(b=>{const{newTags:g,oldTags:f}=m[b];g.length&&(x[b]=g),f.length&&(v[b]=m[b].oldTags)}),t&&t(),c(e,x,v)},ts=null,hE=e=>{ts&&cancelAnimationFrame(ts),e.defer?ts=requestAnimationFrame(()=>{Cm(e,()=>{ts=null})}):(Cm(e),ts=null)},pE=hE,km=class extends w.Component{constructor(){super(...arguments);Zt(this,"rendered",!1)}shouldComponentUpdate(t){return!QT(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let a=null;const r=nE(t.get().map(s=>{const i={...s.props};return delete i.context,i}));sw.canUseDOM?pE(r):Gu&&(a=Gu(r)),n(a)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Dc,fE=(Dc=class extends w.Component{shouldComponentUpdate(e){return!qT(Sm(this.props,"helmetData"),Sm(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,a){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,a)}]}}mapObjectTypeChildren(e,t,n,a){switch(e.type){case"title":return{...t,[e.type]:a,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(a=>{n={...n,[a]:e[a]}}),n}warnOnInvalidChildren(e,t){return bm(Pm.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${Pm.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),bm(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return Ht.Children.forEach(e,a=>{if(!a||!a.props)return;const{children:r,...s}=a.props,i=Object.keys(s).reduce((c,u)=>(c[YT[u]||u]=s[u],c),{});let{type:o}=a;switch(typeof o=="symbol"?o=o.toString():this.warnOnInvalidChildren(a,r),o){case"Symbol(react.fragment)":t=this.mapChildrenToProps(r,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(a,n,i,r);break;default:t=this.mapObjectTypeChildren(a,t,i,r);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:a}=t;if(e&&(n=this.mapChildrenToProps(e,n)),a&&!(a instanceof Ku)){const r=a;a=new Ku(r.context,!0),delete n.helmetData}return a?Ht.createElement(km,{...n,context:a.value}):Ht.createElement(rw.Consumer,null,r=>Ht.createElement(km,{...n,context:r}))}},Zt(Dc,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Dc);const mE=Ph("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",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),so=w.forwardRef(({className:e,variant:t,size:n,asChild:a=!1,...r},s)=>{const i=a?BS:"button";return l.jsx(i,{className:Ce(mE({variant:t,size:n,className:e})),ref:s,...r})});so.displayName="Button";const iw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ce("rounded-xl border bg-card text-card-foreground shadow",e),...t}));iw.displayName="Card";const ow=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ce("flex flex-col space-y-1.5 p-6",e),...t}));ow.displayName="CardHeader";const lw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ce("font-semibold leading-none tracking-tight",e),...t}));lw.displayName="CardTitle";const cw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ce("text-sm text-muted-foreground",e),...t}));cw.displayName="CardDescription";const uw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ce("p-6 pt-0",e),...t}));uw.displayName="CardContent";const dw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ce("flex items-center p-6 pt-0",e),...t}));dw.displayName="CardFooter";const gE=Ph("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),hw=w.forwardRef(({className:e,variant:t,...n},a)=>l.jsx("div",{ref:a,role:"alert",className:Ce(gE({variant:t}),e),...n}));hw.displayName="Alert";const xE=w.forwardRef(({className:e,...t},n)=>l.jsx("h5",{ref:n,className:Ce("mb-1 font-medium leading-none tracking-tight",e),...t}));xE.displayName="AlertTitle";const pw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ce("text-sm [&_p]:leading-relaxed",e),...t}));pw.displayName="AlertDescription";var yE="Separator",Nm="horizontal",vE=["horizontal","vertical"],fw=w.forwardRef((e,t)=>{const{decorative:n,orientation:a=Nm,...r}=e,s=wE(a)?a:Nm,o=n?{role:"none"}:{"aria-orientation":s==="vertical"?s:void 0,role:"separator"};return l.jsx(Ue.div,{"data-orientation":s,...o,...r,ref:t})});fw.displayName=yE;function wE(e){return vE.includes(e)}var mw=fw;const gw=w.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...a},r)=>l.jsx(mw,{ref:r,decorative:n,orientation:t,className:Ce("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...a}));gw.displayName=mw.displayName;const bE=({error:e,resetErrorBoundary:t})=>{Ht.useEffect(()=>{e&&window.dispatchEvent(new ErrorEvent("error",{error:e,message:e.message,filename:window.location.href,lineno:0,colno:0}))},[e]);const n=()=>{window.location.reload()},a=()=>{window.location.href="/"};return l.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center p-4","data-id":"sxdcp4o3c","data-path":"src/components/error-fallback.tsx",children:l.jsxs(iw,{className:"w-full max-w-md","data-id":"2vhhllsvr","data-path":"src/components/error-fallback.tsx",children:[l.jsxs(ow,{className:"text-center","data-id":"v85i7n89b","data-path":"src/components/error-fallback.tsx",children:[l.jsx("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-destructive/15 ring-2 ring-destructive/20","data-id":"w1e4dmwj0","data-path":"src/components/error-fallback.tsx",children:l.jsx(Uf,{className:"h-8 w-8 text-destructive drop-shadow-sm","data-id":"ybknmpp99","data-path":"src/components/error-fallback.tsx"})}),l.jsx(lw,{className:"text-xl font-semibold","data-id":"lk71aqmfo","data-path":"src/components/error-fallback.tsx",children:"Something went wrong"}),l.jsx(cw,{"data-id":"eeul0xl9r","data-path":"src/components/error-fallback.tsx",children:"Sorry, the application encountered an unexpected error"})]}),l.jsxs(uw,{className:"space-y-4","data-id":"pqoz13z7s","data-path":"src/components/error-fallback.tsx",children:[e&&l.jsxs(hw,{variant:"destructive","data-id":"xrh3pxuhj","data-path":"src/components/error-fallback.tsx",children:[l.jsx(Uf,{className:"h-5 w-5","data-id":"9488acg14","data-path":"src/components/error-fallback.tsx"}),l.jsx(pw,{className:"text-sm","data-id":"h4zae4jkb","data-path":"src/components/error-fallback.tsx",children:l.jsxs("details",{className:"mt-2","data-id":"354rlt5kh","data-path":"src/components/error-fallback.tsx",children:[l.jsx("summary",{className:"cursor-pointer font-medium","data-id":"t0nvqnspb","data-path":"src/components/error-fallback.tsx",children:"Error Details"}),l.jsx("div",{id:"capture-error-detail",className:"mt-2 text-xs font-mono bg-muted/80 dark:bg-muted/20 p-3 rounded border dark:border-border/50 overflow-auto max-h-32 text-foreground dark:text-muted-foreground","data-id":"r1exhj188","data-path":"src/components/error-fallback.tsx",children:e.message})]})})]}),l.jsx("div",{className:"text-sm text-muted-foreground text-center","data-id":"hwanvhhi6","data-path":"src/components/error-fallback.tsx",children:"You can try refreshing the page or returning to the homepage to resolve this issue"})]}),l.jsx(gw,{"data-id":"0l98f11cg","data-path":"src/components/error-fallback.tsx"}),l.jsxs(dw,{className:"flex flex-col gap-2 pt-6","data-id":"oa2w8ixja","data-path":"src/components/error-fallback.tsx",children:[l.jsxs("div",{className:"flex w-full gap-2","data-id":"9g7kvnvsn","data-path":"src/components/error-fallback.tsx",children:[t&&l.jsxs(so,{onClick:t,className:"flex-1",variant:"default","data-id":"aijw9qf9g","data-path":"src/components/error-fallback.tsx",children:[l.jsx(Hf,{className:"mr-2 h-4 w-4 opacity-90","data-id":"m5bzstklp","data-path":"src/components/error-fallback.tsx"}),"Retry"]}),l.jsxs(so,{onClick:n,variant:"outline",className:"flex-1","data-id":"pp7w3fkma","data-path":"src/components/error-fallback.tsx",children:[l.jsx(Hf,{className:"mr-2 h-4 w-4 opacity-90","data-id":"g5r2u06uq","data-path":"src/components/error-fallback.tsx"}),"Refresh Page"]})]}),l.jsxs(so,{onClick:a,variant:"ghost",className:"w-full","data-id":"wrinrqjk5","data-path":"src/components/error-fallback.tsx",children:[l.jsx(uk,{className:"mr-2 h-4 w-4 opacity-80","data-id":"3ajdzcbkx","data-path":"src/components/error-fallback.tsx"}),"Go Home"]})]})]})})},PE=()=>{const e=Da(),t=window.location.origin+e.pathname;return l.jsxs(l.Fragment,{children:[l.jsx(fE,{"data-id":"tg1fze14p","data-path":"src/components/canonical-manager.tsx",children:l.jsx("link",{rel:"canonical",href:t,"data-id":"s03ckqihf","data-path":"src/components/canonical-manager.tsx"})}),l.jsx(CT,{"data-id":"fxb1p6wm6","data-path":"src/components/canonical-manager.tsx"})]})},jm=[{label:"Home",path:"/"},{label:"About Us",children:[{label:"Our Story",path:"/about/our-story"},{label:"Mission & Values",path:"/about/mission-values"},{label:"Team",path:"/about/team"}]},{label:"Programs",children:[{label:"Atomic Frontiers Research Initiative",path:"/programs/atomic-frontiers"},{label:"Molecular Computation Innovation Lab",path:"/programs/molecular-computation"},{label:"Global Nanoscience Exchange Network",path:"/programs/global-nanoscience"}]},{label:"Impact",path:"/impact"},{label:"Research Network",path:"/research-network"},{label:"Conferences & Awards",path:"/conferences-awards"},{label:"Blog",path:"/blog"},{label:"Contact",path:"/contact"}];function SE(){const[e,t]=w.useState(!1),[n,a]=w.useState(!1),[r,s]=w.useState(null),[i,o]=w.useState(null),c=Da();return w.useEffect(()=>{const u=()=>t(window.scrollY>20);return window.addEventListener("scroll",u),()=>window.removeEventListener("scroll",u)},[]),w.useEffect(()=>{a(!1),s(null)},[c]),l.jsxs("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${e?"bg-[#060d1a]/95 backdrop-blur-md shadow-lg shadow-black/30 border-b border-cyan-500/10":"bg-[#060d1a]/80 backdrop-blur-sm"}`,"data-id":"m8mqjvx7y","data-path":"src/components/Header.tsx",children:[l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"42nsyhsjp","data-path":"src/components/Header.tsx",children:l.jsxs("div",{className:"flex items-center justify-between h-16 lg:h-20","data-id":"xiq9e8ky9","data-path":"src/components/Header.tsx",children:[l.jsxs(G,{to:"/",className:"flex items-center gap-3 group flex-shrink-0","data-id":"13livfl7r","data-path":"src/components/Header.tsx",children:[l.jsxs("div",{className:"relative","data-id":"hor9a5az9","data-path":"src/components/Header.tsx",children:[l.jsx("div",{className:"w-10 h-10 rounded-full border-2 border-cyan-400 flex items-center justify-center group-hover:border-amber-400 transition-colors duration-300","data-id":"c5ln36yv1","data-path":"src/components/Header.tsx",children:l.jsx(Sh,{className:"w-5 h-5 text-cyan-400 group-hover:text-amber-400 transition-colors duration-300","data-id":"8ve12rz0u","data-path":"src/components/Header.tsx"})}),l.jsx("div",{className:"absolute inset-0 rounded-full border border-cyan-400/30 animate-spin-slow","data-id":"t59n9vud2","data-path":"src/components/Header.tsx"})]}),l.jsxs("div",{className:"hidden sm:block","data-id":"7epytt3s4","data-path":"src/components/Header.tsx",children:[l.jsx("div",{className:"text-[9px] font-mono-space text-cyan-400 tracking-widest uppercase leading-tight","data-id":"mhxrdxvpq","data-path":"src/components/Header.tsx",children:"INTERNATIONAL SOCIETY FOR"}),l.jsx("div",{className:"text-[9px] font-mono-space text-cyan-400 tracking-widest uppercase leading-tight","data-id":"2w8mpx5gi","data-path":"src/components/Header.tsx",children:"NANOSCALE SCIENCE COMPUTING"}),l.jsx("div",{className:"text-[9px] font-mono-space text-cyan-400 tracking-widest uppercase leading-tight hidden lg:block","data-id":"pq91kqacj","data-path":"src/components/Header.tsx",children:"& ENGINEERING"})]})]}),l.jsxs("nav",{className:"hidden lg:flex items-center gap-1","data-id":"6svlgiqar","data-path":"src/components/Header.tsx",children:[jm.map(u=>u.children?l.jsxs("div",{className:"relative",onMouseEnter:()=>s(u.label),onMouseLeave:()=>s(null),"data-id":"zxihuz6qr","data-path":"src/components/Header.tsx",children:[l.jsxs("button",{className:"flex items-center gap-1 px-3 py-2 text-sm text-slate-300 hover:text-cyan-400 transition-colors duration-200 font-medium","data-id":"p6fk96wzu","data-path":"src/components/Header.tsx",children:[u.label,l.jsx($f,{className:`w-3.5 h-3.5 transition-transform duration-200 ${r===u.label?"rotate-180":""}`,"data-id":"fsp24ka7e","data-path":"src/components/Header.tsx"})]}),r===u.label&&l.jsx("div",{className:"absolute top-full left-0 pt-2 min-w-56","data-id":"g7tuxr3xp","data-path":"src/components/Header.tsx",children:l.jsx("div",{className:"bg-[#0d1b2e]/95 backdrop-blur-md border border-cyan-500/20 rounded-lg shadow-2xl shadow-black/50 overflow-hidden","data-id":"taeqmibrc","data-path":"src/components/Header.tsx",children:u.children.map(d=>l.jsx(G,{to:d.path,className:"block px-4 py-2.5 text-sm text-slate-300 hover:text-cyan-400 hover:bg-cyan-500/10 transition-all duration-150 border-b border-white/5 last:border-0","data-id":"xb0iampcq","data-path":"src/components/Header.tsx",children:d.label},d.path))})})]},u.label):l.jsx(G,{to:u.path,className:`px-3 py-2 text-sm font-medium transition-colors duration-200 ${c.pathname===u.path?"text-cyan-400":"text-slate-300 hover:text-cyan-400"}`,"data-id":"q5ptfu1t4","data-path":"src/components/Header.tsx",children:u.label},u.path)),l.jsx(G,{to:"/donate",className:"ml-2 px-5 py-2 rounded-full btn-nano text-sm","data-id":"sk6afocrg","data-path":"src/components/Header.tsx",children:"Donate"})]}),l.jsx("button",{className:"lg:hidden text-slate-300 hover:text-cyan-400 transition-colors p-2",onClick:()=>a(!n),"aria-label":"Toggle menu","data-id":"mdrw7k9t7","data-path":"src/components/Header.tsx",children:n?l.jsx(Wv,{className:"w-6 h-6","data-id":"73yi0sbn7","data-path":"src/components/Header.tsx"}):l.jsx(gk,{className:"w-6 h-6","data-id":"e7pkxskas","data-path":"src/components/Header.tsx"})})]})}),n&&l.jsx("div",{className:"lg:hidden bg-[#060d1a]/98 backdrop-blur-md border-t border-cyan-500/10 max-h-[80vh] overflow-y-auto","data-id":"6tt5dyaht","data-path":"src/components/Header.tsx",children:l.jsxs("div",{className:"px-4 py-3 space-y-1","data-id":"36ij1i39c","data-path":"src/components/Header.tsx",children:[jm.map(u=>u.children?l.jsxs("div",{"data-id":"vffu1w7l8","data-path":"src/components/Header.tsx",children:[l.jsxs("button",{className:"flex items-center justify-between w-full px-3 py-2.5 text-slate-300 hover:text-cyan-400 transition-colors text-sm font-medium",onClick:()=>o(i===u.label?null:u.label),"data-id":"8be7tnjp4","data-path":"src/components/Header.tsx",children:[u.label,l.jsx($f,{className:`w-4 h-4 transition-transform ${i===u.label?"rotate-180":""}`,"data-id":"6uyby12tx","data-path":"src/components/Header.tsx"})]}),i===u.label&&l.jsx("div",{className:"pl-4 border-l border-cyan-500/20 ml-3 mt-1 space-y-1","data-id":"qtsgv5h0a","data-path":"src/components/Header.tsx",children:u.children.map(d=>l.jsx(G,{to:d.path,className:"block px-3 py-2 text-sm text-slate-400 hover:text-cyan-400 transition-colors","data-id":"fnekbjbpm","data-path":"src/components/Header.tsx",children:d.label},d.path))})]},u.label):l.jsx(G,{to:u.path,className:"block px-3 py-2.5 text-sm text-slate-300 hover:text-cyan-400 transition-colors font-medium","data-id":"s6fk1lopq","data-path":"src/components/Header.tsx",children:u.label},u.path)),l.jsx("div",{className:"pt-2 pb-1","data-id":"6duavgzqi","data-path":"src/components/Header.tsx",children:l.jsx(G,{to:"/donate",className:"block w-full text-center px-5 py-2.5 rounded-full btn-nano text-sm","data-id":"la7uai10c","data-path":"src/components/Header.tsx",children:"Donate Now"})})]})})]})}function CE(){const e=new Date().getFullYear();return l.jsx("footer",{className:"bg-[#060d1a] border-t border-cyan-500/10","data-id":"u1wu9rzft","data-path":"src/components/Footer.tsx",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pt-16 pb-8","data-id":"n1ygiy2c1","data-path":"src/components/Footer.tsx",children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-10 mb-12","data-id":"e9r4dsa6y","data-path":"src/components/Footer.tsx",children:[l.jsxs("div",{className:"lg:col-span-1","data-id":"aumihwicl","data-path":"src/components/Footer.tsx",children:[l.jsxs(G,{to:"/",className:"flex items-center gap-3 mb-4","data-id":"ueusroly8","data-path":"src/components/Footer.tsx",children:[l.jsx("div",{className:"w-10 h-10 rounded-full border-2 border-cyan-400 flex items-center justify-center","data-id":"e2z28vria","data-path":"src/components/Footer.tsx",children:l.jsx(Sh,{className:"w-5 h-5 text-cyan-400","data-id":"uqp0kfus3","data-path":"src/components/Footer.tsx"})}),l.jsxs("div",{"data-id":"6mkiu6mjz","data-path":"src/components/Footer.tsx",children:[l.jsx("div",{className:"font-mono-space text-[9px] text-cyan-400 tracking-widest uppercase leading-tight","data-id":"ka5gd21m6","data-path":"src/components/Footer.tsx",children:"INTERNATIONAL SOCIETY FOR"}),l.jsx("div",{className:"font-mono-space text-[9px] text-cyan-400 tracking-widest uppercase leading-tight","data-id":"nk9l5jw9q","data-path":"src/components/Footer.tsx",children:"NANOSCALE SCIENCE COMPUTING"}),l.jsx("div",{className:"font-mono-space text-[9px] text-cyan-400 tracking-widest uppercase leading-tight","data-id":"lpi12svd4","data-path":"src/components/Footer.tsx",children:"& ENGINEERING"})]})]}),l.jsx("p",{className:"text-slate-400 text-sm leading-relaxed mb-5","data-id":"ur41of7rg","data-path":"src/components/Footer.tsx",children:"Advancing nanoscale science, computation, and engineering worldwide through research, innovation, collaboration, and recognition of scientific excellence."}),l.jsx("div",{className:"flex gap-3","data-id":"7r00x0dz9","data-path":"src/components/Footer.tsx",children:[rk,Ak,hk,Ok].map((t,n)=>l.jsx("button",{className:"w-8 h-8 rounded-full border border-cyan-500/30 flex items-center justify-center text-slate-400 hover:text-cyan-400 hover:border-cyan-400 transition-all duration-200","data-id":"t7v6rpmrs","data-path":"src/components/Footer.tsx",children:l.jsx(t,{className:"w-4 h-4","data-id":"7mrseipk9","data-path":"src/components/Footer.tsx"})},n))})]}),l.jsxs("div",{"data-id":"nuezu1cs4","data-path":"src/components/Footer.tsx",children:[l.jsx("h4",{className:"font-exo font-bold text-white text-sm uppercase tracking-widest mb-5","data-id":"4qzuappcv","data-path":"src/components/Footer.tsx",children:"Quick Links"}),l.jsx("ul",{className:"space-y-2.5","data-id":"qcdwx8nw7","data-path":"src/components/Footer.tsx",children:[{label:"Home",path:"/"},{label:"About Us",path:"/about/our-story"},{label:"Programs",path:"/programs/atomic-frontiers"},{label:"Impact",path:"/impact"},{label:"Research Network",path:"/research-network"},{label:"Conferences & Awards",path:"/conferences-awards"},{label:"Donate",path:"/donate"},{label:"Blog",path:"/blog"},{label:"Contact",path:"/contact"}].map(t=>l.jsx("li",{"data-id":"n6ry9jqg0","data-path":"src/components/Footer.tsx",children:l.jsx(G,{to:t.path,className:"text-slate-400 hover:text-cyan-400 transition-colors text-sm","data-id":"1mp7f3m46","data-path":"src/components/Footer.tsx",children:t.label})},t.path))})]}),l.jsxs("div",{"data-id":"8n2v102vy","data-path":"src/components/Footer.tsx",children:[l.jsx("h4",{className:"font-exo font-bold text-white text-sm uppercase tracking-widest mb-5","data-id":"gcwyhip8k","data-path":"src/components/Footer.tsx",children:"Our Programs"}),l.jsx("ul",{className:"space-y-2.5","data-id":"o6uu4upx0","data-path":"src/components/Footer.tsx",children:[{label:"Atomic Frontiers Research",path:"/programs/atomic-frontiers"},{label:"Molecular Computation Lab",path:"/programs/molecular-computation"},{label:"Global Nanoscience Exchange",path:"/programs/global-nanoscience"}].map(t=>l.jsx("li",{"data-id":"v5e0dcr2x","data-path":"src/components/Footer.tsx",children:l.jsx(G,{to:t.path,className:"text-slate-400 hover:text-cyan-400 transition-colors text-sm","data-id":"cwlhy4hna","data-path":"src/components/Footer.tsx",children:t.label})},t.path))}),l.jsx("h4",{className:"font-exo font-bold text-white text-sm uppercase tracking-widest mt-7 mb-5","data-id":"55g705xib","data-path":"src/components/Footer.tsx",children:"Legal"}),l.jsx("ul",{className:"space-y-2.5","data-id":"6xls463u2","data-path":"src/components/Footer.tsx",children:[{label:"Privacy Policy",path:"/privacy-policy"},{label:"Terms & Conditions",path:"/terms-conditions"}].map(t=>l.jsx("li",{"data-id":"rp7bsy3we","data-path":"src/components/Footer.tsx",children:l.jsx(G,{to:t.path,className:"text-slate-400 hover:text-cyan-400 transition-colors text-sm","data-id":"7nixaokd2","data-path":"src/components/Footer.tsx",children:t.label})},t.path))})]}),l.jsxs("div",{"data-id":"d9d8ilyr4","data-path":"src/components/Footer.tsx",children:[l.jsx("h4",{className:"font-exo font-bold text-white text-sm uppercase tracking-widest mb-5","data-id":"t64dbmjjw","data-path":"src/components/Footer.tsx",children:"Contact Us"}),l.jsxs("ul",{className:"space-y-4","data-id":"4tjblqer2","data-path":"src/components/Footer.tsx",children:[l.jsxs("li",{className:"flex items-start gap-3","data-id":"67t6wggjc","data-path":"src/components/Footer.tsx",children:[l.jsx(Bv,{className:"w-4 h-4 text-cyan-400 mt-0.5 flex-shrink-0","data-id":"407wf98bo","data-path":"src/components/Footer.tsx"}),l.jsx("a",{href:"mailto:ask@brightlareon.com",className:"text-slate-400 hover:text-cyan-400 transition-colors text-sm","data-id":"4iqfaacl3","data-path":"src/components/Footer.tsx",children:"ask@brightlareon.com"})]}),l.jsxs("li",{className:"flex items-start gap-3","data-id":"vsm234670","data-path":"src/components/Footer.tsx",children:[l.jsx(Hv,{className:"w-4 h-4 text-cyan-400 mt-0.5 flex-shrink-0","data-id":"dcuu059as","data-path":"src/components/Footer.tsx"}),l.jsx("a",{href:"tel:16262339634",className:"text-slate-400 hover:text-cyan-400 transition-colors text-sm","data-id":"u5hmdgr49","data-path":"src/components/Footer.tsx",children:"1-626-233-9634"})]}),l.jsxs("li",{className:"flex items-start gap-3","data-id":"ndnh5vgea","data-path":"src/components/Footer.tsx",children:[l.jsx(Iu,{className:"w-4 h-4 text-cyan-400 mt-0.5 flex-shrink-0","data-id":"xdfchozen","data-path":"src/components/Footer.tsx"}),l.jsxs("span",{className:"text-slate-400 text-sm","data-id":"qiia838s0","data-path":"src/components/Footer.tsx",children:["2396 Pickens Canyon Road",l.jsx("br",{"data-id":"7krcz992u","data-path":"src/components/Footer.tsx"}),"La Crescenta, CA 91214"]})]})]}),l.jsx("div",{className:"mt-6 p-3 border border-cyan-500/20 rounded-lg bg-cyan-500/5","data-id":"guizrzq39","data-path":"src/components/Footer.tsx",children:l.jsxs("p",{className:"text-xs text-slate-500 font-mono-space","data-id":"xtl0bdmx5","data-path":"src/components/Footer.tsx",children:["Reg. No: 20-1472291",l.jsx("br",{"data-id":"jabpq5g2a","data-path":"src/components/Footer.tsx"}),"501(c)(3) Nonprofit Organization"]})})]})]}),l.jsx("div",{className:"section-divider mb-6","data-id":"wgirsa2fo","data-path":"src/components/Footer.tsx"}),l.jsxs("div",{className:"flex flex-col sm:flex-row justify-between items-center gap-3 text-xs text-slate-500","data-id":"3k9hdn45d","data-path":"src/components/Footer.tsx",children:[l.jsxs("p",{"data-id":"9u2g3hklb","data-path":"src/components/Footer.tsx",children:["© ",e," INTERNATIONAL SOCIETY FOR NANOSCALE SCIENCE COMPUTING & ENGINEERING. All rights reserved."]}),l.jsxs("div",{className:"flex gap-4","data-id":"xkiinq0p6","data-path":"src/components/Footer.tsx",children:[l.jsx(G,{to:"/privacy-policy",className:"hover:text-cyan-400 transition-colors","data-id":"z4ilfzqmg","data-path":"src/components/Footer.tsx",children:"Privacy Policy"}),l.jsx("span",{"data-id":"rf2czl81e","data-path":"src/components/Footer.tsx",children:"|"}),l.jsx(G,{to:"/terms-conditions",className:"hover:text-cyan-400 transition-colors","data-id":"ekpn9c4bf","data-path":"src/components/Footer.tsx",children:"Terms & Conditions"})]})]})]})})}function ke({children:e}){return l.jsxs("div",{className:"min-h-screen bg-[#060d1a] text-slate-200 flex flex-col","data-id":"s2boinj44","data-path":"src/components/Layout.tsx",children:[l.jsx(SE,{"data-id":"h9xrjc6i0","data-path":"src/components/Layout.tsx"}),l.jsx("main",{className:"flex-1 pt-16 lg:pt-20","data-id":"nli9dayai","data-path":"src/components/Layout.tsx",children:e}),l.jsx(CE,{"data-id":"02l4jyh6w","data-path":"src/components/Layout.tsx"})]})}const kE=[{icon:$v,title:"Nanoscale Research & Scientific Discovery",desc:"Advancing humanity's understanding of matter at the atomic level through rigorous experimental research, enabling breakthroughs that redefine the boundaries of science and technology.",color:"text-cyan-400",border:"border-cyan-500/30",bg:"bg-cyan-500/5"},{icon:tk,title:"Computational Innovation & Molecular Engineering",desc:"Developing next-generation computational tools and molecular engineering methods that simulate, model, and accelerate discovery at the nanoscale — bridging the gap between theory and application.",color:"text-amber-400",border:"border-amber-500/30",bg:"bg-amber-500/5"},{icon:Vv,title:"Scientific Collaboration & Knowledge Exchange",desc:"Building an interconnected global community of researchers, institutions, and innovators who share knowledge, co-develop solutions, and accelerate the pace of scientific advancement.",color:"text-teal-400",border:"border-teal-500/30",bg:"bg-teal-500/5"},{icon:_v,title:"Recognition, Education & Growth of Nanotechnology",desc:"Championing the next generation of scientists through recognition programs, educational initiatives, and public engagement that elevate the global profile and impact of nanotechnology.",color:"text-violet-400",border:"border-violet-500/30",bg:"bg-violet-500/5"}],NE=[{title:"Atomic Frontiers Research Initiative",purpose:"Nanoscale Research & Scientific Discovery",desc:"Our flagship research program drives cutting-edge scientific discovery at the atomic level. Through coordinated research studies and experimental investigations, we push the boundaries of what's possible at the nanoscale, generating actionable scientific knowledge that shapes emerging technologies and informs global research communities.",image:"https://images.unsplash.com/photo-1559757148-5c350d0d3c56?w=600&q=80",path:"/programs/atomic-frontiers",accent:"cyan"},{title:"Molecular Computation Innovation Lab",purpose:"Computational Innovation & Molecular Engineering",desc:"A dedicated hub for computational science and molecular engineering innovation. This program develops simulation platforms, algorithmic tools, and computational methodologies that allow researchers worldwide to model atomic-scale phenomena with unprecedented accuracy and speed, accelerating discovery cycles.",image:"https://images.unsplash.com/photo-1635070041078-e363dbe005cb?w=600&q=80",path:"/programs/molecular-computation",accent:"amber"},{title:"Global Nanoscience Exchange Network",purpose:"Scientific Collaboration & Knowledge Exchange",desc:"An international collaboration platform connecting researchers, institutions, and scientific communities across the globe. Through structured exchange programs, shared research infrastructure, and interdisciplinary knowledge-sharing forums, we enable the kind of large-scale collaboration that drives transformative scientific breakthroughs.",image:"https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=600&q=80",path:"/programs/global-nanoscience",accent:"teal"}],jE=[{value:"240+",label:"Research Projects Supported",icon:$v},{value:"180+",label:"Scientific Collaborations Facilitated",icon:Pl},{value:"65+",label:"Conferences & Knowledge Events Hosted",icon:Aa}];function Tm(){return l.jsx("div",{className:"absolute inset-0 overflow-hidden pointer-events-none","data-id":"3xf2aer2y","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[600px] opacity-10","data-id":"r3cqqeyn8","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"atom-circle w-full h-full animate-spin-slow","data-id":"u3veqjz13","data-path":"src/pages/HomePage.tsx"}),l.jsx("div",{className:"atom-circle w-3/4 h-3/4 top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 animate-counter-spin border-amber-400/40","data-id":"unai9wi1f","data-path":"src/pages/HomePage.tsx"}),l.jsx("div",{className:"atom-circle w-1/2 h-1/2 top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 animate-spin-slow",style:{animationDuration:"8s"},"data-id":"2ozeziih3","data-path":"src/pages/HomePage.tsx"})]})})}function TE(){return l.jsxs(ke,{"data-id":"jl1n1b10m","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("section",{className:"relative min-h-[90vh] flex items-center justify-center overflow-hidden nano-grid","data-id":"ulg02b9gt","data-path":"src/pages/HomePage.tsx",children:[l.jsx(Tm,{"data-id":"ifq9r8gu5","data-path":"src/pages/HomePage.tsx"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#060d1a] via-[#060d1a]/80 to-[#060d1a]","data-id":"2ddwgwf4s","data-path":"src/pages/HomePage.tsx"}),l.jsx("div",{className:"absolute inset-0 opacity-15",style:{backgroundImage:"url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?w=1920&q=80')",backgroundSize:"cover",backgroundPosition:"center"},"data-id":"64qelgzbq","data-path":"src/pages/HomePage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-5xl mx-auto px-4 sm:px-6 text-center","data-id":"fxxf6o5me","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full border border-cyan-500/40 bg-cyan-500/10 text-cyan-400 text-xs font-mono-space tracking-widest uppercase mb-8 animate-fade-in","data-id":"db6d89wtb","data-path":"src/pages/HomePage.tsx",children:[l.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-cyan-400 animate-pulse","data-id":"ti8sb6wpq","data-path":"src/pages/HomePage.tsx"}),"Scientific Advancement at the Atomic Scale"]}),l.jsxs("h1",{className:"font-exo text-5xl sm:text-6xl lg:text-7xl font-black leading-none mb-6 animate-fade-in-up","data-id":"r56u8wza2","data-path":"src/pages/HomePage.tsx",children:[l.jsx("span",{className:"text-gradient-hero","data-id":"uz4frm99v","data-path":"src/pages/HomePage.tsx",children:"Advancing Discovery"}),l.jsx("br",{"data-id":"isjamq5cc","data-path":"src/pages/HomePage.tsx"}),l.jsx("span",{className:"text-white","data-id":"4zwiv5unt","data-path":"src/pages/HomePage.tsx",children:"at the Atomic Scale"})]}),l.jsx("p",{className:"text-slate-300 text-lg sm:text-xl max-w-3xl mx-auto mb-10 leading-relaxed animate-fade-in-up delay-200","data-id":"oa4abzfbc","data-path":"src/pages/HomePage.tsx",children:"Nanoscale science, computation, and engineering are unlocking new frontiers in human knowledge — enabling innovative technologies, accelerating interdisciplinary discovery, and delivering scientific breakthroughs that address society's most complex challenges."}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center animate-fade-in-up delay-400","data-id":"j6lton1bh","data-path":"src/pages/HomePage.tsx",children:[l.jsxs(G,{to:"/donate",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full btn-nano text-base","data-id":"uizn81j38","data-path":"src/pages/HomePage.tsx",children:["Donate Now",l.jsx(tt,{className:"w-4 h-4","data-id":"ytrwepwh0","data-path":"src/pages/HomePage.tsx"})]}),l.jsxs(G,{to:"/programs/atomic-frontiers",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full btn-nano-outline text-base","data-id":"xtcjlui8l","data-path":"src/pages/HomePage.tsx",children:["Explore Programs",l.jsx(Mu,{className:"w-4 h-4","data-id":"rrxvldwe8","data-path":"src/pages/HomePage.tsx"})]})]})]}),l.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-32 bg-gradient-to-t from-[#060d1a] to-transparent","data-id":"q4ehx81rz","data-path":"src/pages/HomePage.tsx"})]}),l.jsx("section",{className:"py-20 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto","data-id":"pylpotxi0","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center","data-id":"us454uvsi","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{"data-id":"k1vzl8s0r","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-amber-500/30 bg-amber-500/10 text-amber-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"vzkc0nb95","data-path":"src/pages/HomePage.tsx",children:"About ISNSCER"}),l.jsxs("h2",{className:"font-exo text-3xl sm:text-4xl font-bold text-white mb-6 leading-tight","data-id":"7wkm195w8","data-path":"src/pages/HomePage.tsx",children:["A Global Force for",l.jsx("br",{"data-id":"ba74uz1vo","data-path":"src/pages/HomePage.tsx"}),l.jsx("span",{className:"text-gradient-teal","data-id":"ljcr58w8s","data-path":"src/pages/HomePage.tsx",children:"Nanoscale Innovation"})]}),l.jsxs("div",{className:"space-y-4 text-slate-400 leading-relaxed","data-id":"y98230wpd","data-path":"src/pages/HomePage.tsx",children:[l.jsx("p",{"data-id":"ww7t3thx8","data-path":"src/pages/HomePage.tsx",children:"The International Society for Nanoscale Science, Computing & Engineering (ISNSCER) operates at the intersection of physics, chemistry, computer science, and engineering — disciplines that together define the future of technology. We unite researchers, institutions, and scientific leaders around a shared mission: advancing nanoscale discovery that creates real, lasting benefit for humanity."}),l.jsx("p",{"data-id":"1busyt1tf","data-path":"src/pages/HomePage.tsx",children:"Since our founding, we have grown into a global platform for scientific research, computational innovation, interdisciplinary collaboration, and the recognition of outstanding contributions to nanotechnology. Our programs span experimental research initiatives, molecular modeling platforms, international knowledge-exchange networks, and landmark scientific conferences that bring together the world's brightest minds."}),l.jsx("p",{"data-id":"7fhby8lob","data-path":"src/pages/HomePage.tsx",children:"We believe that science without borders and discovery without limits are the engines of human progress. Through every initiative we support and every researcher we connect, we are building a future where nanoscale science drives transformative change worldwide."})]}),l.jsxs(G,{to:"/about/our-story",className:"inline-flex items-center gap-2 mt-8 px-6 py-3 rounded-full btn-nano text-sm","data-id":"br6e98xxd","data-path":"src/pages/HomePage.tsx",children:["Learn More",l.jsx(tt,{className:"w-4 h-4","data-id":"rfflore8w","data-path":"src/pages/HomePage.tsx"})]})]}),l.jsxs("div",{className:"relative","data-id":"n6rw96pbv","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"rounded-2xl overflow-hidden border border-cyan-500/20","data-id":"pvshlmnbl","data-path":"src/pages/HomePage.tsx",children:l.jsx("img",{src:"https://images.unsplash.com/photo-1507413245164-6160d8298b31?w=700&q=80",alt:"Nanoscale research",className:"w-full h-80 object-cover","data-id":"i2qcik03e","data-path":"src/pages/HomePage.tsx"})}),l.jsxs("div",{className:"absolute -bottom-5 -left-5 glass rounded-xl p-4 w-48","data-id":"b5lr4ofpt","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"text-3xl font-exo font-black text-cyan-400","data-id":"hp3dzwz7v","data-path":"src/pages/HomePage.tsx",children:"38+"}),l.jsx("div",{className:"text-xs text-slate-400","data-id":"lk937d2yx","data-path":"src/pages/HomePage.tsx",children:"Countries in Our Research Network"})]}),l.jsxs("div",{className:"absolute -top-5 -right-5 glass rounded-xl p-4 w-44","data-id":"le00tujtk","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"text-3xl font-exo font-black text-amber-400","data-id":"vhb8kgpuh","data-path":"src/pages/HomePage.tsx",children:"500+"}),l.jsx("div",{className:"text-xs text-slate-400","data-id":"bt7r5y55l","data-path":"src/pages/HomePage.tsx",children:"Research Scientists Engaged"})]})]})]})}),l.jsx("div",{className:"section-divider mx-8","data-id":"c16id26x1","data-path":"src/pages/HomePage.tsx"}),l.jsxs("section",{className:"py-20 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto","data-id":"l784ji3rh","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"text-center mb-14","data-id":"t5g8f6jfm","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-cyan-500/30 bg-cyan-500/10 text-cyan-400 text-xs font-mono-space tracking-widest uppercase mb-4","data-id":"rxqrg4mow","data-path":"src/pages/HomePage.tsx",children:"Our Four Pillars"}),l.jsx("h2",{className:"font-exo text-3xl sm:text-4xl font-bold text-white mb-4","data-id":"rmwqg4452","data-path":"src/pages/HomePage.tsx",children:"What We Stand For"}),l.jsx("p",{className:"text-slate-400 max-w-2xl mx-auto","data-id":"f38ecb1ia","data-path":"src/pages/HomePage.tsx",children:"Every program, initiative, and partnership we pursue is grounded in four operational pillars that define our identity and drive our impact."})]}),l.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6","data-id":"2w98qotxu","data-path":"src/pages/HomePage.tsx",children:kE.map((e,t)=>l.jsxs("div",{className:`p-6 rounded-2xl border ${e.border} ${e.bg} hover-lift`,"data-id":"xagbj0vkn","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:`w-12 h-12 rounded-xl flex items-center justify-center mb-4 border ${e.border}`,"data-id":"li9m8s58t","data-path":"src/pages/HomePage.tsx",children:l.jsx(e.icon,{className:`w-6 h-6 ${e.color}`,"data-id":"xn5e3d4cb","data-path":"src/pages/HomePage.tsx"})}),l.jsx("h3",{className:`font-exo font-bold text-base mb-3 ${e.color}`,"data-id":"ts5bpti6a","data-path":"src/pages/HomePage.tsx",children:e.title}),l.jsx("p",{className:"text-slate-400 text-sm leading-relaxed","data-id":"qeofjfdj6","data-path":"src/pages/HomePage.tsx",children:e.desc})]},t))})]}),l.jsx("div",{className:"section-divider mx-8","data-id":"a816e0o44","data-path":"src/pages/HomePage.tsx"}),l.jsxs("section",{className:"py-20 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto","data-id":"6agmmzkud","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"text-center mb-14","data-id":"tchsuaf7y","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-cyan-500/30 bg-cyan-500/10 text-cyan-400 text-xs font-mono-space tracking-widest uppercase mb-4","data-id":"k1s0xm0pn","data-path":"src/pages/HomePage.tsx",children:"Our Programs"}),l.jsx("h2",{className:"font-exo text-3xl sm:text-4xl font-bold text-white mb-4","data-id":"15qbv7wrt","data-path":"src/pages/HomePage.tsx",children:"Science in Action"}),l.jsx("p",{className:"text-slate-400 max-w-2xl mx-auto","data-id":"5qq5ppzhy","data-path":"src/pages/HomePage.tsx",children:"Three core programs deliver on our mission — driving research, innovation, and global scientific collaboration."})]}),l.jsx("div",{className:"grid lg:grid-cols-3 gap-8","data-id":"im9v34unc","data-path":"src/pages/HomePage.tsx",children:NE.map((e,t)=>l.jsxs("div",{className:"glass rounded-2xl overflow-hidden hover-lift group","data-id":"wniaq6n3r","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"relative overflow-hidden h-48","data-id":"c5bgopdkp","data-path":"src/pages/HomePage.tsx",children:[l.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500","data-id":"jebtlygca","data-path":"src/pages/HomePage.tsx"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#060d1a] to-transparent","data-id":"8gh017l9s","data-path":"src/pages/HomePage.tsx"})]}),l.jsxs("div",{className:"p-6","data-id":"86mv6sz8v","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:`text-xs font-mono-space tracking-widest uppercase mb-2 ${e.accent==="cyan"?"text-cyan-400":e.accent==="amber"?"text-amber-400":"text-teal-400"}`,"data-id":"7rgbq1nfe","data-path":"src/pages/HomePage.tsx",children:e.purpose}),l.jsx("h3",{className:"font-exo font-bold text-lg text-white mb-3","data-id":"1o68ynt0k","data-path":"src/pages/HomePage.tsx",children:e.title}),l.jsx("p",{className:"text-slate-400 text-sm leading-relaxed mb-5","data-id":"1k2wtgve7","data-path":"src/pages/HomePage.tsx",children:e.desc}),l.jsxs(G,{to:e.path,className:`inline-flex items-center gap-2 text-sm font-semibold transition-colors ${e.accent==="cyan"?"text-cyan-400 hover:text-cyan-300":e.accent==="amber"?"text-amber-400 hover:text-amber-300":"text-teal-400 hover:text-teal-300"}`,"data-id":"icw45a2zt","data-path":"src/pages/HomePage.tsx",children:["View Details ",l.jsx(Mu,{className:"w-4 h-4","data-id":"vhjge8wph","data-path":"src/pages/HomePage.tsx"})]})]})]},t))})]}),l.jsx("section",{className:"py-20 bg-[#0d1b2e]/50 nano-grid","data-id":"7omamjy2z","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"34x2gebjr","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"text-center mb-12","data-id":"3o2c37frc","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-amber-500/30 bg-amber-500/10 text-amber-400 text-xs font-mono-space tracking-widest uppercase mb-4","data-id":"376ddm7sv","data-path":"src/pages/HomePage.tsx",children:"Measurable Impact"}),l.jsx("h2",{className:"font-exo text-3xl sm:text-4xl font-bold text-white","data-id":"o897bqx3r","data-path":"src/pages/HomePage.tsx",children:"Our Scientific Footprint"})]}),l.jsx("div",{className:"grid sm:grid-cols-3 gap-8","data-id":"vb25xmjp1","data-path":"src/pages/HomePage.tsx",children:jE.map((e,t)=>l.jsxs("div",{className:"text-center glass rounded-2xl p-8 hover-lift animate-pulse-glow","data-id":"sugvibt3h","data-path":"src/pages/HomePage.tsx",children:[l.jsx(e.icon,{className:"w-8 h-8 text-cyan-400 mx-auto mb-4","data-id":"wj7usla4s","data-path":"src/pages/HomePage.tsx"}),l.jsx("div",{className:"font-exo text-5xl font-black text-gradient-teal mb-2","data-id":"427e5l4rw","data-path":"src/pages/HomePage.tsx",children:e.value}),l.jsx("div",{className:"text-slate-400 text-sm","data-id":"zzxp3yddx","data-path":"src/pages/HomePage.tsx",children:e.label})]},t))})]})}),l.jsxs("section",{className:"py-24 px-4 sm:px-6 lg:px-8 relative overflow-hidden","data-id":"1fi8vd2pk","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-cyan-900/20 via-[#060d1a] to-amber-900/20","data-id":"7omwbi13q","data-path":"src/pages/HomePage.tsx"}),l.jsx(Tm,{"data-id":"ovgy8tdsx","data-path":"src/pages/HomePage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto text-center","data-id":"xdyrmq1si","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-cyan-500/30 bg-cyan-500/10 text-cyan-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"m8po6el3k","data-path":"src/pages/HomePage.tsx",children:"Support Our Work"}),l.jsxs("h2",{className:"font-exo text-4xl sm:text-5xl font-black text-white mb-6","data-id":"99niy7q62","data-path":"src/pages/HomePage.tsx",children:["Accelerate the Future of",l.jsx("br",{"data-id":"8lwmdj7pr","data-path":"src/pages/HomePage.tsx"}),l.jsx("span",{className:"text-gradient-teal","data-id":"z26yvzjuu","data-path":"src/pages/HomePage.tsx",children:"Nanoscale Science"})]}),l.jsx("p",{className:"text-slate-300 text-lg mb-10 leading-relaxed","data-id":"usg49udfo","data-path":"src/pages/HomePage.tsx",children:"Your support helps us accelerate scientific discovery, strengthen global collaboration networks, fund emerging researchers, and expand nanotechnology's reach and impact across the world. Every contribution moves science forward."}),l.jsxs(G,{to:"/donate",className:"inline-flex items-center gap-2 px-10 py-4 rounded-full btn-gold text-base","data-id":"cw94wn5pt","data-path":"src/pages/HomePage.tsx",children:["Support Our Work",l.jsx(tt,{className:"w-5 h-5","data-id":"qzpcm73gs","data-path":"src/pages/HomePage.tsx"})]})]})]})]})}function EE(){return l.jsxs(ke,{"data-id":"ygei803zp","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("section",{className:"relative py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"6coyjltm9","data-path":"src/pages/AboutPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto text-center","data-id":"enpy4e4a4","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-cyan-500/30 bg-cyan-500/10 text-cyan-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"klm27dfh1","data-path":"src/pages/AboutPage.tsx",children:"About Us"}),l.jsxs("h1",{className:"font-exo text-4xl sm:text-5xl font-black text-white mb-6","data-id":"ey3894kk2","data-path":"src/pages/AboutPage.tsx",children:["Pioneering Science at the",l.jsx("br",{"data-id":"az1kdzqzm","data-path":"src/pages/AboutPage.tsx"}),l.jsx("span",{className:"text-gradient-teal","data-id":"40606cwys","data-path":"src/pages/AboutPage.tsx",children:"Smallest Scale"})]}),l.jsx("p",{className:"text-slate-400 text-lg max-w-2xl mx-auto","data-id":"lkb9beyty","data-path":"src/pages/AboutPage.tsx",children:"ISNSCER is a global nonprofit advancing nanoscale science, computation, and engineering through research, collaboration, and recognition."})]})}),l.jsxs("section",{className:"py-20 px-4 sm:px-6 lg:px-8 max-w-4xl mx-auto","data-id":"s7du2rivc","data-path":"src/pages/AboutPage.tsx",children:[l.jsxs("div",{className:"space-y-8 text-slate-300 leading-relaxed text-lg","data-id":"dexoj5ne5","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("p",{"data-id":"xvt5b6xbb","data-path":"src/pages/AboutPage.tsx",children:"Nanoscale science sits at the frontier of human knowledge — a domain where atoms and molecules are not merely the subjects of theory, but the building blocks of tomorrow's technologies, medicines, materials, and computational systems. At dimensions one-billionth of a meter, matter behaves according to quantum mechanical principles that defy everyday intuition and open entirely new possibilities for engineering, energy, computing, and biological science. Understanding and controlling matter at this level is not merely an academic pursuit — it is the foundation upon which next-generation breakthroughs are built. The International Society for Nanoscale Science, Computing & Engineering (ISNSCER) exists because this frontier demands organized, sustained, and globally coordinated effort."}),l.jsx("p",{"data-id":"x2ljl2h33","data-path":"src/pages/AboutPage.tsx",children:"Atomic-scale understanding is essential because the properties of materials at the nanoscale differ dramatically from their bulk counterparts. A material that is electrically insulating at the macro level may conduct electricity at the nanoscale; a biological compound that interacts normally at room temperature may exhibit entirely new behaviors when engineered at the molecular level. This requires not only deep experimental expertise but also powerful computational tools capable of modeling atomic interactions with precision. ISNSCER advances both pillars simultaneously — supporting experimental research initiatives that probe atomic reality and computational programs that model it — while building the global collaborative networks and educational pathways that ensure nanotechnology's benefits are realized broadly, equitably, and sustainably for generations to come."})]}),l.jsx("div",{className:"mt-12 p-6 border border-cyan-500/20 rounded-2xl bg-cyan-500/5","data-id":"q8usnc1zf","data-path":"src/pages/AboutPage.tsx",children:l.jsxs("p",{className:"text-slate-400 text-sm font-mono-space text-center","data-id":"pz7ilq2tn","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("strong",{className:"text-white","data-id":"6a18fqone","data-path":"src/pages/AboutPage.tsx",children:"INTERNATIONAL SOCIETY FOR NANOSCALE SCIENCE COMPUTING & ENGINEERING"}),l.jsx("br",{"data-id":"r9oq85wb5","data-path":"src/pages/AboutPage.tsx"}),"is a registered nonprofit organization.",l.jsx("br",{"data-id":"35skxjyx3","data-path":"src/pages/AboutPage.tsx"}),l.jsx("span",{className:"text-cyan-400","data-id":"wfv3c5x5n","data-path":"src/pages/AboutPage.tsx",children:"Registration No: 20-1472291"})]})}),l.jsx("div",{className:"mt-12 grid sm:grid-cols-3 gap-6","data-id":"2xowvd79h","data-path":"src/pages/AboutPage.tsx",children:[{label:"Our Story",path:"/about/our-story",desc:"Learn how we were founded and how we've grown."},{label:"Mission & Values",path:"/about/mission-values",desc:"Explore what drives our work and our values."},{label:"Our Team",path:"/about/team",desc:"Meet the people leading ISNSCER's mission forward."}].map(e=>l.jsxs(G,{to:e.path,className:"glass p-5 rounded-xl hover-lift group","data-id":"uk9ex0kag","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("h3",{className:"font-exo font-bold text-white mb-2 group-hover:text-cyan-400 transition-colors","data-id":"wsff3e2pi","data-path":"src/pages/AboutPage.tsx",children:e.label}),l.jsx("p",{className:"text-slate-400 text-sm mb-3","data-id":"036rwce8b","data-path":"src/pages/AboutPage.tsx",children:e.desc}),l.jsxs("span",{className:"text-cyan-400 text-sm flex items-center gap-1","data-id":"0m8jw2ygh","data-path":"src/pages/AboutPage.tsx",children:["Explore ",l.jsx(tt,{className:"w-3 h-3","data-id":"ek3r6bozl","data-path":"src/pages/AboutPage.tsx"})]})]},e.path))})]})]})}const AE=[{year:"2003",title:"Organization Founded",desc:"ISNSCER was established by a small group of pioneering researchers who recognized the need for a global, interdisciplinary organization dedicated to nanoscale science and computation."},{year:"2006",title:"First Annual Conference",desc:"We hosted our inaugural International Nanoscale Science Symposium, bringing together 150 researchers from 18 countries to share findings and establish collaborative research frameworks."},{year:"2009",title:"Atomic Frontiers Initiative Launched",desc:"ISNSCER launched the Atomic Frontiers Research Initiative, our flagship program supporting experimental nanoscale research across member institutions worldwide."},{year:"2012",title:"Global Research Network Established",desc:"The Global Nanoscience Exchange Network grew to 25 partner institutions, formalizing international collaboration protocols and shared research infrastructure agreements."},{year:"2015",title:"Molecular Computation Lab Opens",desc:"We launched the Molecular Computation Innovation Lab, a dedicated computational science program providing tools, simulations, and methodology development to nanoscale researchers."},{year:"2018",title:"Distinguished Researcher Award Created",desc:"ISNSCER established its Distinguished Researcher Award program, recognizing exceptional contributions to nanoscale science, computation, and engineering worldwide."},{year:"2021",title:"500+ Researchers Engaged",desc:"Our community surpassed 500 active researchers across 38 countries, marking a major milestone in ISNSCER's mission to build a truly global nanoscience community."},{year:"2024",title:"240+ Research Projects Supported",desc:"ISNSCER reached a landmark 240+ supported research projects, reinforcing our position as the world's leading nonprofit organization for nanoscale science advancement."}];function RE(){return l.jsxs(ke,{"data-id":"4zcrq4he3","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("section",{className:"relative py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"9l4udgo7k","data-path":"src/pages/OurStoryPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto text-center","data-id":"kmyl75iiz","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-cyan-500/30 bg-cyan-500/10 text-cyan-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"yfx1ulo0o","data-path":"src/pages/OurStoryPage.tsx",children:"Our Story"}),l.jsxs("h1",{className:"font-exo text-4xl sm:text-5xl font-black text-white mb-6","data-id":"r87kby9qg","data-path":"src/pages/OurStoryPage.tsx",children:["From a Vision to a",l.jsx("br",{"data-id":"xpuhvvuvk","data-path":"src/pages/OurStoryPage.tsx"}),l.jsx("span",{className:"text-gradient-teal","data-id":"jidw85cko","data-path":"src/pages/OurStoryPage.tsx",children:"Global Scientific Movement"})]})]})}),l.jsxs("section",{className:"py-20 px-4 sm:px-6 lg:px-8 max-w-4xl mx-auto","data-id":"kne6mt6dn","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsxs("div",{className:"space-y-8 text-slate-300 leading-relaxed text-lg mb-16","data-id":"y2kmwe67g","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("p",{"data-id":"klrffywoz","data-path":"src/pages/OurStoryPage.tsx",children:"The story of ISNSCER begins in the early 2000s, a period when nanoscale science was transitioning from theoretical promise to experimental reality. Advances in scanning tunneling microscopy, atomic force microscopy, and quantum computing were generating extraordinary results in isolated laboratories — but these breakthroughs were not reaching their full potential because the scientific community remained fragmented. Researchers in physics, chemistry, materials science, biology, and computer science were all working on nanoscale problems, but without a common platform for collaboration, shared tools, or unified scientific direction."}),l.jsx("p",{"data-id":"4hk41yb3h","data-path":"src/pages/OurStoryPage.tsx",children:"A group of visionary scientists and scientific administrators recognized this gap. They understood that the next great leap in nanoscale science would not come from any single discipline or any single institution — it would emerge from the deliberate, systematic intersection of scientific domains working together under shared purpose. In 2003, they founded ISNSCER as a neutral, nonprofit platform where scientific excellence could flourish regardless of institutional affiliation, national boundary, or disciplinary silo."}),l.jsx("p",{"data-id":"d081dmob9","data-path":"src/pages/OurStoryPage.tsx",children:"Over the following two decades, ISNSCER grew from a small group of founding researchers into a global scientific organization with active members across 38 countries. We built three landmark programs — the Atomic Frontiers Research Initiative, the Molecular Computation Innovation Lab, and the Global Nanoscience Exchange Network — each designed to address a specific dimension of what it takes to advance nanoscale science at scale. We launched annual conferences that became essential events in the global scientific calendar. We developed recognition programs that gave emerging and established scientists the acknowledgment and visibility their work deserved."}),l.jsx("p",{"data-id":"his3og8qd","data-path":"src/pages/OurStoryPage.tsx",children:"Today, ISNSCER stands as a global force for nanoscale discovery, computational innovation, and scientific collaboration. Our journey is far from complete — the frontiers of nanotechnology are expanding rapidly, and the opportunities ahead are greater than at any point in our history. We continue to grow, evolve, and build on two decades of scientific partnership in service of one enduring mission: advancing discovery at the atomic scale for the benefit of all humanity."})]}),l.jsxs("div",{"data-id":"myd2tkxm5","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsxs("h2",{className:"font-exo text-2xl font-bold text-white mb-10 text-center","data-id":"w1ntdxgz3","data-path":"src/pages/OurStoryPage.tsx",children:["Our ",l.jsx("span",{className:"text-gradient-teal","data-id":"hef3i1si5","data-path":"src/pages/OurStoryPage.tsx",children:"Milestones"})]}),l.jsxs("div",{className:"relative","data-id":"shws2fci6","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("div",{className:"absolute left-6 top-0 bottom-0 w-px bg-gradient-to-b from-cyan-500/50 via-cyan-500/20 to-transparent","data-id":"oro4zbgl1","data-path":"src/pages/OurStoryPage.tsx"}),l.jsx("div",{className:"space-y-8","data-id":"exc4944rq","data-path":"src/pages/OurStoryPage.tsx",children:AE.map((e,t)=>l.jsxs("div",{className:"relative pl-16","data-id":"c7eheaaeh","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("div",{className:"absolute left-0 top-1 w-12 h-12 rounded-full bg-[#0d1b2e] border-2 border-cyan-500/40 flex items-center justify-center","data-id":"od1c44p3x","data-path":"src/pages/OurStoryPage.tsx",children:l.jsx("span",{className:"text-cyan-400 font-mono-space text-xs font-bold","data-id":"3mhw3ggvk","data-path":"src/pages/OurStoryPage.tsx",children:e.year.slice(2)})}),l.jsxs("div",{className:"glass rounded-xl p-5","data-id":"pvr0ry9k4","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("div",{className:"font-mono-space text-xs text-cyan-400 tracking-widest mb-1","data-id":"fho8q9djf","data-path":"src/pages/OurStoryPage.tsx",children:e.year}),l.jsx("h3",{className:"font-exo font-bold text-white text-lg mb-2","data-id":"m5p19u2kb","data-path":"src/pages/OurStoryPage.tsx",children:e.title}),l.jsx("p",{className:"text-slate-400 text-sm leading-relaxed","data-id":"gs1w9j5ij","data-path":"src/pages/OurStoryPage.tsx",children:e.desc})]})]},t))})]})]})]})]})}const ME=[{title:"Scientific Excellence",desc:"We hold ourselves and our research community to the highest standards of scientific rigor. Every study we support, every tool we develop, and every publication we facilitate must reflect meticulous methodology, transparent reporting, and peer-validated conclusions. Excellence is not an aspiration — it is our baseline, because the credibility of nanoscale science depends on the integrity of those who practice it."},{title:"Innovation",desc:"The nanoscale world demands perpetual creativity. We embrace bold ideas, unconventional approaches, and frontier methodologies that push beyond the boundaries of current knowledge. ISNSCER's programs are designed to give researchers the freedom and resources to innovate — whether that means pioneering a new computational simulation, developing a novel atomic imaging technique, or designing an interdisciplinary research framework that no single discipline could create alone."},{title:"Collaboration",desc:"No single researcher or institution can advance nanoscale science alone. The problems are too complex, the tools too specialized, and the applications too wide-ranging. ISNSCER is built on the principle that structured collaboration — across disciplines, institutions, and borders — produces scientific outcomes that isolated efforts cannot achieve. We actively build and maintain the infrastructure for meaningful collaborative research."},{title:"Integrity",desc:"Scientific progress depends on trust. We operate with complete transparency in our research support activities, funding decisions, award processes, and organizational governance. We hold ourselves accountable to our members, our donors, and the broader scientific community. Our commitment to integrity means that we apply the same critical standards to our own operations that we expect from the research we champion."},{title:"Discovery",desc:"Discovery — the identification of something previously unknown — is the heart of scientific purpose. ISNSCER is fundamentally oriented toward the pursuit of new knowledge. We fund research that explores unmapped territories at the atomic scale, we develop computational tools that reveal invisible phenomena, and we create collaborative frameworks that allow researchers to make connections that spark unexpected discoveries across disciplinary boundaries."},{title:"Knowledge Sharing",desc:"Science is most powerful when it flows freely. ISNSCER is committed to open and accessible scientific communication — through conferences, publications, digital platforms, and educational programs — that makes nanoscale research available to researchers, policymakers, educators, and the public alike. We believe that the benefits of scientific knowledge belong to everyone, not to those with exclusive institutional access."},{title:"Global Advancement",desc:"The potential of nanotechnology to benefit humanity must be realized globally — not concentrated in wealthy institutions or technologically dominant nations. ISNSCER actively works to build scientific capacity in emerging research communities, support developing-world researchers, and create international partnerships that ensure the fruits of nanoscale discovery contribute to human progress everywhere. Global science requires global inclusion."}];function IE(){return l.jsxs(ke,{"data-id":"o09uavq0q","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("section",{className:"relative py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"6tonfa1gx","data-path":"src/pages/MissionValuesPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto text-center","data-id":"8h9s5k30r","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-cyan-500/30 bg-cyan-500/10 text-cyan-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"cyh9xhfwc","data-path":"src/pages/MissionValuesPage.tsx",children:"Mission & Values"}),l.jsxs("h1",{className:"font-exo text-4xl sm:text-5xl font-black text-white mb-6","data-id":"zluvnfgmb","data-path":"src/pages/MissionValuesPage.tsx",children:["Guided by Science,",l.jsx("br",{"data-id":"8s28x6z4n","data-path":"src/pages/MissionValuesPage.tsx"}),l.jsx("span",{className:"text-gradient-teal","data-id":"etis73610","data-path":"src/pages/MissionValuesPage.tsx",children:"Driven by Purpose"})]})]})}),l.jsxs("section",{className:"py-20 px-4 sm:px-6 lg:px-8 max-w-4xl mx-auto","data-id":"5vpj5s0ay","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsxs("div",{className:"glass rounded-2xl p-8 border-l-4 border-cyan-400 mb-16","data-id":"2g8585wz5","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("div",{className:"text-xs font-mono-space text-cyan-400 tracking-widest uppercase mb-3","data-id":"8q8dj0bgq","data-path":"src/pages/MissionValuesPage.tsx",children:"Our Mission"}),l.jsx("p",{className:"text-white text-xl leading-relaxed font-light","data-id":"p4v46t56m","data-path":"src/pages/MissionValuesPage.tsx",children:'"International Society for Nanoscale Science, Computation and Engineering is dedicated to advancing nanoscale science, computation, and engineering by promoting research on atomic-scale control, developing innovative tools and methods, fostering molecular computation, encouraging interdisciplinary collaboration, supporting scientific conferences, recognizing outstanding contributions, and strengthening the growth and visibility of nanotechnology worldwide."'})]}),l.jsxs("div",{className:"mb-16","data-id":"yhwgf1txh","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsxs("h2",{className:"font-exo text-2xl font-bold text-white mb-6","data-id":"cbhxhilkq","data-path":"src/pages/MissionValuesPage.tsx",children:["Our ",l.jsx("span",{className:"text-gradient-gold","data-id":"jx1hr8zdu","data-path":"src/pages/MissionValuesPage.tsx",children:"Vision"})]}),l.jsx("div",{className:"glass-light rounded-2xl p-8 border border-amber-500/20","data-id":"55a2mlh2n","data-path":"src/pages/MissionValuesPage.tsx",children:l.jsx("p",{className:"text-slate-300 text-lg leading-relaxed","data-id":"8522vtpxf","data-path":"src/pages/MissionValuesPage.tsx",children:"We envision a future where the atomic scale is humanity's most powerful tool — where every material can be engineered for optimal performance, every drug can be designed at the molecular level, every computation can be performed with nanoscale efficiency, and every scientific institution in every nation has the capacity to contribute to and benefit from nanoscale discovery. ISNSCER will be the global catalyst that makes this future possible — accelerating the pace of scientific discovery, enabling breakthrough technologies that address climate, health, and energy challenges, and expanding the worldwide community of nanoscale scientists who make it all happen."})})]}),l.jsxs("div",{"data-id":"lo001xzab","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsxs("h2",{className:"font-exo text-2xl font-bold text-white mb-10","data-id":"p9xywigb","data-path":"src/pages/MissionValuesPage.tsx",children:["Our Core ",l.jsx("span",{className:"text-gradient-teal","data-id":"8j8npvfob","data-path":"src/pages/MissionValuesPage.tsx",children:"Values"})]}),l.jsx("div",{className:"space-y-6","data-id":"3k966vob8","data-path":"src/pages/MissionValuesPage.tsx",children:ME.map((e,t)=>l.jsxs("div",{className:"flex gap-5 glass rounded-xl p-6 hover-lift","data-id":"1twyze17m","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("div",{className:"w-8 h-8 rounded-full bg-cyan-500/20 border border-cyan-500/40 flex items-center justify-center flex-shrink-0 mt-1","data-id":"bas4211kp","data-path":"src/pages/MissionValuesPage.tsx",children:l.jsx(Or,{className:"w-4 h-4 text-cyan-400","data-id":"yakbqfvy3","data-path":"src/pages/MissionValuesPage.tsx"})}),l.jsxs("div",{"data-id":"zya9kcqjc","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("h3",{className:"font-exo font-bold text-white text-lg mb-2","data-id":"pp8ozwyvi","data-path":"src/pages/MissionValuesPage.tsx",children:e.title}),l.jsx("p",{className:"text-slate-400 leading-relaxed","data-id":"1dn4m43v8","data-path":"src/pages/MissionValuesPage.tsx",children:e.desc})]})]},t))})]})]})]})}const OE=[{name:"Dr. Elena Vasquez",role:"Executive Director",image:"https://images.unsplash.com/photo-1580489944761-15a19d654956?w=400&q=80",bio:"Dr. Elena Vasquez brings over 22 years of experience in scientific organization leadership and nanoscale research policy. With a PhD in materials science from MIT and a postdoctoral fellowship at CERN's materials division, she has published more than 60 peer-reviewed papers on nanostructured materials and has led international research consortia across four continents. Under her leadership, ISNSCER has expanded its global membership, launched the Molecular Computation Innovation Lab, and significantly increased the organization's research grant portfolio. Dr. Vasquez is widely regarded as one of the most influential figures in the institutionalization of nanoscale science as a global research discipline."},{name:"Dr. James Okafor",role:"Director of Research Programs",image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=400&q=80",bio:"Dr. James Okafor oversees ISNSCER's research portfolio, including the Atomic Frontiers Research Initiative and all research grant programs. Trained as a physicist at the University of Lagos and the Technische Universität Munich, Dr. Okafor spent 15 years as a research scientist studying quantum confinement effects in nanoscale semiconductor structures before transitioning to science administration. He has served on the scientific advisory boards of three national nanotechnology agencies and has been instrumental in designing ISNSCER's peer-review framework, which has become a model for research quality assurance in international nonprofit science organizations."},{name:"Dr. Mei-Ling Chen",role:"Computational Science Lead",image:"https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=400&q=80",bio:"Dr. Mei-Ling Chen leads the Molecular Computation Innovation Lab, directing the development of computational tools and simulation platforms that support ISNSCER's research community. She holds a doctorate in computational chemistry from Caltech and has spent over a decade developing density functional theory models and molecular dynamics simulation frameworks used by researchers globally. Dr. Chen has co-authored over 40 publications on computational approaches to nanoscale engineering and serves as a principal investigator on two collaborative international simulation projects. Her work is widely credited with democratizing access to high-fidelity nanoscale simulation capabilities for researchers in developing scientific communities."},{name:"Dr. Robert Andersen",role:"Conference & Collaboration Director",image:"https://images.unsplash.com/photo-1560250097-0b93528c311a?w=400&q=80",bio:"Dr. Robert Andersen directs ISNSCER's global conference programs and the Global Nanoscience Exchange Network, managing relationships with partner institutions and research communities across 38 countries. With a background in scientific communication and a PhD in nanoscale biology from the University of Copenhagen, Dr. Andersen has designed and led more than 30 international scientific events over the course of his career. He has an exceptional ability to bridge scientific disciplines and institutional cultures, making him the organizational architect of ISNSCER's collaborative research framework. Under his direction, the Global Nanoscience Exchange Network has grown from 12 to 38 partner institutions in less than a decade."},{name:"Dr. Sarah Nkosi",role:"Scientific Outreach Manager",image:"https://images.unsplash.com/photo-1551836022-deb4988cc6c0?w=400&q=80",bio:"Dr. Sarah Nkosi leads ISNSCER's public science communication, education, and emerging researcher engagement programs. A former nanoscale biology researcher with a PhD from the University of Cape Town, Dr. Nkosi transitioned into science outreach after recognizing that the most significant barrier to nanotechnology's global impact was not a lack of scientific talent but a lack of accessible science communication and educational opportunity. She has designed ISNSCER's emerging researcher fellowship program, developed publicly accessible science communication materials reaching over 200,000 readers annually, and built award recognition pipelines that have elevated the visibility of dozens of early-career nanoscale scientists worldwide."}];function DE(){return l.jsxs(ke,{"data-id":"aa9gybl42","data-path":"src/pages/TeamPage.tsx",children:[l.jsx("section",{className:"relative py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"wa2jvchb7","data-path":"src/pages/TeamPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto text-center","data-id":"azjuys246","data-path":"src/pages/TeamPage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-cyan-500/30 bg-cyan-500/10 text-cyan-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"41vgdczjr","data-path":"src/pages/TeamPage.tsx",children:"Our Team"}),l.jsxs("h1",{className:"font-exo text-4xl sm:text-5xl font-black text-white mb-6","data-id":"qa3zjdktl","data-path":"src/pages/TeamPage.tsx",children:["The People Behind the",l.jsx("br",{"data-id":"lcavhkezq","data-path":"src/pages/TeamPage.tsx"}),l.jsx("span",{className:"text-gradient-teal","data-id":"9gvcy3nep","data-path":"src/pages/TeamPage.tsx",children:"Science"})]}),l.jsx("p",{className:"text-slate-400 text-lg max-w-2xl mx-auto","data-id":"1j46c6lc1","data-path":"src/pages/TeamPage.tsx",children:"ISNSCER is led by a team of world-class scientists, researchers, and science administrators united by a shared commitment to advancing nanoscale discovery."})]})}),l.jsx("section",{className:"py-20 px-4 sm:px-6 lg:px-8 max-w-5xl mx-auto","data-id":"h1okh3mkc","data-path":"src/pages/TeamPage.tsx",children:l.jsx("div",{className:"space-y-10","data-id":"sxf2tj2co","data-path":"src/pages/TeamPage.tsx",children:OE.map((e,t)=>l.jsxs("div",{className:`glass rounded-2xl p-6 sm:p-8 flex flex-col sm:flex-row gap-6 hover-lift ${t%2===1?"sm:flex-row-reverse":""}`,"data-id":"oegvwhxpt","data-path":"src/pages/TeamPage.tsx",children:[l.jsx("div",{className:"flex-shrink-0","data-id":"274qct6eg","data-path":"src/pages/TeamPage.tsx",children:l.jsx("div",{className:"w-28 h-28 rounded-2xl overflow-hidden border-2 border-cyan-500/30 mx-auto sm:mx-0","data-id":"olff2d2ks","data-path":"src/pages/TeamPage.tsx",children:l.jsx("img",{src:e.image,alt:e.name,className:"w-full h-full object-cover","data-id":"htjcq8f80","data-path":"src/pages/TeamPage.tsx"})})}),l.jsxs("div",{"data-id":"i860egphd","data-path":"src/pages/TeamPage.tsx",children:[l.jsx("div",{className:"text-xs font-mono-space text-cyan-400 tracking-widest uppercase mb-1","data-id":"uhryokse0","data-path":"src/pages/TeamPage.tsx",children:e.role}),l.jsx("h3",{className:"font-exo font-bold text-xl text-white mb-3","data-id":"snn6hwzmo","data-path":"src/pages/TeamPage.tsx",children:e.name}),l.jsx("p",{className:"text-slate-400 leading-relaxed text-sm","data-id":"ou3o9fq2z","data-path":"src/pages/TeamPage.tsx",children:e.bio})]})]},t))})})]})}const LE=[{title:"Atomic-Scale Materials Research",items:["Surface characterization using scanning tunneling and atomic force microscopy","Quantum confinement effects in nanostructured semiconductors","Self-assembly mechanisms at the nanoscale","Novel nanocomposite material property analysis"]},{title:"Experimental Investigations",items:["Controlled synthesis of nanoparticles with defined size distributions","Investigation of electron transport in molecular junctions","Exploration of magnetic properties in nanoscale ferromagnetic structures","Thermal behavior analysis of nanoscale material systems"]},{title:"Knowledge Generation & Outcomes",items:["Peer-reviewed publications in top-tier scientific journals","Open-access research data repositories for the global scientific community","Annual research synthesis reports shared with government and industry partners","Research findings presented at ISNSCER's international conferences"]}];function FE(){return l.jsxs(ke,{"data-id":"f206y09wm","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:[l.jsx("section",{className:"relative py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"jn9wlxavh","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto","data-id":"c1d67dgzs","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-cyan-500/30 bg-cyan-500/10 text-cyan-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"aacva2wm6","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:"Program 1"}),l.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 items-center","data-id":"ifsdlpdhk","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:[l.jsxs("div",{"data-id":"ycyh57rtx","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:[l.jsxs("h1",{className:"font-exo text-4xl sm:text-5xl font-black text-white mb-6","data-id":"vf1v7zp54","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:["Atomic Frontiers",l.jsx("br",{"data-id":"2phn5c0dg","data-path":"src/pages/programs/AtomicFrontiersPage.tsx"}),l.jsx("span",{className:"text-gradient-teal","data-id":"7dtir187p","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:"Research Initiative"})]}),l.jsx("p",{className:"text-slate-400 text-lg mb-8 leading-relaxed","data-id":"rvytax69j","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:"Our flagship research program advancing nanoscale scientific discovery through rigorous experimental research, atomic-scale investigation, and systematic knowledge generation."}),l.jsxs("a",{href:"/contact",className:"inline-flex items-center gap-2 px-8 py-3 rounded-full btn-nano text-sm","data-id":"i0fdii383","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:["Get Involved ",l.jsx(tt,{className:"w-4 h-4","data-id":"as7cnobbf","data-path":"src/pages/programs/AtomicFrontiersPage.tsx"})]})]}),l.jsx("div",{className:"rounded-2xl overflow-hidden border border-cyan-500/20","data-id":"c69qjwi1f","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:l.jsx("img",{src:"https://images.unsplash.com/photo-1559757148-5c350d0d3c56?w=700&q=80",alt:"Atomic Frontiers Research",className:"w-full h-72 object-cover","data-id":"5tvtflfvm","data-path":"src/pages/programs/AtomicFrontiersPage.tsx"})})]})]})}),l.jsxs("section",{className:"py-20 px-4 sm:px-6 lg:px-8 max-w-5xl mx-auto","data-id":"k7twvmuge","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:[l.jsxs("div",{className:"glass rounded-2xl p-8 mb-12","data-id":"zgp11w1li","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:[l.jsx("h2",{className:"font-exo text-2xl font-bold text-white mb-5","data-id":"jdu11f42k","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:"Program Overview"}),l.jsxs("div",{className:"space-y-4 text-slate-300 leading-relaxed","data-id":"6eszudp5h","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:[l.jsx("p",{"data-id":"p2j1o3rp9","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:"The Atomic Frontiers Research Initiative is ISNSCER's most established research program, providing structured support for experimental nanoscale science across our global member network. Launched to address the pressing need for coordinated atomic-scale research, the program has grown to encompass over 80 active research studies spanning materials science, quantum electronics, nanobiology, and applied nanotechnology."}),l.jsx("p",{"data-id":"213s68wav","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:"The initiative operates through a competitive research grant process, a structured peer-mentorship framework connecting emerging and established researchers, and a shared research infrastructure model that gives institutions access to experimental equipment and techniques they would be unable to afford independently. Every study funded through the initiative must meet ISNSCER's rigorous scientific standards, contribute original findings to the global scientific record, and engage in open knowledge sharing with the broader research community."}),l.jsx("p",{"data-id":"3oi37na3i","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:"Across its history, the Atomic Frontiers Research Initiative has produced over 340 peer-reviewed publications, supported 150 early-career researchers, and generated fundamental insights into atomic-scale phenomena that have informed both academic research and applied nanotechnology development around the world."})]})]}),l.jsx("div",{className:"grid md:grid-cols-3 gap-6","data-id":"5c8f160hd","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:LE.map((e,t)=>l.jsxs("div",{className:"glass rounded-xl p-6 hover-lift","data-id":"5vkkvlctc","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:[l.jsx("h3",{className:"font-exo font-bold text-cyan-400 mb-5 text-base","data-id":"0ke6tezi3","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:e.title}),l.jsx("ul",{className:"space-y-3","data-id":"rk51tq6ad","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:e.items.map((n,a)=>l.jsxs("li",{className:"flex items-start gap-2.5 text-sm text-slate-400","data-id":"2tea6hf2m","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:[l.jsx(Or,{className:"w-4 h-4 text-cyan-400 mt-0.5 flex-shrink-0","data-id":"yzk768b2o","data-path":"src/pages/programs/AtomicFrontiersPage.tsx"}),n]},a))})]},t))}),l.jsx("div",{className:"mt-12 text-center","data-id":"l0ddayovr","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:l.jsxs(G,{to:"/contact",className:"inline-flex items-center gap-2 px-10 py-4 rounded-full btn-nano text-base","data-id":"kbqal77es","data-path":"src/pages/programs/AtomicFrontiersPage.tsx",children:["Get Involved in This Program",l.jsx(tt,{className:"w-5 h-5","data-id":"1k5hah4r5","data-path":"src/pages/programs/AtomicFrontiersPage.tsx"})]})})]})]})}const zE=[{title:"Molecular Computing Research",items:["DNA-based computing architectures and information storage","Protein folding algorithms and molecular machine learning","Quantum information processing at the molecular scale","Neuromorphic computing inspired by molecular biological systems"]},{title:"Simulation & Computational Tools",items:["Density functional theory (DFT) modeling platforms","Molecular dynamics simulation engines for nanoscale systems","Monte Carlo methods for atomic interaction prediction","Open-source computational toolkits for global researcher access"]},{title:"Scientific Applications & Innovation",items:["Drug molecule interaction modeling for nanomedicine applications","Materials property prediction for novel nanocomposites","Energy storage and conversion efficiency modeling","Computational support for experimental research program partners"]}];function _E(){return l.jsxs(ke,{"data-id":"ojsfzkrvd","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:[l.jsx("section",{className:"relative py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"tegioxb77","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto","data-id":"un2xcozjh","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-amber-500/30 bg-amber-500/10 text-amber-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"j3vap6ekf","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:"Program 2"}),l.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 items-center","data-id":"g4355xqpe","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:[l.jsxs("div",{"data-id":"3w81yeeep","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:[l.jsxs("h1",{className:"font-exo text-4xl sm:text-5xl font-black text-white mb-6","data-id":"c3yaak7vt","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:["Molecular Computation",l.jsx("br",{"data-id":"ty9jnf5u2","data-path":"src/pages/programs/MolecularComputationPage.tsx"}),l.jsx("span",{className:"text-gradient-gold","data-id":"lell882ny","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:"Innovation Lab"})]}),l.jsx("p",{className:"text-slate-400 text-lg mb-8 leading-relaxed","data-id":"liixwutro","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:"A dedicated platform for developing the computational tools, simulation methods, and molecular engineering frameworks that power next-generation nanoscale research worldwide."}),l.jsxs(G,{to:"/contact",className:"inline-flex items-center gap-2 px-8 py-3 rounded-full btn-gold text-sm","data-id":"z39exu7le","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:["Get Involved ",l.jsx(tt,{className:"w-4 h-4","data-id":"5emqjy0bk","data-path":"src/pages/programs/MolecularComputationPage.tsx"})]})]}),l.jsx("div",{className:"rounded-2xl overflow-hidden border border-amber-500/20","data-id":"fo4uckua1","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:l.jsx("img",{src:"https://images.unsplash.com/photo-1635070041078-e363dbe005cb?w=700&q=80",alt:"Molecular Computation",className:"w-full h-72 object-cover","data-id":"y7oabhvs5","data-path":"src/pages/programs/MolecularComputationPage.tsx"})})]})]})}),l.jsxs("section",{className:"py-20 px-4 sm:px-6 lg:px-8 max-w-5xl mx-auto","data-id":"5whk53cv5","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:[l.jsxs("div",{className:"glass rounded-2xl p-8 mb-12","data-id":"oclmg1crv","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:[l.jsx("h2",{className:"font-exo text-2xl font-bold text-white mb-5","data-id":"mqyb46648","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:"Program Overview"}),l.jsxs("div",{className:"space-y-4 text-slate-300 leading-relaxed","data-id":"80sdddy58","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:[l.jsx("p",{"data-id":"q4fsowqc3","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:"The Molecular Computation Innovation Lab was established to address one of the most significant bottlenecks in nanoscale research: the lack of accessible, high-quality computational tools for modeling atomic-scale phenomena. Experimental nanoscale research is powerful, but it is often slow, expensive, and constrained by the limitations of available instruments. Computational modeling can fill critical gaps — predicting material behaviors, screening candidate molecules, and revealing structural properties that are invisible to current experimental methods."}),l.jsx("p",{"data-id":"qr8ctz28z","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:"The Lab operates as both a research development platform and a scientific service center. On the development side, our computational science team builds and maintains open-source simulation tools, algorithmic frameworks, and machine learning models designed specifically for nanoscale applications. On the service side, the Lab provides computational modeling support to experimental researchers across ISNSCER's global network, offering simulations, data analysis, and methodology consultation that amplify the impact of experimental work."}),l.jsx("p",{"data-id":"zeog1509y","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:"The Molecular Computation Innovation Lab has produced 12 publicly available computational tools, contributed to over 90 peer-reviewed publications, and provided computational support to researchers at institutions across 28 countries. The Lab represents ISNSCER's commitment to the principle that computational innovation and experimental discovery are not separate endeavors — they are essential partners in the advancement of nanoscale science."})]})]}),l.jsx("div",{className:"grid md:grid-cols-3 gap-6","data-id":"5cctnbnma","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:zE.map((e,t)=>l.jsxs("div",{className:"glass rounded-xl p-6 hover-lift","data-id":"j3npu9hve","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:[l.jsx("h3",{className:"font-exo font-bold text-amber-400 mb-5 text-base","data-id":"049zs2vu2","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:e.title}),l.jsx("ul",{className:"space-y-3","data-id":"2scge7rij","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:e.items.map((n,a)=>l.jsxs("li",{className:"flex items-start gap-2.5 text-sm text-slate-400","data-id":"fqgpwxj3u","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:[l.jsx(Or,{className:"w-4 h-4 text-amber-400 mt-0.5 flex-shrink-0","data-id":"14hqopbho","data-path":"src/pages/programs/MolecularComputationPage.tsx"}),n]},a))})]},t))}),l.jsx("div",{className:"mt-12 text-center","data-id":"48z8peye1","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:l.jsxs(G,{to:"/contact",className:"inline-flex items-center gap-2 px-10 py-4 rounded-full btn-gold text-base","data-id":"mleqq8af3","data-path":"src/pages/programs/MolecularComputationPage.tsx",children:["Get Involved in This Program",l.jsx(tt,{className:"w-5 h-5","data-id":"k5vzw35fa","data-path":"src/pages/programs/MolecularComputationPage.tsx"})]})})]})]})}const VE=[{title:"Research Partnerships",items:["38 partner institutions across 6 continents","Bilateral and multilateral research collaboration agreements","Shared experimental facility and equipment access","Cross-institutional co-investigator programs"]},{title:"Knowledge-Sharing Initiatives",items:["Annual Global Nanoscience Symposium with 400+ participants","Monthly virtual research seminars and working group sessions","ISNSCER Knowledge Exchange Library with 3,000+ resources","Interdisciplinary research methodology workshops"]},{title:"Global Networking & Emerging Scientists",items:["ISNSCER Emerging Researcher Fellowship Program","International mentorship matching for early-career scientists","Conference participation grants for researchers from developing nations","Global nanoscience researcher directory and collaboration platform"]}];function BE(){return l.jsxs(ke,{"data-id":"sthd6osj1","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:[l.jsx("section",{className:"relative py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"qlbs1qnxu","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto","data-id":"0mqzy24th","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-teal-500/30 bg-teal-500/10 text-teal-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"1wxhhy5cn","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:"Program 3"}),l.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 items-center","data-id":"3um3twfh3","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:[l.jsxs("div",{"data-id":"28mivenp2","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:[l.jsxs("h1",{className:"font-exo text-4xl sm:text-5xl font-black text-white mb-6","data-id":"x52gjhd2d","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:["Global Nanoscience",l.jsx("br",{"data-id":"6fhfq3oj8","data-path":"src/pages/programs/GlobalNanosciencePage.tsx"}),l.jsx("span",{className:"text-teal-400","data-id":"pkih8b7nr","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:"Exchange Network"})]}),l.jsx("p",{className:"text-slate-400 text-lg mb-8 leading-relaxed","data-id":"zuehwcaiy","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:"Building the international infrastructure for scientific collaboration, knowledge sharing, and research community development that accelerates nanoscale discovery worldwide."}),l.jsxs(G,{to:"/contact",className:"inline-flex items-center gap-2 px-8 py-3 rounded-full bg-teal-500 text-[#060d1a] font-exo font-bold text-sm hover:bg-teal-400 transition-colors","data-id":"hbgtksa7x","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:["Get Involved ",l.jsx(tt,{className:"w-4 h-4","data-id":"6he7w71qu","data-path":"src/pages/programs/GlobalNanosciencePage.tsx"})]})]}),l.jsx("div",{className:"rounded-2xl overflow-hidden border border-teal-500/20","data-id":"37h68ywpd","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:l.jsx("img",{src:"https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=700&q=80",alt:"Global Nanoscience Network",className:"w-full h-72 object-cover","data-id":"xsxyzxbdx","data-path":"src/pages/programs/GlobalNanosciencePage.tsx"})})]})]})}),l.jsxs("section",{className:"py-20 px-4 sm:px-6 lg:px-8 max-w-5xl mx-auto","data-id":"9f7vdhyo6","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:[l.jsxs("div",{className:"glass rounded-2xl p-8 mb-12","data-id":"t9mulsj3i","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:[l.jsx("h2",{className:"font-exo text-2xl font-bold text-white mb-5","data-id":"eo2hhmzge","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:"Program Overview"}),l.jsxs("div",{className:"space-y-4 text-slate-300 leading-relaxed","data-id":"r3y5v73iv","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:[l.jsx("p",{"data-id":"hcdkmv609","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:"The Global Nanoscience Exchange Network (GNEN) is ISNSCER's international collaboration infrastructure — the connective tissue that holds together our global research community and ensures that knowledge flows freely across institutional and national boundaries. Scientific progress at the nanoscale has always required collaboration, but organizing that collaboration across dozens of institutions in dozens of countries requires deliberate structure, shared resources, and sustained organizational commitment."}),l.jsx("p",{"data-id":"p5tpoeslj","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:"GNEN provides that structure through formal partnership agreements between member institutions, shared digital platforms for collaborative research and data sharing, an organized conference and symposium calendar that creates regular opportunities for researchers to meet and build relationships, and a range of programs specifically designed to support emerging scientists and institutions in developing scientific communities."}),l.jsx("p",{"data-id":"zotwpq660","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:"The network's impact is measured not just in the research outputs it enables, but in the relationships it builds. GNEN has facilitated more than 180 collaborative research projects across institutional and national boundaries, supported 65+ scientific events that have collectively engaged thousands of researchers, and created fellowship and grant pathways that have launched dozens of early-career nanoscale scientists into productive, long-term research careers. The network is a living demonstration of what becomes possible when the global scientific community works together."})]})]}),l.jsx("div",{className:"grid md:grid-cols-3 gap-6","data-id":"lslxuph7a","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:VE.map((e,t)=>l.jsxs("div",{className:"glass rounded-xl p-6 hover-lift","data-id":"wkym1uprp","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:[l.jsx("h3",{className:"font-exo font-bold text-teal-400 mb-5 text-base","data-id":"d03m9f8t5","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:e.title}),l.jsx("ul",{className:"space-y-3","data-id":"el3dx0ngd","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:e.items.map((n,a)=>l.jsxs("li",{className:"flex items-start gap-2.5 text-sm text-slate-400","data-id":"ftrzio49g","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:[l.jsx(Or,{className:"w-4 h-4 text-teal-400 mt-0.5 flex-shrink-0","data-id":"ndrhyvj4p","data-path":"src/pages/programs/GlobalNanosciencePage.tsx"}),n]},a))})]},t))}),l.jsx("div",{className:"mt-12 text-center","data-id":"js8gkbzyl","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:l.jsxs(G,{to:"/contact",className:"inline-flex items-center gap-2 px-10 py-4 rounded-full bg-teal-500 text-[#060d1a] font-exo font-bold text-base hover:bg-teal-400 transition-colors","data-id":"vy85vk905","data-path":"src/pages/programs/GlobalNanosciencePage.tsx",children:["Get Involved in This Program",l.jsx(tt,{className:"w-5 h-5","data-id":"xmfat9r8q","data-path":"src/pages/programs/GlobalNanosciencePage.tsx"})]})})]})]})}const $E=[{icon:Vv,title:"Global Research Partnerships",desc:"ISNSCER maintains formal partnerships with 38 research institutions across 28 countries, creating a structured international network for collaborative nanoscale research. These partnerships enable shared infrastructure, co-investigator programs, and joint grant applications that would be impossible without an organized global network.",color:"text-cyan-400",border:"border-cyan-500/30"},{icon:Pl,title:"Collaborative Projects",desc:"The Research Network supports over 180 active collaborative projects in which researchers from multiple institutions and disciplines work together toward shared scientific goals. Each project benefits from ISNSCER's coordination infrastructure, shared computational resources, and peer-review quality assurance.",color:"text-amber-400",border:"border-amber-500/30"},{icon:vk,title:"Research Communities",desc:"ISNSCER has fostered the development of specialized research communities — focused groups of scientists working on specific nanoscale challenges — that serve as incubators for scientific breakthroughs. These communities include the Nanoscale Electronics Consortium, the Molecular Biology Interface Group, and the Quantum Nanophotonics Collaborative.",color:"text-teal-400",border:"border-teal-500/30"},{icon:KC,title:"Knowledge-Sharing Platforms",desc:"The ISNSCER Knowledge Exchange Library provides the global research community with curated access to over 3,000 scientific resources, research datasets, computational tools, and methodological guides. All resources are open-access, reflecting our belief that scientific knowledge must be freely shared to achieve maximum impact.",color:"text-violet-400",border:"border-violet-500/30"},{icon:Lk,title:"Emerging Scientist Engagement",desc:"The ISNSCER Emerging Researcher Fellowship Program provides funding, mentorship, and international networking support to early-career scientists at a pivotal moment in their careers. Fellows receive research grants, are matched with senior mentors from partner institutions, and are given priority access to conferences, symposiums, and collaborative projects.",color:"text-rose-400",border:"border-rose-500/30"},{icon:ik,title:"International Scientific Cooperation",desc:"ISNSCER serves as a neutral convening organization that enables scientific cooperation across political and institutional boundaries. We have supported research collaborations between institutions in more than 38 countries, including between researchers in nations that lack formal scientific cooperation agreements, demonstrating the power of science as a universal language.",color:"text-sky-400",border:"border-sky-500/30"}];function HE(){return l.jsxs(ke,{"data-id":"2be2hctxt","data-path":"src/pages/ResearchNetworkPage.tsx",children:[l.jsx("section",{className:"relative py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"99swufey9","data-path":"src/pages/ResearchNetworkPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto text-center","data-id":"ox4ax53c4","data-path":"src/pages/ResearchNetworkPage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-cyan-500/30 bg-cyan-500/10 text-cyan-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"pzwl3fnx4","data-path":"src/pages/ResearchNetworkPage.tsx",children:"Research Network"}),l.jsxs("h1",{className:"font-exo text-4xl sm:text-5xl font-black text-white mb-6","data-id":"csqv5f9c2","data-path":"src/pages/ResearchNetworkPage.tsx",children:["A Global Community of",l.jsx("br",{"data-id":"myqcphqd2","data-path":"src/pages/ResearchNetworkPage.tsx"}),l.jsx("span",{className:"text-gradient-teal","data-id":"83avr81c3","data-path":"src/pages/ResearchNetworkPage.tsx",children:"Nanoscale Scientists"})]}),l.jsx("p",{className:"text-slate-400 text-lg max-w-3xl mx-auto","data-id":"pad0j79wo","data-path":"src/pages/ResearchNetworkPage.tsx",children:"ISNSCER's Research Network connects researchers, institutions, and scientific communities across 38 countries, enabling the kind of collaborative discovery that transforms science."})]})}),l.jsxs("section",{className:"py-20 px-4 sm:px-6 lg:px-8 max-w-6xl mx-auto","data-id":"86mblbnq7","data-path":"src/pages/ResearchNetworkPage.tsx",children:[l.jsx("div",{className:"glass rounded-2xl p-8 mb-14","data-id":"4q5au9jkk","data-path":"src/pages/ResearchNetworkPage.tsx",children:l.jsx("div",{className:"grid sm:grid-cols-4 gap-6 text-center","data-id":"8jo6rhjsw","data-path":"src/pages/ResearchNetworkPage.tsx",children:[{value:"38+",label:"Partner Countries"},{value:"180+",label:"Active Collaborations"},{value:"500+",label:"Network Scientists"},{value:"3,000+",label:"Shared Resources"}].map((e,t)=>l.jsxs("div",{"data-id":"i0iq2zrue","data-path":"src/pages/ResearchNetworkPage.tsx",children:[l.jsx("div",{className:"font-exo text-3xl font-black text-gradient-teal","data-id":"6m7yqae1n","data-path":"src/pages/ResearchNetworkPage.tsx",children:e.value}),l.jsx("div",{className:"text-slate-400 text-sm mt-1","data-id":"5eqnd4myu","data-path":"src/pages/ResearchNetworkPage.tsx",children:e.label})]},t))})}),l.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6 mb-14","data-id":"p1h7288zd","data-path":"src/pages/ResearchNetworkPage.tsx",children:$E.map((e,t)=>l.jsxs("div",{className:`glass rounded-xl p-6 hover-lift border ${e.border}`,"data-id":"6u1edcou0","data-path":"src/pages/ResearchNetworkPage.tsx",children:[l.jsx(e.icon,{className:`w-8 h-8 ${e.color} mb-4`,"data-id":"1uamtg4u1","data-path":"src/pages/ResearchNetworkPage.tsx"}),l.jsx("h3",{className:`font-exo font-bold text-base mb-3 ${e.color}`,"data-id":"rq9gl01km","data-path":"src/pages/ResearchNetworkPage.tsx",children:e.title}),l.jsx("p",{className:"text-slate-400 text-sm leading-relaxed","data-id":"acbzhpfyr","data-path":"src/pages/ResearchNetworkPage.tsx",children:e.desc})]},t))}),l.jsxs("div",{className:"glass rounded-2xl p-8 text-center","data-id":"r5kdt0ujw","data-path":"src/pages/ResearchNetworkPage.tsx",children:[l.jsx("h2",{className:"font-exo text-2xl font-bold text-white mb-4","data-id":"rxvv6wswp","data-path":"src/pages/ResearchNetworkPage.tsx",children:"Future Collaboration Opportunities"}),l.jsx("p",{className:"text-slate-400 max-w-2xl mx-auto mb-8","data-id":"gdwqks6j0","data-path":"src/pages/ResearchNetworkPage.tsx",children:"ISNSCER's Research Network is growing. We are actively seeking new institutional partnerships, collaborative research projects, and emerging scientists to join our global community. Whether you are an established research institution or an early-career scientist, there is a place for you in the ISNSCER network."}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center","data-id":"pbg6hvdcc","data-path":"src/pages/ResearchNetworkPage.tsx",children:[l.jsxs(G,{to:"/contact",className:"inline-flex items-center gap-2 px-8 py-3 rounded-full btn-nano text-sm","data-id":"wzum5bcnv","data-path":"src/pages/ResearchNetworkPage.tsx",children:["Join Our Network ",l.jsx(tt,{className:"w-4 h-4","data-id":"fyx2m0yr0","data-path":"src/pages/ResearchNetworkPage.tsx"})]}),l.jsx(G,{to:"/programs/global-nanoscience",className:"inline-flex items-center gap-2 px-8 py-3 rounded-full btn-nano-outline text-sm","data-id":"m3yr38grx","data-path":"src/pages/ResearchNetworkPage.tsx",children:"Global Exchange Program"})]})]})]})]})}const UE=[{title:"International Nanoscale Science Symposium",type:"Annual Conference",desc:"ISNSCER's flagship annual conference brings together over 400 researchers, engineers, and scientists from across our global network for three days of presentations, workshops, panel discussions, and networking. The symposium covers the full spectrum of nanoscale science — from fundamental atomic physics to applied nanotechnology — and is widely regarded as one of the premier events in the global nanoscience calendar.",icon:Aa,color:"text-cyan-400",border:"border-cyan-500/30",bg:"bg-cyan-500/5"},{title:"Computational Nanoscience Forum",type:"Annual Specialized Conference",desc:"A dedicated conference for researchers and developers working at the intersection of computation and nanoscale science. The Forum focuses on the latest advances in molecular simulation, machine learning applications in nanotechnology, and algorithmic tools for atomic-scale modeling. The event includes a computational tool showcase where research teams demonstrate new platforms to the broader community.",icon:Aa,color:"text-amber-400",border:"border-amber-500/30",bg:"bg-amber-500/5"},{title:"Global Collaboration Workshop",type:"Regional Events",desc:"ISNSCER hosts regional collaboration workshops on six continents annually, creating space for researchers within geographic clusters to build local networks, develop joint research proposals, and access ISNSCER resources and mentorship. These smaller-format events have been instrumental in building research capacity in scientific communities that lack access to large international conferences.",icon:Pl,color:"text-teal-400",border:"border-teal-500/30",bg:"bg-teal-500/5"},{title:"Early-Career Researcher Symposium",type:"Biennial Conference",desc:"Held every two years, the Early-Career Researcher Symposium is exclusively designed for scientists within 10 years of their PhD. The event provides a platform for emerging scientists to present their research, receive mentorship from senior network members, connect with potential collaborators and employers, and engage with ISNSCER's fellowship and award programs.",icon:Uv,color:"text-violet-400",border:"border-violet-500/30",bg:"bg-violet-500/5"}],qE=[{title:"Distinguished Nanoscale Researcher Award",desc:"ISNSCER's highest honor, awarded annually to a scientist who has made exceptional and sustained contributions to the advancement of nanoscale science, computation, or engineering. Recipients are selected by an international jury of peer scientists and honored at the International Nanoscale Science Symposium.",icon:qv,color:"text-amber-400"},{title:"Computational Innovation Prize",desc:"Awarded to a researcher or team that has developed a computational tool, method, or framework of exceptional scientific value to the nanoscale research community. The prize specifically recognizes innovations that improve accessibility, open-access availability, or real-world applicability of computational nanoscience.",icon:_v,color:"text-cyan-400"},{title:"Emerging Nanoscientist Award",desc:"Awarded annually to a scientist within 10 years of their PhD who has demonstrated exceptional scientific creativity, productivity, and potential for future impact in nanoscale research. This award was created to elevate the visibility of early-career scientists and accelerate their access to resources, networks, and opportunities.",icon:Uv,color:"text-teal-400"},{title:"Global Collaboration Impact Award",desc:"Recognizing an individual or institution that has made outstanding contributions to international scientific collaboration in nanoscale science. This award honors the belief that the most significant advances in nanoscale science will come from researchers who transcend national and institutional boundaries in pursuit of shared scientific goals.",icon:Pl,color:"text-violet-400"}];function WE(){return l.jsxs(ke,{"data-id":"4wgm1v1c0","data-path":"src/pages/ConferencesAwardsPage.tsx",children:[l.jsx("section",{className:"relative py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"8ndpidov5","data-path":"src/pages/ConferencesAwardsPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto text-center","data-id":"d300xdb40","data-path":"src/pages/ConferencesAwardsPage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-amber-500/30 bg-amber-500/10 text-amber-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"sy4yuw4r4","data-path":"src/pages/ConferencesAwardsPage.tsx",children:"Conferences & Awards"}),l.jsxs("h1",{className:"font-exo text-4xl sm:text-5xl font-black text-white mb-6","data-id":"qdrucelv8","data-path":"src/pages/ConferencesAwardsPage.tsx",children:["Where Science Meets,",l.jsx("br",{"data-id":"ehqpnpl6s","data-path":"src/pages/ConferencesAwardsPage.tsx"}),l.jsx("span",{className:"text-gradient-gold","data-id":"v68wf6fh4","data-path":"src/pages/ConferencesAwardsPage.tsx",children:"Excellence Is Recognized"})]}),l.jsx("p",{className:"text-slate-400 text-lg max-w-3xl mx-auto","data-id":"rhjlxv91x","data-path":"src/pages/ConferencesAwardsPage.tsx",children:"ISNSCER hosts landmark scientific events and recognizes exceptional contributions that advance the nanoscale science community worldwide."})]})}),l.jsxs("section",{className:"py-20 px-4 sm:px-6 lg:px-8 max-w-5xl mx-auto","data-id":"nlgu8hj6f","data-path":"src/pages/ConferencesAwardsPage.tsx",children:[l.jsxs("div",{className:"mb-16","data-id":"8tasocxou","data-path":"src/pages/ConferencesAwardsPage.tsx",children:[l.jsxs("h2",{className:"font-exo text-2xl font-bold text-white mb-8 flex items-center gap-3","data-id":"qvnpa7lvz","data-path":"src/pages/ConferencesAwardsPage.tsx",children:[l.jsx(Aa,{className:"w-6 h-6 text-cyan-400","data-id":"jkya99eb2","data-path":"src/pages/ConferencesAwardsPage.tsx"}),"Scientific Conferences & Events"]}),l.jsx("div",{className:"grid md:grid-cols-2 gap-6","data-id":"62reldp8l","data-path":"src/pages/ConferencesAwardsPage.tsx",children:UE.map((e,t)=>l.jsxs("div",{className:`glass rounded-xl p-6 hover-lift border ${e.border} ${e.bg}`,"data-id":"yttcelplb","data-path":"src/pages/ConferencesAwardsPage.tsx",children:[l.jsx("div",{className:`text-xs font-mono-space tracking-widest uppercase mb-2 ${e.color}`,"data-id":"c4ymfeh2e","data-path":"src/pages/ConferencesAwardsPage.tsx",children:e.type}),l.jsx("h3",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"54gebtco2","data-path":"src/pages/ConferencesAwardsPage.tsx",children:e.title}),l.jsx("p",{className:"text-slate-400 text-sm leading-relaxed","data-id":"d0u8ybrz2","data-path":"src/pages/ConferencesAwardsPage.tsx",children:e.desc})]},t))})]}),l.jsxs("div",{className:"glass rounded-2xl p-8 mb-16","data-id":"70eeliisq","data-path":"src/pages/ConferencesAwardsPage.tsx",children:[l.jsx("h3",{className:"font-exo font-bold text-white text-xl mb-4","data-id":"pi2y5l6uc","data-path":"src/pages/ConferencesAwardsPage.tsx",children:"Community Impact of Scientific Gatherings"}),l.jsx("p",{className:"text-slate-400 leading-relaxed mb-4","data-id":"9oddkp20r","data-path":"src/pages/ConferencesAwardsPage.tsx",children:"ISNSCER's conferences and scientific events are more than networking opportunities — they are engines of scientific progress. Research findings presented at ISNSCER conferences have led to collaborative projects, joint publications, patent applications, and policy recommendations that would not have emerged from isolated research efforts. Our events create the intellectual conditions for scientific serendipity — the unexpected connection between researchers from different disciplines or institutions that sparks a breakthrough that neither could have achieved alone."}),l.jsx("p",{className:"text-slate-400 leading-relaxed","data-id":"38la7df7q","data-path":"src/pages/ConferencesAwardsPage.tsx",children:"Over our 20-year history, ISNSCER events have engaged more than 8,000 unique conference participants from over 50 countries, generated over 1,200 presentations and research demonstrations, and facilitated hundreds of collaborative research agreements. The scientific relationships forged at our events continue long after the conferences end, sustaining active research collaborations that advance nanoscale science year-round."})]}),l.jsxs("div",{"data-id":"cs4ezc3yd","data-path":"src/pages/ConferencesAwardsPage.tsx",children:[l.jsxs("h2",{className:"font-exo text-2xl font-bold text-white mb-8 flex items-center gap-3","data-id":"xdif0bua6","data-path":"src/pages/ConferencesAwardsPage.tsx",children:[l.jsx(qv,{className:"w-6 h-6 text-amber-400","data-id":"ufg7jdegk","data-path":"src/pages/ConferencesAwardsPage.tsx"}),"Recognition & Award Programs"]}),l.jsx("div",{className:"grid md:grid-cols-2 gap-6","data-id":"5gzyz3f47","data-path":"src/pages/ConferencesAwardsPage.tsx",children:qE.map((e,t)=>l.jsxs("div",{className:"glass rounded-xl p-6 hover-lift","data-id":"hh1ne9nbr","data-path":"src/pages/ConferencesAwardsPage.tsx",children:[l.jsx(e.icon,{className:`w-8 h-8 ${e.color} mb-4`,"data-id":"x6vjbrpbi","data-path":"src/pages/ConferencesAwardsPage.tsx"}),l.jsx("h3",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"imr42otxs","data-path":"src/pages/ConferencesAwardsPage.tsx",children:e.title}),l.jsx("p",{className:"text-slate-400 text-sm leading-relaxed","data-id":"4n5cs7ehp","data-path":"src/pages/ConferencesAwardsPage.tsx",children:e.desc})]},t))})]}),l.jsx("div",{className:"mt-12 text-center","data-id":"bjr2pk1rb","data-path":"src/pages/ConferencesAwardsPage.tsx",children:l.jsxs(G,{to:"/contact",className:"inline-flex items-center gap-2 px-10 py-4 rounded-full btn-nano text-base","data-id":"vo3uua5q3","data-path":"src/pages/ConferencesAwardsPage.tsx",children:["Learn How to Participate",l.jsx(tt,{className:"w-5 h-5","data-id":"sflsbsahz","data-path":"src/pages/ConferencesAwardsPage.tsx"})]})})]})]})}const GE=[{value:"240+",label:"Research Initiatives Supported"},{value:"1,200+",label:"Scientific Papers Presented"},{value:"180+",label:"Collaborative Projects Facilitated"},{value:"8,000+",label:"Conference Participants Engaged"},{value:"12",label:"Research Tools Developed & Released"},{value:"38",label:"Countries Represented Through Partnerships"}],KE=[{name:"Dr. Amara Diallo",role:"Early-Career Researcher",location:"Dakar, Senegal",image:"https://images.unsplash.com/photo-1531123897727-8f129e1688ce?w=300&q=80",story:"Before connecting with ISNSCER's Emerging Researcher Fellowship Program, I was conducting promising nanoscale biology research at my institution in Dakar but lacked access to the computational tools and international collaborators my work required. The fellowship changed everything — it funded a six-month research exchange at a partner institution in Germany, matched me with a senior mentor in molecular simulation, and gave my research global visibility when I presented at the International Nanoscale Science Symposium. The connections I made through ISNSCER led directly to a co-authored paper in Nature Nanotechnology and an ongoing collaboration with research teams in Germany, Japan, and Brazil. ISNSCER demonstrated that world-class nanoscale science doesn't require a world-class institution — it requires the right network, and that's exactly what they provide."},{name:"Dr. Kenji Watanabe",role:"Interdisciplinary Research Team Member",location:"Osaka, Japan",image:"https://images.unsplash.com/photo-1552058544-f2b08422138a?w=300&q=80",story:"I am a physicist by training, but my most impactful research has been at the boundary of physics and molecular biology — an interdisciplinary space that few institutions are equipped to support. ISNSCER's Global Nanoscience Exchange Network gave our team — drawn from four institutions across three countries — the infrastructure to collaborate effectively. The shared computational platform, coordinated by ISNSCER's Molecular Computation Lab, allowed our team to run simulations we could never have afforded independently. The annual symposium became our annual reunion, where we reviewed results, challenged each other's assumptions, and planned the next phase of research. Our work on quantum effects in biological molecules has attracted significant international research funding, and I credit ISNSCER's collaboration infrastructure as the foundation that made it possible."},{name:"Prof. Ingrid Müller",role:"Conference Participant & Award Recipient",location:"Munich, Germany",image:"https://images.unsplash.com/photo-1594744803329-e58b31de8bf5?w=300&q=80",story:"Receiving ISNSCER's Distinguished Nanoscale Researcher Award was one of the most meaningful moments of my scientific career — not because of the prestige, but because of who the recognition came from: a global community of peers who understand the significance of atomic-scale research. I have attended ISNSCER conferences for 15 years, and I have watched the organization grow from a small network of passionate researchers into a genuine global scientific institution. The conferences have been instrumental in connecting my laboratory's work with complementary research happening elsewhere — connections that have led to three major collaborative grants and two technology licensing agreements. ISNSCER has given me colleagues who have become scientific partners, and scientific partners who have become lifelong friends. The organization embodies what is best about the global scientific community."}];function QE(){return l.jsxs(ke,{"data-id":"2wfnudost","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("section",{className:"relative py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"slv5gibbz","data-path":"src/pages/ImpactPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto text-center","data-id":"yxaw9knsb","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-cyan-500/30 bg-cyan-500/10 text-cyan-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"hs3cavoob","data-path":"src/pages/ImpactPage.tsx",children:"Our Impact"}),l.jsxs("h1",{className:"font-exo text-4xl sm:text-5xl font-black text-white mb-6","data-id":"gltyutu0s","data-path":"src/pages/ImpactPage.tsx",children:["Measuring Progress at",l.jsx("br",{"data-id":"wa6ldr4gx","data-path":"src/pages/ImpactPage.tsx"}),l.jsx("span",{className:"text-gradient-teal","data-id":"js3jioddj","data-path":"src/pages/ImpactPage.tsx",children:"Every Scale"})]})]})}),l.jsxs("section",{className:"py-20 px-4 sm:px-6 lg:px-8 max-w-5xl mx-auto","data-id":"15msby4a5","data-path":"src/pages/ImpactPage.tsx",children:[l.jsxs("div",{className:"space-y-6 text-slate-300 leading-relaxed text-lg mb-16","data-id":"k8qeti625","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("p",{"data-id":"as3bn77qe","data-path":"src/pages/ImpactPage.tsx",children:"At ISNSCER, impact is not an abstract concept — it is measured in research projects funded, collaborations established, scientists supported, tools developed, and conferences hosted. Every metric we track reflects a real scientific outcome: a discovery made, a collaboration forged, a researcher empowered, or a community advanced. Over two decades of sustained operation, our cumulative impact has grown into a significant scientific and social legacy, with direct contributions to the global nanoscale research record and the careers of hundreds of researchers worldwide."}),l.jsx("p",{"data-id":"6bag0usa2","data-path":"src/pages/ImpactPage.tsx",children:"The true measure of ISNSCER's impact, however, lies not just in the numbers but in the downstream effects of the science we enable. The research initiatives we have supported have generated findings that inform material science applications, pharmaceutical research, quantum computing development, and environmental remediation technologies. The computational tools our Molecular Computation Innovation Lab has developed have been adopted by researchers at over 100 institutions worldwide, multiplying our direct impact exponentially. The international collaborations our Global Nanoscience Exchange Network has facilitated have connected scientific communities that would otherwise never have interacted, creating emergent research directions that no single institution or discipline could have produced alone. This is the compounding impact of organizational investment in scientific infrastructure — each connection we make, each tool we develop, and each researcher we support generates scientific value that extends far beyond our direct organizational reach."})]}),l.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6 mb-16","data-id":"5jj648ssy","data-path":"src/pages/ImpactPage.tsx",children:GE.map((e,t)=>l.jsxs("div",{className:"glass rounded-xl p-6 text-center hover-lift","data-id":"2jlgb3mss","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("div",{className:"font-exo text-4xl font-black text-gradient-teal mb-2","data-id":"sfagklt8n","data-path":"src/pages/ImpactPage.tsx",children:e.value}),l.jsx("div",{className:"text-slate-400 text-sm","data-id":"htl5cuby5","data-path":"src/pages/ImpactPage.tsx",children:e.label})]},t))}),l.jsxs("h2",{className:"font-exo text-2xl font-bold text-white mb-8 text-center","data-id":"zm71voatm","data-path":"src/pages/ImpactPage.tsx",children:["Success Stories & ",l.jsx("span",{className:"text-gradient-teal","data-id":"gmg1r9dmc","data-path":"src/pages/ImpactPage.tsx",children:"Testimonials"})]}),l.jsx("div",{className:"space-y-8","data-id":"ygws68aud","data-path":"src/pages/ImpactPage.tsx",children:KE.map((e,t)=>l.jsx("div",{className:"glass rounded-2xl p-6 sm:p-8 hover-lift","data-id":"43ligyi5j","data-path":"src/pages/ImpactPage.tsx",children:l.jsxs("div",{className:"flex flex-col sm:flex-row gap-6","data-id":"jane2ccbm","data-path":"src/pages/ImpactPage.tsx",children:[l.jsxs("div",{className:"flex-shrink-0 text-center sm:text-left","data-id":"0vxkla1a5","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("div",{className:"w-20 h-20 rounded-2xl overflow-hidden border-2 border-cyan-500/30 mx-auto sm:mx-0 mb-3","data-id":"0sbyit4cu","data-path":"src/pages/ImpactPage.tsx",children:l.jsx("img",{src:e.image,alt:e.name,className:"w-full h-full object-cover","data-id":"e44001pue","data-path":"src/pages/ImpactPage.tsx"})}),l.jsx("div",{className:"font-exo font-bold text-white text-sm","data-id":"05uimfz9m","data-path":"src/pages/ImpactPage.tsx",children:e.name}),l.jsx("div",{className:"text-cyan-400 text-xs mt-0.5","data-id":"9111bzjg0","data-path":"src/pages/ImpactPage.tsx",children:e.role}),l.jsx("div",{className:"text-slate-500 text-xs mt-0.5","data-id":"y99d8bb1h","data-path":"src/pages/ImpactPage.tsx",children:e.location})]}),l.jsxs("div",{"data-id":"m9dgmkglb","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx(Pk,{className:"w-6 h-6 text-cyan-400/40 mb-3","data-id":"l0bnt9q0c","data-path":"src/pages/ImpactPage.tsx"}),l.jsx("p",{className:"text-slate-300 leading-relaxed text-sm","data-id":"m818zt44t","data-path":"src/pages/ImpactPage.tsx",children:e.story})]})]})},t))}),l.jsx("div",{className:"mt-12 text-center","data-id":"tt5ff9r7e","data-path":"src/pages/ImpactPage.tsx",children:l.jsxs(G,{to:"/donate",className:"inline-flex items-center gap-2 px-10 py-4 rounded-full btn-gold text-base","data-id":"enff6pv5t","data-path":"src/pages/ImpactPage.tsx",children:["Support Our Impact ",l.jsx(tt,{className:"w-5 h-5","data-id":"3ojwvsoxt","data-path":"src/pages/ImpactPage.tsx"})]})})]})]})}const YE=[{title:"One-Time Donation",amounts:["$25","$50","$100","$250","$500","Custom"],desc:"Make an immediate impact with a one-time contribution that directly supports our scientific research programs, conferences, and researcher support initiatives.",color:"border-cyan-500/40",bg:"bg-cyan-500/5",accent:"text-cyan-400",btn:"btn-nano"},{title:"Monthly Research Supporter",amounts:["$10/mo","$25/mo","$50/mo","$100/mo","$200/mo","Custom"],desc:"Sustain long-term scientific progress with a monthly recurring gift. Monthly supporters provide the reliable funding that enables ISNSCER to plan and execute multi-year research and collaboration programs.",color:"border-amber-500/40",bg:"bg-amber-500/5",accent:"text-amber-400",btn:"btn-gold",featured:!0},{title:"Sponsor Molecular Computation Innovation Lab",amounts:["$1,000","$5,000","$10,000","$25,000"],desc:"Become a named sponsor of ISNSCER's Molecular Computation Innovation Lab, supporting the development of open-access computational tools that accelerate nanoscale research worldwide.",color:"border-violet-500/40",bg:"bg-violet-500/5",accent:"text-violet-400",btn:"bg-violet-600 text-white hover:bg-violet-500"}],XE=[{amount:"$25",impact:"Provides a researcher with access to one scientific resource database for a month"},{amount:"$50",impact:"Funds one virtual research seminar connecting scientists across multiple countries"},{amount:"$100",impact:"Supports one early-career researcher's conference travel grant application"},{amount:"$250",impact:"Funds one month of computational modeling tool development for the Innovation Lab"},{amount:"$500",impact:"Provides a fellowship stipend supplement for one emerging nanoscale scientist"},{amount:"$1,000",impact:"Sponsors one keynote presentation at our International Nanoscale Science Symposium"}];function ZE(){return l.jsxs(ke,{"data-id":"n1p2dlwil","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("section",{className:"relative py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"qfzd9btq2","data-path":"src/pages/DonatePage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto text-center","data-id":"np9xlmssz","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-amber-500/30 bg-amber-500/10 text-amber-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"96usorjdf","data-path":"src/pages/DonatePage.tsx",children:"Make a Difference"}),l.jsxs("h1",{className:"font-exo text-4xl sm:text-5xl font-black text-white mb-6","data-id":"g9svsym8d","data-path":"src/pages/DonatePage.tsx",children:["Fund the Future of",l.jsx("br",{"data-id":"0tf9gaz8w","data-path":"src/pages/DonatePage.tsx"}),l.jsx("span",{className:"text-gradient-gold","data-id":"e4zvtvhsq","data-path":"src/pages/DonatePage.tsx",children:"Nanoscale Science"})]}),l.jsx("p",{className:"text-slate-400 text-lg max-w-2xl mx-auto","data-id":"2tk6586n0","data-path":"src/pages/DonatePage.tsx",children:"Your donation directly accelerates scientific discovery, powers breakthrough research, and expands the global impact of nanotechnology."})]})}),l.jsxs("section",{className:"py-20 px-4 sm:px-6 lg:px-8 max-w-5xl mx-auto","data-id":"21ofzwbqj","data-path":"src/pages/DonatePage.tsx",children:[l.jsxs("div",{className:"mb-16","data-id":"o6hvrnvi4","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("h2",{className:"font-exo text-2xl font-bold text-white mb-6","data-id":"hirirygz3","data-path":"src/pages/DonatePage.tsx",children:"Why Your Support Matters"}),l.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4 mb-8","data-id":"n6noqetku","data-path":"src/pages/DonatePage.tsx",children:[{label:"Scientific Research",desc:"Fund nanoscale research projects that generate foundational scientific knowledge."},{label:"Computational Innovation",desc:"Support the development of open-access computational tools for the global research community."},{label:"Conference Development",desc:"Enable world-class scientific conferences that connect researchers across disciplines and borders."},{label:"Research Collaboration",desc:"Power the Global Nanoscience Exchange Network that facilitates 180+ active collaborations."},{label:"Emerging Scientist Support",desc:"Provide fellowships and grants to early-career researchers at pivotal moments in their careers."},{label:"Public Science Engagement",desc:"Fund science communication initiatives that make nanoscale discoveries accessible to all."}].map((e,t)=>l.jsxs("div",{className:"glass rounded-xl p-4 flex gap-3","data-id":"c8s70mew2","data-path":"src/pages/DonatePage.tsx",children:[l.jsx(Or,{className:"w-4 h-4 text-amber-400 mt-0.5 flex-shrink-0","data-id":"uctzgb6q9","data-path":"src/pages/DonatePage.tsx"}),l.jsxs("div",{"data-id":"vf2u7dffl","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("div",{className:"font-exo font-bold text-white text-sm mb-1","data-id":"0p8w43kwt","data-path":"src/pages/DonatePage.tsx",children:e.label}),l.jsx("div",{className:"text-slate-400 text-xs leading-relaxed","data-id":"5bcjp501g","data-path":"src/pages/DonatePage.tsx",children:e.desc})]})]},t))})]}),l.jsx("div",{className:"grid lg:grid-cols-3 gap-6 mb-16","data-id":"ar7ia1qoq","data-path":"src/pages/DonatePage.tsx",children:YE.map((e,t)=>l.jsxs("div",{className:`glass rounded-2xl p-6 border ${e.color} ${e.bg} ${e.featured?"ring-2 ring-amber-500/40":""} hover-lift`,"data-id":"jsiqafy7d","data-path":"src/pages/DonatePage.tsx",children:[e.featured&&l.jsxs("div",{className:"text-xs font-mono-space text-amber-400 tracking-widest uppercase mb-3 flex items-center gap-1","data-id":"jw7bjzy2o","data-path":"src/pages/DonatePage.tsx",children:[l.jsx(lk,{className:"w-3 h-3","data-id":"ghs0flnsh","data-path":"src/pages/DonatePage.tsx"})," Most Impactful"]}),l.jsx("h3",{className:`font-exo font-bold text-lg mb-3 ${e.accent}`,"data-id":"lsb0pwst7","data-path":"src/pages/DonatePage.tsx",children:e.title}),l.jsx("p",{className:"text-slate-400 text-sm leading-relaxed mb-5","data-id":"n4t8lqppd","data-path":"src/pages/DonatePage.tsx",children:e.desc}),l.jsx("div",{className:"grid grid-cols-2 gap-2 mb-5","data-id":"wfcxbxhfl","data-path":"src/pages/DonatePage.tsx",children:e.amounts.map((n,a)=>l.jsx("button",{className:`py-1.5 px-3 rounded-lg border ${e.color} text-sm ${e.accent} hover:bg-white/5 transition-colors font-mono-space`,"data-id":"hh28rlyxz","data-path":"src/pages/DonatePage.tsx",children:n},a))}),l.jsx("button",{className:`w-full py-3 rounded-xl font-exo font-bold text-sm transition-all ${e.btn}`,"data-id":"axie6a1s0","data-path":"src/pages/DonatePage.tsx",children:"Proceed to Donate"})]},t))}),l.jsxs("div",{className:"glass rounded-2xl p-8 border border-amber-500/20 mb-10","data-id":"zm7olvmsj","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("h3",{className:"font-exo font-bold text-white text-lg mb-4","data-id":"xgizd4c1b","data-path":"src/pages/DonatePage.tsx",children:"Your Donation's Impact"}),l.jsx("div",{className:"space-y-3","data-id":"nef9jd63p","data-path":"src/pages/DonatePage.tsx",children:XE.map((e,t)=>l.jsxs("div",{className:"flex gap-4 items-start","data-id":"oqfzysdju","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("span",{className:"font-mono-space text-amber-400 font-bold text-sm w-16 flex-shrink-0","data-id":"61yr16ucn","data-path":"src/pages/DonatePage.tsx",children:e.amount}),l.jsx("span",{className:"text-slate-400 text-sm","data-id":"hx2c3tlwy","data-path":"src/pages/DonatePage.tsx",children:e.impact})]},t))})]}),l.jsx("div",{className:"glass rounded-2xl p-8 border-l-4 border-amber-400 mb-8","data-id":"ilxyggxtj","data-path":"src/pages/DonatePage.tsx",children:l.jsx("p",{className:"text-slate-300 italic leading-relaxed mb-3","data-id":"7l47gkbf0","data-path":"src/pages/DonatePage.tsx",children:`"Your donation directly supports INTERNATIONAL SOCIETY FOR NANOSCALE SCIENCE COMPUTING & ENGINEERING's mission: International Society for Nanoscale Science, Computation and Engineering is dedicated to advancing nanoscale science, computation, and engineering by promoting research on atomic-scale control, developing innovative tools and methods, fostering molecular computation, encouraging interdisciplinary collaboration, supporting scientific conferences, recognizing outstanding contributions, and strengthening the growth and visibility of nanotechnology worldwide. Together, we can create lasting change."`})}),l.jsx("div",{className:"glass rounded-xl p-5 border border-white/5","data-id":"35vfze766","data-path":"src/pages/DonatePage.tsx",children:l.jsxs("p",{className:"text-slate-500 text-xs leading-relaxed text-center","data-id":"81t41izlu","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("strong",{className:"text-slate-400","data-id":"zj6izbnhv","data-path":"src/pages/DonatePage.tsx",children:"INTERNATIONAL SOCIETY FOR NANOSCALE SCIENCE COMPUTING & ENGINEERING"})," is a registered nonprofit organization (Registration No: 20-1472291). Donations may be tax-deductible as permitted by applicable laws. Please consult your tax advisor for specific guidance regarding the deductibility of your contribution."]})})]})]})}const JE=[{slug:"nanoscale-science-shaping-technology",title:"How Nanoscale Science Is Shaping the Future of Technology",excerpt:"At the atomic scale, matter reveals properties and behaviors that challenge our understanding of physics, chemistry, and engineering — and open extraordinary opportunities for technological innovation.",date:"May 14, 2026",readTime:"8 min read",category:"Nanoscale Research & Scientific Discovery",image:"https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?w=700&q=80",categoryColor:"text-cyan-400"},{slug:"molecules-to-solutions-computational-nanoscience",title:"From Molecules to Solutions: Understanding Computational Nanoscience",excerpt:"Computational nanoscience is transforming our ability to explore the atomic world — enabling researchers to model phenomena that are too small to observe directly and too complex to analyze by hand.",date:"April 28, 2026",readTime:"9 min read",category:"Computational Innovation & Molecular Engineering",image:"https://images.unsplash.com/photo-1635070041078-e363dbe005cb?w=700&q=80",categoryColor:"text-amber-400"}];function eA(){return l.jsxs(ke,{"data-id":"36aulmg01","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("section",{className:"relative py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"gfuyyaee8","data-path":"src/pages/BlogPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto text-center","data-id":"4132z3f6k","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-cyan-500/30 bg-cyan-500/10 text-cyan-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"vbm2lurvj","data-path":"src/pages/BlogPage.tsx",children:"Blog & Insights"}),l.jsxs("h1",{className:"font-exo text-4xl sm:text-5xl font-black text-white mb-6","data-id":"wmzryd7tb","data-path":"src/pages/BlogPage.tsx",children:["Science Made",l.jsx("br",{"data-id":"28igxl4kk","data-path":"src/pages/BlogPage.tsx"}),l.jsx("span",{className:"text-gradient-teal","data-id":"74tgyrkvf","data-path":"src/pages/BlogPage.tsx",children:"Accessible"})]}),l.jsx("p",{className:"text-slate-400 text-lg max-w-2xl mx-auto","data-id":"m10vwvfxe","data-path":"src/pages/BlogPage.tsx",children:"Translating cutting-edge nanoscale research into accessible insights for researchers, students, policymakers, and the scientifically curious."})]})}),l.jsx("section",{className:"py-20 px-4 sm:px-6 lg:px-8 max-w-5xl mx-auto","data-id":"52m0fpaxu","data-path":"src/pages/BlogPage.tsx",children:l.jsx("div",{className:"grid lg:grid-cols-2 gap-8","data-id":"3exk0ot36","data-path":"src/pages/BlogPage.tsx",children:JE.map(e=>l.jsxs(G,{to:`/blog/${e.slug}`,className:"glass rounded-2xl overflow-hidden hover-lift group","data-id":"mud574mth","data-path":"src/pages/BlogPage.tsx",children:[l.jsxs("div",{className:"relative overflow-hidden h-52","data-id":"dgka2usvx","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500","data-id":"y2holxgge","data-path":"src/pages/BlogPage.tsx"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#060d1a] to-transparent","data-id":"8bmu3o1j6","data-path":"src/pages/BlogPage.tsx"}),l.jsx("div",{className:`absolute bottom-4 left-4 text-xs font-mono-space tracking-widest uppercase ${e.categoryColor}`,"data-id":"5pl2hiae5","data-path":"src/pages/BlogPage.tsx",children:e.category})]}),l.jsxs("div",{className:"p-6","data-id":"894wd449t","data-path":"src/pages/BlogPage.tsx",children:[l.jsxs("div",{className:"flex items-center gap-4 text-xs text-slate-500 mb-3","data-id":"6zu558lwl","data-path":"src/pages/BlogPage.tsx",children:[l.jsxs("span",{className:"flex items-center gap-1","data-id":"xp36dtthb","data-path":"src/pages/BlogPage.tsx",children:[l.jsx(Aa,{className:"w-3 h-3","data-id":"d4dhsb5w9","data-path":"src/pages/BlogPage.tsx"}),e.date]}),l.jsxs("span",{className:"flex items-center gap-1","data-id":"l1au764tx","data-path":"src/pages/BlogPage.tsx",children:[l.jsx(Ch,{className:"w-3 h-3","data-id":"90xkkucxo","data-path":"src/pages/BlogPage.tsx"}),e.readTime]})]}),l.jsx("h2",{className:"font-exo font-bold text-white text-xl mb-3 group-hover:text-cyan-400 transition-colors","data-id":"x4jyygt66","data-path":"src/pages/BlogPage.tsx",children:e.title}),l.jsx("p",{className:"text-slate-400 text-sm leading-relaxed mb-4","data-id":"z57wve5v0","data-path":"src/pages/BlogPage.tsx",children:e.excerpt}),l.jsxs("span",{className:"text-cyan-400 text-sm flex items-center gap-1 font-semibold","data-id":"e7s2djew4","data-path":"src/pages/BlogPage.tsx",children:["Read Article ",l.jsx(Mu,{className:"w-4 h-4","data-id":"uamy9wb43","data-path":"src/pages/BlogPage.tsx"})]})]})]},e.slug))})})]})}function tA(){return l.jsxs(ke,{"data-id":"2959wkj5y","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx("section",{className:"py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"8jcqq5w3s","data-path":"src/pages/BlogArticle1Page.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto","data-id":"mxfmvfi4i","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsxs(G,{to:"/blog",className:"inline-flex items-center gap-2 text-cyan-400 text-sm mb-8 hover:text-cyan-300 transition-colors","data-id":"omflyoa6b","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx(_s,{className:"w-4 h-4","data-id":"qquwdjyo0","data-path":"src/pages/BlogArticle1Page.tsx"})," Back to Blog"]}),l.jsx("div",{className:"text-xs font-mono-space text-cyan-400 tracking-widest uppercase mb-4","data-id":"kfhn6qgb3","data-path":"src/pages/BlogArticle1Page.tsx",children:"Nanoscale Research & Scientific Discovery"}),l.jsx("h1",{className:"font-exo text-3xl sm:text-4xl font-black text-white mb-6 leading-tight","data-id":"06vnw44gq","data-path":"src/pages/BlogArticle1Page.tsx",children:"How Nanoscale Science Is Shaping the Future of Technology"}),l.jsxs("div",{className:"flex items-center gap-5 text-sm text-slate-500 mb-8","data-id":"79ille57y","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsxs("span",{className:"flex items-center gap-1.5","data-id":"jcjypx3yp","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx(Aa,{className:"w-4 h-4","data-id":"vrdb61gnb","data-path":"src/pages/BlogArticle1Page.tsx"})," May 14, 2026"]}),l.jsxs("span",{className:"flex items-center gap-1.5","data-id":"yz3yznsm4","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx(Ch,{className:"w-4 h-4","data-id":"thmokkz13","data-path":"src/pages/BlogArticle1Page.tsx"})," 8 min read"]}),l.jsx("span",{"data-id":"r5jootbe9","data-path":"src/pages/BlogArticle1Page.tsx",children:"By ISNSCER Editorial Team"})]}),l.jsx("div",{className:"rounded-2xl overflow-hidden border border-cyan-500/20 mb-10","data-id":"jgvu0udmt","data-path":"src/pages/BlogArticle1Page.tsx",children:l.jsx("img",{src:"https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?w=1200&q=80",alt:"Nanoscale Science and Technology",className:"w-full h-72 object-cover","data-id":"5ef1o66vn","data-path":"src/pages/BlogArticle1Page.tsx"})})]})}),l.jsxs("article",{className:"py-10 px-4 sm:px-6 lg:px-8 max-w-3xl mx-auto","data-id":"hw85ul3ji","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsxs("div",{className:"prose prose-invert max-w-none space-y-6 text-slate-300 leading-relaxed text-base","data-id":"9ffmdpc7y","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx("p",{"data-id":"uemm8738f","data-path":"src/pages/BlogArticle1Page.tsx",children:"Imagine a world where materials are engineered to be exactly as strong, conductive, or reactive as they need to be — not by chance, but by precise atomic-level design. A world where medical treatments are delivered directly to diseased cells with molecular accuracy, bypassing healthy tissue entirely. A world where computing power is stored in structures smaller than a human hair, consuming a fraction of the energy required today. This world is not science fiction — it is the logical destination of a scientific field that has been quietly reshaping the foundations of human technology for the past four decades: nanoscale science."}),l.jsx("h2",{className:"font-exo font-bold text-white text-xl mt-8","data-id":"qta37g6e4","data-path":"src/pages/BlogArticle1Page.tsx",children:"What Is the Nanoscale, and Why Does It Matter?"}),l.jsx("p",{"data-id":"ttoxsbgqo","data-path":"src/pages/BlogArticle1Page.tsx",children:"The nanoscale refers to dimensions measured in nanometers — billionths of a meter. At this scale, structures are assembled atom by atom or molecule by molecule, and the rules that govern their behavior shift dramatically from what we observe in the everyday world. A gold nanoparticle, for example, appears red or purple rather than gold, because light interacts with it according to quantum mechanical principles rather than classical optics. Carbon arranged at the nanoscale into tubes (carbon nanotubes) or sheets (graphene) becomes stronger than steel while remaining lighter than most engineering metals. These quantum-scale effects are not anomalies — they are the defining features of the nanoscale, and they represent extraordinary opportunities for anyone who can harness them."}),l.jsx("h2",{className:"font-exo font-bold text-white text-xl mt-8","data-id":"gazz1x0nk","data-path":"src/pages/BlogArticle1Page.tsx",children:"Atomic-Scale Innovation Across Scientific Domains"}),l.jsx("p",{"data-id":"3h4t9e6bo","data-path":"src/pages/BlogArticle1Page.tsx",children:"The impact of nanoscale science is already visible across virtually every major technological domain. In medicine, nanoparticles are being engineered to cross the blood-brain barrier and deliver therapeutic agents directly to tumor cells — a capability that conventional drug delivery systems cannot match. In energy, nanostructured electrodes in next-generation batteries dramatically increase energy storage density and charge cycle life, accelerating the transition to renewable energy. In electronics, transistors have now crossed the nanometer threshold, with Intel's most recent chips featuring structures measured in single-digit nanometers — and the research frontier is already pushing toward molecular-scale logic gates that operate by the movement of individual electrons."}),l.jsx("h2",{className:"font-exo font-bold text-white text-xl mt-8","data-id":"8ybheqa7t","data-path":"src/pages/BlogArticle1Page.tsx",children:"The Role of Emerging Technologies"}),l.jsx("p",{"data-id":"vvtdckvu8","data-path":"src/pages/BlogArticle1Page.tsx",children:"What distinguishes the current era of nanoscale science from earlier decades is the convergence of multiple enabling technologies that are accelerating discovery simultaneously. Advanced imaging systems — particularly cryo-electron microscopy and aberration-corrected transmission electron microscopy — now allow scientists to image individual atoms within complex structures and watch chemical reactions unfold at the molecular scale in real time. Artificial intelligence and machine learning algorithms are being applied to predict the properties of novel nanomaterials, compress years of trial-and-error synthesis into weeks of computational screening, and identify patterns in experimental data that human researchers might take years to recognize. These tools do not replace the fundamental scientific work of hypothesis, experiment, and interpretation — they amplify it, compressing discovery cycles and expanding the range of scientific questions that can be addressed in a single research generation."}),l.jsx("h2",{className:"font-exo font-bold text-white text-xl mt-8","data-id":"3sufbay9i","data-path":"src/pages/BlogArticle1Page.tsx",children:"Societal Applications That Will Transform Lives"}),l.jsx("p",{"data-id":"idfwi60hx","data-path":"src/pages/BlogArticle1Page.tsx",children:"The practical applications of nanoscale science that are already moving from the laboratory into the real world tell a compelling story of societal benefit. Nanoparticle-based sunscreens offer superior UV protection with transparent formulations that conventional chemicals cannot match. Nano-enabled water filtration membranes can remove contaminants — including heavy metals, pathogens, and pharmaceutical residues — at a fraction of the energy cost of conventional filtration, with major implications for global water security. Nanomaterial-reinforced composites are enabling lighter, stronger structural materials for aerospace, automotive, and construction applications, reducing energy consumption throughout the product lifecycle. And at the research frontier, atomic-scale transistors and quantum dots are laying the groundwork for quantum computing architectures that could solve optimization problems far beyond the reach of classical computers."}),l.jsx("h2",{className:"font-exo font-bold text-white text-xl mt-8","data-id":"lietkwift","data-path":"src/pages/BlogArticle1Page.tsx",children:"Future Opportunities: Where Science Is Headed"}),l.jsx("p",{"data-id":"imx30wzme","data-path":"src/pages/BlogArticle1Page.tsx",children:"Looking ahead, the most transformative opportunities in nanoscale science are likely to emerge at the intersections of disciplines. The integration of nanoscale electronics with biological systems — sometimes called nanoelectromedicine — promises diagnostic and therapeutic capabilities that blur the boundary between technology and biology. Molecular machines — nanoscale devices capable of performing mechanical work at the molecular level — are moving from theoretical concepts to laboratory realities, with potential applications in drug delivery, molecular manufacturing, and environmental remediation. And the growing field of quantum nanoscience, which explores quantum mechanical phenomena in nanoscale structures, is opening pathways to computing, communication, and sensing technologies that operate by fundamentally different physical principles than anything in current use."}),l.jsx("h2",{className:"font-exo font-bold text-white text-xl mt-8","data-id":"upyortvkm","data-path":"src/pages/BlogArticle1Page.tsx",children:"The Imperative of Organized Scientific Collaboration"}),l.jsx("p",{"data-id":"bkmnt4l4u","data-path":"src/pages/BlogArticle1Page.tsx",children:"None of these advances will emerge from isolated research efforts. The complexity of nanoscale science — spanning physics, chemistry, biology, materials science, and computer science simultaneously — means that the most significant breakthroughs require teams of researchers from multiple disciplines working together in coordinated frameworks. Organizations like ISNSCER exist precisely to provide that coordination: to build the networks, develop the tools, host the conferences, and support the researchers who are doing the fundamental scientific work that will enable the nanoscale revolution. The future being shaped at the atomic scale belongs to all of humanity — and it will be built by the scientific community working together, at every scale."})]}),l.jsx("div",{className:"mt-12 pt-8 border-t border-white/10 text-center","data-id":"8ft1tnzhr","data-path":"src/pages/BlogArticle1Page.tsx",children:l.jsxs(G,{to:"/blog",className:"inline-flex items-center gap-2 text-cyan-400 hover:text-cyan-300 transition-colors text-sm font-semibold","data-id":"xredwokpp","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx(_s,{className:"w-4 h-4","data-id":"31ypwp0zh","data-path":"src/pages/BlogArticle1Page.tsx"})," Back to All Articles"]})})]})]})}function nA(){return l.jsxs(ke,{"data-id":"pcykyq03s","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx("section",{className:"py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"jbjkbs6kc","data-path":"src/pages/BlogArticle2Page.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto","data-id":"blza26bcl","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsxs(G,{to:"/blog",className:"inline-flex items-center gap-2 text-cyan-400 text-sm mb-8 hover:text-cyan-300 transition-colors","data-id":"4gqewhiel","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx(_s,{className:"w-4 h-4","data-id":"35uohq4s5","data-path":"src/pages/BlogArticle2Page.tsx"})," Back to Blog"]}),l.jsx("div",{className:"text-xs font-mono-space text-amber-400 tracking-widest uppercase mb-4","data-id":"8nrpkad16","data-path":"src/pages/BlogArticle2Page.tsx",children:"Computational Innovation & Molecular Engineering"}),l.jsx("h1",{className:"font-exo text-3xl sm:text-4xl font-black text-white mb-6 leading-tight","data-id":"v7y1w8x43","data-path":"src/pages/BlogArticle2Page.tsx",children:"From Molecules to Solutions: Understanding Computational Nanoscience"}),l.jsxs("div",{className:"flex items-center gap-5 text-sm text-slate-500 mb-8","data-id":"rrhc78om2","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsxs("span",{className:"flex items-center gap-1.5","data-id":"hgx76zoae","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx(Aa,{className:"w-4 h-4","data-id":"92xjhaov0","data-path":"src/pages/BlogArticle2Page.tsx"})," April 28, 2026"]}),l.jsxs("span",{className:"flex items-center gap-1.5","data-id":"qjk22cpew","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx(Ch,{className:"w-4 h-4","data-id":"sap3asvif","data-path":"src/pages/BlogArticle2Page.tsx"})," 9 min read"]}),l.jsx("span",{"data-id":"n7w5etq5d","data-path":"src/pages/BlogArticle2Page.tsx",children:"By ISNSCER Editorial Team"})]}),l.jsx("div",{className:"rounded-2xl overflow-hidden border border-amber-500/20 mb-10","data-id":"f3c10gi93","data-path":"src/pages/BlogArticle2Page.tsx",children:l.jsx("img",{src:"https://images.unsplash.com/photo-1635070041078-e363dbe005cb?w=1200&q=80",alt:"Computational Nanoscience",className:"w-full h-72 object-cover","data-id":"e1at5awhg","data-path":"src/pages/BlogArticle2Page.tsx"})})]})}),l.jsxs("article",{className:"py-10 px-4 sm:px-6 lg:px-8 max-w-3xl mx-auto","data-id":"fo0a3v867","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsxs("div",{className:"prose prose-invert max-w-none space-y-6 text-slate-300 leading-relaxed text-base","data-id":"hsbj2b0ch","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx("p",{"data-id":"trfypm0up","data-path":"src/pages/BlogArticle2Page.tsx",children:"Science has always been limited by what we can observe. For centuries, the barrier was the resolving power of optical microscopes. In the twentieth century, electron microscopy broke that barrier, revealing structures at the nanometer scale. But there is a limit even to what the most powerful imaging instrument can reveal — when atoms are engaged in the rapid, dynamic dance of a chemical reaction, or when the interactions between thousands of molecules determine the emergent properties of a material, no microscope can fully capture what is happening. This is the domain of computational nanoscience: the use of mathematical models, physical theory, and computational power to simulate, predict, and understand phenomena at the molecular and atomic scale."}),l.jsx("h2",{className:"font-exo font-bold text-white text-xl mt-8","data-id":"cs8jqgxes","data-path":"src/pages/BlogArticle2Page.tsx",children:"What Is Computational Nanoscience?"}),l.jsx("p",{"data-id":"wffxkkfxb","data-path":"src/pages/BlogArticle2Page.tsx",children:"Computational nanoscience is an interdisciplinary field that uses algorithms, mathematical models, and computer simulations to study nanoscale systems. It draws on quantum mechanics (to describe electron behavior in atomic structures), statistical mechanics (to model the behavior of large collections of molecules), and materials science (to connect atomic-level properties to macroscale material behavior). The result is a set of computational approaches that can predict, with remarkable accuracy, how nanoscale systems will behave — without requiring the researcher to conduct a single physical experiment. This does not mean experiments are obsolete; it means that computation and experiment are partners, with each informing and validating the other in a cycle that dramatically accelerates scientific discovery."}),l.jsx("h2",{className:"font-exo font-bold text-white text-xl mt-8","data-id":"sh8zj25vh","data-path":"src/pages/BlogArticle2Page.tsx",children:"The Key Computational Methods"}),l.jsx("p",{"data-id":"oiqp131ta","data-path":"src/pages/BlogArticle2Page.tsx",children:"Three major computational approaches form the backbone of nanoscale modeling. Density functional theory (DFT) is a quantum mechanical method that calculates the electronic structure of atoms and molecules by modeling the distribution of electrons in space. DFT can predict the electronic, optical, and magnetic properties of nanoscale materials from first principles — with no empirical parameters — making it the gold standard for understanding how atomic structure determines material properties. Molecular dynamics (MD) simulations track the movement of individual atoms and molecules over time, governed by the forces between them, revealing how nanoscale systems evolve dynamically. MD simulations have been used to model protein folding, nanoparticle self-assembly, lubricant behavior at atomic surfaces, and a vast range of other phenomena where understanding molecular motion is essential. Monte Carlo methods use statistical sampling to explore the possible configurations of complex molecular systems, allowing researchers to calculate thermodynamic properties and understand phase behavior at the nanoscale without tracking every atom's trajectory."}),l.jsx("h2",{className:"font-exo font-bold text-white text-xl mt-8","data-id":"3l2qde7mu","data-path":"src/pages/BlogArticle2Page.tsx",children:"Scientific Modeling: Making the Invisible Visible"}),l.jsx("p",{"data-id":"0h26vnnkq","data-path":"src/pages/BlogArticle2Page.tsx",children:"One of the most powerful aspects of computational nanoscience is its ability to make the invisible visible. A molecular dynamics simulation can produce a three-dimensional, time-resolved movie of a protein interacting with a drug molecule — revealing which part of the protein the drug binds to, how tightly it binds, and what conformational changes it triggers. A DFT calculation can predict exactly how the electronic band structure of a graphene sheet changes when individual atoms are substituted with nitrogen or boron — information that would require years of experimental work to determine directly. This visualization capacity is not just scientifically valuable; it is profoundly communicative. Animated molecular simulations have become powerful tools for explaining nanoscale phenomena to students, policymakers, and the public, translating abstract science into intuitive visual understanding."}),l.jsx("h2",{className:"font-exo font-bold text-white text-xl mt-8","data-id":"oy7a27pgj","data-path":"src/pages/BlogArticle2Page.tsx",children:"Engineering Innovation: From Prediction to Design"}),l.jsx("p",{"data-id":"0c99gd671","data-path":"src/pages/BlogArticle2Page.tsx",children:"Computational nanoscience is not limited to analyzing existing systems — it is increasingly used to design new ones. High-throughput computational screening allows researchers to evaluate the properties of thousands of hypothetical materials in the time it would take to synthesize and test a handful of real ones in the laboratory. This approach has been used to discover new battery electrode materials with superior energy density, identify catalyst structures that optimize chemical reaction efficiency, and screen drug candidate molecules for binding affinity to disease-related proteins — all before a single gram of material has been synthesized. The convergence of high-throughput computation with machine learning is accelerating this design process further, enabling algorithms to learn the relationships between atomic structure and material properties from existing data and generalize those relationships to predict the performance of entirely new structures."}),l.jsx("h2",{className:"font-exo font-bold text-white text-xl mt-8","data-id":"6d0a2jqcx","data-path":"src/pages/BlogArticle2Page.tsx",children:"Interdisciplinary Collaboration in Computational Nanoscience"}),l.jsx("p",{"data-id":"84j10jes6","data-path":"src/pages/BlogArticle2Page.tsx",children:"Computational nanoscience is inherently interdisciplinary — it requires physicists who understand quantum mechanics, chemists who understand molecular interactions, materials scientists who understand structural-property relationships, and computer scientists who can implement and optimize the algorithms that make large-scale simulations possible. The most productive computational nanoscience teams are therefore deeply interdisciplinary, and the most transformative results tend to emerge from collaborations that cross conventional disciplinary boundaries. At ISNSCER, we have seen this dynamic play out repeatedly in the Molecular Computation Innovation Lab: when a computational chemist working on molecular dynamics meets an experimentalist studying nanoparticle synthesis, or when a machine learning researcher pairs with a DFT expert, the resulting collaboration consistently produces scientific insights that neither could have achieved alone."}),l.jsx("h2",{className:"font-exo font-bold text-white text-xl mt-8","data-id":"92vzad4la","data-path":"src/pages/BlogArticle2Page.tsx",children:"Real-World Applications: Computation Enabling Change"}),l.jsx("p",{"data-id":"kct0cfvh7","data-path":"src/pages/BlogArticle2Page.tsx",children:"The real-world impact of computational nanoscience is already substantial and growing rapidly. In pharmaceuticals, computational screening of molecular libraries has identified drug candidates for cancer, viral infections, and neurodegenerative diseases that would have taken decades of traditional experimental searching to find. In energy, DFT-guided design of catalysts has improved the efficiency of hydrogen production from water splitting — a critical step toward viable green hydrogen energy systems. In materials science, computational prediction of two-dimensional materials beyond graphene — including hexagonal boron nitride, molybdenum disulfide, and a growing library of transition metal dichalcogenides — has driven an explosion of experimental synthesis and application research. And in semiconductor engineering, computational modeling of quantum tunneling in sub-5-nanometer transistor structures is guiding the design of the next generation of chips that will power everything from smartphones to supercomputers. Computational nanoscience is not a theoretical exercise — it is an active driver of technological progress that touches every corner of the modern economy."}),l.jsx("h2",{className:"font-exo font-bold text-white text-xl mt-8","data-id":"m4475zt02","data-path":"src/pages/BlogArticle2Page.tsx",children:"The Open Science Imperative"}),l.jsx("p",{"data-id":"4mrdldvq0","data-path":"src/pages/BlogArticle2Page.tsx",children:"As computational nanoscience grows in power and influence, the scientific community faces an important choice about how its tools and outputs are shared. Computational methods and datasets concentrated in well-funded institutions in wealthy nations would replicate the existing inequalities of the experimental research world; open-access computation tools and shared data repositories, by contrast, have the potential to democratize cutting-edge nanoscale research in a way that has never been possible with expensive physical equipment. ISNSCER is committed to the open science model: our Molecular Computation Innovation Lab develops and maintains open-source computational tools available to any researcher, anywhere in the world, and our Knowledge Exchange Library provides free access to computational resources, tutorials, and research datasets. We believe that the power of computational nanoscience to benefit humanity is greatest when its tools are available to all — and we are building the infrastructure to make that happen."})]}),l.jsx("div",{className:"mt-12 pt-8 border-t border-white/10 text-center","data-id":"2k7x4yig9","data-path":"src/pages/BlogArticle2Page.tsx",children:l.jsxs(G,{to:"/blog",className:"inline-flex items-center gap-2 text-cyan-400 hover:text-cyan-300 transition-colors text-sm font-semibold","data-id":"yx7qv5iwf","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx(_s,{className:"w-4 h-4","data-id":"g7h074b7p","data-path":"src/pages/BlogArticle2Page.tsx"})," Back to All Articles"]})})]})]})}function aA(){const{toast:e}=dv(),[t,n]=w.useState({name:"",email:"",phone:"",message:""}),[a,r]=w.useState(!1),s=i=>{if(i.preventDefault(),!t.name||!t.email||!t.message){e({title:"Please complete all required fields.",variant:"destructive"});return}r(!0),e({title:"Message sent!",description:"We'll be in touch shortly."})};return l.jsxs(ke,{"data-id":"yewxj5217","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("section",{className:"relative py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"lhspm0uv0","data-path":"src/pages/ContactPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto text-center","data-id":"w41diqbdl","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-cyan-500/30 bg-cyan-500/10 text-cyan-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"fx53l68im","data-path":"src/pages/ContactPage.tsx",children:"Contact Us"}),l.jsxs("h1",{className:"font-exo text-4xl sm:text-5xl font-black text-white mb-6","data-id":"mig7hzv58","data-path":"src/pages/ContactPage.tsx",children:["Let's Connect &",l.jsx("br",{"data-id":"836q7ueo7","data-path":"src/pages/ContactPage.tsx"}),l.jsx("span",{className:"text-gradient-teal","data-id":"jkp9wbabk","data-path":"src/pages/ContactPage.tsx",children:"Advance Science Together"})]}),l.jsx("p",{className:"text-slate-400 text-lg max-w-2xl mx-auto","data-id":"ktanap2jw","data-path":"src/pages/ContactPage.tsx",children:"Have questions about our mission or want to support scientific discovery and collaboration? We'd love to hear from you."})]})}),l.jsx("section",{className:"py-20 px-4 sm:px-6 lg:px-8 max-w-5xl mx-auto","data-id":"je44ddlsh","data-path":"src/pages/ContactPage.tsx",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-12","data-id":"8f1ym2psf","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("div",{"data-id":"0d70tq021","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-2xl mb-6","data-id":"p39rugt9y","data-path":"src/pages/ContactPage.tsx",children:"Send Us a Message"}),a?l.jsxs("div",{className:"glass rounded-2xl p-10 text-center border border-cyan-500/30","data-id":"utnowi8j2","data-path":"src/pages/ContactPage.tsx",children:[l.jsx(Or,{className:"w-16 h-16 text-cyan-400 mx-auto mb-4","data-id":"j1xpfsfni","data-path":"src/pages/ContactPage.tsx"}),l.jsx("h3",{className:"font-exo font-bold text-white text-xl mb-3","data-id":"x0gcjfiw8","data-path":"src/pages/ContactPage.tsx",children:"Message Received!"}),l.jsx("p",{className:"text-slate-400","data-id":"mue3h46vb","data-path":"src/pages/ContactPage.tsx",children:"Thank you for reaching out. A member of our team will respond to your message within 2–3 business days."})]}):l.jsxs("form",{onSubmit:s,className:"space-y-5","data-id":"gv5vr9ov7","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("div",{"data-id":"65qn4eo63","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("label",{className:"block text-sm text-slate-400 mb-2 font-medium","data-id":"eml0yovl5","data-path":"src/pages/ContactPage.tsx",children:"Full Name *"}),l.jsx("input",{type:"text",value:t.name,onChange:i=>n({...t,name:i.target.value}),className:"w-full bg-[#0d1b2e]/80 border border-cyan-500/20 rounded-xl px-4 py-3 text-white text-sm focus:outline-none focus:border-cyan-400 transition-colors placeholder-slate-500",placeholder:"Dr. Jane Smith","data-id":"q9ard56le","data-path":"src/pages/ContactPage.tsx"})]}),l.jsxs("div",{"data-id":"p64cdl8nc","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("label",{className:"block text-sm text-slate-400 mb-2 font-medium","data-id":"6dgbmlb32","data-path":"src/pages/ContactPage.tsx",children:"Email Address *"}),l.jsx("input",{type:"email",value:t.email,onChange:i=>n({...t,email:i.target.value}),className:"w-full bg-[#0d1b2e]/80 border border-cyan-500/20 rounded-xl px-4 py-3 text-white text-sm focus:outline-none focus:border-cyan-400 transition-colors placeholder-slate-500",placeholder:"jane.smith@institution.edu","data-id":"w23mvnlno","data-path":"src/pages/ContactPage.tsx"})]}),l.jsxs("div",{"data-id":"rikyde960","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("label",{className:"block text-sm text-slate-400 mb-2 font-medium","data-id":"m7lly2qyw","data-path":"src/pages/ContactPage.tsx",children:"Phone Number"}),l.jsx("input",{type:"tel",value:t.phone,onChange:i=>n({...t,phone:i.target.value}),className:"w-full bg-[#0d1b2e]/80 border border-cyan-500/20 rounded-xl px-4 py-3 text-white text-sm focus:outline-none focus:border-cyan-400 transition-colors placeholder-slate-500",placeholder:"+1 (555) 000-0000","data-id":"midejjmax","data-path":"src/pages/ContactPage.tsx"})]}),l.jsxs("div",{"data-id":"tik7rdy9i","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("label",{className:"block text-sm text-slate-400 mb-2 font-medium","data-id":"cpbglv7te","data-path":"src/pages/ContactPage.tsx",children:"Message *"}),l.jsx("textarea",{value:t.message,onChange:i=>n({...t,message:i.target.value}),rows:5,className:"w-full bg-[#0d1b2e]/80 border border-cyan-500/20 rounded-xl px-4 py-3 text-white text-sm focus:outline-none focus:border-cyan-400 transition-colors placeholder-slate-500 resize-none",placeholder:"Tell us about your inquiry, research interests, or how you'd like to collaborate...","data-id":"7ccwg7uva","data-path":"src/pages/ContactPage.tsx"})]}),l.jsxs("button",{type:"submit",className:"w-full py-4 rounded-xl btn-nano text-sm flex items-center justify-center gap-2","data-id":"yvtk6qboa","data-path":"src/pages/ContactPage.tsx",children:[l.jsx(kk,{className:"w-4 h-4","data-id":"b79t6e73m","data-path":"src/pages/ContactPage.tsx"}),"Send Message"]})]})]}),l.jsxs("div",{"data-id":"837zljm3n","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-2xl mb-6","data-id":"bem9udd68","data-path":"src/pages/ContactPage.tsx",children:"Get in Touch"}),l.jsxs("div",{className:"space-y-5 mb-10","data-id":"dbsc5sngw","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("div",{className:"glass rounded-xl p-5 flex gap-4 items-start hover-lift","data-id":"icin7i4g1","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"w-10 h-10 rounded-full bg-cyan-500/20 border border-cyan-500/40 flex items-center justify-center flex-shrink-0","data-id":"qjinzenz5","data-path":"src/pages/ContactPage.tsx",children:l.jsx(Bv,{className:"w-5 h-5 text-cyan-400","data-id":"1b4xqtn2y","data-path":"src/pages/ContactPage.tsx"})}),l.jsxs("div",{"data-id":"qwvk1jakp","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"text-sm font-semibold text-white mb-1","data-id":"s68f8ei4y","data-path":"src/pages/ContactPage.tsx",children:"Email"}),l.jsx("a",{href:"mailto:ask@brightlareon.com",className:"text-cyan-400 hover:text-cyan-300 transition-colors text-sm","data-id":"wflq16j17","data-path":"src/pages/ContactPage.tsx",children:"ask@brightlareon.com"})]})]}),l.jsxs("div",{className:"glass rounded-xl p-5 flex gap-4 items-start hover-lift","data-id":"45o9tmxcp","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"w-10 h-10 rounded-full bg-amber-500/20 border border-amber-500/40 flex items-center justify-center flex-shrink-0","data-id":"tta2a2xzi","data-path":"src/pages/ContactPage.tsx",children:l.jsx(Hv,{className:"w-5 h-5 text-amber-400","data-id":"v9h6re3y9","data-path":"src/pages/ContactPage.tsx"})}),l.jsxs("div",{"data-id":"r6k2jl0e8","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"text-sm font-semibold text-white mb-1","data-id":"3dit1dn5q","data-path":"src/pages/ContactPage.tsx",children:"Phone"}),l.jsx("a",{href:"tel:16262339634",className:"text-amber-400 hover:text-amber-300 transition-colors text-sm","data-id":"fr1q02twd","data-path":"src/pages/ContactPage.tsx",children:"1-626-233-9634"})]})]}),l.jsxs("div",{className:"glass rounded-xl p-5 flex gap-4 items-start hover-lift","data-id":"fmanj2670","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"w-10 h-10 rounded-full bg-teal-500/20 border border-teal-500/40 flex items-center justify-center flex-shrink-0","data-id":"0862kb7rb","data-path":"src/pages/ContactPage.tsx",children:l.jsx(Iu,{className:"w-5 h-5 text-teal-400","data-id":"p28bsfaj0","data-path":"src/pages/ContactPage.tsx"})}),l.jsxs("div",{"data-id":"8rsw4mcq7","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"text-sm font-semibold text-white mb-1","data-id":"a4rl54x19","data-path":"src/pages/ContactPage.tsx",children:"Address"}),l.jsxs("p",{className:"text-slate-400 text-sm","data-id":"0us4ojqre","data-path":"src/pages/ContactPage.tsx",children:["2396 Pickens Canyon Road",l.jsx("br",{"data-id":"8dk7oxw3p","data-path":"src/pages/ContactPage.tsx"}),"La Crescenta, CA 91214"]})]})]})]}),l.jsxs("div",{className:"glass rounded-2xl overflow-hidden border border-cyan-500/20 h-56 flex items-center justify-center relative","data-id":"049pw0qb5","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("img",{src:"https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=600&q=80",alt:"Location map",className:"w-full h-full object-cover opacity-30","data-id":"5evphhbqq","data-path":"src/pages/ContactPage.tsx"}),l.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center","data-id":"ob8vhb0fz","data-path":"src/pages/ContactPage.tsx",children:[l.jsx(Iu,{className:"w-8 h-8 text-cyan-400 mb-2","data-id":"cxtqh8g7e","data-path":"src/pages/ContactPage.tsx"}),l.jsx("p",{className:"text-white font-semibold text-sm","data-id":"sk46o8y9k","data-path":"src/pages/ContactPage.tsx",children:"La Crescenta, CA 91214"}),l.jsx("p",{className:"text-slate-400 text-xs mt-1","data-id":"j09mtqm8o","data-path":"src/pages/ContactPage.tsx",children:"2396 Pickens Canyon Road"})]})]})]})]})})]})}function rA(){return l.jsxs(ke,{"data-id":"u3xtvff72","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("section",{className:"relative py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"feisx5lnp","data-path":"src/pages/PrivacyPolicyPage.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto","data-id":"m78y446lt","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-cyan-500/30 bg-cyan-500/10 text-cyan-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"w9ykhjp9a","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Legal"}),l.jsx("h1",{className:"font-exo text-4xl font-black text-white mb-4","data-id":"c4ugdwl02","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Privacy Policy"}),l.jsx("p",{className:"text-slate-500 text-sm font-mono-space","data-id":"0r3jybweb","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Last Updated: June 1, 2026"})]})}),l.jsx("section",{className:"py-16 px-4 sm:px-6 lg:px-8 max-w-3xl mx-auto","data-id":"b9hv4ljuc","data-path":"src/pages/PrivacyPolicyPage.tsx",children:l.jsxs("div",{className:"space-y-8 text-slate-300 leading-relaxed","data-id":"r4jjk2byh","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsxs("div",{className:"glass rounded-xl p-6","data-id":"ydjhmlt0g","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"7ap3lir63","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"1. Information We Collect"}),l.jsx("p",{"data-id":"ildqb1gwz","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"The International Society for Nanoscale Science Computing & Engineering (ISNSCER) collects personal information that you voluntarily provide to us when you interact with our website, register for events, make donations, apply for programs, or contact us. This information may include your name, email address, phone number, mailing address, institutional affiliation, research background, and payment information (processed securely by third-party payment processors). We also collect non-personal information automatically when you visit our website, including browser type, device type, IP address (anonymized), referring URLs, and pages visited. This technical data is used solely to improve website performance and user experience."})]}),l.jsxs("div",{className:"glass rounded-xl p-6","data-id":"p4z8fqhwy","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"8b4ogh53w","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"2. Contact Forms and Communications"}),l.jsx("p",{"data-id":"4elsr7hel","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"When you submit a contact form, donation form, membership application, or other web form on our website, the information you provide is transmitted securely to our organizational database. We use this information to respond to your inquiry, process your donation or application, and maintain accurate records of our communications and relationships. We retain contact form submissions for a period of three years to support ongoing organizational correspondence. You may contact us at any time to update, correct, or request deletion of information you have submitted through a contact form."})]}),l.jsxs("div",{className:"glass rounded-xl p-6","data-id":"71ke9gp9x","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"b82fii4kr","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"3. Cookies and Tracking Technologies"}),l.jsx("p",{"data-id":"yag7xxeor","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Our website uses cookies — small data files stored on your browser — to maintain session information, remember your preferences, and analyze website usage patterns. We use two categories of cookies: essential cookies (required for basic website functionality, which cannot be disabled) and analytics cookies (which help us understand how visitors interact with our website, used with your consent). We do not use advertising cookies or behavioral tracking cookies. You may configure your browser to block or delete cookies, though disabling essential cookies may impair certain website functions. Our analytics provider processes data in accordance with applicable privacy regulations, and we have configured our analytics implementation to anonymize IP addresses."})]}),l.jsxs("div",{className:"glass rounded-xl p-6","data-id":"j3vdxfi0o","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"exfde90g4","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"4. How We Use Your Information"}),l.jsx("p",{"data-id":"jd17yapeb","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"We use the personal information we collect for the following purposes: to process and acknowledge donations and issue tax receipts where applicable; to respond to inquiries and provide requested information about our programs and activities; to send organizational newsletters, conference announcements, and research updates to subscribers who have provided consent; to process program applications, fellowship applications, and award nominations; to conduct organizational research and evaluation to improve the effectiveness of our programs; and to comply with legal obligations, including nonprofit reporting requirements and financial record-keeping regulations. We do not sell, rent, or otherwise share your personal information with third parties for their marketing purposes under any circumstances."})]}),l.jsxs("div",{className:"glass rounded-xl p-6","data-id":"wv7aq8tb4","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"a83da8tqr","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"5. Data Security Measures"}),l.jsx("p",{"data-id":"onpb6wtpi","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"ISNSCER implements industry-standard technical and organizational security measures to protect your personal information from unauthorized access, alteration, disclosure, or destruction. These measures include SSL/TLS encryption for all data transmitted between your browser and our servers; restricted access controls ensuring that only authorized staff can access personal data; regular security assessments and vulnerability testing of our website and data systems; and secure payment processing through PCI-DSS-compliant third-party payment processors, which means we never store credit card information on our servers. While we implement robust security practices, no electronic transmission or storage system can guarantee absolute security, and we encourage users to take appropriate precautions with their own account credentials and personal information."})]}),l.jsxs("div",{className:"glass rounded-xl p-6","data-id":"lmhifmv9m","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"t52w9kdpr","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"6. Your Rights and Choices"}),l.jsx("p",{"data-id":"4pfod165s","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Depending on your location and applicable privacy law, you may have the following rights regarding your personal information: the right to access the personal information we hold about you; the right to request correction of inaccurate or incomplete information; the right to request deletion of your personal information, subject to legal retention requirements; the right to withdraw consent for communications at any time by using the unsubscribe link in any email or by contacting us directly; the right to request a portable copy of your personal information in a structured, machine-readable format; and the right to lodge a complaint with a relevant data protection supervisory authority. We will respond to all rights requests within 30 days of receipt."})]}),l.jsxs("div",{className:"glass rounded-xl p-6","data-id":"34l2yoye9","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"9b0fsdy0b","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"7. Children's Privacy"}),l.jsx("p",{"data-id":"lh532yu6x","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Our website is not directed at children under the age of 13, and we do not knowingly collect personal information from children under 13. If you believe that we have inadvertently collected personal information from a child under 13, please contact us immediately and we will take prompt steps to delete that information from our systems. Researchers and students under 18 who wish to engage with ISNSCER programs should do so through their educational institution or with parental or guardian oversight."})]}),l.jsxs("div",{className:"glass rounded-xl p-6","data-id":"bwfys1rc0","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"2193tssxu","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"8. Contact for Privacy Inquiries"}),l.jsx("p",{"data-id":"n61bqfcpe","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"If you have questions, concerns, or requests related to this Privacy Policy or ISNSCER's data practices, please contact us at:"}),l.jsxs("div",{className:"mt-4 space-y-1 text-sm text-slate-400","data-id":"6tw7r2ped","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("p",{"data-id":"l1tzy48e1","data-path":"src/pages/PrivacyPolicyPage.tsx",children:l.jsx("strong",{className:"text-white","data-id":"y6zpud295","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"INTERNATIONAL SOCIETY FOR NANOSCALE SCIENCE COMPUTING & ENGINEERING"})}),l.jsx("p",{"data-id":"nq4mnxz4q","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"2396 Pickens Canyon Road, La Crescenta, CA 91214"}),l.jsxs("p",{"data-id":"x99ymxlqq","data-path":"src/pages/PrivacyPolicyPage.tsx",children:["Email: ",l.jsx("a",{href:"mailto:ask@brightlareon.com",className:"text-cyan-400 hover:text-cyan-300","data-id":"4ntjsddje","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"ask@brightlareon.com"})]}),l.jsxs("p",{"data-id":"86ggt5vfu","data-path":"src/pages/PrivacyPolicyPage.tsx",children:["Phone: ",l.jsx("a",{href:"tel:16262339634",className:"text-cyan-400 hover:text-cyan-300","data-id":"rsx0fxw37","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"1-626-233-9634"})]})]})]})]})})]})}function sA(){return l.jsxs(ke,{"data-id":"pav06se7p","data-path":"src/pages/TermsConditionsPage.tsx",children:[l.jsx("section",{className:"relative py-24 px-4 sm:px-6 lg:px-8 bg-gradient-to-b from-[#0d1b2e] to-[#060d1a] nano-grid","data-id":"fv97plz0v","data-path":"src/pages/TermsConditionsPage.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto","data-id":"t74q2tdai","data-path":"src/pages/TermsConditionsPage.tsx",children:[l.jsx("div",{className:"inline-block px-3 py-1 rounded-full border border-cyan-500/30 bg-cyan-500/10 text-cyan-400 text-xs font-mono-space tracking-widest uppercase mb-6","data-id":"hjw4lvy39","data-path":"src/pages/TermsConditionsPage.tsx",children:"Legal"}),l.jsx("h1",{className:"font-exo text-4xl font-black text-white mb-4","data-id":"3wqduf9ct","data-path":"src/pages/TermsConditionsPage.tsx",children:"Terms & Conditions"}),l.jsx("p",{className:"text-slate-500 text-sm font-mono-space","data-id":"tx21i6cwd","data-path":"src/pages/TermsConditionsPage.tsx",children:"Last Updated: June 1, 2026"})]})}),l.jsx("section",{className:"py-16 px-4 sm:px-6 lg:px-8 max-w-3xl mx-auto","data-id":"wan63ot47","data-path":"src/pages/TermsConditionsPage.tsx",children:l.jsxs("div",{className:"space-y-8 text-slate-300 leading-relaxed","data-id":"su23ctp4d","data-path":"src/pages/TermsConditionsPage.tsx",children:[l.jsxs("div",{className:"glass rounded-xl p-6","data-id":"4s93lf80k","data-path":"src/pages/TermsConditionsPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"gmk71x29n","data-path":"src/pages/TermsConditionsPage.tsx",children:"1. Website Usage and Acceptance of Terms"}),l.jsx("p",{"data-id":"mgnr77bj9","data-path":"src/pages/TermsConditionsPage.tsx",children:"By accessing and using the website of the International Society for Nanoscale Science Computing & Engineering (ISNSCER), located at this domain, you accept and agree to be bound by these Terms & Conditions and our Privacy Policy. If you do not agree to these terms, please do not use this website. These terms apply to all visitors, users, donors, program applicants, and members who access or use any part of our website. ISNSCER reserves the right to modify these Terms & Conditions at any time without prior notice. Your continued use of the website following any modifications constitutes your acceptance of the revised terms. We encourage you to review these Terms & Conditions periodically to remain informed of any updates."})]}),l.jsxs("div",{className:"glass rounded-xl p-6","data-id":"ny3nt7pyu","data-path":"src/pages/TermsConditionsPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"20o1v8hc7","data-path":"src/pages/TermsConditionsPage.tsx",children:"2. User Responsibilities"}),l.jsx("p",{"data-id":"s9m1cvpku","data-path":"src/pages/TermsConditionsPage.tsx",children:"Users of this website are responsible for ensuring that their use of the website complies with all applicable local, state, national, and international laws and regulations. You agree to use the website only for lawful purposes and in a manner that does not infringe upon the rights of others or restrict or inhibit any other user's enjoyment of the website. Specifically, you agree not to: submit false or misleading information through any website form; attempt to gain unauthorized access to any portion of the website or its related systems; use automated tools to scrape, harvest, or collect information from the website without prior written permission; interfere with or disrupt the integrity or performance of the website or its hosting infrastructure; or impersonate any person or entity or misrepresent your affiliation with any person or entity."})]}),l.jsxs("div",{className:"glass rounded-xl p-6","data-id":"uw1v51ul8","data-path":"src/pages/TermsConditionsPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"f4ry7jxc3","data-path":"src/pages/TermsConditionsPage.tsx",children:"3. Intellectual Property"}),l.jsx("p",{"data-id":"k4y34hj4f","data-path":"src/pages/TermsConditionsPage.tsx",children:"All content on this website — including but not limited to text, images, graphics, logos, program descriptions, research summaries, blog articles, organizational materials, and website design elements — is the intellectual property of ISNSCER or its content contributors and is protected by applicable copyright, trademark, and intellectual property laws. You may view and download website content for personal, non-commercial use only, provided that you retain all copyright and proprietary notices. You may not reproduce, distribute, publicly display, create derivative works from, or use any website content for commercial purposes without prior written permission from ISNSCER. Research publications, data, and scientific tools developed through ISNSCER programs may be subject to separate licensing terms specified at the point of access."})]}),l.jsxs("div",{className:"glass rounded-xl p-6","data-id":"v60sjaobz","data-path":"src/pages/TermsConditionsPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"ahcdlcj4d","data-path":"src/pages/TermsConditionsPage.tsx",children:"4. Content Restrictions and Acceptable Use"}),l.jsx("p",{"data-id":"yg5c1d0n6","data-path":"src/pages/TermsConditionsPage.tsx",children:"When submitting any content to ISNSCER through contact forms, program applications, or other submission mechanisms, you agree that your submissions will not contain: content that is defamatory, harassing, abusive, threatening, obscene, or otherwise objectionable; content that infringes upon the intellectual property rights, privacy rights, or other legal rights of any third party; unsolicited commercial communications or spam; malicious code, viruses, or any other software or programming routines designed to damage, intercept, or expropriate data; content that is false, misleading, or designed to deceive ISNSCER staff, members, or partners. ISNSCER reserves the right, in its sole discretion, to reject or remove any content that violates these restrictions or that ISNSCER determines to be inconsistent with the organization's mission and values."})]}),l.jsxs("div",{className:"glass rounded-xl p-6","data-id":"udbf0jn6v","data-path":"src/pages/TermsConditionsPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"tbdzojkbp","data-path":"src/pages/TermsConditionsPage.tsx",children:"5. Limitation of Liability"}),l.jsx("p",{"data-id":"l0m9a9odz","data-path":"src/pages/TermsConditionsPage.tsx",children:`ISNSCER's website is provided on an "as is" and "as available" basis without warranties of any kind, either express or implied. ISNSCER does not warrant that the website will be uninterrupted, error-free, or free of viruses or other harmful components. To the maximum extent permitted by applicable law, ISNSCER and its officers, directors, employees, and agents shall not be liable for any indirect, incidental, special, consequential, or punitive damages — including loss of data, loss of profits, or business interruption — arising from your use of or inability to use this website, even if ISNSCER has been advised of the possibility of such damages. ISNSCER's total liability for any claims arising from your use of the website shall not exceed the amount of any donation or payment you have made to ISNSCER in the preceding 12 months, or $100, whichever is greater. Certain jurisdictions do not permit the exclusion of certain warranties or limitations of liability, so some of the above limitations may not apply to you.`})]}),l.jsxs("div",{className:"glass rounded-xl p-6","data-id":"819cpsbof","data-path":"src/pages/TermsConditionsPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"rz896fypy","data-path":"src/pages/TermsConditionsPage.tsx",children:"6. Third-Party Links and External Content"}),l.jsx("p",{"data-id":"mzbbzcnqy","data-path":"src/pages/TermsConditionsPage.tsx",children:"This website may contain links to third-party websites, including partner institutions, research databases, and external scientific resources. These links are provided for your convenience and do not constitute an endorsement by ISNSCER of the linked website or its content, operators, or policies. ISNSCER has no control over the content, privacy practices, or terms of third-party websites and assumes no responsibility for any information, services, or materials available through those websites. Your access to and use of any third-party website is entirely at your own risk and subject to the terms and conditions of that website. We encourage you to review the privacy policies and terms of use of any third-party website you visit through links on our website."})]}),l.jsxs("div",{className:"glass rounded-xl p-6","data-id":"aka83wcxq","data-path":"src/pages/TermsConditionsPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"fap42nv67","data-path":"src/pages/TermsConditionsPage.tsx",children:"7. Dispute Resolution"}),l.jsx("p",{"data-id":"hyahyzmwh","data-path":"src/pages/TermsConditionsPage.tsx",children:"Any disputes arising from or relating to these Terms & Conditions or your use of the ISNSCER website shall be resolved first through good-faith negotiation. You agree to contact ISNSCER directly at the contact information provided below to attempt resolution before pursuing any formal legal proceedings. If the parties cannot resolve a dispute through good-faith negotiation within 30 days, the dispute shall be submitted to binding arbitration in Los Angeles County, California, in accordance with the rules of the American Arbitration Association. The prevailing party in any such arbitration shall be entitled to recover reasonable attorneys' fees and costs. These Terms & Conditions shall be governed by and construed in accordance with the laws of the State of California, without regard to its conflict of law provisions."})]}),l.jsxs("div",{className:"glass rounded-xl p-6","data-id":"366nb7r9k","data-path":"src/pages/TermsConditionsPage.tsx",children:[l.jsx("h2",{className:"font-exo font-bold text-white text-lg mb-3","data-id":"kb237b5jo","data-path":"src/pages/TermsConditionsPage.tsx",children:"8. Contact Information"}),l.jsx("p",{"data-id":"vktj033z7","data-path":"src/pages/TermsConditionsPage.tsx",children:"For questions about these Terms & Conditions or to report a violation, please contact:"}),l.jsxs("div",{className:"mt-4 space-y-1 text-sm text-slate-400","data-id":"huplha00l","data-path":"src/pages/TermsConditionsPage.tsx",children:[l.jsx("p",{"data-id":"fpm7rmm66","data-path":"src/pages/TermsConditionsPage.tsx",children:l.jsx("strong",{className:"text-white","data-id":"g432ekvwq","data-path":"src/pages/TermsConditionsPage.tsx",children:"INTERNATIONAL SOCIETY FOR NANOSCALE SCIENCE COMPUTING & ENGINEERING"})}),l.jsx("p",{"data-id":"w6ftiosk3","data-path":"src/pages/TermsConditionsPage.tsx",children:"2396 Pickens Canyon Road, La Crescenta, CA 91214"}),l.jsxs("p",{"data-id":"8vls3w2r2","data-path":"src/pages/TermsConditionsPage.tsx",children:["Email: ",l.jsx("a",{href:"mailto:ask@brightlareon.com",className:"text-cyan-400 hover:text-cyan-300","data-id":"1wmk2x0am","data-path":"src/pages/TermsConditionsPage.tsx",children:"ask@brightlareon.com"})]}),l.jsxs("p",{"data-id":"8w3rlrsy6","data-path":"src/pages/TermsConditionsPage.tsx",children:["Phone: ",l.jsx("a",{href:"tel:16262339634",className:"text-cyan-400 hover:text-cyan-300","data-id":"72wzimv60","data-path":"src/pages/TermsConditionsPage.tsx",children:"1-626-233-9634"})]})]})]})]})})]})}const xw=w.createContext({});function iA(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const oA=typeof window<"u",lA=oA?w.useLayoutEffect:w.useEffect,$h=w.createContext(null);function Hh(e,t){e.indexOf(t)===-1&&e.push(t)}function qo(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Qt=(e,t,n)=>n>t?t:n<e?e:n;let Uh=()=>{};const Xn={},yw=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),vw=e=>typeof e=="object"&&e!==null,ww=e=>/^0[^.\s]+$/u.test(e);function bw(e){let t;return()=>(t===void 0&&(t=e()),t)}const mt=e=>e,li=(...e)=>e.reduce((t,n)=>a=>n(t(a))),qs=(e,t,n)=>{const a=t-e;return a?(n-e)/a:1};class qh{constructor(){this.subscriptions=[]}add(t){return Hh(this.subscriptions,t),()=>qo(this.subscriptions,t)}notify(t,n,a){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](t,n,a);else for(let s=0;s<r;s++){const i=this.subscriptions[s];i&&i(t,n,a)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const at=e=>e*1e3,pt=e=>e/1e3,Pw=(e,t)=>t?e*(1e3/t):0,Sw=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,cA=1e-7,uA=12;function dA(e,t,n,a,r){let s,i,o=0;do i=t+(n-t)/2,s=Sw(i,a,r)-e,s>0?n=i:t=i;while(Math.abs(s)>cA&&++o<uA);return i}function ci(e,t,n,a){if(e===t&&n===a)return mt;const r=s=>dA(s,0,1,e,n);return s=>s===0||s===1?s:Sw(r(s),t,a)}const Cw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,kw=e=>t=>1-e(1-t),Nw=ci(.33,1.53,.69,.99),Wh=kw(Nw),jw=Cw(Wh),Tw=e=>e>=1?1:(e*=2)<1?.5*Wh(e):.5*(2-Math.pow(2,-10*(e-1))),Gh=e=>1-Math.sin(Math.acos(e)),Ew=kw(Gh),Aw=Cw(Gh),hA=ci(.42,0,1,1),pA=ci(0,0,.58,1),Rw=ci(.42,0,.58,1),fA=e=>Array.isArray(e)&&typeof e[0]!="number",Mw=e=>Array.isArray(e)&&typeof e[0]=="number",mA={linear:mt,easeIn:hA,easeInOut:Rw,easeOut:pA,circIn:Gh,circInOut:Aw,circOut:Ew,backIn:Wh,backInOut:jw,backOut:Nw,anticipate:Tw},gA=e=>typeof e=="string",Em=e=>{if(Mw(e)){Uh(e.length===4);const[t,n,a,r]=e;return ci(t,n,a,r)}else if(gA(e))return mA[e];return e},Fi=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function xA(e,t){let n=new Set,a=new Set,r=!1,s=!1;const i=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function c(d){i.has(d)&&(u.schedule(d),e()),d(o)}const u={schedule:(d,h=!1,p=!1)=>{const x=p&&r?n:a;return h&&i.add(d),x.add(d),d},cancel:d=>{a.delete(d),i.delete(d)},process:d=>{if(o=d,r){s=!0;return}r=!0;const h=n;n=a,a=h,n.forEach(c),n.clear(),r=!1,s&&(s=!1,u.process(d))}};return u}const yA=40;function Iw(e,t){let n=!1,a=!0;const r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,i=Fi.reduce((y,P)=>(y[P]=xA(s),y),{}),{setup:o,read:c,resolveKeyframes:u,preUpdate:d,update:h,preRender:p,render:m,postRender:x}=i,v=()=>{const y=Xn.useManualTiming,P=y?r.timestamp:performance.now();n=!1,y||(r.delta=a?1e3/60:Math.max(Math.min(P-r.timestamp,yA),1)),r.timestamp=P,r.isProcessing=!0,o.process(r),c.process(r),u.process(r),d.process(r),h.process(r),p.process(r),m.process(r),x.process(r),r.isProcessing=!1,n&&t&&(a=!1,e(v))},b=()=>{n=!0,a=!0,r.isProcessing||e(v)};return{schedule:Fi.reduce((y,P)=>{const S=i[P];return y[P]=(C,N=!1,k=!1)=>(n||b(),S.schedule(C,N,k)),y},{}),cancel:y=>{for(let P=0;P<Fi.length;P++)i[Fi[P]].cancel(y)},state:r,steps:i}}const{schedule:ee,cancel:Zn,state:Te,steps:vc}=Iw(typeof requestAnimationFrame<"u"?requestAnimationFrame:mt,!0);let io;function vA(){io=void 0}const _e={now:()=>(io===void 0&&_e.set(Te.isProcessing||Xn.useManualTiming?Te.timestamp:performance.now()),io),set:e=>{io=e,queueMicrotask(vA)}},Ow=e=>t=>typeof t=="string"&&t.startsWith(e),Dw=Ow("--"),wA=Ow("var(--"),Kh=e=>wA(e)?bA.test(e.split("/*")[0].trim()):!1,bA=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Am(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const _r={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ws={..._r,transform:e=>Qt(0,1,e)},zi={..._r,default:1},ys=e=>Math.round(e*1e5)/1e5,Qh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function PA(e){return e==null}const SA=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Yh=(e,t)=>n=>!!(typeof n=="string"&&SA.test(n)&&n.startsWith(e)||t&&!PA(n)&&Object.prototype.hasOwnProperty.call(n,t)),Lw=(e,t,n)=>a=>{if(typeof a!="string")return a;const[r,s,i,o]=a.match(Qh);return{[e]:parseFloat(r),[t]:parseFloat(s),[n]:parseFloat(i),alpha:o!==void 0?parseFloat(o):1}},CA=e=>Qt(0,255,e),wc={..._r,transform:e=>Math.round(CA(e))},ha={test:Yh("rgb","red"),parse:Lw("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:a=1})=>"rgba("+wc.transform(e)+", "+wc.transform(t)+", "+wc.transform(n)+", "+ys(Ws.transform(a))+")"};function kA(e){let t="",n="",a="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),a=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),a=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,a+=a,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(a,16),alpha:r?parseInt(r,16)/255:1}}const Yu={test:Yh("#"),parse:kA,transform:ha.transform},ui=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),tn=ui("deg"),Kt=ui("%"),F=ui("px"),NA=ui("vh"),jA=ui("vw"),Rm={...Kt,parse:e=>Kt.parse(e)/100,transform:e=>Kt.transform(e*100)},Za={test:Yh("hsl","hue"),parse:Lw("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:a=1})=>"hsla("+Math.round(e)+", "+Kt.transform(ys(t))+", "+Kt.transform(ys(n))+", "+ys(Ws.transform(a))+")"},fe={test:e=>ha.test(e)||Yu.test(e)||Za.test(e),parse:e=>ha.test(e)?ha.parse(e):Za.test(e)?Za.parse(e):Yu.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ha.transform(e):Za.transform(e),getAnimatableNone:e=>{const t=fe.parse(e);return t.alpha=0,fe.transform(t)}},TA=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function EA(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Qh))==null?void 0:t.length)||0)+(((n=e.match(TA))==null?void 0:n.length)||0)>0}const Fw="number",zw="color",AA="var",RA="var(",Mm="${}",MA=/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 Er(e){const t=e.toString(),n=[],a={color:[],number:[],var:[]},r=[];let s=0;const o=t.replace(MA,c=>(fe.test(c)?(a.color.push(s),r.push(zw),n.push(fe.parse(c))):c.startsWith(RA)?(a.var.push(s),r.push(AA),n.push(c)):(a.number.push(s),r.push(Fw),n.push(parseFloat(c))),++s,Mm)).split(Mm);return{values:n,split:o,indexes:a,types:r}}function IA(e){return Er(e).values}function _w({split:e,types:t}){const n=e.length;return a=>{let r="";for(let s=0;s<n;s++)if(r+=e[s],a[s]!==void 0){const i=t[s];i===Fw?r+=ys(a[s]):i===zw?r+=fe.transform(a[s]):r+=a[s]}return r}}function OA(e){return _w(Er(e))}const DA=e=>typeof e=="number"?0:fe.test(e)?fe.getAnimatableNone(e):e,LA=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:DA(e);function FA(e){const t=Er(e);return _w(t)(t.values.map((a,r)=>LA(a,t.split[r])))}const At={test:EA,parse:IA,createTransformer:OA,getAnimatableNone:FA};function bc(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function zA({hue:e,saturation:t,lightness:n,alpha:a}){e/=360,t/=100,n/=100;let r=0,s=0,i=0;if(!t)r=s=i=n;else{const o=n<.5?n*(1+t):n+t-n*t,c=2*n-o;r=bc(c,o,e+1/3),s=bc(c,o,e),i=bc(c,o,e-1/3)}return{red:Math.round(r*255),green:Math.round(s*255),blue:Math.round(i*255),alpha:a}}function Wo(e,t){return n=>n>0?t:e}const J=(e,t,n)=>e+(t-e)*n,Pc=(e,t,n)=>{const a=e*e,r=n*(t*t-a)+a;return r<0?0:Math.sqrt(r)},_A=[Yu,ha,Za],VA=e=>_A.find(t=>t.test(e));function Im(e){const t=VA(e);if(!t)return!1;let n=t.parse(e);return t===Za&&(n=zA(n)),n}const Om=(e,t)=>{const n=Im(e),a=Im(t);if(!n||!a)return Wo(e,t);const r={...n};return s=>(r.red=Pc(n.red,a.red,s),r.green=Pc(n.green,a.green,s),r.blue=Pc(n.blue,a.blue,s),r.alpha=J(n.alpha,a.alpha,s),ha.transform(r))},Xu=new Set(["none","hidden"]);function BA(e,t){return Xu.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function $A(e,t){return n=>J(e,t,n)}function Xh(e){return typeof e=="number"?$A:typeof e=="string"?Kh(e)?Wo:fe.test(e)?Om:qA:Array.isArray(e)?Vw:typeof e=="object"?fe.test(e)?Om:HA:Wo}function Vw(e,t){const n=[...e],a=n.length,r=e.map((s,i)=>Xh(s)(s,t[i]));return s=>{for(let i=0;i<a;i++)n[i]=r[i](s);return n}}function HA(e,t){const n={...e,...t},a={};for(const r in n)e[r]!==void 0&&t[r]!==void 0&&(a[r]=Xh(e[r])(e[r],t[r]));return r=>{for(const s in a)n[s]=a[s](r);return n}}function UA(e,t){const n=[],a={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){const s=t.types[r],i=e.indexes[s][a[s]],o=e.values[i]??0;n[r]=o,a[s]++}return n}const qA=(e,t)=>{const n=At.createTransformer(t),a=Er(e),r=Er(t);return a.indexes.var.length===r.indexes.var.length&&a.indexes.color.length===r.indexes.color.length&&a.indexes.number.length>=r.indexes.number.length?Xu.has(e)&&!r.values.length||Xu.has(t)&&!a.values.length?BA(e,t):li(Vw(UA(a,r),r.values),n):Wo(e,t)};function Bw(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?J(e,t,n):Xh(e)(e,t)}const WA=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ee.update(t,n),stop:()=>Zn(t),now:()=>Te.isProcessing?Te.timestamp:_e.now()}},$w=(e,t,n=10)=>{let a="";const r=Math.max(Math.round(t/n),2);for(let s=0;s<r;s++)a+=Math.round(e(s/(r-1))*1e4)/1e4+", ";return`linear(${a.substring(0,a.length-2)})`},Go=2e4;function Zh(e){let t=0;const n=50;let a=e.next(t);for(;!a.done&&t<Go;)t+=n,a=e.next(t);return t>=Go?1/0:t}function GA(e,t=100,n){const a=n({...e,keyframes:[0,t]}),r=Math.min(Zh(a),Go);return{type:"keyframes",ease:s=>a.next(r*s).value/t,duration:pt(r)}}const ue={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 Zu(e,t){return e*Math.sqrt(1-t*t)}const KA=12;function QA(e,t,n){let a=n;for(let r=1;r<KA;r++)a=a-e(a)/t(a);return a}const Sc=.001;function YA({duration:e=ue.duration,bounce:t=ue.bounce,velocity:n=ue.velocity,mass:a=ue.mass}){let r,s,i=1-t;i=Qt(ue.minDamping,ue.maxDamping,i),e=Qt(ue.minDuration,ue.maxDuration,pt(e)),i<1?(r=u=>{const d=u*i,h=d*e,p=d-n,m=Zu(u,i),x=Math.exp(-h);return Sc-p/m*x},s=u=>{const h=u*i*e,p=h*n+n,m=Math.pow(i,2)*Math.pow(u,2)*e,x=Math.exp(-h),v=Zu(Math.pow(u,2),i);return(-r(u)+Sc>0?-1:1)*((p-m)*x)/v}):(r=u=>{const d=Math.exp(-u*e),h=(u-n)*e+1;return-Sc+d*h},s=u=>{const d=Math.exp(-u*e),h=(n-u)*(e*e);return d*h});const o=5/e,c=QA(r,s,o);if(e=at(e),isNaN(c))return{stiffness:ue.stiffness,damping:ue.damping,duration:e};{const u=Math.pow(c,2)*a;return{stiffness:u,damping:i*2*Math.sqrt(a*u),duration:e}}}const XA=["duration","bounce"],ZA=["stiffness","damping","mass"];function Dm(e,t){return t.some(n=>e[n]!==void 0)}function JA(e){let t={velocity:ue.velocity,stiffness:ue.stiffness,damping:ue.damping,mass:ue.mass,isResolvedFromDuration:!1,...e};if(!Dm(e,ZA)&&Dm(e,XA))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,a=2*Math.PI/(n*1.2),r=a*a,s=2*Qt(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:ue.mass,stiffness:r,damping:s}}else{const n=YA({...e,velocity:0});t={...t,...n,mass:ue.mass},t.isResolvedFromDuration=!0}return t}function Ko(e=ue.visualDuration,t=ue.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:a,restDelta:r}=n;const s=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],o={done:!1,value:s},{stiffness:c,damping:u,mass:d,duration:h,velocity:p,isResolvedFromDuration:m}=JA({...n,velocity:-pt(n.velocity||0)}),x=p||0,v=u/(2*Math.sqrt(c*d)),b=i-s,g=pt(Math.sqrt(c/d)),f=Math.abs(b)<5;a||(a=f?ue.restSpeed.granular:ue.restSpeed.default),r||(r=f?ue.restDelta.granular:ue.restDelta.default);let y,P,S,C,N,k;if(v<1)S=Zu(g,v),C=(x+v*g*b)/S,y=E=>{const L=Math.exp(-v*g*E);return i-L*(C*Math.sin(S*E)+b*Math.cos(S*E))},N=v*g*C+b*S,k=v*g*b-C*S,P=E=>Math.exp(-v*g*E)*(N*Math.sin(S*E)+k*Math.cos(S*E));else if(v===1){y=L=>i-Math.exp(-g*L)*(b+(x+g*b)*L);const E=x+g*b;P=L=>Math.exp(-g*L)*(g*E*L-x)}else{const E=g*Math.sqrt(v*v-1);y=I=>{const H=Math.exp(-v*g*I),_=Math.min(E*I,300);return i-H*((x+v*g*b)*Math.sinh(_)+E*b*Math.cosh(_))/E};const L=(x+v*g*b)/E,O=v*g*L-b*E,$=v*g*b-L*E;P=I=>{const H=Math.exp(-v*g*I),_=Math.min(E*I,300);return H*(O*Math.sinh(_)+$*Math.cosh(_))}}const A={calculatedDuration:m&&h||null,velocity:E=>at(P(E)),next:E=>{if(!m&&v<1){const O=Math.exp(-v*g*E),$=Math.sin(S*E),I=Math.cos(S*E),H=i-O*(C*$+b*I),_=at(O*(N*$+k*I));return o.done=Math.abs(_)<=a&&Math.abs(i-H)<=r,o.value=o.done?i:H,o}const L=y(E);if(m)o.done=E>=h;else{const O=at(P(E));o.done=Math.abs(O)<=a&&Math.abs(i-L)<=r}return o.value=o.done?i:L,o},toString:()=>{const E=Math.min(Zh(A),Go),L=$w(O=>A.next(E*O).value,E,30);return E+"ms "+L},toTransition:()=>{}};return A}Ko.applyToOptions=e=>{const t=GA(e,100,Ko);return e.ease=t.ease,e.duration=at(t.duration),e.type="keyframes",e};const e4=5;function Hw(e,t,n){const a=Math.max(t-e4,0);return Pw(n-e(a),t-a)}function Ju({keyframes:e,velocity:t=0,power:n=.8,timeConstant:a=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:i,min:o,max:c,restDelta:u=.5,restSpeed:d}){const h=e[0],p={done:!1,value:h},m=k=>o!==void 0&&k<o||c!==void 0&&k>c,x=k=>o===void 0?c:c===void 0||Math.abs(o-k)<Math.abs(c-k)?o:c;let v=n*t;const b=h+v,g=i===void 0?b:i(b);g!==b&&(v=g-h);const f=k=>-v*Math.exp(-k/a),y=k=>g+f(k),P=k=>{const A=f(k),E=y(k);p.done=Math.abs(A)<=u,p.value=p.done?g:E};let S,C;const N=k=>{m(p.value)&&(S=k,C=Ko({keyframes:[p.value,x(p.value)],velocity:Hw(y,k,p.value),damping:r,stiffness:s,restDelta:u,restSpeed:d}))};return N(0),{calculatedDuration:null,next:k=>{let A=!1;return!C&&S===void 0&&(A=!0,P(k),N(k)),S!==void 0&&k>=S?C.next(k-S):(!A&&P(k),p)}}}function t4(e,t,n){const a=[],r=n||Xn.mix||Bw,s=e.length-1;for(let i=0;i<s;i++){let o=r(e[i],e[i+1]);if(t){const c=Array.isArray(t)?t[i]||mt:t;o=li(c,o)}a.push(o)}return a}function n4(e,t,{clamp:n=!0,ease:a,mixer:r}={}){const s=e.length;if(Uh(s===t.length),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const i=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=t4(t,a,r),c=o.length,u=d=>{if(i&&d<e[0])return t[0];let h=0;if(c>1)for(;h<e.length-2&&!(d<e[h+1]);h++);const p=qs(e[h],e[h+1],d);return o[h](p)};return n?d=>u(Qt(e[0],e[s-1],d)):u}function a4(e,t){const n=e[e.length-1];for(let a=1;a<=t;a++){const r=qs(0,t,a);e.push(J(n,1,r))}}function r4(e){const t=[0];return a4(t,e.length-1),t}function s4(e,t){return e.map(n=>n*t)}function i4(e,t){return e.map(()=>t||Rw).splice(0,e.length-1)}function vs({duration:e=300,keyframes:t,times:n,ease:a="easeInOut"}){const r=fA(a)?a.map(Em):Em(a),s={done:!1,value:t[0]},i=s4(n&&n.length===t.length?n:r4(t),e),o=n4(i,t,{ease:Array.isArray(r)?r:i4(t,r)});return{calculatedDuration:e,next:c=>(s.value=o(c),s.done=c>=e,s)}}const o4=e=>e!==null;function Al(e,{repeat:t,repeatType:n="loop"},a,r=1){const s=e.filter(o4),o=r<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!o||a===void 0?s[o]:a}const l4={decay:Ju,inertia:Ju,tween:vs,keyframes:vs,spring:Ko};function Uw(e){typeof e.type=="string"&&(e.type=l4[e.type])}class Jh{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const c4=e=>e/100;class Qo extends Jh{constructor(t){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=()=>{var a,r;const{motionValue:n}=this.options;n&&n.updatedAt!==_e.now()&&this.tick(_e.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(r=(a=this.options).onStop)==null||r.call(a))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Uw(t);const{type:n=vs,repeat:a=0,repeatDelay:r=0,repeatType:s,velocity:i=0}=t;let{keyframes:o}=t;const c=n||vs;c!==vs&&typeof o[0]!="number"&&(this.mixKeyframes=li(c4,Bw(o[0],o[1])),o=[0,100]);const u=c({...t,keyframes:o});s==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...o].reverse(),velocity:-i})),u.calculatedDuration===null&&(u.calculatedDuration=Zh(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+r,this.totalDuration=this.resolvedDuration*(a+1)-r,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:a,totalDuration:r,mixKeyframes:s,mirroredGenerator:i,resolvedDuration:o,calculatedDuration:c}=this;if(this.startTime===null)return a.next(0);const{delay:u=0,keyframes:d,repeat:h,repeatType:p,repeatDelay:m,type:x,onUpdate:v,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),f=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=r);let y=this.currentTime,P=a;if(h){const k=Math.min(this.currentTime,r)/o;let A=Math.floor(k),E=k%1;!E&&k>=1&&(E=1),E===1&&A--,A=Math.min(A,h+1),!!(A%2)&&(p==="reverse"?(E=1-E,m&&(E-=m/o)):p==="mirror"&&(P=i)),y=Qt(0,1,E)*o}let S;f?(this.delayState.value=d[0],S=this.delayState):S=P.next(y),s&&!f&&(S.value=s(S.value));let{done:C}=S;!f&&c!==null&&(C=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const N=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return N&&x!==Ju&&(S.value=Al(d,this.options,b,this.speed)),v&&v(S.value),N&&this.finish(),S}then(t,n){return this.finished.then(t,n)}get duration(){return pt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+pt(t)}get time(){return pt(this.currentTime)}set time(t){t=at(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return Hw(a=>this.generator.next(a).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(_e.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=pt(this.currentTime))}play(){var r,s;if(this.isStopped)return;const{driver:t=WA,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),(s=(r=this.options).onPlay)==null||s.call(r);const a=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=a):this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime||(this.startTime=n??a),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(_e.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function u4(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const pa=e=>e*180/Math.PI,ed=e=>{const t=pa(Math.atan2(e[1],e[0]));return td(t)},d4={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ed,rotateZ:ed,skewX:e=>pa(Math.atan(e[1])),skewY:e=>pa(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},td=e=>(e=e%360,e<0&&(e+=360),e),Lm=ed,Fm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),zm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),h4={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Fm,scaleY:zm,scale:e=>(Fm(e)+zm(e))/2,rotateX:e=>td(pa(Math.atan2(e[6],e[5]))),rotateY:e=>td(pa(Math.atan2(-e[2],e[0]))),rotateZ:Lm,rotate:Lm,skewX:e=>pa(Math.atan(e[4])),skewY:e=>pa(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function nd(e){return e.includes("scale")?1:0}function ad(e,t){if(!e||e==="none")return nd(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let a,r;if(n)a=h4,r=n;else{const o=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);a=d4,r=o}if(!r)return nd(t);const s=a[t],i=r[1].split(",").map(f4);return typeof s=="function"?s(i):i[s]}const p4=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return ad(n,t)};function f4(e){return parseFloat(e.trim())}const Vr=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Br=new Set([...Vr,"pathRotation"]),_m=e=>e===_r||e===F,m4=new Set(["x","y","z"]),g4=Vr.filter(e=>!m4.has(e));function x4(e){const t=[];return g4.forEach(n=>{const a=e.getValue(n);a!==void 0&&(t.push([n,a.get()]),a.set(n.startsWith("scale")?1:0))}),t}const Ln={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:a})=>{const r=e.max-e.min;return a==="border-box"?r:r-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:a})=>{const r=e.max-e.min;return a==="border-box"?r:r-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>ad(t,"x"),y:(e,{transform:t})=>ad(t,"y")};Ln.translateX=Ln.x;Ln.translateY=Ln.y;const Sa=new Set;let rd=!1,sd=!1,id=!1;function qw(){if(sd){const e=Array.from(Sa).filter(a=>a.needsMeasurement),t=new Set(e.map(a=>a.element)),n=new Map;t.forEach(a=>{const r=x4(a);r.length&&(n.set(a,r),a.render())}),e.forEach(a=>a.measureInitialState()),t.forEach(a=>{a.render();const r=n.get(a);r&&r.forEach(([s,i])=>{var o;(o=a.getValue(s))==null||o.set(i)})}),e.forEach(a=>a.measureEndState()),e.forEach(a=>{a.suspendedScrollY!==void 0&&window.scrollTo(0,a.suspendedScrollY)})}sd=!1,rd=!1,Sa.forEach(e=>e.complete(id)),Sa.clear()}function Ww(){Sa.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(sd=!0)})}function y4(){id=!0,Ww(),qw(),id=!1}class ep{constructor(t,n,a,r,s,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=a,this.motionValue=r,this.element=s,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(Sa.add(this),rd||(rd=!0,ee.read(Ww),ee.resolveKeyframes(qw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:a,motionValue:r}=this;if(t[0]===null){const s=r==null?void 0:r.get(),i=t[t.length-1];if(s!==void 0)t[0]=s;else if(a&&n){const o=a.readValue(n,i);o!=null&&(t[0]=o)}t[0]===void 0&&(t[0]=i),r&&s===void 0&&r.set(t[0])}u4(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Sa.delete(this)}cancel(){this.state==="scheduled"&&(Sa.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const v4=e=>e.startsWith("--");function Gw(e,t,n){v4(t)?e.style.setProperty(t,n):e.style[t]=n}const w4={};function Kw(e,t){const n=bw(e);return()=>w4[t]??n()}const b4=Kw(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Qw=Kw(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),os=([e,t,n,a])=>`cubic-bezier(${e}, ${t}, ${n}, ${a})`,Vm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:os([0,.65,.55,1]),circOut:os([.55,0,1,.45]),backIn:os([.31,.01,.66,-.59]),backOut:os([.33,1.53,.69,.99])};function Yw(e,t){if(e)return typeof e=="function"?Qw()?$w(e,t):"ease-out":Mw(e)?os(e):Array.isArray(e)?e.map(n=>Yw(n,t)||Vm.easeOut):Vm[e]}function P4(e,t,n,{delay:a=0,duration:r=300,repeat:s=0,repeatType:i="loop",ease:o="easeOut",times:c}={},u=void 0){const d={[t]:n};c&&(d.offset=c);const h=Yw(o,r);Array.isArray(h)&&(d.easing=h);const p={delay:a,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:i==="reverse"?"alternate":"normal"};return u&&(p.pseudoElement=u),e.animate(d,p)}function Xw(e){return typeof e=="function"&&"applyToOptions"in e}function S4({type:e,...t}){return Xw(e)&&Qw()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Zw extends Jh{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:a,keyframes:r,pseudoElement:s,allowFlatten:i=!1,finalKeyframe:o,onComplete:c}=t;this.isPseudoElement=!!s,this.allowFlatten=i,this.options=t,Uh(typeof t.type!="string");const u=S4(t);this.animation=P4(n,a,r,u,s),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const d=Al(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(d),Gw(n,a,d),this.animation.cancel()}c==null||c(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,a,r;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((r=(a=this.animation).commitStyles)==null||r.call(a))}get duration(){var n,a;const t=((a=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:a.call(n).duration)||0;return pt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+pt(t)}get time(){return pt(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=at(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:a,observe:r}){var s;return this.allowFlatten&&((s=this.animation.effect)==null||s.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&b4()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),a&&(this.animation.rangeEnd=a),mt):r(this)}}const Jw={anticipate:Tw,backInOut:jw,circInOut:Aw};function C4(e){return e in Jw}function k4(e){typeof e.ease=="string"&&C4(e.ease)&&(e.ease=Jw[e.ease])}const Cc=10;class N4 extends Zw{constructor(t){k4(t),Uw(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:a,onComplete:r,element:s,...i}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const o=new Qo({...i,autoplay:!1}),c=Math.max(Cc,_e.now()-this.startTime),u=Qt(0,Cc,c-Cc),d=o.sample(c).value,{name:h}=this.options;s&&h&&Gw(s,h,d),n.setWithVelocity(o.sample(Math.max(0,c-u)).value,d,u),o.stop()}}const Bm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(At.test(e)||e==="0")&&!e.startsWith("url("));function j4(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function T4(e,t,n,a){const r=e[0];if(r===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],i=Bm(r,t),o=Bm(s,t);return!i||!o?!1:j4(e)||(n==="spring"||Xw(n))&&a}function od(e){e.duration=0,e.type="keyframes"}const eb=new Set(["opacity","clipPath","filter","transform"]),E4=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function A4(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&E4.test(e[t]))return!0;return!1}const R4=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),M4=bw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function I4(e){var h;const{motionValue:t,name:n,repeatDelay:a,repeatType:r,damping:s,type:i,keyframes:o}=e;if(!(((h=t==null?void 0:t.owner)==null?void 0:h.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:d}=t.owner.getProps();return M4()&&n&&(eb.has(n)||R4.has(n)&&A4(o))&&(n!=="transform"||!d)&&!u&&!a&&r!=="mirror"&&s!==0&&i!=="inertia"}const O4=40;class D4 extends Jh{constructor({autoplay:t=!0,delay:n=0,type:a="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:i="loop",keyframes:o,name:c,motionValue:u,element:d,...h}){var x;super(),this.stop=()=>{var v,b;this._animation&&(this._animation.stop(),(v=this.stopTimeline)==null||v.call(this)),(b=this.keyframeResolver)==null||b.cancel()},this.createdAt=_e.now();const p={autoplay:t,delay:n,type:a,repeat:r,repeatDelay:s,repeatType:i,name:c,motionValue:u,element:d,...h},m=(d==null?void 0:d.KeyframeResolver)||ep;this.keyframeResolver=new m(o,(v,b,g)=>this.onKeyframesResolved(v,b,p,!g),c,u,d),(x=this.keyframeResolver)==null||x.scheduleResolve()}onKeyframesResolved(t,n,a,r){var g,f;this.keyframeResolver=void 0;const{name:s,type:i,velocity:o,delay:c,isHandoff:u,onUpdate:d}=a;this.resolvedAt=_e.now();let h=!0;T4(t,s,i,o)||(h=!1,(Xn.instantAnimations||!c)&&(d==null||d(Al(t,a,n))),t[0]=t[t.length-1],od(a),a.repeat=0);const m={startTime:r?this.resolvedAt?this.resolvedAt-this.createdAt>O4?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...a,keyframes:t},x=h&&!u&&I4(m),v=(f=(g=m.motionValue)==null?void 0:g.owner)==null?void 0:f.current;let b;if(x)try{b=new N4({...m,element:v})}catch{b=new Qo(m)}else b=new Qo(m);b.finished.then(()=>{this.notifyFinished()}).catch(mt),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),y4()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function tb(e,t,n,a=0,r=1){const s=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),i=e.size,o=(i-1)*a;return typeof n=="function"?n(s,i):r===1?s*a:o-s*a}const $m=30,L4=e=>!isNaN(parseFloat(e));class F4{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=a=>{var s;const r=_e.now();if(this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(a),this.current!==this.prev&&((s=this.events.change)==null||s.notify(this.current),this.dependents))for(const i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=_e.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=L4(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new qh);const a=this.events[t].add(n);return t==="change"?()=>{a(),ee.read(()=>{this.events.change.getSize()||this.stop()})}:a}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,a){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-a}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=_e.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>$m)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,$m);return Pw(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),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(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ar(e,t){return new F4(e,t)}function nb(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...a}=e;return{...t,...a}}return e}function tp(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?nb(n,e):n}const z4={type:"spring",stiffness:500,damping:25,restSpeed:10},_4=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),V4={type:"keyframes",duration:.8},B4={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},$4=(e,{keyframes:t})=>t.length>2?V4:Br.has(e)?e.startsWith("scale")?_4(t[1]):z4:B4,H4=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function U4(e){for(const t in e)if(!H4.has(t))return!0;return!1}const np=(e,t,n,a={},r,s)=>i=>{const o=tp(a,e)||{},c=o.delay||a.delay||0;let{elapsed:u=0}=a;u=u-at(c);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-u,onUpdate:p=>{t.set(p),o.onUpdate&&o.onUpdate(p)},onComplete:()=>{i(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:s?void 0:r};U4(o)||Object.assign(d,$4(e,d)),d.duration&&(d.duration=at(d.duration)),d.repeatDelay&&(d.repeatDelay=at(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let h=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(od(d),d.delay===0&&(h=!0)),(Xn.instantAnimations||Xn.skipAnimations||r!=null&&r.shouldSkipAnimations||o.skipAnimations)&&(h=!0,od(d),d.delay=0),d.allowFlatten=!o.type&&!o.ease,h&&!s&&t.get()!==void 0){const p=Al(d.keyframes,o);if(p!==void 0){ee.update(()=>{d.onUpdate(p),d.onComplete()});return}}return o.isSync?new Qo(d):new D4(d)},q4=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function W4(e){const t=q4.exec(e);if(!t)return[,];const[,n,a,r]=t;return[`--${n??a}`,r]}function ab(e,t,n=1){const[a,r]=W4(e);if(!a)return;const s=window.getComputedStyle(t).getPropertyValue(a);if(s){const i=s.trim();return yw(i)?parseFloat(i):i}return Kh(r)?ab(r,t,n+1):r}function Hm(e){const t=[{},{}];return e==null||e.values.forEach((n,a)=>{t[0][a]=n.get(),t[1][a]=n.getVelocity()}),t}function ap(e,t,n,a){if(typeof t=="function"){const[r,s]=Hm(a);t=t(n!==void 0?n:e.custom,r,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[r,s]=Hm(a);t=t(n!==void 0?n:e.custom,r,s)}return t}function Ca(e,t,n){const a=e.getProps();return ap(a,t,n!==void 0?n:a.custom,e)}const rb=new Set(["width","height","top","left","right","bottom",...Vr]),ld=e=>Array.isArray(e);function G4(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ar(n))}function K4(e){return ld(e)?e[e.length-1]||0:e}function Q4(e,t){const n=Ca(e,t);let{transitionEnd:a={},transition:r={},...s}=n||{};s={...s,...a};for(const i in s){const o=K4(s[i]);G4(e,i,o)}}const Ee=e=>!!(e&&e.getVelocity);function Y4(e){return!!(Ee(e)&&e.add)}function cd(e,t){const n=e.getValue("willChange");if(Y4(n))return n.add(t);if(!n&&Xn.WillChange){const a=new Xn.WillChange("auto");e.addValue("willChange",a),a.add(t)}}function rp(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const X4="framerAppearId",sb="data-"+rp(X4);function ib(e){return e.props[sb]}function Z4({protectedKeys:e,needsAnimating:t},n){const a=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,a}function ob(e,t,{delay:n=0,transitionOverride:a,type:r}={}){let{transition:s,transitionEnd:i,...o}=t;const c=e.getDefaultTransition();s=s?nb(s,c):c;const u=s==null?void 0:s.reduceMotion,d=s==null?void 0:s.skipAnimations;a&&(s=a);const h=[],p=r&&e.animationState&&e.animationState.getState()[r],m=s==null?void 0:s.path;m&&m.animateVisualElement(e,o,s,n,h);for(const x in o){const v=e.getValue(x,e.latestValues[x]??null),b=o[x];if(b===void 0||p&&Z4(p,x))continue;const g={delay:n,...tp(s||{},x)};d&&(g.skipAnimations=!0);const f=v.get();if(f!==void 0&&!v.isAnimating()&&!Array.isArray(b)&&b===f&&!g.velocity){ee.update(()=>v.set(b));continue}let y=!1;if(window.MotionHandoffAnimation){const C=ib(e);if(C){const N=window.MotionHandoffAnimation(C,x,ee);N!==null&&(g.startTime=N,y=!0)}}cd(e,x);const P=u??e.shouldReduceMotion;v.start(np(x,v,b,P&&rb.has(x)?{type:!1}:g,e,y));const S=v.animation;S&&h.push(S)}if(i){const x=()=>ee.update(()=>{i&&Q4(e,i)});h.length?Promise.all(h).then(x):x()}return h}function ud(e,t,n={}){var c;const a=Ca(e,t,n.type==="exit"?(c=e.presenceContext)==null?void 0:c.custom:void 0);let{transition:r=e.getDefaultTransition()||{}}=a||{};n.transitionOverride&&(r=n.transitionOverride);const s=a?()=>Promise.all(ob(e,a,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:p}=r;return J4(e,t,u,d,h,p,n)}:()=>Promise.resolve(),{when:o}=r;if(o){const[u,d]=o==="beforeChildren"?[s,i]:[i,s];return u().then(()=>d())}else return Promise.all([s(),i(n.delay)])}function J4(e,t,n=0,a=0,r=0,s=1,i){const o=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),o.push(ud(c,t,{...i,delay:n+(typeof a=="function"?0:a)+tb(e.variantChildren,c,a,r,s)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(o)}function eR(e,t,n={}){e.notify("AnimationStart",t);let a;if(Array.isArray(t)){const r=t.map(s=>ud(e,s,n));a=Promise.all(r)}else if(typeof t=="string")a=ud(e,t,n);else{const r=typeof t=="function"?Ca(e,t,n.custom):t;a=Promise.all(ob(e,r,n))}return a.then(()=>{e.notify("AnimationComplete",t)})}const tR={test:e=>e==="auto",parse:e=>e},lb=e=>t=>t.test(e),cb=[_r,F,Kt,tn,jA,NA,tR],Um=e=>cb.find(lb(e));function nR(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||ww(e):!0}const aR=new Set(["brightness","contrast","saturate","opacity"]);function rR(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[a]=n.match(Qh)||[];if(!a)return e;const r=n.replace(a,"");let s=aR.has(t)?1:0;return a!==n&&(s*=100),t+"("+s+r+")"}const sR=/\b([a-z-]*)\(.*?\)/gu,dd={...At,getAnimatableNone:e=>{const t=e.match(sR);return t?t.map(rR).join(" "):e}},hd={...At,getAnimatableNone:e=>{const t=At.parse(e);return At.createTransformer(e)(t.map(a=>typeof a=="number"?0:typeof a=="object"?{...a,alpha:1}:a))}},qm={..._r,transform:Math.round},iR={rotate:tn,pathRotation:tn,rotateX:tn,rotateY:tn,rotateZ:tn,scale:zi,scaleX:zi,scaleY:zi,scaleZ:zi,skew:tn,skewX:tn,skewY:tn,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:Ws,originX:Rm,originY:Rm,originZ:F},Yo={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,top:F,right:F,bottom:F,left:F,inset:F,insetBlock:F,insetBlockStart:F,insetBlockEnd:F,insetInline:F,insetInlineStart:F,insetInlineEnd:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,paddingBlock:F,paddingBlockStart:F,paddingBlockEnd:F,paddingInline:F,paddingInlineStart:F,paddingInlineEnd:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,marginBlock:F,marginBlockStart:F,marginBlockEnd:F,marginInline:F,marginInlineStart:F,marginInlineEnd:F,fontSize:F,backgroundPositionX:F,backgroundPositionY:F,...iR,zIndex:qm,fillOpacity:Ws,strokeOpacity:Ws,numOctaves:qm},oR={...Yo,color:fe,backgroundColor:fe,outlineColor:fe,fill:fe,stroke:fe,borderColor:fe,borderTopColor:fe,borderRightColor:fe,borderBottomColor:fe,borderLeftColor:fe,filter:dd,WebkitFilter:dd,mask:hd,WebkitMask:hd},ub=e=>oR[e],lR=new Set([dd,hd]);function db(e,t){let n=ub(e);return lR.has(n)||(n=At),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const cR=new Set(["auto","none","0"]);function uR(e,t,n){let a=0,r;for(;a<e.length&&!r;){const s=e[a];typeof s=="string"&&!cR.has(s)&&Er(s).values.length&&(r=e[a]),a++}if(r&&n)for(const s of t)e[s]=db(n,r)}class dR extends ep{constructor(t,n,a,r,s){super(t,n,a,r,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:a}=this;if(!n||!n.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let h=t[d];if(typeof h=="string"&&(h=h.trim(),Kh(h))){const p=ab(h,n.current);p!==void 0&&(t[d]=p),d===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!rb.has(a)||t.length!==2)return;const[r,s]=t,i=Um(r),o=Um(s),c=Am(r),u=Am(s);if(c!==u&&Ln[a]){this.needsMeasurement=!0;return}if(i!==o)if(_m(i)&&_m(o))for(let d=0;d<t.length;d++){const h=t[d];typeof h=="string"&&(t[d]=parseFloat(h))}else Ln[a]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,a=[];for(let r=0;r<t.length;r++)(t[r]===null||nR(t[r]))&&a.push(r);a.length&&uR(t,a,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:a}=this;if(!t||!t.current)return;a==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ln[a](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const r=n[n.length-1];r!==void 0&&t.getValue(a,r).jump(r,!1)}measureEndState(){var o;const{element:t,name:n,unresolvedKeyframes:a}=this;if(!t||!t.current)return;const r=t.getValue(n);r&&r.jump(this.measuredOrigin,!1);const s=a.length-1,i=a[s];a[s]=Ln[n](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),(o=this.removedTransforms)!=null&&o.length&&this.removedTransforms.forEach(([c,u])=>{t.getValue(c).set(u)}),this.resolveNoneKeyframes()}}function hb(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let a=document;const r=(n==null?void 0:n[e])??a.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e).filter(a=>a!=null)}const pd=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function hR(e){return vw(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:sp}=Iw(queueMicrotask,!1),bt={x:!1,y:!1};function pb(){return bt.x||bt.y}function pR(e){return e==="x"||e==="y"?bt[e]?null:(bt[e]=!0,()=>{bt[e]=!1}):bt.x||bt.y?null:(bt.x=bt.y=!0,()=>{bt.x=bt.y=!1})}function fb(e,t){const n=hb(e),a=new AbortController,r={passive:!0,...t,signal:a.signal};return[n,r,()=>a.abort()]}function fR(e){return!(e.pointerType==="touch"||pb())}function mR(e,t,n={}){const[a,r,s]=fb(e,n);return a.forEach(i=>{let o=!1,c=!1,u;const d=()=>{i.removeEventListener("pointerleave",x)},h=b=>{u&&(u(b),u=void 0),d()},p=b=>{o=!1,window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",p),c&&(c=!1,h(b))},m=()=>{o=!0,window.addEventListener("pointerup",p,r),window.addEventListener("pointercancel",p,r)},x=b=>{if(b.pointerType!=="touch"){if(o){c=!0;return}h(b)}},v=b=>{if(!fR(b))return;c=!1;const g=t(i,b);typeof g=="function"&&(u=g,i.addEventListener("pointerleave",x,r))};i.addEventListener("pointerenter",v,r),i.addEventListener("pointerdown",m,r)}),s}const mb=(e,t)=>t?e===t?!0:mb(e,t.parentElement):!1,ip=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,gR=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function xR(e){return gR.has(e.tagName)||e.isContentEditable===!0}const yR=new Set(["INPUT","SELECT","TEXTAREA"]);function vR(e){return yR.has(e.tagName)||e.isContentEditable===!0}const oo=new WeakSet;function Wm(e){return t=>{t.key==="Enter"&&e(t)}}function kc(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const wR=(e,t)=>{const n=e.currentTarget;if(!n)return;const a=Wm(()=>{if(oo.has(n))return;kc(n,"down");const r=Wm(()=>{kc(n,"up")}),s=()=>kc(n,"cancel");n.addEventListener("keyup",r,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",a,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",a),t)};function Gm(e){return ip(e)&&!pb()}const Km=new WeakSet;function bR(e,t,n={}){const[a,r,s]=fb(e,n),i=o=>{const c=o.currentTarget;if(!Gm(o)||Km.has(o))return;oo.add(c),n.stopPropagation&&Km.add(o);const u=t(c,o),d=(m,x)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",p),oo.has(c)&&oo.delete(c),Gm(m)&&typeof u=="function"&&u(m,{success:x})},h=m=>{d(m,c===window||c===document||n.useGlobalTarget||mb(c,m.target))},p=m=>{d(m,!1)};window.addEventListener("pointerup",h,r),window.addEventListener("pointercancel",p,r)};return a.forEach(o=>{(n.useGlobalTarget?window:o).addEventListener("pointerdown",i,r),hR(o)&&(o.addEventListener("focus",u=>wR(u,r)),!xR(o)&&!o.hasAttribute("tabindex")&&(o.tabIndex=0))}),s}function op(e){return vw(e)&&"ownerSVGElement"in e}const lo=new WeakMap;let Pn;const gb=(e,t,n)=>(a,r)=>r&&r[0]?r[0][e+"Size"]:op(a)&&"getBBox"in a?a.getBBox()[t]:a[n],PR=gb("inline","width","offsetWidth"),SR=gb("block","height","offsetHeight");function CR({target:e,borderBoxSize:t}){var n;(n=lo.get(e))==null||n.forEach(a=>{a(e,{get width(){return PR(e,t)},get height(){return SR(e,t)}})})}function kR(e){e.forEach(CR)}function NR(){typeof ResizeObserver>"u"||(Pn=new ResizeObserver(kR))}function jR(e,t){Pn||NR();const n=hb(e);return n.forEach(a=>{let r=lo.get(a);r||(r=new Set,lo.set(a,r)),r.add(t),Pn==null||Pn.observe(a)}),()=>{n.forEach(a=>{const r=lo.get(a);r==null||r.delete(t),r!=null&&r.size||Pn==null||Pn.unobserve(a)})}}const co=new Set;let Ja;function TR(){Ja=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};co.forEach(t=>t(e))},window.addEventListener("resize",Ja)}function ER(e){return co.add(e),Ja||TR(),()=>{co.delete(e),!co.size&&typeof Ja=="function"&&(window.removeEventListener("resize",Ja),Ja=void 0)}}function Qm(e,t){return typeof e=="function"?ER(e):jR(e,t)}function AR(e){return op(e)&&e.tagName==="svg"}const RR=[...cb,fe,At],MR=e=>RR.find(lb(e)),Ym=()=>({translate:0,scale:1,origin:0,originPoint:0}),er=()=>({x:Ym(),y:Ym()}),Xm=()=>({min:0,max:0}),xe=()=>({x:Xm(),y:Xm()}),IR=new WeakMap;function Rl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Gs(e){return typeof e=="string"||Array.isArray(e)}const lp=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],cp=["initial",...lp];function Ml(e){return Rl(e.animate)||cp.some(t=>Gs(e[t]))}function xb(e){return!!(Ml(e)||e.variants)}function OR(e,t,n){for(const a in t){const r=t[a],s=n[a];if(Ee(r))e.addValue(a,r);else if(Ee(s))e.addValue(a,Ar(r,{owner:e}));else if(s!==r)if(e.hasValue(a)){const i=e.getValue(a);i.liveStyle===!0?i.jump(r):i.hasAnimated||i.set(r)}else{const i=e.getStaticValue(a);e.addValue(a,Ar(i!==void 0?i:r,{owner:e}))}}for(const a in n)t[a]===void 0&&e.removeValue(a);return t}const fd={current:null},yb={current:!1},DR=typeof window<"u";function LR(){if(yb.current=!0,!!DR)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>fd.current=e.matches;e.addEventListener("change",t),t()}else fd.current=!1}const Zm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Xo={};function vb(e){Xo=e}function FR(){return Xo}class zR{scrapeMotionValuesFromProps(t,n,a){return{}}constructor({parent:t,props:n,presenceContext:a,reducedMotionConfig:r,skipAnimations:s,blockInitialAnimation:i,visualState:o},c={}){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=ep,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 m=_e.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,ee.render(this.render,!1,!0))};const{latestValues:u,renderState:d}=o;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=a,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=s,this.options=c,this.blockInitialAnimation=!!i,this.isControllingVariants=Ml(n),this.isVariantNode=xb(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...p}=this.scrapeMotionValuesFromProps(n,{},this);for(const m in p){const x=p[m];u[m]!==void 0&&Ee(x)&&x.set(u[m])}}mount(t){var n,a;if(this.hasBeenMounted)for(const r in this.initialValues)(n=this.values.get(r))==null||n.jump(this.initialValues[r]),this.latestValues[r]=this.initialValues[r];this.current=t,IR.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,s)=>this.bindToMotionValue(s,r)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(yb.current||LR(),this.shouldReduceMotion=fd.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(a=this.parent)==null||a.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),Zn(this.notifyUpdate),Zn(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const a=this.features[n];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&eb.has(t)&&this.current instanceof HTMLElement){const{factory:i,keyframes:o,times:c,ease:u,duration:d}=n.accelerate,h=new Zw({element:this.current,name:t,keyframes:o,times:c,ease:u,duration:at(d)}),p=i(h);this.valueSubscriptions.set(t,()=>{p(),h.cancel()});return}const a=Br.has(t);a&&this.onBindTransform&&this.onBindTransform();const r=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&ee.preRender(this.notifyUpdate),a&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;typeof window<"u"&&window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{r(),s&&s()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Xo){const n=Xo[t];if(!n)continue;const{isEnabled:a,Feature:r}=n;if(!this.features[t]&&r&&a(this.props)&&(this.features[t]=new r(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):xe()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let a=0;a<Zm.length;a++){const r=Zm[a];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const s="on"+r,i=t[s];i&&(this.propEventSubscriptions[r]=this.on(r,i))}this.prevMotionValues=OR(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]: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(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const a=this.values.get(t);n!==a&&(a&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let a=this.values.get(t);return a===void 0&&n!==void 0&&(a=Ar(n===null?void 0:n,{owner:this}),this.addValue(t,a)),a}readValue(t,n){let a=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return a!=null&&(typeof a=="string"&&(yw(a)||ww(a))?a=parseFloat(a):!MR(a)&&At.test(n)&&(a=db(t,n)),this.setBaseTarget(t,Ee(a)?a.get():a)),Ee(a)?a.get():a}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var s;const{initial:n}=this.props;let a;if(typeof n=="string"||typeof n=="object"){const i=ap(this.props,n,(s=this.presenceContext)==null?void 0:s.custom);i&&(a=i[t])}if(n&&a!==void 0)return a;const r=this.getBaseTargetFromProps(this.props,t);return r!==void 0&&!Ee(r)?r:this.initialValues[t]!==void 0&&a===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new qh),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){sp.render(this.render)}}class wb extends zR{constructor(){super(...arguments),this.KeyframeResolver=dR}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const a=t.style;return a?a[n]:void 0}removeValueFromRenderState(t,{vars:n,style:a}){delete n[t],delete a[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ee(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class aa{constructor(t){this.isMounted=!1,this.node=t}update(){}}function bb({top:e,left:t,right:n,bottom:a}){return{x:{min:t,max:n},y:{min:e,max:a}}}function _R({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function VR(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),a=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:a.y,right:a.x}}function Nc(e){return e===void 0||e===1}function md({scale:e,scaleX:t,scaleY:n}){return!Nc(e)||!Nc(t)||!Nc(n)}function la(e){return md(e)||Pb(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Pb(e){return Jm(e.x)||Jm(e.y)}function Jm(e){return e&&e!=="0%"}function Zo(e,t,n){const a=e-n,r=t*a;return n+r}function eg(e,t,n,a,r){return r!==void 0&&(e=Zo(e,r,a)),Zo(e,n,a)+t}function gd(e,t=0,n=1,a,r){e.min=eg(e.min,t,n,a,r),e.max=eg(e.max,t,n,a,r)}function Sb(e,{x:t,y:n}){gd(e.x,t.translate,t.scale,t.originPoint),gd(e.y,n.translate,n.scale,n.originPoint)}const tg=.999999999999,ng=1.0000000000001;function BR(e,t,n,a=!1){var o;const r=n.length;if(!r)return;t.x=t.y=1;let s,i;for(let c=0;c<r;c++){s=n[c],i=s.projectionDelta;const{visualElement:u}=s.options;u&&u.props.style&&u.props.style.display==="contents"||(a&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(Bt(e.x,-s.scroll.offset.x),Bt(e.y,-s.scroll.offset.y)),i&&(t.x*=i.x.scale,t.y*=i.y.scale,Sb(e,i)),a&&la(s.latestValues)&&uo(e,s.latestValues,(o=s.layout)==null?void 0:o.layoutBox))}t.x<ng&&t.x>tg&&(t.x=1),t.y<ng&&t.y>tg&&(t.y=1)}function Bt(e,t){e.min+=t,e.max+=t}function ag(e,t,n,a,r=.5){const s=J(e.min,e.max,r);gd(e,t,n,s,a)}function rg(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function uo(e,t,n){const a=n??e;ag(e.x,rg(t.x,a.x),t.scaleX,t.scale,t.originX),ag(e.y,rg(t.y,a.y),t.scaleY,t.scale,t.originY)}function Cb(e,t){return bb(VR(e.getBoundingClientRect(),t))}function $R(e,t,n){const a=Cb(e,n),{scroll:r}=t;return r&&(Bt(a.x,r.offset.x),Bt(a.y,r.offset.y)),a}const HR={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},UR=Vr.length;function qR(e,t,n){let a="",r=!0;for(let i=0;i<UR;i++){const o=Vr[i],c=e[o];if(c===void 0)continue;let u=!0;if(typeof c=="number")u=c===(o.startsWith("scale")?1:0);else{const d=parseFloat(c);u=o.startsWith("scale")?d===1:d===0}if(!u||n){const d=pd(c,Yo[o]);if(!u){r=!1;const h=HR[o]||o;a+=`${h}(${d}) `}n&&(t[o]=d)}}const s=e.pathRotation;return s&&(r=!1,a+=`rotate(${pd(s,Yo.pathRotation)}) `),a=a.trim(),n?a=n(t,r?"":a):r&&(a="none"),a}function up(e,t,n){const{style:a,vars:r,transformOrigin:s}=e;let i=!1,o=!1;for(const c in t){const u=t[c];if(Br.has(c)){i=!0;continue}else if(Dw(c)){r[c]=u;continue}else{const d=pd(u,Yo[c]);c.startsWith("origin")?(o=!0,s[c]=d):a[c]=d}}if(t.transform||(i||n?a.transform=qR(t,e.transform,n):a.transform&&(a.transform="none")),o){const{originX:c="50%",originY:u="50%",originZ:d=0}=s;a.transformOrigin=`${c} ${u} ${d}`}}function kb(e,{style:t,vars:n},a,r){const s=e.style;let i;for(i in t)s[i]=t[i];r==null||r.applyProjectionStyles(s,a);for(i in n)s.setProperty(i,n[i])}function sg(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ns={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(F.test(e))e=parseFloat(e);else return e;const n=sg(e,t.target.x),a=sg(e,t.target.y);return`${n}% ${a}%`}},WR={correct:(e,{treeScale:t,projectionDelta:n})=>{const a=e,r=At.parse(e);if(r.length>5)return a;const s=At.createTransformer(e),i=typeof r[0]!="number"?1:0,o=n.x.scale*t.x,c=n.y.scale*t.y;r[0+i]/=o,r[1+i]/=c;const u=J(o,c,.5);return typeof r[2+i]=="number"&&(r[2+i]/=u),typeof r[3+i]=="number"&&(r[3+i]/=u),s(r)}},xd={borderRadius:{...ns,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ns,borderTopRightRadius:ns,borderBottomLeftRadius:ns,borderBottomRightRadius:ns,boxShadow:WR};function Nb(e,{layout:t,layoutId:n}){return Br.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!xd[e]||e==="opacity")}function dp(e,t,n){var i;const a=e.style,r=t==null?void 0:t.style,s={};if(!a)return s;for(const o in a)(Ee(a[o])||r&&Ee(r[o])||Nb(o,e)||((i=n==null?void 0:n.getValue(o))==null?void 0:i.liveStyle)!==void 0)&&(s[o]=a[o]);return s}function GR(e){return window.getComputedStyle(e)}class KR extends wb{constructor(){super(...arguments),this.type="html",this.renderInstance=kb}readValueFromInstance(t,n){var a;if(Br.has(n))return(a=this.projection)!=null&&a.isProjecting?nd(n):p4(t,n);{const r=GR(t),s=(Dw(n)?r.getPropertyValue(n):r[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Cb(t,n)}build(t,n,a){up(t,n,a.transformTemplate)}scrapeMotionValuesFromProps(t,n,a){return dp(t,n,a)}}const QR={offset:"stroke-dashoffset",array:"stroke-dasharray"},YR={offset:"strokeDashoffset",array:"strokeDasharray"};function XR(e,t,n=1,a=0,r=!0){e.pathLength=1;const s=r?QR:YR;e[s.offset]=`${-a}`,e[s.array]=`${t} ${n}`}const ZR=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function jb(e,{attrX:t,attrY:n,attrScale:a,pathLength:r,pathSpacing:s=1,pathOffset:i=0,...o},c,u,d){if(up(e,o,u),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:p}=e;h.transform&&(p.transform=h.transform,delete h.transform),(p.transform||h.transformOrigin)&&(p.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),p.transform&&(p.transformBox=(d==null?void 0:d.transformBox)??"fill-box",delete h.transformBox);for(const m of ZR)h[m]!==void 0&&(p[m]=h[m],delete h[m]);t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),a!==void 0&&(h.scale=a),r!==void 0&&XR(h,r,s,i,!1)}const Tb=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"]),Eb=e=>typeof e=="string"&&e.toLowerCase()==="svg";function JR(e,t,n,a){kb(e,t,void 0,a);for(const r in t.attrs)e.setAttribute(Tb.has(r)?r:rp(r),t.attrs[r])}function Ab(e,t,n){const a=dp(e,t,n);for(const r in e)if(Ee(e[r])||Ee(t[r])){const s=Vr.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;a[s]=e[r]}return a}class e3 extends wb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=xe}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Br.has(n)){const a=ub(n);return a&&a.default||0}return n=Tb.has(n)?n:rp(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,a){return Ab(t,n,a)}build(t,n,a){jb(t,n,this.isSVGTag,a.transformTemplate,a.style)}renderInstance(t,n,a,r){JR(t,n,a,r)}mount(t){this.isSVGTag=Eb(t.tagName),super.mount(t)}}const t3=cp.length;function Rb(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Rb(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<t3;n++){const a=cp[n],r=e.props[a];(Gs(r)||r===!1)&&(t[a]=r)}return t}function Mb(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let a=0;a<n;a++)if(t[a]!==e[a])return!1;return!0}const n3=[...lp].reverse(),a3=lp.length;function r3(e){return t=>Promise.all(t.map(({animation:n,options:a})=>eR(e,n,a)))}function s3(e){let t=r3(e),n=ig(),a=!0,r=!1;const s=u=>(d,h)=>{var m;const p=Ca(e,h,u==="exit"?(m=e.presenceContext)==null?void 0:m.custom:void 0);if(p){const{transition:x,transitionEnd:v,...b}=p;d={...d,...b,...v}}return d};function i(u){t=u(e)}function o(u){const{props:d}=e,h=Rb(e.parent)||{},p=[],m=new Set;let x={},v=1/0;for(let g=0;g<a3;g++){const f=n3[g],y=n[f],P=d[f]!==void 0?d[f]:h[f],S=Gs(P),C=f===u?y.isActive:null;C===!1&&(v=g);let N=P===h[f]&&P!==d[f]&&S;if(N&&(a||r)&&e.manuallyAnimateOnMount&&(N=!1),y.protectedKeys={...x},!y.isActive&&C===null||!P&&!y.prevProp||Rl(P)||typeof P=="boolean")continue;if(f==="exit"&&y.isActive&&C!==!0){y.prevResolvedValues&&(x={...x,...y.prevResolvedValues});continue}const k=i3(y.prevProp,P);let A=k||f===u&&y.isActive&&!N&&S||g>v&&S,E=!1;const L=Array.isArray(P)?P:[P];let O=L.reduce(s(f),{});C===!1&&(O={});const{prevResolvedValues:$={}}=y,I={...$,...O},H=j=>{A=!0,m.has(j)&&(E=!0,m.delete(j)),y.needsAnimating[j]=!0;const M=e.getValue(j);M&&(M.liveStyle=!1)};for(const j in I){const M=O[j],z=$[j];if(x.hasOwnProperty(j))continue;let B=!1;ld(M)&&ld(z)?B=!Mb(M,z)||k:B=M!==z,B?M!=null?H(j):m.add(j):M!==void 0&&m.has(j)?H(j):y.protectedKeys[j]=!0}y.prevProp=P,y.prevResolvedValues=O,y.isActive&&(x={...x,...O}),(a||r)&&e.blockInitialAnimation&&(A=!1);const _=N&&k;A&&(!_||E)&&p.push(...L.map(j=>{const M={type:f};if(typeof j=="string"&&(a||r)&&!_&&e.manuallyAnimateOnMount&&e.parent){const{parent:z}=e,B=Ca(z,j);if(z.enteringChildren&&B){const{delayChildren:X}=B.transition||{};M.delay=tb(z.enteringChildren,e,X)}}return{animation:j,options:M}}))}if(m.size){const g={};if(typeof d.initial!="boolean"){const f=Ca(e,Array.isArray(d.initial)?d.initial[0]:d.initial);f&&f.transition&&(g.transition=f.transition)}m.forEach(f=>{const y=e.getBaseTarget(f),P=e.getValue(f);P&&(P.liveStyle=!0),g[f]=y??null}),p.push({animation:g})}let b=!!p.length;return a&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(b=!1),a=!1,r=!1,b?t(p):Promise.resolve()}function c(u,d){var p;if(n[u].isActive===d)return Promise.resolve();(p=e.variantChildren)==null||p.forEach(m=>{var x;return(x=m.animationState)==null?void 0:x.setActive(u,d)}),n[u].isActive=d;const h=o(u);for(const m in n)n[m].protectedKeys={};return h}return{animateChanges:o,setActive:c,setAnimateFunction:i,getState:()=>n,reset:()=>{n=ig(),r=!0}}}function i3(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Mb(t,e):!1}function sa(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ig(){return{animate:sa(!0),whileInView:sa(),whileHover:sa(),whileTap:sa(),whileDrag:sa(),whileFocus:sa(),exit:sa()}}function yd(e,t){e.min=t.min,e.max=t.max}function wt(e,t){yd(e.x,t.x),yd(e.y,t.y)}function og(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const Ib=1e-4,o3=1-Ib,l3=1+Ib,Ob=.01,c3=0-Ob,u3=0+Ob;function Ve(e){return e.max-e.min}function d3(e,t,n){return Math.abs(e-t)<=n}function lg(e,t,n,a=.5){e.origin=a,e.originPoint=J(t.min,t.max,e.origin),e.scale=Ve(n)/Ve(t),e.translate=J(n.min,n.max,e.origin)-e.originPoint,(e.scale>=o3&&e.scale<=l3||isNaN(e.scale))&&(e.scale=1),(e.translate>=c3&&e.translate<=u3||isNaN(e.translate))&&(e.translate=0)}function ws(e,t,n,a){lg(e.x,t.x,n.x,a?a.originX:void 0),lg(e.y,t.y,n.y,a?a.originY:void 0)}function cg(e,t,n,a=0){const r=a?J(n.min,n.max,a):n.min;e.min=r+t.min,e.max=e.min+Ve(t)}function h3(e,t,n,a){cg(e.x,t.x,n.x,a==null?void 0:a.x),cg(e.y,t.y,n.y,a==null?void 0:a.y)}function ug(e,t,n,a=0){const r=a?J(n.min,n.max,a):n.min;e.min=t.min-r,e.max=e.min+Ve(t)}function Jo(e,t,n,a){ug(e.x,t.x,n.x,a==null?void 0:a.x),ug(e.y,t.y,n.y,a==null?void 0:a.y)}function dg(e,t,n,a,r){return e-=t,e=Zo(e,1/n,a),r!==void 0&&(e=Zo(e,1/r,a)),e}function p3(e,t=0,n=1,a=.5,r,s=e,i=e){if(Kt.test(t)&&(t=parseFloat(t),t=J(i.min,i.max,t/100)-i.min),typeof t!="number")return;let o=J(s.min,s.max,a);e===s&&(o-=t),e.min=dg(e.min,t,n,o,r),e.max=dg(e.max,t,n,o,r)}function hg(e,t,[n,a,r],s,i){p3(e,t[n],t[a],t[r],t.scale,s,i)}const f3=["x","scaleX","originX"],m3=["y","scaleY","originY"];function pg(e,t,n,a){hg(e.x,t,f3,n?n.x:void 0,a?a.x:void 0),hg(e.y,t,m3,n?n.y:void 0,a?a.y:void 0)}function fg(e){return e.translate===0&&e.scale===1}function Db(e){return fg(e.x)&&fg(e.y)}function mg(e,t){return e.min===t.min&&e.max===t.max}function g3(e,t){return mg(e.x,t.x)&&mg(e.y,t.y)}function gg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Lb(e,t){return gg(e.x,t.x)&&gg(e.y,t.y)}function xg(e){return Ve(e.x)/Ve(e.y)}function yg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Ft(e){return[e("x"),e("y")]}function x3(e,t,n){let a="";const r=e.x.translate/t.x,s=e.y.translate/t.y,i=(n==null?void 0:n.z)||0;if((r||s||i)&&(a=`translate3d(${r}px, ${s}px, ${i}px) `),(t.x!==1||t.y!==1)&&(a+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:d,pathRotation:h,rotateX:p,rotateY:m,skewX:x,skewY:v}=n;u&&(a=`perspective(${u}px) ${a}`),d&&(a+=`rotate(${d}deg) `),h&&(a+=`rotate(${h}deg) `),p&&(a+=`rotateX(${p}deg) `),m&&(a+=`rotateY(${m}deg) `),x&&(a+=`skewX(${x}deg) `),v&&(a+=`skewY(${v}deg) `)}const o=e.x.scale*t.x,c=e.y.scale*t.y;return(o!==1||c!==1)&&(a+=`scale(${o}, ${c})`),a||"none"}const Fb=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],y3=Fb.length,vg=e=>typeof e=="string"?parseFloat(e):e,wg=e=>typeof e=="number"||F.test(e);function v3(e,t,n,a,r,s){r?(e.opacity=J(0,n.opacity??1,w3(a)),e.opacityExit=J(t.opacity??1,0,b3(a))):s&&(e.opacity=J(t.opacity??1,n.opacity??1,a));for(let i=0;i<y3;i++){const o=Fb[i];let c=bg(t,o),u=bg(n,o);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||wg(c)===wg(u)?(e[o]=Math.max(J(vg(c),vg(u),a),0),(Kt.test(u)||Kt.test(c))&&(e[o]+="%")):e[o]=u}(t.rotate||n.rotate)&&(e.rotate=J(t.rotate||0,n.rotate||0,a))}function bg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const w3=zb(0,.5,Ew),b3=zb(.5,.95,mt);function zb(e,t,n){return a=>a<e?0:a>t?1:n(qs(e,t,a))}function P3(e,t,n){const a=Ee(e)?e:Ar(e);return a.start(np("",a,t,n)),a.animation}function Ks(e,t,n,a={passive:!0}){return e.addEventListener(t,n,a),()=>e.removeEventListener(t,n)}const S3=(e,t)=>e.depth-t.depth;class C3{constructor(){this.children=[],this.isDirty=!1}add(t){Hh(this.children,t),this.isDirty=!0}remove(t){qo(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(S3),this.isDirty=!1,this.children.forEach(t)}}function k3(e,t){const n=_e.now(),a=({timestamp:r})=>{const s=r-n;s>=t&&(Zn(a),e(s-t))};return ee.setup(a,!0),()=>Zn(a)}function ho(e){return Ee(e)?e.get():e}class N3{constructor(){this.members=[]}add(t){Hh(this.members,t);for(let n=this.members.length-1;n>=0;n--){const a=this.members[n];if(a===t||a===this.lead||a===this.prevLead)continue;const r=a.instance;(!r||r.isConnected===!1)&&!a.snapshot&&(qo(this.members,a),a.unmount())}t.scheduleRender()}remove(t){if(qo(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){var n;for(let a=this.members.indexOf(t)-1;a>=0;a--){const r=this.members[a];if(r.isPresent!==!1&&((n=r.instance)==null?void 0:n.isConnected)!==!1)return this.promote(r),!0}return!1}promote(t,n){var r;const a=this.lead;if(t!==a&&(this.prevLead=a,this.lead=t,t.show(),a)){a.updateSnapshot(),t.scheduleRender();const{layoutDependency:s}=a.options,{layoutDependency:i}=t.options;(s===void 0||s!==i)&&(t.resumeFrom=a,n&&(a.preserveOpacity=!0),a.snapshot&&(t.snapshot=a.snapshot,t.snapshot.latestValues=a.animationValues||a.latestValues),(r=t.root)!=null&&r.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&a.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,a,r,s,i;(a=(n=t.options).onExitComplete)==null||a.call(n),(i=(r=t.resumingFrom)==null?void 0:(s=r.options).onExitComplete)==null||i.call(s)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const po={hasAnimatedSinceResize:!0,hasEverUpdated:!1},jc=["","X","Y","Z"],j3=1e3;let T3=0;function Tc(e,t,n,a){const{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),a&&(a[e]=0))}function _b(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=ib(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:r,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ee,!(r||s))}const{parent:a}=e;a&&!a.hasCheckedOptimisedAppear&&_b(a)}function Vb({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:a,resetTransform:r}){return class{constructor(i={},o=t==null?void 0:t()){this.id=T3++,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(R3),this.nodes.forEach(F3),this.nodes.forEach(z3),this.nodes.forEach(M3)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=o?o.root||o:this,this.path=o?[...o.path,o]:[],this.parent=o,this.depth=o?o.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new C3)}addEventListener(i,o){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new qh),this.eventHandlers.get(i).add(o)}notifyListeners(i,...o){const c=this.eventHandlers.get(i);c&&c.notify(...o)}hasListeners(i){return this.eventHandlers.has(i)}mount(i){if(this.instance)return;this.isSVG=op(i)&&!AR(i),this.instance=i;const{layoutId:o,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||o)&&(this.isLayoutDirty=!0),e){let d,h=0;const p=()=>this.root.updateBlockedByResize=!1;ee.read(()=>{h=window.innerWidth}),e(i,()=>{const m=window.innerWidth;m!==h&&(h=m,this.root.updateBlockedByResize=!0,d&&d(),d=k3(p,250),po.hasAnimatedSinceResize&&(po.hasAnimatedSinceResize=!1,this.nodes.forEach(Cg)))})}o&&this.root.registerSharedNode(o,this),this.options.animate!==!1&&u&&(o||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:h,hasRelativeLayoutChanged:p,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||u.getDefaultTransition()||H3,{onLayoutAnimationStart:v,onLayoutAnimationComplete:b}=u.getProps(),g=!this.targetLayout||!Lb(this.targetLayout,m),f=!h&&p;if(this.options.layoutRoot||this.resumeFrom||f||h&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const y={...tp(x,"layout"),onPlay:v,onComplete:b};(u.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(d,f,y.path)}else h||Cg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Zn(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(_3),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&_b(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const h=this.path[d];h.shouldResetTransform=!0,(typeof h.latestValues.x=="string"||typeof h.latestValues.y=="string")&&(h.isLayoutDirty=!0),h.updateScroll("snapshot"),h.options.layoutRoot&&h.willUpdate(!1)}const{layoutId:o,layout:c}=this.options;if(o===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const c=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),c&&this.nodes.forEach(O3),this.nodes.forEach(Pg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Sg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(D3),this.nodes.forEach(L3),this.nodes.forEach(E3),this.nodes.forEach(A3)):this.nodes.forEach(Sg),this.clearAllSnapshots();const o=_e.now();Te.delta=Qt(0,1e3/60,o-Te.timestamp),Te.timestamp=o,Te.isProcessing=!0,vc.update.process(Te),vc.preRender.process(Te),vc.render.process(Te),Te.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,sp.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(I3),this.sharedNodes.forEach(V3)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ee.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ee.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ve(this.snapshot.measuredBox.x)&&!Ve(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 c=0;c<this.path.length;c++)this.path[c].updateScroll();const i=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=xe()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:o}=this.options;o&&o.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let o=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(o=!1),o&&this.instance){const c=a(this.instance);this.scroll={animationId:this.root.animationId,phase:i,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!r)return;const i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,o=this.projectionDelta&&!Db(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;i&&this.instance&&(o||la(this.latestValues)||d)&&(r(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const o=this.measurePageBox();let c=this.removeElementScroll(o);return i&&(c=this.removeTransform(c)),U3(c),{animationId:this.root.animationId,measuredBox:o,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:i}=this.options;if(!i)return xe();const o=i.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(q3))){const{scroll:d}=this.root;d&&(Bt(o.x,d.offset.x),Bt(o.y,d.offset.y))}return o}removeElementScroll(i){var c;const o=xe();if(wt(o,i),(c=this.scroll)!=null&&c.wasRoot)return o;for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:h,options:p}=d;d!==this.root&&h&&p.layoutScroll&&(h.wasRoot&&wt(o,i),Bt(o.x,h.offset.x),Bt(o.y,h.offset.y))}return o}applyTransform(i,o=!1,c){var d,h;const u=c||xe();wt(u,i);for(let p=0;p<this.path.length;p++){const m=this.path[p];!o&&m.options.layoutScroll&&m.scroll&&m!==m.root&&(Bt(u.x,-m.scroll.offset.x),Bt(u.y,-m.scroll.offset.y)),la(m.latestValues)&&uo(u,m.latestValues,(d=m.layout)==null?void 0:d.layoutBox)}return la(this.latestValues)&&uo(u,this.latestValues,(h=this.layout)==null?void 0:h.layoutBox),u}removeTransform(i){var c;const o=xe();wt(o,i);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!la(d.latestValues))continue;let h;d.instance&&(md(d.latestValues)&&d.updateSnapshot(),h=xe(),wt(h,d.measurePageBox())),pg(o,d.latestValues,(c=d.snapshot)==null?void 0:c.layoutBox,h)}return la(this.latestValues)&&pg(o,this.latestValues),o}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.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!==Te.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){var m;const o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==o;if(!(i||c&&this.isSharedProjectionDirty||this.isProjectionDirty||(m=this.parent)!=null&&m.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:h}=this.options;if(!this.layout||!(d||h))return;this.resolvedRelativeTargetAt=Te.timestamp;const p=this.getClosestProjectingParent();p&&this.linkedParentVersion!==p.layoutVersion&&!p.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&p&&p.layout?this.createRelativeTarget(p,this.layout.layoutBox,p.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=xe(),this.targetWithTransforms=xe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),h3(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):wt(this.target,this.layout.layoutBox),Sb(this.target,this.targetDelta)):wt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?this.createRelativeTarget(p,this.target,p.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||md(this.parent.latestValues)||Pb(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(i,o,c){this.relativeParent=i,this.linkedParentVersion=i.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=xe(),this.relativeTargetOrigin=xe(),Jo(this.relativeTargetOrigin,o,c,this.options.layoutAnchor||void 0),wt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var x;const i=this.getLead(),o=!!this.resumingFrom||this!==i;let c=!0;if((this.isProjectionDirty||(x=this.parent)!=null&&x.isProjectionDirty)&&(c=!1),o&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Te.timestamp&&(c=!1),c)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;wt(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,p=this.treeScale.y;BR(this.layoutCorrected,this.treeScale,this.path,o),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox,i.targetWithTransforms=xe());const{target:m}=i;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(og(this.prevProjectionDelta.x,this.projectionDelta.x),og(this.prevProjectionDelta.y,this.projectionDelta.y)),ws(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==p||!yg(this.projectionDelta.x,this.prevProjectionDelta.x)||!yg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){var o;if((o=this.options.visualElement)==null||o.scheduleRender(),i){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=er(),this.projectionDelta=er(),this.projectionDeltaWithTransform=er()}setAnimationOrigin(i,o=!1,c){const u=this.snapshot,d=u?u.latestValues:{},h={...this.latestValues},p=er();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!o;const m=xe(),x=u?u.source:void 0,v=this.layout?this.layout.source:void 0,b=x!==v,g=this.getStack(),f=!g||g.members.length<=1,y=!!(b&&!f&&this.options.crossfade===!0&&!this.path.some($3));this.animationProgress=0;let P;const S=c==null?void 0:c.interpolateProjection(i);this.mixTargetDelta=C=>{const N=C/1e3,k=S==null?void 0:S(N);k?(p.x.translate=k.x,p.x.scale=J(i.x.scale,1,N),p.x.origin=i.x.origin,p.x.originPoint=i.x.originPoint,p.y.translate=k.y,p.y.scale=J(i.y.scale,1,N),p.y.origin=i.y.origin,p.y.originPoint=i.y.originPoint):(kg(p.x,i.x,N),kg(p.y,i.y,N)),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Jo(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),B3(this.relativeTarget,this.relativeTargetOrigin,m,N),P&&g3(this.relativeTarget,P)&&(this.isProjectionDirty=!1),P||(P=xe()),wt(P,this.relativeTarget)),b&&(this.animationValues=h,v3(h,d,this.latestValues,N,y,f)),k&&k.rotate!==void 0&&(this.animationValues||(this.animationValues=h),this.animationValues.pathRotation=k.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=N},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){var o,c,u;this.notifyListeners("animationStart"),(o=this.currentAnimation)==null||o.stop(),(u=(c=this.resumingFrom)==null?void 0:c.currentAnimation)==null||u.stop(),this.pendingAnimation&&(Zn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ee.update(()=>{po.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ar(0)),this.motionValue.jump(0,!1),this.currentAnimation=P3(this.motionValue,[0,1e3],{...i,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),i.onUpdate&&i.onUpdate(d)},onStop:()=>{},onComplete:()=>{i.onComplete&&i.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 i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(j3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:o,target:c,layout:u,latestValues:d}=i;if(!(!o||!c||!u)){if(this!==i&&this.layout&&u&&Bb(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||xe();const h=Ve(this.layout.layoutBox.x);c.x.min=i.target.x.min,c.x.max=c.x.min+h;const p=Ve(this.layout.layoutBox.y);c.y.min=i.target.y.min,c.y.max=c.y.min+p}wt(o,c),uo(o,d),ws(this.projectionDeltaWithTransform,this.layoutCorrected,o,d)}}registerSharedNode(i,o){this.sharedNodes.has(i)||this.sharedNodes.set(i,new N3),this.sharedNodes.get(i).add(o);const u=o.options.initialPromotionConfig;o.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(o):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){var o;const{layoutId:i}=this.options;return i?((o=this.getStack())==null?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:i}=this.options;return i?(o=this.getStack())==null?void 0:o.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:o,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),i&&(this.projectionDelta=void 0,this.needsReset=!0),o&&this.setOptions({transition:o})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetSkewAndRotation(){const{visualElement:i}=this.options;if(!i)return;let o=!1;const{latestValues:c}=i;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(o=!0),!o)return;const u={};c.z&&Tc("z",i,u,this.animationValues);for(let d=0;d<jc.length;d++)Tc(`rotate${jc[d]}`,i,u,this.animationValues),Tc(`skew${jc[d]}`,i,u,this.animationValues);i.render();for(const d in u)i.setStaticValue(d,u[d]),this.animationValues&&(this.animationValues[d]=u[d]);i.scheduleRender()}applyProjectionStyles(i,o){if(!this.instance||this.isSVG)return;if(!this.isVisible){i.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,i.visibility="",i.opacity="",i.pointerEvents=ho(o==null?void 0:o.pointerEvents)||"",i.transform=c?c(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(i.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,i.pointerEvents=ho(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!la(this.latestValues)&&(i.transform=c?c({},""):"none",this.hasProjected=!1);return}i.visibility="";const d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let h=x3(this.projectionDeltaWithTransform,this.treeScale,d);c&&(h=c(d,h)),i.transform=h;const{x:p,y:m}=this.projectionDelta;i.transformOrigin=`${p.origin*100}% ${m.origin*100}% 0`,u.animationValues?i.opacity=u===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:i.opacity=u===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const x in xd){if(d[x]===void 0)continue;const{correct:v,applyTo:b,isCSSVariable:g}=xd[x],f=h==="none"?d[x]:v(d[x],u);if(b){const y=b.length;for(let P=0;P<y;P++)i[b[P]]=f}else g?this.options.visualElement.renderState.vars[x]=f:i[x]=f}this.options.layoutId&&(i.pointerEvents=u===this?ho(o==null?void 0:o.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>{var o;return(o=i.currentAnimation)==null?void 0:o.stop()}),this.root.nodes.forEach(Pg),this.root.sharedNodes.clear()}}}function E3(e){e.updateLayout()}function A3(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:r}=e.layout,{animationType:s}=e.options,i=t.source!==e.layout.source;if(s==="size")Ft(h=>{const p=i?t.measuredBox[h]:t.layoutBox[h],m=Ve(p);p.min=a[h].min,p.max=p.min+m});else if(s==="x"||s==="y"){const h=s==="x"?"y":"x";yd(i?t.measuredBox[h]:t.layoutBox[h],a[h])}else Bb(s,t.layoutBox,a)&&Ft(h=>{const p=i?t.measuredBox[h]:t.layoutBox[h],m=Ve(a[h]);p.max=p.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[h].max=e.relativeTarget[h].min+m)});const o=er();ws(o,a,t.layoutBox);const c=er();i?ws(c,e.applyTransform(r,!0),t.measuredBox):ws(c,a,t.layoutBox);const u=!Db(o);let d=!1;if(!e.resumeFrom){const h=e.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:p,layout:m}=h;if(p&&m){const x=e.options.layoutAnchor||void 0,v=xe();Jo(v,t.layoutBox,p.layoutBox,x);const b=xe();Jo(b,a,m.layoutBox,x),Lb(v,b)||(d=!0),h.options.layoutRoot&&(e.relativeTarget=b,e.relativeTargetOrigin=v,e.relativeParent=h)}}}e.notifyListeners("didUpdate",{layout:a,snapshot:t,delta:c,layoutDelta:o,hasLayoutChanged:u,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:a}=e.options;a&&a()}e.options.transition=void 0}function R3(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function M3(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function I3(e){e.clearSnapshot()}function Pg(e){e.clearMeasurements()}function O3(e){e.isLayoutDirty=!0,e.updateLayout()}function Sg(e){e.isLayoutDirty=!1}function D3(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function L3(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Cg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function F3(e){e.resolveTargetDelta()}function z3(e){e.calcProjection()}function _3(e){e.resetSkewAndRotation()}function V3(e){e.removeLeadSnapshot()}function kg(e,t,n){e.translate=J(t.translate,0,n),e.scale=J(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Ng(e,t,n,a){e.min=J(t.min,n.min,a),e.max=J(t.max,n.max,a)}function B3(e,t,n,a){Ng(e.x,t.x,n.x,a),Ng(e.y,t.y,n.y,a)}function $3(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const H3={duration:.45,ease:[.4,0,.1,1]},jg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Tg=jg("applewebkit/")&&!jg("chrome/")?Math.round:mt;function Eg(e){e.min=Tg(e.min),e.max=Tg(e.max)}function U3(e){Eg(e.x),Eg(e.y)}function Bb(e,t,n){return e==="position"||e==="preserve-aspect"&&!d3(xg(t),xg(n),.2)}function q3(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const W3=Vb({attachResizeListener:(e,t)=>Ks(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Ec={current:void 0},$b=Vb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ec.current){const e=new W3({});e.mount(window),e.setOptions({layoutScroll:!0}),Ec.current=e}return Ec.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Hb=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function G3(e=!0){const t=w.useContext($h);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:a,register:r}=t,s=w.useId();w.useEffect(()=>{if(e)return r(s)},[e]);const i=w.useCallback(()=>e&&a&&a(s),[s,a,e]);return!n&&a?[!1,i]:[!0]}const Ub=w.createContext({strict:!1}),Ag={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 Rg=!1;function K3(){if(Rg)return;const e={};for(const t in Ag)e[t]={isEnabled:n=>Ag[t].some(a=>!!n[a])};vb(e),Rg=!0}function qb(){return K3(),FR()}function Q3(e){const t=qb();for(const n in e)t[n]={...t[n],...e[n]};vb(t)}const Y3=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 el(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Y3.has(e)}let Wb=e=>!el(e);function X3(e){typeof e=="function"&&(Wb=t=>t.startsWith("on")?!el(t):e(t))}try{X3(require("@emotion/is-prop-valid").default)}catch{}function Z3(e,t,n){const a={};for(const r in e)r==="values"&&typeof e.values=="object"||Ee(e[r])||(Wb(r)||n===!0&&el(r)||!t&&!el(r)||e.draggable&&r.startsWith("onDrag"))&&(a[r]=e[r]);return a}const Il=w.createContext({});function J3(e,t){if(Ml(e)){const{initial:n,animate:a}=e;return{initial:n===!1||Gs(n)?n:void 0,animate:Gs(a)?a:void 0}}return e.inherit!==!1?t:{}}function e5(e){const{initial:t,animate:n}=J3(e,w.useContext(Il));return w.useMemo(()=>({initial:t,animate:n}),[Mg(t),Mg(n)])}function Mg(e){return Array.isArray(e)?e.join(" "):e}const hp=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Gb(e,t,n){for(const a in t)!Ee(t[a])&&!Nb(a,n)&&(e[a]=t[a])}function t5({transformTemplate:e},t){return w.useMemo(()=>{const n=hp();return up(n,t,e),Object.assign({},n.vars,n.style)},[t])}function n5(e,t){const n=e.style||{},a={};return Gb(a,n,e),Object.assign(a,t5(e,t)),a}function a5(e,t){const n={},a=n5(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=a,n}const Kb=()=>({...hp(),attrs:{}});function r5(e,t,n,a){const r=w.useMemo(()=>{const s=Kb();return jb(s,t,Eb(a),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};Gb(s,e.style,e),r.style={...s,...r.style}}return r}const s5=["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 pp(e){return typeof e!="string"||e.includes("-")?!1:!!(s5.indexOf(e)>-1||/[A-Z]/u.test(e))}function i5(e,t,n,{latestValues:a},r,s=!1,i){const c=(i??pp(e)?r5:a5)(t,a,r,e),u=Z3(t,typeof e=="string",s),d=e!==w.Fragment?{...u,...c,ref:n}:{},{children:h}=t,p=w.useMemo(()=>Ee(h)?h.get():h,[h]);return w.createElement(e,{...d,children:p})}function o5({scrapeMotionValuesFromProps:e,createRenderState:t},n,a,r){return{latestValues:l5(n,a,r,e),renderState:t()}}function l5(e,t,n,a){const r={},s=a(e,{});for(const p in s)r[p]=ho(s[p]);let{initial:i,animate:o}=e;const c=Ml(e),u=xb(e);t&&u&&!c&&e.inherit!==!1&&(i===void 0&&(i=t.initial),o===void 0&&(o=t.animate));let d=n?n.initial===!1:!1;d=d||i===!1;const h=d?o:i;if(h&&typeof h!="boolean"&&!Rl(h)){const p=Array.isArray(h)?h:[h];for(let m=0;m<p.length;m++){const x=ap(e,p[m]);if(x){const{transitionEnd:v,transition:b,...g}=x;for(const f in g){let y=g[f];if(Array.isArray(y)){const P=d?y.length-1:0;y=y[P]}y!==null&&(r[f]=y)}for(const f in v)r[f]=v[f]}}}return r}const Qb=e=>(t,n)=>{const a=w.useContext(Il),r=w.useContext($h),s=()=>o5(e,t,a,r);return n?s():iA(s)},c5=Qb({scrapeMotionValuesFromProps:dp,createRenderState:hp}),u5=Qb({scrapeMotionValuesFromProps:Ab,createRenderState:Kb}),d5=Symbol.for("motionComponentSymbol");function h5(e,t,n){const a=w.useRef(n);w.useInsertionEffect(()=>{a.current=n});const r=w.useRef(null);return w.useCallback(s=>{var o;s&&((o=e.onMount)==null||o.call(e,s)),t&&(s?t.mount(s):t.unmount());const i=a.current;if(typeof i=="function")if(s){const c=i(s);typeof c=="function"&&(r.current=c)}else r.current?(r.current(),r.current=null):i(s);else i&&(i.current=s)},[t])}const Yb=w.createContext({});function _a(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function p5(e,t,n,a,r,s){var y,P;const{visualElement:i}=w.useContext(Il),o=w.useContext(Ub),c=w.useContext($h),u=w.useContext(Hb),d=u.reducedMotion,h=u.skipAnimations,p=w.useRef(null),m=w.useRef(!1);a=a||o.renderer,!p.current&&a&&(p.current=a(e,{visualState:t,parent:i,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:d,skipAnimations:h,isSVG:s}),m.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));const x=p.current,v=w.useContext(Yb);x&&!x.projection&&r&&(x.type==="html"||x.type==="svg")&&f5(p.current,n,r,v);const b=w.useRef(!1);w.useInsertionEffect(()=>{x&&b.current&&x.update(n,c)});const g=n[sb],f=w.useRef(!!g&&typeof window<"u"&&!((y=window.MotionHandoffIsComplete)!=null&&y.call(window,g))&&((P=window.MotionHasOptimisedAnimation)==null?void 0:P.call(window,g)));return lA(()=>{m.current=!0,x&&(b.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),x.scheduleRenderMicrotask(),f.current&&x.animationState&&x.animationState.animateChanges())}),w.useEffect(()=>{x&&(!f.current&&x.animationState&&x.animationState.animateChanges(),f.current&&(queueMicrotask(()=>{var S;(S=window.MotionHandoffMarkAsComplete)==null||S.call(window,g)}),f.current=!1),x.enteringChildren=void 0)}),x}function f5(e,t,n,a){const{layoutId:r,layout:s,drag:i,dragConstraints:o,layoutScroll:c,layoutRoot:u,layoutAnchor:d,layoutCrossfade:h}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Xb(e.parent)),e.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!i||o&&_a(o),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:a,crossfade:h,layoutScroll:c,layoutRoot:u,layoutAnchor:d})}function Xb(e){if(e)return e.options.allowProjection!==!1?e.projection:Xb(e.parent)}function Ac(e,{forwardMotionProps:t=!1,type:n}={},a,r){a&&Q3(a);const s=n?n==="svg":pp(e),i=s?u5:c5;function o(u,d){let h;const p={...w.useContext(Hb),...u,layoutId:m5(u)},{isStatic:m}=p,x=e5(u),v=i(u,m);if(!m&&typeof window<"u"){g5();const b=x5(p);h=b.MeasureLayout,x.visualElement=p5(e,v,p,r,b.ProjectionNode,s)}return l.jsxs(Il.Provider,{value:x,children:[h&&x.visualElement?l.jsx(h,{visualElement:x.visualElement,...p}):null,i5(e,u,h5(v,x.visualElement,d),v,m,t,s)]})}o.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=w.forwardRef(o);return c[d5]=e,c}function m5({layoutId:e}){const t=w.useContext(xw).id;return t&&e!==void 0?t+"-"+e:e}function g5(e,t){w.useContext(Ub).strict}function x5(e){const t=qb(),{drag:n,layout:a}=t;if(!n&&!a)return{};const r={...n,...a};return{MeasureLayout:n!=null&&n.isEnabled(e)||a!=null&&a.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function y5(e,t){if(typeof Proxy>"u")return Ac;const n=new Map,a=(s,i)=>Ac(s,i,e,t),r=(s,i)=>a(s,i);return new Proxy(r,{get:(s,i)=>i==="create"?a:(n.has(i)||n.set(i,Ac(i,void 0,e,t)),n.get(i))})}const v5=(e,t)=>t.isSVG??pp(e)?new e3(t):new KR(t,{allowProjection:e!==w.Fragment});class w5 extends aa{constructor(t){super(t),t.animationState||(t.animationState=s3(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Rl(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let b5=0;class P5 extends aa{constructor(){super(...arguments),this.id=b5++,this.isExitComplete=!1}update(){var s;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:a}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===a)return;if(t&&a===!1){if(this.isExitComplete){const{initial:i,custom:o}=this.node.getProps();if(typeof i=="string"||typeof i=="object"&&i!==null&&!Array.isArray(i)){const c=Ca(this.node,i,o);if(c){const{transition:u,transitionEnd:d,...h}=c;for(const p in h)(s=this.node.getValue(p))==null||s.jump(h[p])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const r=this.node.animationState.setActive("exit",!t);n&&!t&&r.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const S5={animation:{Feature:w5},exit:{Feature:P5}};function di(e){return{point:{x:e.pageX,y:e.pageY}}}const C5=e=>t=>ip(t)&&e(t,di(t));function bs(e,t,n,a){return Ks(e,t,C5(n),a)}const Zb=({current:e})=>e?e.ownerDocument.defaultView:null,Ig=(e,t)=>Math.abs(e-t);function k5(e,t){const n=Ig(e.x,t.x),a=Ig(e.y,t.y);return Math.sqrt(n**2+a**2)}const Og=new Set(["auto","scroll"]);class Jb{constructor(t,n,{transformPagePoint:a,contextWindow:r=window,dragSnapToOrigin:s=!1,distanceThreshold:i=3,element:o}={}){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=m=>{this.handleScroll(m.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=_i(this.lastRawMoveEventInfo,this.transformPagePoint));const m=Rc(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,v=k5(m.offset,{x:0,y:0})>=this.distanceThreshold;if(!x&&!v)return;const{point:b}=m,{timestamp:g}=Te;this.history.push({...b,timestamp:g});const{onStart:f,onMove:y}=this.handlers;x||(f&&f(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,m)},this.handlePointerMove=(m,x)=>{this.lastMoveEvent=m,this.lastRawMoveEventInfo=x,this.lastMoveEventInfo=_i(x,this.transformPagePoint),ee.update(this.updatePoint,!0)},this.handlePointerUp=(m,x)=>{this.end();const{onEnd:v,onSessionEnd:b,resumeAnimation:g}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=Rc(m.type==="pointercancel"?this.lastMoveEventInfo:_i(x,this.transformPagePoint),this.history);this.startEvent&&v&&v(m,f),b&&b(m,f)},!ip(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=a,this.distanceThreshold=i,this.contextWindow=r||window;const c=di(t),u=_i(c,this.transformPagePoint),{point:d}=u,{timestamp:h}=Te;this.history=[{...d,timestamp:h}];const{onSessionStart:p}=n;p&&p(t,Rc(u,this.history)),this.removeListeners=li(bs(this.contextWindow,"pointermove",this.handlePointerMove),bs(this.contextWindow,"pointerup",this.handlePointerUp),bs(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let n=t.parentElement;for(;n;){const a=getComputedStyle(n);(Og.has(a.overflowX)||Og.has(a.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.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(t){const n=this.scrollPositions.get(t);if(!n)return;const a=t===window,r=a?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:r.x-n.x,y:r.y-n.y};s.x===0&&s.y===0||(a?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,r),ee.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Zn(this.updatePoint)}}function _i(e,t){return t?{point:t(e.point)}:e}function Dg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Rc({point:e},t){return{point:e,delta:Dg(e,e1(t)),offset:Dg(e,N5(t)),velocity:j5(t,.1)}}function N5(e){return e[0]}function e1(e){return e[e.length-1]}function j5(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,a=null;const r=e1(e);for(;n>=0&&(a=e[n],!(r.timestamp-a.timestamp>at(t)));)n--;if(!a)return{x:0,y:0};a===e[0]&&e.length>2&&r.timestamp-a.timestamp>at(t)*2&&(a=e[1]);const s=pt(r.timestamp-a.timestamp);if(s===0)return{x:0,y:0};const i={x:(r.x-a.x)/s,y:(r.y-a.y)/s};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function T5(e,{min:t,max:n},a){return t!==void 0&&e<t?e=a?J(t,e,a.min):Math.max(e,t):n!==void 0&&e>n&&(e=a?J(n,e,a.max):Math.min(e,n)),e}function Lg(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function E5(e,{top:t,left:n,bottom:a,right:r}){return{x:Lg(e.x,n,r),y:Lg(e.y,t,a)}}function Fg(e,t){let n=t.min-e.min,a=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,a]=[a,n]),{min:n,max:a}}function A5(e,t){return{x:Fg(e.x,t.x),y:Fg(e.y,t.y)}}function R5(e,t){let n=.5;const a=Ve(e),r=Ve(t);return r>a?n=qs(t.min,t.max-a,e.min):a>r&&(n=qs(e.min,e.max-r,t.min)),Qt(0,1,n)}function M5(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const vd=.35;function I5(e=vd){return e===!1?e=0:e===!0&&(e=vd),{x:zg(e,"left","right"),y:zg(e,"top","bottom")}}function zg(e,t,n){return{min:_g(e,t),max:_g(e,n)}}function _g(e,t){return typeof e=="number"?e:e[t]||0}const O5=new WeakMap;class D5{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=xe(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:a}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const s=h=>{n&&this.snapToCursor(di(h).point),this.stopAnimation()},i=(h,p)=>{const{drag:m,dragPropagation:x,onDragStart:v}=this.getProps();if(m&&!x&&(this.openDragLock&&this.openDragLock(),this.openDragLock=pR(m),!this.openDragLock))return;this.latestPointerEvent=h,this.latestPanInfo=p,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ft(g=>{let f=this.getAxisMotionValue(g).get()||0;if(Kt.test(f)){const{projection:y}=this.visualElement;if(y&&y.layout){const P=y.layout.layoutBox[g];P&&(f=Ve(P)*(parseFloat(f)/100))}}this.originPoint[g]=f}),v&&ee.update(()=>v(h,p),!1,!0),cd(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},o=(h,p)=>{this.latestPointerEvent=h,this.latestPanInfo=p;const{dragPropagation:m,dragDirectionLock:x,onDirectionLock:v,onDrag:b}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:g}=p;if(x&&this.currentDirection===null){this.currentDirection=F5(g),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",p.point,g),this.updateAxis("y",p.point,g),this.visualElement.render(),b&&ee.update(()=>b(h,p),!1,!0)},c=(h,p)=>{this.latestPointerEvent=h,this.latestPanInfo=p,this.stop(h,p),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:h}=this.getProps();(h||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new Jb(t,{onSessionStart:s,onStart:i,onMove:o,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:a,contextWindow:Zb(this.visualElement),element:this.visualElement.current})}stop(t,n){const a=t||this.latestPointerEvent,r=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!r||!a)return;const{velocity:i}=r;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&ee.postRender(()=>o(a,r))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:a}=this.getProps();!a&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,a){const{drag:r}=this.getProps();if(!a||!Vi(t,r,this.currentDirection))return;const s=this.getAxisMotionValue(t);let i=this.originPoint[t]+a[t];this.constraints&&this.constraints[t]&&(i=T5(i,this.constraints[t],this.elastic[t])),s.set(i)}resolveConstraints(){var s;const{dragConstraints:t,dragElastic:n}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(s=this.visualElement.projection)==null?void 0:s.layout,r=this.constraints;t&&_a(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&a?this.constraints=E5(a.layoutBox,t):this.constraints=!1,this.elastic=I5(n),r!==this.constraints&&!_a(t)&&a&&this.constraints&&!this.hasMutatedConstraints&&Ft(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=M5(a.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!_a(t))return!1;const a=t.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());const s=$R(a,r.root,this.visualElement.getTransformPagePoint());let i=A5(r.layout.layoutBox,s);if(n){const o=n(_R(i));this.hasMutatedConstraints=!!o,o&&(i=bb(o))}return i}startAnimation(t){const{drag:n,dragMomentum:a,dragElastic:r,dragTransition:s,dragSnapToOrigin:i,onDragTransitionEnd:o}=this.getProps(),c=this.constraints||{},u=Ft(d=>{if(!Vi(d,n,this.currentDirection))return;let h=c&&c[d]||{};(i===!0||i===d)&&(h={min:0,max:0});const p=r?200:1e6,m=r?40:1e7,x={type:"inertia",velocity:a?t[d]:0,bounceStiffness:p,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...s,...h};return this.startAxisValueAnimation(d,x)});return Promise.all(u).then(o)}startAxisValueAnimation(t,n){const a=this.getAxisMotionValue(t);return cd(this.visualElement,t),a.start(np(t,a,0,n,this.visualElement,!1))}stopAnimation(){Ft(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps()[n];return r||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){Ft(n=>{const{drag:a}=this.getProps();if(!Vi(n,a,this.currentDirection))return;const{projection:r}=this.visualElement,s=this.getAxisMotionValue(n);if(r&&r.layout){const{min:i,max:o}=r.layout.layoutBox[n],c=s.get()||0;s.set(t[n]-J(i,o,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:a}=this.visualElement;if(!_a(n)||!a||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Ft(i=>{const o=this.getAxisMotionValue(i);if(o&&this.constraints!==!1){const c=o.get();r[i]=R5({min:c,max:c},this.constraints[i])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",a.root&&a.root.updateScroll(),a.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ft(i=>{if(!Vi(i,t,null))return;const o=this.getAxisMotionValue(i),{min:c,max:u}=this.constraints[i];o.set(J(c,u,r[i]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;O5.set(this.visualElement,this);const t=this.visualElement.current,n=bs(t,"pointerdown",u=>{const{drag:d,dragListener:h=!0}=this.getProps(),p=u.target,m=p!==t&&vR(p);d&&h&&!m&&this.start(u)});let a;const r=()=>{const{dragConstraints:u}=this.getProps();_a(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),a||(a=L5(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:s}=this.visualElement,i=s.addEventListener("measure",r);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),ee.read(r);const o=Ks(window,"resize",()=>this.scalePositionWithinConstraints()),c=s.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(Ft(h=>{const p=this.getAxisMotionValue(h);p&&(this.originPoint[h]+=u[h].translate,p.set(p.get()+u[h].translate))}),this.visualElement.render())});return()=>{o(),n(),i(),c&&c(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:a=!1,dragPropagation:r=!1,dragConstraints:s=!1,dragElastic:i=vd,dragMomentum:o=!0}=t;return{...t,drag:n,dragDirectionLock:a,dragPropagation:r,dragConstraints:s,dragElastic:i,dragMomentum:o}}}function Vg(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function L5(e,t,n){const a=Qm(e,Vg(n)),r=Qm(t,Vg(n));return()=>{a(),r()}}function Vi(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function F5(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class z5 extends aa{constructor(t){super(t),this.removeGroupControls=mt,this.removeListeners=mt,this.controls=new D5(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||mt}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Mc=e=>(t,n)=>{e&&ee.update(()=>e(t,n),!1,!0)};class _5 extends aa{constructor(){super(...arguments),this.removePointerDownListener=mt}onPointerDown(t){this.session=new Jb(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Zb(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:a,onPanEnd:r}=this.node.getProps();return{onSessionStart:Mc(t),onStart:Mc(n),onMove:Mc(a),onEnd:(s,i)=>{delete this.session,r&&ee.postRender(()=>r(s,i))}}}mount(){this.removePointerDownListener=bs(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Ic=!1;class V5 extends w.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:a,layoutId:r}=this.props,{projection:s}=t;s&&(n.group&&n.group.add(s),a&&a.register&&r&&a.register(s),Ic&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),po.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:a,drag:r,isPresent:s}=this.props,{projection:i}=a;return i&&(i.isPresent=s,t.layoutDependency!==n&&i.setOptions({...i.options,layoutDependency:n}),Ic=!0,r||t.layoutDependency!==n||n===void 0||t.isPresent!==s?i.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?i.promote():i.relegate()||ee.postRender(()=>{const o=i.getStack();(!o||!o.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:a}=t;a&&(a.options.layoutAnchor=n,a.root.didUpdate(),sp.postRender(()=>{!a.currentAnimation&&a.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:a}=this.props,{projection:r}=t;Ic=!0,r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),a&&a.deregister&&a.deregister(r))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function t1(e){const[t,n]=G3(),a=w.useContext(xw);return l.jsx(V5,{...e,layoutGroup:a,switchLayoutGroup:w.useContext(Yb),isPresent:t,safeToRemove:n})}const B5={pan:{Feature:_5},drag:{Feature:z5,ProjectionNode:$b,MeasureLayout:t1}};function Bg(e,t,n){const{props:a}=e;e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",n==="Start");const r="onHover"+n,s=a[r];s&&ee.postRender(()=>s(t,di(t)))}class $5 extends aa{mount(){const{current:t}=this.node;t&&(this.unmount=mR(t,(n,a)=>(Bg(this.node,a,"Start"),r=>Bg(this.node,r,"End"))))}unmount(){}}class H5 extends aa{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=li(Ks(this.node.current,"focus",()=>this.onFocus()),Ks(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function $g(e,t,n){const{props:a}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&a.whileTap&&e.animationState.setActive("whileTap",n==="Start");const r="onTap"+(n==="End"?"":n),s=a[r];s&&ee.postRender(()=>s(t,di(t)))}class U5 extends aa{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:a}=this.node.props;this.unmount=bR(t,(r,s)=>($g(this.node,s,"Start"),(i,{success:o})=>$g(this.node,i,o?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(a==null?void 0:a.tap)===!1})}unmount(){}}const wd=new WeakMap,Oc=new WeakMap,q5=e=>{const t=wd.get(e.target);t&&t(e)},W5=e=>{e.forEach(q5)};function G5({root:e,...t}){const n=e||document;Oc.has(n)||Oc.set(n,{});const a=Oc.get(n),r=JSON.stringify(t);return a[r]||(a[r]=new IntersectionObserver(W5,{root:e,...t})),a[r]}function K5(e,t,n){const a=G5(t);return wd.set(e,n),a.observe(e),()=>{wd.delete(e),a.unobserve(e)}}const Q5={some:0,all:1};class Y5 extends aa{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var c;(c=this.stopObserver)==null||c.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:a,amount:r="some",once:s}=t,i={root:n?n.current:void 0,rootMargin:a,threshold:typeof r=="number"?r:Q5[r]},o=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,s&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:h,onViewportLeave:p}=this.node.getProps(),m=d?h:p;m&&m(u)};this.stopObserver=K5(this.node.current,i,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(X5(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function X5({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Z5={inView:{Feature:Y5},tap:{Feature:U5},focus:{Feature:H5},hover:{Feature:$5}},J5={layout:{ProjectionNode:$b,MeasureLayout:t1}},eM={...S5,...Z5,...B5,...J5},Bi=y5(eM,v5),tM=()=>{const e=Da();return w.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),l.jsx("div",{className:"min-h-screen bg-[#060d1a] flex items-center justify-center nano-grid","data-id":"8prdxo69x","data-path":"src/pages/NotFound.tsx",children:l.jsxs(Bi.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-center space-y-6 p-8 max-w-lg","data-id":"01lk6et5d","data-path":"src/pages/NotFound.tsx",children:[l.jsx(Bi.div,{initial:{scale:.5,rotate:-10},animate:{scale:1,rotate:0},transition:{duration:.5,delay:.2},className:"flex justify-center","data-id":"17zcj49hx","data-path":"src/pages/NotFound.tsx",children:l.jsx("div",{className:"relative w-24 h-24","data-id":"30c3kwzus","data-path":"src/pages/NotFound.tsx",children:l.jsx("div",{className:"w-full h-full rounded-full border-2 border-cyan-400/30 flex items-center justify-center animate-spin-slow","data-id":"59vozwvhw","data-path":"src/pages/NotFound.tsx",children:l.jsx(Sh,{className:"w-10 h-10 text-cyan-400","data-id":"x8xlypj8z","data-path":"src/pages/NotFound.tsx"})})})}),l.jsxs(Bi.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,delay:.4},className:"space-y-4","data-id":"z8n7uri2m","data-path":"src/pages/NotFound.tsx",children:[l.jsx("h1",{className:"font-exo text-8xl font-black text-gradient-teal","data-id":"20lrqwyri","data-path":"src/pages/NotFound.tsx",children:"404"}),l.jsx("h2",{className:"font-exo text-2xl font-semibold text-white tracking-tight","data-id":"yljz9js4i","data-path":"src/pages/NotFound.tsx",children:"Page Not Found"}),l.jsx("p",{className:"text-slate-400","data-id":"sxor3tn4f","data-path":"src/pages/NotFound.tsx",children:"The page you're looking for doesn't exist or has been moved. Let's get you back on track."})]}),l.jsx(Bi.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,delay:.6},"data-id":"jlfooylw2","data-path":"src/pages/NotFound.tsx",children:l.jsxs(G,{to:"/",className:"inline-flex items-center gap-2 px-8 py-3 rounded-full btn-nano text-sm","data-id":"wyq7t53li","data-path":"src/pages/NotFound.tsx",children:[l.jsx(_s,{className:"w-4 h-4","data-id":"04ru1xbca","data-path":"src/pages/NotFound.tsx"}),"Back to Home"]})})]})})},nM=new Tj,aM=()=>l.jsx(zT,{FallbackComponent:bE,onError:(e,t)=>{console.error(`Error Boundary caught an error(pathname:${location.pathname+location.search}):`,e,t),setTimeout(()=>{throw e},0)},"data-id":"jt2j33uup","data-path":"src/App.tsx",children:l.jsx(sw,{"data-id":"ufarvbpyo","data-path":"src/App.tsx",children:l.jsx(Aj,{client:nM,"data-id":"to9qfdfvh","data-path":"src/App.tsx",children:l.jsxs(Z2,{"data-id":"rhjtt6uzp","data-path":"src/App.tsx",children:[l.jsx(yN,{"data-id":"fbfoy36fx","data-path":"src/App.tsx"}),l.jsx(IT,{"data-id":"r8qwo7fyh","data-path":"src/App.tsx",children:l.jsx(NT,{"data-id":"bx31st7i3","data-path":"src/App.tsx",children:l.jsxs(he,{element:l.jsx(PE,{"data-id":"c9oykgkfr","data-path":"src/App.tsx"}),"data-id":"nxp4f1b2z","data-path":"src/App.tsx",children:[l.jsx(he,{path:"/",element:l.jsx(TE,{"data-id":"ybuahzyb8","data-path":"src/App.tsx"}),"data-id":"k1chwjc3y","data-path":"src/App.tsx"}),l.jsx(he,{path:"/about",element:l.jsx(EE,{"data-id":"ihi2v9f09","data-path":"src/App.tsx"}),"data-id":"3wjkb961a","data-path":"src/App.tsx"}),l.jsx(he,{path:"/about/our-story",element:l.jsx(RE,{"data-id":"5wj4ka9s0","data-path":"src/App.tsx"}),"data-id":"5x6m5mmi5","data-path":"src/App.tsx"}),l.jsx(he,{path:"/about/mission-values",element:l.jsx(IE,{"data-id":"pqj9lufqf","data-path":"src/App.tsx"}),"data-id":"t47ay4mvu","data-path":"src/App.tsx"}),l.jsx(he,{path:"/about/team",element:l.jsx(DE,{"data-id":"tm1sbqrud","data-path":"src/App.tsx"}),"data-id":"52lms97tm","data-path":"src/App.tsx"}),l.jsx(he,{path:"/programs/atomic-frontiers",element:l.jsx(FE,{"data-id":"zqwouuuwv","data-path":"src/App.tsx"}),"data-id":"kdjcpnos8","data-path":"src/App.tsx"}),l.jsx(he,{path:"/programs/molecular-computation",element:l.jsx(_E,{"data-id":"9k3c3erhy","data-path":"src/App.tsx"}),"data-id":"699fyfacy","data-path":"src/App.tsx"}),l.jsx(he,{path:"/programs/global-nanoscience",element:l.jsx(BE,{"data-id":"9mc5cvc2k","data-path":"src/App.tsx"}),"data-id":"i1xmewzxk","data-path":"src/App.tsx"}),l.jsx(he,{path:"/research-network",element:l.jsx(HE,{"data-id":"biceh3bom","data-path":"src/App.tsx"}),"data-id":"08tb1dk5r","data-path":"src/App.tsx"}),l.jsx(he,{path:"/conferences-awards",element:l.jsx(WE,{"data-id":"5ld3059q9","data-path":"src/App.tsx"}),"data-id":"5ahfxfi5v","data-path":"src/App.tsx"}),l.jsx(he,{path:"/impact",element:l.jsx(QE,{"data-id":"20z178h8n","data-path":"src/App.tsx"}),"data-id":"ib69mtchy","data-path":"src/App.tsx"}),l.jsx(he,{path:"/donate",element:l.jsx(ZE,{"data-id":"0nr77rvbp","data-path":"src/App.tsx"}),"data-id":"hyefnikw4","data-path":"src/App.tsx"}),l.jsx(he,{path:"/blog",element:l.jsx(eA,{"data-id":"aplt013n0","data-path":"src/App.tsx"}),"data-id":"j7cz66a43","data-path":"src/App.tsx"}),l.jsx(he,{path:"/blog/nanoscale-science-shaping-technology",element:l.jsx(tA,{"data-id":"fl8vw1b51","data-path":"src/App.tsx"}),"data-id":"d62vw9avb","data-path":"src/App.tsx"}),l.jsx(he,{path:"/blog/molecules-to-solutions-computational-nanoscience",element:l.jsx(nA,{"data-id":"segnlh2w2","data-path":"src/App.tsx"}),"data-id":"jqnebr4vo","data-path":"src/App.tsx"}),l.jsx(he,{path:"/contact",element:l.jsx(aA,{"data-id":"n8orqgmgj","data-path":"src/App.tsx"}),"data-id":"y98ut9jn3","data-path":"src/App.tsx"}),l.jsx(he,{path:"/privacy-policy",element:l.jsx(rA,{"data-id":"h9adp84ze","data-path":"src/App.tsx"}),"data-id":"e8j3tkcam","data-path":"src/App.tsx"}),l.jsx(he,{path:"/terms-conditions",element:l.jsx(sA,{"data-id":"zvd83qkml","data-path":"src/App.tsx"}),"data-id":"w7kyl8o7r","data-path":"src/App.tsx"}),l.jsx(he,{path:"*",element:l.jsx(tM,{"data-id":"p7e1l6cim","data-path":"src/App.tsx"}),"data-id":"f1mst4i8u","data-path":"src/App.tsx"})]})})})]})})})});uv(document.getElementById("root")).render(l.jsx(aM,{"data-id":"kf9dmydwd","data-path":"src/main.tsx"}));