var l1=Object.defineProperty;var Np=e=>{throw TypeError(e)};var c1=(e,t,n)=>t in e?l1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Zt=(e,t,n)=>c1(e,typeof t!="symbol"?t+"":t,n),zl=(e,t,n)=>t.has(e)||Np("Cannot "+n);var N=(e,t,n)=>(zl(e,t,"read from private field"),n?n.call(e):t.get(e)),K=(e,t,n)=>t.has(e)?Np("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),V=(e,t,n,s)=>(zl(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n),ke=(e,t,n)=>(zl(e,t,"access private method"),n);var yi=(e,t,n,s)=>({set _(r){V(e,t,r,n)},get _(){return N(e,t,s)}});function d1(e,t){for(var n=0;n<t.length;n++){const s=t[n];if(typeof s!="string"&&!Array.isArray(s)){for(const r in s)if(r!=="default"&&!(r in e)){const a=Object.getOwnPropertyDescriptor(s,r);a&&Object.defineProperty(e,r,a.get?a:{enumerable:!0,get:()=>s[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const a of r)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerPolicy&&(a.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?a.credentials="include":r.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(r){if(r.ep)return;r.ep=!0;const a=n(r);fetch(r.href,a)}})();function rl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var iy={exports:{}},al={},oy={exports:{}},q={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ti=Symbol.for("react.element"),u1=Symbol.for("react.portal"),f1=Symbol.for("react.fragment"),p1=Symbol.for("react.strict_mode"),h1=Symbol.for("react.profiler"),m1=Symbol.for("react.provider"),g1=Symbol.for("react.context"),y1=Symbol.for("react.forward_ref"),x1=Symbol.for("react.suspense"),v1=Symbol.for("react.memo"),w1=Symbol.for("react.lazy"),Tp=Symbol.iterator;function b1(e){return e===null||typeof e!="object"?null:(e=Tp&&e[Tp]||e["@@iterator"],typeof e=="function"?e:null)}var ly={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},cy=Object.assign,dy={};function Ir(e,t,n){this.props=e,this.context=t,this.refs=dy,this.updater=n||ly}Ir.prototype.isReactComponent={};Ir.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")};Ir.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function uy(){}uy.prototype=Ir.prototype;function ju(e,t,n){this.props=e,this.context=t,this.refs=dy,this.updater=n||ly}var Cu=ju.prototype=new uy;Cu.constructor=ju;cy(Cu,Ir.prototype);Cu.isPureReactComponent=!0;var Ap=Array.isArray,fy=Object.prototype.hasOwnProperty,Eu={current:null},py={key:!0,ref:!0,__self:!0,__source:!0};function hy(e,t,n){var s,r={},a=null,i=null;if(t!=null)for(s in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(a=""+t.key),t)fy.call(t,s)&&!py.hasOwnProperty(s)&&(r[s]=t[s]);var o=arguments.length-2;if(o===1)r.children=n;else if(1<o){for(var c=Array(o),d=0;d<o;d++)c[d]=arguments[d+2];r.children=c}if(e&&e.defaultProps)for(s in o=e.defaultProps,o)r[s]===void 0&&(r[s]=o[s]);return{$$typeof:ti,type:e,key:a,ref:i,props:r,_owner:Eu.current}}function P1(e,t){return{$$typeof:ti,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Nu(e){return typeof e=="object"&&e!==null&&e.$$typeof===ti}function S1(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Rp=/\/+/g;function Fl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?S1(""+e.key):t.toString(36)}function qi(e,t,n,s,r){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 ti:case u1:i=!0}}if(i)return i=e,r=r(i),e=s===""?"."+Fl(i,0):s,Ap(r)?(n="",e!=null&&(n=e.replace(Rp,"$&/")+"/"),qi(r,t,n,"",function(d){return d})):r!=null&&(Nu(r)&&(r=P1(r,n+(!r.key||i&&i.key===r.key?"":(""+r.key).replace(Rp,"$&/")+"/")+e)),t.push(r)),1;if(i=0,s=s===""?".":s+":",Ap(e))for(var o=0;o<e.length;o++){a=e[o];var c=s+Fl(a,o);i+=qi(a,t,n,c,r)}else if(c=b1(e),typeof c=="function")for(e=c.call(e),o=0;!(a=e.next()).done;)a=a.value,c=s+Fl(a,o++),i+=qi(a,t,n,c,r);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 xi(e,t,n){if(e==null)return e;var s=[],r=0;return qi(e,s,"","",function(a){return t.call(n,a,r++)}),s}function k1(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 He={current:null},Ki={transition:null},j1={ReactCurrentDispatcher:He,ReactCurrentBatchConfig:Ki,ReactCurrentOwner:Eu};function my(){throw Error("act(...) is not supported in production builds of React.")}q.Children={map:xi,forEach:function(e,t,n){xi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return xi(e,function(){t++}),t},toArray:function(e){return xi(e,function(t){return t})||[]},only:function(e){if(!Nu(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};q.Component=Ir;q.Fragment=f1;q.Profiler=h1;q.PureComponent=ju;q.StrictMode=p1;q.Suspense=x1;q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j1;q.act=my;q.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var s=cy({},e.props),r=e.key,a=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,i=Eu.current),t.key!==void 0&&(r=""+t.key),e.type&&e.type.defaultProps)var o=e.type.defaultProps;for(c in t)fy.call(t,c)&&!py.hasOwnProperty(c)&&(s[c]=t[c]===void 0&&o!==void 0?o[c]:t[c])}var c=arguments.length-2;if(c===1)s.children=n;else if(1<c){o=Array(c);for(var d=0;d<c;d++)o[d]=arguments[d+2];s.children=o}return{$$typeof:ti,type:e.type,key:r,ref:a,props:s,_owner:i}};q.createContext=function(e){return e={$$typeof:g1,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:m1,_context:e},e.Consumer=e};q.createElement=hy;q.createFactory=function(e){var t=hy.bind(null,e);return t.type=e,t};q.createRef=function(){return{current:null}};q.forwardRef=function(e){return{$$typeof:y1,render:e}};q.isValidElement=Nu;q.lazy=function(e){return{$$typeof:w1,_payload:{_status:-1,_result:e},_init:k1}};q.memo=function(e,t){return{$$typeof:v1,type:e,compare:t===void 0?null:t}};q.startTransition=function(e){var t=Ki.transition;Ki.transition={};try{e()}finally{Ki.transition=t}};q.unstable_act=my;q.useCallback=function(e,t){return He.current.useCallback(e,t)};q.useContext=function(e){return He.current.useContext(e)};q.useDebugValue=function(){};q.useDeferredValue=function(e){return He.current.useDeferredValue(e)};q.useEffect=function(e,t){return He.current.useEffect(e,t)};q.useId=function(){return He.current.useId()};q.useImperativeHandle=function(e,t,n){return He.current.useImperativeHandle(e,t,n)};q.useInsertionEffect=function(e,t){return He.current.useInsertionEffect(e,t)};q.useLayoutEffect=function(e,t){return He.current.useLayoutEffect(e,t)};q.useMemo=function(e,t){return He.current.useMemo(e,t)};q.useReducer=function(e,t,n){return He.current.useReducer(e,t,n)};q.useRef=function(e){return He.current.useRef(e)};q.useState=function(e){return He.current.useState(e)};q.useSyncExternalStore=function(e,t,n){return He.current.useSyncExternalStore(e,t,n)};q.useTransition=function(){return He.current.useTransition()};q.version="18.3.1";oy.exports=q;var w=oy.exports;const Wt=rl(w),Tu=d1({__proto__:null,default:Wt},[w]);/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var C1=w,E1=Symbol.for("react.element"),N1=Symbol.for("react.fragment"),T1=Object.prototype.hasOwnProperty,A1=C1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,R1={key:!0,ref:!0,__self:!0,__source:!0};function gy(e,t,n){var s,r={},a=null,i=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(i=t.ref);for(s in t)T1.call(t,s)&&!R1.hasOwnProperty(s)&&(r[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)r[s]===void 0&&(r[s]=t[s]);return{$$typeof:E1,type:e,key:a,ref:i,props:r,_owner:A1.current}}al.Fragment=N1;al.jsx=gy;al.jsxs=gy;iy.exports=al;var l=iy.exports,yy={exports:{}},rt={},xy={exports:{}},vy={};/**
* @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(E,M){var F=E.length;E.push(M);e:for(;0<F;){var H=F-1>>>1,X=E[H];if(0<r(X,M))E[H]=M,E[F]=X,F=H;else break e}}function n(E){return E.length===0?null:E[0]}function s(E){if(E.length===0)return null;var M=E[0],F=E.pop();if(F!==M){E[0]=F;e:for(var H=0,X=E.length,yt=X>>>1;H<yt;){var it=2*(H+1)-1,$r=E[it],Xt=it+1,_s=E[Xt];if(0>r($r,F))Xt<X&&0>r(_s,$r)?(E[H]=_s,E[Xt]=F,H=Xt):(E[H]=$r,E[it]=F,H=it);else if(Xt<X&&0>r(_s,F))E[H]=_s,E[Xt]=F,H=Xt;else break e}}return M}function r(E,M){var F=E.sortIndex-M.sortIndex;return F!==0?F:E.id-M.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 c=[],d=[],u=1,f=null,p=3,h=!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(E){for(var M=n(d);M!==null;){if(M.callback===null)s(d);else if(M.startTime<=E)s(d),M.sortIndex=M.expirationTime,t(c,M);else break;M=n(d)}}function P(E){if(v=!1,x(E),!y)if(n(c)!==null)y=!0,_(S);else{var M=n(d);M!==null&&G(P,M.startTime-E)}}function S(E,M){y=!1,v&&(v=!1,g(C),C=-1),h=!0;var F=p;try{for(x(M),f=n(c);f!==null&&(!(f.expirationTime>M)||E&&!O());){var H=f.callback;if(typeof H=="function"){f.callback=null,p=f.priorityLevel;var X=H(f.expirationTime<=M);M=e.unstable_now(),typeof X=="function"?f.callback=X:f===n(c)&&s(c),x(M)}else s(c);f=n(c)}if(f!==null)var yt=!0;else{var it=n(d);it!==null&&G(P,it.startTime-M),yt=!1}return yt}finally{f=null,p=F,h=!1}}var k=!1,j=null,C=-1,R=5,T=-1;function O(){return!(e.unstable_now()-T<R)}function I(){if(j!==null){var E=e.unstable_now();T=E;var M=!0;try{M=j(!0,E)}finally{M?B():(k=!1,j=null)}}else k=!1}var B;if(typeof m=="function")B=function(){m(I)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,W=D.port2;D.port1.onmessage=I,B=function(){W.postMessage(null)}}else B=function(){b(I,0)};function _(E){j=E,k||(k=!0,B())}function G(E,M){C=b(function(){E(e.unstable_now())},M)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(E){E.callback=null},e.unstable_continueExecution=function(){y||h||(y=!0,_(S))},e.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<E?Math.floor(1e3/E):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(E){switch(p){case 1:case 2:case 3:var M=3;break;default:M=p}var F=p;p=M;try{return E()}finally{p=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(E,M){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var F=p;p=E;try{return M()}finally{p=F}},e.unstable_scheduleCallback=function(E,M,F){var H=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?H+F:H):F=H,E){case 1:var X=-1;break;case 2:X=250;break;case 5:X=1073741823;break;case 4:X=1e4;break;default:X=5e3}return X=F+X,E={id:u++,callback:M,priorityLevel:E,startTime:F,expirationTime:X,sortIndex:-1},F>H?(E.sortIndex=F,t(d,E),n(c)===null&&E===n(d)&&(v?(g(C),C=-1):v=!0,G(P,F-H))):(E.sortIndex=X,t(c,E),y||h||(y=!0,_(S))),E},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(E){var M=p;return function(){var F=p;p=M;try{return E.apply(this,arguments)}finally{p=F}}}})(vy);xy.exports=vy;var M1=xy.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 D1=w,st=M1;function A(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 wy=new Set,ja={};function Ls(e,t){Sr(e,t),Sr(e+"Capture",t)}function Sr(e,t){for(ja[e]=t,e=0;e<t.length;e++)wy.add(t[e])}var un=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_c=Object.prototype.hasOwnProperty,I1=/^[: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]*$/,Mp={},Dp={};function L1(e){return _c.call(Dp,e)?!0:_c.call(Mp,e)?!1:I1.test(e)?Dp[e]=!0:(Mp[e]=!0,!1)}function O1(e,t,n,s){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return s?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function z1(e,t,n,s){if(t===null||typeof t>"u"||O1(e,t,n,s))return!0;if(s)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 Be(e,t,n,s,r,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=s,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var Te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Te[e]=new Be(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Te[t]=new Be(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Te[e]=new Be(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Te[e]=new Be(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){Te[e]=new Be(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Te[e]=new Be(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Te[e]=new Be(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Te[e]=new Be(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Te[e]=new Be(e,5,!1,e.toLowerCase(),null,!1,!1)});var Au=/[\-:]([a-z])/g;function Ru(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(Au,Ru);Te[t]=new Be(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(Au,Ru);Te[t]=new Be(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(Au,Ru);Te[t]=new Be(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Te[e]=new Be(e,1,!1,e.toLowerCase(),null,!1,!1)});Te.xlinkHref=new Be("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Te[e]=new Be(e,1,!1,e.toLowerCase(),null,!0,!0)});function Mu(e,t,n,s){var r=Te.hasOwnProperty(t)?Te[t]:null;(r!==null?r.type!==0:s||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(z1(t,n,r,s)&&(n=null),s||r===null?L1(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=n===null?r.type===3?!1:"":n:(t=r.attributeName,s=r.attributeNamespace,n===null?e.removeAttribute(t):(r=r.type,n=r===3||r===4&&n===!0?"":""+n,s?e.setAttributeNS(s,t,n):e.setAttribute(t,n))))}var yn=D1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,vi=Symbol.for("react.element"),Ws=Symbol.for("react.portal"),$s=Symbol.for("react.fragment"),Du=Symbol.for("react.strict_mode"),Vc=Symbol.for("react.profiler"),by=Symbol.for("react.provider"),Py=Symbol.for("react.context"),Iu=Symbol.for("react.forward_ref"),Hc=Symbol.for("react.suspense"),Bc=Symbol.for("react.suspense_list"),Lu=Symbol.for("react.memo"),jn=Symbol.for("react.lazy"),Sy=Symbol.for("react.offscreen"),Ip=Symbol.iterator;function qr(e){return e===null||typeof e!="object"?null:(e=Ip&&e[Ip]||e["@@iterator"],typeof e=="function"?e:null)}var le=Object.assign,_l;function aa(e){if(_l===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);_l=t&&t[1]||""}return`
`+_l+e}var Vl=!1;function Hl(e,t){if(!e||Vl)return"";Vl=!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(d){var s=d}Reflect.construct(e,[],t)}else{try{t.call()}catch(d){s=d}e.call(t.prototype)}else{try{throw Error()}catch(d){s=d}e()}}catch(d){if(d&&s&&typeof d.stack=="string"){for(var r=d.stack.split(`
`),a=s.stack.split(`
`),i=r.length-1,o=a.length-1;1<=i&&0<=o&&r[i]!==a[o];)o--;for(;1<=i&&0<=o;i--,o--)if(r[i]!==a[o]){if(i!==1||o!==1)do if(i--,o--,0>o||r[i]!==a[o]){var c=`
`+r[i].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=i&&0<=o);break}}}finally{Vl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?aa(e):""}function F1(e){switch(e.tag){case 5:return aa(e.type);case 16:return aa("Lazy");case 13:return aa("Suspense");case 19:return aa("SuspenseList");case 0:case 2:case 15:return e=Hl(e.type,!1),e;case 11:return e=Hl(e.type.render,!1),e;case 1:return e=Hl(e.type,!0),e;default:return""}}function Wc(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 $s:return"Fragment";case Ws:return"Portal";case Vc:return"Profiler";case Du:return"StrictMode";case Hc:return"Suspense";case Bc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Py:return(e.displayName||"Context")+".Consumer";case by:return(e._context.displayName||"Context")+".Provider";case Iu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lu:return t=e.displayName||null,t!==null?t:Wc(e.type)||"Memo";case jn:t=e._payload,e=e._init;try{return Wc(e(t))}catch{}}return null}function _1(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 Wc(t);case 8:return t===Du?"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 ky(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function V1(e){var t=ky(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),s=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var r=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(i){s=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return s},setValue:function(i){s=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function wi(e){e._valueTracker||(e._valueTracker=V1(e))}function jy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),s="";return e&&(s=ky(e)?e.checked?"true":"false":e.value),e=s,e!==n?(t.setValue(e),!0):!1}function yo(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 $c(e,t){var n=t.checked;return le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Lp(e,t){var n=t.defaultValue==null?"":t.defaultValue,s=t.checked!=null?t.checked:t.defaultChecked;n=Gn(t.value!=null?t.value:n),e._wrapperState={initialChecked:s,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Cy(e,t){t=t.checked,t!=null&&Mu(e,"checked",t,!1)}function Uc(e,t){Cy(e,t);var n=Gn(t.value),s=t.type;if(n!=null)s==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(s==="submit"||s==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?qc(e,t.type,n):t.hasOwnProperty("defaultValue")&&qc(e,t.type,Gn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Op(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var s=t.type;if(!(s!=="submit"&&s!=="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 qc(e,t,n){(t!=="number"||yo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ia=Array.isArray;function rr(e,t,n,s){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&s&&(e[n].defaultSelected=!0)}else{for(n=""+Gn(n),t=null,r=0;r<e.length;r++){if(e[r].value===n){e[r].selected=!0,s&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function Kc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(A(91));return le({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function zp(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(A(92));if(ia(n)){if(1<n.length)throw Error(A(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Gn(n)}}function Ey(e,t){var n=Gn(t.value),s=Gn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),s!=null&&(e.defaultValue=""+s)}function Fp(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ny(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 Gc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ny(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var bi,Ty=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,s,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n,s,r)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(bi=bi||document.createElement("div"),bi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=bi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ca(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var da={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},H1=["Webkit","ms","Moz","O"];Object.keys(da).forEach(function(e){H1.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),da[t]=da[e]})});function Ay(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||da.hasOwnProperty(e)&&da[e]?(""+t).trim():t+"px"}function Ry(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var s=n.indexOf("--")===0,r=Ay(n,t[n],s);n==="float"&&(n="cssFloat"),s?e.setProperty(n,r):e[n]=r}}var B1=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 Yc(e,t){if(t){if(B1[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(A(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(A(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(A(61))}if(t.style!=null&&typeof t.style!="object")throw Error(A(62))}}function Qc(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 Xc=null;function Ou(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Zc=null,ar=null,ir=null;function _p(e){if(e=ri(e)){if(typeof Zc!="function")throw Error(A(280));var t=e.stateNode;t&&(t=dl(t),Zc(e.stateNode,e.type,t))}}function My(e){ar?ir?ir.push(e):ir=[e]:ar=e}function Dy(){if(ar){var e=ar,t=ir;if(ir=ar=null,_p(e),t)for(e=0;e<t.length;e++)_p(t[e])}}function Iy(e,t){return e(t)}function Ly(){}var Bl=!1;function Oy(e,t,n){if(Bl)return e(t,n);Bl=!0;try{return Iy(e,t,n)}finally{Bl=!1,(ar!==null||ir!==null)&&(Ly(),Dy())}}function Ea(e,t){var n=e.stateNode;if(n===null)return null;var s=dl(n);if(s===null)return null;n=s[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":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(A(231,t,typeof n));return n}var Jc=!1;if(un)try{var Kr={};Object.defineProperty(Kr,"passive",{get:function(){Jc=!0}}),window.addEventListener("test",Kr,Kr),window.removeEventListener("test",Kr,Kr)}catch{Jc=!1}function W1(e,t,n,s,r,a,i,o,c){var d=Array.prototype.slice.call(arguments,3);try{t.apply(n,d)}catch(u){this.onError(u)}}var ua=!1,xo=null,vo=!1,ed=null,$1={onError:function(e){ua=!0,xo=e}};function U1(e,t,n,s,r,a,i,o,c){ua=!1,xo=null,W1.apply($1,arguments)}function q1(e,t,n,s,r,a,i,o,c){if(U1.apply(this,arguments),ua){if(ua){var d=xo;ua=!1,xo=null}else throw Error(A(198));vo||(vo=!0,ed=d)}}function Os(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 zy(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 Vp(e){if(Os(e)!==e)throw Error(A(188))}function K1(e){var t=e.alternate;if(!t){if(t=Os(e),t===null)throw Error(A(188));return t!==e?null:e}for(var n=e,s=t;;){var r=n.return;if(r===null)break;var a=r.alternate;if(a===null){if(s=r.return,s!==null){n=s;continue}break}if(r.child===a.child){for(a=r.child;a;){if(a===n)return Vp(r),e;if(a===s)return Vp(r),t;a=a.sibling}throw Error(A(188))}if(n.return!==s.return)n=r,s=a;else{for(var i=!1,o=r.child;o;){if(o===n){i=!0,n=r,s=a;break}if(o===s){i=!0,s=r,n=a;break}o=o.sibling}if(!i){for(o=a.child;o;){if(o===n){i=!0,n=a,s=r;break}if(o===s){i=!0,s=a,n=r;break}o=o.sibling}if(!i)throw Error(A(189))}}if(n.alternate!==s)throw Error(A(190))}if(n.tag!==3)throw Error(A(188));return n.stateNode.current===n?e:t}function Fy(e){return e=K1(e),e!==null?_y(e):null}function _y(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=_y(e);if(t!==null)return t;e=e.sibling}return null}var Vy=st.unstable_scheduleCallback,Hp=st.unstable_cancelCallback,G1=st.unstable_shouldYield,Y1=st.unstable_requestPaint,fe=st.unstable_now,Q1=st.unstable_getCurrentPriorityLevel,zu=st.unstable_ImmediatePriority,Hy=st.unstable_UserBlockingPriority,wo=st.unstable_NormalPriority,X1=st.unstable_LowPriority,By=st.unstable_IdlePriority,il=null,Ut=null;function Z1(e){if(Ut&&typeof Ut.onCommitFiberRoot=="function")try{Ut.onCommitFiberRoot(il,e,void 0,(e.current.flags&128)===128)}catch{}}var Et=Math.clz32?Math.clz32:tP,J1=Math.log,eP=Math.LN2;function tP(e){return e>>>=0,e===0?32:31-(J1(e)/eP|0)|0}var Pi=64,Si=4194304;function oa(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 bo(e,t){var n=e.pendingLanes;if(n===0)return 0;var s=0,r=e.suspendedLanes,a=e.pingedLanes,i=n&268435455;if(i!==0){var o=i&~r;o!==0?s=oa(o):(a&=i,a!==0&&(s=oa(a)))}else i=n&~r,i!==0?s=oa(i):a!==0&&(s=oa(a));if(s===0)return 0;if(t!==0&&t!==s&&!(t&r)&&(r=s&-s,a=t&-t,r>=a||r===16&&(a&4194240)!==0))return t;if(s&4&&(s|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=s;0<t;)n=31-Et(t),r=1<<n,s|=e[n],t&=~r;return s}function nP(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 sP(e,t){for(var n=e.suspendedLanes,s=e.pingedLanes,r=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-Et(a),o=1<<i,c=r[i];c===-1?(!(o&n)||o&s)&&(r[i]=nP(o,t)):c<=t&&(e.expiredLanes|=o),a&=~o}}function td(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Wy(){var e=Pi;return Pi<<=1,!(Pi&4194240)&&(Pi=64),e}function Wl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ni(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Et(t),e[t]=n}function rP(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 s=e.eventTimes;for(e=e.expirationTimes;0<n;){var r=31-Et(n),a=1<<r;t[r]=0,s[r]=-1,e[r]=-1,n&=~a}}function Fu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var s=31-Et(n),r=1<<s;r&t|e[s]&t&&(e[s]|=t),n&=~r}}var Z=0;function $y(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Uy,_u,qy,Ky,Gy,nd=!1,ki=[],_n=null,Vn=null,Hn=null,Na=new Map,Ta=new Map,En=[],aP="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Bp(e,t){switch(e){case"focusin":case"focusout":_n=null;break;case"dragenter":case"dragleave":Vn=null;break;case"mouseover":case"mouseout":Hn=null;break;case"pointerover":case"pointerout":Na.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ta.delete(t.pointerId)}}function Gr(e,t,n,s,r,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:s,nativeEvent:a,targetContainers:[r]},t!==null&&(t=ri(t),t!==null&&_u(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function iP(e,t,n,s,r){switch(t){case"focusin":return _n=Gr(_n,e,t,n,s,r),!0;case"dragenter":return Vn=Gr(Vn,e,t,n,s,r),!0;case"mouseover":return Hn=Gr(Hn,e,t,n,s,r),!0;case"pointerover":var a=r.pointerId;return Na.set(a,Gr(Na.get(a)||null,e,t,n,s,r)),!0;case"gotpointercapture":return a=r.pointerId,Ta.set(a,Gr(Ta.get(a)||null,e,t,n,s,r)),!0}return!1}function Yy(e){var t=us(e.target);if(t!==null){var n=Os(t);if(n!==null){if(t=n.tag,t===13){if(t=zy(n),t!==null){e.blockedOn=t,Gy(e.priority,function(){qy(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 Gi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=sd(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var s=new n.constructor(n.type,n);Xc=s,n.target.dispatchEvent(s),Xc=null}else return t=ri(n),t!==null&&_u(t),e.blockedOn=n,!1;t.shift()}return!0}function Wp(e,t,n){Gi(e)&&n.delete(t)}function oP(){nd=!1,_n!==null&&Gi(_n)&&(_n=null),Vn!==null&&Gi(Vn)&&(Vn=null),Hn!==null&&Gi(Hn)&&(Hn=null),Na.forEach(Wp),Ta.forEach(Wp)}function Yr(e,t){e.blockedOn===t&&(e.blockedOn=null,nd||(nd=!0,st.unstable_scheduleCallback(st.unstable_NormalPriority,oP)))}function Aa(e){function t(r){return Yr(r,e)}if(0<ki.length){Yr(ki[0],e);for(var n=1;n<ki.length;n++){var s=ki[n];s.blockedOn===e&&(s.blockedOn=null)}}for(_n!==null&&Yr(_n,e),Vn!==null&&Yr(Vn,e),Hn!==null&&Yr(Hn,e),Na.forEach(t),Ta.forEach(t),n=0;n<En.length;n++)s=En[n],s.blockedOn===e&&(s.blockedOn=null);for(;0<En.length&&(n=En[0],n.blockedOn===null);)Yy(n),n.blockedOn===null&&En.shift()}var or=yn.ReactCurrentBatchConfig,Po=!0;function lP(e,t,n,s){var r=Z,a=or.transition;or.transition=null;try{Z=1,Vu(e,t,n,s)}finally{Z=r,or.transition=a}}function cP(e,t,n,s){var r=Z,a=or.transition;or.transition=null;try{Z=4,Vu(e,t,n,s)}finally{Z=r,or.transition=a}}function Vu(e,t,n,s){if(Po){var r=sd(e,t,n,s);if(r===null)Jl(e,t,s,So,n),Bp(e,s);else if(iP(r,e,t,n,s))s.stopPropagation();else if(Bp(e,s),t&4&&-1<aP.indexOf(e)){for(;r!==null;){var a=ri(r);if(a!==null&&Uy(a),a=sd(e,t,n,s),a===null&&Jl(e,t,s,So,n),a===r)break;r=a}r!==null&&s.stopPropagation()}else Jl(e,t,s,null,n)}}var So=null;function sd(e,t,n,s){if(So=null,e=Ou(s),e=us(e),e!==null)if(t=Os(e),t===null)e=null;else if(n=t.tag,n===13){if(e=zy(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 So=e,null}function Qy(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(Q1()){case zu:return 1;case Hy:return 4;case wo:case X1:return 16;case By:return 536870912;default:return 16}default:return 16}}var Ln=null,Hu=null,Yi=null;function Xy(){if(Yi)return Yi;var e,t=Hu,n=t.length,s,r="value"in Ln?Ln.value:Ln.textContent,a=r.length;for(e=0;e<n&&t[e]===r[e];e++);var i=n-e;for(s=1;s<=i&&t[n-s]===r[a-s];s++);return Yi=r.slice(e,1<s?1-s:void 0)}function Qi(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 ji(){return!0}function $p(){return!1}function at(e){function t(n,s,r,a,i){this._reactName=n,this._targetInst=r,this.type=s,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)?ji:$p,this.isPropagationStopped=$p,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=ji)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ji)},persist:function(){},isPersistent:ji}),t}var Lr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bu=at(Lr),si=le({},Lr,{view:0,detail:0}),dP=at(si),$l,Ul,Qr,ol=le({},si,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wu,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!==Qr&&(Qr&&e.type==="mousemove"?($l=e.screenX-Qr.screenX,Ul=e.screenY-Qr.screenY):Ul=$l=0,Qr=e),$l)},movementY:function(e){return"movementY"in e?e.movementY:Ul}}),Up=at(ol),uP=le({},ol,{dataTransfer:0}),fP=at(uP),pP=le({},si,{relatedTarget:0}),ql=at(pP),hP=le({},Lr,{animationName:0,elapsedTime:0,pseudoElement:0}),mP=at(hP),gP=le({},Lr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yP=at(gP),xP=le({},Lr,{data:0}),qp=at(xP),vP={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wP={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"},bP={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function PP(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=bP[e])?!!t[e]:!1}function Wu(){return PP}var SP=le({},si,{key:function(e){if(e.key){var t=vP[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Qi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?wP[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wu,charCode:function(e){return e.type==="keypress"?Qi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Qi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),kP=at(SP),jP=le({},ol,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Kp=at(jP),CP=le({},si,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wu}),EP=at(CP),NP=le({},Lr,{propertyName:0,elapsedTime:0,pseudoElement:0}),TP=at(NP),AP=le({},ol,{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}),RP=at(AP),MP=[9,13,27,32],$u=un&&"CompositionEvent"in window,fa=null;un&&"documentMode"in document&&(fa=document.documentMode);var DP=un&&"TextEvent"in window&&!fa,Zy=un&&(!$u||fa&&8<fa&&11>=fa),Gp=" ",Yp=!1;function Jy(e,t){switch(e){case"keyup":return MP.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ex(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Us=!1;function IP(e,t){switch(e){case"compositionend":return ex(t);case"keypress":return t.which!==32?null:(Yp=!0,Gp);case"textInput":return e=t.data,e===Gp&&Yp?null:e;default:return null}}function LP(e,t){if(Us)return e==="compositionend"||!$u&&Jy(e,t)?(e=Xy(),Yi=Hu=Ln=null,Us=!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 Zy&&t.locale!=="ko"?null:t.data;default:return null}}var OP={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Qp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!OP[e.type]:t==="textarea"}function tx(e,t,n,s){My(s),t=ko(t,"onChange"),0<t.length&&(n=new Bu("onChange","change",null,n,s),e.push({event:n,listeners:t}))}var pa=null,Ra=null;function zP(e){fx(e,0)}function ll(e){var t=Gs(e);if(jy(t))return e}function FP(e,t){if(e==="change")return t}var nx=!1;if(un){var Kl;if(un){var Gl="oninput"in document;if(!Gl){var Xp=document.createElement("div");Xp.setAttribute("oninput","return;"),Gl=typeof Xp.oninput=="function"}Kl=Gl}else Kl=!1;nx=Kl&&(!document.documentMode||9<document.documentMode)}function Zp(){pa&&(pa.detachEvent("onpropertychange",sx),Ra=pa=null)}function sx(e){if(e.propertyName==="value"&&ll(Ra)){var t=[];tx(t,Ra,e,Ou(e)),Oy(zP,t)}}function _P(e,t,n){e==="focusin"?(Zp(),pa=t,Ra=n,pa.attachEvent("onpropertychange",sx)):e==="focusout"&&Zp()}function VP(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ll(Ra)}function HP(e,t){if(e==="click")return ll(t)}function BP(e,t){if(e==="input"||e==="change")return ll(t)}function WP(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var At=typeof Object.is=="function"?Object.is:WP;function Ma(e,t){if(At(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),s=Object.keys(t);if(n.length!==s.length)return!1;for(s=0;s<n.length;s++){var r=n[s];if(!_c.call(t,r)||!At(e[r],t[r]))return!1}return!0}function Jp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function eh(e,t){var n=Jp(e);e=0;for(var s;n;){if(n.nodeType===3){if(s=e+n.textContent.length,e<=t&&s>=t)return{node:n,offset:t-e};e=s}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Jp(n)}}function rx(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?rx(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ax(){for(var e=window,t=yo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=yo(e.document)}return t}function Uu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function $P(e){var t=ax(),n=e.focusedElem,s=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&rx(n.ownerDocument.documentElement,n)){if(s!==null&&Uu(n)){if(t=s.start,e=s.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var r=n.textContent.length,a=Math.min(s.start,r);s=s.end===void 0?a:Math.min(s.end,r),!e.extend&&a>s&&(r=s,s=a,a=r),r=eh(n,a);var i=eh(n,s);r&&i&&(e.rangeCount!==1||e.anchorNode!==r.node||e.anchorOffset!==r.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(r.node,r.offset),e.removeAllRanges(),a>s?(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 UP=un&&"documentMode"in document&&11>=document.documentMode,qs=null,rd=null,ha=null,ad=!1;function th(e,t,n){var s=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ad||qs==null||qs!==yo(s)||(s=qs,"selectionStart"in s&&Uu(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),ha&&Ma(ha,s)||(ha=s,s=ko(rd,"onSelect"),0<s.length&&(t=new Bu("onSelect","select",null,t,n),e.push({event:t,listeners:s}),t.target=qs)))}function Ci(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ks={animationend:Ci("Animation","AnimationEnd"),animationiteration:Ci("Animation","AnimationIteration"),animationstart:Ci("Animation","AnimationStart"),transitionend:Ci("Transition","TransitionEnd")},Yl={},ix={};un&&(ix=document.createElement("div").style,"AnimationEvent"in window||(delete Ks.animationend.animation,delete Ks.animationiteration.animation,delete Ks.animationstart.animation),"TransitionEvent"in window||delete Ks.transitionend.transition);function cl(e){if(Yl[e])return Yl[e];if(!Ks[e])return e;var t=Ks[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ix)return Yl[e]=t[n];return e}var ox=cl("animationend"),lx=cl("animationiteration"),cx=cl("animationstart"),dx=cl("transitionend"),ux=new Map,nh="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 ns(e,t){ux.set(e,t),Ls(t,[e])}for(var Ql=0;Ql<nh.length;Ql++){var Xl=nh[Ql],qP=Xl.toLowerCase(),KP=Xl[0].toUpperCase()+Xl.slice(1);ns(qP,"on"+KP)}ns(ox,"onAnimationEnd");ns(lx,"onAnimationIteration");ns(cx,"onAnimationStart");ns("dblclick","onDoubleClick");ns("focusin","onFocus");ns("focusout","onBlur");ns(dx,"onTransitionEnd");Sr("onMouseEnter",["mouseout","mouseover"]);Sr("onMouseLeave",["mouseout","mouseover"]);Sr("onPointerEnter",["pointerout","pointerover"]);Sr("onPointerLeave",["pointerout","pointerover"]);Ls("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ls("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ls("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ls("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ls("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ls("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var la="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(" "),GP=new Set("cancel close invalid load scroll toggle".split(" ").concat(la));function sh(e,t,n){var s=e.type||"unknown-event";e.currentTarget=n,q1(s,t,void 0,e),e.currentTarget=null}function fx(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var s=e[n],r=s.event;s=s.listeners;e:{var a=void 0;if(t)for(var i=s.length-1;0<=i;i--){var o=s[i],c=o.instance,d=o.currentTarget;if(o=o.listener,c!==a&&r.isPropagationStopped())break e;sh(r,o,d),a=c}else for(i=0;i<s.length;i++){if(o=s[i],c=o.instance,d=o.currentTarget,o=o.listener,c!==a&&r.isPropagationStopped())break e;sh(r,o,d),a=c}}}if(vo)throw e=ed,vo=!1,ed=null,e}function se(e,t){var n=t[dd];n===void 0&&(n=t[dd]=new Set);var s=e+"__bubble";n.has(s)||(px(t,e,2,!1),n.add(s))}function Zl(e,t,n){var s=0;t&&(s|=4),px(n,e,s,t)}var Ei="_reactListening"+Math.random().toString(36).slice(2);function Da(e){if(!e[Ei]){e[Ei]=!0,wy.forEach(function(n){n!=="selectionchange"&&(GP.has(n)||Zl(n,!1,e),Zl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ei]||(t[Ei]=!0,Zl("selectionchange",!1,t))}}function px(e,t,n,s){switch(Qy(t)){case 1:var r=lP;break;case 4:r=cP;break;default:r=Vu}n=r.bind(null,t,n,e),r=void 0,!Jc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),s?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function Jl(e,t,n,s,r){var a=s;if(!(t&1)&&!(t&2)&&s!==null)e:for(;;){if(s===null)return;var i=s.tag;if(i===3||i===4){var o=s.stateNode.containerInfo;if(o===r||o.nodeType===8&&o.parentNode===r)break;if(i===4)for(i=s.return;i!==null;){var c=i.tag;if((c===3||c===4)&&(c=i.stateNode.containerInfo,c===r||c.nodeType===8&&c.parentNode===r))return;i=i.return}for(;o!==null;){if(i=us(o),i===null)return;if(c=i.tag,c===5||c===6){s=a=i;continue e}o=o.parentNode}}s=s.return}Oy(function(){var d=a,u=Ou(n),f=[];e:{var p=ux.get(e);if(p!==void 0){var h=Bu,y=e;switch(e){case"keypress":if(Qi(n)===0)break e;case"keydown":case"keyup":h=kP;break;case"focusin":y="focus",h=ql;break;case"focusout":y="blur",h=ql;break;case"beforeblur":case"afterblur":h=ql;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":h=Up;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=fP;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=EP;break;case ox:case lx:case cx:h=mP;break;case dx:h=TP;break;case"scroll":h=dP;break;case"wheel":h=RP;break;case"copy":case"cut":case"paste":h=yP;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=Kp}var v=(t&4)!==0,b=!v&&e==="scroll",g=v?p!==null?p+"Capture":null:p;v=[];for(var m=d,x;m!==null;){x=m;var P=x.stateNode;if(x.tag===5&&P!==null&&(x=P,g!==null&&(P=Ea(m,g),P!=null&&v.push(Ia(m,P,x)))),b)break;m=m.return}0<v.length&&(p=new h(p,y,null,n,u),f.push({event:p,listeners:v}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",p&&n!==Xc&&(y=n.relatedTarget||n.fromElement)&&(us(y)||y[fn]))break e;if((h||p)&&(p=u.window===u?u:(p=u.ownerDocument)?p.defaultView||p.parentWindow:window,h?(y=n.relatedTarget||n.toElement,h=d,y=y?us(y):null,y!==null&&(b=Os(y),y!==b||y.tag!==5&&y.tag!==6)&&(y=null)):(h=null,y=d),h!==y)){if(v=Up,P="onMouseLeave",g="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(v=Kp,P="onPointerLeave",g="onPointerEnter",m="pointer"),b=h==null?p:Gs(h),x=y==null?p:Gs(y),p=new v(P,m+"leave",h,n,u),p.target=b,p.relatedTarget=x,P=null,us(u)===d&&(v=new v(g,m+"enter",y,n,u),v.target=x,v.relatedTarget=b,P=v),b=P,h&&y)t:{for(v=h,g=y,m=0,x=v;x;x=Vs(x))m++;for(x=0,P=g;P;P=Vs(P))x++;for(;0<m-x;)v=Vs(v),m--;for(;0<x-m;)g=Vs(g),x--;for(;m--;){if(v===g||g!==null&&v===g.alternate)break t;v=Vs(v),g=Vs(g)}v=null}else v=null;h!==null&&rh(f,p,h,v,!1),y!==null&&b!==null&&rh(f,b,y,v,!0)}}e:{if(p=d?Gs(d):window,h=p.nodeName&&p.nodeName.toLowerCase(),h==="select"||h==="input"&&p.type==="file")var S=FP;else if(Qp(p))if(nx)S=BP;else{S=VP;var k=_P}else(h=p.nodeName)&&h.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(S=HP);if(S&&(S=S(e,d))){tx(f,S,n,u);break e}k&&k(e,p,d),e==="focusout"&&(k=p._wrapperState)&&k.controlled&&p.type==="number"&&qc(p,"number",p.value)}switch(k=d?Gs(d):window,e){case"focusin":(Qp(k)||k.contentEditable==="true")&&(qs=k,rd=d,ha=null);break;case"focusout":ha=rd=qs=null;break;case"mousedown":ad=!0;break;case"contextmenu":case"mouseup":case"dragend":ad=!1,th(f,n,u);break;case"selectionchange":if(UP)break;case"keydown":case"keyup":th(f,n,u)}var j;if($u)e:{switch(e){case"compositionstart":var C="onCompositionStart";break e;case"compositionend":C="onCompositionEnd";break e;case"compositionupdate":C="onCompositionUpdate";break e}C=void 0}else Us?Jy(e,n)&&(C="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(C="onCompositionStart");C&&(Zy&&n.locale!=="ko"&&(Us||C!=="onCompositionStart"?C==="onCompositionEnd"&&Us&&(j=Xy()):(Ln=u,Hu="value"in Ln?Ln.value:Ln.textContent,Us=!0)),k=ko(d,C),0<k.length&&(C=new qp(C,e,null,n,u),f.push({event:C,listeners:k}),j?C.data=j:(j=ex(n),j!==null&&(C.data=j)))),(j=DP?IP(e,n):LP(e,n))&&(d=ko(d,"onBeforeInput"),0<d.length&&(u=new qp("onBeforeInput","beforeinput",null,n,u),f.push({event:u,listeners:d}),u.data=j))}fx(f,t)})}function Ia(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ko(e,t){for(var n=t+"Capture",s=[];e!==null;){var r=e,a=r.stateNode;r.tag===5&&a!==null&&(r=a,a=Ea(e,n),a!=null&&s.unshift(Ia(e,a,r)),a=Ea(e,t),a!=null&&s.push(Ia(e,a,r))),e=e.return}return s}function Vs(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function rh(e,t,n,s,r){for(var a=t._reactName,i=[];n!==null&&n!==s;){var o=n,c=o.alternate,d=o.stateNode;if(c!==null&&c===s)break;o.tag===5&&d!==null&&(o=d,r?(c=Ea(n,a),c!=null&&i.unshift(Ia(n,c,o))):r||(c=Ea(n,a),c!=null&&i.push(Ia(n,c,o)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var YP=/\r\n?/g,QP=/\u0000|\uFFFD/g;function ah(e){return(typeof e=="string"?e:""+e).replace(YP,`
`).replace(QP,"")}function Ni(e,t,n){if(t=ah(t),ah(e)!==t&&n)throw Error(A(425))}function jo(){}var id=null,od=null;function ld(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 cd=typeof setTimeout=="function"?setTimeout:void 0,XP=typeof clearTimeout=="function"?clearTimeout:void 0,ih=typeof Promise=="function"?Promise:void 0,ZP=typeof queueMicrotask=="function"?queueMicrotask:typeof ih<"u"?function(e){return ih.resolve(null).then(e).catch(JP)}:cd;function JP(e){setTimeout(function(){throw e})}function ec(e,t){var n=t,s=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===8)if(n=r.data,n==="/$"){if(s===0){e.removeChild(r),Aa(t);return}s--}else n!=="$"&&n!=="$?"&&n!=="$!"||s++;n=r}while(n);Aa(t)}function Bn(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 oh(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 Or=Math.random().toString(36).slice(2),Bt="__reactFiber$"+Or,La="__reactProps$"+Or,fn="__reactContainer$"+Or,dd="__reactEvents$"+Or,eS="__reactListeners$"+Or,tS="__reactHandles$"+Or;function us(e){var t=e[Bt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fn]||n[Bt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=oh(e);e!==null;){if(n=e[Bt])return n;e=oh(e)}return t}e=n,n=e.parentNode}return null}function ri(e){return e=e[Bt]||e[fn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Gs(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(A(33))}function dl(e){return e[La]||null}var ud=[],Ys=-1;function ss(e){return{current:e}}function re(e){0>Ys||(e.current=ud[Ys],ud[Ys]=null,Ys--)}function te(e,t){Ys++,ud[Ys]=e.current,e.current=t}var Yn={},Le=ss(Yn),Ke=ss(!1),Es=Yn;function kr(e,t){var n=e.type.contextTypes;if(!n)return Yn;var s=e.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===t)return s.__reactInternalMemoizedMaskedChildContext;var r={},a;for(a in n)r[a]=t[a];return s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=r),r}function Ge(e){return e=e.childContextTypes,e!=null}function Co(){re(Ke),re(Le)}function lh(e,t,n){if(Le.current!==Yn)throw Error(A(168));te(Le,t),te(Ke,n)}function hx(e,t,n){var s=e.stateNode;if(t=t.childContextTypes,typeof s.getChildContext!="function")return n;s=s.getChildContext();for(var r in s)if(!(r in t))throw Error(A(108,_1(e)||"Unknown",r));return le({},n,s)}function Eo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yn,Es=Le.current,te(Le,e),te(Ke,Ke.current),!0}function ch(e,t,n){var s=e.stateNode;if(!s)throw Error(A(169));n?(e=hx(e,t,Es),s.__reactInternalMemoizedMergedChildContext=e,re(Ke),re(Le),te(Le,e)):re(Ke),te(Ke,n)}var rn=null,ul=!1,tc=!1;function mx(e){rn===null?rn=[e]:rn.push(e)}function nS(e){ul=!0,mx(e)}function rs(){if(!tc&&rn!==null){tc=!0;var e=0,t=Z;try{var n=rn;for(Z=1;e<n.length;e++){var s=n[e];do s=s(!0);while(s!==null)}rn=null,ul=!1}catch(r){throw rn!==null&&(rn=rn.slice(e+1)),Vy(zu,rs),r}finally{Z=t,tc=!1}}return null}var Qs=[],Xs=0,No=null,To=0,ct=[],dt=0,Ns=null,on=1,ln="";function ls(e,t){Qs[Xs++]=To,Qs[Xs++]=No,No=e,To=t}function gx(e,t,n){ct[dt++]=on,ct[dt++]=ln,ct[dt++]=Ns,Ns=e;var s=on;e=ln;var r=32-Et(s)-1;s&=~(1<<r),n+=1;var a=32-Et(t)+r;if(30<a){var i=r-r%5;a=(s&(1<<i)-1).toString(32),s>>=i,r-=i,on=1<<32-Et(t)+r|n<<r|s,ln=a+e}else on=1<<a|n<<r|s,ln=e}function qu(e){e.return!==null&&(ls(e,1),gx(e,1,0))}function Ku(e){for(;e===No;)No=Qs[--Xs],Qs[Xs]=null,To=Qs[--Xs],Qs[Xs]=null;for(;e===Ns;)Ns=ct[--dt],ct[dt]=null,ln=ct[--dt],ct[dt]=null,on=ct[--dt],ct[dt]=null}var et=null,Je=null,ae=!1,jt=null;function yx(e,t){var n=ut(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 dh(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,et=e,Je=Bn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,et=e,Je=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ns!==null?{id:on,overflow:ln}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=ut(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,et=e,Je=null,!0):!1;default:return!1}}function fd(e){return(e.mode&1)!==0&&(e.flags&128)===0}function pd(e){if(ae){var t=Je;if(t){var n=t;if(!dh(e,t)){if(fd(e))throw Error(A(418));t=Bn(n.nextSibling);var s=et;t&&dh(e,t)?yx(s,n):(e.flags=e.flags&-4097|2,ae=!1,et=e)}}else{if(fd(e))throw Error(A(418));e.flags=e.flags&-4097|2,ae=!1,et=e}}}function uh(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 uh(e),ae=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ld(e.type,e.memoizedProps)),t&&(t=Je)){if(fd(e))throw xx(),Error(A(418));for(;t;)yx(e,t),t=Bn(t.nextSibling)}if(uh(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(A(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Je=Bn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Je=null}}else Je=et?Bn(e.stateNode.nextSibling):null;return!0}function xx(){for(var e=Je;e;)e=Bn(e.nextSibling)}function jr(){Je=et=null,ae=!1}function Gu(e){jt===null?jt=[e]:jt.push(e)}var sS=yn.ReactCurrentBatchConfig;function Xr(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(A(309));var s=n.stateNode}if(!s)throw Error(A(147,e));var r=s,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(i){var o=r.refs;i===null?delete o[a]:o[a]=i},t._stringRef=a,t)}if(typeof e!="string")throw Error(A(284));if(!n._owner)throw Error(A(290,e))}return e}function Ai(e,t){throw e=Object.prototype.toString.call(t),Error(A(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function fh(e){var t=e._init;return t(e._payload)}function vx(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 s(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 r(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=lc(x,g.mode,P),m.return=g,m):(m=r(m,x),m.return=g,m)}function c(g,m,x,P){var S=x.type;return S===$s?u(g,m,x.props.children,P,x.key):m!==null&&(m.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===jn&&fh(S)===m.type)?(P=r(m,x.props),P.ref=Xr(g,m,x),P.return=g,P):(P=so(x.type,x.key,x.props,null,g.mode,P),P.ref=Xr(g,m,x),P.return=g,P)}function d(g,m,x,P){return m===null||m.tag!==4||m.stateNode.containerInfo!==x.containerInfo||m.stateNode.implementation!==x.implementation?(m=cc(x,g.mode,P),m.return=g,m):(m=r(m,x.children||[]),m.return=g,m)}function u(g,m,x,P,S){return m===null||m.tag!==7?(m=ks(x,g.mode,P,S),m.return=g,m):(m=r(m,x),m.return=g,m)}function f(g,m,x){if(typeof m=="string"&&m!==""||typeof m=="number")return m=lc(""+m,g.mode,x),m.return=g,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case vi:return x=so(m.type,m.key,m.props,null,g.mode,x),x.ref=Xr(g,null,m),x.return=g,x;case Ws:return m=cc(m,g.mode,x),m.return=g,m;case jn:var P=m._init;return f(g,P(m._payload),x)}if(ia(m)||qr(m))return m=ks(m,g.mode,x,null),m.return=g,m;Ai(g,m)}return null}function p(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 vi:return x.key===S?c(g,m,x,P):null;case Ws:return x.key===S?d(g,m,x,P):null;case jn:return S=x._init,p(g,m,S(x._payload),P)}if(ia(x)||qr(x))return S!==null?null:u(g,m,x,P,null);Ai(g,x)}return null}function h(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 vi:return g=g.get(P.key===null?x:P.key)||null,c(m,g,P,S);case Ws:return g=g.get(P.key===null?x:P.key)||null,d(m,g,P,S);case jn:var k=P._init;return h(g,m,x,k(P._payload),S)}if(ia(P)||qr(P))return g=g.get(x)||null,u(m,g,P,S,null);Ai(m,P)}return null}function y(g,m,x,P){for(var S=null,k=null,j=m,C=m=0,R=null;j!==null&&C<x.length;C++){j.index>C?(R=j,j=null):R=j.sibling;var T=p(g,j,x[C],P);if(T===null){j===null&&(j=R);break}e&&j&&T.alternate===null&&t(g,j),m=a(T,m,C),k===null?S=T:k.sibling=T,k=T,j=R}if(C===x.length)return n(g,j),ae&&ls(g,C),S;if(j===null){for(;C<x.length;C++)j=f(g,x[C],P),j!==null&&(m=a(j,m,C),k===null?S=j:k.sibling=j,k=j);return ae&&ls(g,C),S}for(j=s(g,j);C<x.length;C++)R=h(j,g,C,x[C],P),R!==null&&(e&&R.alternate!==null&&j.delete(R.key===null?C:R.key),m=a(R,m,C),k===null?S=R:k.sibling=R,k=R);return e&&j.forEach(function(O){return t(g,O)}),ae&&ls(g,C),S}function v(g,m,x,P){var S=qr(x);if(typeof S!="function")throw Error(A(150));if(x=S.call(x),x==null)throw Error(A(151));for(var k=S=null,j=m,C=m=0,R=null,T=x.next();j!==null&&!T.done;C++,T=x.next()){j.index>C?(R=j,j=null):R=j.sibling;var O=p(g,j,T.value,P);if(O===null){j===null&&(j=R);break}e&&j&&O.alternate===null&&t(g,j),m=a(O,m,C),k===null?S=O:k.sibling=O,k=O,j=R}if(T.done)return n(g,j),ae&&ls(g,C),S;if(j===null){for(;!T.done;C++,T=x.next())T=f(g,T.value,P),T!==null&&(m=a(T,m,C),k===null?S=T:k.sibling=T,k=T);return ae&&ls(g,C),S}for(j=s(g,j);!T.done;C++,T=x.next())T=h(j,g,C,T.value,P),T!==null&&(e&&T.alternate!==null&&j.delete(T.key===null?C:T.key),m=a(T,m,C),k===null?S=T:k.sibling=T,k=T);return e&&j.forEach(function(I){return t(g,I)}),ae&&ls(g,C),S}function b(g,m,x,P){if(typeof x=="object"&&x!==null&&x.type===$s&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case vi:e:{for(var S=x.key,k=m;k!==null;){if(k.key===S){if(S=x.type,S===$s){if(k.tag===7){n(g,k.sibling),m=r(k,x.props.children),m.return=g,g=m;break e}}else if(k.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===jn&&fh(S)===k.type){n(g,k.sibling),m=r(k,x.props),m.ref=Xr(g,k,x),m.return=g,g=m;break e}n(g,k);break}else t(g,k);k=k.sibling}x.type===$s?(m=ks(x.props.children,g.mode,P,x.key),m.return=g,g=m):(P=so(x.type,x.key,x.props,null,g.mode,P),P.ref=Xr(g,m,x),P.return=g,g=P)}return i(g);case Ws:e:{for(k=x.key;m!==null;){if(m.key===k)if(m.tag===4&&m.stateNode.containerInfo===x.containerInfo&&m.stateNode.implementation===x.implementation){n(g,m.sibling),m=r(m,x.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=cc(x,g.mode,P),m.return=g,g=m}return i(g);case jn:return k=x._init,b(g,m,k(x._payload),P)}if(ia(x))return y(g,m,x,P);if(qr(x))return v(g,m,x,P);Ai(g,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,m!==null&&m.tag===6?(n(g,m.sibling),m=r(m,x),m.return=g,g=m):(n(g,m),m=lc(x,g.mode,P),m.return=g,g=m),i(g)):n(g,m)}return b}var Cr=vx(!0),wx=vx(!1),Ao=ss(null),Ro=null,Zs=null,Yu=null;function Qu(){Yu=Zs=Ro=null}function Xu(e){var t=Ao.current;re(Ao),e._currentValue=t}function hd(e,t,n){for(;e!==null;){var s=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,s!==null&&(s.childLanes|=t)):s!==null&&(s.childLanes&t)!==t&&(s.childLanes|=t),e===n)break;e=e.return}}function lr(e,t){Ro=e,Yu=Zs=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ue=!0),e.firstContext=null)}function mt(e){var t=e._currentValue;if(Yu!==e)if(e={context:e,memoizedValue:t,next:null},Zs===null){if(Ro===null)throw Error(A(308));Zs=e,Ro.dependencies={lanes:0,firstContext:e}}else Zs=Zs.next=e;return t}var fs=null;function Zu(e){fs===null?fs=[e]:fs.push(e)}function bx(e,t,n,s){var r=t.interleaved;return r===null?(n.next=n,Zu(t)):(n.next=r.next,r.next=n),t.interleaved=n,pn(e,s)}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 Cn=!1;function Ju(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 cn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Wn(e,t,n){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,Y&2){var r=s.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),s.pending=t,pn(e,n)}return r=s.interleaved,r===null?(t.next=t,Zu(s)):(t.next=r.next,r.next=t),s.interleaved=t,pn(e,n)}function Xi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var s=t.lanes;s&=e.pendingLanes,n|=s,t.lanes=n,Fu(e,n)}}function ph(e,t){var n=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,n===s)){var r=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?r=a=i:a=a.next=i,n=n.next}while(n!==null);a===null?r=a=t:a=a.next=t}else r=a=t;n={baseState:s.baseState,firstBaseUpdate:r,lastBaseUpdate:a,shared:s.shared,effects:s.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Mo(e,t,n,s){var r=e.updateQueue;Cn=!1;var a=r.firstBaseUpdate,i=r.lastBaseUpdate,o=r.shared.pending;if(o!==null){r.shared.pending=null;var c=o,d=c.next;c.next=null,i===null?a=d:i.next=d,i=c;var u=e.alternate;u!==null&&(u=u.updateQueue,o=u.lastBaseUpdate,o!==i&&(o===null?u.firstBaseUpdate=d:o.next=d,u.lastBaseUpdate=c))}if(a!==null){var f=r.baseState;i=0,u=d=c=null,o=a;do{var p=o.lane,h=o.eventTime;if((s&p)===p){u!==null&&(u=u.next={eventTime:h,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var y=e,v=o;switch(p=t,h=n,v.tag){case 1:if(y=v.payload,typeof y=="function"){f=y.call(h,f,p);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=v.payload,p=typeof y=="function"?y.call(h,f,p):y,p==null)break e;f=le({},f,p);break e;case 2:Cn=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,p=r.effects,p===null?r.effects=[o]:p.push(o))}else h={eventTime:h,lane:p,tag:o.tag,payload:o.payload,callback:o.callback,next:null},u===null?(d=u=h,c=f):u=u.next=h,i|=p;if(o=o.next,o===null){if(o=r.shared.pending,o===null)break;p=o,o=p.next,p.next=null,r.lastBaseUpdate=p,r.shared.pending=null}}while(!0);if(u===null&&(c=f),r.baseState=c,r.firstBaseUpdate=d,r.lastBaseUpdate=u,t=r.shared.interleaved,t!==null){r=t;do i|=r.lane,r=r.next;while(r!==t)}else a===null&&(r.shared.lanes=0);As|=i,e.lanes=i,e.memoizedState=f}}function hh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var s=e[t],r=s.callback;if(r!==null){if(s.callback=null,s=n,typeof r!="function")throw Error(A(191,r));r.call(s)}}}var ai={},qt=ss(ai),Oa=ss(ai),za=ss(ai);function ps(e){if(e===ai)throw Error(A(174));return e}function ef(e,t){switch(te(za,t),te(Oa,e),te(qt,ai),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Gc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Gc(t,e)}re(qt),te(qt,t)}function Er(){re(qt),re(Oa),re(za)}function Sx(e){ps(za.current);var t=ps(qt.current),n=Gc(t,e.type);t!==n&&(te(Oa,e),te(qt,n))}function tf(e){Oa.current===e&&(re(qt),re(Oa))}var ie=ss(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 nc=[];function nf(){for(var e=0;e<nc.length;e++)nc[e]._workInProgressVersionPrimary=null;nc.length=0}var Zi=yn.ReactCurrentDispatcher,sc=yn.ReactCurrentBatchConfig,Ts=0,oe=null,ye=null,be=null,Io=!1,ma=!1,Fa=0,rS=0;function Ae(){throw Error(A(321))}function sf(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!At(e[n],t[n]))return!1;return!0}function rf(e,t,n,s,r,a){if(Ts=a,oe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Zi.current=e===null||e.memoizedState===null?lS:cS,e=n(s,r),ma){a=0;do{if(ma=!1,Fa=0,25<=a)throw Error(A(301));a+=1,be=ye=null,t.updateQueue=null,Zi.current=dS,e=n(s,r)}while(ma)}if(Zi.current=Lo,t=ye!==null&&ye.next!==null,Ts=0,be=ye=oe=null,Io=!1,t)throw Error(A(300));return e}function af(){var e=Fa!==0;return Fa=0,e}function Ot(){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(A(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 _a(e,t){return typeof t=="function"?t(e):t}function rc(e){var t=gt(),n=t.queue;if(n===null)throw Error(A(311));n.lastRenderedReducer=e;var s=ye,r=s.baseQueue,a=n.pending;if(a!==null){if(r!==null){var i=r.next;r.next=a.next,a.next=i}s.baseQueue=r=a,n.pending=null}if(r!==null){a=r.next,s=s.baseState;var o=i=null,c=null,d=a;do{var u=d.lane;if((Ts&u)===u)c!==null&&(c=c.next={lane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),s=d.hasEagerState?d.eagerState:e(s,d.action);else{var f={lane:u,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};c===null?(o=c=f,i=s):c=c.next=f,oe.lanes|=u,As|=u}d=d.next}while(d!==null&&d!==a);c===null?i=s:c.next=o,At(s,t.memoizedState)||(Ue=!0),t.memoizedState=s,t.baseState=i,t.baseQueue=c,n.lastRenderedState=s}if(e=n.interleaved,e!==null){r=e;do a=r.lane,oe.lanes|=a,As|=a,r=r.next;while(r!==e)}else r===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ac(e){var t=gt(),n=t.queue;if(n===null)throw Error(A(311));n.lastRenderedReducer=e;var s=n.dispatch,r=n.pending,a=t.memoizedState;if(r!==null){n.pending=null;var i=r=r.next;do a=e(a,i.action),i=i.next;while(i!==r);At(a,t.memoizedState)||(Ue=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,s]}function kx(){}function jx(e,t){var n=oe,s=gt(),r=t(),a=!At(s.memoizedState,r);if(a&&(s.memoizedState=r,Ue=!0),s=s.queue,of(Nx.bind(null,n,s,e),[e]),s.getSnapshot!==t||a||be!==null&&be.memoizedState.tag&1){if(n.flags|=2048,Va(9,Ex.bind(null,n,s,r,t),void 0,null),Pe===null)throw Error(A(349));Ts&30||Cx(n,t,r)}return r}function Cx(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 Ex(e,t,n,s){t.value=n,t.getSnapshot=s,Tx(t)&&Ax(e)}function Nx(e,t,n){return n(function(){Tx(t)&&Ax(e)})}function Tx(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!At(e,n)}catch{return!0}}function Ax(e){var t=pn(e,1);t!==null&&Nt(t,e,1,-1)}function mh(e){var t=Ot();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_a,lastRenderedState:e},t.queue=e,e=e.dispatch=oS.bind(null,oe,e),[t.memoizedState,e]}function Va(e,t,n,s){return e={tag:e,create:t,destroy:n,deps:s,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:(s=n.next,n.next=e,e.next=s,t.lastEffect=e)),e}function Rx(){return gt().memoizedState}function Ji(e,t,n,s){var r=Ot();oe.flags|=e,r.memoizedState=Va(1|t,n,void 0,s===void 0?null:s)}function fl(e,t,n,s){var r=gt();s=s===void 0?null:s;var a=void 0;if(ye!==null){var i=ye.memoizedState;if(a=i.destroy,s!==null&&sf(s,i.deps)){r.memoizedState=Va(t,n,a,s);return}}oe.flags|=e,r.memoizedState=Va(1|t,n,a,s)}function gh(e,t){return Ji(8390656,8,e,t)}function of(e,t){return fl(2048,8,e,t)}function Mx(e,t){return fl(4,2,e,t)}function Dx(e,t){return fl(4,4,e,t)}function Ix(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 Lx(e,t,n){return n=n!=null?n.concat([e]):null,fl(4,4,Ix.bind(null,t,e),n)}function lf(){}function Ox(e,t){var n=gt();t=t===void 0?null:t;var s=n.memoizedState;return s!==null&&t!==null&&sf(t,s[1])?s[0]:(n.memoizedState=[e,t],e)}function zx(e,t){var n=gt();t=t===void 0?null:t;var s=n.memoizedState;return s!==null&&t!==null&&sf(t,s[1])?s[0]:(e=e(),n.memoizedState=[e,t],e)}function Fx(e,t,n){return Ts&21?(At(n,t)||(n=Wy(),oe.lanes|=n,As|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ue=!0),e.memoizedState=n)}function aS(e,t){var n=Z;Z=n!==0&&4>n?n:4,e(!0);var s=sc.transition;sc.transition={};try{e(!1),t()}finally{Z=n,sc.transition=s}}function _x(){return gt().memoizedState}function iS(e,t,n){var s=Un(e);if(n={lane:s,action:n,hasEagerState:!1,eagerState:null,next:null},Vx(e))Hx(t,n);else if(n=bx(e,t,n,s),n!==null){var r=Ve();Nt(n,e,s,r),Bx(n,t,s)}}function oS(e,t,n){var s=Un(e),r={lane:s,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vx(e))Hx(t,r);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(r.hasEagerState=!0,r.eagerState=o,At(o,i)){var c=t.interleaved;c===null?(r.next=r,Zu(t)):(r.next=c.next,c.next=r),t.interleaved=r;return}}catch{}finally{}n=bx(e,t,r,s),n!==null&&(r=Ve(),Nt(n,e,s,r),Bx(n,t,s))}}function Vx(e){var t=e.alternate;return e===oe||t!==null&&t===oe}function Hx(e,t){ma=Io=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Bx(e,t,n){if(n&4194240){var s=t.lanes;s&=e.pendingLanes,n|=s,t.lanes=n,Fu(e,n)}}var Lo={readContext:mt,useCallback:Ae,useContext:Ae,useEffect:Ae,useImperativeHandle:Ae,useInsertionEffect:Ae,useLayoutEffect:Ae,useMemo:Ae,useReducer:Ae,useRef:Ae,useState:Ae,useDebugValue:Ae,useDeferredValue:Ae,useTransition:Ae,useMutableSource:Ae,useSyncExternalStore:Ae,useId:Ae,unstable_isNewReconciler:!1},lS={readContext:mt,useCallback:function(e,t){return Ot().memoizedState=[e,t===void 0?null:t],e},useContext:mt,useEffect:gh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ji(4194308,4,Ix.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ji(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ji(4,2,e,t)},useMemo:function(e,t){var n=Ot();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var s=Ot();return t=n!==void 0?n(t):t,s.memoizedState=s.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},s.queue=e,e=e.dispatch=iS.bind(null,oe,e),[s.memoizedState,e]},useRef:function(e){var t=Ot();return e={current:e},t.memoizedState=e},useState:mh,useDebugValue:lf,useDeferredValue:function(e){return Ot().memoizedState=e},useTransition:function(){var e=mh(!1),t=e[0];return e=aS.bind(null,e[1]),Ot().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var s=oe,r=Ot();if(ae){if(n===void 0)throw Error(A(407));n=n()}else{if(n=t(),Pe===null)throw Error(A(349));Ts&30||Cx(s,t,n)}r.memoizedState=n;var a={value:n,getSnapshot:t};return r.queue=a,gh(Nx.bind(null,s,a,e),[e]),s.flags|=2048,Va(9,Ex.bind(null,s,a,n,t),void 0,null),n},useId:function(){var e=Ot(),t=Pe.identifierPrefix;if(ae){var n=ln,s=on;n=(s&~(1<<32-Et(s)-1)).toString(32)+n,t=":"+t+"R"+n,n=Fa++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=rS++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},cS={readContext:mt,useCallback:Ox,useContext:mt,useEffect:of,useImperativeHandle:Lx,useInsertionEffect:Mx,useLayoutEffect:Dx,useMemo:zx,useReducer:rc,useRef:Rx,useState:function(){return rc(_a)},useDebugValue:lf,useDeferredValue:function(e){var t=gt();return Fx(t,ye.memoizedState,e)},useTransition:function(){var e=rc(_a)[0],t=gt().memoizedState;return[e,t]},useMutableSource:kx,useSyncExternalStore:jx,useId:_x,unstable_isNewReconciler:!1},dS={readContext:mt,useCallback:Ox,useContext:mt,useEffect:of,useImperativeHandle:Lx,useInsertionEffect:Mx,useLayoutEffect:Dx,useMemo:zx,useReducer:ac,useRef:Rx,useState:function(){return ac(_a)},useDebugValue:lf,useDeferredValue:function(e){var t=gt();return ye===null?t.memoizedState=e:Fx(t,ye.memoizedState,e)},useTransition:function(){var e=ac(_a)[0],t=gt().memoizedState;return[e,t]},useMutableSource:kx,useSyncExternalStore:jx,useId:_x,unstable_isNewReconciler:!1};function bt(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 md(e,t,n,s){t=e.memoizedState,n=n(s,t),n=n==null?t:le({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var pl={isMounted:function(e){return(e=e._reactInternals)?Os(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var s=Ve(),r=Un(e),a=cn(s,r);a.payload=t,n!=null&&(a.callback=n),t=Wn(e,a,r),t!==null&&(Nt(t,e,r,s),Xi(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var s=Ve(),r=Un(e),a=cn(s,r);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=Wn(e,a,r),t!==null&&(Nt(t,e,r,s),Xi(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ve(),s=Un(e),r=cn(n,s);r.tag=2,t!=null&&(r.callback=t),t=Wn(e,r,s),t!==null&&(Nt(t,e,s,n),Xi(t,e,s))}};function yh(e,t,n,s,r,a,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,a,i):t.prototype&&t.prototype.isPureReactComponent?!Ma(n,s)||!Ma(r,a):!0}function Wx(e,t,n){var s=!1,r=Yn,a=t.contextType;return typeof a=="object"&&a!==null?a=mt(a):(r=Ge(t)?Es:Le.current,s=t.contextTypes,a=(s=s!=null)?kr(e,r):Yn),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=pl,e.stateNode=t,t._reactInternals=e,s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=a),t}function xh(e,t,n,s){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,s),t.state!==e&&pl.enqueueReplaceState(t,t.state,null)}function gd(e,t,n,s){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},Ju(e);var a=t.contextType;typeof a=="object"&&a!==null?r.context=mt(a):(a=Ge(t)?Es:Le.current,r.context=kr(e,a)),r.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(md(e,t,a,n),r.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(t=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),t!==r.state&&pl.enqueueReplaceState(r,r.state,null),Mo(e,n,r,s),r.state=e.memoizedState),typeof r.componentDidMount=="function"&&(e.flags|=4194308)}function Nr(e,t){try{var n="",s=t;do n+=F1(s),s=s.return;while(s);var r=n}catch(a){r=`
Error generating stack: `+a.message+`
`+a.stack}return{value:e,source:t,stack:r,digest:null}}function ic(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function yd(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var uS=typeof WeakMap=="function"?WeakMap:Map;function $x(e,t,n){n=cn(-1,n),n.tag=3,n.payload={element:null};var s=t.value;return n.callback=function(){zo||(zo=!0,Ed=s),yd(e,t)},n}function Ux(e,t,n){n=cn(-1,n),n.tag=3;var s=e.type.getDerivedStateFromError;if(typeof s=="function"){var r=t.value;n.payload=function(){return s(r)},n.callback=function(){yd(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){yd(e,t),typeof s!="function"&&($n===null?$n=new Set([this]):$n.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function vh(e,t,n){var s=e.pingCache;if(s===null){s=e.pingCache=new uS;var r=new Set;s.set(t,r)}else r=s.get(t),r===void 0&&(r=new Set,s.set(t,r));r.has(n)||(r.add(n),e=jS.bind(null,e,t,n),t.then(e,e))}function wh(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 bh(e,t,n,s,r){return e.mode&1?(e.flags|=65536,e.lanes=r,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=cn(-1,1),t.tag=2,Wn(n,t,1))),n.lanes|=1),e)}var fS=yn.ReactCurrentOwner,Ue=!1;function Oe(e,t,n,s){t.child=e===null?wx(t,null,n,s):Cr(t,e.child,n,s)}function Ph(e,t,n,s,r){n=n.render;var a=t.ref;return lr(t,r),s=rf(e,t,n,s,a,r),n=af(),e!==null&&!Ue?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,hn(e,t,r)):(ae&&n&&qu(t),t.flags|=1,Oe(e,t,s,r),t.child)}function Sh(e,t,n,s,r){if(e===null){var a=n.type;return typeof a=="function"&&!gf(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,qx(e,t,a,s,r)):(e=so(n.type,null,s,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&r)){var i=a.memoizedProps;if(n=n.compare,n=n!==null?n:Ma,n(i,s)&&e.ref===t.ref)return hn(e,t,r)}return t.flags|=1,e=qn(a,s),e.ref=t.ref,e.return=t,t.child=e}function qx(e,t,n,s,r){if(e!==null){var a=e.memoizedProps;if(Ma(a,s)&&e.ref===t.ref)if(Ue=!1,t.pendingProps=s=a,(e.lanes&r)!==0)e.flags&131072&&(Ue=!0);else return t.lanes=e.lanes,hn(e,t,r)}return xd(e,t,n,s,r)}function Kx(e,t,n){var s=t.pendingProps,r=s.children,a=e!==null?e.memoizedState:null;if(s.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},te(er,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(er,Qe),Qe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},s=a!==null?a.baseLanes:n,te(er,Qe),Qe|=s}else a!==null?(s=a.baseLanes|n,t.memoizedState=null):s=n,te(er,Qe),Qe|=s;return Oe(e,t,r,n),t.child}function Gx(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function xd(e,t,n,s,r){var a=Ge(n)?Es:Le.current;return a=kr(t,a),lr(t,r),n=rf(e,t,n,s,a,r),s=af(),e!==null&&!Ue?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,hn(e,t,r)):(ae&&s&&qu(t),t.flags|=1,Oe(e,t,n,r),t.child)}function kh(e,t,n,s,r){if(Ge(n)){var a=!0;Eo(t)}else a=!1;if(lr(t,r),t.stateNode===null)eo(e,t),Wx(t,n,s),gd(t,n,s,r),s=!0;else if(e===null){var i=t.stateNode,o=t.memoizedProps;i.props=o;var c=i.context,d=n.contextType;typeof d=="object"&&d!==null?d=mt(d):(d=Ge(n)?Es:Le.current,d=kr(t,d));var u=n.getDerivedStateFromProps,f=typeof u=="function"||typeof i.getSnapshotBeforeUpdate=="function";f||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==s||c!==d)&&xh(t,i,s,d),Cn=!1;var p=t.memoizedState;i.state=p,Mo(t,s,i,r),c=t.memoizedState,o!==s||p!==c||Ke.current||Cn?(typeof u=="function"&&(md(t,n,u,s),c=t.memoizedState),(o=Cn||yh(t,n,o,s,p,c,d))?(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=s,t.memoizedState=c),i.props=s,i.state=c,i.context=d,s=o):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),s=!1)}else{i=t.stateNode,Px(e,t),o=t.memoizedProps,d=t.type===t.elementType?o:bt(t.type,o),i.props=d,f=t.pendingProps,p=i.context,c=n.contextType,typeof c=="object"&&c!==null?c=mt(c):(c=Ge(n)?Es:Le.current,c=kr(t,c));var h=n.getDerivedStateFromProps;(u=typeof h=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==f||p!==c)&&xh(t,i,s,c),Cn=!1,p=t.memoizedState,i.state=p,Mo(t,s,i,r);var y=t.memoizedState;o!==f||p!==y||Ke.current||Cn?(typeof h=="function"&&(md(t,n,h,s),y=t.memoizedState),(d=Cn||yh(t,n,d,s,p,y,c)||!1)?(u||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(s,y,c),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(s,y,c)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=y),i.props=s,i.state=y,i.context=c,s=d):(typeof i.componentDidUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),s=!1)}return vd(e,t,n,s,a,r)}function vd(e,t,n,s,r,a){Gx(e,t);var i=(t.flags&128)!==0;if(!s&&!i)return r&&ch(t,n,!1),hn(e,t,a);s=t.stateNode,fS.current=t;var o=i&&typeof n.getDerivedStateFromError!="function"?null:s.render();return t.flags|=1,e!==null&&i?(t.child=Cr(t,e.child,null,a),t.child=Cr(t,null,o,a)):Oe(e,t,o,a),t.memoizedState=s.state,r&&ch(t,n,!0),t.child}function Yx(e){var t=e.stateNode;t.pendingContext?lh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&lh(e,t.context,!1),ef(e,t.containerInfo)}function jh(e,t,n,s,r){return jr(),Gu(r),t.flags|=256,Oe(e,t,n,s),t.child}var wd={dehydrated:null,treeContext:null,retryLane:0};function bd(e){return{baseLanes:e,cachePool:null,transitions:null}}function Qx(e,t,n){var s=t.pendingProps,r=ie.current,a=!1,i=(t.flags&128)!==0,o;if((o=i)||(o=e!==null&&e.memoizedState===null?!1:(r&2)!==0),o?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(r|=1),te(ie,r&1),e===null)return pd(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=s.children,e=s.fallback,a?(s=t.mode,a=t.child,i={mode:"hidden",children:i},!(s&1)&&a!==null?(a.childLanes=0,a.pendingProps=i):a=gl(i,s,0,null),e=ks(e,s,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=bd(n),t.memoizedState=wd,e):cf(t,i));if(r=e.memoizedState,r!==null&&(o=r.dehydrated,o!==null))return pS(e,t,i,s,o,r,n);if(a){a=s.fallback,i=t.mode,r=e.child,o=r.sibling;var c={mode:"hidden",children:s.children};return!(i&1)&&t.child!==r?(s=t.child,s.childLanes=0,s.pendingProps=c,t.deletions=null):(s=qn(r,c),s.subtreeFlags=r.subtreeFlags&14680064),o!==null?a=qn(o,a):(a=ks(a,i,n,null),a.flags|=2),a.return=t,s.return=t,s.sibling=a,t.child=s,s=a,a=t.child,i=e.child.memoizedState,i=i===null?bd(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},a.memoizedState=i,a.childLanes=e.childLanes&~n,t.memoizedState=wd,s}return a=e.child,e=a.sibling,s=qn(a,{mode:"visible",children:s.children}),!(t.mode&1)&&(s.lanes=n),s.return=t,s.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=s,t.memoizedState=null,s}function cf(e,t){return t=gl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ri(e,t,n,s){return s!==null&&Gu(s),Cr(t,e.child,null,n),e=cf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function pS(e,t,n,s,r,a,i){if(n)return t.flags&256?(t.flags&=-257,s=ic(Error(A(422))),Ri(e,t,i,s)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=s.fallback,r=t.mode,s=gl({mode:"visible",children:s.children},r,0,null),a=ks(a,r,i,null),a.flags|=2,s.return=t,a.return=t,s.sibling=a,t.child=s,t.mode&1&&Cr(t,e.child,null,i),t.child.memoizedState=bd(i),t.memoizedState=wd,a);if(!(t.mode&1))return Ri(e,t,i,null);if(r.data==="$!"){if(s=r.nextSibling&&r.nextSibling.dataset,s)var o=s.dgst;return s=o,a=Error(A(419)),s=ic(a,s,void 0),Ri(e,t,i,s)}if(o=(i&e.childLanes)!==0,Ue||o){if(s=Pe,s!==null){switch(i&-i){case 4:r=2;break;case 16:r=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:r=32;break;case 536870912:r=268435456;break;default:r=0}r=r&(s.suspendedLanes|i)?0:r,r!==0&&r!==a.retryLane&&(a.retryLane=r,pn(e,r),Nt(s,e,r,-1))}return mf(),s=ic(Error(A(421))),Ri(e,t,i,s)}return r.data==="$?"?(t.flags|=128,t.child=e.child,t=CS.bind(null,e),r._reactRetry=t,null):(e=a.treeContext,Je=Bn(r.nextSibling),et=t,ae=!0,jt=null,e!==null&&(ct[dt++]=on,ct[dt++]=ln,ct[dt++]=Ns,on=e.id,ln=e.overflow,Ns=t),t=cf(t,s.children),t.flags|=4096,t)}function Ch(e,t,n){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),hd(e.return,t,n)}function oc(e,t,n,s,r){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:n,tailMode:r}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=s,a.tail=n,a.tailMode=r)}function Xx(e,t,n){var s=t.pendingProps,r=s.revealOrder,a=s.tail;if(Oe(e,t,s.children,n),s=ie.current,s&2)s=s&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&&Ch(e,n,t);else if(e.tag===19)Ch(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}s&=1}if(te(ie,s),!(t.mode&1))t.memoizedState=null;else switch(r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&Do(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),oc(t,!1,r,n,a);break;case"backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&Do(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}oc(t,!0,n,null,a);break;case"together":oc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function eo(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function hn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),As|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(A(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 hS(e,t,n){switch(t.tag){case 3:Yx(t),jr();break;case 5:Sx(t);break;case 1:Ge(t.type)&&Eo(t);break;case 4:ef(t,t.stateNode.containerInfo);break;case 10:var s=t.type._context,r=t.memoizedProps.value;te(Ao,s._currentValue),s._currentValue=r;break;case 13:if(s=t.memoizedState,s!==null)return s.dehydrated!==null?(te(ie,ie.current&1),t.flags|=128,null):n&t.child.childLanes?Qx(e,t,n):(te(ie,ie.current&1),e=hn(e,t,n),e!==null?e.sibling:null);te(ie,ie.current&1);break;case 19:if(s=(n&t.childLanes)!==0,e.flags&128){if(s)return Xx(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),te(ie,ie.current),s)break;return null;case 22:case 23:return t.lanes=0,Kx(e,t,n)}return hn(e,t,n)}var Zx,Pd,Jx,ev;Zx=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}};Pd=function(){};Jx=function(e,t,n,s){var r=e.memoizedProps;if(r!==s){e=t.stateNode,ps(qt.current);var a=null;switch(n){case"input":r=$c(e,r),s=$c(e,s),a=[];break;case"select":r=le({},r,{value:void 0}),s=le({},s,{value:void 0}),a=[];break;case"textarea":r=Kc(e,r),s=Kc(e,s),a=[];break;default:typeof r.onClick!="function"&&typeof s.onClick=="function"&&(e.onclick=jo)}Yc(n,s);var i;n=null;for(d in r)if(!s.hasOwnProperty(d)&&r.hasOwnProperty(d)&&r[d]!=null)if(d==="style"){var o=r[d];for(i in o)o.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(ja.hasOwnProperty(d)?a||(a=[]):(a=a||[]).push(d,null));for(d in s){var c=s[d];if(o=r!=null?r[d]:void 0,s.hasOwnProperty(d)&&c!==o&&(c!=null||o!=null))if(d==="style")if(o){for(i in o)!o.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&o[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(a||(a=[]),a.push(d,n)),n=c;else d==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,o=o?o.__html:void 0,c!=null&&o!==c&&(a=a||[]).push(d,c)):d==="children"?typeof c!="string"&&typeof c!="number"||(a=a||[]).push(d,""+c):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(ja.hasOwnProperty(d)?(c!=null&&d==="onScroll"&&se("scroll",e),a||o===c||(a=[])):(a=a||[]).push(d,c))}n&&(a=a||[]).push("style",n);var d=a;(t.updateQueue=d)&&(t.flags|=4)}};ev=function(e,t,n,s){n!==s&&(t.flags|=4)};function Zr(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 s=null;n!==null;)n.alternate!==null&&(s=n),n=n.sibling;s===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function Re(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,s=0;if(t)for(var r=e.child;r!==null;)n|=r.lanes|r.childLanes,s|=r.subtreeFlags&14680064,s|=r.flags&14680064,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,s|=r.subtreeFlags,s|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=s,e.childLanes=n,t}function mS(e,t,n){var s=t.pendingProps;switch(Ku(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 s=t.stateNode,Er(),re(Ke),re(Le),nf(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&(Ti(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,jt!==null&&(Ad(jt),jt=null))),Pd(e,t),Re(t),null;case 5:tf(t);var r=ps(za.current);if(n=t.type,e!==null&&t.stateNode!=null)Jx(e,t,n,s,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!s){if(t.stateNode===null)throw Error(A(166));return Re(t),null}if(e=ps(qt.current),Ti(t)){s=t.stateNode,n=t.type;var a=t.memoizedProps;switch(s[Bt]=t,s[La]=a,e=(t.mode&1)!==0,n){case"dialog":se("cancel",s),se("close",s);break;case"iframe":case"object":case"embed":se("load",s);break;case"video":case"audio":for(r=0;r<la.length;r++)se(la[r],s);break;case"source":se("error",s);break;case"img":case"image":case"link":se("error",s),se("load",s);break;case"details":se("toggle",s);break;case"input":Lp(s,a),se("invalid",s);break;case"select":s._wrapperState={wasMultiple:!!a.multiple},se("invalid",s);break;case"textarea":zp(s,a),se("invalid",s)}Yc(n,a),r=null;for(var i in a)if(a.hasOwnProperty(i)){var o=a[i];i==="children"?typeof o=="string"?s.textContent!==o&&(a.suppressHydrationWarning!==!0&&Ni(s.textContent,o,e),r=["children",o]):typeof o=="number"&&s.textContent!==""+o&&(a.suppressHydrationWarning!==!0&&Ni(s.textContent,o,e),r=["children",""+o]):ja.hasOwnProperty(i)&&o!=null&&i==="onScroll"&&se("scroll",s)}switch(n){case"input":wi(s),Op(s,a,!0);break;case"textarea":wi(s),Fp(s);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(s.onclick=jo)}s=r,t.updateQueue=s,s!==null&&(t.flags|=4)}else{i=r.nodeType===9?r:r.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Ny(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof s.is=="string"?e=i.createElement(n,{is:s.is}):(e=i.createElement(n),n==="select"&&(i=e,s.multiple?i.multiple=!0:s.size&&(i.size=s.size))):e=i.createElementNS(e,n),e[Bt]=t,e[La]=s,Zx(e,t,!1,!1),t.stateNode=e;e:{switch(i=Qc(n,s),n){case"dialog":se("cancel",e),se("close",e),r=s;break;case"iframe":case"object":case"embed":se("load",e),r=s;break;case"video":case"audio":for(r=0;r<la.length;r++)se(la[r],e);r=s;break;case"source":se("error",e),r=s;break;case"img":case"image":case"link":se("error",e),se("load",e),r=s;break;case"details":se("toggle",e),r=s;break;case"input":Lp(e,s),r=$c(e,s),se("invalid",e);break;case"option":r=s;break;case"select":e._wrapperState={wasMultiple:!!s.multiple},r=le({},s,{value:void 0}),se("invalid",e);break;case"textarea":zp(e,s),r=Kc(e,s),se("invalid",e);break;default:r=s}Yc(n,r),o=r;for(a in o)if(o.hasOwnProperty(a)){var c=o[a];a==="style"?Ry(e,c):a==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&Ty(e,c)):a==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Ca(e,c):typeof c=="number"&&Ca(e,""+c):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(ja.hasOwnProperty(a)?c!=null&&a==="onScroll"&&se("scroll",e):c!=null&&Mu(e,a,c,i))}switch(n){case"input":wi(e),Op(e,s,!1);break;case"textarea":wi(e),Fp(e);break;case"option":s.value!=null&&e.setAttribute("value",""+Gn(s.value));break;case"select":e.multiple=!!s.multiple,a=s.value,a!=null?rr(e,!!s.multiple,a,!1):s.defaultValue!=null&&rr(e,!!s.multiple,s.defaultValue,!0);break;default:typeof r.onClick=="function"&&(e.onclick=jo)}switch(n){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}}s&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Re(t),null;case 6:if(e&&t.stateNode!=null)ev(e,t,e.memoizedProps,s);else{if(typeof s!="string"&&t.stateNode===null)throw Error(A(166));if(n=ps(za.current),ps(qt.current),Ti(t)){if(s=t.stateNode,n=t.memoizedProps,s[Bt]=t,(a=s.nodeValue!==n)&&(e=et,e!==null))switch(e.tag){case 3:Ni(s.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ni(s.nodeValue,n,(e.mode&1)!==0)}a&&(t.flags|=4)}else s=(n.nodeType===9?n:n.ownerDocument).createTextNode(s),s[Bt]=t,t.stateNode=s}return Re(t),null;case 13:if(re(ie),s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ae&&Je!==null&&t.mode&1&&!(t.flags&128))xx(),jr(),t.flags|=98560,a=!1;else if(a=Ti(t),s!==null&&s.dehydrated!==null){if(e===null){if(!a)throw Error(A(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(A(317));a[Bt]=t}else jr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Re(t),a=!1}else jt!==null&&(Ad(jt),jt=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(s=s!==null,s!==(e!==null&&e.memoizedState!==null)&&s&&(t.child.flags|=8192,t.mode&1&&(e===null||ie.current&1?ve===0&&(ve=3):mf())),t.updateQueue!==null&&(t.flags|=4),Re(t),null);case 4:return Er(),Pd(e,t),e===null&&Da(t.stateNode.containerInfo),Re(t),null;case 10:return Xu(t.type._context),Re(t),null;case 17:return Ge(t.type)&&Co(),Re(t),null;case 19:if(re(ie),a=t.memoizedState,a===null)return Re(t),null;if(s=(t.flags&128)!==0,i=a.rendering,i===null)if(s)Zr(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,Zr(a,!1),s=i.updateQueue,s!==null&&(t.updateQueue=s,t.flags|=4),t.subtreeFlags=0,s=n,n=t.child;n!==null;)a=n,e=s,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()>Tr&&(t.flags|=128,s=!0,Zr(a,!1),t.lanes=4194304)}else{if(!s)if(e=Do(i),e!==null){if(t.flags|=128,s=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Zr(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!ae)return Re(t),null}else 2*fe()-a.renderingStartTime>Tr&&n!==1073741824&&(t.flags|=128,s=!0,Zr(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,s?n&1|2:n&1),t):(Re(t),null);case 22:case 23:return hf(),s=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==s&&(t.flags|=8192),s&&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(A(156,t.tag))}function gS(e,t){switch(Ku(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 Er(),re(Ke),re(Le),nf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return tf(t),null;case 13:if(re(ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(A(340));jr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return re(ie),null;case 4:return Er(),null;case 10:return Xu(t.type._context),null;case 22:case 23:return hf(),null;case 24:return null;default:return null}}var Mi=!1,Ie=!1,yS=typeof WeakSet=="function"?WeakSet:Set,L=null;function Js(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(s){ue(e,t,s)}else n.current=null}function Sd(e,t,n){try{n()}catch(s){ue(e,t,s)}}var Eh=!1;function xS(e,t){if(id=Po,e=ax(),Uu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var s=n.getSelection&&n.getSelection();if(s&&s.rangeCount!==0){n=s.anchorNode;var r=s.anchorOffset,a=s.focusNode;s=s.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var i=0,o=-1,c=-1,d=0,u=0,f=e,p=null;t:for(;;){for(var h;f!==n||r!==0&&f.nodeType!==3||(o=i+r),f!==a||s!==0&&f.nodeType!==3||(c=i+s),f.nodeType===3&&(i+=f.nodeValue.length),(h=f.firstChild)!==null;)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++d===r&&(o=i),p===a&&++u===s&&(c=i),(h=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=h}n=o===-1||c===-1?null:{start:o,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(od={focusedElem:e,selectionRange:n},Po=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;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:bt(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(A(163))}}catch(P){ue(t,t.return,P)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return y=Eh,Eh=!1,y}function ga(e,t,n){var s=t.updateQueue;if(s=s!==null?s.lastEffect:null,s!==null){var r=s=s.next;do{if((r.tag&e)===e){var a=r.destroy;r.destroy=void 0,a!==void 0&&Sd(t,n,a)}r=r.next}while(r!==s)}}function hl(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 s=n.create;n.destroy=s()}n=n.next}while(n!==t)}}function kd(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 tv(e){var t=e.alternate;t!==null&&(e.alternate=null,tv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Bt],delete t[La],delete t[dd],delete t[eS],delete t[tS])),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 nv(e){return e.tag===5||e.tag===3||e.tag===4}function Nh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||nv(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 jd(e,t,n){var s=e.tag;if(s===5||s===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=jo));else if(s!==4&&(e=e.child,e!==null))for(jd(e,t,n),e=e.sibling;e!==null;)jd(e,t,n),e=e.sibling}function Cd(e,t,n){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(s!==4&&(e=e.child,e!==null))for(Cd(e,t,n),e=e.sibling;e!==null;)Cd(e,t,n),e=e.sibling}var je=null,kt=!1;function wn(e,t,n){for(n=n.child;n!==null;)sv(e,t,n),n=n.sibling}function sv(e,t,n){if(Ut&&typeof Ut.onCommitFiberUnmount=="function")try{Ut.onCommitFiberUnmount(il,n)}catch{}switch(n.tag){case 5:Ie||Js(n,t);case 6:var s=je,r=kt;je=null,wn(e,t,n),je=s,kt=r,je!==null&&(kt?(e=je,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):je.removeChild(n.stateNode));break;case 18:je!==null&&(kt?(e=je,n=n.stateNode,e.nodeType===8?ec(e.parentNode,n):e.nodeType===1&&ec(e,n),Aa(e)):ec(je,n.stateNode));break;case 4:s=je,r=kt,je=n.stateNode.containerInfo,kt=!0,wn(e,t,n),je=s,kt=r;break;case 0:case 11:case 14:case 15:if(!Ie&&(s=n.updateQueue,s!==null&&(s=s.lastEffect,s!==null))){r=s=s.next;do{var a=r,i=a.destroy;a=a.tag,i!==void 0&&(a&2||a&4)&&Sd(n,t,i),r=r.next}while(r!==s)}wn(e,t,n);break;case 1:if(!Ie&&(Js(n,t),s=n.stateNode,typeof s.componentWillUnmount=="function"))try{s.props=n.memoizedProps,s.state=n.memoizedState,s.componentWillUnmount()}catch(o){ue(n,t,o)}wn(e,t,n);break;case 21:wn(e,t,n);break;case 22:n.mode&1?(Ie=(s=Ie)||n.memoizedState!==null,wn(e,t,n),Ie=s):wn(e,t,n);break;default:wn(e,t,n)}}function Th(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new yS),t.forEach(function(s){var r=ES.bind(null,e,s);n.has(s)||(n.add(s),s.then(r,r))})}}function xt(e,t){var n=t.deletions;if(n!==null)for(var s=0;s<n.length;s++){var r=n[s];try{var a=e,i=t,o=i;e:for(;o!==null;){switch(o.tag){case 5:je=o.stateNode,kt=!1;break e;case 3:je=o.stateNode.containerInfo,kt=!0;break e;case 4:je=o.stateNode.containerInfo,kt=!0;break e}o=o.return}if(je===null)throw Error(A(160));sv(a,i,r),je=null,kt=!1;var c=r.alternate;c!==null&&(c.return=null),r.return=null}catch(d){ue(r,t,d)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)rv(t,e),t=t.sibling}function rv(e,t){var n=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(xt(t,e),Lt(e),s&4){try{ga(3,e,e.return),hl(3,e)}catch(v){ue(e,e.return,v)}try{ga(5,e,e.return)}catch(v){ue(e,e.return,v)}}break;case 1:xt(t,e),Lt(e),s&512&&n!==null&&Js(n,n.return);break;case 5:if(xt(t,e),Lt(e),s&512&&n!==null&&Js(n,n.return),e.flags&32){var r=e.stateNode;try{Ca(r,"")}catch(v){ue(e,e.return,v)}}if(s&4&&(r=e.stateNode,r!=null)){var a=e.memoizedProps,i=n!==null?n.memoizedProps:a,o=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{o==="input"&&a.type==="radio"&&a.name!=null&&Cy(r,a),Qc(o,i);var d=Qc(o,a);for(i=0;i<c.length;i+=2){var u=c[i],f=c[i+1];u==="style"?Ry(r,f):u==="dangerouslySetInnerHTML"?Ty(r,f):u==="children"?Ca(r,f):Mu(r,u,f,d)}switch(o){case"input":Uc(r,a);break;case"textarea":Ey(r,a);break;case"select":var p=r._wrapperState.wasMultiple;r._wrapperState.wasMultiple=!!a.multiple;var h=a.value;h!=null?rr(r,!!a.multiple,h,!1):p!==!!a.multiple&&(a.defaultValue!=null?rr(r,!!a.multiple,a.defaultValue,!0):rr(r,!!a.multiple,a.multiple?[]:"",!1))}r[La]=a}catch(v){ue(e,e.return,v)}}break;case 6:if(xt(t,e),Lt(e),s&4){if(e.stateNode===null)throw Error(A(162));r=e.stateNode,a=e.memoizedProps;try{r.nodeValue=a}catch(v){ue(e,e.return,v)}}break;case 3:if(xt(t,e),Lt(e),s&4&&n!==null&&n.memoizedState.isDehydrated)try{Aa(t.containerInfo)}catch(v){ue(e,e.return,v)}break;case 4:xt(t,e),Lt(e);break;case 13:xt(t,e),Lt(e),r=e.child,r.flags&8192&&(a=r.memoizedState!==null,r.stateNode.isHidden=a,!a||r.alternate!==null&&r.alternate.memoizedState!==null||(ff=fe())),s&4&&Th(e);break;case 22:if(u=n!==null&&n.memoizedState!==null,e.mode&1?(Ie=(d=Ie)||u,xt(t,e),Ie=d):xt(t,e),Lt(e),s&8192){if(d=e.memoizedState!==null,(e.stateNode.isHidden=d)&&!u&&e.mode&1)for(L=e,u=e.child;u!==null;){for(f=L=u;L!==null;){switch(p=L,h=p.child,p.tag){case 0:case 11:case 14:case 15:ga(4,p,p.return);break;case 1:Js(p,p.return);var y=p.stateNode;if(typeof y.componentWillUnmount=="function"){s=p,n=p.return;try{t=s,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(v){ue(s,n,v)}}break;case 5:Js(p,p.return);break;case 22:if(p.memoizedState!==null){Rh(f);continue}}h!==null?(h.return=p,L=h):Rh(f)}u=u.sibling}e:for(u=null,f=e;;){if(f.tag===5){if(u===null){u=f;try{r=f.stateNode,d?(a=r.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(o=f.stateNode,c=f.memoizedProps.style,i=c!=null&&c.hasOwnProperty("display")?c.display:null,o.style.display=Ay("display",i))}catch(v){ue(e,e.return,v)}}}else if(f.tag===6){if(u===null)try{f.stateNode.nodeValue=d?"":f.memoizedProps}catch(v){ue(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;u===f&&(u=null),f=f.return}u===f&&(u=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:xt(t,e),Lt(e),s&4&&Th(e);break;case 21:break;default:xt(t,e),Lt(e)}}function Lt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(nv(n)){var s=n;break e}n=n.return}throw Error(A(160))}switch(s.tag){case 5:var r=s.stateNode;s.flags&32&&(Ca(r,""),s.flags&=-33);var a=Nh(e);Cd(e,a,r);break;case 3:case 4:var i=s.stateNode.containerInfo,o=Nh(e);jd(e,o,i);break;default:throw Error(A(161))}}catch(c){ue(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function vS(e,t,n){L=e,av(e)}function av(e,t,n){for(var s=(e.mode&1)!==0;L!==null;){var r=L,a=r.child;if(r.tag===22&&s){var i=r.memoizedState!==null||Mi;if(!i){var o=r.alternate,c=o!==null&&o.memoizedState!==null||Ie;o=Mi;var d=Ie;if(Mi=i,(Ie=c)&&!d)for(L=r;L!==null;)i=L,c=i.child,i.tag===22&&i.memoizedState!==null?Mh(r):c!==null?(c.return=i,L=c):Mh(r);for(;a!==null;)L=a,av(a),a=a.sibling;L=r,Mi=o,Ie=d}Ah(e)}else r.subtreeFlags&8772&&a!==null?(a.return=r,L=a):Ah(e)}}function Ah(e){for(;L!==null;){var t=L;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ie||hl(5,t);break;case 1:var s=t.stateNode;if(t.flags&4&&!Ie)if(n===null)s.componentDidMount();else{var r=t.elementType===t.type?n.memoizedProps:bt(t.type,n.memoizedProps);s.componentDidUpdate(r,n.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&hh(t,a,s);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}hh(t,i,n)}break;case 5:var o=t.stateNode;if(n===null&&t.flags&4){n=o;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var d=t.alternate;if(d!==null){var u=d.memoizedState;if(u!==null){var f=u.dehydrated;f!==null&&Aa(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(A(163))}Ie||t.flags&512&&kd(t)}catch(p){ue(t,t.return,p)}}if(t===e){L=null;break}if(n=t.sibling,n!==null){n.return=t.return,L=n;break}L=t.return}}function Rh(e){for(;L!==null;){var t=L;if(t===e){L=null;break}var n=t.sibling;if(n!==null){n.return=t.return,L=n;break}L=t.return}}function Mh(e){for(;L!==null;){var t=L;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{hl(4,t)}catch(c){ue(t,n,c)}break;case 1:var s=t.stateNode;if(typeof s.componentDidMount=="function"){var r=t.return;try{s.componentDidMount()}catch(c){ue(t,r,c)}}var a=t.return;try{kd(t)}catch(c){ue(t,a,c)}break;case 5:var i=t.return;try{kd(t)}catch(c){ue(t,i,c)}}}catch(c){ue(t,t.return,c)}if(t===e){L=null;break}var o=t.sibling;if(o!==null){o.return=t.return,L=o;break}L=t.return}}var wS=Math.ceil,Oo=yn.ReactCurrentDispatcher,df=yn.ReactCurrentOwner,pt=yn.ReactCurrentBatchConfig,Y=0,Pe=null,he=null,Ne=0,Qe=0,er=ss(0),ve=0,Ha=null,As=0,ml=0,uf=0,ya=null,$e=null,ff=0,Tr=1/0,sn=null,zo=!1,Ed=null,$n=null,Di=!1,On=null,Fo=0,xa=0,Nd=null,to=-1,no=0;function Ve(){return Y&6?fe():to!==-1?to:to=fe()}function Un(e){return e.mode&1?Y&2&&Ne!==0?Ne&-Ne:sS.transition!==null?(no===0&&(no=Wy()),no):(e=Z,e!==0||(e=window.event,e=e===void 0?16:Qy(e.type)),e):1}function Nt(e,t,n,s){if(50<xa)throw xa=0,Nd=null,Error(A(185));ni(e,n,s),(!(Y&2)||e!==Pe)&&(e===Pe&&(!(Y&2)&&(ml|=n),ve===4&&Nn(e,Ne)),Ye(e,s),n===1&&Y===0&&!(t.mode&1)&&(Tr=fe()+500,ul&&rs()))}function Ye(e,t){var n=e.callbackNode;sP(e,t);var s=bo(e,e===Pe?Ne:0);if(s===0)n!==null&&Hp(n),e.callbackNode=null,e.callbackPriority=0;else if(t=s&-s,e.callbackPriority!==t){if(n!=null&&Hp(n),t===1)e.tag===0?nS(Dh.bind(null,e)):mx(Dh.bind(null,e)),ZP(function(){!(Y&6)&&rs()}),n=null;else{switch($y(s)){case 1:n=zu;break;case 4:n=Hy;break;case 16:n=wo;break;case 536870912:n=By;break;default:n=wo}n=pv(n,iv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function iv(e,t){if(to=-1,no=0,Y&6)throw Error(A(327));var n=e.callbackNode;if(cr()&&e.callbackNode!==n)return null;var s=bo(e,e===Pe?Ne:0);if(s===0)return null;if(s&30||s&e.expiredLanes||t)t=_o(e,s);else{t=s;var r=Y;Y|=2;var a=lv();(Pe!==e||Ne!==t)&&(sn=null,Tr=fe()+500,Ss(e,t));do try{SS();break}catch(o){ov(e,o)}while(!0);Qu(),Oo.current=a,Y=r,he!==null?t=0:(Pe=null,Ne=0,t=ve)}if(t!==0){if(t===2&&(r=td(e),r!==0&&(s=r,t=Td(e,r))),t===1)throw n=Ha,Ss(e,0),Nn(e,s),Ye(e,fe()),n;if(t===6)Nn(e,s);else{if(r=e.current.alternate,!(s&30)&&!bS(r)&&(t=_o(e,s),t===2&&(a=td(e),a!==0&&(s=a,t=Td(e,a))),t===1))throw n=Ha,Ss(e,0),Nn(e,s),Ye(e,fe()),n;switch(e.finishedWork=r,e.finishedLanes=s,t){case 0:case 1:throw Error(A(345));case 2:cs(e,$e,sn);break;case 3:if(Nn(e,s),(s&130023424)===s&&(t=ff+500-fe(),10<t)){if(bo(e,0)!==0)break;if(r=e.suspendedLanes,(r&s)!==s){Ve(),e.pingedLanes|=e.suspendedLanes&r;break}e.timeoutHandle=cd(cs.bind(null,e,$e,sn),t);break}cs(e,$e,sn);break;case 4:if(Nn(e,s),(s&4194240)===s)break;for(t=e.eventTimes,r=-1;0<s;){var i=31-Et(s);a=1<<i,i=t[i],i>r&&(r=i),s&=~a}if(s=r,s=fe()-s,s=(120>s?120:480>s?480:1080>s?1080:1920>s?1920:3e3>s?3e3:4320>s?4320:1960*wS(s/1960))-s,10<s){e.timeoutHandle=cd(cs.bind(null,e,$e,sn),s);break}cs(e,$e,sn);break;case 5:cs(e,$e,sn);break;default:throw Error(A(329))}}}return Ye(e,fe()),e.callbackNode===n?iv.bind(null,e):null}function Td(e,t){var n=ya;return e.current.memoizedState.isDehydrated&&(Ss(e,t).flags|=256),e=_o(e,t),e!==2&&(t=$e,$e=n,t!==null&&Ad(t)),e}function Ad(e){$e===null?$e=e:$e.push.apply($e,e)}function bS(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var s=0;s<n.length;s++){var r=n[s],a=r.getSnapshot;r=r.value;try{if(!At(a(),r))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Nn(e,t){for(t&=~uf,t&=~ml,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Et(t),s=1<<n;e[n]=-1,t&=~s}}function Dh(e){if(Y&6)throw Error(A(327));cr();var t=bo(e,0);if(!(t&1))return Ye(e,fe()),null;var n=_o(e,t);if(e.tag!==0&&n===2){var s=td(e);s!==0&&(t=s,n=Td(e,s))}if(n===1)throw n=Ha,Ss(e,0),Nn(e,t),Ye(e,fe()),n;if(n===6)throw Error(A(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,cs(e,$e,sn),Ye(e,fe()),null}function pf(e,t){var n=Y;Y|=1;try{return e(t)}finally{Y=n,Y===0&&(Tr=fe()+500,ul&&rs())}}function Rs(e){On!==null&&On.tag===0&&!(Y&6)&&cr();var t=Y;Y|=1;var n=pt.transition,s=Z;try{if(pt.transition=null,Z=1,e)return e()}finally{Z=s,pt.transition=n,Y=t,!(Y&6)&&rs()}}function hf(){Qe=er.current,re(er)}function Ss(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,XP(n)),he!==null)for(n=he.return;n!==null;){var s=n;switch(Ku(s),s.tag){case 1:s=s.type.childContextTypes,s!=null&&Co();break;case 3:Er(),re(Ke),re(Le),nf();break;case 5:tf(s);break;case 4:Er();break;case 13:re(ie);break;case 19:re(ie);break;case 10:Xu(s.type._context);break;case 22:case 23:hf()}n=n.return}if(Pe=e,he=e=qn(e.current,null),Ne=Qe=t,ve=0,Ha=null,uf=ml=As=0,$e=ya=null,fs!==null){for(t=0;t<fs.length;t++)if(n=fs[t],s=n.interleaved,s!==null){n.interleaved=null;var r=s.next,a=n.pending;if(a!==null){var i=a.next;a.next=r,s.next=i}n.pending=s}fs=null}return e}function ov(e,t){do{var n=he;try{if(Qu(),Zi.current=Lo,Io){for(var s=oe.memoizedState;s!==null;){var r=s.queue;r!==null&&(r.pending=null),s=s.next}Io=!1}if(Ts=0,be=ye=oe=null,ma=!1,Fa=0,df.current=null,n===null||n.return===null){ve=1,Ha=t,he=null;break}e:{var a=e,i=n.return,o=n,c=t;if(t=Ne,o.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var d=c,u=o,f=u.tag;if(!(u.mode&1)&&(f===0||f===11||f===15)){var p=u.alternate;p?(u.updateQueue=p.updateQueue,u.memoizedState=p.memoizedState,u.lanes=p.lanes):(u.updateQueue=null,u.memoizedState=null)}var h=wh(i);if(h!==null){h.flags&=-257,bh(h,i,o,a,t),h.mode&1&&vh(a,d,t),t=h,c=d;var y=t.updateQueue;if(y===null){var v=new Set;v.add(c),t.updateQueue=v}else y.add(c);break e}else{if(!(t&1)){vh(a,d,t),mf();break e}c=Error(A(426))}}else if(ae&&o.mode&1){var b=wh(i);if(b!==null){!(b.flags&65536)&&(b.flags|=256),bh(b,i,o,a,t),Gu(Nr(c,o));break e}}a=c=Nr(c,o),ve!==4&&(ve=2),ya===null?ya=[a]:ya.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var g=$x(a,c,t);ph(a,g);break e;case 1:o=c;var m=a.type,x=a.stateNode;if(!(a.flags&128)&&(typeof m.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&($n===null||!$n.has(x)))){a.flags|=65536,t&=-t,a.lanes|=t;var P=Ux(a,o,t);ph(a,P);break e}}a=a.return}while(a!==null)}dv(n)}catch(S){t=S,he===n&&n!==null&&(he=n=n.return);continue}break}while(!0)}function lv(){var e=Oo.current;return Oo.current=Lo,e===null?Lo:e}function mf(){(ve===0||ve===3||ve===2)&&(ve=4),Pe===null||!(As&268435455)&&!(ml&268435455)||Nn(Pe,Ne)}function _o(e,t){var n=Y;Y|=2;var s=lv();(Pe!==e||Ne!==t)&&(sn=null,Ss(e,t));do try{PS();break}catch(r){ov(e,r)}while(!0);if(Qu(),Y=n,Oo.current=s,he!==null)throw Error(A(261));return Pe=null,Ne=0,ve}function PS(){for(;he!==null;)cv(he)}function SS(){for(;he!==null&&!G1();)cv(he)}function cv(e){var t=fv(e.alternate,e,Qe);e.memoizedProps=e.pendingProps,t===null?dv(e):he=t,df.current=null}function dv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=gS(n,t),n!==null){n.flags&=32767,he=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ve=6,he=null;return}}else if(n=mS(n,t,Qe),n!==null){he=n;return}if(t=t.sibling,t!==null){he=t;return}he=t=e}while(t!==null);ve===0&&(ve=5)}function cs(e,t,n){var s=Z,r=pt.transition;try{pt.transition=null,Z=1,kS(e,t,n,s)}finally{pt.transition=r,Z=s}return null}function kS(e,t,n,s){do cr();while(On!==null);if(Y&6)throw Error(A(327));n=e.finishedWork;var r=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(A(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(rP(e,a),e===Pe&&(he=Pe=null,Ne=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Di||(Di=!0,pv(wo,function(){return cr(),null})),a=(n.flags&15990)!==0,n.subtreeFlags&15990||a){a=pt.transition,pt.transition=null;var i=Z;Z=1;var o=Y;Y|=4,df.current=null,xS(e,n),rv(n,e),$P(od),Po=!!id,od=id=null,e.current=n,vS(n),Y1(),Y=o,Z=i,pt.transition=a}else e.current=n;if(Di&&(Di=!1,On=e,Fo=r),a=e.pendingLanes,a===0&&($n=null),Z1(n.stateNode),Ye(e,fe()),t!==null)for(s=e.onRecoverableError,n=0;n<t.length;n++)r=t[n],s(r.value,{componentStack:r.stack,digest:r.digest});if(zo)throw zo=!1,e=Ed,Ed=null,e;return Fo&1&&e.tag!==0&&cr(),a=e.pendingLanes,a&1?e===Nd?xa++:(xa=0,Nd=e):xa=0,rs(),null}function cr(){if(On!==null){var e=$y(Fo),t=pt.transition,n=Z;try{if(pt.transition=null,Z=16>e?16:e,On===null)var s=!1;else{if(e=On,On=null,Fo=0,Y&6)throw Error(A(331));var r=Y;for(Y|=4,L=e.current;L!==null;){var a=L,i=a.child;if(L.flags&16){var o=a.deletions;if(o!==null){for(var c=0;c<o.length;c++){var d=o[c];for(L=d;L!==null;){var u=L;switch(u.tag){case 0:case 11:case 15:ga(8,u,a)}var f=u.child;if(f!==null)f.return=u,L=f;else for(;L!==null;){u=L;var p=u.sibling,h=u.return;if(tv(u),u===d){L=null;break}if(p!==null){p.return=h,L=p;break}L=h}}}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)}}L=a}}if(a.subtreeFlags&2064&&i!==null)i.return=a,L=i;else e:for(;L!==null;){if(a=L,a.flags&2048)switch(a.tag){case 0:case 11:case 15:ga(9,a,a.return)}var g=a.sibling;if(g!==null){g.return=a.return,L=g;break e}L=a.return}}var m=e.current;for(L=m;L!==null;){i=L;var x=i.child;if(i.subtreeFlags&2064&&x!==null)x.return=i,L=x;else e:for(i=m;L!==null;){if(o=L,o.flags&2048)try{switch(o.tag){case 0:case 11:case 15:hl(9,o)}}catch(S){ue(o,o.return,S)}if(o===i){L=null;break e}var P=o.sibling;if(P!==null){P.return=o.return,L=P;break e}L=o.return}}if(Y=r,rs(),Ut&&typeof Ut.onPostCommitFiberRoot=="function")try{Ut.onPostCommitFiberRoot(il,e)}catch{}s=!0}return s}finally{Z=n,pt.transition=t}}return!1}function Ih(e,t,n){t=Nr(n,t),t=$x(e,t,1),e=Wn(e,t,1),t=Ve(),e!==null&&(ni(e,1,t),Ye(e,t))}function ue(e,t,n){if(e.tag===3)Ih(e,e,n);else for(;t!==null;){if(t.tag===3){Ih(t,e,n);break}else if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&($n===null||!$n.has(s))){e=Nr(n,e),e=Ux(t,e,1),t=Wn(t,e,1),e=Ve(),t!==null&&(ni(t,1,e),Ye(t,e));break}}t=t.return}}function jS(e,t,n){var s=e.pingCache;s!==null&&s.delete(t),t=Ve(),e.pingedLanes|=e.suspendedLanes&n,Pe===e&&(Ne&n)===n&&(ve===4||ve===3&&(Ne&130023424)===Ne&&500>fe()-ff?Ss(e,0):uf|=n),Ye(e,t)}function uv(e,t){t===0&&(e.mode&1?(t=Si,Si<<=1,!(Si&130023424)&&(Si=4194304)):t=1);var n=Ve();e=pn(e,t),e!==null&&(ni(e,t,n),Ye(e,n))}function CS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),uv(e,n)}function ES(e,t){var n=0;switch(e.tag){case 13:var s=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:s=e.stateNode;break;default:throw Error(A(314))}s!==null&&s.delete(t),uv(e,n)}var fv;fv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ke.current)Ue=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ue=!1,hS(e,t,n);Ue=!!(e.flags&131072)}else Ue=!1,ae&&t.flags&1048576&&gx(t,To,t.index);switch(t.lanes=0,t.tag){case 2:var s=t.type;eo(e,t),e=t.pendingProps;var r=kr(t,Le.current);lr(t,n),r=rf(null,t,s,e,r,n);var a=af();return t.flags|=1,typeof r=="object"&&r!==null&&typeof r.render=="function"&&r.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ge(s)?(a=!0,Eo(t)):a=!1,t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,Ju(t),r.updater=pl,t.stateNode=r,r._reactInternals=t,gd(t,s,e,n),t=vd(null,t,s,!0,a,n)):(t.tag=0,ae&&a&&qu(t),Oe(null,t,r,n),t=t.child),t;case 16:s=t.elementType;e:{switch(eo(e,t),e=t.pendingProps,r=s._init,s=r(s._payload),t.type=s,r=t.tag=TS(s),e=bt(s,e),r){case 0:t=xd(null,t,s,e,n);break e;case 1:t=kh(null,t,s,e,n);break e;case 11:t=Ph(null,t,s,e,n);break e;case 14:t=Sh(null,t,s,bt(s.type,e),n);break e}throw Error(A(306,s,""))}return t;case 0:return s=t.type,r=t.pendingProps,r=t.elementType===s?r:bt(s,r),xd(e,t,s,r,n);case 1:return s=t.type,r=t.pendingProps,r=t.elementType===s?r:bt(s,r),kh(e,t,s,r,n);case 3:e:{if(Yx(t),e===null)throw Error(A(387));s=t.pendingProps,a=t.memoizedState,r=a.element,Px(e,t),Mo(t,s,null,n);var i=t.memoizedState;if(s=i.element,a.isDehydrated)if(a={element:s,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){r=Nr(Error(A(423)),t),t=jh(e,t,s,n,r);break e}else if(s!==r){r=Nr(Error(A(424)),t),t=jh(e,t,s,n,r);break e}else for(Je=Bn(t.stateNode.containerInfo.firstChild),et=t,ae=!0,jt=null,n=wx(t,null,s,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(jr(),s===r){t=hn(e,t,n);break e}Oe(e,t,s,n)}t=t.child}return t;case 5:return Sx(t),e===null&&pd(t),s=t.type,r=t.pendingProps,a=e!==null?e.memoizedProps:null,i=r.children,ld(s,r)?i=null:a!==null&&ld(s,a)&&(t.flags|=32),Gx(e,t),Oe(e,t,i,n),t.child;case 6:return e===null&&pd(t),null;case 13:return Qx(e,t,n);case 4:return ef(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=Cr(t,null,s,n):Oe(e,t,s,n),t.child;case 11:return s=t.type,r=t.pendingProps,r=t.elementType===s?r:bt(s,r),Ph(e,t,s,r,n);case 7:return Oe(e,t,t.pendingProps,n),t.child;case 8:return Oe(e,t,t.pendingProps.children,n),t.child;case 12:return Oe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(s=t.type._context,r=t.pendingProps,a=t.memoizedProps,i=r.value,te(Ao,s._currentValue),s._currentValue=i,a!==null)if(At(a.value,i)){if(a.children===r.children&&!Ke.current){t=hn(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 c=o.firstContext;c!==null;){if(c.context===s){if(a.tag===1){c=cn(-1,n&-n),c.tag=2;var d=a.updateQueue;if(d!==null){d=d.shared;var u=d.pending;u===null?c.next=c:(c.next=u.next,u.next=c),d.pending=c}}a.lanes|=n,c=a.alternate,c!==null&&(c.lanes|=n),hd(a.return,n,t),o.lanes|=n;break}c=c.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(A(341));i.lanes|=n,o=i.alternate,o!==null&&(o.lanes|=n),hd(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}Oe(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,s=t.pendingProps.children,lr(t,n),r=mt(r),s=s(r),t.flags|=1,Oe(e,t,s,n),t.child;case 14:return s=t.type,r=bt(s,t.pendingProps),r=bt(s.type,r),Sh(e,t,s,r,n);case 15:return qx(e,t,t.type,t.pendingProps,n);case 17:return s=t.type,r=t.pendingProps,r=t.elementType===s?r:bt(s,r),eo(e,t),t.tag=1,Ge(s)?(e=!0,Eo(t)):e=!1,lr(t,n),Wx(t,s,r),gd(t,s,r,n),vd(null,t,s,!0,e,n);case 19:return Xx(e,t,n);case 22:return Kx(e,t,n)}throw Error(A(156,t.tag))};function pv(e,t){return Vy(e,t)}function NS(e,t,n,s){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=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ut(e,t,n,s){return new NS(e,t,n,s)}function gf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function TS(e){if(typeof e=="function")return gf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Iu)return 11;if(e===Lu)return 14}return 2}function qn(e,t){var n=e.alternate;return n===null?(n=ut(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 so(e,t,n,s,r,a){var i=2;if(s=e,typeof e=="function")gf(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case $s:return ks(n.children,r,a,t);case Du:i=8,r|=8;break;case Vc:return e=ut(12,n,t,r|2),e.elementType=Vc,e.lanes=a,e;case Hc:return e=ut(13,n,t,r),e.elementType=Hc,e.lanes=a,e;case Bc:return e=ut(19,n,t,r),e.elementType=Bc,e.lanes=a,e;case Sy:return gl(n,r,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case by:i=10;break e;case Py:i=9;break e;case Iu:i=11;break e;case Lu:i=14;break e;case jn:i=16,s=null;break e}throw Error(A(130,e==null?e:typeof e,""))}return t=ut(i,n,t,r),t.elementType=e,t.type=s,t.lanes=a,t}function ks(e,t,n,s){return e=ut(7,e,s,t),e.lanes=n,e}function gl(e,t,n,s){return e=ut(22,e,s,t),e.elementType=Sy,e.lanes=n,e.stateNode={isHidden:!1},e}function lc(e,t,n){return e=ut(6,e,null,t),e.lanes=n,e}function cc(e,t,n){return t=ut(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function AS(e,t,n,s,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Wl(0),this.expirationTimes=Wl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wl(0),this.identifierPrefix=s,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function yf(e,t,n,s,r,a,i,o,c){return e=new AS(e,t,n,o,c),t===1?(t=1,a===!0&&(t|=8)):t=0,a=ut(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:s,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ju(a),e}function RS(e,t,n){var s=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ws,key:s==null?null:""+s,children:e,containerInfo:t,implementation:n}}function hv(e){if(!e)return Yn;e=e._reactInternals;e:{if(Os(e)!==e||e.tag!==1)throw Error(A(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(A(171))}if(e.tag===1){var n=e.type;if(Ge(n))return hx(e,n,t)}return t}function mv(e,t,n,s,r,a,i,o,c){return e=yf(n,s,!0,e,r,a,i,o,c),e.context=hv(null),n=e.current,s=Ve(),r=Un(n),a=cn(s,r),a.callback=t??null,Wn(n,a,r),e.current.lanes=r,ni(e,r,s),Ye(e,s),e}function yl(e,t,n,s){var r=t.current,a=Ve(),i=Un(r);return n=hv(n),t.context===null?t.context=n:t.pendingContext=n,t=cn(a,i),t.payload={element:e},s=s===void 0?null:s,s!==null&&(t.callback=s),e=Wn(r,t,i),e!==null&&(Nt(e,r,i,a),Xi(e,r,i)),i}function Vo(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 Lh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function xf(e,t){Lh(e,t),(e=e.alternate)&&Lh(e,t)}function MS(){return null}var gv=typeof reportError=="function"?reportError:function(e){console.error(e)};function vf(e){this._internalRoot=e}xl.prototype.render=vf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(A(409));yl(e,t,null,null)};xl.prototype.unmount=vf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Rs(function(){yl(null,e,null,null)}),t[fn]=null}};function xl(e){this._internalRoot=e}xl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ky();e={blockedOn:null,target:e,priority:t};for(var n=0;n<En.length&&t!==0&&t<En[n].priority;n++);En.splice(n,0,e),n===0&&Yy(e)}};function wf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function vl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Oh(){}function DS(e,t,n,s,r){if(r){if(typeof s=="function"){var a=s;s=function(){var d=Vo(i);a.call(d)}}var i=mv(t,s,e,0,null,!1,!1,"",Oh);return e._reactRootContainer=i,e[fn]=i.current,Da(e.nodeType===8?e.parentNode:e),Rs(),i}for(;r=e.lastChild;)e.removeChild(r);if(typeof s=="function"){var o=s;s=function(){var d=Vo(c);o.call(d)}}var c=yf(e,0,!1,null,null,!1,!1,"",Oh);return e._reactRootContainer=c,e[fn]=c.current,Da(e.nodeType===8?e.parentNode:e),Rs(function(){yl(t,c,n,s)}),c}function wl(e,t,n,s,r){var a=n._reactRootContainer;if(a){var i=a;if(typeof r=="function"){var o=r;r=function(){var c=Vo(i);o.call(c)}}yl(t,i,e,r)}else i=DS(n,t,e,r,s);return Vo(i)}Uy=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=oa(t.pendingLanes);n!==0&&(Fu(t,n|1),Ye(t,fe()),!(Y&6)&&(Tr=fe()+500,rs()))}break;case 13:Rs(function(){var s=pn(e,1);if(s!==null){var r=Ve();Nt(s,e,1,r)}}),xf(e,1)}};_u=function(e){if(e.tag===13){var t=pn(e,134217728);if(t!==null){var n=Ve();Nt(t,e,134217728,n)}xf(e,134217728)}};qy=function(e){if(e.tag===13){var t=Un(e),n=pn(e,t);if(n!==null){var s=Ve();Nt(n,e,t,s)}xf(e,t)}};Ky=function(){return Z};Gy=function(e,t){var n=Z;try{return Z=e,t()}finally{Z=n}};Zc=function(e,t,n){switch(t){case"input":if(Uc(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 s=n[t];if(s!==e&&s.form===e.form){var r=dl(s);if(!r)throw Error(A(90));jy(s),Uc(s,r)}}}break;case"textarea":Ey(e,n);break;case"select":t=n.value,t!=null&&rr(e,!!n.multiple,t,!1)}};Iy=pf;Ly=Rs;var IS={usingClientEntryPoint:!1,Events:[ri,Gs,dl,My,Dy,pf]},Jr={findFiberByHostInstance:us,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},LS={bundleType:Jr.bundleType,version:Jr.version,rendererPackageName:Jr.rendererPackageName,rendererConfig:Jr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:yn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Fy(e),e===null?null:e.stateNode},findFiberByHostInstance:Jr.findFiberByHostInstance||MS,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 Ii=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ii.isDisabled&&Ii.supportsFiber)try{il=Ii.inject(LS),Ut=Ii}catch{}}rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=IS;rt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!wf(t))throw Error(A(200));return RS(e,t,null,n)};rt.createRoot=function(e,t){if(!wf(e))throw Error(A(299));var n=!1,s="",r=gv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onRecoverableError!==void 0&&(r=t.onRecoverableError)),t=yf(e,1,!1,null,null,n,!1,s,r),e[fn]=t.current,Da(e.nodeType===8?e.parentNode:e),new vf(t)};rt.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(A(188)):(e=Object.keys(e).join(","),Error(A(268,e)));return e=Fy(t),e=e===null?null:e.stateNode,e};rt.flushSync=function(e){return Rs(e)};rt.hydrate=function(e,t,n){if(!vl(t))throw Error(A(200));return wl(null,e,t,!0,n)};rt.hydrateRoot=function(e,t,n){if(!wf(e))throw Error(A(405));var s=n!=null&&n.hydratedSources||null,r=!1,a="",i=gv;if(n!=null&&(n.unstable_strictMode===!0&&(r=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=mv(t,null,e,1,n??null,r,!1,a,i),e[fn]=t.current,Da(e),s)for(e=0;e<s.length;e++)n=s[e],r=n._getVersion,r=r(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,r]:t.mutableSourceEagerHydrationData.push(n,r);return new xl(t)};rt.render=function(e,t,n){if(!vl(t))throw Error(A(200));return wl(null,e,t,!1,n)};rt.unmountComponentAtNode=function(e){if(!vl(e))throw Error(A(40));return e._reactRootContainer?(Rs(function(){wl(null,null,e,!1,function(){e._reactRootContainer=null,e[fn]=null})}),!0):!1};rt.unstable_batchedUpdates=pf;rt.unstable_renderSubtreeIntoContainer=function(e,t,n,s){if(!vl(n))throw Error(A(200));if(e==null||e._reactInternals===void 0)throw Error(A(38));return wl(e,t,n,!1,s)};rt.version="18.3.1-next-f1338f8080-20240426";function yv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(yv)}catch(e){console.error(e)}}yv(),yy.exports=rt;var ii=yy.exports,xv,zh=ii;xv=zh.createRoot,zh.hydrateRoot;const OS=1,zS=1e6;let dc=0;function FS(){return dc=(dc+1)%Number.MAX_SAFE_INTEGER,dc.toString()}const uc=new Map,Fh=e=>{if(uc.has(e))return;const t=setTimeout(()=>{uc.delete(e),va({type:"REMOVE_TOAST",toastId:e})},zS);uc.set(e,t)},_S=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,OS)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Fh(n):e.toasts.forEach(s=>{Fh(s.id)}),{...e,toasts:e.toasts.map(s=>s.id===n||n===void 0?{...s,open:!1}:s)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},ro=[];let ao={toasts:[]};function va(e){ao=_S(ao,e),ro.forEach(t=>{t(ao)})}function VS({...e}){const t=FS(),n=r=>va({type:"UPDATE_TOAST",toast:{...r,id:t}}),s=()=>va({type:"DISMISS_TOAST",toastId:t});return va({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||s()}}}),{id:t,dismiss:s,update:n}}function bf(){const[e,t]=w.useState(ao);return w.useEffect(()=>(ro.push(t),()=>{const n=ro.indexOf(t);n>-1&&ro.splice(n,1)}),[e]),{...e,toast:VS,dismiss:n=>va({type:"DISMISS_TOAST",toastId:n})}}function xe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function _h(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function HS(...e){return t=>{let n=!1;const s=e.map(r=>{const a=_h(r,t);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let r=0;r<s.length;r++){const a=s[r];typeof a=="function"?a():_h(e[r],null)}}}}function Rt(...e){return w.useCallback(HS(...e),e)}function bl(e,t=[]){let n=[];function s(a,i){const o=w.createContext(i);o.displayName=a+"Context";const c=n.length;n=[...n,i];const d=f=>{var g;const{scope:p,children:h,...y}=f,v=((g=p==null?void 0:p[e])==null?void 0:g[c])||o,b=w.useMemo(()=>y,Object.values(y));return l.jsx(v.Provider,{value:b,children:h})};d.displayName=a+"Provider";function u(f,p){var v;const h=((v=p==null?void 0:p[e])==null?void 0:v[c])||o,y=w.useContext(h);if(y)return y;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${a}\``)}return[d,u]}const r=()=>{const a=n.map(i=>w.createContext(i));return function(o){const c=(o==null?void 0:o[e])||a;return w.useMemo(()=>({[`__scope${e}`]:{...o,[e]:c}}),[o,c])}};return r.scopeName=e,[s,BS(r,...t)]}function BS(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const s=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(a){const i=s.reduce((o,{useScope:c,scopeName:d})=>{const f=c(a)[`__scope${d}`];return{...o,...f}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Ho(e){const t=w.forwardRef((n,s)=>{let{children:r,...a}=n,i=null,o=!1;const c=[];Vh(r)&&typeof Li=="function"&&(r=Li(r._payload)),w.Children.forEach(r,p=>{var h;if(GS(p)){o=!0;const y=p;let v="child"in y.props?y.props.child:y.props.children;Vh(v)&&typeof Li=="function"&&(v=Li(v._payload)),i=US(y,v),c.push((h=i==null?void 0:i.props)==null?void 0:h.children)}else c.push(p)}),i?i=w.cloneElement(i,void 0,c):!o&&w.Children.count(r)===1&&w.isValidElement(r)&&(i=r);const d=i?KS(i):void 0,u=Rt(s,d);if(!i){if(r||r===0)throw new Error(o?ZS(e):XS(e));return r}const f=qS(a,i.props??{});return i.type!==w.Fragment&&(f.ref=s?u:d),w.cloneElement(i,f)});return t.displayName=`${e}.Slot`,t}var WS=Ho("Slot"),vv=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=vv,t}var US=(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 qS(e,t){const n={...t};for(const s in t){const r=e[s],a=t[s];/^on[A-Z]/.test(s)?r&&a?n[s]=(...o)=>{const c=a(...o);return r(...o),c}:r&&(n[s]=r):s==="style"?n[s]={...r,...a}:s==="className"&&(n[s]=[r,a].filter(Boolean).join(" "))}return{...e,...n}}function KS(e){var s,r;let t=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function GS(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===vv}var YS=Symbol.for("react.lazy");function Vh(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===YS&&"_payload"in e&&QS(e._payload)}function QS(e){return typeof e=="object"&&e!==null&&"then"in e}var XS=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,ZS=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,Li=Tu[" use ".trim().toString()];function JS(e){const t=e+"CollectionProvider",[n,s]=bl(t),[r,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 l.jsx(r,{scope:b,itemMap:x,collectionRef:m,children:g})};i.displayName=t;const o=e+"CollectionSlot",c=Ho(o),d=w.forwardRef((v,b)=>{const{scope:g,children:m}=v,x=a(o,g),P=Rt(b,x.collectionRef);return l.jsx(c,{ref:P,children:m})});d.displayName=o;const u=e+"CollectionItemSlot",f="data-radix-collection-item",p=Ho(u),h=w.forwardRef((v,b)=>{const{scope:g,children:m,...x}=v,P=w.useRef(null),S=Rt(b,P),k=a(u,g);return w.useEffect(()=>(k.itemMap.set(P,{ref:P,...x}),()=>void k.itemMap.delete(P))),l.jsx(p,{[f]:"",ref:S,children:m})});h.displayName=u;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((k,j)=>x.indexOf(k.ref.current)-x.indexOf(j.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:i,Slot:d,ItemSlot:h},y,s]}var ek=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],We=ek.reduce((e,t)=>{const n=Ho(`Primitive.${t}`),s=w.forwardRef((r,a)=>{const{asChild:i,...o}=r,c=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(c,{...o,ref:a})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{});function wv(e,t){e&&ii.flushSync(()=>e.dispatchEvent(t))}function Qn(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var s;return(s=t.current)==null?void 0:s.call(t,...n)},[])}function tk(e,t=globalThis==null?void 0:globalThis.document){const n=Qn(e);w.useEffect(()=>{const s=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",s,{capture:!0}),()=>t.removeEventListener("keydown",s,{capture:!0})},[n,t])}var nk="DismissableLayer",Rd="dismissableLayer.update",sk="dismissableLayer.pointerDownOutside",rk="dismissableLayer.focusOutside",Hh,bv=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Pf=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:s,onPointerDownOutside:r,onFocusOutside:a,onInteractOutside:i,onDismiss:o,...c}=e,d=w.useContext(bv),[u,f]=w.useState(null),p=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=w.useState({}),y=Rt(t,j=>f(j)),v=Array.from(d.layers),[b]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),g=v.indexOf(b),m=u?v.indexOf(u):-1,x=d.layersWithOutsidePointerEventsDisabled.size>0,P=m>=g,S=ik(j=>{const C=j.target,R=[...d.branches].some(T=>T.contains(C));!P||R||(r==null||r(j),i==null||i(j),j.defaultPrevented||o==null||o())},p),k=ok(j=>{const C=j.target;[...d.branches].some(T=>T.contains(C))||(a==null||a(j),i==null||i(j),j.defaultPrevented||o==null||o())},p);return tk(j=>{m===d.layers.size-1&&(s==null||s(j),!j.defaultPrevented&&o&&(j.preventDefault(),o()))},p),w.useEffect(()=>{if(u)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Hh=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(u)),d.layers.add(u),Bh(),()=>{n&&(d.layersWithOutsidePointerEventsDisabled.delete(u),d.layersWithOutsidePointerEventsDisabled.size===0&&(p.body.style.pointerEvents=Hh))}},[u,p,n,d]),w.useEffect(()=>()=>{u&&(d.layers.delete(u),d.layersWithOutsidePointerEventsDisabled.delete(u),Bh())},[u,d]),w.useEffect(()=>{const j=()=>h({});return document.addEventListener(Rd,j),()=>document.removeEventListener(Rd,j)},[]),l.jsx(We.div,{...c,ref:y,style:{pointerEvents:x?P?"auto":"none":void 0,...e.style},onFocusCapture:xe(e.onFocusCapture,k.onFocusCapture),onBlurCapture:xe(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:xe(e.onPointerDownCapture,S.onPointerDownCapture)})});Pf.displayName=nk;var ak="DismissableLayerBranch",Pv=w.forwardRef((e,t)=>{const n=w.useContext(bv),s=w.useRef(null),r=Rt(t,s);return w.useEffect(()=>{const a=s.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),l.jsx(We.div,{...e,ref:r})});Pv.displayName=ak;function ik(e,t=globalThis==null?void 0:globalThis.document){const n=Qn(e),s=w.useRef(!1),r=w.useRef(()=>{});return w.useEffect(()=>{const a=o=>{if(o.target&&!s.current){let c=function(){Sv(sk,n,d,{discrete:!0})};const d={originalEvent:o};o.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=c,t.addEventListener("click",r.current,{once:!0})):c()}else t.removeEventListener("click",r.current);s.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>s.current=!0}}function ok(e,t=globalThis==null?void 0:globalThis.document){const n=Qn(e),s=w.useRef(!1);return w.useEffect(()=>{const r=a=>{a.target&&!s.current&&Sv(rk,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function Bh(){const e=new CustomEvent(Rd);document.dispatchEvent(e)}function Sv(e,t,n,{discrete:s}){const r=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),s?wv(r,a):r.dispatchEvent(a)}var lk=Pf,ck=Pv,dn=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},dk="Portal",Sf=w.forwardRef((e,t)=>{var o;const{container:n,...s}=e,[r,a]=w.useState(!1);dn(()=>a(!0),[]);const i=n||r&&((o=globalThis==null?void 0:globalThis.document)==null?void 0:o.body);return i?ii.createPortal(l.jsx(We.div,{...s,ref:t}),i):null});Sf.displayName=dk;function uk(e,t){return w.useReducer((n,s)=>t[n][s]??n,e)}var Pl=e=>{const{present:t,children:n}=e,s=fk(t),r=typeof n=="function"?n({present:s.isPresent}):w.Children.only(n),a=pk(s.ref,hk(r));return typeof n=="function"||s.isPresent?w.cloneElement(r,{ref:a}):null};Pl.displayName="Presence";function fk(e){const[t,n]=w.useState(),s=w.useRef(null),r=w.useRef(e),a=w.useRef("none"),i=e?"mounted":"unmounted",[o,c]=uk(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const d=Oi(s.current);a.current=o==="mounted"?d:"none"},[o]),dn(()=>{const d=s.current,u=r.current;if(u!==e){const p=a.current,h=Oi(d);e?c("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(u&&p!==h?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,c]),dn(()=>{if(t){let d;const u=t.ownerDocument.defaultView??window,f=h=>{const v=Oi(s.current).includes(CSS.escape(h.animationName));if(h.target===t&&v&&(c("ANIMATION_END"),!r.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",d=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},p=h=>{h.target===t&&(a.current=Oi(s.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{u.clearTimeout(d),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(o),ref:w.useCallback(d=>{s.current=d?getComputedStyle(d):null,n(d)},[])}}function Wh(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function pk(...e){const t=w.useRef(e);return t.current=e,w.useCallback(n=>{const s=t.current;let r=!1;const a=s.map(i=>{const o=Wh(i,n);return!r&&typeof o=="function"&&(r=!0),o});if(r)return()=>{for(let i=0;i<a.length;i++){const o=a[i];typeof o=="function"?o():Wh(s[i],null)}}},[])}function Oi(e){return(e==null?void 0:e.animationName)||"none"}function hk(e){var s,r;let t=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var mk=Tu[" useInsertionEffect ".trim().toString()]||dn;function gk({prop:e,defaultProp:t,onChange:n=()=>{},caller:s}){const[r,a,i]=yk({defaultProp:t,onChange:n}),o=e!==void 0,c=o?e:r;{const u=w.useRef(e!==void 0);w.useEffect(()=>{const f=u.current;f!==o&&console.warn(`${s} 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.`),u.current=o},[o,s])}const d=w.useCallback(u=>{var f;if(o){const p=xk(u)?u(e):u;p!==e&&((f=i.current)==null||f.call(i,p))}else a(u)},[o,e,a,i]);return[c,d]}function yk({defaultProp:e,onChange:t}){const[n,s]=w.useState(e),r=w.useRef(n),a=w.useRef(t);return mk(()=>{a.current=t},[t]),w.useEffect(()=>{var i;r.current!==n&&((i=a.current)==null||i.call(a,n),r.current=n)},[n,r]),[n,s,a]}function xk(e){return typeof e=="function"}var vk=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"}),wk="VisuallyHidden",Sl=w.forwardRef((e,t)=>l.jsx(We.span,{...e,ref:t,style:{...vk,...e.style}}));Sl.displayName=wk;var bk=Sl,kf="ToastProvider",[jf,Pk,Sk]=JS("Toast"),[kv]=bl("Toast",[Sk]),[kk,kl]=kv(kf),jv=e=>{const{__scopeToast:t,label:n="Notification",duration:s=5e3,swipeDirection:r="right",swipeThreshold:a=50,announcerContainer:i,children:o}=e,[c,d]=w.useState(null),[u,f]=w.useState(0),p=w.useRef(!1),h=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${kf}\`. Expected non-empty \`string\`.`),l.jsx(jf.Provider,{scope:t,children:l.jsx(kk,{scope:t,label:n,duration:s,swipeDirection:r,swipeThreshold:a,toastCount:u,viewport:c,onViewportChange:d,onToastAdd:w.useCallback(()=>f(y=>y+1),[]),onToastRemove:w.useCallback(()=>f(y=>y-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:h,announcerContainer:i,children:o})})};jv.displayName=kf;var Cv="ToastViewport",jk=["F8"],Md="toast.viewportPause",Dd="toast.viewportResume",Ev=w.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:s=jk,label:r="Notifications ({hotkey})",...a}=e,i=kl(Cv,n),o=Pk(n),c=w.useRef(null),d=w.useRef(null),u=w.useRef(null),f=w.useRef(null),p=Rt(t,f,i.onViewportChange),h=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),y=i.toastCount>0;w.useEffect(()=>{const b=g=>{var x;s.length!==0&&s.every(P=>g[P]||g.code===P)&&((x=f.current)==null||x.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[s]),w.useEffect(()=>{const b=c.current,g=f.current;if(y&&b&&g){const m=()=>{if(!i.isClosePausedRef.current){const k=new CustomEvent(Md);g.dispatchEvent(k),i.isClosePausedRef.current=!0}},x=()=>{if(i.isClosePausedRef.current){const k=new CustomEvent(Dd);g.dispatchEvent(k),i.isClosePausedRef.current=!1}},P=k=>{!b.contains(k.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,...Fk(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,k,j;const x=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!x){const C=document.activeElement,R=m.shiftKey;if(m.target===b&&R){(S=d.current)==null||S.focus();return}const I=v({tabbingDirection:R?"backwards":"forwards"}),B=I.findIndex(D=>D===C);fc(I.slice(B+1))?m.preventDefault():R?(k=d.current)==null||k.focus():(j=u.current)==null||j.focus()}};return b.addEventListener("keydown",g),()=>b.removeEventListener("keydown",g)}},[o,v]),l.jsxs(ck,{ref:c,role:"region","aria-label":r.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:y?void 0:"none"},children:[y&&l.jsx(Id,{ref:d,onFocusFromOutsideViewport:()=>{const b=v({tabbingDirection:"forwards"});fc(b)}}),l.jsx(jf.Slot,{scope:n,children:l.jsx(We.ol,{tabIndex:-1,...a,ref:p})}),y&&l.jsx(Id,{ref:u,onFocusFromOutsideViewport:()=>{const b=v({tabbingDirection:"backwards"});fc(b)}})]})});Ev.displayName=Cv;var Nv="ToastFocusProxy",Id=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:s,...r}=e,a=kl(Nv,n);return l.jsx(Sl,{tabIndex:0,...r,ref:t,style:{position:"fixed"},onFocus:i=>{var d;const o=i.relatedTarget;!((d=a.viewport)!=null&&d.contains(o))&&s()}})});Id.displayName=Nv;var oi="Toast",Ck="toast.swipeStart",Ek="toast.swipeMove",Nk="toast.swipeCancel",Tk="toast.swipeEnd",Tv=w.forwardRef((e,t)=>{const{forceMount:n,open:s,defaultOpen:r,onOpenChange:a,...i}=e,[o,c]=gk({prop:s,defaultProp:r??!0,onChange:a,caller:oi});return l.jsx(Pl,{present:n||o,children:l.jsx(Mk,{open:o,...i,ref:t,onClose:()=>c(!1),onPause:Qn(e.onPause),onResume:Qn(e.onResume),onSwipeStart:xe(e.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:xe(e.onSwipeMove,d=>{const{x:u,y:f}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:xe(e.onSwipeCancel,d=>{d.currentTarget.setAttribute("data-swipe","cancel"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:xe(e.onSwipeEnd,d=>{const{x:u,y:f}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","end"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),c(!1)})})})});Tv.displayName=oi;var[Ak,Rk]=kv(oi,{onClose(){}}),Mk=w.forwardRef((e,t)=>{const{__scopeToast:n,type:s="foreground",duration:r,open:a,onClose:i,onEscapeKeyDown:o,onPause:c,onResume:d,onSwipeStart:u,onSwipeMove:f,onSwipeCancel:p,onSwipeEnd:h,...y}=e,v=kl(oi,n),[b,g]=w.useState(null),m=Rt(t,D=>g(D)),x=w.useRef(null),P=w.useRef(null),S=r||v.duration,k=w.useRef(0),j=w.useRef(S),C=w.useRef(0),{onToastAdd:R,onToastRemove:T}=v,O=Qn(()=>{var W;(b==null?void 0:b.contains(document.activeElement))&&((W=v.viewport)==null||W.focus()),i()}),I=w.useCallback(D=>{!D||D===1/0||(window.clearTimeout(C.current),k.current=new Date().getTime(),C.current=window.setTimeout(O,D))},[O]);w.useEffect(()=>{const D=v.viewport;if(D){const W=()=>{I(j.current),d==null||d()},_=()=>{const G=new Date().getTime()-k.current;j.current=j.current-G,window.clearTimeout(C.current),c==null||c()};return D.addEventListener(Md,_),D.addEventListener(Dd,W),()=>{D.removeEventListener(Md,_),D.removeEventListener(Dd,W)}}},[v.viewport,S,c,d,I]),w.useEffect(()=>{a&&!v.isClosePausedRef.current&&I(S)},[a,S,v.isClosePausedRef,I]),w.useEffect(()=>(R(),()=>T()),[R,T]);const B=w.useMemo(()=>b?Ov(b):null,[b]);return v.viewport?l.jsxs(l.Fragment,{children:[B&&l.jsx(Dk,{__scopeToast:n,role:"status","aria-live":s==="foreground"?"assertive":"polite",children:B}),l.jsx(Ak,{scope:n,onClose:O,children:ii.createPortal(l.jsx(jf.ItemSlot,{scope:n,children:l.jsx(lk,{asChild:!0,onEscapeKeyDown:xe(o,()=>{v.isFocusedToastEscapeKeyDownRef.current||O(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx(We.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,D=>{D.key==="Escape"&&(o==null||o(D.nativeEvent),D.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,O()))}),onPointerDown:xe(e.onPointerDown,D=>{D.button===0&&(x.current={x:D.clientX,y:D.clientY})}),onPointerMove:xe(e.onPointerMove,D=>{if(!x.current)return;const W=D.clientX-x.current.x,_=D.clientY-x.current.y,G=!!P.current,E=["left","right"].includes(v.swipeDirection),M=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,F=E?M(0,W):0,H=E?0:M(0,_),X=D.pointerType==="touch"?10:2,yt={x:F,y:H},it={originalEvent:D,delta:yt};G?(P.current=yt,zi(Ek,f,it,{discrete:!1})):$h(yt,v.swipeDirection,X)?(P.current=yt,zi(Ck,u,it,{discrete:!1}),D.target.setPointerCapture(D.pointerId)):(Math.abs(W)>X||Math.abs(_)>X)&&(x.current=null)}),onPointerUp:xe(e.onPointerUp,D=>{const W=P.current,_=D.target;if(_.hasPointerCapture(D.pointerId)&&_.releasePointerCapture(D.pointerId),P.current=null,x.current=null,W){const G=D.currentTarget,E={originalEvent:D,delta:W};$h(W,v.swipeDirection,v.swipeThreshold)?zi(Tk,h,E,{discrete:!0}):zi(Nk,p,E,{discrete:!0}),G.addEventListener("click",M=>M.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),Dk=e=>{const{__scopeToast:t,children:n,...s}=e,r=kl(oi,t),[a,i]=w.useState(!1),[o,c]=w.useState(!1);return Ok(()=>i(!0)),w.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),o?null:l.jsx(Sf,{asChild:!0,container:r.announcerContainer||void 0,children:l.jsx(Sl,{...s,children:a&&l.jsxs(l.Fragment,{children:[r.label," ",n]})})})},Ik="ToastTitle",Av=w.forwardRef((e,t)=>{const{__scopeToast:n,...s}=e;return l.jsx(We.div,{...s,ref:t})});Av.displayName=Ik;var Lk="ToastDescription",Rv=w.forwardRef((e,t)=>{const{__scopeToast:n,...s}=e;return l.jsx(We.div,{...s,ref:t})});Rv.displayName=Lk;var Mv="ToastAction",Dv=w.forwardRef((e,t)=>{const{altText:n,...s}=e;return n.trim()?l.jsx(Lv,{altText:n,asChild:!0,children:l.jsx(Cf,{...s,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Mv}\`. Expected non-empty \`string\`.`),null)});Dv.displayName=Mv;var Iv="ToastClose",Cf=w.forwardRef((e,t)=>{const{__scopeToast:n,...s}=e,r=Rk(Iv,n);return l.jsx(Lv,{asChild:!0,children:l.jsx(We.button,{type:"button",...s,ref:t,onClick:xe(e.onClick,r.onClose)})})});Cf.displayName=Iv;var Lv=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:s,...r}=e;return l.jsx(We.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":s||void 0,...r,ref:t})});function Ov(e){const t=[];return Array.from(e.childNodes).forEach(s=>{if(s.nodeType===s.TEXT_NODE&&s.textContent&&t.push(s.textContent),zk(s)){const r=s.ariaHidden||s.hidden||s.style.display==="none",a=s.dataset.radixToastAnnounceExclude==="";if(!r)if(a){const i=s.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Ov(s))}}),t}function zi(e,t,n,{discrete:s}){const r=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),s?wv(r,a):r.dispatchEvent(a)}var $h=(e,t,n=0)=>{const s=Math.abs(e.x),r=Math.abs(e.y),a=s>r;return t==="left"||t==="right"?a&&s>n:!a&&r>n};function Ok(e=()=>{}){const t=Qn(e);dn(()=>{let n=0,s=0;return n=window.requestAnimationFrame(()=>s=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(s)}},[t])}function zk(e){return e.nodeType===e.ELEMENT_NODE}function Fk(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const r=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||r?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function fc(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var _k=jv,zv=Ev,Fv=Tv,_v=Av,Vv=Rv,Hv=Dv,Bv=Cf;function Wv(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=Wv(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function $v(){for(var e,t,n=0,s="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=Wv(e))&&(s&&(s+=" "),s+=t);return s}const Uh=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,qh=$v,Ef=(e,t)=>n=>{var s;if((t==null?void 0:t.variants)==null)return qh(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:a}=t,i=Object.keys(r).map(d=>{const u=n==null?void 0:n[d],f=a==null?void 0:a[d];if(u===null)return null;const p=Uh(u)||Uh(f);return r[d][p]}),o=n&&Object.entries(n).reduce((d,u)=>{let[f,p]=u;return p===void 0||(d[f]=p),d},{}),c=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((d,u)=>{let{class:f,className:p,...h}=u;return Object.entries(h).every(y=>{let[v,b]=y;return Array.isArray(b)?b.includes({...a,...o}[v]):{...a,...o}[v]===b})?[...d,f,p]:d},[]);return qh(e,i,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
* @license lucide-react v0.507.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vk=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Hk=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,s)=>s?s.toUpperCase():n.toLowerCase()),Kh=e=>{const t=Hk(e);return t.charAt(0).toUpperCase()+t.slice(1)},Uv=(...e)=>e.filter((t,n,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===n).join(" ").trim(),Bk=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 Wk={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 $k=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:s,className:r="",children:a,iconNode:i,...o},c)=>w.createElement("svg",{ref:c,...Wk,width:t,height:t,stroke:e,strokeWidth:s?Number(n)*24/Number(t):n,className:Uv("lucide",r),...!a&&!Bk(o)&&{"aria-hidden":"true"},...o},[...i.map(([d,u])=>w.createElement(d,u)),...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 Q=(e,t)=>{const n=w.forwardRef(({className:s,...r},a)=>w.createElement($k,{ref:a,iconNode:t,className:Uv(`lucide-${Vk(Kh(e))}`,`lucide-${e}`,s),...r}));return n.displayName=Kh(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 Uk=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],qe=Q("arrow-right",Uk);/**
* @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 qk=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],Kk=Q("award",qk);/**
* @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 Gk=[["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"}]],Yk=Q("book-open",Gk);/**
* @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 Qk=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Gh=Q("chevron-down",Qk);/**
* @license lucide-react v0.507.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Xk=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],jl=Q("circle-check-big",Xk);/**
* @license lucide-react v0.507.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zk=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],Ld=Q("clock",Zk);/**
* @license lucide-react v0.507.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Jk=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],ej=Q("external-link",Jk);/**
* @license lucide-react v0.507.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const tj=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],nj=Q("facebook",tj);/**
* @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 sj=[["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"}]],li=Q("globe",sj);/**
* @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 rj=[["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"}]],Ms=Q("heart",rj);/**
* @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 aj=[["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"}]],Xn=Q("house",aj);/**
* @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 ij=[["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"}]],oj=Q("instagram",ij);/**
* @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 lj=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],cj=Q("lightbulb",lj);/**
* @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 dj=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],uj=Q("linkedin",dj);/**
* @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 fj=[["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"}]],qv=Q("mail",fj);/**
* @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 pj=[["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"}]],Od=Q("map-pin",pj);/**
* @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 hj=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],mj=Q("menu",hj);/**
* @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 gj=[["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"}]],Ba=Q("phone",gj);/**
* @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 yj=[["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"}]],Nf=Q("quote",yj);/**
* @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 xj=[["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"}]],Yh=Q("refresh-cw",xj);/**
* @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 vj=[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]],wj=Q("scale",vj);/**
* @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 bj=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],Pj=Q("send",bj);/**
* @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 Sj=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],kj=Q("shield",Sj);/**
* @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 jj=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],Cj=Q("sparkles",jj);/**
* @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 Ej=[["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"}]],Tf=Q("star",Ej);/**
* @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 Nj=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],Tj=Q("tag",Nj);/**
* @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 Aj=[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]],Rj=Q("trending-up",Aj);/**
* @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 Mj=[["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"}]],Qh=Q("triangle-alert",Mj);/**
* @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 Dj=[["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"}]],Ij=Q("twitter",Dj);/**
* @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 Lj=[["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"}]],Ds=Q("users",Lj);/**
* @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 Oj=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]],zj=Q("wrench",Oj);/**
* @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 Fj=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Kv=Q("x",Fj),Af="-",_j=e=>{const t=Hj(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{const o=i.split(Af);return o[0]===""&&o.length!==1&&o.shift(),Gv(o,t)||Vj(i)},getConflictingClassGroupIds:(i,o)=>{const c=n[i]||[];return o&&s[i]?[...c,...s[i]]:c}}},Gv=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],s=t.nextPart.get(n),r=s?Gv(e.slice(1),s):void 0;if(r)return r;if(t.validators.length===0)return;const a=e.join(Af);return(i=t.validators.find(({validator:o})=>o(a)))==null?void 0:i.classGroupId},Xh=/^\[(.+)\]$/,Vj=e=>{if(Xh.test(e)){const t=Xh.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Hj=e=>{const{theme:t,prefix:n}=e,s={nextPart:new Map,validators:[]};return Wj(Object.entries(e.classGroups),n).forEach(([a,i])=>{zd(i,s,a,t)}),s},zd=(e,t,n,s)=>{e.forEach(r=>{if(typeof r=="string"){const a=r===""?t:Zh(t,r);a.classGroupId=n;return}if(typeof r=="function"){if(Bj(r)){zd(r(s),t,n,s);return}t.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(([a,i])=>{zd(i,Zh(t,a),n,s)})})},Zh=(e,t)=>{let n=e;return t.split(Af).forEach(s=>{n.nextPart.has(s)||n.nextPart.set(s,{nextPart:new Map,validators:[]}),n=n.nextPart.get(s)}),n},Bj=e=>e.isThemeGetter,Wj=(e,t)=>t?e.map(([n,s])=>{const r=s.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,o])=>[t+i,o])):a);return[n,r]}):e,$j=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,s=new Map;const r=(a,i)=>{n.set(a,i),t++,t>e&&(t=0,s=n,n=new Map)};return{get(a){let i=n.get(a);if(i!==void 0)return i;if((i=s.get(a))!==void 0)return r(a,i),i},set(a,i){n.has(a)?n.set(a,i):r(a,i)}}},Yv="!",Uj=e=>{const{separator:t,experimentalParseClassName:n}=e,s=t.length===1,r=t[0],a=t.length,i=o=>{const c=[];let d=0,u=0,f;for(let b=0;b<o.length;b++){let g=o[b];if(d===0){if(g===r&&(s||o.slice(b,b+a)===t)){c.push(o.slice(u,b)),u=b+a;continue}if(g==="/"){f=b;continue}}g==="["?d++:g==="]"&&d--}const p=c.length===0?o:o.substring(u),h=p.startsWith(Yv),y=h?p.substring(1):p,v=f&&f>u?f-u:void 0;return{modifiers:c,hasImportantModifier:h,baseClassName:y,maybePostfixModifierPosition:v}};return n?o=>n({className:o,parseClassName:i}):i},qj=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(s=>{s[0]==="["?(t.push(...n.sort(),s),n=[]):n.push(s)}),t.push(...n.sort()),t},Kj=e=>({cache:$j(e.cacheSize),parseClassName:Uj(e),..._j(e)}),Gj=/\s+/,Yj=(e,t)=>{const{parseClassName:n,getClassGroupId:s,getConflictingClassGroupIds:r}=t,a=[],i=e.trim().split(Gj);let o="";for(let c=i.length-1;c>=0;c-=1){const d=i[c],{modifiers:u,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:h}=n(d);let y=!!h,v=s(y?p.substring(0,h):p);if(!v){if(!y){o=d+(o.length>0?" "+o:o);continue}if(v=s(p),!v){o=d+(o.length>0?" "+o:o);continue}y=!1}const b=qj(u).join(":"),g=f?b+Yv:b,m=g+v;if(a.includes(m))continue;a.push(m);const x=r(v,y);for(let P=0;P<x.length;++P){const S=x[P];a.push(g+S)}o=d+(o.length>0?" "+o:o)}return o};function Qj(){let e=0,t,n,s="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Qv(t))&&(s&&(s+=" "),s+=n);return s}const Qv=e=>{if(typeof e=="string")return e;let t,n="";for(let s=0;s<e.length;s++)e[s]&&(t=Qv(e[s]))&&(n&&(n+=" "),n+=t);return n};function Xj(e,...t){let n,s,r,a=i;function i(c){const d=t.reduce((u,f)=>f(u),e());return n=Kj(d),s=n.cache.get,r=n.cache.set,a=o,o(c)}function o(c){const d=s(c);if(d)return d;const u=Yj(c,n);return r(c,u),u}return function(){return a(Qj.apply(null,arguments))}}const ne=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Xv=/^\[(?:([a-z-]+):)?(.+)\]$/i,Zj=/^\d+\/\d+$/,Jj=new Set(["px","full","screen"]),eC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tC=/\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$/,nC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,sC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,rC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Jt=e=>dr(e)||Jj.has(e)||Zj.test(e),bn=e=>zr(e,"length",fC),dr=e=>!!e&&!Number.isNaN(Number(e)),pc=e=>zr(e,"number",dr),ea=e=>!!e&&Number.isInteger(Number(e)),aC=e=>e.endsWith("%")&&dr(e.slice(0,-1)),$=e=>Xv.test(e),Pn=e=>eC.test(e),iC=new Set(["length","size","percentage"]),oC=e=>zr(e,iC,Zv),lC=e=>zr(e,"position",Zv),cC=new Set(["image","url"]),dC=e=>zr(e,cC,hC),uC=e=>zr(e,"",pC),ta=()=>!0,zr=(e,t,n)=>{const s=Xv.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):n(s[2]):!1},fC=e=>tC.test(e)&&!nC.test(e),Zv=()=>!1,pC=e=>sC.test(e),hC=e=>rC.test(e),mC=()=>{const e=ne("colors"),t=ne("spacing"),n=ne("blur"),s=ne("brightness"),r=ne("borderColor"),a=ne("borderRadius"),i=ne("borderSpacing"),o=ne("borderWidth"),c=ne("contrast"),d=ne("grayscale"),u=ne("hueRotate"),f=ne("invert"),p=ne("gap"),h=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"),k=ne("skew"),j=ne("space"),C=ne("translate"),R=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto",$,t],I=()=>[$,t],B=()=>["",Jt,bn],D=()=>["auto",dr,$],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],_=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],E=()=>["start","end","center","between","around","evenly","stretch"],M=()=>["","0",$],F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[dr,$];return{cacheSize:500,separator:":",theme:{colors:[ta],spacing:[Jt,bn],blur:["none","",Pn,$],brightness:H(),borderColor:[e],borderRadius:["none","","full",Pn,$],borderSpacing:I(),borderWidth:B(),contrast:H(),grayscale:M(),hueRotate:H(),invert:M(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[aC,bn],inset:O(),margin:O(),opacity:H(),padding:I(),saturate:H(),scale:H(),sepia:M(),skew:H(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",$]}],container:["container"],columns:[{columns:[Pn]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"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:[...W(),$]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],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",ea,$]}],basis:[{basis:O()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",$]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:["first","last","none",ea,$]}],"grid-cols":[{"grid-cols":[ta]}],"col-start-end":[{col:["auto",{span:["full",ea,$]},$]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[ta]}],"row-start-end":[{row:["auto",{span:[ea,$]},$]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",$]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",$]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...E()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...E(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...E(),"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",$,t]}],"min-w":[{"min-w":[$,t,"min","max","fit"]}],"max-w":[{"max-w":[$,t,"none","full","min","max","fit","prose",{screen:[Pn]},Pn]}],h:[{h:[$,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[$,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[$,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[$,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",pc]}],"font-family":[{font:[ta]}],"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",$]}],"line-clamp":[{"line-clamp":["none",dr,pc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Jt,$]}],"list-image":[{"list-image":["none",$]}],"list-style-type":[{list:["none","disc","decimal",$]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Jt,bn]}],"underline-offset":[{"underline-offset":["auto",Jt,$]}],"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:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",$]}],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",$]}],"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:[...W(),lC]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",oC]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},dC]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],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:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",..._()]}],"outline-offset":[{"outline-offset":[Jt,$]}],"outline-w":[{outline:[Jt,bn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Jt,bn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Pn,uC]}],"shadow-color":[{shadow:[ta]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[s]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Pn,$]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[x]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"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",$]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",$]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",$]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[ea,$]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",$]}],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",$]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"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",$]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Jt,bn,pc]}],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"]}}},gC=Xj(mC);function Se(...e){return gC($v(e))}const yC=_k,Jv=w.forwardRef(({className:e,...t},n)=>l.jsx(zv,{ref:n,className:Se("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}));Jv.displayName=zv.displayName;const xC=Ef("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"}}),e0=w.forwardRef(({className:e,variant:t,...n},s)=>l.jsx(Fv,{ref:s,className:Se(xC({variant:t}),e),...n}));e0.displayName=Fv.displayName;const vC=w.forwardRef(({className:e,...t},n)=>l.jsx(Hv,{ref:n,className:Se("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}));vC.displayName=Hv.displayName;const t0=w.forwardRef(({className:e,...t},n)=>l.jsx(Bv,{ref:n,className:Se("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:l.jsx(Kv,{className:"h-4 w-4"})}));t0.displayName=Bv.displayName;const n0=w.forwardRef(({className:e,...t},n)=>l.jsx(_v,{ref:n,className:Se("text-sm font-semibold [&+div]:text-xs",e),...t}));n0.displayName=_v.displayName;const s0=w.forwardRef(({className:e,...t},n)=>l.jsx(Vv,{ref:n,className:Se("text-sm opacity-90",e),...t}));s0.displayName=Vv.displayName;function wC(){const{toasts:e}=bf();return l.jsxs(yC,{children:[e.map(function({id:t,title:n,description:s,action:r,...a}){return l.jsxs(e0,{...a,children:[l.jsxs("div",{className:"grid gap-1",children:[n&&l.jsx(n0,{children:n}),s&&l.jsx(s0,{children:s})]}),r,l.jsx(t0,{})]},t)}),l.jsx(Jv,{})]})}const bC=["top","right","bottom","left"],Zn=Math.min,Ze=Math.max,Bo=Math.round,Fi=Math.floor,Kt=e=>({x:e,y:e}),PC={left:"right",right:"left",bottom:"top",top:"bottom"};function Fd(e,t,n){return Ze(e,Zn(t,n))}function mn(e,t){return typeof e=="function"?e(t):e}function gn(e){return e.split("-")[0]}function Fr(e){return e.split("-")[1]}function Rf(e){return e==="x"?"y":"x"}function Mf(e){return e==="y"?"height":"width"}function $t(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Df(e){return Rf($t(e))}function SC(e,t,n){n===void 0&&(n=!1);const s=Fr(e),r=Df(e),a=Mf(r);let i=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Wo(i)),[i,Wo(i)]}function kC(e){const t=Wo(e);return[_d(e),t,_d(t)]}function _d(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Jh=["left","right"],em=["right","left"],jC=["top","bottom"],CC=["bottom","top"];function EC(e,t,n){switch(e){case"top":case"bottom":return n?t?em:Jh:t?Jh:em;case"left":case"right":return t?jC:CC;default:return[]}}function NC(e,t,n,s){const r=Fr(e);let a=EC(gn(e),n==="start",s);return r&&(a=a.map(i=>i+"-"+r),t&&(a=a.concat(a.map(_d)))),a}function Wo(e){const t=gn(e);return PC[t]+e.slice(t.length)}function TC(e){return{top:0,right:0,bottom:0,left:0,...e}}function r0(e){return typeof e!="number"?TC(e):{top:e,right:e,bottom:e,left:e}}function $o(e){const{x:t,y:n,width:s,height:r}=e;return{width:s,height:r,top:n,left:t,right:t+s,bottom:n+r,x:t,y:n}}function tm(e,t,n){let{reference:s,floating:r}=e;const a=$t(t),i=Df(t),o=Mf(i),c=gn(t),d=a==="y",u=s.x+s.width/2-r.width/2,f=s.y+s.height/2-r.height/2,p=s[o]/2-r[o]/2;let h;switch(c){case"top":h={x:u,y:s.y-r.height};break;case"bottom":h={x:u,y:s.y+s.height};break;case"right":h={x:s.x+s.width,y:f};break;case"left":h={x:s.x-r.width,y:f};break;default:h={x:s.x,y:s.y}}switch(Fr(t)){case"start":h[i]-=p*(n&&d?-1:1);break;case"end":h[i]+=p*(n&&d?-1:1);break}return h}async function AC(e,t){var n;t===void 0&&(t={});const{x:s,y:r,platform:a,rects:i,elements:o,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=mn(t,e),y=r0(h),b=o[p?f==="floating"?"reference":"floating":f],g=$o(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:d,rootBoundary:u,strategy:c})),m=f==="floating"?{x:s,y:r,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=$o(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:m,offsetParent:x,strategy:c}):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 RC=50,MC=async(e,t,n)=>{const{placement:s="bottom",strategy:r="absolute",middleware:a=[],platform:i}=n,o=i.detectOverflow?i:{...i,detectOverflow:AC},c=await(i.isRTL==null?void 0:i.isRTL(t));let d=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:f}=tm(d,s,c),p=s,h=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:k}=await m({x:u,y:f,initialPlacement:s,placement:p,strategy:r,middlewareData:y,rects:d,platform:o,elements:{reference:e,floating:t}});u=x??u,f=P??f,y[g]={...y[g],...S},k&&h<RC&&(h++,typeof k=="object"&&(k.placement&&(p=k.placement),k.rects&&(d=k.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):k.rects),{x:u,y:f}=tm(d,p,c)),v=-1)}return{x:u,y:f,placement:p,strategy:r,middlewareData:y}},DC=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:r,rects:a,platform:i,elements:o,middlewareData:c}=t,{element:d,padding:u=0}=mn(e,t)||{};if(d==null)return{};const f=r0(u),p={x:n,y:s},h=Df(r),y=Mf(h),v=await i.getDimensions(d),b=h==="y",g=b?"top":"left",m=b?"bottom":"right",x=b?"clientHeight":"clientWidth",P=a.reference[y]+a.reference[h]-p[h]-a.floating[y],S=p[h]-a.reference[h],k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d));let j=k?k[x]:0;(!j||!await(i.isElement==null?void 0:i.isElement(k)))&&(j=o.floating[x]||a.floating[y]);const C=P/2-S/2,R=j/2-v[y]/2-1,T=Zn(f[g],R),O=Zn(f[m],R),I=T,B=j-v[y]-O,D=j/2-v[y]/2+C,W=Fd(I,D,B),_=!c.arrow&&Fr(r)!=null&&D!==W&&a.reference[y]/2-(D<I?T:O)-v[y]/2<0,G=_?D<I?D-I:D-B:0;return{[h]:p[h]+G,data:{[h]:W,centerOffset:D-W-G,..._&&{alignmentOffset:G}},reset:_}}}),IC=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,s;const{placement:r,middlewareData:a,rects:i,initialPlacement:o,platform:c,elements:d}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:v=!0,...b}=mn(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const g=gn(r),m=$t(o),x=gn(o)===o,P=await(c.isRTL==null?void 0:c.isRTL(d.floating)),S=p||(x||!v?[Wo(o)]:kC(o)),k=y!=="none";!p&&k&&S.push(...NC(o,v,y,P));const j=[o,...S],C=await c.detectOverflow(t,b),R=[];let T=((s=a.flip)==null?void 0:s.overflows)||[];if(u&&R.push(C[g]),f){const D=SC(r,i,P);R.push(C[D[0]],C[D[1]])}if(T=[...T,{placement:r,overflows:R}],!R.every(D=>D<=0)){var O,I;const D=(((O=a.flip)==null?void 0:O.index)||0)+1,W=j[D];if(W&&(!(f==="alignment"?m!==$t(W):!1)||T.every(E=>$t(E.placement)===m?E.overflows[0]>0:!0)))return{data:{index:D,overflows:T},reset:{placement:W}};let _=(I=T.filter(G=>G.overflows[0]<=0).sort((G,E)=>G.overflows[1]-E.overflows[1])[0])==null?void 0:I.placement;if(!_)switch(h){case"bestFit":{var B;const G=(B=T.filter(E=>{if(k){const M=$t(E.placement);return M===m||M==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(M=>M>0).reduce((M,F)=>M+F,0)]).sort((E,M)=>E[1]-M[1])[0])==null?void 0:B[0];G&&(_=G);break}case"initialPlacement":_=o;break}if(r!==_)return{reset:{placement:_}}}return{}}}};function nm(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function sm(e){return bC.some(t=>e[t]>=0)}const LC=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:s}=t,{strategy:r="referenceHidden",...a}=mn(e,t);switch(r){case"referenceHidden":{const i=await s.detectOverflow(t,{...a,elementContext:"reference"}),o=nm(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:sm(o)}}}case"escaped":{const i=await s.detectOverflow(t,{...a,altBoundary:!0}),o=nm(i,n.floating);return{data:{escapedOffsets:o,escaped:sm(o)}}}default:return{}}}}},a0=new Set(["left","top"]);async function OC(e,t){const{placement:n,platform:s,elements:r}=e,a=await(s.isRTL==null?void 0:s.isRTL(r.floating)),i=gn(n),o=Fr(n),c=$t(n)==="y",d=a0.has(i)?-1:1,u=a&&c?-1:1,f=mn(t,e);let{mainAxis:p,crossAxis:h,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"&&(h=o==="end"?y*-1:y),c?{x:h*u,y:p*d}:{x:p*d,y:h*u}}const zC=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,s;const{x:r,y:a,placement:i,middlewareData:o}=t,c=await OC(t,e);return i===((n=o.offset)==null?void 0:n.placement)&&(s=o.arrow)!=null&&s.alignmentOffset?{}:{x:r+c.x,y:a+c.y,data:{...c,placement:i}}}}},FC=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:s,placement:r,platform:a}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:c={fn:g=>{let{x:m,y:x}=g;return{x:m,y:x}}},...d}=mn(e,t),u={x:n,y:s},f=await a.detectOverflow(t,d),p=$t(gn(r)),h=Rf(p);let y=u[h],v=u[p];if(i){const g=h==="y"?"top":"left",m=h==="y"?"bottom":"right",x=y+f[g],P=y-f[m];y=Fd(x,y,P)}if(o){const g=p==="y"?"top":"left",m=p==="y"?"bottom":"right",x=v+f[g],P=v-f[m];v=Fd(x,v,P)}const b=c.fn({...t,[h]:y,[p]:v});return{...b,data:{x:b.x-n,y:b.y-s,enabled:{[h]:i,[p]:o}}}}}},_C=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:s,placement:r,rects:a,middlewareData:i}=t,{offset:o=0,mainAxis:c=!0,crossAxis:d=!0}=mn(e,t),u={x:n,y:s},f=$t(r),p=Rf(f);let h=u[p],y=u[f];const v=mn(o,t),b=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(c){const x=p==="y"?"height":"width",P=a.reference[p]-a.floating[x]+b.mainAxis,S=a.reference[p]+a.reference[x]-b.mainAxis;h<P?h=P:h>S&&(h=S)}if(d){var g,m;const x=p==="y"?"width":"height",P=a0.has(gn(r)),S=a.reference[f]-a.floating[x]+(P&&((g=i.offset)==null?void 0:g[f])||0)+(P?0:b.crossAxis),k=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>k&&(y=k)}return{[p]:h,[f]:y}}}},VC=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,s;const{placement:r,rects:a,platform:i,elements:o}=t,{apply:c=()=>{},...d}=mn(e,t),u=await i.detectOverflow(t,d),f=gn(r),p=Fr(r),h=$t(r)==="y",{width:y,height:v}=a.floating;let b,g;f==="top"||f==="bottom"?(b=f,g=p===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(g=f,b=p==="end"?"top":"bottom");const m=v-u.top-u.bottom,x=y-u.left-u.right,P=Zn(v-u[b],m),S=Zn(y-u[g],x),k=!t.middlewareData.shift;let j=P,C=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(C=x),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(j=m),k&&!p){const T=Ze(u.left,0),O=Ze(u.right,0),I=Ze(u.top,0),B=Ze(u.bottom,0);h?C=y-2*(T!==0||O!==0?T+O:Ze(u.left,u.right)):j=v-2*(I!==0||B!==0?I+B:Ze(u.top,u.bottom))}await c({...t,availableWidth:C,availableHeight:j});const R=await i.getDimensions(o.floating);return y!==R.width||v!==R.height?{reset:{rects:!0}}:{}}}};function Cl(){return typeof window<"u"}function _r(e){return i0(e)?(e.nodeName||"").toLowerCase():"#document"}function tt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qt(e){var t;return(t=(i0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function i0(e){return Cl()?e instanceof Node||e instanceof tt(e).Node:!1}function Mt(e){return Cl()?e instanceof Element||e instanceof tt(e).Element:!1}function xn(e){return Cl()?e instanceof HTMLElement||e instanceof tt(e).HTMLElement:!1}function rm(e){return!Cl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof tt(e).ShadowRoot}function ci(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=Dt(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&r!=="inline"&&r!=="contents"}function HC(e){return/^(table|td|th)$/.test(_r(e))}function El(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const BC=/transform|translate|scale|rotate|perspective|filter/,WC=/paint|layout|strict|content/,is=e=>!!e&&e!=="none";let hc;function If(e){const t=Mt(e)?Dt(e):e;return is(t.transform)||is(t.translate)||is(t.scale)||is(t.rotate)||is(t.perspective)||!Lf()&&(is(t.backdropFilter)||is(t.filter))||BC.test(t.willChange||"")||WC.test(t.contain||"")}function $C(e){let t=Jn(e);for(;xn(t)&&!Ar(t);){if(If(t))return t;if(El(t))return null;t=Jn(t)}return null}function Lf(){return hc==null&&(hc=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),hc}function Ar(e){return/^(html|body|#document)$/.test(_r(e))}function Dt(e){return tt(e).getComputedStyle(e)}function Nl(e){return Mt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Jn(e){if(_r(e)==="html")return e;const t=e.assignedSlot||e.parentNode||rm(e)&&e.host||Qt(e);return rm(t)?t.host:t}function o0(e){const t=Jn(e);return Ar(t)?e.ownerDocument?e.ownerDocument.body:e.body:xn(t)&&ci(t)?t:o0(t)}function Wa(e,t,n){var s;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=o0(e),a=r===((s=e.ownerDocument)==null?void 0:s.body),i=tt(r);if(a){const o=Vd(i);return t.concat(i,i.visualViewport||[],ci(r)?r:[],o&&n?Wa(o):[])}else return t.concat(r,Wa(r,[],n))}function Vd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function l0(e){const t=Dt(e);let n=parseFloat(t.width)||0,s=parseFloat(t.height)||0;const r=xn(e),a=r?e.offsetWidth:n,i=r?e.offsetHeight:s,o=Bo(n)!==a||Bo(s)!==i;return o&&(n=a,s=i),{width:n,height:s,$:o}}function Of(e){return Mt(e)?e:e.contextElement}function ur(e){const t=Of(e);if(!xn(t))return Kt(1);const n=t.getBoundingClientRect(),{width:s,height:r,$:a}=l0(t);let i=(a?Bo(n.width):n.width)/s,o=(a?Bo(n.height):n.height)/r;return(!i||!Number.isFinite(i))&&(i=1),(!o||!Number.isFinite(o))&&(o=1),{x:i,y:o}}const UC=Kt(0);function c0(e){const t=tt(e);return!Lf()||!t.visualViewport?UC:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function qC(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==tt(e)?!1:t}function Is(e,t,n,s){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),a=Of(e);let i=Kt(1);t&&(s?Mt(s)&&(i=ur(s)):i=ur(e));const o=qC(a,n,s)?c0(a):Kt(0);let c=(r.left+o.x)/i.x,d=(r.top+o.y)/i.y,u=r.width/i.x,f=r.height/i.y;if(a){const p=tt(a),h=s&&Mt(s)?tt(s):s;let y=p,v=Vd(y);for(;v&&s&&h!==y;){const b=ur(v),g=v.getBoundingClientRect(),m=Dt(v),x=g.left+(v.clientLeft+parseFloat(m.paddingLeft))*b.x,P=g.top+(v.clientTop+parseFloat(m.paddingTop))*b.y;c*=b.x,d*=b.y,u*=b.x,f*=b.y,c+=x,d+=P,y=tt(v),v=Vd(y)}}return $o({width:u,height:f,x:c,y:d})}function Tl(e,t){const n=Nl(e).scrollLeft;return t?t.left+n:Is(Qt(e)).left+n}function d0(e,t){const n=e.getBoundingClientRect(),s=n.left+t.scrollLeft-Tl(e,n),r=n.top+t.scrollTop;return{x:s,y:r}}function KC(e){let{elements:t,rect:n,offsetParent:s,strategy:r}=e;const a=r==="fixed",i=Qt(s),o=t?El(t.floating):!1;if(s===i||o&&a)return n;let c={scrollLeft:0,scrollTop:0},d=Kt(1);const u=Kt(0),f=xn(s);if((f||!f&&!a)&&((_r(s)!=="body"||ci(i))&&(c=Nl(s)),f)){const h=Is(s);d=ur(s),u.x=h.x+s.clientLeft,u.y=h.y+s.clientTop}const p=i&&!f&&!a?d0(i,c):Kt(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-c.scrollLeft*d.x+u.x+p.x,y:n.y*d.y-c.scrollTop*d.y+u.y+p.y}}function GC(e){return Array.from(e.getClientRects())}function YC(e){const t=Qt(e),n=Nl(e),s=e.ownerDocument.body,r=Ze(t.scrollWidth,t.clientWidth,s.scrollWidth,s.clientWidth),a=Ze(t.scrollHeight,t.clientHeight,s.scrollHeight,s.clientHeight);let i=-n.scrollLeft+Tl(e);const o=-n.scrollTop;return Dt(s).direction==="rtl"&&(i+=Ze(t.clientWidth,s.clientWidth)-r),{width:r,height:a,x:i,y:o}}const am=25;function QC(e,t){const n=tt(e),s=Qt(e),r=n.visualViewport;let a=s.clientWidth,i=s.clientHeight,o=0,c=0;if(r){a=r.width,i=r.height;const u=Lf();(!u||u&&t==="fixed")&&(o=r.offsetLeft,c=r.offsetTop)}const d=Tl(s);if(d<=0){const u=s.ownerDocument,f=u.body,p=getComputedStyle(f),h=u.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,y=Math.abs(s.clientWidth-f.clientWidth-h);y<=am&&(a-=y)}else d<=am&&(a+=d);return{width:a,height:i,x:o,y:c}}function XC(e,t){const n=Is(e,!0,t==="fixed"),s=n.top+e.clientTop,r=n.left+e.clientLeft,a=xn(e)?ur(e):Kt(1),i=e.clientWidth*a.x,o=e.clientHeight*a.y,c=r*a.x,d=s*a.y;return{width:i,height:o,x:c,y:d}}function im(e,t,n){let s;if(t==="viewport")s=QC(e,n);else if(t==="document")s=YC(Qt(e));else if(Mt(t))s=XC(t,n);else{const r=c0(e);s={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return $o(s)}function u0(e,t){const n=Jn(e);return n===t||!Mt(n)||Ar(n)?!1:Dt(n).position==="fixed"||u0(n,t)}function ZC(e,t){const n=t.get(e);if(n)return n;let s=Wa(e,[],!1).filter(o=>Mt(o)&&_r(o)!=="body"),r=null;const a=Dt(e).position==="fixed";let i=a?Jn(e):e;for(;Mt(i)&&!Ar(i);){const o=Dt(i),c=If(i);!c&&o.position==="fixed"&&(r=null),(a?!c&&!r:!c&&o.position==="static"&&!!r&&(r.position==="absolute"||r.position==="fixed")||ci(i)&&!c&&u0(e,i))?s=s.filter(u=>u!==i):r=o,i=Jn(i)}return t.set(e,s),s}function JC(e){let{element:t,boundary:n,rootBoundary:s,strategy:r}=e;const i=[...n==="clippingAncestors"?El(t)?[]:ZC(t,this._c):[].concat(n),s],o=im(t,i[0],r);let c=o.top,d=o.right,u=o.bottom,f=o.left;for(let p=1;p<i.length;p++){const h=im(t,i[p],r);c=Ze(h.top,c),d=Zn(h.right,d),u=Zn(h.bottom,u),f=Ze(h.left,f)}return{width:d-f,height:u-c,x:f,y:c}}function eE(e){const{width:t,height:n}=l0(e);return{width:t,height:n}}function tE(e,t,n){const s=xn(t),r=Qt(t),a=n==="fixed",i=Is(e,!0,a,t);let o={scrollLeft:0,scrollTop:0};const c=Kt(0);function d(){c.x=Tl(r)}if(s||!s&&!a)if((_r(t)!=="body"||ci(r))&&(o=Nl(t)),s){const h=Is(t,!0,a,t);c.x=h.x+t.clientLeft,c.y=h.y+t.clientTop}else r&&d();a&&!s&&r&&d();const u=r&&!s&&!a?d0(r,o):Kt(0),f=i.left+o.scrollLeft-c.x-u.x,p=i.top+o.scrollTop-c.y-u.y;return{x:f,y:p,width:i.width,height:i.height}}function mc(e){return Dt(e).position==="static"}function om(e,t){if(!xn(e)||Dt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Qt(e)===n&&(n=n.ownerDocument.body),n}function f0(e,t){const n=tt(e);if(El(e))return n;if(!xn(e)){let r=Jn(e);for(;r&&!Ar(r);){if(Mt(r)&&!mc(r))return r;r=Jn(r)}return n}let s=om(e,t);for(;s&&HC(s)&&mc(s);)s=om(s,t);return s&&Ar(s)&&mc(s)&&!If(s)?n:s||$C(e)||n}const nE=async function(e){const t=this.getOffsetParent||f0,n=this.getDimensions,s=await n(e.floating);return{reference:tE(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function sE(e){return Dt(e).direction==="rtl"}const rE={convertOffsetParentRelativeRectToViewportRelativeRect:KC,getDocumentElement:Qt,getClippingRect:JC,getOffsetParent:f0,getElementRects:nE,getClientRects:GC,getDimensions:eE,getScale:ur,isElement:Mt,isRTL:sE};function p0(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function aE(e,t){let n=null,s;const r=Qt(e);function a(){var o;clearTimeout(s),(o=n)==null||o.disconnect(),n=null}function i(o,c){o===void 0&&(o=!1),c===void 0&&(c=1),a();const d=e.getBoundingClientRect(),{left:u,top:f,width:p,height:h}=d;if(o||t(),!p||!h)return;const y=Fi(f),v=Fi(r.clientWidth-(u+p)),b=Fi(r.clientHeight-(f+h)),g=Fi(u),x={rootMargin:-y+"px "+-v+"px "+-b+"px "+-g+"px",threshold:Ze(0,Zn(1,c))||1};let P=!0;function S(k){const j=k[0].intersectionRatio;if(j!==c){if(!P)return i();j?i(!1,j):s=setTimeout(()=>{i(!1,1e-7)},1e3)}j===1&&!p0(d,e.getBoundingClientRect())&&i(),P=!1}try{n=new IntersectionObserver(S,{...x,root:r.ownerDocument})}catch{n=new IntersectionObserver(S,x)}n.observe(e)}return i(!0),a}function iE(e,t,n,s){s===void 0&&(s={});const{ancestorScroll:r=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:o=typeof IntersectionObserver=="function",animationFrame:c=!1}=s,d=Of(e),u=r||a?[...d?Wa(d):[],...t?Wa(t):[]]:[];u.forEach(g=>{r&&g.addEventListener("scroll",n,{passive:!0}),a&&g.addEventListener("resize",n)});const f=d&&o?aE(d,n):null;let p=-1,h=null;i&&(h=new ResizeObserver(g=>{let[m]=g;m&&m.target===d&&h&&t&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var x;(x=h)==null||x.observe(t)})),n()}),d&&!c&&h.observe(d),t&&h.observe(t));let y,v=c?Is(e):null;c&&b();function b(){const g=Is(e);v&&!p0(v,g)&&n(),v=g,y=requestAnimationFrame(b)}return n(),()=>{var g;u.forEach(m=>{r&&m.removeEventListener("scroll",n),a&&m.removeEventListener("resize",n)}),f==null||f(),(g=h)==null||g.disconnect(),h=null,c&&cancelAnimationFrame(y)}}const oE=zC,lE=FC,cE=IC,dE=VC,uE=LC,lm=DC,fE=_C,pE=(e,t,n)=>{const s=new Map,r={platform:rE,...n},a={...r.platform,_c:s};return MC(e,t,{...r,platform:a})};var hE=typeof document<"u",mE=function(){},io=hE?w.useLayoutEffect:mE;function Uo(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,s,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(s=n;s--!==0;)if(!Uo(e[s],t[s]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(s=n;s--!==0;)if(!{}.hasOwnProperty.call(t,r[s]))return!1;for(s=n;s--!==0;){const a=r[s];if(!(a==="_owner"&&e.$$typeof)&&!Uo(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function h0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function cm(e,t){const n=h0(e);return Math.round(t*n)/n}function gc(e){const t=w.useRef(e);return io(()=>{t.current=e}),t}function gE(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:s=[],platform:r,elements:{reference:a,floating:i}={},transform:o=!0,whileElementsMounted:c,open:d}=e,[u,f]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=w.useState(s);Uo(p,s)||h(s);const[y,v]=w.useState(null),[b,g]=w.useState(null),m=w.useCallback(E=>{E!==k.current&&(k.current=E,v(E))},[]),x=w.useCallback(E=>{E!==j.current&&(j.current=E,g(E))},[]),P=a||y,S=i||b,k=w.useRef(null),j=w.useRef(null),C=w.useRef(u),R=c!=null,T=gc(c),O=gc(r),I=gc(d),B=w.useCallback(()=>{if(!k.current||!j.current)return;const E={placement:t,strategy:n,middleware:p};O.current&&(E.platform=O.current),pE(k.current,j.current,E).then(M=>{const F={...M,isPositioned:I.current!==!1};D.current&&!Uo(C.current,F)&&(C.current=F,ii.flushSync(()=>{f(F)}))})},[p,t,n,O,I]);io(()=>{d===!1&&C.current.isPositioned&&(C.current.isPositioned=!1,f(E=>({...E,isPositioned:!1})))},[d]);const D=w.useRef(!1);io(()=>(D.current=!0,()=>{D.current=!1}),[]),io(()=>{if(P&&(k.current=P),S&&(j.current=S),P&&S){if(T.current)return T.current(P,S,B);B()}},[P,S,B,T,R]);const W=w.useMemo(()=>({reference:k,floating:j,setReference:m,setFloating:x}),[m,x]),_=w.useMemo(()=>({reference:P,floating:S}),[P,S]),G=w.useMemo(()=>{const E={position:n,left:0,top:0};if(!_.floating)return E;const M=cm(_.floating,u.x),F=cm(_.floating,u.y);return o?{...E,transform:"translate("+M+"px, "+F+"px)",...h0(_.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:F}},[n,o,_.floating,u.x,u.y]);return w.useMemo(()=>({...u,update:B,refs:W,elements:_,floatingStyles:G}),[u,B,W,_,G])}const yE=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:s,padding:r}=typeof e=="function"?e(n):e;return s&&t(s)?s.current!=null?lm({element:s.current,padding:r}).fn(n):{}:s?lm({element:s,padding:r}).fn(n):{}}}},xE=(e,t)=>{const n=oE(e);return{name:n.name,fn:n.fn,options:[e,t]}},vE=(e,t)=>{const n=lE(e);return{name:n.name,fn:n.fn,options:[e,t]}},wE=(e,t)=>({fn:fE(e).fn,options:[e,t]}),bE=(e,t)=>{const n=cE(e);return{name:n.name,fn:n.fn,options:[e,t]}},PE=(e,t)=>{const n=dE(e);return{name:n.name,fn:n.fn,options:[e,t]}},SE=(e,t)=>{const n=uE(e);return{name:n.name,fn:n.fn,options:[e,t]}},kE=(e,t)=>{const n=yE(e);return{name:n.name,fn:n.fn,options:[e,t]}};var jE="Arrow",m0=w.forwardRef((e,t)=>{const{children:n,width:s=10,height:r=5,...a}=e;return l.jsx(We.svg,{...a,ref:t,width:s,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});m0.displayName=jE;var CE=m0;function EE(e){const[t,n]=w.useState(void 0);return dn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const s=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const a=r[0];let i,o;if("borderBoxSize"in a){const c=a.borderBoxSize,d=Array.isArray(c)?c[0]:c;i=d.inlineSize,o=d.blockSize}else i=e.offsetWidth,o=e.offsetHeight;n({width:i,height:o})});return s.observe(e,{box:"border-box"}),()=>s.unobserve(e)}else n(void 0)},[e]),t}var g0="Popper",[y0,x0]=bl(g0),[r3,v0]=y0(g0),w0="PopperAnchor",b0=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:s,...r}=e,a=v0(w0,n),i=w.useRef(null),o=a.onAnchorChange,c=w.useCallback(y=>{i.current=y,y&&o(y)},[o]),d=Rt(t,c),u=w.useRef(null);w.useEffect(()=>{if(!s)return;const y=u.current;u.current=s.current,y!==u.current&&o(u.current)});const f=a.placementState&&Ff(a.placementState),p=f==null?void 0:f[0],h=f==null?void 0:f[1];return s?null:l.jsx(We.div,{"data-radix-popper-side":p,"data-radix-popper-align":h,...r,ref:d})});b0.displayName=w0;var zf="PopperContent",[NE,TE]=y0(zf),P0=w.forwardRef((e,t)=>{var bp,Pp,Sp,kp,jp,Cp;const{__scopePopper:n,side:s="bottom",sideOffset:r=0,align:a="center",alignOffset:i=0,arrowPadding:o=0,avoidCollisions:c=!0,collisionBoundary:d,collisionPadding:u=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:h="optimized",onPlaced:y,...v}=e,b=v0(zf,n),[g,m]=w.useState(null),x=Rt(t,Ur=>m(Ur)),[P,S]=w.useState(null),k=EE(P),j=(k==null?void 0:k.width)??0,C=(k==null?void 0:k.height)??0,R=s+(a!=="center"?"-"+a:""),T=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},O=d?Array.isArray(d)?d:[d]:void 0,I=O!==void 0&&O.length>0,B={padding:T,boundary:O==null?void 0:O.filter(RE),altBoundary:I},{refs:D,floatingStyles:W,placement:_,isPositioned:G,middlewareData:E}=gE({strategy:"fixed",placement:R,whileElementsMounted:(...Ur)=>iE(...Ur,{animationFrame:h==="always"}),elements:{reference:b.anchor},middleware:[xE({mainAxis:r+C,alignmentAxis:i}),c&&vE({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?wE():void 0,...B}),c&&bE({...B}),PE({...B,apply:({elements:Ur,rects:Ep,availableWidth:r1,availableHeight:a1})=>{const{width:i1,height:o1}=Ep.reference,gi=Ur.floating.style;gi.setProperty("--radix-popper-available-width",`${r1}px`),gi.setProperty("--radix-popper-available-height",`${a1}px`),gi.setProperty("--radix-popper-anchor-width",`${i1}px`),gi.setProperty("--radix-popper-anchor-height",`${o1}px`)}}),P&&kE({element:P,padding:o}),ME({arrowWidth:j,arrowHeight:C}),p&&SE({strategy:"referenceHidden",...B})]}),M=b.setPlacementState;dn(()=>(M(_),()=>{M(void 0)}),[_,M]);const[F,H]=Ff(_),X=Qn(y);dn(()=>{G&&(X==null||X())},[G,X]);const yt=(bp=E.arrow)==null?void 0:bp.x,it=(Pp=E.arrow)==null?void 0:Pp.y,$r=((Sp=E.arrow)==null?void 0:Sp.centerOffset)!==0,[Xt,_s]=w.useState();return dn(()=>{g&&_s(window.getComputedStyle(g).zIndex)},[g]),l.jsx("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:G?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Xt,"--radix-popper-transform-origin":[(kp=E.transformOrigin)==null?void 0:kp.x,(jp=E.transformOrigin)==null?void 0:jp.y].join(" "),...((Cp=E.hide)==null?void 0:Cp.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(NE,{scope:n,placedSide:F,placedAlign:H,onArrowChange:S,arrowX:yt,arrowY:it,shouldHideArrow:$r,children:l.jsx(We.div,{"data-side":F,"data-align":H,...v,ref:x,style:{...v.style,animation:G?void 0:"none"}})})})});P0.displayName=zf;var S0="PopperArrow",AE={top:"bottom",right:"left",bottom:"top",left:"right"},k0=w.forwardRef(function(t,n){const{__scopePopper:s,...r}=t,a=TE(S0,s),i=AE[a.placedSide];return l.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:l.jsx(CE,{...r,ref:n,style:{...r.style,display:"block"}})})});k0.displayName=S0;function RE(e){return e!==null}var ME=e=>({name:"transformOrigin",options:e,fn(t){var b,g,m;const{placement:n,rects:s,middlewareData:r}=t,i=((b=r.arrow)==null?void 0:b.centerOffset)!==0,o=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[d,u]=Ff(n),f={start:"0%",center:"50%",end:"100%"}[u],p=(((g=r.arrow)==null?void 0:g.x)??0)+o/2,h=(((m=r.arrow)==null?void 0:m.y)??0)+c/2;let y="",v="";return d==="bottom"?(y=i?f:`${p}px`,v=`${-c}px`):d==="top"?(y=i?f:`${p}px`,v=`${s.floating.height+c}px`):d==="right"?(y=`${-c}px`,v=i?f:`${h}px`):d==="left"&&(y=`${s.floating.width+c}px`,v=i?f:`${h}px`),{data:{x:y,y:v}}}});function Ff(e){const[t,n="center"]=e.split("-");return[t,n]}var DE=b0,IE=P0,LE=k0,[Al]=bl("Tooltip",[x0]),_f=x0(),j0="TooltipProvider",OE=700,dm="tooltip.open",[zE,C0]=Al(j0),E0=e=>{const{__scopeTooltip:t,delayDuration:n=OE,skipDelayDuration:s=300,disableHoverableContent:r=!1,children:a}=e,i=w.useRef(!0),o=w.useRef(!1),c=w.useRef(0);return w.useEffect(()=>{const d=c.current;return()=>window.clearTimeout(d)},[]),l.jsx(zE,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:w.useCallback(()=>{s<=0||(window.clearTimeout(c.current),i.current=!1)},[s]),onClose:w.useCallback(()=>{s<=0||(window.clearTimeout(c.current),c.current=window.setTimeout(()=>i.current=!0,s))},[s]),isPointerInTransitRef:o,onPointerInTransitChange:w.useCallback(d=>{o.current=d},[]),disableHoverableContent:r,children:a})};E0.displayName=j0;var N0="Tooltip",[a3,di]=Al(N0),Hd="TooltipTrigger",FE=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...s}=e,r=di(Hd,n),a=C0(Hd,n),i=_f(n),o=w.useRef(null),c=Rt(t,o,r.onTriggerChange),d=w.useRef(!1),u=w.useRef(!1),f=w.useCallback(()=>d.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),l.jsx(DE,{asChild:!0,...i,children:l.jsx(We.button,{"aria-describedby":r.open?r.contentId:void 0,"data-state":r.stateAttribute,...s,ref:c,onPointerMove:xe(e.onPointerMove,p=>{p.pointerType!=="touch"&&!u.current&&!a.isPointerInTransitRef.current&&(r.onTriggerEnter(),u.current=!0)}),onPointerLeave:xe(e.onPointerLeave,()=>{r.onTriggerLeave(),u.current=!1}),onPointerDown:xe(e.onPointerDown,()=>{r.open&&r.onClose(),d.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:xe(e.onFocus,()=>{d.current||r.onOpen()}),onBlur:xe(e.onBlur,r.onClose),onClick:xe(e.onClick,r.onClose)})})});FE.displayName=Hd;var Vf="TooltipPortal",[_E,VE]=Al(Vf,{forceMount:void 0}),T0=e=>{const{__scopeTooltip:t,forceMount:n,children:s,container:r}=e,a=di(Vf,t);return l.jsx(_E,{scope:t,forceMount:n,children:l.jsx(Pl,{present:n||a.open,children:l.jsx(Sf,{asChild:!0,container:r,children:s})})})};T0.displayName=Vf;var Rr="TooltipContent",A0=w.forwardRef((e,t)=>{const n=VE(Rr,e.__scopeTooltip),{forceMount:s=n.forceMount,side:r="top",...a}=e,i=di(Rr,e.__scopeTooltip);return l.jsx(Pl,{present:s||i.open,children:i.disableHoverableContent?l.jsx(R0,{side:r,...a,ref:t}):l.jsx(HE,{side:r,...a,ref:t})})}),HE=w.forwardRef((e,t)=>{const n=di(Rr,e.__scopeTooltip),s=C0(Rr,e.__scopeTooltip),r=w.useRef(null),a=Rt(t,r),[i,o]=w.useState(null),{trigger:c,onClose:d}=n,u=r.current,{onPointerInTransitChange:f}=s,p=w.useCallback(()=>{o(null),f(!1)},[f]),h=w.useCallback((y,v)=>{const b=y.currentTarget,g={x:y.clientX,y:y.clientY},m=qE(g,b.getBoundingClientRect()),x=KE(g,m),P=GE(v.getBoundingClientRect()),S=QE([...x,...P]);o(S),f(!0)},[f]);return w.useEffect(()=>()=>p(),[p]),w.useEffect(()=>{if(c&&u){const y=b=>h(b,u),v=b=>h(b,c);return c.addEventListener("pointerleave",y),u.addEventListener("pointerleave",v),()=>{c.removeEventListener("pointerleave",y),u.removeEventListener("pointerleave",v)}}},[c,u,h,p]),w.useEffect(()=>{if(i){const y=v=>{const b=v.target,g={x:v.clientX,y:v.clientY},m=(c==null?void 0:c.contains(b))||(u==null?void 0:u.contains(b)),x=!YE(g,i);m?p():x&&(p(),d())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[c,u,i,d,p]),l.jsx(R0,{...e,ref:a})}),[BE,WE]=Al(N0,{isInside:!1}),$E=$S("TooltipContent"),R0=w.forwardRef((e,t)=>{const{__scopeTooltip:n,children:s,"aria-label":r,onEscapeKeyDown:a,onPointerDownOutside:i,...o}=e,c=di(Rr,n),d=_f(n),{onClose:u}=c;return w.useEffect(()=>(document.addEventListener(dm,u),()=>document.removeEventListener(dm,u)),[u]),w.useEffect(()=>{if(c.trigger){const f=p=>{p.target instanceof Node&&p.target.contains(c.trigger)&&u()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,u]),l.jsx(Pf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:u,children:l.jsxs(IE,{"data-state":c.stateAttribute,...d,...o,ref:t,style:{...o.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[l.jsx($E,{children:s}),l.jsx(BE,{scope:n,isInside:!0,children:l.jsx(bk,{id:c.contentId,role:"tooltip",children:r||s})})]})})});A0.displayName=Rr;var M0="TooltipArrow",UE=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...s}=e,r=_f(n);return WE(M0,n).isInside?null:l.jsx(LE,{...r,...s,ref:t})});UE.displayName=M0;function qE(e,t){const n=Math.abs(t.top-e.y),s=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,s,r,a)){case a:return"left";case r:return"right";case n:return"top";case s:return"bottom";default:throw new Error("unreachable")}}function KE(e,t,n=5){const s=[];switch(t){case"top":s.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":s.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":s.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":s.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return s}function GE(e){const{top:t,right:n,bottom:s,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:s},{x:r,y:s}]}function YE(e,t){const{x:n,y:s}=e;let r=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const o=t[a],c=t[i],d=o.x,u=o.y,f=c.x,p=c.y;u>s!=p>s&&n<(f-d)*(s-u)/(p-u)+d&&(r=!r)}return r}function QE(e){const t=e.slice();return t.sort((n,s)=>n.x<s.x?-1:n.x>s.x?1:n.y<s.y?-1:n.y>s.y?1:0),XE(t)}function XE(e){if(e.length<=1)return e.slice();const t=[];for(let s=0;s<e.length;s++){const r=e[s];for(;t.length>=2;){const a=t[t.length-1],i=t[t.length-2];if((a.x-i.x)*(r.y-i.y)>=(a.y-i.y)*(r.x-i.x))t.pop();else break}t.push(r)}t.pop();const n=[];for(let s=e.length-1;s>=0;s--){const r=e[s];for(;n.length>=2;){const a=n[n.length-1],i=n[n.length-2];if((a.x-i.x)*(r.y-i.y)>=(a.y-i.y)*(r.x-i.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var ZE=E0,JE=T0,D0=A0;const e2=ZE,t2=w.forwardRef(({className:e,sideOffset:t=4,...n},s)=>l.jsx(JE,{children:l.jsx(D0,{ref:s,sideOffset:t,className:Se("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})}));t2.displayName=D0.displayName;var Rl=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(){}},gs,Tn,hr,Xg,n2=(Xg=class extends Rl{constructor(){super();K(this,gs);K(this,Tn);K(this,hr);V(this,hr,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){N(this,Tn)||this.setEventListener(N(this,hr))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,Tn))==null||t.call(this),V(this,Tn,void 0))}setEventListener(t){var n;V(this,hr,t),(n=N(this,Tn))==null||n.call(this),V(this,Tn,t(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(t){N(this,gs)!==t&&(V(this,gs,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof N(this,gs)=="boolean"?N(this,gs):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},gs=new WeakMap,Tn=new WeakMap,hr=new WeakMap,Xg),I0=new n2,s2={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},An,ku,Zg,r2=(Zg=class{constructor(){K(this,An,s2);K(this,ku,!1)}setTimeoutProvider(e){V(this,An,e)}setTimeout(e,t){return N(this,An).setTimeout(e,t)}clearTimeout(e){N(this,An).clearTimeout(e)}setInterval(e,t){return N(this,An).setInterval(e,t)}clearInterval(e){N(this,An).clearInterval(e)}},An=new WeakMap,ku=new WeakMap,Zg),Bd=new r2;function a2(e){setTimeout(e,0)}var i2=typeof window>"u"||"Deno"in globalThis;function Pt(){}function o2(e,t){return typeof e=="function"?e(t):e}function l2(e){return typeof e=="number"&&e>=0&&e!==1/0}function c2(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Wd(e,t){return typeof e=="function"?e(t):e}function d2(e,t){return typeof e=="function"?e(t):e}function um(e,t){const{type:n="all",exact:s,fetchStatus:r,predicate:a,queryKey:i,stale:o}=e;if(i){if(s){if(t.queryHash!==Hf(i,t.options))return!1}else if(!Ua(t.queryKey,i))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof o=="boolean"&&t.isStale()!==o||r&&r!==t.state.fetchStatus||a&&!a(t))}function fm(e,t){const{exact:n,status:s,predicate:r,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if($a(t.options.mutationKey)!==$a(a))return!1}else if(!Ua(t.options.mutationKey,a))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function Hf(e,t){return((t==null?void 0:t.queryKeyHashFn)||$a)(e)}function $a(e){return JSON.stringify(e,(t,n)=>$d(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function Ua(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Ua(e[n],t[n])):!1}var u2=Object.prototype.hasOwnProperty;function L0(e,t,n=0){if(e===t)return e;if(n>500)return t;const s=pm(e)&&pm(t);if(!s&&!($d(e)&&$d(t)))return t;const a=(s?e:Object.keys(e)).length,i=s?t:Object.keys(t),o=i.length,c=s?new Array(o):{};let d=0;for(let u=0;u<o;u++){const f=s?u:i[u],p=e[f],h=t[f];if(p===h){c[f]=p,(s?u<a:u2.call(e,f))&&d++;continue}if(p===null||h===null||typeof p!="object"||typeof h!="object"){c[f]=h;continue}const y=L0(p,h,n+1);c[f]=y,y===p&&d++}return a===o&&d===a?e:c}function pm(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function $d(e){if(!hm(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!hm(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function hm(e){return Object.prototype.toString.call(e)==="[object Object]"}function f2(e){return new Promise(t=>{Bd.setTimeout(t,e)})}function p2(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?L0(e,t):t}function h2(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function m2(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var Bf=Symbol();function O0(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Bf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function g2(e,t,n){let s=!1,r;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(r??(r=t()),s||(s=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)}),e}var z0=(()=>{let e=()=>i2;return{isServer(){return e()},setIsServer(t){e=t}}})();function y2(){let e,t;const n=new Promise((r,a)=>{e=r,t=a});n.status="pending",n.catch(()=>{});function s(r){Object.assign(n,r),delete n.resolve,delete n.reject}return n.resolve=r=>{s({status:"fulfilled",value:r}),e(r)},n.reject=r=>{s({status:"rejected",reason:r}),t(r)},n}var x2=a2;function v2(){let e=[],t=0,n=o=>{o()},s=o=>{o()},r=x2;const a=o=>{t?e.push(o):r(()=>{n(o)})},i=()=>{const o=e;e=[],o.length&&r(()=>{s(()=>{o.forEach(c=>{n(c)})})})};return{batch:o=>{let c;t++;try{c=o()}finally{t--,t||i()}return c},batchCalls:o=>(...c)=>{a(()=>{o(...c)})},schedule:a,setNotifyFunction:o=>{n=o},setBatchNotifyFunction:o=>{s=o},setScheduler:o=>{r=o}}}var ze=v2(),mr,Rn,gr,Jg,w2=(Jg=class extends Rl{constructor(){super();K(this,mr,!0);K(this,Rn);K(this,gr);V(this,gr,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",s)}}})}onSubscribe(){N(this,Rn)||this.setEventListener(N(this,gr))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,Rn))==null||t.call(this),V(this,Rn,void 0))}setEventListener(t){var n;V(this,gr,t),(n=N(this,Rn))==null||n.call(this),V(this,Rn,t(this.setOnline.bind(this)))}setOnline(t){N(this,mr)!==t&&(V(this,mr,t),this.listeners.forEach(s=>{s(t)}))}isOnline(){return N(this,mr)}},mr=new WeakMap,Rn=new WeakMap,gr=new WeakMap,Jg),qo=new w2;function b2(e){return Math.min(1e3*2**e,3e4)}function F0(e){return(e??"online")==="online"?qo.isOnline():!0}var Ud=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function _0(e){let t=!1,n=0,s;const r=y2(),a=()=>r.status!=="pending",i=v=>{var b;if(!a()){const g=new Ud(v);p(g),(b=e.onCancel)==null||b.call(e,g)}},o=()=>{t=!0},c=()=>{t=!1},d=()=>I0.isFocused()&&(e.networkMode==="always"||qo.isOnline())&&e.canRun(),u=()=>F0(e.networkMode)&&e.canRun(),f=v=>{a()||(s==null||s(),r.resolve(v))},p=v=>{a()||(s==null||s(),r.reject(v))},h=()=>new Promise(v=>{var b;s=g=>{(a()||d())&&v(g)},(b=e.onPause)==null||b.call(e)}).then(()=>{var v;s=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 k;if(a())return;const m=e.retry??(z0.isServer()?0:3),x=e.retryDelay??b2,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){p(g);return}n++,(k=e.onFail)==null||k.call(e,n,g),f2(P).then(()=>d()?void 0:h()).then(()=>{t?p(g):y()})})};return{promise:r,status:()=>r.status,cancel:i,continue:()=>(s==null||s(),r),cancelRetry:o,continueRetry:c,canStart:u,start:()=>(u()?y():h().then(y),r)}}var ys,ey,V0=(ey=class{constructor(){K(this,ys)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),l2(this.gcTime)&&V(this,ys,Bd.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(z0.isServer()?1/0:5*60*1e3))}clearGcTimeout(){N(this,ys)!==void 0&&(Bd.clearTimeout(N(this,ys)),V(this,ys,void 0))}},ys=new WeakMap,ey);function P2(e){return{onFetch:(t,n)=>{var u,f,p,h,y;const s=t.options,r=(p=(f=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:f.fetchMore)==null?void 0:p.direction,a=((h=t.state.data)==null?void 0:h.pages)||[],i=((y=t.state.data)==null?void 0:y.pageParams)||[];let o={pages:[],pageParams:[]},c=0;const d=async()=>{let v=!1;const b=x=>{g2(x,()=>t.signal,()=>v=!0)},g=O0(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 O={client:t.client,queryKey:t.queryKey,pageParam:P,direction:S?"backward":"forward",meta:t.options.meta};return b(O),O})(),C=await g(j),{maxPages:R}=t.options,T=S?m2:h2;return{pages:T(x.pages,C,R),pageParams:T(x.pageParams,P,R)}};if(r&&a.length){const x=r==="backward",P=x?S2:mm,S={pages:a,pageParams:i},k=P(s,S);o=await m(S,k,x)}else{const x=e??a.length;do{const P=c===0?i[0]??s.initialPageParam:mm(s,o);if(c>0&&P==null)break;o=await m(o,P),c++}while(c<x)}return o};t.options.persister?t.fetchFn=()=>{var v,b;return(b=(v=t.options).persister)==null?void 0:b.call(v,d,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=d}}}function mm(e,{pages:t,pageParams:n}){const s=t.length-1;return t.length>0?e.getNextPageParam(t[s],t,n[s],n):void 0}function S2(e,{pages:t,pageParams:n}){var s;return t.length>0?(s=e.getPreviousPageParam)==null?void 0:s.call(e,t[0],t,n[0],n):void 0}var yr,xs,xr,lt,vs,we,Za,ws,Xe,H0,tn,ty,k2=(ty=class extends V0{constructor(t){super();K(this,Xe);K(this,yr);K(this,xs);K(this,xr);K(this,lt);K(this,vs);K(this,we);K(this,Za);K(this,ws);V(this,ws,!1),V(this,Za,t.defaultOptions),this.setOptions(t.options),this.observers=[],V(this,vs,t.client),V(this,lt,N(this,vs).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,V(this,xs,ym(this.options)),this.state=t.state??N(this,xs),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return N(this,yr)}get promise(){var t;return(t=N(this,we))==null?void 0:t.promise}setOptions(t){if(this.options={...N(this,Za),...t},t!=null&&t._type&&V(this,yr,t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=ym(this.options);n.data!==void 0&&(this.setState(gm(n.data,n.dataUpdatedAt)),V(this,xs,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&N(this,lt).remove(this)}setData(t,n){const s=p2(this.state.data,t,this.options);return ke(this,Xe,tn).call(this,{data:s,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),s}setState(t){ke(this,Xe,tn).call(this,{type:"setState",state:t})}cancel(t){var s,r;const n=(s=N(this,we))==null?void 0:s.promise;return(r=N(this,we))==null||r.cancel(t),n?n.then(Pt).catch(Pt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return N(this,xs)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>d2(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Bf||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Wd(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:!c2(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(s=>s.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,we))==null||n.continue()}onOnline(){var n;const t=this.observers.find(s=>s.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,we))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),N(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||(N(this,we)&&(N(this,ws)||ke(this,Xe,H0).call(this)?N(this,we).cancel({revert:!0}):N(this,we).cancelRetry()),this.scheduleGc()),N(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 d,u,f,p,h,y,v,b,g,m,x;if(this.state.fetchStatus!=="idle"&&((d=N(this,we))==null?void 0:d.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(N(this,we))return N(this,we).continueRetry(),N(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 s=new AbortController,r=P=>{Object.defineProperty(P,"signal",{enumerable:!0,get:()=>(V(this,ws,!0),s.signal)})},a=()=>{const P=O0(this.options,n),k=(()=>{const j={client:N(this,vs),queryKey:this.queryKey,meta:this.meta};return r(j),j})();return V(this,ws,!1),this.options.persister?this.options.persister(P,k,this):P(k)},o=(()=>{const P={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:N(this,vs),state:this.state,fetchFn:a};return r(P),P})(),c=N(this,yr)==="infinite"?P2(this.options.pages):this.options.behavior;c==null||c.onFetch(o,this),V(this,xr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=o.fetchOptions)==null?void 0:u.meta))&&ke(this,Xe,tn).call(this,{type:"fetch",meta:(f=o.fetchOptions)==null?void 0:f.meta}),V(this,we,_0({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,onCancel:P=>{P instanceof Ud&&P.revert&&this.setState({...N(this,xr),fetchStatus:"idle"}),s.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 N(this,we).start();if(P===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(P),(h=(p=N(this,lt).config).onSuccess)==null||h.call(p,P,this),(v=(y=N(this,lt).config).onSettled)==null||v.call(y,P,this.state.error,this),P}catch(P){if(P instanceof Ud){if(P.silent)return N(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=N(this,lt).config).onError)==null||g.call(b,P,this),(x=(m=N(this,lt).config).onSettled)==null||x.call(m,this.state.data,P,this),P}finally{this.scheduleGc()}}},yr=new WeakMap,xs=new WeakMap,xr=new WeakMap,lt=new WeakMap,vs=new WeakMap,we=new WeakMap,Za=new WeakMap,ws=new WeakMap,Xe=new WeakSet,H0=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},tn=function(t){const n=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...j2(s.data,this.options),fetchMeta:t.meta??null};case"success":const r={...s,...gm(t.data,t.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return V(this,xr,t.manual?r:void 0),r;case"error":const a=t.error;return{...s,error:a,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=n(this.state),ze.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),N(this,lt).notify({query:this,type:"updated",action:t})})},ty);function j2(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:F0(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function gm(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function ym(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,s=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Ja,Ft,De,bs,_t,Sn,ny,C2=(ny=class extends V0{constructor(t){super();K(this,_t);K(this,Ja);K(this,Ft);K(this,De);K(this,bs);V(this,Ja,t.client),this.mutationId=t.mutationId,V(this,De,t.mutationCache),V(this,Ft,[]),this.state=t.state||E2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){N(this,Ft).includes(t)||(N(this,Ft).push(t),this.clearGcTimeout(),N(this,De).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){V(this,Ft,N(this,Ft).filter(n=>n!==t)),this.scheduleGc(),N(this,De).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){N(this,Ft).length||(this.state.status==="pending"?this.scheduleGc():N(this,De).remove(this))}continue(){var t;return((t=N(this,bs))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,c,d,u,f,p,h,y,v,b,g,m,x,P,S,k,j;const n=()=>{ke(this,_t,Sn).call(this,{type:"continue"})},s={client:N(this,Ja),meta:this.options.meta,mutationKey:this.options.mutationKey};V(this,bs,_0({fn:()=>this.options.mutationFn?this.options.mutationFn(t,s):Promise.reject(new Error("No mutationFn found")),onFail:(C,R)=>{ke(this,_t,Sn).call(this,{type:"failed",failureCount:C,error:R})},onPause:()=>{ke(this,_t,Sn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>N(this,De).canRun(this)}));const r=this.state.status==="pending",a=!N(this,bs).canStart();try{if(r)n();else{ke(this,_t,Sn).call(this,{type:"pending",variables:t,isPaused:a}),N(this,De).config.onMutate&&await N(this,De).config.onMutate(t,this,s);const R=await((o=(i=this.options).onMutate)==null?void 0:o.call(i,t,s));R!==this.state.context&&ke(this,_t,Sn).call(this,{type:"pending",context:R,variables:t,isPaused:a})}const C=await N(this,bs).start();return await((d=(c=N(this,De).config).onSuccess)==null?void 0:d.call(c,C,t,this.state.context,this,s)),await((f=(u=this.options).onSuccess)==null?void 0:f.call(u,C,t,this.state.context,s)),await((h=(p=N(this,De).config).onSettled)==null?void 0:h.call(p,C,null,this.state.variables,this.state.context,this,s)),await((v=(y=this.options).onSettled)==null?void 0:v.call(y,C,null,t,this.state.context,s)),ke(this,_t,Sn).call(this,{type:"success",data:C}),C}catch(C){try{await((g=(b=N(this,De).config).onError)==null?void 0:g.call(b,C,t,this.state.context,this,s))}catch(R){Promise.reject(R)}try{await((x=(m=this.options).onError)==null?void 0:x.call(m,C,t,this.state.context,s))}catch(R){Promise.reject(R)}try{await((S=(P=N(this,De).config).onSettled)==null?void 0:S.call(P,void 0,C,this.state.variables,this.state.context,this,s))}catch(R){Promise.reject(R)}try{await((j=(k=this.options).onSettled)==null?void 0:j.call(k,void 0,C,t,this.state.context,s))}catch(R){Promise.reject(R)}throw ke(this,_t,Sn).call(this,{type:"error",error:C}),C}finally{N(this,De).runNext(this)}}},Ja=new WeakMap,Ft=new WeakMap,De=new WeakMap,bs=new WeakMap,_t=new WeakSet,Sn=function(t){const n=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),ze.batch(()=>{N(this,Ft).forEach(s=>{s.onMutationUpdate(t)}),N(this,De).notify({mutation:this,type:"updated",action:t})})},ny);function E2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var an,St,ei,sy,N2=(sy=class extends Rl{constructor(t={}){super();K(this,an);K(this,St);K(this,ei);this.config=t,V(this,an,new Set),V(this,St,new Map),V(this,ei,0)}build(t,n,s){const r=new C2({client:t,mutationCache:this,mutationId:++yi(this,ei)._,options:t.defaultMutationOptions(n),state:s});return this.add(r),r}add(t){N(this,an).add(t);const n=_i(t);if(typeof n=="string"){const s=N(this,St).get(n);s?s.push(t):N(this,St).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(N(this,an).delete(t)){const n=_i(t);if(typeof n=="string"){const s=N(this,St).get(n);if(s)if(s.length>1){const r=s.indexOf(t);r!==-1&&s.splice(r,1)}else s[0]===t&&N(this,St).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=_i(t);if(typeof n=="string"){const s=N(this,St).get(n),r=s==null?void 0:s.find(a=>a.state.status==="pending");return!r||r===t}else return!0}runNext(t){var s;const n=_i(t);if(typeof n=="string"){const r=(s=N(this,St).get(n))==null?void 0:s.find(a=>a!==t&&a.state.isPaused);return(r==null?void 0:r.continue())??Promise.resolve()}else return Promise.resolve()}clear(){ze.batch(()=>{N(this,an).forEach(t=>{this.notify({type:"removed",mutation:t})}),N(this,an).clear(),N(this,St).clear()})}getAll(){return Array.from(N(this,an))}find(t){const n={exact:!0,...t};return this.getAll().find(s=>fm(n,s))}findAll(t={}){return this.getAll().filter(n=>fm(t,n))}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return ze.batch(()=>Promise.all(t.map(n=>n.continue().catch(Pt))))}},an=new WeakMap,St=new WeakMap,ei=new WeakMap,sy);function _i(e){var t;return(t=e.options.scope)==null?void 0:t.id}var Vt,ry,T2=(ry=class extends Rl{constructor(t={}){super();K(this,Vt);this.config=t,V(this,Vt,new Map)}build(t,n,s){const r=n.queryKey,a=n.queryHash??Hf(r,n);let i=this.get(a);return i||(i=new k2({client:t,queryKey:r,queryHash:a,options:t.defaultQueryOptions(n),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(i)),i}add(t){N(this,Vt).has(t.queryHash)||(N(this,Vt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=N(this,Vt).get(t.queryHash);n&&(t.destroy(),n===t&&N(this,Vt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ze.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return N(this,Vt).get(t)}getAll(){return[...N(this,Vt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(s=>um(n,s))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(s=>um(t,s)):n}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){ze.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ze.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Vt=new WeakMap,ry),ce,Mn,Dn,vr,wr,In,br,Pr,ay,A2=(ay=class{constructor(e={}){K(this,ce);K(this,Mn);K(this,Dn);K(this,vr);K(this,wr);K(this,In);K(this,br);K(this,Pr);V(this,ce,e.queryCache||new T2),V(this,Mn,e.mutationCache||new N2),V(this,Dn,e.defaultOptions||{}),V(this,vr,new Map),V(this,wr,new Map),V(this,In,0)}mount(){yi(this,In)._++,N(this,In)===1&&(V(this,br,I0.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,ce).onFocus())})),V(this,Pr,qo.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,ce).onOnline())})))}unmount(){var e,t;yi(this,In)._--,N(this,In)===0&&((e=N(this,br))==null||e.call(this),V(this,br,void 0),(t=N(this,Pr))==null||t.call(this),V(this,Pr,void 0))}isFetching(e){return N(this,ce).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return N(this,Mn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,ce).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=N(this,ce).build(this,t),s=n.state.data;return s===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Wd(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(s))}getQueriesData(e){return N(this,ce).findAll(e).map(({queryKey:t,state:n})=>{const s=n.data;return[t,s]})}setQueryData(e,t,n){const s=this.defaultQueryOptions({queryKey:e}),r=N(this,ce).get(s.queryHash),a=r==null?void 0:r.state.data,i=o2(t,a);if(i!==void 0)return N(this,ce).build(this,s).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return ze.batch(()=>N(this,ce).findAll(e).map(({queryKey:s})=>[s,this.setQueryData(s,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,ce).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=N(this,ce);ze.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=N(this,ce);return ze.batch(()=>(n.findAll(e).forEach(s=>{s.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},s=ze.batch(()=>N(this,ce).findAll(e).map(r=>r.cancel(n)));return Promise.all(s).then(Pt).catch(Pt)}invalidateQueries(e,t={}){return ze.batch(()=>(N(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},s=ze.batch(()=>N(this,ce).findAll(e).filter(r=>!r.isDisabled()&&!r.isStatic()).map(r=>{let a=r.fetch(void 0,n);return n.throwOnError||(a=a.catch(Pt)),r.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(s).then(Pt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=N(this,ce).build(this,t);return n.isStaleByTime(Wd(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Pt).catch(Pt)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Pt).catch(Pt)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return qo.isOnline()?N(this,Mn).resumePausedMutations():Promise.resolve()}getQueryCache(){return N(this,ce)}getMutationCache(){return N(this,Mn)}getDefaultOptions(){return N(this,Dn)}setDefaultOptions(e){V(this,Dn,e)}setQueryDefaults(e,t){N(this,vr).set($a(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...N(this,vr).values()],n={};return t.forEach(s=>{Ua(e,s.queryKey)&&Object.assign(n,s.defaultOptions)}),n}setMutationDefaults(e,t){N(this,wr).set($a(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...N(this,wr).values()],n={};return t.forEach(s=>{Ua(e,s.mutationKey)&&Object.assign(n,s.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...N(this,Dn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Hf(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===Bf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...N(this,Dn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){N(this,ce).clear(),N(this,Mn).clear()}},ce=new WeakMap,Mn=new WeakMap,Dn=new WeakMap,vr=new WeakMap,wr=new WeakMap,In=new WeakMap,br=new WeakMap,Pr=new WeakMap,ay),R2=w.createContext(void 0),M2=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(R2.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 qa(){return qa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)({}).hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},qa.apply(null,arguments)}var zn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(zn||(zn={}));const xm="popstate";function D2(e){e===void 0&&(e={});function t(s,r){let{pathname:a,search:i,hash:o}=s.location;return qd("",{pathname:a,search:i,hash:o},r.state&&r.state.usr||null,r.state&&r.state.key||"default")}function n(s,r){return typeof r=="string"?r:Ko(r)}return L2(t,n,null,e)}function me(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Wf(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function I2(){return Math.random().toString(36).substr(2,8)}function vm(e,t){return{usr:e.state,key:e.key,idx:t}}function qd(e,t,n,s){return n===void 0&&(n=null),qa({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Vr(t):t,{state:n,key:t&&t.key||s||I2()})}function Ko(e){let{pathname:t="/",search:n="",hash:s=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),s&&s!=="#"&&(t+=s.charAt(0)==="#"?s:"#"+s),t}function Vr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let s=e.indexOf("?");s>=0&&(t.search=e.substr(s),e=e.substr(0,s)),e&&(t.pathname=e)}return t}function L2(e,t,n,s){s===void 0&&(s={});let{window:r=document.defaultView,v5Compat:a=!1}=s,i=r.history,o=zn.Pop,c=null,d=u();d==null&&(d=0,i.replaceState(qa({},i.state,{idx:d}),""));function u(){return(i.state||{idx:null}).idx}function f(){o=zn.Pop;let b=u(),g=b==null?null:b-d;d=b,c&&c({action:o,location:v.location,delta:g})}function p(b,g){o=zn.Push;let m=qd(v.location,b,g);d=u()+1;let x=vm(m,d),P=v.createHref(m);try{i.pushState(x,"",P)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;r.location.assign(P)}a&&c&&c({action:o,location:v.location,delta:1})}function h(b,g){o=zn.Replace;let m=qd(v.location,b,g);d=u();let x=vm(m,d),P=v.createHref(m);i.replaceState(x,"",P),a&&c&&c({action:o,location:v.location,delta:0})}function y(b){let g=r.location.origin!=="null"?r.location.origin:r.location.href,m=typeof b=="string"?b:Ko(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(r,i)},listen(b){if(c)throw new Error("A history only accepts one active listener");return r.addEventListener(xm,f),c=b,()=>{r.removeEventListener(xm,f),c=null}},createHref(b){return t(r,b)},createURL:y,encodeLocation(b){let g=y(b);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:p,replace:h,go(b){return i.go(b)}};return v}var wm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(wm||(wm={}));function O2(e,t,n){return n===void 0&&(n="/"),z2(e,t,n)}function z2(e,t,n,s){let r=typeof t=="string"?Vr(t):t,a=$f(r.pathname||"/",n);if(a==null)return null;let i=B0(e);F2(i);let o=null,c=Q2(a);for(let d=0;o==null&&d<i.length;++d)o=K2(i[d],c);return o}function B0(e,t,n,s){t===void 0&&(t=[]),n===void 0&&(n=[]),s===void 0&&(s="");let r=(a,i,o)=>{let c={relativePath:o===void 0?a.path||"":o,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};c.relativePath.startsWith("/")&&(me(c.relativePath.startsWith(s),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+s+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(s.length));let d=Kn([s,c.relativePath]),u=n.concat(c);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 "'+d+'".')),B0(a.children,t,u,d)),!(a.path==null&&!a.index)&&t.push({path:d,score:U2(d,a.index),routesMeta:u})};return e.forEach((a,i)=>{var o;if(a.path===""||!((o=a.path)!=null&&o.includes("?")))r(a,i);else for(let c of W0(a.path))r(a,i,c)}),t}function W0(e){let t=e.split("/");if(t.length===0)return[];let[n,...s]=t,r=n.endsWith("?"),a=n.replace(/\?$/,"");if(s.length===0)return r?[a,""]:[a];let i=W0(s.join("/")),o=[];return o.push(...i.map(c=>c===""?a:[a,c].join("/"))),r&&o.push(...i),o.map(c=>e.startsWith("/")&&c===""?"/":c)}function F2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:q2(t.routesMeta.map(s=>s.childrenIndex),n.routesMeta.map(s=>s.childrenIndex)))}const _2=/^:[\w-]+$/,V2=3,H2=2,B2=1,W2=10,$2=-2,bm=e=>e==="*";function U2(e,t){let n=e.split("/"),s=n.length;return n.some(bm)&&(s+=$2),t&&(s+=H2),n.filter(r=>!bm(r)).reduce((r,a)=>r+(_2.test(a)?V2:a===""?B2:W2),s)}function q2(e,t){return e.length===t.length&&e.slice(0,-1).every((s,r)=>s===t[r])?e[e.length-1]-t[t.length-1]:0}function K2(e,t,n){let{routesMeta:s}=e,r={},a="/",i=[];for(let o=0;o<s.length;++o){let c=s[o],d=o===s.length-1,u=a==="/"?t:t.slice(a.length)||"/",f=G2({path:c.relativePath,caseSensitive:c.caseSensitive,end:d},u),p=c.route;if(!f)return null;Object.assign(r,f.params),i.push({params:r,pathname:Kn([a,f.pathname]),pathnameBase:tN(Kn([a,f.pathnameBase])),route:p}),f.pathnameBase!=="/"&&(a=Kn([a,f.pathnameBase]))}return i}function G2(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,s]=Y2(e.path,e.caseSensitive,e.end),r=t.match(n);if(!r)return null;let a=r[0],i=a.replace(/(.)\/+$/,"$1"),o=r.slice(1);return{params:s.reduce((d,u,f)=>{let{paramName:p,isOptional:h}=u;if(p==="*"){let v=o[f]||"";i=a.slice(0,a.length-v.length).replace(/(.)\/+$/,"$1")}const y=o[f];return h&&!y?d[p]=void 0:d[p]=(y||"").replace(/%2F/g,"/"),d},{}),pathname:a,pathnameBase:i,pattern:e}}function Y2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Wf(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 s=[],r="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,o,c)=>(s.push({paramName:o,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(s.push({paramName:"*"}),r+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":e!==""&&e!=="/"&&(r+="(?:(?=\\/|$))"),[new RegExp(r,t?void 0:"i"),s]}function Q2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Wf(!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,s=e.charAt(n);return s&&s!=="/"?null:e.slice(n)||"/"}const X2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Z2=e=>X2.test(e);function J2(e,t){t===void 0&&(t="/");let{pathname:n,search:s="",hash:r=""}=typeof e=="string"?Vr(e):e,a;if(n)if(Z2(n))a=n;else{if(n.includes("//")){let i=n;n=q0(n),Wf(!1,"Pathnames cannot have embedded double slashes - normalizing "+(i+" -> "+n))}n.startsWith("/")?a=Pm(n.substring(1),"/"):a=Pm(n,t)}else a=t;return{pathname:a,search:nN(s),hash:sN(r)}}function Pm(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(r=>{r===".."?n.length>1&&n.pop():r!=="."&&n.push(r)}),n.length>1?n.join("/"):"/"}function yc(e,t,n,s){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(s)+"]. 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 eN(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function $0(e,t){let n=eN(e);return t?n.map((s,r)=>r===n.length-1?s.pathname:s.pathnameBase):n.map(s=>s.pathnameBase)}function U0(e,t,n,s){s===void 0&&(s=!1);let r;typeof e=="string"?r=Vr(e):(r=qa({},e),me(!r.pathname||!r.pathname.includes("?"),yc("?","pathname","search",r)),me(!r.pathname||!r.pathname.includes("#"),yc("#","pathname","hash",r)),me(!r.search||!r.search.includes("#"),yc("#","search","hash",r)));let a=e===""||r.pathname==="",i=a?"/":r.pathname,o;if(i==null)o=n;else{let f=t.length-1;if(!s&&i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),f-=1;r.pathname=p.join("/")}o=f>=0?t[f]:"/"}let c=J2(r,o),d=i&&i!=="/"&&i.endsWith("/"),u=(a||i===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||u)&&(c.pathname+="/"),c}const q0=e=>e.replace(/\/\/+/g,"/"),Kn=e=>q0(e.join("/")),tN=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),nN=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,sN=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function rN(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const K0=["post","put","patch","delete"];new Set(K0);const aN=["get",...K0];new Set(aN);/**
* 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 Ka(){return Ka=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)({}).hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},Ka.apply(null,arguments)}const Uf=w.createContext(null),iN=w.createContext(null),zs=w.createContext(null),Ml=w.createContext(null),vn=w.createContext({outlet:null,matches:[],isDataRoute:!1}),G0=w.createContext(null);function oN(e,t){let{relative:n}=t===void 0?{}:t;ui()||me(!1);let{basename:s,navigator:r}=w.useContext(zs),{hash:a,pathname:i,search:o}=X0(e,{relative:n}),c=i;return s!=="/"&&(c=i==="/"?s:Kn([s,i])),r.createHref({pathname:c,search:o,hash:a})}function ui(){return w.useContext(Ml)!=null}function Fs(){return ui()||me(!1),w.useContext(Ml).location}function Y0(e){w.useContext(zs).static||w.useLayoutEffect(e)}function lN(){let{isDataRoute:e}=w.useContext(vn);return e?SN():cN()}function cN(){ui()||me(!1);let e=w.useContext(Uf),{basename:t,future:n,navigator:s}=w.useContext(zs),{matches:r}=w.useContext(vn),{pathname:a}=Fs(),i=JSON.stringify($0(r,n.v7_relativeSplatPath)),o=w.useRef(!1);return Y0(()=>{o.current=!0}),w.useCallback(function(d,u){if(u===void 0&&(u={}),!o.current)return;if(typeof d=="number"){s.go(d);return}let f=U0(d,JSON.parse(i),a,u.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Kn([t,f.pathname])),(u.replace?s.replace:s.push)(f,u.state,u)},[t,s,i,a,e])}const dN=w.createContext(null);function uN(e){let t=w.useContext(vn).outlet;return t&&w.createElement(dN.Provider,{value:e},t)}function Q0(){let{matches:e}=w.useContext(vn),t=e[e.length-1];return t?t.params:{}}function X0(e,t){let{relative:n}=t===void 0?{}:t,{future:s}=w.useContext(zs),{matches:r}=w.useContext(vn),{pathname:a}=Fs(),i=JSON.stringify($0(r,s.v7_relativeSplatPath));return w.useMemo(()=>U0(e,JSON.parse(i),a,n==="path"),[e,i,a,n])}function fN(e,t){return pN(e,t)}function pN(e,t,n,s){ui()||me(!1);let{navigator:r}=w.useContext(zs),{matches:a}=w.useContext(vn),i=a[a.length-1],o=i?i.params:{};i&&i.pathname;let c=i?i.pathnameBase:"/";i&&i.route;let d=Fs(),u;if(t){var f;let b=typeof t=="string"?Vr(t):t;c==="/"||(f=b.pathname)!=null&&f.startsWith(c)||me(!1),u=b}else u=d;let p=u.pathname||"/",h=p;if(c!=="/"){let b=c.replace(/^\//,"").split("/");h="/"+p.replace(/^\//,"").split("/").slice(b.length).join("/")}let y=O2(e,{pathname:h}),v=xN(y&&y.map(b=>Object.assign({},b,{params:Object.assign({},o,b.params),pathname:Kn([c,r.encodeLocation?r.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?c:Kn([c,r.encodeLocation?r.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),a,n,s);return t&&v?w.createElement(Ml.Provider,{value:{location:Ka({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:zn.Pop}},v):v}function hN(){let e=PN(),t=rN(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:r},n):null,null)}const mN=w.createElement(hN,null);class gN 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(vn.Provider,{value:this.props.routeContext},w.createElement(G0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function yN(e){let{routeContext:t,match:n,children:s}=e,r=w.useContext(Uf);return r&&r.static&&r.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(vn.Provider,{value:t},s)}function xN(e,t,n,s){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),s===void 0&&(s=null),e==null){var a;if(!n)return null;if(n.errors)e=n.matches;else if((a=s)!=null&&a.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,o=(r=n)==null?void 0:r.errors;if(o!=null){let u=i.findIndex(f=>f.route.id&&(o==null?void 0:o[f.route.id])!==void 0);u>=0||me(!1),i=i.slice(0,Math.min(i.length,u+1))}let c=!1,d=-1;if(n&&s&&s.v7_partialHydration)for(let u=0;u<i.length;u++){let f=i[u];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(d=u),f.route.id){let{loaderData:p,errors:h}=n,y=f.route.loader&&p[f.route.id]===void 0&&(!h||h[f.route.id]===void 0);if(f.route.lazy||y){c=!0,d>=0?i=i.slice(0,d+1):i=[i[0]];break}}}return i.reduceRight((u,f,p)=>{let h,y=!1,v=null,b=null;n&&(h=o&&f.route.id?o[f.route.id]:void 0,v=f.route.errorElement||mN,c&&(d<0&&p===0?(kN("route-fallback"),y=!0,b=null):d===p&&(y=!0,b=f.route.hydrateFallbackElement||null)));let g=t.concat(i.slice(0,p+1)),m=()=>{let x;return h?x=v:y?x=b:f.route.Component?x=w.createElement(f.route.Component,null):f.route.element?x=f.route.element:x=u,w.createElement(yN,{match:f,routeContext:{outlet:u,matches:g,isDataRoute:n!=null},children:x})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?w.createElement(gN,{location:n.location,revalidation:n.revalidation,component:v,error:h,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var Z0=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Z0||{}),J0=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}(J0||{});function vN(e){let t=w.useContext(Uf);return t||me(!1),t}function wN(e){let t=w.useContext(iN);return t||me(!1),t}function bN(e){let t=w.useContext(vn);return t||me(!1),t}function ew(e){let t=bN(),n=t.matches[t.matches.length-1];return n.route.id||me(!1),n.route.id}function PN(){var e;let t=w.useContext(G0),n=wN(),s=ew();return t!==void 0?t:(e=n.errors)==null?void 0:e[s]}function SN(){let{router:e}=vN(Z0.UseNavigateStable),t=ew(J0.UseNavigateStable),n=w.useRef(!1);return Y0(()=>{n.current=!0}),w.useCallback(function(r,a){a===void 0&&(a={}),n.current&&(typeof r=="number"?e.navigate(r):e.navigate(r,Ka({fromRouteId:t},a)))},[e,t])}const Sm={};function kN(e,t,n){Sm[e]||(Sm[e]=!0)}function jN(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function CN(e){return uN(e.context)}function Me(e){me(!1)}function EN(e){let{basename:t="/",children:n=null,location:s,navigationType:r=zn.Pop,navigator:a,static:i=!1,future:o}=e;ui()&&me(!1);let c=t.replace(/^\/*/,"/"),d=w.useMemo(()=>({basename:c,navigator:a,static:i,future:Ka({v7_relativeSplatPath:!1},o)}),[c,o,a,i]);typeof s=="string"&&(s=Vr(s));let{pathname:u="/",search:f="",hash:p="",state:h=null,key:y="default"}=s,v=w.useMemo(()=>{let b=$f(u,c);return b==null?null:{location:{pathname:b,search:f,hash:p,state:h,key:y},navigationType:r}},[c,u,f,p,h,y,r]);return v==null?null:w.createElement(zs.Provider,{value:d},w.createElement(Ml.Provider,{children:n,value:v}))}function NN(e){let{children:t,location:n}=e;return fN(Kd(t),n)}new Promise(()=>{});function Kd(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(s,r)=>{if(!w.isValidElement(s))return;let a=[...t,r];if(s.type===w.Fragment){n.push.apply(n,Kd(s.props.children,a));return}s.type!==Me&&me(!1),!s.props.index||!s.props.children||me(!1);let i={id:s.props.id||a.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,loader:s.props.loader,action:s.props.action,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(i.children=Kd(s.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 Gd(){return Gd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)({}).hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},Gd.apply(null,arguments)}function TN(e,t){if(e==null)return{};var n={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(t.indexOf(s)!==-1)continue;n[s]=e[s]}return n}function AN(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function RN(e,t){return e.button===0&&(!t||t==="_self")&&!AN(e)}const MN=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],DN="6";try{window.__reactRouterVersion=DN}catch{}const IN="startTransition",km=Tu[IN];function LN(e){let{basename:t,children:n,future:s,window:r}=e,a=w.useRef();a.current==null&&(a.current=D2({window:r,v5Compat:!0}));let i=a.current,[o,c]=w.useState({action:i.action,location:i.location}),{v7_startTransition:d}=s||{},u=w.useCallback(f=>{d&&km?km(()=>c(f)):c(f)},[c,d]);return w.useLayoutEffect(()=>i.listen(u),[i,u]),w.useEffect(()=>jN(s),[s]),w.createElement(EN,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:i,future:s})}const ON=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",zN=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,U=w.forwardRef(function(t,n){let{onClick:s,relative:r,reloadDocument:a,replace:i,state:o,target:c,to:d,preventScrollReset:u,viewTransition:f}=t,p=TN(t,MN),{basename:h}=w.useContext(zs),y,v=!1;if(typeof d=="string"&&zN.test(d)&&(y=d,ON))try{let x=new URL(window.location.href),P=d.startsWith("//")?new URL(x.protocol+d):new URL(d),S=$f(P.pathname,h);P.origin===x.origin&&S!=null?d=S+P.search+P.hash:v=!0}catch{}let b=oN(d,{relative:r}),g=FN(d,{replace:i,state:o,target:c,preventScrollReset:u,relative:r,viewTransition:f});function m(x){s&&s(x),x.defaultPrevented||g(x)}return w.createElement("a",Gd({},p,{href:y||b,onClick:v||a?s:m,ref:n,target:c}))});var jm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(jm||(jm={}));var Cm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Cm||(Cm={}));function FN(e,t){let{target:n,replace:s,state:r,preventScrollReset:a,relative:i,viewTransition:o}=t===void 0?{}:t,c=lN(),d=Fs(),u=X0(e,{relative:i});return w.useCallback(f=>{if(RN(f,n)){f.preventDefault();let p=s!==void 0?s:Ko(d)===Ko(u);c(e,{replace:p,state:r,preventScrollReset:a,relative:i,viewTransition:o})}},[d,c,u,s,r,n,e,a,i,o])}const _N=w.createContext(null),xc={didCatch:!1,error:null};class VN extends w.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=xc}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(...t){var s,r;const{error:n}=this.state;n!==null&&((r=(s=this.props).onReset)==null||r.call(s,{args:t,reason:"imperative-api"}),this.setState(xc))}componentDidCatch(t,n){var s,r;(r=(s=this.props).onError)==null||r.call(s,t,n)}componentDidUpdate(t,n){var a,i;const{didCatch:s}=this.state,{resetKeys:r}=this.props;s&&n.error!==null&&HN(t.resetKeys,r)&&((i=(a=this.props).onReset)==null||i.call(a,{next:r,prev:t.resetKeys,reason:"keys"}),this.setState(xc))}render(){const{children:t,fallbackRender:n,FallbackComponent:s,fallback:r}=this.props,{didCatch:a,error:i}=this.state;let o=t;if(a){const c={error:i,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")o=n(c);else if(s)o=w.createElement(s,c);else if(r!==void 0)o=r;else throw i}return w.createElement(_N.Provider,{value:{didCatch:a,error:i,resetErrorBoundary:this.resetErrorBoundary}},o)}}function HN(e=[],t=[]){return e.length!==t.length||e.some((n,s)=>!Object.is(n,t[s]))}var BN=typeof Element<"u",WN=typeof Map=="function",$N=typeof Set=="function",UN=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function oo(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,s,r;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(s=n;s--!==0;)if(!oo(e[s],t[s]))return!1;return!0}var a;if(WN&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(s=a.next()).done;)if(!t.has(s.value[0]))return!1;for(a=e.entries();!(s=a.next()).done;)if(!oo(s.value[1],t.get(s.value[0])))return!1;return!0}if($N&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(s=a.next()).done;)if(!t.has(s.value[0]))return!1;return!0}if(UN&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(s=n;s--!==0;)if(e[s]!==t[s])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(s=n;s--!==0;)if(!Object.prototype.hasOwnProperty.call(t,r[s]))return!1;if(BN&&e instanceof Element)return!1;for(s=n;s--!==0;)if(!((r[s]==="_owner"||r[s]==="__v"||r[s]==="__o")&&e.$$typeof)&&!oo(e[r[s]],t[r[s]]))return!1;return!0}return e!==e&&t!==t}var qN=function(t,n){try{return oo(t,n)}catch(s){if((s.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw s}};const KN=rl(qN);var GN=function(e,t,n,s,r,a,i,o){if(!e){var c;if(t===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[n,s,r,a,i,o],u=0;c=new Error(t.replace(/%s/g,function(){return d[u++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},YN=GN;const Em=rl(YN);var QN=function(t,n,s,r){var a=s?s.call(r,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 c=Object.prototype.hasOwnProperty.bind(n),d=0;d<i.length;d++){var u=i[d];if(!c(u))return!1;var f=t[u],p=n[u];if(a=s?s.call(r,f,p,u):void 0,a===!1||a===void 0&&f!==p)return!1}return!0};const XN=rl(QN);var tw=(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))(tw||{}),vc={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"]}},Nm=Object.values(tw),qf={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},ZN=Object.entries(qf).reduce((e,[t,n])=>(e[n]=t,e),{}),Ct="data-rh",fr={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},pr=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const s=e[n];if(Object.prototype.hasOwnProperty.call(s,t))return s[t]}return null},JN=e=>{let t=pr(e,"title");const n=pr(e,fr.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const s=pr(e,fr.DEFAULT_TITLE);return t||s||void 0},eT=e=>pr(e,fr.ON_CHANGE_CLIENT_STATE)||(()=>{}),wc=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,s)=>({...n,...s}),{}),tT=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,s)=>{if(!n.length){const r=Object.keys(s);for(let a=0;a<r.length;a+=1){const o=r[a].toLowerCase();if(e.indexOf(o)!==-1&&s[o])return n.concat(s)}}return n},[]),nT=e=>console&&typeof console.warn=="function"&&console.warn(e),na=(e,t,n)=>{const s={};return n.filter(r=>Array.isArray(r[e])?!0:(typeof r[e]<"u"&&nT(`Helmet: ${e} should be of type "Array". Instead found type "${typeof r[e]}"`),!1)).map(r=>r[e]).reverse().reduce((r,a)=>{const i={};a.filter(c=>{let d;const u=Object.keys(c);for(let p=0;p<u.length;p+=1){const h=u[p],y=h.toLowerCase();t.indexOf(y)!==-1&&!(d==="rel"&&c[d].toLowerCase()==="canonical")&&!(y==="rel"&&c[y].toLowerCase()==="stylesheet")&&(d=y),t.indexOf(h)!==-1&&(h==="innerHTML"||h==="cssText"||h==="itemprop")&&(d=h)}if(!d||!c[d])return!1;const f=c[d].toLowerCase();return s[d]||(s[d]={}),i[d]||(i[d]={}),s[d][f]?!1:(i[d][f]=!0,!0)}).reverse().forEach(c=>r.push(c));const o=Object.keys(i);for(let c=0;c<o.length;c+=1){const d=o[c],u={...s[d],...i[d]};s[d]=u}return r},[]).reverse()},sT=(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},rT=e=>({baseTag:tT(["href"],e),bodyAttributes:wc("bodyAttributes",e),defer:pr(e,fr.DEFER),encode:pr(e,fr.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:wc("htmlAttributes",e),linkTags:na("link",["rel","href"],e),metaTags:na("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:na("noscript",["innerHTML"],e),onChangeClientState:eT(e),scriptTags:na("script",["src","innerHTML"],e),styleTags:na("style",["cssText"],e),title:JN(e),titleAttributes:wc("titleAttributes",e),prioritizeSeoTags:sT(e,fr.PRIORITIZE_SEO_TAGS)}),nw=e=>Array.isArray(e)?e.join(""):e,aT=(e,t)=>{const n=Object.keys(e);for(let s=0;s<n.length;s+=1)if(t[n[s]]&&t[n[s]].includes(e[n[s]]))return!0;return!1},bc=(e,t)=>Array.isArray(e)?e.reduce((n,s)=>(aT(s,t)?n.priority.push(s):n.default.push(s),n),{priority:[],default:[]}):{default:e,priority:[]},Tm=(e,t)=>({...e,[t]:void 0}),iT=["noscript","script","style"],Yd=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),sw=e=>Object.keys(e).reduce((t,n)=>{const s=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${s}`:s},""),oT=(e,t,n,s)=>{const r=sw(n),a=nw(t);return r?`<${e} ${Ct}="true" ${r}>${Yd(a,s)}</${e}>`:`<${e} ${Ct}="true">${Yd(a,s)}</${e}>`},lT=(e,t,n=!0)=>t.reduce((s,r)=>{const a=r,i=Object.keys(a).filter(d=>!(d==="innerHTML"||d==="cssText")).reduce((d,u)=>{const f=typeof a[u]>"u"?u:`${u}="${Yd(a[u],n)}"`;return d?`${d} ${f}`:f},""),o=a.innerHTML||a.cssText||"",c=iT.indexOf(e)===-1;return`${s}<${e} ${Ct}="true" ${i}${c?"/>":`>${o}</${e}>`}`},""),rw=(e,t={})=>Object.keys(e).reduce((n,s)=>{const r=qf[s];return n[r||s]=e[s],n},t),cT=(e,t,n)=>{const s={key:t,[Ct]:!0},r=rw(n,s);return[Wt.createElement("title",r,t)]},lo=(e,t)=>t.map((n,s)=>{const r={key:s,[Ct]:!0};return Object.keys(n).forEach(a=>{const o=qf[a]||a;if(o==="innerHTML"||o==="cssText"){const c=n.innerHTML||n.cssText;r.dangerouslySetInnerHTML={__html:c}}else r[o]=n[a]}),Wt.createElement(e,r)}),ot=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>cT(e,t.title,t.titleAttributes),toString:()=>oT(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>rw(t),toString:()=>sw(t)};default:return{toComponent:()=>lo(e,t),toString:()=>lT(e,t,n)}}},dT=({metaTags:e,linkTags:t,scriptTags:n,encode:s})=>{const r=bc(e,vc.meta),a=bc(t,vc.link),i=bc(n,vc.script);return{priorityMethods:{toComponent:()=>[...lo("meta",r.priority),...lo("link",a.priority),...lo("script",i.priority)],toString:()=>`${ot("meta",r.priority,s)} ${ot("link",a.priority,s)} ${ot("script",i.priority,s)}`},metaTags:r.default,linkTags:a.default,scriptTags:i.default}},uT=e=>{const{baseTag:t,bodyAttributes:n,encode:s=!0,htmlAttributes:r,noscriptTags:a,styleTags:i,title:o="",titleAttributes:c,prioritizeSeoTags:d}=e;let{linkTags:u,metaTags:f,scriptTags:p}=e,h={toComponent:()=>{},toString:()=>""};return d&&({priorityMethods:h,linkTags:u,metaTags:f,scriptTags:p}=dT(e)),{priority:h,base:ot("base",t,s),bodyAttributes:ot("bodyAttributes",n,s),htmlAttributes:ot("htmlAttributes",r,s),link:ot("link",u,s),meta:ot("meta",f,s),noscript:ot("noscript",a,s),script:ot("script",p,s),style:ot("style",i,s),title:ot("title",{title:o,titleAttributes:c},s)}},Qd=uT,Vi=[],aw=!!(typeof window<"u"&&window.document&&window.document.createElement),Xd=class{constructor(e,t){Zt(this,"instances",[]);Zt(this,"canUseDOM",aw);Zt(this,"context");Zt(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Vi:this.instances,add:e=>{(this.canUseDOM?Vi:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Vi:this.instances).indexOf(e);(this.canUseDOM?Vi:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Qd({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},fT={},iw=Wt.createContext(fT),Ps,ow=(Ps=class extends w.Component{constructor(n){super(n);Zt(this,"helmetData");this.helmetData=new Xd(this.props.context||{},Ps.canUseDOM)}render(){return Wt.createElement(iw.Provider,{value:this.helmetData.value},this.props.children)}},Zt(Ps,"canUseDOM",aw),Ps),Hs=(e,t)=>{const n=document.head||document.querySelector("head"),s=n.querySelectorAll(`${e}[${Ct}]`),r=[].slice.call(s),a=[];let i;return t&&t.length&&t.forEach(o=>{const c=document.createElement(e);for(const d in o)if(Object.prototype.hasOwnProperty.call(o,d))if(d==="innerHTML")c.innerHTML=o.innerHTML;else if(d==="cssText")c.styleSheet?c.styleSheet.cssText=o.cssText:c.appendChild(document.createTextNode(o.cssText));else{const u=d,f=typeof o[u]>"u"?"":o[u];c.setAttribute(d,f)}c.setAttribute(Ct,"true"),r.some((d,u)=>(i=u,c.isEqualNode(d)))?r.splice(i,1):a.push(c)}),r.forEach(o=>{var c;return(c=o.parentNode)==null?void 0:c.removeChild(o)}),a.forEach(o=>n.appendChild(o)),{oldTags:r,newTags:a}},Zd=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const s=n.getAttribute(Ct),r=s?s.split(","):[],a=[...r],i=Object.keys(t);for(const o of i){const c=t[o]||"";n.getAttribute(o)!==c&&n.setAttribute(o,c),r.indexOf(o)===-1&&r.push(o);const d=a.indexOf(o);d!==-1&&a.splice(d,1)}for(let o=a.length-1;o>=0;o-=1)n.removeAttribute(a[o]);r.length===a.length?n.removeAttribute(Ct):n.getAttribute(Ct)!==i.join(",")&&n.setAttribute(Ct,i.join(","))},pT=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=nw(e)),Zd("title",t)},Am=(e,t)=>{const{baseTag:n,bodyAttributes:s,htmlAttributes:r,linkTags:a,metaTags:i,noscriptTags:o,onChangeClientState:c,scriptTags:d,styleTags:u,title:f,titleAttributes:p}=e;Zd("body",s),Zd("html",r),pT(f,p);const h={baseTag:Hs("base",n),linkTags:Hs("link",a),metaTags:Hs("meta",i),noscriptTags:Hs("noscript",o),scriptTags:Hs("script",d),styleTags:Hs("style",u)},y={},v={};Object.keys(h).forEach(b=>{const{newTags:g,oldTags:m}=h[b];g.length&&(y[b]=g),m.length&&(v[b]=h[b].oldTags)}),t&&t(),c(e,y,v)},sa=null,hT=e=>{sa&&cancelAnimationFrame(sa),e.defer?sa=requestAnimationFrame(()=>{Am(e,()=>{sa=null})}):(Am(e),sa=null)},mT=hT,Rm=class extends w.Component{constructor(){super(...arguments);Zt(this,"rendered",!1)}shouldComponentUpdate(t){return!XN(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 s=null;const r=rT(t.get().map(a=>{const i={...a.props};return delete i.context,i}));ow.canUseDOM?mT(r):Qd&&(s=Qd(r)),n(s)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Fc,gT=(Fc=class extends w.Component{shouldComponentUpdate(e){return!KN(Tm(this.props,"helmetData"),Tm(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,s){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,s)}]}}mapObjectTypeChildren(e,t,n,s){switch(e.type){case"title":return{...t,[e.type]:s,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(s=>{n={...n,[s]:e[s]}}),n}warnOnInvalidChildren(e,t){return Em(Nm.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 ${Nm.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),Em(!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 Wt.Children.forEach(e,s=>{if(!s||!s.props)return;const{children:r,...a}=s.props,i=Object.keys(a).reduce((c,d)=>(c[ZN[d]||d]=a[d],c),{});let{type:o}=s;switch(typeof o=="symbol"?o=o.toString():this.warnOnInvalidChildren(s,r),o){case"Symbol(react.fragment)":t=this.mapChildrenToProps(r,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(s,n,i,r);break;default:t=this.mapObjectTypeChildren(s,t,i,r);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:s}=t;if(e&&(n=this.mapChildrenToProps(e,n)),s&&!(s instanceof Xd)){const r=s;s=new Xd(r.context,!0),delete n.helmetData}return s?Wt.createElement(Rm,{...n,context:s.value}):Wt.createElement(iw.Consumer,null,r=>Wt.createElement(Rm,{...n,context:r}))}},Zt(Fc,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Fc);const yT=Ef("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"}}),wa=w.forwardRef(({className:e,variant:t,size:n,asChild:s=!1,...r},a)=>{const i=s?WS:"button";return l.jsx(i,{className:Se(yT({variant:t,size:n,className:e})),ref:a,...r})});wa.displayName="Button";const lw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Se("rounded-xl border bg-card text-card-foreground shadow",e),...t}));lw.displayName="Card";const cw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Se("flex flex-col space-y-1.5 p-6",e),...t}));cw.displayName="CardHeader";const dw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Se("font-semibold leading-none tracking-tight",e),...t}));dw.displayName="CardTitle";const uw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Se("text-sm text-muted-foreground",e),...t}));uw.displayName="CardDescription";const fw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Se("p-6 pt-0",e),...t}));fw.displayName="CardContent";const pw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Se("flex items-center p-6 pt-0",e),...t}));pw.displayName="CardFooter";const xT=Ef("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),hw=w.forwardRef(({className:e,variant:t,...n},s)=>l.jsx("div",{ref:s,role:"alert",className:Se(xT({variant:t}),e),...n}));hw.displayName="Alert";const vT=w.forwardRef(({className:e,...t},n)=>l.jsx("h5",{ref:n,className:Se("mb-1 font-medium leading-none tracking-tight",e),...t}));vT.displayName="AlertTitle";const mw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Se("text-sm [&_p]:leading-relaxed",e),...t}));mw.displayName="AlertDescription";var wT="Separator",Mm="horizontal",bT=["horizontal","vertical"],gw=w.forwardRef((e,t)=>{const{decorative:n,orientation:s=Mm,...r}=e,a=PT(s)?s:Mm,o=n?{role:"none"}:{"aria-orientation":a==="vertical"?a:void 0,role:"separator"};return l.jsx(We.div,{"data-orientation":a,...o,...r,ref:t})});gw.displayName=wT;function PT(e){return bT.includes(e)}var yw=gw;const xw=w.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...s},r)=>l.jsx(yw,{ref:r,decorative:n,orientation:t,className:Se("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...s}));xw.displayName=yw.displayName;const ST=({error:e,resetErrorBoundary:t})=>{Wt.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()},s=()=>{window.location.href="/"};return l.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center p-4","data-id":"7y0gvcutz","data-path":"src/components/error-fallback.tsx",children:l.jsxs(lw,{className:"w-full max-w-md","data-id":"it7jnbuc0","data-path":"src/components/error-fallback.tsx",children:[l.jsxs(cw,{className:"text-center","data-id":"338kqc1pw","data-path":"src/components/error-fallback.tsx",children:[l.jsx("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-destructive/15 ring-2 ring-destructive/20","data-id":"hiyovri69","data-path":"src/components/error-fallback.tsx",children:l.jsx(Qh,{className:"h-8 w-8 text-destructive drop-shadow-sm","data-id":"dxe13qdea","data-path":"src/components/error-fallback.tsx"})}),l.jsx(dw,{className:"text-xl font-semibold","data-id":"099zl234x","data-path":"src/components/error-fallback.tsx",children:"Something went wrong"}),l.jsx(uw,{"data-id":"hiumyfo07","data-path":"src/components/error-fallback.tsx",children:"Sorry, the application encountered an unexpected error"})]}),l.jsxs(fw,{className:"space-y-4","data-id":"yv0ym6yqp","data-path":"src/components/error-fallback.tsx",children:[e&&l.jsxs(hw,{variant:"destructive","data-id":"eozjta7p9","data-path":"src/components/error-fallback.tsx",children:[l.jsx(Qh,{className:"h-5 w-5","data-id":"khy4agbqg","data-path":"src/components/error-fallback.tsx"}),l.jsx(mw,{className:"text-sm","data-id":"l3ym57d1x","data-path":"src/components/error-fallback.tsx",children:l.jsxs("details",{className:"mt-2","data-id":"6lpvb8m7j","data-path":"src/components/error-fallback.tsx",children:[l.jsx("summary",{className:"cursor-pointer font-medium","data-id":"72xk5ef1t","data-path":"src/components/error-fallback.tsx",children:"Error Details"}),l.jsx("div",{id:"capture-error-detail",className:"mt-2 text-xs font-mono bg-muted/80 dark:bg-muted/20 p-3 rounded border dark:border-border/50 overflow-auto max-h-32 text-foreground dark:text-muted-foreground","data-id":"fx7nytjkl","data-path":"src/components/error-fallback.tsx",children:e.message})]})})]}),l.jsx("div",{className:"text-sm text-muted-foreground text-center","data-id":"z1zsfru0s","data-path":"src/components/error-fallback.tsx",children:"You can try refreshing the page or returning to the homepage to resolve this issue"})]}),l.jsx(xw,{"data-id":"edoj3g0e5","data-path":"src/components/error-fallback.tsx"}),l.jsxs(pw,{className:"flex flex-col gap-2 pt-6","data-id":"vgrlg45ln","data-path":"src/components/error-fallback.tsx",children:[l.jsxs("div",{className:"flex w-full gap-2","data-id":"zato92g1e","data-path":"src/components/error-fallback.tsx",children:[t&&l.jsxs(wa,{onClick:t,className:"flex-1",variant:"default","data-id":"tr3suwvfs","data-path":"src/components/error-fallback.tsx",children:[l.jsx(Yh,{className:"mr-2 h-4 w-4 opacity-90","data-id":"op9k64ta0","data-path":"src/components/error-fallback.tsx"}),"Retry"]}),l.jsxs(wa,{onClick:n,variant:"outline",className:"flex-1","data-id":"nsws4y0ar","data-path":"src/components/error-fallback.tsx",children:[l.jsx(Yh,{className:"mr-2 h-4 w-4 opacity-90","data-id":"xner4ujkx","data-path":"src/components/error-fallback.tsx"}),"Refresh Page"]})]}),l.jsxs(wa,{onClick:s,variant:"ghost",className:"w-full","data-id":"umkc6b7d6","data-path":"src/components/error-fallback.tsx",children:[l.jsx(Xn,{className:"mr-2 h-4 w-4 opacity-80","data-id":"u6dajv7e4","data-path":"src/components/error-fallback.tsx"}),"Go Home"]})]})]})})},kT=()=>{const e=Fs(),t=window.location.origin+e.pathname;return l.jsxs(l.Fragment,{children:[l.jsx(gT,{"data-id":"rfh2w7d27","data-path":"src/components/canonical-manager.tsx",children:l.jsx("link",{rel:"canonical",href:t,"data-id":"q1r7x2p0y","data-path":"src/components/canonical-manager.tsx"})}),l.jsx(CN,{"data-id":"hh8psatqc","data-path":"src/components/canonical-manager.tsx"})]})},jT=[{label:"Our Story",to:"/about/story"},{label:"Mission & Values",to:"/about/mission"},{label:"Team",to:"/about/team"}],CT=[{label:"Accessible Living Housing Initiative",to:"/programs/alhi"},{label:"Independent Living Empowerment Program",to:"/programs/ilep"},{label:"Community Inclusion & Accessibility Network",to:"/programs/cian"}],Dm=[{label:"Home",to:"/"},{label:"About Us",dropdown:jT},{label:"Programs",dropdown:CT},{label:"Impact",to:"/impact"},{label:"Accessibility Resources",to:"/accessibility-resources"},{label:"Independent Living",to:"/independent-living"},{label:"Blog",to:"/blog"},{label:"Contact",to:"/contact"}];function ET(){const[e,t]=w.useState(!1),[n,s]=w.useState(!1),[r,a]=w.useState(null),i=Fs();return w.useEffect(()=>{const o=()=>t(window.scrollY>20);return window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o)},[]),w.useEffect(()=>{s(!1),a(null)},[i]),l.jsxs("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${e?"bg-white shadow-md py-3":"bg-white/95 py-4"}`,"data-id":"pwtdp64mi","data-path":"src/components/Header.tsx",children:[l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 flex items-center justify-between","data-id":"xwlgcpose","data-path":"src/components/Header.tsx",children:[l.jsxs(U,{to:"/",className:"flex items-center gap-2 group","data-id":"kyqa6kimr","data-path":"src/components/Header.tsx",children:[l.jsx("div",{className:"w-9 h-9 rounded-full flex items-center justify-center",style:{background:"var(--hw-teal)"},"data-id":"87uvxrfge","data-path":"src/components/Header.tsx",children:l.jsx("span",{className:"text-white text-xs font-bold font-body","data-id":"q9jdjbwm2","data-path":"src/components/Header.tsx",children:"HW"})}),l.jsxs("div",{"data-id":"mpt61ixvy","data-path":"src/components/Header.tsx",children:[l.jsxs("span",{className:"font-display font-semibold text-xl",style:{color:"var(--hw-dark)"},"data-id":"24ql6q7ge","data-path":"src/components/Header.tsx",children:["HOME",l.jsx("span",{style:{color:"var(--hw-teal)"},"data-id":"o0fss0n2i","data-path":"src/components/Header.tsx",children:"WERKS"})]}),l.jsx("span",{className:"font-body text-xs font-medium ml-1",style:{color:"var(--hw-amber)"},"data-id":"geh31vyhs","data-path":"src/components/Header.tsx",children:"NP"})]})]}),l.jsx("nav",{className:"hidden xl:flex items-center gap-1","data-id":"llwc4rszs","data-path":"src/components/Header.tsx",children:Dm.map(o=>o.dropdown?l.jsxs("div",{className:"relative","data-id":"9jn3uin0s","data-path":"src/components/Header.tsx",children:[l.jsxs("button",{className:"nav-link flex items-center gap-1 px-3 py-2 rounded-md hover:bg-gray-50",onMouseEnter:()=>a(o.label),onMouseLeave:()=>a(null),onClick:()=>a(r===o.label?null:o.label),"data-id":"zieppsspx","data-path":"src/components/Header.tsx",children:[o.label,l.jsx(Gh,{size:14,className:`transition-transform ${r===o.label?"rotate-180":""}`,"data-id":"30bev2ay3","data-path":"src/components/Header.tsx"})]}),r===o.label&&l.jsx("div",{className:"absolute top-full left-0 mt-1 bg-white rounded-lg shadow-xl border border-gray-100 py-2 min-w-64 z-50",onMouseEnter:()=>a(o.label),onMouseLeave:()=>a(null),"data-id":"umplp9oei","data-path":"src/components/Header.tsx",children:o.dropdown.map(c=>l.jsx(U,{to:c.to,className:"block px-4 py-2.5 text-sm font-body font-medium hover:bg-gray-50 transition-colors",style:{color:"var(--hw-dark)"},onMouseEnter:d=>d.currentTarget.style.color="var(--hw-teal)",onMouseLeave:d=>d.currentTarget.style.color="var(--hw-dark)","data-id":"wvyan9sx","data-path":"src/components/Header.tsx",children:c.label},c.to))})]},o.label):l.jsx(U,{to:o.to,className:`nav-link px-3 py-2 rounded-md hover:bg-gray-50 ${i.pathname===o.to?"active":""}`,"data-id":"kz23makc8","data-path":"src/components/Header.tsx",children:o.label},o.to))}),l.jsxs(U,{to:"/donate",className:"hidden xl:inline-flex items-center gap-2 btn-primary text-sm","data-id":"iaunnsws9","data-path":"src/components/Header.tsx",children:[l.jsx(Ms,{size:14,"data-id":"9g4kn0ahy","data-path":"src/components/Header.tsx"}),"Donate"]}),l.jsx("button",{className:"xl:hidden p-2 rounded-md",onClick:()=>s(!n),"aria-label":"Toggle menu","data-id":"l450sa4mu","data-path":"src/components/Header.tsx",children:n?l.jsx(Kv,{size:22,"data-id":"i5ur0tqy2","data-path":"src/components/Header.tsx"}):l.jsx(mj,{size:22,"data-id":"v2wswh4gq","data-path":"src/components/Header.tsx"})})]}),n&&l.jsx("div",{className:"xl:hidden bg-white border-t border-gray-100 shadow-lg max-h-screen overflow-y-auto","data-id":"q4byaf09c","data-path":"src/components/Header.tsx",children:l.jsxs("nav",{className:"max-w-7xl mx-auto px-4 py-4 flex flex-col gap-1","data-id":"bfh1pdbzf","data-path":"src/components/Header.tsx",children:[Dm.map(o=>o.dropdown?l.jsxs("div",{"data-id":"wo4armw6r","data-path":"src/components/Header.tsx",children:[l.jsxs("button",{className:"w-full text-left nav-link flex items-center justify-between py-3 px-2 border-b border-gray-50",onClick:()=>a(r===o.label?null:o.label),"data-id":"5yagcktlw","data-path":"src/components/Header.tsx",children:[o.label,l.jsx(Gh,{size:14,className:`transition-transform ${r===o.label?"rotate-180":""}`,"data-id":"b24s2l3xn","data-path":"src/components/Header.tsx"})]}),r===o.label&&l.jsx("div",{className:"pl-4 py-1","data-id":"hk8ve38pk","data-path":"src/components/Header.tsx",children:o.dropdown.map(c=>l.jsx(U,{to:c.to,className:"block py-2.5 text-sm font-body font-medium border-b border-gray-50",style:{color:"var(--hw-teal)"},"data-id":"57okyjlgm","data-path":"src/components/Header.tsx",children:c.label},c.to))})]},o.label):l.jsx(U,{to:o.to,className:"nav-link py-3 px-2 border-b border-gray-50 block","data-id":"9qwwka3hg","data-path":"src/components/Header.tsx",children:o.label},o.to)),l.jsx(U,{to:"/donate",className:"btn-primary text-center mt-3 text-sm","data-id":"7n9jmooqk","data-path":"src/components/Header.tsx",children:"Donate Now"})]})})]})}function NT(){return l.jsxs("footer",{style:{background:"var(--hw-dark)",color:"white"},"data-id":"bdpmh52s5","data-path":"src/components/Footer.tsx",children:[l.jsx("div",{className:"py-14 px-4",style:{background:"var(--hw-teal)"},"data-id":"dkfn4cl5g","data-path":"src/components/Footer.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto text-center","data-id":"808hq92r7","data-path":"src/components/Footer.tsx",children:[l.jsx("h2",{className:"font-display text-3xl md:text-4xl font-medium text-white mb-4","data-id":"inhaaklbl","data-path":"src/components/Footer.tsx",children:"Together, We Build Independence"}),l.jsx("p",{className:"font-body text-white/80 text-lg max-w-2xl mx-auto mb-8","data-id":"s3bcd4e7r","data-path":"src/components/Footer.tsx",children:"Your support helps individuals with disabilities live freely, fully, and with dignity in communities of their choice."}),l.jsxs("div",{className:"flex flex-wrap justify-center gap-4","data-id":"cii8qn4fw","data-path":"src/components/Footer.tsx",children:[l.jsx(U,{to:"/donate",className:"btn-white text-sm","data-id":"czr19zo4j","data-path":"src/components/Footer.tsx",children:"Make a Gift"}),l.jsx(U,{to:"/contact",className:"btn-outline border-white text-white hover:bg-white",style:{borderColor:"white",color:"white"},"data-id":"90o8fr93j","data-path":"src/components/Footer.tsx",children:"Partner With Us"})]})]})}),l.jsxs("div",{className:"max-w-7xl mx-auto px-4 py-14 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-10","data-id":"grg7kbeqi","data-path":"src/components/Footer.tsx",children:[l.jsxs("div",{"data-id":"n1cpszt69","data-path":"src/components/Footer.tsx",children:[l.jsxs("div",{className:"mb-5","data-id":"47swngs2w","data-path":"src/components/Footer.tsx",children:[l.jsxs("div",{className:"font-display font-semibold text-2xl text-white mb-1","data-id":"smpewjq1u","data-path":"src/components/Footer.tsx",children:["HOME",l.jsx("span",{style:{color:"var(--hw-amber)"},"data-id":"99x07pie7","data-path":"src/components/Footer.tsx",children:"WERKS"}),l.jsx("span",{className:"font-body text-sm font-medium ml-1",style:{color:"var(--hw-amber-light)"},"data-id":"8mbt5pa9g","data-path":"src/components/Footer.tsx",children:"NP"})]}),l.jsx("p",{className:"font-body text-white/60 text-sm leading-relaxed","data-id":"glyya21ue","data-path":"src/components/Footer.tsx",children:"Empowering individuals with disabilities to live independently in communities of their choice through accessible, affordable housing."})]}),l.jsx("p",{className:"font-body text-xs",style:{color:"var(--hw-gray)"},"data-id":"78fb5xozd","data-path":"src/components/Footer.tsx",children:"EIN: 87-3746253"}),l.jsx("div",{className:"flex gap-3 mt-5","data-id":"6xwi6ij9u","data-path":"src/components/Footer.tsx",children:[nj,Ij,oj,uj].map((e,t)=>l.jsx("div",{className:"w-9 h-9 rounded-full flex items-center justify-center cursor-pointer transition-colors",style:{background:"rgba(255,255,255,0.08)"},onMouseEnter:n=>n.currentTarget.style.background="var(--hw-amber)",onMouseLeave:n=>n.currentTarget.style.background="rgba(255,255,255,0.08)","data-id":"ilyj7bs91","data-path":"src/components/Footer.tsx",children:l.jsx(e,{size:15,className:"text-white","data-id":"qcvu0sy0b","data-path":"src/components/Footer.tsx"})},t))})]}),l.jsxs("div",{"data-id":"x92urprg4","data-path":"src/components/Footer.tsx",children:[l.jsx("h4",{className:"font-body font-bold text-sm uppercase tracking-widest mb-5",style:{color:"var(--hw-amber)"},"data-id":"dqe9bcwpc","data-path":"src/components/Footer.tsx",children:"Quick Links"}),l.jsx("ul",{className:"space-y-3","data-id":"54emhfsas","data-path":"src/components/Footer.tsx",children:[{label:"Home",to:"/"},{label:"Our Story",to:"/about/story"},{label:"Mission & Values",to:"/about/mission"},{label:"Our Team",to:"/about/team"},{label:"Impact",to:"/impact"},{label:"Blog",to:"/blog"}].map(e=>l.jsx("li",{"data-id":"iu0y8nto0","data-path":"src/components/Footer.tsx",children:l.jsx(U,{to:e.to,className:"font-body text-sm text-white/70 hover:text-white transition-colors","data-id":"54o68sicp","data-path":"src/components/Footer.tsx",children:e.label})},e.to))})]}),l.jsxs("div",{"data-id":"2ohe66j1w","data-path":"src/components/Footer.tsx",children:[l.jsx("h4",{className:"font-body font-bold text-sm uppercase tracking-widest mb-5",style:{color:"var(--hw-amber)"},"data-id":"x1egjzlki","data-path":"src/components/Footer.tsx",children:"Programs"}),l.jsx("ul",{className:"space-y-3","data-id":"jrujf53zu","data-path":"src/components/Footer.tsx",children:[{label:"Accessible Living Housing Initiative",to:"/programs/alhi"},{label:"Independent Living Empowerment Program",to:"/programs/ilep"},{label:"Community Inclusion & Accessibility Network",to:"/programs/cian"},{label:"Accessibility Resources",to:"/accessibility-resources"},{label:"Independent Living",to:"/independent-living"}].map(e=>l.jsx("li",{"data-id":"anf237kul","data-path":"src/components/Footer.tsx",children:l.jsx(U,{to:e.to,className:"font-body text-sm text-white/70 hover:text-white transition-colors","data-id":"uufc5vxoz","data-path":"src/components/Footer.tsx",children:e.label})},e.to))})]}),l.jsxs("div",{"data-id":"o04dctweq","data-path":"src/components/Footer.tsx",children:[l.jsx("h4",{className:"font-body font-bold text-sm uppercase tracking-widest mb-5",style:{color:"var(--hw-amber)"},"data-id":"v19u32occ","data-path":"src/components/Footer.tsx",children:"Contact Us"}),l.jsxs("ul",{className:"space-y-4","data-id":"5vt32wdi4","data-path":"src/components/Footer.tsx",children:[l.jsxs("li",{className:"flex items-start gap-3","data-id":"n8fgamins","data-path":"src/components/Footer.tsx",children:[l.jsx(Od,{size:15,className:"mt-0.5 shrink-0",style:{color:"var(--hw-amber)"},"data-id":"nv6v4rux1","data-path":"src/components/Footer.tsx"}),l.jsxs("span",{className:"font-body text-sm text-white/70 leading-relaxed","data-id":"sqf9eb4zl","data-path":"src/components/Footer.tsx",children:["3639 Midway Drive B 310",l.jsx("br",{"data-id":"0ga82zr4j","data-path":"src/components/Footer.tsx"}),"San Diego, CA 92110"]})]}),l.jsxs("li",{className:"flex items-center gap-3","data-id":"d49b10436","data-path":"src/components/Footer.tsx",children:[l.jsx(Ba,{size:15,className:"shrink-0",style:{color:"var(--hw-amber)"},"data-id":"y99wnddr9","data-path":"src/components/Footer.tsx"}),l.jsx("a",{href:"tel:+10198575464",className:"font-body text-sm text-white/70 hover:text-white transition-colors","data-id":"35bdzcpgg","data-path":"src/components/Footer.tsx",children:"+1-019-857-5464"})]}),l.jsxs("li",{className:"flex items-center gap-3","data-id":"upou2g2cx","data-path":"src/components/Footer.tsx",children:[l.jsx(qv,{size:15,className:"shrink-0",style:{color:"var(--hw-amber)"},"data-id":"7u7p474dy","data-path":"src/components/Footer.tsx"}),l.jsx("a",{href:"mailto:adminteam@coreedgeforge.com",className:"font-body text-sm text-white/70 hover:text-white transition-colors break-all","data-id":"xb5cmp0pd","data-path":"src/components/Footer.tsx",children:"adminteam@coreedgeforge.com"})]})]}),l.jsxs(U,{to:"/donate",className:"inline-flex items-center gap-2 mt-6 btn-primary text-xs","data-id":"2iqr77f08","data-path":"src/components/Footer.tsx",children:[l.jsx(Ms,{size:12,"data-id":"egaynysov","data-path":"src/components/Footer.tsx"}),"Support Our Mission"]})]})]}),l.jsx("div",{className:"border-t py-6 px-4",style:{borderColor:"rgba(255,255,255,0.08)"},"data-id":"ksispqkrm","data-path":"src/components/Footer.tsx",children:l.jsxs("div",{className:"max-w-7xl mx-auto flex flex-col md:flex-row items-center justify-between gap-3","data-id":"6kqe0eh6r","data-path":"src/components/Footer.tsx",children:[l.jsxs("p",{className:"font-body text-xs",style:{color:"var(--hw-gray)"},"data-id":"0enw6my4j","data-path":"src/components/Footer.tsx",children:["© ",new Date().getFullYear()," HOMEWERKS NP. All rights reserved. EIN: 87-3746253"]}),l.jsxs("div",{className:"flex gap-6","data-id":"76conyaka","data-path":"src/components/Footer.tsx",children:[l.jsx(U,{to:"/privacy-policy",className:"font-body text-xs text-white/50 hover:text-white transition-colors","data-id":"b1d7xxo5i","data-path":"src/components/Footer.tsx",children:"Privacy Policy"}),l.jsx(U,{to:"/terms",className:"font-body text-xs text-white/50 hover:text-white transition-colors","data-id":"srwhqwdxb","data-path":"src/components/Footer.tsx",children:"Terms & Conditions"}),l.jsx(U,{to:"/contact",className:"font-body text-xs text-white/50 hover:text-white transition-colors","data-id":"kwm04p8qp","data-path":"src/components/Footer.tsx",children:"Contact"})]})]})})]})}function It({children:e}){return l.jsxs("div",{className:"min-h-screen flex flex-col",style:{background:"var(--hw-cream)"},"data-id":"fsvb4vq6o","data-path":"src/components/Layout.tsx",children:[l.jsx(ET,{"data-id":"c3nstwppp","data-path":"src/components/Layout.tsx"}),l.jsx("main",{className:"flex-1 pt-[72px]","data-id":"12qf1m5ma","data-path":"src/components/Layout.tsx",children:e}),l.jsx(NT,{"data-id":"n52hpncla","data-path":"src/components/Layout.tsx"})]})}const TT=[{value:"240+",label:"Accessible Housing Units Supported"},{value:"580+",label:"Individuals Living Independently"},{value:"96%",label:"Long-Term Housing Stability Rate"},{value:"35+",label:"Community Partnerships"}],AT=[{icon:Xn,name:"Accessible Living Housing Initiative",abbr:"ALHI",desc:"We identify, fund, and adapt affordable housing units to meet accessibility standards—ensuring every resident has a safe, dignified home built for independence.",to:"/programs/alhi",color:"var(--hw-teal)"},{icon:Ds,name:"Independent Living Empowerment Program",abbr:"ILEP",desc:"Through personalized life skills coaching, assistive technology support, and peer mentorship, we equip individuals to manage daily life with confidence and autonomy.",to:"/programs/ilep",color:"var(--hw-teal-light)"},{icon:li,name:"Community Inclusion & Accessibility Network",abbr:"CIAN",desc:"We connect residents to employment, civic life, recreational opportunities, and peer networks—because true independence means belonging to a community.",to:"/programs/cian",color:"var(--hw-amber)"}],RT=[{quote:"Before HOMEWERKS NP found my accessible apartment, I spent three years on waiting lists. Now I manage my own schedule, my own groceries, my own life. That's not a small thing—that's everything.",name:"Sarah M.",role:"HOMEWERKS NP Resident",location:"San Diego, CA"},{quote:"As a parent, watching my son Marcus build real independence in his own home has been transformative. HOMEWERKS NP didn't just find him housing—they gave our family hope.",name:"James R.",role:"Family Member",location:"Mission Valley, CA"},{quote:"HOMEWERKS NP is doing the work that changes system trajectories. Their housing-first, dignity-forward model is exactly what the disability community deserves.",name:"Dr. Angela Torres",role:"Disability Advocate & Community Partner",location:"San Diego County"}],MT=["Dignity in every home we support","Independence as a fundamental right","Accessibility without compromise","Inclusion rooted in community belonging"];function DT(){return l.jsxs(It,{"data-id":"4kxhu3yq8","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("section",{className:"relative min-h-[92vh] flex items-center justify-center overflow-hidden hero-gradient","data-id":"k6foqphtd","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-20","data-id":"dsjzl8f3s","data-path":"src/pages/HomePage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-6xl mx-auto px-4 text-center py-20","data-id":"l18h60jwn","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full mb-8 animate-fade-in",style:{background:"rgba(201,145,59,0.2)",border:"1px solid rgba(201,145,59,0.4)"},"data-id":"tj9sfzjtn","data-path":"src/pages/HomePage.tsx",children:[l.jsx(Cj,{size:14,style:{color:"var(--hw-amber-light)"},"data-id":"gc8fvnohr","data-path":"src/pages/HomePage.tsx"}),l.jsx("span",{className:"font-body text-xs font-semibold tracking-wider uppercase",style:{color:"var(--hw-amber-light)"},"data-id":"02j6tzep8","data-path":"src/pages/HomePage.tsx",children:"Affordable Housing · Disability Inclusion · Independent Living"})]}),l.jsxs("h1",{className:"font-display text-5xl md:text-7xl font-light text-white leading-tight mb-6 animate-fade-up","data-id":"9swihiypd","data-path":"src/pages/HomePage.tsx",children:["A Home Where",l.jsx("br",{"data-id":"kiezj3f56","data-path":"src/pages/HomePage.tsx"}),l.jsx("em",{className:"font-medium",style:{color:"var(--hw-amber-light)"},"data-id":"9q8fgl2ks","data-path":"src/pages/HomePage.tsx",children:"Independence"})," Begins"]}),l.jsx("p",{className:"font-body text-lg md:text-xl text-white/75 max-w-2xl mx-auto mb-10 leading-relaxed animate-fade-up delay-200","data-id":"0bo07z36e","data-path":"src/pages/HomePage.tsx",children:"HOMEWERKS NP provides accessible, affordable housing and independent living support for individuals with disabilities across San Diego—enabling community, dignity, and lasting stability."}),l.jsxs("div",{className:"flex flex-wrap justify-center gap-4 animate-fade-up delay-300","data-id":"mqn07hxye","data-path":"src/pages/HomePage.tsx",children:[l.jsxs(U,{to:"/programs/alhi",className:"btn-primary text-base flex items-center gap-2","data-id":"lwludf7p7","data-path":"src/pages/HomePage.tsx",children:["Explore Our Programs ",l.jsx(qe,{size:16,"data-id":"qjistht41","data-path":"src/pages/HomePage.tsx"})]}),l.jsx(U,{to:"/about/story",className:"btn-white text-base","data-id":"msund68ys","data-path":"src/pages/HomePage.tsx",children:"Our Story"})]})]}),l.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-24 bg-gradient-to-t from-[#F9F6F0] to-transparent","data-id":"era5vsblk","data-path":"src/pages/HomePage.tsx"})]}),l.jsx("section",{className:"py-16 px-4",style:{background:"white"},"data-id":"4kpaxmflr","data-path":"src/pages/HomePage.tsx",children:l.jsx("div",{className:"max-w-5xl mx-auto","data-id":"wsvg8q9z4","data-path":"src/pages/HomePage.tsx",children:l.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-8 text-center","data-id":"imvfw7ztb","data-path":"src/pages/HomePage.tsx",children:TT.map((e,t)=>l.jsxs("div",{className:"animate-fade-up",style:{animationDelay:`${t*.1}s`},"data-id":"g90pypf42","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"font-display text-4xl md:text-5xl font-semibold mb-2",style:{color:"var(--hw-teal)"},"data-id":"p3wjbdqsg","data-path":"src/pages/HomePage.tsx",children:e.value}),l.jsx("p",{className:"font-body text-sm text-gray-500 leading-snug","data-id":"lb7sxhhh4","data-path":"src/pages/HomePage.tsx",children:e.label})]},t))})})}),l.jsx("section",{className:"py-20 px-4 bg-cream","data-id":"6sxgu56ye","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto","data-id":"z00nofmw1","data-path":"src/pages/HomePage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"nmblfdelf","data-path":"src/pages/HomePage.tsx"}),l.jsxs("h2",{className:"font-display text-3xl md:text-5xl font-light leading-snug mb-8",style:{color:"var(--hw-dark)"},"data-id":"d06jk26cb","data-path":"src/pages/HomePage.tsx",children:["Affordable housing isn't just shelter—it's the"," ",l.jsx("em",{className:"font-medium",style:{color:"var(--hw-teal)"},"data-id":"85ray2d39","data-path":"src/pages/HomePage.tsx",children:"foundation"})," ","for everything independence makes possible."]}),l.jsx("p",{className:"font-body text-lg text-gray-600 leading-relaxed mb-8 max-w-2xl","data-id":"svzzj3q5a","data-path":"src/pages/HomePage.tsx",children:"HOMEWERKS NP's mission is to provide affordable housing and accommodations for individuals with disabilities, enabling them to live independently in the communities of their choice. We are dedicated to increasing accessibility, promoting inclusion, and supporting independent living opportunities that enhance quality of life and community participation."}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4","data-id":"7rd2i40ys","data-path":"src/pages/HomePage.tsx",children:MT.map((e,t)=>l.jsxs("div",{className:"flex items-center gap-3","data-id":"3hj0q93wp","data-path":"src/pages/HomePage.tsx",children:[l.jsx(jl,{size:18,style:{color:"var(--hw-amber)",flexShrink:0},"data-id":"6h5n4f3ga","data-path":"src/pages/HomePage.tsx"}),l.jsx("span",{className:"font-body text-sm font-semibold text-gray-700","data-id":"3me2ms5vb","data-path":"src/pages/HomePage.tsx",children:e})]},t))})]})}),l.jsx("section",{className:"py-20 px-4",style:{background:"white"},"data-id":"dwjfx4f7w","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"max-w-6xl mx-auto","data-id":"pzdmmenqp","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"mb-14","data-id":"gummv1gqa","data-path":"src/pages/HomePage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"wdjyctbta","data-path":"src/pages/HomePage.tsx"}),l.jsx("h2",{className:"font-display text-4xl md:text-5xl font-light",style:{color:"var(--hw-dark)"},"data-id":"z1w9txuz2","data-path":"src/pages/HomePage.tsx",children:"Programs That Move People Forward"}),l.jsx("p",{className:"font-body text-gray-500 mt-4 max-w-xl","data-id":"y18zkftxe","data-path":"src/pages/HomePage.tsx",children:"Three interconnected programs. One shared purpose: expanding what's possible for every individual we serve."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8","data-id":"sy6ixvpbt","data-path":"src/pages/HomePage.tsx",children:AT.map((e,t)=>{const n=e.icon;return l.jsxs("div",{className:"card-hover rounded-xl p-8 border border-gray-100 bg-white group","data-id":"mcmdgpcn2","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"w-12 h-12 rounded-lg flex items-center justify-center mb-6",style:{background:`${e.color}18`},"data-id":"iyvs5mizx","data-path":"src/pages/HomePage.tsx",children:l.jsx(n,{size:22,style:{color:e.color},"data-id":"hkn6tz93c","data-path":"src/pages/HomePage.tsx"})}),l.jsx("div",{className:"font-body text-xs font-bold tracking-widest uppercase mb-2",style:{color:e.color},"data-id":"i8wbpb74b","data-path":"src/pages/HomePage.tsx",children:e.abbr}),l.jsx("h3",{className:"font-display text-2xl font-medium mb-4",style:{color:"var(--hw-dark)"},"data-id":"h506sq18l","data-path":"src/pages/HomePage.tsx",children:e.name}),l.jsx("p",{className:"font-body text-gray-500 text-sm leading-relaxed mb-6","data-id":"1ljwx0vof","data-path":"src/pages/HomePage.tsx",children:e.desc}),l.jsxs(U,{to:e.to,className:"inline-flex items-center gap-2 font-body text-sm font-bold transition-all group-hover:gap-3",style:{color:e.color},"data-id":"9khdzeepq","data-path":"src/pages/HomePage.tsx",children:["Learn More ",l.jsx(qe,{size:14,"data-id":"8glxjnu9z","data-path":"src/pages/HomePage.tsx"})]})]},t)})})]})}),l.jsx("section",{className:"py-20 px-4 bg-cream","data-id":"0hoh50wc3","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"max-w-6xl mx-auto","data-id":"g61mnhzez","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"mb-14","data-id":"53snq65t3","data-path":"src/pages/HomePage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"rxp869fbw","data-path":"src/pages/HomePage.tsx"}),l.jsx("h2",{className:"font-display text-4xl md:text-5xl font-light",style:{color:"var(--hw-dark)"},"data-id":"d7wplhe5m","data-path":"src/pages/HomePage.tsx",children:"Voices of Independence"})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8","data-id":"158plicku","data-path":"src/pages/HomePage.tsx",children:RT.map((e,t)=>l.jsxs("div",{className:"bg-white rounded-xl p-8 border border-gray-100 card-hover","data-id":"zzvb54d40","data-path":"src/pages/HomePage.tsx",children:[l.jsx(Nf,{size:28,className:"mb-4 opacity-20",style:{color:"var(--hw-teal)"},"data-id":"99ix9l55j","data-path":"src/pages/HomePage.tsx"}),l.jsxs("p",{className:"font-body text-gray-600 leading-relaxed mb-6 italic text-sm","data-id":"687z9k21y","data-path":"src/pages/HomePage.tsx",children:['"',e.quote,'"']}),l.jsxs("div",{"data-id":"7t865bn5f","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"font-body font-bold text-sm",style:{color:"var(--hw-dark)"},"data-id":"1hvbk1scy","data-path":"src/pages/HomePage.tsx",children:e.name}),l.jsx("div",{className:"font-body text-xs text-gray-400 mt-1","data-id":"kw7i21t3f","data-path":"src/pages/HomePage.tsx",children:e.role}),l.jsx("div",{className:"font-body text-xs mt-0.5",style:{color:"var(--hw-teal)"},"data-id":"594flcn0s","data-path":"src/pages/HomePage.tsx",children:e.location})]})]},t))})]})}),l.jsxs("section",{className:"relative py-20 px-4 hero-gradient overflow-hidden","data-id":"f90rw62x7","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-10","data-id":"ucs59vo12","data-path":"src/pages/HomePage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-5xl mx-auto text-center","data-id":"0i5124sqn","data-path":"src/pages/HomePage.tsx",children:[l.jsx("span",{className:"font-body text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"var(--hw-amber-light)"},"data-id":"ishc3gtdv","data-path":"src/pages/HomePage.tsx",children:"Our Impact"}),l.jsx("h2",{className:"font-display text-4xl md:text-5xl font-light text-white mb-6","data-id":"lnthpewyd","data-path":"src/pages/HomePage.tsx",children:"Every Number Represents a Life Transformed"}),l.jsx("p",{className:"font-body text-white/70 text-lg max-w-xl mx-auto mb-10","data-id":"q1hagzap7","data-path":"src/pages/HomePage.tsx",children:"Since our founding, HOMEWERKS NP has worked alongside hundreds of individuals and families to create lasting paths to independent living."}),l.jsxs(U,{to:"/impact",className:"btn-primary inline-flex items-center gap-2","data-id":"pg93firqe","data-path":"src/pages/HomePage.tsx",children:["See Full Impact Report ",l.jsx(qe,{size:16,"data-id":"yccj77r18","data-path":"src/pages/HomePage.tsx"})]})]})]}),l.jsx("section",{className:"py-20 px-4",style:{background:"white"},"data-id":"qx6226h36","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"max-w-6xl mx-auto","data-id":"ck71efwyn","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"flex flex-col sm:flex-row items-start sm:items-end justify-between mb-12 gap-4","data-id":"5ef450ghe","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{"data-id":"ltos1h787","data-path":"src/pages/HomePage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"mn5cjq4kl","data-path":"src/pages/HomePage.tsx"}),l.jsx("h2",{className:"font-display text-4xl md:text-5xl font-light",style:{color:"var(--hw-dark)"},"data-id":"1dmqzlrpz","data-path":"src/pages/HomePage.tsx",children:"Ideas & Insights"})]}),l.jsx(U,{to:"/blog",className:"btn-outline text-sm shrink-0","data-id":"5ga6mfq6t","data-path":"src/pages/HomePage.tsx",children:"View All Articles"})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8","data-id":"jjeyxkmh5","data-path":"src/pages/HomePage.tsx",children:[{cat:"Independent Living",title:"From Waiting Lists to Home: How Accessible Housing Changes Lives",excerpt:"The gap between qualifying for accessible housing and actually finding it can span years. We explore the systemic barriers and how targeted advocacy closes the gap.",date:"June 8, 2026"},{cat:"Universal Design",title:"5 Universal Design Principles Every Housing Developer Should Prioritize",excerpt:"Accessibility isn't a feature add-on—it's foundational architecture. These five principles transform how developers approach housing design for all abilities.",date:"May 21, 2026"},{cat:"Community Inclusion",title:"Why Your ZIP Code Determines Your Quality of Life with a Disability",excerpt:"Location shapes access to transit, employment, healthcare, and social connection. We examine the community-level factors that define independent living outcomes.",date:"May 3, 2026"}].map((e,t)=>l.jsxs(U,{to:"/blog",className:"group block card-hover rounded-xl overflow-hidden border border-gray-100","data-id":"6y6ltmyne","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"h-44 flex items-center justify-center",style:{background:t===0?"linear-gradient(135deg, #1B5E6E, #2D8A7A)":t===1?"linear-gradient(135deg, #2D8A7A, #3aada0)":"linear-gradient(135deg, #C9913B, #E0AA5A)"},"data-id":"773ju6w1w","data-path":"src/pages/HomePage.tsx",children:l.jsx("span",{className:"font-display text-5xl text-white opacity-20","data-id":"zmi02djpe","data-path":"src/pages/HomePage.tsx",children:String(t+1).padStart(2,"0")})}),l.jsxs("div",{className:"p-6","data-id":"zdrsjtvvh","data-path":"src/pages/HomePage.tsx",children:[l.jsx("span",{className:"font-body text-xs font-bold tracking-widest uppercase mb-3 block",style:{color:"var(--hw-amber)"},"data-id":"y4097c2uw","data-path":"src/pages/HomePage.tsx",children:e.cat}),l.jsx("h3",{className:"font-display text-xl font-medium mb-3 leading-snug",style:{color:"var(--hw-dark)"},"data-id":"9oqdtagbl","data-path":"src/pages/HomePage.tsx",children:e.title}),l.jsx("p",{className:"font-body text-sm text-gray-500 leading-relaxed mb-4","data-id":"onqbn3h0o","data-path":"src/pages/HomePage.tsx",children:e.excerpt}),l.jsx("span",{className:"font-body text-xs text-gray-400","data-id":"6j1dbdzq0","data-path":"src/pages/HomePage.tsx",children:e.date})]})]},t))})]})}),l.jsx("section",{className:"py-20 px-4 bg-cream","data-id":"eeg2t4bqe","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto text-center","data-id":"o2oqu7f49","data-path":"src/pages/HomePage.tsx",children:[l.jsx("span",{className:"divider-amber",style:{margin:"0 auto 1.5rem"},"data-id":"5nbk6gnt7","data-path":"src/pages/HomePage.tsx"}),l.jsx("h2",{className:"font-display text-4xl md:text-5xl font-light mb-6",style:{color:"var(--hw-dark)"},"data-id":"29l6dhne5","data-path":"src/pages/HomePage.tsx",children:"Invest in Someone's Independence"}),l.jsx("p",{className:"font-body text-gray-500 text-lg leading-relaxed mb-8","data-id":"3glwywq7m","data-path":"src/pages/HomePage.tsx",children:"When you give to HOMEWERKS NP, you make accessible housing accessible to those who need it most. Every dollar expands our ability to serve, advocate, and include."}),l.jsxs("div",{className:"flex flex-wrap justify-center gap-4","data-id":"yenak92l6","data-path":"src/pages/HomePage.tsx",children:[l.jsxs(U,{to:"/donate",className:"btn-primary text-base inline-flex items-center gap-2","data-id":"ip4b77bmc","data-path":"src/pages/HomePage.tsx",children:["Donate Now ",l.jsx(qe,{size:16,"data-id":"vyf7iqcw9","data-path":"src/pages/HomePage.tsx"})]}),l.jsx(U,{to:"/contact",className:"btn-outline text-base","data-id":"l5718zkw2","data-path":"src/pages/HomePage.tsx",children:"Become a Partner"})]})]})})]})}const IT=e=>{switch(e){case"story":return l.jsx(Im,{"data-id":"w6q8v1srx","data-path":"src/pages/AboutPage.tsx"});case"mission":return l.jsx(LT,{"data-id":"7q1ox3zk4","data-path":"src/pages/AboutPage.tsx"});case"team":return l.jsx(OT,{"data-id":"y93avde0n","data-path":"src/pages/AboutPage.tsx"});default:return l.jsx(Im,{"data-id":"o2zqe6drs","data-path":"src/pages/AboutPage.tsx"})}};function Kf({title:e,subtitle:t,breadcrumb:n}){return l.jsxs("section",{className:"relative py-28 px-4 hero-gradient overflow-hidden","data-id":"dj4ywoqq4","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-10","data-id":"l3i8gr1co","data-path":"src/pages/AboutPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto","data-id":"sh3vh4w20","data-path":"src/pages/AboutPage.tsx",children:[l.jsxs("span",{className:"font-body text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"var(--hw-amber-light)"},"data-id":"6bj1o90m1","data-path":"src/pages/AboutPage.tsx",children:["About Us › ",n]}),l.jsx("h1",{className:"font-display text-5xl md:text-6xl font-light text-white mb-6 leading-tight","data-id":"vkpfyls33","data-path":"src/pages/AboutPage.tsx",children:e}),l.jsx("p",{className:"font-body text-white/70 text-lg max-w-2xl leading-relaxed","data-id":"gr0fzip9x","data-path":"src/pages/AboutPage.tsx",children:t})]})]})}function Im(){return l.jsxs(l.Fragment,{children:[l.jsx(Kf,{title:"Our Story",breadcrumb:"Our Story",subtitle:"HOMEWERKS NP was founded on a simple but urgent truth: people with disabilities deserve to choose where they live, how they live, and who they become.","data-id":"2r9xbukn1","data-path":"src/pages/AboutPage.tsx"}),l.jsx("section",{className:"py-20 px-4 bg-white","data-id":"ppmpbj7pf","data-path":"src/pages/AboutPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto","data-id":"p382opxa5","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"od4t2ap2u","data-path":"src/pages/AboutPage.tsx"}),l.jsx("h2",{className:"font-display text-4xl font-light mb-8",style:{color:"var(--hw-dark)"},"data-id":"8xm04tdoi","data-path":"src/pages/AboutPage.tsx",children:"Born From a Gap the System Left Open"}),l.jsxs("div",{className:"space-y-6 font-body text-gray-600 leading-relaxed text-[1.05rem]","data-id":"n0dwppx23","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("p",{"data-id":"zludzezr3","data-path":"src/pages/AboutPage.tsx",children:"HOMEWERKS NP was established in response to a crisis hiding in plain sight: across California, thousands of individuals with physical, sensory, and developmental disabilities were navigating housing markets that were neither affordable nor accessible. Emergency services couldn't solve it. Standard affordable housing often lacked the modifications for truly independent living. The gap between a diagnosis and a dignified home was—and in many cases remains—staggeringly wide."}),l.jsx("p",{"data-id":"tshnllqlt","data-path":"src/pages/AboutPage.tsx",children:"Our founders, a coalition of disability advocates, social workers, and housing specialists based in San Diego, recognized that the missing piece wasn't awareness—it was infrastructure. People with disabilities needed more than charity. They needed systems: housing pipelines tailored to accessibility needs, life skills pathways that built lasting competencies, and community networks that made independent living genuinely sustainable."}),l.jsx("p",{"data-id":"akn39v1a6","data-path":"src/pages/AboutPage.tsx",children:"From its first year, HOMEWERKS NP took a different approach. Rather than placing individuals into available units and moving on, we stayed—through lease renewals, apartment modifications, benefits navigation, and community connection. We built lasting relationships with property owners willing to adapt units. We partnered with disability services organizations across San Diego County. We listened, and we iterated."}),l.jsx("p",{"data-id":"4xzfpm1p4","data-path":"src/pages/AboutPage.tsx",children:"Today, HOMEWERKS NP serves over 580 individuals living independently across the region. Our three core programs—the Accessible Living Housing Initiative, the Independent Living Empowerment Program, and the Community Inclusion & Accessibility Network—operate as an integrated ecosystem designed not just to place people in housing, but to ensure that housing becomes the foundation for everything that follows."})]}),l.jsxs("div",{className:"mt-12 p-8 rounded-xl",style:{background:"var(--hw-cream)"},"data-id":"bhaqdhmp0","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("p",{className:"font-display text-2xl font-light italic leading-relaxed",style:{color:"var(--hw-teal)"},"data-id":"lcl8nd4lw","data-path":"src/pages/AboutPage.tsx",children:`"We didn't start HOMEWERKS NP to solve a problem. We started it because the people affected by that problem deserved better—and because better was possible."`}),l.jsxs("div",{className:"mt-4","data-id":"n6uy7qx2d","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("div",{className:"font-body font-bold text-sm",style:{color:"var(--hw-dark)"},"data-id":"e9c7tvylo","data-path":"src/pages/AboutPage.tsx",children:"HOMEWERKS NP Founding Team"}),l.jsx("div",{className:"font-body text-xs text-gray-400 mt-1","data-id":"mr5yo81qr","data-path":"src/pages/AboutPage.tsx",children:"San Diego, California"})]})]})]})}),l.jsx("section",{className:"py-16 px-4 bg-cream","data-id":"6q1mdyw3l","data-path":"src/pages/AboutPage.tsx",children:l.jsx("div",{className:"max-w-5xl mx-auto grid grid-cols-2 md:grid-cols-4 gap-8 text-center","data-id":"q7byc3mm0","data-path":"src/pages/AboutPage.tsx",children:[{label:"Year Founded",value:"2018"},{label:"San Diego County",value:"100%"},{label:"People Served",value:"580+"},{label:"Housing Partners",value:"35+"}].map((e,t)=>l.jsxs("div",{"data-id":"94733n9aj","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("div",{className:"font-display text-4xl font-semibold mb-2",style:{color:"var(--hw-teal)"},"data-id":"1aw4c11q5","data-path":"src/pages/AboutPage.tsx",children:e.value}),l.jsx("div",{className:"font-body text-sm text-gray-500","data-id":"k773x4d6i","data-path":"src/pages/AboutPage.tsx",children:e.label})]},t))})})]})}function LT(){const e=[{icon:Ms,title:"Dignity First",desc:"Every individual we serve is a whole person—not a diagnosis, a statistic, or a case file. We design every program around human dignity."},{icon:kj,title:"Accessibility Without Exception",desc:"True accessibility is non-negotiable. We refuse to accept half-measures in housing design, program delivery, or community inclusion."},{icon:Ds,title:"Community as a Right",desc:"Belonging is not a privilege. We work to ensure every resident has genuine access to the community life that defines independent living."},{icon:Tf,title:"Long-Term Commitment",desc:"We don't move on after placement. Our support extends through the full arc of a person's independent living journey."},{icon:cj,title:"Person-Centered Solutions",desc:"No two individuals have identical needs. We customize our approach to honor each person's goals, strengths, and life preferences."},{icon:Kk,title:"Evidence-Informed Practice",desc:"Our programs are built on disability research, independent living best practices, and the lived expertise of the people we serve."}];return l.jsxs(l.Fragment,{children:[l.jsx(Kf,{title:"Mission & Values",breadcrumb:"Mission & Values",subtitle:"We are guided by a clear mission and rooted in values that put the lived experience of people with disabilities at the center of everything we do.","data-id":"rvfut374k","data-path":"src/pages/AboutPage.tsx"}),l.jsx("section",{className:"py-20 px-4 bg-white","data-id":"h8lds2h3l","data-path":"src/pages/AboutPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto","data-id":"rehooiqem","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"bcybcytir","data-path":"src/pages/AboutPage.tsx"}),l.jsx("h2",{className:"font-display text-4xl font-light mb-6",style:{color:"var(--hw-dark)"},"data-id":"zk0zxthb0","data-path":"src/pages/AboutPage.tsx",children:"Our Mission"}),l.jsx("div",{className:"p-10 rounded-xl mb-16",style:{background:"var(--hw-teal)"},"data-id":"fnjlp9aj7","data-path":"src/pages/AboutPage.tsx",children:l.jsx("p",{className:"font-display text-2xl md:text-3xl font-light text-white leading-relaxed italic","data-id":"aoukpww9c","data-path":"src/pages/AboutPage.tsx",children:`"HOMEWERKS NP's mission is to provide affordable housing and accommodations for individuals with disabilities, enabling them to live independently in the communities of their choice. The organization is dedicated to increasing accessibility, promoting inclusion, and supporting independent living opportunities that enhance quality of life and community participation."`})}),l.jsx("h2",{className:"font-display text-4xl font-light mb-12",style:{color:"var(--hw-dark)"},"data-id":"ffoq4hhu8","data-path":"src/pages/AboutPage.tsx",children:"Our Core Values"}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8","data-id":"6y9ifj0gd","data-path":"src/pages/AboutPage.tsx",children:e.map((t,n)=>{const s=t.icon;return l.jsxs("div",{className:"flex gap-5","data-id":"y718rwrn6","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("div",{className:"w-11 h-11 rounded-lg flex items-center justify-center shrink-0",style:{background:"var(--hw-amber)18"},"data-id":"jesrplj7f","data-path":"src/pages/AboutPage.tsx",children:l.jsx(s,{size:20,style:{color:"var(--hw-amber)"},"data-id":"1evyo9sqk","data-path":"src/pages/AboutPage.tsx"})}),l.jsxs("div",{"data-id":"gflxrhj3y","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("h3",{className:"font-display text-xl font-medium mb-2",style:{color:"var(--hw-dark)"},"data-id":"2xfs7dwbc","data-path":"src/pages/AboutPage.tsx",children:t.title}),l.jsx("p",{className:"font-body text-sm text-gray-500 leading-relaxed","data-id":"9eg2jkxwg","data-path":"src/pages/AboutPage.tsx",children:t.desc})]})]},n)})})]})}),l.jsx("section",{className:"py-16 px-4 bg-cream","data-id":"oqevjcnih","data-path":"src/pages/AboutPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto text-center","data-id":"xh3disvhe","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("h2",{className:"font-display text-3xl font-light mb-4",style:{color:"var(--hw-dark)"},"data-id":"7d7vkibaq","data-path":"src/pages/AboutPage.tsx",children:"Our Four Areas of Focus"}),l.jsx("p",{className:"font-body text-gray-500 mb-12 max-w-xl mx-auto","data-id":"7u00e67m1","data-path":"src/pages/AboutPage.tsx",children:"Every program, partnership, and service we offer connects to one of these four operational purposes."}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6 text-left","data-id":"s6wy37ypz","data-path":"src/pages/AboutPage.tsx",children:[{num:"01",title:"Accessible & Affordable Housing",desc:"Identifying, funding, and adapting housing that meets real accessibility needs—not just code minimums."},{num:"02",title:"Independent Living Support",desc:"Delivering life skills, coaching, and assistive resources that sustain genuine daily independence."},{num:"03",title:"Disability Inclusion & Community Participation",desc:"Connecting residents to employment, social, and civic opportunities that make community real."},{num:"04",title:"Accessibility Advocacy & Quality of Life Enhancement",desc:"Advocating for systemic change, accessible policy, and quality housing standards across San Diego."}].map((t,n)=>l.jsxs("div",{className:"bg-white rounded-xl p-6 border border-gray-100","data-id":"pja8logxk","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("div",{className:"font-display text-3xl font-light mb-3",style:{color:"var(--hw-amber)"},"data-id":"5wujzuhv5","data-path":"src/pages/AboutPage.tsx",children:t.num}),l.jsx("h3",{className:"font-display text-xl font-medium mb-2",style:{color:"var(--hw-dark)"},"data-id":"qlqve4e8i","data-path":"src/pages/AboutPage.tsx",children:t.title}),l.jsx("p",{className:"font-body text-sm text-gray-500 leading-relaxed","data-id":"00c30bd02","data-path":"src/pages/AboutPage.tsx",children:t.desc})]},n))})]})})]})}function OT(){const e=[{name:"Patricia L. Whitmore",role:"Executive Director",bio:"With over 20 years in disability services and affordable housing policy, Patricia leads HOMEWERKS NP's organizational strategy and community partnerships. A fierce advocate for accessibility rights, she has shaped housing policy across California."},{name:"Dr. Marcus J. Reid",role:"Director of Programs",bio:"Dr. Reid brings a background in rehabilitation science and independent living research. He oversees all three HOMEWERKS NP programs, ensuring they reflect the latest evidence in disability-inclusive housing practice."},{name:"Elena Vasquez",role:"Housing Access Coordinator",bio:"Elena works directly with property owners and housing partners to identify, negotiate, and adapt accessible units. She has placed over 180 individuals in appropriate housing over her tenure."},{name:"Thomas Okafor",role:"Independent Living Specialist",bio:"A certified Independent Living Specialist with lived experience as a wheelchair user, Thomas designs and delivers the life skills curriculum within our ILEP program with authenticity and precision."},{name:"Samira Khalil",role:"Community Inclusion Coordinator",bio:"Samira builds the community bridges that transform a housing unit into a real home. She coordinates employment pathways, social connections, and civic engagement for HOMEWERKS NP residents."},{name:"Denise Fong",role:"Development & Communications",bio:"Denise manages fundraising, donor relationships, and organizational communications—ensuring that HOMEWERKS NP's story reaches the partners and supporters who make the mission possible."}];return l.jsxs(l.Fragment,{children:[l.jsx(Kf,{title:"Meet Our Team",breadcrumb:"Team",subtitle:"The people behind HOMEWERKS NP bring professional expertise, personal commitment, and shared belief that accessible housing changes everything.","data-id":"o9t7369sc","data-path":"src/pages/AboutPage.tsx"}),l.jsx("section",{className:"py-20 px-4 bg-white","data-id":"22x11acku","data-path":"src/pages/AboutPage.tsx",children:l.jsxs("div",{className:"max-w-6xl mx-auto","data-id":"5nhqyjpix","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"u816lgjsv","data-path":"src/pages/AboutPage.tsx"}),l.jsx("h2",{className:"font-display text-4xl font-light mb-14",style:{color:"var(--hw-dark)"},"data-id":"t05uipq6q","data-path":"src/pages/AboutPage.tsx",children:"Leadership & Staff"}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8","data-id":"6wbe7c6d2","data-path":"src/pages/AboutPage.tsx",children:e.map((t,n)=>l.jsxs("div",{className:"bg-white rounded-xl border border-gray-100 overflow-hidden card-hover","data-id":"l3pokrrc0","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("div",{className:"h-40 flex items-center justify-center",style:{background:`linear-gradient(135deg, ${n%2===0?"#1B5E6E":"#C9913B"}, ${n%2===0?"#2D8A7A":"#E0AA5A"})`},"data-id":"u9pqjzc8h","data-path":"src/pages/AboutPage.tsx",children:l.jsx("div",{className:"w-20 h-20 rounded-full bg-white/20 flex items-center justify-center","data-id":"7zow0ryur","data-path":"src/pages/AboutPage.tsx",children:l.jsx("span",{className:"font-display text-3xl font-semibold text-white","data-id":"do5mid8mu","data-path":"src/pages/AboutPage.tsx",children:t.name.split(" ").map(s=>s[0]).join("").slice(0,2)})})}),l.jsxs("div",{className:"p-6","data-id":"wumy1652w","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("h3",{className:"font-display text-xl font-medium mb-1",style:{color:"var(--hw-dark)"},"data-id":"8pupiccdj","data-path":"src/pages/AboutPage.tsx",children:t.name}),l.jsx("div",{className:"font-body text-xs font-bold tracking-widest uppercase mb-3",style:{color:"var(--hw-amber)"},"data-id":"juw4nccja","data-path":"src/pages/AboutPage.tsx",children:t.role}),l.jsx("p",{className:"font-body text-sm text-gray-500 leading-relaxed","data-id":"mmjouxc9a","data-path":"src/pages/AboutPage.tsx",children:t.bio})]})]},n))})]})}),l.jsx("section",{className:"py-16 px-4 bg-cream","data-id":"315w0eval","data-path":"src/pages/AboutPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto text-center","data-id":"57pf367rj","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("h2",{className:"font-display text-3xl font-light mb-4",style:{color:"var(--hw-dark)"},"data-id":"53f9j5uhj","data-path":"src/pages/AboutPage.tsx",children:"Join the Team"}),l.jsx("p",{className:"font-body text-gray-500 mb-8 max-w-xl mx-auto","data-id":"skbwhxazg","data-path":"src/pages/AboutPage.tsx",children:"We are always seeking passionate individuals committed to disability inclusion and accessible housing. Reach out to learn about volunteer, internship, and staff opportunities."}),l.jsxs(U,{to:"/contact",className:"btn-primary inline-flex items-center gap-2","data-id":"dj4yz44w5","data-path":"src/pages/AboutPage.tsx",children:["Get Involved ",l.jsx(qe,{size:16,"data-id":"n9ucid4tu","data-path":"src/pages/AboutPage.tsx"})]})]})})]})}function Lm(){const{section:e}=Q0();return l.jsx(It,{"data-id":"fgsfp6dtw","data-path":"src/pages/AboutPage.tsx",children:IT(e||"story")})}function Gf({title:e,subtitle:t,tag:n,color:s}){return l.jsxs("section",{className:"relative py-28 px-4 overflow-hidden hero-gradient","data-id":"92as64ype","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-10","data-id":"1zcvp4qaa","data-path":"src/pages/ProgramsPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto","data-id":"f037aijpr","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsxs("span",{className:"font-body text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"var(--hw-amber-light)"},"data-id":"18kpub8y7","data-path":"src/pages/ProgramsPage.tsx",children:["Programs › ",n]}),l.jsx("h1",{className:"font-display text-5xl md:text-6xl font-light text-white mb-6 leading-tight","data-id":"hex1lqi76","data-path":"src/pages/ProgramsPage.tsx",children:e}),l.jsx("p",{className:"font-body text-white/70 text-lg max-w-2xl leading-relaxed","data-id":"an96giu3e","data-path":"src/pages/ProgramsPage.tsx",children:t})]})]})}function zT(){return l.jsxs(l.Fragment,{children:[l.jsx(Gf,{title:"Accessible Living Housing Initiative",tag:"ALHI",subtitle:"We find, fund, and adapt affordable housing so that accessibility is never the reason someone lives without choice, comfort, or dignity.","data-id":"5uiic1vq2","data-path":"src/pages/ProgramsPage.tsx"}),l.jsx("section",{className:"py-20 px-4 bg-white","data-id":"ajrojucgn","data-path":"src/pages/ProgramsPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto","data-id":"spo3a3245","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"yjnndm0zo","data-path":"src/pages/ProgramsPage.tsx"}),l.jsx("h2",{className:"font-display text-4xl font-light mb-8",style:{color:"var(--hw-dark)"},"data-id":"pbph6gsu1","data-path":"src/pages/ProgramsPage.tsx",children:"About This Program"}),l.jsxs("div",{className:"space-y-6 font-body text-gray-600 leading-relaxed text-[1.05rem]","data-id":"3t75f1nw3","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("p",{"data-id":"8rm5uvt1o","data-path":"src/pages/ProgramsPage.tsx",children:"The Accessible Living Housing Initiative (ALHI) is HOMEWERKS NP's flagship housing access program. We work directly with landlords, property managers, developers, and public housing authorities to identify and secure units that meet—or can be adapted to meet—the accessibility needs of individuals with physical, sensory, or developmental disabilities."}),l.jsx("p",{"data-id":"myt92vvcj","data-path":"src/pages/ProgramsPage.tsx",children:"The housing market rarely builds for accessibility. The ALHI program bridges that gap by negotiating unit modifications, coordinating accessibility retrofits, and advocating for fair housing rights on behalf of the individuals we serve. We do not simply help people find housing—we transform housing to fit the people who need it."}),l.jsx("p",{"data-id":"zlkis62nu","data-path":"src/pages/ProgramsPage.tsx",children:"ALHI participants receive dedicated housing access counseling, help navigating housing subsidies and rental assistance programs, legal advocacy support, and long-term follow-up to ensure housing remains stable, safe, and accessible over time."})]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 mt-12","data-id":"t4ztuy3ev","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsxs("div",{className:"p-7 rounded-xl",style:{background:"var(--hw-cream)"},"data-id":"a6l85el7y","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("h3",{className:"font-display text-2xl font-medium mb-5",style:{color:"var(--hw-dark)"},"data-id":"q61nnvnzf","data-path":"src/pages/ProgramsPage.tsx",children:"What We Provide"}),l.jsx("ul",{className:"space-y-3","data-id":"be7sjwf0p","data-path":"src/pages/ProgramsPage.tsx",children:["Accessible unit identification and matching","Coordination of accessibility modifications","Rental assistance navigation","Landlord negotiation and partnership","Fair housing rights advocacy","Long-term housing stability follow-up"].map((e,t)=>l.jsxs("li",{className:"flex items-center gap-3 font-body text-sm text-gray-700","data-id":"djn7b974y","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx(jl,{size:15,style:{color:"var(--hw-teal)",flexShrink:0},"data-id":"58nye5p7l","data-path":"src/pages/ProgramsPage.tsx"}),e]},t))})]}),l.jsxs("div",{className:"p-7 rounded-xl",style:{background:"var(--hw-teal)"},"data-id":"24vffbdtk","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("h3",{className:"font-display text-2xl font-medium mb-5 text-white","data-id":"psh9wover","data-path":"src/pages/ProgramsPage.tsx",children:"Program Impact"}),l.jsx("div",{className:"space-y-5","data-id":"5iu5kjus3","data-path":"src/pages/ProgramsPage.tsx",children:[{value:"240+",label:"Accessible units supported"},{value:"97%",label:"Housing stability at 12 months"},{value:"1,200+",label:"Accessibility modifications completed"},{value:"60+",label:"Landlord partners enrolled"}].map((e,t)=>l.jsxs("div",{className:"border-b border-white/20 pb-4 last:border-0 last:pb-0","data-id":"zw244iyoe","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("div",{className:"font-display text-3xl font-medium text-white","data-id":"7jmwuei9w","data-path":"src/pages/ProgramsPage.tsx",children:e.value}),l.jsx("div",{className:"font-body text-sm text-white/70 mt-1","data-id":"ungwsdj9v","data-path":"src/pages/ProgramsPage.tsx",children:e.label})]},t))})]})]})]})}),l.jsx("section",{className:"py-16 px-4 bg-cream","data-id":"7gimgw428","data-path":"src/pages/ProgramsPage.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto text-center","data-id":"pxrp6lkje","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("h2",{className:"font-display text-3xl font-light mb-4",style:{color:"var(--hw-dark)"},"data-id":"ub7dpshpo","data-path":"src/pages/ProgramsPage.tsx",children:"Ready to Apply?"}),l.jsx("p",{className:"font-body text-gray-500 mb-8","data-id":"53h920jge","data-path":"src/pages/ProgramsPage.tsx",children:"Contact our housing access team to learn whether you or someone you know qualifies for the Accessible Living Housing Initiative."}),l.jsxs(U,{to:"/contact",className:"btn-primary inline-flex items-center gap-2","data-id":"jnqelwb6h","data-path":"src/pages/ProgramsPage.tsx",children:["Contact Our Team ",l.jsx(Ba,{size:15,"data-id":"93sjxj8z5","data-path":"src/pages/ProgramsPage.tsx"})]})]})})]})}function FT(){return l.jsxs(l.Fragment,{children:[l.jsx(Gf,{title:"Independent Living Empowerment Program",tag:"ILEP",subtitle:"Real independence isn't given—it's built. The ILEP program provides the tools, skills, and sustained support to build it.","data-id":"8w0j5yjed","data-path":"src/pages/ProgramsPage.tsx"}),l.jsx("section",{className:"py-20 px-4 bg-white","data-id":"869j6ts8c","data-path":"src/pages/ProgramsPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto","data-id":"lop5hrwgi","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"4egt6nypg","data-path":"src/pages/ProgramsPage.tsx"}),l.jsx("h2",{className:"font-display text-4xl font-light mb-8",style:{color:"var(--hw-dark)"},"data-id":"r7tw3l60r","data-path":"src/pages/ProgramsPage.tsx",children:"About This Program"}),l.jsxs("div",{className:"space-y-6 font-body text-gray-600 leading-relaxed text-[1.05rem]","data-id":"55aqunriu","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("p",{"data-id":"dj0dkx1uz","data-path":"src/pages/ProgramsPage.tsx",children:"The Independent Living Empowerment Program (ILEP) is designed for individuals who have—or are preparing for—their own homes and want to build or strengthen the life skills that make independent living genuinely sustainable. ILEP delivers personalized, one-on-one coaching and structured group training across a broad range of practical daily living competencies."}),l.jsx("p",{"data-id":"2ix0yodbo","data-path":"src/pages/ProgramsPage.tsx",children:"Unlike one-size-fits-all programs, ILEP begins with a comprehensive independent living assessment that identifies each individual's strengths, goals, and skill-building priorities. From there, certified Independent Living Specialists design personalized plans that evolve as participants grow."}),l.jsx("p",{"data-id":"c1j7xqo5i","data-path":"src/pages/ProgramsPage.tsx",children:"ILEP also provides peer mentorship connections, assistive technology guidance, benefits counseling, and emergency preparedness planning—addressing the full spectrum of competencies that support lasting independence."})]}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6 mt-14","data-id":"bj8drwih7","data-path":"src/pages/ProgramsPage.tsx",children:[{title:"Personal Care & Health Management",desc:"Medication management, healthcare navigation, personal hygiene routines, and self-advocacy in medical settings."},{title:"Home Management Skills",desc:"Budgeting, household cleaning and maintenance, cooking, grocery management, and emergency preparedness."},{title:"Assistive Technology",desc:"Identifying, obtaining, and using assistive devices and digital tools that support daily life and communication."},{title:"Benefits & Financial Navigation",desc:"Understanding SSI, SSDI, Medicaid, housing subsidies, and other benefits—and how to maintain them."},{title:"Peer Mentorship",desc:"Connection to peer mentors with lived experience who provide guidance, encouragement, and real-world insight."},{title:"Crisis Planning & Safety",desc:"Emergency preparedness, safety planning, and networks of support for when challenges arise."}].map((e,t)=>l.jsxs("div",{className:"rounded-xl p-6 border border-gray-100 card-hover bg-white","data-id":"281x0tgrs","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("h3",{className:"font-display text-lg font-medium mb-2",style:{color:"var(--hw-teal)"},"data-id":"7vf6kgtnf","data-path":"src/pages/ProgramsPage.tsx",children:e.title}),l.jsx("p",{className:"font-body text-sm text-gray-500 leading-relaxed","data-id":"s831fdykd","data-path":"src/pages/ProgramsPage.tsx",children:e.desc})]},t))})]})}),l.jsx("section",{className:"py-16 px-4 bg-cream","data-id":"c2dovni66","data-path":"src/pages/ProgramsPage.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto text-center","data-id":"ditpsyn9w","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("h2",{className:"font-display text-3xl font-light mb-4",style:{color:"var(--hw-dark)"},"data-id":"trn31xwod","data-path":"src/pages/ProgramsPage.tsx",children:"Start Your ILEP Journey"}),l.jsx("p",{className:"font-body text-gray-500 mb-8","data-id":"oq1lk6fmp","data-path":"src/pages/ProgramsPage.tsx",children:"Whether you are moving into your first accessible apartment or looking to strengthen skills for long-term stability, ILEP is built for you."}),l.jsxs(U,{to:"/contact",className:"btn-primary inline-flex items-center gap-2","data-id":"6gfp7zyeg","data-path":"src/pages/ProgramsPage.tsx",children:["Speak with a Specialist ",l.jsx(qe,{size:15,"data-id":"kqwqsjdqe","data-path":"src/pages/ProgramsPage.tsx"})]})]})})]})}function _T(){return l.jsxs(l.Fragment,{children:[l.jsx(Gf,{title:"Community Inclusion & Accessibility Network",tag:"CIAN",subtitle:"Independent living is more than managing a home—it's belonging somewhere. CIAN connects residents to the communities they deserve to be part of.","data-id":"3c8ia9uoa","data-path":"src/pages/ProgramsPage.tsx"}),l.jsx("section",{className:"py-20 px-4 bg-white","data-id":"zm48lotn0","data-path":"src/pages/ProgramsPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto","data-id":"v9yzi8840","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"q227wtxgl","data-path":"src/pages/ProgramsPage.tsx"}),l.jsx("h2",{className:"font-display text-4xl font-light mb-8",style:{color:"var(--hw-dark)"},"data-id":"t692bbf2z","data-path":"src/pages/ProgramsPage.tsx",children:"About This Program"}),l.jsxs("div",{className:"space-y-6 font-body text-gray-600 leading-relaxed text-[1.05rem]","data-id":"dqy8paycy","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("p",{"data-id":"dzont7q1l","data-path":"src/pages/ProgramsPage.tsx",children:"The Community Inclusion & Accessibility Network (CIAN) addresses the dimension of independent living that too many programs overlook: community participation. Housing stability is necessary, but it is not sufficient for a good life. People with disabilities deserve full membership in civic, social, professional, and recreational community life."}),l.jsx("p",{"data-id":"louyivk13","data-path":"src/pages/ProgramsPage.tsx",children:"CIAN builds individualized connection plans for HOMEWERKS NP residents and community members—linking people to accessible transportation options, disability-inclusive employment pathways, community organizations, recreational programs, volunteer opportunities, and civic engagement activities."}),l.jsx("p",{"data-id":"etvti7mms","data-path":"src/pages/ProgramsPage.tsx",children:"Through CIAN, we also work systemically: advocating for accessibility improvements in community spaces, partnering with local businesses and organizations to build disability-inclusive cultures, and hosting community events that bring residents together in genuine mutual connection."})]}),l.jsx("div",{className:"mt-12 grid grid-cols-1 md:grid-cols-2 gap-6","data-id":"mnktf1zr4","data-path":"src/pages/ProgramsPage.tsx",children:[{title:"Employment Pathways",desc:"Connection to disability-inclusive employers, vocational rehabilitation partnerships, and job coaching support for competitive employment."},{title:"Transportation Navigation",desc:"Guidance on accessible transit options, paratransit services, and transportation assistance programs in San Diego County."},{title:"Civic & Social Engagement",desc:"Opportunities to vote, volunteer, participate in community boards, and engage in social activities with peers."},{title:"Recreational Inclusion",desc:"Connection to adaptive sports, arts programs, wellness activities, and disability-inclusive recreation across San Diego."},{title:"Peer Network Building",desc:"Monthly community events, peer groups, and social programming that build lasting connections among residents."},{title:"Systemic Accessibility Advocacy",desc:"Working with local government and businesses to improve physical and social accessibility throughout the community."}].map((e,t)=>l.jsxs("div",{className:"flex gap-4 p-5 rounded-xl border border-gray-100 bg-white card-hover","data-id":"68rdx0u38","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("div",{className:"w-2 rounded-full shrink-0 self-stretch",style:{background:t%2===0?"var(--hw-teal)":"var(--hw-amber)"},"data-id":"3uta0vuqg","data-path":"src/pages/ProgramsPage.tsx"}),l.jsxs("div",{"data-id":"ky6zcrtg8","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("h3",{className:"font-display text-lg font-medium mb-1",style:{color:"var(--hw-dark)"},"data-id":"zxqcrt5rg","data-path":"src/pages/ProgramsPage.tsx",children:e.title}),l.jsx("p",{className:"font-body text-sm text-gray-500 leading-relaxed","data-id":"nfslcx2nl","data-path":"src/pages/ProgramsPage.tsx",children:e.desc})]})]},t))})]})}),l.jsx("section",{className:"py-16 px-4 bg-cream","data-id":"yb49xwein","data-path":"src/pages/ProgramsPage.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto text-center","data-id":"8olc7h50j","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("h2",{className:"font-display text-3xl font-light mb-4",style:{color:"var(--hw-dark)"},"data-id":"3expo0due","data-path":"src/pages/ProgramsPage.tsx",children:"Connect to Your Community"}),l.jsx("p",{className:"font-body text-gray-500 mb-8","data-id":"3tax5dkmq","data-path":"src/pages/ProgramsPage.tsx",children:"Whether you're a current resident or a community organization interested in partnership, CIAN is open to you."}),l.jsxs("div",{className:"flex flex-wrap justify-center gap-4","data-id":"mdk4twy07","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsxs(U,{to:"/contact",className:"btn-primary inline-flex items-center gap-2","data-id":"64u2c6av2","data-path":"src/pages/ProgramsPage.tsx",children:["Join CIAN ",l.jsx(qe,{size:15,"data-id":"0aze73hdz","data-path":"src/pages/ProgramsPage.tsx"})]}),l.jsx(U,{to:"/impact",className:"btn-outline","data-id":"o7rjl6892","data-path":"src/pages/ProgramsPage.tsx",children:"See Our Community Impact"})]})]})})]})}function VT(){const e=[{icon:Xn,abbr:"ALHI",name:"Accessible Living Housing Initiative",desc:"Identifying and adapting affordable, accessible housing for individuals with disabilities.",to:"/programs/alhi",color:"var(--hw-teal)"},{icon:Ds,abbr:"ILEP",name:"Independent Living Empowerment Program",desc:"Life skills coaching, peer mentorship, and assistive technology support for lasting independence.",to:"/programs/ilep",color:"var(--hw-teal-light)"},{icon:li,abbr:"CIAN",name:"Community Inclusion & Accessibility Network",desc:"Connecting residents to employment, community activities, and civic participation.",to:"/programs/cian",color:"var(--hw-amber)"}];return l.jsxs(l.Fragment,{children:[l.jsxs("section",{className:"relative py-28 px-4 hero-gradient overflow-hidden","data-id":"4x79bwusn","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-10","data-id":"wjhna5fyu","data-path":"src/pages/ProgramsPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto","data-id":"gihuq9y2i","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("span",{className:"font-body text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"var(--hw-amber-light)"},"data-id":"sguzxr6cf","data-path":"src/pages/ProgramsPage.tsx",children:"Our Programs"}),l.jsx("h1",{className:"font-display text-5xl md:text-6xl font-light text-white mb-6 leading-tight","data-id":"0edm5y8qt","data-path":"src/pages/ProgramsPage.tsx",children:"Programs Built for Real Independence"}),l.jsx("p",{className:"font-body text-white/70 text-lg max-w-2xl leading-relaxed","data-id":"norszwfd2","data-path":"src/pages/ProgramsPage.tsx",children:"Three interconnected programs designed to take individuals from housing access to community belonging—sustainably, and on their own terms."})]})]}),l.jsx("section",{className:"py-20 px-4 bg-white","data-id":"8v5k8ffzb","data-path":"src/pages/ProgramsPage.tsx",children:l.jsx("div",{className:"max-w-6xl mx-auto","data-id":"bk5wh0qs2","data-path":"src/pages/ProgramsPage.tsx",children:l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8","data-id":"otw6sxhz9","data-path":"src/pages/ProgramsPage.tsx",children:e.map((t,n)=>{const s=t.icon;return l.jsxs("div",{className:"card-hover rounded-xl p-8 border border-gray-100 bg-white group","data-id":"5utibid9r","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("div",{className:"w-12 h-12 rounded-lg flex items-center justify-center mb-6",style:{background:`${t.color}18`},"data-id":"pljloncpa","data-path":"src/pages/ProgramsPage.tsx",children:l.jsx(s,{size:22,style:{color:t.color},"data-id":"s0iruqfcr","data-path":"src/pages/ProgramsPage.tsx"})}),l.jsx("div",{className:"font-body text-xs font-bold tracking-widest uppercase mb-2",style:{color:t.color},"data-id":"d6b8r0qyp","data-path":"src/pages/ProgramsPage.tsx",children:t.abbr}),l.jsx("h3",{className:"font-display text-2xl font-medium mb-4",style:{color:"var(--hw-dark)"},"data-id":"4wwk4owra","data-path":"src/pages/ProgramsPage.tsx",children:t.name}),l.jsx("p",{className:"font-body text-gray-500 text-sm leading-relaxed mb-6","data-id":"m75hpyg5v","data-path":"src/pages/ProgramsPage.tsx",children:t.desc}),l.jsxs(U,{to:t.to,className:"inline-flex items-center gap-2 font-body text-sm font-bold",style:{color:t.color},"data-id":"h30iqlse2","data-path":"src/pages/ProgramsPage.tsx",children:["Learn More ",l.jsx(qe,{size:14,"data-id":"6lrm3x6sl","data-path":"src/pages/ProgramsPage.tsx"})]})]},n)})})})})]})}function Om(){const{program:e}=Q0(),t=e==="alhi"?l.jsx(zT,{"data-id":"l0c9befpq","data-path":"src/pages/ProgramsPage.tsx"}):e==="ilep"?l.jsx(FT,{"data-id":"vz3so88e8","data-path":"src/pages/ProgramsPage.tsx"}):e==="cian"?l.jsx(_T,{"data-id":"su845e1z5","data-path":"src/pages/ProgramsPage.tsx"}):l.jsx(VT,{"data-id":"kxm5xdqu7","data-path":"src/pages/ProgramsPage.tsx"});return l.jsx(It,{"data-id":"5dcr4qasm","data-path":"src/pages/ProgramsPage.tsx",children:t})}const HT=[{icon:Xn,value:"240+",label:"Accessible Housing Units Supported",desc:"Units identified, negotiated, or modified to meet accessibility standards across San Diego County.",color:"var(--hw-teal)"},{icon:Ds,value:"580+",label:"Individuals Living Independently",desc:"People with disabilities now managing their own homes, schedules, and life choices.",color:"var(--hw-teal-light)"},{icon:Rj,value:"96%",label:"Long-Term Housing Stability Rate",desc:"Of HOMEWERKS NP residents maintain stable housing at the 12-month mark—more than double the national average.",color:"var(--hw-amber)"},{icon:li,value:"35+",label:"Community Partnership Organizations",desc:"Local nonprofits, government agencies, employers, and service providers in our inclusion network.",color:"var(--hw-teal)"},{icon:Tf,value:"94%",label:"Resident Satisfaction Rate",desc:"Of HOMEWERKS NP residents report high satisfaction with their housing and support services.",color:"var(--hw-amber)"},{icon:Xn,value:"1,200+",label:"Accessibility Modifications Completed",desc:"Ramps, roll-in showers, grab bars, widened doorways, and sensory adaptations completed across our housing portfolio.",color:"var(--hw-teal-light)"},{icon:Ms,value:"78",label:"Community Inclusion Initiatives Launched",desc:"Structured programs, partnerships, and events that connect residents to civic, social, and professional community life.",color:"var(--hw-teal)"},{icon:Ds,value:"860+",label:"Independent Living Skill Sessions Delivered",desc:"One-on-one and group coaching sessions delivered by certified Independent Living Specialists.",color:"var(--hw-amber)"}],BT=[{name:"Terrence A.",location:"North Park, San Diego",program:"ALHI + ILEP",story:"After a spinal cord injury at 34, Terrence spent 18 months in a rehabilitation facility with no clear path to housing. HOMEWERKS NP worked with him over four months to identify a fully accessible apartment in North Park, negotiate a landlord partnership for roll-in shower installation, and build a life skills plan that addressed medication management and financial independence. Today, Terrence works part-time remotely and is active in his neighborhood association.",outcome:"Now living fully independently for 3 years"},{name:"Priya N.",location:"Mission Hills, San Diego",program:"CIAN + ILEP",story:"Priya, who is deaf and has a physical disability, was housed but isolated. Her apartment met basic accessibility requirements, but she had no meaningful social connections and had withdrawn from community life. CIAN connected her to a Deaf-accessible recreational swim program, a peer mentor, and a part-time remote job with an inclusive employer. ILEP supported her in building self-advocacy skills and navigating her benefits through the transition to employment.",outcome:"Employed, socially connected, and a CIAN peer mentor herself"},{name:"The Torres Family",location:"Chula Vista, CA",program:"ALHI",story:"When Maria's son Dominic—who has cerebral palsy—aged out of residential programming at 22, the family faced an impossible choice: find housing that didn't exist or keep him home indefinitely. HOMEWERKS NP's ALHI team worked with a property manager in Chula Vista to complete a full accessibility retrofit: widened doorways, lowered countertops, a roll-in shower, and emergency alert systems. Dominic has lived independently for two years and participates weekly in a CIAN community social group.",outcome:"First fully independent housing for Dominic at age 22"}];function WT(){return l.jsxs(It,{"data-id":"1ww35dksp","data-path":"src/pages/ImpactPage.tsx",children:[l.jsxs("section",{className:"relative py-28 px-4 hero-gradient overflow-hidden","data-id":"i1g1u74h9","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-10","data-id":"v24k9e6gq","data-path":"src/pages/ImpactPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto","data-id":"zm1ycai9t","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("span",{className:"font-body text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"var(--hw-amber-light)"},"data-id":"8vlfzhz94","data-path":"src/pages/ImpactPage.tsx",children:"Our Impact"}),l.jsx("h1",{className:"font-display text-5xl md:text-6xl font-light text-white mb-6 leading-tight","data-id":"9p6fwrkss","data-path":"src/pages/ImpactPage.tsx",children:"Measuring What Matters"}),l.jsx("p",{className:"font-body text-white/70 text-lg max-w-2xl leading-relaxed","data-id":"gsychl0r3","data-path":"src/pages/ImpactPage.tsx",children:"Independence is not abstract. It is measurable, replicable, and worth fighting for. Here is the real-world impact of HOMEWERKS NP's work across San Diego County."})]})]}),l.jsx("section",{className:"py-20 px-4 bg-white","data-id":"wtzrbo8q1","data-path":"src/pages/ImpactPage.tsx",children:l.jsxs("div",{className:"max-w-6xl mx-auto","data-id":"84msoj3c9","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"psps7mnon","data-path":"src/pages/ImpactPage.tsx"}),l.jsx("h2",{className:"font-display text-4xl font-light mb-14",style:{color:"var(--hw-dark)"},"data-id":"ttp3xaok5","data-path":"src/pages/ImpactPage.tsx",children:"By the Numbers"}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6","data-id":"542f412g1","data-path":"src/pages/ImpactPage.tsx",children:HT.map((e,t)=>{const n=e.icon;return l.jsxs("div",{className:"rounded-xl p-7 border border-gray-100 card-hover bg-white","data-id":"qgn963g1j","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center mb-4",style:{background:`${e.color}18`},"data-id":"ubebl84zl","data-path":"src/pages/ImpactPage.tsx",children:l.jsx(n,{size:18,style:{color:e.color},"data-id":"fdd8a0u7r","data-path":"src/pages/ImpactPage.tsx"})}),l.jsx("div",{className:"font-display text-4xl font-semibold mb-2",style:{color:e.color},"data-id":"asfokviro","data-path":"src/pages/ImpactPage.tsx",children:e.value}),l.jsx("div",{className:"font-body font-bold text-sm mb-2",style:{color:"var(--hw-dark)"},"data-id":"mjzmly0dq","data-path":"src/pages/ImpactPage.tsx",children:e.label}),l.jsx("p",{className:"font-body text-xs text-gray-500 leading-relaxed","data-id":"hlqua07cc","data-path":"src/pages/ImpactPage.tsx",children:e.desc})]},t)})})]})}),l.jsx("section",{className:"py-20 px-4 bg-cream","data-id":"xjjec183j","data-path":"src/pages/ImpactPage.tsx",children:l.jsxs("div",{className:"max-w-6xl mx-auto","data-id":"d3uco1kzc","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"117w58wxz","data-path":"src/pages/ImpactPage.tsx"}),l.jsx("h2",{className:"font-display text-4xl font-light mb-6",style:{color:"var(--hw-dark)"},"data-id":"d472mmnpp","data-path":"src/pages/ImpactPage.tsx",children:"Impact Stories"}),l.jsx("p",{className:"font-body text-gray-500 mb-14 max-w-xl","data-id":"1mpqae4mc","data-path":"src/pages/ImpactPage.tsx",children:"Behind every metric is a person whose life moved forward. These are three of the stories that define our work."}),l.jsx("div",{className:"space-y-10","data-id":"b6vjbcbjy","data-path":"src/pages/ImpactPage.tsx",children:BT.map((e,t)=>l.jsxs("div",{className:"bg-white rounded-xl overflow-hidden border border-gray-100 card-hover grid grid-cols-1 md:grid-cols-4","data-id":"j07y3i78m","data-path":"src/pages/ImpactPage.tsx",children:[l.jsxs("div",{className:"md:col-span-1 flex flex-col items-center justify-center p-8",style:{background:t%2===0?"var(--hw-teal)":"var(--hw-amber)"},"data-id":"h3acbkh6k","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("div",{className:"w-16 h-16 rounded-full bg-white/20 flex items-center justify-center mb-3","data-id":"rcuhmixqf","data-path":"src/pages/ImpactPage.tsx",children:l.jsx("span",{className:"font-display text-2xl font-semibold text-white","data-id":"9kx8dspkh","data-path":"src/pages/ImpactPage.tsx",children:e.name.split(" ").map(n=>n[0]).join("")})}),l.jsx("div",{className:"font-body font-bold text-white text-center text-sm","data-id":"eduuji77q","data-path":"src/pages/ImpactPage.tsx",children:e.name}),l.jsx("div",{className:"font-body text-white/70 text-xs text-center mt-1","data-id":"6xov70sun","data-path":"src/pages/ImpactPage.tsx",children:e.location}),l.jsx("div",{className:"mt-3 px-3 py-1 rounded-full bg-white/20 font-body text-xs text-white font-semibold","data-id":"woefq7ysp","data-path":"src/pages/ImpactPage.tsx",children:e.program})]}),l.jsxs("div",{className:"md:col-span-3 p-8","data-id":"cb9p1txv6","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx(Nf,{size:22,className:"mb-3 opacity-20",style:{color:"var(--hw-teal)"},"data-id":"j8b37jeuo","data-path":"src/pages/ImpactPage.tsx"}),l.jsx("p",{className:"font-body text-gray-600 leading-relaxed mb-6 text-sm","data-id":"yvzbqfkay","data-path":"src/pages/ImpactPage.tsx",children:e.story}),l.jsxs("div",{className:"flex items-center gap-2","data-id":"ubomvkcr0","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("div",{className:"w-2 h-2 rounded-full",style:{background:"var(--hw-amber)"},"data-id":"45wwz19h9","data-path":"src/pages/ImpactPage.tsx"}),l.jsx("span",{className:"font-body text-sm font-bold",style:{color:"var(--hw-dark)"},"data-id":"mfxcfoo26","data-path":"src/pages/ImpactPage.tsx",children:e.outcome})]})]})]},t))})]})}),l.jsx("section",{className:"py-20 px-4 bg-white","data-id":"xshhgldqb","data-path":"src/pages/ImpactPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto text-center","data-id":"uxsolx3zo","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("span",{className:"divider-amber mx-auto",style:{margin:"0 auto 1.5rem"},"data-id":"uqarauf4w","data-path":"src/pages/ImpactPage.tsx"}),l.jsx("h2",{className:"font-display text-4xl font-light mb-4",style:{color:"var(--hw-dark)"},"data-id":"4udo4hkxa","data-path":"src/pages/ImpactPage.tsx",children:"Built on Partnership"}),l.jsx("p",{className:"font-body text-gray-500 mb-14 max-w-xl mx-auto","data-id":"hbihwshno","data-path":"src/pages/ImpactPage.tsx",children:"HOMEWERKS NP's impact is multiplied through our network of housing, health, employment, and disability services partners across San Diego County."}),l.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4","data-id":"5scxup7h8","data-path":"src/pages/ImpactPage.tsx",children:["San Diego Housing Commission","Disability Rights California","Center for Community Solutions","ARCA San Diego","ARC San Diego","Regional Center of San Diego","Casa de Amparo","Accessible San Diego"].map((e,t)=>l.jsx("div",{className:"rounded-lg px-4 py-5 font-body text-sm font-medium text-gray-600 border border-gray-100 card-hover","data-id":"pe7l3vvc0","data-path":"src/pages/ImpactPage.tsx",children:e},t))})]})}),l.jsxs("section",{className:"relative py-20 px-4 hero-gradient overflow-hidden","data-id":"u7p26b2ws","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-10","data-id":"dq4w3foj2","data-path":"src/pages/ImpactPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto text-center","data-id":"8e1t84fa7","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("h2",{className:"font-display text-4xl font-light text-white mb-6","data-id":"po466w15b","data-path":"src/pages/ImpactPage.tsx",children:"Help Us Expand This Impact"}),l.jsx("p",{className:"font-body text-white/70 text-lg mb-8","data-id":"gaa2zbwak","data-path":"src/pages/ImpactPage.tsx",children:"Every contribution advances accessible housing, independent living, and the community inclusion that changes lives."}),l.jsxs("div",{className:"flex flex-wrap justify-center gap-4","data-id":"txay512vc","data-path":"src/pages/ImpactPage.tsx",children:[l.jsxs(U,{to:"/donate",className:"btn-primary inline-flex items-center gap-2","data-id":"ete2fm0t2","data-path":"src/pages/ImpactPage.tsx",children:["Donate ",l.jsx(qe,{size:15,"data-id":"7yopk7y7e","data-path":"src/pages/ImpactPage.tsx"})]}),l.jsx(U,{to:"/contact",className:"btn-white","data-id":"gat86pbew","data-path":"src/pages/ImpactPage.tsx",children:"Partner With Us"})]})]})]})]})}const $T=[{icon:wj,title:"Housing Rights & Legal Resources",color:"var(--hw-teal)",resources:[{name:"Fair Housing Act (FHA)",desc:"Federal law prohibiting housing discrimination based on disability. Covers reasonable accommodations and accessibility modifications.",link:"#"},{name:"Americans with Disabilities Act (ADA)",desc:"Comprehensive civil rights law covering accessibility standards in public accommodations and housing.",link:"#"},{name:"Section 504 of the Rehabilitation Act",desc:"Prohibits discrimination and requires reasonable accommodations in programs receiving federal funding, including public housing.",link:"#"},{name:"California Fair Employment and Housing Act",desc:"California's expansive anti-discrimination protections, often broader than federal law.",link:"#"},{name:"Disability Rights California",desc:"Free legal advocacy and representation for Californians with disabilities facing housing discrimination.",link:"#"}]},{icon:Xn,title:"Accessible Housing Programs",color:"var(--hw-teal-light)",resources:[{name:"HUD Housing Choice Voucher Program (Section 8)",desc:"Federal rental assistance for low-income individuals and families, including accessible unit preferences.",link:"#"},{name:"San Diego Housing Commission",desc:"Local public housing authority managing accessible unit listings, rental assistance, and housing development.",link:"#"},{name:"USDA Rural Development Section 515",desc:"Affordable rural rental housing with accessibility options for individuals with disabilities.",link:"#"},{name:"California Department of Housing & Community Development",desc:"State programs supporting affordable and accessible housing development and rehabilitation.",link:"#"},{name:"California Housing Finance Agency (CalHFA)",desc:"Programs supporting accessible housing purchase and modification for individuals with disabilities.",link:"#"}]},{icon:zj,title:"Home Modification & Accessibility",color:"var(--hw-amber)",resources:[{name:"Independent Living Centers (ILCs)",desc:"Community-based organizations providing home modification assessment, referrals, and advocacy support.",link:"#"},{name:"National Resource Center on Supportive Housing",desc:"Resources on adapting housing for accessibility, aging in place, and disability inclusion.",link:"#"},{name:"Rebuilding Together San Diego",desc:"Nonprofit providing free home accessibility modifications for low-income homeowners with disabilities.",link:"#"},{name:"Universal Design Living Laboratory",desc:"Showcase and resources for universal design principles that make homes accessible to all abilities.",link:"#"},{name:"CA Assistive Technology Reuse Program (CATR)",desc:"State program supporting access to affordable assistive devices and home modifications.",link:"#"}]},{icon:li,title:"Independent Living & Community Resources",color:"var(--hw-teal)",resources:[{name:"ILRU (Independent Living Research Utilization)",desc:"National research and training center on independent living policies and best practices.",link:"#"},{name:"Social Security Administration (SSA)",desc:"Information on SSI, SSDI, and Ticket to Work programs supporting independent living.",link:"#"},{name:"CA Department of Rehabilitation (DOR)",desc:"Vocational rehabilitation and independent living services for Californians with disabilities.",link:"#"},{name:"Medi-Cal Home & Community Based Services (HCBS)",desc:"California's Medicaid waiver supporting community living with personal care and support services.",link:"#"},{name:"Accessible San Diego",desc:"Regional resource center for accessible travel, recreation, and community participation in San Diego.",link:"#"}]},{icon:Yk,title:"Guides & Educational Resources",color:"var(--hw-amber)",resources:[{name:"HOMEWERKS NP Accessibility Checklist",desc:"Our comprehensive guide to evaluating a unit's accessibility before signing a lease.",link:"#"},{name:"Reasonable Accommodation Request Guide",desc:"Step-by-step guidance on how to request accommodations from your landlord under the FHA.",link:"#"},{name:"Assistive Technology Buyer's Guide",desc:"Curated overview of assistive technologies that support independent living, by category and need.",link:"#"},{name:"Benefits Planning Toolkit",desc:"Understanding how employment and housing changes affect your SSI, SSDI, and Medicaid benefits.",link:"#"},{name:"California Renter's Rights Handbook",desc:"Plain-language guide to renter protections in California, including disability-specific provisions.",link:"#"}]},{icon:Ba,title:"Crisis & Emergency Resources",color:"var(--hw-teal-light)",resources:[{name:"211 San Diego",desc:"24/7 social services helpline connecting to housing, crisis support, and disability services.",link:"#"},{name:"Disability Emergency Preparedness",desc:"San Diego County's emergency planning resources for residents with disabilities.",link:"#"},{name:"Eviction Prevention & Housing Support",desc:"San Diego Housing Stability Fund and emergency rental assistance programs.",link:"#"},{name:"National Disability Rights Network (NDRN)",desc:"Protection and advocacy organizations providing crisis legal support to people with disabilities.",link:"#"},{name:"HOMEWERKS NP Direct Line",desc:"Contact our team for emergency housing referrals, accommodations support, and immediate guidance.",link:"/contact"}]}];function UT(){return l.jsxs(It,{"data-id":"39v5u2u81","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:[l.jsxs("section",{className:"relative py-28 px-4 hero-gradient overflow-hidden","data-id":"v3rzxwjlr","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-10","data-id":"07u0t6cub","data-path":"src/pages/AccessibilityResourcesPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto","data-id":"vp1e4xj6h","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:[l.jsx("span",{className:"font-body text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"var(--hw-amber-light)"},"data-id":"iyitcc0ek","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:"Accessibility Resources"}),l.jsx("h1",{className:"font-display text-5xl md:text-6xl font-light text-white mb-6 leading-tight","data-id":"6e9a8dvpl","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:"Resources for Accessible Living"}),l.jsx("p",{className:"font-body text-white/70 text-lg max-w-2xl leading-relaxed","data-id":"ad1za54iy","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:"Comprehensive tools, programs, rights information, and local services—curated specifically for individuals with disabilities and their families navigating housing and independent living in San Diego."})]})]}),l.jsx("section",{className:"py-16 px-4 bg-white","data-id":"b0afau2hc","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto","data-id":"04ltjduvt","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"45qwjz8hm","data-path":"src/pages/AccessibilityResourcesPage.tsx"}),l.jsx("h2",{className:"font-display text-3xl font-light mb-6",style:{color:"var(--hw-dark)"},"data-id":"d04nxg3jm","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:"Know Your Rights. Access What's Available."}),l.jsx("p",{className:"font-body text-gray-600 leading-relaxed max-w-2xl","data-id":"cpgxpw2z3","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:"Navigating the landscape of accessible housing, legal protections, modification programs, and community services can be overwhelming. HOMEWERKS NP has compiled the most relevant, vetted resources for individuals with disabilities—organized by category so you can find what you need quickly. When in doubt, contact our team directly."})]})}),l.jsx("section",{className:"py-12 px-4 bg-cream","data-id":"vuyjbkx7c","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:l.jsx("div",{className:"max-w-6xl mx-auto space-y-16","data-id":"vrsl6p57g","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:$T.map((e,t)=>{const n=e.icon;return l.jsxs("div",{"data-id":"wquhc5w1z","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:[l.jsxs("div",{className:"flex items-center gap-4 mb-8","data-id":"it0xjcxu0","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:[l.jsx("div",{className:"w-11 h-11 rounded-lg flex items-center justify-center",style:{background:`${e.color}18`},"data-id":"68sv9058l","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:l.jsx(n,{size:20,style:{color:e.color},"data-id":"z79f22m0h","data-path":"src/pages/AccessibilityResourcesPage.tsx"})}),l.jsx("h2",{className:"font-display text-3xl font-light",style:{color:"var(--hw-dark)"},"data-id":"uh3ansxoe","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:e.title})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5","data-id":"o9mvbu4l5","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:e.resources.map((s,r)=>l.jsxs("a",{href:s.link,className:"block bg-white rounded-xl p-6 border border-gray-100 card-hover group","data-id":"hb15prkp1","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:[l.jsxs("div",{className:"flex items-start justify-between gap-2 mb-3","data-id":"8jn2gyj48","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:[l.jsx("h3",{className:"font-body font-bold text-sm",style:{color:"var(--hw-dark)"},"data-id":"4f5e3pk8p","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:s.name}),l.jsx(ej,{size:13,className:"shrink-0 mt-0.5 opacity-30 group-hover:opacity-70 transition-opacity",style:{color:e.color},"data-id":"x17wo8oyg","data-path":"src/pages/AccessibilityResourcesPage.tsx"})]}),l.jsx("p",{className:"font-body text-xs text-gray-500 leading-relaxed","data-id":"wypfv8oje","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:s.desc})]},r))})]},t)})})}),l.jsx("section",{className:"py-20 px-4 bg-white","data-id":"4mrnlfbzf","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:l.jsx("div",{className:"max-w-4xl mx-auto","data-id":"wv0l9xybn","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:l.jsx("div",{className:"rounded-2xl p-10 md:p-14",style:{background:"var(--hw-teal)"},"data-id":"29tpdjbgb","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 items-center","data-id":"p5j0p14q0","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:[l.jsxs("div",{"data-id":"3jnijh40e","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:[l.jsx("h2",{className:"font-display text-3xl font-light text-white mb-4","data-id":"ytu3ftwls","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:"Can't Find What You Need?"}),l.jsx("p",{className:"font-body text-white/70 leading-relaxed mb-6","data-id":"cmep5xk3g","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:"Our team is here to help navigate housing rights, connect you with modification programs, and find the accessible support you need. Reach out and we'll respond within one business day."}),l.jsxs(U,{to:"/contact",className:"btn-white inline-flex items-center gap-2 text-sm","data-id":"enoc2ns7c","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:["Contact Our Team ",l.jsx(qe,{size:14,"data-id":"jy4ngg2dy","data-path":"src/pages/AccessibilityResourcesPage.tsx"})]})]}),l.jsx("div",{className:"space-y-4","data-id":"iubl73xv0","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:[{label:"Phone",value:"+1-019-857-5464"},{label:"Email",value:"adminteam@coreedgeforge.com"},{label:"Address",value:"3639 Midway Drive B 310, San Diego, CA 92110"}].map((e,t)=>l.jsxs("div",{"data-id":"d4wf49zf2","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:[l.jsx("div",{className:"font-body text-xs font-bold uppercase tracking-widest text-white/50 mb-1","data-id":"qvv1fkt31","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:e.label}),l.jsx("div",{className:"font-body text-sm text-white","data-id":"mifoadkyc","data-path":"src/pages/AccessibilityResourcesPage.tsx",children:e.value})]},t))})]})})})})]})}const qT=[{number:"01",title:"Housing Stability",desc:"Maintaining secure, accessible, affordable housing is the foundation. Without it, every other aspect of independent living is at risk. Our programs prioritize housing stability above all.",color:"var(--hw-teal)"},{number:"02",title:"Daily Living Competencies",desc:"From meal preparation to medication management, financial literacy to home maintenance—the practical skills of daily life are teachable, learnable, and life-changing.",color:"var(--hw-teal-light)"},{number:"03",title:"Health & Wellness Self-Advocacy",desc:"Managing personal health, navigating the healthcare system, and self-advocating with medical providers are critical independent living skills that HOMEWERKS NP actively develops.",color:"var(--hw-amber)"},{number:"04",title:"Financial Independence",desc:"Understanding and managing SSI, SSDI, employment income, budgeting, banking, and benefits transitions so that financial decisions support—not undermine—independence.",color:"var(--hw-teal)"},{number:"05",title:"Community Connection",desc:"Employment, volunteerism, recreation, civic engagement, and friendship. Independent living is not isolation—it's integration into community life on your own terms.",color:"var(--hw-teal-light)"},{number:"06",title:"Emergency Preparedness",desc:"Having a plan, a network, and the resources to navigate crises without losing housing or independence is the mark of sustainable independent living.",color:"var(--hw-amber)"}],KT=[{q:"Who qualifies for HOMEWERKS NP's independent living services?",a:"Adults with physical, sensory, developmental, or psychiatric disabilities who are working toward or maintaining independent living in San Diego County may qualify. We serve individuals regardless of income level, disability type, or housing status. Contact us to discuss your specific situation."},{q:"Do I need to be in HOMEWERKS NP housing to access independent living services?",a:"No. While our programs are integrated, independent living services through ILEP are available to community members who are not in HOMEWERKS NP-supported housing. We work with anyone who needs support building the skills and systems for independent living."},{q:"What is the difference between independent living and assisted living?",a:"Independent living means living in your own home—whether rented or owned—and managing your own life with the level of support that fits your needs. Assisted living typically refers to group settings where care is provided on-site. HOMEWERKS NP supports independent living, not residential or institutional care models."},{q:"How long do independent living support services last?",a:"Services are individualized. Some individuals need intensive support for a short period during a housing transition; others benefit from ongoing light-touch coaching over months or years. We meet each person where they are and adjust the pace accordingly."},{q:"Can family members or caregivers be involved?",a:"Yes—with the individual's consent and direction. We take a person-centered approach, which means the individual's goals and preferences guide how family or caregiver involvement is structured. We also offer family navigation support separately when helpful."},{q:"Is there a cost for HOMEWERKS NP's independent living services?",a:"HOMEWERKS NP is a nonprofit organization. Services are provided at no cost or on a sliding-scale basis depending on funding availability and individual circumstances. We work with benefits counselors to help participants access funding streams that cover support costs."}];function GT(){return l.jsxs(It,{"data-id":"aw7jib56y","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsxs("section",{className:"relative py-28 px-4 hero-gradient overflow-hidden","data-id":"u3gyispbt","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-10","data-id":"tkn39uswo","data-path":"src/pages/IndependentLivingPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto","data-id":"8eykp1d5h","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsx("span",{className:"font-body text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"var(--hw-amber-light)"},"data-id":"2x9n2jv56","data-path":"src/pages/IndependentLivingPage.tsx",children:"Independent Living"}),l.jsx("h1",{className:"font-display text-5xl md:text-6xl font-light text-white mb-6 leading-tight","data-id":"ss4yj2q8p","data-path":"src/pages/IndependentLivingPage.tsx",children:"Your Life, Your Home, Your Terms"}),l.jsx("p",{className:"font-body text-white/70 text-lg max-w-2xl leading-relaxed","data-id":"wvls5bpeg","data-path":"src/pages/IndependentLivingPage.tsx",children:"Independent living is not the absence of support—it's the presence of choice. HOMEWERKS NP provides the accessible housing, practical skills, and community connections that make genuine independence possible."})]})]}),l.jsx("section",{className:"py-20 px-4 bg-white","data-id":"0lefiardh","data-path":"src/pages/IndependentLivingPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto","data-id":"9bh33ym5x","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"kuuzbgpdo","data-path":"src/pages/IndependentLivingPage.tsx"}),l.jsx("h2",{className:"font-display text-4xl font-light mb-8",style:{color:"var(--hw-dark)"},"data-id":"pzg01vu78","data-path":"src/pages/IndependentLivingPage.tsx",children:"What Independent Living Means to Us"}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-10","data-id":"ghpri1zze","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsxs("div",{className:"space-y-5 font-body text-gray-600 leading-relaxed text-[1.05rem]","data-id":"0xu3vhxfr","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsx("p",{"data-id":"ovofzpd8l","data-path":"src/pages/IndependentLivingPage.tsx",children:"At HOMEWERKS NP, independent living is not a program outcome—it's a civil right. Every individual with a disability deserves the opportunity to live in a place they choose, organize their own time, make their own decisions, and participate fully in their community."}),l.jsx("p",{"data-id":"9g0xm80po","data-path":"src/pages/IndependentLivingPage.tsx",children:"We reject the notion that independence means doing everything alone. Real independence means having the right support at the right time, chosen by the individual, in service of their own goals. That's the philosophy behind every service we deliver."}),l.jsx("p",{"data-id":"96r7ex8ta","data-path":"src/pages/IndependentLivingPage.tsx",children:"Our Independent Living Model is built on six pillars that, together, form the complete ecosystem of sustainable independent living. We address each pillar through our programs, and we track them as outcomes—not just activities."})]}),l.jsxs("div",{className:"rounded-xl p-8",style:{background:"var(--hw-cream)"},"data-id":"xzvcr9j4k","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsx("h3",{className:"font-display text-2xl font-medium mb-6",style:{color:"var(--hw-dark)"},"data-id":"cov7eci9d","data-path":"src/pages/IndependentLivingPage.tsx",children:"Independent Living Means:"}),["Choosing where and how you live","Managing your own schedule and priorities","Directing your own care and support","Making financial decisions for yourself","Participating fully in your community","Having accessible housing that fits your needs","Building skills at your own pace and direction"].map((e,t)=>l.jsxs("div",{className:"flex items-center gap-3 mb-3","data-id":"8i38je6af","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsx(jl,{size:15,style:{color:"var(--hw-amber)",flexShrink:0},"data-id":"gspuqwckt","data-path":"src/pages/IndependentLivingPage.tsx"}),l.jsx("span",{className:"font-body text-sm text-gray-700","data-id":"ix2vwxma9","data-path":"src/pages/IndependentLivingPage.tsx",children:e})]},t))]})]})]})}),l.jsx("section",{className:"py-20 px-4 bg-cream","data-id":"4jdm6f9tw","data-path":"src/pages/IndependentLivingPage.tsx",children:l.jsxs("div",{className:"max-w-6xl mx-auto","data-id":"68qp0p585","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"zyb3pu2fs","data-path":"src/pages/IndependentLivingPage.tsx"}),l.jsx("h2",{className:"font-display text-4xl font-light mb-14",style:{color:"var(--hw-dark)"},"data-id":"rg608tatf","data-path":"src/pages/IndependentLivingPage.tsx",children:"The Six Pillars of Independent Living"}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8","data-id":"unlqcj1ix","data-path":"src/pages/IndependentLivingPage.tsx",children:qT.map((e,t)=>l.jsxs("div",{className:"bg-white rounded-xl p-8 border border-gray-100 card-hover","data-id":"3kl7d54zs","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsx("div",{className:"font-display text-4xl font-light mb-4",style:{color:e.color},"data-id":"72hms8zhe","data-path":"src/pages/IndependentLivingPage.tsx",children:e.number}),l.jsx("h3",{className:"font-display text-2xl font-medium mb-4",style:{color:"var(--hw-dark)"},"data-id":"qiww55bu6","data-path":"src/pages/IndependentLivingPage.tsx",children:e.title}),l.jsx("p",{className:"font-body text-sm text-gray-500 leading-relaxed","data-id":"gnomyx3km","data-path":"src/pages/IndependentLivingPage.tsx",children:e.desc})]},t))})]})}),l.jsx("section",{className:"py-20 px-4 bg-white","data-id":"7ztqpnwur","data-path":"src/pages/IndependentLivingPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto","data-id":"912tsd5xz","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"hdaoezsh9","data-path":"src/pages/IndependentLivingPage.tsx"}),l.jsx("h2",{className:"font-display text-4xl font-light mb-12",style:{color:"var(--hw-dark)"},"data-id":"a3zurdf81","data-path":"src/pages/IndependentLivingPage.tsx",children:"A Story Worth Telling"}),l.jsxs("div",{className:"rounded-2xl overflow-hidden border border-gray-100 grid grid-cols-1 md:grid-cols-3","data-id":"io5d8rsxk","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsxs("div",{className:"md:col-span-1 p-10 flex flex-col justify-center",style:{background:"var(--hw-teal)"},"data-id":"1lgtrau3a","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsx("div",{className:"w-20 h-20 rounded-full bg-white/20 flex items-center justify-center mb-4","data-id":"leu5z2rd8","data-path":"src/pages/IndependentLivingPage.tsx",children:l.jsx("span",{className:"font-display text-3xl font-semibold text-white","data-id":"zbwm28syq","data-path":"src/pages/IndependentLivingPage.tsx",children:"LM"})}),l.jsx("div",{className:"font-body font-bold text-white text-lg mb-1","data-id":"7jwoq1j4f","data-path":"src/pages/IndependentLivingPage.tsx",children:"Linda M."}),l.jsx("div",{className:"font-body text-white/70 text-sm mb-3","data-id":"997jknpj2","data-path":"src/pages/IndependentLivingPage.tsx",children:"HOMEWERKS NP Resident since 2022"}),l.jsx("div",{className:"flex gap-1","data-id":"8q23q58x2","data-path":"src/pages/IndependentLivingPage.tsx",children:[1,2,3,4,5].map(e=>l.jsx(Tf,{size:14,className:"text-yellow-300 fill-yellow-300","data-id":"il0e3xd9m","data-path":"src/pages/IndependentLivingPage.tsx"},e))})]}),l.jsxs("div",{className:"md:col-span-2 p-10","data-id":"xyrazzvli","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsx(Nf,{size:28,className:"mb-4 opacity-20",style:{color:"var(--hw-teal)"},"data-id":"67yy95x86","data-path":"src/pages/IndependentLivingPage.tsx"}),l.jsx("p",{className:"font-body text-gray-600 leading-relaxed mb-6 italic","data-id":"5bve9bk5z","data-path":"src/pages/IndependentLivingPage.tsx",children:`"I was told for years that I couldn't live independently because of my multiple sclerosis. I believed it—until HOMEWERKS NP showed me what a properly adapted apartment actually looked like, and what daily living with the right skills and tools felt like. I've been living in my own place for two years now. I grocery shop. I manage my medications. I decide when I wake up. I can't explain how much that matters until you've been told you can't do it."`}),l.jsx("div",{className:"grid grid-cols-3 gap-4 border-t border-gray-100 pt-6","data-id":"7lvylktkw","data-path":"src/pages/IndependentLivingPage.tsx",children:[{label:"Years independent",value:"2+"},{label:"Life goals achieved",value:"7/7"},{label:"ILEP sessions completed",value:"24"}].map((e,t)=>l.jsxs("div",{"data-id":"12mqhg87d","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsx("div",{className:"font-display text-2xl font-semibold",style:{color:"var(--hw-teal)"},"data-id":"ofu6luqdo","data-path":"src/pages/IndependentLivingPage.tsx",children:e.value}),l.jsx("div",{className:"font-body text-xs text-gray-400 mt-1","data-id":"sqxr9zp79","data-path":"src/pages/IndependentLivingPage.tsx",children:e.label})]},t))})]})]})]})}),l.jsx("section",{className:"py-20 px-4 bg-cream","data-id":"xx97ggi8r","data-path":"src/pages/IndependentLivingPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto","data-id":"j6x29yhfo","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"ydqac32zb","data-path":"src/pages/IndependentLivingPage.tsx"}),l.jsx("h2",{className:"font-display text-4xl font-light mb-12",style:{color:"var(--hw-dark)"},"data-id":"v3o2dksnk","data-path":"src/pages/IndependentLivingPage.tsx",children:"Common Questions"}),l.jsx("div",{className:"space-y-6","data-id":"8ttb6cn4j","data-path":"src/pages/IndependentLivingPage.tsx",children:KT.map((e,t)=>l.jsxs("div",{className:"bg-white rounded-xl p-7 border border-gray-100","data-id":"vp1owhzjq","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsx("h3",{className:"font-body font-bold text-base mb-3",style:{color:"var(--hw-dark)"},"data-id":"v9dw7kbwr","data-path":"src/pages/IndependentLivingPage.tsx",children:e.q}),l.jsx("p",{className:"font-body text-sm text-gray-500 leading-relaxed","data-id":"f7ra4yynu","data-path":"src/pages/IndependentLivingPage.tsx",children:e.a})]},t))})]})}),l.jsxs("section",{className:"relative py-20 px-4 hero-gradient overflow-hidden","data-id":"aehqei8tx","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-10","data-id":"95c0obaca","data-path":"src/pages/IndependentLivingPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-3xl mx-auto text-center","data-id":"7kunokprs","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsx("h2",{className:"font-display text-4xl font-light text-white mb-6","data-id":"xafv43fuh","data-path":"src/pages/IndependentLivingPage.tsx",children:"Ready to Take the Next Step?"}),l.jsx("p",{className:"font-body text-white/70 text-lg mb-8","data-id":"k0nwa6eoe","data-path":"src/pages/IndependentLivingPage.tsx",children:"Whether you're considering independent living for the first time or looking for support to maintain what you've already built, we're here to help."}),l.jsxs("div",{className:"flex flex-wrap justify-center gap-4","data-id":"mwp519cfw","data-path":"src/pages/IndependentLivingPage.tsx",children:[l.jsxs(U,{to:"/programs/ilep",className:"btn-primary inline-flex items-center gap-2","data-id":"mzs7pg4e0","data-path":"src/pages/IndependentLivingPage.tsx",children:["Explore ILEP ",l.jsx(qe,{size:15,"data-id":"is2bxd9vd","data-path":"src/pages/IndependentLivingPage.tsx"})]}),l.jsx(U,{to:"/contact",className:"btn-white","data-id":"kywasltay","data-path":"src/pages/IndependentLivingPage.tsx",children:"Schedule a Consultation"})]})]})]})]})}const YT=[25,50,100,250,500,1e3],QT=[{amount:25,icon:li,desc:"Provides one month of community inclusion resources for a resident"},{amount:50,icon:Ds,desc:"Funds an independent living coaching session for one individual"},{amount:100,icon:Xn,desc:"Contributes toward accessibility modifications for a housing unit"},{amount:250,icon:Ms,desc:"Supports one month of housing access counseling for a family"},{amount:500,icon:Xn,desc:"Partially funds a full accessibility retrofit for one housing unit"},{amount:1e3,icon:Ds,desc:"Sponsors a full quarter of ILEP coaching for one participant"}];function XT(){const[e,t]=w.useState(100),[n,s]=w.useState(""),[r,a]=w.useState(!1),[i,o]=w.useState({name:"",email:"",message:""}),{toast:c}=bf(),d=n?parseFloat(n):e,u=QT.find(p=>p.amount===e),f=p=>{p.preventDefault(),c({title:"Thank you for your generosity!",description:"Your donation inquiry has been received. Our team will follow up with secure payment options shortly."}),o({name:"",email:"",message:""})};return l.jsxs(It,{"data-id":"d2xcihs6k","data-path":"src/pages/DonatePage.tsx",children:[l.jsxs("section",{className:"relative py-28 px-4 hero-gradient overflow-hidden","data-id":"gqfvtoahu","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-10","data-id":"6jxivcsqa","data-path":"src/pages/DonatePage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto","data-id":"04qbzhvk1","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("span",{className:"font-body text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"var(--hw-amber-light)"},"data-id":"x9p0nnfj9","data-path":"src/pages/DonatePage.tsx",children:"Donate"}),l.jsx("h1",{className:"font-display text-5xl md:text-6xl font-light text-white mb-6 leading-tight","data-id":"tv8ocr01p","data-path":"src/pages/DonatePage.tsx",children:"Give Independence a Foundation"}),l.jsx("p",{className:"font-body text-white/70 text-lg max-w-2xl leading-relaxed","data-id":"pwls465k0","data-path":"src/pages/DonatePage.tsx",children:"Your gift to HOMEWERKS NP directly expands accessible housing, funds independent living support, and strengthens community inclusion for individuals with disabilities across San Diego."})]})]}),l.jsx("section",{className:"py-20 px-4 bg-white","data-id":"zb8qbv2dh","data-path":"src/pages/DonatePage.tsx",children:l.jsxs("div",{className:"max-w-6xl mx-auto grid grid-cols-1 lg:grid-cols-5 gap-12","data-id":"e79qrpv55","data-path":"src/pages/DonatePage.tsx",children:[l.jsxs("div",{className:"lg:col-span-3","data-id":"69edm28rj","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"j89r9gmwh","data-path":"src/pages/DonatePage.tsx"}),l.jsx("h2",{className:"font-display text-3xl font-light mb-8",style:{color:"var(--hw-dark)"},"data-id":"gd2zn4cqg","data-path":"src/pages/DonatePage.tsx",children:"Make Your Gift"}),l.jsx("div",{className:"flex rounded-lg overflow-hidden border border-gray-200 mb-8 w-fit","data-id":"mcjli2j87","data-path":"src/pages/DonatePage.tsx",children:["One-time","Monthly"].map((p,h)=>l.jsx("button",{className:"px-8 py-3 font-body text-sm font-semibold transition-all",style:{background:p==="Monthly"===r?"var(--hw-teal)":"white",color:p==="Monthly"===r?"white":"var(--hw-dark)"},onClick:()=>a(p==="Monthly"),"data-id":"kqdtwmeg1","data-path":"src/pages/DonatePage.tsx",children:p},p))}),l.jsx("div",{className:"grid grid-cols-3 gap-3 mb-6","data-id":"9pb7utj90","data-path":"src/pages/DonatePage.tsx",children:YT.map(p=>l.jsxs("button",{onClick:()=>{t(p),s("")},className:"py-4 rounded-xl font-body font-bold text-lg border-2 transition-all",style:{background:e===p&&!n?"var(--hw-teal)":"white",color:e===p&&!n?"white":"var(--hw-dark)",borderColor:e===p&&!n?"var(--hw-teal)":"#e5e7eb"},"data-id":"2gedrrttq","data-path":"src/pages/DonatePage.tsx",children:["$",p]},p))}),l.jsxs("div",{className:"mb-8","data-id":"nz3r82ez8","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("label",{className:"font-body text-sm font-semibold text-gray-600 block mb-2","data-id":"0qb077qko","data-path":"src/pages/DonatePage.tsx",children:"Custom Amount"}),l.jsxs("div",{className:"relative","data-id":"9gsfiydxw","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("span",{className:"absolute left-4 top-1/2 -translate-y-1/2 font-body text-gray-400 font-semibold","data-id":"c26yacy8v","data-path":"src/pages/DonatePage.tsx",children:"$"}),l.jsx("input",{type:"number",value:n,onChange:p=>{s(p.target.value),t(0)},placeholder:"Enter amount",className:"w-full pl-8 pr-4 py-4 border-2 border-gray-200 rounded-xl font-body text-base focus:outline-none focus:border-teal transition-colors",style:{borderColor:n?"var(--hw-teal)":void 0},min:"1","data-id":"7xue29wcy","data-path":"src/pages/DonatePage.tsx"})]})]}),u&&!n&&l.jsxs("div",{className:"mb-8 p-5 rounded-xl flex items-center gap-4",style:{background:"var(--hw-cream)"},"data-id":"jmue6zo1z","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center shrink-0",style:{background:"var(--hw-teal)18"},"data-id":"q9yzczr8s","data-path":"src/pages/DonatePage.tsx",children:l.jsx(Ms,{size:18,style:{color:"var(--hw-teal)"},"data-id":"pi9qyrmev","data-path":"src/pages/DonatePage.tsx"})}),l.jsxs("p",{className:"font-body text-sm text-gray-700 leading-relaxed","data-id":"fp2nnqs2r","data-path":"src/pages/DonatePage.tsx",children:[l.jsxs("strong",{"data-id":"ltp04fyu2","data-path":"src/pages/DonatePage.tsx",children:["Your $",d," gift"]})," — ",u.desc]})]}),l.jsxs("form",{onSubmit:f,className:"space-y-5","data-id":"9oekesg0n","data-path":"src/pages/DonatePage.tsx",children:[l.jsxs("div",{"data-id":"c26h5sojc","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("label",{className:"font-body text-sm font-semibold text-gray-600 block mb-2","data-id":"gu4293blo","data-path":"src/pages/DonatePage.tsx",children:"Your Name"}),l.jsx("input",{type:"text",value:i.name,onChange:p=>o({...i,name:p.target.value}),required:!0,placeholder:"Full name",className:"w-full px-4 py-3.5 border-2 border-gray-200 rounded-xl font-body text-sm focus:outline-none focus:border-teal","data-id":"bivgq1ihm","data-path":"src/pages/DonatePage.tsx"})]}),l.jsxs("div",{"data-id":"7sq9kasp8","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("label",{className:"font-body text-sm font-semibold text-gray-600 block mb-2","data-id":"og9xa6klj","data-path":"src/pages/DonatePage.tsx",children:"Email Address"}),l.jsx("input",{type:"email",value:i.email,onChange:p=>o({...i,email:p.target.value}),required:!0,placeholder:"your@email.com",className:"w-full px-4 py-3.5 border-2 border-gray-200 rounded-xl font-body text-sm focus:outline-none focus:border-teal","data-id":"mys4z3z5q","data-path":"src/pages/DonatePage.tsx"})]}),l.jsxs("div",{"data-id":"hs73vs7hd","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("label",{className:"font-body text-sm font-semibold text-gray-600 block mb-2","data-id":"d9g97ggz5","data-path":"src/pages/DonatePage.tsx",children:"Message (optional)"}),l.jsx("textarea",{value:i.message,onChange:p=>o({...i,message:p.target.value}),rows:3,placeholder:"Tell us what inspired your gift...",className:"w-full px-4 py-3.5 border-2 border-gray-200 rounded-xl font-body text-sm focus:outline-none focus:border-teal resize-none","data-id":"9mmxkfguq","data-path":"src/pages/DonatePage.tsx"})]}),l.jsxs("button",{type:"submit",className:"w-full py-4 rounded-xl font-body font-bold text-base text-white flex items-center justify-center gap-2 transition-all",style:{background:"var(--hw-amber)"},onMouseEnter:p=>p.currentTarget.style.background="var(--hw-amber-light)",onMouseLeave:p=>p.currentTarget.style.background="var(--hw-amber)","data-id":"p7vee7tx9","data-path":"src/pages/DonatePage.tsx",children:[l.jsx(Ms,{size:18,"data-id":"nheptlayt","data-path":"src/pages/DonatePage.tsx"}),"Donate ",d?`$${d}`:""," ",r?"Monthly":"Now"]}),l.jsx("p",{className:"font-body text-xs text-gray-400 text-center","data-id":"aravrxojg","data-path":"src/pages/DonatePage.tsx",children:"HOMEWERKS NP is a registered 501(c)(3) nonprofit. EIN: 87-3746253. Donations are tax-deductible to the extent permitted by law."})]})]}),l.jsxs("div",{className:"lg:col-span-2 space-y-8","data-id":"xtxuqbgxs","data-path":"src/pages/DonatePage.tsx",children:[l.jsxs("div",{className:"rounded-2xl p-8 border border-gray-100","data-id":"sxqjmjbby","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("h3",{className:"font-display text-2xl font-medium mb-6",style:{color:"var(--hw-dark)"},"data-id":"5bm5b3wdj","data-path":"src/pages/DonatePage.tsx",children:"Why Your Gift Matters"}),l.jsx("div",{className:"space-y-4","data-id":"7sq1wzlde","data-path":"src/pages/DonatePage.tsx",children:["96% of HOMEWERKS NP residents maintain housing stability at 12 months","580+ individuals now living independently because of donor support","100% of funds support accessible housing and independent living services","Zero administrative waste—we maximize impact per dollar"].map((p,h)=>l.jsxs("div",{className:"flex items-start gap-3","data-id":"lvr9ztimi","data-path":"src/pages/DonatePage.tsx",children:[l.jsx(jl,{size:16,className:"mt-0.5 shrink-0",style:{color:"var(--hw-amber)"},"data-id":"c53pbkrhn","data-path":"src/pages/DonatePage.tsx"}),l.jsx("span",{className:"font-body text-sm text-gray-600 leading-relaxed","data-id":"sb88ft5yn","data-path":"src/pages/DonatePage.tsx",children:p})]},h))})]}),l.jsxs("div",{className:"rounded-2xl p-8",style:{background:"var(--hw-teal)"},"data-id":"w8otiao6v","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("h3",{className:"font-display text-2xl font-medium text-white mb-4","data-id":"kxmbj5nn6","data-path":"src/pages/DonatePage.tsx",children:"Other Ways to Give"}),l.jsxs("div",{className:"space-y-4 text-white/80 font-body text-sm","data-id":"dquh56h6w","data-path":"src/pages/DonatePage.tsx",children:[l.jsxs("div",{"data-id":"ukq06w9lm","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("strong",{className:"text-white","data-id":"q6jgc94pm","data-path":"src/pages/DonatePage.tsx",children:"Corporate Matching"}),l.jsx("br",{"data-id":"p4zsmaxmn","data-path":"src/pages/DonatePage.tsx"}),"Many employers match charitable gifts. Check with your HR department."]}),l.jsxs("div",{"data-id":"tksg069yw","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("strong",{className:"text-white","data-id":"byofz6vku","data-path":"src/pages/DonatePage.tsx",children:"Stock & Securities"}),l.jsx("br",{"data-id":"3diwk79ls","data-path":"src/pages/DonatePage.tsx"}),"Contact us to discuss gifts of appreciated stock or securities."]}),l.jsxs("div",{"data-id":"3brgxjtfh","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("strong",{className:"text-white","data-id":"r7y7kyncy","data-path":"src/pages/DonatePage.tsx",children:"Planned Giving"}),l.jsx("br",{"data-id":"g0rstcuj4","data-path":"src/pages/DonatePage.tsx"}),"Include HOMEWERKS NP in your estate plan or will."]}),l.jsxs("div",{"data-id":"5rqirvsml","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("strong",{className:"text-white","data-id":"dp1mqran2","data-path":"src/pages/DonatePage.tsx",children:"In-Kind Donations"}),l.jsx("br",{"data-id":"mcwpq4d8v","data-path":"src/pages/DonatePage.tsx"}),"Assistive equipment, furniture, and accessibility tools are welcome."]})]}),l.jsxs(U,{to:"/contact",className:"btn-white inline-flex items-center gap-2 text-sm mt-6","data-id":"m3j94sckx","data-path":"src/pages/DonatePage.tsx",children:["Discuss Giving Options ",l.jsx(qe,{size:14,"data-id":"ebhe6c7jo","data-path":"src/pages/DonatePage.tsx"})]})]}),l.jsxs("div",{className:"rounded-2xl p-8 border border-gray-100","data-id":"jrczpgrg4","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("h3",{className:"font-body font-bold text-sm uppercase tracking-widest mb-4",style:{color:"var(--hw-amber)"},"data-id":"7eyiztmdf","data-path":"src/pages/DonatePage.tsx",children:"Organization Info"}),l.jsxs("div",{className:"space-y-2 font-body text-sm text-gray-600","data-id":"35iw2tsm5","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("div",{"data-id":"3i5r9948y","data-path":"src/pages/DonatePage.tsx",children:l.jsx("strong",{"data-id":"4v7sr4n5o","data-path":"src/pages/DonatePage.tsx",children:"HOMEWERKS NP"})}),l.jsx("div",{"data-id":"ubyrxyqti","data-path":"src/pages/DonatePage.tsx",children:"EIN: 87-3746253"}),l.jsx("div",{"data-id":"xlt518slp","data-path":"src/pages/DonatePage.tsx",children:"3639 Midway Drive B 310"}),l.jsx("div",{"data-id":"9uo34nkgu","data-path":"src/pages/DonatePage.tsx",children:"San Diego, CA 92110"}),l.jsx("div",{"data-id":"8xtwy4ake","data-path":"src/pages/DonatePage.tsx",children:"adminteam@coreedgeforge.com"}),l.jsx("div",{"data-id":"v18ofjxey","data-path":"src/pages/DonatePage.tsx",children:"+1-019-857-5464"})]})]})]})]})})]})}const ZT=["All","Accessible Housing","Independent Living","Universal Design","Community Inclusion","Housing Policy","Advocacy"],en=[{slug:"waiting-lists-to-home",category:"Accessible Housing",title:"From Waiting Lists to Home: How Accessible Housing Changes Lives",excerpt:"The gap between qualifying for accessible housing assistance and actually securing an accessible unit can span years—sometimes a decade. We break down the systemic barriers, the human cost, and what targeted advocacy is doing to close this gap in San Diego County.",date:"June 8, 2026",readTime:"7 min read",author:"Patricia L. Whitmore",authorRole:"Executive Director",gradient:"linear-gradient(135deg, #1B5E6E, #2D8A7A)"},{slug:"universal-design-principles",category:"Universal Design",title:"5 Universal Design Principles Every Housing Developer Should Prioritize",excerpt:"Accessibility is not a feature add-on or a code compliance checkbox—it's foundational architecture. These five universal design principles transform how developers approach housing design and why every new unit should be built for all abilities from the ground up.",date:"May 21, 2026",readTime:"6 min read",author:"Dr. Marcus J. Reid",authorRole:"Director of Programs",gradient:"linear-gradient(135deg, #2D8A7A, #3aada0)"},{slug:"zip-code-quality-of-life",category:"Community Inclusion",title:"Why Your ZIP Code Determines Your Quality of Life with a Disability",excerpt:"Where you live shapes your access to transit, employment, healthcare, grocery stores, and social connection. For individuals with disabilities, the community-level geography of independence determines whether daily life is possible, difficult, or completely inaccessible.",date:"May 3, 2026",readTime:"8 min read",author:"Samira Khalil",authorRole:"Community Inclusion Coordinator",gradient:"linear-gradient(135deg, #C9913B, #E0AA5A)"},{slug:"section-504-ada-housing-rights",category:"Housing Policy",title:"Understanding Section 504 and ADA: Your Housing Rights as a Person with a Disability",excerpt:"Federal housing protections for individuals with disabilities are comprehensive—but widely misunderstood by both residents and landlords. We break down what Section 504, the Fair Housing Act, and the ADA actually require, and how to assert your rights effectively.",date:"April 14, 2026",readTime:"10 min read",author:"Elena Vasquez",authorRole:"Housing Access Coordinator",gradient:"linear-gradient(135deg, #1B5E6E, #C9913B)"},{slug:"ilep-life-skills-independence",category:"Independent Living",title:"Building Independence: The Real Role of Life Skills Programs in Housing Stability",excerpt:"Housing placement is the beginning, not the end. We examine the research behind life skills programming—what skills matter most for housing stability, how they are best taught, and why the ILEP model produces outcomes that generic case management rarely achieves.",date:"March 29, 2026",readTime:"9 min read",author:"Thomas Okafor",authorRole:"Independent Living Specialist",gradient:"linear-gradient(135deg, #2D8A7A, #1B5E6E)"},{slug:"accessible-housing-california-trends",category:"Housing Policy",title:"The Future of Accessible Housing in California: 2026 Trends and Opportunities",excerpt:"California is at a crossroads in accessible housing policy. New ADU legislation, fair housing enforcement changes, and emerging funding streams create both challenges and opportunities for nonprofits like HOMEWERKS NP. Here's what's coming and how we're preparing.",date:"March 10, 2026",readTime:"11 min read",author:"Patricia L. Whitmore",authorRole:"Executive Director",gradient:"linear-gradient(135deg, #1A2733, #1B5E6E)"},{slug:"sensory-accessibility-housing",category:"Universal Design",title:"Beyond Ramps: Sensory Accessibility in Home Design",excerpt:"Wheelchair accessibility is visible and well-understood. Sensory accessibility—for individuals who are deaf, hard of hearing, blind, or who have sensory processing differences—is far less discussed. We explore what truly inclusive home design looks like for the full spectrum of disability.",date:"February 18, 2026",readTime:"7 min read",author:"Dr. Marcus J. Reid",authorRole:"Director of Programs",gradient:"linear-gradient(135deg, #E0AA5A, #C9913B)"},{slug:"benefits-employment-transition",category:"Independent Living",title:"The Benefits Cliff: Navigating SSI and Employment Without Losing Your Housing",excerpt:"One of the most paralyzing barriers to employment for people with disabilities is the fear of losing Medicaid and SSI by earning 'too much.' We walk through the actual rules, the exemptions, and how benefits planning enables career growth without a housing crisis.",date:"January 31, 2026",readTime:"12 min read",author:"Thomas Okafor",authorRole:"Independent Living Specialist",gradient:"linear-gradient(135deg, #2D8A7A, #C9913B)"},{slug:"disability-advocacy-community",category:"Advocacy",title:"Disability Advocacy in Your Community: How Residents Are Shaping Local Policy",excerpt:"The most powerful advocates for accessible housing and disability inclusion are the individuals who live with these needs daily. We highlight how HOMEWERKS NP residents are engaging in local government, shaping housing policy, and building the accessible community they deserve.",date:"January 15, 2026",readTime:"6 min read",author:"Samira Khalil",authorRole:"Community Inclusion Coordinator",gradient:"linear-gradient(135deg, #1B5E6E, #2D8A7A)"}];function JT(){const[e,t]=w.useState("All"),n=e==="All"?en:en.filter(s=>s.category===e);return l.jsxs(It,{"data-id":"tws94j8w5","data-path":"src/pages/BlogPage.tsx",children:[l.jsxs("section",{className:"relative py-28 px-4 hero-gradient overflow-hidden","data-id":"fhyqew9vb","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-10","data-id":"z0cz5mxal","data-path":"src/pages/BlogPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto","data-id":"mjbbd3fua","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("span",{className:"font-body text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"var(--hw-amber-light)"},"data-id":"sh3exapni","data-path":"src/pages/BlogPage.tsx",children:"Ideas & Insights"}),l.jsx("h1",{className:"font-display text-5xl md:text-6xl font-light text-white mb-6 leading-tight","data-id":"qy52ndocx","data-path":"src/pages/BlogPage.tsx",children:"The HOMEWERKS NP Blog"}),l.jsx("p",{className:"font-body text-white/70 text-lg max-w-2xl leading-relaxed","data-id":"afytt8ciy","data-path":"src/pages/BlogPage.tsx",children:"Perspectives on accessible housing, independent living, disability inclusion, community participation, and the policy landscape shaping what's possible in San Diego and beyond."})]})]}),l.jsx("section",{className:"py-8 px-4 bg-white border-b border-gray-100 sticky top-[72px] z-30","data-id":"9dl4lq6tk","data-path":"src/pages/BlogPage.tsx",children:l.jsx("div",{className:"max-w-6xl mx-auto flex gap-2 overflow-x-auto pb-1","data-id":"m9lsg39ju","data-path":"src/pages/BlogPage.tsx",children:ZT.map(s=>l.jsx("button",{onClick:()=>t(s),className:"shrink-0 px-4 py-2 rounded-full font-body text-sm font-semibold transition-all",style:{background:e===s?"var(--hw-teal)":"transparent",color:e===s?"white":"var(--hw-gray)",border:e===s?"none":"1.5px solid #e5e7eb"},"data-id":"6dxzpdbk7","data-path":"src/pages/BlogPage.tsx",children:s},s))})}),l.jsx("section",{className:"py-16 px-4 bg-white","data-id":"4fjq5fbu6","data-path":"src/pages/BlogPage.tsx",children:l.jsx("div",{className:"max-w-6xl mx-auto","data-id":"gh6abdvka","data-path":"src/pages/BlogPage.tsx",children:l.jsxs("div",{className:"rounded-2xl overflow-hidden border border-gray-100 grid grid-cols-1 md:grid-cols-2 card-hover","data-id":"ig87pbyqd","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("div",{className:"h-64 md:h-auto flex items-center justify-center",style:{background:en[0].gradient},"data-id":"azxsp5r2w","data-path":"src/pages/BlogPage.tsx",children:l.jsx("span",{className:"font-display text-8xl font-light text-white opacity-10","data-id":"ai82rmfnl","data-path":"src/pages/BlogPage.tsx",children:"01"})}),l.jsxs("div",{className:"p-10 flex flex-col justify-center","data-id":"p3n40snwt","data-path":"src/pages/BlogPage.tsx",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-4","data-id":"ynyidyi9q","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("span",{className:"font-body text-xs font-bold tracking-widest uppercase px-3 py-1 rounded-full",style:{background:"var(--hw-amber)18",color:"var(--hw-amber)"},"data-id":"9a89cw44s","data-path":"src/pages/BlogPage.tsx",children:en[0].category}),l.jsxs("span",{className:"font-body text-xs text-gray-400 flex items-center gap-1","data-id":"u3g8l69a6","data-path":"src/pages/BlogPage.tsx",children:[l.jsx(Ld,{size:11,"data-id":"h3r7gbiq9","data-path":"src/pages/BlogPage.tsx"})," ",en[0].readTime]})]}),l.jsx("h2",{className:"font-display text-3xl font-medium mb-4 leading-snug",style:{color:"var(--hw-dark)"},"data-id":"mnnpa66t6","data-path":"src/pages/BlogPage.tsx",children:en[0].title}),l.jsx("p",{className:"font-body text-sm text-gray-500 leading-relaxed mb-6","data-id":"woqk3xdxm","data-path":"src/pages/BlogPage.tsx",children:en[0].excerpt}),l.jsxs("div",{className:"flex items-center justify-between","data-id":"2udkiq6z1","data-path":"src/pages/BlogPage.tsx",children:[l.jsxs("div",{"data-id":"upczkeuna","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("div",{className:"font-body font-bold text-sm",style:{color:"var(--hw-dark)"},"data-id":"usmjiy9k4","data-path":"src/pages/BlogPage.tsx",children:en[0].author}),l.jsx("div",{className:"font-body text-xs text-gray-400","data-id":"g6xjyv5pp","data-path":"src/pages/BlogPage.tsx",children:en[0].date})]}),l.jsxs(U,{to:"/blog",className:"btn-primary text-sm inline-flex items-center gap-2","data-id":"oe3yupem9","data-path":"src/pages/BlogPage.tsx",children:["Read Article ",l.jsx(qe,{size:14,"data-id":"ea8u8fah2","data-path":"src/pages/BlogPage.tsx"})]})]})]})]})})}),l.jsx("section",{className:"py-12 px-4 pb-20 bg-cream","data-id":"sw7owwuc2","data-path":"src/pages/BlogPage.tsx",children:l.jsxs("div",{className:"max-w-6xl mx-auto","data-id":"195bx3cxd","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("div",{className:"mb-8","data-id":"hyo6047v7","data-path":"src/pages/BlogPage.tsx",children:l.jsxs("span",{className:"font-body text-sm text-gray-400","data-id":"21hyj3lm1","data-path":"src/pages/BlogPage.tsx",children:[n.length," article",n.length!==1?"s":""]})}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8","data-id":"vdzj2ioht","data-path":"src/pages/BlogPage.tsx",children:n.slice(1).map((s,r)=>l.jsxs(U,{to:"/blog",className:"group block card-hover bg-white rounded-xl overflow-hidden border border-gray-100","data-id":"x9yocekwz","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("div",{className:"h-40 flex items-center justify-center",style:{background:s.gradient},"data-id":"ykzdzcs14","data-path":"src/pages/BlogPage.tsx",children:l.jsx("span",{className:"font-display text-5xl font-light text-white opacity-10","data-id":"u9l6fypy2","data-path":"src/pages/BlogPage.tsx",children:String(r+2).padStart(2,"0")})}),l.jsxs("div",{className:"p-6","data-id":"krdhspsd4","data-path":"src/pages/BlogPage.tsx",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-3","data-id":"ciyt0ian2","data-path":"src/pages/BlogPage.tsx",children:[l.jsx(Tj,{size:10,style:{color:"var(--hw-amber)"},"data-id":"0xlg2f73l","data-path":"src/pages/BlogPage.tsx"}),l.jsx("span",{className:"font-body text-xs font-bold tracking-widest uppercase",style:{color:"var(--hw-amber)"},"data-id":"2fsbdqq5y","data-path":"src/pages/BlogPage.tsx",children:s.category})]}),l.jsx("h3",{className:"font-display text-xl font-medium mb-3 leading-snug",style:{color:"var(--hw-dark)"},"data-id":"dg4hijq60","data-path":"src/pages/BlogPage.tsx",children:s.title}),l.jsx("p",{className:"font-body text-sm text-gray-500 leading-relaxed mb-5 line-clamp-3","data-id":"4vknbpu7e","data-path":"src/pages/BlogPage.tsx",children:s.excerpt}),l.jsxs("div",{className:"flex items-center justify-between border-t border-gray-100 pt-4","data-id":"8cio4qhb0","data-path":"src/pages/BlogPage.tsx",children:[l.jsxs("div",{"data-id":"b2t37tfux","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("div",{className:"font-body font-semibold text-xs",style:{color:"var(--hw-dark)"},"data-id":"jcy2558e3","data-path":"src/pages/BlogPage.tsx",children:s.author}),l.jsxs("div",{className:"font-body text-xs text-gray-400 flex items-center gap-1 mt-0.5","data-id":"wqkhs9v39","data-path":"src/pages/BlogPage.tsx",children:[l.jsx(Ld,{size:10,"data-id":"kr4joog48","data-path":"src/pages/BlogPage.tsx"})," ",s.readTime," · ",s.date]})]}),l.jsx(qe,{size:14,className:"group-hover:translate-x-1 transition-transform",style:{color:"var(--hw-teal)"},"data-id":"ntkki0vkj","data-path":"src/pages/BlogPage.tsx"})]})]})]},r))})]})}),l.jsx("section",{className:"py-16 px-4 bg-white","data-id":"6holzxsu1","data-path":"src/pages/BlogPage.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto text-center","data-id":"lgr16d8aw","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("span",{className:"divider-amber",style:{margin:"0 auto 1.5rem"},"data-id":"3e8ztyzz8","data-path":"src/pages/BlogPage.tsx"}),l.jsx("h2",{className:"font-display text-3xl font-light mb-4",style:{color:"var(--hw-dark)"},"data-id":"6u16kjq2f","data-path":"src/pages/BlogPage.tsx",children:"Stay Informed"}),l.jsx("p",{className:"font-body text-gray-500 mb-8","data-id":"3yhniu7y8","data-path":"src/pages/BlogPage.tsx",children:"Receive our monthly newsletter with the latest in accessible housing, independent living resources, and HOMEWERKS NP program updates."}),l.jsxs("form",{className:"flex flex-col sm:flex-row gap-3 max-w-lg mx-auto",onSubmit:s=>{s.preventDefault()},"data-id":"mrb4x20ot","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("input",{type:"email",placeholder:"your@email.com",className:"flex-1 px-5 py-3.5 border-2 border-gray-200 rounded-xl font-body text-sm focus:outline-none",style:{borderColor:"var(--hw-teal)"},"data-id":"3bggy42sy","data-path":"src/pages/BlogPage.tsx"}),l.jsx("button",{type:"submit",className:"btn-primary text-sm shrink-0","data-id":"phgd9sv8r","data-path":"src/pages/BlogPage.tsx",children:"Subscribe"})]})]})})]})}function eA(){const[e,t]=w.useState({name:"",email:"",phone:"",subject:"",message:"",type:"General Inquiry"}),{toast:n}=bf(),s=a=>{a.preventDefault(),n({title:"Message Received",description:"Thank you for reaching out to HOMEWERKS NP. Our team will respond within one business day."}),t({name:"",email:"",phone:"",subject:"",message:"",type:"General Inquiry"})},r=["General Inquiry","Housing Access (ALHI)","Independent Living Support (ILEP)","Community Inclusion (CIAN)","Donation / Partnership","Media / Press","Volunteer / Internship","Other"];return l.jsxs(It,{"data-id":"nlgcvj23k","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("section",{className:"relative py-28 px-4 hero-gradient overflow-hidden","data-id":"jos15z9jo","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-10","data-id":"dldkzuaqe","data-path":"src/pages/ContactPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto","data-id":"a86kwt7yp","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("span",{className:"font-body text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"var(--hw-amber-light)"},"data-id":"jxcmau61z","data-path":"src/pages/ContactPage.tsx",children:"Contact"}),l.jsx("h1",{className:"font-display text-5xl md:text-6xl font-light text-white mb-6 leading-tight","data-id":"lkrmam5du","data-path":"src/pages/ContactPage.tsx",children:"Let's Talk"}),l.jsx("p",{className:"font-body text-white/70 text-lg max-w-2xl leading-relaxed","data-id":"5pmdt62vj","data-path":"src/pages/ContactPage.tsx",children:"Whether you're seeking housing support, exploring partnership, or have questions about our programs—HOMEWERKS NP is here to help. Reach out and we'll connect you with the right person."})]})]}),l.jsx("section",{className:"py-20 px-4 bg-white","data-id":"vx61fp4i9","data-path":"src/pages/ContactPage.tsx",children:l.jsxs("div",{className:"max-w-6xl mx-auto grid grid-cols-1 lg:grid-cols-5 gap-14","data-id":"fqxr1dcet","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("div",{className:"lg:col-span-2 space-y-8","data-id":"n4z2ewysh","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("div",{"data-id":"4r9lj118d","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("span",{className:"divider-amber","data-id":"9178icn5s","data-path":"src/pages/ContactPage.tsx"}),l.jsx("h2",{className:"font-display text-3xl font-light mb-8",style:{color:"var(--hw-dark)"},"data-id":"23qkzuknr","data-path":"src/pages/ContactPage.tsx",children:"Contact Information"})]}),[{icon:Od,label:"Address",lines:["3639 Midway Drive B 310","San Diego, CA 92110"]},{icon:Ba,label:"Phone",lines:["+1-019-857-5464"]},{icon:qv,label:"Email",lines:["adminteam@coreedgeforge.com"]},{icon:Ld,label:"Office Hours",lines:["Monday – Friday: 9:00 AM – 5:00 PM","Saturday: 10:00 AM – 2:00 PM","Sunday: Closed"]}].map((a,i)=>{const o=a.icon;return l.jsxs("div",{className:"flex gap-5","data-id":"mvfh7rhg6","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"w-11 h-11 rounded-lg flex items-center justify-center shrink-0",style:{background:"var(--hw-teal)18"},"data-id":"yoxd298ra","data-path":"src/pages/ContactPage.tsx",children:l.jsx(o,{size:18,style:{color:"var(--hw-teal)"},"data-id":"4uicz8h2t","data-path":"src/pages/ContactPage.tsx"})}),l.jsxs("div",{"data-id":"w3q7ec3sq","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"font-body text-xs font-bold tracking-widest uppercase mb-1.5",style:{color:"var(--hw-amber)"},"data-id":"loevf9ha0","data-path":"src/pages/ContactPage.tsx",children:a.label}),a.lines.map((c,d)=>l.jsx("div",{className:"font-body text-sm text-gray-600 leading-relaxed","data-id":"ou5z6tj9s","data-path":"src/pages/ContactPage.tsx",children:c},d))]})]},i)}),l.jsxs("div",{className:"rounded-xl p-7",style:{background:"var(--hw-teal)"},"data-id":"gynfvbtx9","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("h3",{className:"font-display text-xl font-medium text-white mb-3","data-id":"i3vebex09","data-path":"src/pages/ContactPage.tsx",children:"Need Immediate Housing Support?"}),l.jsx("p",{className:"font-body text-white/80 text-sm leading-relaxed mb-4","data-id":"vcongl73d","data-path":"src/pages/ContactPage.tsx",children:"If you are experiencing a housing crisis or urgent accessibility need, call our direct line or contact 211 San Diego for 24/7 housing support resources."}),l.jsxs("a",{href:"tel:+10198575464",className:"font-body font-bold text-white text-sm flex items-center gap-2","data-id":"msddyhhbw","data-path":"src/pages/ContactPage.tsx",children:[l.jsx(Ba,{size:14,"data-id":"b8w2hae6j","data-path":"src/pages/ContactPage.tsx"})," +1-019-857-5464"]})]})]}),l.jsxs("div",{className:"lg:col-span-3","data-id":"vpw1xykyh","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("h2",{className:"font-display text-3xl font-light mb-8",style:{color:"var(--hw-dark)"},"data-id":"w9bs7c2os","data-path":"src/pages/ContactPage.tsx",children:"Send Us a Message"}),l.jsxs("form",{onSubmit:s,className:"space-y-6","data-id":"bgubxhru9","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5","data-id":"kkly00a61","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("div",{"data-id":"c803vqbfi","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("label",{className:"font-body text-sm font-semibold text-gray-600 block mb-2","data-id":"esdj4hcfo","data-path":"src/pages/ContactPage.tsx",children:"Full Name *"}),l.jsx("input",{type:"text",required:!0,value:e.name,onChange:a=>t({...e,name:a.target.value}),placeholder:"Your name",className:"w-full px-4 py-3.5 border-2 border-gray-200 rounded-xl font-body text-sm focus:outline-none",style:{borderColor:e.name?"var(--hw-teal)":void 0},"data-id":"ir6qaab02","data-path":"src/pages/ContactPage.tsx"})]}),l.jsxs("div",{"data-id":"pcxtc697q","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("label",{className:"font-body text-sm font-semibold text-gray-600 block mb-2","data-id":"s38gqs4t1","data-path":"src/pages/ContactPage.tsx",children:"Email Address *"}),l.jsx("input",{type:"email",required:!0,value:e.email,onChange:a=>t({...e,email:a.target.value}),placeholder:"your@email.com",className:"w-full px-4 py-3.5 border-2 border-gray-200 rounded-xl font-body text-sm focus:outline-none",style:{borderColor:e.email?"var(--hw-teal)":void 0},"data-id":"5vmvbgv77","data-path":"src/pages/ContactPage.tsx"})]})]}),l.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5","data-id":"9buhl7u8o","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("div",{"data-id":"jtqkvekyc","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("label",{className:"font-body text-sm font-semibold text-gray-600 block mb-2","data-id":"dn3idzeoa","data-path":"src/pages/ContactPage.tsx",children:"Phone Number"}),l.jsx("input",{type:"tel",value:e.phone,onChange:a=>t({...e,phone:a.target.value}),placeholder:"+1 (555) 000-0000",className:"w-full px-4 py-3.5 border-2 border-gray-200 rounded-xl font-body text-sm focus:outline-none","data-id":"adekqtc49","data-path":"src/pages/ContactPage.tsx"})]}),l.jsxs("div",{"data-id":"f6zjstzqa","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("label",{className:"font-body text-sm font-semibold text-gray-600 block mb-2","data-id":"rftki91cr","data-path":"src/pages/ContactPage.tsx",children:"Inquiry Type"}),l.jsx("select",{value:e.type,onChange:a=>t({...e,type:a.target.value}),className:"w-full px-4 py-3.5 border-2 border-gray-200 rounded-xl font-body text-sm focus:outline-none bg-white","data-id":"cho63a4qw","data-path":"src/pages/ContactPage.tsx",children:r.map(a=>l.jsx("option",{"data-id":"u04obg2v9","data-path":"src/pages/ContactPage.tsx",children:a},a))})]})]}),l.jsxs("div",{"data-id":"dktr479vn","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("label",{className:"font-body text-sm font-semibold text-gray-600 block mb-2","data-id":"jtcq69a5a","data-path":"src/pages/ContactPage.tsx",children:"Subject *"}),l.jsx("input",{type:"text",required:!0,value:e.subject,onChange:a=>t({...e,subject:a.target.value}),placeholder:"Brief subject line",className:"w-full px-4 py-3.5 border-2 border-gray-200 rounded-xl font-body text-sm focus:outline-none",style:{borderColor:e.subject?"var(--hw-teal)":void 0},"data-id":"bxnue6kky","data-path":"src/pages/ContactPage.tsx"})]}),l.jsxs("div",{"data-id":"kn8sh9ne2","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("label",{className:"font-body text-sm font-semibold text-gray-600 block mb-2","data-id":"7m5epy6qm","data-path":"src/pages/ContactPage.tsx",children:"Message *"}),l.jsx("textarea",{required:!0,rows:6,value:e.message,onChange:a=>t({...e,message:a.target.value}),placeholder:"Tell us how we can help...",className:"w-full px-4 py-3.5 border-2 border-gray-200 rounded-xl font-body text-sm focus:outline-none resize-none",style:{borderColor:e.message?"var(--hw-teal)":void 0},"data-id":"7fdfc7nzd","data-path":"src/pages/ContactPage.tsx"})]}),l.jsxs("button",{type:"submit",className:"w-full py-4 rounded-xl font-body font-bold text-base text-white flex items-center justify-center gap-2 transition-all",style:{background:"var(--hw-teal)"},onMouseEnter:a=>a.currentTarget.style.background="var(--hw-teal-light)",onMouseLeave:a=>a.currentTarget.style.background="var(--hw-teal)","data-id":"ce42d7lj1","data-path":"src/pages/ContactPage.tsx",children:[l.jsx(Pj,{size:16,"data-id":"ho6exlkl5","data-path":"src/pages/ContactPage.tsx"})," Send Message"]}),l.jsx("p",{className:"font-body text-xs text-gray-400 text-center","data-id":"27uc53dzr","data-path":"src/pages/ContactPage.tsx",children:"We respond to all inquiries within one business day. Your information is never shared or sold."})]})]})]})}),l.jsx("section",{className:"px-4 pb-20 bg-white","data-id":"uo79rwe9j","data-path":"src/pages/ContactPage.tsx",children:l.jsx("div",{className:"max-w-6xl mx-auto","data-id":"7njvk6424","data-path":"src/pages/ContactPage.tsx",children:l.jsx("div",{className:"rounded-2xl overflow-hidden h-72 flex items-center justify-center border border-gray-100",style:{background:"var(--hw-cream)"},"data-id":"p4z0hxl1c","data-path":"src/pages/ContactPage.tsx",children:l.jsxs("div",{className:"text-center","data-id":"39ovci6c7","data-path":"src/pages/ContactPage.tsx",children:[l.jsx(Od,{size:36,className:"mx-auto mb-3",style:{color:"var(--hw-teal)"},"data-id":"6vkxtafpe","data-path":"src/pages/ContactPage.tsx"}),l.jsx("div",{className:"font-display text-xl font-medium mb-1",style:{color:"var(--hw-dark)"},"data-id":"qlbxa1s9u","data-path":"src/pages/ContactPage.tsx",children:"HOMEWERKS NP"}),l.jsx("div",{className:"font-body text-sm text-gray-500","data-id":"trvk2dodu","data-path":"src/pages/ContactPage.tsx",children:"3639 Midway Drive B 310, San Diego, CA 92110"}),l.jsx("a",{href:"https://maps.google.com/?q=3639+Midway+Drive+B+310+San+Diego+CA+92110",target:"_blank",rel:"noopener noreferrer",className:"inline-block mt-4 font-body text-sm font-bold",style:{color:"var(--hw-teal)"},"data-id":"71vyl54js","data-path":"src/pages/ContactPage.tsx",children:"Get Directions →"})]})})})})]})}const tA=[{title:"1. Information We Collect",content:`HOMEWERKS NP collects information you provide directly to us, including:
• Contact Information: Name, email address, phone number, and mailing address when you contact us, sign up for our newsletter, or inquire about services.
• Service Inquiries: Information you share when seeking housing assistance, independent living services, or community inclusion support, including disability-related information provided voluntarily.
• Donation Information: Billing and payment information when you make a charitable contribution. Financial information is processed by secure third-party payment processors and is not stored on our servers.
• Website Usage: Technical information collected automatically, including IP address, browser type, pages visited, and time spent on our website through standard web analytics tools.
We do not sell, rent, or trade your personal information to third parties for any commercial purpose.`},{title:"2. How We Use Your Information",content:`We use the information we collect to:
• Respond to your inquiries and provide the housing, independent living, and community services you request.
• Process charitable donations and provide tax receipts.
• Send organizational updates, program announcements, and newsletter communications (with your consent).
• Improve our website, programs, and services through aggregate, anonymized analysis.
• Comply with legal obligations and regulatory requirements applicable to nonprofit organizations.
• Protect the safety and security of our staff, residents, and organizational information.
We process disability-related information only as necessary to provide appropriate housing or independent living services, and only with your consent or as required by applicable law.`},{title:"3. Information Sharing",content:`HOMEWERKS NP does not sell, rent, or trade personal information to third parties. We may share your information only in the following circumstances:
• Service Partners: With trusted third-party organizations involved in providing housing access, independent living services, or community inclusion programming, subject to confidentiality agreements and only to the extent necessary.
• Legal Requirements: When required by law, court order, or government regulation, or to protect the rights, property, or safety of HOMEWERKS NP, our staff, residents, or the public.
• Organizational Transfers: In the event of a merger, restructuring, or transfer of organizational assets, personal information may transfer to successor organizations under equivalent privacy protections.
• Your Consent: With your explicit consent for any purpose not covered by this policy.`},{title:"4. Disability-Related Information",content:`We recognize that disability-related information is particularly sensitive. HOMEWERKS NP:
• Collects disability-related information only when necessary to provide appropriate and individualized services.
• Does not require you to disclose specific disability diagnoses to access information about our programs.
• Maintains strict confidentiality of any disability-related information shared with our team.
• Does not use disability-related information for any purpose other than service delivery, program improvement, and required reporting to funding entities.
• Complies fully with the Americans with Disabilities Act, Section 504 of the Rehabilitation Act, and California state privacy laws regarding disability-related information.`},{title:"5. Data Security",content:`HOMEWERKS NP implements industry-standard administrative, technical, and physical security measures to protect your personal information. These include:
• Encrypted transmission of data through our website (SSL/TLS).
• Access controls limiting employee access to personal information on a need-to-know basis.
• Regular security assessments and updates to our data systems.
• Secure disposal of personal information when no longer needed.
While we take reasonable precautions, no data transmission or storage system is completely secure. If you believe your information may have been compromised, please contact us immediately at adminteam@coreedgeforge.com.`},{title:"6. Cookies and Website Analytics",content:`Our website uses cookies and similar tracking technologies to improve your browsing experience, understand how visitors use our site, and deliver relevant content. You can control cookie settings through your browser preferences. Disabling cookies may affect the functionality of certain website features.
We use analytics tools (such as Google Analytics) in anonymized form to understand aggregate website usage patterns. We do not use analytics data to identify individual visitors.`},{title:"7. Your Rights and Choices",content:`You have the following rights regarding your personal information:
• Access: Request a copy of personal information we hold about you.
• Correction: Request correction of inaccurate or incomplete information.
• Deletion: Request deletion of your personal information, subject to legal obligations and legitimate organizational interests.
• Opt-Out: Unsubscribe from marketing communications at any time using the unsubscribe link in any email or by contacting us directly.
• California Residents: Under the California Consumer Privacy Act (CCPA), California residents have additional rights including the right to know, delete, and opt-out of sale of personal information. HOMEWERKS NP does not sell personal information.
To exercise any of these rights, contact us at adminteam@coreedgeforge.com or +1-019-857-5464.`},{title:"8. Children's Privacy",content:"HOMEWERKS NP's services are directed toward adults. We do not knowingly collect personal information from individuals under 13 years of age. If we become aware that we have collected personal information from a child under 13, we will take steps to delete that information promptly. If you believe we have inadvertently collected such information, please contact us at adminteam@coreedgeforge.com."},{title:"9. Changes to This Policy",content:"We may update this Privacy Policy from time to time to reflect changes in our practices, services, or applicable law. We will post the updated policy on this page with a revised effective date. We encourage you to review this policy periodically. Continued use of our website or services following posting of changes constitutes your acceptance of those changes."},{title:"10. Contact Us",content:`If you have questions, concerns, or requests regarding this Privacy Policy or our data practices, please contact:
HOMEWERKS NP
Attn: Privacy Officer
3639 Midway Drive B 310
San Diego, CA 92110
Email: adminteam@coreedgeforge.com
Phone: +1-019-857-5464`}];function nA(){return l.jsxs(It,{"data-id":"g89dttwsn","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsxs("section",{className:"relative py-28 px-4 hero-gradient overflow-hidden","data-id":"ha1h5qvvl","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-10","data-id":"40sr9txiz","data-path":"src/pages/PrivacyPolicyPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto","data-id":"57oxlw8la","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("span",{className:"font-body text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"var(--hw-amber-light)"},"data-id":"wroaiz2s7","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Legal"}),l.jsx("h1",{className:"font-display text-5xl md:text-6xl font-light text-white mb-6","data-id":"xf8g88geq","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Privacy Policy"}),l.jsx("p",{className:"font-body text-white/70 text-lg","data-id":"rws5vcuth","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Effective Date: January 1, 2025 Â |Â Last Updated: June 1, 2026"})]})]}),l.jsx("section",{className:"py-20 px-4 bg-white","data-id":"kdr6warjh","data-path":"src/pages/PrivacyPolicyPage.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto","data-id":"8livq3ecc","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("div",{className:"font-body text-gray-600 leading-relaxed mb-12 p-6 rounded-xl",style:{background:"var(--hw-cream)"},"data-id":"lzuzxacgn","data-path":"src/pages/PrivacyPolicyPage.tsx",children:l.jsx("p",{"data-id":"0cednh5bl","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"HOMEWERKS NP (EIN: 87-3746253) is committed to protecting the privacy of individuals who interact with our organization. This Privacy Policy explains how we collect, use, protect, and share information about you when you use our website, access our services, or engage with HOMEWERKS NP in any capacity."})}),l.jsx("div",{className:"space-y-10","data-id":"qyy5af4vu","data-path":"src/pages/PrivacyPolicyPage.tsx",children:tA.map((e,t)=>l.jsxs("div",{"data-id":"bt31y0e60","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("h2",{className:"font-display text-2xl font-medium mb-4",style:{color:"var(--hw-dark)"},"data-id":"y8wjzuu9q","data-path":"src/pages/PrivacyPolicyPage.tsx",children:e.title}),l.jsx("div",{className:"font-body text-gray-600 leading-relaxed text-sm whitespace-pre-line","data-id":"pwdcowv8u","data-path":"src/pages/PrivacyPolicyPage.tsx",children:e.content})]},t))})]})})]})}const sA=[{title:"1. Acceptance of Terms",content:`By accessing or using the HOMEWERKS NP website (homewerks.org) or any services offered by HOMEWERKS NP, you agree to be bound by these Terms and Conditions and our Privacy Policy. If you do not agree to these terms, please do not use our website or services.
These Terms and Conditions apply to all visitors, users, and individuals who access or use the website and services of HOMEWERKS NP, a California nonprofit corporation registered under EIN 87-3746253.`},{title:"2. Description of Services",content:`HOMEWERKS NP provides affordable housing access, independent living support, and community inclusion services for individuals with disabilities in the San Diego, California area. Our website is provided for informational purposes and to facilitate connection with our programs.
HOMEWERKS NP services include:
• Accessible Living Housing Initiative (ALHI)
• Independent Living Empowerment Program (ILEP)
• Community Inclusion & Accessibility Network (CIAN)
• Accessibility resources, advocacy information, and educational content
Service availability, eligibility requirements, and program details may change without notice. Contact us to confirm current program availability.`},{title:"3. Eligibility for Services",content:`HOMEWERKS NP's housing and independent living services are available to adults with disabilities residing in or seeking housing in San Diego County, California, subject to program-specific eligibility criteria and available funding.
We serve individuals regardless of race, color, national origin, sex, religion, familial status, disability type, age, sexual orientation, gender identity, or any other protected characteristic. Eligibility for specific programs may depend on residency status, income level, disability documentation, and availability of services in a given area. Contact our team for a personalized eligibility conversation.`},{title:"4. Use of Website",content:`You agree to use this website only for lawful purposes and in a manner that does not infringe the rights of others or restrict or inhibit their use and enjoyment of the site. Prohibited activities include:
• Using the site in any way that violates applicable federal, state, or local law or regulation.
• Transmitting unsolicited or unauthorized advertising or promotional material.
• Attempting to gain unauthorized access to any part of the website or its related systems.
• Uploading or transmitting viruses, malware, or other harmful code.
• Collecting or harvesting personal information from other users.
• Impersonating HOMEWERKS NP, its staff, or other individuals.
HOMEWERKS NP reserves the right to terminate access to the website for any user who violates these terms.`},{title:"5. Intellectual Property",content:`All content on the HOMEWERKS NP website, including but not limited to text, graphics, logos, images, program descriptions, blog articles, and educational materials, is the property of HOMEWERKS NP or its content contributors and is protected by U.S. copyright and intellectual property laws.
You may view, download, and print content from this website for personal, non-commercial use provided that you do not modify the content, you retain all copyright notices, and you do not represent the content as your own. Any other use, reproduction, distribution, or modification requires prior written permission from HOMEWERKS NP.`},{title:"6. Charitable Donations",content:`Donations made to HOMEWERKS NP are voluntary gifts to support our nonprofit mission. HOMEWERKS NP is recognized as a tax-exempt organization under Section 501(c)(3) of the Internal Revenue Code. Donations are tax-deductible to the extent permitted by applicable law.
HOMEWERKS NP exercises sole discretion in determining how charitable gifts are allocated in support of our mission. Donor-designated gifts will be honored to the extent practicable. HOMEWERKS NP will provide donation receipts as required by law.
All donation transactions are processed through secure, third-party payment processors. HOMEWERKS NP does not store payment card information on its servers. By making a donation, you confirm that you are authorized to use the payment method provided.`},{title:"7. Third-Party Links and Resources",content:`This website may contain links to third-party websites, resources, and programs. These links are provided for informational convenience only. HOMEWERKS NP does not endorse, control, or take responsibility for the content, privacy practices, or accessibility of third-party sites.
Users access third-party links at their own risk. HOMEWERKS NP encourages you to review the terms and privacy policies of any third-party site you visit.`},{title:"8. Disclaimer of Warranties",content:`This website and its content are provided on an "as is" and "as available" basis without warranties of any kind, express or implied. HOMEWERKS NP does not warrant that the website will be uninterrupted, error-free, secure, or free of viruses or other harmful components.
The information on this website is provided for general informational purposes and does not constitute legal, medical, financial, or professional advice. Individuals seeking housing, disability services, benefits guidance, or legal assistance should consult qualified professionals.`},{title:"9. Limitation of Liability",content:`To the fullest extent permitted by applicable law, HOMEWERKS NP, its directors, officers, employees, and volunteers shall not be liable for any indirect, incidental, special, consequential, or punitive damages arising from your use of or inability to use this website or our services, even if we have been advised of the possibility of such damages.
Our total liability for any claims arising from these Terms shall not exceed the amount you paid, if any, to HOMEWERKS NP in the twelve months preceding the claim.`},{title:"10. 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 from these terms shall be subject to the exclusive jurisdiction of the state and federal courts located in San Diego County, California."},{title:"11. Changes to These Terms",content:"HOMEWERKS NP reserves the right to modify these Terms and Conditions at any time. We will post updated terms on this page with a revised effective date. Your continued use of the website or services following the posting of changes constitutes your acceptance of the updated terms. We encourage you to review these terms periodically."},{title:"12. Contact Information",content:`Questions about these Terms and Conditions may be directed to:
HOMEWERKS NP
Legal / Administrative Affairs
3639 Midway Drive B 310
San Diego, CA 92110
Email: adminteam@coreedgeforge.com
Phone: +1-019-857-5464
EIN: 87-3746253`}];function rA(){return l.jsxs(It,{"data-id":"xutsuhm17","data-path":"src/pages/TermsPage.tsx",children:[l.jsxs("section",{className:"relative py-28 px-4 hero-gradient overflow-hidden","data-id":"kt84m9ndv","data-path":"src/pages/TermsPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 bg-dot-pattern opacity-10","data-id":"kk9w9osve","data-path":"src/pages/TermsPage.tsx"}),l.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto","data-id":"n6ixdn614","data-path":"src/pages/TermsPage.tsx",children:[l.jsx("span",{className:"font-body text-xs font-bold tracking-widest uppercase mb-4 block",style:{color:"var(--hw-amber-light)"},"data-id":"w03v18xy5","data-path":"src/pages/TermsPage.tsx",children:"Legal"}),l.jsx("h1",{className:"font-display text-5xl md:text-6xl font-light text-white mb-6","data-id":"94cjd10yr","data-path":"src/pages/TermsPage.tsx",children:"Terms & Conditions"}),l.jsx("p",{className:"font-body text-white/70 text-lg","data-id":"4kz6usikr","data-path":"src/pages/TermsPage.tsx",children:"Effective Date: January 1, 2025 Â |Â Last Updated: June 1, 2026"})]})]}),l.jsx("section",{className:"py-20 px-4 bg-white","data-id":"2klxgi825","data-path":"src/pages/TermsPage.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto","data-id":"xiuqgqfnn","data-path":"src/pages/TermsPage.tsx",children:[l.jsx("div",{className:"font-body text-gray-600 leading-relaxed mb-12 p-6 rounded-xl",style:{background:"var(--hw-cream)"},"data-id":"xdfddg725","data-path":"src/pages/TermsPage.tsx",children:l.jsx("p",{"data-id":"697gmmxx2","data-path":"src/pages/TermsPage.tsx",children:"Please read these Terms and Conditions carefully before using the HOMEWERKS NP website or services. These terms constitute a legally binding agreement between you and HOMEWERKS NP (EIN: 87-3746253), a California nonprofit corporation dedicated to providing accessible housing and independent living support for individuals with disabilities."})}),l.jsx("div",{className:"space-y-10","data-id":"84do69uz7","data-path":"src/pages/TermsPage.tsx",children:sA.map((e,t)=>l.jsxs("div",{"data-id":"m18jlrljw","data-path":"src/pages/TermsPage.tsx",children:[l.jsx("h2",{className:"font-display text-2xl font-medium mb-4",style:{color:"var(--hw-dark)"},"data-id":"843jovrv7","data-path":"src/pages/TermsPage.tsx",children:e.title}),l.jsx("div",{className:"font-body text-gray-600 leading-relaxed text-sm whitespace-pre-line","data-id":"0cy1gc4fx","data-path":"src/pages/TermsPage.tsx",children:e.content})]},t))})]})})]})}const vw=w.createContext({});function aA(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const iA=typeof window<"u",oA=iA?w.useLayoutEffect:w.useEffect,Yf=w.createContext(null);function Qf(e,t){e.indexOf(t)===-1&&e.push(t)}function Go(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Yt=(e,t,n)=>n>t?t:n<e?e:n;let Xf=()=>{};const es={},ww=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),bw=e=>typeof e=="object"&&e!==null,Pw=e=>/^0[^.\s]+$/u.test(e);function Sw(e){let t;return()=>(t===void 0&&(t=e()),t)}const ht=e=>e,fi=(...e)=>e.reduce((t,n)=>s=>n(t(s))),Ga=(e,t,n)=>{const s=t-e;return s?(n-e)/s:1};class Zf{constructor(){this.subscriptions=[]}add(t){return Qf(this.subscriptions,t),()=>Go(this.subscriptions,t)}notify(t,n,s){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](t,n,s);else for(let a=0;a<r;a++){const i=this.subscriptions[a];i&&i(t,n,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const nt=e=>e*1e3,ft=e=>e/1e3,kw=(e,t)=>t?e*(1e3/t):0,jw=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,lA=1e-7,cA=12;function dA(e,t,n,s,r){let a,i,o=0;do i=t+(n-t)/2,a=jw(i,s,r)-e,a>0?n=i:t=i;while(Math.abs(a)>lA&&++o<cA);return i}function pi(e,t,n,s){if(e===t&&n===s)return ht;const r=a=>dA(a,0,1,e,n);return a=>a===0||a===1?a:jw(r(a),t,s)}const Cw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ew=e=>t=>1-e(1-t),Nw=pi(.33,1.53,.69,.99),Jf=Ew(Nw),Tw=Cw(Jf),Aw=e=>e>=1?1:(e*=2)<1?.5*Jf(e):.5*(2-Math.pow(2,-10*(e-1))),ep=e=>1-Math.sin(Math.acos(e)),Rw=Ew(ep),Mw=Cw(ep),uA=pi(.42,0,1,1),fA=pi(0,0,.58,1),Dw=pi(.42,0,.58,1),pA=e=>Array.isArray(e)&&typeof e[0]!="number",Iw=e=>Array.isArray(e)&&typeof e[0]=="number",hA={linear:ht,easeIn:uA,easeInOut:Dw,easeOut:fA,circIn:ep,circInOut:Mw,circOut:Rw,backIn:Jf,backInOut:Tw,backOut:Nw,anticipate:Aw},mA=e=>typeof e=="string",zm=e=>{if(Iw(e)){Xf(e.length===4);const[t,n,s,r]=e;return pi(t,n,s,r)}else if(mA(e))return hA[e];return e},Hi=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function gA(e,t){let n=new Set,s=new Set,r=!1,a=!1;const i=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function c(u){i.has(u)&&(d.schedule(u),e()),u(o)}const d={schedule:(u,f=!1,p=!1)=>{const y=p&&r?n:s;return f&&i.add(u),y.add(u),u},cancel:u=>{s.delete(u),i.delete(u)},process:u=>{if(o=u,r){a=!0;return}r=!0;const f=n;n=s,s=f,n.forEach(c),n.clear(),r=!1,a&&(a=!1,d.process(u))}};return d}const yA=40;function Lw(e,t){let n=!1,s=!0;const r={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,i=Hi.reduce((x,P)=>(x[P]=gA(a),x),{}),{setup:o,read:c,resolveKeyframes:d,preUpdate:u,update:f,preRender:p,render:h,postRender:y}=i,v=()=>{const x=es.useManualTiming,P=x?r.timestamp:performance.now();n=!1,x||(r.delta=s?1e3/60:Math.max(Math.min(P-r.timestamp,yA),1)),r.timestamp=P,r.isProcessing=!0,o.process(r),c.process(r),d.process(r),u.process(r),f.process(r),p.process(r),h.process(r),y.process(r),r.isProcessing=!1,n&&t&&(s=!1,e(v))},b=()=>{n=!0,s=!0,r.isProcessing||e(v)};return{schedule:Hi.reduce((x,P)=>{const S=i[P];return x[P]=(k,j=!1,C=!1)=>(n||b(),S.schedule(k,j,C)),x},{}),cancel:x=>{for(let P=0;P<Hi.length;P++)i[Hi[P]].cancel(x)},state:r,steps:i}}const{schedule:ee,cancel:ts,state:Ce,steps:Pc}=Lw(typeof requestAnimationFrame<"u"?requestAnimationFrame:ht,!0);let co;function xA(){co=void 0}const Fe={now:()=>(co===void 0&&Fe.set(Ce.isProcessing||es.useManualTiming?Ce.timestamp:performance.now()),co),set:e=>{co=e,queueMicrotask(xA)}},Ow=e=>t=>typeof t=="string"&&t.startsWith(e),zw=Ow("--"),vA=Ow("var(--"),tp=e=>vA(e)?wA.test(e.split("/*")[0].trim()):!1,wA=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Fm(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Hr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ya={...Hr,transform:e=>Yt(0,1,e)},Bi={...Hr,default:1},ba=e=>Math.round(e*1e5)/1e5,np=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function bA(e){return e==null}const PA=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,sp=(e,t)=>n=>!!(typeof n=="string"&&PA.test(n)&&n.startsWith(e)||t&&!bA(n)&&Object.prototype.hasOwnProperty.call(n,t)),Fw=(e,t,n)=>s=>{if(typeof s!="string")return s;const[r,a,i,o]=s.match(np);return{[e]:parseFloat(r),[t]:parseFloat(a),[n]:parseFloat(i),alpha:o!==void 0?parseFloat(o):1}},SA=e=>Yt(0,255,e),Sc={...Hr,transform:e=>Math.round(SA(e))},hs={test:sp("rgb","red"),parse:Fw("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:s=1})=>"rgba("+Sc.transform(e)+", "+Sc.transform(t)+", "+Sc.transform(n)+", "+ba(Ya.transform(s))+")"};function kA(e){let t="",n="",s="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),s=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),s=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,s+=s,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:r?parseInt(r,16)/255:1}}const Jd={test:sp("#"),parse:kA,transform:hs.transform},hi=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),nn=hi("deg"),Gt=hi("%"),z=hi("px"),jA=hi("vh"),CA=hi("vw"),_m={...Gt,parse:e=>Gt.parse(e)/100,transform:e=>Gt.transform(e*100)},tr={test:sp("hsl","hue"),parse:Fw("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+Gt.transform(ba(t))+", "+Gt.transform(ba(n))+", "+ba(Ya.transform(s))+")"},pe={test:e=>hs.test(e)||Jd.test(e)||tr.test(e),parse:e=>hs.test(e)?hs.parse(e):tr.test(e)?tr.parse(e):Jd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?hs.transform(e):tr.transform(e),getAnimatableNone:e=>{const t=pe.parse(e);return t.alpha=0,pe.transform(t)}},EA=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function NA(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(np))==null?void 0:t.length)||0)+(((n=e.match(EA))==null?void 0:n.length)||0)>0}const _w="number",Vw="color",TA="var",AA="var(",Vm="${}",RA=/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 Mr(e){const t=e.toString(),n=[],s={color:[],number:[],var:[]},r=[];let a=0;const o=t.replace(RA,c=>(pe.test(c)?(s.color.push(a),r.push(Vw),n.push(pe.parse(c))):c.startsWith(AA)?(s.var.push(a),r.push(TA),n.push(c)):(s.number.push(a),r.push(_w),n.push(parseFloat(c))),++a,Vm)).split(Vm);return{values:n,split:o,indexes:s,types:r}}function MA(e){return Mr(e).values}function Hw({split:e,types:t}){const n=e.length;return s=>{let r="";for(let a=0;a<n;a++)if(r+=e[a],s[a]!==void 0){const i=t[a];i===_w?r+=ba(s[a]):i===Vw?r+=pe.transform(s[a]):r+=s[a]}return r}}function DA(e){return Hw(Mr(e))}const IA=e=>typeof e=="number"?0:pe.test(e)?pe.getAnimatableNone(e):e,LA=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:IA(e);function OA(e){const t=Mr(e);return Hw(t)(t.values.map((s,r)=>LA(s,t.split[r])))}const Tt={test:NA,parse:MA,createTransformer:DA,getAnimatableNone:OA};function kc(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function zA({hue:e,saturation:t,lightness:n,alpha:s}){e/=360,t/=100,n/=100;let r=0,a=0,i=0;if(!t)r=a=i=n;else{const o=n<.5?n*(1+t):n+t-n*t,c=2*n-o;r=kc(c,o,e+1/3),a=kc(c,o,e),i=kc(c,o,e-1/3)}return{red:Math.round(r*255),green:Math.round(a*255),blue:Math.round(i*255),alpha:s}}function Yo(e,t){return n=>n>0?t:e}const J=(e,t,n)=>e+(t-e)*n,jc=(e,t,n)=>{const s=e*e,r=n*(t*t-s)+s;return r<0?0:Math.sqrt(r)},FA=[Jd,hs,tr],_A=e=>FA.find(t=>t.test(e));function Hm(e){const t=_A(e);if(!t)return!1;let n=t.parse(e);return t===tr&&(n=zA(n)),n}const Bm=(e,t)=>{const n=Hm(e),s=Hm(t);if(!n||!s)return Yo(e,t);const r={...n};return a=>(r.red=jc(n.red,s.red,a),r.green=jc(n.green,s.green,a),r.blue=jc(n.blue,s.blue,a),r.alpha=J(n.alpha,s.alpha,a),hs.transform(r))},eu=new Set(["none","hidden"]);function VA(e,t){return eu.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function HA(e,t){return n=>J(e,t,n)}function rp(e){return typeof e=="number"?HA:typeof e=="string"?tp(e)?Yo:pe.test(e)?Bm:$A:Array.isArray(e)?Bw:typeof e=="object"?pe.test(e)?Bm:BA:Yo}function Bw(e,t){const n=[...e],s=n.length,r=e.map((a,i)=>rp(a)(a,t[i]));return a=>{for(let i=0;i<s;i++)n[i]=r[i](a);return n}}function BA(e,t){const n={...e,...t},s={};for(const r in n)e[r]!==void 0&&t[r]!==void 0&&(s[r]=rp(e[r])(e[r],t[r]));return r=>{for(const a in s)n[a]=s[a](r);return n}}function WA(e,t){const n=[],s={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){const a=t.types[r],i=e.indexes[a][s[a]],o=e.values[i]??0;n[r]=o,s[a]++}return n}const $A=(e,t)=>{const n=Tt.createTransformer(t),s=Mr(e),r=Mr(t);return s.indexes.var.length===r.indexes.var.length&&s.indexes.color.length===r.indexes.color.length&&s.indexes.number.length>=r.indexes.number.length?eu.has(e)&&!r.values.length||eu.has(t)&&!s.values.length?VA(e,t):fi(Bw(WA(s,r),r.values),n):Yo(e,t)};function Ww(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?J(e,t,n):rp(e)(e,t)}const UA=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ee.update(t,n),stop:()=>ts(t),now:()=>Ce.isProcessing?Ce.timestamp:Fe.now()}},$w=(e,t,n=10)=>{let s="";const r=Math.max(Math.round(t/n),2);for(let a=0;a<r;a++)s+=Math.round(e(a/(r-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},Qo=2e4;function ap(e){let t=0;const n=50;let s=e.next(t);for(;!s.done&&t<Qo;)t+=n,s=e.next(t);return t>=Qo?1/0:t}function qA(e,t=100,n){const s=n({...e,keyframes:[0,t]}),r=Math.min(ap(s),Qo);return{type:"keyframes",ease:a=>s.next(r*a).value/t,duration:ft(r)}}const de={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 tu(e,t){return e*Math.sqrt(1-t*t)}const KA=12;function GA(e,t,n){let s=n;for(let r=1;r<KA;r++)s=s-e(s)/t(s);return s}const Cc=.001;function YA({duration:e=de.duration,bounce:t=de.bounce,velocity:n=de.velocity,mass:s=de.mass}){let r,a,i=1-t;i=Yt(de.minDamping,de.maxDamping,i),e=Yt(de.minDuration,de.maxDuration,ft(e)),i<1?(r=d=>{const u=d*i,f=u*e,p=u-n,h=tu(d,i),y=Math.exp(-f);return Cc-p/h*y},a=d=>{const f=d*i*e,p=f*n+n,h=Math.pow(i,2)*Math.pow(d,2)*e,y=Math.exp(-f),v=tu(Math.pow(d,2),i);return(-r(d)+Cc>0?-1:1)*((p-h)*y)/v}):(r=d=>{const u=Math.exp(-d*e),f=(d-n)*e+1;return-Cc+u*f},a=d=>{const u=Math.exp(-d*e),f=(n-d)*(e*e);return u*f});const o=5/e,c=GA(r,a,o);if(e=nt(e),isNaN(c))return{stiffness:de.stiffness,damping:de.damping,duration:e};{const d=Math.pow(c,2)*s;return{stiffness:d,damping:i*2*Math.sqrt(s*d),duration:e}}}const QA=["duration","bounce"],XA=["stiffness","damping","mass"];function Wm(e,t){return t.some(n=>e[n]!==void 0)}function ZA(e){let t={velocity:de.velocity,stiffness:de.stiffness,damping:de.damping,mass:de.mass,isResolvedFromDuration:!1,...e};if(!Wm(e,XA)&&Wm(e,QA))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,s=2*Math.PI/(n*1.2),r=s*s,a=2*Yt(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:de.mass,stiffness:r,damping:a}}else{const n=YA({...e,velocity:0});t={...t,...n,mass:de.mass},t.isResolvedFromDuration=!0}return t}function Xo(e=de.visualDuration,t=de.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:s,restDelta:r}=n;const a=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],o={done:!1,value:a},{stiffness:c,damping:d,mass:u,duration:f,velocity:p,isResolvedFromDuration:h}=ZA({...n,velocity:-ft(n.velocity||0)}),y=p||0,v=d/(2*Math.sqrt(c*u)),b=i-a,g=ft(Math.sqrt(c/u)),m=Math.abs(b)<5;s||(s=m?de.restSpeed.granular:de.restSpeed.default),r||(r=m?de.restDelta.granular:de.restDelta.default);let x,P,S,k,j,C;if(v<1)S=tu(g,v),k=(y+v*g*b)/S,x=T=>{const O=Math.exp(-v*g*T);return i-O*(k*Math.sin(S*T)+b*Math.cos(S*T))},j=v*g*k+b*S,C=v*g*b-k*S,P=T=>Math.exp(-v*g*T)*(j*Math.sin(S*T)+C*Math.cos(S*T));else if(v===1){x=O=>i-Math.exp(-g*O)*(b+(y+g*b)*O);const T=y+g*b;P=O=>Math.exp(-g*O)*(g*T*O-y)}else{const T=g*Math.sqrt(v*v-1);x=D=>{const W=Math.exp(-v*g*D),_=Math.min(T*D,300);return i-W*((y+v*g*b)*Math.sinh(_)+T*b*Math.cosh(_))/T};const O=(y+v*g*b)/T,I=v*g*O-b*T,B=v*g*b-O*T;P=D=>{const W=Math.exp(-v*g*D),_=Math.min(T*D,300);return W*(I*Math.sinh(_)+B*Math.cosh(_))}}const R={calculatedDuration:h&&f||null,velocity:T=>nt(P(T)),next:T=>{if(!h&&v<1){const I=Math.exp(-v*g*T),B=Math.sin(S*T),D=Math.cos(S*T),W=i-I*(k*B+b*D),_=nt(I*(j*B+C*D));return o.done=Math.abs(_)<=s&&Math.abs(i-W)<=r,o.value=o.done?i:W,o}const O=x(T);if(h)o.done=T>=f;else{const I=nt(P(T));o.done=Math.abs(I)<=s&&Math.abs(i-O)<=r}return o.value=o.done?i:O,o},toString:()=>{const T=Math.min(ap(R),Qo),O=$w(I=>R.next(T*I).value,T,30);return T+"ms "+O},toTransition:()=>{}};return R}Xo.applyToOptions=e=>{const t=qA(e,100,Xo);return e.ease=t.ease,e.duration=nt(t.duration),e.type="keyframes",e};const JA=5;function Uw(e,t,n){const s=Math.max(t-JA,0);return kw(n-e(s),t-s)}function nu({keyframes:e,velocity:t=0,power:n=.8,timeConstant:s=325,bounceDamping:r=10,bounceStiffness:a=500,modifyTarget:i,min:o,max:c,restDelta:d=.5,restSpeed:u}){const f=e[0],p={done:!1,value:f},h=C=>o!==void 0&&C<o||c!==void 0&&C>c,y=C=>o===void 0?c:c===void 0||Math.abs(o-C)<Math.abs(c-C)?o:c;let v=n*t;const b=f+v,g=i===void 0?b:i(b);g!==b&&(v=g-f);const m=C=>-v*Math.exp(-C/s),x=C=>g+m(C),P=C=>{const R=m(C),T=x(C);p.done=Math.abs(R)<=d,p.value=p.done?g:T};let S,k;const j=C=>{h(p.value)&&(S=C,k=Xo({keyframes:[p.value,y(p.value)],velocity:Uw(x,C,p.value),damping:r,stiffness:a,restDelta:d,restSpeed:u}))};return j(0),{calculatedDuration:null,next:C=>{let R=!1;return!k&&S===void 0&&(R=!0,P(C),j(C)),S!==void 0&&C>=S?k.next(C-S):(!R&&P(C),p)}}}function eR(e,t,n){const s=[],r=n||es.mix||Ww,a=e.length-1;for(let i=0;i<a;i++){let o=r(e[i],e[i+1]);if(t){const c=Array.isArray(t)?t[i]||ht:t;o=fi(c,o)}s.push(o)}return s}function tR(e,t,{clamp:n=!0,ease:s,mixer:r}={}){const a=e.length;if(Xf(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=eR(t,s,r),c=o.length,d=u=>{if(i&&u<e[0])return t[0];let f=0;if(c>1)for(;f<e.length-2&&!(u<e[f+1]);f++);const p=Ga(e[f],e[f+1],u);return o[f](p)};return n?u=>d(Yt(e[0],e[a-1],u)):d}function nR(e,t){const n=e[e.length-1];for(let s=1;s<=t;s++){const r=Ga(0,t,s);e.push(J(n,1,r))}}function sR(e){const t=[0];return nR(t,e.length-1),t}function rR(e,t){return e.map(n=>n*t)}function aR(e,t){return e.map(()=>t||Dw).splice(0,e.length-1)}function Pa({duration:e=300,keyframes:t,times:n,ease:s="easeInOut"}){const r=pA(s)?s.map(zm):zm(s),a={done:!1,value:t[0]},i=rR(n&&n.length===t.length?n:sR(t),e),o=tR(i,t,{ease:Array.isArray(r)?r:aR(t,r)});return{calculatedDuration:e,next:c=>(a.value=o(c),a.done=c>=e,a)}}const iR=e=>e!==null;function Dl(e,{repeat:t,repeatType:n="loop"},s,r=1){const a=e.filter(iR),o=r<0||t&&n!=="loop"&&t%2===1?0:a.length-1;return!o||s===void 0?a[o]:s}const oR={decay:nu,inertia:nu,tween:Pa,keyframes:Pa,spring:Xo};function qw(e){typeof e.type=="string"&&(e.type=oR[e.type])}class ip{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 lR=e=>e/100;class Zo extends ip{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 s,r;const{motionValue:n}=this.options;n&&n.updatedAt!==Fe.now()&&this.tick(Fe.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(r=(s=this.options).onStop)==null||r.call(s))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;qw(t);const{type:n=Pa,repeat:s=0,repeatDelay:r=0,repeatType:a,velocity:i=0}=t;let{keyframes:o}=t;const c=n||Pa;c!==Pa&&typeof o[0]!="number"&&(this.mixKeyframes=fi(lR,Ww(o[0],o[1])),o=[0,100]);const d=c({...t,keyframes:o});a==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...o].reverse(),velocity:-i})),d.calculatedDuration===null&&(d.calculatedDuration=ap(d));const{calculatedDuration:u}=d;this.calculatedDuration=u,this.resolvedDuration=u+r,this.totalDuration=this.resolvedDuration*(s+1)-r,this.generator=d}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:s,totalDuration:r,mixKeyframes:a,mirroredGenerator:i,resolvedDuration:o,calculatedDuration:c}=this;if(this.startTime===null)return s.next(0);const{delay:d=0,keyframes:u,repeat:f,repeatType:p,repeatDelay:h,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-r/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const g=this.currentTime-d*(this.playbackSpeed>=0?1:-1),m=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=r);let x=this.currentTime,P=s;if(f){const C=Math.min(this.currentTime,r)/o;let R=Math.floor(C),T=C%1;!T&&C>=1&&(T=1),T===1&&R--,R=Math.min(R,f+1),!!(R%2)&&(p==="reverse"?(T=1-T,h&&(T-=h/o)):p==="mirror"&&(P=i)),x=Yt(0,1,T)*o}let S;m?(this.delayState.value=u[0],S=this.delayState):S=P.next(x),a&&!m&&(S.value=a(S.value));let{done:k}=S;!m&&c!==null&&(k=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const j=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&k);return j&&y!==nu&&(S.value=Dl(u,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 Uw(s=>this.generator.next(s).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(Fe.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=ft(this.currentTime))}play(){var r,a;if(this.isStopped)return;const{driver:t=UA,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),(a=(r=this.options).onPlay)==null||a.call(r);const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=n??s),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(Fe.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 cR(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const ms=e=>e*180/Math.PI,su=e=>{const t=ms(Math.atan2(e[1],e[0]));return ru(t)},dR={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:su,rotateZ:su,skewX:e=>ms(Math.atan(e[1])),skewY:e=>ms(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ru=e=>(e=e%360,e<0&&(e+=360),e),$m=su,Um=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),qm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),uR={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Um,scaleY:qm,scale:e=>(Um(e)+qm(e))/2,rotateX:e=>ru(ms(Math.atan2(e[6],e[5]))),rotateY:e=>ru(ms(Math.atan2(-e[2],e[0]))),rotateZ:$m,rotate:$m,skewX:e=>ms(Math.atan(e[4])),skewY:e=>ms(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function au(e){return e.includes("scale")?1:0}function iu(e,t){if(!e||e==="none")return au(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,r;if(n)s=uR,r=n;else{const o=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=dR,r=o}if(!r)return au(t);const a=s[t],i=r[1].split(",").map(pR);return typeof a=="function"?a(i):i[a]}const fR=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return iu(n,t)};function pR(e){return parseFloat(e.trim())}const Br=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Wr=new Set([...Br,"pathRotation"]),Km=e=>e===Hr||e===z,hR=new Set(["x","y","z"]),mR=Br.filter(e=>!hR.has(e));function gR(e){const t=[];return mR.forEach(n=>{const s=e.getValue(n);s!==void 0&&(t.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),t}const Fn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:s})=>{const r=e.max-e.min;return s==="border-box"?r:r-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:s})=>{const r=e.max-e.min;return s==="border-box"?r:r-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>iu(t,"x"),y:(e,{transform:t})=>iu(t,"y")};Fn.translateX=Fn.x;Fn.translateY=Fn.y;const js=new Set;let ou=!1,lu=!1,cu=!1;function Kw(){if(lu){const e=Array.from(js).filter(s=>s.needsMeasurement),t=new Set(e.map(s=>s.element)),n=new Map;t.forEach(s=>{const r=gR(s);r.length&&(n.set(s,r),s.render())}),e.forEach(s=>s.measureInitialState()),t.forEach(s=>{s.render();const r=n.get(s);r&&r.forEach(([a,i])=>{var o;(o=s.getValue(a))==null||o.set(i)})}),e.forEach(s=>s.measureEndState()),e.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}lu=!1,ou=!1,js.forEach(e=>e.complete(cu)),js.clear()}function Gw(){js.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(lu=!0)})}function yR(){cu=!0,Gw(),Kw(),cu=!1}class op{constructor(t,n,s,r,a,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=s,this.motionValue=r,this.element=a,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(js.add(this),ou||(ou=!0,ee.read(Gw),ee.resolveKeyframes(Kw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:s,motionValue:r}=this;if(t[0]===null){const a=r==null?void 0:r.get(),i=t[t.length-1];if(a!==void 0)t[0]=a;else if(s&&n){const o=s.readValue(n,i);o!=null&&(t[0]=o)}t[0]===void 0&&(t[0]=i),r&&a===void 0&&r.set(t[0])}cR(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),js.delete(this)}cancel(){this.state==="scheduled"&&(js.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const xR=e=>e.startsWith("--");function Yw(e,t,n){xR(t)?e.style.setProperty(t,n):e.style[t]=n}const vR={};function Qw(e,t){const n=Sw(e);return()=>vR[t]??n()}const wR=Qw(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Xw=Qw(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ca=([e,t,n,s])=>`cubic-bezier(${e}, ${t}, ${n}, ${s})`,Gm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ca([0,.65,.55,1]),circOut:ca([.55,0,1,.45]),backIn:ca([.31,.01,.66,-.59]),backOut:ca([.33,1.53,.69,.99])};function Zw(e,t){if(e)return typeof e=="function"?Xw()?$w(e,t):"ease-out":Iw(e)?ca(e):Array.isArray(e)?e.map(n=>Zw(n,t)||Gm.easeOut):Gm[e]}function bR(e,t,n,{delay:s=0,duration:r=300,repeat:a=0,repeatType:i="loop",ease:o="easeOut",times:c}={},d=void 0){const u={[t]:n};c&&(u.offset=c);const f=Zw(o,r);Array.isArray(f)&&(u.easing=f);const p={delay:s,duration:r,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:a+1,direction:i==="reverse"?"alternate":"normal"};return d&&(p.pseudoElement=d),e.animate(u,p)}function Jw(e){return typeof e=="function"&&"applyToOptions"in e}function PR({type:e,...t}){return Jw(e)&&Xw()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class eb extends ip{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:s,keyframes:r,pseudoElement:a,allowFlatten:i=!1,finalKeyframe:o,onComplete:c}=t;this.isPseudoElement=!!a,this.allowFlatten=i,this.options=t,Xf(typeof t.type!="string");const d=PR(t);this.animation=bR(n,s,r,d,a),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){const u=Dl(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(u),Yw(n,s,u),this.animation.cancel()}c==null||c(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,s,r;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((r=(s=this.animation).commitStyles)==null||r.call(s))}get duration(){var n,s;const t=((s=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:s.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:s,observe:r}){var a;return this.allowFlatten&&((a=this.animation.effect)==null||a.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&wR()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),s&&(this.animation.rangeEnd=s),ht):r(this)}}const tb={anticipate:Aw,backInOut:Tw,circInOut:Mw};function SR(e){return e in tb}function kR(e){typeof e.ease=="string"&&SR(e.ease)&&(e.ease=tb[e.ease])}const Ec=10;class jR extends eb{constructor(t){kR(t),qw(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:s,onComplete:r,element:a,...i}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const o=new Zo({...i,autoplay:!1}),c=Math.max(Ec,Fe.now()-this.startTime),d=Yt(0,Ec,c-Ec),u=o.sample(c).value,{name:f}=this.options;a&&f&&Yw(a,f,u),n.setWithVelocity(o.sample(Math.max(0,c-d)).value,u,d),o.stop()}}const Ym=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Tt.test(e)||e==="0")&&!e.startsWith("url("));function CR(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 ER(e,t,n,s){const r=e[0];if(r===null)return!1;if(t==="display"||t==="visibility")return!0;const a=e[e.length-1],i=Ym(r,t),o=Ym(a,t);return!i||!o?!1:CR(e)||(n==="spring"||Jw(n))&&s}function du(e){e.duration=0,e.type="keyframes"}const nb=new Set(["opacity","clipPath","filter","transform"]),NR=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function TR(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&NR.test(e[t]))return!0;return!1}const AR=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),RR=Sw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function MR(e){var f;const{motionValue:t,name:n,repeatDelay:s,repeatType:r,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:d,transformTemplate:u}=t.owner.getProps();return RR()&&n&&(nb.has(n)||AR.has(n)&&TR(o))&&(n!=="transform"||!u)&&!d&&!s&&r!=="mirror"&&a!==0&&i!=="inertia"}const DR=40;class IR extends ip{constructor({autoplay:t=!0,delay:n=0,type:s="keyframes",repeat:r=0,repeatDelay:a=0,repeatType:i="loop",keyframes:o,name:c,motionValue:d,element:u,...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=Fe.now();const p={autoplay:t,delay:n,type:s,repeat:r,repeatDelay:a,repeatType:i,name:c,motionValue:d,element:u,...f},h=(u==null?void 0:u.KeyframeResolver)||op;this.keyframeResolver=new h(o,(v,b,g)=>this.onKeyframesResolved(v,b,p,!g),c,d,u),(y=this.keyframeResolver)==null||y.scheduleResolve()}onKeyframesResolved(t,n,s,r){var g,m;this.keyframeResolver=void 0;const{name:a,type:i,velocity:o,delay:c,isHandoff:d,onUpdate:u}=s;this.resolvedAt=Fe.now();let f=!0;ER(t,a,i,o)||(f=!1,(es.instantAnimations||!c)&&(u==null||u(Dl(t,s,n))),t[0]=t[t.length-1],du(s),s.repeat=0);const h={startTime:r?this.resolvedAt?this.resolvedAt-this.createdAt>DR?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...s,keyframes:t},y=f&&!d&&MR(h),v=(m=(g=h.motionValue)==null?void 0:g.owner)==null?void 0:m.current;let b;if(y)try{b=new jR({...h,element:v})}catch{b=new Zo(h)}else b=new Zo(h);b.finished.then(()=>{this.notifyFinished()}).catch(ht),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(),yR()),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 sb(e,t,n,s=0,r=1){const a=Array.from(e).sort((d,u)=>d.sortNodePosition(u)).indexOf(t),i=e.size,o=(i-1)*s;return typeof n=="function"?n(a,i):r===1?a*s:o-a*s}const Qm=30,LR=e=>!isNaN(parseFloat(e));class OR{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{var a;const r=Fe.now();if(this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),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=Fe.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=LR(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 Zf);const s=this.events[t].add(n);return t==="change"?()=>{s(),ee.read(()=>{this.events.change.getSize()||this.stop()})}:s}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,s){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-s}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=Fe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Qm)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Qm);return kw(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 Dr(e,t){return new OR(e,t)}function rb(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...s}=e;return{...t,...s}}return e}function lp(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?rb(n,e):n}const zR={type:"spring",stiffness:500,damping:25,restSpeed:10},FR=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),_R={type:"keyframes",duration:.8},VR={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},HR=(e,{keyframes:t})=>t.length>2?_R:Wr.has(e)?e.startsWith("scale")?FR(t[1]):zR:VR,BR=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function WR(e){for(const t in e)if(!BR.has(t))return!0;return!1}const cp=(e,t,n,s={},r,a)=>i=>{const o=lp(s,e)||{},c=o.delay||s.delay||0;let{elapsed:d=0}=s;d=d-nt(c);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-d,onUpdate:p=>{t.set(p),o.onUpdate&&o.onUpdate(p)},onComplete:()=>{i(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:a?void 0:r};WR(o)||Object.assign(u,HR(e,u)),u.duration&&(u.duration=nt(u.duration)),u.repeatDelay&&(u.repeatDelay=nt(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let f=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(du(u),u.delay===0&&(f=!0)),(es.instantAnimations||es.skipAnimations||r!=null&&r.shouldSkipAnimations||o.skipAnimations)&&(f=!0,du(u),u.delay=0),u.allowFlatten=!o.type&&!o.ease,f&&!a&&t.get()!==void 0){const p=Dl(u.keyframes,o);if(p!==void 0){ee.update(()=>{u.onUpdate(p),u.onComplete()});return}}return o.isSync?new Zo(u):new IR(u)},$R=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function UR(e){const t=$R.exec(e);if(!t)return[,];const[,n,s,r]=t;return[`--${n??s}`,r]}function ab(e,t,n=1){const[s,r]=UR(e);if(!s)return;const a=window.getComputedStyle(t).getPropertyValue(s);if(a){const i=a.trim();return ww(i)?parseFloat(i):i}return tp(r)?ab(r,t,n+1):r}function Xm(e){const t=[{},{}];return e==null||e.values.forEach((n,s)=>{t[0][s]=n.get(),t[1][s]=n.getVelocity()}),t}function dp(e,t,n,s){if(typeof t=="function"){const[r,a]=Xm(s);t=t(n!==void 0?n:e.custom,r,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[r,a]=Xm(s);t=t(n!==void 0?n:e.custom,r,a)}return t}function Cs(e,t,n){const s=e.getProps();return dp(s,t,n!==void 0?n:s.custom,e)}const ib=new Set(["width","height","top","left","right","bottom",...Br]),uu=e=>Array.isArray(e);function qR(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Dr(n))}function KR(e){return uu(e)?e[e.length-1]||0:e}function GR(e,t){const n=Cs(e,t);let{transitionEnd:s={},transition:r={},...a}=n||{};a={...a,...s};for(const i in a){const o=KR(a[i]);qR(e,i,o)}}const Ee=e=>!!(e&&e.getVelocity);function YR(e){return!!(Ee(e)&&e.add)}function fu(e,t){const n=e.getValue("willChange");if(YR(n))return n.add(t);if(!n&&es.WillChange){const s=new es.WillChange("auto");e.addValue("willChange",s),s.add(t)}}function up(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const QR="framerAppearId",ob="data-"+up(QR);function lb(e){return e.props[ob]}function XR({protectedKeys:e,needsAnimating:t},n){const s=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,s}function cb(e,t,{delay:n=0,transitionOverride:s,type:r}={}){let{transition:a,transitionEnd:i,...o}=t;const c=e.getDefaultTransition();a=a?rb(a,c):c;const d=a==null?void 0:a.reduceMotion,u=a==null?void 0:a.skipAnimations;s&&(a=s);const f=[],p=r&&e.animationState&&e.animationState.getState()[r],h=a==null?void 0:a.path;h&&h.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||p&&XR(p,y))continue;const g={delay:n,...lp(a||{},y)};u&&(g.skipAnimations=!0);const m=v.get();if(m!==void 0&&!v.isAnimating()&&!Array.isArray(b)&&b===m&&!g.velocity){ee.update(()=>v.set(b));continue}let x=!1;if(window.MotionHandoffAnimation){const k=lb(e);if(k){const j=window.MotionHandoffAnimation(k,y,ee);j!==null&&(g.startTime=j,x=!0)}}fu(e,y);const P=d??e.shouldReduceMotion;v.start(cp(y,v,b,P&&ib.has(y)?{type:!1}:g,e,x));const S=v.animation;S&&f.push(S)}if(i){const y=()=>ee.update(()=>{i&&GR(e,i)});f.length?Promise.all(f).then(y):y()}return f}function pu(e,t,n={}){var c;const s=Cs(e,t,n.type==="exit"?(c=e.presenceContext)==null?void 0:c.custom:void 0);let{transition:r=e.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(r=n.transitionOverride);const a=s?()=>Promise.all(cb(e,s,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(d=0)=>{const{delayChildren:u=0,staggerChildren:f,staggerDirection:p}=r;return ZR(e,t,d,u,f,p,n)}:()=>Promise.resolve(),{when:o}=r;if(o){const[d,u]=o==="beforeChildren"?[a,i]:[i,a];return d().then(()=>u())}else return Promise.all([a(),i(n.delay)])}function ZR(e,t,n=0,s=0,r=0,a=1,i){const o=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),o.push(pu(c,t,{...i,delay:n+(typeof s=="function"?0:s)+sb(e.variantChildren,c,s,r,a)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(o)}function JR(e,t,n={}){e.notify("AnimationStart",t);let s;if(Array.isArray(t)){const r=t.map(a=>pu(e,a,n));s=Promise.all(r)}else if(typeof t=="string")s=pu(e,t,n);else{const r=typeof t=="function"?Cs(e,t,n.custom):t;s=Promise.all(cb(e,r,n))}return s.then(()=>{e.notify("AnimationComplete",t)})}const eM={test:e=>e==="auto",parse:e=>e},db=e=>t=>t.test(e),ub=[Hr,z,Gt,nn,CA,jA,eM],Zm=e=>ub.find(db(e));function tM(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Pw(e):!0}const nM=new Set(["brightness","contrast","saturate","opacity"]);function sM(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[s]=n.match(np)||[];if(!s)return e;const r=n.replace(s,"");let a=nM.has(t)?1:0;return s!==n&&(a*=100),t+"("+a+r+")"}const rM=/\b([a-z-]*)\(.*?\)/gu,hu={...Tt,getAnimatableNone:e=>{const t=e.match(rM);return t?t.map(sM).join(" "):e}},mu={...Tt,getAnimatableNone:e=>{const t=Tt.parse(e);return Tt.createTransformer(e)(t.map(s=>typeof s=="number"?0:typeof s=="object"?{...s,alpha:1}:s))}},Jm={...Hr,transform:Math.round},aM={rotate:nn,pathRotation:nn,rotateX:nn,rotateY:nn,rotateZ:nn,scale:Bi,scaleX:Bi,scaleY:Bi,scaleZ:Bi,skew:nn,skewX:nn,skewY:nn,distance:z,translateX:z,translateY:z,translateZ:z,x:z,y:z,z,perspective:z,transformPerspective:z,opacity:Ya,originX:_m,originY:_m,originZ:z},Jo={borderWidth:z,borderTopWidth:z,borderRightWidth:z,borderBottomWidth:z,borderLeftWidth:z,borderRadius:z,borderTopLeftRadius:z,borderTopRightRadius:z,borderBottomRightRadius:z,borderBottomLeftRadius:z,width:z,maxWidth:z,height:z,maxHeight:z,top:z,right:z,bottom:z,left:z,inset:z,insetBlock:z,insetBlockStart:z,insetBlockEnd:z,insetInline:z,insetInlineStart:z,insetInlineEnd:z,padding:z,paddingTop:z,paddingRight:z,paddingBottom:z,paddingLeft:z,paddingBlock:z,paddingBlockStart:z,paddingBlockEnd:z,paddingInline:z,paddingInlineStart:z,paddingInlineEnd:z,margin:z,marginTop:z,marginRight:z,marginBottom:z,marginLeft:z,marginBlock:z,marginBlockStart:z,marginBlockEnd:z,marginInline:z,marginInlineStart:z,marginInlineEnd:z,fontSize:z,backgroundPositionX:z,backgroundPositionY:z,...aM,zIndex:Jm,fillOpacity:Ya,strokeOpacity:Ya,numOctaves:Jm},iM={...Jo,color:pe,backgroundColor:pe,outlineColor:pe,fill:pe,stroke:pe,borderColor:pe,borderTopColor:pe,borderRightColor:pe,borderBottomColor:pe,borderLeftColor:pe,filter:hu,WebkitFilter:hu,mask:mu,WebkitMask:mu},fb=e=>iM[e],oM=new Set([hu,mu]);function pb(e,t){let n=fb(e);return oM.has(n)||(n=Tt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const lM=new Set(["auto","none","0"]);function cM(e,t,n){let s=0,r;for(;s<e.length&&!r;){const a=e[s];typeof a=="string"&&!lM.has(a)&&Mr(a).values.length&&(r=e[s]),s++}if(r&&n)for(const a of t)e[a]=pb(n,r)}class dM extends op{constructor(t,n,s,r,a){super(t,n,s,r,a,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:s}=this;if(!n||!n.current)return;super.readKeyframes();for(let u=0;u<t.length;u++){let f=t[u];if(typeof f=="string"&&(f=f.trim(),tp(f))){const p=ab(f,n.current);p!==void 0&&(t[u]=p),u===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!ib.has(s)||t.length!==2)return;const[r,a]=t,i=Zm(r),o=Zm(a),c=Fm(r),d=Fm(a);if(c!==d&&Fn[s]){this.needsMeasurement=!0;return}if(i!==o)if(Km(i)&&Km(o))for(let u=0;u<t.length;u++){const f=t[u];typeof f=="string"&&(t[u]=parseFloat(f))}else Fn[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,s=[];for(let r=0;r<t.length;r++)(t[r]===null||tM(t[r]))&&s.push(r);s.length&&cM(t,s,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:s}=this;if(!t||!t.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Fn[s](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const r=n[n.length-1];r!==void 0&&t.getValue(s,r).jump(r,!1)}measureEndState(){var o;const{element:t,name:n,unresolvedKeyframes:s}=this;if(!t||!t.current)return;const r=t.getValue(n);r&&r.jump(this.measuredOrigin,!1);const a=s.length-1,i=s[a];s[a]=Fn[n](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),(o=this.removedTransforms)!=null&&o.length&&this.removedTransforms.forEach(([c,d])=>{t.getValue(c).set(d)}),this.resolveNoneKeyframes()}}function hb(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let s=document;const r=(n==null?void 0:n[e])??s.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e).filter(s=>s!=null)}const gu=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function uM(e){return bw(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:fp}=Lw(queueMicrotask,!1),wt={x:!1,y:!1};function mb(){return wt.x||wt.y}function fM(e){return e==="x"||e==="y"?wt[e]?null:(wt[e]=!0,()=>{wt[e]=!1}):wt.x||wt.y?null:(wt.x=wt.y=!0,()=>{wt.x=wt.y=!1})}function gb(e,t){const n=hb(e),s=new AbortController,r={passive:!0,...t,signal:s.signal};return[n,r,()=>s.abort()]}function pM(e){return!(e.pointerType==="touch"||mb())}function hM(e,t,n={}){const[s,r,a]=gb(e,n);return s.forEach(i=>{let o=!1,c=!1,d;const u=()=>{i.removeEventListener("pointerleave",y)},f=b=>{d&&(d(b),d=void 0),u()},p=b=>{o=!1,window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",p),c&&(c=!1,f(b))},h=()=>{o=!0,window.addEventListener("pointerup",p,r),window.addEventListener("pointercancel",p,r)},y=b=>{if(b.pointerType!=="touch"){if(o){c=!0;return}f(b)}},v=b=>{if(!pM(b))return;c=!1;const g=t(i,b);typeof g=="function"&&(d=g,i.addEventListener("pointerleave",y,r))};i.addEventListener("pointerenter",v,r),i.addEventListener("pointerdown",h,r)}),a}const yb=(e,t)=>t?e===t?!0:yb(e,t.parentElement):!1,pp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,mM=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function gM(e){return mM.has(e.tagName)||e.isContentEditable===!0}const yM=new Set(["INPUT","SELECT","TEXTAREA"]);function xM(e){return yM.has(e.tagName)||e.isContentEditable===!0}const uo=new WeakSet;function eg(e){return t=>{t.key==="Enter"&&e(t)}}function Nc(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const vM=(e,t)=>{const n=e.currentTarget;if(!n)return;const s=eg(()=>{if(uo.has(n))return;Nc(n,"down");const r=eg(()=>{Nc(n,"up")}),a=()=>Nc(n,"cancel");n.addEventListener("keyup",r,t),n.addEventListener("blur",a,t)});n.addEventListener("keydown",s,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),t)};function tg(e){return pp(e)&&!mb()}const ng=new WeakSet;function wM(e,t,n={}){const[s,r,a]=gb(e,n),i=o=>{const c=o.currentTarget;if(!tg(o)||ng.has(o))return;uo.add(c),n.stopPropagation&&ng.add(o);const d=t(c,o),u=(h,y)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",p),uo.has(c)&&uo.delete(c),tg(h)&&typeof d=="function"&&d(h,{success:y})},f=h=>{u(h,c===window||c===document||n.useGlobalTarget||yb(c,h.target))},p=h=>{u(h,!1)};window.addEventListener("pointerup",f,r),window.addEventListener("pointercancel",p,r)};return s.forEach(o=>{(n.useGlobalTarget?window:o).addEventListener("pointerdown",i,r),uM(o)&&(o.addEventListener("focus",d=>vM(d,r)),!gM(o)&&!o.hasAttribute("tabindex")&&(o.tabIndex=0))}),a}function hp(e){return bw(e)&&"ownerSVGElement"in e}const fo=new WeakMap;let kn;const xb=(e,t,n)=>(s,r)=>r&&r[0]?r[0][e+"Size"]:hp(s)&&"getBBox"in s?s.getBBox()[t]:s[n],bM=xb("inline","width","offsetWidth"),PM=xb("block","height","offsetHeight");function SM({target:e,borderBoxSize:t}){var n;(n=fo.get(e))==null||n.forEach(s=>{s(e,{get width(){return bM(e,t)},get height(){return PM(e,t)}})})}function kM(e){e.forEach(SM)}function jM(){typeof ResizeObserver>"u"||(kn=new ResizeObserver(kM))}function CM(e,t){kn||jM();const n=hb(e);return n.forEach(s=>{let r=fo.get(s);r||(r=new Set,fo.set(s,r)),r.add(t),kn==null||kn.observe(s)}),()=>{n.forEach(s=>{const r=fo.get(s);r==null||r.delete(t),r!=null&&r.size||kn==null||kn.unobserve(s)})}}const po=new Set;let nr;function EM(){nr=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};po.forEach(t=>t(e))},window.addEventListener("resize",nr)}function NM(e){return po.add(e),nr||EM(),()=>{po.delete(e),!po.size&&typeof nr=="function"&&(window.removeEventListener("resize",nr),nr=void 0)}}function sg(e,t){return typeof e=="function"?NM(e):CM(e,t)}function TM(e){return hp(e)&&e.tagName==="svg"}const AM=[...ub,pe,Tt],RM=e=>AM.find(db(e)),rg=()=>({translate:0,scale:1,origin:0,originPoint:0}),sr=()=>({x:rg(),y:rg()}),ag=()=>({min:0,max:0}),ge=()=>({x:ag(),y:ag()}),MM=new WeakMap;function Il(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Qa(e){return typeof e=="string"||Array.isArray(e)}const mp=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],gp=["initial",...mp];function Ll(e){return Il(e.animate)||gp.some(t=>Qa(e[t]))}function vb(e){return!!(Ll(e)||e.variants)}function DM(e,t,n){for(const s in t){const r=t[s],a=n[s];if(Ee(r))e.addValue(s,r);else if(Ee(a))e.addValue(s,Dr(r,{owner:e}));else if(a!==r)if(e.hasValue(s)){const i=e.getValue(s);i.liveStyle===!0?i.jump(r):i.hasAnimated||i.set(r)}else{const i=e.getStaticValue(s);e.addValue(s,Dr(i!==void 0?i:r,{owner:e}))}}for(const s in n)t[s]===void 0&&e.removeValue(s);return t}const yu={current:null},wb={current:!1},IM=typeof window<"u";function LM(){if(wb.current=!0,!!IM)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>yu.current=e.matches;e.addEventListener("change",t),t()}else yu.current=!1}const ig=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let el={};function bb(e){el=e}function OM(){return el}class zM{scrapeMotionValuesFromProps(t,n,s){return{}}constructor({parent:t,props:n,presenceContext:s,reducedMotionConfig:r,skipAnimations:a,blockInitialAnimation:i,visualState:o},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=op,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 h=Fe.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,ee.render(this.render,!1,!0))};const{latestValues:d,renderState:u}=o;this.latestValues=d,this.baseTarget={...d},this.initialValues=n.initial?{...d}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=s,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=a,this.options=c,this.blockInitialAnimation=!!i,this.isControllingVariants=Ll(n),this.isVariantNode=vb(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...p}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in p){const y=p[h];d[h]!==void 0&&Ee(y)&&y.set(d[h])}}mount(t){var n,s;if(this.hasBeenMounted)for(const r in this.initialValues)(n=this.values.get(r))==null||n.jump(this.initialValues[r]),this.latestValues[r]=this.initialValues[r];this.current=t,MM.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,a)=>this.bindToMotionValue(a,r)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(wb.current||LM(),this.shouldReduceMotion=yu.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(s=this.parent)==null||s.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),ts(this.notifyUpdate),ts(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 s=this.features[n];s&&(s.unmount(),s.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&&nb.has(t)&&this.current instanceof HTMLElement){const{factory:i,keyframes:o,times:c,ease:d,duration:u}=n.accelerate,f=new eb({element:this.current,name:t,keyframes:o,times:c,ease:d,duration:nt(u)}),p=i(f);this.valueSubscriptions.set(t,()=>{p(),f.cancel()});return}const s=Wr.has(t);s&&this.onBindTransform&&this.onBindTransform();const r=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&ee.preRender(this.notifyUpdate),s&&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,()=>{r(),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 el){const n=el[t];if(!n)continue;const{isEnabled:s,Feature:r}=n;if(!this.features[t]&&r&&s(this.props)&&(this.features[t]=new r(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 s=0;s<ig.length;s++){const r=ig[s];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const a="on"+r,i=t[a];i&&(this.propEventSubscriptions[r]=this.on(r,i))}this.prevMotionValues=DM(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 s=this.values.get(t);n!==s&&(s&&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 s=this.values.get(t);return s===void 0&&n!==void 0&&(s=Dr(n===null?void 0:n,{owner:this}),this.addValue(t,s)),s}readValue(t,n){let s=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return s!=null&&(typeof s=="string"&&(ww(s)||Pw(s))?s=parseFloat(s):!RM(s)&&Tt.test(n)&&(s=pb(t,n)),this.setBaseTarget(t,Ee(s)?s.get():s)),Ee(s)?s.get():s}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var a;const{initial:n}=this.props;let s;if(typeof n=="string"||typeof n=="object"){const i=dp(this.props,n,(a=this.presenceContext)==null?void 0:a.custom);i&&(s=i[t])}if(n&&s!==void 0)return s;const r=this.getBaseTargetFromProps(this.props,t);return r!==void 0&&!Ee(r)?r:this.initialValues[t]!==void 0&&s===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Zf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){fp.render(this.render)}}class Pb extends zM{constructor(){super(...arguments),this.KeyframeResolver=dM}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const s=t.style;return s?s[n]:void 0}removeValueFromRenderState(t,{vars:n,style:s}){delete n[t],delete s[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 as{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Sb({top:e,left:t,right:n,bottom:s}){return{x:{min:t,max:n},y:{min:e,max:s}}}function FM({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function _M(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),s=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function Tc(e){return e===void 0||e===1}function xu({scale:e,scaleX:t,scaleY:n}){return!Tc(e)||!Tc(t)||!Tc(n)}function ds(e){return xu(e)||kb(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function kb(e){return og(e.x)||og(e.y)}function og(e){return e&&e!=="0%"}function tl(e,t,n){const s=e-n,r=t*s;return n+r}function lg(e,t,n,s,r){return r!==void 0&&(e=tl(e,r,s)),tl(e,n,s)+t}function vu(e,t=0,n=1,s,r){e.min=lg(e.min,t,n,s,r),e.max=lg(e.max,t,n,s,r)}function jb(e,{x:t,y:n}){vu(e.x,t.translate,t.scale,t.originPoint),vu(e.y,n.translate,n.scale,n.originPoint)}const cg=.999999999999,dg=1.0000000000001;function VM(e,t,n,s=!1){var o;const r=n.length;if(!r)return;t.x=t.y=1;let a,i;for(let c=0;c<r;c++){a=n[c],i=a.projectionDelta;const{visualElement:d}=a.options;d&&d.props.style&&d.props.style.display==="contents"||(s&&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,jb(e,i)),s&&ds(a.latestValues)&&ho(e,a.latestValues,(o=a.layout)==null?void 0:o.layoutBox))}t.x<dg&&t.x>cg&&(t.x=1),t.y<dg&&t.y>cg&&(t.y=1)}function Ht(e,t){e.min+=t,e.max+=t}function ug(e,t,n,s,r=.5){const a=J(e.min,e.max,r);vu(e,t,n,a,s)}function fg(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function ho(e,t,n){const s=n??e;ug(e.x,fg(t.x,s.x),t.scaleX,t.scale,t.originX),ug(e.y,fg(t.y,s.y),t.scaleY,t.scale,t.originY)}function Cb(e,t){return Sb(_M(e.getBoundingClientRect(),t))}function HM(e,t,n){const s=Cb(e,n),{scroll:r}=t;return r&&(Ht(s.x,r.offset.x),Ht(s.y,r.offset.y)),s}const BM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},WM=Br.length;function $M(e,t,n){let s="",r=!0;for(let i=0;i<WM;i++){const o=Br[i],c=e[o];if(c===void 0)continue;let d=!0;if(typeof c=="number")d=c===(o.startsWith("scale")?1:0);else{const u=parseFloat(c);d=o.startsWith("scale")?u===1:u===0}if(!d||n){const u=gu(c,Jo[o]);if(!d){r=!1;const f=BM[o]||o;s+=`${f}(${u}) `}n&&(t[o]=u)}}const a=e.pathRotation;return a&&(r=!1,s+=`rotate(${gu(a,Jo.pathRotation)}) `),s=s.trim(),n?s=n(t,r?"":s):r&&(s="none"),s}function yp(e,t,n){const{style:s,vars:r,transformOrigin:a}=e;let i=!1,o=!1;for(const c in t){const d=t[c];if(Wr.has(c)){i=!0;continue}else if(zw(c)){r[c]=d;continue}else{const u=gu(d,Jo[c]);c.startsWith("origin")?(o=!0,a[c]=u):s[c]=u}}if(t.transform||(i||n?s.transform=$M(t,e.transform,n):s.transform&&(s.transform="none")),o){const{originX:c="50%",originY:d="50%",originZ:u=0}=a;s.transformOrigin=`${c} ${d} ${u}`}}function Eb(e,{style:t,vars:n},s,r){const a=e.style;let i;for(i in t)a[i]=t[i];r==null||r.applyProjectionStyles(a,s);for(i in n)a.setProperty(i,n[i])}function pg(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ra={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(z.test(e))e=parseFloat(e);else return e;const n=pg(e,t.target.x),s=pg(e,t.target.y);return`${n}% ${s}%`}},UM={correct:(e,{treeScale:t,projectionDelta:n})=>{const s=e,r=Tt.parse(e);if(r.length>5)return s;const a=Tt.createTransformer(e),i=typeof r[0]!="number"?1:0,o=n.x.scale*t.x,c=n.y.scale*t.y;r[0+i]/=o,r[1+i]/=c;const d=J(o,c,.5);return typeof r[2+i]=="number"&&(r[2+i]/=d),typeof r[3+i]=="number"&&(r[3+i]/=d),a(r)}},wu={borderRadius:{...ra,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ra,borderTopRightRadius:ra,borderBottomLeftRadius:ra,borderBottomRightRadius:ra,boxShadow:UM};function Nb(e,{layout:t,layoutId:n}){return Wr.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!wu[e]||e==="opacity")}function xp(e,t,n){var i;const s=e.style,r=t==null?void 0:t.style,a={};if(!s)return a;for(const o in s)(Ee(s[o])||r&&Ee(r[o])||Nb(o,e)||((i=n==null?void 0:n.getValue(o))==null?void 0:i.liveStyle)!==void 0)&&(a[o]=s[o]);return a}function qM(e){return window.getComputedStyle(e)}class KM extends Pb{constructor(){super(...arguments),this.type="html",this.renderInstance=Eb}readValueFromInstance(t,n){var s;if(Wr.has(n))return(s=this.projection)!=null&&s.isProjecting?au(n):fR(t,n);{const r=qM(t),a=(zw(n)?r.getPropertyValue(n):r[n])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Cb(t,n)}build(t,n,s){yp(t,n,s.transformTemplate)}scrapeMotionValuesFromProps(t,n,s){return xp(t,n,s)}}const GM={offset:"stroke-dashoffset",array:"stroke-dasharray"},YM={offset:"strokeDashoffset",array:"strokeDasharray"};function QM(e,t,n=1,s=0,r=!0){e.pathLength=1;const a=r?GM:YM;e[a.offset]=`${-s}`,e[a.array]=`${t} ${n}`}const XM=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Tb(e,{attrX:t,attrY:n,attrScale:s,pathLength:r,pathSpacing:a=1,pathOffset:i=0,...o},c,d,u){if(yp(e,o,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:p}=e;f.transform&&(p.transform=f.transform,delete f.transform),(p.transform||f.transformOrigin)&&(p.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),p.transform&&(p.transformBox=(u==null?void 0:u.transformBox)??"fill-box",delete f.transformBox);for(const h of XM)f[h]!==void 0&&(p[h]=f[h],delete f[h]);t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),s!==void 0&&(f.scale=s),r!==void 0&&QM(f,r,a,i,!1)}const Ab=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"]),Rb=e=>typeof e=="string"&&e.toLowerCase()==="svg";function ZM(e,t,n,s){Eb(e,t,void 0,s);for(const r in t.attrs)e.setAttribute(Ab.has(r)?r:up(r),t.attrs[r])}function Mb(e,t,n){const s=xp(e,t,n);for(const r in e)if(Ee(e[r])||Ee(t[r])){const a=Br.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;s[a]=e[r]}return s}class JM extends Pb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ge}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Wr.has(n)){const s=fb(n);return s&&s.default||0}return n=Ab.has(n)?n:up(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,s){return Mb(t,n,s)}build(t,n,s){Tb(t,n,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(t,n,s,r){ZM(t,n,s,r)}mount(t){this.isSVGTag=Rb(t.tagName),super.mount(t)}}const e4=gp.length;function Db(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Db(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<e4;n++){const s=gp[n],r=e.props[s];(Qa(r)||r===!1)&&(t[s]=r)}return t}function Ib(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let s=0;s<n;s++)if(t[s]!==e[s])return!1;return!0}const t4=[...mp].reverse(),n4=mp.length;function s4(e){return t=>Promise.all(t.map(({animation:n,options:s})=>JR(e,n,s)))}function r4(e){let t=s4(e),n=hg(),s=!0,r=!1;const a=d=>(u,f)=>{var h;const p=Cs(e,f,d==="exit"?(h=e.presenceContext)==null?void 0:h.custom:void 0);if(p){const{transition:y,transitionEnd:v,...b}=p;u={...u,...b,...v}}return u};function i(d){t=d(e)}function o(d){const{props:u}=e,f=Db(e.parent)||{},p=[],h=new Set;let y={},v=1/0;for(let g=0;g<n4;g++){const m=t4[g],x=n[m],P=u[m]!==void 0?u[m]:f[m],S=Qa(P),k=m===d?x.isActive:null;k===!1&&(v=g);let j=P===f[m]&&P!==u[m]&&S;if(j&&(s||r)&&e.manuallyAnimateOnMount&&(j=!1),x.protectedKeys={...y},!x.isActive&&k===null||!P&&!x.prevProp||Il(P)||typeof P=="boolean")continue;if(m==="exit"&&x.isActive&&k!==!0){x.prevResolvedValues&&(y={...y,...x.prevResolvedValues});continue}const C=a4(x.prevProp,P);let R=C||m===d&&x.isActive&&!j&&S||g>v&&S,T=!1;const O=Array.isArray(P)?P:[P];let I=O.reduce(a(m),{});k===!1&&(I={});const{prevResolvedValues:B={}}=x,D={...B,...I},W=E=>{R=!0,h.has(E)&&(T=!0,h.delete(E)),x.needsAnimating[E]=!0;const M=e.getValue(E);M&&(M.liveStyle=!1)};for(const E in D){const M=I[E],F=B[E];if(y.hasOwnProperty(E))continue;let H=!1;uu(M)&&uu(F)?H=!Ib(M,F)||C:H=M!==F,H?M!=null?W(E):h.add(E):M!==void 0&&h.has(E)?W(E):x.protectedKeys[E]=!0}x.prevProp=P,x.prevResolvedValues=I,x.isActive&&(y={...y,...I}),(s||r)&&e.blockInitialAnimation&&(R=!1);const _=j&&C;R&&(!_||T)&&p.push(...O.map(E=>{const M={type:m};if(typeof E=="string"&&(s||r)&&!_&&e.manuallyAnimateOnMount&&e.parent){const{parent:F}=e,H=Cs(F,E);if(F.enteringChildren&&H){const{delayChildren:X}=H.transition||{};M.delay=sb(F.enteringChildren,e,X)}}return{animation:E,options:M}}))}if(h.size){const g={};if(typeof u.initial!="boolean"){const m=Cs(e,Array.isArray(u.initial)?u.initial[0]:u.initial);m&&m.transition&&(g.transition=m.transition)}h.forEach(m=>{const x=e.getBaseTarget(m),P=e.getValue(m);P&&(P.liveStyle=!0),g[m]=x??null}),p.push({animation:g})}let b=!!p.length;return s&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(b=!1),s=!1,r=!1,b?t(p):Promise.resolve()}function c(d,u){var p;if(n[d].isActive===u)return Promise.resolve();(p=e.variantChildren)==null||p.forEach(h=>{var y;return(y=h.animationState)==null?void 0:y.setActive(d,u)}),n[d].isActive=u;const f=o(d);for(const h in n)n[h].protectedKeys={};return f}return{animateChanges:o,setActive:c,setAnimateFunction:i,getState:()=>n,reset:()=>{n=hg(),r=!0}}}function a4(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Ib(t,e):!1}function os(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function hg(){return{animate:os(!0),whileInView:os(),whileHover:os(),whileTap:os(),whileDrag:os(),whileFocus:os(),exit:os()}}function bu(e,t){e.min=t.min,e.max=t.max}function vt(e,t){bu(e.x,t.x),bu(e.y,t.y)}function mg(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const Lb=1e-4,i4=1-Lb,o4=1+Lb,Ob=.01,l4=0-Ob,c4=0+Ob;function _e(e){return e.max-e.min}function d4(e,t,n){return Math.abs(e-t)<=n}function gg(e,t,n,s=.5){e.origin=s,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>=i4&&e.scale<=o4||isNaN(e.scale))&&(e.scale=1),(e.translate>=l4&&e.translate<=c4||isNaN(e.translate))&&(e.translate=0)}function Sa(e,t,n,s){gg(e.x,t.x,n.x,s?s.originX:void 0),gg(e.y,t.y,n.y,s?s.originY:void 0)}function yg(e,t,n,s=0){const r=s?J(n.min,n.max,s):n.min;e.min=r+t.min,e.max=e.min+_e(t)}function u4(e,t,n,s){yg(e.x,t.x,n.x,s==null?void 0:s.x),yg(e.y,t.y,n.y,s==null?void 0:s.y)}function xg(e,t,n,s=0){const r=s?J(n.min,n.max,s):n.min;e.min=t.min-r,e.max=e.min+_e(t)}function nl(e,t,n,s){xg(e.x,t.x,n.x,s==null?void 0:s.x),xg(e.y,t.y,n.y,s==null?void 0:s.y)}function vg(e,t,n,s,r){return e-=t,e=tl(e,1/n,s),r!==void 0&&(e=tl(e,1/r,s)),e}function f4(e,t=0,n=1,s=.5,r,a=e,i=e){if(Gt.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,s);e===a&&(o-=t),e.min=vg(e.min,t,n,o,r),e.max=vg(e.max,t,n,o,r)}function wg(e,t,[n,s,r],a,i){f4(e,t[n],t[s],t[r],t.scale,a,i)}const p4=["x","scaleX","originX"],h4=["y","scaleY","originY"];function bg(e,t,n,s){wg(e.x,t,p4,n?n.x:void 0,s?s.x:void 0),wg(e.y,t,h4,n?n.y:void 0,s?s.y:void 0)}function Pg(e){return e.translate===0&&e.scale===1}function zb(e){return Pg(e.x)&&Pg(e.y)}function Sg(e,t){return e.min===t.min&&e.max===t.max}function m4(e,t){return Sg(e.x,t.x)&&Sg(e.y,t.y)}function kg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Fb(e,t){return kg(e.x,t.x)&&kg(e.y,t.y)}function jg(e){return _e(e.x)/_e(e.y)}function Cg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function zt(e){return[e("x"),e("y")]}function g4(e,t,n){let s="";const r=e.x.translate/t.x,a=e.y.translate/t.y,i=(n==null?void 0:n.z)||0;if((r||a||i)&&(s=`translate3d(${r}px, ${a}px, ${i}px) `),(t.x!==1||t.y!==1)&&(s+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:d,rotate:u,pathRotation:f,rotateX:p,rotateY:h,skewX:y,skewY:v}=n;d&&(s=`perspective(${d}px) ${s}`),u&&(s+=`rotate(${u}deg) `),f&&(s+=`rotate(${f}deg) `),p&&(s+=`rotateX(${p}deg) `),h&&(s+=`rotateY(${h}deg) `),y&&(s+=`skewX(${y}deg) `),v&&(s+=`skewY(${v}deg) `)}const o=e.x.scale*t.x,c=e.y.scale*t.y;return(o!==1||c!==1)&&(s+=`scale(${o}, ${c})`),s||"none"}const _b=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],y4=_b.length,Eg=e=>typeof e=="string"?parseFloat(e):e,Ng=e=>typeof e=="number"||z.test(e);function x4(e,t,n,s,r,a){r?(e.opacity=J(0,n.opacity??1,v4(s)),e.opacityExit=J(t.opacity??1,0,w4(s))):a&&(e.opacity=J(t.opacity??1,n.opacity??1,s));for(let i=0;i<y4;i++){const o=_b[i];let c=Tg(t,o),d=Tg(n,o);if(c===void 0&&d===void 0)continue;c||(c=0),d||(d=0),c===0||d===0||Ng(c)===Ng(d)?(e[o]=Math.max(J(Eg(c),Eg(d),s),0),(Gt.test(d)||Gt.test(c))&&(e[o]+="%")):e[o]=d}(t.rotate||n.rotate)&&(e.rotate=J(t.rotate||0,n.rotate||0,s))}function Tg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const v4=Vb(0,.5,Rw),w4=Vb(.5,.95,ht);function Vb(e,t,n){return s=>s<e?0:s>t?1:n(Ga(e,t,s))}function b4(e,t,n){const s=Ee(e)?e:Dr(e);return s.start(cp("",s,t,n)),s.animation}function Xa(e,t,n,s={passive:!0}){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n)}const P4=(e,t)=>e.depth-t.depth;class S4{constructor(){this.children=[],this.isDirty=!1}add(t){Qf(this.children,t),this.isDirty=!0}remove(t){Go(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(P4),this.isDirty=!1,this.children.forEach(t)}}function k4(e,t){const n=Fe.now(),s=({timestamp:r})=>{const a=r-n;a>=t&&(ts(s),e(a-t))};return ee.setup(s,!0),()=>ts(s)}function mo(e){return Ee(e)?e.get():e}class j4{constructor(){this.members=[]}add(t){Qf(this.members,t);for(let n=this.members.length-1;n>=0;n--){const s=this.members[n];if(s===t||s===this.lead||s===this.prevLead)continue;const r=s.instance;(!r||r.isConnected===!1)&&!s.snapshot&&(Go(this.members,s),s.unmount())}t.scheduleRender()}remove(t){if(Go(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 s=this.members.indexOf(t)-1;s>=0;s--){const r=this.members[s];if(r.isPresent!==!1&&((n=r.instance)==null?void 0:n.isConnected)!==!1)return this.promote(r),!0}return!1}promote(t,n){var r;const s=this.lead;if(t!==s&&(this.prevLead=s,this.lead=t,t.show(),s)){s.updateSnapshot(),t.scheduleRender();const{layoutDependency:a}=s.options,{layoutDependency:i}=t.options;(a===void 0||a!==i)&&(t.resumeFrom=s,n&&(s.preserveOpacity=!0),s.snapshot&&(t.snapshot=s.snapshot,t.snapshot.latestValues=s.animationValues||s.latestValues),(r=t.root)!=null&&r.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,s,r,a,i;(s=(n=t.options).onExitComplete)==null||s.call(n),(i=(r=t.resumingFrom)==null?void 0:(a=r.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 go={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ac=["","X","Y","Z"],C4=1e3;let E4=0;function Rc(e,t,n,s){const{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),s&&(s[e]=0))}function Hb(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=lb(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:r,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ee,!(r||a))}const{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&Hb(s)}function Bb({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:s,resetTransform:r}){return class{constructor(i={},o=t==null?void 0:t()){this.id=E4++,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(A4),this.nodes.forEach(O4),this.nodes.forEach(z4),this.nodes.forEach(R4)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=o?o.root||o:this,this.path=o?[...o.path,o]:[],this.parent=o,this.depth=o?o.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new S4)}addEventListener(i,o){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new Zf),this.eventHandlers.get(i).add(o)}notifyListeners(i,...o){const c=this.eventHandlers.get(i);c&&c.notify(...o)}hasListeners(i){return this.eventHandlers.has(i)}mount(i){if(this.instance)return;this.isSVG=hp(i)&&!TM(i),this.instance=i;const{layoutId:o,layout:c,visualElement:d}=this.options;if(d&&!d.current&&d.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||o)&&(this.isLayoutDirty=!0),e){let u,f=0;const p=()=>this.root.updateBlockedByResize=!1;ee.read(()=>{f=window.innerWidth}),e(i,()=>{const h=window.innerWidth;h!==f&&(f=h,this.root.updateBlockedByResize=!0,u&&u(),u=k4(p,250),go.hasAnimatedSinceResize&&(go.hasAnimatedSinceResize=!1,this.nodes.forEach(Mg)))})}o&&this.root.registerSharedNode(o,this),this.options.animate!==!1&&d&&(o||c)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:f,hasRelativeLayoutChanged:p,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||d.getDefaultTransition()||B4,{onLayoutAnimationStart:v,onLayoutAnimationComplete:b}=d.getProps(),g=!this.targetLayout||!Fb(this.targetLayout,h),m=!f&&p;if(this.options.layoutRoot||this.resumeFrom||m||f&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const x={...lp(y,"layout"),onPlay:v,onComplete:b};(d.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x),this.setAnimationOrigin(u,m,x.path)}else f||Mg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}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(),ts(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(F4),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&&Hb(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const f=this.path[u];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:c}=this.options;if(o===void 0&&!c)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const c=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),c&&this.nodes.forEach(D4),this.nodes.forEach(Ag);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Rg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(I4),this.nodes.forEach(L4),this.nodes.forEach(N4),this.nodes.forEach(T4)):this.nodes.forEach(Rg),this.clearAllSnapshots();const o=Fe.now();Ce.delta=Yt(0,1e3/60,o-Ce.timestamp),Ce.timestamp=o,Ce.isProcessing=!0,Pc.update.process(Ce),Pc.preRender.process(Ce),Pc.render.process(Ce),Ce.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,fp.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(M4),this.sharedNodes.forEach(_4)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ee.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ee.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!_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 c=0;c<this.path.length;c++)this.path[c].updateScroll();const i=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=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 c=s(this.instance);this.scroll={animationId:this.root.animationId,phase:i,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!r)return;const i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,o=this.projectionDelta&&!zb(this.projectionDelta),c=this.getTransformTemplate(),d=c?c(this.latestValues,""):void 0,u=d!==this.prevTransformTemplateValue;i&&this.instance&&(o||ds(this.latestValues)||u)&&(r(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const o=this.measurePageBox();let c=this.removeElementScroll(o);return i&&(c=this.removeTransform(c)),W4(c),{animationId:this.root.animationId,measuredBox:o,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var d;const{visualElement:i}=this.options;if(!i)return ge();const o=i.measureViewportBox();if(!(((d=this.scroll)==null?void 0:d.wasRoot)||this.path.some($4))){const{scroll:u}=this.root;u&&(Ht(o.x,u.offset.x),Ht(o.y,u.offset.y))}return o}removeElementScroll(i){var c;const o=ge();if(vt(o,i),(c=this.scroll)!=null&&c.wasRoot)return o;for(let d=0;d<this.path.length;d++){const u=this.path[d],{scroll:f,options:p}=u;u!==this.root&&f&&p.layoutScroll&&(f.wasRoot&&vt(o,i),Ht(o.x,f.offset.x),Ht(o.y,f.offset.y))}return o}applyTransform(i,o=!1,c){var u,f;const d=c||ge();vt(d,i);for(let p=0;p<this.path.length;p++){const h=this.path[p];!o&&h.options.layoutScroll&&h.scroll&&h!==h.root&&(Ht(d.x,-h.scroll.offset.x),Ht(d.y,-h.scroll.offset.y)),ds(h.latestValues)&&ho(d,h.latestValues,(u=h.layout)==null?void 0:u.layoutBox)}return ds(this.latestValues)&&ho(d,this.latestValues,(f=this.layout)==null?void 0:f.layoutBox),d}removeTransform(i){var c;const o=ge();vt(o,i);for(let d=0;d<this.path.length;d++){const u=this.path[d];if(!ds(u.latestValues))continue;let f;u.instance&&(xu(u.latestValues)&&u.updateSnapshot(),f=ge(),vt(f,u.measurePageBox())),bg(o,u.latestValues,(c=u.snapshot)==null?void 0:c.layoutBox,f)}return ds(this.latestValues)&&bg(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!==Ce.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){var h;const o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==o;if(!(i||c&&this.isSharedProjectionDirty||this.isProjectionDirty||(h=this.parent)!=null&&h.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:f}=this.options;if(!this.layout||!(u||f))return;this.resolvedRelativeTargetAt=Ce.timestamp;const p=this.getClosestProjectingParent();p&&this.linkedParentVersion!==p.layoutVersion&&!p.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&p&&p.layout?this.createRelativeTarget(p,this.layout.layoutBox,p.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ge(),this.targetWithTransforms=ge()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),u4(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):vt(this.target,this.layout.layoutBox),jb(this.target,this.targetDelta)):vt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?this.createRelativeTarget(p,this.target,p.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||xu(this.parent.latestValues)||kb(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(i,o,c){this.relativeParent=i,this.linkedParentVersion=i.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ge(),this.relativeTargetOrigin=ge(),nl(this.relativeTargetOrigin,o,c,this.options.layoutAnchor||void 0),vt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var y;const i=this.getLead(),o=!!this.resumingFrom||this!==i;let c=!0;if((this.isProjectionDirty||(y=this.parent)!=null&&y.isProjectionDirty)&&(c=!1),o&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Ce.timestamp&&(c=!1),c)return;const{layout:d,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(d||u))return;vt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,p=this.treeScale.y;VM(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:h}=i;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(mg(this.prevProjectionDelta.x,this.projectionDelta.x),mg(this.prevProjectionDelta.y,this.projectionDelta.y)),Sa(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==p||!Cg(this.projectionDelta.x,this.prevProjectionDelta.x)||!Cg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){var o;if((o=this.options.visualElement)==null||o.scheduleRender(),i){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=sr(),this.projectionDelta=sr(),this.projectionDeltaWithTransform=sr()}setAnimationOrigin(i,o=!1,c){const d=this.snapshot,u=d?d.latestValues:{},f={...this.latestValues},p=sr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!o;const h=ge(),y=d?d.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(H4));this.animationProgress=0;let P;const S=c==null?void 0:c.interpolateProjection(i);this.mixTargetDelta=k=>{const j=k/1e3,C=S==null?void 0:S(j);C?(p.x.translate=C.x,p.x.scale=J(i.x.scale,1,j),p.x.origin=i.x.origin,p.x.originPoint=i.x.originPoint,p.y.translate=C.y,p.y.scale=J(i.y.scale,1,j),p.y.origin=i.y.origin,p.y.originPoint=i.y.originPoint):(Dg(p.x,i.x,j),Dg(p.y,i.y,j)),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(nl(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),V4(this.relativeTarget,this.relativeTargetOrigin,h,j),P&&m4(this.relativeTarget,P)&&(this.isProjectionDirty=!1),P||(P=ge()),vt(P,this.relativeTarget)),b&&(this.animationValues=f,x4(f,u,this.latestValues,j,x,m)),C&&C.rotate!==void 0&&(this.animationValues||(this.animationValues=f),this.animationValues.pathRotation=C.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=j},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){var o,c,d;this.notifyListeners("animationStart"),(o=this.currentAnimation)==null||o.stop(),(d=(c=this.resumingFrom)==null?void 0:c.currentAnimation)==null||d.stop(),this.pendingAnimation&&(ts(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ee.update(()=>{go.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Dr(0)),this.motionValue.jump(0,!1),this.currentAnimation=b4(this.motionValue,[0,1e3],{...i,velocity:0,isSync:!0,onUpdate:u=>{this.mixTargetDelta(u),i.onUpdate&&i.onUpdate(u)},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(C4),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:o,target:c,layout:d,latestValues:u}=i;if(!(!o||!c||!d)){if(this!==i&&this.layout&&d&&Wb(this.options.animationType,this.layout.layoutBox,d.layoutBox)){c=this.target||ge();const f=_e(this.layout.layoutBox.x);c.x.min=i.target.x.min,c.x.max=c.x.min+f;const p=_e(this.layout.layoutBox.y);c.y.min=i.target.y.min,c.y.max=c.y.min+p}vt(o,c),ho(o,u),Sa(this.projectionDeltaWithTransform,this.layoutCorrected,o,u)}}registerSharedNode(i,o){this.sharedNodes.has(i)||this.sharedNodes.set(i,new j4),this.sharedNodes.get(i).add(o);const d=o.options.initialPromotionConfig;o.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(o):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){var o;const{layoutId:i}=this.options;return i?((o=this.getStack())==null?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:i}=this.options;return i?(o=this.getStack())==null?void 0:o.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:o,preserveFollowOpacity:c}={}){const d=this.getStack();d&&d.promote(this,c),i&&(this.projectionDelta=void 0,this.needsReset=!0),o&&this.setOptions({transition:o})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetSkewAndRotation(){const{visualElement:i}=this.options;if(!i)return;let o=!1;const{latestValues:c}=i;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(o=!0),!o)return;const d={};c.z&&Rc("z",i,d,this.animationValues);for(let u=0;u<Ac.length;u++)Rc(`rotate${Ac[u]}`,i,d,this.animationValues),Rc(`skew${Ac[u]}`,i,d,this.animationValues);i.render();for(const u in d)i.setStaticValue(u,d[u]),this.animationValues&&(this.animationValues[u]=d[u]);i.scheduleRender()}applyProjectionStyles(i,o){if(!this.instance||this.isSVG)return;if(!this.isVisible){i.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,i.visibility="",i.opacity="",i.pointerEvents=mo(o==null?void 0:o.pointerEvents)||"",i.transform=c?c(this.latestValues,""):"none";return}const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){this.options.layoutId&&(i.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,i.pointerEvents=mo(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!ds(this.latestValues)&&(i.transform=c?c({},""):"none",this.hasProjected=!1);return}i.visibility="";const u=d.animationValues||d.latestValues;this.applyTransformsToTarget();let f=g4(this.projectionDeltaWithTransform,this.treeScale,u);c&&(f=c(u,f)),i.transform=f;const{x:p,y:h}=this.projectionDelta;i.transformOrigin=`${p.origin*100}% ${h.origin*100}% 0`,d.animationValues?i.opacity=d===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:i.opacity=d===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const y in wu){if(u[y]===void 0)continue;const{correct:v,applyTo:b,isCSSVariable:g}=wu[y],m=f==="none"?u[y]:v(u[y],d);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=d===this?mo(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(Ag),this.root.sharedNodes.clear()}}}function N4(e){e.updateLayout()}function T4(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:s,measuredBox:r}=e.layout,{animationType:a}=e.options,i=t.source!==e.layout.source;if(a==="size")zt(f=>{const p=i?t.measuredBox[f]:t.layoutBox[f],h=_e(p);p.min=s[f].min,p.max=p.min+h});else if(a==="x"||a==="y"){const f=a==="x"?"y":"x";bu(i?t.measuredBox[f]:t.layoutBox[f],s[f])}else Wb(a,t.layoutBox,s)&&zt(f=>{const p=i?t.measuredBox[f]:t.layoutBox[f],h=_e(s[f]);p.max=p.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+h)});const o=sr();Sa(o,s,t.layoutBox);const c=sr();i?Sa(c,e.applyTransform(r,!0),t.measuredBox):Sa(c,s,t.layoutBox);const d=!zb(o);let u=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:p,layout:h}=f;if(p&&h){const y=e.options.layoutAnchor||void 0,v=ge();nl(v,t.layoutBox,p.layoutBox,y);const b=ge();nl(b,s,h.layoutBox,y),Fb(v,b)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=b,e.relativeTargetOrigin=v,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:s,snapshot:t,delta:c,layoutDelta:o,hasLayoutChanged:d,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:s}=e.options;s&&s()}e.options.transition=void 0}function A4(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 R4(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function M4(e){e.clearSnapshot()}function Ag(e){e.clearMeasurements()}function D4(e){e.isLayoutDirty=!0,e.updateLayout()}function Rg(e){e.isLayoutDirty=!1}function I4(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function L4(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Mg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function O4(e){e.resolveTargetDelta()}function z4(e){e.calcProjection()}function F4(e){e.resetSkewAndRotation()}function _4(e){e.removeLeadSnapshot()}function Dg(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 Ig(e,t,n,s){e.min=J(t.min,n.min,s),e.max=J(t.max,n.max,s)}function V4(e,t,n,s){Ig(e.x,t.x,n.x,s),Ig(e.y,t.y,n.y,s)}function H4(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const B4={duration:.45,ease:[.4,0,.1,1]},Lg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Og=Lg("applewebkit/")&&!Lg("chrome/")?Math.round:ht;function zg(e){e.min=Og(e.min),e.max=Og(e.max)}function W4(e){zg(e.x),zg(e.y)}function Wb(e,t,n){return e==="position"||e==="preserve-aspect"&&!d4(jg(t),jg(n),.2)}function $4(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const U4=Bb({attachResizeListener:(e,t)=>Xa(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}),Mc={current:void 0},$b=Bb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Mc.current){const e=new U4({});e.mount(window),e.setOptions({layoutScroll:!0}),Mc.current=e}return Mc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Ub=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function q4(e=!0){const t=w.useContext(Yf);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:s,register:r}=t,a=w.useId();w.useEffect(()=>{if(e)return r(a)},[e]);const i=w.useCallback(()=>e&&s&&s(a),[a,s,e]);return!n&&s?[!1,i]:[!0]}const qb=w.createContext({strict:!1}),Fg={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 _g=!1;function K4(){if(_g)return;const e={};for(const t in Fg)e[t]={isEnabled:n=>Fg[t].some(s=>!!n[s])};bb(e),_g=!0}function Kb(){return K4(),OM()}function G4(e){const t=Kb();for(const n in e)t[n]={...t[n],...e[n]};bb(t)}const Y4=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 sl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Y4.has(e)}let Gb=e=>!sl(e);function Q4(e){typeof e=="function"&&(Gb=t=>t.startsWith("on")?!sl(t):e(t))}try{Q4(require("@emotion/is-prop-valid").default)}catch{}function X4(e,t,n){const s={};for(const r in e)r==="values"&&typeof e.values=="object"||Ee(e[r])||(Gb(r)||n===!0&&sl(r)||!t&&!sl(r)||e.draggable&&r.startsWith("onDrag"))&&(s[r]=e[r]);return s}const Ol=w.createContext({});function Z4(e,t){if(Ll(e)){const{initial:n,animate:s}=e;return{initial:n===!1||Qa(n)?n:void 0,animate:Qa(s)?s:void 0}}return e.inherit!==!1?t:{}}function J4(e){const{initial:t,animate:n}=Z4(e,w.useContext(Ol));return w.useMemo(()=>({initial:t,animate:n}),[Vg(t),Vg(n)])}function Vg(e){return Array.isArray(e)?e.join(" "):e}const vp=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Yb(e,t,n){for(const s in t)!Ee(t[s])&&!Nb(s,n)&&(e[s]=t[s])}function eD({transformTemplate:e},t){return w.useMemo(()=>{const n=vp();return yp(n,t,e),Object.assign({},n.vars,n.style)},[t])}function tD(e,t){const n=e.style||{},s={};return Yb(s,n,e),Object.assign(s,eD(e,t)),s}function nD(e,t){const n={},s=tD(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.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=s,n}const Qb=()=>({...vp(),attrs:{}});function sD(e,t,n,s){const r=w.useMemo(()=>{const a=Qb();return Tb(a,t,Rb(s),e.transformTemplate,e.style),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};Yb(a,e.style,e),r.style={...a,...r.style}}return r}const rD=["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 wp(e){return typeof e!="string"||e.includes("-")?!1:!!(rD.indexOf(e)>-1||/[A-Z]/u.test(e))}function aD(e,t,n,{latestValues:s},r,a=!1,i){const c=(i??wp(e)?sD:nD)(t,s,r,e),d=X4(t,typeof e=="string",a),u=e!==w.Fragment?{...d,...c,ref:n}:{},{children:f}=t,p=w.useMemo(()=>Ee(f)?f.get():f,[f]);return w.createElement(e,{...u,children:p})}function iD({scrapeMotionValuesFromProps:e,createRenderState:t},n,s,r){return{latestValues:oD(n,s,r,e),renderState:t()}}function oD(e,t,n,s){const r={},a=s(e,{});for(const p in a)r[p]=mo(a[p]);let{initial:i,animate:o}=e;const c=Ll(e),d=vb(e);t&&d&&!c&&e.inherit!==!1&&(i===void 0&&(i=t.initial),o===void 0&&(o=t.animate));let u=n?n.initial===!1:!1;u=u||i===!1;const f=u?o:i;if(f&&typeof f!="boolean"&&!Il(f)){const p=Array.isArray(f)?f:[f];for(let h=0;h<p.length;h++){const y=dp(e,p[h]);if(y){const{transitionEnd:v,transition:b,...g}=y;for(const m in g){let x=g[m];if(Array.isArray(x)){const P=u?x.length-1:0;x=x[P]}x!==null&&(r[m]=x)}for(const m in v)r[m]=v[m]}}}return r}const Xb=e=>(t,n)=>{const s=w.useContext(Ol),r=w.useContext(Yf),a=()=>iD(e,t,s,r);return n?a():aA(a)},lD=Xb({scrapeMotionValuesFromProps:xp,createRenderState:vp}),cD=Xb({scrapeMotionValuesFromProps:Mb,createRenderState:Qb}),dD=Symbol.for("motionComponentSymbol");function uD(e,t,n){const s=w.useRef(n);w.useInsertionEffect(()=>{s.current=n});const r=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=s.current;if(typeof i=="function")if(a){const c=i(a);typeof c=="function"&&(r.current=c)}else r.current?(r.current(),r.current=null):i(a);else i&&(i.current=a)},[t])}const Zb=w.createContext({});function Bs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function fD(e,t,n,s,r,a){var x,P;const{visualElement:i}=w.useContext(Ol),o=w.useContext(qb),c=w.useContext(Yf),d=w.useContext(Ub),u=d.reducedMotion,f=d.skipAnimations,p=w.useRef(null),h=w.useRef(!1);s=s||o.renderer,!p.current&&s&&(p.current=s(e,{visualState:t,parent:i,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:f,isSVG:a}),h.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));const y=p.current,v=w.useContext(Zb);y&&!y.projection&&r&&(y.type==="html"||y.type==="svg")&&pD(p.current,n,r,v);const b=w.useRef(!1);w.useInsertionEffect(()=>{y&&b.current&&y.update(n,c)});const g=n[ob],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 oA(()=>{h.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 pD(e,t,n,s){const{layoutId:r,layout:a,drag:i,dragConstraints:o,layoutScroll:c,layoutRoot:d,layoutAnchor:u,layoutCrossfade:f}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Jb(e.parent)),e.projection.setOptions({layoutId:r,layout:a,alwaysMeasureLayout:!!i||o&&Bs(o),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:s,crossfade:f,layoutScroll:c,layoutRoot:d,layoutAnchor:u})}function Jb(e){if(e)return e.options.allowProjection!==!1?e.projection:Jb(e.parent)}function Dc(e,{forwardMotionProps:t=!1,type:n}={},s,r){s&&G4(s);const a=n?n==="svg":wp(e),i=a?cD:lD;function o(d,u){let f;const p={...w.useContext(Ub),...d,layoutId:hD(d)},{isStatic:h}=p,y=J4(d),v=i(d,h);if(!h&&typeof window<"u"){mD();const b=gD(p);f=b.MeasureLayout,y.visualElement=fD(e,v,p,r,b.ProjectionNode,a)}return l.jsxs(Ol.Provider,{value:y,children:[f&&y.visualElement?l.jsx(f,{visualElement:y.visualElement,...p}):null,aD(e,d,uD(v,y.visualElement,u),v,h,t,a)]})}o.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=w.forwardRef(o);return c[dD]=e,c}function hD({layoutId:e}){const t=w.useContext(vw).id;return t&&e!==void 0?t+"-"+e:e}function mD(e,t){w.useContext(qb).strict}function gD(e){const t=Kb(),{drag:n,layout:s}=t;if(!n&&!s)return{};const r={...n,...s};return{MeasureLayout:n!=null&&n.isEnabled(e)||s!=null&&s.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function yD(e,t){if(typeof Proxy>"u")return Dc;const n=new Map,s=(a,i)=>Dc(a,i,e,t),r=(a,i)=>s(a,i);return new Proxy(r,{get:(a,i)=>i==="create"?s:(n.has(i)||n.set(i,Dc(i,void 0,e,t)),n.get(i))})}const xD=(e,t)=>t.isSVG??wp(e)?new JM(t):new KM(t,{allowProjection:e!==w.Fragment});class vD extends as{constructor(t){super(t),t.animationState||(t.animationState=r4(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Il(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 wD=0;class bD extends as{constructor(){super(...arguments),this.id=wD++,this.isExitComplete=!1}update(){var a;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;if(t&&s===!1){if(this.isExitComplete){const{initial:i,custom:o}=this.node.getProps();if(typeof i=="string"||typeof i=="object"&&i!==null&&!Array.isArray(i)){const c=Cs(this.node,i,o);if(c){const{transition:d,transitionEnd:u,...f}=c;for(const p in f)(a=this.node.getValue(p))==null||a.jump(f[p])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const r=this.node.animationState.setActive("exit",!t);n&&!t&&r.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const PD={animation:{Feature:vD},exit:{Feature:bD}};function mi(e){return{point:{x:e.pageX,y:e.pageY}}}const SD=e=>t=>pp(t)&&e(t,mi(t));function ka(e,t,n,s){return Xa(e,t,SD(n),s)}const e1=({current:e})=>e?e.ownerDocument.defaultView:null,Hg=(e,t)=>Math.abs(e-t);function kD(e,t){const n=Hg(e.x,t.x),s=Hg(e.y,t.y);return Math.sqrt(n**2+s**2)}const Bg=new Set(["auto","scroll"]);class t1{constructor(t,n,{transformPagePoint:s,contextWindow:r=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=h=>{this.handleScroll(h.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Wi(this.lastRawMoveEventInfo,this.transformPagePoint));const h=Ic(this.lastMoveEventInfo,this.history),y=this.startEvent!==null,v=kD(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!y&&!v)return;const{point:b}=h,{timestamp:g}=Ce;this.history.push({...b,timestamp:g});const{onStart:m,onMove:x}=this.handlers;y||(m&&m(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,h)},this.handlePointerMove=(h,y)=>{this.lastMoveEvent=h,this.lastRawMoveEventInfo=y,this.lastMoveEventInfo=Wi(y,this.transformPagePoint),ee.update(this.updatePoint,!0)},this.handlePointerUp=(h,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=Ic(h.type==="pointercancel"?this.lastMoveEventInfo:Wi(y,this.transformPagePoint),this.history);this.startEvent&&v&&v(h,m),b&&b(h,m)},!pp(t))return;this.dragSnapToOrigin=a,this.handlers=n,this.transformPagePoint=s,this.distanceThreshold=i,this.contextWindow=r||window;const c=mi(t),d=Wi(c,this.transformPagePoint),{point:u}=d,{timestamp:f}=Ce;this.history=[{...u,timestamp:f}];const{onSessionStart:p}=n;p&&p(t,Ic(d,this.history)),this.removeListeners=fi(ka(this.contextWindow,"pointermove",this.handlePointerMove),ka(this.contextWindow,"pointerup",this.handlePointerUp),ka(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let n=t.parentElement;for(;n;){const s=getComputedStyle(n);(Bg.has(s.overflowX)||Bg.has(s.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 s=t===window,r=s?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},a={x:r.x-n.x,y:r.y-n.y};a.x===0&&a.y===0||(s?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,r),ee.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ts(this.updatePoint)}}function Wi(e,t){return t?{point:t(e.point)}:e}function Wg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ic({point:e},t){return{point:e,delta:Wg(e,n1(t)),offset:Wg(e,jD(t)),velocity:CD(t,.1)}}function jD(e){return e[0]}function n1(e){return e[e.length-1]}function CD(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,s=null;const r=n1(e);for(;n>=0&&(s=e[n],!(r.timestamp-s.timestamp>nt(t)));)n--;if(!s)return{x:0,y:0};s===e[0]&&e.length>2&&r.timestamp-s.timestamp>nt(t)*2&&(s=e[1]);const a=ft(r.timestamp-s.timestamp);if(a===0)return{x:0,y:0};const i={x:(r.x-s.x)/a,y:(r.y-s.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function ED(e,{min:t,max:n},s){return t!==void 0&&e<t?e=s?J(t,e,s.min):Math.max(e,t):n!==void 0&&e>n&&(e=s?J(n,e,s.max):Math.min(e,n)),e}function $g(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 ND(e,{top:t,left:n,bottom:s,right:r}){return{x:$g(e.x,n,r),y:$g(e.y,t,s)}}function Ug(e,t){let n=t.min-e.min,s=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,s]=[s,n]),{min:n,max:s}}function TD(e,t){return{x:Ug(e.x,t.x),y:Ug(e.y,t.y)}}function AD(e,t){let n=.5;const s=_e(e),r=_e(t);return r>s?n=Ga(t.min,t.max-s,e.min):s>r&&(n=Ga(e.min,e.max-r,t.min)),Yt(0,1,n)}function RD(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 Pu=.35;function MD(e=Pu){return e===!1?e=0:e===!0&&(e=Pu),{x:qg(e,"left","right"),y:qg(e,"top","bottom")}}function qg(e,t,n){return{min:Kg(e,t),max:Kg(e,n)}}function Kg(e,t){return typeof e=="number"?e:e[t]||0}const DD=new WeakMap;class ID{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:s}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const a=f=>{n&&this.snapToCursor(mi(f).point),this.stopAnimation()},i=(f,p)=>{const{drag:h,dragPropagation:y,onDragStart:v}=this.getProps();if(h&&!y&&(this.openDragLock&&this.openDragLock(),this.openDragLock=fM(h),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=p,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),zt(g=>{let m=this.getAxisMotionValue(g).get()||0;if(Gt.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&&ee.update(()=>v(f,p),!1,!0),fu(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},o=(f,p)=>{this.latestPointerEvent=f,this.latestPanInfo=p;const{dragPropagation:h,dragDirectionLock:y,onDirectionLock:v,onDrag:b}=this.getProps();if(!h&&!this.openDragLock)return;const{offset:g}=p;if(y&&this.currentDirection===null){this.currentDirection=OD(g),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",p.point,g),this.updateAxis("y",p.point,g),this.visualElement.render(),b&&ee.update(()=>b(f,p),!1,!0)},c=(f,p)=>{this.latestPointerEvent=f,this.latestPanInfo=p,this.stop(f,p),this.latestPointerEvent=null,this.latestPanInfo=null},d=()=>{const{dragSnapToOrigin:f}=this.getProps();(f||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new t1(t,{onSessionStart:a,onStart:i,onMove:o,onSessionEnd:c,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:s,contextWindow:e1(this.visualElement),element:this.visualElement.current})}stop(t,n){const s=t||this.latestPointerEvent,r=n||this.latestPanInfo,a=this.isDragging;if(this.cancel(),!a||!r||!s)return;const{velocity:i}=r;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&ee.postRender(()=>o(s,r))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:s}=this.getProps();!s&&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,s){const{drag:r}=this.getProps();if(!s||!$i(t,r,this.currentDirection))return;const a=this.getAxisMotionValue(t);let i=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(i=ED(i,this.constraints[t],this.elastic[t])),a.set(i)}resolveConstraints(){var a;const{dragConstraints:t,dragElastic:n}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(a=this.visualElement.projection)==null?void 0:a.layout,r=this.constraints;t&&Bs(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&s?this.constraints=ND(s.layoutBox,t):this.constraints=!1,this.elastic=MD(n),r!==this.constraints&&!Bs(t)&&s&&this.constraints&&!this.hasMutatedConstraints&&zt(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=RD(s.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Bs(t))return!1;const s=t.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());const a=HM(s,r.root,this.visualElement.getTransformPagePoint());let i=TD(r.layout.layoutBox,a);if(n){const o=n(FM(i));this.hasMutatedConstraints=!!o,o&&(i=Sb(o))}return i}startAnimation(t){const{drag:n,dragMomentum:s,dragElastic:r,dragTransition:a,dragSnapToOrigin:i,onDragTransitionEnd:o}=this.getProps(),c=this.constraints||{},d=zt(u=>{if(!$i(u,n,this.currentDirection))return;let f=c&&c[u]||{};(i===!0||i===u)&&(f={min:0,max:0});const p=r?200:1e6,h=r?40:1e7,y={type:"inertia",velocity:s?t[u]:0,bounceStiffness:p,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...a,...f};return this.startAxisValueAnimation(u,y)});return Promise.all(d).then(o)}startAxisValueAnimation(t,n){const s=this.getAxisMotionValue(t);return fu(this.visualElement,t),s.start(cp(t,s,0,n,this.visualElement,!1))}stopAnimation(){zt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps()[n];return r||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){zt(n=>{const{drag:s}=this.getProps();if(!$i(n,s,this.currentDirection))return;const{projection:r}=this.visualElement,a=this.getAxisMotionValue(n);if(r&&r.layout){const{min:i,max:o}=r.layout.layoutBox[n],c=a.get()||0;a.set(t[n]-J(i,o,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!Bs(n)||!s||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};zt(i=>{const o=this.getAxisMotionValue(i);if(o&&this.constraints!==!1){const c=o.get();r[i]=AD({min:c,max:c},this.constraints[i])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.constraints=!1,this.resolveConstraints(),zt(i=>{if(!$i(i,t,null))return;const o=this.getAxisMotionValue(i),{min:c,max:d}=this.constraints[i];o.set(J(c,d,r[i]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;DD.set(this.visualElement,this);const t=this.visualElement.current,n=ka(t,"pointerdown",d=>{const{drag:u,dragListener:f=!0}=this.getProps(),p=d.target,h=p!==t&&xM(p);u&&f&&!h&&this.start(d)});let s;const r=()=>{const{dragConstraints:d}=this.getProps();Bs(d)&&d.current&&(this.constraints=this.resolveRefConstraints(),s||(s=LD(t,d.current,()=>this.scalePositionWithinConstraints())))},{projection:a}=this.visualElement,i=a.addEventListener("measure",r);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),ee.read(r);const o=Xa(window,"resize",()=>this.scalePositionWithinConstraints()),c=a.addEventListener("didUpdate",({delta:d,hasLayoutChanged:u})=>{this.isDragging&&u&&(zt(f=>{const p=this.getAxisMotionValue(f);p&&(this.originPoint[f]+=d[f].translate,p.set(p.get()+d[f].translate))}),this.visualElement.render())});return()=>{o(),n(),i(),c&&c(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:r=!1,dragConstraints:a=!1,dragElastic:i=Pu,dragMomentum:o=!0}=t;return{...t,drag:n,dragDirectionLock:s,dragPropagation:r,dragConstraints:a,dragElastic:i,dragMomentum:o}}}function Gg(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function LD(e,t,n){const s=sg(e,Gg(n)),r=sg(t,Gg(n));return()=>{s(),r()}}function $i(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function OD(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class zD extends as{constructor(t){super(t),this.removeGroupControls=ht,this.removeListeners=ht,this.controls=new ID(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ht}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 Lc=e=>(t,n)=>{e&&ee.update(()=>e(t,n),!1,!0)};class FD extends as{constructor(){super(...arguments),this.removePointerDownListener=ht}onPointerDown(t){this.session=new t1(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:e1(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:s,onPanEnd:r}=this.node.getProps();return{onSessionStart:Lc(t),onStart:Lc(n),onMove:Lc(s),onEnd:(a,i)=>{delete this.session,r&&ee.postRender(()=>r(a,i))}}}mount(){this.removePointerDownListener=ka(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 Oc=!1;class _D extends w.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:s,layoutId:r}=this.props,{projection:a}=t;a&&(n.group&&n.group.add(a),s&&s.register&&r&&s.register(a),Oc&&a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),go.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:s,drag:r,isPresent:a}=this.props,{projection:i}=s;return i&&(i.isPresent=a,t.layoutDependency!==n&&i.setOptions({...i.options,layoutDependency:n}),Oc=!0,r||t.layoutDependency!==n||n===void 0||t.isPresent!==a?i.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?i.promote():i.relegate()||ee.postRender(()=>{const o=i.getStack();(!o||!o.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:s}=t;s&&(s.options.layoutAnchor=n,s.root.didUpdate(),fp.postRender(()=>{!s.currentAnimation&&s.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:r}=t;Oc=!0,r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),s&&s.deregister&&s.deregister(r))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function s1(e){const[t,n]=q4(),s=w.useContext(vw);return l.jsx(_D,{...e,layoutGroup:s,switchLayoutGroup:w.useContext(Zb),isPresent:t,safeToRemove:n})}const VD={pan:{Feature:FD},drag:{Feature:zD,ProjectionNode:$b,MeasureLayout:s1}};function Yg(e,t,n){const{props:s}=e;e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",n==="Start");const r="onHover"+n,a=s[r];a&&ee.postRender(()=>a(t,mi(t)))}class HD extends as{mount(){const{current:t}=this.node;t&&(this.unmount=hM(t,(n,s)=>(Yg(this.node,s,"Start"),r=>Yg(this.node,r,"End"))))}unmount(){}}class BD extends as{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=fi(Xa(this.node.current,"focus",()=>this.onFocus()),Xa(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Qg(e,t,n){const{props:s}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&s.whileTap&&e.animationState.setActive("whileTap",n==="Start");const r="onTap"+(n==="End"?"":n),a=s[r];a&&ee.postRender(()=>a(t,mi(t)))}class WD extends as{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:s}=this.node.props;this.unmount=wM(t,(r,a)=>(Qg(this.node,a,"Start"),(i,{success:o})=>Qg(this.node,i,o?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(s==null?void 0:s.tap)===!1})}unmount(){}}const Su=new WeakMap,zc=new WeakMap,$D=e=>{const t=Su.get(e.target);t&&t(e)},UD=e=>{e.forEach($D)};function qD({root:e,...t}){const n=e||document;zc.has(n)||zc.set(n,{});const s=zc.get(n),r=JSON.stringify(t);return s[r]||(s[r]=new IntersectionObserver(UD,{root:e,...t})),s[r]}function KD(e,t,n){const s=qD(t);return Su.set(e,n),s.observe(e),()=>{Su.delete(e),s.unobserve(e)}}const GD={some:0,all:1};class YD extends as{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var c;(c=this.stopObserver)==null||c.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:s,amount:r="some",once:a}=t,i={root:n?n.current:void 0,rootMargin:s,threshold:typeof r=="number"?r:GD[r]},o=d=>{const{isIntersecting:u}=d;if(this.isInView===u||(this.isInView=u,a&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:f,onViewportLeave:p}=this.node.getProps(),h=u?f:p;h&&h(d)};this.stopObserver=KD(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(QD(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function QD({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const XD={inView:{Feature:YD},tap:{Feature:WD},focus:{Feature:BD},hover:{Feature:HD}},ZD={layout:{ProjectionNode:$b,MeasureLayout:s1}},JD={...PD,...XD,...VD,...ZD},Ui=yD(JD,xD),e3=()=>{const e=Fs();return w.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),l.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background","data-id":"lck7c04na","data-path":"src/pages/NotFound.tsx",children:l.jsxs(Ui.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-center space-y-6 p-8","data-id":"6wdvwv8zr","data-path":"src/pages/NotFound.tsx",children:[l.jsx(Ui.div,{initial:{scale:.5},animate:{scale:1},transition:{duration:.5,delay:.2},"data-id":"n8ksnhkof","data-path":"src/pages/NotFound.tsx",children:l.jsx("h1",{className:"text-8xl font-bold text-primary","data-id":"e018ye16q","data-path":"src/pages/NotFound.tsx",children:"404"})}),l.jsxs(Ui.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,delay:.4},className:"space-y-4","data-id":"ufhlj4gu9","data-path":"src/pages/NotFound.tsx",children:[l.jsx("h2",{className:"text-2xl font-semibold tracking-tight","data-id":"6ptne9hcp","data-path":"src/pages/NotFound.tsx",children:"Page Not Found"}),l.jsx("p",{className:"text-muted-foreground","data-id":"p1ppwz90h","data-path":"src/pages/NotFound.tsx",children:"Sorry, the page you are looking for does not exist or has been removed."})]}),l.jsx(Ui.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,delay:.6},"data-id":"4azl94ybf","data-path":"src/pages/NotFound.tsx",children:l.jsx(wa,{asChild:!0,variant:"default",size:"lg","data-id":"6f731pzv9","data-path":"src/pages/NotFound.tsx",children:l.jsx("a",{href:"/","data-id":"jqnbx1euz","data-path":"src/pages/NotFound.tsx",children:"Back to Home"})})})]})})},t3=new A2,n3=()=>l.jsx(VN,{FallbackComponent:ST,onError:(e,t)=>{console.error(`Error Boundary caught an error(pathname:${location.pathname+location.search}):`,e,t),setTimeout(()=>{throw e},0)},"data-id":"ef8diuwqr","data-path":"src/App.tsx",children:l.jsx(ow,{"data-id":"x6mnvn8qh","data-path":"src/App.tsx",children:l.jsx(M2,{client:t3,"data-id":"4xdntenr1","data-path":"src/App.tsx",children:l.jsxs(e2,{"data-id":"3b9mplvz0","data-path":"src/App.tsx",children:[l.jsx(wC,{"data-id":"c3fh5nreq","data-path":"src/App.tsx"}),l.jsx(LN,{"data-id":"ubqwjzt3w","data-path":"src/App.tsx",children:l.jsx(NN,{"data-id":"ays17vq9j","data-path":"src/App.tsx",children:l.jsxs(Me,{element:l.jsx(kT,{"data-id":"iwneo020o","data-path":"src/App.tsx"}),"data-id":"hzwr1pkku","data-path":"src/App.tsx",children:[l.jsx(Me,{path:"/",element:l.jsx(DT,{"data-id":"3grmuu6nj","data-path":"src/App.tsx"}),"data-id":"yxj9djhgu","data-path":"src/App.tsx"}),l.jsx(Me,{path:"/about/:section",element:l.jsx(Lm,{"data-id":"o3xpe5vvt","data-path":"src/App.tsx"}),"data-id":"8fji9m2ta","data-path":"src/App.tsx"}),l.jsx(Me,{path:"/about",element:l.jsx(Lm,{"data-id":"kee4a989b","data-path":"src/App.tsx"}),"data-id":"841jf3hqb","data-path":"src/App.tsx"}),l.jsx(Me,{path:"/programs/:program",element:l.jsx(Om,{"data-id":"iv27alw8u","data-path":"src/App.tsx"}),"data-id":"du0vxo35t","data-path":"src/App.tsx"}),l.jsx(Me,{path:"/programs",element:l.jsx(Om,{"data-id":"gcbofdezn","data-path":"src/App.tsx"}),"data-id":"q721d6gi8","data-path":"src/App.tsx"}),l.jsx(Me,{path:"/impact",element:l.jsx(WT,{"data-id":"0vrsocvb0","data-path":"src/App.tsx"}),"data-id":"da3iymn1n","data-path":"src/App.tsx"}),l.jsx(Me,{path:"/accessibility-resources",element:l.jsx(UT,{"data-id":"p6rqod62m","data-path":"src/App.tsx"}),"data-id":"nxs22r4s6","data-path":"src/App.tsx"}),l.jsx(Me,{path:"/independent-living",element:l.jsx(GT,{"data-id":"ctssdbx8f","data-path":"src/App.tsx"}),"data-id":"bf8ekg2zz","data-path":"src/App.tsx"}),l.jsx(Me,{path:"/donate",element:l.jsx(XT,{"data-id":"b3rw2llg1","data-path":"src/App.tsx"}),"data-id":"ljr9gm49g","data-path":"src/App.tsx"}),l.jsx(Me,{path:"/blog",element:l.jsx(JT,{"data-id":"769hi97x9","data-path":"src/App.tsx"}),"data-id":"izrqr061s","data-path":"src/App.tsx"}),l.jsx(Me,{path:"/contact",element:l.jsx(eA,{"data-id":"77qrf4p4y","data-path":"src/App.tsx"}),"data-id":"q8zjq5iqs","data-path":"src/App.tsx"}),l.jsx(Me,{path:"/privacy-policy",element:l.jsx(nA,{"data-id":"b1h3yxs8a","data-path":"src/App.tsx"}),"data-id":"rk5yj8n1k","data-path":"src/App.tsx"}),l.jsx(Me,{path:"/terms",element:l.jsx(rA,{"data-id":"xwknyzmzp","data-path":"src/App.tsx"}),"data-id":"mp8avzray","data-path":"src/App.tsx"}),l.jsx(Me,{path:"*",element:l.jsx(e3,{"data-id":"zw4s7k8za","data-path":"src/App.tsx"}),"data-id":"da8rvfwrv","data-path":"src/App.tsx"})]})})})]})})})});xv(document.getElementById("root")).render(l.jsx(n3,{"data-id":"mroup8piz","data-path":"src/main.tsx"}));