function Tx(c,u){for(var o=0;oi[d]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))i(d);new MutationObserver(d=>{for(const m of d)if(m.type==="childList")for(const x of m.addedNodes)x.tagName==="LINK"&&x.rel==="modulepreload"&&i(x)}).observe(document,{childList:!0,subtree:!0});function o(d){const m={};return d.integrity&&(m.integrity=d.integrity),d.referrerPolicy&&(m.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?m.credentials="include":d.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function i(d){if(d.ep)return;d.ep=!0;const m=o(d);fetch(d.href,m)}})();function _m(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}var oo={exports:{}},In={};var Kp;function Cx(){if(Kp)return In;Kp=1;var c=Symbol.for("react.transitional.element"),u=Symbol.for("react.fragment");function o(i,d,m){var x=null;if(m!==void 0&&(x=""+m),d.key!==void 0&&(x=""+d.key),"key"in d){m={};for(var h in d)h!=="key"&&(m[h]=d[h])}else m=d;return d=m.ref,{$$typeof:c,type:i,key:x,ref:d!==void 0?d:null,props:m}}return In.Fragment=u,In.jsx=o,In.jsxs=o,In}var Jp;function _x(){return Jp||(Jp=1,oo.exports=Cx()),oo.exports}var f=_x(),ro={exports:{}},ie={};var Fp;function zx(){if(Fp)return ie;Fp=1;var c=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),x=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),E=Symbol.for("react.activity"),R=Symbol.iterator;function k(A){return A===null||typeof A!="object"?null:(A=R&&A[R]||A["@@iterator"],typeof A=="function"?A:null)}var J={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M=Object.assign,U={};function L(A,H,G){this.props=A,this.context=H,this.refs=U,this.updater=G||J}L.prototype.isReactComponent={},L.prototype.setState=function(A,H){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,H,"setState")},L.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function I(){}I.prototype=L.prototype;function X(A,H,G){this.props=A,this.context=H,this.refs=U,this.updater=G||J}var Q=X.prototype=new I;Q.constructor=X,M(Q,L.prototype),Q.isPureReactComponent=!0;var le=Array.isArray;function ce(){}var Z={H:null,A:null,T:null,S:null},V=Object.prototype.hasOwnProperty;function xe(A,H,G){var K=G.ref;return{$$typeof:c,type:A,key:H,ref:K!==void 0?K:null,props:G}}function we(A,H){return xe(A.type,H,A.props)}function te(A){return typeof A=="object"&&A!==null&&A.$$typeof===c}function ge(A){var H={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(G){return H[G]})}var We=/\/+/g;function Ke(A,H){return typeof A=="object"&&A!==null&&A.key!=null?ge(""+A.key):H.toString(36)}function Me(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(ce,ce):(A.status="pending",A.then(function(H){A.status==="pending"&&(A.status="fulfilled",A.value=H)},function(H){A.status==="pending"&&(A.status="rejected",A.reason=H)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function N(A,H,G,K,se){var re=typeof A;(re==="undefined"||re==="boolean")&&(A=null);var ne=!1;if(A===null)ne=!0;else switch(re){case"bigint":case"string":case"number":ne=!0;break;case"object":switch(A.$$typeof){case c:case u:ne=!0;break;case T:return ne=A._init,N(ne(A._payload),H,G,K,se)}}if(ne)return se=se(A),ne=K===""?"."+Ke(A,0):K,le(se)?(G="",ne!=null&&(G=ne.replace(We,"$&/")+"/"),N(se,H,G,"",function(Gt){return Gt})):se!=null&&(te(se)&&(se=we(se,G+(se.key==null||A&&A.key===se.key?"":(""+se.key).replace(We,"$&/")+"/")+ne)),H.push(se)),1;ne=0;var $e=K===""?".":K+":";if(le(A))for(var Oe=0;Oe>>1,Ne=N[ye];if(0>>1;yed(G,Y))Kd(se,G)?(N[ye]=se,N[K]=Y,ye=K):(N[ye]=G,N[H]=Y,ye=H);else if(Kd(se,Y))N[ye]=se,N[K]=Y,ye=K;else break e}}return q}function d(N,q){var Y=N.sortIndex-q.sortIndex;return Y!==0?Y:N.id-q.id}if(c.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;c.unstable_now=function(){return m.now()}}else{var x=Date,h=x.now();c.unstable_now=function(){return x.now()-h}}var b=[],v=[],T=1,E=null,R=3,k=!1,J=!1,M=!1,U=!1,L=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate<"u"?setImmediate:null;function Q(N){for(var q=o(v);q!==null;){if(q.callback===null)i(v);else if(q.startTime<=N)i(v),q.sortIndex=q.expirationTime,u(b,q);else break;q=o(v)}}function le(N){if(M=!1,Q(N),!J)if(o(b)!==null)J=!0,ce||(ce=!0,ge());else{var q=o(v);q!==null&&Me(le,q.startTime-N)}}var ce=!1,Z=-1,V=5,xe=-1;function we(){return U?!0:!(c.unstable_now()-xeN&&we());){var ye=E.callback;if(typeof ye=="function"){E.callback=null,R=E.priorityLevel;var Ne=ye(E.expirationTime<=N);if(N=c.unstable_now(),typeof Ne=="function"){E.callback=Ne,Q(N),q=!0;break t}E===o(b)&&i(b),Q(N)}else i(b);E=o(b)}if(E!==null)q=!0;else{var A=o(v);A!==null&&Me(le,A.startTime-N),q=!1}}break e}finally{E=null,R=Y,k=!1}q=void 0}}finally{q?ge():ce=!1}}}var ge;if(typeof X=="function")ge=function(){X(te)};else if(typeof MessageChannel<"u"){var We=new MessageChannel,Ke=We.port2;We.port1.onmessage=te,ge=function(){Ke.postMessage(null)}}else ge=function(){L(te,0)};function Me(N,q){Z=L(function(){N(c.unstable_now())},q)}c.unstable_IdlePriority=5,c.unstable_ImmediatePriority=1,c.unstable_LowPriority=4,c.unstable_NormalPriority=3,c.unstable_Profiling=null,c.unstable_UserBlockingPriority=2,c.unstable_cancelCallback=function(N){N.callback=null},c.unstable_forceFrameRate=function(N){0>N||125ye?(N.sortIndex=Y,u(v,N),o(b)===null&&N===o(v)&&(M?(I(Z),Z=-1):M=!0,Me(le,Y-ye))):(N.sortIndex=Ne,u(b,N),J||k||(J=!0,ce||(ce=!0,ge()))),N},c.unstable_shouldYield=we,c.unstable_wrapCallback=function(N){var q=R;return function(){var Y=R;R=q;try{return N.apply(this,arguments)}finally{R=Y}}}})(mo)),mo}var Ip;function Mx(){return Ip||(Ip=1,po.exports=wx()),po.exports}var ho={exports:{}},st={};var Pp;function Ox(){if(Pp)return st;Pp=1;var c=Ho();function u(b){var v="https://react.dev/errors/"+b;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(u){console.error(u)}}return c(),ho.exports=Ox(),ho.exports}var tm;function Rx(){if(tm)return Pn;tm=1;var c=Mx(),u=Ho(),o=zm();function i(e){var t="https://react.dev/errors/"+e;if(1Ne||(e.current=ye[Ne],ye[Ne]=null,Ne--)}function G(e,t){Ne++,ye[Ne]=e.current,e.current=t}var K=A(null),se=A(null),re=A(null),ne=A(null);function $e(e,t){switch(G(re,t),G(se,e),G(K,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?vp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=vp(t),e=xp(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}H(K),G(K,e)}function Oe(){H(K),H(se),H(re)}function Gt(e){e.memoizedState!==null&&G(ne,e);var t=K.current,l=xp(t,e.type);t!==l&&(G(se,e),G(K,l))}function dl(e){se.current===e&&(H(K),H(se)),ne.current===e&&(H(ne),Jn._currentValue=Y)}var pl,Qo;function Vl(e){if(pl===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);pl=t&&t[1]||"",Qo=-1)":-1n||y[a]!==_[n]){var O=` `+y[a].replace(" at new "," at ");return e.displayName&&O.includes("")&&(O=O.replace("",e.displayName)),O}while(1<=a&&0<=n);break}}}finally{Zs=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Vl(l):""}function av(e,t){switch(e.tag){case 26:case 27:case 5:return Vl(e.type);case 16:return Vl("Lazy");case 13:return e.child!==t&&t!==null?Vl("Suspense Fallback"):Vl("Suspense");case 19:return Vl("SuspenseList");case 0:case 15:return Ks(e.type,!1);case 11:return Ks(e.type.render,!1);case 1:return Ks(e.type,!0);case 31:return Vl("Activity");default:return""}}function Zo(e){try{var t="",l=null;do t+=av(e,l),l=e,e=e.return;while(e);return t}catch(a){return` Error generating stack: `+a.message+` `+a.stack}}var Js=Object.prototype.hasOwnProperty,Fs=c.unstable_scheduleCallback,Ws=c.unstable_cancelCallback,nv=c.unstable_shouldYield,cv=c.unstable_requestPaint,vt=c.unstable_now,sv=c.unstable_getCurrentPriorityLevel,Ko=c.unstable_ImmediatePriority,Jo=c.unstable_UserBlockingPriority,oc=c.unstable_NormalPriority,iv=c.unstable_LowPriority,Fo=c.unstable_IdlePriority,uv=c.log,ov=c.unstable_setDisableYieldValue,cn=null,xt=null;function ml(e){if(typeof uv=="function"&&ov(e),xt&&typeof xt.setStrictMode=="function")try{xt.setStrictMode(cn,e)}catch{}}var gt=Math.clz32?Math.clz32:dv,rv=Math.log,fv=Math.LN2;function dv(e){return e>>>=0,e===0?32:31-(rv(e)/fv|0)|0}var rc=256,fc=262144,dc=4194304;function kl(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function pc(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var n=0,s=e.suspendedLanes,r=e.pingedLanes;e=e.warmLanes;var p=a&134217727;return p!==0?(a=p&~s,a!==0?n=kl(a):(r&=p,r!==0?n=kl(r):l||(l=p&~e,l!==0&&(n=kl(l))))):(p=a&~s,p!==0?n=kl(p):r!==0?n=kl(r):l||(l=a&~e,l!==0&&(n=kl(l)))),n===0?0:t!==0&&t!==n&&(t&s)===0&&(s=n&-n,l=t&-t,s>=l||s===32&&(l&4194048)!==0)?t:n}function sn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function pv(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Wo(){var e=dc;return dc<<=1,(dc&62914560)===0&&(dc=4194304),e}function $s(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function un(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function mv(e,t,l,a,n,s){var r=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var p=e.entanglements,y=e.expirationTimes,_=e.hiddenUpdates;for(l=r&~l;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var bv=/[\n"\\]/g;function Ct(e){return e.replace(bv,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ai(e,t,l,a,n,s,r,p){e.name="",r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?e.type=r:e.removeAttribute("type"),t!=null?r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Tt(t)):e.value!==""+Tt(t)&&(e.value=""+Tt(t)):r!=="submit"&&r!=="reset"||e.removeAttribute("value"),t!=null?ni(e,r,Tt(t)):l!=null?ni(e,r,Tt(l)):a!=null&&e.removeAttribute("value"),n==null&&s!=null&&(e.defaultChecked=!!s),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?e.name=""+Tt(p):e.removeAttribute("name")}function or(e,t,l,a,n,s,r,p){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.type=s),t!=null||l!=null){if(!(s!=="submit"&&s!=="reset"||t!=null)){li(e);return}l=l!=null?""+Tt(l):"",t=t!=null?""+Tt(t):l,p||t===e.value||(e.value=t),e.defaultValue=t}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=p?e.checked:!!a,e.defaultChecked=!!a,r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.name=r),li(e)}function ni(e,t,l){t==="number"&&vc(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function ha(e,t,l,a){if(e=e.options,t){t={};for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),oi=!1;if(Ft)try{var dn={};Object.defineProperty(dn,"passive",{get:function(){oi=!0}}),window.addEventListener("test",dn,dn),window.removeEventListener("test",dn,dn)}catch{oi=!1}var vl=null,ri=null,gc=null;function vr(){if(gc)return gc;var e,t=ri,l=t.length,a,n="value"in vl?vl.value:vl.textContent,s=n.length;for(e=0;e=hn),Ar=" ",Nr=!1;function Er(e,t){switch(e){case"keyup":return Jv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jr(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ya=!1;function Wv(e,t){switch(e){case"compositionend":return jr(t);case"keypress":return t.which!==32?null:(Nr=!0,Ar);case"textInput":return e=t.data,e===Ar&&Nr?null:e;default:return null}}function $v(e,t){if(ya)return e==="compositionend"||!hi&&Er(e,t)?(e=vr(),gc=ri=vl=null,ya=!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)return{node:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Rr(l)}}function Ur(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ur(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Hr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=vc(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=vc(e.document)}return t}function gi(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")}var c0=Ft&&"documentMode"in document&&11>=document.documentMode,ba=null,yi=null,yn=null,bi=!1;function Br(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;bi||ba==null||ba!==vc(a)||(a=ba,"selectionStart"in a&&gi(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),yn&&gn(yn,a)||(yn=a,a=fs(yi,"onSelect"),0>=r,n-=r,Vt=1<<32-gt(t)+n|l<oe?(he=P,P=null):he=P.sibling;var Se=z(j,P,C[oe],D);if(Se===null){P===null&&(P=he);break}e&&P&&Se.alternate===null&&t(j,P),S=s(Se,S,oe),be===null?ee=Se:be.sibling=Se,be=Se,P=he}if(oe===C.length)return l(j,P),ve&&$t(j,oe),ee;if(P===null){for(;oeoe?(he=P,P=null):he=P.sibling;var ql=z(j,P,Se.value,D);if(ql===null){P===null&&(P=he);break}e&&P&&ql.alternate===null&&t(j,P),S=s(ql,S,oe),be===null?ee=ql:be.sibling=ql,be=ql,P=he}if(Se.done)return l(j,P),ve&&$t(j,oe),ee;if(P===null){for(;!Se.done;oe++,Se=C.next())Se=B(j,Se.value,D),Se!==null&&(S=s(Se,S,oe),be===null?ee=Se:be.sibling=Se,be=Se);return ve&&$t(j,oe),ee}for(P=a(P);!Se.done;oe++,Se=C.next())Se=w(P,j,oe,Se.value,D),Se!==null&&(e&&Se.alternate!==null&&P.delete(Se.key===null?oe:Se.key),S=s(Se,S,oe),be===null?ee=Se:be.sibling=Se,be=Se);return e&&P.forEach(function(jx){return t(j,jx)}),ve&&$t(j,oe),ee}function _e(j,S,C,D){if(typeof C=="object"&&C!==null&&C.type===M&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case k:e:{for(var ee=C.key;S!==null;){if(S.key===ee){if(ee=C.type,ee===M){if(S.tag===7){l(j,S.sibling),D=n(S,C.props.children),D.return=j,j=D;break e}}else if(S.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===V&&ea(ee)===S.type){l(j,S.sibling),D=n(S,C.props),jn(D,C),D.return=j,j=D;break e}l(j,S);break}else t(j,S);S=S.sibling}C.type===M?(D=Fl(C.props.children,j.mode,D,C.key),D.return=j,j=D):(D=_c(C.type,C.key,C.props,null,j.mode,D),jn(D,C),D.return=j,j=D)}return r(j);case J:e:{for(ee=C.key;S!==null;){if(S.key===ee)if(S.tag===4&&S.stateNode.containerInfo===C.containerInfo&&S.stateNode.implementation===C.implementation){l(j,S.sibling),D=n(S,C.children||[]),D.return=j,j=D;break e}else{l(j,S);break}else t(j,S);S=S.sibling}D=Ci(C,j.mode,D),D.return=j,j=D}return r(j);case V:return C=ea(C),_e(j,S,C,D)}if(Me(C))return F(j,S,C,D);if(ge(C)){if(ee=ge(C),typeof ee!="function")throw Error(i(150));return C=ee.call(C),ae(j,S,C,D)}if(typeof C.then=="function")return _e(j,S,Uc(C),D);if(C.$$typeof===X)return _e(j,S,Mc(j,C),D);Hc(j,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(C=""+C,S!==null&&S.tag===6?(l(j,S.sibling),D=n(S,C),D.return=j,j=D):(l(j,S),D=Ti(C,j.mode,D),D.return=j,j=D),r(j)):l(j,S)}return function(j,S,C,D){try{En=0;var ee=_e(j,S,C,D);return Ma=null,ee}catch(P){if(P===wa||P===Rc)throw P;var be=bt(29,P,null,j.mode);return be.lanes=D,be.return=j,be}}}var la=sf(!0),uf=sf(!1),Sl=!1;function Yi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Li(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Al(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Nl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Ae&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=Cc(e),Xr(e,null,l),t}return Tc(e,a,t,l),Cc(e)}function Tn(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,Io(e,l)}}function Gi(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,s=null;if(l=l.firstBaseUpdate,l!==null){do{var r={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};s===null?n=s=r:s=s.next=r,l=l.next}while(l!==null);s===null?n=s=t:s=s.next=t}else n=s=t;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:s,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var Vi=!1;function Cn(){if(Vi){var e=za;if(e!==null)throw e}}function _n(e,t,l,a){Vi=!1;var n=e.updateQueue;Sl=!1;var s=n.firstBaseUpdate,r=n.lastBaseUpdate,p=n.shared.pending;if(p!==null){n.shared.pending=null;var y=p,_=y.next;y.next=null,r===null?s=_:r.next=_,r=y;var O=e.alternate;O!==null&&(O=O.updateQueue,p=O.lastBaseUpdate,p!==r&&(p===null?O.firstBaseUpdate=_:p.next=_,O.lastBaseUpdate=y))}if(s!==null){var B=n.baseState;r=0,O=_=y=null,p=s;do{var z=p.lane&-536870913,w=z!==p.lane;if(w?(me&z)===z:(a&z)===z){z!==0&&z===_a&&(Vi=!0),O!==null&&(O=O.next={lane:0,tag:p.tag,payload:p.payload,callback:null,next:null});e:{var F=e,ae=p;z=t;var _e=l;switch(ae.tag){case 1:if(F=ae.payload,typeof F=="function"){B=F.call(_e,B,z);break e}B=F;break e;case 3:F.flags=F.flags&-65537|128;case 0:if(F=ae.payload,z=typeof F=="function"?F.call(_e,B,z):F,z==null)break e;B=E({},B,z);break e;case 2:Sl=!0}}z=p.callback,z!==null&&(e.flags|=64,w&&(e.flags|=8192),w=n.callbacks,w===null?n.callbacks=[z]:w.push(z))}else w={lane:z,tag:p.tag,payload:p.payload,callback:p.callback,next:null},O===null?(_=O=w,y=B):O=O.next=w,r|=z;if(p=p.next,p===null){if(p=n.shared.pending,p===null)break;w=p,p=w.next,w.next=null,n.lastBaseUpdate=w,n.shared.pending=null}}while(!0);O===null&&(y=B),n.baseState=y,n.firstBaseUpdate=_,n.lastBaseUpdate=O,s===null&&(n.shared.lanes=0),_l|=r,e.lanes=r,e.memoizedState=B}}function of(e,t){if(typeof e!="function")throw Error(i(191,e));e.call(t)}function rf(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;es?s:8;var r=N.T,p={};N.T=p,iu(e,!1,t,l);try{var y=n(),_=N.S;if(_!==null&&_(p,y),y!==null&&typeof y=="object"&&typeof y.then=="function"){var O=m0(y,a);Mn(e,t,O,jt(e))}else Mn(e,t,a,jt(e))}catch(B){Mn(e,t,{then:function(){},status:"rejected",reason:B},jt())}finally{q.p=s,r!==null&&p.types!==null&&(r.types=p.types),N.T=r}}function b0(){}function cu(e,t,l,a){if(e.tag!==5)throw Error(i(476));var n=Vf(e).queue;Gf(e,n,t,Y,l===null?b0:function(){return kf(e),l(a)})}function Vf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:tl,lastRenderedState:Y},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:tl,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function kf(e){var t=Vf(e);t.next===null&&(t=e.alternate.memoizedState),Mn(e,t.next.queue,{},jt())}function su(){return lt(Jn)}function Xf(){return Le().memoizedState}function Qf(){return Le().memoizedState}function S0(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=jt();e=Al(l);var a=Nl(t,e,l);a!==null&&(ht(a,t,l),Tn(a,t,l)),t={cache:Ui()},e.payload=t;return}t=t.return}}function A0(e,t,l){var a=jt();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Zc(e)?Kf(t,l):(l=Ei(e,t,l,a),l!==null&&(ht(l,e,a),Jf(l,t,a)))}function Zf(e,t,l){var a=jt();Mn(e,t,l,a)}function Mn(e,t,l,a){var n={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Zc(e))Kf(t,n);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var r=t.lastRenderedState,p=s(r,l);if(n.hasEagerState=!0,n.eagerState=p,yt(p,r))return Tc(e,t,n,0),ze===null&&jc(),!1}catch{}if(l=Ei(e,t,n,a),l!==null)return ht(l,e,a),Jf(l,t,a),!0}return!1}function iu(e,t,l,a){if(a={lane:2,revertLane:Yu(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Zc(e)){if(t)throw Error(i(479))}else t=Ei(e,l,a,2),t!==null&&ht(t,e,2)}function Zc(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function Kf(e,t){Ra=Yc=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Jf(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,Io(e,l)}}var On={readContext:lt,use:Vc,useCallback:Be,useContext:Be,useEffect:Be,useImperativeHandle:Be,useLayoutEffect:Be,useInsertionEffect:Be,useMemo:Be,useReducer:Be,useRef:Be,useState:Be,useDebugValue:Be,useDeferredValue:Be,useTransition:Be,useSyncExternalStore:Be,useId:Be,useHostTransitionStatus:Be,useFormState:Be,useActionState:Be,useOptimistic:Be,useMemoCache:Be,useCacheRefresh:Be};On.useEffectEvent=Be;var Ff={readContext:lt,use:Vc,useCallback:function(e,t){return ut().memoizedState=[e,t===void 0?null:t],e},useContext:lt,useEffect:Of,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,Xc(4194308,4,Hf.bind(null,t,e),l)},useLayoutEffect:function(e,t){return Xc(4194308,4,e,t)},useInsertionEffect:function(e,t){Xc(4,2,e,t)},useMemo:function(e,t){var l=ut();t=t===void 0?null:t;var a=e();if(aa){ml(!0);try{e()}finally{ml(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=ut();if(l!==void 0){var n=l(t);if(aa){ml(!0);try{l(t)}finally{ml(!1)}}}else n=t;return a.memoizedState=a.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=A0.bind(null,ue,e),[a.memoizedState,e]},useRef:function(e){var t=ut();return e={current:e},t.memoizedState=e},useState:function(e){e=eu(e);var t=e.queue,l=Zf.bind(null,ue,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:au,useDeferredValue:function(e,t){var l=ut();return nu(l,e,t)},useTransition:function(){var e=eu(!1);return e=Gf.bind(null,ue,e.queue,!0,!1),ut().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=ue,n=ut();if(ve){if(l===void 0)throw Error(i(407));l=l()}else{if(l=t(),ze===null)throw Error(i(349));(me&127)!==0||vf(a,t,l)}n.memoizedState=l;var s={value:l,getSnapshot:t};return n.queue=s,Of(gf.bind(null,a,s,e),[e]),a.flags|=2048,Ua(9,{destroy:void 0},xf.bind(null,a,s,l,t),null),l},useId:function(){var e=ut(),t=ze.identifierPrefix;if(ve){var l=kt,a=Vt;l=(a&~(1<<32-gt(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=Lc++,0<\/script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof a.is=="string"?r.createElement("select",{is:a.is}):r.createElement("select"),a.multiple?s.multiple=!0:a.size&&(s.size=a.size);break;default:s=typeof a.is=="string"?r.createElement(n,{is:a.is}):r.createElement(n)}}s[et]=t,s[ot]=a;e:for(r=t.child;r!==null;){if(r.tag===5||r.tag===6)s.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;r.sibling===null;){if(r.return===null||r.return===t)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}t.stateNode=s;e:switch(nt(s,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&al(t)}}return De(t),Su(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&al(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(i(166));if(e=re.current,Ta(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,n=tt,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}e[et]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||mp(e.nodeValue,l)),e||yl(t,!0)}else e=ds(e).createTextNode(a),e[et]=t,t.stateNode=e}return De(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=Ta(t),l!==null){if(e===null){if(!a)throw Error(i(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(557));e[et]=t}else Wl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;De(t),e=!1}else l=Mi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(At(t),t):(At(t),null);if((t.flags&128)!==0)throw Error(i(558))}return De(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=Ta(t),a!==null&&a.dehydrated!==null){if(e===null){if(!n)throw Error(i(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(i(317));n[et]=t}else Wl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;De(t),n=!1}else n=Mi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(At(t),t):(At(t),null)}return At(t),(t.flags&128)!==0?(t.lanes=l,t):(l=a!==null,e=e!==null&&e.memoizedState!==null,l&&(a=t.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),s=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(s=a.memoizedState.cachePool.pool),s!==n&&(a.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),$c(t,t.updateQueue),De(t),null);case 4:return Oe(),e===null&&ku(t.stateNode.containerInfo),De(t),null;case 10:return Pt(t.type),De(t),null;case 19:if(H(Ye),a=t.memoizedState,a===null)return De(t),null;if(n=(t.flags&128)!==0,s=a.rendering,s===null)if(n)Dn(a,!1);else{if(qe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=qc(e),s!==null){for(t.flags|=128,Dn(a,!1),e=s.updateQueue,t.updateQueue=e,$c(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Qr(l,e),l=l.sibling;return G(Ye,Ye.current&1|2),ve&&$t(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&vt()>ls&&(t.flags|=128,n=!0,Dn(a,!1),t.lanes=4194304)}else{if(!n)if(e=qc(s),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,$c(t,e),Dn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!s.alternate&&!ve)return De(t),null}else 2*vt()-a.renderingStartTime>ls&&l!==536870912&&(t.flags|=128,n=!0,Dn(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(e=a.last,e!==null?e.sibling=s:t.child=s,a.last=s)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=vt(),e.sibling=null,l=Ye.current,G(Ye,n?l&1|2:l&1),ve&&$t(t,a.treeForkCount),e):(De(t),null);case 22:case 23:return At(t),Xi(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(De(t),t.subtreeFlags&6&&(t.flags|=8192)):De(t),l=t.updateQueue,l!==null&&$c(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&H(Pl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Pt(Ve),De(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function C0(e,t){switch(zi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Pt(Ve),Oe(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return dl(t),null;case 31:if(t.memoizedState!==null){if(At(t),t.alternate===null)throw Error(i(340));Wl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(At(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Wl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return H(Ye),null;case 4:return Oe(),null;case 10:return Pt(t.type),null;case 22:case 23:return At(t),Xi(),e!==null&&H(Pl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Pt(Ve),null;case 25:return null;default:return null}}function yd(e,t){switch(zi(t),t.tag){case 3:Pt(Ve),Oe();break;case 26:case 27:case 5:dl(t);break;case 4:Oe();break;case 31:t.memoizedState!==null&&At(t);break;case 13:At(t);break;case 19:H(Ye);break;case 10:Pt(t.type);break;case 22:case 23:At(t),Xi(),e!==null&&H(Pl);break;case 24:Pt(Ve)}}function Un(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&e)===e){a=void 0;var s=l.create,r=l.inst;a=s(),r.destroy=a}l=l.next}while(l!==n)}}catch(p){je(t,t.return,p)}}function Tl(e,t,l){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var s=n.next;a=s;do{if((a.tag&e)===e){var r=a.inst,p=r.destroy;if(p!==void 0){r.destroy=void 0,n=t;var y=l,_=p;try{_()}catch(O){je(n,y,O)}}}a=a.next}while(a!==s)}}catch(O){je(t,t.return,O)}}function bd(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{rf(t,l)}catch(a){je(e,e.return,a)}}}function Sd(e,t,l){l.props=na(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){je(e,t,a)}}function Hn(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(n){je(e,t,n)}}function Xt(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){je(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){je(e,t,n)}else l.current=null}function Ad(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){je(e,e.return,n)}}function Au(e,t,l){try{var a=e.stateNode;F0(a,e.type,l,t),a[ot]=t}catch(n){je(e,e.return,n)}}function Nd(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Rl(e.type)||e.tag===4}function Nu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Nd(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.tag===27&&Rl(e.type)||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 Eu(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=Jt));else if(a!==4&&(a===27&&Rl(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Eu(e,t,l),e=e.sibling;e!==null;)Eu(e,t,l),e=e.sibling}function Ic(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&Rl(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Ic(e,t,l),e=e.sibling;e!==null;)Ic(e,t,l),e=e.sibling}function Ed(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);nt(t,a,l),t[et]=e,t[ot]=l}catch(s){je(e,e.return,s)}}var nl=!1,Qe=!1,ju=!1,jd=typeof WeakSet=="function"?WeakSet:Set,Pe=null;function _0(e,t){if(e=e.containerInfo,Zu=ys,e=Hr(e),gi(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,s=a.focusNode;a=a.focusOffset;try{l.nodeType,s.nodeType}catch{l=null;break e}var r=0,p=-1,y=-1,_=0,O=0,B=e,z=null;t:for(;;){for(var w;B!==l||n!==0&&B.nodeType!==3||(p=r+n),B!==s||a!==0&&B.nodeType!==3||(y=r+a),B.nodeType===3&&(r+=B.nodeValue.length),(w=B.firstChild)!==null;)z=B,B=w;for(;;){if(B===e)break t;if(z===l&&++_===n&&(p=r),z===s&&++O===a&&(y=r),(w=B.nextSibling)!==null)break;B=z,z=B.parentNode}B=w}l=p===-1||y===-1?null:{start:p,end:y}}else l=null}l=l||{start:0,end:0}}else l=null;for(Ku={focusedElem:e,selectionRange:l},ys=!1,Pe=t;Pe!==null;)if(t=Pe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Pe=e;else for(;Pe!==null;){switch(t=Pe,s=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l title"))),nt(s,a,l),s[et]=e,Ie(s),a=s;break e;case"link":var r=Mp("link","href",n).get(a+(l.href||""));if(r){for(var p=0;p_e&&(r=_e,_e=ae,ae=r);var j=Dr(p,ae),S=Dr(p,_e);if(j&&S&&(w.rangeCount!==1||w.anchorNode!==j.node||w.anchorOffset!==j.offset||w.focusNode!==S.node||w.focusOffset!==S.offset)){var C=B.createRange();C.setStart(j.node,j.offset),w.removeAllRanges(),ae>_e?(w.addRange(C),w.extend(S.node,S.offset)):(C.setEnd(S.node,S.offset),w.addRange(C))}}}}for(B=[],w=p;w=w.parentNode;)w.nodeType===1&&B.push({element:w,left:w.scrollLeft,top:w.scrollTop});for(typeof p.focus=="function"&&p.focus(),p=0;pl?32:l,N.T=null,l=Ou,Ou=null;var s=wl,r=ol;if(Je=0,La=wl=null,ol=0,(Ae&6)!==0)throw Error(i(331));var p=Ae;if(Ae|=4,Hd(s.current),Rd(s,s.current,r,l),Ae=p,Vn(0,!1),xt&&typeof xt.onPostCommitFiberRoot=="function")try{xt.onPostCommitFiberRoot(cn,s)}catch{}return!0}finally{q.p=n,N.T=a,ep(e,t)}}function lp(e,t,l){t=zt(l,t),t=fu(e.stateNode,t,2),e=Nl(e,t,2),e!==null&&(un(e,2),Qt(e))}function je(e,t,l){if(e.tag===3)lp(e,e,l);else for(;t!==null;){if(t.tag===3){lp(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(zl===null||!zl.has(a))){e=zt(l,e),l=ad(2),a=Nl(t,l,2),a!==null&&(nd(l,a,t,e),un(a,2),Qt(a));break}}t=t.return}}function Hu(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new M0;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(l)||(_u=!0,n.add(l),e=H0.bind(null,e,t,l),t.then(e,e))}function H0(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,ze===e&&(me&l)===l&&(qe===4||qe===3&&(me&62914560)===me&&300>vt()-ts?(Ae&2)===0&&Ga(e,0):zu|=l,Ya===me&&(Ya=0)),Qt(e)}function ap(e,t){t===0&&(t=Wo()),e=Jl(e,t),e!==null&&(un(e,t),Qt(e))}function B0(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),ap(e,l)}function q0(e,t){var l=0;switch(e.tag){case 31:case 13:var a=e.stateNode,n=e.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(i(314))}a!==null&&a.delete(t),ap(e,l)}function Y0(e,t){return Fs(e,t)}var us=null,ka=null,Bu=!1,os=!1,qu=!1,Ol=0;function Qt(e){e!==ka&&e.next===null&&(ka===null?us=ka=e:ka=ka.next=e),os=!0,Bu||(Bu=!0,G0())}function Vn(e,t){if(!qu&&os){qu=!0;do for(var l=!1,a=us;a!==null;){if(e!==0){var n=a.pendingLanes;if(n===0)var s=0;else{var r=a.suspendedLanes,p=a.pingedLanes;s=(1<<31-gt(42|e)+1)-1,s&=n&~(r&~p),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(l=!0,ip(a,s))}else s=me,s=pc(a,a===ze?s:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(s&3)===0||sn(a,s)||(l=!0,ip(a,s));a=a.next}while(l);qu=!1}}function L0(){np()}function np(){os=Bu=!1;var e=0;Ol!==0&&$0()&&(e=Ol);for(var t=vt(),l=null,a=us;a!==null;){var n=a.next,s=cp(a,t);s===0?(a.next=null,l===null?us=n:l.next=n,n===null&&(ka=l)):(l=a,(e!==0||(s&3)!==0)&&(os=!0)),a=n}Je!==0&&Je!==5||Vn(e),Ol!==0&&(Ol=0)}function cp(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,s=e.pendingLanes&-62914561;0p)break;var O=y.transferSize,B=y.initiatorType;O&&hp(B)&&(y=y.responseEnd,r+=O*(y"u"?null:document;function Cp(e,t,l){var a=Xa;if(a&&typeof t=="string"&&t){var n=Ct(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Tp.has(n)||(Tp.add(n),e={rel:e,crossOrigin:l,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),nt(t,"link",e),Ie(t),a.head.appendChild(t)))}}function sx(e){rl.D(e),Cp("dns-prefetch",e,null)}function ix(e,t){rl.C(e,t),Cp("preconnect",e,t)}function ux(e,t,l){rl.L(e,t,l);var a=Xa;if(a&&e&&t){var n='link[rel="preload"][as="'+Ct(t)+'"]';t==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+Ct(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+Ct(l.imageSizes)+'"]')):n+='[href="'+Ct(e)+'"]';var s=n;switch(t){case"style":s=Qa(e);break;case"script":s=Za(e)}Ut.has(s)||(e=E({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Ut.set(s,e),a.querySelector(n)!==null||t==="style"&&a.querySelector(Zn(s))||t==="script"&&a.querySelector(Kn(s))||(t=a.createElement("link"),nt(t,"link",e),Ie(t),a.head.appendChild(t)))}}function ox(e,t){rl.m(e,t);var l=Xa;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+Ct(a)+'"][href="'+Ct(e)+'"]',s=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Za(e)}if(!Ut.has(s)&&(e=E({rel:"modulepreload",href:e},t),Ut.set(s,e),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Kn(s)))return}a=l.createElement("link"),nt(a,"link",e),Ie(a),l.head.appendChild(a)}}}function rx(e,t,l){rl.S(e,t,l);var a=Xa;if(a&&e){var n=pa(a).hoistableStyles,s=Qa(e);t=t||"default";var r=n.get(s);if(!r){var p={loading:0,preload:null};if(r=a.querySelector(Zn(s)))p.loading=5;else{e=E({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Ut.get(s))&&eo(e,l);var y=r=a.createElement("link");Ie(y),nt(y,"link",e),y._p=new Promise(function(_,O){y.onload=_,y.onerror=O}),y.addEventListener("load",function(){p.loading|=1}),y.addEventListener("error",function(){p.loading|=2}),p.loading|=4,ms(r,t,a)}r={type:"stylesheet",instance:r,count:1,state:p},n.set(s,r)}}}function fx(e,t){rl.X(e,t);var l=Xa;if(l&&e){var a=pa(l).hoistableScripts,n=Za(e),s=a.get(n);s||(s=l.querySelector(Kn(n)),s||(e=E({src:e,async:!0},t),(t=Ut.get(n))&&to(e,t),s=l.createElement("script"),Ie(s),nt(s,"link",e),l.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},a.set(n,s))}}function dx(e,t){rl.M(e,t);var l=Xa;if(l&&e){var a=pa(l).hoistableScripts,n=Za(e),s=a.get(n);s||(s=l.querySelector(Kn(n)),s||(e=E({src:e,async:!0,type:"module"},t),(t=Ut.get(n))&&to(e,t),s=l.createElement("script"),Ie(s),nt(s,"link",e),l.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},a.set(n,s))}}function _p(e,t,l,a){var n=(n=re.current)?ps(n):null;if(!n)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Qa(l.href),l=pa(n).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Qa(l.href);var s=pa(n).hoistableStyles,r=s.get(e);if(r||(n=n.ownerDocument||n,r={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(e,r),(s=n.querySelector(Zn(e)))&&!s._p&&(r.instance=s,r.state.loading=5),Ut.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Ut.set(e,l),s||px(n,e,l,r.state))),t&&a===null)throw Error(i(528,""));return r}if(t&&a!==null)throw Error(i(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Za(l),l=pa(n).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Qa(e){return'href="'+Ct(e)+'"'}function Zn(e){return'link[rel="stylesheet"]['+e+"]"}function zp(e){return E({},e,{"data-precedence":e.precedence,precedence:null})}function px(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),nt(t,"link",l),Ie(t),e.head.appendChild(t))}function Za(e){return'[src="'+Ct(e)+'"]'}function Kn(e){return"script[async]"+e}function wp(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Ct(l.href)+'"]');if(a)return t.instance=a,Ie(a),a;var n=E({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Ie(a),nt(a,"style",n),ms(a,l.precedence,e),t.instance=a;case"stylesheet":n=Qa(l.href);var s=e.querySelector(Zn(n));if(s)return t.state.loading|=4,t.instance=s,Ie(s),s;a=zp(l),(n=Ut.get(n))&&eo(a,n),s=(e.ownerDocument||e).createElement("link"),Ie(s);var r=s;return r._p=new Promise(function(p,y){r.onload=p,r.onerror=y}),nt(s,"link",a),t.state.loading|=4,ms(s,l.precedence,e),t.instance=s;case"script":return s=Za(l.src),(n=e.querySelector(Kn(s)))?(t.instance=n,Ie(n),n):(a=l,(n=Ut.get(s))&&(a=E({},l),to(a,n)),e=e.ownerDocument||e,n=e.createElement("script"),Ie(n),nt(n,"link",a),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(i(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,ms(a,l.precedence,e));return t.instance}function ms(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,s=n,r=0;r title"):null)}function mx(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Rp(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function hx(e,t,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var n=Qa(a.href),s=t.querySelector(Zn(n));if(s){t=s._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=vs.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=s,Ie(s);return}s=t.ownerDocument||t,a=zp(a),(n=Ut.get(n))&&eo(a,n),s=s.createElement("link"),Ie(s);var r=s;r._p=new Promise(function(p,y){r.onload=p,r.onerror=y}),nt(s,"link",a),l.instance=s}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=vs.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var lo=0;function vx(e,t){return e.stylesheets&&e.count===0&&gs(e,e.stylesheets),0lo?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function vs(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)gs(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var xs=null;function gs(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,xs=new Map,t.forEach(xx,e),xs=null,vs.call(e))}function xx(e,t){if(!(t.state.loading&4)){var l=xs.get(e);if(l)var a=l.get(null);else{l=new Map,xs.set(e,l);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(u){console.error(u)}}return c(),fo.exports=Rx(),fo.exports}var Ux=Dx();const Hx=c=>c.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Bx=c=>c.replace(/^([A-Z])|[\s-_]+(\w)/g,(u,o,i)=>i?i.toUpperCase():o.toLowerCase()),am=c=>{const u=Bx(c);return u.charAt(0).toUpperCase()+u.slice(1)},wm=(...c)=>c.filter((u,o,i)=>!!u&&u.trim()!==""&&i.indexOf(u)===o).join(" ").trim(),qx=c=>{for(const u in c)if(u.startsWith("aria-")||u==="role"||u==="title")return!0};var Yx={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"};const Lx=g.forwardRef(({color:c="currentColor",size:u=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:d="",children:m,iconNode:x,...h},b)=>g.createElement("svg",{ref:b,...Yx,width:u,height:u,stroke:c,strokeWidth:i?Number(o)*24/Number(u):o,className:wm("lucide",d),...!m&&!qx(h)&&{"aria-hidden":"true"},...h},[...x.map(([v,T])=>g.createElement(v,T)),...Array.isArray(m)?m:[m]]));const Ge=(c,u)=>{const o=g.forwardRef(({className:i,...d},m)=>g.createElement(Lx,{ref:m,iconNode:u,className:wm(`lucide-${Hx(am(c))}`,`lucide-${c}`,i),...d}));return o.displayName=am(c),o};const Gx=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],nm=Ge("arrow-right",Gx);const Vx=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],kx=Ge("briefcase",Vx);const Xx=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],Qx=Ge("building-2",Xx);const Zx=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]],vo=Ge("calculator",Zx);const Kx=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],xo=Ge("chart-column",Kx);const Jx=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],Fx=Ge("chart-line",Jx);const Wx=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Ja=Ge("check",Wx);const $x=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],cm=Ge("chevron-right",$x);const Ix=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Px=Ge("clock",Ix);const eg=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],sm=Ge("dollar-sign",eg);const tg=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],lg=Ge("globe",tg);const ag=[["path",{d:"M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5",key:"1p9q5i"}],["path",{d:"M14 6a6 6 0 0 1 6 6v3",key:"1hnv84"}],["path",{d:"M4 15v-3a6 6 0 0 1 6-6",key:"9ciidu"}],["rect",{x:"2",y:"15",width:"20",height:"4",rx:"1",key:"g3x8cw"}]],ng=Ge("hard-hat",ag);const cg=[["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-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],sg=Ge("house",cg);const ig=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],ug=Ge("mail",ig);const og=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],rg=Ge("menu",og);const fg=[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]],dg=Ge("percent",fg);const pg=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],mg=Ge("sparkles",pg);const hg=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],vg=Ge("target",hg);const xg=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],Ts=Ge("trending-up",xg);const gg=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],yg=Ge("wallet",gg);const bg=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],_o=Ge("x",bg);function im(c,u){if(typeof c=="function")return c(u);c!=null&&(c.current=u)}function cc(...c){return u=>{let o=!1;const i=c.map(d=>{const m=im(d,u);return!o&&typeof m=="function"&&(o=!0),m});if(o)return()=>{for(let d=0;d{let{children:m,...x}=i;Mm(m)&&typeof qs=="function"&&(m=qs(m._payload));const h=g.Children.toArray(m),b=h.find(Tg);if(b){const v=b.props.children,T=h.map(E=>E===b?g.Children.count(v)>1?g.Children.only(null):g.isValidElement(v)?v.props.children:null:E);return f.jsx(u,{...x,ref:d,children:g.isValidElement(v)?g.cloneElement(v,void 0,T):null})}return f.jsx(u,{...x,ref:d,children:m})});return o.displayName=`${c}.Slot`,o}var Om=Ng("Slot");function Eg(c){const u=g.forwardRef((o,i)=>{let{children:d,...m}=o;if(Mm(d)&&typeof qs=="function"&&(d=qs(d._payload)),g.isValidElement(d)){const x=_g(d),h=Cg(m,d.props);return d.type!==g.Fragment&&(h.ref=i?cc(i,x):x),g.cloneElement(d,h)}return g.Children.count(d)>1?g.Children.only(null):null});return u.displayName=`${c}.SlotClone`,u}var jg=Symbol("radix.slottable");function Tg(c){return g.isValidElement(c)&&typeof c.type=="function"&&"__radixId"in c.type&&c.type.__radixId===jg}function Cg(c,u){const o={...u};for(const i in u){const d=c[i],m=u[i];/^on[A-Z]/.test(i)?d&&m?o[i]=(...h)=>{const b=m(...h);return d(...h),b}:d&&(o[i]=d):i==="style"?o[i]={...d,...m}:i==="className"&&(o[i]=[d,m].filter(Boolean).join(" "))}return{...c,...o}}function _g(c){let u=Object.getOwnPropertyDescriptor(c.props,"ref")?.get,o=u&&"isReactWarning"in u&&u.isReactWarning;return o?c.ref:(u=Object.getOwnPropertyDescriptor(c,"ref")?.get,o=u&&"isReactWarning"in u&&u.isReactWarning,o?c.props.ref:c.props.ref||c.ref)}function Rm(c){var u,o,i="";if(typeof c=="string"||typeof c=="number")i+=c;else if(typeof c=="object")if(Array.isArray(c)){var d=c.length;for(u=0;utypeof c=="boolean"?`${c}`:c===0?"0":c,om=Dm,Um=(c,u)=>o=>{var i;if(u?.variants==null)return om(c,o?.class,o?.className);const{variants:d,defaultVariants:m}=u,x=Object.keys(d).map(v=>{const T=o?.[v],E=m?.[v];if(T===null)return null;const R=um(T)||um(E);return d[v][R]}),h=o&&Object.entries(o).reduce((v,T)=>{let[E,R]=T;return R===void 0||(v[E]=R),v},{}),b=u==null||(i=u.compoundVariants)===null||i===void 0?void 0:i.reduce((v,T)=>{let{class:E,className:R,...k}=T;return Object.entries(k).every(J=>{let[M,U]=J;return Array.isArray(U)?U.includes({...m,...h}[M]):{...m,...h}[M]===U})?[...v,E,R]:v},[]);return om(c,x,b,o?.class,o?.className)},zg=(c,u)=>{const o=new Array(c.length+u.length);for(let i=0;i({classGroupId:c,validator:u}),Hm=(c=new Map,u=null,o)=>({nextPart:c,validators:u,classGroupId:o}),Ys="-",rm=[],Mg="arbitrary..",Og=c=>{const u=Dg(c),{conflictingClassGroups:o,conflictingClassGroupModifiers:i}=c;return{getClassGroupId:x=>{if(x.startsWith("[")&&x.endsWith("]"))return Rg(x);const h=x.split(Ys),b=h[0]===""&&h.length>1?1:0;return Bm(h,b,u)},getConflictingClassGroupIds:(x,h)=>{if(h){const b=i[x],v=o[x];return b?v?zg(v,b):b:v||rm}return o[x]||rm}}},Bm=(c,u,o)=>{if(c.length-u===0)return o.classGroupId;const d=c[u],m=o.nextPart.get(d);if(m){const v=Bm(c,u+1,m);if(v)return v}const x=o.validators;if(x===null)return;const h=u===0?c.join(Ys):c.slice(u).join(Ys),b=x.length;for(let v=0;vc.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const u=c.slice(1,-1),o=u.indexOf(":"),i=u.slice(0,o);return i?Mg+i:void 0})(),Dg=c=>{const{theme:u,classGroups:o}=c;return Ug(o,u)},Ug=(c,u)=>{const o=Hm();for(const i in c){const d=c[i];qo(d,o,i,u)}return o},qo=(c,u,o,i)=>{const d=c.length;for(let m=0;m{if(typeof c=="string"){Bg(c,u,o);return}if(typeof c=="function"){qg(c,u,o,i);return}Yg(c,u,o,i)},Bg=(c,u,o)=>{const i=c===""?u:qm(u,c);i.classGroupId=o},qg=(c,u,o,i)=>{if(Lg(c)){qo(c(i),u,o,i);return}u.validators===null&&(u.validators=[]),u.validators.push(wg(o,c))},Yg=(c,u,o,i)=>{const d=Object.entries(c),m=d.length;for(let x=0;x{let o=c;const i=u.split(Ys),d=i.length;for(let m=0;m"isThemeGetter"in c&&c.isThemeGetter===!0,Gg=c=>{if(c<1)return{get:()=>{},set:()=>{}};let u=0,o=Object.create(null),i=Object.create(null);const d=(m,x)=>{o[m]=x,u++,u>c&&(u=0,i=o,o=Object.create(null))};return{get(m){let x=o[m];if(x!==void 0)return x;if((x=i[m])!==void 0)return d(m,x),x},set(m,x){m in o?o[m]=x:d(m,x)}}},zo="!",fm=":",Vg=[],dm=(c,u,o,i,d)=>({modifiers:c,hasImportantModifier:u,baseClassName:o,maybePostfixModifierPosition:i,isExternal:d}),kg=c=>{const{prefix:u,experimentalParseClassName:o}=c;let i=d=>{const m=[];let x=0,h=0,b=0,v;const T=d.length;for(let M=0;Mb?v-b:void 0;return dm(m,k,R,J)};if(u){const d=u+fm,m=i;i=x=>x.startsWith(d)?m(x.slice(d.length)):dm(Vg,!1,x,void 0,!0)}if(o){const d=i;i=m=>o({className:m,parseClassName:d})}return i},Xg=c=>{const u=new Map;return c.orderSensitiveModifiers.forEach((o,i)=>{u.set(o,1e6+i)}),o=>{const i=[];let d=[];for(let m=0;m0&&(d.sort(),i.push(...d),d=[]),i.push(x)):d.push(x)}return d.length>0&&(d.sort(),i.push(...d)),i}},Qg=c=>({cache:Gg(c.cacheSize),parseClassName:kg(c),sortModifiers:Xg(c),...Og(c)}),Zg=/\s+/,Kg=(c,u)=>{const{parseClassName:o,getClassGroupId:i,getConflictingClassGroupIds:d,sortModifiers:m}=u,x=[],h=c.trim().split(Zg);let b="";for(let v=h.length-1;v>=0;v-=1){const T=h[v],{isExternal:E,modifiers:R,hasImportantModifier:k,baseClassName:J,maybePostfixModifierPosition:M}=o(T);if(E){b=T+(b.length>0?" "+b:b);continue}let U=!!M,L=i(U?J.substring(0,M):J);if(!L){if(!U){b=T+(b.length>0?" "+b:b);continue}if(L=i(J),!L){b=T+(b.length>0?" "+b:b);continue}U=!1}const I=R.length===0?"":R.length===1?R[0]:m(R).join(":"),X=k?I+zo:I,Q=X+L;if(x.indexOf(Q)>-1)continue;x.push(Q);const le=d(L,U);for(let ce=0;ce0?" "+b:b)}return b},Jg=(...c)=>{let u=0,o,i,d="";for(;u{if(typeof c=="string")return c;let u,o="";for(let i=0;i{let o,i,d,m;const x=b=>{const v=u.reduce((T,E)=>E(T),c());return o=Qg(v),i=o.cache.get,d=o.cache.set,m=h,h(b)},h=b=>{const v=i(b);if(v)return v;const T=Kg(b,o);return d(b,T),T};return m=x,(...b)=>m(Jg(...b))},Wg=[],Fe=c=>{const u=o=>o[c]||Wg;return u.isThemeGetter=!0,u},Lm=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Gm=/^\((?:(\w[\w-]*):)?(.+)\)$/i,$g=/^\d+\/\d+$/,Ig=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Pg=/\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$/,ey=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ty=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ly=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Fa=c=>$g.test(c),fe=c=>!!c&&!Number.isNaN(Number(c)),Yl=c=>!!c&&Number.isInteger(Number(c)),go=c=>c.endsWith("%")&&fe(c.slice(0,-1)),fl=c=>Ig.test(c),ay=()=>!0,ny=c=>Pg.test(c)&&!ey.test(c),Vm=()=>!1,cy=c=>ty.test(c),sy=c=>ly.test(c),iy=c=>!W(c)&&!$(c),uy=c=>ln(c,Qm,Vm),W=c=>Lm.test(c),ia=c=>ln(c,Zm,ny),yo=c=>ln(c,py,fe),pm=c=>ln(c,km,Vm),oy=c=>ln(c,Xm,sy),Cs=c=>ln(c,Km,cy),$=c=>Gm.test(c),ec=c=>an(c,Zm),ry=c=>an(c,my),mm=c=>an(c,km),fy=c=>an(c,Qm),dy=c=>an(c,Xm),_s=c=>an(c,Km,!0),ln=(c,u,o)=>{const i=Lm.exec(c);return i?i[1]?u(i[1]):o(i[2]):!1},an=(c,u,o=!1)=>{const i=Gm.exec(c);return i?i[1]?u(i[1]):o:!1},km=c=>c==="position"||c==="percentage",Xm=c=>c==="image"||c==="url",Qm=c=>c==="length"||c==="size"||c==="bg-size",Zm=c=>c==="length",py=c=>c==="number",my=c=>c==="family-name",Km=c=>c==="shadow",hy=()=>{const c=Fe("color"),u=Fe("font"),o=Fe("text"),i=Fe("font-weight"),d=Fe("tracking"),m=Fe("leading"),x=Fe("breakpoint"),h=Fe("container"),b=Fe("spacing"),v=Fe("radius"),T=Fe("shadow"),E=Fe("inset-shadow"),R=Fe("text-shadow"),k=Fe("drop-shadow"),J=Fe("blur"),M=Fe("perspective"),U=Fe("aspect"),L=Fe("ease"),I=Fe("animate"),X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],le=()=>[...Q(),$,W],ce=()=>["auto","hidden","clip","visible","scroll"],Z=()=>["auto","contain","none"],V=()=>[$,W,b],xe=()=>[Fa,"full","auto",...V()],we=()=>[Yl,"none","subgrid",$,W],te=()=>["auto",{span:["full",Yl,$,W]},Yl,$,W],ge=()=>[Yl,"auto",$,W],We=()=>["auto","min","max","fr",$,W],Ke=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Me=()=>["start","end","center","stretch","center-safe","end-safe"],N=()=>["auto",...V()],q=()=>[Fa,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...V()],Y=()=>[c,$,W],ye=()=>[...Q(),mm,pm,{position:[$,W]}],Ne=()=>["no-repeat",{repeat:["","x","y","space","round"]}],A=()=>["auto","cover","contain",fy,uy,{size:[$,W]}],H=()=>[go,ec,ia],G=()=>["","none","full",v,$,W],K=()=>["",fe,ec,ia],se=()=>["solid","dashed","dotted","double"],re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ne=()=>[fe,go,mm,pm],$e=()=>["","none",J,$,W],Oe=()=>["none",fe,$,W],Gt=()=>["none",fe,$,W],dl=()=>[fe,$,W],pl=()=>[Fa,"full",...V()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[fl],breakpoint:[fl],color:[ay],container:[fl],"drop-shadow":[fl],ease:["in","out","in-out"],font:[iy],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[fl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[fl],shadow:[fl],spacing:["px",fe],text:[fl],"text-shadow":[fl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Fa,W,$,U]}],container:["container"],columns:[{columns:[fe,W,$,h]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"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"],sr:["sr-only","not-sr-only"],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:le()}],overflow:[{overflow:ce()}],"overflow-x":[{"overflow-x":ce()}],"overflow-y":[{"overflow-y":ce()}],overscroll:[{overscroll:Z()}],"overscroll-x":[{"overscroll-x":Z()}],"overscroll-y":[{"overscroll-y":Z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:xe()}],"inset-x":[{"inset-x":xe()}],"inset-y":[{"inset-y":xe()}],start:[{start:xe()}],end:[{end:xe()}],top:[{top:xe()}],right:[{right:xe()}],bottom:[{bottom:xe()}],left:[{left:xe()}],visibility:["visible","invisible","collapse"],z:[{z:[Yl,"auto",$,W]}],basis:[{basis:[Fa,"full","auto",h,...V()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[fe,Fa,"auto","initial","none",W]}],grow:[{grow:["",fe,$,W]}],shrink:[{shrink:["",fe,$,W]}],order:[{order:[Yl,"first","last","none",$,W]}],"grid-cols":[{"grid-cols":we()}],"col-start-end":[{col:te()}],"col-start":[{"col-start":ge()}],"col-end":[{"col-end":ge()}],"grid-rows":[{"grid-rows":we()}],"row-start-end":[{row:te()}],"row-start":[{"row-start":ge()}],"row-end":[{"row-end":ge()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":We()}],"auto-rows":[{"auto-rows":We()}],gap:[{gap:V()}],"gap-x":[{"gap-x":V()}],"gap-y":[{"gap-y":V()}],"justify-content":[{justify:[...Ke(),"normal"]}],"justify-items":[{"justify-items":[...Me(),"normal"]}],"justify-self":[{"justify-self":["auto",...Me()]}],"align-content":[{content:["normal",...Ke()]}],"align-items":[{items:[...Me(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Me(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ke()}],"place-items":[{"place-items":[...Me(),"baseline"]}],"place-self":[{"place-self":["auto",...Me()]}],p:[{p:V()}],px:[{px:V()}],py:[{py:V()}],ps:[{ps:V()}],pe:[{pe:V()}],pt:[{pt:V()}],pr:[{pr:V()}],pb:[{pb:V()}],pl:[{pl:V()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":V()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":V()}],"space-y-reverse":["space-y-reverse"],size:[{size:q()}],w:[{w:[h,"screen",...q()]}],"min-w":[{"min-w":[h,"screen","none",...q()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[x]},...q()]}],h:[{h:["screen","lh",...q()]}],"min-h":[{"min-h":["screen","lh","none",...q()]}],"max-h":[{"max-h":["screen","lh",...q()]}],"font-size":[{text:["base",o,ec,ia]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,$,yo]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",go,W]}],"font-family":[{font:[ry,W,u]}],"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:[d,$,W]}],"line-clamp":[{"line-clamp":[fe,"none",$,yo]}],leading:[{leading:[m,...V()]}],"list-image":[{"list-image":["none",$,W]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",$,W]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Y()}],"text-color":[{text:Y()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...se(),"wavy"]}],"text-decoration-thickness":[{decoration:[fe,"from-font","auto",$,ia]}],"text-decoration-color":[{decoration:Y()}],"underline-offset":[{"underline-offset":[fe,"auto",$,W]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",$,W]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",$,W]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ye()}],"bg-repeat":[{bg:Ne()}],"bg-size":[{bg:A()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Yl,$,W],radial:["",$,W],conic:[Yl,$,W]},dy,oy]}],"bg-color":[{bg:Y()}],"gradient-from-pos":[{from:H()}],"gradient-via-pos":[{via:H()}],"gradient-to-pos":[{to:H()}],"gradient-from":[{from:Y()}],"gradient-via":[{via:Y()}],"gradient-to":[{to:Y()}],rounded:[{rounded:G()}],"rounded-s":[{"rounded-s":G()}],"rounded-e":[{"rounded-e":G()}],"rounded-t":[{"rounded-t":G()}],"rounded-r":[{"rounded-r":G()}],"rounded-b":[{"rounded-b":G()}],"rounded-l":[{"rounded-l":G()}],"rounded-ss":[{"rounded-ss":G()}],"rounded-se":[{"rounded-se":G()}],"rounded-ee":[{"rounded-ee":G()}],"rounded-es":[{"rounded-es":G()}],"rounded-tl":[{"rounded-tl":G()}],"rounded-tr":[{"rounded-tr":G()}],"rounded-br":[{"rounded-br":G()}],"rounded-bl":[{"rounded-bl":G()}],"border-w":[{border:K()}],"border-w-x":[{"border-x":K()}],"border-w-y":[{"border-y":K()}],"border-w-s":[{"border-s":K()}],"border-w-e":[{"border-e":K()}],"border-w-t":[{"border-t":K()}],"border-w-r":[{"border-r":K()}],"border-w-b":[{"border-b":K()}],"border-w-l":[{"border-l":K()}],"divide-x":[{"divide-x":K()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":K()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...se(),"hidden","none"]}],"divide-style":[{divide:[...se(),"hidden","none"]}],"border-color":[{border:Y()}],"border-color-x":[{"border-x":Y()}],"border-color-y":[{"border-y":Y()}],"border-color-s":[{"border-s":Y()}],"border-color-e":[{"border-e":Y()}],"border-color-t":[{"border-t":Y()}],"border-color-r":[{"border-r":Y()}],"border-color-b":[{"border-b":Y()}],"border-color-l":[{"border-l":Y()}],"divide-color":[{divide:Y()}],"outline-style":[{outline:[...se(),"none","hidden"]}],"outline-offset":[{"outline-offset":[fe,$,W]}],"outline-w":[{outline:["",fe,ec,ia]}],"outline-color":[{outline:Y()}],shadow:[{shadow:["","none",T,_s,Cs]}],"shadow-color":[{shadow:Y()}],"inset-shadow":[{"inset-shadow":["none",E,_s,Cs]}],"inset-shadow-color":[{"inset-shadow":Y()}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Y()}],"ring-offset-w":[{"ring-offset":[fe,ia]}],"ring-offset-color":[{"ring-offset":Y()}],"inset-ring-w":[{"inset-ring":K()}],"inset-ring-color":[{"inset-ring":Y()}],"text-shadow":[{"text-shadow":["none",R,_s,Cs]}],"text-shadow-color":[{"text-shadow":Y()}],opacity:[{opacity:[fe,$,W]}],"mix-blend":[{"mix-blend":[...re(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":re()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[fe]}],"mask-image-linear-from-pos":[{"mask-linear-from":ne()}],"mask-image-linear-to-pos":[{"mask-linear-to":ne()}],"mask-image-linear-from-color":[{"mask-linear-from":Y()}],"mask-image-linear-to-color":[{"mask-linear-to":Y()}],"mask-image-t-from-pos":[{"mask-t-from":ne()}],"mask-image-t-to-pos":[{"mask-t-to":ne()}],"mask-image-t-from-color":[{"mask-t-from":Y()}],"mask-image-t-to-color":[{"mask-t-to":Y()}],"mask-image-r-from-pos":[{"mask-r-from":ne()}],"mask-image-r-to-pos":[{"mask-r-to":ne()}],"mask-image-r-from-color":[{"mask-r-from":Y()}],"mask-image-r-to-color":[{"mask-r-to":Y()}],"mask-image-b-from-pos":[{"mask-b-from":ne()}],"mask-image-b-to-pos":[{"mask-b-to":ne()}],"mask-image-b-from-color":[{"mask-b-from":Y()}],"mask-image-b-to-color":[{"mask-b-to":Y()}],"mask-image-l-from-pos":[{"mask-l-from":ne()}],"mask-image-l-to-pos":[{"mask-l-to":ne()}],"mask-image-l-from-color":[{"mask-l-from":Y()}],"mask-image-l-to-color":[{"mask-l-to":Y()}],"mask-image-x-from-pos":[{"mask-x-from":ne()}],"mask-image-x-to-pos":[{"mask-x-to":ne()}],"mask-image-x-from-color":[{"mask-x-from":Y()}],"mask-image-x-to-color":[{"mask-x-to":Y()}],"mask-image-y-from-pos":[{"mask-y-from":ne()}],"mask-image-y-to-pos":[{"mask-y-to":ne()}],"mask-image-y-from-color":[{"mask-y-from":Y()}],"mask-image-y-to-color":[{"mask-y-to":Y()}],"mask-image-radial":[{"mask-radial":[$,W]}],"mask-image-radial-from-pos":[{"mask-radial-from":ne()}],"mask-image-radial-to-pos":[{"mask-radial-to":ne()}],"mask-image-radial-from-color":[{"mask-radial-from":Y()}],"mask-image-radial-to-color":[{"mask-radial-to":Y()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":Q()}],"mask-image-conic-pos":[{"mask-conic":[fe]}],"mask-image-conic-from-pos":[{"mask-conic-from":ne()}],"mask-image-conic-to-pos":[{"mask-conic-to":ne()}],"mask-image-conic-from-color":[{"mask-conic-from":Y()}],"mask-image-conic-to-color":[{"mask-conic-to":Y()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ye()}],"mask-repeat":[{mask:Ne()}],"mask-size":[{mask:A()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",$,W]}],filter:[{filter:["","none",$,W]}],blur:[{blur:$e()}],brightness:[{brightness:[fe,$,W]}],contrast:[{contrast:[fe,$,W]}],"drop-shadow":[{"drop-shadow":["","none",k,_s,Cs]}],"drop-shadow-color":[{"drop-shadow":Y()}],grayscale:[{grayscale:["",fe,$,W]}],"hue-rotate":[{"hue-rotate":[fe,$,W]}],invert:[{invert:["",fe,$,W]}],saturate:[{saturate:[fe,$,W]}],sepia:[{sepia:["",fe,$,W]}],"backdrop-filter":[{"backdrop-filter":["","none",$,W]}],"backdrop-blur":[{"backdrop-blur":$e()}],"backdrop-brightness":[{"backdrop-brightness":[fe,$,W]}],"backdrop-contrast":[{"backdrop-contrast":[fe,$,W]}],"backdrop-grayscale":[{"backdrop-grayscale":["",fe,$,W]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[fe,$,W]}],"backdrop-invert":[{"backdrop-invert":["",fe,$,W]}],"backdrop-opacity":[{"backdrop-opacity":[fe,$,W]}],"backdrop-saturate":[{"backdrop-saturate":[fe,$,W]}],"backdrop-sepia":[{"backdrop-sepia":["",fe,$,W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":V()}],"border-spacing-x":[{"border-spacing-x":V()}],"border-spacing-y":[{"border-spacing-y":V()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",$,W]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[fe,"initial",$,W]}],ease:[{ease:["linear","initial",L,$,W]}],delay:[{delay:[fe,$,W]}],animate:[{animate:["none",I,$,W]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[M,$,W]}],"perspective-origin":[{"perspective-origin":le()}],rotate:[{rotate:Oe()}],"rotate-x":[{"rotate-x":Oe()}],"rotate-y":[{"rotate-y":Oe()}],"rotate-z":[{"rotate-z":Oe()}],scale:[{scale:Gt()}],"scale-x":[{"scale-x":Gt()}],"scale-y":[{"scale-y":Gt()}],"scale-z":[{"scale-z":Gt()}],"scale-3d":["scale-3d"],skew:[{skew:dl()}],"skew-x":[{"skew-x":dl()}],"skew-y":[{"skew-y":dl()}],transform:[{transform:[$,W,"","none","gpu","cpu"]}],"transform-origin":[{origin:le()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:pl()}],"translate-x":[{"translate-x":pl()}],"translate-y":[{"translate-y":pl()}],"translate-z":[{"translate-z":pl()}],"translate-none":["translate-none"],accent:[{accent:Y()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Y()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",$,W]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"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",$,W]}],fill:[{fill:["none",...Y()]}],"stroke-w":[{stroke:[fe,ec,ia,yo]}],stroke:[{stroke:["none",...Y()]}],"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-x","border-w-y","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-x","border-color-y","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},vy=Fg(hy);function ct(...c){return vy(Dm(c))}const xy=Um("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function Yt({className:c,variant:u="default",size:o="default",asChild:i=!1,...d}){const m=i?Om:"button";return f.jsx(m,{"code-path":"src/components/ui/button.tsx:52:5","data-slot":"button","data-variant":u,"data-size":o,className:ct(xy({variant:u,size:o,className:c})),...d})}function gy({className:c,type:u,...o}){return f.jsx("input",{"code-path":"src/components/ui/input.tsx:7:5",type:u,"data-slot":"input",className:ct("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",c),...o})}const yy=Um("inline-flex items-center justify-center rounded-full border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function ua({className:c,variant:u,asChild:o=!1,...i}){const d=o?Om:"span";return f.jsx(d,{"code-path":"src/components/ui/badge.tsx:38:5","data-slot":"badge",className:ct(yy({variant:u}),c),...i})}function zs({className:c,...u}){return f.jsx("div",{"code-path":"src/components/ui/card.tsx:7:5","data-slot":"card",className:ct("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",c),...u})}function ws({className:c,...u}){return f.jsx("div",{"code-path":"src/components/ui/card.tsx:66:5","data-slot":"card-content",className:ct("px-6",c),...u})}function He(c,u,{checkForDefaultPrevented:o=!0}={}){return function(d){if(c?.(d),o===!1||!d.defaultPrevented)return u?.(d)}}function by(c,u){const o=g.createContext(u),i=m=>{const{children:x,...h}=m,b=g.useMemo(()=>h,Object.values(h));return f.jsx(o.Provider,{value:b,children:x})};i.displayName=c+"Provider";function d(m){const x=g.useContext(o);if(x)return x;if(u!==void 0)return u;throw new Error(`\`${m}\` must be used within \`${c}\``)}return[i,d]}function sc(c,u=[]){let o=[];function i(m,x){const h=g.createContext(x),b=o.length;o=[...o,x];const v=E=>{const{scope:R,children:k,...J}=E,M=R?.[c]?.[b]||h,U=g.useMemo(()=>J,Object.values(J));return f.jsx(M.Provider,{value:U,children:k})};v.displayName=m+"Provider";function T(E,R){const k=R?.[c]?.[b]||h,J=g.useContext(k);if(J)return J;if(x!==void 0)return x;throw new Error(`\`${E}\` must be used within \`${m}\``)}return[v,T]}const d=()=>{const m=o.map(x=>g.createContext(x));return function(h){const b=h?.[c]||m;return g.useMemo(()=>({[`__scope${c}`]:{...h,[c]:b}}),[h,b])}};return d.scopeName=c,[i,Sy(d,...u)]}function Sy(...c){const u=c[0];if(c.length===1)return u;const o=()=>{const i=c.map(d=>({useScope:d(),scopeName:d.scopeName}));return function(m){const x=i.reduce((h,{useScope:b,scopeName:v})=>{const E=b(m)[`__scope${v}`];return{...h,...E}},{});return g.useMemo(()=>({[`__scope${u.scopeName}`]:x}),[x])}};return o.scopeName=u.scopeName,o}var en=globalThis?.document?g.useLayoutEffect:()=>{},Ay=Bo[" useId ".trim().toString()]||(()=>{}),Ny=0;function nc(c){const[u,o]=g.useState(Ay());return en(()=>{o(i=>i??String(Ny++))},[c]),c||(u?`radix-${u}`:"")}var Ey=Bo[" useInsertionEffect ".trim().toString()]||en;function Gs({prop:c,defaultProp:u,onChange:o=()=>{},caller:i}){const[d,m,x]=jy({defaultProp:u,onChange:o}),h=c!==void 0,b=h?c:d;{const T=g.useRef(c!==void 0);g.useEffect(()=>{const E=T.current;E!==h&&console.warn(`${i} is changing from ${E?"controlled":"uncontrolled"} to ${h?"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.`),T.current=h},[h,i])}const v=g.useCallback(T=>{if(h){const E=Ty(T)?T(c):T;E!==c&&x.current?.(E)}else m(T)},[h,c,m,x]);return[b,v]}function jy({defaultProp:c,onChange:u}){const[o,i]=g.useState(c),d=g.useRef(o),m=g.useRef(u);return Ey(()=>{m.current=u},[u]),g.useEffect(()=>{d.current!==o&&(m.current?.(o),d.current=o)},[o,d]),[o,i,m]}function Ty(c){return typeof c=="function"}var Jm=zm();const Cy=_m(Jm);function _y(c){const u=zy(c),o=g.forwardRef((i,d)=>{const{children:m,...x}=i,h=g.Children.toArray(m),b=h.find(My);if(b){const v=b.props.children,T=h.map(E=>E===b?g.Children.count(v)>1?g.Children.only(null):g.isValidElement(v)?v.props.children:null:E);return f.jsx(u,{...x,ref:d,children:g.isValidElement(v)?g.cloneElement(v,void 0,T):null})}return f.jsx(u,{...x,ref:d,children:m})});return o.displayName=`${c}.Slot`,o}function zy(c){const u=g.forwardRef((o,i)=>{const{children:d,...m}=o;if(g.isValidElement(d)){const x=Ry(d),h=Oy(m,d.props);return d.type!==g.Fragment&&(h.ref=i?cc(i,x):x),g.cloneElement(d,h)}return g.Children.count(d)>1?g.Children.only(null):null});return u.displayName=`${c}.SlotClone`,u}var wy=Symbol("radix.slottable");function My(c){return g.isValidElement(c)&&typeof c.type=="function"&&"__radixId"in c.type&&c.type.__radixId===wy}function Oy(c,u){const o={...u};for(const i in u){const d=c[i],m=u[i];/^on[A-Z]/.test(i)?d&&m?o[i]=(...h)=>{const b=m(...h);return d(...h),b}:d&&(o[i]=d):i==="style"?o[i]={...d,...m}:i==="className"&&(o[i]=[d,m].filter(Boolean).join(" "))}return{...c,...o}}function Ry(c){let u=Object.getOwnPropertyDescriptor(c.props,"ref")?.get,o=u&&"isReactWarning"in u&&u.isReactWarning;return o?c.ref:(u=Object.getOwnPropertyDescriptor(c,"ref")?.get,o=u&&"isReactWarning"in u&&u.isReactWarning,o?c.props.ref:c.props.ref||c.ref)}var Dy=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ze=Dy.reduce((c,u)=>{const o=_y(`Primitive.${u}`),i=g.forwardRef((d,m)=>{const{asChild:x,...h}=d,b=x?o:u;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),f.jsx(b,{...h,ref:m})});return i.displayName=`Primitive.${u}`,{...c,[u]:i}},{});function Uy(c,u){c&&Jm.flushSync(()=>c.dispatchEvent(u))}function tn(c){const u=g.useRef(c);return g.useEffect(()=>{u.current=c}),g.useMemo(()=>(...o)=>u.current?.(...o),[])}function Hy(c,u=globalThis?.document){const o=tn(c);g.useEffect(()=>{const i=d=>{d.key==="Escape"&&o(d)};return u.addEventListener("keydown",i,{capture:!0}),()=>u.removeEventListener("keydown",i,{capture:!0})},[o,u])}var By="DismissableLayer",wo="dismissableLayer.update",qy="dismissableLayer.pointerDownOutside",Yy="dismissableLayer.focusOutside",hm,Fm=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Wm=g.forwardRef((c,u)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:i,onPointerDownOutside:d,onFocusOutside:m,onInteractOutside:x,onDismiss:h,...b}=c,v=g.useContext(Fm),[T,E]=g.useState(null),R=T?.ownerDocument??globalThis?.document,[,k]=g.useState({}),J=it(u,Z=>E(Z)),M=Array.from(v.layers),[U]=[...v.layersWithOutsidePointerEventsDisabled].slice(-1),L=M.indexOf(U),I=T?M.indexOf(T):-1,X=v.layersWithOutsidePointerEventsDisabled.size>0,Q=I>=L,le=Vy(Z=>{const V=Z.target,xe=[...v.branches].some(we=>we.contains(V));!Q||xe||(d?.(Z),x?.(Z),Z.defaultPrevented||h?.())},R),ce=ky(Z=>{const V=Z.target;[...v.branches].some(we=>we.contains(V))||(m?.(Z),x?.(Z),Z.defaultPrevented||h?.())},R);return Hy(Z=>{I===v.layers.size-1&&(i?.(Z),!Z.defaultPrevented&&h&&(Z.preventDefault(),h()))},R),g.useEffect(()=>{if(T)return o&&(v.layersWithOutsidePointerEventsDisabled.size===0&&(hm=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),v.layersWithOutsidePointerEventsDisabled.add(T)),v.layers.add(T),vm(),()=>{o&&v.layersWithOutsidePointerEventsDisabled.size===1&&(R.body.style.pointerEvents=hm)}},[T,R,o,v]),g.useEffect(()=>()=>{T&&(v.layers.delete(T),v.layersWithOutsidePointerEventsDisabled.delete(T),vm())},[T,v]),g.useEffect(()=>{const Z=()=>k({});return document.addEventListener(wo,Z),()=>document.removeEventListener(wo,Z)},[]),f.jsx(Ze.div,{...b,ref:J,style:{pointerEvents:X?Q?"auto":"none":void 0,...c.style},onFocusCapture:He(c.onFocusCapture,ce.onFocusCapture),onBlurCapture:He(c.onBlurCapture,ce.onBlurCapture),onPointerDownCapture:He(c.onPointerDownCapture,le.onPointerDownCapture)})});Wm.displayName=By;var Ly="DismissableLayerBranch",Gy=g.forwardRef((c,u)=>{const o=g.useContext(Fm),i=g.useRef(null),d=it(u,i);return g.useEffect(()=>{const m=i.current;if(m)return o.branches.add(m),()=>{o.branches.delete(m)}},[o.branches]),f.jsx(Ze.div,{...c,ref:d})});Gy.displayName=Ly;function Vy(c,u=globalThis?.document){const o=tn(c),i=g.useRef(!1),d=g.useRef(()=>{});return g.useEffect(()=>{const m=h=>{if(h.target&&!i.current){let b=function(){$m(qy,o,v,{discrete:!0})};const v={originalEvent:h};h.pointerType==="touch"?(u.removeEventListener("click",d.current),d.current=b,u.addEventListener("click",d.current,{once:!0})):b()}else u.removeEventListener("click",d.current);i.current=!1},x=window.setTimeout(()=>{u.addEventListener("pointerdown",m)},0);return()=>{window.clearTimeout(x),u.removeEventListener("pointerdown",m),u.removeEventListener("click",d.current)}},[u,o]),{onPointerDownCapture:()=>i.current=!0}}function ky(c,u=globalThis?.document){const o=tn(c),i=g.useRef(!1);return g.useEffect(()=>{const d=m=>{m.target&&!i.current&&$m(Yy,o,{originalEvent:m},{discrete:!1})};return u.addEventListener("focusin",d),()=>u.removeEventListener("focusin",d)},[u,o]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function vm(){const c=new CustomEvent(wo);document.dispatchEvent(c)}function $m(c,u,o,{discrete:i}){const d=o.originalEvent.target,m=new CustomEvent(c,{bubbles:!1,cancelable:!0,detail:o});u&&d.addEventListener(c,u,{once:!0}),i?Uy(d,m):d.dispatchEvent(m)}var bo="focusScope.autoFocusOnMount",So="focusScope.autoFocusOnUnmount",xm={bubbles:!1,cancelable:!0},Xy="FocusScope",Im=g.forwardRef((c,u)=>{const{loop:o=!1,trapped:i=!1,onMountAutoFocus:d,onUnmountAutoFocus:m,...x}=c,[h,b]=g.useState(null),v=tn(d),T=tn(m),E=g.useRef(null),R=it(u,M=>b(M)),k=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(i){let M=function(X){if(k.paused||!h)return;const Q=X.target;h.contains(Q)?E.current=Q:Gl(E.current,{select:!0})},U=function(X){if(k.paused||!h)return;const Q=X.relatedTarget;Q!==null&&(h.contains(Q)||Gl(E.current,{select:!0}))},L=function(X){if(document.activeElement===document.body)for(const le of X)le.removedNodes.length>0&&Gl(h)};document.addEventListener("focusin",M),document.addEventListener("focusout",U);const I=new MutationObserver(L);return h&&I.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",M),document.removeEventListener("focusout",U),I.disconnect()}}},[i,h,k.paused]),g.useEffect(()=>{if(h){ym.add(k);const M=document.activeElement;if(!h.contains(M)){const L=new CustomEvent(bo,xm);h.addEventListener(bo,v),h.dispatchEvent(L),L.defaultPrevented||(Qy(Wy(Pm(h)),{select:!0}),document.activeElement===M&&Gl(h))}return()=>{h.removeEventListener(bo,v),setTimeout(()=>{const L=new CustomEvent(So,xm);h.addEventListener(So,T),h.dispatchEvent(L),L.defaultPrevented||Gl(M??document.body,{select:!0}),h.removeEventListener(So,T),ym.remove(k)},0)}}},[h,v,T,k]);const J=g.useCallback(M=>{if(!o&&!i||k.paused)return;const U=M.key==="Tab"&&!M.altKey&&!M.ctrlKey&&!M.metaKey,L=document.activeElement;if(U&&L){const I=M.currentTarget,[X,Q]=Zy(I);X&&Q?!M.shiftKey&&L===Q?(M.preventDefault(),o&&Gl(X,{select:!0})):M.shiftKey&&L===X&&(M.preventDefault(),o&&Gl(Q,{select:!0})):L===I&&M.preventDefault()}},[o,i,k.paused]);return f.jsx(Ze.div,{tabIndex:-1,...x,ref:R,onKeyDown:J})});Im.displayName=Xy;function Qy(c,{select:u=!1}={}){const o=document.activeElement;for(const i of c)if(Gl(i,{select:u}),document.activeElement!==o)return}function Zy(c){const u=Pm(c),o=gm(u,c),i=gm(u.reverse(),c);return[o,i]}function Pm(c){const u=[],o=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const d=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||d?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)u.push(o.currentNode);return u}function gm(c,u){for(const o of c)if(!Ky(o,{upTo:u}))return o}function Ky(c,{upTo:u}){if(getComputedStyle(c).visibility==="hidden")return!0;for(;c;){if(u!==void 0&&c===u)return!1;if(getComputedStyle(c).display==="none")return!0;c=c.parentElement}return!1}function Jy(c){return c instanceof HTMLInputElement&&"select"in c}function Gl(c,{select:u=!1}={}){if(c&&c.focus){const o=document.activeElement;c.focus({preventScroll:!0}),c!==o&&Jy(c)&&u&&c.select()}}var ym=Fy();function Fy(){let c=[];return{add(u){const o=c[0];u!==o&&o?.pause(),c=bm(c,u),c.unshift(u)},remove(u){c=bm(c,u),c[0]?.resume()}}}function bm(c,u){const o=[...c],i=o.indexOf(u);return i!==-1&&o.splice(i,1),o}function Wy(c){return c.filter(u=>u.tagName!=="A")}var $y="Portal",eh=g.forwardRef((c,u)=>{const{container:o,...i}=c,[d,m]=g.useState(!1);en(()=>m(!0),[]);const x=o||d&&globalThis?.document?.body;return x?Cy.createPortal(f.jsx(Ze.div,{...i,ref:u}),x):null});eh.displayName=$y;function Iy(c,u){return g.useReducer((o,i)=>u[o][i]??o,c)}var ic=c=>{const{present:u,children:o}=c,i=Py(u),d=typeof o=="function"?o({present:i.isPresent}):g.Children.only(o),m=it(i.ref,e1(d));return typeof o=="function"||i.isPresent?g.cloneElement(d,{ref:m}):null};ic.displayName="Presence";function Py(c){const[u,o]=g.useState(),i=g.useRef(null),d=g.useRef(c),m=g.useRef("none"),x=c?"mounted":"unmounted",[h,b]=Iy(x,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const v=Ms(i.current);m.current=h==="mounted"?v:"none"},[h]),en(()=>{const v=i.current,T=d.current;if(T!==c){const R=m.current,k=Ms(v);c?b("MOUNT"):k==="none"||v?.display==="none"?b("UNMOUNT"):b(T&&R!==k?"ANIMATION_OUT":"UNMOUNT"),d.current=c}},[c,b]),en(()=>{if(u){let v;const T=u.ownerDocument.defaultView??window,E=k=>{const M=Ms(i.current).includes(CSS.escape(k.animationName));if(k.target===u&&M&&(b("ANIMATION_END"),!d.current)){const U=u.style.animationFillMode;u.style.animationFillMode="forwards",v=T.setTimeout(()=>{u.style.animationFillMode==="forwards"&&(u.style.animationFillMode=U)})}},R=k=>{k.target===u&&(m.current=Ms(i.current))};return u.addEventListener("animationstart",R),u.addEventListener("animationcancel",E),u.addEventListener("animationend",E),()=>{T.clearTimeout(v),u.removeEventListener("animationstart",R),u.removeEventListener("animationcancel",E),u.removeEventListener("animationend",E)}}else b("ANIMATION_END")},[u,b]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:g.useCallback(v=>{i.current=v?getComputedStyle(v):null,o(v)},[])}}function Ms(c){return c?.animationName||"none"}function e1(c){let u=Object.getOwnPropertyDescriptor(c.props,"ref")?.get,o=u&&"isReactWarning"in u&&u.isReactWarning;return o?c.ref:(u=Object.getOwnPropertyDescriptor(c,"ref")?.get,o=u&&"isReactWarning"in u&&u.isReactWarning,o?c.props.ref:c.props.ref||c.ref)}var Ao=0;function t1(){g.useEffect(()=>{const c=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",c[0]??Sm()),document.body.insertAdjacentElement("beforeend",c[1]??Sm()),Ao++,()=>{Ao===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(u=>u.remove()),Ao--}},[])}function Sm(){const c=document.createElement("span");return c.setAttribute("data-radix-focus-guard",""),c.tabIndex=0,c.style.outline="none",c.style.opacity="0",c.style.position="fixed",c.style.pointerEvents="none",c}var Zt=function(){return Zt=Object.assign||function(u){for(var o,i=1,d=arguments.length;i"u")return g1;var u=y1(c),o=document.documentElement.clientWidth,i=window.innerWidth;return{left:u[0],top:u[1],right:u[2],gap:Math.max(0,i-o+u[2]-u[0])}},S1=nh(),Pa="data-scroll-locked",A1=function(c,u,o,i){var d=c.left,m=c.top,x=c.right,h=c.gap;return o===void 0&&(o="margin"),` .`.concat(a1,` { overflow: hidden `).concat(i,`; padding-right: `).concat(h,"px ").concat(i,`; } body[`).concat(Pa,`] { overflow: hidden `).concat(i,`; overscroll-behavior: contain; `).concat([u&&"position: relative ".concat(i,";"),o==="margin"&&` padding-left: `.concat(d,`px; padding-top: `).concat(m,`px; padding-right: `).concat(x,`px; margin-left:0; margin-top:0; margin-right: `).concat(h,"px ").concat(i,`; `),o==="padding"&&"padding-right: ".concat(h,"px ").concat(i,";")].filter(Boolean).join(""),` } .`).concat(Hs,` { right: `).concat(h,"px ").concat(i,`; } .`).concat(Bs,` { margin-right: `).concat(h,"px ").concat(i,`; } .`).concat(Hs," .").concat(Hs,` { right: 0 `).concat(i,`; } .`).concat(Bs," .").concat(Bs,` { margin-right: 0 `).concat(i,`; } body[`).concat(Pa,`] { `).concat(n1,": ").concat(h,`px; } `)},Nm=function(){var c=parseInt(document.body.getAttribute(Pa)||"0",10);return isFinite(c)?c:0},N1=function(){g.useEffect(function(){return document.body.setAttribute(Pa,(Nm()+1).toString()),function(){var c=Nm()-1;c<=0?document.body.removeAttribute(Pa):document.body.setAttribute(Pa,c.toString())}},[])},E1=function(c){var u=c.noRelative,o=c.noImportant,i=c.gapMode,d=i===void 0?"margin":i;N1();var m=g.useMemo(function(){return b1(d)},[d]);return g.createElement(S1,{styles:A1(m,!u,d,o?"":"!important")})},Mo=!1;if(typeof window<"u")try{var Os=Object.defineProperty({},"passive",{get:function(){return Mo=!0,!0}});window.addEventListener("test",Os,Os),window.removeEventListener("test",Os,Os)}catch{Mo=!1}var Wa=Mo?{passive:!1}:!1,j1=function(c){return c.tagName==="TEXTAREA"},ch=function(c,u){if(!(c instanceof Element))return!1;var o=window.getComputedStyle(c);return o[u]!=="hidden"&&!(o.overflowY===o.overflowX&&!j1(c)&&o[u]==="visible")},T1=function(c){return ch(c,"overflowY")},C1=function(c){return ch(c,"overflowX")},Em=function(c,u){var o=u.ownerDocument,i=u;do{typeof ShadowRoot<"u"&&i instanceof ShadowRoot&&(i=i.host);var d=sh(c,i);if(d){var m=ih(c,i),x=m[1],h=m[2];if(x>h)return!0}i=i.parentNode}while(i&&i!==o.body);return!1},_1=function(c){var u=c.scrollTop,o=c.scrollHeight,i=c.clientHeight;return[u,o,i]},z1=function(c){var u=c.scrollLeft,o=c.scrollWidth,i=c.clientWidth;return[u,o,i]},sh=function(c,u){return c==="v"?T1(u):C1(u)},ih=function(c,u){return c==="v"?_1(u):z1(u)},w1=function(c,u){return c==="h"&&u==="rtl"?-1:1},M1=function(c,u,o,i,d){var m=w1(c,window.getComputedStyle(u).direction),x=m*i,h=o.target,b=u.contains(h),v=!1,T=x>0,E=0,R=0;do{if(!h)break;var k=ih(c,h),J=k[0],M=k[1],U=k[2],L=M-U-m*J;(J||L)&&sh(c,h)&&(E+=L,R+=J);var I=h.parentNode;h=I&&I.nodeType===Node.DOCUMENT_FRAGMENT_NODE?I.host:I}while(!b&&h!==document.body||b&&(u.contains(h)||u===h));return(T&&Math.abs(E)<1||!T&&Math.abs(R)<1)&&(v=!0),v},Rs=function(c){return"changedTouches"in c?[c.changedTouches[0].clientX,c.changedTouches[0].clientY]:[0,0]},jm=function(c){return[c.deltaX,c.deltaY]},Tm=function(c){return c&&"current"in c?c.current:c},O1=function(c,u){return c[0]===u[0]&&c[1]===u[1]},R1=function(c){return` .block-interactivity-`.concat(c,` {pointer-events: none;} .allow-interactivity-`).concat(c,` {pointer-events: all;} `)},D1=0,$a=[];function U1(c){var u=g.useRef([]),o=g.useRef([0,0]),i=g.useRef(),d=g.useState(D1++)[0],m=g.useState(nh)[0],x=g.useRef(c);g.useEffect(function(){x.current=c},[c]),g.useEffect(function(){if(c.inert){document.body.classList.add("block-interactivity-".concat(d));var M=l1([c.lockRef.current],(c.shards||[]).map(Tm),!0).filter(Boolean);return M.forEach(function(U){return U.classList.add("allow-interactivity-".concat(d))}),function(){document.body.classList.remove("block-interactivity-".concat(d)),M.forEach(function(U){return U.classList.remove("allow-interactivity-".concat(d))})}}},[c.inert,c.lockRef.current,c.shards]);var h=g.useCallback(function(M,U){if("touches"in M&&M.touches.length===2||M.type==="wheel"&&M.ctrlKey)return!x.current.allowPinchZoom;var L=Rs(M),I=o.current,X="deltaX"in M?M.deltaX:I[0]-L[0],Q="deltaY"in M?M.deltaY:I[1]-L[1],le,ce=M.target,Z=Math.abs(X)>Math.abs(Q)?"h":"v";if("touches"in M&&Z==="h"&&ce.type==="range")return!1;var V=window.getSelection(),xe=V&&V.anchorNode,we=xe?xe===ce||xe.contains(ce):!1;if(we)return!1;var te=Em(Z,ce);if(!te)return!0;if(te?le=Z:(le=Z==="v"?"h":"v",te=Em(Z,ce)),!te)return!1;if(!i.current&&"changedTouches"in M&&(X||Q)&&(i.current=le),!le)return!0;var ge=i.current||le;return M1(ge,U,M,ge==="h"?X:Q)},[]),b=g.useCallback(function(M){var U=M;if(!(!$a.length||$a[$a.length-1]!==m)){var L="deltaY"in U?jm(U):Rs(U),I=u.current.filter(function(le){return le.name===U.type&&(le.target===U.target||U.target===le.shadowParent)&&O1(le.delta,L)})[0];if(I&&I.should){U.cancelable&&U.preventDefault();return}if(!I){var X=(x.current.shards||[]).map(Tm).filter(Boolean).filter(function(le){return le.contains(U.target)}),Q=X.length>0?h(U,X[0]):!x.current.noIsolation;Q&&U.cancelable&&U.preventDefault()}}},[]),v=g.useCallback(function(M,U,L,I){var X={name:M,delta:U,target:L,should:I,shadowParent:H1(L)};u.current.push(X),setTimeout(function(){u.current=u.current.filter(function(Q){return Q!==X})},1)},[]),T=g.useCallback(function(M){o.current=Rs(M),i.current=void 0},[]),E=g.useCallback(function(M){v(M.type,jm(M),M.target,h(M,c.lockRef.current))},[]),R=g.useCallback(function(M){v(M.type,Rs(M),M.target,h(M,c.lockRef.current))},[]);g.useEffect(function(){return $a.push(m),c.setCallbacks({onScrollCapture:E,onWheelCapture:E,onTouchMoveCapture:R}),document.addEventListener("wheel",b,Wa),document.addEventListener("touchmove",b,Wa),document.addEventListener("touchstart",T,Wa),function(){$a=$a.filter(function(M){return M!==m}),document.removeEventListener("wheel",b,Wa),document.removeEventListener("touchmove",b,Wa),document.removeEventListener("touchstart",T,Wa)}},[]);var k=c.removeScrollBar,J=c.inert;return g.createElement(g.Fragment,null,J?g.createElement(m,{styles:R1(d)}):null,k?g.createElement(E1,{noRelative:c.noRelative,gapMode:c.gapMode}):null)}function H1(c){for(var u=null;c!==null;)c instanceof ShadowRoot&&(u=c.host,c=c.host),c=c.parentNode;return u}const B1=f1(ah,U1);var uh=g.forwardRef(function(c,u){return g.createElement(Vs,Zt({},c,{ref:u,sideCar:B1}))});uh.classNames=Vs.classNames;var q1=function(c){if(typeof document>"u")return null;var u=Array.isArray(c)?c[0]:c;return u.ownerDocument.body},Ia=new WeakMap,Ds=new WeakMap,Us={},To=0,oh=function(c){return c&&(c.host||oh(c.parentNode))},Y1=function(c,u){return u.map(function(o){if(c.contains(o))return o;var i=oh(o);return i&&c.contains(i)?i:(console.error("aria-hidden",o,"in not contained inside",c,". Doing nothing"),null)}).filter(function(o){return!!o})},L1=function(c,u,o,i){var d=Y1(u,Array.isArray(c)?c:[c]);Us[o]||(Us[o]=new WeakMap);var m=Us[o],x=[],h=new Set,b=new Set(d),v=function(E){!E||h.has(E)||(h.add(E),v(E.parentNode))};d.forEach(v);var T=function(E){!E||b.has(E)||Array.prototype.forEach.call(E.children,function(R){if(h.has(R))T(R);else try{var k=R.getAttribute(i),J=k!==null&&k!=="false",M=(Ia.get(R)||0)+1,U=(m.get(R)||0)+1;Ia.set(R,M),m.set(R,U),x.push(R),M===1&&J&&Ds.set(R,!0),U===1&&R.setAttribute(o,"true"),J||R.setAttribute(i,"true")}catch(L){console.error("aria-hidden: cannot operate on ",R,L)}})};return T(u),h.clear(),To++,function(){x.forEach(function(E){var R=Ia.get(E)-1,k=m.get(E)-1;Ia.set(E,R),m.set(E,k),R||(Ds.has(E)||E.removeAttribute(i),Ds.delete(E)),k||E.removeAttribute(o)}),To--,To||(Ia=new WeakMap,Ia=new WeakMap,Ds=new WeakMap,Us={})}},G1=function(c,u,o){o===void 0&&(o="data-aria-hidden");var i=Array.from(Array.isArray(c)?c:[c]),d=q1(c);return d?(i.push.apply(i,Array.from(d.querySelectorAll("[aria-live], script"))),L1(i,d,o,"aria-hidden")):function(){return null}};function V1(c){const u=k1(c),o=g.forwardRef((i,d)=>{const{children:m,...x}=i,h=g.Children.toArray(m),b=h.find(Q1);if(b){const v=b.props.children,T=h.map(E=>E===b?g.Children.count(v)>1?g.Children.only(null):g.isValidElement(v)?v.props.children:null:E);return f.jsx(u,{...x,ref:d,children:g.isValidElement(v)?g.cloneElement(v,void 0,T):null})}return f.jsx(u,{...x,ref:d,children:m})});return o.displayName=`${c}.Slot`,o}function k1(c){const u=g.forwardRef((o,i)=>{const{children:d,...m}=o;if(g.isValidElement(d)){const x=K1(d),h=Z1(m,d.props);return d.type!==g.Fragment&&(h.ref=i?cc(i,x):x),g.cloneElement(d,h)}return g.Children.count(d)>1?g.Children.only(null):null});return u.displayName=`${c}.SlotClone`,u}var X1=Symbol("radix.slottable");function Q1(c){return g.isValidElement(c)&&typeof c.type=="function"&&"__radixId"in c.type&&c.type.__radixId===X1}function Z1(c,u){const o={...u};for(const i in u){const d=c[i],m=u[i];/^on[A-Z]/.test(i)?d&&m?o[i]=(...h)=>{const b=m(...h);return d(...h),b}:d&&(o[i]=d):i==="style"?o[i]={...d,...m}:i==="className"&&(o[i]=[d,m].filter(Boolean).join(" "))}return{...c,...o}}function K1(c){let u=Object.getOwnPropertyDescriptor(c.props,"ref")?.get,o=u&&"isReactWarning"in u&&u.isReactWarning;return o?c.ref:(u=Object.getOwnPropertyDescriptor(c,"ref")?.get,o=u&&"isReactWarning"in u&&u.isReactWarning,o?c.props.ref:c.props.ref||c.ref)}var ks="Dialog",[rh]=sc(ks),[J1,Lt]=rh(ks),fh=c=>{const{__scopeDialog:u,children:o,open:i,defaultOpen:d,onOpenChange:m,modal:x=!0}=c,h=g.useRef(null),b=g.useRef(null),[v,T]=Gs({prop:i,defaultProp:d??!1,onChange:m,caller:ks});return f.jsx(J1,{scope:u,triggerRef:h,contentRef:b,contentId:nc(),titleId:nc(),descriptionId:nc(),open:v,onOpenChange:T,onOpenToggle:g.useCallback(()=>T(E=>!E),[T]),modal:x,children:o})};fh.displayName=ks;var dh="DialogTrigger",F1=g.forwardRef((c,u)=>{const{__scopeDialog:o,...i}=c,d=Lt(dh,o),m=it(u,d.triggerRef);return f.jsx(Ze.button,{type:"button","aria-haspopup":"dialog","aria-expanded":d.open,"aria-controls":d.contentId,"data-state":Go(d.open),...i,ref:m,onClick:He(c.onClick,d.onOpenToggle)})});F1.displayName=dh;var Yo="DialogPortal",[W1,ph]=rh(Yo,{forceMount:void 0}),mh=c=>{const{__scopeDialog:u,forceMount:o,children:i,container:d}=c,m=Lt(Yo,u);return f.jsx(W1,{scope:u,forceMount:o,children:g.Children.map(i,x=>f.jsx(ic,{present:o||m.open,children:f.jsx(eh,{asChild:!0,container:d,children:x})}))})};mh.displayName=Yo;var Ls="DialogOverlay",hh=g.forwardRef((c,u)=>{const o=ph(Ls,c.__scopeDialog),{forceMount:i=o.forceMount,...d}=c,m=Lt(Ls,c.__scopeDialog);return m.modal?f.jsx(ic,{present:i||m.open,children:f.jsx(I1,{...d,ref:u})}):null});hh.displayName=Ls;var $1=V1("DialogOverlay.RemoveScroll"),I1=g.forwardRef((c,u)=>{const{__scopeDialog:o,...i}=c,d=Lt(Ls,o);return f.jsx(uh,{as:$1,allowPinchZoom:!0,shards:[d.contentRef],children:f.jsx(Ze.div,{"data-state":Go(d.open),...i,ref:u,style:{pointerEvents:"auto",...i.style}})})}),oa="DialogContent",vh=g.forwardRef((c,u)=>{const o=ph(oa,c.__scopeDialog),{forceMount:i=o.forceMount,...d}=c,m=Lt(oa,c.__scopeDialog);return f.jsx(ic,{present:i||m.open,children:m.modal?f.jsx(P1,{...d,ref:u}):f.jsx(eb,{...d,ref:u})})});vh.displayName=oa;var P1=g.forwardRef((c,u)=>{const o=Lt(oa,c.__scopeDialog),i=g.useRef(null),d=it(u,o.contentRef,i);return g.useEffect(()=>{const m=i.current;if(m)return G1(m)},[]),f.jsx(xh,{...c,ref:d,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:He(c.onCloseAutoFocus,m=>{m.preventDefault(),o.triggerRef.current?.focus()}),onPointerDownOutside:He(c.onPointerDownOutside,m=>{const x=m.detail.originalEvent,h=x.button===0&&x.ctrlKey===!0;(x.button===2||h)&&m.preventDefault()}),onFocusOutside:He(c.onFocusOutside,m=>m.preventDefault())})}),eb=g.forwardRef((c,u)=>{const o=Lt(oa,c.__scopeDialog),i=g.useRef(!1),d=g.useRef(!1);return f.jsx(xh,{...c,ref:u,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:m=>{c.onCloseAutoFocus?.(m),m.defaultPrevented||(i.current||o.triggerRef.current?.focus(),m.preventDefault()),i.current=!1,d.current=!1},onInteractOutside:m=>{c.onInteractOutside?.(m),m.defaultPrevented||(i.current=!0,m.detail.originalEvent.type==="pointerdown"&&(d.current=!0));const x=m.target;o.triggerRef.current?.contains(x)&&m.preventDefault(),m.detail.originalEvent.type==="focusin"&&d.current&&m.preventDefault()}})}),xh=g.forwardRef((c,u)=>{const{__scopeDialog:o,trapFocus:i,onOpenAutoFocus:d,onCloseAutoFocus:m,...x}=c,h=Lt(oa,o),b=g.useRef(null),v=it(u,b);return t1(),f.jsxs(f.Fragment,{children:[f.jsx(Im,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:d,onUnmountAutoFocus:m,children:f.jsx(Wm,{role:"dialog",id:h.contentId,"aria-describedby":h.descriptionId,"aria-labelledby":h.titleId,"data-state":Go(h.open),...x,ref:v,onDismiss:()=>h.onOpenChange(!1)})}),f.jsxs(f.Fragment,{children:[f.jsx(tb,{titleId:h.titleId}),f.jsx(ab,{contentRef:b,descriptionId:h.descriptionId})]})]})}),Lo="DialogTitle",gh=g.forwardRef((c,u)=>{const{__scopeDialog:o,...i}=c,d=Lt(Lo,o);return f.jsx(Ze.h2,{id:d.titleId,...i,ref:u})});gh.displayName=Lo;var yh="DialogDescription",bh=g.forwardRef((c,u)=>{const{__scopeDialog:o,...i}=c,d=Lt(yh,o);return f.jsx(Ze.p,{id:d.descriptionId,...i,ref:u})});bh.displayName=yh;var Sh="DialogClose",Ah=g.forwardRef((c,u)=>{const{__scopeDialog:o,...i}=c,d=Lt(Sh,o);return f.jsx(Ze.button,{type:"button",...i,ref:u,onClick:He(c.onClick,()=>d.onOpenChange(!1))})});Ah.displayName=Sh;function Go(c){return c?"open":"closed"}var Nh="DialogTitleWarning",[d2,Eh]=by(Nh,{contentName:oa,titleName:Lo,docsSlug:"dialog"}),tb=({titleId:c})=>{const u=Eh(Nh),o=`\`${u.contentName}\` requires a \`${u.titleName}\` for the component to be accessible for screen reader users. If you want to hide the \`${u.titleName}\`, you can wrap it with our VisuallyHidden component. For more information, see https://radix-ui.com/primitives/docs/components/${u.docsSlug}`;return g.useEffect(()=>{c&&(document.getElementById(c)||console.error(o))},[o,c]),null},lb="DialogDescriptionWarning",ab=({contentRef:c,descriptionId:u})=>{const i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Eh(lb).contentName}}.`;return g.useEffect(()=>{const d=c.current?.getAttribute("aria-describedby");u&&d&&(document.getElementById(u)||console.warn(i))},[i,c,u]),null},nb=fh,cb=mh,sb=hh,ib=vh,ub=gh,ob=bh,rb=Ah;function fb({...c}){return f.jsx(nb,{"code-path":"src/components/ui/dialog.tsx:10:10","data-slot":"dialog",...c})}function db({...c}){return f.jsx(cb,{"code-path":"src/components/ui/dialog.tsx:22:10","data-slot":"dialog-portal",...c})}function pb({className:c,...u}){return f.jsx(sb,{"code-path":"src/components/ui/dialog.tsx:36:5","data-slot":"dialog-overlay",className:ct("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",c),...u})}function mb({className:c,children:u,showCloseButton:o=!0,...i}){return f.jsxs(db,{"code-path":"src/components/ui/dialog.tsx:56:5","data-slot":"dialog-portal",children:[f.jsx(pb,{"code-path":"src/components/ui/dialog.tsx:57:7"}),f.jsxs(ib,{"code-path":"src/components/ui/dialog.tsx:58:7","data-slot":"dialog-content",className:ct("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 outline-none sm:max-w-lg",c),...i,children:[u,o&&f.jsxs(rb,{"code-path":"src/components/ui/dialog.tsx:68:11","data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[f.jsx(_o,{"code-path":"src/components/ui/dialog.tsx:72:13"}),f.jsx("span",{"code-path":"src/components/ui/dialog.tsx:73:13",className:"sr-only",children:"Close"})]})]})]})}function hb({className:c,...u}){return f.jsx("div",{"code-path":"src/components/ui/dialog.tsx:83:5","data-slot":"dialog-header",className:ct("flex flex-col gap-2 text-center sm:text-left",c),...u})}function vb({className:c,...u}){return f.jsx(ub,{"code-path":"src/components/ui/dialog.tsx:109:5","data-slot":"dialog-title",className:ct("text-lg leading-none font-semibold",c),...u})}function xb({className:c,...u}){return f.jsx(ob,{"code-path":"src/components/ui/dialog.tsx:122:5","data-slot":"dialog-description",className:ct("text-muted-foreground text-sm",c),...u})}function jh(c,[u,o]){return Math.min(o,Math.max(u,c))}var gb=g.createContext(void 0);function Vo(c){const u=g.useContext(gb);return c||u||"ltr"}function yb(c){const u=g.useRef({value:c,previous:c});return g.useMemo(()=>(u.current.value!==c&&(u.current.previous=u.current.value,u.current.value=c),u.current.previous),[c])}function bb(c){const[u,o]=g.useState(void 0);return en(()=>{if(c){o({width:c.offsetWidth,height:c.offsetHeight});const i=new ResizeObserver(d=>{if(!Array.isArray(d)||!d.length)return;const m=d[0];let x,h;if("borderBoxSize"in m){const b=m.borderBoxSize,v=Array.isArray(b)?b[0]:b;x=v.inlineSize,h=v.blockSize}else x=c.offsetWidth,h=c.offsetHeight;o({width:x,height:h})});return i.observe(c,{box:"border-box"}),()=>i.unobserve(c)}else o(void 0)},[c]),u}function Cm(c){const u=Sb(c),o=g.forwardRef((i,d)=>{const{children:m,...x}=i,h=g.Children.toArray(m),b=h.find(Nb);if(b){const v=b.props.children,T=h.map(E=>E===b?g.Children.count(v)>1?g.Children.only(null):g.isValidElement(v)?v.props.children:null:E);return f.jsx(u,{...x,ref:d,children:g.isValidElement(v)?g.cloneElement(v,void 0,T):null})}return f.jsx(u,{...x,ref:d,children:m})});return o.displayName=`${c}.Slot`,o}function Sb(c){const u=g.forwardRef((o,i)=>{const{children:d,...m}=o;if(g.isValidElement(d)){const x=jb(d),h=Eb(m,d.props);return d.type!==g.Fragment&&(h.ref=i?cc(i,x):x),g.cloneElement(d,h)}return g.Children.count(d)>1?g.Children.only(null):null});return u.displayName=`${c}.SlotClone`,u}var Ab=Symbol("radix.slottable");function Nb(c){return g.isValidElement(c)&&typeof c.type=="function"&&"__radixId"in c.type&&c.type.__radixId===Ab}function Eb(c,u){const o={...u};for(const i in u){const d=c[i],m=u[i];/^on[A-Z]/.test(i)?d&&m?o[i]=(...h)=>{const b=m(...h);return d(...h),b}:d&&(o[i]=d):i==="style"?o[i]={...d,...m}:i==="className"&&(o[i]=[d,m].filter(Boolean).join(" "))}return{...c,...o}}function jb(c){let u=Object.getOwnPropertyDescriptor(c.props,"ref")?.get,o=u&&"isReactWarning"in u&&u.isReactWarning;return o?c.ref:(u=Object.getOwnPropertyDescriptor(c,"ref")?.get,o=u&&"isReactWarning"in u&&u.isReactWarning,o?c.props.ref:c.props.ref||c.ref)}function Th(c){const u=c+"CollectionProvider",[o,i]=sc(u),[d,m]=o(u,{collectionRef:{current:null},itemMap:new Map}),x=M=>{const{scope:U,children:L}=M,I=Ll.useRef(null),X=Ll.useRef(new Map).current;return f.jsx(d,{scope:U,itemMap:X,collectionRef:I,children:L})};x.displayName=u;const h=c+"CollectionSlot",b=Cm(h),v=Ll.forwardRef((M,U)=>{const{scope:L,children:I}=M,X=m(h,L),Q=it(U,X.collectionRef);return f.jsx(b,{ref:Q,children:I})});v.displayName=h;const T=c+"CollectionItemSlot",E="data-radix-collection-item",R=Cm(T),k=Ll.forwardRef((M,U)=>{const{scope:L,children:I,...X}=M,Q=Ll.useRef(null),le=it(U,Q),ce=m(T,L);return Ll.useEffect(()=>(ce.itemMap.set(Q,{ref:Q,...X}),()=>{ce.itemMap.delete(Q)})),f.jsx(R,{[E]:"",ref:le,children:I})});k.displayName=T;function J(M){const U=m(c+"CollectionConsumer",M);return Ll.useCallback(()=>{const I=U.collectionRef.current;if(!I)return[];const X=Array.from(I.querySelectorAll(`[${E}]`));return Array.from(U.itemMap.values()).sort((ce,Z)=>X.indexOf(ce.ref.current)-X.indexOf(Z.ref.current))},[U.collectionRef,U.itemMap])}return[{Provider:x,Slot:v,ItemSlot:k},J,i]}var Ch=["PageUp","PageDown"],_h=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],zh={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},nn="Slider",[Oo,Tb,Cb]=Th(nn),[wh]=sc(nn,[Cb]),[_b,Xs]=wh(nn),Mh=g.forwardRef((c,u)=>{const{name:o,min:i=0,max:d=100,step:m=1,orientation:x="horizontal",disabled:h=!1,minStepsBetweenThumbs:b=0,defaultValue:v=[i],value:T,onValueChange:E=()=>{},onValueCommit:R=()=>{},inverted:k=!1,form:J,...M}=c,U=g.useRef(new Set),L=g.useRef(0),X=x==="horizontal"?zb:wb,[Q=[],le]=Gs({prop:T,defaultProp:v,onChange:te=>{[...U.current][L.current]?.focus(),E(te)}}),ce=g.useRef(Q);function Z(te){const ge=Ub(Q,te);we(te,ge)}function V(te){we(te,L.current)}function xe(){const te=ce.current[L.current];Q[L.current]!==te&&R(Q)}function we(te,ge,{commit:We}={commit:!1}){const Ke=Yb(m),Me=Lb(Math.round((te-i)/m)*m+i,Ke),N=jh(Me,[i,d]);le((q=[])=>{const Y=Rb(q,N,ge);if(qb(Y,b*m)){L.current=Y.indexOf(N);const ye=String(Y)!==String(q);return ye&&We&&R(Y),ye?Y:q}else return q})}return f.jsx(_b,{scope:c.__scopeSlider,name:o,disabled:h,min:i,max:d,valueIndexToChangeRef:L,thumbs:U.current,values:Q,orientation:x,form:J,children:f.jsx(Oo.Provider,{scope:c.__scopeSlider,children:f.jsx(Oo.Slot,{scope:c.__scopeSlider,children:f.jsx(X,{"aria-disabled":h,"data-disabled":h?"":void 0,...M,ref:u,onPointerDown:He(M.onPointerDown,()=>{h||(ce.current=Q)}),min:i,max:d,inverted:k,onSlideStart:h?void 0:Z,onSlideMove:h?void 0:V,onSlideEnd:h?void 0:xe,onHomeKeyDown:()=>!h&&we(i,0,{commit:!0}),onEndKeyDown:()=>!h&&we(d,Q.length-1,{commit:!0}),onStepKeyDown:({event:te,direction:ge})=>{if(!h){const Me=Ch.includes(te.key)||te.shiftKey&&_h.includes(te.key)?10:1,N=L.current,q=Q[N],Y=m*Me*ge;we(q+Y,N,{commit:!0})}}})})})})});Mh.displayName=nn;var[Oh,Rh]=wh(nn,{startEdge:"left",endEdge:"right",size:"width",direction:1}),zb=g.forwardRef((c,u)=>{const{min:o,max:i,dir:d,inverted:m,onSlideStart:x,onSlideMove:h,onSlideEnd:b,onStepKeyDown:v,...T}=c,[E,R]=g.useState(null),k=it(u,X=>R(X)),J=g.useRef(void 0),M=Vo(d),U=M==="ltr",L=U&&!m||!U&&m;function I(X){const Q=J.current||E.getBoundingClientRect(),le=[0,Q.width],Z=ko(le,L?[o,i]:[i,o]);return J.current=Q,Z(X-Q.left)}return f.jsx(Oh,{scope:c.__scopeSlider,startEdge:L?"left":"right",endEdge:L?"right":"left",direction:L?1:-1,size:"width",children:f.jsx(Dh,{dir:M,"data-orientation":"horizontal",...T,ref:k,style:{...T.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:X=>{const Q=I(X.clientX);x?.(Q)},onSlideMove:X=>{const Q=I(X.clientX);h?.(Q)},onSlideEnd:()=>{J.current=void 0,b?.()},onStepKeyDown:X=>{const le=zh[L?"from-left":"from-right"].includes(X.key);v?.({event:X,direction:le?-1:1})}})})}),wb=g.forwardRef((c,u)=>{const{min:o,max:i,inverted:d,onSlideStart:m,onSlideMove:x,onSlideEnd:h,onStepKeyDown:b,...v}=c,T=g.useRef(null),E=it(u,T),R=g.useRef(void 0),k=!d;function J(M){const U=R.current||T.current.getBoundingClientRect(),L=[0,U.height],X=ko(L,k?[i,o]:[o,i]);return R.current=U,X(M-U.top)}return f.jsx(Oh,{scope:c.__scopeSlider,startEdge:k?"bottom":"top",endEdge:k?"top":"bottom",size:"height",direction:k?1:-1,children:f.jsx(Dh,{"data-orientation":"vertical",...v,ref:E,style:{...v.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:M=>{const U=J(M.clientY);m?.(U)},onSlideMove:M=>{const U=J(M.clientY);x?.(U)},onSlideEnd:()=>{R.current=void 0,h?.()},onStepKeyDown:M=>{const L=zh[k?"from-bottom":"from-top"].includes(M.key);b?.({event:M,direction:L?-1:1})}})})}),Dh=g.forwardRef((c,u)=>{const{__scopeSlider:o,onSlideStart:i,onSlideMove:d,onSlideEnd:m,onHomeKeyDown:x,onEndKeyDown:h,onStepKeyDown:b,...v}=c,T=Xs(nn,o);return f.jsx(Ze.span,{...v,ref:u,onKeyDown:He(c.onKeyDown,E=>{E.key==="Home"?(x(E),E.preventDefault()):E.key==="End"?(h(E),E.preventDefault()):Ch.concat(_h).includes(E.key)&&(b(E),E.preventDefault())}),onPointerDown:He(c.onPointerDown,E=>{const R=E.target;R.setPointerCapture(E.pointerId),E.preventDefault(),T.thumbs.has(R)?R.focus():i(E)}),onPointerMove:He(c.onPointerMove,E=>{E.target.hasPointerCapture(E.pointerId)&&d(E)}),onPointerUp:He(c.onPointerUp,E=>{const R=E.target;R.hasPointerCapture(E.pointerId)&&(R.releasePointerCapture(E.pointerId),m(E))})})}),Uh="SliderTrack",Hh=g.forwardRef((c,u)=>{const{__scopeSlider:o,...i}=c,d=Xs(Uh,o);return f.jsx(Ze.span,{"data-disabled":d.disabled?"":void 0,"data-orientation":d.orientation,...i,ref:u})});Hh.displayName=Uh;var Ro="SliderRange",Bh=g.forwardRef((c,u)=>{const{__scopeSlider:o,...i}=c,d=Xs(Ro,o),m=Rh(Ro,o),x=g.useRef(null),h=it(u,x),b=d.values.length,v=d.values.map(R=>Lh(R,d.min,d.max)),T=b>1?Math.min(...v):0,E=100-Math.max(...v);return f.jsx(Ze.span,{"data-orientation":d.orientation,"data-disabled":d.disabled?"":void 0,...i,ref:h,style:{...c.style,[m.startEdge]:T+"%",[m.endEdge]:E+"%"}})});Bh.displayName=Ro;var Do="SliderThumb",qh=g.forwardRef((c,u)=>{const o=Tb(c.__scopeSlider),[i,d]=g.useState(null),m=it(u,h=>d(h)),x=g.useMemo(()=>i?o().findIndex(h=>h.ref.current===i):-1,[o,i]);return f.jsx(Mb,{...c,ref:m,index:x})}),Mb=g.forwardRef((c,u)=>{const{__scopeSlider:o,index:i,name:d,...m}=c,x=Xs(Do,o),h=Rh(Do,o),[b,v]=g.useState(null),T=it(u,I=>v(I)),E=b?x.form||!!b.closest("form"):!0,R=bb(b),k=x.values[i],J=k===void 0?0:Lh(k,x.min,x.max),M=Db(i,x.values.length),U=R?.[h.size],L=U?Hb(U,J,h.direction):0;return g.useEffect(()=>{if(b)return x.thumbs.add(b),()=>{x.thumbs.delete(b)}},[b,x.thumbs]),f.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[h.startEdge]:`calc(${J}% + ${L}px)`},children:[f.jsx(Oo.ItemSlot,{scope:c.__scopeSlider,children:f.jsx(Ze.span,{role:"slider","aria-label":c["aria-label"]||M,"aria-valuemin":x.min,"aria-valuenow":k,"aria-valuemax":x.max,"aria-orientation":x.orientation,"data-orientation":x.orientation,"data-disabled":x.disabled?"":void 0,tabIndex:x.disabled?void 0:0,...m,ref:T,style:k===void 0?{display:"none"}:c.style,onFocus:He(c.onFocus,()=>{x.valueIndexToChangeRef.current=i})})}),E&&f.jsx(Yh,{name:d??(x.name?x.name+(x.values.length>1?"[]":""):void 0),form:x.form,value:k},i)]})});qh.displayName=Do;var Ob="RadioBubbleInput",Yh=g.forwardRef(({__scopeSlider:c,value:u,...o},i)=>{const d=g.useRef(null),m=it(d,i),x=yb(u);return g.useEffect(()=>{const h=d.current;if(!h)return;const b=window.HTMLInputElement.prototype,T=Object.getOwnPropertyDescriptor(b,"value").set;if(x!==u&&T){const E=new Event("input",{bubbles:!0});T.call(h,u),h.dispatchEvent(E)}},[x,u]),f.jsx(Ze.input,{style:{display:"none"},...o,ref:m,defaultValue:u})});Yh.displayName=Ob;function Rb(c=[],u,o){const i=[...c];return i[o]=u,i.sort((d,m)=>d-m)}function Lh(c,u,o){const m=100/(o-u)*(c-u);return jh(m,[0,100])}function Db(c,u){return u>2?`Value ${c+1} of ${u}`:u===2?["Minimum","Maximum"][c]:void 0}function Ub(c,u){if(c.length===1)return 0;const o=c.map(d=>Math.abs(d-u)),i=Math.min(...o);return o.indexOf(i)}function Hb(c,u,o){const i=c/2,m=ko([0,50],[0,i]);return(i-m(u)*o)*o}function Bb(c){return c.slice(0,-1).map((u,o)=>c[o+1]-u)}function qb(c,u){if(u>0){const o=Bb(c);return Math.min(...o)>=u}return!0}function ko(c,u){return o=>{if(c[0]===c[1]||u[0]===u[1])return u[0];const i=(u[1]-u[0])/(c[1]-c[0]);return u[0]+i*(o-c[0])}}function Yb(c){return(String(c).split(".")[1]||"").length}function Lb(c,u){const o=Math.pow(10,u);return Math.round(c*o)/o}var Gb=Mh,Vb=Hh,kb=Bh,Xb=qh;function tc({className:c,defaultValue:u,value:o,min:i=0,max:d=100,...m}){const x=g.useMemo(()=>Array.isArray(o)?o:Array.isArray(u)?u:[i,d],[o,u,i,d]);return f.jsxs(Gb,{"code-path":"src/components/ui/slider.tsx:27:5","data-slot":"slider",defaultValue:u,value:o,min:i,max:d,className:ct("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",c),...m,children:[f.jsx(Vb,{"code-path":"src/components/ui/slider.tsx:39:7","data-slot":"slider-track",className:ct("bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"),children:f.jsx(kb,{"code-path":"src/components/ui/slider.tsx:45:9","data-slot":"slider-range",className:ct("bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full")})}),Array.from({length:x.length},(h,b)=>f.jsx(Xb,{"code-path":"src/components/ui/slider.tsx:53:9","data-slot":"slider-thumb",className:"border-primary ring-ring/50 block size-4 shrink-0 rounded-full border bg-white shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"},b))]})}var Co="rovingFocusGroup.onEntryFocus",Qb={bubbles:!1,cancelable:!0},uc="RovingFocusGroup",[Uo,Gh,Zb]=Th(uc),[Kb,Vh]=sc(uc,[Zb]),[Jb,Fb]=Kb(uc),kh=g.forwardRef((c,u)=>f.jsx(Uo.Provider,{scope:c.__scopeRovingFocusGroup,children:f.jsx(Uo.Slot,{scope:c.__scopeRovingFocusGroup,children:f.jsx(Wb,{...c,ref:u})})}));kh.displayName=uc;var Wb=g.forwardRef((c,u)=>{const{__scopeRovingFocusGroup:o,orientation:i,loop:d=!1,dir:m,currentTabStopId:x,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:b,onEntryFocus:v,preventScrollOnEntryFocus:T=!1,...E}=c,R=g.useRef(null),k=it(u,R),J=Vo(m),[M,U]=Gs({prop:x,defaultProp:h??null,onChange:b,caller:uc}),[L,I]=g.useState(!1),X=tn(v),Q=Gh(o),le=g.useRef(!1),[ce,Z]=g.useState(0);return g.useEffect(()=>{const V=R.current;if(V)return V.addEventListener(Co,X),()=>V.removeEventListener(Co,X)},[X]),f.jsx(Jb,{scope:o,orientation:i,dir:J,loop:d,currentTabStopId:M,onItemFocus:g.useCallback(V=>U(V),[U]),onItemShiftTab:g.useCallback(()=>I(!0),[]),onFocusableItemAdd:g.useCallback(()=>Z(V=>V+1),[]),onFocusableItemRemove:g.useCallback(()=>Z(V=>V-1),[]),children:f.jsx(Ze.div,{tabIndex:L||ce===0?-1:0,"data-orientation":i,...E,ref:k,style:{outline:"none",...c.style},onMouseDown:He(c.onMouseDown,()=>{le.current=!0}),onFocus:He(c.onFocus,V=>{const xe=!le.current;if(V.target===V.currentTarget&&xe&&!L){const we=new CustomEvent(Co,Qb);if(V.currentTarget.dispatchEvent(we),!we.defaultPrevented){const te=Q().filter(N=>N.focusable),ge=te.find(N=>N.active),We=te.find(N=>N.id===M),Me=[ge,We,...te].filter(Boolean).map(N=>N.ref.current);Zh(Me,T)}}le.current=!1}),onBlur:He(c.onBlur,()=>I(!1))})})}),Xh="RovingFocusGroupItem",Qh=g.forwardRef((c,u)=>{const{__scopeRovingFocusGroup:o,focusable:i=!0,active:d=!1,tabStopId:m,children:x,...h}=c,b=nc(),v=m||b,T=Fb(Xh,o),E=T.currentTabStopId===v,R=Gh(o),{onFocusableItemAdd:k,onFocusableItemRemove:J,currentTabStopId:M}=T;return g.useEffect(()=>{if(i)return k(),()=>J()},[i,k,J]),f.jsx(Uo.ItemSlot,{scope:o,id:v,focusable:i,active:d,children:f.jsx(Ze.span,{tabIndex:E?0:-1,"data-orientation":T.orientation,...h,ref:u,onMouseDown:He(c.onMouseDown,U=>{i?T.onItemFocus(v):U.preventDefault()}),onFocus:He(c.onFocus,()=>T.onItemFocus(v)),onKeyDown:He(c.onKeyDown,U=>{if(U.key==="Tab"&&U.shiftKey){T.onItemShiftTab();return}if(U.target!==U.currentTarget)return;const L=Pb(U,T.orientation,T.dir);if(L!==void 0){if(U.metaKey||U.ctrlKey||U.altKey||U.shiftKey)return;U.preventDefault();let X=R().filter(Q=>Q.focusable).map(Q=>Q.ref.current);if(L==="last")X.reverse();else if(L==="prev"||L==="next"){L==="prev"&&X.reverse();const Q=X.indexOf(U.currentTarget);X=T.loop?e2(X,Q+1):X.slice(Q+1)}setTimeout(()=>Zh(X))}}),children:typeof x=="function"?x({isCurrentTabStop:E,hasTabStop:M!=null}):x})})});Qh.displayName=Xh;var $b={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Ib(c,u){return u!=="rtl"?c:c==="ArrowLeft"?"ArrowRight":c==="ArrowRight"?"ArrowLeft":c}function Pb(c,u,o){const i=Ib(c.key,o);if(!(u==="vertical"&&["ArrowLeft","ArrowRight"].includes(i))&&!(u==="horizontal"&&["ArrowUp","ArrowDown"].includes(i)))return $b[i]}function Zh(c,u=!1){const o=document.activeElement;for(const i of c)if(i===o||(i.focus({preventScroll:u}),document.activeElement!==o))return}function e2(c,u){return c.map((o,i)=>c[(u+i)%c.length])}var t2=kh,l2=Qh,Qs="Tabs",[a2]=sc(Qs,[Vh]),Kh=Vh(),[n2,Xo]=a2(Qs),Jh=g.forwardRef((c,u)=>{const{__scopeTabs:o,value:i,onValueChange:d,defaultValue:m,orientation:x="horizontal",dir:h,activationMode:b="automatic",...v}=c,T=Vo(h),[E,R]=Gs({prop:i,onChange:d,defaultProp:m??"",caller:Qs});return f.jsx(n2,{scope:o,baseId:nc(),value:E,onValueChange:R,orientation:x,dir:T,activationMode:b,children:f.jsx(Ze.div,{dir:T,"data-orientation":x,...v,ref:u})})});Jh.displayName=Qs;var Fh="TabsList",Wh=g.forwardRef((c,u)=>{const{__scopeTabs:o,loop:i=!0,...d}=c,m=Xo(Fh,o),x=Kh(o);return f.jsx(t2,{asChild:!0,...x,orientation:m.orientation,dir:m.dir,loop:i,children:f.jsx(Ze.div,{role:"tablist","aria-orientation":m.orientation,...d,ref:u})})});Wh.displayName=Fh;var $h="TabsTrigger",Ih=g.forwardRef((c,u)=>{const{__scopeTabs:o,value:i,disabled:d=!1,...m}=c,x=Xo($h,o),h=Kh(o),b=tv(x.baseId,i),v=lv(x.baseId,i),T=i===x.value;return f.jsx(l2,{asChild:!0,...h,focusable:!d,active:T,children:f.jsx(Ze.button,{type:"button",role:"tab","aria-selected":T,"aria-controls":v,"data-state":T?"active":"inactive","data-disabled":d?"":void 0,disabled:d,id:b,...m,ref:u,onMouseDown:He(c.onMouseDown,E=>{!d&&E.button===0&&E.ctrlKey===!1?x.onValueChange(i):E.preventDefault()}),onKeyDown:He(c.onKeyDown,E=>{[" ","Enter"].includes(E.key)&&x.onValueChange(i)}),onFocus:He(c.onFocus,()=>{const E=x.activationMode!=="manual";!T&&!d&&E&&x.onValueChange(i)})})})});Ih.displayName=$h;var Ph="TabsContent",ev=g.forwardRef((c,u)=>{const{__scopeTabs:o,value:i,forceMount:d,children:m,...x}=c,h=Xo(Ph,o),b=tv(h.baseId,i),v=lv(h.baseId,i),T=i===h.value,E=g.useRef(T);return g.useEffect(()=>{const R=requestAnimationFrame(()=>E.current=!1);return()=>cancelAnimationFrame(R)},[]),f.jsx(ic,{present:d||T,children:({present:R})=>f.jsx(Ze.div,{"data-state":T?"active":"inactive","data-orientation":h.orientation,role:"tabpanel","aria-labelledby":b,hidden:!R,id:v,tabIndex:0,...x,ref:u,style:{...c.style,animationDuration:E.current?"0s":void 0},children:R&&m})})});ev.displayName=Ph;function tv(c,u){return`${c}-trigger-${u}`}function lv(c,u){return`${c}-content-${u}`}var c2=Jh,s2=Wh,i2=Ih,u2=ev;function o2({className:c,...u}){return f.jsx(c2,{"code-path":"src/components/ui/tabs.tsx:13:5","data-slot":"tabs",className:ct("flex flex-col gap-2",c),...u})}function r2({className:c,...u}){return f.jsx(s2,{"code-path":"src/components/ui/tabs.tsx:26:5","data-slot":"tabs-list",className:ct("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",c),...u})}function lc({className:c,...u}){return f.jsx(i2,{"code-path":"src/components/ui/tabs.tsx:42:5","data-slot":"tabs-trigger",className:ct("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",c),...u})}function ac({className:c,...u}){return f.jsx(u2,{"code-path":"src/components/ui/tabs.tsx:58:5","data-slot":"tabs-content",className:ct("flex-1 outline-none",c),...u})}function f2(){const[c,u]=g.useState(!1),[o,i]=g.useState(!1),[d,m]=g.useState(""),[x,h]=g.useState(!1),[b,v]=g.useState(null),[T,E]=g.useState(6),[R,k]=g.useState(45),[J,M]=g.useState(65),[U,L]=g.useState(8e3),[I,X]=g.useState(75e3),Q=T*I,ce=T*R*12*(J/100)*30,Z=U+T*1500,V=ce-Z,xe=V*12,we=Q/xe;g.useEffect(()=>{const N=()=>{u(window.scrollY>50)};return window.addEventListener("scroll",N,{passive:!0}),()=>window.removeEventListener("scroll",N)},[]);const te=N=>{const q=document.getElementById(N);q&&(q.scrollIntoView({behavior:"smooth"}),i(!1))},ge=N=>{N.preventDefault(),d&&(h(!0),m(""))},We=[{icon:f.jsx(vo,{"code-path":"src/App.tsx:83:13",className:"w-6 h-6"}),title:"60+ Variables",description:"Every assumption adjustable. Court costs, rent, pricing, utilization, financing terms. Nothing is hard-coded."},{icon:f.jsx(xo,{"code-path":"src/App.tsx:88:13",className:"w-6 h-6"}),title:"6 Analysis Tabs",description:"Assumptions, CAPEX, Operating Model, Cash Flow, Returns & Exit, and Key Metrics with interactive charts."},{icon:f.jsx(vg,{"code-path":"src/App.tsx:93:13",className:"w-6 h-6"}),title:"Sensitivity Analysis",description:"See how returns change with different utilization rates and pricing. Find your break-even instantly."},{icon:f.jsx(Ts,{"code-path":"src/App.tsx:98:13",className:"w-6 h-6"}),title:"Professional Metrics",description:"IRR, MOIC, DSCR, cash-on-cash yield, RevPAH. The metrics banks and investors want to see."},{icon:f.jsx(Qx,{"code-path":"src/App.tsx:103:13",className:"w-6 h-6"}),title:"Indoor & Outdoor",description:"Model indoor halls (rent or build) and outdoor courts with seasonality. Compare scenarios side by side."},{icon:f.jsx(Fx,{"code-path":"src/App.tsx:108:13",className:"w-6 h-6"}),title:"Save & Compare",description:"Save unlimited scenarios. Test different locations, court counts, financing structures. Find the optimal plan."}],Ke=[{icon:f.jsx(sg,{"code-path":"src/App.tsx:116:13",className:"w-8 h-8"}),title:"First-Time Operators",description:"Opening your first padel hall? Our planner guides you through every financial decision with industry benchmarks and best practices.",cta:"Get Started Free",href:"#try-calculator"},{icon:f.jsx(kx,{"code-path":"src/App.tsx:123:13",className:"w-8 h-8"}),title:"Real Estate Developers",description:"Evaluating padel as a tenant or mixed-use addition? Get professional-grade projections to present to investors and lenders.",cta:"Get Started Free",href:"#try-calculator"},{icon:f.jsx(Ts,{"code-path":"src/App.tsx:130:13",className:"w-8 h-8"}),title:"Existing Hall Owners",description:"Looking to expand or optimize? Compare your performance against market benchmarks and model expansion scenarios.",cta:"Get Started Free",href:"#try-calculator"},{icon:f.jsx(sm,{"code-path":"src/App.tsx:137:13",className:"w-8 h-8"}),title:"Investors & Lenders",description:"Evaluating a padel investment opportunity? Get bank-ready outputs with the metrics you need for due diligence.",cta:"Get Started Free",href:"#dashboard-preview"}],Me=[{question:"Why is the planner free?",answer:"The planner is free because we believe better planning leads to better padel venues. We connect serious entrepreneurs with verified court builders and financing partners when they're ready to move from planning to execution."},{question:"How do builder quotes work?",answer:"Once you've created a plan, you can request quotes from verified court builders in our network. You get competitive quotes from pre-qualified builders who specialize in padel courts."},{question:"How accurate is the data?",answer:"Our models are built on real market data from thousands of padel facilities across Europe. We aggregate booking data, pricing information, and occupancy patterns to give you benchmarks that reflect actual market conditions."},{question:"Can I use this for investors or banks?",answer:"Absolutely. Our planner generates professional-grade business plans with the metrics investors and banks expect: IRR, MOIC, DSCR, cash-on-cash yield, and detailed 10-year projections. Many users have successfully used our outputs to secure financing."},{question:"What countries do you support?",answer:"Our planner works for any market, with customizable inputs for local costs, currencies, and market conditions. Our builder network and market intelligence currently covers major European markets with expansion planned."}];return f.jsxs("div",{"code-path":"src/App.tsx:169:5",className:"min-h-screen bg-white",children:[f.jsxs("nav",{"code-path":"src/App.tsx:171:7",className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${c?"glass border-b border-slate-200/50":"bg-transparent"}`,children:[f.jsx("div",{"code-path":"src/App.tsx:172:9",className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:f.jsxs("div",{"code-path":"src/App.tsx:173:11",className:"flex items-center justify-between h-16",children:[f.jsxs("div",{"code-path":"src/App.tsx:174:13",className:"flex items-center gap-2",children:[f.jsx("div",{"code-path":"src/App.tsx:175:15",className:"w-8 h-8 rounded-lg bg-gradient-to-br from-blue-600 to-cyan-500 flex items-center justify-center",children:f.jsx(xo,{"code-path":"src/App.tsx:176:17",className:"w-5 h-5 text-white"})}),f.jsx("span",{"code-path":"src/App.tsx:178:15",className:"text-xl font-bold text-slate-900",children:"Padelnomics"})]}),f.jsxs("div",{"code-path":"src/App.tsx:181:13",className:"hidden md:flex items-center gap-8",children:[f.jsx("button",{"code-path":"src/App.tsx:182:15",onClick:()=>te("try-calculator"),className:"text-sm font-medium text-slate-600 hover:text-slate-900 transition-colors",children:"Try Calculator"}),f.jsx("button",{"code-path":"src/App.tsx:183:15",onClick:()=>te("features"),className:"text-sm font-medium text-slate-600 hover:text-slate-900 transition-colors",children:"Features"}),f.jsx("button",{"code-path":"src/App.tsx:184:15",onClick:()=>te("for-you"),className:"text-sm font-medium text-slate-600 hover:text-slate-900 transition-colors",children:"For You"}),f.jsx("button",{"code-path":"src/App.tsx:185:15",onClick:()=>te("faq"),className:"text-sm font-medium text-slate-600 hover:text-slate-900 transition-colors",children:"FAQ"})]}),f.jsxs("div",{"code-path":"src/App.tsx:188:13",className:"hidden md:flex items-center gap-3",children:[f.jsx(Yt,{"code-path":"src/App.tsx:189:15",variant:"ghost",className:"text-sm",children:"Sign In"}),f.jsx(Yt,{"code-path":"src/App.tsx:190:15",className:"bg-slate-900 hover:bg-slate-800 text-white text-sm",children:"Get Started Free"})]}),f.jsx("button",{"code-path":"src/App.tsx:193:13",className:"md:hidden p-2",onClick:()=>i(!o),children:o?f.jsx(_o,{"code-path":"src/App.tsx:197:33",className:"w-6 h-6"}):f.jsx(rg,{"code-path":"src/App.tsx:197:61",className:"w-6 h-6"})})]})}),o&&f.jsx("div",{"code-path":"src/App.tsx:204:11",className:"md:hidden glass border-t border-slate-200/50",children:f.jsxs("div",{"code-path":"src/App.tsx:205:13",className:"px-4 py-4 space-y-3",children:[f.jsx("button",{"code-path":"src/App.tsx:206:15",onClick:()=>te("try-calculator"),className:"block w-full text-left py-2 text-slate-600",children:"Try Calculator"}),f.jsx("button",{"code-path":"src/App.tsx:207:15",onClick:()=>te("features"),className:"block w-full text-left py-2 text-slate-600",children:"Features"}),f.jsx("button",{"code-path":"src/App.tsx:208:15",onClick:()=>te("for-you"),className:"block w-full text-left py-2 text-slate-600",children:"For You"}),f.jsx("button",{"code-path":"src/App.tsx:209:15",onClick:()=>te("faq"),className:"block w-full text-left py-2 text-slate-600",children:"FAQ"}),f.jsxs("div",{"code-path":"src/App.tsx:210:15",className:"pt-3 border-t border-slate-200/50 space-y-2",children:[f.jsx(Yt,{"code-path":"src/App.tsx:211:17",variant:"outline",className:"w-full",children:"Sign In"}),f.jsx(Yt,{"code-path":"src/App.tsx:212:17",className:"w-full bg-slate-900",children:"Get Started Free"})]})]})})]}),f.jsxs("section",{"code-path":"src/App.tsx:220:7",className:"relative pt-32 pb-20 lg:pt-40 lg:pb-32 overflow-hidden",children:[f.jsx("div",{"code-path":"src/App.tsx:222:9",className:"absolute inset-0 bg-gradient-to-br from-slate-50 via-blue-50/30 to-cyan-50/20"}),f.jsx("div",{"code-path":"src/App.tsx:225:9",className:"absolute top-20 right-10 w-72 h-72 bg-blue-400/10 rounded-full blur-3xl animate-pulse-glow"}),f.jsx("div",{"code-path":"src/App.tsx:226:9",className:"absolute bottom-20 left-10 w-96 h-96 bg-cyan-400/10 rounded-full blur-3xl animate-pulse-glow",style:{animationDelay:"1.5s"}}),f.jsx("div",{"code-path":"src/App.tsx:228:9",className:"relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:f.jsxs("div",{"code-path":"src/App.tsx:229:11",className:"grid lg:grid-cols-2 gap-12 items-center",children:[f.jsxs("div",{"code-path":"src/App.tsx:230:13",className:"space-y-8",children:[f.jsxs("div",{"code-path":"src/App.tsx:231:15",className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-blue-100 text-blue-700 text-sm font-medium",children:[f.jsx(mg,{"code-path":"src/App.tsx:232:17",className:"w-4 h-4"}),f.jsx("span",{"code-path":"src/App.tsx:233:17",children:"Free Planner — No Credit Card Required"})]}),f.jsxs("h1",{"code-path":"src/App.tsx:236:15",className:"text-4xl sm:text-5xl lg:text-6xl font-bold text-slate-900 leading-tight",children:["Plan Your Padel Hall"," ",f.jsx("span",{"code-path":"src/App.tsx:238:17",className:"gradient-text",children:"Like a Pro"})]}),f.jsx("p",{"code-path":"src/App.tsx:241:15",className:"text-lg sm:text-xl text-slate-600 max-w-xl",children:"Making a €500K–1M+ facility investment decision? Don't rely on gut feel. Use our free financial planner to model your ROI, then get quotes from verified builders."}),f.jsxs("div",{"code-path":"src/App.tsx:246:15",className:"flex flex-col sm:flex-row gap-4",children:[f.jsxs(Yt,{"code-path":"src/App.tsx:247:17",size:"lg",className:"bg-slate-900 hover:bg-slate-800 text-white px-8 py-6 text-lg",onClick:()=>te("try-calculator"),children:["Try the Calculator",f.jsx(nm,{"code-path":"src/App.tsx:253:19",className:"ml-2 w-5 h-5"})]}),f.jsx(Yt,{"code-path":"src/App.tsx:255:17",size:"lg",variant:"outline",className:"px-8 py-6 text-lg",onClick:()=>te("dashboard-preview"),children:"See Full Platform"})]}),f.jsxs("div",{"code-path":"src/App.tsx:265:15",className:"flex items-center gap-6 text-sm text-slate-500",children:[f.jsxs("div",{"code-path":"src/App.tsx:266:17",className:"flex items-center gap-2",children:[f.jsx(Ja,{"code-path":"src/App.tsx:267:19",className:"w-4 h-4 text-emerald-500"}),f.jsx("span",{"code-path":"src/App.tsx:268:19",children:"Free forever"})]}),f.jsxs("div",{"code-path":"src/App.tsx:270:17",className:"flex items-center gap-2",children:[f.jsx(Ja,{"code-path":"src/App.tsx:271:19",className:"w-4 h-4 text-emerald-500"}),f.jsx("span",{"code-path":"src/App.tsx:272:19",children:"No signup required"})]}),f.jsxs("div",{"code-path":"src/App.tsx:274:17",className:"flex items-center gap-2",children:[f.jsx(Ja,{"code-path":"src/App.tsx:275:19",className:"w-4 h-4 text-emerald-500"}),f.jsx("span",{"code-path":"src/App.tsx:276:19",children:"Professional outputs"})]})]})]}),f.jsx("div",{"code-path":"src/App.tsx:281:13",className:"relative",children:f.jsxs("div",{"code-path":"src/App.tsx:283:15",className:"relative bg-white rounded-2xl shadow-2xl border border-slate-200/50 p-6 animate-float",children:[f.jsxs("div",{"code-path":"src/App.tsx:284:17",className:"flex items-center justify-between mb-6",children:[f.jsxs("div",{"code-path":"src/App.tsx:285:19",className:"flex items-center gap-3",children:[f.jsx("div",{"code-path":"src/App.tsx:286:21",className:"w-10 h-10 rounded-lg bg-gradient-to-br from-blue-600 to-cyan-500 flex items-center justify-center",children:f.jsx(vo,{"code-path":"src/App.tsx:287:23",className:"w-5 h-5 text-white"})}),f.jsxs("div",{"code-path":"src/App.tsx:289:21",children:[f.jsx("h3",{"code-path":"src/App.tsx:290:23",className:"font-semibold text-slate-900",children:"Padel Court Planner"}),f.jsx("p",{"code-path":"src/App.tsx:291:23",className:"text-xs text-slate-500",children:"ROI Calculator v2.0"})]})]}),f.jsx(ua,{"code-path":"src/App.tsx:294:19",variant:"secondary",className:"bg-emerald-100 text-emerald-700",children:"Free"})]}),f.jsxs("div",{"code-path":"src/App.tsx:297:17",className:"space-y-4",children:[f.jsxs("div",{"code-path":"src/App.tsx:298:19",className:"grid grid-cols-2 gap-4",children:[f.jsxs("div",{"code-path":"src/App.tsx:299:21",className:"p-4 bg-slate-50 rounded-lg",children:[f.jsx("p",{"code-path":"src/App.tsx:300:23",className:"text-xs text-slate-500 mb-1",children:"Projected IRR"}),f.jsx("p",{"code-path":"src/App.tsx:301:23",className:"text-2xl font-bold text-emerald-600",children:"24.3%"})]}),f.jsxs("div",{"code-path":"src/App.tsx:303:21",className:"p-4 bg-slate-50 rounded-lg",children:[f.jsx("p",{"code-path":"src/App.tsx:304:23",className:"text-xs text-slate-500 mb-1",children:"Payback Period"}),f.jsx("p",{"code-path":"src/App.tsx:305:23",className:"text-2xl font-bold text-blue-600",children:"3.2 years"})]})]}),f.jsxs("div",{"code-path":"src/App.tsx:309:19",className:"p-4 bg-slate-50 rounded-lg",children:[f.jsxs("div",{"code-path":"src/App.tsx:310:21",className:"flex items-center justify-between mb-3",children:[f.jsx("p",{"code-path":"src/App.tsx:311:23",className:"text-sm font-medium text-slate-700",children:"10-Year Cash Flow"}),f.jsx("span",{"code-path":"src/App.tsx:312:23",className:"text-xs text-slate-500",children:"€2.4M total"})]}),f.jsx("div",{"code-path":"src/App.tsx:314:21",className:"flex items-end gap-1 h-20",children:[40,55,70,85,95,100,100,100,100,100].map((N,q)=>f.jsx("div",{"code-path":"src/App.tsx:316:25",className:"flex-1 bg-gradient-to-t from-blue-600 to-cyan-400 rounded-t",style:{height:`${N}%`}},q))})]}),f.jsxs("div",{"code-path":"src/App.tsx:325:19",className:"flex items-center justify-between p-3 bg-blue-50 rounded-lg",children:[f.jsxs("div",{"code-path":"src/App.tsx:326:21",className:"flex items-center gap-2",children:[f.jsx(Ts,{"code-path":"src/App.tsx:327:23",className:"w-4 h-4 text-blue-600"}),f.jsx("span",{"code-path":"src/App.tsx:328:23",className:"text-sm text-blue-700",children:"Sensitivity Analysis"})]}),f.jsx(cm,{"code-path":"src/App.tsx:330:21",className:"w-4 h-4 text-blue-600"})]})]})]})})]})})]}),f.jsx("section",{"code-path":"src/App.tsx:340:7",id:"try-calculator",className:"py-20 lg:py-32 bg-slate-50",children:f.jsxs("div",{"code-path":"src/App.tsx:341:9",className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[f.jsxs("div",{"code-path":"src/App.tsx:342:11",className:"text-center max-w-3xl mx-auto mb-12",children:[f.jsx(ua,{"code-path":"src/App.tsx:343:13",variant:"secondary",className:"mb-4",children:"Try It Now"}),f.jsx("h2",{"code-path":"src/App.tsx:344:13",className:"text-3xl sm:text-4xl font-bold text-slate-900 mb-4",children:"Calculate Your Padel Hall ROI"}),f.jsx("p",{"code-path":"src/App.tsx:347:13",className:"text-lg text-slate-600",children:"Adjust the sliders below to see how different assumptions affect your returns. Sign up free to unlock all 60+ variables and save your scenarios."})]}),f.jsxs("div",{"code-path":"src/App.tsx:353:11",className:"grid lg:grid-cols-2 gap-8",children:[f.jsx(zs,{"code-path":"src/App.tsx:355:13",className:"border-slate-200/50",children:f.jsxs(ws,{"code-path":"src/App.tsx:356:15",className:"p-6 space-y-6",children:[f.jsx("h3",{"code-path":"src/App.tsx:357:17",className:"text-lg font-semibold text-slate-900 mb-4",children:"Your Assumptions"}),f.jsxs("div",{"code-path":"src/App.tsx:359:17",className:"space-y-4",children:[f.jsxs("div",{"code-path":"src/App.tsx:360:19",children:[f.jsxs("div",{"code-path":"src/App.tsx:361:21",className:"flex justify-between mb-2",children:[f.jsx("label",{"code-path":"src/App.tsx:362:23",className:"text-sm font-medium text-slate-700",children:"Number of Courts"}),f.jsxs("span",{"code-path":"src/App.tsx:363:23",className:"text-sm font-semibold text-blue-600",children:[T," courts"]})]}),f.jsx(tc,{"code-path":"src/App.tsx:365:21",value:[T],onValueChange:N=>E(N[0]),min:2,max:12,step:1,className:"w-full"})]}),f.jsxs("div",{"code-path":"src/App.tsx:375:19",children:[f.jsxs("div",{"code-path":"src/App.tsx:376:21",className:"flex justify-between mb-2",children:[f.jsx("label",{"code-path":"src/App.tsx:377:23",className:"text-sm font-medium text-slate-700",children:"Hourly Rate per Court"}),f.jsxs("span",{"code-path":"src/App.tsx:378:23",className:"text-sm font-semibold text-blue-600",children:["€",R,"/hour"]})]}),f.jsx(tc,{"code-path":"src/App.tsx:380:21",value:[R],onValueChange:N=>k(N[0]),min:25,max:80,step:5,className:"w-full"})]}),f.jsxs("div",{"code-path":"src/App.tsx:390:19",children:[f.jsxs("div",{"code-path":"src/App.tsx:391:21",className:"flex justify-between mb-2",children:[f.jsx("label",{"code-path":"src/App.tsx:392:23",className:"text-sm font-medium text-slate-700",children:"Average Utilization"}),f.jsxs("span",{"code-path":"src/App.tsx:393:23",className:"text-sm font-semibold text-blue-600",children:[J,"%"]})]}),f.jsx(tc,{"code-path":"src/App.tsx:395:21",value:[J],onValueChange:N=>M(N[0]),min:30,max:90,step:5,className:"w-full"})]}),f.jsxs("div",{"code-path":"src/App.tsx:405:19",children:[f.jsxs("div",{"code-path":"src/App.tsx:406:21",className:"flex justify-between mb-2",children:[f.jsx("label",{"code-path":"src/App.tsx:407:23",className:"text-sm font-medium text-slate-700",children:"Monthly Rent"}),f.jsxs("span",{"code-path":"src/App.tsx:408:23",className:"text-sm font-semibold text-blue-600",children:["€",U.toLocaleString()]})]}),f.jsx(tc,{"code-path":"src/App.tsx:410:21",value:[U],onValueChange:N=>L(N[0]),min:3e3,max:2e4,step:500,className:"w-full"})]}),f.jsxs("div",{"code-path":"src/App.tsx:420:19",children:[f.jsxs("div",{"code-path":"src/App.tsx:421:21",className:"flex justify-between mb-2",children:[f.jsx("label",{"code-path":"src/App.tsx:422:23",className:"text-sm font-medium text-slate-700",children:"CAPEX per Court"}),f.jsxs("span",{"code-path":"src/App.tsx:423:23",className:"text-sm font-semibold text-blue-600",children:["€",I.toLocaleString()]})]}),f.jsx(tc,{"code-path":"src/App.tsx:425:21",value:[I],onValueChange:N=>X(N[0]),min:4e4,max:12e4,step:5e3,className:"w-full"})]})]}),f.jsxs("div",{"code-path":"src/App.tsx:437:17",className:"pt-4 border-t border-slate-200 space-y-3",children:[f.jsx("p",{"code-path":"src/App.tsx:438:19",className:"text-sm font-medium text-slate-700",children:"More variables available:"}),f.jsx("div",{"code-path":"src/App.tsx:439:19",className:"grid grid-cols-2 gap-2",children:["Peak/Off-peak pricing","Seasonality curves","Staffing costs","Financing terms","Equipment depreciation","Insurance & taxes"].map((N,q)=>f.jsxs("div",{"code-path":"src/App.tsx:448:23",className:"flex items-center gap-2 text-sm text-slate-400 bg-slate-50 rounded px-3 py-2",children:[f.jsx("div",{"code-path":"src/App.tsx:449:25",className:"w-1.5 h-1.5 rounded-full bg-slate-300"}),N]},q))})]})]})}),f.jsx(zs,{"code-path":"src/App.tsx:459:13",className:"border-blue-200 bg-gradient-to-br from-blue-50 to-cyan-50",children:f.jsxs(ws,{"code-path":"src/App.tsx:460:15",className:"p-6 space-y-6",children:[f.jsx("h3",{"code-path":"src/App.tsx:461:17",className:"text-lg font-semibold text-slate-900 mb-4",children:"Your Projections"}),f.jsxs("div",{"code-path":"src/App.tsx:463:17",className:"grid grid-cols-2 gap-4",children:[f.jsxs("div",{"code-path":"src/App.tsx:464:19",className:"bg-white rounded-lg p-4 shadow-sm",children:[f.jsxs("div",{"code-path":"src/App.tsx:465:21",className:"flex items-center gap-2 mb-1",children:[f.jsx(sm,{"code-path":"src/App.tsx:466:23",className:"w-4 h-4 text-slate-400"}),f.jsx("span",{"code-path":"src/App.tsx:467:23",className:"text-xs text-slate-500",children:"Total Investment"})]}),f.jsxs("p",{"code-path":"src/App.tsx:469:21",className:"text-2xl font-bold text-slate-900",children:["€",Q.toLocaleString()]})]}),f.jsxs("div",{"code-path":"src/App.tsx:472:19",className:"bg-white rounded-lg p-4 shadow-sm",children:[f.jsxs("div",{"code-path":"src/App.tsx:473:21",className:"flex items-center gap-2 mb-1",children:[f.jsx(Ts,{"code-path":"src/App.tsx:474:23",className:"w-4 h-4 text-slate-400"}),f.jsx("span",{"code-path":"src/App.tsx:475:23",className:"text-xs text-slate-500",children:"Monthly Revenue"})]}),f.jsxs("p",{"code-path":"src/App.tsx:477:21",className:"text-2xl font-bold text-emerald-600",children:["€",ce.toLocaleString()]})]}),f.jsxs("div",{"code-path":"src/App.tsx:480:19",className:"bg-white rounded-lg p-4 shadow-sm",children:[f.jsxs("div",{"code-path":"src/App.tsx:481:21",className:"flex items-center gap-2 mb-1",children:[f.jsx(dg,{"code-path":"src/App.tsx:482:23",className:"w-4 h-4 text-slate-400"}),f.jsx("span",{"code-path":"src/App.tsx:483:23",className:"text-xs text-slate-500",children:"Est. Cash-on-Cash"})]}),f.jsxs("p",{"code-path":"src/App.tsx:485:21",className:"text-2xl font-bold text-blue-600",children:[(xe/Q*100).toFixed(1),"%"]})]}),f.jsxs("div",{"code-path":"src/App.tsx:488:19",className:"bg-white rounded-lg p-4 shadow-sm",children:[f.jsxs("div",{"code-path":"src/App.tsx:489:21",className:"flex items-center gap-2 mb-1",children:[f.jsx(Px,{"code-path":"src/App.tsx:490:23",className:"w-4 h-4 text-slate-400"}),f.jsx("span",{"code-path":"src/App.tsx:491:23",className:"text-xs text-slate-500",children:"Payback Period"})]}),f.jsxs("p",{"code-path":"src/App.tsx:493:21",className:"text-2xl font-bold text-purple-600",children:[we.toFixed(1)," years"]})]})]}),f.jsxs("div",{"code-path":"src/App.tsx:497:17",className:"bg-white rounded-lg p-4 shadow-sm",children:[f.jsxs("div",{"code-path":"src/App.tsx:498:19",className:"flex items-center justify-between mb-3",children:[f.jsx("span",{"code-path":"src/App.tsx:499:21",className:"text-sm font-medium text-slate-700",children:"Monthly Cash Flow"}),f.jsxs("span",{"code-path":"src/App.tsx:500:21",className:`text-lg font-bold ${V>=0?"text-emerald-600":"text-red-600"}`,children:["€",V.toLocaleString()]})]}),f.jsx("div",{"code-path":"src/App.tsx:504:19",className:"h-4 bg-slate-100 rounded-full overflow-hidden",children:f.jsx("div",{"code-path":"src/App.tsx:505:21",className:`h-full ${V>=0?"bg-emerald-500":"bg-red-500"}`,style:{width:`${Math.min(Math.abs(V)/500*100,100)}%`}})}),f.jsx("p",{"code-path":"src/App.tsx:510:19",className:"text-xs text-slate-500 mt-2",children:V>=0?"Positive cash flow! Your hall is profitable.":"Negative cash flow. Consider adjusting pricing or utilization."})]}),f.jsx(Yt,{"code-path":"src/App.tsx:515:17",className:"w-full bg-slate-900 hover:bg-slate-800 text-white",onClick:()=>h(!0),children:"Unlock Full Calculator — Free"})]})})]})]})}),f.jsx("section",{"code-path":"src/App.tsx:528:7",id:"dashboard-preview",className:"py-20 lg:py-32",children:f.jsxs("div",{"code-path":"src/App.tsx:529:9",className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[f.jsxs("div",{"code-path":"src/App.tsx:530:11",className:"text-center max-w-3xl mx-auto mb-12",children:[f.jsx(ua,{"code-path":"src/App.tsx:531:13",variant:"secondary",className:"mb-4",children:"Full Platform"}),f.jsx("h2",{"code-path":"src/App.tsx:532:13",className:"text-3xl sm:text-4xl font-bold text-slate-900 mb-4",children:"Everything You Need to Plan, Build & Operate"}),f.jsx("p",{"code-path":"src/App.tsx:535:13",className:"text-lg text-slate-600",children:"Sign up free to access the complete platform with 60+ variables, sensitivity analysis, and professional-grade outputs."})]}),f.jsxs("div",{"code-path":"src/App.tsx:541:11",className:"bg-slate-900 rounded-2xl overflow-hidden shadow-2xl",children:[f.jsxs("div",{"code-path":"src/App.tsx:543:13",className:"bg-slate-800 px-4 py-3 flex items-center gap-2",children:[f.jsxs("div",{"code-path":"src/App.tsx:544:15",className:"flex gap-2",children:[f.jsx("div",{"code-path":"src/App.tsx:545:17",className:"w-3 h-3 rounded-full bg-red-500"}),f.jsx("div",{"code-path":"src/App.tsx:546:17",className:"w-3 h-3 rounded-full bg-yellow-500"}),f.jsx("div",{"code-path":"src/App.tsx:547:17",className:"w-3 h-3 rounded-full bg-green-500"})]}),f.jsx("div",{"code-path":"src/App.tsx:549:15",className:"flex-1 mx-4",children:f.jsx("div",{"code-path":"src/App.tsx:550:17",className:"bg-slate-700 rounded-md px-3 py-1 text-xs text-slate-400 text-center",children:"padelnomics.io/planner"})})]}),f.jsx("div",{"code-path":"src/App.tsx:557:13",className:"p-6 lg:p-8",children:f.jsxs(o2,{"code-path":"src/App.tsx:558:15",defaultValue:"assumptions",className:"w-full",children:[f.jsxs(r2,{"code-path":"src/App.tsx:559:17",className:"bg-slate-800 border-b border-slate-700 w-full justify-start rounded-none mb-6 p-0 h-auto",children:[f.jsx(lc,{"code-path":"src/App.tsx:560:19",value:"assumptions",className:"data-[state=active]:bg-blue-600 data-[state=active]:text-white rounded-none px-4 py-2 text-slate-400 hover:text-slate-200",children:"Assumptions"}),f.jsx(lc,{"code-path":"src/App.tsx:561:19",value:"capex",className:"data-[state=active]:bg-blue-600 data-[state=active]:text-white rounded-none px-4 py-2 text-slate-400 hover:text-slate-200",children:"Investment"}),f.jsx(lc,{"code-path":"src/App.tsx:562:19",value:"operating",className:"data-[state=active]:bg-blue-600 data-[state=active]:text-white rounded-none px-4 py-2 text-slate-400 hover:text-slate-200",children:"Operating"}),f.jsx(lc,{"code-path":"src/App.tsx:563:19",value:"cashflow",className:"data-[state=active]:bg-blue-600 data-[state=active]:text-white rounded-none px-4 py-2 text-slate-400 hover:text-slate-200",children:"Cash Flow"}),f.jsx(lc,{"code-path":"src/App.tsx:564:19",value:"returns",className:"data-[state=active]:bg-blue-600 data-[state=active]:text-white rounded-none px-4 py-2 text-slate-400 hover:text-slate-200",children:"Returns"})]}),f.jsx(ac,{"code-path":"src/App.tsx:567:17",value:"assumptions",className:"mt-0",children:f.jsxs("div",{"code-path":"src/App.tsx:568:19",className:"grid md:grid-cols-3 gap-6",children:[f.jsxs("div",{"code-path":"src/App.tsx:569:21",className:"bg-slate-800 rounded-lg p-4",children:[f.jsx("h4",{"code-path":"src/App.tsx:570:23",className:"text-sm font-medium text-slate-400 mb-3",children:"Court Configuration"}),f.jsxs("div",{"code-path":"src/App.tsx:571:23",className:"space-y-2 text-sm",children:[f.jsxs("div",{"code-path":"src/App.tsx:572:25",className:"flex justify-between",children:[f.jsx("span",{"code-path":"src/App.tsx:572:63",className:"text-slate-500",children:"Indoor Courts"}),f.jsx("span",{"code-path":"src/App.tsx:572:116",className:"text-white",children:"6"})]}),f.jsxs("div",{"code-path":"src/App.tsx:573:25",className:"flex justify-between",children:[f.jsx("span",{"code-path":"src/App.tsx:573:63",className:"text-slate-500",children:"Outdoor Courts"}),f.jsx("span",{"code-path":"src/App.tsx:573:117",className:"text-white",children:"2"})]}),f.jsxs("div",{"code-path":"src/App.tsx:574:25",className:"flex justify-between",children:[f.jsx("span",{"code-path":"src/App.tsx:574:63",className:"text-slate-500",children:"Court Size"}),f.jsx("span",{"code-path":"src/App.tsx:574:113",className:"text-white",children:"20x10m"})]})]})]}),f.jsxs("div",{"code-path":"src/App.tsx:577:21",className:"bg-slate-800 rounded-lg p-4",children:[f.jsx("h4",{"code-path":"src/App.tsx:578:23",className:"text-sm font-medium text-slate-400 mb-3",children:"Pricing"}),f.jsxs("div",{"code-path":"src/App.tsx:579:23",className:"space-y-2 text-sm",children:[f.jsxs("div",{"code-path":"src/App.tsx:580:25",className:"flex justify-between",children:[f.jsx("span",{"code-path":"src/App.tsx:580:63",className:"text-slate-500",children:"Peak Hour"}),f.jsx("span",{"code-path":"src/App.tsx:580:112",className:"text-white",children:"€50"})]}),f.jsxs("div",{"code-path":"src/App.tsx:581:25",className:"flex justify-between",children:[f.jsx("span",{"code-path":"src/App.tsx:581:63",className:"text-slate-500",children:"Off-Peak"}),f.jsx("span",{"code-path":"src/App.tsx:581:111",className:"text-white",children:"€35"})]}),f.jsxs("div",{"code-path":"src/App.tsx:582:25",className:"flex justify-between",children:[f.jsx("span",{"code-path":"src/App.tsx:582:63",className:"text-slate-500",children:"Weekend"}),f.jsx("span",{"code-path":"src/App.tsx:582:110",className:"text-white",children:"€55"})]})]})]}),f.jsxs("div",{"code-path":"src/App.tsx:585:21",className:"bg-slate-800 rounded-lg p-4",children:[f.jsx("h4",{"code-path":"src/App.tsx:586:23",className:"text-sm font-medium text-slate-400 mb-3",children:"Utilization"}),f.jsxs("div",{"code-path":"src/App.tsx:587:23",className:"space-y-2 text-sm",children:[f.jsxs("div",{"code-path":"src/App.tsx:588:25",className:"flex justify-between",children:[f.jsx("span",{"code-path":"src/App.tsx:588:63",className:"text-slate-500",children:"Weekday"}),f.jsx("span",{"code-path":"src/App.tsx:588:110",className:"text-white",children:"65%"})]}),f.jsxs("div",{"code-path":"src/App.tsx:589:25",className:"flex justify-between",children:[f.jsx("span",{"code-path":"src/App.tsx:589:63",className:"text-slate-500",children:"Weekend"}),f.jsx("span",{"code-path":"src/App.tsx:589:110",className:"text-white",children:"85%"})]}),f.jsxs("div",{"code-path":"src/App.tsx:590:25",className:"flex justify-between",children:[f.jsx("span",{"code-path":"src/App.tsx:590:63",className:"text-slate-500",children:"Ramp-up"}),f.jsx("span",{"code-path":"src/App.tsx:590:110",className:"text-white",children:"18 months"})]})]})]})]})}),f.jsx(ac,{"code-path":"src/App.tsx:596:17",value:"capex",className:"mt-0",children:f.jsxs("div",{"code-path":"src/App.tsx:597:19",className:"bg-slate-800 rounded-lg p-6",children:[f.jsxs("div",{"code-path":"src/App.tsx:598:21",className:"flex justify-between items-center mb-4",children:[f.jsx("h4",{"code-path":"src/App.tsx:599:23",className:"text-white font-medium",children:"Investment Breakdown"}),f.jsx("span",{"code-path":"src/App.tsx:600:23",className:"text-2xl font-bold text-emerald-400",children:"€480,000"})]}),f.jsx("div",{"code-path":"src/App.tsx:602:21",className:"space-y-3",children:[{item:"Court Construction",cost:"€360,000",pct:75},{item:"Lighting & Climate",cost:"€48,000",pct:10},{item:"Reception & Facilities",cost:"€36,000",pct:7.5},{item:"Furniture & Equipment",cost:"€24,000",pct:5},{item:"Initial Marketing",cost:"€12,000",pct:2.5}].map((N,q)=>f.jsxs("div",{"code-path":"src/App.tsx:610:25",className:"flex items-center gap-4",children:[f.jsx("div",{"code-path":"src/App.tsx:611:27",className:"w-32 text-sm text-slate-400",children:N.item}),f.jsx("div",{"code-path":"src/App.tsx:612:27",className:"flex-1 h-2 bg-slate-700 rounded-full overflow-hidden",children:f.jsx("div",{"code-path":"src/App.tsx:613:29",className:"h-full bg-blue-500",style:{width:`${N.pct}%`}})}),f.jsx("div",{"code-path":"src/App.tsx:615:27",className:"w-24 text-right text-sm text-white",children:N.cost})]},q))})]})}),f.jsx(ac,{"code-path":"src/App.tsx:622:17",value:"operating",className:"mt-0",children:f.jsxs("div",{"code-path":"src/App.tsx:623:19",className:"grid md:grid-cols-2 gap-6",children:[f.jsxs("div",{"code-path":"src/App.tsx:624:21",className:"bg-slate-800 rounded-lg p-4",children:[f.jsx("h4",{"code-path":"src/App.tsx:625:23",className:"text-sm font-medium text-slate-400 mb-3",children:"Monthly Revenue"}),f.jsx("div",{"code-path":"src/App.tsx:626:23",className:"text-3xl font-bold text-emerald-400 mb-2",children:"€62,400"}),f.jsx("div",{"code-path":"src/App.tsx:627:23",className:"text-sm text-slate-500",children:"At full utilization"})]}),f.jsxs("div",{"code-path":"src/App.tsx:629:21",className:"bg-slate-800 rounded-lg p-4",children:[f.jsx("h4",{"code-path":"src/App.tsx:630:23",className:"text-sm font-medium text-slate-400 mb-3",children:"Monthly Costs"}),f.jsx("div",{"code-path":"src/App.tsx:631:23",className:"text-3xl font-bold text-red-400 mb-2",children:"€38,500"}),f.jsx("div",{"code-path":"src/App.tsx:632:23",className:"text-sm text-slate-500",children:"Rent, staff, utilities, maintenance"})]})]})}),f.jsx(ac,{"code-path":"src/App.tsx:637:17",value:"cashflow",className:"mt-0",children:f.jsxs("div",{"code-path":"src/App.tsx:638:19",className:"bg-slate-800 rounded-lg p-6",children:[f.jsx("h4",{"code-path":"src/App.tsx:639:21",className:"text-sm font-medium text-slate-400 mb-4",children:"10-Year Cash Flow Projection"}),f.jsx("div",{"code-path":"src/App.tsx:640:21",className:"flex items-end gap-2 h-40",children:[35,55,72,85,92,95,95,95,95,95].map((N,q)=>f.jsxs("div",{"code-path":"src/App.tsx:642:25",className:"flex-1 flex flex-col items-center gap-2",children:[f.jsx("div",{"code-path":"src/App.tsx:643:27",className:"w-full bg-gradient-to-t from-blue-600 to-cyan-400 rounded-t",style:{height:`${N}%`}}),f.jsxs("span",{"code-path":"src/App.tsx:644:27",className:"text-xs text-slate-500",children:["Y",q+1]})]},q))})]})}),f.jsx(ac,{"code-path":"src/App.tsx:651:17",value:"returns",className:"mt-0",children:f.jsxs("div",{"code-path":"src/App.tsx:652:19",className:"grid md:grid-cols-4 gap-4",children:[f.jsxs("div",{"code-path":"src/App.tsx:653:21",className:"bg-slate-800 rounded-lg p-4 text-center",children:[f.jsx("div",{"code-path":"src/App.tsx:654:23",className:"text-sm text-slate-400 mb-1",children:"IRR"}),f.jsx("div",{"code-path":"src/App.tsx:655:23",className:"text-2xl font-bold text-emerald-400",children:"24.3%"})]}),f.jsxs("div",{"code-path":"src/App.tsx:657:21",className:"bg-slate-800 rounded-lg p-4 text-center",children:[f.jsx("div",{"code-path":"src/App.tsx:658:23",className:"text-sm text-slate-400 mb-1",children:"MOIC"}),f.jsx("div",{"code-path":"src/App.tsx:659:23",className:"text-2xl font-bold text-blue-400",children:"3.2x"})]}),f.jsxs("div",{"code-path":"src/App.tsx:661:21",className:"bg-slate-800 rounded-lg p-4 text-center",children:[f.jsx("div",{"code-path":"src/App.tsx:662:23",className:"text-sm text-slate-400 mb-1",children:"Payback"}),f.jsx("div",{"code-path":"src/App.tsx:663:23",className:"text-2xl font-bold text-purple-400",children:"3.8 yrs"})]}),f.jsxs("div",{"code-path":"src/App.tsx:665:21",className:"bg-slate-800 rounded-lg p-4 text-center",children:[f.jsx("div",{"code-path":"src/App.tsx:666:23",className:"text-sm text-slate-400 mb-1",children:"DSCR"}),f.jsx("div",{"code-path":"src/App.tsx:667:23",className:"text-2xl font-bold text-cyan-400",children:"1.62x"})]})]})})]})})]})]})}),f.jsx("section",{"code-path":"src/App.tsx:678:7",id:"features",className:"py-20 lg:py-32 bg-slate-50",children:f.jsxs("div",{"code-path":"src/App.tsx:679:9",className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[f.jsxs("div",{"code-path":"src/App.tsx:680:11",className:"text-center max-w-3xl mx-auto mb-16",children:[f.jsx(ua,{"code-path":"src/App.tsx:681:13",variant:"secondary",className:"mb-4",children:"Free Forever"}),f.jsx("h2",{"code-path":"src/App.tsx:682:13",className:"text-3xl sm:text-4xl font-bold text-slate-900 mb-4",children:"Plan Your Padel Business Like a Pro"}),f.jsx("p",{"code-path":"src/App.tsx:685:13",className:"text-lg text-slate-600",children:"The most sophisticated padel court financial planner available. 60+ variables, professional-grade outputs, completely free."})]}),f.jsx("div",{"code-path":"src/App.tsx:691:11",className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:We.map((N,q)=>f.jsx(zs,{"code-path":"src/App.tsx:693:15",className:"group hover:shadow-lg transition-shadow border-slate-200/50",children:f.jsxs(ws,{"code-path":"src/App.tsx:694:17",className:"p-6",children:[f.jsx("div",{"code-path":"src/App.tsx:695:19",className:"w-12 h-12 rounded-lg bg-gradient-to-br from-blue-100 to-cyan-100 flex items-center justify-center mb-4 group-hover:scale-110 transition-transform",children:f.jsx("div",{"code-path":"src/App.tsx:696:21",className:"text-blue-600",children:N.icon})}),f.jsx("h3",{"code-path":"src/App.tsx:698:19",className:"text-lg font-semibold text-slate-900 mb-2",children:N.title}),f.jsx("p",{"code-path":"src/App.tsx:699:19",className:"text-slate-600 text-sm leading-relaxed",children:N.description})]})},q))})]})}),f.jsx("section",{"code-path":"src/App.tsx:708:7",id:"for-you",className:"py-20 lg:py-32",children:f.jsxs("div",{"code-path":"src/App.tsx:709:9",className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[f.jsxs("div",{"code-path":"src/App.tsx:710:11",className:"text-center max-w-3xl mx-auto mb-16",children:[f.jsx(ua,{"code-path":"src/App.tsx:711:13",variant:"secondary",className:"mb-4",children:"Who It's For"}),f.jsx("h2",{"code-path":"src/App.tsx:712:13",className:"text-3xl sm:text-4xl font-bold text-slate-900 mb-4",children:"Solutions for Every Padel Entrepreneur"}),f.jsx("p",{"code-path":"src/App.tsx:715:13",className:"text-lg text-slate-600",children:"Whether you're opening your first hall or expanding your portfolio, we have the tools you need."})]}),f.jsx("div",{"code-path":"src/App.tsx:721:11",className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:Ke.map((N,q)=>f.jsx(zs,{"code-path":"src/App.tsx:723:15",className:"group hover:shadow-lg transition-all border-slate-200/50 hover:border-blue-300",children:f.jsxs(ws,{"code-path":"src/App.tsx:724:17",className:"p-6 flex flex-col h-full",children:[f.jsx("div",{"code-path":"src/App.tsx:725:19",className:"w-14 h-14 rounded-lg bg-gradient-to-br from-blue-500 to-cyan-500 flex items-center justify-center mb-4",children:f.jsx("div",{"code-path":"src/App.tsx:726:21",className:"text-white",children:N.icon})}),f.jsx("h3",{"code-path":"src/App.tsx:728:19",className:"text-lg font-semibold text-slate-900 mb-2",children:N.title}),f.jsx("p",{"code-path":"src/App.tsx:729:19",className:"text-slate-600 text-sm leading-relaxed mb-4 flex-1",children:N.description}),f.jsx(Yt,{"code-path":"src/App.tsx:730:19",variant:"outline",className:"w-full text-sm",onClick:()=>te(N.href.replace("#","")),children:N.cta})]})},q))})]})}),f.jsx("section",{"code-path":"src/App.tsx:745:7",id:"how-it-works",className:"py-20 lg:py-32 bg-slate-900 text-white",children:f.jsxs("div",{"code-path":"src/App.tsx:746:9",className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[f.jsxs("div",{"code-path":"src/App.tsx:747:11",className:"text-center max-w-3xl mx-auto mb-16",children:[f.jsx(ua,{"code-path":"src/App.tsx:748:13",className:"mb-4 bg-blue-600 text-white border-0",children:"Our Platform"}),f.jsx("h2",{"code-path":"src/App.tsx:749:13",className:"text-3xl sm:text-4xl font-bold mb-4",children:"From Planning to Building — All in One Place"}),f.jsx("p",{"code-path":"src/App.tsx:752:13",className:"text-lg text-slate-400",children:"We help padel entrepreneurs at every step of the journey."})]}),f.jsx("div",{"code-path":"src/App.tsx:757:11",className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:[{icon:f.jsx(vo,{"code-path":"src/App.tsx:760:23",className:"w-8 h-8"}),title:"Plan Your Hall",description:"Use our free planner to model your investment. 60+ variables, professional outputs.",cta:"Start Free",active:!0},{icon:f.jsx(ng,{"code-path":"src/App.tsx:767:23",className:"w-8 h-8"}),title:"Get Builder Quotes",description:"Ready to build? We connect you with verified court builders in our network.",cta:"Coming Soon",active:!1},{icon:f.jsx(yg,{"code-path":"src/App.tsx:774:23",className:"w-8 h-8"}),title:"Explore Financing",description:"Access financing options from partners experienced in sports facilities.",cta:"Coming Soon",active:!1},{icon:f.jsx(lg,{"code-path":"src/App.tsx:781:23",className:"w-8 h-8"}),title:"Market Intelligence",description:"Unlock real market data: occupancy rates, pricing benchmarks, demand gaps.",cta:"Coming Soon",active:!1}].map((N,q)=>f.jsxs("div",{"code-path":"src/App.tsx:788:15",className:"relative",children:[f.jsx("div",{"code-path":"src/App.tsx:789:17",className:"h-full rounded-xl p-6 bg-slate-800 border border-slate-700 relative overflow-hidden hover:border-blue-500/50 transition-colors",children:f.jsxs("div",{"code-path":"src/App.tsx:790:19",className:"relative",children:[f.jsx("div",{"code-path":"src/App.tsx:791:21",className:"w-14 h-14 rounded-lg bg-gradient-to-br from-blue-500 to-cyan-500 flex items-center justify-center mb-4",children:f.jsx("div",{"code-path":"src/App.tsx:792:23",className:"text-white",children:N.icon})}),f.jsx("h3",{"code-path":"src/App.tsx:794:21",className:"text-xl font-bold mb-2",children:N.title}),f.jsx("p",{"code-path":"src/App.tsx:795:21",className:"text-sm text-slate-400 mb-4",children:N.description}),f.jsx(ua,{"code-path":"src/App.tsx:796:21",variant:N.active?"default":"secondary",className:N.active?"bg-emerald-600 hover:bg-emerald-600":"bg-slate-700 text-slate-300",children:N.cta})]})}),q<3&&f.jsx("div",{"code-path":"src/App.tsx:805:19",className:"hidden lg:flex absolute top-1/2 -right-3 transform -translate-y-1/2 z-10",children:f.jsx(nm,{"code-path":"src/App.tsx:806:21",className:"w-6 h-6 text-slate-600"})})]},q))}),f.jsx("div",{"code-path":"src/App.tsx:813:11",className:"mt-12 text-center",children:f.jsx(Yt,{"code-path":"src/App.tsx:814:13",className:"bg-blue-600 hover:bg-blue-700 text-white",onClick:()=>te("try-calculator"),children:"Start Your Journey — Free"})})]})}),f.jsx("section",{"code-path":"src/App.tsx:825:7",id:"faq",className:"py-20 lg:py-32",children:f.jsxs("div",{"code-path":"src/App.tsx:826:9",className:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8",children:[f.jsxs("div",{"code-path":"src/App.tsx:827:11",className:"text-center mb-16",children:[f.jsx("h2",{"code-path":"src/App.tsx:828:13",className:"text-3xl sm:text-4xl font-bold text-slate-900 mb-4",children:"Frequently Asked Questions"}),f.jsx("p",{"code-path":"src/App.tsx:831:13",className:"text-lg text-slate-600",children:"Everything you need to know about the planner and our platform."})]}),f.jsx("div",{"code-path":"src/App.tsx:836:11",className:"space-y-4",children:Me.map((N,q)=>f.jsxs("div",{"code-path":"src/App.tsx:838:15",className:"border border-slate-200/50 rounded-lg overflow-hidden",children:[f.jsxs("button",{"code-path":"src/App.tsx:842:17",className:"w-full flex items-center justify-between p-4 text-left hover:bg-slate-50 transition-colors",onClick:()=>v(b===q?null:q),children:[f.jsx("span",{"code-path":"src/App.tsx:846:19",className:"font-medium text-slate-900",children:N.question}),b===q?f.jsx(_o,{"code-path":"src/App.tsx:848:21",className:"w-5 h-5 text-slate-400"}):f.jsx(cm,{"code-path":"src/App.tsx:850:21",className:"w-5 h-5 text-slate-400"})]}),b===q&&f.jsx("div",{"code-path":"src/App.tsx:854:19",className:"px-4 pb-4",children:f.jsx("p",{"code-path":"src/App.tsx:855:21",className:"text-slate-600 text-sm leading-relaxed",children:N.answer})})]},q))})]})}),f.jsx("section",{"code-path":"src/App.tsx:865:7",className:"py-20 lg:py-32 bg-gradient-to-br from-slate-900 to-slate-800 text-white",children:f.jsxs("div",{"code-path":"src/App.tsx:866:9",className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[f.jsx("h2",{"code-path":"src/App.tsx:867:11",className:"text-3xl sm:text-4xl font-bold mb-4",children:"Ready to Plan Your Padel Business?"}),f.jsx("p",{"code-path":"src/App.tsx:870:11",className:"text-lg text-slate-300 mb-8 max-w-2xl mx-auto",children:"Join 500+ padel entrepreneurs using our free planner to make informed investment decisions. No credit card required."}),f.jsxs("form",{"code-path":"src/App.tsx:875:11",onSubmit:ge,className:"flex flex-col sm:flex-row gap-4 max-w-md mx-auto mb-8",children:[f.jsxs("div",{"code-path":"src/App.tsx:876:13",className:"flex-1 relative",children:[f.jsx(ug,{"code-path":"src/App.tsx:877:15",className:"absolute left-3 top-1/2 transform -translate-y-1/2 w-5 h-5 text-slate-400"}),f.jsx(gy,{"code-path":"src/App.tsx:878:15",type:"email",placeholder:"Enter your email",value:d,onChange:N=>m(N.target.value),className:"pl-10 bg-white/10 border-white/20 text-white placeholder:text-slate-400",required:!0})]}),f.jsx(Yt,{"code-path":"src/App.tsx:887:13",type:"submit",className:"bg-white text-slate-900 hover:bg-slate-100",children:"Get Started"})]}),f.jsxs("div",{"code-path":"src/App.tsx:892:11",className:"flex flex-wrap justify-center gap-6 text-sm text-slate-400",children:[f.jsxs("div",{"code-path":"src/App.tsx:893:13",className:"flex items-center gap-2",children:[f.jsx(Ja,{"code-path":"src/App.tsx:894:15",className:"w-4 h-4 text-emerald-400"}),f.jsx("span",{"code-path":"src/App.tsx:895:15",children:"Free forever"})]}),f.jsxs("div",{"code-path":"src/App.tsx:897:13",className:"flex items-center gap-2",children:[f.jsx(Ja,{"code-path":"src/App.tsx:898:15",className:"w-4 h-4 text-emerald-400"}),f.jsx("span",{"code-path":"src/App.tsx:899:15",children:"No credit card"})]}),f.jsxs("div",{"code-path":"src/App.tsx:901:13",className:"flex items-center gap-2",children:[f.jsx(Ja,{"code-path":"src/App.tsx:902:15",className:"w-4 h-4 text-emerald-400"}),f.jsx("span",{"code-path":"src/App.tsx:903:15",children:"Professional outputs"})]})]})]})}),f.jsx("footer",{"code-path":"src/App.tsx:910:7",className:"py-12 border-t border-slate-200/50",children:f.jsxs("div",{"code-path":"src/App.tsx:911:9",className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[f.jsxs("div",{"code-path":"src/App.tsx:912:11",className:"grid md:grid-cols-4 gap-8 mb-8",children:[f.jsxs("div",{"code-path":"src/App.tsx:913:13",children:[f.jsxs("div",{"code-path":"src/App.tsx:914:15",className:"flex items-center gap-2 mb-4",children:[f.jsx("div",{"code-path":"src/App.tsx:915:17",className:"w-8 h-8 rounded-lg bg-gradient-to-br from-blue-600 to-cyan-500 flex items-center justify-center",children:f.jsx(xo,{"code-path":"src/App.tsx:916:19",className:"w-5 h-5 text-white"})}),f.jsx("span",{"code-path":"src/App.tsx:918:17",className:"text-xl font-bold text-slate-900",children:"Padelnomics"})]}),f.jsx("p",{"code-path":"src/App.tsx:920:15",className:"text-sm text-slate-600",children:"The complete platform for padel entrepreneurs."})]}),f.jsxs("div",{"code-path":"src/App.tsx:925:13",children:[f.jsx("h4",{"code-path":"src/App.tsx:926:15",className:"font-semibold text-slate-900 mb-4",children:"Product"}),f.jsxs("ul",{"code-path":"src/App.tsx:927:15",className:"space-y-2 text-sm text-slate-600",children:[f.jsx("li",{"code-path":"src/App.tsx:928:17",children:f.jsx("button",{"code-path":"src/App.tsx:928:21",onClick:()=>te("try-calculator"),className:"hover:text-slate-900",children:"Try Calculator"})}),f.jsx("li",{"code-path":"src/App.tsx:929:17",children:f.jsx("button",{"code-path":"src/App.tsx:929:21",onClick:()=>te("features"),className:"hover:text-slate-900",children:"Features"})}),f.jsx("li",{"code-path":"src/App.tsx:930:17",children:f.jsx("button",{"code-path":"src/App.tsx:930:21",onClick:()=>te("for-you"),className:"hover:text-slate-900",children:"For You"})})]})]}),f.jsxs("div",{"code-path":"src/App.tsx:934:13",children:[f.jsx("h4",{"code-path":"src/App.tsx:935:15",className:"font-semibold text-slate-900 mb-4",children:"Resources"}),f.jsxs("ul",{"code-path":"src/App.tsx:936:15",className:"space-y-2 text-sm text-slate-600",children:[f.jsx("li",{"code-path":"src/App.tsx:937:17",children:f.jsx("a",{"code-path":"src/App.tsx:937:21",href:"#",className:"hover:text-slate-900",children:"Documentation"})}),f.jsx("li",{"code-path":"src/App.tsx:938:17",children:f.jsx("a",{"code-path":"src/App.tsx:938:21",href:"#",className:"hover:text-slate-900",children:"Blog"})}),f.jsx("li",{"code-path":"src/App.tsx:939:17",children:f.jsx("a",{"code-path":"src/App.tsx:939:21",href:"#",className:"hover:text-slate-900",children:"Community"})})]})]}),f.jsxs("div",{"code-path":"src/App.tsx:943:13",children:[f.jsx("h4",{"code-path":"src/App.tsx:944:15",className:"font-semibold text-slate-900 mb-4",children:"Company"}),f.jsxs("ul",{"code-path":"src/App.tsx:945:15",className:"space-y-2 text-sm text-slate-600",children:[f.jsx("li",{"code-path":"src/App.tsx:946:17",children:f.jsx("a",{"code-path":"src/App.tsx:946:21",href:"#",className:"hover:text-slate-900",children:"About"})}),f.jsx("li",{"code-path":"src/App.tsx:947:17",children:f.jsx("a",{"code-path":"src/App.tsx:947:21",href:"#",className:"hover:text-slate-900",children:"Contact"})}),f.jsx("li",{"code-path":"src/App.tsx:948:17",children:f.jsx("a",{"code-path":"src/App.tsx:948:21",href:"#",className:"hover:text-slate-900",children:"Privacy"})})]})]})]}),f.jsxs("div",{"code-path":"src/App.tsx:953:11",className:"pt-8 border-t border-slate-200/50 flex flex-col md:flex-row justify-between items-center gap-4",children:[f.jsx("p",{"code-path":"src/App.tsx:954:13",className:"text-sm text-slate-500",children:"© 2025 Padelnomics. All rights reserved."}),f.jsx("p",{"code-path":"src/App.tsx:957:13",className:"text-sm text-slate-500",children:"Building the future of padel entrepreneurship."})]})]})}),f.jsx(fb,{"code-path":"src/App.tsx:965:7",open:x,onOpenChange:h,children:f.jsxs(mb,{"code-path":"src/App.tsx:966:9",children:[f.jsxs(hb,{"code-path":"src/App.tsx:967:11",children:[f.jsx(vb,{"code-path":"src/App.tsx:968:13",children:"You're on the list!"}),f.jsx(xb,{"code-path":"src/App.tsx:969:13",children:"Thanks for your interest in Padelnomics. We'll send you access to the free planner and keep you updated on our builder network and market intelligence platform."})]}),f.jsx("div",{"code-path":"src/App.tsx:974:11",className:"mt-4",children:f.jsx(Yt,{"code-path":"src/App.tsx:975:13",onClick:()=>h(!1),className:"w-full",children:"Got it!"})})]})})]})}Ux.createRoot(document.getElementById("root")).render(f.jsx(g.StrictMode,{"code-path":"src/main.tsx:7:3",children:f.jsx(f2,{"code-path":"src/main.tsx:8:5"})}));