var nb=Object.defineProperty;var bh=e=>{throw TypeError(e)};var rb=(e,t,n)=>t in e?nb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Zt=(e,t,n)=>rb(e,typeof t!="symbol"?t+"":t,n),Fl=(e,t,n)=>t.has(e)||bh("Cannot "+n);var E=(e,t,n)=>(Fl(e,t,"read from private field"),n?n.call(e):t.get(e)),q=(e,t,n)=>t.has(e)?bh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),V=(e,t,n,r)=>(Fl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),ke=(e,t,n)=>(Fl(e,t,"access private method"),n);var mi=(e,t,n,r)=>({set _(s){V(e,t,s,n)},get _(){return E(e,t,r)}});function sb(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const a=Object.getOwnPropertyDescriptor(r,s);a&&Object.defineProperty(e,s,a.get?a:{enumerable:!0,get:()=>r[s]})}}}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 s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();function nl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jg={exports:{}},rl={},Zg={exports:{}},W={};/**
* @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 Za=Symbol.for("react.element"),ab=Symbol.for("react.portal"),ib=Symbol.for("react.fragment"),ob=Symbol.for("react.strict_mode"),lb=Symbol.for("react.profiler"),cb=Symbol.for("react.provider"),ub=Symbol.for("react.context"),db=Symbol.for("react.forward_ref"),fb=Symbol.for("react.suspense"),hb=Symbol.for("react.memo"),pb=Symbol.for("react.lazy"),Ph=Symbol.iterator;function mb(e){return e===null||typeof e!="object"?null:(e=Ph&&e[Ph]||e["@@iterator"],typeof e=="function"?e:null)}var ey={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ty=Object.assign,ny={};function Rs(e,t,n){this.props=e,this.context=t,this.refs=ny,this.updater=n||ey}Rs.prototype.isReactComponent={};Rs.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")};Rs.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ry(){}ry.prototype=Rs.prototype;function bd(e,t,n){this.props=e,this.context=t,this.refs=ny,this.updater=n||ey}var Pd=bd.prototype=new ry;Pd.constructor=bd;ty(Pd,Rs.prototype);Pd.isPureReactComponent=!0;var Sh=Array.isArray,sy=Object.prototype.hasOwnProperty,Sd={current:null},ay={key:!0,ref:!0,__self:!0,__source:!0};function iy(e,t,n){var r,s={},a=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(a=""+t.key),t)sy.call(t,r)&&!ay.hasOwnProperty(r)&&(s[r]=t[r]);var o=arguments.length-2;if(o===1)s.children=n;else if(1<o){for(var l=Array(o),u=0;u<o;u++)l[u]=arguments[u+2];s.children=l}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)s[r]===void 0&&(s[r]=o[r]);return{$$typeof:Za,type:e,key:a,ref:i,props:s,_owner:Sd.current}}function gb(e,t){return{$$typeof:Za,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Cd(e){return typeof e=="object"&&e!==null&&e.$$typeof===Za}function yb(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Ch=/\/+/g;function Ol(e,t){return typeof e=="object"&&e!==null&&e.key!=null?yb(""+e.key):t.toString(36)}function Ui(e,t,n,r,s){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Za:case ab:i=!0}}if(i)return i=e,s=s(i),e=r===""?"."+Ol(i,0):r,Sh(s)?(n="",e!=null&&(n=e.replace(Ch,"$&/")+"/"),Ui(s,t,n,"",function(u){return u})):s!=null&&(Cd(s)&&(s=gb(s,n+(!s.key||i&&i.key===s.key?"":(""+s.key).replace(Ch,"$&/")+"/")+e)),t.push(s)),1;if(i=0,r=r===""?".":r+":",Sh(e))for(var o=0;o<e.length;o++){a=e[o];var l=r+Ol(a,o);i+=Ui(a,t,n,l,s)}else if(l=mb(e),typeof l=="function")for(e=l.call(e),o=0;!(a=e.next()).done;)a=a.value,l=r+Ol(a,o++),i+=Ui(a,t,n,l,s);else if(a==="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 gi(e,t,n){if(e==null)return e;var r=[],s=0;return Ui(e,r,"","",function(a){return t.call(n,a,s++)}),r}function xb(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 Be={current:null},Wi={transition:null},vb={ReactCurrentDispatcher:Be,ReactCurrentBatchConfig:Wi,ReactCurrentOwner:Sd};function oy(){throw Error("act(...) is not supported in production builds of React.")}W.Children={map:gi,forEach:function(e,t,n){gi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return gi(e,function(){t++}),t},toArray:function(e){return gi(e,function(t){return t})||[]},only:function(e){if(!Cd(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};W.Component=Rs;W.Fragment=ib;W.Profiler=lb;W.PureComponent=bd;W.StrictMode=ob;W.Suspense=fb;W.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vb;W.act=oy;W.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=ty({},e.props),s=e.key,a=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,i=Sd.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var o=e.type.defaultProps;for(l in t)sy.call(t,l)&&!ay.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&o!==void 0?o[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){o=Array(l);for(var u=0;u<l;u++)o[u]=arguments[u+2];r.children=o}return{$$typeof:Za,type:e.type,key:s,ref:a,props:r,_owner:i}};W.createContext=function(e){return e={$$typeof:ub,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:cb,_context:e},e.Consumer=e};W.createElement=iy;W.createFactory=function(e){var t=iy.bind(null,e);return t.type=e,t};W.createRef=function(){return{current:null}};W.forwardRef=function(e){return{$$typeof:db,render:e}};W.isValidElement=Cd;W.lazy=function(e){return{$$typeof:pb,_payload:{_status:-1,_result:e},_init:xb}};W.memo=function(e,t){return{$$typeof:hb,type:e,compare:t===void 0?null:t}};W.startTransition=function(e){var t=Wi.transition;Wi.transition={};try{e()}finally{Wi.transition=t}};W.unstable_act=oy;W.useCallback=function(e,t){return Be.current.useCallback(e,t)};W.useContext=function(e){return Be.current.useContext(e)};W.useDebugValue=function(){};W.useDeferredValue=function(e){return Be.current.useDeferredValue(e)};W.useEffect=function(e,t){return Be.current.useEffect(e,t)};W.useId=function(){return Be.current.useId()};W.useImperativeHandle=function(e,t,n){return Be.current.useImperativeHandle(e,t,n)};W.useInsertionEffect=function(e,t){return Be.current.useInsertionEffect(e,t)};W.useLayoutEffect=function(e,t){return Be.current.useLayoutEffect(e,t)};W.useMemo=function(e,t){return Be.current.useMemo(e,t)};W.useReducer=function(e,t,n){return Be.current.useReducer(e,t,n)};W.useRef=function(e){return Be.current.useRef(e)};W.useState=function(e){return Be.current.useState(e)};W.useSyncExternalStore=function(e,t,n){return Be.current.useSyncExternalStore(e,t,n)};W.useTransition=function(){return Be.current.useTransition()};W.version="18.3.1";Zg.exports=W;var w=Zg.exports;const Ut=nl(w),kd=sb({__proto__:null,default:Ut},[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 wb=w,bb=Symbol.for("react.element"),Pb=Symbol.for("react.fragment"),Sb=Object.prototype.hasOwnProperty,Cb=wb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,kb={key:!0,ref:!0,__self:!0,__source:!0};function ly(e,t,n){var r,s={},a=null,i=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)Sb.call(t,r)&&!kb.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:bb,type:e,key:a,ref:i,props:s,_owner:Cb.current}}rl.Fragment=Pb;rl.jsx=ly;rl.jsxs=ly;Jg.exports=rl;var c=Jg.exports,cy={exports:{}},st={},uy={exports:{}},dy={};/**
* @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(T,R){var z=T.length;T.push(R);e:for(;0<z;){var B=z-1>>>1,Q=T[B];if(0<s(Q,R))T[B]=R,T[z]=Q,z=B;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var R=T[0],z=T.pop();if(z!==R){T[0]=z;e:for(var B=0,Q=T.length,vt=Q>>>1;B<vt;){var it=2*(B+1)-1,Hs=T[it],Jt=it+1,Ir=T[Jt];if(0>s(Hs,z))Jt<Q&&0>s(Ir,Hs)?(T[B]=Ir,T[Jt]=z,B=Jt):(T[B]=Hs,T[it]=z,B=it);else if(Jt<Q&&0>s(Ir,z))T[B]=Ir,T[Jt]=z,B=Jt;else break e}}return R}function s(T,R){var z=T.sortIndex-R.sortIndex;return z!==0?z:T.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,o=i.now();e.unstable_now=function(){return i.now()-o}}var l=[],u=[],d=1,f=null,h=3,p=!1,y=!1,v=!1,b=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(T){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=T)r(u),R.sortIndex=R.expirationTime,t(l,R);else break;R=n(u)}}function P(T){if(v=!1,x(T),!y)if(n(l)!==null)y=!0,_(S);else{var R=n(u);R!==null&&K(P,R.startTime-T)}}function S(T,R){y=!1,v&&(v=!1,g(k),k=-1),p=!0;var z=h;try{for(x(R),f=n(l);f!==null&&(!(f.expirationTime>R)||T&&!L());){var B=f.callback;if(typeof B=="function"){f.callback=null,h=f.priorityLevel;var Q=B(f.expirationTime<=R);R=e.unstable_now(),typeof Q=="function"?f.callback=Q:f===n(l)&&r(l),x(R)}else r(l);f=n(l)}if(f!==null)var vt=!0;else{var it=n(u);it!==null&&K(P,it.startTime-R),vt=!1}return vt}finally{f=null,h=z,p=!1}}var C=!1,j=null,k=-1,A=5,N=-1;function L(){return!(e.unstable_now()-N<A)}function F(){if(j!==null){var T=e.unstable_now();N=T;var R=!0;try{R=j(!0,T)}finally{R?H():(C=!1,j=null)}}else C=!1}var H;if(typeof m=="function")H=function(){m(F)};else if(typeof MessageChannel<"u"){var M=new MessageChannel,$=M.port2;M.port1.onmessage=F,H=function(){$.postMessage(null)}}else H=function(){b(F,0)};function _(T){j=T,C||(C=!0,H())}function K(T,R){k=b(function(){T(e.unstable_now())},R)}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(T){T.callback=null},e.unstable_continueExecution=function(){y||p||(y=!0,_(S))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(T){switch(h){case 1:case 2:case 3:var R=3;break;default:R=h}var z=h;h=R;try{return T()}finally{h=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,R){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var z=h;h=T;try{return R()}finally{h=z}},e.unstable_scheduleCallback=function(T,R,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,T){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=z+Q,T={id:d++,callback:R,priorityLevel:T,startTime:z,expirationTime:Q,sortIndex:-1},z>B?(T.sortIndex=z,t(u,T),n(l)===null&&T===n(u)&&(v?(g(k),k=-1):v=!0,K(P,z-B))):(T.sortIndex=Q,t(l,T),y||p||(y=!0,_(S))),T},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(T){var R=h;return function(){var z=h;h=R;try{return T.apply(this,arguments)}finally{h=z}}}})(dy);uy.exports=dy;var jb=uy.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 Tb=w,rt=jb;function D(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 fy=new Set,Ca={};function Mr(e,t){bs(e,t),bs(e+"Capture",t)}function bs(e,t){for(Ca[e]=t,e=0;e<t.length;e++)fy.add(t[e])}var fn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Lc=Object.prototype.hasOwnProperty,Eb=/^[: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]*$/,kh={},jh={};function Nb(e){return Lc.call(jh,e)?!0:Lc.call(kh,e)?!1:Eb.test(e)?jh[e]=!0:(kh[e]=!0,!1)}function Ab(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Db(e,t,n,r){if(t===null||typeof t>"u"||Ab(e,t,n,r))return!0;if(r)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,r,s,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var Ae={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ae[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];Ae[t]=new He(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ae[e]=new He(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ae[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){Ae[e]=new He(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ae[e]=new He(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ae[e]=new He(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ae[e]=new He(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ae[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);Ae[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);Ae[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);Ae[t]=new He(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ae[e]=new He(e,1,!1,e.toLowerCase(),null,!1,!1)});Ae.xlinkHref=new He("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ae[e]=new He(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ed(e,t,n,r){var s=Ae.hasOwnProperty(t)?Ae[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Db(t,n,s,r)&&(n=null),r||s===null?Nb(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:"":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var xn=Tb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,yi=Symbol.for("react.element"),Br=Symbol.for("react.portal"),Hr=Symbol.for("react.fragment"),Nd=Symbol.for("react.strict_mode"),Ic=Symbol.for("react.profiler"),hy=Symbol.for("react.provider"),py=Symbol.for("react.context"),Ad=Symbol.for("react.forward_ref"),zc=Symbol.for("react.suspense"),_c=Symbol.for("react.suspense_list"),Dd=Symbol.for("react.memo"),kn=Symbol.for("react.lazy"),my=Symbol.for("react.offscreen"),Th=Symbol.iterator;function Us(e){return e===null||typeof e!="object"?null:(e=Th&&e[Th]||e["@@iterator"],typeof e=="function"?e:null)}var le=Object.assign,Ll;function ra(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 Il=!1;function zl(e,t){if(!e||Il)return"";Il=!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 r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var s=u.stack.split(`
`),a=r.stack.split(`
`),i=s.length-1,o=a.length-1;1<=i&&0<=o&&s[i]!==a[o];)o--;for(;1<=i&&0<=o;i--,o--)if(s[i]!==a[o]){if(i!==1||o!==1)do if(i--,o--,0>o||s[i]!==a[o]){var l=`
`+s[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=o);break}}}finally{Il=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ra(e):""}function Rb(e){switch(e.tag){case 5:return ra(e.type);case 16:return ra("Lazy");case 13:return ra("Suspense");case 19:return ra("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 Hr:return"Fragment";case Br:return"Portal";case Ic:return"Profiler";case Nd:return"StrictMode";case zc:return"Suspense";case _c:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case py:return(e.displayName||"Context")+".Consumer";case hy:return(e._context.displayName||"Context")+".Provider";case Ad:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Dd:return t=e.displayName||null,t!==null?t:Vc(e.type)||"Memo";case kn:t=e._payload,e=e._init;try{return Vc(e(t))}catch{}}return null}function Mb(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===Nd?"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 Gn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function gy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Fb(e){var t=gy(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(i){r=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function xi(e){e._valueTracker||(e._valueTracker=Fb(e))}function yy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=gy(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function mo(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 Eh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Gn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function xy(e,t){t=t.checked,t!=null&&Ed(e,"checked",t,!1)}function Hc(e,t){xy(e,t);var n=Gn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?$c(e,t.type,n):t.hasOwnProperty("defaultValue")&&$c(e,t.type,Gn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Nh(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="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 $c(e,t,n){(t!=="number"||mo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var sa=Array.isArray;function ns(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Gn(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Uc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(D(91));return le({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ah(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(D(92));if(sa(n)){if(1<n.length)throw Error(D(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Gn(n)}}function vy(e,t){var n=Gn(t.value),r=Gn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Dh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function wy(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 Wc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?wy(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var vi,by=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(vi=vi||document.createElement("div"),vi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=vi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ka(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var la={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},Ob=["Webkit","ms","Moz","O"];Object.keys(la).forEach(function(e){Ob.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),la[t]=la[e]})});function Py(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||la.hasOwnProperty(e)&&la[e]?(""+t).trim():t+"px"}function Sy(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=Py(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var Lb=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 qc(e,t){if(t){if(Lb[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function Kc(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 Gc=null;function Rd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yc=null,rs=null,ss=null;function Rh(e){if(e=ni(e)){if(typeof Yc!="function")throw Error(D(280));var t=e.stateNode;t&&(t=ll(t),Yc(e.stateNode,e.type,t))}}function Cy(e){rs?ss?ss.push(e):ss=[e]:rs=e}function ky(){if(rs){var e=rs,t=ss;if(ss=rs=null,Rh(e),t)for(e=0;e<t.length;e++)Rh(t[e])}}function jy(e,t){return e(t)}function Ty(){}var _l=!1;function Ey(e,t,n){if(_l)return e(t,n);_l=!0;try{return jy(e,t,n)}finally{_l=!1,(rs!==null||ss!==null)&&(Ty(),ky())}}function ja(e,t){var n=e.stateNode;if(n===null)return null;var r=ll(n);if(r===null)return null;n=r[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":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(D(231,t,typeof n));return n}var Qc=!1;if(fn)try{var Ws={};Object.defineProperty(Ws,"passive",{get:function(){Qc=!0}}),window.addEventListener("test",Ws,Ws),window.removeEventListener("test",Ws,Ws)}catch{Qc=!1}function Ib(e,t,n,r,s,a,i,o,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var ca=!1,go=null,yo=!1,Xc=null,zb={onError:function(e){ca=!0,go=e}};function _b(e,t,n,r,s,a,i,o,l){ca=!1,go=null,Ib.apply(zb,arguments)}function Vb(e,t,n,r,s,a,i,o,l){if(_b.apply(this,arguments),ca){if(ca){var u=go;ca=!1,go=null}else throw Error(D(198));yo||(yo=!0,Xc=u)}}function Fr(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 Ny(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 Mh(e){if(Fr(e)!==e)throw Error(D(188))}function Bb(e){var t=e.alternate;if(!t){if(t=Fr(e),t===null)throw Error(D(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var a=s.alternate;if(a===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===a.child){for(a=s.child;a;){if(a===n)return Mh(s),e;if(a===r)return Mh(s),t;a=a.sibling}throw Error(D(188))}if(n.return!==r.return)n=s,r=a;else{for(var i=!1,o=s.child;o;){if(o===n){i=!0,n=s,r=a;break}if(o===r){i=!0,r=s,n=a;break}o=o.sibling}if(!i){for(o=a.child;o;){if(o===n){i=!0,n=a,r=s;break}if(o===r){i=!0,r=a,n=s;break}o=o.sibling}if(!i)throw Error(D(189))}}if(n.alternate!==r)throw Error(D(190))}if(n.tag!==3)throw Error(D(188));return n.stateNode.current===n?e:t}function Ay(e){return e=Bb(e),e!==null?Dy(e):null}function Dy(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Dy(e);if(t!==null)return t;e=e.sibling}return null}var Ry=rt.unstable_scheduleCallback,Fh=rt.unstable_cancelCallback,Hb=rt.unstable_shouldYield,$b=rt.unstable_requestPaint,fe=rt.unstable_now,Ub=rt.unstable_getCurrentPriorityLevel,Md=rt.unstable_ImmediatePriority,My=rt.unstable_UserBlockingPriority,xo=rt.unstable_NormalPriority,Wb=rt.unstable_LowPriority,Fy=rt.unstable_IdlePriority,sl=null,qt=null;function qb(e){if(qt&&typeof qt.onCommitFiberRoot=="function")try{qt.onCommitFiberRoot(sl,e,void 0,(e.current.flags&128)===128)}catch{}}var Nt=Math.clz32?Math.clz32:Yb,Kb=Math.log,Gb=Math.LN2;function Yb(e){return e>>>=0,e===0?32:31-(Kb(e)/Gb|0)|0}var wi=64,bi=4194304;function aa(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 vo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,a=e.pingedLanes,i=n&268435455;if(i!==0){var o=i&~s;o!==0?r=aa(o):(a&=i,a!==0&&(r=aa(a)))}else i=n&~s,i!==0?r=aa(i):a!==0&&(r=aa(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,a=t&-t,s>=a||s===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Nt(t),s=1<<n,r|=e[n],t&=~s;return r}function Qb(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 Xb(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-Nt(a),o=1<<i,l=s[i];l===-1?(!(o&n)||o&r)&&(s[i]=Qb(o,t)):l<=t&&(e.expiredLanes|=o),a&=~o}}function Jc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Oy(){var e=wi;return wi<<=1,!(wi&4194240)&&(wi=64),e}function Vl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ei(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Nt(t),e[t]=n}function Jb(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 r=e.eventTimes;for(e=e.expirationTimes;0<n;){var s=31-Nt(n),a=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~a}}function Fd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Nt(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var X=0;function Ly(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Iy,Od,zy,_y,Vy,Zc=!1,Pi=[],_n=null,Vn=null,Bn=null,Ta=new Map,Ea=new Map,Tn=[],Zb="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 Oh(e,t){switch(e){case"focusin":case"focusout":_n=null;break;case"dragenter":case"dragleave":Vn=null;break;case"mouseover":case"mouseout":Bn=null;break;case"pointerover":case"pointerout":Ta.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ea.delete(t.pointerId)}}function qs(e,t,n,r,s,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[s]},t!==null&&(t=ni(t),t!==null&&Od(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function eP(e,t,n,r,s){switch(t){case"focusin":return _n=qs(_n,e,t,n,r,s),!0;case"dragenter":return Vn=qs(Vn,e,t,n,r,s),!0;case"mouseover":return Bn=qs(Bn,e,t,n,r,s),!0;case"pointerover":var a=s.pointerId;return Ta.set(a,qs(Ta.get(a)||null,e,t,n,r,s)),!0;case"gotpointercapture":return a=s.pointerId,Ea.set(a,qs(Ea.get(a)||null,e,t,n,r,s)),!0}return!1}function By(e){var t=dr(e.target);if(t!==null){var n=Fr(t);if(n!==null){if(t=n.tag,t===13){if(t=Ny(n),t!==null){e.blockedOn=t,Vy(e.priority,function(){zy(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 qi(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 r=new n.constructor(n.type,n);Gc=r,n.target.dispatchEvent(r),Gc=null}else return t=ni(n),t!==null&&Od(t),e.blockedOn=n,!1;t.shift()}return!0}function Lh(e,t,n){qi(e)&&n.delete(t)}function tP(){Zc=!1,_n!==null&&qi(_n)&&(_n=null),Vn!==null&&qi(Vn)&&(Vn=null),Bn!==null&&qi(Bn)&&(Bn=null),Ta.forEach(Lh),Ea.forEach(Lh)}function Ks(e,t){e.blockedOn===t&&(e.blockedOn=null,Zc||(Zc=!0,rt.unstable_scheduleCallback(rt.unstable_NormalPriority,tP)))}function Na(e){function t(s){return Ks(s,e)}if(0<Pi.length){Ks(Pi[0],e);for(var n=1;n<Pi.length;n++){var r=Pi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(_n!==null&&Ks(_n,e),Vn!==null&&Ks(Vn,e),Bn!==null&&Ks(Bn,e),Ta.forEach(t),Ea.forEach(t),n=0;n<Tn.length;n++)r=Tn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Tn.length&&(n=Tn[0],n.blockedOn===null);)By(n),n.blockedOn===null&&Tn.shift()}var as=xn.ReactCurrentBatchConfig,wo=!0;function nP(e,t,n,r){var s=X,a=as.transition;as.transition=null;try{X=1,Ld(e,t,n,r)}finally{X=s,as.transition=a}}function rP(e,t,n,r){var s=X,a=as.transition;as.transition=null;try{X=4,Ld(e,t,n,r)}finally{X=s,as.transition=a}}function Ld(e,t,n,r){if(wo){var s=eu(e,t,n,r);if(s===null)Ql(e,t,r,bo,n),Oh(e,r);else if(eP(s,e,t,n,r))r.stopPropagation();else if(Oh(e,r),t&4&&-1<Zb.indexOf(e)){for(;s!==null;){var a=ni(s);if(a!==null&&Iy(a),a=eu(e,t,n,r),a===null&&Ql(e,t,r,bo,n),a===s)break;s=a}s!==null&&r.stopPropagation()}else Ql(e,t,r,null,n)}}var bo=null;function eu(e,t,n,r){if(bo=null,e=Rd(r),e=dr(e),e!==null)if(t=Fr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Ny(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 bo=e,null}function Hy(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(Ub()){case Md:return 1;case My:return 4;case xo:case Wb:return 16;case Fy:return 536870912;default:return 16}default:return 16}}var On=null,Id=null,Ki=null;function $y(){if(Ki)return Ki;var e,t=Id,n=t.length,r,s="value"in On?On.value:On.textContent,a=s.length;for(e=0;e<n&&t[e]===s[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===s[a-r];r++);return Ki=s.slice(e,1<r?1-r:void 0)}function Gi(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 Si(){return!0}function Ih(){return!1}function at(e){function t(n,r,s,a,i){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=a,this.target=i,this.currentTarget=null;for(var o in e)e.hasOwnProperty(o)&&(n=e[o],this[o]=n?n(a):a[o]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Si:Ih,this.isPropagationStopped=Ih,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=Si)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Si)},persist:function(){},isPersistent:Si}),t}var Ms={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},zd=at(Ms),ti=le({},Ms,{view:0,detail:0}),sP=at(ti),Bl,Hl,Gs,al=le({},ti,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_d,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!==Gs&&(Gs&&e.type==="mousemove"?(Bl=e.screenX-Gs.screenX,Hl=e.screenY-Gs.screenY):Hl=Bl=0,Gs=e),Bl)},movementY:function(e){return"movementY"in e?e.movementY:Hl}}),zh=at(al),aP=le({},al,{dataTransfer:0}),iP=at(aP),oP=le({},ti,{relatedTarget:0}),$l=at(oP),lP=le({},Ms,{animationName:0,elapsedTime:0,pseudoElement:0}),cP=at(lP),uP=le({},Ms,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),dP=at(uP),fP=le({},Ms,{data:0}),_h=at(fP),hP={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},pP={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"},mP={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gP(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=mP[e])?!!t[e]:!1}function _d(){return gP}var yP=le({},ti,{key:function(e){if(e.key){var t=hP[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Gi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?pP[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_d,charCode:function(e){return e.type==="keypress"?Gi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Gi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xP=at(yP),vP=le({},al,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Vh=at(vP),wP=le({},ti,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_d}),bP=at(wP),PP=le({},Ms,{propertyName:0,elapsedTime:0,pseudoElement:0}),SP=at(PP),CP=le({},al,{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}),kP=at(CP),jP=[9,13,27,32],Vd=fn&&"CompositionEvent"in window,ua=null;fn&&"documentMode"in document&&(ua=document.documentMode);var TP=fn&&"TextEvent"in window&&!ua,Uy=fn&&(!Vd||ua&&8<ua&&11>=ua),Bh=" ",Hh=!1;function Wy(e,t){switch(e){case"keyup":return jP.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $r=!1;function EP(e,t){switch(e){case"compositionend":return qy(t);case"keypress":return t.which!==32?null:(Hh=!0,Bh);case"textInput":return e=t.data,e===Bh&&Hh?null:e;default:return null}}function NP(e,t){if($r)return e==="compositionend"||!Vd&&Wy(e,t)?(e=$y(),Ki=Id=On=null,$r=!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 Uy&&t.locale!=="ko"?null:t.data;default:return null}}var AP={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 $h(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!AP[e.type]:t==="textarea"}function Ky(e,t,n,r){Cy(r),t=Po(t,"onChange"),0<t.length&&(n=new zd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var da=null,Aa=null;function DP(e){sx(e,0)}function il(e){var t=qr(e);if(yy(t))return e}function RP(e,t){if(e==="change")return t}var Gy=!1;if(fn){var Ul;if(fn){var Wl="oninput"in document;if(!Wl){var Uh=document.createElement("div");Uh.setAttribute("oninput","return;"),Wl=typeof Uh.oninput=="function"}Ul=Wl}else Ul=!1;Gy=Ul&&(!document.documentMode||9<document.documentMode)}function Wh(){da&&(da.detachEvent("onpropertychange",Yy),Aa=da=null)}function Yy(e){if(e.propertyName==="value"&&il(Aa)){var t=[];Ky(t,Aa,e,Rd(e)),Ey(DP,t)}}function MP(e,t,n){e==="focusin"?(Wh(),da=t,Aa=n,da.attachEvent("onpropertychange",Yy)):e==="focusout"&&Wh()}function FP(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return il(Aa)}function OP(e,t){if(e==="click")return il(t)}function LP(e,t){if(e==="input"||e==="change")return il(t)}function IP(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Rt=typeof Object.is=="function"?Object.is:IP;function Da(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),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var s=n[r];if(!Lc.call(t,s)||!Rt(e[s],t[s]))return!1}return!0}function qh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Kh(e,t){var n=qh(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=qh(n)}}function Qy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Xy(){for(var e=window,t=mo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=mo(e.document)}return t}function Bd(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 zP(e){var t=Xy(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Qy(n.ownerDocument.documentElement,n)){if(r!==null&&Bd(n)){if(t=r.start,e=r.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 s=n.textContent.length,a=Math.min(r.start,s);r=r.end===void 0?a:Math.min(r.end,s),!e.extend&&a>r&&(s=r,r=a,a=s),s=Kh(n,a);var i=Kh(n,r);s&&i&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),a>r?(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 _P=fn&&"documentMode"in document&&11>=document.documentMode,Ur=null,tu=null,fa=null,nu=!1;function Gh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;nu||Ur==null||Ur!==mo(r)||(r=Ur,"selectionStart"in r&&Bd(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),fa&&Da(fa,r)||(fa=r,r=Po(tu,"onSelect"),0<r.length&&(t=new zd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ur)))}function Ci(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Wr={animationend:Ci("Animation","AnimationEnd"),animationiteration:Ci("Animation","AnimationIteration"),animationstart:Ci("Animation","AnimationStart"),transitionend:Ci("Transition","TransitionEnd")},ql={},Jy={};fn&&(Jy=document.createElement("div").style,"AnimationEvent"in window||(delete Wr.animationend.animation,delete Wr.animationiteration.animation,delete Wr.animationstart.animation),"TransitionEvent"in window||delete Wr.transitionend.transition);function ol(e){if(ql[e])return ql[e];if(!Wr[e])return e;var t=Wr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Jy)return ql[e]=t[n];return e}var Zy=ol("animationend"),ex=ol("animationiteration"),tx=ol("animationstart"),nx=ol("transitionend"),rx=new Map,Yh="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 tr(e,t){rx.set(e,t),Mr(t,[e])}for(var Kl=0;Kl<Yh.length;Kl++){var Gl=Yh[Kl],VP=Gl.toLowerCase(),BP=Gl[0].toUpperCase()+Gl.slice(1);tr(VP,"on"+BP)}tr(Zy,"onAnimationEnd");tr(ex,"onAnimationIteration");tr(tx,"onAnimationStart");tr("dblclick","onDoubleClick");tr("focusin","onFocus");tr("focusout","onBlur");tr(nx,"onTransitionEnd");bs("onMouseEnter",["mouseout","mouseover"]);bs("onMouseLeave",["mouseout","mouseover"]);bs("onPointerEnter",["pointerout","pointerover"]);bs("onPointerLeave",["pointerout","pointerover"]);Mr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Mr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Mr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Mr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Mr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Mr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ia="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(" "),HP=new Set("cancel close invalid load scroll toggle".split(" ").concat(ia));function Qh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Vb(r,t,void 0,e),e.currentTarget=null}function sx(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var o=r[i],l=o.instance,u=o.currentTarget;if(o=o.listener,l!==a&&s.isPropagationStopped())break e;Qh(s,o,u),a=l}else for(i=0;i<r.length;i++){if(o=r[i],l=o.instance,u=o.currentTarget,o=o.listener,l!==a&&s.isPropagationStopped())break e;Qh(s,o,u),a=l}}}if(yo)throw e=Xc,yo=!1,Xc=null,e}function re(e,t){var n=t[ou];n===void 0&&(n=t[ou]=new Set);var r=e+"__bubble";n.has(r)||(ax(t,e,2,!1),n.add(r))}function Yl(e,t,n){var r=0;t&&(r|=4),ax(n,e,r,t)}var ki="_reactListening"+Math.random().toString(36).slice(2);function Ra(e){if(!e[ki]){e[ki]=!0,fy.forEach(function(n){n!=="selectionchange"&&(HP.has(n)||Yl(n,!1,e),Yl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ki]||(t[ki]=!0,Yl("selectionchange",!1,t))}}function ax(e,t,n,r){switch(Hy(t)){case 1:var s=nP;break;case 4:s=rP;break;default:s=Ld}n=s.bind(null,t,n,e),s=void 0,!Qc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function Ql(e,t,n,r,s){var a=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var o=r.stateNode.containerInfo;if(o===s||o.nodeType===8&&o.parentNode===s)break;if(i===4)for(i=r.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===s||l.nodeType===8&&l.parentNode===s))return;i=i.return}for(;o!==null;){if(i=dr(o),i===null)return;if(l=i.tag,l===5||l===6){r=a=i;continue e}o=o.parentNode}}r=r.return}Ey(function(){var u=a,d=Rd(n),f=[];e:{var h=rx.get(e);if(h!==void 0){var p=zd,y=e;switch(e){case"keypress":if(Gi(n)===0)break e;case"keydown":case"keyup":p=xP;break;case"focusin":y="focus",p=$l;break;case"focusout":y="blur",p=$l;break;case"beforeblur":case"afterblur":p=$l;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":p=zh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=iP;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=bP;break;case Zy:case ex:case tx:p=cP;break;case nx:p=SP;break;case"scroll":p=sP;break;case"wheel":p=kP;break;case"copy":case"cut":case"paste":p=dP;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Vh}var v=(t&4)!==0,b=!v&&e==="scroll",g=v?h!==null?h+"Capture":null:h;v=[];for(var m=u,x;m!==null;){x=m;var P=x.stateNode;if(x.tag===5&&P!==null&&(x=P,g!==null&&(P=ja(m,g),P!=null&&v.push(Ma(m,P,x)))),b)break;m=m.return}0<v.length&&(h=new p(h,y,null,n,d),f.push({event:h,listeners:v}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",h&&n!==Gc&&(y=n.relatedTarget||n.fromElement)&&(dr(y)||y[hn]))break e;if((p||h)&&(h=d.window===d?d:(h=d.ownerDocument)?h.defaultView||h.parentWindow:window,p?(y=n.relatedTarget||n.toElement,p=u,y=y?dr(y):null,y!==null&&(b=Fr(y),y!==b||y.tag!==5&&y.tag!==6)&&(y=null)):(p=null,y=u),p!==y)){if(v=zh,P="onMouseLeave",g="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(v=Vh,P="onPointerLeave",g="onPointerEnter",m="pointer"),b=p==null?h:qr(p),x=y==null?h:qr(y),h=new v(P,m+"leave",p,n,d),h.target=b,h.relatedTarget=x,P=null,dr(d)===u&&(v=new v(g,m+"enter",y,n,d),v.target=x,v.relatedTarget=b,P=v),b=P,p&&y)t:{for(v=p,g=y,m=0,x=v;x;x=zr(x))m++;for(x=0,P=g;P;P=zr(P))x++;for(;0<m-x;)v=zr(v),m--;for(;0<x-m;)g=zr(g),x--;for(;m--;){if(v===g||g!==null&&v===g.alternate)break t;v=zr(v),g=zr(g)}v=null}else v=null;p!==null&&Xh(f,h,p,v,!1),y!==null&&b!==null&&Xh(f,b,y,v,!0)}}e:{if(h=u?qr(u):window,p=h.nodeName&&h.nodeName.toLowerCase(),p==="select"||p==="input"&&h.type==="file")var S=RP;else if($h(h))if(Gy)S=LP;else{S=FP;var C=MP}else(p=h.nodeName)&&p.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(S=OP);if(S&&(S=S(e,u))){Ky(f,S,n,d);break e}C&&C(e,h,u),e==="focusout"&&(C=h._wrapperState)&&C.controlled&&h.type==="number"&&$c(h,"number",h.value)}switch(C=u?qr(u):window,e){case"focusin":($h(C)||C.contentEditable==="true")&&(Ur=C,tu=u,fa=null);break;case"focusout":fa=tu=Ur=null;break;case"mousedown":nu=!0;break;case"contextmenu":case"mouseup":case"dragend":nu=!1,Gh(f,n,d);break;case"selectionchange":if(_P)break;case"keydown":case"keyup":Gh(f,n,d)}var j;if(Vd)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 $r?Wy(e,n)&&(k="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(k="onCompositionStart");k&&(Uy&&n.locale!=="ko"&&($r||k!=="onCompositionStart"?k==="onCompositionEnd"&&$r&&(j=$y()):(On=d,Id="value"in On?On.value:On.textContent,$r=!0)),C=Po(u,k),0<C.length&&(k=new _h(k,e,null,n,d),f.push({event:k,listeners:C}),j?k.data=j:(j=qy(n),j!==null&&(k.data=j)))),(j=TP?EP(e,n):NP(e,n))&&(u=Po(u,"onBeforeInput"),0<u.length&&(d=new _h("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=j))}sx(f,t)})}function Ma(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Po(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,a=s.stateNode;s.tag===5&&a!==null&&(s=a,a=ja(e,n),a!=null&&r.unshift(Ma(e,a,s)),a=ja(e,t),a!=null&&r.push(Ma(e,a,s))),e=e.return}return r}function zr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Xh(e,t,n,r,s){for(var a=t._reactName,i=[];n!==null&&n!==r;){var o=n,l=o.alternate,u=o.stateNode;if(l!==null&&l===r)break;o.tag===5&&u!==null&&(o=u,s?(l=ja(n,a),l!=null&&i.unshift(Ma(n,l,o))):s||(l=ja(n,a),l!=null&&i.push(Ma(n,l,o)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var $P=/\r\n?/g,UP=/\u0000|\uFFFD/g;function Jh(e){return(typeof e=="string"?e:""+e).replace($P,`
`).replace(UP,"")}function ji(e,t,n){if(t=Jh(t),Jh(e)!==t&&n)throw Error(D(425))}function So(){}var ru=null,su=null;function au(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,WP=typeof clearTimeout=="function"?clearTimeout:void 0,Zh=typeof Promise=="function"?Promise:void 0,qP=typeof queueMicrotask=="function"?queueMicrotask:typeof Zh<"u"?function(e){return Zh.resolve(null).then(e).catch(KP)}:iu;function KP(e){setTimeout(function(){throw e})}function Xl(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),Na(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);Na(t)}function Hn(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 ep(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 Fs=Math.random().toString(36).slice(2),$t="__reactFiber$"+Fs,Fa="__reactProps$"+Fs,hn="__reactContainer$"+Fs,ou="__reactEvents$"+Fs,GP="__reactListeners$"+Fs,YP="__reactHandles$"+Fs;function dr(e){var t=e[$t];if(t)return t;for(var n=e.parentNode;n;){if(t=n[hn]||n[$t]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ep(e);e!==null;){if(n=e[$t])return n;e=ep(e)}return t}e=n,n=e.parentNode}return null}function ni(e){return e=e[$t]||e[hn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function qr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(D(33))}function ll(e){return e[Fa]||null}var lu=[],Kr=-1;function nr(e){return{current:e}}function se(e){0>Kr||(e.current=lu[Kr],lu[Kr]=null,Kr--)}function te(e,t){Kr++,lu[Kr]=e.current,e.current=t}var Yn={},Oe=nr(Yn),Ke=nr(!1),Tr=Yn;function Ps(e,t){var n=e.type.contextTypes;if(!n)return Yn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},a;for(a in n)s[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function Ge(e){return e=e.childContextTypes,e!=null}function Co(){se(Ke),se(Oe)}function tp(e,t,n){if(Oe.current!==Yn)throw Error(D(168));te(Oe,t),te(Ke,n)}function ix(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(D(108,Mb(e)||"Unknown",s));return le({},n,r)}function ko(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yn,Tr=Oe.current,te(Oe,e),te(Ke,Ke.current),!0}function np(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=ix(e,t,Tr),r.__reactInternalMemoizedMergedChildContext=e,se(Ke),se(Oe),te(Oe,e)):se(Ke),te(Ke,n)}var sn=null,cl=!1,Jl=!1;function ox(e){sn===null?sn=[e]:sn.push(e)}function QP(e){cl=!0,ox(e)}function rr(){if(!Jl&&sn!==null){Jl=!0;var e=0,t=X;try{var n=sn;for(X=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}sn=null,cl=!1}catch(s){throw sn!==null&&(sn=sn.slice(e+1)),Ry(Md,rr),s}finally{X=t,Jl=!1}}return null}var Gr=[],Yr=0,jo=null,To=0,ct=[],ut=0,Er=null,on=1,ln="";function lr(e,t){Gr[Yr++]=To,Gr[Yr++]=jo,jo=e,To=t}function lx(e,t,n){ct[ut++]=on,ct[ut++]=ln,ct[ut++]=Er,Er=e;var r=on;e=ln;var s=32-Nt(r)-1;r&=~(1<<s),n+=1;var a=32-Nt(t)+s;if(30<a){var i=s-s%5;a=(r&(1<<i)-1).toString(32),r>>=i,s-=i,on=1<<32-Nt(t)+s|n<<s|r,ln=a+e}else on=1<<a|n<<s|r,ln=e}function Hd(e){e.return!==null&&(lr(e,1),lx(e,1,0))}function $d(e){for(;e===jo;)jo=Gr[--Yr],Gr[Yr]=null,To=Gr[--Yr],Gr[Yr]=null;for(;e===Er;)Er=ct[--ut],ct[ut]=null,ln=ct[--ut],ct[ut]=null,on=ct[--ut],ct[ut]=null}var et=null,Ze=null,ae=!1,Tt=null;function cx(e,t){var n=dt(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 rp(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,Ze=Hn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,et=e,Ze=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Er!==null?{id:on,overflow:ln}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=dt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,et=e,Ze=null,!0):!1;default:return!1}}function cu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function uu(e){if(ae){var t=Ze;if(t){var n=t;if(!rp(e,t)){if(cu(e))throw Error(D(418));t=Hn(n.nextSibling);var r=et;t&&rp(e,t)?cx(r,n):(e.flags=e.flags&-4097|2,ae=!1,et=e)}}else{if(cu(e))throw Error(D(418));e.flags=e.flags&-4097|2,ae=!1,et=e}}}function sp(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;et=e}function Ti(e){if(e!==et)return!1;if(!ae)return sp(e),ae=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!au(e.type,e.memoizedProps)),t&&(t=Ze)){if(cu(e))throw ux(),Error(D(418));for(;t;)cx(e,t),t=Hn(t.nextSibling)}if(sp(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ze=Hn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ze=null}}else Ze=et?Hn(e.stateNode.nextSibling):null;return!0}function ux(){for(var e=Ze;e;)e=Hn(e.nextSibling)}function Ss(){Ze=et=null,ae=!1}function Ud(e){Tt===null?Tt=[e]:Tt.push(e)}var XP=xn.ReactCurrentBatchConfig;function Ys(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(D(309));var r=n.stateNode}if(!r)throw Error(D(147,e));var s=r,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(i){var o=s.refs;i===null?delete o[a]:o[a]=i},t._stringRef=a,t)}if(typeof e!="string")throw Error(D(284));if(!n._owner)throw Error(D(290,e))}return e}function Ei(e,t){throw e=Object.prototype.toString.call(t),Error(D(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ap(e){var t=e._init;return t(e._payload)}function dx(e){function t(g,m){if(e){var x=g.deletions;x===null?(g.deletions=[m],g.flags|=16):x.push(m)}}function n(g,m){if(!e)return null;for(;m!==null;)t(g,m),m=m.sibling;return null}function r(g,m){for(g=new Map;m!==null;)m.key!==null?g.set(m.key,m):g.set(m.index,m),m=m.sibling;return g}function s(g,m){return g=qn(g,m),g.index=0,g.sibling=null,g}function a(g,m,x){return g.index=x,e?(x=g.alternate,x!==null?(x=x.index,x<m?(g.flags|=2,m):x):(g.flags|=2,m)):(g.flags|=1048576,m)}function i(g){return e&&g.alternate===null&&(g.flags|=2),g}function o(g,m,x,P){return m===null||m.tag!==6?(m=ac(x,g.mode,P),m.return=g,m):(m=s(m,x),m.return=g,m)}function l(g,m,x,P){var S=x.type;return S===Hr?d(g,m,x.props.children,P,x.key):m!==null&&(m.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===kn&&ap(S)===m.type)?(P=s(m,x.props),P.ref=Ys(g,m,x),P.return=g,P):(P=to(x.type,x.key,x.props,null,g.mode,P),P.ref=Ys(g,m,x),P.return=g,P)}function u(g,m,x,P){return m===null||m.tag!==4||m.stateNode.containerInfo!==x.containerInfo||m.stateNode.implementation!==x.implementation?(m=ic(x,g.mode,P),m.return=g,m):(m=s(m,x.children||[]),m.return=g,m)}function d(g,m,x,P,S){return m===null||m.tag!==7?(m=Cr(x,g.mode,P,S),m.return=g,m):(m=s(m,x),m.return=g,m)}function f(g,m,x){if(typeof m=="string"&&m!==""||typeof m=="number")return m=ac(""+m,g.mode,x),m.return=g,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case yi:return x=to(m.type,m.key,m.props,null,g.mode,x),x.ref=Ys(g,null,m),x.return=g,x;case Br:return m=ic(m,g.mode,x),m.return=g,m;case kn:var P=m._init;return f(g,P(m._payload),x)}if(sa(m)||Us(m))return m=Cr(m,g.mode,x,null),m.return=g,m;Ei(g,m)}return null}function h(g,m,x,P){var S=m!==null?m.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return S!==null?null:o(g,m,""+x,P);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case yi:return x.key===S?l(g,m,x,P):null;case Br:return x.key===S?u(g,m,x,P):null;case kn:return S=x._init,h(g,m,S(x._payload),P)}if(sa(x)||Us(x))return S!==null?null:d(g,m,x,P,null);Ei(g,x)}return null}function p(g,m,x,P,S){if(typeof P=="string"&&P!==""||typeof P=="number")return g=g.get(x)||null,o(m,g,""+P,S);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case yi:return g=g.get(P.key===null?x:P.key)||null,l(m,g,P,S);case Br:return g=g.get(P.key===null?x:P.key)||null,u(m,g,P,S);case kn:var C=P._init;return p(g,m,x,C(P._payload),S)}if(sa(P)||Us(P))return g=g.get(x)||null,d(m,g,P,S,null);Ei(m,P)}return null}function y(g,m,x,P){for(var S=null,C=null,j=m,k=m=0,A=null;j!==null&&k<x.length;k++){j.index>k?(A=j,j=null):A=j.sibling;var N=h(g,j,x[k],P);if(N===null){j===null&&(j=A);break}e&&j&&N.alternate===null&&t(g,j),m=a(N,m,k),C===null?S=N:C.sibling=N,C=N,j=A}if(k===x.length)return n(g,j),ae&&lr(g,k),S;if(j===null){for(;k<x.length;k++)j=f(g,x[k],P),j!==null&&(m=a(j,m,k),C===null?S=j:C.sibling=j,C=j);return ae&&lr(g,k),S}for(j=r(g,j);k<x.length;k++)A=p(j,g,k,x[k],P),A!==null&&(e&&A.alternate!==null&&j.delete(A.key===null?k:A.key),m=a(A,m,k),C===null?S=A:C.sibling=A,C=A);return e&&j.forEach(function(L){return t(g,L)}),ae&&lr(g,k),S}function v(g,m,x,P){var S=Us(x);if(typeof S!="function")throw Error(D(150));if(x=S.call(x),x==null)throw Error(D(151));for(var C=S=null,j=m,k=m=0,A=null,N=x.next();j!==null&&!N.done;k++,N=x.next()){j.index>k?(A=j,j=null):A=j.sibling;var L=h(g,j,N.value,P);if(L===null){j===null&&(j=A);break}e&&j&&L.alternate===null&&t(g,j),m=a(L,m,k),C===null?S=L:C.sibling=L,C=L,j=A}if(N.done)return n(g,j),ae&&lr(g,k),S;if(j===null){for(;!N.done;k++,N=x.next())N=f(g,N.value,P),N!==null&&(m=a(N,m,k),C===null?S=N:C.sibling=N,C=N);return ae&&lr(g,k),S}for(j=r(g,j);!N.done;k++,N=x.next())N=p(j,g,k,N.value,P),N!==null&&(e&&N.alternate!==null&&j.delete(N.key===null?k:N.key),m=a(N,m,k),C===null?S=N:C.sibling=N,C=N);return e&&j.forEach(function(F){return t(g,F)}),ae&&lr(g,k),S}function b(g,m,x,P){if(typeof x=="object"&&x!==null&&x.type===Hr&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case yi:e:{for(var S=x.key,C=m;C!==null;){if(C.key===S){if(S=x.type,S===Hr){if(C.tag===7){n(g,C.sibling),m=s(C,x.props.children),m.return=g,g=m;break e}}else if(C.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===kn&&ap(S)===C.type){n(g,C.sibling),m=s(C,x.props),m.ref=Ys(g,C,x),m.return=g,g=m;break e}n(g,C);break}else t(g,C);C=C.sibling}x.type===Hr?(m=Cr(x.props.children,g.mode,P,x.key),m.return=g,g=m):(P=to(x.type,x.key,x.props,null,g.mode,P),P.ref=Ys(g,m,x),P.return=g,g=P)}return i(g);case Br:e:{for(C=x.key;m!==null;){if(m.key===C)if(m.tag===4&&m.stateNode.containerInfo===x.containerInfo&&m.stateNode.implementation===x.implementation){n(g,m.sibling),m=s(m,x.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=ic(x,g.mode,P),m.return=g,g=m}return i(g);case kn:return C=x._init,b(g,m,C(x._payload),P)}if(sa(x))return y(g,m,x,P);if(Us(x))return v(g,m,x,P);Ei(g,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,m!==null&&m.tag===6?(n(g,m.sibling),m=s(m,x),m.return=g,g=m):(n(g,m),m=ac(x,g.mode,P),m.return=g,g=m),i(g)):n(g,m)}return b}var Cs=dx(!0),fx=dx(!1),Eo=nr(null),No=null,Qr=null,Wd=null;function qd(){Wd=Qr=No=null}function Kd(e){var t=Eo.current;se(Eo),e._currentValue=t}function du(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function is(e,t){No=e,Wd=Qr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(qe=!0),e.firstContext=null)}function mt(e){var t=e._currentValue;if(Wd!==e)if(e={context:e,memoizedValue:t,next:null},Qr===null){if(No===null)throw Error(D(308));Qr=e,No.dependencies={lanes:0,firstContext:e}}else Qr=Qr.next=e;return t}var fr=null;function Gd(e){fr===null?fr=[e]:fr.push(e)}function hx(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,Gd(t)):(n.next=s.next,s.next=n),t.interleaved=n,pn(e,r)}function pn(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 jn=!1;function Yd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function px(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 un(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $n(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,G&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,pn(e,n)}return s=r.interleaved,s===null?(t.next=t,Gd(r)):(t.next=s.next,s.next=t),r.interleaved=t,pn(e,n)}function Yi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Fd(e,n)}}function ip(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,a=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};a===null?s=a=i:a=a.next=i,n=n.next}while(n!==null);a===null?s=a=t:a=a.next=t}else s=a=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ao(e,t,n,r){var s=e.updateQueue;jn=!1;var a=s.firstBaseUpdate,i=s.lastBaseUpdate,o=s.shared.pending;if(o!==null){s.shared.pending=null;var l=o,u=l.next;l.next=null,i===null?a=u:i.next=u,i=l;var d=e.alternate;d!==null&&(d=d.updateQueue,o=d.lastBaseUpdate,o!==i&&(o===null?d.firstBaseUpdate=u:o.next=u,d.lastBaseUpdate=l))}if(a!==null){var f=s.baseState;i=0,d=u=l=null,o=a;do{var h=o.lane,p=o.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:p,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var y=e,v=o;switch(h=t,p=n,v.tag){case 1:if(y=v.payload,typeof y=="function"){f=y.call(p,f,h);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=v.payload,h=typeof y=="function"?y.call(p,f,h):y,h==null)break e;f=le({},f,h);break e;case 2:jn=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,h=s.effects,h===null?s.effects=[o]:h.push(o))}else p={eventTime:p,lane:h,tag:o.tag,payload:o.payload,callback:o.callback,next:null},d===null?(u=d=p,l=f):d=d.next=p,i|=h;if(o=o.next,o===null){if(o=s.shared.pending,o===null)break;h=o,o=h.next,h.next=null,s.lastBaseUpdate=h,s.shared.pending=null}}while(!0);if(d===null&&(l=f),s.baseState=l,s.firstBaseUpdate=u,s.lastBaseUpdate=d,t=s.shared.interleaved,t!==null){s=t;do i|=s.lane,s=s.next;while(s!==t)}else a===null&&(s.shared.lanes=0);Ar|=i,e.lanes=i,e.memoizedState=f}}function op(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(D(191,s));s.call(r)}}}var ri={},Kt=nr(ri),Oa=nr(ri),La=nr(ri);function hr(e){if(e===ri)throw Error(D(174));return e}function Qd(e,t){switch(te(La,t),te(Oa,e),te(Kt,ri),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Wc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Wc(t,e)}se(Kt),te(Kt,t)}function ks(){se(Kt),se(Oa),se(La)}function mx(e){hr(La.current);var t=hr(Kt.current),n=Wc(t,e.type);t!==n&&(te(Oa,e),te(Kt,n))}function Xd(e){Oa.current===e&&(se(Kt),se(Oa))}var ie=nr(0);function Do(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 Zl=[];function Jd(){for(var e=0;e<Zl.length;e++)Zl[e]._workInProgressVersionPrimary=null;Zl.length=0}var Qi=xn.ReactCurrentDispatcher,ec=xn.ReactCurrentBatchConfig,Nr=0,oe=null,ye=null,be=null,Ro=!1,ha=!1,Ia=0,JP=0;function De(){throw Error(D(321))}function Zd(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 ef(e,t,n,r,s,a){if(Nr=a,oe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Qi.current=e===null||e.memoizedState===null?nS:rS,e=n(r,s),ha){a=0;do{if(ha=!1,Ia=0,25<=a)throw Error(D(301));a+=1,be=ye=null,t.updateQueue=null,Qi.current=sS,e=n(r,s)}while(ha)}if(Qi.current=Mo,t=ye!==null&&ye.next!==null,Nr=0,be=ye=oe=null,Ro=!1,t)throw Error(D(300));return e}function tf(){var e=Ia!==0;return Ia=0,e}function It(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return be===null?oe.memoizedState=be=e:be=be.next=e,be}function gt(){if(ye===null){var e=oe.alternate;e=e!==null?e.memoizedState:null}else e=ye.next;var t=be===null?oe.memoizedState:be.next;if(t!==null)be=t,ye=e;else{if(e===null)throw Error(D(310));ye=e,e={memoizedState:ye.memoizedState,baseState:ye.baseState,baseQueue:ye.baseQueue,queue:ye.queue,next:null},be===null?oe.memoizedState=be=e:be=be.next=e}return be}function za(e,t){return typeof t=="function"?t(e):t}function tc(e){var t=gt(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=ye,s=r.baseQueue,a=n.pending;if(a!==null){if(s!==null){var i=s.next;s.next=a.next,a.next=i}r.baseQueue=s=a,n.pending=null}if(s!==null){a=s.next,r=r.baseState;var o=i=null,l=null,u=a;do{var d=u.lane;if((Nr&d)===d)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(o=l=f,i=r):l=l.next=f,oe.lanes|=d,Ar|=d}u=u.next}while(u!==null&&u!==a);l===null?i=r:l.next=o,Rt(r,t.memoizedState)||(qe=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do a=s.lane,oe.lanes|=a,Ar|=a,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function nc(e){var t=gt(),n=t.queue;if(n===null)throw Error(D(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,a=t.memoizedState;if(s!==null){n.pending=null;var i=s=s.next;do a=e(a,i.action),i=i.next;while(i!==s);Rt(a,t.memoizedState)||(qe=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function gx(){}function yx(e,t){var n=oe,r=gt(),s=t(),a=!Rt(r.memoizedState,s);if(a&&(r.memoizedState=s,qe=!0),r=r.queue,nf(wx.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||be!==null&&be.memoizedState.tag&1){if(n.flags|=2048,_a(9,vx.bind(null,n,r,s,t),void 0,null),Pe===null)throw Error(D(349));Nr&30||xx(n,t,s)}return s}function xx(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 vx(e,t,n,r){t.value=n,t.getSnapshot=r,bx(t)&&Px(e)}function wx(e,t,n){return n(function(){bx(t)&&Px(e)})}function bx(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Rt(e,n)}catch{return!0}}function Px(e){var t=pn(e,1);t!==null&&At(t,e,1,-1)}function lp(e){var t=It();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:za,lastRenderedState:e},t.queue=e,e=e.dispatch=tS.bind(null,oe,e),[t.memoizedState,e]}function _a(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,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:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Sx(){return gt().memoizedState}function Xi(e,t,n,r){var s=It();oe.flags|=e,s.memoizedState=_a(1|t,n,void 0,r===void 0?null:r)}function ul(e,t,n,r){var s=gt();r=r===void 0?null:r;var a=void 0;if(ye!==null){var i=ye.memoizedState;if(a=i.destroy,r!==null&&Zd(r,i.deps)){s.memoizedState=_a(t,n,a,r);return}}oe.flags|=e,s.memoizedState=_a(1|t,n,a,r)}function cp(e,t){return Xi(8390656,8,e,t)}function nf(e,t){return ul(2048,8,e,t)}function Cx(e,t){return ul(4,2,e,t)}function kx(e,t){return ul(4,4,e,t)}function jx(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 Tx(e,t,n){return n=n!=null?n.concat([e]):null,ul(4,4,jx.bind(null,t,e),n)}function rf(){}function Ex(e,t){var n=gt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Zd(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Nx(e,t){var n=gt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Zd(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ax(e,t,n){return Nr&21?(Rt(n,t)||(n=Oy(),oe.lanes|=n,Ar|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,qe=!0),e.memoizedState=n)}function ZP(e,t){var n=X;X=n!==0&&4>n?n:4,e(!0);var r=ec.transition;ec.transition={};try{e(!1),t()}finally{X=n,ec.transition=r}}function Dx(){return gt().memoizedState}function eS(e,t,n){var r=Wn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Rx(e))Mx(t,n);else if(n=hx(e,t,n,r),n!==null){var s=Ve();At(n,e,r,s),Fx(n,t,r)}}function tS(e,t,n){var r=Wn(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Rx(e))Mx(t,s);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var i=t.lastRenderedState,o=a(i,n);if(s.hasEagerState=!0,s.eagerState=o,Rt(o,i)){var l=t.interleaved;l===null?(s.next=s,Gd(t)):(s.next=l.next,l.next=s),t.interleaved=s;return}}catch{}finally{}n=hx(e,t,s,r),n!==null&&(s=Ve(),At(n,e,r,s),Fx(n,t,r))}}function Rx(e){var t=e.alternate;return e===oe||t!==null&&t===oe}function Mx(e,t){ha=Ro=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Fx(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Fd(e,n)}}var Mo={readContext:mt,useCallback:De,useContext:De,useEffect:De,useImperativeHandle:De,useInsertionEffect:De,useLayoutEffect:De,useMemo:De,useReducer:De,useRef:De,useState:De,useDebugValue:De,useDeferredValue:De,useTransition:De,useMutableSource:De,useSyncExternalStore:De,useId:De,unstable_isNewReconciler:!1},nS={readContext:mt,useCallback:function(e,t){return It().memoizedState=[e,t===void 0?null:t],e},useContext:mt,useEffect:cp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Xi(4194308,4,jx.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Xi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Xi(4,2,e,t)},useMemo:function(e,t){var n=It();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=It();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=eS.bind(null,oe,e),[r.memoizedState,e]},useRef:function(e){var t=It();return e={current:e},t.memoizedState=e},useState:lp,useDebugValue:rf,useDeferredValue:function(e){return It().memoizedState=e},useTransition:function(){var e=lp(!1),t=e[0];return e=ZP.bind(null,e[1]),It().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=oe,s=It();if(ae){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),Pe===null)throw Error(D(349));Nr&30||xx(r,t,n)}s.memoizedState=n;var a={value:n,getSnapshot:t};return s.queue=a,cp(wx.bind(null,r,a,e),[e]),r.flags|=2048,_a(9,vx.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=It(),t=Pe.identifierPrefix;if(ae){var n=ln,r=on;n=(r&~(1<<32-Nt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ia++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=JP++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},rS={readContext:mt,useCallback:Ex,useContext:mt,useEffect:nf,useImperativeHandle:Tx,useInsertionEffect:Cx,useLayoutEffect:kx,useMemo:Nx,useReducer:tc,useRef:Sx,useState:function(){return tc(za)},useDebugValue:rf,useDeferredValue:function(e){var t=gt();return Ax(t,ye.memoizedState,e)},useTransition:function(){var e=tc(za)[0],t=gt().memoizedState;return[e,t]},useMutableSource:gx,useSyncExternalStore:yx,useId:Dx,unstable_isNewReconciler:!1},sS={readContext:mt,useCallback:Ex,useContext:mt,useEffect:nf,useImperativeHandle:Tx,useInsertionEffect:Cx,useLayoutEffect:kx,useMemo:Nx,useReducer:nc,useRef:Sx,useState:function(){return nc(za)},useDebugValue:rf,useDeferredValue:function(e){var t=gt();return ye===null?t.memoizedState=e:Ax(t,ye.memoizedState,e)},useTransition:function(){var e=nc(za)[0],t=gt().memoizedState;return[e,t]},useMutableSource:gx,useSyncExternalStore:yx,useId:Dx,unstable_isNewReconciler:!1};function St(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 fu(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:le({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var dl={isMounted:function(e){return(e=e._reactInternals)?Fr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ve(),s=Wn(e),a=un(r,s);a.payload=t,n!=null&&(a.callback=n),t=$n(e,a,s),t!==null&&(At(t,e,s,r),Yi(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ve(),s=Wn(e),a=un(r,s);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=$n(e,a,s),t!==null&&(At(t,e,s,r),Yi(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ve(),r=Wn(e),s=un(n,r);s.tag=2,t!=null&&(s.callback=t),t=$n(e,s,r),t!==null&&(At(t,e,r,n),Yi(t,e,r))}};function up(e,t,n,r,s,a,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,i):t.prototype&&t.prototype.isPureReactComponent?!Da(n,r)||!Da(s,a):!0}function Ox(e,t,n){var r=!1,s=Yn,a=t.contextType;return typeof a=="object"&&a!==null?a=mt(a):(s=Ge(t)?Tr:Oe.current,r=t.contextTypes,a=(r=r!=null)?Ps(e,s):Yn),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=dl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=a),t}function dp(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&dl.enqueueReplaceState(t,t.state,null)}function hu(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},Yd(e);var a=t.contextType;typeof a=="object"&&a!==null?s.context=mt(a):(a=Ge(t)?Tr:Oe.current,s.context=Ps(e,a)),s.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(fu(e,t,a,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&dl.enqueueReplaceState(s,s.state,null),Ao(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function js(e,t){try{var n="",r=t;do n+=Rb(r),r=r.return;while(r);var s=n}catch(a){s=`
Error generating stack: `+a.message+`
`+a.stack}return{value:e,source:t,stack:s,digest:null}}function rc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function pu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var aS=typeof WeakMap=="function"?WeakMap:Map;function Lx(e,t,n){n=un(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Oo||(Oo=!0,Cu=r),pu(e,t)},n}function Ix(e,t,n){n=un(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){pu(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){pu(e,t),typeof r!="function"&&(Un===null?Un=new Set([this]):Un.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function fp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new aS;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=vS.bind(null,e,t,n),t.then(e,e))}function hp(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 pp(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,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=un(-1,1),t.tag=2,$n(n,t,1))),n.lanes|=1),e)}var iS=xn.ReactCurrentOwner,qe=!1;function Le(e,t,n,r){t.child=e===null?fx(t,null,n,r):Cs(t,e.child,n,r)}function mp(e,t,n,r,s){n=n.render;var a=t.ref;return is(t,s),r=ef(e,t,n,r,a,s),n=tf(),e!==null&&!qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,mn(e,t,s)):(ae&&n&&Hd(t),t.flags|=1,Le(e,t,r,s),t.child)}function gp(e,t,n,r,s){if(e===null){var a=n.type;return typeof a=="function"&&!ff(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,zx(e,t,a,r,s)):(e=to(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&s)){var i=a.memoizedProps;if(n=n.compare,n=n!==null?n:Da,n(i,r)&&e.ref===t.ref)return mn(e,t,s)}return t.flags|=1,e=qn(a,r),e.ref=t.ref,e.return=t,t.child=e}function zx(e,t,n,r,s){if(e!==null){var a=e.memoizedProps;if(Da(a,r)&&e.ref===t.ref)if(qe=!1,t.pendingProps=r=a,(e.lanes&s)!==0)e.flags&131072&&(qe=!0);else return t.lanes=e.lanes,mn(e,t,s)}return mu(e,t,n,r,s)}function _x(e,t,n){var r=t.pendingProps,s=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},te(Jr,Qe),Qe|=n;else{if(!(n&1073741824))return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,te(Jr,Qe),Qe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,te(Jr,Qe),Qe|=r}else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,te(Jr,Qe),Qe|=r;return Le(e,t,s,n),t.child}function Vx(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,r,s){var a=Ge(n)?Tr:Oe.current;return a=Ps(t,a),is(t,s),n=ef(e,t,n,r,a,s),r=tf(),e!==null&&!qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,mn(e,t,s)):(ae&&r&&Hd(t),t.flags|=1,Le(e,t,n,s),t.child)}function yp(e,t,n,r,s){if(Ge(n)){var a=!0;ko(t)}else a=!1;if(is(t,s),t.stateNode===null)Ji(e,t),Ox(t,n,r),hu(t,n,r,s),r=!0;else if(e===null){var i=t.stateNode,o=t.memoizedProps;i.props=o;var l=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=mt(u):(u=Ge(n)?Tr:Oe.current,u=Ps(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function";f||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==r||l!==u)&&dp(t,i,r,u),jn=!1;var h=t.memoizedState;i.state=h,Ao(t,r,i,s),l=t.memoizedState,o!==r||h!==l||Ke.current||jn?(typeof d=="function"&&(fu(t,n,d,r),l=t.memoizedState),(o=jn||up(t,n,o,r,h,l,u))?(f||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=r,t.memoizedState=l),i.props=r,i.state=l,i.context=u,r=o):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,px(e,t),o=t.memoizedProps,u=t.type===t.elementType?o:St(t.type,o),i.props=u,f=t.pendingProps,h=i.context,l=n.contextType,typeof l=="object"&&l!==null?l=mt(l):(l=Ge(n)?Tr:Oe.current,l=Ps(t,l));var p=n.getDerivedStateFromProps;(d=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==f||h!==l)&&dp(t,i,r,l),jn=!1,h=t.memoizedState,i.state=h,Ao(t,r,i,s);var y=t.memoizedState;o!==f||h!==y||Ke.current||jn?(typeof p=="function"&&(fu(t,n,p,r),y=t.memoizedState),(u=jn||up(t,n,u,r,h,y,l)||!1)?(d||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,y,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,y,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),i.props=r,i.state=y,i.context=l,r=u):(typeof i.componentDidUpdate!="function"||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return gu(e,t,n,r,a,s)}function gu(e,t,n,r,s,a){Vx(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return s&&np(t,n,!1),mn(e,t,a);r=t.stateNode,iS.current=t;var o=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=Cs(t,e.child,null,a),t.child=Cs(t,null,o,a)):Le(e,t,o,a),t.memoizedState=r.state,s&&np(t,n,!0),t.child}function Bx(e){var t=e.stateNode;t.pendingContext?tp(e,t.pendingContext,t.pendingContext!==t.context):t.context&&tp(e,t.context,!1),Qd(e,t.containerInfo)}function xp(e,t,n,r,s){return Ss(),Ud(s),t.flags|=256,Le(e,t,n,r),t.child}var yu={dehydrated:null,treeContext:null,retryLane:0};function xu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Hx(e,t,n){var r=t.pendingProps,s=ie.current,a=!1,i=(t.flags&128)!==0,o;if((o=i)||(o=e!==null&&e.memoizedState===null?!1:(s&2)!==0),o?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),te(ie,s&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=r.children,e=r.fallback,a?(r=t.mode,a=t.child,i={mode:"hidden",children:i},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=i):a=pl(i,r,0,null),e=Cr(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=xu(n),t.memoizedState=yu,e):sf(t,i));if(s=e.memoizedState,s!==null&&(o=s.dehydrated,o!==null))return oS(e,t,i,r,o,s,n);if(a){a=r.fallback,i=t.mode,s=e.child,o=s.sibling;var l={mode:"hidden",children:r.children};return!(i&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=qn(s,l),r.subtreeFlags=s.subtreeFlags&14680064),o!==null?a=qn(o,a):(a=Cr(a,i,n,null),a.flags|=2),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,i=e.child.memoizedState,i=i===null?xu(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},a.memoizedState=i,a.childLanes=e.childLanes&~n,t.memoizedState=yu,r}return a=e.child,e=a.sibling,r=qn(a,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function sf(e,t){return t=pl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ni(e,t,n,r){return r!==null&&Ud(r),Cs(t,e.child,null,n),e=sf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function oS(e,t,n,r,s,a,i){if(n)return t.flags&256?(t.flags&=-257,r=rc(Error(D(422))),Ni(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=r.fallback,s=t.mode,r=pl({mode:"visible",children:r.children},s,0,null),a=Cr(a,s,i,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,t.mode&1&&Cs(t,e.child,null,i),t.child.memoizedState=xu(i),t.memoizedState=yu,a);if(!(t.mode&1))return Ni(e,t,i,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var o=r.dgst;return r=o,a=Error(D(419)),r=rc(a,r,void 0),Ni(e,t,i,r)}if(o=(i&e.childLanes)!==0,qe||o){if(r=Pe,r!==null){switch(i&-i){case 4:s=2;break;case 16:s=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:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|i)?0:s,s!==0&&s!==a.retryLane&&(a.retryLane=s,pn(e,s),At(r,e,s,-1))}return df(),r=rc(Error(D(421))),Ni(e,t,i,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=wS.bind(null,e),s._reactRetry=t,null):(e=a.treeContext,Ze=Hn(s.nextSibling),et=t,ae=!0,Tt=null,e!==null&&(ct[ut++]=on,ct[ut++]=ln,ct[ut++]=Er,on=e.id,ln=e.overflow,Er=t),t=sf(t,r.children),t.flags|=4096,t)}function vp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),du(e.return,t,n)}function sc(e,t,n,r,s){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=s)}function $x(e,t,n){var r=t.pendingProps,s=r.revealOrder,a=r.tail;if(Le(e,t,r.children,n),r=ie.current,r&2)r=r&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&&vp(e,n,t);else if(e.tag===19)vp(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}r&=1}if(te(ie,r),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&Do(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),sc(t,!1,s,n,a);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Do(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}sc(t,!0,n,null,a);break;case"together":sc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ji(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function mn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ar|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(D(153));if(t.child!==null){for(e=t.child,n=qn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=qn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function lS(e,t,n){switch(t.tag){case 3:Bx(t),Ss();break;case 5:mx(t);break;case 1:Ge(t.type)&&ko(t);break;case 4:Qd(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;te(Eo,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(te(ie,ie.current&1),t.flags|=128,null):n&t.child.childLanes?Hx(e,t,n):(te(ie,ie.current&1),e=mn(e,t,n),e!==null?e.sibling:null);te(ie,ie.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return $x(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),te(ie,ie.current),r)break;return null;case 22:case 23:return t.lanes=0,_x(e,t,n)}return mn(e,t,n)}var Ux,vu,Wx,qx;Ux=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(){};Wx=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,hr(Kt.current);var a=null;switch(n){case"input":s=Bc(e,s),r=Bc(e,r),a=[];break;case"select":s=le({},s,{value:void 0}),r=le({},r,{value:void 0}),a=[];break;case"textarea":s=Uc(e,s),r=Uc(e,r),a=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=So)}qc(n,r);var i;n=null;for(u in s)if(!r.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var o=s[u];for(i in o)o.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ca.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var l=r[u];if(o=s!=null?s[u]:void 0,r.hasOwnProperty(u)&&l!==o&&(l!=null||o!=null))if(u==="style")if(o){for(i in o)!o.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in l)l.hasOwnProperty(i)&&o[i]!==l[i]&&(n||(n={}),n[i]=l[i])}else n||(a||(a=[]),a.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,o=o?o.__html:void 0,l!=null&&o!==l&&(a=a||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(a=a||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ca.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&re("scroll",e),a||o===l||(a=[])):(a=a||[]).push(u,l))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};qx=function(e,t,n,r){n!==r&&(t.flags|=4)};function Qs(e,t){if(!ae)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 r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Re(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function cS(e,t,n){var r=t.pendingProps;switch($d(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Re(t),null;case 1:return Ge(t.type)&&Co(),Re(t),null;case 3:return r=t.stateNode,ks(),se(Ke),se(Oe),Jd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ti(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Tt!==null&&(Tu(Tt),Tt=null))),vu(e,t),Re(t),null;case 5:Xd(t);var s=hr(La.current);if(n=t.type,e!==null&&t.stateNode!=null)Wx(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(D(166));return Re(t),null}if(e=hr(Kt.current),Ti(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[$t]=t,r[Fa]=a,e=(t.mode&1)!==0,n){case"dialog":re("cancel",r),re("close",r);break;case"iframe":case"object":case"embed":re("load",r);break;case"video":case"audio":for(s=0;s<ia.length;s++)re(ia[s],r);break;case"source":re("error",r);break;case"img":case"image":case"link":re("error",r),re("load",r);break;case"details":re("toggle",r);break;case"input":Eh(r,a),re("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},re("invalid",r);break;case"textarea":Ah(r,a),re("invalid",r)}qc(n,a),s=null;for(var i in a)if(a.hasOwnProperty(i)){var o=a[i];i==="children"?typeof o=="string"?r.textContent!==o&&(a.suppressHydrationWarning!==!0&&ji(r.textContent,o,e),s=["children",o]):typeof o=="number"&&r.textContent!==""+o&&(a.suppressHydrationWarning!==!0&&ji(r.textContent,o,e),s=["children",""+o]):Ca.hasOwnProperty(i)&&o!=null&&i==="onScroll"&&re("scroll",r)}switch(n){case"input":xi(r),Nh(r,a,!0);break;case"textarea":xi(r),Dh(r);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(r.onclick=So)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=wy(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[$t]=t,e[Fa]=r,Ux(e,t,!1,!1),t.stateNode=e;e:{switch(i=Kc(n,r),n){case"dialog":re("cancel",e),re("close",e),s=r;break;case"iframe":case"object":case"embed":re("load",e),s=r;break;case"video":case"audio":for(s=0;s<ia.length;s++)re(ia[s],e);s=r;break;case"source":re("error",e),s=r;break;case"img":case"image":case"link":re("error",e),re("load",e),s=r;break;case"details":re("toggle",e),s=r;break;case"input":Eh(e,r),s=Bc(e,r),re("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=le({},r,{value:void 0}),re("invalid",e);break;case"textarea":Ah(e,r),s=Uc(e,r),re("invalid",e);break;default:s=r}qc(n,s),o=s;for(a in o)if(o.hasOwnProperty(a)){var l=o[a];a==="style"?Sy(e,l):a==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&by(e,l)):a==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&ka(e,l):typeof l=="number"&&ka(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Ca.hasOwnProperty(a)?l!=null&&a==="onScroll"&&re("scroll",e):l!=null&&Ed(e,a,l,i))}switch(n){case"input":xi(e),Nh(e,r,!1);break;case"textarea":xi(e),Dh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Gn(r.value));break;case"select":e.multiple=!!r.multiple,a=r.value,a!=null?ns(e,!!r.multiple,a,!1):r.defaultValue!=null&&ns(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=So)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Re(t),null;case 6:if(e&&t.stateNode!=null)qx(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(D(166));if(n=hr(La.current),hr(Kt.current),Ti(t)){if(r=t.stateNode,n=t.memoizedProps,r[$t]=t,(a=r.nodeValue!==n)&&(e=et,e!==null))switch(e.tag){case 3:ji(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ji(r.nodeValue,n,(e.mode&1)!==0)}a&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[$t]=t,t.stateNode=r}return Re(t),null;case 13:if(se(ie),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ae&&Ze!==null&&t.mode&1&&!(t.flags&128))ux(),Ss(),t.flags|=98560,a=!1;else if(a=Ti(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(D(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(D(317));a[$t]=t}else Ss(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Re(t),a=!1}else Tt!==null&&(Tu(Tt),Tt=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ie.current&1?ve===0&&(ve=3):df())),t.updateQueue!==null&&(t.flags|=4),Re(t),null);case 4:return ks(),vu(e,t),e===null&&Ra(t.stateNode.containerInfo),Re(t),null;case 10:return Kd(t.type._context),Re(t),null;case 17:return Ge(t.type)&&Co(),Re(t),null;case 19:if(se(ie),a=t.memoizedState,a===null)return Re(t),null;if(r=(t.flags&128)!==0,i=a.rendering,i===null)if(r)Qs(a,!1);else{if(ve!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Do(e),i!==null){for(t.flags|=128,Qs(a,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)a=n,e=r,a.flags&=14680066,i=a.alternate,i===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.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}a.tail!==null&&fe()>Ts&&(t.flags|=128,r=!0,Qs(a,!1),t.lanes=4194304)}else{if(!r)if(e=Do(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Qs(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!ae)return Re(t),null}else 2*fe()-a.renderingStartTime>Ts&&n!==1073741824&&(t.flags|=128,r=!0,Qs(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(n=a.last,n!==null?n.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=fe(),t.sibling=null,n=ie.current,te(ie,r?n&1|2:n&1),t):(Re(t),null);case 22:case 23:return uf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Qe&1073741824&&(Re(t),t.subtreeFlags&6&&(t.flags|=8192)):Re(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function uS(e,t){switch($d(t),t.tag){case 1:return Ge(t.type)&&Co(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ks(),se(Ke),se(Oe),Jd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Xd(t),null;case 13:if(se(ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));Ss()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return se(ie),null;case 4:return ks(),null;case 10:return Kd(t.type._context),null;case 22:case 23:return uf(),null;case 24:return null;default:return null}}var Ai=!1,Fe=!1,dS=typeof WeakSet=="function"?WeakSet:Set,O=null;function Xr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){de(e,t,r)}else n.current=null}function wu(e,t,n){try{n()}catch(r){de(e,t,r)}}var wp=!1;function fS(e,t){if(ru=wo,e=Xy(),Bd(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var s=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var i=0,o=-1,l=-1,u=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||s!==0&&f.nodeType!==3||(o=i+s),f!==a||r!==0&&f.nodeType!==3||(l=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(p=f.firstChild)!==null;)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++u===s&&(o=i),h===a&&++d===r&&(l=i),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}n=o===-1||l===-1?null:{start:o,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(su={focusedElem:e,selectionRange:n},wo=!1,O=t;O!==null;)if(t=O,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,O=e;else for(;O!==null;){t=O;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,b=y.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:St(t.type,v),b);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(D(163))}}catch(P){de(t,t.return,P)}if(e=t.sibling,e!==null){e.return=t.return,O=e;break}O=t.return}return y=wp,wp=!1,y}function pa(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var a=s.destroy;s.destroy=void 0,a!==void 0&&wu(t,n,a)}s=s.next}while(s!==r)}}function fl(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 r=n.create;n.destroy=r()}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 Kx(e){var t=e.alternate;t!==null&&(e.alternate=null,Kx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[$t],delete t[Fa],delete t[ou],delete t[GP],delete t[YP])),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 Gx(e){return e.tag===5||e.tag===3||e.tag===4}function bp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Gx(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 r=e.tag;if(r===5||r===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=So));else if(r!==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 r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==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,jt=!1;function wn(e,t,n){for(n=n.child;n!==null;)Yx(e,t,n),n=n.sibling}function Yx(e,t,n){if(qt&&typeof qt.onCommitFiberUnmount=="function")try{qt.onCommitFiberUnmount(sl,n)}catch{}switch(n.tag){case 5:Fe||Xr(n,t);case 6:var r=je,s=jt;je=null,wn(e,t,n),je=r,jt=s,je!==null&&(jt?(e=je,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):je.removeChild(n.stateNode));break;case 18:je!==null&&(jt?(e=je,n=n.stateNode,e.nodeType===8?Xl(e.parentNode,n):e.nodeType===1&&Xl(e,n),Na(e)):Xl(je,n.stateNode));break;case 4:r=je,s=jt,je=n.stateNode.containerInfo,jt=!0,wn(e,t,n),je=r,jt=s;break;case 0:case 11:case 14:case 15:if(!Fe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var a=s,i=a.destroy;a=a.tag,i!==void 0&&(a&2||a&4)&&wu(n,t,i),s=s.next}while(s!==r)}wn(e,t,n);break;case 1:if(!Fe&&(Xr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(o){de(n,t,o)}wn(e,t,n);break;case 21:wn(e,t,n);break;case 22:n.mode&1?(Fe=(r=Fe)||n.memoizedState!==null,wn(e,t,n),Fe=r):wn(e,t,n);break;default:wn(e,t,n)}}function Pp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new dS),t.forEach(function(r){var s=bS.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function wt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var a=e,i=t,o=i;e:for(;o!==null;){switch(o.tag){case 5:je=o.stateNode,jt=!1;break e;case 3:je=o.stateNode.containerInfo,jt=!0;break e;case 4:je=o.stateNode.containerInfo,jt=!0;break e}o=o.return}if(je===null)throw Error(D(160));Yx(a,i,s),je=null,jt=!1;var l=s.alternate;l!==null&&(l.return=null),s.return=null}catch(u){de(s,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Qx(t,e),t=t.sibling}function Qx(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(wt(t,e),Lt(e),r&4){try{pa(3,e,e.return),fl(3,e)}catch(v){de(e,e.return,v)}try{pa(5,e,e.return)}catch(v){de(e,e.return,v)}}break;case 1:wt(t,e),Lt(e),r&512&&n!==null&&Xr(n,n.return);break;case 5:if(wt(t,e),Lt(e),r&512&&n!==null&&Xr(n,n.return),e.flags&32){var s=e.stateNode;try{ka(s,"")}catch(v){de(e,e.return,v)}}if(r&4&&(s=e.stateNode,s!=null)){var a=e.memoizedProps,i=n!==null?n.memoizedProps:a,o=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{o==="input"&&a.type==="radio"&&a.name!=null&&xy(s,a),Kc(o,i);var u=Kc(o,a);for(i=0;i<l.length;i+=2){var d=l[i],f=l[i+1];d==="style"?Sy(s,f):d==="dangerouslySetInnerHTML"?by(s,f):d==="children"?ka(s,f):Ed(s,d,f,u)}switch(o){case"input":Hc(s,a);break;case"textarea":vy(s,a);break;case"select":var h=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!a.multiple;var p=a.value;p!=null?ns(s,!!a.multiple,p,!1):h!==!!a.multiple&&(a.defaultValue!=null?ns(s,!!a.multiple,a.defaultValue,!0):ns(s,!!a.multiple,a.multiple?[]:"",!1))}s[Fa]=a}catch(v){de(e,e.return,v)}}break;case 6:if(wt(t,e),Lt(e),r&4){if(e.stateNode===null)throw Error(D(162));s=e.stateNode,a=e.memoizedProps;try{s.nodeValue=a}catch(v){de(e,e.return,v)}}break;case 3:if(wt(t,e),Lt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Na(t.containerInfo)}catch(v){de(e,e.return,v)}break;case 4:wt(t,e),Lt(e);break;case 13:wt(t,e),Lt(e),s=e.child,s.flags&8192&&(a=s.memoizedState!==null,s.stateNode.isHidden=a,!a||s.alternate!==null&&s.alternate.memoizedState!==null||(lf=fe())),r&4&&Pp(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Fe=(u=Fe)||d,wt(t,e),Fe=u):wt(t,e),Lt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(O=e,d=e.child;d!==null;){for(f=O=d;O!==null;){switch(h=O,p=h.child,h.tag){case 0:case 11:case 14:case 15:pa(4,h,h.return);break;case 1:Xr(h,h.return);var y=h.stateNode;if(typeof y.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(v){de(r,n,v)}}break;case 5:Xr(h,h.return);break;case 22:if(h.memoizedState!==null){Cp(f);continue}}p!==null?(p.return=h,O=p):Cp(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{s=f.stateNode,u?(a=s.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(o=f.stateNode,l=f.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,o.style.display=Py("display",i))}catch(v){de(e,e.return,v)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){de(e,e.return,v)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:wt(t,e),Lt(e),r&4&&Pp(e);break;case 21:break;default:wt(t,e),Lt(e)}}function Lt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Gx(n)){var r=n;break e}n=n.return}throw Error(D(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(ka(s,""),r.flags&=-33);var a=bp(e);Su(e,a,s);break;case 3:case 4:var i=r.stateNode.containerInfo,o=bp(e);Pu(e,o,i);break;default:throw Error(D(161))}}catch(l){de(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function hS(e,t,n){O=e,Xx(e)}function Xx(e,t,n){for(var r=(e.mode&1)!==0;O!==null;){var s=O,a=s.child;if(s.tag===22&&r){var i=s.memoizedState!==null||Ai;if(!i){var o=s.alternate,l=o!==null&&o.memoizedState!==null||Fe;o=Ai;var u=Fe;if(Ai=i,(Fe=l)&&!u)for(O=s;O!==null;)i=O,l=i.child,i.tag===22&&i.memoizedState!==null?kp(s):l!==null?(l.return=i,O=l):kp(s);for(;a!==null;)O=a,Xx(a),a=a.sibling;O=s,Ai=o,Fe=u}Sp(e)}else s.subtreeFlags&8772&&a!==null?(a.return=s,O=a):Sp(e)}}function Sp(e){for(;O!==null;){var t=O;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Fe||fl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Fe)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:St(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&op(t,a,r);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}op(t,i,n)}break;case 5:var o=t.stateNode;if(n===null&&t.flags&4){n=o;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.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 f=d.dehydrated;f!==null&&Na(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(D(163))}Fe||t.flags&512&&bu(t)}catch(h){de(t,t.return,h)}}if(t===e){O=null;break}if(n=t.sibling,n!==null){n.return=t.return,O=n;break}O=t.return}}function Cp(e){for(;O!==null;){var t=O;if(t===e){O=null;break}var n=t.sibling;if(n!==null){n.return=t.return,O=n;break}O=t.return}}function kp(e){for(;O!==null;){var t=O;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{fl(4,t)}catch(l){de(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(l){de(t,s,l)}}var a=t.return;try{bu(t)}catch(l){de(t,a,l)}break;case 5:var i=t.return;try{bu(t)}catch(l){de(t,i,l)}}}catch(l){de(t,t.return,l)}if(t===e){O=null;break}var o=t.sibling;if(o!==null){o.return=t.return,O=o;break}O=t.return}}var pS=Math.ceil,Fo=xn.ReactCurrentDispatcher,af=xn.ReactCurrentOwner,ht=xn.ReactCurrentBatchConfig,G=0,Pe=null,pe=null,Ne=0,Qe=0,Jr=nr(0),ve=0,Va=null,Ar=0,hl=0,of=0,ma=null,We=null,lf=0,Ts=1/0,rn=null,Oo=!1,Cu=null,Un=null,Di=!1,Ln=null,Lo=0,ga=0,ku=null,Zi=-1,eo=0;function Ve(){return G&6?fe():Zi!==-1?Zi:Zi=fe()}function Wn(e){return e.mode&1?G&2&&Ne!==0?Ne&-Ne:XP.transition!==null?(eo===0&&(eo=Oy()),eo):(e=X,e!==0||(e=window.event,e=e===void 0?16:Hy(e.type)),e):1}function At(e,t,n,r){if(50<ga)throw ga=0,ku=null,Error(D(185));ei(e,n,r),(!(G&2)||e!==Pe)&&(e===Pe&&(!(G&2)&&(hl|=n),ve===4&&En(e,Ne)),Ye(e,r),n===1&&G===0&&!(t.mode&1)&&(Ts=fe()+500,cl&&rr()))}function Ye(e,t){var n=e.callbackNode;Xb(e,t);var r=vo(e,e===Pe?Ne:0);if(r===0)n!==null&&Fh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Fh(n),t===1)e.tag===0?QP(jp.bind(null,e)):ox(jp.bind(null,e)),qP(function(){!(G&6)&&rr()}),n=null;else{switch(Ly(r)){case 1:n=Md;break;case 4:n=My;break;case 16:n=xo;break;case 536870912:n=Fy;break;default:n=xo}n=av(n,Jx.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Jx(e,t){if(Zi=-1,eo=0,G&6)throw Error(D(327));var n=e.callbackNode;if(os()&&e.callbackNode!==n)return null;var r=vo(e,e===Pe?Ne:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Io(e,r);else{t=r;var s=G;G|=2;var a=ev();(Pe!==e||Ne!==t)&&(rn=null,Ts=fe()+500,Sr(e,t));do try{yS();break}catch(o){Zx(e,o)}while(!0);qd(),Fo.current=a,G=s,pe!==null?t=0:(Pe=null,Ne=0,t=ve)}if(t!==0){if(t===2&&(s=Jc(e),s!==0&&(r=s,t=ju(e,s))),t===1)throw n=Va,Sr(e,0),En(e,r),Ye(e,fe()),n;if(t===6)En(e,r);else{if(s=e.current.alternate,!(r&30)&&!mS(s)&&(t=Io(e,r),t===2&&(a=Jc(e),a!==0&&(r=a,t=ju(e,a))),t===1))throw n=Va,Sr(e,0),En(e,r),Ye(e,fe()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(D(345));case 2:cr(e,We,rn);break;case 3:if(En(e,r),(r&130023424)===r&&(t=lf+500-fe(),10<t)){if(vo(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){Ve(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=iu(cr.bind(null,e,We,rn),t);break}cr(e,We,rn);break;case 4:if(En(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var i=31-Nt(r);a=1<<i,i=t[i],i>s&&(s=i),r&=~a}if(r=s,r=fe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*pS(r/1960))-r,10<r){e.timeoutHandle=iu(cr.bind(null,e,We,rn),r);break}cr(e,We,rn);break;case 5:cr(e,We,rn);break;default:throw Error(D(329))}}}return Ye(e,fe()),e.callbackNode===n?Jx.bind(null,e):null}function ju(e,t){var n=ma;return e.current.memoizedState.isDehydrated&&(Sr(e,t).flags|=256),e=Io(e,t),e!==2&&(t=We,We=n,t!==null&&Tu(t)),e}function Tu(e){We===null?We=e:We.push.apply(We,e)}function mS(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var s=n[r],a=s.getSnapshot;s=s.value;try{if(!Rt(a(),s))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 En(e,t){for(t&=~of,t&=~hl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Nt(t),r=1<<n;e[n]=-1,t&=~r}}function jp(e){if(G&6)throw Error(D(327));os();var t=vo(e,0);if(!(t&1))return Ye(e,fe()),null;var n=Io(e,t);if(e.tag!==0&&n===2){var r=Jc(e);r!==0&&(t=r,n=ju(e,r))}if(n===1)throw n=Va,Sr(e,0),En(e,t),Ye(e,fe()),n;if(n===6)throw Error(D(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,cr(e,We,rn),Ye(e,fe()),null}function cf(e,t){var n=G;G|=1;try{return e(t)}finally{G=n,G===0&&(Ts=fe()+500,cl&&rr())}}function Dr(e){Ln!==null&&Ln.tag===0&&!(G&6)&&os();var t=G;G|=1;var n=ht.transition,r=X;try{if(ht.transition=null,X=1,e)return e()}finally{X=r,ht.transition=n,G=t,!(G&6)&&rr()}}function uf(){Qe=Jr.current,se(Jr)}function Sr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,WP(n)),pe!==null)for(n=pe.return;n!==null;){var r=n;switch($d(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Co();break;case 3:ks(),se(Ke),se(Oe),Jd();break;case 5:Xd(r);break;case 4:ks();break;case 13:se(ie);break;case 19:se(ie);break;case 10:Kd(r.type._context);break;case 22:case 23:uf()}n=n.return}if(Pe=e,pe=e=qn(e.current,null),Ne=Qe=t,ve=0,Va=null,of=hl=Ar=0,We=ma=null,fr!==null){for(t=0;t<fr.length;t++)if(n=fr[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,a=n.pending;if(a!==null){var i=a.next;a.next=s,r.next=i}n.pending=r}fr=null}return e}function Zx(e,t){do{var n=pe;try{if(qd(),Qi.current=Mo,Ro){for(var r=oe.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}Ro=!1}if(Nr=0,be=ye=oe=null,ha=!1,Ia=0,af.current=null,n===null||n.return===null){ve=1,Va=t,pe=null;break}e:{var a=e,i=n.return,o=n,l=t;if(t=Ne,o.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,d=o,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=hp(i);if(p!==null){p.flags&=-257,pp(p,i,o,a,t),p.mode&1&&fp(a,u,t),t=p,l=u;var y=t.updateQueue;if(y===null){var v=new Set;v.add(l),t.updateQueue=v}else y.add(l);break e}else{if(!(t&1)){fp(a,u,t),df();break e}l=Error(D(426))}}else if(ae&&o.mode&1){var b=hp(i);if(b!==null){!(b.flags&65536)&&(b.flags|=256),pp(b,i,o,a,t),Ud(js(l,o));break e}}a=l=js(l,o),ve!==4&&(ve=2),ma===null?ma=[a]:ma.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var g=Lx(a,l,t);ip(a,g);break e;case 1:o=l;var m=a.type,x=a.stateNode;if(!(a.flags&128)&&(typeof m.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(Un===null||!Un.has(x)))){a.flags|=65536,t&=-t,a.lanes|=t;var P=Ix(a,o,t);ip(a,P);break e}}a=a.return}while(a!==null)}nv(n)}catch(S){t=S,pe===n&&n!==null&&(pe=n=n.return);continue}break}while(!0)}function ev(){var e=Fo.current;return Fo.current=Mo,e===null?Mo:e}function df(){(ve===0||ve===3||ve===2)&&(ve=4),Pe===null||!(Ar&268435455)&&!(hl&268435455)||En(Pe,Ne)}function Io(e,t){var n=G;G|=2;var r=ev();(Pe!==e||Ne!==t)&&(rn=null,Sr(e,t));do try{gS();break}catch(s){Zx(e,s)}while(!0);if(qd(),G=n,Fo.current=r,pe!==null)throw Error(D(261));return Pe=null,Ne=0,ve}function gS(){for(;pe!==null;)tv(pe)}function yS(){for(;pe!==null&&!Hb();)tv(pe)}function tv(e){var t=sv(e.alternate,e,Qe);e.memoizedProps=e.pendingProps,t===null?nv(e):pe=t,af.current=null}function nv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=uS(n,t),n!==null){n.flags&=32767,pe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ve=6,pe=null;return}}else if(n=cS(n,t,Qe),n!==null){pe=n;return}if(t=t.sibling,t!==null){pe=t;return}pe=t=e}while(t!==null);ve===0&&(ve=5)}function cr(e,t,n){var r=X,s=ht.transition;try{ht.transition=null,X=1,xS(e,t,n,r)}finally{ht.transition=s,X=r}return null}function xS(e,t,n,r){do os();while(Ln!==null);if(G&6)throw Error(D(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(D(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(Jb(e,a),e===Pe&&(pe=Pe=null,Ne=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Di||(Di=!0,av(xo,function(){return os(),null})),a=(n.flags&15990)!==0,n.subtreeFlags&15990||a){a=ht.transition,ht.transition=null;var i=X;X=1;var o=G;G|=4,af.current=null,fS(e,n),Qx(n,e),zP(su),wo=!!ru,su=ru=null,e.current=n,hS(n),$b(),G=o,X=i,ht.transition=a}else e.current=n;if(Di&&(Di=!1,Ln=e,Lo=s),a=e.pendingLanes,a===0&&(Un=null),qb(n.stateNode),Ye(e,fe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(Oo)throw Oo=!1,e=Cu,Cu=null,e;return Lo&1&&e.tag!==0&&os(),a=e.pendingLanes,a&1?e===ku?ga++:(ga=0,ku=e):ga=0,rr(),null}function os(){if(Ln!==null){var e=Ly(Lo),t=ht.transition,n=X;try{if(ht.transition=null,X=16>e?16:e,Ln===null)var r=!1;else{if(e=Ln,Ln=null,Lo=0,G&6)throw Error(D(331));var s=G;for(G|=4,O=e.current;O!==null;){var a=O,i=a.child;if(O.flags&16){var o=a.deletions;if(o!==null){for(var l=0;l<o.length;l++){var u=o[l];for(O=u;O!==null;){var d=O;switch(d.tag){case 0:case 11:case 15:pa(8,d,a)}var f=d.child;if(f!==null)f.return=d,O=f;else for(;O!==null;){d=O;var h=d.sibling,p=d.return;if(Kx(d),d===u){O=null;break}if(h!==null){h.return=p,O=h;break}O=p}}}var y=a.alternate;if(y!==null){var v=y.child;if(v!==null){y.child=null;do{var b=v.sibling;v.sibling=null,v=b}while(v!==null)}}O=a}}if(a.subtreeFlags&2064&&i!==null)i.return=a,O=i;else e:for(;O!==null;){if(a=O,a.flags&2048)switch(a.tag){case 0:case 11:case 15:pa(9,a,a.return)}var g=a.sibling;if(g!==null){g.return=a.return,O=g;break e}O=a.return}}var m=e.current;for(O=m;O!==null;){i=O;var x=i.child;if(i.subtreeFlags&2064&&x!==null)x.return=i,O=x;else e:for(i=m;O!==null;){if(o=O,o.flags&2048)try{switch(o.tag){case 0:case 11:case 15:fl(9,o)}}catch(S){de(o,o.return,S)}if(o===i){O=null;break e}var P=o.sibling;if(P!==null){P.return=o.return,O=P;break e}O=o.return}}if(G=s,rr(),qt&&typeof qt.onPostCommitFiberRoot=="function")try{qt.onPostCommitFiberRoot(sl,e)}catch{}r=!0}return r}finally{X=n,ht.transition=t}}return!1}function Tp(e,t,n){t=js(n,t),t=Lx(e,t,1),e=$n(e,t,1),t=Ve(),e!==null&&(ei(e,1,t),Ye(e,t))}function de(e,t,n){if(e.tag===3)Tp(e,e,n);else for(;t!==null;){if(t.tag===3){Tp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Un===null||!Un.has(r))){e=js(n,e),e=Ix(t,e,1),t=$n(t,e,1),e=Ve(),t!==null&&(ei(t,1,e),Ye(t,e));break}}t=t.return}}function vS(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ve(),e.pingedLanes|=e.suspendedLanes&n,Pe===e&&(Ne&n)===n&&(ve===4||ve===3&&(Ne&130023424)===Ne&&500>fe()-lf?Sr(e,0):of|=n),Ye(e,t)}function rv(e,t){t===0&&(e.mode&1?(t=bi,bi<<=1,!(bi&130023424)&&(bi=4194304)):t=1);var n=Ve();e=pn(e,t),e!==null&&(ei(e,t,n),Ye(e,n))}function wS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),rv(e,n)}function bS(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(D(314))}r!==null&&r.delete(t),rv(e,n)}var sv;sv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ke.current)qe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return qe=!1,lS(e,t,n);qe=!!(e.flags&131072)}else qe=!1,ae&&t.flags&1048576&&lx(t,To,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ji(e,t),e=t.pendingProps;var s=Ps(t,Oe.current);is(t,n),s=ef(null,t,r,e,s,n);var a=tf();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ge(r)?(a=!0,ko(t)):a=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Yd(t),s.updater=dl,t.stateNode=s,s._reactInternals=t,hu(t,r,e,n),t=gu(null,t,r,!0,a,n)):(t.tag=0,ae&&a&&Hd(t),Le(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ji(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=SS(r),e=St(r,e),s){case 0:t=mu(null,t,r,e,n);break e;case 1:t=yp(null,t,r,e,n);break e;case 11:t=mp(null,t,r,e,n);break e;case 14:t=gp(null,t,r,St(r.type,e),n);break e}throw Error(D(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:St(r,s),mu(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:St(r,s),yp(e,t,r,s,n);case 3:e:{if(Bx(t),e===null)throw Error(D(387));r=t.pendingProps,a=t.memoizedState,s=a.element,px(e,t),Ao(t,r,null,n);var i=t.memoizedState;if(r=i.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){s=js(Error(D(423)),t),t=xp(e,t,r,n,s);break e}else if(r!==s){s=js(Error(D(424)),t),t=xp(e,t,r,n,s);break e}else for(Ze=Hn(t.stateNode.containerInfo.firstChild),et=t,ae=!0,Tt=null,n=fx(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ss(),r===s){t=mn(e,t,n);break e}Le(e,t,r,n)}t=t.child}return t;case 5:return mx(t),e===null&&uu(t),r=t.type,s=t.pendingProps,a=e!==null?e.memoizedProps:null,i=s.children,au(r,s)?i=null:a!==null&&au(r,a)&&(t.flags|=32),Vx(e,t),Le(e,t,i,n),t.child;case 6:return e===null&&uu(t),null;case 13:return Hx(e,t,n);case 4:return Qd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Cs(t,null,r,n):Le(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:St(r,s),mp(e,t,r,s,n);case 7:return Le(e,t,t.pendingProps,n),t.child;case 8:return Le(e,t,t.pendingProps.children,n),t.child;case 12:return Le(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,a=t.memoizedProps,i=s.value,te(Eo,r._currentValue),r._currentValue=i,a!==null)if(Rt(a.value,i)){if(a.children===s.children&&!Ke.current){t=mn(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var o=a.dependencies;if(o!==null){i=a.child;for(var l=o.firstContext;l!==null;){if(l.context===r){if(a.tag===1){l=un(-1,n&-n),l.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),du(a.return,n,t),o.lanes|=n;break}l=l.next}}else if(a.tag===10)i=a.type===t.type?null:a.child;else if(a.tag===18){if(i=a.return,i===null)throw Error(D(341));i.lanes|=n,o=i.alternate,o!==null&&(o.lanes|=n),du(i,n,t),i=a.sibling}else i=a.child;if(i!==null)i.return=a;else for(i=a;i!==null;){if(i===t){i=null;break}if(a=i.sibling,a!==null){a.return=i.return,i=a;break}i=i.return}a=i}Le(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,is(t,n),s=mt(s),r=r(s),t.flags|=1,Le(e,t,r,n),t.child;case 14:return r=t.type,s=St(r,t.pendingProps),s=St(r.type,s),gp(e,t,r,s,n);case 15:return zx(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:St(r,s),Ji(e,t),t.tag=1,Ge(r)?(e=!0,ko(t)):e=!1,is(t,n),Ox(t,r,s),hu(t,r,s,n),gu(null,t,r,!0,e,n);case 19:return $x(e,t,n);case 22:return _x(e,t,n)}throw Error(D(156,t.tag))};function av(e,t){return Ry(e,t)}function PS(e,t,n,r){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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function dt(e,t,n,r){return new PS(e,t,n,r)}function ff(e){return e=e.prototype,!(!e||!e.isReactComponent)}function SS(e){if(typeof e=="function")return ff(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ad)return 11;if(e===Dd)return 14}return 2}function qn(e,t){var n=e.alternate;return n===null?(n=dt(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 to(e,t,n,r,s,a){var i=2;if(r=e,typeof e=="function")ff(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Hr:return Cr(n.children,s,a,t);case Nd:i=8,s|=8;break;case Ic:return e=dt(12,n,t,s|2),e.elementType=Ic,e.lanes=a,e;case zc:return e=dt(13,n,t,s),e.elementType=zc,e.lanes=a,e;case _c:return e=dt(19,n,t,s),e.elementType=_c,e.lanes=a,e;case my:return pl(n,s,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case hy:i=10;break e;case py:i=9;break e;case Ad:i=11;break e;case Dd:i=14;break e;case kn:i=16,r=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=dt(i,n,t,s),t.elementType=e,t.type=r,t.lanes=a,t}function Cr(e,t,n,r){return e=dt(7,e,r,t),e.lanes=n,e}function pl(e,t,n,r){return e=dt(22,e,r,t),e.elementType=my,e.lanes=n,e.stateNode={isHidden:!1},e}function ac(e,t,n){return e=dt(6,e,null,t),e.lanes=n,e}function ic(e,t,n){return t=dt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function CS(e,t,n,r,s){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=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function hf(e,t,n,r,s,a,i,o,l){return e=new CS(e,t,n,o,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=dt(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yd(a),e}function kS(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Br,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function iv(e){if(!e)return Yn;e=e._reactInternals;e:{if(Fr(e)!==e||e.tag!==1)throw Error(D(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ge(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(D(171))}if(e.tag===1){var n=e.type;if(Ge(n))return ix(e,n,t)}return t}function ov(e,t,n,r,s,a,i,o,l){return e=hf(n,r,!0,e,s,a,i,o,l),e.context=iv(null),n=e.current,r=Ve(),s=Wn(n),a=un(r,s),a.callback=t??null,$n(n,a,s),e.current.lanes=s,ei(e,s,r),Ye(e,r),e}function ml(e,t,n,r){var s=t.current,a=Ve(),i=Wn(s);return n=iv(n),t.context===null?t.context=n:t.pendingContext=n,t=un(a,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=$n(s,t,i),e!==null&&(At(e,s,i,a),Yi(e,s,i)),i}function zo(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 Ep(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function pf(e,t){Ep(e,t),(e=e.alternate)&&Ep(e,t)}function jS(){return null}var lv=typeof reportError=="function"?reportError:function(e){console.error(e)};function mf(e){this._internalRoot=e}gl.prototype.render=mf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(D(409));ml(e,t,null,null)};gl.prototype.unmount=mf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Dr(function(){ml(null,e,null,null)}),t[hn]=null}};function gl(e){this._internalRoot=e}gl.prototype.unstable_scheduleHydration=function(e){if(e){var t=_y();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Tn.length&&t!==0&&t<Tn[n].priority;n++);Tn.splice(n,0,e),n===0&&By(e)}};function gf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function yl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Np(){}function TS(e,t,n,r,s){if(s){if(typeof r=="function"){var a=r;r=function(){var u=zo(i);a.call(u)}}var i=ov(t,r,e,0,null,!1,!1,"",Np);return e._reactRootContainer=i,e[hn]=i.current,Ra(e.nodeType===8?e.parentNode:e),Dr(),i}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var o=r;r=function(){var u=zo(l);o.call(u)}}var l=hf(e,0,!1,null,null,!1,!1,"",Np);return e._reactRootContainer=l,e[hn]=l.current,Ra(e.nodeType===8?e.parentNode:e),Dr(function(){ml(t,l,n,r)}),l}function xl(e,t,n,r,s){var a=n._reactRootContainer;if(a){var i=a;if(typeof s=="function"){var o=s;s=function(){var l=zo(i);o.call(l)}}ml(t,i,e,s)}else i=TS(n,t,e,s,r);return zo(i)}Iy=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=aa(t.pendingLanes);n!==0&&(Fd(t,n|1),Ye(t,fe()),!(G&6)&&(Ts=fe()+500,rr()))}break;case 13:Dr(function(){var r=pn(e,1);if(r!==null){var s=Ve();At(r,e,1,s)}}),pf(e,1)}};Od=function(e){if(e.tag===13){var t=pn(e,134217728);if(t!==null){var n=Ve();At(t,e,134217728,n)}pf(e,134217728)}};zy=function(e){if(e.tag===13){var t=Wn(e),n=pn(e,t);if(n!==null){var r=Ve();At(n,e,t,r)}pf(e,t)}};_y=function(){return X};Vy=function(e,t){var n=X;try{return X=e,t()}finally{X=n}};Yc=function(e,t,n){switch(t){case"input":if(Hc(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 r=n[t];if(r!==e&&r.form===e.form){var s=ll(r);if(!s)throw Error(D(90));yy(r),Hc(r,s)}}}break;case"textarea":vy(e,n);break;case"select":t=n.value,t!=null&&ns(e,!!n.multiple,t,!1)}};jy=cf;Ty=Dr;var ES={usingClientEntryPoint:!1,Events:[ni,qr,ll,Cy,ky,cf]},Xs={findFiberByHostInstance:dr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},NS={bundleType:Xs.bundleType,version:Xs.version,rendererPackageName:Xs.rendererPackageName,rendererConfig:Xs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:xn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ay(e),e===null?null:e.stateNode},findFiberByHostInstance:Xs.findFiberByHostInstance||jS,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 Ri=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ri.isDisabled&&Ri.supportsFiber)try{sl=Ri.inject(NS),qt=Ri}catch{}}st.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ES;st.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!gf(t))throw Error(D(200));return kS(e,t,null,n)};st.createRoot=function(e,t){if(!gf(e))throw Error(D(299));var n=!1,r="",s=lv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=hf(e,1,!1,null,null,n,!1,r,s),e[hn]=t.current,Ra(e.nodeType===8?e.parentNode:e),new mf(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(D(188)):(e=Object.keys(e).join(","),Error(D(268,e)));return e=Ay(t),e=e===null?null:e.stateNode,e};st.flushSync=function(e){return Dr(e)};st.hydrate=function(e,t,n){if(!yl(t))throw Error(D(200));return xl(null,e,t,!0,n)};st.hydrateRoot=function(e,t,n){if(!gf(e))throw Error(D(405));var r=n!=null&&n.hydratedSources||null,s=!1,a="",i=lv;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=ov(t,null,e,1,n??null,s,!1,a,i),e[hn]=t.current,Ra(e),r)for(e=0;e<r.length;e++)n=r[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new gl(t)};st.render=function(e,t,n){if(!yl(t))throw Error(D(200));return xl(null,e,t,!1,n)};st.unmountComponentAtNode=function(e){if(!yl(e))throw Error(D(40));return e._reactRootContainer?(Dr(function(){xl(null,null,e,!1,function(){e._reactRootContainer=null,e[hn]=null})}),!0):!1};st.unstable_batchedUpdates=cf;st.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!yl(n))throw Error(D(200));if(e==null||e._reactInternals===void 0)throw Error(D(38));return xl(e,t,n,!1,r)};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(),cy.exports=st;var si=cy.exports,uv,Ap=si;uv=Ap.createRoot,Ap.hydrateRoot;const AS=1,DS=1e6;let oc=0;function RS(){return oc=(oc+1)%Number.MAX_SAFE_INTEGER,oc.toString()}const lc=new Map,Dp=e=>{if(lc.has(e))return;const t=setTimeout(()=>{lc.delete(e),ya({type:"REMOVE_TOAST",toastId:e})},DS);lc.set(e,t)},MS=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,AS)};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?Dp(n):e.toasts.forEach(r=>{Dp(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},no=[];let ro={toasts:[]};function ya(e){ro=MS(ro,e),no.forEach(t=>{t(ro)})}function FS({...e}){const t=RS(),n=s=>ya({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>ya({type:"DISMISS_TOAST",toastId:t});return ya({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function OS(){const[e,t]=w.useState(ro);return w.useEffect(()=>(no.push(t),()=>{const n=no.indexOf(t);n>-1&&no.splice(n,1)}),[e]),{...e,toast:FS,dismiss:n=>ya({type:"DISMISS_TOAST",toastId:n})}}function xe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e==null||e(s),n===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function Rp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function LS(...e){return t=>{let n=!1;const r=e.map(s=>{const a=Rp(s,t);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let s=0;s<r.length;s++){const a=r[s];typeof a=="function"?a():Rp(e[s],null)}}}}function Mt(...e){return w.useCallback(LS(...e),e)}function vl(e,t=[]){let n=[];function r(a,i){const o=w.createContext(i);o.displayName=a+"Context";const l=n.length;n=[...n,i];const u=f=>{var g;const{scope:h,children:p,...y}=f,v=((g=h==null?void 0:h[e])==null?void 0:g[l])||o,b=w.useMemo(()=>y,Object.values(y));return c.jsx(v.Provider,{value:b,children:p})};u.displayName=a+"Provider";function d(f,h){var v;const p=((v=h==null?void 0:h[e])==null?void 0:v[l])||o,y=w.useContext(p);if(y)return y;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${a}\``)}return[u,d]}const s=()=>{const a=n.map(i=>w.createContext(i));return function(o){const l=(o==null?void 0:o[e])||a;return w.useMemo(()=>({[`__scope${e}`]:{...o,[e]:l}}),[o,l])}};return s.scopeName=e,[r,IS(s,...t)]}function IS(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(a){const i=r.reduce((o,{useScope:l,scopeName:u})=>{const f=l(a)[`__scope${u}`];return{...o,...f}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function _o(e){const t=w.forwardRef((n,r)=>{let{children:s,...a}=n,i=null,o=!1;const l=[];Mp(s)&&typeof Mi=="function"&&(s=Mi(s._payload)),w.Children.forEach(s,h=>{var p;if($S(h)){o=!0;const y=h;let v="child"in y.props?y.props.child:y.props.children;Mp(v)&&typeof Mi=="function"&&(v=Mi(v._payload)),i=VS(y,v),l.push((p=i==null?void 0:i.props)==null?void 0:p.children)}else l.push(h)}),i?i=w.cloneElement(i,void 0,l):!o&&w.Children.count(s)===1&&w.isValidElement(s)&&(i=s);const u=i?HS(i):void 0,d=Mt(r,u);if(!i){if(s||s===0)throw new Error(o?KS(e):qS(e));return s}const f=BS(a,i.props??{});return i.type!==w.Fragment&&(f.ref=r?d:u),w.cloneElement(i,f)});return t.displayName=`${e}.Slot`,t}var zS=_o("Slot"),dv=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=dv,t}var VS=(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 BS(e,t){const n={...t};for(const r in t){const s=e[r],a=t[r];/^on[A-Z]/.test(r)?s&&a?n[r]=(...o)=>{const l=a(...o);return s(...o),l}:s&&(n[r]=s):r==="style"?n[r]={...s,...a}:r==="className"&&(n[r]=[s,a].filter(Boolean).join(" "))}return{...e,...n}}function HS(e){var r,s;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function $S(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===dv}var US=Symbol.for("react.lazy");function Mp(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===US&&"_payload"in e&&WS(e._payload)}function WS(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\`.`,KS=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,Mi=kd[" use ".trim().toString()];function GS(e){const t=e+"CollectionProvider",[n,r]=vl(t),[s,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=v=>{const{scope:b,children:g}=v,m=w.useRef(null),x=w.useRef(new Map).current;return c.jsx(s,{scope:b,itemMap:x,collectionRef:m,children:g})};i.displayName=t;const o=e+"CollectionSlot",l=_o(o),u=w.forwardRef((v,b)=>{const{scope:g,children:m}=v,x=a(o,g),P=Mt(b,x.collectionRef);return c.jsx(l,{ref:P,children:m})});u.displayName=o;const d=e+"CollectionItemSlot",f="data-radix-collection-item",h=_o(d),p=w.forwardRef((v,b)=>{const{scope:g,children:m,...x}=v,P=w.useRef(null),S=Mt(b,P),C=a(d,g);return w.useEffect(()=>(C.itemMap.set(P,{ref:P,...x}),()=>void C.itemMap.delete(P))),c.jsx(h,{[f]:"",ref:S,children:m})});p.displayName=d;function y(v){const b=a(e+"CollectionConsumer",v);return w.useCallback(()=>{const m=b.collectionRef.current;if(!m)return[];const x=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(b.itemMap.values()).sort((C,j)=>x.indexOf(C.ref.current)-x.indexOf(j.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:i,Slot:u,ItemSlot:p},y,r]}var YS=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],$e=YS.reduce((e,t)=>{const n=_o(`Primitive.${t}`),r=w.forwardRef((s,a)=>{const{asChild:i,...o}=s,l=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...o,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function fv(e,t){e&&si.flushSync(()=>e.dispatchEvent(t))}function Qn(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function QS(e,t=globalThis==null?void 0:globalThis.document){const n=Qn(e);w.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var XS="DismissableLayer",Eu="dismissableLayer.update",JS="dismissableLayer.pointerDownOutside",ZS="dismissableLayer.focusOutside",Fp,hv=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),yf=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:o,onDismiss:l,...u}=e,d=w.useContext(hv),[f,h]=w.useState(null),p=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=w.useState({}),v=Mt(t,A=>h(A)),b=Array.from(d.layers),[g]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),m=b.indexOf(g),x=f?b.indexOf(f):-1,P=d.layersWithOutsidePointerEventsDisabled.size>0,S=x>=m,C=w.useRef(!1),j=tC(A=>{const N=A.target;if(!(N instanceof Node))return;const L=[...d.branches].some(F=>F.contains(N));!S||L||(a==null||a(A),o==null||o(A),A.defaultPrevented||l==null||l())},{ownerDocument:p,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:C,dismissableSurfaces:d.dismissableSurfaces}),k=nC(A=>{if(r&&C.current)return;const N=A.target;[...d.branches].some(F=>F.contains(N))||(i==null||i(A),o==null||o(A),A.defaultPrevented||l==null||l())},p);return QS(A=>{x===d.layers.size-1&&(s==null||s(A),!A.defaultPrevented&&l&&(A.preventDefault(),l()))},p),w.useEffect(()=>{if(f)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Fp=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Op(),()=>{n&&(d.layersWithOutsidePointerEventsDisabled.delete(f),d.layersWithOutsidePointerEventsDisabled.size===0&&(p.body.style.pointerEvents=Fp))}},[f,p,n,d]),w.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Op())},[f,d]),w.useEffect(()=>{const A=()=>y({});return document.addEventListener(Eu,A),()=>document.removeEventListener(Eu,A)},[]),c.jsx($e.div,{...u,ref:v,style:{pointerEvents:P?S?"auto":"none":void 0,...e.style},onFocusCapture:xe(e.onFocusCapture,k.onFocusCapture),onBlurCapture:xe(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:xe(e.onPointerDownCapture,j.onPointerDownCapture)})});yf.displayName=XS;var eC="DismissableLayerBranch",pv=w.forwardRef((e,t)=>{const n=w.useContext(hv),r=w.useRef(null),s=Mt(t,r);return w.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),c.jsx($e.div,{...e,ref:s})});pv.displayName=eC;function tC(e,t){const{ownerDocument:n=globalThis==null?void 0:globalThis.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:s,dismissableSurfaces:a}=t,i=Qn(e),o=w.useRef(!1),l=w.useRef(!1),u=w.useRef(new Map),d=w.useRef(()=>{});return w.useEffect(()=>{function f(){l.current=!1,s.current=!1,u.current.clear()}function h(){return Array.from(u.current.values()).some(Boolean)}function p(m){if(!l.current)return;const x=m.target;x instanceof Node&&[...a].some(S=>S.contains(x))||u.current.set(m.type,!0),m.type==="click"&&window.setTimeout(()=>{l.current&&d.current()},0)}function y(m){l.current&&u.current.set(m.type,!1)}const v=m=>{if(m.target&&!o.current){let x=function(){n.removeEventListener("click",d.current);const S=h();f(),S||mv(JS,i,P,{discrete:!0})};const P={originalEvent:m};l.current=!0,s.current=r&&m.button===0,u.current.clear(),!r||m.button!==0?x():(n.removeEventListener("click",d.current),d.current=x,n.addEventListener("click",d.current,{once:!0}))}else n.removeEventListener("click",d.current),f();o.current=!1},b=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const m of b)n.addEventListener(m,p,!0),n.addEventListener(m,y);const g=window.setTimeout(()=>{n.addEventListener("pointerdown",v)},0);return()=>{window.clearTimeout(g),n.removeEventListener("pointerdown",v),n.removeEventListener("click",d.current);for(const m of b)n.removeEventListener(m,p,!0),n.removeEventListener(m,y)}},[n,i,r,s,a]),{onPointerDownCapture:()=>o.current=!0}}function nC(e,t=globalThis==null?void 0:globalThis.document){const n=Qn(e),r=w.useRef(!1);return w.useEffect(()=>{const s=a=>{a.target&&!r.current&&mv(ZS,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Op(){const e=new CustomEvent(Eu);document.dispatchEvent(e)}function mv(e,t,n,{discrete:r}){const s=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?fv(s,a):s.dispatchEvent(a)}var rC=yf,sC=pv,dn=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},aC="Portal",xf=w.forwardRef((e,t)=>{var o;const{container:n,...r}=e,[s,a]=w.useState(!1);dn(()=>a(!0),[]);const i=n||s&&((o=globalThis==null?void 0:globalThis.document)==null?void 0:o.body);return i?si.createPortal(c.jsx($e.div,{...r,ref:t}),i):null});xf.displayName=aC;function iC(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var wl=e=>{const{present:t,children:n}=e,r=oC(t),s=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),a=lC(r.ref,cC(s));return typeof n=="function"||r.isPresent?w.cloneElement(s,{ref:a}):null};wl.displayName="Presence";function oC(e){const[t,n]=w.useState(),r=w.useRef(null),s=w.useRef(e),a=w.useRef("none"),i=e?"mounted":"unmounted",[o,l]=iC(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=Fi(r.current);a.current=o==="mounted"?u:"none"},[o]),dn(()=>{const u=r.current,d=s.current;if(d!==e){const h=a.current,p=Fi(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&h!==p?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,l]),dn(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=p=>{const v=Fi(r.current).includes(CSS.escape(p.animationName));if(p.target===t&&v&&(l("ANIMATION_END"),!s.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},h=p=>{p.target===t&&(a.current=Fi(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(o),ref:w.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Lp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function lC(...e){const t=w.useRef(e);return t.current=e,w.useCallback(n=>{const r=t.current;let s=!1;const a=r.map(i=>{const o=Lp(i,n);return!s&&typeof o=="function"&&(s=!0),o});if(s)return()=>{for(let i=0;i<a.length;i++){const o=a[i];typeof o=="function"?o():Lp(r[i],null)}}},[])}function Fi(e){return(e==null?void 0:e.animationName)||"none"}function cC(e){var r,s;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var uC=kd[" useInsertionEffect ".trim().toString()]||dn;function dC({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[s,a,i]=fC({defaultProp:t,onChange:n}),o=e!==void 0,l=o?e:s;{const d=w.useRef(e!==void 0);w.useEffect(()=>{const f=d.current;f!==o&&console.warn(`${r} is changing from ${f?"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,r])}const u=w.useCallback(d=>{var f;if(o){const h=hC(d)?d(e):d;h!==e&&((f=i.current)==null||f.call(i,h))}else a(d)},[o,e,a,i]);return[l,u]}function fC({defaultProp:e,onChange:t}){const[n,r]=w.useState(e),s=w.useRef(n),a=w.useRef(t);return uC(()=>{a.current=t},[t]),w.useEffect(()=>{var i;s.current!==n&&((i=a.current)==null||i.call(a,n),s.current=n)},[n,s]),[n,r,a]}function hC(e){return typeof e=="function"}var pC=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"}),mC="VisuallyHidden",bl=w.forwardRef((e,t)=>c.jsx($e.span,{...e,ref:t,style:{...pC,...e.style}}));bl.displayName=mC;var gC=bl,vf="ToastProvider",[wf,yC,xC]=GS("Toast"),[gv]=vl("Toast",[xC]),[vC,Pl]=gv(vf),yv=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:a=50,announcerContainer:i,children:o}=e,[l,u]=w.useState(null),[d,f]=w.useState(0),h=w.useRef(!1),p=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${vf}\`. Expected non-empty \`string\`.`),c.jsx(wf.Provider,{scope:t,children:c.jsx(vC,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:a,toastCount:d,viewport:l,onViewportChange:u,onToastAdd:w.useCallback(()=>f(y=>y+1),[]),onToastRemove:w.useCallback(()=>f(y=>y-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:p,announcerContainer:i,children:o})})};yv.displayName=vf;var xv="ToastViewport",wC=["F8"],Nu="toast.viewportPause",Au="toast.viewportResume",vv=w.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=wC,label:s="Notifications ({hotkey})",...a}=e,i=Pl(xv,n),o=yC(n),l=w.useRef(null),u=w.useRef(null),d=w.useRef(null),f=w.useRef(null),h=Mt(t,f,i.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),y=i.toastCount>0;w.useEffect(()=>{const b=g=>{var x;r.length!==0&&r.every(P=>g[P]||g.code===P)&&((x=f.current)==null||x.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),w.useEffect(()=>{const b=l.current,g=f.current;if(y&&b&&g){const m=()=>{if(!i.isClosePausedRef.current){const C=new CustomEvent(Nu);g.dispatchEvent(C),i.isClosePausedRef.current=!0}},x=()=>{if(i.isClosePausedRef.current){const C=new CustomEvent(Au);g.dispatchEvent(C),i.isClosePausedRef.current=!1}},P=C=>{!b.contains(C.relatedTarget)&&x()},S=()=>{b.contains(document.activeElement)||x()};return b.addEventListener("focusin",m),b.addEventListener("focusout",P),b.addEventListener("pointermove",m),b.addEventListener("pointerleave",S),window.addEventListener("blur",m),window.addEventListener("focus",x),()=>{b.removeEventListener("focusin",m),b.removeEventListener("focusout",P),b.removeEventListener("pointermove",m),b.removeEventListener("pointerleave",S),window.removeEventListener("blur",m),window.removeEventListener("focus",x)}}},[y,i.isClosePausedRef]);const v=w.useCallback(({tabbingDirection:b})=>{const m=o().map(x=>{const P=x.ref.current,S=[P,...MC(P)];return b==="forwards"?S:S.reverse()});return(b==="forwards"?m.reverse():m).flat()},[o]);return w.useEffect(()=>{const b=f.current;if(b){const g=m=>{var S,C,j;const x=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!x){const k=document.activeElement,A=m.shiftKey;if(m.target===b&&A){(S=u.current)==null||S.focus();return}const F=v({tabbingDirection:A?"backwards":"forwards"}),H=F.findIndex(M=>M===k);cc(F.slice(H+1))?m.preventDefault():A?(C=u.current)==null||C.focus():(j=d.current)==null||j.focus()}};return b.addEventListener("keydown",g),()=>b.removeEventListener("keydown",g)}},[o,v]),c.jsxs(sC,{ref:l,role:"region","aria-label":s.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:y?void 0:"none"},children:[y&&c.jsx(Du,{ref:u,onFocusFromOutsideViewport:()=>{const b=v({tabbingDirection:"forwards"});cc(b)}}),c.jsx(wf.Slot,{scope:n,children:c.jsx($e.ol,{tabIndex:-1,...a,ref:h})}),y&&c.jsx(Du,{ref:d,onFocusFromOutsideViewport:()=>{const b=v({tabbingDirection:"backwards"});cc(b)}})]})});vv.displayName=xv;var wv="ToastFocusProxy",Du=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,a=Pl(wv,n);return c.jsx(bl,{tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:i=>{var u;const o=i.relatedTarget;!((u=a.viewport)!=null&&u.contains(o))&&r()}})});Du.displayName=wv;var ai="Toast",bC="toast.swipeStart",PC="toast.swipeMove",SC="toast.swipeCancel",CC="toast.swipeEnd",bv=w.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:a,...i}=e,[o,l]=dC({prop:r,defaultProp:s??!0,onChange:a,caller:ai});return c.jsx(wl,{present:n||o,children:c.jsx(TC,{open:o,...i,ref:t,onClose:()=>l(!1),onPause:Qn(e.onPause),onResume:Qn(e.onResume),onSwipeStart:xe(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:xe(e.onSwipeMove,u=>{const{x:d,y:f}=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",`${f}px`)}),onSwipeCancel:xe(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:xe(e.onSwipeEnd,u=>{const{x:d,y:f}=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",`${f}px`),l(!1)})})})});bv.displayName=ai;var[kC,jC]=gv(ai,{onClose(){}}),TC=w.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:s,open:a,onClose:i,onEscapeKeyDown:o,onPause:l,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:p,...y}=e,v=Pl(ai,n),[b,g]=w.useState(null),m=Mt(t,M=>g(M)),x=w.useRef(null),P=w.useRef(null),S=s||v.duration,C=w.useRef(0),j=w.useRef(S),k=w.useRef(0),{onToastAdd:A,onToastRemove:N}=v,L=Qn(()=>{var $;(b==null?void 0:b.contains(document.activeElement))&&(($=v.viewport)==null||$.focus()),i()}),F=w.useCallback(M=>{!M||M===1/0||(window.clearTimeout(k.current),C.current=new Date().getTime(),k.current=window.setTimeout(L,M))},[L]);w.useEffect(()=>{const M=v.viewport;if(M){const $=()=>{F(j.current),u==null||u()},_=()=>{const K=new Date().getTime()-C.current;j.current=j.current-K,window.clearTimeout(k.current),l==null||l()};return M.addEventListener(Nu,_),M.addEventListener(Au,$),()=>{M.removeEventListener(Nu,_),M.removeEventListener(Au,$)}}},[v.viewport,S,l,u,F]),w.useEffect(()=>{a&&!v.isClosePausedRef.current&&F(S)},[a,S,v.isClosePausedRef,F]),w.useEffect(()=>(A(),()=>N()),[A,N]);const H=w.useMemo(()=>b?Ev(b):null,[b]);return v.viewport?c.jsxs(c.Fragment,{children:[H&&c.jsx(EC,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:H}),c.jsx(kC,{scope:n,onClose:L,children:si.createPortal(c.jsx(wf.ItemSlot,{scope:n,children:c.jsx(rC,{asChild:!0,onEscapeKeyDown:xe(o,()=>{v.isFocusedToastEscapeKeyDownRef.current||L(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:c.jsx($e.li,{tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":v.swipeDirection,...y,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:xe(e.onKeyDown,M=>{M.key==="Escape"&&(o==null||o(M.nativeEvent),M.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,L()))}),onPointerDown:xe(e.onPointerDown,M=>{M.button===0&&(x.current={x:M.clientX,y:M.clientY})}),onPointerMove:xe(e.onPointerMove,M=>{if(!x.current)return;const $=M.clientX-x.current.x,_=M.clientY-x.current.y,K=!!P.current,T=["left","right"].includes(v.swipeDirection),R=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,z=T?R(0,$):0,B=T?0:R(0,_),Q=M.pointerType==="touch"?10:2,vt={x:z,y:B},it={originalEvent:M,delta:vt};K?(P.current=vt,Oi(PC,f,it,{discrete:!1})):Ip(vt,v.swipeDirection,Q)?(P.current=vt,Oi(bC,d,it,{discrete:!1}),M.target.setPointerCapture(M.pointerId)):(Math.abs($)>Q||Math.abs(_)>Q)&&(x.current=null)}),onPointerUp:xe(e.onPointerUp,M=>{const $=P.current,_=M.target;if(_.hasPointerCapture(M.pointerId)&&_.releasePointerCapture(M.pointerId),P.current=null,x.current=null,$){const K=M.currentTarget,T={originalEvent:M,delta:$};Ip($,v.swipeDirection,v.swipeThreshold)?Oi(CC,p,T,{discrete:!0}):Oi(SC,h,T,{discrete:!0}),K.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),EC=e=>{const{__scopeToast:t,children:n,...r}=e,s=Pl(ai,t),[a,i]=w.useState(!1),[o,l]=w.useState(!1);return DC(()=>i(!0)),w.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),o?null:c.jsx(xf,{asChild:!0,container:s.announcerContainer||void 0,children:c.jsx(bl,{...r,children:a&&c.jsxs(c.Fragment,{children:[s.label," ",n]})})})},NC="ToastTitle",Pv=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.jsx($e.div,{...r,ref:t})});Pv.displayName=NC;var AC="ToastDescription",Sv=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.jsx($e.div,{...r,ref:t})});Sv.displayName=AC;var Cv="ToastAction",kv=w.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?c.jsx(Tv,{altText:n,asChild:!0,children:c.jsx(bf,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Cv}\`. Expected non-empty \`string\`.`),null)});kv.displayName=Cv;var jv="ToastClose",bf=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=jC(jv,n);return c.jsx(Tv,{asChild:!0,children:c.jsx($e.button,{type:"button",...r,ref:t,onClick:xe(e.onClick,s.onClose)})})});bf.displayName=jv;var Tv=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return c.jsx($e.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function Ev(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),RC(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",a=r.dataset.radixToastAnnounceExclude==="";if(!s)if(a){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Ev(r))}}),t}function Oi(e,t,n,{discrete:r}){const s=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?fv(s,a):s.dispatchEvent(a)}var Ip=(e,t,n=0)=>{const r=Math.abs(e.x),s=Math.abs(e.y),a=r>s;return t==="left"||t==="right"?a&&r>n:!a&&s>n};function DC(e=()=>{}){const t=Qn(e);dn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function RC(e){return e.nodeType===e.ELEMENT_NODE}function MC(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;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,Nv=vv,Av=bv,Dv=Pv,Rv=Sv,Mv=kv,Fv=bf;function Ov(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=Ov(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Lv(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=Ov(e))&&(r&&(r+=" "),r+=t);return r}const zp=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,_p=Lv,Pf=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return _p(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:a}=t,i=Object.keys(s).map(u=>{const d=n==null?void 0:n[u],f=a==null?void 0:a[u];if(d===null)return null;const h=zp(d)||zp(f);return s[u][h]}),o=n&&Object.entries(n).reduce((u,d)=>{let[f,h]=d;return h===void 0||(u[f]=h),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:h,...p}=d;return Object.entries(p).every(y=>{let[v,b]=y;return Array.isArray(b)?b.includes({...a,...o}[v]):{...a,...o}[v]===b})?[...u,f,h]:u},[]);return _p(e,i,l,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 OC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),LC=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),Vp=e=>{const t=LC(e);return t.charAt(0).toUpperCase()+t.slice(1)},Iv=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),IC=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 zC={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:r,className:s="",children:a,iconNode:i,...o},l)=>w.createElement("svg",{ref:l,...zC,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Iv("lucide",s),...!a&&!IC(o)&&{"aria-hidden":"true"},...o},[...i.map(([u,d])=>w.createElement(u,d)),...Array.isArray(a)?a:[a]]));/**
* @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 ee=(e,t)=>{const n=w.forwardRef(({className:r,...s},a)=>w.createElement(_C,{ref:a,iconNode:t,className:Iv(`lucide-${OC(Vp(e))}`,`lucide-${e}`,r),...s}));return n.displayName=Vp(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 VC=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],cn=ee("arrow-right",VC);/**
* @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 BC=[["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"}]],zv=ee("book-open",BC);/**
* @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:"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"}]],xa=ee("calendar",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 $C=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],UC=ee("chevron-down",$C);/**
* @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:"m9 18 6-6-6-6",key:"mthhwq"}]],Bp=ee("chevron-right",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 qC=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Sf=ee("circle-check-big",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 KC=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],GC=ee("clock",KC);/**
* @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=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],QC=ee("dollar-sign",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:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],JC=ee("eye",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:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],e2=ee("facebook",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 t2=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],n2=ee("globe",t2);/**
* @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 r2=[["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"}]],Se=ee("heart",r2);/**
* @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 s2=[["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"}]],a2=ee("house",s2);/**
* @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 i2=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],o2=ee("info",i2);/**
* @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 l2=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],c2=ee("instagram",l2);/**
* @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 u2=[["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"}]],_v=ee("mail",u2);/**
* @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 d2=[["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"}]],Cf=ee("map-pin",d2);/**
* @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 f2=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],h2=ee("menu",f2);/**
* @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 p2=[["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"}]],Vv=ee("phone",p2);/**
* @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 m2=[["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"}]],Ru=ee("quote",m2);/**
* @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 g2=[["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"}]],Hp=ee("refresh-cw",g2);/**
* @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 y2=[["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"}]],Bv=ee("star",y2);/**
* @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 x2=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],v2=ee("target",x2);/**
* @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 w2=[["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"}]],$p=ee("triangle-alert",w2);/**
* @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 b2=[["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"}]],P2=ee("twitter",b2);/**
* @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 S2=[["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"}]],ii=ee("users",S2);/**
* @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 C2=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Hv=ee("x",C2),kf="-",k2=e=>{const t=T2(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const o=i.split(kf);return o[0]===""&&o.length!==1&&o.shift(),$v(o,t)||j2(i)},getConflictingClassGroupIds:(i,o)=>{const l=n[i]||[];return o&&r[i]?[...l,...r[i]]:l}}},$v=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?$v(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const a=e.join(kf);return(i=t.validators.find(({validator:o})=>o(a)))==null?void 0:i.classGroupId},Up=/^\[(.+)\]$/,j2=e=>{if(Up.test(e)){const t=Up.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},T2=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return N2(Object.entries(e.classGroups),n).forEach(([a,i])=>{Mu(i,r,a,t)}),r},Mu=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const a=s===""?t:Wp(t,s);a.classGroupId=n;return}if(typeof s=="function"){if(E2(s)){Mu(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([a,i])=>{Mu(i,Wp(t,a),n,r)})})},Wp=(e,t)=>{let n=e;return t.split(kf).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},E2=e=>e.isThemeGetter,N2=(e,t)=>t?e.map(([n,r])=>{const s=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,o])=>[t+i,o])):a);return[n,s]}):e,A2=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(a,i)=>{n.set(a,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(a){let i=n.get(a);if(i!==void 0)return i;if((i=r.get(a))!==void 0)return s(a,i),i},set(a,i){n.has(a)?n.set(a,i):s(a,i)}}},Uv="!",D2=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],a=t.length,i=o=>{const l=[];let u=0,d=0,f;for(let b=0;b<o.length;b++){let g=o[b];if(u===0){if(g===s&&(r||o.slice(b,b+a)===t)){l.push(o.slice(d,b)),d=b+a;continue}if(g==="/"){f=b;continue}}g==="["?u++:g==="]"&&u--}const h=l.length===0?o:o.substring(d),p=h.startsWith(Uv),y=p?h.substring(1):h,v=f&&f>d?f-d:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:y,maybePostfixModifierPosition:v}};return n?o=>n({className:o,parseClassName:i}):i},R2=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},M2=e=>({cache:A2(e.cacheSize),parseClassName:D2(e),...k2(e)}),F2=/\s+/,O2=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,a=[],i=e.trim().split(F2);let o="";for(let l=i.length-1;l>=0;l-=1){const u=i[l],{modifiers:d,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:p}=n(u);let y=!!p,v=r(y?h.substring(0,p):h);if(!v){if(!y){o=u+(o.length>0?" "+o:o);continue}if(v=r(h),!v){o=u+(o.length>0?" "+o:o);continue}y=!1}const b=R2(d).join(":"),g=f?b+Uv:b,m=g+v;if(a.includes(m))continue;a.push(m);const x=s(v,y);for(let P=0;P<x.length;++P){const S=x[P];a.push(g+S)}o=u+(o.length>0?" "+o:o)}return o};function L2(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Wv(t))&&(r&&(r+=" "),r+=n);return r}const Wv=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Wv(e[r]))&&(n&&(n+=" "),n+=t);return n};function I2(e,...t){let n,r,s,a=i;function i(l){const u=t.reduce((d,f)=>f(d),e());return n=M2(u),r=n.cache.get,s=n.cache.set,a=o,o(l)}function o(l){const u=r(l);if(u)return u;const d=O2(l,n);return s(l,d),d}return function(){return a(L2.apply(null,arguments))}}const ne=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},qv=/^\[(?:([a-z-]+):)?(.+)\]$/i,z2=/^\d+\/\d+$/,_2=new Set(["px","full","screen"]),V2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,B2=/\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$/,H2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,$2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,U2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,en=e=>ls(e)||_2.has(e)||z2.test(e),bn=e=>Os(e,"length",J2),ls=e=>!!e&&!Number.isNaN(Number(e)),uc=e=>Os(e,"number",ls),Js=e=>!!e&&Number.isInteger(Number(e)),W2=e=>e.endsWith("%")&&ls(e.slice(0,-1)),U=e=>qv.test(e),Pn=e=>V2.test(e),q2=new Set(["length","size","percentage"]),K2=e=>Os(e,q2,Kv),G2=e=>Os(e,"position",Kv),Y2=new Set(["image","url"]),Q2=e=>Os(e,Y2,ek),X2=e=>Os(e,"",Z2),Zs=()=>!0,Os=(e,t,n)=>{const r=qv.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},J2=e=>B2.test(e)&&!H2.test(e),Kv=()=>!1,Z2=e=>$2.test(e),ek=e=>U2.test(e),tk=()=>{const e=ne("colors"),t=ne("spacing"),n=ne("blur"),r=ne("brightness"),s=ne("borderColor"),a=ne("borderRadius"),i=ne("borderSpacing"),o=ne("borderWidth"),l=ne("contrast"),u=ne("grayscale"),d=ne("hueRotate"),f=ne("invert"),h=ne("gap"),p=ne("gradientColorStops"),y=ne("gradientColorStopPositions"),v=ne("inset"),b=ne("margin"),g=ne("opacity"),m=ne("padding"),x=ne("saturate"),P=ne("scale"),S=ne("sepia"),C=ne("skew"),j=ne("space"),k=ne("translate"),A=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",U,t],F=()=>[U,t],H=()=>["",en,bn],M=()=>["auto",ls,U],$=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],T=()=>["start","end","center","between","around","evenly","stretch"],R=()=>["","0",U],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[ls,U];return{cacheSize:500,separator:":",theme:{colors:[Zs],spacing:[en,bn],blur:["none","",Pn,U],brightness:B(),borderColor:[e],borderRadius:["none","","full",Pn,U],borderSpacing:F(),borderWidth:H(),contrast:B(),grayscale:R(),hueRotate:B(),invert:R(),gap:F(),gradientColorStops:[e],gradientColorStopPositions:[W2,bn],inset:L(),margin:L(),opacity:B(),padding:F(),saturate:B(),scale:B(),sepia:R(),skew:B(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",U]}],container:["container"],columns:[{columns:[Pn]}],"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:[...$(),U]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],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",Js,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:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",Js,U]}],"grid-cols":[{"grid-cols":[Zs]}],"col-start-end":[{col:["auto",{span:["full",Js,U]},U]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[Zs]}],"row-start-end":[{row:["auto",{span:[Js,U]},U]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"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:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...T()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...T(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...T(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],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":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"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:[Pn]},Pn]}],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",Pn,bn]}],"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:[Zs]}],"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",ls,uc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",en,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",en,bn]}],"underline-offset":[{"underline-offset":["auto",en,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:F()}],"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:[...$(),G2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",K2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Q2]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"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:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[en,U]}],"outline-w":[{outline:[en,bn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[en,bn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Pn,X2]}],"shadow-color":[{shadow:[Zs]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Pn,U]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[x]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"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:[Js,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":F()}],"scroll-mx":[{"scroll-mx":F()}],"scroll-my":[{"scroll-my":F()}],"scroll-ms":[{"scroll-ms":F()}],"scroll-me":[{"scroll-me":F()}],"scroll-mt":[{"scroll-mt":F()}],"scroll-mr":[{"scroll-mr":F()}],"scroll-mb":[{"scroll-mb":F()}],"scroll-ml":[{"scroll-ml":F()}],"scroll-p":[{"scroll-p":F()}],"scroll-px":[{"scroll-px":F()}],"scroll-py":[{"scroll-py":F()}],"scroll-ps":[{"scroll-ps":F()}],"scroll-pe":[{"scroll-pe":F()}],"scroll-pt":[{"scroll-pt":F()}],"scroll-pr":[{"scroll-pr":F()}],"scroll-pb":[{"scroll-pb":F()}],"scroll-pl":[{"scroll-pl":F()}],"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:[en,bn,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"]}}},nk=I2(tk);function Ce(...e){return nk(Lv(e))}const rk=FC,Gv=w.forwardRef(({className:e,...t},n)=>c.jsx(Nv,{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}));Gv.displayName=Nv.displayName;const sk=Pf("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"}}),Yv=w.forwardRef(({className:e,variant:t,...n},r)=>c.jsx(Av,{ref:r,className:Ce(sk({variant:t}),e),...n}));Yv.displayName=Av.displayName;const ak=w.forwardRef(({className:e,...t},n)=>c.jsx(Mv,{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}));ak.displayName=Mv.displayName;const Qv=w.forwardRef(({className:e,...t},n)=>c.jsx(Fv,{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:c.jsx(Hv,{className:"h-4 w-4"})}));Qv.displayName=Fv.displayName;const Xv=w.forwardRef(({className:e,...t},n)=>c.jsx(Dv,{ref:n,className:Ce("text-sm font-semibold [&+div]:text-xs",e),...t}));Xv.displayName=Dv.displayName;const Jv=w.forwardRef(({className:e,...t},n)=>c.jsx(Rv,{ref:n,className:Ce("text-sm opacity-90",e),...t}));Jv.displayName=Rv.displayName;function ik(){const{toasts:e}=OS();return c.jsxs(rk,{children:[e.map(function({id:t,title:n,description:r,action:s,...a}){return c.jsxs(Yv,{...a,children:[c.jsxs("div",{className:"grid gap-1",children:[n&&c.jsx(Xv,{children:n}),r&&c.jsx(Jv,{children:r})]}),s,c.jsx(Qv,{})]},t)}),c.jsx(Gv,{})]})}const ok=["top","right","bottom","left"],Xn=Math.min,Je=Math.max,Vo=Math.round,Li=Math.floor,Gt=e=>({x:e,y:e}),lk={left:"right",right:"left",bottom:"top",top:"bottom"};function Fu(e,t,n){return Je(e,Xn(t,n))}function gn(e,t){return typeof e=="function"?e(t):e}function yn(e){return e.split("-")[0]}function Ls(e){return e.split("-")[1]}function jf(e){return e==="x"?"y":"x"}function Tf(e){return e==="y"?"height":"width"}function Wt(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Ef(e){return jf(Wt(e))}function ck(e,t,n){n===void 0&&(n=!1);const r=Ls(e),s=Ef(e),a=Tf(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Bo(i)),[i,Bo(i)]}function uk(e){const t=Bo(e);return[Ou(e),t,Ou(t)]}function Ou(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const qp=["left","right"],Kp=["right","left"],dk=["top","bottom"],fk=["bottom","top"];function hk(e,t,n){switch(e){case"top":case"bottom":return n?t?Kp:qp:t?qp:Kp;case"left":case"right":return t?dk:fk;default:return[]}}function pk(e,t,n,r){const s=Ls(e);let a=hk(yn(e),n==="start",r);return s&&(a=a.map(i=>i+"-"+s),t&&(a=a.concat(a.map(Ou)))),a}function Bo(e){const t=yn(e);return lk[t]+e.slice(t.length)}function mk(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zv(e){return typeof e!="number"?mk(e):{top:e,right:e,bottom:e,left:e}}function Ho(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function Gp(e,t,n){let{reference:r,floating:s}=e;const a=Wt(t),i=Ef(t),o=Tf(i),l=yn(t),u=a==="y",d=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,h=r[o]/2-s[o]/2;let p;switch(l){case"top":p={x:d,y:r.y-s.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-s.width,y:f};break;default:p={x:r.x,y:r.y}}switch(Ls(t)){case"start":p[i]-=h*(n&&u?-1:1);break;case"end":p[i]+=h*(n&&u?-1:1);break}return p}async function gk(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:a,rects:i,elements:o,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=gn(t,e),y=Zv(p),b=o[h?f==="floating"?"reference":"floating":f],g=Ho(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(b)))==null||n?b:b.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(o.floating)),boundary:u,rootBoundary:d,strategy:l})),m=f==="floating"?{x:r,y:s,width:i.floating.width,height:i.floating.height}:i.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(o.floating)),P=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},S=Ho(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:m,offsetParent:x,strategy:l}):m);return{top:(g.top-S.top+y.top)/P.y,bottom:(S.bottom-g.bottom+y.bottom)/P.y,left:(g.left-S.left+y.left)/P.x,right:(S.right-g.right+y.right)/P.x}}const yk=50,xk=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:a=[],platform:i}=n,o=i.detectOverflow?i:{...i,detectOverflow:gk},l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:f}=Gp(u,r,l),h=r,p=0;const y={};for(let v=0;v<a.length;v++){const b=a[v];if(!b)continue;const{name:g,fn:m}=b,{x,y:P,data:S,reset:C}=await m({x:d,y:f,initialPlacement:r,placement:h,strategy:s,middlewareData:y,rects:u,platform:o,elements:{reference:e,floating:t}});d=x??d,f=P??f,y[g]={...y[g],...S},C&&p<yk&&(p++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(u=C.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):C.rects),{x:d,y:f}=Gp(u,h,l)),v=-1)}return{x:d,y:f,placement:h,strategy:s,middlewareData:y}},vk=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:a,platform:i,elements:o,middlewareData:l}=t,{element:u,padding:d=0}=gn(e,t)||{};if(u==null)return{};const f=Zv(d),h={x:n,y:r},p=Ef(s),y=Tf(p),v=await i.getDimensions(u),b=p==="y",g=b?"top":"left",m=b?"bottom":"right",x=b?"clientHeight":"clientWidth",P=a.reference[y]+a.reference[p]-h[p]-a.floating[y],S=h[p]-a.reference[p],C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let j=C?C[x]:0;(!j||!await(i.isElement==null?void 0:i.isElement(C)))&&(j=o.floating[x]||a.floating[y]);const k=P/2-S/2,A=j/2-v[y]/2-1,N=Xn(f[g],A),L=Xn(f[m],A),F=N,H=j-v[y]-L,M=j/2-v[y]/2+k,$=Fu(F,M,H),_=!l.arrow&&Ls(s)!=null&&M!==$&&a.reference[y]/2-(M<F?N:L)-v[y]/2<0,K=_?M<F?M-F:M-H:0;return{[p]:h[p]+K,data:{[p]:$,centerOffset:M-$-K,..._&&{alignmentOffset:K}},reset:_}}}),wk=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:a,rects:i,initialPlacement:o,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:v=!0,...b}=gn(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const g=yn(s),m=Wt(o),x=yn(o)===o,P=await(l.isRTL==null?void 0:l.isRTL(u.floating)),S=h||(x||!v?[Bo(o)]:uk(o)),C=y!=="none";!h&&C&&S.push(...pk(o,v,y,P));const j=[o,...S],k=await l.detectOverflow(t,b),A=[];let N=((r=a.flip)==null?void 0:r.overflows)||[];if(d&&A.push(k[g]),f){const M=ck(s,i,P);A.push(k[M[0]],k[M[1]])}if(N=[...N,{placement:s,overflows:A}],!A.every(M=>M<=0)){var L,F;const M=(((L=a.flip)==null?void 0:L.index)||0)+1,$=j[M];if($&&(!(f==="alignment"?m!==Wt($):!1)||N.every(T=>Wt(T.placement)===m?T.overflows[0]>0:!0)))return{data:{index:M,overflows:N},reset:{placement:$}};let _=(F=N.filter(K=>K.overflows[0]<=0).sort((K,T)=>K.overflows[1]-T.overflows[1])[0])==null?void 0:F.placement;if(!_)switch(p){case"bestFit":{var H;const K=(H=N.filter(T=>{if(C){const R=Wt(T.placement);return R===m||R==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(R=>R>0).reduce((R,z)=>R+z,0)]).sort((T,R)=>T[1]-R[1])[0])==null?void 0:H[0];K&&(_=K);break}case"initialPlacement":_=o;break}if(s!==_)return{reset:{placement:_}}}return{}}}};function Yp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Qp(e){return ok.some(t=>e[t]>=0)}const bk=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:s="referenceHidden",...a}=gn(e,t);switch(s){case"referenceHidden":{const i=await r.detectOverflow(t,{...a,elementContext:"reference"}),o=Yp(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Qp(o)}}}case"escaped":{const i=await r.detectOverflow(t,{...a,altBoundary:!0}),o=Yp(i,n.floating);return{data:{escapedOffsets:o,escaped:Qp(o)}}}default:return{}}}}},e0=new Set(["left","top"]);async function Pk(e,t){const{placement:n,platform:r,elements:s}=e,a=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=yn(n),o=Ls(n),l=Wt(n)==="y",u=e0.has(i)?-1:1,d=a&&l?-1:1,f=gn(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return o&&typeof y=="number"&&(p=o==="end"?y*-1:y),l?{x:p*d,y:h*u}:{x:h*u,y:p*d}}const Sk=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:a,placement:i,middlewareData:o}=t,l=await Pk(t,e);return i===((n=o.offset)==null?void 0:n.placement)&&(r=o.arrow)!=null&&r.alignmentOffset?{}:{x:s+l.x,y:a+l.y,data:{...l,placement:i}}}}},Ck=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s,platform:a}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:l={fn:g=>{let{x:m,y:x}=g;return{x:m,y:x}}},...u}=gn(e,t),d={x:n,y:r},f=await a.detectOverflow(t,u),h=Wt(yn(s)),p=jf(h);let y=d[p],v=d[h];if(i){const g=p==="y"?"top":"left",m=p==="y"?"bottom":"right",x=y+f[g],P=y-f[m];y=Fu(x,y,P)}if(o){const g=h==="y"?"top":"left",m=h==="y"?"bottom":"right",x=v+f[g],P=v-f[m];v=Fu(x,v,P)}const b=l.fn({...t,[p]:y,[h]:v});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[p]:i,[h]:o}}}}}},kk=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:a,middlewareData:i}=t,{offset:o=0,mainAxis:l=!0,crossAxis:u=!0}=gn(e,t),d={x:n,y:r},f=Wt(s),h=jf(f);let p=d[h],y=d[f];const v=gn(o,t),b=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const x=h==="y"?"height":"width",P=a.reference[h]-a.floating[x]+b.mainAxis,S=a.reference[h]+a.reference[x]-b.mainAxis;p<P?p=P:p>S&&(p=S)}if(u){var g,m;const x=h==="y"?"width":"height",P=e0.has(yn(s)),S=a.reference[f]-a.floating[x]+(P&&((g=i.offset)==null?void 0:g[f])||0)+(P?0:b.crossAxis),C=a.reference[f]+a.reference[x]+(P?0:((m=i.offset)==null?void 0:m[f])||0)-(P?b.crossAxis:0);y<S?y=S:y>C&&(y=C)}return{[h]:p,[f]:y}}}},jk=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:a,platform:i,elements:o}=t,{apply:l=()=>{},...u}=gn(e,t),d=await i.detectOverflow(t,u),f=yn(s),h=Ls(s),p=Wt(s)==="y",{width:y,height:v}=a.floating;let b,g;f==="top"||f==="bottom"?(b=f,g=h===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(g=f,b=h==="end"?"top":"bottom");const m=v-d.top-d.bottom,x=y-d.left-d.right,P=Xn(v-d[b],m),S=Xn(y-d[g],x),C=!t.middlewareData.shift;let j=P,k=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(k=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(j=m),C&&!h){const N=Je(d.left,0),L=Je(d.right,0),F=Je(d.top,0),H=Je(d.bottom,0);p?k=y-2*(N!==0||L!==0?N+L:Je(d.left,d.right)):j=v-2*(F!==0||H!==0?F+H:Je(d.top,d.bottom))}await l({...t,availableWidth:k,availableHeight:j});const A=await i.getDimensions(o.floating);return y!==A.width||v!==A.height?{reset:{rects:!0}}:{}}}};function Sl(){return typeof window<"u"}function Is(e){return t0(e)?(e.nodeName||"").toLowerCase():"#document"}function tt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Xt(e){var t;return(t=(t0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function t0(e){return Sl()?e instanceof Node||e instanceof tt(e).Node:!1}function Ft(e){return Sl()?e instanceof Element||e instanceof tt(e).Element:!1}function vn(e){return Sl()?e instanceof HTMLElement||e instanceof tt(e).HTMLElement:!1}function Xp(e){return!Sl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof tt(e).ShadowRoot}function oi(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Ot(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&s!=="inline"&&s!=="contents"}function Tk(e){return/^(table|td|th)$/.test(Is(e))}function Cl(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Ek=/transform|translate|scale|rotate|perspective|filter/,Nk=/paint|layout|strict|content/,ir=e=>!!e&&e!=="none";let dc;function Nf(e){const t=Ft(e)?Ot(e):e;return ir(t.transform)||ir(t.translate)||ir(t.scale)||ir(t.rotate)||ir(t.perspective)||!Af()&&(ir(t.backdropFilter)||ir(t.filter))||Ek.test(t.willChange||"")||Nk.test(t.contain||"")}function Ak(e){let t=Jn(e);for(;vn(t)&&!Es(t);){if(Nf(t))return t;if(Cl(t))return null;t=Jn(t)}return null}function Af(){return dc==null&&(dc=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),dc}function Es(e){return/^(html|body|#document)$/.test(Is(e))}function Ot(e){return tt(e).getComputedStyle(e)}function kl(e){return Ft(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Jn(e){if(Is(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Xp(e)&&e.host||Xt(e);return Xp(t)?t.host:t}function n0(e){const t=Jn(e);return Es(t)?e.ownerDocument?e.ownerDocument.body:e.body:vn(t)&&oi(t)?t:n0(t)}function Ba(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=n0(e),a=s===((r=e.ownerDocument)==null?void 0:r.body),i=tt(s);if(a){const o=Lu(i);return t.concat(i,i.visualViewport||[],oi(s)?s:[],o&&n?Ba(o):[])}else return t.concat(s,Ba(s,[],n))}function Lu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function r0(e){const t=Ot(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=vn(e),a=s?e.offsetWidth:n,i=s?e.offsetHeight:r,o=Vo(n)!==a||Vo(r)!==i;return o&&(n=a,r=i),{width:n,height:r,$:o}}function Df(e){return Ft(e)?e:e.contextElement}function cs(e){const t=Df(e);if(!vn(t))return Gt(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:a}=r0(t);let i=(a?Vo(n.width):n.width)/r,o=(a?Vo(n.height):n.height)/s;return(!i||!Number.isFinite(i))&&(i=1),(!o||!Number.isFinite(o))&&(o=1),{x:i,y:o}}const Dk=Gt(0);function s0(e){const t=tt(e);return!Af()||!t.visualViewport?Dk:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Rk(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==tt(e)?!1:t}function Rr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),a=Df(e);let i=Gt(1);t&&(r?Ft(r)&&(i=cs(r)):i=cs(e));const o=Rk(a,n,r)?s0(a):Gt(0);let l=(s.left+o.x)/i.x,u=(s.top+o.y)/i.y,d=s.width/i.x,f=s.height/i.y;if(a){const h=tt(a),p=r&&Ft(r)?tt(r):r;let y=h,v=Lu(y);for(;v&&r&&p!==y;){const b=cs(v),g=v.getBoundingClientRect(),m=Ot(v),x=g.left+(v.clientLeft+parseFloat(m.paddingLeft))*b.x,P=g.top+(v.clientTop+parseFloat(m.paddingTop))*b.y;l*=b.x,u*=b.y,d*=b.x,f*=b.y,l+=x,u+=P,y=tt(v),v=Lu(y)}}return Ho({width:d,height:f,x:l,y:u})}function jl(e,t){const n=kl(e).scrollLeft;return t?t.left+n:Rr(Xt(e)).left+n}function a0(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-jl(e,n),s=n.top+t.scrollTop;return{x:r,y:s}}function Mk(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const a=s==="fixed",i=Xt(r),o=t?Cl(t.floating):!1;if(r===i||o&&a)return n;let l={scrollLeft:0,scrollTop:0},u=Gt(1);const d=Gt(0),f=vn(r);if((f||!f&&!a)&&((Is(r)!=="body"||oi(i))&&(l=kl(r)),f)){const p=Rr(r);u=cs(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const h=i&&!f&&!a?a0(i,l):Gt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+h.x,y:n.y*u.y-l.scrollTop*u.y+d.y+h.y}}function Fk(e){return Array.from(e.getClientRects())}function Ok(e){const t=Xt(e),n=kl(e),r=e.ownerDocument.body,s=Je(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Je(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+jl(e);const o=-n.scrollTop;return Ot(r).direction==="rtl"&&(i+=Je(t.clientWidth,r.clientWidth)-s),{width:s,height:a,x:i,y:o}}const Jp=25;function Lk(e,t){const n=tt(e),r=Xt(e),s=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,o=0,l=0;if(s){a=s.width,i=s.height;const d=Af();(!d||d&&t==="fixed")&&(o=s.offsetLeft,l=s.offsetTop)}const u=jl(r);if(u<=0){const d=r.ownerDocument,f=d.body,h=getComputedStyle(f),p=d.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,y=Math.abs(r.clientWidth-f.clientWidth-p);y<=Jp&&(a-=y)}else u<=Jp&&(a+=u);return{width:a,height:i,x:o,y:l}}function Ik(e,t){const n=Rr(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,a=vn(e)?cs(e):Gt(1),i=e.clientWidth*a.x,o=e.clientHeight*a.y,l=s*a.x,u=r*a.y;return{width:i,height:o,x:l,y:u}}function Zp(e,t,n){let r;if(t==="viewport")r=Lk(e,n);else if(t==="document")r=Ok(Xt(e));else if(Ft(t))r=Ik(t,n);else{const s=s0(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Ho(r)}function i0(e,t){const n=Jn(e);return n===t||!Ft(n)||Es(n)?!1:Ot(n).position==="fixed"||i0(n,t)}function zk(e,t){const n=t.get(e);if(n)return n;let r=Ba(e,[],!1).filter(o=>Ft(o)&&Is(o)!=="body"),s=null;const a=Ot(e).position==="fixed";let i=a?Jn(e):e;for(;Ft(i)&&!Es(i);){const o=Ot(i),l=Nf(i);!l&&o.position==="fixed"&&(s=null),(a?!l&&!s:!l&&o.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||oi(i)&&!l&&i0(e,i))?r=r.filter(d=>d!==i):s=o,i=Jn(i)}return t.set(e,r),r}function _k(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const i=[...n==="clippingAncestors"?Cl(t)?[]:zk(t,this._c):[].concat(n),r],o=Zp(t,i[0],s);let l=o.top,u=o.right,d=o.bottom,f=o.left;for(let h=1;h<i.length;h++){const p=Zp(t,i[h],s);l=Je(p.top,l),u=Xn(p.right,u),d=Xn(p.bottom,d),f=Je(p.left,f)}return{width:u-f,height:d-l,x:f,y:l}}function Vk(e){const{width:t,height:n}=r0(e);return{width:t,height:n}}function Bk(e,t,n){const r=vn(t),s=Xt(t),a=n==="fixed",i=Rr(e,!0,a,t);let o={scrollLeft:0,scrollTop:0};const l=Gt(0);function u(){l.x=jl(s)}if(r||!r&&!a)if((Is(t)!=="body"||oi(s))&&(o=kl(t)),r){const p=Rr(t,!0,a,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else s&&u();a&&!r&&s&&u();const d=s&&!r&&!a?a0(s,o):Gt(0),f=i.left+o.scrollLeft-l.x-d.x,h=i.top+o.scrollTop-l.y-d.y;return{x:f,y:h,width:i.width,height:i.height}}function fc(e){return Ot(e).position==="static"}function em(e,t){if(!vn(e)||Ot(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Xt(e)===n&&(n=n.ownerDocument.body),n}function o0(e,t){const n=tt(e);if(Cl(e))return n;if(!vn(e)){let s=Jn(e);for(;s&&!Es(s);){if(Ft(s)&&!fc(s))return s;s=Jn(s)}return n}let r=em(e,t);for(;r&&Tk(r)&&fc(r);)r=em(r,t);return r&&Es(r)&&fc(r)&&!Nf(r)?n:r||Ak(e)||n}const Hk=async function(e){const t=this.getOffsetParent||o0,n=this.getDimensions,r=await n(e.floating);return{reference:Bk(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function $k(e){return Ot(e).direction==="rtl"}const Uk={convertOffsetParentRelativeRectToViewportRelativeRect:Mk,getDocumentElement:Xt,getClippingRect:_k,getOffsetParent:o0,getElementRects:Hk,getClientRects:Fk,getDimensions:Vk,getScale:cs,isElement:Ft,isRTL:$k};function l0(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Wk(e,t){let n=null,r;const s=Xt(e);function a(){var o;clearTimeout(r),(o=n)==null||o.disconnect(),n=null}function i(o,l){o===void 0&&(o=!1),l===void 0&&(l=1),a();const u=e.getBoundingClientRect(),{left:d,top:f,width:h,height:p}=u;if(o||t(),!h||!p)return;const y=Li(f),v=Li(s.clientWidth-(d+h)),b=Li(s.clientHeight-(f+p)),g=Li(d),x={rootMargin:-y+"px "+-v+"px "+-b+"px "+-g+"px",threshold:Je(0,Xn(1,l))||1};let P=!0;function S(C){const j=C[0].intersectionRatio;if(j!==l){if(!P)return i();j?i(!1,j):r=setTimeout(()=>{i(!1,1e-7)},1e3)}j===1&&!l0(u,e.getBoundingClientRect())&&i(),P=!1}try{n=new IntersectionObserver(S,{...x,root:s.ownerDocument})}catch{n=new IntersectionObserver(S,x)}n.observe(e)}return i(!0),a}function qk(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:o=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Df(e),d=s||a?[...u?Ba(u):[],...t?Ba(t):[]]:[];d.forEach(g=>{s&&g.addEventListener("scroll",n,{passive:!0}),a&&g.addEventListener("resize",n)});const f=u&&o?Wk(u,n):null;let h=-1,p=null;i&&(p=new ResizeObserver(g=>{let[m]=g;m&&m.target===u&&p&&t&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var x;(x=p)==null||x.observe(t)})),n()}),u&&!l&&p.observe(u),t&&p.observe(t));let y,v=l?Rr(e):null;l&&b();function b(){const g=Rr(e);v&&!l0(v,g)&&n(),v=g,y=requestAnimationFrame(b)}return n(),()=>{var g;d.forEach(m=>{s&&m.removeEventListener("scroll",n),a&&m.removeEventListener("resize",n)}),f==null||f(),(g=p)==null||g.disconnect(),p=null,l&&cancelAnimationFrame(y)}}const Kk=Sk,Gk=Ck,Yk=wk,Qk=jk,Xk=bk,tm=vk,Jk=kk,Zk=(e,t,n)=>{const r=new Map,s={platform:Uk,...n},a={...s.platform,_c:r};return xk(e,t,{...s,platform:a})};var ej=typeof document<"u",tj=function(){},so=ej?w.useLayoutEffect:tj;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,r,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!$o(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const a=s[r];if(!(a==="_owner"&&e.$$typeof)&&!$o(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function c0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function nm(e,t){const n=c0(e);return Math.round(t*n)/n}function hc(e){const t=w.useRef(e);return so(()=>{t.current=e}),t}function nj(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:a,floating:i}={},transform:o=!0,whileElementsMounted:l,open:u}=e,[d,f]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=w.useState(r);$o(h,r)||p(r);const[y,v]=w.useState(null),[b,g]=w.useState(null),m=w.useCallback(T=>{T!==C.current&&(C.current=T,v(T))},[]),x=w.useCallback(T=>{T!==j.current&&(j.current=T,g(T))},[]),P=a||y,S=i||b,C=w.useRef(null),j=w.useRef(null),k=w.useRef(d),A=l!=null,N=hc(l),L=hc(s),F=hc(u),H=w.useCallback(()=>{if(!C.current||!j.current)return;const T={placement:t,strategy:n,middleware:h};L.current&&(T.platform=L.current),Zk(C.current,j.current,T).then(R=>{const z={...R,isPositioned:F.current!==!1};M.current&&!$o(k.current,z)&&(k.current=z,si.flushSync(()=>{f(z)}))})},[h,t,n,L,F]);so(()=>{u===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,f(T=>({...T,isPositioned:!1})))},[u]);const M=w.useRef(!1);so(()=>(M.current=!0,()=>{M.current=!1}),[]),so(()=>{if(P&&(C.current=P),S&&(j.current=S),P&&S){if(N.current)return N.current(P,S,H);H()}},[P,S,H,N,A]);const $=w.useMemo(()=>({reference:C,floating:j,setReference:m,setFloating:x}),[m,x]),_=w.useMemo(()=>({reference:P,floating:S}),[P,S]),K=w.useMemo(()=>{const T={position:n,left:0,top:0};if(!_.floating)return T;const R=nm(_.floating,d.x),z=nm(_.floating,d.y);return o?{...T,transform:"translate("+R+"px, "+z+"px)",...c0(_.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:z}},[n,o,_.floating,d.x,d.y]);return w.useMemo(()=>({...d,update:H,refs:$,elements:_,floatingStyles:K}),[d,H,$,_,K])}const rj=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?tm({element:r.current,padding:s}).fn(n):{}:r?tm({element:r,padding:s}).fn(n):{}}}},sj=(e,t)=>{const n=Kk(e);return{name:n.name,fn:n.fn,options:[e,t]}},aj=(e,t)=>{const n=Gk(e);return{name:n.name,fn:n.fn,options:[e,t]}},ij=(e,t)=>({fn:Jk(e).fn,options:[e,t]}),oj=(e,t)=>{const n=Yk(e);return{name:n.name,fn:n.fn,options:[e,t]}},lj=(e,t)=>{const n=Qk(e);return{name:n.name,fn:n.fn,options:[e,t]}},cj=(e,t)=>{const n=Xk(e);return{name:n.name,fn:n.fn,options:[e,t]}},uj=(e,t)=>{const n=rj(e);return{name:n.name,fn:n.fn,options:[e,t]}};var dj="Arrow",u0=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...a}=e;return c.jsx($e.svg,{...a,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});u0.displayName=dj;var fj=u0;function hj(e){const[t,n]=w.useState(void 0);return dn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const a=s[0];let i,o;if("borderBoxSize"in a){const l=a.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,o=u.blockSize}else i=e.offsetWidth,o=e.offsetHeight;n({width:i,height:o})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var d0="Popper",[f0,h0]=vl(d0),[I5,p0]=f0(d0),m0="PopperAnchor",g0=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,a=p0(m0,n),i=w.useRef(null),o=a.onAnchorChange,l=w.useCallback(y=>{i.current=y,y&&o(y)},[o]),u=Mt(t,l),d=w.useRef(null);w.useEffect(()=>{if(!r)return;const y=d.current;d.current=r.current,y!==d.current&&o(d.current)});const f=a.placementState&&Mf(a.placementState),h=f==null?void 0:f[0],p=f==null?void 0:f[1];return r?null:c.jsx($e.div,{"data-radix-popper-side":h,"data-radix-popper-align":p,...s,ref:u})});g0.displayName=m0;var Rf="PopperContent",[pj,mj]=f0(Rf),y0=w.forwardRef((e,t)=>{var ph,mh,gh,yh,xh,vh;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:a="center",alignOffset:i=0,arrowPadding:o=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:y,...v}=e,b=p0(Rf,n),[g,m]=w.useState(null),x=Mt(t,$s=>m($s)),[P,S]=w.useState(null),C=hj(P),j=(C==null?void 0:C.width)??0,k=(C==null?void 0:C.height)??0,A=r+(a!=="center"?"-"+a:""),N=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},L=Array.isArray(u)?u:[u],F=L.length>0,H={padding:N,boundary:L.filter(yj),altBoundary:F},{refs:M,floatingStyles:$,placement:_,isPositioned:K,middlewareData:T}=nj({strategy:"fixed",placement:A,whileElementsMounted:(...$s)=>qk(...$s,{animationFrame:p==="always"}),elements:{reference:b.anchor},middleware:[sj({mainAxis:s+k,alignmentAxis:i}),l&&aj({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?ij():void 0,...H}),l&&oj({...H}),lj({...H,apply:({elements:$s,rects:wh,availableWidth:J1,availableHeight:Z1})=>{const{width:eb,height:tb}=wh.reference,pi=$s.floating.style;pi.setProperty("--radix-popper-available-width",`${J1}px`),pi.setProperty("--radix-popper-available-height",`${Z1}px`),pi.setProperty("--radix-popper-anchor-width",`${eb}px`),pi.setProperty("--radix-popper-anchor-height",`${tb}px`)}}),P&&uj({element:P,padding:o}),xj({arrowWidth:j,arrowHeight:k}),h&&cj({strategy:"referenceHidden",...H,boundary:F?H.boundary:void 0})]}),R=b.setPlacementState;dn(()=>(R(_),()=>{R(void 0)}),[_,R]);const[z,B]=Mf(_),Q=Qn(y);dn(()=>{K&&(Q==null||Q())},[K,Q]);const vt=(ph=T.arrow)==null?void 0:ph.x,it=(mh=T.arrow)==null?void 0:mh.y,Hs=((gh=T.arrow)==null?void 0:gh.centerOffset)!==0,[Jt,Ir]=w.useState();return dn(()=>{g&&Ir(window.getComputedStyle(g).zIndex)},[g]),c.jsx("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:K?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Jt,"--radix-popper-transform-origin":[(yh=T.transformOrigin)==null?void 0:yh.x,(xh=T.transformOrigin)==null?void 0:xh.y].join(" "),...((vh=T.hide)==null?void 0:vh.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(pj,{scope:n,placedSide:z,placedAlign:B,onArrowChange:S,arrowX:vt,arrowY:it,shouldHideArrow:Hs,children:c.jsx($e.div,{"data-side":z,"data-align":B,...v,ref:x,style:{...v.style,animation:K?void 0:"none"}})})})});y0.displayName=Rf;var x0="PopperArrow",gj={top:"bottom",right:"left",bottom:"top",left:"right"},v0=w.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,a=mj(x0,r),i=gj[a.placedSide];return c.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:c.jsx(fj,{...s,ref:n,style:{...s.style,display:"block"}})})});v0.displayName=x0;function yj(e){return e!==null}var xj=e=>({name:"transformOrigin",options:e,fn(t){var b,g,m;const{placement:n,rects:r,middlewareData:s}=t,i=((b=s.arrow)==null?void 0:b.centerOffset)!==0,o=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[u,d]=Mf(n),f={start:"0%",center:"50%",end:"100%"}[d],h=(((g=s.arrow)==null?void 0:g.x)??0)+o/2,p=(((m=s.arrow)==null?void 0:m.y)??0)+l/2;let y="",v="";return u==="bottom"?(y=i?f:`${h}px`,v=`${-l}px`):u==="top"?(y=i?f:`${h}px`,v=`${r.floating.height+l}px`):u==="right"?(y=`${-l}px`,v=i?f:`${p}px`):u==="left"&&(y=`${r.floating.width+l}px`,v=i?f:`${p}px`),{data:{x:y,y:v}}}});function Mf(e){const[t,n="center"]=e.split("-");return[t,n]}var vj=g0,wj=y0,bj=v0,[Tl]=vl("Tooltip",[h0]),Ff=h0(),w0="TooltipProvider",Pj=700,rm="tooltip.open",[Sj,b0]=Tl(w0),P0=e=>{const{__scopeTooltip:t,delayDuration:n=Pj,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:a}=e,i=w.useRef(!0),o=w.useRef(!1),l=w.useRef(0);return w.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),c.jsx(Sj,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:w.useCallback(()=>{r<=0||(window.clearTimeout(l.current),i.current=!1)},[r]),onClose:w.useCallback(()=>{r<=0||(window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.current=!0,r))},[r]),isPointerInTransitRef:o,onPointerInTransitChange:w.useCallback(u=>{o.current=u},[]),disableHoverableContent:s,children:a})};P0.displayName=w0;var S0="Tooltip",[z5,li]=Tl(S0),Iu="TooltipTrigger",Cj=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=li(Iu,n),a=b0(Iu,n),i=Ff(n),o=w.useRef(null),l=Mt(t,o,s.onTriggerChange),u=w.useRef(!1),d=w.useRef(!1),f=w.useCallback(()=>u.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),c.jsx(vj,{asChild:!0,...i,children:c.jsx($e.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:l,onPointerMove:xe(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!a.isPointerInTransitRef.current&&(s.onTriggerEnter(),d.current=!0)}),onPointerLeave:xe(e.onPointerLeave,()=>{s.onTriggerLeave(),d.current=!1}),onPointerDown:xe(e.onPointerDown,()=>{s.open&&s.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:xe(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:xe(e.onBlur,s.onClose),onClick:xe(e.onClick,s.onClose)})})});Cj.displayName=Iu;var Of="TooltipPortal",[kj,jj]=Tl(Of,{forceMount:void 0}),C0=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:s}=e,a=li(Of,t);return c.jsx(kj,{scope:t,forceMount:n,children:c.jsx(wl,{present:n||a.open,children:c.jsx(xf,{asChild:!0,container:s,children:r})})})};C0.displayName=Of;var Ns="TooltipContent",k0=w.forwardRef((e,t)=>{const n=jj(Ns,e.__scopeTooltip),{forceMount:r=n.forceMount,side:s="top",...a}=e,i=li(Ns,e.__scopeTooltip);return c.jsx(wl,{present:r||i.open,children:i.disableHoverableContent?c.jsx(j0,{side:s,...a,ref:t}):c.jsx(Tj,{side:s,...a,ref:t})})}),Tj=w.forwardRef((e,t)=>{const n=li(Ns,e.__scopeTooltip),r=b0(Ns,e.__scopeTooltip),s=w.useRef(null),a=Mt(t,s),[i,o]=w.useState(null),{trigger:l,onClose:u}=n,d=s.current,{onPointerInTransitChange:f}=r,h=w.useCallback(()=>{o(null),f(!1)},[f]),p=w.useCallback((y,v)=>{const b=y.currentTarget,g={x:y.clientX,y:y.clientY},m=Rj(g,b.getBoundingClientRect()),x=Mj(g,m),P=Fj(v.getBoundingClientRect()),S=Lj([...x,...P]);o(S),f(!0)},[f]);return w.useEffect(()=>()=>h(),[h]),w.useEffect(()=>{if(l&&d){const y=b=>p(b,d),v=b=>p(b,l);return l.addEventListener("pointerleave",y),d.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",y),d.removeEventListener("pointerleave",v)}}},[l,d,p,h]),w.useEffect(()=>{if(i){const y=v=>{const b=v.target,g={x:v.clientX,y:v.clientY},m=(l==null?void 0:l.contains(b))||(d==null?void 0:d.contains(b)),x=!Oj(g,i);m?h():x&&(h(),u())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[l,d,i,u,h]),c.jsx(j0,{...e,ref:a})}),[Ej,Nj]=Tl(S0,{isInside:!1}),Aj=_S("TooltipContent"),j0=w.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":s,onEscapeKeyDown:a,onPointerDownOutside:i,...o}=e,l=li(Ns,n),u=Ff(n),{onClose:d}=l;return w.useEffect(()=>(document.addEventListener(rm,d),()=>document.removeEventListener(rm,d)),[d]),w.useEffect(()=>{if(l.trigger){const f=h=>{h.target instanceof Node&&h.target.contains(l.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,d]),c.jsx(yf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:c.jsxs(wj,{"data-state":l.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:[c.jsx(Aj,{children:r}),c.jsx(Ej,{scope:n,isInside:!0,children:c.jsx(gC,{id:l.contentId,role:"tooltip",children:s||r})})]})})});k0.displayName=Ns;var T0="TooltipArrow",Dj=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=Ff(n);return Nj(T0,n).isInside?null:c.jsx(bj,{...s,...r,ref:t})});Dj.displayName=T0;function Rj(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,s,a)){case a:return"left";case s:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Mj(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function Fj(e){const{top:t,right:n,bottom:r,left:s}=e;return[{x:s,y:t},{x:n,y:t},{x:n,y:r},{x:s,y:r}]}function Oj(e,t){const{x:n,y:r}=e;let s=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const o=t[a],l=t[i],u=o.x,d=o.y,f=l.x,h=l.y;d>r!=h>r&&n<(f-u)*(r-d)/(h-d)+u&&(s=!s)}return s}function Lj(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),Ij(t)}function Ij(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const s=e[r];for(;t.length>=2;){const a=t[t.length-1],i=t[t.length-2];if((a.x-i.x)*(s.y-i.y)>=(a.y-i.y)*(s.x-i.x))t.pop();else break}t.push(s)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const s=e[r];for(;n.length>=2;){const a=n[n.length-1],i=n[n.length-2];if((a.x-i.x)*(s.y-i.y)>=(a.y-i.y)*(s.x-i.x))n.pop();else break}n.push(s)}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 zj=P0,_j=C0,E0=k0;const Vj=zj,Bj=w.forwardRef(({className:e,sideOffset:t=4,...n},r)=>c.jsx(_j,{children:c.jsx(E0,{ref:r,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})}));Bj.displayName=E0.displayName;var El=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(){}},gr,Nn,fs,$g,Hj=($g=class extends El{constructor(){super();q(this,gr);q(this,Nn);q(this,fs);V(this,fs,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){E(this,Nn)||this.setEventListener(E(this,fs))}onUnsubscribe(){var t;this.hasListeners()||((t=E(this,Nn))==null||t.call(this),V(this,Nn,void 0))}setEventListener(t){var n;V(this,fs,t),(n=E(this,Nn))==null||n.call(this),V(this,Nn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){E(this,gr)!==t&&(V(this,gr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof E(this,gr)=="boolean"?E(this,gr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},gr=new WeakMap,Nn=new WeakMap,fs=new WeakMap,$g),N0=new Hj,$j={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},An,wd,Ug,Uj=(Ug=class{constructor(){q(this,An,$j);q(this,wd,!1)}setTimeoutProvider(e){V(this,An,e)}setTimeout(e,t){return E(this,An).setTimeout(e,t)}clearTimeout(e){E(this,An).clearTimeout(e)}setInterval(e,t){return E(this,An).setInterval(e,t)}clearInterval(e){E(this,An).clearInterval(e)}},An=new WeakMap,wd=new WeakMap,Ug),zu=new Uj;function Wj(e){setTimeout(e,0)}var qj=typeof window>"u"||"Deno"in globalThis;function Ct(){}function Kj(e,t){return typeof e=="function"?e(t):e}function Gj(e){return typeof e=="number"&&e>=0&&e!==1/0}function Yj(e,t){return Math.max(e+(t||0)-Date.now(),0)}function _u(e,t){return typeof e=="function"?e(t):e}function Qj(e,t){return typeof e=="function"?e(t):e}function sm(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:a,queryKey:i,stale:o}=e;if(i){if(r){if(t.queryHash!==Lf(i,t.options))return!1}else if(!$a(t.queryKey,i))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof o=="boolean"&&t.isStale()!==o||s&&s!==t.state.fetchStatus||a&&!a(t))}function am(e,t){const{exact:n,status:r,predicate:s,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Ha(t.options.mutationKey)!==Ha(a))return!1}else if(!$a(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Lf(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ha)(e)}function Ha(e){return JSON.stringify(e,(t,n)=>Vu(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function $a(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>$a(e[n],t[n])):!1}var Xj=Object.prototype.hasOwnProperty;function A0(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=im(e)&&im(t);if(!r&&!(Vu(e)&&Vu(t)))return t;const a=(r?e:Object.keys(e)).length,i=r?t:Object.keys(t),o=i.length,l=r?new Array(o):{};let u=0;for(let d=0;d<o;d++){const f=r?d:i[d],h=e[f],p=t[f];if(h===p){l[f]=h,(r?d<a:Xj.call(e,f))&&u++;continue}if(h===null||p===null||typeof h!="object"||typeof p!="object"){l[f]=p;continue}const y=A0(h,p,n+1);l[f]=y,y===h&&u++}return a===o&&u===a?e:l}function im(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Vu(e){if(!om(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!om(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function om(e){return Object.prototype.toString.call(e)==="[object Object]"}function Jj(e){return new Promise(t=>{zu.setTimeout(t,e)})}function Zj(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?A0(e,t):t}function eT(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function tT(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var If=Symbol();function D0(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===If?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function nT(e,t,n){let r=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??(s=t()),r||(r=!0,s.aborted?n():s.addEventListener("abort",n,{once:!0})),s)}),e}var R0=(()=>{let e=()=>qj;return{isServer(){return e()},setIsServer(t){e=t}}})();function rT(){let e,t;const n=new Promise((s,a)=>{e=s,t=a});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}var sT=Wj;function aT(){let e=[],t=0,n=o=>{o()},r=o=>{o()},s=sT;const a=o=>{t?e.push(o):s(()=>{n(o)})},i=()=>{const o=e;e=[],o.length&&s(()=>{r(()=>{o.forEach(l=>{n(l)})})})};return{batch:o=>{let l;t++;try{l=o()}finally{t--,t||i()}return l},batchCalls:o=>(...l)=>{a(()=>{o(...l)})},schedule:a,setNotifyFunction:o=>{n=o},setBatchNotifyFunction:o=>{r=o},setScheduler:o=>{s=o}}}var Ie=aT(),hs,Dn,ps,Wg,iT=(Wg=class extends El{constructor(){super();q(this,hs,!0);q(this,Dn);q(this,ps);V(this,ps,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){E(this,Dn)||this.setEventListener(E(this,ps))}onUnsubscribe(){var t;this.hasListeners()||((t=E(this,Dn))==null||t.call(this),V(this,Dn,void 0))}setEventListener(t){var n;V(this,ps,t),(n=E(this,Dn))==null||n.call(this),V(this,Dn,t(this.setOnline.bind(this)))}setOnline(t){E(this,hs)!==t&&(V(this,hs,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return E(this,hs)}},hs=new WeakMap,Dn=new WeakMap,ps=new WeakMap,Wg),Uo=new iT;function oT(e){return Math.min(1e3*2**e,3e4)}function M0(e){return(e??"online")==="online"?Uo.isOnline():!0}var Bu=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function F0(e){let t=!1,n=0,r;const s=rT(),a=()=>s.status!=="pending",i=v=>{var b;if(!a()){const g=new Bu(v);h(g),(b=e.onCancel)==null||b.call(e,g)}},o=()=>{t=!0},l=()=>{t=!1},u=()=>N0.isFocused()&&(e.networkMode==="always"||Uo.isOnline())&&e.canRun(),d=()=>M0(e.networkMode)&&e.canRun(),f=v=>{a()||(r==null||r(),s.resolve(v))},h=v=>{a()||(r==null||r(),s.reject(v))},p=()=>new Promise(v=>{var b;r=g=>{(a()||u())&&v(g)},(b=e.onPause)==null||b.call(e)}).then(()=>{var v;r=void 0,a()||(v=e.onContinue)==null||v.call(e)}),y=()=>{if(a())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(f).catch(g=>{var C;if(a())return;const m=e.retry??(R0.isServer()?0:3),x=e.retryDelay??oT,P=typeof x=="function"?x(n,g):x,S=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,g);if(t||!S){h(g);return}n++,(C=e.onFail)==null||C.call(e,n,g),Jj(P).then(()=>u()?void 0:p()).then(()=>{t?h(g):y()})})};return{promise:s,status:()=>s.status,cancel:i,continue:()=>(r==null||r(),s),cancelRetry:o,continueRetry:l,canStart:d,start:()=>(d()?y():p().then(y),s)}}var yr,qg,O0=(qg=class{constructor(){q(this,yr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Gj(this.gcTime)&&V(this,yr,zu.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(R0.isServer()?1/0:5*60*1e3))}clearGcTimeout(){E(this,yr)!==void 0&&(zu.clearTimeout(E(this,yr)),V(this,yr,void 0))}},yr=new WeakMap,qg);function lT(e){return{onFetch:(t,n)=>{var d,f,h,p,y;const r=t.options,s=(h=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:h.direction,a=((p=t.state.data)==null?void 0:p.pages)||[],i=((y=t.state.data)==null?void 0:y.pageParams)||[];let o={pages:[],pageParams:[]},l=0;const u=async()=>{let v=!1;const b=x=>{nT(x,()=>t.signal,()=>v=!0)},g=D0(t.options,t.fetchOptions),m=async(x,P,S)=>{if(v)return Promise.reject(t.signal.reason);if(P==null&&x.pages.length)return Promise.resolve(x);const j=(()=>{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(j),{maxPages:A}=t.options,N=S?tT:eT;return{pages:N(x.pages,k,A),pageParams:N(x.pageParams,P,A)}};if(s&&a.length){const x=s==="backward",P=x?cT:lm,S={pages:a,pageParams:i},C=P(r,S);o=await m(S,C,x)}else{const x=e??a.length;do{const P=l===0?i[0]??r.initialPageParam:lm(r,o);if(l>0&&P==null)break;o=await m(o,P),l++}while(l<x)}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 lm(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function cT(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var ms,xr,gs,lt,vr,we,Qa,wr,Xe,L0,tn,Kg,uT=(Kg=class extends O0{constructor(t){super();q(this,Xe);q(this,ms);q(this,xr);q(this,gs);q(this,lt);q(this,vr);q(this,we);q(this,Qa);q(this,wr);V(this,wr,!1),V(this,Qa,t.defaultOptions),this.setOptions(t.options),this.observers=[],V(this,vr,t.client),V(this,lt,E(this,vr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,V(this,xr,um(this.options)),this.state=t.state??E(this,xr),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return E(this,ms)}get promise(){var t;return(t=E(this,we))==null?void 0:t.promise}setOptions(t){if(this.options={...E(this,Qa),...t},t!=null&&t._type&&V(this,ms,t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=um(this.options);n.data!==void 0&&(this.setState(cm(n.data,n.dataUpdatedAt)),V(this,xr,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&E(this,lt).remove(this)}setData(t,n){const r=Zj(this.state.data,t,this.options);return ke(this,Xe,tn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t){ke(this,Xe,tn).call(this,{type:"setState",state:t})}cancel(t){var r,s;const n=(r=E(this,we))==null?void 0:r.promise;return(s=E(this,we))==null||s.cancel(t),n?n.then(Ct).catch(Ct):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return E(this,xr)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>Qj(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===If||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>_u(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:!Yj(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=E(this,we))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=E(this,we))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),E(this,lt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(E(this,we)&&(E(this,wr)||ke(this,Xe,L0).call(this)?E(this,we).cancel({revert:!0}):E(this,we).cancelRetry()),this.scheduleGc()),E(this,lt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ke(this,Xe,tn).call(this,{type:"invalidate"})}async fetch(t,n){var u,d,f,h,p,y,v,b,g,m,x;if(this.state.fetchStatus!=="idle"&&((u=E(this,we))==null?void 0:u.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(E(this,we))return E(this,we).continueRetry(),E(this,we).promise}if(t&&this.setOptions(t),!this.options.queryFn){const P=this.observers.find(S=>S.options.queryFn);P&&this.setOptions(P.options)}const r=new AbortController,s=P=>{Object.defineProperty(P,"signal",{enumerable:!0,get:()=>(V(this,wr,!0),r.signal)})},a=()=>{const P=D0(this.options,n),C=(()=>{const j={client:E(this,vr),queryKey:this.queryKey,meta:this.meta};return s(j),j})();return V(this,wr,!1),this.options.persister?this.options.persister(P,C,this):P(C)},o=(()=>{const P={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:E(this,vr),state:this.state,fetchFn:a};return s(P),P})(),l=E(this,ms)==="infinite"?lT(this.options.pages):this.options.behavior;l==null||l.onFetch(o,this),V(this,gs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=o.fetchOptions)==null?void 0:d.meta))&&ke(this,Xe,tn).call(this,{type:"fetch",meta:(f=o.fetchOptions)==null?void 0:f.meta}),V(this,we,F0({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,onCancel:P=>{P instanceof Bu&&P.revert&&this.setState({...E(this,gs),fetchStatus:"idle"}),r.abort()},onFail:(P,S)=>{ke(this,Xe,tn).call(this,{type:"failed",failureCount:P,error:S})},onPause:()=>{ke(this,Xe,tn).call(this,{type:"pause"})},onContinue:()=>{ke(this,Xe,tn).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0}));try{const P=await E(this,we).start();if(P===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(P),(p=(h=E(this,lt).config).onSuccess)==null||p.call(h,P,this),(v=(y=E(this,lt).config).onSettled)==null||v.call(y,P,this.state.error,this),P}catch(P){if(P instanceof Bu){if(P.silent)return E(this,we).promise;if(P.revert){if(this.state.data===void 0)throw P;return this.state.data}}throw ke(this,Xe,tn).call(this,{type:"error",error:P}),(g=(b=E(this,lt).config).onError)==null||g.call(b,P,this),(x=(m=E(this,lt).config).onSettled)==null||x.call(m,this.state.data,P,this),P}finally{this.scheduleGc()}}},ms=new WeakMap,xr=new WeakMap,gs=new WeakMap,lt=new WeakMap,vr=new WeakMap,we=new WeakMap,Qa=new WeakMap,wr=new WeakMap,Xe=new WeakSet,L0=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},tn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...dT(r.data,this.options),fetchMeta:t.meta??null};case"success":const s={...r,...cm(t.data,t.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return V(this,gs,t.manual?s:void 0),s;case"error":const a=t.error;return{...r,error:a,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ie.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),E(this,lt).notify({query:this,type:"updated",action:t})})},Kg);function dT(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:M0(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function cm(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function um(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Xa,_t,Me,br,Vt,Sn,Gg,fT=(Gg=class extends O0{constructor(t){super();q(this,Vt);q(this,Xa);q(this,_t);q(this,Me);q(this,br);V(this,Xa,t.client),this.mutationId=t.mutationId,V(this,Me,t.mutationCache),V(this,_t,[]),this.state=t.state||hT(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){E(this,_t).includes(t)||(E(this,_t).push(t),this.clearGcTimeout(),E(this,Me).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){V(this,_t,E(this,_t).filter(n=>n!==t)),this.scheduleGc(),E(this,Me).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){E(this,_t).length||(this.state.status==="pending"?this.scheduleGc():E(this,Me).remove(this))}continue(){var t;return((t=E(this,br))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,l,u,d,f,h,p,y,v,b,g,m,x,P,S,C,j;const n=()=>{ke(this,Vt,Sn).call(this,{type:"continue"})},r={client:E(this,Xa),meta:this.options.meta,mutationKey:this.options.mutationKey};V(this,br,F0({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(k,A)=>{ke(this,Vt,Sn).call(this,{type:"failed",failureCount:k,error:A})},onPause:()=>{ke(this,Vt,Sn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>E(this,Me).canRun(this)}));const s=this.state.status==="pending",a=!E(this,br).canStart();try{if(s)n();else{ke(this,Vt,Sn).call(this,{type:"pending",variables:t,isPaused:a}),E(this,Me).config.onMutate&&await E(this,Me).config.onMutate(t,this,r);const A=await((o=(i=this.options).onMutate)==null?void 0:o.call(i,t,r));A!==this.state.context&&ke(this,Vt,Sn).call(this,{type:"pending",context:A,variables:t,isPaused:a})}const k=await E(this,br).start();return await((u=(l=E(this,Me).config).onSuccess)==null?void 0:u.call(l,k,t,this.state.context,this,r)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,k,t,this.state.context,r)),await((p=(h=E(this,Me).config).onSettled)==null?void 0:p.call(h,k,null,this.state.variables,this.state.context,this,r)),await((v=(y=this.options).onSettled)==null?void 0:v.call(y,k,null,t,this.state.context,r)),ke(this,Vt,Sn).call(this,{type:"success",data:k}),k}catch(k){try{await((g=(b=E(this,Me).config).onError)==null?void 0:g.call(b,k,t,this.state.context,this,r))}catch(A){Promise.reject(A)}try{await((x=(m=this.options).onError)==null?void 0:x.call(m,k,t,this.state.context,r))}catch(A){Promise.reject(A)}try{await((S=(P=E(this,Me).config).onSettled)==null?void 0:S.call(P,void 0,k,this.state.variables,this.state.context,this,r))}catch(A){Promise.reject(A)}try{await((j=(C=this.options).onSettled)==null?void 0:j.call(C,void 0,k,t,this.state.context,r))}catch(A){Promise.reject(A)}throw ke(this,Vt,Sn).call(this,{type:"error",error:k}),k}finally{E(this,Me).runNext(this)}}},Xa=new WeakMap,_t=new WeakMap,Me=new WeakMap,br=new WeakMap,Vt=new WeakSet,Sn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,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{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Ie.batch(()=>{E(this,_t).forEach(r=>{r.onMutationUpdate(t)}),E(this,Me).notify({mutation:this,type:"updated",action:t})})},Gg);function hT(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var an,kt,Ja,Yg,pT=(Yg=class extends El{constructor(t={}){super();q(this,an);q(this,kt);q(this,Ja);this.config=t,V(this,an,new Set),V(this,kt,new Map),V(this,Ja,0)}build(t,n,r){const s=new fT({client:t,mutationCache:this,mutationId:++mi(this,Ja)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){E(this,an).add(t);const n=Ii(t);if(typeof n=="string"){const r=E(this,kt).get(n);r?r.push(t):E(this,kt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(E(this,an).delete(t)){const n=Ii(t);if(typeof n=="string"){const r=E(this,kt).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&E(this,kt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Ii(t);if(typeof n=="string"){const r=E(this,kt).get(n),s=r==null?void 0:r.find(a=>a.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=Ii(t);if(typeof n=="string"){const s=(r=E(this,kt).get(n))==null?void 0:r.find(a=>a!==t&&a.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ie.batch(()=>{E(this,an).forEach(t=>{this.notify({type:"removed",mutation:t})}),E(this,an).clear(),E(this,kt).clear()})}getAll(){return Array.from(E(this,an))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>am(n,r))}findAll(t={}){return this.getAll().filter(n=>am(t,n))}notify(t){Ie.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ie.batch(()=>Promise.all(t.map(n=>n.continue().catch(Ct))))}},an=new WeakMap,kt=new WeakMap,Ja=new WeakMap,Yg);function Ii(e){var t;return(t=e.options.scope)==null?void 0:t.id}var Bt,Qg,mT=(Qg=class extends El{constructor(t={}){super();q(this,Bt);this.config=t,V(this,Bt,new Map)}build(t,n,r){const s=n.queryKey,a=n.queryHash??Lf(s,n);let i=this.get(a);return i||(i=new uT({client:t,queryKey:s,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(i)),i}add(t){E(this,Bt).has(t.queryHash)||(E(this,Bt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=E(this,Bt).get(t.queryHash);n&&(t.destroy(),n===t&&E(this,Bt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ie.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return E(this,Bt).get(t)}getAll(){return[...E(this,Bt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>sm(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>sm(t,r)):n}notify(t){Ie.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ie.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ie.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Bt=new WeakMap,Qg),ce,Rn,Mn,ys,xs,Fn,vs,ws,Xg,gT=(Xg=class{constructor(e={}){q(this,ce);q(this,Rn);q(this,Mn);q(this,ys);q(this,xs);q(this,Fn);q(this,vs);q(this,ws);V(this,ce,e.queryCache||new mT),V(this,Rn,e.mutationCache||new pT),V(this,Mn,e.defaultOptions||{}),V(this,ys,new Map),V(this,xs,new Map),V(this,Fn,0)}mount(){mi(this,Fn)._++,E(this,Fn)===1&&(V(this,vs,N0.subscribe(async e=>{e&&(await this.resumePausedMutations(),E(this,ce).onFocus())})),V(this,ws,Uo.subscribe(async e=>{e&&(await this.resumePausedMutations(),E(this,ce).onOnline())})))}unmount(){var e,t;mi(this,Fn)._--,E(this,Fn)===0&&((e=E(this,vs))==null||e.call(this),V(this,vs,void 0),(t=E(this,ws))==null||t.call(this),V(this,ws,void 0))}isFetching(e){return E(this,ce).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return E(this,Rn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=E(this,ce).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=E(this,ce).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(_u(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return E(this,ce).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=E(this,ce).get(r.queryHash),a=s==null?void 0:s.state.data,i=Kj(t,a);if(i!==void 0)return E(this,ce).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return Ie.batch(()=>E(this,ce).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=E(this,ce).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=E(this,ce);Ie.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=E(this,ce);return Ie.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ie.batch(()=>E(this,ce).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(Ct).catch(Ct)}invalidateQueries(e,t={}){return Ie.batch(()=>(E(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},r=Ie.batch(()=>E(this,ce).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let a=s.fetch(void 0,n);return n.throwOnError||(a=a.catch(Ct)),s.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(Ct)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=E(this,ce).build(this,t);return n.isStaleByTime(_u(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Ct).catch(Ct)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Ct).catch(Ct)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return Uo.isOnline()?E(this,Rn).resumePausedMutations():Promise.resolve()}getQueryCache(){return E(this,ce)}getMutationCache(){return E(this,Rn)}getDefaultOptions(){return E(this,Mn)}setDefaultOptions(e){V(this,Mn,e)}setQueryDefaults(e,t){E(this,ys).set(Ha(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...E(this,ys).values()],n={};return t.forEach(r=>{$a(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){E(this,xs).set(Ha(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...E(this,xs).values()],n={};return t.forEach(r=>{$a(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...E(this,Mn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Lf(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===If&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...E(this,Mn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){E(this,ce).clear(),E(this,Rn).clear()}},ce=new WeakMap,Rn=new WeakMap,Mn=new WeakMap,ys=new WeakMap,xs=new WeakMap,Fn=new WeakMap,vs=new WeakMap,ws=new WeakMap,Xg),yT=w.createContext(void 0),xT=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),c.jsx(yT.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 Ua(){return Ua=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ua.apply(null,arguments)}var In;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(In||(In={}));const dm="popstate";function vT(e){e===void 0&&(e={});function t(r,s){let{pathname:a,search:i,hash:o}=r.location;return Hu("",{pathname:a,search:i,hash:o},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:Wo(s)}return bT(t,n,null,e)}function me(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function zf(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function wT(){return Math.random().toString(36).substr(2,8)}function fm(e,t){return{usr:e.state,key:e.key,idx:t}}function Hu(e,t,n,r){return n===void 0&&(n=null),Ua({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?zs(t):t,{state:n,key:t&&t.key||r||wT()})}function Wo(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function zs(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function bT(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:a=!1}=r,i=s.history,o=In.Pop,l=null,u=d();u==null&&(u=0,i.replaceState(Ua({},i.state,{idx:u}),""));function d(){return(i.state||{idx:null}).idx}function f(){o=In.Pop;let b=d(),g=b==null?null:b-u;u=b,l&&l({action:o,location:v.location,delta:g})}function h(b,g){o=In.Push;let m=Hu(v.location,b,g);u=d()+1;let x=fm(m,u),P=v.createHref(m);try{i.pushState(x,"",P)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;s.location.assign(P)}a&&l&&l({action:o,location:v.location,delta:1})}function p(b,g){o=In.Replace;let m=Hu(v.location,b,g);u=d();let x=fm(m,u),P=v.createHref(m);i.replaceState(x,"",P),a&&l&&l({action:o,location:v.location,delta:0})}function y(b){let g=s.location.origin!=="null"?s.location.origin:s.location.href,m=typeof b=="string"?b:Wo(b);return m=m.replace(/ $/,"%20"),me(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let v={get action(){return o},get location(){return e(s,i)},listen(b){if(l)throw new Error("A history only accepts one active listener");return s.addEventListener(dm,f),l=b,()=>{s.removeEventListener(dm,f),l=null}},createHref(b){return t(s,b)},createURL:y,encodeLocation(b){let g=y(b);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:p,go(b){return i.go(b)}};return v}var hm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(hm||(hm={}));function PT(e,t,n){return n===void 0&&(n="/"),ST(e,t,n)}function ST(e,t,n,r){let s=typeof t=="string"?zs(t):t,a=_f(s.pathname||"/",n);if(a==null)return null;let i=I0(e);CT(i);let o=null,l=LT(a);for(let u=0;o==null&&u<i.length;++u)o=MT(i[u],l);return o}function I0(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(a,i,o)=>{let l={relativePath:o===void 0?a.path||"":o,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};l.relativePath.startsWith("/")&&(me(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Kn([r,l.relativePath]),d=n.concat(l);a.children&&a.children.length>0&&(me(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),I0(a.children,t,d,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:DT(u,a.index),routesMeta:d})};return e.forEach((a,i)=>{var o;if(a.path===""||!((o=a.path)!=null&&o.includes("?")))s(a,i);else for(let l of z0(a.path))s(a,i,l)}),t}function z0(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return s?[a,""]:[a];let i=z0(r.join("/")),o=[];return o.push(...i.map(l=>l===""?a:[a,l].join("/"))),s&&o.push(...i),o.map(l=>e.startsWith("/")&&l===""?"/":l)}function CT(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:RT(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const kT=/^:[\w-]+$/,jT=3,TT=2,ET=1,NT=10,AT=-2,pm=e=>e==="*";function DT(e,t){let n=e.split("/"),r=n.length;return n.some(pm)&&(r+=AT),t&&(r+=TT),n.filter(s=>!pm(s)).reduce((s,a)=>s+(kT.test(a)?jT:a===""?ET:NT),r)}function RT(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function MT(e,t,n){let{routesMeta:r}=e,s={},a="/",i=[];for(let o=0;o<r.length;++o){let l=r[o],u=o===r.length-1,d=a==="/"?t:t.slice(a.length)||"/",f=FT({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},d),h=l.route;if(!f)return null;Object.assign(s,f.params),i.push({params:s,pathname:Kn([a,f.pathname]),pathnameBase:BT(Kn([a,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(a=Kn([a,f.pathnameBase]))}return i}function FT(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=OT(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let a=s[0],i=a.replace(/(.)\/+$/,"$1"),o=s.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:h,isOptional:p}=d;if(h==="*"){let v=o[f]||"";i=a.slice(0,a.length-v.length).replace(/(.)\/+$/,"$1")}const y=o[f];return p&&!y?u[h]=void 0:u[h]=(y||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:i,pattern:e}}function OT(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),zf(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 r=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,o,l)=>(r.push({paramName:o,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function LT(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return zf(!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 _f(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const IT=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,zT=e=>IT.test(e);function _T(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?zs(e):e,a;if(n)if(zT(n))a=n;else{if(n.includes("//")){let i=n;n=B0(n),zf(!1,"Pathnames cannot have embedded double slashes - normalizing "+(i+" -> "+n))}n.startsWith("/")?a=mm(n.substring(1),"/"):a=mm(n,t)}else a=t;return{pathname:a,search:HT(r),hash:$T(s)}}function mm(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function pc(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. 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 VT(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function _0(e,t){let n=VT(e);return t?n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function V0(e,t,n,r){r===void 0&&(r=!1);let s;typeof e=="string"?s=zs(e):(s=Ua({},e),me(!s.pathname||!s.pathname.includes("?"),pc("?","pathname","search",s)),me(!s.pathname||!s.pathname.includes("#"),pc("#","pathname","hash",s)),me(!s.search||!s.search.includes("#"),pc("#","search","hash",s)));let a=e===""||s.pathname==="",i=a?"/":s.pathname,o;if(i==null)o=n;else{let f=t.length-1;if(!r&&i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),f-=1;s.pathname=h.join("/")}o=f>=0?t[f]:"/"}let l=_T(s,o),u=i&&i!=="/"&&i.endsWith("/"),d=(a||i===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const B0=e=>e.replace(/\/\/+/g,"/"),Kn=e=>B0(e.join("/")),BT=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),HT=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,$T=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function UT(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const H0=["post","put","patch","delete"];new Set(H0);const WT=["get",...H0];new Set(WT);/**
* 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 Wa(){return Wa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wa.apply(null,arguments)}const Vf=w.createContext(null),qT=w.createContext(null),Or=w.createContext(null),Nl=w.createContext(null),sr=w.createContext({outlet:null,matches:[],isDataRoute:!1}),$0=w.createContext(null);function KT(e,t){let{relative:n}=t===void 0?{}:t;ci()||me(!1);let{basename:r,navigator:s}=w.useContext(Or),{hash:a,pathname:i,search:o}=W0(e,{relative:n}),l=i;return r!=="/"&&(l=i==="/"?r:Kn([r,i])),s.createHref({pathname:l,search:o,hash:a})}function ci(){return w.useContext(Nl)!=null}function Lr(){return ci()||me(!1),w.useContext(Nl).location}function U0(e){w.useContext(Or).static||w.useLayoutEffect(e)}function GT(){let{isDataRoute:e}=w.useContext(sr);return e?cE():YT()}function YT(){ci()||me(!1);let e=w.useContext(Vf),{basename:t,future:n,navigator:r}=w.useContext(Or),{matches:s}=w.useContext(sr),{pathname:a}=Lr(),i=JSON.stringify(_0(s,n.v7_relativeSplatPath)),o=w.useRef(!1);return U0(()=>{o.current=!0}),w.useCallback(function(u,d){if(d===void 0&&(d={}),!o.current)return;if(typeof u=="number"){r.go(u);return}let f=V0(u,JSON.parse(i),a,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Kn([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,i,a,e])}const QT=w.createContext(null);function XT(e){let t=w.useContext(sr).outlet;return t&&w.createElement(QT.Provider,{value:e},t)}function W0(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=w.useContext(Or),{matches:s}=w.useContext(sr),{pathname:a}=Lr(),i=JSON.stringify(_0(s,r.v7_relativeSplatPath));return w.useMemo(()=>V0(e,JSON.parse(i),a,n==="path"),[e,i,a,n])}function JT(e,t){return ZT(e,t)}function ZT(e,t,n,r){ci()||me(!1);let{navigator:s}=w.useContext(Or),{matches:a}=w.useContext(sr),i=a[a.length-1],o=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let u=Lr(),d;if(t){var f;let b=typeof t=="string"?zs(t):t;l==="/"||(f=b.pathname)!=null&&f.startsWith(l)||me(!1),d=b}else d=u;let h=d.pathname||"/",p=h;if(l!=="/"){let b=l.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(b.length).join("/")}let y=PT(e,{pathname:p}),v=sE(y&&y.map(b=>Object.assign({},b,{params:Object.assign({},o,b.params),pathname:Kn([l,s.encodeLocation?s.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?l:Kn([l,s.encodeLocation?s.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),a,n,r);return t&&v?w.createElement(Nl.Provider,{value:{location:Wa({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:In.Pop}},v):v}function eE(){let e=lE(),t=UT(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={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:s},n):null,null)}const tE=w.createElement(eE,null);class nE 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(sr.Provider,{value:this.props.routeContext},w.createElement($0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function rE(e){let{routeContext:t,match:n,children:r}=e,s=w.useContext(Vf);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(sr.Provider,{value:t},r)}function sE(e,t,n,r){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var a;if(!n)return null;if(n.errors)e=n.matches;else if((a=r)!=null&&a.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,o=(s=n)==null?void 0:s.errors;if(o!=null){let d=i.findIndex(f=>f.route.id&&(o==null?void 0:o[f.route.id])!==void 0);d>=0||me(!1),i=i.slice(0,Math.min(i.length,d+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<i.length;d++){let f=i[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:h,errors:p}=n,y=f.route.loader&&h[f.route.id]===void 0&&(!p||p[f.route.id]===void 0);if(f.route.lazy||y){l=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((d,f,h)=>{let p,y=!1,v=null,b=null;n&&(p=o&&f.route.id?o[f.route.id]:void 0,v=f.route.errorElement||tE,l&&(u<0&&h===0?(uE("route-fallback"),y=!0,b=null):u===h&&(y=!0,b=f.route.hydrateFallbackElement||null)));let g=t.concat(i.slice(0,h+1)),m=()=>{let x;return p?x=v:y?x=b:f.route.Component?x=w.createElement(f.route.Component,null):f.route.element?x=f.route.element:x=d,w.createElement(rE,{match:f,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:x})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?w.createElement(nE,{location:n.location,revalidation:n.revalidation,component:v,error:p,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var q0=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(q0||{}),K0=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}(K0||{});function aE(e){let t=w.useContext(Vf);return t||me(!1),t}function iE(e){let t=w.useContext(qT);return t||me(!1),t}function oE(e){let t=w.useContext(sr);return t||me(!1),t}function G0(e){let t=oE(),n=t.matches[t.matches.length-1];return n.route.id||me(!1),n.route.id}function lE(){var e;let t=w.useContext($0),n=iE(),r=G0();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function cE(){let{router:e}=aE(q0.UseNavigateStable),t=G0(K0.UseNavigateStable),n=w.useRef(!1);return U0(()=>{n.current=!0}),w.useCallback(function(s,a){a===void 0&&(a={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,Wa({fromRouteId:t},a)))},[e,t])}const gm={};function uE(e,t,n){gm[e]||(gm[e]=!0)}function dE(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function fE(e){return XT(e.context)}function Ue(e){me(!1)}function hE(e){let{basename:t="/",children:n=null,location:r,navigationType:s=In.Pop,navigator:a,static:i=!1,future:o}=e;ci()&&me(!1);let l=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:l,navigator:a,static:i,future:Wa({v7_relativeSplatPath:!1},o)}),[l,o,a,i]);typeof r=="string"&&(r=zs(r));let{pathname:d="/",search:f="",hash:h="",state:p=null,key:y="default"}=r,v=w.useMemo(()=>{let b=_f(d,l);return b==null?null:{location:{pathname:b,search:f,hash:h,state:p,key:y},navigationType:s}},[l,d,f,h,p,y,s]);return v==null?null:w.createElement(Or.Provider,{value:u},w.createElement(Nl.Provider,{children:n,value:v}))}function pE(e){let{children:t,location:n}=e;return JT($u(t),n)}new Promise(()=>{});function $u(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(r,s)=>{if(!w.isValidElement(r))return;let a=[...t,s];if(r.type===w.Fragment){n.push.apply(n,$u(r.props.children,a));return}r.type!==Ue&&me(!1),!r.props.index||!r.props.children||me(!1);let i={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=$u(r.props.children,a)),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 Uu(){return Uu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uu.apply(null,arguments)}function mE(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function gE(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function yE(e,t){return e.button===0&&(!t||t==="_self")&&!gE(e)}const xE=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],vE="6";try{window.__reactRouterVersion=vE}catch{}const wE="startTransition",ym=kd[wE];function bE(e){let{basename:t,children:n,future:r,window:s}=e,a=w.useRef();a.current==null&&(a.current=vT({window:s,v5Compat:!0}));let i=a.current,[o,l]=w.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},d=w.useCallback(f=>{u&&ym?ym(()=>l(f)):l(f)},[l,u]);return w.useLayoutEffect(()=>i.listen(d),[i,d]),w.useEffect(()=>dE(r),[r]),w.createElement(hE,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:i,future:r})}const PE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",SE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Y=w.forwardRef(function(t,n){let{onClick:r,relative:s,reloadDocument:a,replace:i,state:o,target:l,to:u,preventScrollReset:d,viewTransition:f}=t,h=mE(t,xE),{basename:p}=w.useContext(Or),y,v=!1;if(typeof u=="string"&&SE.test(u)&&(y=u,PE))try{let x=new URL(window.location.href),P=u.startsWith("//")?new URL(x.protocol+u):new URL(u),S=_f(P.pathname,p);P.origin===x.origin&&S!=null?u=S+P.search+P.hash:v=!0}catch{}let b=KT(u,{relative:s}),g=CE(u,{replace:i,state:o,target:l,preventScrollReset:d,relative:s,viewTransition:f});function m(x){r&&r(x),x.defaultPrevented||g(x)}return w.createElement("a",Uu({},h,{href:y||b,onClick:v||a?r:m,ref:n,target:l}))});var xm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(xm||(xm={}));var vm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(vm||(vm={}));function CE(e,t){let{target:n,replace:r,state:s,preventScrollReset:a,relative:i,viewTransition:o}=t===void 0?{}:t,l=GT(),u=Lr(),d=W0(e,{relative:i});return w.useCallback(f=>{if(yE(f,n)){f.preventDefault();let h=r!==void 0?r:Wo(u)===Wo(d);l(e,{replace:h,state:s,preventScrollReset:a,relative:i,viewTransition:o})}},[u,l,d,r,s,n,e,a,i,o])}const wm=[{label:"Home",path:"/"},{label:"About Us",path:"/about",children:[{label:"Our Story",path:"/about#our-story"},{label:"Mission & Values",path:"/about#mission-values"},{label:"Team",path:"/about#team"}]},{label:"Programs",path:"/programs",children:[{label:"Future Leaders Opportunity Fund",path:"/programs#future-leaders"},{label:"Education & Achievement Support",path:"/programs#education-achievement"},{label:"Community Impact & Rare Disease",path:"/programs#community-impact"}]},{label:"Impact",path:"/impact"},{label:"Community Events",path:"/events"},{label:"Rare Disease Awareness",path:"/rare-disease"},{label:"Blog",path:"/blog"},{label:"Contact",path:"/contact"}];function yt(){const[e,t]=w.useState(!1),[n,r]=w.useState(!1),[s,a]=w.useState(null),i=Lr();return w.useEffect(()=>{const o=()=>t(window.scrollY>20);return window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o)},[]),w.useEffect(()=>{r(!1),a(null)},[i.pathname]),c.jsxs("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${e?"bg-white shadow-md border-b border-gray-100":"bg-white/95 backdrop-blur-sm"}`,"data-id":"5ucb4z4jm","data-path":"src/components/Header.tsx",children:[c.jsx("div",{className:"h-0.5 bg-gradient-to-r from-transparent via-yellow-600 to-transparent opacity-60","data-id":"8j2f327ip","data-path":"src/components/Header.tsx"}),c.jsx("div",{className:"container mx-auto px-4","data-id":"egkmts251","data-path":"src/components/Header.tsx",children:c.jsxs("div",{className:"flex items-center justify-between h-16 md:h-20","data-id":"tqarldd9k","data-path":"src/components/Header.tsx",children:[c.jsxs(Y,{to:"/",className:"flex items-center gap-3 group","data-id":"ovhcjzyig","data-path":"src/components/Header.tsx",children:[c.jsx("div",{className:"w-10 h-10 rounded-full flex items-center justify-center",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"iz6dsrg85","data-path":"src/components/Header.tsx",children:c.jsx(Se,{className:"w-5 h-5 text-yellow-500 fill-yellow-500","data-id":"2hhxupwez","data-path":"src/components/Header.tsx"})}),c.jsxs("div",{className:"hidden sm:block","data-id":"e469swchc","data-path":"src/components/Header.tsx",children:[c.jsx("div",{className:"font-bold text-sm leading-tight",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"gz8eo1mgi","data-path":"src/components/Header.tsx",children:"James Shirey"}),c.jsx("div",{className:"text-xs font-medium tracking-widest uppercase",style:{color:"hsl(40,58%,54%)",letterSpacing:"0.15em"},"data-id":"ub1zl2j44","data-path":"src/components/Header.tsx",children:"Foundation Inc."})]})]}),c.jsx("nav",{className:"hidden lg:flex items-center gap-1","data-id":"c0ulwlcah","data-path":"src/components/Header.tsx",children:wm.map(o=>o.children?c.jsxs("div",{className:"relative group","data-id":"g4exsoycl","data-path":"src/components/Header.tsx",children:[c.jsxs("button",{className:"flex items-center gap-1 px-3 py-2 text-sm font-medium rounded-md transition-colors hover:text-yellow-700",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},onMouseEnter:()=>a(o.label),onMouseLeave:()=>a(null),"data-id":"w29v6r6hm","data-path":"src/components/Header.tsx",children:[o.label,c.jsx(UC,{className:"w-3 h-3 opacity-60","data-id":"meo1c4jtl","data-path":"src/components/Header.tsx"})]}),c.jsx("div",{className:`absolute top-full left-0 mt-1 w-64 bg-white rounded-xl shadow-xl border border-gray-100 py-2 transition-all duration-200 ${s===o.label?"opacity-100 visible translate-y-0":"opacity-0 invisible -translate-y-2"}`,onMouseEnter:()=>a(o.label),onMouseLeave:()=>a(null),"data-id":"8w540i90c","data-path":"src/components/Header.tsx",children:o.children.map(l=>c.jsx(Y,{to:l.path,className:"block px-4 py-2.5 text-sm hover:bg-amber-50 transition-colors",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"m0xkp6qsn","data-path":"src/components/Header.tsx",children:l.label},l.label))})]},o.label):c.jsx(Y,{to:o.path,className:`px-3 py-2 text-sm font-medium rounded-md transition-colors hover:text-yellow-700 ${i.pathname===o.path?"text-yellow-700":""}`,style:{color:i.pathname===o.path?"hsl(40,58%,54%)":"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"0qyuy83eh","data-path":"src/components/Header.tsx",children:o.label},o.label))}),c.jsx("div",{className:"hidden lg:block","data-id":"34izlhm6z","data-path":"src/components/Header.tsx",children:c.jsxs(Y,{to:"/donate",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full text-sm font-semibold text-white transition-all hover:opacity-90 hover:shadow-lg",style:{backgroundColor:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"qw9f9q8of","data-path":"src/components/Header.tsx",children:[c.jsx(Se,{className:"w-4 h-4 fill-current text-yellow-400","data-id":"1zxg2kmbn","data-path":"src/components/Header.tsx"}),"Donate"]})}),c.jsx("button",{className:"lg:hidden p-2 rounded-md",onClick:()=>r(!n),"aria-label":"Toggle menu","data-id":"gbcy44g4f","data-path":"src/components/Header.tsx",children:n?c.jsx(Hv,{className:"w-6 h-6","data-id":"d3o0vom7q","data-path":"src/components/Header.tsx"}):c.jsx(h2,{className:"w-6 h-6","data-id":"vzpi8r2js","data-path":"src/components/Header.tsx"})})]})}),n&&c.jsx("div",{className:"lg:hidden bg-white border-t border-gray-100 max-h-screen overflow-y-auto","data-id":"rkb1dmbs8","data-path":"src/components/Header.tsx",children:c.jsxs("div",{className:"container mx-auto px-4 py-4 space-y-1","data-id":"2o8qbkluf","data-path":"src/components/Header.tsx",children:[wm.map(o=>c.jsxs("div",{"data-id":"l1st5er4o","data-path":"src/components/Header.tsx",children:[c.jsx(Y,{to:o.path,className:"block px-3 py-2.5 text-sm font-medium rounded-lg hover:bg-amber-50 transition-colors",style:{color:"hsl(218,70%,11%)"},"data-id":"3f881tmnb","data-path":"src/components/Header.tsx",children:o.label}),o.children&&c.jsx("div",{className:"ml-4 mt-1 space-y-1 border-l-2 border-amber-100 pl-3","data-id":"djw7yemsj","data-path":"src/components/Header.tsx",children:o.children.map(l=>c.jsx(Y,{to:l.path,className:"block px-3 py-2 text-xs text-gray-600 hover:text-amber-700 transition-colors","data-id":"h068mqut7","data-path":"src/components/Header.tsx",children:l.label},l.label))})]},o.label)),c.jsx("div",{className:"pt-3 border-t border-gray-100","data-id":"emkdl1lmq","data-path":"src/components/Header.tsx",children:c.jsx(Y,{to:"/donate",className:"block w-full text-center px-5 py-3 rounded-full text-sm font-semibold text-white",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"d93ngcr2u","data-path":"src/components/Header.tsx",children:"Donate Now"})})]})})]})}function xt(){return c.jsxs("footer",{style:{backgroundColor:"hsl(218,70%,11%)"},className:"text-white","data-id":"nyrb4n845","data-path":"src/components/Footer.tsx",children:[c.jsx("div",{className:"container mx-auto px-4 py-16","data-id":"7yiyfvizf","data-path":"src/components/Footer.tsx",children:c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-10","data-id":"5h185fopp","data-path":"src/components/Footer.tsx",children:[c.jsxs("div",{className:"lg:col-span-1","data-id":"7caaqwqkb","data-path":"src/components/Footer.tsx",children:[c.jsxs(Y,{to:"/",className:"flex items-center gap-3 mb-5","data-id":"pgow324p9","data-path":"src/components/Footer.tsx",children:[c.jsx("div",{className:"w-10 h-10 rounded-full flex items-center justify-center",style:{backgroundColor:"hsl(40,58%,54%)"},"data-id":"wezxbc7kb","data-path":"src/components/Footer.tsx",children:c.jsx(Se,{className:"w-5 h-5 text-white fill-white","data-id":"6ic91g4c4","data-path":"src/components/Footer.tsx"})}),c.jsxs("div",{"data-id":"lqb86wj5v","data-path":"src/components/Footer.tsx",children:[c.jsx("div",{className:"font-bold text-sm leading-tight",style:{fontFamily:"'Playfair Display', serif",color:"white"},"data-id":"ig8qdw7uy","data-path":"src/components/Footer.tsx",children:"James Shirey"}),c.jsx("div",{className:"text-xs tracking-widest uppercase",style:{color:"hsl(40,72%,65%)",letterSpacing:"0.15em"},"data-id":"qn321t9vw","data-path":"src/components/Footer.tsx",children:"Foundation Inc."})]})]}),c.jsx("p",{className:"text-gray-400 text-sm leading-relaxed mb-5",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1rem"},"data-id":"e8a1a7wps","data-path":"src/components/Footer.tsx",children:"Honoring the memory of James Richard Shirey Jr. by creating meaningful opportunities for youth and supporting rare disease initiatives."}),c.jsx("p",{className:"text-xs text-gray-500 mb-4","data-id":"vw4rawv5l","data-path":"src/components/Footer.tsx",children:"EIN: 82-3326571"}),c.jsxs("div",{className:"flex gap-3","data-id":"hub2h1vje","data-path":"src/components/Footer.tsx",children:[c.jsx("a",{href:"#",className:"w-8 h-8 rounded-full flex items-center justify-center transition-colors hover:opacity-80",style:{backgroundColor:"hsl(218,55%,18%)"},"data-id":"h393wu83c","data-path":"src/components/Footer.tsx",children:c.jsx(e2,{className:"w-4 h-4","data-id":"64sed9jkx","data-path":"src/components/Footer.tsx"})}),c.jsx("a",{href:"#",className:"w-8 h-8 rounded-full flex items-center justify-center transition-colors hover:opacity-80",style:{backgroundColor:"hsl(218,55%,18%)"},"data-id":"vc7k1o89t","data-path":"src/components/Footer.tsx",children:c.jsx(c2,{className:"w-4 h-4","data-id":"xq43xbxux","data-path":"src/components/Footer.tsx"})}),c.jsx("a",{href:"#",className:"w-8 h-8 rounded-full flex items-center justify-center transition-colors hover:opacity-80",style:{backgroundColor:"hsl(218,55%,18%)"},"data-id":"wjeq1rw00","data-path":"src/components/Footer.tsx",children:c.jsx(P2,{className:"w-4 h-4","data-id":"1y01bre7c","data-path":"src/components/Footer.tsx"})})]})]}),c.jsxs("div",{"data-id":"8qzuejt6s","data-path":"src/components/Footer.tsx",children:[c.jsx("h4",{className:"font-semibold text-sm tracking-widest uppercase mb-5",style:{color:"hsl(40,58%,54%)",letterSpacing:"0.15em",fontFamily:"'DM Sans', sans-serif"},"data-id":"sf525cx3p","data-path":"src/components/Footer.tsx",children:"Quick Links"}),c.jsx("ul",{className:"space-y-2.5","data-id":"jesf503em","data-path":"src/components/Footer.tsx",children:[{label:"Our Story",path:"/about#our-story"},{label:"Mission & Values",path:"/about#mission-values"},{label:"Our Team",path:"/about#team"},{label:"Programs",path:"/programs"},{label:"Impact",path:"/impact"},{label:"Community Events",path:"/events"}].map(e=>c.jsx("li",{"data-id":"siwprq3vu","data-path":"src/components/Footer.tsx",children:c.jsx(Y,{to:e.path,className:"text-gray-400 hover:text-yellow-400 transition-colors text-sm",style:{fontFamily:"'DM Sans', sans-serif"},"data-id":"bkhsm6f9t","data-path":"src/components/Footer.tsx",children:e.label})},e.label))})]}),c.jsxs("div",{"data-id":"a0wlx5sm9","data-path":"src/components/Footer.tsx",children:[c.jsx("h4",{className:"font-semibold text-sm tracking-widest uppercase mb-5",style:{color:"hsl(40,58%,54%)",letterSpacing:"0.15em",fontFamily:"'DM Sans', sans-serif"},"data-id":"bpueodrgm","data-path":"src/components/Footer.tsx",children:"Get Involved"}),c.jsx("ul",{className:"space-y-2.5","data-id":"ikgk7wl5t","data-path":"src/components/Footer.tsx",children:[{label:"Donate",path:"/donate"},{label:"Blog",path:"/blog"},{label:"Rare Disease Awareness",path:"/rare-disease"},{label:"Contact Us",path:"/contact"},{label:"Privacy Policy",path:"/privacy-policy"},{label:"Terms & Conditions",path:"/terms"}].map(e=>c.jsx("li",{"data-id":"tati2ccx3","data-path":"src/components/Footer.tsx",children:c.jsx(Y,{to:e.path,className:"text-gray-400 hover:text-yellow-400 transition-colors text-sm",style:{fontFamily:"'DM Sans', sans-serif"},"data-id":"tjcsn3ry1","data-path":"src/components/Footer.tsx",children:e.label})},e.label))})]}),c.jsxs("div",{"data-id":"s9xrph8v8","data-path":"src/components/Footer.tsx",children:[c.jsx("h4",{className:"font-semibold text-sm tracking-widest uppercase mb-5",style:{color:"hsl(40,58%,54%)",letterSpacing:"0.15em",fontFamily:"'DM Sans', sans-serif"},"data-id":"2cikcj5bk","data-path":"src/components/Footer.tsx",children:"Contact"}),c.jsxs("ul",{className:"space-y-4","data-id":"5bszyq741","data-path":"src/components/Footer.tsx",children:[c.jsxs("li",{className:"flex items-start gap-3","data-id":"llz5bpimk","data-path":"src/components/Footer.tsx",children:[c.jsx(Cf,{className:"w-4 h-4 text-yellow-500 mt-0.5 flex-shrink-0","data-id":"qaf17l4lt","data-path":"src/components/Footer.tsx"}),c.jsx("span",{className:"text-gray-400 text-sm","data-id":"425uyhm3i","data-path":"src/components/Footer.tsx",children:"560 C Avenue, Coronado, CA 92118"})]}),c.jsxs("li",{className:"flex items-center gap-3","data-id":"n5o9vxsuc","data-path":"src/components/Footer.tsx",children:[c.jsx(Vv,{className:"w-4 h-4 text-yellow-500 flex-shrink-0","data-id":"wf37ub3i8","data-path":"src/components/Footer.tsx"}),c.jsx("a",{href:"tel:+16196662374",className:"text-gray-400 hover:text-yellow-400 transition-colors text-sm","data-id":"97ipslw27","data-path":"src/components/Footer.tsx",children:"+1-619-666-2374"})]}),c.jsxs("li",{className:"flex items-center gap-3","data-id":"fi5h82x49","data-path":"src/components/Footer.tsx",children:[c.jsx(_v,{className:"w-4 h-4 text-yellow-500 flex-shrink-0","data-id":"q9427qqtx","data-path":"src/components/Footer.tsx"}),c.jsx("a",{href:"mailto:ask@trustselaro.com",className:"text-gray-400 hover:text-yellow-400 transition-colors text-sm break-all","data-id":"hgk1b6wzu","data-path":"src/components/Footer.tsx",children:"ask@trustselaro.com"})]})]}),c.jsx("div",{className:"mt-8","data-id":"qr5aycohc","data-path":"src/components/Footer.tsx",children:c.jsxs(Y,{to:"/donate",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full text-sm font-semibold transition-all hover:opacity-90",style:{backgroundColor:"hsl(40,58%,54%)",color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"qup95hi5w","data-path":"src/components/Footer.tsx",children:[c.jsx(Se,{className:"w-4 h-4 fill-current","data-id":"d8nbsxq0m","data-path":"src/components/Footer.tsx"}),"Make a Gift"]})})]})]})}),c.jsx("div",{className:"border-t py-5",style:{borderColor:"hsl(218,55%,18%)"},"data-id":"kn97q6qfx","data-path":"src/components/Footer.tsx",children:c.jsxs("div",{className:"container mx-auto px-4 flex flex-col sm:flex-row justify-between items-center gap-2","data-id":"9r9ek0kun","data-path":"src/components/Footer.tsx",children:[c.jsxs("p",{className:"text-gray-500 text-xs",style:{fontFamily:"'DM Sans', sans-serif"},"data-id":"g30wpgi32","data-path":"src/components/Footer.tsx",children:["© ",new Date().getFullYear()," James Shirey Foundation Inc. All rights reserved. EIN: 82-3326571"]}),c.jsx("p",{className:"text-gray-600 text-xs",style:{fontFamily:"'DM Sans', sans-serif"},"data-id":"8d752vmg0","data-path":"src/components/Footer.tsx",children:"501(c)(3) Nonprofit Organization"})]})})]})}const kE=[{number:"1,400+",label:"Youth Supported",desc:"through charitable programs"},{number:"$285K+",label:"Raised for Causes",desc:"distributed to mission partners"},{number:"47",label:"Scholarships Funded",desc:"educational grants awarded"},{number:"12",label:"Partner Charities",desc:"supported across the nation"}],jE=[{icon:c.jsx(ii,{className:"w-7 h-7","data-id":"5zn84uc0b","data-path":"src/pages/HomePage.tsx"}),title:"Future Leaders Opportunity Fund",desc:"Investing directly in young people who demonstrate ambition, resilience, and a drive to give back. This fund channels community donations into mentorship, leadership workshops, and personal growth resources.",path:"/programs#future-leaders",tag:"Youth Development"},{icon:c.jsx(zv,{className:"w-7 h-7","data-id":"zejgc2lp9","data-path":"src/pages/HomePage.tsx"}),title:"Education & Achievement Support Initiative",desc:"Removing financial barriers to academic achievement through scholarships, educational grants, and partnerships with schools and universities that share our commitment to student success.",path:"/programs#education-achievement",tag:"Educational Opportunity"},{icon:c.jsx(Se,{className:"w-7 h-7 fill-current","data-id":"0dgjn19dw","data-path":"src/pages/HomePage.tsx"}),title:"Community Impact & Rare Disease Awareness",desc:"Amplifying voices that too rarely get heard. Through targeted fundraising and awareness campaigns, we connect our community to rare disease organizations that need support to continue their vital work.",path:"/programs#community-impact",tag:"Rare Disease Awareness"}],TE=[{quote:"The Future Leaders Fund didn't just give me scholarship money — it gave me a community of people who believed I could succeed when I wasn't sure I believed it myself.",name:"Marcus T.",role:"Scholarship Recipient, Class of 2023"},{quote:"Watching our son flourish through the Foundation's mentorship program has been one of the greatest gifts of our family's life. James Shirey's legacy lives on in every young person they touch.",name:"Linda & Robert P.",role:"Parent Family"},{quote:"As a principal, I've seen many organizations come through our school. The Shirey Foundation is different — they stay, they follow through, and they genuinely care about each student.",name:"Dr. Angela M.",role:"School Principal, San Diego USD"}],EE=[{tag:"Youth Development",title:"Why Investing in Young Leaders Today Builds Stronger Communities Tomorrow",date:"June 3, 2026",path:"/blog#article-1"},{tag:"Philanthropy",title:"Creating Educational Opportunity Through Community Fundraising",date:"May 17, 2026",path:"/blog#article-2"},{tag:"Rare Disease",title:"Amplifying Rare Disease Voices: How Awareness Saves Lives",date:"April 28, 2026",path:"/blog#article-3"}];function NE(){return c.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"hsl(38,50%,96%)"},"data-id":"zpgdl7z9p","data-path":"src/pages/HomePage.tsx",children:[c.jsx(yt,{"data-id":"cgzjmmwzh","data-path":"src/pages/HomePage.tsx"}),c.jsxs("section",{className:"relative min-h-screen flex items-center pt-20 overflow-hidden hero-pattern",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"sryakb3q8","data-path":"src/pages/HomePage.tsx",children:[c.jsx("div",{className:"absolute top-20 right-0 w-96 h-96 rounded-full opacity-5",style:{backgroundColor:"hsl(40,58%,54%)",transform:"translate(30%, -20%)"},"data-id":"qb4qop43y","data-path":"src/pages/HomePage.tsx"}),c.jsx("div",{className:"absolute bottom-0 left-0 w-72 h-72 rounded-full opacity-5",style:{backgroundColor:"hsl(40,58%,54%)",transform:"translate(-30%, 30%)"},"data-id":"ul80f9yu9","data-path":"src/pages/HomePage.tsx"}),c.jsx("div",{className:"container mx-auto px-4 relative z-10 py-24","data-id":"1f5gg907o","data-path":"src/pages/HomePage.tsx",children:c.jsxs("div",{className:"max-w-4xl","data-id":"i17hmq047","data-path":"src/pages/HomePage.tsx",children:[c.jsx("div",{className:"section-label mb-6 animate-fade-up",style:{color:"hsl(40,72%,65%)"},"data-id":"tq8l9n8db","data-path":"src/pages/HomePage.tsx",children:"In Memory of James Richard Shirey Jr."}),c.jsxs("h1",{className:"text-4xl md:text-6xl lg:text-7xl font-bold text-white leading-tight mb-8 animate-fade-up delay-100",style:{fontFamily:"'Playfair Display', serif"},"data-id":"45gax5ry3","data-path":"src/pages/HomePage.tsx",children:["Building Tomorrow's"," ",c.jsx("span",{style:{color:"hsl(40,72%,65%)"},"data-id":"gop90844k","data-path":"src/pages/HomePage.tsx",children:"Leaders"}),",",c.jsx("br",{"data-id":"cugftnqxs","data-path":"src/pages/HomePage.tsx"}),"Honoring a Lasting"," ",c.jsx("span",{style:{color:"hsl(40,72%,65%)"},"data-id":"dzamxxqz9","data-path":"src/pages/HomePage.tsx",children:"Legacy"})]}),c.jsx("p",{className:"text-lg md:text-xl text-gray-300 mb-10 max-w-2xl leading-relaxed animate-fade-up delay-200",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.2rem"},"data-id":"vwmwrjym9","data-path":"src/pages/HomePage.tsx",children:"The James Shirey Foundation raises funds for charities that support youth development, educational opportunity, and rare disease initiatives — creating meaningful change in memory of James."}),c.jsxs("div",{className:"flex flex-wrap gap-4 animate-fade-up delay-300","data-id":"k8qt1daod","data-path":"src/pages/HomePage.tsx",children:[c.jsxs(Y,{to:"/donate",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full font-semibold text-base transition-all hover:opacity-90 hover:shadow-xl",style:{backgroundColor:"hsl(40,58%,54%)",color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"wngyx9f1v","data-path":"src/pages/HomePage.tsx",children:[c.jsx(Se,{className:"w-5 h-5 fill-current","data-id":"7w6lnoutk","data-path":"src/pages/HomePage.tsx"}),"Make a Gift Today"]}),c.jsxs(Y,{to:"/about",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full font-semibold text-base border-2 text-white transition-all hover:bg-white/10",style:{borderColor:"rgba(255,255,255,0.3)",fontFamily:"'DM Sans', sans-serif"},"data-id":"9hoai8x08","data-path":"src/pages/HomePage.tsx",children:["Our Story",c.jsx(Bp,{className:"w-5 h-5","data-id":"diwly1dpg","data-path":"src/pages/HomePage.tsx"})]})]})]})}),c.jsxs("div",{className:"absolute bottom-8 left-1/2 -translate-x-1/2 flex flex-col items-center gap-2 opacity-40","data-id":"229il8xil","data-path":"src/pages/HomePage.tsx",children:[c.jsx("div",{className:"w-px h-12 animate-pulse",style:{backgroundColor:"hsl(40,58%,54%)"},"data-id":"dw2ve1xqn","data-path":"src/pages/HomePage.tsx"}),c.jsx("span",{className:"text-xs text-white tracking-widest uppercase",style:{letterSpacing:"0.2em"},"data-id":"0w295e68k","data-path":"src/pages/HomePage.tsx",children:"Scroll"})]})]}),c.jsx("section",{className:"bg-white py-12 shadow-sm","data-id":"17bu0ozow","data-path":"src/pages/HomePage.tsx",children:c.jsx("div",{className:"container mx-auto px-4","data-id":"18r9feb2g","data-path":"src/pages/HomePage.tsx",children:c.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-8 divide-y-2 lg:divide-y-0 lg:divide-x-2",style:{divideColor:"hsl(38,50%,92%)"},"data-id":"4uzymm0je","data-path":"src/pages/HomePage.tsx",children:kE.map(e=>c.jsxs("div",{className:"text-center px-4 py-4 lg:py-0","data-id":"g38ukhc8r","data-path":"src/pages/HomePage.tsx",children:[c.jsx("div",{className:"text-3xl md:text-4xl font-bold mb-1",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"sb8bk4oba","data-path":"src/pages/HomePage.tsx",children:e.number}),c.jsx("div",{className:"text-sm font-semibold mb-0.5",style:{color:"hsl(40,58%,54%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"dfnor6v9w","data-path":"src/pages/HomePage.tsx",children:e.label}),c.jsx("div",{className:"text-xs text-gray-500","data-id":"1gglltll4","data-path":"src/pages/HomePage.tsx",children:e.desc})]},e.label))})})}),c.jsx("section",{className:"py-20 bg-white","data-id":"feejtyqq7","data-path":"src/pages/HomePage.tsx",children:c.jsx("div",{className:"container mx-auto px-4","data-id":"2ch7z763r","data-path":"src/pages/HomePage.tsx",children:c.jsxs("div",{className:"max-w-3xl mx-auto text-center","data-id":"nwjunppmm","data-path":"src/pages/HomePage.tsx",children:[c.jsx("div",{className:"section-label mb-4","data-id":"9ditypbge","data-path":"src/pages/HomePage.tsx",children:"Our Purpose"}),c.jsx("div",{className:"gold-divider mx-auto mb-8","data-id":"6bfg71mwb","data-path":"src/pages/HomePage.tsx"}),c.jsx(Ru,{className:"w-10 h-10 mx-auto mb-6 opacity-20",style:{color:"hsl(40,58%,54%)"},"data-id":"72rvol538","data-path":"src/pages/HomePage.tsx"}),c.jsx("p",{className:"text-xl md:text-2xl leading-relaxed text-gray-700 mb-8",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.35rem"},"data-id":"vmn7zl3l8","data-path":"src/pages/HomePage.tsx",children:"The James Shirey Foundation, Inc. honors the memory of James Richard Shirey Jr. by raising funds for charities that support youth development, education, and rare disease initiatives. Through annual fundraising events and community engagement, the foundation seeks to create meaningful opportunities and improve the lives of young people."}),c.jsxs(Y,{to:"/about",className:"inline-flex items-center gap-2 text-sm font-semibold transition-colors hover:opacity-70",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"spwsx5vp7","data-path":"src/pages/HomePage.tsx",children:["Learn Our Story ",c.jsx(cn,{className:"w-4 h-4","data-id":"xs3v6vxcf","data-path":"src/pages/HomePage.tsx"})]})]})})}),c.jsx("section",{className:"py-20",style:{backgroundColor:"hsl(38,50%,96%)"},"data-id":"siank41rz","data-path":"src/pages/HomePage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"nvgaefw5k","data-path":"src/pages/HomePage.tsx",children:[c.jsxs("div",{className:"text-center mb-14","data-id":"c9io0r9ec","data-path":"src/pages/HomePage.tsx",children:[c.jsx("div",{className:"section-label mb-4","data-id":"k3rpn4i73","data-path":"src/pages/HomePage.tsx",children:"What We Do"}),c.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"7z8xusdcr","data-path":"src/pages/HomePage.tsx",children:"Our Programs"}),c.jsx("div",{className:"gold-divider mx-auto","data-id":"l23fk2m4h","data-path":"src/pages/HomePage.tsx"})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8","data-id":"d12p1rchf","data-path":"src/pages/HomePage.tsx",children:jE.map(e=>c.jsxs("div",{className:"bg-white rounded-2xl p-8 card-hover shadow-sm","data-id":"25g5rif1c","data-path":"src/pages/HomePage.tsx",children:[c.jsx("div",{className:"w-14 h-14 rounded-xl flex items-center justify-center mb-6",style:{backgroundColor:"hsl(218,70%,11%)",color:"hsl(40,72%,65%)"},"data-id":"quzs9myka","data-path":"src/pages/HomePage.tsx",children:e.icon}),c.jsx("span",{className:"inline-block px-3 py-1 rounded-full text-xs font-semibold mb-4",style:{backgroundColor:"hsl(42,72%,92%)",color:"hsl(40,58%,40%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"vxau8bjpb","data-path":"src/pages/HomePage.tsx",children:e.tag}),c.jsx("h3",{className:"text-xl font-bold mb-4 leading-tight",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"sy3x6zoez","data-path":"src/pages/HomePage.tsx",children:e.title}),c.jsx("p",{className:"text-gray-600 text-sm leading-relaxed mb-6",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.05rem"},"data-id":"8e53nyzfe","data-path":"src/pages/HomePage.tsx",children:e.desc}),c.jsxs(Y,{to:e.path,className:"inline-flex items-center gap-1 text-sm font-semibold transition-colors hover:opacity-70",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"xnz97clzn","data-path":"src/pages/HomePage.tsx",children:["Learn More ",c.jsx(cn,{className:"w-4 h-4","data-id":"fzmp57lr1","data-path":"src/pages/HomePage.tsx"})]})]},e.title))}),c.jsx("div",{className:"text-center mt-10","data-id":"fem7w18ew","data-path":"src/pages/HomePage.tsx",children:c.jsxs(Y,{to:"/programs",className:"inline-flex items-center gap-2 px-7 py-3.5 rounded-full font-semibold text-sm border-2 transition-all hover:bg-navy hover:text-white",style:{borderColor:"hsl(218,70%,11%)",color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"hcaxn5p5b","data-path":"src/pages/HomePage.tsx",children:["Explore All Programs ",c.jsx(Bp,{className:"w-4 h-4","data-id":"914dpgwlq","data-path":"src/pages/HomePage.tsx"})]})})]})}),c.jsx("section",{className:"py-20",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"wsvcod0j1","data-path":"src/pages/HomePage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4 text-center","data-id":"ezplnwrts","data-path":"src/pages/HomePage.tsx",children:[c.jsx("div",{className:"section-label mb-4",style:{color:"hsl(40,72%,65%)"},"data-id":"e2kiukaso","data-path":"src/pages/HomePage.tsx",children:"Make a Difference"}),c.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-white mb-6",style:{fontFamily:"'Playfair Display', serif"},"data-id":"ll3atd4lo","data-path":"src/pages/HomePage.tsx",children:"Your Gift Changes Lives"}),c.jsx("p",{className:"text-gray-400 max-w-xl mx-auto mb-10 text-lg",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.15rem"},"data-id":"pweark6aa","data-path":"src/pages/HomePage.tsx",children:"Every dollar you give funds scholarships, supports youth programs, and advances rare disease awareness in honor of James Richard Shirey Jr."}),c.jsxs("div",{className:"flex flex-wrap justify-center gap-4","data-id":"hsy45zfin","data-path":"src/pages/HomePage.tsx",children:[c.jsxs(Y,{to:"/donate",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full font-semibold text-base transition-all hover:opacity-90",style:{backgroundColor:"hsl(40,58%,54%)",color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"yh81664of","data-path":"src/pages/HomePage.tsx",children:[c.jsx(Se,{className:"w-5 h-5 fill-current","data-id":"gxzp16007","data-path":"src/pages/HomePage.tsx"}),"Donate Now"]}),c.jsxs(Y,{to:"/events",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full font-semibold text-base border-2 text-white transition-all hover:bg-white/10",style:{borderColor:"rgba(255,255,255,0.3)",fontFamily:"'DM Sans', sans-serif"},"data-id":"rf9lkrnta","data-path":"src/pages/HomePage.tsx",children:[c.jsx(xa,{className:"w-5 h-5","data-id":"kzlcb2nop","data-path":"src/pages/HomePage.tsx"}),"Join an Event"]})]})]})}),c.jsx("section",{className:"py-20 bg-white","data-id":"5qrujn8rv","data-path":"src/pages/HomePage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"1a1h1gafs","data-path":"src/pages/HomePage.tsx",children:[c.jsxs("div",{className:"text-center mb-14","data-id":"cq1a0q53k","data-path":"src/pages/HomePage.tsx",children:[c.jsx("div",{className:"section-label mb-4","data-id":"9tpwgjmt8","data-path":"src/pages/HomePage.tsx",children:"Community Voices"}),c.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"wjgykeqzv","data-path":"src/pages/HomePage.tsx",children:"Hear from Those We Serve"}),c.jsx("div",{className:"gold-divider mx-auto","data-id":"zrfocq99m","data-path":"src/pages/HomePage.tsx"})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 max-w-5xl mx-auto","data-id":"f2u8knhw8","data-path":"src/pages/HomePage.tsx",children:TE.map(e=>c.jsxs("div",{className:"rounded-2xl p-8 relative card-hover",style:{backgroundColor:"hsl(38,50%,97%)"},"data-id":"nq0rsn6g5","data-path":"src/pages/HomePage.tsx",children:[c.jsx("div",{className:"absolute top-6 right-6 opacity-10","data-id":"ook0pmvu1","data-path":"src/pages/HomePage.tsx",children:c.jsx(Ru,{className:"w-10 h-10",style:{color:"hsl(40,58%,54%)"},"data-id":"v5r1nzszi","data-path":"src/pages/HomePage.tsx"})}),c.jsx("div",{className:"flex mb-4","data-id":"67et1g4qo","data-path":"src/pages/HomePage.tsx",children:[...Array(5)].map((t,n)=>c.jsx(Bv,{className:"w-4 h-4 fill-current",style:{color:"hsl(40,58%,54%)"},"data-id":"6lt6dzvd3","data-path":"src/pages/HomePage.tsx"},n))}),c.jsxs("p",{className:"text-gray-700 leading-relaxed mb-6",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.1rem"},"data-id":"wrvf8kcnu","data-path":"src/pages/HomePage.tsx",children:['"',e.quote,'"']}),c.jsxs("div",{"data-id":"xix1m9sa5","data-path":"src/pages/HomePage.tsx",children:[c.jsx("div",{className:"font-semibold text-sm",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"oj64344td","data-path":"src/pages/HomePage.tsx",children:e.name}),c.jsx("div",{className:"text-xs text-gray-500 mt-0.5","data-id":"whq4nxox0","data-path":"src/pages/HomePage.tsx",children:e.role})]})]},e.name))})]})}),c.jsx("section",{className:"py-20",style:{backgroundColor:"hsl(38,50%,96%)"},"data-id":"du6kyajwh","data-path":"src/pages/HomePage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"gz3j22pyy","data-path":"src/pages/HomePage.tsx",children:[c.jsxs("div",{className:"flex flex-col md:flex-row md:items-end md:justify-between mb-12 gap-4","data-id":"ji8ilb6fi","data-path":"src/pages/HomePage.tsx",children:[c.jsxs("div",{"data-id":"dff2rg8el","data-path":"src/pages/HomePage.tsx",children:[c.jsx("div",{className:"section-label mb-4","data-id":"8hwrqnfir","data-path":"src/pages/HomePage.tsx",children:"Latest Insights"}),c.jsx("h2",{className:"text-3xl md:text-4xl font-bold",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"3b4sfiwe2","data-path":"src/pages/HomePage.tsx",children:"From Our Blog"})]}),c.jsxs(Y,{to:"/blog",className:"inline-flex items-center gap-2 text-sm font-semibold shrink-0 transition-colors hover:opacity-70",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"cdkfe0abc","data-path":"src/pages/HomePage.tsx",children:["View All Articles ",c.jsx(cn,{className:"w-4 h-4","data-id":"eebe9qxt8","data-path":"src/pages/HomePage.tsx"})]})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8","data-id":"dvksx3vzy","data-path":"src/pages/HomePage.tsx",children:EE.map(e=>c.jsxs(Y,{to:e.path,className:"group bg-white rounded-2xl overflow-hidden card-hover shadow-sm block","data-id":"5km4ve9x9","data-path":"src/pages/HomePage.tsx",children:[c.jsx("div",{className:"h-48 flex items-end p-6",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"gnj3zovw4","data-path":"src/pages/HomePage.tsx",children:c.jsx("span",{className:"inline-block px-3 py-1 rounded-full text-xs font-semibold",style:{backgroundColor:"hsl(40,58%,54%)",color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"frrucuppj","data-path":"src/pages/HomePage.tsx",children:e.tag})}),c.jsxs("div",{className:"p-6","data-id":"jbrexccou","data-path":"src/pages/HomePage.tsx",children:[c.jsx("p",{className:"text-xs text-gray-400 mb-3","data-id":"31a0iq0bp","data-path":"src/pages/HomePage.tsx",children:e.date}),c.jsx("h3",{className:"font-bold leading-snug mb-4 group-hover:text-amber-700 transition-colors",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"9nmzbl565","data-path":"src/pages/HomePage.tsx",children:e.title}),c.jsxs("span",{className:"inline-flex items-center gap-1 text-sm font-semibold",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"70bl3ntbo","data-path":"src/pages/HomePage.tsx",children:["Read More ",c.jsx(cn,{className:"w-4 h-4","data-id":"aq1jxnptf","data-path":"src/pages/HomePage.tsx"})]})]})]},e.title))})]})}),c.jsx(xt,{"data-id":"orn03eqew","data-path":"src/pages/HomePage.tsx"})]})}const AE=[{name:"Patricia Shirey",role:"Executive Director & Co-Founder",bio:"Patricia leads the Foundation with a deep personal commitment to her late husband's values of service, community, and opportunity. Under her direction, the Foundation has grown into a recognized force for youth development in Southern California."},{name:"Thomas Arellano",role:"Board Chair",bio:"A retired educator with 30 years in San Diego's school system, Thomas brings academic perspective and community credibility to the Foundation's governance and strategic direction."},{name:"Dr. Renee Caldwell",role:"Board Member – Rare Disease Initiatives",bio:"An advocate and researcher in the rare disease space, Dr. Caldwell ensures the Foundation's awareness programs reflect the real experiences of patients and families affected by rare conditions."},{name:"Kevin Matsuda",role:"Board Member – Community Partnerships",bio:"Kevin brings extensive nonprofit development experience and a deep network of charitable partners, ensuring the Foundation's funds reach organizations that create measurable impact."},{name:"Maria Santos",role:"Program Director",bio:"Maria manages day-to-day program operations and coordinates directly with scholarship recipients, mentors, and partner organizations to ensure every young person supported by the Foundation has the resources they need."}],DE=[{icon:c.jsx(Se,{className:"w-6 h-6","data-id":"5c82eq0ic","data-path":"src/pages/AboutPage.tsx"}),title:"Legacy Through Action",desc:"Every program we run, every dollar we raise, every life we touch is a living tribute to James Richard Shirey Jr. We honor his memory not through words alone, but through deeds."},{icon:c.jsx(v2,{className:"w-6 h-6","data-id":"kj54x95lf","data-path":"src/pages/AboutPage.tsx"}),title:"Purposeful Giving",desc:"We do not scatter resources. We identify high-impact charitable partners, vet them rigorously, and direct funding where it genuinely changes outcomes for youth and families."},{icon:c.jsx(JC,{className:"w-6 h-6","data-id":"fa4y4f8hf","data-path":"src/pages/AboutPage.tsx"}),title:"Transparency & Trust",desc:"Our donors and community supporters deserve to know exactly how their contributions are used. We publish our impact data and maintain open relationships with our charitable partners."},{icon:c.jsx(ii,{className:"w-6 h-6","data-id":"b9ynccv7n","data-path":"src/pages/AboutPage.tsx"}),title:"Community First",desc:"The Foundation is rooted in Coronado and serves the broader San Diego region. We believe the strongest change starts close to home and radiates outward."}];function RE(){return c.jsxs("div",{className:"min-h-screen bg-white","data-id":"d032hm1nv","data-path":"src/pages/AboutPage.tsx",children:[c.jsx(yt,{"data-id":"7tbc1w917","data-path":"src/pages/AboutPage.tsx"}),c.jsx("section",{className:"pt-32 pb-20",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"381kbkxos","data-path":"src/pages/AboutPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"zd0rzcvf9","data-path":"src/pages/AboutPage.tsx",children:[c.jsx("div",{className:"section-label mb-4",style:{color:"hsl(40,72%,65%)"},"data-id":"xgg66emnr","data-path":"src/pages/AboutPage.tsx",children:"About the Foundation"}),c.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-6",style:{fontFamily:"'Playfair Display', serif"},"data-id":"vesjvbjmg","data-path":"src/pages/AboutPage.tsx",children:"Who We Are"}),c.jsx("p",{className:"text-gray-400 max-w-2xl text-lg",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.15rem"},"data-id":"k0zpfwl8h","data-path":"src/pages/AboutPage.tsx",children:"A community-driven nonprofit honoring a life of purpose by creating opportunity for those who need it most."})]})}),c.jsx("section",{id:"our-story",className:"py-20","data-id":"ztwgf8i9c","data-path":"src/pages/AboutPage.tsx",children:c.jsx("div",{className:"container mx-auto px-4","data-id":"xuoo34ncf","data-path":"src/pages/AboutPage.tsx",children:c.jsxs("div",{className:"max-w-4xl mx-auto","data-id":"bgtki9zy0","data-path":"src/pages/AboutPage.tsx",children:[c.jsx("div",{className:"section-label mb-4","data-id":"5sg477ie9","data-path":"src/pages/AboutPage.tsx",children:"Our Story"}),c.jsx("div",{className:"gold-divider mb-10","data-id":"l3t7mh9kr","data-path":"src/pages/AboutPage.tsx"}),c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-5 gap-12","data-id":"ongpn7bbh","data-path":"src/pages/AboutPage.tsx",children:[c.jsxs("div",{className:"lg:col-span-3","data-id":"09o6kxyik","data-path":"src/pages/AboutPage.tsx",children:[c.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-8",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"8udn3gqdw","data-path":"src/pages/AboutPage.tsx",children:"A Life That Deserved to Be Remembered"}),c.jsxs("div",{className:"space-y-5 text-gray-700",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.1rem",lineHeight:"1.8"},"data-id":"p4vo765bz","data-path":"src/pages/AboutPage.tsx",children:[c.jsx("p",{"data-id":"ly47jrml9","data-path":"src/pages/AboutPage.tsx",children:"James Richard Shirey Jr. was a man defined by his investment in others — a father, a friend, a community presence who understood that lasting change comes from showing up, consistently, for the people around you."}),c.jsx("p",{"data-id":"fntkt00no","data-path":"src/pages/AboutPage.tsx",children:"After his passing, those who knew him best were determined that his spirit would not fade into memory. In 2017, the James Shirey Foundation Inc. was incorporated as a 501(c)(3) nonprofit organization, built on the simple belief that the best way to honor a life well lived is to continue the work that life stood for."}),c.jsx("p",{"data-id":"p4o4u0tj0","data-path":"src/pages/AboutPage.tsx",children:"Starting with a small community fundraising event in Coronado, California, the Foundation grew into an organization that now supports youth development programs, funds educational scholarships, and advances awareness for rare diseases — areas that were close to James's heart and close to the hearts of those who loved him."}),c.jsx("p",{"data-id":"rawa5i56f","data-path":"src/pages/AboutPage.tsx",children:"Today, the Foundation reaches young people across San Diego County and beyond, channeling community generosity into programs and charitable partners that create the kind of durable, meaningful change James himself would have championed."})]})]}),c.jsx("div",{className:"lg:col-span-2","data-id":"3aw6o6vbi","data-path":"src/pages/AboutPage.tsx",children:c.jsx("div",{className:"rounded-2xl p-8 h-full flex flex-col justify-center",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"0tpyendlx","data-path":"src/pages/AboutPage.tsx",children:c.jsxs("div",{className:"text-center","data-id":"yt0tcvpc2","data-path":"src/pages/AboutPage.tsx",children:[c.jsx("div",{className:"w-20 h-20 rounded-full mx-auto mb-6 flex items-center justify-center",style:{backgroundColor:"hsl(40,58%,54%)"},"data-id":"rja3f67su","data-path":"src/pages/AboutPage.tsx",children:c.jsx(Se,{className:"w-10 h-10 text-white fill-white","data-id":"xdde1rjp3","data-path":"src/pages/AboutPage.tsx"})}),c.jsx("p",{className:"font-bold text-2xl text-white mb-2",style:{fontFamily:"'Playfair Display', serif"},"data-id":"0xtya8uep","data-path":"src/pages/AboutPage.tsx",children:"James Richard Shirey Jr."}),c.jsx("p",{className:"text-yellow-400 text-sm mb-6","data-id":"w8qp3m3w2","data-path":"src/pages/AboutPage.tsx",children:"1962 – 2017"}),c.jsx("p",{className:"text-gray-400 text-sm italic",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1rem"},"data-id":"zrpkwmm3o","data-path":"src/pages/AboutPage.tsx",children:'"His greatest legacy was not what he built, but what he made possible in others."'}),c.jsxs("div",{className:"mt-8 pt-6 border-t",style:{borderColor:"hsl(218,55%,25%)"},"data-id":"ccxaf3add","data-path":"src/pages/AboutPage.tsx",children:[c.jsx("p",{className:"text-xs text-gray-500","data-id":"9te7jv553","data-path":"src/pages/AboutPage.tsx",children:"Registered Nonprofit"}),c.jsx("p",{className:"text-yellow-500 font-semibold text-sm mt-1","data-id":"gpbm8z5al","data-path":"src/pages/AboutPage.tsx",children:"EIN: 82-3326571"})]})]})})})]})]})})}),c.jsx("section",{id:"mission-values",className:"py-20",style:{backgroundColor:"hsl(38,50%,96%)"},"data-id":"wv1o9hjs4","data-path":"src/pages/AboutPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"9yn80f61u","data-path":"src/pages/AboutPage.tsx",children:[c.jsxs("div",{className:"text-center mb-14","data-id":"35vm7byf1","data-path":"src/pages/AboutPage.tsx",children:[c.jsx("div",{className:"section-label mb-4","data-id":"jk49lnt2f","data-path":"src/pages/AboutPage.tsx",children:"Mission & Values"}),c.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"psppylq2y","data-path":"src/pages/AboutPage.tsx",children:"What Drives Us"}),c.jsx("div",{className:"gold-divider mx-auto mb-8","data-id":"o1l7dgcet","data-path":"src/pages/AboutPage.tsx"}),c.jsx("p",{className:"max-w-2xl mx-auto text-gray-700 text-lg",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.15rem"},"data-id":"3w34z2jy2","data-path":"src/pages/AboutPage.tsx",children:"The James Shirey Foundation raises funds for charities that support youth development, education, and rare disease initiatives — creating meaningful opportunities and improving lives."})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 max-w-4xl mx-auto","data-id":"jfwb3tjsh","data-path":"src/pages/AboutPage.tsx",children:DE.map(e=>c.jsxs("div",{className:"bg-white rounded-2xl p-8 card-hover shadow-sm","data-id":"tb3liquli","data-path":"src/pages/AboutPage.tsx",children:[c.jsx("div",{className:"w-12 h-12 rounded-xl flex items-center justify-center mb-5",style:{backgroundColor:"hsl(218,70%,11%)",color:"hsl(40,72%,65%)"},"data-id":"tc6hr95uk","data-path":"src/pages/AboutPage.tsx",children:e.icon}),c.jsx("h3",{className:"text-xl font-bold mb-3",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"aqdfmrozu","data-path":"src/pages/AboutPage.tsx",children:e.title}),c.jsx("p",{className:"text-gray-600 leading-relaxed",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.05rem"},"data-id":"5jrgcfd3u","data-path":"src/pages/AboutPage.tsx",children:e.desc})]},e.title))})]})}),c.jsx("section",{id:"team",className:"py-20 bg-white","data-id":"0y0mlyfy1","data-path":"src/pages/AboutPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"zquk75dlq","data-path":"src/pages/AboutPage.tsx",children:[c.jsxs("div",{className:"text-center mb-14","data-id":"ddr0pwdg7","data-path":"src/pages/AboutPage.tsx",children:[c.jsx("div",{className:"section-label mb-4","data-id":"hb70pmxfs","data-path":"src/pages/AboutPage.tsx",children:"Leadership"}),c.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"qj3k7px97","data-path":"src/pages/AboutPage.tsx",children:"Our Team"}),c.jsx("div",{className:"gold-divider mx-auto","data-id":"ohoigktz0","data-path":"src/pages/AboutPage.tsx"})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 max-w-5xl mx-auto","data-id":"9u5icdocp","data-path":"src/pages/AboutPage.tsx",children:AE.map(e=>c.jsxs("div",{className:"rounded-2xl p-8 card-hover",style:{backgroundColor:"hsl(38,50%,97%)"},"data-id":"tcxcsa9ls","data-path":"src/pages/AboutPage.tsx",children:[c.jsx("div",{className:"w-14 h-14 rounded-full mb-5 flex items-center justify-center font-bold text-xl text-white",style:{backgroundColor:"hsl(218,70%,11%)",fontFamily:"'Playfair Display', serif"},"data-id":"8n54vaf5s","data-path":"src/pages/AboutPage.tsx",children:e.name.split(" ").map(t=>t[0]).slice(0,2).join("")}),c.jsx("h3",{className:"font-bold text-lg mb-1",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"iduvas5bn","data-path":"src/pages/AboutPage.tsx",children:e.name}),c.jsx("p",{className:"text-xs font-semibold mb-4",style:{color:"hsl(40,58%,54%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"xn4lsx4mm","data-path":"src/pages/AboutPage.tsx",children:e.role}),c.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1rem"},"data-id":"8kyzan374","data-path":"src/pages/AboutPage.tsx",children:e.bio})]},e.name))})]})}),c.jsx("section",{className:"py-16",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"qvm8a1ua5","data-path":"src/pages/AboutPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4 text-center","data-id":"mafgyfy2e","data-path":"src/pages/AboutPage.tsx",children:[c.jsx("h2",{className:"text-3xl font-bold text-white mb-4",style:{fontFamily:"'Playfair Display', serif"},"data-id":"uzw9xp0os","data-path":"src/pages/AboutPage.tsx",children:"Become Part of the Legacy"}),c.jsx("p",{className:"text-gray-400 mb-8 max-w-xl mx-auto",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.1rem"},"data-id":"ktgagp8pu","data-path":"src/pages/AboutPage.tsx",children:"Whether you give, volunteer, or simply spread the word — you're helping carry James's story forward."}),c.jsxs(Y,{to:"/donate",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full font-semibold transition-all hover:opacity-90",style:{backgroundColor:"hsl(40,58%,54%)",color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"thxjrxt1b","data-path":"src/pages/AboutPage.tsx",children:[c.jsx(Se,{className:"w-5 h-5 fill-current","data-id":"89tgmn214","data-path":"src/pages/AboutPage.tsx"}),"Donate Today"]})]})}),c.jsx(xt,{"data-id":"w6ro7ty6c","data-path":"src/pages/AboutPage.tsx"})]})}const ME=[{id:"future-leaders",icon:c.jsx(ii,{className:"w-8 h-8","data-id":"eneu9fsni","data-path":"src/pages/ProgramsPage.tsx"}),tag:"Youth Development",title:"Future Leaders Opportunity Fund",tagline:"Investing in who they are becoming, not just what they've achieved.",description:"The Future Leaders Opportunity Fund was designed to reach young people at a pivotal point in their development — the moment when direction, mentorship, and belief in their potential can permanently alter their trajectory. We channel community donations into hands-on leadership experiences, one-on-one mentorship programs, and personal growth workshops that go well beyond the classroom.",outcomes:["Leadership workshops and cohort experiences","One-on-one mentorship pairing with community leaders","Personal development grants for youth ages 14–24","Access to professional networking and career exploration","Annual Future Leaders Summit for program participants"],impact:"620+ youth enrolled since program inception",color:"hsl(218,70%,11%)"},{id:"education-achievement",icon:c.jsx(zv,{className:"w-8 h-8","data-id":"lmyneqit3","data-path":"src/pages/ProgramsPage.tsx"}),tag:"Educational Opportunity",title:"Education & Achievement Support Initiative",tagline:"Because financial barriers should never determine educational destiny.",description:"The Education & Achievement Support Initiative exists to ensure that financial hardship is never the reason a capable, motivated student fails to pursue their education. Through scholarships, direct grants, and partnerships with local schools and universities, we fund access — not just aspiration — for students who have the drive but lack the resources.",outcomes:["Annual scholarship awards for high school and college students","Emergency educational grants for students facing mid-year crises","Partnerships with San Diego-area schools and higher education institutions","Support for tutoring, test preparation, and enrichment programs","Academic achievement recognition for scholarship recipients"],impact:"47 scholarships funded, $185K+ in educational grants",color:"hsl(218,70%,11%)"},{id:"community-impact",icon:c.jsx(Se,{className:"w-8 h-8 fill-current","data-id":"8w2j7twne","data-path":"src/pages/ProgramsPage.tsx"}),tag:"Community & Rare Disease",title:"Community Impact & Rare Disease Awareness",tagline:"Amplifying voices that too often go unheard.",description:"Rare diseases affect more than 300 million people worldwide, yet many families navigating these diagnoses feel invisible — underfunded, underrepresented, and alone. The Community Impact & Rare Disease Awareness program channels Foundation fundraising into awareness campaigns and direct support for charitable organizations working on the front lines of rare disease research, advocacy, and patient care.",outcomes:["Annual Rare Disease Awareness Campaign each February","Fundraising directed to vetted rare disease charity partners","Community education events and patient family panels","Volunteer coordination for rare disease charity events","Digital awareness content and social media amplification"],impact:"8 awareness initiatives funded, 12 charity partners supported",color:"hsl(218,70%,11%)"}];function FE(){return c.jsxs("div",{className:"min-h-screen bg-white","data-id":"ikmndqggx","data-path":"src/pages/ProgramsPage.tsx",children:[c.jsx(yt,{"data-id":"kjsfsy2y2","data-path":"src/pages/ProgramsPage.tsx"}),c.jsx("section",{className:"pt-32 pb-20",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"fi1fsog20","data-path":"src/pages/ProgramsPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"ckzf2gun4","data-path":"src/pages/ProgramsPage.tsx",children:[c.jsx("div",{className:"section-label mb-4",style:{color:"hsl(40,72%,65%)"},"data-id":"oibku11rf","data-path":"src/pages/ProgramsPage.tsx",children:"What We Do"}),c.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-6",style:{fontFamily:"'Playfair Display', serif"},"data-id":"cwuof7t42","data-path":"src/pages/ProgramsPage.tsx",children:"Our Programs"}),c.jsx("p",{className:"text-gray-400 max-w-2xl text-lg",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.15rem"},"data-id":"yn6kuflpq","data-path":"src/pages/ProgramsPage.tsx",children:"Three mission-aligned programs that channel community generosity into lasting change for youth, students, and rare disease communities."})]})}),ME.map((e,t)=>c.jsx("section",{id:e.id,className:`py-20 ${t%2===0?"bg-white":""}`,style:t%2!==0?{backgroundColor:"hsl(38,50%,96%)"}:{},"data-id":"69vgv88jx","data-path":"src/pages/ProgramsPage.tsx",children:c.jsx("div",{className:"container mx-auto px-4","data-id":"x2wn7yuzr","data-path":"src/pages/ProgramsPage.tsx",children:c.jsx("div",{className:"max-w-5xl mx-auto","data-id":"6uc9h51gs","data-path":"src/pages/ProgramsPage.tsx",children:c.jsxs("div",{className:`grid grid-cols-1 lg:grid-cols-2 gap-12 items-center ${t%2!==0?"lg:flex-row-reverse":""}`,"data-id":"zs7t93vkf","data-path":"src/pages/ProgramsPage.tsx",children:[c.jsxs("div",{className:t%2!==0?"lg:order-2":"","data-id":"9q3eupauq","data-path":"src/pages/ProgramsPage.tsx",children:[c.jsx("span",{className:"inline-block px-3 py-1 rounded-full text-xs font-semibold mb-5",style:{backgroundColor:"hsl(42,72%,92%)",color:"hsl(40,58%,40%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"ho8ay9nw4","data-path":"src/pages/ProgramsPage.tsx",children:e.tag}),c.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4 leading-tight",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"m6fnto9c3","data-path":"src/pages/ProgramsPage.tsx",children:e.title}),c.jsx("p",{className:"text-lg italic mb-6",style:{color:"hsl(40,58%,54%)",fontFamily:"'Crimson Pro', serif"},"data-id":"ppg80wt0w","data-path":"src/pages/ProgramsPage.tsx",children:e.tagline}),c.jsx("p",{className:"text-gray-700 leading-relaxed mb-8",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.1rem",lineHeight:"1.8"},"data-id":"mrs8lz4tt","data-path":"src/pages/ProgramsPage.tsx",children:e.description}),c.jsxs(Y,{to:"/donate",className:"inline-flex items-center gap-2 px-7 py-3.5 rounded-full font-semibold text-sm transition-all hover:opacity-90",style:{backgroundColor:"hsl(218,70%,11%)",color:"white",fontFamily:"'DM Sans', sans-serif"},"data-id":"w8injurft","data-path":"src/pages/ProgramsPage.tsx",children:["Support This Program ",c.jsx(cn,{className:"w-4 h-4","data-id":"0ix1ib2aj","data-path":"src/pages/ProgramsPage.tsx"})]})]}),c.jsx("div",{className:t%2!==0?"lg:order-1":"","data-id":"hozem97kz","data-path":"src/pages/ProgramsPage.tsx",children:c.jsxs("div",{className:"rounded-2xl p-8 h-full",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"3pnm1omec","data-path":"src/pages/ProgramsPage.tsx",children:[c.jsx("div",{className:"w-16 h-16 rounded-xl flex items-center justify-center mb-6",style:{backgroundColor:"hsl(40,58%,54%)",color:"white"},"data-id":"qcmiekzj0","data-path":"src/pages/ProgramsPage.tsx",children:e.icon}),c.jsx("h4",{className:"text-white font-bold text-lg mb-5",style:{fontFamily:"'Playfair Display', serif"},"data-id":"wp6armoxp","data-path":"src/pages/ProgramsPage.tsx",children:"Program Outcomes"}),c.jsx("ul",{className:"space-y-3","data-id":"h2g9smqb3","data-path":"src/pages/ProgramsPage.tsx",children:e.outcomes.map(n=>c.jsxs("li",{className:"flex items-start gap-3 text-gray-300 text-sm",style:{fontFamily:"'DM Sans', sans-serif"},"data-id":"8tm7t1w22","data-path":"src/pages/ProgramsPage.tsx",children:[c.jsx(Sf,{className:"w-4 h-4 mt-0.5 flex-shrink-0",style:{color:"hsl(40,72%,65%)"},"data-id":"sugbn89v3","data-path":"src/pages/ProgramsPage.tsx"}),n]},n))}),c.jsxs("div",{className:"mt-6 pt-5 border-t",style:{borderColor:"hsl(218,55%,25%)"},"data-id":"6l9xt0n8c","data-path":"src/pages/ProgramsPage.tsx",children:[c.jsx("p",{className:"text-xs text-gray-500 mb-1","data-id":"3yvffw15i","data-path":"src/pages/ProgramsPage.tsx",children:"Program Impact"}),c.jsx("p",{className:"text-yellow-400 font-semibold text-sm","data-id":"9ofj7d39b","data-path":"src/pages/ProgramsPage.tsx",children:e.impact})]})]})})]})})})},e.id)),c.jsx("section",{className:"py-16",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"kjasm3ve7","data-path":"src/pages/ProgramsPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4 text-center","data-id":"6wf7wodmm","data-path":"src/pages/ProgramsPage.tsx",children:[c.jsx("h2",{className:"text-3xl font-bold text-white mb-4",style:{fontFamily:"'Playfair Display', serif"},"data-id":"u1mty4vzq","data-path":"src/pages/ProgramsPage.tsx",children:"Ready to Make a Difference?"}),c.jsx("p",{className:"text-gray-400 mb-8 max-w-xl mx-auto",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.1rem"},"data-id":"0iyn3j91n","data-path":"src/pages/ProgramsPage.tsx",children:"Your gift directly fuels these programs and creates opportunity for young people across our community."}),c.jsxs(Y,{to:"/donate",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full font-semibold transition-all hover:opacity-90",style:{backgroundColor:"hsl(40,58%,54%)",color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"vkp4sbefd","data-path":"src/pages/ProgramsPage.tsx",children:[c.jsx(Se,{className:"w-5 h-5 fill-current","data-id":"jcyh8v417","data-path":"src/pages/ProgramsPage.tsx"}),"Donate Today"]})]})}),c.jsx(xt,{"data-id":"ctb85gto3","data-path":"src/pages/ProgramsPage.tsx"})]})}const OE=[{number:"1,400+",label:"Youth Supported",desc:"Young people enrolled in or served by Foundation programs and partner organizations."},{number:"47",label:"Scholarships Funded",desc:"Educational grants awarded to high school and college students since 2018."},{number:"18",label:"Events Hosted",desc:"Annual and community fundraising events held across Southern California."},{number:"12",label:"Organizations Supported",desc:"Vetted nonprofit partners receiving Foundation funds each year."},{number:"8",label:"Awareness Initiatives",desc:"Rare disease awareness campaigns and community education programs funded."},{number:"340+",label:"Volunteers Engaged",desc:"Community members who have donated their time and skills to Foundation events."},{number:"24",label:"Partnerships Established",desc:"Active relationships with schools, charities, and community organizations."},{number:"$285K+",label:"Funds Distributed",desc:"Total charitable dollars directed to mission-aligned programs and partner organizations."}],LE=[{quote:"The Future Leaders Fund didn't just give me scholarship money — it gave me a community of people who believed I could succeed when I wasn't sure I believed it myself.",name:"Marcus T.",role:"Scholarship Recipient, Class of 2023",category:"Youth Participant"},{quote:"Watching our son flourish through the Foundation's mentorship program has been one of the greatest gifts of our family's life. James Shirey's legacy lives on in every young person they touch.",name:"Linda & Robert P.",role:"Parent Family",category:"Family"},{quote:"As a principal, I've seen many organizations come through our school. The Shirey Foundation is different — they stay, they follow through, and they genuinely care about each student.",name:"Dr. Angela M.",role:"School Principal, San Diego USD",category:"Educator"},{quote:"Receiving this scholarship meant I didn't have to choose between my education and supporting my family. I'm the first in my family to graduate college, and the Foundation helped make that happen.",name:"Sofia R.",role:"Scholarship Recipient, UC San Diego",category:"Scholarship Recipient"},{quote:"Our rare disease organization had been struggling to get noticed. The Shirey Foundation's awareness campaign brought more attention to our work in one month than we'd achieved in two years.",name:"Jonathan B.",role:"Executive Director, San Diego Rare Patient Alliance",category:"Charity Partner"},{quote:"I started volunteering at their annual fundraiser not knowing what to expect. Three years later, it's the highlight of my year. The community here is extraordinary.",name:"Denise L.",role:"Annual Gala Volunteer",category:"Volunteer"},{quote:"The Foundation supported our community health initiative at a time when funding was incredibly difficult to find. Their trust in our mission validated everything we were working toward.",name:"Michael T.",role:"Community Health Program Director",category:"Community Supporter"},{quote:"I attended their youth leadership workshop expecting basic content. Instead, I was challenged in ways that completely changed how I see my own potential and responsibility to others.",name:"Aaliyah J.",role:"Future Leaders Program Participant",category:"Youth Participant"}],bm={"Youth Participant":"hsl(210,80%,40%)",Family:"hsl(340,60%,45%)",Educator:"hsl(155,55%,35%)","Scholarship Recipient":"hsl(40,70%,40%)","Charity Partner":"hsl(270,55%,45%)",Volunteer:"hsl(15,70%,45%)","Community Supporter":"hsl(185,60%,35%)"};function IE(){return c.jsxs("div",{className:"min-h-screen bg-white","data-id":"et4u7pp5x","data-path":"src/pages/ImpactPage.tsx",children:[c.jsx(yt,{"data-id":"1n7epgyjy","data-path":"src/pages/ImpactPage.tsx"}),c.jsx("section",{className:"pt-32 pb-20",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"z1jtyskz9","data-path":"src/pages/ImpactPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"ie2q290vf","data-path":"src/pages/ImpactPage.tsx",children:[c.jsx("div",{className:"section-label mb-4",style:{color:"hsl(40,72%,65%)"},"data-id":"dxycxusoi","data-path":"src/pages/ImpactPage.tsx",children:"Results That Matter"}),c.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-6",style:{fontFamily:"'Playfair Display', serif"},"data-id":"sxbnd7gxx","data-path":"src/pages/ImpactPage.tsx",children:"Our Impact"}),c.jsx("p",{className:"text-gray-400 max-w-2xl text-lg",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.15rem"},"data-id":"xwp403x29","data-path":"src/pages/ImpactPage.tsx",children:"Numbers tell part of the story. The voices behind them tell the rest."})]})}),c.jsx("section",{className:"py-20 bg-white","data-id":"6y4p8f4dq","data-path":"src/pages/ImpactPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"rf3egs5bi","data-path":"src/pages/ImpactPage.tsx",children:[c.jsxs("div",{className:"text-center mb-14","data-id":"8zd9fpou8","data-path":"src/pages/ImpactPage.tsx",children:[c.jsx("div",{className:"section-label mb-4","data-id":"1swa90iad","data-path":"src/pages/ImpactPage.tsx",children:"By the Numbers"}),c.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"k0flfbpv0","data-path":"src/pages/ImpactPage.tsx",children:"Foundation Impact Since 2017"}),c.jsx("div",{className:"gold-divider mx-auto","data-id":"ba97eeh4k","data-path":"src/pages/ImpactPage.tsx"})]}),c.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 max-w-5xl mx-auto","data-id":"tov1lhimy","data-path":"src/pages/ImpactPage.tsx",children:OE.map(e=>c.jsxs("div",{className:"bg-white rounded-2xl p-6 text-center card-hover shadow-sm border",style:{borderColor:"hsl(38,50%,90%)"},"data-id":"wphf8ujy5","data-path":"src/pages/ImpactPage.tsx",children:[c.jsx("div",{className:"text-3xl md:text-4xl font-bold mb-2",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"rdthsltnc","data-path":"src/pages/ImpactPage.tsx",children:e.number}),c.jsx("div",{className:"text-sm font-semibold mb-2",style:{color:"hsl(40,58%,54%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"n8cnmpakb","data-path":"src/pages/ImpactPage.tsx",children:e.label}),c.jsx("div",{className:"text-xs text-gray-500 leading-relaxed","data-id":"zl13ftavs","data-path":"src/pages/ImpactPage.tsx",children:e.desc})]},e.label))})]})}),c.jsx("section",{className:"py-20",style:{backgroundColor:"hsl(38,50%,96%)"},"data-id":"xlageajyw","data-path":"src/pages/ImpactPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"4sr5yj4mm","data-path":"src/pages/ImpactPage.tsx",children:[c.jsxs("div",{className:"text-center mb-14","data-id":"jhzgyt2i0","data-path":"src/pages/ImpactPage.tsx",children:[c.jsx("div",{className:"section-label mb-4","data-id":"xshvuv8ye","data-path":"src/pages/ImpactPage.tsx",children:"Community Voices"}),c.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"6hsgsz1kv","data-path":"src/pages/ImpactPage.tsx",children:"What People Are Saying"}),c.jsx("div",{className:"gold-divider mx-auto","data-id":"hvqhw5nj2","data-path":"src/pages/ImpactPage.tsx"})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto","data-id":"uqqh2025z","data-path":"src/pages/ImpactPage.tsx",children:LE.map(e=>c.jsxs("div",{className:"bg-white rounded-2xl p-7 relative card-hover shadow-sm","data-id":"deippit8h","data-path":"src/pages/ImpactPage.tsx",children:[c.jsx("div",{className:"absolute top-5 right-5 opacity-10","data-id":"bbrnm2gir","data-path":"src/pages/ImpactPage.tsx",children:c.jsx(Ru,{className:"w-8 h-8",style:{color:"hsl(40,58%,54%)"},"data-id":"t86wrohei","data-path":"src/pages/ImpactPage.tsx"})}),c.jsx("span",{className:"inline-block px-2.5 py-1 rounded-full text-xs font-semibold mb-4",style:{backgroundColor:`${bm[e.category]}18`,color:bm[e.category]||"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"c4yy38591","data-path":"src/pages/ImpactPage.tsx",children:e.category}),c.jsx("div",{className:"flex mb-3","data-id":"f75ls9778","data-path":"src/pages/ImpactPage.tsx",children:[...Array(5)].map((t,n)=>c.jsx(Bv,{className:"w-4 h-4 fill-current",style:{color:"hsl(40,58%,54%)"},"data-id":"540rt9jpl","data-path":"src/pages/ImpactPage.tsx"},n))}),c.jsxs("p",{className:"text-gray-700 leading-relaxed mb-5 text-sm",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.05rem"},"data-id":"spjwh65aa","data-path":"src/pages/ImpactPage.tsx",children:['"',e.quote,'"']}),c.jsxs("div",{"data-id":"scxyd91u3","data-path":"src/pages/ImpactPage.tsx",children:[c.jsx("div",{className:"font-semibold text-sm",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"dh7oiqvp5","data-path":"src/pages/ImpactPage.tsx",children:e.name}),c.jsx("div",{className:"text-xs text-gray-500 mt-0.5","data-id":"zvgdu7b6u","data-path":"src/pages/ImpactPage.tsx",children:e.role})]})]},e.name))})]})}),c.jsx("section",{className:"py-16",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"dukdx55en","data-path":"src/pages/ImpactPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4 text-center","data-id":"yqjx93cod","data-path":"src/pages/ImpactPage.tsx",children:[c.jsx("h2",{className:"text-3xl font-bold text-white mb-4",style:{fontFamily:"'Playfair Display', serif"},"data-id":"lxoqbhp0j","data-path":"src/pages/ImpactPage.tsx",children:"Add Your Story to Ours"}),c.jsx("p",{className:"text-gray-400 mb-8 max-w-xl mx-auto",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.1rem"},"data-id":"50tdkddd0","data-path":"src/pages/ImpactPage.tsx",children:"When you give to the James Shirey Foundation, you become part of this growing story of impact."}),c.jsxs(Y,{to:"/donate",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full font-semibold transition-all hover:opacity-90",style:{backgroundColor:"hsl(40,58%,54%)",color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"37mejm59n","data-path":"src/pages/ImpactPage.tsx",children:[c.jsx(Se,{className:"w-5 h-5 fill-current","data-id":"v2flttpnj","data-path":"src/pages/ImpactPage.tsx"}),"Donate Now"]})]})}),c.jsx(xt,{"data-id":"ex9u2m2ab","data-path":"src/pages/ImpactPage.tsx"})]})}const zE=[{title:"Annual James Shirey Memorial Gala",date:"September 20, 2026",time:"6:00 PM – 10:00 PM",location:"Hotel del Coronado, Coronado, CA",type:"Fundraising Gala",description:"Our flagship annual event honoring the memory of James Richard Shirey Jr. An elegant evening of dinner, live auction, scholarship announcements, and community connection — all in support of the Foundation's mission to empower youth and advance rare disease awareness.",highlight:!0},{title:"Future Leaders Youth Summit",date:"October 11, 2026",time:"9:00 AM – 4:00 PM",location:"Coronado Community Center, Coronado, CA",type:"Youth Program",description:"A full-day leadership experience bringing together program participants, mentors, and community leaders. Workshops on personal development, service, and career exploration culminate in an afternoon panel discussion with Foundation-supported youth.",highlight:!1},{title:"Rare Disease Community Walk",date:"November 8, 2026",time:"8:00 AM – 12:00 PM",location:"Coronado Ferry Landing, Coronado, CA",type:"Awareness & Fundraising",description:"Join us for our annual community walk raising funds and awareness for rare disease organizations. Participants walk in memory of loved ones and in solidarity with patients and families navigating rare conditions.",highlight:!1},{title:"Scholarship Ceremony & Recognition Evening",date:"December 5, 2026",time:"5:30 PM – 8:00 PM",location:"Coronado Public Library, Coronado, CA",type:"Scholarship Event",description:"An intimate evening recognizing the recipients of the Foundation's annual Education & Achievement scholarships. Families, sponsors, and community supporters gather to celebrate students and the educators who champion them.",highlight:!1}],_E=[{title:"2025 Memorial Gala",date:"September 2025",raised:"$48,000"},{title:"2025 Future Leaders Summit",date:"October 2025",youth:"85 participants"},{title:"2025 Rare Disease Walk",date:"November 2025",walkers:"210 participants"},{title:"2024 Annual Gala",date:"September 2024",raised:"$41,500"},{title:"2024 Scholarship Ceremony",date:"December 2024",recipients:"12 scholars recognized"},{title:"2023 Memorial Gala",date:"September 2023",raised:"$35,000"}];function VE(){return c.jsxs("div",{className:"min-h-screen bg-white","data-id":"p8375ignl","data-path":"src/pages/EventsPage.tsx",children:[c.jsx(yt,{"data-id":"gg1dvycmd","data-path":"src/pages/EventsPage.tsx"}),c.jsx("section",{className:"pt-32 pb-20",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"ffno5iuwm","data-path":"src/pages/EventsPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"08n9uvy5k","data-path":"src/pages/EventsPage.tsx",children:[c.jsx("div",{className:"section-label mb-4",style:{color:"hsl(40,72%,65%)"},"data-id":"myxhwqvxc","data-path":"src/pages/EventsPage.tsx",children:"Join the Community"}),c.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-6",style:{fontFamily:"'Playfair Display', serif"},"data-id":"54uahqwyr","data-path":"src/pages/EventsPage.tsx",children:"Community Events"}),c.jsx("p",{className:"text-gray-400 max-w-2xl text-lg",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.15rem"},"data-id":"t9jt9tv08","data-path":"src/pages/EventsPage.tsx",children:"Events are where our mission comes alive — gathering people around a common cause and turning generosity into action."})]})}),c.jsx("section",{className:"py-20 bg-white","data-id":"4mphnbo69","data-path":"src/pages/EventsPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"2vuqdu5f2","data-path":"src/pages/EventsPage.tsx",children:[c.jsxs("div",{className:"text-center mb-14","data-id":"lfmmg1gzo","data-path":"src/pages/EventsPage.tsx",children:[c.jsx("div",{className:"section-label mb-4","data-id":"h0j355ycy","data-path":"src/pages/EventsPage.tsx",children:"On the Calendar"}),c.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"bp7tpxlbf","data-path":"src/pages/EventsPage.tsx",children:"Upcoming Events"}),c.jsx("div",{className:"gold-divider mx-auto","data-id":"dit2i4a35","data-path":"src/pages/EventsPage.tsx"})]}),c.jsx("div",{className:"space-y-8 max-w-4xl mx-auto","data-id":"ir9nln9tr","data-path":"src/pages/EventsPage.tsx",children:zE.map(e=>c.jsxs("div",{className:`rounded-2xl overflow-hidden shadow-sm ${e.highlight?"ring-2":"border"}`,style:{borderColor:e.highlight?"hsl(40,58%,54%)":"hsl(38,50%,88%)",ringColor:"hsl(40,58%,54%)"},"data-id":"48d1ib5qj","data-path":"src/pages/EventsPage.tsx",children:[e.highlight&&c.jsx("div",{className:"px-6 py-2 text-xs font-semibold tracking-widest uppercase text-center",style:{backgroundColor:"hsl(40,58%,54%)",color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"b0a2tj1qr","data-path":"src/pages/EventsPage.tsx",children:"Featured Event"}),c.jsx("div",{className:"p-8","data-id":"3zd37uljq","data-path":"src/pages/EventsPage.tsx",children:c.jsxs("div",{className:"flex flex-col md:flex-row md:items-start gap-6","data-id":"7xqcquje2","data-path":"src/pages/EventsPage.tsx",children:[c.jsxs("div",{className:"w-20 h-20 rounded-2xl flex-shrink-0 flex flex-col items-center justify-center text-center",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"nb0b3qnqb","data-path":"src/pages/EventsPage.tsx",children:[c.jsx(xa,{className:"w-6 h-6 mb-1",style:{color:"hsl(40,72%,65%)"},"data-id":"s57siin2j","data-path":"src/pages/EventsPage.tsx"}),c.jsx("span",{className:"text-white text-xs font-semibold leading-tight px-2","data-id":"ootvza2d2","data-path":"src/pages/EventsPage.tsx",children:e.date.split(",")[0]})]}),c.jsxs("div",{className:"flex-1","data-id":"4jj1hohdc","data-path":"src/pages/EventsPage.tsx",children:[c.jsx("span",{className:"inline-block px-3 py-1 rounded-full text-xs font-semibold mb-3",style:{backgroundColor:"hsl(42,72%,92%)",color:"hsl(40,58%,40%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"8bwuqcs25","data-path":"src/pages/EventsPage.tsx",children:e.type}),c.jsx("h3",{className:"text-2xl font-bold mb-3",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"z7rjpcq7b","data-path":"src/pages/EventsPage.tsx",children:e.title}),c.jsxs("div",{className:"flex flex-wrap gap-4 mb-4","data-id":"zrvtl3bv2","data-path":"src/pages/EventsPage.tsx",children:[c.jsxs("span",{className:"flex items-center gap-1.5 text-sm text-gray-600","data-id":"o27hwbs83","data-path":"src/pages/EventsPage.tsx",children:[c.jsx(xa,{className:"w-4 h-4",style:{color:"hsl(40,58%,54%)"},"data-id":"804m91630","data-path":"src/pages/EventsPage.tsx"}),e.date]}),c.jsxs("span",{className:"flex items-center gap-1.5 text-sm text-gray-600","data-id":"qf06541mi","data-path":"src/pages/EventsPage.tsx",children:[c.jsx(GC,{className:"w-4 h-4",style:{color:"hsl(40,58%,54%)"},"data-id":"23bo0ic2g","data-path":"src/pages/EventsPage.tsx"}),e.time]}),c.jsxs("span",{className:"flex items-center gap-1.5 text-sm text-gray-600","data-id":"aexj1p6a3","data-path":"src/pages/EventsPage.tsx",children:[c.jsx(Cf,{className:"w-4 h-4",style:{color:"hsl(40,58%,54%)"},"data-id":"t1ra4e7xx","data-path":"src/pages/EventsPage.tsx"}),e.location]})]}),c.jsx("p",{className:"text-gray-700 leading-relaxed mb-5",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.05rem"},"data-id":"nphclcrnc","data-path":"src/pages/EventsPage.tsx",children:e.description}),c.jsxs(Y,{to:"/contact",className:"inline-flex items-center gap-2 px-6 py-3 rounded-full text-sm font-semibold transition-all hover:opacity-90",style:{backgroundColor:"hsl(218,70%,11%)",color:"white",fontFamily:"'DM Sans', sans-serif"},"data-id":"yq887hc0k","data-path":"src/pages/EventsPage.tsx",children:["Register Interest ",c.jsx(cn,{className:"w-4 h-4","data-id":"vtwgqskfa","data-path":"src/pages/EventsPage.tsx"})]})]})]})})]},e.title))})]})}),c.jsx("section",{className:"py-20",style:{backgroundColor:"hsl(38,50%,96%)"},"data-id":"c9dl85vfh","data-path":"src/pages/EventsPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"hitq94vec","data-path":"src/pages/EventsPage.tsx",children:[c.jsxs("div",{className:"text-center mb-14","data-id":"v4f7cggc1","data-path":"src/pages/EventsPage.tsx",children:[c.jsx("div",{className:"section-label mb-4","data-id":"yido35sg6","data-path":"src/pages/EventsPage.tsx",children:"Our Track Record"}),c.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"5uwcvlx7i","data-path":"src/pages/EventsPage.tsx",children:"Past Events"}),c.jsx("div",{className:"gold-divider mx-auto","data-id":"evy5jwnh5","data-path":"src/pages/EventsPage.tsx"})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5 max-w-5xl mx-auto","data-id":"f8ej92ctn","data-path":"src/pages/EventsPage.tsx",children:_E.map(e=>c.jsxs("div",{className:"bg-white rounded-xl p-6 shadow-sm card-hover","data-id":"djmr2cdxh","data-path":"src/pages/EventsPage.tsx",children:[c.jsxs("div",{className:"flex items-center gap-3 mb-3","data-id":"bex7xhnmm","data-path":"src/pages/EventsPage.tsx",children:[c.jsx("div",{className:"w-10 h-10 rounded-full flex items-center justify-center",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"z0viewdht","data-path":"src/pages/EventsPage.tsx",children:c.jsx(xa,{className:"w-5 h-5",style:{color:"hsl(40,72%,65%)"},"data-id":"beg6k69zi","data-path":"src/pages/EventsPage.tsx"})}),c.jsxs("div",{"data-id":"ar4j1udsb","data-path":"src/pages/EventsPage.tsx",children:[c.jsx("p",{className:"font-bold text-sm",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"97jxww8dv","data-path":"src/pages/EventsPage.tsx",children:e.title}),c.jsx("p",{className:"text-xs text-gray-500","data-id":"pshdc1zgm","data-path":"src/pages/EventsPage.tsx",children:e.date})]})]}),c.jsx("p",{className:"text-sm font-semibold",style:{color:"hsl(40,58%,54%)"},"data-id":"rz4k6mbj4","data-path":"src/pages/EventsPage.tsx",children:e.raised||e.youth||e.walkers||e.recipients})]},e.title))})]})}),c.jsx("section",{className:"py-16",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"wu5oig4d7","data-path":"src/pages/EventsPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4 text-center","data-id":"z4c0hagh8","data-path":"src/pages/EventsPage.tsx",children:[c.jsx(ii,{className:"w-12 h-12 mx-auto mb-4",style:{color:"hsl(40,72%,65%)"},"data-id":"13p0n3wrc","data-path":"src/pages/EventsPage.tsx"}),c.jsx("h2",{className:"text-3xl font-bold text-white mb-4",style:{fontFamily:"'Playfair Display', serif"},"data-id":"4aepogdd1","data-path":"src/pages/EventsPage.tsx",children:"Volunteer at Our Events"}),c.jsx("p",{className:"text-gray-400 mb-8 max-w-xl mx-auto",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.1rem"},"data-id":"yro5l7oz1","data-path":"src/pages/EventsPage.tsx",children:"Over 340 community members have volunteered at Foundation events. We'd love to have you join us."}),c.jsxs(Y,{to:"/contact",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full font-semibold transition-all hover:opacity-90",style:{backgroundColor:"hsl(40,58%,54%)",color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"e8gszw7qt","data-path":"src/pages/EventsPage.tsx",children:[c.jsx(Se,{className:"w-5 h-5 fill-current","data-id":"wgpatfaq1","data-path":"src/pages/EventsPage.tsx"}),"Get Involved"]})]})}),c.jsx(xt,{"data-id":"bz3ubu2h5","data-path":"src/pages/EventsPage.tsx"})]})}const BE=[{number:"300M+",label:"People Affected",desc:"Over 300 million people worldwide live with a rare disease."},{number:"7,000+",label:"Known Rare Diseases",desc:"More than 7,000 distinct rare conditions have been identified."},{number:"95%",label:"Without Treatment",desc:"Approximately 95% of rare diseases have no approved treatment."},{number:"50%",label:"Children Affected",desc:"Nearly half of all rare disease patients are children."}],HE=[{icon:c.jsx(n2,{className:"w-7 h-7","data-id":"vzmmlurl9","data-path":"src/pages/RareDiseasePage.tsx"}),title:"Annual Rare Disease Awareness Campaign",desc:"Every February, coinciding with Rare Disease Day, the Foundation launches a month-long awareness campaign including social media content, community education, and public events designed to amplify the voices of patients and families navigating rare conditions."},{icon:c.jsx(ii,{className:"w-7 h-7","data-id":"xbafauy79","data-path":"src/pages/RareDiseasePage.tsx"}),title:"Community Education & Patient Family Panels",desc:"We host panel discussions that bring patients, caregivers, researchers, and community members together to share lived experiences, break down stigma, and educate the public on what it truly means to live with a rare diagnosis."},{icon:c.jsx(Se,{className:"w-7 h-7 fill-current","data-id":"8i0q5q0bo","data-path":"src/pages/RareDiseasePage.tsx"}),title:"Charitable Fundraising for Rare Disease Organizations",desc:"A dedicated portion of all Foundation fundraising is directed to vetted nonprofit organizations working in rare disease research, patient support, and advocacy — putting community generosity where it's needed most."},{icon:c.jsx(o2,{className:"w-7 h-7","data-id":"52pxxo2g9","data-path":"src/pages/RareDiseasePage.tsx"}),title:"Community Walk & Fundraising Events",desc:"Our annual Rare Disease Community Walk brings together patients, families, volunteers, and supporters in a shared act of solidarity — raising both funds and public awareness in a setting that honors those living with rare conditions."}],$E=["NORD (National Organization for Rare Disorders)","Global Genes","Rare Patient Voice","San Diego Rare Patient Alliance","Genetic Alliance","EveryLife Foundation for Rare Diseases"];function UE(){return c.jsxs("div",{className:"min-h-screen bg-white","data-id":"53v2801ap","data-path":"src/pages/RareDiseasePage.tsx",children:[c.jsx(yt,{"data-id":"hon23d9r7","data-path":"src/pages/RareDiseasePage.tsx"}),c.jsx("section",{className:"pt-32 pb-20",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"pjtpbhc4u","data-path":"src/pages/RareDiseasePage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"rckvzvsdu","data-path":"src/pages/RareDiseasePage.tsx",children:[c.jsx("div",{className:"section-label mb-4",style:{color:"hsl(40,72%,65%)"},"data-id":"iaqhhg8fu","data-path":"src/pages/RareDiseasePage.tsx",children:"Amplifying Unheard Voices"}),c.jsxs("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-6",style:{fontFamily:"'Playfair Display', serif"},"data-id":"1c9it2bw7","data-path":"src/pages/RareDiseasePage.tsx",children:["Rare Disease",c.jsx("br",{"data-id":"m9opgq8c2","data-path":"src/pages/RareDiseasePage.tsx"}),"Awareness"]}),c.jsx("p",{className:"text-gray-400 max-w-2xl text-lg",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.15rem"},"data-id":"kiqafejoe","data-path":"src/pages/RareDiseasePage.tsx",children:"Millions of people live with rare diseases that are understudied, underfunded, and underrepresented. The James Shirey Foundation is committed to changing that — one campaign, one community, one conversation at a time."})]})}),c.jsx("section",{className:"py-20 bg-white","data-id":"q3iiuv6dj","data-path":"src/pages/RareDiseasePage.tsx",children:c.jsx("div",{className:"container mx-auto px-4","data-id":"dat1z8jsh","data-path":"src/pages/RareDiseasePage.tsx",children:c.jsxs("div",{className:"max-w-4xl mx-auto","data-id":"wj1wrf8al","data-path":"src/pages/RareDiseasePage.tsx",children:[c.jsx("div",{className:"section-label mb-4","data-id":"jah1dawth","data-path":"src/pages/RareDiseasePage.tsx",children:"Why It Matters"}),c.jsx("div",{className:"gold-divider mb-10","data-id":"jdilk6xlj","data-path":"src/pages/RareDiseasePage.tsx"}),c.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-5 gap-12 items-center","data-id":"pqqp6rzui","data-path":"src/pages/RareDiseasePage.tsx",children:[c.jsxs("div",{className:"lg:col-span-3","data-id":"wu55jge65","data-path":"src/pages/RareDiseasePage.tsx",children:[c.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-6",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"nezh0c76i","data-path":"src/pages/RareDiseasePage.tsx",children:"Rare Doesn't Mean Less Important"}),c.jsxs("div",{className:"space-y-4 text-gray-700",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.1rem",lineHeight:"1.8"},"data-id":"oz44uzdvz","data-path":"src/pages/RareDiseasePage.tsx",children:[c.jsx("p",{"data-id":"t3ud16bps","data-path":"src/pages/RareDiseasePage.tsx",children:"Rare diseases are defined as conditions affecting fewer than 200,000 people in the United States. Yet when you add them all together, more than 30 million Americans and 300 million people worldwide are living with a rare condition."}),c.jsx("p",{"data-id":"yfkn88oh0","data-path":"src/pages/RareDiseasePage.tsx",children:"The challenges don't stop at the diagnosis. Families navigating rare diseases often face years of uncertainty before receiving an accurate diagnosis, limited treatment options, and inadequate support systems. Many feel invisible in a healthcare system built for common conditions."}),c.jsx("p",{"data-id":"n7gbbvnnm","data-path":"src/pages/RareDiseasePage.tsx",children:"The James Shirey Foundation channels its fundraising efforts and community platform toward organizations working to change this reality — because every person deserves to be seen, heard, and supported, regardless of how rare their condition may be."})]})]}),c.jsx("div",{className:"lg:col-span-2","data-id":"30vk798dv","data-path":"src/pages/RareDiseasePage.tsx",children:c.jsx("div",{className:"grid grid-cols-2 gap-4","data-id":"kwjjn3ief","data-path":"src/pages/RareDiseasePage.tsx",children:BE.map(e=>c.jsxs("div",{className:"rounded-2xl p-5 text-center card-hover",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"v2w2l46pz","data-path":"src/pages/RareDiseasePage.tsx",children:[c.jsx("div",{className:"text-2xl font-bold mb-1",style:{fontFamily:"'Playfair Display', serif",color:"hsl(40,72%,65%)"},"data-id":"6q4xth8tf","data-path":"src/pages/RareDiseasePage.tsx",children:e.number}),c.jsx("div",{className:"text-xs font-semibold text-white mb-2",style:{fontFamily:"'DM Sans', sans-serif"},"data-id":"19m2o5dh2","data-path":"src/pages/RareDiseasePage.tsx",children:e.label}),c.jsx("div",{className:"text-xs text-gray-500","data-id":"mlirnhaks","data-path":"src/pages/RareDiseasePage.tsx",children:e.desc})]},e.label))})})]})]})})}),c.jsx("section",{className:"py-20",style:{backgroundColor:"hsl(38,50%,96%)"},"data-id":"11eymly05","data-path":"src/pages/RareDiseasePage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"gyx4rvduj","data-path":"src/pages/RareDiseasePage.tsx",children:[c.jsxs("div",{className:"text-center mb-14","data-id":"4zeybudbm","data-path":"src/pages/RareDiseasePage.tsx",children:[c.jsx("div",{className:"section-label mb-4","data-id":"d96ib9shn","data-path":"src/pages/RareDiseasePage.tsx",children:"How We Help"}),c.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"twgd7syj5","data-path":"src/pages/RareDiseasePage.tsx",children:"Our Awareness Initiatives"}),c.jsx("div",{className:"gold-divider mx-auto","data-id":"6w5eh3b4s","data-path":"src/pages/RareDiseasePage.tsx"})]}),c.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 max-w-4xl mx-auto","data-id":"83p6cv0sa","data-path":"src/pages/RareDiseasePage.tsx",children:HE.map(e=>c.jsxs("div",{className:"bg-white rounded-2xl p-8 card-hover shadow-sm","data-id":"7ispa3gaq","data-path":"src/pages/RareDiseasePage.tsx",children:[c.jsx("div",{className:"w-14 h-14 rounded-xl flex items-center justify-center mb-6",style:{backgroundColor:"hsl(218,70%,11%)",color:"hsl(40,72%,65%)"},"data-id":"i6w2zezp4","data-path":"src/pages/RareDiseasePage.tsx",children:e.icon}),c.jsx("h3",{className:"text-xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"mkkxe0jmv","data-path":"src/pages/RareDiseasePage.tsx",children:e.title}),c.jsx("p",{className:"text-gray-600 leading-relaxed",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.05rem"},"data-id":"3pbqqe779","data-path":"src/pages/RareDiseasePage.tsx",children:e.desc})]},e.title))})]})}),c.jsx("section",{className:"py-20 bg-white","data-id":"f6uj403ly","data-path":"src/pages/RareDiseasePage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"sslldflrg","data-path":"src/pages/RareDiseasePage.tsx",children:[c.jsxs("div",{className:"text-center mb-10","data-id":"n3geysvii","data-path":"src/pages/RareDiseasePage.tsx",children:[c.jsx("div",{className:"section-label mb-4","data-id":"xiqv8nr4y","data-path":"src/pages/RareDiseasePage.tsx",children:"Our Partners"}),c.jsx("h2",{className:"text-3xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"suuct8to0","data-path":"src/pages/RareDiseasePage.tsx",children:"Organizations We Support"}),c.jsx("div",{className:"gold-divider mx-auto","data-id":"8fvxmhus3","data-path":"src/pages/RareDiseasePage.tsx"})]}),c.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-4 max-w-3xl mx-auto","data-id":"coim1cob6","data-path":"src/pages/RareDiseasePage.tsx",children:$E.map(e=>c.jsx("div",{className:"rounded-xl p-4 text-center text-sm font-medium border card-hover",style:{borderColor:"hsl(38,50%,88%)",color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"75o6pnes5","data-path":"src/pages/RareDiseasePage.tsx",children:e},e))})]})}),c.jsx("section",{className:"py-16",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"mfzhg5p5a","data-path":"src/pages/RareDiseasePage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4 text-center","data-id":"rht64c5qr","data-path":"src/pages/RareDiseasePage.tsx",children:[c.jsx("h2",{className:"text-3xl font-bold text-white mb-4",style:{fontFamily:"'Playfair Display', serif"},"data-id":"yot45hqwu","data-path":"src/pages/RareDiseasePage.tsx",children:"Support Rare Disease Awareness"}),c.jsx("p",{className:"text-gray-400 mb-8 max-w-xl mx-auto",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.1rem"},"data-id":"1o86onxly","data-path":"src/pages/RareDiseasePage.tsx",children:"Your donation helps fund awareness campaigns and support for rare disease organizations that need community backing."}),c.jsxs("div",{className:"flex flex-wrap justify-center gap-4","data-id":"cumrrtq5y","data-path":"src/pages/RareDiseasePage.tsx",children:[c.jsxs(Y,{to:"/donate",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full font-semibold transition-all hover:opacity-90",style:{backgroundColor:"hsl(40,58%,54%)",color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"0t366oe9n","data-path":"src/pages/RareDiseasePage.tsx",children:[c.jsx(Se,{className:"w-5 h-5 fill-current","data-id":"gmcwvbcng","data-path":"src/pages/RareDiseasePage.tsx"}),"Donate Now"]}),c.jsxs(Y,{to:"/events",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full font-semibold border-2 text-white transition-all hover:bg-white/10",style:{borderColor:"rgba(255,255,255,0.3)",fontFamily:"'DM Sans', sans-serif"},"data-id":"qwfhxxaa9","data-path":"src/pages/RareDiseasePage.tsx",children:["Join Our Walk ",c.jsx(cn,{className:"w-4 h-4","data-id":"yttfsfx9k","data-path":"src/pages/RareDiseasePage.tsx"})]})]})]})}),c.jsx(xt,{"data-id":"l8x3h970s","data-path":"src/pages/RareDiseasePage.tsx"})]})}const WE=[25,50,100,250,500,1e3],Pm={25:"Provides educational materials for one student for a full semester.",50:"Funds a mentorship session pairing one young person with a community leader.",100:"Contributes toward a scholarship application review and student support stipend.",250:"Sponsors one youth participant in the Future Leaders program for a month.",500:"Funds an awareness event reaching over 100 community members.",1e3:"Provides a full scholarship grant for one deserving student."};function qE(){const[e,t]=w.useState(100),[n,r]=w.useState(""),[s,a]=w.useState(""),[i,o]=w.useState(""),[l,u]=w.useState(!1),d=n?parseFloat(n):e;function f(p){p.preventDefault(),!(!s||!i||!d)&&u(!0)}const h=d&&Pm[d]?Pm[d]:d?`Your gift of $${d} will be directed to our highest-need programs and partner organizations.`:null;return l?c.jsxs("div",{className:"min-h-screen bg-white","data-id":"raklsm9py","data-path":"src/pages/DonatePage.tsx",children:[c.jsx(yt,{"data-id":"iv220kz8b","data-path":"src/pages/DonatePage.tsx"}),c.jsx("div",{className:"min-h-screen flex items-center justify-center pt-20","data-id":"6ogbrezhj","data-path":"src/pages/DonatePage.tsx",children:c.jsxs("div",{className:"text-center max-w-lg px-4","data-id":"5uuep54wi","data-path":"src/pages/DonatePage.tsx",children:[c.jsx("div",{className:"w-20 h-20 rounded-full flex items-center justify-center mx-auto mb-6",style:{backgroundColor:"hsl(40,58%,54%)"},"data-id":"pwlp5sra1","data-path":"src/pages/DonatePage.tsx",children:c.jsx(Sf,{className:"w-10 h-10 text-white","data-id":"t6v4r31ap","data-path":"src/pages/DonatePage.tsx"})}),c.jsxs("h2",{className:"text-3xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"i6irbp55i","data-path":"src/pages/DonatePage.tsx",children:["Thank You, ",s,"!"]}),c.jsxs("p",{className:"text-gray-700 leading-relaxed mb-6",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.15rem"},"data-id":"9m94xqvey","data-path":"src/pages/DonatePage.tsx",children:["Your generous gift has been received. You'll receive a confirmation at ",c.jsx("strong",{"data-id":"4p8l5q7z8","data-path":"src/pages/DonatePage.tsx",children:i})," shortly. Every dollar you've given honors the legacy of James Richard Shirey Jr. and creates real opportunity for young people in our community."]}),c.jsx("p",{className:"text-xs text-gray-500 mb-8","data-id":"1py111znv","data-path":"src/pages/DonatePage.tsx",children:"James Shirey Foundation Inc. is a 501(c)(3) nonprofit organization. EIN: 82-3326571. Your contribution may be tax-deductible to the fullest extent of the law."}),c.jsxs("button",{onClick:()=>{u(!1),a(""),o(""),t(100),r("")},className:"inline-flex items-center gap-2 px-8 py-4 rounded-full font-semibold transition-all hover:opacity-90",style:{backgroundColor:"hsl(218,70%,11%)",color:"white",fontFamily:"'DM Sans', sans-serif"},"data-id":"h02xkaoqc","data-path":"src/pages/DonatePage.tsx",children:[c.jsx(Se,{className:"w-5 h-5 fill-current text-yellow-400","data-id":"oh0irw8qb","data-path":"src/pages/DonatePage.tsx"}),"Make Another Gift"]})]})}),c.jsx(xt,{"data-id":"uvk1054hm","data-path":"src/pages/DonatePage.tsx"})]}):c.jsxs("div",{className:"min-h-screen bg-white","data-id":"cgyhw1w5v","data-path":"src/pages/DonatePage.tsx",children:[c.jsx(yt,{"data-id":"wahc41sgk","data-path":"src/pages/DonatePage.tsx"}),c.jsx("section",{className:"pt-32 pb-16",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"j537i3ddy","data-path":"src/pages/DonatePage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"n7keiux17","data-path":"src/pages/DonatePage.tsx",children:[c.jsx("div",{className:"section-label mb-4",style:{color:"hsl(40,72%,65%)"},"data-id":"9msoj350m","data-path":"src/pages/DonatePage.tsx",children:"Give With Purpose"}),c.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-6",style:{fontFamily:"'Playfair Display', serif"},"data-id":"b49y14xwp","data-path":"src/pages/DonatePage.tsx",children:"Make a Gift"}),c.jsx("p",{className:"text-gray-400 max-w-2xl text-lg",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.15rem"},"data-id":"vok6z20xs","data-path":"src/pages/DonatePage.tsx",children:"Your donation funds scholarships, mentorship programs, and rare disease awareness initiatives — all in honor of James Richard Shirey Jr."})]})}),c.jsx("section",{className:"py-20","data-id":"4zmc2e80l","data-path":"src/pages/DonatePage.tsx",children:c.jsx("div",{className:"container mx-auto px-4","data-id":"bcd5172yq","data-path":"src/pages/DonatePage.tsx",children:c.jsxs("div",{className:"max-w-5xl mx-auto grid grid-cols-1 lg:grid-cols-5 gap-12","data-id":"9lt54fgac","data-path":"src/pages/DonatePage.tsx",children:[c.jsx("div",{className:"lg:col-span-3","data-id":"r5qxywog1","data-path":"src/pages/DonatePage.tsx",children:c.jsxs("form",{onSubmit:f,className:"space-y-8","data-id":"326k63pkj","data-path":"src/pages/DonatePage.tsx",children:[c.jsxs("div",{"data-id":"sk46ngkfc","data-path":"src/pages/DonatePage.tsx",children:[c.jsx("h3",{className:"text-xl font-bold mb-5",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"nl0h4dj30","data-path":"src/pages/DonatePage.tsx",children:"Select a Gift Amount"}),c.jsx("div",{className:"grid grid-cols-3 gap-3 mb-4","data-id":"k7hjysviq","data-path":"src/pages/DonatePage.tsx",children:WE.map(p=>c.jsxs("button",{type:"button",onClick:()=>{t(p),r("")},className:"py-3 rounded-xl font-semibold text-sm border-2 transition-all",style:{borderColor:e===p&&!n?"hsl(218,70%,11%)":"hsl(38,50%,85%)",backgroundColor:e===p&&!n?"hsl(218,70%,11%)":"white",color:e===p&&!n?"white":"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"j5t08f262","data-path":"src/pages/DonatePage.tsx",children:["$",p.toLocaleString()]},p))}),c.jsxs("div",{className:"relative","data-id":"r5fi3d5k0","data-path":"src/pages/DonatePage.tsx",children:[c.jsx("span",{className:"absolute left-4 top-1/2 -translate-y-1/2 text-gray-400 font-semibold","data-id":"boi22vcbg","data-path":"src/pages/DonatePage.tsx",children:"$"}),c.jsx("input",{type:"number",placeholder:"Enter custom amount",value:n,onChange:p=>{r(p.target.value),t(null)},className:"w-full pl-8 pr-4 py-3.5 rounded-xl border-2 text-sm outline-none transition-all",style:{borderColor:n?"hsl(218,70%,11%)":"hsl(38,50%,85%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"v2er2mmun","data-path":"src/pages/DonatePage.tsx"})]}),h&&c.jsxs("div",{className:"mt-4 p-4 rounded-xl text-sm",style:{backgroundColor:"hsl(42,72%,92%)",color:"hsl(40,45%,30%)",fontFamily:"'Crimson Pro', serif",fontSize:"1rem"},"data-id":"p504im3bp","data-path":"src/pages/DonatePage.tsx",children:[c.jsx("strong",{"data-id":"jl6ajx0p1","data-path":"src/pages/DonatePage.tsx",children:"Your impact:"})," ",h]})]}),c.jsxs("div",{"data-id":"ycffvtmm0","data-path":"src/pages/DonatePage.tsx",children:[c.jsx("h3",{className:"text-xl font-bold mb-5",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"qh9nkkxj8","data-path":"src/pages/DonatePage.tsx",children:"Your Information"}),c.jsxs("div",{className:"space-y-4","data-id":"fdbmfq4xx","data-path":"src/pages/DonatePage.tsx",children:[c.jsxs("div",{"data-id":"kiw7ii9fm","data-path":"src/pages/DonatePage.tsx",children:[c.jsx("label",{className:"block text-sm font-medium mb-1.5",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"qyrm90udz","data-path":"src/pages/DonatePage.tsx",children:"Full Name *"}),c.jsx("input",{required:!0,type:"text",value:s,onChange:p=>a(p.target.value),placeholder:"Your full name",className:"w-full px-4 py-3.5 rounded-xl border-2 text-sm outline-none transition-all",style:{borderColor:"hsl(38,50%,85%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"jx3w582nx","data-path":"src/pages/DonatePage.tsx"})]}),c.jsxs("div",{"data-id":"5oxzlcljv","data-path":"src/pages/DonatePage.tsx",children:[c.jsx("label",{className:"block text-sm font-medium mb-1.5",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"brkzyfcit","data-path":"src/pages/DonatePage.tsx",children:"Email Address *"}),c.jsx("input",{required:!0,type:"email",value:i,onChange:p=>o(p.target.value),placeholder:"you@example.com",className:"w-full px-4 py-3.5 rounded-xl border-2 text-sm outline-none transition-all",style:{borderColor:"hsl(38,50%,85%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"vbsfunqpx","data-path":"src/pages/DonatePage.tsx"})]})]})]}),c.jsxs("button",{type:"submit",className:"w-full py-4 rounded-full font-semibold text-base transition-all hover:opacity-90 flex items-center justify-center gap-3",style:{backgroundColor:"hsl(218,70%,11%)",color:"white",fontFamily:"'DM Sans', sans-serif"},"data-id":"azz1yifke","data-path":"src/pages/DonatePage.tsx",children:[c.jsx(Se,{className:"w-5 h-5 fill-current text-yellow-400","data-id":"m6lfjfnf4","data-path":"src/pages/DonatePage.tsx"}),d?`Donate $${Number(d).toLocaleString()}`:"Complete Donation"]}),c.jsx("p",{className:"text-xs text-gray-400 text-center","data-id":"4plhoz6su","data-path":"src/pages/DonatePage.tsx",children:"James Shirey Foundation Inc. is a 501(c)(3) nonprofit. EIN: 82-3326571. Gifts may be tax-deductible to the fullest extent of the law."})]})}),c.jsxs("div",{className:"lg:col-span-2 space-y-6","data-id":"f560gd233","data-path":"src/pages/DonatePage.tsx",children:[c.jsxs("div",{className:"rounded-2xl p-7",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"z5jwmv77x","data-path":"src/pages/DonatePage.tsx",children:[c.jsx(QC,{className:"w-10 h-10 mb-4",style:{color:"hsl(40,72%,65%)"},"data-id":"3kivrykv3","data-path":"src/pages/DonatePage.tsx"}),c.jsx("h4",{className:"text-white font-bold text-xl mb-4",style:{fontFamily:"'Playfair Display', serif"},"data-id":"zd9bdo349","data-path":"src/pages/DonatePage.tsx",children:"Where Your Gift Goes"}),c.jsx("ul",{className:"space-y-3","data-id":"34vhs7ep2","data-path":"src/pages/DonatePage.tsx",children:[["Youth development programs","38%"],["Educational scholarships","30%"],["Rare disease awareness","20%"],["Operations & administration","12%"]].map(([p,y])=>c.jsxs("li",{className:"flex justify-between items-center","data-id":"1ux0zo6rw","data-path":"src/pages/DonatePage.tsx",children:[c.jsx("span",{className:"text-gray-400 text-sm","data-id":"6bv6bjpcn","data-path":"src/pages/DonatePage.tsx",children:p}),c.jsx("span",{className:"text-yellow-400 font-semibold text-sm","data-id":"n4phhv2ic","data-path":"src/pages/DonatePage.tsx",children:y})]},p))})]}),c.jsxs("div",{className:"rounded-2xl p-7 border",style:{borderColor:"hsl(38,50%,88%)"},"data-id":"51r2el1ki","data-path":"src/pages/DonatePage.tsx",children:[c.jsx("h4",{className:"font-bold text-lg mb-4",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"ot9ok63v8","data-path":"src/pages/DonatePage.tsx",children:"Other Ways to Give"}),c.jsxs("div",{className:"space-y-3 text-sm text-gray-600","data-id":"25ota6waa","data-path":"src/pages/DonatePage.tsx",children:[c.jsxs("p",{"data-id":"kf3g59rgn","data-path":"src/pages/DonatePage.tsx",children:[c.jsx("strong",{"data-id":"wnfcg2goz","data-path":"src/pages/DonatePage.tsx",children:"By Mail:"})," 560 C Avenue, Coronado, CA 92118"]}),c.jsxs("p",{"data-id":"x2qig3yfh","data-path":"src/pages/DonatePage.tsx",children:[c.jsx("strong",{"data-id":"ogrszimvw","data-path":"src/pages/DonatePage.tsx",children:"By Phone:"})," ",c.jsx("a",{href:"tel:+16196662374",className:"hover:text-yellow-700","data-id":"jlc76a4ut","data-path":"src/pages/DonatePage.tsx",children:"+1-619-666-2374"})]}),c.jsxs("p",{"data-id":"6xiwctvei","data-path":"src/pages/DonatePage.tsx",children:[c.jsx("strong",{"data-id":"jw8fdsbyf","data-path":"src/pages/DonatePage.tsx",children:"By Email:"})," ",c.jsx("a",{href:"mailto:ask@trustselaro.com",className:"hover:text-yellow-700","data-id":"2ojjuu63z","data-path":"src/pages/DonatePage.tsx",children:"ask@trustselaro.com"})]})]})]}),c.jsxs("div",{className:"rounded-2xl p-7",style:{backgroundColor:"hsl(38,50%,96%)"},"data-id":"vi8du7k7x","data-path":"src/pages/DonatePage.tsx",children:[c.jsx("h4",{className:"font-bold text-lg mb-3",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"k88ue7qap","data-path":"src/pages/DonatePage.tsx",children:"Legacy Giving"}),c.jsx("p",{className:"text-sm text-gray-600 leading-relaxed",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1rem"},"data-id":"ur26kalt7","data-path":"src/pages/DonatePage.tsx",children:"Consider including the James Shirey Foundation in your estate plans. Contact us to learn more about planned giving opportunities."})]})]})]})})}),c.jsx(xt,{"data-id":"prrrxd2c0","data-path":"src/pages/DonatePage.tsx"})]})}const KE=[{id:"article-1",tag:"Youth Development",title:"Why Investing in Young Leaders Today Builds Stronger Communities Tomorrow",date:"June 3, 2026",readTime:"6 min read",excerpt:"The seeds of a strong community are planted years before the harvest is visible. When we invest in young people at the right moment — not just with money, but with mentorship, opportunity, and belief — we unlock potential that changes families and neighborhoods for generations.",body:["The case for youth development isn't just a moral one — it's strategic. Research consistently shows that early investment in young people yields the highest long-term returns for communities: lower crime, higher educational attainment, stronger economic participation, and greater civic engagement.","At the James Shirey Foundation, we've seen this firsthand. Young people who enter our Future Leaders program often come in with potential they haven't yet learned to recognize. They leave with a clearer sense of identity, a stronger network, and tangible skills that employers and universities respond to.","What makes the difference isn't just programming — it's the quality of relationship. When a mentor shows up consistently, when a workshop pushes a young person to think differently, when a community organization communicates through its investment that a young person's future matters, something shifts. The world stops being a series of obstacles and becomes a set of possibilities.","The James Shirey Foundation exists because we believe every young person deserves that shift. Your support helps make it real."]},{id:"article-2",tag:"Philanthropy",title:"Creating Educational Opportunity Through Community Fundraising",date:"May 17, 2026",readTime:"5 min read",excerpt:"Scholarships are more than financial transactions. They're statements of belief — a community telling a student that their potential is worth investing in. Understanding how community fundraising translates into educational access helps donors see the full human impact of their generosity.",body:["When a student receives a scholarship from the James Shirey Foundation, the financial relief is real and immediate. Tuition, books, transportation, housing — these are practical barriers that prevent capable students from pursuing their education. Removing them changes outcomes.","But the impact of community-funded scholarships extends beyond the financial. There's something powerful about knowing that people in your community — neighbors, local businesses, people who share your streets and schools — believe enough in your future to fund it. That knowledge carries weight.","Our Education & Achievement Support Initiative was designed with both dimensions in mind. We don't just write checks; we create connections. Scholarship recipients are invited to Foundation events, introduced to mentors, and supported through academic transitions — not abandoned once the grant is disbursed.","Community fundraising makes this possible. Every dollar raised at our annual gala, every online donation, every friend-of-the-Foundation who gives at the end of the year contributes to a scholarship ecosystem that genuinely changes students' lives."]},{id:"article-3",tag:"Rare Disease",title:"Amplifying Rare Disease Voices: How Awareness Saves Lives",date:"April 28, 2026",readTime:"7 min read",excerpt:"Rare disease patients often navigate a healthcare system that doesn't know them. Awareness campaigns can literally change how quickly patients receive accurate diagnoses — and, in some cases, whether they receive them at all.",body:["The average rare disease patient waits nearly five years for an accurate diagnosis. During that time, they may be misdiagnosed, prescribed treatments that don't apply to their condition, and dismissed by medical professionals who simply haven't encountered their disease before.","Awareness changes this. When patients know what to ask for, when primary care physicians recognize early symptoms, when policymakers understand the scope of rare disease burden — the pipeline from symptom to diagnosis to treatment accelerates.","The Foundation's Rare Disease Awareness Campaign, held each February to coincide with Rare Disease Day, does more than raise funds. It creates community-level education that ripples outward. Parents learn to advocate more effectively. Clinicians encounter information that stays with them. Community members become allies who can point a struggling friend toward resources.","This work is personal for many members of our Foundation community. Rare diseases don't discriminate — they touch families across every background and geography. When we amplify rare disease voices, we're saying that no patient should feel alone in their diagnosis, and no family should feel invisible in their struggle."]},{id:"article-4",tag:"Legacy",title:"Honoring a Legacy: What It Means to Give in Someone's Memory",date:"April 5, 2026",readTime:"5 min read",excerpt:"Memorial giving is one of the most meaningful forms of philanthropy — a way to keep a person's values alive through ongoing action. The James Shirey Foundation was built on this principle, and it shapes everything we do.",body:["When someone we love dies, the impulse to do something — to channel grief into action — is both deeply human and deeply powerful. Memorial giving transforms loss into legacy, turning a moment of sorrow into ongoing impact.","The James Shirey Foundation was born from exactly this impulse. When James Richard Shirey Jr. passed in 2017, those who loved him most were determined that his spirit — his investment in people, his belief in community, his commitment to showing up — would not disappear with him.","That decision created a foundation that has now supported over 1,400 young people, funded 47 scholarships, and advanced awareness for rare diseases that affect millions. James's name is attached not just to a memory, but to real change.","For those considering making a gift in memory of a loved one, we invite you to think about what values defined that person's life. What did they care about? Who did they show up for? The best memorial gifts are extensions of the person they honor — and we're proud to carry that mission forward in James's name."]},{id:"article-5",tag:"Community",title:"How Fundraising Events Build Stronger Communities Beyond the Dollars",date:"March 14, 2026",readTime:"4 min read",excerpt:"The most valuable output of a great fundraising event isn't the amount raised — it's the connections formed, the shared purpose strengthened, and the community identity deepened. Here's why events remain central to the Foundation's strategy.",body:["Fundraising events are often evaluated by their financial yield. How much did we raise? What was the cost-to-income ratio? These are legitimate questions, but they miss something important about what community gatherings actually do.","When people gather around a shared cause, they encounter each other differently than they would in everyday life. A conversation at an annual gala might spark a mentorship relationship, a business partnership, or a sustained commitment to volunteering. These outcomes don't show up in the fundraising ledger, but they compound over time.","The Foundation's annual events — our Memorial Gala, our Youth Summit, our Rare Disease Walk — are designed with this in mind. We measure success not just in dollars raised but in new relationships formed, in first-time attendees who return year after year, in participants who leave with a stronger sense of connection to something larger than themselves.","If you haven't attended a Foundation event, we'd encourage you to join us. The community you'll find there is one worth being part of."]},{id:"article-6",tag:"Service",title:"Leadership, Service, and the Long-Term Impact of Giving Back Young",date:"February 22, 2026",readTime:"6 min read",excerpt:"Young people who learn to give back early don't just become better citizens — they become better leaders, more grounded professionals, and more connected community members. Here's the evidence behind early engagement in service.",body:["There's a growing body of research suggesting that young people who engage in community service and philanthropic activity during formative years carry those habits into adulthood with compounding benefits — for themselves and for the communities they serve.","Service teaches perspective — the capacity to understand situations different from your own. It develops empathy, practical problem-solving, and the ability to work across differences. These are not soft skills; they're foundational competencies for leaders in any sector.","The Future Leaders program at the James Shirey Foundation incorporates service into its design deliberately. Participants aren't just recipients of opportunity — they're encouraged to think about how they'll pay it forward, what communities they'll show up for, what legacy they'll eventually choose to leave.","Investing in young leaders means investing in the next generation of Foundation supporters, community organizers, and mentors. The cycle is intentional and it works."]},{id:"article-7",tag:"Community Engagement",title:"The Case for Long-Term Community Engagement Over One-Time Giving",date:"February 3, 2026",readTime:"5 min read",excerpt:"Single donations are valuable, but they rarely create durable change on their own. Here's why the Foundation focuses on building sustained community relationships — and how you can become a long-term partner in our mission.",body:["The nonprofit sector has a complicated relationship with one-time giving. A surge donation after a viral campaign or high-profile need can provide immediate relief, but it rarely builds the infrastructure for lasting change.","The Foundation was built on a different model — sustained community relationships that deepen over time. Donors who give annually, volunteers who return to our events, community partners who co-develop programs with us — these are the people and organizations that create structural change rather than temporary relief.","Long-term engagement also creates accountability. When our community knows our programs year over year, they can see whether our outcomes improve, whether we deliver on our commitments, and whether our impact claims are credible. That scrutiny makes us better.","We invite you to consider what long-term engagement with the Foundation could look like for you — whether that's annual giving, volunteering, event participation, or connecting us with potential partners. The work of honoring James's legacy is ongoing, and we want you in it for the long term."]},{id:"article-8",tag:"Education",title:"Beyond Tuition: What Educational Philanthropy Really Provides",date:"January 18, 2026",readTime:"5 min read",excerpt:"When we talk about educational philanthropy, we often focus on tuition and books. But the most transformative support goes further — addressing the full ecosystem of barriers that prevent motivated students from completing their education.",body:["Tuition is the most visible barrier to education, but it's rarely the only one. Transportation costs, housing instability, food insecurity, technology gaps, and mental health challenges all compromise academic performance in ways that financial aid alone doesn't address.","The Foundation's Education & Achievement Support Initiative was designed with this complexity in mind. Our scholarships include not just financial grants but access to mentorship, emergency support funds, and connections to campus resources that many first-generation students don't know how to navigate.","We've learned from our scholarship recipients that the most meaningful support often isn't the largest check — it's the person who responded to a call when things got hard, the emergency grant that prevented a housing crisis from derailing a semester, the mentor who translated university processes that felt foreign and intimidating.","This is the full scope of what educational philanthropy can accomplish when it's designed thoughtfully. We're committed to building that full picture for every student we support."]}];function GE(){const[e,t]=w.useState(null);return c.jsxs("div",{className:"min-h-screen bg-white","data-id":"dbupik5g8","data-path":"src/pages/BlogPage.tsx",children:[c.jsx(yt,{"data-id":"iranqym63","data-path":"src/pages/BlogPage.tsx"}),c.jsx("section",{className:"pt-32 pb-20",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"8z83ugbd0","data-path":"src/pages/BlogPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"q0fmewe8a","data-path":"src/pages/BlogPage.tsx",children:[c.jsx("div",{className:"section-label mb-4",style:{color:"hsl(40,72%,65%)"},"data-id":"7i1491xpa","data-path":"src/pages/BlogPage.tsx",children:"Perspectives & Insights"}),c.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-6",style:{fontFamily:"'Playfair Display', serif"},"data-id":"j53zp3t8j","data-path":"src/pages/BlogPage.tsx",children:"Our Blog"}),c.jsx("p",{className:"text-gray-400 max-w-2xl text-lg",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.15rem"},"data-id":"fj6aiylfy","data-path":"src/pages/BlogPage.tsx",children:"Thoughts on youth development, educational opportunity, community fundraising, and the causes closest to our mission."})]})}),c.jsx("section",{className:"py-20",style:{backgroundColor:"hsl(38,50%,96%)"},"data-id":"mhjk0zbo5","data-path":"src/pages/BlogPage.tsx",children:c.jsx("div",{className:"container mx-auto px-4","data-id":"recp7x23a","data-path":"src/pages/BlogPage.tsx",children:c.jsx("div",{className:"max-w-4xl mx-auto space-y-8","data-id":"a24yyv1o0","data-path":"src/pages/BlogPage.tsx",children:KE.map(n=>c.jsx("div",{id:n.id,className:"bg-white rounded-2xl overflow-hidden shadow-sm card-hover","data-id":"j9azfn2qg","data-path":"src/pages/BlogPage.tsx",children:c.jsxs("div",{className:"p-8","data-id":"jm2kqkf1c","data-path":"src/pages/BlogPage.tsx",children:[c.jsxs("div",{className:"flex flex-wrap items-center gap-3 mb-4","data-id":"4q828x69s","data-path":"src/pages/BlogPage.tsx",children:[c.jsx("span",{className:"inline-block px-3 py-1 rounded-full text-xs font-semibold",style:{backgroundColor:"hsl(42,72%,92%)",color:"hsl(40,58%,40%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"eqy61z9gq","data-path":"src/pages/BlogPage.tsx",children:n.tag}),c.jsxs("span",{className:"text-xs text-gray-400 flex items-center gap-1","data-id":"g0g698g0l","data-path":"src/pages/BlogPage.tsx",children:[c.jsx(xa,{className:"w-3 h-3","data-id":"ijo4o8z2b","data-path":"src/pages/BlogPage.tsx"})," ",n.date]}),c.jsx("span",{className:"text-xs text-gray-400","data-id":"wkp2zbe3q","data-path":"src/pages/BlogPage.tsx",children:n.readTime})]}),c.jsx("h2",{className:"text-2xl font-bold mb-4 leading-snug",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"e9an3l4uj","data-path":"src/pages/BlogPage.tsx",children:n.title}),c.jsx("p",{className:"text-gray-700 leading-relaxed mb-5",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.1rem"},"data-id":"1bfr904m2","data-path":"src/pages/BlogPage.tsx",children:n.excerpt}),e===n.id?c.jsxs("div",{className:"space-y-4 mb-6","data-id":"7v4a44now","data-path":"src/pages/BlogPage.tsx",children:[n.body.map((r,s)=>c.jsx("p",{className:"text-gray-700 leading-relaxed",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.05rem",lineHeight:"1.8"},"data-id":"lh6ybt7yn","data-path":"src/pages/BlogPage.tsx",children:r},s)),c.jsx("button",{onClick:()=>t(null),className:"text-sm font-semibold transition-colors hover:opacity-70 mt-2",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"bmf27na4v","data-path":"src/pages/BlogPage.tsx",children:"Show Less ↑"})]}):c.jsxs("button",{onClick:()=>t(n.id),className:"inline-flex items-center gap-1 text-sm font-semibold transition-colors hover:opacity-70",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"6th6m7cyj","data-path":"src/pages/BlogPage.tsx",children:["Read Article ",c.jsx(cn,{className:"w-4 h-4","data-id":"pzkhinnx0","data-path":"src/pages/BlogPage.tsx"})]})]})},n.id))})})}),c.jsx("section",{className:"py-16",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"8sigebnmo","data-path":"src/pages/BlogPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4 text-center","data-id":"uvfh2y175","data-path":"src/pages/BlogPage.tsx",children:[c.jsx("h2",{className:"text-3xl font-bold text-white mb-4",style:{fontFamily:"'Playfair Display', serif"},"data-id":"b3efjspjb","data-path":"src/pages/BlogPage.tsx",children:"Ready to Be Part of the Story?"}),c.jsx("p",{className:"text-gray-400 mb-8 max-w-xl mx-auto",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.1rem"},"data-id":"9vj89c9mu","data-path":"src/pages/BlogPage.tsx",children:"Every article we write, every event we host, every scholarship we fund is made possible by donors like you."}),c.jsxs(Y,{to:"/donate",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full font-semibold transition-all hover:opacity-90",style:{backgroundColor:"hsl(40,58%,54%)",color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"0349d4jnu","data-path":"src/pages/BlogPage.tsx",children:["Donate Now ",c.jsx(cn,{className:"w-4 h-4","data-id":"qgwvp2e3t","data-path":"src/pages/BlogPage.tsx"})]})]})}),c.jsx(xt,{"data-id":"oc9qhe7xc","data-path":"src/pages/BlogPage.tsx"})]})}function YE(){const[e,t]=w.useState({name:"",email:"",subject:"",message:""}),[n,r]=w.useState(!1);function s(i){t({...e,[i.target.name]:i.target.value})}function a(i){i.preventDefault(),r(!0)}return c.jsxs("div",{className:"min-h-screen bg-white","data-id":"260ov6ztc","data-path":"src/pages/ContactPage.tsx",children:[c.jsx(yt,{"data-id":"dx7zsv064","data-path":"src/pages/ContactPage.tsx"}),c.jsx("section",{className:"pt-32 pb-20",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"zhtoy13wc","data-path":"src/pages/ContactPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"m43a2jks0","data-path":"src/pages/ContactPage.tsx",children:[c.jsx("div",{className:"section-label mb-4",style:{color:"hsl(40,72%,65%)"},"data-id":"0byld0a1e","data-path":"src/pages/ContactPage.tsx",children:"Reach Out"}),c.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-6",style:{fontFamily:"'Playfair Display', serif"},"data-id":"xf7h1vtz6","data-path":"src/pages/ContactPage.tsx",children:"Contact Us"}),c.jsx("p",{className:"text-gray-400 max-w-2xl text-lg",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.15rem"},"data-id":"vo9tzblkg","data-path":"src/pages/ContactPage.tsx",children:"Whether you'd like to donate, volunteer, partner with us, or simply learn more — we'd love to hear from you."})]})}),c.jsx("section",{className:"py-20","data-id":"m2cifligz","data-path":"src/pages/ContactPage.tsx",children:c.jsx("div",{className:"container mx-auto px-4","data-id":"dl0m8e63n","data-path":"src/pages/ContactPage.tsx",children:c.jsxs("div",{className:"max-w-5xl mx-auto grid grid-cols-1 lg:grid-cols-5 gap-12","data-id":"78fefpmou","data-path":"src/pages/ContactPage.tsx",children:[c.jsxs("div",{className:"lg:col-span-2 space-y-6","data-id":"roa80iyjp","data-path":"src/pages/ContactPage.tsx",children:[c.jsxs("div",{"data-id":"vud2vzzbb","data-path":"src/pages/ContactPage.tsx",children:[c.jsx("div",{className:"section-label mb-4","data-id":"2mvzjib54","data-path":"src/pages/ContactPage.tsx",children:"Get in Touch"}),c.jsx("div",{className:"gold-divider mb-6","data-id":"b105glt4u","data-path":"src/pages/ContactPage.tsx"}),c.jsx("p",{className:"text-gray-700 leading-relaxed",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.1rem"},"data-id":"g0vfv874e","data-path":"src/pages/ContactPage.tsx",children:"Our team responds to all inquiries within 2 business days. For urgent matters, please call us directly."})]}),c.jsxs("div",{className:"space-y-5","data-id":"ycm55kfsw","data-path":"src/pages/ContactPage.tsx",children:[c.jsxs("div",{className:"flex items-start gap-4","data-id":"8t00wy17j","data-path":"src/pages/ContactPage.tsx",children:[c.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"45q1tn7t0","data-path":"src/pages/ContactPage.tsx",children:c.jsx(Cf,{className:"w-5 h-5",style:{color:"hsl(40,72%,65%)"},"data-id":"skjxuir31","data-path":"src/pages/ContactPage.tsx"})}),c.jsxs("div",{"data-id":"z80bx4bzu","data-path":"src/pages/ContactPage.tsx",children:[c.jsx("p",{className:"font-semibold text-sm mb-1",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"iu1dg5oik","data-path":"src/pages/ContactPage.tsx",children:"Mailing Address"}),c.jsxs("p",{className:"text-gray-600 text-sm","data-id":"oljc6fbzq","data-path":"src/pages/ContactPage.tsx",children:["560 C Avenue",c.jsx("br",{"data-id":"s3ch57j5f","data-path":"src/pages/ContactPage.tsx"}),"Coronado, CA 92118"]})]})]}),c.jsxs("div",{className:"flex items-start gap-4","data-id":"x4927ptlz","data-path":"src/pages/ContactPage.tsx",children:[c.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"3o1mgfn65","data-path":"src/pages/ContactPage.tsx",children:c.jsx(Vv,{className:"w-5 h-5",style:{color:"hsl(40,72%,65%)"},"data-id":"6nig2qqov","data-path":"src/pages/ContactPage.tsx"})}),c.jsxs("div",{"data-id":"u53np8sx9","data-path":"src/pages/ContactPage.tsx",children:[c.jsx("p",{className:"font-semibold text-sm mb-1",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"nqmh3bvl6","data-path":"src/pages/ContactPage.tsx",children:"Phone"}),c.jsx("a",{href:"tel:+16196662374",className:"text-gray-600 text-sm hover:text-yellow-700 transition-colors","data-id":"g4m4wsfq1","data-path":"src/pages/ContactPage.tsx",children:"+1-619-666-2374"})]})]}),c.jsxs("div",{className:"flex items-start gap-4","data-id":"ettiu8ht3","data-path":"src/pages/ContactPage.tsx",children:[c.jsx("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"3q79kflu8","data-path":"src/pages/ContactPage.tsx",children:c.jsx(_v,{className:"w-5 h-5",style:{color:"hsl(40,72%,65%)"},"data-id":"mmezf4pjm","data-path":"src/pages/ContactPage.tsx"})}),c.jsxs("div",{"data-id":"ec0288xyn","data-path":"src/pages/ContactPage.tsx",children:[c.jsx("p",{className:"font-semibold text-sm mb-1",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"a83ws9vj7","data-path":"src/pages/ContactPage.tsx",children:"Email"}),c.jsx("a",{href:"mailto:ask@trustselaro.com",className:"text-gray-600 text-sm hover:text-yellow-700 transition-colors","data-id":"mo9mvd6vj","data-path":"src/pages/ContactPage.tsx",children:"ask@trustselaro.com"})]})]})]}),c.jsxs("div",{className:"rounded-2xl p-6",style:{backgroundColor:"hsl(38,50%,96%)"},"data-id":"2f4k5e75h","data-path":"src/pages/ContactPage.tsx",children:[c.jsx("p",{className:"text-xs text-gray-500 mb-2",style:{fontFamily:"'DM Sans', sans-serif"},"data-id":"3xwxrx1b7","data-path":"src/pages/ContactPage.tsx",children:"Registered Nonprofit"}),c.jsx("p",{className:"font-bold text-sm",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"4qd122srn","data-path":"src/pages/ContactPage.tsx",children:"James Shirey Foundation Inc."}),c.jsx("p",{className:"text-xs text-gray-500 mt-1","data-id":"h52y9cgro","data-path":"src/pages/ContactPage.tsx",children:"EIN: 82-3326571 | 501(c)(3)"})]})]}),c.jsx("div",{className:"lg:col-span-3","data-id":"rnk9rjz7y","data-path":"src/pages/ContactPage.tsx",children:n?c.jsxs("div",{className:"flex flex-col items-center justify-center h-full text-center py-16","data-id":"ru379xwr1","data-path":"src/pages/ContactPage.tsx",children:[c.jsx("div",{className:"w-16 h-16 rounded-full flex items-center justify-center mb-5",style:{backgroundColor:"hsl(40,58%,54%)"},"data-id":"hte28lhk8","data-path":"src/pages/ContactPage.tsx",children:c.jsx(Sf,{className:"w-8 h-8 text-white","data-id":"2opoasqen","data-path":"src/pages/ContactPage.tsx"})}),c.jsx("h3",{className:"text-2xl font-bold mb-3",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"vis8ggaxa","data-path":"src/pages/ContactPage.tsx",children:"Message Sent!"}),c.jsx("p",{className:"text-gray-600 max-w-sm",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.05rem"},"data-id":"gopmzd7bo","data-path":"src/pages/ContactPage.tsx",children:"Thank you for reaching out. A member of our team will respond to you within 2 business days."}),c.jsx("button",{onClick:()=>{r(!1),t({name:"",email:"",subject:"",message:""})},className:"mt-6 text-sm font-semibold transition-colors hover:opacity-70",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"4zszrneuj","data-path":"src/pages/ContactPage.tsx",children:"Send Another Message"})]}):c.jsxs("form",{onSubmit:a,className:"space-y-5","data-id":"o8rm55kj6","data-path":"src/pages/ContactPage.tsx",children:[c.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5","data-id":"5vlnu0yld","data-path":"src/pages/ContactPage.tsx",children:[c.jsxs("div",{"data-id":"5qbrbud8m","data-path":"src/pages/ContactPage.tsx",children:[c.jsx("label",{className:"block text-sm font-medium mb-1.5",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"j5f8uuqdi","data-path":"src/pages/ContactPage.tsx",children:"Full Name *"}),c.jsx("input",{required:!0,name:"name",value:e.name,onChange:s,type:"text",placeholder:"Your full name",className:"w-full px-4 py-3.5 rounded-xl border-2 text-sm outline-none transition-all",style:{borderColor:"hsl(38,50%,85%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"e000gpp8u","data-path":"src/pages/ContactPage.tsx"})]}),c.jsxs("div",{"data-id":"3aso1mz1m","data-path":"src/pages/ContactPage.tsx",children:[c.jsx("label",{className:"block text-sm font-medium mb-1.5",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"bzo1lvg2g","data-path":"src/pages/ContactPage.tsx",children:"Email Address *"}),c.jsx("input",{required:!0,name:"email",value:e.email,onChange:s,type:"email",placeholder:"you@example.com",className:"w-full px-4 py-3.5 rounded-xl border-2 text-sm outline-none transition-all",style:{borderColor:"hsl(38,50%,85%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"0fttdy39h","data-path":"src/pages/ContactPage.tsx"})]})]}),c.jsxs("div",{"data-id":"i95exzbee","data-path":"src/pages/ContactPage.tsx",children:[c.jsx("label",{className:"block text-sm font-medium mb-1.5",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"pwxvyamf1","data-path":"src/pages/ContactPage.tsx",children:"Subject *"}),c.jsxs("select",{required:!0,name:"subject",value:e.subject,onChange:s,className:"w-full px-4 py-3.5 rounded-xl border-2 text-sm outline-none transition-all bg-white",style:{borderColor:"hsl(38,50%,85%)",fontFamily:"'DM Sans', sans-serif",color:e.subject?"inherit":"#9ca3af"},"data-id":"aavo0hd9h","data-path":"src/pages/ContactPage.tsx",children:[c.jsx("option",{value:"",disabled:!0,"data-id":"r3kzvk1z8","data-path":"src/pages/ContactPage.tsx",children:"Select a topic"}),c.jsx("option",{"data-id":"gkum8adum","data-path":"src/pages/ContactPage.tsx",children:"Donation Inquiry"}),c.jsx("option",{"data-id":"kb1778tsk","data-path":"src/pages/ContactPage.tsx",children:"Volunteer Opportunities"}),c.jsx("option",{"data-id":"yv2veel0c","data-path":"src/pages/ContactPage.tsx",children:"Scholarship Information"}),c.jsx("option",{"data-id":"209j43uoz","data-path":"src/pages/ContactPage.tsx",children:"Partnership Proposal"}),c.jsx("option",{"data-id":"sgdc6wwyy","data-path":"src/pages/ContactPage.tsx",children:"Event Information"}),c.jsx("option",{"data-id":"hgprcsfce","data-path":"src/pages/ContactPage.tsx",children:"Rare Disease Awareness"}),c.jsx("option",{"data-id":"uqx9pgvz1","data-path":"src/pages/ContactPage.tsx",children:"General Inquiry"})]})]}),c.jsxs("div",{"data-id":"j00soiaea","data-path":"src/pages/ContactPage.tsx",children:[c.jsx("label",{className:"block text-sm font-medium mb-1.5",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"jsk4j4rr8","data-path":"src/pages/ContactPage.tsx",children:"Message *"}),c.jsx("textarea",{required:!0,name:"message",value:e.message,onChange:s,rows:6,placeholder:"Tell us how we can help...",className:"w-full px-4 py-3.5 rounded-xl border-2 text-sm outline-none transition-all resize-none",style:{borderColor:"hsl(38,50%,85%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"w7amympiw","data-path":"src/pages/ContactPage.tsx"})]}),c.jsx("button",{type:"submit",className:"w-full py-4 rounded-full font-semibold text-sm transition-all hover:opacity-90",style:{backgroundColor:"hsl(218,70%,11%)",color:"white",fontFamily:"'DM Sans', sans-serif"},"data-id":"60z1lwno3","data-path":"src/pages/ContactPage.tsx",children:"Send Message"})]})})]})})}),c.jsx(xt,{"data-id":"czbmevusy","data-path":"src/pages/ContactPage.tsx"})]})}function QE(){return c.jsxs("div",{className:"min-h-screen bg-white","data-id":"86n2fsc9x","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[c.jsx(yt,{"data-id":"q5fnw6zj4","data-path":"src/pages/PrivacyPolicyPage.tsx"}),c.jsx("section",{className:"pt-32 pb-16",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"oo0h9ovnb","data-path":"src/pages/PrivacyPolicyPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"t69jdek5b","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[c.jsx("div",{className:"section-label mb-4",style:{color:"hsl(40,72%,65%)"},"data-id":"53k2d4bsz","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Legal"}),c.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-white mb-4",style:{fontFamily:"'Playfair Display', serif"},"data-id":"gokslrev2","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Privacy Policy"}),c.jsx("p",{className:"text-gray-400 text-sm","data-id":"kqkw8yt3t","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Effective Date: January 1, 2024 | Last Updated: January 1, 2024"})]})}),c.jsx("section",{className:"py-16","data-id":"p3gjvq705","data-path":"src/pages/PrivacyPolicyPage.tsx",children:c.jsx("div",{className:"container mx-auto px-4","data-id":"s1goxwi7d","data-path":"src/pages/PrivacyPolicyPage.tsx",children:c.jsxs("div",{className:"max-w-3xl mx-auto prose-like","data-id":"r9nlnl72n","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[[{title:"1. About This Policy",content:'James Shirey Foundation Inc. ("Foundation," "we," "our," or "us") is a 501(c)(3) nonprofit organization incorporated in California (EIN: 82-3326571). This Privacy Policy explains how we collect, use, disclose, and protect information about individuals who interact with our website, programs, events, and communications. By using our website or providing us with your information, you agree to the practices described here.'},{title:"2. Information We Collect",content:`We may collect the following categories of information:
Personal Identification: Name, email address, phone number, and mailing address provided when you contact us, donate, register for events, or request program information.
Donation Information: Gift amount, payment method details (processed securely through third-party payment processors), and donor preferences.
Event & Program Information: Registration details, attendance records, and participation information for Foundation events and programs.
Communications: Records of correspondence with us by email, phone, or written communication.
Website Usage: Standard web analytics including IP address, browser type, pages visited, and referring URLs — collected automatically through cookies and similar technologies.`},{title:"3. How We Use Your Information",content:`We use collected information to:
• Process donations and issue tax receipts
• Communicate about Foundation programs, events, and initiatives
• Respond to inquiries and provide requested information
• Administer event registration and program participation
• Send newsletters and updates (with your consent)
• Improve our website and donor experience
• Comply with legal obligations and maintain accurate records
• Recognize donors and supporters as appropriate`},{title:"4. Disclosure of Information",content:`We do not sell, rent, or trade your personal information to third parties for their marketing purposes. We may share information with:
Service Providers: Trusted vendors who assist us in operating our website, processing payments, sending communications, and administering programs — subject to confidentiality agreements.
Legal Requirements: When required by law, court order, or governmental authority.
Charitable Partners: Limited information shared with vetted nonprofit partner organizations when required to administer joint programs or grants, with appropriate protections in place.`},{title:"5. Donor Privacy",content:"The Foundation is committed to protecting donor privacy. We will not share donor names, contact information, or giving history with any third party for commercial purposes. Donors may request anonymity at any time. We maintain accurate records of all donations and provide tax acknowledgment letters as required by law."},{title:"6. Cookies & Website Analytics",content:"Our website uses cookies and similar technologies to improve user experience and analyze site traffic. You may disable cookies through your browser settings; however, some site features may not function correctly without them. We use analytics services (such as Google Analytics) that may collect aggregated, non-personally-identifiable information about site usage."},{title:"7. Data Security",content:"We implement appropriate technical and organizational measures to protect your personal information against unauthorized access, alteration, disclosure, or destruction. Payment information is processed through secure, encrypted connections by PCI-compliant payment processors. No method of transmission over the internet is completely secure, and we cannot guarantee absolute security."},{title:"8. Your Rights",content:"You have the right to: access the personal information we hold about you; request correction of inaccurate information; request deletion of your information (subject to legal retention requirements); opt out of marketing communications at any time; and request that we not share your information with specific parties. To exercise these rights, contact us at ask@trustselaro.com."},{title:"9. Children's Privacy",content:"Our website is not directed to children under the age of 13. We do not knowingly collect personal information from children under 13 without verifiable parental consent. Program participants under 18 must have parental or guardian consent for participation."},{title:"10. Changes to This Policy",content:"We may update this Privacy Policy periodically. Material changes will be posted on this page with an updated effective date. Continued use of our website following notice of changes constitutes acceptance of the revised policy."},{title:"11. Contact Us",content:`For questions, concerns, or requests related to this Privacy Policy or your personal information:
James Shirey Foundation Inc.
560 C Avenue, Coronado, CA 92118
Email: ask@trustselaro.com
Phone: +1-619-666-2374`}].map(e=>c.jsxs("div",{className:"mb-10","data-id":"xdrafewya","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[c.jsx("h2",{className:"text-xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"1235b20cx","data-path":"src/pages/PrivacyPolicyPage.tsx",children:e.title}),c.jsx("div",{className:"text-gray-700 leading-relaxed whitespace-pre-line",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.05rem",lineHeight:"1.8"},"data-id":"lnou6ld8v","data-path":"src/pages/PrivacyPolicyPage.tsx",children:e.content})]},e.title)),c.jsx("div",{className:"mt-10 pt-8 border-t",style:{borderColor:"hsl(38,50%,85%)"},"data-id":"0apqdxbfz","data-path":"src/pages/PrivacyPolicyPage.tsx",children:c.jsx(Y,{to:"/contact",className:"inline-flex items-center gap-2 text-sm font-semibold transition-colors hover:opacity-70",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"vatsrriz1","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Questions? Contact Us →"})})]})})}),c.jsx(xt,{"data-id":"2ld1tyqac","data-path":"src/pages/PrivacyPolicyPage.tsx"})]})}function XE(){return c.jsxs("div",{className:"min-h-screen bg-white","data-id":"5eswejnl8","data-path":"src/pages/TermsPage.tsx",children:[c.jsx(yt,{"data-id":"znhrs1u97","data-path":"src/pages/TermsPage.tsx"}),c.jsx("section",{className:"pt-32 pb-16",style:{backgroundColor:"hsl(218,70%,11%)"},"data-id":"uydjbkbc5","data-path":"src/pages/TermsPage.tsx",children:c.jsxs("div",{className:"container mx-auto px-4","data-id":"bcp4w6v02","data-path":"src/pages/TermsPage.tsx",children:[c.jsx("div",{className:"section-label mb-4",style:{color:"hsl(40,72%,65%)"},"data-id":"5f5ym1718","data-path":"src/pages/TermsPage.tsx",children:"Legal"}),c.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-white mb-4",style:{fontFamily:"'Playfair Display', serif"},"data-id":"v760aru0z","data-path":"src/pages/TermsPage.tsx",children:"Terms & Conditions"}),c.jsx("p",{className:"text-gray-400 text-sm","data-id":"oeaaol35v","data-path":"src/pages/TermsPage.tsx",children:"Effective Date: January 1, 2024 | Last Updated: January 1, 2024"})]})}),c.jsx("section",{className:"py-16","data-id":"kapmh7e36","data-path":"src/pages/TermsPage.tsx",children:c.jsx("div",{className:"container mx-auto px-4","data-id":"35ru7x6q6","data-path":"src/pages/TermsPage.tsx",children:c.jsxs("div",{className:"max-w-3xl mx-auto","data-id":"zedhlr6s4","data-path":"src/pages/TermsPage.tsx",children:[[{title:"1. Acceptance of Terms",content:'By accessing and using the website of James Shirey Foundation Inc. (EIN: 82-3326571), a California nonprofit corporation ("Foundation," "we," "our," or "us"), you agree to be bound by these Terms and Conditions. If you do not agree to these terms, please do not use this website.'},{title:"2. Description of Organization",content:"The James Shirey Foundation Inc. is a 501(c)(3) nonprofit charitable organization dedicated to raising funds for charities that support youth development, educational opportunity, and rare disease initiatives. We are registered in the State of California and recognized as tax-exempt by the Internal Revenue Service."},{title:"3. Website Use",content:"This website is provided for informational and charitable purposes. You agree to use this website only for lawful purposes and in a manner that does not infringe the rights of others or restrict their use of the site. Prohibited uses include: transmitting unsolicited commercial communications; attempting to gain unauthorized access to any part of our systems; using automated tools to scrape or harvest site content; or engaging in any activity that violates applicable law."},{title:"4. Donations",content:"All donations made through this website are final and non-refundable except in cases of clear error or fraud, at the sole discretion of the Foundation. The Foundation is a 501(c)(3) organization, and donations may be tax-deductible to the fullest extent permitted by law. Donors are responsible for consulting their tax advisor regarding deductibility. Tax receipts will be provided for all donations as required by IRS regulations. The Foundation reserves the right to use donations in furtherance of its stated charitable mission, including directing funds to vetted partner organizations."},{title:"5. Intellectual Property",content:"All content on this website — including text, graphics, logos, images, and software — is the property of the James Shirey Foundation Inc. or its content providers and is protected by United States copyright law. You may not reproduce, distribute, modify, or create derivative works of any content without prior written permission from the Foundation. Limited personal, non-commercial use of website content is permitted with proper attribution."},{title:"6. Third-Party Links",content:"This website may contain links to third-party websites, including charitable partner organizations, payment processors, and educational resources. These links are provided for convenience only. The Foundation does not control, endorse, or assume responsibility for the content, privacy practices, or accuracy of any third-party website. Your use of third-party websites is governed by their own terms and privacy policies."},{title:"7. Disclaimer of Warranties",content:'This website is provided "as is" and "as available" without any warranties of any kind, either express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement. The Foundation does not warrant that the website will be uninterrupted, error-free, or free of viruses or other harmful components.'},{title:"8. Limitation of Liability",content:"To the maximum extent permitted by applicable law, the James Shirey Foundation Inc. shall not be liable for any indirect, incidental, special, consequential, or punitive damages arising from your use of this website, including but not limited to loss of data, revenue, or goodwill. Our total liability for any claims relating to this website shall not exceed the amount, if any, donated by you in the twelve months preceding the claim."},{title:"9. Volunteer & Event Participation",content:"Participation in Foundation events and volunteer activities is voluntary and subject to additional terms communicated at the time of registration. The Foundation maintains appropriate insurance coverage for its activities. Participants may be required to sign waivers for certain activities. The Foundation reserves the right to decline participation by any individual at its discretion."},{title:"10. Program Eligibility",content:"Foundation programs, including scholarship awards, are subject to eligibility criteria established by the Foundation's board. The Foundation's decisions regarding program participation and award distributions are final. The Foundation does not discriminate on the basis of race, color, national origin, sex, disability, religion, age, or any other legally protected characteristic."},{title:"11. Governing Law",content:"These Terms and 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. Any disputes arising under these terms shall be subject to the exclusive jurisdiction of courts located in San Diego County, California."},{title:"12. Changes to Terms",content:"The Foundation reserves the right to modify these Terms and Conditions at any time. Material changes will be indicated by an updated effective date on this page. Continued use of the website following the posting of changes constitutes acceptance of the revised terms."},{title:"13. Contact Information",content:`For questions regarding these Terms and Conditions:
James Shirey Foundation Inc.
560 C Avenue, Coronado, CA 92118
Email: ask@trustselaro.com
Phone: +1-619-666-2374`}].map(e=>c.jsxs("div",{className:"mb-10","data-id":"lgds3srdg","data-path":"src/pages/TermsPage.tsx",children:[c.jsx("h2",{className:"text-xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"hsl(218,70%,11%)"},"data-id":"0sdpyrm8d","data-path":"src/pages/TermsPage.tsx",children:e.title}),c.jsx("div",{className:"text-gray-700 leading-relaxed whitespace-pre-line",style:{fontFamily:"'Crimson Pro', serif",fontSize:"1.05rem",lineHeight:"1.8"},"data-id":"8jfyq3svm","data-path":"src/pages/TermsPage.tsx",children:e.content})]},e.title)),c.jsx("div",{className:"mt-10 pt-8 border-t",style:{borderColor:"hsl(38,50%,85%)"},"data-id":"yttf3nn6h","data-path":"src/pages/TermsPage.tsx",children:c.jsx(Y,{to:"/contact",className:"inline-flex items-center gap-2 text-sm font-semibold transition-colors hover:opacity-70",style:{color:"hsl(218,70%,11%)",fontFamily:"'DM Sans', sans-serif"},"data-id":"rydmgnqyk","data-path":"src/pages/TermsPage.tsx",children:"Questions? Contact Us →"})})]})})}),c.jsx(xt,{"data-id":"j3ufl39z1","data-path":"src/pages/TermsPage.tsx"})]})}const JE=Pf("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"}}),va=w.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},a)=>{const i=r?zS:"button";return c.jsx(i,{className:Ce(JE({variant:t,size:n,className:e})),ref:a,...s})});va.displayName="Button";const Y0=w.createContext({});function ZE(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const eN=typeof window<"u",tN=eN?w.useLayoutEffect:w.useEffect,Bf=w.createContext(null);function Hf(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 $f=()=>{};const Zn={},Q0=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),X0=e=>typeof e=="object"&&e!==null,J0=e=>/^0[^.\s]+$/u.test(e);function Z0(e){let t;return()=>(t===void 0&&(t=e()),t)}const pt=e=>e,ui=(...e)=>e.reduce((t,n)=>r=>n(t(r))),qa=(e,t,n)=>{const r=t-e;return r?(n-e)/r:1};class Uf{constructor(){this.subscriptions=[]}add(t){return Hf(this.subscriptions,t),()=>qo(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let a=0;a<s;a++){const i=this.subscriptions[a];i&&i(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const nt=e=>e*1e3,ft=e=>e/1e3,ew=(e,t)=>t?e*(1e3/t):0,tw=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,nN=1e-7,rN=12;function sN(e,t,n,r,s){let a,i,o=0;do i=t+(n-t)/2,a=tw(i,r,s)-e,a>0?n=i:t=i;while(Math.abs(a)>nN&&++o<rN);return i}function di(e,t,n,r){if(e===t&&n===r)return pt;const s=a=>sN(a,0,1,e,n);return a=>a===0||a===1?a:tw(s(a),t,r)}const nw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,rw=e=>t=>1-e(1-t),sw=di(.33,1.53,.69,.99),Wf=rw(sw),aw=nw(Wf),iw=e=>e>=1?1:(e*=2)<1?.5*Wf(e):.5*(2-Math.pow(2,-10*(e-1))),qf=e=>1-Math.sin(Math.acos(e)),ow=rw(qf),lw=nw(qf),aN=di(.42,0,1,1),iN=di(0,0,.58,1),cw=di(.42,0,.58,1),oN=e=>Array.isArray(e)&&typeof e[0]!="number",uw=e=>Array.isArray(e)&&typeof e[0]=="number",lN={linear:pt,easeIn:aN,easeInOut:cw,easeOut:iN,circIn:qf,circInOut:lw,circOut:ow,backIn:Wf,backInOut:aw,backOut:sw,anticipate:iw},cN=e=>typeof e=="string",Sm=e=>{if(uw(e)){$f(e.length===4);const[t,n,r,s]=e;return di(t,n,r,s)}else if(cN(e))return lN[e];return e},zi=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function uN(e,t){let n=new Set,r=new Set,s=!1,a=!1;const i=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function l(d){i.has(d)&&(u.schedule(d),e()),d(o)}const u={schedule:(d,f=!1,h=!1)=>{const y=h&&s?n:r;return f&&i.add(d),y.add(d),d},cancel:d=>{r.delete(d),i.delete(d)},process:d=>{if(o=d,s){a=!0;return}s=!0;const f=n;n=r,r=f,n.forEach(l),n.clear(),s=!1,a&&(a=!1,u.process(d))}};return u}const dN=40;function dw(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,i=zi.reduce((x,P)=>(x[P]=uN(a),x),{}),{setup:o,read:l,resolveKeyframes:u,preUpdate:d,update:f,preRender:h,render:p,postRender:y}=i,v=()=>{const x=Zn.useManualTiming,P=x?s.timestamp:performance.now();n=!1,x||(s.delta=r?1e3/60:Math.max(Math.min(P-s.timestamp,dN),1)),s.timestamp=P,s.isProcessing=!0,o.process(s),l.process(s),u.process(s),d.process(s),f.process(s),h.process(s),p.process(s),y.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(v))},b=()=>{n=!0,r=!0,s.isProcessing||e(v)};return{schedule:zi.reduce((x,P)=>{const S=i[P];return x[P]=(C,j=!1,k=!1)=>(n||b(),S.schedule(C,j,k)),x},{}),cancel:x=>{for(let P=0;P<zi.length;P++)i[zi[P]].cancel(x)},state:s,steps:i}}const{schedule:Z,cancel:er,state:Te,steps:mc}=dw(typeof requestAnimationFrame<"u"?requestAnimationFrame:pt,!0);let ao;function fN(){ao=void 0}const ze={now:()=>(ao===void 0&&ze.set(Te.isProcessing||Zn.useManualTiming?Te.timestamp:performance.now()),ao),set:e=>{ao=e,queueMicrotask(fN)}},fw=e=>t=>typeof t=="string"&&t.startsWith(e),hw=fw("--"),hN=fw("var(--"),Kf=e=>hN(e)?pN.test(e.split("/*")[0].trim()):!1,pN=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Cm(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const _s={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ka={..._s,transform:e=>Qt(0,1,e)},_i={..._s,default:1},wa=e=>Math.round(e*1e5)/1e5,Gf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function mN(e){return e==null}const gN=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Yf=(e,t)=>n=>!!(typeof n=="string"&&gN.test(n)&&n.startsWith(e)||t&&!mN(n)&&Object.prototype.hasOwnProperty.call(n,t)),pw=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,a,i,o]=r.match(Gf);return{[e]:parseFloat(s),[t]:parseFloat(a),[n]:parseFloat(i),alpha:o!==void 0?parseFloat(o):1}},yN=e=>Qt(0,255,e),gc={..._s,transform:e=>Math.round(yN(e))},pr={test:Yf("rgb","red"),parse:pw("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+gc.transform(e)+", "+gc.transform(t)+", "+gc.transform(n)+", "+wa(Ka.transform(r))+")"};function xN(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const Wu={test:Yf("#"),parse:xN,transform:pr.transform},fi=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),nn=fi("deg"),Yt=fi("%"),I=fi("px"),vN=fi("vh"),wN=fi("vw"),km={...Yt,parse:e=>Yt.parse(e)/100,transform:e=>Yt.transform(e*100)},Zr={test:Yf("hsl","hue"),parse:pw("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Yt.transform(wa(t))+", "+Yt.transform(wa(n))+", "+wa(Ka.transform(r))+")"},he={test:e=>pr.test(e)||Wu.test(e)||Zr.test(e),parse:e=>pr.test(e)?pr.parse(e):Zr.test(e)?Zr.parse(e):Wu.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?pr.transform(e):Zr.transform(e),getAnimatableNone:e=>{const t=he.parse(e);return t.alpha=0,he.transform(t)}},bN=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function PN(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Gf))==null?void 0:t.length)||0)+(((n=e.match(bN))==null?void 0:n.length)||0)>0}const mw="number",gw="color",SN="var",CN="var(",jm="${}",kN=/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 As(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let a=0;const o=t.replace(kN,l=>(he.test(l)?(r.color.push(a),s.push(gw),n.push(he.parse(l))):l.startsWith(CN)?(r.var.push(a),s.push(SN),n.push(l)):(r.number.push(a),s.push(mw),n.push(parseFloat(l))),++a,jm)).split(jm);return{values:n,split:o,indexes:r,types:s}}function jN(e){return As(e).values}function yw({split:e,types:t}){const n=e.length;return r=>{let s="";for(let a=0;a<n;a++)if(s+=e[a],r[a]!==void 0){const i=t[a];i===mw?s+=wa(r[a]):i===gw?s+=he.transform(r[a]):s+=r[a]}return s}}function TN(e){return yw(As(e))}const EN=e=>typeof e=="number"?0:he.test(e)?he.getAnimatableNone(e):e,NN=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:EN(e);function AN(e){const t=As(e);return yw(t)(t.values.map((r,s)=>NN(r,t.split[s])))}const Dt={test:PN,parse:jN,createTransformer:TN,getAnimatableNone:AN};function yc(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 DN({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,a=0,i=0;if(!t)s=a=i=n;else{const o=n<.5?n*(1+t):n+t-n*t,l=2*n-o;s=yc(l,o,e+1/3),a=yc(l,o,e),i=yc(l,o,e-1/3)}return{red:Math.round(s*255),green:Math.round(a*255),blue:Math.round(i*255),alpha:r}}function Ko(e,t){return n=>n>0?t:e}const J=(e,t,n)=>e+(t-e)*n,xc=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},RN=[Wu,pr,Zr],MN=e=>RN.find(t=>t.test(e));function Tm(e){const t=MN(e);if(!t)return!1;let n=t.parse(e);return t===Zr&&(n=DN(n)),n}const Em=(e,t)=>{const n=Tm(e),r=Tm(t);if(!n||!r)return Ko(e,t);const s={...n};return a=>(s.red=xc(n.red,r.red,a),s.green=xc(n.green,r.green,a),s.blue=xc(n.blue,r.blue,a),s.alpha=J(n.alpha,r.alpha,a),pr.transform(s))},qu=new Set(["none","hidden"]);function FN(e,t){return qu.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function ON(e,t){return n=>J(e,t,n)}function Qf(e){return typeof e=="number"?ON:typeof e=="string"?Kf(e)?Ko:he.test(e)?Em:zN:Array.isArray(e)?xw:typeof e=="object"?he.test(e)?Em:LN:Ko}function xw(e,t){const n=[...e],r=n.length,s=e.map((a,i)=>Qf(a)(a,t[i]));return a=>{for(let i=0;i<r;i++)n[i]=s[i](a);return n}}function LN(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=Qf(e[s])(e[s],t[s]));return s=>{for(const a in r)n[a]=r[a](s);return n}}function IN(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const a=t.types[s],i=e.indexes[a][r[a]],o=e.values[i]??0;n[s]=o,r[a]++}return n}const zN=(e,t)=>{const n=Dt.createTransformer(t),r=As(e),s=As(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?qu.has(e)&&!s.values.length||qu.has(t)&&!r.values.length?FN(e,t):ui(xw(IN(r,s),s.values),n):Ko(e,t)};function vw(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?J(e,t,n):Qf(e)(e,t)}const _N=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>Z.update(t,n),stop:()=>er(t),now:()=>Te.isProcessing?Te.timestamp:ze.now()}},ww=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let a=0;a<s;a++)r+=Math.round(e(a/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Go=2e4;function Xf(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Go;)t+=n,r=e.next(t);return t>=Go?1/0:t}function VN(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(Xf(r),Go);return{type:"keyframes",ease:a=>r.next(s*a).value/t,duration:ft(s)}}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 Ku(e,t){return e*Math.sqrt(1-t*t)}const BN=12;function HN(e,t,n){let r=n;for(let s=1;s<BN;s++)r=r-e(r)/t(r);return r}const vc=.001;function $N({duration:e=ue.duration,bounce:t=ue.bounce,velocity:n=ue.velocity,mass:r=ue.mass}){let s,a,i=1-t;i=Qt(ue.minDamping,ue.maxDamping,i),e=Qt(ue.minDuration,ue.maxDuration,ft(e)),i<1?(s=u=>{const d=u*i,f=d*e,h=d-n,p=Ku(u,i),y=Math.exp(-f);return vc-h/p*y},a=u=>{const f=u*i*e,h=f*n+n,p=Math.pow(i,2)*Math.pow(u,2)*e,y=Math.exp(-f),v=Ku(Math.pow(u,2),i);return(-s(u)+vc>0?-1:1)*((h-p)*y)/v}):(s=u=>{const d=Math.exp(-u*e),f=(u-n)*e+1;return-vc+d*f},a=u=>{const d=Math.exp(-u*e),f=(n-u)*(e*e);return d*f});const o=5/e,l=HN(s,a,o);if(e=nt(e),isNaN(l))return{stiffness:ue.stiffness,damping:ue.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:i*2*Math.sqrt(r*u),duration:e}}}const UN=["duration","bounce"],WN=["stiffness","damping","mass"];function Nm(e,t){return t.some(n=>e[n]!==void 0)}function qN(e){let t={velocity:ue.velocity,stiffness:ue.stiffness,damping:ue.damping,mass:ue.mass,isResolvedFromDuration:!1,...e};if(!Nm(e,WN)&&Nm(e,UN))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,a=2*Qt(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:ue.mass,stiffness:s,damping:a}}else{const n=$N({...e,velocity:0});t={...t,...n,mass:ue.mass},t.isResolvedFromDuration=!0}return t}function Yo(e=ue.visualDuration,t=ue.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const a=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],o={done:!1,value:a},{stiffness:l,damping:u,mass:d,duration:f,velocity:h,isResolvedFromDuration:p}=qN({...n,velocity:-ft(n.velocity||0)}),y=h||0,v=u/(2*Math.sqrt(l*d)),b=i-a,g=ft(Math.sqrt(l/d)),m=Math.abs(b)<5;r||(r=m?ue.restSpeed.granular:ue.restSpeed.default),s||(s=m?ue.restDelta.granular:ue.restDelta.default);let x,P,S,C,j,k;if(v<1)S=Ku(g,v),C=(y+v*g*b)/S,x=N=>{const L=Math.exp(-v*g*N);return i-L*(C*Math.sin(S*N)+b*Math.cos(S*N))},j=v*g*C+b*S,k=v*g*b-C*S,P=N=>Math.exp(-v*g*N)*(j*Math.sin(S*N)+k*Math.cos(S*N));else if(v===1){x=L=>i-Math.exp(-g*L)*(b+(y+g*b)*L);const N=y+g*b;P=L=>Math.exp(-g*L)*(g*N*L-y)}else{const N=g*Math.sqrt(v*v-1);x=M=>{const $=Math.exp(-v*g*M),_=Math.min(N*M,300);return i-$*((y+v*g*b)*Math.sinh(_)+N*b*Math.cosh(_))/N};const L=(y+v*g*b)/N,F=v*g*L-b*N,H=v*g*b-L*N;P=M=>{const $=Math.exp(-v*g*M),_=Math.min(N*M,300);return $*(F*Math.sinh(_)+H*Math.cosh(_))}}const A={calculatedDuration:p&&f||null,velocity:N=>nt(P(N)),next:N=>{if(!p&&v<1){const F=Math.exp(-v*g*N),H=Math.sin(S*N),M=Math.cos(S*N),$=i-F*(C*H+b*M),_=nt(F*(j*H+k*M));return o.done=Math.abs(_)<=r&&Math.abs(i-$)<=s,o.value=o.done?i:$,o}const L=x(N);if(p)o.done=N>=f;else{const F=nt(P(N));o.done=Math.abs(F)<=r&&Math.abs(i-L)<=s}return o.value=o.done?i:L,o},toString:()=>{const N=Math.min(Xf(A),Go),L=ww(F=>A.next(N*F).value,N,30);return N+"ms "+L},toTransition:()=>{}};return A}Yo.applyToOptions=e=>{const t=VN(e,100,Yo);return e.ease=t.ease,e.duration=nt(t.duration),e.type="keyframes",e};const KN=5;function bw(e,t,n){const r=Math.max(t-KN,0);return ew(n-e(r),t-r)}function Gu({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:a=500,modifyTarget:i,min:o,max:l,restDelta:u=.5,restSpeed:d}){const f=e[0],h={done:!1,value:f},p=k=>o!==void 0&&k<o||l!==void 0&&k>l,y=k=>o===void 0?l:l===void 0||Math.abs(o-k)<Math.abs(l-k)?o:l;let v=n*t;const b=f+v,g=i===void 0?b:i(b);g!==b&&(v=g-f);const m=k=>-v*Math.exp(-k/r),x=k=>g+m(k),P=k=>{const A=m(k),N=x(k);h.done=Math.abs(A)<=u,h.value=h.done?g:N};let S,C;const j=k=>{p(h.value)&&(S=k,C=Yo({keyframes:[h.value,y(h.value)],velocity:bw(x,k,h.value),damping:s,stiffness:a,restDelta:u,restSpeed:d}))};return j(0),{calculatedDuration:null,next:k=>{let A=!1;return!C&&S===void 0&&(A=!0,P(k),j(k)),S!==void 0&&k>=S?C.next(k-S):(!A&&P(k),h)}}}function GN(e,t,n){const r=[],s=n||Zn.mix||vw,a=e.length-1;for(let i=0;i<a;i++){let o=s(e[i],e[i+1]);if(t){const l=Array.isArray(t)?t[i]||pt:t;o=ui(l,o)}r.push(o)}return r}function YN(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const a=e.length;if($f(a===t.length),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];const i=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=GN(t,r,s),l=o.length,u=d=>{if(i&&d<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(d<e[f+1]);f++);const h=qa(e[f],e[f+1],d);return o[f](h)};return n?d=>u(Qt(e[0],e[a-1],d)):u}function QN(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=qa(0,t,r);e.push(J(n,1,s))}}function XN(e){const t=[0];return QN(t,e.length-1),t}function JN(e,t){return e.map(n=>n*t)}function ZN(e,t){return e.map(()=>t||cw).splice(0,e.length-1)}function ba({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=oN(r)?r.map(Sm):Sm(r),a={done:!1,value:t[0]},i=JN(n&&n.length===t.length?n:XN(t),e),o=YN(i,t,{ease:Array.isArray(s)?s:ZN(t,s)});return{calculatedDuration:e,next:l=>(a.value=o(l),a.done=l>=e,a)}}const eA=e=>e!==null;function Al(e,{repeat:t,repeatType:n="loop"},r,s=1){const a=e.filter(eA),o=s<0||t&&n!=="loop"&&t%2===1?0:a.length-1;return!o||r===void 0?a[o]:r}const tA={decay:Gu,inertia:Gu,tween:ba,keyframes:ba,spring:Yo};function Pw(e){typeof e.type=="string"&&(e.type=tA[e.type])}class Jf{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 nA=e=>e/100;class Qo extends Jf{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 r,s;const{motionValue:n}=this.options;n&&n.updatedAt!==ze.now()&&this.tick(ze.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(s=(r=this.options).onStop)==null||s.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Pw(t);const{type:n=ba,repeat:r=0,repeatDelay:s=0,repeatType:a,velocity:i=0}=t;let{keyframes:o}=t;const l=n||ba;l!==ba&&typeof o[0]!="number"&&(this.mixKeyframes=ui(nA,vw(o[0],o[1])),o=[0,100]);const u=l({...t,keyframes:o});a==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...o].reverse(),velocity:-i})),u.calculatedDuration===null&&(u.calculatedDuration=Xf(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+s,this.totalDuration=this.resolvedDuration*(r+1)-s,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:r,totalDuration:s,mixKeyframes:a,mirroredGenerator:i,resolvedDuration:o,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:d,repeat:f,repeatType:h,repeatDelay:p,type:y,onUpdate:v,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),m=this.playbackSpeed>=0?g<0:g>s;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let x=this.currentTime,P=r;if(f){const k=Math.min(this.currentTime,s)/o;let A=Math.floor(k),N=k%1;!N&&k>=1&&(N=1),N===1&&A--,A=Math.min(A,f+1),!!(A%2)&&(h==="reverse"?(N=1-N,p&&(N-=p/o)):h==="mirror"&&(P=i)),x=Qt(0,1,N)*o}let S;m?(this.delayState.value=d[0],S=this.delayState):S=P.next(x),a&&!m&&(S.value=a(S.value));let{done:C}=S;!m&&l!==null&&(C=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const j=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return j&&y!==Gu&&(S.value=Al(d,this.options,b,this.speed)),v&&v(S.value),j&&this.finish(),S}then(t,n){return this.finished.then(t,n)}get duration(){return ft(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ft(t)}get time(){return ft(this.currentTime)}set time(t){t=nt(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 bw(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(ze.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=ft(this.currentTime))}play(){var s,a;if(this.isStopped)return;const{driver:t=_N,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),(a=(s=this.options).onPlay)==null||a.call(s);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(ze.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 rA(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const mr=e=>e*180/Math.PI,Yu=e=>{const t=mr(Math.atan2(e[1],e[0]));return Qu(t)},sA={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Yu,rotateZ:Yu,skewX:e=>mr(Math.atan(e[1])),skewY:e=>mr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Qu=e=>(e=e%360,e<0&&(e+=360),e),Am=Yu,Dm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Rm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),aA={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Dm,scaleY:Rm,scale:e=>(Dm(e)+Rm(e))/2,rotateX:e=>Qu(mr(Math.atan2(e[6],e[5]))),rotateY:e=>Qu(mr(Math.atan2(-e[2],e[0]))),rotateZ:Am,rotate:Am,skewX:e=>mr(Math.atan(e[4])),skewY:e=>mr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Xu(e){return e.includes("scale")?1:0}function Ju(e,t){if(!e||e==="none")return Xu(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=aA,s=n;else{const o=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=sA,s=o}if(!s)return Xu(t);const a=r[t],i=s[1].split(",").map(oA);return typeof a=="function"?a(i):i[a]}const iA=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Ju(n,t)};function oA(e){return parseFloat(e.trim())}const Vs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Bs=new Set([...Vs,"pathRotation"]),Mm=e=>e===_s||e===I,lA=new Set(["x","y","z"]),cA=Vs.filter(e=>!lA.has(e));function uA(e){const t=[];return cA.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const zn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-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})=>Ju(t,"x"),y:(e,{transform:t})=>Ju(t,"y")};zn.translateX=zn.x;zn.translateY=zn.y;const kr=new Set;let Zu=!1,ed=!1,td=!1;function Sw(){if(ed){const e=Array.from(kr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=uA(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([a,i])=>{var o;(o=r.getValue(a))==null||o.set(i)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}ed=!1,Zu=!1,kr.forEach(e=>e.complete(td)),kr.clear()}function Cw(){kr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ed=!0)})}function dA(){td=!0,Cw(),Sw(),td=!1}class Zf{constructor(t,n,r,s,a,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=a,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(kr.add(this),Zu||(Zu=!0,Z.read(Cw),Z.resolveKeyframes(Sw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const a=s==null?void 0:s.get(),i=t[t.length-1];if(a!==void 0)t[0]=a;else if(r&&n){const o=r.readValue(n,i);o!=null&&(t[0]=o)}t[0]===void 0&&(t[0]=i),s&&a===void 0&&s.set(t[0])}rA(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),kr.delete(this)}cancel(){this.state==="scheduled"&&(kr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const fA=e=>e.startsWith("--");function kw(e,t,n){fA(t)?e.style.setProperty(t,n):e.style[t]=n}const hA={};function jw(e,t){const n=Z0(e);return()=>hA[t]??n()}const pA=jw(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Tw=jw(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),oa=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Fm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:oa([0,.65,.55,1]),circOut:oa([.55,0,1,.45]),backIn:oa([.31,.01,.66,-.59]),backOut:oa([.33,1.53,.69,.99])};function Ew(e,t){if(e)return typeof e=="function"?Tw()?ww(e,t):"ease-out":uw(e)?oa(e):Array.isArray(e)?e.map(n=>Ew(n,t)||Fm.easeOut):Fm[e]}function mA(e,t,n,{delay:r=0,duration:s=300,repeat:a=0,repeatType:i="loop",ease:o="easeOut",times:l}={},u=void 0){const d={[t]:n};l&&(d.offset=l);const f=Ew(o,s);Array.isArray(f)&&(d.easing=f);const h={delay:r,duration:s,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:a+1,direction:i==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(d,h)}function Nw(e){return typeof e=="function"&&"applyToOptions"in e}function gA({type:e,...t}){return Nw(e)&&Tw()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Aw extends Jf{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:a,allowFlatten:i=!1,finalKeyframe:o,onComplete:l}=t;this.isPseudoElement=!!a,this.allowFlatten=i,this.options=t,$f(typeof t.type!="string");const u=gA(t);this.animation=mA(n,r,s,u,a),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){const d=Al(s,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(d),kw(n,r,d),this.animation.cancel()}l==null||l(),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,r,s;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((s=(r=this.animation).commitStyles)==null||s.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return ft(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ft(t)}get time(){return ft(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=nt(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:r,observe:s}){var a;return this.allowFlatten&&((a=this.animation.effect)==null||a.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&pA()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),pt):s(this)}}const Dw={anticipate:iw,backInOut:aw,circInOut:lw};function yA(e){return e in Dw}function xA(e){typeof e.ease=="string"&&yA(e.ease)&&(e.ease=Dw[e.ease])}const wc=10;class vA extends Aw{constructor(t){xA(t),Pw(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:a,...i}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const o=new Qo({...i,autoplay:!1}),l=Math.max(wc,ze.now()-this.startTime),u=Qt(0,wc,l-wc),d=o.sample(l).value,{name:f}=this.options;a&&f&&kw(a,f,d),n.setWithVelocity(o.sample(Math.max(0,l-u)).value,d,u),o.stop()}}const Om=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Dt.test(e)||e==="0")&&!e.startsWith("url("));function wA(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 bA(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const a=e[e.length-1],i=Om(s,t),o=Om(a,t);return!i||!o?!1:wA(e)||(n==="spring"||Nw(n))&&r}function nd(e){e.duration=0,e.type="keyframes"}const Rw=new Set(["opacity","clipPath","filter","transform"]),PA=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function SA(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&PA.test(e[t]))return!0;return!1}const CA=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),kA=Z0(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function jA(e){var f;const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:a,type:i,keyframes:o}=e;if(!(((f=t==null?void 0:t.owner)==null?void 0:f.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:d}=t.owner.getProps();return kA()&&n&&(Rw.has(n)||CA.has(n)&&SA(o))&&(n!=="transform"||!d)&&!u&&!r&&s!=="mirror"&&a!==0&&i!=="inertia"}const TA=40;class EA extends Jf{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:i="loop",keyframes:o,name:l,motionValue:u,element:d,...f}){var y;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=ze.now();const h={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:a,repeatType:i,name:l,motionValue:u,element:d,...f},p=(d==null?void 0:d.KeyframeResolver)||Zf;this.keyframeResolver=new p(o,(v,b,g)=>this.onKeyframesResolved(v,b,h,!g),l,u,d),(y=this.keyframeResolver)==null||y.scheduleResolve()}onKeyframesResolved(t,n,r,s){var g,m;this.keyframeResolver=void 0;const{name:a,type:i,velocity:o,delay:l,isHandoff:u,onUpdate:d}=r;this.resolvedAt=ze.now();let f=!0;bA(t,a,i,o)||(f=!1,(Zn.instantAnimations||!l)&&(d==null||d(Al(t,r,n))),t[0]=t[t.length-1],nd(r),r.repeat=0);const p={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>TA?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},y=f&&!u&&jA(p),v=(m=(g=p.motionValue)==null?void 0:g.owner)==null?void 0:m.current;let b;if(y)try{b=new vA({...p,element:v})}catch{b=new Qo(p)}else b=new Qo(p);b.finished.then(()=>{this.notifyFinished()}).catch(pt),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(),dA()),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 Mw(e,t,n,r=0,s=1){const a=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),i=e.size,o=(i-1)*r;return typeof n=="function"?n(a,i):s===1?a*r:o-a*r}const Lm=30,NA=e=>!isNaN(parseFloat(e));class AA{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var a;const s=ze.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((a=this.events.change)==null||a.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=ze.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=NA(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 Uf);const r=this.events[t].add(n);return t==="change"?()=>{r(),Z.read(()=>{this.events.change.getSize()||this.stop()})}:r}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,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}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=ze.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Lm)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Lm);return ew(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 Ds(e,t){return new AA(e,t)}function Fw(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function eh(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?Fw(n,e):n}const DA={type:"spring",stiffness:500,damping:25,restSpeed:10},RA=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),MA={type:"keyframes",duration:.8},FA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},OA=(e,{keyframes:t})=>t.length>2?MA:Bs.has(e)?e.startsWith("scale")?RA(t[1]):DA:FA,LA=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function IA(e){for(const t in e)if(!LA.has(t))return!0;return!1}const th=(e,t,n,r={},s,a)=>i=>{const o=eh(r,e)||{},l=o.delay||r.delay||0;let{elapsed:u=0}=r;u=u-nt(l);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-u,onUpdate:h=>{t.set(h),o.onUpdate&&o.onUpdate(h)},onComplete:()=>{i(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:a?void 0:s};IA(o)||Object.assign(d,OA(e,d)),d.duration&&(d.duration=nt(d.duration)),d.repeatDelay&&(d.repeatDelay=nt(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(nd(d),d.delay===0&&(f=!0)),(Zn.instantAnimations||Zn.skipAnimations||s!=null&&s.shouldSkipAnimations||o.skipAnimations)&&(f=!0,nd(d),d.delay=0),d.allowFlatten=!o.type&&!o.ease,f&&!a&&t.get()!==void 0){const h=Al(d.keyframes,o);if(h!==void 0){Z.update(()=>{d.onUpdate(h),d.onComplete()});return}}return o.isSync?new Qo(d):new EA(d)},zA=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function _A(e){const t=zA.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}function Ow(e,t,n=1){const[r,s]=_A(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const i=a.trim();return Q0(i)?parseFloat(i):i}return Kf(s)?Ow(s,t,n+1):s}function Im(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function nh(e,t,n,r){if(typeof t=="function"){const[s,a]=Im(r);t=t(n!==void 0?n:e.custom,s,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,a]=Im(r);t=t(n!==void 0?n:e.custom,s,a)}return t}function jr(e,t,n){const r=e.getProps();return nh(r,t,n!==void 0?n:r.custom,e)}const Lw=new Set(["width","height","top","left","right","bottom",...Vs]),rd=e=>Array.isArray(e);function VA(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ds(n))}function BA(e){return rd(e)?e[e.length-1]||0:e}function HA(e,t){const n=jr(e,t);let{transitionEnd:r={},transition:s={},...a}=n||{};a={...a,...r};for(const i in a){const o=BA(a[i]);VA(e,i,o)}}const Ee=e=>!!(e&&e.getVelocity);function $A(e){return!!(Ee(e)&&e.add)}function sd(e,t){const n=e.getValue("willChange");if($A(n))return n.add(t);if(!n&&Zn.WillChange){const r=new Zn.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function rh(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const UA="framerAppearId",Iw="data-"+rh(UA);function zw(e){return e.props[Iw]}function WA({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function _w(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:a,transitionEnd:i,...o}=t;const l=e.getDefaultTransition();a=a?Fw(a,l):l;const u=a==null?void 0:a.reduceMotion,d=a==null?void 0:a.skipAnimations;r&&(a=r);const f=[],h=s&&e.animationState&&e.animationState.getState()[s],p=a==null?void 0:a.path;p&&p.animateVisualElement(e,o,a,n,f);for(const y in o){const v=e.getValue(y,e.latestValues[y]??null),b=o[y];if(b===void 0||h&&WA(h,y))continue;const g={delay:n,...eh(a||{},y)};d&&(g.skipAnimations=!0);const m=v.get();if(m!==void 0&&!v.isAnimating()&&!Array.isArray(b)&&b===m&&!g.velocity){Z.update(()=>v.set(b));continue}let x=!1;if(window.MotionHandoffAnimation){const C=zw(e);if(C){const j=window.MotionHandoffAnimation(C,y,Z);j!==null&&(g.startTime=j,x=!0)}}sd(e,y);const P=u??e.shouldReduceMotion;v.start(th(y,v,b,P&&Lw.has(y)?{type:!1}:g,e,x));const S=v.animation;S&&f.push(S)}if(i){const y=()=>Z.update(()=>{i&&HA(e,i)});f.length?Promise.all(f).then(y):y()}return f}function ad(e,t,n={}){var l;const r=jr(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const a=r?()=>Promise.all(_w(e,r,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:f,staggerDirection:h}=s;return qA(e,t,u,d,f,h,n)}:()=>Promise.resolve(),{when:o}=s;if(o){const[u,d]=o==="beforeChildren"?[a,i]:[i,a];return u().then(()=>d())}else return Promise.all([a(),i(n.delay)])}function qA(e,t,n=0,r=0,s=0,a=1,i){const o=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),o.push(ad(l,t,{...i,delay:n+(typeof r=="function"?0:r)+Mw(e.variantChildren,l,r,s,a)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(o)}function KA(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(a=>ad(e,a,n));r=Promise.all(s)}else if(typeof t=="string")r=ad(e,t,n);else{const s=typeof t=="function"?jr(e,t,n.custom):t;r=Promise.all(_w(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const GA={test:e=>e==="auto",parse:e=>e},Vw=e=>t=>t.test(e),Bw=[_s,I,Yt,nn,wN,vN,GA],zm=e=>Bw.find(Vw(e));function YA(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||J0(e):!0}const QA=new Set(["brightness","contrast","saturate","opacity"]);function XA(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Gf)||[];if(!r)return e;const s=n.replace(r,"");let a=QA.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+s+")"}const JA=/\b([a-z-]*)\(.*?\)/gu,id={...Dt,getAnimatableNone:e=>{const t=e.match(JA);return t?t.map(XA).join(" "):e}},od={...Dt,getAnimatableNone:e=>{const t=Dt.parse(e);return Dt.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},_m={..._s,transform:Math.round},ZA={rotate:nn,pathRotation:nn,rotateX:nn,rotateY:nn,rotateZ:nn,scale:_i,scaleX:_i,scaleY:_i,scaleZ:_i,skew:nn,skewX:nn,skewY:nn,distance:I,translateX:I,translateY:I,translateZ:I,x:I,y:I,z:I,perspective:I,transformPerspective:I,opacity:Ka,originX:km,originY:km,originZ:I},Xo={borderWidth:I,borderTopWidth:I,borderRightWidth:I,borderBottomWidth:I,borderLeftWidth:I,borderRadius:I,borderTopLeftRadius:I,borderTopRightRadius:I,borderBottomRightRadius:I,borderBottomLeftRadius:I,width:I,maxWidth:I,height:I,maxHeight:I,top:I,right:I,bottom:I,left:I,inset:I,insetBlock:I,insetBlockStart:I,insetBlockEnd:I,insetInline:I,insetInlineStart:I,insetInlineEnd:I,padding:I,paddingTop:I,paddingRight:I,paddingBottom:I,paddingLeft:I,paddingBlock:I,paddingBlockStart:I,paddingBlockEnd:I,paddingInline:I,paddingInlineStart:I,paddingInlineEnd:I,margin:I,marginTop:I,marginRight:I,marginBottom:I,marginLeft:I,marginBlock:I,marginBlockStart:I,marginBlockEnd:I,marginInline:I,marginInlineStart:I,marginInlineEnd:I,fontSize:I,backgroundPositionX:I,backgroundPositionY:I,...ZA,zIndex:_m,fillOpacity:Ka,strokeOpacity:Ka,numOctaves:_m},e4={...Xo,color:he,backgroundColor:he,outlineColor:he,fill:he,stroke:he,borderColor:he,borderTopColor:he,borderRightColor:he,borderBottomColor:he,borderLeftColor:he,filter:id,WebkitFilter:id,mask:od,WebkitMask:od},Hw=e=>e4[e],t4=new Set([id,od]);function $w(e,t){let n=Hw(e);return t4.has(n)||(n=Dt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const n4=new Set(["auto","none","0"]);function r4(e,t,n){let r=0,s;for(;r<e.length&&!s;){const a=e[r];typeof a=="string"&&!n4.has(a)&&As(a).values.length&&(s=e[r]),r++}if(s&&n)for(const a of t)e[a]=$w(n,s)}class s4 extends Zf{constructor(t,n,r,s,a){super(t,n,r,s,a,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let f=t[d];if(typeof f=="string"&&(f=f.trim(),Kf(f))){const h=Ow(f,n.current);h!==void 0&&(t[d]=h),d===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!Lw.has(r)||t.length!==2)return;const[s,a]=t,i=zm(s),o=zm(a),l=Cm(s),u=Cm(a);if(l!==u&&zn[r]){this.needsMeasurement=!0;return}if(i!==o)if(Mm(i)&&Mm(o))for(let d=0;d<t.length;d++){const f=t[d];typeof f=="string"&&(t[d]=parseFloat(f))}else zn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||YA(t[s]))&&r.push(s);r.length&&r4(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=zn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){var o;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const a=r.length-1,i=r[a];r[a]=zn[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(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function Uw(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const s=(n==null?void 0:n[e])??r.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(r=>r!=null)}const ld=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function a4(e){return X0(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:sh}=dw(queueMicrotask,!1),Pt={x:!1,y:!1};function Ww(){return Pt.x||Pt.y}function i4(e){return e==="x"||e==="y"?Pt[e]?null:(Pt[e]=!0,()=>{Pt[e]=!1}):Pt.x||Pt.y?null:(Pt.x=Pt.y=!0,()=>{Pt.x=Pt.y=!1})}function qw(e,t){const n=Uw(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function o4(e){return!(e.pointerType==="touch"||Ww())}function l4(e,t,n={}){const[r,s,a]=qw(e,n);return r.forEach(i=>{let o=!1,l=!1,u;const d=()=>{i.removeEventListener("pointerleave",y)},f=b=>{u&&(u(b),u=void 0),d()},h=b=>{o=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),l&&(l=!1,f(b))},p=()=>{o=!0,window.addEventListener("pointerup",h,s),window.addEventListener("pointercancel",h,s)},y=b=>{if(b.pointerType!=="touch"){if(o){l=!0;return}f(b)}},v=b=>{if(!o4(b))return;l=!1;const g=t(i,b);typeof g=="function"&&(u=g,i.addEventListener("pointerleave",y,s))};i.addEventListener("pointerenter",v,s),i.addEventListener("pointerdown",p,s)}),a}const Kw=(e,t)=>t?e===t?!0:Kw(e,t.parentElement):!1,ah=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,c4=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function u4(e){return c4.has(e.tagName)||e.isContentEditable===!0}const d4=new Set(["INPUT","SELECT","TEXTAREA"]);function f4(e){return d4.has(e.tagName)||e.isContentEditable===!0}const io=new WeakSet;function Vm(e){return t=>{t.key==="Enter"&&e(t)}}function bc(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const h4=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Vm(()=>{if(io.has(n))return;bc(n,"down");const s=Vm(()=>{bc(n,"up")}),a=()=>bc(n,"cancel");n.addEventListener("keyup",s,t),n.addEventListener("blur",a,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Bm(e){return ah(e)&&!Ww()}const Hm=new WeakSet;function p4(e,t,n={}){const[r,s,a]=qw(e,n),i=o=>{const l=o.currentTarget;if(!Bm(o)||Hm.has(o))return;io.add(l),n.stopPropagation&&Hm.add(o);const u=t(l,o),d=(p,y)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),io.has(l)&&io.delete(l),Bm(p)&&typeof u=="function"&&u(p,{success:y})},f=p=>{d(p,l===window||l===document||n.useGlobalTarget||Kw(l,p.target))},h=p=>{d(p,!1)};window.addEventListener("pointerup",f,s),window.addEventListener("pointercancel",h,s)};return r.forEach(o=>{(n.useGlobalTarget?window:o).addEventListener("pointerdown",i,s),a4(o)&&(o.addEventListener("focus",u=>h4(u,s)),!u4(o)&&!o.hasAttribute("tabindex")&&(o.tabIndex=0))}),a}function ih(e){return X0(e)&&"ownerSVGElement"in e}const oo=new WeakMap;let Cn;const Gw=(e,t,n)=>(r,s)=>s&&s[0]?s[0][e+"Size"]:ih(r)&&"getBBox"in r?r.getBBox()[t]:r[n],m4=Gw("inline","width","offsetWidth"),g4=Gw("block","height","offsetHeight");function y4({target:e,borderBoxSize:t}){var n;(n=oo.get(e))==null||n.forEach(r=>{r(e,{get width(){return m4(e,t)},get height(){return g4(e,t)}})})}function x4(e){e.forEach(y4)}function v4(){typeof ResizeObserver>"u"||(Cn=new ResizeObserver(x4))}function w4(e,t){Cn||v4();const n=Uw(e);return n.forEach(r=>{let s=oo.get(r);s||(s=new Set,oo.set(r,s)),s.add(t),Cn==null||Cn.observe(r)}),()=>{n.forEach(r=>{const s=oo.get(r);s==null||s.delete(t),s!=null&&s.size||Cn==null||Cn.unobserve(r)})}}const lo=new Set;let es;function b4(){es=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};lo.forEach(t=>t(e))},window.addEventListener("resize",es)}function P4(e){return lo.add(e),es||b4(),()=>{lo.delete(e),!lo.size&&typeof es=="function"&&(window.removeEventListener("resize",es),es=void 0)}}function $m(e,t){return typeof e=="function"?P4(e):w4(e,t)}function S4(e){return ih(e)&&e.tagName==="svg"}const C4=[...Bw,he,Dt],k4=e=>C4.find(Vw(e)),Um=()=>({translate:0,scale:1,origin:0,originPoint:0}),ts=()=>({x:Um(),y:Um()}),Wm=()=>({min:0,max:0}),ge=()=>({x:Wm(),y:Wm()}),j4=new WeakMap;function Dl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ga(e){return typeof e=="string"||Array.isArray(e)}const oh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],lh=["initial",...oh];function Rl(e){return Dl(e.animate)||lh.some(t=>Ga(e[t]))}function Yw(e){return!!(Rl(e)||e.variants)}function T4(e,t,n){for(const r in t){const s=t[r],a=n[r];if(Ee(s))e.addValue(r,s);else if(Ee(a))e.addValue(r,Ds(s,{owner:e}));else if(a!==s)if(e.hasValue(r)){const i=e.getValue(r);i.liveStyle===!0?i.jump(s):i.hasAnimated||i.set(s)}else{const i=e.getStaticValue(r);e.addValue(r,Ds(i!==void 0?i:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const cd={current:null},Qw={current:!1},E4=typeof window<"u";function N4(){if(Qw.current=!0,!!E4)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>cd.current=e.matches;e.addEventListener("change",t),t()}else cd.current=!1}const qm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Jo={};function Xw(e){Jo=e}function A4(){return Jo}class D4{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,skipAnimations:a,blockInitialAnimation:i,visualState:o},l={}){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=Zf,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 p=ze.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,Z.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=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=a,this.options=l,this.blockInitialAnimation=!!i,this.isControllingVariants=Rl(n),this.isVariantNode=Yw(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in h){const y=h[p];u[p]!==void 0&&Ee(y)&&y.set(u[p])}}mount(t){var n,r;if(this.hasBeenMounted)for(const s in this.initialValues)(n=this.values.get(s))==null||n.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=t,j4.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((s,a)=>this.bindToMotionValue(a,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Qw.current||N4(),this.shouldReduceMotion=cd.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),er(this.notifyUpdate),er(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 r=this.features[n];r&&(r.unmount(),r.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&&Rw.has(t)&&this.current instanceof HTMLElement){const{factory:i,keyframes:o,times:l,ease:u,duration:d}=n.accelerate,f=new Aw({element:this.current,name:t,keyframes:o,times:l,ease:u,duration:nt(d)}),h=i(f);this.valueSubscriptions.set(t,()=>{h(),f.cancel()});return}const r=Bs.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&Z.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let a;typeof window<"u"&&window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),a&&a()})}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 Jo){const n=Jo[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const a=this.features[t];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ge()}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 r=0;r<qm.length;r++){const s=qm[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const a="on"+s,i=t[a];i&&(this.propEventSubscriptions[s]=this.on(s,i))}this.prevMotionValues=T4(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 r=this.values.get(t);n!==r&&(r&&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 r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Ds(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(Q0(r)||J0(r))?r=parseFloat(r):!k4(r)&&Dt.test(n)&&(r=$w(t,n)),this.setBaseTarget(t,Ee(r)?r.get():r)),Ee(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var a;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const i=nh(this.props,n,(a=this.presenceContext)==null?void 0:a.custom);i&&(r=i[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Ee(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Uf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){sh.render(this.render)}}class Jw extends D4{constructor(){super(...arguments),this.KeyframeResolver=s4}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[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 ar{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Zw({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function R4({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function M4(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Pc(e){return e===void 0||e===1}function ud({scale:e,scaleX:t,scaleY:n}){return!Pc(e)||!Pc(t)||!Pc(n)}function ur(e){return ud(e)||e1(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function e1(e){return Km(e.x)||Km(e.y)}function Km(e){return e&&e!=="0%"}function Zo(e,t,n){const r=e-n,s=t*r;return n+s}function Gm(e,t,n,r,s){return s!==void 0&&(e=Zo(e,s,r)),Zo(e,n,r)+t}function dd(e,t=0,n=1,r,s){e.min=Gm(e.min,t,n,r,s),e.max=Gm(e.max,t,n,r,s)}function t1(e,{x:t,y:n}){dd(e.x,t.translate,t.scale,t.originPoint),dd(e.y,n.translate,n.scale,n.originPoint)}const Ym=.999999999999,Qm=1.0000000000001;function F4(e,t,n,r=!1){var o;const s=n.length;if(!s)return;t.x=t.y=1;let a,i;for(let l=0;l<s;l++){a=n[l],i=a.projectionDelta;const{visualElement:u}=a.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(Ht(e.x,-a.scroll.offset.x),Ht(e.y,-a.scroll.offset.y)),i&&(t.x*=i.x.scale,t.y*=i.y.scale,t1(e,i)),r&&ur(a.latestValues)&&co(e,a.latestValues,(o=a.layout)==null?void 0:o.layoutBox))}t.x<Qm&&t.x>Ym&&(t.x=1),t.y<Qm&&t.y>Ym&&(t.y=1)}function Ht(e,t){e.min+=t,e.max+=t}function Xm(e,t,n,r,s=.5){const a=J(e.min,e.max,s);dd(e,t,n,a,r)}function Jm(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function co(e,t,n){const r=n??e;Xm(e.x,Jm(t.x,r.x),t.scaleX,t.scale,t.originX),Xm(e.y,Jm(t.y,r.y),t.scaleY,t.scale,t.originY)}function n1(e,t){return Zw(M4(e.getBoundingClientRect(),t))}function O4(e,t,n){const r=n1(e,n),{scroll:s}=t;return s&&(Ht(r.x,s.offset.x),Ht(r.y,s.offset.y)),r}const L4={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},I4=Vs.length;function z4(e,t,n){let r="",s=!0;for(let i=0;i<I4;i++){const o=Vs[i],l=e[o];if(l===void 0)continue;let u=!0;if(typeof l=="number")u=l===(o.startsWith("scale")?1:0);else{const d=parseFloat(l);u=o.startsWith("scale")?d===1:d===0}if(!u||n){const d=ld(l,Xo[o]);if(!u){s=!1;const f=L4[o]||o;r+=`${f}(${d}) `}n&&(t[o]=d)}}const a=e.pathRotation;return a&&(s=!1,r+=`rotate(${ld(a,Xo.pathRotation)}) `),r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function ch(e,t,n){const{style:r,vars:s,transformOrigin:a}=e;let i=!1,o=!1;for(const l in t){const u=t[l];if(Bs.has(l)){i=!0;continue}else if(hw(l)){s[l]=u;continue}else{const d=ld(u,Xo[l]);l.startsWith("origin")?(o=!0,a[l]=d):r[l]=d}}if(t.transform||(i||n?r.transform=z4(t,e.transform,n):r.transform&&(r.transform="none")),o){const{originX:l="50%",originY:u="50%",originZ:d=0}=a;r.transformOrigin=`${l} ${u} ${d}`}}function r1(e,{style:t,vars:n},r,s){const a=e.style;let i;for(i in t)a[i]=t[i];s==null||s.applyProjectionStyles(a,r);for(i in n)a.setProperty(i,n[i])}function Zm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ea={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(I.test(e))e=parseFloat(e);else return e;const n=Zm(e,t.target.x),r=Zm(e,t.target.y);return`${n}% ${r}%`}},_4={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=Dt.parse(e);if(s.length>5)return r;const a=Dt.createTransformer(e),i=typeof s[0]!="number"?1:0,o=n.x.scale*t.x,l=n.y.scale*t.y;s[0+i]/=o,s[1+i]/=l;const u=J(o,l,.5);return typeof s[2+i]=="number"&&(s[2+i]/=u),typeof s[3+i]=="number"&&(s[3+i]/=u),a(s)}},fd={borderRadius:{...ea,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ea,borderTopRightRadius:ea,borderBottomLeftRadius:ea,borderBottomRightRadius:ea,boxShadow:_4};function s1(e,{layout:t,layoutId:n}){return Bs.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!fd[e]||e==="opacity")}function uh(e,t,n){var i;const r=e.style,s=t==null?void 0:t.style,a={};if(!r)return a;for(const o in r)(Ee(r[o])||s&&Ee(s[o])||s1(o,e)||((i=n==null?void 0:n.getValue(o))==null?void 0:i.liveStyle)!==void 0)&&(a[o]=r[o]);return a}function V4(e){return window.getComputedStyle(e)}class B4 extends Jw{constructor(){super(...arguments),this.type="html",this.renderInstance=r1}readValueFromInstance(t,n){var r;if(Bs.has(n))return(r=this.projection)!=null&&r.isProjecting?Xu(n):iA(t,n);{const s=V4(t),a=(hw(n)?s.getPropertyValue(n):s[n])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(t,{transformPagePoint:n}){return n1(t,n)}build(t,n,r){ch(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return uh(t,n,r)}}const H4={offset:"stroke-dashoffset",array:"stroke-dasharray"},$4={offset:"strokeDashoffset",array:"strokeDasharray"};function U4(e,t,n=1,r=0,s=!0){e.pathLength=1;const a=s?H4:$4;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}const W4=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function a1(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:a=1,pathOffset:i=0,...o},l,u,d){if(ch(e,o,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h}=e;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=(d==null?void 0:d.transformBox)??"fill-box",delete f.transformBox);for(const p of W4)f[p]!==void 0&&(h[p]=f[p],delete f[p]);t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&U4(f,s,a,i,!1)}const i1=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"]),o1=e=>typeof e=="string"&&e.toLowerCase()==="svg";function q4(e,t,n,r){r1(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(i1.has(s)?s:rh(s),t.attrs[s])}function l1(e,t,n){const r=uh(e,t,n);for(const s in e)if(Ee(e[s])||Ee(t[s])){const a=Vs.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[a]=e[s]}return r}class K4 extends Jw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ge}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Bs.has(n)){const r=Hw(n);return r&&r.default||0}return n=i1.has(n)?n:rh(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return l1(t,n,r)}build(t,n,r){a1(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){q4(t,n,r,s)}mount(t){this.isSVGTag=o1(t.tagName),super.mount(t)}}const G4=lh.length;function c1(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?c1(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<G4;n++){const r=lh[n],s=e.props[r];(Ga(s)||s===!1)&&(t[r]=s)}return t}function u1(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const Y4=[...oh].reverse(),Q4=oh.length;function X4(e){return t=>Promise.all(t.map(({animation:n,options:r})=>KA(e,n,r)))}function J4(e){let t=X4(e),n=eg(),r=!0,s=!1;const a=u=>(d,f)=>{var p;const h=jr(e,f,u==="exit"?(p=e.presenceContext)==null?void 0:p.custom:void 0);if(h){const{transition:y,transitionEnd:v,...b}=h;d={...d,...b,...v}}return d};function i(u){t=u(e)}function o(u){const{props:d}=e,f=c1(e.parent)||{},h=[],p=new Set;let y={},v=1/0;for(let g=0;g<Q4;g++){const m=Y4[g],x=n[m],P=d[m]!==void 0?d[m]:f[m],S=Ga(P),C=m===u?x.isActive:null;C===!1&&(v=g);let j=P===f[m]&&P!==d[m]&&S;if(j&&(r||s)&&e.manuallyAnimateOnMount&&(j=!1),x.protectedKeys={...y},!x.isActive&&C===null||!P&&!x.prevProp||Dl(P)||typeof P=="boolean")continue;if(m==="exit"&&x.isActive&&C!==!0){x.prevResolvedValues&&(y={...y,...x.prevResolvedValues});continue}const k=Z4(x.prevProp,P);let A=k||m===u&&x.isActive&&!j&&S||g>v&&S,N=!1;const L=Array.isArray(P)?P:[P];let F=L.reduce(a(m),{});C===!1&&(F={});const{prevResolvedValues:H={}}=x,M={...H,...F},$=T=>{A=!0,p.has(T)&&(N=!0,p.delete(T)),x.needsAnimating[T]=!0;const R=e.getValue(T);R&&(R.liveStyle=!1)};for(const T in M){const R=F[T],z=H[T];if(y.hasOwnProperty(T))continue;let B=!1;rd(R)&&rd(z)?B=!u1(R,z)||k:B=R!==z,B?R!=null?$(T):p.add(T):R!==void 0&&p.has(T)?$(T):x.protectedKeys[T]=!0}x.prevProp=P,x.prevResolvedValues=F,x.isActive&&(y={...y,...F}),(r||s)&&e.blockInitialAnimation&&(A=!1);const _=j&&k;A&&(!_||N)&&h.push(...L.map(T=>{const R={type:m};if(typeof T=="string"&&(r||s)&&!_&&e.manuallyAnimateOnMount&&e.parent){const{parent:z}=e,B=jr(z,T);if(z.enteringChildren&&B){const{delayChildren:Q}=B.transition||{};R.delay=Mw(z.enteringChildren,e,Q)}}return{animation:T,options:R}}))}if(p.size){const g={};if(typeof d.initial!="boolean"){const m=jr(e,Array.isArray(d.initial)?d.initial[0]:d.initial);m&&m.transition&&(g.transition=m.transition)}p.forEach(m=>{const x=e.getBaseTarget(m),P=e.getValue(m);P&&(P.liveStyle=!0),g[m]=x??null}),h.push({animation:g})}let b=!!h.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(b=!1),r=!1,s=!1,b?t(h):Promise.resolve()}function l(u,d){var h;if(n[u].isActive===d)return Promise.resolve();(h=e.variantChildren)==null||h.forEach(p=>{var y;return(y=p.animationState)==null?void 0:y.setActive(u,d)}),n[u].isActive=d;const f=o(u);for(const p in n)n[p].protectedKeys={};return f}return{animateChanges:o,setActive:l,setAnimateFunction:i,getState:()=>n,reset:()=>{n=eg(),s=!0}}}function Z4(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!u1(t,e):!1}function or(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function eg(){return{animate:or(!0),whileInView:or(),whileHover:or(),whileTap:or(),whileDrag:or(),whileFocus:or(),exit:or()}}function hd(e,t){e.min=t.min,e.max=t.max}function bt(e,t){hd(e.x,t.x),hd(e.y,t.y)}function tg(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const d1=1e-4,eD=1-d1,tD=1+d1,f1=.01,nD=0-f1,rD=0+f1;function _e(e){return e.max-e.min}function sD(e,t,n){return Math.abs(e-t)<=n}function ng(e,t,n,r=.5){e.origin=r,e.originPoint=J(t.min,t.max,e.origin),e.scale=_e(n)/_e(t),e.translate=J(n.min,n.max,e.origin)-e.originPoint,(e.scale>=eD&&e.scale<=tD||isNaN(e.scale))&&(e.scale=1),(e.translate>=nD&&e.translate<=rD||isNaN(e.translate))&&(e.translate=0)}function Pa(e,t,n,r){ng(e.x,t.x,n.x,r?r.originX:void 0),ng(e.y,t.y,n.y,r?r.originY:void 0)}function rg(e,t,n,r=0){const s=r?J(n.min,n.max,r):n.min;e.min=s+t.min,e.max=e.min+_e(t)}function aD(e,t,n,r){rg(e.x,t.x,n.x,r==null?void 0:r.x),rg(e.y,t.y,n.y,r==null?void 0:r.y)}function sg(e,t,n,r=0){const s=r?J(n.min,n.max,r):n.min;e.min=t.min-s,e.max=e.min+_e(t)}function el(e,t,n,r){sg(e.x,t.x,n.x,r==null?void 0:r.x),sg(e.y,t.y,n.y,r==null?void 0:r.y)}function ag(e,t,n,r,s){return e-=t,e=Zo(e,1/n,r),s!==void 0&&(e=Zo(e,1/s,r)),e}function iD(e,t=0,n=1,r=.5,s,a=e,i=e){if(Yt.test(t)&&(t=parseFloat(t),t=J(i.min,i.max,t/100)-i.min),typeof t!="number")return;let o=J(a.min,a.max,r);e===a&&(o-=t),e.min=ag(e.min,t,n,o,s),e.max=ag(e.max,t,n,o,s)}function ig(e,t,[n,r,s],a,i){iD(e,t[n],t[r],t[s],t.scale,a,i)}const oD=["x","scaleX","originX"],lD=["y","scaleY","originY"];function og(e,t,n,r){ig(e.x,t,oD,n?n.x:void 0,r?r.x:void 0),ig(e.y,t,lD,n?n.y:void 0,r?r.y:void 0)}function lg(e){return e.translate===0&&e.scale===1}function h1(e){return lg(e.x)&&lg(e.y)}function cg(e,t){return e.min===t.min&&e.max===t.max}function cD(e,t){return cg(e.x,t.x)&&cg(e.y,t.y)}function ug(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function p1(e,t){return ug(e.x,t.x)&&ug(e.y,t.y)}function dg(e){return _e(e.x)/_e(e.y)}function fg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function zt(e){return[e("x"),e("y")]}function uD(e,t,n){let r="";const s=e.x.translate/t.x,a=e.y.translate/t.y,i=(n==null?void 0:n.z)||0;if((s||a||i)&&(r=`translate3d(${s}px, ${a}px, ${i}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:d,pathRotation:f,rotateX:h,rotateY:p,skewX:y,skewY:v}=n;u&&(r=`perspective(${u}px) ${r}`),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotate(${f}deg) `),h&&(r+=`rotateX(${h}deg) `),p&&(r+=`rotateY(${p}deg) `),y&&(r+=`skewX(${y}deg) `),v&&(r+=`skewY(${v}deg) `)}const o=e.x.scale*t.x,l=e.y.scale*t.y;return(o!==1||l!==1)&&(r+=`scale(${o}, ${l})`),r||"none"}const m1=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],dD=m1.length,hg=e=>typeof e=="string"?parseFloat(e):e,pg=e=>typeof e=="number"||I.test(e);function fD(e,t,n,r,s,a){s?(e.opacity=J(0,n.opacity??1,hD(r)),e.opacityExit=J(t.opacity??1,0,pD(r))):a&&(e.opacity=J(t.opacity??1,n.opacity??1,r));for(let i=0;i<dD;i++){const o=m1[i];let l=mg(t,o),u=mg(n,o);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||pg(l)===pg(u)?(e[o]=Math.max(J(hg(l),hg(u),r),0),(Yt.test(u)||Yt.test(l))&&(e[o]+="%")):e[o]=u}(t.rotate||n.rotate)&&(e.rotate=J(t.rotate||0,n.rotate||0,r))}function mg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const hD=g1(0,.5,ow),pD=g1(.5,.95,pt);function g1(e,t,n){return r=>r<e?0:r>t?1:n(qa(e,t,r))}function mD(e,t,n){const r=Ee(e)?e:Ds(e);return r.start(th("",r,t,n)),r.animation}function Ya(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const gD=(e,t)=>e.depth-t.depth;class yD{constructor(){this.children=[],this.isDirty=!1}add(t){Hf(this.children,t),this.isDirty=!0}remove(t){qo(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(gD),this.isDirty=!1,this.children.forEach(t)}}function xD(e,t){const n=ze.now(),r=({timestamp:s})=>{const a=s-n;a>=t&&(er(r),e(a-t))};return Z.setup(r,!0),()=>er(r)}function uo(e){return Ee(e)?e.get():e}class vD{constructor(){this.members=[]}add(t){Hf(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const s=r.instance;(!s||s.isConnected===!1)&&!r.snapshot&&(qo(this.members,r),r.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 r=this.members.indexOf(t)-1;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1&&((n=s.instance)==null?void 0:n.isConnected)!==!1)return this.promote(s),!0}return!1}promote(t,n){var s;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:a}=r.options,{layoutDependency:i}=t.options;(a===void 0||a!==i)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(s=t.root)!=null&&s.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,s,a,i;(r=(n=t.options).onExitComplete)==null||r.call(n),(i=(s=t.resumingFrom)==null?void 0:(a=s.options).onExitComplete)==null||i.call(a)})}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 fo={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Sc=["","X","Y","Z"],wD=1e3;let bD=0;function Cc(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function y1(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=zw(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Z,!(s||a))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&y1(r)}function x1({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(i={},o=t==null?void 0:t()){this.id=bD++,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(CD),this.nodes.forEach(AD),this.nodes.forEach(DD),this.nodes.forEach(kD)},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 l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new yD)}addEventListener(i,o){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new Uf),this.eventHandlers.get(i).add(o)}notifyListeners(i,...o){const l=this.eventHandlers.get(i);l&&l.notify(...o)}hasListeners(i){return this.eventHandlers.has(i)}mount(i){if(this.instance)return;this.isSVG=ih(i)&&!S4(i),this.instance=i;const{layoutId:o,layout:l,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&&(l||o)&&(this.isLayoutDirty=!0),e){let d,f=0;const h=()=>this.root.updateBlockedByResize=!1;Z.read(()=>{f=window.innerWidth}),e(i,()=>{const p=window.innerWidth;p!==f&&(f=p,this.root.updateBlockedByResize=!0,d&&d(),d=xD(h,250),fo.hasAnimatedSinceResize&&(fo.hasAnimatedSinceResize=!1,this.nodes.forEach(xg)))})}o&&this.root.registerSharedNode(o,this),this.options.animate!==!1&&u&&(o||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||u.getDefaultTransition()||LD,{onLayoutAnimationStart:v,onLayoutAnimationComplete:b}=u.getProps(),g=!this.targetLayout||!p1(this.targetLayout,p),m=!f&&h;if(this.options.layoutRoot||this.resumeFrom||m||f&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const x={...eh(y,"layout"),onPlay:v,onComplete:b};(u.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x),this.setAnimationOrigin(d,m,x.path)}else f||xg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}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(),er(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(RD),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&&y1(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const f=this.path[d];f.shouldResetTransform=!0,(typeof f.latestValues.x=="string"||typeof f.latestValues.y=="string")&&(f.isLayoutDirty=!0),f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:o,layout:l}=this.options;if(o===void 0&&!l)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 l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(TD),this.nodes.forEach(gg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(yg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ED),this.nodes.forEach(ND),this.nodes.forEach(PD),this.nodes.forEach(SD)):this.nodes.forEach(yg),this.clearAllSnapshots();const o=ze.now();Te.delta=Qt(0,1e3/60,o-Te.timestamp),Te.timestamp=o,Te.isProcessing=!0,mc.update.process(Te),mc.preRender.process(Te),mc.render.process(Te),Te.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,sh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(jD),this.sharedNodes.forEach(MD)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Z.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Z.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!_e(this.snapshot.measuredBox.x)&&!_e(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 l=0;l<this.path.length;l++)this.path[l].updateScroll();const i=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=ge()),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 l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:i,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!s)return;const i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,o=this.projectionDelta&&!h1(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;i&&this.instance&&(o||ur(this.latestValues)||d)&&(s(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const o=this.measurePageBox();let l=this.removeElementScroll(o);return i&&(l=this.removeTransform(l)),ID(l),{animationId:this.root.animationId,measuredBox:o,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:i}=this.options;if(!i)return ge();const o=i.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(zD))){const{scroll:d}=this.root;d&&(Ht(o.x,d.offset.x),Ht(o.y,d.offset.y))}return o}removeElementScroll(i){var l;const o=ge();if(bt(o,i),(l=this.scroll)!=null&&l.wasRoot)return o;for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:f,options:h}=d;d!==this.root&&f&&h.layoutScroll&&(f.wasRoot&&bt(o,i),Ht(o.x,f.offset.x),Ht(o.y,f.offset.y))}return o}applyTransform(i,o=!1,l){var d,f;const u=l||ge();bt(u,i);for(let h=0;h<this.path.length;h++){const p=this.path[h];!o&&p.options.layoutScroll&&p.scroll&&p!==p.root&&(Ht(u.x,-p.scroll.offset.x),Ht(u.y,-p.scroll.offset.y)),ur(p.latestValues)&&co(u,p.latestValues,(d=p.layout)==null?void 0:d.layoutBox)}return ur(this.latestValues)&&co(u,this.latestValues,(f=this.layout)==null?void 0:f.layoutBox),u}removeTransform(i){var l;const o=ge();bt(o,i);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!ur(d.latestValues))continue;let f;d.instance&&(ud(d.latestValues)&&d.updateSnapshot(),f=ge(),bt(f,d.measurePageBox())),og(o,d.latestValues,(l=d.snapshot)==null?void 0:l.layoutBox,f)}return ur(this.latestValues)&&og(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 p;const o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==o;if(!(i||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!this.layout||!(d||f))return;this.resolvedRelativeTargetAt=Te.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ge(),this.targetWithTransforms=ge()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),aD(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):bt(this.target,this.layout.layoutBox),t1(this.target,this.targetDelta)):bt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||ud(this.parent.latestValues)||e1(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,l){this.relativeParent=i,this.linkedParentVersion=i.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ge(),this.relativeTargetOrigin=ge(),el(this.relativeTargetOrigin,o,l,this.options.layoutAnchor||void 0),bt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var y;const i=this.getLead(),o=!!this.resumingFrom||this!==i;let l=!0;if((this.isProjectionDirty||(y=this.parent)!=null&&y.isProjectionDirty)&&(l=!1),o&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Te.timestamp&&(l=!1),l)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;bt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;F4(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=ge());const{target:p}=i;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(tg(this.prevProjectionDelta.x,this.projectionDelta.x),tg(this.prevProjectionDelta.y,this.projectionDelta.y)),Pa(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!fg(this.projectionDelta.x,this.prevProjectionDelta.x)||!fg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){var o;if((o=this.options.visualElement)==null||o.scheduleRender(),i){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ts(),this.projectionDelta=ts(),this.projectionDeltaWithTransform=ts()}setAnimationOrigin(i,o=!1,l){const u=this.snapshot,d=u?u.latestValues:{},f={...this.latestValues},h=ts();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!o;const p=ge(),y=u?u.source:void 0,v=this.layout?this.layout.source:void 0,b=y!==v,g=this.getStack(),m=!g||g.members.length<=1,x=!!(b&&!m&&this.options.crossfade===!0&&!this.path.some(OD));this.animationProgress=0;let P;const S=l==null?void 0:l.interpolateProjection(i);this.mixTargetDelta=C=>{const j=C/1e3,k=S==null?void 0:S(j);k?(h.x.translate=k.x,h.x.scale=J(i.x.scale,1,j),h.x.origin=i.x.origin,h.x.originPoint=i.x.originPoint,h.y.translate=k.y,h.y.scale=J(i.y.scale,1,j),h.y.origin=i.y.origin,h.y.originPoint=i.y.originPoint):(vg(h.x,i.x,j),vg(h.y,i.y,j)),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(el(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),FD(this.relativeTarget,this.relativeTargetOrigin,p,j),P&&cD(this.relativeTarget,P)&&(this.isProjectionDirty=!1),P||(P=ge()),bt(P,this.relativeTarget)),b&&(this.animationValues=f,fD(f,d,this.latestValues,j,x,m)),k&&k.rotate!==void 0&&(this.animationValues||(this.animationValues=f),this.animationValues.pathRotation=k.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=j},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){var o,l,u;this.notifyListeners("animationStart"),(o=this.currentAnimation)==null||o.stop(),(u=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||u.stop(),this.pendingAnimation&&(er(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Z.update(()=>{fo.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ds(0)),this.motionValue.jump(0,!1),this.currentAnimation=mD(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(wD),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:o,target:l,layout:u,latestValues:d}=i;if(!(!o||!l||!u)){if(this!==i&&this.layout&&u&&v1(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||ge();const f=_e(this.layout.layoutBox.x);l.x.min=i.target.x.min,l.x.max=l.x.min+f;const h=_e(this.layout.layoutBox.y);l.y.min=i.target.y.min,l.y.max=l.y.min+h}bt(o,l),co(o,d),Pa(this.projectionDeltaWithTransform,this.layoutCorrected,o,d)}}registerSharedNode(i,o){this.sharedNodes.has(i)||this.sharedNodes.set(i,new vD),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:l}={}){const u=this.getStack();u&&u.promote(this,l),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:l}=i;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(o=!0),!o)return;const u={};l.z&&Cc("z",i,u,this.animationValues);for(let d=0;d<Sc.length;d++)Cc(`rotate${Sc[d]}`,i,u,this.animationValues),Cc(`skew${Sc[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 l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,i.visibility="",i.opacity="",i.pointerEvents=uo(o==null?void 0:o.pointerEvents)||"",i.transform=l?l(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=uo(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!ur(this.latestValues)&&(i.transform=l?l({},""):"none",this.hasProjected=!1);return}i.visibility="";const d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=uD(this.projectionDeltaWithTransform,this.treeScale,d);l&&(f=l(d,f)),i.transform=f;const{x:h,y:p}=this.projectionDelta;i.transformOrigin=`${h.origin*100}% ${p.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 y in fd){if(d[y]===void 0)continue;const{correct:v,applyTo:b,isCSSVariable:g}=fd[y],m=f==="none"?d[y]:v(d[y],u);if(b){const x=b.length;for(let P=0;P<x;P++)i[b[P]]=m}else g?this.options.visualElement.renderState.vars[y]=m:i[y]=m}this.options.layoutId&&(i.pointerEvents=u===this?uo(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(gg),this.root.sharedNodes.clear()}}}function PD(e){e.updateLayout()}function SD(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:r,measuredBox:s}=e.layout,{animationType:a}=e.options,i=t.source!==e.layout.source;if(a==="size")zt(f=>{const h=i?t.measuredBox[f]:t.layoutBox[f],p=_e(h);h.min=r[f].min,h.max=h.min+p});else if(a==="x"||a==="y"){const f=a==="x"?"y":"x";hd(i?t.measuredBox[f]:t.layoutBox[f],r[f])}else v1(a,t.layoutBox,r)&&zt(f=>{const h=i?t.measuredBox[f]:t.layoutBox[f],p=_e(r[f]);h.max=h.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});const o=ts();Pa(o,r,t.layoutBox);const l=ts();i?Pa(l,e.applyTransform(s,!0),t.measuredBox):Pa(l,r,t.layoutBox);const u=!h1(o);let d=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:h,layout:p}=f;if(h&&p){const y=e.options.layoutAnchor||void 0,v=ge();el(v,t.layoutBox,h.layoutBox,y);const b=ge();el(b,r,p.layoutBox,y),p1(v,b)||(d=!0),f.options.layoutRoot&&(e.relativeTarget=b,e.relativeTargetOrigin=v,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:o,hasLayoutChanged:u,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function CD(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 kD(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function jD(e){e.clearSnapshot()}function gg(e){e.clearMeasurements()}function TD(e){e.isLayoutDirty=!0,e.updateLayout()}function yg(e){e.isLayoutDirty=!1}function ED(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function ND(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function xg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function AD(e){e.resolveTargetDelta()}function DD(e){e.calcProjection()}function RD(e){e.resetSkewAndRotation()}function MD(e){e.removeLeadSnapshot()}function vg(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 wg(e,t,n,r){e.min=J(t.min,n.min,r),e.max=J(t.max,n.max,r)}function FD(e,t,n,r){wg(e.x,t.x,n.x,r),wg(e.y,t.y,n.y,r)}function OD(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const LD={duration:.45,ease:[.4,0,.1,1]},bg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Pg=bg("applewebkit/")&&!bg("chrome/")?Math.round:pt;function Sg(e){e.min=Pg(e.min),e.max=Pg(e.max)}function ID(e){Sg(e.x),Sg(e.y)}function v1(e,t,n){return e==="position"||e==="preserve-aspect"&&!sD(dg(t),dg(n),.2)}function zD(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const _D=x1({attachResizeListener:(e,t)=>Ya(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}),kc={current:void 0},w1=x1({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!kc.current){const e=new _D({});e.mount(window),e.setOptions({layoutScroll:!0}),kc.current=e}return kc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),b1=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function VD(e=!0){const t=w.useContext(Bf);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,a=w.useId();w.useEffect(()=>{if(e)return s(a)},[e]);const i=w.useCallback(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,i]:[!0]}const P1=w.createContext({strict:!1}),Cg={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 kg=!1;function BD(){if(kg)return;const e={};for(const t in Cg)e[t]={isEnabled:n=>Cg[t].some(r=>!!n[r])};Xw(e),kg=!0}function S1(){return BD(),A4()}function HD(e){const t=S1();for(const n in e)t[n]={...t[n],...e[n]};Xw(t)}const $D=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 tl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||$D.has(e)}let C1=e=>!tl(e);function UD(e){typeof e=="function"&&(C1=t=>t.startsWith("on")?!tl(t):e(t))}try{UD(require("@emotion/is-prop-valid").default)}catch{}function WD(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||Ee(e[s])||(C1(s)||n===!0&&tl(s)||!t&&!tl(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const Ml=w.createContext({});function qD(e,t){if(Rl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Ga(n)?n:void 0,animate:Ga(r)?r:void 0}}return e.inherit!==!1?t:{}}function KD(e){const{initial:t,animate:n}=qD(e,w.useContext(Ml));return w.useMemo(()=>({initial:t,animate:n}),[jg(t),jg(n)])}function jg(e){return Array.isArray(e)?e.join(" "):e}const dh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function k1(e,t,n){for(const r in t)!Ee(t[r])&&!s1(r,n)&&(e[r]=t[r])}function GD({transformTemplate:e},t){return w.useMemo(()=>{const n=dh();return ch(n,t,e),Object.assign({},n.vars,n.style)},[t])}function YD(e,t){const n=e.style||{},r={};return k1(r,n,e),Object.assign(r,GD(e,t)),r}function QD(e,t){const n={},r=YD(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.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=r,n}const j1=()=>({...dh(),attrs:{}});function XD(e,t,n,r){const s=w.useMemo(()=>{const a=j1();return a1(a,t,o1(r),e.transformTemplate,e.style),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};k1(a,e.style,e),s.style={...a,...s.style}}return s}const JD=["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 fh(e){return typeof e!="string"||e.includes("-")?!1:!!(JD.indexOf(e)>-1||/[A-Z]/u.test(e))}function ZD(e,t,n,{latestValues:r},s,a=!1,i){const l=(i??fh(e)?XD:QD)(t,r,s,e),u=WD(t,typeof e=="string",a),d=e!==w.Fragment?{...u,...l,ref:n}:{},{children:f}=t,h=w.useMemo(()=>Ee(f)?f.get():f,[f]);return w.createElement(e,{...d,children:h})}function eR({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:tR(n,r,s,e),renderState:t()}}function tR(e,t,n,r){const s={},a=r(e,{});for(const h in a)s[h]=uo(a[h]);let{initial:i,animate:o}=e;const l=Rl(e),u=Yw(e);t&&u&&!l&&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 f=d?o:i;if(f&&typeof f!="boolean"&&!Dl(f)){const h=Array.isArray(f)?f:[f];for(let p=0;p<h.length;p++){const y=nh(e,h[p]);if(y){const{transitionEnd:v,transition:b,...g}=y;for(const m in g){let x=g[m];if(Array.isArray(x)){const P=d?x.length-1:0;x=x[P]}x!==null&&(s[m]=x)}for(const m in v)s[m]=v[m]}}}return s}const T1=e=>(t,n)=>{const r=w.useContext(Ml),s=w.useContext(Bf),a=()=>eR(e,t,r,s);return n?a():ZE(a)},nR=T1({scrapeMotionValuesFromProps:uh,createRenderState:dh}),rR=T1({scrapeMotionValuesFromProps:l1,createRenderState:j1}),sR=Symbol.for("motionComponentSymbol");function aR(e,t,n){const r=w.useRef(n);w.useInsertionEffect(()=>{r.current=n});const s=w.useRef(null);return w.useCallback(a=>{var o;a&&((o=e.onMount)==null||o.call(e,a)),t&&(a?t.mount(a):t.unmount());const i=r.current;if(typeof i=="function")if(a){const l=i(a);typeof l=="function"&&(s.current=l)}else s.current?(s.current(),s.current=null):i(a);else i&&(i.current=a)},[t])}const E1=w.createContext({});function Vr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function iR(e,t,n,r,s,a){var x,P;const{visualElement:i}=w.useContext(Ml),o=w.useContext(P1),l=w.useContext(Bf),u=w.useContext(b1),d=u.reducedMotion,f=u.skipAnimations,h=w.useRef(null),p=w.useRef(!1);r=r||o.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:d,skipAnimations:f,isSVG:a}),p.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));const y=h.current,v=w.useContext(E1);y&&!y.projection&&s&&(y.type==="html"||y.type==="svg")&&oR(h.current,n,s,v);const b=w.useRef(!1);w.useInsertionEffect(()=>{y&&b.current&&y.update(n,l)});const g=n[Iw],m=w.useRef(!!g&&typeof window<"u"&&!((x=window.MotionHandoffIsComplete)!=null&&x.call(window,g))&&((P=window.MotionHasOptimisedAnimation)==null?void 0:P.call(window,g)));return tN(()=>{p.current=!0,y&&(b.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),m.current&&y.animationState&&y.animationState.animateChanges())}),w.useEffect(()=>{y&&(!m.current&&y.animationState&&y.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var S;(S=window.MotionHandoffMarkAsComplete)==null||S.call(window,g)}),m.current=!1),y.enteringChildren=void 0)}),y}function oR(e,t,n,r){const{layoutId:s,layout:a,drag:i,dragConstraints:o,layoutScroll:l,layoutRoot:u,layoutAnchor:d,layoutCrossfade:f}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:N1(e.parent)),e.projection.setOptions({layoutId:s,layout:a,alwaysMeasureLayout:!!i||o&&Vr(o),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:r,crossfade:f,layoutScroll:l,layoutRoot:u,layoutAnchor:d})}function N1(e){if(e)return e.options.allowProjection!==!1?e.projection:N1(e.parent)}function jc(e,{forwardMotionProps:t=!1,type:n}={},r,s){r&&HD(r);const a=n?n==="svg":fh(e),i=a?rR:nR;function o(u,d){let f;const h={...w.useContext(b1),...u,layoutId:lR(u)},{isStatic:p}=h,y=KD(u),v=i(u,p);if(!p&&typeof window<"u"){cR();const b=uR(h);f=b.MeasureLayout,y.visualElement=iR(e,v,h,s,b.ProjectionNode,a)}return c.jsxs(Ml.Provider,{value:y,children:[f&&y.visualElement?c.jsx(f,{visualElement:y.visualElement,...h}):null,ZD(e,u,aR(v,y.visualElement,d),v,p,t,a)]})}o.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=w.forwardRef(o);return l[sR]=e,l}function lR({layoutId:e}){const t=w.useContext(Y0).id;return t&&e!==void 0?t+"-"+e:e}function cR(e,t){w.useContext(P1).strict}function uR(e){const t=S1(),{drag:n,layout:r}=t;if(!n&&!r)return{};const s={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}function dR(e,t){if(typeof Proxy>"u")return jc;const n=new Map,r=(a,i)=>jc(a,i,e,t),s=(a,i)=>r(a,i);return new Proxy(s,{get:(a,i)=>i==="create"?r:(n.has(i)||n.set(i,jc(i,void 0,e,t)),n.get(i))})}const fR=(e,t)=>t.isSVG??fh(e)?new K4(t):new B4(t,{allowProjection:e!==w.Fragment});class hR extends ar{constructor(t){super(t),t.animationState||(t.animationState=J4(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Dl(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 pR=0;class mR extends ar{constructor(){super(...arguments),this.id=pR++,this.isExitComplete=!1}update(){var a;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!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 l=jr(this.node,i,o);if(l){const{transition:u,transitionEnd:d,...f}=l;for(const h in f)(a=this.node.getValue(h))==null||a.jump(f[h])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const s=this.node.animationState.setActive("exit",!t);n&&!t&&s.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 gR={animation:{Feature:hR},exit:{Feature:mR}};function hi(e){return{point:{x:e.pageX,y:e.pageY}}}const yR=e=>t=>ah(t)&&e(t,hi(t));function Sa(e,t,n,r){return Ya(e,t,yR(n),r)}const A1=({current:e})=>e?e.ownerDocument.defaultView:null,Tg=(e,t)=>Math.abs(e-t);function xR(e,t){const n=Tg(e.x,t.x),r=Tg(e.y,t.y);return Math.sqrt(n**2+r**2)}const Eg=new Set(["auto","scroll"]);class D1{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:a=!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=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Vi(this.lastRawMoveEventInfo,this.transformPagePoint));const p=Tc(this.lastMoveEventInfo,this.history),y=this.startEvent!==null,v=xR(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!y&&!v)return;const{point:b}=p,{timestamp:g}=Te;this.history.push({...b,timestamp:g});const{onStart:m,onMove:x}=this.handlers;y||(m&&m(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,p)},this.handlePointerMove=(p,y)=>{this.lastMoveEvent=p,this.lastRawMoveEventInfo=y,this.lastMoveEventInfo=Vi(y,this.transformPagePoint),Z.update(this.updatePoint,!0)},this.handlePointerUp=(p,y)=>{this.end();const{onEnd:v,onSessionEnd:b,resumeAnimation:g}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=Tc(p.type==="pointercancel"?this.lastMoveEventInfo:Vi(y,this.transformPagePoint),this.history);this.startEvent&&v&&v(p,m),b&&b(p,m)},!ah(t))return;this.dragSnapToOrigin=a,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=i,this.contextWindow=s||window;const l=hi(t),u=Vi(l,this.transformPagePoint),{point:d}=u,{timestamp:f}=Te;this.history=[{...d,timestamp:f}];const{onSessionStart:h}=n;h&&h(t,Tc(u,this.history)),this.removeListeners=ui(Sa(this.contextWindow,"pointermove",this.handlePointerMove),Sa(this.contextWindow,"pointerup",this.handlePointerUp),Sa(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(Eg.has(r.overflowX)||Eg.has(r.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 r=t===window,s=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},a={x:s.x-n.x,y:s.y-n.y};a.x===0&&a.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=a.x,this.lastMoveEventInfo.point.y+=a.y):this.history.length>0&&(this.history[0].x-=a.x,this.history[0].y-=a.y),this.scrollPositions.set(t,s),Z.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),er(this.updatePoint)}}function Vi(e,t){return t?{point:t(e.point)}:e}function Ng(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Tc({point:e},t){return{point:e,delta:Ng(e,R1(t)),offset:Ng(e,vR(t)),velocity:wR(t,.1)}}function vR(e){return e[0]}function R1(e){return e[e.length-1]}function wR(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=R1(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>nt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&s.timestamp-r.timestamp>nt(t)*2&&(r=e[1]);const a=ft(s.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const i={x:(s.x-r.x)/a,y:(s.y-r.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function bR(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?J(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?J(n,e,r.max):Math.min(e,n)),e}function Ag(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 PR(e,{top:t,left:n,bottom:r,right:s}){return{x:Ag(e.x,n,s),y:Ag(e.y,t,r)}}function Dg(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function SR(e,t){return{x:Dg(e.x,t.x),y:Dg(e.y,t.y)}}function CR(e,t){let n=.5;const r=_e(e),s=_e(t);return s>r?n=qa(t.min,t.max-r,e.min):r>s&&(n=qa(e.min,e.max-s,t.min)),Qt(0,1,n)}function kR(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 pd=.35;function jR(e=pd){return e===!1?e=0:e===!0&&(e=pd),{x:Rg(e,"left","right"),y:Rg(e,"top","bottom")}}function Rg(e,t,n){return{min:Mg(e,t),max:Mg(e,n)}}function Mg(e,t){return typeof e=="number"?e:e[t]||0}const TR=new WeakMap;class ER{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=ge(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const a=f=>{n&&this.snapToCursor(hi(f).point),this.stopAnimation()},i=(f,h)=>{const{drag:p,dragPropagation:y,onDragStart:v}=this.getProps();if(p&&!y&&(this.openDragLock&&this.openDragLock(),this.openDragLock=i4(p),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),zt(g=>{let m=this.getAxisMotionValue(g).get()||0;if(Yt.test(m)){const{projection:x}=this.visualElement;if(x&&x.layout){const P=x.layout.layoutBox[g];P&&(m=_e(P)*(parseFloat(m)/100))}}this.originPoint[g]=m}),v&&Z.update(()=>v(f,h),!1,!0),sd(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},o=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h;const{dragPropagation:p,dragDirectionLock:y,onDirectionLock:v,onDrag:b}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:g}=h;if(y&&this.currentDirection===null){this.currentDirection=AR(g),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",h.point,g),this.updateAxis("y",h.point,g),this.visualElement.render(),b&&Z.update(()=>b(f,h),!1,!0)},l=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:f}=this.getProps();(f||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new D1(t,{onSessionStart:a,onStart:i,onMove:o,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:A1(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,s=n||this.latestPanInfo,a=this.isDragging;if(this.cancel(),!a||!s||!r)return;const{velocity:i}=s;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&Z.postRender(()=>o(r,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&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,r){const{drag:s}=this.getProps();if(!r||!Bi(t,s,this.currentDirection))return;const a=this.getAxisMotionValue(t);let i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=bR(i,this.constraints[t],this.elastic[t])),a.set(i)}resolveConstraints(){var a;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(a=this.visualElement.projection)==null?void 0:a.layout,s=this.constraints;t&&Vr(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=PR(r.layoutBox,t):this.constraints=!1,this.elastic=jR(n),s!==this.constraints&&!Vr(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&zt(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=kR(r.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Vr(t))return!1;const r=t.current,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;s.root&&(s.root.scroll=void 0,s.root.updateScroll());const a=O4(r,s.root,this.visualElement.getTransformPagePoint());let i=SR(s.layout.layoutBox,a);if(n){const o=n(R4(i));this.hasMutatedConstraints=!!o,o&&(i=Zw(o))}return i}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:a,dragSnapToOrigin:i,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{},u=zt(d=>{if(!Bi(d,n,this.currentDirection))return;let f=l&&l[d]||{};(i===!0||i===d)&&(f={min:0,max:0});const h=s?200:1e6,p=s?40:1e7,y={type:"inertia",velocity:r?t[d]:0,bounceStiffness:h,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...a,...f};return this.startAxisValueAnimation(d,y)});return Promise.all(u).then(o)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return sd(this.visualElement,t),r.start(th(t,r,0,n,this.visualElement,!1))}stopAnimation(){zt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,s=this.visualElement.getProps()[n];return s||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){zt(n=>{const{drag:r}=this.getProps();if(!Bi(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,a=this.getAxisMotionValue(n);if(s&&s.layout){const{min:i,max:o}=s.layout.layoutBox[n],l=a.get()||0;a.set(t[n]-J(i,o,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Vr(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};zt(i=>{const o=this.getAxisMotionValue(i);if(o&&this.constraints!==!1){const l=o.get();s[i]=CR({min:l,max:l},this.constraints[i])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),zt(i=>{if(!Bi(i,t,null))return;const o=this.getAxisMotionValue(i),{min:l,max:u}=this.constraints[i];o.set(J(l,u,s[i]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;TR.set(this.visualElement,this);const t=this.visualElement.current,n=Sa(t,"pointerdown",u=>{const{drag:d,dragListener:f=!0}=this.getProps(),h=u.target,p=h!==t&&f4(h);d&&f&&!p&&this.start(u)});let r;const s=()=>{const{dragConstraints:u}=this.getProps();Vr(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=NR(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:a}=this.visualElement,i=a.addEventListener("measure",s);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),Z.read(s);const o=Ya(window,"resize",()=>this.scalePositionWithinConstraints()),l=a.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(zt(f=>{const h=this.getAxisMotionValue(f);h&&(this.originPoint[f]+=u[f].translate,h.set(h.get()+u[f].translate))}),this.visualElement.render())});return()=>{o(),n(),i(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:a=!1,dragElastic:i=pd,dragMomentum:o=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:a,dragElastic:i,dragMomentum:o}}}function Fg(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function NR(e,t,n){const r=$m(e,Fg(n)),s=$m(t,Fg(n));return()=>{r(),s()}}function Bi(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function AR(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class DR extends ar{constructor(t){super(t),this.removeGroupControls=pt,this.removeListeners=pt,this.controls=new ER(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||pt}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 Ec=e=>(t,n)=>{e&&Z.update(()=>e(t,n),!1,!0)};class RR extends ar{constructor(){super(...arguments),this.removePointerDownListener=pt}onPointerDown(t){this.session=new D1(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:A1(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:Ec(t),onStart:Ec(n),onMove:Ec(r),onEnd:(a,i)=>{delete this.session,s&&Z.postRender(()=>s(a,i))}}}mount(){this.removePointerDownListener=Sa(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 Nc=!1;class MR extends w.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:a}=t;a&&(n.group&&n.group.add(a),r&&r.register&&s&&r.register(a),Nc&&a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),fo.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:a}=this.props,{projection:i}=r;return i&&(i.isPresent=a,t.layoutDependency!==n&&i.setOptions({...i.options,layoutDependency:n}),Nc=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==a?i.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?i.promote():i.relegate()||Z.postRender(()=>{const o=i.getStack();(!o||!o.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),sh.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;Nc=!0,s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function M1(e){const[t,n]=VD(),r=w.useContext(Y0);return c.jsx(MR,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(E1),isPresent:t,safeToRemove:n})}const FR={pan:{Feature:RR},drag:{Feature:DR,ProjectionNode:w1,MeasureLayout:M1}};function Og(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const s="onHover"+n,a=r[s];a&&Z.postRender(()=>a(t,hi(t)))}class OR extends ar{mount(){const{current:t}=this.node;t&&(this.unmount=l4(t,(n,r)=>(Og(this.node,r,"Start"),s=>Og(this.node,s,"End"))))}unmount(){}}class LR extends ar{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=ui(Ya(this.node.current,"focus",()=>this.onFocus()),Ya(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Lg(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const s="onTap"+(n==="End"?"":n),a=r[s];a&&Z.postRender(()=>a(t,hi(t)))}class IR extends ar{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=p4(t,(s,a)=>(Lg(this.node,a,"Start"),(i,{success:o})=>Lg(this.node,i,o?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const md=new WeakMap,Ac=new WeakMap,zR=e=>{const t=md.get(e.target);t&&t(e)},_R=e=>{e.forEach(zR)};function VR({root:e,...t}){const n=e||document;Ac.has(n)||Ac.set(n,{});const r=Ac.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(_R,{root:e,...t})),r[s]}function BR(e,t,n){const r=VR(t);return md.set(e,n),r.observe(e),()=>{md.delete(e),r.unobserve(e)}}const HR={some:0,all:1};class $R extends ar{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var l;(l=this.stopObserver)==null||l.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:a}=t,i={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:HR[s]},o=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,a&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:f,onViewportLeave:h}=this.node.getProps(),p=d?f:h;p&&p(u)};this.stopObserver=BR(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(UR(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function UR({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const WR={inView:{Feature:$R},tap:{Feature:IR},focus:{Feature:LR},hover:{Feature:OR}},qR={layout:{ProjectionNode:w1,MeasureLayout:M1}},KR={...gR,...WR,...FR,...qR},Hi=dR(KR,fR),GR=()=>{const e=Lr();return w.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),c.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background","data-id":"w9ve7flif","data-path":"src/pages/NotFound.tsx",children:c.jsxs(Hi.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-center space-y-6 p-8","data-id":"bsjfqfo40","data-path":"src/pages/NotFound.tsx",children:[c.jsx(Hi.div,{initial:{scale:.5},animate:{scale:1},transition:{duration:.5,delay:.2},"data-id":"4jgau9r9j","data-path":"src/pages/NotFound.tsx",children:c.jsx("h1",{className:"text-8xl font-bold text-primary","data-id":"3whkzi9el","data-path":"src/pages/NotFound.tsx",children:"404"})}),c.jsxs(Hi.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,delay:.4},className:"space-y-4","data-id":"6yl1tze6u","data-path":"src/pages/NotFound.tsx",children:[c.jsx("h2",{className:"text-2xl font-semibold tracking-tight","data-id":"jkh29xipq","data-path":"src/pages/NotFound.tsx",children:"Page Not Found"}),c.jsx("p",{className:"text-muted-foreground","data-id":"gxbo7uope","data-path":"src/pages/NotFound.tsx",children:"Sorry, the page you are looking for does not exist or has been removed."})]}),c.jsx(Hi.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,delay:.6},"data-id":"xkpc7x46y","data-path":"src/pages/NotFound.tsx",children:c.jsx(va,{asChild:!0,variant:"default",size:"lg","data-id":"ng7onckbn","data-path":"src/pages/NotFound.tsx",children:c.jsx("a",{href:"/","data-id":"ceqwfotvy","data-path":"src/pages/NotFound.tsx",children:"Back to Home"})})})]})})},YR=w.createContext(null),Dc={didCatch:!1,error:null};class QR extends w.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Dc}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(...t){var r,s;const{error:n}=this.state;n!==null&&((s=(r=this.props).onReset)==null||s.call(r,{args:t,reason:"imperative-api"}),this.setState(Dc))}componentDidCatch(t,n){var r,s;(s=(r=this.props).onError)==null||s.call(r,t,n)}componentDidUpdate(t,n){var a,i;const{didCatch:r}=this.state,{resetKeys:s}=this.props;r&&n.error!==null&&XR(t.resetKeys,s)&&((i=(a=this.props).onReset)==null||i.call(a,{next:s,prev:t.resetKeys,reason:"keys"}),this.setState(Dc))}render(){const{children:t,fallbackRender:n,FallbackComponent:r,fallback:s}=this.props,{didCatch:a,error:i}=this.state;let o=t;if(a){const l={error:i,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")o=n(l);else if(r)o=w.createElement(r,l);else if(s!==void 0)o=s;else throw i}return w.createElement(YR.Provider,{value:{didCatch:a,error:i,resetErrorBoundary:this.resetErrorBoundary}},o)}}function XR(e=[],t=[]){return e.length!==t.length||e.some((n,r)=>!Object.is(n,t[r]))}var JR=typeof Element<"u",ZR=typeof Map=="function",e5=typeof Set=="function",t5=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function ho(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,r,s;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!ho(e[r],t[r]))return!1;return!0}var a;if(ZR&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;for(a=e.entries();!(r=a.next()).done;)if(!ho(r.value[1],t.get(r.value[0])))return!1;return!0}if(e5&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(t5&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])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(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[r]))return!1;if(JR&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((s[r]==="_owner"||s[r]==="__v"||s[r]==="__o")&&e.$$typeof)&&!ho(e[s[r]],t[s[r]]))return!1;return!0}return e!==e&&t!==t}var n5=function(t,n){try{return ho(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const r5=nl(n5);var s5=function(e,t,n,r,s,a,i,o){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,s,a,i,o],d=0;l=new Error(t.replace(/%s/g,function(){return u[d++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},a5=s5;const Ig=nl(a5);var i5=function(t,n,r,s){var a=r?r.call(s,t,n):void 0;if(a!==void 0)return!!a;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 l=Object.prototype.hasOwnProperty.bind(n),u=0;u<i.length;u++){var d=i[u];if(!l(d))return!1;var f=t[d],h=n[d];if(a=r?r.call(s,f,h,d):void 0,a===!1||a===void 0&&f!==h)return!1}return!0};const o5=nl(i5);var F1=(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))(F1||{}),Rc={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"]}},zg=Object.values(F1),hh={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},l5=Object.entries(hh).reduce((e,[t,n])=>(e[n]=t,e),{}),Et="data-rh",us={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},ds=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},c5=e=>{let t=ds(e,"title");const n=ds(e,us.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=ds(e,us.DEFAULT_TITLE);return t||r||void 0},u5=e=>ds(e,us.ON_CHANGE_CLIENT_STATE)||(()=>{}),Mc=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),d5=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const s=Object.keys(r);for(let a=0;a<s.length;a+=1){const o=s[a].toLowerCase();if(e.indexOf(o)!==-1&&r[o])return n.concat(r)}}return n},[]),f5=e=>console&&typeof console.warn=="function"&&console.warn(e),ta=(e,t,n)=>{const r={};return n.filter(s=>Array.isArray(s[e])?!0:(typeof s[e]<"u"&&f5(`Helmet: ${e} should be of type "Array". Instead found type "${typeof s[e]}"`),!1)).map(s=>s[e]).reverse().reduce((s,a)=>{const i={};a.filter(l=>{let u;const d=Object.keys(l);for(let h=0;h<d.length;h+=1){const p=d[h],y=p.toLowerCase();t.indexOf(y)!==-1&&!(u==="rel"&&l[u].toLowerCase()==="canonical")&&!(y==="rel"&&l[y].toLowerCase()==="stylesheet")&&(u=y),t.indexOf(p)!==-1&&(p==="innerHTML"||p==="cssText"||p==="itemprop")&&(u=p)}if(!u||!l[u])return!1;const f=l[u].toLowerCase();return r[u]||(r[u]={}),i[u]||(i[u]={}),r[u][f]?!1:(i[u][f]=!0,!0)}).reverse().forEach(l=>s.push(l));const o=Object.keys(i);for(let l=0;l<o.length;l+=1){const u=o[l],d={...r[u],...i[u]};r[u]=d}return s},[]).reverse()},h5=(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},p5=e=>({baseTag:d5(["href"],e),bodyAttributes:Mc("bodyAttributes",e),defer:ds(e,us.DEFER),encode:ds(e,us.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Mc("htmlAttributes",e),linkTags:ta("link",["rel","href"],e),metaTags:ta("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:ta("noscript",["innerHTML"],e),onChangeClientState:u5(e),scriptTags:ta("script",["src","innerHTML"],e),styleTags:ta("style",["cssText"],e),title:c5(e),titleAttributes:Mc("titleAttributes",e),prioritizeSeoTags:h5(e,us.PRIORITIZE_SEO_TAGS)}),O1=e=>Array.isArray(e)?e.join(""):e,m5=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},Fc=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(m5(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},_g=(e,t)=>({...e,[t]:void 0}),g5=["noscript","script","style"],gd=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),L1=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),y5=(e,t,n,r)=>{const s=L1(n),a=O1(t);return s?`<${e} ${Et}="true" ${s}>${gd(a,r)}</${e}>`:`<${e} ${Et}="true">${gd(a,r)}</${e}>`},x5=(e,t,n=!0)=>t.reduce((r,s)=>{const a=s,i=Object.keys(a).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,d)=>{const f=typeof a[d]>"u"?d:`${d}="${gd(a[d],n)}"`;return u?`${u} ${f}`:f},""),o=a.innerHTML||a.cssText||"",l=g5.indexOf(e)===-1;return`${r}<${e} ${Et}="true" ${i}${l?"/>":`>${o}</${e}>`}`},""),I1=(e,t={})=>Object.keys(e).reduce((n,r)=>{const s=hh[r];return n[s||r]=e[r],n},t),v5=(e,t,n)=>{const r={key:t,[Et]:!0},s=I1(n,r);return[Ut.createElement("title",s,t)]},po=(e,t)=>t.map((n,r)=>{const s={key:r,[Et]:!0};return Object.keys(n).forEach(a=>{const o=hh[a]||a;if(o==="innerHTML"||o==="cssText"){const l=n.innerHTML||n.cssText;s.dangerouslySetInnerHTML={__html:l}}else s[o]=n[a]}),Ut.createElement(e,s)}),ot=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>v5(e,t.title,t.titleAttributes),toString:()=>y5(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>I1(t),toString:()=>L1(t)};default:return{toComponent:()=>po(e,t),toString:()=>x5(e,t,n)}}},w5=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const s=Fc(e,Rc.meta),a=Fc(t,Rc.link),i=Fc(n,Rc.script);return{priorityMethods:{toComponent:()=>[...po("meta",s.priority),...po("link",a.priority),...po("script",i.priority)],toString:()=>`${ot("meta",s.priority,r)} ${ot("link",a.priority,r)} ${ot("script",i.priority,r)}`},metaTags:s.default,linkTags:a.default,scriptTags:i.default}},b5=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:s,noscriptTags:a,styleTags:i,title:o="",titleAttributes:l,prioritizeSeoTags:u}=e;let{linkTags:d,metaTags:f,scriptTags:h}=e,p={toComponent:()=>{},toString:()=>""};return u&&({priorityMethods:p,linkTags:d,metaTags:f,scriptTags:h}=w5(e)),{priority:p,base:ot("base",t,r),bodyAttributes:ot("bodyAttributes",n,r),htmlAttributes:ot("htmlAttributes",s,r),link:ot("link",d,r),meta:ot("meta",f,r),noscript:ot("noscript",a,r),script:ot("script",h,r),style:ot("style",i,r),title:ot("title",{title:o,titleAttributes:l},r)}},yd=b5,$i=[],z1=!!(typeof window<"u"&&window.document&&window.document.createElement),xd=class{constructor(e,t){Zt(this,"instances",[]);Zt(this,"canUseDOM",z1);Zt(this,"context");Zt(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?$i:this.instances,add:e=>{(this.canUseDOM?$i:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?$i:this.instances).indexOf(e);(this.canUseDOM?$i:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=yd({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},P5={},_1=Ut.createContext(P5),Pr,V1=(Pr=class extends w.Component{constructor(n){super(n);Zt(this,"helmetData");this.helmetData=new xd(this.props.context||{},Pr.canUseDOM)}render(){return Ut.createElement(_1.Provider,{value:this.helmetData.value},this.props.children)}},Zt(Pr,"canUseDOM",z1),Pr),_r=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${Et}]`),s=[].slice.call(r),a=[];let i;return t&&t.length&&t.forEach(o=>{const l=document.createElement(e);for(const u in o)if(Object.prototype.hasOwnProperty.call(o,u))if(u==="innerHTML")l.innerHTML=o.innerHTML;else if(u==="cssText")l.styleSheet?l.styleSheet.cssText=o.cssText:l.appendChild(document.createTextNode(o.cssText));else{const d=u,f=typeof o[d]>"u"?"":o[d];l.setAttribute(u,f)}l.setAttribute(Et,"true"),s.some((u,d)=>(i=d,l.isEqualNode(u)))?s.splice(i,1):a.push(l)}),s.forEach(o=>{var l;return(l=o.parentNode)==null?void 0:l.removeChild(o)}),a.forEach(o=>n.appendChild(o)),{oldTags:s,newTags:a}},vd=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(Et),s=r?r.split(","):[],a=[...s],i=Object.keys(t);for(const o of i){const l=t[o]||"";n.getAttribute(o)!==l&&n.setAttribute(o,l),s.indexOf(o)===-1&&s.push(o);const u=a.indexOf(o);u!==-1&&a.splice(u,1)}for(let o=a.length-1;o>=0;o-=1)n.removeAttribute(a[o]);s.length===a.length?n.removeAttribute(Et):n.getAttribute(Et)!==i.join(",")&&n.setAttribute(Et,i.join(","))},S5=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=O1(e)),vd("title",t)},Vg=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:s,linkTags:a,metaTags:i,noscriptTags:o,onChangeClientState:l,scriptTags:u,styleTags:d,title:f,titleAttributes:h}=e;vd("body",r),vd("html",s),S5(f,h);const p={baseTag:_r("base",n),linkTags:_r("link",a),metaTags:_r("meta",i),noscriptTags:_r("noscript",o),scriptTags:_r("script",u),styleTags:_r("style",d)},y={},v={};Object.keys(p).forEach(b=>{const{newTags:g,oldTags:m}=p[b];g.length&&(y[b]=g),m.length&&(v[b]=p[b].oldTags)}),t&&t(),l(e,y,v)},na=null,C5=e=>{na&&cancelAnimationFrame(na),e.defer?na=requestAnimationFrame(()=>{Vg(e,()=>{na=null})}):(Vg(e),na=null)},k5=C5,Bg=class extends w.Component{constructor(){super(...arguments);Zt(this,"rendered",!1)}shouldComponentUpdate(t){return!o5(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 r=null;const s=p5(t.get().map(a=>{const i={...a.props};return delete i.context,i}));V1.canUseDOM?k5(s):yd&&(r=yd(s)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Oc,j5=(Oc=class extends w.Component{shouldComponentUpdate(e){return!r5(_g(this.props,"helmetData"),_g(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,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,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(r=>{n={...n,[r]:e[r]}}),n}warnOnInvalidChildren(e,t){return Ig(zg.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 ${zg.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),Ig(!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 Ut.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:s,...a}=r.props,i=Object.keys(a).reduce((l,u)=>(l[l5[u]||u]=a[u],l),{});let{type:o}=r;switch(typeof o=="symbol"?o=o.toString():this.warnOnInvalidChildren(r,s),o){case"Symbol(react.fragment)":t=this.mapChildrenToProps(s,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,i,s);break;default:t=this.mapObjectTypeChildren(r,t,i,s);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof xd)){const s=r;r=new xd(s.context,!0),delete n.helmetData}return r?Ut.createElement(Bg,{...n,context:r.value}):Ut.createElement(_1.Consumer,null,s=>Ut.createElement(Bg,{...n,context:s}))}},Zt(Oc,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Oc);const B1=w.forwardRef(({className:e,...t},n)=>c.jsx("div",{ref:n,className:Ce("rounded-xl border bg-card text-card-foreground shadow",e),...t}));B1.displayName="Card";const H1=w.forwardRef(({className:e,...t},n)=>c.jsx("div",{ref:n,className:Ce("flex flex-col space-y-1.5 p-6",e),...t}));H1.displayName="CardHeader";const $1=w.forwardRef(({className:e,...t},n)=>c.jsx("div",{ref:n,className:Ce("font-semibold leading-none tracking-tight",e),...t}));$1.displayName="CardTitle";const U1=w.forwardRef(({className:e,...t},n)=>c.jsx("div",{ref:n,className:Ce("text-sm text-muted-foreground",e),...t}));U1.displayName="CardDescription";const W1=w.forwardRef(({className:e,...t},n)=>c.jsx("div",{ref:n,className:Ce("p-6 pt-0",e),...t}));W1.displayName="CardContent";const q1=w.forwardRef(({className:e,...t},n)=>c.jsx("div",{ref:n,className:Ce("flex items-center p-6 pt-0",e),...t}));q1.displayName="CardFooter";const T5=Pf("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"}}),K1=w.forwardRef(({className:e,variant:t,...n},r)=>c.jsx("div",{ref:r,role:"alert",className:Ce(T5({variant:t}),e),...n}));K1.displayName="Alert";const E5=w.forwardRef(({className:e,...t},n)=>c.jsx("h5",{ref:n,className:Ce("mb-1 font-medium leading-none tracking-tight",e),...t}));E5.displayName="AlertTitle";const G1=w.forwardRef(({className:e,...t},n)=>c.jsx("div",{ref:n,className:Ce("text-sm [&_p]:leading-relaxed",e),...t}));G1.displayName="AlertDescription";var N5="Separator",Hg="horizontal",A5=["horizontal","vertical"],Y1=w.forwardRef((e,t)=>{const{decorative:n,orientation:r=Hg,...s}=e,a=D5(r)?r:Hg,o=n?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return c.jsx($e.div,{"data-orientation":a,...o,...s,ref:t})});Y1.displayName=N5;function D5(e){return A5.includes(e)}var Q1=Y1;const X1=w.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...r},s)=>c.jsx(Q1,{ref:s,decorative:n,orientation:t,className:Ce("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));X1.displayName=Q1.displayName;const R5=({error:e,resetErrorBoundary:t})=>{Ut.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()},r=()=>{window.location.href="/"};return c.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center p-4","data-id":"k4pp5pb6n","data-path":"src/components/error-fallback.tsx",children:c.jsxs(B1,{className:"w-full max-w-md","data-id":"991k2gsqp","data-path":"src/components/error-fallback.tsx",children:[c.jsxs(H1,{className:"text-center","data-id":"15bc59v27","data-path":"src/components/error-fallback.tsx",children:[c.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":"6ertelhz0","data-path":"src/components/error-fallback.tsx",children:c.jsx($p,{className:"h-8 w-8 text-destructive drop-shadow-sm","data-id":"cgicwb5rf","data-path":"src/components/error-fallback.tsx"})}),c.jsx($1,{className:"text-xl font-semibold","data-id":"g0yvz4x0s","data-path":"src/components/error-fallback.tsx",children:"Something went wrong"}),c.jsx(U1,{"data-id":"zt46wn1og","data-path":"src/components/error-fallback.tsx",children:"Sorry, the application encountered an unexpected error"})]}),c.jsxs(W1,{className:"space-y-4","data-id":"4rar4mm0l","data-path":"src/components/error-fallback.tsx",children:[e&&c.jsxs(K1,{variant:"destructive","data-id":"90vu0m3sf","data-path":"src/components/error-fallback.tsx",children:[c.jsx($p,{className:"h-5 w-5","data-id":"09kegivot","data-path":"src/components/error-fallback.tsx"}),c.jsx(G1,{className:"text-sm","data-id":"p8fzvzkdz","data-path":"src/components/error-fallback.tsx",children:c.jsxs("details",{className:"mt-2","data-id":"4g9ae05w3","data-path":"src/components/error-fallback.tsx",children:[c.jsx("summary",{className:"cursor-pointer font-medium","data-id":"wct7anlw5","data-path":"src/components/error-fallback.tsx",children:"Error Details"}),c.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":"zneke4da9","data-path":"src/components/error-fallback.tsx",children:e.message})]})})]}),c.jsx("div",{className:"text-sm text-muted-foreground text-center","data-id":"dajajkdgo","data-path":"src/components/error-fallback.tsx",children:"You can try refreshing the page or returning to the homepage to resolve this issue"})]}),c.jsx(X1,{"data-id":"9cz7y3ebv","data-path":"src/components/error-fallback.tsx"}),c.jsxs(q1,{className:"flex flex-col gap-2 pt-6","data-id":"bnxm4h5pp","data-path":"src/components/error-fallback.tsx",children:[c.jsxs("div",{className:"flex w-full gap-2","data-id":"qxasazvkv","data-path":"src/components/error-fallback.tsx",children:[t&&c.jsxs(va,{onClick:t,className:"flex-1",variant:"default","data-id":"q33ed74sl","data-path":"src/components/error-fallback.tsx",children:[c.jsx(Hp,{className:"mr-2 h-4 w-4 opacity-90","data-id":"oo70mrbi8","data-path":"src/components/error-fallback.tsx"}),"Retry"]}),c.jsxs(va,{onClick:n,variant:"outline",className:"flex-1","data-id":"0efawg37y","data-path":"src/components/error-fallback.tsx",children:[c.jsx(Hp,{className:"mr-2 h-4 w-4 opacity-90","data-id":"r8bxnv21t","data-path":"src/components/error-fallback.tsx"}),"Refresh Page"]})]}),c.jsxs(va,{onClick:r,variant:"ghost",className:"w-full","data-id":"o5azkiptw","data-path":"src/components/error-fallback.tsx",children:[c.jsx(a2,{className:"mr-2 h-4 w-4 opacity-80","data-id":"shhq479u4","data-path":"src/components/error-fallback.tsx"}),"Go Home"]})]})]})})},M5=()=>{const e=Lr(),t=window.location.origin+e.pathname;return c.jsxs(c.Fragment,{children:[c.jsx(j5,{"data-id":"t0jofr281","data-path":"src/components/canonical-manager.tsx",children:c.jsx("link",{rel:"canonical",href:t,"data-id":"djw0ckfk4","data-path":"src/components/canonical-manager.tsx"})}),c.jsx(fE,{"data-id":"xxjxgcd42","data-path":"src/components/canonical-manager.tsx"})]})},F5=new gT,O5=()=>c.jsx(QR,{FallbackComponent:R5,onError:(e,t)=>{console.error(`Error Boundary caught an error(pathname:${location.pathname+location.search}):`,e,t),setTimeout(()=>{throw e},0)},"data-id":"d4w5jvxgd","data-path":"src/App.tsx",children:c.jsx(V1,{"data-id":"efbd0tryf","data-path":"src/App.tsx",children:c.jsx(xT,{client:F5,"data-id":"6pf8wtbf9","data-path":"src/App.tsx",children:c.jsxs(Vj,{"data-id":"x5uanyq0p","data-path":"src/App.tsx",children:[c.jsx(ik,{"data-id":"tpob2iobv","data-path":"src/App.tsx"}),c.jsx(bE,{"data-id":"4usepq6if","data-path":"src/App.tsx",children:c.jsx(pE,{"data-id":"4rcaf0kuq","data-path":"src/App.tsx",children:c.jsxs(Ue,{element:c.jsx(M5,{"data-id":"l3ezj3rju","data-path":"src/App.tsx"}),"data-id":"xhl6ttwak","data-path":"src/App.tsx",children:[c.jsx(Ue,{path:"/",element:c.jsx(NE,{"data-id":"b97n3thu7","data-path":"src/App.tsx"}),"data-id":"8j3eqqfke","data-path":"src/App.tsx"}),c.jsx(Ue,{path:"/about",element:c.jsx(RE,{"data-id":"njzp5xxhz","data-path":"src/App.tsx"}),"data-id":"vhycvfzdo","data-path":"src/App.tsx"}),c.jsx(Ue,{path:"/programs",element:c.jsx(FE,{"data-id":"x7nvh2hi6","data-path":"src/App.tsx"}),"data-id":"z5i6xcgpl","data-path":"src/App.tsx"}),c.jsx(Ue,{path:"/impact",element:c.jsx(IE,{"data-id":"u2ankp56e","data-path":"src/App.tsx"}),"data-id":"zbpww8psf","data-path":"src/App.tsx"}),c.jsx(Ue,{path:"/events",element:c.jsx(VE,{"data-id":"kvo3999qx","data-path":"src/App.tsx"}),"data-id":"uuoap38k6","data-path":"src/App.tsx"}),c.jsx(Ue,{path:"/rare-disease",element:c.jsx(UE,{"data-id":"sxm462sgh","data-path":"src/App.tsx"}),"data-id":"caig1vfmb","data-path":"src/App.tsx"}),c.jsx(Ue,{path:"/donate",element:c.jsx(qE,{"data-id":"hs0fyb42o","data-path":"src/App.tsx"}),"data-id":"l9r9xv0om","data-path":"src/App.tsx"}),c.jsx(Ue,{path:"/blog",element:c.jsx(GE,{"data-id":"v6s9t8ipw","data-path":"src/App.tsx"}),"data-id":"nbsd026r6","data-path":"src/App.tsx"}),c.jsx(Ue,{path:"/contact",element:c.jsx(YE,{"data-id":"wri85ghgr","data-path":"src/App.tsx"}),"data-id":"4868wze1b","data-path":"src/App.tsx"}),c.jsx(Ue,{path:"/privacy-policy",element:c.jsx(QE,{"data-id":"wdokclmvb","data-path":"src/App.tsx"}),"data-id":"8wjii3ts6","data-path":"src/App.tsx"}),c.jsx(Ue,{path:"/terms",element:c.jsx(XE,{"data-id":"0w02ubpbu","data-path":"src/App.tsx"}),"data-id":"ozfielgvp","data-path":"src/App.tsx"}),c.jsx(Ue,{path:"*",element:c.jsx(GR,{"data-id":"j0skwpfiq","data-path":"src/App.tsx"}),"data-id":"4ilje5m0k","data-path":"src/App.tsx"})]})})})]})})})});uv(document.getElementById("root")).render(c.jsx(O5,{"data-id":"siemglop3","data-path":"src/main.tsx"}));