var a1=Object.defineProperty;var Eh=e=>{throw TypeError(e)};var r1=(e,t,n)=>t in e?a1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Jt=(e,t,n)=>r1(e,typeof t!="symbol"?t+"":t,n),Fl=(e,t,n)=>t.has(e)||Eh("Cannot "+n);var A=(e,t,n)=>(Fl(e,t,"read from private field"),n?n.call(e):t.get(e)),K=(e,t,n)=>t.has(e)?Eh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),_=(e,t,n,s)=>(Fl(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n),ke=(e,t,n)=>(Fl(e,t,"access private method"),n);var mi=(e,t,n,s)=>({set _(a){_(e,t,a,n)},get _(){return A(e,t,s)}});function i1(e,t){for(var n=0;n<t.length;n++){const s=t[n];if(typeof s!="string"&&!Array.isArray(s)){for(const a in s)if(a!=="default"&&!(a in e)){const r=Object.getOwnPropertyDescriptor(s,a);r&&Object.defineProperty(e,a,r.get?r:{enumerable:!0,get:()=>s[a]})}}}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 a of document.querySelectorAll('link[rel="modulepreload"]'))s(a);new MutationObserver(a=>{for(const r of a)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(a){const r={};return a.integrity&&(r.integrity=a.integrity),a.referrerPolicy&&(r.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?r.credentials="include":a.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(a){if(a.ep)return;a.ep=!0;const r=n(a);fetch(a.href,r)}})();function sl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ty={exports:{}},al={},ny={exports:{}},U={};/**
 * @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 Jr=Symbol.for("react.element"),o1=Symbol.for("react.portal"),l1=Symbol.for("react.fragment"),c1=Symbol.for("react.strict_mode"),d1=Symbol.for("react.profiler"),u1=Symbol.for("react.provider"),p1=Symbol.for("react.context"),h1=Symbol.for("react.forward_ref"),f1=Symbol.for("react.suspense"),m1=Symbol.for("react.memo"),g1=Symbol.for("react.lazy"),jh=Symbol.iterator;function y1(e){return e===null||typeof e!="object"?null:(e=jh&&e[jh]||e["@@iterator"],typeof e=="function"?e:null)}var sy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ay=Object.assign,ry={};function Ma(e,t,n){this.props=e,this.context=t,this.refs=ry,this.updater=n||sy}Ma.prototype.isReactComponent={};Ma.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")};Ma.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function iy(){}iy.prototype=Ma.prototype;function ju(e,t,n){this.props=e,this.context=t,this.refs=ry,this.updater=n||sy}var ku=ju.prototype=new iy;ku.constructor=ju;ay(ku,Ma.prototype);ku.isPureReactComponent=!0;var kh=Array.isArray,oy=Object.prototype.hasOwnProperty,Su={current:null},ly={key:!0,ref:!0,__self:!0,__source:!0};function cy(e,t,n){var s,a={},r=null,i=null;if(t!=null)for(s in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(r=""+t.key),t)oy.call(t,s)&&!ly.hasOwnProperty(s)&&(a[s]=t[s]);var o=arguments.length-2;if(o===1)a.children=n;else if(1<o){for(var c=Array(o),d=0;d<o;d++)c[d]=arguments[d+2];a.children=c}if(e&&e.defaultProps)for(s in o=e.defaultProps,o)a[s]===void 0&&(a[s]=o[s]);return{$$typeof:Jr,type:e,key:r,ref:i,props:a,_owner:Su.current}}function x1(e,t){return{$$typeof:Jr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Au(e){return typeof e=="object"&&e!==null&&e.$$typeof===Jr}function v1(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Sh=/\/+/g;function zl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?v1(""+e.key):t.toString(36)}function Wi(e,t,n,s,a){var r=typeof e;(r==="undefined"||r==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(r){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Jr:case o1:i=!0}}if(i)return i=e,a=a(i),e=s===""?"."+zl(i,0):s,kh(a)?(n="",e!=null&&(n=e.replace(Sh,"$&/")+"/"),Wi(a,t,n,"",function(d){return d})):a!=null&&(Au(a)&&(a=x1(a,n+(!a.key||i&&i.key===a.key?"":(""+a.key).replace(Sh,"$&/")+"/")+e)),t.push(a)),1;if(i=0,s=s===""?".":s+":",kh(e))for(var o=0;o<e.length;o++){r=e[o];var c=s+zl(r,o);i+=Wi(r,t,n,c,a)}else if(c=y1(e),typeof c=="function")for(e=c.call(e),o=0;!(r=e.next()).done;)r=r.value,c=s+zl(r,o++),i+=Wi(r,t,n,c,a);else if(r==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function gi(e,t,n){if(e==null)return e;var s=[],a=0;return Wi(e,s,"","",function(r){return t.call(n,r,a++)}),s}function w1(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 qe={current:null},$i={transition:null},b1={ReactCurrentDispatcher:qe,ReactCurrentBatchConfig:$i,ReactCurrentOwner:Su};function dy(){throw Error("act(...) is not supported in production builds of React.")}U.Children={map:gi,forEach:function(e,t,n){gi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return gi(e,function(){t++}),t},toArray:function(e){return gi(e,function(t){return t})||[]},only:function(e){if(!Au(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};U.Component=Ma;U.Fragment=l1;U.Profiler=d1;U.PureComponent=ju;U.StrictMode=c1;U.Suspense=f1;U.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=b1;U.act=dy;U.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=ay({},e.props),a=e.key,r=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(r=t.ref,i=Su.current),t.key!==void 0&&(a=""+t.key),e.type&&e.type.defaultProps)var o=e.type.defaultProps;for(c in t)oy.call(t,c)&&!ly.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:Jr,type:e.type,key:a,ref:r,props:s,_owner:i}};U.createContext=function(e){return e={$$typeof:p1,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:u1,_context:e},e.Consumer=e};U.createElement=cy;U.createFactory=function(e){var t=cy.bind(null,e);return t.type=e,t};U.createRef=function(){return{current:null}};U.forwardRef=function(e){return{$$typeof:h1,render:e}};U.isValidElement=Au;U.lazy=function(e){return{$$typeof:g1,_payload:{_status:-1,_result:e},_init:w1}};U.memo=function(e,t){return{$$typeof:m1,type:e,compare:t===void 0?null:t}};U.startTransition=function(e){var t=$i.transition;$i.transition={};try{e()}finally{$i.transition=t}};U.unstable_act=dy;U.useCallback=function(e,t){return qe.current.useCallback(e,t)};U.useContext=function(e){return qe.current.useContext(e)};U.useDebugValue=function(){};U.useDeferredValue=function(e){return qe.current.useDeferredValue(e)};U.useEffect=function(e,t){return qe.current.useEffect(e,t)};U.useId=function(){return qe.current.useId()};U.useImperativeHandle=function(e,t,n){return qe.current.useImperativeHandle(e,t,n)};U.useInsertionEffect=function(e,t){return qe.current.useInsertionEffect(e,t)};U.useLayoutEffect=function(e,t){return qe.current.useLayoutEffect(e,t)};U.useMemo=function(e,t){return qe.current.useMemo(e,t)};U.useReducer=function(e,t,n){return qe.current.useReducer(e,t,n)};U.useRef=function(e){return qe.current.useRef(e)};U.useState=function(e){return qe.current.useState(e)};U.useSyncExternalStore=function(e,t,n){return qe.current.useSyncExternalStore(e,t,n)};U.useTransition=function(){return qe.current.useTransition()};U.version="18.3.1";ny.exports=U;var w=ny.exports;const Wt=sl(w),Tu=i1({__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 P1=w,C1=Symbol.for("react.element"),E1=Symbol.for("react.fragment"),j1=Object.prototype.hasOwnProperty,k1=P1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,S1={key:!0,ref:!0,__self:!0,__source:!0};function uy(e,t,n){var s,a={},r=null,i=null;n!==void 0&&(r=""+n),t.key!==void 0&&(r=""+t.key),t.ref!==void 0&&(i=t.ref);for(s in t)j1.call(t,s)&&!S1.hasOwnProperty(s)&&(a[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)a[s]===void 0&&(a[s]=t[s]);return{$$typeof:C1,type:e,key:r,ref:i,props:a,_owner:k1.current}}al.Fragment=E1;al.jsx=uy;al.jsxs=uy;ty.exports=al;var l=ty.exports,py={exports:{}},rt={},hy={exports:{}},fy={};/**
 * @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(S,D){var L=S.length;S.push(D);e:for(;0<L;){var H=L-1>>>1,Q=S[H];if(0<a(Q,D))S[H]=D,S[L]=Q,L=H;else break e}}function n(S){return S.length===0?null:S[0]}function s(S){if(S.length===0)return null;var D=S[0],L=S.pop();if(L!==D){S[0]=L;e:for(var H=0,Q=S.length,vt=Q>>>1;H<vt;){var ot=2*(H+1)-1,qa=S[ot],Zt=ot+1,zs=S[Zt];if(0>a(qa,L))Zt<Q&&0>a(zs,qa)?(S[H]=zs,S[Zt]=L,H=Zt):(S[H]=qa,S[ot]=L,H=ot);else if(Zt<Q&&0>a(zs,L))S[H]=zs,S[Zt]=L,H=Zt;else break e}}return D}function a(S,D){var L=S.sortIndex-D.sortIndex;return L!==0?L:S.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var r=performance;e.unstable_now=function(){return r.now()}}else{var i=Date,o=i.now();e.unstable_now=function(){return i.now()-o}}var c=[],d=[],u=1,p=null,h=3,m=!1,y=!1,v=!1,b=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(S){for(var D=n(d);D!==null;){if(D.callback===null)s(d);else if(D.startTime<=S)s(d),D.sortIndex=D.expirationTime,t(c,D);else break;D=n(d)}}function P(S){if(v=!1,x(S),!y)if(n(c)!==null)y=!0,V(C);else{var D=n(d);D!==null&&G(P,D.startTime-S)}}function C(S,D){y=!1,v&&(v=!1,g(j),j=-1),m=!0;var L=h;try{for(x(D),p=n(c);p!==null&&(!(p.expirationTime>D)||S&&!F());){var H=p.callback;if(typeof H=="function"){p.callback=null,h=p.priorityLevel;var Q=H(p.expirationTime<=D);D=e.unstable_now(),typeof Q=="function"?p.callback=Q:p===n(c)&&s(c),x(D)}else s(c);p=n(c)}if(p!==null)var vt=!0;else{var ot=n(d);ot!==null&&G(P,ot.startTime-D),vt=!1}return vt}finally{p=null,h=L,m=!1}}var E=!1,k=null,j=-1,N=5,T=-1;function F(){return!(e.unstable_now()-T<N)}function O(){if(k!==null){var S=e.unstable_now();T=S;var D=!0;try{D=k(!0,S)}finally{D?q():(E=!1,k=null)}}else E=!1}var q;if(typeof f=="function")q=function(){f(O)};else if(typeof MessageChannel<"u"){var M=new MessageChannel,W=M.port2;M.port1.onmessage=O,q=function(){W.postMessage(null)}}else q=function(){b(O,0)};function V(S){k=S,E||(E=!0,q())}function G(S,D){j=b(function(){S(e.unstable_now())},D)}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(S){S.callback=null},e.unstable_continueExecution=function(){y||m||(y=!0,V(C))},e.unstable_forceFrameRate=function(S){0>S||125<S?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<S?Math.floor(1e3/S):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(S){switch(h){case 1:case 2:case 3:var D=3;break;default:D=h}var L=h;h=D;try{return S()}finally{h=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(S,D){switch(S){case 1:case 2:case 3:case 4:case 5:break;default:S=3}var L=h;h=S;try{return D()}finally{h=L}},e.unstable_scheduleCallback=function(S,D,L){var H=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?H+L:H):L=H,S){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=L+Q,S={id:u++,callback:D,priorityLevel:S,startTime:L,expirationTime:Q,sortIndex:-1},L>H?(S.sortIndex=L,t(d,S),n(c)===null&&S===n(d)&&(v?(g(j),j=-1):v=!0,G(P,L-H))):(S.sortIndex=Q,t(c,S),y||m||(y=!0,V(C))),S},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(S){var D=h;return function(){var L=h;h=D;try{return S.apply(this,arguments)}finally{h=L}}}})(fy);hy.exports=fy;var A1=hy.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 T1=w,at=A1;function R(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var my=new Set,Er={};function Ms(e,t){Pa(e,t),Pa(e+"Capture",t)}function Pa(e,t){for(Er[e]=t,e=0;e<t.length;e++)my.add(t[e])}var pn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Vc=Object.prototype.hasOwnProperty,N1=/^[: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]*$/,Ah={},Th={};function R1(e){return Vc.call(Th,e)?!0:Vc.call(Ah,e)?!1:N1.test(e)?Th[e]=!0:(Ah[e]=!0,!1)}function D1(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 M1(e,t,n,s){if(t===null||typeof t>"u"||D1(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 We(e,t,n,s,a,r,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=s,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=r,this.removeEmptyString=i}var Re={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Re[e]=new We(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Re[t]=new We(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Re[e]=new We(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Re[e]=new We(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Re[e]=new We(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Re[e]=new We(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Re[e]=new We(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Re[e]=new We(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Re[e]=new We(e,5,!1,e.toLowerCase(),null,!1,!1)});var Nu=/[\-:]([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(Nu,Ru);Re[t]=new We(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(Nu,Ru);Re[t]=new We(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(Nu,Ru);Re[t]=new We(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Re[e]=new We(e,1,!1,e.toLowerCase(),null,!1,!1)});Re.xlinkHref=new We("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Re[e]=new We(e,1,!1,e.toLowerCase(),null,!0,!0)});function Du(e,t,n,s){var a=Re.hasOwnProperty(t)?Re[t]:null;(a!==null?a.type!==0:s||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(M1(t,n,a,s)&&(n=null),s||a===null?R1(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=n===null?a.type===3?!1:"":n:(t=a.attributeName,s=a.attributeNamespace,n===null?e.removeAttribute(t):(a=a.type,n=a===3||a===4&&n===!0?"":""+n,s?e.setAttributeNS(s,t,n):e.setAttribute(t,n))))}var xn=T1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,yi=Symbol.for("react.element"),Hs=Symbol.for("react.portal"),qs=Symbol.for("react.fragment"),Mu=Symbol.for("react.strict_mode"),_c=Symbol.for("react.profiler"),gy=Symbol.for("react.provider"),yy=Symbol.for("react.context"),Ou=Symbol.for("react.forward_ref"),Bc=Symbol.for("react.suspense"),Hc=Symbol.for("react.suspense_list"),Iu=Symbol.for("react.memo"),jn=Symbol.for("react.lazy"),xy=Symbol.for("react.offscreen"),Nh=Symbol.iterator;function $a(e){return e===null||typeof e!="object"?null:(e=Nh&&e[Nh]||e["@@iterator"],typeof e=="function"?e:null)}var le=Object.assign,Ll;function ar(e){if(Ll===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ll=t&&t[1]||""}return`
`+Ll+e}var Vl=!1;function _l(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 a=d.stack.split(`
`),r=s.stack.split(`
`),i=a.length-1,o=r.length-1;1<=i&&0<=o&&a[i]!==r[o];)o--;for(;1<=i&&0<=o;i--,o--)if(a[i]!==r[o]){if(i!==1||o!==1)do if(i--,o--,0>o||a[i]!==r[o]){var c=`
`+a[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:"")?ar(e):""}function O1(e){switch(e.tag){case 5:return ar(e.type);case 16:return ar("Lazy");case 13:return ar("Suspense");case 19:return ar("SuspenseList");case 0:case 2:case 15:return e=_l(e.type,!1),e;case 11:return e=_l(e.type.render,!1),e;case 1:return e=_l(e.type,!0),e;default:return""}}function qc(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 qs:return"Fragment";case Hs:return"Portal";case _c:return"Profiler";case Mu:return"StrictMode";case Bc:return"Suspense";case Hc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case yy:return(e.displayName||"Context")+".Consumer";case gy:return(e._context.displayName||"Context")+".Provider";case Ou:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Iu:return t=e.displayName||null,t!==null?t:qc(e.type)||"Memo";case jn:t=e._payload,e=e._init;try{return qc(e(t))}catch{}}return null}function I1(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 qc(t);case 8:return t===Mu?"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 vy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function F1(e){var t=vy(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 a=n.get,r=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(i){s=""+i,r.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 xi(e){e._valueTracker||(e._valueTracker=F1(e))}function wy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),s="";return e&&(s=vy(e)?e.checked?"true":"false":e.value),e=s,e!==n?(t.setValue(e),!0):!1}function mo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Wc(e,t){var n=t.checked;return le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Rh(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 by(e,t){t=t.checked,t!=null&&Du(e,"checked",t,!1)}function $c(e,t){by(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")?Uc(e,t.type,n):t.hasOwnProperty("defaultValue")&&Uc(e,t.type,Gn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Dh(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 Uc(e,t,n){(t!=="number"||mo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var rr=Array.isArray;function sa(e,t,n,s){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&s&&(e[n].defaultSelected=!0)}else{for(n=""+Gn(n),t=null,a=0;a<e.length;a++){if(e[a].value===n){e[a].selected=!0,s&&(e[a].defaultSelected=!0);return}t!==null||e[a].disabled||(t=e[a])}t!==null&&(t.selected=!0)}}function Kc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(R(91));return le({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Mh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(R(92));if(rr(n)){if(1<n.length)throw Error(R(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Gn(n)}}function Py(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 Oh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Cy(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"?Cy(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var vi,Ey=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,s,a){MSApp.execUnsafeLocalFunction(function(){return e(t,n,s,a)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(vi=vi||document.createElement("div"),vi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=vi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function jr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var cr={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},z1=["Webkit","ms","Moz","O"];Object.keys(cr).forEach(function(e){z1.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),cr[t]=cr[e]})});function jy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||cr.hasOwnProperty(e)&&cr[e]?(""+t).trim():t+"px"}function ky(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var s=n.indexOf("--")===0,a=jy(n,t[n],s);n==="float"&&(n="cssFloat"),s?e.setProperty(n,a):e[n]=a}}var L1=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(L1[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(R(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(R(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(R(61))}if(t.style!=null&&typeof t.style!="object")throw Error(R(62))}}function 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 Fu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Zc=null,aa=null,ra=null;function Ih(e){if(e=ni(e)){if(typeof Zc!="function")throw Error(R(280));var t=e.stateNode;t&&(t=cl(t),Zc(e.stateNode,e.type,t))}}function Sy(e){aa?ra?ra.push(e):ra=[e]:aa=e}function Ay(){if(aa){var e=aa,t=ra;if(ra=aa=null,Ih(e),t)for(e=0;e<t.length;e++)Ih(t[e])}}function Ty(e,t){return e(t)}function Ny(){}var Bl=!1;function Ry(e,t,n){if(Bl)return e(t,n);Bl=!0;try{return Ty(e,t,n)}finally{Bl=!1,(aa!==null||ra!==null)&&(Ny(),Ay())}}function kr(e,t){var n=e.stateNode;if(n===null)return null;var s=cl(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(R(231,t,typeof n));return n}var Jc=!1;if(pn)try{var Ua={};Object.defineProperty(Ua,"passive",{get:function(){Jc=!0}}),window.addEventListener("test",Ua,Ua),window.removeEventListener("test",Ua,Ua)}catch{Jc=!1}function V1(e,t,n,s,a,r,i,o,c){var d=Array.prototype.slice.call(arguments,3);try{t.apply(n,d)}catch(u){this.onError(u)}}var dr=!1,go=null,yo=!1,ed=null,_1={onError:function(e){dr=!0,go=e}};function B1(e,t,n,s,a,r,i,o,c){dr=!1,go=null,V1.apply(_1,arguments)}function H1(e,t,n,s,a,r,i,o,c){if(B1.apply(this,arguments),dr){if(dr){var d=go;dr=!1,go=null}else throw Error(R(198));yo||(yo=!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 Dy(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 Fh(e){if(Os(e)!==e)throw Error(R(188))}function q1(e){var t=e.alternate;if(!t){if(t=Os(e),t===null)throw Error(R(188));return t!==e?null:e}for(var n=e,s=t;;){var a=n.return;if(a===null)break;var r=a.alternate;if(r===null){if(s=a.return,s!==null){n=s;continue}break}if(a.child===r.child){for(r=a.child;r;){if(r===n)return Fh(a),e;if(r===s)return Fh(a),t;r=r.sibling}throw Error(R(188))}if(n.return!==s.return)n=a,s=r;else{for(var i=!1,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){for(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)throw Error(R(189))}}if(n.alternate!==s)throw Error(R(190))}if(n.tag!==3)throw Error(R(188));return n.stateNode.current===n?e:t}function My(e){return e=q1(e),e!==null?Oy(e):null}function Oy(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Oy(e);if(t!==null)return t;e=e.sibling}return null}var Iy=at.unstable_scheduleCallback,zh=at.unstable_cancelCallback,W1=at.unstable_shouldYield,$1=at.unstable_requestPaint,he=at.unstable_now,U1=at.unstable_getCurrentPriorityLevel,zu=at.unstable_ImmediatePriority,Fy=at.unstable_UserBlockingPriority,xo=at.unstable_NormalPriority,K1=at.unstable_LowPriority,zy=at.unstable_IdlePriority,rl=null,Ut=null;function G1(e){if(Ut&&typeof Ut.onCommitFiberRoot=="function")try{Ut.onCommitFiberRoot(rl,e,void 0,(e.current.flags&128)===128)}catch{}}var Tt=Math.clz32?Math.clz32:X1,Y1=Math.log,Q1=Math.LN2;function X1(e){return e>>>=0,e===0?32:31-(Y1(e)/Q1|0)|0}var wi=64,bi=4194304;function ir(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function vo(e,t){var n=e.pendingLanes;if(n===0)return 0;var s=0,a=e.suspendedLanes,r=e.pingedLanes,i=n&268435455;if(i!==0){var o=i&~a;o!==0?s=ir(o):(r&=i,r!==0&&(s=ir(r)))}else i=n&~a,i!==0?s=ir(i):r!==0&&(s=ir(r));if(s===0)return 0;if(t!==0&&t!==s&&!(t&a)&&(a=s&-s,r=t&-t,a>=r||a===16&&(r&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-Tt(t),a=1<<n,s|=e[n],t&=~a;return s}function Z1(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 J1(e,t){for(var n=e.suspendedLanes,s=e.pingedLanes,a=e.expirationTimes,r=e.pendingLanes;0<r;){var i=31-Tt(r),o=1<<i,c=a[i];c===-1?(!(o&n)||o&s)&&(a[i]=Z1(o,t)):c<=t&&(e.expiredLanes|=o),r&=~o}}function td(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ly(){var e=wi;return wi<<=1,!(wi&4194240)&&(wi=64),e}function Hl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ei(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Tt(t),e[t]=n}function eP(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 a=31-Tt(n),r=1<<a;t[a]=0,s[a]=-1,e[a]=-1,n&=~r}}function Lu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var s=31-Tt(n),a=1<<s;a&t|e[s]&t&&(e[s]|=t),n&=~a}}var X=0;function Vy(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var _y,Vu,By,Hy,qy,nd=!1,Pi=[],Vn=null,_n=null,Bn=null,Sr=new Map,Ar=new Map,Sn=[],tP="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 Lh(e,t){switch(e){case"focusin":case"focusout":Vn=null;break;case"dragenter":case"dragleave":_n=null;break;case"mouseover":case"mouseout":Bn=null;break;case"pointerover":case"pointerout":Sr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ar.delete(t.pointerId)}}function Ka(e,t,n,s,a,r){return e===null||e.nativeEvent!==r?(e={blockedOn:t,domEventName:n,eventSystemFlags:s,nativeEvent:r,targetContainers:[a]},t!==null&&(t=ni(t),t!==null&&Vu(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,a!==null&&t.indexOf(a)===-1&&t.push(a),e)}function nP(e,t,n,s,a){switch(t){case"focusin":return Vn=Ka(Vn,e,t,n,s,a),!0;case"dragenter":return _n=Ka(_n,e,t,n,s,a),!0;case"mouseover":return Bn=Ka(Bn,e,t,n,s,a),!0;case"pointerover":var r=a.pointerId;return Sr.set(r,Ka(Sr.get(r)||null,e,t,n,s,a)),!0;case"gotpointercapture":return r=a.pointerId,Ar.set(r,Ka(Ar.get(r)||null,e,t,n,s,a)),!0}return!1}function Wy(e){var t=us(e.target);if(t!==null){var n=Os(t);if(n!==null){if(t=n.tag,t===13){if(t=Dy(n),t!==null){e.blockedOn=t,qy(e.priority,function(){By(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ui(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=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=ni(n),t!==null&&Vu(t),e.blockedOn=n,!1;t.shift()}return!0}function Vh(e,t,n){Ui(e)&&n.delete(t)}function sP(){nd=!1,Vn!==null&&Ui(Vn)&&(Vn=null),_n!==null&&Ui(_n)&&(_n=null),Bn!==null&&Ui(Bn)&&(Bn=null),Sr.forEach(Vh),Ar.forEach(Vh)}function Ga(e,t){e.blockedOn===t&&(e.blockedOn=null,nd||(nd=!0,at.unstable_scheduleCallback(at.unstable_NormalPriority,sP)))}function Tr(e){function t(a){return Ga(a,e)}if(0<Pi.length){Ga(Pi[0],e);for(var n=1;n<Pi.length;n++){var s=Pi[n];s.blockedOn===e&&(s.blockedOn=null)}}for(Vn!==null&&Ga(Vn,e),_n!==null&&Ga(_n,e),Bn!==null&&Ga(Bn,e),Sr.forEach(t),Ar.forEach(t),n=0;n<Sn.length;n++)s=Sn[n],s.blockedOn===e&&(s.blockedOn=null);for(;0<Sn.length&&(n=Sn[0],n.blockedOn===null);)Wy(n),n.blockedOn===null&&Sn.shift()}var ia=xn.ReactCurrentBatchConfig,wo=!0;function aP(e,t,n,s){var a=X,r=ia.transition;ia.transition=null;try{X=1,_u(e,t,n,s)}finally{X=a,ia.transition=r}}function rP(e,t,n,s){var a=X,r=ia.transition;ia.transition=null;try{X=4,_u(e,t,n,s)}finally{X=a,ia.transition=r}}function _u(e,t,n,s){if(wo){var a=sd(e,t,n,s);if(a===null)Zl(e,t,s,bo,n),Lh(e,s);else if(nP(a,e,t,n,s))s.stopPropagation();else if(Lh(e,s),t&4&&-1<tP.indexOf(e)){for(;a!==null;){var r=ni(a);if(r!==null&&_y(r),r=sd(e,t,n,s),r===null&&Zl(e,t,s,bo,n),r===a)break;a=r}a!==null&&s.stopPropagation()}else Zl(e,t,s,null,n)}}var bo=null;function sd(e,t,n,s){if(bo=null,e=Fu(s),e=us(e),e!==null)if(t=Os(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Dy(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return bo=e,null}function $y(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(U1()){case zu:return 1;case Fy:return 4;case xo:case K1:return 16;case zy:return 536870912;default:return 16}default:return 16}}var In=null,Bu=null,Ki=null;function Uy(){if(Ki)return Ki;var e,t=Bu,n=t.length,s,a="value"in In?In.value:In.textContent,r=a.length;for(e=0;e<n&&t[e]===a[e];e++);var i=n-e;for(s=1;s<=i&&t[n-s]===a[r-s];s++);return Ki=a.slice(e,1<s?1-s:void 0)}function Gi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ci(){return!0}function _h(){return!1}function it(e){function t(n,s,a,r,i){this._reactName=n,this._targetInst=a,this.type=s,this.nativeEvent=r,this.target=i,this.currentTarget=null;for(var o in e)e.hasOwnProperty(o)&&(n=e[o],this[o]=n?n(r):r[o]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?Ci:_h,this.isPropagationStopped=_h,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=Ci)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ci)},persist:function(){},isPersistent:Ci}),t}var Oa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hu=it(Oa),ti=le({},Oa,{view:0,detail:0}),iP=it(ti),ql,Wl,Ya,il=le({},ti,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qu,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!==Ya&&(Ya&&e.type==="mousemove"?(ql=e.screenX-Ya.screenX,Wl=e.screenY-Ya.screenY):Wl=ql=0,Ya=e),ql)},movementY:function(e){return"movementY"in e?e.movementY:Wl}}),Bh=it(il),oP=le({},il,{dataTransfer:0}),lP=it(oP),cP=le({},ti,{relatedTarget:0}),$l=it(cP),dP=le({},Oa,{animationName:0,elapsedTime:0,pseudoElement:0}),uP=it(dP),pP=le({},Oa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),hP=it(pP),fP=le({},Oa,{data:0}),Hh=it(fP),mP={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},gP={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"},yP={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xP(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=yP[e])?!!t[e]:!1}function qu(){return xP}var vP=le({},ti,{key:function(e){if(e.key){var t=mP[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Gi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?gP[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qu,charCode:function(e){return e.type==="keypress"?Gi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Gi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),wP=it(vP),bP=le({},il,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qh=it(bP),PP=le({},ti,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qu}),CP=it(PP),EP=le({},Oa,{propertyName:0,elapsedTime:0,pseudoElement:0}),jP=it(EP),kP=le({},il,{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}),SP=it(kP),AP=[9,13,27,32],Wu=pn&&"CompositionEvent"in window,ur=null;pn&&"documentMode"in document&&(ur=document.documentMode);var TP=pn&&"TextEvent"in window&&!ur,Ky=pn&&(!Wu||ur&&8<ur&&11>=ur),Wh=" ",$h=!1;function Gy(e,t){switch(e){case"keyup":return AP.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ws=!1;function NP(e,t){switch(e){case"compositionend":return Yy(t);case"keypress":return t.which!==32?null:($h=!0,Wh);case"textInput":return e=t.data,e===Wh&&$h?null:e;default:return null}}function RP(e,t){if(Ws)return e==="compositionend"||!Wu&&Gy(e,t)?(e=Uy(),Ki=Bu=In=null,Ws=!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 Ky&&t.locale!=="ko"?null:t.data;default:return null}}var DP={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 Uh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!DP[e.type]:t==="textarea"}function Qy(e,t,n,s){Sy(s),t=Po(t,"onChange"),0<t.length&&(n=new Hu("onChange","change",null,n,s),e.push({event:n,listeners:t}))}var pr=null,Nr=null;function MP(e){ox(e,0)}function ol(e){var t=Ks(e);if(wy(t))return e}function OP(e,t){if(e==="change")return t}var Xy=!1;if(pn){var Ul;if(pn){var Kl="oninput"in document;if(!Kl){var Kh=document.createElement("div");Kh.setAttribute("oninput","return;"),Kl=typeof Kh.oninput=="function"}Ul=Kl}else Ul=!1;Xy=Ul&&(!document.documentMode||9<document.documentMode)}function Gh(){pr&&(pr.detachEvent("onpropertychange",Zy),Nr=pr=null)}function Zy(e){if(e.propertyName==="value"&&ol(Nr)){var t=[];Qy(t,Nr,e,Fu(e)),Ry(MP,t)}}function IP(e,t,n){e==="focusin"?(Gh(),pr=t,Nr=n,pr.attachEvent("onpropertychange",Zy)):e==="focusout"&&Gh()}function FP(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ol(Nr)}function zP(e,t){if(e==="click")return ol(t)}function LP(e,t){if(e==="input"||e==="change")return ol(t)}function VP(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Dt=typeof Object.is=="function"?Object.is:VP;function Rr(e,t){if(Dt(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 a=n[s];if(!Vc.call(t,a)||!Dt(e[a],t[a]))return!1}return!0}function Yh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Qh(e,t){var n=Yh(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=Yh(n)}}function Jy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Jy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ex(){for(var e=window,t=mo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=mo(e.document)}return t}function $u(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=ex(),n=e.focusedElem,s=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Jy(n.ownerDocument.documentElement,n)){if(s!==null&&$u(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 a=n.textContent.length,r=Math.min(s.start,a);s=s.end===void 0?r:Math.min(s.end,a),!e.extend&&r>s&&(a=s,s=r,r=a),a=Qh(n,r);var i=Qh(n,s);a&&i&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),r>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 BP=pn&&"documentMode"in document&&11>=document.documentMode,$s=null,ad=null,hr=null,rd=!1;function Xh(e,t,n){var s=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;rd||$s==null||$s!==mo(s)||(s=$s,"selectionStart"in s&&$u(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}),hr&&Rr(hr,s)||(hr=s,s=Po(ad,"onSelect"),0<s.length&&(t=new Hu("onSelect","select",null,t,n),e.push({event:t,listeners:s}),t.target=$s)))}function Ei(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Us={animationend:Ei("Animation","AnimationEnd"),animationiteration:Ei("Animation","AnimationIteration"),animationstart:Ei("Animation","AnimationStart"),transitionend:Ei("Transition","TransitionEnd")},Gl={},tx={};pn&&(tx=document.createElement("div").style,"AnimationEvent"in window||(delete Us.animationend.animation,delete Us.animationiteration.animation,delete Us.animationstart.animation),"TransitionEvent"in window||delete Us.transitionend.transition);function ll(e){if(Gl[e])return Gl[e];if(!Us[e])return e;var t=Us[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in tx)return Gl[e]=t[n];return e}var nx=ll("animationend"),sx=ll("animationiteration"),ax=ll("animationstart"),rx=ll("transitionend"),ix=new Map,Zh="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 ts(e,t){ix.set(e,t),Ms(t,[e])}for(var Yl=0;Yl<Zh.length;Yl++){var Ql=Zh[Yl],HP=Ql.toLowerCase(),qP=Ql[0].toUpperCase()+Ql.slice(1);ts(HP,"on"+qP)}ts(nx,"onAnimationEnd");ts(sx,"onAnimationIteration");ts(ax,"onAnimationStart");ts("dblclick","onDoubleClick");ts("focusin","onFocus");ts("focusout","onBlur");ts(rx,"onTransitionEnd");Pa("onMouseEnter",["mouseout","mouseover"]);Pa("onMouseLeave",["mouseout","mouseover"]);Pa("onPointerEnter",["pointerout","pointerover"]);Pa("onPointerLeave",["pointerout","pointerover"]);Ms("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ms("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ms("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ms("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ms("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ms("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var or="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),WP=new Set("cancel close invalid load scroll toggle".split(" ").concat(or));function Jh(e,t,n){var s=e.type||"unknown-event";e.currentTarget=n,H1(s,t,void 0,e),e.currentTarget=null}function ox(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var s=e[n],a=s.event;s=s.listeners;e:{var r=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!==r&&a.isPropagationStopped())break e;Jh(a,o,d),r=c}else for(i=0;i<s.length;i++){if(o=s[i],c=o.instance,d=o.currentTarget,o=o.listener,c!==r&&a.isPropagationStopped())break e;Jh(a,o,d),r=c}}}if(yo)throw e=ed,yo=!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)||(lx(t,e,2,!1),n.add(s))}function Xl(e,t,n){var s=0;t&&(s|=4),lx(n,e,s,t)}var ji="_reactListening"+Math.random().toString(36).slice(2);function Dr(e){if(!e[ji]){e[ji]=!0,my.forEach(function(n){n!=="selectionchange"&&(WP.has(n)||Xl(n,!1,e),Xl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ji]||(t[ji]=!0,Xl("selectionchange",!1,t))}}function lx(e,t,n,s){switch($y(t)){case 1:var a=aP;break;case 4:a=rP;break;default:a=_u}n=a.bind(null,t,n,e),a=void 0,!Jc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(a=!0),s?a!==void 0?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):a!==void 0?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Zl(e,t,n,s,a){var r=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===a||o.nodeType===8&&o.parentNode===a)break;if(i===4)for(i=s.return;i!==null;){var c=i.tag;if((c===3||c===4)&&(c=i.stateNode.containerInfo,c===a||c.nodeType===8&&c.parentNode===a))return;i=i.return}for(;o!==null;){if(i=us(o),i===null)return;if(c=i.tag,c===5||c===6){s=r=i;continue e}o=o.parentNode}}s=s.return}Ry(function(){var d=r,u=Fu(n),p=[];e:{var h=ix.get(e);if(h!==void 0){var m=Hu,y=e;switch(e){case"keypress":if(Gi(n)===0)break e;case"keydown":case"keyup":m=wP;break;case"focusin":y="focus",m=$l;break;case"focusout":y="blur",m=$l;break;case"beforeblur":case"afterblur":m=$l;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=Bh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=lP;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=CP;break;case nx:case sx:case ax:m=uP;break;case rx:m=jP;break;case"scroll":m=iP;break;case"wheel":m=SP;break;case"copy":case"cut":case"paste":m=hP;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=qh}var v=(t&4)!==0,b=!v&&e==="scroll",g=v?h!==null?h+"Capture":null:h;v=[];for(var f=d,x;f!==null;){x=f;var P=x.stateNode;if(x.tag===5&&P!==null&&(x=P,g!==null&&(P=kr(f,g),P!=null&&v.push(Mr(f,P,x)))),b)break;f=f.return}0<v.length&&(h=new m(h,y,null,n,u),p.push({event:h,listeners:v}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",h&&n!==Xc&&(y=n.relatedTarget||n.fromElement)&&(us(y)||y[hn]))break e;if((m||h)&&(h=u.window===u?u:(h=u.ownerDocument)?h.defaultView||h.parentWindow:window,m?(y=n.relatedTarget||n.toElement,m=d,y=y?us(y):null,y!==null&&(b=Os(y),y!==b||y.tag!==5&&y.tag!==6)&&(y=null)):(m=null,y=d),m!==y)){if(v=Bh,P="onMouseLeave",g="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(v=qh,P="onPointerLeave",g="onPointerEnter",f="pointer"),b=m==null?h:Ks(m),x=y==null?h:Ks(y),h=new v(P,f+"leave",m,n,u),h.target=b,h.relatedTarget=x,P=null,us(u)===d&&(v=new v(g,f+"enter",y,n,u),v.target=x,v.relatedTarget=b,P=v),b=P,m&&y)t:{for(v=m,g=y,f=0,x=v;x;x=Ls(x))f++;for(x=0,P=g;P;P=Ls(P))x++;for(;0<f-x;)v=Ls(v),f--;for(;0<x-f;)g=Ls(g),x--;for(;f--;){if(v===g||g!==null&&v===g.alternate)break t;v=Ls(v),g=Ls(g)}v=null}else v=null;m!==null&&ef(p,h,m,v,!1),y!==null&&b!==null&&ef(p,b,y,v,!0)}}e:{if(h=d?Ks(d):window,m=h.nodeName&&h.nodeName.toLowerCase(),m==="select"||m==="input"&&h.type==="file")var C=OP;else if(Uh(h))if(Xy)C=LP;else{C=FP;var E=IP}else(m=h.nodeName)&&m.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(C=zP);if(C&&(C=C(e,d))){Qy(p,C,n,u);break e}E&&E(e,h,d),e==="focusout"&&(E=h._wrapperState)&&E.controlled&&h.type==="number"&&Uc(h,"number",h.value)}switch(E=d?Ks(d):window,e){case"focusin":(Uh(E)||E.contentEditable==="true")&&($s=E,ad=d,hr=null);break;case"focusout":hr=ad=$s=null;break;case"mousedown":rd=!0;break;case"contextmenu":case"mouseup":case"dragend":rd=!1,Xh(p,n,u);break;case"selectionchange":if(BP)break;case"keydown":case"keyup":Xh(p,n,u)}var k;if(Wu)e:{switch(e){case"compositionstart":var j="onCompositionStart";break e;case"compositionend":j="onCompositionEnd";break e;case"compositionupdate":j="onCompositionUpdate";break e}j=void 0}else Ws?Gy(e,n)&&(j="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(j="onCompositionStart");j&&(Ky&&n.locale!=="ko"&&(Ws||j!=="onCompositionStart"?j==="onCompositionEnd"&&Ws&&(k=Uy()):(In=u,Bu="value"in In?In.value:In.textContent,Ws=!0)),E=Po(d,j),0<E.length&&(j=new Hh(j,e,null,n,u),p.push({event:j,listeners:E}),k?j.data=k:(k=Yy(n),k!==null&&(j.data=k)))),(k=TP?NP(e,n):RP(e,n))&&(d=Po(d,"onBeforeInput"),0<d.length&&(u=new Hh("onBeforeInput","beforeinput",null,n,u),p.push({event:u,listeners:d}),u.data=k))}ox(p,t)})}function Mr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Po(e,t){for(var n=t+"Capture",s=[];e!==null;){var a=e,r=a.stateNode;a.tag===5&&r!==null&&(a=r,r=kr(e,n),r!=null&&s.unshift(Mr(e,r,a)),r=kr(e,t),r!=null&&s.push(Mr(e,r,a))),e=e.return}return s}function Ls(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ef(e,t,n,s,a){for(var r=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,a?(c=kr(n,r),c!=null&&i.unshift(Mr(n,c,o))):a||(c=kr(n,r),c!=null&&i.push(Mr(n,c,o)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var $P=/\r\n?/g,UP=/\u0000|\uFFFD/g;function tf(e){return(typeof e=="string"?e:""+e).replace($P,`
`).replace(UP,"")}function ki(e,t,n){if(t=tf(t),tf(e)!==t&&n)throw Error(R(425))}function Co(){}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,KP=typeof clearTimeout=="function"?clearTimeout:void 0,nf=typeof Promise=="function"?Promise:void 0,GP=typeof queueMicrotask=="function"?queueMicrotask:typeof nf<"u"?function(e){return nf.resolve(null).then(e).catch(YP)}:cd;function YP(e){setTimeout(function(){throw e})}function Jl(e,t){var n=t,s=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(s===0){e.removeChild(a),Tr(t);return}s--}else n!=="$"&&n!=="$?"&&n!=="$!"||s++;n=a}while(n);Tr(t)}function Hn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function sf(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 Ia=Math.random().toString(36).slice(2),qt="__reactFiber$"+Ia,Or="__reactProps$"+Ia,hn="__reactContainer$"+Ia,dd="__reactEvents$"+Ia,QP="__reactListeners$"+Ia,XP="__reactHandles$"+Ia;function us(e){var t=e[qt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[hn]||n[qt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=sf(e);e!==null;){if(n=e[qt])return n;e=sf(e)}return t}e=n,n=e.parentNode}return null}function ni(e){return e=e[qt]||e[hn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ks(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(R(33))}function cl(e){return e[Or]||null}var ud=[],Gs=-1;function ns(e){return{current:e}}function ae(e){0>Gs||(e.current=ud[Gs],ud[Gs]=null,Gs--)}function ee(e,t){Gs++,ud[Gs]=e.current,e.current=t}var Yn={},Fe=ns(Yn),Ge=ns(!1),Ss=Yn;function Ca(e,t){var n=e.type.contextTypes;if(!n)return Yn;var s=e.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===t)return s.__reactInternalMemoizedMaskedChildContext;var a={},r;for(r in n)a[r]=t[r];return s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Ye(e){return e=e.childContextTypes,e!=null}function Eo(){ae(Ge),ae(Fe)}function af(e,t,n){if(Fe.current!==Yn)throw Error(R(168));ee(Fe,t),ee(Ge,n)}function cx(e,t,n){var s=e.stateNode;if(t=t.childContextTypes,typeof s.getChildContext!="function")return n;s=s.getChildContext();for(var a in s)if(!(a in t))throw Error(R(108,I1(e)||"Unknown",a));return le({},n,s)}function jo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yn,Ss=Fe.current,ee(Fe,e),ee(Ge,Ge.current),!0}function rf(e,t,n){var s=e.stateNode;if(!s)throw Error(R(169));n?(e=cx(e,t,Ss),s.__reactInternalMemoizedMergedChildContext=e,ae(Ge),ae(Fe),ee(Fe,e)):ae(Ge),ee(Ge,n)}var an=null,dl=!1,ec=!1;function dx(e){an===null?an=[e]:an.push(e)}function ZP(e){dl=!0,dx(e)}function ss(){if(!ec&&an!==null){ec=!0;var e=0,t=X;try{var n=an;for(X=1;e<n.length;e++){var s=n[e];do s=s(!0);while(s!==null)}an=null,dl=!1}catch(a){throw an!==null&&(an=an.slice(e+1)),Iy(zu,ss),a}finally{X=t,ec=!1}}return null}var Ys=[],Qs=0,ko=null,So=0,dt=[],ut=0,As=null,on=1,ln="";function ls(e,t){Ys[Qs++]=So,Ys[Qs++]=ko,ko=e,So=t}function ux(e,t,n){dt[ut++]=on,dt[ut++]=ln,dt[ut++]=As,As=e;var s=on;e=ln;var a=32-Tt(s)-1;s&=~(1<<a),n+=1;var r=32-Tt(t)+a;if(30<r){var i=a-a%5;r=(s&(1<<i)-1).toString(32),s>>=i,a-=i,on=1<<32-Tt(t)+a|n<<a|s,ln=r+e}else on=1<<r|n<<a|s,ln=e}function Uu(e){e.return!==null&&(ls(e,1),ux(e,1,0))}function Ku(e){for(;e===ko;)ko=Ys[--Qs],Ys[Qs]=null,So=Ys[--Qs],Ys[Qs]=null;for(;e===As;)As=dt[--ut],dt[ut]=null,ln=dt[--ut],dt[ut]=null,on=dt[--ut],dt[ut]=null}var tt=null,et=null,re=!1,St=null;function px(e,t){var n=pt(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 of(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,tt=e,et=Hn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,tt=e,et=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=As!==null?{id:on,overflow:ln}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=pt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,tt=e,et=null,!0):!1;default:return!1}}function pd(e){return(e.mode&1)!==0&&(e.flags&128)===0}function hd(e){if(re){var t=et;if(t){var n=t;if(!of(e,t)){if(pd(e))throw Error(R(418));t=Hn(n.nextSibling);var s=tt;t&&of(e,t)?px(s,n):(e.flags=e.flags&-4097|2,re=!1,tt=e)}}else{if(pd(e))throw Error(R(418));e.flags=e.flags&-4097|2,re=!1,tt=e}}}function lf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;tt=e}function Si(e){if(e!==tt)return!1;if(!re)return lf(e),re=!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=et)){if(pd(e))throw hx(),Error(R(418));for(;t;)px(e,t),t=Hn(t.nextSibling)}if(lf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){et=Hn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}et=null}}else et=tt?Hn(e.stateNode.nextSibling):null;return!0}function hx(){for(var e=et;e;)e=Hn(e.nextSibling)}function Ea(){et=tt=null,re=!1}function Gu(e){St===null?St=[e]:St.push(e)}var JP=xn.ReactCurrentBatchConfig;function Qa(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(R(309));var s=n.stateNode}if(!s)throw Error(R(147,e));var a=s,r=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===r?t.ref:(t=function(i){var o=a.refs;i===null?delete o[r]:o[r]=i},t._stringRef=r,t)}if(typeof e!="string")throw Error(R(284));if(!n._owner)throw Error(R(290,e))}return e}function Ai(e,t){throw e=Object.prototype.toString.call(t),Error(R(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function cf(e){var t=e._init;return t(e._payload)}function fx(e){function t(g,f){if(e){var x=g.deletions;x===null?(g.deletions=[f],g.flags|=16):x.push(f)}}function n(g,f){if(!e)return null;for(;f!==null;)t(g,f),f=f.sibling;return null}function s(g,f){for(g=new Map;f!==null;)f.key!==null?g.set(f.key,f):g.set(f.index,f),f=f.sibling;return g}function a(g,f){return g=Un(g,f),g.index=0,g.sibling=null,g}function r(g,f,x){return g.index=x,e?(x=g.alternate,x!==null?(x=x.index,x<f?(g.flags|=2,f):x):(g.flags|=2,f)):(g.flags|=1048576,f)}function i(g){return e&&g.alternate===null&&(g.flags|=2),g}function o(g,f,x,P){return f===null||f.tag!==6?(f=oc(x,g.mode,P),f.return=g,f):(f=a(f,x),f.return=g,f)}function c(g,f,x,P){var C=x.type;return C===qs?u(g,f,x.props.children,P,x.key):f!==null&&(f.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===jn&&cf(C)===f.type)?(P=a(f,x.props),P.ref=Qa(g,f,x),P.return=g,P):(P=to(x.type,x.key,x.props,null,g.mode,P),P.ref=Qa(g,f,x),P.return=g,P)}function d(g,f,x,P){return f===null||f.tag!==4||f.stateNode.containerInfo!==x.containerInfo||f.stateNode.implementation!==x.implementation?(f=lc(x,g.mode,P),f.return=g,f):(f=a(f,x.children||[]),f.return=g,f)}function u(g,f,x,P,C){return f===null||f.tag!==7?(f=Es(x,g.mode,P,C),f.return=g,f):(f=a(f,x),f.return=g,f)}function p(g,f,x){if(typeof f=="string"&&f!==""||typeof f=="number")return f=oc(""+f,g.mode,x),f.return=g,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case yi:return x=to(f.type,f.key,f.props,null,g.mode,x),x.ref=Qa(g,null,f),x.return=g,x;case Hs:return f=lc(f,g.mode,x),f.return=g,f;case jn:var P=f._init;return p(g,P(f._payload),x)}if(rr(f)||$a(f))return f=Es(f,g.mode,x,null),f.return=g,f;Ai(g,f)}return null}function h(g,f,x,P){var C=f!==null?f.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return C!==null?null:o(g,f,""+x,P);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case yi:return x.key===C?c(g,f,x,P):null;case Hs:return x.key===C?d(g,f,x,P):null;case jn:return C=x._init,h(g,f,C(x._payload),P)}if(rr(x)||$a(x))return C!==null?null:u(g,f,x,P,null);Ai(g,x)}return null}function m(g,f,x,P,C){if(typeof P=="string"&&P!==""||typeof P=="number")return g=g.get(x)||null,o(f,g,""+P,C);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case yi:return g=g.get(P.key===null?x:P.key)||null,c(f,g,P,C);case Hs:return g=g.get(P.key===null?x:P.key)||null,d(f,g,P,C);case jn:var E=P._init;return m(g,f,x,E(P._payload),C)}if(rr(P)||$a(P))return g=g.get(x)||null,u(f,g,P,C,null);Ai(f,P)}return null}function y(g,f,x,P){for(var C=null,E=null,k=f,j=f=0,N=null;k!==null&&j<x.length;j++){k.index>j?(N=k,k=null):N=k.sibling;var T=h(g,k,x[j],P);if(T===null){k===null&&(k=N);break}e&&k&&T.alternate===null&&t(g,k),f=r(T,f,j),E===null?C=T:E.sibling=T,E=T,k=N}if(j===x.length)return n(g,k),re&&ls(g,j),C;if(k===null){for(;j<x.length;j++)k=p(g,x[j],P),k!==null&&(f=r(k,f,j),E===null?C=k:E.sibling=k,E=k);return re&&ls(g,j),C}for(k=s(g,k);j<x.length;j++)N=m(k,g,j,x[j],P),N!==null&&(e&&N.alternate!==null&&k.delete(N.key===null?j:N.key),f=r(N,f,j),E===null?C=N:E.sibling=N,E=N);return e&&k.forEach(function(F){return t(g,F)}),re&&ls(g,j),C}function v(g,f,x,P){var C=$a(x);if(typeof C!="function")throw Error(R(150));if(x=C.call(x),x==null)throw Error(R(151));for(var E=C=null,k=f,j=f=0,N=null,T=x.next();k!==null&&!T.done;j++,T=x.next()){k.index>j?(N=k,k=null):N=k.sibling;var F=h(g,k,T.value,P);if(F===null){k===null&&(k=N);break}e&&k&&F.alternate===null&&t(g,k),f=r(F,f,j),E===null?C=F:E.sibling=F,E=F,k=N}if(T.done)return n(g,k),re&&ls(g,j),C;if(k===null){for(;!T.done;j++,T=x.next())T=p(g,T.value,P),T!==null&&(f=r(T,f,j),E===null?C=T:E.sibling=T,E=T);return re&&ls(g,j),C}for(k=s(g,k);!T.done;j++,T=x.next())T=m(k,g,j,T.value,P),T!==null&&(e&&T.alternate!==null&&k.delete(T.key===null?j:T.key),f=r(T,f,j),E===null?C=T:E.sibling=T,E=T);return e&&k.forEach(function(O){return t(g,O)}),re&&ls(g,j),C}function b(g,f,x,P){if(typeof x=="object"&&x!==null&&x.type===qs&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case yi:e:{for(var C=x.key,E=f;E!==null;){if(E.key===C){if(C=x.type,C===qs){if(E.tag===7){n(g,E.sibling),f=a(E,x.props.children),f.return=g,g=f;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===jn&&cf(C)===E.type){n(g,E.sibling),f=a(E,x.props),f.ref=Qa(g,E,x),f.return=g,g=f;break e}n(g,E);break}else t(g,E);E=E.sibling}x.type===qs?(f=Es(x.props.children,g.mode,P,x.key),f.return=g,g=f):(P=to(x.type,x.key,x.props,null,g.mode,P),P.ref=Qa(g,f,x),P.return=g,g=P)}return i(g);case Hs:e:{for(E=x.key;f!==null;){if(f.key===E)if(f.tag===4&&f.stateNode.containerInfo===x.containerInfo&&f.stateNode.implementation===x.implementation){n(g,f.sibling),f=a(f,x.children||[]),f.return=g,g=f;break e}else{n(g,f);break}else t(g,f);f=f.sibling}f=lc(x,g.mode,P),f.return=g,g=f}return i(g);case jn:return E=x._init,b(g,f,E(x._payload),P)}if(rr(x))return y(g,f,x,P);if($a(x))return v(g,f,x,P);Ai(g,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,f!==null&&f.tag===6?(n(g,f.sibling),f=a(f,x),f.return=g,g=f):(n(g,f),f=oc(x,g.mode,P),f.return=g,g=f),i(g)):n(g,f)}return b}var ja=fx(!0),mx=fx(!1),Ao=ns(null),To=null,Xs=null,Yu=null;function Qu(){Yu=Xs=To=null}function Xu(e){var t=Ao.current;ae(Ao),e._currentValue=t}function fd(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 oa(e,t){To=e,Yu=Xs=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ke=!0),e.firstContext=null)}function gt(e){var t=e._currentValue;if(Yu!==e)if(e={context:e,memoizedValue:t,next:null},Xs===null){if(To===null)throw Error(R(308));Xs=e,To.dependencies={lanes:0,firstContext:e}}else Xs=Xs.next=e;return t}var ps=null;function Zu(e){ps===null?ps=[e]:ps.push(e)}function gx(e,t,n,s){var a=t.interleaved;return a===null?(n.next=n,Zu(t)):(n.next=a.next,a.next=n),t.interleaved=n,fn(e,s)}function fn(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 kn=!1;function Ju(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function yx(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 qn(e,t,n){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,Y&2){var a=s.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),s.pending=t,fn(e,n)}return a=s.interleaved,a===null?(t.next=t,Zu(s)):(t.next=a.next,a.next=t),s.interleaved=t,fn(e,n)}function Yi(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,Lu(e,n)}}function df(e,t){var n=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,n===s)){var a=null,r=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};r===null?a=r=i:r=r.next=i,n=n.next}while(n!==null);r===null?a=r=t:r=r.next=t}else a=r=t;n={baseState:s.baseState,firstBaseUpdate:a,lastBaseUpdate:r,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 No(e,t,n,s){var a=e.updateQueue;kn=!1;var r=a.firstBaseUpdate,i=a.lastBaseUpdate,o=a.shared.pending;if(o!==null){a.shared.pending=null;var c=o,d=c.next;c.next=null,i===null?r=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(r!==null){var p=a.baseState;i=0,u=d=c=null,o=r;do{var h=o.lane,m=o.eventTime;if((s&h)===h){u!==null&&(u=u.next={eventTime:m,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var y=e,v=o;switch(h=t,m=n,v.tag){case 1:if(y=v.payload,typeof y=="function"){p=y.call(m,p,h);break e}p=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=v.payload,h=typeof y=="function"?y.call(m,p,h):y,h==null)break e;p=le({},p,h);break e;case 2:kn=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,h=a.effects,h===null?a.effects=[o]:h.push(o))}else m={eventTime:m,lane:h,tag:o.tag,payload:o.payload,callback:o.callback,next:null},u===null?(d=u=m,c=p):u=u.next=m,i|=h;if(o=o.next,o===null){if(o=a.shared.pending,o===null)break;h=o,o=h.next,h.next=null,a.lastBaseUpdate=h,a.shared.pending=null}}while(!0);if(u===null&&(c=p),a.baseState=c,a.firstBaseUpdate=d,a.lastBaseUpdate=u,t=a.shared.interleaved,t!==null){a=t;do i|=a.lane,a=a.next;while(a!==t)}else r===null&&(a.shared.lanes=0);Ns|=i,e.lanes=i,e.memoizedState=p}}function uf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var s=e[t],a=s.callback;if(a!==null){if(s.callback=null,s=n,typeof a!="function")throw Error(R(191,a));a.call(s)}}}var si={},Kt=ns(si),Ir=ns(si),Fr=ns(si);function hs(e){if(e===si)throw Error(R(174));return e}function ep(e,t){switch(ee(Fr,t),ee(Ir,e),ee(Kt,si),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)}ae(Kt),ee(Kt,t)}function ka(){ae(Kt),ae(Ir),ae(Fr)}function xx(e){hs(Fr.current);var t=hs(Kt.current),n=Gc(t,e.type);t!==n&&(ee(Ir,e),ee(Kt,n))}function tp(e){Ir.current===e&&(ae(Kt),ae(Ir))}var ie=ns(0);function Ro(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 tc=[];function np(){for(var e=0;e<tc.length;e++)tc[e]._workInProgressVersionPrimary=null;tc.length=0}var Qi=xn.ReactCurrentDispatcher,nc=xn.ReactCurrentBatchConfig,Ts=0,oe=null,xe=null,Pe=null,Do=!1,fr=!1,zr=0,eC=0;function De(){throw Error(R(321))}function sp(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Dt(e[n],t[n]))return!1;return!0}function ap(e,t,n,s,a,r){if(Ts=r,oe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Qi.current=e===null||e.memoizedState===null?aC:rC,e=n(s,a),fr){r=0;do{if(fr=!1,zr=0,25<=r)throw Error(R(301));r+=1,Pe=xe=null,t.updateQueue=null,Qi.current=iC,e=n(s,a)}while(fr)}if(Qi.current=Mo,t=xe!==null&&xe.next!==null,Ts=0,Pe=xe=oe=null,Do=!1,t)throw Error(R(300));return e}function rp(){var e=zr!==0;return zr=0,e}function zt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pe===null?oe.memoizedState=Pe=e:Pe=Pe.next=e,Pe}function yt(){if(xe===null){var e=oe.alternate;e=e!==null?e.memoizedState:null}else e=xe.next;var t=Pe===null?oe.memoizedState:Pe.next;if(t!==null)Pe=t,xe=e;else{if(e===null)throw Error(R(310));xe=e,e={memoizedState:xe.memoizedState,baseState:xe.baseState,baseQueue:xe.baseQueue,queue:xe.queue,next:null},Pe===null?oe.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function Lr(e,t){return typeof t=="function"?t(e):t}function sc(e){var t=yt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var s=xe,a=s.baseQueue,r=n.pending;if(r!==null){if(a!==null){var i=a.next;a.next=r.next,r.next=i}s.baseQueue=a=r,n.pending=null}if(a!==null){r=a.next,s=s.baseState;var o=i=null,c=null,d=r;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 p={lane:u,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};c===null?(o=c=p,i=s):c=c.next=p,oe.lanes|=u,Ns|=u}d=d.next}while(d!==null&&d!==r);c===null?i=s:c.next=o,Dt(s,t.memoizedState)||(Ke=!0),t.memoizedState=s,t.baseState=i,t.baseQueue=c,n.lastRenderedState=s}if(e=n.interleaved,e!==null){a=e;do r=a.lane,oe.lanes|=r,Ns|=r,a=a.next;while(a!==e)}else a===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ac(e){var t=yt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var s=n.dispatch,a=n.pending,r=t.memoizedState;if(a!==null){n.pending=null;var i=a=a.next;do r=e(r,i.action),i=i.next;while(i!==a);Dt(r,t.memoizedState)||(Ke=!0),t.memoizedState=r,t.baseQueue===null&&(t.baseState=r),n.lastRenderedState=r}return[r,s]}function vx(){}function wx(e,t){var n=oe,s=yt(),a=t(),r=!Dt(s.memoizedState,a);if(r&&(s.memoizedState=a,Ke=!0),s=s.queue,ip(Cx.bind(null,n,s,e),[e]),s.getSnapshot!==t||r||Pe!==null&&Pe.memoizedState.tag&1){if(n.flags|=2048,Vr(9,Px.bind(null,n,s,a,t),void 0,null),Ce===null)throw Error(R(349));Ts&30||bx(n,t,a)}return a}function bx(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 Px(e,t,n,s){t.value=n,t.getSnapshot=s,Ex(t)&&jx(e)}function Cx(e,t,n){return n(function(){Ex(t)&&jx(e)})}function Ex(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Dt(e,n)}catch{return!0}}function jx(e){var t=fn(e,1);t!==null&&Nt(t,e,1,-1)}function pf(e){var t=zt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Lr,lastRenderedState:e},t.queue=e,e=e.dispatch=sC.bind(null,oe,e),[t.memoizedState,e]}function Vr(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 kx(){return yt().memoizedState}function Xi(e,t,n,s){var a=zt();oe.flags|=e,a.memoizedState=Vr(1|t,n,void 0,s===void 0?null:s)}function ul(e,t,n,s){var a=yt();s=s===void 0?null:s;var r=void 0;if(xe!==null){var i=xe.memoizedState;if(r=i.destroy,s!==null&&sp(s,i.deps)){a.memoizedState=Vr(t,n,r,s);return}}oe.flags|=e,a.memoizedState=Vr(1|t,n,r,s)}function hf(e,t){return Xi(8390656,8,e,t)}function ip(e,t){return ul(2048,8,e,t)}function Sx(e,t){return ul(4,2,e,t)}function Ax(e,t){return ul(4,4,e,t)}function Tx(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 Nx(e,t,n){return n=n!=null?n.concat([e]):null,ul(4,4,Tx.bind(null,t,e),n)}function op(){}function Rx(e,t){var n=yt();t=t===void 0?null:t;var s=n.memoizedState;return s!==null&&t!==null&&sp(t,s[1])?s[0]:(n.memoizedState=[e,t],e)}function Dx(e,t){var n=yt();t=t===void 0?null:t;var s=n.memoizedState;return s!==null&&t!==null&&sp(t,s[1])?s[0]:(e=e(),n.memoizedState=[e,t],e)}function Mx(e,t,n){return Ts&21?(Dt(n,t)||(n=Ly(),oe.lanes|=n,Ns|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ke=!0),e.memoizedState=n)}function tC(e,t){var n=X;X=n!==0&&4>n?n:4,e(!0);var s=nc.transition;nc.transition={};try{e(!1),t()}finally{X=n,nc.transition=s}}function Ox(){return yt().memoizedState}function nC(e,t,n){var s=$n(e);if(n={lane:s,action:n,hasEagerState:!1,eagerState:null,next:null},Ix(e))Fx(t,n);else if(n=gx(e,t,n,s),n!==null){var a=He();Nt(n,e,s,a),zx(n,t,s)}}function sC(e,t,n){var s=$n(e),a={lane:s,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ix(e))Fx(t,a);else{var r=e.alternate;if(e.lanes===0&&(r===null||r.lanes===0)&&(r=t.lastRenderedReducer,r!==null))try{var i=t.lastRenderedState,o=r(i,n);if(a.hasEagerState=!0,a.eagerState=o,Dt(o,i)){var c=t.interleaved;c===null?(a.next=a,Zu(t)):(a.next=c.next,c.next=a),t.interleaved=a;return}}catch{}finally{}n=gx(e,t,a,s),n!==null&&(a=He(),Nt(n,e,s,a),zx(n,t,s))}}function Ix(e){var t=e.alternate;return e===oe||t!==null&&t===oe}function Fx(e,t){fr=Do=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zx(e,t,n){if(n&4194240){var s=t.lanes;s&=e.pendingLanes,n|=s,t.lanes=n,Lu(e,n)}}var Mo={readContext:gt,useCallback:De,useContext:De,useEffect:De,useImperativeHandle:De,useInsertionEffect:De,useLayoutEffect:De,useMemo:De,useReducer:De,useRef:De,useState:De,useDebugValue:De,useDeferredValue:De,useTransition:De,useMutableSource:De,useSyncExternalStore:De,useId:De,unstable_isNewReconciler:!1},aC={readContext:gt,useCallback:function(e,t){return zt().memoizedState=[e,t===void 0?null:t],e},useContext:gt,useEffect:hf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Xi(4194308,4,Tx.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Xi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Xi(4,2,e,t)},useMemo:function(e,t){var n=zt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var s=zt();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=nC.bind(null,oe,e),[s.memoizedState,e]},useRef:function(e){var t=zt();return e={current:e},t.memoizedState=e},useState:pf,useDebugValue:op,useDeferredValue:function(e){return zt().memoizedState=e},useTransition:function(){var e=pf(!1),t=e[0];return e=tC.bind(null,e[1]),zt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var s=oe,a=zt();if(re){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),Ce===null)throw Error(R(349));Ts&30||bx(s,t,n)}a.memoizedState=n;var r={value:n,getSnapshot:t};return a.queue=r,hf(Cx.bind(null,s,r,e),[e]),s.flags|=2048,Vr(9,Px.bind(null,s,r,n,t),void 0,null),n},useId:function(){var e=zt(),t=Ce.identifierPrefix;if(re){var n=ln,s=on;n=(s&~(1<<32-Tt(s)-1)).toString(32)+n,t=":"+t+"R"+n,n=zr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=eC++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},rC={readContext:gt,useCallback:Rx,useContext:gt,useEffect:ip,useImperativeHandle:Nx,useInsertionEffect:Sx,useLayoutEffect:Ax,useMemo:Dx,useReducer:sc,useRef:kx,useState:function(){return sc(Lr)},useDebugValue:op,useDeferredValue:function(e){var t=yt();return Mx(t,xe.memoizedState,e)},useTransition:function(){var e=sc(Lr)[0],t=yt().memoizedState;return[e,t]},useMutableSource:vx,useSyncExternalStore:wx,useId:Ox,unstable_isNewReconciler:!1},iC={readContext:gt,useCallback:Rx,useContext:gt,useEffect:ip,useImperativeHandle:Nx,useInsertionEffect:Sx,useLayoutEffect:Ax,useMemo:Dx,useReducer:ac,useRef:kx,useState:function(){return ac(Lr)},useDebugValue:op,useDeferredValue:function(e){var t=yt();return xe===null?t.memoizedState=e:Mx(t,xe.memoizedState,e)},useTransition:function(){var e=ac(Lr)[0],t=yt().memoizedState;return[e,t]},useMutableSource:vx,useSyncExternalStore:wx,useId:Ox,unstable_isNewReconciler:!1};function Ct(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=He(),a=$n(e),r=cn(s,a);r.payload=t,n!=null&&(r.callback=n),t=qn(e,r,a),t!==null&&(Nt(t,e,a,s),Yi(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var s=He(),a=$n(e),r=cn(s,a);r.tag=1,r.payload=t,n!=null&&(r.callback=n),t=qn(e,r,a),t!==null&&(Nt(t,e,a,s),Yi(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=He(),s=$n(e),a=cn(n,s);a.tag=2,t!=null&&(a.callback=t),t=qn(e,a,s),t!==null&&(Nt(t,e,s,n),Yi(t,e,s))}};function ff(e,t,n,s,a,r,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,r,i):t.prototype&&t.prototype.isPureReactComponent?!Rr(n,s)||!Rr(a,r):!0}function Lx(e,t,n){var s=!1,a=Yn,r=t.contextType;return typeof r=="object"&&r!==null?r=gt(r):(a=Ye(t)?Ss:Fe.current,s=t.contextTypes,r=(s=s!=null)?Ca(e,a):Yn),t=new t(n,r),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=a,e.__reactInternalMemoizedMaskedChildContext=r),t}function mf(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 a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},Ju(e);var r=t.contextType;typeof r=="object"&&r!==null?a.context=gt(r):(r=Ye(t)?Ss:Fe.current,a.context=Ca(e,r)),a.state=e.memoizedState,r=t.getDerivedStateFromProps,typeof r=="function"&&(md(e,t,r,n),a.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof a.getSnapshotBeforeUpdate=="function"||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(t=a.state,typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),t!==a.state&&pl.enqueueReplaceState(a,a.state,null),No(e,n,a,s),a.state=e.memoizedState),typeof a.componentDidMount=="function"&&(e.flags|=4194308)}function Sa(e,t){try{var n="",s=t;do n+=O1(s),s=s.return;while(s);var a=n}catch(r){a=`
Error generating stack: `+r.message+`
`+r.stack}return{value:e,source:t,stack:a,digest:null}}function rc(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 oC=typeof WeakMap=="function"?WeakMap:Map;function Vx(e,t,n){n=cn(-1,n),n.tag=3,n.payload={element:null};var s=t.value;return n.callback=function(){Io||(Io=!0,Sd=s),yd(e,t)},n}function _x(e,t,n){n=cn(-1,n),n.tag=3;var s=e.type.getDerivedStateFromError;if(typeof s=="function"){var a=t.value;n.payload=function(){return s(a)},n.callback=function(){yd(e,t)}}var r=e.stateNode;return r!==null&&typeof r.componentDidCatch=="function"&&(n.callback=function(){yd(e,t),typeof s!="function"&&(Wn===null?Wn=new Set([this]):Wn.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function gf(e,t,n){var s=e.pingCache;if(s===null){s=e.pingCache=new oC;var a=new Set;s.set(t,a)}else a=s.get(t),a===void 0&&(a=new Set,s.set(t,a));a.has(n)||(a.add(n),e=bC.bind(null,e,t,n),t.then(e,e))}function yf(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 xf(e,t,n,s,a){return e.mode&1?(e.flags|=65536,e.lanes=a,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,qn(n,t,1))),n.lanes|=1),e)}var lC=xn.ReactCurrentOwner,Ke=!1;function ze(e,t,n,s){t.child=e===null?mx(t,null,n,s):ja(t,e.child,n,s)}function vf(e,t,n,s,a){n=n.render;var r=t.ref;return oa(t,a),s=ap(e,t,n,s,r,a),n=rp(),e!==null&&!Ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,mn(e,t,a)):(re&&n&&Uu(t),t.flags|=1,ze(e,t,s,a),t.child)}function wf(e,t,n,s,a){if(e===null){var r=n.type;return typeof r=="function"&&!mp(r)&&r.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=r,Bx(e,t,r,s,a)):(e=to(n.type,null,s,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(r=e.child,!(e.lanes&a)){var i=r.memoizedProps;if(n=n.compare,n=n!==null?n:Rr,n(i,s)&&e.ref===t.ref)return mn(e,t,a)}return t.flags|=1,e=Un(r,s),e.ref=t.ref,e.return=t,t.child=e}function Bx(e,t,n,s,a){if(e!==null){var r=e.memoizedProps;if(Rr(r,s)&&e.ref===t.ref)if(Ke=!1,t.pendingProps=s=r,(e.lanes&a)!==0)e.flags&131072&&(Ke=!0);else return t.lanes=e.lanes,mn(e,t,a)}return xd(e,t,n,s,a)}function Hx(e,t,n){var s=t.pendingProps,a=s.children,r=e!==null?e.memoizedState:null;if(s.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ee(Js,Xe),Xe|=n;else{if(!(n&1073741824))return e=r!==null?r.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ee(Js,Xe),Xe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},s=r!==null?r.baseLanes:n,ee(Js,Xe),Xe|=s}else r!==null?(s=r.baseLanes|n,t.memoizedState=null):s=n,ee(Js,Xe),Xe|=s;return ze(e,t,a,n),t.child}function qx(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,a){var r=Ye(n)?Ss:Fe.current;return r=Ca(t,r),oa(t,a),n=ap(e,t,n,s,r,a),s=rp(),e!==null&&!Ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,mn(e,t,a)):(re&&s&&Uu(t),t.flags|=1,ze(e,t,n,a),t.child)}function bf(e,t,n,s,a){if(Ye(n)){var r=!0;jo(t)}else r=!1;if(oa(t,a),t.stateNode===null)Zi(e,t),Lx(t,n,s),gd(t,n,s,a),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=gt(d):(d=Ye(n)?Ss:Fe.current,d=Ca(t,d));var u=n.getDerivedStateFromProps,p=typeof u=="function"||typeof i.getSnapshotBeforeUpdate=="function";p||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==s||c!==d)&&mf(t,i,s,d),kn=!1;var h=t.memoizedState;i.state=h,No(t,s,i,a),c=t.memoizedState,o!==s||h!==c||Ge.current||kn?(typeof u=="function"&&(md(t,n,u,s),c=t.memoizedState),(o=kn||ff(t,n,o,s,h,c,d))?(p||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,yx(e,t),o=t.memoizedProps,d=t.type===t.elementType?o:Ct(t.type,o),i.props=d,p=t.pendingProps,h=i.context,c=n.contextType,typeof c=="object"&&c!==null?c=gt(c):(c=Ye(n)?Ss:Fe.current,c=Ca(t,c));var m=n.getDerivedStateFromProps;(u=typeof m=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==p||h!==c)&&mf(t,i,s,c),kn=!1,h=t.memoizedState,i.state=h,No(t,s,i,a);var y=t.memoizedState;o!==p||h!==y||Ge.current||kn?(typeof m=="function"&&(md(t,n,m,s),y=t.memoizedState),(d=kn||ff(t,n,d,s,h,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&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&h===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&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),s=!1)}return vd(e,t,n,s,r,a)}function vd(e,t,n,s,a,r){qx(e,t);var i=(t.flags&128)!==0;if(!s&&!i)return a&&rf(t,n,!1),mn(e,t,r);s=t.stateNode,lC.current=t;var o=i&&typeof n.getDerivedStateFromError!="function"?null:s.render();return t.flags|=1,e!==null&&i?(t.child=ja(t,e.child,null,r),t.child=ja(t,null,o,r)):ze(e,t,o,r),t.memoizedState=s.state,a&&rf(t,n,!0),t.child}function Wx(e){var t=e.stateNode;t.pendingContext?af(e,t.pendingContext,t.pendingContext!==t.context):t.context&&af(e,t.context,!1),ep(e,t.containerInfo)}function Pf(e,t,n,s,a){return Ea(),Gu(a),t.flags|=256,ze(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 $x(e,t,n){var s=t.pendingProps,a=ie.current,r=!1,i=(t.flags&128)!==0,o;if((o=i)||(o=e!==null&&e.memoizedState===null?!1:(a&2)!==0),o?(r=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(a|=1),ee(ie,a&1),e===null)return hd(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,r?(s=t.mode,r=t.child,i={mode:"hidden",children:i},!(s&1)&&r!==null?(r.childLanes=0,r.pendingProps=i):r=ml(i,s,0,null),e=Es(e,s,n,null),r.return=t,e.return=t,r.sibling=e,t.child=r,t.child.memoizedState=bd(n),t.memoizedState=wd,e):lp(t,i));if(a=e.memoizedState,a!==null&&(o=a.dehydrated,o!==null))return cC(e,t,i,s,o,a,n);if(r){r=s.fallback,i=t.mode,a=e.child,o=a.sibling;var c={mode:"hidden",children:s.children};return!(i&1)&&t.child!==a?(s=t.child,s.childLanes=0,s.pendingProps=c,t.deletions=null):(s=Un(a,c),s.subtreeFlags=a.subtreeFlags&14680064),o!==null?r=Un(o,r):(r=Es(r,i,n,null),r.flags|=2),r.return=t,s.return=t,s.sibling=r,t.child=s,s=r,r=t.child,i=e.child.memoizedState,i=i===null?bd(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},r.memoizedState=i,r.childLanes=e.childLanes&~n,t.memoizedState=wd,s}return r=e.child,e=r.sibling,s=Un(r,{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 lp(e,t){return t=ml({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ti(e,t,n,s){return s!==null&&Gu(s),ja(t,e.child,null,n),e=lp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function cC(e,t,n,s,a,r,i){if(n)return t.flags&256?(t.flags&=-257,s=rc(Error(R(422))),Ti(e,t,i,s)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(r=s.fallback,a=t.mode,s=ml({mode:"visible",children:s.children},a,0,null),r=Es(r,a,i,null),r.flags|=2,s.return=t,r.return=t,s.sibling=r,t.child=s,t.mode&1&&ja(t,e.child,null,i),t.child.memoizedState=bd(i),t.memoizedState=wd,r);if(!(t.mode&1))return Ti(e,t,i,null);if(a.data==="$!"){if(s=a.nextSibling&&a.nextSibling.dataset,s)var o=s.dgst;return s=o,r=Error(R(419)),s=rc(r,s,void 0),Ti(e,t,i,s)}if(o=(i&e.childLanes)!==0,Ke||o){if(s=Ce,s!==null){switch(i&-i){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}a=a&(s.suspendedLanes|i)?0:a,a!==0&&a!==r.retryLane&&(r.retryLane=a,fn(e,a),Nt(s,e,a,-1))}return fp(),s=rc(Error(R(421))),Ti(e,t,i,s)}return a.data==="$?"?(t.flags|=128,t.child=e.child,t=PC.bind(null,e),a._reactRetry=t,null):(e=r.treeContext,et=Hn(a.nextSibling),tt=t,re=!0,St=null,e!==null&&(dt[ut++]=on,dt[ut++]=ln,dt[ut++]=As,on=e.id,ln=e.overflow,As=t),t=lp(t,s.children),t.flags|=4096,t)}function Cf(e,t,n){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),fd(e.return,t,n)}function ic(e,t,n,s,a){var r=e.memoizedState;r===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:n,tailMode:a}:(r.isBackwards=t,r.rendering=null,r.renderingStartTime=0,r.last=s,r.tail=n,r.tailMode=a)}function Ux(e,t,n){var s=t.pendingProps,a=s.revealOrder,r=s.tail;if(ze(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&&Cf(e,n,t);else if(e.tag===19)Cf(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(ee(ie,s),!(t.mode&1))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;n!==null;)e=n.alternate,e!==null&&Ro(e)===null&&(a=n),n=n.sibling;n=a,n===null?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),ic(t,!1,a,n,r);break;case"backwards":for(n=null,a=t.child,t.child=null;a!==null;){if(e=a.alternate,e!==null&&Ro(e)===null){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}ic(t,!0,n,null,r);break;case"together":ic(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Zi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function mn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ns|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(R(153));if(t.child!==null){for(e=t.child,n=Un(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Un(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function dC(e,t,n){switch(t.tag){case 3:Wx(t),Ea();break;case 5:xx(t);break;case 1:Ye(t.type)&&jo(t);break;case 4:ep(t,t.stateNode.containerInfo);break;case 10:var s=t.type._context,a=t.memoizedProps.value;ee(Ao,s._currentValue),s._currentValue=a;break;case 13:if(s=t.memoizedState,s!==null)return s.dehydrated!==null?(ee(ie,ie.current&1),t.flags|=128,null):n&t.child.childLanes?$x(e,t,n):(ee(ie,ie.current&1),e=mn(e,t,n),e!==null?e.sibling:null);ee(ie,ie.current&1);break;case 19:if(s=(n&t.childLanes)!==0,e.flags&128){if(s)return Ux(e,t,n);t.flags|=128}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),ee(ie,ie.current),s)break;return null;case 22:case 23:return t.lanes=0,Hx(e,t,n)}return mn(e,t,n)}var Kx,Pd,Gx,Yx;Kx=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(){};Gx=function(e,t,n,s){var a=e.memoizedProps;if(a!==s){e=t.stateNode,hs(Kt.current);var r=null;switch(n){case"input":a=Wc(e,a),s=Wc(e,s),r=[];break;case"select":a=le({},a,{value:void 0}),s=le({},s,{value:void 0}),r=[];break;case"textarea":a=Kc(e,a),s=Kc(e,s),r=[];break;default:typeof a.onClick!="function"&&typeof s.onClick=="function"&&(e.onclick=Co)}Yc(n,s);var i;n=null;for(d in a)if(!s.hasOwnProperty(d)&&a.hasOwnProperty(d)&&a[d]!=null)if(d==="style"){var o=a[d];for(i in o)o.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(Er.hasOwnProperty(d)?r||(r=[]):(r=r||[]).push(d,null));for(d in s){var c=s[d];if(o=a!=null?a[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||(r||(r=[]),r.push(d,n)),n=c;else d==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,o=o?o.__html:void 0,c!=null&&o!==c&&(r=r||[]).push(d,c)):d==="children"?typeof c!="string"&&typeof c!="number"||(r=r||[]).push(d,""+c):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(Er.hasOwnProperty(d)?(c!=null&&d==="onScroll"&&se("scroll",e),r||o===c||(r=[])):(r=r||[]).push(d,c))}n&&(r=r||[]).push("style",n);var d=r;(t.updateQueue=d)&&(t.flags|=4)}};Yx=function(e,t,n,s){n!==s&&(t.flags|=4)};function Xa(e,t){if(!re)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 Me(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,s=0;if(t)for(var a=e.child;a!==null;)n|=a.lanes|a.childLanes,s|=a.subtreeFlags&14680064,s|=a.flags&14680064,a.return=e,a=a.sibling;else for(a=e.child;a!==null;)n|=a.lanes|a.childLanes,s|=a.subtreeFlags,s|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=s,e.childLanes=n,t}function uC(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 Me(t),null;case 1:return Ye(t.type)&&Eo(),Me(t),null;case 3:return s=t.stateNode,ka(),ae(Ge),ae(Fe),np(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&(Si(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,St!==null&&(Nd(St),St=null))),Pd(e,t),Me(t),null;case 5:tp(t);var a=hs(Fr.current);if(n=t.type,e!==null&&t.stateNode!=null)Gx(e,t,n,s,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!s){if(t.stateNode===null)throw Error(R(166));return Me(t),null}if(e=hs(Kt.current),Si(t)){s=t.stateNode,n=t.type;var r=t.memoizedProps;switch(s[qt]=t,s[Or]=r,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(a=0;a<or.length;a++)se(or[a],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":Rh(s,r),se("invalid",s);break;case"select":s._wrapperState={wasMultiple:!!r.multiple},se("invalid",s);break;case"textarea":Mh(s,r),se("invalid",s)}Yc(n,r),a=null;for(var i in r)if(r.hasOwnProperty(i)){var o=r[i];i==="children"?typeof o=="string"?s.textContent!==o&&(r.suppressHydrationWarning!==!0&&ki(s.textContent,o,e),a=["children",o]):typeof o=="number"&&s.textContent!==""+o&&(r.suppressHydrationWarning!==!0&&ki(s.textContent,o,e),a=["children",""+o]):Er.hasOwnProperty(i)&&o!=null&&i==="onScroll"&&se("scroll",s)}switch(n){case"input":xi(s),Dh(s,r,!0);break;case"textarea":xi(s),Oh(s);break;case"select":case"option":break;default:typeof r.onClick=="function"&&(s.onclick=Co)}s=a,t.updateQueue=s,s!==null&&(t.flags|=4)}else{i=a.nodeType===9?a:a.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Cy(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[qt]=t,e[Or]=s,Kx(e,t,!1,!1),t.stateNode=e;e:{switch(i=Qc(n,s),n){case"dialog":se("cancel",e),se("close",e),a=s;break;case"iframe":case"object":case"embed":se("load",e),a=s;break;case"video":case"audio":for(a=0;a<or.length;a++)se(or[a],e);a=s;break;case"source":se("error",e),a=s;break;case"img":case"image":case"link":se("error",e),se("load",e),a=s;break;case"details":se("toggle",e),a=s;break;case"input":Rh(e,s),a=Wc(e,s),se("invalid",e);break;case"option":a=s;break;case"select":e._wrapperState={wasMultiple:!!s.multiple},a=le({},s,{value:void 0}),se("invalid",e);break;case"textarea":Mh(e,s),a=Kc(e,s),se("invalid",e);break;default:a=s}Yc(n,a),o=a;for(r in o)if(o.hasOwnProperty(r)){var c=o[r];r==="style"?ky(e,c):r==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&Ey(e,c)):r==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&jr(e,c):typeof c=="number"&&jr(e,""+c):r!=="suppressContentEditableWarning"&&r!=="suppressHydrationWarning"&&r!=="autoFocus"&&(Er.hasOwnProperty(r)?c!=null&&r==="onScroll"&&se("scroll",e):c!=null&&Du(e,r,c,i))}switch(n){case"input":xi(e),Dh(e,s,!1);break;case"textarea":xi(e),Oh(e);break;case"option":s.value!=null&&e.setAttribute("value",""+Gn(s.value));break;case"select":e.multiple=!!s.multiple,r=s.value,r!=null?sa(e,!!s.multiple,r,!1):s.defaultValue!=null&&sa(e,!!s.multiple,s.defaultValue,!0);break;default:typeof a.onClick=="function"&&(e.onclick=Co)}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 Me(t),null;case 6:if(e&&t.stateNode!=null)Yx(e,t,e.memoizedProps,s);else{if(typeof s!="string"&&t.stateNode===null)throw Error(R(166));if(n=hs(Fr.current),hs(Kt.current),Si(t)){if(s=t.stateNode,n=t.memoizedProps,s[qt]=t,(r=s.nodeValue!==n)&&(e=tt,e!==null))switch(e.tag){case 3:ki(s.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ki(s.nodeValue,n,(e.mode&1)!==0)}r&&(t.flags|=4)}else s=(n.nodeType===9?n:n.ownerDocument).createTextNode(s),s[qt]=t,t.stateNode=s}return Me(t),null;case 13:if(ae(ie),s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(re&&et!==null&&t.mode&1&&!(t.flags&128))hx(),Ea(),t.flags|=98560,r=!1;else if(r=Si(t),s!==null&&s.dehydrated!==null){if(e===null){if(!r)throw Error(R(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(R(317));r[qt]=t}else Ea(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Me(t),r=!1}else St!==null&&(Nd(St),St=null),r=!0;if(!r)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?we===0&&(we=3):fp())),t.updateQueue!==null&&(t.flags|=4),Me(t),null);case 4:return ka(),Pd(e,t),e===null&&Dr(t.stateNode.containerInfo),Me(t),null;case 10:return Xu(t.type._context),Me(t),null;case 17:return Ye(t.type)&&Eo(),Me(t),null;case 19:if(ae(ie),r=t.memoizedState,r===null)return Me(t),null;if(s=(t.flags&128)!==0,i=r.rendering,i===null)if(s)Xa(r,!1);else{if(we!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Ro(e),i!==null){for(t.flags|=128,Xa(r,!1),s=i.updateQueue,s!==null&&(t.updateQueue=s,t.flags|=4),t.subtreeFlags=0,s=n,n=t.child;n!==null;)r=n,e=s,r.flags&=14680066,i=r.alternate,i===null?(r.childLanes=0,r.lanes=e,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=i.childLanes,r.lanes=i.lanes,r.child=i.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=i.memoizedProps,r.memoizedState=i.memoizedState,r.updateQueue=i.updateQueue,r.type=i.type,e=i.dependencies,r.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ee(ie,ie.current&1|2),t.child}e=e.sibling}r.tail!==null&&he()>Aa&&(t.flags|=128,s=!0,Xa(r,!1),t.lanes=4194304)}else{if(!s)if(e=Ro(i),e!==null){if(t.flags|=128,s=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Xa(r,!0),r.tail===null&&r.tailMode==="hidden"&&!i.alternate&&!re)return Me(t),null}else 2*he()-r.renderingStartTime>Aa&&n!==1073741824&&(t.flags|=128,s=!0,Xa(r,!1),t.lanes=4194304);r.isBackwards?(i.sibling=t.child,t.child=i):(n=r.last,n!==null?n.sibling=i:t.child=i,r.last=i)}return r.tail!==null?(t=r.tail,r.rendering=t,r.tail=t.sibling,r.renderingStartTime=he(),t.sibling=null,n=ie.current,ee(ie,s?n&1|2:n&1),t):(Me(t),null);case 22:case 23:return hp(),s=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==s&&(t.flags|=8192),s&&t.mode&1?Xe&1073741824&&(Me(t),t.subtreeFlags&6&&(t.flags|=8192)):Me(t),null;case 24:return null;case 25:return null}throw Error(R(156,t.tag))}function pC(e,t){switch(Ku(t),t.tag){case 1:return Ye(t.type)&&Eo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ka(),ae(Ge),ae(Fe),np(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return tp(t),null;case 13:if(ae(ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));Ea()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ae(ie),null;case 4:return ka(),null;case 10:return Xu(t.type._context),null;case 22:case 23:return hp(),null;case 24:return null;default:return null}}var Ni=!1,Ie=!1,hC=typeof WeakSet=="function"?WeakSet:Set,I=null;function Zs(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 Cd(e,t,n){try{n()}catch(s){ue(e,t,s)}}var Ef=!1;function fC(e,t){if(id=wo,e=ex(),$u(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 a=s.anchorOffset,r=s.focusNode;s=s.focusOffset;try{n.nodeType,r.nodeType}catch{n=null;break e}var i=0,o=-1,c=-1,d=0,u=0,p=e,h=null;t:for(;;){for(var m;p!==n||a!==0&&p.nodeType!==3||(o=i+a),p!==r||s!==0&&p.nodeType!==3||(c=i+s),p.nodeType===3&&(i+=p.nodeValue.length),(m=p.firstChild)!==null;)h=p,p=m;for(;;){if(p===e)break t;if(h===n&&++d===a&&(o=i),h===r&&++u===s&&(c=i),(m=p.nextSibling)!==null)break;p=h,h=p.parentNode}p=m}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},wo=!1,I=t;I!==null;)if(t=I,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,I=e;else for(;I!==null;){t=I;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,f=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:Ct(t.type,v),b);g.__reactInternalSnapshotBeforeUpdate=f}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(R(163))}}catch(P){ue(t,t.return,P)}if(e=t.sibling,e!==null){e.return=t.return,I=e;break}I=t.return}return y=Ef,Ef=!1,y}function mr(e,t,n){var s=t.updateQueue;if(s=s!==null?s.lastEffect:null,s!==null){var a=s=s.next;do{if((a.tag&e)===e){var r=a.destroy;a.destroy=void 0,r!==void 0&&Cd(t,n,r)}a=a.next}while(a!==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 Ed(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 Qx(e){var t=e.alternate;t!==null&&(e.alternate=null,Qx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[qt],delete t[Or],delete t[dd],delete t[QP],delete t[XP])),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 Xx(e){return e.tag===5||e.tag===3||e.tag===4}function jf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Xx(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=Co));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 kd(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(kd(e,t,n),e=e.sibling;e!==null;)kd(e,t,n),e=e.sibling}var Se=null,kt=!1;function wn(e,t,n){for(n=n.child;n!==null;)Zx(e,t,n),n=n.sibling}function Zx(e,t,n){if(Ut&&typeof Ut.onCommitFiberUnmount=="function")try{Ut.onCommitFiberUnmount(rl,n)}catch{}switch(n.tag){case 5:Ie||Zs(n,t);case 6:var s=Se,a=kt;Se=null,wn(e,t,n),Se=s,kt=a,Se!==null&&(kt?(e=Se,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Se.removeChild(n.stateNode));break;case 18:Se!==null&&(kt?(e=Se,n=n.stateNode,e.nodeType===8?Jl(e.parentNode,n):e.nodeType===1&&Jl(e,n),Tr(e)):Jl(Se,n.stateNode));break;case 4:s=Se,a=kt,Se=n.stateNode.containerInfo,kt=!0,wn(e,t,n),Se=s,kt=a;break;case 0:case 11:case 14:case 15:if(!Ie&&(s=n.updateQueue,s!==null&&(s=s.lastEffect,s!==null))){a=s=s.next;do{var r=a,i=r.destroy;r=r.tag,i!==void 0&&(r&2||r&4)&&Cd(n,t,i),a=a.next}while(a!==s)}wn(e,t,n);break;case 1:if(!Ie&&(Zs(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 kf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new hC),t.forEach(function(s){var a=CC.bind(null,e,s);n.has(s)||(n.add(s),s.then(a,a))})}}function wt(e,t){var n=t.deletions;if(n!==null)for(var s=0;s<n.length;s++){var a=n[s];try{var r=e,i=t,o=i;e:for(;o!==null;){switch(o.tag){case 5:Se=o.stateNode,kt=!1;break e;case 3:Se=o.stateNode.containerInfo,kt=!0;break e;case 4:Se=o.stateNode.containerInfo,kt=!0;break e}o=o.return}if(Se===null)throw Error(R(160));Zx(r,i,a),Se=null,kt=!1;var c=a.alternate;c!==null&&(c.return=null),a.return=null}catch(d){ue(a,t,d)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Jx(t,e),t=t.sibling}function Jx(e,t){var n=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(wt(t,e),Ft(e),s&4){try{mr(3,e,e.return),hl(3,e)}catch(v){ue(e,e.return,v)}try{mr(5,e,e.return)}catch(v){ue(e,e.return,v)}}break;case 1:wt(t,e),Ft(e),s&512&&n!==null&&Zs(n,n.return);break;case 5:if(wt(t,e),Ft(e),s&512&&n!==null&&Zs(n,n.return),e.flags&32){var a=e.stateNode;try{jr(a,"")}catch(v){ue(e,e.return,v)}}if(s&4&&(a=e.stateNode,a!=null)){var r=e.memoizedProps,i=n!==null?n.memoizedProps:r,o=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{o==="input"&&r.type==="radio"&&r.name!=null&&by(a,r),Qc(o,i);var d=Qc(o,r);for(i=0;i<c.length;i+=2){var u=c[i],p=c[i+1];u==="style"?ky(a,p):u==="dangerouslySetInnerHTML"?Ey(a,p):u==="children"?jr(a,p):Du(a,u,p,d)}switch(o){case"input":$c(a,r);break;case"textarea":Py(a,r);break;case"select":var h=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!r.multiple;var m=r.value;m!=null?sa(a,!!r.multiple,m,!1):h!==!!r.multiple&&(r.defaultValue!=null?sa(a,!!r.multiple,r.defaultValue,!0):sa(a,!!r.multiple,r.multiple?[]:"",!1))}a[Or]=r}catch(v){ue(e,e.return,v)}}break;case 6:if(wt(t,e),Ft(e),s&4){if(e.stateNode===null)throw Error(R(162));a=e.stateNode,r=e.memoizedProps;try{a.nodeValue=r}catch(v){ue(e,e.return,v)}}break;case 3:if(wt(t,e),Ft(e),s&4&&n!==null&&n.memoizedState.isDehydrated)try{Tr(t.containerInfo)}catch(v){ue(e,e.return,v)}break;case 4:wt(t,e),Ft(e);break;case 13:wt(t,e),Ft(e),a=e.child,a.flags&8192&&(r=a.memoizedState!==null,a.stateNode.isHidden=r,!r||a.alternate!==null&&a.alternate.memoizedState!==null||(up=he())),s&4&&kf(e);break;case 22:if(u=n!==null&&n.memoizedState!==null,e.mode&1?(Ie=(d=Ie)||u,wt(t,e),Ie=d):wt(t,e),Ft(e),s&8192){if(d=e.memoizedState!==null,(e.stateNode.isHidden=d)&&!u&&e.mode&1)for(I=e,u=e.child;u!==null;){for(p=I=u;I!==null;){switch(h=I,m=h.child,h.tag){case 0:case 11:case 14:case 15:mr(4,h,h.return);break;case 1:Zs(h,h.return);var y=h.stateNode;if(typeof y.componentWillUnmount=="function"){s=h,n=h.return;try{t=s,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(v){ue(s,n,v)}}break;case 5:Zs(h,h.return);break;case 22:if(h.memoizedState!==null){Af(p);continue}}m!==null?(m.return=h,I=m):Af(p)}u=u.sibling}e:for(u=null,p=e;;){if(p.tag===5){if(u===null){u=p;try{a=p.stateNode,d?(r=a.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none"):(o=p.stateNode,c=p.memoizedProps.style,i=c!=null&&c.hasOwnProperty("display")?c.display:null,o.style.display=jy("display",i))}catch(v){ue(e,e.return,v)}}}else if(p.tag===6){if(u===null)try{p.stateNode.nodeValue=d?"":p.memoizedProps}catch(v){ue(e,e.return,v)}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===e)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;p.sibling===null;){if(p.return===null||p.return===e)break e;u===p&&(u=null),p=p.return}u===p&&(u=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:wt(t,e),Ft(e),s&4&&kf(e);break;case 21:break;default:wt(t,e),Ft(e)}}function Ft(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Xx(n)){var s=n;break e}n=n.return}throw Error(R(160))}switch(s.tag){case 5:var a=s.stateNode;s.flags&32&&(jr(a,""),s.flags&=-33);var r=jf(e);kd(e,r,a);break;case 3:case 4:var i=s.stateNode.containerInfo,o=jf(e);jd(e,o,i);break;default:throw Error(R(161))}}catch(c){ue(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function mC(e,t,n){I=e,ev(e)}function ev(e,t,n){for(var s=(e.mode&1)!==0;I!==null;){var a=I,r=a.child;if(a.tag===22&&s){var i=a.memoizedState!==null||Ni;if(!i){var o=a.alternate,c=o!==null&&o.memoizedState!==null||Ie;o=Ni;var d=Ie;if(Ni=i,(Ie=c)&&!d)for(I=a;I!==null;)i=I,c=i.child,i.tag===22&&i.memoizedState!==null?Tf(a):c!==null?(c.return=i,I=c):Tf(a);for(;r!==null;)I=r,ev(r),r=r.sibling;I=a,Ni=o,Ie=d}Sf(e)}else a.subtreeFlags&8772&&r!==null?(r.return=a,I=r):Sf(e)}}function Sf(e){for(;I!==null;){var t=I;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 a=t.elementType===t.type?n.memoizedProps:Ct(t.type,n.memoizedProps);s.componentDidUpdate(a,n.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}var r=t.updateQueue;r!==null&&uf(t,r,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}uf(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 p=u.dehydrated;p!==null&&Tr(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(R(163))}Ie||t.flags&512&&Ed(t)}catch(h){ue(t,t.return,h)}}if(t===e){I=null;break}if(n=t.sibling,n!==null){n.return=t.return,I=n;break}I=t.return}}function Af(e){for(;I!==null;){var t=I;if(t===e){I=null;break}var n=t.sibling;if(n!==null){n.return=t.return,I=n;break}I=t.return}}function Tf(e){for(;I!==null;){var t=I;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 a=t.return;try{s.componentDidMount()}catch(c){ue(t,a,c)}}var r=t.return;try{Ed(t)}catch(c){ue(t,r,c)}break;case 5:var i=t.return;try{Ed(t)}catch(c){ue(t,i,c)}}}catch(c){ue(t,t.return,c)}if(t===e){I=null;break}var o=t.sibling;if(o!==null){o.return=t.return,I=o;break}I=t.return}}var gC=Math.ceil,Oo=xn.ReactCurrentDispatcher,cp=xn.ReactCurrentOwner,ft=xn.ReactCurrentBatchConfig,Y=0,Ce=null,me=null,Ne=0,Xe=0,Js=ns(0),we=0,_r=null,Ns=0,fl=0,dp=0,gr=null,Ue=null,up=0,Aa=1/0,sn=null,Io=!1,Sd=null,Wn=null,Ri=!1,Fn=null,Fo=0,yr=0,Ad=null,Ji=-1,eo=0;function He(){return Y&6?he():Ji!==-1?Ji:Ji=he()}function $n(e){return e.mode&1?Y&2&&Ne!==0?Ne&-Ne:JP.transition!==null?(eo===0&&(eo=Ly()),eo):(e=X,e!==0||(e=window.event,e=e===void 0?16:$y(e.type)),e):1}function Nt(e,t,n,s){if(50<yr)throw yr=0,Ad=null,Error(R(185));ei(e,n,s),(!(Y&2)||e!==Ce)&&(e===Ce&&(!(Y&2)&&(fl|=n),we===4&&An(e,Ne)),Qe(e,s),n===1&&Y===0&&!(t.mode&1)&&(Aa=he()+500,dl&&ss()))}function Qe(e,t){var n=e.callbackNode;J1(e,t);var s=vo(e,e===Ce?Ne:0);if(s===0)n!==null&&zh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=s&-s,e.callbackPriority!==t){if(n!=null&&zh(n),t===1)e.tag===0?ZP(Nf.bind(null,e)):dx(Nf.bind(null,e)),GP(function(){!(Y&6)&&ss()}),n=null;else{switch(Vy(s)){case 1:n=zu;break;case 4:n=Fy;break;case 16:n=xo;break;case 536870912:n=zy;break;default:n=xo}n=lv(n,tv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function tv(e,t){if(Ji=-1,eo=0,Y&6)throw Error(R(327));var n=e.callbackNode;if(la()&&e.callbackNode!==n)return null;var s=vo(e,e===Ce?Ne:0);if(s===0)return null;if(s&30||s&e.expiredLanes||t)t=zo(e,s);else{t=s;var a=Y;Y|=2;var r=sv();(Ce!==e||Ne!==t)&&(sn=null,Aa=he()+500,Cs(e,t));do try{vC();break}catch(o){nv(e,o)}while(!0);Qu(),Oo.current=r,Y=a,me!==null?t=0:(Ce=null,Ne=0,t=we)}if(t!==0){if(t===2&&(a=td(e),a!==0&&(s=a,t=Td(e,a))),t===1)throw n=_r,Cs(e,0),An(e,s),Qe(e,he()),n;if(t===6)An(e,s);else{if(a=e.current.alternate,!(s&30)&&!yC(a)&&(t=zo(e,s),t===2&&(r=td(e),r!==0&&(s=r,t=Td(e,r))),t===1))throw n=_r,Cs(e,0),An(e,s),Qe(e,he()),n;switch(e.finishedWork=a,e.finishedLanes=s,t){case 0:case 1:throw Error(R(345));case 2:cs(e,Ue,sn);break;case 3:if(An(e,s),(s&130023424)===s&&(t=up+500-he(),10<t)){if(vo(e,0)!==0)break;if(a=e.suspendedLanes,(a&s)!==s){He(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=cd(cs.bind(null,e,Ue,sn),t);break}cs(e,Ue,sn);break;case 4:if(An(e,s),(s&4194240)===s)break;for(t=e.eventTimes,a=-1;0<s;){var i=31-Tt(s);r=1<<i,i=t[i],i>a&&(a=i),s&=~r}if(s=a,s=he()-s,s=(120>s?120:480>s?480:1080>s?1080:1920>s?1920:3e3>s?3e3:4320>s?4320:1960*gC(s/1960))-s,10<s){e.timeoutHandle=cd(cs.bind(null,e,Ue,sn),s);break}cs(e,Ue,sn);break;case 5:cs(e,Ue,sn);break;default:throw Error(R(329))}}}return Qe(e,he()),e.callbackNode===n?tv.bind(null,e):null}function Td(e,t){var n=gr;return e.current.memoizedState.isDehydrated&&(Cs(e,t).flags|=256),e=zo(e,t),e!==2&&(t=Ue,Ue=n,t!==null&&Nd(t)),e}function Nd(e){Ue===null?Ue=e:Ue.push.apply(Ue,e)}function yC(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 a=n[s],r=a.getSnapshot;a=a.value;try{if(!Dt(r(),a))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 An(e,t){for(t&=~dp,t&=~fl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Tt(t),s=1<<n;e[n]=-1,t&=~s}}function Nf(e){if(Y&6)throw Error(R(327));la();var t=vo(e,0);if(!(t&1))return Qe(e,he()),null;var n=zo(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=_r,Cs(e,0),An(e,t),Qe(e,he()),n;if(n===6)throw Error(R(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,cs(e,Ue,sn),Qe(e,he()),null}function pp(e,t){var n=Y;Y|=1;try{return e(t)}finally{Y=n,Y===0&&(Aa=he()+500,dl&&ss())}}function Rs(e){Fn!==null&&Fn.tag===0&&!(Y&6)&&la();var t=Y;Y|=1;var n=ft.transition,s=X;try{if(ft.transition=null,X=1,e)return e()}finally{X=s,ft.transition=n,Y=t,!(Y&6)&&ss()}}function hp(){Xe=Js.current,ae(Js)}function Cs(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,KP(n)),me!==null)for(n=me.return;n!==null;){var s=n;switch(Ku(s),s.tag){case 1:s=s.type.childContextTypes,s!=null&&Eo();break;case 3:ka(),ae(Ge),ae(Fe),np();break;case 5:tp(s);break;case 4:ka();break;case 13:ae(ie);break;case 19:ae(ie);break;case 10:Xu(s.type._context);break;case 22:case 23:hp()}n=n.return}if(Ce=e,me=e=Un(e.current,null),Ne=Xe=t,we=0,_r=null,dp=fl=Ns=0,Ue=gr=null,ps!==null){for(t=0;t<ps.length;t++)if(n=ps[t],s=n.interleaved,s!==null){n.interleaved=null;var a=s.next,r=n.pending;if(r!==null){var i=r.next;r.next=a,s.next=i}n.pending=s}ps=null}return e}function nv(e,t){do{var n=me;try{if(Qu(),Qi.current=Mo,Do){for(var s=oe.memoizedState;s!==null;){var a=s.queue;a!==null&&(a.pending=null),s=s.next}Do=!1}if(Ts=0,Pe=xe=oe=null,fr=!1,zr=0,cp.current=null,n===null||n.return===null){we=1,_r=t,me=null;break}e:{var r=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,p=u.tag;if(!(u.mode&1)&&(p===0||p===11||p===15)){var h=u.alternate;h?(u.updateQueue=h.updateQueue,u.memoizedState=h.memoizedState,u.lanes=h.lanes):(u.updateQueue=null,u.memoizedState=null)}var m=yf(i);if(m!==null){m.flags&=-257,xf(m,i,o,r,t),m.mode&1&&gf(r,d,t),t=m,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)){gf(r,d,t),fp();break e}c=Error(R(426))}}else if(re&&o.mode&1){var b=yf(i);if(b!==null){!(b.flags&65536)&&(b.flags|=256),xf(b,i,o,r,t),Gu(Sa(c,o));break e}}r=c=Sa(c,o),we!==4&&(we=2),gr===null?gr=[r]:gr.push(r),r=i;do{switch(r.tag){case 3:r.flags|=65536,t&=-t,r.lanes|=t;var g=Vx(r,c,t);df(r,g);break e;case 1:o=c;var f=r.type,x=r.stateNode;if(!(r.flags&128)&&(typeof f.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(Wn===null||!Wn.has(x)))){r.flags|=65536,t&=-t,r.lanes|=t;var P=_x(r,o,t);df(r,P);break e}}r=r.return}while(r!==null)}rv(n)}catch(C){t=C,me===n&&n!==null&&(me=n=n.return);continue}break}while(!0)}function sv(){var e=Oo.current;return Oo.current=Mo,e===null?Mo:e}function fp(){(we===0||we===3||we===2)&&(we=4),Ce===null||!(Ns&268435455)&&!(fl&268435455)||An(Ce,Ne)}function zo(e,t){var n=Y;Y|=2;var s=sv();(Ce!==e||Ne!==t)&&(sn=null,Cs(e,t));do try{xC();break}catch(a){nv(e,a)}while(!0);if(Qu(),Y=n,Oo.current=s,me!==null)throw Error(R(261));return Ce=null,Ne=0,we}function xC(){for(;me!==null;)av(me)}function vC(){for(;me!==null&&!W1();)av(me)}function av(e){var t=ov(e.alternate,e,Xe);e.memoizedProps=e.pendingProps,t===null?rv(e):me=t,cp.current=null}function rv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=pC(n,t),n!==null){n.flags&=32767,me=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{we=6,me=null;return}}else if(n=uC(n,t,Xe),n!==null){me=n;return}if(t=t.sibling,t!==null){me=t;return}me=t=e}while(t!==null);we===0&&(we=5)}function cs(e,t,n){var s=X,a=ft.transition;try{ft.transition=null,X=1,wC(e,t,n,s)}finally{ft.transition=a,X=s}return null}function wC(e,t,n,s){do la();while(Fn!==null);if(Y&6)throw Error(R(327));n=e.finishedWork;var a=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(R(177));e.callbackNode=null,e.callbackPriority=0;var r=n.lanes|n.childLanes;if(eP(e,r),e===Ce&&(me=Ce=null,Ne=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ri||(Ri=!0,lv(xo,function(){return la(),null})),r=(n.flags&15990)!==0,n.subtreeFlags&15990||r){r=ft.transition,ft.transition=null;var i=X;X=1;var o=Y;Y|=4,cp.current=null,fC(e,n),Jx(n,e),_P(od),wo=!!id,od=id=null,e.current=n,mC(n),$1(),Y=o,X=i,ft.transition=r}else e.current=n;if(Ri&&(Ri=!1,Fn=e,Fo=a),r=e.pendingLanes,r===0&&(Wn=null),G1(n.stateNode),Qe(e,he()),t!==null)for(s=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],s(a.value,{componentStack:a.stack,digest:a.digest});if(Io)throw Io=!1,e=Sd,Sd=null,e;return Fo&1&&e.tag!==0&&la(),r=e.pendingLanes,r&1?e===Ad?yr++:(yr=0,Ad=e):yr=0,ss(),null}function la(){if(Fn!==null){var e=Vy(Fo),t=ft.transition,n=X;try{if(ft.transition=null,X=16>e?16:e,Fn===null)var s=!1;else{if(e=Fn,Fn=null,Fo=0,Y&6)throw Error(R(331));var a=Y;for(Y|=4,I=e.current;I!==null;){var r=I,i=r.child;if(I.flags&16){var o=r.deletions;if(o!==null){for(var c=0;c<o.length;c++){var d=o[c];for(I=d;I!==null;){var u=I;switch(u.tag){case 0:case 11:case 15:mr(8,u,r)}var p=u.child;if(p!==null)p.return=u,I=p;else for(;I!==null;){u=I;var h=u.sibling,m=u.return;if(Qx(u),u===d){I=null;break}if(h!==null){h.return=m,I=h;break}I=m}}}var y=r.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)}}I=r}}if(r.subtreeFlags&2064&&i!==null)i.return=r,I=i;else e:for(;I!==null;){if(r=I,r.flags&2048)switch(r.tag){case 0:case 11:case 15:mr(9,r,r.return)}var g=r.sibling;if(g!==null){g.return=r.return,I=g;break e}I=r.return}}var f=e.current;for(I=f;I!==null;){i=I;var x=i.child;if(i.subtreeFlags&2064&&x!==null)x.return=i,I=x;else e:for(i=f;I!==null;){if(o=I,o.flags&2048)try{switch(o.tag){case 0:case 11:case 15:hl(9,o)}}catch(C){ue(o,o.return,C)}if(o===i){I=null;break e}var P=o.sibling;if(P!==null){P.return=o.return,I=P;break e}I=o.return}}if(Y=a,ss(),Ut&&typeof Ut.onPostCommitFiberRoot=="function")try{Ut.onPostCommitFiberRoot(rl,e)}catch{}s=!0}return s}finally{X=n,ft.transition=t}}return!1}function Rf(e,t,n){t=Sa(n,t),t=Vx(e,t,1),e=qn(e,t,1),t=He(),e!==null&&(ei(e,1,t),Qe(e,t))}function ue(e,t,n){if(e.tag===3)Rf(e,e,n);else for(;t!==null;){if(t.tag===3){Rf(t,e,n);break}else if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Wn===null||!Wn.has(s))){e=Sa(n,e),e=_x(t,e,1),t=qn(t,e,1),e=He(),t!==null&&(ei(t,1,e),Qe(t,e));break}}t=t.return}}function bC(e,t,n){var s=e.pingCache;s!==null&&s.delete(t),t=He(),e.pingedLanes|=e.suspendedLanes&n,Ce===e&&(Ne&n)===n&&(we===4||we===3&&(Ne&130023424)===Ne&&500>he()-up?Cs(e,0):dp|=n),Qe(e,t)}function iv(e,t){t===0&&(e.mode&1?(t=bi,bi<<=1,!(bi&130023424)&&(bi=4194304)):t=1);var n=He();e=fn(e,t),e!==null&&(ei(e,t,n),Qe(e,n))}function PC(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),iv(e,n)}function CC(e,t){var n=0;switch(e.tag){case 13:var s=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:s=e.stateNode;break;default:throw Error(R(314))}s!==null&&s.delete(t),iv(e,n)}var ov;ov=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ge.current)Ke=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ke=!1,dC(e,t,n);Ke=!!(e.flags&131072)}else Ke=!1,re&&t.flags&1048576&&ux(t,So,t.index);switch(t.lanes=0,t.tag){case 2:var s=t.type;Zi(e,t),e=t.pendingProps;var a=Ca(t,Fe.current);oa(t,n),a=ap(null,t,s,e,a,n);var r=rp();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ye(s)?(r=!0,jo(t)):r=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,Ju(t),a.updater=pl,t.stateNode=a,a._reactInternals=t,gd(t,s,e,n),t=vd(null,t,s,!0,r,n)):(t.tag=0,re&&r&&Uu(t),ze(null,t,a,n),t=t.child),t;case 16:s=t.elementType;e:{switch(Zi(e,t),e=t.pendingProps,a=s._init,s=a(s._payload),t.type=s,a=t.tag=jC(s),e=Ct(s,e),a){case 0:t=xd(null,t,s,e,n);break e;case 1:t=bf(null,t,s,e,n);break e;case 11:t=vf(null,t,s,e,n);break e;case 14:t=wf(null,t,s,Ct(s.type,e),n);break e}throw Error(R(306,s,""))}return t;case 0:return s=t.type,a=t.pendingProps,a=t.elementType===s?a:Ct(s,a),xd(e,t,s,a,n);case 1:return s=t.type,a=t.pendingProps,a=t.elementType===s?a:Ct(s,a),bf(e,t,s,a,n);case 3:e:{if(Wx(t),e===null)throw Error(R(387));s=t.pendingProps,r=t.memoizedState,a=r.element,yx(e,t),No(t,s,null,n);var i=t.memoizedState;if(s=i.element,r.isDehydrated)if(r={element:s,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=r,t.memoizedState=r,t.flags&256){a=Sa(Error(R(423)),t),t=Pf(e,t,s,n,a);break e}else if(s!==a){a=Sa(Error(R(424)),t),t=Pf(e,t,s,n,a);break e}else for(et=Hn(t.stateNode.containerInfo.firstChild),tt=t,re=!0,St=null,n=mx(t,null,s,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ea(),s===a){t=mn(e,t,n);break e}ze(e,t,s,n)}t=t.child}return t;case 5:return xx(t),e===null&&hd(t),s=t.type,a=t.pendingProps,r=e!==null?e.memoizedProps:null,i=a.children,ld(s,a)?i=null:r!==null&&ld(s,r)&&(t.flags|=32),qx(e,t),ze(e,t,i,n),t.child;case 6:return e===null&&hd(t),null;case 13:return $x(e,t,n);case 4:return ep(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=ja(t,null,s,n):ze(e,t,s,n),t.child;case 11:return s=t.type,a=t.pendingProps,a=t.elementType===s?a:Ct(s,a),vf(e,t,s,a,n);case 7:return ze(e,t,t.pendingProps,n),t.child;case 8:return ze(e,t,t.pendingProps.children,n),t.child;case 12:return ze(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(s=t.type._context,a=t.pendingProps,r=t.memoizedProps,i=a.value,ee(Ao,s._currentValue),s._currentValue=i,r!==null)if(Dt(r.value,i)){if(r.children===a.children&&!Ge.current){t=mn(e,t,n);break e}}else for(r=t.child,r!==null&&(r.return=t);r!==null;){var o=r.dependencies;if(o!==null){i=r.child;for(var c=o.firstContext;c!==null;){if(c.context===s){if(r.tag===1){c=cn(-1,n&-n),c.tag=2;var d=r.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}}r.lanes|=n,c=r.alternate,c!==null&&(c.lanes|=n),fd(r.return,n,t),o.lanes|=n;break}c=c.next}}else if(r.tag===10)i=r.type===t.type?null:r.child;else if(r.tag===18){if(i=r.return,i===null)throw Error(R(341));i.lanes|=n,o=i.alternate,o!==null&&(o.lanes|=n),fd(i,n,t),i=r.sibling}else i=r.child;if(i!==null)i.return=r;else for(i=r;i!==null;){if(i===t){i=null;break}if(r=i.sibling,r!==null){r.return=i.return,i=r;break}i=i.return}r=i}ze(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,s=t.pendingProps.children,oa(t,n),a=gt(a),s=s(a),t.flags|=1,ze(e,t,s,n),t.child;case 14:return s=t.type,a=Ct(s,t.pendingProps),a=Ct(s.type,a),wf(e,t,s,a,n);case 15:return Bx(e,t,t.type,t.pendingProps,n);case 17:return s=t.type,a=t.pendingProps,a=t.elementType===s?a:Ct(s,a),Zi(e,t),t.tag=1,Ye(s)?(e=!0,jo(t)):e=!1,oa(t,n),Lx(t,s,a),gd(t,s,a,n),vd(null,t,s,!0,e,n);case 19:return Ux(e,t,n);case 22:return Hx(e,t,n)}throw Error(R(156,t.tag))};function lv(e,t){return Iy(e,t)}function EC(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 pt(e,t,n,s){return new EC(e,t,n,s)}function mp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jC(e){if(typeof e=="function")return mp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ou)return 11;if(e===Iu)return 14}return 2}function Un(e,t){var n=e.alternate;return n===null?(n=pt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function to(e,t,n,s,a,r){var i=2;if(s=e,typeof e=="function")mp(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case qs:return Es(n.children,a,r,t);case Mu:i=8,a|=8;break;case _c:return e=pt(12,n,t,a|2),e.elementType=_c,e.lanes=r,e;case Bc:return e=pt(13,n,t,a),e.elementType=Bc,e.lanes=r,e;case Hc:return e=pt(19,n,t,a),e.elementType=Hc,e.lanes=r,e;case xy:return ml(n,a,r,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case gy:i=10;break e;case yy:i=9;break e;case Ou:i=11;break e;case Iu:i=14;break e;case jn:i=16,s=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=pt(i,n,t,a),t.elementType=e,t.type=s,t.lanes=r,t}function Es(e,t,n,s){return e=pt(7,e,s,t),e.lanes=n,e}function ml(e,t,n,s){return e=pt(22,e,s,t),e.elementType=xy,e.lanes=n,e.stateNode={isHidden:!1},e}function oc(e,t,n){return e=pt(6,e,null,t),e.lanes=n,e}function lc(e,t,n){return t=pt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function kC(e,t,n,s,a){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=Hl(0),this.expirationTimes=Hl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hl(0),this.identifierPrefix=s,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function gp(e,t,n,s,a,r,i,o,c){return e=new kC(e,t,n,o,c),t===1?(t=1,r===!0&&(t|=8)):t=0,r=pt(3,null,null,t),e.current=r,r.stateNode=e,r.memoizedState={element:s,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ju(r),e}function SC(e,t,n){var s=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Hs,key:s==null?null:""+s,children:e,containerInfo:t,implementation:n}}function cv(e){if(!e)return Yn;e=e._reactInternals;e:{if(Os(e)!==e||e.tag!==1)throw Error(R(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ye(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(R(171))}if(e.tag===1){var n=e.type;if(Ye(n))return cx(e,n,t)}return t}function dv(e,t,n,s,a,r,i,o,c){return e=gp(n,s,!0,e,a,r,i,o,c),e.context=cv(null),n=e.current,s=He(),a=$n(n),r=cn(s,a),r.callback=t??null,qn(n,r,a),e.current.lanes=a,ei(e,a,s),Qe(e,s),e}function gl(e,t,n,s){var a=t.current,r=He(),i=$n(a);return n=cv(n),t.context===null?t.context=n:t.pendingContext=n,t=cn(r,i),t.payload={element:e},s=s===void 0?null:s,s!==null&&(t.callback=s),e=qn(a,t,i),e!==null&&(Nt(e,a,i,r),Yi(e,a,i)),i}function Lo(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 Df(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function yp(e,t){Df(e,t),(e=e.alternate)&&Df(e,t)}function AC(){return null}var uv=typeof reportError=="function"?reportError:function(e){console.error(e)};function xp(e){this._internalRoot=e}yl.prototype.render=xp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(R(409));gl(e,t,null,null)};yl.prototype.unmount=xp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Rs(function(){gl(null,e,null,null)}),t[hn]=null}};function yl(e){this._internalRoot=e}yl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Hy();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Sn.length&&t!==0&&t<Sn[n].priority;n++);Sn.splice(n,0,e),n===0&&Wy(e)}};function vp(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function xl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Mf(){}function TC(e,t,n,s,a){if(a){if(typeof s=="function"){var r=s;s=function(){var d=Lo(i);r.call(d)}}var i=dv(t,s,e,0,null,!1,!1,"",Mf);return e._reactRootContainer=i,e[hn]=i.current,Dr(e.nodeType===8?e.parentNode:e),Rs(),i}for(;a=e.lastChild;)e.removeChild(a);if(typeof s=="function"){var o=s;s=function(){var d=Lo(c);o.call(d)}}var c=gp(e,0,!1,null,null,!1,!1,"",Mf);return e._reactRootContainer=c,e[hn]=c.current,Dr(e.nodeType===8?e.parentNode:e),Rs(function(){gl(t,c,n,s)}),c}function vl(e,t,n,s,a){var r=n._reactRootContainer;if(r){var i=r;if(typeof a=="function"){var o=a;a=function(){var c=Lo(i);o.call(c)}}gl(t,i,e,a)}else i=TC(n,t,e,a,s);return Lo(i)}_y=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ir(t.pendingLanes);n!==0&&(Lu(t,n|1),Qe(t,he()),!(Y&6)&&(Aa=he()+500,ss()))}break;case 13:Rs(function(){var s=fn(e,1);if(s!==null){var a=He();Nt(s,e,1,a)}}),yp(e,1)}};Vu=function(e){if(e.tag===13){var t=fn(e,134217728);if(t!==null){var n=He();Nt(t,e,134217728,n)}yp(e,134217728)}};By=function(e){if(e.tag===13){var t=$n(e),n=fn(e,t);if(n!==null){var s=He();Nt(n,e,t,s)}yp(e,t)}};Hy=function(){return X};qy=function(e,t){var n=X;try{return X=e,t()}finally{X=n}};Zc=function(e,t,n){switch(t){case"input":if($c(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var s=n[t];if(s!==e&&s.form===e.form){var a=cl(s);if(!a)throw Error(R(90));wy(s),$c(s,a)}}}break;case"textarea":Py(e,n);break;case"select":t=n.value,t!=null&&sa(e,!!n.multiple,t,!1)}};Ty=pp;Ny=Rs;var NC={usingClientEntryPoint:!1,Events:[ni,Ks,cl,Sy,Ay,pp]},Za={findFiberByHostInstance:us,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},RC={bundleType:Za.bundleType,version:Za.version,rendererPackageName:Za.rendererPackageName,rendererConfig:Za.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:xn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=My(e),e===null?null:e.stateNode},findFiberByHostInstance:Za.findFiberByHostInstance||AC,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 Di=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Di.isDisabled&&Di.supportsFiber)try{rl=Di.inject(RC),Ut=Di}catch{}}rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=NC;rt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!vp(t))throw Error(R(200));return SC(e,t,null,n)};rt.createRoot=function(e,t){if(!vp(e))throw Error(R(299));var n=!1,s="",a=uv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=gp(e,1,!1,null,null,n,!1,s,a),e[hn]=t.current,Dr(e.nodeType===8?e.parentNode:e),new xp(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(R(188)):(e=Object.keys(e).join(","),Error(R(268,e)));return e=My(t),e=e===null?null:e.stateNode,e};rt.flushSync=function(e){return Rs(e)};rt.hydrate=function(e,t,n){if(!xl(t))throw Error(R(200));return vl(null,e,t,!0,n)};rt.hydrateRoot=function(e,t,n){if(!vp(e))throw Error(R(405));var s=n!=null&&n.hydratedSources||null,a=!1,r="",i=uv;if(n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=dv(t,null,e,1,n??null,a,!1,r,i),e[hn]=t.current,Dr(e),s)for(e=0;e<s.length;e++)n=s[e],a=n._getVersion,a=a(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new yl(t)};rt.render=function(e,t,n){if(!xl(t))throw Error(R(200));return vl(null,e,t,!1,n)};rt.unmountComponentAtNode=function(e){if(!xl(e))throw Error(R(40));return e._reactRootContainer?(Rs(function(){vl(null,null,e,!1,function(){e._reactRootContainer=null,e[hn]=null})}),!0):!1};rt.unstable_batchedUpdates=pp;rt.unstable_renderSubtreeIntoContainer=function(e,t,n,s){if(!xl(n))throw Error(R(200));if(e==null||e._reactInternals===void 0)throw Error(R(38));return vl(e,t,n,!1,s)};rt.version="18.3.1-next-f1338f8080-20240426";function pv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pv)}catch(e){console.error(e)}}pv(),py.exports=rt;var ai=py.exports,hv,Of=ai;hv=Of.createRoot,Of.hydrateRoot;const DC=1,MC=1e6;let cc=0;function OC(){return cc=(cc+1)%Number.MAX_SAFE_INTEGER,cc.toString()}const dc=new Map,If=e=>{if(dc.has(e))return;const t=setTimeout(()=>{dc.delete(e),xr({type:"REMOVE_TOAST",toastId:e})},MC);dc.set(e,t)},IC=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,DC)};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?If(n):e.toasts.forEach(s=>{If(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)}}},no=[];let so={toasts:[]};function xr(e){so=IC(so,e),no.forEach(t=>{t(so)})}function Vo({...e}){const t=OC(),n=a=>xr({type:"UPDATE_TOAST",toast:{...a,id:t}}),s=()=>xr({type:"DISMISS_TOAST",toastId:t});return xr({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:a=>{a||s()}}}),{id:t,dismiss:s,update:n}}function FC(){const[e,t]=w.useState(so);return w.useEffect(()=>(no.push(t),()=>{const n=no.indexOf(t);n>-1&&no.splice(n,1)}),[e]),{...e,toast:Vo,dismiss:n=>xr({type:"DISMISS_TOAST",toastId:n})}}function ve(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e==null||e(a),n===!1||!a.defaultPrevented)return t==null?void 0:t(a)}}function Ff(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function zC(...e){return t=>{let n=!1;const s=e.map(a=>{const r=Ff(a,t);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let a=0;a<s.length;a++){const r=s[a];typeof r=="function"?r():Ff(e[a],null)}}}}function Mt(...e){return w.useCallback(zC(...e),e)}function wl(e,t=[]){let n=[];function s(r,i){const o=w.createContext(i);o.displayName=r+"Context";const c=n.length;n=[...n,i];const d=p=>{var g;const{scope:h,children:m,...y}=p,v=((g=h==null?void 0:h[e])==null?void 0:g[c])||o,b=w.useMemo(()=>y,Object.values(y));return l.jsx(v.Provider,{value:b,children:m})};d.displayName=r+"Provider";function u(p,h){var v;const m=((v=h==null?void 0:h[e])==null?void 0:v[c])||o,y=w.useContext(m);if(y)return y;if(i!==void 0)return i;throw new Error(`\`${p}\` must be used within \`${r}\``)}return[d,u]}const a=()=>{const r=n.map(i=>w.createContext(i));return function(o){const c=(o==null?void 0:o[e])||r;return w.useMemo(()=>({[`__scope${e}`]:{...o,[e]:c}}),[o,c])}};return a.scopeName=e,[s,LC(a,...t)]}function LC(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const s=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(r){const i=s.reduce((o,{useScope:c,scopeName:d})=>{const p=c(r)[`__scope${d}`];return{...o,...p}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function _o(e){const t=w.forwardRef((n,s)=>{let{children:a,...r}=n,i=null,o=!1;const c=[];zf(a)&&typeof Mi=="function"&&(a=Mi(a._payload)),w.Children.forEach(a,h=>{var m;if(WC(h)){o=!0;const y=h;let v="child"in y.props?y.props.child:y.props.children;zf(v)&&typeof Mi=="function"&&(v=Mi(v._payload)),i=BC(y,v),c.push((m=i==null?void 0:i.props)==null?void 0:m.children)}else c.push(h)}),i?i=w.cloneElement(i,void 0,c):!o&&w.Children.count(a)===1&&w.isValidElement(a)&&(i=a);const d=i?qC(i):void 0,u=Mt(s,d);if(!i){if(a||a===0)throw new Error(o?GC(e):KC(e));return a}const p=HC(r,i.props??{});return i.type!==w.Fragment&&(p.ref=s?u:d),w.cloneElement(i,p)});return t.displayName=`${e}.Slot`,t}var VC=_o("Slot"),fv=Symbol.for("radix.slottable");function _C(e){const t=n=>"child"in n?n.children(n.child):n.children;return t.displayName=`${e}.Slottable`,t.__radixId=fv,t}var BC=(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 HC(e,t){const n={...t};for(const s in t){const a=e[s],r=t[s];/^on[A-Z]/.test(s)?a&&r?n[s]=(...o)=>{const c=r(...o);return a(...o),c}:a&&(n[s]=a):s==="style"?n[s]={...a,...r}:s==="className"&&(n[s]=[a,r].filter(Boolean).join(" "))}return{...e,...n}}function qC(e){var s,a;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=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function WC(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===fv}var $C=Symbol.for("react.lazy");function zf(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===$C&&"_payload"in e&&UC(e._payload)}function UC(e){return typeof e=="object"&&e!==null&&"then"in e}var KC=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,GC=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,Mi=Tu[" use ".trim().toString()];function YC(e){const t=e+"CollectionProvider",[n,s]=wl(t),[a,r]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=v=>{const{scope:b,children:g}=v,f=w.useRef(null),x=w.useRef(new Map).current;return l.jsx(a,{scope:b,itemMap:x,collectionRef:f,children:g})};i.displayName=t;const o=e+"CollectionSlot",c=_o(o),d=w.forwardRef((v,b)=>{const{scope:g,children:f}=v,x=r(o,g),P=Mt(b,x.collectionRef);return l.jsx(c,{ref:P,children:f})});d.displayName=o;const u=e+"CollectionItemSlot",p="data-radix-collection-item",h=_o(u),m=w.forwardRef((v,b)=>{const{scope:g,children:f,...x}=v,P=w.useRef(null),C=Mt(b,P),E=r(u,g);return w.useEffect(()=>(E.itemMap.set(P,{ref:P,...x}),()=>void E.itemMap.delete(P))),l.jsx(h,{[p]:"",ref:C,children:f})});m.displayName=u;function y(v){const b=r(e+"CollectionConsumer",v);return w.useCallback(()=>{const f=b.collectionRef.current;if(!f)return[];const x=Array.from(f.querySelectorAll(`[${p}]`));return Array.from(b.itemMap.values()).sort((E,k)=>x.indexOf(E.ref.current)-x.indexOf(k.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:i,Slot:d,ItemSlot:m},y,s]}var QC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],$e=QC.reduce((e,t)=>{const n=_o(`Primitive.${t}`),s=w.forwardRef((a,r)=>{const{asChild:i,...o}=a,c=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(c,{...o,ref:r})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{});function mv(e,t){e&&ai.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 XC(e,t=globalThis==null?void 0:globalThis.document){const n=Qn(e);w.useEffect(()=>{const s=a=>{a.key==="Escape"&&n(a)};return t.addEventListener("keydown",s,{capture:!0}),()=>t.removeEventListener("keydown",s,{capture:!0})},[n,t])}var ZC="DismissableLayer",Rd="dismissableLayer.update",JC="dismissableLayer.pointerDownOutside",e2="dismissableLayer.focusOutside",Lf,gv=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),wp=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:s=!1,onEscapeKeyDown:a,onPointerDownOutside:r,onFocusOutside:i,onInteractOutside:o,onDismiss:c,...d}=e,u=w.useContext(gv),[p,h]=w.useState(null),m=(p==null?void 0:p.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=w.useState({}),v=Mt(t,N=>h(N)),b=Array.from(u.layers),[g]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),f=b.indexOf(g),x=p?b.indexOf(p):-1,P=u.layersWithOutsidePointerEventsDisabled.size>0,C=x>=f,E=w.useRef(!1),k=n2(N=>{const T=N.target;if(!(T instanceof Node))return;const F=[...u.branches].some(O=>O.contains(T));!C||F||(r==null||r(N),o==null||o(N),N.defaultPrevented||c==null||c())},{ownerDocument:m,deferPointerDownOutside:s,isDeferredPointerDownOutsideRef:E,dismissableSurfaces:u.dismissableSurfaces}),j=s2(N=>{if(s&&E.current)return;const T=N.target;[...u.branches].some(O=>O.contains(T))||(i==null||i(N),o==null||o(N),N.defaultPrevented||c==null||c())},m);return XC(N=>{x===u.layers.size-1&&(a==null||a(N),!N.defaultPrevented&&c&&(N.preventDefault(),c()))},m),w.useEffect(()=>{if(p)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Lf=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(p)),u.layers.add(p),Vf(),()=>{n&&(u.layersWithOutsidePointerEventsDisabled.delete(p),u.layersWithOutsidePointerEventsDisabled.size===0&&(m.body.style.pointerEvents=Lf))}},[p,m,n,u]),w.useEffect(()=>()=>{p&&(u.layers.delete(p),u.layersWithOutsidePointerEventsDisabled.delete(p),Vf())},[p,u]),w.useEffect(()=>{const N=()=>y({});return document.addEventListener(Rd,N),()=>document.removeEventListener(Rd,N)},[]),l.jsx($e.div,{...d,ref:v,style:{pointerEvents:P?C?"auto":"none":void 0,...e.style},onFocusCapture:ve(e.onFocusCapture,j.onFocusCapture),onBlurCapture:ve(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:ve(e.onPointerDownCapture,k.onPointerDownCapture)})});wp.displayName=ZC;var t2="DismissableLayerBranch",yv=w.forwardRef((e,t)=>{const n=w.useContext(gv),s=w.useRef(null),a=Mt(t,s);return w.useEffect(()=>{const r=s.current;if(r)return n.branches.add(r),()=>{n.branches.delete(r)}},[n.branches]),l.jsx($e.div,{...e,ref:a})});yv.displayName=t2;function n2(e,t){const{ownerDocument:n=globalThis==null?void 0:globalThis.document,deferPointerDownOutside:s=!1,isDeferredPointerDownOutsideRef:a,dismissableSurfaces:r}=t,i=Qn(e),o=w.useRef(!1),c=w.useRef(!1),d=w.useRef(new Map),u=w.useRef(()=>{});return w.useEffect(()=>{function p(){c.current=!1,a.current=!1,d.current.clear()}function h(){return Array.from(d.current.values()).some(Boolean)}function m(f){if(!c.current)return;const x=f.target;x instanceof Node&&[...r].some(C=>C.contains(x))||d.current.set(f.type,!0),f.type==="click"&&window.setTimeout(()=>{c.current&&u.current()},0)}function y(f){c.current&&d.current.set(f.type,!1)}const v=f=>{if(f.target&&!o.current){let x=function(){n.removeEventListener("click",u.current);const C=h();p(),C||xv(JC,i,P,{discrete:!0})};const P={originalEvent:f};c.current=!0,a.current=s&&f.button===0,d.current.clear(),!s||f.button!==0?x():(n.removeEventListener("click",u.current),u.current=x,n.addEventListener("click",u.current,{once:!0}))}else n.removeEventListener("click",u.current),p();o.current=!1},b=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const f of b)n.addEventListener(f,m,!0),n.addEventListener(f,y);const g=window.setTimeout(()=>{n.addEventListener("pointerdown",v)},0);return()=>{window.clearTimeout(g),n.removeEventListener("pointerdown",v),n.removeEventListener("click",u.current);for(const f of b)n.removeEventListener(f,m,!0),n.removeEventListener(f,y)}},[n,i,s,a,r]),{onPointerDownCapture:()=>o.current=!0}}function s2(e,t=globalThis==null?void 0:globalThis.document){const n=Qn(e),s=w.useRef(!1);return w.useEffect(()=>{const a=r=>{r.target&&!s.current&&xv(e2,n,{originalEvent:r},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,n]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function Vf(){const e=new CustomEvent(Rd);document.dispatchEvent(e)}function xv(e,t,n,{discrete:s}){const a=n.originalEvent.target,r=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),s?mv(a,r):a.dispatchEvent(r)}var a2=wp,r2=yv,dn=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},i2="Portal",bp=w.forwardRef((e,t)=>{var o;const{container:n,...s}=e,[a,r]=w.useState(!1);dn(()=>r(!0),[]);const i=n||a&&((o=globalThis==null?void 0:globalThis.document)==null?void 0:o.body);return i?ai.createPortal(l.jsx($e.div,{...s,ref:t}),i):null});bp.displayName=i2;function o2(e,t){return w.useReducer((n,s)=>t[n][s]??n,e)}var bl=e=>{const{present:t,children:n}=e,s=l2(t),a=typeof n=="function"?n({present:s.isPresent}):w.Children.only(n),r=c2(s.ref,d2(a));return typeof n=="function"||s.isPresent?w.cloneElement(a,{ref:r}):null};bl.displayName="Presence";function l2(e){const[t,n]=w.useState(),s=w.useRef(null),a=w.useRef(e),r=w.useRef("none"),i=e?"mounted":"unmounted",[o,c]=o2(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const d=Oi(s.current);r.current=o==="mounted"?d:"none"},[o]),dn(()=>{const d=s.current,u=a.current;if(u!==e){const h=r.current,m=Oi(d);e?c("MOUNT"):m==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(u&&h!==m?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),dn(()=>{if(t){let d;const u=t.ownerDocument.defaultView??window,p=m=>{const v=Oi(s.current).includes(CSS.escape(m.animationName));if(m.target===t&&v&&(c("ANIMATION_END"),!a.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",d=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},h=m=>{m.target===t&&(r.current=Oi(s.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{u.clearTimeout(d),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(o),ref:w.useCallback(d=>{s.current=d?getComputedStyle(d):null,n(d)},[])}}function _f(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function c2(...e){const t=w.useRef(e);return t.current=e,w.useCallback(n=>{const s=t.current;let a=!1;const r=s.map(i=>{const o=_f(i,n);return!a&&typeof o=="function"&&(a=!0),o});if(a)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():_f(s[i],null)}}},[])}function Oi(e){return(e==null?void 0:e.animationName)||"none"}function d2(e){var s,a;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=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var u2=Tu[" useInsertionEffect ".trim().toString()]||dn;function p2({prop:e,defaultProp:t,onChange:n=()=>{},caller:s}){const[a,r,i]=h2({defaultProp:t,onChange:n}),o=e!==void 0,c=o?e:a;{const u=w.useRef(e!==void 0);w.useEffect(()=>{const p=u.current;p!==o&&console.warn(`${s} is changing from ${p?"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 p;if(o){const h=f2(u)?u(e):u;h!==e&&((p=i.current)==null||p.call(i,h))}else r(u)},[o,e,r,i]);return[c,d]}function h2({defaultProp:e,onChange:t}){const[n,s]=w.useState(e),a=w.useRef(n),r=w.useRef(t);return u2(()=>{r.current=t},[t]),w.useEffect(()=>{var i;a.current!==n&&((i=r.current)==null||i.call(r,n),a.current=n)},[n,a]),[n,s,r]}function f2(e){return typeof e=="function"}var m2=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"}),g2="VisuallyHidden",Pl=w.forwardRef((e,t)=>l.jsx($e.span,{...e,ref:t,style:{...m2,...e.style}}));Pl.displayName=g2;var y2=Pl,Pp="ToastProvider",[Cp,x2,v2]=YC("Toast"),[vv]=wl("Toast",[v2]),[w2,Cl]=vv(Pp),wv=e=>{const{__scopeToast:t,label:n="Notification",duration:s=5e3,swipeDirection:a="right",swipeThreshold:r=50,announcerContainer:i,children:o}=e,[c,d]=w.useState(null),[u,p]=w.useState(0),h=w.useRef(!1),m=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Pp}\`. Expected non-empty \`string\`.`),l.jsx(Cp.Provider,{scope:t,children:l.jsx(w2,{scope:t,label:n,duration:s,swipeDirection:a,swipeThreshold:r,toastCount:u,viewport:c,onViewportChange:d,onToastAdd:w.useCallback(()=>p(y=>y+1),[]),onToastRemove:w.useCallback(()=>p(y=>y-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:m,announcerContainer:i,children:o})})};wv.displayName=Pp;var bv="ToastViewport",b2=["F8"],Dd="toast.viewportPause",Md="toast.viewportResume",Pv=w.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:s=b2,label:a="Notifications ({hotkey})",...r}=e,i=Cl(bv,n),o=x2(n),c=w.useRef(null),d=w.useRef(null),u=w.useRef(null),p=w.useRef(null),h=Mt(t,p,i.onViewportChange),m=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=p.current)==null||x.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[s]),w.useEffect(()=>{const b=c.current,g=p.current;if(y&&b&&g){const f=()=>{if(!i.isClosePausedRef.current){const E=new CustomEvent(Dd);g.dispatchEvent(E),i.isClosePausedRef.current=!0}},x=()=>{if(i.isClosePausedRef.current){const E=new CustomEvent(Md);g.dispatchEvent(E),i.isClosePausedRef.current=!1}},P=E=>{!b.contains(E.relatedTarget)&&x()},C=()=>{b.contains(document.activeElement)||x()};return b.addEventListener("focusin",f),b.addEventListener("focusout",P),b.addEventListener("pointermove",f),b.addEventListener("pointerleave",C),window.addEventListener("blur",f),window.addEventListener("focus",x),()=>{b.removeEventListener("focusin",f),b.removeEventListener("focusout",P),b.removeEventListener("pointermove",f),b.removeEventListener("pointerleave",C),window.removeEventListener("blur",f),window.removeEventListener("focus",x)}}},[y,i.isClosePausedRef]);const v=w.useCallback(({tabbingDirection:b})=>{const f=o().map(x=>{const P=x.ref.current,C=[P,...O2(P)];return b==="forwards"?C:C.reverse()});return(b==="forwards"?f.reverse():f).flat()},[o]);return w.useEffect(()=>{const b=p.current;if(b){const g=f=>{var C,E,k;const x=f.altKey||f.ctrlKey||f.metaKey;if(f.key==="Tab"&&!x){const j=document.activeElement,N=f.shiftKey;if(f.target===b&&N){(C=d.current)==null||C.focus();return}const O=v({tabbingDirection:N?"backwards":"forwards"}),q=O.findIndex(M=>M===j);uc(O.slice(q+1))?f.preventDefault():N?(E=d.current)==null||E.focus():(k=u.current)==null||k.focus()}};return b.addEventListener("keydown",g),()=>b.removeEventListener("keydown",g)}},[o,v]),l.jsxs(r2,{ref:c,role:"region","aria-label":a.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:y?void 0:"none"},children:[y&&l.jsx(Od,{ref:d,onFocusFromOutsideViewport:()=>{const b=v({tabbingDirection:"forwards"});uc(b)}}),l.jsx(Cp.Slot,{scope:n,children:l.jsx($e.ol,{tabIndex:-1,...r,ref:h})}),y&&l.jsx(Od,{ref:u,onFocusFromOutsideViewport:()=>{const b=v({tabbingDirection:"backwards"});uc(b)}})]})});Pv.displayName=bv;var Cv="ToastFocusProxy",Od=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:s,...a}=e,r=Cl(Cv,n);return l.jsx(Pl,{tabIndex:0,...a,ref:t,style:{position:"fixed"},onFocus:i=>{var d;const o=i.relatedTarget;!((d=r.viewport)!=null&&d.contains(o))&&s()}})});Od.displayName=Cv;var ri="Toast",P2="toast.swipeStart",C2="toast.swipeMove",E2="toast.swipeCancel",j2="toast.swipeEnd",Ev=w.forwardRef((e,t)=>{const{forceMount:n,open:s,defaultOpen:a,onOpenChange:r,...i}=e,[o,c]=p2({prop:s,defaultProp:a??!0,onChange:r,caller:ri});return l.jsx(bl,{present:n||o,children:l.jsx(A2,{open:o,...i,ref:t,onClose:()=>c(!1),onPause:Qn(e.onPause),onResume:Qn(e.onResume),onSwipeStart:ve(e.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ve(e.onSwipeMove,d=>{const{x:u,y:p}=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",`${p}px`)}),onSwipeCancel:ve(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:ve(e.onSwipeEnd,d=>{const{x:u,y:p}=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",`${p}px`),c(!1)})})})});Ev.displayName=ri;var[k2,S2]=vv(ri,{onClose(){}}),A2=w.forwardRef((e,t)=>{const{__scopeToast:n,type:s="foreground",duration:a,open:r,onClose:i,onEscapeKeyDown:o,onPause:c,onResume:d,onSwipeStart:u,onSwipeMove:p,onSwipeCancel:h,onSwipeEnd:m,...y}=e,v=Cl(ri,n),[b,g]=w.useState(null),f=Mt(t,M=>g(M)),x=w.useRef(null),P=w.useRef(null),C=a||v.duration,E=w.useRef(0),k=w.useRef(C),j=w.useRef(0),{onToastAdd:N,onToastRemove:T}=v,F=Qn(()=>{var W;(b==null?void 0:b.contains(document.activeElement))&&((W=v.viewport)==null||W.focus()),i()}),O=w.useCallback(M=>{!M||M===1/0||(window.clearTimeout(j.current),E.current=new Date().getTime(),j.current=window.setTimeout(F,M))},[F]);w.useEffect(()=>{const M=v.viewport;if(M){const W=()=>{O(k.current),d==null||d()},V=()=>{const G=new Date().getTime()-E.current;k.current=k.current-G,window.clearTimeout(j.current),c==null||c()};return M.addEventListener(Dd,V),M.addEventListener(Md,W),()=>{M.removeEventListener(Dd,V),M.removeEventListener(Md,W)}}},[v.viewport,C,c,d,O]),w.useEffect(()=>{r&&!v.isClosePausedRef.current&&O(C)},[r,C,v.isClosePausedRef,O]),w.useEffect(()=>(N(),()=>T()),[N,T]);const q=w.useMemo(()=>b?Rv(b):null,[b]);return v.viewport?l.jsxs(l.Fragment,{children:[q&&l.jsx(T2,{__scopeToast:n,role:"status","aria-live":s==="foreground"?"assertive":"polite",children:q}),l.jsx(k2,{scope:n,onClose:F,children:ai.createPortal(l.jsx(Cp.ItemSlot,{scope:n,children:l.jsx(a2,{asChild:!0,onEscapeKeyDown:ve(o,()=>{v.isFocusedToastEscapeKeyDownRef.current||F(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx($e.li,{tabIndex:0,"data-state":r?"open":"closed","data-swipe-direction":v.swipeDirection,...y,ref:f,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ve(e.onKeyDown,M=>{M.key==="Escape"&&(o==null||o(M.nativeEvent),M.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,F()))}),onPointerDown:ve(e.onPointerDown,M=>{M.button===0&&(x.current={x:M.clientX,y:M.clientY})}),onPointerMove:ve(e.onPointerMove,M=>{if(!x.current)return;const W=M.clientX-x.current.x,V=M.clientY-x.current.y,G=!!P.current,S=["left","right"].includes(v.swipeDirection),D=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,L=S?D(0,W):0,H=S?0:D(0,V),Q=M.pointerType==="touch"?10:2,vt={x:L,y:H},ot={originalEvent:M,delta:vt};G?(P.current=vt,Ii(C2,p,ot,{discrete:!1})):Bf(vt,v.swipeDirection,Q)?(P.current=vt,Ii(P2,u,ot,{discrete:!1}),M.target.setPointerCapture(M.pointerId)):(Math.abs(W)>Q||Math.abs(V)>Q)&&(x.current=null)}),onPointerUp:ve(e.onPointerUp,M=>{const W=P.current,V=M.target;if(V.hasPointerCapture(M.pointerId)&&V.releasePointerCapture(M.pointerId),P.current=null,x.current=null,W){const G=M.currentTarget,S={originalEvent:M,delta:W};Bf(W,v.swipeDirection,v.swipeThreshold)?Ii(j2,m,S,{discrete:!0}):Ii(E2,h,S,{discrete:!0}),G.addEventListener("click",D=>D.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),T2=e=>{const{__scopeToast:t,children:n,...s}=e,a=Cl(ri,t),[r,i]=w.useState(!1),[o,c]=w.useState(!1);return D2(()=>i(!0)),w.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),o?null:l.jsx(bp,{asChild:!0,container:a.announcerContainer||void 0,children:l.jsx(Pl,{...s,children:r&&l.jsxs(l.Fragment,{children:[a.label," ",n]})})})},N2="ToastTitle",jv=w.forwardRef((e,t)=>{const{__scopeToast:n,...s}=e;return l.jsx($e.div,{...s,ref:t})});jv.displayName=N2;var R2="ToastDescription",kv=w.forwardRef((e,t)=>{const{__scopeToast:n,...s}=e;return l.jsx($e.div,{...s,ref:t})});kv.displayName=R2;var Sv="ToastAction",Av=w.forwardRef((e,t)=>{const{altText:n,...s}=e;return n.trim()?l.jsx(Nv,{altText:n,asChild:!0,children:l.jsx(Ep,{...s,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Sv}\`. Expected non-empty \`string\`.`),null)});Av.displayName=Sv;var Tv="ToastClose",Ep=w.forwardRef((e,t)=>{const{__scopeToast:n,...s}=e,a=S2(Tv,n);return l.jsx(Nv,{asChild:!0,children:l.jsx($e.button,{type:"button",...s,ref:t,onClick:ve(e.onClick,a.onClose)})})});Ep.displayName=Tv;var Nv=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:s,...a}=e;return l.jsx($e.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":s||void 0,...a,ref:t})});function Rv(e){const t=[];return Array.from(e.childNodes).forEach(s=>{if(s.nodeType===s.TEXT_NODE&&s.textContent&&t.push(s.textContent),M2(s)){const a=s.ariaHidden||s.hidden||s.style.display==="none",r=s.dataset.radixToastAnnounceExclude==="";if(!a)if(r){const i=s.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Rv(s))}}),t}function Ii(e,t,n,{discrete:s}){const a=n.originalEvent.currentTarget,r=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),s?mv(a,r):a.dispatchEvent(r)}var Bf=(e,t,n=0)=>{const s=Math.abs(e.x),a=Math.abs(e.y),r=s>a;return t==="left"||t==="right"?r&&s>n:!r&&a>n};function D2(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 M2(e){return e.nodeType===e.ELEMENT_NODE}function O2(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const a=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||a?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function uc(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var I2=wv,Dv=Pv,Mv=Ev,Ov=jv,Iv=kv,Fv=Av,zv=Ep;function Lv(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=Lv(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function Vv(){for(var e,t,n=0,s="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=Lv(e))&&(s&&(s+=" "),s+=t);return s}const Hf=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,qf=Vv,jp=(e,t)=>n=>{var s;if((t==null?void 0:t.variants)==null)return qf(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:a,defaultVariants:r}=t,i=Object.keys(a).map(d=>{const u=n==null?void 0:n[d],p=r==null?void 0:r[d];if(u===null)return null;const h=Hf(u)||Hf(p);return a[d][h]}),o=n&&Object.entries(n).reduce((d,u)=>{let[p,h]=u;return h===void 0||(d[p]=h),d},{}),c=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((d,u)=>{let{class:p,className:h,...m}=u;return Object.entries(m).every(y=>{let[v,b]=y;return Array.isArray(b)?b.includes({...r,...o}[v]):{...r,...o}[v]===b})?[...d,p,h]:d},[]);return qf(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 F2=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),z2=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,s)=>s?s.toUpperCase():n.toLowerCase()),Wf=e=>{const t=z2(e);return t.charAt(0).toUpperCase()+t.slice(1)},_v=(...e)=>e.filter((t,n,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===n).join(" ").trim(),L2=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 V2={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 _2=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:s,className:a="",children:r,iconNode:i,...o},c)=>w.createElement("svg",{ref:c,...V2,width:t,height:t,stroke:e,strokeWidth:s?Number(n)*24/Number(t):n,className:_v("lucide",a),...!r&&!L2(o)&&{"aria-hidden":"true"},...o},[...i.map(([d,u])=>w.createElement(d,u)),...Array.isArray(r)?r:[r]]));/**
 * @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 te=(e,t)=>{const n=w.forwardRef(({className:s,...a},r)=>w.createElement(_2,{ref:r,iconNode:t,className:_v(`lucide-${F2(Wf(e))}`,`lucide-${e}`,s),...a}));return n.displayName=Wf(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 B2=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],Bv=te("activity",B2);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const H2=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Hv=te("arrow-left",H2);/**
 * @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 q2=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Ve=te("arrow-right",q2);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const W2=[["path",{d:"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"}]],$2=te("award",W2);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const U2=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],ii=te("calendar",U2);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const K2=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],G2=te("check",K2);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Y2=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],$f=te("chevron-down",Y2);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Q2=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],un=te("circle-check-big",Q2);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const X2=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Z2=te("eye",X2);/**
 * @license lucide-react v0.507.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const J2=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],eE=te("facebook",J2);/**
 * @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 tE=[["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"}]],xt=te("heart",tE);/**
 * @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 nE=[["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"}]],sE=te("house",nE);/**
 * @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 aE=[["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"}]],rE=te("instagram",aE);/**
 * @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 iE=[["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"}]],oE=te("lightbulb",iE);/**
 * @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 lE=[["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"}]],kp=te("mail",lE);/**
 * @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 cE=[["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"}]],Id=te("map-pin",cE);/**
 * @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 dE=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],uE=te("menu",dE);/**
 * @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 pE=[["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"}]],qv=te("phone",pE);/**
 * @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 hE=[["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"}]],Uf=te("refresh-cw",hE);/**
 * @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 fE=[["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"}]],mE=te("send",fE);/**
 * @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 gE=[["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"}]],Fd=te("shield",gE);/**
 * @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 yE=[["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"}]],El=te("star",yE);/**
 * @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 xE=[["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"}]],Kf=te("triangle-alert",xE);/**
 * @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 vE=[["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"}]],wE=te("twitter",vE);/**
 * @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 bE=[["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"}]],Sp=te("users",bE);/**
 * @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 PE=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Wv=te("x",PE),Ap="-",CE=e=>{const t=jE(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{const o=i.split(Ap);return o[0]===""&&o.length!==1&&o.shift(),$v(o,t)||EE(i)},getConflictingClassGroupIds:(i,o)=>{const c=n[i]||[];return o&&s[i]?[...c,...s[i]]:c}}},$v=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],s=t.nextPart.get(n),a=s?$v(e.slice(1),s):void 0;if(a)return a;if(t.validators.length===0)return;const r=e.join(Ap);return(i=t.validators.find(({validator:o})=>o(r)))==null?void 0:i.classGroupId},Gf=/^\[(.+)\]$/,EE=e=>{if(Gf.test(e)){const t=Gf.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},jE=e=>{const{theme:t,prefix:n}=e,s={nextPart:new Map,validators:[]};return SE(Object.entries(e.classGroups),n).forEach(([r,i])=>{zd(i,s,r,t)}),s},zd=(e,t,n,s)=>{e.forEach(a=>{if(typeof a=="string"){const r=a===""?t:Yf(t,a);r.classGroupId=n;return}if(typeof a=="function"){if(kE(a)){zd(a(s),t,n,s);return}t.validators.push({validator:a,classGroupId:n});return}Object.entries(a).forEach(([r,i])=>{zd(i,Yf(t,r),n,s)})})},Yf=(e,t)=>{let n=e;return t.split(Ap).forEach(s=>{n.nextPart.has(s)||n.nextPart.set(s,{nextPart:new Map,validators:[]}),n=n.nextPart.get(s)}),n},kE=e=>e.isThemeGetter,SE=(e,t)=>t?e.map(([n,s])=>{const a=s.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([i,o])=>[t+i,o])):r);return[n,a]}):e,AE=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,s=new Map;const a=(r,i)=>{n.set(r,i),t++,t>e&&(t=0,s=n,n=new Map)};return{get(r){let i=n.get(r);if(i!==void 0)return i;if((i=s.get(r))!==void 0)return a(r,i),i},set(r,i){n.has(r)?n.set(r,i):a(r,i)}}},Uv="!",TE=e=>{const{separator:t,experimentalParseClassName:n}=e,s=t.length===1,a=t[0],r=t.length,i=o=>{const c=[];let d=0,u=0,p;for(let b=0;b<o.length;b++){let g=o[b];if(d===0){if(g===a&&(s||o.slice(b,b+r)===t)){c.push(o.slice(u,b)),u=b+r;continue}if(g==="/"){p=b;continue}}g==="["?d++:g==="]"&&d--}const h=c.length===0?o:o.substring(u),m=h.startsWith(Uv),y=m?h.substring(1):h,v=p&&p>u?p-u:void 0;return{modifiers:c,hasImportantModifier:m,baseClassName:y,maybePostfixModifierPosition:v}};return n?o=>n({className:o,parseClassName:i}):i},NE=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},RE=e=>({cache:AE(e.cacheSize),parseClassName:TE(e),...CE(e)}),DE=/\s+/,ME=(e,t)=>{const{parseClassName:n,getClassGroupId:s,getConflictingClassGroupIds:a}=t,r=[],i=e.trim().split(DE);let o="";for(let c=i.length-1;c>=0;c-=1){const d=i[c],{modifiers:u,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:m}=n(d);let y=!!m,v=s(y?h.substring(0,m):h);if(!v){if(!y){o=d+(o.length>0?" "+o:o);continue}if(v=s(h),!v){o=d+(o.length>0?" "+o:o);continue}y=!1}const b=NE(u).join(":"),g=p?b+Uv:b,f=g+v;if(r.includes(f))continue;r.push(f);const x=a(v,y);for(let P=0;P<x.length;++P){const C=x[P];r.push(g+C)}o=d+(o.length>0?" "+o:o)}return o};function OE(){let e=0,t,n,s="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Kv(t))&&(s&&(s+=" "),s+=n);return s}const Kv=e=>{if(typeof e=="string")return e;let t,n="";for(let s=0;s<e.length;s++)e[s]&&(t=Kv(e[s]))&&(n&&(n+=" "),n+=t);return n};function IE(e,...t){let n,s,a,r=i;function i(c){const d=t.reduce((u,p)=>p(u),e());return n=RE(d),s=n.cache.get,a=n.cache.set,r=o,o(c)}function o(c){const d=s(c);if(d)return d;const u=ME(c,n);return a(c,u),u}return function(){return r(OE.apply(null,arguments))}}const ne=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Gv=/^\[(?:([a-z-]+):)?(.+)\]$/i,FE=/^\d+\/\d+$/,zE=new Set(["px","full","screen"]),LE=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,VE=/\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$/,_E=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,BE=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,HE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,en=e=>ca(e)||zE.has(e)||FE.test(e),bn=e=>Fa(e,"length",QE),ca=e=>!!e&&!Number.isNaN(Number(e)),pc=e=>Fa(e,"number",ca),Ja=e=>!!e&&Number.isInteger(Number(e)),qE=e=>e.endsWith("%")&&ca(e.slice(0,-1)),$=e=>Gv.test(e),Pn=e=>LE.test(e),WE=new Set(["length","size","percentage"]),$E=e=>Fa(e,WE,Yv),UE=e=>Fa(e,"position",Yv),KE=new Set(["image","url"]),GE=e=>Fa(e,KE,ZE),YE=e=>Fa(e,"",XE),er=()=>!0,Fa=(e,t,n)=>{const s=Gv.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):n(s[2]):!1},QE=e=>VE.test(e)&&!_E.test(e),Yv=()=>!1,XE=e=>BE.test(e),ZE=e=>HE.test(e),JE=()=>{const e=ne("colors"),t=ne("spacing"),n=ne("blur"),s=ne("brightness"),a=ne("borderColor"),r=ne("borderRadius"),i=ne("borderSpacing"),o=ne("borderWidth"),c=ne("contrast"),d=ne("grayscale"),u=ne("hueRotate"),p=ne("invert"),h=ne("gap"),m=ne("gradientColorStops"),y=ne("gradientColorStopPositions"),v=ne("inset"),b=ne("margin"),g=ne("opacity"),f=ne("padding"),x=ne("saturate"),P=ne("scale"),C=ne("sepia"),E=ne("skew"),k=ne("space"),j=ne("translate"),N=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",$,t],O=()=>[$,t],q=()=>["",en,bn],M=()=>["auto",ca,$],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["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"],S=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",$],L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[ca,$];return{cacheSize:500,separator:":",theme:{colors:[er],spacing:[en,bn],blur:["none","",Pn,$],brightness:H(),borderColor:[e],borderRadius:["none","","full",Pn,$],borderSpacing:O(),borderWidth:q(),contrast:H(),grayscale:D(),hueRotate:H(),invert:D(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[qE,bn],inset:F(),margin:F(),opacity:H(),padding:O(),saturate:H(),scale:H(),sepia:D(),skew:H(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",$]}],container:["container"],columns:[{columns:[Pn]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"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:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],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",Ja,$]}],basis:[{basis:F()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",$]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",Ja,$]}],"grid-cols":[{"grid-cols":[er]}],"col-start-end":[{col:["auto",{span:["full",Ja,$]},$]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[er]}],"row-start-end":[{row:["auto",{span:[Ja,$]},$]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",$]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",$]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...S()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...S(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...S(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[f]}],px:[{px:[f]}],py:[{py:[f]}],ps:[{ps:[f]}],pe:[{pe:[f]}],pt:[{pt:[f]}],pr:[{pr:[f]}],pb:[{pb:[f]}],pl:[{pl:[f]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"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:[er]}],"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",ca,pc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",en,$]}],"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:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",en,bn]}],"underline-offset":[{"underline-offset":["auto",en,$]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",$]}],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(),UE]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$E]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},GE]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-ee":[{"rounded-ee":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"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:[...V(),"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:V()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[en,$]}],"outline-w":[{outline:[en,bn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[en,bn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Pn,YE]}],"shadow-color":[{shadow:[er]}],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:[p]}],saturate:[{saturate:[x]}],sepia:[{sepia:[C]}],"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":[p]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"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:[Ja,$]}],"translate-x":[{"translate-x":[j]}],"translate-y":[{"translate-y":[j]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"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":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",$]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[en,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"]}}},ej=IE(JE);function Ee(...e){return ej(Vv(e))}const tj=I2,Qv=w.forwardRef(({className:e,...t},n)=>l.jsx(Dv,{ref:n,className:Ee("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}));Qv.displayName=Dv.displayName;const nj=jp("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"}}),Xv=w.forwardRef(({className:e,variant:t,...n},s)=>l.jsx(Mv,{ref:s,className:Ee(nj({variant:t}),e),...n}));Xv.displayName=Mv.displayName;const sj=w.forwardRef(({className:e,...t},n)=>l.jsx(Fv,{ref:n,className:Ee("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}));sj.displayName=Fv.displayName;const Zv=w.forwardRef(({className:e,...t},n)=>l.jsx(zv,{ref:n,className:Ee("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:l.jsx(Wv,{className:"h-4 w-4"})}));Zv.displayName=zv.displayName;const Jv=w.forwardRef(({className:e,...t},n)=>l.jsx(Ov,{ref:n,className:Ee("text-sm font-semibold [&+div]:text-xs",e),...t}));Jv.displayName=Ov.displayName;const e0=w.forwardRef(({className:e,...t},n)=>l.jsx(Iv,{ref:n,className:Ee("text-sm opacity-90",e),...t}));e0.displayName=Iv.displayName;function aj(){const{toasts:e}=FC();return l.jsxs(tj,{children:[e.map(function({id:t,title:n,description:s,action:a,...r}){return l.jsxs(Xv,{...r,children:[l.jsxs("div",{className:"grid gap-1",children:[n&&l.jsx(Jv,{children:n}),s&&l.jsx(e0,{children:s})]}),a,l.jsx(Zv,{})]},t)}),l.jsx(Qv,{})]})}const rj=["top","right","bottom","left"],Xn=Math.min,Je=Math.max,Bo=Math.round,Fi=Math.floor,Gt=e=>({x:e,y:e}),ij={left:"right",right:"left",bottom:"top",top:"bottom"};function Ld(e,t,n){return Je(e,Xn(t,n))}function gn(e,t){return typeof e=="function"?e(t):e}function yn(e){return e.split("-")[0]}function za(e){return e.split("-")[1]}function Tp(e){return e==="x"?"y":"x"}function Np(e){return e==="y"?"height":"width"}function $t(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Rp(e){return Tp($t(e))}function oj(e,t,n){n===void 0&&(n=!1);const s=za(e),a=Rp(e),r=Np(a);let i=a==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(i=Ho(i)),[i,Ho(i)]}function lj(e){const t=Ho(e);return[Vd(e),t,Vd(t)]}function Vd(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Qf=["left","right"],Xf=["right","left"],cj=["top","bottom"],dj=["bottom","top"];function uj(e,t,n){switch(e){case"top":case"bottom":return n?t?Xf:Qf:t?Qf:Xf;case"left":case"right":return t?cj:dj;default:return[]}}function pj(e,t,n,s){const a=za(e);let r=uj(yn(e),n==="start",s);return a&&(r=r.map(i=>i+"-"+a),t&&(r=r.concat(r.map(Vd)))),r}function Ho(e){const t=yn(e);return ij[t]+e.slice(t.length)}function hj(e){return{top:0,right:0,bottom:0,left:0,...e}}function t0(e){return typeof e!="number"?hj(e):{top:e,right:e,bottom:e,left:e}}function qo(e){const{x:t,y:n,width:s,height:a}=e;return{width:s,height:a,top:n,left:t,right:t+s,bottom:n+a,x:t,y:n}}function Zf(e,t,n){let{reference:s,floating:a}=e;const r=$t(t),i=Rp(t),o=Np(i),c=yn(t),d=r==="y",u=s.x+s.width/2-a.width/2,p=s.y+s.height/2-a.height/2,h=s[o]/2-a[o]/2;let m;switch(c){case"top":m={x:u,y:s.y-a.height};break;case"bottom":m={x:u,y:s.y+s.height};break;case"right":m={x:s.x+s.width,y:p};break;case"left":m={x:s.x-a.width,y:p};break;default:m={x:s.x,y:s.y}}switch(za(t)){case"start":m[i]-=h*(n&&d?-1:1);break;case"end":m[i]+=h*(n&&d?-1:1);break}return m}async function fj(e,t){var n;t===void 0&&(t={});const{x:s,y:a,platform:r,rects:i,elements:o,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:h=!1,padding:m=0}=gn(t,e),y=t0(m),b=o[h?p==="floating"?"reference":"floating":p],g=qo(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(b)))==null||n?b:b.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(o.floating)),boundary:d,rootBoundary:u,strategy:c})),f=p==="floating"?{x:s,y:a,width:i.floating.width,height:i.floating.height}:i.reference,x=await(r.getOffsetParent==null?void 0:r.getOffsetParent(o.floating)),P=await(r.isElement==null?void 0:r.isElement(x))?await(r.getScale==null?void 0:r.getScale(x))||{x:1,y:1}:{x:1,y:1},C=qo(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:f,offsetParent:x,strategy:c}):f);return{top:(g.top-C.top+y.top)/P.y,bottom:(C.bottom-g.bottom+y.bottom)/P.y,left:(g.left-C.left+y.left)/P.x,right:(C.right-g.right+y.right)/P.x}}const mj=50,gj=async(e,t,n)=>{const{placement:s="bottom",strategy:a="absolute",middleware:r=[],platform:i}=n,o=i.detectOverflow?i:{...i,detectOverflow:fj},c=await(i.isRTL==null?void 0:i.isRTL(t));let d=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:u,y:p}=Zf(d,s,c),h=s,m=0;const y={};for(let v=0;v<r.length;v++){const b=r[v];if(!b)continue;const{name:g,fn:f}=b,{x,y:P,data:C,reset:E}=await f({x:u,y:p,initialPlacement:s,placement:h,strategy:a,middlewareData:y,rects:d,platform:o,elements:{reference:e,floating:t}});u=x??u,p=P??p,y[g]={...y[g],...C},E&&m<mj&&(m++,typeof E=="object"&&(E.placement&&(h=E.placement),E.rects&&(d=E.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:a}):E.rects),{x:u,y:p}=Zf(d,h,c)),v=-1)}return{x:u,y:p,placement:h,strategy:a,middlewareData:y}},yj=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:a,rects:r,platform:i,elements:o,middlewareData:c}=t,{element:d,padding:u=0}=gn(e,t)||{};if(d==null)return{};const p=t0(u),h={x:n,y:s},m=Rp(a),y=Np(m),v=await i.getDimensions(d),b=m==="y",g=b?"top":"left",f=b?"bottom":"right",x=b?"clientHeight":"clientWidth",P=r.reference[y]+r.reference[m]-h[m]-r.floating[y],C=h[m]-r.reference[m],E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d));let k=E?E[x]:0;(!k||!await(i.isElement==null?void 0:i.isElement(E)))&&(k=o.floating[x]||r.floating[y]);const j=P/2-C/2,N=k/2-v[y]/2-1,T=Xn(p[g],N),F=Xn(p[f],N),O=T,q=k-v[y]-F,M=k/2-v[y]/2+j,W=Ld(O,M,q),V=!c.arrow&&za(a)!=null&&M!==W&&r.reference[y]/2-(M<O?T:F)-v[y]/2<0,G=V?M<O?M-O:M-q:0;return{[m]:h[m]+G,data:{[m]:W,centerOffset:M-W-G,...V&&{alignmentOffset:G}},reset:V}}}),xj=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,s;const{placement:a,middlewareData:r,rects:i,initialPlacement:o,platform:c,elements:d}=t,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:v=!0,...b}=gn(e,t);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const g=yn(a),f=$t(o),x=yn(o)===o,P=await(c.isRTL==null?void 0:c.isRTL(d.floating)),C=h||(x||!v?[Ho(o)]:lj(o)),E=y!=="none";!h&&E&&C.push(...pj(o,v,y,P));const k=[o,...C],j=await c.detectOverflow(t,b),N=[];let T=((s=r.flip)==null?void 0:s.overflows)||[];if(u&&N.push(j[g]),p){const M=oj(a,i,P);N.push(j[M[0]],j[M[1]])}if(T=[...T,{placement:a,overflows:N}],!N.every(M=>M<=0)){var F,O;const M=(((F=r.flip)==null?void 0:F.index)||0)+1,W=k[M];if(W&&(!(p==="alignment"?f!==$t(W):!1)||T.every(S=>$t(S.placement)===f?S.overflows[0]>0:!0)))return{data:{index:M,overflows:T},reset:{placement:W}};let V=(O=T.filter(G=>G.overflows[0]<=0).sort((G,S)=>G.overflows[1]-S.overflows[1])[0])==null?void 0:O.placement;if(!V)switch(m){case"bestFit":{var q;const G=(q=T.filter(S=>{if(E){const D=$t(S.placement);return D===f||D==="y"}return!0}).map(S=>[S.placement,S.overflows.filter(D=>D>0).reduce((D,L)=>D+L,0)]).sort((S,D)=>S[1]-D[1])[0])==null?void 0:q[0];G&&(V=G);break}case"initialPlacement":V=o;break}if(a!==V)return{reset:{placement:V}}}return{}}}};function Jf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function em(e){return rj.some(t=>e[t]>=0)}const vj=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:s}=t,{strategy:a="referenceHidden",...r}=gn(e,t);switch(a){case"referenceHidden":{const i=await s.detectOverflow(t,{...r,elementContext:"reference"}),o=Jf(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:em(o)}}}case"escaped":{const i=await s.detectOverflow(t,{...r,altBoundary:!0}),o=Jf(i,n.floating);return{data:{escapedOffsets:o,escaped:em(o)}}}default:return{}}}}},n0=new Set(["left","top"]);async function wj(e,t){const{placement:n,platform:s,elements:a}=e,r=await(s.isRTL==null?void 0:s.isRTL(a.floating)),i=yn(n),o=za(n),c=$t(n)==="y",d=n0.has(i)?-1:1,u=r&&c?-1:1,p=gn(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:y}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return o&&typeof y=="number"&&(m=o==="end"?y*-1:y),c?{x:m*u,y:h*d}:{x:h*d,y:m*u}}const bj=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,s;const{x:a,y:r,placement:i,middlewareData:o}=t,c=await wj(t,e);return i===((n=o.offset)==null?void 0:n.placement)&&(s=o.arrow)!=null&&s.alignmentOffset?{}:{x:a+c.x,y:r+c.y,data:{...c,placement:i}}}}},Pj=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:s,placement:a,platform:r}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:c={fn:g=>{let{x:f,y:x}=g;return{x:f,y:x}}},...d}=gn(e,t),u={x:n,y:s},p=await r.detectOverflow(t,d),h=$t(yn(a)),m=Tp(h);let y=u[m],v=u[h];if(i){const g=m==="y"?"top":"left",f=m==="y"?"bottom":"right",x=y+p[g],P=y-p[f];y=Ld(x,y,P)}if(o){const g=h==="y"?"top":"left",f=h==="y"?"bottom":"right",x=v+p[g],P=v-p[f];v=Ld(x,v,P)}const b=c.fn({...t,[m]:y,[h]:v});return{...b,data:{x:b.x-n,y:b.y-s,enabled:{[m]:i,[h]:o}}}}}},Cj=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:s,placement:a,rects:r,middlewareData:i}=t,{offset:o=0,mainAxis:c=!0,crossAxis:d=!0}=gn(e,t),u={x:n,y:s},p=$t(a),h=Tp(p);let m=u[h],y=u[p];const v=gn(o,t),b=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(c){const x=h==="y"?"height":"width",P=r.reference[h]-r.floating[x]+b.mainAxis,C=r.reference[h]+r.reference[x]-b.mainAxis;m<P?m=P:m>C&&(m=C)}if(d){var g,f;const x=h==="y"?"width":"height",P=n0.has(yn(a)),C=r.reference[p]-r.floating[x]+(P&&((g=i.offset)==null?void 0:g[p])||0)+(P?0:b.crossAxis),E=r.reference[p]+r.reference[x]+(P?0:((f=i.offset)==null?void 0:f[p])||0)-(P?b.crossAxis:0);y<C?y=C:y>E&&(y=E)}return{[h]:m,[p]:y}}}},Ej=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,s;const{placement:a,rects:r,platform:i,elements:o}=t,{apply:c=()=>{},...d}=gn(e,t),u=await i.detectOverflow(t,d),p=yn(a),h=za(a),m=$t(a)==="y",{width:y,height:v}=r.floating;let b,g;p==="top"||p==="bottom"?(b=p,g=h===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(g=p,b=h==="end"?"top":"bottom");const f=v-u.top-u.bottom,x=y-u.left-u.right,P=Xn(v-u[b],f),C=Xn(y-u[g],x),E=!t.middlewareData.shift;let k=P,j=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(j=x),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(k=f),E&&!h){const T=Je(u.left,0),F=Je(u.right,0),O=Je(u.top,0),q=Je(u.bottom,0);m?j=y-2*(T!==0||F!==0?T+F:Je(u.left,u.right)):k=v-2*(O!==0||q!==0?O+q:Je(u.top,u.bottom))}await c({...t,availableWidth:j,availableHeight:k});const N=await i.getDimensions(o.floating);return y!==N.width||v!==N.height?{reset:{rects:!0}}:{}}}};function jl(){return typeof window<"u"}function La(e){return s0(e)?(e.nodeName||"").toLowerCase():"#document"}function nt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Xt(e){var t;return(t=(s0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function s0(e){return jl()?e instanceof Node||e instanceof nt(e).Node:!1}function Ot(e){return jl()?e instanceof Element||e instanceof nt(e).Element:!1}function vn(e){return jl()?e instanceof HTMLElement||e instanceof nt(e).HTMLElement:!1}function tm(e){return!jl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof nt(e).ShadowRoot}function oi(e){const{overflow:t,overflowX:n,overflowY:s,display:a}=It(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&a!=="inline"&&a!=="contents"}function jj(e){return/^(table|td|th)$/.test(La(e))}function kl(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const kj=/transform|translate|scale|rotate|perspective|filter/,Sj=/paint|layout|strict|content/,is=e=>!!e&&e!=="none";let hc;function Dp(e){const t=Ot(e)?It(e):e;return is(t.transform)||is(t.translate)||is(t.scale)||is(t.rotate)||is(t.perspective)||!Mp()&&(is(t.backdropFilter)||is(t.filter))||kj.test(t.willChange||"")||Sj.test(t.contain||"")}function Aj(e){let t=Zn(e);for(;vn(t)&&!Ta(t);){if(Dp(t))return t;if(kl(t))return null;t=Zn(t)}return null}function Mp(){return hc==null&&(hc=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),hc}function Ta(e){return/^(html|body|#document)$/.test(La(e))}function It(e){return nt(e).getComputedStyle(e)}function Sl(e){return Ot(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Zn(e){if(La(e)==="html")return e;const t=e.assignedSlot||e.parentNode||tm(e)&&e.host||Xt(e);return tm(t)?t.host:t}function a0(e){const t=Zn(e);return Ta(t)?e.ownerDocument?e.ownerDocument.body:e.body:vn(t)&&oi(t)?t:a0(t)}function Br(e,t,n){var s;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=a0(e),r=a===((s=e.ownerDocument)==null?void 0:s.body),i=nt(a);if(r){const o=_d(i);return t.concat(i,i.visualViewport||[],oi(a)?a:[],o&&n?Br(o):[])}else return t.concat(a,Br(a,[],n))}function _d(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function r0(e){const t=It(e);let n=parseFloat(t.width)||0,s=parseFloat(t.height)||0;const a=vn(e),r=a?e.offsetWidth:n,i=a?e.offsetHeight:s,o=Bo(n)!==r||Bo(s)!==i;return o&&(n=r,s=i),{width:n,height:s,$:o}}function Op(e){return Ot(e)?e:e.contextElement}function da(e){const t=Op(e);if(!vn(t))return Gt(1);const n=t.getBoundingClientRect(),{width:s,height:a,$:r}=r0(t);let i=(r?Bo(n.width):n.width)/s,o=(r?Bo(n.height):n.height)/a;return(!i||!Number.isFinite(i))&&(i=1),(!o||!Number.isFinite(o))&&(o=1),{x:i,y:o}}const Tj=Gt(0);function i0(e){const t=nt(e);return!Mp()||!t.visualViewport?Tj:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Nj(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==nt(e)?!1:t}function Ds(e,t,n,s){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),r=Op(e);let i=Gt(1);t&&(s?Ot(s)&&(i=da(s)):i=da(e));const o=Nj(r,n,s)?i0(r):Gt(0);let c=(a.left+o.x)/i.x,d=(a.top+o.y)/i.y,u=a.width/i.x,p=a.height/i.y;if(r){const h=nt(r),m=s&&Ot(s)?nt(s):s;let y=h,v=_d(y);for(;v&&s&&m!==y;){const b=da(v),g=v.getBoundingClientRect(),f=It(v),x=g.left+(v.clientLeft+parseFloat(f.paddingLeft))*b.x,P=g.top+(v.clientTop+parseFloat(f.paddingTop))*b.y;c*=b.x,d*=b.y,u*=b.x,p*=b.y,c+=x,d+=P,y=nt(v),v=_d(y)}}return qo({width:u,height:p,x:c,y:d})}function Al(e,t){const n=Sl(e).scrollLeft;return t?t.left+n:Ds(Xt(e)).left+n}function o0(e,t){const n=e.getBoundingClientRect(),s=n.left+t.scrollLeft-Al(e,n),a=n.top+t.scrollTop;return{x:s,y:a}}function Rj(e){let{elements:t,rect:n,offsetParent:s,strategy:a}=e;const r=a==="fixed",i=Xt(s),o=t?kl(t.floating):!1;if(s===i||o&&r)return n;let c={scrollLeft:0,scrollTop:0},d=Gt(1);const u=Gt(0),p=vn(s);if((p||!p&&!r)&&((La(s)!=="body"||oi(i))&&(c=Sl(s)),p)){const m=Ds(s);d=da(s),u.x=m.x+s.clientLeft,u.y=m.y+s.clientTop}const h=i&&!p&&!r?o0(i,c):Gt(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-c.scrollLeft*d.x+u.x+h.x,y:n.y*d.y-c.scrollTop*d.y+u.y+h.y}}function Dj(e){return Array.from(e.getClientRects())}function Mj(e){const t=Xt(e),n=Sl(e),s=e.ownerDocument.body,a=Je(t.scrollWidth,t.clientWidth,s.scrollWidth,s.clientWidth),r=Je(t.scrollHeight,t.clientHeight,s.scrollHeight,s.clientHeight);let i=-n.scrollLeft+Al(e);const o=-n.scrollTop;return It(s).direction==="rtl"&&(i+=Je(t.clientWidth,s.clientWidth)-a),{width:a,height:r,x:i,y:o}}const nm=25;function Oj(e,t){const n=nt(e),s=Xt(e),a=n.visualViewport;let r=s.clientWidth,i=s.clientHeight,o=0,c=0;if(a){r=a.width,i=a.height;const u=Mp();(!u||u&&t==="fixed")&&(o=a.offsetLeft,c=a.offsetTop)}const d=Al(s);if(d<=0){const u=s.ownerDocument,p=u.body,h=getComputedStyle(p),m=u.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,y=Math.abs(s.clientWidth-p.clientWidth-m);y<=nm&&(r-=y)}else d<=nm&&(r+=d);return{width:r,height:i,x:o,y:c}}function Ij(e,t){const n=Ds(e,!0,t==="fixed"),s=n.top+e.clientTop,a=n.left+e.clientLeft,r=vn(e)?da(e):Gt(1),i=e.clientWidth*r.x,o=e.clientHeight*r.y,c=a*r.x,d=s*r.y;return{width:i,height:o,x:c,y:d}}function sm(e,t,n){let s;if(t==="viewport")s=Oj(e,n);else if(t==="document")s=Mj(Xt(e));else if(Ot(t))s=Ij(t,n);else{const a=i0(e);s={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return qo(s)}function l0(e,t){const n=Zn(e);return n===t||!Ot(n)||Ta(n)?!1:It(n).position==="fixed"||l0(n,t)}function Fj(e,t){const n=t.get(e);if(n)return n;let s=Br(e,[],!1).filter(o=>Ot(o)&&La(o)!=="body"),a=null;const r=It(e).position==="fixed";let i=r?Zn(e):e;for(;Ot(i)&&!Ta(i);){const o=It(i),c=Dp(i);!c&&o.position==="fixed"&&(a=null),(r?!c&&!a:!c&&o.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||oi(i)&&!c&&l0(e,i))?s=s.filter(u=>u!==i):a=o,i=Zn(i)}return t.set(e,s),s}function zj(e){let{element:t,boundary:n,rootBoundary:s,strategy:a}=e;const i=[...n==="clippingAncestors"?kl(t)?[]:Fj(t,this._c):[].concat(n),s],o=sm(t,i[0],a);let c=o.top,d=o.right,u=o.bottom,p=o.left;for(let h=1;h<i.length;h++){const m=sm(t,i[h],a);c=Je(m.top,c),d=Xn(m.right,d),u=Xn(m.bottom,u),p=Je(m.left,p)}return{width:d-p,height:u-c,x:p,y:c}}function Lj(e){const{width:t,height:n}=r0(e);return{width:t,height:n}}function Vj(e,t,n){const s=vn(t),a=Xt(t),r=n==="fixed",i=Ds(e,!0,r,t);let o={scrollLeft:0,scrollTop:0};const c=Gt(0);function d(){c.x=Al(a)}if(s||!s&&!r)if((La(t)!=="body"||oi(a))&&(o=Sl(t)),s){const m=Ds(t,!0,r,t);c.x=m.x+t.clientLeft,c.y=m.y+t.clientTop}else a&&d();r&&!s&&a&&d();const u=a&&!s&&!r?o0(a,o):Gt(0),p=i.left+o.scrollLeft-c.x-u.x,h=i.top+o.scrollTop-c.y-u.y;return{x:p,y:h,width:i.width,height:i.height}}function fc(e){return It(e).position==="static"}function am(e,t){if(!vn(e)||It(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Xt(e)===n&&(n=n.ownerDocument.body),n}function c0(e,t){const n=nt(e);if(kl(e))return n;if(!vn(e)){let a=Zn(e);for(;a&&!Ta(a);){if(Ot(a)&&!fc(a))return a;a=Zn(a)}return n}let s=am(e,t);for(;s&&jj(s)&&fc(s);)s=am(s,t);return s&&Ta(s)&&fc(s)&&!Dp(s)?n:s||Aj(e)||n}const _j=async function(e){const t=this.getOffsetParent||c0,n=this.getDimensions,s=await n(e.floating);return{reference:Vj(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function Bj(e){return It(e).direction==="rtl"}const Hj={convertOffsetParentRelativeRectToViewportRelativeRect:Rj,getDocumentElement:Xt,getClippingRect:zj,getOffsetParent:c0,getElementRects:_j,getClientRects:Dj,getDimensions:Lj,getScale:da,isElement:Ot,isRTL:Bj};function d0(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function qj(e,t){let n=null,s;const a=Xt(e);function r(){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),r();const d=e.getBoundingClientRect(),{left:u,top:p,width:h,height:m}=d;if(o||t(),!h||!m)return;const y=Fi(p),v=Fi(a.clientWidth-(u+h)),b=Fi(a.clientHeight-(p+m)),g=Fi(u),x={rootMargin:-y+"px "+-v+"px "+-b+"px "+-g+"px",threshold:Je(0,Xn(1,c))||1};let P=!0;function C(E){const k=E[0].intersectionRatio;if(k!==c){if(!P)return i();k?i(!1,k):s=setTimeout(()=>{i(!1,1e-7)},1e3)}k===1&&!d0(d,e.getBoundingClientRect())&&i(),P=!1}try{n=new IntersectionObserver(C,{...x,root:a.ownerDocument})}catch{n=new IntersectionObserver(C,x)}n.observe(e)}return i(!0),r}function Wj(e,t,n,s){s===void 0&&(s={});const{ancestorScroll:a=!0,ancestorResize:r=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:o=typeof IntersectionObserver=="function",animationFrame:c=!1}=s,d=Op(e),u=a||r?[...d?Br(d):[],...t?Br(t):[]]:[];u.forEach(g=>{a&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const p=d&&o?qj(d,n):null;let h=-1,m=null;i&&(m=new ResizeObserver(g=>{let[f]=g;f&&f.target===d&&m&&t&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var x;(x=m)==null||x.observe(t)})),n()}),d&&!c&&m.observe(d),t&&m.observe(t));let y,v=c?Ds(e):null;c&&b();function b(){const g=Ds(e);v&&!d0(v,g)&&n(),v=g,y=requestAnimationFrame(b)}return n(),()=>{var g;u.forEach(f=>{a&&f.removeEventListener("scroll",n),r&&f.removeEventListener("resize",n)}),p==null||p(),(g=m)==null||g.disconnect(),m=null,c&&cancelAnimationFrame(y)}}const $j=bj,Uj=Pj,Kj=xj,Gj=Ej,Yj=vj,rm=yj,Qj=Cj,Xj=(e,t,n)=>{const s=new Map,a={platform:Hj,...n},r={...a.platform,_c:s};return gj(e,t,{...a,platform:r})};var Zj=typeof document<"u",Jj=function(){},ao=Zj?w.useLayoutEffect:Jj;function Wo(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,a;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(!Wo(e[s],t[s]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(s=n;s--!==0;)if(!{}.hasOwnProperty.call(t,a[s]))return!1;for(s=n;s--!==0;){const r=a[s];if(!(r==="_owner"&&e.$$typeof)&&!Wo(e[r],t[r]))return!1}return!0}return e!==e&&t!==t}function u0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function im(e,t){const n=u0(e);return Math.round(t*n)/n}function mc(e){const t=w.useRef(e);return ao(()=>{t.current=e}),t}function ek(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:s=[],platform:a,elements:{reference:r,floating:i}={},transform:o=!0,whileElementsMounted:c,open:d}=e,[u,p]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=w.useState(s);Wo(h,s)||m(s);const[y,v]=w.useState(null),[b,g]=w.useState(null),f=w.useCallback(S=>{S!==E.current&&(E.current=S,v(S))},[]),x=w.useCallback(S=>{S!==k.current&&(k.current=S,g(S))},[]),P=r||y,C=i||b,E=w.useRef(null),k=w.useRef(null),j=w.useRef(u),N=c!=null,T=mc(c),F=mc(a),O=mc(d),q=w.useCallback(()=>{if(!E.current||!k.current)return;const S={placement:t,strategy:n,middleware:h};F.current&&(S.platform=F.current),Xj(E.current,k.current,S).then(D=>{const L={...D,isPositioned:O.current!==!1};M.current&&!Wo(j.current,L)&&(j.current=L,ai.flushSync(()=>{p(L)}))})},[h,t,n,F,O]);ao(()=>{d===!1&&j.current.isPositioned&&(j.current.isPositioned=!1,p(S=>({...S,isPositioned:!1})))},[d]);const M=w.useRef(!1);ao(()=>(M.current=!0,()=>{M.current=!1}),[]),ao(()=>{if(P&&(E.current=P),C&&(k.current=C),P&&C){if(T.current)return T.current(P,C,q);q()}},[P,C,q,T,N]);const W=w.useMemo(()=>({reference:E,floating:k,setReference:f,setFloating:x}),[f,x]),V=w.useMemo(()=>({reference:P,floating:C}),[P,C]),G=w.useMemo(()=>{const S={position:n,left:0,top:0};if(!V.floating)return S;const D=im(V.floating,u.x),L=im(V.floating,u.y);return o?{...S,transform:"translate("+D+"px, "+L+"px)",...u0(V.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:D,top:L}},[n,o,V.floating,u.x,u.y]);return w.useMemo(()=>({...u,update:q,refs:W,elements:V,floatingStyles:G}),[u,q,W,V,G])}const tk=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:s,padding:a}=typeof e=="function"?e(n):e;return s&&t(s)?s.current!=null?rm({element:s.current,padding:a}).fn(n):{}:s?rm({element:s,padding:a}).fn(n):{}}}},nk=(e,t)=>{const n=$j(e);return{name:n.name,fn:n.fn,options:[e,t]}},sk=(e,t)=>{const n=Uj(e);return{name:n.name,fn:n.fn,options:[e,t]}},ak=(e,t)=>({fn:Qj(e).fn,options:[e,t]}),rk=(e,t)=>{const n=Kj(e);return{name:n.name,fn:n.fn,options:[e,t]}},ik=(e,t)=>{const n=Gj(e);return{name:n.name,fn:n.fn,options:[e,t]}},ok=(e,t)=>{const n=Yj(e);return{name:n.name,fn:n.fn,options:[e,t]}},lk=(e,t)=>{const n=tk(e);return{name:n.name,fn:n.fn,options:[e,t]}};var ck="Arrow",p0=w.forwardRef((e,t)=>{const{children:n,width:s=10,height:a=5,...r}=e;return l.jsx($e.svg,{...r,ref:t,width:s,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});p0.displayName=ck;var dk=p0;function uk(e){const[t,n]=w.useState(void 0);return dn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const s=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const r=a[0];let i,o;if("borderBoxSize"in r){const c=r.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 h0="Popper",[f0,m0]=wl(h0),[VR,g0]=f0(h0),y0="PopperAnchor",x0=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:s,...a}=e,r=g0(y0,n),i=w.useRef(null),o=r.onAnchorChange,c=w.useCallback(y=>{i.current=y,y&&o(y)},[o]),d=Mt(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 p=r.placementState&&Fp(r.placementState),h=p==null?void 0:p[0],m=p==null?void 0:p[1];return s?null:l.jsx($e.div,{"data-radix-popper-side":h,"data-radix-popper-align":m,...a,ref:d})});x0.displayName=y0;var Ip="PopperContent",[pk,hk]=f0(Ip),v0=w.forwardRef((e,t)=>{var yh,xh,vh,wh,bh,Ph;const{__scopePopper:n,side:s="bottom",sideOffset:a=0,align:r="center",alignOffset:i=0,arrowPadding:o=0,avoidCollisions:c=!0,collisionBoundary:d=[],collisionPadding:u=0,sticky:p="partial",hideWhenDetached:h=!1,updatePositionStrategy:m="optimized",onPlaced:y,...v}=e,b=g0(Ip,n),[g,f]=w.useState(null),x=Mt(t,Wa=>f(Wa)),[P,C]=w.useState(null),E=uk(P),k=(E==null?void 0:E.width)??0,j=(E==null?void 0:E.height)??0,N=s+(r!=="center"?"-"+r:""),T=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},F=Array.isArray(d)?d:[d],O=F.length>0,q={padding:T,boundary:F.filter(mk),altBoundary:O},{refs:M,floatingStyles:W,placement:V,isPositioned:G,middlewareData:S}=ek({strategy:"fixed",placement:N,whileElementsMounted:(...Wa)=>Wj(...Wa,{animationFrame:m==="always"}),elements:{reference:b.anchor},middleware:[nk({mainAxis:a+j,alignmentAxis:i}),c&&sk({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?ak():void 0,...q}),c&&rk({...q}),ik({...q,apply:({elements:Wa,rects:Ch,availableWidth:e1,availableHeight:t1})=>{const{width:n1,height:s1}=Ch.reference,fi=Wa.floating.style;fi.setProperty("--radix-popper-available-width",`${e1}px`),fi.setProperty("--radix-popper-available-height",`${t1}px`),fi.setProperty("--radix-popper-anchor-width",`${n1}px`),fi.setProperty("--radix-popper-anchor-height",`${s1}px`)}}),P&&lk({element:P,padding:o}),gk({arrowWidth:k,arrowHeight:j}),h&&ok({strategy:"referenceHidden",...q,boundary:O?q.boundary:void 0})]}),D=b.setPlacementState;dn(()=>(D(V),()=>{D(void 0)}),[V,D]);const[L,H]=Fp(V),Q=Qn(y);dn(()=>{G&&(Q==null||Q())},[G,Q]);const vt=(yh=S.arrow)==null?void 0:yh.x,ot=(xh=S.arrow)==null?void 0:xh.y,qa=((vh=S.arrow)==null?void 0:vh.centerOffset)!==0,[Zt,zs]=w.useState();return dn(()=>{g&&zs(window.getComputedStyle(g).zIndex)},[g]),l.jsx("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:G?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Zt,"--radix-popper-transform-origin":[(wh=S.transformOrigin)==null?void 0:wh.x,(bh=S.transformOrigin)==null?void 0:bh.y].join(" "),...((Ph=S.hide)==null?void 0:Ph.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(pk,{scope:n,placedSide:L,placedAlign:H,onArrowChange:C,arrowX:vt,arrowY:ot,shouldHideArrow:qa,children:l.jsx($e.div,{"data-side":L,"data-align":H,...v,ref:x,style:{...v.style,animation:G?void 0:"none"}})})})});v0.displayName=Ip;var w0="PopperArrow",fk={top:"bottom",right:"left",bottom:"top",left:"right"},b0=w.forwardRef(function(t,n){const{__scopePopper:s,...a}=t,r=hk(w0,s),i=fk[r.placedSide];return l.jsx("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:l.jsx(dk,{...a,ref:n,style:{...a.style,display:"block"}})})});b0.displayName=w0;function mk(e){return e!==null}var gk=e=>({name:"transformOrigin",options:e,fn(t){var b,g,f;const{placement:n,rects:s,middlewareData:a}=t,i=((b=a.arrow)==null?void 0:b.centerOffset)!==0,o=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[d,u]=Fp(n),p={start:"0%",center:"50%",end:"100%"}[u],h=(((g=a.arrow)==null?void 0:g.x)??0)+o/2,m=(((f=a.arrow)==null?void 0:f.y)??0)+c/2;let y="",v="";return d==="bottom"?(y=i?p:`${h}px`,v=`${-c}px`):d==="top"?(y=i?p:`${h}px`,v=`${s.floating.height+c}px`):d==="right"?(y=`${-c}px`,v=i?p:`${m}px`):d==="left"&&(y=`${s.floating.width+c}px`,v=i?p:`${m}px`),{data:{x:y,y:v}}}});function Fp(e){const[t,n="center"]=e.split("-");return[t,n]}var yk=x0,xk=v0,vk=b0,[Tl]=wl("Tooltip",[m0]),zp=m0(),P0="TooltipProvider",wk=700,om="tooltip.open",[bk,C0]=Tl(P0),E0=e=>{const{__scopeTooltip:t,delayDuration:n=wk,skipDelayDuration:s=300,disableHoverableContent:a=!1,children:r}=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(bk,{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:a,children:r})};E0.displayName=P0;var j0="Tooltip",[_R,li]=Tl(j0),Bd="TooltipTrigger",Pk=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...s}=e,a=li(Bd,n),r=C0(Bd,n),i=zp(n),o=w.useRef(null),c=Mt(t,o,a.onTriggerChange),d=w.useRef(!1),u=w.useRef(!1),p=w.useCallback(()=>d.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),l.jsx(yk,{asChild:!0,...i,children:l.jsx($e.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...s,ref:c,onPointerMove:ve(e.onPointerMove,h=>{h.pointerType!=="touch"&&!u.current&&!r.isPointerInTransitRef.current&&(a.onTriggerEnter(),u.current=!0)}),onPointerLeave:ve(e.onPointerLeave,()=>{a.onTriggerLeave(),u.current=!1}),onPointerDown:ve(e.onPointerDown,()=>{a.open&&a.onClose(),d.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:ve(e.onFocus,()=>{d.current||a.onOpen()}),onBlur:ve(e.onBlur,a.onClose),onClick:ve(e.onClick,a.onClose)})})});Pk.displayName=Bd;var Lp="TooltipPortal",[Ck,Ek]=Tl(Lp,{forceMount:void 0}),k0=e=>{const{__scopeTooltip:t,forceMount:n,children:s,container:a}=e,r=li(Lp,t);return l.jsx(Ck,{scope:t,forceMount:n,children:l.jsx(bl,{present:n||r.open,children:l.jsx(bp,{asChild:!0,container:a,children:s})})})};k0.displayName=Lp;var Na="TooltipContent",S0=w.forwardRef((e,t)=>{const n=Ek(Na,e.__scopeTooltip),{forceMount:s=n.forceMount,side:a="top",...r}=e,i=li(Na,e.__scopeTooltip);return l.jsx(bl,{present:s||i.open,children:i.disableHoverableContent?l.jsx(A0,{side:a,...r,ref:t}):l.jsx(jk,{side:a,...r,ref:t})})}),jk=w.forwardRef((e,t)=>{const n=li(Na,e.__scopeTooltip),s=C0(Na,e.__scopeTooltip),a=w.useRef(null),r=Mt(t,a),[i,o]=w.useState(null),{trigger:c,onClose:d}=n,u=a.current,{onPointerInTransitChange:p}=s,h=w.useCallback(()=>{o(null),p(!1)},[p]),m=w.useCallback((y,v)=>{const b=y.currentTarget,g={x:y.clientX,y:y.clientY},f=Nk(g,b.getBoundingClientRect()),x=Rk(g,f),P=Dk(v.getBoundingClientRect()),C=Ok([...x,...P]);o(C),p(!0)},[p]);return w.useEffect(()=>()=>h(),[h]),w.useEffect(()=>{if(c&&u){const y=b=>m(b,u),v=b=>m(b,c);return c.addEventListener("pointerleave",y),u.addEventListener("pointerleave",v),()=>{c.removeEventListener("pointerleave",y),u.removeEventListener("pointerleave",v)}}},[c,u,m,h]),w.useEffect(()=>{if(i){const y=v=>{const b=v.target,g={x:v.clientX,y:v.clientY},f=(c==null?void 0:c.contains(b))||(u==null?void 0:u.contains(b)),x=!Mk(g,i);f?h():x&&(h(),d())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[c,u,i,d,h]),l.jsx(A0,{...e,ref:r})}),[kk,Sk]=Tl(j0,{isInside:!1}),Ak=_C("TooltipContent"),A0=w.forwardRef((e,t)=>{const{__scopeTooltip:n,children:s,"aria-label":a,onEscapeKeyDown:r,onPointerDownOutside:i,...o}=e,c=li(Na,n),d=zp(n),{onClose:u}=c;return w.useEffect(()=>(document.addEventListener(om,u),()=>document.removeEventListener(om,u)),[u]),w.useEffect(()=>{if(c.trigger){const p=h=>{h.target instanceof Node&&h.target.contains(c.trigger)&&u()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[c.trigger,u]),l.jsx(wp,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:p=>p.preventDefault(),onDismiss:u,children:l.jsxs(xk,{"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(Ak,{children:s}),l.jsx(kk,{scope:n,isInside:!0,children:l.jsx(y2,{id:c.contentId,role:"tooltip",children:a||s})})]})})});S0.displayName=Na;var T0="TooltipArrow",Tk=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...s}=e,a=zp(n);return Sk(T0,n).isInside?null:l.jsx(vk,{...a,...s,ref:t})});Tk.displayName=T0;function Nk(e,t){const n=Math.abs(t.top-e.y),s=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),r=Math.abs(t.left-e.x);switch(Math.min(n,s,a,r)){case r:return"left";case a:return"right";case n:return"top";case s:return"bottom";default:throw new Error("unreachable")}}function Rk(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 Dk(e){const{top:t,right:n,bottom:s,left:a}=e;return[{x:a,y:t},{x:n,y:t},{x:n,y:s},{x:a,y:s}]}function Mk(e,t){const{x:n,y:s}=e;let a=!1;for(let r=0,i=t.length-1;r<t.length;i=r++){const o=t[r],c=t[i],d=o.x,u=o.y,p=c.x,h=c.y;u>s!=h>s&&n<(p-d)*(s-u)/(h-u)+d&&(a=!a)}return a}function Ok(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),Ik(t)}function Ik(e){if(e.length<=1)return e.slice();const t=[];for(let s=0;s<e.length;s++){const a=e[s];for(;t.length>=2;){const r=t[t.length-1],i=t[t.length-2];if((r.x-i.x)*(a.y-i.y)>=(r.y-i.y)*(a.x-i.x))t.pop();else break}t.push(a)}t.pop();const n=[];for(let s=e.length-1;s>=0;s--){const a=e[s];for(;n.length>=2;){const r=n[n.length-1],i=n[n.length-2];if((r.x-i.x)*(a.y-i.y)>=(r.y-i.y)*(a.x-i.x))n.pop();else break}n.push(a)}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 Fk=E0,zk=k0,N0=S0;const Lk=Fk,Vk=w.forwardRef(({className:e,sideOffset:t=4,...n},s)=>l.jsx(zk,{children:l.jsx(N0,{ref:s,sideOffset:t,className:Ee("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})}));Vk.displayName=N0.displayName;var Nl=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,ha,Ug,_k=(Ug=class extends Nl{constructor(){super();K(this,gs);K(this,Tn);K(this,ha);_(this,ha,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){A(this,Tn)||this.setEventListener(A(this,ha))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,Tn))==null||t.call(this),_(this,Tn,void 0))}setEventListener(t){var n;_(this,ha,t),(n=A(this,Tn))==null||n.call(this),_(this,Tn,t(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(t){A(this,gs)!==t&&(_(this,gs,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof A(this,gs)=="boolean"?A(this,gs):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},gs=new WeakMap,Tn=new WeakMap,ha=new WeakMap,Ug),R0=new _k,Bk={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Nn,Eu,Kg,Hk=(Kg=class{constructor(){K(this,Nn,Bk);K(this,Eu,!1)}setTimeoutProvider(e){_(this,Nn,e)}setTimeout(e,t){return A(this,Nn).setTimeout(e,t)}clearTimeout(e){A(this,Nn).clearTimeout(e)}setInterval(e,t){return A(this,Nn).setInterval(e,t)}clearInterval(e){A(this,Nn).clearInterval(e)}},Nn=new WeakMap,Eu=new WeakMap,Kg),Hd=new Hk;function qk(e){setTimeout(e,0)}var Wk=typeof window>"u"||"Deno"in globalThis;function Et(){}function $k(e,t){return typeof e=="function"?e(t):e}function Uk(e){return typeof e=="number"&&e>=0&&e!==1/0}function Kk(e,t){return Math.max(e+(t||0)-Date.now(),0)}function qd(e,t){return typeof e=="function"?e(t):e}function Gk(e,t){return typeof e=="function"?e(t):e}function lm(e,t){const{type:n="all",exact:s,fetchStatus:a,predicate:r,queryKey:i,stale:o}=e;if(i){if(s){if(t.queryHash!==Vp(i,t.options))return!1}else if(!qr(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||a&&a!==t.state.fetchStatus||r&&!r(t))}function cm(e,t){const{exact:n,status:s,predicate:a,mutationKey:r}=e;if(r){if(!t.options.mutationKey)return!1;if(n){if(Hr(t.options.mutationKey)!==Hr(r))return!1}else if(!qr(t.options.mutationKey,r))return!1}return!(s&&t.state.status!==s||a&&!a(t))}function Vp(e,t){return((t==null?void 0:t.queryKeyHashFn)||Hr)(e)}function Hr(e){return JSON.stringify(e,(t,n)=>Wd(n)?Object.keys(n).sort().reduce((s,a)=>(s[a]=n[a],s),{}):n)}function qr(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>qr(e[n],t[n])):!1}var Yk=Object.prototype.hasOwnProperty;function D0(e,t,n=0){if(e===t)return e;if(n>500)return t;const s=dm(e)&&dm(t);if(!s&&!(Wd(e)&&Wd(t)))return t;const r=(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 p=s?u:i[u],h=e[p],m=t[p];if(h===m){c[p]=h,(s?u<r:Yk.call(e,p))&&d++;continue}if(h===null||m===null||typeof h!="object"||typeof m!="object"){c[p]=m;continue}const y=D0(h,m,n+1);c[p]=y,y===h&&d++}return r===o&&d===r?e:c}function dm(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Wd(e){if(!um(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!um(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function um(e){return Object.prototype.toString.call(e)==="[object Object]"}function Qk(e){return new Promise(t=>{Hd.setTimeout(t,e)})}function Xk(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?D0(e,t):t}function Zk(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function Jk(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var _p=Symbol();function M0(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===_p?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function eS(e,t,n){let s=!1,a;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(a??(a=t()),s||(s=!0,a.aborted?n():a.addEventListener("abort",n,{once:!0})),a)}),e}var O0=(()=>{let e=()=>Wk;return{isServer(){return e()},setIsServer(t){e=t}}})();function tS(){let e,t;const n=new Promise((a,r)=>{e=a,t=r});n.status="pending",n.catch(()=>{});function s(a){Object.assign(n,a),delete n.resolve,delete n.reject}return n.resolve=a=>{s({status:"fulfilled",value:a}),e(a)},n.reject=a=>{s({status:"rejected",reason:a}),t(a)},n}var nS=qk;function sS(){let e=[],t=0,n=o=>{o()},s=o=>{o()},a=nS;const r=o=>{t?e.push(o):a(()=>{n(o)})},i=()=>{const o=e;e=[],o.length&&a(()=>{s(()=>{o.forEach(c=>{n(c)})})})};return{batch:o=>{let c;t++;try{c=o()}finally{t--,t||i()}return c},batchCalls:o=>(...c)=>{r(()=>{o(...c)})},schedule:r,setNotifyFunction:o=>{n=o},setBatchNotifyFunction:o=>{s=o},setScheduler:o=>{a=o}}}var Le=sS(),fa,Rn,ma,Gg,aS=(Gg=class extends Nl{constructor(){super();K(this,fa,!0);K(this,Rn);K(this,ma);_(this,ma,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(){A(this,Rn)||this.setEventListener(A(this,ma))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,Rn))==null||t.call(this),_(this,Rn,void 0))}setEventListener(t){var n;_(this,ma,t),(n=A(this,Rn))==null||n.call(this),_(this,Rn,t(this.setOnline.bind(this)))}setOnline(t){A(this,fa)!==t&&(_(this,fa,t),this.listeners.forEach(s=>{s(t)}))}isOnline(){return A(this,fa)}},fa=new WeakMap,Rn=new WeakMap,ma=new WeakMap,Gg),$o=new aS;function rS(e){return Math.min(1e3*2**e,3e4)}function I0(e){return(e??"online")==="online"?$o.isOnline():!0}var $d=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function F0(e){let t=!1,n=0,s;const a=tS(),r=()=>a.status!=="pending",i=v=>{var b;if(!r()){const g=new $d(v);h(g),(b=e.onCancel)==null||b.call(e,g)}},o=()=>{t=!0},c=()=>{t=!1},d=()=>R0.isFocused()&&(e.networkMode==="always"||$o.isOnline())&&e.canRun(),u=()=>I0(e.networkMode)&&e.canRun(),p=v=>{r()||(s==null||s(),a.resolve(v))},h=v=>{r()||(s==null||s(),a.reject(v))},m=()=>new Promise(v=>{var b;s=g=>{(r()||d())&&v(g)},(b=e.onPause)==null||b.call(e)}).then(()=>{var v;s=void 0,r()||(v=e.onContinue)==null||v.call(e)}),y=()=>{if(r())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(p).catch(g=>{var E;if(r())return;const f=e.retry??(O0.isServer()?0:3),x=e.retryDelay??rS,P=typeof x=="function"?x(n,g):x,C=f===!0||typeof f=="number"&&n<f||typeof f=="function"&&f(n,g);if(t||!C){h(g);return}n++,(E=e.onFail)==null||E.call(e,n,g),Qk(P).then(()=>d()?void 0:m()).then(()=>{t?h(g):y()})})};return{promise:a,status:()=>a.status,cancel:i,continue:()=>(s==null||s(),a),cancelRetry:o,continueRetry:c,canStart:u,start:()=>(u()?y():m().then(y),a)}}var ys,Yg,z0=(Yg=class{constructor(){K(this,ys)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Uk(this.gcTime)&&_(this,ys,Hd.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(O0.isServer()?1/0:5*60*1e3))}clearGcTimeout(){A(this,ys)!==void 0&&(Hd.clearTimeout(A(this,ys)),_(this,ys,void 0))}},ys=new WeakMap,Yg);function iS(e){return{onFetch:(t,n)=>{var u,p,h,m,y;const s=t.options,a=(h=(p=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:p.fetchMore)==null?void 0:h.direction,r=((m=t.state.data)==null?void 0:m.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=>{eS(x,()=>t.signal,()=>v=!0)},g=M0(t.options,t.fetchOptions),f=async(x,P,C)=>{if(v)return Promise.reject(t.signal.reason);if(P==null&&x.pages.length)return Promise.resolve(x);const k=(()=>{const F={client:t.client,queryKey:t.queryKey,pageParam:P,direction:C?"backward":"forward",meta:t.options.meta};return b(F),F})(),j=await g(k),{maxPages:N}=t.options,T=C?Jk:Zk;return{pages:T(x.pages,j,N),pageParams:T(x.pageParams,P,N)}};if(a&&r.length){const x=a==="backward",P=x?oS:pm,C={pages:r,pageParams:i},E=P(s,C);o=await f(C,E,x)}else{const x=e??r.length;do{const P=c===0?i[0]??s.initialPageParam:pm(s,o);if(c>0&&P==null)break;o=await f(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 pm(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 oS(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 ga,xs,ya,ct,vs,be,Qr,ws,Ze,L0,tn,Qg,lS=(Qg=class extends z0{constructor(t){super();K(this,Ze);K(this,ga);K(this,xs);K(this,ya);K(this,ct);K(this,vs);K(this,be);K(this,Qr);K(this,ws);_(this,ws,!1),_(this,Qr,t.defaultOptions),this.setOptions(t.options),this.observers=[],_(this,vs,t.client),_(this,ct,A(this,vs).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,_(this,xs,fm(this.options)),this.state=t.state??A(this,xs),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return A(this,ga)}get promise(){var t;return(t=A(this,be))==null?void 0:t.promise}setOptions(t){if(this.options={...A(this,Qr),...t},t!=null&&t._type&&_(this,ga,t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=fm(this.options);n.data!==void 0&&(this.setState(hm(n.data,n.dataUpdatedAt)),_(this,xs,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&A(this,ct).remove(this)}setData(t,n){const s=Xk(this.state.data,t,this.options);return ke(this,Ze,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,Ze,tn).call(this,{type:"setState",state:t})}cancel(t){var s,a;const n=(s=A(this,be))==null?void 0:s.promise;return(a=A(this,be))==null||a.cancel(t),n?n.then(Et).catch(Et):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return A(this,xs)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>Gk(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===_p||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>qd(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:!Kk(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(s=>s.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,be))==null||n.continue()}onOnline(){var n;const t=this.observers.find(s=>s.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,be))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),A(this,ct).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(A(this,be)&&(A(this,ws)||ke(this,Ze,L0).call(this)?A(this,be).cancel({revert:!0}):A(this,be).cancelRetry()),this.scheduleGc()),A(this,ct).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ke(this,Ze,tn).call(this,{type:"invalidate"})}async fetch(t,n){var d,u,p,h,m,y,v,b,g,f,x;if(this.state.fetchStatus!=="idle"&&((d=A(this,be))==null?void 0:d.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(A(this,be))return A(this,be).continueRetry(),A(this,be).promise}if(t&&this.setOptions(t),!this.options.queryFn){const P=this.observers.find(C=>C.options.queryFn);P&&this.setOptions(P.options)}const s=new AbortController,a=P=>{Object.defineProperty(P,"signal",{enumerable:!0,get:()=>(_(this,ws,!0),s.signal)})},r=()=>{const P=M0(this.options,n),E=(()=>{const k={client:A(this,vs),queryKey:this.queryKey,meta:this.meta};return a(k),k})();return _(this,ws,!1),this.options.persister?this.options.persister(P,E,this):P(E)},o=(()=>{const P={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:A(this,vs),state:this.state,fetchFn:r};return a(P),P})(),c=A(this,ga)==="infinite"?iS(this.options.pages):this.options.behavior;c==null||c.onFetch(o,this),_(this,ya,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=o.fetchOptions)==null?void 0:u.meta))&&ke(this,Ze,tn).call(this,{type:"fetch",meta:(p=o.fetchOptions)==null?void 0:p.meta}),_(this,be,F0({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,onCancel:P=>{P instanceof $d&&P.revert&&this.setState({...A(this,ya),fetchStatus:"idle"}),s.abort()},onFail:(P,C)=>{ke(this,Ze,tn).call(this,{type:"failed",failureCount:P,error:C})},onPause:()=>{ke(this,Ze,tn).call(this,{type:"pause"})},onContinue:()=>{ke(this,Ze,tn).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0}));try{const P=await A(this,be).start();if(P===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(P),(m=(h=A(this,ct).config).onSuccess)==null||m.call(h,P,this),(v=(y=A(this,ct).config).onSettled)==null||v.call(y,P,this.state.error,this),P}catch(P){if(P instanceof $d){if(P.silent)return A(this,be).promise;if(P.revert){if(this.state.data===void 0)throw P;return this.state.data}}throw ke(this,Ze,tn).call(this,{type:"error",error:P}),(g=(b=A(this,ct).config).onError)==null||g.call(b,P,this),(x=(f=A(this,ct).config).onSettled)==null||x.call(f,this.state.data,P,this),P}finally{this.scheduleGc()}}},ga=new WeakMap,xs=new WeakMap,ya=new WeakMap,ct=new WeakMap,vs=new WeakMap,be=new WeakMap,Qr=new WeakMap,ws=new WeakMap,Ze=new WeakSet,L0=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,...cS(s.data,this.options),fetchMeta:t.meta??null};case"success":const a={...s,...hm(t.data,t.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return _(this,ya,t.manual?a:void 0),a;case"error":const r=t.error;return{...s,error:r,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=n(this.state),Le.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),A(this,ct).notify({query:this,type:"updated",action:t})})},Qg);function cS(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:I0(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function hm(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function fm(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 Xr,Vt,Oe,bs,_t,Cn,Xg,dS=(Xg=class extends z0{constructor(t){super();K(this,_t);K(this,Xr);K(this,Vt);K(this,Oe);K(this,bs);_(this,Xr,t.client),this.mutationId=t.mutationId,_(this,Oe,t.mutationCache),_(this,Vt,[]),this.state=t.state||uS(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){A(this,Vt).includes(t)||(A(this,Vt).push(t),this.clearGcTimeout(),A(this,Oe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){_(this,Vt,A(this,Vt).filter(n=>n!==t)),this.scheduleGc(),A(this,Oe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){A(this,Vt).length||(this.state.status==="pending"?this.scheduleGc():A(this,Oe).remove(this))}continue(){var t;return((t=A(this,bs))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,c,d,u,p,h,m,y,v,b,g,f,x,P,C,E,k;const n=()=>{ke(this,_t,Cn).call(this,{type:"continue"})},s={client:A(this,Xr),meta:this.options.meta,mutationKey:this.options.mutationKey};_(this,bs,F0({fn:()=>this.options.mutationFn?this.options.mutationFn(t,s):Promise.reject(new Error("No mutationFn found")),onFail:(j,N)=>{ke(this,_t,Cn).call(this,{type:"failed",failureCount:j,error:N})},onPause:()=>{ke(this,_t,Cn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>A(this,Oe).canRun(this)}));const a=this.state.status==="pending",r=!A(this,bs).canStart();try{if(a)n();else{ke(this,_t,Cn).call(this,{type:"pending",variables:t,isPaused:r}),A(this,Oe).config.onMutate&&await A(this,Oe).config.onMutate(t,this,s);const N=await((o=(i=this.options).onMutate)==null?void 0:o.call(i,t,s));N!==this.state.context&&ke(this,_t,Cn).call(this,{type:"pending",context:N,variables:t,isPaused:r})}const j=await A(this,bs).start();return await((d=(c=A(this,Oe).config).onSuccess)==null?void 0:d.call(c,j,t,this.state.context,this,s)),await((p=(u=this.options).onSuccess)==null?void 0:p.call(u,j,t,this.state.context,s)),await((m=(h=A(this,Oe).config).onSettled)==null?void 0:m.call(h,j,null,this.state.variables,this.state.context,this,s)),await((v=(y=this.options).onSettled)==null?void 0:v.call(y,j,null,t,this.state.context,s)),ke(this,_t,Cn).call(this,{type:"success",data:j}),j}catch(j){try{await((g=(b=A(this,Oe).config).onError)==null?void 0:g.call(b,j,t,this.state.context,this,s))}catch(N){Promise.reject(N)}try{await((x=(f=this.options).onError)==null?void 0:x.call(f,j,t,this.state.context,s))}catch(N){Promise.reject(N)}try{await((C=(P=A(this,Oe).config).onSettled)==null?void 0:C.call(P,void 0,j,this.state.variables,this.state.context,this,s))}catch(N){Promise.reject(N)}try{await((k=(E=this.options).onSettled)==null?void 0:k.call(E,void 0,j,t,this.state.context,s))}catch(N){Promise.reject(N)}throw ke(this,_t,Cn).call(this,{type:"error",error:j}),j}finally{A(this,Oe).runNext(this)}}},Xr=new WeakMap,Vt=new WeakMap,Oe=new WeakMap,bs=new WeakMap,_t=new WeakSet,Cn=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),Le.batch(()=>{A(this,Vt).forEach(s=>{s.onMutationUpdate(t)}),A(this,Oe).notify({mutation:this,type:"updated",action:t})})},Xg);function uS(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var rn,jt,Zr,Zg,pS=(Zg=class extends Nl{constructor(t={}){super();K(this,rn);K(this,jt);K(this,Zr);this.config=t,_(this,rn,new Set),_(this,jt,new Map),_(this,Zr,0)}build(t,n,s){const a=new dS({client:t,mutationCache:this,mutationId:++mi(this,Zr)._,options:t.defaultMutationOptions(n),state:s});return this.add(a),a}add(t){A(this,rn).add(t);const n=zi(t);if(typeof n=="string"){const s=A(this,jt).get(n);s?s.push(t):A(this,jt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(A(this,rn).delete(t)){const n=zi(t);if(typeof n=="string"){const s=A(this,jt).get(n);if(s)if(s.length>1){const a=s.indexOf(t);a!==-1&&s.splice(a,1)}else s[0]===t&&A(this,jt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=zi(t);if(typeof n=="string"){const s=A(this,jt).get(n),a=s==null?void 0:s.find(r=>r.state.status==="pending");return!a||a===t}else return!0}runNext(t){var s;const n=zi(t);if(typeof n=="string"){const a=(s=A(this,jt).get(n))==null?void 0:s.find(r=>r!==t&&r.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Le.batch(()=>{A(this,rn).forEach(t=>{this.notify({type:"removed",mutation:t})}),A(this,rn).clear(),A(this,jt).clear()})}getAll(){return Array.from(A(this,rn))}find(t){const n={exact:!0,...t};return this.getAll().find(s=>cm(n,s))}findAll(t={}){return this.getAll().filter(n=>cm(t,n))}notify(t){Le.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Le.batch(()=>Promise.all(t.map(n=>n.continue().catch(Et))))}},rn=new WeakMap,jt=new WeakMap,Zr=new WeakMap,Zg);function zi(e){var t;return(t=e.options.scope)==null?void 0:t.id}var Bt,Jg,hS=(Jg=class extends Nl{constructor(t={}){super();K(this,Bt);this.config=t,_(this,Bt,new Map)}build(t,n,s){const a=n.queryKey,r=n.queryHash??Vp(a,n);let i=this.get(r);return i||(i=new lS({client:t,queryKey:a,queryHash:r,options:t.defaultQueryOptions(n),state:s,defaultOptions:t.getQueryDefaults(a)}),this.add(i)),i}add(t){A(this,Bt).has(t.queryHash)||(A(this,Bt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=A(this,Bt).get(t.queryHash);n&&(t.destroy(),n===t&&A(this,Bt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Le.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return A(this,Bt).get(t)}getAll(){return[...A(this,Bt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(s=>lm(n,s))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(s=>lm(t,s)):n}notify(t){Le.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Le.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Le.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Bt=new WeakMap,Jg),ce,Dn,Mn,xa,va,On,wa,ba,ey,fS=(ey=class{constructor(e={}){K(this,ce);K(this,Dn);K(this,Mn);K(this,xa);K(this,va);K(this,On);K(this,wa);K(this,ba);_(this,ce,e.queryCache||new hS),_(this,Dn,e.mutationCache||new pS),_(this,Mn,e.defaultOptions||{}),_(this,xa,new Map),_(this,va,new Map),_(this,On,0)}mount(){mi(this,On)._++,A(this,On)===1&&(_(this,wa,R0.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ce).onFocus())})),_(this,ba,$o.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ce).onOnline())})))}unmount(){var e,t;mi(this,On)._--,A(this,On)===0&&((e=A(this,wa))==null||e.call(this),_(this,wa,void 0),(t=A(this,ba))==null||t.call(this),_(this,ba,void 0))}isFetching(e){return A(this,ce).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return A(this,Dn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,ce).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=A(this,ce).build(this,t),s=n.state.data;return s===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(qd(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(s))}getQueriesData(e){return A(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}),a=A(this,ce).get(s.queryHash),r=a==null?void 0:a.state.data,i=$k(t,r);if(i!==void 0)return A(this,ce).build(this,s).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return Le.batch(()=>A(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=A(this,ce).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=A(this,ce);Le.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=A(this,ce);return Le.batch(()=>(n.findAll(e).forEach(s=>{s.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},s=Le.batch(()=>A(this,ce).findAll(e).map(a=>a.cancel(n)));return Promise.all(s).then(Et).catch(Et)}invalidateQueries(e,t={}){return Le.batch(()=>(A(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=Le.batch(()=>A(this,ce).findAll(e).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let r=a.fetch(void 0,n);return n.throwOnError||(r=r.catch(Et)),a.state.fetchStatus==="paused"?Promise.resolve():r}));return Promise.all(s).then(Et)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=A(this,ce).build(this,t);return n.isStaleByTime(qd(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Et).catch(Et)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Et).catch(Et)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return $o.isOnline()?A(this,Dn).resumePausedMutations():Promise.resolve()}getQueryCache(){return A(this,ce)}getMutationCache(){return A(this,Dn)}getDefaultOptions(){return A(this,Mn)}setDefaultOptions(e){_(this,Mn,e)}setQueryDefaults(e,t){A(this,xa).set(Hr(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...A(this,xa).values()],n={};return t.forEach(s=>{qr(e,s.queryKey)&&Object.assign(n,s.defaultOptions)}),n}setMutationDefaults(e,t){A(this,va).set(Hr(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...A(this,va).values()],n={};return t.forEach(s=>{qr(e,s.mutationKey)&&Object.assign(n,s.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...A(this,Mn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Vp(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===_p&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...A(this,Mn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){A(this,ce).clear(),A(this,Dn).clear()}},ce=new WeakMap,Dn=new WeakMap,Mn=new WeakMap,xa=new WeakMap,va=new WeakMap,On=new WeakMap,wa=new WeakMap,ba=new WeakMap,ey),mS=w.createContext(void 0),gS=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(mS.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 Wr(){return Wr=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},Wr.apply(null,arguments)}var zn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(zn||(zn={}));const mm="popstate";function yS(e){e===void 0&&(e={});function t(s,a){let{pathname:r,search:i,hash:o}=s.location;return Ud("",{pathname:r,search:i,hash:o},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function n(s,a){return typeof a=="string"?a:Uo(a)}return vS(t,n,null,e)}function ge(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Bp(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function xS(){return Math.random().toString(36).substr(2,8)}function gm(e,t){return{usr:e.state,key:e.key,idx:t}}function Ud(e,t,n,s){return n===void 0&&(n=null),Wr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Va(t):t,{state:n,key:t&&t.key||s||xS()})}function Uo(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 Va(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 vS(e,t,n,s){s===void 0&&(s={});let{window:a=document.defaultView,v5Compat:r=!1}=s,i=a.history,o=zn.Pop,c=null,d=u();d==null&&(d=0,i.replaceState(Wr({},i.state,{idx:d}),""));function u(){return(i.state||{idx:null}).idx}function p(){o=zn.Pop;let b=u(),g=b==null?null:b-d;d=b,c&&c({action:o,location:v.location,delta:g})}function h(b,g){o=zn.Push;let f=Ud(v.location,b,g);d=u()+1;let x=gm(f,d),P=v.createHref(f);try{i.pushState(x,"",P)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;a.location.assign(P)}r&&c&&c({action:o,location:v.location,delta:1})}function m(b,g){o=zn.Replace;let f=Ud(v.location,b,g);d=u();let x=gm(f,d),P=v.createHref(f);i.replaceState(x,"",P),r&&c&&c({action:o,location:v.location,delta:0})}function y(b){let g=a.location.origin!=="null"?a.location.origin:a.location.href,f=typeof b=="string"?b:Uo(b);return f=f.replace(/ $/,"%20"),ge(g,"No window.location.(origin|href) available to create URL for href: "+f),new URL(f,g)}let v={get action(){return o},get location(){return e(a,i)},listen(b){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(mm,p),c=b,()=>{a.removeEventListener(mm,p),c=null}},createHref(b){return t(a,b)},createURL:y,encodeLocation(b){let g=y(b);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:m,go(b){return i.go(b)}};return v}var ym;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ym||(ym={}));function wS(e,t,n){return n===void 0&&(n="/"),bS(e,t,n)}function bS(e,t,n,s){let a=typeof t=="string"?Va(t):t,r=Hp(a.pathname||"/",n);if(r==null)return null;let i=V0(e);PS(i);let o=null,c=OS(r);for(let d=0;o==null&&d<i.length;++d)o=RS(i[d],c);return o}function V0(e,t,n,s){t===void 0&&(t=[]),n===void 0&&(n=[]),s===void 0&&(s="");let a=(r,i,o)=>{let c={relativePath:o===void 0?r.path||"":o,caseSensitive:r.caseSensitive===!0,childrenIndex:i,route:r};c.relativePath.startsWith("/")&&(ge(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);r.children&&r.children.length>0&&(ge(r.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+d+'".')),V0(r.children,t,u,d)),!(r.path==null&&!r.index)&&t.push({path:d,score:TS(d,r.index),routesMeta:u})};return e.forEach((r,i)=>{var o;if(r.path===""||!((o=r.path)!=null&&o.includes("?")))a(r,i);else for(let c of _0(r.path))a(r,i,c)}),t}function _0(e){let t=e.split("/");if(t.length===0)return[];let[n,...s]=t,a=n.endsWith("?"),r=n.replace(/\?$/,"");if(s.length===0)return a?[r,""]:[r];let i=_0(s.join("/")),o=[];return o.push(...i.map(c=>c===""?r:[r,c].join("/"))),a&&o.push(...i),o.map(c=>e.startsWith("/")&&c===""?"/":c)}function PS(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:NS(t.routesMeta.map(s=>s.childrenIndex),n.routesMeta.map(s=>s.childrenIndex)))}const CS=/^:[\w-]+$/,ES=3,jS=2,kS=1,SS=10,AS=-2,xm=e=>e==="*";function TS(e,t){let n=e.split("/"),s=n.length;return n.some(xm)&&(s+=AS),t&&(s+=jS),n.filter(a=>!xm(a)).reduce((a,r)=>a+(CS.test(r)?ES:r===""?kS:SS),s)}function NS(e,t){return e.length===t.length&&e.slice(0,-1).every((s,a)=>s===t[a])?e[e.length-1]-t[t.length-1]:0}function RS(e,t,n){let{routesMeta:s}=e,a={},r="/",i=[];for(let o=0;o<s.length;++o){let c=s[o],d=o===s.length-1,u=r==="/"?t:t.slice(r.length)||"/",p=DS({path:c.relativePath,caseSensitive:c.caseSensitive,end:d},u),h=c.route;if(!p)return null;Object.assign(a,p.params),i.push({params:a,pathname:Kn([r,p.pathname]),pathnameBase:VS(Kn([r,p.pathnameBase])),route:h}),p.pathnameBase!=="/"&&(r=Kn([r,p.pathnameBase]))}return i}function DS(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,s]=MS(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let r=a[0],i=r.replace(/(.)\/+$/,"$1"),o=a.slice(1);return{params:s.reduce((d,u,p)=>{let{paramName:h,isOptional:m}=u;if(h==="*"){let v=o[p]||"";i=r.slice(0,r.length-v.length).replace(/(.)\/+$/,"$1")}const y=o[p];return m&&!y?d[h]=void 0:d[h]=(y||"").replace(/%2F/g,"/"),d},{}),pathname:r,pathnameBase:i,pattern:e}}function MS(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Bp(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=[],a="^"+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:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),s]}function OS(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Bp(!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 Hp(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 IS=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,FS=e=>IS.test(e);function zS(e,t){t===void 0&&(t="/");let{pathname:n,search:s="",hash:a=""}=typeof e=="string"?Va(e):e,r;if(n)if(FS(n))r=n;else{if(n.includes("//")){let i=n;n=q0(n),Bp(!1,"Pathnames cannot have embedded double slashes - normalizing "+(i+" -> "+n))}n.startsWith("/")?r=vm(n.substring(1),"/"):r=vm(n,t)}else r=t;return{pathname:r,search:_S(s),hash:BS(a)}}function vm(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function gc(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 LS(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function B0(e,t){let n=LS(e);return t?n.map((s,a)=>a===n.length-1?s.pathname:s.pathnameBase):n.map(s=>s.pathnameBase)}function H0(e,t,n,s){s===void 0&&(s=!1);let a;typeof e=="string"?a=Va(e):(a=Wr({},e),ge(!a.pathname||!a.pathname.includes("?"),gc("?","pathname","search",a)),ge(!a.pathname||!a.pathname.includes("#"),gc("#","pathname","hash",a)),ge(!a.search||!a.search.includes("#"),gc("#","search","hash",a)));let r=e===""||a.pathname==="",i=r?"/":a.pathname,o;if(i==null)o=n;else{let p=t.length-1;if(!s&&i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),p-=1;a.pathname=h.join("/")}o=p>=0?t[p]:"/"}let c=zS(a,o),d=i&&i!=="/"&&i.endsWith("/"),u=(r||i===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||u)&&(c.pathname+="/"),c}const q0=e=>e.replace(/\/\/+/g,"/"),Kn=e=>q0(e.join("/")),VS=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),_S=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,BS=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function HS(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const W0=["post","put","patch","delete"];new Set(W0);const qS=["get",...W0];new Set(qS);/**
 * 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 $r(){return $r=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},$r.apply(null,arguments)}const qp=w.createContext(null),WS=w.createContext(null),Is=w.createContext(null),Rl=w.createContext(null),as=w.createContext({outlet:null,matches:[],isDataRoute:!1}),$0=w.createContext(null);function $S(e,t){let{relative:n}=t===void 0?{}:t;ci()||ge(!1);let{basename:s,navigator:a}=w.useContext(Is),{hash:r,pathname:i,search:o}=K0(e,{relative:n}),c=i;return s!=="/"&&(c=i==="/"?s:Kn([s,i])),a.createHref({pathname:c,search:o,hash:r})}function ci(){return w.useContext(Rl)!=null}function Fs(){return ci()||ge(!1),w.useContext(Rl).location}function U0(e){w.useContext(Is).static||w.useLayoutEffect(e)}function US(){let{isDataRoute:e}=w.useContext(as);return e?oA():KS()}function KS(){ci()||ge(!1);let e=w.useContext(qp),{basename:t,future:n,navigator:s}=w.useContext(Is),{matches:a}=w.useContext(as),{pathname:r}=Fs(),i=JSON.stringify(B0(a,n.v7_relativeSplatPath)),o=w.useRef(!1);return U0(()=>{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 p=H0(d,JSON.parse(i),r,u.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Kn([t,p.pathname])),(u.replace?s.replace:s.push)(p,u.state,u)},[t,s,i,r,e])}const GS=w.createContext(null);function YS(e){let t=w.useContext(as).outlet;return t&&w.createElement(GS.Provider,{value:e},t)}function K0(e,t){let{relative:n}=t===void 0?{}:t,{future:s}=w.useContext(Is),{matches:a}=w.useContext(as),{pathname:r}=Fs(),i=JSON.stringify(B0(a,s.v7_relativeSplatPath));return w.useMemo(()=>H0(e,JSON.parse(i),r,n==="path"),[e,i,r,n])}function QS(e,t){return XS(e,t)}function XS(e,t,n,s){ci()||ge(!1);let{navigator:a}=w.useContext(Is),{matches:r}=w.useContext(as),i=r[r.length-1],o=i?i.params:{};i&&i.pathname;let c=i?i.pathnameBase:"/";i&&i.route;let d=Fs(),u;if(t){var p;let b=typeof t=="string"?Va(t):t;c==="/"||(p=b.pathname)!=null&&p.startsWith(c)||ge(!1),u=b}else u=d;let h=u.pathname||"/",m=h;if(c!=="/"){let b=c.replace(/^\//,"").split("/");m="/"+h.replace(/^\//,"").split("/").slice(b.length).join("/")}let y=wS(e,{pathname:m}),v=nA(y&&y.map(b=>Object.assign({},b,{params:Object.assign({},o,b.params),pathname:Kn([c,a.encodeLocation?a.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?c:Kn([c,a.encodeLocation?a.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),r,n,s);return t&&v?w.createElement(Rl.Provider,{value:{location:$r({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:zn.Pop}},v):v}function ZS(){let e=iA(),t=HS(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={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:a},n):null,null)}const JS=w.createElement(ZS,null);class eA 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(as.Provider,{value:this.props.routeContext},w.createElement($0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function tA(e){let{routeContext:t,match:n,children:s}=e,a=w.useContext(qp);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(as.Provider,{value:t},s)}function nA(e,t,n,s){var a;if(t===void 0&&(t=[]),n===void 0&&(n=null),s===void 0&&(s=null),e==null){var r;if(!n)return null;if(n.errors)e=n.matches;else if((r=s)!=null&&r.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,o=(a=n)==null?void 0:a.errors;if(o!=null){let u=i.findIndex(p=>p.route.id&&(o==null?void 0:o[p.route.id])!==void 0);u>=0||ge(!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 p=i[u];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(d=u),p.route.id){let{loaderData:h,errors:m}=n,y=p.route.loader&&h[p.route.id]===void 0&&(!m||m[p.route.id]===void 0);if(p.route.lazy||y){c=!0,d>=0?i=i.slice(0,d+1):i=[i[0]];break}}}return i.reduceRight((u,p,h)=>{let m,y=!1,v=null,b=null;n&&(m=o&&p.route.id?o[p.route.id]:void 0,v=p.route.errorElement||JS,c&&(d<0&&h===0?(lA("route-fallback"),y=!0,b=null):d===h&&(y=!0,b=p.route.hydrateFallbackElement||null)));let g=t.concat(i.slice(0,h+1)),f=()=>{let x;return m?x=v:y?x=b:p.route.Component?x=w.createElement(p.route.Component,null):p.route.element?x=p.route.element:x=u,w.createElement(tA,{match:p,routeContext:{outlet:u,matches:g,isDataRoute:n!=null},children:x})};return n&&(p.route.ErrorBoundary||p.route.errorElement||h===0)?w.createElement(eA,{location:n.location,revalidation:n.revalidation,component:v,error:m,children:f(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):f()},null)}var G0=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(G0||{}),Y0=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}(Y0||{});function sA(e){let t=w.useContext(qp);return t||ge(!1),t}function aA(e){let t=w.useContext(WS);return t||ge(!1),t}function rA(e){let t=w.useContext(as);return t||ge(!1),t}function Q0(e){let t=rA(),n=t.matches[t.matches.length-1];return n.route.id||ge(!1),n.route.id}function iA(){var e;let t=w.useContext($0),n=aA(),s=Q0();return t!==void 0?t:(e=n.errors)==null?void 0:e[s]}function oA(){let{router:e}=sA(G0.UseNavigateStable),t=Q0(Y0.UseNavigateStable),n=w.useRef(!1);return U0(()=>{n.current=!0}),w.useCallback(function(a,r){r===void 0&&(r={}),n.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,$r({fromRouteId:t},r)))},[e,t])}const wm={};function lA(e,t,n){wm[e]||(wm[e]=!0)}function cA(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function dA(e){return YS(e.context)}function pe(e){ge(!1)}function uA(e){let{basename:t="/",children:n=null,location:s,navigationType:a=zn.Pop,navigator:r,static:i=!1,future:o}=e;ci()&&ge(!1);let c=t.replace(/^\/*/,"/"),d=w.useMemo(()=>({basename:c,navigator:r,static:i,future:$r({v7_relativeSplatPath:!1},o)}),[c,o,r,i]);typeof s=="string"&&(s=Va(s));let{pathname:u="/",search:p="",hash:h="",state:m=null,key:y="default"}=s,v=w.useMemo(()=>{let b=Hp(u,c);return b==null?null:{location:{pathname:b,search:p,hash:h,state:m,key:y},navigationType:a}},[c,u,p,h,m,y,a]);return v==null?null:w.createElement(Is.Provider,{value:d},w.createElement(Rl.Provider,{children:n,value:v}))}function pA(e){let{children:t,location:n}=e;return QS(Kd(t),n)}new Promise(()=>{});function Kd(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(s,a)=>{if(!w.isValidElement(s))return;let r=[...t,a];if(s.type===w.Fragment){n.push.apply(n,Kd(s.props.children,r));return}s.type!==pe&&ge(!1),!s.props.index||!s.props.children||ge(!1);let i={id:s.props.id||r.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,r)),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 hA(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 fA(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function mA(e,t){return e.button===0&&(!t||t==="_self")&&!fA(e)}const gA=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],yA="6";try{window.__reactRouterVersion=yA}catch{}const xA="startTransition",bm=Tu[xA];function vA(e){let{basename:t,children:n,future:s,window:a}=e,r=w.useRef();r.current==null&&(r.current=yS({window:a,v5Compat:!0}));let i=r.current,[o,c]=w.useState({action:i.action,location:i.location}),{v7_startTransition:d}=s||{},u=w.useCallback(p=>{d&&bm?bm(()=>c(p)):c(p)},[c,d]);return w.useLayoutEffect(()=>i.listen(u),[i,u]),w.useEffect(()=>cA(s),[s]),w.createElement(uA,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:i,future:s})}const wA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",bA=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,B=w.forwardRef(function(t,n){let{onClick:s,relative:a,reloadDocument:r,replace:i,state:o,target:c,to:d,preventScrollReset:u,viewTransition:p}=t,h=hA(t,gA),{basename:m}=w.useContext(Is),y,v=!1;if(typeof d=="string"&&bA.test(d)&&(y=d,wA))try{let x=new URL(window.location.href),P=d.startsWith("//")?new URL(x.protocol+d):new URL(d),C=Hp(P.pathname,m);P.origin===x.origin&&C!=null?d=C+P.search+P.hash:v=!0}catch{}let b=$S(d,{relative:a}),g=PA(d,{replace:i,state:o,target:c,preventScrollReset:u,relative:a,viewTransition:p});function f(x){s&&s(x),x.defaultPrevented||g(x)}return w.createElement("a",Gd({},h,{href:y||b,onClick:v||r?s:f,ref:n,target:c}))});var Pm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Pm||(Pm={}));var Cm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Cm||(Cm={}));function PA(e,t){let{target:n,replace:s,state:a,preventScrollReset:r,relative:i,viewTransition:o}=t===void 0?{}:t,c=US(),d=Fs(),u=K0(e,{relative:i});return w.useCallback(p=>{if(mA(p,n)){p.preventDefault();let h=s!==void 0?s:Uo(d)===Uo(u);c(e,{replace:h,state:a,preventScrollReset:r,relative:i,viewTransition:o})}},[d,c,u,s,a,n,e,r,i,o])}const CA=w.createContext(null),yc={didCatch:!1,error:null};class EA extends w.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=yc}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(...t){var s,a;const{error:n}=this.state;n!==null&&((a=(s=this.props).onReset)==null||a.call(s,{args:t,reason:"imperative-api"}),this.setState(yc))}componentDidCatch(t,n){var s,a;(a=(s=this.props).onError)==null||a.call(s,t,n)}componentDidUpdate(t,n){var r,i;const{didCatch:s}=this.state,{resetKeys:a}=this.props;s&&n.error!==null&&jA(t.resetKeys,a)&&((i=(r=this.props).onReset)==null||i.call(r,{next:a,prev:t.resetKeys,reason:"keys"}),this.setState(yc))}render(){const{children:t,fallbackRender:n,FallbackComponent:s,fallback:a}=this.props,{didCatch:r,error:i}=this.state;let o=t;if(r){const c={error:i,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")o=n(c);else if(s)o=w.createElement(s,c);else if(a!==void 0)o=a;else throw i}return w.createElement(CA.Provider,{value:{didCatch:r,error:i,resetErrorBoundary:this.resetErrorBoundary}},o)}}function jA(e=[],t=[]){return e.length!==t.length||e.some((n,s)=>!Object.is(n,t[s]))}var kA=typeof Element<"u",SA=typeof Map=="function",AA=typeof Set=="function",TA=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function ro(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,a;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(s=n;s--!==0;)if(!ro(e[s],t[s]))return!1;return!0}var r;if(SA&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(r=e.entries();!(s=r.next()).done;)if(!t.has(s.value[0]))return!1;for(r=e.entries();!(s=r.next()).done;)if(!ro(s.value[1],t.get(s.value[0])))return!1;return!0}if(AA&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(r=e.entries();!(s=r.next()).done;)if(!t.has(s.value[0]))return!1;return!0}if(TA&&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(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(s=n;s--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[s]))return!1;if(kA&&e instanceof Element)return!1;for(s=n;s--!==0;)if(!((a[s]==="_owner"||a[s]==="__v"||a[s]==="__o")&&e.$$typeof)&&!ro(e[a[s]],t[a[s]]))return!1;return!0}return e!==e&&t!==t}var NA=function(t,n){try{return ro(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 RA=sl(NA);var DA=function(e,t,n,s,a,r,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,a,r,i,o],u=0;c=new Error(t.replace(/%s/g,function(){return d[u++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},MA=DA;const Em=sl(MA);var OA=function(t,n,s,a){var r=s?s.call(a,t,n):void 0;if(r!==void 0)return!!r;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 p=t[u],h=n[u];if(r=s?s.call(a,p,h,u):void 0,r===!1||r===void 0&&p!==h)return!1}return!0};const IA=sl(OA);var X0=(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))(X0||{}),xc={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"]}},jm=Object.values(X0),Wp={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},FA=Object.entries(Wp).reduce((e,[t,n])=>(e[n]=t,e),{}),At="data-rh",ua={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},pa=(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},zA=e=>{let t=pa(e,"title");const n=pa(e,ua.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const s=pa(e,ua.DEFAULT_TITLE);return t||s||void 0},LA=e=>pa(e,ua.ON_CHANGE_CLIENT_STATE)||(()=>{}),vc=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,s)=>({...n,...s}),{}),VA=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,s)=>{if(!n.length){const a=Object.keys(s);for(let r=0;r<a.length;r+=1){const o=a[r].toLowerCase();if(e.indexOf(o)!==-1&&s[o])return n.concat(s)}}return n},[]),_A=e=>console&&typeof console.warn=="function"&&console.warn(e),tr=(e,t,n)=>{const s={};return n.filter(a=>Array.isArray(a[e])?!0:(typeof a[e]<"u"&&_A(`Helmet: ${e} should be of type "Array". Instead found type "${typeof a[e]}"`),!1)).map(a=>a[e]).reverse().reduce((a,r)=>{const i={};r.filter(c=>{let d;const u=Object.keys(c);for(let h=0;h<u.length;h+=1){const m=u[h],y=m.toLowerCase();t.indexOf(y)!==-1&&!(d==="rel"&&c[d].toLowerCase()==="canonical")&&!(y==="rel"&&c[y].toLowerCase()==="stylesheet")&&(d=y),t.indexOf(m)!==-1&&(m==="innerHTML"||m==="cssText"||m==="itemprop")&&(d=m)}if(!d||!c[d])return!1;const p=c[d].toLowerCase();return s[d]||(s[d]={}),i[d]||(i[d]={}),s[d][p]?!1:(i[d][p]=!0,!0)}).reverse().forEach(c=>a.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 a},[]).reverse()},BA=(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},HA=e=>({baseTag:VA(["href"],e),bodyAttributes:vc("bodyAttributes",e),defer:pa(e,ua.DEFER),encode:pa(e,ua.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:vc("htmlAttributes",e),linkTags:tr("link",["rel","href"],e),metaTags:tr("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:tr("noscript",["innerHTML"],e),onChangeClientState:LA(e),scriptTags:tr("script",["src","innerHTML"],e),styleTags:tr("style",["cssText"],e),title:zA(e),titleAttributes:vc("titleAttributes",e),prioritizeSeoTags:BA(e,ua.PRIORITIZE_SEO_TAGS)}),Z0=e=>Array.isArray(e)?e.join(""):e,qA=(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},wc=(e,t)=>Array.isArray(e)?e.reduce((n,s)=>(qA(s,t)?n.priority.push(s):n.default.push(s),n),{priority:[],default:[]}):{default:e,priority:[]},km=(e,t)=>({...e,[t]:void 0}),WA=["noscript","script","style"],Yd=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),J0=e=>Object.keys(e).reduce((t,n)=>{const s=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${s}`:s},""),$A=(e,t,n,s)=>{const a=J0(n),r=Z0(t);return a?`<${e} ${At}="true" ${a}>${Yd(r,s)}</${e}>`:`<${e} ${At}="true">${Yd(r,s)}</${e}>`},UA=(e,t,n=!0)=>t.reduce((s,a)=>{const r=a,i=Object.keys(r).filter(d=>!(d==="innerHTML"||d==="cssText")).reduce((d,u)=>{const p=typeof r[u]>"u"?u:`${u}="${Yd(r[u],n)}"`;return d?`${d} ${p}`:p},""),o=r.innerHTML||r.cssText||"",c=WA.indexOf(e)===-1;return`${s}<${e} ${At}="true" ${i}${c?"/>":`>${o}</${e}>`}`},""),ew=(e,t={})=>Object.keys(e).reduce((n,s)=>{const a=Wp[s];return n[a||s]=e[s],n},t),KA=(e,t,n)=>{const s={key:t,[At]:!0},a=ew(n,s);return[Wt.createElement("title",a,t)]},io=(e,t)=>t.map((n,s)=>{const a={key:s,[At]:!0};return Object.keys(n).forEach(r=>{const o=Wp[r]||r;if(o==="innerHTML"||o==="cssText"){const c=n.innerHTML||n.cssText;a.dangerouslySetInnerHTML={__html:c}}else a[o]=n[r]}),Wt.createElement(e,a)}),lt=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>KA(e,t.title,t.titleAttributes),toString:()=>$A(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>ew(t),toString:()=>J0(t)};default:return{toComponent:()=>io(e,t),toString:()=>UA(e,t,n)}}},GA=({metaTags:e,linkTags:t,scriptTags:n,encode:s})=>{const a=wc(e,xc.meta),r=wc(t,xc.link),i=wc(n,xc.script);return{priorityMethods:{toComponent:()=>[...io("meta",a.priority),...io("link",r.priority),...io("script",i.priority)],toString:()=>`${lt("meta",a.priority,s)} ${lt("link",r.priority,s)} ${lt("script",i.priority,s)}`},metaTags:a.default,linkTags:r.default,scriptTags:i.default}},YA=e=>{const{baseTag:t,bodyAttributes:n,encode:s=!0,htmlAttributes:a,noscriptTags:r,styleTags:i,title:o="",titleAttributes:c,prioritizeSeoTags:d}=e;let{linkTags:u,metaTags:p,scriptTags:h}=e,m={toComponent:()=>{},toString:()=>""};return d&&({priorityMethods:m,linkTags:u,metaTags:p,scriptTags:h}=GA(e)),{priority:m,base:lt("base",t,s),bodyAttributes:lt("bodyAttributes",n,s),htmlAttributes:lt("htmlAttributes",a,s),link:lt("link",u,s),meta:lt("meta",p,s),noscript:lt("noscript",r,s),script:lt("script",h,s),style:lt("style",i,s),title:lt("title",{title:o,titleAttributes:c},s)}},Qd=YA,Li=[],tw=!!(typeof window<"u"&&window.document&&window.document.createElement),Xd=class{constructor(e,t){Jt(this,"instances",[]);Jt(this,"canUseDOM",tw);Jt(this,"context");Jt(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Li:this.instances,add:e=>{(this.canUseDOM?Li:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Li:this.instances).indexOf(e);(this.canUseDOM?Li:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Qd({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},QA={},nw=Wt.createContext(QA),Ps,sw=(Ps=class extends w.Component{constructor(n){super(n);Jt(this,"helmetData");this.helmetData=new Xd(this.props.context||{},Ps.canUseDOM)}render(){return Wt.createElement(nw.Provider,{value:this.helmetData.value},this.props.children)}},Jt(Ps,"canUseDOM",tw),Ps),Vs=(e,t)=>{const n=document.head||document.querySelector("head"),s=n.querySelectorAll(`${e}[${At}]`),a=[].slice.call(s),r=[];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,p=typeof o[u]>"u"?"":o[u];c.setAttribute(d,p)}c.setAttribute(At,"true"),a.some((d,u)=>(i=u,c.isEqualNode(d)))?a.splice(i,1):r.push(c)}),a.forEach(o=>{var c;return(c=o.parentNode)==null?void 0:c.removeChild(o)}),r.forEach(o=>n.appendChild(o)),{oldTags:a,newTags:r}},Zd=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const s=n.getAttribute(At),a=s?s.split(","):[],r=[...a],i=Object.keys(t);for(const o of i){const c=t[o]||"";n.getAttribute(o)!==c&&n.setAttribute(o,c),a.indexOf(o)===-1&&a.push(o);const d=r.indexOf(o);d!==-1&&r.splice(d,1)}for(let o=r.length-1;o>=0;o-=1)n.removeAttribute(r[o]);a.length===r.length?n.removeAttribute(At):n.getAttribute(At)!==i.join(",")&&n.setAttribute(At,i.join(","))},XA=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=Z0(e)),Zd("title",t)},Sm=(e,t)=>{const{baseTag:n,bodyAttributes:s,htmlAttributes:a,linkTags:r,metaTags:i,noscriptTags:o,onChangeClientState:c,scriptTags:d,styleTags:u,title:p,titleAttributes:h}=e;Zd("body",s),Zd("html",a),XA(p,h);const m={baseTag:Vs("base",n),linkTags:Vs("link",r),metaTags:Vs("meta",i),noscriptTags:Vs("noscript",o),scriptTags:Vs("script",d),styleTags:Vs("style",u)},y={},v={};Object.keys(m).forEach(b=>{const{newTags:g,oldTags:f}=m[b];g.length&&(y[b]=g),f.length&&(v[b]=m[b].oldTags)}),t&&t(),c(e,y,v)},nr=null,ZA=e=>{nr&&cancelAnimationFrame(nr),e.defer?nr=requestAnimationFrame(()=>{Sm(e,()=>{nr=null})}):(Sm(e),nr=null)},JA=ZA,Am=class extends w.Component{constructor(){super(...arguments);Jt(this,"rendered",!1)}shouldComponentUpdate(t){return!IA(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 a=HA(t.get().map(r=>{const i={...r.props};return delete i.context,i}));sw.canUseDOM?JA(a):Qd&&(s=Qd(a)),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}},Lc,eT=(Lc=class extends w.Component{shouldComponentUpdate(e){return!RA(km(this.props,"helmetData"),km(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(jm.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 ${jm.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:a,...r}=s.props,i=Object.keys(r).reduce((c,d)=>(c[FA[d]||d]=r[d],c),{});let{type:o}=s;switch(typeof o=="symbol"?o=o.toString():this.warnOnInvalidChildren(s,a),o){case"Symbol(react.fragment)":t=this.mapChildrenToProps(a,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(s,n,i,a);break;default:t=this.mapObjectTypeChildren(s,t,i,a);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 a=s;s=new Xd(a.context,!0),delete n.helmetData}return s?Wt.createElement(Am,{...n,context:s.value}):Wt.createElement(nw.Consumer,null,a=>Wt.createElement(Am,{...n,context:a}))}},Jt(Lc,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Lc);const tT=jp("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"}}),vr=w.forwardRef(({className:e,variant:t,size:n,asChild:s=!1,...a},r)=>{const i=s?VC:"button";return l.jsx(i,{className:Ee(tT({variant:t,size:n,className:e})),ref:r,...a})});vr.displayName="Button";const aw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ee("rounded-xl border bg-card text-card-foreground shadow",e),...t}));aw.displayName="Card";const rw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ee("flex flex-col space-y-1.5 p-6",e),...t}));rw.displayName="CardHeader";const iw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ee("font-semibold leading-none tracking-tight",e),...t}));iw.displayName="CardTitle";const ow=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ee("text-sm text-muted-foreground",e),...t}));ow.displayName="CardDescription";const lw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ee("p-6 pt-0",e),...t}));lw.displayName="CardContent";const cw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ee("flex items-center p-6 pt-0",e),...t}));cw.displayName="CardFooter";const nT=jp("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"}}),dw=w.forwardRef(({className:e,variant:t,...n},s)=>l.jsx("div",{ref:s,role:"alert",className:Ee(nT({variant:t}),e),...n}));dw.displayName="Alert";const sT=w.forwardRef(({className:e,...t},n)=>l.jsx("h5",{ref:n,className:Ee("mb-1 font-medium leading-none tracking-tight",e),...t}));sT.displayName="AlertTitle";const uw=w.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Ee("text-sm [&_p]:leading-relaxed",e),...t}));uw.displayName="AlertDescription";var aT="Separator",Tm="horizontal",rT=["horizontal","vertical"],pw=w.forwardRef((e,t)=>{const{decorative:n,orientation:s=Tm,...a}=e,r=iT(s)?s:Tm,o=n?{role:"none"}:{"aria-orientation":r==="vertical"?r:void 0,role:"separator"};return l.jsx($e.div,{"data-orientation":r,...o,...a,ref:t})});pw.displayName=aT;function iT(e){return rT.includes(e)}var hw=pw;const fw=w.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...s},a)=>l.jsx(hw,{ref:a,decorative:n,orientation:t,className:Ee("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...s}));fw.displayName=hw.displayName;const oT=({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":"kaoc0iv1u","data-path":"src/components/error-fallback.tsx",children:l.jsxs(aw,{className:"w-full max-w-md","data-id":"qiikhjyxu","data-path":"src/components/error-fallback.tsx",children:[l.jsxs(rw,{className:"text-center","data-id":"09h331g7w","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":"x9ocjhnzv","data-path":"src/components/error-fallback.tsx",children:l.jsx(Kf,{className:"h-8 w-8 text-destructive drop-shadow-sm","data-id":"4dpi46okj","data-path":"src/components/error-fallback.tsx"})}),l.jsx(iw,{className:"text-xl font-semibold","data-id":"l1epelacx","data-path":"src/components/error-fallback.tsx",children:"Something went wrong"}),l.jsx(ow,{"data-id":"q69e6149m","data-path":"src/components/error-fallback.tsx",children:"Sorry, the application encountered an unexpected error"})]}),l.jsxs(lw,{className:"space-y-4","data-id":"ibgevqa6t","data-path":"src/components/error-fallback.tsx",children:[e&&l.jsxs(dw,{variant:"destructive","data-id":"4die2hcui","data-path":"src/components/error-fallback.tsx",children:[l.jsx(Kf,{className:"h-5 w-5","data-id":"ozcr8w14i","data-path":"src/components/error-fallback.tsx"}),l.jsx(uw,{className:"text-sm","data-id":"z3e8t535o","data-path":"src/components/error-fallback.tsx",children:l.jsxs("details",{className:"mt-2","data-id":"tu8b5lqbz","data-path":"src/components/error-fallback.tsx",children:[l.jsx("summary",{className:"cursor-pointer font-medium","data-id":"kd04llqxq","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":"xkoip2mgf","data-path":"src/components/error-fallback.tsx",children:e.message})]})})]}),l.jsx("div",{className:"text-sm text-muted-foreground text-center","data-id":"4rxplkqkf","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(fw,{"data-id":"xva53wtla","data-path":"src/components/error-fallback.tsx"}),l.jsxs(cw,{className:"flex flex-col gap-2 pt-6","data-id":"425r7g6yu","data-path":"src/components/error-fallback.tsx",children:[l.jsxs("div",{className:"flex w-full gap-2","data-id":"4hibvfhe2","data-path":"src/components/error-fallback.tsx",children:[t&&l.jsxs(vr,{onClick:t,className:"flex-1",variant:"default","data-id":"776qaqti0","data-path":"src/components/error-fallback.tsx",children:[l.jsx(Uf,{className:"mr-2 h-4 w-4 opacity-90","data-id":"ibtgm0lve","data-path":"src/components/error-fallback.tsx"}),"Retry"]}),l.jsxs(vr,{onClick:n,variant:"outline",className:"flex-1","data-id":"5s5crxrsl","data-path":"src/components/error-fallback.tsx",children:[l.jsx(Uf,{className:"mr-2 h-4 w-4 opacity-90","data-id":"heqqw2m16","data-path":"src/components/error-fallback.tsx"}),"Refresh Page"]})]}),l.jsxs(vr,{onClick:s,variant:"ghost",className:"w-full","data-id":"1v12uript","data-path":"src/components/error-fallback.tsx",children:[l.jsx(sE,{className:"mr-2 h-4 w-4 opacity-80","data-id":"ezicfsim9","data-path":"src/components/error-fallback.tsx"}),"Go Home"]})]})]})})},lT=()=>{const e=Fs(),t=window.location.origin+e.pathname;return l.jsxs(l.Fragment,{children:[l.jsx(eT,{"data-id":"ocuiaedxt","data-path":"src/components/canonical-manager.tsx",children:l.jsx("link",{rel:"canonical",href:t,"data-id":"c9advn70e","data-path":"src/components/canonical-manager.tsx"})}),l.jsx(dA,{"data-id":"316ysqr0n","data-path":"src/components/canonical-manager.tsx"})]})},Nm=[{label:"Home",path:"/"},{label:"About Us",path:"/about",children:[{label:"Our Story",path:"/about/our-story"},{label:"Mission & Values",path:"/about/mission-values"},{label:"Team",path:"/about/team"}]},{label:"Programs",path:"/programs",children:[{label:"Harmony Riding Pathways",path:"/programs/harmony-riding-pathways"},{label:"Confidence in Motion",path:"/programs/confidence-in-motion"},{label:"Inclusive Trails Network",path:"/programs/inclusive-trails-network"}]},{label:"Impact",path:"/impact"},{label:"Donate",path:"/donate",highlight:!0},{label:"Blog",path:"/blog"},{label:"Contact",path:"/contact"},{label:"Accessibility & Inclusion",path:"/accessibility"}];function cT(){const[e,t]=w.useState(!1),[n,s]=w.useState(!1),[a,r]=w.useState(null),[i,o]=w.useState(null),c=Fs();return w.useEffect(()=>{const d=()=>s(window.scrollY>20);return window.addEventListener("scroll",d),()=>window.removeEventListener("scroll",d)},[]),w.useEffect(()=>{t(!1),r(null)},[c]),l.jsxs("nav",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${n?"bg-white shadow-md py-2":"bg-white/95 backdrop-blur-sm py-3"}`,role:"navigation","aria-label":"Main navigation","data-id":"2pa75az23","data-path":"src/components/Navbar.tsx",children:[l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"kjhhypwn9","data-path":"src/components/Navbar.tsx",children:l.jsxs("div",{className:"flex items-center justify-between","data-id":"wo5ihyj8k","data-path":"src/components/Navbar.tsx",children:[l.jsxs(B,{to:"/",className:"flex items-center gap-3 group","aria-label":"Hooves for Harmony - Home","data-id":"7l18d3xfc","data-path":"src/components/Navbar.tsx",children:[l.jsx("div",{className:"w-10 h-10 rounded-full flex items-center justify-center flex-shrink-0",style:{background:"linear-gradient(135deg, #3D6B35 0%, #558048 100%)"},"data-id":"758u7kcuu","data-path":"src/components/Navbar.tsx",children:l.jsx("span",{className:"text-white font-bold text-sm font-display","data-id":"ukee9cbhf","data-path":"src/components/Navbar.tsx",children:"H4H"})}),l.jsxs("div",{className:"hidden sm:block","data-id":"x3zlyqv9c","data-path":"src/components/Navbar.tsx",children:[l.jsx("div",{className:"font-display font-bold text-base leading-tight",style:{color:"#2A4C25"},"data-id":"6w94ojm1s","data-path":"src/components/Navbar.tsx",children:"Hooves for Harmony"}),l.jsx("div",{className:"text-xs font-serif-sans",style:{color:"#8FAF83",letterSpacing:"0.06em"},"data-id":"ptr9mbrc7","data-path":"src/components/Navbar.tsx",children:"INC."})]})]}),l.jsx("div",{className:"hidden lg:flex items-center gap-1","data-id":"rumjkdc67","data-path":"src/components/Navbar.tsx",children:Nm.map(d=>d.children?l.jsxs("div",{className:"relative",onMouseEnter:()=>r(d.label),onMouseLeave:()=>r(null),"data-id":"j4xate0ao","data-path":"src/components/Navbar.tsx",children:[l.jsxs("button",{className:"flex items-center gap-1 px-3 py-2 rounded-md text-sm font-serif-sans font-semibold transition-colors",style:{color:a===d.label?"#3D6B35":"#4A3020"},"aria-expanded":a===d.label,"aria-haspopup":"true","data-id":"bjik6xwmz","data-path":"src/components/Navbar.tsx",children:[d.label,l.jsx($f,{size:14,className:`transition-transform duration-200 ${a===d.label?"rotate-180":""}`,"data-id":"14nyt12kx","data-path":"src/components/Navbar.tsx"})]}),a===d.label&&l.jsx("div",{className:"absolute top-full left-0 mt-1 w-56 rounded-xl shadow-xl border overflow-hidden",style:{backgroundColor:"white",borderColor:"#EDE7DC"},role:"menu","data-id":"9485srsmj","data-path":"src/components/Navbar.tsx",children:d.children.map(u=>l.jsx(B,{to:u.path,className:"block px-4 py-3 text-sm font-serif-sans font-medium transition-colors hover:bg-[#EEF5EA]",style:{color:"#4A3020"},role:"menuitem","data-id":"h7crd88rj","data-path":"src/components/Navbar.tsx",children:u.label},u.path))})]},d.label):d.highlight?l.jsxs(B,{to:d.path,className:"ml-2 px-4 py-2 rounded-md text-sm font-serif-sans font-bold text-white flex items-center gap-1.5 transition-all hover:shadow-lg hover:-translate-y-0.5",style:{backgroundColor:"#C47D3A"},"aria-label":"Donate to Hooves for Harmony","data-id":"iikboil8g","data-path":"src/components/Navbar.tsx",children:[l.jsx(xt,{size:14,"data-id":"li6cpm730","data-path":"src/components/Navbar.tsx"}),d.label]},d.path):l.jsx(B,{to:d.path,className:`px-3 py-2 rounded-md text-sm font-serif-sans font-semibold transition-colors hover:text-[#3D6B35] hover:bg-[#EEF5EA] ${c.pathname===d.path?"text-[#3D6B35] bg-[#EEF5EA]":""}`,style:{color:c.pathname===d.path?"#3D6B35":"#4A3020"},"data-id":"pfquibf0f","data-path":"src/components/Navbar.tsx",children:d.label},d.path))}),l.jsx("button",{className:"lg:hidden p-2 rounded-md",onClick:()=>t(!e),"aria-label":e?"Close menu":"Open menu","aria-expanded":e,"data-id":"akn8a3r45","data-path":"src/components/Navbar.tsx",children:e?l.jsx(Wv,{size:24,style:{color:"#3D6B35"},"data-id":"e5i7a394k","data-path":"src/components/Navbar.tsx"}):l.jsx(uE,{size:24,style:{color:"#3D6B35"},"data-id":"95jnsk4sb","data-path":"src/components/Navbar.tsx"})})]})}),e&&l.jsx("div",{className:"lg:hidden border-t mt-2 pb-4 max-h-screen overflow-y-auto",style:{backgroundColor:"white",borderColor:"#EDE7DC"},role:"menu","data-id":"l2njomhq3","data-path":"src/components/Navbar.tsx",children:Nm.map(d=>d.children?l.jsxs("div",{"data-id":"x18je1v51","data-path":"src/components/Navbar.tsx",children:[l.jsxs("button",{className:"w-full flex items-center justify-between px-4 py-3 text-sm font-serif-sans font-semibold",style:{color:"#4A3020"},onClick:()=>o(i===d.label?null:d.label),"aria-expanded":i===d.label,"data-id":"jmj6y86j8","data-path":"src/components/Navbar.tsx",children:[d.label,l.jsx($f,{size:14,className:`transition-transform duration-200 ${i===d.label?"rotate-180":""}`,"data-id":"9giv6hr0k","data-path":"src/components/Navbar.tsx"})]}),i===d.label&&l.jsx("div",{className:"pl-6 pb-1",style:{backgroundColor:"#F8F4EE"},"data-id":"7sm2dnzul","data-path":"src/components/Navbar.tsx",children:d.children.map(u=>l.jsx(B,{to:u.path,className:"block px-4 py-2.5 text-sm font-serif-sans",style:{color:"#3D6B35"},role:"menuitem","data-id":"1c8asqegj","data-path":"src/components/Navbar.tsx",children:u.label},u.path))})]},d.label):d.highlight?l.jsxs(B,{to:d.path,className:"mx-4 my-2 flex items-center justify-center gap-2 py-3 rounded-md text-sm font-serif-sans font-bold text-white",style:{backgroundColor:"#C47D3A"},role:"menuitem","data-id":"c5wq6op9w","data-path":"src/components/Navbar.tsx",children:[l.jsx(xt,{size:14,"data-id":"lqo1eh2p9","data-path":"src/components/Navbar.tsx"}),d.label]},d.path):l.jsx(B,{to:d.path,className:"block px-4 py-3 text-sm font-serif-sans font-semibold border-b",style:{color:c.pathname===d.path?"#3D6B35":"#4A3020",borderColor:"#F0EBE3"},role:"menuitem","data-id":"u86juiebd","data-path":"src/components/Navbar.tsx",children:d.label},d.path))})]})}function dT(){const e=new Date().getFullYear();return l.jsxs("footer",{style:{backgroundColor:"#2A4C25",color:"#F8F4EE"},"data-id":"7suqejzi2","data-path":"src/components/Footer.tsx",children:[l.jsx("div",{style:{backgroundColor:"#F8F4EE",lineHeight:0},"data-id":"8lyv2ni32","data-path":"src/components/Footer.tsx",children:l.jsx("svg",{viewBox:"0 0 1440 60",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",style:{display:"block",width:"100%",height:"60px"},"data-id":"00jqt5hz3","data-path":"src/components/Footer.tsx",children:l.jsx("path",{d:"M0,30 C360,60 1080,0 1440,30 L1440,60 L0,60 Z",fill:"#2A4C25","data-id":"0171zur3s","data-path":"src/components/Footer.tsx"})})}),l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16","data-id":"jkv6fj50x","data-path":"src/components/Footer.tsx",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-10 lg:gap-16","data-id":"zqtjo9fan","data-path":"src/components/Footer.tsx",children:[l.jsxs("div",{"data-id":"dt7z0qz0a","data-path":"src/components/Footer.tsx",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-4","data-id":"f3qssst5d","data-path":"src/components/Footer.tsx",children:[l.jsx("div",{className:"w-10 h-10 rounded-full flex items-center justify-center flex-shrink-0",style:{background:"linear-gradient(135deg, #558048 0%, #8FAF83 100%)"},"data-id":"3kwg8c003","data-path":"src/components/Footer.tsx",children:l.jsx("span",{className:"text-white font-bold text-sm font-display","data-id":"qgu1y31qe","data-path":"src/components/Footer.tsx",children:"H4H"})}),l.jsxs("div",{"data-id":"xmhd1yjnb","data-path":"src/components/Footer.tsx",children:[l.jsx("div",{className:"font-display font-bold text-base leading-tight",style:{color:"#C5DAC0"},"data-id":"0qrel2e2q","data-path":"src/components/Footer.tsx",children:"Hooves for Harmony"}),l.jsx("div",{className:"text-xs font-serif-sans",style:{color:"#8FAF83",letterSpacing:"0.06em"},"data-id":"khzoft0vd","data-path":"src/components/Footer.tsx",children:"INC."})]})]}),l.jsx("p",{className:"text-sm leading-relaxed mb-5 font-sans-custom",style:{color:"#C5DAC0"},"data-id":"z02ors0oj","data-path":"src/components/Footer.tsx",children:"Building confidence, independence, and well-being through therapeutic horseback riding and equine-assisted activities for children and individuals with special needs."}),l.jsxs("div",{className:"flex items-center gap-3","data-id":"rgsiofp3i","data-path":"src/components/Footer.tsx",children:[l.jsx("a",{href:"#","aria-label":"Facebook",className:"w-8 h-8 rounded-full flex items-center justify-center transition-colors hover:bg-[#3D6B35]",style:{backgroundColor:"rgba(255,255,255,0.1)"},"data-id":"8plwtczc5","data-path":"src/components/Footer.tsx",children:l.jsx(eE,{size:15,"data-id":"hphtqwlzh","data-path":"src/components/Footer.tsx"})}),l.jsx("a",{href:"#","aria-label":"Instagram",className:"w-8 h-8 rounded-full flex items-center justify-center transition-colors hover:bg-[#3D6B35]",style:{backgroundColor:"rgba(255,255,255,0.1)"},"data-id":"ihcpingo3","data-path":"src/components/Footer.tsx",children:l.jsx(rE,{size:15,"data-id":"vfuf2q6rf","data-path":"src/components/Footer.tsx"})}),l.jsx("a",{href:"#","aria-label":"Twitter",className:"w-8 h-8 rounded-full flex items-center justify-center transition-colors hover:bg-[#3D6B35]",style:{backgroundColor:"rgba(255,255,255,0.1)"},"data-id":"xpsk6ce21","data-path":"src/components/Footer.tsx",children:l.jsx(wE,{size:15,"data-id":"bko9qoitb","data-path":"src/components/Footer.tsx"})})]})]}),l.jsxs("div",{"data-id":"xtvf24zc9","data-path":"src/components/Footer.tsx",children:[l.jsx("h3",{className:"font-display font-bold text-lg mb-4",style:{color:"#E8A94B"},"data-id":"tgitvxki7","data-path":"src/components/Footer.tsx",children:"Quick Links"}),l.jsx("ul",{className:"space-y-2","data-id":"a2lub8yfv","data-path":"src/components/Footer.tsx",children:[{label:"Home",path:"/"},{label:"About Us",path:"/about"},{label:"Programs",path:"/programs"},{label:"Impact",path:"/impact"},{label:"Donate",path:"/donate"},{label:"Blog",path:"/blog"},{label:"Contact",path:"/contact"},{label:"Accessibility & Inclusion",path:"/accessibility"}].map(t=>l.jsx("li",{"data-id":"cyhn8nnq2","data-path":"src/components/Footer.tsx",children:l.jsxs(B,{to:t.path,className:"text-sm font-sans-custom transition-colors hover:text-[#E8A94B] flex items-center gap-1.5",style:{color:"#C5DAC0"},"data-id":"9jeh127yc","data-path":"src/components/Footer.tsx",children:[l.jsx("span",{style:{color:"#8FAF83"},"data-id":"dh046ydgt","data-path":"src/components/Footer.tsx",children:"›"}),t.label]})},t.path))})]}),l.jsxs("div",{"data-id":"txua2g19b","data-path":"src/components/Footer.tsx",children:[l.jsx("h3",{className:"font-display font-bold text-lg mb-4",style:{color:"#E8A94B"},"data-id":"h5ih85hn4","data-path":"src/components/Footer.tsx",children:"Contact Us"}),l.jsxs("ul",{className:"space-y-4","data-id":"b9jtswdyl","data-path":"src/components/Footer.tsx",children:[l.jsxs("li",{className:"flex items-start gap-3","data-id":"id4d439fk","data-path":"src/components/Footer.tsx",children:[l.jsx(kp,{size:16,className:"mt-0.5 flex-shrink-0",style:{color:"#8FAF83"},"data-id":"2dqkoef79","data-path":"src/components/Footer.tsx"}),l.jsx("a",{href:"mailto:care@brightclarivo.com",className:"text-sm font-sans-custom hover:text-[#E8A94B] transition-colors",style:{color:"#C5DAC0"},"data-id":"ac4qbrp32","data-path":"src/components/Footer.tsx",children:"care@brightclarivo.com"})]}),l.jsxs("li",{className:"flex items-start gap-3","data-id":"omr6dxw4i","data-path":"src/components/Footer.tsx",children:[l.jsx(qv,{size:16,className:"mt-0.5 flex-shrink-0",style:{color:"#8FAF83"},"data-id":"4z5gfbdz7","data-path":"src/components/Footer.tsx"}),l.jsx("a",{href:"tel:15304104422",className:"text-sm font-sans-custom hover:text-[#E8A94B] transition-colors",style:{color:"#C5DAC0"},"data-id":"10qbsslvk","data-path":"src/components/Footer.tsx",children:"1-530-410-4422"})]}),l.jsxs("li",{className:"flex items-start gap-3","data-id":"vx0fhydfl","data-path":"src/components/Footer.tsx",children:[l.jsx(Id,{size:16,className:"mt-0.5 flex-shrink-0",style:{color:"#8FAF83"},"data-id":"25pqs5dkw","data-path":"src/components/Footer.tsx"}),l.jsxs("span",{className:"text-sm font-sans-custom",style:{color:"#C5DAC0"},"data-id":"d1r06ookp","data-path":"src/components/Footer.tsx",children:["PO Box 1373",l.jsx("br",{"data-id":"jtore4dpv","data-path":"src/components/Footer.tsx"}),"Novato, CA 94948"]})]})]}),l.jsxs("div",{className:"mt-6 p-4 rounded-xl",style:{backgroundColor:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)"},"data-id":"z49tnm77q","data-path":"src/components/Footer.tsx",children:[l.jsx("p",{className:"text-xs font-sans-custom",style:{color:"#8FAF83"},"data-id":"op5z38til","data-path":"src/components/Footer.tsx",children:"HOOVES FOR HARMONY INC is a registered nonprofit organization."}),l.jsx("p",{className:"text-xs font-sans-custom mt-1",style:{color:"#8FAF83"},"data-id":"8wdk6p0vm","data-path":"src/components/Footer.tsx",children:"Registration No: 74-3126616"})]})]})]})}),l.jsx("div",{className:"border-t",style:{borderColor:"rgba(255,255,255,0.08)"},"data-id":"pa3bqh1jl","data-path":"src/components/Footer.tsx",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-5 flex flex-col sm:flex-row items-center justify-between gap-3","data-id":"xbtavmbht","data-path":"src/components/Footer.tsx",children:[l.jsxs("p",{className:"text-xs font-sans-custom text-center sm:text-left",style:{color:"#8FAF83"},"data-id":"qeeotfqaq","data-path":"src/components/Footer.tsx",children:["© ",e," HOOVES FOR HARMONY INC. All rights reserved."]}),l.jsxs("div",{className:"flex items-center gap-4","data-id":"dt0xcvl32","data-path":"src/components/Footer.tsx",children:[l.jsx(B,{to:"/privacy-policy",className:"text-xs font-sans-custom hover:text-[#E8A94B] transition-colors",style:{color:"#8FAF83"},"data-id":"tls4ahbps","data-path":"src/components/Footer.tsx",children:"Privacy Policy"}),l.jsx("span",{style:{color:"#8FAF83"},"data-id":"sdq56iqq4","data-path":"src/components/Footer.tsx",children:"|"}),l.jsx(B,{to:"/terms",className:"text-xs font-sans-custom hover:text-[#E8A94B] transition-colors",style:{color:"#8FAF83"},"data-id":"7p2gmugp6","data-path":"src/components/Footer.tsx",children:"Terms & Conditions"})]}),l.jsxs("p",{className:"text-xs font-sans-custom flex items-center gap-1",style:{color:"#8FAF83"},"data-id":"rld72tov0","data-path":"src/components/Footer.tsx",children:["Made with ",l.jsx(xt,{size:10,style:{color:"#C47D3A"},"data-id":"q0xz0l13t","data-path":"src/components/Footer.tsx"})," for our community"]})]})})]})}function je({children:e}){return l.jsxs("div",{className:"min-h-screen flex flex-col",style:{backgroundColor:"#FDFBF8"},"data-id":"5jp96h93u","data-path":"src/components/Layout.tsx",children:[l.jsx(cT,{"data-id":"2xcjwdrns","data-path":"src/components/Layout.tsx"}),l.jsx("main",{className:"flex-1 pt-[68px]","data-id":"0xuobnyj6","data-path":"src/components/Layout.tsx",children:e}),l.jsx(dT,{"data-id":"opvkb0zvz","data-path":"src/components/Layout.tsx"})]})}function uT(e,t=2e3,n=!1){const[s,a]=w.useState(0);return w.useEffect(()=>{if(!n)return;let r=null;const i=o=>{r||(r=o);const c=Math.min((o-r)/t,1);a(Math.floor(c*e)),c<1&&requestAnimationFrame(i)};requestAnimationFrame(i)},[e,t,n]),s}function bc({value:e,label:t,suffix:n=""}){const s=w.useRef(null),[a,r]=w.useState(!1),i=uT(e,2e3,a);return w.useEffect(()=>{const o=new IntersectionObserver(([c])=>{c.isIntersecting&&r(!0)},{threshold:.3});return s.current&&o.observe(s.current),()=>o.disconnect()},[]),l.jsxs("div",{ref:s,className:"text-center","data-id":"op0napziv","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"font-display text-5xl font-bold mb-2",style:{color:"#E8A94B"},"data-id":"2tsr5jntu","data-path":"src/pages/HomePage.tsx",children:[i.toLocaleString(),n]}),l.jsx("div",{className:"font-serif-sans text-sm font-semibold uppercase tracking-widest",style:{color:"#C5DAC0"},"data-id":"r0ret58sj","data-path":"src/pages/HomePage.tsx",children:t})]})}const pT=[{icon:l.jsx(Bv,{size:28,"data-id":"f39d8y09f","data-path":"src/pages/HomePage.tsx"}),title:"Therapeutic Horseback Riding",desc:"Expert-led, adaptive riding sessions designed to support physical coordination, balance, and sensory integration through the natural movement of horses.",color:"#3D6B35",bg:"#EEF5EA"},{icon:l.jsx(El,{size:28,"data-id":"iuuujfptn","data-path":"src/pages/HomePage.tsx"}),title:"Confidence & Emotional Growth",desc:"Equine-assisted activities that nurture self-expression, emotional regulation, and the courage to try new things in a safe and affirming environment.",color:"#C47D3A",bg:"#FDF3E7"},{icon:l.jsx(Fd,{size:28,"data-id":"88920a9bn","data-path":"src/pages/HomePage.tsx"}),title:"Independence & Life Skills",desc:"Goal-oriented programs that build practical skills, self-determination, and the confidence participants need to navigate daily life with greater autonomy.",color:"#3D6B35",bg:"#EEF5EA"},{icon:l.jsx(xt,{size:28,"data-id":"y83v2h2l6","data-path":"src/pages/HomePage.tsx"}),title:"Inclusion & Family Support",desc:"A welcoming community where participants, families, volunteers, and horses come together to celebrate every milestone and champion belonging for all.",color:"#C47D3A",bg:"#FDF3E7"}],hT=[{title:"Harmony Riding Pathways",focus:"Therapeutic Horseback Riding",image:"https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?w=600&q=80",desc:"Our flagship adaptive riding program connects participants with trained therapy horses in a structured, safe environment. Certified instructors guide each session to meet individual therapeutic goals, helping participants discover what they are capable of achieving.",path:"/programs/harmony-riding-pathways"},{title:"Confidence in Motion",focus:"Emotional Well-Being",image:"https://images.unsplash.com/photo-1598300042247-d088f8ab3a91?w=600&q=80",desc:"Through carefully designed equine-assisted activities, participants build emotional resilience, social confidence, and a stronger sense of self. Working alongside horses creates natural, powerful opportunities for growth, connection, and self-discovery.",path:"/programs/confidence-in-motion"},{title:"Inclusive Trails Network",focus:"Community Inclusion",image:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=600&q=80",desc:"Designed to bring participants, families, and community members together, the Inclusive Trails Network creates accessible recreational experiences that celebrate every individual through community events and family engagement programs.",path:"/programs/inclusive-trails-network"}];function fT(){return l.jsxs(je,{"data-id":"4jgvq9qs8","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("section",{className:"relative min-h-[92vh] flex items-center overflow-hidden","data-id":"djbg2eduo","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"absolute inset-0","data-id":"osc8y31hd","data-path":"src/pages/HomePage.tsx",children:[l.jsx("img",{src:"https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?w=1600&q=85",alt:"Child riding a therapy horse with an instructor guiding them",className:"w-full h-full object-cover","data-id":"zqf9fs7l3","data-path":"src/pages/HomePage.tsx"}),l.jsx("div",{className:"hero-overlay absolute inset-0","data-id":"0r90hovuk","data-path":"src/pages/HomePage.tsx"}),l.jsx("div",{className:"absolute inset-0 opacity-10",style:{backgroundImage:`radial-gradient(circle at 20% 80%, rgba(232,169,75,0.4) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(143,175,131,0.4) 0%, transparent 50%)`},"data-id":"19uwme8kc","data-path":"src/pages/HomePage.tsx"})]}),l.jsx("div",{className:"relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-24","data-id":"fp3ew5mj2","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"max-w-3xl","data-id":"bczi9p3xx","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"label-tag animate-fade-in mb-4",style:{color:"#E8A94B"},"data-id":"papzjd5tu","data-path":"src/pages/HomePage.tsx",children:"Therapeutic Equine-Assisted Services"}),l.jsxs("h1",{className:"font-display text-white mb-6 animate-fade-in-up delay-100",style:{fontSize:"clamp(2.5rem, 5vw, 4rem)",fontWeight:800,lineHeight:1.15,textShadow:"0 2px 20px rgba(0,0,0,0.3)"},"data-id":"tnfsqt4yo","data-path":"src/pages/HomePage.tsx",children:["Building Confidence",l.jsx("br",{"data-id":"odn519eyu","data-path":"src/pages/HomePage.tsx"}),"Through Equine",l.jsx("br",{"data-id":"qdwc1o45b","data-path":"src/pages/HomePage.tsx"}),l.jsx("span",{style:{color:"#E8A94B"},"data-id":"rz0c4x7zf","data-path":"src/pages/HomePage.tsx",children:"Connections"})]}),l.jsx("p",{className:"text-lg mb-8 animate-fade-in-up delay-200 font-sans-custom leading-relaxed",style:{color:"rgba(255,255,255,0.9)",maxWidth:"580px"},"data-id":"qg04irw72","data-path":"src/pages/HomePage.tsx",children:"Therapeutic horseback riding and equine-assisted activities help children and individuals with special needs strengthen confidence, independence, and overall well-being. Through the healing power of horses, participants discover new possibilities and build the skills that matter most."}),l.jsxs("div",{className:"flex flex-wrap gap-4 animate-fade-in-up delay-300","data-id":"xfafsuhwj","data-path":"src/pages/HomePage.tsx",children:[l.jsxs(B,{to:"/donate",className:"btn-amber","data-id":"jn8kk6807","data-path":"src/pages/HomePage.tsx",children:[l.jsx(xt,{size:16,className:"inline mr-2 -mt-0.5","data-id":"3rmncm7u7","data-path":"src/pages/HomePage.tsx"}),"Donate Now"]}),l.jsxs(B,{to:"/programs",className:"btn-secondary","data-id":"em938b59p","data-path":"src/pages/HomePage.tsx",children:["Explore Programs",l.jsx(Ve,{size:16,className:"inline ml-2 -mt-0.5","data-id":"lrn595mwu","data-path":"src/pages/HomePage.tsx"})]})]})]})}),l.jsx("div",{className:"absolute bottom-8 left-1/2 -translate-x-1/2 animate-bounce","data-id":"9rh0i1y3q","data-path":"src/pages/HomePage.tsx",children:l.jsx("div",{className:"w-6 h-10 rounded-full border-2 border-white/50 flex items-start justify-center pt-2","data-id":"nojooocz0","data-path":"src/pages/HomePage.tsx",children:l.jsx("div",{className:"w-1.5 h-3 rounded-full bg-white/70","data-id":"ko1t6khvk","data-path":"src/pages/HomePage.tsx"})})})]}),l.jsx("section",{className:"py-20",style:{backgroundColor:"#F8F4EE"},"data-id":"bn4ons7tq","data-path":"src/pages/HomePage.tsx",children:l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"nvysx52wl","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center","data-id":"1vcbtu6nd","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{"data-id":"pprjmqff4","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"label-tag mb-3","data-id":"ssyl1qal4","data-path":"src/pages/HomePage.tsx",children:"About Us"}),l.jsxs("h2",{className:"section-heading mb-6","data-id":"1f7sco38v","data-path":"src/pages/HomePage.tsx",children:["Where Horses Meet",l.jsx("br",{"data-id":"vqoeprmww","data-path":"src/pages/HomePage.tsx"}),l.jsx("em",{style:{fontStyle:"italic",color:"#3D6B35"},"data-id":"frwrngztz","data-path":"src/pages/HomePage.tsx",children:"Human Potential"})]}),l.jsxs("div",{className:"space-y-4 section-subheading","data-id":"ntxw4dvj9","data-path":"src/pages/HomePage.tsx",children:[l.jsx("p",{"data-id":"uum07p1n4","data-path":"src/pages/HomePage.tsx",children:"Hooves for Harmony INC is a dedicated nonprofit organization serving children and individuals with special needs in Northern California. We believe that every person deserves the opportunity to grow, connect, and thrive — and we've found that horses are extraordinary partners in that journey."}),l.jsx("p",{"data-id":"n9109xfdt","data-path":"src/pages/HomePage.tsx",children:"Through certified therapeutic riding instruction, equine-assisted activities, and inclusive community programming, we create structured experiences where participants achieve real goals. Our programs are built around dignity, respect, and the understanding that participation itself is a powerful form of progress."}),l.jsx("p",{"data-id":"bho1wo7zh","data-path":"src/pages/HomePage.tsx",children:"Whether a participant achieves an independent trot, makes a new friend, or simply feels the quiet confidence of being trusted by a horse, every milestone matters. We are here to champion each one."})]}),l.jsx("div",{className:"mt-8","data-id":"vhw6a0q9c","data-path":"src/pages/HomePage.tsx",children:l.jsxs(B,{to:"/about",className:"btn-primary","data-id":"l8qgnki3q","data-path":"src/pages/HomePage.tsx",children:["Learn More",l.jsx(Ve,{size:16,className:"inline ml-2 -mt-0.5","data-id":"kuw0yvxts","data-path":"src/pages/HomePage.tsx"})]})})]}),l.jsxs("div",{className:"relative","data-id":"sb05gqzvx","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"absolute -top-4 -left-4 w-full h-full rounded-2xl",style:{backgroundColor:"#C5DAC0",opacity:.4},"data-id":"4wm39efe2","data-path":"src/pages/HomePage.tsx"}),l.jsx("img",{src:"https://images.unsplash.com/photo-1598300042247-d088f8ab3a91?w=700&q=80",alt:"A participant working with a horse during an equine-assisted session",className:"relative rounded-2xl w-full object-cover shadow-xl",style:{height:"420px"},"data-id":"5u18yrsz6","data-path":"src/pages/HomePage.tsx"}),l.jsxs("div",{className:"absolute -bottom-5 -right-5 p-5 rounded-2xl shadow-xl",style:{backgroundColor:"white",maxWidth:"200px"},"data-id":"8k8flj5sg","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"font-display text-3xl font-bold",style:{color:"#3D6B35"},"data-id":"5hckwt9mw","data-path":"src/pages/HomePage.tsx",children:"15+"}),l.jsx("div",{className:"text-xs font-serif-sans font-semibold uppercase tracking-wider mt-1",style:{color:"#7A5C40"},"data-id":"6ycbkdxhr","data-path":"src/pages/HomePage.tsx",children:"Years of equine-assisted care"})]})]})]})})}),l.jsx("section",{className:"py-20",style:{backgroundColor:"white"},"data-id":"dowc6cf8p","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"znyoca74j","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"text-center mb-14","data-id":"5rn79fdng","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"label-tag mb-3","data-id":"x5fcbb9rv","data-path":"src/pages/HomePage.tsx",children:"What We Do"}),l.jsx("h2",{className:"section-heading mb-4","data-id":"5rihwts1w","data-path":"src/pages/HomePage.tsx",children:"Our Four Pillars of Service"}),l.jsx("p",{className:"section-subheading mx-auto",style:{maxWidth:"600px"},"data-id":"let06gutb","data-path":"src/pages/HomePage.tsx",children:"Every program, activity, and interaction at Hooves for Harmony is built around four core pillars that guide how we serve participants, families, and our community."})]}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6","data-id":"oshpkxqlc","data-path":"src/pages/HomePage.tsx",children:pT.map((e,t)=>l.jsxs("div",{className:"rounded-2xl p-6 card-hover",style:{backgroundColor:e.bg,border:`1px solid ${e.color}20`},"data-id":"gxxiezb5e","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"w-14 h-14 rounded-full flex items-center justify-center mb-4",style:{backgroundColor:e.color+"18",color:e.color},"data-id":"8ueztxegl","data-path":"src/pages/HomePage.tsx",children:e.icon}),l.jsx("h3",{className:"font-display font-bold text-lg mb-3",style:{color:"#2A4C25"},"data-id":"688fnif8r","data-path":"src/pages/HomePage.tsx",children:e.title}),l.jsx("p",{className:"text-sm font-sans-custom leading-relaxed",style:{color:"#7A5C40"},"data-id":"jswllj5da","data-path":"src/pages/HomePage.tsx",children:e.desc})]},t))})]})}),l.jsx("section",{className:"py-20",style:{backgroundColor:"#F8F4EE"},"data-id":"alnxoagnn","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"6pz6oq5es","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"text-center mb-14","data-id":"vzx4asgdh","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"label-tag mb-3","data-id":"0v32e9hwl","data-path":"src/pages/HomePage.tsx",children:"Our Programs"}),l.jsx("h2",{className:"section-heading mb-4","data-id":"mxj9yp6ug","data-path":"src/pages/HomePage.tsx",children:"Programs Designed for Every Journey"}),l.jsx("p",{className:"section-subheading mx-auto",style:{maxWidth:"600px"},"data-id":"8nis2uvsz","data-path":"src/pages/HomePage.tsx",children:"Each of our three programs is thoughtfully designed to meet participants where they are and help them reach where they want to go."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8","data-id":"r9hcj8kcl","data-path":"src/pages/HomePage.tsx",children:hT.map((e,t)=>l.jsxs("div",{className:"bg-white rounded-2xl overflow-hidden shadow-sm card-hover",style:{border:"1px solid #EDE7DC"},"data-id":"hz63hl6mz","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"relative overflow-hidden",style:{height:"220px"},"data-id":"2xt676kdc","data-path":"src/pages/HomePage.tsx",children:[l.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover transition-transform duration-500 hover:scale-105","data-id":"9b1xe0np1","data-path":"src/pages/HomePage.tsx"}),l.jsx("div",{className:"absolute top-3 left-3 px-3 py-1 rounded-full text-xs font-serif-sans font-bold",style:{backgroundColor:"rgba(42,76,37,0.85)",color:"#E8A94B",letterSpacing:"0.05em"},"data-id":"gn48rtvtf","data-path":"src/pages/HomePage.tsx",children:e.focus})]}),l.jsxs("div",{className:"p-6","data-id":"dmp3j5kz6","data-path":"src/pages/HomePage.tsx",children:[l.jsx("h3",{className:"font-display font-bold text-xl mb-3",style:{color:"#2A4C25"},"data-id":"mox298fsh","data-path":"src/pages/HomePage.tsx",children:e.title}),l.jsx("p",{className:"text-sm font-sans-custom leading-relaxed mb-5",style:{color:"#7A5C40"},"data-id":"7hbvvmm0i","data-path":"src/pages/HomePage.tsx",children:e.desc}),l.jsxs(B,{to:e.path,className:"btn-outline-green text-sm py-2 px-4","data-id":"0p2s638e3","data-path":"src/pages/HomePage.tsx",children:["View Details",l.jsx(Ve,{size:14,className:"inline ml-1.5 -mt-0.5","data-id":"dnlhuemf1","data-path":"src/pages/HomePage.tsx"})]})]})]},t))}),l.jsx("div",{className:"text-center mt-10","data-id":"7xe21bckv","data-path":"src/pages/HomePage.tsx",children:l.jsx(B,{to:"/programs",className:"btn-primary","data-id":"yc0v9m266","data-path":"src/pages/HomePage.tsx",children:"View All Programs"})})]})}),l.jsx("section",{className:"py-20",style:{background:"linear-gradient(135deg, #2A4C25 0%, #3D6B35 100%)"},"data-id":"fful870v5","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"vbv6hmedb","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"text-center mb-14","data-id":"ribp9vegh","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"4184ok7um","data-path":"src/pages/HomePage.tsx",children:"Our Impact"}),l.jsx("h2",{className:"font-display text-white mb-4",style:{fontSize:"clamp(2rem, 4vw, 3rem)",fontWeight:700},"data-id":"qc7fp5umo","data-path":"src/pages/HomePage.tsx",children:"Every Number Is a Person"}),l.jsx("p",{className:"font-sans-custom text-lg",style:{color:"#C5DAC0",maxWidth:"520px",margin:"0 auto"},"data-id":"253dtltw9","data-path":"src/pages/HomePage.tsx",children:"Behind every statistic is a participant who discovered something new about themselves, and a community that grew stronger together."})]}),l.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-10","data-id":"34y2tnxp5","data-path":"src/pages/HomePage.tsx",children:[l.jsx(bc,{value:420,label:"Participants Served",suffix:"+","data-id":"tn2640fd9","data-path":"src/pages/HomePage.tsx"}),l.jsx(bc,{value:8500,label:"Therapeutic Sessions Delivered",suffix:"+","data-id":"wzyr49wge","data-path":"src/pages/HomePage.tsx"}),l.jsx(bc,{value:310,label:"Families Supported",suffix:"+","data-id":"b35vrej9y","data-path":"src/pages/HomePage.tsx"})]})]})}),l.jsxs("section",{className:"py-20 relative overflow-hidden",style:{backgroundColor:"#EEF5EA"},"data-id":"yyenpzu30","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233D6B35' fill-opacity='0.4'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`},"data-id":"cd9tn73li","data-path":"src/pages/HomePage.tsx"}),l.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center","data-id":"8xcamk4b4","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"label-tag mb-3","data-id":"xg55e1ill","data-path":"src/pages/HomePage.tsx",children:"Support Our Work"}),l.jsxs("h2",{className:"section-heading mb-6","data-id":"ae8ypoqph","data-path":"src/pages/HomePage.tsx",children:["Help Us Expand Access for",l.jsx("br",{"data-id":"pakgmek8i","data-path":"src/pages/HomePage.tsx"}),l.jsx("em",{style:{fontStyle:"italic",color:"#C47D3A"},"data-id":"jwyjak4sy","data-path":"src/pages/HomePage.tsx",children:"Every Participant"})]}),l.jsx("p",{className:"section-subheading mb-8 mx-auto",style:{maxWidth:"580px"},"data-id":"4wv85k8sq","data-path":"src/pages/HomePage.tsx",children:"Community support makes it possible to reach more participants, maintain our therapeutic horses, provide adaptive equipment, and ensure no family is ever turned away due to financial need. When you give to Hooves for Harmony, you invest in confidence, independence, and belonging."}),l.jsxs("div",{className:"flex flex-wrap justify-center gap-4","data-id":"kyk0019je","data-path":"src/pages/HomePage.tsx",children:[l.jsxs(B,{to:"/donate",className:"btn-amber","data-id":"j8gnub5zb","data-path":"src/pages/HomePage.tsx",children:[l.jsx(xt,{size:16,className:"inline mr-2 -mt-0.5","data-id":"2v1o173d7","data-path":"src/pages/HomePage.tsx"}),"Support Our Work"]}),l.jsx(B,{to:"/contact",className:"btn-outline-green","data-id":"bji748aii","data-path":"src/pages/HomePage.tsx",children:"Get in Touch"})]})]})]}),l.jsx("section",{className:"py-20",style:{backgroundColor:"white"},"data-id":"q42ex7tva","data-path":"src/pages/HomePage.tsx",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"kazwm6s3k","data-path":"src/pages/HomePage.tsx",children:[l.jsxs("div",{className:"text-center mb-14","data-id":"4b3uyuhqq","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"label-tag mb-3","data-id":"jy0wykw5d","data-path":"src/pages/HomePage.tsx",children:"Stories of Growth"}),l.jsx("h2",{className:"section-heading mb-4","data-id":"yn7cybbjz","data-path":"src/pages/HomePage.tsx",children:"Voices from Our Community"})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6","data-id":"1j65xmg4r","data-path":"src/pages/HomePage.tsx",children:[{quote:"For the first time in Marcus's life, he asked to go somewhere on his own. After six months at Hooves for Harmony, he wanted to go to riding — and he told us himself.",name:"Rebecca T.",role:"Parent",location:"Novato, CA",image:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=100&q=80"},{quote:"I never thought I could ride a horse. But here I can, and my instructor believes in me. The horses don't see my chair — they just see me.",name:"Jordan M.",role:"Program Participant",location:"Marin County, CA",image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=100&q=80"},{quote:"Volunteering here changed my perspective completely. I came to help and ended up being changed by the experience. The participants' courage and joy are extraordinary.",name:"Patricia R.",role:"Volunteer",location:"San Rafael, CA",image:"https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=100&q=80"}].map((e,t)=>l.jsxs("div",{className:"p-7 rounded-2xl card-hover",style:{backgroundColor:"#F8F4EE",border:"1px solid #EDE7DC"},"data-id":"5o55yvesz","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"flex items-center gap-1 mb-4","data-id":"v1bkma62e","data-path":"src/pages/HomePage.tsx",children:[1,2,3,4,5].map(n=>l.jsx(El,{size:14,fill:"#E8A94B",style:{color:"#E8A94B"},"data-id":"ddhrchhgq","data-path":"src/pages/HomePage.tsx"},n))}),l.jsxs("blockquote",{className:"font-sans-custom text-sm leading-relaxed mb-5 italic",style:{color:"#5C3D2E"},"data-id":"udikp0nhp","data-path":"src/pages/HomePage.tsx",children:['"',e.quote,'"']}),l.jsxs("div",{className:"flex items-center gap-3","data-id":"2gka68dpm","data-path":"src/pages/HomePage.tsx",children:[l.jsx("img",{src:e.image,alt:e.name,className:"w-10 h-10 rounded-full object-cover","data-id":"f1anyeuvq","data-path":"src/pages/HomePage.tsx"}),l.jsxs("div",{"data-id":"c74uj41z3","data-path":"src/pages/HomePage.tsx",children:[l.jsx("div",{className:"font-serif-sans font-bold text-sm",style:{color:"#2A4C25"},"data-id":"p5tq6kuk8","data-path":"src/pages/HomePage.tsx",children:e.name}),l.jsxs("div",{className:"text-xs font-sans-custom",style:{color:"#8FAF83"},"data-id":"pl82fyfua","data-path":"src/pages/HomePage.tsx",children:[e.role," · ",e.location]})]})]})]},t))}),l.jsx("div",{className:"text-center mt-10","data-id":"8d4elttsi","data-path":"src/pages/HomePage.tsx",children:l.jsxs(B,{to:"/impact",className:"btn-outline-green","data-id":"3pbcdx8xk","data-path":"src/pages/HomePage.tsx",children:["Read More Stories",l.jsx(Ve,{size:14,className:"inline ml-1.5 -mt-0.5","data-id":"rq70o1sk4","data-path":"src/pages/HomePage.tsx"})]})})]})})]})}function mT(){return l.jsxs(je,{"data-id":"wah1oxsmn","data-path":"src/pages/AboutPage.tsx",children:[l.jsxs("section",{className:"relative py-28 overflow-hidden",style:{backgroundColor:"#2A4C25"},"data-id":"dbz8ohlxc","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23E8A94B' fill-opacity='0.3'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`},"data-id":"fbw633exj","data-path":"src/pages/AboutPage.tsx"}),l.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center","data-id":"qxbwt3nnz","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"2xpzw4bpo","data-path":"src/pages/AboutPage.tsx",children:"About Hooves for Harmony"}),l.jsxs("h1",{className:"font-display text-white mb-6",style:{fontSize:"clamp(2.5rem, 5vw, 3.5rem)",fontWeight:800,lineHeight:1.2},"data-id":"4ext2f2s4","data-path":"src/pages/AboutPage.tsx",children:["Partnering with Horses",l.jsx("br",{"data-id":"xwie1u8nf","data-path":"src/pages/AboutPage.tsx"}),l.jsx("em",{style:{color:"#E8A94B"},"data-id":"r0wukiqpw","data-path":"src/pages/AboutPage.tsx",children:"to Transform Lives"})]}),l.jsx("p",{className:"font-sans-custom text-lg leading-relaxed",style:{color:"#C5DAC0",maxWidth:"640px",margin:"0 auto"},"data-id":"rqa87lb9a","data-path":"src/pages/AboutPage.tsx",children:"We are a nonprofit organization dedicated to creating meaningful equine-assisted opportunities for children and individuals with special needs across Northern California."})]})]}),l.jsx("section",{className:"py-20",style:{backgroundColor:"#F8F4EE"},"data-id":"9vr1nx11a","data-path":"src/pages/AboutPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"fstjunnt6","data-path":"src/pages/AboutPage.tsx",children:[l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-start","data-id":"dn2225u9y","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("div",{"data-id":"jgs5vh5gb","data-path":"src/pages/AboutPage.tsx",children:l.jsx("img",{src:"https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?w=700&q=80",alt:"Participant engaged in therapeutic horseback riding session",className:"rounded-2xl w-full object-cover shadow-lg",style:{height:"400px"},"data-id":"vr9lr5m45","data-path":"src/pages/AboutPage.tsx"})}),l.jsxs("div",{className:"space-y-6","data-id":"cqt7u2dm3","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("div",{className:"label-tag mb-2","data-id":"ivch9qyc7","data-path":"src/pages/AboutPage.tsx",children:"Our Purpose"}),l.jsx("h2",{className:"section-heading","data-id":"tb13z8d46","data-path":"src/pages/AboutPage.tsx",children:"Why Therapeutic Riding Creates Meaningful Opportunity"}),l.jsx("p",{className:"font-sans-custom leading-relaxed text-base",style:{color:"#5C3D2E"},"data-id":"qh2ci6xkx","data-path":"src/pages/AboutPage.tsx",children:"Therapeutic horseback riding is far more than learning to ride. The rhythmic, multidimensional movement of a horse is uniquely suited to addressing physical, neurological, and emotional needs in ways that traditional therapies cannot fully replicate. When a participant mounts a horse, they engage their core, improve their posture, and activate sensory pathways — all while pursuing something they genuinely want to do. The result is therapy that doesn't feel like therapy: it feels like achievement."}),l.jsx("p",{className:"font-sans-custom leading-relaxed text-base",style:{color:"#5C3D2E"},"data-id":"4ji59anb9","data-path":"src/pages/AboutPage.tsx",children:"Equine-assisted activities extend this impact into emotional and social development. Horses respond authentically to human behavior, offering participants immediate, honest feedback that builds self-awareness. The act of guiding, caring for, and communicating with a horse builds agency and confidence that carries into every area of life. For children and individuals who may struggle with trust, connection, or self-belief, the horse becomes an extraordinary partner in growth."})]})]}),l.jsxs("div",{className:"mt-16 grid grid-cols-1 lg:grid-cols-2 gap-12 items-start","data-id":"7zwbcul4q","data-path":"src/pages/AboutPage.tsx",children:[l.jsxs("div",{className:"space-y-6","data-id":"pzevg10s0","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("div",{className:"label-tag mb-2","data-id":"pfr70z3pb","data-path":"src/pages/AboutPage.tsx",children:"Our Commitment"}),l.jsx("h2",{className:"section-heading","data-id":"e3crhumn6","data-path":"src/pages/AboutPage.tsx",children:"Why Accessibility and Inclusion Matter"}),l.jsx("p",{className:"font-sans-custom leading-relaxed text-base",style:{color:"#5C3D2E"},"data-id":"j0h6dzajq","data-path":"src/pages/AboutPage.tsx",children:"Accessibility is not a feature we add — it is a foundation we build upon. Every program, facility improvement, and staffing decision at Hooves for Harmony is shaped by the question: how do we ensure that this experience is genuinely available to everyone who could benefit? We work with families to address financial, transportation, and communication barriers. We design programs that accommodate diverse needs and abilities. We train our volunteers and staff to support full participation without reducing any individual to their diagnosis or limitation."}),l.jsx("p",{className:"font-sans-custom leading-relaxed text-base",style:{color:"#5C3D2E"},"data-id":"06yryj8qq","data-path":"src/pages/AboutPage.tsx",children:"Inclusion means more than physical access — it means belonging. At Hooves for Harmony, participants are known by name, celebrated for their progress, and supported through every challenge. Families are welcomed as partners, not observers. Volunteers are trained to see and support the whole person. Together, we build a community where every individual can achieve personal goals, form meaningful relationships, and experience the joy of being seen, valued, and capable."})]}),l.jsx("div",{"data-id":"nj86ubnb9","data-path":"src/pages/AboutPage.tsx",children:l.jsx("img",{src:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=700&q=80",alt:"Community members and families participating in inclusive equine events",className:"rounded-2xl w-full object-cover shadow-lg",style:{height:"400px"},"data-id":"zzfwnk1c3","data-path":"src/pages/AboutPage.tsx"})})]}),l.jsxs("div",{className:"mt-16 p-8 rounded-2xl",style:{backgroundColor:"#EEF5EA",border:"1px solid #C5DAC0"},"data-id":"5ktzv2bth","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("div",{className:"text-center mb-8","data-id":"qx7feakxe","data-path":"src/pages/AboutPage.tsx",children:l.jsx("h3",{className:"font-display font-bold text-2xl",style:{color:"#2A4C25"},"data-id":"1awzhqfc0","data-path":"src/pages/AboutPage.tsx",children:"What Sets Our Approach Apart"})}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4","data-id":"x55nqte2h","data-path":"src/pages/AboutPage.tsx",children:["Individual goal-setting with each participant and family","Certified therapeutic riding instructors at every session","Adaptive equipment and accessible facility design","Ongoing progress monitoring and transparent communication","Trauma-informed practices woven throughout all programs","Volunteer training emphasizing dignity and inclusion","Scholarship funding to remove financial barriers","Community events that bring families together"].map((e,t)=>l.jsxs("div",{className:"flex items-start gap-3","data-id":"ncnn2czes","data-path":"src/pages/AboutPage.tsx",children:[l.jsx(un,{size:18,className:"mt-0.5 flex-shrink-0",style:{color:"#3D6B35"},"data-id":"ozoiaai7d","data-path":"src/pages/AboutPage.tsx"}),l.jsx("span",{className:"font-sans-custom text-sm",style:{color:"#4A3020"},"data-id":"mz1lutbqm","data-path":"src/pages/AboutPage.tsx",children:e})]},t))})]}),l.jsxs("div",{className:"mt-10 p-5 rounded-xl text-center",style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"lic6don5m","data-path":"src/pages/AboutPage.tsx",children:[l.jsx("p",{className:"font-serif-sans font-semibold text-sm",style:{color:"#3D6B35"},"data-id":"3mr65kpg0","data-path":"src/pages/AboutPage.tsx",children:"HOOVES FOR HARMONY INC is a registered nonprofit organization."}),l.jsx("p",{className:"font-sans-custom text-sm mt-1",style:{color:"#7A5C40"},"data-id":"nquzlutlg","data-path":"src/pages/AboutPage.tsx",children:"Registration No: 74-3126616"})]}),l.jsxs("div",{className:"mt-12 flex flex-wrap justify-center gap-4","data-id":"tpmue40kh","data-path":"src/pages/AboutPage.tsx",children:[l.jsxs(B,{to:"/about/our-story",className:"btn-primary","data-id":"uulyjail4","data-path":"src/pages/AboutPage.tsx",children:["Our Story ",l.jsx(Ve,{size:14,className:"inline ml-1.5 -mt-0.5","data-id":"g5ol5pehq","data-path":"src/pages/AboutPage.tsx"})]}),l.jsx(B,{to:"/about/mission-values",className:"btn-outline-green","data-id":"0w4cw1013","data-path":"src/pages/AboutPage.tsx",children:"Mission & Values"}),l.jsx(B,{to:"/about/team",className:"btn-outline-green","data-id":"48mez54cv","data-path":"src/pages/AboutPage.tsx",children:"Meet the Team"})]})]})})]})}const gT=[{year:"2008",event:"Founded by Elena Vasquez after witnessing how equine therapy helped her nephew with autism develop communication and confidence."},{year:"2010",event:"Received official nonprofit status (Registration No: 74-3126616) and launched Harmony Riding Pathways with 12 founding participants."},{year:"2012",event:"Expanded to include the Confidence in Motion program, serving participants with emotional and behavioral support needs."},{year:"2015",event:"Opened a fully accessible facility with adaptive mounting ramps, sensory-friendly spaces, and expanded stable capacity."},{year:"2017",event:"Launched the Inclusive Trails Network, creating community events and volunteer programs that extended our reach beyond the barn."},{year:"2020",event:"Adapted programming to ensure continuity of services during community health challenges, serving 180 participants through hybrid formats."},{year:"2022",event:"Reached 400+ participants served since founding. Introduced the Family Engagement Coordinator role to deepen family support."},{year:"2024",event:"Partnered with three local school districts to extend equine-assisted programming to additional students with disabilities."}];function yT(){return l.jsxs(je,{"data-id":"f2pyny6yw","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsxs("section",{className:"relative py-28 overflow-hidden",style:{backgroundColor:"#2A4C25"},"data-id":"7dejy1g1v","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23E8A94B' fill-opacity='0.3'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`},"data-id":"owtvphv8l","data-path":"src/pages/OurStoryPage.tsx"}),l.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center","data-id":"0n6cs1vwo","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"6ahwzwyj2","data-path":"src/pages/OurStoryPage.tsx",children:"Our Story"}),l.jsxs("h1",{className:"font-display text-white mb-6",style:{fontSize:"clamp(2.5rem, 5vw, 3.5rem)",fontWeight:800,lineHeight:1.2},"data-id":"xwnw1qnqx","data-path":"src/pages/OurStoryPage.tsx",children:["How a Horse Changed",l.jsx("br",{"data-id":"crbyxaoj1","data-path":"src/pages/OurStoryPage.tsx"}),l.jsx("em",{style:{color:"#E8A94B"},"data-id":"tk6s8zb6j","data-path":"src/pages/OurStoryPage.tsx",children:"Everything"})]})]})]}),l.jsx("section",{className:"py-20",style:{backgroundColor:"#F8F4EE"},"data-id":"j85s5foiy","data-path":"src/pages/OurStoryPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"otz7qi45q","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-10 mb-16 items-center","data-id":"9b120mayc","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("img",{src:"https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?w=700&q=80",alt:"Founding therapeutic horseback riding session",className:"rounded-2xl w-full object-cover shadow-lg",style:{height:"380px"},"data-id":"ebu9jc9u5","data-path":"src/pages/OurStoryPage.tsx"}),l.jsxs("div",{"data-id":"a4gf0e3sj","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("h2",{className:"section-heading mb-5","data-id":"klj2uprwr","data-path":"src/pages/OurStoryPage.tsx",children:"A Nephew, a Horse, and a Moment That Changed Everything"}),l.jsx("p",{className:"font-sans-custom leading-relaxed mb-4",style:{color:"#5C3D2E"},"data-id":"vf5znzxru","data-path":"src/pages/OurStoryPage.tsx",children:"In 2006, Elena Vasquez brought her nephew, Mateo, to visit a family friend's horse ranch outside Novato. Mateo, then eight years old and living with autism, had struggled throughout his childhood to find activities where he felt genuinely capable and engaged. That afternoon, something extraordinary happened: Mateo walked up to a gentle mare named Cinnamon and, without prompting, placed his hand on her neck and whispered to her. For the first time in years, Mateo was completely present — calm, focused, and radiating quiet confidence."}),l.jsx("p",{className:"font-sans-custom leading-relaxed",style:{color:"#5C3D2E"},"data-id":"dp34e62ul","data-path":"src/pages/OurStoryPage.tsx",children:"Elena began researching therapeutic horseback riding and equine-assisted activities. She discovered a growing body of evidence supporting what she had witnessed — that horses, with their sensitivity, size, and movement, create conditions uniquely suited to therapeutic and developmental growth. The horse makes no judgments. It responds to energy, to calm, to care. For children and individuals who often face environments that highlight what they cannot do, the horse offers a different experience entirely."})]})]}),l.jsxs("div",{className:"space-y-5 mb-16","data-id":"gejj65vaw","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("h2",{className:"section-heading","data-id":"t11lcbucs","data-path":"src/pages/OurStoryPage.tsx",children:"Answering a Community Need"}),l.jsx("p",{className:"font-sans-custom leading-relaxed text-base",style:{color:"#5C3D2E"},"data-id":"ouuemleuw","data-path":"src/pages/OurStoryPage.tsx",children:"As Elena researched existing programs in Marin County and the surrounding region, she found that therapeutic riding opportunities were limited, often difficult to access, and rarely affordable for families navigating the additional costs that frequently accompany disability. Waitlists were long. Transportation was a barrier. Financial assistance was scarce. The need was clear, the gap was real, and Elena had both a personal connection to the mission and the determination to do something about it."}),l.jsx("p",{className:"font-sans-custom leading-relaxed text-base",style:{color:"#5C3D2E"},"data-id":"bf94z88zi","data-path":"src/pages/OurStoryPage.tsx",children:"In 2008, with a small team of volunteers, a certified therapeutic riding instructor, and two donated horses, Elena founded Hooves for Harmony INC. The organization opened its doors to 12 participants in its first year — each one bringing a different story, a different set of goals, and a different capacity for growth. What united them was the same thing Elena had seen in Mateo: an openness to the horse, and the remarkable things that could happen when a person and an animal approached each other with mutual respect."}),l.jsx("p",{className:"font-sans-custom leading-relaxed text-base",style:{color:"#5C3D2E"},"data-id":"o1e0808cy","data-path":"src/pages/OurStoryPage.tsx",children:"Today, Hooves for Harmony serves more than 420 participants and families across Northern California. Our programs have expanded to include emotional and social development through equine-assisted activities, community inclusion events, and family support services. Our facility has grown to accommodate accessible mounting, adaptive equipment, and sensory-friendly spaces. Our volunteer community numbers in the hundreds. But the heart of the organization remains the same: a belief that every person deserves an environment where they can discover what they are capable of, and that horses are extraordinary partners in that discovery."}),l.jsx("p",{className:"font-sans-custom leading-relaxed text-base",style:{color:"#5C3D2E"},"data-id":"2ng5avazk","data-path":"src/pages/OurStoryPage.tsx",children:"Looking ahead, we aspire to expand our scholarship program so that financial need is never a barrier to participation. We aim to deepen our partnerships with schools, healthcare providers, and community organizations to extend the reach of equine-assisted services throughout the region. And we intend to continue what we have always done: listening to participants, learning from families, and letting the horses teach us all something new."})]}),l.jsxs("div",{"data-id":"t2k5a107n","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("h2",{className:"section-heading mb-10 text-center","data-id":"9zfgb44jm","data-path":"src/pages/OurStoryPage.tsx",children:"Our Journey"}),l.jsxs("div",{className:"relative","data-id":"lns7g21d4","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("div",{className:"absolute left-6 sm:left-1/2 top-0 bottom-0 w-0.5 -translate-x-1/2",style:{backgroundColor:"#C5DAC0"},"data-id":"9458s58zb","data-path":"src/pages/OurStoryPage.tsx"}),l.jsx("div",{className:"space-y-8","data-id":"0ladahrko","data-path":"src/pages/OurStoryPage.tsx",children:gT.map((e,t)=>l.jsxs("div",{className:`flex items-start gap-6 ${t%2===0?"sm:flex-row":"sm:flex-row-reverse"}`,"data-id":"zgvbs5aax","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("div",{className:`flex-1 ${t%2===0?"sm:text-right sm:pr-8":"sm:text-left sm:pl-8"} pl-14 sm:pl-0`,"data-id":"ucwefb2r5","data-path":"src/pages/OurStoryPage.tsx",children:l.jsxs("div",{className:"inline-block px-4 py-2 rounded-xl shadow-sm",style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"wqlquuunt","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsx("span",{className:"font-serif-sans font-bold text-xs uppercase tracking-wider",style:{color:"#E8A94B"},"data-id":"iypiohjjh","data-path":"src/pages/OurStoryPage.tsx",children:e.year}),l.jsx("p",{className:"font-sans-custom text-sm mt-1 leading-relaxed",style:{color:"#4A3020"},"data-id":"pqrlumvav","data-path":"src/pages/OurStoryPage.tsx",children:e.event})]})}),l.jsx("div",{className:"absolute left-4 sm:relative sm:left-auto flex-shrink-0 w-5 h-5 rounded-full border-4 mt-2",style:{backgroundColor:"#3D6B35",borderColor:"#C5DAC0"},"data-id":"f67w3eku3","data-path":"src/pages/OurStoryPage.tsx"}),l.jsx("div",{className:"hidden sm:block flex-1","data-id":"t2ddq490p","data-path":"src/pages/OurStoryPage.tsx"})]},t))})]})]}),l.jsxs("div",{className:"mt-16 flex flex-wrap justify-center gap-4","data-id":"acnt44m42","data-path":"src/pages/OurStoryPage.tsx",children:[l.jsxs(B,{to:"/about/mission-values",className:"btn-primary","data-id":"vvx0meouy","data-path":"src/pages/OurStoryPage.tsx",children:["Mission & Values ",l.jsx(Ve,{size:14,className:"inline ml-1.5 -mt-0.5","data-id":"3plw8jomh","data-path":"src/pages/OurStoryPage.tsx"})]}),l.jsx(B,{to:"/about/team",className:"btn-outline-green","data-id":"dyp1ixq1w","data-path":"src/pages/OurStoryPage.tsx",children:"Meet the Team"})]})]})})]})}const xT=[{name:"Inclusion",icon:"🤝",description:"We design every program, event, and interaction to welcome and support full participation from every individual. Inclusion is not an accommodation — it is the starting point. We actively work to remove barriers and ensure that participants of all abilities, backgrounds, and experiences feel that Hooves for Harmony belongs to them.",connection:"Our mission calls us to serve individuals with special needs, and that means building spaces and programs where they are not an afterthought but the entire point."},{name:"Respect",icon:"🌿",description:"We honor the dignity of every person — participants, families, volunteers, and staff. We use person-first, dignity-affirming language. We listen before we advise, and we celebrate each individual's definition of progress and success. Horses model this for us: they respond to presence and intention, not labels.",connection:"Respect is at the core of therapeutic relationships. When participants feel seen and valued, they are free to take the risks that lead to growth."},{name:"Empowerment",icon:"⭐",description:"We believe in the inherent capabilities of every person we serve. Our programs are built to expand what participants believe is possible for themselves — not to demonstrate what we can do for them, but to create conditions where they discover what they can do independently. Empowerment is our measure of success.",connection:"Confidence, independence, and quality of life — the goals named in our mission — are all products of empowerment. Everything we do asks: does this help participants lead their own lives?"},{name:"Accessibility",icon:"🔓",description:"We work continuously to ensure that our programs are physically, financially, and culturally accessible. This means adaptive equipment, scholarship funding, multilingual communication, and an ongoing commitment to listening to the needs of families who may face barriers we haven't anticipated.",connection:"A mission that promotes quality of life must be actionable — not just aspirational. Accessibility ensures that our programs are available to those who need them most."},{name:"Partnership",icon:"🐴",description:"We view our relationships with participants, families, horses, volunteers, and the broader community as genuine partnerships. Each party brings something irreplaceable. Horses bring authentic responsiveness. Families bring deep knowledge of their loved ones. Volunteers bring energy and perspective. Participants bring courage and openness.",connection:"Therapeutic and social growth happens in relationship. Our programs are built on a foundation of mutual trust, shared purpose, and reciprocal care."},{name:"Compassion",icon:"💚",description:"We lead with warmth, patience, and a deep commitment to understanding what each participant and family is navigating. Compassion shapes how we communicate when a goal isn't met, how we support families through challenges, and how we care for the horses who are central to our work.",connection:"Our mission centers on well-being — a word that is inherently about the whole person. Compassion is what ensures we never reduce participants to their goals or their challenges."},{name:"Growth",icon:"🌱",description:"We celebrate progress at every scale — from a first independent step into the stirrup to a breakthrough in social connection. Growth looks different for every participant, and we honor all of it. We are also committed to our own organizational growth: learning from participants, refining our programs, and expanding our reach.",connection:"Promoting physical, emotional, and social development — as our mission states — requires an unwavering belief that every person has the capacity to grow, and a program designed to meet that growth wherever it emerges."}];function vT(){return l.jsxs(je,{"data-id":"exl7b5zq8","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsxs("section",{className:"relative py-28 overflow-hidden",style:{backgroundColor:"#2A4C25"},"data-id":"l2xrhp2z8","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23E8A94B' fill-opacity='0.3'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`},"data-id":"t9w0c4yoz","data-path":"src/pages/MissionValuesPage.tsx"}),l.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center","data-id":"i44wllolk","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"nkln7ua2z","data-path":"src/pages/MissionValuesPage.tsx",children:"Mission & Values"}),l.jsxs("h1",{className:"font-display text-white mb-6",style:{fontSize:"clamp(2.5rem, 5vw, 3.5rem)",fontWeight:800,lineHeight:1.2},"data-id":"7jpqsdu29","data-path":"src/pages/MissionValuesPage.tsx",children:["What We Believe &",l.jsx("br",{"data-id":"v7s5bqsfl","data-path":"src/pages/MissionValuesPage.tsx"}),l.jsx("em",{style:{color:"#E8A94B"},"data-id":"0cwrnkj2n","data-path":"src/pages/MissionValuesPage.tsx",children:"Why We Act"})]})]})]}),l.jsx("section",{className:"py-20",style:{backgroundColor:"#F8F4EE"},"data-id":"f9kzvr45l","data-path":"src/pages/MissionValuesPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"j4z0vct0u","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsxs("div",{className:"mb-16","data-id":"c2vtf57nh","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3","data-id":"yg6w1zc6k","data-path":"src/pages/MissionValuesPage.tsx",children:"Our Mission"}),l.jsx("h2",{className:"section-heading mb-6","data-id":"lt7rkwshy","data-path":"src/pages/MissionValuesPage.tsx",children:"Mission Statement"}),l.jsxs("div",{className:"p-8 rounded-2xl relative overflow-hidden",style:{backgroundColor:"#2A4C25"},"data-id":"0vqw0i4ga","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("div",{className:"absolute top-0 right-0 w-32 h-32 rounded-bl-full opacity-20",style:{backgroundColor:"#E8A94B"},"data-id":"aztpyd9f8","data-path":"src/pages/MissionValuesPage.tsx"}),l.jsx("blockquote",{className:"font-display text-xl italic leading-relaxed",style:{color:"#F8F4EE"},"data-id":"aq5r2ax3q","data-path":"src/pages/MissionValuesPage.tsx",children:'"Hooves for Harmony is dedicated to providing therapeutic horseback riding and equine-assisted activities for children and individuals with special needs. The organization promotes physical, emotional, and social development through horse-related programs, fostering confidence, independence, and well-being while creating meaningful opportunities for participants to improve their quality of life."'})]})]}),l.jsxs("div",{className:"mb-16","data-id":"ff2dfy4be","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3","data-id":"8q7lpsg3f","data-path":"src/pages/MissionValuesPage.tsx",children:"Our Vision"}),l.jsx("h2",{className:"section-heading mb-5","data-id":"9r2fl01c4","data-path":"src/pages/MissionValuesPage.tsx",children:"A Future Built on Access and Belonging"}),l.jsx("p",{className:"font-sans-custom leading-relaxed text-base mb-4",style:{color:"#5C3D2E"},"data-id":"u1d2713z0","data-path":"src/pages/MissionValuesPage.tsx",children:"We envision a future in which every child and individual with special needs in our region has access to high-quality, equine-assisted therapeutic experiences — regardless of ability, financial circumstance, or background. A future where participation in therapeutic riding is understood not as a privilege but as an opportunity that communities actively make available."}),l.jsx("p",{className:"font-sans-custom leading-relaxed text-base",style:{color:"#5C3D2E"},"data-id":"k0eqgsqm0","data-path":"src/pages/MissionValuesPage.tsx",children:"We envision communities where the confidence and skills participants build through our programs translate into fuller participation in schools, workplaces, and social life — where the growth that happens in the barn creates ripples of independence, connection, and possibility in every other area of life. Hooves for Harmony aspires to be a leader in inclusive, equine-assisted services, and a model for what is possible when communities invest in the full participation of every individual."})]}),l.jsxs("div",{"data-id":"i4cmbwalt","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3","data-id":"iy96dlqy2","data-path":"src/pages/MissionValuesPage.tsx",children:"Core Values"}),l.jsx("h2",{className:"section-heading mb-8","data-id":"lj2fv28s2","data-path":"src/pages/MissionValuesPage.tsx",children:"The Values That Guide Everything We Do"}),l.jsx("div",{className:"grid grid-cols-1 gap-6","data-id":"crreasexa","data-path":"src/pages/MissionValuesPage.tsx",children:xT.map((e,t)=>l.jsx("div",{className:"rounded-2xl p-6 card-hover",style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"qppqv51s8","data-path":"src/pages/MissionValuesPage.tsx",children:l.jsxs("div",{className:"flex items-start gap-5","data-id":"1zngptv8p","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("div",{className:"text-3xl w-14 h-14 rounded-full flex items-center justify-center flex-shrink-0",style:{backgroundColor:"#EEF5EA"},"data-id":"arh1doqhj","data-path":"src/pages/MissionValuesPage.tsx",children:e.icon}),l.jsxs("div",{"data-id":"5lkdppnh4","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("h3",{className:"font-display font-bold text-xl mb-2",style:{color:"#2A4C25"},"data-id":"4mdn25gf8","data-path":"src/pages/MissionValuesPage.tsx",children:e.name}),l.jsx("p",{className:"font-sans-custom text-sm leading-relaxed mb-3",style:{color:"#5C3D2E"},"data-id":"pr5yegk6o","data-path":"src/pages/MissionValuesPage.tsx",children:e.description}),l.jsx("div",{className:"px-4 py-2.5 rounded-lg",style:{backgroundColor:"#EEF5EA",borderLeft:"3px solid #3D6B35"},"data-id":"w5s1uk27d","data-path":"src/pages/MissionValuesPage.tsx",children:l.jsxs("p",{className:"font-sans-custom text-xs leading-relaxed",style:{color:"#3D6B35"},"data-id":"nyih5l6qv","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsx("strong",{"data-id":"c5o66c2dt","data-path":"src/pages/MissionValuesPage.tsx",children:"Connection to Mission:"})," ",e.connection]})})]})]})},t))})]}),l.jsxs("div",{className:"mt-14 flex flex-wrap justify-center gap-4","data-id":"pc2bnadky","data-path":"src/pages/MissionValuesPage.tsx",children:[l.jsxs(B,{to:"/about/our-story",className:"btn-primary","data-id":"ztobkstuk","data-path":"src/pages/MissionValuesPage.tsx",children:["Our Story ",l.jsx(Ve,{size:14,className:"inline ml-1.5 -mt-0.5","data-id":"mf8f4g62m","data-path":"src/pages/MissionValuesPage.tsx"})]}),l.jsx(B,{to:"/about/team",className:"btn-outline-green","data-id":"8zkn1svw6","data-path":"src/pages/MissionValuesPage.tsx",children:"Meet the Team"})]})]})})]})}const wT=[{name:"Elena Vasquez",role:"Executive Director",image:"https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=300&q=80",bio:"Elena founded Hooves for Harmony in 2008 after witnessing the transformative impact that equine interaction had on her nephew Mateo, who lives with autism. With a background in nonprofit leadership and a graduate degree in community development, Elena has grown the organization from a small volunteer-run program into a recognized leader in equine-assisted services for Northern California. She leads strategic partnerships, fundraising, and organizational development, ensuring that the mission remains centered on participant well-being and inclusive access."},{name:"Dr. Marcus Henley",role:"Program Director",image:"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=300&q=80",bio:"Dr. Marcus Henley brings over 18 years of experience in occupational therapy and adaptive program design to his role as Program Director. Certified by PATH International, Marcus oversees curriculum development for all three Hooves for Harmony programs, ensuring that each session reflects current best practices in equine-assisted therapy and developmental support. He works closely with participant families and referring clinicians to establish individualized goals and track meaningful outcomes throughout each program cycle."},{name:"Sofia Marzetti",role:"Therapeutic Riding Instructor",image:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=300&q=80",bio:"Sofia is a PATH International Certified Therapeutic Riding Instructor with 11 years of experience working with children and adults with physical, cognitive, and emotional support needs. She holds certifications in both therapeutic horsemanship and equine-assisted learning, and brings a calm, encouraging presence to every session. Sofia is known among participants and families for her ability to communicate each participant's strengths clearly and build lessons around what they can achieve rather than what they cannot."},{name:"James Okafor",role:"Volunteer Coordinator",image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=300&q=80",bio:"James manages Hooves for Harmony's volunteer community of 120+ trained individuals, overseeing recruitment, training, scheduling, and recognition. With a background in human resources and a passion for disability inclusion, James developed the organization's signature volunteer orientation program — a trauma-informed, dignity-first training that ensures every volunteer understands their role in supporting participant participation, safety, and well-being. He is deeply committed to building a volunteer community that reflects the diversity of the families we serve."},{name:"Amelia Chen",role:"Family Engagement Manager",image:"https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=300&q=80",bio:"Amelia brings a background in family social work and community navigation to her role as Family Engagement Manager. She serves as the primary point of contact for families new to Hooves for Harmony, guiding them through enrollment, scholarship applications, and ongoing communication with program staff. Amelia also coordinates family events, parent education workshops, and community inclusion gatherings — building the relational infrastructure that helps families feel they truly belong to the Hooves for Harmony community, not just their child's individual program."}];function bT(){return l.jsxs(je,{"data-id":"amkgo058j","data-path":"src/pages/TeamPage.tsx",children:[l.jsxs("section",{className:"relative py-28 overflow-hidden",style:{backgroundColor:"#2A4C25"},"data-id":"gra4naiii","data-path":"src/pages/TeamPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23E8A94B' fill-opacity='0.3'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`},"data-id":"ismb6fupp","data-path":"src/pages/TeamPage.tsx"}),l.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center","data-id":"6l6mvd1oy","data-path":"src/pages/TeamPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"amjt5rsel","data-path":"src/pages/TeamPage.tsx",children:"Our Team"}),l.jsxs("h1",{className:"font-display text-white mb-6",style:{fontSize:"clamp(2.5rem, 5vw, 3.5rem)",fontWeight:800,lineHeight:1.2},"data-id":"9qz091unt","data-path":"src/pages/TeamPage.tsx",children:["The People Behind",l.jsx("br",{"data-id":"b3b1q7wr5","data-path":"src/pages/TeamPage.tsx"}),l.jsx("em",{style:{color:"#E8A94B"},"data-id":"hs0i0o334","data-path":"src/pages/TeamPage.tsx",children:"Every Session"})]}),l.jsx("p",{className:"font-sans-custom text-lg",style:{color:"#C5DAC0",maxWidth:"560px",margin:"0 auto"},"data-id":"4rlb8fx03","data-path":"src/pages/TeamPage.tsx",children:"Our dedicated team of certified professionals, educators, and community builders work together to ensure every participant receives expert, compassionate support."})]})]}),l.jsx("section",{className:"py-20",style:{backgroundColor:"#F8F4EE"},"data-id":"c2qkh66ea","data-path":"src/pages/TeamPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"illcr1l1e","data-path":"src/pages/TeamPage.tsx",children:[l.jsx("div",{className:"grid grid-cols-1 gap-10","data-id":"wp2albcw2","data-path":"src/pages/TeamPage.tsx",children:wT.map((e,t)=>l.jsxs("div",{className:"flex flex-col sm:flex-row gap-7 p-7 rounded-2xl card-hover",style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"oif80itt4","data-path":"src/pages/TeamPage.tsx",children:[l.jsx("div",{className:"flex-shrink-0","data-id":"qeww6b7jz","data-path":"src/pages/TeamPage.tsx",children:l.jsx("img",{src:e.image,alt:`${e.name}, ${e.role}`,className:"w-28 h-28 rounded-2xl object-cover",style:{border:"3px solid #EEF5EA"},"data-id":"0wfmmilvf","data-path":"src/pages/TeamPage.tsx"})}),l.jsxs("div",{"data-id":"l57miowf4","data-path":"src/pages/TeamPage.tsx",children:[l.jsx("h3",{className:"font-display font-bold text-xl mb-1",style:{color:"#2A4C25"},"data-id":"viuwaudn1","data-path":"src/pages/TeamPage.tsx",children:e.name}),l.jsx("div",{className:"label-tag mb-3","data-id":"yghh6csyz","data-path":"src/pages/TeamPage.tsx",children:e.role}),l.jsx("p",{className:"font-sans-custom text-sm leading-relaxed",style:{color:"#5C3D2E"},"data-id":"ootwrwkw0","data-path":"src/pages/TeamPage.tsx",children:e.bio})]})]},t))}),l.jsxs("div",{className:"mt-14 p-8 rounded-2xl text-center",style:{backgroundColor:"#EEF5EA",border:"1px solid #C5DAC0"},"data-id":"8nzf46sjc","data-path":"src/pages/TeamPage.tsx",children:[l.jsx("h3",{className:"font-display font-bold text-2xl mb-3",style:{color:"#2A4C25"},"data-id":"8dz7qqe6u","data-path":"src/pages/TeamPage.tsx",children:"Want to Join Our Team?"}),l.jsx("p",{className:"font-sans-custom mb-5",style:{color:"#5C3D2E"},"data-id":"4ru4lyo5p","data-path":"src/pages/TeamPage.tsx",children:"We're always looking for passionate, qualified individuals who believe in the power of equine-assisted services and inclusive community."}),l.jsxs(B,{to:"/contact",className:"btn-primary","data-id":"l71f2e4yi","data-path":"src/pages/TeamPage.tsx",children:[l.jsx(kp,{size:15,className:"inline mr-2 -mt-0.5","data-id":"0tiihbuud","data-path":"src/pages/TeamPage.tsx"}),"Get in Touch"]})]})]})})]})}const PT=[{title:"Harmony Riding Pathways",focus:"Therapeutic Horseback Riding Services",image:"https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?w=800&q=80",desc:"Our adaptive riding program designed to support physical, neurological, and developmental goals through certified therapeutic horsemanship.",path:"/programs/harmony-riding-pathways"},{title:"Confidence in Motion",focus:"Emotional Well-Being & Confidence Building",image:"https://images.unsplash.com/photo-1598300042247-d088f8ab3a91?w=800&q=80",desc:"Equine-assisted activities focused on emotional regulation, social confidence, and personal growth through authentic horse interaction.",path:"/programs/confidence-in-motion"},{title:"Inclusive Trails Network",focus:"Inclusive Community & Family Support",image:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&q=80",desc:"Community events, family engagement, and volunteer programs that create inclusive recreational opportunities for everyone.",path:"/programs/inclusive-trails-network"}];function CT(){return l.jsxs(je,{"data-id":"jxfpy5ucb","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsxs("section",{className:"relative py-28 overflow-hidden",style:{backgroundColor:"#2A4C25"},"data-id":"gnwkw8m5a","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23E8A94B' fill-opacity='0.3'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`},"data-id":"4aw9sn7j1","data-path":"src/pages/ProgramsPage.tsx"}),l.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center","data-id":"v2gvmzaft","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"0ewic1nbn","data-path":"src/pages/ProgramsPage.tsx",children:"Our Programs"}),l.jsxs("h1",{className:"font-display text-white mb-6",style:{fontSize:"clamp(2.5rem, 5vw, 3.5rem)",fontWeight:800,lineHeight:1.2},"data-id":"pucj75woh","data-path":"src/pages/ProgramsPage.tsx",children:["Programs That Meet You",l.jsx("br",{"data-id":"fk55cjn30","data-path":"src/pages/ProgramsPage.tsx"}),l.jsx("em",{style:{color:"#E8A94B"},"data-id":"hwsr1tab8","data-path":"src/pages/ProgramsPage.tsx",children:"Where You Are"})]}),l.jsx("p",{className:"font-sans-custom text-lg",style:{color:"#C5DAC0",maxWidth:"580px",margin:"0 auto"},"data-id":"ir6t9c7hl","data-path":"src/pages/ProgramsPage.tsx",children:"Three distinct programs, each built around one or more of our core pillars of service. Every journey through Hooves for Harmony is personalized to the individual."})]})]}),l.jsx("section",{className:"py-20",style:{backgroundColor:"#F8F4EE"},"data-id":"gstqlo619","data-path":"src/pages/ProgramsPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"w0usrwyxu","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("div",{className:"grid grid-cols-1 gap-12","data-id":"ho4z8rxq1","data-path":"src/pages/ProgramsPage.tsx",children:PT.map((e,t)=>l.jsxs("div",{className:`flex flex-col ${t%2===0?"lg:flex-row":"lg:flex-row-reverse"} gap-8 items-center rounded-2xl overflow-hidden`,style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"5kfi4bnvz","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("div",{className:"lg:w-2/5 overflow-hidden",style:{minHeight:"280px"},"data-id":"c95engzyl","data-path":"src/pages/ProgramsPage.tsx",children:l.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover",style:{minHeight:"280px"},"data-id":"yqvk5bois","data-path":"src/pages/ProgramsPage.tsx"})}),l.jsxs("div",{className:"lg:w-3/5 p-8","data-id":"lo2gajxet","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("div",{className:"label-tag mb-2","data-id":"0py8m4rwj","data-path":"src/pages/ProgramsPage.tsx",children:e.focus}),l.jsx("h2",{className:"font-display font-bold text-2xl mb-3",style:{color:"#2A4C25"},"data-id":"a3ghg2cwh","data-path":"src/pages/ProgramsPage.tsx",children:e.title}),l.jsx("p",{className:"font-sans-custom leading-relaxed mb-5",style:{color:"#5C3D2E"},"data-id":"vovse05bk","data-path":"src/pages/ProgramsPage.tsx",children:e.desc}),l.jsxs(B,{to:e.path,className:"btn-primary","data-id":"vg5rt02x3","data-path":"src/pages/ProgramsPage.tsx",children:["Learn More",l.jsx(Ve,{size:14,className:"inline ml-1.5 -mt-0.5","data-id":"eh8nkwkxk","data-path":"src/pages/ProgramsPage.tsx"})]})]})]},t))}),l.jsxs("div",{className:"mt-16 p-8 rounded-2xl text-center",style:{background:"linear-gradient(135deg, #2A4C25 0%, #3D6B35 100%)"},"data-id":"wc50xf1xh","data-path":"src/pages/ProgramsPage.tsx",children:[l.jsx("h3",{className:"font-display font-bold text-2xl text-white mb-3","data-id":"y1ka4ncds","data-path":"src/pages/ProgramsPage.tsx",children:"Not Sure Which Program Is Right?"}),l.jsx("p",{className:"font-sans-custom mb-6",style:{color:"#C5DAC0"},"data-id":"4owvjq9bj","data-path":"src/pages/ProgramsPage.tsx",children:"Our Family Engagement Manager is happy to guide you through each program and help you find the best fit for your participant's goals and needs."}),l.jsx(B,{to:"/contact",className:"btn-amber","data-id":"6gmrn779s","data-path":"src/pages/ProgramsPage.tsx",children:"Talk to Our Team"})]})]})})]})}function ET(){return l.jsxs(je,{"data-id":"55rzpfd7r","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsxs("section",{className:"relative min-h-[55vh] flex items-end pb-16 overflow-hidden","data-id":"2d24n10gv","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsxs("div",{className:"absolute inset-0","data-id":"tn59uwpkb","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsx("img",{src:"https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?w=1400&q=85",alt:"Participant in Harmony Riding Pathways program on horseback",className:"w-full h-full object-cover","data-id":"yr36sk0f1","data-path":"src/pages/HarmonyRidingPage.tsx"}),l.jsx("div",{className:"hero-overlay absolute inset-0","data-id":"qzr5reubo","data-path":"src/pages/HarmonyRidingPage.tsx"})]}),l.jsxs("div",{className:"relative max-w-5xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"hy6jdvfft","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"zrk0penv2","data-path":"src/pages/HarmonyRidingPage.tsx",children:"Program — Therapeutic Horseback Riding Services"}),l.jsx("h1",{className:"font-display text-white mb-4",style:{fontSize:"clamp(2.2rem, 4.5vw, 3.5rem)",fontWeight:800,lineHeight:1.2},"data-id":"9u6c9g4jw","data-path":"src/pages/HarmonyRidingPage.tsx",children:"Harmony Riding Pathways"}),l.jsx("p",{className:"font-sans-custom text-lg",style:{color:"rgba(255,255,255,0.9)",maxWidth:"560px"},"data-id":"8a3a89agp","data-path":"src/pages/HarmonyRidingPage.tsx",children:"Certified therapeutic horseback riding instruction for children and individuals with special needs, delivered in a structured, safe, and affirming environment."})]})]}),l.jsx("section",{className:"py-20",style:{backgroundColor:"#F8F4EE"},"data-id":"lo29thv9z","data-path":"src/pages/HarmonyRidingPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"u3809nw8m","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8 mb-14","data-id":"naqpzvd91","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsxs("div",{className:"lg:col-span-2 space-y-4","data-id":"3gajriv89","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsx("div",{className:"label-tag","data-id":"ppanxvnyz","data-path":"src/pages/HarmonyRidingPage.tsx",children:"Program Overview"}),l.jsx("h2",{className:"section-heading","data-id":"3br66zpak","data-path":"src/pages/HarmonyRidingPage.tsx",children:"Riding Toward Every Goal"}),l.jsx("p",{className:"font-sans-custom leading-relaxed",style:{color:"#5C3D2E"},"data-id":"12x80wd8h","data-path":"src/pages/HarmonyRidingPage.tsx",children:"Harmony Riding Pathways is Hooves for Harmony's flagship therapeutic horseback riding program, designed to support physical, neurological, and developmental goals through the unique properties of equine movement. Each session is led by a PATH International Certified Therapeutic Riding Instructor who works directly with participants to create individualized lesson plans that reflect each person's therapeutic goals, abilities, and interests."}),l.jsx("p",{className:"font-sans-custom leading-relaxed",style:{color:"#5C3D2E"},"data-id":"e2yaimzh8","data-path":"src/pages/HarmonyRidingPage.tsx",children:"The rhythmic, three-dimensional movement of a walking horse closely mimics the movement of the human pelvis, engaging core muscles, improving posture, and stimulating neurological pathways in ways that are difficult to replicate through other therapeutic modalities. Participants who struggle with coordination, body awareness, or muscular tension often experience meaningful gains through consistent therapeutic riding — and they gain these benefits while doing something that feels like achievement, not treatment."}),l.jsx("p",{className:"font-sans-custom leading-relaxed",style:{color:"#5C3D2E"},"data-id":"u4bnja9la","data-path":"src/pages/HarmonyRidingPage.tsx",children:"Harmony Riding Pathways serves participants across a wide range of diagnoses and support needs, including cerebral palsy, autism spectrum disorder, Down syndrome, traumatic brain injury, and multiple sclerosis. We work closely with referring therapists and physicians to align equine-assisted goals with each participant's broader care plan."})]}),l.jsx("div",{className:"space-y-4","data-id":"ggfdhmj6v","data-path":"src/pages/HarmonyRidingPage.tsx",children:[{icon:l.jsx(Bv,{size:20,"data-id":"bk3nm63t9","data-path":"src/pages/HarmonyRidingPage.tsx"}),label:"Program Type",value:"Therapeutic Riding"},{icon:l.jsx(Sp,{size:20,"data-id":"xy158uwrs","data-path":"src/pages/HarmonyRidingPage.tsx"}),label:"Ages Served",value:"5 years and older"},{icon:l.jsx(Fd,{size:20,"data-id":"1xkk13mum","data-path":"src/pages/HarmonyRidingPage.tsx"}),label:"Certification",value:"PATH International"},{icon:l.jsx(un,{size:20,"data-id":"w9toahwpv","data-path":"src/pages/HarmonyRidingPage.tsx"}),label:"Session Length",value:"45–60 minutes"}].map((e,t)=>l.jsxs("div",{className:"flex items-start gap-3 p-4 rounded-xl",style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"skbydbtcp","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsx("div",{style:{color:"#3D6B35"},"data-id":"r0l71olr9","data-path":"src/pages/HarmonyRidingPage.tsx",children:e.icon}),l.jsxs("div",{"data-id":"2q09a1g4z","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsx("div",{className:"text-xs font-serif-sans font-bold uppercase tracking-wide",style:{color:"#8FAF83"},"data-id":"w6oeikgqg","data-path":"src/pages/HarmonyRidingPage.tsx",children:e.label}),l.jsx("div",{className:"font-sans-custom font-semibold text-sm mt-0.5",style:{color:"#2A4C25"},"data-id":"br7ky3j66","data-path":"src/pages/HarmonyRidingPage.tsx",children:e.value})]})]},t))})]}),l.jsxs("div",{className:"mb-14 p-8 rounded-2xl",style:{backgroundColor:"#EEF5EA"},"data-id":"e4tsxlydp","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsx("h3",{className:"font-display font-bold text-2xl mb-4",style:{color:"#2A4C25"},"data-id":"neywpfl0l","data-path":"src/pages/HarmonyRidingPage.tsx",children:"Who Benefits from Harmony Riding Pathways"}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3","data-id":"9dbdrjlks","data-path":"src/pages/HarmonyRidingPage.tsx",children:["Children and adults with physical disabilities seeking improved balance and coordination","Individuals with autism spectrum disorder building sensory integration and focus","Participants with cognitive differences pursuing structured goal achievement","Individuals recovering from traumatic brain injury or neurological events","Children with developmental delays working on motor planning and body awareness","Adults with multiple sclerosis or similar conditions maintaining mobility and strength","Individuals with emotional and behavioral support needs seeking structured engagement","Anyone for whom traditional therapies have not fully captured their potential"].map((e,t)=>l.jsxs("div",{className:"flex items-start gap-2.5","data-id":"0qcmoyxuu","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsx(un,{size:16,className:"mt-0.5 flex-shrink-0",style:{color:"#3D6B35"},"data-id":"duwt3o0fg","data-path":"src/pages/HarmonyRidingPage.tsx"}),l.jsx("span",{className:"font-sans-custom text-sm",style:{color:"#4A3020"},"data-id":"wcuu06kkl","data-path":"src/pages/HarmonyRidingPage.tsx",children:e})]},t))})]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 mb-14","data-id":"v8r4r6t0g","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsxs("div",{className:"p-7 rounded-2xl",style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"1lkn737q2","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsxs("h3",{className:"font-display font-bold text-xl mb-4",style:{color:"#2A4C25"},"data-id":"5a8ngue9s","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsx(Fd,{size:20,className:"inline mr-2",style:{color:"#3D6B35"},"data-id":"rowds1wlm","data-path":"src/pages/HarmonyRidingPage.tsx"}),"Safety & Accessibility"]}),l.jsx("ul",{className:"space-y-2.5","data-id":"cpu5kw85l","data-path":"src/pages/HarmonyRidingPage.tsx",children:["Horses selected and trained specifically for therapeutic work","Volunteer sidewalkers and leaders for every riding session","Adaptive mounting ramps and accessible facility design","Specially fitted helmets and adaptive tack available","Emergency protocols and trained staff at all times","Medical intake process and physician clearance when needed"].map((e,t)=>l.jsxs("li",{className:"flex items-start gap-2.5","data-id":"zynpijn69","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsx("div",{className:"w-1.5 h-1.5 rounded-full mt-2 flex-shrink-0",style:{backgroundColor:"#3D6B35"},"data-id":"jgo9mrpnx","data-path":"src/pages/HarmonyRidingPage.tsx"}),l.jsx("span",{className:"font-sans-custom text-sm",style:{color:"#5C3D2E"},"data-id":"ygpn324cw","data-path":"src/pages/HarmonyRidingPage.tsx",children:e})]},t))})]}),l.jsxs("div",{className:"p-7 rounded-2xl",style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"3o1chcql9","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsxs("h3",{className:"font-display font-bold text-xl mb-4",style:{color:"#2A4C25"},"data-id":"gv178jmf4","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsx(un,{size:20,className:"inline mr-2",style:{color:"#3D6B35"},"data-id":"6v4qwukdl","data-path":"src/pages/HarmonyRidingPage.tsx"}),"Participant Outcomes"]}),l.jsx("ul",{className:"space-y-2.5","data-id":"bn9envmbt","data-path":"src/pages/HarmonyRidingPage.tsx",children:["Measurable improvements in balance, posture, and core strength","Greater body awareness and sensory integration","Enhanced focus, attention span, and task completion","Increased confidence and willingness to try new challenges","Progress toward individualized therapeutic goals","Strengthened sense of achievement and personal capability"].map((e,t)=>l.jsxs("li",{className:"flex items-start gap-2.5","data-id":"g3hlo24af","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsx("div",{className:"w-1.5 h-1.5 rounded-full mt-2 flex-shrink-0",style:{backgroundColor:"#C47D3A"},"data-id":"ygv4z2yze","data-path":"src/pages/HarmonyRidingPage.tsx"}),l.jsx("span",{className:"font-sans-custom text-sm",style:{color:"#5C3D2E"},"data-id":"931dspnd5","data-path":"src/pages/HarmonyRidingPage.tsx",children:e})]},t))})]})]}),l.jsxs("div",{className:"text-center","data-id":"291fscv9r","data-path":"src/pages/HarmonyRidingPage.tsx",children:[l.jsxs(B,{to:"/contact",className:"btn-primary mr-4","data-id":"zxoiqwe4c","data-path":"src/pages/HarmonyRidingPage.tsx",children:["Get Involved ",l.jsx(Ve,{size:14,className:"inline ml-1.5 -mt-0.5","data-id":"6m02n7m8q","data-path":"src/pages/HarmonyRidingPage.tsx"})]}),l.jsx(B,{to:"/programs",className:"btn-outline-green","data-id":"h0n71vhq1","data-path":"src/pages/HarmonyRidingPage.tsx",children:"View All Programs"})]})]})})]})}function jT(){return l.jsxs(je,{"data-id":"9w7gs8zmd","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:[l.jsxs("section",{className:"relative min-h-[55vh] flex items-end pb-16 overflow-hidden","data-id":"mhuo5ykp4","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:[l.jsxs("div",{className:"absolute inset-0","data-id":"jioddyycv","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:[l.jsx("img",{src:"https://images.unsplash.com/photo-1598300042247-d088f8ab3a91?w=1400&q=85",alt:"Participant building confidence through equine-assisted activities",className:"w-full h-full object-cover","data-id":"axcx1wm69","data-path":"src/pages/ConfidenceInMotionPage.tsx"}),l.jsx("div",{className:"hero-overlay absolute inset-0","data-id":"rhfevme0k","data-path":"src/pages/ConfidenceInMotionPage.tsx"})]}),l.jsxs("div",{className:"relative max-w-5xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"vmferb75v","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"82gq01i5m","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:"Program — Emotional Well-Being & Confidence Building"}),l.jsx("h1",{className:"font-display text-white mb-4",style:{fontSize:"clamp(2.2rem, 4.5vw, 3.5rem)",fontWeight:800,lineHeight:1.2},"data-id":"8tlx1dns8","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:"Confidence in Motion"}),l.jsx("p",{className:"font-sans-custom text-lg",style:{color:"rgba(255,255,255,0.9)",maxWidth:"560px"},"data-id":"regy3tp7o","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:"Equine-assisted activities designed to build emotional resilience, social confidence, and a stronger sense of self for children and individuals with special needs."})]})]}),l.jsx("section",{className:"py-20",style:{backgroundColor:"#F8F4EE"},"data-id":"2wz3mkg28","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"2ou03jcs6","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:[l.jsxs("div",{className:"mb-14","data-id":"v8zilex7l","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:[l.jsx("div",{className:"label-tag mb-2","data-id":"y6zl0p2hj","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:"Program Overview"}),l.jsx("h2",{className:"section-heading mb-5","data-id":"k4fs9bi5v","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:"Where Confidence Is Built, Not Assumed"}),l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6","data-id":"mo34o4gph","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:[l.jsx("p",{className:"font-sans-custom leading-relaxed",style:{color:"#5C3D2E"},"data-id":"7foj3jkqy","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:"Confidence in Motion is Hooves for Harmony's equine-assisted learning and activity program, designed specifically to support emotional development, social growth, and confidence-building for children and individuals who face challenges in these areas. Unlike therapeutic riding, which focuses primarily on physical and therapeutic goals, Confidence in Motion centers the emotional and relational dimensions of equine interaction."}),l.jsx("p",{className:"font-sans-custom leading-relaxed",style:{color:"#5C3D2E"},"data-id":"j91cuszrg","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:"Horses are uniquely suited to this work. They respond in real time to human emotion — they sense anxiety, calm down when approached with gentleness, and reflect a participant's energy back to them in a way that creates immediate, meaningful feedback. For participants who have experienced rejection, self-doubt, or difficulty forming social connections, working alongside a horse provides an experience of genuine, non-judgmental relationship that many have never encountered."})]})]}),l.jsx("div",{className:"mb-14 grid grid-cols-1 md:grid-cols-2 gap-6","data-id":"frhjo6ssm","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:[{icon:l.jsx(xt,{size:22,"data-id":"4wuzaj1y9","data-path":"src/pages/ConfidenceInMotionPage.tsx"}),title:"Equine-Assisted Activities",desc:"Grooming, ground work, and guided horse interaction activities that build trust, focus, and emotional awareness. Participants learn to read and respond to a horse's behavior, developing self-regulation skills in the process."},{icon:l.jsx(El,{size:22,"data-id":"jt9usangr","data-path":"src/pages/ConfidenceInMotionPage.tsx"}),title:"Confidence-Building Experiences",desc:"Structured challenges and milestone celebrations designed to build genuine, earned confidence. Participants set personal goals with their instructor and experience the satisfaction of achieving them alongside their equine partner."},{icon:l.jsx(un,{size:22,"data-id":"orajngjjw","data-path":"src/pages/ConfidenceInMotionPage.tsx"}),title:"Social Interaction Opportunities",desc:"Group sessions and paired activities that create safe, supported opportunities for social engagement. Participants practice communication, cooperation, and connection in a low-pressure, high-support environment."},{icon:l.jsx(Ve,{size:22,"data-id":"20xng7ju5","data-path":"src/pages/ConfidenceInMotionPage.tsx"}),title:"Goal-Setting Activities",desc:"Each participant works with their facilitator to identify meaningful personal goals — not therapeutic outcomes imposed from outside, but goals the participant themselves articulates and pursues. Progress is celebrated openly and regularly."}].map((e,t)=>l.jsxs("div",{className:"p-6 rounded-2xl card-hover",style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"vysq0yndl","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:[l.jsx("div",{className:"w-12 h-12 rounded-full flex items-center justify-center mb-4",style:{backgroundColor:"#FDF3E7",color:"#C47D3A"},"data-id":"enmvrhzdy","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:e.icon}),l.jsx("h3",{className:"font-display font-bold text-lg mb-2",style:{color:"#2A4C25"},"data-id":"sy9rkm4dg","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:e.title}),l.jsx("p",{className:"font-sans-custom text-sm leading-relaxed",style:{color:"#5C3D2E"},"data-id":"h1j1dv47g","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:e.desc})]},t))}),l.jsxs("div",{className:"mb-14 p-8 rounded-2xl",style:{backgroundColor:"#EEF5EA"},"data-id":"q0saxrfrd","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:[l.jsx("h3",{className:"font-display font-bold text-2xl mb-6",style:{color:"#2A4C25"},"data-id":"xndfc2jrq","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:"Participant Growth Outcomes"}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3","data-id":"83bwqf2kb","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:["Measurable growth in self-reported confidence and self-esteem","Improved emotional regulation and coping strategies","Greater comfort in social settings and peer interactions","Increased ability to articulate feelings and needs","Stronger sense of personal agency and self-determination","New friendships formed within the Hooves for Harmony community","Increased willingness to try new activities and take healthy risks","Reduced anxiety around social engagement and performance"].map((e,t)=>l.jsxs("div",{className:"flex items-start gap-2.5","data-id":"3imink3qz","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:[l.jsx(un,{size:16,className:"mt-0.5 flex-shrink-0",style:{color:"#3D6B35"},"data-id":"wfzunbaxq","data-path":"src/pages/ConfidenceInMotionPage.tsx"}),l.jsx("span",{className:"font-sans-custom text-sm",style:{color:"#4A3020"},"data-id":"xi4g1e3ho","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:e})]},t))})]}),l.jsxs("div",{className:"text-center","data-id":"g8m81qy9k","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:[l.jsxs(B,{to:"/contact",className:"btn-primary mr-4","data-id":"e1vmutqn9","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:["Get Involved ",l.jsx(Ve,{size:14,className:"inline ml-1.5 -mt-0.5","data-id":"asn1cw6c6","data-path":"src/pages/ConfidenceInMotionPage.tsx"})]}),l.jsx(B,{to:"/programs",className:"btn-outline-green","data-id":"hxl9qp01d","data-path":"src/pages/ConfidenceInMotionPage.tsx",children:"View All Programs"})]})]})})]})}function kT(){return l.jsxs(je,{"data-id":"csgoduq02","data-path":"src/pages/InclusiveTrailsPage.tsx",children:[l.jsxs("section",{className:"relative min-h-[55vh] flex items-end pb-16 overflow-hidden","data-id":"v930oligr","data-path":"src/pages/InclusiveTrailsPage.tsx",children:[l.jsxs("div",{className:"absolute inset-0","data-id":"rc8wr9z8j","data-path":"src/pages/InclusiveTrailsPage.tsx",children:[l.jsx("img",{src:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1400&q=85",alt:"Community members participating in the Inclusive Trails Network outdoor event",className:"w-full h-full object-cover","data-id":"p692txnw0","data-path":"src/pages/InclusiveTrailsPage.tsx"}),l.jsx("div",{className:"hero-overlay absolute inset-0","data-id":"zmhwkls4o","data-path":"src/pages/InclusiveTrailsPage.tsx"})]}),l.jsxs("div",{className:"relative max-w-5xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"uq5aeh4ql","data-path":"src/pages/InclusiveTrailsPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"ycaqaoth1","data-path":"src/pages/InclusiveTrailsPage.tsx",children:"Program — Inclusive Community & Family Support"}),l.jsx("h1",{className:"font-display text-white mb-4",style:{fontSize:"clamp(2.2rem, 4.5vw, 3.5rem)",fontWeight:800,lineHeight:1.2},"data-id":"vu9zwme45","data-path":"src/pages/InclusiveTrailsPage.tsx",children:"Inclusive Trails Network"}),l.jsx("p",{className:"font-sans-custom text-lg",style:{color:"rgba(255,255,255,0.9)",maxWidth:"560px"},"data-id":"h07b5srj7","data-path":"src/pages/InclusiveTrailsPage.tsx",children:"Community events, family engagement, and accessible recreation that celebrate belonging for everyone — participants, families, volunteers, and neighbors alike."})]})]}),l.jsx("section",{className:"py-20",style:{backgroundColor:"#F8F4EE"},"data-id":"6zlzx5b4n","data-path":"src/pages/InclusiveTrailsPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"kehbkwwl8","data-path":"src/pages/InclusiveTrailsPage.tsx",children:[l.jsxs("div",{className:"mb-14","data-id":"k79835teu","data-path":"src/pages/InclusiveTrailsPage.tsx",children:[l.jsx("div",{className:"label-tag mb-2","data-id":"uo40v59zq","data-path":"src/pages/InclusiveTrailsPage.tsx",children:"Program Overview"}),l.jsx("h2",{className:"section-heading mb-5","data-id":"7qrvrpjxh","data-path":"src/pages/InclusiveTrailsPage.tsx",children:"A Community That Includes Everyone"}),l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6","data-id":"gsdb57x12","data-path":"src/pages/InclusiveTrailsPage.tsx",children:[l.jsx("p",{className:"font-sans-custom leading-relaxed",style:{color:"#5C3D2E"},"data-id":"zvq5pb1pg","data-path":"src/pages/InclusiveTrailsPage.tsx",children:"The Inclusive Trails Network is Hooves for Harmony's community program, built on the conviction that inclusion doesn't end at the barn door. Families of participants, community members, volunteers, and neighbors are all part of the Hooves for Harmony community — and the Inclusive Trails Network creates structured, welcoming opportunities for everyone to come together, connect, and celebrate what we share."}),l.jsx("p",{className:"font-sans-custom leading-relaxed",style:{color:"#5C3D2E"},"data-id":"6kz3ity1d","data-path":"src/pages/InclusiveTrailsPage.tsx",children:"Through community events, family engagement activities, volunteer programs, and accessibility initiatives, the Inclusive Trails Network builds the social infrastructure that supports participants and families in feeling genuinely connected — not only to our programs, but to each other and to the broader community. When participants see their families engaged, and when community members show up to celebrate inclusion, the message is clear: you belong here."})]})]}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6 mb-14","data-id":"uc6taek40","data-path":"src/pages/InclusiveTrailsPage.tsx",children:[{icon:l.jsx(xt,{size:22,"data-id":"tene38n9t","data-path":"src/pages/InclusiveTrailsPage.tsx"}),title:"Family Engagement",points:["Family orientation evenings for all new participants","Quarterly parent and caregiver education workshops","Family volunteer opportunities within the program","Peer family connections and informal support networks","Regular family progress updates and open communication"]},{icon:l.jsx(Sp,{size:22,"data-id":"3ct1eeliu","data-path":"src/pages/InclusiveTrailsPage.tsx"}),title:"Volunteer Participation",points:["120+ trained community volunteers across all programs","Specialized volunteer roles including sidewalkers and groomers","Accessible volunteer opportunities for all ability levels","Volunteer recognition events and ongoing appreciation","Partnership with local schools and community service programs"]},{icon:l.jsx(ii,{size:22,"data-id":"w68dnc6ok","data-path":"src/pages/InclusiveTrailsPage.tsx"}),title:"Community Events",points:["Annual Inclusion in Motion community celebration","Seasonal open barn days for families and neighbors","Disability awareness presentations at local schools","Community fundraising events with accessible design","Holiday and milestone celebrations for participants"]},{icon:l.jsx(un,{size:22,"data-id":"ziokaqpcu","data-path":"src/pages/InclusiveTrailsPage.tsx"}),title:"Accessibility Initiatives",points:["Scholarship funding for participants with financial need","Transportation coordination and referral support","Accessible event design for all community gatherings","Multilingual communication for diverse families","Adaptive recreation opportunities for all ability levels"]}].map((e,t)=>l.jsxs("div",{className:"p-6 rounded-2xl",style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"n61ehhud8","data-path":"src/pages/InclusiveTrailsPage.tsx",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-4","data-id":"d2l92ugxz","data-path":"src/pages/InclusiveTrailsPage.tsx",children:[l.jsx("div",{className:"w-10 h-10 rounded-full flex items-center justify-center flex-shrink-0",style:{backgroundColor:"#EEF5EA",color:"#3D6B35"},"data-id":"g6fy2yknk","data-path":"src/pages/InclusiveTrailsPage.tsx",children:e.icon}),l.jsx("h3",{className:"font-display font-bold text-lg",style:{color:"#2A4C25"},"data-id":"mefsj5y8m","data-path":"src/pages/InclusiveTrailsPage.tsx",children:e.title})]}),l.jsx("ul",{className:"space-y-2","data-id":"u7yiy2lzm","data-path":"src/pages/InclusiveTrailsPage.tsx",children:e.points.map((n,s)=>l.jsxs("li",{className:"flex items-start gap-2.5","data-id":"f0ljfoigq","data-path":"src/pages/InclusiveTrailsPage.tsx",children:[l.jsx("div",{className:"w-1.5 h-1.5 rounded-full mt-2 flex-shrink-0",style:{backgroundColor:"#C47D3A"},"data-id":"f8jy779u7","data-path":"src/pages/InclusiveTrailsPage.tsx"}),l.jsx("span",{className:"font-sans-custom text-sm",style:{color:"#5C3D2E"},"data-id":"f0vcw2yfv","data-path":"src/pages/InclusiveTrailsPage.tsx",children:n})]},s))})]},t))}),l.jsxs("div",{className:"p-8 rounded-2xl mb-12 text-center",style:{backgroundColor:"#2A4C25"},"data-id":"0aesf60zf","data-path":"src/pages/InclusiveTrailsPage.tsx",children:[l.jsx("blockquote",{className:"font-display text-xl italic",style:{color:"#F8F4EE"},"data-id":"z061xpdfk","data-path":"src/pages/InclusiveTrailsPage.tsx",children:'"Inclusion is not about fitting people with disabilities into existing communities. It is about building communities that were designed with everyone in mind."'}),l.jsx("p",{className:"font-sans-custom text-sm mt-3",style:{color:"#8FAF83"},"data-id":"5rteqjroe","data-path":"src/pages/InclusiveTrailsPage.tsx",children:"— Elena Vasquez, Executive Director"})]}),l.jsxs("div",{className:"mb-12 p-8 rounded-2xl",style:{backgroundColor:"#EEF5EA"},"data-id":"oic9fwxid","data-path":"src/pages/InclusiveTrailsPage.tsx",children:[l.jsx("h3",{className:"font-display font-bold text-2xl mb-4",style:{color:"#2A4C25"},"data-id":"jg0pnd1yl","data-path":"src/pages/InclusiveTrailsPage.tsx",children:"Inclusive Recreation Opportunities"}),l.jsx("p",{className:"font-sans-custom leading-relaxed mb-4",style:{color:"#5C3D2E"},"data-id":"ti4xqxg8w","data-path":"src/pages/InclusiveTrailsPage.tsx",children:"The Inclusive Trails Network extends the mission of Hooves for Harmony into the broader community by creating accessible recreational experiences that welcome participants of all abilities. These activities — from guided accessible trail walks to community barn days — are designed so that every person can participate fully, not simply observe."}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4","data-id":"4s2nmck8y","data-path":"src/pages/InclusiveTrailsPage.tsx",children:["Guided accessible trail walks with horses","Sensory-friendly open barn exploration","Adaptive nature photography workshops","Family picnic and activity days on-site","Horse grooming and interaction clinics","Community garden and land stewardship days"].map((e,t)=>l.jsxs("div",{className:"flex items-start gap-2.5","data-id":"rkuvxgkhx","data-path":"src/pages/InclusiveTrailsPage.tsx",children:[l.jsx(un,{size:14,className:"mt-0.5 flex-shrink-0",style:{color:"#3D6B35"},"data-id":"ennuer6mx","data-path":"src/pages/InclusiveTrailsPage.tsx"}),l.jsx("span",{className:"font-sans-custom text-sm",style:{color:"#4A3020"},"data-id":"23x63qcgx","data-path":"src/pages/InclusiveTrailsPage.tsx",children:e})]},t))})]}),l.jsxs("div",{className:"text-center","data-id":"ctm9eq4sz","data-path":"src/pages/InclusiveTrailsPage.tsx",children:[l.jsxs(B,{to:"/contact",className:"btn-primary mr-4","data-id":"8bhm9bh09","data-path":"src/pages/InclusiveTrailsPage.tsx",children:["Get Involved ",l.jsx(Ve,{size:14,className:"inline ml-1.5 -mt-0.5","data-id":"p963bnlra","data-path":"src/pages/InclusiveTrailsPage.tsx"})]}),l.jsx(B,{to:"/programs",className:"btn-outline-green","data-id":"chhx08a7i","data-path":"src/pages/InclusiveTrailsPage.tsx",children:"View All Programs"})]})]})})]})}function ST(e,t=1800,n=!1){const[s,a]=w.useState(0);return w.useEffect(()=>{if(!n)return;let r=null;const i=o=>{r||(r=o);const c=Math.min((o-r)/t,1);a(Math.floor(c*e)),c<1&&requestAnimationFrame(i)};requestAnimationFrame(i)},[e,t,n]),s}function _s({value:e,label:t,suffix:n=""}){const s=w.useRef(null),[a,r]=w.useState(!1),i=ST(e,1800,a);return w.useEffect(()=>{const o=new IntersectionObserver(([c])=>{c.isIntersecting&&r(!0)},{threshold:.3});return s.current&&o.observe(s.current),()=>o.disconnect()},[]),l.jsxs("div",{ref:s,className:"p-7 rounded-2xl text-center card-hover",style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"ajyfibqgc","data-path":"src/pages/ImpactPage.tsx",children:[l.jsxs("div",{className:"font-display text-4xl font-bold mb-2",style:{color:"#3D6B35"},"data-id":"lojgjxxg6","data-path":"src/pages/ImpactPage.tsx",children:[i.toLocaleString(),n]}),l.jsx("div",{className:"font-serif-sans text-sm font-semibold",style:{color:"#7A5C40"},"data-id":"zbowp8izk","data-path":"src/pages/ImpactPage.tsx",children:t})]})}const AT=[{role:"Participant Perspective",name:"Jordan M.",location:"Marin County, CA",image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&q=80",quote:"I joined Harmony Riding Pathways three years ago and I was nervous about everything — getting on the horse, talking to my instructor, even just being around people I didn't know. Now I look forward to my sessions every week. Riding Biscuit has taught me that I can do hard things. My instructor says I've gotten so much stronger, but honestly, the biggest change is how I feel about myself. I'm not scared to try new things anymore, on or off the horse."},{role:"Parent Perspective",name:"Rebecca T.",location:"Novato, CA",image:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=200&q=80",quote:"My son Marcus is non-speaking and has always struggled in group settings. When we found Hooves for Harmony, I honestly didn't know what to expect. Within a few months, he started initiating contact with his horse, Daisy, on his own. He started using his communication device more during sessions than he ever had at home or school. The instructors never once made me feel like Marcus's needs were a burden — they celebrated every small step with us. He has a connection with that horse that I can only describe as friendship."},{role:"Volunteer Perspective",name:"Patricia R.",location:"San Rafael, CA",image:"https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=200&q=80",quote:"I started volunteering as a sidewalker two years ago after retiring from a long career in healthcare. I thought I was coming to help, and I was — but I've gained so much more than I've given. Watching participants grow in confidence week after week, watching families exhale and relax during sessions, watching the horses respond with such gentleness — it's changed how I think about ability, connection, and community. This organization does something genuinely special, and I'm grateful to be part of it."}];function TT(){return l.jsxs(je,{"data-id":"51rucszo0","data-path":"src/pages/ImpactPage.tsx",children:[l.jsxs("section",{className:"relative py-28 overflow-hidden",style:{backgroundColor:"#2A4C25"},"data-id":"awyliokfe","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23E8A94B' fill-opacity='0.3'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`},"data-id":"q5yg1u2v4","data-path":"src/pages/ImpactPage.tsx"}),l.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center","data-id":"04yln859t","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"fqlikthr0","data-path":"src/pages/ImpactPage.tsx",children:"Our Impact"}),l.jsxs("h1",{className:"font-display text-white mb-6",style:{fontSize:"clamp(2.5rem, 5vw, 3.5rem)",fontWeight:800,lineHeight:1.2},"data-id":"0wzgapajf","data-path":"src/pages/ImpactPage.tsx",children:["Measured in Confidence,",l.jsx("br",{"data-id":"cr3kx39ti","data-path":"src/pages/ImpactPage.tsx"}),l.jsx("em",{style:{color:"#E8A94B"},"data-id":"y0xyo4u82","data-path":"src/pages/ImpactPage.tsx",children:"Not Just Numbers"})]})]})]}),l.jsx("section",{className:"py-16",style:{backgroundColor:"#F8F4EE"},"data-id":"bfrlhi6wn","data-path":"src/pages/ImpactPage.tsx",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 space-y-5","data-id":"9oqycr421","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("p",{className:"font-sans-custom leading-relaxed text-base",style:{color:"#5C3D2E"},"data-id":"fk9lur05m","data-path":"src/pages/ImpactPage.tsx",children:"Since our founding in 2008, Hooves for Harmony has grown from a small program serving 12 participants to a comprehensive equine-assisted services organization supporting hundreds of children and individuals with special needs each year. Our impact is measured not only in the number of sessions delivered, but in the confidence gained, the skills developed, and the relationships built — between participants and horses, between families and our community, and between every individual we serve and their own sense of what is possible."}),l.jsx("p",{className:"font-sans-custom leading-relaxed text-base",style:{color:"#5C3D2E"},"data-id":"uexuhsj7k","data-path":"src/pages/ImpactPage.tsx",children:"Behind every statistic on this page is a person who showed up, tried something new, and discovered a capability they may not have known they had. We track outcomes carefully — not to reduce participants to data points, but to ensure our programs are genuinely effective, to communicate our impact transparently to donors and partners, and to continuously improve the experiences we offer. The numbers below represent thousands of moments of courage, growth, and connection."})]})}),l.jsx("section",{className:"py-16",style:{backgroundColor:"#F8F4EE"},"data-id":"w9d7o29ei","data-path":"src/pages/ImpactPage.tsx",children:l.jsx("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"p54tklt78","data-path":"src/pages/ImpactPage.tsx",children:l.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-5","data-id":"qq48xraxk","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx(_s,{value:420,label:"Participants Served",suffix:"+","data-id":"fhoguq4w7","data-path":"src/pages/ImpactPage.tsx"}),l.jsx(_s,{value:8500,label:"Riding Sessions Completed",suffix:"+","data-id":"bkowe3xka","data-path":"src/pages/ImpactPage.tsx"}),l.jsx(_s,{value:14200,label:"Volunteer Hours",suffix:"+","data-id":"q7ro8kr2i","data-path":"src/pages/ImpactPage.tsx"}),l.jsx(_s,{value:310,label:"Families Engaged",suffix:"+","data-id":"0b67435fc","data-path":"src/pages/ImpactPage.tsx"}),l.jsx(_s,{value:48,label:"Inclusion Events Hosted","data-id":"vpn5uc86u","data-path":"src/pages/ImpactPage.tsx"}),l.jsx(_s,{value:1860,label:"Therapeutic Goals Achieved",suffix:"+","data-id":"s3ftvmqzp","data-path":"src/pages/ImpactPage.tsx"})]})})}),l.jsx("section",{className:"py-20",style:{backgroundColor:"white"},"data-id":"er95t7edz","data-path":"src/pages/ImpactPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"9gth63awr","data-path":"src/pages/ImpactPage.tsx",children:[l.jsxs("div",{className:"text-center mb-14","data-id":"ruywnksls","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3","data-id":"qwjklcri1","data-path":"src/pages/ImpactPage.tsx",children:"Success Stories"}),l.jsx("h2",{className:"section-heading mb-4","data-id":"bh7lmu3or","data-path":"src/pages/ImpactPage.tsx",children:"Stories of Growth and Connection"})]}),l.jsx("div",{className:"space-y-8","data-id":"tp0to3mts","data-path":"src/pages/ImpactPage.tsx",children:AT.map((e,t)=>l.jsxs("div",{className:"flex flex-col sm:flex-row gap-6 p-7 rounded-2xl",style:{backgroundColor:"#F8F4EE",border:"1px solid #EDE7DC"},"data-id":"f1b0mgm1f","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("img",{src:e.image,alt:e.name,className:"w-20 h-20 rounded-2xl object-cover flex-shrink-0","data-id":"rlczx7job","data-path":"src/pages/ImpactPage.tsx"}),l.jsxs("div",{"data-id":"vyqpxlghj","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("div",{className:"flex items-center gap-1 mb-2","data-id":"yr41y6o81","data-path":"src/pages/ImpactPage.tsx",children:[1,2,3,4,5].map(n=>l.jsx(El,{size:13,fill:"#E8A94B",style:{color:"#E8A94B"},"data-id":"w1allhbn1","data-path":"src/pages/ImpactPage.tsx"},n))}),l.jsx("div",{className:"label-tag mb-1","data-id":"qxbat2rsc","data-path":"src/pages/ImpactPage.tsx",children:e.role}),l.jsxs("blockquote",{className:"font-sans-custom text-sm leading-relaxed italic mb-3",style:{color:"#5C3D2E"},"data-id":"s3esburf5","data-path":"src/pages/ImpactPage.tsx",children:['"',e.quote,'"']}),l.jsxs("div",{className:"font-serif-sans font-bold text-sm",style:{color:"#2A4C25"},"data-id":"de2ylqq2m","data-path":"src/pages/ImpactPage.tsx",children:[e.name," ",l.jsxs("span",{style:{color:"#8FAF83",fontWeight:400},"data-id":"b5r5n1yc3","data-path":"src/pages/ImpactPage.tsx",children:["· ",e.location]})]})]})]},t))})]})}),l.jsx("section",{className:"py-20",style:{background:"linear-gradient(135deg, #2A4C25 0%, #3D6B35 100%)"},"data-id":"t9wc9hcmh","data-path":"src/pages/ImpactPage.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 text-center","data-id":"w8zjxze2t","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx("h2",{className:"font-display text-white mb-5",style:{fontSize:"clamp(1.8rem, 3.5vw, 2.5rem)",fontWeight:700},"data-id":"n5evxrx39","data-path":"src/pages/ImpactPage.tsx",children:"Help Us Reach Even More Participants"}),l.jsx("p",{className:"font-sans-custom text-lg mb-8",style:{color:"#C5DAC0"},"data-id":"rs9sfgdpj","data-path":"src/pages/ImpactPage.tsx",children:"Every dollar donated and every hour volunteered directly expands our capacity to serve."}),l.jsxs(B,{to:"/donate",className:"btn-amber","data-id":"usadd2dv5","data-path":"src/pages/ImpactPage.tsx",children:[l.jsx(xt,{size:16,className:"inline mr-2 -mt-0.5","data-id":"2900t9oc1","data-path":"src/pages/ImpactPage.tsx"}),"Support Our Work"]})]})})]})}const NT=[{title:"Horse Care",desc:"Feeding, veterinary care, farrier visits, and shelter for our therapy horses who make every session possible."},{title:"Adaptive Equipment",desc:"Specialized saddles, mounting ramps, and adaptive tack that make riding accessible to participants of all abilities."},{title:"Therapeutic Riding Sessions",desc:"Certified instructor time, session planning, and one-on-one support for every participant who walks through our gates."},{title:"Accessibility Improvements",desc:"Facility upgrades including accessible pathways, sensory-friendly spaces, and ADA-compliant restrooms and parking."},{title:"Participant Scholarships",desc:"Financial assistance ensuring that no family is turned away from our programs due to inability to pay."},{title:"Volunteer Training",desc:"Comprehensive, dignity-centered training programs that prepare our 120+ volunteers to support participants safely and respectfully."}],Rm=[{icon:l.jsx(xt,{size:26,"data-id":"pa6lwqsli","data-path":"src/pages/DonatePage.tsx"}),title:"One-Time Donation",desc:"Make an immediate impact with a single contribution of any amount, supporting our programs right away."},{icon:l.jsx(ii,{size:26,"data-id":"j33v9azpe","data-path":"src/pages/DonatePage.tsx"}),title:"Monthly Supporter",desc:"Join our sustaining donor community with a recurring monthly gift that provides reliable, ongoing support.",featured:!0},{icon:l.jsx($2,{size:26,"data-id":"ba2q91555","data-path":"src/pages/DonatePage.tsx"}),title:"Sponsor Harmony Riding Pathways",desc:"Fund a full season of therapeutic riding sessions for a participant, directly underwriting their access to our flagship program."}];function RT(){const[e,t]=w.useState(1),[n,s]=w.useState("75"),a=()=>{Vo({title:"Thank you for your generosity!",description:`Your ${Rm[e].title} of $${n} helps expand access to therapeutic equine-assisted services.`})};return l.jsxs(je,{"data-id":"377l5olsh","data-path":"src/pages/DonatePage.tsx",children:[l.jsxs("section",{className:"relative py-28 overflow-hidden",style:{backgroundColor:"#2A4C25"},"data-id":"ue1zqhrk1","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23E8A94B' fill-opacity='0.3'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`},"data-id":"6nulrsnhg","data-path":"src/pages/DonatePage.tsx"}),l.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center","data-id":"uuj5qba5i","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"c5anj90ji","data-path":"src/pages/DonatePage.tsx",children:"Donate"}),l.jsxs("h1",{className:"font-display text-white mb-6",style:{fontSize:"clamp(2.5rem, 5vw, 3.5rem)",fontWeight:800,lineHeight:1.2},"data-id":"fhz9lba7h","data-path":"src/pages/DonatePage.tsx",children:["Your Gift Builds",l.jsx("br",{"data-id":"rlmkt5qeu","data-path":"src/pages/DonatePage.tsx"}),l.jsx("em",{style:{color:"#E8A94B"},"data-id":"9suyrtui5","data-path":"src/pages/DonatePage.tsx",children:"Confidence"})]}),l.jsx("p",{className:"font-sans-custom text-lg",style:{color:"#C5DAC0",maxWidth:"560px",margin:"0 auto"},"data-id":"uphu7eqdj","data-path":"src/pages/DonatePage.tsx",children:"Every contribution directly expands access to therapeutic horseback riding and equine-assisted opportunities."})]})]}),l.jsx("section",{className:"py-20",style:{backgroundColor:"#F8F4EE"},"data-id":"z5u8e6431","data-path":"src/pages/DonatePage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"tjo0s5ex9","data-path":"src/pages/DonatePage.tsx",children:[l.jsxs("div",{className:"text-center mb-12","data-id":"j8sdsl6k9","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("div",{className:"label-tag mb-3","data-id":"67uhhv327","data-path":"src/pages/DonatePage.tsx",children:"Why Donate"}),l.jsx("h2",{className:"section-heading mb-4","data-id":"mfv34g2z6","data-path":"src/pages/DonatePage.tsx",children:"How Your Support Makes a Difference"})]}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5 mb-16","data-id":"wcdl2j7a5","data-path":"src/pages/DonatePage.tsx",children:NT.map((r,i)=>l.jsxs("div",{className:"p-6 rounded-2xl",style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"262c038uj","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("h3",{className:"font-display font-bold text-base mb-2",style:{color:"#2A4C25"},"data-id":"6lq91uq19","data-path":"src/pages/DonatePage.tsx",children:r.title}),l.jsx("p",{className:"font-sans-custom text-sm leading-relaxed",style:{color:"#5C3D2E"},"data-id":"kxzhnwwr3","data-path":"src/pages/DonatePage.tsx",children:r.desc})]},i))}),l.jsxs("div",{className:"mb-12","data-id":"jg7nyio4c","data-path":"src/pages/DonatePage.tsx",children:[l.jsxs("div",{className:"text-center mb-10","data-id":"qgpcis1s4","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("div",{className:"label-tag mb-3","data-id":"rxv5385gc","data-path":"src/pages/DonatePage.tsx",children:"Choose Your Impact"}),l.jsx("h2",{className:"section-heading","data-id":"zx4u464aw","data-path":"src/pages/DonatePage.tsx",children:"Donation Options"})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6","data-id":"kzg3ldgv8","data-path":"src/pages/DonatePage.tsx",children:Rm.map((r,i)=>l.jsxs("button",{onClick:()=>t(i),className:"text-left p-7 rounded-2xl transition-all relative",style:{backgroundColor:e===i?"#2A4C25":"white",border:e===i?"2px solid #E8A94B":"1px solid #EDE7DC",transform:e===i?"translateY(-4px)":"none",boxShadow:e===i?"0 12px 30px rgba(42,76,37,0.25)":"none"},"data-id":"i3wmhr3kt","data-path":"src/pages/DonatePage.tsx",children:[r.featured&&l.jsx("div",{className:"absolute -top-3 right-5 px-3 py-1 rounded-full text-xs font-serif-sans font-bold",style:{backgroundColor:"#C47D3A",color:"white"},"data-id":"vnq05lxkb","data-path":"src/pages/DonatePage.tsx",children:"Most Popular"}),l.jsx("div",{className:"w-12 h-12 rounded-full flex items-center justify-center mb-4",style:{backgroundColor:e===i?"rgba(232,169,75,0.15)":"#EEF5EA",color:e===i?"#E8A94B":"#3D6B35"},"data-id":"jajp0rc7n","data-path":"src/pages/DonatePage.tsx",children:r.icon}),l.jsx("h3",{className:"font-display font-bold text-lg mb-2",style:{color:e===i?"white":"#2A4C25"},"data-id":"y9ja7rmll","data-path":"src/pages/DonatePage.tsx",children:r.title}),l.jsx("p",{className:"font-sans-custom text-sm leading-relaxed",style:{color:e===i?"#C5DAC0":"#5C3D2E"},"data-id":"jzjvdpha3","data-path":"src/pages/DonatePage.tsx",children:r.desc}),e===i&&l.jsxs("div",{className:"mt-4 flex items-center gap-1.5 text-xs font-serif-sans font-bold",style:{color:"#E8A94B"},"data-id":"gs2s7e9bm","data-path":"src/pages/DonatePage.tsx",children:[l.jsx(G2,{size:14,"data-id":"kz00afp6v","data-path":"src/pages/DonatePage.tsx"})," Selected"]})]},i))})]}),l.jsxs("div",{className:"max-w-lg mx-auto mb-12 p-8 rounded-2xl",style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"qy8zij3qy","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("label",{className:"font-serif-sans font-bold text-sm mb-3 block",style:{color:"#2A4C25"},"data-id":"u1jbifsg7","data-path":"src/pages/DonatePage.tsx",children:"Select an amount"}),l.jsx("div",{className:"grid grid-cols-4 gap-2 mb-4","data-id":"btqsdcjbp","data-path":"src/pages/DonatePage.tsx",children:["25","50","75","150"].map(r=>l.jsxs("button",{onClick:()=>s(r),className:"py-2.5 rounded-lg font-serif-sans font-semibold text-sm transition-all",style:{backgroundColor:n===r?"#3D6B35":"#F8F4EE",color:n===r?"white":"#4A3020",border:n===r?"none":"1px solid #EDE7DC"},"data-id":"sb2g9a369","data-path":"src/pages/DonatePage.tsx",children:["$",r]},r))}),l.jsxs("div",{className:"relative","data-id":"v7ggu8xab","data-path":"src/pages/DonatePage.tsx",children:[l.jsx("span",{className:"absolute left-4 top-1/2 -translate-y-1/2 font-serif-sans font-semibold",style:{color:"#7A5C40"},"data-id":"02mt9k24h","data-path":"src/pages/DonatePage.tsx",children:"$"}),l.jsx("input",{type:"number",value:n,onChange:r=>s(r.target.value),className:"w-full pl-8 pr-4 py-3 rounded-lg font-sans-custom",style:{border:"1px solid #EDE7DC",color:"#4A3020"},min:"1","data-id":"qp7jaw2oh","data-path":"src/pages/DonatePage.tsx"})]}),l.jsxs("button",{onClick:a,className:"btn-amber w-full mt-5 text-center","data-id":"v32fnc2c5","data-path":"src/pages/DonatePage.tsx",children:[l.jsx(xt,{size:16,className:"inline mr-2 -mt-0.5","data-id":"vlk53pw12","data-path":"src/pages/DonatePage.tsx"}),"Proceed to Donate"]})]}),l.jsx("div",{className:"p-8 rounded-2xl mb-8",style:{backgroundColor:"#EEF5EA",border:"1px solid #C5DAC0"},"data-id":"cyej8cgkn","data-path":"src/pages/DonatePage.tsx",children:l.jsx("p",{className:"font-sans-custom leading-relaxed text-sm italic",style:{color:"#3D6B35"},"data-id":"gtolawmjm","data-path":"src/pages/DonatePage.tsx",children:`"Your donation directly supports HOOVES FOR HARMONY INC's mission: Hooves for Harmony is dedicated to providing therapeutic horseback riding and equine-assisted activities for children and individuals with special needs. The organization promotes physical, emotional, and social development through horse-related programs, fostering confidence, independence, and well-being while creating meaningful opportunities for participants to improve their quality of life. Together, we can create lasting change."`})}),l.jsx("div",{className:"text-center p-6 rounded-xl",style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"5i3use2my","data-path":"src/pages/DonatePage.tsx",children:l.jsx("p",{className:"font-sans-custom text-sm",style:{color:"#7A5C40"},"data-id":"qhuugqalt","data-path":"src/pages/DonatePage.tsx",children:"HOOVES FOR HARMONY INC is a registered nonprofit organization (Registration No: 74-3126616). Donations may be tax-deductible as permitted by applicable laws."})})]})})]})}const DT=[{slug:"benefits-of-equine-assisted-activities",title:"The Benefits of Equine-Assisted Activities for Personal Growth",date:"March 12, 2026",category:"Confidence & Emotional Growth",image:"https://images.unsplash.com/photo-1598300042247-d088f8ab3a91?w=700&q=80",excerpt:"Equine-assisted activities offer a unique pathway to confidence, emotional well-being, and social connection. Here's why horses make such extraordinary partners in personal growth."},{slug:"creating-inclusive-communities-accessible-recreation",title:"Creating More Inclusive Communities Through Accessible Recreation",date:"January 28, 2026",category:"Inclusive Community & Family Support",image:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=700&q=80",excerpt:"Accessible recreation is about more than ramps and parking spaces. It's about designing experiences that welcome, celebrate, and include every person — especially those with disabilities."}];function MT(){return l.jsxs(je,{"data-id":"6xuh2rii2","data-path":"src/pages/BlogPage.tsx",children:[l.jsxs("section",{className:"relative py-28 overflow-hidden",style:{backgroundColor:"#2A4C25"},"data-id":"8kpgn6igp","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23E8A94B' fill-opacity='0.3'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`},"data-id":"1lmvgai8p","data-path":"src/pages/BlogPage.tsx"}),l.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center","data-id":"ldmcbaau4","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"r4ma0lq5z","data-path":"src/pages/BlogPage.tsx",children:"Blog"}),l.jsxs("h1",{className:"font-display text-white mb-6",style:{fontSize:"clamp(2.5rem, 5vw, 3.5rem)",fontWeight:800,lineHeight:1.2},"data-id":"yswzcyyt7","data-path":"src/pages/BlogPage.tsx",children:["Education, Advocacy,",l.jsx("br",{"data-id":"yg4v3cyyv","data-path":"src/pages/BlogPage.tsx"}),l.jsx("em",{style:{color:"#E8A94B"},"data-id":"dny5klzg2","data-path":"src/pages/BlogPage.tsx",children:"& Community"})]})]})]}),l.jsx("section",{className:"py-20",style:{backgroundColor:"#F8F4EE"},"data-id":"pjd737wuk","data-path":"src/pages/BlogPage.tsx",children:l.jsx("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"un2z7u7m4","data-path":"src/pages/BlogPage.tsx",children:l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8","data-id":"xdeuftlmg","data-path":"src/pages/BlogPage.tsx",children:DT.map(e=>l.jsxs("div",{className:"bg-white rounded-2xl overflow-hidden shadow-sm card-hover",style:{border:"1px solid #EDE7DC"},"data-id":"3a5bxfa5r","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("div",{className:"overflow-hidden",style:{height:"220px"},"data-id":"i20znqfiy","data-path":"src/pages/BlogPage.tsx",children:l.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover transition-transform duration-500 hover:scale-105","data-id":"va7zacj1s","data-path":"src/pages/BlogPage.tsx"})}),l.jsxs("div",{className:"p-7","data-id":"yplnpk7fc","data-path":"src/pages/BlogPage.tsx",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-3","data-id":"e73fqq61p","data-path":"src/pages/BlogPage.tsx",children:[l.jsx("span",{className:"label-tag","data-id":"16sb9gjg6","data-path":"src/pages/BlogPage.tsx",children:e.category}),l.jsx("span",{style:{color:"#C5DAC0"},"data-id":"mmxudplg0","data-path":"src/pages/BlogPage.tsx",children:"·"}),l.jsxs("span",{className:"flex items-center gap-1 text-xs font-sans-custom",style:{color:"#8FAF83"},"data-id":"v5kkxaari","data-path":"src/pages/BlogPage.tsx",children:[l.jsx(ii,{size:12,"data-id":"c5qgvt7qq","data-path":"src/pages/BlogPage.tsx"}),e.date]})]}),l.jsx("h2",{className:"font-display font-bold text-xl mb-3 leading-tight",style:{color:"#2A4C25"},"data-id":"qsqe7wni7","data-path":"src/pages/BlogPage.tsx",children:e.title}),l.jsx("p",{className:"font-sans-custom text-sm leading-relaxed mb-5",style:{color:"#5C3D2E"},"data-id":"070ffjsoh","data-path":"src/pages/BlogPage.tsx",children:e.excerpt}),l.jsxs(B,{to:`/blog/${e.slug}`,className:"btn-outline-green text-sm py-2 px-4","data-id":"xva84gnk4","data-path":"src/pages/BlogPage.tsx",children:["Read Article",l.jsx(Ve,{size:14,className:"inline ml-1.5 -mt-0.5","data-id":"6yi9xah2n","data-path":"src/pages/BlogPage.tsx"})]})]})]},e.slug))})})})]})}function OT(){return l.jsxs(je,{"data-id":"84x1x74t5","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx("section",{className:"relative py-28 overflow-hidden",style:{backgroundColor:"#2A4C25"},"data-id":"x29z7wms9","data-path":"src/pages/BlogArticle1Page.tsx",children:l.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"eo2kn53va","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsxs(B,{to:"/blog",className:"flex items-center gap-2 text-sm font-sans-custom mb-6 hover:text-[#E8A94B] transition-colors",style:{color:"#8FAF83"},"data-id":"9e6na9tb9","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx(Hv,{size:14,"data-id":"vtd0yqcfb","data-path":"src/pages/BlogArticle1Page.tsx"})," Back to Blog"]}),l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"4kh8iusvc","data-path":"src/pages/BlogArticle1Page.tsx",children:"Confidence & Emotional Growth"}),l.jsx("h1",{className:"font-display text-white mb-4",style:{fontSize:"clamp(2rem, 4.5vw, 3rem)",fontWeight:800,lineHeight:1.2},"data-id":"185fhtog9","data-path":"src/pages/BlogArticle1Page.tsx",children:"The Benefits of Equine-Assisted Activities for Personal Growth"}),l.jsxs("div",{className:"flex items-center gap-2 font-sans-custom text-sm",style:{color:"#8FAF83"},"data-id":"owku2p04b","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx(ii,{size:14,"data-id":"qsjq42124","data-path":"src/pages/BlogArticle1Page.tsx"})," March 12, 2026"]})]})}),l.jsx("section",{className:"py-16",style:{backgroundColor:"#F8F4EE"},"data-id":"kh3fr8w37","data-path":"src/pages/BlogArticle1Page.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"en97cyva5","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx("img",{src:"https://images.unsplash.com/photo-1598300042247-d088f8ab3a91?w=900&q=80",alt:"Person engaged in equine-assisted learning activity with a horse",className:"w-full rounded-2xl object-cover mb-12 shadow-lg",style:{height:"380px"},"data-id":"6hggtigyv","data-path":"src/pages/BlogArticle1Page.tsx"}),l.jsxs("div",{className:"prose-h4h space-y-6 font-sans-custom text-base leading-relaxed",style:{color:"#4A3020"},"data-id":"vlav5mv26","data-path":"src/pages/BlogArticle1Page.tsx",children:[l.jsx("p",{"data-id":"cxzhgj0p9","data-path":"src/pages/BlogArticle1Page.tsx",children:`There is a moment — familiar to any therapeutic riding instructor, equine-assisted learning facilitator, or parent who has watched from the fence — when something shifts. A child who arrived quiet and withdrawn looks up from a horse's neck and smiles. A teenager who has spent years navigating a world that rarely feels designed for them holds the reins and says, simply, "I want to do that again." This is the quiet, unmistakable power of equine-assisted activities, and it is the engine behind everything we do at Hooves for Harmony.`}),l.jsx("h2",{className:"font-display text-2xl font-bold mt-8",style:{color:"#2A4C25"},"data-id":"sbiocnoge","data-path":"src/pages/BlogArticle1Page.tsx",children:"Building Confidence from the Ground Up"}),l.jsx("p",{"data-id":"t7b1zv9c8","data-path":"src/pages/BlogArticle1Page.tsx",children:"Confidence is not given — it is built, moment by moment, through experiences of success, persistence, and supported risk-taking. For children and individuals with special needs who have encountered many environments where they are positioned as recipients of help rather than agents of their own lives, the barn offers something fundamentally different. In equine-assisted activities, participants are the ones making decisions — about how to approach the horse, how to guide it, how to respond when something unexpected happens. The horse responds to them. That relationship of mutual response is, at its core, confidence-building."}),l.jsx("p",{"data-id":"dkeollg1j","data-path":"src/pages/BlogArticle1Page.tsx",children:"Research supports what we observe every week at our facility. Studies in therapeutic horsemanship consistently show that participants in equine-assisted activities report increased self-esteem, greater willingness to engage in new challenges, and a stronger sense of personal agency. For children with autism, intellectual disabilities, or emotional and behavioral support needs, these are not abstract outcomes — they are the daily building blocks of a fuller, more independent life."}),l.jsx("h2",{className:"font-display text-2xl font-bold mt-8",style:{color:"#2A4C25"},"data-id":"hcnm8rru5","data-path":"src/pages/BlogArticle1Page.tsx",children:"Emotional Well-Being and the Horse as Partner"}),l.jsx("p",{"data-id":"u9hgw2swf","data-path":"src/pages/BlogArticle1Page.tsx",children:"Horses are extraordinarily sensitive to human emotional states. They are prey animals who have evolved over millennia to read subtle shifts in body language, energy, and intention — and they respond to these signals with complete honesty. When a participant approaches a horse while anxious and distracted, the horse notices. When they take a breath, slow down, and arrive in the present moment, the horse notices that too. This immediacy of feedback — non-verbal, non-judgmental, and entirely real — creates a unique environment for emotional learning."}),l.jsx("p",{"data-id":"aeen9dme7","data-path":"src/pages/BlogArticle1Page.tsx",children:"For participants who struggle to identify or regulate their own emotional states, the horse becomes a kind of external mirror. Learning to calm oneself in order to build trust with an animal teaches emotional regulation strategies that transfer far beyond the barn. Many families report that the breathing techniques and grounding practices participants learn during equine sessions show up in classrooms, medical appointments, and other high-stress situations. The horse doesn't know it is teaching self-regulation — it is simply responding to what it feels. That honesty is its gift."}),l.jsx("h2",{className:"font-display text-2xl font-bold mt-8",style:{color:"#2A4C25"},"data-id":"4h8xlo0be","data-path":"src/pages/BlogArticle1Page.tsx",children:"Social Participation and Connection"}),l.jsx("p",{"data-id":"x4c60t3xi","data-path":"src/pages/BlogArticle1Page.tsx",children:"Social connection is among the most fundamental of human needs, and it is one of the areas most frequently impacted by disability-related challenges. Many of the children and individuals who come to Hooves for Harmony have experienced social environments as confusing, overwhelming, or unwelcoming. Group equine activities offer a different kind of social structure — one organized around a shared focus (the horse and the activity), clear roles, and an affirming environment where every person's contribution is valued."}),l.jsx("p",{"data-id":"hlgkurnl7","data-path":"src/pages/BlogArticle1Page.tsx",children:"Participants in our group programs form genuine friendships. They celebrate each other's milestones with authentic enthusiasm. They practice the social skills — listening, taking turns, offering encouragement, navigating disagreement — that matter in every relationship. And they do all of this in an environment where their individual strengths are visible and valued, rather than measured against a neurotypical standard."}),l.jsx("h2",{className:"font-display text-2xl font-bold mt-8",style:{color:"#2A4C25"},"data-id":"24qxayqhq","data-path":"src/pages/BlogArticle1Page.tsx",children:"Therapeutic Relationships: Horse, Participant, and Staff"}),l.jsx("p",{"data-id":"4yvcq2o3d","data-path":"src/pages/BlogArticle1Page.tsx",children:"The therapeutic power of equine-assisted activities does not reside in the horse alone. It emerges from a network of relationships: between participant and horse, between participant and certified instructor, between the participant and our broader community. Our instructors are trained not only in equine horsemanship and adaptive riding techniques, but in building genuine, respectful therapeutic relationships with each person they serve. They hold high expectations, adapt their approach to individual needs, and celebrate progress at every scale."}),l.jsx("h2",{className:"font-display text-2xl font-bold mt-8",style:{color:"#2A4C25"},"data-id":"szshikzcc","data-path":"src/pages/BlogArticle1Page.tsx",children:"Inclusive Opportunities for All"}),l.jsx("p",{"data-id":"pbf9ivfbr","data-path":"src/pages/BlogArticle1Page.tsx",children:"One of the most important things we have learned in our years of service is that the benefits of equine-assisted activities are not reserved for any particular diagnosis, age group, or ability level. From young children working on sensory integration to adults managing chronic conditions or neurological changes, the horse offers something different to every person who approaches with openness. Our programs are designed to meet participants where they are — not where we assume they should be. The result is an inclusive environment where personal growth is the universal language, and where every milestone, however small it may appear from the outside, is recognized as the genuine achievement it is."}),l.jsx("div",{className:"mt-10 p-6 rounded-2xl",style:{backgroundColor:"#EEF5EA",borderLeft:"4px solid #3D6B35"},"data-id":"1okkmlu07","data-path":"src/pages/BlogArticle1Page.tsx",children:l.jsxs("p",{className:"font-sans-custom text-sm italic",style:{color:"#3D6B35"},"data-id":"k2viop7zc","data-path":"src/pages/BlogArticle1Page.tsx",children:["Interested in learning more about our equine-assisted programs? ",l.jsx(B,{to:"/programs",style:{color:"#C47D3A",fontWeight:600},"data-id":"fp29jv6cg","data-path":"src/pages/BlogArticle1Page.tsx",children:"Explore our programs"})," or ",l.jsx(B,{to:"/contact",style:{color:"#C47D3A",fontWeight:600},"data-id":"367yr5bah","data-path":"src/pages/BlogArticle1Page.tsx",children:"contact our team"})," to discuss how Hooves for Harmony can support your participant."]})})]})]})})]})}function IT(){return l.jsxs(je,{"data-id":"jnc1py2ta","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx("section",{className:"relative py-28 overflow-hidden",style:{backgroundColor:"#2A4C25"},"data-id":"qa4n7qcjz","data-path":"src/pages/BlogArticle2Page.tsx",children:l.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"e8gw5n731","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsxs(B,{to:"/blog",className:"flex items-center gap-2 text-sm font-sans-custom mb-6 hover:text-[#E8A94B] transition-colors",style:{color:"#8FAF83"},"data-id":"ctmagrm2l","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx(Hv,{size:14,"data-id":"u5gxuetip","data-path":"src/pages/BlogArticle2Page.tsx"})," Back to Blog"]}),l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"ldgxz7h49","data-path":"src/pages/BlogArticle2Page.tsx",children:"Inclusive Community & Family Support"}),l.jsx("h1",{className:"font-display text-white mb-4",style:{fontSize:"clamp(2rem, 4.5vw, 3rem)",fontWeight:800,lineHeight:1.2},"data-id":"gru1a8ula","data-path":"src/pages/BlogArticle2Page.tsx",children:"Creating More Inclusive Communities Through Accessible Recreation"}),l.jsxs("div",{className:"flex items-center gap-2 font-sans-custom text-sm",style:{color:"#8FAF83"},"data-id":"dqtle9k2c","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx(ii,{size:14,"data-id":"k3g67duoj","data-path":"src/pages/BlogArticle2Page.tsx"})," January 28, 2026"]})]})}),l.jsx("section",{className:"py-16",style:{backgroundColor:"#F8F4EE"},"data-id":"fz4nen1nw","data-path":"src/pages/BlogArticle2Page.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"8wigganid","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx("img",{src:"https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=900&q=80",alt:"Community members participating in inclusive outdoor recreation activities",className:"w-full rounded-2xl object-cover mb-12 shadow-lg",style:{height:"380px"},"data-id":"ibwbcmt7p","data-path":"src/pages/BlogArticle2Page.tsx"}),l.jsxs("div",{className:"prose-h4h space-y-6 font-sans-custom text-base leading-relaxed",style:{color:"#4A3020"},"data-id":"p2meef3ie","data-path":"src/pages/BlogArticle2Page.tsx",children:[l.jsx("p",{"data-id":"ovd0ocal1","data-path":"src/pages/BlogArticle2Page.tsx",children:"When communities talk about making recreation accessible, the conversation often focuses on the physical: ramps, adaptive equipment, parking spaces, and pathway widths. These things matter enormously. But accessible recreation requires more than infrastructure. It requires a fundamental shift in how we design, deliver, and think about community spaces — one that begins with the assumption that every person belongs, and works outward from there. This is the design principle behind Hooves for Harmony's Inclusive Trails Network, and it is increasingly the standard toward which all inclusive recreation programs should aspire."}),l.jsx("h2",{className:"font-display text-2xl font-bold mt-8",style:{color:"#2A4C25"},"data-id":"ugk8n9v2o","data-path":"src/pages/BlogArticle2Page.tsx",children:"Accessibility Beyond Compliance"}),l.jsx("p",{"data-id":"0z7cjmrup","data-path":"src/pages/BlogArticle2Page.tsx",children:'Meeting ADA compliance standards is a legal floor, not an aspirational ceiling. True accessibility means designing experiences with full participation as the goal — not participation on modified terms, and not observation in lieu of engagement. For people with disabilities, the difference between "technically accessible" and "genuinely welcoming" is vivid and daily. A trail that has an accessible entrance but no accessible rest areas, signage that assumes literacy without offering alternatives, or a community event where the accessible seating is separated from the main gathering — all of these are legal but exclusionary.'}),l.jsx("p",{"data-id":"yf2i0l760","data-path":"src/pages/BlogArticle2Page.tsx",children:'At Hooves for Harmony, we design our community events and programs by asking not "have we met the minimum requirements?" but "can every person who wants to participate do so fully?" This sometimes requires extra planning, additional resources, and ongoing consultation with the disability community. It always requires listening — to participants, to families, and to the direct service staff who understand needs in the most immediate and specific way.'}),l.jsx("h2",{className:"font-display text-2xl font-bold mt-8",style:{color:"#2A4C25"},"data-id":"o9zste1sr","data-path":"src/pages/BlogArticle2Page.tsx",children:"Community Participation as a Right"}),l.jsx("p",{"data-id":"lzq68qzav","data-path":"src/pages/BlogArticle2Page.tsx",children:"The right to participate in community recreation — to enjoy public parks, to attend community events, to engage in leisure activities of one's own choosing — is a right that belongs to every person. Yet for many individuals with disabilities, this right is routinely constrained by barriers that are rarely experienced by people without disabilities: inaccessible transportation, sensory-overwhelming environments, programs that don't offer adaptive participation options, and social dynamics that make people feel unwelcome even when doors are technically open."}),l.jsx("p",{"data-id":"42dmeed31","data-path":"src/pages/BlogArticle2Page.tsx",children:"Addressing these barriers is not only a matter of individual accommodation. It is a matter of community health. Communities where every member can participate are healthier, more cohesive, and more resilient than those where participation is stratified by ability. The benefits of inclusion flow in multiple directions: participants with disabilities gain access to community, belonging, and leisure. Community members without disabilities gain perspective, relationship, and the particular kind of social richness that comes from sharing space with people who navigate the world differently than they do."}),l.jsx("h2",{className:"font-display text-2xl font-bold mt-8",style:{color:"#2A4C25"},"data-id":"tk9gxev6q","data-path":"src/pages/BlogArticle2Page.tsx",children:"Family Engagement as Community Building"}),l.jsx("p",{"data-id":"ts04su20c","data-path":"src/pages/BlogArticle2Page.tsx",children:"For families of children with disabilities, community inclusion is often an aspiration shadowed by exhaustion. Navigating systems, advocating for services, and managing the emotional labor of raising a child with a disability leaves limited bandwidth for building community relationships. Programs like the Inclusive Trails Network are designed with this reality in mind. By creating accessible, welcoming community spaces — where families are invited not just to bring their child, but to participate themselves — we reduce the isolation that many families of children with disabilities experience, and build the kind of cross-family relationships that provide practical support, shared advocacy, and genuine friendship."}),l.jsx("h2",{className:"font-display text-2xl font-bold mt-8",style:{color:"#2A4C25"},"data-id":"8qrlr4fb5","data-path":"src/pages/BlogArticle2Page.tsx",children:"Inclusive Programming That Goes the Distance"}),l.jsx("p",{"data-id":"gfydlhjm9","data-path":"src/pages/BlogArticle2Page.tsx",children:"Inclusion as a value requires ongoing institutional commitment. A one-time accessible event does not constitute an inclusive community. What does constitute an inclusive community is a sustained commitment to designing programs, hiring staff, training volunteers, and allocating resources in ways that keep accessibility at the center. It means funding the positions — like our Family Engagement Manager — that build the human relationships inclusion depends on. It means investing in staff training not as a one-time onboarding event, but as an ongoing professional development priority. And it means listening, continuously, to the people most directly impacted by inclusion gaps, and taking what they say seriously."}),l.jsx("h2",{className:"font-display text-2xl font-bold mt-8",style:{color:"#2A4C25"},"data-id":"6f0djzoq4","data-path":"src/pages/BlogArticle2Page.tsx",children:"Long-Term Outcomes: What Inclusion Builds"}),l.jsx("p",{"data-id":"39y8vgazs","data-path":"src/pages/BlogArticle2Page.tsx",children:"The outcomes of genuine, sustained community inclusion extend far beyond any individual program cycle. When children and individuals with disabilities participate in community recreation — when they see themselves as members of a community, not as guests or exceptions — they develop the social identity, the community ties, and the practical navigation skills that support lifelong independence and well-being. When communities practice inclusive design, they build the social infrastructure — the norms, the relationships, the institutional practices — that make inclusion more natural and less exceptional over time. The goal is a world where designing for accessibility is the default, where every community event is planned with full participation in mind, and where the presence of people with disabilities in every corner of community life is expected and welcomed. We are building toward that world, one session, one event, and one relationship at a time."}),l.jsx("div",{className:"mt-10 p-6 rounded-2xl",style:{backgroundColor:"#EEF5EA",borderLeft:"4px solid #3D6B35"},"data-id":"sg2ki2v0w","data-path":"src/pages/BlogArticle2Page.tsx",children:l.jsxs("p",{className:"font-sans-custom text-sm italic",style:{color:"#3D6B35"},"data-id":"53qiyuq8g","data-path":"src/pages/BlogArticle2Page.tsx",children:["Learn more about the Inclusive Trails Network and how to get involved: ",l.jsx(B,{to:"/programs/inclusive-trails-network",style:{color:"#C47D3A",fontWeight:600},"data-id":"lyqqjg6s7","data-path":"src/pages/BlogArticle2Page.tsx",children:"explore the program"})," or ",l.jsx(B,{to:"/contact",style:{color:"#C47D3A",fontWeight:600},"data-id":"xuhjem2xi","data-path":"src/pages/BlogArticle2Page.tsx",children:"reach out to our team"}),"."]})})]})]})})]})}function FT(){const[e,t]=w.useState({name:"",email:"",phone:"",message:""}),[n,s]=w.useState(!1),a=i=>{t({...e,[i.target.name]:i.target.value})},r=async i=>{if(i.preventDefault(),!e.name||!e.email||!e.message){Vo({title:"Please fill in all required fields.",variant:"destructive"});return}s(!0),setTimeout(()=>{s(!1),t({name:"",email:"",phone:"",message:""}),Vo({title:"Message sent!",description:"Thank you for reaching out. We'll get back to you within 2 business days."})},1200)};return l.jsxs(je,{"data-id":"042u02w6b","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("section",{className:"relative py-28 overflow-hidden",style:{backgroundColor:"#2A4C25"},"data-id":"bj7ukkic0","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23E8A94B' fill-opacity='0.3'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`},"data-id":"94psb3ay9","data-path":"src/pages/ContactPage.tsx"}),l.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center","data-id":"prgdgbb20","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"ok6x5ao76","data-path":"src/pages/ContactPage.tsx",children:"Contact Us"}),l.jsxs("h1",{className:"font-display text-white mb-6",style:{fontSize:"clamp(2.5rem, 5vw, 3.5rem)",fontWeight:800,lineHeight:1.2},"data-id":"p5k5ezk5p","data-path":"src/pages/ContactPage.tsx",children:["We'd Love to",l.jsx("br",{"data-id":"zp8bu2oyx","data-path":"src/pages/ContactPage.tsx"}),l.jsx("em",{style:{color:"#E8A94B"},"data-id":"25erei13z","data-path":"src/pages/ContactPage.tsx",children:"Hear From You"})]}),l.jsx("p",{className:"font-sans-custom text-lg",style:{color:"#C5DAC0",maxWidth:"580px",margin:"0 auto"},"data-id":"4yab64en3","data-path":"src/pages/ContactPage.tsx",children:"Have questions about our programs or want to help expand inclusive equine-assisted opportunities? We'd love to hear from you."})]})]}),l.jsx("section",{className:"py-20",style:{backgroundColor:"#F8F4EE"},"data-id":"099dkl9sw","data-path":"src/pages/ContactPage.tsx",children:l.jsx("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"mmvzuilh2","data-path":"src/pages/ContactPage.tsx",children:l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-5 gap-10","data-id":"llyumeds7","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"lg:col-span-3","data-id":"gn1hhwnah","data-path":"src/pages/ContactPage.tsx",children:l.jsxs("div",{className:"p-8 rounded-2xl",style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"wo425vt4v","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("h2",{className:"font-display font-bold text-2xl mb-6",style:{color:"#2A4C25"},"data-id":"nv9enenls","data-path":"src/pages/ContactPage.tsx",children:"Send Us a Message"}),l.jsxs("form",{onSubmit:r,className:"space-y-5","data-id":"82ao88op1","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5","data-id":"1pxt9e2wi","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("div",{"data-id":"p5uumf1i4","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("label",{className:"font-serif-sans font-semibold text-sm mb-1.5 block",style:{color:"#4A3020"},"data-id":"6yqxu5ynx","data-path":"src/pages/ContactPage.tsx",children:["Full Name ",l.jsx("span",{style:{color:"#C47D3A"},"data-id":"hpclmqf61","data-path":"src/pages/ContactPage.tsx",children:"*"})]}),l.jsx("input",{name:"name",value:e.name,onChange:a,placeholder:"Your name",className:"w-full px-4 py-3 rounded-lg font-sans-custom text-sm focus:outline-none focus:ring-2",style:{border:"1px solid #EDE7DC",color:"#4A3020",focusRingColor:"#3D6B35"},required:!0,"data-id":"py72byxz6","data-path":"src/pages/ContactPage.tsx"})]}),l.jsxs("div",{"data-id":"sqgtimg74","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("label",{className:"font-serif-sans font-semibold text-sm mb-1.5 block",style:{color:"#4A3020"},"data-id":"webtyxmfs","data-path":"src/pages/ContactPage.tsx",children:["Email Address ",l.jsx("span",{style:{color:"#C47D3A"},"data-id":"1z77pc7l8","data-path":"src/pages/ContactPage.tsx",children:"*"})]}),l.jsx("input",{name:"email",type:"email",value:e.email,onChange:a,placeholder:"your@email.com",className:"w-full px-4 py-3 rounded-lg font-sans-custom text-sm focus:outline-none focus:ring-2",style:{border:"1px solid #EDE7DC",color:"#4A3020"},required:!0,"data-id":"kjfm5aiyz","data-path":"src/pages/ContactPage.tsx"})]})]}),l.jsxs("div",{"data-id":"3st9w0hn8","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("label",{className:"font-serif-sans font-semibold text-sm mb-1.5 block",style:{color:"#4A3020"},"data-id":"i9fkles50","data-path":"src/pages/ContactPage.tsx",children:"Phone Number"}),l.jsx("input",{name:"phone",type:"tel",value:e.phone,onChange:a,placeholder:"(555) 555-5555",className:"w-full px-4 py-3 rounded-lg font-sans-custom text-sm focus:outline-none focus:ring-2",style:{border:"1px solid #EDE7DC",color:"#4A3020"},"data-id":"cm6g8m4vp","data-path":"src/pages/ContactPage.tsx"})]}),l.jsxs("div",{"data-id":"vjonpg4x3","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("label",{className:"font-serif-sans font-semibold text-sm mb-1.5 block",style:{color:"#4A3020"},"data-id":"j2i7xmulk","data-path":"src/pages/ContactPage.tsx",children:["Message ",l.jsx("span",{style:{color:"#C47D3A"},"data-id":"ab359juut","data-path":"src/pages/ContactPage.tsx",children:"*"})]}),l.jsx("textarea",{name:"message",value:e.message,onChange:a,placeholder:"Tell us about your interest in our programs, volunteer opportunities, or anything else we can help with.",rows:6,className:"w-full px-4 py-3 rounded-lg font-sans-custom text-sm focus:outline-none focus:ring-2 resize-none",style:{border:"1px solid #EDE7DC",color:"#4A3020"},required:!0,"data-id":"v1o9y7rm2","data-path":"src/pages/ContactPage.tsx"})]}),l.jsx("button",{type:"submit",disabled:n,className:"btn-primary w-full flex items-center justify-center gap-2",style:{opacity:n?.7:1},"data-id":"ysba0ore9","data-path":"src/pages/ContactPage.tsx",children:n?l.jsx(l.Fragment,{children:"Sending..."}):l.jsxs(l.Fragment,{children:[l.jsx(mE,{size:16,"data-id":"l7jin0bmd","data-path":"src/pages/ContactPage.tsx"}),"Send Message"]})})]})]})}),l.jsxs("div",{className:"lg:col-span-2 space-y-6","data-id":"va7z6hcxr","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("div",{className:"p-7 rounded-2xl",style:{backgroundColor:"#2A4C25"},"data-id":"u8isncaqi","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("h3",{className:"font-display font-bold text-xl mb-5",style:{color:"#E8A94B"},"data-id":"4wa2i99eb","data-path":"src/pages/ContactPage.tsx",children:"Contact Information"}),l.jsxs("div",{className:"space-y-5","data-id":"51tpjoauh","data-path":"src/pages/ContactPage.tsx",children:[l.jsxs("div",{className:"flex items-start gap-3","data-id":"9jmeqgid1","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"w-9 h-9 rounded-full flex items-center justify-center flex-shrink-0",style:{backgroundColor:"rgba(255,255,255,0.1)"},"data-id":"ulbs6pgvm","data-path":"src/pages/ContactPage.tsx",children:l.jsx(kp,{size:16,style:{color:"#8FAF83"},"data-id":"dy63fh7t7","data-path":"src/pages/ContactPage.tsx"})}),l.jsxs("div",{"data-id":"6qef1gbjs","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"font-serif-sans font-semibold text-xs uppercase tracking-wide mb-0.5",style:{color:"#8FAF83"},"data-id":"ezqu6vw4c","data-path":"src/pages/ContactPage.tsx",children:"Email"}),l.jsx("a",{href:"mailto:care@brightclarivo.com",className:"font-sans-custom text-sm hover:text-[#E8A94B] transition-colors",style:{color:"#C5DAC0"},"data-id":"82dvrfe77","data-path":"src/pages/ContactPage.tsx",children:"care@brightclarivo.com"})]})]}),l.jsxs("div",{className:"flex items-start gap-3","data-id":"cuquey7hn","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"w-9 h-9 rounded-full flex items-center justify-center flex-shrink-0",style:{backgroundColor:"rgba(255,255,255,0.1)"},"data-id":"bfwpxt2wy","data-path":"src/pages/ContactPage.tsx",children:l.jsx(qv,{size:16,style:{color:"#8FAF83"},"data-id":"3ror5glq8","data-path":"src/pages/ContactPage.tsx"})}),l.jsxs("div",{"data-id":"tj6yf3xw0","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"font-serif-sans font-semibold text-xs uppercase tracking-wide mb-0.5",style:{color:"#8FAF83"},"data-id":"iyzgll68d","data-path":"src/pages/ContactPage.tsx",children:"Phone"}),l.jsx("a",{href:"tel:15304104422",className:"font-sans-custom text-sm hover:text-[#E8A94B] transition-colors",style:{color:"#C5DAC0"},"data-id":"juppvzi0m","data-path":"src/pages/ContactPage.tsx",children:"1-530-410-4422"})]})]}),l.jsxs("div",{className:"flex items-start gap-3","data-id":"tvmwv2nob","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"w-9 h-9 rounded-full flex items-center justify-center flex-shrink-0",style:{backgroundColor:"rgba(255,255,255,0.1)"},"data-id":"63pz28u4m","data-path":"src/pages/ContactPage.tsx",children:l.jsx(Id,{size:16,style:{color:"#8FAF83"},"data-id":"ggz4h6p5h","data-path":"src/pages/ContactPage.tsx"})}),l.jsxs("div",{"data-id":"o42cv8d6d","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("div",{className:"font-serif-sans font-semibold text-xs uppercase tracking-wide mb-0.5",style:{color:"#8FAF83"},"data-id":"oez2pmyp0","data-path":"src/pages/ContactPage.tsx",children:"Address"}),l.jsxs("span",{className:"font-sans-custom text-sm",style:{color:"#C5DAC0"},"data-id":"ovs5bydml","data-path":"src/pages/ContactPage.tsx",children:["PO Box 1373",l.jsx("br",{"data-id":"dnx6r488t","data-path":"src/pages/ContactPage.tsx"}),"Novato, CA 94948"]})]})]})]})]}),l.jsxs("div",{className:"p-6 rounded-2xl",style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"gnzkjta2n","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("h4",{className:"font-display font-bold text-lg mb-2",style:{color:"#2A4C25"},"data-id":"h4iq2kak5","data-path":"src/pages/ContactPage.tsx",children:"Hours"}),l.jsx("div",{className:"space-y-1.5","data-id":"294n7o3oh","data-path":"src/pages/ContactPage.tsx",children:[["Monday – Friday","9:00 AM – 5:00 PM"],["Saturday","9:00 AM – 1:00 PM"],["Sunday","Closed"]].map(([i,o])=>l.jsxs("div",{className:"flex justify-between","data-id":"g5zfxa85t","data-path":"src/pages/ContactPage.tsx",children:[l.jsx("span",{className:"font-sans-custom text-sm",style:{color:"#5C3D2E"},"data-id":"qpk542imy","data-path":"src/pages/ContactPage.tsx",children:i}),l.jsx("span",{className:"font-serif-sans font-semibold text-sm",style:{color:"#3D6B35"},"data-id":"nqcfwhdzp","data-path":"src/pages/ContactPage.tsx",children:o})]},i))})]}),l.jsx("div",{className:"rounded-2xl overflow-hidden flex items-center justify-center",style:{height:"200px",backgroundColor:"#EEF5EA",border:"1px solid #C5DAC0"},"data-id":"ttpbtas4s","data-path":"src/pages/ContactPage.tsx",children:l.jsxs("div",{className:"text-center","data-id":"1j37tg6i8","data-path":"src/pages/ContactPage.tsx",children:[l.jsx(Id,{size:32,style:{color:"#3D6B35",margin:"0 auto 8px"},"data-id":"w12gx5jj3","data-path":"src/pages/ContactPage.tsx"}),l.jsx("p",{className:"font-sans-custom text-sm font-semibold",style:{color:"#3D6B35"},"data-id":"llbsqa4mr","data-path":"src/pages/ContactPage.tsx",children:"Novato, CA 94948"}),l.jsx("p",{className:"font-sans-custom text-xs mt-1",style:{color:"#8FAF83"},"data-id":"apj72jqzi","data-path":"src/pages/ContactPage.tsx",children:"PO Box 1373"})]})})]})]})})})]})}function zT(){return l.jsxs(je,{"data-id":"vcb014sdr","data-path":"src/pages/AccessibilityPage.tsx",children:[l.jsxs("section",{className:"relative py-28 overflow-hidden",style:{backgroundColor:"#2A4C25"},"data-id":"v73hhgwhs","data-path":"src/pages/AccessibilityPage.tsx",children:[l.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23E8A94B' fill-opacity='0.3'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`},"data-id":"fjdwr87kn","data-path":"src/pages/AccessibilityPage.tsx"}),l.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center","data-id":"7umifaqj2","data-path":"src/pages/AccessibilityPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"v5q8rlaea","data-path":"src/pages/AccessibilityPage.tsx",children:"Accessibility & Inclusion"}),l.jsxs("h1",{className:"font-display text-white mb-6",style:{fontSize:"clamp(2.5rem, 5vw, 3.5rem)",fontWeight:800,lineHeight:1.2},"data-id":"76tdosji9","data-path":"src/pages/AccessibilityPage.tsx",children:["Every Person Belongs",l.jsx("br",{"data-id":"tpmbcb7hq","data-path":"src/pages/AccessibilityPage.tsx"}),l.jsx("em",{style:{color:"#E8A94B"},"data-id":"q7i5f0of4","data-path":"src/pages/AccessibilityPage.tsx",children:"Here"})]}),l.jsx("p",{className:"font-sans-custom text-lg",style:{color:"#C5DAC0",maxWidth:"580px",margin:"0 auto"},"data-id":"3ctvipadq","data-path":"src/pages/AccessibilityPage.tsx",children:"Our commitment to accessibility and inclusion is not a policy statement — it is the organizing principle behind every decision we make."})]})]}),l.jsx("section",{className:"py-20",style:{backgroundColor:"#F8F4EE"},"data-id":"9p7v1m4qd","data-path":"src/pages/AccessibilityPage.tsx",children:l.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8","data-id":"njopa02fv","data-path":"src/pages/AccessibilityPage.tsx",children:[l.jsxs("div",{className:"mb-16","data-id":"ip3e5tr4j","data-path":"src/pages/AccessibilityPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3","data-id":"qdoahh16f","data-path":"src/pages/AccessibilityPage.tsx",children:"Our Commitment"}),l.jsx("h2",{className:"section-heading mb-6","data-id":"p9y1sxmba","data-path":"src/pages/AccessibilityPage.tsx",children:"Accessibility Is Our Foundation"}),l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8","data-id":"nwmainbp7","data-path":"src/pages/AccessibilityPage.tsx",children:[l.jsx("p",{className:"font-sans-custom leading-relaxed",style:{color:"#5C3D2E"},"data-id":"w8rmbq1y3","data-path":"src/pages/AccessibilityPage.tsx",children:"Hooves for Harmony was founded on the belief that therapeutic equine-assisted experiences should be available to every person who could benefit — not only those with financial resources, mobility advantages, or proximity to specialized services. From our first year of operation, we have worked to dismantle the structural, physical, and cultural barriers that prevent individuals with special needs and their families from fully participating in programs like ours."}),l.jsx("p",{className:"font-sans-custom leading-relaxed",style:{color:"#5C3D2E"},"data-id":"vcu2d4nh0","data-path":"src/pages/AccessibilityPage.tsx",children:"This commitment extends beyond our formal programs. It shapes how we hire, how we train, how we communicate, and how we design physical spaces. Accessibility is not something we add on — it is something we build in, at every stage of organizational planning and program delivery."})]})]}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6 mb-16","data-id":"o4xlnnoks","data-path":"src/pages/AccessibilityPage.tsx",children:[{icon:l.jsx(un,{size:24,"data-id":"u9rggp0as","data-path":"src/pages/AccessibilityPage.tsx"}),title:"Inclusive Participation Practices",items:["Individualized participation plans for every participant","Sensory-friendly scheduling and environment options","Alternative communication supports available on request","No-shame, no-pressure approach to participation goals","Regular check-ins with participants and families to adjust support"]},{icon:l.jsx(Z2,{size:24,"data-id":"yvrvayqjj","data-path":"src/pages/AccessibilityPage.tsx"}),title:"Adaptive Program Design",items:["All programs certified under PATH International adaptive standards","Adaptive mounting ramps and accessible barn facilities","Modified riding equipment for physical and sensory needs","Small instructor-to-participant ratios for personalized support","Flexible session formats including ground-based equine activities"]},{icon:l.jsx(xt,{size:24,"data-id":"yat0q1pou","data-path":"src/pages/AccessibilityPage.tsx"}),title:"Family-Centered Support",items:["Family orientation and ongoing communication resources","Parent education workshops and peer family connections","Multilingual communication support available","Transportation assistance referrals and coordination","Scholarship program to address financial barriers"]},{icon:l.jsx(Sp,{size:24,"data-id":"0pdjwl2pa","data-path":"src/pages/AccessibilityPage.tsx"}),title:"Volunteer Inclusion Training",items:["Mandatory orientation covering disability etiquette and person-first language","Trauma-informed practices training for all volunteers","Regular equity and inclusion professional development","Volunteer pairing with participants based on needs and strengths","Ongoing mentorship from certified staff during sessions"]},{icon:l.jsx(oE,{size:24,"data-id":"stpavv22w","data-path":"src/pages/AccessibilityPage.tsx"}),title:"Community Awareness Initiatives",items:["Annual Inclusion in Motion awareness events open to the public","School and community partner presentations on equine-assisted therapy","Social media content that showcases participant achievements with dignity","Partnerships with disability advocacy organizations","Community forums on accessibility and inclusive recreation"]},{icon:l.jsx(Ve,{size:24,"data-id":"yq7gpntq9","data-path":"src/pages/AccessibilityPage.tsx"}),title:"Long-Term Vision for Inclusion",items:["Expand scholarship program to serve 50% more families by 2027","Add a dedicated accessible sensory room to our facility","Partner with regional transportation providers for participant access","Develop a peer mentor program connecting participants across program years","Pursue full ADA compliance certification for all facility areas"]}].map((e,t)=>l.jsxs("div",{className:"p-6 rounded-2xl",style:{backgroundColor:"white",border:"1px solid #EDE7DC"},"data-id":"a62l6qap8","data-path":"src/pages/AccessibilityPage.tsx",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-4","data-id":"q9f9k1fv0","data-path":"src/pages/AccessibilityPage.tsx",children:[l.jsx("div",{className:"w-10 h-10 rounded-full flex items-center justify-center flex-shrink-0",style:{backgroundColor:"#EEF5EA",color:"#3D6B35"},"data-id":"d4jy2zoht","data-path":"src/pages/AccessibilityPage.tsx",children:e.icon}),l.jsx("h3",{className:"font-display font-bold text-lg",style:{color:"#2A4C25"},"data-id":"p0e4lh621","data-path":"src/pages/AccessibilityPage.tsx",children:e.title})]}),l.jsx("ul",{className:"space-y-2","data-id":"u7y2bshgq","data-path":"src/pages/AccessibilityPage.tsx",children:e.items.map((n,s)=>l.jsxs("li",{className:"flex items-start gap-2.5","data-id":"v1ofaeta3","data-path":"src/pages/AccessibilityPage.tsx",children:[l.jsx("div",{className:"w-1.5 h-1.5 rounded-full mt-2 flex-shrink-0",style:{backgroundColor:"#C47D3A"},"data-id":"055wr9h4v","data-path":"src/pages/AccessibilityPage.tsx"}),l.jsx("span",{className:"font-sans-custom text-sm leading-relaxed",style:{color:"#5C3D2E"},"data-id":"9x8ewefam","data-path":"src/pages/AccessibilityPage.tsx",children:n})]},s))})]},t))}),l.jsxs("div",{className:"p-8 rounded-2xl mb-10",style:{backgroundColor:"#2A4C25",color:"white"},"data-id":"z9w1dr5le","data-path":"src/pages/AccessibilityPage.tsx",children:[l.jsx("h3",{className:"font-display font-bold text-2xl mb-4",style:{color:"#E8A94B"},"data-id":"m795bh1u2","data-path":"src/pages/AccessibilityPage.tsx",children:"Website Accessibility"}),l.jsx("p",{className:"font-sans-custom leading-relaxed mb-4",style:{color:"#C5DAC0"},"data-id":"xj4meftqv","data-path":"src/pages/AccessibilityPage.tsx",children:"We are committed to making our digital presence as accessible as our physical one. This website is designed with accessible color contrast, keyboard navigation support, descriptive image alt text, and screen reader compatibility in mind. If you experience any difficulty accessing content on this website, please contact us and we will provide the information you need in an alternative format."}),l.jsx("p",{className:"font-sans-custom leading-relaxed",style:{color:"#C5DAC0"},"data-id":"k8n92v8ii","data-path":"src/pages/AccessibilityPage.tsx",children:"We welcome feedback on how we can improve the accessibility of our website and our programs. Your perspective helps us serve our community better."})]}),l.jsxs("div",{className:"flex flex-wrap justify-center gap-4","data-id":"53pd62xbv","data-path":"src/pages/AccessibilityPage.tsx",children:[l.jsxs(B,{to:"/contact",className:"btn-primary","data-id":"zcvb44iqa","data-path":"src/pages/AccessibilityPage.tsx",children:["Contact Us About Access ",l.jsx(Ve,{size:14,className:"inline ml-1.5 -mt-0.5","data-id":"w36cstf2q","data-path":"src/pages/AccessibilityPage.tsx"})]}),l.jsx(B,{to:"/programs",className:"btn-outline-green","data-id":"3t44mln1g","data-path":"src/pages/AccessibilityPage.tsx",children:"Explore Our Programs"})]})]})})]})}function LT(){return l.jsxs(je,{"data-id":"m640efafj","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("section",{className:"relative py-28 overflow-hidden",style:{backgroundColor:"#2A4C25"},"data-id":"9frfsdtkf","data-path":"src/pages/PrivacyPolicyPage.tsx",children:l.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center","data-id":"s7mrzvfq6","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"hawr42a4b","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Legal"}),l.jsx("h1",{className:"font-display text-white mb-4",style:{fontSize:"clamp(2.5rem, 5vw, 3.5rem)",fontWeight:800,lineHeight:1.2},"data-id":"1cevpnete","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Privacy Policy"}),l.jsx("p",{className:"font-sans-custom",style:{color:"#8FAF83"},"data-id":"98o3ifvtj","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"Last Updated: June 1, 2026"})]})}),l.jsx("section",{className:"py-16",style:{backgroundColor:"#F8F4EE"},"data-id":"t4u6meoj5","data-path":"src/pages/PrivacyPolicyPage.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 space-y-8","data-id":"fjg7c7l1t","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[[{heading:"1. Introduction",body:'HOOVES FOR HARMONY INC ("we," "our," or "us") is committed to protecting the privacy of individuals who visit our website, enroll in our programs, or otherwise interact with our organization. This Privacy Policy explains how we collect, use, share, and protect information. By using our website, you consent to the practices described in this Policy. We encourage you to read it carefully and contact us with any questions.'},{heading:"2. Information We Collect",body:"We collect information you provide directly, including your name, email address, phone number, mailing address, and any details you share through our contact forms, program enrollment processes, or donation transactions. We may also collect information about participants in our programs, including health-related information required for therapeutic riding participation, which is handled with the highest degree of confidentiality. We do not sell or share this information with third parties for marketing purposes."},{heading:"3. Contact Forms and Communications",body:"When you submit a message through our website contact form, we collect the information you provide in order to respond to your inquiry. This information may be retained in our records for a reasonable period to support follow-up communications and to improve our responsiveness to community inquiries. Email correspondence with our team is stored securely and is accessible only to relevant staff members."},{heading:"4. Cookies and Website Analytics",body:"Our website may use cookies — small text files stored on your device — to enhance your browsing experience and to collect anonymous data about how visitors interact with our site. This information helps us understand which content is most useful and where improvements may be needed. We do not use cookies to collect personally identifiable information, and you may disable cookies in your browser settings if you prefer. Some website functionality may be limited if cookies are disabled."},{heading:"5. How We Use Your Information",body:"Information collected is used to respond to inquiries, process program enrollment and donations, communicate about our programs and events, comply with legal and reporting obligations, and improve the quality and accessibility of our services. We do not use personal information for purposes unrelated to the mission and operations of HOOVES FOR HARMONY INC. Donor and participant information is treated as confidential and is shared internally only with staff and volunteers who have a legitimate need to access it."},{heading:"6. Data Security",body:"We implement reasonable administrative, technical, and physical security measures to protect the information in our care against unauthorized access, disclosure, or destruction. Payment information submitted through our donation processes is handled through third-party secure payment processors that meet industry security standards. While we take security seriously, no method of transmission over the internet is completely secure, and we cannot guarantee absolute security."},{heading:"7. Your Rights and Choices",body:"You have the right to request access to the personal information we hold about you, to request correction of inaccurate information, and to request deletion of your personal information subject to legal obligations. California residents have additional rights under the California Consumer Privacy Act (CCPA). To exercise any of these rights, or if you have concerns about how your information is handled, please contact us using the information below."},{heading:"8. Contact Information",body:"If you have questions about this Privacy Policy or our data practices, please contact: HOOVES FOR HARMONY INC, PO Box 1373, Novato, CA 94948. Email: care@brightclarivo.com. Phone: 1-530-410-4422. We will respond to all privacy-related inquiries within a reasonable time."}].map((e,t)=>l.jsxs("div",{"data-id":"gm3jfbp8e","data-path":"src/pages/PrivacyPolicyPage.tsx",children:[l.jsx("h2",{className:"font-display font-bold text-xl mb-3",style:{color:"#2A4C25"},"data-id":"6s3qn8ag4","data-path":"src/pages/PrivacyPolicyPage.tsx",children:e.heading}),l.jsx("p",{className:"font-sans-custom leading-relaxed text-base",style:{color:"#5C3D2E"},"data-id":"i59h8ystz","data-path":"src/pages/PrivacyPolicyPage.tsx",children:e.body})]},t)),l.jsx("div",{className:"pt-6","data-id":"skeljm8bt","data-path":"src/pages/PrivacyPolicyPage.tsx",children:l.jsx(B,{to:"/",className:"btn-outline-green","data-id":"112mng0eh","data-path":"src/pages/PrivacyPolicyPage.tsx",children:"← Back to Home"})})]})})]})}function VT(){return l.jsxs(je,{"data-id":"t6cmlkxz4","data-path":"src/pages/TermsPage.tsx",children:[l.jsx("section",{className:"relative py-28 overflow-hidden",style:{backgroundColor:"#2A4C25"},"data-id":"9qqddz25u","data-path":"src/pages/TermsPage.tsx",children:l.jsxs("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center","data-id":"a8bkqkzdx","data-path":"src/pages/TermsPage.tsx",children:[l.jsx("div",{className:"label-tag mb-3",style:{color:"#E8A94B"},"data-id":"z3q30gj3w","data-path":"src/pages/TermsPage.tsx",children:"Legal"}),l.jsx("h1",{className:"font-display text-white mb-4",style:{fontSize:"clamp(2.5rem, 5vw, 3.5rem)",fontWeight:800,lineHeight:1.2},"data-id":"alz3xtn1f","data-path":"src/pages/TermsPage.tsx",children:"Terms & Conditions"}),l.jsx("p",{className:"font-sans-custom",style:{color:"#8FAF83"},"data-id":"p9cumtk56","data-path":"src/pages/TermsPage.tsx",children:"Last Updated: June 1, 2026"})]})}),l.jsx("section",{className:"py-16",style:{backgroundColor:"#F8F4EE"},"data-id":"0llfri9bt","data-path":"src/pages/TermsPage.tsx",children:l.jsxs("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 space-y-8","data-id":"mr06kw16y","data-path":"src/pages/TermsPage.tsx",children:[[{heading:"1. Acceptance of Terms",body:"By accessing and using the website of HOOVES FOR HARMONY INC (www.hoovesforharmony.org), you accept and agree to be bound by these Terms and Conditions. If you do not agree with any part of these terms, please do not use our website. These terms apply to all visitors, donors, program inquiry submitters, and other users of our digital properties. We reserve the right to update these terms at any time, and continued use of the website following any changes constitutes acceptance of those changes."},{heading:"2. Website Usage",body:"This website is provided for informational purposes and to support the mission of HOOVES FOR HARMONY INC. You may browse, read, and share content for personal, non-commercial, and educational purposes. You may not reproduce, distribute, or publish website content for commercial purposes without prior written consent from HOOVES FOR HARMONY INC. Unauthorized scraping, crawling, or data extraction from this website is prohibited."},{heading:"3. User Responsibilities",body:"Users of this website agree to use it only for lawful purposes and in a manner that does not infringe the rights of others or restrict or inhibit anyone else's use of the website. You agree not to submit false information, impersonate another person or organization, transmit spam or unsolicited communications, or engage in any activity that could damage, disable, or impair the functioning of our website or servers. Users are responsible for ensuring that any information they submit through our contact forms or program enrollment processes is accurate."},{heading:"4. Intellectual Property",body:"All content on this website — including text, images, graphics, logos, program descriptions, and design elements — is the property of HOOVES FOR HARMONY INC or its licensed contributors, and is protected by applicable copyright and intellectual property laws. The Hooves for Harmony name, logo, and related trademarks may not be used without explicit written permission. Content created by program participants and families is used only with explicit consent and may be removed upon request."},{heading:"5. Content Restrictions",body:"Users must not post, upload, or transmit content that is defamatory, harassing, discriminatory, or otherwise harmful. Content that demeans or objectifies individuals with disabilities, content that uses non-inclusive or derogatory language, and content that misrepresents the programs or mission of HOOVES FOR HARMONY INC is strictly prohibited. We reserve the right to remove any content or communication that violates these restrictions or our organizational values of inclusion, dignity, and respect."},{heading:"6. Limitation of Liability",body:'HOOVES FOR HARMONY INC provides this website and its content "as is" without warranties of any kind. While we strive to keep information accurate and up to date, we make no representations or warranties regarding the completeness, accuracy, or timeliness of any content. To the fullest extent permitted by law, HOOVES FOR HARMONY INC shall not be liable for any direct, indirect, incidental, or consequential damages arising from your use of this website or reliance on any content contained herein.'},{heading:"7. Third-Party Links and Services",body:"Our website may contain links to third-party websites for informational purposes. HOOVES FOR HARMONY INC does not endorse, control, or assume responsibility for the content, privacy practices, or terms of any third-party website. We encourage users to review the privacy policies and terms of any third-party sites they visit. Our donation processing is handled through third-party payment processors, and by making a donation, you also agree to the terms of those processors."},{heading:"8. Dispute Resolution and Contact",body:"Any disputes arising from your use of this website or these Terms shall be governed by the laws of the State of California. We encourage you to contact us directly to resolve any concerns before pursuing formal legal remedies. HOOVES FOR HARMONY INC is committed to addressing reasonable concerns promptly and in good faith. Contact us at: PO Box 1373, Novato, CA 94948 | care@brightclarivo.com | 1-530-410-4422."}].map((e,t)=>l.jsxs("div",{"data-id":"hm5tcaad5","data-path":"src/pages/TermsPage.tsx",children:[l.jsx("h2",{className:"font-display font-bold text-xl mb-3",style:{color:"#2A4C25"},"data-id":"fzfaum49n","data-path":"src/pages/TermsPage.tsx",children:e.heading}),l.jsx("p",{className:"font-sans-custom leading-relaxed text-base",style:{color:"#5C3D2E"},"data-id":"rwf3y3dcz","data-path":"src/pages/TermsPage.tsx",children:e.body})]},t)),l.jsx("div",{className:"pt-6","data-id":"o9tdwiugf","data-path":"src/pages/TermsPage.tsx",children:l.jsx(B,{to:"/",className:"btn-outline-green","data-id":"839ct37vv","data-path":"src/pages/TermsPage.tsx",children:"← Back to Home"})})]})})]})}const mw=w.createContext({});function _T(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const BT=typeof window<"u",HT=BT?w.useLayoutEffect:w.useEffect,$p=w.createContext(null);function Up(e,t){e.indexOf(t)===-1&&e.push(t)}function Ko(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Qt=(e,t,n)=>n>t?t:n<e?e:n;let Kp=()=>{};const Jn={},gw=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),yw=e=>typeof e=="object"&&e!==null,xw=e=>/^0[^.\s]+$/u.test(e);function vw(e){let t;return()=>(t===void 0&&(t=e()),t)}const mt=e=>e,di=(...e)=>e.reduce((t,n)=>s=>n(t(s))),Ur=(e,t,n)=>{const s=t-e;return s?(n-e)/s:1};class Gp{constructor(){this.subscriptions=[]}add(t){return Up(this.subscriptions,t),()=>Ko(this.subscriptions,t)}notify(t,n,s){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](t,n,s);else for(let r=0;r<a;r++){const i=this.subscriptions[r];i&&i(t,n,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const st=e=>e*1e3,ht=e=>e/1e3,ww=(e,t)=>t?e*(1e3/t):0,bw=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,qT=1e-7,WT=12;function $T(e,t,n,s,a){let r,i,o=0;do i=t+(n-t)/2,r=bw(i,s,a)-e,r>0?n=i:t=i;while(Math.abs(r)>qT&&++o<WT);return i}function ui(e,t,n,s){if(e===t&&n===s)return mt;const a=r=>$T(r,0,1,e,n);return r=>r===0||r===1?r:bw(a(r),t,s)}const Pw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Cw=e=>t=>1-e(1-t),Ew=ui(.33,1.53,.69,.99),Yp=Cw(Ew),jw=Pw(Yp),kw=e=>e>=1?1:(e*=2)<1?.5*Yp(e):.5*(2-Math.pow(2,-10*(e-1))),Qp=e=>1-Math.sin(Math.acos(e)),Sw=Cw(Qp),Aw=Pw(Qp),UT=ui(.42,0,1,1),KT=ui(0,0,.58,1),Tw=ui(.42,0,.58,1),GT=e=>Array.isArray(e)&&typeof e[0]!="number",Nw=e=>Array.isArray(e)&&typeof e[0]=="number",YT={linear:mt,easeIn:UT,easeInOut:Tw,easeOut:KT,circIn:Qp,circInOut:Aw,circOut:Sw,backIn:Yp,backInOut:jw,backOut:Ew,anticipate:kw},QT=e=>typeof e=="string",Dm=e=>{if(Nw(e)){Kp(e.length===4);const[t,n,s,a]=e;return ui(t,n,s,a)}else if(QT(e))return YT[e];return e},Vi=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function XT(e,t){let n=new Set,s=new Set,a=!1,r=!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,p=!1,h=!1)=>{const y=h&&a?n:s;return p&&i.add(u),y.add(u),u},cancel:u=>{s.delete(u),i.delete(u)},process:u=>{if(o=u,a){r=!0;return}a=!0;const p=n;n=s,s=p,n.forEach(c),n.clear(),a=!1,r&&(r=!1,d.process(u))}};return d}const ZT=40;function Rw(e,t){let n=!1,s=!0;const a={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,i=Vi.reduce((x,P)=>(x[P]=XT(r),x),{}),{setup:o,read:c,resolveKeyframes:d,preUpdate:u,update:p,preRender:h,render:m,postRender:y}=i,v=()=>{const x=Jn.useManualTiming,P=x?a.timestamp:performance.now();n=!1,x||(a.delta=s?1e3/60:Math.max(Math.min(P-a.timestamp,ZT),1)),a.timestamp=P,a.isProcessing=!0,o.process(a),c.process(a),d.process(a),u.process(a),p.process(a),h.process(a),m.process(a),y.process(a),a.isProcessing=!1,n&&t&&(s=!1,e(v))},b=()=>{n=!0,s=!0,a.isProcessing||e(v)};return{schedule:Vi.reduce((x,P)=>{const C=i[P];return x[P]=(E,k=!1,j=!1)=>(n||b(),C.schedule(E,k,j)),x},{}),cancel:x=>{for(let P=0;P<Vi.length;P++)i[Vi[P]].cancel(x)},state:a,steps:i}}const{schedule:J,cancel:es,state:Ae,steps:Pc}=Rw(typeof requestAnimationFrame<"u"?requestAnimationFrame:mt,!0);let oo;function JT(){oo=void 0}const _e={now:()=>(oo===void 0&&_e.set(Ae.isProcessing||Jn.useManualTiming?Ae.timestamp:performance.now()),oo),set:e=>{oo=e,queueMicrotask(JT)}},Dw=e=>t=>typeof t=="string"&&t.startsWith(e),Mw=Dw("--"),eN=Dw("var(--"),Xp=e=>eN(e)?tN.test(e.split("/*")[0].trim()):!1,tN=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Mm(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const _a={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Kr={..._a,transform:e=>Qt(0,1,e)},_i={..._a,default:1},wr=e=>Math.round(e*1e5)/1e5,Zp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function nN(e){return e==null}const sN=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Jp=(e,t)=>n=>!!(typeof n=="string"&&sN.test(n)&&n.startsWith(e)||t&&!nN(n)&&Object.prototype.hasOwnProperty.call(n,t)),Ow=(e,t,n)=>s=>{if(typeof s!="string")return s;const[a,r,i,o]=s.match(Zp);return{[e]:parseFloat(a),[t]:parseFloat(r),[n]:parseFloat(i),alpha:o!==void 0?parseFloat(o):1}},aN=e=>Qt(0,255,e),Cc={..._a,transform:e=>Math.round(aN(e))},fs={test:Jp("rgb","red"),parse:Ow("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:s=1})=>"rgba("+Cc.transform(e)+", "+Cc.transform(t)+", "+Cc.transform(n)+", "+wr(Kr.transform(s))+")"};function rN(e){let t="",n="",s="",a="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),s=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),s=e.substring(3,4),a=e.substring(4,5),t+=t,n+=n,s+=s,a+=a),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:a?parseInt(a,16)/255:1}}const Jd={test:Jp("#"),parse:rN,transform:fs.transform},pi=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),nn=pi("deg"),Yt=pi("%"),z=pi("px"),iN=pi("vh"),oN=pi("vw"),Om={...Yt,parse:e=>Yt.parse(e)/100,transform:e=>Yt.transform(e*100)},ea={test:Jp("hsl","hue"),parse:Ow("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+Yt.transform(wr(t))+", "+Yt.transform(wr(n))+", "+wr(Kr.transform(s))+")"},fe={test:e=>fs.test(e)||Jd.test(e)||ea.test(e),parse:e=>fs.test(e)?fs.parse(e):ea.test(e)?ea.parse(e):Jd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?fs.transform(e):ea.transform(e),getAnimatableNone:e=>{const t=fe.parse(e);return t.alpha=0,fe.transform(t)}},lN=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function cN(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Zp))==null?void 0:t.length)||0)+(((n=e.match(lN))==null?void 0:n.length)||0)>0}const Iw="number",Fw="color",dN="var",uN="var(",Im="${}",pN=/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 Ra(e){const t=e.toString(),n=[],s={color:[],number:[],var:[]},a=[];let r=0;const o=t.replace(pN,c=>(fe.test(c)?(s.color.push(r),a.push(Fw),n.push(fe.parse(c))):c.startsWith(uN)?(s.var.push(r),a.push(dN),n.push(c)):(s.number.push(r),a.push(Iw),n.push(parseFloat(c))),++r,Im)).split(Im);return{values:n,split:o,indexes:s,types:a}}function hN(e){return Ra(e).values}function zw({split:e,types:t}){const n=e.length;return s=>{let a="";for(let r=0;r<n;r++)if(a+=e[r],s[r]!==void 0){const i=t[r];i===Iw?a+=wr(s[r]):i===Fw?a+=fe.transform(s[r]):a+=s[r]}return a}}function fN(e){return zw(Ra(e))}const mN=e=>typeof e=="number"?0:fe.test(e)?fe.getAnimatableNone(e):e,gN=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:mN(e);function yN(e){const t=Ra(e);return zw(t)(t.values.map((s,a)=>gN(s,t.split[a])))}const Rt={test:cN,parse:hN,createTransformer:fN,getAnimatableNone:yN};function Ec(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 xN({hue:e,saturation:t,lightness:n,alpha:s}){e/=360,t/=100,n/=100;let a=0,r=0,i=0;if(!t)a=r=i=n;else{const o=n<.5?n*(1+t):n+t-n*t,c=2*n-o;a=Ec(c,o,e+1/3),r=Ec(c,o,e),i=Ec(c,o,e-1/3)}return{red:Math.round(a*255),green:Math.round(r*255),blue:Math.round(i*255),alpha:s}}function Go(e,t){return n=>n>0?t:e}const Z=(e,t,n)=>e+(t-e)*n,jc=(e,t,n)=>{const s=e*e,a=n*(t*t-s)+s;return a<0?0:Math.sqrt(a)},vN=[Jd,fs,ea],wN=e=>vN.find(t=>t.test(e));function Fm(e){const t=wN(e);if(!t)return!1;let n=t.parse(e);return t===ea&&(n=xN(n)),n}const zm=(e,t)=>{const n=Fm(e),s=Fm(t);if(!n||!s)return Go(e,t);const a={...n};return r=>(a.red=jc(n.red,s.red,r),a.green=jc(n.green,s.green,r),a.blue=jc(n.blue,s.blue,r),a.alpha=Z(n.alpha,s.alpha,r),fs.transform(a))},eu=new Set(["none","hidden"]);function bN(e,t){return eu.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function PN(e,t){return n=>Z(e,t,n)}function eh(e){return typeof e=="number"?PN:typeof e=="string"?Xp(e)?Go:fe.test(e)?zm:jN:Array.isArray(e)?Lw:typeof e=="object"?fe.test(e)?zm:CN:Go}function Lw(e,t){const n=[...e],s=n.length,a=e.map((r,i)=>eh(r)(r,t[i]));return r=>{for(let i=0;i<s;i++)n[i]=a[i](r);return n}}function CN(e,t){const n={...e,...t},s={};for(const a in n)e[a]!==void 0&&t[a]!==void 0&&(s[a]=eh(e[a])(e[a],t[a]));return a=>{for(const r in s)n[r]=s[r](a);return n}}function EN(e,t){const n=[],s={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){const r=t.types[a],i=e.indexes[r][s[r]],o=e.values[i]??0;n[a]=o,s[r]++}return n}const jN=(e,t)=>{const n=Rt.createTransformer(t),s=Ra(e),a=Ra(t);return s.indexes.var.length===a.indexes.var.length&&s.indexes.color.length===a.indexes.color.length&&s.indexes.number.length>=a.indexes.number.length?eu.has(e)&&!a.values.length||eu.has(t)&&!s.values.length?bN(e,t):di(Lw(EN(s,a),a.values),n):Go(e,t)};function Vw(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Z(e,t,n):eh(e)(e,t)}const kN=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>J.update(t,n),stop:()=>es(t),now:()=>Ae.isProcessing?Ae.timestamp:_e.now()}},_w=(e,t,n=10)=>{let s="";const a=Math.max(Math.round(t/n),2);for(let r=0;r<a;r++)s+=Math.round(e(r/(a-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},Yo=2e4;function th(e){let t=0;const n=50;let s=e.next(t);for(;!s.done&&t<Yo;)t+=n,s=e.next(t);return t>=Yo?1/0:t}function SN(e,t=100,n){const s=n({...e,keyframes:[0,t]}),a=Math.min(th(s),Yo);return{type:"keyframes",ease:r=>s.next(a*r).value/t,duration:ht(a)}}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 AN=12;function TN(e,t,n){let s=n;for(let a=1;a<AN;a++)s=s-e(s)/t(s);return s}const kc=.001;function NN({duration:e=de.duration,bounce:t=de.bounce,velocity:n=de.velocity,mass:s=de.mass}){let a,r,i=1-t;i=Qt(de.minDamping,de.maxDamping,i),e=Qt(de.minDuration,de.maxDuration,ht(e)),i<1?(a=d=>{const u=d*i,p=u*e,h=u-n,m=tu(d,i),y=Math.exp(-p);return kc-h/m*y},r=d=>{const p=d*i*e,h=p*n+n,m=Math.pow(i,2)*Math.pow(d,2)*e,y=Math.exp(-p),v=tu(Math.pow(d,2),i);return(-a(d)+kc>0?-1:1)*((h-m)*y)/v}):(a=d=>{const u=Math.exp(-d*e),p=(d-n)*e+1;return-kc+u*p},r=d=>{const u=Math.exp(-d*e),p=(n-d)*(e*e);return u*p});const o=5/e,c=TN(a,r,o);if(e=st(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 RN=["duration","bounce"],DN=["stiffness","damping","mass"];function Lm(e,t){return t.some(n=>e[n]!==void 0)}function MN(e){let t={velocity:de.velocity,stiffness:de.stiffness,damping:de.damping,mass:de.mass,isResolvedFromDuration:!1,...e};if(!Lm(e,DN)&&Lm(e,RN))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,s=2*Math.PI/(n*1.2),a=s*s,r=2*Qt(.05,1,1-(e.bounce||0))*Math.sqrt(a);t={...t,mass:de.mass,stiffness:a,damping:r}}else{const n=NN({...e,velocity:0});t={...t,...n,mass:de.mass},t.isResolvedFromDuration=!0}return t}function Qo(e=de.visualDuration,t=de.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:s,restDelta:a}=n;const r=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],o={done:!1,value:r},{stiffness:c,damping:d,mass:u,duration:p,velocity:h,isResolvedFromDuration:m}=MN({...n,velocity:-ht(n.velocity||0)}),y=h||0,v=d/(2*Math.sqrt(c*u)),b=i-r,g=ht(Math.sqrt(c/u)),f=Math.abs(b)<5;s||(s=f?de.restSpeed.granular:de.restSpeed.default),a||(a=f?de.restDelta.granular:de.restDelta.default);let x,P,C,E,k,j;if(v<1)C=tu(g,v),E=(y+v*g*b)/C,x=T=>{const F=Math.exp(-v*g*T);return i-F*(E*Math.sin(C*T)+b*Math.cos(C*T))},k=v*g*E+b*C,j=v*g*b-E*C,P=T=>Math.exp(-v*g*T)*(k*Math.sin(C*T)+j*Math.cos(C*T));else if(v===1){x=F=>i-Math.exp(-g*F)*(b+(y+g*b)*F);const T=y+g*b;P=F=>Math.exp(-g*F)*(g*T*F-y)}else{const T=g*Math.sqrt(v*v-1);x=M=>{const W=Math.exp(-v*g*M),V=Math.min(T*M,300);return i-W*((y+v*g*b)*Math.sinh(V)+T*b*Math.cosh(V))/T};const F=(y+v*g*b)/T,O=v*g*F-b*T,q=v*g*b-F*T;P=M=>{const W=Math.exp(-v*g*M),V=Math.min(T*M,300);return W*(O*Math.sinh(V)+q*Math.cosh(V))}}const N={calculatedDuration:m&&p||null,velocity:T=>st(P(T)),next:T=>{if(!m&&v<1){const O=Math.exp(-v*g*T),q=Math.sin(C*T),M=Math.cos(C*T),W=i-O*(E*q+b*M),V=st(O*(k*q+j*M));return o.done=Math.abs(V)<=s&&Math.abs(i-W)<=a,o.value=o.done?i:W,o}const F=x(T);if(m)o.done=T>=p;else{const O=st(P(T));o.done=Math.abs(O)<=s&&Math.abs(i-F)<=a}return o.value=o.done?i:F,o},toString:()=>{const T=Math.min(th(N),Yo),F=_w(O=>N.next(T*O).value,T,30);return T+"ms "+F},toTransition:()=>{}};return N}Qo.applyToOptions=e=>{const t=SN(e,100,Qo);return e.ease=t.ease,e.duration=st(t.duration),e.type="keyframes",e};const ON=5;function Bw(e,t,n){const s=Math.max(t-ON,0);return ww(n-e(s),t-s)}function nu({keyframes:e,velocity:t=0,power:n=.8,timeConstant:s=325,bounceDamping:a=10,bounceStiffness:r=500,modifyTarget:i,min:o,max:c,restDelta:d=.5,restSpeed:u}){const p=e[0],h={done:!1,value:p},m=j=>o!==void 0&&j<o||c!==void 0&&j>c,y=j=>o===void 0?c:c===void 0||Math.abs(o-j)<Math.abs(c-j)?o:c;let v=n*t;const b=p+v,g=i===void 0?b:i(b);g!==b&&(v=g-p);const f=j=>-v*Math.exp(-j/s),x=j=>g+f(j),P=j=>{const N=f(j),T=x(j);h.done=Math.abs(N)<=d,h.value=h.done?g:T};let C,E;const k=j=>{m(h.value)&&(C=j,E=Qo({keyframes:[h.value,y(h.value)],velocity:Bw(x,j,h.value),damping:a,stiffness:r,restDelta:d,restSpeed:u}))};return k(0),{calculatedDuration:null,next:j=>{let N=!1;return!E&&C===void 0&&(N=!0,P(j),k(j)),C!==void 0&&j>=C?E.next(j-C):(!N&&P(j),h)}}}function IN(e,t,n){const s=[],a=n||Jn.mix||Vw,r=e.length-1;for(let i=0;i<r;i++){let o=a(e[i],e[i+1]);if(t){const c=Array.isArray(t)?t[i]||mt:t;o=di(c,o)}s.push(o)}return s}function FN(e,t,{clamp:n=!0,ease:s,mixer:a}={}){const r=e.length;if(Kp(r===t.length),r===1)return()=>t[0];if(r===2&&t[0]===t[1])return()=>t[1];const i=e[0]===e[1];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=IN(t,s,a),c=o.length,d=u=>{if(i&&u<e[0])return t[0];let p=0;if(c>1)for(;p<e.length-2&&!(u<e[p+1]);p++);const h=Ur(e[p],e[p+1],u);return o[p](h)};return n?u=>d(Qt(e[0],e[r-1],u)):d}function zN(e,t){const n=e[e.length-1];for(let s=1;s<=t;s++){const a=Ur(0,t,s);e.push(Z(n,1,a))}}function LN(e){const t=[0];return zN(t,e.length-1),t}function VN(e,t){return e.map(n=>n*t)}function _N(e,t){return e.map(()=>t||Tw).splice(0,e.length-1)}function br({duration:e=300,keyframes:t,times:n,ease:s="easeInOut"}){const a=GT(s)?s.map(Dm):Dm(s),r={done:!1,value:t[0]},i=VN(n&&n.length===t.length?n:LN(t),e),o=FN(i,t,{ease:Array.isArray(a)?a:_N(t,a)});return{calculatedDuration:e,next:c=>(r.value=o(c),r.done=c>=e,r)}}const BN=e=>e!==null;function Dl(e,{repeat:t,repeatType:n="loop"},s,a=1){const r=e.filter(BN),o=a<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!o||s===void 0?r[o]:s}const HN={decay:nu,inertia:nu,tween:br,keyframes:br,spring:Qo};function Hw(e){typeof e.type=="string"&&(e.type=HN[e.type])}class nh{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 qN=e=>e/100;class Xo extends nh{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,a;const{motionValue:n}=this.options;n&&n.updatedAt!==_e.now()&&this.tick(_e.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(a=(s=this.options).onStop)==null||a.call(s))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Hw(t);const{type:n=br,repeat:s=0,repeatDelay:a=0,repeatType:r,velocity:i=0}=t;let{keyframes:o}=t;const c=n||br;c!==br&&typeof o[0]!="number"&&(this.mixKeyframes=di(qN,Vw(o[0],o[1])),o=[0,100]);const d=c({...t,keyframes:o});r==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...o].reverse(),velocity:-i})),d.calculatedDuration===null&&(d.calculatedDuration=th(d));const{calculatedDuration:u}=d;this.calculatedDuration=u,this.resolvedDuration=u+a,this.totalDuration=this.resolvedDuration*(s+1)-a,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:a,mixKeyframes:r,mirroredGenerator:i,resolvedDuration:o,calculatedDuration:c}=this;if(this.startTime===null)return s.next(0);const{delay:d=0,keyframes:u,repeat:p,repeatType:h,repeatDelay:m,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-a/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const g=this.currentTime-d*(this.playbackSpeed>=0?1:-1),f=this.playbackSpeed>=0?g<0:g>a;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=a);let x=this.currentTime,P=s;if(p){const j=Math.min(this.currentTime,a)/o;let N=Math.floor(j),T=j%1;!T&&j>=1&&(T=1),T===1&&N--,N=Math.min(N,p+1),!!(N%2)&&(h==="reverse"?(T=1-T,m&&(T-=m/o)):h==="mirror"&&(P=i)),x=Qt(0,1,T)*o}let C;f?(this.delayState.value=u[0],C=this.delayState):C=P.next(x),r&&!f&&(C.value=r(C.value));let{done:E}=C;!f&&c!==null&&(E=this.playbackSpeed>=0?this.currentTime>=a:this.currentTime<=0);const k=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return k&&y!==nu&&(C.value=Dl(u,this.options,b,this.speed)),v&&v(C.value),k&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return ht(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ht(t)}get time(){return ht(this.currentTime)}set time(t){t=st(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return Bw(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(_e.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=ht(this.currentTime))}play(){var a,r;if(this.isStopped)return;const{driver:t=kN,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),(r=(a=this.options).onPlay)==null||r.call(a);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(_e.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function WN(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 au(t)},$N={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},au=e=>(e=e%360,e<0&&(e+=360),e),Vm=su,_m=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Bm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),UN={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:_m,scaleY:Bm,scale:e=>(_m(e)+Bm(e))/2,rotateX:e=>au(ms(Math.atan2(e[6],e[5]))),rotateY:e=>au(ms(Math.atan2(-e[2],e[0]))),rotateZ:Vm,rotate:Vm,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 ru(e){return e.includes("scale")?1:0}function iu(e,t){if(!e||e==="none")return ru(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,a;if(n)s=UN,a=n;else{const o=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=$N,a=o}if(!a)return ru(t);const r=s[t],i=a[1].split(",").map(GN);return typeof r=="function"?r(i):i[r]}const KN=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return iu(n,t)};function GN(e){return parseFloat(e.trim())}const Ba=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ha=new Set([...Ba,"pathRotation"]),Hm=e=>e===_a||e===z,YN=new Set(["x","y","z"]),QN=Ba.filter(e=>!YN.has(e));function XN(e){const t=[];return QN.forEach(n=>{const s=e.getValue(n);s!==void 0&&(t.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),t}const Ln={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:s})=>{const a=e.max-e.min;return s==="border-box"?a:a-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:s})=>{const a=e.max-e.min;return s==="border-box"?a:a-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")};Ln.translateX=Ln.x;Ln.translateY=Ln.y;const js=new Set;let ou=!1,lu=!1,cu=!1;function qw(){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 a=XN(s);a.length&&(n.set(s,a),s.render())}),e.forEach(s=>s.measureInitialState()),t.forEach(s=>{s.render();const a=n.get(s);a&&a.forEach(([r,i])=>{var o;(o=s.getValue(r))==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 Ww(){js.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(lu=!0)})}function ZN(){cu=!0,Ww(),qw(),cu=!1}class sh{constructor(t,n,s,a,r,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=s,this.motionValue=a,this.element=r,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(js.add(this),ou||(ou=!0,J.read(Ww),J.resolveKeyframes(qw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:s,motionValue:a}=this;if(t[0]===null){const r=a==null?void 0:a.get(),i=t[t.length-1];if(r!==void 0)t[0]=r;else if(s&&n){const o=s.readValue(n,i);o!=null&&(t[0]=o)}t[0]===void 0&&(t[0]=i),a&&r===void 0&&a.set(t[0])}WN(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 JN=e=>e.startsWith("--");function $w(e,t,n){JN(t)?e.style.setProperty(t,n):e.style[t]=n}const e3={};function Uw(e,t){const n=vw(e);return()=>e3[t]??n()}const t3=Uw(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Kw=Uw(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),lr=([e,t,n,s])=>`cubic-bezier(${e}, ${t}, ${n}, ${s})`,qm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:lr([0,.65,.55,1]),circOut:lr([.55,0,1,.45]),backIn:lr([.31,.01,.66,-.59]),backOut:lr([.33,1.53,.69,.99])};function Gw(e,t){if(e)return typeof e=="function"?Kw()?_w(e,t):"ease-out":Nw(e)?lr(e):Array.isArray(e)?e.map(n=>Gw(n,t)||qm.easeOut):qm[e]}function n3(e,t,n,{delay:s=0,duration:a=300,repeat:r=0,repeatType:i="loop",ease:o="easeOut",times:c}={},d=void 0){const u={[t]:n};c&&(u.offset=c);const p=Gw(o,a);Array.isArray(p)&&(u.easing=p);const h={delay:s,duration:a,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:r+1,direction:i==="reverse"?"alternate":"normal"};return d&&(h.pseudoElement=d),e.animate(u,h)}function Yw(e){return typeof e=="function"&&"applyToOptions"in e}function s3({type:e,...t}){return Yw(e)&&Kw()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Qw extends nh{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:s,keyframes:a,pseudoElement:r,allowFlatten:i=!1,finalKeyframe:o,onComplete:c}=t;this.isPseudoElement=!!r,this.allowFlatten=i,this.options=t,Kp(typeof t.type!="string");const d=s3(t);this.animation=n3(n,s,a,d,r),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=Dl(a,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(u),$w(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,a;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((a=(s=this.animation).commitStyles)==null||a.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 ht(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+ht(t)}get time(){return ht(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=st(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:a}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&t3()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),s&&(this.animation.rangeEnd=s),mt):a(this)}}const Xw={anticipate:kw,backInOut:jw,circInOut:Aw};function a3(e){return e in Xw}function r3(e){typeof e.ease=="string"&&a3(e.ease)&&(e.ease=Xw[e.ease])}const Sc=10;class i3 extends Qw{constructor(t){r3(t),Hw(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:a,element:r,...i}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const o=new Xo({...i,autoplay:!1}),c=Math.max(Sc,_e.now()-this.startTime),d=Qt(0,Sc,c-Sc),u=o.sample(c).value,{name:p}=this.options;r&&p&&$w(r,p,u),n.setWithVelocity(o.sample(Math.max(0,c-d)).value,u,d),o.stop()}}const Wm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Rt.test(e)||e==="0")&&!e.startsWith("url("));function o3(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 l3(e,t,n,s){const a=e[0];if(a===null)return!1;if(t==="display"||t==="visibility")return!0;const r=e[e.length-1],i=Wm(a,t),o=Wm(r,t);return!i||!o?!1:o3(e)||(n==="spring"||Yw(n))&&s}function du(e){e.duration=0,e.type="keyframes"}const Zw=new Set(["opacity","clipPath","filter","transform"]),c3=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function d3(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&c3.test(e[t]))return!0;return!1}const u3=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),p3=vw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function h3(e){var p;const{motionValue:t,name:n,repeatDelay:s,repeatType:a,damping:r,type:i,keyframes:o}=e;if(!(((p=t==null?void 0:t.owner)==null?void 0:p.current)instanceof HTMLElement))return!1;const{onUpdate:d,transformTemplate:u}=t.owner.getProps();return p3()&&n&&(Zw.has(n)||u3.has(n)&&d3(o))&&(n!=="transform"||!u)&&!d&&!s&&a!=="mirror"&&r!==0&&i!=="inertia"}const f3=40;class m3 extends nh{constructor({autoplay:t=!0,delay:n=0,type:s="keyframes",repeat:a=0,repeatDelay:r=0,repeatType:i="loop",keyframes:o,name:c,motionValue:d,element:u,...p}){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=_e.now();const h={autoplay:t,delay:n,type:s,repeat:a,repeatDelay:r,repeatType:i,name:c,motionValue:d,element:u,...p},m=(u==null?void 0:u.KeyframeResolver)||sh;this.keyframeResolver=new m(o,(v,b,g)=>this.onKeyframesResolved(v,b,h,!g),c,d,u),(y=this.keyframeResolver)==null||y.scheduleResolve()}onKeyframesResolved(t,n,s,a){var g,f;this.keyframeResolver=void 0;const{name:r,type:i,velocity:o,delay:c,isHandoff:d,onUpdate:u}=s;this.resolvedAt=_e.now();let p=!0;l3(t,r,i,o)||(p=!1,(Jn.instantAnimations||!c)&&(u==null||u(Dl(t,s,n))),t[0]=t[t.length-1],du(s),s.repeat=0);const m={startTime:a?this.resolvedAt?this.resolvedAt-this.createdAt>f3?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...s,keyframes:t},y=p&&!d&&h3(m),v=(f=(g=m.motionValue)==null?void 0:g.owner)==null?void 0:f.current;let b;if(y)try{b=new i3({...m,element:v})}catch{b=new Xo(m)}else b=new Xo(m);b.finished.then(()=>{this.notifyFinished()}).catch(mt),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),ZN()),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 Jw(e,t,n,s=0,a=1){const r=Array.from(e).sort((d,u)=>d.sortNodePosition(u)).indexOf(t),i=e.size,o=(i-1)*s;return typeof n=="function"?n(r,i):a===1?r*s:o-r*s}const $m=30,g3=e=>!isNaN(parseFloat(e));class y3{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{var r;const a=_e.now();if(this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&((r=this.events.change)==null||r.notify(this.current),this.dependents))for(const i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=_e.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=g3(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 Gp);const s=this.events[t].add(n);return t==="change"?()=>{s(),J.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=_e.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>$m)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,$m);return ww(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 Da(e,t){return new y3(e,t)}function eb(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...s}=e;return{...t,...s}}return e}function ah(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?eb(n,e):n}const x3={type:"spring",stiffness:500,damping:25,restSpeed:10},v3=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),w3={type:"keyframes",duration:.8},b3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},P3=(e,{keyframes:t})=>t.length>2?w3:Ha.has(e)?e.startsWith("scale")?v3(t[1]):x3:b3,C3=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function E3(e){for(const t in e)if(!C3.has(t))return!0;return!1}const rh=(e,t,n,s={},a,r)=>i=>{const o=ah(s,e)||{},c=o.delay||s.delay||0;let{elapsed:d=0}=s;d=d-st(c);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-d,onUpdate:h=>{t.set(h),o.onUpdate&&o.onUpdate(h)},onComplete:()=>{i(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:r?void 0:a};E3(o)||Object.assign(u,P3(e,u)),u.duration&&(u.duration=st(u.duration)),u.repeatDelay&&(u.repeatDelay=st(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(du(u),u.delay===0&&(p=!0)),(Jn.instantAnimations||Jn.skipAnimations||a!=null&&a.shouldSkipAnimations||o.skipAnimations)&&(p=!0,du(u),u.delay=0),u.allowFlatten=!o.type&&!o.ease,p&&!r&&t.get()!==void 0){const h=Dl(u.keyframes,o);if(h!==void 0){J.update(()=>{u.onUpdate(h),u.onComplete()});return}}return o.isSync?new Xo(u):new m3(u)},j3=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function k3(e){const t=j3.exec(e);if(!t)return[,];const[,n,s,a]=t;return[`--${n??s}`,a]}function tb(e,t,n=1){const[s,a]=k3(e);if(!s)return;const r=window.getComputedStyle(t).getPropertyValue(s);if(r){const i=r.trim();return gw(i)?parseFloat(i):i}return Xp(a)?tb(a,t,n+1):a}function Um(e){const t=[{},{}];return e==null||e.values.forEach((n,s)=>{t[0][s]=n.get(),t[1][s]=n.getVelocity()}),t}function ih(e,t,n,s){if(typeof t=="function"){const[a,r]=Um(s);t=t(n!==void 0?n:e.custom,a,r)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[a,r]=Um(s);t=t(n!==void 0?n:e.custom,a,r)}return t}function ks(e,t,n){const s=e.getProps();return ih(s,t,n!==void 0?n:s.custom,e)}const nb=new Set(["width","height","top","left","right","bottom",...Ba]),uu=e=>Array.isArray(e);function S3(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Da(n))}function A3(e){return uu(e)?e[e.length-1]||0:e}function T3(e,t){const n=ks(e,t);let{transitionEnd:s={},transition:a={},...r}=n||{};r={...r,...s};for(const i in r){const o=A3(r[i]);S3(e,i,o)}}const Te=e=>!!(e&&e.getVelocity);function N3(e){return!!(Te(e)&&e.add)}function pu(e,t){const n=e.getValue("willChange");if(N3(n))return n.add(t);if(!n&&Jn.WillChange){const s=new Jn.WillChange("auto");e.addValue("willChange",s),s.add(t)}}function oh(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const R3="framerAppearId",sb="data-"+oh(R3);function ab(e){return e.props[sb]}function D3({protectedKeys:e,needsAnimating:t},n){const s=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,s}function rb(e,t,{delay:n=0,transitionOverride:s,type:a}={}){let{transition:r,transitionEnd:i,...o}=t;const c=e.getDefaultTransition();r=r?eb(r,c):c;const d=r==null?void 0:r.reduceMotion,u=r==null?void 0:r.skipAnimations;s&&(r=s);const p=[],h=a&&e.animationState&&e.animationState.getState()[a],m=r==null?void 0:r.path;m&&m.animateVisualElement(e,o,r,n,p);for(const y in o){const v=e.getValue(y,e.latestValues[y]??null),b=o[y];if(b===void 0||h&&D3(h,y))continue;const g={delay:n,...ah(r||{},y)};u&&(g.skipAnimations=!0);const f=v.get();if(f!==void 0&&!v.isAnimating()&&!Array.isArray(b)&&b===f&&!g.velocity){J.update(()=>v.set(b));continue}let x=!1;if(window.MotionHandoffAnimation){const E=ab(e);if(E){const k=window.MotionHandoffAnimation(E,y,J);k!==null&&(g.startTime=k,x=!0)}}pu(e,y);const P=d??e.shouldReduceMotion;v.start(rh(y,v,b,P&&nb.has(y)?{type:!1}:g,e,x));const C=v.animation;C&&p.push(C)}if(i){const y=()=>J.update(()=>{i&&T3(e,i)});p.length?Promise.all(p).then(y):y()}return p}function hu(e,t,n={}){var c;const s=ks(e,t,n.type==="exit"?(c=e.presenceContext)==null?void 0:c.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(a=n.transitionOverride);const r=s?()=>Promise.all(rb(e,s,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(d=0)=>{const{delayChildren:u=0,staggerChildren:p,staggerDirection:h}=a;return M3(e,t,d,u,p,h,n)}:()=>Promise.resolve(),{when:o}=a;if(o){const[d,u]=o==="beforeChildren"?[r,i]:[i,r];return d().then(()=>u())}else return Promise.all([r(),i(n.delay)])}function M3(e,t,n=0,s=0,a=0,r=1,i){const o=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),o.push(hu(c,t,{...i,delay:n+(typeof s=="function"?0:s)+Jw(e.variantChildren,c,s,a,r)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(o)}function O3(e,t,n={}){e.notify("AnimationStart",t);let s;if(Array.isArray(t)){const a=t.map(r=>hu(e,r,n));s=Promise.all(a)}else if(typeof t=="string")s=hu(e,t,n);else{const a=typeof t=="function"?ks(e,t,n.custom):t;s=Promise.all(rb(e,a,n))}return s.then(()=>{e.notify("AnimationComplete",t)})}const I3={test:e=>e==="auto",parse:e=>e},ib=e=>t=>t.test(e),ob=[_a,z,Yt,nn,oN,iN,I3],Km=e=>ob.find(ib(e));function F3(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||xw(e):!0}const z3=new Set(["brightness","contrast","saturate","opacity"]);function L3(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[s]=n.match(Zp)||[];if(!s)return e;const a=n.replace(s,"");let r=z3.has(t)?1:0;return s!==n&&(r*=100),t+"("+r+a+")"}const V3=/\b([a-z-]*)\(.*?\)/gu,fu={...Rt,getAnimatableNone:e=>{const t=e.match(V3);return t?t.map(L3).join(" "):e}},mu={...Rt,getAnimatableNone:e=>{const t=Rt.parse(e);return Rt.createTransformer(e)(t.map(s=>typeof s=="number"?0:typeof s=="object"?{...s,alpha:1}:s))}},Gm={..._a,transform:Math.round},_3={rotate:nn,pathRotation:nn,rotateX:nn,rotateY:nn,rotateZ:nn,scale:_i,scaleX:_i,scaleY:_i,scaleZ:_i,skew:nn,skewX:nn,skewY:nn,distance:z,translateX:z,translateY:z,translateZ:z,x:z,y:z,z,perspective:z,transformPerspective:z,opacity:Kr,originX:Om,originY:Om,originZ:z},Zo={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,..._3,zIndex:Gm,fillOpacity:Kr,strokeOpacity:Kr,numOctaves:Gm},B3={...Zo,color:fe,backgroundColor:fe,outlineColor:fe,fill:fe,stroke:fe,borderColor:fe,borderTopColor:fe,borderRightColor:fe,borderBottomColor:fe,borderLeftColor:fe,filter:fu,WebkitFilter:fu,mask:mu,WebkitMask:mu},lb=e=>B3[e],H3=new Set([fu,mu]);function cb(e,t){let n=lb(e);return H3.has(n)||(n=Rt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const q3=new Set(["auto","none","0"]);function W3(e,t,n){let s=0,a;for(;s<e.length&&!a;){const r=e[s];typeof r=="string"&&!q3.has(r)&&Ra(r).values.length&&(a=e[s]),s++}if(a&&n)for(const r of t)e[r]=cb(n,a)}class $3 extends sh{constructor(t,n,s,a,r){super(t,n,s,a,r,!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 p=t[u];if(typeof p=="string"&&(p=p.trim(),Xp(p))){const h=tb(p,n.current);h!==void 0&&(t[u]=h),u===t.length-1&&(this.finalKeyframe=p)}}if(this.resolveNoneKeyframes(),!nb.has(s)||t.length!==2)return;const[a,r]=t,i=Km(a),o=Km(r),c=Mm(a),d=Mm(r);if(c!==d&&Ln[s]){this.needsMeasurement=!0;return}if(i!==o)if(Hm(i)&&Hm(o))for(let u=0;u<t.length;u++){const p=t[u];typeof p=="string"&&(t[u]=parseFloat(p))}else Ln[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,s=[];for(let a=0;a<t.length;a++)(t[a]===null||F3(t[a]))&&s.push(a);s.length&&W3(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=Ln[s](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const a=n[n.length-1];a!==void 0&&t.getValue(s,a).jump(a,!1)}measureEndState(){var o;const{element:t,name:n,unresolvedKeyframes:s}=this;if(!t||!t.current)return;const a=t.getValue(n);a&&a.jump(this.measuredOrigin,!1);const r=s.length-1,i=s[r];s[r]=Ln[n](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),(o=this.removedTransforms)!=null&&o.length&&this.removedTransforms.forEach(([c,d])=>{t.getValue(c).set(d)}),this.resolveNoneKeyframes()}}function db(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let s=document;const a=(n==null?void 0:n[e])??s.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e).filter(s=>s!=null)}const gu=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function U3(e){return yw(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:lh}=Rw(queueMicrotask,!1),Pt={x:!1,y:!1};function ub(){return Pt.x||Pt.y}function K3(e){return e==="x"||e==="y"?Pt[e]?null:(Pt[e]=!0,()=>{Pt[e]=!1}):Pt.x||Pt.y?null:(Pt.x=Pt.y=!0,()=>{Pt.x=Pt.y=!1})}function pb(e,t){const n=db(e),s=new AbortController,a={passive:!0,...t,signal:s.signal};return[n,a,()=>s.abort()]}function G3(e){return!(e.pointerType==="touch"||ub())}function Y3(e,t,n={}){const[s,a,r]=pb(e,n);return s.forEach(i=>{let o=!1,c=!1,d;const u=()=>{i.removeEventListener("pointerleave",y)},p=b=>{d&&(d(b),d=void 0),u()},h=b=>{o=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),c&&(c=!1,p(b))},m=()=>{o=!0,window.addEventListener("pointerup",h,a),window.addEventListener("pointercancel",h,a)},y=b=>{if(b.pointerType!=="touch"){if(o){c=!0;return}p(b)}},v=b=>{if(!G3(b))return;c=!1;const g=t(i,b);typeof g=="function"&&(d=g,i.addEventListener("pointerleave",y,a))};i.addEventListener("pointerenter",v,a),i.addEventListener("pointerdown",m,a)}),r}const hb=(e,t)=>t?e===t?!0:hb(e,t.parentElement):!1,ch=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Q3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function X3(e){return Q3.has(e.tagName)||e.isContentEditable===!0}const Z3=new Set(["INPUT","SELECT","TEXTAREA"]);function J3(e){return Z3.has(e.tagName)||e.isContentEditable===!0}const lo=new WeakSet;function Ym(e){return t=>{t.key==="Enter"&&e(t)}}function Ac(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const e5=(e,t)=>{const n=e.currentTarget;if(!n)return;const s=Ym(()=>{if(lo.has(n))return;Ac(n,"down");const a=Ym(()=>{Ac(n,"up")}),r=()=>Ac(n,"cancel");n.addEventListener("keyup",a,t),n.addEventListener("blur",r,t)});n.addEventListener("keydown",s,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),t)};function Qm(e){return ch(e)&&!ub()}const Xm=new WeakSet;function t5(e,t,n={}){const[s,a,r]=pb(e,n),i=o=>{const c=o.currentTarget;if(!Qm(o)||Xm.has(o))return;lo.add(c),n.stopPropagation&&Xm.add(o);const d=t(c,o),u=(m,y)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",h),lo.has(c)&&lo.delete(c),Qm(m)&&typeof d=="function"&&d(m,{success:y})},p=m=>{u(m,c===window||c===document||n.useGlobalTarget||hb(c,m.target))},h=m=>{u(m,!1)};window.addEventListener("pointerup",p,a),window.addEventListener("pointercancel",h,a)};return s.forEach(o=>{(n.useGlobalTarget?window:o).addEventListener("pointerdown",i,a),U3(o)&&(o.addEventListener("focus",d=>e5(d,a)),!X3(o)&&!o.hasAttribute("tabindex")&&(o.tabIndex=0))}),r}function dh(e){return yw(e)&&"ownerSVGElement"in e}const co=new WeakMap;let En;const fb=(e,t,n)=>(s,a)=>a&&a[0]?a[0][e+"Size"]:dh(s)&&"getBBox"in s?s.getBBox()[t]:s[n],n5=fb("inline","width","offsetWidth"),s5=fb("block","height","offsetHeight");function a5({target:e,borderBoxSize:t}){var n;(n=co.get(e))==null||n.forEach(s=>{s(e,{get width(){return n5(e,t)},get height(){return s5(e,t)}})})}function r5(e){e.forEach(a5)}function i5(){typeof ResizeObserver>"u"||(En=new ResizeObserver(r5))}function o5(e,t){En||i5();const n=db(e);return n.forEach(s=>{let a=co.get(s);a||(a=new Set,co.set(s,a)),a.add(t),En==null||En.observe(s)}),()=>{n.forEach(s=>{const a=co.get(s);a==null||a.delete(t),a!=null&&a.size||En==null||En.unobserve(s)})}}const uo=new Set;let ta;function l5(){ta=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};uo.forEach(t=>t(e))},window.addEventListener("resize",ta)}function c5(e){return uo.add(e),ta||l5(),()=>{uo.delete(e),!uo.size&&typeof ta=="function"&&(window.removeEventListener("resize",ta),ta=void 0)}}function Zm(e,t){return typeof e=="function"?c5(e):o5(e,t)}function d5(e){return dh(e)&&e.tagName==="svg"}const u5=[...ob,fe,Rt],p5=e=>u5.find(ib(e)),Jm=()=>({translate:0,scale:1,origin:0,originPoint:0}),na=()=>({x:Jm(),y:Jm()}),eg=()=>({min:0,max:0}),ye=()=>({x:eg(),y:eg()}),h5=new WeakMap;function Ml(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Gr(e){return typeof e=="string"||Array.isArray(e)}const uh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ph=["initial",...uh];function Ol(e){return Ml(e.animate)||ph.some(t=>Gr(e[t]))}function mb(e){return!!(Ol(e)||e.variants)}function f5(e,t,n){for(const s in t){const a=t[s],r=n[s];if(Te(a))e.addValue(s,a);else if(Te(r))e.addValue(s,Da(a,{owner:e}));else if(r!==a)if(e.hasValue(s)){const i=e.getValue(s);i.liveStyle===!0?i.jump(a):i.hasAnimated||i.set(a)}else{const i=e.getStaticValue(s);e.addValue(s,Da(i!==void 0?i:a,{owner:e}))}}for(const s in n)t[s]===void 0&&e.removeValue(s);return t}const yu={current:null},gb={current:!1},m5=typeof window<"u";function g5(){if(gb.current=!0,!!m5)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 tg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Jo={};function yb(e){Jo=e}function y5(){return Jo}class x5{scrapeMotionValuesFromProps(t,n,s){return{}}constructor({parent:t,props:n,presenceContext:s,reducedMotionConfig:a,skipAnimations:r,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=sh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const m=_e.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,J.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=a,this.skipAnimationsConfig=r,this.options=c,this.blockInitialAnimation=!!i,this.isControllingVariants=Ol(n),this.isVariantNode=mb(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:p,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const m in h){const y=h[m];d[m]!==void 0&&Te(y)&&y.set(d[m])}}mount(t){var n,s;if(this.hasBeenMounted)for(const a in this.initialValues)(n=this.values.get(a))==null||n.jump(this.initialValues[a]),this.latestValues[a]=this.initialValues[a];this.current=t,h5.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((a,r)=>this.bindToMotionValue(r,a)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(gb.current||g5(),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(),es(this.notifyUpdate),es(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&&Zw.has(t)&&this.current instanceof HTMLElement){const{factory:i,keyframes:o,times:c,ease:d,duration:u}=n.accelerate,p=new Qw({element:this.current,name:t,keyframes:o,times:c,ease:d,duration:st(u)}),h=i(p);this.valueSubscriptions.set(t,()=>{h(),p.cancel()});return}const s=Ha.has(t);s&&this.onBindTransform&&this.onBindTransform();const a=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&J.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;typeof window<"u"&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{a(),r&&r()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Jo){const n=Jo[t];if(!n)continue;const{isEnabled:s,Feature:a}=n;if(!this.features[t]&&a&&s(this.props)&&(this.features[t]=new a(this)),this.features[t]){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ye()}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<tg.length;s++){const a=tg[s];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const r="on"+a,i=t[r];i&&(this.propEventSubscriptions[a]=this.on(a,i))}this.prevMotionValues=f5(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=Da(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"&&(gw(s)||xw(s))?s=parseFloat(s):!p5(s)&&Rt.test(n)&&(s=cb(t,n)),this.setBaseTarget(t,Te(s)?s.get():s)),Te(s)?s.get():s}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var r;const{initial:n}=this.props;let s;if(typeof n=="string"||typeof n=="object"){const i=ih(this.props,n,(r=this.presenceContext)==null?void 0:r.custom);i&&(s=i[t])}if(n&&s!==void 0)return s;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!Te(a)?a:this.initialValues[t]!==void 0&&s===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Gp),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){lh.render(this.render)}}class xb extends x5{constructor(){super(...arguments),this.KeyframeResolver=$3}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;Te(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class rs{constructor(t){this.isMounted=!1,this.node=t}update(){}}function vb({top:e,left:t,right:n,bottom:s}){return{x:{min:t,max:n},y:{min:e,max:s}}}function v5({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function w5(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)||wb(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function wb(e){return ng(e.x)||ng(e.y)}function ng(e){return e&&e!=="0%"}function el(e,t,n){const s=e-n,a=t*s;return n+a}function sg(e,t,n,s,a){return a!==void 0&&(e=el(e,a,s)),el(e,n,s)+t}function vu(e,t=0,n=1,s,a){e.min=sg(e.min,t,n,s,a),e.max=sg(e.max,t,n,s,a)}function bb(e,{x:t,y:n}){vu(e.x,t.translate,t.scale,t.originPoint),vu(e.y,n.translate,n.scale,n.originPoint)}const ag=.999999999999,rg=1.0000000000001;function b5(e,t,n,s=!1){var o;const a=n.length;if(!a)return;t.x=t.y=1;let r,i;for(let c=0;c<a;c++){r=n[c],i=r.projectionDelta;const{visualElement:d}=r.options;d&&d.props.style&&d.props.style.display==="contents"||(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(Ht(e.x,-r.scroll.offset.x),Ht(e.y,-r.scroll.offset.y)),i&&(t.x*=i.x.scale,t.y*=i.y.scale,bb(e,i)),s&&ds(r.latestValues)&&po(e,r.latestValues,(o=r.layout)==null?void 0:o.layoutBox))}t.x<rg&&t.x>ag&&(t.x=1),t.y<rg&&t.y>ag&&(t.y=1)}function Ht(e,t){e.min+=t,e.max+=t}function ig(e,t,n,s,a=.5){const r=Z(e.min,e.max,a);vu(e,t,n,r,s)}function og(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function po(e,t,n){const s=n??e;ig(e.x,og(t.x,s.x),t.scaleX,t.scale,t.originX),ig(e.y,og(t.y,s.y),t.scaleY,t.scale,t.originY)}function Pb(e,t){return vb(w5(e.getBoundingClientRect(),t))}function P5(e,t,n){const s=Pb(e,n),{scroll:a}=t;return a&&(Ht(s.x,a.offset.x),Ht(s.y,a.offset.y)),s}const C5={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},E5=Ba.length;function j5(e,t,n){let s="",a=!0;for(let i=0;i<E5;i++){const o=Ba[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,Zo[o]);if(!d){a=!1;const p=C5[o]||o;s+=`${p}(${u}) `}n&&(t[o]=u)}}const r=e.pathRotation;return r&&(a=!1,s+=`rotate(${gu(r,Zo.pathRotation)}) `),s=s.trim(),n?s=n(t,a?"":s):a&&(s="none"),s}function hh(e,t,n){const{style:s,vars:a,transformOrigin:r}=e;let i=!1,o=!1;for(const c in t){const d=t[c];if(Ha.has(c)){i=!0;continue}else if(Mw(c)){a[c]=d;continue}else{const u=gu(d,Zo[c]);c.startsWith("origin")?(o=!0,r[c]=u):s[c]=u}}if(t.transform||(i||n?s.transform=j5(t,e.transform,n):s.transform&&(s.transform="none")),o){const{originX:c="50%",originY:d="50%",originZ:u=0}=r;s.transformOrigin=`${c} ${d} ${u}`}}function Cb(e,{style:t,vars:n},s,a){const r=e.style;let i;for(i in t)r[i]=t[i];a==null||a.applyProjectionStyles(r,s);for(i in n)r.setProperty(i,n[i])}function lg(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const sr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(z.test(e))e=parseFloat(e);else return e;const n=lg(e,t.target.x),s=lg(e,t.target.y);return`${n}% ${s}%`}},k5={correct:(e,{treeScale:t,projectionDelta:n})=>{const s=e,a=Rt.parse(e);if(a.length>5)return s;const r=Rt.createTransformer(e),i=typeof a[0]!="number"?1:0,o=n.x.scale*t.x,c=n.y.scale*t.y;a[0+i]/=o,a[1+i]/=c;const d=Z(o,c,.5);return typeof a[2+i]=="number"&&(a[2+i]/=d),typeof a[3+i]=="number"&&(a[3+i]/=d),r(a)}},wu={borderRadius:{...sr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:sr,borderTopRightRadius:sr,borderBottomLeftRadius:sr,borderBottomRightRadius:sr,boxShadow:k5};function Eb(e,{layout:t,layoutId:n}){return Ha.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!wu[e]||e==="opacity")}function fh(e,t,n){var i;const s=e.style,a=t==null?void 0:t.style,r={};if(!s)return r;for(const o in s)(Te(s[o])||a&&Te(a[o])||Eb(o,e)||((i=n==null?void 0:n.getValue(o))==null?void 0:i.liveStyle)!==void 0)&&(r[o]=s[o]);return r}function S5(e){return window.getComputedStyle(e)}class A5 extends xb{constructor(){super(...arguments),this.type="html",this.renderInstance=Cb}readValueFromInstance(t,n){var s;if(Ha.has(n))return(s=this.projection)!=null&&s.isProjecting?ru(n):KN(t,n);{const a=S5(t),r=(Mw(n)?a.getPropertyValue(n):a[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Pb(t,n)}build(t,n,s){hh(t,n,s.transformTemplate)}scrapeMotionValuesFromProps(t,n,s){return fh(t,n,s)}}const T5={offset:"stroke-dashoffset",array:"stroke-dasharray"},N5={offset:"strokeDashoffset",array:"strokeDasharray"};function R5(e,t,n=1,s=0,a=!0){e.pathLength=1;const r=a?T5:N5;e[r.offset]=`${-s}`,e[r.array]=`${t} ${n}`}const D5=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function jb(e,{attrX:t,attrY:n,attrScale:s,pathLength:a,pathSpacing:r=1,pathOffset:i=0,...o},c,d,u){if(hh(e,o,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:h}=e;p.transform&&(h.transform=p.transform,delete p.transform),(h.transform||p.transformOrigin)&&(h.transformOrigin=p.transformOrigin??"50% 50%",delete p.transformOrigin),h.transform&&(h.transformBox=(u==null?void 0:u.transformBox)??"fill-box",delete p.transformBox);for(const m of D5)p[m]!==void 0&&(h[m]=p[m],delete p[m]);t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),s!==void 0&&(p.scale=s),a!==void 0&&R5(p,a,r,i,!1)}const kb=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"]),Sb=e=>typeof e=="string"&&e.toLowerCase()==="svg";function M5(e,t,n,s){Cb(e,t,void 0,s);for(const a in t.attrs)e.setAttribute(kb.has(a)?a:oh(a),t.attrs[a])}function Ab(e,t,n){const s=fh(e,t,n);for(const a in e)if(Te(e[a])||Te(t[a])){const r=Ba.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;s[r]=e[a]}return s}class O5 extends xb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ye}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Ha.has(n)){const s=lb(n);return s&&s.default||0}return n=kb.has(n)?n:oh(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,s){return Ab(t,n,s)}build(t,n,s){jb(t,n,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(t,n,s,a){M5(t,n,s,a)}mount(t){this.isSVGTag=Sb(t.tagName),super.mount(t)}}const I5=ph.length;function Tb(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Tb(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<I5;n++){const s=ph[n],a=e.props[s];(Gr(a)||a===!1)&&(t[s]=a)}return t}function Nb(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 F5=[...uh].reverse(),z5=uh.length;function L5(e){return t=>Promise.all(t.map(({animation:n,options:s})=>O3(e,n,s)))}function V5(e){let t=L5(e),n=cg(),s=!0,a=!1;const r=d=>(u,p)=>{var m;const h=ks(e,p,d==="exit"?(m=e.presenceContext)==null?void 0:m.custom:void 0);if(h){const{transition:y,transitionEnd:v,...b}=h;u={...u,...b,...v}}return u};function i(d){t=d(e)}function o(d){const{props:u}=e,p=Tb(e.parent)||{},h=[],m=new Set;let y={},v=1/0;for(let g=0;g<z5;g++){const f=F5[g],x=n[f],P=u[f]!==void 0?u[f]:p[f],C=Gr(P),E=f===d?x.isActive:null;E===!1&&(v=g);let k=P===p[f]&&P!==u[f]&&C;if(k&&(s||a)&&e.manuallyAnimateOnMount&&(k=!1),x.protectedKeys={...y},!x.isActive&&E===null||!P&&!x.prevProp||Ml(P)||typeof P=="boolean")continue;if(f==="exit"&&x.isActive&&E!==!0){x.prevResolvedValues&&(y={...y,...x.prevResolvedValues});continue}const j=_5(x.prevProp,P);let N=j||f===d&&x.isActive&&!k&&C||g>v&&C,T=!1;const F=Array.isArray(P)?P:[P];let O=F.reduce(r(f),{});E===!1&&(O={});const{prevResolvedValues:q={}}=x,M={...q,...O},W=S=>{N=!0,m.has(S)&&(T=!0,m.delete(S)),x.needsAnimating[S]=!0;const D=e.getValue(S);D&&(D.liveStyle=!1)};for(const S in M){const D=O[S],L=q[S];if(y.hasOwnProperty(S))continue;let H=!1;uu(D)&&uu(L)?H=!Nb(D,L)||j:H=D!==L,H?D!=null?W(S):m.add(S):D!==void 0&&m.has(S)?W(S):x.protectedKeys[S]=!0}x.prevProp=P,x.prevResolvedValues=O,x.isActive&&(y={...y,...O}),(s||a)&&e.blockInitialAnimation&&(N=!1);const V=k&&j;N&&(!V||T)&&h.push(...F.map(S=>{const D={type:f};if(typeof S=="string"&&(s||a)&&!V&&e.manuallyAnimateOnMount&&e.parent){const{parent:L}=e,H=ks(L,S);if(L.enteringChildren&&H){const{delayChildren:Q}=H.transition||{};D.delay=Jw(L.enteringChildren,e,Q)}}return{animation:S,options:D}}))}if(m.size){const g={};if(typeof u.initial!="boolean"){const f=ks(e,Array.isArray(u.initial)?u.initial[0]:u.initial);f&&f.transition&&(g.transition=f.transition)}m.forEach(f=>{const x=e.getBaseTarget(f),P=e.getValue(f);P&&(P.liveStyle=!0),g[f]=x??null}),h.push({animation:g})}let b=!!h.length;return s&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(b=!1),s=!1,a=!1,b?t(h):Promise.resolve()}function c(d,u){var h;if(n[d].isActive===u)return Promise.resolve();(h=e.variantChildren)==null||h.forEach(m=>{var y;return(y=m.animationState)==null?void 0:y.setActive(d,u)}),n[d].isActive=u;const p=o(d);for(const m in n)n[m].protectedKeys={};return p}return{animateChanges:o,setActive:c,setAnimateFunction:i,getState:()=>n,reset:()=>{n=cg(),a=!0}}}function _5(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Nb(t,e):!1}function os(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function cg(){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 bt(e,t){bu(e.x,t.x),bu(e.y,t.y)}function dg(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const Rb=1e-4,B5=1-Rb,H5=1+Rb,Db=.01,q5=0-Db,W5=0+Db;function Be(e){return e.max-e.min}function $5(e,t,n){return Math.abs(e-t)<=n}function ug(e,t,n,s=.5){e.origin=s,e.originPoint=Z(t.min,t.max,e.origin),e.scale=Be(n)/Be(t),e.translate=Z(n.min,n.max,e.origin)-e.originPoint,(e.scale>=B5&&e.scale<=H5||isNaN(e.scale))&&(e.scale=1),(e.translate>=q5&&e.translate<=W5||isNaN(e.translate))&&(e.translate=0)}function Pr(e,t,n,s){ug(e.x,t.x,n.x,s?s.originX:void 0),ug(e.y,t.y,n.y,s?s.originY:void 0)}function pg(e,t,n,s=0){const a=s?Z(n.min,n.max,s):n.min;e.min=a+t.min,e.max=e.min+Be(t)}function U5(e,t,n,s){pg(e.x,t.x,n.x,s==null?void 0:s.x),pg(e.y,t.y,n.y,s==null?void 0:s.y)}function hg(e,t,n,s=0){const a=s?Z(n.min,n.max,s):n.min;e.min=t.min-a,e.max=e.min+Be(t)}function tl(e,t,n,s){hg(e.x,t.x,n.x,s==null?void 0:s.x),hg(e.y,t.y,n.y,s==null?void 0:s.y)}function fg(e,t,n,s,a){return e-=t,e=el(e,1/n,s),a!==void 0&&(e=el(e,1/a,s)),e}function K5(e,t=0,n=1,s=.5,a,r=e,i=e){if(Yt.test(t)&&(t=parseFloat(t),t=Z(i.min,i.max,t/100)-i.min),typeof t!="number")return;let o=Z(r.min,r.max,s);e===r&&(o-=t),e.min=fg(e.min,t,n,o,a),e.max=fg(e.max,t,n,o,a)}function mg(e,t,[n,s,a],r,i){K5(e,t[n],t[s],t[a],t.scale,r,i)}const G5=["x","scaleX","originX"],Y5=["y","scaleY","originY"];function gg(e,t,n,s){mg(e.x,t,G5,n?n.x:void 0,s?s.x:void 0),mg(e.y,t,Y5,n?n.y:void 0,s?s.y:void 0)}function yg(e){return e.translate===0&&e.scale===1}function Mb(e){return yg(e.x)&&yg(e.y)}function xg(e,t){return e.min===t.min&&e.max===t.max}function Q5(e,t){return xg(e.x,t.x)&&xg(e.y,t.y)}function vg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Ob(e,t){return vg(e.x,t.x)&&vg(e.y,t.y)}function wg(e){return Be(e.x)/Be(e.y)}function bg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Lt(e){return[e("x"),e("y")]}function X5(e,t,n){let s="";const a=e.x.translate/t.x,r=e.y.translate/t.y,i=(n==null?void 0:n.z)||0;if((a||r||i)&&(s=`translate3d(${a}px, ${r}px, ${i}px) `),(t.x!==1||t.y!==1)&&(s+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:d,rotate:u,pathRotation:p,rotateX:h,rotateY:m,skewX:y,skewY:v}=n;d&&(s=`perspective(${d}px) ${s}`),u&&(s+=`rotate(${u}deg) `),p&&(s+=`rotate(${p}deg) `),h&&(s+=`rotateX(${h}deg) `),m&&(s+=`rotateY(${m}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 Ib=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],Z5=Ib.length,Pg=e=>typeof e=="string"?parseFloat(e):e,Cg=e=>typeof e=="number"||z.test(e);function J5(e,t,n,s,a,r){a?(e.opacity=Z(0,n.opacity??1,e4(s)),e.opacityExit=Z(t.opacity??1,0,t4(s))):r&&(e.opacity=Z(t.opacity??1,n.opacity??1,s));for(let i=0;i<Z5;i++){const o=Ib[i];let c=Eg(t,o),d=Eg(n,o);if(c===void 0&&d===void 0)continue;c||(c=0),d||(d=0),c===0||d===0||Cg(c)===Cg(d)?(e[o]=Math.max(Z(Pg(c),Pg(d),s),0),(Yt.test(d)||Yt.test(c))&&(e[o]+="%")):e[o]=d}(t.rotate||n.rotate)&&(e.rotate=Z(t.rotate||0,n.rotate||0,s))}function Eg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const e4=Fb(0,.5,Sw),t4=Fb(.5,.95,mt);function Fb(e,t,n){return s=>s<e?0:s>t?1:n(Ur(e,t,s))}function n4(e,t,n){const s=Te(e)?e:Da(e);return s.start(rh("",s,t,n)),s.animation}function Yr(e,t,n,s={passive:!0}){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n)}const s4=(e,t)=>e.depth-t.depth;class a4{constructor(){this.children=[],this.isDirty=!1}add(t){Up(this.children,t),this.isDirty=!0}remove(t){Ko(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(s4),this.isDirty=!1,this.children.forEach(t)}}function r4(e,t){const n=_e.now(),s=({timestamp:a})=>{const r=a-n;r>=t&&(es(s),e(r-t))};return J.setup(s,!0),()=>es(s)}function ho(e){return Te(e)?e.get():e}class i4{constructor(){this.members=[]}add(t){Up(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 a=s.instance;(!a||a.isConnected===!1)&&!s.snapshot&&(Ko(this.members,s),s.unmount())}t.scheduleRender()}remove(t){if(Ko(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 a=this.members[s];if(a.isPresent!==!1&&((n=a.instance)==null?void 0:n.isConnected)!==!1)return this.promote(a),!0}return!1}promote(t,n){var a;const s=this.lead;if(t!==s&&(this.prevLead=s,this.lead=t,t.show(),s)){s.updateSnapshot(),t.scheduleRender();const{layoutDependency:r}=s.options,{layoutDependency:i}=t.options;(r===void 0||r!==i)&&(t.resumeFrom=s,n&&(s.preserveOpacity=!0),s.snapshot&&(t.snapshot=s.snapshot,t.snapshot.latestValues=s.animationValues||s.latestValues),(a=t.root)!=null&&a.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,s,a,r,i;(s=(n=t.options).onExitComplete)==null||s.call(n),(i=(a=t.resumingFrom)==null?void 0:(r=a.options).onExitComplete)==null||i.call(r)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const fo={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Nc=["","X","Y","Z"],o4=1e3;let l4=0;function Rc(e,t,n,s){const{latestValues:a}=t;a[e]&&(n[e]=a[e],t.setStaticValue(e,0),s&&(s[e]=0))}function zb(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=ab(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:a,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",J,!(a||r))}const{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&zb(s)}function Lb({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:s,resetTransform:a}){return class{constructor(i={},o=t==null?void 0:t()){this.id=l4++,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(u4),this.nodes.forEach(y4),this.nodes.forEach(x4),this.nodes.forEach(p4)},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 a4)}addEventListener(i,o){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new Gp),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=dh(i)&&!d5(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,p=0;const h=()=>this.root.updateBlockedByResize=!1;J.read(()=>{p=window.innerWidth}),e(i,()=>{const m=window.innerWidth;m!==p&&(p=m,this.root.updateBlockedByResize=!0,u&&u(),u=r4(h,250),fo.hasAnimatedSinceResize&&(fo.hasAnimatedSinceResize=!1,this.nodes.forEach(Sg)))})}o&&this.root.registerSharedNode(o,this),this.options.animate!==!1&&d&&(o||c)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:p,hasRelativeLayoutChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||d.getDefaultTransition()||C4,{onLayoutAnimationStart:v,onLayoutAnimationComplete:b}=d.getProps(),g=!this.targetLayout||!Ob(this.targetLayout,m),f=!p&&h;if(this.options.layoutRoot||this.resumeFrom||f||p&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const x={...ah(y,"layout"),onPlay:v,onComplete:b};(d.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x),this.setAnimationOrigin(u,f,x.path)}else p||Sg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),es(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(v4),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&&zb(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const p=this.path[u];p.shouldResetTransform=!0,(typeof p.latestValues.x=="string"||typeof p.latestValues.y=="string")&&(p.isLayoutDirty=!0),p.updateScroll("snapshot"),p.options.layoutRoot&&p.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(f4),this.nodes.forEach(jg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(kg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(m4),this.nodes.forEach(g4),this.nodes.forEach(c4),this.nodes.forEach(d4)):this.nodes.forEach(kg),this.clearAllSnapshots();const o=_e.now();Ae.delta=Qt(0,1e3/60,o-Ae.timestamp),Ae.timestamp=o,Ae.isProcessing=!0,Pc.update.process(Ae),Pc.preRender.process(Ae),Pc.render.process(Ae),Ae.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,lh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(h4),this.sharedNodes.forEach(w4)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,J.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){J.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Be(this.snapshot.measuredBox.x)&&!Be(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=ye()),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(!a)return;const i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,o=this.projectionDelta&&!Mb(this.projectionDelta),c=this.getTransformTemplate(),d=c?c(this.latestValues,""):void 0,u=d!==this.prevTransformTemplateValue;i&&this.instance&&(o||ds(this.latestValues)||u)&&(a(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)),E4(c),{animationId:this.root.animationId,measuredBox:o,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var d;const{visualElement:i}=this.options;if(!i)return ye();const o=i.measureViewportBox();if(!(((d=this.scroll)==null?void 0:d.wasRoot)||this.path.some(j4))){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=ye();if(bt(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:p,options:h}=u;u!==this.root&&p&&h.layoutScroll&&(p.wasRoot&&bt(o,i),Ht(o.x,p.offset.x),Ht(o.y,p.offset.y))}return o}applyTransform(i,o=!1,c){var u,p;const d=c||ye();bt(d,i);for(let h=0;h<this.path.length;h++){const m=this.path[h];!o&&m.options.layoutScroll&&m.scroll&&m!==m.root&&(Ht(d.x,-m.scroll.offset.x),Ht(d.y,-m.scroll.offset.y)),ds(m.latestValues)&&po(d,m.latestValues,(u=m.layout)==null?void 0:u.layoutBox)}return ds(this.latestValues)&&po(d,this.latestValues,(p=this.layout)==null?void 0:p.layoutBox),d}removeTransform(i){var c;const o=ye();bt(o,i);for(let d=0;d<this.path.length;d++){const u=this.path[d];if(!ds(u.latestValues))continue;let p;u.instance&&(xu(u.latestValues)&&u.updateSnapshot(),p=ye(),bt(p,u.measurePageBox())),gg(o,u.latestValues,(c=u.snapshot)==null?void 0:c.layoutBox,p)}return ds(this.latestValues)&&gg(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!==Ae.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){var m;const o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==o;if(!(i||c&&this.isSharedProjectionDirty||this.isProjectionDirty||(m=this.parent)!=null&&m.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:p}=this.options;if(!this.layout||!(u||p))return;this.resolvedRelativeTargetAt=Ae.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ye(),this.targetWithTransforms=ye()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),U5(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):bt(this.target,this.layout.layoutBox),bb(this.target,this.targetDelta)):bt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||xu(this.parent.latestValues)||wb(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=ye(),this.relativeTargetOrigin=ye(),tl(this.relativeTargetOrigin,o,c,this.options.layoutAnchor||void 0),bt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var y;const i=this.getLead(),o=!!this.resumingFrom||this!==i;let c=!0;if((this.isProjectionDirty||(y=this.parent)!=null&&y.isProjectionDirty)&&(c=!1),o&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Ae.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;bt(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,h=this.treeScale.y;b5(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=ye());const{target:m}=i;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(dg(this.prevProjectionDelta.x,this.projectionDelta.x),dg(this.prevProjectionDelta.y,this.projectionDelta.y)),Pr(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==h||!bg(this.projectionDelta.x,this.prevProjectionDelta.x)||!bg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){var o;if((o=this.options.visualElement)==null||o.scheduleRender(),i){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=na(),this.projectionDelta=na(),this.projectionDeltaWithTransform=na()}setAnimationOrigin(i,o=!1,c){const d=this.snapshot,u=d?d.latestValues:{},p={...this.latestValues},h=na();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!o;const m=ye(),y=d?d.source:void 0,v=this.layout?this.layout.source:void 0,b=y!==v,g=this.getStack(),f=!g||g.members.length<=1,x=!!(b&&!f&&this.options.crossfade===!0&&!this.path.some(P4));this.animationProgress=0;let P;const C=c==null?void 0:c.interpolateProjection(i);this.mixTargetDelta=E=>{const k=E/1e3,j=C==null?void 0:C(k);j?(h.x.translate=j.x,h.x.scale=Z(i.x.scale,1,k),h.x.origin=i.x.origin,h.x.originPoint=i.x.originPoint,h.y.translate=j.y,h.y.scale=Z(i.y.scale,1,k),h.y.origin=i.y.origin,h.y.originPoint=i.y.originPoint):(Ag(h.x,i.x,k),Ag(h.y,i.y,k)),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(tl(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),b4(this.relativeTarget,this.relativeTargetOrigin,m,k),P&&Q5(this.relativeTarget,P)&&(this.isProjectionDirty=!1),P||(P=ye()),bt(P,this.relativeTarget)),b&&(this.animationValues=p,J5(p,u,this.latestValues,k,x,f)),j&&j.rotate!==void 0&&(this.animationValues||(this.animationValues=p),this.animationValues.pathRotation=j.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},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&&(es(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=J.update(()=>{fo.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Da(0)),this.motionValue.jump(0,!1),this.currentAnimation=n4(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(o4),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&&Vb(this.options.animationType,this.layout.layoutBox,d.layoutBox)){c=this.target||ye();const p=Be(this.layout.layoutBox.x);c.x.min=i.target.x.min,c.x.max=c.x.min+p;const h=Be(this.layout.layoutBox.y);c.y.min=i.target.y.min,c.y.max=c.y.min+h}bt(o,c),po(o,u),Pr(this.projectionDeltaWithTransform,this.layoutCorrected,o,u)}}registerSharedNode(i,o){this.sharedNodes.has(i)||this.sharedNodes.set(i,new i4),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<Nc.length;u++)Rc(`rotate${Nc[u]}`,i,d,this.animationValues),Rc(`skew${Nc[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=ho(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=ho(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 p=X5(this.projectionDeltaWithTransform,this.treeScale,u);c&&(p=c(u,p)),i.transform=p;const{x:h,y:m}=this.projectionDelta;i.transformOrigin=`${h.origin*100}% ${m.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],f=p==="none"?u[y]:v(u[y],d);if(b){const x=b.length;for(let P=0;P<x;P++)i[b[P]]=f}else g?this.options.visualElement.renderState.vars[y]=f:i[y]=f}this.options.layoutId&&(i.pointerEvents=d===this?ho(o==null?void 0:o.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>{var o;return(o=i.currentAnimation)==null?void 0:o.stop()}),this.root.nodes.forEach(jg),this.root.sharedNodes.clear()}}}function c4(e){e.updateLayout()}function d4(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:a}=e.layout,{animationType:r}=e.options,i=t.source!==e.layout.source;if(r==="size")Lt(p=>{const h=i?t.measuredBox[p]:t.layoutBox[p],m=Be(h);h.min=s[p].min,h.max=h.min+m});else if(r==="x"||r==="y"){const p=r==="x"?"y":"x";bu(i?t.measuredBox[p]:t.layoutBox[p],s[p])}else Vb(r,t.layoutBox,s)&&Lt(p=>{const h=i?t.measuredBox[p]:t.layoutBox[p],m=Be(s[p]);h.max=h.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[p].max=e.relativeTarget[p].min+m)});const o=na();Pr(o,s,t.layoutBox);const c=na();i?Pr(c,e.applyTransform(a,!0),t.measuredBox):Pr(c,s,t.layoutBox);const d=!Mb(o);let u=!1;if(!e.resumeFrom){const p=e.getClosestProjectingParent();if(p&&!p.resumeFrom){const{snapshot:h,layout:m}=p;if(h&&m){const y=e.options.layoutAnchor||void 0,v=ye();tl(v,t.layoutBox,h.layoutBox,y);const b=ye();tl(b,s,m.layoutBox,y),Ob(v,b)||(u=!0),p.options.layoutRoot&&(e.relativeTarget=b,e.relativeTargetOrigin=v,e.relativeParent=p)}}}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 u4(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 p4(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function h4(e){e.clearSnapshot()}function jg(e){e.clearMeasurements()}function f4(e){e.isLayoutDirty=!0,e.updateLayout()}function kg(e){e.isLayoutDirty=!1}function m4(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function g4(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Sg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function y4(e){e.resolveTargetDelta()}function x4(e){e.calcProjection()}function v4(e){e.resetSkewAndRotation()}function w4(e){e.removeLeadSnapshot()}function Ag(e,t,n){e.translate=Z(t.translate,0,n),e.scale=Z(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Tg(e,t,n,s){e.min=Z(t.min,n.min,s),e.max=Z(t.max,n.max,s)}function b4(e,t,n,s){Tg(e.x,t.x,n.x,s),Tg(e.y,t.y,n.y,s)}function P4(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const C4={duration:.45,ease:[.4,0,.1,1]},Ng=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Rg=Ng("applewebkit/")&&!Ng("chrome/")?Math.round:mt;function Dg(e){e.min=Rg(e.min),e.max=Rg(e.max)}function E4(e){Dg(e.x),Dg(e.y)}function Vb(e,t,n){return e==="position"||e==="preserve-aspect"&&!$5(wg(t),wg(n),.2)}function j4(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const k4=Lb({attachResizeListener:(e,t)=>Yr(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}),Dc={current:void 0},_b=Lb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Dc.current){const e=new k4({});e.mount(window),e.setOptions({layoutScroll:!0}),Dc.current=e}return Dc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Bb=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function S4(e=!0){const t=w.useContext($p);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:s,register:a}=t,r=w.useId();w.useEffect(()=>{if(e)return a(r)},[e]);const i=w.useCallback(()=>e&&s&&s(r),[r,s,e]);return!n&&s?[!1,i]:[!0]}const Hb=w.createContext({strict:!1}),Mg={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 Og=!1;function A4(){if(Og)return;const e={};for(const t in Mg)e[t]={isEnabled:n=>Mg[t].some(s=>!!n[s])};yb(e),Og=!0}function qb(){return A4(),y5()}function T4(e){const t=qb();for(const n in e)t[n]={...t[n],...e[n]};yb(t)}const N4=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 nl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||N4.has(e)}let Wb=e=>!nl(e);function R4(e){typeof e=="function"&&(Wb=t=>t.startsWith("on")?!nl(t):e(t))}try{R4(require("@emotion/is-prop-valid").default)}catch{}function D4(e,t,n){const s={};for(const a in e)a==="values"&&typeof e.values=="object"||Te(e[a])||(Wb(a)||n===!0&&nl(a)||!t&&!nl(a)||e.draggable&&a.startsWith("onDrag"))&&(s[a]=e[a]);return s}const Il=w.createContext({});function M4(e,t){if(Ol(e)){const{initial:n,animate:s}=e;return{initial:n===!1||Gr(n)?n:void 0,animate:Gr(s)?s:void 0}}return e.inherit!==!1?t:{}}function O4(e){const{initial:t,animate:n}=M4(e,w.useContext(Il));return w.useMemo(()=>({initial:t,animate:n}),[Ig(t),Ig(n)])}function Ig(e){return Array.isArray(e)?e.join(" "):e}const mh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function $b(e,t,n){for(const s in t)!Te(t[s])&&!Eb(s,n)&&(e[s]=t[s])}function I4({transformTemplate:e},t){return w.useMemo(()=>{const n=mh();return hh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function F4(e,t){const n=e.style||{},s={};return $b(s,n,e),Object.assign(s,I4(e,t)),s}function z4(e,t){const n={},s=F4(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 Ub=()=>({...mh(),attrs:{}});function L4(e,t,n,s){const a=w.useMemo(()=>{const r=Ub();return jb(r,t,Sb(s),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};$b(r,e.style,e),a.style={...r,...a.style}}return a}const V4=["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 gh(e){return typeof e!="string"||e.includes("-")?!1:!!(V4.indexOf(e)>-1||/[A-Z]/u.test(e))}function _4(e,t,n,{latestValues:s},a,r=!1,i){const c=(i??gh(e)?L4:z4)(t,s,a,e),d=D4(t,typeof e=="string",r),u=e!==w.Fragment?{...d,...c,ref:n}:{},{children:p}=t,h=w.useMemo(()=>Te(p)?p.get():p,[p]);return w.createElement(e,{...u,children:h})}function B4({scrapeMotionValuesFromProps:e,createRenderState:t},n,s,a){return{latestValues:H4(n,s,a,e),renderState:t()}}function H4(e,t,n,s){const a={},r=s(e,{});for(const h in r)a[h]=ho(r[h]);let{initial:i,animate:o}=e;const c=Ol(e),d=mb(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 p=u?o:i;if(p&&typeof p!="boolean"&&!Ml(p)){const h=Array.isArray(p)?p:[p];for(let m=0;m<h.length;m++){const y=ih(e,h[m]);if(y){const{transitionEnd:v,transition:b,...g}=y;for(const f in g){let x=g[f];if(Array.isArray(x)){const P=u?x.length-1:0;x=x[P]}x!==null&&(a[f]=x)}for(const f in v)a[f]=v[f]}}}return a}const Kb=e=>(t,n)=>{const s=w.useContext(Il),a=w.useContext($p),r=()=>B4(e,t,s,a);return n?r():_T(r)},q4=Kb({scrapeMotionValuesFromProps:fh,createRenderState:mh}),W4=Kb({scrapeMotionValuesFromProps:Ab,createRenderState:Ub}),$4=Symbol.for("motionComponentSymbol");function U4(e,t,n){const s=w.useRef(n);w.useInsertionEffect(()=>{s.current=n});const a=w.useRef(null);return w.useCallback(r=>{var o;r&&((o=e.onMount)==null||o.call(e,r)),t&&(r?t.mount(r):t.unmount());const i=s.current;if(typeof i=="function")if(r){const c=i(r);typeof c=="function"&&(a.current=c)}else a.current?(a.current(),a.current=null):i(r);else i&&(i.current=r)},[t])}const Gb=w.createContext({});function Bs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function K4(e,t,n,s,a,r){var x,P;const{visualElement:i}=w.useContext(Il),o=w.useContext(Hb),c=w.useContext($p),d=w.useContext(Bb),u=d.reducedMotion,p=d.skipAnimations,h=w.useRef(null),m=w.useRef(!1);s=s||o.renderer,!h.current&&s&&(h.current=s(e,{visualState:t,parent:i,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:p,isSVG:r}),m.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));const y=h.current,v=w.useContext(Gb);y&&!y.projection&&a&&(y.type==="html"||y.type==="svg")&&G4(h.current,n,a,v);const b=w.useRef(!1);w.useInsertionEffect(()=>{y&&b.current&&y.update(n,c)});const g=n[sb],f=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 HT(()=>{m.current=!0,y&&(b.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),f.current&&y.animationState&&y.animationState.animateChanges())}),w.useEffect(()=>{y&&(!f.current&&y.animationState&&y.animationState.animateChanges(),f.current&&(queueMicrotask(()=>{var C;(C=window.MotionHandoffMarkAsComplete)==null||C.call(window,g)}),f.current=!1),y.enteringChildren=void 0)}),y}function G4(e,t,n,s){const{layoutId:a,layout:r,drag:i,dragConstraints:o,layoutScroll:c,layoutRoot:d,layoutAnchor:u,layoutCrossfade:p}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Yb(e.parent)),e.projection.setOptions({layoutId:a,layout:r,alwaysMeasureLayout:!!i||o&&Bs(o),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:s,crossfade:p,layoutScroll:c,layoutRoot:d,layoutAnchor:u})}function Yb(e){if(e)return e.options.allowProjection!==!1?e.projection:Yb(e.parent)}function Mc(e,{forwardMotionProps:t=!1,type:n}={},s,a){s&&T4(s);const r=n?n==="svg":gh(e),i=r?W4:q4;function o(d,u){let p;const h={...w.useContext(Bb),...d,layoutId:Y4(d)},{isStatic:m}=h,y=O4(d),v=i(d,m);if(!m&&typeof window<"u"){Q4();const b=X4(h);p=b.MeasureLayout,y.visualElement=K4(e,v,h,a,b.ProjectionNode,r)}return l.jsxs(Il.Provider,{value:y,children:[p&&y.visualElement?l.jsx(p,{visualElement:y.visualElement,...h}):null,_4(e,d,U4(v,y.visualElement,u),v,m,t,r)]})}o.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=w.forwardRef(o);return c[$4]=e,c}function Y4({layoutId:e}){const t=w.useContext(mw).id;return t&&e!==void 0?t+"-"+e:e}function Q4(e,t){w.useContext(Hb).strict}function X4(e){const t=qb(),{drag:n,layout:s}=t;if(!n&&!s)return{};const a={...n,...s};return{MeasureLayout:n!=null&&n.isEnabled(e)||s!=null&&s.isEnabled(e)?a.MeasureLayout:void 0,ProjectionNode:a.ProjectionNode}}function Z4(e,t){if(typeof Proxy>"u")return Mc;const n=new Map,s=(r,i)=>Mc(r,i,e,t),a=(r,i)=>s(r,i);return new Proxy(a,{get:(r,i)=>i==="create"?s:(n.has(i)||n.set(i,Mc(i,void 0,e,t)),n.get(i))})}const J4=(e,t)=>t.isSVG??gh(e)?new O5(t):new A5(t,{allowProjection:e!==w.Fragment});class eR extends rs{constructor(t){super(t),t.animationState||(t.animationState=V5(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Ml(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 tR=0;class nR extends rs{constructor(){super(...arguments),this.id=tR++,this.isExitComplete=!1}update(){var r;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=ks(this.node,i,o);if(c){const{transition:d,transitionEnd:u,...p}=c;for(const h in p)(r=this.node.getValue(h))==null||r.jump(p[h])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const a=this.node.animationState.setActive("exit",!t);n&&!t&&a.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 sR={animation:{Feature:eR},exit:{Feature:nR}};function hi(e){return{point:{x:e.pageX,y:e.pageY}}}const aR=e=>t=>ch(t)&&e(t,hi(t));function Cr(e,t,n,s){return Yr(e,t,aR(n),s)}const Qb=({current:e})=>e?e.ownerDocument.defaultView:null,Fg=(e,t)=>Math.abs(e-t);function rR(e,t){const n=Fg(e.x,t.x),s=Fg(e.y,t.y);return Math.sqrt(n**2+s**2)}const zg=new Set(["auto","scroll"]);class Xb{constructor(t,n,{transformPagePoint:s,contextWindow:a=window,dragSnapToOrigin:r=!1,distanceThreshold:i=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=m=>{this.handleScroll(m.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Bi(this.lastRawMoveEventInfo,this.transformPagePoint));const m=Oc(this.lastMoveEventInfo,this.history),y=this.startEvent!==null,v=rR(m.offset,{x:0,y:0})>=this.distanceThreshold;if(!y&&!v)return;const{point:b}=m,{timestamp:g}=Ae;this.history.push({...b,timestamp:g});const{onStart:f,onMove:x}=this.handlers;y||(f&&f(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,m)},this.handlePointerMove=(m,y)=>{this.lastMoveEvent=m,this.lastRawMoveEventInfo=y,this.lastMoveEventInfo=Bi(y,this.transformPagePoint),J.update(this.updatePoint,!0)},this.handlePointerUp=(m,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 f=Oc(m.type==="pointercancel"?this.lastMoveEventInfo:Bi(y,this.transformPagePoint),this.history);this.startEvent&&v&&v(m,f),b&&b(m,f)},!ch(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=s,this.distanceThreshold=i,this.contextWindow=a||window;const c=hi(t),d=Bi(c,this.transformPagePoint),{point:u}=d,{timestamp:p}=Ae;this.history=[{...u,timestamp:p}];const{onSessionStart:h}=n;h&&h(t,Oc(d,this.history)),this.removeListeners=di(Cr(this.contextWindow,"pointermove",this.handlePointerMove),Cr(this.contextWindow,"pointerup",this.handlePointerUp),Cr(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let n=t.parentElement;for(;n;){const s=getComputedStyle(n);(zg.has(s.overflowX)||zg.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,a=s?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:a.x-n.x,y:a.y-n.y};r.x===0&&r.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,a),J.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),es(this.updatePoint)}}function Bi(e,t){return t?{point:t(e.point)}:e}function Lg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Oc({point:e},t){return{point:e,delta:Lg(e,Zb(t)),offset:Lg(e,iR(t)),velocity:oR(t,.1)}}function iR(e){return e[0]}function Zb(e){return e[e.length-1]}function oR(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,s=null;const a=Zb(e);for(;n>=0&&(s=e[n],!(a.timestamp-s.timestamp>st(t)));)n--;if(!s)return{x:0,y:0};s===e[0]&&e.length>2&&a.timestamp-s.timestamp>st(t)*2&&(s=e[1]);const r=ht(a.timestamp-s.timestamp);if(r===0)return{x:0,y:0};const i={x:(a.x-s.x)/r,y:(a.y-s.y)/r};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function lR(e,{min:t,max:n},s){return t!==void 0&&e<t?e=s?Z(t,e,s.min):Math.max(e,t):n!==void 0&&e>n&&(e=s?Z(n,e,s.max):Math.min(e,n)),e}function Vg(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 cR(e,{top:t,left:n,bottom:s,right:a}){return{x:Vg(e.x,n,a),y:Vg(e.y,t,s)}}function _g(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 dR(e,t){return{x:_g(e.x,t.x),y:_g(e.y,t.y)}}function uR(e,t){let n=.5;const s=Be(e),a=Be(t);return a>s?n=Ur(t.min,t.max-s,e.min):s>a&&(n=Ur(e.min,e.max-a,t.min)),Qt(0,1,n)}function pR(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 hR(e=Pu){return e===!1?e=0:e===!0&&(e=Pu),{x:Bg(e,"left","right"),y:Bg(e,"top","bottom")}}function Bg(e,t,n){return{min:Hg(e,t),max:Hg(e,n)}}function Hg(e,t){return typeof e=="number"?e:e[t]||0}const fR=new WeakMap;class mR{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=ye(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:s}={}){const{presenceContext:a}=this.visualElement;if(a&&a.isPresent===!1)return;const r=p=>{n&&this.snapToCursor(hi(p).point),this.stopAnimation()},i=(p,h)=>{const{drag:m,dragPropagation:y,onDragStart:v}=this.getProps();if(m&&!y&&(this.openDragLock&&this.openDragLock(),this.openDragLock=K3(m),!this.openDragLock))return;this.latestPointerEvent=p,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Lt(g=>{let f=this.getAxisMotionValue(g).get()||0;if(Yt.test(f)){const{projection:x}=this.visualElement;if(x&&x.layout){const P=x.layout.layoutBox[g];P&&(f=Be(P)*(parseFloat(f)/100))}}this.originPoint[g]=f}),v&&J.update(()=>v(p,h),!1,!0),pu(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},o=(p,h)=>{this.latestPointerEvent=p,this.latestPanInfo=h;const{dragPropagation:m,dragDirectionLock:y,onDirectionLock:v,onDrag:b}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:g}=h;if(y&&this.currentDirection===null){this.currentDirection=yR(g),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",h.point,g),this.updateAxis("y",h.point,g),this.visualElement.render(),b&&J.update(()=>b(p,h),!1,!0)},c=(p,h)=>{this.latestPointerEvent=p,this.latestPanInfo=h,this.stop(p,h),this.latestPointerEvent=null,this.latestPanInfo=null},d=()=>{const{dragSnapToOrigin:p}=this.getProps();(p||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new Xb(t,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:c,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:s,contextWindow:Qb(this.visualElement),element:this.visualElement.current})}stop(t,n){const s=t||this.latestPointerEvent,a=n||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!a||!s)return;const{velocity:i}=a;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&J.postRender(()=>o(s,a))}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:a}=this.getProps();if(!s||!Hi(t,a,this.currentDirection))return;const r=this.getAxisMotionValue(t);let i=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(i=lR(i,this.constraints[t],this.elastic[t])),r.set(i)}resolveConstraints(){var r;const{dragConstraints:t,dragElastic:n}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(r=this.visualElement.projection)==null?void 0:r.layout,a=this.constraints;t&&Bs(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&s?this.constraints=cR(s.layoutBox,t):this.constraints=!1,this.elastic=hR(n),a!==this.constraints&&!Bs(t)&&s&&this.constraints&&!this.hasMutatedConstraints&&Lt(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=pR(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:a}=this.visualElement;if(!a||!a.layout)return!1;a.root&&(a.root.scroll=void 0,a.root.updateScroll());const r=P5(s,a.root,this.visualElement.getTransformPagePoint());let i=dR(a.layout.layoutBox,r);if(n){const o=n(v5(i));this.hasMutatedConstraints=!!o,o&&(i=vb(o))}return i}startAnimation(t){const{drag:n,dragMomentum:s,dragElastic:a,dragTransition:r,dragSnapToOrigin:i,onDragTransitionEnd:o}=this.getProps(),c=this.constraints||{},d=Lt(u=>{if(!Hi(u,n,this.currentDirection))return;let p=c&&c[u]||{};(i===!0||i===u)&&(p={min:0,max:0});const h=a?200:1e6,m=a?40:1e7,y={type:"inertia",velocity:s?t[u]:0,bounceStiffness:h,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...r,...p};return this.startAxisValueAnimation(u,y)});return Promise.all(d).then(o)}startAxisValueAnimation(t,n){const s=this.getAxisMotionValue(t);return pu(this.visualElement,t),s.start(rh(t,s,0,n,this.visualElement,!1))}stopAnimation(){Lt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,a=this.visualElement.getProps()[n];return a||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){Lt(n=>{const{drag:s}=this.getProps();if(!Hi(n,s,this.currentDirection))return;const{projection:a}=this.visualElement,r=this.getAxisMotionValue(n);if(a&&a.layout){const{min:i,max:o}=a.layout.layoutBox[n],c=r.get()||0;r.set(t[n]-Z(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 a={x:0,y:0};Lt(i=>{const o=this.getAxisMotionValue(i);if(o&&this.constraints!==!1){const c=o.get();a[i]=uR({min:c,max:c},this.constraints[i])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.constraints=!1,this.resolveConstraints(),Lt(i=>{if(!Hi(i,t,null))return;const o=this.getAxisMotionValue(i),{min:c,max:d}=this.constraints[i];o.set(Z(c,d,a[i]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;fR.set(this.visualElement,this);const t=this.visualElement.current,n=Cr(t,"pointerdown",d=>{const{drag:u,dragListener:p=!0}=this.getProps(),h=d.target,m=h!==t&&J3(h);u&&p&&!m&&this.start(d)});let s;const a=()=>{const{dragConstraints:d}=this.getProps();Bs(d)&&d.current&&(this.constraints=this.resolveRefConstraints(),s||(s=gR(t,d.current,()=>this.scalePositionWithinConstraints())))},{projection:r}=this.visualElement,i=r.addEventListener("measure",a);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),J.read(a);const o=Yr(window,"resize",()=>this.scalePositionWithinConstraints()),c=r.addEventListener("didUpdate",({delta:d,hasLayoutChanged:u})=>{this.isDragging&&u&&(Lt(p=>{const h=this.getAxisMotionValue(p);h&&(this.originPoint[p]+=d[p].translate,h.set(h.get()+d[p].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:a=!1,dragConstraints:r=!1,dragElastic:i=Pu,dragMomentum:o=!0}=t;return{...t,drag:n,dragDirectionLock:s,dragPropagation:a,dragConstraints:r,dragElastic:i,dragMomentum:o}}}function qg(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function gR(e,t,n){const s=Zm(e,qg(n)),a=Zm(t,qg(n));return()=>{s(),a()}}function Hi(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function yR(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class xR extends rs{constructor(t){super(t),this.removeGroupControls=mt,this.removeListeners=mt,this.controls=new mR(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||mt}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Ic=e=>(t,n)=>{e&&J.update(()=>e(t,n),!1,!0)};class vR extends rs{constructor(){super(...arguments),this.removePointerDownListener=mt}onPointerDown(t){this.session=new Xb(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Qb(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:s,onPanEnd:a}=this.node.getProps();return{onSessionStart:Ic(t),onStart:Ic(n),onMove:Ic(s),onEnd:(r,i)=>{delete this.session,a&&J.postRender(()=>a(r,i))}}}mount(){this.removePointerDownListener=Cr(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 Fc=!1;class wR extends w.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:s,layoutId:a}=this.props,{projection:r}=t;r&&(n.group&&n.group.add(r),s&&s.register&&a&&s.register(r),Fc&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),fo.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:s,drag:a,isPresent:r}=this.props,{projection:i}=s;return i&&(i.isPresent=r,t.layoutDependency!==n&&i.setOptions({...i.options,layoutDependency:n}),Fc=!0,a||t.layoutDependency!==n||n===void 0||t.isPresent!==r?i.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?i.promote():i.relegate()||J.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(),lh.postRender(()=>{!s.currentAnimation&&s.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:a}=t;Fc=!0,a&&(a.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(a),s&&s.deregister&&s.deregister(a))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Jb(e){const[t,n]=S4(),s=w.useContext(mw);return l.jsx(wR,{...e,layoutGroup:s,switchLayoutGroup:w.useContext(Gb),isPresent:t,safeToRemove:n})}const bR={pan:{Feature:vR},drag:{Feature:xR,ProjectionNode:_b,MeasureLayout:Jb}};function Wg(e,t,n){const{props:s}=e;e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",n==="Start");const a="onHover"+n,r=s[a];r&&J.postRender(()=>r(t,hi(t)))}class PR extends rs{mount(){const{current:t}=this.node;t&&(this.unmount=Y3(t,(n,s)=>(Wg(this.node,s,"Start"),a=>Wg(this.node,a,"End"))))}unmount(){}}class CR extends rs{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=di(Yr(this.node.current,"focus",()=>this.onFocus()),Yr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function $g(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 a="onTap"+(n==="End"?"":n),r=s[a];r&&J.postRender(()=>r(t,hi(t)))}class ER extends rs{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:s}=this.node.props;this.unmount=t5(t,(a,r)=>($g(this.node,r,"Start"),(i,{success:o})=>$g(this.node,i,o?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(s==null?void 0:s.tap)===!1})}unmount(){}}const Cu=new WeakMap,zc=new WeakMap,jR=e=>{const t=Cu.get(e.target);t&&t(e)},kR=e=>{e.forEach(jR)};function SR({root:e,...t}){const n=e||document;zc.has(n)||zc.set(n,{});const s=zc.get(n),a=JSON.stringify(t);return s[a]||(s[a]=new IntersectionObserver(kR,{root:e,...t})),s[a]}function AR(e,t,n){const s=SR(t);return Cu.set(e,n),s.observe(e),()=>{Cu.delete(e),s.unobserve(e)}}const TR={some:0,all:1};class NR extends rs{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:a="some",once:r}=t,i={root:n?n.current:void 0,rootMargin:s,threshold:typeof a=="number"?a:TR[a]},o=d=>{const{isIntersecting:u}=d;if(this.isInView===u||(this.isInView=u,r&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:p,onViewportLeave:h}=this.node.getProps(),m=u?p:h;m&&m(d)};this.stopObserver=AR(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(RR(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function RR({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const DR={inView:{Feature:NR},tap:{Feature:ER},focus:{Feature:CR},hover:{Feature:PR}},MR={layout:{ProjectionNode:_b,MeasureLayout:Jb}},OR={...sR,...DR,...bR,...MR},qi=Z4(OR,J4),IR=()=>{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":"vka0dpbdv","data-path":"src/pages/NotFound.tsx",children:l.jsxs(qi.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-center space-y-6 p-8","data-id":"6fpc9zp5e","data-path":"src/pages/NotFound.tsx",children:[l.jsx(qi.div,{initial:{scale:.5},animate:{scale:1},transition:{duration:.5,delay:.2},"data-id":"6psr7yhys","data-path":"src/pages/NotFound.tsx",children:l.jsx("h1",{className:"text-8xl font-bold text-primary","data-id":"nonf9ysh4","data-path":"src/pages/NotFound.tsx",children:"404"})}),l.jsxs(qi.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,delay:.4},className:"space-y-4","data-id":"lpyk8ik5p","data-path":"src/pages/NotFound.tsx",children:[l.jsx("h2",{className:"text-2xl font-semibold tracking-tight","data-id":"c06qtkami","data-path":"src/pages/NotFound.tsx",children:"Page Not Found"}),l.jsx("p",{className:"text-muted-foreground","data-id":"xzt3q2uth","data-path":"src/pages/NotFound.tsx",children:"Sorry, the page you are looking for does not exist or has been removed."})]}),l.jsx(qi.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,delay:.6},"data-id":"3tvyi5lfj","data-path":"src/pages/NotFound.tsx",children:l.jsx(vr,{asChild:!0,variant:"default",size:"lg","data-id":"1i4op5l0s","data-path":"src/pages/NotFound.tsx",children:l.jsx("a",{href:"/","data-id":"n77g6qy8m","data-path":"src/pages/NotFound.tsx",children:"Back to Home"})})})]})})},FR=new fS,zR=()=>l.jsx(EA,{FallbackComponent:oT,onError:(e,t)=>{console.error(`Error Boundary caught an error(pathname:${location.pathname+location.search}):`,e,t),setTimeout(()=>{throw e},0)},"data-id":"1mmd14vsi","data-path":"src/App.tsx",children:l.jsx(sw,{"data-id":"kfhx2f5sh","data-path":"src/App.tsx",children:l.jsx(gS,{client:FR,"data-id":"akym0xl1n","data-path":"src/App.tsx",children:l.jsxs(Lk,{"data-id":"463rrnu3a","data-path":"src/App.tsx",children:[l.jsx(aj,{"data-id":"4aimpw3pu","data-path":"src/App.tsx"}),l.jsx(vA,{"data-id":"u1wstsx2a","data-path":"src/App.tsx",children:l.jsx(pA,{"data-id":"hj8x20ozi","data-path":"src/App.tsx",children:l.jsxs(pe,{element:l.jsx(lT,{"data-id":"fn4444m9o","data-path":"src/App.tsx"}),"data-id":"wzdzhpyyp","data-path":"src/App.tsx",children:[l.jsx(pe,{path:"/",element:l.jsx(fT,{"data-id":"368wm786e","data-path":"src/App.tsx"}),"data-id":"fknob9g43","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/about",element:l.jsx(mT,{"data-id":"c5qumda1v","data-path":"src/App.tsx"}),"data-id":"j2dcor5qt","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/about/our-story",element:l.jsx(yT,{"data-id":"11xohvxy9","data-path":"src/App.tsx"}),"data-id":"f27ux6v53","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/about/mission-values",element:l.jsx(vT,{"data-id":"c4fb60e42","data-path":"src/App.tsx"}),"data-id":"h583fjtoa","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/about/team",element:l.jsx(bT,{"data-id":"v7avh9vuz","data-path":"src/App.tsx"}),"data-id":"47trd9m42","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/programs",element:l.jsx(CT,{"data-id":"yyc82tehl","data-path":"src/App.tsx"}),"data-id":"iv4h5enzn","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/programs/harmony-riding-pathways",element:l.jsx(ET,{"data-id":"zmys5s0w1","data-path":"src/App.tsx"}),"data-id":"1euim75za","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/programs/confidence-in-motion",element:l.jsx(jT,{"data-id":"fabqog611","data-path":"src/App.tsx"}),"data-id":"tr403ouqo","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/programs/inclusive-trails-network",element:l.jsx(kT,{"data-id":"d18g8bj1r","data-path":"src/App.tsx"}),"data-id":"mh731uysa","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/impact",element:l.jsx(TT,{"data-id":"cfcbj8r6v","data-path":"src/App.tsx"}),"data-id":"6zkhwywle","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/donate",element:l.jsx(RT,{"data-id":"wuqaxuztd","data-path":"src/App.tsx"}),"data-id":"8ogpsxuy1","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/blog",element:l.jsx(MT,{"data-id":"ynqh1bxbc","data-path":"src/App.tsx"}),"data-id":"xvampgmp0","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/blog/benefits-of-equine-assisted-activities",element:l.jsx(OT,{"data-id":"fvqdq0jpz","data-path":"src/App.tsx"}),"data-id":"igqrkufx8","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/blog/creating-inclusive-communities-accessible-recreation",element:l.jsx(IT,{"data-id":"4xu149wl0","data-path":"src/App.tsx"}),"data-id":"jxrzw7npp","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/contact",element:l.jsx(FT,{"data-id":"6dfnr02zk","data-path":"src/App.tsx"}),"data-id":"wwzez7wtq","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/accessibility",element:l.jsx(zT,{"data-id":"17nk10m1d","data-path":"src/App.tsx"}),"data-id":"794v3lfwp","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/privacy-policy",element:l.jsx(LT,{"data-id":"d9p9a6clc","data-path":"src/App.tsx"}),"data-id":"9zc65idgw","data-path":"src/App.tsx"}),l.jsx(pe,{path:"/terms",element:l.jsx(VT,{"data-id":"e7x0ujqp1","data-path":"src/App.tsx"}),"data-id":"wvl99y9pw","data-path":"src/App.tsx"}),l.jsx(pe,{path:"*",element:l.jsx(IR,{"data-id":"xf3gqrofo","data-path":"src/App.tsx"}),"data-id":"8x4b4oqhp","data-path":"src/App.tsx"})]})})})]})})})});hv(document.getElementById("root")).render(l.jsx(zR,{"data-id":"tqcip5tam","data-path":"src/main.tsx"}));