403Webshell
Server IP : 10.200.247.200  /  Your IP : 216.73.217.19
Web Server : Apache
System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64
User : jeremy ( 1001)
PHP Version : 8.4.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/assets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/assets/index-CAxlOL53.js
var Xh=e=>{throw TypeError(e)};var Yu=(e,t,n)=>t.has(e)||Xh("Cannot "+n);var A=(e,t,n)=>(Yu(e,t,"read from private field"),n?n.call(e):t.get(e)),Ce=(e,t,n)=>t.has(e)?Xh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),de=(e,t,n,r)=>(Yu(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),ft=(e,t,n)=>(Yu(e,t,"access private method"),n);var Ni=(e,t,n,r)=>({set _(s){de(e,t,s,n)},get _(){return A(e,t,r)}});function _1(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const a=Object.getOwnPropertyDescriptor(r,s);a&&Object.defineProperty(e,s,a.get?a:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();function Wg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Hg={exports:{}},ou={},Ug={exports:{}},ge={};/**
 * @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 ci=Symbol.for("react.element"),T1=Symbol.for("react.portal"),R1=Symbol.for("react.fragment"),P1=Symbol.for("react.strict_mode"),A1=Symbol.for("react.profiler"),M1=Symbol.for("react.provider"),O1=Symbol.for("react.context"),F1=Symbol.for("react.forward_ref"),D1=Symbol.for("react.suspense"),L1=Symbol.for("react.memo"),q1=Symbol.for("react.lazy"),ep=Symbol.iterator;function B1(e){return e===null||typeof e!="object"?null:(e=ep&&e[ep]||e["@@iterator"],typeof e=="function"?e:null)}var Kg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Gg=Object.assign,Zg={};function Ua(e,t,n){this.props=e,this.context=t,this.refs=Zg,this.updater=n||Kg}Ua.prototype.isReactComponent={};Ua.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")};Ua.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Qg(){}Qg.prototype=Ua.prototype;function pf(e,t,n){this.props=e,this.context=t,this.refs=Zg,this.updater=n||Kg}var mf=pf.prototype=new Qg;mf.constructor=pf;Gg(mf,Ua.prototype);mf.isPureReactComponent=!0;var tp=Array.isArray,Yg=Object.prototype.hasOwnProperty,gf={current:null},Jg={key:!0,ref:!0,__self:!0,__source:!0};function Xg(e,t,n){var r,s={},a=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)Yg.call(t,r)&&!Jg.hasOwnProperty(r)&&(s[r]=t[r]);var i=arguments.length-2;if(i===1)s.children=n;else if(1<i){for(var u=Array(i),c=0;c<i;c++)u[c]=arguments[c+2];s.children=u}if(e&&e.defaultProps)for(r in i=e.defaultProps,i)s[r]===void 0&&(s[r]=i[r]);return{$$typeof:ci,type:e,key:a,ref:o,props:s,_owner:gf.current}}function $1(e,t){return{$$typeof:ci,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function yf(e){return typeof e=="object"&&e!==null&&e.$$typeof===ci}function z1(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var np=/\/+/g;function Ju(e,t){return typeof e=="object"&&e!==null&&e.key!=null?z1(""+e.key):t.toString(36)}function Xi(e,t,n,r,s){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(a){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case ci:case T1:o=!0}}if(o)return o=e,s=s(o),e=r===""?"."+Ju(o,0):r,tp(s)?(n="",e!=null&&(n=e.replace(np,"$&/")+"/"),Xi(s,t,n,"",function(c){return c})):s!=null&&(yf(s)&&(s=$1(s,n+(!s.key||o&&o.key===s.key?"":(""+s.key).replace(np,"$&/")+"/")+e)),t.push(s)),1;if(o=0,r=r===""?".":r+":",tp(e))for(var i=0;i<e.length;i++){a=e[i];var u=r+Ju(a,i);o+=Xi(a,t,n,u,s)}else if(u=B1(e),typeof u=="function")for(e=u.call(e),i=0;!(a=e.next()).done;)a=a.value,u=r+Ju(a,i++),o+=Xi(a,t,n,u,s);else if(a==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function ji(e,t,n){if(e==null)return e;var r=[],s=0;return Xi(e,r,"","",function(a){return t.call(n,a,s++)}),r}function V1(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 Ct={current:null},el={transition:null},W1={ReactCurrentDispatcher:Ct,ReactCurrentBatchConfig:el,ReactCurrentOwner:gf};function ey(){throw Error("act(...) is not supported in production builds of React.")}ge.Children={map:ji,forEach:function(e,t,n){ji(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ji(e,function(){t++}),t},toArray:function(e){return ji(e,function(t){return t})||[]},only:function(e){if(!yf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ge.Component=Ua;ge.Fragment=R1;ge.Profiler=A1;ge.PureComponent=pf;ge.StrictMode=P1;ge.Suspense=D1;ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W1;ge.act=ey;ge.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Gg({},e.props),s=e.key,a=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,o=gf.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(u in t)Yg.call(t,u)&&!Jg.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&i!==void 0?i[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){i=Array(u);for(var c=0;c<u;c++)i[c]=arguments[c+2];r.children=i}return{$$typeof:ci,type:e.type,key:s,ref:a,props:r,_owner:o}};ge.createContext=function(e){return e={$$typeof:O1,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:M1,_context:e},e.Consumer=e};ge.createElement=Xg;ge.createFactory=function(e){var t=Xg.bind(null,e);return t.type=e,t};ge.createRef=function(){return{current:null}};ge.forwardRef=function(e){return{$$typeof:F1,render:e}};ge.isValidElement=yf;ge.lazy=function(e){return{$$typeof:q1,_payload:{_status:-1,_result:e},_init:V1}};ge.memo=function(e,t){return{$$typeof:L1,type:e,compare:t===void 0?null:t}};ge.startTransition=function(e){var t=el.transition;el.transition={};try{e()}finally{el.transition=t}};ge.unstable_act=ey;ge.useCallback=function(e,t){return Ct.current.useCallback(e,t)};ge.useContext=function(e){return Ct.current.useContext(e)};ge.useDebugValue=function(){};ge.useDeferredValue=function(e){return Ct.current.useDeferredValue(e)};ge.useEffect=function(e,t){return Ct.current.useEffect(e,t)};ge.useId=function(){return Ct.current.useId()};ge.useImperativeHandle=function(e,t,n){return Ct.current.useImperativeHandle(e,t,n)};ge.useInsertionEffect=function(e,t){return Ct.current.useInsertionEffect(e,t)};ge.useLayoutEffect=function(e,t){return Ct.current.useLayoutEffect(e,t)};ge.useMemo=function(e,t){return Ct.current.useMemo(e,t)};ge.useReducer=function(e,t,n){return Ct.current.useReducer(e,t,n)};ge.useRef=function(e){return Ct.current.useRef(e)};ge.useState=function(e){return Ct.current.useState(e)};ge.useSyncExternalStore=function(e,t,n){return Ct.current.useSyncExternalStore(e,t,n)};ge.useTransition=function(){return Ct.current.useTransition()};ge.version="18.3.1";Ug.exports=ge;var d=Ug.exports;const I=Wg(d),vf=_1({__proto__:null,default:I},[d]);/**
 * @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 H1=d,U1=Symbol.for("react.element"),K1=Symbol.for("react.fragment"),G1=Object.prototype.hasOwnProperty,Z1=H1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Q1={key:!0,ref:!0,__self:!0,__source:!0};function ty(e,t,n){var r,s={},a=null,o=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)G1.call(t,r)&&!Q1.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:U1,type:e,key:a,ref:o,props:s,_owner:Z1.current}}ou.Fragment=K1;ou.jsx=ty;ou.jsxs=ty;Hg.exports=ou;var l=Hg.exports,ny={exports:{}},Ut={},ry={exports:{}},sy={};/**
 * @license React
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(e){function t(T,P){var W=T.length;T.push(P);e:for(;0<W;){var se=W-1>>>1,ne=T[se];if(0<s(ne,P))T[se]=P,T[W]=ne,W=se;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var P=T[0],W=T.pop();if(W!==P){T[0]=W;e:for(var se=0,ne=T.length,ie=ne>>>1;se<ie;){var ae=2*(se+1)-1,Te=T[ae],Be=ae+1,U=T[Be];if(0>s(Te,W))Be<ne&&0>s(U,Te)?(T[se]=U,T[Be]=W,se=Be):(T[se]=Te,T[ae]=W,se=ae);else if(Be<ne&&0>s(U,W))T[se]=U,T[Be]=W,se=Be;else break e}}return P}function s(T,P){var W=T.sortIndex-P.sortIndex;return W!==0?W:T.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,i=o.now();e.unstable_now=function(){return o.now()-i}}var u=[],c=[],f=1,h=null,y=3,m=!1,b=!1,g=!1,x=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(T){for(var P=n(c);P!==null;){if(P.callback===null)r(c);else if(P.startTime<=T)r(c),P.sortIndex=P.expirationTime,t(u,P);else break;P=n(c)}}function k(T){if(g=!1,v(T),!b)if(n(u)!==null)b=!0,$(S);else{var P=n(c);P!==null&&X(k,P.startTime-T)}}function S(T,P){b=!1,g&&(g=!1,w(_),_=-1),m=!0;var W=y;try{for(v(P),h=n(u);h!==null&&(!(h.expirationTime>P)||T&&!G());){var se=h.callback;if(typeof se=="function"){h.callback=null,y=h.priorityLevel;var ne=se(h.expirationTime<=P);P=e.unstable_now(),typeof ne=="function"?h.callback=ne:h===n(u)&&r(u),v(P)}else r(u);h=n(u)}if(h!==null)var ie=!0;else{var ae=n(c);ae!==null&&X(k,ae.startTime-P),ie=!1}return ie}finally{h=null,y=W,m=!1}}var j=!1,N=null,_=-1,F=5,D=-1;function G(){return!(e.unstable_now()-D<F)}function M(){if(N!==null){var T=e.unstable_now();D=T;var P=!0;try{P=N(!0,T)}finally{P?z():(j=!1,N=null)}}else j=!1}var z;if(typeof p=="function")z=function(){p(M)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,J=O.port2;O.port1.onmessage=M,z=function(){J.postMessage(null)}}else z=function(){x(M,0)};function $(T){N=T,j||(j=!0,z())}function X(T,P){_=x(function(){T(e.unstable_now())},P)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(T){T.callback=null},e.unstable_continueExecution=function(){b||m||(b=!0,$(S))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(T){switch(y){case 1:case 2:case 3:var P=3;break;default:P=y}var W=y;y=P;try{return T()}finally{y=W}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,P){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var W=y;y=T;try{return P()}finally{y=W}},e.unstable_scheduleCallback=function(T,P,W){var se=e.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?se+W:se):W=se,T){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=W+ne,T={id:f++,callback:P,priorityLevel:T,startTime:W,expirationTime:ne,sortIndex:-1},W>se?(T.sortIndex=W,t(c,T),n(u)===null&&T===n(c)&&(g?(w(_),_=-1):g=!0,X(k,W-se))):(T.sortIndex=ne,t(u,T),b||m||(b=!0,$(S))),T},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(T){var P=y;return function(){var W=y;y=P;try{return T.apply(this,arguments)}finally{y=W}}}})(sy);ry.exports=sy;var Y1=ry.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 J1=d,Wt=Y1;function L(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 ay=new Set,Fo={};function zs(e,t){Ra(e,t),Ra(e+"Capture",t)}function Ra(e,t){for(Fo[e]=t,e=0;e<t.length;e++)ay.add(t[e])}var mr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zc=Object.prototype.hasOwnProperty,X1=/^[: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]*$/,rp={},sp={};function ek(e){return zc.call(sp,e)?!0:zc.call(rp,e)?!1:X1.test(e)?sp[e]=!0:(rp[e]=!0,!1)}function tk(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function nk(e,t,n,r){if(t===null||typeof t>"u"||tk(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Nt(e,t,n,r,s,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var dt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){dt[e]=new Nt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];dt[t]=new Nt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){dt[e]=new Nt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){dt[e]=new Nt(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){dt[e]=new Nt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){dt[e]=new Nt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){dt[e]=new Nt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){dt[e]=new Nt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){dt[e]=new Nt(e,5,!1,e.toLowerCase(),null,!1,!1)});var wf=/[\-:]([a-z])/g;function xf(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(wf,xf);dt[t]=new Nt(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(wf,xf);dt[t]=new Nt(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(wf,xf);dt[t]=new Nt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){dt[e]=new Nt(e,1,!1,e.toLowerCase(),null,!1,!1)});dt.xlinkHref=new Nt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){dt[e]=new Nt(e,1,!1,e.toLowerCase(),null,!0,!0)});function bf(e,t,n,r){var s=dt.hasOwnProperty(t)?dt[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(nk(t,n,s,r)&&(n=null),r||s===null?ek(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:"":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Sr=J1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ei=Symbol.for("react.element"),ta=Symbol.for("react.portal"),na=Symbol.for("react.fragment"),kf=Symbol.for("react.strict_mode"),Vc=Symbol.for("react.profiler"),oy=Symbol.for("react.provider"),iy=Symbol.for("react.context"),Sf=Symbol.for("react.forward_ref"),Wc=Symbol.for("react.suspense"),Hc=Symbol.for("react.suspense_list"),Cf=Symbol.for("react.memo"),Ar=Symbol.for("react.lazy"),ly=Symbol.for("react.offscreen"),ap=Symbol.iterator;function to(e){return e===null||typeof e!="object"?null:(e=ap&&e[ap]||e["@@iterator"],typeof e=="function"?e:null)}var He=Object.assign,Xu;function po(e){if(Xu===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Xu=t&&t[1]||""}return`
`+Xu+e}var ec=!1;function tc(e,t){if(!e||ec)return"";ec=!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(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var s=c.stack.split(`
`),a=r.stack.split(`
`),o=s.length-1,i=a.length-1;1<=o&&0<=i&&s[o]!==a[i];)i--;for(;1<=o&&0<=i;o--,i--)if(s[o]!==a[i]){if(o!==1||i!==1)do if(o--,i--,0>i||s[o]!==a[i]){var u=`
`+s[o].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=o&&0<=i);break}}}finally{ec=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?po(e):""}function rk(e){switch(e.tag){case 5:return po(e.type);case 16:return po("Lazy");case 13:return po("Suspense");case 19:return po("SuspenseList");case 0:case 2:case 15:return e=tc(e.type,!1),e;case 11:return e=tc(e.type.render,!1),e;case 1:return e=tc(e.type,!0),e;default:return""}}function Uc(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 na:return"Fragment";case ta:return"Portal";case Vc:return"Profiler";case kf:return"StrictMode";case Wc:return"Suspense";case Hc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case iy:return(e.displayName||"Context")+".Consumer";case oy:return(e._context.displayName||"Context")+".Provider";case Sf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Cf:return t=e.displayName||null,t!==null?t:Uc(e.type)||"Memo";case Ar:t=e._payload,e=e._init;try{return Uc(e(t))}catch{}}return null}function sk(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 Uc(t);case 8:return t===kf?"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 rs(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function uy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ak(e){var t=uy(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){r=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ii(e){e._valueTracker||(e._valueTracker=ak(e))}function cy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=uy(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function yl(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 Kc(e,t){var n=t.checked;return He({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function op(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=rs(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function dy(e,t){t=t.checked,t!=null&&bf(e,"checked",t,!1)}function Gc(e,t){dy(e,t);var n=rs(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Zc(e,t.type,n):t.hasOwnProperty("defaultValue")&&Zc(e,t.type,rs(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ip(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Zc(e,t,n){(t!=="number"||yl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var mo=Array.isArray;function pa(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+rs(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Qc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(L(91));return He({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function lp(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(L(92));if(mo(n)){if(1<n.length)throw Error(L(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:rs(n)}}function fy(e,t){var n=rs(t.value),r=rs(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function up(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function hy(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 Yc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?hy(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var _i,py=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(_i=_i||document.createElement("div"),_i.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=_i.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Do(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var bo={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},ok=["Webkit","ms","Moz","O"];Object.keys(bo).forEach(function(e){ok.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),bo[t]=bo[e]})});function my(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||bo.hasOwnProperty(e)&&bo[e]?(""+t).trim():t+"px"}function gy(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=my(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var ik=He({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 Jc(e,t){if(t){if(ik[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(L(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(L(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(L(61))}if(t.style!=null&&typeof t.style!="object")throw Error(L(62))}}function Xc(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 ed=null;function Nf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var td=null,ma=null,ga=null;function cp(e){if(e=hi(e)){if(typeof td!="function")throw Error(L(280));var t=e.stateNode;t&&(t=du(t),td(e.stateNode,e.type,t))}}function yy(e){ma?ga?ga.push(e):ga=[e]:ma=e}function vy(){if(ma){var e=ma,t=ga;if(ga=ma=null,cp(e),t)for(e=0;e<t.length;e++)cp(t[e])}}function wy(e,t){return e(t)}function xy(){}var nc=!1;function by(e,t,n){if(nc)return e(t,n);nc=!0;try{return wy(e,t,n)}finally{nc=!1,(ma!==null||ga!==null)&&(xy(),vy())}}function Lo(e,t){var n=e.stateNode;if(n===null)return null;var r=du(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(L(231,t,typeof n));return n}var nd=!1;if(mr)try{var no={};Object.defineProperty(no,"passive",{get:function(){nd=!0}}),window.addEventListener("test",no,no),window.removeEventListener("test",no,no)}catch{nd=!1}function lk(e,t,n,r,s,a,o,i,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(f){this.onError(f)}}var ko=!1,vl=null,wl=!1,rd=null,uk={onError:function(e){ko=!0,vl=e}};function ck(e,t,n,r,s,a,o,i,u){ko=!1,vl=null,lk.apply(uk,arguments)}function dk(e,t,n,r,s,a,o,i,u){if(ck.apply(this,arguments),ko){if(ko){var c=vl;ko=!1,vl=null}else throw Error(L(198));wl||(wl=!0,rd=c)}}function Vs(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 ky(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 dp(e){if(Vs(e)!==e)throw Error(L(188))}function fk(e){var t=e.alternate;if(!t){if(t=Vs(e),t===null)throw Error(L(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var a=s.alternate;if(a===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===a.child){for(a=s.child;a;){if(a===n)return dp(s),e;if(a===r)return dp(s),t;a=a.sibling}throw Error(L(188))}if(n.return!==r.return)n=s,r=a;else{for(var o=!1,i=s.child;i;){if(i===n){o=!0,n=s,r=a;break}if(i===r){o=!0,r=s,n=a;break}i=i.sibling}if(!o){for(i=a.child;i;){if(i===n){o=!0,n=a,r=s;break}if(i===r){o=!0,r=a,n=s;break}i=i.sibling}if(!o)throw Error(L(189))}}if(n.alternate!==r)throw Error(L(190))}if(n.tag!==3)throw Error(L(188));return n.stateNode.current===n?e:t}function Sy(e){return e=fk(e),e!==null?Cy(e):null}function Cy(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Cy(e);if(t!==null)return t;e=e.sibling}return null}var Ny=Wt.unstable_scheduleCallback,fp=Wt.unstable_cancelCallback,hk=Wt.unstable_shouldYield,pk=Wt.unstable_requestPaint,Qe=Wt.unstable_now,mk=Wt.unstable_getCurrentPriorityLevel,jf=Wt.unstable_ImmediatePriority,jy=Wt.unstable_UserBlockingPriority,xl=Wt.unstable_NormalPriority,gk=Wt.unstable_LowPriority,Ey=Wt.unstable_IdlePriority,iu=null,Wn=null;function yk(e){if(Wn&&typeof Wn.onCommitFiberRoot=="function")try{Wn.onCommitFiberRoot(iu,e,void 0,(e.current.flags&128)===128)}catch{}}var xn=Math.clz32?Math.clz32:xk,vk=Math.log,wk=Math.LN2;function xk(e){return e>>>=0,e===0?32:31-(vk(e)/wk|0)|0}var Ti=64,Ri=4194304;function go(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 bl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var i=o&~s;i!==0?r=go(i):(a&=o,a!==0&&(r=go(a)))}else o=n&~s,o!==0?r=go(o):a!==0&&(r=go(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,a=t&-t,s>=a||s===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-xn(t),s=1<<n,r|=e[n],t&=~s;return r}function bk(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 kk(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-xn(a),i=1<<o,u=s[o];u===-1?(!(i&n)||i&r)&&(s[o]=bk(i,t)):u<=t&&(e.expiredLanes|=i),a&=~i}}function sd(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Iy(){var e=Ti;return Ti<<=1,!(Ti&4194240)&&(Ti=64),e}function rc(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function di(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-xn(t),e[t]=n}function Sk(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var s=31-xn(n),a=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~a}}function Ef(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-xn(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var _e=0;function _y(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Ty,If,Ry,Py,Ay,ad=!1,Pi=[],Kr=null,Gr=null,Zr=null,qo=new Map,Bo=new Map,Fr=[],Ck="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 hp(e,t){switch(e){case"focusin":case"focusout":Kr=null;break;case"dragenter":case"dragleave":Gr=null;break;case"mouseover":case"mouseout":Zr=null;break;case"pointerover":case"pointerout":qo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Bo.delete(t.pointerId)}}function ro(e,t,n,r,s,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[s]},t!==null&&(t=hi(t),t!==null&&If(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function Nk(e,t,n,r,s){switch(t){case"focusin":return Kr=ro(Kr,e,t,n,r,s),!0;case"dragenter":return Gr=ro(Gr,e,t,n,r,s),!0;case"mouseover":return Zr=ro(Zr,e,t,n,r,s),!0;case"pointerover":var a=s.pointerId;return qo.set(a,ro(qo.get(a)||null,e,t,n,r,s)),!0;case"gotpointercapture":return a=s.pointerId,Bo.set(a,ro(Bo.get(a)||null,e,t,n,r,s)),!0}return!1}function My(e){var t=ws(e.target);if(t!==null){var n=Vs(t);if(n!==null){if(t=n.tag,t===13){if(t=ky(n),t!==null){e.blockedOn=t,Ay(e.priority,function(){Ry(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 tl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=od(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ed=r,n.target.dispatchEvent(r),ed=null}else return t=hi(n),t!==null&&If(t),e.blockedOn=n,!1;t.shift()}return!0}function pp(e,t,n){tl(e)&&n.delete(t)}function jk(){ad=!1,Kr!==null&&tl(Kr)&&(Kr=null),Gr!==null&&tl(Gr)&&(Gr=null),Zr!==null&&tl(Zr)&&(Zr=null),qo.forEach(pp),Bo.forEach(pp)}function so(e,t){e.blockedOn===t&&(e.blockedOn=null,ad||(ad=!0,Wt.unstable_scheduleCallback(Wt.unstable_NormalPriority,jk)))}function $o(e){function t(s){return so(s,e)}if(0<Pi.length){so(Pi[0],e);for(var n=1;n<Pi.length;n++){var r=Pi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Kr!==null&&so(Kr,e),Gr!==null&&so(Gr,e),Zr!==null&&so(Zr,e),qo.forEach(t),Bo.forEach(t),n=0;n<Fr.length;n++)r=Fr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Fr.length&&(n=Fr[0],n.blockedOn===null);)My(n),n.blockedOn===null&&Fr.shift()}var ya=Sr.ReactCurrentBatchConfig,kl=!0;function Ek(e,t,n,r){var s=_e,a=ya.transition;ya.transition=null;try{_e=1,_f(e,t,n,r)}finally{_e=s,ya.transition=a}}function Ik(e,t,n,r){var s=_e,a=ya.transition;ya.transition=null;try{_e=4,_f(e,t,n,r)}finally{_e=s,ya.transition=a}}function _f(e,t,n,r){if(kl){var s=od(e,t,n,r);if(s===null)hc(e,t,r,Sl,n),hp(e,r);else if(Nk(s,e,t,n,r))r.stopPropagation();else if(hp(e,r),t&4&&-1<Ck.indexOf(e)){for(;s!==null;){var a=hi(s);if(a!==null&&Ty(a),a=od(e,t,n,r),a===null&&hc(e,t,r,Sl,n),a===s)break;s=a}s!==null&&r.stopPropagation()}else hc(e,t,r,null,n)}}var Sl=null;function od(e,t,n,r){if(Sl=null,e=Nf(r),e=ws(e),e!==null)if(t=Vs(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ky(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 Sl=e,null}function Oy(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(mk()){case jf:return 1;case jy:return 4;case xl:case gk:return 16;case Ey:return 536870912;default:return 16}default:return 16}}var Vr=null,Tf=null,nl=null;function Fy(){if(nl)return nl;var e,t=Tf,n=t.length,r,s="value"in Vr?Vr.value:Vr.textContent,a=s.length;for(e=0;e<n&&t[e]===s[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===s[a-r];r++);return nl=s.slice(e,1<r?1-r:void 0)}function rl(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 Ai(){return!0}function mp(){return!1}function Kt(e){function t(n,r,s,a,o){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=a,this.target=o,this.currentTarget=null;for(var i in e)e.hasOwnProperty(i)&&(n=e[i],this[i]=n?n(a):a[i]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Ai:mp,this.isPropagationStopped=mp,this}return He(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=Ai)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ai)},persist:function(){},isPersistent:Ai}),t}var Ka={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Rf=Kt(Ka),fi=He({},Ka,{view:0,detail:0}),_k=Kt(fi),sc,ac,ao,lu=He({},fi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pf,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!==ao&&(ao&&e.type==="mousemove"?(sc=e.screenX-ao.screenX,ac=e.screenY-ao.screenY):ac=sc=0,ao=e),sc)},movementY:function(e){return"movementY"in e?e.movementY:ac}}),gp=Kt(lu),Tk=He({},lu,{dataTransfer:0}),Rk=Kt(Tk),Pk=He({},fi,{relatedTarget:0}),oc=Kt(Pk),Ak=He({},Ka,{animationName:0,elapsedTime:0,pseudoElement:0}),Mk=Kt(Ak),Ok=He({},Ka,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Fk=Kt(Ok),Dk=He({},Ka,{data:0}),yp=Kt(Dk),Lk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qk={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"},Bk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $k(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Bk[e])?!!t[e]:!1}function Pf(){return $k}var zk=He({},fi,{key:function(e){if(e.key){var t=Lk[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=rl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?qk[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pf,charCode:function(e){return e.type==="keypress"?rl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?rl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Vk=Kt(zk),Wk=He({},lu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),vp=Kt(Wk),Hk=He({},fi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pf}),Uk=Kt(Hk),Kk=He({},Ka,{propertyName:0,elapsedTime:0,pseudoElement:0}),Gk=Kt(Kk),Zk=He({},lu,{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}),Qk=Kt(Zk),Yk=[9,13,27,32],Af=mr&&"CompositionEvent"in window,So=null;mr&&"documentMode"in document&&(So=document.documentMode);var Jk=mr&&"TextEvent"in window&&!So,Dy=mr&&(!Af||So&&8<So&&11>=So),wp=" ",xp=!1;function Ly(e,t){switch(e){case"keyup":return Yk.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ra=!1;function Xk(e,t){switch(e){case"compositionend":return qy(t);case"keypress":return t.which!==32?null:(xp=!0,wp);case"textInput":return e=t.data,e===wp&&xp?null:e;default:return null}}function eS(e,t){if(ra)return e==="compositionend"||!Af&&Ly(e,t)?(e=Fy(),nl=Tf=Vr=null,ra=!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 Dy&&t.locale!=="ko"?null:t.data;default:return null}}var tS={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 bp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!tS[e.type]:t==="textarea"}function By(e,t,n,r){yy(r),t=Cl(t,"onChange"),0<t.length&&(n=new Rf("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Co=null,zo=null;function nS(e){Yy(e,0)}function uu(e){var t=oa(e);if(cy(t))return e}function rS(e,t){if(e==="change")return t}var $y=!1;if(mr){var ic;if(mr){var lc="oninput"in document;if(!lc){var kp=document.createElement("div");kp.setAttribute("oninput","return;"),lc=typeof kp.oninput=="function"}ic=lc}else ic=!1;$y=ic&&(!document.documentMode||9<document.documentMode)}function Sp(){Co&&(Co.detachEvent("onpropertychange",zy),zo=Co=null)}function zy(e){if(e.propertyName==="value"&&uu(zo)){var t=[];By(t,zo,e,Nf(e)),by(nS,t)}}function sS(e,t,n){e==="focusin"?(Sp(),Co=t,zo=n,Co.attachEvent("onpropertychange",zy)):e==="focusout"&&Sp()}function aS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return uu(zo)}function oS(e,t){if(e==="click")return uu(t)}function iS(e,t){if(e==="input"||e==="change")return uu(t)}function lS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var kn=typeof Object.is=="function"?Object.is:lS;function Vo(e,t){if(kn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var s=n[r];if(!zc.call(t,s)||!kn(e[s],t[s]))return!1}return!0}function Cp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Np(e,t){var n=Cp(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Cp(n)}}function Vy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Vy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Wy(){for(var e=window,t=yl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=yl(e.document)}return t}function Mf(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 uS(e){var t=Wy(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Vy(n.ownerDocument.documentElement,n)){if(r!==null&&Mf(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=n.textContent.length,a=Math.min(r.start,s);r=r.end===void 0?a:Math.min(r.end,s),!e.extend&&a>r&&(s=r,r=a,a=s),s=Np(n,a);var o=Np(n,r);s&&o&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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 cS=mr&&"documentMode"in document&&11>=document.documentMode,sa=null,id=null,No=null,ld=!1;function jp(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ld||sa==null||sa!==yl(r)||(r=sa,"selectionStart"in r&&Mf(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),No&&Vo(No,r)||(No=r,r=Cl(id,"onSelect"),0<r.length&&(t=new Rf("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=sa)))}function Mi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var aa={animationend:Mi("Animation","AnimationEnd"),animationiteration:Mi("Animation","AnimationIteration"),animationstart:Mi("Animation","AnimationStart"),transitionend:Mi("Transition","TransitionEnd")},uc={},Hy={};mr&&(Hy=document.createElement("div").style,"AnimationEvent"in window||(delete aa.animationend.animation,delete aa.animationiteration.animation,delete aa.animationstart.animation),"TransitionEvent"in window||delete aa.transitionend.transition);function cu(e){if(uc[e])return uc[e];if(!aa[e])return e;var t=aa[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Hy)return uc[e]=t[n];return e}var Uy=cu("animationend"),Ky=cu("animationiteration"),Gy=cu("animationstart"),Zy=cu("transitionend"),Qy=new Map,Ep="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 us(e,t){Qy.set(e,t),zs(t,[e])}for(var cc=0;cc<Ep.length;cc++){var dc=Ep[cc],dS=dc.toLowerCase(),fS=dc[0].toUpperCase()+dc.slice(1);us(dS,"on"+fS)}us(Uy,"onAnimationEnd");us(Ky,"onAnimationIteration");us(Gy,"onAnimationStart");us("dblclick","onDoubleClick");us("focusin","onFocus");us("focusout","onBlur");us(Zy,"onTransitionEnd");Ra("onMouseEnter",["mouseout","mouseover"]);Ra("onMouseLeave",["mouseout","mouseover"]);Ra("onPointerEnter",["pointerout","pointerover"]);Ra("onPointerLeave",["pointerout","pointerover"]);zs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));zs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));zs("onBeforeInput",["compositionend","keypress","textInput","paste"]);zs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));zs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));zs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yo="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(" "),hS=new Set("cancel close invalid load scroll toggle".split(" ").concat(yo));function Ip(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,dk(r,t,void 0,e),e.currentTarget=null}function Yy(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var i=r[o],u=i.instance,c=i.currentTarget;if(i=i.listener,u!==a&&s.isPropagationStopped())break e;Ip(s,i,c),a=u}else for(o=0;o<r.length;o++){if(i=r[o],u=i.instance,c=i.currentTarget,i=i.listener,u!==a&&s.isPropagationStopped())break e;Ip(s,i,c),a=u}}}if(wl)throw e=rd,wl=!1,rd=null,e}function Le(e,t){var n=t[hd];n===void 0&&(n=t[hd]=new Set);var r=e+"__bubble";n.has(r)||(Jy(t,e,2,!1),n.add(r))}function fc(e,t,n){var r=0;t&&(r|=4),Jy(n,e,r,t)}var Oi="_reactListening"+Math.random().toString(36).slice(2);function Wo(e){if(!e[Oi]){e[Oi]=!0,ay.forEach(function(n){n!=="selectionchange"&&(hS.has(n)||fc(n,!1,e),fc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Oi]||(t[Oi]=!0,fc("selectionchange",!1,t))}}function Jy(e,t,n,r){switch(Oy(t)){case 1:var s=Ek;break;case 4:s=Ik;break;default:s=_f}n=s.bind(null,t,n,e),s=void 0,!nd||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function hc(e,t,n,r,s){var a=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var i=r.stateNode.containerInfo;if(i===s||i.nodeType===8&&i.parentNode===s)break;if(o===4)for(o=r.return;o!==null;){var u=o.tag;if((u===3||u===4)&&(u=o.stateNode.containerInfo,u===s||u.nodeType===8&&u.parentNode===s))return;o=o.return}for(;i!==null;){if(o=ws(i),o===null)return;if(u=o.tag,u===5||u===6){r=a=o;continue e}i=i.parentNode}}r=r.return}by(function(){var c=a,f=Nf(n),h=[];e:{var y=Qy.get(e);if(y!==void 0){var m=Rf,b=e;switch(e){case"keypress":if(rl(n)===0)break e;case"keydown":case"keyup":m=Vk;break;case"focusin":b="focus",m=oc;break;case"focusout":b="blur",m=oc;break;case"beforeblur":case"afterblur":m=oc;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=gp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=Rk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=Uk;break;case Uy:case Ky:case Gy:m=Mk;break;case Zy:m=Gk;break;case"scroll":m=_k;break;case"wheel":m=Qk;break;case"copy":case"cut":case"paste":m=Fk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=vp}var g=(t&4)!==0,x=!g&&e==="scroll",w=g?y!==null?y+"Capture":null:y;g=[];for(var p=c,v;p!==null;){v=p;var k=v.stateNode;if(v.tag===5&&k!==null&&(v=k,w!==null&&(k=Lo(p,w),k!=null&&g.push(Ho(p,k,v)))),x)break;p=p.return}0<g.length&&(y=new m(y,b,null,n,f),h.push({event:y,listeners:g}))}}if(!(t&7)){e:{if(y=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",y&&n!==ed&&(b=n.relatedTarget||n.fromElement)&&(ws(b)||b[gr]))break e;if((m||y)&&(y=f.window===f?f:(y=f.ownerDocument)?y.defaultView||y.parentWindow:window,m?(b=n.relatedTarget||n.toElement,m=c,b=b?ws(b):null,b!==null&&(x=Vs(b),b!==x||b.tag!==5&&b.tag!==6)&&(b=null)):(m=null,b=c),m!==b)){if(g=gp,k="onMouseLeave",w="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(g=vp,k="onPointerLeave",w="onPointerEnter",p="pointer"),x=m==null?y:oa(m),v=b==null?y:oa(b),y=new g(k,p+"leave",m,n,f),y.target=x,y.relatedTarget=v,k=null,ws(f)===c&&(g=new g(w,p+"enter",b,n,f),g.target=v,g.relatedTarget=x,k=g),x=k,m&&b)t:{for(g=m,w=b,p=0,v=g;v;v=Gs(v))p++;for(v=0,k=w;k;k=Gs(k))v++;for(;0<p-v;)g=Gs(g),p--;for(;0<v-p;)w=Gs(w),v--;for(;p--;){if(g===w||w!==null&&g===w.alternate)break t;g=Gs(g),w=Gs(w)}g=null}else g=null;m!==null&&_p(h,y,m,g,!1),b!==null&&x!==null&&_p(h,x,b,g,!0)}}e:{if(y=c?oa(c):window,m=y.nodeName&&y.nodeName.toLowerCase(),m==="select"||m==="input"&&y.type==="file")var S=rS;else if(bp(y))if($y)S=iS;else{S=aS;var j=sS}else(m=y.nodeName)&&m.toLowerCase()==="input"&&(y.type==="checkbox"||y.type==="radio")&&(S=oS);if(S&&(S=S(e,c))){By(h,S,n,f);break e}j&&j(e,y,c),e==="focusout"&&(j=y._wrapperState)&&j.controlled&&y.type==="number"&&Zc(y,"number",y.value)}switch(j=c?oa(c):window,e){case"focusin":(bp(j)||j.contentEditable==="true")&&(sa=j,id=c,No=null);break;case"focusout":No=id=sa=null;break;case"mousedown":ld=!0;break;case"contextmenu":case"mouseup":case"dragend":ld=!1,jp(h,n,f);break;case"selectionchange":if(cS)break;case"keydown":case"keyup":jp(h,n,f)}var N;if(Af)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else ra?Ly(e,n)&&(_="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(_="onCompositionStart");_&&(Dy&&n.locale!=="ko"&&(ra||_!=="onCompositionStart"?_==="onCompositionEnd"&&ra&&(N=Fy()):(Vr=f,Tf="value"in Vr?Vr.value:Vr.textContent,ra=!0)),j=Cl(c,_),0<j.length&&(_=new yp(_,e,null,n,f),h.push({event:_,listeners:j}),N?_.data=N:(N=qy(n),N!==null&&(_.data=N)))),(N=Jk?Xk(e,n):eS(e,n))&&(c=Cl(c,"onBeforeInput"),0<c.length&&(f=new yp("onBeforeInput","beforeinput",null,n,f),h.push({event:f,listeners:c}),f.data=N))}Yy(h,t)})}function Ho(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Cl(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,a=s.stateNode;s.tag===5&&a!==null&&(s=a,a=Lo(e,n),a!=null&&r.unshift(Ho(e,a,s)),a=Lo(e,t),a!=null&&r.push(Ho(e,a,s))),e=e.return}return r}function Gs(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function _p(e,t,n,r,s){for(var a=t._reactName,o=[];n!==null&&n!==r;){var i=n,u=i.alternate,c=i.stateNode;if(u!==null&&u===r)break;i.tag===5&&c!==null&&(i=c,s?(u=Lo(n,a),u!=null&&o.unshift(Ho(n,u,i))):s||(u=Lo(n,a),u!=null&&o.push(Ho(n,u,i)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var pS=/\r\n?/g,mS=/\u0000|\uFFFD/g;function Tp(e){return(typeof e=="string"?e:""+e).replace(pS,`
`).replace(mS,"")}function Fi(e,t,n){if(t=Tp(t),Tp(e)!==t&&n)throw Error(L(425))}function Nl(){}var ud=null,cd=null;function dd(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 fd=typeof setTimeout=="function"?setTimeout:void 0,gS=typeof clearTimeout=="function"?clearTimeout:void 0,Rp=typeof Promise=="function"?Promise:void 0,yS=typeof queueMicrotask=="function"?queueMicrotask:typeof Rp<"u"?function(e){return Rp.resolve(null).then(e).catch(vS)}:fd;function vS(e){setTimeout(function(){throw e})}function pc(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),$o(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);$o(t)}function Qr(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 Pp(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 Ga=Math.random().toString(36).slice(2),Bn="__reactFiber$"+Ga,Uo="__reactProps$"+Ga,gr="__reactContainer$"+Ga,hd="__reactEvents$"+Ga,wS="__reactListeners$"+Ga,xS="__reactHandles$"+Ga;function ws(e){var t=e[Bn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[gr]||n[Bn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Pp(e);e!==null;){if(n=e[Bn])return n;e=Pp(e)}return t}e=n,n=e.parentNode}return null}function hi(e){return e=e[Bn]||e[gr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function oa(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(L(33))}function du(e){return e[Uo]||null}var pd=[],ia=-1;function cs(e){return{current:e}}function qe(e){0>ia||(e.current=pd[ia],pd[ia]=null,ia--)}function Oe(e,t){ia++,pd[ia]=e.current,e.current=t}var ss={},yt=cs(ss),Rt=cs(!1),Ps=ss;function Pa(e,t){var n=e.type.contextTypes;if(!n)return ss;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},a;for(a in n)s[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function Pt(e){return e=e.childContextTypes,e!=null}function jl(){qe(Rt),qe(yt)}function Ap(e,t,n){if(yt.current!==ss)throw Error(L(168));Oe(yt,t),Oe(Rt,n)}function Xy(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(L(108,sk(e)||"Unknown",s));return He({},n,r)}function El(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ss,Ps=yt.current,Oe(yt,e),Oe(Rt,Rt.current),!0}function Mp(e,t,n){var r=e.stateNode;if(!r)throw Error(L(169));n?(e=Xy(e,t,Ps),r.__reactInternalMemoizedMergedChildContext=e,qe(Rt),qe(yt),Oe(yt,e)):qe(Rt),Oe(Rt,n)}var or=null,fu=!1,mc=!1;function ev(e){or===null?or=[e]:or.push(e)}function bS(e){fu=!0,ev(e)}function ds(){if(!mc&&or!==null){mc=!0;var e=0,t=_e;try{var n=or;for(_e=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}or=null,fu=!1}catch(s){throw or!==null&&(or=or.slice(e+1)),Ny(jf,ds),s}finally{_e=t,mc=!1}}return null}var la=[],ua=0,Il=null,_l=0,Yt=[],Jt=0,As=null,dr=1,fr="";function ys(e,t){la[ua++]=_l,la[ua++]=Il,Il=e,_l=t}function tv(e,t,n){Yt[Jt++]=dr,Yt[Jt++]=fr,Yt[Jt++]=As,As=e;var r=dr;e=fr;var s=32-xn(r)-1;r&=~(1<<s),n+=1;var a=32-xn(t)+s;if(30<a){var o=s-s%5;a=(r&(1<<o)-1).toString(32),r>>=o,s-=o,dr=1<<32-xn(t)+s|n<<s|r,fr=a+e}else dr=1<<a|n<<s|r,fr=e}function Of(e){e.return!==null&&(ys(e,1),tv(e,1,0))}function Ff(e){for(;e===Il;)Il=la[--ua],la[ua]=null,_l=la[--ua],la[ua]=null;for(;e===As;)As=Yt[--Jt],Yt[Jt]=null,fr=Yt[--Jt],Yt[Jt]=null,dr=Yt[--Jt],Yt[Jt]=null}var zt=null,$t=null,ze=!1,yn=null;function nv(e,t){var n=Xt(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 Op(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,zt=e,$t=Qr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,zt=e,$t=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=As!==null?{id:dr,overflow:fr}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Xt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,zt=e,$t=null,!0):!1;default:return!1}}function md(e){return(e.mode&1)!==0&&(e.flags&128)===0}function gd(e){if(ze){var t=$t;if(t){var n=t;if(!Op(e,t)){if(md(e))throw Error(L(418));t=Qr(n.nextSibling);var r=zt;t&&Op(e,t)?nv(r,n):(e.flags=e.flags&-4097|2,ze=!1,zt=e)}}else{if(md(e))throw Error(L(418));e.flags=e.flags&-4097|2,ze=!1,zt=e}}}function Fp(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;zt=e}function Di(e){if(e!==zt)return!1;if(!ze)return Fp(e),ze=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!dd(e.type,e.memoizedProps)),t&&(t=$t)){if(md(e))throw rv(),Error(L(418));for(;t;)nv(e,t),t=Qr(t.nextSibling)}if(Fp(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(L(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){$t=Qr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}$t=null}}else $t=zt?Qr(e.stateNode.nextSibling):null;return!0}function rv(){for(var e=$t;e;)e=Qr(e.nextSibling)}function Aa(){$t=zt=null,ze=!1}function Df(e){yn===null?yn=[e]:yn.push(e)}var kS=Sr.ReactCurrentBatchConfig;function oo(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(L(309));var r=n.stateNode}if(!r)throw Error(L(147,e));var s=r,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(o){var i=s.refs;o===null?delete i[a]:i[a]=o},t._stringRef=a,t)}if(typeof e!="string")throw Error(L(284));if(!n._owner)throw Error(L(290,e))}return e}function Li(e,t){throw e=Object.prototype.toString.call(t),Error(L(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Dp(e){var t=e._init;return t(e._payload)}function sv(e){function t(w,p){if(e){var v=w.deletions;v===null?(w.deletions=[p],w.flags|=16):v.push(p)}}function n(w,p){if(!e)return null;for(;p!==null;)t(w,p),p=p.sibling;return null}function r(w,p){for(w=new Map;p!==null;)p.key!==null?w.set(p.key,p):w.set(p.index,p),p=p.sibling;return w}function s(w,p){return w=es(w,p),w.index=0,w.sibling=null,w}function a(w,p,v){return w.index=v,e?(v=w.alternate,v!==null?(v=v.index,v<p?(w.flags|=2,p):v):(w.flags|=2,p)):(w.flags|=1048576,p)}function o(w){return e&&w.alternate===null&&(w.flags|=2),w}function i(w,p,v,k){return p===null||p.tag!==6?(p=kc(v,w.mode,k),p.return=w,p):(p=s(p,v),p.return=w,p)}function u(w,p,v,k){var S=v.type;return S===na?f(w,p,v.props.children,k,v.key):p!==null&&(p.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Ar&&Dp(S)===p.type)?(k=s(p,v.props),k.ref=oo(w,p,v),k.return=w,k):(k=cl(v.type,v.key,v.props,null,w.mode,k),k.ref=oo(w,p,v),k.return=w,k)}function c(w,p,v,k){return p===null||p.tag!==4||p.stateNode.containerInfo!==v.containerInfo||p.stateNode.implementation!==v.implementation?(p=Sc(v,w.mode,k),p.return=w,p):(p=s(p,v.children||[]),p.return=w,p)}function f(w,p,v,k,S){return p===null||p.tag!==7?(p=Ts(v,w.mode,k,S),p.return=w,p):(p=s(p,v),p.return=w,p)}function h(w,p,v){if(typeof p=="string"&&p!==""||typeof p=="number")return p=kc(""+p,w.mode,v),p.return=w,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Ei:return v=cl(p.type,p.key,p.props,null,w.mode,v),v.ref=oo(w,null,p),v.return=w,v;case ta:return p=Sc(p,w.mode,v),p.return=w,p;case Ar:var k=p._init;return h(w,k(p._payload),v)}if(mo(p)||to(p))return p=Ts(p,w.mode,v,null),p.return=w,p;Li(w,p)}return null}function y(w,p,v,k){var S=p!==null?p.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return S!==null?null:i(w,p,""+v,k);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Ei:return v.key===S?u(w,p,v,k):null;case ta:return v.key===S?c(w,p,v,k):null;case Ar:return S=v._init,y(w,p,S(v._payload),k)}if(mo(v)||to(v))return S!==null?null:f(w,p,v,k,null);Li(w,v)}return null}function m(w,p,v,k,S){if(typeof k=="string"&&k!==""||typeof k=="number")return w=w.get(v)||null,i(p,w,""+k,S);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case Ei:return w=w.get(k.key===null?v:k.key)||null,u(p,w,k,S);case ta:return w=w.get(k.key===null?v:k.key)||null,c(p,w,k,S);case Ar:var j=k._init;return m(w,p,v,j(k._payload),S)}if(mo(k)||to(k))return w=w.get(v)||null,f(p,w,k,S,null);Li(p,k)}return null}function b(w,p,v,k){for(var S=null,j=null,N=p,_=p=0,F=null;N!==null&&_<v.length;_++){N.index>_?(F=N,N=null):F=N.sibling;var D=y(w,N,v[_],k);if(D===null){N===null&&(N=F);break}e&&N&&D.alternate===null&&t(w,N),p=a(D,p,_),j===null?S=D:j.sibling=D,j=D,N=F}if(_===v.length)return n(w,N),ze&&ys(w,_),S;if(N===null){for(;_<v.length;_++)N=h(w,v[_],k),N!==null&&(p=a(N,p,_),j===null?S=N:j.sibling=N,j=N);return ze&&ys(w,_),S}for(N=r(w,N);_<v.length;_++)F=m(N,w,_,v[_],k),F!==null&&(e&&F.alternate!==null&&N.delete(F.key===null?_:F.key),p=a(F,p,_),j===null?S=F:j.sibling=F,j=F);return e&&N.forEach(function(G){return t(w,G)}),ze&&ys(w,_),S}function g(w,p,v,k){var S=to(v);if(typeof S!="function")throw Error(L(150));if(v=S.call(v),v==null)throw Error(L(151));for(var j=S=null,N=p,_=p=0,F=null,D=v.next();N!==null&&!D.done;_++,D=v.next()){N.index>_?(F=N,N=null):F=N.sibling;var G=y(w,N,D.value,k);if(G===null){N===null&&(N=F);break}e&&N&&G.alternate===null&&t(w,N),p=a(G,p,_),j===null?S=G:j.sibling=G,j=G,N=F}if(D.done)return n(w,N),ze&&ys(w,_),S;if(N===null){for(;!D.done;_++,D=v.next())D=h(w,D.value,k),D!==null&&(p=a(D,p,_),j===null?S=D:j.sibling=D,j=D);return ze&&ys(w,_),S}for(N=r(w,N);!D.done;_++,D=v.next())D=m(N,w,_,D.value,k),D!==null&&(e&&D.alternate!==null&&N.delete(D.key===null?_:D.key),p=a(D,p,_),j===null?S=D:j.sibling=D,j=D);return e&&N.forEach(function(M){return t(w,M)}),ze&&ys(w,_),S}function x(w,p,v,k){if(typeof v=="object"&&v!==null&&v.type===na&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Ei:e:{for(var S=v.key,j=p;j!==null;){if(j.key===S){if(S=v.type,S===na){if(j.tag===7){n(w,j.sibling),p=s(j,v.props.children),p.return=w,w=p;break e}}else if(j.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Ar&&Dp(S)===j.type){n(w,j.sibling),p=s(j,v.props),p.ref=oo(w,j,v),p.return=w,w=p;break e}n(w,j);break}else t(w,j);j=j.sibling}v.type===na?(p=Ts(v.props.children,w.mode,k,v.key),p.return=w,w=p):(k=cl(v.type,v.key,v.props,null,w.mode,k),k.ref=oo(w,p,v),k.return=w,w=k)}return o(w);case ta:e:{for(j=v.key;p!==null;){if(p.key===j)if(p.tag===4&&p.stateNode.containerInfo===v.containerInfo&&p.stateNode.implementation===v.implementation){n(w,p.sibling),p=s(p,v.children||[]),p.return=w,w=p;break e}else{n(w,p);break}else t(w,p);p=p.sibling}p=Sc(v,w.mode,k),p.return=w,w=p}return o(w);case Ar:return j=v._init,x(w,p,j(v._payload),k)}if(mo(v))return b(w,p,v,k);if(to(v))return g(w,p,v,k);Li(w,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,p!==null&&p.tag===6?(n(w,p.sibling),p=s(p,v),p.return=w,w=p):(n(w,p),p=kc(v,w.mode,k),p.return=w,w=p),o(w)):n(w,p)}return x}var Ma=sv(!0),av=sv(!1),Tl=cs(null),Rl=null,ca=null,Lf=null;function qf(){Lf=ca=Rl=null}function Bf(e){var t=Tl.current;qe(Tl),e._currentValue=t}function yd(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function va(e,t){Rl=e,Lf=ca=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Tt=!0),e.firstContext=null)}function tn(e){var t=e._currentValue;if(Lf!==e)if(e={context:e,memoizedValue:t,next:null},ca===null){if(Rl===null)throw Error(L(308));ca=e,Rl.dependencies={lanes:0,firstContext:e}}else ca=ca.next=e;return t}var xs=null;function $f(e){xs===null?xs=[e]:xs.push(e)}function ov(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,$f(t)):(n.next=s.next,s.next=n),t.interleaved=n,yr(e,r)}function yr(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 Mr=!1;function zf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function iv(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 hr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Yr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,be&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,yr(e,n)}return s=r.interleaved,s===null?(t.next=t,$f(r)):(t.next=s.next,s.next=t),r.interleaved=t,yr(e,n)}function sl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ef(e,n)}}function Lp(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?s=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?s=a=t:a=a.next=t}else s=a=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Pl(e,t,n,r){var s=e.updateQueue;Mr=!1;var a=s.firstBaseUpdate,o=s.lastBaseUpdate,i=s.shared.pending;if(i!==null){s.shared.pending=null;var u=i,c=u.next;u.next=null,o===null?a=c:o.next=c,o=u;var f=e.alternate;f!==null&&(f=f.updateQueue,i=f.lastBaseUpdate,i!==o&&(i===null?f.firstBaseUpdate=c:i.next=c,f.lastBaseUpdate=u))}if(a!==null){var h=s.baseState;o=0,f=c=u=null,i=a;do{var y=i.lane,m=i.eventTime;if((r&y)===y){f!==null&&(f=f.next={eventTime:m,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var b=e,g=i;switch(y=t,m=n,g.tag){case 1:if(b=g.payload,typeof b=="function"){h=b.call(m,h,y);break e}h=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=g.payload,y=typeof b=="function"?b.call(m,h,y):b,y==null)break e;h=He({},h,y);break e;case 2:Mr=!0}}i.callback!==null&&i.lane!==0&&(e.flags|=64,y=s.effects,y===null?s.effects=[i]:y.push(i))}else m={eventTime:m,lane:y,tag:i.tag,payload:i.payload,callback:i.callback,next:null},f===null?(c=f=m,u=h):f=f.next=m,o|=y;if(i=i.next,i===null){if(i=s.shared.pending,i===null)break;y=i,i=y.next,y.next=null,s.lastBaseUpdate=y,s.shared.pending=null}}while(!0);if(f===null&&(u=h),s.baseState=u,s.firstBaseUpdate=c,s.lastBaseUpdate=f,t=s.shared.interleaved,t!==null){s=t;do o|=s.lane,s=s.next;while(s!==t)}else a===null&&(s.shared.lanes=0);Os|=o,e.lanes=o,e.memoizedState=h}}function qp(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(L(191,s));s.call(r)}}}var pi={},Hn=cs(pi),Ko=cs(pi),Go=cs(pi);function bs(e){if(e===pi)throw Error(L(174));return e}function Vf(e,t){switch(Oe(Go,t),Oe(Ko,e),Oe(Hn,pi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Yc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Yc(t,e)}qe(Hn),Oe(Hn,t)}function Oa(){qe(Hn),qe(Ko),qe(Go)}function lv(e){bs(Go.current);var t=bs(Hn.current),n=Yc(t,e.type);t!==n&&(Oe(Ko,e),Oe(Hn,n))}function Wf(e){Ko.current===e&&(qe(Hn),qe(Ko))}var Ve=cs(0);function Al(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 gc=[];function Hf(){for(var e=0;e<gc.length;e++)gc[e]._workInProgressVersionPrimary=null;gc.length=0}var al=Sr.ReactCurrentDispatcher,yc=Sr.ReactCurrentBatchConfig,Ms=0,We=null,nt=null,at=null,Ml=!1,jo=!1,Zo=0,SS=0;function ht(){throw Error(L(321))}function Uf(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!kn(e[n],t[n]))return!1;return!0}function Kf(e,t,n,r,s,a){if(Ms=a,We=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,al.current=e===null||e.memoizedState===null?ES:IS,e=n(r,s),jo){a=0;do{if(jo=!1,Zo=0,25<=a)throw Error(L(301));a+=1,at=nt=null,t.updateQueue=null,al.current=_S,e=n(r,s)}while(jo)}if(al.current=Ol,t=nt!==null&&nt.next!==null,Ms=0,at=nt=We=null,Ml=!1,t)throw Error(L(300));return e}function Gf(){var e=Zo!==0;return Zo=0,e}function On(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return at===null?We.memoizedState=at=e:at=at.next=e,at}function nn(){if(nt===null){var e=We.alternate;e=e!==null?e.memoizedState:null}else e=nt.next;var t=at===null?We.memoizedState:at.next;if(t!==null)at=t,nt=e;else{if(e===null)throw Error(L(310));nt=e,e={memoizedState:nt.memoizedState,baseState:nt.baseState,baseQueue:nt.baseQueue,queue:nt.queue,next:null},at===null?We.memoizedState=at=e:at=at.next=e}return at}function Qo(e,t){return typeof t=="function"?t(e):t}function vc(e){var t=nn(),n=t.queue;if(n===null)throw Error(L(311));n.lastRenderedReducer=e;var r=nt,s=r.baseQueue,a=n.pending;if(a!==null){if(s!==null){var o=s.next;s.next=a.next,a.next=o}r.baseQueue=s=a,n.pending=null}if(s!==null){a=s.next,r=r.baseState;var i=o=null,u=null,c=a;do{var f=c.lane;if((Ms&f)===f)u!==null&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var h={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};u===null?(i=u=h,o=r):u=u.next=h,We.lanes|=f,Os|=f}c=c.next}while(c!==null&&c!==a);u===null?o=r:u.next=i,kn(r,t.memoizedState)||(Tt=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do a=s.lane,We.lanes|=a,Os|=a,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function wc(e){var t=nn(),n=t.queue;if(n===null)throw Error(L(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,a=t.memoizedState;if(s!==null){n.pending=null;var o=s=s.next;do a=e(a,o.action),o=o.next;while(o!==s);kn(a,t.memoizedState)||(Tt=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function uv(){}function cv(e,t){var n=We,r=nn(),s=t(),a=!kn(r.memoizedState,s);if(a&&(r.memoizedState=s,Tt=!0),r=r.queue,Zf(hv.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||at!==null&&at.memoizedState.tag&1){if(n.flags|=2048,Yo(9,fv.bind(null,n,r,s,t),void 0,null),it===null)throw Error(L(349));Ms&30||dv(n,t,s)}return s}function dv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=We.updateQueue,t===null?(t={lastEffect:null,stores:null},We.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function fv(e,t,n,r){t.value=n,t.getSnapshot=r,pv(t)&&mv(e)}function hv(e,t,n){return n(function(){pv(t)&&mv(e)})}function pv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!kn(e,n)}catch{return!0}}function mv(e){var t=yr(e,1);t!==null&&bn(t,e,1,-1)}function Bp(e){var t=On();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qo,lastRenderedState:e},t.queue=e,e=e.dispatch=jS.bind(null,We,e),[t.memoizedState,e]}function Yo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=We.updateQueue,t===null?(t={lastEffect:null,stores:null},We.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function gv(){return nn().memoizedState}function ol(e,t,n,r){var s=On();We.flags|=e,s.memoizedState=Yo(1|t,n,void 0,r===void 0?null:r)}function hu(e,t,n,r){var s=nn();r=r===void 0?null:r;var a=void 0;if(nt!==null){var o=nt.memoizedState;if(a=o.destroy,r!==null&&Uf(r,o.deps)){s.memoizedState=Yo(t,n,a,r);return}}We.flags|=e,s.memoizedState=Yo(1|t,n,a,r)}function $p(e,t){return ol(8390656,8,e,t)}function Zf(e,t){return hu(2048,8,e,t)}function yv(e,t){return hu(4,2,e,t)}function vv(e,t){return hu(4,4,e,t)}function wv(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 xv(e,t,n){return n=n!=null?n.concat([e]):null,hu(4,4,wv.bind(null,t,e),n)}function Qf(){}function bv(e,t){var n=nn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Uf(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function kv(e,t){var n=nn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Uf(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Sv(e,t,n){return Ms&21?(kn(n,t)||(n=Iy(),We.lanes|=n,Os|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Tt=!0),e.memoizedState=n)}function CS(e,t){var n=_e;_e=n!==0&&4>n?n:4,e(!0);var r=yc.transition;yc.transition={};try{e(!1),t()}finally{_e=n,yc.transition=r}}function Cv(){return nn().memoizedState}function NS(e,t,n){var r=Xr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Nv(e))jv(t,n);else if(n=ov(e,t,n,r),n!==null){var s=St();bn(n,e,r,s),Ev(n,t,r)}}function jS(e,t,n){var r=Xr(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Nv(e))jv(t,s);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,i=a(o,n);if(s.hasEagerState=!0,s.eagerState=i,kn(i,o)){var u=t.interleaved;u===null?(s.next=s,$f(t)):(s.next=u.next,u.next=s),t.interleaved=s;return}}catch{}finally{}n=ov(e,t,s,r),n!==null&&(s=St(),bn(n,e,r,s),Ev(n,t,r))}}function Nv(e){var t=e.alternate;return e===We||t!==null&&t===We}function jv(e,t){jo=Ml=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ev(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ef(e,n)}}var Ol={readContext:tn,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useInsertionEffect:ht,useLayoutEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useMutableSource:ht,useSyncExternalStore:ht,useId:ht,unstable_isNewReconciler:!1},ES={readContext:tn,useCallback:function(e,t){return On().memoizedState=[e,t===void 0?null:t],e},useContext:tn,useEffect:$p,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ol(4194308,4,wv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ol(4194308,4,e,t)},useInsertionEffect:function(e,t){return ol(4,2,e,t)},useMemo:function(e,t){var n=On();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=On();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=NS.bind(null,We,e),[r.memoizedState,e]},useRef:function(e){var t=On();return e={current:e},t.memoizedState=e},useState:Bp,useDebugValue:Qf,useDeferredValue:function(e){return On().memoizedState=e},useTransition:function(){var e=Bp(!1),t=e[0];return e=CS.bind(null,e[1]),On().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=We,s=On();if(ze){if(n===void 0)throw Error(L(407));n=n()}else{if(n=t(),it===null)throw Error(L(349));Ms&30||dv(r,t,n)}s.memoizedState=n;var a={value:n,getSnapshot:t};return s.queue=a,$p(hv.bind(null,r,a,e),[e]),r.flags|=2048,Yo(9,fv.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=On(),t=it.identifierPrefix;if(ze){var n=fr,r=dr;n=(r&~(1<<32-xn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Zo++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=SS++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},IS={readContext:tn,useCallback:bv,useContext:tn,useEffect:Zf,useImperativeHandle:xv,useInsertionEffect:yv,useLayoutEffect:vv,useMemo:kv,useReducer:vc,useRef:gv,useState:function(){return vc(Qo)},useDebugValue:Qf,useDeferredValue:function(e){var t=nn();return Sv(t,nt.memoizedState,e)},useTransition:function(){var e=vc(Qo)[0],t=nn().memoizedState;return[e,t]},useMutableSource:uv,useSyncExternalStore:cv,useId:Cv,unstable_isNewReconciler:!1},_S={readContext:tn,useCallback:bv,useContext:tn,useEffect:Zf,useImperativeHandle:xv,useInsertionEffect:yv,useLayoutEffect:vv,useMemo:kv,useReducer:wc,useRef:gv,useState:function(){return wc(Qo)},useDebugValue:Qf,useDeferredValue:function(e){var t=nn();return nt===null?t.memoizedState=e:Sv(t,nt.memoizedState,e)},useTransition:function(){var e=wc(Qo)[0],t=nn().memoizedState;return[e,t]},useMutableSource:uv,useSyncExternalStore:cv,useId:Cv,unstable_isNewReconciler:!1};function fn(e,t){if(e&&e.defaultProps){t=He({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function vd(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:He({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var pu={isMounted:function(e){return(e=e._reactInternals)?Vs(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=St(),s=Xr(e),a=hr(r,s);a.payload=t,n!=null&&(a.callback=n),t=Yr(e,a,s),t!==null&&(bn(t,e,s,r),sl(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=St(),s=Xr(e),a=hr(r,s);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=Yr(e,a,s),t!==null&&(bn(t,e,s,r),sl(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=St(),r=Xr(e),s=hr(n,r);s.tag=2,t!=null&&(s.callback=t),t=Yr(e,s,r),t!==null&&(bn(t,e,r,n),sl(t,e,r))}};function zp(e,t,n,r,s,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Vo(n,r)||!Vo(s,a):!0}function Iv(e,t,n){var r=!1,s=ss,a=t.contextType;return typeof a=="object"&&a!==null?a=tn(a):(s=Pt(t)?Ps:yt.current,r=t.contextTypes,a=(r=r!=null)?Pa(e,s):ss),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=pu,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=a),t}function Vp(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&pu.enqueueReplaceState(t,t.state,null)}function wd(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},zf(e);var a=t.contextType;typeof a=="object"&&a!==null?s.context=tn(a):(a=Pt(t)?Ps:yt.current,s.context=Pa(e,a)),s.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(vd(e,t,a,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&pu.enqueueReplaceState(s,s.state,null),Pl(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function Fa(e,t){try{var n="",r=t;do n+=rk(r),r=r.return;while(r);var s=n}catch(a){s=`
Error generating stack: `+a.message+`
`+a.stack}return{value:e,source:t,stack:s,digest:null}}function xc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function xd(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var TS=typeof WeakMap=="function"?WeakMap:Map;function _v(e,t,n){n=hr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Dl||(Dl=!0,Td=r),xd(e,t)},n}function Tv(e,t,n){n=hr(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){xd(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){xd(e,t),typeof r!="function"&&(Jr===null?Jr=new Set([this]):Jr.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Wp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new TS;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=WS.bind(null,e,t,n),t.then(e,e))}function Hp(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Up(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=hr(-1,1),t.tag=2,Yr(n,t,1))),n.lanes|=1),e)}var RS=Sr.ReactCurrentOwner,Tt=!1;function xt(e,t,n,r){t.child=e===null?av(t,null,n,r):Ma(t,e.child,n,r)}function Kp(e,t,n,r,s){n=n.render;var a=t.ref;return va(t,s),r=Kf(e,t,n,r,a,s),n=Gf(),e!==null&&!Tt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,vr(e,t,s)):(ze&&n&&Of(t),t.flags|=1,xt(e,t,r,s),t.child)}function Gp(e,t,n,r,s){if(e===null){var a=n.type;return typeof a=="function"&&!sh(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Rv(e,t,a,r,s)):(e=cl(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&s)){var o=a.memoizedProps;if(n=n.compare,n=n!==null?n:Vo,n(o,r)&&e.ref===t.ref)return vr(e,t,s)}return t.flags|=1,e=es(a,r),e.ref=t.ref,e.return=t,t.child=e}function Rv(e,t,n,r,s){if(e!==null){var a=e.memoizedProps;if(Vo(a,r)&&e.ref===t.ref)if(Tt=!1,t.pendingProps=r=a,(e.lanes&s)!==0)e.flags&131072&&(Tt=!0);else return t.lanes=e.lanes,vr(e,t,s)}return bd(e,t,n,r,s)}function Pv(e,t,n){var r=t.pendingProps,s=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Oe(fa,Lt),Lt|=n;else{if(!(n&1073741824))return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Oe(fa,Lt),Lt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,Oe(fa,Lt),Lt|=r}else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,Oe(fa,Lt),Lt|=r;return xt(e,t,s,n),t.child}function Av(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function bd(e,t,n,r,s){var a=Pt(n)?Ps:yt.current;return a=Pa(t,a),va(t,s),n=Kf(e,t,n,r,a,s),r=Gf(),e!==null&&!Tt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,vr(e,t,s)):(ze&&r&&Of(t),t.flags|=1,xt(e,t,n,s),t.child)}function Zp(e,t,n,r,s){if(Pt(n)){var a=!0;El(t)}else a=!1;if(va(t,s),t.stateNode===null)il(e,t),Iv(t,n,r),wd(t,n,r,s),r=!0;else if(e===null){var o=t.stateNode,i=t.memoizedProps;o.props=i;var u=o.context,c=n.contextType;typeof c=="object"&&c!==null?c=tn(c):(c=Pt(n)?Ps:yt.current,c=Pa(t,c));var f=n.getDerivedStateFromProps,h=typeof f=="function"||typeof o.getSnapshotBeforeUpdate=="function";h||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(i!==r||u!==c)&&Vp(t,o,r,c),Mr=!1;var y=t.memoizedState;o.state=y,Pl(t,r,o,s),u=t.memoizedState,i!==r||y!==u||Rt.current||Mr?(typeof f=="function"&&(vd(t,n,f,r),u=t.memoizedState),(i=Mr||zp(t,n,i,r,y,u,c))?(h||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=c,r=i):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,iv(e,t),i=t.memoizedProps,c=t.type===t.elementType?i:fn(t.type,i),o.props=c,h=t.pendingProps,y=o.context,u=n.contextType,typeof u=="object"&&u!==null?u=tn(u):(u=Pt(n)?Ps:yt.current,u=Pa(t,u));var m=n.getDerivedStateFromProps;(f=typeof m=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(i!==h||y!==u)&&Vp(t,o,r,u),Mr=!1,y=t.memoizedState,o.state=y,Pl(t,r,o,s);var b=t.memoizedState;i!==h||y!==b||Rt.current||Mr?(typeof m=="function"&&(vd(t,n,m,r),b=t.memoizedState),(c=Mr||zp(t,n,c,r,y,b,u)||!1)?(f||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,b,u),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,b,u)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||i===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),o.props=r,o.state=b,o.context=u,r=c):(typeof o.componentDidUpdate!="function"||i===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),r=!1)}return kd(e,t,n,r,a,s)}function kd(e,t,n,r,s,a){Av(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return s&&Mp(t,n,!1),vr(e,t,a);r=t.stateNode,RS.current=t;var i=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Ma(t,e.child,null,a),t.child=Ma(t,null,i,a)):xt(e,t,i,a),t.memoizedState=r.state,s&&Mp(t,n,!0),t.child}function Mv(e){var t=e.stateNode;t.pendingContext?Ap(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ap(e,t.context,!1),Vf(e,t.containerInfo)}function Qp(e,t,n,r,s){return Aa(),Df(s),t.flags|=256,xt(e,t,n,r),t.child}var Sd={dehydrated:null,treeContext:null,retryLane:0};function Cd(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ov(e,t,n){var r=t.pendingProps,s=Ve.current,a=!1,o=(t.flags&128)!==0,i;if((i=o)||(i=e!==null&&e.memoizedState===null?!1:(s&2)!==0),i?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),Oe(Ve,s&1),e===null)return gd(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):(o=r.children,e=r.fallback,a?(r=t.mode,a=t.child,o={mode:"hidden",children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=yu(o,r,0,null),e=Ts(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Cd(n),t.memoizedState=Sd,e):Yf(t,o));if(s=e.memoizedState,s!==null&&(i=s.dehydrated,i!==null))return PS(e,t,o,r,i,s,n);if(a){a=r.fallback,o=t.mode,s=e.child,i=s.sibling;var u={mode:"hidden",children:r.children};return!(o&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=es(s,u),r.subtreeFlags=s.subtreeFlags&14680064),i!==null?a=es(i,a):(a=Ts(a,o,n,null),a.flags|=2),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,o=e.child.memoizedState,o=o===null?Cd(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=Sd,r}return a=e.child,e=a.sibling,r=es(a,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Yf(e,t){return t=yu({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function qi(e,t,n,r){return r!==null&&Df(r),Ma(t,e.child,null,n),e=Yf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function PS(e,t,n,r,s,a,o){if(n)return t.flags&256?(t.flags&=-257,r=xc(Error(L(422))),qi(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=r.fallback,s=t.mode,r=yu({mode:"visible",children:r.children},s,0,null),a=Ts(a,s,o,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,t.mode&1&&Ma(t,e.child,null,o),t.child.memoizedState=Cd(o),t.memoizedState=Sd,a);if(!(t.mode&1))return qi(e,t,o,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var i=r.dgst;return r=i,a=Error(L(419)),r=xc(a,r,void 0),qi(e,t,o,r)}if(i=(o&e.childLanes)!==0,Tt||i){if(r=it,r!==null){switch(o&-o){case 4:s=2;break;case 16:s=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|o)?0:s,s!==0&&s!==a.retryLane&&(a.retryLane=s,yr(e,s),bn(r,e,s,-1))}return rh(),r=xc(Error(L(421))),qi(e,t,o,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=HS.bind(null,e),s._reactRetry=t,null):(e=a.treeContext,$t=Qr(s.nextSibling),zt=t,ze=!0,yn=null,e!==null&&(Yt[Jt++]=dr,Yt[Jt++]=fr,Yt[Jt++]=As,dr=e.id,fr=e.overflow,As=t),t=Yf(t,r.children),t.flags|=4096,t)}function Yp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),yd(e.return,t,n)}function bc(e,t,n,r,s){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=s)}function Fv(e,t,n){var r=t.pendingProps,s=r.revealOrder,a=r.tail;if(xt(e,t,r.children,n),r=Ve.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Yp(e,n,t);else if(e.tag===19)Yp(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Oe(Ve,r),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&Al(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),bc(t,!1,s,n,a);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Al(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}bc(t,!0,n,null,a);break;case"together":bc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function il(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function vr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Os|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(L(153));if(t.child!==null){for(e=t.child,n=es(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=es(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function AS(e,t,n){switch(t.tag){case 3:Mv(t),Aa();break;case 5:lv(t);break;case 1:Pt(t.type)&&El(t);break;case 4:Vf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;Oe(Tl,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Oe(Ve,Ve.current&1),t.flags|=128,null):n&t.child.childLanes?Ov(e,t,n):(Oe(Ve,Ve.current&1),e=vr(e,t,n),e!==null?e.sibling:null);Oe(Ve,Ve.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Fv(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Oe(Ve,Ve.current),r)break;return null;case 22:case 23:return t.lanes=0,Pv(e,t,n)}return vr(e,t,n)}var Dv,Nd,Lv,qv;Dv=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}};Nd=function(){};Lv=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,bs(Hn.current);var a=null;switch(n){case"input":s=Kc(e,s),r=Kc(e,r),a=[];break;case"select":s=He({},s,{value:void 0}),r=He({},r,{value:void 0}),a=[];break;case"textarea":s=Qc(e,s),r=Qc(e,r),a=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Nl)}Jc(n,r);var o;n=null;for(c in s)if(!r.hasOwnProperty(c)&&s.hasOwnProperty(c)&&s[c]!=null)if(c==="style"){var i=s[c];for(o in i)i.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Fo.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(i=s!=null?s[c]:void 0,r.hasOwnProperty(c)&&u!==i&&(u!=null||i!=null))if(c==="style")if(i){for(o in i)!i.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&i[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(a||(a=[]),a.push(c,n)),n=u;else c==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,i=i?i.__html:void 0,u!=null&&i!==u&&(a=a||[]).push(c,u)):c==="children"?typeof u!="string"&&typeof u!="number"||(a=a||[]).push(c,""+u):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Fo.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&Le("scroll",e),a||i===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}};qv=function(e,t,n,r){n!==r&&(t.flags|=4)};function io(e,t){if(!ze)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function pt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function MS(e,t,n){var r=t.pendingProps;switch(Ff(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pt(t),null;case 1:return Pt(t.type)&&jl(),pt(t),null;case 3:return r=t.stateNode,Oa(),qe(Rt),qe(yt),Hf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Di(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,yn!==null&&(Ad(yn),yn=null))),Nd(e,t),pt(t),null;case 5:Wf(t);var s=bs(Go.current);if(n=t.type,e!==null&&t.stateNode!=null)Lv(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(L(166));return pt(t),null}if(e=bs(Hn.current),Di(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Bn]=t,r[Uo]=a,e=(t.mode&1)!==0,n){case"dialog":Le("cancel",r),Le("close",r);break;case"iframe":case"object":case"embed":Le("load",r);break;case"video":case"audio":for(s=0;s<yo.length;s++)Le(yo[s],r);break;case"source":Le("error",r);break;case"img":case"image":case"link":Le("error",r),Le("load",r);break;case"details":Le("toggle",r);break;case"input":op(r,a),Le("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Le("invalid",r);break;case"textarea":lp(r,a),Le("invalid",r)}Jc(n,a),s=null;for(var o in a)if(a.hasOwnProperty(o)){var i=a[o];o==="children"?typeof i=="string"?r.textContent!==i&&(a.suppressHydrationWarning!==!0&&Fi(r.textContent,i,e),s=["children",i]):typeof i=="number"&&r.textContent!==""+i&&(a.suppressHydrationWarning!==!0&&Fi(r.textContent,i,e),s=["children",""+i]):Fo.hasOwnProperty(o)&&i!=null&&o==="onScroll"&&Le("scroll",r)}switch(n){case"input":Ii(r),ip(r,a,!0);break;case"textarea":Ii(r),up(r);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(r.onclick=Nl)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=hy(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Bn]=t,e[Uo]=r,Dv(e,t,!1,!1),t.stateNode=e;e:{switch(o=Xc(n,r),n){case"dialog":Le("cancel",e),Le("close",e),s=r;break;case"iframe":case"object":case"embed":Le("load",e),s=r;break;case"video":case"audio":for(s=0;s<yo.length;s++)Le(yo[s],e);s=r;break;case"source":Le("error",e),s=r;break;case"img":case"image":case"link":Le("error",e),Le("load",e),s=r;break;case"details":Le("toggle",e),s=r;break;case"input":op(e,r),s=Kc(e,r),Le("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=He({},r,{value:void 0}),Le("invalid",e);break;case"textarea":lp(e,r),s=Qc(e,r),Le("invalid",e);break;default:s=r}Jc(n,s),i=s;for(a in i)if(i.hasOwnProperty(a)){var u=i[a];a==="style"?gy(e,u):a==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&py(e,u)):a==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&Do(e,u):typeof u=="number"&&Do(e,""+u):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Fo.hasOwnProperty(a)?u!=null&&a==="onScroll"&&Le("scroll",e):u!=null&&bf(e,a,u,o))}switch(n){case"input":Ii(e),ip(e,r,!1);break;case"textarea":Ii(e),up(e);break;case"option":r.value!=null&&e.setAttribute("value",""+rs(r.value));break;case"select":e.multiple=!!r.multiple,a=r.value,a!=null?pa(e,!!r.multiple,a,!1):r.defaultValue!=null&&pa(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=Nl)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return pt(t),null;case 6:if(e&&t.stateNode!=null)qv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(L(166));if(n=bs(Go.current),bs(Hn.current),Di(t)){if(r=t.stateNode,n=t.memoizedProps,r[Bn]=t,(a=r.nodeValue!==n)&&(e=zt,e!==null))switch(e.tag){case 3:Fi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Fi(r.nodeValue,n,(e.mode&1)!==0)}a&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Bn]=t,t.stateNode=r}return pt(t),null;case 13:if(qe(Ve),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ze&&$t!==null&&t.mode&1&&!(t.flags&128))rv(),Aa(),t.flags|=98560,a=!1;else if(a=Di(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(L(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(L(317));a[Bn]=t}else Aa(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;pt(t),a=!1}else yn!==null&&(Ad(yn),yn=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Ve.current&1?rt===0&&(rt=3):rh())),t.updateQueue!==null&&(t.flags|=4),pt(t),null);case 4:return Oa(),Nd(e,t),e===null&&Wo(t.stateNode.containerInfo),pt(t),null;case 10:return Bf(t.type._context),pt(t),null;case 17:return Pt(t.type)&&jl(),pt(t),null;case 19:if(qe(Ve),a=t.memoizedState,a===null)return pt(t),null;if(r=(t.flags&128)!==0,o=a.rendering,o===null)if(r)io(a,!1);else{if(rt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Al(e),o!==null){for(t.flags|=128,io(a,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)a=n,e=r,a.flags&=14680066,o=a.alternate,o===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,a.type=o.type,e=o.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Oe(Ve,Ve.current&1|2),t.child}e=e.sibling}a.tail!==null&&Qe()>Da&&(t.flags|=128,r=!0,io(a,!1),t.lanes=4194304)}else{if(!r)if(e=Al(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),io(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!ze)return pt(t),null}else 2*Qe()-a.renderingStartTime>Da&&n!==1073741824&&(t.flags|=128,r=!0,io(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(n=a.last,n!==null?n.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Qe(),t.sibling=null,n=Ve.current,Oe(Ve,r?n&1|2:n&1),t):(pt(t),null);case 22:case 23:return nh(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Lt&1073741824&&(pt(t),t.subtreeFlags&6&&(t.flags|=8192)):pt(t),null;case 24:return null;case 25:return null}throw Error(L(156,t.tag))}function OS(e,t){switch(Ff(t),t.tag){case 1:return Pt(t.type)&&jl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Oa(),qe(Rt),qe(yt),Hf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Wf(t),null;case 13:if(qe(Ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(L(340));Aa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return qe(Ve),null;case 4:return Oa(),null;case 10:return Bf(t.type._context),null;case 22:case 23:return nh(),null;case 24:return null;default:return null}}var Bi=!1,gt=!1,FS=typeof WeakSet=="function"?WeakSet:Set,Y=null;function da(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ge(e,t,r)}else n.current=null}function jd(e,t,n){try{n()}catch(r){Ge(e,t,r)}}var Jp=!1;function DS(e,t){if(ud=kl,e=Wy(),Mf(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var s=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var o=0,i=-1,u=-1,c=0,f=0,h=e,y=null;t:for(;;){for(var m;h!==n||s!==0&&h.nodeType!==3||(i=o+s),h!==a||r!==0&&h.nodeType!==3||(u=o+r),h.nodeType===3&&(o+=h.nodeValue.length),(m=h.firstChild)!==null;)y=h,h=m;for(;;){if(h===e)break t;if(y===n&&++c===s&&(i=o),y===a&&++f===r&&(u=o),(m=h.nextSibling)!==null)break;h=y,y=h.parentNode}h=m}n=i===-1||u===-1?null:{start:i,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(cd={focusedElem:e,selectionRange:n},kl=!1,Y=t;Y!==null;)if(t=Y,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Y=e;else for(;Y!==null;){t=Y;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var g=b.memoizedProps,x=b.memoizedState,w=t.stateNode,p=w.getSnapshotBeforeUpdate(t.elementType===t.type?g:fn(t.type,g),x);w.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(L(163))}}catch(k){Ge(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,Y=e;break}Y=t.return}return b=Jp,Jp=!1,b}function Eo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var a=s.destroy;s.destroy=void 0,a!==void 0&&jd(t,n,a)}s=s.next}while(s!==r)}}function mu(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function 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 Bv(e){var t=e.alternate;t!==null&&(e.alternate=null,Bv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Bn],delete t[Uo],delete t[hd],delete t[wS],delete t[xS])),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 $v(e){return e.tag===5||e.tag===3||e.tag===4}function Xp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||$v(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 Id(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Nl));else if(r!==4&&(e=e.child,e!==null))for(Id(e,t,n),e=e.sibling;e!==null;)Id(e,t,n),e=e.sibling}function _d(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(_d(e,t,n),e=e.sibling;e!==null;)_d(e,t,n),e=e.sibling}var ut=null,gn=!1;function Ir(e,t,n){for(n=n.child;n!==null;)zv(e,t,n),n=n.sibling}function zv(e,t,n){if(Wn&&typeof Wn.onCommitFiberUnmount=="function")try{Wn.onCommitFiberUnmount(iu,n)}catch{}switch(n.tag){case 5:gt||da(n,t);case 6:var r=ut,s=gn;ut=null,Ir(e,t,n),ut=r,gn=s,ut!==null&&(gn?(e=ut,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ut.removeChild(n.stateNode));break;case 18:ut!==null&&(gn?(e=ut,n=n.stateNode,e.nodeType===8?pc(e.parentNode,n):e.nodeType===1&&pc(e,n),$o(e)):pc(ut,n.stateNode));break;case 4:r=ut,s=gn,ut=n.stateNode.containerInfo,gn=!0,Ir(e,t,n),ut=r,gn=s;break;case 0:case 11:case 14:case 15:if(!gt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var a=s,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&jd(n,t,o),s=s.next}while(s!==r)}Ir(e,t,n);break;case 1:if(!gt&&(da(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(i){Ge(n,t,i)}Ir(e,t,n);break;case 21:Ir(e,t,n);break;case 22:n.mode&1?(gt=(r=gt)||n.memoizedState!==null,Ir(e,t,n),gt=r):Ir(e,t,n);break;default:Ir(e,t,n)}}function em(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new FS),t.forEach(function(r){var s=US.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function un(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var a=e,o=t,i=o;e:for(;i!==null;){switch(i.tag){case 5:ut=i.stateNode,gn=!1;break e;case 3:ut=i.stateNode.containerInfo,gn=!0;break e;case 4:ut=i.stateNode.containerInfo,gn=!0;break e}i=i.return}if(ut===null)throw Error(L(160));zv(a,o,s),ut=null,gn=!1;var u=s.alternate;u!==null&&(u.return=null),s.return=null}catch(c){Ge(s,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Vv(t,e),t=t.sibling}function Vv(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(un(t,e),Mn(e),r&4){try{Eo(3,e,e.return),mu(3,e)}catch(g){Ge(e,e.return,g)}try{Eo(5,e,e.return)}catch(g){Ge(e,e.return,g)}}break;case 1:un(t,e),Mn(e),r&512&&n!==null&&da(n,n.return);break;case 5:if(un(t,e),Mn(e),r&512&&n!==null&&da(n,n.return),e.flags&32){var s=e.stateNode;try{Do(s,"")}catch(g){Ge(e,e.return,g)}}if(r&4&&(s=e.stateNode,s!=null)){var a=e.memoizedProps,o=n!==null?n.memoizedProps:a,i=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{i==="input"&&a.type==="radio"&&a.name!=null&&dy(s,a),Xc(i,o);var c=Xc(i,a);for(o=0;o<u.length;o+=2){var f=u[o],h=u[o+1];f==="style"?gy(s,h):f==="dangerouslySetInnerHTML"?py(s,h):f==="children"?Do(s,h):bf(s,f,h,c)}switch(i){case"input":Gc(s,a);break;case"textarea":fy(s,a);break;case"select":var y=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!a.multiple;var m=a.value;m!=null?pa(s,!!a.multiple,m,!1):y!==!!a.multiple&&(a.defaultValue!=null?pa(s,!!a.multiple,a.defaultValue,!0):pa(s,!!a.multiple,a.multiple?[]:"",!1))}s[Uo]=a}catch(g){Ge(e,e.return,g)}}break;case 6:if(un(t,e),Mn(e),r&4){if(e.stateNode===null)throw Error(L(162));s=e.stateNode,a=e.memoizedProps;try{s.nodeValue=a}catch(g){Ge(e,e.return,g)}}break;case 3:if(un(t,e),Mn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{$o(t.containerInfo)}catch(g){Ge(e,e.return,g)}break;case 4:un(t,e),Mn(e);break;case 13:un(t,e),Mn(e),s=e.child,s.flags&8192&&(a=s.memoizedState!==null,s.stateNode.isHidden=a,!a||s.alternate!==null&&s.alternate.memoizedState!==null||(eh=Qe())),r&4&&em(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(gt=(c=gt)||f,un(t,e),gt=c):un(t,e),Mn(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!f&&e.mode&1)for(Y=e,f=e.child;f!==null;){for(h=Y=f;Y!==null;){switch(y=Y,m=y.child,y.tag){case 0:case 11:case 14:case 15:Eo(4,y,y.return);break;case 1:da(y,y.return);var b=y.stateNode;if(typeof b.componentWillUnmount=="function"){r=y,n=y.return;try{t=r,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(g){Ge(r,n,g)}}break;case 5:da(y,y.return);break;case 22:if(y.memoizedState!==null){nm(h);continue}}m!==null?(m.return=y,Y=m):nm(h)}f=f.sibling}e:for(f=null,h=e;;){if(h.tag===5){if(f===null){f=h;try{s=h.stateNode,c?(a=s.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(i=h.stateNode,u=h.memoizedProps.style,o=u!=null&&u.hasOwnProperty("display")?u.display:null,i.style.display=my("display",o))}catch(g){Ge(e,e.return,g)}}}else if(h.tag===6){if(f===null)try{h.stateNode.nodeValue=c?"":h.memoizedProps}catch(g){Ge(e,e.return,g)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;f===h&&(f=null),h=h.return}f===h&&(f=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:un(t,e),Mn(e),r&4&&em(e);break;case 21:break;default:un(t,e),Mn(e)}}function Mn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if($v(n)){var r=n;break e}n=n.return}throw Error(L(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(Do(s,""),r.flags&=-33);var a=Xp(e);_d(e,a,s);break;case 3:case 4:var o=r.stateNode.containerInfo,i=Xp(e);Id(e,i,o);break;default:throw Error(L(161))}}catch(u){Ge(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function LS(e,t,n){Y=e,Wv(e)}function Wv(e,t,n){for(var r=(e.mode&1)!==0;Y!==null;){var s=Y,a=s.child;if(s.tag===22&&r){var o=s.memoizedState!==null||Bi;if(!o){var i=s.alternate,u=i!==null&&i.memoizedState!==null||gt;i=Bi;var c=gt;if(Bi=o,(gt=u)&&!c)for(Y=s;Y!==null;)o=Y,u=o.child,o.tag===22&&o.memoizedState!==null?rm(s):u!==null?(u.return=o,Y=u):rm(s);for(;a!==null;)Y=a,Wv(a),a=a.sibling;Y=s,Bi=i,gt=c}tm(e)}else s.subtreeFlags&8772&&a!==null?(a.return=s,Y=a):tm(e)}}function tm(e){for(;Y!==null;){var t=Y;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:gt||mu(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!gt)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:fn(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&qp(t,a,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}qp(t,o,n)}break;case 5:var i=t.stateNode;if(n===null&&t.flags&4){n=i;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var f=c.memoizedState;if(f!==null){var h=f.dehydrated;h!==null&&$o(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(L(163))}gt||t.flags&512&&Ed(t)}catch(y){Ge(t,t.return,y)}}if(t===e){Y=null;break}if(n=t.sibling,n!==null){n.return=t.return,Y=n;break}Y=t.return}}function nm(e){for(;Y!==null;){var t=Y;if(t===e){Y=null;break}var n=t.sibling;if(n!==null){n.return=t.return,Y=n;break}Y=t.return}}function rm(e){for(;Y!==null;){var t=Y;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{mu(4,t)}catch(u){Ge(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(u){Ge(t,s,u)}}var a=t.return;try{Ed(t)}catch(u){Ge(t,a,u)}break;case 5:var o=t.return;try{Ed(t)}catch(u){Ge(t,o,u)}}}catch(u){Ge(t,t.return,u)}if(t===e){Y=null;break}var i=t.sibling;if(i!==null){i.return=t.return,Y=i;break}Y=t.return}}var qS=Math.ceil,Fl=Sr.ReactCurrentDispatcher,Jf=Sr.ReactCurrentOwner,en=Sr.ReactCurrentBatchConfig,be=0,it=null,Xe=null,ct=0,Lt=0,fa=cs(0),rt=0,Jo=null,Os=0,gu=0,Xf=0,Io=null,_t=null,eh=0,Da=1/0,ar=null,Dl=!1,Td=null,Jr=null,$i=!1,Wr=null,Ll=0,_o=0,Rd=null,ll=-1,ul=0;function St(){return be&6?Qe():ll!==-1?ll:ll=Qe()}function Xr(e){return e.mode&1?be&2&&ct!==0?ct&-ct:kS.transition!==null?(ul===0&&(ul=Iy()),ul):(e=_e,e!==0||(e=window.event,e=e===void 0?16:Oy(e.type)),e):1}function bn(e,t,n,r){if(50<_o)throw _o=0,Rd=null,Error(L(185));di(e,n,r),(!(be&2)||e!==it)&&(e===it&&(!(be&2)&&(gu|=n),rt===4&&Dr(e,ct)),At(e,r),n===1&&be===0&&!(t.mode&1)&&(Da=Qe()+500,fu&&ds()))}function At(e,t){var n=e.callbackNode;kk(e,t);var r=bl(e,e===it?ct:0);if(r===0)n!==null&&fp(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&fp(n),t===1)e.tag===0?bS(sm.bind(null,e)):ev(sm.bind(null,e)),yS(function(){!(be&6)&&ds()}),n=null;else{switch(_y(r)){case 1:n=jf;break;case 4:n=jy;break;case 16:n=xl;break;case 536870912:n=Ey;break;default:n=xl}n=Jv(n,Hv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Hv(e,t){if(ll=-1,ul=0,be&6)throw Error(L(327));var n=e.callbackNode;if(wa()&&e.callbackNode!==n)return null;var r=bl(e,e===it?ct:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ql(e,r);else{t=r;var s=be;be|=2;var a=Kv();(it!==e||ct!==t)&&(ar=null,Da=Qe()+500,_s(e,t));do try{zS();break}catch(i){Uv(e,i)}while(!0);qf(),Fl.current=a,be=s,Xe!==null?t=0:(it=null,ct=0,t=rt)}if(t!==0){if(t===2&&(s=sd(e),s!==0&&(r=s,t=Pd(e,s))),t===1)throw n=Jo,_s(e,0),Dr(e,r),At(e,Qe()),n;if(t===6)Dr(e,r);else{if(s=e.current.alternate,!(r&30)&&!BS(s)&&(t=ql(e,r),t===2&&(a=sd(e),a!==0&&(r=a,t=Pd(e,a))),t===1))throw n=Jo,_s(e,0),Dr(e,r),At(e,Qe()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(L(345));case 2:vs(e,_t,ar);break;case 3:if(Dr(e,r),(r&130023424)===r&&(t=eh+500-Qe(),10<t)){if(bl(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){St(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=fd(vs.bind(null,e,_t,ar),t);break}vs(e,_t,ar);break;case 4:if(Dr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var o=31-xn(r);a=1<<o,o=t[o],o>s&&(s=o),r&=~a}if(r=s,r=Qe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*qS(r/1960))-r,10<r){e.timeoutHandle=fd(vs.bind(null,e,_t,ar),r);break}vs(e,_t,ar);break;case 5:vs(e,_t,ar);break;default:throw Error(L(329))}}}return At(e,Qe()),e.callbackNode===n?Hv.bind(null,e):null}function Pd(e,t){var n=Io;return e.current.memoizedState.isDehydrated&&(_s(e,t).flags|=256),e=ql(e,t),e!==2&&(t=_t,_t=n,t!==null&&Ad(t)),e}function Ad(e){_t===null?_t=e:_t.push.apply(_t,e)}function BS(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var s=n[r],a=s.getSnapshot;s=s.value;try{if(!kn(a(),s))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Dr(e,t){for(t&=~Xf,t&=~gu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-xn(t),r=1<<n;e[n]=-1,t&=~r}}function sm(e){if(be&6)throw Error(L(327));wa();var t=bl(e,0);if(!(t&1))return At(e,Qe()),null;var n=ql(e,t);if(e.tag!==0&&n===2){var r=sd(e);r!==0&&(t=r,n=Pd(e,r))}if(n===1)throw n=Jo,_s(e,0),Dr(e,t),At(e,Qe()),n;if(n===6)throw Error(L(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,vs(e,_t,ar),At(e,Qe()),null}function th(e,t){var n=be;be|=1;try{return e(t)}finally{be=n,be===0&&(Da=Qe()+500,fu&&ds())}}function Fs(e){Wr!==null&&Wr.tag===0&&!(be&6)&&wa();var t=be;be|=1;var n=en.transition,r=_e;try{if(en.transition=null,_e=1,e)return e()}finally{_e=r,en.transition=n,be=t,!(be&6)&&ds()}}function nh(){Lt=fa.current,qe(fa)}function _s(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,gS(n)),Xe!==null)for(n=Xe.return;n!==null;){var r=n;switch(Ff(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&jl();break;case 3:Oa(),qe(Rt),qe(yt),Hf();break;case 5:Wf(r);break;case 4:Oa();break;case 13:qe(Ve);break;case 19:qe(Ve);break;case 10:Bf(r.type._context);break;case 22:case 23:nh()}n=n.return}if(it=e,Xe=e=es(e.current,null),ct=Lt=t,rt=0,Jo=null,Xf=gu=Os=0,_t=Io=null,xs!==null){for(t=0;t<xs.length;t++)if(n=xs[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,a=n.pending;if(a!==null){var o=a.next;a.next=s,r.next=o}n.pending=r}xs=null}return e}function Uv(e,t){do{var n=Xe;try{if(qf(),al.current=Ol,Ml){for(var r=We.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}Ml=!1}if(Ms=0,at=nt=We=null,jo=!1,Zo=0,Jf.current=null,n===null||n.return===null){rt=1,Jo=t,Xe=null;break}e:{var a=e,o=n.return,i=n,u=t;if(t=ct,i.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var c=u,f=i,h=f.tag;if(!(f.mode&1)&&(h===0||h===11||h===15)){var y=f.alternate;y?(f.updateQueue=y.updateQueue,f.memoizedState=y.memoizedState,f.lanes=y.lanes):(f.updateQueue=null,f.memoizedState=null)}var m=Hp(o);if(m!==null){m.flags&=-257,Up(m,o,i,a,t),m.mode&1&&Wp(a,c,t),t=m,u=c;var b=t.updateQueue;if(b===null){var g=new Set;g.add(u),t.updateQueue=g}else b.add(u);break e}else{if(!(t&1)){Wp(a,c,t),rh();break e}u=Error(L(426))}}else if(ze&&i.mode&1){var x=Hp(o);if(x!==null){!(x.flags&65536)&&(x.flags|=256),Up(x,o,i,a,t),Df(Fa(u,i));break e}}a=u=Fa(u,i),rt!==4&&(rt=2),Io===null?Io=[a]:Io.push(a),a=o;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var w=_v(a,u,t);Lp(a,w);break e;case 1:i=u;var p=a.type,v=a.stateNode;if(!(a.flags&128)&&(typeof p.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Jr===null||!Jr.has(v)))){a.flags|=65536,t&=-t,a.lanes|=t;var k=Tv(a,i,t);Lp(a,k);break e}}a=a.return}while(a!==null)}Zv(n)}catch(S){t=S,Xe===n&&n!==null&&(Xe=n=n.return);continue}break}while(!0)}function Kv(){var e=Fl.current;return Fl.current=Ol,e===null?Ol:e}function rh(){(rt===0||rt===3||rt===2)&&(rt=4),it===null||!(Os&268435455)&&!(gu&268435455)||Dr(it,ct)}function ql(e,t){var n=be;be|=2;var r=Kv();(it!==e||ct!==t)&&(ar=null,_s(e,t));do try{$S();break}catch(s){Uv(e,s)}while(!0);if(qf(),be=n,Fl.current=r,Xe!==null)throw Error(L(261));return it=null,ct=0,rt}function $S(){for(;Xe!==null;)Gv(Xe)}function zS(){for(;Xe!==null&&!hk();)Gv(Xe)}function Gv(e){var t=Yv(e.alternate,e,Lt);e.memoizedProps=e.pendingProps,t===null?Zv(e):Xe=t,Jf.current=null}function Zv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=OS(n,t),n!==null){n.flags&=32767,Xe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{rt=6,Xe=null;return}}else if(n=MS(n,t,Lt),n!==null){Xe=n;return}if(t=t.sibling,t!==null){Xe=t;return}Xe=t=e}while(t!==null);rt===0&&(rt=5)}function vs(e,t,n){var r=_e,s=en.transition;try{en.transition=null,_e=1,VS(e,t,n,r)}finally{en.transition=s,_e=r}return null}function VS(e,t,n,r){do wa();while(Wr!==null);if(be&6)throw Error(L(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(L(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(Sk(e,a),e===it&&(Xe=it=null,ct=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||$i||($i=!0,Jv(xl,function(){return wa(),null})),a=(n.flags&15990)!==0,n.subtreeFlags&15990||a){a=en.transition,en.transition=null;var o=_e;_e=1;var i=be;be|=4,Jf.current=null,DS(e,n),Vv(n,e),uS(cd),kl=!!ud,cd=ud=null,e.current=n,LS(n),pk(),be=i,_e=o,en.transition=a}else e.current=n;if($i&&($i=!1,Wr=e,Ll=s),a=e.pendingLanes,a===0&&(Jr=null),yk(n.stateNode),At(e,Qe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(Dl)throw Dl=!1,e=Td,Td=null,e;return Ll&1&&e.tag!==0&&wa(),a=e.pendingLanes,a&1?e===Rd?_o++:(_o=0,Rd=e):_o=0,ds(),null}function wa(){if(Wr!==null){var e=_y(Ll),t=en.transition,n=_e;try{if(en.transition=null,_e=16>e?16:e,Wr===null)var r=!1;else{if(e=Wr,Wr=null,Ll=0,be&6)throw Error(L(331));var s=be;for(be|=4,Y=e.current;Y!==null;){var a=Y,o=a.child;if(Y.flags&16){var i=a.deletions;if(i!==null){for(var u=0;u<i.length;u++){var c=i[u];for(Y=c;Y!==null;){var f=Y;switch(f.tag){case 0:case 11:case 15:Eo(8,f,a)}var h=f.child;if(h!==null)h.return=f,Y=h;else for(;Y!==null;){f=Y;var y=f.sibling,m=f.return;if(Bv(f),f===c){Y=null;break}if(y!==null){y.return=m,Y=y;break}Y=m}}}var b=a.alternate;if(b!==null){var g=b.child;if(g!==null){b.child=null;do{var x=g.sibling;g.sibling=null,g=x}while(g!==null)}}Y=a}}if(a.subtreeFlags&2064&&o!==null)o.return=a,Y=o;else e:for(;Y!==null;){if(a=Y,a.flags&2048)switch(a.tag){case 0:case 11:case 15:Eo(9,a,a.return)}var w=a.sibling;if(w!==null){w.return=a.return,Y=w;break e}Y=a.return}}var p=e.current;for(Y=p;Y!==null;){o=Y;var v=o.child;if(o.subtreeFlags&2064&&v!==null)v.return=o,Y=v;else e:for(o=p;Y!==null;){if(i=Y,i.flags&2048)try{switch(i.tag){case 0:case 11:case 15:mu(9,i)}}catch(S){Ge(i,i.return,S)}if(i===o){Y=null;break e}var k=i.sibling;if(k!==null){k.return=i.return,Y=k;break e}Y=i.return}}if(be=s,ds(),Wn&&typeof Wn.onPostCommitFiberRoot=="function")try{Wn.onPostCommitFiberRoot(iu,e)}catch{}r=!0}return r}finally{_e=n,en.transition=t}}return!1}function am(e,t,n){t=Fa(n,t),t=_v(e,t,1),e=Yr(e,t,1),t=St(),e!==null&&(di(e,1,t),At(e,t))}function Ge(e,t,n){if(e.tag===3)am(e,e,n);else for(;t!==null;){if(t.tag===3){am(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Jr===null||!Jr.has(r))){e=Fa(n,e),e=Tv(t,e,1),t=Yr(t,e,1),e=St(),t!==null&&(di(t,1,e),At(t,e));break}}t=t.return}}function WS(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=St(),e.pingedLanes|=e.suspendedLanes&n,it===e&&(ct&n)===n&&(rt===4||rt===3&&(ct&130023424)===ct&&500>Qe()-eh?_s(e,0):Xf|=n),At(e,t)}function Qv(e,t){t===0&&(e.mode&1?(t=Ri,Ri<<=1,!(Ri&130023424)&&(Ri=4194304)):t=1);var n=St();e=yr(e,t),e!==null&&(di(e,t,n),At(e,n))}function HS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Qv(e,n)}function US(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(L(314))}r!==null&&r.delete(t),Qv(e,n)}var Yv;Yv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Rt.current)Tt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Tt=!1,AS(e,t,n);Tt=!!(e.flags&131072)}else Tt=!1,ze&&t.flags&1048576&&tv(t,_l,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;il(e,t),e=t.pendingProps;var s=Pa(t,yt.current);va(t,n),s=Kf(null,t,r,e,s,n);var a=Gf();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Pt(r)?(a=!0,El(t)):a=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,zf(t),s.updater=pu,t.stateNode=s,s._reactInternals=t,wd(t,r,e,n),t=kd(null,t,r,!0,a,n)):(t.tag=0,ze&&a&&Of(t),xt(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(il(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=GS(r),e=fn(r,e),s){case 0:t=bd(null,t,r,e,n);break e;case 1:t=Zp(null,t,r,e,n);break e;case 11:t=Kp(null,t,r,e,n);break e;case 14:t=Gp(null,t,r,fn(r.type,e),n);break e}throw Error(L(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:fn(r,s),bd(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:fn(r,s),Zp(e,t,r,s,n);case 3:e:{if(Mv(t),e===null)throw Error(L(387));r=t.pendingProps,a=t.memoizedState,s=a.element,iv(e,t),Pl(t,r,null,n);var o=t.memoizedState;if(r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){s=Fa(Error(L(423)),t),t=Qp(e,t,r,n,s);break e}else if(r!==s){s=Fa(Error(L(424)),t),t=Qp(e,t,r,n,s);break e}else for($t=Qr(t.stateNode.containerInfo.firstChild),zt=t,ze=!0,yn=null,n=av(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Aa(),r===s){t=vr(e,t,n);break e}xt(e,t,r,n)}t=t.child}return t;case 5:return lv(t),e===null&&gd(t),r=t.type,s=t.pendingProps,a=e!==null?e.memoizedProps:null,o=s.children,dd(r,s)?o=null:a!==null&&dd(r,a)&&(t.flags|=32),Av(e,t),xt(e,t,o,n),t.child;case 6:return e===null&&gd(t),null;case 13:return Ov(e,t,n);case 4:return Vf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ma(t,null,r,n):xt(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:fn(r,s),Kp(e,t,r,s,n);case 7:return xt(e,t,t.pendingProps,n),t.child;case 8:return xt(e,t,t.pendingProps.children,n),t.child;case 12:return xt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,a=t.memoizedProps,o=s.value,Oe(Tl,r._currentValue),r._currentValue=o,a!==null)if(kn(a.value,o)){if(a.children===s.children&&!Rt.current){t=vr(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var i=a.dependencies;if(i!==null){o=a.child;for(var u=i.firstContext;u!==null;){if(u.context===r){if(a.tag===1){u=hr(-1,n&-n),u.tag=2;var c=a.updateQueue;if(c!==null){c=c.shared;var f=c.pending;f===null?u.next=u:(u.next=f.next,f.next=u),c.pending=u}}a.lanes|=n,u=a.alternate,u!==null&&(u.lanes|=n),yd(a.return,n,t),i.lanes|=n;break}u=u.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(L(341));o.lanes|=n,i=o.alternate,i!==null&&(i.lanes|=n),yd(o,n,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}xt(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,va(t,n),s=tn(s),r=r(s),t.flags|=1,xt(e,t,r,n),t.child;case 14:return r=t.type,s=fn(r,t.pendingProps),s=fn(r.type,s),Gp(e,t,r,s,n);case 15:return Rv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:fn(r,s),il(e,t),t.tag=1,Pt(r)?(e=!0,El(t)):e=!1,va(t,n),Iv(t,r,s),wd(t,r,s,n),kd(null,t,r,!0,e,n);case 19:return Fv(e,t,n);case 22:return Pv(e,t,n)}throw Error(L(156,t.tag))};function Jv(e,t){return Ny(e,t)}function KS(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Xt(e,t,n,r){return new KS(e,t,n,r)}function sh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function GS(e){if(typeof e=="function")return sh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Sf)return 11;if(e===Cf)return 14}return 2}function es(e,t){var n=e.alternate;return n===null?(n=Xt(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 cl(e,t,n,r,s,a){var o=2;if(r=e,typeof e=="function")sh(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case na:return Ts(n.children,s,a,t);case kf:o=8,s|=8;break;case Vc:return e=Xt(12,n,t,s|2),e.elementType=Vc,e.lanes=a,e;case Wc:return e=Xt(13,n,t,s),e.elementType=Wc,e.lanes=a,e;case Hc:return e=Xt(19,n,t,s),e.elementType=Hc,e.lanes=a,e;case ly:return yu(n,s,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case oy:o=10;break e;case iy:o=9;break e;case Sf:o=11;break e;case Cf:o=14;break e;case Ar:o=16,r=null;break e}throw Error(L(130,e==null?e:typeof e,""))}return t=Xt(o,n,t,s),t.elementType=e,t.type=r,t.lanes=a,t}function Ts(e,t,n,r){return e=Xt(7,e,r,t),e.lanes=n,e}function yu(e,t,n,r){return e=Xt(22,e,r,t),e.elementType=ly,e.lanes=n,e.stateNode={isHidden:!1},e}function kc(e,t,n){return e=Xt(6,e,null,t),e.lanes=n,e}function Sc(e,t,n){return t=Xt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ZS(e,t,n,r,s){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=rc(0),this.expirationTimes=rc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=rc(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function ah(e,t,n,r,s,a,o,i,u){return e=new ZS(e,t,n,i,u),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Xt(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},zf(a),e}function QS(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ta,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Xv(e){if(!e)return ss;e=e._reactInternals;e:{if(Vs(e)!==e||e.tag!==1)throw Error(L(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Pt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(L(171))}if(e.tag===1){var n=e.type;if(Pt(n))return Xy(e,n,t)}return t}function ew(e,t,n,r,s,a,o,i,u){return e=ah(n,r,!0,e,s,a,o,i,u),e.context=Xv(null),n=e.current,r=St(),s=Xr(n),a=hr(r,s),a.callback=t??null,Yr(n,a,s),e.current.lanes=s,di(e,s,r),At(e,r),e}function vu(e,t,n,r){var s=t.current,a=St(),o=Xr(s);return n=Xv(n),t.context===null?t.context=n:t.pendingContext=n,t=hr(a,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Yr(s,t,o),e!==null&&(bn(e,s,o,a),sl(e,s,o)),o}function Bl(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 om(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function oh(e,t){om(e,t),(e=e.alternate)&&om(e,t)}function YS(){return null}var tw=typeof reportError=="function"?reportError:function(e){console.error(e)};function ih(e){this._internalRoot=e}wu.prototype.render=ih.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(L(409));vu(e,t,null,null)};wu.prototype.unmount=ih.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Fs(function(){vu(null,e,null,null)}),t[gr]=null}};function wu(e){this._internalRoot=e}wu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Py();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Fr.length&&t!==0&&t<Fr[n].priority;n++);Fr.splice(n,0,e),n===0&&My(e)}};function lh(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function xu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function im(){}function JS(e,t,n,r,s){if(s){if(typeof r=="function"){var a=r;r=function(){var c=Bl(o);a.call(c)}}var o=ew(t,r,e,0,null,!1,!1,"",im);return e._reactRootContainer=o,e[gr]=o.current,Wo(e.nodeType===8?e.parentNode:e),Fs(),o}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var i=r;r=function(){var c=Bl(u);i.call(c)}}var u=ah(e,0,!1,null,null,!1,!1,"",im);return e._reactRootContainer=u,e[gr]=u.current,Wo(e.nodeType===8?e.parentNode:e),Fs(function(){vu(t,u,n,r)}),u}function bu(e,t,n,r,s){var a=n._reactRootContainer;if(a){var o=a;if(typeof s=="function"){var i=s;s=function(){var u=Bl(o);i.call(u)}}vu(t,o,e,s)}else o=JS(n,t,e,s,r);return Bl(o)}Ty=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=go(t.pendingLanes);n!==0&&(Ef(t,n|1),At(t,Qe()),!(be&6)&&(Da=Qe()+500,ds()))}break;case 13:Fs(function(){var r=yr(e,1);if(r!==null){var s=St();bn(r,e,1,s)}}),oh(e,1)}};If=function(e){if(e.tag===13){var t=yr(e,134217728);if(t!==null){var n=St();bn(t,e,134217728,n)}oh(e,134217728)}};Ry=function(e){if(e.tag===13){var t=Xr(e),n=yr(e,t);if(n!==null){var r=St();bn(n,e,t,r)}oh(e,t)}};Py=function(){return _e};Ay=function(e,t){var n=_e;try{return _e=e,t()}finally{_e=n}};td=function(e,t,n){switch(t){case"input":if(Gc(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var s=du(r);if(!s)throw Error(L(90));cy(r),Gc(r,s)}}}break;case"textarea":fy(e,n);break;case"select":t=n.value,t!=null&&pa(e,!!n.multiple,t,!1)}};wy=th;xy=Fs;var XS={usingClientEntryPoint:!1,Events:[hi,oa,du,yy,vy,th]},lo={findFiberByHostInstance:ws,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},eC={bundleType:lo.bundleType,version:lo.version,rendererPackageName:lo.rendererPackageName,rendererConfig:lo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Sr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Sy(e),e===null?null:e.stateNode},findFiberByHostInstance:lo.findFiberByHostInstance||YS,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 zi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zi.isDisabled&&zi.supportsFiber)try{iu=zi.inject(eC),Wn=zi}catch{}}Ut.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=XS;Ut.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!lh(t))throw Error(L(200));return QS(e,t,null,n)};Ut.createRoot=function(e,t){if(!lh(e))throw Error(L(299));var n=!1,r="",s=tw;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=ah(e,1,!1,null,null,n,!1,r,s),e[gr]=t.current,Wo(e.nodeType===8?e.parentNode:e),new ih(t)};Ut.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(L(188)):(e=Object.keys(e).join(","),Error(L(268,e)));return e=Sy(t),e=e===null?null:e.stateNode,e};Ut.flushSync=function(e){return Fs(e)};Ut.hydrate=function(e,t,n){if(!xu(t))throw Error(L(200));return bu(null,e,t,!0,n)};Ut.hydrateRoot=function(e,t,n){if(!lh(e))throw Error(L(405));var r=n!=null&&n.hydratedSources||null,s=!1,a="",o=tw;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=ew(t,null,e,1,n??null,s,!1,a,o),e[gr]=t.current,Wo(e),r)for(e=0;e<r.length;e++)n=r[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new wu(t)};Ut.render=function(e,t,n){if(!xu(t))throw Error(L(200));return bu(null,e,t,!1,n)};Ut.unmountComponentAtNode=function(e){if(!xu(e))throw Error(L(40));return e._reactRootContainer?(Fs(function(){bu(null,null,e,!1,function(){e._reactRootContainer=null,e[gr]=null})}),!0):!1};Ut.unstable_batchedUpdates=th;Ut.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!xu(n))throw Error(L(200));if(e==null||e._reactInternals===void 0)throw Error(L(38));return bu(e,t,n,!1,r)};Ut.version="18.3.1-next-f1338f8080-20240426";function nw(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(nw)}catch(e){console.error(e)}}nw(),ny.exports=Ut;var Ws=ny.exports;const rw=Wg(Ws);var sw,lm=Ws;sw=lm.createRoot,lm.hydrateRoot;/**
 * @remix-run/router v1.23.0
 *
 * 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 Xo(){return Xo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xo.apply(this,arguments)}var Hr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Hr||(Hr={}));const um="popstate";function tC(e){e===void 0&&(e={});function t(r,s){let{pathname:a,search:o,hash:i}=r.location;return Md("",{pathname:a,search:o,hash:i},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:$l(s)}return rC(t,n,null,e)}function et(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function aw(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function nC(){return Math.random().toString(36).substr(2,8)}function cm(e,t){return{usr:e.state,key:e.key,idx:t}}function Md(e,t,n,r){return n===void 0&&(n=null),Xo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Za(t):t,{state:n,key:t&&t.key||r||nC()})}function $l(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Za(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function rC(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:a=!1}=r,o=s.history,i=Hr.Pop,u=null,c=f();c==null&&(c=0,o.replaceState(Xo({},o.state,{idx:c}),""));function f(){return(o.state||{idx:null}).idx}function h(){i=Hr.Pop;let x=f(),w=x==null?null:x-c;c=x,u&&u({action:i,location:g.location,delta:w})}function y(x,w){i=Hr.Push;let p=Md(g.location,x,w);c=f()+1;let v=cm(p,c),k=g.createHref(p);try{o.pushState(v,"",k)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;s.location.assign(k)}a&&u&&u({action:i,location:g.location,delta:1})}function m(x,w){i=Hr.Replace;let p=Md(g.location,x,w);c=f();let v=cm(p,c),k=g.createHref(p);o.replaceState(v,"",k),a&&u&&u({action:i,location:g.location,delta:0})}function b(x){let w=s.location.origin!=="null"?s.location.origin:s.location.href,p=typeof x=="string"?x:$l(x);return p=p.replace(/ $/,"%20"),et(w,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,w)}let g={get action(){return i},get location(){return e(s,o)},listen(x){if(u)throw new Error("A history only accepts one active listener");return s.addEventListener(um,h),u=x,()=>{s.removeEventListener(um,h),u=null}},createHref(x){return t(s,x)},createURL:b,encodeLocation(x){let w=b(x);return{pathname:w.pathname,search:w.search,hash:w.hash}},push:y,replace:m,go(x){return o.go(x)}};return g}var dm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(dm||(dm={}));function sC(e,t,n){return n===void 0&&(n="/"),aC(e,t,n,!1)}function aC(e,t,n,r){let s=typeof t=="string"?Za(t):t,a=uh(s.pathname||"/",n);if(a==null)return null;let o=ow(e);oC(o);let i=null;for(let u=0;i==null&&u<o.length;++u){let c=yC(a);i=mC(o[u],c,r)}return i}function ow(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(a,o,i)=>{let u={relativePath:i===void 0?a.path||"":i,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};u.relativePath.startsWith("/")&&(et(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=ts([r,u.relativePath]),f=n.concat(u);a.children&&a.children.length>0&&(et(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),ow(a.children,t,f,c)),!(a.path==null&&!a.index)&&t.push({path:c,score:hC(c,a.index),routesMeta:f})};return e.forEach((a,o)=>{var i;if(a.path===""||!((i=a.path)!=null&&i.includes("?")))s(a,o);else for(let u of iw(a.path))s(a,o,u)}),t}function iw(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return s?[a,""]:[a];let o=iw(r.join("/")),i=[];return i.push(...o.map(u=>u===""?a:[a,u].join("/"))),s&&i.push(...o),i.map(u=>e.startsWith("/")&&u===""?"/":u)}function oC(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:pC(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const iC=/^:[\w-]+$/,lC=3,uC=2,cC=1,dC=10,fC=-2,fm=e=>e==="*";function hC(e,t){let n=e.split("/"),r=n.length;return n.some(fm)&&(r+=fC),t&&(r+=uC),n.filter(s=>!fm(s)).reduce((s,a)=>s+(iC.test(a)?lC:a===""?cC:dC),r)}function pC(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function mC(e,t,n){let{routesMeta:r}=e,s={},a="/",o=[];for(let i=0;i<r.length;++i){let u=r[i],c=i===r.length-1,f=a==="/"?t:t.slice(a.length)||"/",h=hm({path:u.relativePath,caseSensitive:u.caseSensitive,end:c},f),y=u.route;if(!h&&c&&n&&!r[r.length-1].route.index&&(h=hm({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},f)),!h)return null;Object.assign(s,h.params),o.push({params:s,pathname:ts([a,h.pathname]),pathnameBase:bC(ts([a,h.pathnameBase])),route:y}),h.pathnameBase!=="/"&&(a=ts([a,h.pathnameBase]))}return o}function hm(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=gC(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let a=s[0],o=a.replace(/(.)\/+$/,"$1"),i=s.slice(1);return{params:r.reduce((c,f,h)=>{let{paramName:y,isOptional:m}=f;if(y==="*"){let g=i[h]||"";o=a.slice(0,a.length-g.length).replace(/(.)\/+$/,"$1")}const b=i[h];return m&&!b?c[y]=void 0:c[y]=(b||"").replace(/%2F/g,"/"),c},{}),pathname:a,pathnameBase:o,pattern:e}}function gC(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),aw(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,i,u)=>(r.push({paramName:i,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function yC(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return aw(!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 uh(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function vC(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Za(e):e;return{pathname:n?n.startsWith("/")?n:wC(n,t):t,search:kC(r),hash:SC(s)}}function wC(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function Cc(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function xC(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function lw(e,t){let n=xC(e);return t?n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function uw(e,t,n,r){r===void 0&&(r=!1);let s;typeof e=="string"?s=Za(e):(s=Xo({},e),et(!s.pathname||!s.pathname.includes("?"),Cc("?","pathname","search",s)),et(!s.pathname||!s.pathname.includes("#"),Cc("#","pathname","hash",s)),et(!s.search||!s.search.includes("#"),Cc("#","search","hash",s)));let a=e===""||s.pathname==="",o=a?"/":s.pathname,i;if(o==null)i=n;else{let h=t.length-1;if(!r&&o.startsWith("..")){let y=o.split("/");for(;y[0]==="..";)y.shift(),h-=1;s.pathname=y.join("/")}i=h>=0?t[h]:"/"}let u=vC(s,i),c=o&&o!=="/"&&o.endsWith("/"),f=(a||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||f)&&(u.pathname+="/"),u}const ts=e=>e.join("/").replace(/\/\/+/g,"/"),bC=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),kC=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,SC=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function CC(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const cw=["post","put","patch","delete"];new Set(cw);const NC=["get",...cw];new Set(NC);/**
 * React Router v6.30.1
 *
 * 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 ei(){return ei=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ei.apply(this,arguments)}const ch=d.createContext(null),jC=d.createContext(null),Hs=d.createContext(null),ku=d.createContext(null),Us=d.createContext({outlet:null,matches:[],isDataRoute:!1}),dw=d.createContext(null);function EC(e,t){let{relative:n}=t===void 0?{}:t;mi()||et(!1);let{basename:r,navigator:s}=d.useContext(Hs),{hash:a,pathname:o,search:i}=pw(e,{relative:n}),u=o;return r!=="/"&&(u=o==="/"?r:ts([r,o])),s.createHref({pathname:u,search:i,hash:a})}function mi(){return d.useContext(ku)!=null}function Qa(){return mi()||et(!1),d.useContext(ku).location}function fw(e){d.useContext(Hs).static||d.useLayoutEffect(e)}function hw(){let{isDataRoute:e}=d.useContext(Us);return e?BC():IC()}function IC(){mi()||et(!1);let e=d.useContext(ch),{basename:t,future:n,navigator:r}=d.useContext(Hs),{matches:s}=d.useContext(Us),{pathname:a}=Qa(),o=JSON.stringify(lw(s,n.v7_relativeSplatPath)),i=d.useRef(!1);return fw(()=>{i.current=!0}),d.useCallback(function(c,f){if(f===void 0&&(f={}),!i.current)return;if(typeof c=="number"){r.go(c);return}let h=uw(c,JSON.parse(o),a,f.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:ts([t,h.pathname])),(f.replace?r.replace:r.push)(h,f.state,f)},[t,r,o,a,e])}function pw(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=d.useContext(Hs),{matches:s}=d.useContext(Us),{pathname:a}=Qa(),o=JSON.stringify(lw(s,r.v7_relativeSplatPath));return d.useMemo(()=>uw(e,JSON.parse(o),a,n==="path"),[e,o,a,n])}function _C(e,t){return TC(e,t)}function TC(e,t,n,r){mi()||et(!1);let{navigator:s}=d.useContext(Hs),{matches:a}=d.useContext(Us),o=a[a.length-1],i=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let c=Qa(),f;if(t){var h;let x=typeof t=="string"?Za(t):t;u==="/"||(h=x.pathname)!=null&&h.startsWith(u)||et(!1),f=x}else f=c;let y=f.pathname||"/",m=y;if(u!=="/"){let x=u.replace(/^\//,"").split("/");m="/"+y.replace(/^\//,"").split("/").slice(x.length).join("/")}let b=sC(e,{pathname:m}),g=OC(b&&b.map(x=>Object.assign({},x,{params:Object.assign({},i,x.params),pathname:ts([u,s.encodeLocation?s.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?u:ts([u,s.encodeLocation?s.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),a,n,r);return t&&g?d.createElement(ku.Provider,{value:{location:ei({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:Hr.Pop}},g):g}function RC(){let e=qC(),t=CC(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return d.createElement(d.Fragment,null,d.createElement("h2",null,"Unexpected Application Error!"),d.createElement("h3",{style:{fontStyle:"italic"}},t),n?d.createElement("pre",{style:s},n):null,null)}const PC=d.createElement(RC,null);class AC extends d.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?d.createElement(Us.Provider,{value:this.props.routeContext},d.createElement(dw.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function MC(e){let{routeContext:t,match:n,children:r}=e,s=d.useContext(ch);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),d.createElement(Us.Provider,{value:t},r)}function OC(e,t,n,r){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var a;if(!n)return null;if(n.errors)e=n.matches;else if((a=r)!=null&&a.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,i=(s=n)==null?void 0:s.errors;if(i!=null){let f=o.findIndex(h=>h.route.id&&(i==null?void 0:i[h.route.id])!==void 0);f>=0||et(!1),o=o.slice(0,Math.min(o.length,f+1))}let u=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f<o.length;f++){let h=o[f];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(c=f),h.route.id){let{loaderData:y,errors:m}=n,b=h.route.loader&&y[h.route.id]===void 0&&(!m||m[h.route.id]===void 0);if(h.route.lazy||b){u=!0,c>=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((f,h,y)=>{let m,b=!1,g=null,x=null;n&&(m=i&&h.route.id?i[h.route.id]:void 0,g=h.route.errorElement||PC,u&&(c<0&&y===0?(b=!0,x=null):c===y&&(b=!0,x=h.route.hydrateFallbackElement||null)));let w=t.concat(o.slice(0,y+1)),p=()=>{let v;return m?v=g:b?v=x:h.route.Component?v=d.createElement(h.route.Component,null):h.route.element?v=h.route.element:v=f,d.createElement(MC,{match:h,routeContext:{outlet:f,matches:w,isDataRoute:n!=null},children:v})};return n&&(h.route.ErrorBoundary||h.route.errorElement||y===0)?d.createElement(AC,{location:n.location,revalidation:n.revalidation,component:g,error:m,children:p(),routeContext:{outlet:null,matches:w,isDataRoute:!0}}):p()},null)}var mw=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(mw||{}),zl=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}(zl||{});function FC(e){let t=d.useContext(ch);return t||et(!1),t}function DC(e){let t=d.useContext(jC);return t||et(!1),t}function LC(e){let t=d.useContext(Us);return t||et(!1),t}function gw(e){let t=LC(),n=t.matches[t.matches.length-1];return n.route.id||et(!1),n.route.id}function qC(){var e;let t=d.useContext(dw),n=DC(zl.UseRouteError),r=gw(zl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function BC(){let{router:e}=FC(mw.UseNavigateStable),t=gw(zl.UseNavigateStable),n=d.useRef(!1);return fw(()=>{n.current=!0}),d.useCallback(function(s,a){a===void 0&&(a={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,ei({fromRouteId:t},a)))},[e,t])}function $C(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Gt(e){et(!1)}function zC(e){let{basename:t="/",children:n=null,location:r,navigationType:s=Hr.Pop,navigator:a,static:o=!1,future:i}=e;mi()&&et(!1);let u=t.replace(/^\/*/,"/"),c=d.useMemo(()=>({basename:u,navigator:a,static:o,future:ei({v7_relativeSplatPath:!1},i)}),[u,i,a,o]);typeof r=="string"&&(r=Za(r));let{pathname:f="/",search:h="",hash:y="",state:m=null,key:b="default"}=r,g=d.useMemo(()=>{let x=uh(f,u);return x==null?null:{location:{pathname:x,search:h,hash:y,state:m,key:b},navigationType:s}},[u,f,h,y,m,b,s]);return g==null?null:d.createElement(Hs.Provider,{value:c},d.createElement(ku.Provider,{children:n,value:g}))}function VC(e){let{children:t,location:n}=e;return _C(Od(t),n)}new Promise(()=>{});function Od(e,t){t===void 0&&(t=[]);let n=[];return d.Children.forEach(e,(r,s)=>{if(!d.isValidElement(r))return;let a=[...t,s];if(r.type===d.Fragment){n.push.apply(n,Od(r.props.children,a));return}r.type!==Gt&&et(!1),!r.props.index||!r.props.children||et(!1);let o={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Od(r.props.children,a)),n.push(o)}),n}/**
 * React Router DOM v6.30.1
 *
 * 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 Fd(){return Fd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fd.apply(this,arguments)}function WC(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,a;for(a=0;a<r.length;a++)s=r[a],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function HC(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function UC(e,t){return e.button===0&&(!t||t==="_self")&&!HC(e)}const KC=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],GC="6";try{window.__reactRouterVersion=GC}catch{}const ZC="startTransition",pm=vf[ZC];function QC(e){let{basename:t,children:n,future:r,window:s}=e,a=d.useRef();a.current==null&&(a.current=tC({window:s,v5Compat:!0}));let o=a.current,[i,u]=d.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},f=d.useCallback(h=>{c&&pm?pm(()=>u(h)):u(h)},[u,c]);return d.useLayoutEffect(()=>o.listen(f),[o,f]),d.useEffect(()=>$C(r),[r]),d.createElement(zC,{basename:t,children:n,location:i.location,navigationType:i.action,navigator:o,future:r})}const YC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",JC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ee=d.forwardRef(function(t,n){let{onClick:r,relative:s,reloadDocument:a,replace:o,state:i,target:u,to:c,preventScrollReset:f,viewTransition:h}=t,y=WC(t,KC),{basename:m}=d.useContext(Hs),b,g=!1;if(typeof c=="string"&&JC.test(c)&&(b=c,YC))try{let v=new URL(window.location.href),k=c.startsWith("//")?new URL(v.protocol+c):new URL(c),S=uh(k.pathname,m);k.origin===v.origin&&S!=null?c=S+k.search+k.hash:g=!0}catch{}let x=EC(c,{relative:s}),w=XC(c,{replace:o,state:i,target:u,preventScrollReset:f,relative:s,viewTransition:h});function p(v){r&&r(v),v.defaultPrevented||w(v)}return d.createElement("a",Fd({},y,{href:b||x,onClick:g||a?r:p,ref:n,target:u}))});var mm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(mm||(mm={}));var gm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(gm||(gm={}));function XC(e,t){let{target:n,replace:r,state:s,preventScrollReset:a,relative:o,viewTransition:i}=t===void 0?{}:t,u=hw(),c=Qa(),f=pw(e,{relative:o});return d.useCallback(h=>{if(UC(h,n)){h.preventDefault();let y=r!==void 0?r:$l(c)===$l(f);u(e,{replace:y,state:s,preventScrollReset:a,relative:o,viewTransition:i})}},[c,u,f,r,s,n,e,a,o,i])}const eN=1,tN=1e6;let Nc=0;function nN(){return Nc=(Nc+1)%Number.MAX_SAFE_INTEGER,Nc.toString()}const jc=new Map,ym=e=>{if(jc.has(e))return;const t=setTimeout(()=>{jc.delete(e),To({type:"REMOVE_TOAST",toastId:e})},tN);jc.set(e,t)},rN=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,eN)};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?ym(n):e.toasts.forEach(r=>{ym(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},dl=[];let fl={toasts:[]};function To(e){fl=rN(fl,e),dl.forEach(t=>{t(fl)})}function sN({...e}){const t=nN(),n=s=>To({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>To({type:"DISMISS_TOAST",toastId:t});return To({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function aN(){const[e,t]=d.useState(fl);return d.useEffect(()=>(dl.push(t),()=>{const n=dl.indexOf(t);n>-1&&dl.splice(n,1)}),[e]),{...e,toast:sN,dismiss:n=>To({type:"DISMISS_TOAST",toastId:n})}}function re(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e==null||e(s),n===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function vm(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function yw(...e){return t=>{let n=!1;const r=e.map(s=>{const a=vm(s,t);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let s=0;s<r.length;s++){const a=r[s];typeof a=="function"?a():vm(e[s],null)}}}}function je(...e){return d.useCallback(yw(...e),e)}function oN(e,t){const n=d.createContext(t),r=a=>{const{children:o,...i}=a,u=d.useMemo(()=>i,Object.values(i));return l.jsx(n.Provider,{value:u,children:o})};r.displayName=e+"Provider";function s(a){const o=d.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[r,s]}function En(e,t=[]){let n=[];function r(a,o){const i=d.createContext(o),u=n.length;n=[...n,o];const c=h=>{var w;const{scope:y,children:m,...b}=h,g=((w=y==null?void 0:y[e])==null?void 0:w[u])||i,x=d.useMemo(()=>b,Object.values(b));return l.jsx(g.Provider,{value:x,children:m})};c.displayName=a+"Provider";function f(h,y){var g;const m=((g=y==null?void 0:y[e])==null?void 0:g[u])||i,b=d.useContext(m);if(b)return b;if(o!==void 0)return o;throw new Error(`\`${h}\` must be used within \`${a}\``)}return[c,f]}const s=()=>{const a=n.map(o=>d.createContext(o));return function(i){const u=(i==null?void 0:i[e])||a;return d.useMemo(()=>({[`__scope${e}`]:{...i,[e]:u}}),[i,u])}};return s.scopeName=e,[r,iN(s,...t)]}function iN(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(a){const o=r.reduce((i,{useScope:u,scopeName:c})=>{const h=u(a)[`__scope${c}`];return{...i,...h}},{});return d.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function La(e){const t=lN(e),n=d.forwardRef((r,s)=>{const{children:a,...o}=r,i=d.Children.toArray(a),u=i.find(cN);if(u){const c=u.props.children,f=i.map(h=>h===u?d.Children.count(c)>1?d.Children.only(null):d.isValidElement(c)?c.props.children:null:h);return l.jsx(t,{...o,ref:s,children:d.isValidElement(c)?d.cloneElement(c,void 0,f):null})}return l.jsx(t,{...o,ref:s,children:a})});return n.displayName=`${e}.Slot`,n}var vw=La("Slot");function lN(e){const t=d.forwardRef((n,r)=>{const{children:s,...a}=n;if(d.isValidElement(s)){const o=fN(s),i=dN(a,s.props);return s.type!==d.Fragment&&(i.ref=r?yw(r,o):o),d.cloneElement(s,i)}return d.Children.count(s)>1?d.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ww=Symbol("radix.slottable");function uN(e){const t=({children:n})=>l.jsx(l.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=ww,t}function cN(e){return d.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ww}function dN(e,t){const n={...t};for(const r in t){const s=e[r],a=t[r];/^on[A-Z]/.test(r)?s&&a?n[r]=(...i)=>{const u=a(...i);return s(...i),u}:s&&(n[r]=s):r==="style"?n[r]={...s,...a}:r==="className"&&(n[r]=[s,a].filter(Boolean).join(" "))}return{...e,...n}}function fN(e){var r,s;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Su(e){const t=e+"CollectionProvider",[n,r]=En(t),[s,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=g=>{const{scope:x,children:w}=g,p=I.useRef(null),v=I.useRef(new Map).current;return l.jsx(s,{scope:x,itemMap:v,collectionRef:p,children:w})};o.displayName=t;const i=e+"CollectionSlot",u=La(i),c=I.forwardRef((g,x)=>{const{scope:w,children:p}=g,v=a(i,w),k=je(x,v.collectionRef);return l.jsx(u,{ref:k,children:p})});c.displayName=i;const f=e+"CollectionItemSlot",h="data-radix-collection-item",y=La(f),m=I.forwardRef((g,x)=>{const{scope:w,children:p,...v}=g,k=I.useRef(null),S=je(x,k),j=a(f,w);return I.useEffect(()=>(j.itemMap.set(k,{ref:k,...v}),()=>void j.itemMap.delete(k))),l.jsx(y,{[h]:"",ref:S,children:p})});m.displayName=f;function b(g){const x=a(e+"CollectionConsumer",g);return I.useCallback(()=>{const p=x.collectionRef.current;if(!p)return[];const v=Array.from(p.querySelectorAll(`[${h}]`));return Array.from(x.itemMap.values()).sort((j,N)=>v.indexOf(j.ref.current)-v.indexOf(N.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:o,Slot:c,ItemSlot:m},b,r]}var hN=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],oe=hN.reduce((e,t)=>{const n=La(`Primitive.${t}`),r=d.forwardRef((s,a)=>{const{asChild:o,...i}=s,u=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(u,{...i,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function xw(e,t){e&&Ws.flushSync(()=>e.dispatchEvent(t))}function rn(e){const t=d.useRef(e);return d.useEffect(()=>{t.current=e}),d.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function pN(e,t=globalThis==null?void 0:globalThis.document){const n=rn(e);d.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var mN="DismissableLayer",Dd="dismissableLayer.update",gN="dismissableLayer.pointerDownOutside",yN="dismissableLayer.focusOutside",wm,bw=d.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),gi=d.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:o,onDismiss:i,...u}=e,c=d.useContext(bw),[f,h]=d.useState(null),y=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=d.useState({}),b=je(t,N=>h(N)),g=Array.from(c.layers),[x]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),w=g.indexOf(x),p=f?g.indexOf(f):-1,v=c.layersWithOutsidePointerEventsDisabled.size>0,k=p>=w,S=wN(N=>{const _=N.target,F=[...c.branches].some(D=>D.contains(_));!k||F||(s==null||s(N),o==null||o(N),N.defaultPrevented||i==null||i())},y),j=xN(N=>{const _=N.target;[...c.branches].some(D=>D.contains(_))||(a==null||a(N),o==null||o(N),N.defaultPrevented||i==null||i())},y);return pN(N=>{p===c.layers.size-1&&(r==null||r(N),!N.defaultPrevented&&i&&(N.preventDefault(),i()))},y),d.useEffect(()=>{if(f)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(wm=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(f)),c.layers.add(f),xm(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(y.body.style.pointerEvents=wm)}},[f,y,n,c]),d.useEffect(()=>()=>{f&&(c.layers.delete(f),c.layersWithOutsidePointerEventsDisabled.delete(f),xm())},[f,c]),d.useEffect(()=>{const N=()=>m({});return document.addEventListener(Dd,N),()=>document.removeEventListener(Dd,N)},[]),l.jsx(oe.div,{...u,ref:b,style:{pointerEvents:v?k?"auto":"none":void 0,...e.style},onFocusCapture:re(e.onFocusCapture,j.onFocusCapture),onBlurCapture:re(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:re(e.onPointerDownCapture,S.onPointerDownCapture)})});gi.displayName=mN;var vN="DismissableLayerBranch",kw=d.forwardRef((e,t)=>{const n=d.useContext(bw),r=d.useRef(null),s=je(t,r);return d.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),l.jsx(oe.div,{...e,ref:s})});kw.displayName=vN;function wN(e,t=globalThis==null?void 0:globalThis.document){const n=rn(e),r=d.useRef(!1),s=d.useRef(()=>{});return d.useEffect(()=>{const a=i=>{if(i.target&&!r.current){let u=function(){Sw(gN,n,c,{discrete:!0})};const c={originalEvent:i};i.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=u,t.addEventListener("click",s.current,{once:!0})):u()}else t.removeEventListener("click",s.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",a),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function xN(e,t=globalThis==null?void 0:globalThis.document){const n=rn(e),r=d.useRef(!1);return d.useEffect(()=>{const s=a=>{a.target&&!r.current&&Sw(yN,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function xm(){const e=new CustomEvent(Dd);document.dispatchEvent(e)}function Sw(e,t,n,{discrete:r}){const s=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?xw(s,a):s.dispatchEvent(a)}var bN=gi,kN=kw,lt=globalThis!=null&&globalThis.document?d.useLayoutEffect:()=>{},SN="Portal",Cu=d.forwardRef((e,t)=>{var i;const{container:n,...r}=e,[s,a]=d.useState(!1);lt(()=>a(!0),[]);const o=n||s&&((i=globalThis==null?void 0:globalThis.document)==null?void 0:i.body);return o?rw.createPortal(l.jsx(oe.div,{...r,ref:t}),o):null});Cu.displayName=SN;function CN(e,t){return d.useReducer((n,r)=>t[n][r]??n,e)}var fs=e=>{const{present:t,children:n}=e,r=NN(t),s=typeof n=="function"?n({present:r.isPresent}):d.Children.only(n),a=je(r.ref,jN(s));return typeof n=="function"||r.isPresent?d.cloneElement(s,{ref:a}):null};fs.displayName="Presence";function NN(e){const[t,n]=d.useState(),r=d.useRef(null),s=d.useRef(e),a=d.useRef("none"),o=e?"mounted":"unmounted",[i,u]=CN(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return d.useEffect(()=>{const c=Vi(r.current);a.current=i==="mounted"?c:"none"},[i]),lt(()=>{const c=r.current,f=s.current;if(f!==e){const y=a.current,m=Vi(c);e?u("MOUNT"):m==="none"||(c==null?void 0:c.display)==="none"?u("UNMOUNT"):u(f&&y!==m?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,u]),lt(()=>{if(t){let c;const f=t.ownerDocument.defaultView??window,h=m=>{const g=Vi(r.current).includes(m.animationName);if(m.target===t&&g&&(u("ANIMATION_END"),!s.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",c=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},y=m=>{m.target===t&&(a.current=Vi(r.current))};return t.addEventListener("animationstart",y),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(c),t.removeEventListener("animationstart",y),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:d.useCallback(c=>{r.current=c?getComputedStyle(c):null,n(c)},[])}}function Vi(e){return(e==null?void 0:e.animationName)||"none"}function jN(e){var r,s;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var EN=vf[" useInsertionEffect ".trim().toString()]||lt;function wr({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[s,a,o]=IN({defaultProp:t,onChange:n}),i=e!==void 0,u=i?e:s;{const f=d.useRef(e!==void 0);d.useEffect(()=>{const h=f.current;h!==i&&console.warn(`${r} is changing from ${h?"controlled":"uncontrolled"} to ${i?"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.`),f.current=i},[i,r])}const c=d.useCallback(f=>{var h;if(i){const y=_N(f)?f(e):f;y!==e&&((h=o.current)==null||h.call(o,y))}else a(f)},[i,e,a,o]);return[u,c]}function IN({defaultProp:e,onChange:t}){const[n,r]=d.useState(e),s=d.useRef(n),a=d.useRef(t);return EN(()=>{a.current=t},[t]),d.useEffect(()=>{var o;s.current!==n&&((o=a.current)==null||o.call(a,n),s.current=n)},[n,s]),[n,r,a]}function _N(e){return typeof e=="function"}var Cw=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"}),TN="VisuallyHidden",Nu=d.forwardRef((e,t)=>l.jsx(oe.span,{...e,ref:t,style:{...Cw,...e.style}}));Nu.displayName=TN;var RN=Nu,dh="ToastProvider",[fh,PN,AN]=Su("Toast"),[Nw,FP]=En("Toast",[AN]),[MN,ju]=Nw(dh),jw=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:a=50,children:o}=e,[i,u]=d.useState(null),[c,f]=d.useState(0),h=d.useRef(!1),y=d.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${dh}\`. Expected non-empty \`string\`.`),l.jsx(fh.Provider,{scope:t,children:l.jsx(MN,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:a,toastCount:c,viewport:i,onViewportChange:u,onToastAdd:d.useCallback(()=>f(m=>m+1),[]),onToastRemove:d.useCallback(()=>f(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:y,children:o})})};jw.displayName=dh;var Ew="ToastViewport",ON=["F8"],Ld="toast.viewportPause",qd="toast.viewportResume",Iw=d.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=ON,label:s="Notifications ({hotkey})",...a}=e,o=ju(Ew,n),i=PN(n),u=d.useRef(null),c=d.useRef(null),f=d.useRef(null),h=d.useRef(null),y=je(t,h,o.onViewportChange),m=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=o.toastCount>0;d.useEffect(()=>{const x=w=>{var v;r.length!==0&&r.every(k=>w[k]||w.code===k)&&((v=h.current)==null||v.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),d.useEffect(()=>{const x=u.current,w=h.current;if(b&&x&&w){const p=()=>{if(!o.isClosePausedRef.current){const j=new CustomEvent(Ld);w.dispatchEvent(j),o.isClosePausedRef.current=!0}},v=()=>{if(o.isClosePausedRef.current){const j=new CustomEvent(qd);w.dispatchEvent(j),o.isClosePausedRef.current=!1}},k=j=>{!x.contains(j.relatedTarget)&&v()},S=()=>{x.contains(document.activeElement)||v()};return x.addEventListener("focusin",p),x.addEventListener("focusout",k),x.addEventListener("pointermove",p),x.addEventListener("pointerleave",S),window.addEventListener("blur",p),window.addEventListener("focus",v),()=>{x.removeEventListener("focusin",p),x.removeEventListener("focusout",k),x.removeEventListener("pointermove",p),x.removeEventListener("pointerleave",S),window.removeEventListener("blur",p),window.removeEventListener("focus",v)}}},[b,o.isClosePausedRef]);const g=d.useCallback(({tabbingDirection:x})=>{const p=i().map(v=>{const k=v.ref.current,S=[k,...GN(k)];return x==="forwards"?S:S.reverse()});return(x==="forwards"?p.reverse():p).flat()},[i]);return d.useEffect(()=>{const x=h.current;if(x){const w=p=>{var S,j,N;const v=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!v){const _=document.activeElement,F=p.shiftKey;if(p.target===x&&F){(S=c.current)==null||S.focus();return}const M=g({tabbingDirection:F?"backwards":"forwards"}),z=M.findIndex(O=>O===_);Ec(M.slice(z+1))?p.preventDefault():F?(j=c.current)==null||j.focus():(N=f.current)==null||N.focus()}};return x.addEventListener("keydown",w),()=>x.removeEventListener("keydown",w)}},[i,g]),l.jsxs(kN,{ref:u,role:"region","aria-label":s.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&l.jsx(Bd,{ref:c,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"forwards"});Ec(x)}}),l.jsx(fh.Slot,{scope:n,children:l.jsx(oe.ol,{tabIndex:-1,...a,ref:y})}),b&&l.jsx(Bd,{ref:f,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"backwards"});Ec(x)}})]})});Iw.displayName=Ew;var _w="ToastFocusProxy",Bd=d.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,a=ju(_w,n);return l.jsx(Nu,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:o=>{var c;const i=o.relatedTarget;!((c=a.viewport)!=null&&c.contains(i))&&r()}})});Bd.displayName=_w;var yi="Toast",FN="toast.swipeStart",DN="toast.swipeMove",LN="toast.swipeCancel",qN="toast.swipeEnd",Tw=d.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:a,...o}=e,[i,u]=wr({prop:r,defaultProp:s??!0,onChange:a,caller:yi});return l.jsx(fs,{present:n||i,children:l.jsx(zN,{open:i,...o,ref:t,onClose:()=>u(!1),onPause:rn(e.onPause),onResume:rn(e.onResume),onSwipeStart:re(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:re(e.onSwipeMove,c=>{const{x:f,y:h}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${f}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:re(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:re(e.onSwipeEnd,c=>{const{x:f,y:h}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${f}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),u(!1)})})})});Tw.displayName=yi;var[BN,$N]=Nw(yi,{onClose(){}}),zN=d.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:s,open:a,onClose:o,onEscapeKeyDown:i,onPause:u,onResume:c,onSwipeStart:f,onSwipeMove:h,onSwipeCancel:y,onSwipeEnd:m,...b}=e,g=ju(yi,n),[x,w]=d.useState(null),p=je(t,O=>w(O)),v=d.useRef(null),k=d.useRef(null),S=s||g.duration,j=d.useRef(0),N=d.useRef(S),_=d.useRef(0),{onToastAdd:F,onToastRemove:D}=g,G=rn(()=>{var J;(x==null?void 0:x.contains(document.activeElement))&&((J=g.viewport)==null||J.focus()),o()}),M=d.useCallback(O=>{!O||O===1/0||(window.clearTimeout(_.current),j.current=new Date().getTime(),_.current=window.setTimeout(G,O))},[G]);d.useEffect(()=>{const O=g.viewport;if(O){const J=()=>{M(N.current),c==null||c()},$=()=>{const X=new Date().getTime()-j.current;N.current=N.current-X,window.clearTimeout(_.current),u==null||u()};return O.addEventListener(Ld,$),O.addEventListener(qd,J),()=>{O.removeEventListener(Ld,$),O.removeEventListener(qd,J)}}},[g.viewport,S,u,c,M]),d.useEffect(()=>{a&&!g.isClosePausedRef.current&&M(S)},[a,S,g.isClosePausedRef,M]),d.useEffect(()=>(F(),()=>D()),[F,D]);const z=d.useMemo(()=>x?Dw(x):null,[x]);return g.viewport?l.jsxs(l.Fragment,{children:[z&&l.jsx(VN,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:z}),l.jsx(BN,{scope:n,onClose:G,children:Ws.createPortal(l.jsx(fh.ItemSlot,{scope:n,children:l.jsx(bN,{asChild:!0,onEscapeKeyDown:re(i,()=>{g.isFocusedToastEscapeKeyDownRef.current||G(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx(oe.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":g.swipeDirection,...b,ref:p,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:re(e.onKeyDown,O=>{O.key==="Escape"&&(i==null||i(O.nativeEvent),O.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,G()))}),onPointerDown:re(e.onPointerDown,O=>{O.button===0&&(v.current={x:O.clientX,y:O.clientY})}),onPointerMove:re(e.onPointerMove,O=>{if(!v.current)return;const J=O.clientX-v.current.x,$=O.clientY-v.current.y,X=!!k.current,T=["left","right"].includes(g.swipeDirection),P=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,W=T?P(0,J):0,se=T?0:P(0,$),ne=O.pointerType==="touch"?10:2,ie={x:W,y:se},ae={originalEvent:O,delta:ie};X?(k.current=ie,Wi(DN,h,ae,{discrete:!1})):bm(ie,g.swipeDirection,ne)?(k.current=ie,Wi(FN,f,ae,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(J)>ne||Math.abs($)>ne)&&(v.current=null)}),onPointerUp:re(e.onPointerUp,O=>{const J=k.current,$=O.target;if($.hasPointerCapture(O.pointerId)&&$.releasePointerCapture(O.pointerId),k.current=null,v.current=null,J){const X=O.currentTarget,T={originalEvent:O,delta:J};bm(J,g.swipeDirection,g.swipeThreshold)?Wi(qN,m,T,{discrete:!0}):Wi(LN,y,T,{discrete:!0}),X.addEventListener("click",P=>P.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),VN=e=>{const{__scopeToast:t,children:n,...r}=e,s=ju(yi,t),[a,o]=d.useState(!1),[i,u]=d.useState(!1);return UN(()=>o(!0)),d.useEffect(()=>{const c=window.setTimeout(()=>u(!0),1e3);return()=>window.clearTimeout(c)},[]),i?null:l.jsx(Cu,{asChild:!0,children:l.jsx(Nu,{...r,children:a&&l.jsxs(l.Fragment,{children:[s.label," ",n]})})})},WN="ToastTitle",Rw=d.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx(oe.div,{...r,ref:t})});Rw.displayName=WN;var HN="ToastDescription",Pw=d.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx(oe.div,{...r,ref:t})});Pw.displayName=HN;var Aw="ToastAction",Mw=d.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?l.jsx(Fw,{altText:n,asChild:!0,children:l.jsx(hh,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Aw}\`. Expected non-empty \`string\`.`),null)});Mw.displayName=Aw;var Ow="ToastClose",hh=d.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=$N(Ow,n);return l.jsx(Fw,{asChild:!0,children:l.jsx(oe.button,{type:"button",...r,ref:t,onClick:re(e.onClick,s.onClose)})})});hh.displayName=Ow;var Fw=d.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return l.jsx(oe.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function Dw(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),KN(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",a=r.dataset.radixToastAnnounceExclude==="";if(!s)if(a){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...Dw(r))}}),t}function Wi(e,t,n,{discrete:r}){const s=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?xw(s,a):s.dispatchEvent(a)}var bm=(e,t,n=0)=>{const r=Math.abs(e.x),s=Math.abs(e.y),a=r>s;return t==="left"||t==="right"?a&&r>n:!a&&s>n};function UN(e=()=>{}){const t=rn(e);lt(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function KN(e){return e.nodeType===e.ELEMENT_NODE}function GN(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ec(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var ZN=jw,Lw=Iw,qw=Tw,Bw=Rw,$w=Pw,zw=Mw,Vw=hh;function Ww(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=Ww(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Hw(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=Ww(e))&&(r&&(r+=" "),r+=t);return r}const km=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Sm=Hw,vi=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Sm(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:a}=t,o=Object.keys(s).map(c=>{const f=n==null?void 0:n[c],h=a==null?void 0:a[c];if(f===null)return null;const y=km(f)||km(h);return s[c][y]}),i=n&&Object.entries(n).reduce((c,f)=>{let[h,y]=f;return y===void 0||(c[h]=y),c},{}),u=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,f)=>{let{class:h,className:y,...m}=f;return Object.entries(m).every(b=>{let[g,x]=b;return Array.isArray(x)?x.includes({...a,...i}[g]):{...a,...i}[g]===x})?[...c,h,y]:c},[]);return Sm(e,o,u,n==null?void 0:n.class,n==null?void 0:n.className)};/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const QN=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Uw=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var YN={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.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const JN=d.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:a,iconNode:o,...i},u)=>d.createElement("svg",{ref:u,...YN,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Uw("lucide",s),...i},[...o.map(([c,f])=>d.createElement(c,f)),...Array.isArray(a)?a:[a]]));/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Cr=(e,t)=>{const n=d.forwardRef(({className:r,...s},a)=>d.createElement(JN,{ref:a,iconNode:t,className:Uw(`lucide-${QN(e)}`,r),...s}));return n.displayName=`${e}`,n};/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const XN=Cr("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ej=Cr("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ph=Cr("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const tj=Cr("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const nj=Cr("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const rj=Cr("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const sj=Cr("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Cm=Cr("House",[["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"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Kw=Cr("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),mh="-",aj=e=>{const t=ij(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const i=o.split(mh);return i[0]===""&&i.length!==1&&i.shift(),Gw(i,t)||oj(o)},getConflictingClassGroupIds:(o,i)=>{const u=n[o]||[];return i&&r[o]?[...u,...r[o]]:u}}},Gw=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?Gw(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const a=e.join(mh);return(o=t.validators.find(({validator:i})=>i(a)))==null?void 0:o.classGroupId},Nm=/^\[(.+)\]$/,oj=e=>{if(Nm.test(e)){const t=Nm.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},ij=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return uj(Object.entries(e.classGroups),n).forEach(([a,o])=>{$d(o,r,a,t)}),r},$d=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const a=s===""?t:jm(t,s);a.classGroupId=n;return}if(typeof s=="function"){if(lj(s)){$d(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([a,o])=>{$d(o,jm(t,a),n,r)})})},jm=(e,t)=>{let n=e;return t.split(mh).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},lj=e=>e.isThemeGetter,uj=(e,t)=>t?e.map(([n,r])=>{const s=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([o,i])=>[t+o,i])):a);return[n,s]}):e,cj=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(a,o)=>{n.set(a,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(a){let o=n.get(a);if(o!==void 0)return o;if((o=r.get(a))!==void 0)return s(a,o),o},set(a,o){n.has(a)?n.set(a,o):s(a,o)}}},Zw="!",dj=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],a=t.length,o=i=>{const u=[];let c=0,f=0,h;for(let x=0;x<i.length;x++){let w=i[x];if(c===0){if(w===s&&(r||i.slice(x,x+a)===t)){u.push(i.slice(f,x)),f=x+a;continue}if(w==="/"){h=x;continue}}w==="["?c++:w==="]"&&c--}const y=u.length===0?i:i.substring(f),m=y.startsWith(Zw),b=m?y.substring(1):y,g=h&&h>f?h-f:void 0;return{modifiers:u,hasImportantModifier:m,baseClassName:b,maybePostfixModifierPosition:g}};return n?i=>n({className:i,parseClassName:o}):o},fj=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},hj=e=>({cache:cj(e.cacheSize),parseClassName:dj(e),...aj(e)}),pj=/\s+/,mj=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,a=[],o=e.trim().split(pj);let i="";for(let u=o.length-1;u>=0;u-=1){const c=o[u],{modifiers:f,hasImportantModifier:h,baseClassName:y,maybePostfixModifierPosition:m}=n(c);let b=!!m,g=r(b?y.substring(0,m):y);if(!g){if(!b){i=c+(i.length>0?" "+i:i);continue}if(g=r(y),!g){i=c+(i.length>0?" "+i:i);continue}b=!1}const x=fj(f).join(":"),w=h?x+Zw:x,p=w+g;if(a.includes(p))continue;a.push(p);const v=s(g,b);for(let k=0;k<v.length;++k){const S=v[k];a.push(w+S)}i=c+(i.length>0?" "+i:i)}return i};function gj(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Qw(t))&&(r&&(r+=" "),r+=n);return r}const Qw=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Qw(e[r]))&&(n&&(n+=" "),n+=t);return n};function yj(e,...t){let n,r,s,a=o;function o(u){const c=t.reduce((f,h)=>h(f),e());return n=hj(c),r=n.cache.get,s=n.cache.set,a=i,i(u)}function i(u){const c=r(u);if(c)return c;const f=mj(u,n);return s(u,f),f}return function(){return a(gj.apply(null,arguments))}}const De=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Yw=/^\[(?:([a-z-]+):)?(.+)\]$/i,vj=/^\d+\/\d+$/,wj=new Set(["px","full","screen"]),xj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,bj=/\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$/,kj=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Sj=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Cj=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,nr=e=>xa(e)||wj.has(e)||vj.test(e),_r=e=>Ya(e,"length",Pj),xa=e=>!!e&&!Number.isNaN(Number(e)),Ic=e=>Ya(e,"number",xa),uo=e=>!!e&&Number.isInteger(Number(e)),Nj=e=>e.endsWith("%")&&xa(e.slice(0,-1)),fe=e=>Yw.test(e),Tr=e=>xj.test(e),jj=new Set(["length","size","percentage"]),Ej=e=>Ya(e,jj,Jw),Ij=e=>Ya(e,"position",Jw),_j=new Set(["image","url"]),Tj=e=>Ya(e,_j,Mj),Rj=e=>Ya(e,"",Aj),co=()=>!0,Ya=(e,t,n)=>{const r=Yw.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Pj=e=>bj.test(e)&&!kj.test(e),Jw=()=>!1,Aj=e=>Sj.test(e),Mj=e=>Cj.test(e),Oj=()=>{const e=De("colors"),t=De("spacing"),n=De("blur"),r=De("brightness"),s=De("borderColor"),a=De("borderRadius"),o=De("borderSpacing"),i=De("borderWidth"),u=De("contrast"),c=De("grayscale"),f=De("hueRotate"),h=De("invert"),y=De("gap"),m=De("gradientColorStops"),b=De("gradientColorStopPositions"),g=De("inset"),x=De("margin"),w=De("opacity"),p=De("padding"),v=De("saturate"),k=De("scale"),S=De("sepia"),j=De("skew"),N=De("space"),_=De("translate"),F=()=>["auto","contain","none"],D=()=>["auto","hidden","clip","visible","scroll"],G=()=>["auto",fe,t],M=()=>[fe,t],z=()=>["",nr,_r],O=()=>["auto",xa,fe],J=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],X=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],T=()=>["start","end","center","between","around","evenly","stretch"],P=()=>["","0",fe],W=()=>["auto","avoid","all","avoid-page","page","left","right","column"],se=()=>[xa,fe];return{cacheSize:500,separator:":",theme:{colors:[co],spacing:[nr,_r],blur:["none","",Tr,fe],brightness:se(),borderColor:[e],borderRadius:["none","","full",Tr,fe],borderSpacing:M(),borderWidth:z(),contrast:se(),grayscale:P(),hueRotate:se(),invert:P(),gap:M(),gradientColorStops:[e],gradientColorStopPositions:[Nj,_r],inset:G(),margin:G(),opacity:se(),padding:M(),saturate:se(),scale:se(),sepia:P(),skew:se(),space:M(),translate:M()},classGroups:{aspect:[{aspect:["auto","square","video",fe]}],container:["container"],columns:[{columns:[Tr]}],"break-after":[{"break-after":W()}],"break-before":[{"break-before":W()}],"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:[...J(),fe]}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",uo,fe]}],basis:[{basis:G()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",fe]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",uo,fe]}],"grid-cols":[{"grid-cols":[co]}],"col-start-end":[{col:["auto",{span:["full",uo,fe]},fe]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[co]}],"row-start-end":[{row:["auto",{span:[uo,fe]},fe]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",fe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",fe]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...T()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...T(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...T(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[N]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[N]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",fe,t]}],"min-w":[{"min-w":[fe,t,"min","max","fit"]}],"max-w":[{"max-w":[fe,t,"none","full","min","max","fit","prose",{screen:[Tr]},Tr]}],h:[{h:[fe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[fe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[fe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[fe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Tr,_r]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ic]}],"font-family":[{font:[co]}],"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",fe]}],"line-clamp":[{"line-clamp":["none",xa,Ic]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",nr,fe]}],"list-image":[{"list-image":["none",fe]}],"list-style-type":[{list:["none","disc","decimal",fe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",nr,_r]}],"underline-offset":[{"underline-offset":["auto",nr,fe]}],"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:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",fe]}],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",fe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...J(),Ij]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ej]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Tj]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:$()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[nr,fe]}],"outline-w":[{outline:[nr,_r]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[nr,_r]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Tr,Rj]}],"shadow-color":[{shadow:[co]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...X(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":X()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",Tr,fe]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[h]}],saturate:[{saturate:[v]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",fe]}],duration:[{duration:se()}],ease:[{ease:["linear","in","out","in-out",fe]}],delay:[{delay:se()}],animate:[{animate:["none","spin","ping","pulse","bounce",fe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[uo,fe]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[j]}],"skew-y":[{"skew-y":[j]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",fe]}],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",fe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"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",fe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[nr,_r,Ic]}],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"]}}},Fj=yj(Oj);function he(...e){return Fj(Hw(e))}const Dj=ZN,Xw=d.forwardRef(({className:e,...t},n)=>l.jsx(Lw,{ref:n,className:he("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}));Xw.displayName=Lw.displayName;const Lj=vi("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),ex=d.forwardRef(({className:e,variant:t,...n},r)=>l.jsx(qw,{ref:r,className:he(Lj({variant:t}),e),...n}));ex.displayName=qw.displayName;const qj=d.forwardRef(({className:e,...t},n)=>l.jsx(zw,{ref:n,className:he("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));qj.displayName=zw.displayName;const tx=d.forwardRef(({className:e,...t},n)=>l.jsx(Vw,{ref:n,className:he("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:l.jsx(Kw,{className:"h-4 w-4"})}));tx.displayName=Vw.displayName;const nx=d.forwardRef(({className:e,...t},n)=>l.jsx(Bw,{ref:n,className:he("text-sm font-semibold",e),...t}));nx.displayName=Bw.displayName;const rx=d.forwardRef(({className:e,...t},n)=>l.jsx($w,{ref:n,className:he("text-sm opacity-90",e),...t}));rx.displayName=$w.displayName;function Bj(){const{toasts:e}=aN();return l.jsxs(Dj,{children:[e.map(function({id:t,title:n,description:r,action:s,...a}){return l.jsxs(ex,{...a,children:[l.jsxs("div",{className:"grid gap-1",children:[n&&l.jsx(nx,{children:n}),r&&l.jsx(rx,{children:r})]}),s,l.jsx(tx,{})]},t)}),l.jsx(Xw,{})]})}var Em=["light","dark"],$j="(prefers-color-scheme: dark)",zj=d.createContext(void 0),Vj={setTheme:e=>{},themes:[]},Wj=()=>{var e;return(e=d.useContext(zj))!=null?e:Vj};d.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:s,defaultTheme:a,value:o,attrs:i,nonce:u})=>{let c=a==="system",f=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${i.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=s?Em.includes(a)&&a?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${a}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",y=(b,g=!1,x=!0)=>{let w=o?o[b]:b,p=g?b+"|| ''":`'${w}'`,v="";return s&&x&&!g&&Em.includes(b)&&(v+=`d.style.colorScheme = '${b}';`),n==="class"?g||w?v+=`c.add(${p})`:v+="null":w&&(v+=`d[s](n,${p})`),v},m=e?`!function(){${f}${y(e)}}()`:r?`!function(){try{${f}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${c})){var t='${$j}',m=window.matchMedia(t);if(m.media!==t||m.matches){${y("dark")}}else{${y("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${y(o?"x[e]":"e",!0)}}${c?"":"else{"+y(a,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${f}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${y(o?"x[e]":"e",!0)}}else{${y(a,!1,!1)};}${h}}catch(t){}}();`;return d.createElement("script",{nonce:u,dangerouslySetInnerHTML:{__html:m}})});var Hj=e=>{switch(e){case"success":return Gj;case"info":return Qj;case"warning":return Zj;case"error":return Yj;default:return null}},Uj=Array(12).fill(0),Kj=({visible:e,className:t})=>I.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},I.createElement("div",{className:"sonner-spinner"},Uj.map((n,r)=>I.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),Gj=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},I.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Zj=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},I.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Qj=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},I.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Yj=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},I.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Jj=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},I.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),I.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Xj=()=>{let[e,t]=I.useState(document.hidden);return I.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},zd=1,eE=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,s=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:zd++,a=this.toasts.find(i=>i.id===s),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),a?this.toasts=this.toasts.map(i=>i.id===s?(this.publish({...i,...e,id:s,title:n}),{...i,...e,id:s,dismissible:o,title:n}):i):this.addToast({title:n,...r,dismissible:o,id:s}),s},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),s=n!==void 0,a,o=r.then(async u=>{if(a=["resolve",u],I.isValidElement(u))s=!1,this.create({id:n,type:"default",message:u});else if(nE(u)&&!u.ok){s=!1;let c=typeof t.error=="function"?await t.error(`HTTP error! status: ${u.status}`):t.error,f=typeof t.description=="function"?await t.description(`HTTP error! status: ${u.status}`):t.description;this.create({id:n,type:"error",message:c,description:f})}else if(t.success!==void 0){s=!1;let c=typeof t.success=="function"?await t.success(u):t.success,f=typeof t.description=="function"?await t.description(u):t.description;this.create({id:n,type:"success",message:c,description:f})}}).catch(async u=>{if(a=["reject",u],t.error!==void 0){s=!1;let c=typeof t.error=="function"?await t.error(u):t.error,f=typeof t.description=="function"?await t.description(u):t.description;this.create({id:n,type:"error",message:c,description:f})}}).finally(()=>{var u;s&&(this.dismiss(n),n=void 0),(u=t.finally)==null||u.call(t)}),i=()=>new Promise((u,c)=>o.then(()=>a[0]==="reject"?c(a[1]):u(a[1])).catch(c));return typeof n!="string"&&typeof n!="number"?{unwrap:i}:Object.assign(n,{unwrap:i})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||zd++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},It=new eE,tE=(e,t)=>{let n=(t==null?void 0:t.id)||zd++;return It.addToast({title:e,...t,id:n}),n},nE=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",rE=tE,sE=()=>It.toasts,aE=()=>It.getActiveToasts(),ir=Object.assign(rE,{success:It.success,info:It.info,warning:It.warning,error:It.error,custom:It.custom,message:It.message,promise:It.promise,dismiss:It.dismiss,loading:It.loading},{getHistory:sE,getToasts:aE});function oE(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}oE(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
`);function Hi(e){return e.label!==void 0}var iE=3,lE="32px",uE="16px",Im=4e3,cE=356,dE=14,fE=20,hE=200;function cn(...e){return e.filter(Boolean).join(" ")}function pE(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var mE=e=>{var t,n,r,s,a,o,i,u,c,f,h;let{invert:y,toast:m,unstyled:b,interacting:g,setHeights:x,visibleToasts:w,heights:p,index:v,toasts:k,expanded:S,removeToast:j,defaultRichColors:N,closeButton:_,style:F,cancelButtonStyle:D,actionButtonStyle:G,className:M="",descriptionClassName:z="",duration:O,position:J,gap:$,loadingIcon:X,expandByDefault:T,classNames:P,icons:W,closeButtonAriaLabel:se="Close toast",pauseWhenPageIsHidden:ne}=e,[ie,ae]=I.useState(null),[Te,Be]=I.useState(null),[U,Se]=I.useState(!1),[Me,we]=I.useState(!1),[ye,xe]=I.useState(!1),[st,vt]=I.useState(!1),[Tn,Rn]=I.useState(!1),[Jn,Ks]=I.useState(0),[Xn,C]=I.useState(0),E=I.useRef(m.duration||O||Im),R=I.useRef(null),H=I.useRef(null),V=v===0,B=v+1<=w,Q=m.type,ve=m.dismissible!==!1,Re=m.className||"",jt=m.descriptionClassName||"",er=I.useMemo(()=>p.findIndex(ce=>ce.toastId===m.id)||0,[p,m.id]),Pn=I.useMemo(()=>{var ce;return(ce=m.closeButton)!=null?ce:_},[m.closeButton,_]),ki=I.useMemo(()=>m.duration||O||Im,[m.duration,O]),ms=I.useRef(0),An=I.useRef(0),Si=I.useRef(0),tr=I.useRef(null),[Zu,Ci]=J.split("-"),Yh=I.useMemo(()=>p.reduce((ce,Pe,$e)=>$e>=er?ce:ce+Pe.height,0),[p,er]),Jh=Xj(),E1=m.invert||y,Qu=Q==="loading";An.current=I.useMemo(()=>er*$+Yh,[er,Yh]),I.useEffect(()=>{E.current=ki},[ki]),I.useEffect(()=>{Se(!0)},[]),I.useEffect(()=>{let ce=H.current;if(ce){let Pe=ce.getBoundingClientRect().height;return C(Pe),x($e=>[{toastId:m.id,height:Pe,position:m.position},...$e]),()=>x($e=>$e.filter(an=>an.toastId!==m.id))}},[x,m.id]),I.useLayoutEffect(()=>{if(!U)return;let ce=H.current,Pe=ce.style.height;ce.style.height="auto";let $e=ce.getBoundingClientRect().height;ce.style.height=Pe,C($e),x(an=>an.find(on=>on.toastId===m.id)?an.map(on=>on.toastId===m.id?{...on,height:$e}:on):[{toastId:m.id,height:$e,position:m.position},...an])},[U,m.title,m.description,x,m.id]);let Nr=I.useCallback(()=>{we(!0),Ks(An.current),x(ce=>ce.filter(Pe=>Pe.toastId!==m.id)),setTimeout(()=>{j(m)},hE)},[m,j,x,An]);I.useEffect(()=>{if(m.promise&&Q==="loading"||m.duration===1/0||m.type==="loading")return;let ce;return S||g||ne&&Jh?(()=>{if(Si.current<ms.current){let Pe=new Date().getTime()-ms.current;E.current=E.current-Pe}Si.current=new Date().getTime()})():E.current!==1/0&&(ms.current=new Date().getTime(),ce=setTimeout(()=>{var Pe;(Pe=m.onAutoClose)==null||Pe.call(m,m),Nr()},E.current)),()=>clearTimeout(ce)},[S,g,m,Q,ne,Jh,Nr]),I.useEffect(()=>{m.delete&&Nr()},[Nr,m.delete]);function I1(){var ce,Pe,$e;return W!=null&&W.loading?I.createElement("div",{className:cn(P==null?void 0:P.loader,(ce=m==null?void 0:m.classNames)==null?void 0:ce.loader,"sonner-loader"),"data-visible":Q==="loading"},W.loading):X?I.createElement("div",{className:cn(P==null?void 0:P.loader,(Pe=m==null?void 0:m.classNames)==null?void 0:Pe.loader,"sonner-loader"),"data-visible":Q==="loading"},X):I.createElement(Kj,{className:cn(P==null?void 0:P.loader,($e=m==null?void 0:m.classNames)==null?void 0:$e.loader),visible:Q==="loading"})}return I.createElement("li",{tabIndex:0,ref:H,className:cn(M,Re,P==null?void 0:P.toast,(t=m==null?void 0:m.classNames)==null?void 0:t.toast,P==null?void 0:P.default,P==null?void 0:P[Q],(n=m==null?void 0:m.classNames)==null?void 0:n[Q]),"data-sonner-toast":"","data-rich-colors":(r=m.richColors)!=null?r:N,"data-styled":!(m.jsx||m.unstyled||b),"data-mounted":U,"data-promise":!!m.promise,"data-swiped":Tn,"data-removed":Me,"data-visible":B,"data-y-position":Zu,"data-x-position":Ci,"data-index":v,"data-front":V,"data-swiping":ye,"data-dismissible":ve,"data-type":Q,"data-invert":E1,"data-swipe-out":st,"data-swipe-direction":Te,"data-expanded":!!(S||T&&U),style:{"--index":v,"--toasts-before":v,"--z-index":k.length-v,"--offset":`${Me?Jn:An.current}px`,"--initial-height":T?"auto":`${Xn}px`,...F,...m.style},onDragEnd:()=>{xe(!1),ae(null),tr.current=null},onPointerDown:ce=>{Qu||!ve||(R.current=new Date,Ks(An.current),ce.target.setPointerCapture(ce.pointerId),ce.target.tagName!=="BUTTON"&&(xe(!0),tr.current={x:ce.clientX,y:ce.clientY}))},onPointerUp:()=>{var ce,Pe,$e,an;if(st||!ve)return;tr.current=null;let on=Number(((ce=H.current)==null?void 0:ce.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),jr=Number(((Pe=H.current)==null?void 0:Pe.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),gs=new Date().getTime()-(($e=R.current)==null?void 0:$e.getTime()),ln=ie==="x"?on:jr,Er=Math.abs(ln)/gs;if(Math.abs(ln)>=fE||Er>.11){Ks(An.current),(an=m.onDismiss)==null||an.call(m,m),Be(ie==="x"?on>0?"right":"left":jr>0?"down":"up"),Nr(),vt(!0),Rn(!1);return}xe(!1),ae(null)},onPointerMove:ce=>{var Pe,$e,an,on;if(!tr.current||!ve||((Pe=window.getSelection())==null?void 0:Pe.toString().length)>0)return;let jr=ce.clientY-tr.current.y,gs=ce.clientX-tr.current.x,ln=($e=e.swipeDirections)!=null?$e:pE(J);!ie&&(Math.abs(gs)>1||Math.abs(jr)>1)&&ae(Math.abs(gs)>Math.abs(jr)?"x":"y");let Er={x:0,y:0};ie==="y"?(ln.includes("top")||ln.includes("bottom"))&&(ln.includes("top")&&jr<0||ln.includes("bottom")&&jr>0)&&(Er.y=jr):ie==="x"&&(ln.includes("left")||ln.includes("right"))&&(ln.includes("left")&&gs<0||ln.includes("right")&&gs>0)&&(Er.x=gs),(Math.abs(Er.x)>0||Math.abs(Er.y)>0)&&Rn(!0),(an=H.current)==null||an.style.setProperty("--swipe-amount-x",`${Er.x}px`),(on=H.current)==null||on.style.setProperty("--swipe-amount-y",`${Er.y}px`)}},Pn&&!m.jsx?I.createElement("button",{"aria-label":se,"data-disabled":Qu,"data-close-button":!0,onClick:Qu||!ve?()=>{}:()=>{var ce;Nr(),(ce=m.onDismiss)==null||ce.call(m,m)},className:cn(P==null?void 0:P.closeButton,(s=m==null?void 0:m.classNames)==null?void 0:s.closeButton)},(a=W==null?void 0:W.close)!=null?a:Jj):null,m.jsx||d.isValidElement(m.title)?m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title:I.createElement(I.Fragment,null,Q||m.icon||m.promise?I.createElement("div",{"data-icon":"",className:cn(P==null?void 0:P.icon,(o=m==null?void 0:m.classNames)==null?void 0:o.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||I1():null,m.type!=="loading"?m.icon||(W==null?void 0:W[Q])||Hj(Q):null):null,I.createElement("div",{"data-content":"",className:cn(P==null?void 0:P.content,(i=m==null?void 0:m.classNames)==null?void 0:i.content)},I.createElement("div",{"data-title":"",className:cn(P==null?void 0:P.title,(u=m==null?void 0:m.classNames)==null?void 0:u.title)},typeof m.title=="function"?m.title():m.title),m.description?I.createElement("div",{"data-description":"",className:cn(z,jt,P==null?void 0:P.description,(c=m==null?void 0:m.classNames)==null?void 0:c.description)},typeof m.description=="function"?m.description():m.description):null),d.isValidElement(m.cancel)?m.cancel:m.cancel&&Hi(m.cancel)?I.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||D,onClick:ce=>{var Pe,$e;Hi(m.cancel)&&ve&&(($e=(Pe=m.cancel).onClick)==null||$e.call(Pe,ce),Nr())},className:cn(P==null?void 0:P.cancelButton,(f=m==null?void 0:m.classNames)==null?void 0:f.cancelButton)},m.cancel.label):null,d.isValidElement(m.action)?m.action:m.action&&Hi(m.action)?I.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||G,onClick:ce=>{var Pe,$e;Hi(m.action)&&(($e=(Pe=m.action).onClick)==null||$e.call(Pe,ce),!ce.defaultPrevented&&Nr())},className:cn(P==null?void 0:P.actionButton,(h=m==null?void 0:m.classNames)==null?void 0:h.actionButton)},m.action.label):null))};function _m(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function gE(e,t){let n={};return[e,t].forEach((r,s)=>{let a=s===1,o=a?"--mobile-offset":"--offset",i=a?uE:lE;function u(c){["top","right","bottom","left"].forEach(f=>{n[`${o}-${f}`]=typeof c=="number"?`${c}px`:c})}typeof r=="number"||typeof r=="string"?u(r):typeof r=="object"?["top","right","bottom","left"].forEach(c=>{r[c]===void 0?n[`${o}-${c}`]=i:n[`${o}-${c}`]=typeof r[c]=="number"?`${r[c]}px`:r[c]}):u(i)}),n}var yE=d.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:s=["altKey","KeyT"],expand:a,closeButton:o,className:i,offset:u,mobileOffset:c,theme:f="light",richColors:h,duration:y,style:m,visibleToasts:b=iE,toastOptions:g,dir:x=_m(),gap:w=dE,loadingIcon:p,icons:v,containerAriaLabel:k="Notifications",pauseWhenPageIsHidden:S}=e,[j,N]=I.useState([]),_=I.useMemo(()=>Array.from(new Set([r].concat(j.filter(ne=>ne.position).map(ne=>ne.position)))),[j,r]),[F,D]=I.useState([]),[G,M]=I.useState(!1),[z,O]=I.useState(!1),[J,$]=I.useState(f!=="system"?f:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),X=I.useRef(null),T=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=I.useRef(null),W=I.useRef(!1),se=I.useCallback(ne=>{N(ie=>{var ae;return(ae=ie.find(Te=>Te.id===ne.id))!=null&&ae.delete||It.dismiss(ne.id),ie.filter(({id:Te})=>Te!==ne.id)})},[]);return I.useEffect(()=>It.subscribe(ne=>{if(ne.dismiss){N(ie=>ie.map(ae=>ae.id===ne.id?{...ae,delete:!0}:ae));return}setTimeout(()=>{rw.flushSync(()=>{N(ie=>{let ae=ie.findIndex(Te=>Te.id===ne.id);return ae!==-1?[...ie.slice(0,ae),{...ie[ae],...ne},...ie.slice(ae+1)]:[ne,...ie]})})})}),[]),I.useEffect(()=>{if(f!=="system"){$(f);return}if(f==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),typeof window>"u")return;let ne=window.matchMedia("(prefers-color-scheme: dark)");try{ne.addEventListener("change",({matches:ie})=>{$(ie?"dark":"light")})}catch{ne.addListener(({matches:ae})=>{try{$(ae?"dark":"light")}catch(Te){console.error(Te)}})}},[f]),I.useEffect(()=>{j.length<=1&&M(!1)},[j]),I.useEffect(()=>{let ne=ie=>{var ae,Te;s.every(Be=>ie[Be]||ie.code===Be)&&(M(!0),(ae=X.current)==null||ae.focus()),ie.code==="Escape"&&(document.activeElement===X.current||(Te=X.current)!=null&&Te.contains(document.activeElement))&&M(!1)};return document.addEventListener("keydown",ne),()=>document.removeEventListener("keydown",ne)},[s]),I.useEffect(()=>{if(X.current)return()=>{P.current&&(P.current.focus({preventScroll:!0}),P.current=null,W.current=!1)}},[X.current]),I.createElement("section",{ref:t,"aria-label":`${k} ${T}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},_.map((ne,ie)=>{var ae;let[Te,Be]=ne.split("-");return j.length?I.createElement("ol",{key:ne,dir:x==="auto"?_m():x,tabIndex:-1,ref:X,className:i,"data-sonner-toaster":!0,"data-theme":J,"data-y-position":Te,"data-lifted":G&&j.length>1&&!a,"data-x-position":Be,style:{"--front-toast-height":`${((ae=F[0])==null?void 0:ae.height)||0}px`,"--width":`${cE}px`,"--gap":`${w}px`,...m,...gE(u,c)},onBlur:U=>{W.current&&!U.currentTarget.contains(U.relatedTarget)&&(W.current=!1,P.current&&(P.current.focus({preventScroll:!0}),P.current=null))},onFocus:U=>{U.target instanceof HTMLElement&&U.target.dataset.dismissible==="false"||W.current||(W.current=!0,P.current=U.relatedTarget)},onMouseEnter:()=>M(!0),onMouseMove:()=>M(!0),onMouseLeave:()=>{z||M(!1)},onDragEnd:()=>M(!1),onPointerDown:U=>{U.target instanceof HTMLElement&&U.target.dataset.dismissible==="false"||O(!0)},onPointerUp:()=>O(!1)},j.filter(U=>!U.position&&ie===0||U.position===ne).map((U,Se)=>{var Me,we;return I.createElement(mE,{key:U.id,icons:v,index:Se,toast:U,defaultRichColors:h,duration:(Me=g==null?void 0:g.duration)!=null?Me:y,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:n,visibleToasts:b,closeButton:(we=g==null?void 0:g.closeButton)!=null?we:o,interacting:z,position:ne,style:g==null?void 0:g.style,unstyled:g==null?void 0:g.unstyled,classNames:g==null?void 0:g.classNames,cancelButtonStyle:g==null?void 0:g.cancelButtonStyle,actionButtonStyle:g==null?void 0:g.actionButtonStyle,removeToast:se,toasts:j.filter(ye=>ye.position==U.position),heights:F.filter(ye=>ye.position==U.position),setHeights:D,expandByDefault:a,gap:w,loadingIcon:p,expanded:G,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))});const vE=({...e})=>{const{theme:t="system"}=Wj();return l.jsx(yE,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var wE=vf[" useId ".trim().toString()]||(()=>{}),xE=0;function pr(e){const[t,n]=d.useState(wE());return lt(()=>{n(r=>r??String(xE++))},[e]),t?`radix-${t}`:""}const bE=["top","right","bottom","left"],as=Math.min,Bt=Math.max,Vl=Math.round,Ui=Math.floor,Un=e=>({x:e,y:e}),kE={left:"right",right:"left",bottom:"top",top:"bottom"},SE={start:"end",end:"start"};function Vd(e,t,n){return Bt(e,as(t,n))}function xr(e,t){return typeof e=="function"?e(t):e}function br(e){return e.split("-")[0]}function Ja(e){return e.split("-")[1]}function gh(e){return e==="x"?"y":"x"}function yh(e){return e==="y"?"height":"width"}const CE=new Set(["top","bottom"]);function zn(e){return CE.has(br(e))?"y":"x"}function vh(e){return gh(zn(e))}function NE(e,t,n){n===void 0&&(n=!1);const r=Ja(e),s=vh(e),a=yh(s);let o=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=Wl(o)),[o,Wl(o)]}function jE(e){const t=Wl(e);return[Wd(e),t,Wd(t)]}function Wd(e){return e.replace(/start|end/g,t=>SE[t])}const Tm=["left","right"],Rm=["right","left"],EE=["top","bottom"],IE=["bottom","top"];function _E(e,t,n){switch(e){case"top":case"bottom":return n?t?Rm:Tm:t?Tm:Rm;case"left":case"right":return t?EE:IE;default:return[]}}function TE(e,t,n,r){const s=Ja(e);let a=_E(br(e),n==="start",r);return s&&(a=a.map(o=>o+"-"+s),t&&(a=a.concat(a.map(Wd)))),a}function Wl(e){return e.replace(/left|right|bottom|top/g,t=>kE[t])}function RE(e){return{top:0,right:0,bottom:0,left:0,...e}}function sx(e){return typeof e!="number"?RE(e):{top:e,right:e,bottom:e,left:e}}function Hl(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function Pm(e,t,n){let{reference:r,floating:s}=e;const a=zn(t),o=vh(t),i=yh(o),u=br(t),c=a==="y",f=r.x+r.width/2-s.width/2,h=r.y+r.height/2-s.height/2,y=r[i]/2-s[i]/2;let m;switch(u){case"top":m={x:f,y:r.y-s.height};break;case"bottom":m={x:f,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:h};break;case"left":m={x:r.x-s.width,y:h};break;default:m={x:r.x,y:r.y}}switch(Ja(t)){case"start":m[o]-=y*(n&&c?-1:1);break;case"end":m[o]+=y*(n&&c?-1:1);break}return m}const PE=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:a=[],platform:o}=n,i=a.filter(Boolean),u=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:s}),{x:f,y:h}=Pm(c,r,u),y=r,m={},b=0;for(let g=0;g<i.length;g++){const{name:x,fn:w}=i[g],{x:p,y:v,data:k,reset:S}=await w({x:f,y:h,initialPlacement:r,placement:y,strategy:s,middlewareData:m,rects:c,platform:o,elements:{reference:e,floating:t}});f=p??f,h=v??h,m={...m,[x]:{...m[x],...k}},S&&b<=50&&(b++,typeof S=="object"&&(S.placement&&(y=S.placement),S.rects&&(c=S.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:s}):S.rects),{x:f,y:h}=Pm(c,y,u)),g=-1)}return{x:f,y:h,placement:y,strategy:s,middlewareData:m}};async function ti(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:a,rects:o,elements:i,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:y=!1,padding:m=0}=xr(t,e),b=sx(m),x=i[y?h==="floating"?"reference":"floating":h],w=Hl(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(x)))==null||n?x:x.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(i.floating)),boundary:c,rootBoundary:f,strategy:u})),p=h==="floating"?{x:r,y:s,width:o.floating.width,height:o.floating.height}:o.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(i.floating)),k=await(a.isElement==null?void 0:a.isElement(v))?await(a.getScale==null?void 0:a.getScale(v))||{x:1,y:1}:{x:1,y:1},S=Hl(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:p,offsetParent:v,strategy:u}):p);return{top:(w.top-S.top+b.top)/k.y,bottom:(S.bottom-w.bottom+b.bottom)/k.y,left:(w.left-S.left+b.left)/k.x,right:(S.right-w.right+b.right)/k.x}}const AE=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:a,platform:o,elements:i,middlewareData:u}=t,{element:c,padding:f=0}=xr(e,t)||{};if(c==null)return{};const h=sx(f),y={x:n,y:r},m=vh(s),b=yh(m),g=await o.getDimensions(c),x=m==="y",w=x?"top":"left",p=x?"bottom":"right",v=x?"clientHeight":"clientWidth",k=a.reference[b]+a.reference[m]-y[m]-a.floating[b],S=y[m]-a.reference[m],j=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let N=j?j[v]:0;(!N||!await(o.isElement==null?void 0:o.isElement(j)))&&(N=i.floating[v]||a.floating[b]);const _=k/2-S/2,F=N/2-g[b]/2-1,D=as(h[w],F),G=as(h[p],F),M=D,z=N-g[b]-G,O=N/2-g[b]/2+_,J=Vd(M,O,z),$=!u.arrow&&Ja(s)!=null&&O!==J&&a.reference[b]/2-(O<M?D:G)-g[b]/2<0,X=$?O<M?O-M:O-z:0;return{[m]:y[m]+X,data:{[m]:J,centerOffset:O-J-X,...$&&{alignmentOffset:X}},reset:$}}}),ME=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:a,rects:o,initialPlacement:i,platform:u,elements:c}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:y,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:g=!0,...x}=xr(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const w=br(s),p=zn(i),v=br(i)===i,k=await(u.isRTL==null?void 0:u.isRTL(c.floating)),S=y||(v||!g?[Wl(i)]:jE(i)),j=b!=="none";!y&&j&&S.push(...TE(i,g,b,k));const N=[i,...S],_=await ti(t,x),F=[];let D=((r=a.flip)==null?void 0:r.overflows)||[];if(f&&F.push(_[w]),h){const O=NE(s,o,k);F.push(_[O[0]],_[O[1]])}if(D=[...D,{placement:s,overflows:F}],!F.every(O=>O<=0)){var G,M;const O=(((G=a.flip)==null?void 0:G.index)||0)+1,J=N[O];if(J&&(!(h==="alignment"?p!==zn(J):!1)||D.every(T=>T.overflows[0]>0&&zn(T.placement)===p)))return{data:{index:O,overflows:D},reset:{placement:J}};let $=(M=D.filter(X=>X.overflows[0]<=0).sort((X,T)=>X.overflows[1]-T.overflows[1])[0])==null?void 0:M.placement;if(!$)switch(m){case"bestFit":{var z;const X=(z=D.filter(T=>{if(j){const P=zn(T.placement);return P===p||P==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(P=>P>0).reduce((P,W)=>P+W,0)]).sort((T,P)=>T[1]-P[1])[0])==null?void 0:z[0];X&&($=X);break}case"initialPlacement":$=i;break}if(s!==$)return{reset:{placement:$}}}return{}}}};function Am(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Mm(e){return bE.some(t=>e[t]>=0)}const OE=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...s}=xr(e,t);switch(r){case"referenceHidden":{const a=await ti(t,{...s,elementContext:"reference"}),o=Am(a,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Mm(o)}}}case"escaped":{const a=await ti(t,{...s,altBoundary:!0}),o=Am(a,n.floating);return{data:{escapedOffsets:o,escaped:Mm(o)}}}default:return{}}}}},ax=new Set(["left","top"]);async function FE(e,t){const{placement:n,platform:r,elements:s}=e,a=await(r.isRTL==null?void 0:r.isRTL(s.floating)),o=br(n),i=Ja(n),u=zn(n)==="y",c=ax.has(o)?-1:1,f=a&&u?-1:1,h=xr(t,e);let{mainAxis:y,crossAxis:m,alignmentAxis:b}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return i&&typeof b=="number"&&(m=i==="end"?b*-1:b),u?{x:m*f,y:y*c}:{x:y*c,y:m*f}}const DE=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:a,placement:o,middlewareData:i}=t,u=await FE(t,e);return o===((n=i.offset)==null?void 0:n.placement)&&(r=i.arrow)!=null&&r.alignmentOffset?{}:{x:s+u.x,y:a+u.y,data:{...u,placement:o}}}}},LE=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:i={fn:x=>{let{x:w,y:p}=x;return{x:w,y:p}}},...u}=xr(e,t),c={x:n,y:r},f=await ti(t,u),h=zn(br(s)),y=gh(h);let m=c[y],b=c[h];if(a){const x=y==="y"?"top":"left",w=y==="y"?"bottom":"right",p=m+f[x],v=m-f[w];m=Vd(p,m,v)}if(o){const x=h==="y"?"top":"left",w=h==="y"?"bottom":"right",p=b+f[x],v=b-f[w];b=Vd(p,b,v)}const g=i.fn({...t,[y]:m,[h]:b});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[y]:a,[h]:o}}}}}},qE=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:a,middlewareData:o}=t,{offset:i=0,mainAxis:u=!0,crossAxis:c=!0}=xr(e,t),f={x:n,y:r},h=zn(s),y=gh(h);let m=f[y],b=f[h];const g=xr(i,t),x=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(u){const v=y==="y"?"height":"width",k=a.reference[y]-a.floating[v]+x.mainAxis,S=a.reference[y]+a.reference[v]-x.mainAxis;m<k?m=k:m>S&&(m=S)}if(c){var w,p;const v=y==="y"?"width":"height",k=ax.has(br(s)),S=a.reference[h]-a.floating[v]+(k&&((w=o.offset)==null?void 0:w[h])||0)+(k?0:x.crossAxis),j=a.reference[h]+a.reference[v]+(k?0:((p=o.offset)==null?void 0:p[h])||0)-(k?x.crossAxis:0);b<S?b=S:b>j&&(b=j)}return{[y]:m,[h]:b}}}},BE=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:a,platform:o,elements:i}=t,{apply:u=()=>{},...c}=xr(e,t),f=await ti(t,c),h=br(s),y=Ja(s),m=zn(s)==="y",{width:b,height:g}=a.floating;let x,w;h==="top"||h==="bottom"?(x=h,w=y===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(w=h,x=y==="end"?"top":"bottom");const p=g-f.top-f.bottom,v=b-f.left-f.right,k=as(g-f[x],p),S=as(b-f[w],v),j=!t.middlewareData.shift;let N=k,_=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(_=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(N=p),j&&!y){const D=Bt(f.left,0),G=Bt(f.right,0),M=Bt(f.top,0),z=Bt(f.bottom,0);m?_=b-2*(D!==0||G!==0?D+G:Bt(f.left,f.right)):N=g-2*(M!==0||z!==0?M+z:Bt(f.top,f.bottom))}await u({...t,availableWidth:_,availableHeight:N});const F=await o.getDimensions(i.floating);return b!==F.width||g!==F.height?{reset:{rects:!0}}:{}}}};function Eu(){return typeof window<"u"}function Xa(e){return ox(e)?(e.nodeName||"").toLowerCase():"#document"}function Vt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Zn(e){var t;return(t=(ox(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ox(e){return Eu()?e instanceof Node||e instanceof Vt(e).Node:!1}function Sn(e){return Eu()?e instanceof Element||e instanceof Vt(e).Element:!1}function Gn(e){return Eu()?e instanceof HTMLElement||e instanceof Vt(e).HTMLElement:!1}function Om(e){return!Eu()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Vt(e).ShadowRoot}const $E=new Set(["inline","contents"]);function wi(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Cn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!$E.has(s)}const zE=new Set(["table","td","th"]);function VE(e){return zE.has(Xa(e))}const WE=[":popover-open",":modal"];function Iu(e){return WE.some(t=>{try{return e.matches(t)}catch{return!1}})}const HE=["transform","translate","scale","rotate","perspective"],UE=["transform","translate","scale","rotate","perspective","filter"],KE=["paint","layout","strict","content"];function wh(e){const t=xh(),n=Sn(e)?Cn(e):e;return HE.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||UE.some(r=>(n.willChange||"").includes(r))||KE.some(r=>(n.contain||"").includes(r))}function GE(e){let t=os(e);for(;Gn(t)&&!qa(t);){if(wh(t))return t;if(Iu(t))return null;t=os(t)}return null}function xh(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const ZE=new Set(["html","body","#document"]);function qa(e){return ZE.has(Xa(e))}function Cn(e){return Vt(e).getComputedStyle(e)}function _u(e){return Sn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function os(e){if(Xa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Om(e)&&e.host||Zn(e);return Om(t)?t.host:t}function ix(e){const t=os(e);return qa(t)?e.ownerDocument?e.ownerDocument.body:e.body:Gn(t)&&wi(t)?t:ix(t)}function ni(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=ix(e),a=s===((r=e.ownerDocument)==null?void 0:r.body),o=Vt(s);if(a){const i=Hd(o);return t.concat(o,o.visualViewport||[],wi(s)?s:[],i&&n?ni(i):[])}return t.concat(s,ni(s,[],n))}function Hd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function lx(e){const t=Cn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=Gn(e),a=s?e.offsetWidth:n,o=s?e.offsetHeight:r,i=Vl(n)!==a||Vl(r)!==o;return i&&(n=a,r=o),{width:n,height:r,$:i}}function bh(e){return Sn(e)?e:e.contextElement}function ba(e){const t=bh(e);if(!Gn(t))return Un(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:a}=lx(t);let o=(a?Vl(n.width):n.width)/r,i=(a?Vl(n.height):n.height)/s;return(!o||!Number.isFinite(o))&&(o=1),(!i||!Number.isFinite(i))&&(i=1),{x:o,y:i}}const QE=Un(0);function ux(e){const t=Vt(e);return!xh()||!t.visualViewport?QE:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function YE(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Vt(e)?!1:t}function Ds(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),a=bh(e);let o=Un(1);t&&(r?Sn(r)&&(o=ba(r)):o=ba(e));const i=YE(a,n,r)?ux(a):Un(0);let u=(s.left+i.x)/o.x,c=(s.top+i.y)/o.y,f=s.width/o.x,h=s.height/o.y;if(a){const y=Vt(a),m=r&&Sn(r)?Vt(r):r;let b=y,g=Hd(b);for(;g&&r&&m!==b;){const x=ba(g),w=g.getBoundingClientRect(),p=Cn(g),v=w.left+(g.clientLeft+parseFloat(p.paddingLeft))*x.x,k=w.top+(g.clientTop+parseFloat(p.paddingTop))*x.y;u*=x.x,c*=x.y,f*=x.x,h*=x.y,u+=v,c+=k,b=Vt(g),g=Hd(b)}}return Hl({width:f,height:h,x:u,y:c})}function kh(e,t){const n=_u(e).scrollLeft;return t?t.left+n:Ds(Zn(e)).left+n}function cx(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=r.left+t.scrollLeft-(n?0:kh(e,r)),a=r.top+t.scrollTop;return{x:s,y:a}}function JE(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const a=s==="fixed",o=Zn(r),i=t?Iu(t.floating):!1;if(r===o||i&&a)return n;let u={scrollLeft:0,scrollTop:0},c=Un(1);const f=Un(0),h=Gn(r);if((h||!h&&!a)&&((Xa(r)!=="body"||wi(o))&&(u=_u(r)),Gn(r))){const m=Ds(r);c=ba(r),f.x=m.x+r.clientLeft,f.y=m.y+r.clientTop}const y=o&&!h&&!a?cx(o,u,!0):Un(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+f.x+y.x,y:n.y*c.y-u.scrollTop*c.y+f.y+y.y}}function XE(e){return Array.from(e.getClientRects())}function e2(e){const t=Zn(e),n=_u(e),r=e.ownerDocument.body,s=Bt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Bt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+kh(e);const i=-n.scrollTop;return Cn(r).direction==="rtl"&&(o+=Bt(t.clientWidth,r.clientWidth)-s),{width:s,height:a,x:o,y:i}}function t2(e,t){const n=Vt(e),r=Zn(e),s=n.visualViewport;let a=r.clientWidth,o=r.clientHeight,i=0,u=0;if(s){a=s.width,o=s.height;const c=xh();(!c||c&&t==="fixed")&&(i=s.offsetLeft,u=s.offsetTop)}return{width:a,height:o,x:i,y:u}}const n2=new Set(["absolute","fixed"]);function r2(e,t){const n=Ds(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,a=Gn(e)?ba(e):Un(1),o=e.clientWidth*a.x,i=e.clientHeight*a.y,u=s*a.x,c=r*a.y;return{width:o,height:i,x:u,y:c}}function Fm(e,t,n){let r;if(t==="viewport")r=t2(e,n);else if(t==="document")r=e2(Zn(e));else if(Sn(t))r=r2(t,n);else{const s=ux(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Hl(r)}function dx(e,t){const n=os(e);return n===t||!Sn(n)||qa(n)?!1:Cn(n).position==="fixed"||dx(n,t)}function s2(e,t){const n=t.get(e);if(n)return n;let r=ni(e,[],!1).filter(i=>Sn(i)&&Xa(i)!=="body"),s=null;const a=Cn(e).position==="fixed";let o=a?os(e):e;for(;Sn(o)&&!qa(o);){const i=Cn(o),u=wh(o);!u&&i.position==="fixed"&&(s=null),(a?!u&&!s:!u&&i.position==="static"&&!!s&&n2.has(s.position)||wi(o)&&!u&&dx(e,o))?r=r.filter(f=>f!==o):s=i,o=os(o)}return t.set(e,r),r}function a2(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const o=[...n==="clippingAncestors"?Iu(t)?[]:s2(t,this._c):[].concat(n),r],i=o[0],u=o.reduce((c,f)=>{const h=Fm(t,f,s);return c.top=Bt(h.top,c.top),c.right=as(h.right,c.right),c.bottom=as(h.bottom,c.bottom),c.left=Bt(h.left,c.left),c},Fm(t,i,s));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function o2(e){const{width:t,height:n}=lx(e);return{width:t,height:n}}function i2(e,t,n){const r=Gn(t),s=Zn(t),a=n==="fixed",o=Ds(e,!0,a,t);let i={scrollLeft:0,scrollTop:0};const u=Un(0);function c(){u.x=kh(s)}if(r||!r&&!a)if((Xa(t)!=="body"||wi(s))&&(i=_u(t)),r){const m=Ds(t,!0,a,t);u.x=m.x+t.clientLeft,u.y=m.y+t.clientTop}else s&&c();a&&!r&&s&&c();const f=s&&!r&&!a?cx(s,i):Un(0),h=o.left+i.scrollLeft-u.x-f.x,y=o.top+i.scrollTop-u.y-f.y;return{x:h,y,width:o.width,height:o.height}}function _c(e){return Cn(e).position==="static"}function Dm(e,t){if(!Gn(e)||Cn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Zn(e)===n&&(n=n.ownerDocument.body),n}function fx(e,t){const n=Vt(e);if(Iu(e))return n;if(!Gn(e)){let s=os(e);for(;s&&!qa(s);){if(Sn(s)&&!_c(s))return s;s=os(s)}return n}let r=Dm(e,t);for(;r&&VE(r)&&_c(r);)r=Dm(r,t);return r&&qa(r)&&_c(r)&&!wh(r)?n:r||GE(e)||n}const l2=async function(e){const t=this.getOffsetParent||fx,n=this.getDimensions,r=await n(e.floating);return{reference:i2(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function u2(e){return Cn(e).direction==="rtl"}const c2={convertOffsetParentRelativeRectToViewportRelativeRect:JE,getDocumentElement:Zn,getClippingRect:a2,getOffsetParent:fx,getElementRects:l2,getClientRects:XE,getDimensions:o2,getScale:ba,isElement:Sn,isRTL:u2};function hx(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function d2(e,t){let n=null,r;const s=Zn(e);function a(){var i;clearTimeout(r),(i=n)==null||i.disconnect(),n=null}function o(i,u){i===void 0&&(i=!1),u===void 0&&(u=1),a();const c=e.getBoundingClientRect(),{left:f,top:h,width:y,height:m}=c;if(i||t(),!y||!m)return;const b=Ui(h),g=Ui(s.clientWidth-(f+y)),x=Ui(s.clientHeight-(h+m)),w=Ui(f),v={rootMargin:-b+"px "+-g+"px "+-x+"px "+-w+"px",threshold:Bt(0,as(1,u))||1};let k=!0;function S(j){const N=j[0].intersectionRatio;if(N!==u){if(!k)return o();N?o(!1,N):r=setTimeout(()=>{o(!1,1e-7)},1e3)}N===1&&!hx(c,e.getBoundingClientRect())&&o(),k=!1}try{n=new IntersectionObserver(S,{...v,root:s.ownerDocument})}catch{n=new IntersectionObserver(S,v)}n.observe(e)}return o(!0),a}function f2(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,c=bh(e),f=s||a?[...c?ni(c):[],...ni(t)]:[];f.forEach(w=>{s&&w.addEventListener("scroll",n,{passive:!0}),a&&w.addEventListener("resize",n)});const h=c&&i?d2(c,n):null;let y=-1,m=null;o&&(m=new ResizeObserver(w=>{let[p]=w;p&&p.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var v;(v=m)==null||v.observe(t)})),n()}),c&&!u&&m.observe(c),m.observe(t));let b,g=u?Ds(e):null;u&&x();function x(){const w=Ds(e);g&&!hx(g,w)&&n(),g=w,b=requestAnimationFrame(x)}return n(),()=>{var w;f.forEach(p=>{s&&p.removeEventListener("scroll",n),a&&p.removeEventListener("resize",n)}),h==null||h(),(w=m)==null||w.disconnect(),m=null,u&&cancelAnimationFrame(b)}}const h2=DE,p2=LE,m2=ME,g2=BE,y2=OE,Lm=AE,v2=qE,w2=(e,t,n)=>{const r=new Map,s={platform:c2,...n},a={...s.platform,_c:r};return PE(e,t,{...s,platform:a})};var x2=typeof document<"u",b2=function(){},hl=x2?d.useLayoutEffect:b2;function Ul(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Ul(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const a=s[r];if(!(a==="_owner"&&e.$$typeof)&&!Ul(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function px(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function qm(e,t){const n=px(e);return Math.round(t*n)/n}function Tc(e){const t=d.useRef(e);return hl(()=>{t.current=e}),t}function k2(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:a,floating:o}={},transform:i=!0,whileElementsMounted:u,open:c}=e,[f,h]=d.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[y,m]=d.useState(r);Ul(y,r)||m(r);const[b,g]=d.useState(null),[x,w]=d.useState(null),p=d.useCallback(T=>{T!==j.current&&(j.current=T,g(T))},[]),v=d.useCallback(T=>{T!==N.current&&(N.current=T,w(T))},[]),k=a||b,S=o||x,j=d.useRef(null),N=d.useRef(null),_=d.useRef(f),F=u!=null,D=Tc(u),G=Tc(s),M=Tc(c),z=d.useCallback(()=>{if(!j.current||!N.current)return;const T={placement:t,strategy:n,middleware:y};G.current&&(T.platform=G.current),w2(j.current,N.current,T).then(P=>{const W={...P,isPositioned:M.current!==!1};O.current&&!Ul(_.current,W)&&(_.current=W,Ws.flushSync(()=>{h(W)}))})},[y,t,n,G,M]);hl(()=>{c===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,h(T=>({...T,isPositioned:!1})))},[c]);const O=d.useRef(!1);hl(()=>(O.current=!0,()=>{O.current=!1}),[]),hl(()=>{if(k&&(j.current=k),S&&(N.current=S),k&&S){if(D.current)return D.current(k,S,z);z()}},[k,S,z,D,F]);const J=d.useMemo(()=>({reference:j,floating:N,setReference:p,setFloating:v}),[p,v]),$=d.useMemo(()=>({reference:k,floating:S}),[k,S]),X=d.useMemo(()=>{const T={position:n,left:0,top:0};if(!$.floating)return T;const P=qm($.floating,f.x),W=qm($.floating,f.y);return i?{...T,transform:"translate("+P+"px, "+W+"px)",...px($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:P,top:W}},[n,i,$.floating,f.x,f.y]);return d.useMemo(()=>({...f,update:z,refs:J,elements:$,floatingStyles:X}),[f,z,J,$,X])}const S2=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Lm({element:r.current,padding:s}).fn(n):{}:r?Lm({element:r,padding:s}).fn(n):{}}}},C2=(e,t)=>({...h2(e),options:[e,t]}),N2=(e,t)=>({...p2(e),options:[e,t]}),j2=(e,t)=>({...v2(e),options:[e,t]}),E2=(e,t)=>({...m2(e),options:[e,t]}),I2=(e,t)=>({...g2(e),options:[e,t]}),_2=(e,t)=>({...y2(e),options:[e,t]}),T2=(e,t)=>({...S2(e),options:[e,t]});var R2="Arrow",mx=d.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...a}=e;return l.jsx(oe.svg,{...a,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});mx.displayName=R2;var P2=mx;function gx(e){const[t,n]=d.useState(void 0);return lt(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const a=s[0];let o,i;if("borderBoxSize"in a){const u=a.borderBoxSize,c=Array.isArray(u)?u[0]:u;o=c.inlineSize,i=c.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Sh="Popper",[yx,Tu]=En(Sh),[A2,vx]=yx(Sh),wx=e=>{const{__scopePopper:t,children:n}=e,[r,s]=d.useState(null);return l.jsx(A2,{scope:t,anchor:r,onAnchorChange:s,children:n})};wx.displayName=Sh;var xx="PopperAnchor",bx=d.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,a=vx(xx,n),o=d.useRef(null),i=je(t,o);return d.useEffect(()=>{a.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:l.jsx(oe.div,{...s,ref:i})});bx.displayName=xx;var Ch="PopperContent",[M2,O2]=yx(Ch),kx=d.forwardRef((e,t)=>{var U,Se,Me,we,ye,xe;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:a="center",alignOffset:o=0,arrowPadding:i=0,avoidCollisions:u=!0,collisionBoundary:c=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:y=!1,updatePositionStrategy:m="optimized",onPlaced:b,...g}=e,x=vx(Ch,n),[w,p]=d.useState(null),v=je(t,st=>p(st)),[k,S]=d.useState(null),j=gx(k),N=(j==null?void 0:j.width)??0,_=(j==null?void 0:j.height)??0,F=r+(a!=="center"?"-"+a:""),D=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},G=Array.isArray(c)?c:[c],M=G.length>0,z={padding:D,boundary:G.filter(D2),altBoundary:M},{refs:O,floatingStyles:J,placement:$,isPositioned:X,middlewareData:T}=k2({strategy:"fixed",placement:F,whileElementsMounted:(...st)=>f2(...st,{animationFrame:m==="always"}),elements:{reference:x.anchor},middleware:[C2({mainAxis:s+_,alignmentAxis:o}),u&&N2({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?j2():void 0,...z}),u&&E2({...z}),I2({...z,apply:({elements:st,rects:vt,availableWidth:Tn,availableHeight:Rn})=>{const{width:Jn,height:Ks}=vt.reference,Xn=st.floating.style;Xn.setProperty("--radix-popper-available-width",`${Tn}px`),Xn.setProperty("--radix-popper-available-height",`${Rn}px`),Xn.setProperty("--radix-popper-anchor-width",`${Jn}px`),Xn.setProperty("--radix-popper-anchor-height",`${Ks}px`)}}),k&&T2({element:k,padding:i}),L2({arrowWidth:N,arrowHeight:_}),y&&_2({strategy:"referenceHidden",...z})]}),[P,W]=Nx($),se=rn(b);lt(()=>{X&&(se==null||se())},[X,se]);const ne=(U=T.arrow)==null?void 0:U.x,ie=(Se=T.arrow)==null?void 0:Se.y,ae=((Me=T.arrow)==null?void 0:Me.centerOffset)!==0,[Te,Be]=d.useState();return lt(()=>{w&&Be(window.getComputedStyle(w).zIndex)},[w]),l.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...J,transform:X?J.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Te,"--radix-popper-transform-origin":[(we=T.transformOrigin)==null?void 0:we.x,(ye=T.transformOrigin)==null?void 0:ye.y].join(" "),...((xe=T.hide)==null?void 0:xe.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(M2,{scope:n,placedSide:P,onArrowChange:S,arrowX:ne,arrowY:ie,shouldHideArrow:ae,children:l.jsx(oe.div,{"data-side":P,"data-align":W,...g,ref:v,style:{...g.style,animation:X?void 0:"none"}})})})});kx.displayName=Ch;var Sx="PopperArrow",F2={top:"bottom",right:"left",bottom:"top",left:"right"},Cx=d.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,a=O2(Sx,r),o=F2[a.placedSide];return l.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:l.jsx(P2,{...s,ref:n,style:{...s.style,display:"block"}})})});Cx.displayName=Sx;function D2(e){return e!==null}var L2=e=>({name:"transformOrigin",options:e,fn(t){var x,w,p;const{placement:n,rects:r,middlewareData:s}=t,o=((x=s.arrow)==null?void 0:x.centerOffset)!==0,i=o?0:e.arrowWidth,u=o?0:e.arrowHeight,[c,f]=Nx(n),h={start:"0%",center:"50%",end:"100%"}[f],y=(((w=s.arrow)==null?void 0:w.x)??0)+i/2,m=(((p=s.arrow)==null?void 0:p.y)??0)+u/2;let b="",g="";return c==="bottom"?(b=o?h:`${y}px`,g=`${-u}px`):c==="top"?(b=o?h:`${y}px`,g=`${r.floating.height+u}px`):c==="right"?(b=`${-u}px`,g=o?h:`${m}px`):c==="left"&&(b=`${r.floating.width+u}px`,g=o?h:`${m}px`),{data:{x:b,y:g}}}});function Nx(e){const[t,n="center"]=e.split("-");return[t,n]}var q2=wx,jx=bx,Ex=kx,Ix=Cx,[Ru,DP]=En("Tooltip",[Tu]),Nh=Tu(),_x="TooltipProvider",B2=700,Bm="tooltip.open",[$2,Tx]=Ru(_x),Rx=e=>{const{__scopeTooltip:t,delayDuration:n=B2,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:a}=e,o=d.useRef(!0),i=d.useRef(!1),u=d.useRef(0);return d.useEffect(()=>{const c=u.current;return()=>window.clearTimeout(c)},[]),l.jsx($2,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:d.useCallback(()=>{window.clearTimeout(u.current),o.current=!1},[]),onClose:d.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:i,onPointerInTransitChange:d.useCallback(c=>{i.current=c},[]),disableHoverableContent:s,children:a})};Rx.displayName=_x;var Px="Tooltip",[LP,Pu]=Ru(Px),Ud="TooltipTrigger",z2=d.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=Pu(Ud,n),a=Tx(Ud,n),o=Nh(n),i=d.useRef(null),u=je(t,i,s.onTriggerChange),c=d.useRef(!1),f=d.useRef(!1),h=d.useCallback(()=>c.current=!1,[]);return d.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),l.jsx(jx,{asChild:!0,...o,children:l.jsx(oe.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:u,onPointerMove:re(e.onPointerMove,y=>{y.pointerType!=="touch"&&!f.current&&!a.isPointerInTransitRef.current&&(s.onTriggerEnter(),f.current=!0)}),onPointerLeave:re(e.onPointerLeave,()=>{s.onTriggerLeave(),f.current=!1}),onPointerDown:re(e.onPointerDown,()=>{s.open&&s.onClose(),c.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:re(e.onFocus,()=>{c.current||s.onOpen()}),onBlur:re(e.onBlur,s.onClose),onClick:re(e.onClick,s.onClose)})})});z2.displayName=Ud;var V2="TooltipPortal",[qP,W2]=Ru(V2,{forceMount:void 0}),Ba="TooltipContent",Ax=d.forwardRef((e,t)=>{const n=W2(Ba,e.__scopeTooltip),{forceMount:r=n.forceMount,side:s="top",...a}=e,o=Pu(Ba,e.__scopeTooltip);return l.jsx(fs,{present:r||o.open,children:o.disableHoverableContent?l.jsx(Mx,{side:s,...a,ref:t}):l.jsx(H2,{side:s,...a,ref:t})})}),H2=d.forwardRef((e,t)=>{const n=Pu(Ba,e.__scopeTooltip),r=Tx(Ba,e.__scopeTooltip),s=d.useRef(null),a=je(t,s),[o,i]=d.useState(null),{trigger:u,onClose:c}=n,f=s.current,{onPointerInTransitChange:h}=r,y=d.useCallback(()=>{i(null),h(!1)},[h]),m=d.useCallback((b,g)=>{const x=b.currentTarget,w={x:b.clientX,y:b.clientY},p=Q2(w,x.getBoundingClientRect()),v=Y2(w,p),k=J2(g.getBoundingClientRect()),S=eI([...v,...k]);i(S),h(!0)},[h]);return d.useEffect(()=>()=>y(),[y]),d.useEffect(()=>{if(u&&f){const b=x=>m(x,f),g=x=>m(x,u);return u.addEventListener("pointerleave",b),f.addEventListener("pointerleave",g),()=>{u.removeEventListener("pointerleave",b),f.removeEventListener("pointerleave",g)}}},[u,f,m,y]),d.useEffect(()=>{if(o){const b=g=>{const x=g.target,w={x:g.clientX,y:g.clientY},p=(u==null?void 0:u.contains(x))||(f==null?void 0:f.contains(x)),v=!X2(w,o);p?y():v&&(y(),c())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[u,f,o,c,y]),l.jsx(Mx,{...e,ref:a})}),[U2,K2]=Ru(Px,{isInside:!1}),G2=uN("TooltipContent"),Mx=d.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":s,onEscapeKeyDown:a,onPointerDownOutside:o,...i}=e,u=Pu(Ba,n),c=Nh(n),{onClose:f}=u;return d.useEffect(()=>(document.addEventListener(Bm,f),()=>document.removeEventListener(Bm,f)),[f]),d.useEffect(()=>{if(u.trigger){const h=y=>{const m=y.target;m!=null&&m.contains(u.trigger)&&f()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[u.trigger,f]),l.jsx(gi,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:h=>h.preventDefault(),onDismiss:f,children:l.jsxs(Ex,{"data-state":u.stateAttribute,...c,...i,ref:t,style:{...i.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(G2,{children:r}),l.jsx(U2,{scope:n,isInside:!0,children:l.jsx(RN,{id:u.contentId,role:"tooltip",children:s||r})})]})})});Ax.displayName=Ba;var Ox="TooltipArrow",Z2=d.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=Nh(n);return K2(Ox,n).isInside?null:l.jsx(Ix,{...s,...r,ref:t})});Z2.displayName=Ox;function Q2(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,s,a)){case a:return"left";case s:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Y2(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function J2(e){const{top:t,right:n,bottom:r,left:s}=e;return[{x:s,y:t},{x:n,y:t},{x:n,y:r},{x:s,y:r}]}function X2(e,t){const{x:n,y:r}=e;let s=!1;for(let a=0,o=t.length-1;a<t.length;o=a++){const i=t[a],u=t[o],c=i.x,f=i.y,h=u.x,y=u.y;f>r!=y>r&&n<(h-c)*(r-f)/(y-f)+c&&(s=!s)}return s}function eI(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),tI(t)}function tI(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const s=e[r];for(;t.length>=2;){const a=t[t.length-1],o=t[t.length-2];if((a.x-o.x)*(s.y-o.y)>=(a.y-o.y)*(s.x-o.x))t.pop();else break}t.push(s)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const s=e[r];for(;n.length>=2;){const a=n[n.length-1],o=n[n.length-2];if((a.x-o.x)*(s.y-o.y)>=(a.y-o.y)*(s.x-o.x))n.pop();else break}n.push(s)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var nI=Rx,Fx=Ax;const rI=nI,sI=d.forwardRef(({className:e,sideOffset:t=4,...n},r)=>l.jsx(Fx,{ref:r,sideOffset:t,className:he("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md 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",e),...n}));sI.displayName=Fx.displayName;var Au=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(){}},Mu=typeof window>"u"||"Deno"in globalThis;function hn(){}function aI(e,t){return typeof e=="function"?e(t):e}function oI(e){return typeof e=="number"&&e>=0&&e!==1/0}function iI(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Kd(e,t){return typeof e=="function"?e(t):e}function lI(e,t){return typeof e=="function"?e(t):e}function $m(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:a,queryKey:o,stale:i}=e;if(o){if(r){if(t.queryHash!==jh(o,t.options))return!1}else if(!si(t.queryKey,o))return!1}if(n!=="all"){const u=t.isActive();if(n==="active"&&!u||n==="inactive"&&u)return!1}return!(typeof i=="boolean"&&t.isStale()!==i||s&&s!==t.state.fetchStatus||a&&!a(t))}function zm(e,t){const{exact:n,status:r,predicate:s,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(ri(t.options.mutationKey)!==ri(a))return!1}else if(!si(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function jh(e,t){return((t==null?void 0:t.queryKeyHashFn)||ri)(e)}function ri(e){return JSON.stringify(e,(t,n)=>Gd(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function si(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>si(e[n],t[n])):!1}function Dx(e,t){if(e===t)return e;const n=Vm(e)&&Vm(t);if(n||Gd(e)&&Gd(t)){const r=n?e:Object.keys(e),s=r.length,a=n?t:Object.keys(t),o=a.length,i=n?[]:{},u=new Set(r);let c=0;for(let f=0;f<o;f++){const h=n?f:a[f];(!n&&u.has(h)||n)&&e[h]===void 0&&t[h]===void 0?(i[h]=void 0,c++):(i[h]=Dx(e[h],t[h]),i[h]===e[h]&&e[h]!==void 0&&c++)}return s===o&&c===s?e:i}return t}function Vm(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Gd(e){if(!Wm(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Wm(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Wm(e){return Object.prototype.toString.call(e)==="[object Object]"}function uI(e){return new Promise(t=>{setTimeout(t,e)})}function cI(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Dx(e,t):t}function dI(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function fI(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Eh=Symbol();function Lx(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Eh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Ss,Lr,Sa,Fg,hI=(Fg=class extends Au{constructor(){super();Ce(this,Ss);Ce(this,Lr);Ce(this,Sa);de(this,Sa,t=>{if(!Mu&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){A(this,Lr)||this.setEventListener(A(this,Sa))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,Lr))==null||t.call(this),de(this,Lr,void 0))}setEventListener(t){var n;de(this,Sa,t),(n=A(this,Lr))==null||n.call(this),de(this,Lr,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){A(this,Ss)!==t&&(de(this,Ss,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof A(this,Ss)=="boolean"?A(this,Ss):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Ss=new WeakMap,Lr=new WeakMap,Sa=new WeakMap,Fg),qx=new hI,Ca,qr,Na,Dg,pI=(Dg=class extends Au{constructor(){super();Ce(this,Ca,!0);Ce(this,qr);Ce(this,Na);de(this,Na,t=>{if(!Mu&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){A(this,qr)||this.setEventListener(A(this,Na))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,qr))==null||t.call(this),de(this,qr,void 0))}setEventListener(t){var n;de(this,Na,t),(n=A(this,qr))==null||n.call(this),de(this,qr,t(this.setOnline.bind(this)))}setOnline(t){A(this,Ca)!==t&&(de(this,Ca,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return A(this,Ca)}},Ca=new WeakMap,qr=new WeakMap,Na=new WeakMap,Dg),Kl=new pI;function mI(){let e,t;const n=new Promise((s,a)=>{e=s,t=a});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}function gI(e){return Math.min(1e3*2**e,3e4)}function Bx(e){return(e??"online")==="online"?Kl.isOnline():!0}var $x=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Rc(e){return e instanceof $x}function zx(e){let t=!1,n=0,r=!1,s;const a=mI(),o=g=>{var x;r||(y(new $x(g)),(x=e.abort)==null||x.call(e))},i=()=>{t=!0},u=()=>{t=!1},c=()=>qx.isFocused()&&(e.networkMode==="always"||Kl.isOnline())&&e.canRun(),f=()=>Bx(e.networkMode)&&e.canRun(),h=g=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,g),s==null||s(),a.resolve(g))},y=g=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,g),s==null||s(),a.reject(g))},m=()=>new Promise(g=>{var x;s=w=>{(r||c())&&g(w)},(x=e.onPause)==null||x.call(e)}).then(()=>{var g;s=void 0,r||(g=e.onContinue)==null||g.call(e)}),b=()=>{if(r)return;let g;const x=n===0?e.initialPromise:void 0;try{g=x??e.fn()}catch(w){g=Promise.reject(w)}Promise.resolve(g).then(h).catch(w=>{var j;if(r)return;const p=e.retry??(Mu?0:3),v=e.retryDelay??gI,k=typeof v=="function"?v(n,w):v,S=p===!0||typeof p=="number"&&n<p||typeof p=="function"&&p(n,w);if(t||!S){y(w);return}n++,(j=e.onFail)==null||j.call(e,n,w),uI(k).then(()=>c()?void 0:m()).then(()=>{t?y(w):b()})})};return{promise:a,cancel:o,continue:()=>(s==null||s(),a),cancelRetry:i,continueRetry:u,canStart:f,start:()=>(f()?b():m().then(b),a)}}var yI=e=>setTimeout(e,0);function vI(){let e=[],t=0,n=i=>{i()},r=i=>{i()},s=yI;const a=i=>{t?e.push(i):s(()=>{n(i)})},o=()=>{const i=e;e=[],i.length&&s(()=>{r(()=>{i.forEach(u=>{n(u)})})})};return{batch:i=>{let u;t++;try{u=i()}finally{t--,t||o()}return u},batchCalls:i=>(...u)=>{a(()=>{i(...u)})},schedule:a,setNotifyFunction:i=>{n=i},setBatchNotifyFunction:i=>{r=i},setScheduler:i=>{s=i}}}var kt=vI(),Cs,Lg,Vx=(Lg=class{constructor(){Ce(this,Cs)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),oI(this.gcTime)&&de(this,Cs,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Mu?1/0:5*60*1e3))}clearGcTimeout(){A(this,Cs)&&(clearTimeout(A(this,Cs)),de(this,Cs,void 0))}},Cs=new WeakMap,Lg),ja,Ns,Qt,js,mt,li,Es,pn,sr,qg,wI=(qg=class extends Vx{constructor(t){super();Ce(this,pn);Ce(this,ja);Ce(this,Ns);Ce(this,Qt);Ce(this,js);Ce(this,mt);Ce(this,li);Ce(this,Es);de(this,Es,!1),de(this,li,t.defaultOptions),this.setOptions(t.options),this.observers=[],de(this,js,t.client),de(this,Qt,A(this,js).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,de(this,ja,bI(this.options)),this.state=t.state??A(this,ja),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=A(this,mt))==null?void 0:t.promise}setOptions(t){this.options={...A(this,li),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&A(this,Qt).remove(this)}setData(t,n){const r=cI(this.state.data,t,this.options);return ft(this,pn,sr).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){ft(this,pn,sr).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=A(this,mt))==null?void 0:r.promise;return(s=A(this,mt))==null||s.cancel(t),n?n.then(hn).catch(hn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(A(this,ja))}isActive(){return this.observers.some(t=>lI(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Eh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Kd(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:!iI(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,mt))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,mt))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),A(this,Qt).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,mt)&&(A(this,Es)?A(this,mt).cancel({revert:!0}):A(this,mt).cancelRetry()),this.scheduleGc()),A(this,Qt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ft(this,pn,sr).call(this,{type:"invalidate"})}fetch(t,n){var c,f,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(A(this,mt))return A(this,mt).continueRetry(),A(this,mt).promise}if(t&&this.setOptions(t),!this.options.queryFn){const y=this.observers.find(m=>m.options.queryFn);y&&this.setOptions(y.options)}const r=new AbortController,s=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(de(this,Es,!0),r.signal)})},a=()=>{const y=Lx(this.options,n),b=(()=>{const g={client:A(this,js),queryKey:this.queryKey,meta:this.meta};return s(g),g})();return de(this,Es,!1),this.options.persister?this.options.persister(y,b,this):y(b)},i=(()=>{const y={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:A(this,js),state:this.state,fetchFn:a};return s(y),y})();(c=this.options.behavior)==null||c.onFetch(i,this),de(this,Ns,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((f=i.fetchOptions)==null?void 0:f.meta))&&ft(this,pn,sr).call(this,{type:"fetch",meta:(h=i.fetchOptions)==null?void 0:h.meta});const u=y=>{var m,b,g,x;Rc(y)&&y.silent||ft(this,pn,sr).call(this,{type:"error",error:y}),Rc(y)||((b=(m=A(this,Qt).config).onError)==null||b.call(m,y,this),(x=(g=A(this,Qt).config).onSettled)==null||x.call(g,this.state.data,y,this)),this.scheduleGc()};return de(this,mt,zx({initialPromise:n==null?void 0:n.initialPromise,fn:i.fetchFn,abort:r.abort.bind(r),onSuccess:y=>{var m,b,g,x;if(y===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(y)}catch(w){u(w);return}(b=(m=A(this,Qt).config).onSuccess)==null||b.call(m,y,this),(x=(g=A(this,Qt).config).onSettled)==null||x.call(g,y,this.state.error,this),this.scheduleGc()},onError:u,onFail:(y,m)=>{ft(this,pn,sr).call(this,{type:"failed",failureCount:y,error:m})},onPause:()=>{ft(this,pn,sr).call(this,{type:"pause"})},onContinue:()=>{ft(this,pn,sr).call(this,{type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0})),A(this,mt).start()}},ja=new WeakMap,Ns=new WeakMap,Qt=new WeakMap,js=new WeakMap,mt=new WeakMap,li=new WeakMap,Es=new WeakMap,pn=new WeakSet,sr=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...xI(r.data,this.options),fetchMeta:t.meta??null};case"success":return de(this,Ns,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=t.error;return Rc(s)&&s.revert&&A(this,Ns)?{...A(this,Ns),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),kt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),A(this,Qt).notify({query:this,type:"updated",action:t})})},qg);function xI(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Bx(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function bI(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Dn,Bg,kI=(Bg=class extends Au{constructor(t={}){super();Ce(this,Dn);this.config=t,de(this,Dn,new Map)}build(t,n,r){const s=n.queryKey,a=n.queryHash??jh(s,n);let o=this.get(a);return o||(o=new wI({client:t,queryKey:s,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(o)),o}add(t){A(this,Dn).has(t.queryHash)||(A(this,Dn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=A(this,Dn).get(t.queryHash);n&&(t.destroy(),n===t&&A(this,Dn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){kt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return A(this,Dn).get(t)}getAll(){return[...A(this,Dn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>$m(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>$m(t,r)):n}notify(t){kt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){kt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){kt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Dn=new WeakMap,Bg),Ln,wt,Is,qn,Rr,$g,SI=($g=class extends Vx{constructor(t){super();Ce(this,qn);Ce(this,Ln);Ce(this,wt);Ce(this,Is);this.mutationId=t.mutationId,de(this,wt,t.mutationCache),de(this,Ln,[]),this.state=t.state||CI(),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,Ln).includes(t)||(A(this,Ln).push(t),this.clearGcTimeout(),A(this,wt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){de(this,Ln,A(this,Ln).filter(n=>n!==t)),this.scheduleGc(),A(this,wt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){A(this,Ln).length||(this.state.status==="pending"?this.scheduleGc():A(this,wt).remove(this))}continue(){var t;return((t=A(this,Is))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var a,o,i,u,c,f,h,y,m,b,g,x,w,p,v,k,S,j,N,_;const n=()=>{ft(this,qn,Rr).call(this,{type:"continue"})};de(this,Is,zx({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(F,D)=>{ft(this,qn,Rr).call(this,{type:"failed",failureCount:F,error:D})},onPause:()=>{ft(this,qn,Rr).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>A(this,wt).canRun(this)}));const r=this.state.status==="pending",s=!A(this,Is).canStart();try{if(r)n();else{ft(this,qn,Rr).call(this,{type:"pending",variables:t,isPaused:s}),await((o=(a=A(this,wt).config).onMutate)==null?void 0:o.call(a,t,this));const D=await((u=(i=this.options).onMutate)==null?void 0:u.call(i,t));D!==this.state.context&&ft(this,qn,Rr).call(this,{type:"pending",context:D,variables:t,isPaused:s})}const F=await A(this,Is).start();return await((f=(c=A(this,wt).config).onSuccess)==null?void 0:f.call(c,F,t,this.state.context,this)),await((y=(h=this.options).onSuccess)==null?void 0:y.call(h,F,t,this.state.context)),await((b=(m=A(this,wt).config).onSettled)==null?void 0:b.call(m,F,null,this.state.variables,this.state.context,this)),await((x=(g=this.options).onSettled)==null?void 0:x.call(g,F,null,t,this.state.context)),ft(this,qn,Rr).call(this,{type:"success",data:F}),F}catch(F){try{throw await((p=(w=A(this,wt).config).onError)==null?void 0:p.call(w,F,t,this.state.context,this)),await((k=(v=this.options).onError)==null?void 0:k.call(v,F,t,this.state.context)),await((j=(S=A(this,wt).config).onSettled)==null?void 0:j.call(S,void 0,F,this.state.variables,this.state.context,this)),await((_=(N=this.options).onSettled)==null?void 0:_.call(N,void 0,F,t,this.state.context)),F}finally{ft(this,qn,Rr).call(this,{type:"error",error:F})}}finally{A(this,wt).runNext(this)}}},Ln=new WeakMap,wt=new WeakMap,Is=new WeakMap,qn=new WeakSet,Rr=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),kt.batch(()=>{A(this,Ln).forEach(r=>{r.onMutationUpdate(t)}),A(this,wt).notify({mutation:this,type:"updated",action:t})})},$g);function CI(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var lr,mn,ui,zg,NI=(zg=class extends Au{constructor(t={}){super();Ce(this,lr);Ce(this,mn);Ce(this,ui);this.config=t,de(this,lr,new Set),de(this,mn,new Map),de(this,ui,0)}build(t,n,r){const s=new SI({mutationCache:this,mutationId:++Ni(this,ui)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){A(this,lr).add(t);const n=Ki(t);if(typeof n=="string"){const r=A(this,mn).get(n);r?r.push(t):A(this,mn).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(A(this,lr).delete(t)){const n=Ki(t);if(typeof n=="string"){const r=A(this,mn).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&A(this,mn).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Ki(t);if(typeof n=="string"){const r=A(this,mn).get(n),s=r==null?void 0:r.find(a=>a.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=Ki(t);if(typeof n=="string"){const s=(r=A(this,mn).get(n))==null?void 0:r.find(a=>a!==t&&a.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){kt.batch(()=>{A(this,lr).forEach(t=>{this.notify({type:"removed",mutation:t})}),A(this,lr).clear(),A(this,mn).clear()})}getAll(){return Array.from(A(this,lr))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>zm(n,r))}findAll(t={}){return this.getAll().filter(n=>zm(t,n))}notify(t){kt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return kt.batch(()=>Promise.all(t.map(n=>n.continue().catch(hn))))}},lr=new WeakMap,mn=new WeakMap,ui=new WeakMap,zg);function Ki(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Hm(e){return{onFetch:(t,n)=>{var f,h,y,m,b;const r=t.options,s=(y=(h=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:h.fetchMore)==null?void 0:y.direction,a=((m=t.state.data)==null?void 0:m.pages)||[],o=((b=t.state.data)==null?void 0:b.pageParams)||[];let i={pages:[],pageParams:[]},u=0;const c=async()=>{let g=!1;const x=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},w=Lx(t.options,t.fetchOptions),p=async(v,k,S)=>{if(g)return Promise.reject();if(k==null&&v.pages.length)return Promise.resolve(v);const N=(()=>{const G={client:t.client,queryKey:t.queryKey,pageParam:k,direction:S?"backward":"forward",meta:t.options.meta};return x(G),G})(),_=await w(N),{maxPages:F}=t.options,D=S?fI:dI;return{pages:D(v.pages,_,F),pageParams:D(v.pageParams,k,F)}};if(s&&a.length){const v=s==="backward",k=v?jI:Um,S={pages:a,pageParams:o},j=k(r,S);i=await p(S,j,v)}else{const v=e??a.length;do{const k=u===0?o[0]??r.initialPageParam:Um(r,i);if(u>0&&k==null)break;i=await p(i,k),u++}while(u<v)}return i};t.options.persister?t.fetchFn=()=>{var g,x;return(x=(g=t.options).persister)==null?void 0:x.call(g,c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function Um(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function jI(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Ue,Br,$r,Ea,Ia,zr,_a,Ta,Vg,EI=(Vg=class{constructor(e={}){Ce(this,Ue);Ce(this,Br);Ce(this,$r);Ce(this,Ea);Ce(this,Ia);Ce(this,zr);Ce(this,_a);Ce(this,Ta);de(this,Ue,e.queryCache||new kI),de(this,Br,e.mutationCache||new NI),de(this,$r,e.defaultOptions||{}),de(this,Ea,new Map),de(this,Ia,new Map),de(this,zr,0)}mount(){Ni(this,zr)._++,A(this,zr)===1&&(de(this,_a,qx.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,Ue).onFocus())})),de(this,Ta,Kl.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,Ue).onOnline())})))}unmount(){var e,t;Ni(this,zr)._--,A(this,zr)===0&&((e=A(this,_a))==null||e.call(this),de(this,_a,void 0),(t=A(this,Ta))==null||t.call(this),de(this,Ta,void 0))}isFetching(e){return A(this,Ue).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return A(this,Br).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,Ue).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=A(this,Ue).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Kd(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return A(this,Ue).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=A(this,Ue).get(r.queryHash),a=s==null?void 0:s.state.data,o=aI(t,a);if(o!==void 0)return A(this,Ue).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return kt.batch(()=>A(this,Ue).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,Ue).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=A(this,Ue);kt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=A(this,Ue);return kt.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=kt.batch(()=>A(this,Ue).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(hn).catch(hn)}invalidateQueries(e,t={}){return kt.batch(()=>(A(this,Ue).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=kt.batch(()=>A(this,Ue).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let a=s.fetch(void 0,n);return n.throwOnError||(a=a.catch(hn)),s.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(hn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=A(this,Ue).build(this,t);return n.isStaleByTime(Kd(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(hn).catch(hn)}fetchInfiniteQuery(e){return e.behavior=Hm(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(hn).catch(hn)}ensureInfiniteQueryData(e){return e.behavior=Hm(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Kl.isOnline()?A(this,Br).resumePausedMutations():Promise.resolve()}getQueryCache(){return A(this,Ue)}getMutationCache(){return A(this,Br)}getDefaultOptions(){return A(this,$r)}setDefaultOptions(e){de(this,$r,e)}setQueryDefaults(e,t){A(this,Ea).set(ri(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...A(this,Ea).values()],n={};return t.forEach(r=>{si(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){A(this,Ia).set(ri(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...A(this,Ia).values()],n={};return t.forEach(r=>{si(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...A(this,$r).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=jh(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===Eh&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...A(this,$r).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){A(this,Ue).clear(),A(this,Br).clear()}},Ue=new WeakMap,Br=new WeakMap,$r=new WeakMap,Ea=new WeakMap,Ia=new WeakMap,zr=new WeakMap,_a=new WeakMap,Ta=new WeakMap,Vg),II=d.createContext(void 0),_I=({client:e,children:t})=>(d.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(II.Provider,{value:e,children:t}));const TI=vi("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 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 hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),ot=d.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},a)=>{const o=r?vw:"button";return l.jsx(o,{className:he(TI({variant:t,size:n,className:e})),ref:a,...s})});ot.displayName="Button";var Pc="focusScope.autoFocusOnMount",Ac="focusScope.autoFocusOnUnmount",Km={bubbles:!1,cancelable:!0},RI="FocusScope",Ih=d.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:a,...o}=e,[i,u]=d.useState(null),c=rn(s),f=rn(a),h=d.useRef(null),y=je(t,g=>u(g)),m=d.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.useEffect(()=>{if(r){let g=function(v){if(m.paused||!i)return;const k=v.target;i.contains(k)?h.current=k:Pr(h.current,{select:!0})},x=function(v){if(m.paused||!i)return;const k=v.relatedTarget;k!==null&&(i.contains(k)||Pr(h.current,{select:!0}))},w=function(v){if(document.activeElement===document.body)for(const S of v)S.removedNodes.length>0&&Pr(i)};document.addEventListener("focusin",g),document.addEventListener("focusout",x);const p=new MutationObserver(w);return i&&p.observe(i,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",x),p.disconnect()}}},[r,i,m.paused]),d.useEffect(()=>{if(i){Zm.add(m);const g=document.activeElement;if(!i.contains(g)){const w=new CustomEvent(Pc,Km);i.addEventListener(Pc,c),i.dispatchEvent(w),w.defaultPrevented||(PI(DI(Wx(i)),{select:!0}),document.activeElement===g&&Pr(i))}return()=>{i.removeEventListener(Pc,c),setTimeout(()=>{const w=new CustomEvent(Ac,Km);i.addEventListener(Ac,f),i.dispatchEvent(w),w.defaultPrevented||Pr(g??document.body,{select:!0}),i.removeEventListener(Ac,f),Zm.remove(m)},0)}}},[i,c,f,m]);const b=d.useCallback(g=>{if(!n&&!r||m.paused)return;const x=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,w=document.activeElement;if(x&&w){const p=g.currentTarget,[v,k]=AI(p);v&&k?!g.shiftKey&&w===k?(g.preventDefault(),n&&Pr(v,{select:!0})):g.shiftKey&&w===v&&(g.preventDefault(),n&&Pr(k,{select:!0})):w===p&&g.preventDefault()}},[n,r,m.paused]);return l.jsx(oe.div,{tabIndex:-1,...o,ref:y,onKeyDown:b})});Ih.displayName=RI;function PI(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Pr(r,{select:t}),document.activeElement!==n)return}function AI(e){const t=Wx(e),n=Gm(t,e),r=Gm(t.reverse(),e);return[n,r]}function Wx(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Gm(e,t){for(const n of e)if(!MI(n,{upTo:t}))return n}function MI(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function OI(e){return e instanceof HTMLInputElement&&"select"in e}function Pr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&OI(e)&&t&&e.select()}}var Zm=FI();function FI(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Qm(e,t),e.unshift(t)},remove(t){var n;e=Qm(e,t),(n=e[0])==null||n.resume()}}}function Qm(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function DI(e){return e.filter(t=>t.tagName!=="A")}var Mc=0;function Hx(){d.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Ym()),document.body.insertAdjacentElement("beforeend",e[1]??Ym()),Mc++,()=>{Mc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Mc--}},[])}function Ym(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var $n=function(){return $n=Object.assign||function(t){for(var n,r=1,s=arguments.length;r<s;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},$n.apply(this,arguments)};function Ux(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}function LI(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,a;r<s;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var pl="right-scroll-bar-position",ml="width-before-scroll-bar",qI="with-scroll-bars-hidden",BI="--removed-body-scroll-bar-size";function Oc(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function $I(e,t){var n=d.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var s=n.value;s!==r&&(n.value=r,n.callback(r,s))}}}})[0];return n.callback=t,n.facade}var zI=typeof window<"u"?d.useLayoutEffect:d.useEffect,Jm=new WeakMap;function VI(e,t){var n=$I(null,function(r){return e.forEach(function(s){return Oc(s,r)})});return zI(function(){var r=Jm.get(n);if(r){var s=new Set(r),a=new Set(e),o=n.current;s.forEach(function(i){a.has(i)||Oc(i,null)}),a.forEach(function(i){s.has(i)||Oc(i,o)})}Jm.set(n,e)},[e]),n}function WI(e){return e}function HI(e,t){t===void 0&&(t=WI);var n=[],r=!1,s={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(a){var o=t(a,r);return n.push(o),function(){n=n.filter(function(i){return i!==o})}},assignSyncMedium:function(a){for(r=!0;n.length;){var o=n;n=[],o.forEach(a)}n={push:function(i){return a(i)},filter:function(){return n}}},assignMedium:function(a){r=!0;var o=[];if(n.length){var i=n;n=[],i.forEach(a),o=n}var u=function(){var f=o;o=[],f.forEach(a)},c=function(){return Promise.resolve().then(u)};c(),n={push:function(f){o.push(f),c()},filter:function(f){return o=o.filter(f),n}}}};return s}function UI(e){e===void 0&&(e={});var t=HI(null);return t.options=$n({async:!0,ssr:!1},e),t}var Kx=function(e){var t=e.sideCar,n=Ux(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return d.createElement(r,$n({},n))};Kx.isSideCarExport=!0;function KI(e,t){return e.useMedium(t),Kx}var Gx=UI(),Fc=function(){},Ou=d.forwardRef(function(e,t){var n=d.useRef(null),r=d.useState({onScrollCapture:Fc,onWheelCapture:Fc,onTouchMoveCapture:Fc}),s=r[0],a=r[1],o=e.forwardProps,i=e.children,u=e.className,c=e.removeScrollBar,f=e.enabled,h=e.shards,y=e.sideCar,m=e.noRelative,b=e.noIsolation,g=e.inert,x=e.allowPinchZoom,w=e.as,p=w===void 0?"div":w,v=e.gapMode,k=Ux(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=y,j=VI([n,t]),N=$n($n({},k),s);return d.createElement(d.Fragment,null,f&&d.createElement(S,{sideCar:Gx,removeScrollBar:c,shards:h,noRelative:m,noIsolation:b,inert:g,setCallbacks:a,allowPinchZoom:!!x,lockRef:n,gapMode:v}),o?d.cloneElement(d.Children.only(i),$n($n({},N),{ref:j})):d.createElement(p,$n({},N,{className:u,ref:j}),i))});Ou.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Ou.classNames={fullWidth:ml,zeroRight:pl};var GI=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function ZI(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=GI();return t&&e.setAttribute("nonce",t),e}function QI(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function YI(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var JI=function(){var e=0,t=null;return{add:function(n){e==0&&(t=ZI())&&(QI(t,n),YI(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},XI=function(){var e=JI();return function(t,n){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Zx=function(){var e=XI(),t=function(n){var r=n.styles,s=n.dynamic;return e(r,s),null};return t},e5={left:0,top:0,right:0,gap:0},Dc=function(e){return parseInt(e||"",10)||0},t5=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[Dc(n),Dc(r),Dc(s)]},n5=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return e5;var t=t5(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},r5=Zx(),ka="data-scroll-locked",s5=function(e,t,n,r){var s=e.left,a=e.top,o=e.right,i=e.gap;return n===void 0&&(n="margin"),`
  .`.concat(qI,` {
   overflow: hidden `).concat(r,`;
   padding-right: `).concat(i,"px ").concat(r,`;
  }
  body[`).concat(ka,`] {
    overflow: hidden `).concat(r,`;
    overscroll-behavior: contain;
    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
    padding-left: `.concat(s,`px;
    padding-top: `).concat(a,`px;
    padding-right: `).concat(o,`px;
    margin-left:0;
    margin-top:0;
    margin-right: `).concat(i,"px ").concat(r,`;
    `),n==="padding"&&"padding-right: ".concat(i,"px ").concat(r,";")].filter(Boolean).join(""),`
  }
  
  .`).concat(pl,` {
    right: `).concat(i,"px ").concat(r,`;
  }
  
  .`).concat(ml,` {
    margin-right: `).concat(i,"px ").concat(r,`;
  }
  
  .`).concat(pl," .").concat(pl,` {
    right: 0 `).concat(r,`;
  }
  
  .`).concat(ml," .").concat(ml,` {
    margin-right: 0 `).concat(r,`;
  }
  
  body[`).concat(ka,`] {
    `).concat(BI,": ").concat(i,`px;
  }
`)},Xm=function(){var e=parseInt(document.body.getAttribute(ka)||"0",10);return isFinite(e)?e:0},a5=function(){d.useEffect(function(){return document.body.setAttribute(ka,(Xm()+1).toString()),function(){var e=Xm()-1;e<=0?document.body.removeAttribute(ka):document.body.setAttribute(ka,e.toString())}},[])},o5=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,s=r===void 0?"margin":r;a5();var a=d.useMemo(function(){return n5(s)},[s]);return d.createElement(r5,{styles:s5(a,!t,s,n?"":"!important")})},Zd=!1;if(typeof window<"u")try{var Gi=Object.defineProperty({},"passive",{get:function(){return Zd=!0,!0}});window.addEventListener("test",Gi,Gi),window.removeEventListener("test",Gi,Gi)}catch{Zd=!1}var Zs=Zd?{passive:!1}:!1,i5=function(e){return e.tagName==="TEXTAREA"},Qx=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!i5(e)&&n[t]==="visible")},l5=function(e){return Qx(e,"overflowY")},u5=function(e){return Qx(e,"overflowX")},eg=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=Yx(e,r);if(s){var a=Jx(e,r),o=a[1],i=a[2];if(o>i)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},c5=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},d5=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Yx=function(e,t){return e==="v"?l5(t):u5(t)},Jx=function(e,t){return e==="v"?c5(t):d5(t)},f5=function(e,t){return e==="h"&&t==="rtl"?-1:1},h5=function(e,t,n,r,s){var a=f5(e,window.getComputedStyle(t).direction),o=a*r,i=n.target,u=t.contains(i),c=!1,f=o>0,h=0,y=0;do{if(!i)break;var m=Jx(e,i),b=m[0],g=m[1],x=m[2],w=g-x-a*b;(b||w)&&Yx(e,i)&&(h+=w,y+=b);var p=i.parentNode;i=p&&p.nodeType===Node.DOCUMENT_FRAGMENT_NODE?p.host:p}while(!u&&i!==document.body||u&&(t.contains(i)||t===i));return(f&&(Math.abs(h)<1||!s)||!f&&(Math.abs(y)<1||!s))&&(c=!0),c},Zi=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tg=function(e){return[e.deltaX,e.deltaY]},ng=function(e){return e&&"current"in e?e.current:e},p5=function(e,t){return e[0]===t[0]&&e[1]===t[1]},m5=function(e){return`
  .block-interactivity-`.concat(e,` {pointer-events: none;}
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
`)},g5=0,Qs=[];function y5(e){var t=d.useRef([]),n=d.useRef([0,0]),r=d.useRef(),s=d.useState(g5++)[0],a=d.useState(Zx)[0],o=d.useRef(e);d.useEffect(function(){o.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var g=LI([e.lockRef.current],(e.shards||[]).map(ng),!0).filter(Boolean);return g.forEach(function(x){return x.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),g.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var i=d.useCallback(function(g,x){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!o.current.allowPinchZoom;var w=Zi(g),p=n.current,v="deltaX"in g?g.deltaX:p[0]-w[0],k="deltaY"in g?g.deltaY:p[1]-w[1],S,j=g.target,N=Math.abs(v)>Math.abs(k)?"h":"v";if("touches"in g&&N==="h"&&j.type==="range")return!1;var _=eg(N,j);if(!_)return!0;if(_?S=N:(S=N==="v"?"h":"v",_=eg(N,j)),!_)return!1;if(!r.current&&"changedTouches"in g&&(v||k)&&(r.current=S),!S)return!0;var F=r.current||S;return h5(F,x,g,F==="h"?v:k,!0)},[]),u=d.useCallback(function(g){var x=g;if(!(!Qs.length||Qs[Qs.length-1]!==a)){var w="deltaY"in x?tg(x):Zi(x),p=t.current.filter(function(S){return S.name===x.type&&(S.target===x.target||x.target===S.shadowParent)&&p5(S.delta,w)})[0];if(p&&p.should){x.cancelable&&x.preventDefault();return}if(!p){var v=(o.current.shards||[]).map(ng).filter(Boolean).filter(function(S){return S.contains(x.target)}),k=v.length>0?i(x,v[0]):!o.current.noIsolation;k&&x.cancelable&&x.preventDefault()}}},[]),c=d.useCallback(function(g,x,w,p){var v={name:g,delta:x,target:w,should:p,shadowParent:v5(w)};t.current.push(v),setTimeout(function(){t.current=t.current.filter(function(k){return k!==v})},1)},[]),f=d.useCallback(function(g){n.current=Zi(g),r.current=void 0},[]),h=d.useCallback(function(g){c(g.type,tg(g),g.target,i(g,e.lockRef.current))},[]),y=d.useCallback(function(g){c(g.type,Zi(g),g.target,i(g,e.lockRef.current))},[]);d.useEffect(function(){return Qs.push(a),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:y}),document.addEventListener("wheel",u,Zs),document.addEventListener("touchmove",u,Zs),document.addEventListener("touchstart",f,Zs),function(){Qs=Qs.filter(function(g){return g!==a}),document.removeEventListener("wheel",u,Zs),document.removeEventListener("touchmove",u,Zs),document.removeEventListener("touchstart",f,Zs)}},[]);var m=e.removeScrollBar,b=e.inert;return d.createElement(d.Fragment,null,b?d.createElement(a,{styles:m5(s)}):null,m?d.createElement(o5,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function v5(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const w5=KI(Gx,y5);var _h=d.forwardRef(function(e,t){return d.createElement(Ou,$n({},e,{ref:t,sideCar:w5}))});_h.classNames=Ou.classNames;var x5=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ys=new WeakMap,Qi=new WeakMap,Yi={},Lc=0,Xx=function(e){return e&&(e.host||Xx(e.parentNode))},b5=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Xx(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},k5=function(e,t,n,r){var s=b5(t,Array.isArray(e)?e:[e]);Yi[n]||(Yi[n]=new WeakMap);var a=Yi[n],o=[],i=new Set,u=new Set(s),c=function(h){!h||i.has(h)||(i.add(h),c(h.parentNode))};s.forEach(c);var f=function(h){!h||u.has(h)||Array.prototype.forEach.call(h.children,function(y){if(i.has(y))f(y);else try{var m=y.getAttribute(r),b=m!==null&&m!=="false",g=(Ys.get(y)||0)+1,x=(a.get(y)||0)+1;Ys.set(y,g),a.set(y,x),o.push(y),g===1&&b&&Qi.set(y,!0),x===1&&y.setAttribute(n,"true"),b||y.setAttribute(r,"true")}catch(w){console.error("aria-hidden: cannot operate on ",y,w)}})};return f(t),i.clear(),Lc++,function(){o.forEach(function(h){var y=Ys.get(h)-1,m=a.get(h)-1;Ys.set(h,y),a.set(h,m),y||(Qi.has(h)||h.removeAttribute(r),Qi.delete(h)),m||h.removeAttribute(n)}),Lc--,Lc||(Ys=new WeakMap,Ys=new WeakMap,Qi=new WeakMap,Yi={})}},e0=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),s=x5(e);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live]"))),k5(r,s,n,"aria-hidden")):function(){return null}},Fu="Dialog",[t0,BP]=En(Fu),[S5,In]=t0(Fu),n0=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:a,modal:o=!0}=e,i=d.useRef(null),u=d.useRef(null),[c,f]=wr({prop:r,defaultProp:s??!1,onChange:a,caller:Fu});return l.jsx(S5,{scope:t,triggerRef:i,contentRef:u,contentId:pr(),titleId:pr(),descriptionId:pr(),open:c,onOpenChange:f,onOpenToggle:d.useCallback(()=>f(h=>!h),[f]),modal:o,children:n})};n0.displayName=Fu;var r0="DialogTrigger",s0=d.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=In(r0,n),a=je(t,s.triggerRef);return l.jsx(oe.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":Ph(s.open),...r,ref:a,onClick:re(e.onClick,s.onOpenToggle)})});s0.displayName=r0;var Th="DialogPortal",[C5,a0]=t0(Th,{forceMount:void 0}),o0=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:s}=e,a=In(Th,t);return l.jsx(C5,{scope:t,forceMount:n,children:d.Children.map(r,o=>l.jsx(fs,{present:n||a.open,children:l.jsx(Cu,{asChild:!0,container:s,children:o})}))})};o0.displayName=Th;var Gl="DialogOverlay",i0=d.forwardRef((e,t)=>{const n=a0(Gl,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,a=In(Gl,e.__scopeDialog);return a.modal?l.jsx(fs,{present:r||a.open,children:l.jsx(j5,{...s,ref:t})}):null});i0.displayName=Gl;var N5=La("DialogOverlay.RemoveScroll"),j5=d.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=In(Gl,n);return l.jsx(_h,{as:N5,allowPinchZoom:!0,shards:[s.contentRef],children:l.jsx(oe.div,{"data-state":Ph(s.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),Ls="DialogContent",l0=d.forwardRef((e,t)=>{const n=a0(Ls,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,a=In(Ls,e.__scopeDialog);return l.jsx(fs,{present:r||a.open,children:a.modal?l.jsx(E5,{...s,ref:t}):l.jsx(I5,{...s,ref:t})})});l0.displayName=Ls;var E5=d.forwardRef((e,t)=>{const n=In(Ls,e.__scopeDialog),r=d.useRef(null),s=je(t,n.contentRef,r);return d.useEffect(()=>{const a=r.current;if(a)return e0(a)},[]),l.jsx(u0,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:re(e.onCloseAutoFocus,a=>{var o;a.preventDefault(),(o=n.triggerRef.current)==null||o.focus()}),onPointerDownOutside:re(e.onPointerDownOutside,a=>{const o=a.detail.originalEvent,i=o.button===0&&o.ctrlKey===!0;(o.button===2||i)&&a.preventDefault()}),onFocusOutside:re(e.onFocusOutside,a=>a.preventDefault())})}),I5=d.forwardRef((e,t)=>{const n=In(Ls,e.__scopeDialog),r=d.useRef(!1),s=d.useRef(!1);return l.jsx(u0,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var o,i;(o=e.onCloseAutoFocus)==null||o.call(e,a),a.defaultPrevented||(r.current||(i=n.triggerRef.current)==null||i.focus(),a.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:a=>{var u,c;(u=e.onInteractOutside)==null||u.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const o=a.target;((c=n.triggerRef.current)==null?void 0:c.contains(o))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&s.current&&a.preventDefault()}})}),u0=d.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:a,...o}=e,i=In(Ls,n),u=d.useRef(null),c=je(t,u);return Hx(),l.jsxs(l.Fragment,{children:[l.jsx(Ih,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:a,children:l.jsx(gi,{role:"dialog",id:i.contentId,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"data-state":Ph(i.open),...o,ref:c,onDismiss:()=>i.onOpenChange(!1)})}),l.jsxs(l.Fragment,{children:[l.jsx(_5,{titleId:i.titleId}),l.jsx(R5,{contentRef:u,descriptionId:i.descriptionId})]})]})}),Rh="DialogTitle",c0=d.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=In(Rh,n);return l.jsx(oe.h2,{id:s.titleId,...r,ref:t})});c0.displayName=Rh;var d0="DialogDescription",f0=d.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=In(d0,n);return l.jsx(oe.p,{id:s.descriptionId,...r,ref:t})});f0.displayName=d0;var h0="DialogClose",p0=d.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=In(h0,n);return l.jsx(oe.button,{type:"button",...r,ref:t,onClick:re(e.onClick,()=>s.onOpenChange(!1))})});p0.displayName=h0;function Ph(e){return e?"open":"closed"}var m0="DialogTitleWarning",[$P,g0]=oN(m0,{contentName:Ls,titleName:Rh,docsSlug:"dialog"}),_5=({titleId:e})=>{const t=g0(m0),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.

If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.

For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return d.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},T5="DialogDescriptionWarning",R5=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${g0(T5).contentName}}.`;return d.useEffect(()=>{var a;const s=(a=e.current)==null?void 0:a.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},P5=n0,A5=s0,M5=o0,y0=i0,v0=l0,w0=c0,x0=f0,O5=p0;const F5=P5,D5=A5,L5=M5,b0=d.forwardRef(({className:e,...t},n)=>l.jsx(y0,{className:he("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));b0.displayName=y0.displayName;const q5=vi("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4  border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),k0=d.forwardRef(({side:e="right",className:t,children:n,...r},s)=>l.jsxs(L5,{children:[l.jsx(b0,{}),l.jsxs(v0,{ref:s,className:he(q5({side:e}),t),...r,children:[n,l.jsxs(O5,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[l.jsx(Kw,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));k0.displayName=v0.displayName;const B5=d.forwardRef(({className:e,...t},n)=>l.jsx(w0,{ref:n,className:he("text-lg font-semibold text-foreground",e),...t}));B5.displayName=w0.displayName;const $5=d.forwardRef(({className:e,...t},n)=>l.jsx(x0,{ref:n,className:he("text-sm text-muted-foreground",e),...t}));$5.displayName=x0.displayName;function z5({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.26 10.147a60.438 60.438 0 0 0-.491 6.347A48.62 48.62 0 0 1 12 20.904a48.62 48.62 0 0 1 8.232-4.41 60.46 60.46 0 0 0-.491-6.347m-15.482 0a50.636 50.636 0 0 0-2.658-.813A59.906 59.906 0 0 1 12 3.493a59.903 59.903 0 0 1 10.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.717 50.717 0 0 1 12 13.489a50.702 50.702 0 0 1 7.74-3.342M6.75 15a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm0 0v-3.675A55.378 55.378 0 0 1 12 8.443m-7.007 11.55A5.981 5.981 0 0 0 6.75 15.75v-1.5"}))}const Ah=d.forwardRef(z5);function V5({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"}))}const W5=d.forwardRef(V5);function H5({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"}))}const U5=d.forwardRef(H5);function K5({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"}))}const rg=d.forwardRef(K5);function G5({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))}const Z5=d.forwardRef(G5);function Q5({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 21h16.5M4.5 3h15M5.25 3v18m13.5-18v18M9 6.75h1.5m-1.5 3h1.5m-1.5 3h1.5m3-6H15m-1.5 3H15m-1.5 3H15M9 21v-3.375c0-.621.504-1.125 1.125-1.125h3.75c.621 0 1.125.504 1.125 1.125V21"}))}const Y5=d.forwardRef(Q5);function J5({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5m-9-6h.008v.008H12v-.008ZM12 15h.008v.008H12V15Zm0 2.25h.008v.008H12v-.008ZM9.75 15h.008v.008H9.75V15Zm0 2.25h.008v.008H9.75v-.008ZM7.5 15h.008v.008H7.5V15Zm0 2.25h.008v.008H7.5v-.008Zm6.75-4.5h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V15Zm0 2.25h.008v.008h-.008v-.008Zm2.25-4.5h.008v.008H16.5v-.008Zm0 2.25h.008v.008H16.5V15Z"}))}const sg=d.forwardRef(J5);function X5({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const Du=d.forwardRef(X5);function e_({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v12m-3-2.818.879.659c1.171.879 3.07.879 4.242 0 1.172-.879 1.172-2.303 0-3.182C13.536 12.219 12.768 12 12 12c-.725 0-1.45-.22-2.003-.659-1.106-.879-1.106-2.303 0-3.182s2.9-.879 4.006 0l.415.33M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const S0=d.forwardRef(e_);function t_({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))}const n_=d.forwardRef(t_);function r_({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"}))}const s_=d.forwardRef(r_);function a_({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}const o_=d.forwardRef(a_);function i_({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m6.115 5.19.319 1.913A6 6 0 0 0 8.11 10.36L9.75 12l-.387.775c-.217.433-.132.956.21 1.298l1.348 1.348c.21.21.329.497.329.795v1.089c0 .426.24.815.622 1.006l.153.076c.433.217.956.132 1.298-.21l.723-.723a8.7 8.7 0 0 0 2.288-4.042 1.087 1.087 0 0 0-.358-1.099l-1.33-1.108c-.251-.21-.582-.299-.905-.245l-1.17.195a1.125 1.125 0 0 1-.98-.314l-.295-.295a1.125 1.125 0 0 1 0-1.591l.13-.132a1.125 1.125 0 0 1 1.3-.21l.603.302a.809.809 0 0 0 1.086-1.086L14.25 7.5l1.256-.837a4.5 4.5 0 0 0 1.528-1.732l.146-.292M6.115 5.19A9 9 0 1 0 17.18 4.64M6.115 5.19A8.965 8.965 0 0 1 12 3c1.929 0 3.716.607 5.18 1.64"}))}const l_=d.forwardRef(i_);function u_({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z"}))}const c_=d.forwardRef(u_);function d_({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 18v-5.25m0 0a6.01 6.01 0 0 0 1.5-.189m-1.5.189a6.01 6.01 0 0 1-1.5-.189m3.75 7.478a12.06 12.06 0 0 1-4.5 0m3.75 2.383a14.406 14.406 0 0 1-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 1 0-7.517 0c.85.493 1.509 1.333 1.509 2.316V18"}))}const f_=d.forwardRef(d_);function h_({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"}))}const ag=d.forwardRef(h_);function p_({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 7.5h1.5m-1.5 3h1.5m-7.5 3h7.5m-7.5 3h7.5m3-9h3.375c.621 0 1.125.504 1.125 1.125V18a2.25 2.25 0 0 1-2.25 2.25M16.5 7.5V18a2.25 2.25 0 0 0 2.25 2.25M16.5 7.5V4.875c0-.621-.504-1.125-1.125-1.125H4.125C3.504 3.75 3 4.254 3 4.875V18a2.25 2.25 0 0 0 2.25 2.25h13.5M6 7.5h3v3H6v-3Z"}))}const C0=d.forwardRef(p_);function m_({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z"}))}const g_=d.forwardRef(m_);function y_({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z"}))}const Rs=d.forwardRef(y_);function v_({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"}))}const w_=d.forwardRef(v_);function x_({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z"}))}const b_=d.forwardRef(x_),Qn=()=>{const e=Qa(),[t,n]=d.useState(!1);return l.jsx("header",{className:"fixed top-0 left-0 right-0 z-50 bg-background/95 backdrop-blur-sm border-b border-border",children:l.jsx("div",{className:"container mx-auto px-4 md:px-6",children:l.jsxs("div",{className:"flex items-center justify-between h-16 md:h-20",children:[l.jsxs(Ee,{to:"/",className:"flex items-center space-x-2",children:[l.jsx("div",{className:"flex items-center justify-center w-10 h-10 bg-gradient-primary rounded-lg shadow-elegant",children:l.jsx("span",{className:"text-primary-foreground font-bold text-lg",children:"US"})}),l.jsx("div",{className:"hidden sm:block",children:l.jsx("h1",{className:"font-bold text-lg text-foreground",children:"Business Funding Solutions"})}),l.jsx("div",{className:"block sm:hidden",children:l.jsx("h1",{className:"font-bold text-sm text-foreground",children:"Business Funding Solutions"})})]}),l.jsxs("nav",{className:"hidden lg:flex items-center space-x-6",children:[l.jsx(Ee,{to:"/",className:`text-sm font-medium transition-colors hover:text-primary ${e.pathname==="/"?"text-primary":"text-muted-foreground"}`,children:"Home"}),l.jsx(Ee,{to:"/company",className:`text-sm font-medium transition-colors hover:text-primary ${e.pathname==="/company"?"text-primary":"text-muted-foreground"}`,children:"Company"}),l.jsx(Ee,{to:"/services",className:`text-sm font-medium transition-colors hover:text-primary ${e.pathname==="/services"?"text-primary":"text-muted-foreground"}`,children:"Services"}),l.jsx(Ee,{to:"/professionals",className:`text-sm font-medium transition-colors hover:text-primary ${e.pathname==="/professionals"?"text-primary":"text-muted-foreground"}`,children:"Professionals"}),l.jsx(Ee,{to:"/testimonials",className:`text-sm font-medium transition-colors hover:text-primary ${e.pathname==="/testimonials"?"text-primary":"text-muted-foreground"}`,children:"Testimonials"}),l.jsx(Ee,{to:"/faqs",className:`text-sm font-medium transition-colors hover:text-primary ${e.pathname==="/faqs"?"text-primary":"text-muted-foreground"}`,children:"FAQs"}),l.jsx(Ee,{to:"/contact",className:`text-sm font-medium transition-colors hover:text-primary ${e.pathname==="/contact"?"text-primary":"text-muted-foreground"}`,children:"Contact"}),l.jsx(Ee,{to:"/member-login",className:`text-sm font-medium transition-colors hover:text-primary ${e.pathname==="/member-login"?"text-primary":"text-muted-foreground"}`,children:"Member Login"})]}),l.jsx("div",{className:"flex items-center space-x-4",children:l.jsxs(F5,{open:t,onOpenChange:n,children:[l.jsx(D5,{asChild:!0,className:"lg:hidden",children:l.jsx(ot,{variant:"ghost",size:"sm",children:l.jsx(Z5,{className:"h-6 w-6"})})}),l.jsx(k0,{side:"right",className:"w-[300px] sm:w-[400px]",children:l.jsxs("nav",{className:"flex flex-col space-y-6 mt-6",children:[l.jsx(Ee,{to:"/",onClick:()=>n(!1),className:`text-lg font-medium transition-colors hover:text-primary ${e.pathname==="/"?"text-primary":"text-muted-foreground"}`,children:"Home"}),l.jsx(Ee,{to:"/company",onClick:()=>n(!1),className:`text-lg font-medium transition-colors hover:text-primary ${e.pathname==="/company"?"text-primary":"text-muted-foreground"}`,children:"Company"}),l.jsx(Ee,{to:"/services",onClick:()=>n(!1),className:`text-lg font-medium transition-colors hover:text-primary ${e.pathname==="/services"?"text-primary":"text-muted-foreground"}`,children:"Services"}),l.jsx(Ee,{to:"/professionals",onClick:()=>n(!1),className:`text-lg font-medium transition-colors hover:text-primary ${e.pathname==="/professionals"?"text-primary":"text-muted-foreground"}`,children:"Professionals"}),l.jsx(Ee,{to:"/testimonials",onClick:()=>n(!1),className:`text-lg font-medium transition-colors hover:text-primary ${e.pathname==="/testimonials"?"text-primary":"text-muted-foreground"}`,children:"Testimonials"}),l.jsx(Ee,{to:"/faqs",onClick:()=>n(!1),className:`text-lg font-medium transition-colors hover:text-primary ${e.pathname==="/faqs"?"text-primary":"text-muted-foreground"}`,children:"FAQs"}),l.jsx(Ee,{to:"/contact",onClick:()=>n(!1),className:`text-lg font-medium transition-colors hover:text-primary ${e.pathname==="/contact"?"text-primary":"text-muted-foreground"}`,children:"Contact"}),l.jsx(Ee,{to:"/member-login",onClick:()=>n(!1),className:`text-lg font-medium transition-colors hover:text-primary ${e.pathname==="/member-login"?"text-primary":"text-muted-foreground"}`,children:"Member Login"})]})})]})})]})})})},pe=({children:e,className:t,id:n})=>l.jsx("section",{id:n,className:he("py-16 md:py-24",t),children:l.jsx("div",{className:"container mx-auto px-4 md:px-6",children:e})}),k_="/assets/hero-business-meeting-BHbumZmP.jpg",S_=()=>l.jsx(pe,{className:"pt-32 pb-16 bg-gradient-subtle relative overflow-hidden",children:l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[l.jsxs("div",{className:"space-y-8 animate-fade-in-up",children:[l.jsxs("div",{className:"space-y-4",children:[l.jsxs("h1",{className:"text-4xl md:text-5xl xl:text-6xl font-bold leading-tight",children:["Secure the"," ",l.jsx("span",{className:"bg-gradient-primary bg-clip-text text-transparent",children:"Funding Your Business"})," ","Deserves"]}),l.jsx("p",{className:"text-xl text-muted-foreground leading-relaxed max-w-2xl",children:"Get expert guidance from our team of professionals who specialize in business grants, funding opportunities, and grant writing services across all 50 states."})]}),l.jsx("div",{className:"space-y-3",children:["Professional grant writing & business plan development","Access to government, private, and foundation funding sources","One-on-one dedicated support throughout the process"].map((e,t)=>l.jsxs("div",{className:"flex items-start space-x-3",children:[l.jsx(Du,{className:"w-6 h-6 text-success mt-0.5 flex-shrink-0"}),l.jsx("span",{className:"text-muted-foreground",children:e})]},t))}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[l.jsx(ot,{size:"lg",className:"bg-gradient-primary hover:shadow-glow transition-all duration-300 group",asChild:!0,children:l.jsxs(Ee,{to:"/company",children:["Our Company",l.jsx(U5,{className:"w-5 h-5 ml-2 group-hover:translate-x-1 transition-transform"})]})}),l.jsx(ot,{variant:"outline",size:"lg",className:"border-primary text-primary hover:bg-primary/5",asChild:!0,children:l.jsx(Ee,{to:"/services",children:"Learn About Our Services"})})]})]}),l.jsxs("div",{className:"relative animate-scale-in",children:[l.jsxs("div",{className:"relative",children:[l.jsx("img",{src:k_,alt:"Professional business meeting discussing funding opportunities",className:"w-full h-auto rounded-2xl shadow-elegant"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-primary/20 to-transparent rounded-2xl"})]}),l.jsx("div",{className:"absolute -bottom-6 -left-6 bg-card border border-border rounded-xl p-4 shadow-elegant animate-glow",children:l.jsxs("div",{className:"flex items-center space-x-3",children:[l.jsx("div",{className:"w-3 h-3 bg-success rounded-full animate-pulse"}),l.jsxs("div",{children:[l.jsx("div",{className:"font-semibold text-sm",children:"Christina & Kelly"}),l.jsx("div",{className:"text-xs text-muted-foreground",children:"Secured $1M+ funding"})]})]})})]})]})}),C_=()=>{const e=["One-on-one partnership with a dedicated grant professional","Comprehensive grant research tailored to your needs","Custom or reviewed business plans designed for funding success","Expert review and refinement of your applications","Access to a wide range of funding: grants, loans, tax credits, sponsorships, angel investors, and venture capital"];return l.jsx(pe,{id:"services",className:"bg-muted/30",children:l.jsxs("div",{className:"text-center space-y-6 max-w-5xl mx-auto animate-fade-in",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:"Our Services"}),l.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"At U.S. Business Funding Solutions, we streamline the research and application process so you can access funding quickly and effectively. From personalized guidance and in-depth research to business plan development and professional application review, our team handles the heavy lifting while protecting your goals and information with the highest standards of ethics and confidentiality. We connect you to the right opportunities—whether grants, loans, or private investment—so you can focus on building your business and achieving lasting success."}),l.jsxs("div",{className:"pt-6",children:[l.jsx("h3",{className:"text-2xl font-semibold mb-6",children:"What We Provide:"}),l.jsx("div",{className:"space-y-4 text-left max-w-3xl mx-auto",children:e.map((t,n)=>l.jsxs("div",{className:"flex items-start space-x-3",children:[l.jsx(Du,{className:"w-6 h-6 text-success mt-0.5 flex-shrink-0"}),l.jsx("span",{className:"text-muted-foreground text-lg",children:t})]},n))})]})]})})},Ae=d.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:he("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));Ae.displayName="Card";const Nn=d.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:he("flex flex-col space-y-1.5 p-6",e),...t}));Nn.displayName="CardHeader";const jn=d.forwardRef(({className:e,...t},n)=>l.jsx("h3",{ref:n,className:he("text-2xl font-semibold leading-none tracking-tight",e),...t}));jn.displayName="CardTitle";const $a=d.forwardRef(({className:e,...t},n)=>l.jsx("p",{ref:n,className:he("text-sm text-muted-foreground",e),...t}));$a.displayName="CardDescription";const Fe=d.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:he("p-6 pt-0",e),...t}));Fe.displayName="CardContent";const N_=d.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:he("flex items-center p-6 pt-0",e),...t}));N_.displayName="CardFooter";const j_="/assets/testimonial-christina-p4hbsHNr.jpg",N0="/assets/testimonial-stanford-DxrUm96I.png",j0="/assets/testimonial-cynthia-B8eHAV2i.jpg",E0="/assets/testimonial-ron-lola-C7xV2NHw.jpg",I0="/assets/testimonial-vernon-CRaQQuXk.jpg",_0="/assets/testimonial-sandra-DrKeyQNI.jpg",T0="/assets/testimonial-bill-CLoTL6P9.jpg",R0=[{name:"Christina & Kelly",business:"Small Business Owners",quote:"This has been a very exciting time for us! I was very surprised when the funding offer came in so generous at 1 million dollars for my small business. With this large investment we can now buy property and build the shop exactly the way we have been praying for.",image:j_,type:"Business Expansion",stars:5},{name:"Annette & Jim S.",business:"Shufflebowl 300",quote:"Woodrow is helping us work through the grant writing process with patience and knowledge. We appreciate so much his professionalism. We found his help invaluable in winning the AT&T Grant and getting to the point where we are today.",image:N0,type:"Product Development",stars:5},{name:"Cynthia S.",business:"Entrepreneur",quote:"I am so excited about the grant I got! I could not have done it without you. Our Monday nights have paid off. You have always given me the best ideas and really helped me to understand the grant process.",image:j0,type:"Business Development",stars:5},{name:"Ron and Lola",business:"Catering Business",quote:"With the help from some of the contacts through the Rural Economic Growth Group we were able to secure a grant, which we are using for construction of a new building to house our catering business.",image:E0,type:"Infrastructure",stars:5},{name:"Vernon",business:"Commercial Cleaning",quote:"I have been able to successfully start my own commercial cleaning business with your help. I am the recipient of a modest needs grant and two financial assistance grants.",image:I0,type:"Business Startup",stars:5},{name:"Sandra",business:"Graduate Student",quote:"I had my entire Grad School Tuition waived! After taking your class, you taught me to explore all options. I found that I not only qualify for assistance, but could have my entire tuition waived!",image:_0,type:"Education Funding",stars:5},{name:"Bill",business:"Business Owner",quote:"We were very surprised on how short of time it took to receive our first check. Working with Woodrow has been a great learning experience. Working with someone who has great patience has been a godsend for us.",image:T0,type:"Fast Results",stars:5}],E_=[...R0,{name:"Gilbert R.",quote:"Considerable timely communications. No delays.",stars:5,type:"Communication"},{name:"Christie M.",quote:"Even though it has been a lengthy process due to this being my first time with a business plan, she has been patient with me. We are moving forward with getting this completed. She is helping me understand a lot about building a business that I had no knowledge of.",stars:5,type:"Business Planning"},{name:"Katie P.",quote:"Excellent help in writing my business plan - highly recommend!",stars:5,type:"Business Planning"},{name:"Naomi M.",quote:"Extremely helpful and her business plan that she wrote up for us was amazing, could never have done it better. She replies immediately and the offers she has been sending me have been really good. Excited to keep working with her!",stars:5,type:"Business Planning"},{name:"Victor L.",coach:"Francina",quote:"Francina is very helpful and knowledgeable of what she does. she prioritized her clients to the point of calling you weekends to ask you questions about your needs. I am glad working with her.",stars:5,type:"Client Support"},{name:"Audra J.",coach:"Francina",quote:"Francina stays in constant contact! She is friendly and knowledgeable!",stars:5,type:"Communication"},{name:"Karla B.",coach:"Nicole",quote:"Good evening, it has been a good experience so far. Nicole has been great. I am waiting for a revised business plan. Thank you",stars:5,type:"Business Planning"},{name:"Charles R.",quote:"Great job - thank you",stars:5,type:"Overall Service"},{name:"Vanassa H.",quote:"Great Job! Well, done!",stars:5,type:"Overall Service"},{name:"Denise W.",coach:"Francina",quote:"Hello, we enjoy working with Francina. I hope to meet with her soon to review the business plan we received.",stars:5,type:"Business Planning"},{name:"Dawn C.",quote:"Her business plan was amazing.",stars:5,type:"Business Planning"},{name:"Admasu T.",coach:"Rhonda",quote:"I already responded to Ms. Rhonda's email message. I liked the business plan.",stars:5,type:"Business Planning"},{name:"Audrey J.",coach:"Keri",quote:"I also wanted to say I talked to other business planners and was very disappointed. Keri was very nice and on time. Thanks again Keri.",stars:5,type:"Professionalism"},{name:"Veronica F.",quote:"I am impressed with how incredibly she is and her work. Thank you!",stars:5,type:"Overall Service"},{name:"James B.",coach:"Michelle Palmer",quote:"I am very well pleased, and overjoyed with the professional business plan written by Ms. Michelle Palmer. Much of the information needed in the business plan was not clearly understood by me, but Ms. Palmer coached me until I was able to clearly understand. I couldn't have asked for a better business coach that Ms. Michelle.",stars:5,type:"Business Planning"},{name:"Linda B.",quote:"I enjoy working with her she quick",stars:5,type:"Communication"},{name:"April B.",quote:"I feel she has made a very professional business plan and am looking forward to working with her as I start applying for my grants.",stars:5,type:"Business Planning"},{name:"Nkongho Elvis T.",quote:"I find the business plan to be top notch and hoping to use it for all my grants application for this year. I appreciate the effort put into developing the business plan.",stars:5,type:"Business Planning"},{name:"Peggy L.",coach:"Francina",quote:"I found that my experience excellent with this company. I loved how miss Francina made my words come to life on paper. It made me feel amazing.",stars:5,type:"Business Planning"},{name:"Michelle B.",coach:"Michelle",quote:"I have enjoyed working with Michelle and I am speechless over my business plan. It was amazing and I am so glad to be a part of this program.",stars:5,type:"Business Planning"},{name:"Lavonne K.",coach:"Rhonda",quote:"I haven't read through the whole business, but what I have read was Amazing!! Thank you Rhonda",stars:5,type:"Business Planning"},{name:"Ayyub S.",quote:"I like my business plan",stars:5,type:"Business Planning"},{name:"Joel A.",quote:"I liked it",stars:5,type:"Overall Service"},{name:"Nichola B.",coach:"Nicole",quote:"I really appreciate Nicole she has been helping me a lot and she has more patience with me all the time. Thank you so much for your help",stars:5,type:"Client Support"},{name:"Marsee S.",quote:"I really enjoyed working with her, she was very quick to get it done which was nice. Every other thing I've done for the business, I have to wait so long.",stars:5,type:"Fast Results"},{name:"EARL M.",coach:"Rhonda",quote:"I would like to Thank everyone for your great support and guidance as far as Rhonda is the best",stars:5,type:"Client Support"},{name:"Anthony D.",coach:"Nicole",quote:"She explained how to answer it, helped me write my business plan better, and made me more aware of what grants are available. I am a fan of Nicole and business fund solutions.",stars:5,type:"Client Support"},{name:"Edward M.",quote:"It is very well done. It covers my ideas as well. Thank You.",stars:5,type:"Business Planning"},{name:"Carlos A.",coach:"Kim",quote:"It looks very great and I'm impressed and very greatful for the help you all are giving me. Kim was very helpful when I had questions needed help and needed answers.",stars:5,type:"Client Support"},{name:"James C.",coach:"Kim",quote:"It took me three weeks to fill out the template. When completed it took Kim only one week to reply with what turned out to be a simple editing project for me.",stars:5,type:"Business Planning"},{name:"Cameron M.",quote:"It was awesome",stars:5,type:"Overall Service"},{name:"Gerald T.",quote:"It was great working with her everything was explained and understandable very well I appreciate it",stars:5,type:"Communication"},{name:"Daniel K.",coach:"Kari",quote:"Kari was very thorough explaining the process and what needed to be done and why. I learned more about my company and how to make it better. I will recommend US BFS to every owner that I am friends with.",stars:5,type:"Client Support"},{name:"Clinton K.",coach:"Keri",quote:"Keri communicated in a timely manor and answered all our questions",stars:5,type:"Communication"},{name:"Mary W.",coach:"Keri",quote:"Keri did an exceptional job with the business plan! It was very thorough and eloquently written. I am very proud to present it to potential investors.",stars:5,type:"Business Planning"},{name:"Hope S.",coach:"Keri",quote:"Keri is absolutely amazing. Her response time is phenomenal. She provided feedback that was easy to understand. It was an pleasure working with her",stars:5,type:"Communication"},{name:"Chris C.",coach:"Keri",quote:"Keri is obviously an experienced employee and took the information that I provided along with her own research to complete a great Business Plan for our Non-Profit. Khudos and shout out to Keri!!!",stars:5,type:"Business Planning"},{name:"Matthew F.",coach:"Keri",quote:"Keri seemed to understand the details of the business and created a great looking business plan. Keri also did this in a great time-frame which I am very thankful for.",stars:5,type:"Business Planning"},{name:"Tim C.",coach:"Keri",quote:"Keri was very efficient and detailed in her preparation of my business plan",stars:5,type:"Business Planning"},{name:"Rhonda W.",coach:"Keri",quote:"Keri was wonderful and very prompt and efficient. The Business Plan looks great.",stars:5,type:"Business Planning"},{name:"Tim M.",coach:"Keri",quote:"Keri went above and beyond her expectations on this business plan! She's got the ability to take a regular business plan, and turn it into a spectacular presentation that everyone wants to see!",stars:5,type:"Business Planning"},{name:"John D.",coach:"Keri",quote:"Keri wrote it better than I could. A wonderful check as to what our non profit does and found national foundations that do what we do. An excellent presentation.",stars:5,type:"Business Planning"},{name:"Andrew B.",coach:"Kim",quote:"Kim has been excellent in guiding me through this process. She details well and eliminates any confusion I might have.",stars:5,type:"Client Support"},{name:"Robert M.",coach:"Kim",quote:"Kim has been quick to respond with any questions and our business plan is PERFECT! Thanks to Kim for all she is doing!",stars:5,type:"Business Planning"},{name:"Amy H.",coach:"Kim",quote:"Kim has been responsive and I have enjoyed working with her. Looking forward to receiving more grant opportunities!",stars:5,type:"Communication"},{name:"Charles Q.",coach:"Kim",quote:"Kim has been very helpful, responding to emails and prompting with calls to get useful information across. She completed my business plan in a timely manner too",stars:5,type:"Business Planning"},{name:"Adeoluwa A.",coach:"Kim",quote:"Kim is doing a good Job.The business plan was good. And i appeciate her communicating well.",stars:5,type:"Business Planning"},{name:"Destin H.",coach:"Kim",quote:"Kim was great! She helped me out a lot and was very responsive with questions and making sure that I had everything in place so that she can understand what I need to make my plan be successful!!",stars:5,type:"Client Support"},{name:"Carlo T.",coach:"Michelle",quote:"Michelle is a great coach and assisted me in any questions I had and also gave me some great ideas while typing out my business plan. Thank you Michelle!",stars:5,type:"Business Planning"},{name:"Mamou B.",coach:"Michelle",quote:"Michelle is very knowledgeable, patient, collaborative and nice. She was very easy work with, open to questions and suggestions. I would definitely recommend Michelle to friends and family.",stars:5,type:"Client Support"},{name:"Lisa M.",coach:"Nicole",quote:"Nicole has been great from the beginning. She has been patient and encouraging to me so I would give her what she needs to help me through all of the processes.",stars:5,type:"Client Support"},{name:"Damon L.",coach:"Nicole",quote:"Nicole has been great to work with. I appreciate her responsiveness and attention to detail. Nicole's work on the business plan was outstanding. She created a sparkling piece of work that is polished, professional, and complete.",stars:5,type:"Business Planning"},{name:"Deborah H.",coach:"Nicole",quote:"Nicole has done a very good job with putting my business plan together.",stars:5,type:"Business Planning"},{name:"MICHELLE A.",coach:"Nicole",quote:"nicole has done a wonderful job on explaining my goals and future for my farm.",stars:5,type:"Business Planning"},{name:"TIMOTHY T.",coach:"Nicole",quote:"Nicole is so helpful and wonderful. So grateful for her.",stars:5,type:"Client Support"},{name:"Darryl J.",coach:"Nicole",quote:"Nicole's assistance and support has been amazing. She is very knowledgeable and communicates excellently. She completed my business plan and it was perfect.",stars:5,type:"Business Planning"},{name:"Claudia S.",quote:"Quality of the document was professional and met my expectations.",stars:5,type:"Business Planning"},{name:"Frederick L.",coach:"Rhonda",quote:"Really appreciate the professionalism and execution. Rhonda has been great, thanks a bunch.",stars:5,type:"Professionalism"},{name:"Dorothy B.",coach:"Rhonda",quote:"Rhonda has been absolutely wonderful. She has been excellent in keeping in touch and offering grant application opportunities. Her knowledge, reassurance, support and help has been invaluable.",stars:5,type:"Client Support"},{name:"William P.",coach:"Rhonda",quote:"Rhonda has been amazing, kind and very helpful. I would recommend her to anyone who asked about your company. I hope to continue to work with her.",stars:5,type:"Client Support"},{name:"Antonio L.",coach:"Rhonda",quote:"Rhonda has been great to work with. She has completed our business plan and it is awesome. She has also been sending us numerous updates for Funding Opportunities.",stars:5,type:"Business Planning"},{name:"Michael M.",coach:"Rhonda",quote:"Rhonda has written a very detailed business plan with the information I provided. This will be the business plan I will be using to apply for business loans as well as opportunities.",stars:5,type:"Business Planning"},{name:"Pearlie N.",coach:"Rhonda",quote:"Rhonda is an asset to helping us with grants. The business plan is awesome!",stars:5,type:"Business Planning"},{name:"Christine S.",quote:"She did an excellent job paring down what I sent her! I appreciate the assistance in getting this done.",stars:5,type:"Business Planning"},{name:"Jonathan B.",quote:"She did an excellent job! The business plan looks amazing and I feel confident going into grant applications with this in my pocket.",stars:5,type:"Business Planning"},{name:"Ernest S.",quote:"She has been extremely helpful with the process.",stars:5,type:"Overall Service"},{name:"Jody Lou C.",quote:"She has kept me moving on it. I am a procrastinator and this was not an easy thing to prepare. I am very impressed with what she gave back to me in the finished plan.",stars:5,type:"Business Planning"},{name:"Melanie B.",quote:"She is responsive, understanding and ver patient with me during this process",stars:5,type:"Client Support"},{name:"Pierre J.",quote:"She is very patient, and helpful. I was having some issues on how to answer the questions for our business plan, but she patiently explained each question to me. She did a wonderful job for us.",stars:5,type:"Business Planning"},{name:"Scott H.",quote:"She made everything that I wrote look much more professional.",stars:5,type:"Business Planning"},{name:"Elizabeth B.",quote:"She was helpful and responsive and very quick with returning the business plan!",stars:5,type:"Business Planning"},{name:"Dylan E.",quote:"She was very prompt with returning my business plan and was super professional",stars:5,type:"Business Planning"},{name:"Jerry P.",quote:"She's very helpful she's understanding everything she does is great and I really appreciate all her help thank you all very much especially you Rhonda",stars:5,type:"Client Support"},{name:"Von M.",quote:"Thank you for the amazing job on the business plan. We are blown away at the level of detail and professionalism this plan was written. It reads like a top level fortune 500 business manifest.",stars:5,type:"Business Planning"},{name:"Belkis S.",coach:"Keri",quote:"Thanks, Keri, for your professionalism doing the summary of my business plan. I feel very comfortable working with you.",stars:5,type:"Business Planning"},{name:"Linda B.",coach:"Rhonda",quote:"The business plan was great! After reading it, I realized that I had forgotten a few insights into the need for this program, but I guess there is no changing it at this time. Rhonda did a super job!",stars:5,type:"Business Planning"},{name:"Augustine M.",coach:"Francina",quote:"The Business Plan was very well done. It has been a pleasure working with Francina. She is a great communicator and consistent with the funding opportunities.",stars:5,type:"Business Planning"},{name:"Liz B.",quote:"The plan is nicely worded and has so much info in it. I have been able to use various parts of it to do applications. I appreciate all the hard work that went into it.",stars:5,type:"Business Planning"},{name:"Cornelia O.",quote:"The reason I gave her a 5 star she gave me a speedy response with no excuses. She explains the steps I needed to take. Follow-up. Great!",stars:5,type:"Communication"},{name:"Jay C.",quote:"Things have been great The Business Plan was perfect except that there is one sentence that needs to come out, which I emailed him about",stars:5,type:"Business Planning"},{name:"Summer J.",quote:"Very happy, she is a thoughtful writer and appreciated the graphs, charts, etc. to aide in visualizing financials for the grantor.",stars:5,type:"Business Planning"},{name:"Raine H.",coach:"Keri",quote:"We have just started our journey with US Business Funding Solutions, but already we are impressed and excited for what is to come. Keri took our questionnaire template and produced a fabulous, well written and thorough business plan.",stars:5,type:"Business Planning"},{name:"Karen M.",coach:"Michelle",quote:"We thoroughly enjoyed working with Michelle as our business coach. She walked us through each step, offering much needed insights along the way. The business plan she prepared for us is second to none...just simply superb!",stars:5,type:"Business Planning"},{name:"Lynn V.",quote:"While I was melting down from so much death in my family and friends last year. She worked with me. She was kind and supportive.",stars:5,type:"Client Support"},{name:"Jennoa G.",coach:"Rhonda",quote:"Working with Rhonda was great. I absolutely love the business plan for Perpetual Gifts and look forward to finding the right investor or grant to help move the company forward.",stars:5,type:"Business Planning"},{name:"Christian K.",quote:"Amazing!! We'll detailed!",stars:5,type:"Business Planning"},{name:"kaia w.",quote:"Awesome business plan!",stars:4,type:"Business Planning"},{name:"Wayne S.",coach:"Rhonda",quote:"Business plan looks GREAT! It is my understanding, what she sent was the preliminary and a final copy will be sent after any additions or corrections.",stars:4,type:"Business Planning"},{name:"Sheila D.",quote:"Business plan written excellent",stars:5,type:"Business Planning"},{name:"Christopher A.",quote:"Easy to communicate with. Intelligent and concise.",stars:5,type:"Communication"},{name:"Kevin R.",coach:"Kim",quote:"Everyone I've worked with has been great and Kim is wonderful",stars:5,type:"Overall Service"},{name:"Arthur P.",quote:"Everyone that I've talked to and encountered with us business funding. Have all been fantastic people. This team is 100% on point.",stars:5,type:"Overall Service"},{name:"Joe J.",coach:"Rhonda",quote:"Everything is going excellent I'm so very excited to get going with the projects. The Business plan look great I really like enjoy working with Rhonda very, very much.",stars:5,type:"Business Planning"},{name:"Candice B.",quote:"Everything is going well but my main concern is what is going on with the pause on federal funding towards DEI programs and similar entities.",stars:5,type:"Overall Service"},{name:"Dana D.",quote:"Excellent",stars:5,type:"Overall Service"},{name:"Jeremy D.",quote:"Excellent",stars:5,type:"Overall Service"},{name:"Felipe L.",quote:"Five stars because she did a great job on the business however would be more convenient to reply faster.",stars:5,type:"Business Planning"},{name:"Heather J.",coach:"Francina",quote:"Francina has been Absolutely Amazing! I am so thankful for her through this whole process! Honestly, I was clueless and have learned a lot thanks to her!",stars:5,type:"Client Support"},{name:"Tina B.",coach:"Francina",quote:"Francina has been on it. At no time did I feel judged by my lack of understanding of business plans. She was positive, helpful and efficient!",stars:5,type:"Business Planning"},{name:"Leslieann St C.",coach:"Francina",quote:"Francina has been very transparent & helpful. Her business plan was very good.",stars:4,type:"Business Planning"},{name:"Robert G.",coach:"Francina",quote:"FRANCINA is absolutely wonderful, she is a great person to work with. She is very helpful and knowledgeable. I am sure we will secure funding with her help!",stars:5,type:"Client Support"},{name:"Sharon G.",coach:"Frank",quote:"Frank has been wonderful as far as finding funding oppression for me. He improved my business plan. I'm am proofreading it now.",stars:4,type:"Business Planning"},{name:"Alia M.",quote:"Great experience so far, thank you.",stars:5,type:"Overall Service"},{name:"Kim B.",coach:"Keri",quote:"Great job! I'm excited to begin the quest for funding and thank Keri for her quick and professional work.",stars:4,type:"Business Planning"},{name:"Brian P.",quote:"He has been very effective and attentive to my concerns and needs.",stars:5,type:"Client Support"},{name:"Delitha H.",quote:"Hello yes she has been wonderful very helpful. The business plan she wrote up was very clear and straight to the point.",stars:5,type:"Business Planning"},{name:"Lawrence G.",quote:"Her assistance has been great thus far.",stars:5,type:"Overall Service"},{name:"Ronald P.",quote:"Hi. So far. Nice job on the bus plan. I will have a few changes to make and will put them all in one email. Hopefully tomorrow.",stars:5,type:"Business Planning"},{name:"kathy w.",coach:"Nicole",quote:"I appreciate the assistance of Nicole. I look forward to her insight. I completed my business plan and look forward to her input.",stars:5,type:"Business Planning"},{name:"Patricia J.",coach:"Kim",quote:"I don't think it was Kim's fault. I was having trouble receiving emails. She has been wonderful",stars:4,type:"Communication"},{name:"Cierra K.",quote:"I enjoyed seeing opportunities show up on my business funding page.",stars:4,type:"Overall Service"},{name:"Shaniece B.",coach:"Michelle",quote:"I enjoyed working with Michelle. She was very informative and patient with me. I would recommend her to everyone.",stars:5,type:"Client Support"},{name:"Kathy S.",coach:"Kim",quote:"I have enjoyed working with Kim. She was very informative, followed up with me when I got too busy to finish an application. She is wonderful!",stars:5,type:"Client Support"},{name:"Richard H.",coach:"Nicole",quote:"I have enjoyed working with nicole and the business plan she wrote is great.",stars:4,type:"Business Planning"},{name:"Luis Arias L.",quote:"I have not received the business plan yet.",stars:4,type:"Business Planning"},{name:"Julie B.",quote:"I have sent a response & desire to complete.",stars:5,type:"Overall Service"},{name:"AMADY K.",coach:"Nicole",quote:"I learned a lot from Nicole about the business. I appreciate her assistance.",stars:5,type:"Business Planning"},{name:"Gilbert H.",coach:"David",quote:"I liked working with David I enjoyed the process",stars:5,type:"Overall Service"},{name:"Faytreeon H.",coach:"Francena",quote:"I love working with Francena. She's awesome and very helpful with all my questions and concerns",stars:5,type:"Client Support"},{name:"Daniel C.",quote:"I question her knowledge of the green energy field and construction with no aggressive action toward that end. Need a quicker and more accurate answer to my questions.",stars:4,type:"Communication"},{name:"stephen s.",quote:"I really appreciated her help helping with the business plan. She's a really pleasant person, and it's enjoyable to work with her.",stars:5,type:"Business Planning"},{name:"Ken R.",quote:"I'm just not knowledgeable about hoe to do these thins. If I could speak with someone by phone, is a much better assistance for me.",stars:4,type:"Client Support"},{name:"Alejandra G.",coach:"Kim",quote:"I'm very thankful to Kim for all the support that she is giving me in the process of business plan and all the applications for grant. I'm very confident about her support.",stars:5,type:"Client Support"},{name:"Michael P.",quote:"It is well-written and organized. A professional product. I am very pleased!",stars:5,type:"Business Planning"},{name:"Joyce P.",quote:"It looked good, we had some minor errors to be corrected. Otherwise, the plan looked Very Good...",stars:4,type:"Business Planning"},{name:"Shawn F.",quote:"It looks amazing thank you so much fingers crossed is just what we need to start rebuilding our community here in Springfield thank you guys so so much.",stars:5,type:"Business Planning"},{name:"Linda S.",coach:"Keri",quote:"It only took her two weeks to get the business plan finished and when there was a correlation, it was done the next day. I am happy with my experience with Keri.",stars:5,type:"Business Planning"},{name:"Oxana B.",coach:"Keri",quote:"It was very quick Thank you Keri for a immediate work Nicely done",stars:5,type:"Business Planning"},{name:"Anthony S.",quote:"It would have been better if the financial spreadsheet was included. It would make editing the financials easier to adjust.",stars:4,type:"Business Planning"},{name:"Timothy C.",quote:"It's been great, very helpful",stars:5,type:"Overall Service"},{name:"Chancy F.",quote:"Just nice to have some good help and patience with me while I'm figuring things out thanks",stars:5,type:"Client Support"},{name:"Kirk W.",coach:"Kari",quote:"Kari put the business plan together from my entries and it looked great! It would have taken me weeks to finish the plan.",stars:5,type:"Business Planning"},{name:"Argentry M.",quote:"Keep up the amazing work",stars:5,type:"Overall Service"},{name:"Ernesto V.",coach:"Keri",quote:"Keri completed/developed a solid business plan in less than expected time. Very efficient.",stars:5,type:"Business Planning"},{name:"Sheila H.",coach:"Keri",quote:"Keri did a fabulous job of putting together a business plan for our start up organic farm. Plan was thourough, thoughtful, and complete. We are entirely satisfied.",stars:5,type:"Business Planning"},{name:"Justin B.",coach:"Keri",quote:"Keri did a great job and my business plan looks fantastic! I'm excited to see how the process goes from here.",stars:5,type:"Business Planning"},{name:"Jason M.",coach:"Keri",quote:"Keri exceed my expectations and I am extremely happy with my product. I feel ready",stars:5,type:"Business Planning"},{name:"Willie S.",coach:"Keri",quote:"Keri has been good in laying out the business plan the only changes had to be changed was something I omitted or didn't give enough information on",stars:4,type:"Business Planning"},{name:"Bryan B.",coach:"Keri",quote:"Keri is AWESOME. The business plan is FAR AND AWAY better than anything I could have created. That type of work, along with the responsiveness, that's 5 stars every time.",stars:5,type:"Business Planning"},{name:"Shinnell S.",coach:"Keri",quote:"Keri is excellent and done an exceptional job on my business plan",stars:5,type:"Business Planning"},{name:"Araon V.",coach:"Keri",quote:"Keri is very knowledgeable and straight to the point, I put off applying for funding for years thinking it would be complicated and so far it's been amazing.",stars:5,type:"Client Support"},{name:"Brian M.",coach:"Keri",quote:"Keri touched base and made herself available for any questions or concerns I may have had. The quality of her work was impressive. A very thorough and professional product rendered.",stars:5,type:"Business Planning"},{name:"Cheryl W.",coach:"Keri",quote:"Keri was exceptional! She was helpful and patient with me as well as quick to respond to questions.",stars:5,type:"Client Support"},{name:"Fredrick R.",coach:"Keri",quote:"Keri's has been great but when you guys first put me with Ronda I've been trying to get ahold of Wes because she wasn't doing anything and wouldn't respond.",stars:5,type:"Communication"},{name:"Arthur H.",coach:"Kim",quote:"Kim has been available when I need her, and she has been very helpful in getting my business plan ready and send over funding opportunities.",stars:5,type:"Client Support"},{name:"Marylilia N.",coach:"Kim",quote:"Kim Has been of great help in putting this business plan together quickly and also helped me make my vision plain and exactly as I would have asked for.",stars:5,type:"Business Planning"},{name:"Patrick J.",coach:"Kim",quote:"Kim is doing great. Glad I get to work with her",stars:5,type:"Overall Service"},{name:"Tristen S.",quote:"Large gaps in communication with some emails not responded to.",stars:4,type:"Communication"},{name:"HUBERT O.",quote:"Like working with her wish more if we can talk on the phone more go over somethings and I so far just had 3 for grants a small amount one big loan will see if some more come in",stars:4,type:"Communication"},{name:"william m.",coach:"Michele",quote:"Michele was great. I was a particularly difficult client and Michele's patience and guidance was spot on. She represented your company very well",stars:5,type:"Client Support"},{name:"Michelle W.",coach:"Michelle",quote:"Michelle did a fantastic job on our Business Plan. My experience with this service thus far has been very positive. Thank you!",stars:5,type:"Business Planning"},{name:"bryan f.",coach:"Michelle",quote:"Michelle did an amazing job. Couldnt asked for any better service. Very professional and tip top business coach!",stars:5,type:"Business Planning"},{name:"Amba G.",coach:"Michelle",quote:"Michelle did an excellent job of creating the business plan. We had several conversations to get the plan done correctly and the final document reads very well.",stars:5,type:"Business Planning"},{name:"Earl D.",coach:"Michelle",quote:"Michelle has been nothing but professional. She put together a great plan.I am looking forward to getting some type of funding now. Team Michelle 5 stars",stars:5,type:"Business Planning"},{name:"Shannon K.",coach:"Michelle",quote:"Michelle has been patient with me throughout the process, giving great advice and coaching. She is clear, articulate, and collaborative.",stars:5,type:"Client Support"},{name:"Larry B.",coach:"Michelle",quote:"Michelle is a true professional and a very kind and thoughtful person. She has been a real blessing to me.",stars:5,type:"Client Support"},{name:"Paul K.",coach:"Michelle",quote:"Michelle is an amazing, very skilled and caring guide. I've never done this before and she has guided me every step of the way including taking my good business plan and making it great.",stars:5,type:"Business Planning"},{name:"Cheryl H.",coach:"Michelle",quote:"Michelle is very easy to work with. She helped us through everything. We really appreciate it.",stars:5,type:"Client Support"},{name:"Joseph W.",coach:"Michelle",quote:"Michelle was awesome. I would definitely work with her again.",stars:5,type:"Overall Service"},{name:"Cristian L.",coach:"Michelle",quote:"Michelle was excellent..very amazing.. she was very helpful.. this is all new to me.. Its a different world in business..Greatly appreciated",stars:5,type:"Client Support"},{name:"Eric B.",coach:"Keri",quote:"Minor errors in the final business plan that I have since corrected. Formatting was left justify, which I changed to justify and the font to Calibri for a cleaner look.",stars:4,type:"Business Planning"},{name:"Christina B.",quote:"More than I ever expected it is absolutely stunning business plan, and we are very proud of it",stars:5,type:"Business Planning"},{name:"Kirby R.",coach:"Frank",quote:"Mr. Frank has been a great help and he's provided information I didn't know before completing my business plan I want to continue to work with Mr. Frank.",stars:5,type:"Business Planning"},{name:"Ira J.",coach:"Rhonda",quote:"My Business Plan is remarkable! I would like to Thank Rhonda for such an immaculate job! On the other hand I'm having problems communicating with Rhonda.",stars:4,type:"Business Planning"},{name:"Dawn M.",coach:"Nicole",quote:"Nicole did a great job but I believe she is working with too many clients since the turnaround time was longer than expected. Yet to receive any grant money but I will keep trying :)",stars:5,type:"Business Planning"},{name:"Robert George SR.",coach:"Nicole",quote:"Nicole has been a great asset with my grant process. She just completed my first business plan and it looks specular. Nicole has been quite professional as well as personable.",stars:5,type:"Business Planning"},{name:"Christopher C.",coach:"Nicole",quote:"Nicole has been good. I will say I am a little disappointed with the draft of the business plan as when I signed up I was told the write would totally write the business plan.",stars:4,type:"Business Planning"},{name:"Shaunice A.",coach:"Nicole",quote:"Nicole has been great and very communicative. My business plan turned out great and I am excited to get things rolling for my nonprofit!",stars:5,type:"Business Planning"},{name:"Luis C.",coach:"Nicole",quote:"Nicole has been very successful at delivering the message of who we are as a company and all we want to achieve with this business plan. She is very professional, knowledgeable, reliable, and prompt.",stars:5,type:"Business Planning"},{name:"Sherry F.",coach:"Nicole",quote:"Nicole has done everything I ask and she has been very helpful and informative, I just still need specific instructions as to how exactly do I apply for the grants",stars:4,type:"Client Support"},{name:"William G.",coach:"Nicole",quote:"Nicole is awesome... I have nothing but positive interactions with her",stars:5,type:"Overall Service"},{name:"Darrell A.",coach:"Nicole",quote:"Nicole is doing an amazing job and she is currently assisting us to the best of her ability.",stars:5,type:"Client Support"},{name:"Maribel N.",coach:"Nicole",quote:"Nicole is great, very knowledgeable, easy to talk to and a real asset to your company! I really enjoy working with her on these grants. She is the best!",stars:5,type:"Client Support"},{name:"Frank F.",coach:"Nicole",quote:"Nicole is very good I just need to talk to someone more about the process of everything like how it all works if that makes sense",stars:4,type:"Communication"},{name:"Simone W.",coach:"Nicole",quote:"Nicole was very prompt in completing my business plan once I completed the template. She was a bit difficult to contact over the phone, otherwise, everything has gone smoothly.",stars:4,type:"Business Planning"},{name:"Jeremiah M.",coach:"Nicole",quote:"On multiple occasions, I would send Nicole messages and wait several days before getting a response. I am new to all of this, and I still have unanswered questions.",stars:4,type:"Communication"},{name:"Silke H.",quote:"Overall, I had a great experience and I received several grand opportunities. We love the business plan, run into a wonderful job.",stars:5,type:"Business Planning"},{name:"Ricardo S.",quote:"professional fast and accurate",stars:4,type:"Business Planning"},{name:"Daniel N.",coach:"Rhonda",quote:"Rhonda gas been on track, with valued grant opportunities. The business plan that she prepared for my company was especially valuable.",stars:5,type:"Business Planning"},{name:"David M.",coach:"Rhonda",quote:"Rhonda has been very good at sending us funding opportunities, however, not as great as answering questions. We are a start up and just created a website.",stars:5,type:"Client Support"},{name:"Margaret C.",coach:"Rhonda",quote:"Rhonda has been very thorough and precise. The Business plan that she prepared for me was very good. She gave me instructions on how to present my business plan.",stars:5,type:"Business Planning"},{name:"Emmanuel W.",coach:"Rhonda",quote:"Rhonda has done a phenomenal job. I'm more confidant after receiving Rhonda's help.",stars:5,type:"Client Support"},{name:"Dennis C.",coach:"Rhonda",quote:"Rhonda has done great job just need to get the spelling of the COM-VAC Engine changed, thanks.",stars:5,type:"Business Planning"},{name:"Rhaegan D.",coach:"Rhonda",quote:"Rhonda is great at putting together a business plan, but she does not answer the phone, reply to my emails, or honor my requests to have her call me.",stars:4,type:"Communication"},{name:"Damar T.",coach:"Rhonda",quote:"Rhonda is very helpful I would definitely recommend us business funding solutions to my family and friends.",stars:5,type:"Client Support"},{name:"Summer R.",coach:"Rhonda",quote:"Rhonda's rewriting of my business plan was very professional and impactful. She has been sending me funding leads regularly. I appreciate her hard work and support.",stars:5,type:"Business Planning"},{name:"George R.",quote:"She been great helping us through the process. We still need help finding some grants. I believe that's the next step.",stars:5,type:"Client Support"},{name:"Lorri B.",quote:"She did a beautiful job! I'm very happy so far. I am patiently waiting for the funding to roll in. Thank you so much!!",stars:5,type:"Business Planning"},{name:"muhammad ali juhar b G.",quote:"She did a very nice job setting up the business plan and everything.",stars:5,type:"Business Planning"},{name:"Dustin C.",quote:"She did an excellent job on my business plan.",stars:5,type:"Business Planning"},{name:"Erik S.",quote:"She has been a great help! The only complaint I would have is that a lot of the applications that had been sent to us are from other states.",stars:5,type:"Client Support"},{name:"Daniel R.",quote:"She has been helpful and pleasant to communicate with.",stars:5,type:"Communication"},{name:"Kara H.",quote:"She has been very responsive to my questions. And she corrected all the mistakes so far. I have no complaints.",stars:4,type:"Client Support"},{name:"Max T.",quote:"She has made a big difference in how my business plan now reads.",stars:5,type:"Business Planning"},{name:"dennis h.",quote:"She help me apply for grants for my business and and filled out the business plans for the parts I didn't know how to do and did the financial part.",stars:5,type:"Business Planning"},{name:"Elierobed P.",quote:"She is amazing!!!",stars:5,type:"Overall Service"},{name:"Octavia H.",quote:"She is awesome. She has been very patient with me and attentive to detail. I love the business plan she created. IT is very detailed. Overall, she is very pleasant to work with.",stars:5,type:"Business Planning"},{name:"Eucario C.",quote:"She is great I love the business plan. And have no complaints on that. Can't wait to see what else she can help me with.",stars:5,type:"Business Planning"},{name:"Marc J.",quote:"She is great, excellent business plan",stars:5,type:"Business Planning"},{name:"Brianna C.",quote:"She is highly responsive. Her ability to take my words and execute are extraordinary. A few revisions were needed - very minor. This is highly impressive.",stars:5,type:"Business Planning"},{name:"Camille C.",quote:"She is quick, efficient, and did a great job articulating my plan.",stars:5,type:"Business Planning"},{name:"Lenora D.",quote:"She is really helping me to understand my path, plus she sent me my business plan.",stars:5,type:"Client Support"},{name:"Todd D.",quote:"She is very helpful so far. Hopefully continues to go well for everyone.",stars:4,type:"Client Support"},{name:"Robert L.",quote:"She is very helpful, however the last contact she sent us is for a loan, we are not interested loans. We are looking for grants",stars:5,type:"Client Support"},{name:"Venantius N.",quote:"She is very professional. Delivers very promptly, and has sent several referrals my way. I look forward to working more with her in the future.",stars:5,type:"Professionalism"},{name:"Deanna H.",quote:"She knows exactly what to do. She's extremely polite.",stars:5,type:"Overall Service"},{name:"FREDDY M.",quote:"She responded to all my questions",stars:5,type:"Communication"},{name:"Tashawn G.",quote:"She seems cool gets her side of the work done fast and she does a job well done in my eyes",stars:5,type:"Overall Service"},{name:"chantell m.",quote:"She sid great work! But Woodrow I haven't got ahold of him since wed I need to talk to him about grants",stars:5,type:"Business Planning"},{name:"Chad G.",quote:"She was quick to respond with my survey, however, I reached out about an edit and have not heard back yet.",stars:4,type:"Communication"},{name:"Maria B.",quote:"She was very helpful and responded to email when I have questions or needed clarification.",stars:5,type:"Communication"},{name:"Gavin H.",coach:"Francine",quote:"She's been really helpful. Thank you Francine.",stars:5,type:"Client Support"},{name:"Araceli G.",quote:"Shes been great! Easy to work with.",stars:5,type:"Overall Service"},{name:"Paul W.",coach:"Nicole",quote:"So far Nicole is pretty great. She created a great business plan for me and sent a couple of grants my way. I received a grant only given in Ohio but I live in Texas.",stars:4,type:"Business Planning"},{name:"Melissa Q.",coach:"Keri",quote:"So far so good. Keri and I worked well together tweaking the data and getting the info needed for the business plan. Im happy with the business plan.",stars:4,type:"Business Planning"},{name:"Jerry T.",coach:"Kim",quote:"Still haven't gotten the BP, however, I have filled out application for the VA grant. I'm not sure whether to submit or return it to Kim for review.",stars:5,type:"Client Support"},{name:"Allen S.",quote:"Team has been extremely supportive.",stars:5,type:"Client Support"},{name:"Gregory H.",coach:"Keri",quote:"Thank you very much for giving me Keri, to work on my Business Plan. Keri is the best, she has giving to me, what I believe is an outstanding Business Plan. I love her patience and assistance.",stars:5,type:"Business Planning"},{name:"David N.",coach:"Rhonda",quote:"the business is plan was excellent, i have no complaints about. my only problem is communicating with Rhonda",stars:4,type:"Business Planning"},{name:"Joseph P.",quote:"The business plan draft was impressive. I would like to be informed when the finished product will be ready.",stars:4,type:"Business Planning"},{name:"Angel A.",quote:"The business plan is complete and looks good. What I need is to schedule a call to speak to her about the funding options that she has been sending.",stars:4,type:"Business Planning"},{name:"Andre W.",quote:"The business plan is great. She was very thorough with the details.",stars:5,type:"Business Planning"},{name:"Nagani D.",coach:"Keri",quote:"The business plan is just what I needed to move forward and is very well put together! Keri has provided me assistance from the start!",stars:5,type:"Business Planning"},{name:"David R.",quote:"The business plan looks really good. Thank you.",stars:4,type:"Business Planning"},{name:"Danielle E.",quote:"The content of everything that was written about my business is absolutely wonderful. I do wish that turn around time on response to emails was a little faster.",stars:4,type:"Business Planning"},{name:"Lucas T.",coach:"Keri",quote:"The plan looks great and Keri was very patient with me while I figured out how to answer the questions in the template.",stars:5,type:"Business Planning"},{name:"Antonio W.",quote:"The writing of the Business plan was ver close to my vision. The projection was close, not sure it is where I would like to be.",stars:4,type:"Business Planning"},{name:"Christine C.",quote:"There wasn't much communication. A few corrections while I was reading through it. But overall it was good",stars:4,type:"Communication"},{name:"Kat R.",quote:"There were a few errors on the draft. Waiting for a revision.",stars:4,type:"Business Planning"},{name:"Christopher B.",quote:"They did an excellent job on my bu",stars:5,type:"Business Planning"},{name:"Wilfred B.",quote:"Very good at what they do in research and write business plan",stars:5,type:"Business Planning"},{name:"Doug B.",quote:"Very nice and patient and very nice business plan.",stars:5,type:"Business Planning"},{name:"Donna Z.",coach:"Keri",quote:"Very pleased at what Keri did for my company. Thank you so much!",stars:5,type:"Business Planning"},{name:"FARHAD M.",coach:"Keri",quote:"Very professional work has been done I appreciate Keri's job",stars:5,type:"Business Planning"},{name:"Elisha M.",quote:"Very responsive and great demeanor. great to work with",stars:5,type:"Communication"},{name:"Andreas G.",quote:"Whenever I've reached out he has answered my question in a timely matter, he's informed me on things I had to work on and revise. The work plan needs some editional work done to it.",stars:5,type:"Communication"},{name:"Tina G.",coach:"Nicole",quote:"While Nicole was helpful and responsive, quite a few of the grant opportunities did not apply to my nonprofit. I am pleased with the business plan. I am awaiting the final business plan in PDF.",stars:4,type:"Business Planning"},{name:"Scott H.",coach:"Woodrow & Keri",quote:"Woodrow and Keri have been great. I am working on my business plan and according to Keri .. I am on the right track. Im excited to be doing this. Thank you.",stars:5,type:"Business Planning"},{name:"Lonnie C.",coach:"David",quote:"Working with David has and is great. He's very professional and thorough, if I don't understand what need a to be done he's very detail in what is needed.",stars:4,type:"Client Support"},{name:"Alonzo J.",coach:"Kim",quote:"Working with Kim has been great, I am actually waiting on her call right now so we can go over some corrections with the business plan she prepared for my company.",stars:5,type:"Business Planning"},{name:"Larry M.",quote:"Yes I got it and she did a Awesome job on it but something happened and it is not on my email anymore so I was going to see if she could send it again",stars:5,type:"Business Planning"},{name:"Christian A.",coach:"Rhonda",quote:"Yes I think Rhonda has been very helpful towards me. She gets me the grants I need and she works hard at what she does.",stars:5,type:"Client Support"},{name:"Kelvin G.",coach:"Francina",quote:"Yes working with Francina is amazing and she's very helpful and great at what she does.",stars:5,type:"Client Support"}],I_=e=>{const t=e.trim().split(" ");if(t.length===1)return e;const n=t[0],r=t[t.length-1].charAt(0);return`${n} ${r}.`},P0=e=>[...E_].sort(()=>.5-Math.random()).slice(0,e),__=()=>l.jsxs(pe,{id:"testimonials",className:"bg-background",children:[l.jsxs("div",{className:"text-center space-y-4 mb-16 animate-fade-in",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:"Success Stories from Our Clients"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"See how we've helped entrepreneurs and business owners across the country secure funding and achieve their dreams."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:R0.map((e,t)=>l.jsx(Ae,{className:"group hover:shadow-elegant transition-all duration-300 hover:-translate-y-1 animate-fade-in-up",style:{animationDelay:`${t*100}ms`},children:l.jsxs(Fe,{className:"p-6 space-y-4",children:[l.jsxs("blockquote",{className:"text-muted-foreground italic leading-relaxed",children:['"',e.quote,'"']}),l.jsx("div",{className:"pt-4 border-t border-border",children:l.jsxs("div",{className:"flex items-center space-x-3",children:[e.image&&l.jsx("img",{src:e.image,alt:e.name,className:"w-16 h-16 rounded-full object-cover border-2 border-border"}),l.jsx("div",{className:"font-semibold text-foreground",children:I_(e.name)})]})})]})},t))})]}),T_="/assets/us-chamber-logo-CAkxVF_H.png",R_="/assets/dun-bradstreet-logo-BEbB5Zn1.png",P_=[{type:"image",image:T_,title:"US Chamber of Commerce",subtitle:"Accredited Member",description:"Recognized business member in good standing"},{type:"image",image:R_,title:"Dun & Bradstreet",subtitle:"Verified Business",description:"Verified business credentials and ratings"}],A_=()=>l.jsxs(pe,{className:"bg-muted/20 border-y border-border",children:[l.jsxs("div",{className:"text-center space-y-4 mb-12 animate-fade-in",children:[l.jsx("h3",{className:"text-2xl font-bold",children:"Trusted & Accredited"}),l.jsx("p",{className:"text-muted-foreground",children:"We maintain the highest standards of professionalism and business integrity"})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 max-w-3xl mx-auto",children:P_.map((e,t)=>l.jsxs("div",{className:"flex flex-col items-center text-center space-y-4 animate-fade-in-up group",style:{animationDelay:`${t*200}ms`},children:[l.jsx("div",{className:"w-32 h-28 bg-white rounded-2xl flex items-center justify-center group-hover:shadow-glow transition-all duration-300 p-4",children:l.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-contain"})}),l.jsxs("div",{className:"space-y-2",children:[l.jsx("h4",{className:"font-semibold text-foreground",children:e.title}),l.jsx("p",{className:"text-sm font-medium text-primary",children:e.subtitle}),l.jsx("p",{className:"text-sm text-muted-foreground",children:e.description})]})]},t))})]}),M_="/assets/godaddy-badge-Bg1BwQoi.png",Yn=()=>l.jsx("footer",{className:"bg-foreground text-background",children:l.jsxs("div",{className:"container mx-auto px-4 md:px-6 py-8",children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 max-w-4xl mx-auto",children:[l.jsxs("div",{className:"space-y-4",children:[l.jsxs(Ee,{to:"/",className:"flex items-center space-x-2",children:[l.jsx("div",{className:"flex items-center justify-center w-10 h-10 bg-primary rounded-lg",children:l.jsx("span",{className:"text-primary-foreground font-bold text-lg",children:"US"})}),l.jsx("h3",{className:"font-bold text-lg",children:"Business Funding Solutions"})]}),l.jsx("p",{className:"text-background/80 text-sm",children:"Professional business funding consultants helping entrepreneurs secure grants and funding opportunities nationwide."})]}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h4",{className:"font-semibold text-lg",children:"Quick Links"}),l.jsxs("ul",{className:"space-y-2 text-sm text-background/80",children:[l.jsx("li",{children:l.jsx(Ee,{to:"/",className:"hover:text-background transition-colors",children:"Home"})}),l.jsx("li",{children:l.jsx(Ee,{to:"/company",className:"hover:text-background transition-colors",children:"Company"})}),l.jsx("li",{children:l.jsx(Ee,{to:"/services",className:"hover:text-background transition-colors",children:"Services"})}),l.jsx("li",{children:l.jsx(Ee,{to:"/professionals",className:"hover:text-background transition-colors",children:"Professionals"})}),l.jsx("li",{children:l.jsx(Ee,{to:"/testimonials",className:"hover:text-background transition-colors",children:"Testimonials"})}),l.jsx("li",{children:l.jsx(Ee,{to:"/research",className:"hover:text-background transition-colors",children:"Research"})}),l.jsx("li",{children:l.jsx(Ee,{to:"/faqs",className:"hover:text-background transition-colors",children:"FAQs"})}),l.jsx("li",{children:l.jsx(Ee,{to:"/contact",className:"hover:text-background transition-colors",children:"Contact"})}),l.jsx("li",{children:l.jsx(Ee,{to:"/member-login",className:"hover:text-background transition-colors",children:"Member Login"})})]})]})]}),l.jsx("div",{className:"border-t border-background/20 mt-8 pt-6",children:l.jsxs("div",{className:"flex flex-col items-center space-y-4",children:[l.jsx("p",{className:"text-sm text-background/60",children:"Ā© 2025 US Business Funding Solutions. All rights reserved."}),l.jsx("div",{className:"flex justify-center",children:l.jsx("img",{src:M_,alt:"GoDaddy Verified & Secured",className:"h-12 object-contain opacity-80 hover:opacity-100 transition-opacity"})})]})})]})}),O_=()=>l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(Qn,{}),l.jsxs("main",{children:[l.jsx(S_,{}),l.jsx(C_,{}),l.jsx(A_,{}),l.jsx(__,{})]}),l.jsx(Yn,{})]}),A0="/assets/team-professionals-D7zvL9o5.jpg",F_=[{icon:c_,title:"Client Commitment",description:"We put your goals at the center of everything we do, working tirelessly to help you succeed."},{icon:f_,title:"Expert Guidance",description:"Our experienced professionals bring proven knowledge and hands-on support to every step of the funding process."},{icon:l_,title:"Nationwide Reach",description:"From coast to coast, we serve clients in all 50 states, helping them access the resources they need to grow."},{icon:g_,title:"Integrity",description:"We uphold the highest standards of honesty, ethics, and confidentiality—protecting your information and earning your trust every step of the way."}],D_=()=>l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(Qn,{}),l.jsx(pe,{className:"pt-16",children:l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[l.jsx("div",{className:"space-y-8 animate-fade-in-up",children:l.jsxs("div",{className:"space-y-4",children:[l.jsxs("h1",{className:"text-4xl md:text-5xl font-bold leading-tight",children:["About"," ",l.jsx("span",{className:"bg-gradient-primary bg-clip-text text-transparent",children:"US Business Funding Solutions"})]}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"For nearly 20 years, we've been helping people across the country successfully navigate the grant process. Based in Utah, our team of experienced grant professionals takes care of the heavy lifting—guiding clients step by step from start to finish."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Our grant writers and researchers bring more than 30 years of combined experience in securing funding for businesses, nonprofits, and community projects. With expert researchers to identify opportunities and skilled writers to handle the documentation, we provide a complete support system designed to maximize your chances of success."}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Whether you're starting a new business, expanding an existing one, or developing a nonprofit or community initiative, we're here to help you access the resources you need to achieve your goals."})]})}),l.jsx("div",{className:"relative animate-scale-in",children:l.jsx("img",{src:A0,alt:"US Business Funding Solutions professional team",className:"w-full h-auto rounded-2xl shadow-elegant"})})]})}),l.jsxs(pe,{className:"bg-muted/30",children:[l.jsxs("div",{className:"text-center space-y-4 mb-16 animate-fade-in",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:"Our Core Values"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"What sets us apart and drives everything we do for our clients"})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:F_.map((e,t)=>{const n=e.icon;return l.jsxs(Ae,{className:"text-center group hover:shadow-elegant transition-all duration-300 hover:-translate-y-1 animate-fade-in-up",style:{animationDelay:`${t*100}ms`},children:[l.jsxs(Nn,{className:"space-y-4",children:[l.jsx("div",{className:"w-16 h-16 bg-gradient-primary rounded-2xl flex items-center justify-center mx-auto group-hover:shadow-glow transition-all duration-300",children:l.jsx(n,{className:"w-8 h-8 text-primary-foreground"})}),l.jsx(jn,{className:"text-xl group-hover:text-primary transition-colors",children:e.title})]}),l.jsx(Fe,{children:l.jsx("p",{className:"text-muted-foreground",children:e.description})})]},t)})})]}),l.jsx(pe,{children:l.jsxs("div",{className:"max-w-4xl mx-auto text-center space-y-8 animate-fade-in",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:"Our Mission"}),l.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"We believe that the right funding can unlock potential, transform ideas, and strengthen communities. At U.S. Business Funding Solutions, our purpose is to connect you with the best opportunities available—whether through government programs, grants, foundations, private investors, or other resources. With our expertise and guidance, you'll have a trusted partner committed to helping you move forward and achieve lasting success."})]})}),l.jsxs(pe,{className:"bg-muted/30",children:[l.jsx("div",{className:"text-center space-y-4 mb-12",children:l.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:"Client Success Stories"})}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:P0(6).map((e,t)=>l.jsx(Ae,{className:"hover:shadow-elegant transition-all",children:l.jsxs(Fe,{className:"p-6 space-y-4",children:[l.jsx("div",{className:"flex gap-1",children:[...Array(e.stars)].map((n,r)=>l.jsx(Rs,{className:"w-5 h-5 fill-accent text-accent"},r))}),l.jsxs("p",{className:"text-muted-foreground italic",children:['"',e.quote,'"']}),l.jsx("p",{className:"font-semibold",children:e.name})]})},t))})]}),l.jsx(Yn,{})]}),L_="/assets/services-consultation-CqqeJqNn.jpg",q_=[{icon:n_,title:"Research",description:"We do all the grant research FOR you. Our professionals search through tens of thousands of entities including federal government and private corporate foundations to locate funding that fits your specific needs.",features:["Access to federal and local government grants","Corporate foundation funding opportunities","Traditional grants, matching grants, and sponsorships","Tax-credits, reimbursements, loans, and private funding","Angel investors and venture capital connections","Ongoing research throughout your funding journey"]},{icon:Ah,title:"Business Plan",description:"We help you create a comprehensive business plan tailored for grant applications. Whether you need a custom-written plan, professional review of your existing plan, or a guided template, we've got you covered.",features:["Custom business plan creation based on your information","Professional review and enhancement of existing plans","12-section questionnaire template to guide you","Strategic formatting and structure for grant success","One reusable plan for all your grant applications"]},{icon:S0,title:"Professional Application Review",description:"We review and refine every grant application you submit. It's not just what you say, it's how you say what you say. We help construct compelling answers that stand out to funding organizations.",features:["Expert review of all application answers","Professional revision and rewriting as needed","Strategic answer construction and optimization","Guidance on the most effective phrasing","Continuous support through multiple applications"]}],B_=()=>l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(Qn,{}),l.jsx(pe,{className:"pt-16",children:l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[l.jsx("div",{className:"space-y-8 animate-fade-in",children:l.jsxs("div",{children:[l.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold leading-tight mb-6",children:["Our"," ",l.jsx("span",{className:"bg-gradient-primary bg-clip-text text-transparent",children:"Services"})]}),l.jsx("p",{className:"text-xl text-muted-foreground leading-relaxed mb-4",children:"We specialize in speeding up the research and funding application process for our clients to help them meet their funding financial goals in a timely manner. Timing is often critical to acquiring funds to start a business, expand a business, or merge a business with another business."}),l.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:'The old expression, "time is money" is the foremost thing on the minds of our professionals as they begin to work with a new client because their "time" is valuable, too. The quicker they can help someone find their funds, the quicker they can move on to their next client. No one likes to put the process on the fast track more than our professionals, so they will work with a client as fast as the client wants to move.'})]})}),l.jsx("div",{className:"relative animate-slide-up",children:l.jsx("img",{src:L_,alt:"Professional consultation meeting",className:"rounded-2xl shadow-elegant w-full h-auto"})})]})}),l.jsxs(pe,{className:"bg-muted/30",children:[l.jsxs("div",{className:"text-center space-y-4 mb-16 animate-fade-in",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:"Your Grant Partner, Start to Finish"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"When you work with us, you're paired with a dedicated grant writer and researcher who partners with you one-on-one through every stage of the process. Your grant professional will handle the heavy lifting from start to finish. Our team upholds the highest standards of ethics, honesty, and confidentiality, ensuring that your business information, trade secrets, and future goals remain fully protected at all times."})]}),l.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:q_.map((e,t)=>{const n=e.icon;return l.jsxs(Ae,{className:"group hover:shadow-elegant transition-all duration-300 hover:-translate-y-1 animate-fade-in-up",style:{animationDelay:`${t*100}ms`},children:[l.jsxs(Nn,{className:"space-y-4",children:[l.jsx("div",{className:"w-16 h-16 bg-gradient-primary rounded-2xl flex items-center justify-center group-hover:shadow-glow transition-all duration-300",children:l.jsx(n,{className:"w-8 h-8 text-primary-foreground"})}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(jn,{className:"text-2xl group-hover:text-primary transition-colors",children:e.title}),l.jsx($a,{className:"text-muted-foreground",children:e.description})]})]}),l.jsx(Fe,{children:l.jsx("ul",{className:"space-y-3",children:e.features.map((r,s)=>l.jsxs("li",{className:"flex items-start space-x-3",children:[l.jsx(Du,{className:"w-5 h-5 text-success mt-0.5 flex-shrink-0"}),l.jsx("span",{className:"text-sm text-muted-foreground",children:r})]},s))})})]},t)})})]}),l.jsx(pe,{children:l.jsxs("div",{className:"text-center space-y-6 max-w-5xl mx-auto animate-fade-in",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:"Funding Opportunities"}),l.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:"Grants and other forms of funding are available for a wide variety of projects, ranging from business start-ups, expansions, and real estate restoration, to non-profit organizations and community initiatives. Funding also supports social, environmental, and community development projects—including food, housing, health care, and energy-saving programs—as well as disaster relief efforts. In addition, education, the arts, music, writing, scholarships, and training programs are eligible for funding. Our team helps you access diverse funding sources including federal and state grants, foundation and non-profit grants, angel investors, venture capital, private funding, corporate and institutional sponsorships, and even traditional loans—ensuring you have the right resources to bring your vision to life."})]})}),l.jsxs(pe,{children:[l.jsx("div",{className:"text-center space-y-4 mb-12",children:l.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:"What Our Clients Say"})}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:P0(6).map((e,t)=>l.jsx(Ae,{className:"hover:shadow-elegant transition-all",children:l.jsxs(Fe,{className:"p-6 space-y-4",children:[l.jsx("div",{className:"flex gap-1",children:[...Array(e.stars)].map((n,r)=>l.jsx(Rs,{className:"w-5 h-5 fill-accent text-accent"},r))}),l.jsxs("p",{className:"text-muted-foreground italic",children:['"',e.quote,'"']}),l.jsx("p",{className:"font-semibold",children:e.name})]})},t))})]}),l.jsx(Yn,{})]}),$_=[{name:"Woodrow",specialization:"Professional Research, Writing & Funding",bio:"With over 35 years of experience in the professional research, writing and funding arena and over one billion dollars funding successfully submitted, Woodrow expertly authors a wide range of motivational, medical and technical textbooks, peer-review quality empirical research papers, white papers and more. Woodrow is a successful business owner, professional grant writer and mentor whose work is published on respected philanthropy, medical and legal sites internationally. Woodrow has successfully partnered clients with the Department of Defense Research Lab at Penn State and other universities to share funding. Woodrow is a practicing medical professional and an internationally published best-selling medical author, high school and college textbook writer and is considered an expert in specific disease process and funding arenas. He is former International Director of Funding for the 5th largest international foundation on the planet: Food for Life Global, successfully funding the Sri Lanka tsunami, Haitian earthquake and hurricane Katrina relief efforts. Woodrow currently sits on a Board of Directorship for a prominent 501 C 3 not for profit animal advocacy in Tampa Bay, Florida."},{name:"Nicole",specialization:"Finance & Business Development",bio:"Nicole has a passion for helping people that has transitioned into a career where she now makes dollars and sense out of her client's dreams to change the world. In 2011, Nicole joined the non-profit world professionally. She used her skills in finance and business development to advance quickly, culminating as a writer on the plan to end homelessness in Los Angeles. It was the first of its kind to pass both the City Council and County Board of Supervisors and was funded at $121 million. This success led Nicole back to the private sector, engaged in business development activities across Los Angeles. Today, Nicole works across both public and private sectors. Her experience gives clients like you the best opportunity to quickly obtain the funding necessary to build your business."},{name:"Frank",specialization:"Government & Foundation Funding",bio:"Frank has worked in non profits for 13 years. During those 13 years he has improved the financial situation of each organization he has worked with by protecting current grant funding and securing additional new and diverse funding streams. Most notable is that he achieved this during the economic downturns of 2008 and most recently financial crisis created by COVID. During the first four months of COVID alone, he gained multiple grant awards for more than $230,000 illustrating his ability to quickly pivot, identify and respond to opportunities. Areas of expertise include: housing; healthcare; foundations; and social services. He has worked with city, state, federal government funding and foundation funding. He has managed application processes from beginning to end as well as successfully executed and performed grant contracts. Frank has the unique grant experience of not only being an experienced grant writer and applicant, but he was a grantor for a national foundation giving him insight few in grants have. He managed a $1 million annual grant program which included conducting a needs assessment to determine funding categories and funding levels; request for application process; soliciting applications and ensuring applicants met minimum qualifications to apply; identifying grant reviewers and training grant reviewers; presenting the slate of approved grants to the board for approval; notifying the public of grantees awarded and funding amounts. In addition Frank has been a grant reviewer. This experience of grant making and being a grant reviewer has sharpened his skills to give him a 360 degree perspective of what grantors may look for (and may not be looking for) and the best way to share your message most effectively to increase opportunity to gain funding."},{name:"Michelle",specialization:"Communications & Strategic Planning",bio:"Michelle is a communications strategist with over 25 years of combined public relations and journalism experience. For 15 years, she has been a public relations/public affairs specialist serving a wide range of public and private sector businesses, government agencies and non- profits. Michelle excels in writing business plans and developing strategic campaigns and enjoys assisting her clients in navigating through the challenges of owning and operating a successful business. She has worked for nationally recognized public relations and marketing firms as well as owning her own consultancy business. A partial client list includes Enterprise Rent-A-Car, Deloitte & Touche, Orange County Fair, Orange County Child Protection Agency, VitalCom, Imagyn Medical Technologies, Biosite Diagnostics, American Medical Response and LA Metrolink. Michelle began her professional career as a news reporter at public radio station KLON-Long Beach. She later served as the station's news director building the largest, most recognized public radio news department in the west. Palmer co-founded the National Public Radio News Directors Association and served as chairwoman for two years. Michelle plays league tennis, enjoys camping and hiking, and loves fostering kittens and puppies for a local animal shelter."},{name:"Francina",specialization:"Nonprofit Management & Grant Writing",bio:"Francina is a Nonprofit Management Consultant & Grant Writer with over 15 years of experience in the field. In addition, Francina is a member of the American Grant Writer's Association (AGWA) and is a Certified Grant Writer through AGWA. Francina is enthusiastic about serving the community and helping people enhance their lifestyle and the life of others through business ventures. While working at the University of Central Florida (UCF) as an Administrative Assistant, and Personnel Manager, Francina earned her Bachelor of Science degree and her Master of Nonprofit Management degree. After 12 years of employment at UCF, Francina resigned to work as an independent grant writer and volunteered for many nonprofit agencies. Francina joined the Grant Professionals Network (GPN) and served GPN as a board member and secretary. During a GPN meeting, Francina connected with a seasoned business professional and grant writer, Marilyn, who served as her mentor over the years. Francina worked as a subcontractor under Marilyn and benefited from her 28 years in the business. Together, they won over ten million dollars in grant awards for various nonprofit agencies. Francina is well knowledgeable of best practices for researching funding opportunities and writing grant applications and has a history of providing clients with excellent customer service and being a good steward of time. As founder of Seeds of Hope Outreach Ministry, Francina has extensive direct knowledge of operating, managing, and funding a nonprofit agency. Francina served as a grant application reviewer with United Way Heart of Florida and has a good understanding of what funders are looking for in a grant application. Francina is ready to assist you in your pursuit of securing funding to achieve your dreams and goals."},{name:"Kim",specialization:"Workforce Development & Strategic Planning",bio:"Kim has over 20 years of experience working within workforce development and academic organizations with a focus on grant writing, business development, and strategic planning. Throughout her career, Kim has researched, identified and responded to many grant opportunities, securing additional new and diverse funding streams for the organizations in which she worked. Her excellent communication skills, especially writing, has led to many successful grant proposals. Some of those successful grant proposals include: an online, competency based certificate for employees of a local healthcare system; retraining funding for laid off workers, impacted by a plant closing; youth development programs, which engaged in school and out of school youth, supporting them in obtaining their diploma or GEDs, as well as finding employment or internships; grant funding to assist individuals with disabilities access employment and training services; a Green Energy Grant; and an English as a Second Language ( ESOL) project in the financial industry. Kim looks forward to using her grant research and writing as well as business development expertise to work with businesses and nonprofits to identify and secure funding to make their dreams of business and nonprofit ownership a reality."},{name:"Keri",specialization:"Business Plan Writing & Student Services",bio:"Keri has been writing business plans since 2012 and enjoys assisting and interacting with her clients. She has a degree in English from Weber State University, and was employed at Weber State University for nearly ten years. During those years, Keri worked in a variety of capacities within the Student Services and Admissions departments including director of new/transfer student orientations, associate director of student recruitment, and admissions advisor. Keri has also worked with Weber State University on website content development, recruitment publications, and student communications plans. She is a life-long Utah resident and loves spending time with my family, vacationing, cycling, baking, gardening, skiing, camping, and reading."}],z_=$_,V_=[{icon:l.jsx(Ah,{className:"h-8 w-8"}),title:"30+ Years Experience",description:"Our grant writers and researchers bring over three decades of expertise in helping clients secure funding."},{icon:l.jsx(Rs,{className:"h-8 w-8"}),title:"One-on-One Dedicated Support",description:"You'll be assigned a professional who works directly with you throughout the application process."},{icon:l.jsx(b_,{className:"h-8 w-8"}),title:"We Handle the Heavy Lifting",description:"Our professionals take care of the research, writing, and review process from start to finish."},{icon:l.jsx(Du,{className:"h-8 w-8"}),title:"Complete Confidentiality",description:"We maintain the highest code of ethics, honesty, and confidentiality in the industry."}],W_=()=>l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(Qn,{}),l.jsx(pe,{className:"pt-16",children:l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[l.jsx("div",{className:"space-y-8 animate-fade-in",children:l.jsxs("div",{children:[l.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-foreground mb-6",children:["Meet Our Team of",l.jsx("span",{className:"bg-gradient-primary bg-clip-text text-transparent",children:" Professionals"})]}),l.jsx("p",{className:"text-xl text-muted-foreground leading-relaxed",children:"Our grant writers and researchers have over 30 years of experience helping people get funding for businesses and other projects. When you work with us, you'll be assigned a professional grant writer and researcher with unlimited email access who will work one-on-one with you from start to finish."})]})}),l.jsx("div",{className:"relative animate-slide-up",children:l.jsx("img",{src:A0,alt:"Professional team meeting",className:"rounded-2xl shadow-elegant w-full h-auto"})})]})}),l.jsx(pe,{className:"bg-muted/30",children:l.jsxs("div",{className:"text-center space-y-8 animate-fade-in",children:[l.jsxs("div",{children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Why Choose Our Professionals?"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"When you work with our team, you'll gain expert guidance every step of the way. We're here to simplify the process and help you secure the funding you need with confidence."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:V_.map((e,t)=>l.jsxs(Ae,{className:"group hover:shadow-elegant transition-all duration-300 hover:-translate-y-1",children:[l.jsxs(Nn,{className:"text-center",children:[l.jsx("div",{className:"mx-auto mb-4 p-3 bg-gradient-primary rounded-lg text-primary-foreground group-hover:shadow-glow transition-all duration-300",children:e.icon}),l.jsx(jn,{className:"text-xl",children:e.title})]}),l.jsx(Fe,{children:l.jsx("p",{className:"text-muted-foreground text-center",children:e.description})})]},t))})]})}),l.jsxs(pe,{id:"professionals",className:"bg-muted/30",children:[l.jsxs("div",{className:"text-center space-y-4 mb-16 animate-fade-in",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:"Our Professionals"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"At U.S. Business Funding Solutions, our team of experienced professionals provides clients with the knowledge, tools, and guidance needed to navigate the grant process with confidence. Every day, our experts research and track new funding opportunities, helping you avoid common pitfalls and stay focused on your goals. With their expertise and dedication, you'll have the motivation and support you need to move forward successfully toward securing funding."})]}),l.jsx("div",{className:"space-y-4 max-w-5xl mx-auto",children:z_.map((e,t)=>l.jsx(Ae,{className:"group hover:shadow-elegant transition-all duration-300 animate-fade-in-up",style:{animationDelay:`${t*50}ms`},children:l.jsx(Fe,{className:"p-6",children:l.jsxs("div",{className:"space-y-4",children:[l.jsx("h3",{className:"text-2xl font-bold group-hover:text-primary transition-colors",children:e.name}),l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e.bio})]})})},t))})]}),l.jsx(pe,{className:"bg-muted/30",children:l.jsxs("div",{className:"space-y-8 animate-fade-in",children:[l.jsxs("div",{className:"text-center",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:"What Our Clients Say"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Real success stories from businesses we've helped"})]}),l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 max-w-6xl mx-auto",children:[l.jsx(Ae,{className:"bg-background hover:shadow-elegant transition-all duration-300 hover:-translate-y-1",children:l.jsxs(Fe,{className:"p-6 space-y-3",children:[l.jsx("p",{className:"text-foreground italic leading-relaxed",children:'"This has been a very exciting time for us! I was very surprised when the funding offer came in so generous at 1 million dollars for my small business."'}),l.jsx("div",{className:"flex items-center gap-1",children:[...Array(5)].map((e,t)=>l.jsx(Rs,{className:"h-5 w-5 text-yellow-400 fill-yellow-400"},t))}),l.jsx("p",{className:"text-sm font-semibold text-foreground",children:"— Christina & Kelly"})]})}),l.jsx(Ae,{className:"bg-background hover:shadow-elegant transition-all duration-300 hover:-translate-y-1",children:l.jsxs(Fe,{className:"p-6 space-y-3",children:[l.jsx("p",{className:"text-foreground italic leading-relaxed",children:`"Nicole's assistance and support has been amazing. She is very knowledgeable and communicates excellently. She completed my business plan and it was perfect."`}),l.jsx("div",{className:"flex items-center gap-1",children:[...Array(5)].map((e,t)=>l.jsx(Rs,{className:"h-5 w-5 text-yellow-400 fill-yellow-400"},t))}),l.jsx("p",{className:"text-sm font-semibold text-foreground",children:"— Darryl J."})]})}),l.jsx(Ae,{className:"bg-background hover:shadow-elegant transition-all duration-300 hover:-translate-y-1",children:l.jsxs(Fe,{className:"p-6 space-y-3",children:[l.jsx("p",{className:"text-foreground italic leading-relaxed",children:`"Keri went above and beyond her expectations on this business plan! She's got the ability to turn it into a spectacular presentation that everyone wants to see!"`}),l.jsx("div",{className:"flex items-center gap-1",children:[...Array(5)].map((e,t)=>l.jsx(Rs,{className:"h-5 w-5 text-yellow-400 fill-yellow-400"},t))}),l.jsx("p",{className:"text-sm font-semibold text-foreground",children:"— Tim M."})]})})]})]})}),l.jsx(Yn,{})]});function H_({title:e,titleId:t,...n},r){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?d.createElement("title",{id:t},e):null,d.createElement("path",{fillRule:"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.006 5.404.434c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.434 2.082-5.005Z",clipRule:"evenodd"}))}const M0=d.forwardRef(H_),U_="/assets/testimonial-christina-p4hbsHNr.jpg",K_="/assets/testimonial-kelly-CbJQhXmm.jpg",G_=[{name:"Christina & Kelly",images:[U_,K_],quote:"This has been a very exciting time for us! I was very surprised to put it mildly, when the funding offer came in so generous at 1 million dollars for my small business. It took my breath away! I even had to repeat the offer to make sure I had heard him correctly! With this large investment we can now buy property and build the shop exactly the way we have been praying for. We are looking forward to a very prosperous future for our shop and the community we will be serving thanks to Woodrow and all his support. I would urge anyone looking for financial backing not to give up!! It takes time and dedication, but it will happen if you want it bad enough.",hasStars:!1},{name:"Annette & Jim S.",images:[N0],quote:"We have worked very hard on the Shufflebowl 300 for several years now. In the end, it evolved into a game table with more than 50 different games which can be played no matter the age, size, or disability the user may have. Woodrow is helping us work through the grant writing process with patience and knowledge. We appreciate so much his professionalism. We found his help invaluable in winning the AT&T Grant and in getting to the point where we are today. We look forward to continued success with Woodrow and U.S. Business Funding Solutions!",hasStars:!1},{name:"Cynthia S.",images:[j0],quote:"I am so excited about the grant I got! I could not have done it without you. Our Monday nights have paid off. You have always given me the best ideas and really helped me to understand the grant process. I appreciate all that you have taught me and been very supportive. Always a phone call away. Thank you, let's keep up the good work.",hasStars:!1},{name:"Ron and Lola",images:[E0],quote:"This past year I have worked with Randy on helping our business locate to our home. With the help from some of the contacts through the Rural Economic Growth Group we were able to secure a grant, which we are using for construction of a new building to house our catering business. We are able to do our catering in a new area instead of out of our house for the everyday processing of the many foods that we serve. Again thanks for the help!",hasStars:!1},{name:"Vernon",images:[I0],quote:"I have been able to successfully start my own commercial cleaning business with your help. I am the recipient of a modest needs grant and two financial assistance grants. I am also in the process of starting my non-profit business for low income families. With your help, I've been given the tools and the knowledge I need to complete these goals. It has been a very spiritual journey for me and have received great gifts from God. You have always been there to guide and advise me in the areas that I may need help. I would encourage anyone looking to further their goals to seek assistance from you. You are a great company and one that can be trusted.",hasStars:!1},{name:"Sandra",images:[_0],quote:"I had my entire Grad School Tuition waived! I have been wanting to attend Graduate School for a while now, but needed ways to help pay for the tuition. Since I am hearing impaired and have had to wear hearing aids for many years, I wondered if there might be any grants available to help me pay my tuition costs. After taking your class, you taught me to explore all options - so I questioned my audiologist if she knew of any grants available for the hearing impaired. She directed me to the Student Disability department at the university. They referred me to the Office for the Deaf and Hard of Hearing Services. The representative I spoke with emailed me the application - I filled out the paperwork - and I found that I not only quality for assistance, but could have my enitre tuition waived!",hasStars:!1},{name:"Bill",images:[T0],quote:"We were very surprised on how short of time it took to receive our first check. Working with Woodrow has been a great learning experience. Working with someone who has great patience has been a godsend for us. Woodrow would investigate all the grant proposals for us and explain why or why not to apply for certain grants.",hasStars:!1}],Z_=[{name:"Maggie & Bob",quote:"First of all, we want to thank you for what you are doing for us. The TELCON we had with you the other day was very encouraging. I am retired from the Federal Aviation Administration. For the last seven years I was an Aircraft Accident Investigator. Let me tell you, I know the difference between working with someone who knows what they are doing and those who don't. We found you to be very professional, but still very personable. Thanks so much for all you are doing on our behalf."},{name:"Gary & Roza",quote:"I wanted to write and let you know that Roza and I think so much of you and want to Thank You for all the help you are doing for us. We feel along with your help that someone will come through for us and give us the funding that we need to get our Care Home business going. Every night we pray to the Good Lord in Heaven for someone to help us. We feel along with your help that we are going to our Care Home business up and running very soon. I sent out 2 more Business Plans this morning to a couple of Investor. I truly believe that someone is going to help Roza and I. But we want to Thank You so much as well for helping us."},{name:"Shannon",quote:"I couldn't be happier with the business plan!! You exceeded my expectations, which were very high! Thank you!! THANK YOU!!!"},{name:"Erica",quote:"Truly an amazing experience on Friday! You're inspiring and brilliant! Can't wait until our next session! You amazed me! I see lots of e-mails and I owe you work! I have tomorrow scheduled to crank the work out to you tomorrow for your review and for our next session."},{name:"Delene",quote:'I just received a copy of the finished business plan that Melissa did and I must say..."NO WONDER I WAS HAVING SUCH A HARD TIME ON MY OWN!!" You guys are awesome at what you do. I am soooo very glad that I decided to get your help. Thanks again for all you are doing.'},{name:"James & Anita",quote:"I just wanted to let you know that we thank-you and appreciate your commitment and for doing us a great job. Is this all we would need from you to go forward with our search for grants, if so thank-you and and appreciate you and your group of people and their hard work."},{name:"Troy",quote:"Thank you, I did receive the business plan. I am VERY happy with how it turned out. I have been in over my head for the last month getting the gardens going. With this new business plan, I am now ready to go for those funding opportunities from Randy."},{name:"Roy",quote:"I just wanted to say that I have been following up on all of your findings. I have been in contact with Keri, I have my business template completed and she was going to tweak it some. I want to thank you and Keri for all of your help and time, I cannot thank you enough."},{name:"Jerry",quote:"My name is Jerry and I am currently working with Woody, for the first time, to obtain substantial grant funding to start-up two businesses in West Texas. From the very beginning with Woody I knew we had great knowledge and experience with grant applications and the submission thereof. The successful funding of any grant application means as much to Woody as it does for me. My confidence level is sky high and I look forward for several years of successful grant funding for additional start-up businesses with Woody. He is the greatest! I gladly grant permission to use this statement."},{name:"Max",quote:"Randy is number one! I am in awe of his extensive knowledge in grant guidance. Randy's immediate responses to all my inquiries and his constant reassurances are what set him apart. He is my GPS of financing, but does it with passion, compassion, and eloquence. It is no wonder he has become my personal friend!"},{name:"Char",quote:"Thank you Woodrow, Ken and I really feel more comfortable and have a much better understanding of the grant process than we did a week ago. I attribute this to your outstanding knowledge, thorough explanations, obvious enthusiasm and motivation to help us. I can certainly see how you are very successful in all your endeavors. Ken and I are very fortunate to have you working with us. Thank you. We look forward to spending more time learning from you and will be especially delighted when we receive our first grant. Kind Regards,"},{name:"Nicholas",quote:"I just wanted to thank you personally for all of the hard work you put in to developing this business plan. I have read and reviewed the plan and I cannot relay to you in any certain terms just how pleased and impressed I am with the work that you completed. I have already utilized this plan while working with professional contacts in showing them what goes into developing a business and business plan. By the way....I referred them to you and your company like a salesman! I love the work that all of you do and the help that you provide really alleviates stress that I would have otherwise had to deal with. They are going to be calling you and will be informing your employers that I referred them to you. I also sent them to company corporation for the formation of their company before seeking funding with your employer. Again, thank you and your team soo much for your hard and impressive work. The product really speaks to the level of professionalism which you employ in your job. Please be sure to relay this message to your direct supervisor. I want everyone in a position to reward good work to know just how pleased I am to-date with the services the company has provided. Sincerely & Respectfully,"},{name:"Linda",quote:"To whom it may concern, I have been working with Woodrow for quite awhile now, and am very pleased with him. Like most people, I entered this process without any real knowledge of how it worked. Woodrow has been patient and very helpful in explaining the process itself, as well as the individual grants themselves. His helpfulness and knowledge has allowed him to guide me through the process up til now, including weekly and/or bi weekly appointments. These appointments give us a chance to stay in touch and keep me updated with what is going on. He is also extremely responsive to my email requests, answering them within a 24 hour period. I have been very pleased with Woodrow, and would highly recommend him to anyone interested in this grant process with U.S. Business Funding Solutions."},{name:"Dave",quote:"Woody, After talking with you again today, I am still amazed on how clear you are making this very difficult process. I actually have begun the process to learn this stuff and to be able to start to navigate my way around a bit. I appreciate the fact that you listen to me and understand what my goals are and that you are able to steer me away from the things that would accomplish nothing. I know I would recommend this program to those looking to do grants and I would certainly point them in your direction. I know I have much work to be done but at least I feel confident that I will get the guidance from you to get to my goals. If you ever need to use this email you certainly have my permission to do so. Thanks again,"},{name:"Barbara",quote:"Randy has been a great help to me in locating grant funds for starting up my private music therapy clinic. Those who have worked with me are honest, thoughtful, prayerful, dedicated advisors who put their customers' needs first. I would highly recommend them to those who need help in starting up their own small businesses."},{name:"Kay",quote:`JANELE, WOWWWW!!!!! You are good!! The plan is so professional!! It is absolutely phenomenal!!! What a blessing you are!!! Thank you so much. I can't tell you what it means to see my "dream" presented in such an outstanding way. Again, THANK YOU!!!! I will definetely keep you informed. Have a blessed life!!!`},{name:"Leslie",quote:"To whom it may concern, I have been so pleased with my grant researcher, Randy. He has helped me fill in boxes with a limited amount of space. He is a genius getting all my ideas in, in an intelligent manner. I think I will get this grant."},{name:"Chris H.",quote:"Kris, I just wanted to say ThankYou again for putting my bussiness plan together, you do very nice work, and I really do appreciate the time that you put in to it, again Thank You!"},{name:"Hailey",quote:"Thanks Randy, I appreciate your help!"},{name:"Jamare",quote:"Thank you so much this is going to be a big help to me. I love it it could not have been any better. Thank you for your time and effort and I will try to utilize it to the best of my ability."},{name:"Vonnie",quote:"Thank you Kris. It looks more professional and like a business plan. I very much appreciate your input."},{name:"Jodi",quote:"Randy, All of the grants that you have proposed look great and I am ready to apply. Thanks for all your help."},{name:"Joan",quote:"Thank you so much Woodrow. It looks wonderful. I can't thank you enough. I'm so grateful and thankful. I hope you have a wonderful day and one day we shall see each other here in Hawaii. Have a blessed day and God bless."},{name:"Roland and Carley",quote:"I would like to say that Woodrow is the best. Just the sound of his voice gives you hope. He works with you and is always there for you. He is truly a huge asset to U.S. Business Funding Solutions."},{name:"Bruce",quote:"Thanks Kris, you have been very professional,speedy, and understanding of my deadlines. Thanks again,"},{name:"Roy",quote:"I want to thank everyone for all of your help and time, I cannot thank you enough!"},{name:"Cana",quote:"Randy, Thank you for all that you are doing for me and my family! Many blessings,"},{name:"Ciro",quote:"Hi Kris, Looks great! Thank you again for all your help last night on the financials. It too was a pleasure working with you. Best regards!"},{name:"Benny H.",quote:'Jason said that you were the best, and all I can say is "damn".'},{name:"April",quote:"Janele, Wonderful! So happy. Will recommend this company to anyone."},{name:"Troy",quote:"Thank you, I did receive the bp. I am VERY happy with how it turned out. Thanks again,"},{name:"Bonnie",quote:"I got the Business Plan. It looks great. Thank you for your hard work. Couldn't have done this without you. Again thank you so much."},{name:"Janelle",quote:"Thank you so much, your doing a great job, keep those Funding Applications coming. Best,"},{name:"Nadina",quote:"All I can say is WOW!!! Beautifully written. To see my dream in print was more than over the top."},{name:"Jennifer",quote:'I very much enjoyed talking to you. Needless to say, my anxiety level is at times through the roof, as I watch my retirement money fly out of the bank, and you let me see "the light at the end of the tunnel", which left me feeling a little more calm. Talk to you soon, and thank you for all your advice yesterday!'},{name:"Christie",quote:"I approved my beautifully done business plan. It looks really good. I also appreciate your sending me the grant leads. I am filtering through them and applying to them as I can. Thanks for all your help!"}],Q_=[{name:"Adeoluwa A.",stars:5,quote:"Kim is doing a good job. The business plan was good, and I appreciate her communicating well."},{name:"Admasu T.",stars:5,quote:"I already responded to Ms. Rhonda's email message. I liked the business plan."},{name:"Alejandra G.",stars:5,quote:"I'm very thankful to Kim for all the support she is giving me in the process of the business plan and all the applications for grants. I'm very confident about her support. I highly recommend her."},{name:"Alia M.",stars:5,quote:"Great experience so far, thank you."},{name:"Allen S.",stars:5,quote:"The team has been extremely supportive."},{name:"Amady K.",stars:5,quote:"I learned a lot from Nicole about the business. I appreciate her assistance."},{name:"Amba G.",stars:5,quote:"Michelle did an excellent job of creating the business plan. We had several conversations to get the plan done correctly, and the final document reads very well. Michelle has also guided me toward good quality grants and loans."},{name:"Amy H.",stars:5,quote:"Kim has been responsive, and I have enjoyed working with her. Looking forward to receiving more grant opportunities!"},{name:"Andre W.",stars:5,quote:"The business plan is great. She was very thorough with the details."},{name:"Andrew B.",stars:5,quote:"Kim has been excellent in guiding me through this process. She explains things well and eliminates any confusion I might have."},{name:"Anthony D.",stars:5,quote:"I wrote my business plan at first, but I didn't understand the questions. Not only did she explain how to answer them, she helped me. She told me to look at the questions and answer them, so I wrote my business plan again and answered the questions better. She helped me be more aware of what grants to look at. Although I look at the website, I am a fan of Nicole and a fan of Business Funding Solutions. I will always be a client, I hope."},{name:"Antonio L.",stars:5,quote:"Rhonda has been great to work with. She has completed our business plan, and it is awesome. She has also been sending us numerous updates for funding opportunities."},{name:"April B.",stars:5,quote:"I feel she has made a very professional business plan and am looking forward to working with her as I start applying for my grants."},{name:"Araceli G.",stars:5,quote:"She's been great! Easy to work with."},{name:"Araon V.",stars:5,quote:"Keri is very knowledgeable and straight to the point. I put off applying for funding for years, thinking it would be complicated, and so far it's been amazing. I look forward to doing business with them in the future and have already recommended them to three other friends to get them started."},{name:"Argentry M.",stars:5,quote:"Keep up the amazing work."},{name:"Arthur H.",stars:5,quote:"Kim has been available when I need her, and she has been very helpful in getting my business plan ready and sending over funding opportunities."},{name:"Arthur P.",stars:5,quote:"Everyone that I've talked to and encountered with U.S. Business Funding has been fantastic. I look forward to working with you all every day. Email responses, phone call responses—this team is 100% on point. Thank you."},{name:"Audra J.",stars:5,quote:"Francina stays in constant contact! She is friendly and knowledgeable!"},{name:"Augustine M.",stars:5,quote:"The business plan was very well done. It has been a pleasure working with Francina. She is a great communicator and consistent with the funding opportunities."},{name:"Ayyub S.",stars:5,quote:"I like my business plan."},{name:"Belkis S.",stars:5,quote:"Thanks, Keri, for your professionalism doing the summary of my business plan. I feel very comfortable working with you."},{name:"Brian M.",stars:5,quote:"Keri touched base and made herself available for any questions or concerns I may have had. The quality of her work was impressive—a very thorough and professional product rendered."},{name:"Brian P.",stars:5,quote:"He has been very effective and attentive to my concerns and needs."},{name:"Brianna C.",stars:5,quote:"She is highly responsive. Her ability to take my words and execute is extraordinary. A few revisions were needed—very minor. This is highly impressive considering the document was 20+ pages."},{name:"Bryan B.",stars:5,quote:"Keri is AWESOME. The business plan is far and away better than anything I could have created. That type of work, along with the responsiveness, is 5 stars every time."},{name:"Bryan F.",stars:5,quote:"Michelle did an amazing job. Couldn't have asked for any better service. Very professional and tip-top business coach!"},{name:"Cameron M.",stars:5,quote:"It was awesome."},{name:"Camille C.",stars:5,quote:"She is quick, efficient, and did a great job articulating my plan."},{name:"Carlo T.",stars:5,quote:"Michelle is a great coach and assisted me with any questions I had, and also gave me some great ideas while typing out my business plan. Thank you, Michelle, for responding to me when I needed help."},{name:"Carlos A.",stars:5,quote:"It looks very great, and I'm impressed and very grateful for the help you all are giving me. Kim was very helpful when I had questions and needed answers. Hope everyone has a blessed day."},{name:"Chancy F.",stars:5,quote:"Just nice to have some good help and patience with me while I'm figuring things out. Thanks."},{name:"Charles Q.",stars:5,quote:"Kim has been very helpful, responding to emails and prompting with calls to get useful information across. She completed my business plan in a timely manner, too."},{name:"Charles R.",stars:5,quote:"Great job—thank you."},{name:"Cheryl H.",stars:5,quote:"Michelle is very easy to work with. She helped us through everything. We really appreciate it."},{name:"Cheryl W.",stars:5,quote:"Keri was exceptional! She was helpful and patient with me, as well as quick to respond to questions."},{name:"Chris C.",stars:5,quote:"Keri is obviously an experienced employee and took the information that I provided along with her own research to complete a great business plan for our nonprofit. Kudos and shout-out to Keri!!!"},{name:"Christian A.",stars:5,quote:"Yes, I think Rhonda has been very helpful toward me. She gets me the grants I need, and she works hard at what she does."},{name:"Christian K.",stars:5,quote:"Amazing!! Well detailed!"},{name:"Christie M.",stars:5,quote:"Even though it has been a lengthy process due to this being my first time with a business plan, she has been patient with me. We are moving forward with getting this completed. She is helping me understand a lot about building a business that I had no knowledge of."},{name:"Christina B.",stars:5,quote:"More than I ever expected. It is an absolutely stunning business plan, and we are very proud of it."},{name:"Christine S.",stars:5,quote:"She did an excellent job paring down what I sent her! I appreciate the assistance in getting this done."},{name:"Christopher A.",stars:5,quote:"Easy to communicate with. Intelligent and concise."},{name:"Claudia S.",stars:5,quote:"Quality of the document was professional and met my expectations."},{name:"Clinton K.",stars:5,quote:"Keri communicated in a timely manner and answered all our questions."},{name:"Cornelia O.",stars:5,quote:"The reason I gave her a 5-star: she gave me a speedy response with no excuses. She explained the steps I needed to take. Follow-up—great!"},{name:"Cristian L.",stars:5,quote:"Michelle was excellent… very amazing. She was very helpful. This is all new to me. It's a different world in business. Greatly appreciated."},{name:"Damar T.",stars:5,quote:"Rhonda is very helpful. I would definitely recommend U.S. Business Funding Solutions to my family and friends."},{name:"Damon L.",stars:5,quote:"Nicole has been great to work with. I appreciate her responsiveness and attention to detail. Nicole's work on the business plan for I Am Here Transportation Services, LLC was outstanding. She pulled together our submissions and created a sparkling piece of work that is polished, professional, and complete."},{name:"Dana D.",stars:5,quote:"Excellent."},{name:"Daniel K.",stars:5,quote:"Kari was very thorough explaining the process and what needed to be done and why. I learned more about my company and how to make it better. I will recommend US BFS to every owner that I am friends with."},{name:"Daniel N.",stars:5,quote:"Rhonda has been on track with valued grant opportunities. The business plan that she prepared for my company was especially valuable. I am looking forward to more professional growth with Rhonda."},{name:"Daniel R.",stars:5,quote:"She has been helpful and pleasant to communicate with."},{name:"Darrell A.",stars:5,quote:"Nicole is doing an amazing job, and she is currently assisting us to the best of her ability."},{name:"Darryl J.",stars:5,quote:"Nicole's assistance and support have been amazing. She is very knowledgeable and communicates excellently. She completed my business plan, and it was perfect. Now we are proceeding with grant writing and submittals."},{name:"Dawn C.",stars:5,quote:"Her business plan was amazing."},{name:"Deanna H.",stars:5,quote:"She knows exactly what to do. She's extremely polite."},{name:"Deborah H.",stars:5,quote:"Nicole has done a very good job putting my business plan together."},{name:"Delitha H.",stars:5,quote:"Hello, yes—she has been wonderful and very helpful. The business plan she wrote up was very clear and straight to the point."},{name:"Denise W.",stars:5,quote:"Hello, we enjoy working with Francina. I hope to meet with her soon to review the business plan we received."},{name:"Dennis C.",stars:5,quote:"Rhonda has done a great job—just need to get the spelling of the COM-VAC engine changed. Thanks."},{name:"Dennis H.",stars:5,quote:"She helped me apply for grants for my business and filled out the business plan for the parts I didn't know how to do, and did the financial part of my grant that I didn't know how to do."},{name:"Destin H.",stars:5,quote:"Kim was great! She helped me out a lot and was very responsive with questions, making sure that I had everything in place so that she could understand what I need to make my plan successful! Thanks again to Kim."},{name:"Donna Z.",stars:5,quote:"Very pleased with what Keri did for my company. Thank you so much!"},{name:"Dorothy B.",stars:5,quote:"Rhonda has been absolutely wonderful. She has been excellent in keeping in touch and offering grant application opportunities. I have to admit that when I decided I needed a grant to enhance and grow my business, I was intimidated by the process and almost gave up. But I enrolled with U.S. Business Funding Solutions and got Rhonda as my coach. Her knowledge, reassurance, support, and help have been invaluable. Success in achieving any grants will be largely due to her. She is always willing to review, edit, and offer suggestions so that my chances of being awarded a grant are substantially increased. I can't do this without her. Thank you."},{name:"Doug B.",stars:5,quote:"Very nice and patient—and a very nice business plan."},{name:"Dustin C.",stars:5,quote:"She did an excellent job on my business plan."},{name:"Dylan E.",stars:5,quote:"She was very prompt with returning my business plan and was super professional."},{name:"Earl D.",stars:5,quote:"Michelle has been nothing but professional. She put together a great plan. I am looking forward to getting some type of funding now. Team Michelle—5 stars."},{name:"Earl M.",stars:5,quote:"I would like to thank everyone for your great support and guidance. As far as Rhonda—she is the best."},{name:"Edward M.",stars:5,quote:"It is very well done. It covers my ideas as well. Thank you."},{name:"Elierobed P.",stars:5,quote:"She is amazing!!!"},{name:"Elisha M.",stars:5,quote:"Very responsive and great demeanor. Great to work with."},{name:"Elizabeth B.",stars:5,quote:"She was helpful and responsive and very quick with returning the business plan!"},{name:"Emmanuel W.",stars:5,quote:"Rhonda has done a phenomenal job. I'm more confident after receiving Rhonda's help."},{name:"Ernest S.",stars:5,quote:"She has been extremely helpful with the process."},{name:"Ernesto V.",stars:5,quote:"Keri completed/developed a solid business plan in less than expected time. Very efficient."},{name:"Eucario C.",stars:5,quote:"She is great. I love the business plan and have no complaints about it. Can't wait to see what else she can help me with."},{name:"Farhad M.",stars:5,quote:"Very professional work has been done. I appreciate Keri's job."},{name:"Faytreeon H.",stars:5,quote:"I love working with Francena. She's awesome and very helpful with all my questions and concerns."},{name:"Freddy M.",stars:5,quote:"She responded to all my questions."},{name:"Frederick L.",stars:5,quote:"Really appreciate the professionalism and execution. Rhonda has been great—thanks a bunch."},{name:"Gavin H.",stars:5,quote:"She's been really helpful. Thank you, Francina."},{name:"George R.",stars:5,quote:"She has been great helping us through the process. We still need help finding some grants. I believe that's the next step."},{name:"Gerald T.",stars:5,quote:"It was great working with her. Everything was explained and understandable very well. I appreciate it."},{name:"Gilbert H.",stars:5,quote:"I liked working with David. I enjoyed the process."},{name:"Gilbert R.",stars:5,quote:"Considerable timely communications. No delays."},{name:"Gregory H.",stars:5,quote:"Thank you very much for giving me Keri to work on my business plan. Keri is the best. She has given me what I believe is an outstanding business plan. I love her patience and assistance. What I didn't have or complete, she informed me and waited patiently for me to return the corrected documentation. Thanks again—I came to the right place. Much appreciated."},{name:"Heather J.",stars:5,quote:"Francina has been absolutely amazing! I am so thankful for her through this whole process! Honestly, I was clueless and have learned a lot thanks to her! I still haven't received a grant yet, but I am patient and will keep applying to reach my goal! Thank you for everything!!"},{name:"Hope S.",stars:5,quote:"Keri is absolutely amazing. Her response time is phenomenal. She provided feedback that was easy to understand. It was a pleasure working with her."},{name:"James B.",stars:5,quote:"I am very well pleased and overjoyed with the professional business plan written by Ms. Michelle Palmer of U.S. Business Funding Solutions for me. Much of the information needed in the business plan to seek grant funding was not clearly understood by me, but Ms. Palmer coached me by email and through phone appointment conversations until I was able to clearly understand the value of specific information required in each line and column of my business plan. Frequent adjustments were made to accommodate my time schedule for phone calls to address questions that would arise from time to time. I couldn't have asked for a better business coach than Ms. Michelle. Indeed, she suggested many active grant funding opportunities as well as loans for upstarts and existing small businesses. I now have leverage that I never would have had without Ms. Michelle's friendly, expert, unassuming, and highly valuable assistance. Because of her investment of time, energy, effort, and professional guidance, 2023 looks wonderfully prosperous to me. Thank you, Ms. Michelle!"},{name:"James C.",stars:5,quote:"It took me three weeks to fill out (write, re-write, etc.) the template. When completed, it took Kim only one week to reply with what turned out to be a simple editing project for me. I was able to expound on a couple of points and add information regarding the recently acquired Public Charity classification by the IRS."},{name:"Jason M.",stars:5,quote:"Keri exceeded my expectations, and I am extremely happy with my product. I feel ready."},{name:"Jennoa G.",stars:5,quote:"Working with Rhonda was great. I absolutely love the business plan for Perpetual Gifts and look forward to finding the right investor or grant to help move the company forward."},{name:"Jeremy D.",stars:5,quote:"Excellent."},{name:"Jerry P.",stars:5,quote:"She's very helpful. She's understanding. Everything she does is great, and I really appreciate all her help. Thank you all very much—especially you, Rhonda."},{name:"Jody Lou C.",stars:5,quote:"She has kept me moving on it. I am a procrastinator, and this was not an easy thing to prepare. I am very impressed with what she gave back to me in the finished plan. She took my words and ideas and made them sound very professional. She did some great research to add to my original writing."},{name:"Joe J.",stars:5,quote:"Everything is going excellent. I'm so very excited to get going with the projects (with the housing). The business plan looks great. I really enjoy working with Rhonda very, very much, except I would like to hear her voice—her encouragements, her enthusiasm—to hear her words about how she's coaching. But again, I give the highest marks for being my excellent coach."},{name:"John D.",stars:5,quote:"Keri wrote it better than I could. A wonderful check as to what our nonprofit does, and she found national foundations that do what we do. An excellent presentation. — John Donohue"},{name:"Jonathan B.",stars:5,quote:"She did an excellent job! The business plan looks amazing, and I feel confident going into grant applications with this in my pocket."},{name:"Joseph W.",stars:5,quote:"Michelle was awesome. I would definitely work with her again."},{name:"Justin B.",stars:5,quote:"Keri did a great job, and my business plan looks fantastic! I'm excited to see how the process goes from here."},{name:"Karen M.",stars:5,quote:"We thoroughly enjoyed working with Michelle as our business coach. She walked us through each step, offering much-needed insights along the way. The business plan she prepared for us is second to none—just simply superb!"},{name:"Kathy S.",stars:5,quote:"I have enjoyed working with Kim. She was very informative and followed up with me when I got too busy to finish an application. She was very quick to complete my business plan and send me the resources to apply. She is wonderful, and I would love to recommend this company—and especially Kim and Leslie—to all my friends who own a business."},{name:"Kathy W.",stars:5,quote:"I appreciate the assistance of Nicole. I look forward to her insight. I completed my business plan and look forward to her input."},{name:"Katie P.",stars:5,quote:"Excellent help in writing my business plan—highly recommend!"},{name:"Kelvin G.",stars:5,quote:"Yes, working with Francina is amazing, and she's very helpful and great at what she does."},{name:"Kevin R.",stars:5,quote:"Everyone I've worked with has been great, and Kim is wonderful."},{name:"Kirby R.",stars:5,quote:"Mr. Frank has been a great help, and he's provided information I didn't know before completing my business plan. I want to continue to work with Mr. Frank and hope we can continue in the future."},{name:"Kirk W.",stars:5,quote:"Kari put the business plan together from my entries, and it looked great! It would have taken me weeks to finish the plan."},{name:"Larry B.",stars:5,quote:"Michelle is a true professional and a very kind and thoughtful person. She has been a real blessing to me."},{name:"Larry M.",stars:5,quote:"Yes, I got it, and she did an awesome job on it—but something happened, and it is not in my email anymore, so I was going to see if she could send it again."},{name:"Lavonne K.",stars:5,quote:"I haven't read through the whole business, but what I have read was amazing!! Thank you, Rhonda."},{name:"Lenora D.",stars:5,quote:"She is really helping me to understand my path, plus she sent me my business plan."},{name:"Linda B.",stars:5,quote:"The business plan was great! After reading it, I realized that I had forgotten a few insights into the need for this program, but I guess there is no changing it at this time. Rhonda did a super job!"},{name:"Linda S.",stars:5,quote:"It only took her two weeks to get the business plan finished, and when there was a correction, it was done the next day. I am happy with my experience with Keri."},{name:"Lisa M.",stars:5,quote:"Nicole has been great from the beginning. She has been patient and encouraging to me so I would give her what she needs to help me through all of the processes. Once I gave her what she needed, it got even better."},{name:"Liz B.",stars:5,quote:"The plan is nicely worded and has so much info in it. I have been able to use various parts of it to do applications. I appreciate all the hard work that went into it. Thanks so very much."},{name:"Lucas T.",stars:5,quote:"The plan looks great, and Keri was very patient with me while I figured out how to answer the questions in the template."},{name:"Luis C.",stars:5,quote:"Nicole has been very successful at delivering the message of who we are as a company and all we want to achieve with this business plan. Nicole is very professional, knowledgeable, reliable, and prompt. She has been guiding us through the process since day one. We have been very pleased to have her working with us."},{name:"Lynn V.",stars:5,quote:"While I was melting down from so much death in my family and friends last year, she worked with me. She was kind and supportive. The only glitch was my computer skills, which I am working on."},{name:"Mamou B.",stars:5,quote:"Michelle is very knowledgeable, patient, collaborative, and nice. She was very easy to work with, open to questions and suggestions. I would definitely recommend Michelle to friends and family whenever I have the opportunity."},{name:"Marc J.",stars:5,quote:"She is great—excellent business plan."},{name:"Margaret C.",stars:5,quote:"Rhonda has been very thorough and precise. The business plan that she prepared for me was very good. She gave me instructions on how to present my business plan to the funding businesses. She has been great."},{name:"Maria B.",stars:5,quote:"She was very helpful and responded to email when I had questions or needed clarification."},{name:"Maribel N.",stars:5,quote:"Nicole is great—very knowledgeable, easy to talk to, and a real asset to your company! I really enjoy working with her on these grants. She is the best!"},{name:"Mary W.",stars:5,quote:"Keri did an exceptional job with the business plan! It was very thorough and eloquently written. I am very proud to present it to potential investors."},{name:"Marylilia N.",stars:5,quote:"Kim has been of great help in putting this business plan together quickly and also helped me make my vision plain and exactly as I would have asked for. I am excited as we take the journey of applying for funding. Thank you."},{name:"Matthew F.",stars:5,quote:"Keri seemed to understand the details of the business and created a great-looking business plan. Keri also did this in a great time frame, which I am very thankful for. I look forward to tweaking the plan as needed and having her expertise!"},{name:"Max T.",stars:5,quote:"She has made a big difference in how my business plan now reads."},{name:"Melanie B.",stars:5,quote:"She is responsive, understanding, and very patient with me during this process."},{name:"Michael M.",stars:5,quote:"Rhonda has written a very detailed business plan with the information I provided. I need to make some changes to the business plan. I plan to add more detail and more favorable projections. I was very modest in the first draft. This will be the business plan I will be using to apply for business loans as well as opportunities such as the Roddenberry Fund. These opportunities require a lot more detail than I provided in the first draft. I would like to see more BIPOC opportunities. I am a Hispanic man and would love to be around entrepreneurs who faced the same issues I faced starting up."},{name:"Michael P.",stars:5,quote:"It is well written and organized—a professional product. I am very pleased!"},{name:"Michelle A.",stars:5,quote:"Nicole has done a wonderful job explaining my goals and future for my farm."},{name:"Michelle B.",stars:5,quote:"I have enjoyed working with Michelle, and I am speechless over my business plan. It was amazing, and I am so glad to be a part of this program."},{name:"Michelle W.",stars:5,quote:"Michelle did a fantastic job on our business plan. My experience with this service thus far has been very positive. Thank you!"},{name:"Muhammad Ali J.",stars:5,quote:"She did a very nice job setting up the business plan and everything. — Ali Johar"},{name:"Nagani D.",stars:5,quote:"The business plan is just what I needed to move forward and is very well put together! Keri has provided me assistance from the start! I ran into a glitch on my end but will soon have it resolved. Thank you!"},{name:"Naomi M.",stars:5,quote:"Extremely helpful, and the business plan she wrote up for us was amazing—could never have done it better. She replies immediately, and the offers she has been sending me have been really good. Excited to keep working with her!"},{name:"Nichola B.",stars:5,quote:"I really appreciate Nicole. She has been helping me a lot, and she has more patience with me all the time. Thank you so much for your help."},{name:"Nkongho Elvis T.",stars:5,quote:"I find the business plan to be top notch and hope to use it for all my grants applications for this year. I appreciate the effort put into developing the business plan."},{name:"Octavia H.",stars:5,quote:"She is awesome. She has been very patient with me and attentive to detail. I love the business plan she created. It is very detailed. She has sent me many opportunities for funding. Overall, she is very pleasant to work with."},{name:"Oxana B.",stars:5,quote:"It was very quick. Thank you, Keri, for immediate work—nicely done."},{name:"Patrick J.",stars:5,quote:"Kim is doing great. Glad I get to work with her."},{name:"Paul K.",stars:5,quote:"Michelle is an amazing, very skilled, and caring guide. I've never done this before, and she has guided me every step of the way, including taking my good business plan and making it great. I highly recommend Michelle!!!"},{name:"Pearlie N.",stars:5,quote:"Rhonda is an asset in helping us with grants. The business plan is awesome!"},{name:"Peggy L.",stars:5,quote:"I found my experience excellent with this company. I loved how Ms. Francina made my words come to life on paper. It made me feel amazing. I thank her so much for her help."},{name:"Pierre J.",stars:5,quote:"She is very patient and helpful. I was having some issues on how to answer the questions for our business plan, but she patiently explained each question to me. She did a wonderful job for us."},{name:"Raine H.",stars:5,quote:"We have just started our journey with U.S. Business Funding Solutions, but already we are impressed and excited for what is to come. Keri took our questionnaire template and produced a fabulous, well-written, and thorough business plan within a few short days. We are hopeful and confident that we will be matched to a grant that suits our needs in the coming weeks/months. Thank you."},{name:"Rhonda W.",stars:5,quote:"Keri was wonderful—very prompt and efficient. The business plan looks great."},{name:"Robert G.",stars:5,quote:"Nicole has been a great asset with my grant process. She just completed my first business plan, and it looks spectacular. There is a bit of tweaking to do, and then it is on to the next step in the process. Nicole has been quite professional as well as personable during the entire process."},{name:"Robert G.",stars:5,quote:"Francina is absolutely wonderful. She is a great person to work with—very helpful and knowledgeable. I am sure we will secure funding with her help!"},{name:"Robert M.",stars:5,quote:"Kim has been quick to respond to any questions, and our business plan is PERFECT! Thanks to Kim for all she is doing!"},{name:"Ronald P.",stars:5,quote:"Hi. So far, nice job on the business plan. I will have a few changes to make and will put them all in one email—hopefully tomorrow."},{name:"Scott H.",stars:5,quote:"She made everything that I wrote look much more professional."},{name:"Scott H.",stars:5,quote:"Woodrow and Keri have been great. I am working on my business plan, and according to Keri, I am on the right track. I'm excited to be doing this. Thank you."},{name:"Shaniece B.",stars:5,quote:"I enjoyed working with Michelle. She was very informative and patient with me. I would recommend her to everyone."},{name:"Shannon K.",stars:5,quote:"Michelle has been patient with me throughout the process, giving great advice and coaching. She is clear, articulate, and collaborative."},{name:"Shaunice A.",stars:5,quote:"Nicole has been great and very communicative. My business plan turned out great, and I am excited to get things rolling for my nonprofit!"},{name:"Shawn F.",stars:5,quote:"It looks amazing. Thank you so much—fingers crossed this is just what we need to start rebuilding our community here in Springfield. Thank you guys so, so much."},{name:"Sheila D.",stars:5,quote:"Business plan written—excellent."},{name:"Sheila H.",stars:5,quote:"Keri did a fabulous job of putting together a business plan for our start-up organic farm. The plan was thorough, thoughtful, and complete. We are entirely satisfied with the work Keri did for us."},{name:"Shinnell S.",stars:5,quote:"Keri is excellent and has done an exceptional job on my business plan."},{name:"Silke H.",stars:5,quote:"Overall, I had a great experience, and I received several grant opportunities. We love the business plan—Rhonda did a wonderful job."},{name:"Stephen S.",stars:5,quote:"I really appreciated her help with the business plan. She's a really pleasant person, and it's enjoyable to work with her."},{name:"Summer J.",stars:5,quote:"Very happy. She is a thoughtful writer and I appreciated the graphs, charts, etc., to aid in visualizing financials for the grantor."},{name:"Summer R.",stars:5,quote:"Rhonda's rewriting of my business plan was very professional and impactful. She has been sending me funding leads regularly, which I have just started to follow up on as time has permitted. I appreciate her hard work and support."},{name:"Tashawn G.",stars:5,quote:"She seems cool, gets her side of the work done fast, and does a job well done in my eyes."},{name:"Tim C.",stars:5,quote:"Keri was very efficient and detailed in her preparation of my business plan."},{name:"Tim M.",stars:5,quote:"Keri went above and beyond her expectations on this business plan, in my opinion. Her exploration/research beyond my research is making this business plan stand out. I've learned a lot from working with Keri. She's got the ability to take a regular business plan and turn it into a spectacular presentation that everyone wants to see! She did really well. You are so fortunate to have her. Thanks — Tim McCormick."},{name:"Timothy C.",stars:5,quote:"It's been great—very helpful."},{name:"Timothy T.",stars:5,quote:"Nicole is so helpful and wonderful. So grateful for her. — Tim 407-694-4733"},{name:"Tina B.",stars:5,quote:"Francina has been on it. At no time did I feel judged by my lack of understanding of business plans. She was positive, helpful, and efficient! My Board of Directors and I are very grateful and happy with the services, and especially her. Thank you for providing this service. We just need to know where and how to find the funds! Question: Is there a training to best write these solicitations for funds and grants? I have two volunteers willing to do this. :) I also just told my son about you all and everyone in my network, because I believe you are the solution for our nonprofit to stay open! Thank you!"},{name:"Vanassa H.",stars:5,quote:"Great job! Well done!"},{name:"Venantius N.",stars:5,quote:"She is very professional, delivers very promptly, and has sent several referrals my way. I look forward to working more with her in the future."},{name:"Veronica F.",stars:5,quote:"I am impressed with how incredible she is and her work. Thank you!"},{name:"Victor L.",stars:5,quote:"Francina is very helpful and knowledgeable at what she does. She prioritizes her clients to the point of calling you on weekends to ask questions about your needs. I am glad to be working with her. — Victor Lartey"},{name:"Von M.",stars:5,quote:"Thank you for the amazing job on the business plan. We are blown away by the level of detail and professionalism this plan was written with. We want to emphasize our extreme satisfaction with the business plan. It's almost hard to believe it describes our company. It reads like a top-level Fortune 500 business manifesto that has established name recognition in the industry for decades. Great job."},{name:"Wilfred B.",stars:5,quote:"Very good at what they do in research and writing business plans."},{name:"William G.",stars:5,quote:"Nicole is awesome. I have nothing but positive interactions with her."},{name:"William M.",stars:5,quote:"Michele was great. I was a particularly difficult client, and Michele's patience and guidance were spot on. She represented your company very well."},{name:"William P.",stars:5,quote:"Rhonda has been amazing—kind and very helpful. I would recommend her to anyone who asked about your company. I hope to continue to work with her. I have not had the chance to review the paperwork; I have been very sick and am only now getting around again. I will review it this weekend and reach out to Rhonda. Thank you."}],Y_=()=>l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(Qn,{}),l.jsx(pe,{className:"pt-16 pb-8",children:l.jsxs("div",{className:"text-center space-y-6 animate-fade-in",children:[l.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-foreground",children:["Client Success",l.jsx("span",{className:"bg-gradient-primary bg-clip-text text-transparent",children:" Stories"})]}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto leading-relaxed",children:"Discover how our professional team has helped businesses and organizations across various industries secure the funding they need to grow and succeed."})]})}),l.jsx(pe,{className:"bg-muted/30",children:l.jsxs("div",{className:"space-y-12 animate-fade-in",children:[l.jsxs("div",{className:"text-center",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Featured Success Stories"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Real stories from real clients who have achieved their funding goals with our help."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:G_.map((e,t)=>l.jsx(Ae,{className:"group hover:shadow-elegant transition-all duration-300 hover:-translate-y-1",children:l.jsxs(Fe,{className:"p-6 space-y-4",children:[l.jsxs("blockquote",{className:"text-muted-foreground italic leading-relaxed",children:['"',e.quote,'"']}),l.jsx("div",{className:"pt-4 border-t border-border",children:l.jsxs("div",{className:"flex items-center space-x-4 mb-3",children:[e.images&&e.images.length>0&&l.jsx("div",{className:"flex -space-x-3",children:e.images.map((n,r)=>l.jsx("img",{src:n,alt:`${e.name} ${r+1}`,className:"w-20 h-20 rounded-full object-cover border-2 border-background"},r))}),l.jsx("div",{className:"font-semibold text-foreground",children:e.name})]})})]})},t))})]})}),l.jsx(pe,{children:l.jsxs("div",{className:"space-y-12 animate-fade-in",children:[l.jsxs("div",{className:"text-center",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"More Client Testimonials"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Hundreds of satisfied clients across the nation."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:Z_.map((e,t)=>l.jsx(Ae,{className:"group hover:shadow-lg transition-all duration-300",children:l.jsxs(Fe,{className:"p-6 space-y-4",children:[l.jsxs("blockquote",{className:"text-muted-foreground italic leading-relaxed",children:['"',e.quote,'"']}),l.jsx("div",{className:"pt-4 border-t border-border",children:l.jsx("div",{className:"font-semibold text-foreground",children:e.name})})]})},t))})]})}),l.jsx(pe,{className:"bg-muted/30",children:l.jsxs("div",{className:"space-y-12 animate-fade-in",children:[l.jsxs("div",{className:"text-center",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"5-Star Client Reviews"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"See what our clients are saying about working with our professional team."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:Q_.map((e,t)=>l.jsx(Ae,{className:"group hover:shadow-lg transition-all duration-300",children:l.jsxs(Fe,{className:"p-6 space-y-4",children:[l.jsx("div",{className:"flex space-x-1",children:[...Array(e.stars)].map((n,r)=>l.jsx(M0,{className:"h-4 w-4 text-accent fill-current"},r))}),l.jsxs("blockquote",{className:"text-muted-foreground italic leading-relaxed text-sm",children:['"',e.quote,'"']}),l.jsx("div",{className:"pt-4 border-t border-border",children:l.jsx("div",{className:"font-semibold text-foreground text-sm",children:e.name})})]})},t))})]})}),l.jsx(Yn,{})]}),ur=d.forwardRef(({className:e,type:t,...n},r)=>l.jsx("input",{type:t,className:he("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));ur.displayName="Input";const O0=d.forwardRef(({className:e,...t},n)=>l.jsx("textarea",{className:he("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));O0.displayName="Textarea";var J_="Label",F0=d.forwardRef((e,t)=>l.jsx(oe.label,{...e,ref:t,onMouseDown:n=>{var s;n.target.closest("button, input, select, textarea")||((s=e.onMouseDown)==null||s.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));F0.displayName=J_;var D0=F0;const X_=vi("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ha=d.forwardRef(({className:e,...t},n)=>l.jsx(D0,{ref:n,className:he(X_(),e),...t}));ha.displayName=D0.displayName;var eT=d.createContext(void 0);function Lu(e){const t=d.useContext(eT);return e||t||"ltr"}var qc="rovingFocusGroup.onEntryFocus",tT={bubbles:!1,cancelable:!0},xi="RovingFocusGroup",[Qd,L0,nT]=Su(xi),[rT,q0]=En(xi,[nT]),[sT,aT]=rT(xi),B0=d.forwardRef((e,t)=>l.jsx(Qd.Provider,{scope:e.__scopeRovingFocusGroup,children:l.jsx(Qd.Slot,{scope:e.__scopeRovingFocusGroup,children:l.jsx(oT,{...e,ref:t})})}));B0.displayName=xi;var oT=d.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:s=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:i,onCurrentTabStopIdChange:u,onEntryFocus:c,preventScrollOnEntryFocus:f=!1,...h}=e,y=d.useRef(null),m=je(t,y),b=Lu(a),[g,x]=wr({prop:o,defaultProp:i??null,onChange:u,caller:xi}),[w,p]=d.useState(!1),v=rn(c),k=L0(n),S=d.useRef(!1),[j,N]=d.useState(0);return d.useEffect(()=>{const _=y.current;if(_)return _.addEventListener(qc,v),()=>_.removeEventListener(qc,v)},[v]),l.jsx(sT,{scope:n,orientation:r,dir:b,loop:s,currentTabStopId:g,onItemFocus:d.useCallback(_=>x(_),[x]),onItemShiftTab:d.useCallback(()=>p(!0),[]),onFocusableItemAdd:d.useCallback(()=>N(_=>_+1),[]),onFocusableItemRemove:d.useCallback(()=>N(_=>_-1),[]),children:l.jsx(oe.div,{tabIndex:w||j===0?-1:0,"data-orientation":r,...h,ref:m,style:{outline:"none",...e.style},onMouseDown:re(e.onMouseDown,()=>{S.current=!0}),onFocus:re(e.onFocus,_=>{const F=!S.current;if(_.target===_.currentTarget&&F&&!w){const D=new CustomEvent(qc,tT);if(_.currentTarget.dispatchEvent(D),!D.defaultPrevented){const G=k().filter($=>$.focusable),M=G.find($=>$.active),z=G.find($=>$.id===g),J=[M,z,...G].filter(Boolean).map($=>$.ref.current);V0(J,f)}}S.current=!1}),onBlur:re(e.onBlur,()=>p(!1))})})}),$0="RovingFocusGroupItem",z0=d.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:s=!1,tabStopId:a,children:o,...i}=e,u=pr(),c=a||u,f=aT($0,n),h=f.currentTabStopId===c,y=L0(n),{onFocusableItemAdd:m,onFocusableItemRemove:b,currentTabStopId:g}=f;return d.useEffect(()=>{if(r)return m(),()=>b()},[r,m,b]),l.jsx(Qd.ItemSlot,{scope:n,id:c,focusable:r,active:s,children:l.jsx(oe.span,{tabIndex:h?0:-1,"data-orientation":f.orientation,...i,ref:t,onMouseDown:re(e.onMouseDown,x=>{r?f.onItemFocus(c):x.preventDefault()}),onFocus:re(e.onFocus,()=>f.onItemFocus(c)),onKeyDown:re(e.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){f.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const w=uT(x,f.orientation,f.dir);if(w!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let v=y().filter(k=>k.focusable).map(k=>k.ref.current);if(w==="last")v.reverse();else if(w==="prev"||w==="next"){w==="prev"&&v.reverse();const k=v.indexOf(x.currentTarget);v=f.loop?cT(v,k+1):v.slice(k+1)}setTimeout(()=>V0(v))}}),children:typeof o=="function"?o({isCurrentTabStop:h,hasTabStop:g!=null}):o})})});z0.displayName=$0;var iT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function lT(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function uT(e,t,n){const r=lT(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return iT[r]}function V0(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function cT(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var dT=B0,fT=z0;function W0(e){const t=d.useRef({value:e,previous:e});return d.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Mh="Radio",[hT,H0]=En(Mh),[pT,mT]=hT(Mh),U0=d.forwardRef((e,t)=>{const{__scopeRadio:n,name:r,checked:s=!1,required:a,disabled:o,value:i="on",onCheck:u,form:c,...f}=e,[h,y]=d.useState(null),m=je(t,x=>y(x)),b=d.useRef(!1),g=h?c||!!h.closest("form"):!0;return l.jsxs(pT,{scope:n,checked:s,disabled:o,children:[l.jsx(oe.button,{type:"button",role:"radio","aria-checked":s,"data-state":Q0(s),"data-disabled":o?"":void 0,disabled:o,value:i,...f,ref:m,onClick:re(e.onClick,x=>{s||u==null||u(),g&&(b.current=x.isPropagationStopped(),b.current||x.stopPropagation())})}),g&&l.jsx(Z0,{control:h,bubbles:!b.current,name:r,value:i,checked:s,required:a,disabled:o,form:c,style:{transform:"translateX(-100%)"}})]})});U0.displayName=Mh;var K0="RadioIndicator",G0=d.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:r,...s}=e,a=mT(K0,n);return l.jsx(fs,{present:r||a.checked,children:l.jsx(oe.span,{"data-state":Q0(a.checked),"data-disabled":a.disabled?"":void 0,...s,ref:t})})});G0.displayName=K0;var gT="RadioBubbleInput",Z0=d.forwardRef(({__scopeRadio:e,control:t,checked:n,bubbles:r=!0,...s},a)=>{const o=d.useRef(null),i=je(o,a),u=W0(n),c=gx(t);return d.useEffect(()=>{const f=o.current;if(!f)return;const h=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(h,"checked").set;if(u!==n&&m){const b=new Event("click",{bubbles:r});m.call(f,n),f.dispatchEvent(b)}},[u,n,r]),l.jsx(oe.input,{type:"radio","aria-hidden":!0,defaultChecked:n,...s,tabIndex:-1,ref:i,style:{...s.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});Z0.displayName=gT;function Q0(e){return e?"checked":"unchecked"}var yT=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],qu="RadioGroup",[vT,zP]=En(qu,[q0,H0]),Y0=q0(),J0=H0(),[wT,xT]=vT(qu),X0=d.forwardRef((e,t)=>{const{__scopeRadioGroup:n,name:r,defaultValue:s,value:a,required:o=!1,disabled:i=!1,orientation:u,dir:c,loop:f=!0,onValueChange:h,...y}=e,m=Y0(n),b=Lu(c),[g,x]=wr({prop:a,defaultProp:s??null,onChange:h,caller:qu});return l.jsx(wT,{scope:n,name:r,required:o,disabled:i,value:g,onValueChange:x,children:l.jsx(dT,{asChild:!0,...m,orientation:u,dir:b,loop:f,children:l.jsx(oe.div,{role:"radiogroup","aria-required":o,"aria-orientation":u,"data-disabled":i?"":void 0,dir:b,...y,ref:t})})})});X0.displayName=qu;var eb="RadioGroupItem",tb=d.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:r,...s}=e,a=xT(eb,n),o=a.disabled||r,i=Y0(n),u=J0(n),c=d.useRef(null),f=je(t,c),h=a.value===s.value,y=d.useRef(!1);return d.useEffect(()=>{const m=g=>{yT.includes(g.key)&&(y.current=!0)},b=()=>y.current=!1;return document.addEventListener("keydown",m),document.addEventListener("keyup",b),()=>{document.removeEventListener("keydown",m),document.removeEventListener("keyup",b)}},[]),l.jsx(fT,{asChild:!0,...i,focusable:!o,active:h,children:l.jsx(U0,{disabled:o,required:a.required,checked:h,...u,...s,name:a.name,ref:f,onCheck:()=>a.onValueChange(s.value),onKeyDown:re(m=>{m.key==="Enter"&&m.preventDefault()}),onFocus:re(s.onFocus,()=>{var m;y.current&&((m=c.current)==null||m.click())})})})});tb.displayName=eb;var bT="RadioGroupIndicator",nb=d.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,s=J0(n);return l.jsx(G0,{...s,...r,ref:t})});nb.displayName=bT;var rb=X0,sb=tb,kT=nb;const Yd=d.forwardRef(({className:e,...t},n)=>l.jsx(rb,{className:he("grid gap-2",e),...t,ref:n}));Yd.displayName=rb.displayName;const vo=d.forwardRef(({className:e,...t},n)=>l.jsx(sb,{ref:n,className:he("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:l.jsx(kT,{className:"flex items-center justify-center",children:l.jsx(rj,{className:"h-2.5 w-2.5 fill-current text-current"})})}));vo.displayName=sb.displayName;function og(e,[t,n]){return Math.min(n,Math.max(t,e))}var ST=[" ","Enter","ArrowUp","ArrowDown"],CT=[" ","Enter"],qs="Select",[Bu,$u,NT]=Su(qs),[eo,VP]=En(qs,[NT,Tu]),zu=Tu(),[jT,hs]=eo(qs),[ET,IT]=eo(qs),ab=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:s,onOpenChange:a,value:o,defaultValue:i,onValueChange:u,dir:c,name:f,autoComplete:h,disabled:y,required:m,form:b}=e,g=zu(t),[x,w]=d.useState(null),[p,v]=d.useState(null),[k,S]=d.useState(!1),j=Lu(c),[N,_]=wr({prop:r,defaultProp:s??!1,onChange:a,caller:qs}),[F,D]=wr({prop:o,defaultProp:i,onChange:u,caller:qs}),G=d.useRef(null),M=x?b||!!x.closest("form"):!0,[z,O]=d.useState(new Set),J=Array.from(z).map($=>$.props.value).join(";");return l.jsx(q2,{...g,children:l.jsxs(jT,{required:m,scope:t,trigger:x,onTriggerChange:w,valueNode:p,onValueNodeChange:v,valueNodeHasChildren:k,onValueNodeHasChildrenChange:S,contentId:pr(),value:F,onValueChange:D,open:N,onOpenChange:_,dir:j,triggerPointerDownPosRef:G,disabled:y,children:[l.jsx(Bu.Provider,{scope:t,children:l.jsx(ET,{scope:e.__scopeSelect,onNativeOptionAdd:d.useCallback($=>{O(X=>new Set(X).add($))},[]),onNativeOptionRemove:d.useCallback($=>{O(X=>{const T=new Set(X);return T.delete($),T})},[]),children:n})}),M?l.jsxs(_b,{"aria-hidden":!0,required:m,tabIndex:-1,name:f,autoComplete:h,value:F,onChange:$=>D($.target.value),disabled:y,form:b,children:[F===void 0?l.jsx("option",{value:""}):null,Array.from(z)]},J):null]})})};ab.displayName=qs;var ob="SelectTrigger",ib=d.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...s}=e,a=zu(n),o=hs(ob,n),i=o.disabled||r,u=je(t,o.onTriggerChange),c=$u(n),f=d.useRef("touch"),[h,y,m]=Rb(g=>{const x=c().filter(v=>!v.disabled),w=x.find(v=>v.value===o.value),p=Pb(x,g,w);p!==void 0&&o.onValueChange(p.value)}),b=g=>{i||(o.onOpenChange(!0),m()),g&&(o.triggerPointerDownPosRef.current={x:Math.round(g.pageX),y:Math.round(g.pageY)})};return l.jsx(jx,{asChild:!0,...a,children:l.jsx(oe.button,{type:"button",role:"combobox","aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":"none",dir:o.dir,"data-state":o.open?"open":"closed",disabled:i,"data-disabled":i?"":void 0,"data-placeholder":Tb(o.value)?"":void 0,...s,ref:u,onClick:re(s.onClick,g=>{g.currentTarget.focus(),f.current!=="mouse"&&b(g)}),onPointerDown:re(s.onPointerDown,g=>{f.current=g.pointerType;const x=g.target;x.hasPointerCapture(g.pointerId)&&x.releasePointerCapture(g.pointerId),g.button===0&&g.ctrlKey===!1&&g.pointerType==="mouse"&&(b(g),g.preventDefault())}),onKeyDown:re(s.onKeyDown,g=>{const x=h.current!=="";!(g.ctrlKey||g.altKey||g.metaKey)&&g.key.length===1&&y(g.key),!(x&&g.key===" ")&&ST.includes(g.key)&&(b(),g.preventDefault())})})})});ib.displayName=ob;var lb="SelectValue",ub=d.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:s,children:a,placeholder:o="",...i}=e,u=hs(lb,n),{onValueNodeHasChildrenChange:c}=u,f=a!==void 0,h=je(t,u.onValueNodeChange);return lt(()=>{c(f)},[c,f]),l.jsx(oe.span,{...i,ref:h,style:{pointerEvents:"none"},children:Tb(u.value)?l.jsx(l.Fragment,{children:o}):a})});ub.displayName=lb;var _T="SelectIcon",cb=d.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...s}=e;return l.jsx(oe.span,{"aria-hidden":!0,...s,ref:t,children:r||"ā–¼"})});cb.displayName=_T;var TT="SelectPortal",db=e=>l.jsx(Cu,{asChild:!0,...e});db.displayName=TT;var Bs="SelectContent",fb=d.forwardRef((e,t)=>{const n=hs(Bs,e.__scopeSelect),[r,s]=d.useState();if(lt(()=>{s(new DocumentFragment)},[]),!n.open){const a=r;return a?Ws.createPortal(l.jsx(hb,{scope:e.__scopeSelect,children:l.jsx(Bu.Slot,{scope:e.__scopeSelect,children:l.jsx("div",{children:e.children})})}),a):null}return l.jsx(pb,{...e,ref:t})});fb.displayName=Bs;var dn=10,[hb,ps]=eo(Bs),RT="SelectContentImpl",PT=La("SelectContent.RemoveScroll"),pb=d.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:a,onPointerDownOutside:o,side:i,sideOffset:u,align:c,alignOffset:f,arrowPadding:h,collisionBoundary:y,collisionPadding:m,sticky:b,hideWhenDetached:g,avoidCollisions:x,...w}=e,p=hs(Bs,n),[v,k]=d.useState(null),[S,j]=d.useState(null),N=je(t,U=>k(U)),[_,F]=d.useState(null),[D,G]=d.useState(null),M=$u(n),[z,O]=d.useState(!1),J=d.useRef(!1);d.useEffect(()=>{if(v)return e0(v)},[v]),Hx();const $=d.useCallback(U=>{const[Se,...Me]=M().map(xe=>xe.ref.current),[we]=Me.slice(-1),ye=document.activeElement;for(const xe of U)if(xe===ye||(xe==null||xe.scrollIntoView({block:"nearest"}),xe===Se&&S&&(S.scrollTop=0),xe===we&&S&&(S.scrollTop=S.scrollHeight),xe==null||xe.focus(),document.activeElement!==ye))return},[M,S]),X=d.useCallback(()=>$([_,v]),[$,_,v]);d.useEffect(()=>{z&&X()},[z,X]);const{onOpenChange:T,triggerPointerDownPosRef:P}=p;d.useEffect(()=>{if(v){let U={x:0,y:0};const Se=we=>{var ye,xe;U={x:Math.abs(Math.round(we.pageX)-(((ye=P.current)==null?void 0:ye.x)??0)),y:Math.abs(Math.round(we.pageY)-(((xe=P.current)==null?void 0:xe.y)??0))}},Me=we=>{U.x<=10&&U.y<=10?we.preventDefault():v.contains(we.target)||T(!1),document.removeEventListener("pointermove",Se),P.current=null};return P.current!==null&&(document.addEventListener("pointermove",Se),document.addEventListener("pointerup",Me,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Se),document.removeEventListener("pointerup",Me,{capture:!0})}}},[v,T,P]),d.useEffect(()=>{const U=()=>T(!1);return window.addEventListener("blur",U),window.addEventListener("resize",U),()=>{window.removeEventListener("blur",U),window.removeEventListener("resize",U)}},[T]);const[W,se]=Rb(U=>{const Se=M().filter(ye=>!ye.disabled),Me=Se.find(ye=>ye.ref.current===document.activeElement),we=Pb(Se,U,Me);we&&setTimeout(()=>we.ref.current.focus())}),ne=d.useCallback((U,Se,Me)=>{const we=!J.current&&!Me;(p.value!==void 0&&p.value===Se||we)&&(F(U),we&&(J.current=!0))},[p.value]),ie=d.useCallback(()=>v==null?void 0:v.focus(),[v]),ae=d.useCallback((U,Se,Me)=>{const we=!J.current&&!Me;(p.value!==void 0&&p.value===Se||we)&&G(U)},[p.value]),Te=r==="popper"?Jd:mb,Be=Te===Jd?{side:i,sideOffset:u,align:c,alignOffset:f,arrowPadding:h,collisionBoundary:y,collisionPadding:m,sticky:b,hideWhenDetached:g,avoidCollisions:x}:{};return l.jsx(hb,{scope:n,content:v,viewport:S,onViewportChange:j,itemRefCallback:ne,selectedItem:_,onItemLeave:ie,itemTextRefCallback:ae,focusSelectedItem:X,selectedItemText:D,position:r,isPositioned:z,searchRef:W,children:l.jsx(_h,{as:PT,allowPinchZoom:!0,children:l.jsx(Ih,{asChild:!0,trapped:p.open,onMountAutoFocus:U=>{U.preventDefault()},onUnmountAutoFocus:re(s,U=>{var Se;(Se=p.trigger)==null||Se.focus({preventScroll:!0}),U.preventDefault()}),children:l.jsx(gi,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:U=>U.preventDefault(),onDismiss:()=>p.onOpenChange(!1),children:l.jsx(Te,{role:"listbox",id:p.contentId,"data-state":p.open?"open":"closed",dir:p.dir,onContextMenu:U=>U.preventDefault(),...w,...Be,onPlaced:()=>O(!0),ref:N,style:{display:"flex",flexDirection:"column",outline:"none",...w.style},onKeyDown:re(w.onKeyDown,U=>{const Se=U.ctrlKey||U.altKey||U.metaKey;if(U.key==="Tab"&&U.preventDefault(),!Se&&U.key.length===1&&se(U.key),["ArrowUp","ArrowDown","Home","End"].includes(U.key)){let we=M().filter(ye=>!ye.disabled).map(ye=>ye.ref.current);if(["ArrowUp","End"].includes(U.key)&&(we=we.slice().reverse()),["ArrowUp","ArrowDown"].includes(U.key)){const ye=U.target,xe=we.indexOf(ye);we=we.slice(xe+1)}setTimeout(()=>$(we)),U.preventDefault()}})})})})})})});pb.displayName=RT;var AT="SelectItemAlignedPosition",mb=d.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...s}=e,a=hs(Bs,n),o=ps(Bs,n),[i,u]=d.useState(null),[c,f]=d.useState(null),h=je(t,N=>f(N)),y=$u(n),m=d.useRef(!1),b=d.useRef(!0),{viewport:g,selectedItem:x,selectedItemText:w,focusSelectedItem:p}=o,v=d.useCallback(()=>{if(a.trigger&&a.valueNode&&i&&c&&g&&x&&w){const N=a.trigger.getBoundingClientRect(),_=c.getBoundingClientRect(),F=a.valueNode.getBoundingClientRect(),D=w.getBoundingClientRect();if(a.dir!=="rtl"){const ye=D.left-_.left,xe=F.left-ye,st=N.left-xe,vt=N.width+st,Tn=Math.max(vt,_.width),Rn=window.innerWidth-dn,Jn=og(xe,[dn,Math.max(dn,Rn-Tn)]);i.style.minWidth=vt+"px",i.style.left=Jn+"px"}else{const ye=_.right-D.right,xe=window.innerWidth-F.right-ye,st=window.innerWidth-N.right-xe,vt=N.width+st,Tn=Math.max(vt,_.width),Rn=window.innerWidth-dn,Jn=og(xe,[dn,Math.max(dn,Rn-Tn)]);i.style.minWidth=vt+"px",i.style.right=Jn+"px"}const G=y(),M=window.innerHeight-dn*2,z=g.scrollHeight,O=window.getComputedStyle(c),J=parseInt(O.borderTopWidth,10),$=parseInt(O.paddingTop,10),X=parseInt(O.borderBottomWidth,10),T=parseInt(O.paddingBottom,10),P=J+$+z+T+X,W=Math.min(x.offsetHeight*5,P),se=window.getComputedStyle(g),ne=parseInt(se.paddingTop,10),ie=parseInt(se.paddingBottom,10),ae=N.top+N.height/2-dn,Te=M-ae,Be=x.offsetHeight/2,U=x.offsetTop+Be,Se=J+$+U,Me=P-Se;if(Se<=ae){const ye=G.length>0&&x===G[G.length-1].ref.current;i.style.bottom="0px";const xe=c.clientHeight-g.offsetTop-g.offsetHeight,st=Math.max(Te,Be+(ye?ie:0)+xe+X),vt=Se+st;i.style.height=vt+"px"}else{const ye=G.length>0&&x===G[0].ref.current;i.style.top="0px";const st=Math.max(ae,J+g.offsetTop+(ye?ne:0)+Be)+Me;i.style.height=st+"px",g.scrollTop=Se-ae+g.offsetTop}i.style.margin=`${dn}px 0`,i.style.minHeight=W+"px",i.style.maxHeight=M+"px",r==null||r(),requestAnimationFrame(()=>m.current=!0)}},[y,a.trigger,a.valueNode,i,c,g,x,w,a.dir,r]);lt(()=>v(),[v]);const[k,S]=d.useState();lt(()=>{c&&S(window.getComputedStyle(c).zIndex)},[c]);const j=d.useCallback(N=>{N&&b.current===!0&&(v(),p==null||p(),b.current=!1)},[v,p]);return l.jsx(OT,{scope:n,contentWrapper:i,shouldExpandOnScrollRef:m,onScrollButtonChange:j,children:l.jsx("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:k},children:l.jsx(oe.div,{...s,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});mb.displayName=AT;var MT="SelectPopperPosition",Jd=d.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:s=dn,...a}=e,o=zu(n);return l.jsx(Ex,{...o,...a,ref:t,align:r,collisionPadding:s,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Jd.displayName=MT;var[OT,Oh]=eo(Bs,{}),Xd="SelectViewport",gb=d.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...s}=e,a=ps(Xd,n),o=Oh(Xd,n),i=je(t,a.onViewportChange),u=d.useRef(0);return l.jsxs(l.Fragment,{children:[l.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),l.jsx(Bu.Slot,{scope:n,children:l.jsx(oe.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:i,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:re(s.onScroll,c=>{const f=c.currentTarget,{contentWrapper:h,shouldExpandOnScrollRef:y}=o;if(y!=null&&y.current&&h){const m=Math.abs(u.current-f.scrollTop);if(m>0){const b=window.innerHeight-dn*2,g=parseFloat(h.style.minHeight),x=parseFloat(h.style.height),w=Math.max(g,x);if(w<b){const p=w+m,v=Math.min(b,p),k=p-v;h.style.height=v+"px",h.style.bottom==="0px"&&(f.scrollTop=k>0?k:0,h.style.justifyContent="flex-end")}}}u.current=f.scrollTop})})})]})});gb.displayName=Xd;var yb="SelectGroup",[FT,DT]=eo(yb),LT=d.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,s=pr();return l.jsx(FT,{scope:n,id:s,children:l.jsx(oe.div,{role:"group","aria-labelledby":s,...r,ref:t})})});LT.displayName=yb;var vb="SelectLabel",wb=d.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,s=DT(vb,n);return l.jsx(oe.div,{id:s.id,...r,ref:t})});wb.displayName=vb;var Zl="SelectItem",[qT,xb]=eo(Zl),bb=d.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:s=!1,textValue:a,...o}=e,i=hs(Zl,n),u=ps(Zl,n),c=i.value===r,[f,h]=d.useState(a??""),[y,m]=d.useState(!1),b=je(t,p=>{var v;return(v=u.itemRefCallback)==null?void 0:v.call(u,p,r,s)}),g=pr(),x=d.useRef("touch"),w=()=>{s||(i.onValueChange(r),i.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return l.jsx(qT,{scope:n,value:r,disabled:s,textId:g,isSelected:c,onItemTextChange:d.useCallback(p=>{h(v=>v||((p==null?void 0:p.textContent)??"").trim())},[]),children:l.jsx(Bu.ItemSlot,{scope:n,value:r,disabled:s,textValue:f,children:l.jsx(oe.div,{role:"option","aria-labelledby":g,"data-highlighted":y?"":void 0,"aria-selected":c&&y,"data-state":c?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...o,ref:b,onFocus:re(o.onFocus,()=>m(!0)),onBlur:re(o.onBlur,()=>m(!1)),onClick:re(o.onClick,()=>{x.current!=="mouse"&&w()}),onPointerUp:re(o.onPointerUp,()=>{x.current==="mouse"&&w()}),onPointerDown:re(o.onPointerDown,p=>{x.current=p.pointerType}),onPointerMove:re(o.onPointerMove,p=>{var v;x.current=p.pointerType,s?(v=u.onItemLeave)==null||v.call(u):x.current==="mouse"&&p.currentTarget.focus({preventScroll:!0})}),onPointerLeave:re(o.onPointerLeave,p=>{var v;p.currentTarget===document.activeElement&&((v=u.onItemLeave)==null||v.call(u))}),onKeyDown:re(o.onKeyDown,p=>{var k;((k=u.searchRef)==null?void 0:k.current)!==""&&p.key===" "||(CT.includes(p.key)&&w(),p.key===" "&&p.preventDefault())})})})})});bb.displayName=Zl;var wo="SelectItemText",kb=d.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:s,...a}=e,o=hs(wo,n),i=ps(wo,n),u=xb(wo,n),c=IT(wo,n),[f,h]=d.useState(null),y=je(t,w=>h(w),u.onItemTextChange,w=>{var p;return(p=i.itemTextRefCallback)==null?void 0:p.call(i,w,u.value,u.disabled)}),m=f==null?void 0:f.textContent,b=d.useMemo(()=>l.jsx("option",{value:u.value,disabled:u.disabled,children:m},u.value),[u.disabled,u.value,m]),{onNativeOptionAdd:g,onNativeOptionRemove:x}=c;return lt(()=>(g(b),()=>x(b)),[g,x,b]),l.jsxs(l.Fragment,{children:[l.jsx(oe.span,{id:u.textId,...a,ref:y}),u.isSelected&&o.valueNode&&!o.valueNodeHasChildren?Ws.createPortal(a.children,o.valueNode):null]})});kb.displayName=wo;var Sb="SelectItemIndicator",Cb=d.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return xb(Sb,n).isSelected?l.jsx(oe.span,{"aria-hidden":!0,...r,ref:t}):null});Cb.displayName=Sb;var ef="SelectScrollUpButton",Nb=d.forwardRef((e,t)=>{const n=ps(ef,e.__scopeSelect),r=Oh(ef,e.__scopeSelect),[s,a]=d.useState(!1),o=je(t,r.onScrollButtonChange);return lt(()=>{if(n.viewport&&n.isPositioned){let i=function(){const c=u.scrollTop>0;a(c)};const u=n.viewport;return i(),u.addEventListener("scroll",i),()=>u.removeEventListener("scroll",i)}},[n.viewport,n.isPositioned]),s?l.jsx(Eb,{...e,ref:o,onAutoScroll:()=>{const{viewport:i,selectedItem:u}=n;i&&u&&(i.scrollTop=i.scrollTop-u.offsetHeight)}}):null});Nb.displayName=ef;var tf="SelectScrollDownButton",jb=d.forwardRef((e,t)=>{const n=ps(tf,e.__scopeSelect),r=Oh(tf,e.__scopeSelect),[s,a]=d.useState(!1),o=je(t,r.onScrollButtonChange);return lt(()=>{if(n.viewport&&n.isPositioned){let i=function(){const c=u.scrollHeight-u.clientHeight,f=Math.ceil(u.scrollTop)<c;a(f)};const u=n.viewport;return i(),u.addEventListener("scroll",i),()=>u.removeEventListener("scroll",i)}},[n.viewport,n.isPositioned]),s?l.jsx(Eb,{...e,ref:o,onAutoScroll:()=>{const{viewport:i,selectedItem:u}=n;i&&u&&(i.scrollTop=i.scrollTop+u.offsetHeight)}}):null});jb.displayName=tf;var Eb=d.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...s}=e,a=ps("SelectScrollButton",n),o=d.useRef(null),i=$u(n),u=d.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return d.useEffect(()=>()=>u(),[u]),lt(()=>{var f;const c=i().find(h=>h.ref.current===document.activeElement);(f=c==null?void 0:c.ref.current)==null||f.scrollIntoView({block:"nearest"})},[i]),l.jsx(oe.div,{"aria-hidden":!0,...s,ref:t,style:{flexShrink:0,...s.style},onPointerDown:re(s.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(r,50))}),onPointerMove:re(s.onPointerMove,()=>{var c;(c=a.onItemLeave)==null||c.call(a),o.current===null&&(o.current=window.setInterval(r,50))}),onPointerLeave:re(s.onPointerLeave,()=>{u()})})}),BT="SelectSeparator",Ib=d.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return l.jsx(oe.div,{"aria-hidden":!0,...r,ref:t})});Ib.displayName=BT;var nf="SelectArrow",$T=d.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,s=zu(n),a=hs(nf,n),o=ps(nf,n);return a.open&&o.position==="popper"?l.jsx(Ix,{...s,...r,ref:t}):null});$T.displayName=nf;var zT="SelectBubbleInput",_b=d.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const s=d.useRef(null),a=je(r,s),o=W0(t);return d.useEffect(()=>{const i=s.current;if(!i)return;const u=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(u,"value").set;if(o!==t&&f){const h=new Event("change",{bubbles:!0});f.call(i,t),i.dispatchEvent(h)}},[o,t]),l.jsx(oe.select,{...n,style:{...Cw,...n.style},ref:a,defaultValue:t})});_b.displayName=zT;function Tb(e){return e===""||e===void 0}function Rb(e){const t=rn(e),n=d.useRef(""),r=d.useRef(0),s=d.useCallback(o=>{const i=n.current+o;t(i),function u(c){n.current=c,window.clearTimeout(r.current),c!==""&&(r.current=window.setTimeout(()=>u(""),1e3))}(i)},[t]),a=d.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return d.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,s,a]}function Pb(e,t,n){const s=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let o=VT(e,Math.max(a,0));s.length===1&&(o=o.filter(c=>c!==n));const u=o.find(c=>c.textValue.toLowerCase().startsWith(s.toLowerCase()));return u!==n?u:void 0}function VT(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var WT=ab,Ab=ib,HT=ub,UT=cb,KT=db,Mb=fb,GT=gb,Ob=wb,Fb=bb,ZT=kb,QT=Cb,Db=Nb,Lb=jb,qb=Ib;const YT=WT,JT=HT,Bb=d.forwardRef(({className:e,children:t,...n},r)=>l.jsxs(Ab,{ref:r,className:he("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,l.jsx(UT,{asChild:!0,children:l.jsx(ph,{className:"h-4 w-4 opacity-50"})})]}));Bb.displayName=Ab.displayName;const $b=d.forwardRef(({className:e,...t},n)=>l.jsx(Db,{ref:n,className:he("flex cursor-default items-center justify-center py-1",e),...t,children:l.jsx(tj,{className:"h-4 w-4"})}));$b.displayName=Db.displayName;const zb=d.forwardRef(({className:e,...t},n)=>l.jsx(Lb,{ref:n,className:he("flex cursor-default items-center justify-center py-1",e),...t,children:l.jsx(ph,{className:"h-4 w-4"})}));zb.displayName=Lb.displayName;const Vb=d.forwardRef(({className:e,children:t,position:n="popper",...r},s)=>l.jsx(KT,{children:l.jsxs(Mb,{ref:s,className:he("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-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",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[l.jsx($b,{}),l.jsx(GT,{className:he("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),l.jsx(zb,{})]})}));Vb.displayName=Mb.displayName;const XT=d.forwardRef(({className:e,...t},n)=>l.jsx(Ob,{ref:n,className:he("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));XT.displayName=Ob.displayName;const Xs=d.forwardRef(({className:e,children:t,...n},r)=>l.jsxs(Fb,{ref:r,className:he("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[l.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:l.jsx(QT,{children:l.jsx(ej,{className:"h-4 w-4"})})}),l.jsx(ZT,{children:t})]}));Xs.displayName=Fb.displayName;const eR=d.forwardRef(({className:e,...t},n)=>l.jsx(qb,{ref:n,className:he("-mx-1 my-1 h-px bg-muted",e),...t}));eR.displayName=qb.displayName;var bi=e=>e.type==="checkbox",ks=e=>e instanceof Date,bt=e=>e==null;const Wb=e=>typeof e=="object";var Ye=e=>!bt(e)&&!Array.isArray(e)&&Wb(e)&&!ks(e),Hb=e=>Ye(e)&&e.target?bi(e.target)?e.target.checked:e.target.value:e,tR=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Ub=(e,t)=>e.has(tR(t)),nR=e=>{const t=e.constructor&&e.constructor.prototype;return Ye(t)&&t.hasOwnProperty("isPrototypeOf")},Fh=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function tt(e){let t;const n=Array.isArray(e),r=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(!(Fh&&(e instanceof Blob||r))&&(n||Ye(e)))if(t=n?[]:{},!n&&!nR(e))t=e;else for(const s in e)e.hasOwnProperty(s)&&(t[s]=tt(e[s]));else return e;return t}var Vu=e=>/^\w*$/.test(e),Ze=e=>e===void 0,Dh=e=>Array.isArray(e)?e.filter(Boolean):[],Lh=e=>Dh(e.replace(/["|']|\]/g,"").split(/\.|\[/)),K=(e,t,n)=>{if(!t||!Ye(e))return n;const r=(Vu(t)?[t]:Lh(t)).reduce((s,a)=>bt(s)?s:s[a],e);return Ze(r)||r===e?Ze(e[t])?n:e[t]:r},qt=e=>typeof e=="boolean",Ie=(e,t,n)=>{let r=-1;const s=Vu(t)?[t]:Lh(t),a=s.length,o=a-1;for(;++r<a;){const i=s[r];let u=n;if(r!==o){const c=e[i];u=Ye(c)||Array.isArray(c)?c:isNaN(+s[r+1])?{}:[]}if(i==="__proto__"||i==="constructor"||i==="prototype")return;e[i]=u,e=e[i]}};const Ql={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},vn={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},rr={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},qh=I.createContext(null);qh.displayName="HookFormContext";const Wu=()=>I.useContext(qh),rR=e=>{const{children:t,...n}=e;return I.createElement(qh.Provider,{value:n},t)};var Kb=(e,t,n,r=!0)=>{const s={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(s,a,{get:()=>{const o=a;return t._proxyFormState[o]!==vn.all&&(t._proxyFormState[o]=!r||vn.all),n&&(n[o]=!0),e[o]}});return s};const Bh=typeof window<"u"?I.useLayoutEffect:I.useEffect;function sR(e){const t=Wu(),{control:n=t.control,disabled:r,name:s,exact:a}=e||{},[o,i]=I.useState(n._formState),u=I.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return Bh(()=>n._subscribe({name:s,formState:u.current,exact:a,callback:c=>{!r&&i({...n._formState,...c})}}),[s,r,a]),I.useEffect(()=>{u.current.isValid&&n._setValid(!0)},[n]),I.useMemo(()=>Kb(o,n,u.current,!1),[o,n])}var Vn=e=>typeof e=="string",Gb=(e,t,n,r,s)=>Vn(e)?(r&&t.watch.add(e),K(n,e,s)):Array.isArray(e)?e.map(a=>(r&&t.watch.add(a),K(n,a))):(r&&(t.watchAll=!0),n),rf=e=>bt(e)||!Wb(e);function cr(e,t,n=new WeakSet){if(rf(e)||rf(t))return e===t;if(ks(e)&&ks(t))return e.getTime()===t.getTime();const r=Object.keys(e),s=Object.keys(t);if(r.length!==s.length)return!1;if(n.has(e)||n.has(t))return!0;n.add(e),n.add(t);for(const a of r){const o=e[a];if(!s.includes(a))return!1;if(a!=="ref"){const i=t[a];if(ks(o)&&ks(i)||Ye(o)&&Ye(i)||Array.isArray(o)&&Array.isArray(i)?!cr(o,i,n):o!==i)return!1}}return!0}function aR(e){const t=Wu(),{control:n=t.control,name:r,defaultValue:s,disabled:a,exact:o,compute:i}=e||{},u=I.useRef(s),c=I.useRef(i),f=I.useRef(void 0);c.current=i;const h=I.useMemo(()=>n._getWatch(r,u.current),[n,r]),[y,m]=I.useState(c.current?c.current(h):h);return Bh(()=>n._subscribe({name:r,formState:{values:!0},exact:o,callback:b=>{if(!a){const g=Gb(r,n._names,b.values||n._formValues,!1,u.current);if(c.current){const x=c.current(g);cr(x,f.current)||(m(x),f.current=x)}else m(g)}}}),[n,a,r,o]),I.useEffect(()=>n._removeUnmounted()),y}function oR(e){const t=Wu(),{name:n,disabled:r,control:s=t.control,shouldUnregister:a,defaultValue:o}=e,i=Ub(s._names.array,n),u=I.useMemo(()=>K(s._formValues,n,K(s._defaultValues,n,o)),[s,n,o]),c=aR({control:s,name:n,defaultValue:u,exact:!0}),f=sR({control:s,name:n,exact:!0}),h=I.useRef(e),y=I.useRef(s.register(n,{...e.rules,value:c,...qt(e.disabled)?{disabled:e.disabled}:{}}));h.current=e;const m=I.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!K(f.errors,n)},isDirty:{enumerable:!0,get:()=>!!K(f.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!K(f.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!K(f.validatingFields,n)},error:{enumerable:!0,get:()=>K(f.errors,n)}}),[f,n]),b=I.useCallback(p=>y.current.onChange({target:{value:Hb(p),name:n},type:Ql.CHANGE}),[n]),g=I.useCallback(()=>y.current.onBlur({target:{value:K(s._formValues,n),name:n},type:Ql.BLUR}),[n,s._formValues]),x=I.useCallback(p=>{const v=K(s._fields,n);v&&p&&(v._f.ref={focus:()=>p.focus&&p.focus(),select:()=>p.select&&p.select(),setCustomValidity:k=>p.setCustomValidity(k),reportValidity:()=>p.reportValidity()})},[s._fields,n]),w=I.useMemo(()=>({name:n,value:c,...qt(r)||f.disabled?{disabled:f.disabled||r}:{},onChange:b,onBlur:g,ref:x}),[n,r,f.disabled,b,g,x,c]);return I.useEffect(()=>{const p=s._options.shouldUnregister||a;s.register(n,{...h.current.rules,...qt(h.current.disabled)?{disabled:h.current.disabled}:{}});const v=(k,S)=>{const j=K(s._fields,k);j&&j._f&&(j._f.mount=S)};if(v(n,!0),p){const k=tt(K(s._options.defaultValues,n));Ie(s._defaultValues,n,k),Ze(K(s._formValues,n))&&Ie(s._formValues,n,k)}return!i&&s.register(n),()=>{(i?p&&!s._state.action:p)?s.unregister(n):v(n,!1)}},[n,s,i,a]),I.useEffect(()=>{s._setDisabledField({disabled:r,name:n})},[r,n,s]),I.useMemo(()=>({field:w,formState:f,fieldState:m}),[w,f,m])}const iR=e=>e.render(oR(e));var Zb=(e,t,n,r,s)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:s||!0}}:{},Ro=e=>Array.isArray(e)?e:[e],ig=()=>{let e=[];return{get observers(){return e},next:s=>{for(const a of e)a.next&&a.next(s)},subscribe:s=>(e.push(s),{unsubscribe:()=>{e=e.filter(a=>a!==s)}}),unsubscribe:()=>{e=[]}}},Et=e=>Ye(e)&&!Object.keys(e).length,$h=e=>e.type==="file",wn=e=>typeof e=="function",Yl=e=>{if(!Fh)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Qb=e=>e.type==="select-multiple",zh=e=>e.type==="radio",lR=e=>zh(e)||bi(e),Bc=e=>Yl(e)&&e.isConnected;function uR(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=Ze(e)?r++:e[t[r++]];return e}function cR(e){for(const t in e)if(e.hasOwnProperty(t)&&!Ze(e[t]))return!1;return!0}function Je(e,t){const n=Array.isArray(t)?t:Vu(t)?[t]:Lh(t),r=n.length===1?e:uR(e,n),s=n.length-1,a=n[s];return r&&delete r[a],s!==0&&(Ye(r)&&Et(r)||Array.isArray(r)&&cR(r))&&Je(e,n.slice(0,-1)),e}var Yb=e=>{for(const t in e)if(wn(e[t]))return!0;return!1};function Jl(e,t={}){const n=Array.isArray(e);if(Ye(e)||n)for(const r in e)Array.isArray(e[r])||Ye(e[r])&&!Yb(e[r])?(t[r]=Array.isArray(e[r])?[]:{},Jl(e[r],t[r])):bt(e[r])||(t[r]=!0);return t}function Jb(e,t,n){const r=Array.isArray(e);if(Ye(e)||r)for(const s in e)Array.isArray(e[s])||Ye(e[s])&&!Yb(e[s])?Ze(t)||rf(n[s])?n[s]=Array.isArray(e[s])?Jl(e[s],[]):{...Jl(e[s])}:Jb(e[s],bt(t)?{}:t[s],n[s]):n[s]=!cr(e[s],t[s]);return n}var fo=(e,t)=>Jb(e,t,Jl(t));const lg={value:!1,isValid:!1},ug={value:!0,isValid:!0};var Xb=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Ze(e[0].attributes.value)?Ze(e[0].value)||e[0].value===""?ug:{value:e[0].value,isValid:!0}:ug:lg}return lg},e1=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>Ze(e)?e:t?e===""?NaN:e&&+e:n&&Vn(e)?new Date(e):r?r(e):e;const cg={isValid:!1,value:null};var t1=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,cg):cg;function dg(e){const t=e.ref;return $h(t)?t.files:zh(t)?t1(e.refs).value:Qb(t)?[...t.selectedOptions].map(({value:n})=>n):bi(t)?Xb(e.refs).value:e1(Ze(t.value)?e.ref.value:t.value,e)}var dR=(e,t,n,r)=>{const s={};for(const a of e){const o=K(t,a);o&&Ie(s,a,o._f)}return{criteriaMode:n,names:[...e],fields:s,shouldUseNativeValidation:r}},Xl=e=>e instanceof RegExp,ho=e=>Ze(e)?e:Xl(e)?e.source:Ye(e)?Xl(e.value)?e.value.source:e.value:e,fg=e=>({isOnSubmit:!e||e===vn.onSubmit,isOnBlur:e===vn.onBlur,isOnChange:e===vn.onChange,isOnAll:e===vn.all,isOnTouch:e===vn.onTouched});const hg="AsyncFunction";var fR=e=>!!e&&!!e.validate&&!!(wn(e.validate)&&e.validate.constructor.name===hg||Ye(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===hg)),hR=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),pg=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const Po=(e,t,n,r)=>{for(const s of n||Object.keys(e)){const a=K(e,s);if(a){const{_f:o,...i}=a;if(o){if(o.refs&&o.refs[0]&&t(o.refs[0],s)&&!r)return!0;if(o.ref&&t(o.ref,o.name)&&!r)return!0;if(Po(i,t))break}else if(Ye(i)&&Po(i,t))break}}};function mg(e,t,n){const r=K(e,n);if(r||Vu(n))return{error:r,name:n};const s=n.split(".");for(;s.length;){const a=s.join("."),o=K(t,a),i=K(e,a);if(o&&!Array.isArray(o)&&n!==a)return{name:n};if(i&&i.type)return{name:a,error:i};if(i&&i.root&&i.root.type)return{name:`${a}.root`,error:i.root};s.pop()}return{name:n}}var pR=(e,t,n,r)=>{n(e);const{name:s,...a}=e;return Et(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(o=>t[o]===(!r||vn.all))},mR=(e,t,n)=>!e||!t||e===t||Ro(e).some(r=>r&&(n?r===t:r.startsWith(t)||t.startsWith(r))),gR=(e,t,n,r,s)=>s.isOnAll?!1:!n&&s.isOnTouch?!(t||e):(n?r.isOnBlur:s.isOnBlur)?!e:(n?r.isOnChange:s.isOnChange)?e:!0,yR=(e,t)=>!Dh(K(e,t)).length&&Je(e,t),vR=(e,t,n)=>{const r=Ro(K(e,n));return Ie(r,"root",t[n]),Ie(e,n,r),e},gl=e=>Vn(e);function gg(e,t,n="validate"){if(gl(e)||Array.isArray(e)&&e.every(gl)||qt(e)&&!e)return{type:n,message:gl(e)?e:"",ref:t}}var Js=e=>Ye(e)&&!Xl(e)?e:{value:e,message:""},yg=async(e,t,n,r,s,a)=>{const{ref:o,refs:i,required:u,maxLength:c,minLength:f,min:h,max:y,pattern:m,validate:b,name:g,valueAsNumber:x,mount:w}=e._f,p=K(n,g);if(!w||t.has(g))return{};const v=i?i[0]:o,k=M=>{s&&v.reportValidity&&(v.setCustomValidity(qt(M)?"":M||""),v.reportValidity())},S={},j=zh(o),N=bi(o),_=j||N,F=(x||$h(o))&&Ze(o.value)&&Ze(p)||Yl(o)&&o.value===""||p===""||Array.isArray(p)&&!p.length,D=Zb.bind(null,g,r,S),G=(M,z,O,J=rr.maxLength,$=rr.minLength)=>{const X=M?z:O;S[g]={type:M?J:$,message:X,ref:o,...D(M?J:$,X)}};if(a?!Array.isArray(p)||!p.length:u&&(!_&&(F||bt(p))||qt(p)&&!p||N&&!Xb(i).isValid||j&&!t1(i).isValid)){const{value:M,message:z}=gl(u)?{value:!!u,message:u}:Js(u);if(M&&(S[g]={type:rr.required,message:z,ref:v,...D(rr.required,z)},!r))return k(z),S}if(!F&&(!bt(h)||!bt(y))){let M,z;const O=Js(y),J=Js(h);if(!bt(p)&&!isNaN(p)){const $=o.valueAsNumber||p&&+p;bt(O.value)||(M=$>O.value),bt(J.value)||(z=$<J.value)}else{const $=o.valueAsDate||new Date(p),X=W=>new Date(new Date().toDateString()+" "+W),T=o.type=="time",P=o.type=="week";Vn(O.value)&&p&&(M=T?X(p)>X(O.value):P?p>O.value:$>new Date(O.value)),Vn(J.value)&&p&&(z=T?X(p)<X(J.value):P?p<J.value:$<new Date(J.value))}if((M||z)&&(G(!!M,O.message,J.message,rr.max,rr.min),!r))return k(S[g].message),S}if((c||f)&&!F&&(Vn(p)||a&&Array.isArray(p))){const M=Js(c),z=Js(f),O=!bt(M.value)&&p.length>+M.value,J=!bt(z.value)&&p.length<+z.value;if((O||J)&&(G(O,M.message,z.message),!r))return k(S[g].message),S}if(m&&!F&&Vn(p)){const{value:M,message:z}=Js(m);if(Xl(M)&&!p.match(M)&&(S[g]={type:rr.pattern,message:z,ref:o,...D(rr.pattern,z)},!r))return k(z),S}if(b){if(wn(b)){const M=await b(p,n),z=gg(M,v);if(z&&(S[g]={...z,...D(rr.validate,z.message)},!r))return k(z.message),S}else if(Ye(b)){let M={};for(const z in b){if(!Et(M)&&!r)break;const O=gg(await b[z](p,n),v,z);O&&(M={...O,...D(z,O.message)},k(O.message),r&&(S[g]=M))}if(!Et(M)&&(S[g]={ref:v,...M},!r))return S}}return k(!0),S};const wR={mode:vn.onSubmit,reValidateMode:vn.onChange,shouldFocusError:!0};function xR(e={}){let t={...wR,...e},n={submitCount:0,isDirty:!1,isReady:!1,isLoading:wn(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},s=Ye(t.defaultValues)||Ye(t.values)?tt(t.defaultValues||t.values)||{}:{},a=t.shouldUnregister?{}:tt(s),o={action:!1,mount:!1,watch:!1},i={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},u,c=0;const f={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let h={...f};const y={array:ig(),state:ig()},m=t.criteriaMode===vn.all,b=C=>E=>{clearTimeout(c),c=setTimeout(C,E)},g=async C=>{if(!t.disabled&&(f.isValid||h.isValid||C)){const E=t.resolver?Et((await N()).errors):await F(r,!0);E!==n.isValid&&y.state.next({isValid:E})}},x=(C,E)=>{!t.disabled&&(f.isValidating||f.validatingFields||h.isValidating||h.validatingFields)&&((C||Array.from(i.mount)).forEach(R=>{R&&(E?Ie(n.validatingFields,R,E):Je(n.validatingFields,R))}),y.state.next({validatingFields:n.validatingFields,isValidating:!Et(n.validatingFields)}))},w=(C,E=[],R,H,V=!0,B=!0)=>{if(H&&R&&!t.disabled){if(o.action=!0,B&&Array.isArray(K(r,C))){const Q=R(K(r,C),H.argA,H.argB);V&&Ie(r,C,Q)}if(B&&Array.isArray(K(n.errors,C))){const Q=R(K(n.errors,C),H.argA,H.argB);V&&Ie(n.errors,C,Q),yR(n.errors,C)}if((f.touchedFields||h.touchedFields)&&B&&Array.isArray(K(n.touchedFields,C))){const Q=R(K(n.touchedFields,C),H.argA,H.argB);V&&Ie(n.touchedFields,C,Q)}(f.dirtyFields||h.dirtyFields)&&(n.dirtyFields=fo(s,a)),y.state.next({name:C,isDirty:G(C,E),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Ie(a,C,E)},p=(C,E)=>{Ie(n.errors,C,E),y.state.next({errors:n.errors})},v=C=>{n.errors=C,y.state.next({errors:n.errors,isValid:!1})},k=(C,E,R,H)=>{const V=K(r,C);if(V){const B=K(a,C,Ze(R)?K(s,C):R);Ze(B)||H&&H.defaultChecked||E?Ie(a,C,E?B:dg(V._f)):O(C,B),o.mount&&g()}},S=(C,E,R,H,V)=>{let B=!1,Q=!1;const ve={name:C};if(!t.disabled){if(!R||H){(f.isDirty||h.isDirty)&&(Q=n.isDirty,n.isDirty=ve.isDirty=G(),B=Q!==ve.isDirty);const Re=cr(K(s,C),E);Q=!!K(n.dirtyFields,C),Re?Je(n.dirtyFields,C):Ie(n.dirtyFields,C,!0),ve.dirtyFields=n.dirtyFields,B=B||(f.dirtyFields||h.dirtyFields)&&Q!==!Re}if(R){const Re=K(n.touchedFields,C);Re||(Ie(n.touchedFields,C,R),ve.touchedFields=n.touchedFields,B=B||(f.touchedFields||h.touchedFields)&&Re!==R)}B&&V&&y.state.next(ve)}return B?ve:{}},j=(C,E,R,H)=>{const V=K(n.errors,C),B=(f.isValid||h.isValid)&&qt(E)&&n.isValid!==E;if(t.delayError&&R?(u=b(()=>p(C,R)),u(t.delayError)):(clearTimeout(c),u=null,R?Ie(n.errors,C,R):Je(n.errors,C)),(R?!cr(V,R):V)||!Et(H)||B){const Q={...H,...B&&qt(E)?{isValid:E}:{},errors:n.errors,name:C};n={...n,...Q},y.state.next(Q)}},N=async C=>{x(C,!0);const E=await t.resolver(a,t.context,dR(C||i.mount,r,t.criteriaMode,t.shouldUseNativeValidation));return x(C),E},_=async C=>{const{errors:E}=await N(C);if(C)for(const R of C){const H=K(E,R);H?Ie(n.errors,R,H):Je(n.errors,R)}else n.errors=E;return E},F=async(C,E,R={valid:!0})=>{for(const H in C){const V=C[H];if(V){const{_f:B,...Q}=V;if(B){const ve=i.array.has(B.name),Re=V._f&&fR(V._f);Re&&f.validatingFields&&x([H],!0);const jt=await yg(V,i.disabled,a,m,t.shouldUseNativeValidation&&!E,ve);if(Re&&f.validatingFields&&x([H]),jt[B.name]&&(R.valid=!1,E))break;!E&&(K(jt,B.name)?ve?vR(n.errors,jt,B.name):Ie(n.errors,B.name,jt[B.name]):Je(n.errors,B.name))}!Et(Q)&&await F(Q,E,R)}}return R.valid},D=()=>{for(const C of i.unMount){const E=K(r,C);E&&(E._f.refs?E._f.refs.every(R=>!Bc(R)):!Bc(E._f.ref))&&U(C)}i.unMount=new Set},G=(C,E)=>!t.disabled&&(C&&E&&Ie(a,C,E),!cr(W(),s)),M=(C,E,R)=>Gb(C,i,{...o.mount?a:Ze(E)?s:Vn(C)?{[C]:E}:E},R,E),z=C=>Dh(K(o.mount?a:s,C,t.shouldUnregister?K(s,C,[]):[])),O=(C,E,R={})=>{const H=K(r,C);let V=E;if(H){const B=H._f;B&&(!B.disabled&&Ie(a,C,e1(E,B)),V=Yl(B.ref)&&bt(E)?"":E,Qb(B.ref)?[...B.ref.options].forEach(Q=>Q.selected=V.includes(Q.value)):B.refs?bi(B.ref)?B.refs.forEach(Q=>{(!Q.defaultChecked||!Q.disabled)&&(Array.isArray(V)?Q.checked=!!V.find(ve=>ve===Q.value):Q.checked=V===Q.value||!!V)}):B.refs.forEach(Q=>Q.checked=Q.value===V):$h(B.ref)?B.ref.value="":(B.ref.value=V,B.ref.type||y.state.next({name:C,values:tt(a)})))}(R.shouldDirty||R.shouldTouch)&&S(C,V,R.shouldTouch,R.shouldDirty,!0),R.shouldValidate&&P(C)},J=(C,E,R)=>{for(const H in E){if(!E.hasOwnProperty(H))return;const V=E[H],B=C+"."+H,Q=K(r,B);(i.array.has(C)||Ye(V)||Q&&!Q._f)&&!ks(V)?J(B,V,R):O(B,V,R)}},$=(C,E,R={})=>{const H=K(r,C),V=i.array.has(C),B=tt(E);Ie(a,C,B),V?(y.array.next({name:C,values:tt(a)}),(f.isDirty||f.dirtyFields||h.isDirty||h.dirtyFields)&&R.shouldDirty&&y.state.next({name:C,dirtyFields:fo(s,a),isDirty:G(C,B)})):H&&!H._f&&!bt(B)?J(C,B,R):O(C,B,R),pg(C,i)&&y.state.next({...n,name:C}),y.state.next({name:o.mount?C:void 0,values:tt(a)})},X=async C=>{o.mount=!0;const E=C.target;let R=E.name,H=!0;const V=K(r,R),B=Re=>{H=Number.isNaN(Re)||ks(Re)&&isNaN(Re.getTime())||cr(Re,K(a,R,Re))},Q=fg(t.mode),ve=fg(t.reValidateMode);if(V){let Re,jt;const er=E.type?dg(V._f):Hb(C),Pn=C.type===Ql.BLUR||C.type===Ql.FOCUS_OUT,ki=!hR(V._f)&&!t.resolver&&!K(n.errors,R)&&!V._f.deps||gR(Pn,K(n.touchedFields,R),n.isSubmitted,ve,Q),ms=pg(R,i,Pn);Ie(a,R,er),Pn?(V._f.onBlur&&V._f.onBlur(C),u&&u(0)):V._f.onChange&&V._f.onChange(C);const An=S(R,er,Pn),Si=!Et(An)||ms;if(!Pn&&y.state.next({name:R,type:C.type,values:tt(a)}),ki)return(f.isValid||h.isValid)&&(t.mode==="onBlur"?Pn&&g():Pn||g()),Si&&y.state.next({name:R,...ms?{}:An});if(!Pn&&ms&&y.state.next({...n}),t.resolver){const{errors:tr}=await N([R]);if(B(er),H){const Zu=mg(n.errors,r,R),Ci=mg(tr,r,Zu.name||R);Re=Ci.error,R=Ci.name,jt=Et(tr)}}else x([R],!0),Re=(await yg(V,i.disabled,a,m,t.shouldUseNativeValidation))[R],x([R]),B(er),H&&(Re?jt=!1:(f.isValid||h.isValid)&&(jt=await F(r,!0)));H&&(V._f.deps&&P(V._f.deps),j(R,jt,Re,An))}},T=(C,E)=>{if(K(n.errors,E)&&C.focus)return C.focus(),1},P=async(C,E={})=>{let R,H;const V=Ro(C);if(t.resolver){const B=await _(Ze(C)?C:V);R=Et(B),H=C?!V.some(Q=>K(B,Q)):R}else C?(H=(await Promise.all(V.map(async B=>{const Q=K(r,B);return await F(Q&&Q._f?{[B]:Q}:Q)}))).every(Boolean),!(!H&&!n.isValid)&&g()):H=R=await F(r);return y.state.next({...!Vn(C)||(f.isValid||h.isValid)&&R!==n.isValid?{}:{name:C},...t.resolver||!C?{isValid:R}:{},errors:n.errors}),E.shouldFocus&&!H&&Po(r,T,C?V:i.mount),H},W=C=>{const E={...o.mount?a:s};return Ze(C)?E:Vn(C)?K(E,C):C.map(R=>K(E,R))},se=(C,E)=>({invalid:!!K((E||n).errors,C),isDirty:!!K((E||n).dirtyFields,C),error:K((E||n).errors,C),isValidating:!!K(n.validatingFields,C),isTouched:!!K((E||n).touchedFields,C)}),ne=C=>{C&&Ro(C).forEach(E=>Je(n.errors,E)),y.state.next({errors:C?n.errors:{}})},ie=(C,E,R)=>{const H=(K(r,C,{_f:{}})._f||{}).ref,V=K(n.errors,C)||{},{ref:B,message:Q,type:ve,...Re}=V;Ie(n.errors,C,{...Re,...E,ref:H}),y.state.next({name:C,errors:n.errors,isValid:!1}),R&&R.shouldFocus&&H&&H.focus&&H.focus()},ae=(C,E)=>wn(C)?y.state.subscribe({next:R=>"values"in R&&C(M(void 0,E),R)}):M(C,E,!0),Te=C=>y.state.subscribe({next:E=>{mR(C.name,E.name,C.exact)&&pR(E,C.formState||f,Jn,C.reRenderRoot)&&C.callback({values:{...a},...n,...E,defaultValues:s})}}).unsubscribe,Be=C=>(o.mount=!0,h={...h,...C.formState},Te({...C,formState:h})),U=(C,E={})=>{for(const R of C?Ro(C):i.mount)i.mount.delete(R),i.array.delete(R),E.keepValue||(Je(r,R),Je(a,R)),!E.keepError&&Je(n.errors,R),!E.keepDirty&&Je(n.dirtyFields,R),!E.keepTouched&&Je(n.touchedFields,R),!E.keepIsValidating&&Je(n.validatingFields,R),!t.shouldUnregister&&!E.keepDefaultValue&&Je(s,R);y.state.next({values:tt(a)}),y.state.next({...n,...E.keepDirty?{isDirty:G()}:{}}),!E.keepIsValid&&g()},Se=({disabled:C,name:E})=>{(qt(C)&&o.mount||C||i.disabled.has(E))&&(C?i.disabled.add(E):i.disabled.delete(E))},Me=(C,E={})=>{let R=K(r,C);const H=qt(E.disabled)||qt(t.disabled);return Ie(r,C,{...R||{},_f:{...R&&R._f?R._f:{ref:{name:C}},name:C,mount:!0,...E}}),i.mount.add(C),R?Se({disabled:qt(E.disabled)?E.disabled:t.disabled,name:C}):k(C,!0,E.value),{...H?{disabled:E.disabled||t.disabled}:{},...t.progressive?{required:!!E.required,min:ho(E.min),max:ho(E.max),minLength:ho(E.minLength),maxLength:ho(E.maxLength),pattern:ho(E.pattern)}:{},name:C,onChange:X,onBlur:X,ref:V=>{if(V){Me(C,E),R=K(r,C);const B=Ze(V.value)&&V.querySelectorAll&&V.querySelectorAll("input,select,textarea")[0]||V,Q=lR(B),ve=R._f.refs||[];if(Q?ve.find(Re=>Re===B):B===R._f.ref)return;Ie(r,C,{_f:{...R._f,...Q?{refs:[...ve.filter(Bc),B,...Array.isArray(K(s,C))?[{}]:[]],ref:{type:B.type,name:C}}:{ref:B}}}),k(C,!1,void 0,B)}else R=K(r,C,{}),R._f&&(R._f.mount=!1),(t.shouldUnregister||E.shouldUnregister)&&!(Ub(i.array,C)&&o.action)&&i.unMount.add(C)}}},we=()=>t.shouldFocusError&&Po(r,T,i.mount),ye=C=>{qt(C)&&(y.state.next({disabled:C}),Po(r,(E,R)=>{const H=K(r,R);H&&(E.disabled=H._f.disabled||C,Array.isArray(H._f.refs)&&H._f.refs.forEach(V=>{V.disabled=H._f.disabled||C}))},0,!1))},xe=(C,E)=>async R=>{let H;R&&(R.preventDefault&&R.preventDefault(),R.persist&&R.persist());let V=tt(a);if(y.state.next({isSubmitting:!0}),t.resolver){const{errors:B,values:Q}=await N();n.errors=B,V=tt(Q)}else await F(r);if(i.disabled.size)for(const B of i.disabled)Je(V,B);if(Je(n.errors,"root"),Et(n.errors)){y.state.next({errors:{}});try{await C(V,R)}catch(B){H=B}}else E&&await E({...n.errors},R),we(),setTimeout(we);if(y.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Et(n.errors)&&!H,submitCount:n.submitCount+1,errors:n.errors}),H)throw H},st=(C,E={})=>{K(r,C)&&(Ze(E.defaultValue)?$(C,tt(K(s,C))):($(C,E.defaultValue),Ie(s,C,tt(E.defaultValue))),E.keepTouched||Je(n.touchedFields,C),E.keepDirty||(Je(n.dirtyFields,C),n.isDirty=E.defaultValue?G(C,tt(K(s,C))):G()),E.keepError||(Je(n.errors,C),f.isValid&&g()),y.state.next({...n}))},vt=(C,E={})=>{const R=C?tt(C):s,H=tt(R),V=Et(C),B=V?s:H;if(E.keepDefaultValues||(s=R),!E.keepValues){if(E.keepDirtyValues){const Q=new Set([...i.mount,...Object.keys(fo(s,a))]);for(const ve of Array.from(Q))K(n.dirtyFields,ve)?Ie(B,ve,K(a,ve)):$(ve,K(B,ve))}else{if(Fh&&Ze(C))for(const Q of i.mount){const ve=K(r,Q);if(ve&&ve._f){const Re=Array.isArray(ve._f.refs)?ve._f.refs[0]:ve._f.ref;if(Yl(Re)){const jt=Re.closest("form");if(jt){jt.reset();break}}}}if(E.keepFieldsRef)for(const Q of i.mount)$(Q,K(B,Q));else r={}}a=t.shouldUnregister?E.keepDefaultValues?tt(s):{}:tt(B),y.array.next({values:{...B}}),y.state.next({values:{...B}})}i={mount:E.keepDirtyValues?i.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!f.isValid||!!E.keepIsValid||!!E.keepDirtyValues,o.watch=!!t.shouldUnregister,y.state.next({submitCount:E.keepSubmitCount?n.submitCount:0,isDirty:V?!1:E.keepDirty?n.isDirty:!!(E.keepDefaultValues&&!cr(C,s)),isSubmitted:E.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:V?{}:E.keepDirtyValues?E.keepDefaultValues&&a?fo(s,a):n.dirtyFields:E.keepDefaultValues&&C?fo(s,C):E.keepDirty?n.dirtyFields:{},touchedFields:E.keepTouched?n.touchedFields:{},errors:E.keepErrors?n.errors:{},isSubmitSuccessful:E.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},Tn=(C,E)=>vt(wn(C)?C(a):C,E),Rn=(C,E={})=>{const R=K(r,C),H=R&&R._f;if(H){const V=H.refs?H.refs[0]:H.ref;V.focus&&(V.focus(),E.shouldSelect&&wn(V.select)&&V.select())}},Jn=C=>{n={...n,...C}},Xn={control:{register:Me,unregister:U,getFieldState:se,handleSubmit:xe,setError:ie,_subscribe:Te,_runSchema:N,_focusError:we,_getWatch:M,_getDirty:G,_setValid:g,_setFieldArray:w,_setDisabledField:Se,_setErrors:v,_getFieldArray:z,_reset:vt,_resetDefaultValues:()=>wn(t.defaultValues)&&t.defaultValues().then(C=>{Tn(C,t.resetOptions),y.state.next({isLoading:!1})}),_removeUnmounted:D,_disableForm:ye,_subjects:y,_proxyFormState:f,get _fields(){return r},get _formValues(){return a},get _state(){return o},set _state(C){o=C},get _defaultValues(){return s},get _names(){return i},set _names(C){i=C},get _formState(){return n},get _options(){return t},set _options(C){t={...t,...C}}},subscribe:Be,trigger:P,register:Me,handleSubmit:xe,watch:ae,setValue:$,getValues:W,reset:Tn,resetField:st,clearErrors:ne,unregister:U,setError:ie,setFocus:Rn,getFieldState:se};return{...Xn,formControl:Xn}}function sf(e={}){const t=I.useRef(void 0),n=I.useRef(void 0),[r,s]=I.useState({isDirty:!1,isValidating:!1,isLoading:wn(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:wn(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!wn(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:o,...i}=xR(e);t.current={...i,formState:r}}const a=t.current.control;return a._options=e,Bh(()=>{const o=a._subscribe({formState:a._proxyFormState,callback:()=>s({...a._formState}),reRenderRoot:!0});return s(i=>({...i,isReady:!0})),a._formState.isReady=!0,o},[a]),I.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),I.useEffect(()=>{e.mode&&(a._options.mode=e.mode),e.reValidateMode&&(a._options.reValidateMode=e.reValidateMode)},[a,e.mode,e.reValidateMode]),I.useEffect(()=>{e.errors&&(a._setErrors(e.errors),a._focusError())},[a,e.errors]),I.useEffect(()=>{e.shouldUnregister&&a._subjects.state.next({values:a._getWatch()})},[a,e.shouldUnregister]),I.useEffect(()=>{if(a._proxyFormState.isDirty){const o=a._getDirty();o!==r.isDirty&&a._subjects.state.next({isDirty:o})}},[a,r.isDirty]),I.useEffect(()=>{e.values&&!cr(e.values,n.current)?(a._reset(e.values,{keepFieldsRef:!0,...a._options.resetOptions}),n.current=e.values,s(o=>({...o}))):a._resetDefaultValues()},[a,e.values]),I.useEffect(()=>{a._state.mount||(a._setValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),t.current.formState=Kb(r,a),t.current}const vg=(e,t,n)=>{if(e&&"reportValidity"in e){const r=K(n,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},n1=(e,t)=>{for(const n in t.fields){const r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?vg(r.ref,n,e):r.refs&&r.refs.forEach(s=>vg(s,n,e))}},bR=(e,t)=>{t.shouldUseNativeValidation&&n1(e,t);const n={};for(const r in e){const s=K(t.fields,r),a=Object.assign(e[r]||{},{ref:s&&s.ref});if(kR(t.names||Object.keys(e),r)){const o=Object.assign({},K(n,r));Ie(o,"root",a),Ie(n,r,o)}else Ie(n,r,a)}return n},kR=(e,t)=>e.some(n=>n.startsWith(t+"."));var SR=function(e,t){for(var n={};e.length;){var r=e[0],s=r.code,a=r.message,o=r.path.join(".");if(!n[o])if("unionErrors"in r){var i=r.unionErrors[0].errors[0];n[o]={message:i.message,type:i.code}}else n[o]={message:a,type:s};if("unionErrors"in r&&r.unionErrors.forEach(function(f){return f.errors.forEach(function(h){return e.push(h)})}),t){var u=n[o].types,c=u&&u[r.code];n[o]=Zb(o,t,n,s,c?[].concat(c,r.message):r.message)}e.shift()}return n},af=function(e,t,n){return n===void 0&&(n={}),function(r,s,a){try{return Promise.resolve(function(o,i){try{var u=Promise.resolve(e[n.mode==="sync"?"parse":"parseAsync"](r,t)).then(function(c){return a.shouldUseNativeValidation&&n1({},a),{errors:{},values:n.raw?r:c}})}catch(c){return i(c)}return u&&u.then?u.then(void 0,i):u}(0,function(o){if(function(i){return Array.isArray(i==null?void 0:i.errors)}(o))return{values:{},errors:bR(SR(o.errors,!a.shouldUseNativeValidation&&a.criteriaMode==="all"),a)};throw o}))}catch(o){return Promise.reject(o)}}},Ne;(function(e){e.assertEqual=s=>{};function t(s){}e.assertIs=t;function n(s){throw new Error}e.assertNever=n,e.arrayToEnum=s=>{const a={};for(const o of s)a[o]=o;return a},e.getValidEnumValues=s=>{const a=e.objectKeys(s).filter(i=>typeof s[s[i]]!="number"),o={};for(const i of a)o[i]=s[i];return e.objectValues(o)},e.objectValues=s=>e.objectKeys(s).map(function(a){return s[a]}),e.objectKeys=typeof Object.keys=="function"?s=>Object.keys(s):s=>{const a=[];for(const o in s)Object.prototype.hasOwnProperty.call(s,o)&&a.push(o);return a},e.find=(s,a)=>{for(const o of s)if(a(o))return o},e.isInteger=typeof Number.isInteger=="function"?s=>Number.isInteger(s):s=>typeof s=="number"&&Number.isFinite(s)&&Math.floor(s)===s;function r(s,a=" | "){return s.map(o=>typeof o=="string"?`'${o}'`:o).join(a)}e.joinValues=r,e.jsonStringifyReplacer=(s,a)=>typeof a=="bigint"?a.toString():a})(Ne||(Ne={}));var wg;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(wg||(wg={}));const ee=Ne.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Or=e=>{switch(typeof e){case"undefined":return ee.undefined;case"string":return ee.string;case"number":return Number.isNaN(e)?ee.nan:ee.number;case"boolean":return ee.boolean;case"function":return ee.function;case"bigint":return ee.bigint;case"symbol":return ee.symbol;case"object":return Array.isArray(e)?ee.array:e===null?ee.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?ee.promise:typeof Map<"u"&&e instanceof Map?ee.map:typeof Set<"u"&&e instanceof Set?ee.set:typeof Date<"u"&&e instanceof Date?ee.date:ee.object;default:return ee.unknown}},q=Ne.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class kr extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(a){return a.message},r={_errors:[]},s=a=>{for(const o of a.issues)if(o.code==="invalid_union")o.unionErrors.map(s);else if(o.code==="invalid_return_type")s(o.returnTypeError);else if(o.code==="invalid_arguments")s(o.argumentsError);else if(o.path.length===0)r._errors.push(n(o));else{let i=r,u=0;for(;u<o.path.length;){const c=o.path[u];u===o.path.length-1?(i[c]=i[c]||{_errors:[]},i[c]._errors.push(n(o))):i[c]=i[c]||{_errors:[]},i=i[c],u++}}};return s(this),r}static assert(t){if(!(t instanceof kr))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Ne.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const s of this.issues)if(s.path.length>0){const a=s.path[0];n[a]=n[a]||[],n[a].push(t(s))}else r.push(t(s));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}kr.create=e=>new kr(e);const of=(e,t)=>{let n;switch(e.code){case q.invalid_type:e.received===ee.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case q.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Ne.jsonStringifyReplacer)}`;break;case q.unrecognized_keys:n=`Unrecognized key(s) in object: ${Ne.joinValues(e.keys,", ")}`;break;case q.invalid_union:n="Invalid input";break;case q.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Ne.joinValues(e.options)}`;break;case q.invalid_enum_value:n=`Invalid enum value. Expected ${Ne.joinValues(e.options)}, received '${e.received}'`;break;case q.invalid_arguments:n="Invalid function arguments";break;case q.invalid_return_type:n="Invalid function return type";break;case q.invalid_date:n="Invalid date";break;case q.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Ne.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case q.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case q.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case q.custom:n="Invalid input";break;case q.invalid_intersection_types:n="Intersection results could not be merged";break;case q.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case q.not_finite:n="Number must be finite";break;default:n=t.defaultError,Ne.assertNever(e)}return{message:n}};let CR=of;function NR(){return CR}const jR=e=>{const{data:t,path:n,errorMaps:r,issueData:s}=e,a=[...n,...s.path||[]],o={...s,path:a};if(s.message!==void 0)return{...s,path:a,message:s.message};let i="";const u=r.filter(c=>!!c).slice().reverse();for(const c of u)i=c(o,{data:t,defaultError:i}).message;return{...s,path:a,message:i}};function Z(e,t){const n=NR(),r=jR({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===of?void 0:of].filter(s=>!!s)});e.common.issues.push(r)}class Ht{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const s of n){if(s.status==="aborted")return le;s.status==="dirty"&&t.dirty(),r.push(s.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const s of n){const a=await s.key,o=await s.value;r.push({key:a,value:o})}return Ht.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const s of n){const{key:a,value:o}=s;if(a.status==="aborted"||o.status==="aborted")return le;a.status==="dirty"&&t.dirty(),o.status==="dirty"&&t.dirty(),a.value!=="__proto__"&&(typeof o.value<"u"||s.alwaysSet)&&(r[a.value]=o.value)}return{status:t.value,value:r}}}const le=Object.freeze({status:"aborted"}),xo=e=>({status:"dirty",value:e}),sn=e=>({status:"valid",value:e}),xg=e=>e.status==="aborted",bg=e=>e.status==="dirty",za=e=>e.status==="valid",eu=e=>typeof Promise<"u"&&e instanceof Promise;var te;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(te||(te={}));class is{constructor(t,n,r,s){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=s}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const kg=(e,t)=>{if(za(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new kr(e.common.issues);return this._error=n,this._error}}};function me(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:s}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:s}:{errorMap:(o,i)=>{const{message:u}=e;return o.code==="invalid_enum_value"?{message:u??i.defaultError}:typeof i.data>"u"?{message:u??r??i.defaultError}:o.code!=="invalid_type"?{message:i.defaultError}:{message:u??n??i.defaultError}},description:s}}class ke{get description(){return this._def.description}_getType(t){return Or(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Or(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Ht,ctx:{common:t.parent.common,data:t.data,parsedType:Or(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(eu(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){const r={common:{issues:[],async:(n==null?void 0:n.async)??!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Or(t)},s=this._parseSync({data:t,path:r.path,parent:r});return kg(r,s)}"~validate"(t){var r,s;const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Or(t)};if(!this["~standard"].async)try{const a=this._parseSync({data:t,path:[],parent:n});return za(a)?{value:a.value}:{issues:n.common.issues}}catch(a){(s=(r=a==null?void 0:a.message)==null?void 0:r.toLowerCase())!=null&&s.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(a=>za(a)?{value:a.value}:{issues:n.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Or(t)},s=this._parse({data:t,path:r.path,parent:r}),a=await(eu(s)?s:Promise.resolve(s));return kg(r,a)}refine(t,n){const r=s=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(s):n;return this._refinement((s,a)=>{const o=t(s),i=()=>a.addIssue({code:q.custom,...r(s)});return typeof Promise<"u"&&o instanceof Promise?o.then(u=>u?!0:(i(),!1)):o?!0:(i(),!1)})}refinement(t,n){return this._refinement((r,s)=>t(r)?!0:(s.addIssue(typeof n=="function"?n(r,s):n),!1))}_refinement(t){return new Wa({schema:this,typeName:ue.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return ns.create(this,this._def)}nullable(){return Ha.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Kn.create(this)}promise(){return su.create(this,this._def)}or(t){return nu.create([this,t],this._def)}and(t){return ru.create(this,t,this._def)}transform(t){return new Wa({...me(this._def),schema:this,typeName:ue.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new uf({...me(this._def),innerType:this,defaultValue:n,typeName:ue.ZodDefault})}brand(){return new ZR({typeName:ue.ZodBranded,type:this,...me(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new cf({...me(this._def),innerType:this,catchValue:n,typeName:ue.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return Vh.create(this,t)}readonly(){return df.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const ER=/^c[^\s-]{8,}$/i,IR=/^[0-9a-z]+$/,_R=/^[0-9A-HJKMNP-TV-Z]{26}$/i,TR=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,RR=/^[a-z0-9_-]{21}$/i,PR=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,AR=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,MR=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,OR="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let $c;const FR=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,DR=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,LR=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,qR=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,BR=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,$R=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,r1="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",zR=new RegExp(`^${r1}$`);function s1(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function VR(e){return new RegExp(`^${s1(e)}$`)}function WR(e){let t=`${r1}T${s1(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function HR(e,t){return!!((t==="v4"||!t)&&FR.test(e)||(t==="v6"||!t)&&LR.test(e))}function UR(e,t){if(!PR.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),s=JSON.parse(atob(r));return!(typeof s!="object"||s===null||"typ"in s&&(s==null?void 0:s.typ)!=="JWT"||!s.alg||t&&s.alg!==t)}catch{return!1}}function KR(e,t){return!!((t==="v4"||!t)&&DR.test(e)||(t==="v6"||!t)&&qR.test(e))}class Ur extends ke{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==ee.string){const a=this._getOrReturnCtx(t);return Z(a,{code:q.invalid_type,expected:ee.string,received:a.parsedType}),le}const r=new Ht;let s;for(const a of this._def.checks)if(a.kind==="min")t.data.length<a.value&&(s=this._getOrReturnCtx(t,s),Z(s,{code:q.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="max")t.data.length>a.value&&(s=this._getOrReturnCtx(t,s),Z(s,{code:q.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="length"){const o=t.data.length>a.value,i=t.data.length<a.value;(o||i)&&(s=this._getOrReturnCtx(t,s),o?Z(s,{code:q.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):i&&Z(s,{code:q.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),r.dirty())}else if(a.kind==="email")MR.test(t.data)||(s=this._getOrReturnCtx(t,s),Z(s,{validation:"email",code:q.invalid_string,message:a.message}),r.dirty());else if(a.kind==="emoji")$c||($c=new RegExp(OR,"u")),$c.test(t.data)||(s=this._getOrReturnCtx(t,s),Z(s,{validation:"emoji",code:q.invalid_string,message:a.message}),r.dirty());else if(a.kind==="uuid")TR.test(t.data)||(s=this._getOrReturnCtx(t,s),Z(s,{validation:"uuid",code:q.invalid_string,message:a.message}),r.dirty());else if(a.kind==="nanoid")RR.test(t.data)||(s=this._getOrReturnCtx(t,s),Z(s,{validation:"nanoid",code:q.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid")ER.test(t.data)||(s=this._getOrReturnCtx(t,s),Z(s,{validation:"cuid",code:q.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid2")IR.test(t.data)||(s=this._getOrReturnCtx(t,s),Z(s,{validation:"cuid2",code:q.invalid_string,message:a.message}),r.dirty());else if(a.kind==="ulid")_R.test(t.data)||(s=this._getOrReturnCtx(t,s),Z(s,{validation:"ulid",code:q.invalid_string,message:a.message}),r.dirty());else if(a.kind==="url")try{new URL(t.data)}catch{s=this._getOrReturnCtx(t,s),Z(s,{validation:"url",code:q.invalid_string,message:a.message}),r.dirty()}else a.kind==="regex"?(a.regex.lastIndex=0,a.regex.test(t.data)||(s=this._getOrReturnCtx(t,s),Z(s,{validation:"regex",code:q.invalid_string,message:a.message}),r.dirty())):a.kind==="trim"?t.data=t.data.trim():a.kind==="includes"?t.data.includes(a.value,a.position)||(s=this._getOrReturnCtx(t,s),Z(s,{code:q.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),r.dirty()):a.kind==="toLowerCase"?t.data=t.data.toLowerCase():a.kind==="toUpperCase"?t.data=t.data.toUpperCase():a.kind==="startsWith"?t.data.startsWith(a.value)||(s=this._getOrReturnCtx(t,s),Z(s,{code:q.invalid_string,validation:{startsWith:a.value},message:a.message}),r.dirty()):a.kind==="endsWith"?t.data.endsWith(a.value)||(s=this._getOrReturnCtx(t,s),Z(s,{code:q.invalid_string,validation:{endsWith:a.value},message:a.message}),r.dirty()):a.kind==="datetime"?WR(a).test(t.data)||(s=this._getOrReturnCtx(t,s),Z(s,{code:q.invalid_string,validation:"datetime",message:a.message}),r.dirty()):a.kind==="date"?zR.test(t.data)||(s=this._getOrReturnCtx(t,s),Z(s,{code:q.invalid_string,validation:"date",message:a.message}),r.dirty()):a.kind==="time"?VR(a).test(t.data)||(s=this._getOrReturnCtx(t,s),Z(s,{code:q.invalid_string,validation:"time",message:a.message}),r.dirty()):a.kind==="duration"?AR.test(t.data)||(s=this._getOrReturnCtx(t,s),Z(s,{validation:"duration",code:q.invalid_string,message:a.message}),r.dirty()):a.kind==="ip"?HR(t.data,a.version)||(s=this._getOrReturnCtx(t,s),Z(s,{validation:"ip",code:q.invalid_string,message:a.message}),r.dirty()):a.kind==="jwt"?UR(t.data,a.alg)||(s=this._getOrReturnCtx(t,s),Z(s,{validation:"jwt",code:q.invalid_string,message:a.message}),r.dirty()):a.kind==="cidr"?KR(t.data,a.version)||(s=this._getOrReturnCtx(t,s),Z(s,{validation:"cidr",code:q.invalid_string,message:a.message}),r.dirty()):a.kind==="base64"?BR.test(t.data)||(s=this._getOrReturnCtx(t,s),Z(s,{validation:"base64",code:q.invalid_string,message:a.message}),r.dirty()):a.kind==="base64url"?$R.test(t.data)||(s=this._getOrReturnCtx(t,s),Z(s,{validation:"base64url",code:q.invalid_string,message:a.message}),r.dirty()):Ne.assertNever(a);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(s=>t.test(s),{validation:n,code:q.invalid_string,...te.errToObj(r)})}_addCheck(t){return new Ur({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...te.errToObj(t)})}url(t){return this._addCheck({kind:"url",...te.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...te.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...te.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...te.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...te.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...te.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...te.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...te.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...te.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...te.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...te.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...te.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(t==null?void 0:t.offset)??!1,local:(t==null?void 0:t.local)??!1,...te.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...te.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...te.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...te.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...te.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...te.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...te.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...te.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...te.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...te.errToObj(n)})}nonempty(t){return this.min(1,te.errToObj(t))}trim(){return new Ur({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Ur({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Ur({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}Ur.create=e=>new Ur({checks:[],typeName:ue.ZodString,coerce:(e==null?void 0:e.coerce)??!1,...me(e)});function GR(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,s=n>r?n:r,a=Number.parseInt(e.toFixed(s).replace(".","")),o=Number.parseInt(t.toFixed(s).replace(".",""));return a%o/10**s}class ai extends ke{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==ee.number){const a=this._getOrReturnCtx(t);return Z(a,{code:q.invalid_type,expected:ee.number,received:a.parsedType}),le}let r;const s=new Ht;for(const a of this._def.checks)a.kind==="int"?Ne.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),Z(r,{code:q.invalid_type,expected:"integer",received:"float",message:a.message}),s.dirty()):a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(r=this._getOrReturnCtx(t,r),Z(r,{code:q.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),s.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(r=this._getOrReturnCtx(t,r),Z(r,{code:q.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),s.dirty()):a.kind==="multipleOf"?GR(t.data,a.value)!==0&&(r=this._getOrReturnCtx(t,r),Z(r,{code:q.not_multiple_of,multipleOf:a.value,message:a.message}),s.dirty()):a.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),Z(r,{code:q.not_finite,message:a.message}),s.dirty()):Ne.assertNever(a);return{status:s.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,te.toString(n))}gt(t,n){return this.setLimit("min",t,!1,te.toString(n))}lte(t,n){return this.setLimit("max",t,!0,te.toString(n))}lt(t,n){return this.setLimit("max",t,!1,te.toString(n))}setLimit(t,n,r,s){return new ai({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:te.toString(s)}]})}_addCheck(t){return new ai({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:te.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:te.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:te.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:te.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:te.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:te.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:te.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:te.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:te.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Ne.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}ai.create=e=>new ai({checks:[],typeName:ue.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...me(e)});class oi extends ke{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==ee.bigint)return this._getInvalidInput(t);let r;const s=new Ht;for(const a of this._def.checks)a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(r=this._getOrReturnCtx(t,r),Z(r,{code:q.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),s.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(r=this._getOrReturnCtx(t,r),Z(r,{code:q.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),s.dirty()):a.kind==="multipleOf"?t.data%a.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),Z(r,{code:q.not_multiple_of,multipleOf:a.value,message:a.message}),s.dirty()):Ne.assertNever(a);return{status:s.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return Z(n,{code:q.invalid_type,expected:ee.bigint,received:n.parsedType}),le}gte(t,n){return this.setLimit("min",t,!0,te.toString(n))}gt(t,n){return this.setLimit("min",t,!1,te.toString(n))}lte(t,n){return this.setLimit("max",t,!0,te.toString(n))}lt(t,n){return this.setLimit("max",t,!1,te.toString(n))}setLimit(t,n,r,s){return new oi({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:te.toString(s)}]})}_addCheck(t){return new oi({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:te.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:te.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:te.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:te.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:te.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}oi.create=e=>new oi({checks:[],typeName:ue.ZodBigInt,coerce:(e==null?void 0:e.coerce)??!1,...me(e)});class Sg extends ke{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==ee.boolean){const r=this._getOrReturnCtx(t);return Z(r,{code:q.invalid_type,expected:ee.boolean,received:r.parsedType}),le}return sn(t.data)}}Sg.create=e=>new Sg({typeName:ue.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...me(e)});class tu extends ke{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==ee.date){const a=this._getOrReturnCtx(t);return Z(a,{code:q.invalid_type,expected:ee.date,received:a.parsedType}),le}if(Number.isNaN(t.data.getTime())){const a=this._getOrReturnCtx(t);return Z(a,{code:q.invalid_date}),le}const r=new Ht;let s;for(const a of this._def.checks)a.kind==="min"?t.data.getTime()<a.value&&(s=this._getOrReturnCtx(t,s),Z(s,{code:q.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),r.dirty()):a.kind==="max"?t.data.getTime()>a.value&&(s=this._getOrReturnCtx(t,s),Z(s,{code:q.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),r.dirty()):Ne.assertNever(a);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new tu({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:te.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:te.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}tu.create=e=>new tu({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:ue.ZodDate,...me(e)});class Cg extends ke{_parse(t){if(this._getType(t)!==ee.symbol){const r=this._getOrReturnCtx(t);return Z(r,{code:q.invalid_type,expected:ee.symbol,received:r.parsedType}),le}return sn(t.data)}}Cg.create=e=>new Cg({typeName:ue.ZodSymbol,...me(e)});class Ng extends ke{_parse(t){if(this._getType(t)!==ee.undefined){const r=this._getOrReturnCtx(t);return Z(r,{code:q.invalid_type,expected:ee.undefined,received:r.parsedType}),le}return sn(t.data)}}Ng.create=e=>new Ng({typeName:ue.ZodUndefined,...me(e)});class jg extends ke{_parse(t){if(this._getType(t)!==ee.null){const r=this._getOrReturnCtx(t);return Z(r,{code:q.invalid_type,expected:ee.null,received:r.parsedType}),le}return sn(t.data)}}jg.create=e=>new jg({typeName:ue.ZodNull,...me(e)});class Eg extends ke{constructor(){super(...arguments),this._any=!0}_parse(t){return sn(t.data)}}Eg.create=e=>new Eg({typeName:ue.ZodAny,...me(e)});class Ig extends ke{constructor(){super(...arguments),this._unknown=!0}_parse(t){return sn(t.data)}}Ig.create=e=>new Ig({typeName:ue.ZodUnknown,...me(e)});class ls extends ke{_parse(t){const n=this._getOrReturnCtx(t);return Z(n,{code:q.invalid_type,expected:ee.never,received:n.parsedType}),le}}ls.create=e=>new ls({typeName:ue.ZodNever,...me(e)});class _g extends ke{_parse(t){if(this._getType(t)!==ee.undefined){const r=this._getOrReturnCtx(t);return Z(r,{code:q.invalid_type,expected:ee.void,received:r.parsedType}),le}return sn(t.data)}}_g.create=e=>new _g({typeName:ue.ZodVoid,...me(e)});class Kn extends ke{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),s=this._def;if(n.parsedType!==ee.array)return Z(n,{code:q.invalid_type,expected:ee.array,received:n.parsedType}),le;if(s.exactLength!==null){const o=n.data.length>s.exactLength.value,i=n.data.length<s.exactLength.value;(o||i)&&(Z(n,{code:o?q.too_big:q.too_small,minimum:i?s.exactLength.value:void 0,maximum:o?s.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:s.exactLength.message}),r.dirty())}if(s.minLength!==null&&n.data.length<s.minLength.value&&(Z(n,{code:q.too_small,minimum:s.minLength.value,type:"array",inclusive:!0,exact:!1,message:s.minLength.message}),r.dirty()),s.maxLength!==null&&n.data.length>s.maxLength.value&&(Z(n,{code:q.too_big,maximum:s.maxLength.value,type:"array",inclusive:!0,exact:!1,message:s.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((o,i)=>s.type._parseAsync(new is(n,o,n.path,i)))).then(o=>Ht.mergeArray(r,o));const a=[...n.data].map((o,i)=>s.type._parseSync(new is(n,o,n.path,i)));return Ht.mergeArray(r,a)}get element(){return this._def.type}min(t,n){return new Kn({...this._def,minLength:{value:t,message:te.toString(n)}})}max(t,n){return new Kn({...this._def,maxLength:{value:t,message:te.toString(n)}})}length(t,n){return new Kn({...this._def,exactLength:{value:t,message:te.toString(n)}})}nonempty(t){return this.min(1,t)}}Kn.create=(e,t)=>new Kn({type:e,minLength:null,maxLength:null,exactLength:null,typeName:ue.ZodArray,...me(t)});function ea(e){if(e instanceof Ke){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=ns.create(ea(r))}return new Ke({...e._def,shape:()=>t})}else return e instanceof Kn?new Kn({...e._def,type:ea(e.element)}):e instanceof ns?ns.create(ea(e.unwrap())):e instanceof Ha?Ha.create(ea(e.unwrap())):e instanceof $s?$s.create(e.items.map(t=>ea(t))):e}class Ke extends ke{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=Ne.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==ee.object){const c=this._getOrReturnCtx(t);return Z(c,{code:q.invalid_type,expected:ee.object,received:c.parsedType}),le}const{status:r,ctx:s}=this._processInputParams(t),{shape:a,keys:o}=this._getCached(),i=[];if(!(this._def.catchall instanceof ls&&this._def.unknownKeys==="strip"))for(const c in s.data)o.includes(c)||i.push(c);const u=[];for(const c of o){const f=a[c],h=s.data[c];u.push({key:{status:"valid",value:c},value:f._parse(new is(s,h,s.path,c)),alwaysSet:c in s.data})}if(this._def.catchall instanceof ls){const c=this._def.unknownKeys;if(c==="passthrough")for(const f of i)u.push({key:{status:"valid",value:f},value:{status:"valid",value:s.data[f]}});else if(c==="strict")i.length>0&&(Z(s,{code:q.unrecognized_keys,keys:i}),r.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const f of i){const h=s.data[f];u.push({key:{status:"valid",value:f},value:c._parse(new is(s,h,s.path,f)),alwaysSet:f in s.data})}}return s.common.async?Promise.resolve().then(async()=>{const c=[];for(const f of u){const h=await f.key,y=await f.value;c.push({key:h,value:y,alwaysSet:f.alwaysSet})}return c}).then(c=>Ht.mergeObjectSync(r,c)):Ht.mergeObjectSync(r,u)}get shape(){return this._def.shape()}strict(t){return te.errToObj,new Ke({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var a,o;const s=((o=(a=this._def).errorMap)==null?void 0:o.call(a,n,r).message)??r.defaultError;return n.code==="unrecognized_keys"?{message:te.errToObj(t).message??s}:{message:s}}}:{}})}strip(){return new Ke({...this._def,unknownKeys:"strip"})}passthrough(){return new Ke({...this._def,unknownKeys:"passthrough"})}extend(t){return new Ke({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Ke({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:ue.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Ke({...this._def,catchall:t})}pick(t){const n={};for(const r of Ne.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new Ke({...this._def,shape:()=>n})}omit(t){const n={};for(const r of Ne.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new Ke({...this._def,shape:()=>n})}deepPartial(){return ea(this)}partial(t){const n={};for(const r of Ne.objectKeys(this.shape)){const s=this.shape[r];t&&!t[r]?n[r]=s:n[r]=s.optional()}return new Ke({...this._def,shape:()=>n})}required(t){const n={};for(const r of Ne.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let a=this.shape[r];for(;a instanceof ns;)a=a._def.innerType;n[r]=a}return new Ke({...this._def,shape:()=>n})}keyof(){return a1(Ne.objectKeys(this.shape))}}Ke.create=(e,t)=>new Ke({shape:()=>e,unknownKeys:"strip",catchall:ls.create(),typeName:ue.ZodObject,...me(t)});Ke.strictCreate=(e,t)=>new Ke({shape:()=>e,unknownKeys:"strict",catchall:ls.create(),typeName:ue.ZodObject,...me(t)});Ke.lazycreate=(e,t)=>new Ke({shape:e,unknownKeys:"strip",catchall:ls.create(),typeName:ue.ZodObject,...me(t)});class nu extends ke{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function s(a){for(const i of a)if(i.result.status==="valid")return i.result;for(const i of a)if(i.result.status==="dirty")return n.common.issues.push(...i.ctx.common.issues),i.result;const o=a.map(i=>new kr(i.ctx.common.issues));return Z(n,{code:q.invalid_union,unionErrors:o}),le}if(n.common.async)return Promise.all(r.map(async a=>{const o={...n,common:{...n.common,issues:[]},parent:null};return{result:await a._parseAsync({data:n.data,path:n.path,parent:o}),ctx:o}})).then(s);{let a;const o=[];for(const u of r){const c={...n,common:{...n.common,issues:[]},parent:null},f=u._parseSync({data:n.data,path:n.path,parent:c});if(f.status==="valid")return f;f.status==="dirty"&&!a&&(a={result:f,ctx:c}),c.common.issues.length&&o.push(c.common.issues)}if(a)return n.common.issues.push(...a.ctx.common.issues),a.result;const i=o.map(u=>new kr(u));return Z(n,{code:q.invalid_union,unionErrors:i}),le}}get options(){return this._def.options}}nu.create=(e,t)=>new nu({options:e,typeName:ue.ZodUnion,...me(t)});function lf(e,t){const n=Or(e),r=Or(t);if(e===t)return{valid:!0,data:e};if(n===ee.object&&r===ee.object){const s=Ne.objectKeys(t),a=Ne.objectKeys(e).filter(i=>s.indexOf(i)!==-1),o={...e,...t};for(const i of a){const u=lf(e[i],t[i]);if(!u.valid)return{valid:!1};o[i]=u.data}return{valid:!0,data:o}}else if(n===ee.array&&r===ee.array){if(e.length!==t.length)return{valid:!1};const s=[];for(let a=0;a<e.length;a++){const o=e[a],i=t[a],u=lf(o,i);if(!u.valid)return{valid:!1};s.push(u.data)}return{valid:!0,data:s}}else return n===ee.date&&r===ee.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class ru extends ke{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),s=(a,o)=>{if(xg(a)||xg(o))return le;const i=lf(a.value,o.value);return i.valid?((bg(a)||bg(o))&&n.dirty(),{status:n.value,value:i.data}):(Z(r,{code:q.invalid_intersection_types}),le)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([a,o])=>s(a,o)):s(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}ru.create=(e,t,n)=>new ru({left:e,right:t,typeName:ue.ZodIntersection,...me(n)});class $s extends ke{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ee.array)return Z(r,{code:q.invalid_type,expected:ee.array,received:r.parsedType}),le;if(r.data.length<this._def.items.length)return Z(r,{code:q.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),le;!this._def.rest&&r.data.length>this._def.items.length&&(Z(r,{code:q.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const a=[...r.data].map((o,i)=>{const u=this._def.items[i]||this._def.rest;return u?u._parse(new is(r,o,r.path,i)):null}).filter(o=>!!o);return r.common.async?Promise.all(a).then(o=>Ht.mergeArray(n,o)):Ht.mergeArray(n,a)}get items(){return this._def.items}rest(t){return new $s({...this._def,rest:t})}}$s.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new $s({items:e,typeName:ue.ZodTuple,rest:null,...me(t)})};class Tg extends ke{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ee.map)return Z(r,{code:q.invalid_type,expected:ee.map,received:r.parsedType}),le;const s=this._def.keyType,a=this._def.valueType,o=[...r.data.entries()].map(([i,u],c)=>({key:s._parse(new is(r,i,r.path,[c,"key"])),value:a._parse(new is(r,u,r.path,[c,"value"]))}));if(r.common.async){const i=new Map;return Promise.resolve().then(async()=>{for(const u of o){const c=await u.key,f=await u.value;if(c.status==="aborted"||f.status==="aborted")return le;(c.status==="dirty"||f.status==="dirty")&&n.dirty(),i.set(c.value,f.value)}return{status:n.value,value:i}})}else{const i=new Map;for(const u of o){const c=u.key,f=u.value;if(c.status==="aborted"||f.status==="aborted")return le;(c.status==="dirty"||f.status==="dirty")&&n.dirty(),i.set(c.value,f.value)}return{status:n.value,value:i}}}}Tg.create=(e,t,n)=>new Tg({valueType:t,keyType:e,typeName:ue.ZodMap,...me(n)});class ii extends ke{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ee.set)return Z(r,{code:q.invalid_type,expected:ee.set,received:r.parsedType}),le;const s=this._def;s.minSize!==null&&r.data.size<s.minSize.value&&(Z(r,{code:q.too_small,minimum:s.minSize.value,type:"set",inclusive:!0,exact:!1,message:s.minSize.message}),n.dirty()),s.maxSize!==null&&r.data.size>s.maxSize.value&&(Z(r,{code:q.too_big,maximum:s.maxSize.value,type:"set",inclusive:!0,exact:!1,message:s.maxSize.message}),n.dirty());const a=this._def.valueType;function o(u){const c=new Set;for(const f of u){if(f.status==="aborted")return le;f.status==="dirty"&&n.dirty(),c.add(f.value)}return{status:n.value,value:c}}const i=[...r.data.values()].map((u,c)=>a._parse(new is(r,u,r.path,c)));return r.common.async?Promise.all(i).then(u=>o(u)):o(i)}min(t,n){return new ii({...this._def,minSize:{value:t,message:te.toString(n)}})}max(t,n){return new ii({...this._def,maxSize:{value:t,message:te.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}ii.create=(e,t)=>new ii({valueType:e,minSize:null,maxSize:null,typeName:ue.ZodSet,...me(t)});class Rg extends ke{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}Rg.create=(e,t)=>new Rg({getter:e,typeName:ue.ZodLazy,...me(t)});class Pg extends ke{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return Z(n,{received:n.data,code:q.invalid_literal,expected:this._def.value}),le}return{status:"valid",value:t.data}}get value(){return this._def.value}}Pg.create=(e,t)=>new Pg({value:e,typeName:ue.ZodLiteral,...me(t)});function a1(e,t){return new Va({values:e,typeName:ue.ZodEnum,...me(t)})}class Va extends ke{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return Z(n,{expected:Ne.joinValues(r),received:n.parsedType,code:q.invalid_type}),le}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return Z(n,{received:n.data,code:q.invalid_enum_value,options:r}),le}return sn(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return Va.create(t,{...this._def,...n})}exclude(t,n=this._def){return Va.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}Va.create=a1;class Ag extends ke{_parse(t){const n=Ne.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==ee.string&&r.parsedType!==ee.number){const s=Ne.objectValues(n);return Z(r,{expected:Ne.joinValues(s),received:r.parsedType,code:q.invalid_type}),le}if(this._cache||(this._cache=new Set(Ne.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const s=Ne.objectValues(n);return Z(r,{received:r.data,code:q.invalid_enum_value,options:s}),le}return sn(t.data)}get enum(){return this._def.values}}Ag.create=(e,t)=>new Ag({values:e,typeName:ue.ZodNativeEnum,...me(t)});class su extends ke{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ee.promise&&n.common.async===!1)return Z(n,{code:q.invalid_type,expected:ee.promise,received:n.parsedType}),le;const r=n.parsedType===ee.promise?n.data:Promise.resolve(n.data);return sn(r.then(s=>this._def.type.parseAsync(s,{path:n.path,errorMap:n.common.contextualErrorMap})))}}su.create=(e,t)=>new su({type:e,typeName:ue.ZodPromise,...me(t)});class Wa extends ke{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ue.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),s=this._def.effect||null,a={addIssue:o=>{Z(r,o),o.fatal?n.abort():n.dirty()},get path(){return r.path}};if(a.addIssue=a.addIssue.bind(a),s.type==="preprocess"){const o=s.transform(r.data,a);if(r.common.async)return Promise.resolve(o).then(async i=>{if(n.value==="aborted")return le;const u=await this._def.schema._parseAsync({data:i,path:r.path,parent:r});return u.status==="aborted"?le:u.status==="dirty"||n.value==="dirty"?xo(u.value):u});{if(n.value==="aborted")return le;const i=this._def.schema._parseSync({data:o,path:r.path,parent:r});return i.status==="aborted"?le:i.status==="dirty"||n.value==="dirty"?xo(i.value):i}}if(s.type==="refinement"){const o=i=>{const u=s.refinement(i,a);if(r.common.async)return Promise.resolve(u);if(u instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return i};if(r.common.async===!1){const i=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?le:(i.status==="dirty"&&n.dirty(),o(i.value),{status:n.value,value:i.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(i=>i.status==="aborted"?le:(i.status==="dirty"&&n.dirty(),o(i.value).then(()=>({status:n.value,value:i.value}))))}if(s.type==="transform")if(r.common.async===!1){const o=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!za(o))return le;const i=s.transform(o.value,a);if(i instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:i}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(o=>za(o)?Promise.resolve(s.transform(o.value,a)).then(i=>({status:n.value,value:i})):le);Ne.assertNever(s)}}Wa.create=(e,t,n)=>new Wa({schema:e,typeName:ue.ZodEffects,effect:t,...me(n)});Wa.createWithPreprocess=(e,t,n)=>new Wa({schema:t,effect:{type:"preprocess",transform:e},typeName:ue.ZodEffects,...me(n)});class ns extends ke{_parse(t){return this._getType(t)===ee.undefined?sn(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ns.create=(e,t)=>new ns({innerType:e,typeName:ue.ZodOptional,...me(t)});class Ha extends ke{_parse(t){return this._getType(t)===ee.null?sn(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Ha.create=(e,t)=>new Ha({innerType:e,typeName:ue.ZodNullable,...me(t)});class uf extends ke{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===ee.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}uf.create=(e,t)=>new uf({innerType:e,typeName:ue.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...me(t)});class cf extends ke{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},s=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return eu(s)?s.then(a=>({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new kr(r.common.issues)},input:r.data})})):{status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new kr(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}cf.create=(e,t)=>new cf({innerType:e,typeName:ue.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...me(t)});class Mg extends ke{_parse(t){if(this._getType(t)!==ee.nan){const r=this._getOrReturnCtx(t);return Z(r,{code:q.invalid_type,expected:ee.nan,received:r.parsedType}),le}return{status:"valid",value:t.data}}}Mg.create=e=>new Mg({typeName:ue.ZodNaN,...me(e)});class ZR extends ke{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class Vh extends ke{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const a=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?le:a.status==="dirty"?(n.dirty(),xo(a.value)):this._def.out._parseAsync({data:a.value,path:r.path,parent:r})})();{const s=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?le:s.status==="dirty"?(n.dirty(),{status:"dirty",value:s.value}):this._def.out._parseSync({data:s.value,path:r.path,parent:r})}}static create(t,n){return new Vh({in:t,out:n,typeName:ue.ZodPipeline})}}class df extends ke{_parse(t){const n=this._def.innerType._parse(t),r=s=>(za(s)&&(s.value=Object.freeze(s.value)),s);return eu(n)?n.then(s=>r(s)):r(n)}unwrap(){return this._def.innerType}}df.create=(e,t)=>new df({innerType:e,typeName:ue.ZodReadonly,...me(t)});Ke.lazycreate;var ue;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(ue||(ue={}));const Fn=Ur.create;ls.create;Kn.create;const Wh=Ke.create;Ke.strictCreate;nu.create;ru.create;$s.create;const Og=Va.create;su.create;ns.create;Ha.create;const ff=rR,o1=d.createContext({}),Zt=({...e})=>l.jsx(o1.Provider,{value:{name:e.name},children:l.jsx(iR,{...e})}),Hu=()=>{const e=d.useContext(o1),t=d.useContext(i1),{getFieldState:n,formState:r}=Wu(),s=n(e.name,r);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:a}=t;return{id:a,name:e.name,formItemId:`${a}-form-item`,formDescriptionId:`${a}-form-item-description`,formMessageId:`${a}-form-item-message`,...s}},i1=d.createContext({}),Mt=d.forwardRef(({className:e,...t},n)=>{const r=d.useId();return l.jsx(i1.Provider,{value:{id:r},children:l.jsx("div",{ref:n,className:he("space-y-2",e),...t})})});Mt.displayName="FormItem";const Ot=d.forwardRef(({className:e,...t},n)=>{const{error:r,formItemId:s}=Hu();return l.jsx(ha,{ref:n,className:he(r&&"text-destructive",e),htmlFor:s,...t})});Ot.displayName="FormLabel";const Ft=d.forwardRef(({...e},t)=>{const{error:n,formItemId:r,formDescriptionId:s,formMessageId:a}=Hu();return l.jsx(vw,{ref:t,id:r,"aria-describedby":n?`${s} ${a}`:`${s}`,"aria-invalid":!!n,...e})});Ft.displayName="FormControl";const QR=d.forwardRef(({className:e,...t},n)=>{const{formDescriptionId:r}=Hu();return l.jsx("p",{ref:n,id:r,className:he("text-sm text-muted-foreground",e),...t})});QR.displayName="FormDescription";const Dt=d.forwardRef(({className:e,children:t,...n},r)=>{const{error:s,formMessageId:a}=Hu(),o=s?String(s==null?void 0:s.message):t;return o?l.jsx("p",{ref:r,id:a,className:he("text-sm font-medium text-destructive",e),...n,children:o}):null});Dt.displayName="FormMessage";const YR=[{name:"Dorothy B.",quote:"Rhonda has been absolutely wonderful. She has been excellent in keeping in touch and offering grant application opportunities. I have to admit that when I decided I needed a grant to enhance and grow my business, I was intimidated by the process and almost gave up. But I enrolled with U.S. Business Funding Solutions and got Rhonda as my coach. Her knowledge, reassurance, support, and help have been invaluable.",stars:5},{name:"James B.",quote:"I am very well pleased and overjoyed with the professional business plan written by Ms. Michelle Palmer. Much of the information needed was not clearly understood by me, but Ms. Palmer coached me through phone conversations until I clearly understood. I couldn't have asked for a better business coach than Ms. Michelle. Indeed, she suggested many active grant funding opportunities as well as loans for upstarts and existing small businesses.",stars:5},{name:"Damon L.",quote:"Nicole has been great to work with. I appreciate her responsiveness and attention to detail. Nicole's work on the business plan for I Am Here Transportation Services, LLC was outstanding. She pulled together our submissions and created a sparkling piece of work that is polished, professional, and complete.",stars:5},{name:"Tim M.",quote:"Keri went above and beyond her expectations on this business plan, in my opinion. Her exploration/research beyond my research is making this business plan stand out. I've learned a lot from working with Keri. She's got the ability to take a regular business plan and turn it into a spectacular presentation that everyone wants to see!",stars:5},{name:"Von M.",quote:"Thank you for the amazing job on the business plan. We are blown away by the level of detail and professionalism this plan was written with. We want to emphasize our extreme satisfaction with the business plan. It reads like a top-level Fortune 500 business manifesto. Great job.",stars:5},{name:"Karen M.",quote:"We thoroughly enjoyed working with Michelle as our business coach. She walked us through each step, offering much-needed insights along the way. The business plan she prepared for us is second to none—just simply superb!",stars:5},{name:"Paul K.",quote:"Michelle is an amazing, very skilled, and caring guide. I've never done this before, and she has guided me every step of the way, including taking my good business plan and making it great. I highly recommend Michelle!!!",stars:5},{name:"Darryl J.",quote:"Nicole's assistance and support have been amazing. She is very knowledgeable and communicates excellently. She completed my business plan, and it was perfect. Now we are proceeding with grant writing and submittals.",stars:5},{name:"Bryan B.",quote:"Keri is AWESOME. The business plan is far and away better than anything I could have created. That type of work, along with the responsiveness, is 5 stars every time.",stars:5}],JR=Wh({firstName:Fn().trim().min(1,"First name is required").max(100,"First name must be less than 100 characters"),lastName:Fn().trim().min(1,"Last name is required").max(100,"Last name must be less than 100 characters"),email:Fn().trim().email("Invalid email address").max(255,"Email must be less than 255 characters"),phone:Fn().trim().min(1,"Phone number is required").max(20,"Phone number must be less than 20 characters"),business:Fn().trim().min(1,"Business name is required").max(200,"Business name must be less than 200 characters"),talkedToAdmissions:Og(["yes","no"]),inProgram:Og(["yes","no"]),subject:Fn().min(1,"Please select a subject"),message:Fn().trim().min(1,"Message is required").max(1e3,"Message must be less than 1000 characters")}),XR=()=>{const[e,t]=d.useState(!1),n=sf({resolver:af(JR),defaultValues:{firstName:"",lastName:"",email:"",phone:"",business:"",talkedToAdmissions:"no",inProgram:"no",subject:"",message:""}}),r=async s=>{t(!0);try{const o=await(await fetch("/ajax/contact.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)})).json();o.status==="success"?(ir.success("Message sent successfully! We'll get back to you soon."),n.reset()):ir.error(o.message||"Failed to send message. Please try again.")}catch(a){ir.error("An error occurred. Please try again later."),console.error("Form submission error:",a)}finally{t(!1)}};return l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(Qn,{}),l.jsx(pe,{className:"pt-16",children:l.jsx("div",{className:"text-center space-y-8 animate-fade-in",children:l.jsxs("div",{children:[l.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-foreground mb-6",children:["Contact Our",l.jsx("span",{className:"bg-gradient-primary bg-clip-text text-transparent",children:" Funding Experts"})]}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto leading-relaxed",children:"Ready to secure funding for your business? Our team of professionals is here to help you navigate the funding process and achieve your financial goals."})]})})}),l.jsx(pe,{children:l.jsx("div",{className:"max-w-3xl mx-auto",children:l.jsxs("div",{className:"space-y-8 animate-fade-in",children:[l.jsxs("div",{children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Send Us a Message"}),l.jsx("p",{className:"text-xl text-muted-foreground",children:"Fill out the form below and one of our funding specialists will contact you."})]}),l.jsxs(Ae,{children:[l.jsxs(Nn,{children:[l.jsx(jn,{children:"Contact Form"}),l.jsx($a,{children:"Tell us about your funding needs and we'll get back to you promptly."})]}),l.jsx(Fe,{children:l.jsx(ff,{...n,children:l.jsxs("form",{onSubmit:n.handleSubmit(r),className:"space-y-6",children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[l.jsx(Zt,{control:n.control,name:"firstName",render:({field:s})=>l.jsxs(Mt,{children:[l.jsx(Ot,{children:"First Name"}),l.jsx(Ft,{children:l.jsx(ur,{placeholder:"Enter your first name",...s})}),l.jsx(Dt,{})]})}),l.jsx(Zt,{control:n.control,name:"lastName",render:({field:s})=>l.jsxs(Mt,{children:[l.jsx(Ot,{children:"Last Name"}),l.jsx(Ft,{children:l.jsx(ur,{placeholder:"Enter your last name",...s})}),l.jsx(Dt,{})]})})]}),l.jsx(Zt,{control:n.control,name:"email",render:({field:s})=>l.jsxs(Mt,{children:[l.jsx(Ot,{children:"Email Address"}),l.jsx(Ft,{children:l.jsx(ur,{type:"email",placeholder:"Enter your email",...s})}),l.jsx(Dt,{})]})}),l.jsx(Zt,{control:n.control,name:"phone",render:({field:s})=>l.jsxs(Mt,{children:[l.jsx(Ot,{children:"Phone Number"}),l.jsx(Ft,{children:l.jsx(ur,{type:"tel",placeholder:"Enter your phone number",...s})}),l.jsx(Dt,{})]})}),l.jsx(Zt,{control:n.control,name:"business",render:({field:s})=>l.jsxs(Mt,{children:[l.jsx(Ot,{children:"Business Name"}),l.jsx(Ft,{children:l.jsx(ur,{placeholder:"Enter your business name",...s})}),l.jsx(Dt,{})]})}),l.jsx(Zt,{control:n.control,name:"talkedToAdmissions",render:({field:s})=>l.jsxs(Mt,{className:"space-y-3",children:[l.jsx(Ot,{children:"Have you talked to an Admissions Director?"}),l.jsx(Ft,{children:l.jsxs(Yd,{onValueChange:s.onChange,defaultValue:s.value,className:"flex items-center space-x-4",children:[l.jsxs("div",{className:"flex items-center space-x-2",children:[l.jsx(vo,{value:"yes",id:"admissions-yes"}),l.jsx(ha,{htmlFor:"admissions-yes",className:"font-normal cursor-pointer",children:"Yes"})]}),l.jsxs("div",{className:"flex items-center space-x-2",children:[l.jsx(vo,{value:"no",id:"admissions-no"}),l.jsx(ha,{htmlFor:"admissions-no",className:"font-normal cursor-pointer",children:"No"})]})]})}),l.jsx(Dt,{})]})}),l.jsx(Zt,{control:n.control,name:"inProgram",render:({field:s})=>l.jsxs(Mt,{className:"space-y-3",children:[l.jsx(Ot,{children:"Are you already in the program?"}),l.jsx(Ft,{children:l.jsxs(Yd,{onValueChange:s.onChange,defaultValue:s.value,className:"flex items-center space-x-4",children:[l.jsxs("div",{className:"flex items-center space-x-2",children:[l.jsx(vo,{value:"yes",id:"program-yes"}),l.jsx(ha,{htmlFor:"program-yes",className:"font-normal cursor-pointer",children:"Yes"})]}),l.jsxs("div",{className:"flex items-center space-x-2",children:[l.jsx(vo,{value:"no",id:"program-no"}),l.jsx(ha,{htmlFor:"program-no",className:"font-normal cursor-pointer",children:"No"})]})]})}),l.jsx(Dt,{})]})}),l.jsx(Zt,{control:n.control,name:"subject",render:({field:s})=>l.jsxs(Mt,{children:[l.jsx(Ot,{children:"Subject"}),l.jsxs(YT,{onValueChange:s.onChange,defaultValue:s.value,children:[l.jsx(Ft,{children:l.jsx(Bb,{children:l.jsx(JT,{placeholder:"-- Please Select--"})})}),l.jsxs(Vb,{children:[l.jsx(Xs,{value:"coaching-info",children:"More info about the Coaching Program."}),l.jsx(Xs,{value:"enroll",children:"How do I enroll?"}),l.jsx(Xs,{value:"coach-question",children:"I have a question for my Coach."}),l.jsx(Xs,{value:"billing",children:"I have a billing question."}),l.jsx(Xs,{value:"other",children:"Other -"})]})]}),l.jsx(Dt,{})]})}),l.jsx(Zt,{control:n.control,name:"message",render:({field:s})=>l.jsxs(Mt,{children:[l.jsx(Ot,{children:"Message"}),l.jsx(Ft,{children:l.jsx(O0,{placeholder:"How can we help you?",className:"min-h-[120px]",...s})}),l.jsx(Dt,{})]})}),l.jsx(ot,{type:"submit",className:"w-full bg-gradient-primary hover:shadow-glow transition-all duration-300",disabled:e,children:e?"Sending...":"Send Message"})]})})})]})]})})}),l.jsxs(pe,{className:"bg-muted/30",children:[l.jsxs("div",{className:"text-center mb-12 space-y-4",children:[l.jsx("h2",{className:"text-3xl font-bold",children:"What Our Clients Say"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Real success stories from business owners."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:YR.slice(0,6).map((s,a)=>l.jsx(Ae,{className:"hover:shadow-elegant transition-all duration-300",children:l.jsxs(Fe,{className:"p-6 space-y-3",children:[l.jsx("div",{className:"flex gap-1",children:[...Array(s.stars)].map((o,i)=>l.jsx(Rs,{className:"w-4 h-4 fill-accent text-accent"},i))}),l.jsxs("blockquote",{className:"text-sm text-muted-foreground italic leading-relaxed",children:['"',s.quote,'"']}),l.jsx("p",{className:"font-semibold text-sm pt-2",children:s.name})]})},a))})]}),l.jsx(Yn,{})]})},eP=Wh({email:Fn().trim().email("Invalid email address").max(255,"Email must be less than 255 characters"),password:Fn().min(1,"Password is required").max(100,"Password must be less than 100 characters")}),tP=Wh({email:Fn().trim().email("Invalid email address").max(255,"Email must be less than 255 characters")}),nP=()=>{const[e,t]=d.useState(!1),[n,r]=d.useState(!1),[s,a]=d.useState(!1),o=hw(),i=sf({resolver:af(eP),defaultValues:{email:"",password:""}}),u=sf({resolver:af(tP),defaultValues:{email:""}}),c=async h=>{a(!0);try{const m=await(await fetch("/ajax/login.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(h)})).json();m.status==="success"?(ir.success("Login successful! Redirecting..."),setTimeout(()=>{o("/member/")},500)):ir.error(m.message||"Login failed. Please check your credentials.")}catch(y){ir.error("An error occurred. Please try again later."),console.error("Login error:",y)}finally{a(!1)}},f=async h=>{a(!0);try{const m=await(await fetch("/ajax/forgotPassword.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(h)})).json();m.status==="success"?(ir.success("Password reset instructions have been sent to your email."),u.reset(),r(!1)):ir.error(m.message||"Failed to send reset email. Please try again.")}catch(y){ir.error("An error occurred. Please try again later."),console.error("Forgot password error:",y)}finally{a(!1)}};return l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(Qn,{}),l.jsx(pe,{className:"pt-16",children:l.jsx("div",{className:"text-center space-y-8 animate-fade-in",children:l.jsxs("div",{children:[l.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-foreground mb-6",children:["Member",l.jsx("span",{className:"bg-gradient-primary bg-clip-text text-transparent",children:" Portal"})]}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto leading-relaxed",children:"Access your personalized funding dashboard, business plan template, track applications, and connect with our team of professionals dedicated to your success."})]})})}),l.jsx(pe,{className:"bg-muted/30",children:l.jsx("div",{className:"max-w-xl mx-auto space-y-12",children:n?l.jsx("div",{className:"animate-fade-in",children:l.jsxs(Ae,{className:"shadow-elegant",children:[l.jsxs(Nn,{className:"text-center",children:[l.jsx("div",{className:"mx-auto mb-4 p-4 bg-gradient-primary rounded-full text-primary-foreground",children:l.jsx(ag,{className:"h-8 w-8"})}),l.jsx(jn,{className:"text-2xl",children:"Reset Password"}),l.jsx($a,{children:"Enter your email address and we'll send you instructions to reset your password."})]}),l.jsx(Fe,{children:l.jsx(ff,{...u,children:l.jsxs("form",{onSubmit:u.handleSubmit(f),className:"space-y-6",children:[l.jsx(Zt,{control:u.control,name:"email",render:({field:h})=>l.jsxs(Mt,{children:[l.jsx(Ot,{children:"Email Address"}),l.jsx(Ft,{children:l.jsx(ur,{type:"email",placeholder:"Enter your email address",className:"h-12",...h})}),l.jsx(Dt,{})]})}),l.jsxs("div",{className:"flex gap-3",children:[l.jsxs(ot,{type:"button",variant:"outline",className:"flex-1 h-12",onClick:()=>{r(!1),u.reset()},disabled:s,children:[l.jsx(W5,{className:"h-5 w-5 mr-2"}),"Back to Login"]}),l.jsx(ot,{type:"submit",className:"flex-1 h-12 bg-gradient-primary hover:shadow-glow transition-all duration-300",disabled:s,children:s?"Sending...":"Send Reset Link"})]})]})})})]})}):l.jsx("div",{className:"animate-fade-in",children:l.jsxs(Ae,{className:"shadow-elegant",children:[l.jsxs(Nn,{className:"text-center",children:[l.jsx("div",{className:"mx-auto mb-4 p-4 bg-gradient-primary rounded-full text-primary-foreground",children:l.jsx(w_,{className:"h-8 w-8"})}),l.jsx(jn,{className:"text-2xl",children:"Welcome Back"}),l.jsx($a,{children:"Sign in to access your member dashboard and funding resources."})]}),l.jsx(Fe,{children:l.jsx(ff,{...i,children:l.jsxs("form",{onSubmit:i.handleSubmit(c),className:"space-y-6",children:[l.jsx(Zt,{control:i.control,name:"email",render:({field:h})=>l.jsxs(Mt,{children:[l.jsx(Ot,{children:"Email Address"}),l.jsx(Ft,{children:l.jsx(ur,{type:"email",placeholder:"Enter your email address",className:"h-12",...h})}),l.jsx(Dt,{})]})}),l.jsx(Zt,{control:i.control,name:"password",render:({field:h})=>l.jsxs(Mt,{children:[l.jsx(Ot,{children:"Password"}),l.jsx(Ft,{children:l.jsxs("div",{className:"relative",children:[l.jsx(ur,{type:e?"text":"password",placeholder:"Enter your password",className:"h-12 pr-12",...h}),l.jsx(ot,{type:"button",variant:"ghost",size:"sm",className:"absolute right-0 top-0 h-12 px-3",onClick:()=>t(!e),children:e?l.jsx(s_,{className:"h-5 w-5"}):l.jsx(o_,{className:"h-5 w-5"})})]})}),l.jsx(Dt,{})]})}),l.jsx("div",{className:"flex justify-end",children:l.jsx(ot,{type:"button",variant:"link",className:"px-0 text-primary",onClick:()=>r(!0),children:"Forgot password?"})}),l.jsxs(ot,{type:"submit",className:"w-full h-12 bg-gradient-primary hover:shadow-glow transition-all duration-300",disabled:s,children:[l.jsx(ag,{className:"h-5 w-5 mr-2"}),s?"Signing In...":"Sign In"]})]})})})]})})})}),l.jsx(Yn,{})]})};var Uu="Collapsible",[rP,l1]=En(Uu),[sP,Hh]=rP(Uu),u1=d.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:s,disabled:a,onOpenChange:o,...i}=e,[u,c]=wr({prop:r,defaultProp:s??!1,onChange:o,caller:Uu});return l.jsx(sP,{scope:n,disabled:a,contentId:pr(),open:u,onOpenToggle:d.useCallback(()=>c(f=>!f),[c]),children:l.jsx(oe.div,{"data-state":Kh(u),"data-disabled":a?"":void 0,...i,ref:t})})});u1.displayName=Uu;var c1="CollapsibleTrigger",d1=d.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,s=Hh(c1,n);return l.jsx(oe.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":Kh(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...r,ref:t,onClick:re(e.onClick,s.onOpenToggle)})});d1.displayName=c1;var Uh="CollapsibleContent",f1=d.forwardRef((e,t)=>{const{forceMount:n,...r}=e,s=Hh(Uh,e.__scopeCollapsible);return l.jsx(fs,{present:n||s.open,children:({present:a})=>l.jsx(aP,{...r,ref:t,present:a})})});f1.displayName=Uh;var aP=d.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:s,...a}=e,o=Hh(Uh,n),[i,u]=d.useState(r),c=d.useRef(null),f=je(t,c),h=d.useRef(0),y=h.current,m=d.useRef(0),b=m.current,g=o.open||i,x=d.useRef(g),w=d.useRef(void 0);return d.useEffect(()=>{const p=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(p)},[]),lt(()=>{const p=c.current;if(p){w.current=w.current||{transitionDuration:p.style.transitionDuration,animationName:p.style.animationName},p.style.transitionDuration="0s",p.style.animationName="none";const v=p.getBoundingClientRect();h.current=v.height,m.current=v.width,x.current||(p.style.transitionDuration=w.current.transitionDuration,p.style.animationName=w.current.animationName),u(r)}},[o.open,r]),l.jsx(oe.div,{"data-state":Kh(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!g,...a,ref:f,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:g&&s})});function Kh(e){return e?"open":"closed"}var oP=u1,iP=d1,lP=f1,_n="Accordion",uP=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Gh,cP,dP]=Su(_n),[Ku,WP]=En(_n,[dP,l1]),Zh=l1(),h1=I.forwardRef((e,t)=>{const{type:n,...r}=e,s=r,a=r;return l.jsx(Gh.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?l.jsx(mP,{...a,ref:t}):l.jsx(pP,{...s,ref:t})})});h1.displayName=_n;var[p1,fP]=Ku(_n),[m1,hP]=Ku(_n,{collapsible:!1}),pP=I.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:s=()=>{},collapsible:a=!1,...o}=e,[i,u]=wr({prop:n,defaultProp:r??"",onChange:s,caller:_n});return l.jsx(p1,{scope:e.__scopeAccordion,value:I.useMemo(()=>i?[i]:[],[i]),onItemOpen:u,onItemClose:I.useCallback(()=>a&&u(""),[a,u]),children:l.jsx(m1,{scope:e.__scopeAccordion,collapsible:a,children:l.jsx(g1,{...o,ref:t})})})}),mP=I.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:s=()=>{},...a}=e,[o,i]=wr({prop:n,defaultProp:r??[],onChange:s,caller:_n}),u=I.useCallback(f=>i((h=[])=>[...h,f]),[i]),c=I.useCallback(f=>i((h=[])=>h.filter(y=>y!==f)),[i]);return l.jsx(p1,{scope:e.__scopeAccordion,value:o,onItemOpen:u,onItemClose:c,children:l.jsx(m1,{scope:e.__scopeAccordion,collapsible:!0,children:l.jsx(g1,{...a,ref:t})})})}),[gP,Gu]=Ku(_n),g1=I.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:s,orientation:a="vertical",...o}=e,i=I.useRef(null),u=je(i,t),c=cP(n),h=Lu(s)==="ltr",y=re(e.onKeyDown,m=>{var _;if(!uP.includes(m.key))return;const b=m.target,g=c().filter(F=>{var D;return!((D=F.ref.current)!=null&&D.disabled)}),x=g.findIndex(F=>F.ref.current===b),w=g.length;if(x===-1)return;m.preventDefault();let p=x;const v=0,k=w-1,S=()=>{p=x+1,p>k&&(p=v)},j=()=>{p=x-1,p<v&&(p=k)};switch(m.key){case"Home":p=v;break;case"End":p=k;break;case"ArrowRight":a==="horizontal"&&(h?S():j());break;case"ArrowDown":a==="vertical"&&S();break;case"ArrowLeft":a==="horizontal"&&(h?j():S());break;case"ArrowUp":a==="vertical"&&j();break}const N=p%w;(_=g[N].ref.current)==null||_.focus()});return l.jsx(gP,{scope:n,disabled:r,direction:s,orientation:a,children:l.jsx(Gh.Slot,{scope:n,children:l.jsx(oe.div,{...o,"data-orientation":a,ref:u,onKeyDown:r?void 0:y})})})}),au="AccordionItem",[yP,Qh]=Ku(au),y1=I.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...s}=e,a=Gu(au,n),o=fP(au,n),i=Zh(n),u=pr(),c=r&&o.value.includes(r)||!1,f=a.disabled||e.disabled;return l.jsx(yP,{scope:n,open:c,disabled:f,triggerId:u,children:l.jsx(oP,{"data-orientation":a.orientation,"data-state":S1(c),...i,...s,ref:t,disabled:f,open:c,onOpenChange:h=>{h?o.onItemOpen(r):o.onItemClose(r)}})})});y1.displayName=au;var v1="AccordionHeader",w1=I.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=Gu(_n,n),a=Qh(v1,n);return l.jsx(oe.h3,{"data-orientation":s.orientation,"data-state":S1(a.open),"data-disabled":a.disabled?"":void 0,...r,ref:t})});w1.displayName=v1;var hf="AccordionTrigger",x1=I.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=Gu(_n,n),a=Qh(hf,n),o=hP(hf,n),i=Zh(n);return l.jsx(Gh.ItemSlot,{scope:n,children:l.jsx(iP,{"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":s.orientation,id:a.triggerId,...i,...r,ref:t})})});x1.displayName=hf;var b1="AccordionContent",k1=I.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=Gu(_n,n),a=Qh(b1,n),o=Zh(n);return l.jsx(lP,{role:"region","aria-labelledby":a.triggerId,"data-orientation":s.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});k1.displayName=b1;function S1(e){return e?"open":"closed"}var vP=h1,wP=y1,xP=w1,C1=x1,N1=k1;const j1=vP,Ao=d.forwardRef(({className:e,...t},n)=>l.jsx(wP,{ref:n,className:he("border-b",e),...t}));Ao.displayName="AccordionItem";const Mo=d.forwardRef(({className:e,children:t,...n},r)=>l.jsx(xP,{className:"flex",children:l.jsxs(C1,{ref:r,className:he("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,l.jsx(ph,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));Mo.displayName=C1.displayName;const Oo=d.forwardRef(({className:e,children:t,...n},r)=>l.jsx(N1,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:l.jsx("div",{className:he("pb-4 pt-0",e),children:t})}));Oo.displayName=N1.displayName;const bP=[{question:"What Are Grants?",answer:"A grant is an award that is dispersed to a person, business, non-profit organization, and local and state agencies. Although many grant awards are monetary in nature, some are for items such as products, goods, or services, which are provided to the grant winner free of charge. Grant funding may be provided by agencies, private businesses, organization and corporations, private and family foundations, and private donors."},{question:"How Can I Receive a Grant?",answer:"The first step to receiving a grant is to find an agency, private business, organization or corporation, private or family foundation, or private donor who supports the primary goals and missions of you and your business. The grant process is highly competitive as many people and organizations apply for the same award. All grants have a submission process and eligibility criteria that you must meet to be considered for an award. We work hard to help you identify grant opportunities that are compatible with your plan and vision. We work intensively with you so that you thoroughly understand the grant application process so you can successfully receive a grant."},{question:"Are Grants Taxable?",answer:"The answer to this question depends on your own circumstances. Most grants received for business purposes are considered taxable income. However, the grant award can be used to purchase tax deductable business items. Grants awarded to veterans are not taxable nor are any awards from a program to help you pay energy bills or your mortgage. For the most up to date information in regards to this issues, please go to IRS Topic 421 at: http://www.irs.gov . Additional information regarding the IRS tax regulations and grants can be found at: http://www.irs.gov/pub/irs-pdf/p525.pdf ."},{question:"How Many Grants Can I Apply For At The Same Time?",answer:"There is no limit to the number of grants you can apply for at one time. In fact we strongly encourage you to apply for as many opportunities that seem to fit your needs. Often grantors require applicants to show other means of support and funding. Having additional grant awards may strengthen your chances of receiving an award. Remember, grants are awarded to those people and organizations that work hard to find them and complete the application process. You can never have too many grant applications submitted!"},{question:"How Quickly Will I Receive A Grant?",answer:"Each grant has its own specific application process, rules and guidelines, which are usually contained in a Request for Proposal (RFP) or a Request for Application. (RFA). The guidelines outline the application submission process and deadlines, along with the timeframe in which the grantor expects to start distributing the awards. The award process can be lengthy. Our services will help you to navigate through this cumbersome process and help you to understand it every step of the way. For any opportunity you apply for, we will help you to understand when to expect an award decision."},{question:"Can I Be Awarded A Grant With Bad Credit?",answer:"Yes! Your credit score has no connection to a grant award. Grantors are concerned with how closely your mission, plans, and goals align with theirs. They are also concerned about if your submission meets all the application criteria and guidelines. Since it is not expected that you repay grant awards, there is no need to consider your credit score when awards are made."},{question:"Will All My Grant Submissions Be Successful?",answer:"Applying for grants takes hard work and determination. The more dedicated you are to the process, the more successful you will be. With our help, you will be able to successfully navigate the application, submission and award process."},{question:"Can Businesses Receive Grants?",answer:"Absolutely! There are literally thousands of funding sources available for a multitude of purposes. These funding sources include millions of dollars at the federal, state, and local levels as well as other businesses, non-profit organizations and private foundations. Through our personalized mentoring program, you will have personal access to these funding sources so that you can take the time necessary to review them and apply to those that best match your needs. We even cut through the red tape for you and teach you how to navigate the complex computer application systems."},{question:"Does the Small Business Administration (SBA) Award Grants for Starting a Business?",answer:"The SBA provides grant awards in the form of services. They do not make monetary awards for businesses. One specific SBA award is for free, confidential 1:1 business counseling and consultation services. This mentoring program will match you to a highly successful business professional or entrepreneur who will help guide you in the development of your business."},{question:"Will I Need a Business Plan to Submit All My Applications?",answer:"No! Although there are grantors that request a Business Plan as part of the application process, many do not make it a requirement. The requirements of a particular grant can be found in the grantor's Request for Proposal (RFP), which will tell you if a plan is needed. Please keep in mind that there are many Business Plan competitions where the business with the best plan wins the grant award. You will find a well-written business plan to be an important tool in the grant acquisition process."}],kP=[{name:"Gregory H.",quote:"Thank you very much for giving me Keri to work on my business plan. Keri is the best. She has given me what I believe is an outstanding business plan. I love her patience and assistance. What I didn't have or complete, she informed me and waited patiently for me to return the corrected documentation. I came to the right place.",stars:5},{name:"Heather J.",quote:"Francina has been absolutely amazing! I am so thankful for her through this whole process! Honestly, I was clueless and have learned a lot thanks to her! I still haven't received a grant yet, but I am patient and will keep applying to reach my goal!",stars:5},{name:"Hope S.",quote:"Keri is absolutely amazing. Her response time is phenomenal. She provided feedback that was easy to understand. It was a pleasure working with her.",stars:5},{name:"Jody Lou C.",quote:"She has kept me moving on it. I am a procrastinator, and this was not an easy thing to prepare. I am very impressed with what she gave back to me in the finished plan. She took my words and ideas and made them sound very professional. She did some great research to add to my original writing.",stars:5},{name:"Jonathan B.",quote:"She did an excellent job! The business plan looks amazing, and I feel confident going into grant applications with this in my pocket.",stars:5},{name:"Raine H.",quote:"We have just started our journey with U.S. Business Funding Solutions, but already we are impressed and excited for what is to come. Keri took our questionnaire template and produced a fabulous, well-written, and thorough business plan within a few short days.",stars:5}],SP=()=>l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(Qn,{}),l.jsx(pe,{className:"pt-16",children:l.jsxs("div",{className:"text-center space-y-6 animate-fade-in max-w-4xl mx-auto",children:[l.jsxs("h1",{className:"text-4xl md:text-5xl font-bold",children:["Frequently Asked"," ",l.jsx("span",{className:"bg-gradient-primary bg-clip-text text-transparent",children:"Questions"})]}),l.jsx("p",{className:"text-xl text-muted-foreground",children:"Find answers to common questions about grants, the application process, and how we can help you secure funding for your business."})]})}),l.jsx(pe,{className:"bg-muted/30",children:l.jsx("div",{className:"max-w-4xl mx-auto animate-fade-in",children:l.jsx(j1,{type:"single",collapsible:!0,className:"space-y-4",children:bP.map((e,t)=>l.jsxs(Ao,{value:`item-${t}`,className:"bg-background border rounded-lg px-6 shadow-sm hover:shadow-elegant transition-shadow",children:[l.jsx(Mo,{className:"text-left text-lg font-semibold hover:text-primary py-6",children:e.question}),l.jsx(Oo,{className:"text-muted-foreground leading-relaxed pb-6",children:e.answer})]},t))})})}),l.jsxs(pe,{className:"bg-muted/30",children:[l.jsxs("div",{className:"text-center mb-12 space-y-4",children:[l.jsx("h2",{className:"text-3xl font-bold",children:"What Our Clients Say"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Real success stories from business owners."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:kP.map((e,t)=>l.jsx(Ae,{className:"hover:shadow-elegant transition-all duration-300",children:l.jsxs(Fe,{className:"p-6 space-y-3",children:[l.jsx("div",{className:"flex gap-1",children:[...Array(e.stars)].map((n,r)=>l.jsx(M0,{className:"w-4 h-4 fill-accent text-accent"},r))}),l.jsxs("blockquote",{className:"text-sm text-muted-foreground italic leading-relaxed",children:['"',e.quote,'"']}),l.jsx("p",{className:"font-semibold text-sm pt-2",children:e.name})]})},t))})]}),l.jsx(Yn,{})]}),CP=vi("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ji({className:e,variant:t,...n}){return l.jsx("div",{className:he(CP({variant:t}),e),...n})}const NP=[{title:"Vanderhoef: $2.6 M in Block Grants Awarded",summary:"County Executive C. Scott Vanderhoef announced the recipients of the 2012 Community Development Block Grant Awards. $2,656,071 in HUD grants were awarded to Rockland not-for-profit organizations.",category:"Government Grants",amount:"$2.6M",date:"2024-01-15",type:"Community Development"},{title:"Fed Grants Awarded To Begin Addressing Bullying And Safe Schools",summary:"The U.S. Department of Education announced the awarding of $38.8 million in grants to 11 states from a new Safe and Supportive School program.",category:"Education",amount:"$38.8M",date:"2024-01-10",type:"Federal Program"},{title:"Fisher School of Pharmacy receives $1.4 million grant",summary:"The Wegmans School of Pharmacy at St. John Fisher College has received a $1.4 million grant to outfit laboratory facilities and equipment from the Higher Education Capital Matching Grants Program.",category:"Higher Education",amount:"$1.4M",date:"2024-01-08",type:"Infrastructure"}],jP=[{title:"Arts grants awarded",summary:"The Jackson County Cultural Coalition, funded by the Oregon Cultural Trust, will give $17,000 in grants to 16 cultural organizations at its annual awards ceremony.",category:"Arts & Culture",amount:"$17K",date:"2024-01-05"},{title:"Berkshire Bank announces $2 million in grants",summary:"Berkshire Bank Foundation awarded a total of $1,518,133 in grants to non-profit organizations in Massachusetts, New York, Connecticut and Vermont during 2014.",category:"Community Development",amount:"$2M",date:"2024-01-03"},{title:"Eastlake, Mentor among communities getting grants to clean up Lake Erie shoreline",summary:"Eastlake and Mentor will share in a state grant program designed to spruce up the Lake Erie shoreline. Eastlake's $1,017 grant will go toward cleanup efforts.",category:"Environmental",amount:"$1K+",date:"2024-01-01"},{title:"Orange Beach Arts Center gets grants",summary:"A grant of $3000, awarded to The Hot Shop, will provide financial assistance for artists' fees and hot glass studio expenses involved with Glass Art Educational Programs.",category:"Arts Education",amount:"$3K",date:"2023-12-28"}],EP=[{name:"Government Grants",icon:Y5,count:45},{name:"Education",icon:Ah,count:32},{name:"Community Development",icon:S0,count:28},{name:"Arts & Culture",icon:C0,count:18}],IP=()=>l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(Qn,{}),l.jsx(pe,{className:"pt-16",children:l.jsxs("div",{className:"text-center space-y-8 animate-fade-in",children:[l.jsxs("div",{className:"space-y-4",children:[l.jsxs("h1",{className:"text-4xl md:text-5xl font-bold leading-tight",children:["Latest"," ",l.jsx("span",{className:"bg-gradient-primary bg-clip-text text-transparent",children:"Funding News"})]}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto leading-relaxed",children:"Stay informed about the latest grant awards, funding opportunities, and success stories from across the funding landscape."})]}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[l.jsx(ot,{size:"lg",className:"bg-gradient-primary hover:shadow-glow transition-all duration-300",children:"Subscribe to Updates"}),l.jsx(ot,{variant:"outline",size:"lg",className:"border-primary text-primary hover:bg-primary/5",children:"View All Categories"})]})]})}),l.jsxs(pe,{className:"bg-muted/30",children:[l.jsxs("div",{className:"text-center space-y-4 mb-12 animate-fade-in",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:"Funding Categories"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Browse funding news by category to find opportunities relevant to your industry"})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:EP.map((e,t)=>{const n=e.icon;return l.jsx(Ae,{className:"group hover:shadow-elegant transition-all duration-300 hover:-translate-y-1 animate-fade-in-up cursor-pointer",style:{animationDelay:`${t*100}ms`},children:l.jsxs(Nn,{className:"text-center space-y-4",children:[l.jsx("div",{className:"w-16 h-16 bg-gradient-primary rounded-2xl flex items-center justify-center mx-auto group-hover:shadow-glow transition-all duration-300",children:l.jsx(n,{className:"w-8 h-8 text-primary-foreground"})}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(jn,{className:"text-lg group-hover:text-primary transition-colors",children:e.name}),l.jsxs(Ji,{variant:"secondary",className:"bg-primary/10 text-primary",children:[e.count," Updates"]})]})]})},t)})})]}),l.jsxs(pe,{children:[l.jsxs("div",{className:"text-center space-y-4 mb-16 animate-fade-in",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:"Featured Grant Awards"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Major funding announcements and success stories"})]}),l.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:NP.map((e,t)=>l.jsxs(Ae,{className:"group hover:shadow-elegant transition-all duration-300 hover:-translate-y-1 animate-fade-in-up",style:{animationDelay:`${t*100}ms`},children:[l.jsxs(Nn,{className:"space-y-4",children:[l.jsxs("div",{className:"flex items-start justify-between",children:[l.jsx(Ji,{variant:"secondary",className:"bg-success/10 text-success",children:e.category}),l.jsxs("div",{className:"text-right",children:[l.jsx("div",{className:"font-bold text-primary text-lg",children:e.amount}),l.jsx("div",{className:"text-xs text-muted-foreground",children:e.type})]})]}),l.jsx(jn,{className:"text-xl group-hover:text-primary transition-colors leading-tight",children:e.title}),l.jsxs("div",{className:"flex items-center space-x-2 text-sm text-muted-foreground",children:[l.jsx(sg,{className:"w-4 h-4"}),l.jsx("span",{children:new Date(e.date).toLocaleDateString()})]})]}),l.jsxs(Fe,{className:"space-y-4",children:[l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:e.summary}),l.jsxs(ot,{variant:"outline",className:"w-full group/btn",children:["Read Full Article",l.jsx(rg,{className:"w-4 h-4 ml-2 group-hover/btn:translate-x-0.5 group-hover/btn:-translate-y-0.5 transition-transform"})]})]})]},t))})]}),l.jsxs(pe,{className:"bg-muted/30",children:[l.jsxs("div",{className:"text-center space-y-4 mb-16 animate-fade-in",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:"Recent Funding News"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Latest updates from the funding community"})]}),l.jsx("div",{className:"space-y-6",children:jP.map((e,t)=>l.jsx(Ae,{className:"group hover:shadow-elegant transition-all duration-300 animate-fade-in-up",style:{animationDelay:`${t*100}ms`},children:l.jsx(Fe,{className:"p-6",children:l.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-6 items-center",children:[l.jsxs("div",{className:"lg:col-span-3 space-y-3",children:[l.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[l.jsx(Ji,{variant:"outline",className:"border-primary text-primary",children:e.category}),l.jsxs("div",{className:"flex items-center space-x-2 text-sm text-muted-foreground",children:[l.jsx(sg,{className:"w-4 h-4"}),l.jsx("span",{children:new Date(e.date).toLocaleDateString()})]}),l.jsx(Ji,{variant:"secondary",className:"bg-accent/10 text-accent",children:e.amount})]}),l.jsx("h3",{className:"text-xl font-semibold group-hover:text-primary transition-colors",children:e.title}),l.jsx("p",{className:"text-muted-foreground",children:e.summary})]}),l.jsx("div",{className:"lg:col-span-1 flex lg:justify-end",children:l.jsxs(ot,{variant:"outline",className:"group/btn",children:["Read More",l.jsx(rg,{className:"w-4 h-4 ml-2 group-hover/btn:translate-x-0.5 group-hover/btn:-translate-y-0.5 transition-transform"})]})})]})})},t))}),l.jsx("div",{className:"text-center mt-12",children:l.jsx(ot,{size:"lg",variant:"outline",className:"border-primary text-primary hover:bg-primary/5",children:"Load More Articles"})})]}),l.jsx(pe,{className:"bg-gradient-primary",children:l.jsxs("div",{className:"text-center space-y-8 text-primary-foreground",children:[l.jsx("div",{className:"w-20 h-20 bg-primary-foreground/20 rounded-full flex items-center justify-center mx-auto",children:l.jsx(C0,{className:"w-10 h-10 text-primary-foreground"})}),l.jsxs("div",{className:"space-y-4",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold",children:"Stay Updated on Funding Opportunities"}),l.jsx("p",{className:"text-xl max-w-3xl mx-auto",children:"Subscribe to our funding news updates and never miss an opportunity that could benefit your business. Get curated funding alerts delivered directly to your inbox."})]}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[l.jsx(ot,{size:"lg",variant:"secondary",className:"bg-primary-foreground text-primary hover:bg-primary-foreground/90",children:"Subscribe to Funding Alerts"}),l.jsx(ot,{variant:"outline",size:"lg",className:"border-primary-foreground text-primary-foreground hover:bg-primary-foreground/10",children:"Contact Our Team"})]})]})}),l.jsx(Yn,{})]}),_P="/assets/woodrow-photo-Ds5jLrZF.png",TP="/assets/funding-sources-preview-B6W0TZBS.png",RP=()=>{const e=[{icon:l.jsx(XN,{className:"w-8 h-8"}),title:"Business",description:"If you are starting a business or expanding an existing business, then this is the course for you to start learning the process of applying for funding, the benefits of the different business entities, the best funding options, how to establish creative alliances with potential funders, and much, much more."},{icon:l.jsx(sj,{className:"w-8 h-8"}),title:"Education",description:"It is always important to understand the differences between grants, loans, scholarships and work-study programs. Remembering the various funding options available to you and what each means to you and your family is important in the long and short-term."},{icon:l.jsx(Cm,{className:"w-8 h-8"}),title:"Real Estate",description:"Finding the funding options available to you and what each means to you and your family in the long and short-term. The significant differences between these various funding alternatives can be easy to ignore or forget."},{icon:l.jsx(Cm,{className:"w-8 h-8"}),title:"First Time Homebuyer",description:"The term 'first time homebuyer' is not necessarily limited to people seeking to purchase and own their first home. Many 'first time homebuyer' funding programs include homebuyers who have not owned a home for three or more years."}];return l.jsxs("div",{className:"min-h-screen flex flex-col",children:[l.jsx(Qn,{}),l.jsx(pe,{className:"bg-gradient-to-br from-primary/5 via-background to-accent/5",children:l.jsxs("div",{className:"text-center space-y-4 max-w-4xl mx-auto",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-foreground",children:"Research Program"}),l.jsx("p",{className:"text-xl text-muted-foreground",children:"Professional grant research and guidance to help you secure funding opportunities"})]})}),l.jsx(pe,{children:l.jsx("div",{className:"max-w-6xl mx-auto",children:l.jsxs(Ae,{className:"overflow-hidden",children:[l.jsxs(Nn,{children:[l.jsx(jn,{className:"text-3xl text-primary",children:"Research Professional"}),l.jsx($a,{className:"text-lg mt-4",children:"Professional Researching is the next level in finding and winning successful grants."})]}),l.jsx(Fe,{className:"space-y-6",children:l.jsxs("div",{className:"prose prose-lg max-w-none text-muted-foreground",children:[l.jsx("img",{src:TP,alt:"Funding Sources Dashboard Preview - Shows how your research professional presents funding opportunities",className:"float-right ml-6 mb-4 rounded-lg shadow-lg border w-full md:w-3/5 lg:w-1/2"}),l.jsx("p",{children:"Your funding professional will locate applicable funding applications and opportunities for you based on categories of funding you choose, in addition to other information you give him/her online. Your professional will research traditional grants, matching grants, sponsorship grants, grant incentive programs, tax-credits, reimbursements, loans and other types of funding that may suit your needs."}),l.jsx("p",{children:"Even though all funding opportunities located by your professional are based on categories applicable to your project, the exact criteria of each specific opportunity may not fit your profile or your project, depending on the application guidelines. When this happens your professional will continue to research and locate funding opportunities for you for as long as you need their help."})]})})]})})}),l.jsx(pe,{children:l.jsx("div",{className:"max-w-6xl mx-auto",children:l.jsx(Ae,{className:"border-l-4 border-accent bg-accent/5",children:l.jsx(Fe,{className:"p-8",children:l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx("div",{className:"flex-shrink-0",children:l.jsx("div",{className:"w-12 h-12 rounded-full bg-accent/20 flex items-center justify-center",children:l.jsx(nj,{className:"w-6 h-6 text-accent"})})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-2xl font-bold text-foreground mb-3",children:"Our Guarantee"}),l.jsx("p",{className:"text-lg text-foreground",children:"We guarantee to find at least $50,000 in funding applications for you to apply for in the next 90 days, or we will continue to work with you until we do."})]})]})})})})}),l.jsx(pe,{className:"bg-muted/30",children:l.jsxs("div",{className:"max-w-6xl mx-auto space-y-8",children:[l.jsxs("div",{className:"text-center space-y-4",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground",children:"Group Teleconferences"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"To earn funding for you or your business, get the assistance you need from professionals who care."})]}),l.jsx(Ae,{children:l.jsxs(Fe,{className:"p-8 space-y-6",children:[l.jsx("p",{className:"text-muted-foreground text-lg",children:"U.S. Business Funding Solutions offers Group Teleconferences with some of the most talented professionals in the industry. Join our weekly webinar where you get hands on attention from your professional."}),l.jsx("p",{className:"text-muted-foreground",children:"If you have any questions about the course content along the way, please don't hesitate to use our 24 hour email support. We will respond to your email questions as quickly as possible."}),l.jsxs(j1,{type:"single",collapsible:!0,className:"w-full mt-8",children:[l.jsxs(Ao,{value:"item-1",children:[l.jsx(Mo,{className:"text-lg font-semibold",children:"What will be covered?"}),l.jsx(Oo,{className:"text-muted-foreground",children:'There will be a different topic covered each week in the group teleconference from "How to Conduct Grant Research," to "Secrets to Winning Funding." In addition, we will show you how to research the different funding opportunities, how to fill out the applications, and how to properly apply to the funding sources.'})]}),l.jsxs(Ao,{value:"item-2",children:[l.jsx(Mo,{className:"text-lg font-semibold",children:"When are the Calls?"}),l.jsx(Oo,{className:"text-muted-foreground",children:"Teleconferences are held every Tuesday & Thursday evening at 8:30 pm EST."})]}),l.jsxs(Ao,{value:"item-3",children:[l.jsx(Mo,{className:"text-lg font-semibold",children:"Can I ask questions?"}),l.jsx(Oo,{className:"text-muted-foreground",children:"Yes! During the group teleconference you will be able to ask your questions directly to the funding professional."})]})]})]})})]})}),l.jsx(pe,{children:l.jsxs("div",{className:"max-w-6xl mx-auto",children:[l.jsxs("div",{className:"text-center space-y-4 mb-12",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground",children:"Meet Your Funding Professional"}),l.jsx("p",{className:"text-xl text-muted-foreground",children:"Who will be conducting the teleconference sessions?"})]}),l.jsx(Ae,{className:"bg-gradient-to-br from-primary/5 to-accent/5",children:l.jsx(Fe,{className:"p-8",children:l.jsxs("div",{className:"grid md:grid-cols-[300px,1fr] gap-8 items-start",children:[l.jsx("div",{className:"flex justify-center",children:l.jsx("img",{src:_P,alt:"Woodrow - Professional Grant Writer and Funding Expert",className:"rounded-lg shadow-lg w-full max-w-[300px]"})}),l.jsxs("div",{className:"space-y-4 text-muted-foreground leading-relaxed",children:[l.jsxs("p",{children:["With over 35 years of experience in the professional research, writing and funding arena and over one billion dollars funding successfully submitted, ",l.jsx("strong",{className:"text-foreground",children:"Woodrow"})," expertly authors a wide range of motivational, medical and technical textbooks, peer-review quality empirical research papers, white papers and more."]}),l.jsx("p",{children:"Woodrow is a successful business owner, professional grant writer and mentor whose work is published on respected philanthropy, medical and legal sites internationally. Woodrow has successfully partnered clients with the Department of Defense Research Lab at Penn State and other universities to share funding."}),l.jsx("p",{children:"Woodrow is a practicing medical professional and an internationally published best-selling medical author, high school and college textbook writer and is considered an expert in specific disease process and funding arenas. He is former International Director of Funding for the 5th largest international foundation on the planet: Food for Life Global, successfully funding the Sri Lanka tsunami, Haitian earthquake and hurricane Katrina relief efforts."}),l.jsx("p",{children:"Woodrow currently sits on a Board of Directorship for a prominent 501 C 3 not for profit animal advocacy in Tampa Bay, Florida."})]})]})})})]})}),l.jsx(pe,{className:"bg-muted/30",children:l.jsxs("div",{className:"max-w-6xl mx-auto space-y-12",children:[l.jsxs("div",{className:"text-center space-y-4",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground",children:"Funding Courses"}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Each of our Funding courses explain in greater depth the process of seeking for and acquiring funding for starting or expanding a business, investing in real estate, purchasing your first home, tuition and education expenses, and other personal funding."})]}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 max-w-4xl mx-auto",children:e.map((t,n)=>l.jsxs(Ae,{className:"group hover:shadow-lg transition-all duration-300 hover:-translate-y-1",children:[l.jsxs(Nn,{children:[l.jsx("div",{className:"w-16 h-16 rounded-lg bg-primary/10 flex items-center justify-center text-primary mb-4 group-hover:bg-primary group-hover:text-primary-foreground transition-colors",children:t.icon}),l.jsx(jn,{className:"text-xl",children:t.title})]}),l.jsx(Fe,{children:l.jsx("p",{className:"text-muted-foreground",children:t.description})})]},n))}),l.jsx("div",{className:"text-center",children:l.jsx(Ee,{to:"/contact",children:l.jsx(ot,{size:"lg",className:"font-semibold",children:"Get Started with Research Program"})})})]})}),l.jsx(Yn,{})]})},PP=()=>{const e=Qa();return d.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-gray-100",children:l.jsxs("div",{className:"text-center",children:[l.jsx("h1",{className:"text-4xl font-bold mb-4",children:"404"}),l.jsx("p",{className:"text-xl text-gray-600 mb-4",children:"Oops! Page not found"}),l.jsx("a",{href:"/",className:"text-blue-500 hover:text-blue-700 underline",children:"Return to Home"})]})})},AP=new EI,MP=()=>l.jsx(_I,{client:AP,children:l.jsxs(rI,{children:[l.jsx(Bj,{}),l.jsx(vE,{}),l.jsxs(VC,{children:[l.jsx(Gt,{path:"/",element:l.jsx(O_,{})}),l.jsx(Gt,{path:"/company",element:l.jsx(D_,{})}),l.jsx(Gt,{path:"/services",element:l.jsx(B_,{})}),l.jsx(Gt,{path:"/professionals",element:l.jsx(W_,{})}),l.jsx(Gt,{path:"/testimonials",element:l.jsx(Y_,{})}),l.jsx(Gt,{path:"/contact",element:l.jsx(XR,{})}),l.jsx(Gt,{path:"/member-login",element:l.jsx(nP,{})}),l.jsx(Gt,{path:"/faqs",element:l.jsx(SP,{})}),l.jsx(Gt,{path:"/funding-news",element:l.jsx(IP,{})}),l.jsx(Gt,{path:"/research",element:l.jsx(RP,{})}),l.jsx(Gt,{path:"*",element:l.jsx(PP,{})})]})]})});sw(document.getElementById("root")).render(l.jsx(QC,{children:l.jsx(MP,{})}));

Youez - 2016 - github.com/yon3zu
LinuXploit