diff --git a/assets/index-Ejbjalok.js b/assets/index-i6F5nA2V.js similarity index 87% rename from assets/index-Ejbjalok.js rename to assets/index-i6F5nA2V.js index f620dd3..3bd609c 100644 --- a/assets/index-Ejbjalok.js +++ b/assets/index-i6F5nA2V.js @@ -34,10 +34,10 @@ function xm(e,t){for(var n=0;na||o[s]!==i[a]){var l=` -`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Au=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?vs(e):""}function Z6(e){switch(e.tag){case 5:return vs(e.type);case 16:return vs("Lazy");case 13:return vs("Suspense");case 19:return vs("SuspenseList");case 0:case 2:case 15:return e=Ou(e.type,!1),e;case 11:return e=Ou(e.type.render,!1),e;case 1:return e=Ou(e.type,!0),e;default:return""}}function Nd(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case li:return"Fragment";case ai:return"Portal";case Ed:return"Profiler";case e0:return"StrictMode";case kd:return"Suspense";case jd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Im:return(e.displayName||"Context")+".Consumer";case Lm:return(e._context.displayName||"Context")+".Provider";case t0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case n0:return t=e.displayName||null,t!==null?t:Nd(e.type)||"Memo";case Ar:t=e._payload,e=e._init;try{return Nd(e(t))}catch{}}return null}function G6(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Nd(t);case 8:return t===e0?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Qr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function zm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function K6(e){var t=zm(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function qa(e){e._valueTracker||(e._valueTracker=K6(e))}function $m(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=zm(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Wl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Rd(e,t){var n=t.checked;return rt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function U1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Qr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Vm(e,t){t=t.checked,t!=null&&qf(e,"checked",t,!1)}function Td(e,t){Vm(e,t);var n=Qr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Md(e,t.type,n):t.hasOwnProperty("defaultValue")&&Md(e,t.type,Qr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function H1(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Md(e,t,n){(t!=="number"||Wl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ys=Array.isArray;function Si(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=el.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Hs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ps={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Y6=["Webkit","ms","Moz","O"];Object.keys(Ps).forEach(function(e){Y6.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ps[t]=Ps[e]})});function Wm(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ps.hasOwnProperty(e)&&Ps[e]?(""+t).trim():t+"px"}function Zm(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Wm(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Q6=rt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ad(e,t){if(t){if(Q6[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error($(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error($(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error($(61))}if(t.style!=null&&typeof t.style!="object")throw Error($(62))}}function Od(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ld=null;function r0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Id=null,Ci=null,_i=null;function G1(e){if(e=Ma(e)){if(typeof Id!="function")throw Error($(280));var t=e.stateNode;t&&(t=Wc(t),Id(e.stateNode,e.type,t))}}function Gm(e){Ci?_i?_i.push(e):_i=[e]:Ci=e}function Km(){if(Ci){var e=Ci,t=_i;if(_i=Ci=null,G1(e),t)for(e=0;e>>=0,e===0?32:31-(ax(e)/lx|0)|0}var tl=64,nl=4194304;function xs(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Yl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=xs(a):(i&=s,i!==0&&(r=xs(i)))}else s=n&~o,s!==0?r=xs(s):i!==0&&(r=xs(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ra(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Tn(t),e[t]=n}function fx(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=As),nh=" ",rh=!1;function p2(e,t){switch(e){case"keyup":return $x.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function m2(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ci=!1;function Bx(e,t){switch(e){case"compositionend":return m2(t);case"keypress":return t.which!==32?null:(rh=!0,nh);case"textInput":return e=t.data,e===nh&&rh?null:e;default:return null}}function Ux(e,t){if(ci)return e==="compositionend"||!d0&&p2(e,t)?(e=f2(),Rl=l0=zr=null,ci=!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:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ah(n)}}function x2(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?x2(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function w2(){for(var e=window,t=Wl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wl(e.document)}return t}function f0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Jx(e){var t=w2(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&x2(n.ownerDocument.documentElement,n)){if(r!==null&&f0(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=lh(n,i);var s=lh(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,ui=null,Ud=null,Ls=null,Hd=!1;function ch(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hd||ui==null||ui!==Wl(r)||(r=ui,"selectionStart"in r&&f0(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ls&&Qs(Ls,r)||(Ls=r,r=Jl(Ud,"onSelect"),0hi||(e.current=Qd[hi],Qd[hi]=null,hi--)}function Ve(e,t){hi++,Qd[hi]=e.current,e.current=t}var Xr={},Dt=lo(Xr),Xt=lo(!1),Mo=Xr;function Ai(e,t){var n=e.type.contextTypes;if(!n)return Xr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Jt(e){return e=e.childContextTypes,e!=null}function ec(){He(Xt),He(Dt)}function gh(e,t,n){if(Dt.current!==Xr)throw Error($(168));Ve(Dt,t),Ve(Xt,n)}function R2(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error($(108,G6(e)||"Unknown",o));return rt({},n,r)}function tc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Xr,Mo=Dt.current,Ve(Dt,e),Ve(Xt,Xt.current),!0}function vh(e,t,n){var r=e.stateNode;if(!r)throw Error($(169));n?(e=R2(e,t,Mo),r.__reactInternalMemoizedMergedChildContext=e,He(Xt),He(Dt),Ve(Dt,e)):He(Xt),Ve(Xt,n)}var cr=null,Zc=!1,Yu=!1;function T2(e){cr===null?cr=[e]:cr.push(e)}function u8(e){Zc=!0,T2(e)}function co(){if(!Yu&&cr!==null){Yu=!0;var e=0,t=Oe;try{var n=cr;for(Oe=1;e>=s,o-=s,ur=1<<32-Tn(t)+o|n<R?(z=T,T=null):z=T.sibling;var O=h(g,T,w[R],C);if(O===null){T===null&&(T=z);break}e&&T&&O.alternate===null&&t(g,T),m=i(O,m,R),S===null?_=O:S.sibling=O,S=O,T=z}if(R===w.length)return n(g,T),Ye&&go(g,R),_;if(T===null){for(;RR?(z=T,T=null):z=T.sibling;var X=h(g,T,O.value,C);if(X===null){T===null&&(T=z);break}e&&T&&X.alternate===null&&t(g,T),m=i(X,m,R),S===null?_=X:S.sibling=X,S=X,T=z}if(O.done)return n(g,T),Ye&&go(g,R),_;if(T===null){for(;!O.done;R++,O=w.next())O=d(g,O.value,C),O!==null&&(m=i(O,m,R),S===null?_=O:S.sibling=O,S=O);return Ye&&go(g,R),_}for(T=r(g,T);!O.done;R++,O=w.next())O=y(T,g,R,O.value,C),O!==null&&(e&&O.alternate!==null&&T.delete(O.key===null?R:O.key),m=i(O,m,R),S===null?_=O:S.sibling=O,S=O);return e&&T.forEach(function(L){return t(g,L)}),Ye&&go(g,R),_}function b(g,m,w,C){if(typeof w=="object"&&w!==null&&w.type===li&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Ja:e:{for(var _=w.key,S=m;S!==null;){if(S.key===_){if(_=w.type,_===li){if(S.tag===7){n(g,S.sibling),m=o(S,w.props.children),m.return=g,g=m;break e}}else if(S.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Ar&&wh(_)===S.type){n(g,S.sibling),m=o(S,w.props),m.ref=as(g,S,w),m.return=g,g=m;break e}n(g,S);break}else t(g,S);S=S.sibling}w.type===li?(m=No(w.props.children,g.mode,C,w.key),m.return=g,g=m):(C=Il(w.type,w.key,w.props,null,g.mode,C),C.ref=as(g,m,w),C.return=g,g=C)}return s(g);case ai:e:{for(S=w.key;m!==null;){if(m.key===S)if(m.tag===4&&m.stateNode.containerInfo===w.containerInfo&&m.stateNode.implementation===w.implementation){n(g,m.sibling),m=o(m,w.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=rd(w,g.mode,C),m.return=g,g=m}return s(g);case Ar:return S=w._init,b(g,m,S(w._payload),C)}if(ys(w))return x(g,m,w,C);if(ns(w))return v(g,m,w,C);cl(g,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,m!==null&&m.tag===6?(n(g,m.sibling),m=o(m,w),m.return=g,g=m):(n(g,m),m=nd(w,g.mode,C),m.return=g,g=m),s(g)):n(g,m)}return b}var Li=A2(!0),O2=A2(!1),oc=lo(null),ic=null,gi=null,g0=null;function v0(){g0=gi=ic=null}function y0(e){var t=oc.current;He(oc),e._currentValue=t}function qd(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ki(e,t){ic=e,g0=gi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Qt=!0),e.firstContext=null)}function yn(e){var t=e._currentValue;if(g0!==e)if(e={context:e,memoizedValue:t,next:null},gi===null){if(ic===null)throw Error($(308));gi=e,ic.dependencies={lanes:0,firstContext:e}}else gi=gi.next=e;return t}var wo=null;function x0(e){wo===null?wo=[e]:wo.push(e)}function L2(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,x0(t)):(n.next=o.next,o.next=n),t.interleaved=n,gr(e,r)}function gr(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Or=!1;function w0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function I2(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function fr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Re&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,gr(e,n)}return o=r.interleaved,o===null?(t.next=t,x0(r)):(t.next=o.next,o.next=t),r.interleaved=t,gr(e,n)}function Ml(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,i0(e,n)}}function bh(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function sc(e,t,n,r){var o=e.updateQueue;Or=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==s&&(a===null?f.firstBaseUpdate=u:a.next=u,f.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;s=0,f=u=l=null,a=i;do{var h=a.lane,y=a.eventTime;if((r&h)===h){f!==null&&(f=f.next={eventTime:y,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,v=a;switch(h=t,y=n,v.tag){case 1:if(x=v.payload,typeof x=="function"){d=x.call(y,d,h);break e}d=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=v.payload,h=typeof x=="function"?x.call(y,d,h):x,h==null)break e;d=rt({},d,h);break e;case 2:Or=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[a]:h.push(a))}else y={eventTime:y,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(u=f=y,l=d):f=f.next=y,s|=h;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;h=a,a=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(f===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Ao|=s,e.lanes=s,e.memoizedState=d}}function Sh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Xu.transition;Xu.transition={};try{e(!1),t()}finally{Oe=n,Xu.transition=r}}function eg(){return xn().memoizedState}function p8(e,t,n){var r=Kr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},tg(e))ng(t,n);else if(n=L2(e,t,n,r),n!==null){var o=$t();Mn(n,e,r,o),rg(n,t,r)}}function m8(e,t,n){var r=Kr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(tg(e))ng(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,Dn(a,s)){var l=t.interleaved;l===null?(o.next=o,x0(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=L2(e,t,o,r),n!==null&&(o=$t(),Mn(n,e,r,o),rg(n,t,r))}}function tg(e){var t=e.alternate;return e===nt||t!==null&&t===nt}function ng(e,t){Is=lc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function rg(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,i0(e,n)}}var cc={readContext:yn,useCallback:Rt,useContext:Rt,useEffect:Rt,useImperativeHandle:Rt,useInsertionEffect:Rt,useLayoutEffect:Rt,useMemo:Rt,useReducer:Rt,useRef:Rt,useState:Rt,useDebugValue:Rt,useDeferredValue:Rt,useTransition:Rt,useMutableSource:Rt,useSyncExternalStore:Rt,useId:Rt,unstable_isNewReconciler:!1},g8={readContext:yn,useCallback:function(e,t){return Un().memoizedState=[e,t===void 0?null:t],e},useContext:yn,useEffect:_h,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Dl(4194308,4,Y2.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Dl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Dl(4,2,e,t)},useMemo:function(e,t){var n=Un();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Un();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=p8.bind(null,nt,e),[r.memoizedState,e]},useRef:function(e){var t=Un();return e={current:e},t.memoizedState=e},useState:Ch,useDebugValue:N0,useDeferredValue:function(e){return Un().memoizedState=e},useTransition:function(){var e=Ch(!1),t=e[0];return e=h8.bind(null,e[1]),Un().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=nt,o=Un();if(Ye){if(n===void 0)throw Error($(407));n=n()}else{if(n=t(),bt===null)throw Error($(349));Do&30||V2(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,_h(U2.bind(null,r,i,e),[e]),r.flags|=2048,oa(9,B2.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Un(),t=bt.identifierPrefix;if(Ye){var n=dr,r=ur;n=(r&~(1<<32-Tn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=na++,0")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Au=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?vs(e):""}function Z6(e){switch(e.tag){case 5:return vs(e.type);case 16:return vs("Lazy");case 13:return vs("Suspense");case 19:return vs("SuspenseList");case 0:case 2:case 15:return e=Ou(e.type,!1),e;case 11:return e=Ou(e.type.render,!1),e;case 1:return e=Ou(e.type,!0),e;default:return""}}function Nd(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case li:return"Fragment";case ai:return"Portal";case Ed:return"Profiler";case e0:return"StrictMode";case kd:return"Suspense";case jd:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Im:return(e.displayName||"Context")+".Consumer";case Lm:return(e._context.displayName||"Context")+".Provider";case t0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case n0:return t=e.displayName||null,t!==null?t:Nd(e.type)||"Memo";case Ar:t=e._payload,e=e._init;try{return Nd(e(t))}catch{}}return null}function G6(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Nd(t);case 8:return t===e0?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Qr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function zm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function K6(e){var t=zm(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function qa(e){e._valueTracker||(e._valueTracker=K6(e))}function $m(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=zm(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Wl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Rd(e,t){var n=t.checked;return rt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function U1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Qr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Vm(e,t){t=t.checked,t!=null&&qf(e,"checked",t,!1)}function Td(e,t){Vm(e,t);var n=Qr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Md(e,t.type,n):t.hasOwnProperty("defaultValue")&&Md(e,t.type,Qr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function H1(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Md(e,t,n){(t!=="number"||Wl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ys=Array.isArray;function Si(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=el.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Hs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ps={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Y6=["Webkit","ms","Moz","O"];Object.keys(Ps).forEach(function(e){Y6.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ps[t]=Ps[e]})});function Wm(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ps.hasOwnProperty(e)&&Ps[e]?(""+t).trim():t+"px"}function Zm(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Wm(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Q6=rt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ad(e,t){if(t){if(Q6[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error($(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error($(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error($(61))}if(t.style!=null&&typeof t.style!="object")throw Error($(62))}}function Od(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ld=null;function r0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Id=null,Ci=null,_i=null;function G1(e){if(e=Ma(e)){if(typeof Id!="function")throw Error($(280));var t=e.stateNode;t&&(t=Wc(t),Id(e.stateNode,e.type,t))}}function Gm(e){Ci?_i?_i.push(e):_i=[e]:Ci=e}function Km(){if(Ci){var e=Ci,t=_i;if(_i=Ci=null,G1(e),t)for(e=0;e>>=0,e===0?32:31-(ax(e)/lx|0)|0}var tl=64,nl=4194304;function xs(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Yl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=xs(a):(i&=s,i!==0&&(r=xs(i)))}else s=n&~o,s!==0?r=xs(s):i!==0&&(r=xs(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ra(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Mn(t),e[t]=n}function fx(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=As),nh=" ",rh=!1;function p2(e,t){switch(e){case"keyup":return $x.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function m2(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ci=!1;function Bx(e,t){switch(e){case"compositionend":return m2(t);case"keypress":return t.which!==32?null:(rh=!0,nh);case"textInput":return e=t.data,e===nh&&rh?null:e;default:return null}}function Ux(e,t){if(ci)return e==="compositionend"||!d0&&p2(e,t)?(e=f2(),Rl=l0=zr=null,ci=!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:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ah(n)}}function x2(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?x2(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function w2(){for(var e=window,t=Wl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wl(e.document)}return t}function f0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Jx(e){var t=w2(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&x2(n.ownerDocument.documentElement,n)){if(r!==null&&f0(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=lh(n,i);var s=lh(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,ui=null,Ud=null,Ls=null,Hd=!1;function ch(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hd||ui==null||ui!==Wl(r)||(r=ui,"selectionStart"in r&&f0(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ls&&Qs(Ls,r)||(Ls=r,r=Jl(Ud,"onSelect"),0hi||(e.current=Qd[hi],Qd[hi]=null,hi--)}function Ve(e,t){hi++,Qd[hi]=e.current,e.current=t}var Xr={},Dt=co(Xr),Xt=co(!1),Po=Xr;function Ai(e,t){var n=e.type.contextTypes;if(!n)return Xr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Jt(e){return e=e.childContextTypes,e!=null}function ec(){He(Xt),He(Dt)}function gh(e,t,n){if(Dt.current!==Xr)throw Error($(168));Ve(Dt,t),Ve(Xt,n)}function R2(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error($(108,G6(e)||"Unknown",o));return rt({},n,r)}function tc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Xr,Po=Dt.current,Ve(Dt,e),Ve(Xt,Xt.current),!0}function vh(e,t,n){var r=e.stateNode;if(!r)throw Error($(169));n?(e=R2(e,t,Po),r.__reactInternalMemoizedMergedChildContext=e,He(Xt),He(Dt),Ve(Dt,e)):He(Xt),Ve(Xt,n)}var cr=null,Zc=!1,Yu=!1;function T2(e){cr===null?cr=[e]:cr.push(e)}function u8(e){Zc=!0,T2(e)}function uo(){if(!Yu&&cr!==null){Yu=!0;var e=0,t=Oe;try{var n=cr;for(Oe=1;e>=s,o-=s,ur=1<<32-Mn(t)+o|n<R?(z=T,T=null):z=T.sibling;var O=h(g,T,w[R],C);if(O===null){T===null&&(T=z);break}e&&T&&O.alternate===null&&t(g,T),m=i(O,m,R),S===null?_=O:S.sibling=O,S=O,T=z}if(R===w.length)return n(g,T),Ye&&vo(g,R),_;if(T===null){for(;RR?(z=T,T=null):z=T.sibling;var X=h(g,T,O.value,C);if(X===null){T===null&&(T=z);break}e&&T&&X.alternate===null&&t(g,T),m=i(X,m,R),S===null?_=X:S.sibling=X,S=X,T=z}if(O.done)return n(g,T),Ye&&vo(g,R),_;if(T===null){for(;!O.done;R++,O=w.next())O=d(g,O.value,C),O!==null&&(m=i(O,m,R),S===null?_=O:S.sibling=O,S=O);return Ye&&vo(g,R),_}for(T=r(g,T);!O.done;R++,O=w.next())O=y(T,g,R,O.value,C),O!==null&&(e&&O.alternate!==null&&T.delete(O.key===null?R:O.key),m=i(O,m,R),S===null?_=O:S.sibling=O,S=O);return e&&T.forEach(function(L){return t(g,L)}),Ye&&vo(g,R),_}function b(g,m,w,C){if(typeof w=="object"&&w!==null&&w.type===li&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Ja:e:{for(var _=w.key,S=m;S!==null;){if(S.key===_){if(_=w.type,_===li){if(S.tag===7){n(g,S.sibling),m=o(S,w.props.children),m.return=g,g=m;break e}}else if(S.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Ar&&wh(_)===S.type){n(g,S.sibling),m=o(S,w.props),m.ref=as(g,S,w),m.return=g,g=m;break e}n(g,S);break}else t(g,S);S=S.sibling}w.type===li?(m=Ro(w.props.children,g.mode,C,w.key),m.return=g,g=m):(C=Il(w.type,w.key,w.props,null,g.mode,C),C.ref=as(g,m,w),C.return=g,g=C)}return s(g);case ai:e:{for(S=w.key;m!==null;){if(m.key===S)if(m.tag===4&&m.stateNode.containerInfo===w.containerInfo&&m.stateNode.implementation===w.implementation){n(g,m.sibling),m=o(m,w.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=rd(w,g.mode,C),m.return=g,g=m}return s(g);case Ar:return S=w._init,b(g,m,S(w._payload),C)}if(ys(w))return x(g,m,w,C);if(ns(w))return v(g,m,w,C);cl(g,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,m!==null&&m.tag===6?(n(g,m.sibling),m=o(m,w),m.return=g,g=m):(n(g,m),m=nd(w,g.mode,C),m.return=g,g=m),s(g)):n(g,m)}return b}var Li=A2(!0),O2=A2(!1),oc=co(null),ic=null,gi=null,g0=null;function v0(){g0=gi=ic=null}function y0(e){var t=oc.current;He(oc),e._currentValue=t}function qd(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ki(e,t){ic=e,g0=gi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Qt=!0),e.firstContext=null)}function yn(e){var t=e._currentValue;if(g0!==e)if(e={context:e,memoizedValue:t,next:null},gi===null){if(ic===null)throw Error($(308));gi=e,ic.dependencies={lanes:0,firstContext:e}}else gi=gi.next=e;return t}var bo=null;function x0(e){bo===null?bo=[e]:bo.push(e)}function L2(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,x0(t)):(n.next=o.next,o.next=n),t.interleaved=n,gr(e,r)}function gr(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Or=!1;function w0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function I2(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function fr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Re&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,gr(e,n)}return o=r.interleaved,o===null?(t.next=t,x0(r)):(t.next=o.next,o.next=t),r.interleaved=t,gr(e,n)}function Ml(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,i0(e,n)}}function bh(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function sc(e,t,n,r){var o=e.updateQueue;Or=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==s&&(a===null?f.firstBaseUpdate=u:a.next=u,f.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;s=0,f=u=l=null,a=i;do{var h=a.lane,y=a.eventTime;if((r&h)===h){f!==null&&(f=f.next={eventTime:y,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,v=a;switch(h=t,y=n,v.tag){case 1:if(x=v.payload,typeof x=="function"){d=x.call(y,d,h);break e}d=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=v.payload,h=typeof x=="function"?x.call(y,d,h):x,h==null)break e;d=rt({},d,h);break e;case 2:Or=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[a]:h.push(a))}else y={eventTime:y,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(u=f=y,l=d):f=f.next=y,s|=h;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;h=a,a=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(f===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Oo|=s,e.lanes=s,e.memoizedState=d}}function Sh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Xu.transition;Xu.transition={};try{e(!1),t()}finally{Oe=n,Xu.transition=r}}function eg(){return xn().memoizedState}function p8(e,t,n){var r=Kr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},tg(e))ng(t,n);else if(n=L2(e,t,n,r),n!==null){var o=$t();Pn(n,e,r,o),rg(n,t,r)}}function m8(e,t,n){var r=Kr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(tg(e))ng(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,An(a,s)){var l=t.interleaved;l===null?(o.next=o,x0(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=L2(e,t,o,r),n!==null&&(o=$t(),Pn(n,e,r,o),rg(n,t,r))}}function tg(e){var t=e.alternate;return e===nt||t!==null&&t===nt}function ng(e,t){Is=lc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function rg(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,i0(e,n)}}var cc={readContext:yn,useCallback:Rt,useContext:Rt,useEffect:Rt,useImperativeHandle:Rt,useInsertionEffect:Rt,useLayoutEffect:Rt,useMemo:Rt,useReducer:Rt,useRef:Rt,useState:Rt,useDebugValue:Rt,useDeferredValue:Rt,useTransition:Rt,useMutableSource:Rt,useSyncExternalStore:Rt,useId:Rt,unstable_isNewReconciler:!1},g8={readContext:yn,useCallback:function(e,t){return Un().memoizedState=[e,t===void 0?null:t],e},useContext:yn,useEffect:_h,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Dl(4194308,4,Y2.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Dl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Dl(4,2,e,t)},useMemo:function(e,t){var n=Un();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Un();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=p8.bind(null,nt,e),[r.memoizedState,e]},useRef:function(e){var t=Un();return e={current:e},t.memoizedState=e},useState:Ch,useDebugValue:N0,useDeferredValue:function(e){return Un().memoizedState=e},useTransition:function(){var e=Ch(!1),t=e[0];return e=h8.bind(null,e[1]),Un().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=nt,o=Un();if(Ye){if(n===void 0)throw Error($(407));n=n()}else{if(n=t(),bt===null)throw Error($(349));Ao&30||V2(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,_h(U2.bind(null,r,i,e),[e]),r.flags|=2048,oa(9,B2.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Un(),t=bt.identifierPrefix;if(Ye){var n=dr,r=ur;n=(r&~(1<<32-Mn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=na++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Hn]=t,e[qs]=r,hg(e,t,!1,!1),t.stateNode=e;e:{switch(s=Od(n,r),n){case"dialog":Ue("cancel",e),Ue("close",e),o=r;break;case"iframe":case"object":case"embed":Ue("load",e),o=r;break;case"video":case"audio":for(o=0;ozi&&(t.flags|=128,r=!0,ls(i,!1),t.lanes=4194304)}else{if(!r)if(e=ac(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ls(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Ye)return Tt(t),null}else 2*lt()-i.renderingStartTime>zi&&n!==1073741824&&(t.flags|=128,r=!0,ls(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=lt(),t.sibling=null,n=tt.current,Ve(tt,r?n&1|2:n&1),t):(Tt(t),null);case 22:case 23:return A0(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?nn&1073741824&&(Tt(t),t.subtreeFlags&6&&(t.flags|=8192)):Tt(t),null;case 24:return null;case 25:return null}throw Error($(156,t.tag))}function _8(e,t){switch(p0(t),t.tag){case 1:return Jt(t.type)&&ec(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ii(),He(Xt),He(Dt),C0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return S0(t),null;case 13:if(He(tt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error($(340));Oi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return He(tt),null;case 4:return Ii(),null;case 10:return y0(t.type._context),null;case 22:case 23:return A0(),null;case 24:return null;default:return null}}var dl=!1,Mt=!1,E8=typeof WeakSet=="function"?WeakSet:Set,re=null;function vi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){it(e,t,r)}else n.current=null}function cf(e,t,n){try{n()}catch(r){it(e,t,r)}}var Oh=!1;function k8(e,t){if(Wd=Ql,e=w2(),f0(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,f=0,d=e,h=null;t:for(;;){for(var y;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(y=d.firstChild)!==null;)h=d,d=y;for(;;){if(d===e)break t;if(h===n&&++u===o&&(a=s),h===i&&++f===r&&(l=s),(y=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=y}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Zd={focusedElem:e,selectionRange:n},Ql=!1,re=t;re!==null;)if(t=re,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,re=e;else for(;re!==null;){t=re;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var v=x.memoizedProps,b=x.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:Cn(t.type,v),b);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error($(163))}}catch(C){it(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,re=e;break}re=t.return}return x=Oh,Oh=!1,x}function Fs(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&cf(t,n,i)}o=o.next}while(o!==r)}}function Yc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function uf(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function gg(e){var t=e.alternate;t!==null&&(e.alternate=null,gg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Hn],delete t[qs],delete t[Yd],delete t[l8],delete t[c8])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function vg(e){return e.tag===5||e.tag===3||e.tag===4}function Lh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function df(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ql));else if(r!==4&&(e=e.child,e!==null))for(df(e,t,n),e=e.sibling;e!==null;)df(e,t,n),e=e.sibling}function ff(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ff(e,t,n),e=e.sibling;e!==null;)ff(e,t,n),e=e.sibling}var Et=null,_n=!1;function jr(e,t,n){for(n=n.child;n!==null;)yg(e,t,n),n=n.sibling}function yg(e,t,n){if(Yn&&typeof Yn.onCommitFiberUnmount=="function")try{Yn.onCommitFiberUnmount(Vc,n)}catch{}switch(n.tag){case 5:Mt||vi(n,t);case 6:var r=Et,o=_n;Et=null,jr(e,t,n),Et=r,_n=o,Et!==null&&(_n?(e=Et,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Et.removeChild(n.stateNode));break;case 18:Et!==null&&(_n?(e=Et,n=n.stateNode,e.nodeType===8?Ku(e.parentNode,n):e.nodeType===1&&Ku(e,n),Ks(e)):Ku(Et,n.stateNode));break;case 4:r=Et,o=_n,Et=n.stateNode.containerInfo,_n=!0,jr(e,t,n),Et=r,_n=o;break;case 0:case 11:case 14:case 15:if(!Mt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&cf(n,t,s),o=o.next}while(o!==r)}jr(e,t,n);break;case 1:if(!Mt&&(vi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){it(n,t,a)}jr(e,t,n);break;case 21:jr(e,t,n);break;case 22:n.mode&1?(Mt=(r=Mt)||n.memoizedState!==null,jr(e,t,n),Mt=r):jr(e,t,n);break;default:jr(e,t,n)}}function Ih(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new E8),t.forEach(function(r){var o=O8.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Sn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=lt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*N8(r/1960))-r,10e?16:e,$r===null)var r=!1;else{if(e=$r,$r=null,fc=0,Re&6)throw Error($(331));var o=Re;for(Re|=4,re=e.current;re!==null;){var i=re,s=i.child;if(re.flags&16){var a=i.deletions;if(a!==null){for(var l=0;llt()-P0?jo(e,0):M0|=n),qt(e,t)}function kg(e,t){t===0&&(e.mode&1?(t=nl,nl<<=1,!(nl&130023424)&&(nl=4194304)):t=1);var n=$t();e=gr(e,t),e!==null&&(Ra(e,t,n),qt(e,n))}function A8(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),kg(e,n)}function O8(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error($(314))}r!==null&&r.delete(t),kg(e,n)}var jg;jg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Xt.current)Qt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Qt=!1,S8(e,t,n);Qt=!!(e.flags&131072)}else Qt=!1,Ye&&t.flags&1048576&&M2(t,rc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Al(e,t),e=t.pendingProps;var o=Ai(t,Dt.current);ki(t,n),o=E0(null,t,r,e,o,n);var i=k0();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Jt(r)?(i=!0,tc(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,w0(t),o.updater=Kc,t.stateNode=o,o._reactInternals=t,tf(t,r,e,n),t=of(null,t,r,!0,i,n)):(t.tag=0,Ye&&i&&h0(t),Ft(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Al(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=I8(r),e=Cn(r,e),o){case 0:t=rf(null,t,r,e,n);break e;case 1:t=Ph(null,t,r,e,n);break e;case 11:t=Th(null,t,r,e,n);break e;case 14:t=Mh(null,t,r,Cn(r.type,e),n);break e}throw Error($(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Cn(r,o),rf(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Cn(r,o),Ph(e,t,r,o,n);case 3:e:{if(ug(t),e===null)throw Error($(387));r=t.pendingProps,i=t.memoizedState,o=i.element,I2(e,t),sc(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Fi(Error($(423)),t),t=Dh(e,t,r,n,o);break e}else if(r!==o){o=Fi(Error($(424)),t),t=Dh(e,t,r,n,o);break e}else for(sn=Wr(t.stateNode.containerInfo.firstChild),an=t,Ye=!0,kn=null,n=O2(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Oi(),r===o){t=vr(e,t,n);break e}Ft(e,t,r,n)}t=t.child}return t;case 5:return F2(t),e===null&&Jd(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Gd(r,o)?s=null:i!==null&&Gd(r,i)&&(t.flags|=32),cg(e,t),Ft(e,t,s,n),t.child;case 6:return e===null&&Jd(t),null;case 13:return dg(e,t,n);case 4:return b0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Li(t,null,r,n):Ft(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Cn(r,o),Th(e,t,r,o,n);case 7:return Ft(e,t,t.pendingProps,n),t.child;case 8:return Ft(e,t,t.pendingProps.children,n),t.child;case 12:return Ft(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,Ve(oc,r._currentValue),r._currentValue=s,i!==null)if(Dn(i.value,s)){if(i.children===o.children&&!Xt.current){t=vr(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=fr(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?l.next=l:(l.next=f.next,f.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),qd(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error($(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),qd(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Ft(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,ki(t,n),o=yn(o),r=r(o),t.flags|=1,Ft(e,t,r,n),t.child;case 14:return r=t.type,o=Cn(r,t.pendingProps),o=Cn(r.type,o),Mh(e,t,r,o,n);case 15:return ag(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Cn(r,o),Al(e,t),t.tag=1,Jt(r)?(e=!0,tc(t)):e=!1,ki(t,n),og(t,r,o),tf(t,r,o,n),of(null,t,r,!0,e,n);case 19:return fg(e,t,n);case 22:return lg(e,t,n)}throw Error($(156,t.tag))};function Ng(e,t){return t2(e,t)}function L8(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function mn(e,t,n,r){return new L8(e,t,n,r)}function L0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function I8(e){if(typeof e=="function")return L0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===t0)return 11;if(e===n0)return 14}return 2}function Yr(e,t){var n=e.alternate;return n===null?(n=mn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Il(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")L0(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case li:return No(n.children,o,i,t);case e0:s=8,o|=8;break;case Ed:return e=mn(12,n,t,o|2),e.elementType=Ed,e.lanes=i,e;case kd:return e=mn(13,n,t,o),e.elementType=kd,e.lanes=i,e;case jd:return e=mn(19,n,t,o),e.elementType=jd,e.lanes=i,e;case Fm:return Xc(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Lm:s=10;break e;case Im:s=9;break e;case t0:s=11;break e;case n0:s=14;break e;case Ar:s=16,r=null;break e}throw Error($(130,e==null?e:typeof e,""))}return t=mn(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function No(e,t,n,r){return e=mn(7,e,r,t),e.lanes=n,e}function Xc(e,t,n,r){return e=mn(22,e,r,t),e.elementType=Fm,e.lanes=n,e.stateNode={isHidden:!1},e}function nd(e,t,n){return e=mn(6,e,null,t),e.lanes=n,e}function rd(e,t,n){return t=mn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function F8(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Iu(0),this.expirationTimes=Iu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Iu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function I0(e,t,n,r,o,i,s,a,l){return e=new F8(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=mn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},w0(i),e}function z8(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Pg)}catch(e){console.error(e)}}Pg(),Pm.exports=dn;var Qi=Pm.exports;const V0=Zf(Qi),H8=xm({__proto__:null,default:V0},[Qi]);/** +`+i.stack}return{value:e,source:t,stack:o,digest:null}}function ed(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function nf(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var x8=typeof WeakMap=="function"?WeakMap:Map;function ig(e,t,n){n=fr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){dc||(dc=!0,hf=r),nf(e,t)},n}function sg(e,t,n){n=fr(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){nf(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){nf(e,t),typeof r!="function"&&(Gr===null?Gr=new Set([this]):Gr.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function jh(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new x8;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=D8.bind(null,e,t,n),t.then(e,e))}function Nh(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Rh(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=fr(-1,1),t.tag=2,Zr(n,t,1))),n.lanes|=1),e)}var w8=br.ReactCurrentOwner,Qt=!1;function Ft(e,t,n,r){t.child=e===null?O2(t,null,n,r):Li(t,e.child,n,r)}function Th(e,t,n,r,o){n=n.render;var i=t.ref;return ki(t,o),r=E0(e,t,n,r,i,o),n=k0(),e!==null&&!Qt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,vr(e,t,o)):(Ye&&n&&h0(t),t.flags|=1,Ft(e,t,r,o),t.child)}function Mh(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!L0(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,ag(e,t,i,r,o)):(e=Il(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Qs,n(s,r)&&e.ref===t.ref)return vr(e,t,o)}return t.flags|=1,e=Yr(i,r),e.ref=t.ref,e.return=t,t.child=e}function ag(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Qs(i,r)&&e.ref===t.ref)if(Qt=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Qt=!0);else return t.lanes=e.lanes,vr(e,t,o)}return rf(e,t,n,r,o)}function lg(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ve(yi,nn),nn|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ve(yi,nn),nn|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Ve(yi,nn),nn|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ve(yi,nn),nn|=r;return Ft(e,t,o,n),t.child}function cg(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function rf(e,t,n,r,o){var i=Jt(n)?Po:Dt.current;return i=Ai(t,i),ki(t,o),n=E0(e,t,n,r,i,o),r=k0(),e!==null&&!Qt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,vr(e,t,o)):(Ye&&r&&h0(t),t.flags|=1,Ft(e,t,n,o),t.child)}function Ph(e,t,n,r,o){if(Jt(n)){var i=!0;tc(t)}else i=!1;if(ki(t,o),t.stateNode===null)Al(e,t),og(t,n,r),tf(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=yn(u):(u=Jt(n)?Po:Dt.current,u=Ai(t,u));var f=n.getDerivedStateFromProps,d=typeof f=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&kh(t,s,r,u),Or=!1;var h=t.memoizedState;s.state=h,sc(t,r,s,o),l=t.memoizedState,a!==r||h!==l||Xt.current||Or?(typeof f=="function"&&(ef(t,n,f,r),l=t.memoizedState),(a=Or||Eh(t,n,a,r,h,l,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,I2(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:_n(t.type,a),s.props=u,d=t.pendingProps,h=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=yn(l):(l=Jt(n)?Po:Dt.current,l=Ai(t,l));var y=n.getDerivedStateFromProps;(f=typeof y=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||h!==l)&&kh(t,s,r,l),Or=!1,h=t.memoizedState,s.state=h,sc(t,r,s,o);var x=t.memoizedState;a!==d||h!==x||Xt.current||Or?(typeof y=="function"&&(ef(t,n,y,r),x=t.memoizedState),(u=Or||Eh(t,n,u,r,h,x,l)||!1)?(f||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,x,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,x,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),s.props=r,s.state=x,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return of(e,t,n,r,i,o)}function of(e,t,n,r,o,i){cg(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&vh(t,n,!1),vr(e,t,i);r=t.stateNode,w8.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Li(t,e.child,null,i),t.child=Li(t,null,a,i)):Ft(e,t,a,i),t.memoizedState=r.state,o&&vh(t,n,!0),t.child}function ug(e){var t=e.stateNode;t.pendingContext?gh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&gh(e,t.context,!1),b0(e,t.containerInfo)}function Dh(e,t,n,r,o){return Oi(),m0(o),t.flags|=256,Ft(e,t,n,r),t.child}var sf={dehydrated:null,treeContext:null,retryLane:0};function af(e){return{baseLanes:e,cachePool:null,transitions:null}}function dg(e,t,n){var r=t.pendingProps,o=tt.current,i=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Ve(tt,o&1),e===null)return Jd(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=Xc(s,r,0,null),e=Ro(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=af(n),t.memoizedState=sf,e):R0(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return b8(e,t,s,r,a,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Yr(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=Yr(a,i):(i=Ro(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?af(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=sf,r}return i=e.child,e=i.sibling,r=Yr(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function R0(e,t){return t=Xc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ul(e,t,n,r){return r!==null&&m0(r),Li(t,e.child,null,n),e=R0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function b8(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=ed(Error($(422))),ul(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Xc({mode:"visible",children:r.children},o,0,null),i=Ro(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Li(t,e.child,null,s),t.child.memoizedState=af(s),t.memoizedState=sf,i);if(!(t.mode&1))return ul(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error($(419)),r=ed(i,r,void 0),ul(e,t,s,r)}if(a=(s&e.childLanes)!==0,Qt||a){if(r=bt,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,gr(e,o),Pn(r,e,o,-1))}return O0(),r=ed(Error($(421))),ul(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=A8.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,sn=Wr(o.nextSibling),an=t,Ye=!0,jn=null,e!==null&&(hn[pn++]=ur,hn[pn++]=dr,hn[pn++]=Do,ur=e.id,dr=e.overflow,Do=t),t=R0(t,r.children),t.flags|=4096,t)}function Ah(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),qd(e.return,t,n)}function td(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function fg(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ft(e,t,r.children,n),r=tt.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ah(e,n,t);else if(e.tag===19)Ah(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ve(tt,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&ac(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),td(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&ac(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}td(t,!0,n,null,i);break;case"together":td(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Al(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function vr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Oo|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error($(153));if(t.child!==null){for(e=t.child,n=Yr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Yr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function S8(e,t,n){switch(t.tag){case 3:ug(t),Oi();break;case 5:F2(t);break;case 1:Jt(t.type)&&tc(t);break;case 4:b0(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Ve(oc,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ve(tt,tt.current&1),t.flags|=128,null):n&t.child.childLanes?dg(e,t,n):(Ve(tt,tt.current&1),e=vr(e,t,n),e!==null?e.sibling:null);Ve(tt,tt.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return fg(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ve(tt,tt.current),r)break;return null;case 22:case 23:return t.lanes=0,lg(e,t,n)}return vr(e,t,n)}var hg,lf,pg,mg;hg=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};lf=function(){};pg=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,So(Qn.current);var i=null;switch(n){case"input":o=Rd(e,o),r=Rd(e,r),i=[];break;case"select":o=rt({},o,{value:void 0}),r=rt({},r,{value:void 0}),i=[];break;case"textarea":o=Pd(e,o),r=Pd(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ql)}Ad(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Us.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Us.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Ue("scroll",e),i||a===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};mg=function(e,t,n,r){n!==r&&(t.flags|=4)};function ls(e,t){if(!Ye)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Tt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function C8(e,t,n){var r=t.pendingProps;switch(p0(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Tt(t),null;case 1:return Jt(t.type)&&ec(),Tt(t),null;case 3:return r=t.stateNode,Ii(),He(Xt),He(Dt),C0(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ll(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,jn!==null&&(gf(jn),jn=null))),lf(e,t),Tt(t),null;case 5:S0(t);var o=So(ta.current);if(n=t.type,e!==null&&t.stateNode!=null)pg(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error($(166));return Tt(t),null}if(e=So(Qn.current),ll(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Hn]=t,r[qs]=i,e=(t.mode&1)!==0,n){case"dialog":Ue("cancel",r),Ue("close",r);break;case"iframe":case"object":case"embed":Ue("load",r);break;case"video":case"audio":for(o=0;o<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Hn]=t,e[qs]=r,hg(e,t,!1,!1),t.stateNode=e;e:{switch(s=Od(n,r),n){case"dialog":Ue("cancel",e),Ue("close",e),o=r;break;case"iframe":case"object":case"embed":Ue("load",e),o=r;break;case"video":case"audio":for(o=0;ozi&&(t.flags|=128,r=!0,ls(i,!1),t.lanes=4194304)}else{if(!r)if(e=ac(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ls(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Ye)return Tt(t),null}else 2*lt()-i.renderingStartTime>zi&&n!==1073741824&&(t.flags|=128,r=!0,ls(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=lt(),t.sibling=null,n=tt.current,Ve(tt,r?n&1|2:n&1),t):(Tt(t),null);case 22:case 23:return A0(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?nn&1073741824&&(Tt(t),t.subtreeFlags&6&&(t.flags|=8192)):Tt(t),null;case 24:return null;case 25:return null}throw Error($(156,t.tag))}function _8(e,t){switch(p0(t),t.tag){case 1:return Jt(t.type)&&ec(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ii(),He(Xt),He(Dt),C0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return S0(t),null;case 13:if(He(tt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error($(340));Oi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return He(tt),null;case 4:return Ii(),null;case 10:return y0(t.type._context),null;case 22:case 23:return A0(),null;case 24:return null;default:return null}}var dl=!1,Mt=!1,E8=typeof WeakSet=="function"?WeakSet:Set,re=null;function vi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){it(e,t,r)}else n.current=null}function cf(e,t,n){try{n()}catch(r){it(e,t,r)}}var Oh=!1;function k8(e,t){if(Wd=Ql,e=w2(),f0(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,f=0,d=e,h=null;t:for(;;){for(var y;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(y=d.firstChild)!==null;)h=d,d=y;for(;;){if(d===e)break t;if(h===n&&++u===o&&(a=s),h===i&&++f===r&&(l=s),(y=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=y}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Zd={focusedElem:e,selectionRange:n},Ql=!1,re=t;re!==null;)if(t=re,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,re=e;else for(;re!==null;){t=re;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var v=x.memoizedProps,b=x.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:_n(t.type,v),b);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error($(163))}}catch(C){it(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,re=e;break}re=t.return}return x=Oh,Oh=!1,x}function Fs(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&cf(t,n,i)}o=o.next}while(o!==r)}}function Yc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function uf(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function gg(e){var t=e.alternate;t!==null&&(e.alternate=null,gg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Hn],delete t[qs],delete t[Yd],delete t[l8],delete t[c8])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function vg(e){return e.tag===5||e.tag===3||e.tag===4}function Lh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function df(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ql));else if(r!==4&&(e=e.child,e!==null))for(df(e,t,n),e=e.sibling;e!==null;)df(e,t,n),e=e.sibling}function ff(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ff(e,t,n),e=e.sibling;e!==null;)ff(e,t,n),e=e.sibling}var Et=null,En=!1;function jr(e,t,n){for(n=n.child;n!==null;)yg(e,t,n),n=n.sibling}function yg(e,t,n){if(Yn&&typeof Yn.onCommitFiberUnmount=="function")try{Yn.onCommitFiberUnmount(Vc,n)}catch{}switch(n.tag){case 5:Mt||vi(n,t);case 6:var r=Et,o=En;Et=null,jr(e,t,n),Et=r,En=o,Et!==null&&(En?(e=Et,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Et.removeChild(n.stateNode));break;case 18:Et!==null&&(En?(e=Et,n=n.stateNode,e.nodeType===8?Ku(e.parentNode,n):e.nodeType===1&&Ku(e,n),Ks(e)):Ku(Et,n.stateNode));break;case 4:r=Et,o=En,Et=n.stateNode.containerInfo,En=!0,jr(e,t,n),Et=r,En=o;break;case 0:case 11:case 14:case 15:if(!Mt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&cf(n,t,s),o=o.next}while(o!==r)}jr(e,t,n);break;case 1:if(!Mt&&(vi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){it(n,t,a)}jr(e,t,n);break;case 21:jr(e,t,n);break;case 22:n.mode&1?(Mt=(r=Mt)||n.memoizedState!==null,jr(e,t,n),Mt=r):jr(e,t,n);break;default:jr(e,t,n)}}function Ih(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new E8),t.forEach(function(r){var o=O8.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Cn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=lt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*N8(r/1960))-r,10e?16:e,$r===null)var r=!1;else{if(e=$r,$r=null,fc=0,Re&6)throw Error($(331));var o=Re;for(Re|=4,re=e.current;re!==null;){var i=re,s=i.child;if(re.flags&16){var a=i.deletions;if(a!==null){for(var l=0;llt()-P0?No(e,0):M0|=n),qt(e,t)}function kg(e,t){t===0&&(e.mode&1?(t=nl,nl<<=1,!(nl&130023424)&&(nl=4194304)):t=1);var n=$t();e=gr(e,t),e!==null&&(Ra(e,t,n),qt(e,n))}function A8(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),kg(e,n)}function O8(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error($(314))}r!==null&&r.delete(t),kg(e,n)}var jg;jg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Xt.current)Qt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Qt=!1,S8(e,t,n);Qt=!!(e.flags&131072)}else Qt=!1,Ye&&t.flags&1048576&&M2(t,rc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Al(e,t),e=t.pendingProps;var o=Ai(t,Dt.current);ki(t,n),o=E0(null,t,r,e,o,n);var i=k0();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Jt(r)?(i=!0,tc(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,w0(t),o.updater=Kc,t.stateNode=o,o._reactInternals=t,tf(t,r,e,n),t=of(null,t,r,!0,i,n)):(t.tag=0,Ye&&i&&h0(t),Ft(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Al(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=I8(r),e=_n(r,e),o){case 0:t=rf(null,t,r,e,n);break e;case 1:t=Ph(null,t,r,e,n);break e;case 11:t=Th(null,t,r,e,n);break e;case 14:t=Mh(null,t,r,_n(r.type,e),n);break e}throw Error($(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:_n(r,o),rf(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:_n(r,o),Ph(e,t,r,o,n);case 3:e:{if(ug(t),e===null)throw Error($(387));r=t.pendingProps,i=t.memoizedState,o=i.element,I2(e,t),sc(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Fi(Error($(423)),t),t=Dh(e,t,r,n,o);break e}else if(r!==o){o=Fi(Error($(424)),t),t=Dh(e,t,r,n,o);break e}else for(sn=Wr(t.stateNode.containerInfo.firstChild),an=t,Ye=!0,jn=null,n=O2(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Oi(),r===o){t=vr(e,t,n);break e}Ft(e,t,r,n)}t=t.child}return t;case 5:return F2(t),e===null&&Jd(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Gd(r,o)?s=null:i!==null&&Gd(r,i)&&(t.flags|=32),cg(e,t),Ft(e,t,s,n),t.child;case 6:return e===null&&Jd(t),null;case 13:return dg(e,t,n);case 4:return b0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Li(t,null,r,n):Ft(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:_n(r,o),Th(e,t,r,o,n);case 7:return Ft(e,t,t.pendingProps,n),t.child;case 8:return Ft(e,t,t.pendingProps.children,n),t.child;case 12:return Ft(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,Ve(oc,r._currentValue),r._currentValue=s,i!==null)if(An(i.value,s)){if(i.children===o.children&&!Xt.current){t=vr(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=fr(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?l.next=l:(l.next=f.next,f.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),qd(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error($(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),qd(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Ft(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,ki(t,n),o=yn(o),r=r(o),t.flags|=1,Ft(e,t,r,n),t.child;case 14:return r=t.type,o=_n(r,t.pendingProps),o=_n(r.type,o),Mh(e,t,r,o,n);case 15:return ag(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:_n(r,o),Al(e,t),t.tag=1,Jt(r)?(e=!0,tc(t)):e=!1,ki(t,n),og(t,r,o),tf(t,r,o,n),of(null,t,r,!0,e,n);case 19:return fg(e,t,n);case 22:return lg(e,t,n)}throw Error($(156,t.tag))};function Ng(e,t){return t2(e,t)}function L8(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function mn(e,t,n,r){return new L8(e,t,n,r)}function L0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function I8(e){if(typeof e=="function")return L0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===t0)return 11;if(e===n0)return 14}return 2}function Yr(e,t){var n=e.alternate;return n===null?(n=mn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Il(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")L0(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case li:return Ro(n.children,o,i,t);case e0:s=8,o|=8;break;case Ed:return e=mn(12,n,t,o|2),e.elementType=Ed,e.lanes=i,e;case kd:return e=mn(13,n,t,o),e.elementType=kd,e.lanes=i,e;case jd:return e=mn(19,n,t,o),e.elementType=jd,e.lanes=i,e;case Fm:return Xc(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Lm:s=10;break e;case Im:s=9;break e;case t0:s=11;break e;case n0:s=14;break e;case Ar:s=16,r=null;break e}throw Error($(130,e==null?e:typeof e,""))}return t=mn(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Ro(e,t,n,r){return e=mn(7,e,r,t),e.lanes=n,e}function Xc(e,t,n,r){return e=mn(22,e,r,t),e.elementType=Fm,e.lanes=n,e.stateNode={isHidden:!1},e}function nd(e,t,n){return e=mn(6,e,null,t),e.lanes=n,e}function rd(e,t,n){return t=mn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function F8(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Iu(0),this.expirationTimes=Iu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Iu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function I0(e,t,n,r,o,i,s,a,l){return e=new F8(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=mn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},w0(i),e}function z8(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Pg)}catch(e){console.error(e)}}Pg(),Pm.exports=dn;var Qi=Pm.exports;const V0=Zf(Qi),H8=xm({__proto__:null,default:V0},[Qi]);/** * @remix-run/router v1.19.0 * * Copyright (c) Remix Software Inc. @@ -46,9 +46,9 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function et(){return et=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function $i(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Z8(){return Math.random().toString(36).substr(2,8)}function Zh(e,t){return{usr:e.state,key:e.key,idx:t}}function sa(e,t,n,r){return n===void 0&&(n=null),et({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?uo(t):t,{state:n,key:t&&t.key||r||Z8()})}function Lo(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function uo(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function G8(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=dt.Pop,l=null,u=f();u==null&&(u=0,s.replaceState(et({},s.state,{idx:u}),""));function f(){return(s.state||{idx:null}).idx}function d(){a=dt.Pop;let b=f(),g=b==null?null:b-u;u=b,l&&l({action:a,location:v.location,delta:g})}function h(b,g){a=dt.Push;let m=sa(v.location,b,g);u=f()+1;let w=Zh(m,u),C=v.createHref(m);try{s.pushState(w,"",C)}catch(_){if(_ instanceof DOMException&&_.name==="DataCloneError")throw _;o.location.assign(C)}i&&l&&l({action:a,location:v.location,delta:1})}function y(b,g){a=dt.Replace;let m=sa(v.location,b,g);u=f();let w=Zh(m,u),C=v.createHref(m);s.replaceState(w,"",C),i&&l&&l({action:a,location:v.location,delta:0})}function x(b){let g=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof b=="string"?b:Lo(b);return m=m.replace(/ $/,"%20"),Se(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let v={get action(){return a},get location(){return e(o,s)},listen(b){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Wh,d),l=b,()=>{o.removeEventListener(Wh,d),l=null}},createHref(b){return t(o,b)},createURL:x,encodeLocation(b){let g=x(b);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:y,go(b){return s.go(b)}};return v}var Ie;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ie||(Ie={}));const K8=new Set(["lazy","caseSensitive","path","id","index","children"]);function Y8(e){return e.index===!0}function aa(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((o,i)=>{let s=[...n,String(i)],a=typeof o.id=="string"?o.id:s.join("-");if(Se(o.index!==!0||!o.children,"Cannot specify children on an index route"),Se(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),Y8(o)){let l=et({},o,t(o),{id:a});return r[a]=l,l}else{let l=et({},o,t(o),{id:a,children:void 0});return r[a]=l,o.children&&(l.children=aa(o.children,t,s,r)),l}})}function yo(e,t,n){return n===void 0&&(n="/"),Fl(e,t,n,!1)}function Fl(e,t,n,r){let o=typeof t=="string"?uo(t):t,i=Xi(o.pathname||"/",n);if(i==null)return null;let s=Dg(e);X8(s);let a=null;for(let l=0;a==null&&l{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(Se(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=hr([r,l.relativePath]),f=n.concat(l);i.children&&i.children.length>0&&(Se(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Dg(i.children,t,f,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:o7(u,i.index),routesMeta:f})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of Ag(i.path))o(i,s,l)}),t}function Ag(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=Ag(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function X8(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:i7(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const J8=/^:[\w-]+$/,q8=3,e7=2,t7=1,n7=10,r7=-2,Gh=e=>e==="*";function o7(e,t){let n=e.split("/"),r=n.length;return n.some(Gh)&&(r+=r7),t&&(r+=e7),n.filter(o=>!Gh(o)).reduce((o,i)=>o+(J8.test(i)?q8:i===""?t7:n7),r)}function i7(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function s7(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a{let{paramName:h,isOptional:y}=f;if(h==="*"){let v=a[d]||"";s=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const x=a[d];return y&&!x?u[h]=void 0:u[h]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function a7(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),$i(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function l7(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return $i(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Xi(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function c7(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?uo(e):e;return{pathname:n?n.startsWith("/")?n:u7(n,t):t,search:f7(r),hash:h7(o)}}function u7(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function od(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Og(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function B0(e,t){let n=Og(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function U0(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=uo(e):(o=et({},e),Se(!o.pathname||!o.pathname.includes("?"),od("?","pathname","search",o)),Se(!o.pathname||!o.pathname.includes("#"),od("#","pathname","hash",o)),Se(!o.search||!o.search.includes("#"),od("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let h=s.split("/");for(;h[0]==="..";)h.shift(),d-=1;o.pathname=h.join("/")}a=d>=0?t[d]:"/"}let l=c7(o,a),u=s&&s!=="/"&&s.endsWith("/"),f=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||f)&&(l.pathname+="/"),l}const hr=e=>e.join("/").replace(/\/\/+/g,"/"),d7=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),f7=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,h7=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class mc{constructor(t,n,r,o){o===void 0&&(o=!1),this.status=t,this.statusText=n||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function nu(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Lg=["post","put","patch","delete"],p7=new Set(Lg),m7=["get",...Lg],g7=new Set(m7),v7=new Set([301,302,303,307,308]),y7=new Set([307,308]),id={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},x7={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},us={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},H0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,w7=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Ig="remix-router-transitions";function b7(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;Se(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let o;if(e.mapRouteProperties)o=e.mapRouteProperties;else if(e.detectErrorBoundary){let k=e.detectErrorBoundary;o=j=>({hasErrorBoundary:k(j)})}else o=w7;let i={},s=aa(e.routes,o,void 0,i),a,l=e.basename||"/",u=e.unstable_dataStrategy||k7,f=e.unstable_patchRoutesOnMiss,d=et({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),h=null,y=new Set,x=null,v=null,b=null,g=e.hydrationData!=null,m=yo(s,e.history.location,l),w=null;if(m==null&&!f){let k=It(404,{pathname:e.history.location.pathname}),{matches:j,route:P}=op(s);m=j,w={[P.id]:k}}m&&!e.hydrationData&&Za(m,s,e.history.location.pathname).active&&(m=null);let C;if(m)if(m.some(k=>k.route.lazy))C=!1;else if(!m.some(k=>k.route.loader))C=!0;else if(d.v7_partialHydration){let k=e.hydrationData?e.hydrationData.loaderData:null,j=e.hydrationData?e.hydrationData.errors:null,P=I=>I.route.loader?typeof I.route.loader=="function"&&I.route.loader.hydrate===!0?!1:k&&k[I.route.id]!==void 0||j&&j[I.route.id]!==void 0:!0;if(j){let I=m.findIndex(te=>j[te.route.id]!==void 0);C=m.slice(0,I+1).every(P)}else C=m.every(P)}else C=e.hydrationData!=null;else if(C=!1,m=[],d.v7_partialHydration){let k=Za(null,s,e.history.location.pathname);k.active&&k.matches&&(m=k.matches)}let _,S={historyAction:e.history.action,location:e.history.location,matches:m,initialized:C,navigation:id,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||w,fetchers:new Map,blockers:new Map},T=dt.Pop,R=!1,z,O=!1,X=new Map,L=null,W=!1,H=!1,oe=[],se=new Set,Z=new Map,M=0,D=-1,K=new Map,U=new Set,J=new Map,ge=new Map,ke=new Set,$e=new Map,me=new Map,Xe=new Map,ht=!1;function Je(){if(h=e.history.listen(k=>{let{action:j,location:P,delta:I}=k;if(ht){ht=!1;return}$i(me.size===0||I!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let te=De({currentLocation:S.location,nextLocation:P,historyAction:j});if(te&&I!=null){ht=!0,e.history.go(I*-1),Te(te,{state:"blocked",location:P,proceed(){Te(te,{state:"proceeding",proceed:void 0,reset:void 0,location:P}),e.history.go(I)},reset(){let ae=new Map(S.blockers);ae.set(te,us),We({blockers:ae})}});return}return Ct(j,P)}),n){z7(t,X);let k=()=>$7(t,X);t.addEventListener("pagehide",k),L=()=>t.removeEventListener("pagehide",k)}return S.initialized||Ct(dt.Pop,S.location,{initialHydration:!0}),_}function Ot(){h&&h(),L&&L(),y.clear(),z&&z.abort(),S.fetchers.forEach((k,j)=>$n(j)),S.blockers.forEach((k,j)=>ye(j))}function tr(k){return y.add(k),()=>y.delete(k)}function We(k,j){j===void 0&&(j={}),S=et({},S,k);let P=[],I=[];d.v7_fetcherPersist&&S.fetchers.forEach((te,ae)=>{te.state==="idle"&&(ke.has(ae)?I.push(ae):P.push(ae))}),[...y].forEach(te=>te(S,{deletedFetchers:I,unstable_viewTransitionOpts:j.viewTransitionOpts,unstable_flushSync:j.flushSync===!0})),d.v7_fetcherPersist&&(P.forEach(te=>S.fetchers.delete(te)),I.forEach(te=>$n(te)))}function St(k,j,P){var I,te;let{flushSync:ae}=P===void 0?{}:P,he=S.actionData!=null&&S.navigation.formMethod!=null&&En(S.navigation.formMethod)&&S.navigation.state==="loading"&&((I=k.state)==null?void 0:I._isRedirect)!==!0,Q;j.actionData?Object.keys(j.actionData).length>0?Q=j.actionData:Q=null:he?Q=S.actionData:Q=null;let we=j.loaderData?np(S.loaderData,j.loaderData,j.matches||[],j.errors):S.loaderData,ue=S.blockers;ue.size>0&&(ue=new Map(ue),ue.forEach((Ae,ze)=>ue.set(ze,us)));let de=R===!0||S.navigation.formMethod!=null&&En(S.navigation.formMethod)&&((te=k.state)==null?void 0:te._isRedirect)!==!0;a&&(s=a,a=void 0),W||T===dt.Pop||(T===dt.Push?e.history.push(k,k.state):T===dt.Replace&&e.history.replace(k,k.state));let Le;if(T===dt.Pop){let Ae=X.get(S.location.pathname);Ae&&Ae.has(k.pathname)?Le={currentLocation:S.location,nextLocation:k}:X.has(k.pathname)&&(Le={currentLocation:k,nextLocation:S.location})}else if(O){let Ae=X.get(S.location.pathname);Ae?Ae.add(k.pathname):(Ae=new Set([k.pathname]),X.set(S.location.pathname,Ae)),Le={currentLocation:S.location,nextLocation:k}}We(et({},j,{actionData:Q,loaderData:we,historyAction:T,location:k,initialized:!0,navigation:id,revalidation:"idle",restoreScrollPosition:O1(k,j.matches||S.matches),preventScrollReset:de,blockers:ue}),{viewTransitionOpts:Le,flushSync:ae===!0}),T=dt.Pop,R=!1,O=!1,W=!1,H=!1,oe=[]}async function wn(k,j){if(typeof k=="number"){e.history.go(k);return}let P=vf(S.location,S.matches,l,d.v7_prependBasename,k,d.v7_relativeSplatPath,j==null?void 0:j.fromRouteId,j==null?void 0:j.relative),{path:I,submission:te,error:ae}=Yh(d.v7_normalizeFormMethod,!1,P,j),he=S.location,Q=sa(S.location,I,j&&j.state);Q=et({},Q,e.history.encodeLocation(Q));let we=j&&j.replace!=null?j.replace:void 0,ue=dt.Push;we===!0?ue=dt.Replace:we===!1||te!=null&&En(te.formMethod)&&te.formAction===S.location.pathname+S.location.search&&(ue=dt.Replace);let de=j&&"preventScrollReset"in j?j.preventScrollReset===!0:void 0,Le=(j&&j.unstable_flushSync)===!0,Ae=De({currentLocation:he,nextLocation:Q,historyAction:ue});if(Ae){Te(Ae,{state:"blocked",location:Q,proceed(){Te(Ae,{state:"proceeding",proceed:void 0,reset:void 0,location:Q}),wn(k,j)},reset(){let ze=new Map(S.blockers);ze.set(Ae,us),We({blockers:ze})}});return}return await Ct(ue,Q,{submission:te,pendingError:ae,preventScrollReset:de,replace:j&&j.replace,enableViewTransition:j&&j.unstable_viewTransition,flushSync:Le})}function mo(){if(Ze(),We({revalidation:"loading"}),S.navigation.state!=="submitting"){if(S.navigation.state==="idle"){Ct(S.historyAction,S.location,{startUninterruptedRevalidation:!0});return}Ct(T||S.historyAction,S.navigation.location,{overrideNavigation:S.navigation})}}async function Ct(k,j,P){z&&z.abort(),z=null,T=k,W=(P&&P.startUninterruptedRevalidation)===!0,p6(S.location,S.matches),R=(P&&P.preventScrollReset)===!0,O=(P&&P.enableViewTransition)===!0;let I=a||s,te=P&&P.overrideNavigation,ae=yo(I,j,l),he=(P&&P.flushSync)===!0,Q=Za(ae,I,j.pathname);if(Q.active&&Q.matches&&(ae=Q.matches),!ae){let{error:Me,notFoundMatches:_t,route:ut}=Zt(j.pathname);St(j,{matches:_t,loaderData:{},errors:{[ut.id]:Me}},{flushSync:he});return}if(S.initialized&&!H&&P7(S.location,j)&&!(P&&P.submission&&En(P.submission.formMethod))){St(j,{matches:ae},{flushSync:he});return}z=new AbortController;let we=ti(e.history,j,z.signal,P&&P.submission),ue;if(P&&P.pendingError)ue=[xi(ae).route.id,{type:Ie.error,error:P.pendingError}];else if(P&&P.submission&&En(P.submission.formMethod)){let Me=await Ko(we,j,P.submission,ae,Q.active,{replace:P.replace,flushSync:he});if(Me.shortCircuited)return;if(Me.pendingActionResult){let[_t,ut]=Me.pendingActionResult;if(rn(ut)&&nu(ut.error)&&ut.error.status===404){z=null,St(j,{matches:Me.matches,loaderData:{},errors:{[_t]:ut.error}});return}}ae=Me.matches||ae,ue=Me.pendingActionResult,te=sd(j,P.submission),he=!1,Q.active=!1,we=ti(e.history,we.url,we.signal)}let{shortCircuited:de,matches:Le,loaderData:Ae,errors:ze}=await E(we,j,ae,Q.active,te,P&&P.submission,P&&P.fetcherSubmission,P&&P.replace,P&&P.initialHydration===!0,he,ue);de||(z=null,St(j,et({matches:Le||ae},rp(ue),{loaderData:Ae,errors:ze})))}async function Ko(k,j,P,I,te,ae){ae===void 0&&(ae={}),Ze();let he=I7(j,P);if(We({navigation:he},{flushSync:ae.flushSync===!0}),te){let ue=await Ga(I,j.pathname,k.signal);if(ue.type==="aborted")return{shortCircuited:!0};if(ue.type==="error"){let{boundaryId:de,error:Le}=Lt(j.pathname,ue);return{matches:ue.partialMatches,pendingActionResult:[de,{type:Ie.error,error:Le}]}}else if(ue.matches)I=ue.matches;else{let{notFoundMatches:de,error:Le,route:Ae}=Zt(j.pathname);return{matches:de,pendingActionResult:[Ae.id,{type:Ie.error,error:Le}]}}}let Q,we=bs(I,j);if(!we.route.action&&!we.route.lazy)Q={type:Ie.error,error:It(405,{method:k.method,pathname:j.pathname,routeId:we.route.id})};else if(Q=(await Ee("action",k,[we],I))[0],k.signal.aborted)return{shortCircuited:!0};if(Co(Q)){let ue;return ae&&ae.replace!=null?ue=ae.replace:ue=qh(Q.response.headers.get("Location"),new URL(k.url),l)===S.location.pathname+S.location.search,await ie(k,Q,{submission:P,replace:ue}),{shortCircuited:!0}}if(So(Q))throw It(400,{type:"defer-action"});if(rn(Q)){let ue=xi(I,we.route.id);return(ae&&ae.replace)!==!0&&(T=dt.Push),{matches:I,pendingActionResult:[ue.route.id,Q]}}return{matches:I,pendingActionResult:[we.route.id,Q]}}async function E(k,j,P,I,te,ae,he,Q,we,ue,de){let Le=te||sd(j,ae),Ae=ae||he||lp(Le),ze=!W&&(!d.v7_partialHydration||!we);if(I){if(ze){let ot=N(de);We(et({navigation:Le},ot!==void 0?{actionData:ot}:{}),{flushSync:ue})}let Ce=await Ga(P,j.pathname,k.signal);if(Ce.type==="aborted")return{shortCircuited:!0};if(Ce.type==="error"){let{boundaryId:ot,error:en}=Lt(j.pathname,Ce);return{matches:Ce.partialMatches,loaderData:{},errors:{[ot]:en}}}else if(Ce.matches)P=Ce.matches;else{let{error:ot,notFoundMatches:en,route:Ge}=Zt(j.pathname);return{matches:en,loaderData:{},errors:{[Ge.id]:ot}}}}let Me=a||s,[_t,ut]=Qh(e.history,S,P,Ae,j,d.v7_partialHydration&&we===!0,d.v7_skipActionErrorRevalidation,H,oe,se,ke,J,U,Me,l,de);if(Er(Ce=>!(P&&P.some(ot=>ot.route.id===Ce))||_t&&_t.some(ot=>ot.route.id===Ce)),D=++M,_t.length===0&&ut.length===0){let Ce=rr();return St(j,et({matches:P,loaderData:{},errors:de&&rn(de[1])?{[de[0]]:de[1].error}:null},rp(de),Ce?{fetchers:new Map(S.fetchers)}:{}),{flushSync:ue}),{shortCircuited:!0}}if(ze){let Ce={};if(!I){Ce.navigation=Le;let ot=N(de);ot!==void 0&&(Ce.actionData=ot)}ut.length>0&&(Ce.fetchers=A(ut)),We(Ce,{flushSync:ue})}ut.forEach(Ce=>{Z.has(Ce.key)&&Wt(Ce.key),Ce.controller&&Z.set(Ce.key,Ce.controller)});let ts=()=>ut.forEach(Ce=>Wt(Ce.key));z&&z.signal.addEventListener("abort",ts);let{loaderResults:kr,fetcherResults:Xo}=await Fe(S.matches,P,_t,ut,k);if(k.signal.aborted)return{shortCircuited:!0};z&&z.signal.removeEventListener("abort",ts),ut.forEach(Ce=>Z.delete(Ce.key));let Jo=ip([...kr,...Xo]);if(Jo){if(Jo.idx>=_t.length){let Ce=ut[Jo.idx-_t.length].key;U.add(Ce)}return await ie(k,Jo.result,{replace:Q}),{shortCircuited:!0}}let{loaderData:qo,errors:Vn}=tp(S,P,_t,kr,de,ut,Xo,$e);$e.forEach((Ce,ot)=>{Ce.subscribe(en=>{(en||Ce.done)&&$e.delete(ot)})}),d.v7_partialHydration&&we&&S.errors&&Object.entries(S.errors).filter(Ce=>{let[ot]=Ce;return!_t.some(en=>en.route.id===ot)}).forEach(Ce=>{let[ot,en]=Ce;Vn=Object.assign(Vn||{},{[ot]:en})});let Ka=rr(),Ya=bn(D),Qa=Ka||Ya||ut.length>0;return et({matches:P,loaderData:qo,errors:Vn},Qa?{fetchers:new Map(S.fetchers)}:{})}function N(k){if(k&&!rn(k[1]))return{[k[0]]:k[1].data};if(S.actionData)return Object.keys(S.actionData).length===0?null:S.actionData}function A(k){return k.forEach(j=>{let P=S.fetchers.get(j.key),I=ds(void 0,P?P.data:void 0);S.fetchers.set(j.key,I)}),new Map(S.fetchers)}function q(k,j,P,I){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Z.has(k)&&Wt(k);let te=(I&&I.unstable_flushSync)===!0,ae=a||s,he=vf(S.location,S.matches,l,d.v7_prependBasename,P,d.v7_relativeSplatPath,j,I==null?void 0:I.relative),Q=yo(ae,he,l),we=Za(Q,ae,he);if(we.active&&we.matches&&(Q=we.matches),!Q){xt(k,j,It(404,{pathname:he}),{flushSync:te});return}let{path:ue,submission:de,error:Le}=Yh(d.v7_normalizeFormMethod,!0,he,I);if(Le){xt(k,j,Le,{flushSync:te});return}let Ae=bs(Q,ue);if(R=(I&&I.preventScrollReset)===!0,de&&En(de.formMethod)){Y(k,j,ue,Ae,Q,we.active,te,de);return}J.set(k,{routeId:j,path:ue}),V(k,j,ue,Ae,Q,we.active,te,de)}async function Y(k,j,P,I,te,ae,he,Q){Ze(),J.delete(k);function we(Ge){if(!Ge.route.action&&!Ge.route.lazy){let or=It(405,{method:Q.formMethod,pathname:P,routeId:j});return xt(k,j,or,{flushSync:he}),!0}return!1}if(!ae&&we(I))return;let ue=S.fetchers.get(k);yt(k,F7(Q,ue),{flushSync:he});let de=new AbortController,Le=ti(e.history,P,de.signal,Q);if(ae){let Ge=await Ga(te,P,Le.signal);if(Ge.type==="aborted")return;if(Ge.type==="error"){let{error:or}=Lt(P,Ge);xt(k,j,or,{flushSync:he});return}else if(Ge.matches){if(te=Ge.matches,I=bs(te,P),we(I))return}else{xt(k,j,It(404,{pathname:P}),{flushSync:he});return}}Z.set(k,de);let Ae=M,Me=(await Ee("action",Le,[I],te))[0];if(Le.signal.aborted){Z.get(k)===de&&Z.delete(k);return}if(d.v7_fetcherPersist&&ke.has(k)){if(Co(Me)||rn(Me)){yt(k,Pr(void 0));return}}else{if(Co(Me))if(Z.delete(k),D>Ae){yt(k,Pr(void 0));return}else return U.add(k),yt(k,ds(Q)),ie(Le,Me,{fetcherSubmission:Q});if(rn(Me)){xt(k,j,Me.error);return}}if(So(Me))throw It(400,{type:"defer-action"});let _t=S.navigation.location||S.location,ut=ti(e.history,_t,de.signal),ts=a||s,kr=S.navigation.state!=="idle"?yo(ts,S.navigation.location,l):S.matches;Se(kr,"Didn't find any matches after fetcher action");let Xo=++M;K.set(k,Xo);let Jo=ds(Q,Me.data);S.fetchers.set(k,Jo);let[qo,Vn]=Qh(e.history,S,kr,Q,_t,!1,d.v7_skipActionErrorRevalidation,H,oe,se,ke,J,U,ts,l,[I.route.id,Me]);Vn.filter(Ge=>Ge.key!==k).forEach(Ge=>{let or=Ge.key,L1=S.fetchers.get(or),v6=ds(void 0,L1?L1.data:void 0);S.fetchers.set(or,v6),Z.has(or)&&Wt(or),Ge.controller&&Z.set(or,Ge.controller)}),We({fetchers:new Map(S.fetchers)});let Ka=()=>Vn.forEach(Ge=>Wt(Ge.key));de.signal.addEventListener("abort",Ka);let{loaderResults:Ya,fetcherResults:Qa}=await Fe(S.matches,kr,qo,Vn,ut);if(de.signal.aborted)return;de.signal.removeEventListener("abort",Ka),K.delete(k),Z.delete(k),Vn.forEach(Ge=>Z.delete(Ge.key));let Ce=ip([...Ya,...Qa]);if(Ce){if(Ce.idx>=qo.length){let Ge=Vn[Ce.idx-qo.length].key;U.add(Ge)}return ie(ut,Ce.result)}let{loaderData:ot,errors:en}=tp(S,S.matches,qo,Ya,void 0,Vn,Qa,$e);if(S.fetchers.has(k)){let Ge=Pr(Me.data);S.fetchers.set(k,Ge)}bn(Xo),S.navigation.state==="loading"&&Xo>D?(Se(T,"Expected pending action"),z&&z.abort(),St(S.navigation.location,{matches:kr,loaderData:ot,errors:en,fetchers:new Map(S.fetchers)})):(We({errors:en,loaderData:np(S.loaderData,ot,kr,en),fetchers:new Map(S.fetchers)}),H=!1)}async function V(k,j,P,I,te,ae,he,Q){let we=S.fetchers.get(k);yt(k,ds(Q,we?we.data:void 0),{flushSync:he});let ue=new AbortController,de=ti(e.history,P,ue.signal);if(ae){let Me=await Ga(te,P,de.signal);if(Me.type==="aborted")return;if(Me.type==="error"){let{error:_t}=Lt(P,Me);xt(k,j,_t,{flushSync:he});return}else if(Me.matches)te=Me.matches,I=bs(te,P);else{xt(k,j,It(404,{pathname:P}),{flushSync:he});return}}Z.set(k,ue);let Le=M,ze=(await Ee("loader",de,[I],te))[0];if(So(ze)&&(ze=await Bg(ze,de.signal,!0)||ze),Z.get(k)===ue&&Z.delete(k),!de.signal.aborted){if(ke.has(k)){yt(k,Pr(void 0));return}if(Co(ze))if(D>Le){yt(k,Pr(void 0));return}else{U.add(k),await ie(de,ze);return}if(rn(ze)){xt(k,j,ze.error);return}Se(!So(ze),"Unhandled fetcher deferred data"),yt(k,Pr(ze.data))}}async function ie(k,j,P){let{submission:I,fetcherSubmission:te,replace:ae}=P===void 0?{}:P;j.response.headers.has("X-Remix-Revalidate")&&(H=!0);let he=j.response.headers.get("Location");Se(he,"Expected a Location header on the redirect Response"),he=qh(he,new URL(k.url),l);let Q=sa(S.location,he,{_isRedirect:!0});if(n){let ze=!1;if(j.response.headers.has("X-Remix-Reload-Document"))ze=!0;else if(H0.test(he)){const Me=e.history.createURL(he);ze=Me.origin!==t.location.origin||Xi(Me.pathname,l)==null}if(ze){ae?t.location.replace(he):t.location.assign(he);return}}z=null;let we=ae===!0||j.response.headers.has("X-Remix-Replace")?dt.Replace:dt.Push,{formMethod:ue,formAction:de,formEncType:Le}=S.navigation;!I&&!te&&ue&&de&&Le&&(I=lp(S.navigation));let Ae=I||te;if(y7.has(j.response.status)&&Ae&&En(Ae.formMethod))await Ct(we,Q,{submission:et({},Ae,{formAction:he}),preventScrollReset:R});else{let ze=sd(Q,I);await Ct(we,Q,{overrideNavigation:ze,fetcherSubmission:te,preventScrollReset:R})}}async function Ee(k,j,P,I){try{let te=await j7(u,k,j,P,I,i,o);return await Promise.all(te.map((ae,he)=>{if(A7(ae)){let Q=ae.result;return{type:Ie.redirect,response:T7(Q,j,P[he].route.id,I,l,d.v7_relativeSplatPath)}}return R7(ae)}))}catch(te){return P.map(()=>({type:Ie.error,error:te}))}}async function Fe(k,j,P,I,te){let[ae,...he]=await Promise.all([P.length?Ee("loader",te,P,j):[],...I.map(Q=>{if(Q.matches&&Q.match&&Q.controller){let we=ti(e.history,Q.path,Q.controller.signal);return Ee("loader",we,[Q.match],Q.matches).then(ue=>ue[0])}else return Promise.resolve({type:Ie.error,error:It(404,{pathname:Q.path})})})]);return await Promise.all([ap(k,P,ae,ae.map(()=>te.signal),!1,S.loaderData),ap(k,I.map(Q=>Q.match),he,I.map(Q=>Q.controller?Q.controller.signal:null),!0)]),{loaderResults:ae,fetcherResults:he}}function Ze(){H=!0,oe.push(...Er()),J.forEach((k,j)=>{Z.has(j)&&(se.add(j),Wt(j))})}function yt(k,j,P){P===void 0&&(P={}),S.fetchers.set(k,j),We({fetchers:new Map(S.fetchers)},{flushSync:(P&&P.flushSync)===!0})}function xt(k,j,P,I){I===void 0&&(I={});let te=xi(S.matches,j);$n(k),We({errors:{[te.route.id]:P},fetchers:new Map(S.fetchers)},{flushSync:(I&&I.flushSync)===!0})}function nr(k){return d.v7_fetcherPersist&&(ge.set(k,(ge.get(k)||0)+1),ke.has(k)&&ke.delete(k)),S.fetchers.get(k)||x7}function $n(k){let j=S.fetchers.get(k);Z.has(k)&&!(j&&j.state==="loading"&&K.has(k))&&Wt(k),J.delete(k),K.delete(k),U.delete(k),ke.delete(k),se.delete(k),S.fetchers.delete(k)}function Yo(k){if(d.v7_fetcherPersist){let j=(ge.get(k)||0)-1;j<=0?(ge.delete(k),ke.add(k)):ge.set(k,j)}else $n(k);We({fetchers:new Map(S.fetchers)})}function Wt(k){let j=Z.get(k);Se(j,"Expected fetch controller: "+k),j.abort(),Z.delete(k)}function Qo(k){for(let j of k){let P=nr(j),I=Pr(P.data);S.fetchers.set(j,I)}}function rr(){let k=[],j=!1;for(let P of U){let I=S.fetchers.get(P);Se(I,"Expected fetcher: "+P),I.state==="loading"&&(U.delete(P),k.push(P),j=!0)}return Qo(k),j}function bn(k){let j=[];for(let[P,I]of K)if(I0}function Tu(k,j){let P=S.blockers.get(k)||us;return me.get(k)!==j&&me.set(k,j),P}function ye(k){S.blockers.delete(k),me.delete(k)}function Te(k,j){let P=S.blockers.get(k)||us;Se(P.state==="unblocked"&&j.state==="blocked"||P.state==="blocked"&&j.state==="blocked"||P.state==="blocked"&&j.state==="proceeding"||P.state==="blocked"&&j.state==="unblocked"||P.state==="proceeding"&&j.state==="unblocked","Invalid blocker state transition: "+P.state+" -> "+j.state);let I=new Map(S.blockers);I.set(k,j),We({blockers:I})}function De(k){let{currentLocation:j,nextLocation:P,historyAction:I}=k;if(me.size===0)return;me.size>1&&$i(!1,"A router only supports one blocker at a time");let te=Array.from(me.entries()),[ae,he]=te[te.length-1],Q=S.blockers.get(ae);if(!(Q&&Q.state==="proceeding")&&he({currentLocation:j,nextLocation:P,historyAction:I}))return ae}function Zt(k){let j=It(404,{pathname:k}),P=a||s,{matches:I,route:te}=op(P);return Er(),{notFoundMatches:I,route:te,error:j}}function Lt(k,j){return{boundaryId:xi(j.partialMatches).route.id,error:It(400,{type:"route-discovery",pathname:k,message:j.error!=null&&"message"in j.error?j.error:String(j.error)})}}function Er(k){let j=[];return $e.forEach((P,I)=>{(!k||k(I))&&(P.cancel(),j.push(I),$e.delete(I))}),j}function Mu(k,j,P){if(x=k,b=j,v=P||null,!g&&S.navigation===id){g=!0;let I=O1(S.location,S.matches);I!=null&&We({restoreScrollPosition:I})}return()=>{x=null,b=null,v=null}}function A1(k,j){return v&&v(k,j.map(I=>Q8(I,S.loaderData)))||k.key}function p6(k,j){if(x&&b){let P=A1(k,j);x[P]=b()}}function O1(k,j){if(x){let P=A1(k,j),I=x[P];if(typeof I=="number")return I}return null}function Za(k,j,P){if(f)if(k){let I=k[k.length-1].route;if(I.path&&(I.path==="*"||I.path.endsWith("/*")))return{active:!0,matches:Fl(j,P,l,!0)}}else return{active:!0,matches:Fl(j,P,l,!0)||[]};return{active:!1,matches:null}}async function Ga(k,j,P){let I=k,te=I.length>0?I[I.length-1].route:null;for(;;){let ae=a==null,he=a||s;try{await E7(f,j,I,he,i,o,Xe,P)}catch(de){return{type:"error",error:de,partialMatches:I}}finally{ae&&(s=[...s])}if(P.aborted)return{type:"aborted"};let Q=yo(he,j,l),we=!1;if(Q){let de=Q[Q.length-1].route;if(de.index)return{type:"success",matches:Q};if(de.path&&de.path.length>0)if(de.path==="*")we=!0;else return{type:"success",matches:Q}}let ue=Fl(he,j,l,!0);if(!ue||I.map(de=>de.route.id).join("-")===ue.map(de=>de.route.id).join("-"))return{type:"success",matches:we?Q:null};if(I=ue,te=I[I.length-1].route,te.path==="*")return{type:"success",matches:I}}}function m6(k){i={},a=aa(k,o,void 0,i)}function g6(k,j){let P=a==null;zg(k,j,a||s,i,o),P&&(s=[...s],We({}))}return _={get basename(){return l},get future(){return d},get state(){return S},get routes(){return s},get window(){return t},initialize:Je,subscribe:tr,enableScrollRestoration:Mu,navigate:wn,fetch:q,revalidate:mo,createHref:k=>e.history.createHref(k),encodeLocation:k=>e.history.encodeLocation(k),getFetcher:nr,deleteFetcher:Yo,dispose:Ot,getBlocker:Tu,deleteBlocker:ye,patchRoutes:g6,_internalFetchControllers:Z,_internalActiveDeferreds:$e,_internalSetRoutes:m6},_}function S7(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function vf(e,t,n,r,o,i,s,a){let l,u;if(s){l=[];for(let d of t)if(l.push(d),d.route.id===s){u=d;break}}else l=t,u=t[t.length-1];let f=U0(o||".",B0(l,i),Xi(e.pathname,n)||e.pathname,a==="path");return o==null&&(f.search=e.search,f.hash=e.hash),(o==null||o===""||o===".")&&u&&u.route.index&&!W0(f.search)&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(f.pathname=f.pathname==="/"?n:hr([n,f.pathname])),Lo(f)}function Yh(e,t,n,r){if(!r||!S7(r))return{path:n};if(r.formMethod&&!L7(r.formMethod))return{path:n,error:It(405,{method:r.formMethod})};let o=()=>({path:n,error:It(400,{type:"invalid-body"})}),i=r.formMethod||"get",s=e?i.toUpperCase():i.toLowerCase(),a=$g(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!En(s))return o();let h=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((y,x)=>{let[v,b]=x;return""+y+v+"="+b+` -`},""):String(r.body);return{path:n,submission:{formMethod:s,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:h}}}else if(r.formEncType==="application/json"){if(!En(s))return o();try{let h=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:s,formAction:a,formEncType:r.formEncType,formData:void 0,json:h,text:void 0}}}catch{return o()}}}Se(typeof FormData=="function","FormData is not available in this environment");let l,u;if(r.formData)l=yf(r.formData),u=r.formData;else if(r.body instanceof FormData)l=yf(r.body),u=r.body;else if(r.body instanceof URLSearchParams)l=r.body,u=ep(l);else if(r.body==null)l=new URLSearchParams,u=new FormData;else try{l=new URLSearchParams(r.body),u=ep(l)}catch{return o()}let f={formMethod:s,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(En(f.formMethod))return{path:n,submission:f};let d=uo(n);return t&&d.search&&W0(d.search)&&l.append("index",""),d.search="?"+l,{path:Lo(d),submission:f}}function C7(e,t){let n=e;if(t){let r=e.findIndex(o=>o.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function Qh(e,t,n,r,o,i,s,a,l,u,f,d,h,y,x,v){let b=v?rn(v[1])?v[1].error:v[1].data:void 0,g=e.createURL(t.location),m=e.createURL(o),w=v&&rn(v[1])?v[0]:void 0,C=w?C7(n,w):n,_=v?v[1].statusCode:void 0,S=s&&_&&_>=400,T=C.filter((z,O)=>{let{route:X}=z;if(X.lazy)return!0;if(X.loader==null)return!1;if(i)return typeof X.loader!="function"||X.loader.hydrate?!0:t.loaderData[X.id]===void 0&&(!t.errors||t.errors[X.id]===void 0);if(_7(t.loaderData,t.matches[O],z)||l.some(H=>H===z.route.id))return!0;let L=t.matches[O],W=z;return Xh(z,et({currentUrl:g,currentParams:L.params,nextUrl:m,nextParams:W.params},r,{actionResult:b,actionStatus:_,defaultShouldRevalidate:S?!1:a||g.pathname+g.search===m.pathname+m.search||g.search!==m.search||Fg(L,W)}))}),R=[];return d.forEach((z,O)=>{if(i||!n.some(oe=>oe.route.id===z.routeId)||f.has(O))return;let X=yo(y,z.path,x);if(!X){R.push({key:O,routeId:z.routeId,path:z.path,matches:null,match:null,controller:null});return}let L=t.fetchers.get(O),W=bs(X,z.path),H=!1;h.has(O)?H=!1:u.has(O)?(u.delete(O),H=!0):L&&L.state!=="idle"&&L.data===void 0?H=a:H=Xh(W,et({currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:m,nextParams:n[n.length-1].params},r,{actionResult:b,actionStatus:_,defaultShouldRevalidate:S?!1:a})),H&&R.push({key:O,routeId:z.routeId,path:z.path,matches:X,match:W,controller:new AbortController})}),[T,R]}function _7(e,t,n){let r=!t||n.route.id!==t.route.id,o=e[n.route.id]===void 0;return r||o}function Fg(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Xh(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function E7(e,t,n,r,o,i,s,a){let l=[t,...n.map(u=>u.route.id)].join("-");try{let u=s.get(l);u||(u=e({path:t,matches:n,patch:(f,d)=>{a.aborted||zg(f,d,r,o,i)}}),s.set(l,u)),u&&D7(u)&&await u}finally{s.delete(l)}}function zg(e,t,n,r,o){if(e){var i;let s=r[e];Se(s,"No route found to patch children into: routeId = "+e);let a=aa(t,o,[e,"patch",String(((i=s.children)==null?void 0:i.length)||"0")],r);s.children?s.children.push(...a):s.children=a}else{let s=aa(t,o,["patch",String(n.length||"0")],r);n.push(...s)}}async function Jh(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let o=n[e.id];Se(o,"No route found in manifest");let i={};for(let s in r){let l=o[s]!==void 0&&s!=="hasErrorBoundary";$i(!l,'Route "'+o.id+'" has a static property "'+s+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+s+'" will be ignored.')),!l&&!K8.has(s)&&(i[s]=r[s])}Object.assign(o,i),Object.assign(o,et({},t(o),{lazy:void 0}))}function k7(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function j7(e,t,n,r,o,i,s,a){let l=r.reduce((d,h)=>d.add(h.route.id),new Set),u=new Set,f=await e({matches:o.map(d=>{let h=l.has(d.route.id);return et({},d,{shouldLoad:h,resolve:x=>(u.add(d.route.id),h?N7(t,n,d,i,s,x,a):Promise.resolve({type:Ie.data,result:void 0}))})}),request:n,params:o[0].params,context:a});return o.forEach(d=>Se(u.has(d.route.id),'`match.resolve()` was not called for route id "'+d.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),f.filter((d,h)=>l.has(o[h].route.id))}async function N7(e,t,n,r,o,i,s){let a,l,u=f=>{let d,h=new Promise((v,b)=>d=b);l=()=>d(),t.signal.addEventListener("abort",l);let y=v=>typeof f!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):f({request:t,params:n.params,context:s},...v!==void 0?[v]:[]),x;return i?x=i(v=>y(v)):x=(async()=>{try{return{type:"data",result:await y()}}catch(v){return{type:"error",result:v}}})(),Promise.race([x,h])};try{let f=n.route[e];if(n.route.lazy)if(f){let d,[h]=await Promise.all([u(f).catch(y=>{d=y}),Jh(n.route,o,r)]);if(d!==void 0)throw d;a=h}else if(await Jh(n.route,o,r),f=n.route[e],f)a=await u(f);else if(e==="action"){let d=new URL(t.url),h=d.pathname+d.search;throw It(405,{method:t.method,pathname:h,routeId:n.route.id})}else return{type:Ie.data,result:void 0};else if(f)a=await u(f);else{let d=new URL(t.url),h=d.pathname+d.search;throw It(404,{pathname:h})}Se(a.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(f){return{type:Ie.error,result:f}}finally{l&&t.signal.removeEventListener("abort",l)}return a}async function R7(e){let{result:t,type:n}=e;if(Vg(t)){let u;try{let f=t.headers.get("Content-Type");f&&/\bapplication\/json\b/.test(f)?t.body==null?u=null:u=await t.json():u=await t.text()}catch(f){return{type:Ie.error,error:f}}return n===Ie.error?{type:Ie.error,error:new mc(t.status,t.statusText,u),statusCode:t.status,headers:t.headers}:{type:Ie.data,data:u,statusCode:t.status,headers:t.headers}}if(n===Ie.error){if(sp(t)){var r;if(t.data instanceof Error){var o;return{type:Ie.error,error:t.data,statusCode:(o=t.init)==null?void 0:o.status}}t=new mc(((r=t.init)==null?void 0:r.status)||500,void 0,t.data)}return{type:Ie.error,error:t,statusCode:nu(t)?t.status:void 0}}if(O7(t)){var i,s;return{type:Ie.deferred,deferredData:t,statusCode:(i=t.init)==null?void 0:i.status,headers:((s=t.init)==null?void 0:s.headers)&&new Headers(t.init.headers)}}if(sp(t)){var a,l;return{type:Ie.data,data:t.data,statusCode:(a=t.init)==null?void 0:a.status,headers:(l=t.init)!=null&&l.headers?new Headers(t.init.headers):void 0}}return{type:Ie.data,data:t}}function T7(e,t,n,r,o,i){let s=e.headers.get("Location");if(Se(s,"Redirects returned/thrown from loaders/actions must have a Location header"),!H0.test(s)){let a=r.slice(0,r.findIndex(l=>l.route.id===n)+1);s=vf(new URL(t.url),a,o,!0,s,i),e.headers.set("Location",s)}return e}function qh(e,t,n){if(H0.test(e)){let r=e,o=r.startsWith("//")?new URL(t.protocol+r):new URL(r),i=Xi(o.pathname,n)!=null;if(o.origin===t.origin&&i)return o.pathname+o.search+o.hash}return e}function ti(e,t,n,r){let o=e.createURL($g(t)).toString(),i={signal:n};if(r&&En(r.formMethod)){let{formMethod:s,formEncType:a}=r;i.method=s.toUpperCase(),a==="application/json"?(i.headers=new Headers({"Content-Type":a}),i.body=JSON.stringify(r.json)):a==="text/plain"?i.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?i.body=yf(r.formData):i.body=r.formData}return new Request(o,i)}function yf(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function ep(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function M7(e,t,n,r,o,i){let s={},a=null,l,u=!1,f={},d=r&&rn(r[1])?r[1].error:void 0;return n.forEach((h,y)=>{let x=t[y].route.id;if(Se(!Co(h),"Cannot handle redirect results in processLoaderData"),rn(h)){let v=h.error;d!==void 0&&(v=d,d=void 0),a=a||{};{let b=xi(e,x);a[b.route.id]==null&&(a[b.route.id]=v)}s[x]=void 0,u||(u=!0,l=nu(h.error)?h.error.status:500),h.headers&&(f[x]=h.headers)}else So(h)?(o.set(x,h.deferredData),s[x]=h.deferredData.data,h.statusCode!=null&&h.statusCode!==200&&!u&&(l=h.statusCode),h.headers&&(f[x]=h.headers)):(s[x]=h.data,h.statusCode&&h.statusCode!==200&&!u&&(l=h.statusCode),h.headers&&(f[x]=h.headers))}),d!==void 0&&r&&(a={[r[0]]:d},s[r[0]]=void 0),{loaderData:s,errors:a,statusCode:l||200,loaderHeaders:f}}function tp(e,t,n,r,o,i,s,a){let{loaderData:l,errors:u}=M7(t,n,r,o,a);for(let f=0;fr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function op(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function It(e,t){let{pathname:n,routeId:r,method:o,type:i,message:s}=t===void 0?{}:t,a="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(a="Bad Request",i==="route-discovery"?l='Unable to match URL "'+n+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error: -`+s):o&&n&&r?l="You made a "+o+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":i==="defer-action"?l="defer() is not supported in actions":i==="invalid-body"&&(l="Unable to encode submission body")):e===403?(a="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):e===404?(a="Not Found",l='No route matches URL "'+n+'"'):e===405&&(a="Method Not Allowed",o&&n&&r?l="You made a "+o.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":o&&(l='Invalid request method "'+o.toUpperCase()+'"')),new mc(e||500,a,new Error(l),!0)}function ip(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(Co(n))return{result:n,idx:t}}}function $g(e){let t=typeof e=="string"?uo(e):e;return Lo(et({},t,{hash:""}))}function P7(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function D7(e){return typeof e=="object"&&e!=null&&"then"in e}function A7(e){return Vg(e.result)&&v7.has(e.result.status)}function So(e){return e.type===Ie.deferred}function rn(e){return e.type===Ie.error}function Co(e){return(e&&e.type)===Ie.redirect}function sp(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function O7(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Vg(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function L7(e){return g7.has(e.toLowerCase())}function En(e){return p7.has(e.toLowerCase())}async function ap(e,t,n,r,o,i){for(let s=0;sd.route.id===l.route.id),f=u!=null&&!Fg(u,l)&&(i&&i[l.route.id])!==void 0;if(So(a)&&(o||f)){let d=r[s];Se(d,"Expected an AbortSignal for revalidating fetcher deferred result"),await Bg(a,d,o).then(h=>{h&&(n[s]=h||n[s])})}}}async function Bg(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:Ie.data,data:e.deferredData.unwrappedData}}catch(o){return{type:Ie.error,error:o}}return{type:Ie.data,data:e.deferredData.data}}}function W0(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function bs(e,t){let n=typeof t=="string"?uo(t).search:t.search;if(e[e.length-1].route.index&&W0(n||""))return e[e.length-1];let r=Og(e);return r[r.length-1]}function lp(e){let{formMethod:t,formAction:n,formEncType:r,text:o,formData:i,json:s}=e;if(!(!t||!n||!r)){if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:o};if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0};if(s!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:s,text:void 0}}}function sd(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function I7(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function ds(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function F7(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Pr(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function z7(e,t){try{let n=e.sessionStorage.getItem(Ig);if(n){let r=JSON.parse(n);for(let[o,i]of Object.entries(r||{}))i&&Array.isArray(i)&&t.set(o,new Set(i||[]))}}catch{}}function $7(e,t){if(t.size>0){let n={};for(let[r,o]of t)n[r]=[...o];try{e.sessionStorage.setItem(Ig,JSON.stringify(n))}catch(r){$i(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** + */function et(){return et=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function $i(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Z8(){return Math.random().toString(36).substr(2,8)}function Zh(e,t){return{usr:e.state,key:e.key,idx:t}}function sa(e,t,n,r){return n===void 0&&(n=null),et({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?fo(t):t,{state:n,key:t&&t.key||r||Z8()})}function Io(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function fo(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function G8(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=dt.Pop,l=null,u=f();u==null&&(u=0,s.replaceState(et({},s.state,{idx:u}),""));function f(){return(s.state||{idx:null}).idx}function d(){a=dt.Pop;let b=f(),g=b==null?null:b-u;u=b,l&&l({action:a,location:v.location,delta:g})}function h(b,g){a=dt.Push;let m=sa(v.location,b,g);u=f()+1;let w=Zh(m,u),C=v.createHref(m);try{s.pushState(w,"",C)}catch(_){if(_ instanceof DOMException&&_.name==="DataCloneError")throw _;o.location.assign(C)}i&&l&&l({action:a,location:v.location,delta:1})}function y(b,g){a=dt.Replace;let m=sa(v.location,b,g);u=f();let w=Zh(m,u),C=v.createHref(m);s.replaceState(w,"",C),i&&l&&l({action:a,location:v.location,delta:0})}function x(b){let g=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof b=="string"?b:Io(b);return m=m.replace(/ $/,"%20"),Se(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let v={get action(){return a},get location(){return e(o,s)},listen(b){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Wh,d),l=b,()=>{o.removeEventListener(Wh,d),l=null}},createHref(b){return t(o,b)},createURL:x,encodeLocation(b){let g=x(b);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:y,go(b){return s.go(b)}};return v}var Ie;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ie||(Ie={}));const K8=new Set(["lazy","caseSensitive","path","id","index","children"]);function Y8(e){return e.index===!0}function aa(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((o,i)=>{let s=[...n,String(i)],a=typeof o.id=="string"?o.id:s.join("-");if(Se(o.index!==!0||!o.children,"Cannot specify children on an index route"),Se(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),Y8(o)){let l=et({},o,t(o),{id:a});return r[a]=l,l}else{let l=et({},o,t(o),{id:a,children:void 0});return r[a]=l,o.children&&(l.children=aa(o.children,t,s,r)),l}})}function xo(e,t,n){return n===void 0&&(n="/"),Fl(e,t,n,!1)}function Fl(e,t,n,r){let o=typeof t=="string"?fo(t):t,i=Xi(o.pathname||"/",n);if(i==null)return null;let s=Dg(e);X8(s);let a=null;for(let l=0;a==null&&l{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(Se(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=hr([r,l.relativePath]),f=n.concat(l);i.children&&i.children.length>0&&(Se(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Dg(i.children,t,f,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:o7(u,i.index),routesMeta:f})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of Ag(i.path))o(i,s,l)}),t}function Ag(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=Ag(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function X8(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:i7(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const J8=/^:[\w-]+$/,q8=3,e7=2,t7=1,n7=10,r7=-2,Gh=e=>e==="*";function o7(e,t){let n=e.split("/"),r=n.length;return n.some(Gh)&&(r+=r7),t&&(r+=e7),n.filter(o=>!Gh(o)).reduce((o,i)=>o+(J8.test(i)?q8:i===""?t7:n7),r)}function i7(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function s7(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a{let{paramName:h,isOptional:y}=f;if(h==="*"){let v=a[d]||"";s=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const x=a[d];return y&&!x?u[h]=void 0:u[h]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function a7(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),$i(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function l7(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return $i(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Xi(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function c7(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?fo(e):e;return{pathname:n?n.startsWith("/")?n:u7(n,t):t,search:f7(r),hash:h7(o)}}function u7(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function od(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Og(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function B0(e,t){let n=Og(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function U0(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=fo(e):(o=et({},e),Se(!o.pathname||!o.pathname.includes("?"),od("?","pathname","search",o)),Se(!o.pathname||!o.pathname.includes("#"),od("#","pathname","hash",o)),Se(!o.search||!o.search.includes("#"),od("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let h=s.split("/");for(;h[0]==="..";)h.shift(),d-=1;o.pathname=h.join("/")}a=d>=0?t[d]:"/"}let l=c7(o,a),u=s&&s!=="/"&&s.endsWith("/"),f=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||f)&&(l.pathname+="/"),l}const hr=e=>e.join("/").replace(/\/\/+/g,"/"),d7=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),f7=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,h7=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class mc{constructor(t,n,r,o){o===void 0&&(o=!1),this.status=t,this.statusText=n||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function nu(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Lg=["post","put","patch","delete"],p7=new Set(Lg),m7=["get",...Lg],g7=new Set(m7),v7=new Set([301,302,303,307,308]),y7=new Set([307,308]),id={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},x7={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},us={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},H0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,w7=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Ig="remix-router-transitions";function b7(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;Se(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let o;if(e.mapRouteProperties)o=e.mapRouteProperties;else if(e.detectErrorBoundary){let k=e.detectErrorBoundary;o=j=>({hasErrorBoundary:k(j)})}else o=w7;let i={},s=aa(e.routes,o,void 0,i),a,l=e.basename||"/",u=e.unstable_dataStrategy||k7,f=e.unstable_patchRoutesOnMiss,d=et({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),h=null,y=new Set,x=null,v=null,b=null,g=e.hydrationData!=null,m=xo(s,e.history.location,l),w=null;if(m==null&&!f){let k=It(404,{pathname:e.history.location.pathname}),{matches:j,route:P}=op(s);m=j,w={[P.id]:k}}m&&!e.hydrationData&&Za(m,s,e.history.location.pathname).active&&(m=null);let C;if(m)if(m.some(k=>k.route.lazy))C=!1;else if(!m.some(k=>k.route.loader))C=!0;else if(d.v7_partialHydration){let k=e.hydrationData?e.hydrationData.loaderData:null,j=e.hydrationData?e.hydrationData.errors:null,P=I=>I.route.loader?typeof I.route.loader=="function"&&I.route.loader.hydrate===!0?!1:k&&k[I.route.id]!==void 0||j&&j[I.route.id]!==void 0:!0;if(j){let I=m.findIndex(te=>j[te.route.id]!==void 0);C=m.slice(0,I+1).every(P)}else C=m.every(P)}else C=e.hydrationData!=null;else if(C=!1,m=[],d.v7_partialHydration){let k=Za(null,s,e.history.location.pathname);k.active&&k.matches&&(m=k.matches)}let _,S={historyAction:e.history.action,location:e.history.location,matches:m,initialized:C,navigation:id,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||w,fetchers:new Map,blockers:new Map},T=dt.Pop,R=!1,z,O=!1,X=new Map,L=null,W=!1,H=!1,oe=[],se=new Set,Z=new Map,M=0,D=-1,K=new Map,U=new Set,J=new Map,ge=new Map,ke=new Set,$e=new Map,me=new Map,Xe=new Map,ht=!1;function Je(){if(h=e.history.listen(k=>{let{action:j,location:P,delta:I}=k;if(ht){ht=!1;return}$i(me.size===0||I!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let te=De({currentLocation:S.location,nextLocation:P,historyAction:j});if(te&&I!=null){ht=!0,e.history.go(I*-1),Te(te,{state:"blocked",location:P,proceed(){Te(te,{state:"proceeding",proceed:void 0,reset:void 0,location:P}),e.history.go(I)},reset(){let ae=new Map(S.blockers);ae.set(te,us),We({blockers:ae})}});return}return Ct(j,P)}),n){z7(t,X);let k=()=>$7(t,X);t.addEventListener("pagehide",k),L=()=>t.removeEventListener("pagehide",k)}return S.initialized||Ct(dt.Pop,S.location,{initialHydration:!0}),_}function Ot(){h&&h(),L&&L(),y.clear(),z&&z.abort(),S.fetchers.forEach((k,j)=>$n(j)),S.blockers.forEach((k,j)=>ye(j))}function tr(k){return y.add(k),()=>y.delete(k)}function We(k,j){j===void 0&&(j={}),S=et({},S,k);let P=[],I=[];d.v7_fetcherPersist&&S.fetchers.forEach((te,ae)=>{te.state==="idle"&&(ke.has(ae)?I.push(ae):P.push(ae))}),[...y].forEach(te=>te(S,{deletedFetchers:I,unstable_viewTransitionOpts:j.viewTransitionOpts,unstable_flushSync:j.flushSync===!0})),d.v7_fetcherPersist&&(P.forEach(te=>S.fetchers.delete(te)),I.forEach(te=>$n(te)))}function St(k,j,P){var I,te;let{flushSync:ae}=P===void 0?{}:P,he=S.actionData!=null&&S.navigation.formMethod!=null&&kn(S.navigation.formMethod)&&S.navigation.state==="loading"&&((I=k.state)==null?void 0:I._isRedirect)!==!0,Q;j.actionData?Object.keys(j.actionData).length>0?Q=j.actionData:Q=null:he?Q=S.actionData:Q=null;let we=j.loaderData?np(S.loaderData,j.loaderData,j.matches||[],j.errors):S.loaderData,ue=S.blockers;ue.size>0&&(ue=new Map(ue),ue.forEach((Ae,ze)=>ue.set(ze,us)));let de=R===!0||S.navigation.formMethod!=null&&kn(S.navigation.formMethod)&&((te=k.state)==null?void 0:te._isRedirect)!==!0;a&&(s=a,a=void 0),W||T===dt.Pop||(T===dt.Push?e.history.push(k,k.state):T===dt.Replace&&e.history.replace(k,k.state));let Le;if(T===dt.Pop){let Ae=X.get(S.location.pathname);Ae&&Ae.has(k.pathname)?Le={currentLocation:S.location,nextLocation:k}:X.has(k.pathname)&&(Le={currentLocation:k,nextLocation:S.location})}else if(O){let Ae=X.get(S.location.pathname);Ae?Ae.add(k.pathname):(Ae=new Set([k.pathname]),X.set(S.location.pathname,Ae)),Le={currentLocation:S.location,nextLocation:k}}We(et({},j,{actionData:Q,loaderData:we,historyAction:T,location:k,initialized:!0,navigation:id,revalidation:"idle",restoreScrollPosition:O1(k,j.matches||S.matches),preventScrollReset:de,blockers:ue}),{viewTransitionOpts:Le,flushSync:ae===!0}),T=dt.Pop,R=!1,O=!1,W=!1,H=!1,oe=[]}async function bn(k,j){if(typeof k=="number"){e.history.go(k);return}let P=vf(S.location,S.matches,l,d.v7_prependBasename,k,d.v7_relativeSplatPath,j==null?void 0:j.fromRouteId,j==null?void 0:j.relative),{path:I,submission:te,error:ae}=Yh(d.v7_normalizeFormMethod,!1,P,j),he=S.location,Q=sa(S.location,I,j&&j.state);Q=et({},Q,e.history.encodeLocation(Q));let we=j&&j.replace!=null?j.replace:void 0,ue=dt.Push;we===!0?ue=dt.Replace:we===!1||te!=null&&kn(te.formMethod)&&te.formAction===S.location.pathname+S.location.search&&(ue=dt.Replace);let de=j&&"preventScrollReset"in j?j.preventScrollReset===!0:void 0,Le=(j&&j.unstable_flushSync)===!0,Ae=De({currentLocation:he,nextLocation:Q,historyAction:ue});if(Ae){Te(Ae,{state:"blocked",location:Q,proceed(){Te(Ae,{state:"proceeding",proceed:void 0,reset:void 0,location:Q}),bn(k,j)},reset(){let ze=new Map(S.blockers);ze.set(Ae,us),We({blockers:ze})}});return}return await Ct(ue,Q,{submission:te,pendingError:ae,preventScrollReset:de,replace:j&&j.replace,enableViewTransition:j&&j.unstable_viewTransition,flushSync:Le})}function go(){if(Ze(),We({revalidation:"loading"}),S.navigation.state!=="submitting"){if(S.navigation.state==="idle"){Ct(S.historyAction,S.location,{startUninterruptedRevalidation:!0});return}Ct(T||S.historyAction,S.navigation.location,{overrideNavigation:S.navigation})}}async function Ct(k,j,P){z&&z.abort(),z=null,T=k,W=(P&&P.startUninterruptedRevalidation)===!0,p6(S.location,S.matches),R=(P&&P.preventScrollReset)===!0,O=(P&&P.enableViewTransition)===!0;let I=a||s,te=P&&P.overrideNavigation,ae=xo(I,j,l),he=(P&&P.flushSync)===!0,Q=Za(ae,I,j.pathname);if(Q.active&&Q.matches&&(ae=Q.matches),!ae){let{error:Me,notFoundMatches:_t,route:ut}=Zt(j.pathname);St(j,{matches:_t,loaderData:{},errors:{[ut.id]:Me}},{flushSync:he});return}if(S.initialized&&!H&&P7(S.location,j)&&!(P&&P.submission&&kn(P.submission.formMethod))){St(j,{matches:ae},{flushSync:he});return}z=new AbortController;let we=ti(e.history,j,z.signal,P&&P.submission),ue;if(P&&P.pendingError)ue=[xi(ae).route.id,{type:Ie.error,error:P.pendingError}];else if(P&&P.submission&&kn(P.submission.formMethod)){let Me=await Ko(we,j,P.submission,ae,Q.active,{replace:P.replace,flushSync:he});if(Me.shortCircuited)return;if(Me.pendingActionResult){let[_t,ut]=Me.pendingActionResult;if(rn(ut)&&nu(ut.error)&&ut.error.status===404){z=null,St(j,{matches:Me.matches,loaderData:{},errors:{[_t]:ut.error}});return}}ae=Me.matches||ae,ue=Me.pendingActionResult,te=sd(j,P.submission),he=!1,Q.active=!1,we=ti(e.history,we.url,we.signal)}let{shortCircuited:de,matches:Le,loaderData:Ae,errors:ze}=await E(we,j,ae,Q.active,te,P&&P.submission,P&&P.fetcherSubmission,P&&P.replace,P&&P.initialHydration===!0,he,ue);de||(z=null,St(j,et({matches:Le||ae},rp(ue),{loaderData:Ae,errors:ze})))}async function Ko(k,j,P,I,te,ae){ae===void 0&&(ae={}),Ze();let he=I7(j,P);if(We({navigation:he},{flushSync:ae.flushSync===!0}),te){let ue=await Ga(I,j.pathname,k.signal);if(ue.type==="aborted")return{shortCircuited:!0};if(ue.type==="error"){let{boundaryId:de,error:Le}=Lt(j.pathname,ue);return{matches:ue.partialMatches,pendingActionResult:[de,{type:Ie.error,error:Le}]}}else if(ue.matches)I=ue.matches;else{let{notFoundMatches:de,error:Le,route:Ae}=Zt(j.pathname);return{matches:de,pendingActionResult:[Ae.id,{type:Ie.error,error:Le}]}}}let Q,we=bs(I,j);if(!we.route.action&&!we.route.lazy)Q={type:Ie.error,error:It(405,{method:k.method,pathname:j.pathname,routeId:we.route.id})};else if(Q=(await Ee("action",k,[we],I))[0],k.signal.aborted)return{shortCircuited:!0};if(_o(Q)){let ue;return ae&&ae.replace!=null?ue=ae.replace:ue=qh(Q.response.headers.get("Location"),new URL(k.url),l)===S.location.pathname+S.location.search,await ie(k,Q,{submission:P,replace:ue}),{shortCircuited:!0}}if(Co(Q))throw It(400,{type:"defer-action"});if(rn(Q)){let ue=xi(I,we.route.id);return(ae&&ae.replace)!==!0&&(T=dt.Push),{matches:I,pendingActionResult:[ue.route.id,Q]}}return{matches:I,pendingActionResult:[we.route.id,Q]}}async function E(k,j,P,I,te,ae,he,Q,we,ue,de){let Le=te||sd(j,ae),Ae=ae||he||lp(Le),ze=!W&&(!d.v7_partialHydration||!we);if(I){if(ze){let ot=N(de);We(et({navigation:Le},ot!==void 0?{actionData:ot}:{}),{flushSync:ue})}let Ce=await Ga(P,j.pathname,k.signal);if(Ce.type==="aborted")return{shortCircuited:!0};if(Ce.type==="error"){let{boundaryId:ot,error:en}=Lt(j.pathname,Ce);return{matches:Ce.partialMatches,loaderData:{},errors:{[ot]:en}}}else if(Ce.matches)P=Ce.matches;else{let{error:ot,notFoundMatches:en,route:Ge}=Zt(j.pathname);return{matches:en,loaderData:{},errors:{[Ge.id]:ot}}}}let Me=a||s,[_t,ut]=Qh(e.history,S,P,Ae,j,d.v7_partialHydration&&we===!0,d.v7_skipActionErrorRevalidation,H,oe,se,ke,J,U,Me,l,de);if(Er(Ce=>!(P&&P.some(ot=>ot.route.id===Ce))||_t&&_t.some(ot=>ot.route.id===Ce)),D=++M,_t.length===0&&ut.length===0){let Ce=rr();return St(j,et({matches:P,loaderData:{},errors:de&&rn(de[1])?{[de[0]]:de[1].error}:null},rp(de),Ce?{fetchers:new Map(S.fetchers)}:{}),{flushSync:ue}),{shortCircuited:!0}}if(ze){let Ce={};if(!I){Ce.navigation=Le;let ot=N(de);ot!==void 0&&(Ce.actionData=ot)}ut.length>0&&(Ce.fetchers=A(ut)),We(Ce,{flushSync:ue})}ut.forEach(Ce=>{Z.has(Ce.key)&&Wt(Ce.key),Ce.controller&&Z.set(Ce.key,Ce.controller)});let ts=()=>ut.forEach(Ce=>Wt(Ce.key));z&&z.signal.addEventListener("abort",ts);let{loaderResults:kr,fetcherResults:Xo}=await Fe(S.matches,P,_t,ut,k);if(k.signal.aborted)return{shortCircuited:!0};z&&z.signal.removeEventListener("abort",ts),ut.forEach(Ce=>Z.delete(Ce.key));let Jo=ip([...kr,...Xo]);if(Jo){if(Jo.idx>=_t.length){let Ce=ut[Jo.idx-_t.length].key;U.add(Ce)}return await ie(k,Jo.result,{replace:Q}),{shortCircuited:!0}}let{loaderData:qo,errors:Vn}=tp(S,P,_t,kr,de,ut,Xo,$e);$e.forEach((Ce,ot)=>{Ce.subscribe(en=>{(en||Ce.done)&&$e.delete(ot)})}),d.v7_partialHydration&&we&&S.errors&&Object.entries(S.errors).filter(Ce=>{let[ot]=Ce;return!_t.some(en=>en.route.id===ot)}).forEach(Ce=>{let[ot,en]=Ce;Vn=Object.assign(Vn||{},{[ot]:en})});let Ka=rr(),Ya=Sn(D),Qa=Ka||Ya||ut.length>0;return et({matches:P,loaderData:qo,errors:Vn},Qa?{fetchers:new Map(S.fetchers)}:{})}function N(k){if(k&&!rn(k[1]))return{[k[0]]:k[1].data};if(S.actionData)return Object.keys(S.actionData).length===0?null:S.actionData}function A(k){return k.forEach(j=>{let P=S.fetchers.get(j.key),I=ds(void 0,P?P.data:void 0);S.fetchers.set(j.key,I)}),new Map(S.fetchers)}function q(k,j,P,I){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Z.has(k)&&Wt(k);let te=(I&&I.unstable_flushSync)===!0,ae=a||s,he=vf(S.location,S.matches,l,d.v7_prependBasename,P,d.v7_relativeSplatPath,j,I==null?void 0:I.relative),Q=xo(ae,he,l),we=Za(Q,ae,he);if(we.active&&we.matches&&(Q=we.matches),!Q){xt(k,j,It(404,{pathname:he}),{flushSync:te});return}let{path:ue,submission:de,error:Le}=Yh(d.v7_normalizeFormMethod,!0,he,I);if(Le){xt(k,j,Le,{flushSync:te});return}let Ae=bs(Q,ue);if(R=(I&&I.preventScrollReset)===!0,de&&kn(de.formMethod)){Y(k,j,ue,Ae,Q,we.active,te,de);return}J.set(k,{routeId:j,path:ue}),V(k,j,ue,Ae,Q,we.active,te,de)}async function Y(k,j,P,I,te,ae,he,Q){Ze(),J.delete(k);function we(Ge){if(!Ge.route.action&&!Ge.route.lazy){let or=It(405,{method:Q.formMethod,pathname:P,routeId:j});return xt(k,j,or,{flushSync:he}),!0}return!1}if(!ae&&we(I))return;let ue=S.fetchers.get(k);yt(k,F7(Q,ue),{flushSync:he});let de=new AbortController,Le=ti(e.history,P,de.signal,Q);if(ae){let Ge=await Ga(te,P,Le.signal);if(Ge.type==="aborted")return;if(Ge.type==="error"){let{error:or}=Lt(P,Ge);xt(k,j,or,{flushSync:he});return}else if(Ge.matches){if(te=Ge.matches,I=bs(te,P),we(I))return}else{xt(k,j,It(404,{pathname:P}),{flushSync:he});return}}Z.set(k,de);let Ae=M,Me=(await Ee("action",Le,[I],te))[0];if(Le.signal.aborted){Z.get(k)===de&&Z.delete(k);return}if(d.v7_fetcherPersist&&ke.has(k)){if(_o(Me)||rn(Me)){yt(k,Pr(void 0));return}}else{if(_o(Me))if(Z.delete(k),D>Ae){yt(k,Pr(void 0));return}else return U.add(k),yt(k,ds(Q)),ie(Le,Me,{fetcherSubmission:Q});if(rn(Me)){xt(k,j,Me.error);return}}if(Co(Me))throw It(400,{type:"defer-action"});let _t=S.navigation.location||S.location,ut=ti(e.history,_t,de.signal),ts=a||s,kr=S.navigation.state!=="idle"?xo(ts,S.navigation.location,l):S.matches;Se(kr,"Didn't find any matches after fetcher action");let Xo=++M;K.set(k,Xo);let Jo=ds(Q,Me.data);S.fetchers.set(k,Jo);let[qo,Vn]=Qh(e.history,S,kr,Q,_t,!1,d.v7_skipActionErrorRevalidation,H,oe,se,ke,J,U,ts,l,[I.route.id,Me]);Vn.filter(Ge=>Ge.key!==k).forEach(Ge=>{let or=Ge.key,L1=S.fetchers.get(or),v6=ds(void 0,L1?L1.data:void 0);S.fetchers.set(or,v6),Z.has(or)&&Wt(or),Ge.controller&&Z.set(or,Ge.controller)}),We({fetchers:new Map(S.fetchers)});let Ka=()=>Vn.forEach(Ge=>Wt(Ge.key));de.signal.addEventListener("abort",Ka);let{loaderResults:Ya,fetcherResults:Qa}=await Fe(S.matches,kr,qo,Vn,ut);if(de.signal.aborted)return;de.signal.removeEventListener("abort",Ka),K.delete(k),Z.delete(k),Vn.forEach(Ge=>Z.delete(Ge.key));let Ce=ip([...Ya,...Qa]);if(Ce){if(Ce.idx>=qo.length){let Ge=Vn[Ce.idx-qo.length].key;U.add(Ge)}return ie(ut,Ce.result)}let{loaderData:ot,errors:en}=tp(S,S.matches,qo,Ya,void 0,Vn,Qa,$e);if(S.fetchers.has(k)){let Ge=Pr(Me.data);S.fetchers.set(k,Ge)}Sn(Xo),S.navigation.state==="loading"&&Xo>D?(Se(T,"Expected pending action"),z&&z.abort(),St(S.navigation.location,{matches:kr,loaderData:ot,errors:en,fetchers:new Map(S.fetchers)})):(We({errors:en,loaderData:np(S.loaderData,ot,kr,en),fetchers:new Map(S.fetchers)}),H=!1)}async function V(k,j,P,I,te,ae,he,Q){let we=S.fetchers.get(k);yt(k,ds(Q,we?we.data:void 0),{flushSync:he});let ue=new AbortController,de=ti(e.history,P,ue.signal);if(ae){let Me=await Ga(te,P,de.signal);if(Me.type==="aborted")return;if(Me.type==="error"){let{error:_t}=Lt(P,Me);xt(k,j,_t,{flushSync:he});return}else if(Me.matches)te=Me.matches,I=bs(te,P);else{xt(k,j,It(404,{pathname:P}),{flushSync:he});return}}Z.set(k,ue);let Le=M,ze=(await Ee("loader",de,[I],te))[0];if(Co(ze)&&(ze=await Bg(ze,de.signal,!0)||ze),Z.get(k)===ue&&Z.delete(k),!de.signal.aborted){if(ke.has(k)){yt(k,Pr(void 0));return}if(_o(ze))if(D>Le){yt(k,Pr(void 0));return}else{U.add(k),await ie(de,ze);return}if(rn(ze)){xt(k,j,ze.error);return}Se(!Co(ze),"Unhandled fetcher deferred data"),yt(k,Pr(ze.data))}}async function ie(k,j,P){let{submission:I,fetcherSubmission:te,replace:ae}=P===void 0?{}:P;j.response.headers.has("X-Remix-Revalidate")&&(H=!0);let he=j.response.headers.get("Location");Se(he,"Expected a Location header on the redirect Response"),he=qh(he,new URL(k.url),l);let Q=sa(S.location,he,{_isRedirect:!0});if(n){let ze=!1;if(j.response.headers.has("X-Remix-Reload-Document"))ze=!0;else if(H0.test(he)){const Me=e.history.createURL(he);ze=Me.origin!==t.location.origin||Xi(Me.pathname,l)==null}if(ze){ae?t.location.replace(he):t.location.assign(he);return}}z=null;let we=ae===!0||j.response.headers.has("X-Remix-Replace")?dt.Replace:dt.Push,{formMethod:ue,formAction:de,formEncType:Le}=S.navigation;!I&&!te&&ue&&de&&Le&&(I=lp(S.navigation));let Ae=I||te;if(y7.has(j.response.status)&&Ae&&kn(Ae.formMethod))await Ct(we,Q,{submission:et({},Ae,{formAction:he}),preventScrollReset:R});else{let ze=sd(Q,I);await Ct(we,Q,{overrideNavigation:ze,fetcherSubmission:te,preventScrollReset:R})}}async function Ee(k,j,P,I){try{let te=await j7(u,k,j,P,I,i,o);return await Promise.all(te.map((ae,he)=>{if(A7(ae)){let Q=ae.result;return{type:Ie.redirect,response:T7(Q,j,P[he].route.id,I,l,d.v7_relativeSplatPath)}}return R7(ae)}))}catch(te){return P.map(()=>({type:Ie.error,error:te}))}}async function Fe(k,j,P,I,te){let[ae,...he]=await Promise.all([P.length?Ee("loader",te,P,j):[],...I.map(Q=>{if(Q.matches&&Q.match&&Q.controller){let we=ti(e.history,Q.path,Q.controller.signal);return Ee("loader",we,[Q.match],Q.matches).then(ue=>ue[0])}else return Promise.resolve({type:Ie.error,error:It(404,{pathname:Q.path})})})]);return await Promise.all([ap(k,P,ae,ae.map(()=>te.signal),!1,S.loaderData),ap(k,I.map(Q=>Q.match),he,I.map(Q=>Q.controller?Q.controller.signal:null),!0)]),{loaderResults:ae,fetcherResults:he}}function Ze(){H=!0,oe.push(...Er()),J.forEach((k,j)=>{Z.has(j)&&(se.add(j),Wt(j))})}function yt(k,j,P){P===void 0&&(P={}),S.fetchers.set(k,j),We({fetchers:new Map(S.fetchers)},{flushSync:(P&&P.flushSync)===!0})}function xt(k,j,P,I){I===void 0&&(I={});let te=xi(S.matches,j);$n(k),We({errors:{[te.route.id]:P},fetchers:new Map(S.fetchers)},{flushSync:(I&&I.flushSync)===!0})}function nr(k){return d.v7_fetcherPersist&&(ge.set(k,(ge.get(k)||0)+1),ke.has(k)&&ke.delete(k)),S.fetchers.get(k)||x7}function $n(k){let j=S.fetchers.get(k);Z.has(k)&&!(j&&j.state==="loading"&&K.has(k))&&Wt(k),J.delete(k),K.delete(k),U.delete(k),ke.delete(k),se.delete(k),S.fetchers.delete(k)}function Yo(k){if(d.v7_fetcherPersist){let j=(ge.get(k)||0)-1;j<=0?(ge.delete(k),ke.add(k)):ge.set(k,j)}else $n(k);We({fetchers:new Map(S.fetchers)})}function Wt(k){let j=Z.get(k);Se(j,"Expected fetch controller: "+k),j.abort(),Z.delete(k)}function Qo(k){for(let j of k){let P=nr(j),I=Pr(P.data);S.fetchers.set(j,I)}}function rr(){let k=[],j=!1;for(let P of U){let I=S.fetchers.get(P);Se(I,"Expected fetcher: "+P),I.state==="loading"&&(U.delete(P),k.push(P),j=!0)}return Qo(k),j}function Sn(k){let j=[];for(let[P,I]of K)if(I0}function Tu(k,j){let P=S.blockers.get(k)||us;return me.get(k)!==j&&me.set(k,j),P}function ye(k){S.blockers.delete(k),me.delete(k)}function Te(k,j){let P=S.blockers.get(k)||us;Se(P.state==="unblocked"&&j.state==="blocked"||P.state==="blocked"&&j.state==="blocked"||P.state==="blocked"&&j.state==="proceeding"||P.state==="blocked"&&j.state==="unblocked"||P.state==="proceeding"&&j.state==="unblocked","Invalid blocker state transition: "+P.state+" -> "+j.state);let I=new Map(S.blockers);I.set(k,j),We({blockers:I})}function De(k){let{currentLocation:j,nextLocation:P,historyAction:I}=k;if(me.size===0)return;me.size>1&&$i(!1,"A router only supports one blocker at a time");let te=Array.from(me.entries()),[ae,he]=te[te.length-1],Q=S.blockers.get(ae);if(!(Q&&Q.state==="proceeding")&&he({currentLocation:j,nextLocation:P,historyAction:I}))return ae}function Zt(k){let j=It(404,{pathname:k}),P=a||s,{matches:I,route:te}=op(P);return Er(),{notFoundMatches:I,route:te,error:j}}function Lt(k,j){return{boundaryId:xi(j.partialMatches).route.id,error:It(400,{type:"route-discovery",pathname:k,message:j.error!=null&&"message"in j.error?j.error:String(j.error)})}}function Er(k){let j=[];return $e.forEach((P,I)=>{(!k||k(I))&&(P.cancel(),j.push(I),$e.delete(I))}),j}function Mu(k,j,P){if(x=k,b=j,v=P||null,!g&&S.navigation===id){g=!0;let I=O1(S.location,S.matches);I!=null&&We({restoreScrollPosition:I})}return()=>{x=null,b=null,v=null}}function A1(k,j){return v&&v(k,j.map(I=>Q8(I,S.loaderData)))||k.key}function p6(k,j){if(x&&b){let P=A1(k,j);x[P]=b()}}function O1(k,j){if(x){let P=A1(k,j),I=x[P];if(typeof I=="number")return I}return null}function Za(k,j,P){if(f)if(k){let I=k[k.length-1].route;if(I.path&&(I.path==="*"||I.path.endsWith("/*")))return{active:!0,matches:Fl(j,P,l,!0)}}else return{active:!0,matches:Fl(j,P,l,!0)||[]};return{active:!1,matches:null}}async function Ga(k,j,P){let I=k,te=I.length>0?I[I.length-1].route:null;for(;;){let ae=a==null,he=a||s;try{await E7(f,j,I,he,i,o,Xe,P)}catch(de){return{type:"error",error:de,partialMatches:I}}finally{ae&&(s=[...s])}if(P.aborted)return{type:"aborted"};let Q=xo(he,j,l),we=!1;if(Q){let de=Q[Q.length-1].route;if(de.index)return{type:"success",matches:Q};if(de.path&&de.path.length>0)if(de.path==="*")we=!0;else return{type:"success",matches:Q}}let ue=Fl(he,j,l,!0);if(!ue||I.map(de=>de.route.id).join("-")===ue.map(de=>de.route.id).join("-"))return{type:"success",matches:we?Q:null};if(I=ue,te=I[I.length-1].route,te.path==="*")return{type:"success",matches:I}}}function m6(k){i={},a=aa(k,o,void 0,i)}function g6(k,j){let P=a==null;zg(k,j,a||s,i,o),P&&(s=[...s],We({}))}return _={get basename(){return l},get future(){return d},get state(){return S},get routes(){return s},get window(){return t},initialize:Je,subscribe:tr,enableScrollRestoration:Mu,navigate:bn,fetch:q,revalidate:go,createHref:k=>e.history.createHref(k),encodeLocation:k=>e.history.encodeLocation(k),getFetcher:nr,deleteFetcher:Yo,dispose:Ot,getBlocker:Tu,deleteBlocker:ye,patchRoutes:g6,_internalFetchControllers:Z,_internalActiveDeferreds:$e,_internalSetRoutes:m6},_}function S7(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function vf(e,t,n,r,o,i,s,a){let l,u;if(s){l=[];for(let d of t)if(l.push(d),d.route.id===s){u=d;break}}else l=t,u=t[t.length-1];let f=U0(o||".",B0(l,i),Xi(e.pathname,n)||e.pathname,a==="path");return o==null&&(f.search=e.search,f.hash=e.hash),(o==null||o===""||o===".")&&u&&u.route.index&&!W0(f.search)&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(f.pathname=f.pathname==="/"?n:hr([n,f.pathname])),Io(f)}function Yh(e,t,n,r){if(!r||!S7(r))return{path:n};if(r.formMethod&&!L7(r.formMethod))return{path:n,error:It(405,{method:r.formMethod})};let o=()=>({path:n,error:It(400,{type:"invalid-body"})}),i=r.formMethod||"get",s=e?i.toUpperCase():i.toLowerCase(),a=$g(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!kn(s))return o();let h=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((y,x)=>{let[v,b]=x;return""+y+v+"="+b+` +`},""):String(r.body);return{path:n,submission:{formMethod:s,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:h}}}else if(r.formEncType==="application/json"){if(!kn(s))return o();try{let h=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:s,formAction:a,formEncType:r.formEncType,formData:void 0,json:h,text:void 0}}}catch{return o()}}}Se(typeof FormData=="function","FormData is not available in this environment");let l,u;if(r.formData)l=yf(r.formData),u=r.formData;else if(r.body instanceof FormData)l=yf(r.body),u=r.body;else if(r.body instanceof URLSearchParams)l=r.body,u=ep(l);else if(r.body==null)l=new URLSearchParams,u=new FormData;else try{l=new URLSearchParams(r.body),u=ep(l)}catch{return o()}let f={formMethod:s,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(kn(f.formMethod))return{path:n,submission:f};let d=fo(n);return t&&d.search&&W0(d.search)&&l.append("index",""),d.search="?"+l,{path:Io(d),submission:f}}function C7(e,t){let n=e;if(t){let r=e.findIndex(o=>o.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function Qh(e,t,n,r,o,i,s,a,l,u,f,d,h,y,x,v){let b=v?rn(v[1])?v[1].error:v[1].data:void 0,g=e.createURL(t.location),m=e.createURL(o),w=v&&rn(v[1])?v[0]:void 0,C=w?C7(n,w):n,_=v?v[1].statusCode:void 0,S=s&&_&&_>=400,T=C.filter((z,O)=>{let{route:X}=z;if(X.lazy)return!0;if(X.loader==null)return!1;if(i)return typeof X.loader!="function"||X.loader.hydrate?!0:t.loaderData[X.id]===void 0&&(!t.errors||t.errors[X.id]===void 0);if(_7(t.loaderData,t.matches[O],z)||l.some(H=>H===z.route.id))return!0;let L=t.matches[O],W=z;return Xh(z,et({currentUrl:g,currentParams:L.params,nextUrl:m,nextParams:W.params},r,{actionResult:b,actionStatus:_,defaultShouldRevalidate:S?!1:a||g.pathname+g.search===m.pathname+m.search||g.search!==m.search||Fg(L,W)}))}),R=[];return d.forEach((z,O)=>{if(i||!n.some(oe=>oe.route.id===z.routeId)||f.has(O))return;let X=xo(y,z.path,x);if(!X){R.push({key:O,routeId:z.routeId,path:z.path,matches:null,match:null,controller:null});return}let L=t.fetchers.get(O),W=bs(X,z.path),H=!1;h.has(O)?H=!1:u.has(O)?(u.delete(O),H=!0):L&&L.state!=="idle"&&L.data===void 0?H=a:H=Xh(W,et({currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:m,nextParams:n[n.length-1].params},r,{actionResult:b,actionStatus:_,defaultShouldRevalidate:S?!1:a})),H&&R.push({key:O,routeId:z.routeId,path:z.path,matches:X,match:W,controller:new AbortController})}),[T,R]}function _7(e,t,n){let r=!t||n.route.id!==t.route.id,o=e[n.route.id]===void 0;return r||o}function Fg(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Xh(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function E7(e,t,n,r,o,i,s,a){let l=[t,...n.map(u=>u.route.id)].join("-");try{let u=s.get(l);u||(u=e({path:t,matches:n,patch:(f,d)=>{a.aborted||zg(f,d,r,o,i)}}),s.set(l,u)),u&&D7(u)&&await u}finally{s.delete(l)}}function zg(e,t,n,r,o){if(e){var i;let s=r[e];Se(s,"No route found to patch children into: routeId = "+e);let a=aa(t,o,[e,"patch",String(((i=s.children)==null?void 0:i.length)||"0")],r);s.children?s.children.push(...a):s.children=a}else{let s=aa(t,o,["patch",String(n.length||"0")],r);n.push(...s)}}async function Jh(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let o=n[e.id];Se(o,"No route found in manifest");let i={};for(let s in r){let l=o[s]!==void 0&&s!=="hasErrorBoundary";$i(!l,'Route "'+o.id+'" has a static property "'+s+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+s+'" will be ignored.')),!l&&!K8.has(s)&&(i[s]=r[s])}Object.assign(o,i),Object.assign(o,et({},t(o),{lazy:void 0}))}function k7(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function j7(e,t,n,r,o,i,s,a){let l=r.reduce((d,h)=>d.add(h.route.id),new Set),u=new Set,f=await e({matches:o.map(d=>{let h=l.has(d.route.id);return et({},d,{shouldLoad:h,resolve:x=>(u.add(d.route.id),h?N7(t,n,d,i,s,x,a):Promise.resolve({type:Ie.data,result:void 0}))})}),request:n,params:o[0].params,context:a});return o.forEach(d=>Se(u.has(d.route.id),'`match.resolve()` was not called for route id "'+d.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),f.filter((d,h)=>l.has(o[h].route.id))}async function N7(e,t,n,r,o,i,s){let a,l,u=f=>{let d,h=new Promise((v,b)=>d=b);l=()=>d(),t.signal.addEventListener("abort",l);let y=v=>typeof f!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):f({request:t,params:n.params,context:s},...v!==void 0?[v]:[]),x;return i?x=i(v=>y(v)):x=(async()=>{try{return{type:"data",result:await y()}}catch(v){return{type:"error",result:v}}})(),Promise.race([x,h])};try{let f=n.route[e];if(n.route.lazy)if(f){let d,[h]=await Promise.all([u(f).catch(y=>{d=y}),Jh(n.route,o,r)]);if(d!==void 0)throw d;a=h}else if(await Jh(n.route,o,r),f=n.route[e],f)a=await u(f);else if(e==="action"){let d=new URL(t.url),h=d.pathname+d.search;throw It(405,{method:t.method,pathname:h,routeId:n.route.id})}else return{type:Ie.data,result:void 0};else if(f)a=await u(f);else{let d=new URL(t.url),h=d.pathname+d.search;throw It(404,{pathname:h})}Se(a.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(f){return{type:Ie.error,result:f}}finally{l&&t.signal.removeEventListener("abort",l)}return a}async function R7(e){let{result:t,type:n}=e;if(Vg(t)){let u;try{let f=t.headers.get("Content-Type");f&&/\bapplication\/json\b/.test(f)?t.body==null?u=null:u=await t.json():u=await t.text()}catch(f){return{type:Ie.error,error:f}}return n===Ie.error?{type:Ie.error,error:new mc(t.status,t.statusText,u),statusCode:t.status,headers:t.headers}:{type:Ie.data,data:u,statusCode:t.status,headers:t.headers}}if(n===Ie.error){if(sp(t)){var r;if(t.data instanceof Error){var o;return{type:Ie.error,error:t.data,statusCode:(o=t.init)==null?void 0:o.status}}t=new mc(((r=t.init)==null?void 0:r.status)||500,void 0,t.data)}return{type:Ie.error,error:t,statusCode:nu(t)?t.status:void 0}}if(O7(t)){var i,s;return{type:Ie.deferred,deferredData:t,statusCode:(i=t.init)==null?void 0:i.status,headers:((s=t.init)==null?void 0:s.headers)&&new Headers(t.init.headers)}}if(sp(t)){var a,l;return{type:Ie.data,data:t.data,statusCode:(a=t.init)==null?void 0:a.status,headers:(l=t.init)!=null&&l.headers?new Headers(t.init.headers):void 0}}return{type:Ie.data,data:t}}function T7(e,t,n,r,o,i){let s=e.headers.get("Location");if(Se(s,"Redirects returned/thrown from loaders/actions must have a Location header"),!H0.test(s)){let a=r.slice(0,r.findIndex(l=>l.route.id===n)+1);s=vf(new URL(t.url),a,o,!0,s,i),e.headers.set("Location",s)}return e}function qh(e,t,n){if(H0.test(e)){let r=e,o=r.startsWith("//")?new URL(t.protocol+r):new URL(r),i=Xi(o.pathname,n)!=null;if(o.origin===t.origin&&i)return o.pathname+o.search+o.hash}return e}function ti(e,t,n,r){let o=e.createURL($g(t)).toString(),i={signal:n};if(r&&kn(r.formMethod)){let{formMethod:s,formEncType:a}=r;i.method=s.toUpperCase(),a==="application/json"?(i.headers=new Headers({"Content-Type":a}),i.body=JSON.stringify(r.json)):a==="text/plain"?i.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?i.body=yf(r.formData):i.body=r.formData}return new Request(o,i)}function yf(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function ep(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function M7(e,t,n,r,o,i){let s={},a=null,l,u=!1,f={},d=r&&rn(r[1])?r[1].error:void 0;return n.forEach((h,y)=>{let x=t[y].route.id;if(Se(!_o(h),"Cannot handle redirect results in processLoaderData"),rn(h)){let v=h.error;d!==void 0&&(v=d,d=void 0),a=a||{};{let b=xi(e,x);a[b.route.id]==null&&(a[b.route.id]=v)}s[x]=void 0,u||(u=!0,l=nu(h.error)?h.error.status:500),h.headers&&(f[x]=h.headers)}else Co(h)?(o.set(x,h.deferredData),s[x]=h.deferredData.data,h.statusCode!=null&&h.statusCode!==200&&!u&&(l=h.statusCode),h.headers&&(f[x]=h.headers)):(s[x]=h.data,h.statusCode&&h.statusCode!==200&&!u&&(l=h.statusCode),h.headers&&(f[x]=h.headers))}),d!==void 0&&r&&(a={[r[0]]:d},s[r[0]]=void 0),{loaderData:s,errors:a,statusCode:l||200,loaderHeaders:f}}function tp(e,t,n,r,o,i,s,a){let{loaderData:l,errors:u}=M7(t,n,r,o,a);for(let f=0;fr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function op(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function It(e,t){let{pathname:n,routeId:r,method:o,type:i,message:s}=t===void 0?{}:t,a="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(a="Bad Request",i==="route-discovery"?l='Unable to match URL "'+n+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error: +`+s):o&&n&&r?l="You made a "+o+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":i==="defer-action"?l="defer() is not supported in actions":i==="invalid-body"&&(l="Unable to encode submission body")):e===403?(a="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):e===404?(a="Not Found",l='No route matches URL "'+n+'"'):e===405&&(a="Method Not Allowed",o&&n&&r?l="You made a "+o.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":o&&(l='Invalid request method "'+o.toUpperCase()+'"')),new mc(e||500,a,new Error(l),!0)}function ip(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(_o(n))return{result:n,idx:t}}}function $g(e){let t=typeof e=="string"?fo(e):e;return Io(et({},t,{hash:""}))}function P7(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function D7(e){return typeof e=="object"&&e!=null&&"then"in e}function A7(e){return Vg(e.result)&&v7.has(e.result.status)}function Co(e){return e.type===Ie.deferred}function rn(e){return e.type===Ie.error}function _o(e){return(e&&e.type)===Ie.redirect}function sp(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function O7(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Vg(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function L7(e){return g7.has(e.toLowerCase())}function kn(e){return p7.has(e.toLowerCase())}async function ap(e,t,n,r,o,i){for(let s=0;sd.route.id===l.route.id),f=u!=null&&!Fg(u,l)&&(i&&i[l.route.id])!==void 0;if(Co(a)&&(o||f)){let d=r[s];Se(d,"Expected an AbortSignal for revalidating fetcher deferred result"),await Bg(a,d,o).then(h=>{h&&(n[s]=h||n[s])})}}}async function Bg(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:Ie.data,data:e.deferredData.unwrappedData}}catch(o){return{type:Ie.error,error:o}}return{type:Ie.data,data:e.deferredData.data}}}function W0(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function bs(e,t){let n=typeof t=="string"?fo(t).search:t.search;if(e[e.length-1].route.index&&W0(n||""))return e[e.length-1];let r=Og(e);return r[r.length-1]}function lp(e){let{formMethod:t,formAction:n,formEncType:r,text:o,formData:i,json:s}=e;if(!(!t||!n||!r)){if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:o};if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0};if(s!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:s,text:void 0}}}function sd(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function I7(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function ds(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function F7(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Pr(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function z7(e,t){try{let n=e.sessionStorage.getItem(Ig);if(n){let r=JSON.parse(n);for(let[o,i]of Object.entries(r||{}))i&&Array.isArray(i)&&t.set(o,new Set(i||[]))}}catch{}}function $7(e,t){if(t.size>0){let n={};for(let[r,o]of t)n[r]=[...o];try{e.sessionStorage.setItem(Ig,JSON.stringify(n))}catch(r){$i(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** * React Router v6.26.0 * * Copyright (c) Remix Software Inc. @@ -57,7 +57,7 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function gc(){return gc=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),p.useCallback(function(u,f){if(f===void 0&&(f={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=U0(u,JSON.parse(s),i,f.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:hr([t,d.pathname])),(f.replace?r.replace:r.push)(d,f.state,f)},[t,r,s,i,e])}const H7=p.createContext(null);function W7(e){let t=p.useContext(fo).outlet;return t&&p.createElement(H7.Provider,{value:e},t)}function Zg(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=p.useContext(Wo),{matches:o}=p.useContext(fo),{pathname:i}=ou(),s=JSON.stringify(B0(o,r.v7_relativeSplatPath));return p.useMemo(()=>U0(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function Z7(e,t,n,r){Da()||Se(!1);let{navigator:o}=p.useContext(Wo),{matches:i}=p.useContext(fo),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=ou(),f;f=u;let d=f.pathname||"/",h=d;if(l!=="/"){let v=l.replace(/^\//,"").split("/");h="/"+d.replace(/^\//,"").split("/").slice(v.length).join("/")}let y=yo(e,{pathname:h});return X7(y&&y.map(v=>Object.assign({},v,{params:Object.assign({},a,v.params),pathname:hr([l,o.encodeLocation?o.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?l:hr([l,o.encodeLocation?o.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),i,n,r)}function G7(){let e=tw(),t=nu(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},t),n?p.createElement("pre",{style:o},n):null,null)}const K7=p.createElement(G7,null);class Y7 extends p.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?p.createElement(fo.Provider,{value:this.props.routeContext},p.createElement(Hg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Q7(e){let{routeContext:t,match:n,children:r}=e,o=p.useContext(ru);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),p.createElement(fo.Provider,{value:t},r)}function X7(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let f=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);f>=0||Se(!1),s=s.slice(0,Math.min(s.length,f+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((f,d,h)=>{let y,x=!1,v=null,b=null;n&&(y=a&&d.route.id?a[d.route.id]:void 0,v=d.route.errorElement||K7,l&&(u<0&&h===0?(x=!0,b=null):u===h&&(x=!0,b=d.route.hydrateFallbackElement||null)));let g=t.concat(s.slice(0,h+1)),m=()=>{let w;return y?w=v:x?w=b:d.route.Component?w=p.createElement(d.route.Component,null):d.route.element?w=d.route.element:w=f,p.createElement(Q7,{match:d,routeContext:{outlet:f,matches:g,isDataRoute:n!=null},children:w})};return n&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?p.createElement(Y7,{location:n.location,revalidation:n.revalidation,component:v,error:y,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var Gg=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Gg||{}),vc=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(vc||{});function J7(e){let t=p.useContext(ru);return t||Se(!1),t}function q7(e){let t=p.useContext(Ug);return t||Se(!1),t}function ew(e){let t=p.useContext(fo);return t||Se(!1),t}function Kg(e){let t=ew(),n=t.matches[t.matches.length-1];return n.route.id||Se(!1),n.route.id}function tw(){var e;let t=p.useContext(Hg),n=q7(vc.UseRouteError),r=Kg(vc.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function nw(){let{router:e}=J7(Gg.UseNavigateStable),t=Kg(vc.UseNavigateStable),n=p.useRef(!1);return Wg(()=>{n.current=!0}),p.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,gc({fromRouteId:t},i)))},[e,t])}function rw(e){return W7(e.context)}function Ss(e){Se(!1)}function ow(e){let{basename:t="/",children:n=null,location:r,navigationType:o=dt.Pop,navigator:i,static:s=!1,future:a}=e;Da()&&Se(!1);let l=t.replace(/^\/*/,"/"),u=p.useMemo(()=>({basename:l,navigator:i,static:s,future:gc({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=uo(r));let{pathname:f="/",search:d="",hash:h="",state:y=null,key:x="default"}=r,v=p.useMemo(()=>{let b=Xi(f,l);return b==null?null:{location:{pathname:b,search:d,hash:h,state:y,key:x},navigationType:o}},[l,f,d,h,y,x,o]);return v==null?null:p.createElement(Wo.Provider,{value:u},p.createElement(Z0.Provider,{children:n,value:v}))}new Promise(()=>{});function xf(e,t){t===void 0&&(t=[]);let n=[];return p.Children.forEach(e,(r,o)=>{if(!p.isValidElement(r))return;let i=[...t,o];if(r.type===p.Fragment){n.push.apply(n,xf(r.props.children,i));return}r.type!==Ss&&Se(!1),!r.props.index||!r.props.children||Se(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=xf(r.props.children,i)),n.push(s)}),n}function iw(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:p.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:p.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:p.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + */function gc(){return gc=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),p.useCallback(function(u,f){if(f===void 0&&(f={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=U0(u,JSON.parse(s),i,f.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:hr([t,d.pathname])),(f.replace?r.replace:r.push)(d,f.state,f)},[t,r,s,i,e])}const H7=p.createContext(null);function W7(e){let t=p.useContext(ho).outlet;return t&&p.createElement(H7.Provider,{value:e},t)}function Zg(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=p.useContext(Wo),{matches:o}=p.useContext(ho),{pathname:i}=ou(),s=JSON.stringify(B0(o,r.v7_relativeSplatPath));return p.useMemo(()=>U0(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function Z7(e,t,n,r){Da()||Se(!1);let{navigator:o}=p.useContext(Wo),{matches:i}=p.useContext(ho),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=ou(),f;f=u;let d=f.pathname||"/",h=d;if(l!=="/"){let v=l.replace(/^\//,"").split("/");h="/"+d.replace(/^\//,"").split("/").slice(v.length).join("/")}let y=xo(e,{pathname:h});return X7(y&&y.map(v=>Object.assign({},v,{params:Object.assign({},a,v.params),pathname:hr([l,o.encodeLocation?o.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?l:hr([l,o.encodeLocation?o.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),i,n,r)}function G7(){let e=tw(),t=nu(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},t),n?p.createElement("pre",{style:o},n):null,null)}const K7=p.createElement(G7,null);class Y7 extends p.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?p.createElement(ho.Provider,{value:this.props.routeContext},p.createElement(Hg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Q7(e){let{routeContext:t,match:n,children:r}=e,o=p.useContext(ru);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),p.createElement(ho.Provider,{value:t},r)}function X7(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let f=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);f>=0||Se(!1),s=s.slice(0,Math.min(s.length,f+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((f,d,h)=>{let y,x=!1,v=null,b=null;n&&(y=a&&d.route.id?a[d.route.id]:void 0,v=d.route.errorElement||K7,l&&(u<0&&h===0?(x=!0,b=null):u===h&&(x=!0,b=d.route.hydrateFallbackElement||null)));let g=t.concat(s.slice(0,h+1)),m=()=>{let w;return y?w=v:x?w=b:d.route.Component?w=p.createElement(d.route.Component,null):d.route.element?w=d.route.element:w=f,p.createElement(Q7,{match:d,routeContext:{outlet:f,matches:g,isDataRoute:n!=null},children:w})};return n&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?p.createElement(Y7,{location:n.location,revalidation:n.revalidation,component:v,error:y,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var Gg=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Gg||{}),vc=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(vc||{});function J7(e){let t=p.useContext(ru);return t||Se(!1),t}function q7(e){let t=p.useContext(Ug);return t||Se(!1),t}function ew(e){let t=p.useContext(ho);return t||Se(!1),t}function Kg(e){let t=ew(),n=t.matches[t.matches.length-1];return n.route.id||Se(!1),n.route.id}function tw(){var e;let t=p.useContext(Hg),n=q7(vc.UseRouteError),r=Kg(vc.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function nw(){let{router:e}=J7(Gg.UseNavigateStable),t=Kg(vc.UseNavigateStable),n=p.useRef(!1);return Wg(()=>{n.current=!0}),p.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,gc({fromRouteId:t},i)))},[e,t])}function rw(e){return W7(e.context)}function Ss(e){Se(!1)}function ow(e){let{basename:t="/",children:n=null,location:r,navigationType:o=dt.Pop,navigator:i,static:s=!1,future:a}=e;Da()&&Se(!1);let l=t.replace(/^\/*/,"/"),u=p.useMemo(()=>({basename:l,navigator:i,static:s,future:gc({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=fo(r));let{pathname:f="/",search:d="",hash:h="",state:y=null,key:x="default"}=r,v=p.useMemo(()=>{let b=Xi(f,l);return b==null?null:{location:{pathname:b,search:d,hash:h,state:y,key:x},navigationType:o}},[l,f,d,h,y,x,o]);return v==null?null:p.createElement(Wo.Provider,{value:u},p.createElement(Z0.Provider,{children:n,value:v}))}new Promise(()=>{});function xf(e,t){t===void 0&&(t=[]);let n=[];return p.Children.forEach(e,(r,o)=>{if(!p.isValidElement(r))return;let i=[...t,o];if(r.type===p.Fragment){n.push.apply(n,xf(r.props.children,i));return}r.type!==Ss&&Se(!1),!r.props.index||!r.props.children||Se(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=xf(r.props.children,i)),n.push(s)}),n}function iw(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:p.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:p.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:p.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** * React Router DOM v6.26.0 * * Copyright (c) Remix Software Inc. @@ -66,8 +66,8 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function la(){return la=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function aw(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function lw(e,t){return e.button===0&&(!t||t==="_self")&&!aw(e)}const cw=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],uw="6";try{window.__reactRouterVersion=uw}catch{}function dw(e,t){return b7({basename:void 0,future:la({},void 0,{v7_prependBasename:!0}),history:W8({window:void 0}),hydrationData:fw(),routes:e,mapRouteProperties:iw,unstable_dataStrategy:void 0,unstable_patchRoutesOnMiss:void 0,window:void 0}).initialize()}function fw(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=la({},t,{errors:hw(t.errors)})),t}function hw(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,o]of t)if(o&&o.__type==="RouteErrorResponse")n[r]=new mc(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let i=window[o.__subType];if(typeof i=="function")try{let s=new i(o.message);s.stack="",n[r]=s}catch{}}if(n[r]==null){let i=new Error(o.message);i.stack="",n[r]=i}}else n[r]=o;return n}const pw=p.createContext({isTransitioning:!1}),mw=p.createContext(new Map),gw="startTransition",cp=Tm[gw],vw="flushSync",up=H8[vw];function yw(e){cp?cp(e):e()}function fs(e){up?up(e):e()}class xw{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function ww(e){let{fallbackElement:t,router:n,future:r}=e,[o,i]=p.useState(n.state),[s,a]=p.useState(),[l,u]=p.useState({isTransitioning:!1}),[f,d]=p.useState(),[h,y]=p.useState(),[x,v]=p.useState(),b=p.useRef(new Map),{v7_startTransition:g}=r||{},m=p.useCallback(R=>{g?yw(R):R()},[g]),w=p.useCallback((R,z)=>{let{deletedFetchers:O,unstable_flushSync:X,unstable_viewTransitionOpts:L}=z;O.forEach(H=>b.current.delete(H)),R.fetchers.forEach((H,oe)=>{H.data!==void 0&&b.current.set(oe,H.data)});let W=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!L||W){X?fs(()=>i(R)):m(()=>i(R));return}if(X){fs(()=>{h&&(f&&f.resolve(),h.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:L.currentLocation,nextLocation:L.nextLocation})});let H=n.window.document.startViewTransition(()=>{fs(()=>i(R))});H.finished.finally(()=>{fs(()=>{d(void 0),y(void 0),a(void 0),u({isTransitioning:!1})})}),fs(()=>y(H));return}h?(f&&f.resolve(),h.skipTransition(),v({state:R,currentLocation:L.currentLocation,nextLocation:L.nextLocation})):(a(R),u({isTransitioning:!0,flushSync:!1,currentLocation:L.currentLocation,nextLocation:L.nextLocation}))},[n.window,h,f,b,m]);p.useLayoutEffect(()=>n.subscribe(w),[n,w]),p.useEffect(()=>{l.isTransitioning&&!l.flushSync&&d(new xw)},[l]),p.useEffect(()=>{if(f&&s&&n.window){let R=s,z=f.promise,O=n.window.document.startViewTransition(async()=>{m(()=>i(R)),await z});O.finished.finally(()=>{d(void 0),y(void 0),a(void 0),u({isTransitioning:!1})}),y(O)}},[m,s,f,n.window]),p.useEffect(()=>{f&&s&&o.location.key===s.location.key&&f.resolve()},[f,h,o.location,s]),p.useEffect(()=>{!l.isTransitioning&&x&&(a(x.state),u({isTransitioning:!0,flushSync:!1,currentLocation:x.currentLocation,nextLocation:x.nextLocation}),v(void 0))},[l.isTransitioning,x]),p.useEffect(()=>{},[]);let C=p.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:R=>n.navigate(R),push:(R,z,O)=>n.navigate(R,{state:z,preventScrollReset:O==null?void 0:O.preventScrollReset}),replace:(R,z,O)=>n.navigate(R,{replace:!0,state:z,preventScrollReset:O==null?void 0:O.preventScrollReset})}),[n]),_=n.basename||"/",S=p.useMemo(()=>({router:n,navigator:C,static:!1,basename:_}),[n,C,_]),T=p.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return p.createElement(p.Fragment,null,p.createElement(ru.Provider,{value:S},p.createElement(Ug.Provider,{value:o},p.createElement(mw.Provider,{value:b.current},p.createElement(pw.Provider,{value:l},p.createElement(ow,{basename:_,location:o.location,navigationType:o.historyAction,navigator:C,future:T},o.initialized||n.future.v7_partialHydration?p.createElement(bw,{routes:n.routes,future:n.future,state:o}):t))))),null)}const bw=p.memo(Sw);function Sw(e){let{routes:t,future:n,state:r}=e;return Z7(t,void 0,r,n)}const Cw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",_w=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Pt=p.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:u,preventScrollReset:f,unstable_viewTransition:d}=t,h=sw(t,cw),{basename:y}=p.useContext(Wo),x,v=!1;if(typeof u=="string"&&_w.test(u)&&(x=u,Cw))try{let w=new URL(window.location.href),C=u.startsWith("//")?new URL(w.protocol+u):new URL(u),_=Xi(C.pathname,y);C.origin===w.origin&&_!=null?u=_+C.search+C.hash:v=!0}catch{}let b=V7(u,{relative:o}),g=Ew(u,{replace:s,state:a,target:l,preventScrollReset:f,relative:o,unstable_viewTransition:d});function m(w){r&&r(w),w.defaultPrevented||g(w)}return p.createElement("a",la({},h,{href:x||b,onClick:v||i?r:m,ref:n,target:l}))});var dp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(dp||(dp={}));var fp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(fp||(fp={}));function Ew(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,l=B7(),u=ou(),f=Zg(e,{relative:s});return p.useCallback(d=>{if(lw(d,n)){d.preventDefault();let h=r!==void 0?r:Lo(u)===Lo(f);l(e,{replace:h,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a})}},[u,l,f,r,o,n,e,i,s,a])}var wf={},hp=Qi;wf.createRoot=hp.createRoot,wf.hydrateRoot=hp.hydrateRoot;const kw={theme:"system",setTheme:()=>null},Yg=p.createContext(kw),jw=({children:e,defaultTheme:t="system",storageKey:n="vite-ui-theme",...r})=>{const[o,i]=p.useState(()=>localStorage.getItem(n)||t);p.useEffect(()=>{const a=window.document.documentElement;if(a.classList.remove("light","dark"),o==="system"){const l=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";a.classList.add(l);return}a.classList.add(o)},[o]);const s={theme:o,setTheme:a=>{localStorage.setItem(n,a),i(a)}};return c.jsx(Yg.Provider,{...r,value:s,children:e})};var Nw=typeof window<"u"&&new class{constructor(){this.raf=e=>{requestAnimationFrame(this.raf);const t=e-this.now;this.now=e;for(let n=0;nn.priority-r.priority),()=>this.remove(e)}remove(e){this.callbacks=this.callbacks.filter(({callback:t})=>e!==t)}};function Qg(e,t,n){return Math.max(e,Math.min(t,n))}class Rw{constructor(){this.isRunning=!1,this.value=0,this.from=0,this.to=0,this.duration=0,this.currentTime=0}advance(t){var n;if(!this.isRunning)return;let r=!1;if(this.duration&&this.easing){this.currentTime+=t;const o=Qg(0,this.currentTime/this.duration,1);r=o>=1;const i=r?1:this.easing(o);this.value=this.from+(this.to-this.from)*i}else this.lerp?(this.value=function(i,s,a,l){return function(f,d,h){return(1-h)*f+h*d}(i,s,1-Math.exp(-a*l))}(this.value,this.to,60*this.lerp,t),Math.round(this.value)===this.to&&(this.value=this.to,r=!0)):(this.value=this.to,r=!0);r&&this.stop(),(n=this.onUpdate)===null||n===void 0||n.call(this,this.value,r)}stop(){this.isRunning=!1}fromTo(t,n,{lerp:r,duration:o,easing:i,onStart:s,onUpdate:a}){this.from=this.value=t,this.to=n,this.lerp=r,this.duration=o,this.easing=i,this.currentTime=0,this.isRunning=!0,s==null||s(),this.onUpdate=a}}class Tw{constructor({wrapper:t,content:n,autoResize:r=!0,debounce:o=250}={}){this.width=0,this.height=0,this.scrollWidth=0,this.scrollHeight=0,this.resize=()=>{this.onWrapperResize(),this.onContentResize()},this.onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):this.wrapper instanceof HTMLElement&&(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)},this.onContentResize=()=>{this.wrapper===window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):this.wrapper instanceof HTMLElement&&(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)},this.wrapper=t,this.content=n,r&&(this.debouncedResize=function(s,a){let l;return function(){let u=arguments,f=this;clearTimeout(l),l=setTimeout(function(){s.apply(f,u)},a)}}(this.resize,o),this.wrapper===window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){var t,n;(t=this.wrapperResizeObserver)===null||t===void 0||t.disconnect(),(n=this.contentResizeObserver)===null||n===void 0||n.disconnect(),window.removeEventListener("resize",this.debouncedResize,!1)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}}class Xg{constructor(){this.events={}}emit(t,...n){let r=this.events[t]||[];for(let o=0,i=r.length;o{var o;this.events[t]=(o=this.events[t])===null||o===void 0?void 0:o.filter(i=>n!==i)}}off(t,n){var r;this.events[t]=(r=this.events[t])===null||r===void 0?void 0:r.filter(o=>n!==o)}destroy(){this.events={}}}const pp=100/6;class Mw{constructor(t,{wheelMultiplier:n=1,touchMultiplier:r=1}){this.lastDelta={x:0,y:0},this.windowWidth=0,this.windowHeight=0,this.onTouchStart=o=>{const{clientX:i,clientY:s}=o.targetTouches?o.targetTouches[0]:o;this.touchStart.x=i,this.touchStart.y=s,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:o})},this.onTouchMove=o=>{var i,s,a,l;const{clientX:u,clientY:f}=o.targetTouches?o.targetTouches[0]:o,d=-(u-((s=(i=this.touchStart)===null||i===void 0?void 0:i.x)!==null&&s!==void 0?s:0))*this.touchMultiplier,h=-(f-((l=(a=this.touchStart)===null||a===void 0?void 0:a.y)!==null&&l!==void 0?l:0))*this.touchMultiplier;this.touchStart.x=u,this.touchStart.y=f,this.lastDelta={x:d,y:h},this.emitter.emit("scroll",{deltaX:d,deltaY:h,event:o})},this.onTouchEnd=o=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:o})},this.onWheel=o=>{let{deltaX:i,deltaY:s,deltaMode:a}=o;i*=a===1?pp:a===2?this.windowWidth:1,s*=a===1?pp:a===2?this.windowHeight:1,i*=this.wheelMultiplier,s*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:i,deltaY:s,event:o})},this.onWindowResize=()=>{this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight},this.element=t,this.wheelMultiplier=n,this.touchMultiplier=r,this.touchStart={x:null,y:null},this.emitter=new Xg,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}on(t,n){return this.emitter.on(t,n)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel),this.element.removeEventListener("touchstart",this.onTouchStart),this.element.removeEventListener("touchmove",this.onTouchMove),this.element.removeEventListener("touchend",this.onTouchEnd)}}class Pw{constructor({wrapper:t=window,content:n=document.documentElement,wheelEventsTarget:r=t,eventsTarget:o=r,smoothWheel:i=!0,syncTouch:s=!1,syncTouchLerp:a=.075,touchInertiaMultiplier:l=35,duration:u,easing:f=_=>Math.min(1,1.001-Math.pow(2,-10*_)),lerp:d=.1,infinite:h=!1,orientation:y="vertical",gestureOrientation:x="vertical",touchMultiplier:v=1,wheelMultiplier:b=1,autoResize:g=!0,prevent:m,virtualScroll:w,__experimental__naiveDimensions:C=!1}={}){this.__isScrolling=!1,this.__isStopped=!1,this.__isLocked=!1,this.userData={},this.lastVelocity=0,this.velocity=0,this.direction=0,this.onPointerDown=_=>{_.button===1&&this.reset()},this.onVirtualScroll=_=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(_)===!1)return;const{deltaX:S,deltaY:T,event:R}=_;if(this.emitter.emit("virtual-scroll",{deltaX:S,deltaY:T,event:R}),R.ctrlKey)return;const z=R.type.includes("touch"),O=R.type.includes("wheel");if(this.isTouching=R.type==="touchstart"||R.type==="touchmove",this.options.syncTouch&&z&&R.type==="touchstart"&&!this.isStopped&&!this.isLocked)return void this.reset();const X=S===0&&T===0,L=this.options.gestureOrientation==="vertical"&&T===0||this.options.gestureOrientation==="horizontal"&&S===0;if(X||L)return;let W=R.composedPath();W=W.slice(0,W.indexOf(this.rootElement));const H=this.options.prevent;if(W.find(M=>{var D,K,U,J,ge;return M instanceof Element&&(typeof H=="function"&&(H==null?void 0:H(M))||((D=M.hasAttribute)===null||D===void 0?void 0:D.call(M,"data-lenis-prevent"))||z&&((K=M.hasAttribute)===null||K===void 0?void 0:K.call(M,"data-lenis-prevent-touch"))||O&&((U=M.hasAttribute)===null||U===void 0?void 0:U.call(M,"data-lenis-prevent-wheel"))||((J=M.classList)===null||J===void 0?void 0:J.contains("lenis"))&&!(!((ge=M.classList)===null||ge===void 0)&&ge.contains("lenis-stopped")))}))return;if(this.isStopped||this.isLocked)return void R.preventDefault();if(!(this.options.syncTouch&&z||this.options.smoothWheel&&O))return this.isScrolling="native",void this.animate.stop();R.preventDefault();let oe=T;this.options.gestureOrientation==="both"?oe=Math.abs(T)>Math.abs(S)?T:S:this.options.gestureOrientation==="horizontal"&&(oe=S);const se=z&&this.options.syncTouch,Z=z&&R.type==="touchend"&&Math.abs(oe)>5;Z&&(oe=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+oe,Object.assign({programmatic:!1},se?{lerp:Z?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))},this.onNativeScroll=()=>{if(clearTimeout(this.__resetVelocityTimeout),delete this.__resetVelocityTimeout,this.__preventNextNativeScrollEvent)delete this.__preventNextNativeScrollEvent;else if(this.isScrolling===!1||this.isScrolling==="native"){const _=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-_,this.direction=Math.sign(this.animatedScroll-_),this.isScrolling="native",this.emit(),this.velocity!==0&&(this.__resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}},window.lenisVersion="1.1.9",t&&t!==document.documentElement&&t!==document.body||(t=window),this.options={wrapper:t,content:n,wheelEventsTarget:r,eventsTarget:o,smoothWheel:i,syncTouch:s,syncTouchLerp:a,touchInertiaMultiplier:l,duration:u,easing:f,lerp:d,infinite:h,gestureOrientation:x,orientation:y,touchMultiplier:v,wheelMultiplier:b,autoResize:g,prevent:m,virtualScroll:w,__experimental__naiveDimensions:C},this.animate=new Rw,this.emitter=new Xg,this.dimensions=new Tw({wrapper:t,content:n,autoResize:g}),this.updateClassName(),this.userData={},this.time=0,this.velocity=this.lastVelocity=0,this.isLocked=!1,this.isStopped=!1,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=new Mw(o,{touchMultiplier:v,wheelMultiplier:b}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName()}on(t,n){return this.emitter.on(t,n)}off(t,n){return this.emitter.off(t,n)}setScroll(t){this.isHorizontal?this.rootElement.scrollLeft=t:this.rootElement.scrollTop=t}resize(){this.dimensions.resize()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.isStopped=!1,this.reset())}stop(){this.isStopped||(this.isStopped=!0,this.animate.stop(),this.reset())}raf(t){const n=t-(this.time||t);this.time=t,this.animate.advance(.001*n)}scrollTo(t,{offset:n=0,immediate:r=!1,lock:o=!1,duration:i=this.options.duration,easing:s=this.options.easing,lerp:a=this.options.lerp,onStart:l,onComplete:u,force:f=!1,programmatic:d=!0,userData:h={}}={}){if(!this.isStopped&&!this.isLocked||f){if(typeof t=="string"&&["top","left","start"].includes(t))t=0;else if(typeof t=="string"&&["bottom","right","end"].includes(t))t=this.limit;else{let y;if(typeof t=="string"?y=document.querySelector(t):t instanceof HTMLElement&&(t!=null&&t.nodeType)&&(y=t),y){if(this.options.wrapper!==window){const v=this.rootElement.getBoundingClientRect();n-=this.isHorizontal?v.left:v.top}const x=y.getBoundingClientRect();t=(this.isHorizontal?x.left:x.top)+this.animatedScroll}}if(typeof t=="number"&&(t+=n,t=Math.round(t),this.options.infinite?d&&(this.targetScroll=this.animatedScroll=this.scroll):t=Qg(0,t,this.limit),t!==this.targetScroll)){if(this.userData=h,r)return this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),u==null||u(this),void(this.userData={});d||(this.targetScroll=t),this.animate.fromTo(this.animatedScroll,t,{duration:i,easing:s,lerp:a,onStart:()=>{o&&(this.isLocked=!0),this.isScrolling="smooth",l==null||l(this)},onUpdate:(y,x)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=y-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=y,this.setScroll(this.scroll),d&&(this.targetScroll=y),x||this.emit(),x&&(this.reset(),this.emit(),u==null||u(this),this.userData={},this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this.__preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{delete this.__preventNextNativeScrollEvent})}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?function(n,r){return(n%r+r)%r}(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this.__isScrolling}set isScrolling(t){this.__isScrolling!==t&&(this.__isScrolling=t,this.updateClassName())}get isStopped(){return this.__isStopped}set isStopped(t){this.__isStopped!==t&&(this.__isStopped=t,this.updateClassName())}get isLocked(){return this.__isLocked}set isLocked(t){this.__isLocked!==t&&(this.__isLocked=t,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let t="lenis";return this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),this.isScrolling==="smooth"&&(t+=" lenis-smooth"),t}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}}const Jg=p.createContext(null),bf=new class{constructor(t){this.listeners=[],this.state=t}set(t){this.state=t;for(let n of this.listeners)n(this.state)}subscribe(t){return this.listeners=[...this.listeners,t],()=>{this.listeners=this.listeners.filter(n=>n!==t)}}get(){return this.state}}({});function Dw(){const e=p.useContext(Jg),t=function(r){const[o,i]=p.useState(r.get());return p.useEffect(()=>r.subscribe(s=>i(s)),[r]),o}(bf);return e??t}function iu(e,t=[],n=0){const{lenis:r,addCallback:o,removeCallback:i}=Dw();return p.useEffect(()=>{},[r,o,i,n,...t]),r}const Aw=p.forwardRef((e,t)=>{var{children:n,root:r=!1,options:o={},autoRaf:i=!0,rafPriority:s=0,className:a}=e,l=function(m,w){var C={};for(var _ in m)Object.prototype.hasOwnProperty.call(m,_)&&w.indexOf(_)<0&&(C[_]=m[_]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function"){var S=0;for(_=Object.getOwnPropertySymbols(m);S<_.length;S++)w.indexOf(_[S])<0&&Object.prototype.propertyIsEnumerable.call(m,_[S])&&(C[_[S]]=m[_[S]])}return C}(e,["children","root","options","autoRaf","rafPriority","className"]);const u=p.useRef(null),f=p.useRef(null),[d,h]=p.useState(void 0),y=p.useRef([]),x=p.useCallback((g,m)=>{y.current.push({callback:g,priority:m}),y.current.sort((w,C)=>w.priority-C.priority)},[]),v=p.useCallback(g=>{y.current=y.current.filter(m=>m.callback!==g)},[]);p.useImperativeHandle(t,()=>({wrapper:u.current,content:f.current,lenis:d}),[d]),p.useEffect(()=>{const g=new Pw(Object.assign(Object.assign({},o),!r&&{wrapper:u.current,content:f.current}));return h(g),()=>{g.destroy(),h(void 0)}},[r,JSON.stringify(o)]),p.useEffect(()=>{if(d&&i)return Nw.add(g=>{d==null||d.raf(g)},s)},[d,i,s]),p.useEffect(()=>{if(r&&d)return bf.set({lenis:d,addCallback:x,removeCallback:v}),()=>bf.set({})},[r,d,x,v]);const b=p.useCallback((...g)=>{for(let m=0;m(d==null||d.on("scroll",b),()=>{d==null||d.off("scroll",b)}),[d,b]),c.jsx(Jg.Provider,{value:{lenis:d,addCallback:x,removeCallback:v},children:r?n:c.jsx("div",Object.assign({ref:u,className:a},l,{children:c.jsx("div",{ref:f,children:n})}))})}),Ow=({children:e})=>c.jsx(Aw,{root:!0,options:{syncTouch:!0},children:e});function Lw(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function su(...e){return t=>e.forEach(n=>Lw(n,t))}function ct(...e){return p.useCallback(su(...e),e)}var Jr=p.forwardRef((e,t)=>{const{children:n,...r}=e,o=p.Children.toArray(n),i=o.find(Iw);if(i){const s=i.props.children,a=o.map(l=>l===i?p.Children.count(s)>1?p.Children.only(null):p.isValidElement(s)?s.props.children:null:l);return c.jsx(Sf,{...r,ref:t,children:p.isValidElement(s)?p.cloneElement(s,void 0,a):null})}return c.jsx(Sf,{...r,ref:t,children:n})});Jr.displayName="Slot";var Sf=p.forwardRef((e,t)=>{const{children:n,...r}=e;if(p.isValidElement(n)){const o=zw(n);return p.cloneElement(n,{...Fw(r,n.props),ref:t?su(t,o):o})}return p.Children.count(n)>1?p.Children.only(null):null});Sf.displayName="SlotClone";var G0=({children:e})=>c.jsx(c.Fragment,{children:e});function Iw(e){return p.isValidElement(e)&&e.type===G0}function Fw(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{i(...a),o(...a)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function zw(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function qg(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="boolean"?"".concat(e):e===0?"0":e,gp=$w,au=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return gp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const f=n==null?void 0:n[u],d=i==null?void 0:i[u];if(f===null)return null;const h=mp(f)||mp(d);return o[u][h]}),a=n&&Object.entries(n).reduce((u,f)=>{let[d,h]=f;return h===void 0||(u[d]=h),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,f)=>{let{class:d,className:h,...y}=f;return Object.entries(y).every(x=>{let[v,b]=x;return Array.isArray(b)?b.includes({...i,...a}[v]):{...i,...a}[v]===b})?[...u,d,h]:u},[]);return gp(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};function ev(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;ta(i)))==null?void 0:s.classGroupId}const vp=/^\[(.+)\]$/;function Uw(e){if(vp.test(e)){const t=vp.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function Hw(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Zw(Object.entries(e.classGroups),n).forEach(([i,s])=>{Cf(s,r,i,t)}),r}function Cf(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:yp(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(Ww(o)){Cf(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{Cf(s,yp(t,i),n,r)})})}function yp(e,t){let n=e;return t.split(K0).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function Ww(e){return e.isThemeGetter}function Zw(e,t){return t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,a])=>[t+s,a])):i);return[n,o]}):e}function Gw(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(i,s){n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)}return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}}const nv="!";function Kw(e){const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length;function s(a){const l=[];let u=0,f=0,d;for(let b=0;bf?d-f:void 0;return{modifiers:l,hasImportantModifier:y,baseClassName:x,maybePostfixModifierPosition:v}}return n?function(l){return n({className:l,parseClassName:s})}:s}function Yw(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function Qw(e){return{cache:Gw(e.cacheSize),parseClassName:Kw(e),...Bw(e)}}const Xw=/\s+/;function Jw(e,t){const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=new Set;return e.trim().split(Xw).map(s=>{const{modifiers:a,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:f}=n(s);let d=!!f,h=r(d?u.substring(0,f):u);if(!h){if(!d)return{isTailwindClass:!1,originalClassName:s};if(h=r(u),!h)return{isTailwindClass:!1,originalClassName:s};d=!1}const y=Yw(a).join(":");return{isTailwindClass:!0,modifierId:l?y+nv:y,classGroupId:h,originalClassName:s,hasPostfixModifier:d}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:u}=s,f=a+l;return i.has(f)?!1:(i.add(f),o(l,u).forEach(d=>i.add(a+d)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function qw(){let e=0,t,n,r="";for(;ed(f),e());return n=Qw(u),r=n.cache.get,o=n.cache.set,i=a,a(l)}function a(l){const u=r(l);if(u)return u;const f=Jw(l,n);return o(l,f),f}return function(){return i(qw.apply(null,arguments))}}function Be(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const ov=/^\[(?:([a-z-]+):)?(.+)\]$/i,t9=/^\d+\/\d+$/,n9=new Set(["px","full","screen"]),r9=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,o9=/\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$/,i9=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,s9=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,a9=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function ir(e){return _o(e)||n9.has(e)||t9.test(e)}function Nr(e){return Ji(e,"length",m9)}function _o(e){return!!e&&!Number.isNaN(Number(e))}function pl(e){return Ji(e,"number",_o)}function hs(e){return!!e&&Number.isInteger(Number(e))}function l9(e){return e.endsWith("%")&&_o(e.slice(0,-1))}function be(e){return ov.test(e)}function Rr(e){return r9.test(e)}const c9=new Set(["length","size","percentage"]);function u9(e){return Ji(e,c9,iv)}function d9(e){return Ji(e,"position",iv)}const f9=new Set(["image","url"]);function h9(e){return Ji(e,f9,v9)}function p9(e){return Ji(e,"",g9)}function ps(){return!0}function Ji(e,t,n){const r=ov.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function m9(e){return o9.test(e)&&!i9.test(e)}function iv(){return!1}function g9(e){return s9.test(e)}function v9(e){return a9.test(e)}function y9(){const e=Be("colors"),t=Be("spacing"),n=Be("blur"),r=Be("brightness"),o=Be("borderColor"),i=Be("borderRadius"),s=Be("borderSpacing"),a=Be("borderWidth"),l=Be("contrast"),u=Be("grayscale"),f=Be("hueRotate"),d=Be("invert"),h=Be("gap"),y=Be("gradientColorStops"),x=Be("gradientColorStopPositions"),v=Be("inset"),b=Be("margin"),g=Be("opacity"),m=Be("padding"),w=Be("saturate"),C=Be("scale"),_=Be("sepia"),S=Be("skew"),T=Be("space"),R=Be("translate"),z=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",be,t],L=()=>[be,t],W=()=>["",ir,Nr],H=()=>["auto",_o,be],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],se=()=>["solid","dashed","dotted","double","none"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],M=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",be],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[_o,pl],J=()=>[_o,be];return{cacheSize:500,separator:":",theme:{colors:[ps],spacing:[ir,Nr],blur:["none","",Rr,be],brightness:U(),borderColor:[e],borderRadius:["none","","full",Rr,be],borderSpacing:L(),borderWidth:W(),contrast:U(),grayscale:D(),hueRotate:J(),invert:D(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[l9,Nr],inset:X(),margin:X(),opacity:U(),padding:L(),saturate:U(),scale:U(),sepia:D(),skew:J(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",be]}],container:["container"],columns:[{columns:[Rr]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...oe(),be]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:z()}],"overscroll-x":[{"overscroll-x":z()}],"overscroll-y":[{"overscroll-y":z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",hs,be]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",be]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",hs,be]}],"grid-cols":[{"grid-cols":[ps]}],"col-start-end":[{col:["auto",{span:["full",hs,be]},be]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[ps]}],"row-start-end":[{row:["auto",{span:[hs,be]},be]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",be]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",be]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...M()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...M(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...M(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",be,t]}],"min-w":[{"min-w":[be,t,"min","max","fit"]}],"max-w":[{"max-w":[be,t,"none","full","min","max","fit","prose",{screen:[Rr]},Rr]}],h:[{h:[be,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[be,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[be,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[be,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Rr,Nr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",pl]}],"font-family":[{font:[ps]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",be]}],"line-clamp":[{"line-clamp":["none",_o,pl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ir,be]}],"list-image":[{"list-image":["none",be]}],"list-style-type":[{list:["none","disc","decimal",be]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...se(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ir,Nr]}],"underline-offset":[{"underline-offset":["auto",ir,be]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...oe(),d9]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",u9]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},h9]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...se(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:se()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...se()]}],"outline-offset":[{"outline-offset":[ir,be]}],"outline-w":[{outline:[ir,Nr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[ir,Nr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Rr,p9]}],"shadow-color":[{shadow:[ps]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...Z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Rr,be]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",be]}],duration:[{duration:J()}],ease:[{ease:["linear","in","out","in-out",be]}],delay:[{delay:J()}],animate:[{animate:["none","spin","ping","pulse","bounce",be]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[hs,be]}],"translate-x":[{"translate-x":[R]}],"translate-y":[{"translate-y":[R]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",be]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",be]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"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",be]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ir,Nr,pl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const x9=e9(y9);function ce(...e){return x9(Vw(e))}const Y0=au("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-border bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Io=p.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const s=r?Jr:"button";return c.jsx(s,{className:ce(Y0({variant:t,size:n,className:e})),ref:i,...o})});Io.displayName="Button";var Ni=(e=>(e.root="/",e.notFound="*",e.github404="/404",e))(Ni||{});const xp=()=>c.jsxs("section",{className:"h-[calc(100dvh_-_56px)] flex-center flex-col gap-y-2 lg:gap-y-1.5 leading-tight",children:[c.jsx("h6",{className:"lg:text-lg font-bold",children:"404 Page Not Found"}),c.jsx("p",{className:"text-xs lg:text-sm text-muted-foreground",children:"Woops! Looks like this page doesn't exist."}),c.jsx(Io,{asChild:!0,className:"rounded-full",children:c.jsx(Pt,{to:Ni.root,children:"Go back"})})]});var w9=e=>{switch(e){case"success":return C9;case"info":return E9;case"warning":return _9;case"error":return k9;default:return null}},b9=Array(12).fill(0),S9=({visible:e})=>F.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},F.createElement("div",{className:"sonner-spinner"},b9.map((t,n)=>F.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),C9=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},F.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),_9=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},F.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),E9=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},F.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),k9=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},F.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),j9=()=>{let[e,t]=F.useState(document.hidden);return F.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},_f=1,N9=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:_f++,i=this.toasts.find(a=>a.id===o),s=e.dismissible===void 0?!0:e.dismissible;return i?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=e=>(e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0;return r.then(async i=>{if(T9(i)&&!i.ok){o=!1;let s=typeof t.error=="function"?await t.error(`HTTP error! status: ${i.status}`):t.error,a=typeof t.description=="function"?await t.description(`HTTP error! status: ${i.status}`):t.description;this.create({id:n,type:"error",message:s,description:a})}else if(t.success!==void 0){o=!1;let s=typeof t.success=="function"?await t.success(i):t.success,a=typeof t.description=="function"?await t.description(i):t.description;this.create({id:n,type:"success",message:s,description:a})}}).catch(async i=>{if(t.error!==void 0){o=!1;let s=typeof t.error=="function"?await t.error(i):t.error,a=typeof t.description=="function"?await t.description(i):t.description;this.create({id:n,type:"error",message:s,description:a})}}).finally(()=>{var i;o&&(this.dismiss(n),n=void 0),(i=t.finally)==null||i.call(t)}),n},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||_f++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},tn=new N9,R9=(e,t)=>{let n=(t==null?void 0:t.id)||_f++;return tn.addToast({title:e,...t,id:n}),n},T9=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",M9=R9,P9=()=>tn.toasts,wp=Object.assign(M9,{success:tn.success,info:tn.info,warning:tn.warning,error:tn.error,custom:tn.custom,message:tn.message,promise:tn.promise,dismiss:tn.dismiss,loading:tn.loading},{getHistory:P9});function D9(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}D9(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} -`);function ml(e){return e.label!==void 0}var A9=3,O9="32px",L9=4e3,I9=356,F9=14,z9=20,$9=200;function V9(...e){return e.filter(Boolean).join(" ")}var B9=e=>{var t,n,r,o,i,s,a,l,u,f;let{invert:d,toast:h,unstyled:y,interacting:x,setHeights:v,visibleToasts:b,heights:g,index:m,toasts:w,expanded:C,removeToast:_,defaultRichColors:S,closeButton:T,style:R,cancelButtonStyle:z,actionButtonStyle:O,className:X="",descriptionClassName:L="",duration:W,position:H,gap:oe,loadingIcon:se,expandByDefault:Z,classNames:M,icons:D,closeButtonAriaLabel:K="Close toast",pauseWhenPageIsHidden:U,cn:J}=e,[ge,ke]=F.useState(!1),[$e,me]=F.useState(!1),[Xe,ht]=F.useState(!1),[Je,Ot]=F.useState(!1),[tr,We]=F.useState(0),[St,wn]=F.useState(0),mo=F.useRef(null),Ct=F.useRef(null),Ko=m===0,E=m+1<=b,N=h.type,A=h.dismissible!==!1,q=h.className||"",Y=h.descriptionClassName||"",V=F.useMemo(()=>g.findIndex(ye=>ye.toastId===h.id)||0,[g,h.id]),ie=F.useMemo(()=>{var ye;return(ye=h.closeButton)!=null?ye:T},[h.closeButton,T]),Ee=F.useMemo(()=>h.duration||W||L9,[h.duration,W]),Fe=F.useRef(0),Ze=F.useRef(0),yt=F.useRef(0),xt=F.useRef(null),[nr,$n]=H.split("-"),Yo=F.useMemo(()=>g.reduce((ye,Te,De)=>De>=V?ye:ye+Te.height,0),[g,V]),Wt=j9(),Qo=h.invert||d,rr=N==="loading";Ze.current=F.useMemo(()=>V*oe+Yo,[V,Yo]),F.useEffect(()=>{ke(!0)},[]),F.useLayoutEffect(()=>{if(!ge)return;let ye=Ct.current,Te=ye.style.height;ye.style.height="auto";let De=ye.getBoundingClientRect().height;ye.style.height=Te,wn(De),v(Zt=>Zt.find(Lt=>Lt.toastId===h.id)?Zt.map(Lt=>Lt.toastId===h.id?{...Lt,height:De}:Lt):[{toastId:h.id,height:De,position:h.position},...Zt])},[ge,h.title,h.description,v,h.id]);let bn=F.useCallback(()=>{me(!0),We(Ze.current),v(ye=>ye.filter(Te=>Te.toastId!==h.id)),setTimeout(()=>{_(h)},$9)},[h,_,v,Ze]);F.useEffect(()=>{if(h.promise&&N==="loading"||h.duration===1/0||h.type==="loading")return;let ye,Te=Ee;return C||x||U&&Wt?(()=>{if(yt.current{var De;(De=h.onAutoClose)==null||De.call(h,h),bn()},Te)),()=>clearTimeout(ye)},[C,x,Z,h,Ee,bn,h.promise,N,U,Wt]),F.useEffect(()=>{let ye=Ct.current;if(ye){let Te=ye.getBoundingClientRect().height;return wn(Te),v(De=>[{toastId:h.id,height:Te,position:h.position},...De]),()=>v(De=>De.filter(Zt=>Zt.toastId!==h.id))}},[v,h.id]),F.useEffect(()=>{h.delete&&bn()},[bn,h.delete]);function Tu(){return D!=null&&D.loading?F.createElement("div",{className:"sonner-loader","data-visible":N==="loading"},D.loading):se?F.createElement("div",{className:"sonner-loader","data-visible":N==="loading"},se):F.createElement(S9,{visible:N==="loading"})}return F.createElement("li",{"aria-live":h.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:Ct,className:J(X,q,M==null?void 0:M.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,M==null?void 0:M.default,M==null?void 0:M[N],(n=h==null?void 0:h.classNames)==null?void 0:n[N]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:S,"data-styled":!(h.jsx||h.unstyled||y),"data-mounted":ge,"data-promise":!!h.promise,"data-removed":$e,"data-visible":E,"data-y-position":nr,"data-x-position":$n,"data-index":m,"data-front":Ko,"data-swiping":Xe,"data-dismissible":A,"data-type":N,"data-invert":Qo,"data-swipe-out":Je,"data-expanded":!!(C||Z&&ge),style:{"--index":m,"--toasts-before":m,"--z-index":w.length-m,"--offset":`${$e?tr:Ze.current}px`,"--initial-height":Z?"auto":`${St}px`,...R,...h.style},onPointerDown:ye=>{rr||!A||(mo.current=new Date,We(Ze.current),ye.target.setPointerCapture(ye.pointerId),ye.target.tagName!=="BUTTON"&&(ht(!0),xt.current={x:ye.clientX,y:ye.clientY}))},onPointerUp:()=>{var ye,Te,De,Zt;if(Je||!A)return;xt.current=null;let Lt=Number(((ye=Ct.current)==null?void 0:ye.style.getPropertyValue("--swipe-amount").replace("px",""))||0),Er=new Date().getTime()-((Te=mo.current)==null?void 0:Te.getTime()),Mu=Math.abs(Lt)/Er;if(Math.abs(Lt)>=z9||Mu>.11){We(Ze.current),(De=h.onDismiss)==null||De.call(h,h),bn(),Ot(!0);return}(Zt=Ct.current)==null||Zt.style.setProperty("--swipe-amount","0px"),ht(!1)},onPointerMove:ye=>{var Te;if(!xt.current||!A)return;let De=ye.clientY-xt.current.y,Zt=ye.clientX-xt.current.x,Lt=(nr==="top"?Math.min:Math.max)(0,De),Er=ye.pointerType==="touch"?10:2;Math.abs(Lt)>Er?(Te=Ct.current)==null||Te.style.setProperty("--swipe-amount",`${De}px`):Math.abs(Zt)>Er&&(xt.current=null)}},ie&&!h.jsx?F.createElement("button",{"aria-label":K,"data-disabled":rr,"data-close-button":!0,onClick:rr||!A?()=>{}:()=>{var ye;bn(),(ye=h.onDismiss)==null||ye.call(h,h)},className:J(M==null?void 0:M.closeButton,(o=h==null?void 0:h.classNames)==null?void 0:o.closeButton)},F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},F.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),F.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,h.jsx||F.isValidElement(h.title)?h.jsx||h.title:F.createElement(F.Fragment,null,N||h.icon||h.promise?F.createElement("div",{"data-icon":"",className:J(M==null?void 0:M.icon,(i=h==null?void 0:h.classNames)==null?void 0:i.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||Tu():null,h.type!=="loading"?h.icon||(D==null?void 0:D[N])||w9(N):null):null,F.createElement("div",{"data-content":"",className:J(M==null?void 0:M.content,(s=h==null?void 0:h.classNames)==null?void 0:s.content)},F.createElement("div",{"data-title":"",className:J(M==null?void 0:M.title,(a=h==null?void 0:h.classNames)==null?void 0:a.title)},h.title),h.description?F.createElement("div",{"data-description":"",className:J(L,Y,M==null?void 0:M.description,(l=h==null?void 0:h.classNames)==null?void 0:l.description)},h.description):null),F.isValidElement(h.cancel)?h.cancel:h.cancel&&ml(h.cancel)?F.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||z,onClick:ye=>{var Te,De;ml(h.cancel)&&A&&((De=(Te=h.cancel).onClick)==null||De.call(Te,ye),bn())},className:J(M==null?void 0:M.cancelButton,(u=h==null?void 0:h.classNames)==null?void 0:u.cancelButton)},h.cancel.label):null,F.isValidElement(h.action)?h.action:h.action&&ml(h.action)?F.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||O,onClick:ye=>{var Te,De;ml(h.action)&&(ye.defaultPrevented||((De=(Te=h.action).onClick)==null||De.call(Te,ye),bn()))},className:J(M==null?void 0:M.actionButton,(f=h==null?void 0:h.classNames)==null?void 0:f.actionButton)},h.action.label):null))};function bp(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}var U9=e=>{let{invert:t,position:n="bottom-right",hotkey:r=["altKey","KeyT"],expand:o,closeButton:i,className:s,offset:a,theme:l="light",richColors:u,duration:f,style:d,visibleToasts:h=A9,toastOptions:y,dir:x=bp(),gap:v=F9,loadingIcon:b,icons:g,containerAriaLabel:m="Notifications",pauseWhenPageIsHidden:w,cn:C=V9}=e,[_,S]=F.useState([]),T=F.useMemo(()=>Array.from(new Set([n].concat(_.filter(U=>U.position).map(U=>U.position)))),[_,n]),[R,z]=F.useState([]),[O,X]=F.useState(!1),[L,W]=F.useState(!1),[H,oe]=F.useState(l!=="system"?l:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),se=F.useRef(null),Z=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),M=F.useRef(null),D=F.useRef(!1),K=F.useCallback(U=>{var J;(J=_.find(ge=>ge.id===U.id))!=null&&J.delete||tn.dismiss(U.id),S(ge=>ge.filter(({id:ke})=>ke!==U.id))},[_]);return F.useEffect(()=>tn.subscribe(U=>{if(U.dismiss){S(J=>J.map(ge=>ge.id===U.id?{...ge,delete:!0}:ge));return}setTimeout(()=>{V0.flushSync(()=>{S(J=>{let ge=J.findIndex(ke=>ke.id===U.id);return ge!==-1?[...J.slice(0,ge),{...J[ge],...U},...J.slice(ge+1)]:[U,...J]})})})}),[]),F.useEffect(()=>{if(l!=="system"){oe(l);return}l==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?oe("dark"):oe("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:U})=>{oe(U?"dark":"light")})},[l]),F.useEffect(()=>{_.length<=1&&X(!1)},[_]),F.useEffect(()=>{let U=J=>{var ge,ke;r.every($e=>J[$e]||J.code===$e)&&(X(!0),(ge=se.current)==null||ge.focus()),J.code==="Escape"&&(document.activeElement===se.current||(ke=se.current)!=null&&ke.contains(document.activeElement))&&X(!1)};return document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)},[r]),F.useEffect(()=>{if(se.current)return()=>{M.current&&(M.current.focus({preventScroll:!0}),M.current=null,D.current=!1)}},[se.current]),_.length?F.createElement("section",{"aria-label":`${m} ${Z}`,tabIndex:-1},T.map((U,J)=>{var ge;let[ke,$e]=U.split("-");return F.createElement("ol",{key:U,dir:x==="auto"?bp():x,tabIndex:-1,ref:se,className:s,"data-sonner-toaster":!0,"data-theme":H,"data-y-position":ke,"data-x-position":$e,style:{"--front-toast-height":`${((ge=R[0])==null?void 0:ge.height)||0}px`,"--offset":typeof a=="number"?`${a}px`:a||O9,"--width":`${I9}px`,"--gap":`${v}px`,...d},onBlur:me=>{D.current&&!me.currentTarget.contains(me.relatedTarget)&&(D.current=!1,M.current&&(M.current.focus({preventScroll:!0}),M.current=null))},onFocus:me=>{me.target instanceof HTMLElement&&me.target.dataset.dismissible==="false"||D.current||(D.current=!0,M.current=me.relatedTarget)},onMouseEnter:()=>X(!0),onMouseMove:()=>X(!0),onMouseLeave:()=>{L||X(!1)},onPointerDown:me=>{me.target instanceof HTMLElement&&me.target.dataset.dismissible==="false"||W(!0)},onPointerUp:()=>W(!1)},_.filter(me=>!me.position&&J===0||me.position===U).map((me,Xe)=>{var ht,Je;return F.createElement(B9,{key:me.id,icons:g,index:Xe,toast:me,defaultRichColors:u,duration:(ht=y==null?void 0:y.duration)!=null?ht:f,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:t,visibleToasts:h,closeButton:(Je=y==null?void 0:y.closeButton)!=null?Je:i,interacting:L,position:U,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:K,toasts:_.filter(Ot=>Ot.position==me.position),heights:R.filter(Ot=>Ot.position==me.position),setHeights:z,expandByDefault:o,gap:v,loadingIcon:b,expanded:O,pauseWhenPageIsHidden:w,cn:C})}))})):null},Ef=(e=>(e.system="system",e.dark="dark",e.light="light",e))(Ef||{});const Q0=()=>{const e=p.useContext(Yg);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e},H9=({children:e})=>{const{theme:t}=Q0();return c.jsxs(c.Fragment,{children:[c.jsx(U9,{richColors:!0,theme:t,position:"bottom-right",pauseWhenPageIsHidden:!0}),e]})};/** + */function la(){return la=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function aw(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function lw(e,t){return e.button===0&&(!t||t==="_self")&&!aw(e)}const cw=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],uw="6";try{window.__reactRouterVersion=uw}catch{}function dw(e,t){return b7({basename:void 0,future:la({},void 0,{v7_prependBasename:!0}),history:W8({window:void 0}),hydrationData:fw(),routes:e,mapRouteProperties:iw,unstable_dataStrategy:void 0,unstable_patchRoutesOnMiss:void 0,window:void 0}).initialize()}function fw(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=la({},t,{errors:hw(t.errors)})),t}function hw(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,o]of t)if(o&&o.__type==="RouteErrorResponse")n[r]=new mc(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let i=window[o.__subType];if(typeof i=="function")try{let s=new i(o.message);s.stack="",n[r]=s}catch{}}if(n[r]==null){let i=new Error(o.message);i.stack="",n[r]=i}}else n[r]=o;return n}const pw=p.createContext({isTransitioning:!1}),mw=p.createContext(new Map),gw="startTransition",cp=Tm[gw],vw="flushSync",up=H8[vw];function yw(e){cp?cp(e):e()}function fs(e){up?up(e):e()}class xw{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function ww(e){let{fallbackElement:t,router:n,future:r}=e,[o,i]=p.useState(n.state),[s,a]=p.useState(),[l,u]=p.useState({isTransitioning:!1}),[f,d]=p.useState(),[h,y]=p.useState(),[x,v]=p.useState(),b=p.useRef(new Map),{v7_startTransition:g}=r||{},m=p.useCallback(R=>{g?yw(R):R()},[g]),w=p.useCallback((R,z)=>{let{deletedFetchers:O,unstable_flushSync:X,unstable_viewTransitionOpts:L}=z;O.forEach(H=>b.current.delete(H)),R.fetchers.forEach((H,oe)=>{H.data!==void 0&&b.current.set(oe,H.data)});let W=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!L||W){X?fs(()=>i(R)):m(()=>i(R));return}if(X){fs(()=>{h&&(f&&f.resolve(),h.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:L.currentLocation,nextLocation:L.nextLocation})});let H=n.window.document.startViewTransition(()=>{fs(()=>i(R))});H.finished.finally(()=>{fs(()=>{d(void 0),y(void 0),a(void 0),u({isTransitioning:!1})})}),fs(()=>y(H));return}h?(f&&f.resolve(),h.skipTransition(),v({state:R,currentLocation:L.currentLocation,nextLocation:L.nextLocation})):(a(R),u({isTransitioning:!0,flushSync:!1,currentLocation:L.currentLocation,nextLocation:L.nextLocation}))},[n.window,h,f,b,m]);p.useLayoutEffect(()=>n.subscribe(w),[n,w]),p.useEffect(()=>{l.isTransitioning&&!l.flushSync&&d(new xw)},[l]),p.useEffect(()=>{if(f&&s&&n.window){let R=s,z=f.promise,O=n.window.document.startViewTransition(async()=>{m(()=>i(R)),await z});O.finished.finally(()=>{d(void 0),y(void 0),a(void 0),u({isTransitioning:!1})}),y(O)}},[m,s,f,n.window]),p.useEffect(()=>{f&&s&&o.location.key===s.location.key&&f.resolve()},[f,h,o.location,s]),p.useEffect(()=>{!l.isTransitioning&&x&&(a(x.state),u({isTransitioning:!0,flushSync:!1,currentLocation:x.currentLocation,nextLocation:x.nextLocation}),v(void 0))},[l.isTransitioning,x]),p.useEffect(()=>{},[]);let C=p.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:R=>n.navigate(R),push:(R,z,O)=>n.navigate(R,{state:z,preventScrollReset:O==null?void 0:O.preventScrollReset}),replace:(R,z,O)=>n.navigate(R,{replace:!0,state:z,preventScrollReset:O==null?void 0:O.preventScrollReset})}),[n]),_=n.basename||"/",S=p.useMemo(()=>({router:n,navigator:C,static:!1,basename:_}),[n,C,_]),T=p.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return p.createElement(p.Fragment,null,p.createElement(ru.Provider,{value:S},p.createElement(Ug.Provider,{value:o},p.createElement(mw.Provider,{value:b.current},p.createElement(pw.Provider,{value:l},p.createElement(ow,{basename:_,location:o.location,navigationType:o.historyAction,navigator:C,future:T},o.initialized||n.future.v7_partialHydration?p.createElement(bw,{routes:n.routes,future:n.future,state:o}):t))))),null)}const bw=p.memo(Sw);function Sw(e){let{routes:t,future:n,state:r}=e;return Z7(t,void 0,r,n)}const Cw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",_w=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Pt=p.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:u,preventScrollReset:f,unstable_viewTransition:d}=t,h=sw(t,cw),{basename:y}=p.useContext(Wo),x,v=!1;if(typeof u=="string"&&_w.test(u)&&(x=u,Cw))try{let w=new URL(window.location.href),C=u.startsWith("//")?new URL(w.protocol+u):new URL(u),_=Xi(C.pathname,y);C.origin===w.origin&&_!=null?u=_+C.search+C.hash:v=!0}catch{}let b=V7(u,{relative:o}),g=Ew(u,{replace:s,state:a,target:l,preventScrollReset:f,relative:o,unstable_viewTransition:d});function m(w){r&&r(w),w.defaultPrevented||g(w)}return p.createElement("a",la({},h,{href:x||b,onClick:v||i?r:m,ref:n,target:l}))});var dp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(dp||(dp={}));var fp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(fp||(fp={}));function Ew(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,l=B7(),u=ou(),f=Zg(e,{relative:s});return p.useCallback(d=>{if(lw(d,n)){d.preventDefault();let h=r!==void 0?r:Io(u)===Io(f);l(e,{replace:h,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a})}},[u,l,f,r,o,n,e,i,s,a])}var wf={},hp=Qi;wf.createRoot=hp.createRoot,wf.hydrateRoot=hp.hydrateRoot;const kw={theme:"system",setTheme:()=>null},Yg=p.createContext(kw),jw=({children:e,defaultTheme:t="system",storageKey:n="vite-ui-theme",...r})=>{const[o,i]=p.useState(()=>localStorage.getItem(n)||t);p.useEffect(()=>{const a=window.document.documentElement;if(a.classList.remove("light","dark"),o==="system"){const l=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";a.classList.add(l);return}a.classList.add(o)},[o]);const s={theme:o,setTheme:a=>{localStorage.setItem(n,a),i(a)}};return c.jsx(Yg.Provider,{...r,value:s,children:e})};var Nw=typeof window<"u"&&new class{constructor(){this.raf=e=>{requestAnimationFrame(this.raf);const t=e-this.now;this.now=e;for(let n=0;nn.priority-r.priority),()=>this.remove(e)}remove(e){this.callbacks=this.callbacks.filter(({callback:t})=>e!==t)}};function Qg(e,t,n){return Math.max(e,Math.min(t,n))}class Rw{constructor(){this.isRunning=!1,this.value=0,this.from=0,this.to=0,this.duration=0,this.currentTime=0}advance(t){var n;if(!this.isRunning)return;let r=!1;if(this.duration&&this.easing){this.currentTime+=t;const o=Qg(0,this.currentTime/this.duration,1);r=o>=1;const i=r?1:this.easing(o);this.value=this.from+(this.to-this.from)*i}else this.lerp?(this.value=function(i,s,a,l){return function(f,d,h){return(1-h)*f+h*d}(i,s,1-Math.exp(-a*l))}(this.value,this.to,60*this.lerp,t),Math.round(this.value)===this.to&&(this.value=this.to,r=!0)):(this.value=this.to,r=!0);r&&this.stop(),(n=this.onUpdate)===null||n===void 0||n.call(this,this.value,r)}stop(){this.isRunning=!1}fromTo(t,n,{lerp:r,duration:o,easing:i,onStart:s,onUpdate:a}){this.from=this.value=t,this.to=n,this.lerp=r,this.duration=o,this.easing=i,this.currentTime=0,this.isRunning=!0,s==null||s(),this.onUpdate=a}}class Tw{constructor({wrapper:t,content:n,autoResize:r=!0,debounce:o=250}={}){this.width=0,this.height=0,this.scrollWidth=0,this.scrollHeight=0,this.resize=()=>{this.onWrapperResize(),this.onContentResize()},this.onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):this.wrapper instanceof HTMLElement&&(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)},this.onContentResize=()=>{this.wrapper===window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):this.wrapper instanceof HTMLElement&&(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)},this.wrapper=t,this.content=n,r&&(this.debouncedResize=function(s,a){let l;return function(){let u=arguments,f=this;clearTimeout(l),l=setTimeout(function(){s.apply(f,u)},a)}}(this.resize,o),this.wrapper===window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){var t,n;(t=this.wrapperResizeObserver)===null||t===void 0||t.disconnect(),(n=this.contentResizeObserver)===null||n===void 0||n.disconnect(),window.removeEventListener("resize",this.debouncedResize,!1)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}}class Xg{constructor(){this.events={}}emit(t,...n){let r=this.events[t]||[];for(let o=0,i=r.length;o{var o;this.events[t]=(o=this.events[t])===null||o===void 0?void 0:o.filter(i=>n!==i)}}off(t,n){var r;this.events[t]=(r=this.events[t])===null||r===void 0?void 0:r.filter(o=>n!==o)}destroy(){this.events={}}}const pp=100/6;class Mw{constructor(t,{wheelMultiplier:n=1,touchMultiplier:r=1}){this.lastDelta={x:0,y:0},this.windowWidth=0,this.windowHeight=0,this.onTouchStart=o=>{const{clientX:i,clientY:s}=o.targetTouches?o.targetTouches[0]:o;this.touchStart.x=i,this.touchStart.y=s,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:o})},this.onTouchMove=o=>{var i,s,a,l;const{clientX:u,clientY:f}=o.targetTouches?o.targetTouches[0]:o,d=-(u-((s=(i=this.touchStart)===null||i===void 0?void 0:i.x)!==null&&s!==void 0?s:0))*this.touchMultiplier,h=-(f-((l=(a=this.touchStart)===null||a===void 0?void 0:a.y)!==null&&l!==void 0?l:0))*this.touchMultiplier;this.touchStart.x=u,this.touchStart.y=f,this.lastDelta={x:d,y:h},this.emitter.emit("scroll",{deltaX:d,deltaY:h,event:o})},this.onTouchEnd=o=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:o})},this.onWheel=o=>{let{deltaX:i,deltaY:s,deltaMode:a}=o;i*=a===1?pp:a===2?this.windowWidth:1,s*=a===1?pp:a===2?this.windowHeight:1,i*=this.wheelMultiplier,s*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:i,deltaY:s,event:o})},this.onWindowResize=()=>{this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight},this.element=t,this.wheelMultiplier=n,this.touchMultiplier=r,this.touchStart={x:null,y:null},this.emitter=new Xg,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}on(t,n){return this.emitter.on(t,n)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel),this.element.removeEventListener("touchstart",this.onTouchStart),this.element.removeEventListener("touchmove",this.onTouchMove),this.element.removeEventListener("touchend",this.onTouchEnd)}}class Pw{constructor({wrapper:t=window,content:n=document.documentElement,wheelEventsTarget:r=t,eventsTarget:o=r,smoothWheel:i=!0,syncTouch:s=!1,syncTouchLerp:a=.075,touchInertiaMultiplier:l=35,duration:u,easing:f=_=>Math.min(1,1.001-Math.pow(2,-10*_)),lerp:d=.1,infinite:h=!1,orientation:y="vertical",gestureOrientation:x="vertical",touchMultiplier:v=1,wheelMultiplier:b=1,autoResize:g=!0,prevent:m,virtualScroll:w,__experimental__naiveDimensions:C=!1}={}){this.__isScrolling=!1,this.__isStopped=!1,this.__isLocked=!1,this.userData={},this.lastVelocity=0,this.velocity=0,this.direction=0,this.onPointerDown=_=>{_.button===1&&this.reset()},this.onVirtualScroll=_=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(_)===!1)return;const{deltaX:S,deltaY:T,event:R}=_;if(this.emitter.emit("virtual-scroll",{deltaX:S,deltaY:T,event:R}),R.ctrlKey)return;const z=R.type.includes("touch"),O=R.type.includes("wheel");if(this.isTouching=R.type==="touchstart"||R.type==="touchmove",this.options.syncTouch&&z&&R.type==="touchstart"&&!this.isStopped&&!this.isLocked)return void this.reset();const X=S===0&&T===0,L=this.options.gestureOrientation==="vertical"&&T===0||this.options.gestureOrientation==="horizontal"&&S===0;if(X||L)return;let W=R.composedPath();W=W.slice(0,W.indexOf(this.rootElement));const H=this.options.prevent;if(W.find(M=>{var D,K,U,J,ge;return M instanceof Element&&(typeof H=="function"&&(H==null?void 0:H(M))||((D=M.hasAttribute)===null||D===void 0?void 0:D.call(M,"data-lenis-prevent"))||z&&((K=M.hasAttribute)===null||K===void 0?void 0:K.call(M,"data-lenis-prevent-touch"))||O&&((U=M.hasAttribute)===null||U===void 0?void 0:U.call(M,"data-lenis-prevent-wheel"))||((J=M.classList)===null||J===void 0?void 0:J.contains("lenis"))&&!(!((ge=M.classList)===null||ge===void 0)&&ge.contains("lenis-stopped")))}))return;if(this.isStopped||this.isLocked)return void R.preventDefault();if(!(this.options.syncTouch&&z||this.options.smoothWheel&&O))return this.isScrolling="native",void this.animate.stop();R.preventDefault();let oe=T;this.options.gestureOrientation==="both"?oe=Math.abs(T)>Math.abs(S)?T:S:this.options.gestureOrientation==="horizontal"&&(oe=S);const se=z&&this.options.syncTouch,Z=z&&R.type==="touchend"&&Math.abs(oe)>5;Z&&(oe=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+oe,Object.assign({programmatic:!1},se?{lerp:Z?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))},this.onNativeScroll=()=>{if(clearTimeout(this.__resetVelocityTimeout),delete this.__resetVelocityTimeout,this.__preventNextNativeScrollEvent)delete this.__preventNextNativeScrollEvent;else if(this.isScrolling===!1||this.isScrolling==="native"){const _=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-_,this.direction=Math.sign(this.animatedScroll-_),this.isScrolling="native",this.emit(),this.velocity!==0&&(this.__resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}},window.lenisVersion="1.1.9",t&&t!==document.documentElement&&t!==document.body||(t=window),this.options={wrapper:t,content:n,wheelEventsTarget:r,eventsTarget:o,smoothWheel:i,syncTouch:s,syncTouchLerp:a,touchInertiaMultiplier:l,duration:u,easing:f,lerp:d,infinite:h,gestureOrientation:x,orientation:y,touchMultiplier:v,wheelMultiplier:b,autoResize:g,prevent:m,virtualScroll:w,__experimental__naiveDimensions:C},this.animate=new Rw,this.emitter=new Xg,this.dimensions=new Tw({wrapper:t,content:n,autoResize:g}),this.updateClassName(),this.userData={},this.time=0,this.velocity=this.lastVelocity=0,this.isLocked=!1,this.isStopped=!1,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=new Mw(o,{touchMultiplier:v,wheelMultiplier:b}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName()}on(t,n){return this.emitter.on(t,n)}off(t,n){return this.emitter.off(t,n)}setScroll(t){this.isHorizontal?this.rootElement.scrollLeft=t:this.rootElement.scrollTop=t}resize(){this.dimensions.resize()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.isStopped=!1,this.reset())}stop(){this.isStopped||(this.isStopped=!0,this.animate.stop(),this.reset())}raf(t){const n=t-(this.time||t);this.time=t,this.animate.advance(.001*n)}scrollTo(t,{offset:n=0,immediate:r=!1,lock:o=!1,duration:i=this.options.duration,easing:s=this.options.easing,lerp:a=this.options.lerp,onStart:l,onComplete:u,force:f=!1,programmatic:d=!0,userData:h={}}={}){if(!this.isStopped&&!this.isLocked||f){if(typeof t=="string"&&["top","left","start"].includes(t))t=0;else if(typeof t=="string"&&["bottom","right","end"].includes(t))t=this.limit;else{let y;if(typeof t=="string"?y=document.querySelector(t):t instanceof HTMLElement&&(t!=null&&t.nodeType)&&(y=t),y){if(this.options.wrapper!==window){const v=this.rootElement.getBoundingClientRect();n-=this.isHorizontal?v.left:v.top}const x=y.getBoundingClientRect();t=(this.isHorizontal?x.left:x.top)+this.animatedScroll}}if(typeof t=="number"&&(t+=n,t=Math.round(t),this.options.infinite?d&&(this.targetScroll=this.animatedScroll=this.scroll):t=Qg(0,t,this.limit),t!==this.targetScroll)){if(this.userData=h,r)return this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),u==null||u(this),void(this.userData={});d||(this.targetScroll=t),this.animate.fromTo(this.animatedScroll,t,{duration:i,easing:s,lerp:a,onStart:()=>{o&&(this.isLocked=!0),this.isScrolling="smooth",l==null||l(this)},onUpdate:(y,x)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=y-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=y,this.setScroll(this.scroll),d&&(this.targetScroll=y),x||this.emit(),x&&(this.reset(),this.emit(),u==null||u(this),this.userData={},this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this.__preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{delete this.__preventNextNativeScrollEvent})}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?function(n,r){return(n%r+r)%r}(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this.__isScrolling}set isScrolling(t){this.__isScrolling!==t&&(this.__isScrolling=t,this.updateClassName())}get isStopped(){return this.__isStopped}set isStopped(t){this.__isStopped!==t&&(this.__isStopped=t,this.updateClassName())}get isLocked(){return this.__isLocked}set isLocked(t){this.__isLocked!==t&&(this.__isLocked=t,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let t="lenis";return this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),this.isScrolling==="smooth"&&(t+=" lenis-smooth"),t}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}}const Jg=p.createContext(null),bf=new class{constructor(t){this.listeners=[],this.state=t}set(t){this.state=t;for(let n of this.listeners)n(this.state)}subscribe(t){return this.listeners=[...this.listeners,t],()=>{this.listeners=this.listeners.filter(n=>n!==t)}}get(){return this.state}}({});function Dw(){const e=p.useContext(Jg),t=function(r){const[o,i]=p.useState(r.get());return p.useEffect(()=>r.subscribe(s=>i(s)),[r]),o}(bf);return e??t}function iu(e,t=[],n=0){const{lenis:r,addCallback:o,removeCallback:i}=Dw();return p.useEffect(()=>{},[r,o,i,n,...t]),r}const Aw=p.forwardRef((e,t)=>{var{children:n,root:r=!1,options:o={},autoRaf:i=!0,rafPriority:s=0,className:a}=e,l=function(m,w){var C={};for(var _ in m)Object.prototype.hasOwnProperty.call(m,_)&&w.indexOf(_)<0&&(C[_]=m[_]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function"){var S=0;for(_=Object.getOwnPropertySymbols(m);S<_.length;S++)w.indexOf(_[S])<0&&Object.prototype.propertyIsEnumerable.call(m,_[S])&&(C[_[S]]=m[_[S]])}return C}(e,["children","root","options","autoRaf","rafPriority","className"]);const u=p.useRef(null),f=p.useRef(null),[d,h]=p.useState(void 0),y=p.useRef([]),x=p.useCallback((g,m)=>{y.current.push({callback:g,priority:m}),y.current.sort((w,C)=>w.priority-C.priority)},[]),v=p.useCallback(g=>{y.current=y.current.filter(m=>m.callback!==g)},[]);p.useImperativeHandle(t,()=>({wrapper:u.current,content:f.current,lenis:d}),[d]),p.useEffect(()=>{const g=new Pw(Object.assign(Object.assign({},o),!r&&{wrapper:u.current,content:f.current}));return h(g),()=>{g.destroy(),h(void 0)}},[r,JSON.stringify(o)]),p.useEffect(()=>{if(d&&i)return Nw.add(g=>{d==null||d.raf(g)},s)},[d,i,s]),p.useEffect(()=>{if(r&&d)return bf.set({lenis:d,addCallback:x,removeCallback:v}),()=>bf.set({})},[r,d,x,v]);const b=p.useCallback((...g)=>{for(let m=0;m(d==null||d.on("scroll",b),()=>{d==null||d.off("scroll",b)}),[d,b]),c.jsx(Jg.Provider,{value:{lenis:d,addCallback:x,removeCallback:v},children:r?n:c.jsx("div",Object.assign({ref:u,className:a},l,{children:c.jsx("div",{ref:f,children:n})}))})}),Ow=({children:e})=>c.jsx(Aw,{root:!0,options:{syncTouch:!0},children:e});function Lw(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function su(...e){return t=>e.forEach(n=>Lw(n,t))}function ct(...e){return p.useCallback(su(...e),e)}var Jr=p.forwardRef((e,t)=>{const{children:n,...r}=e,o=p.Children.toArray(n),i=o.find(Iw);if(i){const s=i.props.children,a=o.map(l=>l===i?p.Children.count(s)>1?p.Children.only(null):p.isValidElement(s)?s.props.children:null:l);return c.jsx(Sf,{...r,ref:t,children:p.isValidElement(s)?p.cloneElement(s,void 0,a):null})}return c.jsx(Sf,{...r,ref:t,children:n})});Jr.displayName="Slot";var Sf=p.forwardRef((e,t)=>{const{children:n,...r}=e;if(p.isValidElement(n)){const o=zw(n);return p.cloneElement(n,{...Fw(r,n.props),ref:t?su(t,o):o})}return p.Children.count(n)>1?p.Children.only(null):null});Sf.displayName="SlotClone";var G0=({children:e})=>c.jsx(c.Fragment,{children:e});function Iw(e){return p.isValidElement(e)&&e.type===G0}function Fw(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{i(...a),o(...a)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function zw(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function qg(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="boolean"?"".concat(e):e===0?"0":e,gp=$w,au=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return gp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const f=n==null?void 0:n[u],d=i==null?void 0:i[u];if(f===null)return null;const h=mp(f)||mp(d);return o[u][h]}),a=n&&Object.entries(n).reduce((u,f)=>{let[d,h]=f;return h===void 0||(u[d]=h),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,f)=>{let{class:d,className:h,...y}=f;return Object.entries(y).every(x=>{let[v,b]=x;return Array.isArray(b)?b.includes({...i,...a}[v]):{...i,...a}[v]===b})?[...u,d,h]:u},[]);return gp(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};function ev(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;ta(i)))==null?void 0:s.classGroupId}const vp=/^\[(.+)\]$/;function Uw(e){if(vp.test(e)){const t=vp.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function Hw(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Zw(Object.entries(e.classGroups),n).forEach(([i,s])=>{Cf(s,r,i,t)}),r}function Cf(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:yp(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(Ww(o)){Cf(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{Cf(s,yp(t,i),n,r)})})}function yp(e,t){let n=e;return t.split(K0).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function Ww(e){return e.isThemeGetter}function Zw(e,t){return t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,a])=>[t+s,a])):i);return[n,o]}):e}function Gw(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(i,s){n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)}return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}}const nv="!";function Kw(e){const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length;function s(a){const l=[];let u=0,f=0,d;for(let b=0;bf?d-f:void 0;return{modifiers:l,hasImportantModifier:y,baseClassName:x,maybePostfixModifierPosition:v}}return n?function(l){return n({className:l,parseClassName:s})}:s}function Yw(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function Qw(e){return{cache:Gw(e.cacheSize),parseClassName:Kw(e),...Bw(e)}}const Xw=/\s+/;function Jw(e,t){const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=new Set;return e.trim().split(Xw).map(s=>{const{modifiers:a,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:f}=n(s);let d=!!f,h=r(d?u.substring(0,f):u);if(!h){if(!d)return{isTailwindClass:!1,originalClassName:s};if(h=r(u),!h)return{isTailwindClass:!1,originalClassName:s};d=!1}const y=Yw(a).join(":");return{isTailwindClass:!0,modifierId:l?y+nv:y,classGroupId:h,originalClassName:s,hasPostfixModifier:d}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:u}=s,f=a+l;return i.has(f)?!1:(i.add(f),o(l,u).forEach(d=>i.add(a+d)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function qw(){let e=0,t,n,r="";for(;ed(f),e());return n=Qw(u),r=n.cache.get,o=n.cache.set,i=a,a(l)}function a(l){const u=r(l);if(u)return u;const f=Jw(l,n);return o(l,f),f}return function(){return i(qw.apply(null,arguments))}}function Be(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const ov=/^\[(?:([a-z-]+):)?(.+)\]$/i,t9=/^\d+\/\d+$/,n9=new Set(["px","full","screen"]),r9=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,o9=/\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$/,i9=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,s9=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,a9=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function ir(e){return Eo(e)||n9.has(e)||t9.test(e)}function Nr(e){return Ji(e,"length",m9)}function Eo(e){return!!e&&!Number.isNaN(Number(e))}function pl(e){return Ji(e,"number",Eo)}function hs(e){return!!e&&Number.isInteger(Number(e))}function l9(e){return e.endsWith("%")&&Eo(e.slice(0,-1))}function be(e){return ov.test(e)}function Rr(e){return r9.test(e)}const c9=new Set(["length","size","percentage"]);function u9(e){return Ji(e,c9,iv)}function d9(e){return Ji(e,"position",iv)}const f9=new Set(["image","url"]);function h9(e){return Ji(e,f9,v9)}function p9(e){return Ji(e,"",g9)}function ps(){return!0}function Ji(e,t,n){const r=ov.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function m9(e){return o9.test(e)&&!i9.test(e)}function iv(){return!1}function g9(e){return s9.test(e)}function v9(e){return a9.test(e)}function y9(){const e=Be("colors"),t=Be("spacing"),n=Be("blur"),r=Be("brightness"),o=Be("borderColor"),i=Be("borderRadius"),s=Be("borderSpacing"),a=Be("borderWidth"),l=Be("contrast"),u=Be("grayscale"),f=Be("hueRotate"),d=Be("invert"),h=Be("gap"),y=Be("gradientColorStops"),x=Be("gradientColorStopPositions"),v=Be("inset"),b=Be("margin"),g=Be("opacity"),m=Be("padding"),w=Be("saturate"),C=Be("scale"),_=Be("sepia"),S=Be("skew"),T=Be("space"),R=Be("translate"),z=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",be,t],L=()=>[be,t],W=()=>["",ir,Nr],H=()=>["auto",Eo,be],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],se=()=>["solid","dashed","dotted","double","none"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],M=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",be],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Eo,pl],J=()=>[Eo,be];return{cacheSize:500,separator:":",theme:{colors:[ps],spacing:[ir,Nr],blur:["none","",Rr,be],brightness:U(),borderColor:[e],borderRadius:["none","","full",Rr,be],borderSpacing:L(),borderWidth:W(),contrast:U(),grayscale:D(),hueRotate:J(),invert:D(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[l9,Nr],inset:X(),margin:X(),opacity:U(),padding:L(),saturate:U(),scale:U(),sepia:D(),skew:J(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",be]}],container:["container"],columns:[{columns:[Rr]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...oe(),be]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:z()}],"overscroll-x":[{"overscroll-x":z()}],"overscroll-y":[{"overscroll-y":z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",hs,be]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",be]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",hs,be]}],"grid-cols":[{"grid-cols":[ps]}],"col-start-end":[{col:["auto",{span:["full",hs,be]},be]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[ps]}],"row-start-end":[{row:["auto",{span:[hs,be]},be]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",be]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",be]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...M()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...M(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...M(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",be,t]}],"min-w":[{"min-w":[be,t,"min","max","fit"]}],"max-w":[{"max-w":[be,t,"none","full","min","max","fit","prose",{screen:[Rr]},Rr]}],h:[{h:[be,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[be,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[be,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[be,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Rr,Nr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",pl]}],"font-family":[{font:[ps]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",be]}],"line-clamp":[{"line-clamp":["none",Eo,pl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ir,be]}],"list-image":[{"list-image":["none",be]}],"list-style-type":[{list:["none","disc","decimal",be]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...se(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ir,Nr]}],"underline-offset":[{"underline-offset":["auto",ir,be]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...oe(),d9]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",u9]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},h9]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...se(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:se()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...se()]}],"outline-offset":[{"outline-offset":[ir,be]}],"outline-w":[{outline:[ir,Nr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[ir,Nr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Rr,p9]}],"shadow-color":[{shadow:[ps]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...Z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Rr,be]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",be]}],duration:[{duration:J()}],ease:[{ease:["linear","in","out","in-out",be]}],delay:[{delay:J()}],animate:[{animate:["none","spin","ping","pulse","bounce",be]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[hs,be]}],"translate-x":[{"translate-x":[R]}],"translate-y":[{"translate-y":[R]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",be]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",be]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"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",be]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ir,Nr,pl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const x9=e9(y9);function ce(...e){return x9(Vw(e))}const Y0=au("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-border bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),qr=p.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const s=r?Jr:"button";return c.jsx(s,{className:ce(Y0({variant:t,size:n,className:e})),ref:i,...o})});qr.displayName="Button";var Ni=(e=>(e.root="/",e.notFound="*",e.github404="/404",e))(Ni||{});const xp=()=>c.jsxs("section",{className:"h-[calc(100dvh_-_56px)] flex-center flex-col gap-y-2 lg:gap-y-1.5 leading-tight",children:[c.jsx("h6",{className:"lg:text-lg font-bold",children:"404 Page Not Found"}),c.jsx("p",{className:"text-xs lg:text-sm text-muted-foreground",children:"Woops! Looks like this page doesn't exist."}),c.jsx(qr,{asChild:!0,className:"rounded-full",children:c.jsx(Pt,{to:Ni.root,children:"Go back"})})]});var w9=e=>{switch(e){case"success":return C9;case"info":return E9;case"warning":return _9;case"error":return k9;default:return null}},b9=Array(12).fill(0),S9=({visible:e})=>F.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},F.createElement("div",{className:"sonner-spinner"},b9.map((t,n)=>F.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),C9=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},F.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),_9=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},F.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),E9=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},F.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),k9=F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},F.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),j9=()=>{let[e,t]=F.useState(document.hidden);return F.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},_f=1,N9=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:_f++,i=this.toasts.find(a=>a.id===o),s=e.dismissible===void 0?!0:e.dismissible;return i?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=e=>(e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0;return r.then(async i=>{if(T9(i)&&!i.ok){o=!1;let s=typeof t.error=="function"?await t.error(`HTTP error! status: ${i.status}`):t.error,a=typeof t.description=="function"?await t.description(`HTTP error! status: ${i.status}`):t.description;this.create({id:n,type:"error",message:s,description:a})}else if(t.success!==void 0){o=!1;let s=typeof t.success=="function"?await t.success(i):t.success,a=typeof t.description=="function"?await t.description(i):t.description;this.create({id:n,type:"success",message:s,description:a})}}).catch(async i=>{if(t.error!==void 0){o=!1;let s=typeof t.error=="function"?await t.error(i):t.error,a=typeof t.description=="function"?await t.description(i):t.description;this.create({id:n,type:"error",message:s,description:a})}}).finally(()=>{var i;o&&(this.dismiss(n),n=void 0),(i=t.finally)==null||i.call(t)}),n},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||_f++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},tn=new N9,R9=(e,t)=>{let n=(t==null?void 0:t.id)||_f++;return tn.addToast({title:e,...t,id:n}),n},T9=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",M9=R9,P9=()=>tn.toasts,wp=Object.assign(M9,{success:tn.success,info:tn.info,warning:tn.warning,error:tn.error,custom:tn.custom,message:tn.message,promise:tn.promise,dismiss:tn.dismiss,loading:tn.loading},{getHistory:P9});function D9(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}D9(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} +`);function ml(e){return e.label!==void 0}var A9=3,O9="32px",L9=4e3,I9=356,F9=14,z9=20,$9=200;function V9(...e){return e.filter(Boolean).join(" ")}var B9=e=>{var t,n,r,o,i,s,a,l,u,f;let{invert:d,toast:h,unstyled:y,interacting:x,setHeights:v,visibleToasts:b,heights:g,index:m,toasts:w,expanded:C,removeToast:_,defaultRichColors:S,closeButton:T,style:R,cancelButtonStyle:z,actionButtonStyle:O,className:X="",descriptionClassName:L="",duration:W,position:H,gap:oe,loadingIcon:se,expandByDefault:Z,classNames:M,icons:D,closeButtonAriaLabel:K="Close toast",pauseWhenPageIsHidden:U,cn:J}=e,[ge,ke]=F.useState(!1),[$e,me]=F.useState(!1),[Xe,ht]=F.useState(!1),[Je,Ot]=F.useState(!1),[tr,We]=F.useState(0),[St,bn]=F.useState(0),go=F.useRef(null),Ct=F.useRef(null),Ko=m===0,E=m+1<=b,N=h.type,A=h.dismissible!==!1,q=h.className||"",Y=h.descriptionClassName||"",V=F.useMemo(()=>g.findIndex(ye=>ye.toastId===h.id)||0,[g,h.id]),ie=F.useMemo(()=>{var ye;return(ye=h.closeButton)!=null?ye:T},[h.closeButton,T]),Ee=F.useMemo(()=>h.duration||W||L9,[h.duration,W]),Fe=F.useRef(0),Ze=F.useRef(0),yt=F.useRef(0),xt=F.useRef(null),[nr,$n]=H.split("-"),Yo=F.useMemo(()=>g.reduce((ye,Te,De)=>De>=V?ye:ye+Te.height,0),[g,V]),Wt=j9(),Qo=h.invert||d,rr=N==="loading";Ze.current=F.useMemo(()=>V*oe+Yo,[V,Yo]),F.useEffect(()=>{ke(!0)},[]),F.useLayoutEffect(()=>{if(!ge)return;let ye=Ct.current,Te=ye.style.height;ye.style.height="auto";let De=ye.getBoundingClientRect().height;ye.style.height=Te,bn(De),v(Zt=>Zt.find(Lt=>Lt.toastId===h.id)?Zt.map(Lt=>Lt.toastId===h.id?{...Lt,height:De}:Lt):[{toastId:h.id,height:De,position:h.position},...Zt])},[ge,h.title,h.description,v,h.id]);let Sn=F.useCallback(()=>{me(!0),We(Ze.current),v(ye=>ye.filter(Te=>Te.toastId!==h.id)),setTimeout(()=>{_(h)},$9)},[h,_,v,Ze]);F.useEffect(()=>{if(h.promise&&N==="loading"||h.duration===1/0||h.type==="loading")return;let ye,Te=Ee;return C||x||U&&Wt?(()=>{if(yt.current{var De;(De=h.onAutoClose)==null||De.call(h,h),Sn()},Te)),()=>clearTimeout(ye)},[C,x,Z,h,Ee,Sn,h.promise,N,U,Wt]),F.useEffect(()=>{let ye=Ct.current;if(ye){let Te=ye.getBoundingClientRect().height;return bn(Te),v(De=>[{toastId:h.id,height:Te,position:h.position},...De]),()=>v(De=>De.filter(Zt=>Zt.toastId!==h.id))}},[v,h.id]),F.useEffect(()=>{h.delete&&Sn()},[Sn,h.delete]);function Tu(){return D!=null&&D.loading?F.createElement("div",{className:"sonner-loader","data-visible":N==="loading"},D.loading):se?F.createElement("div",{className:"sonner-loader","data-visible":N==="loading"},se):F.createElement(S9,{visible:N==="loading"})}return F.createElement("li",{"aria-live":h.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:Ct,className:J(X,q,M==null?void 0:M.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,M==null?void 0:M.default,M==null?void 0:M[N],(n=h==null?void 0:h.classNames)==null?void 0:n[N]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:S,"data-styled":!(h.jsx||h.unstyled||y),"data-mounted":ge,"data-promise":!!h.promise,"data-removed":$e,"data-visible":E,"data-y-position":nr,"data-x-position":$n,"data-index":m,"data-front":Ko,"data-swiping":Xe,"data-dismissible":A,"data-type":N,"data-invert":Qo,"data-swipe-out":Je,"data-expanded":!!(C||Z&&ge),style:{"--index":m,"--toasts-before":m,"--z-index":w.length-m,"--offset":`${$e?tr:Ze.current}px`,"--initial-height":Z?"auto":`${St}px`,...R,...h.style},onPointerDown:ye=>{rr||!A||(go.current=new Date,We(Ze.current),ye.target.setPointerCapture(ye.pointerId),ye.target.tagName!=="BUTTON"&&(ht(!0),xt.current={x:ye.clientX,y:ye.clientY}))},onPointerUp:()=>{var ye,Te,De,Zt;if(Je||!A)return;xt.current=null;let Lt=Number(((ye=Ct.current)==null?void 0:ye.style.getPropertyValue("--swipe-amount").replace("px",""))||0),Er=new Date().getTime()-((Te=go.current)==null?void 0:Te.getTime()),Mu=Math.abs(Lt)/Er;if(Math.abs(Lt)>=z9||Mu>.11){We(Ze.current),(De=h.onDismiss)==null||De.call(h,h),Sn(),Ot(!0);return}(Zt=Ct.current)==null||Zt.style.setProperty("--swipe-amount","0px"),ht(!1)},onPointerMove:ye=>{var Te;if(!xt.current||!A)return;let De=ye.clientY-xt.current.y,Zt=ye.clientX-xt.current.x,Lt=(nr==="top"?Math.min:Math.max)(0,De),Er=ye.pointerType==="touch"?10:2;Math.abs(Lt)>Er?(Te=Ct.current)==null||Te.style.setProperty("--swipe-amount",`${De}px`):Math.abs(Zt)>Er&&(xt.current=null)}},ie&&!h.jsx?F.createElement("button",{"aria-label":K,"data-disabled":rr,"data-close-button":!0,onClick:rr||!A?()=>{}:()=>{var ye;Sn(),(ye=h.onDismiss)==null||ye.call(h,h)},className:J(M==null?void 0:M.closeButton,(o=h==null?void 0:h.classNames)==null?void 0:o.closeButton)},F.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},F.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),F.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,h.jsx||F.isValidElement(h.title)?h.jsx||h.title:F.createElement(F.Fragment,null,N||h.icon||h.promise?F.createElement("div",{"data-icon":"",className:J(M==null?void 0:M.icon,(i=h==null?void 0:h.classNames)==null?void 0:i.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||Tu():null,h.type!=="loading"?h.icon||(D==null?void 0:D[N])||w9(N):null):null,F.createElement("div",{"data-content":"",className:J(M==null?void 0:M.content,(s=h==null?void 0:h.classNames)==null?void 0:s.content)},F.createElement("div",{"data-title":"",className:J(M==null?void 0:M.title,(a=h==null?void 0:h.classNames)==null?void 0:a.title)},h.title),h.description?F.createElement("div",{"data-description":"",className:J(L,Y,M==null?void 0:M.description,(l=h==null?void 0:h.classNames)==null?void 0:l.description)},h.description):null),F.isValidElement(h.cancel)?h.cancel:h.cancel&&ml(h.cancel)?F.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||z,onClick:ye=>{var Te,De;ml(h.cancel)&&A&&((De=(Te=h.cancel).onClick)==null||De.call(Te,ye),Sn())},className:J(M==null?void 0:M.cancelButton,(u=h==null?void 0:h.classNames)==null?void 0:u.cancelButton)},h.cancel.label):null,F.isValidElement(h.action)?h.action:h.action&&ml(h.action)?F.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||O,onClick:ye=>{var Te,De;ml(h.action)&&(ye.defaultPrevented||((De=(Te=h.action).onClick)==null||De.call(Te,ye),Sn()))},className:J(M==null?void 0:M.actionButton,(f=h==null?void 0:h.classNames)==null?void 0:f.actionButton)},h.action.label):null))};function bp(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}var U9=e=>{let{invert:t,position:n="bottom-right",hotkey:r=["altKey","KeyT"],expand:o,closeButton:i,className:s,offset:a,theme:l="light",richColors:u,duration:f,style:d,visibleToasts:h=A9,toastOptions:y,dir:x=bp(),gap:v=F9,loadingIcon:b,icons:g,containerAriaLabel:m="Notifications",pauseWhenPageIsHidden:w,cn:C=V9}=e,[_,S]=F.useState([]),T=F.useMemo(()=>Array.from(new Set([n].concat(_.filter(U=>U.position).map(U=>U.position)))),[_,n]),[R,z]=F.useState([]),[O,X]=F.useState(!1),[L,W]=F.useState(!1),[H,oe]=F.useState(l!=="system"?l:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),se=F.useRef(null),Z=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),M=F.useRef(null),D=F.useRef(!1),K=F.useCallback(U=>{var J;(J=_.find(ge=>ge.id===U.id))!=null&&J.delete||tn.dismiss(U.id),S(ge=>ge.filter(({id:ke})=>ke!==U.id))},[_]);return F.useEffect(()=>tn.subscribe(U=>{if(U.dismiss){S(J=>J.map(ge=>ge.id===U.id?{...ge,delete:!0}:ge));return}setTimeout(()=>{V0.flushSync(()=>{S(J=>{let ge=J.findIndex(ke=>ke.id===U.id);return ge!==-1?[...J.slice(0,ge),{...J[ge],...U},...J.slice(ge+1)]:[U,...J]})})})}),[]),F.useEffect(()=>{if(l!=="system"){oe(l);return}l==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?oe("dark"):oe("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:U})=>{oe(U?"dark":"light")})},[l]),F.useEffect(()=>{_.length<=1&&X(!1)},[_]),F.useEffect(()=>{let U=J=>{var ge,ke;r.every($e=>J[$e]||J.code===$e)&&(X(!0),(ge=se.current)==null||ge.focus()),J.code==="Escape"&&(document.activeElement===se.current||(ke=se.current)!=null&&ke.contains(document.activeElement))&&X(!1)};return document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)},[r]),F.useEffect(()=>{if(se.current)return()=>{M.current&&(M.current.focus({preventScroll:!0}),M.current=null,D.current=!1)}},[se.current]),_.length?F.createElement("section",{"aria-label":`${m} ${Z}`,tabIndex:-1},T.map((U,J)=>{var ge;let[ke,$e]=U.split("-");return F.createElement("ol",{key:U,dir:x==="auto"?bp():x,tabIndex:-1,ref:se,className:s,"data-sonner-toaster":!0,"data-theme":H,"data-y-position":ke,"data-x-position":$e,style:{"--front-toast-height":`${((ge=R[0])==null?void 0:ge.height)||0}px`,"--offset":typeof a=="number"?`${a}px`:a||O9,"--width":`${I9}px`,"--gap":`${v}px`,...d},onBlur:me=>{D.current&&!me.currentTarget.contains(me.relatedTarget)&&(D.current=!1,M.current&&(M.current.focus({preventScroll:!0}),M.current=null))},onFocus:me=>{me.target instanceof HTMLElement&&me.target.dataset.dismissible==="false"||D.current||(D.current=!0,M.current=me.relatedTarget)},onMouseEnter:()=>X(!0),onMouseMove:()=>X(!0),onMouseLeave:()=>{L||X(!1)},onPointerDown:me=>{me.target instanceof HTMLElement&&me.target.dataset.dismissible==="false"||W(!0)},onPointerUp:()=>W(!1)},_.filter(me=>!me.position&&J===0||me.position===U).map((me,Xe)=>{var ht,Je;return F.createElement(B9,{key:me.id,icons:g,index:Xe,toast:me,defaultRichColors:u,duration:(ht=y==null?void 0:y.duration)!=null?ht:f,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:t,visibleToasts:h,closeButton:(Je=y==null?void 0:y.closeButton)!=null?Je:i,interacting:L,position:U,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:K,toasts:_.filter(Ot=>Ot.position==me.position),heights:R.filter(Ot=>Ot.position==me.position),setHeights:z,expandByDefault:o,gap:v,loadingIcon:b,expanded:O,pauseWhenPageIsHidden:w,cn:C})}))})):null},Ef=(e=>(e.system="system",e.dark="dark",e.light="light",e))(Ef||{});const Q0=()=>{const e=p.useContext(Yg);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e},H9=({children:e})=>{const{theme:t}=Q0();return c.jsxs(c.Fragment,{children:[c.jsx(U9,{richColors:!0,theme:t,position:"bottom-right",pauseWhenPageIsHidden:!0}),e]})};/** * @license lucide-react v0.427.0 - ISC * * This source code is licensed under the ISC license. @@ -87,63 +87,68 @@ Error generating stack: `+i.message+` * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Fn=(e,t)=>{const n=p.forwardRef(({className:r,...o},i)=>p.createElement(G9,{ref:i,iconNode:t,className:sv(`lucide-${W9(e)}`,r),...o}));return n.displayName=`${e}`,n};/** + */const wn=(e,t)=>{const n=p.forwardRef(({className:r,...o},i)=>p.createElement(G9,{ref:i,iconNode:t,className:sv(`lucide-${W9(e)}`,r),...o}));return n.displayName=`${e}`,n};/** * @license lucide-react v0.427.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const K9=Fn("BriefcaseBusiness",[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/** + */const K9=wn("BriefcaseBusiness",[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/** * @license lucide-react v0.427.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Y9=Fn("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** + */const Y9=wn("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** * @license lucide-react v0.427.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Q9=Fn("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** + */const Q9=wn("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** * @license lucide-react v0.427.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const X9=Fn("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** + */const X9=wn("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** * @license lucide-react v0.427.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const J9=Fn("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/** + */const J9=wn("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/** * @license lucide-react v0.427.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const q9=Fn("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** + */const q9=wn("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** * @license lucide-react v0.427.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eb=Fn("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** + */const eb=wn("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** * @license lucide-react v0.427.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tb=Fn("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** + */const tb=wn("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** * @license lucide-react v0.427.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nb=Fn("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** + */const nb=wn("RefreshCcw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]]);/** * @license lucide-react v0.427.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rb=Fn("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/** + */const rb=wn("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** * @license lucide-react v0.427.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const av=Fn("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function ve(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function ob(e,t){const n=p.createContext(t);function r(i){const{children:s,...a}=i,l=p.useMemo(()=>a,Object.values(a));return c.jsx(n.Provider,{value:l,children:s})}function o(i){const s=p.useContext(n);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",[r,o]}function ho(e,t=[]){let n=[];function r(i,s){const a=p.createContext(s),l=n.length;n=[...n,s];function u(d){const{scope:h,children:y,...x}=d,v=(h==null?void 0:h[e][l])||a,b=p.useMemo(()=>x,Object.values(x));return c.jsx(v.Provider,{value:b,children:y})}function f(d,h){const y=(h==null?void 0:h[e][l])||a,x=p.useContext(y);if(x)return x;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,f]}const o=()=>{const i=n.map(s=>p.createContext(s));return function(a){const l=(a==null?void 0:a[e])||i;return p.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,ib(o,...t)]}function ib(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(i)[`__scope${u}`];return{...a,...d}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function An(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function lu({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=sb({defaultProp:t,onChange:n}),i=e!==void 0,s=i?e:r,a=An(n),l=p.useCallback(u=>{if(i){const d=typeof u=="function"?u(e):u;d!==e&&a(d)}else o(u)},[i,e,o,a]);return[s,l]}function sb({defaultProp:e,onChange:t}){const n=p.useState(e),[r]=n,o=p.useRef(r),i=An(t);return p.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var ab=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Qe=ab.reduce((e,t)=>{const n=p.forwardRef((r,o)=>{const{asChild:i,...s}=r,a=i?Jr:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(a,{...s,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function lv(e,t){e&&Qi.flushSync(()=>e.dispatchEvent(t))}function cv(e){const t=e+"CollectionProvider",[n,r]=ho(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=y=>{const{scope:x,children:v}=y,b=F.useRef(null),g=F.useRef(new Map).current;return c.jsx(o,{scope:x,itemMap:g,collectionRef:b,children:v})};s.displayName=t;const a=e+"CollectionSlot",l=F.forwardRef((y,x)=>{const{scope:v,children:b}=y,g=i(a,v),m=ct(x,g.collectionRef);return c.jsx(Jr,{ref:m,children:b})});l.displayName=a;const u=e+"CollectionItemSlot",f="data-radix-collection-item",d=F.forwardRef((y,x)=>{const{scope:v,children:b,...g}=y,m=F.useRef(null),w=ct(x,m),C=i(u,v);return F.useEffect(()=>(C.itemMap.set(m,{ref:m,...g}),()=>void C.itemMap.delete(m))),c.jsx(Jr,{[f]:"",ref:w,children:b})});d.displayName=u;function h(y){const x=i(e+"CollectionConsumer",y);return F.useCallback(()=>{const b=x.collectionRef.current;if(!b)return[];const g=Array.from(b.querySelectorAll(`[${f}]`));return Array.from(x.itemMap.values()).sort((C,_)=>g.indexOf(C.ref.current)-g.indexOf(_.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:s,Slot:l,ItemSlot:d},h,r]}var lb=p.createContext(void 0);function uv(e){const t=p.useContext(lb);return e||t||"ltr"}function cb(e,t=globalThis==null?void 0:globalThis.document){const n=An(e);p.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var ub="DismissableLayer",kf="dismissableLayer.update",db="dismissableLayer.pointerDownOutside",fb="dismissableLayer.focusOutside",Sp,dv=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),cu=p.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...l}=e,u=p.useContext(dv),[f,d]=p.useState(null),h=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=p.useState({}),x=ct(t,T=>d(T)),v=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=v.indexOf(b),m=f?v.indexOf(f):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,C=m>=g,_=mb(T=>{const R=T.target,z=[...u.branches].some(O=>O.contains(R));!C||z||(o==null||o(T),s==null||s(T),T.defaultPrevented||a==null||a())},h),S=gb(T=>{const R=T.target;[...u.branches].some(O=>O.contains(R))||(i==null||i(T),s==null||s(T),T.defaultPrevented||a==null||a())},h);return cb(T=>{m===u.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},h),p.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Sp=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Cp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Sp)}},[f,h,n,u]),p.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Cp())},[f,u]),p.useEffect(()=>{const T=()=>y({});return document.addEventListener(kf,T),()=>document.removeEventListener(kf,T)},[]),c.jsx(Qe.div,{...l,ref:x,style:{pointerEvents:w?C?"auto":"none":void 0,...e.style},onFocusCapture:ve(e.onFocusCapture,S.onFocusCapture),onBlurCapture:ve(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:ve(e.onPointerDownCapture,_.onPointerDownCapture)})});cu.displayName=ub;var hb="DismissableLayerBranch",pb=p.forwardRef((e,t)=>{const n=p.useContext(dv),r=p.useRef(null),o=ct(t,r);return p.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),c.jsx(Qe.div,{...e,ref:o})});pb.displayName=hb;function mb(e,t=globalThis==null?void 0:globalThis.document){const n=An(e),r=p.useRef(!1),o=p.useRef(()=>{});return p.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){fv(db,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function gb(e,t=globalThis==null?void 0:globalThis.document){const n=An(e),r=p.useRef(!1);return p.useEffect(()=>{const o=i=>{i.target&&!r.current&&fv(fb,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Cp(){const e=new CustomEvent(kf);document.dispatchEvent(e)}function fv(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?lv(o,i):o.dispatchEvent(i)}var ad=0;function hv(){p.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??_p()),document.body.insertAdjacentElement("beforeend",e[1]??_p()),ad++,()=>{ad===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ad--}},[])}function _p(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var ld="focusScope.autoFocusOnMount",cd="focusScope.autoFocusOnUnmount",Ep={bubbles:!1,cancelable:!0},vb="FocusScope",X0=p.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[a,l]=p.useState(null),u=An(o),f=An(i),d=p.useRef(null),h=ct(t,v=>l(v)),y=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let v=function(w){if(y.paused||!a)return;const C=w.target;a.contains(C)?d.current=C:Dr(d.current,{select:!0})},b=function(w){if(y.paused||!a)return;const C=w.relatedTarget;C!==null&&(a.contains(C)||Dr(d.current,{select:!0}))},g=function(w){if(document.activeElement===document.body)for(const _ of w)_.removedNodes.length>0&&Dr(a)};document.addEventListener("focusin",v),document.addEventListener("focusout",b);const m=new MutationObserver(g);return a&&m.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",b),m.disconnect()}}},[r,a,y.paused]),p.useEffect(()=>{if(a){jp.add(y);const v=document.activeElement;if(!a.contains(v)){const g=new CustomEvent(ld,Ep);a.addEventListener(ld,u),a.dispatchEvent(g),g.defaultPrevented||(yb(Cb(pv(a)),{select:!0}),document.activeElement===v&&Dr(a))}return()=>{a.removeEventListener(ld,u),setTimeout(()=>{const g=new CustomEvent(cd,Ep);a.addEventListener(cd,f),a.dispatchEvent(g),g.defaultPrevented||Dr(v??document.body,{select:!0}),a.removeEventListener(cd,f),jp.remove(y)},0)}}},[a,u,f,y]);const x=p.useCallback(v=>{if(!n&&!r||y.paused)return;const b=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,g=document.activeElement;if(b&&g){const m=v.currentTarget,[w,C]=xb(m);w&&C?!v.shiftKey&&g===C?(v.preventDefault(),n&&Dr(w,{select:!0})):v.shiftKey&&g===w&&(v.preventDefault(),n&&Dr(C,{select:!0})):g===m&&v.preventDefault()}},[n,r,y.paused]);return c.jsx(Qe.div,{tabIndex:-1,...s,ref:h,onKeyDown:x})});X0.displayName=vb;function yb(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Dr(r,{select:t}),document.activeElement!==n)return}function xb(e){const t=pv(e),n=kp(t,e),r=kp(t.reverse(),e);return[n,r]}function pv(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function kp(e,t){for(const n of e)if(!wb(n,{upTo:t}))return n}function wb(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function bb(e){return e instanceof HTMLInputElement&&"select"in e}function Dr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&bb(e)&&t&&e.select()}}var jp=Sb();function Sb(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Np(e,t),e.unshift(t)},remove(t){var n;e=Np(e,t),(n=e[0])==null||n.resume()}}}function Np(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Cb(e){return e.filter(t=>t.tagName!=="A")}var Fo=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},_b=Tm.useId||(()=>{}),Eb=0;function Ro(e){const[t,n]=p.useState(_b());return Fo(()=>{n(r=>r??String(Eb++))},[e]),t?`radix-${t}`:""}const kb=["top","right","bottom","left"],Gn=Math.min,on=Math.max,yc=Math.round,gl=Math.floor,qr=e=>({x:e,y:e}),jb={left:"right",right:"left",bottom:"top",top:"bottom"},Nb={start:"end",end:"start"};function jf(e,t,n){return on(e,Gn(t,n))}function yr(e,t){return typeof e=="function"?e(t):e}function xr(e){return e.split("-")[0]}function qi(e){return e.split("-")[1]}function J0(e){return e==="x"?"y":"x"}function q0(e){return e==="y"?"height":"width"}function eo(e){return["top","bottom"].includes(xr(e))?"y":"x"}function e1(e){return J0(eo(e))}function Rb(e,t,n){n===void 0&&(n=!1);const r=qi(e),o=e1(e),i=q0(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=xc(s)),[s,xc(s)]}function Tb(e){const t=xc(e);return[Nf(e),t,Nf(t)]}function Nf(e){return e.replace(/start|end/g,t=>Nb[t])}function Mb(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function Pb(e,t,n,r){const o=qi(e);let i=Mb(xr(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Nf)))),i}function xc(e){return e.replace(/left|right|bottom|top/g,t=>jb[t])}function Db(e){return{top:0,right:0,bottom:0,left:0,...e}}function mv(e){return typeof e!="number"?Db(e):{top:e,right:e,bottom:e,left:e}}function wc(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Rp(e,t,n){let{reference:r,floating:o}=e;const i=eo(t),s=e1(t),a=q0(s),l=xr(t),u=i==="y",f=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,h=r[a]/2-o[a]/2;let y;switch(l){case"top":y={x:f,y:r.y-o.height};break;case"bottom":y={x:f,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:d};break;case"left":y={x:r.x-o.width,y:d};break;default:y={x:r.x,y:r.y}}switch(qi(t)){case"start":y[s]-=h*(n&&u?-1:1);break;case"end":y[s]+=h*(n&&u?-1:1);break}return y}const Ab=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:d}=Rp(u,r,l),h=r,y={},x=0;for(let v=0;v({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:f=0}=yr(e,t)||{};if(u==null)return{};const d=mv(f),h={x:n,y:r},y=e1(o),x=q0(y),v=await s.getDimensions(u),b=y==="y",g=b?"top":"left",m=b?"bottom":"right",w=b?"clientHeight":"clientWidth",C=i.reference[x]+i.reference[y]-h[y]-i.floating[x],_=h[y]-i.reference[y],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let T=S?S[w]:0;(!T||!await(s.isElement==null?void 0:s.isElement(S)))&&(T=a.floating[w]||i.floating[x]);const R=C/2-_/2,z=T/2-v[x]/2-1,O=Gn(d[g],z),X=Gn(d[m],z),L=O,W=T-v[x]-X,H=T/2-v[x]/2+R,oe=jf(L,H,W),se=!l.arrow&&qi(o)!=null&&H!==oe&&i.reference[x]/2-(HH<=0)){var X,L;const H=(((X=i.flip)==null?void 0:X.index)||0)+1,oe=T[H];if(oe)return{data:{index:H,overflows:O},reset:{placement:oe}};let se=(L=O.filter(Z=>Z.overflows[0]<=0).sort((Z,M)=>Z.overflows[1]-M.overflows[1])[0])==null?void 0:L.placement;if(!se)switch(y){case"bestFit":{var W;const Z=(W=O.filter(M=>{if(S){const D=eo(M.placement);return D===m||D==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(D=>D>0).reduce((D,K)=>D+K,0)]).sort((M,D)=>M[1]-D[1])[0])==null?void 0:W[0];Z&&(se=Z);break}case"initialPlacement":se=a;break}if(o!==se)return{reset:{placement:se}}}return{}}}};function Tp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Mp(e){return kb.some(t=>e[t]>=0)}const Ib=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=yr(e,t);switch(r){case"referenceHidden":{const i=await ca(t,{...o,elementContext:"reference"}),s=Tp(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Mp(s)}}}case"escaped":{const i=await ca(t,{...o,altBoundary:!0}),s=Tp(i,n.floating);return{data:{escapedOffsets:s,escaped:Mp(s)}}}default:return{}}}}};async function Fb(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=xr(n),a=qi(n),l=eo(n)==="y",u=["left","top"].includes(s)?-1:1,f=i&&l?-1:1,d=yr(t,e);let{mainAxis:h,crossAxis:y,alignmentAxis:x}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return a&&typeof x=="number"&&(y=a==="end"?x*-1:x),l?{x:y*f,y:h*u}:{x:h*u,y:y*f}}const zb=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await Fb(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},$b=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:b=>{let{x:g,y:m}=b;return{x:g,y:m}}},...l}=yr(e,t),u={x:n,y:r},f=await ca(t,l),d=eo(xr(o)),h=J0(d);let y=u[h],x=u[d];if(i){const b=h==="y"?"top":"left",g=h==="y"?"bottom":"right",m=y+f[b],w=y-f[g];y=jf(m,y,w)}if(s){const b=d==="y"?"top":"left",g=d==="y"?"bottom":"right",m=x+f[b],w=x-f[g];x=jf(m,x,w)}const v=a.fn({...t,[h]:y,[d]:x});return{...v,data:{x:v.x-n,y:v.y-r}}}}},Vb=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=yr(e,t),f={x:n,y:r},d=eo(o),h=J0(d);let y=f[h],x=f[d];const v=yr(a,t),b=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const w=h==="y"?"height":"width",C=i.reference[h]-i.floating[w]+b.mainAxis,_=i.reference[h]+i.reference[w]-b.mainAxis;y_&&(y=_)}if(u){var g,m;const w=h==="y"?"width":"height",C=["top","left"].includes(xr(o)),_=i.reference[d]-i.floating[w]+(C&&((g=s.offset)==null?void 0:g[d])||0)+(C?0:b.crossAxis),S=i.reference[d]+i.reference[w]+(C?0:((m=s.offset)==null?void 0:m[d])||0)-(C?b.crossAxis:0);x<_?x=_:x>S&&(x=S)}return{[h]:y,[d]:x}}}},Bb=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:s=()=>{},...a}=yr(e,t),l=await ca(t,a),u=xr(n),f=qi(n),d=eo(n)==="y",{width:h,height:y}=r.floating;let x,v;u==="top"||u==="bottom"?(x=u,v=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(v=u,x=f==="end"?"top":"bottom");const b=y-l.top-l.bottom,g=h-l.left-l.right,m=Gn(y-l[x],b),w=Gn(h-l[v],g),C=!t.middlewareData.shift;let _=m,S=w;if(d?S=f||C?Gn(w,g):g:_=f||C?Gn(m,b):b,C&&!f){const R=on(l.left,0),z=on(l.right,0),O=on(l.top,0),X=on(l.bottom,0);d?S=h-2*(R!==0||z!==0?R+z:on(l.left,l.right)):_=y-2*(O!==0||X!==0?O+X:on(l.top,l.bottom))}await s({...t,availableWidth:S,availableHeight:_});const T=await o.getDimensions(i.floating);return h!==T.width||y!==T.height?{reset:{rects:!0}}:{}}}};function es(e){return gv(e)?(e.nodeName||"").toLowerCase():"#document"}function ln(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Sr(e){var t;return(t=(gv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function gv(e){return e instanceof Node||e instanceof ln(e).Node}function On(e){return e instanceof Element||e instanceof ln(e).Element}function Jn(e){return e instanceof HTMLElement||e instanceof ln(e).HTMLElement}function Pp(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ln(e).ShadowRoot}function Aa(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ln(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Ub(e){return["table","td","th"].includes(es(e))}function uu(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function t1(e){const t=n1(),n=On(e)?Ln(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Hb(e){let t=to(e);for(;Jn(t)&&!Vi(t);){if(t1(t))return t;if(uu(t))return null;t=to(t)}return null}function n1(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Vi(e){return["html","body","#document"].includes(es(e))}function Ln(e){return ln(e).getComputedStyle(e)}function du(e){return On(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function to(e){if(es(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Pp(e)&&e.host||Sr(e);return Pp(t)?t.host:t}function vv(e){const t=to(e);return Vi(t)?e.ownerDocument?e.ownerDocument.body:e.body:Jn(t)&&Aa(t)?t:vv(t)}function ua(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=vv(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=ln(o);if(i){const a=Rf(s);return t.concat(s,s.visualViewport||[],Aa(o)?o:[],a&&n?ua(a):[])}return t.concat(o,ua(o,[],n))}function Rf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yv(e){const t=Ln(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Jn(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=yc(n)!==i||yc(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function r1(e){return On(e)?e:e.contextElement}function Ri(e){const t=r1(e);if(!Jn(t))return qr(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=yv(t);let s=(i?yc(n.width):n.width)/r,a=(i?yc(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const Wb=qr(0);function xv(e){const t=ln(e);return!n1()||!t.visualViewport?Wb:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Zb(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ln(e)?!1:t}function zo(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=r1(e);let s=qr(1);t&&(r?On(r)&&(s=Ri(r)):s=Ri(e));const a=Zb(i,n,r)?xv(i):qr(0);let l=(o.left+a.x)/s.x,u=(o.top+a.y)/s.y,f=o.width/s.x,d=o.height/s.y;if(i){const h=ln(i),y=r&&On(r)?ln(r):r;let x=h,v=Rf(x);for(;v&&r&&y!==x;){const b=Ri(v),g=v.getBoundingClientRect(),m=Ln(v),w=g.left+(v.clientLeft+parseFloat(m.paddingLeft))*b.x,C=g.top+(v.clientTop+parseFloat(m.paddingTop))*b.y;l*=b.x,u*=b.y,f*=b.x,d*=b.y,l+=w,u+=C,x=ln(v),v=Rf(x)}}return wc({width:f,height:d,x:l,y:u})}function Gb(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=Sr(r),a=t?uu(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},u=qr(1);const f=qr(0),d=Jn(r);if((d||!d&&!i)&&((es(r)!=="body"||Aa(s))&&(l=du(r)),Jn(r))){const h=zo(r);u=Ri(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+f.x,y:n.y*u.y-l.scrollTop*u.y+f.y}}function Kb(e){return Array.from(e.getClientRects())}function wv(e){return zo(Sr(e)).left+du(e).scrollLeft}function Yb(e){const t=Sr(e),n=du(e),r=e.ownerDocument.body,o=on(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=on(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+wv(e);const a=-n.scrollTop;return Ln(r).direction==="rtl"&&(s+=on(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}function Qb(e,t){const n=ln(e),r=Sr(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const u=n1();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}function Xb(e,t){const n=zo(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Jn(e)?Ri(e):qr(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:s,height:a,x:l,y:u}}function Dp(e,t,n){let r;if(t==="viewport")r=Qb(e,n);else if(t==="document")r=Yb(Sr(e));else if(On(t))r=Xb(t,n);else{const o=xv(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return wc(r)}function bv(e,t){const n=to(e);return n===t||!On(n)||Vi(n)?!1:Ln(n).position==="fixed"||bv(n,t)}function Jb(e,t){const n=t.get(e);if(n)return n;let r=ua(e,[],!1).filter(a=>On(a)&&es(a)!=="body"),o=null;const i=Ln(e).position==="fixed";let s=i?to(e):e;for(;On(s)&&!Vi(s);){const a=Ln(s),l=t1(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Aa(s)&&!l&&bv(e,s))?r=r.filter(f=>f!==s):o=a,s=to(s)}return t.set(e,r),r}function qb(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?uu(t)?[]:Jb(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,f)=>{const d=Dp(t,f,o);return u.top=on(d.top,u.top),u.right=Gn(d.right,u.right),u.bottom=Gn(d.bottom,u.bottom),u.left=on(d.left,u.left),u},Dp(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function eS(e){const{width:t,height:n}=yv(e);return{width:t,height:n}}function tS(e,t,n){const r=Jn(t),o=Sr(t),i=n==="fixed",s=zo(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=qr(0);if(r||!r&&!i)if((es(t)!=="body"||Aa(o))&&(a=du(t)),r){const d=zo(t,!0,i,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else o&&(l.x=wv(o));const u=s.left+a.scrollLeft-l.x,f=s.top+a.scrollTop-l.y;return{x:u,y:f,width:s.width,height:s.height}}function ud(e){return Ln(e).position==="static"}function Ap(e,t){return!Jn(e)||Ln(e).position==="fixed"?null:t?t(e):e.offsetParent}function Sv(e,t){const n=ln(e);if(uu(e))return n;if(!Jn(e)){let o=to(e);for(;o&&!Vi(o);){if(On(o)&&!ud(o))return o;o=to(o)}return n}let r=Ap(e,t);for(;r&&Ub(r)&&ud(r);)r=Ap(r,t);return r&&Vi(r)&&ud(r)&&!t1(r)?n:r||Hb(e)||n}const nS=async function(e){const t=this.getOffsetParent||Sv,n=this.getDimensions,r=await n(e.floating);return{reference:tS(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function rS(e){return Ln(e).direction==="rtl"}const oS={convertOffsetParentRelativeRectToViewportRelativeRect:Gb,getDocumentElement:Sr,getClippingRect:qb,getOffsetParent:Sv,getElementRects:nS,getClientRects:Kb,getDimensions:eS,getScale:Ri,isElement:On,isRTL:rS};function iS(e,t){let n=null,r;const o=Sr(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const{left:u,top:f,width:d,height:h}=e.getBoundingClientRect();if(a||t(),!d||!h)return;const y=gl(f),x=gl(o.clientWidth-(u+d)),v=gl(o.clientHeight-(f+h)),b=gl(u),m={rootMargin:-y+"px "+-x+"px "+-v+"px "+-b+"px",threshold:on(0,Gn(1,l))||1};let w=!0;function C(_){const S=_[0].intersectionRatio;if(S!==l){if(!w)return s();S?s(!1,S):r=setTimeout(()=>{s(!1,1e-7)},1e3)}w=!1}try{n=new IntersectionObserver(C,{...m,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,m)}n.observe(e)}return s(!0),i}function sS(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=r1(e),f=o||i?[...u?ua(u):[],...ua(t)]:[];f.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const d=u&&a?iS(u,n):null;let h=-1,y=null;s&&(y=new ResizeObserver(g=>{let[m]=g;m&&m.target===u&&y&&(y.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var w;(w=y)==null||w.observe(t)})),n()}),u&&!l&&y.observe(u),y.observe(t));let x,v=l?zo(e):null;l&&b();function b(){const g=zo(e);v&&(g.x!==v.x||g.y!==v.y||g.width!==v.width||g.height!==v.height)&&n(),v=g,x=requestAnimationFrame(b)}return n(),()=>{var g;f.forEach(m=>{o&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),d==null||d(),(g=y)==null||g.disconnect(),y=null,l&&cancelAnimationFrame(x)}}const aS=zb,lS=$b,cS=Lb,uS=Bb,dS=Ib,Op=Ob,fS=Vb,hS=(e,t,n)=>{const r=new Map,o={platform:oS,...n},i={...o.platform,_c:r};return Ab(e,t,{...o,platform:i})};var zl=typeof document<"u"?p.useLayoutEffect:p.useEffect;function bc(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!bc(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!bc(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Cv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Lp(e,t){const n=Cv(e);return Math.round(t*n)/n}function Ip(e){const t=p.useRef(e);return zl(()=>{t.current=e}),t}function pS(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[f,d]=p.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,y]=p.useState(r);bc(h,r)||y(r);const[x,v]=p.useState(null),[b,g]=p.useState(null),m=p.useCallback(Z=>{Z!==S.current&&(S.current=Z,v(Z))},[]),w=p.useCallback(Z=>{Z!==T.current&&(T.current=Z,g(Z))},[]),C=i||x,_=s||b,S=p.useRef(null),T=p.useRef(null),R=p.useRef(f),z=l!=null,O=Ip(l),X=Ip(o),L=p.useCallback(()=>{if(!S.current||!T.current)return;const Z={placement:t,strategy:n,middleware:h};X.current&&(Z.platform=X.current),hS(S.current,T.current,Z).then(M=>{const D={...M,isPositioned:!0};W.current&&!bc(R.current,D)&&(R.current=D,Qi.flushSync(()=>{d(D)}))})},[h,t,n,X]);zl(()=>{u===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,d(Z=>({...Z,isPositioned:!1})))},[u]);const W=p.useRef(!1);zl(()=>(W.current=!0,()=>{W.current=!1}),[]),zl(()=>{if(C&&(S.current=C),_&&(T.current=_),C&&_){if(O.current)return O.current(C,_,L);L()}},[C,_,L,O,z]);const H=p.useMemo(()=>({reference:S,floating:T,setReference:m,setFloating:w}),[m,w]),oe=p.useMemo(()=>({reference:C,floating:_}),[C,_]),se=p.useMemo(()=>{const Z={position:n,left:0,top:0};if(!oe.floating)return Z;const M=Lp(oe.floating,f.x),D=Lp(oe.floating,f.y);return a?{...Z,transform:"translate("+M+"px, "+D+"px)",...Cv(oe.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:D}},[n,a,oe.floating,f.x,f.y]);return p.useMemo(()=>({...f,update:L,refs:H,elements:oe,floatingStyles:se}),[f,L,H,oe,se])}const mS=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Op({element:r.current,padding:o}).fn(n):{}:r?Op({element:r,padding:o}).fn(n):{}}}},gS=(e,t)=>({...aS(e),options:[e,t]}),vS=(e,t)=>({...lS(e),options:[e,t]}),yS=(e,t)=>({...fS(e),options:[e,t]}),xS=(e,t)=>({...cS(e),options:[e,t]}),wS=(e,t)=>({...uS(e),options:[e,t]}),bS=(e,t)=>({...dS(e),options:[e,t]}),SS=(e,t)=>({...mS(e),options:[e,t]});var CS="Arrow",_v=p.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return c.jsx(Qe.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});_v.displayName=CS;var _S=_v;function ES(e){const[t,n]=p.useState(void 0);return Fo(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,a;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var o1="Popper",[Ev,fu]=ho(o1),[kS,kv]=Ev(o1),jv=e=>{const{__scopePopper:t,children:n}=e,[r,o]=p.useState(null);return c.jsx(kS,{scope:t,anchor:r,onAnchorChange:o,children:n})};jv.displayName=o1;var Nv="PopperAnchor",Rv=p.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=kv(Nv,n),s=p.useRef(null),a=ct(t,s);return p.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:c.jsx(Qe.div,{...o,ref:a})});Rv.displayName=Nv;var i1="PopperContent",[jS,NS]=Ev(i1),Tv=p.forwardRef((e,t)=>{var Xe,ht,Je,Ot,tr,We;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:y="optimized",onPlaced:x,...v}=e,b=kv(i1,n),[g,m]=p.useState(null),w=ct(t,St=>m(St)),[C,_]=p.useState(null),S=ES(C),T=(S==null?void 0:S.width)??0,R=(S==null?void 0:S.height)??0,z=r+(i!=="center"?"-"+i:""),O=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},X=Array.isArray(u)?u:[u],L=X.length>0,W={padding:O,boundary:X.filter(TS),altBoundary:L},{refs:H,floatingStyles:oe,placement:se,isPositioned:Z,middlewareData:M}=pS({strategy:"fixed",placement:z,whileElementsMounted:(...St)=>sS(...St,{animationFrame:y==="always"}),elements:{reference:b.anchor},middleware:[gS({mainAxis:o+R,alignmentAxis:s}),l&&vS({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?yS():void 0,...W}),l&&xS({...W}),wS({...W,apply:({elements:St,rects:wn,availableWidth:mo,availableHeight:Ct})=>{const{width:Ko,height:E}=wn.reference,N=St.floating.style;N.setProperty("--radix-popper-available-width",`${mo}px`),N.setProperty("--radix-popper-available-height",`${Ct}px`),N.setProperty("--radix-popper-anchor-width",`${Ko}px`),N.setProperty("--radix-popper-anchor-height",`${E}px`)}}),C&&SS({element:C,padding:a}),MS({arrowWidth:T,arrowHeight:R}),h&&bS({strategy:"referenceHidden",...W})]}),[D,K]=Dv(se),U=An(x);Fo(()=>{Z&&(U==null||U())},[Z,U]);const J=(Xe=M.arrow)==null?void 0:Xe.x,ge=(ht=M.arrow)==null?void 0:ht.y,ke=((Je=M.arrow)==null?void 0:Je.centerOffset)!==0,[$e,me]=p.useState();return Fo(()=>{g&&me(window.getComputedStyle(g).zIndex)},[g]),c.jsx("div",{ref:H.setFloating,"data-radix-popper-content-wrapper":"",style:{...oe,transform:Z?oe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:$e,"--radix-popper-transform-origin":[(Ot=M.transformOrigin)==null?void 0:Ot.x,(tr=M.transformOrigin)==null?void 0:tr.y].join(" "),...((We=M.hide)==null?void 0:We.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(jS,{scope:n,placedSide:D,onArrowChange:_,arrowX:J,arrowY:ge,shouldHideArrow:ke,children:c.jsx(Qe.div,{"data-side":D,"data-align":K,...v,ref:w,style:{...v.style,animation:Z?void 0:"none"}})})})});Tv.displayName=i1;var Mv="PopperArrow",RS={top:"bottom",right:"left",bottom:"top",left:"right"},Pv=p.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=NS(Mv,r),s=RS[i.placedSide];return c.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:c.jsx(_S,{...o,ref:n,style:{...o.style,display:"block"}})})});Pv.displayName=Mv;function TS(e){return e!==null}var MS=e=>({name:"transformOrigin",options:e,fn(t){var b,g,m;const{placement:n,rects:r,middlewareData:o}=t,s=((b=o.arrow)==null?void 0:b.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,f]=Dv(n),d={start:"0%",center:"50%",end:"100%"}[f],h=(((g=o.arrow)==null?void 0:g.x)??0)+a/2,y=(((m=o.arrow)==null?void 0:m.y)??0)+l/2;let x="",v="";return u==="bottom"?(x=s?d:`${h}px`,v=`${-l}px`):u==="top"?(x=s?d:`${h}px`,v=`${r.floating.height+l}px`):u==="right"?(x=`${-l}px`,v=s?d:`${y}px`):u==="left"&&(x=`${r.floating.width+l}px`,v=s?d:`${y}px`),{data:{x,y:v}}}});function Dv(e){const[t,n="center"]=e.split("-");return[t,n]}var Av=jv,Ov=Rv,Lv=Tv,Iv=Pv,PS="Portal",s1=p.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=p.useState(!1);Fo(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?V0.createPortal(c.jsx(Qe.div,{...r,ref:t}),s):null});s1.displayName=PS;function DS(e,t){return p.useReducer((n,r)=>t[n][r]??n,e)}var Cr=e=>{const{present:t,children:n}=e,r=AS(t),o=typeof n=="function"?n({present:r.isPresent}):p.Children.only(n),i=ct(r.ref,OS(o));return typeof n=="function"||r.isPresent?p.cloneElement(o,{ref:i}):null};Cr.displayName="Presence";function AS(e){const[t,n]=p.useState(),r=p.useRef({}),o=p.useRef(e),i=p.useRef("none"),s=e?"mounted":"unmounted",[a,l]=DS(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const u=vl(r.current);i.current=a==="mounted"?u:"none"},[a]),Fo(()=>{const u=r.current,f=o.current;if(f!==e){const h=i.current,y=vl(u);e?l("MOUNT"):y==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(f&&h!==y?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Fo(()=>{if(t){const u=d=>{const y=vl(r.current).includes(d.animationName);d.target===t&&y&&Qi.flushSync(()=>l("ANIMATION_END"))},f=d=>{d.target===t&&(i.current=vl(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:p.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function vl(e){return(e==null?void 0:e.animationName)||"none"}function OS(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var dd="rovingFocusGroup.onEntryFocus",LS={bubbles:!1,cancelable:!0},hu="RovingFocusGroup",[Tf,Fv,IS]=cv(hu),[FS,zv]=ho(hu,[IS]),[zS,$S]=FS(hu),$v=p.forwardRef((e,t)=>c.jsx(Tf.Provider,{scope:e.__scopeRovingFocusGroup,children:c.jsx(Tf.Slot,{scope:e.__scopeRovingFocusGroup,children:c.jsx(VS,{...e,ref:t})})}));$v.displayName=hu;var VS=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:s,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:f=!1,...d}=e,h=p.useRef(null),y=ct(t,h),x=uv(i),[v=null,b]=lu({prop:s,defaultProp:a,onChange:l}),[g,m]=p.useState(!1),w=An(u),C=Fv(n),_=p.useRef(!1),[S,T]=p.useState(0);return p.useEffect(()=>{const R=h.current;if(R)return R.addEventListener(dd,w),()=>R.removeEventListener(dd,w)},[w]),c.jsx(zS,{scope:n,orientation:r,dir:x,loop:o,currentTabStopId:v,onItemFocus:p.useCallback(R=>b(R),[b]),onItemShiftTab:p.useCallback(()=>m(!0),[]),onFocusableItemAdd:p.useCallback(()=>T(R=>R+1),[]),onFocusableItemRemove:p.useCallback(()=>T(R=>R-1),[]),children:c.jsx(Qe.div,{tabIndex:g||S===0?-1:0,"data-orientation":r,...d,ref:y,style:{outline:"none",...e.style},onMouseDown:ve(e.onMouseDown,()=>{_.current=!0}),onFocus:ve(e.onFocus,R=>{const z=!_.current;if(R.target===R.currentTarget&&z&&!g){const O=new CustomEvent(dd,LS);if(R.currentTarget.dispatchEvent(O),!O.defaultPrevented){const X=C().filter(se=>se.focusable),L=X.find(se=>se.active),W=X.find(se=>se.id===v),oe=[L,W,...X].filter(Boolean).map(se=>se.ref.current);Uv(oe,f)}}_.current=!1}),onBlur:ve(e.onBlur,()=>m(!1))})})}),Vv="RovingFocusGroupItem",Bv=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...s}=e,a=Ro(),l=i||a,u=$S(Vv,n),f=u.currentTabStopId===l,d=Fv(n),{onFocusableItemAdd:h,onFocusableItemRemove:y}=u;return p.useEffect(()=>{if(r)return h(),()=>y()},[r,h,y]),c.jsx(Tf.ItemSlot,{scope:n,id:l,focusable:r,active:o,children:c.jsx(Qe.span,{tabIndex:f?0:-1,"data-orientation":u.orientation,...s,ref:t,onMouseDown:ve(e.onMouseDown,x=>{r?u.onItemFocus(l):x.preventDefault()}),onFocus:ve(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:ve(e.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){u.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const v=HS(x,u.orientation,u.dir);if(v!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let g=d().filter(m=>m.focusable).map(m=>m.ref.current);if(v==="last")g.reverse();else if(v==="prev"||v==="next"){v==="prev"&&g.reverse();const m=g.indexOf(x.currentTarget);g=u.loop?WS(g,m+1):g.slice(m+1)}setTimeout(()=>Uv(g))}})})})});Bv.displayName=Vv;var BS={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function US(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function HS(e,t,n){const r=US(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return BS[r]}function Uv(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function WS(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var ZS=$v,GS=Bv,KS=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ni=new WeakMap,yl=new WeakMap,xl={},fd=0,Hv=function(e){return e&&(e.host||Hv(e.parentNode))},YS=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Hv(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},QS=function(e,t,n,r){var o=YS(t,Array.isArray(e)?e:[e]);xl[n]||(xl[n]=new WeakMap);var i=xl[n],s=[],a=new Set,l=new Set(o),u=function(d){!d||a.has(d)||(a.add(d),u(d.parentNode))};o.forEach(u);var f=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(h){if(a.has(h))f(h);else try{var y=h.getAttribute(r),x=y!==null&&y!=="false",v=(ni.get(h)||0)+1,b=(i.get(h)||0)+1;ni.set(h,v),i.set(h,b),s.push(h),v===1&&x&&yl.set(h,!0),b===1&&h.setAttribute(n,"true"),x||h.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",h,g)}})};return f(t),a.clear(),fd++,function(){s.forEach(function(d){var h=ni.get(d)-1,y=i.get(d)-1;ni.set(d,h),i.set(d,y),h||(yl.has(d)||d.removeAttribute(r),yl.delete(d)),y||d.removeAttribute(n)}),fd--,fd||(ni=new WeakMap,ni=new WeakMap,yl=new WeakMap,xl={})}},Wv=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=KS(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),QS(r,o,n,"aria-hidden")):function(){return null}},Wn=function(){return Wn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return hC;var t=pC(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},gC=Yv(),Ti="data-scroll-locked",vC=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),` - .`.concat(JS,` { + */const ob=wn("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/** + * @license lucide-react v0.427.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const av=wn("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function ve(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function ib(e,t){const n=p.createContext(t);function r(i){const{children:s,...a}=i,l=p.useMemo(()=>a,Object.values(a));return c.jsx(n.Provider,{value:l,children:s})}function o(i){const s=p.useContext(n);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",[r,o]}function po(e,t=[]){let n=[];function r(i,s){const a=p.createContext(s),l=n.length;n=[...n,s];function u(d){const{scope:h,children:y,...x}=d,v=(h==null?void 0:h[e][l])||a,b=p.useMemo(()=>x,Object.values(x));return c.jsx(v.Provider,{value:b,children:y})}function f(d,h){const y=(h==null?void 0:h[e][l])||a,x=p.useContext(y);if(x)return x;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,f]}const o=()=>{const i=n.map(s=>p.createContext(s));return function(a){const l=(a==null?void 0:a[e])||i;return p.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,sb(o,...t)]}function sb(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(i)[`__scope${u}`];return{...a,...d}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function On(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function lu({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=ab({defaultProp:t,onChange:n}),i=e!==void 0,s=i?e:r,a=On(n),l=p.useCallback(u=>{if(i){const d=typeof u=="function"?u(e):u;d!==e&&a(d)}else o(u)},[i,e,o,a]);return[s,l]}function ab({defaultProp:e,onChange:t}){const n=p.useState(e),[r]=n,o=p.useRef(r),i=On(t);return p.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var lb=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Qe=lb.reduce((e,t)=>{const n=p.forwardRef((r,o)=>{const{asChild:i,...s}=r,a=i?Jr:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(a,{...s,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function lv(e,t){e&&Qi.flushSync(()=>e.dispatchEvent(t))}function cv(e){const t=e+"CollectionProvider",[n,r]=po(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=y=>{const{scope:x,children:v}=y,b=F.useRef(null),g=F.useRef(new Map).current;return c.jsx(o,{scope:x,itemMap:g,collectionRef:b,children:v})};s.displayName=t;const a=e+"CollectionSlot",l=F.forwardRef((y,x)=>{const{scope:v,children:b}=y,g=i(a,v),m=ct(x,g.collectionRef);return c.jsx(Jr,{ref:m,children:b})});l.displayName=a;const u=e+"CollectionItemSlot",f="data-radix-collection-item",d=F.forwardRef((y,x)=>{const{scope:v,children:b,...g}=y,m=F.useRef(null),w=ct(x,m),C=i(u,v);return F.useEffect(()=>(C.itemMap.set(m,{ref:m,...g}),()=>void C.itemMap.delete(m))),c.jsx(Jr,{[f]:"",ref:w,children:b})});d.displayName=u;function h(y){const x=i(e+"CollectionConsumer",y);return F.useCallback(()=>{const b=x.collectionRef.current;if(!b)return[];const g=Array.from(b.querySelectorAll(`[${f}]`));return Array.from(x.itemMap.values()).sort((C,_)=>g.indexOf(C.ref.current)-g.indexOf(_.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:s,Slot:l,ItemSlot:d},h,r]}var cb=p.createContext(void 0);function uv(e){const t=p.useContext(cb);return e||t||"ltr"}function ub(e,t=globalThis==null?void 0:globalThis.document){const n=On(e);p.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var db="DismissableLayer",kf="dismissableLayer.update",fb="dismissableLayer.pointerDownOutside",hb="dismissableLayer.focusOutside",Sp,dv=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),cu=p.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...l}=e,u=p.useContext(dv),[f,d]=p.useState(null),h=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=p.useState({}),x=ct(t,T=>d(T)),v=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=v.indexOf(b),m=f?v.indexOf(f):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,C=m>=g,_=gb(T=>{const R=T.target,z=[...u.branches].some(O=>O.contains(R));!C||z||(o==null||o(T),s==null||s(T),T.defaultPrevented||a==null||a())},h),S=vb(T=>{const R=T.target;[...u.branches].some(O=>O.contains(R))||(i==null||i(T),s==null||s(T),T.defaultPrevented||a==null||a())},h);return ub(T=>{m===u.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&a&&(T.preventDefault(),a()))},h),p.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Sp=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Cp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Sp)}},[f,h,n,u]),p.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Cp())},[f,u]),p.useEffect(()=>{const T=()=>y({});return document.addEventListener(kf,T),()=>document.removeEventListener(kf,T)},[]),c.jsx(Qe.div,{...l,ref:x,style:{pointerEvents:w?C?"auto":"none":void 0,...e.style},onFocusCapture:ve(e.onFocusCapture,S.onFocusCapture),onBlurCapture:ve(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:ve(e.onPointerDownCapture,_.onPointerDownCapture)})});cu.displayName=db;var pb="DismissableLayerBranch",mb=p.forwardRef((e,t)=>{const n=p.useContext(dv),r=p.useRef(null),o=ct(t,r);return p.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),c.jsx(Qe.div,{...e,ref:o})});mb.displayName=pb;function gb(e,t=globalThis==null?void 0:globalThis.document){const n=On(e),r=p.useRef(!1),o=p.useRef(()=>{});return p.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){fv(fb,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function vb(e,t=globalThis==null?void 0:globalThis.document){const n=On(e),r=p.useRef(!1);return p.useEffect(()=>{const o=i=>{i.target&&!r.current&&fv(hb,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Cp(){const e=new CustomEvent(kf);document.dispatchEvent(e)}function fv(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?lv(o,i):o.dispatchEvent(i)}var ad=0;function hv(){p.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??_p()),document.body.insertAdjacentElement("beforeend",e[1]??_p()),ad++,()=>{ad===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ad--}},[])}function _p(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var ld="focusScope.autoFocusOnMount",cd="focusScope.autoFocusOnUnmount",Ep={bubbles:!1,cancelable:!0},yb="FocusScope",X0=p.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[a,l]=p.useState(null),u=On(o),f=On(i),d=p.useRef(null),h=ct(t,v=>l(v)),y=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let v=function(w){if(y.paused||!a)return;const C=w.target;a.contains(C)?d.current=C:Dr(d.current,{select:!0})},b=function(w){if(y.paused||!a)return;const C=w.relatedTarget;C!==null&&(a.contains(C)||Dr(d.current,{select:!0}))},g=function(w){if(document.activeElement===document.body)for(const _ of w)_.removedNodes.length>0&&Dr(a)};document.addEventListener("focusin",v),document.addEventListener("focusout",b);const m=new MutationObserver(g);return a&&m.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",b),m.disconnect()}}},[r,a,y.paused]),p.useEffect(()=>{if(a){jp.add(y);const v=document.activeElement;if(!a.contains(v)){const g=new CustomEvent(ld,Ep);a.addEventListener(ld,u),a.dispatchEvent(g),g.defaultPrevented||(xb(_b(pv(a)),{select:!0}),document.activeElement===v&&Dr(a))}return()=>{a.removeEventListener(ld,u),setTimeout(()=>{const g=new CustomEvent(cd,Ep);a.addEventListener(cd,f),a.dispatchEvent(g),g.defaultPrevented||Dr(v??document.body,{select:!0}),a.removeEventListener(cd,f),jp.remove(y)},0)}}},[a,u,f,y]);const x=p.useCallback(v=>{if(!n&&!r||y.paused)return;const b=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,g=document.activeElement;if(b&&g){const m=v.currentTarget,[w,C]=wb(m);w&&C?!v.shiftKey&&g===C?(v.preventDefault(),n&&Dr(w,{select:!0})):v.shiftKey&&g===w&&(v.preventDefault(),n&&Dr(C,{select:!0})):g===m&&v.preventDefault()}},[n,r,y.paused]);return c.jsx(Qe.div,{tabIndex:-1,...s,ref:h,onKeyDown:x})});X0.displayName=yb;function xb(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Dr(r,{select:t}),document.activeElement!==n)return}function wb(e){const t=pv(e),n=kp(t,e),r=kp(t.reverse(),e);return[n,r]}function pv(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function kp(e,t){for(const n of e)if(!bb(n,{upTo:t}))return n}function bb(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Sb(e){return e instanceof HTMLInputElement&&"select"in e}function Dr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Sb(e)&&t&&e.select()}}var jp=Cb();function Cb(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Np(e,t),e.unshift(t)},remove(t){var n;e=Np(e,t),(n=e[0])==null||n.resume()}}}function Np(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function _b(e){return e.filter(t=>t.tagName!=="A")}var Fo=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},Eb=Tm.useId||(()=>{}),kb=0;function To(e){const[t,n]=p.useState(Eb());return Fo(()=>{n(r=>r??String(kb++))},[e]),t?`radix-${t}`:""}const jb=["top","right","bottom","left"],Gn=Math.min,on=Math.max,yc=Math.round,gl=Math.floor,eo=e=>({x:e,y:e}),Nb={left:"right",right:"left",bottom:"top",top:"bottom"},Rb={start:"end",end:"start"};function jf(e,t,n){return on(e,Gn(t,n))}function yr(e,t){return typeof e=="function"?e(t):e}function xr(e){return e.split("-")[0]}function qi(e){return e.split("-")[1]}function J0(e){return e==="x"?"y":"x"}function q0(e){return e==="y"?"height":"width"}function to(e){return["top","bottom"].includes(xr(e))?"y":"x"}function e1(e){return J0(to(e))}function Tb(e,t,n){n===void 0&&(n=!1);const r=qi(e),o=e1(e),i=q0(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=xc(s)),[s,xc(s)]}function Mb(e){const t=xc(e);return[Nf(e),t,Nf(t)]}function Nf(e){return e.replace(/start|end/g,t=>Rb[t])}function Pb(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function Db(e,t,n,r){const o=qi(e);let i=Pb(xr(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Nf)))),i}function xc(e){return e.replace(/left|right|bottom|top/g,t=>Nb[t])}function Ab(e){return{top:0,right:0,bottom:0,left:0,...e}}function mv(e){return typeof e!="number"?Ab(e):{top:e,right:e,bottom:e,left:e}}function wc(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Rp(e,t,n){let{reference:r,floating:o}=e;const i=to(t),s=e1(t),a=q0(s),l=xr(t),u=i==="y",f=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,h=r[a]/2-o[a]/2;let y;switch(l){case"top":y={x:f,y:r.y-o.height};break;case"bottom":y={x:f,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:d};break;case"left":y={x:r.x-o.width,y:d};break;default:y={x:r.x,y:r.y}}switch(qi(t)){case"start":y[s]-=h*(n&&u?-1:1);break;case"end":y[s]+=h*(n&&u?-1:1);break}return y}const Ob=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:d}=Rp(u,r,l),h=r,y={},x=0;for(let v=0;v({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:f=0}=yr(e,t)||{};if(u==null)return{};const d=mv(f),h={x:n,y:r},y=e1(o),x=q0(y),v=await s.getDimensions(u),b=y==="y",g=b?"top":"left",m=b?"bottom":"right",w=b?"clientHeight":"clientWidth",C=i.reference[x]+i.reference[y]-h[y]-i.floating[x],_=h[y]-i.reference[y],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let T=S?S[w]:0;(!T||!await(s.isElement==null?void 0:s.isElement(S)))&&(T=a.floating[w]||i.floating[x]);const R=C/2-_/2,z=T/2-v[x]/2-1,O=Gn(d[g],z),X=Gn(d[m],z),L=O,W=T-v[x]-X,H=T/2-v[x]/2+R,oe=jf(L,H,W),se=!l.arrow&&qi(o)!=null&&H!==oe&&i.reference[x]/2-(HH<=0)){var X,L;const H=(((X=i.flip)==null?void 0:X.index)||0)+1,oe=T[H];if(oe)return{data:{index:H,overflows:O},reset:{placement:oe}};let se=(L=O.filter(Z=>Z.overflows[0]<=0).sort((Z,M)=>Z.overflows[1]-M.overflows[1])[0])==null?void 0:L.placement;if(!se)switch(y){case"bestFit":{var W;const Z=(W=O.filter(M=>{if(S){const D=to(M.placement);return D===m||D==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(D=>D>0).reduce((D,K)=>D+K,0)]).sort((M,D)=>M[1]-D[1])[0])==null?void 0:W[0];Z&&(se=Z);break}case"initialPlacement":se=a;break}if(o!==se)return{reset:{placement:se}}}return{}}}};function Tp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Mp(e){return jb.some(t=>e[t]>=0)}const Fb=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=yr(e,t);switch(r){case"referenceHidden":{const i=await ca(t,{...o,elementContext:"reference"}),s=Tp(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Mp(s)}}}case"escaped":{const i=await ca(t,{...o,altBoundary:!0}),s=Tp(i,n.floating);return{data:{escapedOffsets:s,escaped:Mp(s)}}}default:return{}}}}};async function zb(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=xr(n),a=qi(n),l=to(n)==="y",u=["left","top"].includes(s)?-1:1,f=i&&l?-1:1,d=yr(t,e);let{mainAxis:h,crossAxis:y,alignmentAxis:x}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return a&&typeof x=="number"&&(y=a==="end"?x*-1:x),l?{x:y*f,y:h*u}:{x:h*u,y:y*f}}const $b=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await zb(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},Vb=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:b=>{let{x:g,y:m}=b;return{x:g,y:m}}},...l}=yr(e,t),u={x:n,y:r},f=await ca(t,l),d=to(xr(o)),h=J0(d);let y=u[h],x=u[d];if(i){const b=h==="y"?"top":"left",g=h==="y"?"bottom":"right",m=y+f[b],w=y-f[g];y=jf(m,y,w)}if(s){const b=d==="y"?"top":"left",g=d==="y"?"bottom":"right",m=x+f[b],w=x-f[g];x=jf(m,x,w)}const v=a.fn({...t,[h]:y,[d]:x});return{...v,data:{x:v.x-n,y:v.y-r}}}}},Bb=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=yr(e,t),f={x:n,y:r},d=to(o),h=J0(d);let y=f[h],x=f[d];const v=yr(a,t),b=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const w=h==="y"?"height":"width",C=i.reference[h]-i.floating[w]+b.mainAxis,_=i.reference[h]+i.reference[w]-b.mainAxis;y_&&(y=_)}if(u){var g,m;const w=h==="y"?"width":"height",C=["top","left"].includes(xr(o)),_=i.reference[d]-i.floating[w]+(C&&((g=s.offset)==null?void 0:g[d])||0)+(C?0:b.crossAxis),S=i.reference[d]+i.reference[w]+(C?0:((m=s.offset)==null?void 0:m[d])||0)-(C?b.crossAxis:0);x<_?x=_:x>S&&(x=S)}return{[h]:y,[d]:x}}}},Ub=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:s=()=>{},...a}=yr(e,t),l=await ca(t,a),u=xr(n),f=qi(n),d=to(n)==="y",{width:h,height:y}=r.floating;let x,v;u==="top"||u==="bottom"?(x=u,v=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(v=u,x=f==="end"?"top":"bottom");const b=y-l.top-l.bottom,g=h-l.left-l.right,m=Gn(y-l[x],b),w=Gn(h-l[v],g),C=!t.middlewareData.shift;let _=m,S=w;if(d?S=f||C?Gn(w,g):g:_=f||C?Gn(m,b):b,C&&!f){const R=on(l.left,0),z=on(l.right,0),O=on(l.top,0),X=on(l.bottom,0);d?S=h-2*(R!==0||z!==0?R+z:on(l.left,l.right)):_=y-2*(O!==0||X!==0?O+X:on(l.top,l.bottom))}await s({...t,availableWidth:S,availableHeight:_});const T=await o.getDimensions(i.floating);return h!==T.width||y!==T.height?{reset:{rects:!0}}:{}}}};function es(e){return gv(e)?(e.nodeName||"").toLowerCase():"#document"}function ln(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Sr(e){var t;return(t=(gv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function gv(e){return e instanceof Node||e instanceof ln(e).Node}function Ln(e){return e instanceof Element||e instanceof ln(e).Element}function Jn(e){return e instanceof HTMLElement||e instanceof ln(e).HTMLElement}function Pp(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ln(e).ShadowRoot}function Aa(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=In(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Hb(e){return["table","td","th"].includes(es(e))}function uu(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function t1(e){const t=n1(),n=Ln(e)?In(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Wb(e){let t=no(e);for(;Jn(t)&&!Vi(t);){if(t1(t))return t;if(uu(t))return null;t=no(t)}return null}function n1(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Vi(e){return["html","body","#document"].includes(es(e))}function In(e){return ln(e).getComputedStyle(e)}function du(e){return Ln(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function no(e){if(es(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Pp(e)&&e.host||Sr(e);return Pp(t)?t.host:t}function vv(e){const t=no(e);return Vi(t)?e.ownerDocument?e.ownerDocument.body:e.body:Jn(t)&&Aa(t)?t:vv(t)}function ua(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=vv(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=ln(o);if(i){const a=Rf(s);return t.concat(s,s.visualViewport||[],Aa(o)?o:[],a&&n?ua(a):[])}return t.concat(o,ua(o,[],n))}function Rf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yv(e){const t=In(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Jn(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=yc(n)!==i||yc(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function r1(e){return Ln(e)?e:e.contextElement}function Ri(e){const t=r1(e);if(!Jn(t))return eo(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=yv(t);let s=(i?yc(n.width):n.width)/r,a=(i?yc(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const Zb=eo(0);function xv(e){const t=ln(e);return!n1()||!t.visualViewport?Zb:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Gb(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ln(e)?!1:t}function zo(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=r1(e);let s=eo(1);t&&(r?Ln(r)&&(s=Ri(r)):s=Ri(e));const a=Gb(i,n,r)?xv(i):eo(0);let l=(o.left+a.x)/s.x,u=(o.top+a.y)/s.y,f=o.width/s.x,d=o.height/s.y;if(i){const h=ln(i),y=r&&Ln(r)?ln(r):r;let x=h,v=Rf(x);for(;v&&r&&y!==x;){const b=Ri(v),g=v.getBoundingClientRect(),m=In(v),w=g.left+(v.clientLeft+parseFloat(m.paddingLeft))*b.x,C=g.top+(v.clientTop+parseFloat(m.paddingTop))*b.y;l*=b.x,u*=b.y,f*=b.x,d*=b.y,l+=w,u+=C,x=ln(v),v=Rf(x)}}return wc({width:f,height:d,x:l,y:u})}function Kb(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=Sr(r),a=t?uu(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},u=eo(1);const f=eo(0),d=Jn(r);if((d||!d&&!i)&&((es(r)!=="body"||Aa(s))&&(l=du(r)),Jn(r))){const h=zo(r);u=Ri(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+f.x,y:n.y*u.y-l.scrollTop*u.y+f.y}}function Yb(e){return Array.from(e.getClientRects())}function wv(e){return zo(Sr(e)).left+du(e).scrollLeft}function Qb(e){const t=Sr(e),n=du(e),r=e.ownerDocument.body,o=on(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=on(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+wv(e);const a=-n.scrollTop;return In(r).direction==="rtl"&&(s+=on(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}function Xb(e,t){const n=ln(e),r=Sr(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const u=n1();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}function Jb(e,t){const n=zo(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Jn(e)?Ri(e):eo(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:s,height:a,x:l,y:u}}function Dp(e,t,n){let r;if(t==="viewport")r=Xb(e,n);else if(t==="document")r=Qb(Sr(e));else if(Ln(t))r=Jb(t,n);else{const o=xv(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return wc(r)}function bv(e,t){const n=no(e);return n===t||!Ln(n)||Vi(n)?!1:In(n).position==="fixed"||bv(n,t)}function qb(e,t){const n=t.get(e);if(n)return n;let r=ua(e,[],!1).filter(a=>Ln(a)&&es(a)!=="body"),o=null;const i=In(e).position==="fixed";let s=i?no(e):e;for(;Ln(s)&&!Vi(s);){const a=In(s),l=t1(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Aa(s)&&!l&&bv(e,s))?r=r.filter(f=>f!==s):o=a,s=no(s)}return t.set(e,r),r}function eS(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?uu(t)?[]:qb(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,f)=>{const d=Dp(t,f,o);return u.top=on(d.top,u.top),u.right=Gn(d.right,u.right),u.bottom=Gn(d.bottom,u.bottom),u.left=on(d.left,u.left),u},Dp(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function tS(e){const{width:t,height:n}=yv(e);return{width:t,height:n}}function nS(e,t,n){const r=Jn(t),o=Sr(t),i=n==="fixed",s=zo(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=eo(0);if(r||!r&&!i)if((es(t)!=="body"||Aa(o))&&(a=du(t)),r){const d=zo(t,!0,i,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else o&&(l.x=wv(o));const u=s.left+a.scrollLeft-l.x,f=s.top+a.scrollTop-l.y;return{x:u,y:f,width:s.width,height:s.height}}function ud(e){return In(e).position==="static"}function Ap(e,t){return!Jn(e)||In(e).position==="fixed"?null:t?t(e):e.offsetParent}function Sv(e,t){const n=ln(e);if(uu(e))return n;if(!Jn(e)){let o=no(e);for(;o&&!Vi(o);){if(Ln(o)&&!ud(o))return o;o=no(o)}return n}let r=Ap(e,t);for(;r&&Hb(r)&&ud(r);)r=Ap(r,t);return r&&Vi(r)&&ud(r)&&!t1(r)?n:r||Wb(e)||n}const rS=async function(e){const t=this.getOffsetParent||Sv,n=this.getDimensions,r=await n(e.floating);return{reference:nS(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function oS(e){return In(e).direction==="rtl"}const iS={convertOffsetParentRelativeRectToViewportRelativeRect:Kb,getDocumentElement:Sr,getClippingRect:eS,getOffsetParent:Sv,getElementRects:rS,getClientRects:Yb,getDimensions:tS,getScale:Ri,isElement:Ln,isRTL:oS};function sS(e,t){let n=null,r;const o=Sr(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const{left:u,top:f,width:d,height:h}=e.getBoundingClientRect();if(a||t(),!d||!h)return;const y=gl(f),x=gl(o.clientWidth-(u+d)),v=gl(o.clientHeight-(f+h)),b=gl(u),m={rootMargin:-y+"px "+-x+"px "+-v+"px "+-b+"px",threshold:on(0,Gn(1,l))||1};let w=!0;function C(_){const S=_[0].intersectionRatio;if(S!==l){if(!w)return s();S?s(!1,S):r=setTimeout(()=>{s(!1,1e-7)},1e3)}w=!1}try{n=new IntersectionObserver(C,{...m,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,m)}n.observe(e)}return s(!0),i}function aS(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=r1(e),f=o||i?[...u?ua(u):[],...ua(t)]:[];f.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const d=u&&a?sS(u,n):null;let h=-1,y=null;s&&(y=new ResizeObserver(g=>{let[m]=g;m&&m.target===u&&y&&(y.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var w;(w=y)==null||w.observe(t)})),n()}),u&&!l&&y.observe(u),y.observe(t));let x,v=l?zo(e):null;l&&b();function b(){const g=zo(e);v&&(g.x!==v.x||g.y!==v.y||g.width!==v.width||g.height!==v.height)&&n(),v=g,x=requestAnimationFrame(b)}return n(),()=>{var g;f.forEach(m=>{o&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),d==null||d(),(g=y)==null||g.disconnect(),y=null,l&&cancelAnimationFrame(x)}}const lS=$b,cS=Vb,uS=Ib,dS=Ub,fS=Fb,Op=Lb,hS=Bb,pS=(e,t,n)=>{const r=new Map,o={platform:iS,...n},i={...o.platform,_c:r};return Ob(e,t,{...o,platform:i})};var zl=typeof document<"u"?p.useLayoutEffect:p.useEffect;function bc(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!bc(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!bc(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Cv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Lp(e,t){const n=Cv(e);return Math.round(t*n)/n}function Ip(e){const t=p.useRef(e);return zl(()=>{t.current=e}),t}function mS(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[f,d]=p.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,y]=p.useState(r);bc(h,r)||y(r);const[x,v]=p.useState(null),[b,g]=p.useState(null),m=p.useCallback(Z=>{Z!==S.current&&(S.current=Z,v(Z))},[]),w=p.useCallback(Z=>{Z!==T.current&&(T.current=Z,g(Z))},[]),C=i||x,_=s||b,S=p.useRef(null),T=p.useRef(null),R=p.useRef(f),z=l!=null,O=Ip(l),X=Ip(o),L=p.useCallback(()=>{if(!S.current||!T.current)return;const Z={placement:t,strategy:n,middleware:h};X.current&&(Z.platform=X.current),pS(S.current,T.current,Z).then(M=>{const D={...M,isPositioned:!0};W.current&&!bc(R.current,D)&&(R.current=D,Qi.flushSync(()=>{d(D)}))})},[h,t,n,X]);zl(()=>{u===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,d(Z=>({...Z,isPositioned:!1})))},[u]);const W=p.useRef(!1);zl(()=>(W.current=!0,()=>{W.current=!1}),[]),zl(()=>{if(C&&(S.current=C),_&&(T.current=_),C&&_){if(O.current)return O.current(C,_,L);L()}},[C,_,L,O,z]);const H=p.useMemo(()=>({reference:S,floating:T,setReference:m,setFloating:w}),[m,w]),oe=p.useMemo(()=>({reference:C,floating:_}),[C,_]),se=p.useMemo(()=>{const Z={position:n,left:0,top:0};if(!oe.floating)return Z;const M=Lp(oe.floating,f.x),D=Lp(oe.floating,f.y);return a?{...Z,transform:"translate("+M+"px, "+D+"px)",...Cv(oe.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:D}},[n,a,oe.floating,f.x,f.y]);return p.useMemo(()=>({...f,update:L,refs:H,elements:oe,floatingStyles:se}),[f,L,H,oe,se])}const gS=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Op({element:r.current,padding:o}).fn(n):{}:r?Op({element:r,padding:o}).fn(n):{}}}},vS=(e,t)=>({...lS(e),options:[e,t]}),yS=(e,t)=>({...cS(e),options:[e,t]}),xS=(e,t)=>({...hS(e),options:[e,t]}),wS=(e,t)=>({...uS(e),options:[e,t]}),bS=(e,t)=>({...dS(e),options:[e,t]}),SS=(e,t)=>({...fS(e),options:[e,t]}),CS=(e,t)=>({...gS(e),options:[e,t]});var _S="Arrow",_v=p.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return c.jsx(Qe.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});_v.displayName=_S;var ES=_v;function kS(e){const[t,n]=p.useState(void 0);return Fo(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,a;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var o1="Popper",[Ev,fu]=po(o1),[jS,kv]=Ev(o1),jv=e=>{const{__scopePopper:t,children:n}=e,[r,o]=p.useState(null);return c.jsx(jS,{scope:t,anchor:r,onAnchorChange:o,children:n})};jv.displayName=o1;var Nv="PopperAnchor",Rv=p.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=kv(Nv,n),s=p.useRef(null),a=ct(t,s);return p.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:c.jsx(Qe.div,{...o,ref:a})});Rv.displayName=Nv;var i1="PopperContent",[NS,RS]=Ev(i1),Tv=p.forwardRef((e,t)=>{var Xe,ht,Je,Ot,tr,We;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:y="optimized",onPlaced:x,...v}=e,b=kv(i1,n),[g,m]=p.useState(null),w=ct(t,St=>m(St)),[C,_]=p.useState(null),S=kS(C),T=(S==null?void 0:S.width)??0,R=(S==null?void 0:S.height)??0,z=r+(i!=="center"?"-"+i:""),O=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},X=Array.isArray(u)?u:[u],L=X.length>0,W={padding:O,boundary:X.filter(MS),altBoundary:L},{refs:H,floatingStyles:oe,placement:se,isPositioned:Z,middlewareData:M}=mS({strategy:"fixed",placement:z,whileElementsMounted:(...St)=>aS(...St,{animationFrame:y==="always"}),elements:{reference:b.anchor},middleware:[vS({mainAxis:o+R,alignmentAxis:s}),l&&yS({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?xS():void 0,...W}),l&&wS({...W}),bS({...W,apply:({elements:St,rects:bn,availableWidth:go,availableHeight:Ct})=>{const{width:Ko,height:E}=bn.reference,N=St.floating.style;N.setProperty("--radix-popper-available-width",`${go}px`),N.setProperty("--radix-popper-available-height",`${Ct}px`),N.setProperty("--radix-popper-anchor-width",`${Ko}px`),N.setProperty("--radix-popper-anchor-height",`${E}px`)}}),C&&CS({element:C,padding:a}),PS({arrowWidth:T,arrowHeight:R}),h&&SS({strategy:"referenceHidden",...W})]}),[D,K]=Dv(se),U=On(x);Fo(()=>{Z&&(U==null||U())},[Z,U]);const J=(Xe=M.arrow)==null?void 0:Xe.x,ge=(ht=M.arrow)==null?void 0:ht.y,ke=((Je=M.arrow)==null?void 0:Je.centerOffset)!==0,[$e,me]=p.useState();return Fo(()=>{g&&me(window.getComputedStyle(g).zIndex)},[g]),c.jsx("div",{ref:H.setFloating,"data-radix-popper-content-wrapper":"",style:{...oe,transform:Z?oe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:$e,"--radix-popper-transform-origin":[(Ot=M.transformOrigin)==null?void 0:Ot.x,(tr=M.transformOrigin)==null?void 0:tr.y].join(" "),...((We=M.hide)==null?void 0:We.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(NS,{scope:n,placedSide:D,onArrowChange:_,arrowX:J,arrowY:ge,shouldHideArrow:ke,children:c.jsx(Qe.div,{"data-side":D,"data-align":K,...v,ref:w,style:{...v.style,animation:Z?void 0:"none"}})})})});Tv.displayName=i1;var Mv="PopperArrow",TS={top:"bottom",right:"left",bottom:"top",left:"right"},Pv=p.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=RS(Mv,r),s=TS[i.placedSide];return c.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:c.jsx(ES,{...o,ref:n,style:{...o.style,display:"block"}})})});Pv.displayName=Mv;function MS(e){return e!==null}var PS=e=>({name:"transformOrigin",options:e,fn(t){var b,g,m;const{placement:n,rects:r,middlewareData:o}=t,s=((b=o.arrow)==null?void 0:b.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,f]=Dv(n),d={start:"0%",center:"50%",end:"100%"}[f],h=(((g=o.arrow)==null?void 0:g.x)??0)+a/2,y=(((m=o.arrow)==null?void 0:m.y)??0)+l/2;let x="",v="";return u==="bottom"?(x=s?d:`${h}px`,v=`${-l}px`):u==="top"?(x=s?d:`${h}px`,v=`${r.floating.height+l}px`):u==="right"?(x=`${-l}px`,v=s?d:`${y}px`):u==="left"&&(x=`${r.floating.width+l}px`,v=s?d:`${y}px`),{data:{x,y:v}}}});function Dv(e){const[t,n="center"]=e.split("-");return[t,n]}var Av=jv,Ov=Rv,Lv=Tv,Iv=Pv,DS="Portal",s1=p.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=p.useState(!1);Fo(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?V0.createPortal(c.jsx(Qe.div,{...r,ref:t}),s):null});s1.displayName=DS;function AS(e,t){return p.useReducer((n,r)=>t[n][r]??n,e)}var Cr=e=>{const{present:t,children:n}=e,r=OS(t),o=typeof n=="function"?n({present:r.isPresent}):p.Children.only(n),i=ct(r.ref,LS(o));return typeof n=="function"||r.isPresent?p.cloneElement(o,{ref:i}):null};Cr.displayName="Presence";function OS(e){const[t,n]=p.useState(),r=p.useRef({}),o=p.useRef(e),i=p.useRef("none"),s=e?"mounted":"unmounted",[a,l]=AS(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const u=vl(r.current);i.current=a==="mounted"?u:"none"},[a]),Fo(()=>{const u=r.current,f=o.current;if(f!==e){const h=i.current,y=vl(u);e?l("MOUNT"):y==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(f&&h!==y?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Fo(()=>{if(t){const u=d=>{const y=vl(r.current).includes(d.animationName);d.target===t&&y&&Qi.flushSync(()=>l("ANIMATION_END"))},f=d=>{d.target===t&&(i.current=vl(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:p.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function vl(e){return(e==null?void 0:e.animationName)||"none"}function LS(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var dd="rovingFocusGroup.onEntryFocus",IS={bubbles:!1,cancelable:!0},hu="RovingFocusGroup",[Tf,Fv,FS]=cv(hu),[zS,zv]=po(hu,[FS]),[$S,VS]=zS(hu),$v=p.forwardRef((e,t)=>c.jsx(Tf.Provider,{scope:e.__scopeRovingFocusGroup,children:c.jsx(Tf.Slot,{scope:e.__scopeRovingFocusGroup,children:c.jsx(BS,{...e,ref:t})})}));$v.displayName=hu;var BS=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:s,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:f=!1,...d}=e,h=p.useRef(null),y=ct(t,h),x=uv(i),[v=null,b]=lu({prop:s,defaultProp:a,onChange:l}),[g,m]=p.useState(!1),w=On(u),C=Fv(n),_=p.useRef(!1),[S,T]=p.useState(0);return p.useEffect(()=>{const R=h.current;if(R)return R.addEventListener(dd,w),()=>R.removeEventListener(dd,w)},[w]),c.jsx($S,{scope:n,orientation:r,dir:x,loop:o,currentTabStopId:v,onItemFocus:p.useCallback(R=>b(R),[b]),onItemShiftTab:p.useCallback(()=>m(!0),[]),onFocusableItemAdd:p.useCallback(()=>T(R=>R+1),[]),onFocusableItemRemove:p.useCallback(()=>T(R=>R-1),[]),children:c.jsx(Qe.div,{tabIndex:g||S===0?-1:0,"data-orientation":r,...d,ref:y,style:{outline:"none",...e.style},onMouseDown:ve(e.onMouseDown,()=>{_.current=!0}),onFocus:ve(e.onFocus,R=>{const z=!_.current;if(R.target===R.currentTarget&&z&&!g){const O=new CustomEvent(dd,IS);if(R.currentTarget.dispatchEvent(O),!O.defaultPrevented){const X=C().filter(se=>se.focusable),L=X.find(se=>se.active),W=X.find(se=>se.id===v),oe=[L,W,...X].filter(Boolean).map(se=>se.ref.current);Uv(oe,f)}}_.current=!1}),onBlur:ve(e.onBlur,()=>m(!1))})})}),Vv="RovingFocusGroupItem",Bv=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...s}=e,a=To(),l=i||a,u=VS(Vv,n),f=u.currentTabStopId===l,d=Fv(n),{onFocusableItemAdd:h,onFocusableItemRemove:y}=u;return p.useEffect(()=>{if(r)return h(),()=>y()},[r,h,y]),c.jsx(Tf.ItemSlot,{scope:n,id:l,focusable:r,active:o,children:c.jsx(Qe.span,{tabIndex:f?0:-1,"data-orientation":u.orientation,...s,ref:t,onMouseDown:ve(e.onMouseDown,x=>{r?u.onItemFocus(l):x.preventDefault()}),onFocus:ve(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:ve(e.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){u.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const v=WS(x,u.orientation,u.dir);if(v!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let g=d().filter(m=>m.focusable).map(m=>m.ref.current);if(v==="last")g.reverse();else if(v==="prev"||v==="next"){v==="prev"&&g.reverse();const m=g.indexOf(x.currentTarget);g=u.loop?ZS(g,m+1):g.slice(m+1)}setTimeout(()=>Uv(g))}})})})});Bv.displayName=Vv;var US={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function HS(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function WS(e,t,n){const r=HS(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return US[r]}function Uv(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function ZS(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var GS=$v,KS=Bv,YS=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ni=new WeakMap,yl=new WeakMap,xl={},fd=0,Hv=function(e){return e&&(e.host||Hv(e.parentNode))},QS=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Hv(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},XS=function(e,t,n,r){var o=QS(t,Array.isArray(e)?e:[e]);xl[n]||(xl[n]=new WeakMap);var i=xl[n],s=[],a=new Set,l=new Set(o),u=function(d){!d||a.has(d)||(a.add(d),u(d.parentNode))};o.forEach(u);var f=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(h){if(a.has(h))f(h);else try{var y=h.getAttribute(r),x=y!==null&&y!=="false",v=(ni.get(h)||0)+1,b=(i.get(h)||0)+1;ni.set(h,v),i.set(h,b),s.push(h),v===1&&x&&yl.set(h,!0),b===1&&h.setAttribute(n,"true"),x||h.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",h,g)}})};return f(t),a.clear(),fd++,function(){s.forEach(function(d){var h=ni.get(d)-1,y=i.get(d)-1;ni.set(d,h),i.set(d,y),h||(yl.has(d)||d.removeAttribute(r),yl.delete(d)),y||d.removeAttribute(n)}),fd--,fd||(ni=new WeakMap,ni=new WeakMap,yl=new WeakMap,xl={})}},Wv=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=YS(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),XS(r,o,n,"aria-hidden")):function(){return null}},Wn=function(){return Wn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return pC;var t=mC(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},vC=Yv(),Ti="data-scroll-locked",yC=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),` + .`.concat(qS,` { overflow: hidden `).concat(r,`; padding-right: `).concat(a,"px ").concat(r,`; } @@ -177,14 +182,14 @@ Error generating stack: `+i.message+` } body[`).concat(Ti,`] { - `).concat(qS,": ").concat(a,`px; + `).concat(eC,": ").concat(a,`px; } -`)},zp=function(){var e=parseInt(document.body.getAttribute(Ti)||"0",10);return isFinite(e)?e:0},yC=function(){p.useEffect(function(){return document.body.setAttribute(Ti,(zp()+1).toString()),function(){var e=zp()-1;e<=0?document.body.removeAttribute(Ti):document.body.setAttribute(Ti,e.toString())}},[])},xC=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;yC();var i=p.useMemo(function(){return mC(o)},[o]);return p.createElement(gC,{styles:vC(i,!t,o,n?"":"!important")})},Mf=!1;if(typeof window<"u")try{var wl=Object.defineProperty({},"passive",{get:function(){return Mf=!0,!0}});window.addEventListener("test",wl,wl),window.removeEventListener("test",wl,wl)}catch{Mf=!1}var ri=Mf?{passive:!1}:!1,wC=function(e){return e.tagName==="TEXTAREA"},Qv=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!wC(e)&&n[t]==="visible")},bC=function(e){return Qv(e,"overflowY")},SC=function(e){return Qv(e,"overflowX")},$p=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Xv(e,r);if(o){var i=Jv(e,r),s=i[1],a=i[2];if(s>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},CC=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},_C=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Xv=function(e,t){return e==="v"?bC(t):SC(t)},Jv=function(e,t){return e==="v"?CC(t):_C(t)},EC=function(e,t){return e==="h"&&t==="rtl"?-1:1},kC=function(e,t,n,r,o){var i=EC(e,window.getComputedStyle(t).direction),s=i*r,a=n.target,l=t.contains(a),u=!1,f=s>0,d=0,h=0;do{var y=Jv(e,a),x=y[0],v=y[1],b=y[2],g=v-b-i*x;(x||g)&&Xv(e,a)&&(d+=g,h+=x),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(f&&(Math.abs(d)<1||!o)||!f&&(Math.abs(h)<1||!o))&&(u=!0),u},bl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Vp=function(e){return[e.deltaX,e.deltaY]},Bp=function(e){return e&&"current"in e?e.current:e},jC=function(e,t){return e[0]===t[0]&&e[1]===t[1]},NC=function(e){return` +`)},zp=function(){var e=parseInt(document.body.getAttribute(Ti)||"0",10);return isFinite(e)?e:0},xC=function(){p.useEffect(function(){return document.body.setAttribute(Ti,(zp()+1).toString()),function(){var e=zp()-1;e<=0?document.body.removeAttribute(Ti):document.body.setAttribute(Ti,e.toString())}},[])},wC=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;xC();var i=p.useMemo(function(){return gC(o)},[o]);return p.createElement(vC,{styles:yC(i,!t,o,n?"":"!important")})},Mf=!1;if(typeof window<"u")try{var wl=Object.defineProperty({},"passive",{get:function(){return Mf=!0,!0}});window.addEventListener("test",wl,wl),window.removeEventListener("test",wl,wl)}catch{Mf=!1}var ri=Mf?{passive:!1}:!1,bC=function(e){return e.tagName==="TEXTAREA"},Qv=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!bC(e)&&n[t]==="visible")},SC=function(e){return Qv(e,"overflowY")},CC=function(e){return Qv(e,"overflowX")},$p=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Xv(e,r);if(o){var i=Jv(e,r),s=i[1],a=i[2];if(s>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},_C=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},EC=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Xv=function(e,t){return e==="v"?SC(t):CC(t)},Jv=function(e,t){return e==="v"?_C(t):EC(t)},kC=function(e,t){return e==="h"&&t==="rtl"?-1:1},jC=function(e,t,n,r,o){var i=kC(e,window.getComputedStyle(t).direction),s=i*r,a=n.target,l=t.contains(a),u=!1,f=s>0,d=0,h=0;do{var y=Jv(e,a),x=y[0],v=y[1],b=y[2],g=v-b-i*x;(x||g)&&Xv(e,a)&&(d+=g,h+=x),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(f&&(Math.abs(d)<1||!o)||!f&&(Math.abs(h)<1||!o))&&(u=!0),u},bl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Vp=function(e){return[e.deltaX,e.deltaY]},Bp=function(e){return e&&"current"in e?e.current:e},NC=function(e,t){return e[0]===t[0]&&e[1]===t[1]},RC=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},RC=0,oi=[];function TC(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),o=p.useState(RC++)[0],i=p.useState(Yv)[0],s=p.useRef(e);p.useEffect(function(){s.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=XS([e.lockRef.current],(e.shards||[]).map(Bp),!0).filter(Boolean);return v.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=p.useCallback(function(v,b){if("touches"in v&&v.touches.length===2)return!s.current.allowPinchZoom;var g=bl(v),m=n.current,w="deltaX"in v?v.deltaX:m[0]-g[0],C="deltaY"in v?v.deltaY:m[1]-g[1],_,S=v.target,T=Math.abs(w)>Math.abs(C)?"h":"v";if("touches"in v&&T==="h"&&S.type==="range")return!1;var R=$p(T,S);if(!R)return!0;if(R?_=T:(_=T==="v"?"h":"v",R=$p(T,S)),!R)return!1;if(!r.current&&"changedTouches"in v&&(w||C)&&(r.current=_),!_)return!0;var z=r.current||_;return kC(z,b,v,z==="h"?w:C,!0)},[]),l=p.useCallback(function(v){var b=v;if(!(!oi.length||oi[oi.length-1]!==i)){var g="deltaY"in b?Vp(b):bl(b),m=t.current.filter(function(_){return _.name===b.type&&(_.target===b.target||b.target===_.shadowParent)&&jC(_.delta,g)})[0];if(m&&m.should){b.cancelable&&b.preventDefault();return}if(!m){var w=(s.current.shards||[]).map(Bp).filter(Boolean).filter(function(_){return _.contains(b.target)}),C=w.length>0?a(b,w[0]):!s.current.noIsolation;C&&b.cancelable&&b.preventDefault()}}},[]),u=p.useCallback(function(v,b,g,m){var w={name:v,delta:b,target:g,should:m,shadowParent:MC(g)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(C){return C!==w})},1)},[]),f=p.useCallback(function(v){n.current=bl(v),r.current=void 0},[]),d=p.useCallback(function(v){u(v.type,Vp(v),v.target,a(v,e.lockRef.current))},[]),h=p.useCallback(function(v){u(v.type,bl(v),v.target,a(v,e.lockRef.current))},[]);p.useEffect(function(){return oi.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",l,ri),document.addEventListener("touchmove",l,ri),document.addEventListener("touchstart",f,ri),function(){oi=oi.filter(function(v){return v!==i}),document.removeEventListener("wheel",l,ri),document.removeEventListener("touchmove",l,ri),document.removeEventListener("touchstart",f,ri)}},[]);var y=e.removeScrollBar,x=e.inert;return p.createElement(p.Fragment,null,x?p.createElement(i,{styles:NC(o)}):null,y?p.createElement(xC,{gapMode:e.gapMode}):null)}function MC(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const PC=sC(Kv,TC);var a1=p.forwardRef(function(e,t){return p.createElement(pu,Wn({},e,{ref:t,sideCar:PC}))});a1.classNames=pu.classNames;var Pf=["Enter"," "],DC=["ArrowDown","PageUp","Home"],qv=["ArrowUp","PageDown","End"],AC=[...DC,...qv],OC={ltr:[...Pf,"ArrowRight"],rtl:[...Pf,"ArrowLeft"]},LC={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Oa="Menu",[da,IC,FC]=cv(Oa),[Zo,e4]=ho(Oa,[FC,fu,zv]),mu=fu(),t4=zv(),[zC,Go]=Zo(Oa),[$C,La]=Zo(Oa),n4=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:s=!0}=e,a=mu(t),[l,u]=p.useState(null),f=p.useRef(!1),d=An(i),h=uv(o);return p.useEffect(()=>{const y=()=>{f.current=!0,document.addEventListener("pointerdown",x,{capture:!0,once:!0}),document.addEventListener("pointermove",x,{capture:!0,once:!0})},x=()=>f.current=!1;return document.addEventListener("keydown",y,{capture:!0}),()=>{document.removeEventListener("keydown",y,{capture:!0}),document.removeEventListener("pointerdown",x,{capture:!0}),document.removeEventListener("pointermove",x,{capture:!0})}},[]),c.jsx(Av,{...a,children:c.jsx(zC,{scope:t,open:n,onOpenChange:d,content:l,onContentChange:u,children:c.jsx($C,{scope:t,onClose:p.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:f,dir:h,modal:s,children:r})})})};n4.displayName=Oa;var VC="MenuAnchor",l1=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=mu(n);return c.jsx(Ov,{...o,...r,ref:t})});l1.displayName=VC;var c1="MenuPortal",[BC,r4]=Zo(c1,{forceMount:void 0}),o4=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=Go(c1,t);return c.jsx(BC,{scope:t,forceMount:n,children:c.jsx(Cr,{present:n||i.open,children:c.jsx(s1,{asChild:!0,container:o,children:r})})})};o4.displayName=c1;var vn="MenuContent",[UC,u1]=Zo(vn),i4=p.forwardRef((e,t)=>{const n=r4(vn,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=Go(vn,e.__scopeMenu),s=La(vn,e.__scopeMenu);return c.jsx(da.Provider,{scope:e.__scopeMenu,children:c.jsx(Cr,{present:r||i.open,children:c.jsx(da.Slot,{scope:e.__scopeMenu,children:s.modal?c.jsx(HC,{...o,ref:t}):c.jsx(WC,{...o,ref:t})})})})}),HC=p.forwardRef((e,t)=>{const n=Go(vn,e.__scopeMenu),r=p.useRef(null),o=ct(t,r);return p.useEffect(()=>{const i=r.current;if(i)return Wv(i)},[]),c.jsx(d1,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:ve(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),WC=p.forwardRef((e,t)=>{const n=Go(vn,e.__scopeMenu);return c.jsx(d1,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),d1=p.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEntryFocus:l,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:h,onDismiss:y,disableOutsideScroll:x,...v}=e,b=Go(vn,n),g=La(vn,n),m=mu(n),w=t4(n),C=IC(n),[_,S]=p.useState(null),T=p.useRef(null),R=ct(t,T,b.onContentChange),z=p.useRef(0),O=p.useRef(""),X=p.useRef(0),L=p.useRef(null),W=p.useRef("right"),H=p.useRef(0),oe=x?a1:p.Fragment,se=x?{as:Jr,allowPinchZoom:!0}:void 0,Z=D=>{var Xe,ht;const K=O.current+D,U=C().filter(Je=>!Je.disabled),J=document.activeElement,ge=(Xe=U.find(Je=>Je.ref.current===J))==null?void 0:Xe.textValue,ke=U.map(Je=>Je.textValue),$e=r_(ke,K,ge),me=(ht=U.find(Je=>Je.textValue===$e))==null?void 0:ht.ref.current;(function Je(Ot){O.current=Ot,window.clearTimeout(z.current),Ot!==""&&(z.current=window.setTimeout(()=>Je(""),1e3))})(K),me&&setTimeout(()=>me.focus())};p.useEffect(()=>()=>window.clearTimeout(z.current),[]),hv();const M=p.useCallback(D=>{var U,J;return W.current===((U=L.current)==null?void 0:U.side)&&i_(D,(J=L.current)==null?void 0:J.area)},[]);return c.jsx(UC,{scope:n,searchRef:O,onItemEnter:p.useCallback(D=>{M(D)&&D.preventDefault()},[M]),onItemLeave:p.useCallback(D=>{var K;M(D)||((K=T.current)==null||K.focus(),S(null))},[M]),onTriggerLeave:p.useCallback(D=>{M(D)&&D.preventDefault()},[M]),pointerGraceTimerRef:X,onPointerGraceIntentChange:p.useCallback(D=>{L.current=D},[]),children:c.jsx(oe,{...se,children:c.jsx(X0,{asChild:!0,trapped:o,onMountAutoFocus:ve(i,D=>{var K;D.preventDefault(),(K=T.current)==null||K.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:c.jsx(cu,{asChild:!0,disableOutsidePointerEvents:a,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:h,onDismiss:y,children:c.jsx(ZS,{asChild:!0,...w,dir:g.dir,orientation:"vertical",loop:r,currentTabStopId:_,onCurrentTabStopIdChange:S,onEntryFocus:ve(l,D=>{g.isUsingKeyboardRef.current||D.preventDefault()}),preventScrollOnEntryFocus:!0,children:c.jsx(Lv,{role:"menu","aria-orientation":"vertical","data-state":b4(b.open),"data-radix-menu-content":"",dir:g.dir,...m,...v,ref:R,style:{outline:"none",...v.style},onKeyDown:ve(v.onKeyDown,D=>{const U=D.target.closest("[data-radix-menu-content]")===D.currentTarget,J=D.ctrlKey||D.altKey||D.metaKey,ge=D.key.length===1;U&&(D.key==="Tab"&&D.preventDefault(),!J&&ge&&Z(D.key));const ke=T.current;if(D.target!==ke||!AC.includes(D.key))return;D.preventDefault();const me=C().filter(Xe=>!Xe.disabled).map(Xe=>Xe.ref.current);qv.includes(D.key)&&me.reverse(),t_(me)}),onBlur:ve(e.onBlur,D=>{D.currentTarget.contains(D.target)||(window.clearTimeout(z.current),O.current="")}),onPointerMove:ve(e.onPointerMove,fa(D=>{const K=D.target,U=H.current!==D.clientX;if(D.currentTarget.contains(K)&&U){const J=D.clientX>H.current?"right":"left";W.current=J,H.current=D.clientX}}))})})})})})})});i4.displayName=vn;var ZC="MenuGroup",f1=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.jsx(Qe.div,{role:"group",...r,ref:t})});f1.displayName=ZC;var GC="MenuLabel",s4=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.jsx(Qe.div,{...r,ref:t})});s4.displayName=GC;var Sc="MenuItem",Up="menu.itemSelect",gu=p.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=p.useRef(null),s=La(Sc,e.__scopeMenu),a=u1(Sc,e.__scopeMenu),l=ct(t,i),u=p.useRef(!1),f=()=>{const d=i.current;if(!n&&d){const h=new CustomEvent(Up,{bubbles:!0,cancelable:!0});d.addEventListener(Up,y=>r==null?void 0:r(y),{once:!0}),lv(d,h),h.defaultPrevented?u.current=!1:s.onClose()}};return c.jsx(a4,{...o,ref:l,disabled:n,onClick:ve(e.onClick,f),onPointerDown:d=>{var h;(h=e.onPointerDown)==null||h.call(e,d),u.current=!0},onPointerUp:ve(e.onPointerUp,d=>{var h;u.current||(h=d.currentTarget)==null||h.click()}),onKeyDown:ve(e.onKeyDown,d=>{const h=a.searchRef.current!=="";n||h&&d.key===" "||Pf.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})});gu.displayName=Sc;var a4=p.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,s=u1(Sc,n),a=t4(n),l=p.useRef(null),u=ct(t,l),[f,d]=p.useState(!1),[h,y]=p.useState("");return p.useEffect(()=>{const x=l.current;x&&y((x.textContent??"").trim())},[i.children]),c.jsx(da.ItemSlot,{scope:n,disabled:r,textValue:o??h,children:c.jsx(GS,{asChild:!0,...a,focusable:!r,children:c.jsx(Qe.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:u,onPointerMove:ve(e.onPointerMove,fa(x=>{r?s.onItemLeave(x):(s.onItemEnter(x),x.defaultPrevented||x.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:ve(e.onPointerLeave,fa(x=>s.onItemLeave(x))),onFocus:ve(e.onFocus,()=>d(!0)),onBlur:ve(e.onBlur,()=>d(!1))})})})}),KC="MenuCheckboxItem",l4=p.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return c.jsx(h4,{scope:e.__scopeMenu,checked:n,children:c.jsx(gu,{role:"menuitemcheckbox","aria-checked":Cc(n)?"mixed":n,...o,ref:t,"data-state":p1(n),onSelect:ve(o.onSelect,()=>r==null?void 0:r(Cc(n)?!0:!n),{checkForDefaultPrevented:!1})})})});l4.displayName=KC;var c4="MenuRadioGroup",[YC,QC]=Zo(c4,{value:void 0,onValueChange:()=>{}}),u4=p.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,i=An(r);return c.jsx(YC,{scope:e.__scopeMenu,value:n,onValueChange:i,children:c.jsx(f1,{...o,ref:t})})});u4.displayName=c4;var d4="MenuRadioItem",f4=p.forwardRef((e,t)=>{const{value:n,...r}=e,o=QC(d4,e.__scopeMenu),i=n===o.value;return c.jsx(h4,{scope:e.__scopeMenu,checked:i,children:c.jsx(gu,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":p1(i),onSelect:ve(r.onSelect,()=>{var s;return(s=o.onValueChange)==null?void 0:s.call(o,n)},{checkForDefaultPrevented:!1})})})});f4.displayName=d4;var h1="MenuItemIndicator",[h4,XC]=Zo(h1,{checked:!1}),p4=p.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=XC(h1,n);return c.jsx(Cr,{present:r||Cc(i.checked)||i.checked===!0,children:c.jsx(Qe.span,{...o,ref:t,"data-state":p1(i.checked)})})});p4.displayName=h1;var JC="MenuSeparator",m4=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.jsx(Qe.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});m4.displayName=JC;var qC="MenuArrow",g4=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=mu(n);return c.jsx(Iv,{...o,...r,ref:t})});g4.displayName=qC;var e_="MenuSub",[wM,v4]=Zo(e_),Cs="MenuSubTrigger",y4=p.forwardRef((e,t)=>{const n=Go(Cs,e.__scopeMenu),r=La(Cs,e.__scopeMenu),o=v4(Cs,e.__scopeMenu),i=u1(Cs,e.__scopeMenu),s=p.useRef(null),{pointerGraceTimerRef:a,onPointerGraceIntentChange:l}=i,u={__scopeMenu:e.__scopeMenu},f=p.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return p.useEffect(()=>f,[f]),p.useEffect(()=>{const d=a.current;return()=>{window.clearTimeout(d),l(null)}},[a,l]),c.jsx(l1,{asChild:!0,...u,children:c.jsx(a4,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":b4(n.open),...e,ref:su(t,o.onTriggerChange),onClick:d=>{var h;(h=e.onClick)==null||h.call(e,d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:ve(e.onPointerMove,fa(d=>{i.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!n.open&&!s.current&&(i.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:ve(e.onPointerLeave,fa(d=>{var y,x;f();const h=(y=n.content)==null?void 0:y.getBoundingClientRect();if(h){const v=(x=n.content)==null?void 0:x.dataset.side,b=v==="right",g=b?-5:5,m=h[b?"left":"right"],w=h[b?"right":"left"];i.onPointerGraceIntentChange({area:[{x:d.clientX+g,y:d.clientY},{x:m,y:h.top},{x:w,y:h.top},{x:w,y:h.bottom},{x:m,y:h.bottom}],side:v}),window.clearTimeout(a.current),a.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(d),d.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:ve(e.onKeyDown,d=>{var y;const h=i.searchRef.current!=="";e.disabled||h&&d.key===" "||OC[r.dir].includes(d.key)&&(n.onOpenChange(!0),(y=n.content)==null||y.focus(),d.preventDefault())})})})});y4.displayName=Cs;var x4="MenuSubContent",w4=p.forwardRef((e,t)=>{const n=r4(vn,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=Go(vn,e.__scopeMenu),s=La(vn,e.__scopeMenu),a=v4(x4,e.__scopeMenu),l=p.useRef(null),u=ct(t,l);return c.jsx(da.Provider,{scope:e.__scopeMenu,children:c.jsx(Cr,{present:r||i.open,children:c.jsx(da.Slot,{scope:e.__scopeMenu,children:c.jsx(d1,{id:a.contentId,"aria-labelledby":a.triggerId,...o,ref:u,align:"start",side:s.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var d;s.isUsingKeyboardRef.current&&((d=l.current)==null||d.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:ve(e.onFocusOutside,f=>{f.target!==a.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:ve(e.onEscapeKeyDown,f=>{s.onClose(),f.preventDefault()}),onKeyDown:ve(e.onKeyDown,f=>{var y;const d=f.currentTarget.contains(f.target),h=LC[s.dir].includes(f.key);d&&h&&(i.onOpenChange(!1),(y=a.trigger)==null||y.focus(),f.preventDefault())})})})})})});w4.displayName=x4;function b4(e){return e?"open":"closed"}function Cc(e){return e==="indeterminate"}function p1(e){return Cc(e)?"indeterminate":e?"checked":"unchecked"}function t_(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function n_(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function r_(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let s=n_(e,Math.max(i,0));o.length===1&&(s=s.filter(u=>u!==n));const l=s.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function o_(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;ir!=f>r&&n<(u-a)*(r-l)/(f-l)+a&&(o=!o)}return o}function i_(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return o_(n,t)}function fa(e){return t=>t.pointerType==="mouse"?e(t):void 0}var s_=n4,a_=l1,l_=o4,c_=i4,u_=f1,d_=s4,f_=gu,h_=l4,p_=u4,m_=f4,g_=p4,v_=m4,y_=g4,x_=y4,w_=w4,m1="DropdownMenu",[b_,bM]=ho(m1,[e4]),Ht=e4(),[S_,S4]=b_(m1),C4=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:s,modal:a=!0}=e,l=Ht(t),u=p.useRef(null),[f=!1,d]=lu({prop:o,defaultProp:i,onChange:s});return c.jsx(S_,{scope:t,triggerId:Ro(),triggerRef:u,contentId:Ro(),open:f,onOpenChange:d,onOpenToggle:p.useCallback(()=>d(h=>!h),[d]),modal:a,children:c.jsx(s_,{...l,open:f,onOpenChange:d,dir:r,modal:a,children:n})})};C4.displayName=m1;var _4="DropdownMenuTrigger",E4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=S4(_4,n),s=Ht(n);return c.jsx(a_,{asChild:!0,...s,children:c.jsx(Qe.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:su(t,i.triggerRef),onPointerDown:ve(e.onPointerDown,a=>{!r&&a.button===0&&a.ctrlKey===!1&&(i.onOpenToggle(),i.open||a.preventDefault())}),onKeyDown:ve(e.onKeyDown,a=>{r||(["Enter"," "].includes(a.key)&&i.onOpenToggle(),a.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(a.key)&&a.preventDefault())})})})});E4.displayName=_4;var C_="DropdownMenuPortal",k4=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Ht(t);return c.jsx(l_,{...r,...n})};k4.displayName=C_;var j4="DropdownMenuContent",N4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=S4(j4,n),i=Ht(n),s=p.useRef(!1);return c.jsx(c_,{id:o.contentId,"aria-labelledby":o.triggerId,...i,...r,ref:t,onCloseAutoFocus:ve(e.onCloseAutoFocus,a=>{var l;s.current||(l=o.triggerRef.current)==null||l.focus(),s.current=!1,a.preventDefault()}),onInteractOutside:ve(e.onInteractOutside,a=>{const l=a.detail.originalEvent,u=l.button===0&&l.ctrlKey===!0,f=l.button===2||u;(!o.modal||f)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});N4.displayName=j4;var __="DropdownMenuGroup",E_=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(u_,{...o,...r,ref:t})});E_.displayName=__;var k_="DropdownMenuLabel",R4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(d_,{...o,...r,ref:t})});R4.displayName=k_;var j_="DropdownMenuItem",T4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(f_,{...o,...r,ref:t})});T4.displayName=j_;var N_="DropdownMenuCheckboxItem",M4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(h_,{...o,...r,ref:t})});M4.displayName=N_;var R_="DropdownMenuRadioGroup",T_=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(p_,{...o,...r,ref:t})});T_.displayName=R_;var M_="DropdownMenuRadioItem",P4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(m_,{...o,...r,ref:t})});P4.displayName=M_;var P_="DropdownMenuItemIndicator",D4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(g_,{...o,...r,ref:t})});D4.displayName=P_;var D_="DropdownMenuSeparator",A4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(v_,{...o,...r,ref:t})});A4.displayName=D_;var A_="DropdownMenuArrow",O_=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(y_,{...o,...r,ref:t})});O_.displayName=A_;var L_="DropdownMenuSubTrigger",O4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(x_,{...o,...r,ref:t})});O4.displayName=L_;var I_="DropdownMenuSubContent",L4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(w_,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});L4.displayName=I_;var F_=C4,z_=E4,$_=k4,I4=N4,F4=R4,z4=T4,$4=M4,V4=P4,B4=D4,U4=A4,H4=O4,W4=L4;const V_=F_,B_=z_,U_=p.forwardRef(({className:e,inset:t,children:n,...r},o)=>c.jsxs(H4,{ref:o,className:ce("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...r,children:[n,c.jsx(Q9,{className:"ml-auto h-4 w-4"})]}));U_.displayName=H4.displayName;const H_=p.forwardRef(({className:e,...t},n)=>c.jsx(W4,{ref:n,className:ce("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));H_.displayName=W4.displayName;const Z4=p.forwardRef(({className:e,sideOffset:t=4,...n},r)=>c.jsx($_,{children:c.jsx(I4,{ref:r,sideOffset:t,className:ce("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));Z4.displayName=I4.displayName;const Bl=p.forwardRef(({className:e,inset:t,...n},r)=>c.jsx(z4,{ref:r,className:ce("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...n}));Bl.displayName=z4.displayName;const W_=p.forwardRef(({className:e,children:t,checked:n,...r},o)=>c.jsxs($4,{ref:o,className:ce("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[c.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:c.jsx(B4,{children:c.jsx(Y9,{className:"h-4 w-4"})})}),t]}));W_.displayName=$4.displayName;const Z_=p.forwardRef(({className:e,children:t,...n},r)=>c.jsxs(V4,{ref:r,className:ce("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[c.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:c.jsx(B4,{children:c.jsx(X9,{className:"h-2 w-2 fill-current"})})}),t]}));Z_.displayName=V4.displayName;const G_=p.forwardRef(({className:e,inset:t,...n},r)=>c.jsx(F4,{ref:r,className:ce("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));G_.displayName=F4.displayName;const K_=p.forwardRef(({className:e,...t},n)=>c.jsx(U4,{ref:n,className:ce("-mx-1 my-1 h-px bg-muted",e),...t}));K_.displayName=U4.displayName;function G4({className:e,...t}){return c.jsx("div",{className:ce("animate-pulse rounded-md bg-muted",e),...t})}function Ia(){const[e,t]=p.useState(!1);return p.useEffect(()=>t(!0),[]),e}var Y_="VisuallyHidden",K4=p.forwardRef((e,t)=>c.jsx(Qe.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));K4.displayName=Y_;var Q_=K4,[vu,SM]=ho("Tooltip",[fu]),yu=fu(),Y4="TooltipProvider",X_=700,Df="tooltip.open",[J_,g1]=vu(Y4),Q4=e=>{const{__scopeTooltip:t,delayDuration:n=X_,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[s,a]=p.useState(!0),l=p.useRef(!1),u=p.useRef(0);return p.useEffect(()=>{const f=u.current;return()=>window.clearTimeout(f)},[]),c.jsx(J_,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:p.useCallback(()=>{window.clearTimeout(u.current),a(!1)},[]),onClose:p.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>a(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:p.useCallback(f=>{l.current=f},[]),disableHoverableContent:o,children:i})};Q4.displayName=Y4;var xu="Tooltip",[q_,wu]=vu(xu),X4=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:s,delayDuration:a}=e,l=g1(xu,e.__scopeTooltip),u=yu(t),[f,d]=p.useState(null),h=Ro(),y=p.useRef(0),x=s??l.disableHoverableContent,v=a??l.delayDuration,b=p.useRef(!1),[g=!1,m]=lu({prop:r,defaultProp:o,onChange:T=>{T?(l.onOpen(),document.dispatchEvent(new CustomEvent(Df))):l.onClose(),i==null||i(T)}}),w=p.useMemo(()=>g?b.current?"delayed-open":"instant-open":"closed",[g]),C=p.useCallback(()=>{window.clearTimeout(y.current),b.current=!1,m(!0)},[m]),_=p.useCallback(()=>{window.clearTimeout(y.current),m(!1)},[m]),S=p.useCallback(()=>{window.clearTimeout(y.current),y.current=window.setTimeout(()=>{b.current=!0,m(!0)},v)},[v,m]);return p.useEffect(()=>()=>window.clearTimeout(y.current),[]),c.jsx(Av,{...u,children:c.jsx(q_,{scope:t,contentId:h,open:g,stateAttribute:w,trigger:f,onTriggerChange:d,onTriggerEnter:p.useCallback(()=>{l.isOpenDelayed?S():C()},[l.isOpenDelayed,S,C]),onTriggerLeave:p.useCallback(()=>{x?_():window.clearTimeout(y.current)},[_,x]),onOpen:C,onClose:_,disableHoverableContent:x,children:n})})};X4.displayName=xu;var Af="TooltipTrigger",J4=p.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=wu(Af,n),i=g1(Af,n),s=yu(n),a=p.useRef(null),l=ct(t,a,o.onTriggerChange),u=p.useRef(!1),f=p.useRef(!1),d=p.useCallback(()=>u.current=!1,[]);return p.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),c.jsx(Ov,{asChild:!0,...s,children:c.jsx(Qe.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:ve(e.onPointerMove,h=>{h.pointerType!=="touch"&&!f.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:ve(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:ve(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:ve(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:ve(e.onBlur,o.onClose),onClick:ve(e.onClick,o.onClose)})})});J4.displayName=Af;var eE="TooltipPortal",[CM,tE]=vu(eE,{forceMount:void 0}),Bi="TooltipContent",q4=p.forwardRef((e,t)=>{const n=tE(Bi,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=wu(Bi,e.__scopeTooltip);return c.jsx(Cr,{present:r||s.open,children:s.disableHoverableContent?c.jsx(e3,{side:o,...i,ref:t}):c.jsx(nE,{side:o,...i,ref:t})})}),nE=p.forwardRef((e,t)=>{const n=wu(Bi,e.__scopeTooltip),r=g1(Bi,e.__scopeTooltip),o=p.useRef(null),i=ct(t,o),[s,a]=p.useState(null),{trigger:l,onClose:u}=n,f=o.current,{onPointerInTransitChange:d}=r,h=p.useCallback(()=>{a(null),d(!1)},[d]),y=p.useCallback((x,v)=>{const b=x.currentTarget,g={x:x.clientX,y:x.clientY},m=sE(g,b.getBoundingClientRect()),w=aE(g,m),C=lE(v.getBoundingClientRect()),_=uE([...w,...C]);a(_),d(!0)},[d]);return p.useEffect(()=>()=>h(),[h]),p.useEffect(()=>{if(l&&f){const x=b=>y(b,f),v=b=>y(b,l);return l.addEventListener("pointerleave",x),f.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",x),f.removeEventListener("pointerleave",v)}}},[l,f,y,h]),p.useEffect(()=>{if(s){const x=v=>{const b=v.target,g={x:v.clientX,y:v.clientY},m=(l==null?void 0:l.contains(b))||(f==null?void 0:f.contains(b)),w=!cE(g,s);m?h():w&&(h(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[l,f,s,u,h]),c.jsx(e3,{...e,ref:i})}),[rE,oE]=vu(xu,{isInside:!1}),e3=p.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...a}=e,l=wu(Bi,n),u=yu(n),{onClose:f}=l;return p.useEffect(()=>(document.addEventListener(Df,f),()=>document.removeEventListener(Df,f)),[f]),p.useEffect(()=>{if(l.trigger){const d=h=>{const y=h.target;y!=null&&y.contains(l.trigger)&&f()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,f]),c.jsx(cu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:f,children:c.jsxs(Lv,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[c.jsx(G0,{children:r}),c.jsx(rE,{scope:n,isInside:!0,children:c.jsx(Q_,{id:l.contentId,role:"tooltip",children:o||r})})]})})});q4.displayName=Bi;var t3="TooltipArrow",iE=p.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=yu(n);return oE(t3,n).isInside?null:c.jsx(Iv,{...o,...r,ref:t})});iE.displayName=t3;function sE(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function aE(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function lE(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function cE(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;ir!=f>r&&n<(u-a)*(r-l)/(f-l)+a&&(o=!o)}return o}function uE(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),dE(t)}function dE(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var fE=Q4,hE=X4,pE=J4,n3=q4;const mE=fE,gE=hE,vE=pE,r3=p.forwardRef(({className:e,sideOffset:t=4,...n},r)=>c.jsx(n3,{ref:r,sideOffset:t,className:ce("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));r3.displayName=n3.displayName;const Fa=({children:e,label:t,asChild:n,side:r,align:o})=>c.jsx(mE,{delayDuration:0,children:c.jsxs(gE,{children:[c.jsx(vE,{asChild:n,children:e}),c.jsx(r3,{side:r,align:o,children:c.jsx("p",{children:t})})]})}),o3=()=>{const{setTheme:e}=Q0();return Ia()?c.jsxs(V_,{modal:!1,children:[c.jsx(Fa,{asChild:!0,label:"Mode",children:c.jsx(B_,{asChild:!0,children:c.jsxs(Io,{variant:"ghost",size:"icon",className:`rounded-full outline-none border-none focus-visible:border-none \r +`)},TC=0,oi=[];function MC(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),o=p.useState(TC++)[0],i=p.useState(Yv)[0],s=p.useRef(e);p.useEffect(function(){s.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=JS([e.lockRef.current],(e.shards||[]).map(Bp),!0).filter(Boolean);return v.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=p.useCallback(function(v,b){if("touches"in v&&v.touches.length===2)return!s.current.allowPinchZoom;var g=bl(v),m=n.current,w="deltaX"in v?v.deltaX:m[0]-g[0],C="deltaY"in v?v.deltaY:m[1]-g[1],_,S=v.target,T=Math.abs(w)>Math.abs(C)?"h":"v";if("touches"in v&&T==="h"&&S.type==="range")return!1;var R=$p(T,S);if(!R)return!0;if(R?_=T:(_=T==="v"?"h":"v",R=$p(T,S)),!R)return!1;if(!r.current&&"changedTouches"in v&&(w||C)&&(r.current=_),!_)return!0;var z=r.current||_;return jC(z,b,v,z==="h"?w:C,!0)},[]),l=p.useCallback(function(v){var b=v;if(!(!oi.length||oi[oi.length-1]!==i)){var g="deltaY"in b?Vp(b):bl(b),m=t.current.filter(function(_){return _.name===b.type&&(_.target===b.target||b.target===_.shadowParent)&&NC(_.delta,g)})[0];if(m&&m.should){b.cancelable&&b.preventDefault();return}if(!m){var w=(s.current.shards||[]).map(Bp).filter(Boolean).filter(function(_){return _.contains(b.target)}),C=w.length>0?a(b,w[0]):!s.current.noIsolation;C&&b.cancelable&&b.preventDefault()}}},[]),u=p.useCallback(function(v,b,g,m){var w={name:v,delta:b,target:g,should:m,shadowParent:PC(g)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(C){return C!==w})},1)},[]),f=p.useCallback(function(v){n.current=bl(v),r.current=void 0},[]),d=p.useCallback(function(v){u(v.type,Vp(v),v.target,a(v,e.lockRef.current))},[]),h=p.useCallback(function(v){u(v.type,bl(v),v.target,a(v,e.lockRef.current))},[]);p.useEffect(function(){return oi.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",l,ri),document.addEventListener("touchmove",l,ri),document.addEventListener("touchstart",f,ri),function(){oi=oi.filter(function(v){return v!==i}),document.removeEventListener("wheel",l,ri),document.removeEventListener("touchmove",l,ri),document.removeEventListener("touchstart",f,ri)}},[]);var y=e.removeScrollBar,x=e.inert;return p.createElement(p.Fragment,null,x?p.createElement(i,{styles:RC(o)}):null,y?p.createElement(wC,{gapMode:e.gapMode}):null)}function PC(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const DC=aC(Kv,MC);var a1=p.forwardRef(function(e,t){return p.createElement(pu,Wn({},e,{ref:t,sideCar:DC}))});a1.classNames=pu.classNames;var Pf=["Enter"," "],AC=["ArrowDown","PageUp","Home"],qv=["ArrowUp","PageDown","End"],OC=[...AC,...qv],LC={ltr:[...Pf,"ArrowRight"],rtl:[...Pf,"ArrowLeft"]},IC={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Oa="Menu",[da,FC,zC]=cv(Oa),[Zo,e4]=po(Oa,[zC,fu,zv]),mu=fu(),t4=zv(),[$C,Go]=Zo(Oa),[VC,La]=Zo(Oa),n4=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:s=!0}=e,a=mu(t),[l,u]=p.useState(null),f=p.useRef(!1),d=On(i),h=uv(o);return p.useEffect(()=>{const y=()=>{f.current=!0,document.addEventListener("pointerdown",x,{capture:!0,once:!0}),document.addEventListener("pointermove",x,{capture:!0,once:!0})},x=()=>f.current=!1;return document.addEventListener("keydown",y,{capture:!0}),()=>{document.removeEventListener("keydown",y,{capture:!0}),document.removeEventListener("pointerdown",x,{capture:!0}),document.removeEventListener("pointermove",x,{capture:!0})}},[]),c.jsx(Av,{...a,children:c.jsx($C,{scope:t,open:n,onOpenChange:d,content:l,onContentChange:u,children:c.jsx(VC,{scope:t,onClose:p.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:f,dir:h,modal:s,children:r})})})};n4.displayName=Oa;var BC="MenuAnchor",l1=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=mu(n);return c.jsx(Ov,{...o,...r,ref:t})});l1.displayName=BC;var c1="MenuPortal",[UC,r4]=Zo(c1,{forceMount:void 0}),o4=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=Go(c1,t);return c.jsx(UC,{scope:t,forceMount:n,children:c.jsx(Cr,{present:n||i.open,children:c.jsx(s1,{asChild:!0,container:o,children:r})})})};o4.displayName=c1;var vn="MenuContent",[HC,u1]=Zo(vn),i4=p.forwardRef((e,t)=>{const n=r4(vn,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=Go(vn,e.__scopeMenu),s=La(vn,e.__scopeMenu);return c.jsx(da.Provider,{scope:e.__scopeMenu,children:c.jsx(Cr,{present:r||i.open,children:c.jsx(da.Slot,{scope:e.__scopeMenu,children:s.modal?c.jsx(WC,{...o,ref:t}):c.jsx(ZC,{...o,ref:t})})})})}),WC=p.forwardRef((e,t)=>{const n=Go(vn,e.__scopeMenu),r=p.useRef(null),o=ct(t,r);return p.useEffect(()=>{const i=r.current;if(i)return Wv(i)},[]),c.jsx(d1,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:ve(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),ZC=p.forwardRef((e,t)=>{const n=Go(vn,e.__scopeMenu);return c.jsx(d1,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),d1=p.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:a,onEntryFocus:l,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:h,onDismiss:y,disableOutsideScroll:x,...v}=e,b=Go(vn,n),g=La(vn,n),m=mu(n),w=t4(n),C=FC(n),[_,S]=p.useState(null),T=p.useRef(null),R=ct(t,T,b.onContentChange),z=p.useRef(0),O=p.useRef(""),X=p.useRef(0),L=p.useRef(null),W=p.useRef("right"),H=p.useRef(0),oe=x?a1:p.Fragment,se=x?{as:Jr,allowPinchZoom:!0}:void 0,Z=D=>{var Xe,ht;const K=O.current+D,U=C().filter(Je=>!Je.disabled),J=document.activeElement,ge=(Xe=U.find(Je=>Je.ref.current===J))==null?void 0:Xe.textValue,ke=U.map(Je=>Je.textValue),$e=o_(ke,K,ge),me=(ht=U.find(Je=>Je.textValue===$e))==null?void 0:ht.ref.current;(function Je(Ot){O.current=Ot,window.clearTimeout(z.current),Ot!==""&&(z.current=window.setTimeout(()=>Je(""),1e3))})(K),me&&setTimeout(()=>me.focus())};p.useEffect(()=>()=>window.clearTimeout(z.current),[]),hv();const M=p.useCallback(D=>{var U,J;return W.current===((U=L.current)==null?void 0:U.side)&&s_(D,(J=L.current)==null?void 0:J.area)},[]);return c.jsx(HC,{scope:n,searchRef:O,onItemEnter:p.useCallback(D=>{M(D)&&D.preventDefault()},[M]),onItemLeave:p.useCallback(D=>{var K;M(D)||((K=T.current)==null||K.focus(),S(null))},[M]),onTriggerLeave:p.useCallback(D=>{M(D)&&D.preventDefault()},[M]),pointerGraceTimerRef:X,onPointerGraceIntentChange:p.useCallback(D=>{L.current=D},[]),children:c.jsx(oe,{...se,children:c.jsx(X0,{asChild:!0,trapped:o,onMountAutoFocus:ve(i,D=>{var K;D.preventDefault(),(K=T.current)==null||K.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:c.jsx(cu,{asChild:!0,disableOutsidePointerEvents:a,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:h,onDismiss:y,children:c.jsx(GS,{asChild:!0,...w,dir:g.dir,orientation:"vertical",loop:r,currentTabStopId:_,onCurrentTabStopIdChange:S,onEntryFocus:ve(l,D=>{g.isUsingKeyboardRef.current||D.preventDefault()}),preventScrollOnEntryFocus:!0,children:c.jsx(Lv,{role:"menu","aria-orientation":"vertical","data-state":b4(b.open),"data-radix-menu-content":"",dir:g.dir,...m,...v,ref:R,style:{outline:"none",...v.style},onKeyDown:ve(v.onKeyDown,D=>{const U=D.target.closest("[data-radix-menu-content]")===D.currentTarget,J=D.ctrlKey||D.altKey||D.metaKey,ge=D.key.length===1;U&&(D.key==="Tab"&&D.preventDefault(),!J&&ge&&Z(D.key));const ke=T.current;if(D.target!==ke||!OC.includes(D.key))return;D.preventDefault();const me=C().filter(Xe=>!Xe.disabled).map(Xe=>Xe.ref.current);qv.includes(D.key)&&me.reverse(),n_(me)}),onBlur:ve(e.onBlur,D=>{D.currentTarget.contains(D.target)||(window.clearTimeout(z.current),O.current="")}),onPointerMove:ve(e.onPointerMove,fa(D=>{const K=D.target,U=H.current!==D.clientX;if(D.currentTarget.contains(K)&&U){const J=D.clientX>H.current?"right":"left";W.current=J,H.current=D.clientX}}))})})})})})})});i4.displayName=vn;var GC="MenuGroup",f1=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.jsx(Qe.div,{role:"group",...r,ref:t})});f1.displayName=GC;var KC="MenuLabel",s4=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.jsx(Qe.div,{...r,ref:t})});s4.displayName=KC;var Sc="MenuItem",Up="menu.itemSelect",gu=p.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=p.useRef(null),s=La(Sc,e.__scopeMenu),a=u1(Sc,e.__scopeMenu),l=ct(t,i),u=p.useRef(!1),f=()=>{const d=i.current;if(!n&&d){const h=new CustomEvent(Up,{bubbles:!0,cancelable:!0});d.addEventListener(Up,y=>r==null?void 0:r(y),{once:!0}),lv(d,h),h.defaultPrevented?u.current=!1:s.onClose()}};return c.jsx(a4,{...o,ref:l,disabled:n,onClick:ve(e.onClick,f),onPointerDown:d=>{var h;(h=e.onPointerDown)==null||h.call(e,d),u.current=!0},onPointerUp:ve(e.onPointerUp,d=>{var h;u.current||(h=d.currentTarget)==null||h.click()}),onKeyDown:ve(e.onKeyDown,d=>{const h=a.searchRef.current!=="";n||h&&d.key===" "||Pf.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})});gu.displayName=Sc;var a4=p.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,s=u1(Sc,n),a=t4(n),l=p.useRef(null),u=ct(t,l),[f,d]=p.useState(!1),[h,y]=p.useState("");return p.useEffect(()=>{const x=l.current;x&&y((x.textContent??"").trim())},[i.children]),c.jsx(da.ItemSlot,{scope:n,disabled:r,textValue:o??h,children:c.jsx(KS,{asChild:!0,...a,focusable:!r,children:c.jsx(Qe.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:u,onPointerMove:ve(e.onPointerMove,fa(x=>{r?s.onItemLeave(x):(s.onItemEnter(x),x.defaultPrevented||x.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:ve(e.onPointerLeave,fa(x=>s.onItemLeave(x))),onFocus:ve(e.onFocus,()=>d(!0)),onBlur:ve(e.onBlur,()=>d(!1))})})})}),YC="MenuCheckboxItem",l4=p.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return c.jsx(h4,{scope:e.__scopeMenu,checked:n,children:c.jsx(gu,{role:"menuitemcheckbox","aria-checked":Cc(n)?"mixed":n,...o,ref:t,"data-state":p1(n),onSelect:ve(o.onSelect,()=>r==null?void 0:r(Cc(n)?!0:!n),{checkForDefaultPrevented:!1})})})});l4.displayName=YC;var c4="MenuRadioGroup",[QC,XC]=Zo(c4,{value:void 0,onValueChange:()=>{}}),u4=p.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,i=On(r);return c.jsx(QC,{scope:e.__scopeMenu,value:n,onValueChange:i,children:c.jsx(f1,{...o,ref:t})})});u4.displayName=c4;var d4="MenuRadioItem",f4=p.forwardRef((e,t)=>{const{value:n,...r}=e,o=XC(d4,e.__scopeMenu),i=n===o.value;return c.jsx(h4,{scope:e.__scopeMenu,checked:i,children:c.jsx(gu,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":p1(i),onSelect:ve(r.onSelect,()=>{var s;return(s=o.onValueChange)==null?void 0:s.call(o,n)},{checkForDefaultPrevented:!1})})})});f4.displayName=d4;var h1="MenuItemIndicator",[h4,JC]=Zo(h1,{checked:!1}),p4=p.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=JC(h1,n);return c.jsx(Cr,{present:r||Cc(i.checked)||i.checked===!0,children:c.jsx(Qe.span,{...o,ref:t,"data-state":p1(i.checked)})})});p4.displayName=h1;var qC="MenuSeparator",m4=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return c.jsx(Qe.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});m4.displayName=qC;var e_="MenuArrow",g4=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=mu(n);return c.jsx(Iv,{...o,...r,ref:t})});g4.displayName=e_;var t_="MenuSub",[SM,v4]=Zo(t_),Cs="MenuSubTrigger",y4=p.forwardRef((e,t)=>{const n=Go(Cs,e.__scopeMenu),r=La(Cs,e.__scopeMenu),o=v4(Cs,e.__scopeMenu),i=u1(Cs,e.__scopeMenu),s=p.useRef(null),{pointerGraceTimerRef:a,onPointerGraceIntentChange:l}=i,u={__scopeMenu:e.__scopeMenu},f=p.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return p.useEffect(()=>f,[f]),p.useEffect(()=>{const d=a.current;return()=>{window.clearTimeout(d),l(null)}},[a,l]),c.jsx(l1,{asChild:!0,...u,children:c.jsx(a4,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":b4(n.open),...e,ref:su(t,o.onTriggerChange),onClick:d=>{var h;(h=e.onClick)==null||h.call(e,d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:ve(e.onPointerMove,fa(d=>{i.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!n.open&&!s.current&&(i.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:ve(e.onPointerLeave,fa(d=>{var y,x;f();const h=(y=n.content)==null?void 0:y.getBoundingClientRect();if(h){const v=(x=n.content)==null?void 0:x.dataset.side,b=v==="right",g=b?-5:5,m=h[b?"left":"right"],w=h[b?"right":"left"];i.onPointerGraceIntentChange({area:[{x:d.clientX+g,y:d.clientY},{x:m,y:h.top},{x:w,y:h.top},{x:w,y:h.bottom},{x:m,y:h.bottom}],side:v}),window.clearTimeout(a.current),a.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(d),d.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:ve(e.onKeyDown,d=>{var y;const h=i.searchRef.current!=="";e.disabled||h&&d.key===" "||LC[r.dir].includes(d.key)&&(n.onOpenChange(!0),(y=n.content)==null||y.focus(),d.preventDefault())})})})});y4.displayName=Cs;var x4="MenuSubContent",w4=p.forwardRef((e,t)=>{const n=r4(vn,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=Go(vn,e.__scopeMenu),s=La(vn,e.__scopeMenu),a=v4(x4,e.__scopeMenu),l=p.useRef(null),u=ct(t,l);return c.jsx(da.Provider,{scope:e.__scopeMenu,children:c.jsx(Cr,{present:r||i.open,children:c.jsx(da.Slot,{scope:e.__scopeMenu,children:c.jsx(d1,{id:a.contentId,"aria-labelledby":a.triggerId,...o,ref:u,align:"start",side:s.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var d;s.isUsingKeyboardRef.current&&((d=l.current)==null||d.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:ve(e.onFocusOutside,f=>{f.target!==a.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:ve(e.onEscapeKeyDown,f=>{s.onClose(),f.preventDefault()}),onKeyDown:ve(e.onKeyDown,f=>{var y;const d=f.currentTarget.contains(f.target),h=IC[s.dir].includes(f.key);d&&h&&(i.onOpenChange(!1),(y=a.trigger)==null||y.focus(),f.preventDefault())})})})})})});w4.displayName=x4;function b4(e){return e?"open":"closed"}function Cc(e){return e==="indeterminate"}function p1(e){return Cc(e)?"indeterminate":e?"checked":"unchecked"}function n_(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function r_(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function o_(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let s=r_(e,Math.max(i,0));o.length===1&&(s=s.filter(u=>u!==n));const l=s.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function i_(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;ir!=f>r&&n<(u-a)*(r-l)/(f-l)+a&&(o=!o)}return o}function s_(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return i_(n,t)}function fa(e){return t=>t.pointerType==="mouse"?e(t):void 0}var a_=n4,l_=l1,c_=o4,u_=i4,d_=f1,f_=s4,h_=gu,p_=l4,m_=u4,g_=f4,v_=p4,y_=m4,x_=g4,w_=y4,b_=w4,m1="DropdownMenu",[S_,CM]=po(m1,[e4]),Ht=e4(),[C_,S4]=S_(m1),C4=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:s,modal:a=!0}=e,l=Ht(t),u=p.useRef(null),[f=!1,d]=lu({prop:o,defaultProp:i,onChange:s});return c.jsx(C_,{scope:t,triggerId:To(),triggerRef:u,contentId:To(),open:f,onOpenChange:d,onOpenToggle:p.useCallback(()=>d(h=>!h),[d]),modal:a,children:c.jsx(a_,{...l,open:f,onOpenChange:d,dir:r,modal:a,children:n})})};C4.displayName=m1;var _4="DropdownMenuTrigger",E4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=S4(_4,n),s=Ht(n);return c.jsx(l_,{asChild:!0,...s,children:c.jsx(Qe.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:su(t,i.triggerRef),onPointerDown:ve(e.onPointerDown,a=>{!r&&a.button===0&&a.ctrlKey===!1&&(i.onOpenToggle(),i.open||a.preventDefault())}),onKeyDown:ve(e.onKeyDown,a=>{r||(["Enter"," "].includes(a.key)&&i.onOpenToggle(),a.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(a.key)&&a.preventDefault())})})})});E4.displayName=_4;var __="DropdownMenuPortal",k4=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Ht(t);return c.jsx(c_,{...r,...n})};k4.displayName=__;var j4="DropdownMenuContent",N4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=S4(j4,n),i=Ht(n),s=p.useRef(!1);return c.jsx(u_,{id:o.contentId,"aria-labelledby":o.triggerId,...i,...r,ref:t,onCloseAutoFocus:ve(e.onCloseAutoFocus,a=>{var l;s.current||(l=o.triggerRef.current)==null||l.focus(),s.current=!1,a.preventDefault()}),onInteractOutside:ve(e.onInteractOutside,a=>{const l=a.detail.originalEvent,u=l.button===0&&l.ctrlKey===!0,f=l.button===2||u;(!o.modal||f)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});N4.displayName=j4;var E_="DropdownMenuGroup",k_=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(d_,{...o,...r,ref:t})});k_.displayName=E_;var j_="DropdownMenuLabel",R4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(f_,{...o,...r,ref:t})});R4.displayName=j_;var N_="DropdownMenuItem",T4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(h_,{...o,...r,ref:t})});T4.displayName=N_;var R_="DropdownMenuCheckboxItem",M4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(p_,{...o,...r,ref:t})});M4.displayName=R_;var T_="DropdownMenuRadioGroup",M_=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(m_,{...o,...r,ref:t})});M_.displayName=T_;var P_="DropdownMenuRadioItem",P4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(g_,{...o,...r,ref:t})});P4.displayName=P_;var D_="DropdownMenuItemIndicator",D4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(v_,{...o,...r,ref:t})});D4.displayName=D_;var A_="DropdownMenuSeparator",A4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(y_,{...o,...r,ref:t})});A4.displayName=A_;var O_="DropdownMenuArrow",L_=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(x_,{...o,...r,ref:t})});L_.displayName=O_;var I_="DropdownMenuSubTrigger",O4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(w_,{...o,...r,ref:t})});O4.displayName=I_;var F_="DropdownMenuSubContent",L4=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=Ht(n);return c.jsx(b_,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});L4.displayName=F_;var z_=C4,$_=E4,V_=k4,I4=N4,F4=R4,z4=T4,$4=M4,V4=P4,B4=D4,U4=A4,H4=O4,W4=L4;const B_=z_,U_=$_,H_=p.forwardRef(({className:e,inset:t,children:n,...r},o)=>c.jsxs(H4,{ref:o,className:ce("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...r,children:[n,c.jsx(Q9,{className:"ml-auto h-4 w-4"})]}));H_.displayName=H4.displayName;const W_=p.forwardRef(({className:e,...t},n)=>c.jsx(W4,{ref:n,className:ce("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));W_.displayName=W4.displayName;const Z4=p.forwardRef(({className:e,sideOffset:t=4,...n},r)=>c.jsx(V_,{children:c.jsx(I4,{ref:r,sideOffset:t,className:ce("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));Z4.displayName=I4.displayName;const Bl=p.forwardRef(({className:e,inset:t,...n},r)=>c.jsx(z4,{ref:r,className:ce("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...n}));Bl.displayName=z4.displayName;const Z_=p.forwardRef(({className:e,children:t,checked:n,...r},o)=>c.jsxs($4,{ref:o,className:ce("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[c.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:c.jsx(B4,{children:c.jsx(Y9,{className:"h-4 w-4"})})}),t]}));Z_.displayName=$4.displayName;const G_=p.forwardRef(({className:e,children:t,...n},r)=>c.jsxs(V4,{ref:r,className:ce("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[c.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:c.jsx(B4,{children:c.jsx(X9,{className:"h-2 w-2 fill-current"})})}),t]}));G_.displayName=V4.displayName;const K_=p.forwardRef(({className:e,inset:t,...n},r)=>c.jsx(F4,{ref:r,className:ce("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));K_.displayName=F4.displayName;const Y_=p.forwardRef(({className:e,...t},n)=>c.jsx(U4,{ref:n,className:ce("-mx-1 my-1 h-px bg-muted",e),...t}));Y_.displayName=U4.displayName;function G4({className:e,...t}){return c.jsx("div",{className:ce("animate-pulse rounded-md bg-muted",e),...t})}function Ia(){const[e,t]=p.useState(!1);return p.useEffect(()=>t(!0),[]),e}var Q_="VisuallyHidden",K4=p.forwardRef((e,t)=>c.jsx(Qe.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));K4.displayName=Q_;var X_=K4,[vu,_M]=po("Tooltip",[fu]),yu=fu(),Y4="TooltipProvider",J_=700,Df="tooltip.open",[q_,g1]=vu(Y4),Q4=e=>{const{__scopeTooltip:t,delayDuration:n=J_,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[s,a]=p.useState(!0),l=p.useRef(!1),u=p.useRef(0);return p.useEffect(()=>{const f=u.current;return()=>window.clearTimeout(f)},[]),c.jsx(q_,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:p.useCallback(()=>{window.clearTimeout(u.current),a(!1)},[]),onClose:p.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>a(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:p.useCallback(f=>{l.current=f},[]),disableHoverableContent:o,children:i})};Q4.displayName=Y4;var xu="Tooltip",[eE,wu]=vu(xu),X4=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:s,delayDuration:a}=e,l=g1(xu,e.__scopeTooltip),u=yu(t),[f,d]=p.useState(null),h=To(),y=p.useRef(0),x=s??l.disableHoverableContent,v=a??l.delayDuration,b=p.useRef(!1),[g=!1,m]=lu({prop:r,defaultProp:o,onChange:T=>{T?(l.onOpen(),document.dispatchEvent(new CustomEvent(Df))):l.onClose(),i==null||i(T)}}),w=p.useMemo(()=>g?b.current?"delayed-open":"instant-open":"closed",[g]),C=p.useCallback(()=>{window.clearTimeout(y.current),b.current=!1,m(!0)},[m]),_=p.useCallback(()=>{window.clearTimeout(y.current),m(!1)},[m]),S=p.useCallback(()=>{window.clearTimeout(y.current),y.current=window.setTimeout(()=>{b.current=!0,m(!0)},v)},[v,m]);return p.useEffect(()=>()=>window.clearTimeout(y.current),[]),c.jsx(Av,{...u,children:c.jsx(eE,{scope:t,contentId:h,open:g,stateAttribute:w,trigger:f,onTriggerChange:d,onTriggerEnter:p.useCallback(()=>{l.isOpenDelayed?S():C()},[l.isOpenDelayed,S,C]),onTriggerLeave:p.useCallback(()=>{x?_():window.clearTimeout(y.current)},[_,x]),onOpen:C,onClose:_,disableHoverableContent:x,children:n})})};X4.displayName=xu;var Af="TooltipTrigger",J4=p.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=wu(Af,n),i=g1(Af,n),s=yu(n),a=p.useRef(null),l=ct(t,a,o.onTriggerChange),u=p.useRef(!1),f=p.useRef(!1),d=p.useCallback(()=>u.current=!1,[]);return p.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),c.jsx(Ov,{asChild:!0,...s,children:c.jsx(Qe.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:ve(e.onPointerMove,h=>{h.pointerType!=="touch"&&!f.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:ve(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:ve(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:ve(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:ve(e.onBlur,o.onClose),onClick:ve(e.onClick,o.onClose)})})});J4.displayName=Af;var tE="TooltipPortal",[EM,nE]=vu(tE,{forceMount:void 0}),Bi="TooltipContent",q4=p.forwardRef((e,t)=>{const n=nE(Bi,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=wu(Bi,e.__scopeTooltip);return c.jsx(Cr,{present:r||s.open,children:s.disableHoverableContent?c.jsx(e3,{side:o,...i,ref:t}):c.jsx(rE,{side:o,...i,ref:t})})}),rE=p.forwardRef((e,t)=>{const n=wu(Bi,e.__scopeTooltip),r=g1(Bi,e.__scopeTooltip),o=p.useRef(null),i=ct(t,o),[s,a]=p.useState(null),{trigger:l,onClose:u}=n,f=o.current,{onPointerInTransitChange:d}=r,h=p.useCallback(()=>{a(null),d(!1)},[d]),y=p.useCallback((x,v)=>{const b=x.currentTarget,g={x:x.clientX,y:x.clientY},m=aE(g,b.getBoundingClientRect()),w=lE(g,m),C=cE(v.getBoundingClientRect()),_=dE([...w,...C]);a(_),d(!0)},[d]);return p.useEffect(()=>()=>h(),[h]),p.useEffect(()=>{if(l&&f){const x=b=>y(b,f),v=b=>y(b,l);return l.addEventListener("pointerleave",x),f.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",x),f.removeEventListener("pointerleave",v)}}},[l,f,y,h]),p.useEffect(()=>{if(s){const x=v=>{const b=v.target,g={x:v.clientX,y:v.clientY},m=(l==null?void 0:l.contains(b))||(f==null?void 0:f.contains(b)),w=!uE(g,s);m?h():w&&(h(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[l,f,s,u,h]),c.jsx(e3,{...e,ref:i})}),[oE,iE]=vu(xu,{isInside:!1}),e3=p.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...a}=e,l=wu(Bi,n),u=yu(n),{onClose:f}=l;return p.useEffect(()=>(document.addEventListener(Df,f),()=>document.removeEventListener(Df,f)),[f]),p.useEffect(()=>{if(l.trigger){const d=h=>{const y=h.target;y!=null&&y.contains(l.trigger)&&f()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,f]),c.jsx(cu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:f,children:c.jsxs(Lv,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[c.jsx(G0,{children:r}),c.jsx(oE,{scope:n,isInside:!0,children:c.jsx(X_,{id:l.contentId,role:"tooltip",children:o||r})})]})})});q4.displayName=Bi;var t3="TooltipArrow",sE=p.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=yu(n);return iE(t3,n).isInside?null:c.jsx(Iv,{...o,...r,ref:t})});sE.displayName=t3;function aE(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function lE(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function cE(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function uE(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;ir!=f>r&&n<(u-a)*(r-l)/(f-l)+a&&(o=!o)}return o}function dE(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),fE(t)}function fE(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var hE=Q4,pE=X4,mE=J4,n3=q4;const gE=hE,vE=pE,yE=mE,r3=p.forwardRef(({className:e,sideOffset:t=4,...n},r)=>c.jsx(n3,{ref:r,sideOffset:t,className:ce("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));r3.displayName=n3.displayName;const Fa=({children:e,label:t,asChild:n,side:r,align:o})=>c.jsx(gE,{delayDuration:0,children:c.jsxs(vE,{children:[c.jsx(yE,{asChild:n,children:e}),c.jsx(r3,{side:r,align:o,children:c.jsx("p",{children:t})})]})}),o3=()=>{const{setTheme:e}=Q0();return Ia()?c.jsxs(B_,{modal:!1,children:[c.jsx(Fa,{asChild:!0,label:"Mode",children:c.jsx(U_,{asChild:!0,children:c.jsxs(qr,{variant:"ghost",size:"icon",className:`rounded-full outline-none border-none focus-visible:border-none \r focus-visible:ring-0 focus-visible:ring-transparent focus-visible:ring-offset-0 \r - hover:drop-shadow-primary-glow`,children:[c.jsx(nb,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),c.jsx(tb,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),c.jsx("span",{className:"sr-only",children:"Toggle theme"})]})})}),c.jsxs(Z4,{align:"end",children:[c.jsx(Bl,{onClick:()=>e("light"),children:"Light"}),c.jsx(Bl,{onClick:()=>e("dark"),children:"Dark"}),c.jsx(Bl,{onClick:()=>e("system"),children:"System"})]})]}):c.jsx(G4,{className:"w-10 h-10"})},yE={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};function i3(e,t){let n;try{n=e()}catch{return}return{getItem:o=>{var i;const s=l=>l===null?null:JSON.parse(l,void 0),a=(i=n.getItem(o))!=null?i:null;return a instanceof Promise?a.then(s):s(a)},setItem:(o,i)=>n.setItem(o,JSON.stringify(i,void 0)),removeItem:o=>n.removeItem(o)}}const ha=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return ha(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return ha(r)(n)}}}},xE=(e,t)=>(n,r,o)=>{let i={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:b=>b,version:0,merge:(b,g)=>({...g,...b}),...t},s=!1;const a=new Set,l=new Set;let u;try{u=i.getStorage()}catch{}if(!u)return e((...b)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...b)},r,o);const f=ha(i.serialize),d=()=>{const b=i.partialize({...r()});let g;const m=f({state:b,version:i.version}).then(w=>u.setItem(i.name,w)).catch(w=>{g=w});if(g)throw g;return m},h=o.setState;o.setState=(b,g)=>{h(b,g),d()};const y=e((...b)=>{n(...b),d()},r,o);let x;const v=()=>{var b;if(!u)return;s=!1,a.forEach(m=>m(r()));const g=((b=i.onRehydrateStorage)==null?void 0:b.call(i,r()))||void 0;return ha(u.getItem.bind(u))(i.name).then(m=>{if(m)return i.deserialize(m)}).then(m=>{if(m)if(typeof m.version=="number"&&m.version!==i.version){if(i.migrate)return i.migrate(m.state,m.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return m.state}).then(m=>{var w;return x=i.merge(m,(w=r())!=null?w:y),n(x,!0),d()}).then(()=>{g==null||g(x,void 0),s=!0,l.forEach(m=>m(x))}).catch(m=>{g==null||g(void 0,m)})};return o.persist={setOptions:b=>{i={...i,...b},b.getStorage&&(u=b.getStorage())},clearStorage:()=>{u==null||u.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>v(),hasHydrated:()=>s,onHydrate:b=>(a.add(b),()=>{a.delete(b)}),onFinishHydration:b=>(l.add(b),()=>{l.delete(b)})},v(),x||y},wE=(e,t)=>(n,r,o)=>{let i={storage:i3(()=>localStorage),partialize:v=>v,version:0,merge:(v,b)=>({...b,...v}),...t},s=!1;const a=new Set,l=new Set;let u=i.storage;if(!u)return e((...v)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...v)},r,o);const f=()=>{const v=i.partialize({...r()});return u.setItem(i.name,{state:v,version:i.version})},d=o.setState;o.setState=(v,b)=>{d(v,b),f()};const h=e((...v)=>{n(...v),f()},r,o);o.getInitialState=()=>h;let y;const x=()=>{var v,b;if(!u)return;s=!1,a.forEach(m=>{var w;return m((w=r())!=null?w:h)});const g=((b=i.onRehydrateStorage)==null?void 0:b.call(i,(v=r())!=null?v:h))||void 0;return ha(u.getItem.bind(u))(i.name).then(m=>{if(m)if(typeof m.version=="number"&&m.version!==i.version){if(i.migrate)return i.migrate(m.state,m.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return m.state}).then(m=>{var w;return y=i.merge(m,(w=r())!=null?w:h),n(y,!0),f()}).then(()=>{g==null||g(y,void 0),y=r(),s=!0,l.forEach(m=>m(y))}).catch(m=>{g==null||g(void 0,m)})};return o.persist={setOptions:v=>{i={...i,...v},v.storage&&(u=v.storage)},clearStorage:()=>{u==null||u.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>x(),hasHydrated:()=>s,onHydrate:v=>(a.add(v),()=>{a.delete(v)}),onFinishHydration:v=>(l.add(v),()=>{l.delete(v)})},i.skipHydration||x(),y||h},bE=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?((yE?"production":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),xE(e,t)):wE(e,t),SE=bE,CE={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1},Hp=e=>{let t;const n=new Set,r=(f,d)=>{const h=typeof f=="function"?f(t):f;if(!Object.is(h,t)){const y=t;t=d??(typeof h!="object"||h===null)?h:Object.assign({},t,h),n.forEach(x=>x(t,y))}},o=()=>t,l={setState:r,getState:o,getInitialState:()=>u,subscribe:f=>(n.add(f),()=>n.delete(f)),destroy:()=>{(CE?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},u=t=e(r,o,l);return l},_E=e=>e?Hp(e):Hp;var s3={exports:{}},a3={},l3={exports:{}},c3={};/** + hover:drop-shadow-primary-glow`,children:[c.jsx(rb,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),c.jsx(tb,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),c.jsx("span",{className:"sr-only",children:"Toggle theme"})]})})}),c.jsxs(Z4,{align:"end",children:[c.jsx(Bl,{onClick:()=>e("light"),children:"Light"}),c.jsx(Bl,{onClick:()=>e("dark"),children:"Dark"}),c.jsx(Bl,{onClick:()=>e("system"),children:"System"})]})]}):c.jsx(G4,{className:"w-10 h-10"})},xE={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};function i3(e,t){let n;try{n=e()}catch{return}return{getItem:o=>{var i;const s=l=>l===null?null:JSON.parse(l,void 0),a=(i=n.getItem(o))!=null?i:null;return a instanceof Promise?a.then(s):s(a)},setItem:(o,i)=>n.setItem(o,JSON.stringify(i,void 0)),removeItem:o=>n.removeItem(o)}}const ha=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return ha(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return ha(r)(n)}}}},wE=(e,t)=>(n,r,o)=>{let i={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:b=>b,version:0,merge:(b,g)=>({...g,...b}),...t},s=!1;const a=new Set,l=new Set;let u;try{u=i.getStorage()}catch{}if(!u)return e((...b)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...b)},r,o);const f=ha(i.serialize),d=()=>{const b=i.partialize({...r()});let g;const m=f({state:b,version:i.version}).then(w=>u.setItem(i.name,w)).catch(w=>{g=w});if(g)throw g;return m},h=o.setState;o.setState=(b,g)=>{h(b,g),d()};const y=e((...b)=>{n(...b),d()},r,o);let x;const v=()=>{var b;if(!u)return;s=!1,a.forEach(m=>m(r()));const g=((b=i.onRehydrateStorage)==null?void 0:b.call(i,r()))||void 0;return ha(u.getItem.bind(u))(i.name).then(m=>{if(m)return i.deserialize(m)}).then(m=>{if(m)if(typeof m.version=="number"&&m.version!==i.version){if(i.migrate)return i.migrate(m.state,m.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return m.state}).then(m=>{var w;return x=i.merge(m,(w=r())!=null?w:y),n(x,!0),d()}).then(()=>{g==null||g(x,void 0),s=!0,l.forEach(m=>m(x))}).catch(m=>{g==null||g(void 0,m)})};return o.persist={setOptions:b=>{i={...i,...b},b.getStorage&&(u=b.getStorage())},clearStorage:()=>{u==null||u.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>v(),hasHydrated:()=>s,onHydrate:b=>(a.add(b),()=>{a.delete(b)}),onFinishHydration:b=>(l.add(b),()=>{l.delete(b)})},v(),x||y},bE=(e,t)=>(n,r,o)=>{let i={storage:i3(()=>localStorage),partialize:v=>v,version:0,merge:(v,b)=>({...b,...v}),...t},s=!1;const a=new Set,l=new Set;let u=i.storage;if(!u)return e((...v)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...v)},r,o);const f=()=>{const v=i.partialize({...r()});return u.setItem(i.name,{state:v,version:i.version})},d=o.setState;o.setState=(v,b)=>{d(v,b),f()};const h=e((...v)=>{n(...v),f()},r,o);o.getInitialState=()=>h;let y;const x=()=>{var v,b;if(!u)return;s=!1,a.forEach(m=>{var w;return m((w=r())!=null?w:h)});const g=((b=i.onRehydrateStorage)==null?void 0:b.call(i,(v=r())!=null?v:h))||void 0;return ha(u.getItem.bind(u))(i.name).then(m=>{if(m)if(typeof m.version=="number"&&m.version!==i.version){if(i.migrate)return i.migrate(m.state,m.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return m.state}).then(m=>{var w;return y=i.merge(m,(w=r())!=null?w:h),n(y,!0),f()}).then(()=>{g==null||g(y,void 0),y=r(),s=!0,l.forEach(m=>m(y))}).catch(m=>{g==null||g(void 0,m)})};return o.persist={setOptions:v=>{i={...i,...v},v.storage&&(u=v.storage)},clearStorage:()=>{u==null||u.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>x(),hasHydrated:()=>s,onHydrate:v=>(a.add(v),()=>{a.delete(v)}),onFinishHydration:v=>(l.add(v),()=>{l.delete(v)})},i.skipHydration||x(),y||h},SE=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?((xE?"production":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),wE(e,t)):bE(e,t),CE=SE,_E={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1},Hp=e=>{let t;const n=new Set,r=(f,d)=>{const h=typeof f=="function"?f(t):f;if(!Object.is(h,t)){const y=t;t=d??(typeof h!="object"||h===null)?h:Object.assign({},t,h),n.forEach(x=>x(t,y))}},o=()=>t,l={setState:r,getState:o,getInitialState:()=>u,subscribe:f=>(n.add(f),()=>n.delete(f)),destroy:()=>{(_E?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},u=t=e(r,o,l);return l},EE=e=>e?Hp(e):Hp;var s3={exports:{}},a3={},l3={exports:{}},c3={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -192,7 +197,7 @@ Error generating stack: `+i.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Ui=p;function EE(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var kE=typeof Object.is=="function"?Object.is:EE,jE=Ui.useState,NE=Ui.useEffect,RE=Ui.useLayoutEffect,TE=Ui.useDebugValue;function ME(e,t){var n=t(),r=jE({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return RE(function(){o.value=n,o.getSnapshot=t,gd(o)&&i({inst:o})},[e,n,t]),NE(function(){return gd(o)&&i({inst:o}),e(function(){gd(o)&&i({inst:o})})},[e]),TE(n),n}function gd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!kE(e,n)}catch{return!0}}function PE(e,t){return t()}var DE=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?PE:ME;c3.useSyncExternalStore=Ui.useSyncExternalStore!==void 0?Ui.useSyncExternalStore:DE;l3.exports=c3;var AE=l3.exports;/** + */var Ui=p;function kE(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jE=typeof Object.is=="function"?Object.is:kE,NE=Ui.useState,RE=Ui.useEffect,TE=Ui.useLayoutEffect,ME=Ui.useDebugValue;function PE(e,t){var n=t(),r=NE({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return TE(function(){o.value=n,o.getSnapshot=t,gd(o)&&i({inst:o})},[e,n,t]),RE(function(){return gd(o)&&i({inst:o}),e(function(){gd(o)&&i({inst:o})})},[e]),ME(n),n}function gd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!jE(e,n)}catch{return!0}}function DE(e,t){return t()}var AE=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?DE:PE;c3.useSyncExternalStore=Ui.useSyncExternalStore!==void 0?Ui.useSyncExternalStore:AE;l3.exports=c3;var OE=l3.exports;/** * @license React * use-sync-external-store-shim/with-selector.production.min.js * @@ -200,29 +205,29 @@ Error generating stack: `+i.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var bu=p,OE=AE;function LE(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var IE=typeof Object.is=="function"?Object.is:LE,FE=OE.useSyncExternalStore,zE=bu.useRef,$E=bu.useEffect,VE=bu.useMemo,BE=bu.useDebugValue;a3.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=zE(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=VE(function(){function l(y){if(!u){if(u=!0,f=y,y=r(y),o!==void 0&&s.hasValue){var x=s.value;if(o(x,y))return d=x}return d=y}if(x=d,IE(f,y))return x;var v=r(y);return o!==void 0&&o(x,v)?x:(f=y,d=v)}var u=!1,f,d,h=n===void 0?null:n;return[function(){return l(t())},h===null?void 0:function(){return l(h())}]},[t,n,r,o]);var a=FE(e,i[0],i[1]);return $E(function(){s.hasValue=!0,s.value=a},[a]),BE(a),a};s3.exports=a3;var UE=s3.exports;const HE=Zf(UE),u3={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1},{useDebugValue:WE}=F,{useSyncExternalStoreWithSelector:ZE}=HE;let Wp=!1;const GE=e=>e;function KE(e,t=GE,n){(u3?"production":void 0)!=="production"&&n&&!Wp&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),Wp=!0);const r=ZE(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return WE(r),r}const Zp=e=>{(u3?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?_E(e):e,n=(r,o)=>KE(t,r,o);return Object.assign(n,t),n},YE=e=>e?Zp(e):Zp;var at=(e=>(e.about="about",e.skills="skills",e.experience="experience",e.projects="projects",e.education="education",e.contact="contact",e))(at||{}),po=(e=>(e.rootSection="root-section",e))(po||{}),jn=(e=>(e.web="web",e.mobile="mobile",e))(jn||{}),_s=(e=>(e.college="college",e.seniorHigh="senior-high",e.juniorHigh="junior-high",e.elementary="elementary",e))(_s||{});const QE=YE(SE(e=>({active:at.about,onActive:t=>e({active:t}),onClear:()=>e({active:at.about})}),{name:"root-section",storage:i3(()=>sessionStorage)})),XE=e=>{const[t,n]=p.useState();return p.useEffect(()=>{n(document.querySelectorAll(e))},[e]),t},d3="#31A8FF",JE=p.forwardRef(function({title:t="Adobe Photoshop",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=d3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M9.85 8.42c-.37-.15-.77-.21-1.18-.2-.26 0-.49 0-.68.01-.2-.01-.34 0-.41.01v3.36c.14.01.27.02.39.02h.53c.39 0 .78-.06 1.15-.18.32-.09.6-.28.82-.53.21-.25.31-.59.31-1.03.01-.31-.07-.62-.23-.89-.17-.26-.41-.46-.7-.57zM19.75.3H4.25C1.9.3 0 2.2 0 4.55v14.899c0 2.35 1.9 4.25 4.25 4.25h15.5c2.35 0 4.25-1.9 4.25-4.25V4.55C24 2.2 22.1.3 19.75.3zm-7.391 11.65c-.399.56-.959.98-1.609 1.22-.68.25-1.43.34-2.25.34-.24 0-.4 0-.5-.01s-.24-.01-.43-.01v3.209c.01.07-.04.131-.11.141H5.52c-.08 0-.12-.041-.12-.131V6.42c0-.07.03-.11.1-.11.17 0 .33 0 .56-.01.24-.01.49-.01.76-.02s.56-.01.87-.02c.31-.01.61-.01.91-.01.82 0 1.5.1 2.06.31.5.17.96.45 1.34.82.32.32.57.71.73 1.14.149.42.229.85.229 1.3.001.86-.199 1.57-.6 2.13zm7.091 3.89c-.28.4-.671.709-1.12.891-.49.209-1.09.318-1.811.318-.459 0-.91-.039-1.359-.129-.35-.061-.7-.17-1.02-.32-.07-.039-.121-.109-.111-.189v-1.74c0-.029.011-.07.041-.09.029-.02.06-.01.09.01.39.23.8.391 1.24.49.379.1.779.15 1.18.15.38 0 .65-.051.83-.141.16-.07.27-.24.27-.42 0-.141-.08-.27-.24-.4-.16-.129-.489-.279-.979-.471-.51-.18-.979-.42-1.42-.719-.31-.221-.569-.51-.761-.85-.159-.32-.239-.67-.229-1.021 0-.43.12-.84.341-1.21.25-.4.619-.72 1.049-.92.469-.239 1.059-.349 1.769-.349.41 0 .83.03 1.24.09.3.04.59.12.86.23.039.01.08.05.1.09.01.04.02.08.02.12v1.63c0 .04-.02.08-.05.1-.09.02-.14.02-.18 0-.3-.16-.62-.27-.96-.34-.37-.08-.74-.13-1.12-.13-.2-.01-.41.02-.601.07-.129.03-.24.1-.31.2-.05.08-.08.18-.08.27s.04.18.101.26c.09.11.209.2.34.27.229.12.47.23.709.33.541.18 1.061.43 1.541.73.33.209.6.49.789.83.16.318.24.67.23 1.029.011.471-.129.94-.389 1.331z"})]})}),f3="#3DDC84",qE=p.forwardRef(function({title:t="Android Studio",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=f3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M19.2693 10.3368c-.3321 0-.6026.2705-.6026.6031v9.8324h-1.7379l-3.3355-6.9396c.476-.5387.6797-1.286.5243-2.0009a2.2862 2.2862 0 0 0-1.2893-1.6248v-.8124c.0121-.2871-.1426-.5787-.4043-.7407-.1391-.0825-.2884-.1234-.4402-.1234a.8478.8478 0 0 0-.4318.1182c-.2701.1671-.4248.4587-.4123.7662l-.0003.721c-1.0149.3668-1.6619 1.4153-1.4867 2.5197a2.282 2.282 0 0 0 .5916 1.2103l-3.2096 6.9064H4.0928c-1.0949-.007-1.9797-.8948-1.9832-1.9896V5.016c-.0055 1.1024.8836 2.0006 1.9859 2.0062a2.024 2.024 0 0 0 .1326-.0037h14.7453s2.5343-.2189 2.8619 1.5392c-.2491.0287-.4449.2321-.4449.4889 0 .7115-.5791 1.2901-1.3028 1.2901h-.8183zM17.222 22.5366c.2347.4837.0329 1.066-.4507 1.3007-.1296.0629-.2666.0895-.4018.0927a.9738.9738 0 0 1-.3194-.0455c-.024-.0078-.046-.0209-.0694-.0305a.9701.9701 0 0 1-.2277-.1321c-.0247-.0192-.0495-.038-.0724-.0598-.0825-.0783-.1574-.1672-.21-.2757l-1.2554-2.6143-1.5585-3.2452a.7725.7725 0 0 0-.6995-.4443h-.0024a.792.792 0 0 0-.7083.4443l-1.5109 3.2452-1.2321 2.6464a.9722.9722 0 0 1-.7985.5795c-.0626.0053-.1238-.0024-.185-.0087-.0344-.0036-.069-.0053-.1025-.0124-.0489-.0103-.0954-.0278-.142-.0452-.0301-.0113-.0613-.0197-.0901-.0339-.0496-.0244-.0948-.0565-.1397-.0889-.0217-.0156-.0457-.0275-.0662-.045a.9862.9862 0 0 1-.1695-.1844.9788.9788 0 0 1-.0708-.9852l.8469-1.8223 3.2676-7.0314a1.7964 1.7964 0 0 1-.7072-1.1637c-.1555-.9799.5129-1.9003 1.4928-2.0559V9.3946a.3542.3542 0 0 1 .1674-.3155.3468.3468 0 0 1 .3541 0 .354.354 0 0 1 .1674.3155v1.159l.0129.0064a1.8028 1.8028 0 0 1 1.2878 1.378 1.7835 1.7835 0 0 1-.6439 1.7836l3.3889 7.0507.8481 1.7643zM12.9841 12.306c.0042-.6081-.4854-1.1044-1.0935-1.1085a1.1204 1.1204 0 0 0-.7856.3219 1.101 1.101 0 0 0-.323.7716c-.0042.6081.4854 1.1044 1.0935 1.1085h.0077c.6046 0 1.0967-.488 1.1009-1.0935zm-1.027 5.2768c-.1119.0005-.2121.0632-.2571.1553l-1.4127 3.0342h3.3733l-1.4564-3.0328a.274.274 0 0 0-.2471-.1567zm8.1432-6.7459l-.0129-.0001h-.8177a.103.103 0 0 0-.103.103v12.9103a.103.103 0 0 0 .0966.103h.8435c.9861-.0035 1.7836-.804 1.7836-1.79V9.0468c0 .9887-.8014 1.7901-1.7901 1.7901zM2.6098 5.0161v.019c.0039.816.6719 1.483 1.4874 1.4869a12.061 12.061 0 0 1 .1309-.0034h1.1286c.1972-1.315.7607-2.525 1.638-3.4859H4.0993c-.9266.0031-1.6971.6401-1.9191 1.4975.2417.0355.4296.235.4296.4859zm6.3381-2.8977L7.9112.3284a.219.219 0 0 1 0-.2189A.2384.2384 0 0 1 8.098 0a.219.219 0 0 1 .1867.1094l1.0496 1.8158a6.4907 6.4907 0 0 1 5.3186 0L15.696.1094a.2189.2189 0 0 1 .3734.2189l-1.0302 1.79c1.6671.9125 2.7974 2.5439 3.0975 4.4018l-12.286-.0014c.3004-1.8572 1.4305-3.488 3.0972-4.4003zm5.3774 2.6202a.515.515 0 0 0 .5271.5028.515.515 0 0 0 .5151-.5151.5213.5213 0 0 0-.8885-.367.5151.5151 0 0 0-.1537.3793zm-5.7178-.0067a.5151.5151 0 0 0 .5207.5095.5086.5086 0 0 0 .367-.1481.5215.5215 0 1 0-.734-.7341.515.515 0 0 0-.1537.3727z"})]})}),h3="#0052CC",ek=p.forwardRef(function({title:t="Bitbucket",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=h3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M.778 1.213a.768.768 0 00-.768.892l3.263 19.81c.084.5.515.868 1.022.873H19.95a.772.772 0 00.77-.646l3.27-20.03a.768.768 0 00-.768-.891zM14.52 15.53H9.522L8.17 8.466h7.561z"})]})}),p3="#7952B3",tk=p.forwardRef(function({title:t="Bootstrap",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=p3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M11.77 11.24H9.956V8.202h2.152c1.17 0 1.834.522 1.834 1.466 0 1.008-.773 1.572-2.174 1.572zm.324 1.206H9.957v3.348h2.231c1.459 0 2.232-.585 2.232-1.685s-.795-1.663-2.326-1.663zM24 11.39v1.218c-1.128.108-1.817.944-2.226 2.268-.407 1.319-.463 2.937-.42 4.186.045 1.3-.968 2.5-2.337 2.5H4.985c-1.37 0-2.383-1.2-2.337-2.5.043-1.249-.013-2.867-.42-4.186-.41-1.324-1.1-2.16-2.228-2.268V11.39c1.128-.108 1.819-.944 2.227-2.268.408-1.319.464-2.937.42-4.186-.045-1.3.968-2.5 2.338-2.5h14.032c1.37 0 2.382 1.2 2.337 2.5-.043 1.249.013 2.867.42 4.186.409 1.324 1.098 2.16 2.226 2.268zm-7.927 2.817c0-1.354-.953-2.333-2.368-2.488v-.057c1.04-.169 1.856-1.135 1.856-2.213 0-1.537-1.213-2.538-3.062-2.538h-4.16v10.172h4.181c2.218 0 3.553-1.086 3.553-2.876z"})]})}),m3="#6C47FF",nk=p.forwardRef(function({title:t="Clerk",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=m3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"m21.47 20.829-2.881-2.881a.572.572 0 0 0-.7-.084 6.854 6.854 0 0 1-7.081 0 .576.576 0 0 0-.7.084l-2.881 2.881a.576.576 0 0 0-.103.69.57.57 0 0 0 .166.186 12 12 0 0 0 14.113 0 .58.58 0 0 0 .239-.423.576.576 0 0 0-.172-.453Zm.002-17.668-2.88 2.88a.569.569 0 0 1-.701.084A6.857 6.857 0 0 0 8.724 8.08a6.862 6.862 0 0 0-1.222 3.692 6.86 6.86 0 0 0 .978 3.764.573.573 0 0 1-.083.699l-2.881 2.88a.567.567 0 0 1-.864-.063A11.993 11.993 0 0 1 6.771 2.7a11.99 11.99 0 0 1 14.637-.405.566.566 0 0 1 .232.418.57.57 0 0 1-.168.448Zm-7.118 12.261a3.427 3.427 0 1 0 0-6.854 3.427 3.427 0 0 0 0 6.854Z"})]})}),rk="#B1361E",ok=p.forwardRef(function({title:t="Codewars",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=rk),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M1.072.142A1.072 1.072 0 0 0 0 1.214v21.572a1.072 1.072 0 0 0 1.072 1.072h21.856A1.072 1.072 0 0 0 24 22.786V1.214A1.072 1.072 0 0 0 22.928.142zm9.736 1.818a.904.904 0 0 1 .828.539.784.784 0 0 1 1.274.493.639.639 0 0 1 .29-.06c.33.008.59.262.625.575a1.322 1.322 0 0 1 .624-.515 1.325 1.325 0 0 1 1.718.71 1.098 1.098 0 0 1 .306-.236 1.102 1.102 0 0 1 1.483.479 1.094 1.094 0 0 1 .12.47.994.994 0 0 1 1.322 1.214.904.904 0 0 1 .874 1.438.784.784 0 0 1 .176 1.356.639.639 0 0 1 .19.224.642.642 0 0 1-.011.613 1.326 1.326 0 0 1 .482.235 1.334 1.334 0 0 1 .258 1.842 1.098 1.098 0 0 1 .35.15 1.102 1.102 0 0 1 .337 1.516 1.094 1.094 0 0 1-.344.344.994.994 0 0 1 .228 1.318 1.006 1.006 0 0 1-.605.434.904.904 0 0 1-.803 1.482.814.814 0 0 0-.008-.04.784.784 0 0 1-1.075.873.639.639 0 0 1-.098.28.625.625 0 0 1-.43.288 1.33 1.33 0 0 1 .023.456 1.334 1.334 0 0 1-1.44 1.173 1.098 1.098 0 0 1 .054.377 1.102 1.102 0 0 1-1.128 1.072 1.098 1.098 0 0 1-.47-.12.994.994 0 0 1-1.696.583.904.904 0 0 1-1.685.075.784.784 0 0 1-1.274-.493.639.639 0 0 1-.29.064.64.64 0 0 1-.621-.58l.004-.007a1.326 1.326 0 0 1-.632.523 1.334 1.334 0 0 1-1.718-.706 1.098 1.098 0 0 1-.306.232 1.102 1.102 0 0 1-1.48-.478 1.094 1.094 0 0 1-.123-.471.994.994 0 0 1-1.318-1.21.904.904 0 0 1-.874-1.442.784.784 0 0 1-.176-1.356.639.639 0 0 1-.194-.224.642.642 0 0 1 .011-.61l.019.004a1.326 1.326 0 0 1-.497-.239 1.334 1.334 0 0 1-.262-1.845 1.098 1.098 0 0 1-.35-.146 1.102 1.102 0 0 1-.337-1.52 1.094 1.094 0 0 1 .347-.34A.994.994 0 0 1 2.88 9a.904.904 0 0 1 .803-1.48.784.784 0 0 1 1.083-.836.639.639 0 0 1 .098-.28.649.649 0 0 1 .433-.288 1.33 1.33 0 0 1-.026-.452A1.334 1.334 0 0 1 6.716 4.49a1.098 1.098 0 0 1-.06-.377 1.101 1.101 0 0 1 1.13-1.073 1.094 1.094 0 0 1 .47.115.994.994 0 0 1 1.696-.579.904.904 0 0 1 .857-.617zM3.683 7.519a.784.784 0 0 0 .008.041l-.004-.04a.904.904 0 0 0-.004-.001zM17.502 19.61a1.098 1.098 0 0 0-.002-.004h-.037a1.334 1.334 0 0 0 .039.004zM13.825 3.507a1.322 1.322 0 0 0-.008.012l.008-.011zm-2.369-.014l-.003.003a.9.9 0 0 1-.665.27.896.896 0 0 1-.583-.232.994.994 0 0 1-.986.732.99.99 0 0 1-.362-.075 1.098 1.098 0 0 1-1.061 1.046 1.326 1.326 0 0 1 .123.736 1.334 1.334 0 0 1-.725 1.035 1.1 1.1 0 0 1 .307.795 1.106 1.106 0 0 1-.232.65c.321.18.53.523.523.915a1.016 1.016 0 0 1-.07.337.915.915 0 0 1 .82.937.923.923 0 0 1-.01.138.74.74 0 0 1 .157-.01c.343.007.627.25.702.57a.661.661 0 0 1 .38-.111c.31.007.561.224.632.511a.418.418 0 0 1 .381-.015 1.352 1.352 0 0 1 .303-.63.418.418 0 0 1-.12-.143.422.422 0 0 1 .004-.392.665.665 0 0 1-.325-1.117.736.736 0 0 1-.359-.336.74.74 0 0 1 .385-1.023.747.747 0 0 0-.06.026.915.915 0 0 1-.201-.262.915.915 0 0 1 .623-1.315V6.53a1.02 1.02 0 0 1 .437-1.371 1.012 1.012 0 0 1 .553-.112 1.11 1.11 0 0 1 .598-1.054 1.12 1.12 0 0 1 .06-.026.642.642 0 0 1-.109-.21.784.784 0 0 1-.455.132.784.784 0 0 1-.662-.396zm4.573 1.512a1.326 1.326 0 0 1-.587.46 1.334 1.334 0 0 1-1.255-.142v-.011a1.11 1.11 0 0 1-.553.66 1.106 1.106 0 0 1-.683.113 1.02 1.02 0 0 1-.553.889 1.016 1.016 0 0 1-.329.105.918.918 0 0 1-.43 1.169.923.923 0 0 1-.127.056.74.74 0 0 1 .086.13.738.738 0 0 1-.168.89.661.661 0 0 1 .28.283.655.655 0 0 1-.149.796.418.418 0 0 1 .153.164c.019.034.03.068.038.101a1.356 1.356 0 0 1 .672-.015.422.422 0 0 1 .056-.142.422.422 0 0 1 .34-.194.665.665 0 0 1 .796-.848.736.736 0 0 1 .112-.478.733.733 0 0 1 1.016-.224.915.915 0 0 1 .127-.306.915.915 0 0 1 1.27-.28.915.915 0 0 1 .179.153 1.02 1.02 0 0 1 1.408-.314 1.012 1.012 0 0 1 .374.422c.355-.24.833-.261 1.214-.015a1.11 1.11 0 0 1 .209.172.642.642 0 0 1 .082-.108.784.784 0 0 1-.332-.337.784.784 0 0 1 .03-.77.9.9 0 0 1-.553-.455.896.896 0 0 1-.075-.624.994.994 0 0 1-1.117-.511.994.994 0 0 1-.104-.359 1.098 1.098 0 0 1-1.427-.43zM5.249 7.37a.784.784 0 0 1-.124.46.784.784 0 0 1-.68.362c.06.235.026.49-.112.71a.896.896 0 0 1-.5.377c.31.325.373.829.12 1.225a.99.99 0 0 1-.255.269 1.098 1.098 0 0 1 .351 1.45 1.326 1.326 0 0 1 .691.276 1.334 1.334 0 0 1 .512 1.154c.28-.064.579-.019.84.15a1.106 1.106 0 0 1 .438.53 1.02 1.02 0 0 1 1.05.03 1.016 1.016 0 0 1 .257.231.914.914 0 0 1 1.225-.224.919.919 0 0 1 .112.086.74.74 0 0 1 .071-.142.74.74 0 0 1 .852-.306.661.661 0 0 1 .1-.381.664.664 0 0 1 .763-.273.418.418 0 0 1 .246-.373 1.36 1.36 0 0 1-.358-.523v-.008a.418.418 0 0 1-.25.075.422.422 0 0 1-.344-.19.665.665 0 0 1-1.132-.243.736.736 0 0 1-.47.149.733.733 0 0 1-.718-.755.915.915 0 0 1-.329.049.915.915 0 0 1-.855-1.177h-.004a1.016 1.016 0 0 1-.993-1.042 1.012 1.012 0 0 1 .168-.534 1.11 1.11 0 0 1-.64-1.035 1.11 1.11 0 0 1 .068-.358.65.65 0 0 1-.1-.019zm11.127 2.133a.913.913 0 0 1-1.225.224.926.926 0 0 1-.112-.082.74.74 0 0 1-.067.142.74.74 0 0 1-.852.302.661.661 0 0 1-.105.385.662.662 0 0 1-.762.277.418.418 0 0 1-.063.212.426.426 0 0 1-.075.086 1.356 1.356 0 0 1 .314.564.418.418 0 0 1 .187-.04.422.422 0 0 1 .343.194.665.665 0 0 1 1.136.242.736.736 0 0 1 .467-.153c.41.008.728.348.72.755a.74.74 0 0 1 0 .008v-.005a.915.915 0 0 1 .326-.052.915.915 0 0 1 .896.941.919.919 0 0 1-.037.236c.564.015 1.008.482.993 1.046a1.012 1.012 0 0 1-.168.534 1.11 1.11 0 0 1 .647 1.035 1.11 1.11 0 0 1-.075.362l.004-.007.1.018a.784.784 0 0 1 .124-.46.784.784 0 0 1 .68-.362.9.9 0 0 1 .112-.71.896.896 0 0 1 .504-.373.994.994 0 0 1-.123-1.225.99.99 0 0 1 .257-.269 1.098 1.098 0 0 1-.35-1.453 1.326 1.326 0 0 1-.696-.273h-.003a1.334 1.334 0 0 1-.512-1.158 1.082 1.082 0 0 1-.837-.145 1.106 1.106 0 0 1-.44-.535 1.02 1.02 0 0 1-1.05-.026 1.016 1.016 0 0 1-.258-.235zm-.094 3.116l-.007.066a.74.74 0 0 0 .007-.066zm-2.864-.259a1.36 1.36 0 0 1-.363.598.418.418 0 0 1 .194.187.422.422 0 0 1-.007.396.665.665 0 0 1 .329 1.113.736.736 0 0 1 .358.336.739.739 0 0 1-.32.994.915.915 0 0 1 .197.261.91.91 0 0 1-.396 1.233.919.919 0 0 1-.224.082v.004a1.02 1.02 0 0 1-.44 1.374 1.012 1.012 0 0 1-.55.109 1.11 1.11 0 0 1-.661 1.083.642.642 0 0 1 .112.21.026.026 0 0 1-.004 0v.003a.784.784 0 0 1 .456-.134.784.784 0 0 1 .661.392.9.9 0 0 1 .665-.27.896.896 0 0 1 .587.236.994.994 0 0 1 .982-.736.99.99 0 0 1 .362.079v.022a1.1 1.1 0 0 1 1.061-1.072 1.326 1.326 0 0 1-.123-.736c.056-.46.34-.837.725-1.035l.003.004a1.102 1.102 0 0 1-.31-.795 1.106 1.106 0 0 1 .232-.654 1.02 1.02 0 0 1-.452-1.251.915.915 0 0 1-.822-.934.923.923 0 0 1 .011-.142.74.74 0 0 1-.157.015.74.74 0 0 1-.698-.572.661.661 0 0 1-.385.112.667.667 0 0 1-.627-.512.418.418 0 0 1-.217.053.418.418 0 0 1-.18-.045zm-.964.93a1.36 1.36 0 0 1-.336.042c-.112 0-.22-.012-.322-.038a.418.418 0 0 1-.06.295.422.422 0 0 1-.343.195.665.665 0 0 1-.792.844.736.736 0 0 1-.112.478.74.74 0 0 1-1.02.224.915.915 0 0 1-.127.306.915.915 0 0 1-1.266.28.919.919 0 0 1-.183-.153v.004a1.02 1.02 0 0 1-1.408.31 1.012 1.012 0 0 1-.374-.418c-.355.239-.83.261-1.214.015a1.113 1.113 0 0 1-.21-.172.65.65 0 0 1-.081.105.784.784 0 0 1 .336.336.784.784 0 0 1-.034.77.89.89 0 0 1 .553.455.896.896 0 0 1 .075.624.994.994 0 0 1 1.12.515.99.99 0 0 1 .101.355 1.098 1.098 0 0 1 1.431.43 1.326 1.326 0 0 1 .587-.46c.43-.172.896-.104 1.255.142a1.106 1.106 0 0 1 .549-.65 1.106 1.106 0 0 1 .683-.108 1.02 1.02 0 0 1 .553-.893 1.02 1.02 0 0 1 .333-.104.916.916 0 0 1 .425-1.17.919.919 0 0 1 .131-.052.736.736 0 0 1-.09-.134.738.738 0 0 1 .169-.886.661.661 0 0 1-.28-.284.67.67 0 0 1 .149-.799.418.418 0 0 1-.15-.164.418.418 0 0 1-.048-.24z"})]})}),g3="#1572B6",ik=p.forwardRef(function({title:t="CSS3",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=g3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M1.5 0h21l-1.91 21.563L11.977 24l-8.565-2.438L1.5 0zm17.09 4.413L5.41 4.41l.213 2.622 10.125.002-.255 2.716h-6.64l.24 2.573h6.182l-.366 3.523-2.91.804-2.956-.81-.188-2.11h-2.61l.29 3.855L12 19.288l5.373-1.53L18.59 4.414z"})]})}),v3="#0175C2",sk=p.forwardRef(function({title:t="Dart",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=v3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M4.105 4.105S9.158 1.58 11.684.316a3.079 3.079 0 0 1 1.481-.315c.766.047 1.677.788 1.677.788L24 9.948v9.789h-4.263V24H9.789l-9-9C.303 14.5 0 13.795 0 13.105c0-.319.18-.818.316-1.105l3.789-7.895zm.679.679v11.787c.002.543.021 1.024.498 1.508L10.204 23h8.533v-4.263L4.784 4.784zm12.055-.678c-.899-.896-1.809-1.78-2.74-2.643-.302-.267-.567-.468-1.07-.462-.37.014-.87.195-.87.195L6.341 4.105l10.498.001z"})]})}),y3="#000000",ak=p.forwardRef(function({title:t="Express",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=y3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M24 18.588a1.529 1.529 0 01-1.895-.72l-3.45-4.771-.5-.667-4.003 5.444a1.466 1.466 0 01-1.802.708l5.158-6.92-4.798-6.251a1.595 1.595 0 011.9.666l3.576 4.83 3.596-4.81a1.435 1.435 0 011.788-.668L21.708 7.9l-2.522 3.283a.666.666 0 000 .994l4.804 6.412zM.002 11.576l.42-2.075c1.154-4.103 5.858-5.81 9.094-3.27 1.895 1.489 2.368 3.597 2.275 5.973H1.116C.943 16.447 4.005 19.009 7.92 17.7a4.078 4.078 0 002.582-2.876c.207-.666.548-.78 1.174-.588a5.417 5.417 0 01-2.589 3.957 6.272 6.272 0 01-7.306-.933 6.575 6.575 0 01-1.64-3.858c0-.235-.08-.455-.134-.666A88.33 88.33 0 010 11.577zm1.127-.286h9.654c-.06-3.076-2.001-5.258-4.59-5.278-2.882-.04-4.944 2.094-5.071 5.264z"})]})}),x3="#F24E1E",lk=p.forwardRef(function({title:t="Figma",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=x3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M15.852 8.981h-4.588V0h4.588c2.476 0 4.49 2.014 4.49 4.49s-2.014 4.491-4.49 4.491zM12.735 7.51h3.117c1.665 0 3.019-1.355 3.019-3.019s-1.355-3.019-3.019-3.019h-3.117V7.51zm0 1.471H8.148c-2.476 0-4.49-2.014-4.49-4.49S5.672 0 8.148 0h4.588v8.981zm-4.587-7.51c-1.665 0-3.019 1.355-3.019 3.019s1.354 3.02 3.019 3.02h3.117V1.471H8.148zm4.587 15.019H8.148c-2.476 0-4.49-2.014-4.49-4.49s2.014-4.49 4.49-4.49h4.588v8.98zM8.148 8.981c-1.665 0-3.019 1.355-3.019 3.019s1.355 3.019 3.019 3.019h3.117V8.981H8.148zM8.172 24c-2.489 0-4.515-2.014-4.515-4.49s2.014-4.49 4.49-4.49h4.588v4.441c0 2.503-2.047 4.539-4.563 4.539zm-.024-7.51a3.023 3.023 0 0 0-3.019 3.019c0 1.665 1.365 3.019 3.044 3.019 1.705 0 3.093-1.376 3.093-3.068v-2.97H8.148zm7.704 0h-.098c-2.476 0-4.49-2.014-4.49-4.49s2.014-4.49 4.49-4.49h.098c2.476 0 4.49 2.014 4.49 4.49s-2.014 4.49-4.49 4.49zm-.097-7.509c-1.665 0-3.019 1.355-3.019 3.019s1.355 3.019 3.019 3.019h.098c1.665 0 3.019-1.355 3.019-3.019s-1.355-3.019-3.019-3.019h-.098z"})]})}),w3="#DD2C00",ck=p.forwardRef(function({title:t="Firebase",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=w3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M19.455 8.369c-.538-.748-1.778-2.285-3.681-4.569-.826-.991-1.535-1.832-1.884-2.245a146 146 0 0 0-.488-.576l-.207-.245-.113-.133-.022-.032-.01-.005L12.57 0l-.609.488c-1.555 1.246-2.828 2.851-3.681 4.64-.523 1.064-.864 2.105-1.043 3.176-.047.241-.088.489-.121.738-.209-.017-.421-.028-.632-.033-.018-.001-.035-.002-.059-.003a7.46 7.46 0 0 0-2.28.274l-.317.089-.163.286c-.765 1.342-1.198 2.869-1.252 4.416-.07 2.01.477 3.954 1.583 5.625 1.082 1.633 2.61 2.882 4.42 3.611l.236.095.071.025.003-.001a9.59 9.59 0 0 0 2.941.568q.171.006.342.006c1.273 0 2.513-.249 3.69-.742l.008.004.313-.145a9.63 9.63 0 0 0 3.927-3.335c1.01-1.49 1.577-3.234 1.641-5.042.075-2.161-.643-4.304-2.133-6.371m-7.083 6.695c.328 1.244.264 2.44-.191 3.558-1.135-1.12-1.967-2.352-2.475-3.665-.543-1.404-.87-2.74-.974-3.975.48.157.922.366 1.315.622 1.132.737 1.914 1.902 2.325 3.461zm.207 6.022c.482.368.99.712 1.513 1.028-.771.21-1.565.302-2.369.273a8 8 0 0 1-.373-.022c.458-.394.869-.823 1.228-1.279zm1.347-6.431c-.516-1.957-1.527-3.437-3.002-4.398-.647-.421-1.385-.741-2.194-.95.011-.134.026-.268.043-.4.014-.113.03-.216.046-.313.133-.689.332-1.37.589-2.025.099-.25.206-.499.321-.74l.004-.008c.177-.358.376-.719.61-1.105l.092-.152-.003-.001c.544-.851 1.197-1.627 1.942-2.311l.288.341c.672.796 1.304 1.548 1.878 2.237 1.291 1.549 2.966 3.583 3.612 4.48 1.277 1.771 1.893 3.579 1.83 5.375-.049 1.395-.461 2.755-1.195 3.933-.694 1.116-1.661 2.05-2.8 2.708-.636-.318-1.559-.839-2.539-1.599.79-1.575.952-3.28.479-5.072zm-2.575 5.397c-.725.939-1.587 1.55-2.09 1.856-.081-.029-.163-.06-.243-.093l-.065-.026c-1.49-.616-2.747-1.656-3.635-3.01-.907-1.384-1.356-2.993-1.298-4.653.041-1.19.338-2.327.882-3.379.316-.07.638-.114.96-.131l.084-.002c.162-.003.324-.003.478 0 .227.011.454.035.677.07.073 1.513.445 3.145 1.105 4.852.637 1.644 1.694 3.162 3.144 4.515z"})]})}),b3="#02569B",uk=p.forwardRef(function({title:t="Flutter",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=b3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M14.314 0L2.3 12 6 15.7 21.684.013h-7.357zm.014 11.072L7.857 17.53l6.47 6.47H21.7l-6.46-6.468 6.46-6.46h-7.37z"})]})}),S3="#F05032",dk=p.forwardRef(function({title:t="Git",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=S3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M23.546 10.93L13.067.452c-.604-.603-1.582-.603-2.188 0L8.708 2.627l2.76 2.76c.645-.215 1.379-.07 1.889.441.516.515.658 1.258.438 1.9l2.658 2.66c.645-.223 1.387-.078 1.9.435.721.72.721 1.884 0 2.604-.719.719-1.881.719-2.6 0-.539-.541-.674-1.337-.404-1.996L12.86 8.955v6.525c.176.086.342.203.488.348.713.721.713 1.883 0 2.6-.719.721-1.889.721-2.609 0-.719-.719-.719-1.879 0-2.598.182-.18.387-.316.605-.406V8.835c-.217-.091-.424-.222-.6-.401-.545-.545-.676-1.342-.396-2.009L7.636 3.7.45 10.881c-.6.605-.6 1.584 0 2.189l10.48 10.477c.604.604 1.582.604 2.186 0l10.43-10.43c.605-.603.605-1.582 0-2.187"})]})}),C3="#181717",_3=p.forwardRef(function({title:t="GitHub",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=C3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})}),E3="#222222",fk=p.forwardRef(function({title:t="GitHub Pages",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=E3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M14.088 13.126h-.296V9.858h.998c.815 0 1.094.47 1.094.98s-.28.98-1.094.98h-.701v1.308zm0-1.582h.74a.642.642 0 0 0 .733-.705.642.642 0 0 0-.732-.706h-.741zm2.881-.37a1.913 1.913 0 0 0-.653.11v-.262a1.756 1.756 0 0 1 .653-.118c.654 0 .824.297.824.732v1.49h-.17l-.066-.174a1.143 1.143 0 0 1-.657.218.663.663 0 0 1-.763-.702c0-.37.205-.645.776-.68l.575-.035v-.122c0-.318-.113-.457-.519-.457zm-.078.85c-.31.03-.445.192-.445.445 0 .196.048.431.462.431a1.056 1.056 0 0 0 .58-.174v-.758zm1.86.493a.252.252 0 0 0-.083.16c0 .11.053.158.166.17l.74.088c.41.044.598.205.598.584 0 .532-.532.74-1.133.74-.61 0-.976-.178-.976-.657a.609.609 0 0 1 .449-.575v-.005a.321.321 0 0 1-.14-.287.392.392 0 0 1 .166-.297.746.746 0 0 1-.349-.714c0-.449.192-.82.85-.82a1.36 1.36 0 0 1 .349.044h.74v.165l-.365.105a.908.908 0 0 1 .126.505c0 .449-.192.82-.85.82a1.397 1.397 0 0 1-.288-.027zm.127.588c-.288.065-.532.2-.532.48 0 .322.244.413.693.413.435 0 .845-.109.845-.48 0-.221-.105-.309-.37-.34zm.727-1.381c0-.288-.056-.554-.566-.554-.51 0-.567.266-.567.554 0 .288.057.553.567.553.51 0 .566-.266.566-.554zm1.637-.82c.74 0 .828.506.828 1.133v.14h-1.438c.018.379.118.723.61.723a1.665 1.665 0 0 0 .719-.122v.261a1.765 1.765 0 0 1-.719.131c-.736 0-.915-.505-.915-1.133s.179-1.133.915-1.133zm-.61 1.024h1.133c0-.387-.022-.753-.523-.753-.506 0-.597.36-.61.753zm2.601-.052c.619.057.767.266.767.623 0 .336-.213.671-.876.671a2.147 2.147 0 0 1-.649-.109V12.8a1.924 1.924 0 0 0 .654.1c.453 0 .575-.192.575-.397 0-.2-.061-.34-.492-.374-.632-.057-.763-.28-.763-.58 0-.31.2-.645.815-.645a1.627 1.627 0 0 1 .627.11v.26a1.799 1.799 0 0 0-.631-.1c-.432 0-.523.162-.523.376 0 .19.078.29.496.326zm-20.787-.659H1.38a.05.05 0 0 0-.05.05v.522a.05.05 0 0 0 .05.05h.416v.649a1.267 1.267 0 0 1-.351.032c-.305 0-.731-.112-.731-1.048s.443-1.06.86-1.06a1.69 1.69 0 0 1 .614.094.05.05 0 0 0 .06-.05l.12-.504a.047.047 0 0 0-.02-.039 1.715 1.715 0 0 0-.903-.165C.73 9.748 0 10.05 0 11.508s.837 1.675 1.542 1.675a1.736 1.736 0 0 0 .938-.25.043.043 0 0 0 .016-.038v-1.628a.05.05 0 0 0-.05-.05zm5.545-1.294a.05.05 0 0 0-.05-.05H7.34a.05.05 0 0 0-.05.05v1.161h-.936V9.923a.05.05 0 0 0-.05-.05h-.6a.05.05 0 0 0-.05.05v3.145a.05.05 0 0 0 .05.05h.6a.05.05 0 0 0 .05-.05v-1.345h.937l-.002 1.345a.05.05 0 0 0 .05.05h.603a.05.05 0 0 0 .05-.05zm-4.389.412a.388.388 0 1 0-.387.392.39.39 0 0 0 .387-.392zm-.042 2.068v-1.451a.05.05 0 0 0-.05-.05h-.6a.057.057 0 0 0-.051.056v2.08c0 .06.038.079.087.079h.54c.06 0 .074-.03.074-.08zm6.764-1.497h-.597a.05.05 0 0 0-.05.05v1.542a.673.673 0 0 1-.367.11c-.215 0-.272-.097-.272-.307v-1.344a.05.05 0 0 0-.05-.05h-.604a.05.05 0 0 0-.05.05v1.446c0 .626.348.779.828.779a1.398 1.398 0 0 0 .71-.217 1.274 1.274 0 0 0 .022.128.052.052 0 0 0 .044.027l.385-.002a.05.05 0 0 0 .05-.05v-2.112a.05.05 0 0 0-.05-.05zm1.662-.07a1.121 1.121 0 0 0-.569.15V9.923a.05.05 0 0 0-.05-.05h-.602a.05.05 0 0 0-.05.05v3.145a.05.05 0 0 0 .05.05h.418a.05.05 0 0 0 .044-.027.973.973 0 0 0 .025-.144 1.08 1.08 0 0 0 .713.233c.548 0 .862-.278.862-1.248s-.502-1.095-.841-1.095zm-.235 1.771a.716.716 0 0 1-.347-.1v-.996a.793.793 0 0 1 .308-.1c.215-.019.422.046.422.558 0 .54-.094.647-.383.639zm-6.475-1.706h-.45l-.002-.595c0-.023-.011-.034-.037-.034h-.615c-.024 0-.036.01-.036.033v.615l-.33.08a.05.05 0 0 0-.035.048v.387a.05.05 0 0 0 .05.05h.315v.93c0 .692.484.76.812.76a1.375 1.375 0 0 0 .357-.06.046.046 0 0 0 .028-.044l.001-.426a.05.05 0 0 0-.05-.05c-.026 0-.094.01-.163.01-.221 0-.296-.102-.296-.236v-.884h.451a.05.05 0 0 0 .05-.05v-.484a.05.05 0 0 0-.05-.05z"})]})}),hk="#EA4335",pk=p.forwardRef(function({title:t="Gmail",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=hk),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M24 5.457v13.909c0 .904-.732 1.636-1.636 1.636h-3.819V11.73L12 16.64l-6.545-4.91v9.273H1.636A1.636 1.636 0 0 1 0 19.366V5.457c0-2.023 2.309-3.178 3.927-1.964L5.455 4.64 12 9.548l6.545-4.91 1.528-1.145C21.69 2.28 24 3.434 24 5.457z"})]})}),k3="#00ADD8",mk=p.forwardRef(function({title:t="Go",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=k3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M1.811 10.231c-.047 0-.058-.023-.035-.059l.246-.315c.023-.035.081-.058.128-.058h4.172c.046 0 .058.035.035.07l-.199.303c-.023.036-.082.07-.117.07zM.047 11.306c-.047 0-.059-.023-.035-.058l.245-.316c.023-.035.082-.058.129-.058h5.328c.047 0 .07.035.058.07l-.093.28c-.012.047-.058.07-.105.07zm2.828 1.075c-.047 0-.059-.035-.035-.07l.163-.292c.023-.035.07-.07.117-.07h2.337c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082zm12.129-2.36c-.736.187-1.239.327-1.963.514-.176.046-.187.058-.34-.117-.174-.199-.303-.327-.548-.444-.737-.362-1.45-.257-2.115.175-.795.514-1.204 1.274-1.192 2.22.011.935.654 1.706 1.577 1.835.795.105 1.46-.175 1.987-.77.105-.13.198-.27.315-.434H10.47c-.245 0-.304-.152-.222-.35.152-.362.432-.97.596-1.274a.315.315 0 01.292-.187h4.253c-.023.316-.023.631-.07.947a4.983 4.983 0 01-.958 2.29c-.841 1.11-1.94 1.8-3.33 1.986-1.145.152-2.209-.07-3.143-.77-.865-.655-1.356-1.52-1.484-2.595-.152-1.274.222-2.419.993-3.424.83-1.086 1.928-1.776 3.272-2.02 1.098-.2 2.15-.07 3.096.571.62.41 1.063.97 1.356 1.648.07.105.023.164-.117.2m3.868 6.461c-1.064-.024-2.034-.328-2.852-1.029a3.665 3.665 0 01-1.262-2.255c-.21-1.32.152-2.489.947-3.529.853-1.122 1.881-1.706 3.272-1.95 1.192-.21 2.314-.095 3.33.595.923.63 1.496 1.484 1.648 2.605.198 1.578-.257 2.863-1.344 3.962-.771.783-1.718 1.273-2.805 1.495-.315.06-.63.07-.934.106zm2.78-4.72c-.011-.153-.011-.27-.034-.387-.21-1.157-1.274-1.81-2.384-1.554-1.087.245-1.788.935-2.045 2.033-.21.912.234 1.835 1.075 2.21.643.28 1.285.244 1.905-.07.923-.48 1.425-1.228 1.484-2.233z"})]})}),j3="#F9AB00",gk=p.forwardRef(function({title:t="Google Colab",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=j3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M16.9414 4.9757a7.033 7.033 0 0 0-4.9308 2.0646 7.033 7.033 0 0 0-.1232 9.8068l2.395-2.395a3.6455 3.6455 0 0 1 5.1497-5.1478l2.397-2.3989a7.033 7.033 0 0 0-4.8877-1.9297zM7.07 4.9855a7.033 7.033 0 0 0-4.8878 1.9316l2.3911 2.3911a3.6434 3.6434 0 0 1 5.0227.1271l1.7341-2.9737-.0997-.0802A7.033 7.033 0 0 0 7.07 4.9855zm15.0093 2.1721l-2.3892 2.3911a3.6455 3.6455 0 0 1-5.1497 5.1497l-2.4067 2.4068a7.0362 7.0362 0 0 0 9.9456-9.9476zM1.932 7.1674a7.033 7.033 0 0 0-.002 9.6816l2.397-2.397a3.6434 3.6434 0 0 1-.004-4.8916zm7.664 7.4235c-1.38 1.3816-3.5863 1.411-5.0168.1134l-2.397 2.395c2.4693 2.3328 6.263 2.5753 9.0072.5455l.1368-.1115z"})]})}),N3="#E34F26",vk=p.forwardRef(function({title:t="HTML5",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=N3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438L1.5 0zm7.031 9.75l-.232-2.718 10.059.003.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426-2.91.804-2.955-.81-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443.744-8.157H8.531z"})]})}),R3="#F7DF1E",yk=p.forwardRef(function({title:t="JavaScript",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=R3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M0 0h24v24H0V0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.404-.601-.586-.78-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005-1.14 1.291-.811 3.541.569 4.471 1.365 1.02 3.361 1.244 3.616 2.205.24 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.666 6.871-1.004.029-.09.24-.705.074-1.65l.046.067zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179l.004-.056z"})]})}),T3="#F37626",xk=p.forwardRef(function({title:t="Jupyter",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=T3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M7.157 22.201A1.784 1.799 0 0 1 5.374 24a1.784 1.799 0 0 1-1.784-1.799 1.784 1.799 0 0 1 1.784-1.799 1.784 1.799 0 0 1 1.783 1.799zM20.582 1.427a1.415 1.427 0 0 1-1.415 1.428 1.415 1.427 0 0 1-1.416-1.428A1.415 1.427 0 0 1 19.167 0a1.415 1.427 0 0 1 1.415 1.427zM4.992 3.336A1.047 1.056 0 0 1 3.946 4.39a1.047 1.056 0 0 1-1.047-1.055A1.047 1.056 0 0 1 3.946 2.28a1.047 1.056 0 0 1 1.046 1.056zm7.336 1.517c3.769 0 7.06 1.38 8.768 3.424a9.363 9.363 0 0 0-3.393-4.547 9.238 9.238 0 0 0-5.377-1.728A9.238 9.238 0 0 0 6.95 3.73a9.363 9.363 0 0 0-3.394 4.547c1.713-2.04 5.004-3.424 8.772-3.424zm.001 13.295c-3.768 0-7.06-1.381-8.768-3.425a9.363 9.363 0 0 0 3.394 4.547A9.238 9.238 0 0 0 12.33 21a9.238 9.238 0 0 0 5.377-1.729 9.363 9.363 0 0 0 3.393-4.547c-1.712 2.044-5.003 3.425-8.772 3.425Z"})]})}),wk="#0A66C2",M3=p.forwardRef(function({title:t="LinkedIn",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=wk),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})]})}),P3="#47A248",bk=p.forwardRef(function({title:t="MongoDB",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=P3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M17.193 9.555c-1.264-5.58-4.252-7.414-4.573-8.115-.28-.394-.53-.954-.735-1.44-.036.495-.055.685-.523 1.184-.723.566-4.438 3.682-4.74 10.02-.282 5.912 4.27 9.435 4.888 9.884l.07.05A73.49 73.49 0 0111.91 24h.481c.114-1.032.284-2.056.51-3.07.417-.296.604-.463.85-.693a11.342 11.342 0 003.639-8.464c.01-.814-.103-1.662-.197-2.218zm-5.336 8.195s0-8.291.275-8.29c.213 0 .49 10.695.49 10.695-.381-.045-.765-1.76-.765-2.405z"})]})}),D3="#4479A1",Sk=p.forwardRef(function({title:t="MySQL",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=D3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M16.405 5.501c-.115 0-.193.014-.274.033v.013h.014c.054.104.146.18.214.273.054.107.1.214.154.32l.014-.015c.094-.066.14-.172.14-.333-.04-.047-.046-.094-.08-.14-.04-.067-.126-.1-.18-.153zM5.77 18.695h-.927a50.854 50.854 0 00-.27-4.41h-.008l-1.41 4.41H2.45l-1.4-4.41h-.01a72.892 72.892 0 00-.195 4.41H0c.055-1.966.192-3.81.41-5.53h1.15l1.335 4.064h.008l1.347-4.064h1.095c.242 2.015.384 3.86.428 5.53zm4.017-4.08c-.378 2.045-.876 3.533-1.492 4.46-.482.716-1.01 1.073-1.583 1.073-.153 0-.34-.046-.566-.138v-.494c.11.017.24.026.386.026.268 0 .483-.075.647-.222.197-.18.295-.382.295-.605 0-.155-.077-.47-.23-.944L6.23 14.615h.91l.727 2.36c.164.536.233.91.205 1.123.4-1.064.678-2.227.835-3.483zm12.325 4.08h-2.63v-5.53h.885v4.85h1.745zm-3.32.135l-1.016-.5c.09-.076.177-.158.255-.25.433-.506.648-1.258.648-2.253 0-1.83-.718-2.746-2.155-2.746-.704 0-1.254.232-1.65.697-.43.508-.646 1.256-.646 2.245 0 .972.19 1.686.574 2.14.35.41.877.615 1.583.615.264 0 .506-.033.725-.098l1.325.772.36-.622zM15.5 17.588c-.225-.36-.337-.94-.337-1.736 0-1.393.424-2.09 1.27-2.09.443 0 .77.167.977.5.224.362.336.936.336 1.723 0 1.404-.424 2.108-1.27 2.108-.445 0-.77-.167-.978-.5zm-1.658-.425c0 .47-.172.856-.516 1.156-.344.3-.803.45-1.384.45-.543 0-1.064-.172-1.573-.515l.237-.476c.438.22.833.328 1.19.328.332 0 .593-.073.783-.22a.754.754 0 00.3-.615c0-.33-.23-.61-.648-.845-.388-.213-1.163-.657-1.163-.657-.422-.307-.632-.636-.632-1.177 0-.45.157-.81.47-1.085.315-.278.72-.415 1.22-.415.512 0 .98.136 1.4.41l-.213.476a2.726 2.726 0 00-1.064-.23c-.283 0-.502.068-.654.206a.685.685 0 00-.248.524c0 .328.234.61.666.85.393.215 1.187.67 1.187.67.433.305.648.63.648 1.168zm9.382-5.852c-.535-.014-.95.04-1.297.188-.1.04-.26.04-.274.167.055.053.063.14.11.214.08.134.218.313.346.407.14.11.28.216.427.31.26.16.555.255.81.416.145.094.293.213.44.313.073.05.12.14.214.172v-.02c-.046-.06-.06-.147-.105-.214-.067-.067-.134-.127-.2-.193a3.223 3.223 0 00-.695-.675c-.214-.146-.682-.35-.77-.595l-.013-.014c.146-.013.32-.066.46-.106.227-.06.435-.047.67-.106.106-.027.213-.06.32-.094v-.06c-.12-.12-.21-.283-.334-.395a8.867 8.867 0 00-1.104-.823c-.21-.134-.476-.22-.697-.334-.08-.04-.214-.06-.26-.127-.12-.146-.19-.34-.275-.514a17.69 17.69 0 01-.547-1.163c-.12-.262-.193-.523-.34-.763-.69-1.137-1.437-1.826-2.586-2.5-.247-.14-.543-.2-.856-.274-.167-.008-.334-.02-.5-.027-.11-.047-.216-.174-.31-.235-.38-.24-1.364-.76-1.644-.072-.18.434.267.862.422 1.082.115.153.26.328.34.5.047.116.06.235.107.356.106.294.207.622.347.897.073.14.153.287.247.413.054.073.146.107.167.227-.094.136-.1.334-.154.5-.24.757-.146 1.693.194 2.25.107.166.362.534.703.393.3-.12.234-.5.32-.835.02-.08.007-.133.048-.187v.015c.094.188.188.367.274.555.206.328.566.668.867.895.16.12.287.328.487.402v-.02h-.015c-.043-.058-.1-.086-.154-.133a3.445 3.445 0 01-.35-.4 8.76 8.76 0 01-.747-1.218c-.11-.21-.202-.436-.29-.643-.04-.08-.04-.2-.107-.24-.1.146-.247.273-.32.453-.127.288-.14.642-.188 1.01-.027.007-.014 0-.027.014-.214-.052-.287-.274-.367-.46-.2-.475-.233-1.238-.06-1.785.047-.14.247-.582.167-.716-.042-.127-.174-.2-.247-.303a2.478 2.478 0 01-.24-.427c-.16-.374-.24-.788-.414-1.162-.08-.173-.22-.354-.334-.513-.127-.18-.267-.307-.368-.52-.033-.073-.08-.194-.027-.274.014-.054.042-.075.094-.09.088-.072.335.022.422.062.247.1.455.194.662.334.094.066.195.193.315.226h.14c.214.047.455.014.655.073.355.114.675.28.962.46a5.953 5.953 0 012.085 2.286c.08.154.115.295.188.455.14.33.313.663.455.982.14.315.275.636.476.897.1.14.502.213.682.286.133.06.34.115.46.188.23.14.454.3.67.454.11.076.443.243.463.378z"})]})}),A3="#00C7B7",Ck=p.forwardRef(function({title:t="Netlify",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=A3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M6.49 19.04h-.23L5.13 17.9v-.23l1.73-1.71h1.2l.15.15v1.2L6.5 19.04ZM5.13 6.31V6.1l1.13-1.13h.23L8.2 6.68v1.2l-.15.15h-1.2L5.13 6.31Zm9.96 9.09h-1.65l-.14-.13v-3.83c0-.68-.27-1.2-1.1-1.23-.42 0-.9 0-1.43.02l-.07.08v4.96l-.14.14H8.9l-.13-.14V8.73l.13-.14h3.7a2.6 2.6 0 0 1 2.61 2.6v4.08l-.13.14Zm-8.37-2.44H.14L0 12.82v-1.64l.14-.14h6.58l.14.14v1.64l-.14.14Zm17.14 0h-6.58l-.14-.14v-1.64l.14-.14h6.58l.14.14v1.64l-.14.14ZM11.05 6.55V1.64l.14-.14h1.65l.14.14v4.9l-.14.14h-1.65l-.14-.13Zm0 15.81v-4.9l.14-.14h1.65l.14.13v4.91l-.14.14h-1.65l-.14-.14Z"})]})}),O3="#000000",_k=p.forwardRef(function({title:t="Next.js",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=O3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M18.665 21.978C16.758 23.255 14.465 24 12 24 5.377 24 0 18.623 0 12S5.377 0 12 0s12 5.377 12 12c0 3.583-1.574 6.801-4.067 9.001L9.219 7.2H7.2v9.596h1.615V9.251l9.85 12.727Zm-3.332-8.533 1.6 2.061V7.2h-1.6v6.245Z"})]})}),L3="#5FA04E",Ek=p.forwardRef(function({title:t="Node.js",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=L3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M11.998,24c-0.321,0-0.641-0.084-0.922-0.247l-2.936-1.737c-0.438-0.245-0.224-0.332-0.08-0.383 c0.585-0.203,0.703-0.25,1.328-0.604c0.065-0.037,0.151-0.023,0.218,0.017l2.256,1.339c0.082,0.045,0.197,0.045,0.272,0l8.795-5.076 c0.082-0.047,0.134-0.141,0.134-0.238V6.921c0-0.099-0.053-0.192-0.137-0.242l-8.791-5.072c-0.081-0.047-0.189-0.047-0.271,0 L3.075,6.68C2.99,6.729,2.936,6.825,2.936,6.921v10.15c0,0.097,0.054,0.189,0.139,0.235l2.409,1.392 c1.307,0.654,2.108-0.116,2.108-0.89V7.787c0-0.142,0.114-0.253,0.256-0.253h1.115c0.139,0,0.255,0.112,0.255,0.253v10.021 c0,1.745-0.95,2.745-2.604,2.745c-0.508,0-0.909,0-2.026-0.551L2.28,18.675c-0.57-0.329-0.922-0.945-0.922-1.604V6.921 c0-0.659,0.353-1.275,0.922-1.603l8.795-5.082c0.557-0.315,1.296-0.315,1.848,0l8.794,5.082c0.57,0.329,0.924,0.944,0.924,1.603 v10.15c0,0.659-0.354,1.273-0.924,1.604l-8.794,5.078C12.643,23.916,12.324,24,11.998,24z M19.099,13.993 c0-1.9-1.284-2.406-3.987-2.763c-2.731-0.361-3.009-0.548-3.009-1.187c0-0.528,0.235-1.233,2.258-1.233 c1.807,0,2.473,0.389,2.747,1.607c0.024,0.115,0.129,0.199,0.247,0.199h1.141c0.071,0,0.138-0.031,0.186-0.081 c0.048-0.054,0.074-0.123,0.067-0.196c-0.177-2.098-1.571-3.076-4.388-3.076c-2.508,0-4.004,1.058-4.004,2.833 c0,1.925,1.488,2.457,3.895,2.695c2.88,0.282,3.103,0.703,3.103,1.269c0,0.983-0.789,1.402-2.642,1.402 c-2.327,0-2.839-0.584-3.011-1.742c-0.02-0.124-0.126-0.215-0.253-0.215h-1.137c-0.141,0-0.254,0.112-0.254,0.253 c0,1.482,0.806,3.248,4.655,3.248C17.501,17.007,19.099,15.91,19.099,13.993z"})]})}),I3="#000000",kk=p.forwardRef(function({title:t="Notion",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=I3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M4.459 4.208c.746.606 1.026.56 2.428.466l13.215-.793c.28 0 .047-.28-.046-.326L17.86 1.968c-.42-.326-.981-.7-2.055-.607L3.01 2.295c-.466.046-.56.28-.374.466zm.793 3.08v13.904c0 .747.373 1.027 1.214.98l14.523-.84c.841-.046.935-.56.935-1.167V6.354c0-.606-.233-.933-.748-.887l-15.177.887c-.56.047-.747.327-.747.933zm14.337.745c.093.42 0 .84-.42.888l-.7.14v10.264c-.608.327-1.168.514-1.635.514-.748 0-.935-.234-1.495-.933l-4.577-7.186v6.952L12.21 19s0 .84-1.168.84l-3.222.186c-.093-.186 0-.653.327-.746l.84-.233V9.854L7.822 9.76c-.094-.42.14-1.026.793-1.073l3.456-.233 4.764 7.279v-6.44l-1.215-.139c-.093-.514.28-.887.747-.933zM1.936 1.035l13.31-.98c1.634-.14 2.055-.047 3.082.7l4.249 2.986c.7.513.934.653.934 1.213v16.378c0 1.026-.373 1.634-1.68 1.726l-15.458.934c-.98.047-1.448-.093-1.962-.747l-3.129-4.06c-.56-.747-.793-1.306-.793-1.96V2.667c0-.839.374-1.54 1.447-1.632z"})]})}),F3="#4169E1",jk=p.forwardRef(function({title:t="PostgreSQL",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=F3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M23.5594 14.7228a.5269.5269 0 0 0-.0563-.1191c-.139-.2632-.4768-.3418-1.0074-.2321-1.6533.3411-2.2935.1312-2.5256-.0191 1.342-2.0482 2.445-4.522 3.0411-6.8297.2714-1.0507.7982-3.5237.1222-4.7316a1.5641 1.5641 0 0 0-.1509-.235C21.6931.9086 19.8007.0248 17.5099.0005c-1.4947-.0158-2.7705.3461-3.1161.4794a9.449 9.449 0 0 0-.5159-.0816 8.044 8.044 0 0 0-1.3114-.1278c-1.1822-.0184-2.2038.2642-3.0498.8406-.8573-.3211-4.7888-1.645-7.2219.0788C.9359 2.1526.3086 3.8733.4302 6.3043c.0409.818.5069 3.334 1.2423 5.7436.4598 1.5065.9387 2.7019 1.4334 3.582.553.9942 1.1259 1.5933 1.7143 1.7895.4474.1491 1.1327.1441 1.8581-.7279.8012-.9635 1.5903-1.8258 1.9446-2.2069.4351.2355.9064.3625 1.39.3772a.0569.0569 0 0 0 .0004.0041 11.0312 11.0312 0 0 0-.2472.3054c-.3389.4302-.4094.5197-1.5002.7443-.3102.064-1.1344.2339-1.1464.8115-.0025.1224.0329.2309.0919.3268.2269.4231.9216.6097 1.015.6331 1.3345.3335 2.5044.092 3.3714-.6787-.017 2.231.0775 4.4174.3454 5.0874.2212.5529.7618 1.9045 2.4692 1.9043.2505 0 .5263-.0291.8296-.0941 1.7819-.3821 2.5557-1.1696 2.855-2.9059.1503-.8707.4016-2.8753.5388-4.1012.0169-.0703.0357-.1207.057-.1362.0007-.0005.0697-.0471.4272.0307a.3673.3673 0 0 0 .0443.0068l.2539.0223.0149.001c.8468.0384 1.9114-.1426 2.5312-.4308.6438-.2988 1.8057-1.0323 1.5951-1.6698zM2.371 11.8765c-.7435-2.4358-1.1779-4.8851-1.2123-5.5719-.1086-2.1714.4171-3.6829 1.5623-4.4927 1.8367-1.2986 4.8398-.5408 6.108-.13-.0032.0032-.0066.0061-.0098.0094-2.0238 2.044-1.9758 5.536-1.9708 5.7495-.0002.0823.0066.1989.0162.3593.0348.5873.0996 1.6804-.0735 2.9184-.1609 1.1504.1937 2.2764.9728 3.0892.0806.0841.1648.1631.2518.2374-.3468.3714-1.1004 1.1926-1.9025 2.1576-.5677.6825-.9597.5517-1.0886.5087-.3919-.1307-.813-.5871-1.2381-1.3223-.4796-.839-.9635-2.0317-1.4155-3.5126zm6.0072 5.0871c-.1711-.0428-.3271-.1132-.4322-.1772.0889-.0394.2374-.0902.4833-.1409 1.2833-.2641 1.4815-.4506 1.9143-1.0002.0992-.126.2116-.2687.3673-.4426a.3549.3549 0 0 0 .0737-.1298c.1708-.1513.2724-.1099.4369-.0417.156.0646.3078.26.3695.4752.0291.1016.0619.2945-.0452.4444-.9043 1.2658-2.2216 1.2494-3.1676 1.0128zm2.094-3.988-.0525.141c-.133.3566-.2567.6881-.3334 1.003-.6674-.0021-1.3168-.2872-1.8105-.8024-.6279-.6551-.9131-1.5664-.7825-2.5004.1828-1.3079.1153-2.4468.079-3.0586-.005-.0857-.0095-.1607-.0122-.2199.2957-.2621 1.6659-.9962 2.6429-.7724.4459.1022.7176.4057.8305.928.5846 2.7038.0774 3.8307-.3302 4.7363-.084.1866-.1633.3629-.2311.5454zm7.3637 4.5725c-.0169.1768-.0358.376-.0618.5959l-.146.4383a.3547.3547 0 0 0-.0182.1077c-.0059.4747-.054.6489-.115.8693-.0634.2292-.1353.4891-.1794 1.0575-.11 1.4143-.8782 2.2267-2.4172 2.5565-1.5155.3251-1.7843-.4968-2.0212-1.2217a6.5824 6.5824 0 0 0-.0769-.2266c-.2154-.5858-.1911-1.4119-.1574-2.5551.0165-.5612-.0249-1.9013-.3302-2.6462.0044-.2932.0106-.5909.019-.8918a.3529.3529 0 0 0-.0153-.1126 1.4927 1.4927 0 0 0-.0439-.208c-.1226-.4283-.4213-.7866-.7797-.9351-.1424-.059-.4038-.1672-.7178-.0869.067-.276.1831-.5875.309-.9249l.0529-.142c.0595-.16.134-.3257.213-.5012.4265-.9476 1.0106-2.2453.3766-5.1772-.2374-1.0981-1.0304-1.6343-2.2324-1.5098-.7207.0746-1.3799.3654-1.7088.5321a5.6716 5.6716 0 0 0-.1958.1041c.0918-1.1064.4386-3.1741 1.7357-4.4823a4.0306 4.0306 0 0 1 .3033-.276.3532.3532 0 0 0 .1447-.0644c.7524-.5706 1.6945-.8506 2.802-.8325.4091.0067.8017.0339 1.1742.081 1.939.3544 3.2439 1.4468 4.0359 2.3827.8143.9623 1.2552 1.9315 1.4312 2.4543-1.3232-.1346-2.2234.1268-2.6797.779-.9926 1.4189.543 4.1729 1.2811 5.4964.1353.2426.2522.4522.2889.5413.2403.5825.5515.9713.7787 1.2552.0696.087.1372.1714.1885.245-.4008.1155-1.1208.3825-1.0552 1.717-.0123.1563-.0423.4469-.0834.8148-.0461.2077-.0702.4603-.0994.7662zm.8905-1.6211c-.0405-.8316.2691-.9185.5967-1.0105a2.8566 2.8566 0 0 0 .135-.0406 1.202 1.202 0 0 0 .1342.103c.5703.3765 1.5823.4213 3.0068.1344-.2016.1769-.5189.3994-.9533.6011-.4098.1903-1.0957.333-1.7473.3636-.7197.0336-1.0859-.0807-1.1721-.151zm.5695-9.2712c-.0059.3508-.0542.6692-.1054 1.0017-.055.3576-.112.7274-.1264 1.1762-.0142.4368.0404.8909.0932 1.3301.1066.887.216 1.8003-.2075 2.7014a3.5272 3.5272 0 0 1-.1876-.3856c-.0527-.1276-.1669-.3326-.3251-.6162-.6156-1.1041-2.0574-3.6896-1.3193-4.7446.3795-.5427 1.3408-.5661 2.1781-.463zm.2284 7.0137a12.3762 12.3762 0 0 0-.0853-.1074l-.0355-.0444c.7262-1.1995.5842-2.3862.4578-3.4385-.0519-.4318-.1009-.8396-.0885-1.2226.0129-.4061.0666-.7543.1185-1.0911.0639-.415.1288-.8443.1109-1.3505.0134-.0531.0188-.1158.0118-.1902-.0457-.4855-.5999-1.938-1.7294-3.253-.6076-.7073-1.4896-1.4972-2.6889-2.0395.5251-.1066 1.2328-.2035 2.0244-.1859 2.0515.0456 3.6746.8135 4.8242 2.2824a.908.908 0 0 1 .0667.1002c.7231 1.3556-.2762 6.2751-2.9867 10.5405zm-8.8166-6.1162c-.025.1794-.3089.4225-.6211.4225a.5821.5821 0 0 1-.0809-.0056c-.1873-.026-.3765-.144-.5059-.3156-.0458-.0605-.1203-.178-.1055-.2844.0055-.0401.0261-.0985.0925-.1488.1182-.0894.3518-.1226.6096-.0867.3163.0441.6426.1938.6113.4186zm7.9305-.4114c.0111.0792-.049.201-.1531.3102-.0683.0717-.212.1961-.4079.2232a.5456.5456 0 0 1-.075.0052c-.2935 0-.5414-.2344-.5607-.3717-.024-.1765.2641-.3106.5611-.352.297-.0414.6111.0088.6356.1851z"})]})}),z3="#FF6C37",Nk=p.forwardRef(function({title:t="Postman",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=z3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M13.527.099C6.955-.744.942 3.9.099 10.473c-.843 6.572 3.8 12.584 10.373 13.428 6.573.843 12.587-3.801 13.428-10.374C24.744 6.955 20.101.943 13.527.099zm2.471 7.485a.855.855 0 0 0-.593.25l-4.453 4.453-.307-.307-.643-.643c4.389-4.376 5.18-4.418 5.996-3.753zm-4.863 4.861l4.44-4.44a.62.62 0 1 1 .847.903l-4.699 4.125-.588-.588zm.33.694l-1.1.238a.06.06 0 0 1-.067-.032.06.06 0 0 1 .01-.073l.645-.645.512.512zm-2.803-.459l1.172-1.172.879.878-1.979.426a.074.074 0 0 1-.085-.039.072.072 0 0 1 .013-.093zm-3.646 6.058a.076.076 0 0 1-.069-.083.077.077 0 0 1 .022-.046h.002l.946-.946 1.222 1.222-2.123-.147zm2.425-1.256a.228.228 0 0 0-.117.256l.203.865a.125.125 0 0 1-.211.117h-.003l-.934-.934-.294-.295 3.762-3.758 1.82-.393.874.874c-1.255 1.102-2.971 2.201-5.1 3.268zm5.279-3.428h-.002l-.839-.839 4.699-4.125a.952.952 0 0 0 .119-.127c-.148 1.345-2.029 3.245-3.977 5.091zm3.657-6.46l-.003-.002a1.822 1.822 0 0 1 2.459-2.684l-1.61 1.613a.119.119 0 0 0 0 .169l1.247 1.247a1.817 1.817 0 0 1-2.093-.343zm2.578 0a1.714 1.714 0 0 1-.271.218h-.001l-1.207-1.207 1.533-1.533c.661.72.637 1.832-.054 2.522zM18.855 6.05a.143.143 0 0 0-.053.157.416.416 0 0 1-.053.45.14.14 0 0 0 .023.197.141.141 0 0 0 .084.03.14.14 0 0 0 .106-.05.691.691 0 0 0 .087-.751.138.138 0 0 0-.194-.033z"})]})}),$3="#2D3748",Rk=p.forwardRef(function({title:t="Prisma",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=$3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M21.8068 18.2848L13.5528.7565c-.207-.4382-.639-.7273-1.1286-.7541-.5023-.0293-.9523.213-1.2062.6253L2.266 15.1271c-.2773.4518-.2718 1.0091.0158 1.4555l4.3759 6.7786c.2608.4046.7127.6388 1.1823.6388.1332 0 .267-.0188.3987-.0577l12.7019-3.7568c.3891-.1151.7072-.3904.8737-.7553s.1633-.7828-.0075-1.1454zm-1.8481.7519L9.1814 22.2242c-.3292.0975-.6448-.1873-.5756-.5194l3.8501-18.4386c.072-.3448.5486-.3996.699-.0803l7.1288 15.138c.1344.2856-.019.6224-.325.7128z"})]})}),V3="#3776AB",Tk=p.forwardRef(function({title:t="Python",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=V3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M14.25.18l.9.2.73.26.59.3.45.32.34.34.25.34.16.33.1.3.04.26.02.2-.01.13V8.5l-.05.63-.13.55-.21.46-.26.38-.3.31-.33.25-.35.19-.35.14-.33.1-.3.07-.26.04-.21.02H8.77l-.69.05-.59.14-.5.22-.41.27-.33.32-.27.35-.2.36-.15.37-.1.35-.07.32-.04.27-.02.21v3.06H3.17l-.21-.03-.28-.07-.32-.12-.35-.18-.36-.26-.36-.36-.35-.46-.32-.59-.28-.73-.21-.88-.14-1.05-.05-1.23.06-1.22.16-1.04.24-.87.32-.71.36-.57.4-.44.42-.33.42-.24.4-.16.36-.1.32-.05.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75-.02-.37.05-.34.11-.31.17-.28.25-.26.31-.23.38-.2.44-.18.51-.15.58-.12.64-.1.71-.06.77-.04.84-.02 1.27.05zm-6.3 1.98l-.23.33-.08.41.08.41.23.34.33.22.41.09.41-.09.33-.22.23-.34.08-.41-.08-.41-.23-.33-.33-.22-.41-.09-.41.09zm13.09 3.95l.28.06.32.12.35.18.36.27.36.35.35.47.32.59.28.73.21.88.14 1.04.05 1.23-.06 1.23-.16 1.04-.24.86-.32.71-.36.57-.4.45-.42.33-.42.24-.4.16-.36.09-.32.05-.24.02-.16-.01h-8.22v.82h5.84l.01 2.76.02.36-.05.34-.11.31-.17.29-.25.25-.31.24-.38.2-.44.17-.51.15-.58.13-.64.09-.71.07-.77.04-.84.01-1.27-.04-1.07-.14-.9-.2-.73-.25-.59-.3-.45-.33-.34-.34-.25-.34-.16-.33-.1-.3-.04-.25-.02-.2.01-.13v-5.34l.05-.64.13-.54.21-.46.26-.38.3-.32.33-.24.35-.2.35-.14.33-.1.3-.06.26-.04.21-.02.13-.01h5.84l.69-.05.59-.14.5-.21.41-.28.33-.32.27-.35.2-.36.15-.36.1-.35.07-.32.04-.28.02-.21V6.07h2.09l.14.01zm-6.47 14.25l-.23.33-.08.41.08.41.23.33.33.23.41.08.41-.08.33-.23.23-.33.08-.41-.08-.41-.23-.33-.33-.23-.41-.08-.41.08z"})]})}),B3="#61DAFB",Mk=p.forwardRef(function({title:t="React",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=B3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z"})]})}),U3="#EC5990",Pk=p.forwardRef(function({title:t="React Hook Form",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=U3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M10.7754 17.3477H5.8065a.2815.2815 0 1 0 0 .563h4.9689a.2815.2815 0 1 0 0-.563zm7.3195 0h-4.9688a.2815.2815 0 1 0 0 .563h4.9688a.2815.2815 0 0 0 0-.563zm-7.3336-6.475H5.8065a.2815.2815 0 1 0 0 .563h4.9548a.2815.2815 0 1 0 0-.563zm7.3195 0h-4.9547a.2815.2815 0 1 0 0 .563h4.9547a.2815.2815 0 0 0 0-.563zm.5518-9.2001h-4.341a2.4042 2.4042 0 0 0-4.5804 0H5.3674c-1.7103 0-3.0968 1.3864-3.0968 3.0967v16.134C2.2706 22.6135 3.6571 24 5.3674 24h13.2652c1.7103 0 3.0968-1.3865 3.0968-3.0967V4.7693c0-1.7103-1.3865-3.0967-3.0968-3.0967zm-8.7046.563a.2815.2815 0 0 0 .2815-.2224 1.8411 1.8411 0 0 1 3.5979 0 .2815.2815 0 0 0 .2815.2224h1.5146v1.844a.8446.8446 0 0 1-.8446.8446H9.2552a.8446.8446 0 0 1-.8446-.8446v-1.844Zm11.2383 18.6677c0 1.3993-1.1344 2.5337-2.5337 2.5337H5.3674c-1.3993 0-2.5337-1.1344-2.5337-2.5337V4.7693c0-1.3993 1.1344-2.5337 2.5337-2.5337h2.4802v1.844c0 .7774.6302 1.4076 1.4076 1.4076h5.4896c.7774 0 1.4076-.6302 1.4076-1.4076v-1.844h2.4802c1.3993 0 2.5337 1.1344 2.5337 2.5337z"})]})}),H3="#764ABC",Dk=p.forwardRef(function({title:t="Redux",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=H3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M16.634 16.504c.87-.075 1.543-.84 1.5-1.754-.047-.914-.796-1.648-1.709-1.648h-.061a1.71 1.71 0 00-1.648 1.769c.03.479.226.869.494 1.153-1.048 2.038-2.621 3.536-5.005 4.795-1.603.838-3.296 1.154-4.944.93-1.378-.195-2.456-.81-3.116-1.799-.988-1.499-1.078-3.116-.255-4.734.6-1.17 1.499-2.023 2.099-2.443a9.96 9.96 0 01-.42-1.543C-.868 14.408-.416 18.752.932 20.805c1.004 1.498 3.057 2.456 5.304 2.456.6 0 1.23-.044 1.843-.194 3.897-.749 6.848-3.086 8.541-6.532zm5.348-3.746c-2.32-2.728-5.738-4.226-9.634-4.226h-.51c-.253-.554-.837-.899-1.498-.899h-.045c-.943 0-1.678.81-1.647 1.753.03.898.794 1.648 1.708 1.648h.074a1.69 1.69 0 001.499-1.049h.555c2.309 0 4.495.674 6.488 1.992 1.527 1.005 2.622 2.323 3.237 3.897.538 1.288.509 2.547-.045 3.597-.855 1.647-2.294 2.517-4.196 2.517-1.199 0-2.367-.375-2.967-.644-.36.298-.96.793-1.394 1.093 1.318.598 2.652.943 3.94.943 2.922 0 5.094-1.647 5.919-3.236.898-1.798.824-4.824-1.47-7.416zM6.49 17.042c.03.899.793 1.648 1.708 1.648h.06a1.688 1.688 0 001.648-1.768c0-.9-.779-1.647-1.693-1.647h-.06c-.06 0-.15 0-.226.029-1.243-2.098-1.768-4.347-1.572-6.772.12-1.828.72-3.417 1.797-4.735.9-1.124 2.593-1.68 3.747-1.708 3.236-.061 4.585 3.971 4.689 5.574l1.498.45C17.741 3.197 14.686.62 11.764.62 9.02.62 6.49 2.613 5.47 5.535 4.077 9.43 4.991 13.177 6.7 16.174c-.15.195-.24.539-.21.868z"})]})}),W3="#1D1D1D",Ak=p.forwardRef(function({title:t="Rive",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=W3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M.643 1.475c0 .814.668 1.475 1.49 1.475H14.49c1.408 0 2.568.43 3.48 1.29.91.861 1.366 1.967 1.366 3.32 0 1.25-.456 2.274-1.367 3.072-.911.78-2.07 1.168-3.479 1.168H9.12c-.824 0-1.491.66-1.491 1.475 0 .815.667 1.475 1.491 1.475h5.93l5.342 8.482c.332.512.797.768 1.398.768.663 0 1.129-.256 1.398-.768.269-.533.217-1.096-.155-1.69l-4.753-7.56c1.284-.574 2.299-1.414 3.044-2.52.746-1.127 1.119-2.427 1.119-3.902 0-1.496-.342-2.807-1.026-3.934-.662-1.127-1.594-2.008-2.795-2.643C17.42.327 16.044 0 14.49 0H2.134C1.311 0 .643.66.643 1.475Z"})]})}),Z3="#000000",Ok=p.forwardRef(function({title:t="shadcn/ui",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=Z3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M22.219 11.784 11.784 22.219c-.407.407-.407 1.068 0 1.476.407.407 1.068.407 1.476 0L23.695 13.26c.407-.408.407-1.069 0-1.476-.408-.407-1.069-.407-1.476 0ZM20.132.305.305 20.132c-.407.407-.407 1.068 0 1.476.408.407 1.069.407 1.476 0L21.608 1.781c.407-.407.407-1.068 0-1.476-.408-.407-1.069-.407-1.476 0Z"})]})}),Lk="#00AFF0",Ik=p.forwardRef(function({title:t="Skype",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=Lk),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M12.069 18.874c-4.023 0-5.82-1.979-5.82-3.464 0-.765.561-1.296 1.333-1.296 1.723 0 1.273 2.477 4.487 2.477 1.641 0 2.55-.895 2.55-1.811 0-.551-.269-1.16-1.354-1.429l-3.576-.895c-2.88-.724-3.403-2.286-3.403-3.751 0-3.047 2.861-4.191 5.549-4.191 2.471 0 5.393 1.373 5.393 3.199 0 .784-.688 1.24-1.453 1.24-1.469 0-1.198-2.037-4.164-2.037-1.469 0-2.292.664-2.292 1.617s1.153 1.258 2.157 1.487l2.637.587c2.891.649 3.624 2.346 3.624 3.944 0 2.476-1.902 4.324-5.722 4.324m11.084-4.882l-.029.135-.044-.24c.015.045.044.074.059.12.12-.675.181-1.363.181-2.052 0-1.529-.301-3.012-.898-4.42-.569-1.348-1.395-2.562-2.427-3.596-1.049-1.033-2.247-1.856-3.595-2.426-1.318-.631-2.801-.93-4.328-.93-.72 0-1.444.07-2.143.204l.119.06-.239-.033.119-.025C8.91.274 7.829 0 6.731 0c-1.789 0-3.47.698-4.736 1.967C.729 3.235.032 4.923.032 6.716c0 1.143.292 2.265.844 3.258l.02-.124.041.239-.06-.115c-.114.645-.172 1.299-.172 1.955 0 1.53.3 3.017.884 4.416.568 1.362 1.378 2.576 2.427 3.609 1.034 1.05 2.247 1.857 3.595 2.442 1.394.6 2.877.898 4.404.898.659 0 1.334-.06 1.977-.179l-.119-.062.24.046-.135.03c1.002.569 2.126.871 3.294.871 1.783 0 3.459-.69 4.733-1.963 1.259-1.259 1.962-2.951 1.962-4.749 0-1.138-.299-2.262-.853-3.266"})]})}),Fk="#F58025",zk=p.forwardRef(function({title:t="Stack Overflow",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=Fk),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M15.725 0l-1.72 1.277 6.39 8.588 1.716-1.277L15.725 0zm-3.94 3.418l-1.369 1.644 8.225 6.85 1.369-1.644-8.225-6.85zm-3.15 4.465l-.905 1.94 9.702 4.517.904-1.94-9.701-4.517zm-1.85 4.86l-.44 2.093 10.473 2.201.44-2.092-10.473-2.203zM1.89 15.47V24h19.19v-8.53h-2.133v6.397H4.021v-6.396H1.89zm4.265 2.133v2.13h10.66v-2.13H6.154Z"})]})}),G3="#3FCF8E",$k=p.forwardRef(function({title:t="Supabase",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=G3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M11.9 1.036c-.015-.986-1.26-1.41-1.874-.637L.764 12.05C-.33 13.427.65 15.455 2.409 15.455h9.579l.113 7.51c.014.985 1.259 1.408 1.873.636l9.262-11.653c1.093-1.375.113-3.403-1.645-3.403h-9.642z"})]})}),K3="#85EA2D",Vk=p.forwardRef(function({title:t="Swagger",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=K3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M12 0C5.383 0 0 5.383 0 12s5.383 12 12 12c6.616 0 12-5.383 12-12S18.616 0 12 0zm0 1.144c5.995 0 10.856 4.86 10.856 10.856 0 5.995-4.86 10.856-10.856 10.856-5.996 0-10.856-4.86-10.856-10.856C1.144 6.004 6.004 1.144 12 1.144zM8.37 5.868a6.707 6.707 0 0 0-.423.005c-.983.056-1.573.517-1.735 1.472-.115.665-.096 1.348-.143 2.017-.013.35-.05.697-.115 1.038-.134.609-.397.798-1.016.83a2.65 2.65 0 0 0-.244.042v1.463c1.126.055 1.278.452 1.37 1.629.033.429-.013.858.015 1.287.018.406.073.808.156 1.2.259 1.075 1.307 1.435 2.575 1.218v-1.283c-.203 0-.383.005-.558 0-.43-.013-.591-.12-.632-.535-.056-.535-.042-1.08-.075-1.62-.064-1.001-.175-1.988-1.153-2.625.503-.37.868-.812.983-1.398.083-.41.134-.821.166-1.237.028-.415-.023-.84.014-1.25.06-.665.102-.937.9-.91.12 0 .235-.017.369-.027v-1.31c-.16 0-.31-.004-.454-.006zm7.593.009a4.247 4.247 0 0 0-.813.06v1.274c.245 0 .434 0 .623.005.328.004.577.13.61.494.032.332.031.669.064 1.006.065.669.101 1.347.217 2.007.102.544.475.95.941 1.283-.817.549-1.057 1.333-1.098 2.215-.023.604-.037 1.213-.069 1.822-.028.554-.222.734-.78.748-.157.004-.31.018-.484.028v1.305c.327 0 .627.019.927 0 .932-.055 1.495-.507 1.68-1.412.078-.498.124-1 .138-1.504.032-.461.028-.927.074-1.384.069-.715.397-1.01 1.112-1.057a.972.972 0 0 0 .199-.046v-1.463c-.12-.014-.204-.027-.291-.032-.536-.023-.804-.203-.937-.71a5.146 5.146 0 0 1-.152-.993c-.037-.618-.033-1.241-.074-1.86-.08-1.192-.794-1.753-1.887-1.786zm-6.89 5.28a.844.844 0 0 0-.083 1.684h.055a.83.83 0 0 0 .877-.78v-.046a.845.845 0 0 0-.83-.858zm2.911 0a.808.808 0 0 0-.834.78c0 .027 0 .05.004.078 0 .503.342.826.859.826.507 0 .826-.332.826-.853-.005-.503-.342-.836-.855-.831zm2.963 0a.861.861 0 0 0-.876.835c0 .47.378.849.849.849h.009c.425.074.853-.337.881-.83.023-.457-.392-.854-.863-.854z"})]})}),Y3="#06B6D4",Bk=p.forwardRef(function({title:t="Tailwind CSS",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=Y3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M12.001,4.8c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 C13.666,10.618,15.027,12,18.001,12c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C16.337,6.182,14.976,4.8,12.001,4.8z M6.001,12c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 c1.177,1.194,2.538,2.576,5.512,2.576c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C10.337,13.382,8.976,12,6.001,12z"})]})}),Q3="#FF6F00",Uk=p.forwardRef(function({title:t="TensorFlow",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=Q3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M1.292 5.856L11.54 0v24l-4.095-2.378V7.603l-6.168 3.564.015-5.31zm21.43 5.311l-.014-5.31L12.46 0v24l4.095-2.378V14.87l3.092 1.788-.018-4.618-3.074-1.756V7.603l6.168 3.564z"})]})}),X3="#0052CC",Hk=p.forwardRef(function({title:t="Trello",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=X3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M21.147 0H2.853A2.86 2.86 0 000 2.853v18.294A2.86 2.86 0 002.853 24h18.294A2.86 2.86 0 0024 21.147V2.853A2.86 2.86 0 0021.147 0zM10.34 17.287a.953.953 0 01-.953.953h-4a.954.954 0 01-.954-.953V5.38a.953.953 0 01.954-.953h4a.954.954 0 01.953.953zm9.233-5.467a.944.944 0 01-.953.947h-4a.947.947 0 01-.953-.947V5.38a.953.953 0 01.953-.953h4a.954.954 0 01.953.953z"})]})}),J3="#262627";p.forwardRef(function({title:t="Typeform",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=J3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M15.502 13.035c-.5 0-.756-.411-.756-.917 0-.505.252-.894.756-.894.513 0 .756.407.756.894-.004.515-.261.917-.756.917Zm-4.888-1.81c.292 0 .414.17.414.317 0 .357-.365.514-1.126.536 0-.442.253-.854.712-.854Zm-3.241 1.81c-.473 0-.67-.384-.67-.917 0-.527.202-.894.67-.894.477 0 .702.38.702.894 0 .537-.234.917-.702.917Zm-3.997-2.334h-.738l1.224 2.808c-.234.519-.36.648-.522.648-.171 0-.333-.138-.45-.259l-.324.43c.22.232.522.366.832.366.387 0 .685-.224.856-.626l1.413-3.371h-.725l-.738 2.012-.828-2.008Zm19.553.523c.36 0 .432.246.432.823v1.516H24v-1.914c0-.689-.473-.988-.91-.988-.386 0-.742.241-.94.688a.901.901 0 0 0-.891-.688c-.365 0-.73.232-.927.666v-.626h-.64v2.857h.64v-1.22c0-.617.324-1.114.765-1.114.36 0 .427.246.427.823v1.516h.64l-.005-1.225c0-.617.329-1.114.77-1.114Zm-5.1-.523h-.324v2.857h.639v-1.095c0-.693.306-1.163.76-1.163.118 0 .217.005.325.05l.099-.676c-.081-.009-.153-.018-.225-.018-.45 0-.774.309-.964.707V10.7h-.31Zm-2.327-.045c-.846 0-1.418.644-1.418 1.458 0 .845.58 1.475 1.418 1.475.85 0 1.431-.648 1.431-1.475-.004-.818-.594-1.458-1.431-1.458Zm-4.852 2.38c-.333 0-.581-.17-.685-.515.847-.036 1.675-.242 1.675-.988 0-.43-.423-.872-1.03-.872-.82 0-1.374.666-1.374 1.457 0 .828.545 1.476 1.36 1.476.567 0 .927-.228 1.21-.559l-.31-.42c-.329.335-.531.42-.846.42Zm-3.151-2.38c-.324 0-.648.188-.774.483v-.438h-.64v3.98h.64v-1.422c.135.205.445.34.72.34.85 0 1.3-.631 1.3-1.48-.004-.841-.445-1.463-1.246-1.463Zm-4.483-1.1H0v.622h1.18v3.38h.67v-3.38h1.166v-.622Zm9.502 1.145h-.383v.572h.383v2.285h.639v-2.285h.621v-.572h-.621v-.447c0-.286.117-.385.382-.385.1 0 .19.027.311.068l.144-.537c-.117-.067-.351-.094-.504-.094-.612 0-.972.367-.972 1.002v.393Z"})]})});const Wk="#3178C6",Zk=p.forwardRef(function({title:t="TypeScript",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=Wk),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M1.125 0C.502 0 0 .502 0 1.125v21.75C0 23.498.502 24 1.125 24h21.75c.623 0 1.125-.502 1.125-1.125V1.125C24 .502 23.498 0 22.875 0zm17.363 9.75c.612 0 1.154.037 1.627.111a6.38 6.38 0 0 1 1.306.34v2.458a3.95 3.95 0 0 0-.643-.361 5.093 5.093 0 0 0-.717-.26 5.453 5.453 0 0 0-1.426-.2c-.3 0-.573.028-.819.086a2.1 2.1 0 0 0-.623.242c-.17.104-.3.229-.393.374a.888.888 0 0 0-.14.49c0 .196.053.373.156.529.104.156.252.304.443.444s.423.276.696.41c.273.135.582.274.926.416.47.197.892.407 1.266.628.374.222.695.473.963.753.268.279.472.598.614.957.142.359.214.776.214 1.253 0 .657-.125 1.21-.373 1.656a3.033 3.033 0 0 1-1.012 1.085 4.38 4.38 0 0 1-1.487.596c-.566.12-1.163.18-1.79.18a9.916 9.916 0 0 1-1.84-.164 5.544 5.544 0 0 1-1.512-.493v-2.63a5.033 5.033 0 0 0 3.237 1.2c.333 0 .624-.03.872-.09.249-.06.456-.144.623-.25.166-.108.29-.234.373-.38a1.023 1.023 0 0 0-.074-1.089 2.12 2.12 0 0 0-.537-.5 5.597 5.597 0 0 0-.807-.444 27.72 27.72 0 0 0-1.007-.436c-.918-.383-1.602-.852-2.053-1.405-.45-.553-.676-1.222-.676-2.005 0-.614.123-1.141.369-1.582.246-.441.58-.804 1.004-1.089a4.494 4.494 0 0 1 1.47-.629 7.536 7.536 0 0 1 1.77-.201zm-15.113.188h9.563v2.166H9.506v9.646H6.789v-9.646H3.375z"})]})}),q3="#FFFFFF",Gk=p.forwardRef(function({title:t="Unity",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=q3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"m12.9288 4.2939 3.7997 2.1929c.1366.077.1415.2905 0 .3675l-4.515 2.6076a.4192.4192 0 0 1-.4246 0L7.274 6.8543c-.139-.0745-.1415-.293 0-.3675l3.7972-2.193V0L1.3758 5.5977V16.793l3.7177-2.1456v-4.3858c-.0025-.1565.1813-.2682.318-.1838l4.5148 2.6076a.4252.4252 0 0 1 .2136.3676v5.2127c.0025.1565-.1813.2682-.3179.1838l-3.7996-2.1929-3.7178 2.1457L12 24l9.6954-5.5977-3.7178-2.1457-3.7996 2.1929c-.1341.082-.3229-.0248-.3179-.1838V13.053c0-.1565.087-.2956.2136-.3676l4.5149-2.6076c.134-.082.3228.0224.3179.1838v4.3858l3.7177 2.1456V5.5977L12.9288 0Z"})]})}),ey="#000000",Kk=p.forwardRef(function({title:t="Vercel",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=ey),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M24 22.525H0l12-21.05 12 21.05z"})]})}),ty="#5C2D91",Yk=p.forwardRef(function({title:t="Visual Studio",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=ty),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M17.583.063a1.5 1.5 0 00-1.032.392 1.5 1.5 0 00-.001 0A.88.88 0 0016.5.5L8.528 9.316 3.875 5.5l-.407-.35a1 1 0 00-1.024-.154 1 1 0 00-.012.005l-1.817.75a1 1 0 00-.077.036 1 1 0 00-.047.028 1 1 0 00-.038.022 1 1 0 00-.048.034 1 1 0 00-.03.024 1 1 0 00-.044.036 1 1 0 00-.036.033 1 1 0 00-.032.035 1 1 0 00-.033.038 1 1 0 00-.035.044 1 1 0 00-.024.034 1 1 0 00-.032.05 1 1 0 00-.02.035 1 1 0 00-.024.05 1 1 0 00-.02.045 1 1 0 00-.016.044 1 1 0 00-.016.047 1 1 0 00-.015.055 1 1 0 00-.01.04 1 1 0 00-.008.054 1 1 0 00-.006.05A1 1 0 000 6.668v10.666a1 1 0 00.615.917l1.817.764a1 1 0 001.035-.164l.408-.35 4.653-3.815 7.973 8.815a1.5 1.5 0 00.072.065 1.5 1.5 0 00.057.05 1.5 1.5 0 00.058.042 1.5 1.5 0 00.063.044 1.5 1.5 0 00.065.038 1.5 1.5 0 00.065.036 1.5 1.5 0 00.068.031 1.5 1.5 0 00.07.03 1.5 1.5 0 00.073.025 1.5 1.5 0 00.066.02 1.5 1.5 0 00.08.02 1.5 1.5 0 00.068.014 1.5 1.5 0 00.075.01 1.5 1.5 0 00.075.008 1.5 1.5 0 00.073.003 1.5 1.5 0 00.077 0 1.5 1.5 0 00.078-.005 1.5 1.5 0 00.067-.007 1.5 1.5 0 00.087-.015 1.5 1.5 0 00.06-.012 1.5 1.5 0 00.08-.022 1.5 1.5 0 00.068-.02 1.5 1.5 0 00.07-.028 1.5 1.5 0 00.09-.037l4.944-2.377a1.5 1.5 0 00.476-.362 1.5 1.5 0 00.09-.112 1.5 1.5 0 00.004-.007 1.5 1.5 0 00.08-.125 1.5 1.5 0 00.062-.12 1.5 1.5 0 00.009-.017 1.5 1.5 0 00.04-.108 1.5 1.5 0 00.015-.037 1.5 1.5 0 00.03-.107 1.5 1.5 0 00.009-.037 1.5 1.5 0 00.017-.1 1.5 1.5 0 00.008-.05 1.5 1.5 0 00.006-.09 1.5 1.5 0 00.004-.08V3.942a1.5 1.5 0 000-.003 1.5 1.5 0 000-.032 1.5 1.5 0 00-.01-.15 1.5 1.5 0 00-.84-1.17L18.206.21a1.5 1.5 0 00-.622-.146zM18 6.92v10.163l-6.198-5.08zM3 8.574l3.099 3.427-3.1 3.426z"})]})}),ny="#007ACC",Qk=p.forwardRef(function({title:t="Visual Studio Code",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=ny),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M23.15 2.587L18.21.21a1.494 1.494 0 0 0-1.705.29l-9.46 8.63-4.12-3.128a.999.999 0 0 0-1.276.057L.327 7.261A1 1 0 0 0 .326 8.74L3.899 12 .326 15.26a1 1 0 0 0 .001 1.479L1.65 17.94a.999.999 0 0 0 1.276.057l4.12-3.128 9.46 8.63a1.492 1.492 0 0 0 1.704.29l4.942-2.377A1.5 1.5 0 0 0 24 20.06V3.939a1.5 1.5 0 0 0-.85-1.352zm-5.146 14.861L10.826 12l7.178-5.448v10.896z"})]})}),ry="#646CFF",Xk=p.forwardRef(function({title:t="Vite",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=ry),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"m8.286 10.578.512-8.657a.306.306 0 0 1 .247-.282L17.377.006a.306.306 0 0 1 .353.385l-1.558 5.403a.306.306 0 0 0 .352.385l2.388-.46a.306.306 0 0 1 .332.438l-6.79 13.55-.123.19a.294.294 0 0 1-.252.14c-.177 0-.35-.152-.305-.369l1.095-5.301a.306.306 0 0 0-.388-.355l-1.433.435a.306.306 0 0 1-.389-.354l.69-3.375a.306.306 0 0 0-.37-.36l-2.32.536a.306.306 0 0 1-.374-.316zm14.976-7.926L17.284 3.74l-.544 1.887 2.077-.4a.8.8 0 0 1 .84.369.8.8 0 0 1 .034.783L12.9 19.93l-.013.025-.015.023-.122.19a.801.801 0 0 1-.672.37.826.826 0 0 1-.634-.302.8.8 0 0 1-.16-.67l1.029-4.981-1.12.34a.81.81 0 0 1-.86-.262.802.802 0 0 1-.165-.67l.63-3.08-2.027.468a.808.808 0 0 1-.768-.233.81.81 0 0 1-.217-.6l.389-6.57-7.44-1.33a.612.612 0 0 0-.64.906L11.58 23.691a.612.612 0 0 0 1.066-.004l11.26-20.135a.612.612 0 0 0-.644-.9z"})]})}),Of="#FF0000",Gp=p.forwardRef(function({title:t="YouTube",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=Of),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})]})}),oy="#3E67B1",Jk=p.forwardRef(function({title:t="Zod",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=oy),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M19.088 2.477 24 7.606 12.521 20.485l-.925 1.038L0 7.559l5.108-5.082h13.98Zm-17.434 5.2 6.934-4.003H5.601L1.619 7.636l.035.041Zm12.117-4.003L3.333 9.7l2.149 2.588 10.809-6.241-.2-.346 2.851-1.646-.365-.381h-4.806Zm7.52 2.834L8.257 14.034h5.101v-.4h3.667l5.346-5.998-1.08-1.128Zm-7.129 10.338H9.268l2.36 2.843 2.534-2.843Z"})]})}),iy=[{label:at.about,id:`#${at.about}`},{label:at.skills,id:`#${at.skills}`},{label:at.experience,id:`#${at.experience}`},{label:at.projects,id:`#${at.projects}`},{label:at.education,id:`#${at.education}`},{label:at.contact,id:`#${at.contact}`}],qk=["Mobile Applications","Web Applications","Games"],sy=[{icon:_3,label:"GitHub",href:"https://github.com/Fingertips18"},{icon:M3,label:"LinkedIn",href:"https://linkedin.com/in/ghiantan"},{icon:zk,label:"Stack Overflow",href:"https://stackoverflow.com/users/18320841/fingertips"},{icon:ok,label:"Codewars",href:"https://codewars.com/users/Fingertips"}],ej=({active:e,isMounted:t})=>{const n=iu(),r=o=>{const i=document.getElementById(o);i&&(n==null||n.scrollTo(i))};return c.jsx("nav",{className:"hidden lg:flex-center px-4 flex-grow",children:c.jsx("ul",{className:ce("flex-center gap-x-10 transition-opacity duration-1000 ease-in-out",t?"opacity-100":"opacity-0"),children:iy.map((o,i)=>c.jsx("li",{className:ce("capitalize text-sm font-semibold leading-none hover:scale-95 transition-all cursor-pointer hover:drop-shadow-primary-glow hover:text-accent",e===o.label&&"text-accent"),onClick:()=>r(o.label),children:o.label},`${o.label}-${i}`))})})};var v1="Dialog",[ay,ly]=ho(v1),[tj,zn]=ay(v1),cy=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:s=!0}=e,a=p.useRef(null),l=p.useRef(null),[u=!1,f]=lu({prop:r,defaultProp:o,onChange:i});return c.jsx(tj,{scope:t,triggerRef:a,contentRef:l,contentId:Ro(),titleId:Ro(),descriptionId:Ro(),open:u,onOpenChange:f,onOpenToggle:p.useCallback(()=>f(d=>!d),[f]),modal:s,children:n})};cy.displayName=v1;var uy="DialogTrigger",dy=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=zn(uy,n),i=ct(t,o.triggerRef);return c.jsx(Qe.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":w1(o.open),...r,ref:i,onClick:ve(e.onClick,o.onOpenToggle)})});dy.displayName=uy;var y1="DialogPortal",[nj,fy]=ay(y1,{forceMount:void 0}),hy=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=zn(y1,t);return c.jsx(nj,{scope:t,forceMount:n,children:p.Children.map(r,s=>c.jsx(Cr,{present:n||i.open,children:c.jsx(s1,{asChild:!0,container:o,children:s})}))})};hy.displayName=y1;var _c="DialogOverlay",py=p.forwardRef((e,t)=>{const n=fy(_c,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=zn(_c,e.__scopeDialog);return i.modal?c.jsx(Cr,{present:r||i.open,children:c.jsx(rj,{...o,ref:t})}):null});py.displayName=_c;var rj=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=zn(_c,n);return c.jsx(a1,{as:Jr,allowPinchZoom:!0,shards:[o.contentRef],children:c.jsx(Qe.div,{"data-state":w1(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),$o="DialogContent",my=p.forwardRef((e,t)=>{const n=fy($o,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=zn($o,e.__scopeDialog);return c.jsx(Cr,{present:r||i.open,children:i.modal?c.jsx(oj,{...o,ref:t}):c.jsx(ij,{...o,ref:t})})});my.displayName=$o;var oj=p.forwardRef((e,t)=>{const n=zn($o,e.__scopeDialog),r=p.useRef(null),o=ct(t,n.contentRef,r);return p.useEffect(()=>{const i=r.current;if(i)return Wv(i)},[]),c.jsx(gy,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ve(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),(s=n.triggerRef.current)==null||s.focus()}),onPointerDownOutside:ve(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,a=s.button===0&&s.ctrlKey===!0;(s.button===2||a)&&i.preventDefault()}),onFocusOutside:ve(e.onFocusOutside,i=>i.preventDefault())})}),ij=p.forwardRef((e,t)=>{const n=zn($o,e.__scopeDialog),r=p.useRef(!1),o=p.useRef(!1);return c.jsx(gy,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var s,a;(s=e.onCloseAutoFocus)==null||s.call(e,i),i.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{var l,u;(l=e.onInteractOutside)==null||l.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=i.target;((u=n.triggerRef.current)==null?void 0:u.contains(s))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),gy=p.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...s}=e,a=zn($o,n),l=p.useRef(null),u=ct(t,l);return hv(),c.jsxs(c.Fragment,{children:[c.jsx(X0,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:c.jsx(cu,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":w1(a.open),...s,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),c.jsxs(c.Fragment,{children:[c.jsx(aj,{titleId:a.titleId}),c.jsx(cj,{contentRef:l,descriptionId:a.descriptionId})]})]})}),x1="DialogTitle",vy=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=zn(x1,n);return c.jsx(Qe.h2,{id:o.titleId,...r,ref:t})});vy.displayName=x1;var yy="DialogDescription",xy=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=zn(yy,n);return c.jsx(Qe.p,{id:o.descriptionId,...r,ref:t})});xy.displayName=yy;var wy="DialogClose",by=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=zn(wy,n);return c.jsx(Qe.button,{type:"button",...r,ref:t,onClick:ve(e.onClick,()=>o.onOpenChange(!1))})});by.displayName=wy;function w1(e){return e?"open":"closed"}var Sy="DialogTitleWarning",[sj,Cy]=ob(Sy,{contentName:$o,titleName:x1,docsSlug:"dialog"}),aj=({titleId:e})=>{const t=Cy(Sy),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. + */var bu=p,LE=OE;function IE(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var FE=typeof Object.is=="function"?Object.is:IE,zE=LE.useSyncExternalStore,$E=bu.useRef,VE=bu.useEffect,BE=bu.useMemo,UE=bu.useDebugValue;a3.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=$E(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=BE(function(){function l(y){if(!u){if(u=!0,f=y,y=r(y),o!==void 0&&s.hasValue){var x=s.value;if(o(x,y))return d=x}return d=y}if(x=d,FE(f,y))return x;var v=r(y);return o!==void 0&&o(x,v)?x:(f=y,d=v)}var u=!1,f,d,h=n===void 0?null:n;return[function(){return l(t())},h===null?void 0:function(){return l(h())}]},[t,n,r,o]);var a=zE(e,i[0],i[1]);return VE(function(){s.hasValue=!0,s.value=a},[a]),UE(a),a};s3.exports=a3;var HE=s3.exports;const WE=Zf(HE),u3={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1},{useDebugValue:ZE}=F,{useSyncExternalStoreWithSelector:GE}=WE;let Wp=!1;const KE=e=>e;function YE(e,t=KE,n){(u3?"production":void 0)!=="production"&&n&&!Wp&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),Wp=!0);const r=GE(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return ZE(r),r}const Zp=e=>{(u3?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?EE(e):e,n=(r,o)=>YE(t,r,o);return Object.assign(n,t),n},QE=e=>e?Zp(e):Zp;var at=(e=>(e.about="about",e.skills="skills",e.experience="experience",e.projects="projects",e.education="education",e.contact="contact",e))(at||{}),mo=(e=>(e.rootSection="root-section",e))(mo||{}),Nn=(e=>(e.web="web",e.mobile="mobile",e))(Nn||{}),_s=(e=>(e.college="college",e.seniorHigh="senior-high",e.juniorHigh="junior-high",e.elementary="elementary",e))(_s||{});const XE=QE(CE(e=>({active:at.about,onActive:t=>e({active:t}),onClear:()=>e({active:at.about})}),{name:"root-section",storage:i3(()=>sessionStorage)})),JE=e=>{const[t,n]=p.useState();return p.useEffect(()=>{n(document.querySelectorAll(e))},[e]),t},d3="#31A8FF",qE=p.forwardRef(function({title:t="Adobe Photoshop",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=d3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M9.85 8.42c-.37-.15-.77-.21-1.18-.2-.26 0-.49 0-.68.01-.2-.01-.34 0-.41.01v3.36c.14.01.27.02.39.02h.53c.39 0 .78-.06 1.15-.18.32-.09.6-.28.82-.53.21-.25.31-.59.31-1.03.01-.31-.07-.62-.23-.89-.17-.26-.41-.46-.7-.57zM19.75.3H4.25C1.9.3 0 2.2 0 4.55v14.899c0 2.35 1.9 4.25 4.25 4.25h15.5c2.35 0 4.25-1.9 4.25-4.25V4.55C24 2.2 22.1.3 19.75.3zm-7.391 11.65c-.399.56-.959.98-1.609 1.22-.68.25-1.43.34-2.25.34-.24 0-.4 0-.5-.01s-.24-.01-.43-.01v3.209c.01.07-.04.131-.11.141H5.52c-.08 0-.12-.041-.12-.131V6.42c0-.07.03-.11.1-.11.17 0 .33 0 .56-.01.24-.01.49-.01.76-.02s.56-.01.87-.02c.31-.01.61-.01.91-.01.82 0 1.5.1 2.06.31.5.17.96.45 1.34.82.32.32.57.71.73 1.14.149.42.229.85.229 1.3.001.86-.199 1.57-.6 2.13zm7.091 3.89c-.28.4-.671.709-1.12.891-.49.209-1.09.318-1.811.318-.459 0-.91-.039-1.359-.129-.35-.061-.7-.17-1.02-.32-.07-.039-.121-.109-.111-.189v-1.74c0-.029.011-.07.041-.09.029-.02.06-.01.09.01.39.23.8.391 1.24.49.379.1.779.15 1.18.15.38 0 .65-.051.83-.141.16-.07.27-.24.27-.42 0-.141-.08-.27-.24-.4-.16-.129-.489-.279-.979-.471-.51-.18-.979-.42-1.42-.719-.31-.221-.569-.51-.761-.85-.159-.32-.239-.67-.229-1.021 0-.43.12-.84.341-1.21.25-.4.619-.72 1.049-.92.469-.239 1.059-.349 1.769-.349.41 0 .83.03 1.24.09.3.04.59.12.86.23.039.01.08.05.1.09.01.04.02.08.02.12v1.63c0 .04-.02.08-.05.1-.09.02-.14.02-.18 0-.3-.16-.62-.27-.96-.34-.37-.08-.74-.13-1.12-.13-.2-.01-.41.02-.601.07-.129.03-.24.1-.31.2-.05.08-.08.18-.08.27s.04.18.101.26c.09.11.209.2.34.27.229.12.47.23.709.33.541.18 1.061.43 1.541.73.33.209.6.49.789.83.16.318.24.67.23 1.029.011.471-.129.94-.389 1.331z"})]})}),f3="#3DDC84",ek=p.forwardRef(function({title:t="Android Studio",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=f3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M19.2693 10.3368c-.3321 0-.6026.2705-.6026.6031v9.8324h-1.7379l-3.3355-6.9396c.476-.5387.6797-1.286.5243-2.0009a2.2862 2.2862 0 0 0-1.2893-1.6248v-.8124c.0121-.2871-.1426-.5787-.4043-.7407-.1391-.0825-.2884-.1234-.4402-.1234a.8478.8478 0 0 0-.4318.1182c-.2701.1671-.4248.4587-.4123.7662l-.0003.721c-1.0149.3668-1.6619 1.4153-1.4867 2.5197a2.282 2.282 0 0 0 .5916 1.2103l-3.2096 6.9064H4.0928c-1.0949-.007-1.9797-.8948-1.9832-1.9896V5.016c-.0055 1.1024.8836 2.0006 1.9859 2.0062a2.024 2.024 0 0 0 .1326-.0037h14.7453s2.5343-.2189 2.8619 1.5392c-.2491.0287-.4449.2321-.4449.4889 0 .7115-.5791 1.2901-1.3028 1.2901h-.8183zM17.222 22.5366c.2347.4837.0329 1.066-.4507 1.3007-.1296.0629-.2666.0895-.4018.0927a.9738.9738 0 0 1-.3194-.0455c-.024-.0078-.046-.0209-.0694-.0305a.9701.9701 0 0 1-.2277-.1321c-.0247-.0192-.0495-.038-.0724-.0598-.0825-.0783-.1574-.1672-.21-.2757l-1.2554-2.6143-1.5585-3.2452a.7725.7725 0 0 0-.6995-.4443h-.0024a.792.792 0 0 0-.7083.4443l-1.5109 3.2452-1.2321 2.6464a.9722.9722 0 0 1-.7985.5795c-.0626.0053-.1238-.0024-.185-.0087-.0344-.0036-.069-.0053-.1025-.0124-.0489-.0103-.0954-.0278-.142-.0452-.0301-.0113-.0613-.0197-.0901-.0339-.0496-.0244-.0948-.0565-.1397-.0889-.0217-.0156-.0457-.0275-.0662-.045a.9862.9862 0 0 1-.1695-.1844.9788.9788 0 0 1-.0708-.9852l.8469-1.8223 3.2676-7.0314a1.7964 1.7964 0 0 1-.7072-1.1637c-.1555-.9799.5129-1.9003 1.4928-2.0559V9.3946a.3542.3542 0 0 1 .1674-.3155.3468.3468 0 0 1 .3541 0 .354.354 0 0 1 .1674.3155v1.159l.0129.0064a1.8028 1.8028 0 0 1 1.2878 1.378 1.7835 1.7835 0 0 1-.6439 1.7836l3.3889 7.0507.8481 1.7643zM12.9841 12.306c.0042-.6081-.4854-1.1044-1.0935-1.1085a1.1204 1.1204 0 0 0-.7856.3219 1.101 1.101 0 0 0-.323.7716c-.0042.6081.4854 1.1044 1.0935 1.1085h.0077c.6046 0 1.0967-.488 1.1009-1.0935zm-1.027 5.2768c-.1119.0005-.2121.0632-.2571.1553l-1.4127 3.0342h3.3733l-1.4564-3.0328a.274.274 0 0 0-.2471-.1567zm8.1432-6.7459l-.0129-.0001h-.8177a.103.103 0 0 0-.103.103v12.9103a.103.103 0 0 0 .0966.103h.8435c.9861-.0035 1.7836-.804 1.7836-1.79V9.0468c0 .9887-.8014 1.7901-1.7901 1.7901zM2.6098 5.0161v.019c.0039.816.6719 1.483 1.4874 1.4869a12.061 12.061 0 0 1 .1309-.0034h1.1286c.1972-1.315.7607-2.525 1.638-3.4859H4.0993c-.9266.0031-1.6971.6401-1.9191 1.4975.2417.0355.4296.235.4296.4859zm6.3381-2.8977L7.9112.3284a.219.219 0 0 1 0-.2189A.2384.2384 0 0 1 8.098 0a.219.219 0 0 1 .1867.1094l1.0496 1.8158a6.4907 6.4907 0 0 1 5.3186 0L15.696.1094a.2189.2189 0 0 1 .3734.2189l-1.0302 1.79c1.6671.9125 2.7974 2.5439 3.0975 4.4018l-12.286-.0014c.3004-1.8572 1.4305-3.488 3.0972-4.4003zm5.3774 2.6202a.515.515 0 0 0 .5271.5028.515.515 0 0 0 .5151-.5151.5213.5213 0 0 0-.8885-.367.5151.5151 0 0 0-.1537.3793zm-5.7178-.0067a.5151.5151 0 0 0 .5207.5095.5086.5086 0 0 0 .367-.1481.5215.5215 0 1 0-.734-.7341.515.515 0 0 0-.1537.3727z"})]})}),h3="#0052CC",tk=p.forwardRef(function({title:t="Bitbucket",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=h3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M.778 1.213a.768.768 0 00-.768.892l3.263 19.81c.084.5.515.868 1.022.873H19.95a.772.772 0 00.77-.646l3.27-20.03a.768.768 0 00-.768-.891zM14.52 15.53H9.522L8.17 8.466h7.561z"})]})}),p3="#7952B3",nk=p.forwardRef(function({title:t="Bootstrap",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=p3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M11.77 11.24H9.956V8.202h2.152c1.17 0 1.834.522 1.834 1.466 0 1.008-.773 1.572-2.174 1.572zm.324 1.206H9.957v3.348h2.231c1.459 0 2.232-.585 2.232-1.685s-.795-1.663-2.326-1.663zM24 11.39v1.218c-1.128.108-1.817.944-2.226 2.268-.407 1.319-.463 2.937-.42 4.186.045 1.3-.968 2.5-2.337 2.5H4.985c-1.37 0-2.383-1.2-2.337-2.5.043-1.249-.013-2.867-.42-4.186-.41-1.324-1.1-2.16-2.228-2.268V11.39c1.128-.108 1.819-.944 2.227-2.268.408-1.319.464-2.937.42-4.186-.045-1.3.968-2.5 2.338-2.5h14.032c1.37 0 2.382 1.2 2.337 2.5-.043 1.249.013 2.867.42 4.186.409 1.324 1.098 2.16 2.226 2.268zm-7.927 2.817c0-1.354-.953-2.333-2.368-2.488v-.057c1.04-.169 1.856-1.135 1.856-2.213 0-1.537-1.213-2.538-3.062-2.538h-4.16v10.172h4.181c2.218 0 3.553-1.086 3.553-2.876z"})]})}),m3="#6C47FF",rk=p.forwardRef(function({title:t="Clerk",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=m3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"m21.47 20.829-2.881-2.881a.572.572 0 0 0-.7-.084 6.854 6.854 0 0 1-7.081 0 .576.576 0 0 0-.7.084l-2.881 2.881a.576.576 0 0 0-.103.69.57.57 0 0 0 .166.186 12 12 0 0 0 14.113 0 .58.58 0 0 0 .239-.423.576.576 0 0 0-.172-.453Zm.002-17.668-2.88 2.88a.569.569 0 0 1-.701.084A6.857 6.857 0 0 0 8.724 8.08a6.862 6.862 0 0 0-1.222 3.692 6.86 6.86 0 0 0 .978 3.764.573.573 0 0 1-.083.699l-2.881 2.88a.567.567 0 0 1-.864-.063A11.993 11.993 0 0 1 6.771 2.7a11.99 11.99 0 0 1 14.637-.405.566.566 0 0 1 .232.418.57.57 0 0 1-.168.448Zm-7.118 12.261a3.427 3.427 0 1 0 0-6.854 3.427 3.427 0 0 0 0 6.854Z"})]})}),ok="#B1361E",ik=p.forwardRef(function({title:t="Codewars",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=ok),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M1.072.142A1.072 1.072 0 0 0 0 1.214v21.572a1.072 1.072 0 0 0 1.072 1.072h21.856A1.072 1.072 0 0 0 24 22.786V1.214A1.072 1.072 0 0 0 22.928.142zm9.736 1.818a.904.904 0 0 1 .828.539.784.784 0 0 1 1.274.493.639.639 0 0 1 .29-.06c.33.008.59.262.625.575a1.322 1.322 0 0 1 .624-.515 1.325 1.325 0 0 1 1.718.71 1.098 1.098 0 0 1 .306-.236 1.102 1.102 0 0 1 1.483.479 1.094 1.094 0 0 1 .12.47.994.994 0 0 1 1.322 1.214.904.904 0 0 1 .874 1.438.784.784 0 0 1 .176 1.356.639.639 0 0 1 .19.224.642.642 0 0 1-.011.613 1.326 1.326 0 0 1 .482.235 1.334 1.334 0 0 1 .258 1.842 1.098 1.098 0 0 1 .35.15 1.102 1.102 0 0 1 .337 1.516 1.094 1.094 0 0 1-.344.344.994.994 0 0 1 .228 1.318 1.006 1.006 0 0 1-.605.434.904.904 0 0 1-.803 1.482.814.814 0 0 0-.008-.04.784.784 0 0 1-1.075.873.639.639 0 0 1-.098.28.625.625 0 0 1-.43.288 1.33 1.33 0 0 1 .023.456 1.334 1.334 0 0 1-1.44 1.173 1.098 1.098 0 0 1 .054.377 1.102 1.102 0 0 1-1.128 1.072 1.098 1.098 0 0 1-.47-.12.994.994 0 0 1-1.696.583.904.904 0 0 1-1.685.075.784.784 0 0 1-1.274-.493.639.639 0 0 1-.29.064.64.64 0 0 1-.621-.58l.004-.007a1.326 1.326 0 0 1-.632.523 1.334 1.334 0 0 1-1.718-.706 1.098 1.098 0 0 1-.306.232 1.102 1.102 0 0 1-1.48-.478 1.094 1.094 0 0 1-.123-.471.994.994 0 0 1-1.318-1.21.904.904 0 0 1-.874-1.442.784.784 0 0 1-.176-1.356.639.639 0 0 1-.194-.224.642.642 0 0 1 .011-.61l.019.004a1.326 1.326 0 0 1-.497-.239 1.334 1.334 0 0 1-.262-1.845 1.098 1.098 0 0 1-.35-.146 1.102 1.102 0 0 1-.337-1.52 1.094 1.094 0 0 1 .347-.34A.994.994 0 0 1 2.88 9a.904.904 0 0 1 .803-1.48.784.784 0 0 1 1.083-.836.639.639 0 0 1 .098-.28.649.649 0 0 1 .433-.288 1.33 1.33 0 0 1-.026-.452A1.334 1.334 0 0 1 6.716 4.49a1.098 1.098 0 0 1-.06-.377 1.101 1.101 0 0 1 1.13-1.073 1.094 1.094 0 0 1 .47.115.994.994 0 0 1 1.696-.579.904.904 0 0 1 .857-.617zM3.683 7.519a.784.784 0 0 0 .008.041l-.004-.04a.904.904 0 0 0-.004-.001zM17.502 19.61a1.098 1.098 0 0 0-.002-.004h-.037a1.334 1.334 0 0 0 .039.004zM13.825 3.507a1.322 1.322 0 0 0-.008.012l.008-.011zm-2.369-.014l-.003.003a.9.9 0 0 1-.665.27.896.896 0 0 1-.583-.232.994.994 0 0 1-.986.732.99.99 0 0 1-.362-.075 1.098 1.098 0 0 1-1.061 1.046 1.326 1.326 0 0 1 .123.736 1.334 1.334 0 0 1-.725 1.035 1.1 1.1 0 0 1 .307.795 1.106 1.106 0 0 1-.232.65c.321.18.53.523.523.915a1.016 1.016 0 0 1-.07.337.915.915 0 0 1 .82.937.923.923 0 0 1-.01.138.74.74 0 0 1 .157-.01c.343.007.627.25.702.57a.661.661 0 0 1 .38-.111c.31.007.561.224.632.511a.418.418 0 0 1 .381-.015 1.352 1.352 0 0 1 .303-.63.418.418 0 0 1-.12-.143.422.422 0 0 1 .004-.392.665.665 0 0 1-.325-1.117.736.736 0 0 1-.359-.336.74.74 0 0 1 .385-1.023.747.747 0 0 0-.06.026.915.915 0 0 1-.201-.262.915.915 0 0 1 .623-1.315V6.53a1.02 1.02 0 0 1 .437-1.371 1.012 1.012 0 0 1 .553-.112 1.11 1.11 0 0 1 .598-1.054 1.12 1.12 0 0 1 .06-.026.642.642 0 0 1-.109-.21.784.784 0 0 1-.455.132.784.784 0 0 1-.662-.396zm4.573 1.512a1.326 1.326 0 0 1-.587.46 1.334 1.334 0 0 1-1.255-.142v-.011a1.11 1.11 0 0 1-.553.66 1.106 1.106 0 0 1-.683.113 1.02 1.02 0 0 1-.553.889 1.016 1.016 0 0 1-.329.105.918.918 0 0 1-.43 1.169.923.923 0 0 1-.127.056.74.74 0 0 1 .086.13.738.738 0 0 1-.168.89.661.661 0 0 1 .28.283.655.655 0 0 1-.149.796.418.418 0 0 1 .153.164c.019.034.03.068.038.101a1.356 1.356 0 0 1 .672-.015.422.422 0 0 1 .056-.142.422.422 0 0 1 .34-.194.665.665 0 0 1 .796-.848.736.736 0 0 1 .112-.478.733.733 0 0 1 1.016-.224.915.915 0 0 1 .127-.306.915.915 0 0 1 1.27-.28.915.915 0 0 1 .179.153 1.02 1.02 0 0 1 1.408-.314 1.012 1.012 0 0 1 .374.422c.355-.24.833-.261 1.214-.015a1.11 1.11 0 0 1 .209.172.642.642 0 0 1 .082-.108.784.784 0 0 1-.332-.337.784.784 0 0 1 .03-.77.9.9 0 0 1-.553-.455.896.896 0 0 1-.075-.624.994.994 0 0 1-1.117-.511.994.994 0 0 1-.104-.359 1.098 1.098 0 0 1-1.427-.43zM5.249 7.37a.784.784 0 0 1-.124.46.784.784 0 0 1-.68.362c.06.235.026.49-.112.71a.896.896 0 0 1-.5.377c.31.325.373.829.12 1.225a.99.99 0 0 1-.255.269 1.098 1.098 0 0 1 .351 1.45 1.326 1.326 0 0 1 .691.276 1.334 1.334 0 0 1 .512 1.154c.28-.064.579-.019.84.15a1.106 1.106 0 0 1 .438.53 1.02 1.02 0 0 1 1.05.03 1.016 1.016 0 0 1 .257.231.914.914 0 0 1 1.225-.224.919.919 0 0 1 .112.086.74.74 0 0 1 .071-.142.74.74 0 0 1 .852-.306.661.661 0 0 1 .1-.381.664.664 0 0 1 .763-.273.418.418 0 0 1 .246-.373 1.36 1.36 0 0 1-.358-.523v-.008a.418.418 0 0 1-.25.075.422.422 0 0 1-.344-.19.665.665 0 0 1-1.132-.243.736.736 0 0 1-.47.149.733.733 0 0 1-.718-.755.915.915 0 0 1-.329.049.915.915 0 0 1-.855-1.177h-.004a1.016 1.016 0 0 1-.993-1.042 1.012 1.012 0 0 1 .168-.534 1.11 1.11 0 0 1-.64-1.035 1.11 1.11 0 0 1 .068-.358.65.65 0 0 1-.1-.019zm11.127 2.133a.913.913 0 0 1-1.225.224.926.926 0 0 1-.112-.082.74.74 0 0 1-.067.142.74.74 0 0 1-.852.302.661.661 0 0 1-.105.385.662.662 0 0 1-.762.277.418.418 0 0 1-.063.212.426.426 0 0 1-.075.086 1.356 1.356 0 0 1 .314.564.418.418 0 0 1 .187-.04.422.422 0 0 1 .343.194.665.665 0 0 1 1.136.242.736.736 0 0 1 .467-.153c.41.008.728.348.72.755a.74.74 0 0 1 0 .008v-.005a.915.915 0 0 1 .326-.052.915.915 0 0 1 .896.941.919.919 0 0 1-.037.236c.564.015 1.008.482.993 1.046a1.012 1.012 0 0 1-.168.534 1.11 1.11 0 0 1 .647 1.035 1.11 1.11 0 0 1-.075.362l.004-.007.1.018a.784.784 0 0 1 .124-.46.784.784 0 0 1 .68-.362.9.9 0 0 1 .112-.71.896.896 0 0 1 .504-.373.994.994 0 0 1-.123-1.225.99.99 0 0 1 .257-.269 1.098 1.098 0 0 1-.35-1.453 1.326 1.326 0 0 1-.696-.273h-.003a1.334 1.334 0 0 1-.512-1.158 1.082 1.082 0 0 1-.837-.145 1.106 1.106 0 0 1-.44-.535 1.02 1.02 0 0 1-1.05-.026 1.016 1.016 0 0 1-.258-.235zm-.094 3.116l-.007.066a.74.74 0 0 0 .007-.066zm-2.864-.259a1.36 1.36 0 0 1-.363.598.418.418 0 0 1 .194.187.422.422 0 0 1-.007.396.665.665 0 0 1 .329 1.113.736.736 0 0 1 .358.336.739.739 0 0 1-.32.994.915.915 0 0 1 .197.261.91.91 0 0 1-.396 1.233.919.919 0 0 1-.224.082v.004a1.02 1.02 0 0 1-.44 1.374 1.012 1.012 0 0 1-.55.109 1.11 1.11 0 0 1-.661 1.083.642.642 0 0 1 .112.21.026.026 0 0 1-.004 0v.003a.784.784 0 0 1 .456-.134.784.784 0 0 1 .661.392.9.9 0 0 1 .665-.27.896.896 0 0 1 .587.236.994.994 0 0 1 .982-.736.99.99 0 0 1 .362.079v.022a1.1 1.1 0 0 1 1.061-1.072 1.326 1.326 0 0 1-.123-.736c.056-.46.34-.837.725-1.035l.003.004a1.102 1.102 0 0 1-.31-.795 1.106 1.106 0 0 1 .232-.654 1.02 1.02 0 0 1-.452-1.251.915.915 0 0 1-.822-.934.923.923 0 0 1 .011-.142.74.74 0 0 1-.157.015.74.74 0 0 1-.698-.572.661.661 0 0 1-.385.112.667.667 0 0 1-.627-.512.418.418 0 0 1-.217.053.418.418 0 0 1-.18-.045zm-.964.93a1.36 1.36 0 0 1-.336.042c-.112 0-.22-.012-.322-.038a.418.418 0 0 1-.06.295.422.422 0 0 1-.343.195.665.665 0 0 1-.792.844.736.736 0 0 1-.112.478.74.74 0 0 1-1.02.224.915.915 0 0 1-.127.306.915.915 0 0 1-1.266.28.919.919 0 0 1-.183-.153v.004a1.02 1.02 0 0 1-1.408.31 1.012 1.012 0 0 1-.374-.418c-.355.239-.83.261-1.214.015a1.113 1.113 0 0 1-.21-.172.65.65 0 0 1-.081.105.784.784 0 0 1 .336.336.784.784 0 0 1-.034.77.89.89 0 0 1 .553.455.896.896 0 0 1 .075.624.994.994 0 0 1 1.12.515.99.99 0 0 1 .101.355 1.098 1.098 0 0 1 1.431.43 1.326 1.326 0 0 1 .587-.46c.43-.172.896-.104 1.255.142a1.106 1.106 0 0 1 .549-.65 1.106 1.106 0 0 1 .683-.108 1.02 1.02 0 0 1 .553-.893 1.02 1.02 0 0 1 .333-.104.916.916 0 0 1 .425-1.17.919.919 0 0 1 .131-.052.736.736 0 0 1-.09-.134.738.738 0 0 1 .169-.886.661.661 0 0 1-.28-.284.67.67 0 0 1 .149-.799.418.418 0 0 1-.15-.164.418.418 0 0 1-.048-.24z"})]})}),g3="#1572B6",sk=p.forwardRef(function({title:t="CSS3",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=g3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M1.5 0h21l-1.91 21.563L11.977 24l-8.565-2.438L1.5 0zm17.09 4.413L5.41 4.41l.213 2.622 10.125.002-.255 2.716h-6.64l.24 2.573h6.182l-.366 3.523-2.91.804-2.956-.81-.188-2.11h-2.61l.29 3.855L12 19.288l5.373-1.53L18.59 4.414z"})]})}),v3="#0175C2",ak=p.forwardRef(function({title:t="Dart",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=v3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M4.105 4.105S9.158 1.58 11.684.316a3.079 3.079 0 0 1 1.481-.315c.766.047 1.677.788 1.677.788L24 9.948v9.789h-4.263V24H9.789l-9-9C.303 14.5 0 13.795 0 13.105c0-.319.18-.818.316-1.105l3.789-7.895zm.679.679v11.787c.002.543.021 1.024.498 1.508L10.204 23h8.533v-4.263L4.784 4.784zm12.055-.678c-.899-.896-1.809-1.78-2.74-2.643-.302-.267-.567-.468-1.07-.462-.37.014-.87.195-.87.195L6.341 4.105l10.498.001z"})]})}),y3="#000000",lk=p.forwardRef(function({title:t="Express",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=y3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M24 18.588a1.529 1.529 0 01-1.895-.72l-3.45-4.771-.5-.667-4.003 5.444a1.466 1.466 0 01-1.802.708l5.158-6.92-4.798-6.251a1.595 1.595 0 011.9.666l3.576 4.83 3.596-4.81a1.435 1.435 0 011.788-.668L21.708 7.9l-2.522 3.283a.666.666 0 000 .994l4.804 6.412zM.002 11.576l.42-2.075c1.154-4.103 5.858-5.81 9.094-3.27 1.895 1.489 2.368 3.597 2.275 5.973H1.116C.943 16.447 4.005 19.009 7.92 17.7a4.078 4.078 0 002.582-2.876c.207-.666.548-.78 1.174-.588a5.417 5.417 0 01-2.589 3.957 6.272 6.272 0 01-7.306-.933 6.575 6.575 0 01-1.64-3.858c0-.235-.08-.455-.134-.666A88.33 88.33 0 010 11.577zm1.127-.286h9.654c-.06-3.076-2.001-5.258-4.59-5.278-2.882-.04-4.944 2.094-5.071 5.264z"})]})}),x3="#F24E1E",ck=p.forwardRef(function({title:t="Figma",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=x3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M15.852 8.981h-4.588V0h4.588c2.476 0 4.49 2.014 4.49 4.49s-2.014 4.491-4.49 4.491zM12.735 7.51h3.117c1.665 0 3.019-1.355 3.019-3.019s-1.355-3.019-3.019-3.019h-3.117V7.51zm0 1.471H8.148c-2.476 0-4.49-2.014-4.49-4.49S5.672 0 8.148 0h4.588v8.981zm-4.587-7.51c-1.665 0-3.019 1.355-3.019 3.019s1.354 3.02 3.019 3.02h3.117V1.471H8.148zm4.587 15.019H8.148c-2.476 0-4.49-2.014-4.49-4.49s2.014-4.49 4.49-4.49h4.588v8.98zM8.148 8.981c-1.665 0-3.019 1.355-3.019 3.019s1.355 3.019 3.019 3.019h3.117V8.981H8.148zM8.172 24c-2.489 0-4.515-2.014-4.515-4.49s2.014-4.49 4.49-4.49h4.588v4.441c0 2.503-2.047 4.539-4.563 4.539zm-.024-7.51a3.023 3.023 0 0 0-3.019 3.019c0 1.665 1.365 3.019 3.044 3.019 1.705 0 3.093-1.376 3.093-3.068v-2.97H8.148zm7.704 0h-.098c-2.476 0-4.49-2.014-4.49-4.49s2.014-4.49 4.49-4.49h.098c2.476 0 4.49 2.014 4.49 4.49s-2.014 4.49-4.49 4.49zm-.097-7.509c-1.665 0-3.019 1.355-3.019 3.019s1.355 3.019 3.019 3.019h.098c1.665 0 3.019-1.355 3.019-3.019s-1.355-3.019-3.019-3.019h-.098z"})]})}),w3="#DD2C00",uk=p.forwardRef(function({title:t="Firebase",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=w3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M19.455 8.369c-.538-.748-1.778-2.285-3.681-4.569-.826-.991-1.535-1.832-1.884-2.245a146 146 0 0 0-.488-.576l-.207-.245-.113-.133-.022-.032-.01-.005L12.57 0l-.609.488c-1.555 1.246-2.828 2.851-3.681 4.64-.523 1.064-.864 2.105-1.043 3.176-.047.241-.088.489-.121.738-.209-.017-.421-.028-.632-.033-.018-.001-.035-.002-.059-.003a7.46 7.46 0 0 0-2.28.274l-.317.089-.163.286c-.765 1.342-1.198 2.869-1.252 4.416-.07 2.01.477 3.954 1.583 5.625 1.082 1.633 2.61 2.882 4.42 3.611l.236.095.071.025.003-.001a9.59 9.59 0 0 0 2.941.568q.171.006.342.006c1.273 0 2.513-.249 3.69-.742l.008.004.313-.145a9.63 9.63 0 0 0 3.927-3.335c1.01-1.49 1.577-3.234 1.641-5.042.075-2.161-.643-4.304-2.133-6.371m-7.083 6.695c.328 1.244.264 2.44-.191 3.558-1.135-1.12-1.967-2.352-2.475-3.665-.543-1.404-.87-2.74-.974-3.975.48.157.922.366 1.315.622 1.132.737 1.914 1.902 2.325 3.461zm.207 6.022c.482.368.99.712 1.513 1.028-.771.21-1.565.302-2.369.273a8 8 0 0 1-.373-.022c.458-.394.869-.823 1.228-1.279zm1.347-6.431c-.516-1.957-1.527-3.437-3.002-4.398-.647-.421-1.385-.741-2.194-.95.011-.134.026-.268.043-.4.014-.113.03-.216.046-.313.133-.689.332-1.37.589-2.025.099-.25.206-.499.321-.74l.004-.008c.177-.358.376-.719.61-1.105l.092-.152-.003-.001c.544-.851 1.197-1.627 1.942-2.311l.288.341c.672.796 1.304 1.548 1.878 2.237 1.291 1.549 2.966 3.583 3.612 4.48 1.277 1.771 1.893 3.579 1.83 5.375-.049 1.395-.461 2.755-1.195 3.933-.694 1.116-1.661 2.05-2.8 2.708-.636-.318-1.559-.839-2.539-1.599.79-1.575.952-3.28.479-5.072zm-2.575 5.397c-.725.939-1.587 1.55-2.09 1.856-.081-.029-.163-.06-.243-.093l-.065-.026c-1.49-.616-2.747-1.656-3.635-3.01-.907-1.384-1.356-2.993-1.298-4.653.041-1.19.338-2.327.882-3.379.316-.07.638-.114.96-.131l.084-.002c.162-.003.324-.003.478 0 .227.011.454.035.677.07.073 1.513.445 3.145 1.105 4.852.637 1.644 1.694 3.162 3.144 4.515z"})]})}),b3="#02569B",dk=p.forwardRef(function({title:t="Flutter",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=b3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M14.314 0L2.3 12 6 15.7 21.684.013h-7.357zm.014 11.072L7.857 17.53l6.47 6.47H21.7l-6.46-6.468 6.46-6.46h-7.37z"})]})}),S3="#F05032",fk=p.forwardRef(function({title:t="Git",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=S3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M23.546 10.93L13.067.452c-.604-.603-1.582-.603-2.188 0L8.708 2.627l2.76 2.76c.645-.215 1.379-.07 1.889.441.516.515.658 1.258.438 1.9l2.658 2.66c.645-.223 1.387-.078 1.9.435.721.72.721 1.884 0 2.604-.719.719-1.881.719-2.6 0-.539-.541-.674-1.337-.404-1.996L12.86 8.955v6.525c.176.086.342.203.488.348.713.721.713 1.883 0 2.6-.719.721-1.889.721-2.609 0-.719-.719-.719-1.879 0-2.598.182-.18.387-.316.605-.406V8.835c-.217-.091-.424-.222-.6-.401-.545-.545-.676-1.342-.396-2.009L7.636 3.7.45 10.881c-.6.605-.6 1.584 0 2.189l10.48 10.477c.604.604 1.582.604 2.186 0l10.43-10.43c.605-.603.605-1.582 0-2.187"})]})}),C3="#181717",_3=p.forwardRef(function({title:t="GitHub",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=C3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})}),E3="#222222",hk=p.forwardRef(function({title:t="GitHub Pages",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=E3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M14.088 13.126h-.296V9.858h.998c.815 0 1.094.47 1.094.98s-.28.98-1.094.98h-.701v1.308zm0-1.582h.74a.642.642 0 0 0 .733-.705.642.642 0 0 0-.732-.706h-.741zm2.881-.37a1.913 1.913 0 0 0-.653.11v-.262a1.756 1.756 0 0 1 .653-.118c.654 0 .824.297.824.732v1.49h-.17l-.066-.174a1.143 1.143 0 0 1-.657.218.663.663 0 0 1-.763-.702c0-.37.205-.645.776-.68l.575-.035v-.122c0-.318-.113-.457-.519-.457zm-.078.85c-.31.03-.445.192-.445.445 0 .196.048.431.462.431a1.056 1.056 0 0 0 .58-.174v-.758zm1.86.493a.252.252 0 0 0-.083.16c0 .11.053.158.166.17l.74.088c.41.044.598.205.598.584 0 .532-.532.74-1.133.74-.61 0-.976-.178-.976-.657a.609.609 0 0 1 .449-.575v-.005a.321.321 0 0 1-.14-.287.392.392 0 0 1 .166-.297.746.746 0 0 1-.349-.714c0-.449.192-.82.85-.82a1.36 1.36 0 0 1 .349.044h.74v.165l-.365.105a.908.908 0 0 1 .126.505c0 .449-.192.82-.85.82a1.397 1.397 0 0 1-.288-.027zm.127.588c-.288.065-.532.2-.532.48 0 .322.244.413.693.413.435 0 .845-.109.845-.48 0-.221-.105-.309-.37-.34zm.727-1.381c0-.288-.056-.554-.566-.554-.51 0-.567.266-.567.554 0 .288.057.553.567.553.51 0 .566-.266.566-.554zm1.637-.82c.74 0 .828.506.828 1.133v.14h-1.438c.018.379.118.723.61.723a1.665 1.665 0 0 0 .719-.122v.261a1.765 1.765 0 0 1-.719.131c-.736 0-.915-.505-.915-1.133s.179-1.133.915-1.133zm-.61 1.024h1.133c0-.387-.022-.753-.523-.753-.506 0-.597.36-.61.753zm2.601-.052c.619.057.767.266.767.623 0 .336-.213.671-.876.671a2.147 2.147 0 0 1-.649-.109V12.8a1.924 1.924 0 0 0 .654.1c.453 0 .575-.192.575-.397 0-.2-.061-.34-.492-.374-.632-.057-.763-.28-.763-.58 0-.31.2-.645.815-.645a1.627 1.627 0 0 1 .627.11v.26a1.799 1.799 0 0 0-.631-.1c-.432 0-.523.162-.523.376 0 .19.078.29.496.326zm-20.787-.659H1.38a.05.05 0 0 0-.05.05v.522a.05.05 0 0 0 .05.05h.416v.649a1.267 1.267 0 0 1-.351.032c-.305 0-.731-.112-.731-1.048s.443-1.06.86-1.06a1.69 1.69 0 0 1 .614.094.05.05 0 0 0 .06-.05l.12-.504a.047.047 0 0 0-.02-.039 1.715 1.715 0 0 0-.903-.165C.73 9.748 0 10.05 0 11.508s.837 1.675 1.542 1.675a1.736 1.736 0 0 0 .938-.25.043.043 0 0 0 .016-.038v-1.628a.05.05 0 0 0-.05-.05zm5.545-1.294a.05.05 0 0 0-.05-.05H7.34a.05.05 0 0 0-.05.05v1.161h-.936V9.923a.05.05 0 0 0-.05-.05h-.6a.05.05 0 0 0-.05.05v3.145a.05.05 0 0 0 .05.05h.6a.05.05 0 0 0 .05-.05v-1.345h.937l-.002 1.345a.05.05 0 0 0 .05.05h.603a.05.05 0 0 0 .05-.05zm-4.389.412a.388.388 0 1 0-.387.392.39.39 0 0 0 .387-.392zm-.042 2.068v-1.451a.05.05 0 0 0-.05-.05h-.6a.057.057 0 0 0-.051.056v2.08c0 .06.038.079.087.079h.54c.06 0 .074-.03.074-.08zm6.764-1.497h-.597a.05.05 0 0 0-.05.05v1.542a.673.673 0 0 1-.367.11c-.215 0-.272-.097-.272-.307v-1.344a.05.05 0 0 0-.05-.05h-.604a.05.05 0 0 0-.05.05v1.446c0 .626.348.779.828.779a1.398 1.398 0 0 0 .71-.217 1.274 1.274 0 0 0 .022.128.052.052 0 0 0 .044.027l.385-.002a.05.05 0 0 0 .05-.05v-2.112a.05.05 0 0 0-.05-.05zm1.662-.07a1.121 1.121 0 0 0-.569.15V9.923a.05.05 0 0 0-.05-.05h-.602a.05.05 0 0 0-.05.05v3.145a.05.05 0 0 0 .05.05h.418a.05.05 0 0 0 .044-.027.973.973 0 0 0 .025-.144 1.08 1.08 0 0 0 .713.233c.548 0 .862-.278.862-1.248s-.502-1.095-.841-1.095zm-.235 1.771a.716.716 0 0 1-.347-.1v-.996a.793.793 0 0 1 .308-.1c.215-.019.422.046.422.558 0 .54-.094.647-.383.639zm-6.475-1.706h-.45l-.002-.595c0-.023-.011-.034-.037-.034h-.615c-.024 0-.036.01-.036.033v.615l-.33.08a.05.05 0 0 0-.035.048v.387a.05.05 0 0 0 .05.05h.315v.93c0 .692.484.76.812.76a1.375 1.375 0 0 0 .357-.06.046.046 0 0 0 .028-.044l.001-.426a.05.05 0 0 0-.05-.05c-.026 0-.094.01-.163.01-.221 0-.296-.102-.296-.236v-.884h.451a.05.05 0 0 0 .05-.05v-.484a.05.05 0 0 0-.05-.05z"})]})}),pk="#EA4335",mk=p.forwardRef(function({title:t="Gmail",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=pk),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M24 5.457v13.909c0 .904-.732 1.636-1.636 1.636h-3.819V11.73L12 16.64l-6.545-4.91v9.273H1.636A1.636 1.636 0 0 1 0 19.366V5.457c0-2.023 2.309-3.178 3.927-1.964L5.455 4.64 12 9.548l6.545-4.91 1.528-1.145C21.69 2.28 24 3.434 24 5.457z"})]})}),k3="#00ADD8",gk=p.forwardRef(function({title:t="Go",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=k3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M1.811 10.231c-.047 0-.058-.023-.035-.059l.246-.315c.023-.035.081-.058.128-.058h4.172c.046 0 .058.035.035.07l-.199.303c-.023.036-.082.07-.117.07zM.047 11.306c-.047 0-.059-.023-.035-.058l.245-.316c.023-.035.082-.058.129-.058h5.328c.047 0 .07.035.058.07l-.093.28c-.012.047-.058.07-.105.07zm2.828 1.075c-.047 0-.059-.035-.035-.07l.163-.292c.023-.035.07-.07.117-.07h2.337c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082zm12.129-2.36c-.736.187-1.239.327-1.963.514-.176.046-.187.058-.34-.117-.174-.199-.303-.327-.548-.444-.737-.362-1.45-.257-2.115.175-.795.514-1.204 1.274-1.192 2.22.011.935.654 1.706 1.577 1.835.795.105 1.46-.175 1.987-.77.105-.13.198-.27.315-.434H10.47c-.245 0-.304-.152-.222-.35.152-.362.432-.97.596-1.274a.315.315 0 01.292-.187h4.253c-.023.316-.023.631-.07.947a4.983 4.983 0 01-.958 2.29c-.841 1.11-1.94 1.8-3.33 1.986-1.145.152-2.209-.07-3.143-.77-.865-.655-1.356-1.52-1.484-2.595-.152-1.274.222-2.419.993-3.424.83-1.086 1.928-1.776 3.272-2.02 1.098-.2 2.15-.07 3.096.571.62.41 1.063.97 1.356 1.648.07.105.023.164-.117.2m3.868 6.461c-1.064-.024-2.034-.328-2.852-1.029a3.665 3.665 0 01-1.262-2.255c-.21-1.32.152-2.489.947-3.529.853-1.122 1.881-1.706 3.272-1.95 1.192-.21 2.314-.095 3.33.595.923.63 1.496 1.484 1.648 2.605.198 1.578-.257 2.863-1.344 3.962-.771.783-1.718 1.273-2.805 1.495-.315.06-.63.07-.934.106zm2.78-4.72c-.011-.153-.011-.27-.034-.387-.21-1.157-1.274-1.81-2.384-1.554-1.087.245-1.788.935-2.045 2.033-.21.912.234 1.835 1.075 2.21.643.28 1.285.244 1.905-.07.923-.48 1.425-1.228 1.484-2.233z"})]})}),j3="#F9AB00",vk=p.forwardRef(function({title:t="Google Colab",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=j3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M16.9414 4.9757a7.033 7.033 0 0 0-4.9308 2.0646 7.033 7.033 0 0 0-.1232 9.8068l2.395-2.395a3.6455 3.6455 0 0 1 5.1497-5.1478l2.397-2.3989a7.033 7.033 0 0 0-4.8877-1.9297zM7.07 4.9855a7.033 7.033 0 0 0-4.8878 1.9316l2.3911 2.3911a3.6434 3.6434 0 0 1 5.0227.1271l1.7341-2.9737-.0997-.0802A7.033 7.033 0 0 0 7.07 4.9855zm15.0093 2.1721l-2.3892 2.3911a3.6455 3.6455 0 0 1-5.1497 5.1497l-2.4067 2.4068a7.0362 7.0362 0 0 0 9.9456-9.9476zM1.932 7.1674a7.033 7.033 0 0 0-.002 9.6816l2.397-2.397a3.6434 3.6434 0 0 1-.004-4.8916zm7.664 7.4235c-1.38 1.3816-3.5863 1.411-5.0168.1134l-2.397 2.395c2.4693 2.3328 6.263 2.5753 9.0072.5455l.1368-.1115z"})]})}),N3="#E34F26",yk=p.forwardRef(function({title:t="HTML5",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=N3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438L1.5 0zm7.031 9.75l-.232-2.718 10.059.003.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426-2.91.804-2.955-.81-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443.744-8.157H8.531z"})]})}),R3="#F7DF1E",xk=p.forwardRef(function({title:t="JavaScript",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=R3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M0 0h24v24H0V0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.404-.601-.586-.78-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005-1.14 1.291-.811 3.541.569 4.471 1.365 1.02 3.361 1.244 3.616 2.205.24 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.666 6.871-1.004.029-.09.24-.705.074-1.65l.046.067zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179l.004-.056z"})]})}),T3="#F37626",wk=p.forwardRef(function({title:t="Jupyter",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=T3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M7.157 22.201A1.784 1.799 0 0 1 5.374 24a1.784 1.799 0 0 1-1.784-1.799 1.784 1.799 0 0 1 1.784-1.799 1.784 1.799 0 0 1 1.783 1.799zM20.582 1.427a1.415 1.427 0 0 1-1.415 1.428 1.415 1.427 0 0 1-1.416-1.428A1.415 1.427 0 0 1 19.167 0a1.415 1.427 0 0 1 1.415 1.427zM4.992 3.336A1.047 1.056 0 0 1 3.946 4.39a1.047 1.056 0 0 1-1.047-1.055A1.047 1.056 0 0 1 3.946 2.28a1.047 1.056 0 0 1 1.046 1.056zm7.336 1.517c3.769 0 7.06 1.38 8.768 3.424a9.363 9.363 0 0 0-3.393-4.547 9.238 9.238 0 0 0-5.377-1.728A9.238 9.238 0 0 0 6.95 3.73a9.363 9.363 0 0 0-3.394 4.547c1.713-2.04 5.004-3.424 8.772-3.424zm.001 13.295c-3.768 0-7.06-1.381-8.768-3.425a9.363 9.363 0 0 0 3.394 4.547A9.238 9.238 0 0 0 12.33 21a9.238 9.238 0 0 0 5.377-1.729 9.363 9.363 0 0 0 3.393-4.547c-1.712 2.044-5.003 3.425-8.772 3.425Z"})]})}),bk="#0A66C2",M3=p.forwardRef(function({title:t="LinkedIn",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=bk),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})]})}),P3="#47A248",Sk=p.forwardRef(function({title:t="MongoDB",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=P3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M17.193 9.555c-1.264-5.58-4.252-7.414-4.573-8.115-.28-.394-.53-.954-.735-1.44-.036.495-.055.685-.523 1.184-.723.566-4.438 3.682-4.74 10.02-.282 5.912 4.27 9.435 4.888 9.884l.07.05A73.49 73.49 0 0111.91 24h.481c.114-1.032.284-2.056.51-3.07.417-.296.604-.463.85-.693a11.342 11.342 0 003.639-8.464c.01-.814-.103-1.662-.197-2.218zm-5.336 8.195s0-8.291.275-8.29c.213 0 .49 10.695.49 10.695-.381-.045-.765-1.76-.765-2.405z"})]})}),D3="#4479A1",Ck=p.forwardRef(function({title:t="MySQL",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=D3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M16.405 5.501c-.115 0-.193.014-.274.033v.013h.014c.054.104.146.18.214.273.054.107.1.214.154.32l.014-.015c.094-.066.14-.172.14-.333-.04-.047-.046-.094-.08-.14-.04-.067-.126-.1-.18-.153zM5.77 18.695h-.927a50.854 50.854 0 00-.27-4.41h-.008l-1.41 4.41H2.45l-1.4-4.41h-.01a72.892 72.892 0 00-.195 4.41H0c.055-1.966.192-3.81.41-5.53h1.15l1.335 4.064h.008l1.347-4.064h1.095c.242 2.015.384 3.86.428 5.53zm4.017-4.08c-.378 2.045-.876 3.533-1.492 4.46-.482.716-1.01 1.073-1.583 1.073-.153 0-.34-.046-.566-.138v-.494c.11.017.24.026.386.026.268 0 .483-.075.647-.222.197-.18.295-.382.295-.605 0-.155-.077-.47-.23-.944L6.23 14.615h.91l.727 2.36c.164.536.233.91.205 1.123.4-1.064.678-2.227.835-3.483zm12.325 4.08h-2.63v-5.53h.885v4.85h1.745zm-3.32.135l-1.016-.5c.09-.076.177-.158.255-.25.433-.506.648-1.258.648-2.253 0-1.83-.718-2.746-2.155-2.746-.704 0-1.254.232-1.65.697-.43.508-.646 1.256-.646 2.245 0 .972.19 1.686.574 2.14.35.41.877.615 1.583.615.264 0 .506-.033.725-.098l1.325.772.36-.622zM15.5 17.588c-.225-.36-.337-.94-.337-1.736 0-1.393.424-2.09 1.27-2.09.443 0 .77.167.977.5.224.362.336.936.336 1.723 0 1.404-.424 2.108-1.27 2.108-.445 0-.77-.167-.978-.5zm-1.658-.425c0 .47-.172.856-.516 1.156-.344.3-.803.45-1.384.45-.543 0-1.064-.172-1.573-.515l.237-.476c.438.22.833.328 1.19.328.332 0 .593-.073.783-.22a.754.754 0 00.3-.615c0-.33-.23-.61-.648-.845-.388-.213-1.163-.657-1.163-.657-.422-.307-.632-.636-.632-1.177 0-.45.157-.81.47-1.085.315-.278.72-.415 1.22-.415.512 0 .98.136 1.4.41l-.213.476a2.726 2.726 0 00-1.064-.23c-.283 0-.502.068-.654.206a.685.685 0 00-.248.524c0 .328.234.61.666.85.393.215 1.187.67 1.187.67.433.305.648.63.648 1.168zm9.382-5.852c-.535-.014-.95.04-1.297.188-.1.04-.26.04-.274.167.055.053.063.14.11.214.08.134.218.313.346.407.14.11.28.216.427.31.26.16.555.255.81.416.145.094.293.213.44.313.073.05.12.14.214.172v-.02c-.046-.06-.06-.147-.105-.214-.067-.067-.134-.127-.2-.193a3.223 3.223 0 00-.695-.675c-.214-.146-.682-.35-.77-.595l-.013-.014c.146-.013.32-.066.46-.106.227-.06.435-.047.67-.106.106-.027.213-.06.32-.094v-.06c-.12-.12-.21-.283-.334-.395a8.867 8.867 0 00-1.104-.823c-.21-.134-.476-.22-.697-.334-.08-.04-.214-.06-.26-.127-.12-.146-.19-.34-.275-.514a17.69 17.69 0 01-.547-1.163c-.12-.262-.193-.523-.34-.763-.69-1.137-1.437-1.826-2.586-2.5-.247-.14-.543-.2-.856-.274-.167-.008-.334-.02-.5-.027-.11-.047-.216-.174-.31-.235-.38-.24-1.364-.76-1.644-.072-.18.434.267.862.422 1.082.115.153.26.328.34.5.047.116.06.235.107.356.106.294.207.622.347.897.073.14.153.287.247.413.054.073.146.107.167.227-.094.136-.1.334-.154.5-.24.757-.146 1.693.194 2.25.107.166.362.534.703.393.3-.12.234-.5.32-.835.02-.08.007-.133.048-.187v.015c.094.188.188.367.274.555.206.328.566.668.867.895.16.12.287.328.487.402v-.02h-.015c-.043-.058-.1-.086-.154-.133a3.445 3.445 0 01-.35-.4 8.76 8.76 0 01-.747-1.218c-.11-.21-.202-.436-.29-.643-.04-.08-.04-.2-.107-.24-.1.146-.247.273-.32.453-.127.288-.14.642-.188 1.01-.027.007-.014 0-.027.014-.214-.052-.287-.274-.367-.46-.2-.475-.233-1.238-.06-1.785.047-.14.247-.582.167-.716-.042-.127-.174-.2-.247-.303a2.478 2.478 0 01-.24-.427c-.16-.374-.24-.788-.414-1.162-.08-.173-.22-.354-.334-.513-.127-.18-.267-.307-.368-.52-.033-.073-.08-.194-.027-.274.014-.054.042-.075.094-.09.088-.072.335.022.422.062.247.1.455.194.662.334.094.066.195.193.315.226h.14c.214.047.455.014.655.073.355.114.675.28.962.46a5.953 5.953 0 012.085 2.286c.08.154.115.295.188.455.14.33.313.663.455.982.14.315.275.636.476.897.1.14.502.213.682.286.133.06.34.115.46.188.23.14.454.3.67.454.11.076.443.243.463.378z"})]})}),A3="#00C7B7",_k=p.forwardRef(function({title:t="Netlify",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=A3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M6.49 19.04h-.23L5.13 17.9v-.23l1.73-1.71h1.2l.15.15v1.2L6.5 19.04ZM5.13 6.31V6.1l1.13-1.13h.23L8.2 6.68v1.2l-.15.15h-1.2L5.13 6.31Zm9.96 9.09h-1.65l-.14-.13v-3.83c0-.68-.27-1.2-1.1-1.23-.42 0-.9 0-1.43.02l-.07.08v4.96l-.14.14H8.9l-.13-.14V8.73l.13-.14h3.7a2.6 2.6 0 0 1 2.61 2.6v4.08l-.13.14Zm-8.37-2.44H.14L0 12.82v-1.64l.14-.14h6.58l.14.14v1.64l-.14.14Zm17.14 0h-6.58l-.14-.14v-1.64l.14-.14h6.58l.14.14v1.64l-.14.14ZM11.05 6.55V1.64l.14-.14h1.65l.14.14v4.9l-.14.14h-1.65l-.14-.13Zm0 15.81v-4.9l.14-.14h1.65l.14.13v4.91l-.14.14h-1.65l-.14-.14Z"})]})}),O3="#000000",Ek=p.forwardRef(function({title:t="Next.js",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=O3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M18.665 21.978C16.758 23.255 14.465 24 12 24 5.377 24 0 18.623 0 12S5.377 0 12 0s12 5.377 12 12c0 3.583-1.574 6.801-4.067 9.001L9.219 7.2H7.2v9.596h1.615V9.251l9.85 12.727Zm-3.332-8.533 1.6 2.061V7.2h-1.6v6.245Z"})]})}),L3="#5FA04E",kk=p.forwardRef(function({title:t="Node.js",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=L3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M11.998,24c-0.321,0-0.641-0.084-0.922-0.247l-2.936-1.737c-0.438-0.245-0.224-0.332-0.08-0.383 c0.585-0.203,0.703-0.25,1.328-0.604c0.065-0.037,0.151-0.023,0.218,0.017l2.256,1.339c0.082,0.045,0.197,0.045,0.272,0l8.795-5.076 c0.082-0.047,0.134-0.141,0.134-0.238V6.921c0-0.099-0.053-0.192-0.137-0.242l-8.791-5.072c-0.081-0.047-0.189-0.047-0.271,0 L3.075,6.68C2.99,6.729,2.936,6.825,2.936,6.921v10.15c0,0.097,0.054,0.189,0.139,0.235l2.409,1.392 c1.307,0.654,2.108-0.116,2.108-0.89V7.787c0-0.142,0.114-0.253,0.256-0.253h1.115c0.139,0,0.255,0.112,0.255,0.253v10.021 c0,1.745-0.95,2.745-2.604,2.745c-0.508,0-0.909,0-2.026-0.551L2.28,18.675c-0.57-0.329-0.922-0.945-0.922-1.604V6.921 c0-0.659,0.353-1.275,0.922-1.603l8.795-5.082c0.557-0.315,1.296-0.315,1.848,0l8.794,5.082c0.57,0.329,0.924,0.944,0.924,1.603 v10.15c0,0.659-0.354,1.273-0.924,1.604l-8.794,5.078C12.643,23.916,12.324,24,11.998,24z M19.099,13.993 c0-1.9-1.284-2.406-3.987-2.763c-2.731-0.361-3.009-0.548-3.009-1.187c0-0.528,0.235-1.233,2.258-1.233 c1.807,0,2.473,0.389,2.747,1.607c0.024,0.115,0.129,0.199,0.247,0.199h1.141c0.071,0,0.138-0.031,0.186-0.081 c0.048-0.054,0.074-0.123,0.067-0.196c-0.177-2.098-1.571-3.076-4.388-3.076c-2.508,0-4.004,1.058-4.004,2.833 c0,1.925,1.488,2.457,3.895,2.695c2.88,0.282,3.103,0.703,3.103,1.269c0,0.983-0.789,1.402-2.642,1.402 c-2.327,0-2.839-0.584-3.011-1.742c-0.02-0.124-0.126-0.215-0.253-0.215h-1.137c-0.141,0-0.254,0.112-0.254,0.253 c0,1.482,0.806,3.248,4.655,3.248C17.501,17.007,19.099,15.91,19.099,13.993z"})]})}),I3="#000000",jk=p.forwardRef(function({title:t="Notion",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=I3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M4.459 4.208c.746.606 1.026.56 2.428.466l13.215-.793c.28 0 .047-.28-.046-.326L17.86 1.968c-.42-.326-.981-.7-2.055-.607L3.01 2.295c-.466.046-.56.28-.374.466zm.793 3.08v13.904c0 .747.373 1.027 1.214.98l14.523-.84c.841-.046.935-.56.935-1.167V6.354c0-.606-.233-.933-.748-.887l-15.177.887c-.56.047-.747.327-.747.933zm14.337.745c.093.42 0 .84-.42.888l-.7.14v10.264c-.608.327-1.168.514-1.635.514-.748 0-.935-.234-1.495-.933l-4.577-7.186v6.952L12.21 19s0 .84-1.168.84l-3.222.186c-.093-.186 0-.653.327-.746l.84-.233V9.854L7.822 9.76c-.094-.42.14-1.026.793-1.073l3.456-.233 4.764 7.279v-6.44l-1.215-.139c-.093-.514.28-.887.747-.933zM1.936 1.035l13.31-.98c1.634-.14 2.055-.047 3.082.7l4.249 2.986c.7.513.934.653.934 1.213v16.378c0 1.026-.373 1.634-1.68 1.726l-15.458.934c-.98.047-1.448-.093-1.962-.747l-3.129-4.06c-.56-.747-.793-1.306-.793-1.96V2.667c0-.839.374-1.54 1.447-1.632z"})]})}),F3="#4169E1",Nk=p.forwardRef(function({title:t="PostgreSQL",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=F3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M23.5594 14.7228a.5269.5269 0 0 0-.0563-.1191c-.139-.2632-.4768-.3418-1.0074-.2321-1.6533.3411-2.2935.1312-2.5256-.0191 1.342-2.0482 2.445-4.522 3.0411-6.8297.2714-1.0507.7982-3.5237.1222-4.7316a1.5641 1.5641 0 0 0-.1509-.235C21.6931.9086 19.8007.0248 17.5099.0005c-1.4947-.0158-2.7705.3461-3.1161.4794a9.449 9.449 0 0 0-.5159-.0816 8.044 8.044 0 0 0-1.3114-.1278c-1.1822-.0184-2.2038.2642-3.0498.8406-.8573-.3211-4.7888-1.645-7.2219.0788C.9359 2.1526.3086 3.8733.4302 6.3043c.0409.818.5069 3.334 1.2423 5.7436.4598 1.5065.9387 2.7019 1.4334 3.582.553.9942 1.1259 1.5933 1.7143 1.7895.4474.1491 1.1327.1441 1.8581-.7279.8012-.9635 1.5903-1.8258 1.9446-2.2069.4351.2355.9064.3625 1.39.3772a.0569.0569 0 0 0 .0004.0041 11.0312 11.0312 0 0 0-.2472.3054c-.3389.4302-.4094.5197-1.5002.7443-.3102.064-1.1344.2339-1.1464.8115-.0025.1224.0329.2309.0919.3268.2269.4231.9216.6097 1.015.6331 1.3345.3335 2.5044.092 3.3714-.6787-.017 2.231.0775 4.4174.3454 5.0874.2212.5529.7618 1.9045 2.4692 1.9043.2505 0 .5263-.0291.8296-.0941 1.7819-.3821 2.5557-1.1696 2.855-2.9059.1503-.8707.4016-2.8753.5388-4.1012.0169-.0703.0357-.1207.057-.1362.0007-.0005.0697-.0471.4272.0307a.3673.3673 0 0 0 .0443.0068l.2539.0223.0149.001c.8468.0384 1.9114-.1426 2.5312-.4308.6438-.2988 1.8057-1.0323 1.5951-1.6698zM2.371 11.8765c-.7435-2.4358-1.1779-4.8851-1.2123-5.5719-.1086-2.1714.4171-3.6829 1.5623-4.4927 1.8367-1.2986 4.8398-.5408 6.108-.13-.0032.0032-.0066.0061-.0098.0094-2.0238 2.044-1.9758 5.536-1.9708 5.7495-.0002.0823.0066.1989.0162.3593.0348.5873.0996 1.6804-.0735 2.9184-.1609 1.1504.1937 2.2764.9728 3.0892.0806.0841.1648.1631.2518.2374-.3468.3714-1.1004 1.1926-1.9025 2.1576-.5677.6825-.9597.5517-1.0886.5087-.3919-.1307-.813-.5871-1.2381-1.3223-.4796-.839-.9635-2.0317-1.4155-3.5126zm6.0072 5.0871c-.1711-.0428-.3271-.1132-.4322-.1772.0889-.0394.2374-.0902.4833-.1409 1.2833-.2641 1.4815-.4506 1.9143-1.0002.0992-.126.2116-.2687.3673-.4426a.3549.3549 0 0 0 .0737-.1298c.1708-.1513.2724-.1099.4369-.0417.156.0646.3078.26.3695.4752.0291.1016.0619.2945-.0452.4444-.9043 1.2658-2.2216 1.2494-3.1676 1.0128zm2.094-3.988-.0525.141c-.133.3566-.2567.6881-.3334 1.003-.6674-.0021-1.3168-.2872-1.8105-.8024-.6279-.6551-.9131-1.5664-.7825-2.5004.1828-1.3079.1153-2.4468.079-3.0586-.005-.0857-.0095-.1607-.0122-.2199.2957-.2621 1.6659-.9962 2.6429-.7724.4459.1022.7176.4057.8305.928.5846 2.7038.0774 3.8307-.3302 4.7363-.084.1866-.1633.3629-.2311.5454zm7.3637 4.5725c-.0169.1768-.0358.376-.0618.5959l-.146.4383a.3547.3547 0 0 0-.0182.1077c-.0059.4747-.054.6489-.115.8693-.0634.2292-.1353.4891-.1794 1.0575-.11 1.4143-.8782 2.2267-2.4172 2.5565-1.5155.3251-1.7843-.4968-2.0212-1.2217a6.5824 6.5824 0 0 0-.0769-.2266c-.2154-.5858-.1911-1.4119-.1574-2.5551.0165-.5612-.0249-1.9013-.3302-2.6462.0044-.2932.0106-.5909.019-.8918a.3529.3529 0 0 0-.0153-.1126 1.4927 1.4927 0 0 0-.0439-.208c-.1226-.4283-.4213-.7866-.7797-.9351-.1424-.059-.4038-.1672-.7178-.0869.067-.276.1831-.5875.309-.9249l.0529-.142c.0595-.16.134-.3257.213-.5012.4265-.9476 1.0106-2.2453.3766-5.1772-.2374-1.0981-1.0304-1.6343-2.2324-1.5098-.7207.0746-1.3799.3654-1.7088.5321a5.6716 5.6716 0 0 0-.1958.1041c.0918-1.1064.4386-3.1741 1.7357-4.4823a4.0306 4.0306 0 0 1 .3033-.276.3532.3532 0 0 0 .1447-.0644c.7524-.5706 1.6945-.8506 2.802-.8325.4091.0067.8017.0339 1.1742.081 1.939.3544 3.2439 1.4468 4.0359 2.3827.8143.9623 1.2552 1.9315 1.4312 2.4543-1.3232-.1346-2.2234.1268-2.6797.779-.9926 1.4189.543 4.1729 1.2811 5.4964.1353.2426.2522.4522.2889.5413.2403.5825.5515.9713.7787 1.2552.0696.087.1372.1714.1885.245-.4008.1155-1.1208.3825-1.0552 1.717-.0123.1563-.0423.4469-.0834.8148-.0461.2077-.0702.4603-.0994.7662zm.8905-1.6211c-.0405-.8316.2691-.9185.5967-1.0105a2.8566 2.8566 0 0 0 .135-.0406 1.202 1.202 0 0 0 .1342.103c.5703.3765 1.5823.4213 3.0068.1344-.2016.1769-.5189.3994-.9533.6011-.4098.1903-1.0957.333-1.7473.3636-.7197.0336-1.0859-.0807-1.1721-.151zm.5695-9.2712c-.0059.3508-.0542.6692-.1054 1.0017-.055.3576-.112.7274-.1264 1.1762-.0142.4368.0404.8909.0932 1.3301.1066.887.216 1.8003-.2075 2.7014a3.5272 3.5272 0 0 1-.1876-.3856c-.0527-.1276-.1669-.3326-.3251-.6162-.6156-1.1041-2.0574-3.6896-1.3193-4.7446.3795-.5427 1.3408-.5661 2.1781-.463zm.2284 7.0137a12.3762 12.3762 0 0 0-.0853-.1074l-.0355-.0444c.7262-1.1995.5842-2.3862.4578-3.4385-.0519-.4318-.1009-.8396-.0885-1.2226.0129-.4061.0666-.7543.1185-1.0911.0639-.415.1288-.8443.1109-1.3505.0134-.0531.0188-.1158.0118-.1902-.0457-.4855-.5999-1.938-1.7294-3.253-.6076-.7073-1.4896-1.4972-2.6889-2.0395.5251-.1066 1.2328-.2035 2.0244-.1859 2.0515.0456 3.6746.8135 4.8242 2.2824a.908.908 0 0 1 .0667.1002c.7231 1.3556-.2762 6.2751-2.9867 10.5405zm-8.8166-6.1162c-.025.1794-.3089.4225-.6211.4225a.5821.5821 0 0 1-.0809-.0056c-.1873-.026-.3765-.144-.5059-.3156-.0458-.0605-.1203-.178-.1055-.2844.0055-.0401.0261-.0985.0925-.1488.1182-.0894.3518-.1226.6096-.0867.3163.0441.6426.1938.6113.4186zm7.9305-.4114c.0111.0792-.049.201-.1531.3102-.0683.0717-.212.1961-.4079.2232a.5456.5456 0 0 1-.075.0052c-.2935 0-.5414-.2344-.5607-.3717-.024-.1765.2641-.3106.5611-.352.297-.0414.6111.0088.6356.1851z"})]})}),z3="#FF6C37",Rk=p.forwardRef(function({title:t="Postman",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=z3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M13.527.099C6.955-.744.942 3.9.099 10.473c-.843 6.572 3.8 12.584 10.373 13.428 6.573.843 12.587-3.801 13.428-10.374C24.744 6.955 20.101.943 13.527.099zm2.471 7.485a.855.855 0 0 0-.593.25l-4.453 4.453-.307-.307-.643-.643c4.389-4.376 5.18-4.418 5.996-3.753zm-4.863 4.861l4.44-4.44a.62.62 0 1 1 .847.903l-4.699 4.125-.588-.588zm.33.694l-1.1.238a.06.06 0 0 1-.067-.032.06.06 0 0 1 .01-.073l.645-.645.512.512zm-2.803-.459l1.172-1.172.879.878-1.979.426a.074.074 0 0 1-.085-.039.072.072 0 0 1 .013-.093zm-3.646 6.058a.076.076 0 0 1-.069-.083.077.077 0 0 1 .022-.046h.002l.946-.946 1.222 1.222-2.123-.147zm2.425-1.256a.228.228 0 0 0-.117.256l.203.865a.125.125 0 0 1-.211.117h-.003l-.934-.934-.294-.295 3.762-3.758 1.82-.393.874.874c-1.255 1.102-2.971 2.201-5.1 3.268zm5.279-3.428h-.002l-.839-.839 4.699-4.125a.952.952 0 0 0 .119-.127c-.148 1.345-2.029 3.245-3.977 5.091zm3.657-6.46l-.003-.002a1.822 1.822 0 0 1 2.459-2.684l-1.61 1.613a.119.119 0 0 0 0 .169l1.247 1.247a1.817 1.817 0 0 1-2.093-.343zm2.578 0a1.714 1.714 0 0 1-.271.218h-.001l-1.207-1.207 1.533-1.533c.661.72.637 1.832-.054 2.522zM18.855 6.05a.143.143 0 0 0-.053.157.416.416 0 0 1-.053.45.14.14 0 0 0 .023.197.141.141 0 0 0 .084.03.14.14 0 0 0 .106-.05.691.691 0 0 0 .087-.751.138.138 0 0 0-.194-.033z"})]})}),$3="#2D3748",Tk=p.forwardRef(function({title:t="Prisma",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=$3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M21.8068 18.2848L13.5528.7565c-.207-.4382-.639-.7273-1.1286-.7541-.5023-.0293-.9523.213-1.2062.6253L2.266 15.1271c-.2773.4518-.2718 1.0091.0158 1.4555l4.3759 6.7786c.2608.4046.7127.6388 1.1823.6388.1332 0 .267-.0188.3987-.0577l12.7019-3.7568c.3891-.1151.7072-.3904.8737-.7553s.1633-.7828-.0075-1.1454zm-1.8481.7519L9.1814 22.2242c-.3292.0975-.6448-.1873-.5756-.5194l3.8501-18.4386c.072-.3448.5486-.3996.699-.0803l7.1288 15.138c.1344.2856-.019.6224-.325.7128z"})]})}),V3="#3776AB",Mk=p.forwardRef(function({title:t="Python",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=V3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M14.25.18l.9.2.73.26.59.3.45.32.34.34.25.34.16.33.1.3.04.26.02.2-.01.13V8.5l-.05.63-.13.55-.21.46-.26.38-.3.31-.33.25-.35.19-.35.14-.33.1-.3.07-.26.04-.21.02H8.77l-.69.05-.59.14-.5.22-.41.27-.33.32-.27.35-.2.36-.15.37-.1.35-.07.32-.04.27-.02.21v3.06H3.17l-.21-.03-.28-.07-.32-.12-.35-.18-.36-.26-.36-.36-.35-.46-.32-.59-.28-.73-.21-.88-.14-1.05-.05-1.23.06-1.22.16-1.04.24-.87.32-.71.36-.57.4-.44.42-.33.42-.24.4-.16.36-.1.32-.05.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75-.02-.37.05-.34.11-.31.17-.28.25-.26.31-.23.38-.2.44-.18.51-.15.58-.12.64-.1.71-.06.77-.04.84-.02 1.27.05zm-6.3 1.98l-.23.33-.08.41.08.41.23.34.33.22.41.09.41-.09.33-.22.23-.34.08-.41-.08-.41-.23-.33-.33-.22-.41-.09-.41.09zm13.09 3.95l.28.06.32.12.35.18.36.27.36.35.35.47.32.59.28.73.21.88.14 1.04.05 1.23-.06 1.23-.16 1.04-.24.86-.32.71-.36.57-.4.45-.42.33-.42.24-.4.16-.36.09-.32.05-.24.02-.16-.01h-8.22v.82h5.84l.01 2.76.02.36-.05.34-.11.31-.17.29-.25.25-.31.24-.38.2-.44.17-.51.15-.58.13-.64.09-.71.07-.77.04-.84.01-1.27-.04-1.07-.14-.9-.2-.73-.25-.59-.3-.45-.33-.34-.34-.25-.34-.16-.33-.1-.3-.04-.25-.02-.2.01-.13v-5.34l.05-.64.13-.54.21-.46.26-.38.3-.32.33-.24.35-.2.35-.14.33-.1.3-.06.26-.04.21-.02.13-.01h5.84l.69-.05.59-.14.5-.21.41-.28.33-.32.27-.35.2-.36.15-.36.1-.35.07-.32.04-.28.02-.21V6.07h2.09l.14.01zm-6.47 14.25l-.23.33-.08.41.08.41.23.33.33.23.41.08.41-.08.33-.23.23-.33.08-.41-.08-.41-.23-.33-.33-.23-.41-.08-.41.08z"})]})}),B3="#61DAFB",Pk=p.forwardRef(function({title:t="React",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=B3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z"})]})}),U3="#EC5990",Dk=p.forwardRef(function({title:t="React Hook Form",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=U3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M10.7754 17.3477H5.8065a.2815.2815 0 1 0 0 .563h4.9689a.2815.2815 0 1 0 0-.563zm7.3195 0h-4.9688a.2815.2815 0 1 0 0 .563h4.9688a.2815.2815 0 0 0 0-.563zm-7.3336-6.475H5.8065a.2815.2815 0 1 0 0 .563h4.9548a.2815.2815 0 1 0 0-.563zm7.3195 0h-4.9547a.2815.2815 0 1 0 0 .563h4.9547a.2815.2815 0 0 0 0-.563zm.5518-9.2001h-4.341a2.4042 2.4042 0 0 0-4.5804 0H5.3674c-1.7103 0-3.0968 1.3864-3.0968 3.0967v16.134C2.2706 22.6135 3.6571 24 5.3674 24h13.2652c1.7103 0 3.0968-1.3865 3.0968-3.0967V4.7693c0-1.7103-1.3865-3.0967-3.0968-3.0967zm-8.7046.563a.2815.2815 0 0 0 .2815-.2224 1.8411 1.8411 0 0 1 3.5979 0 .2815.2815 0 0 0 .2815.2224h1.5146v1.844a.8446.8446 0 0 1-.8446.8446H9.2552a.8446.8446 0 0 1-.8446-.8446v-1.844Zm11.2383 18.6677c0 1.3993-1.1344 2.5337-2.5337 2.5337H5.3674c-1.3993 0-2.5337-1.1344-2.5337-2.5337V4.7693c0-1.3993 1.1344-2.5337 2.5337-2.5337h2.4802v1.844c0 .7774.6302 1.4076 1.4076 1.4076h5.4896c.7774 0 1.4076-.6302 1.4076-1.4076v-1.844h2.4802c1.3993 0 2.5337 1.1344 2.5337 2.5337z"})]})}),H3="#764ABC",Ak=p.forwardRef(function({title:t="Redux",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=H3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M16.634 16.504c.87-.075 1.543-.84 1.5-1.754-.047-.914-.796-1.648-1.709-1.648h-.061a1.71 1.71 0 00-1.648 1.769c.03.479.226.869.494 1.153-1.048 2.038-2.621 3.536-5.005 4.795-1.603.838-3.296 1.154-4.944.93-1.378-.195-2.456-.81-3.116-1.799-.988-1.499-1.078-3.116-.255-4.734.6-1.17 1.499-2.023 2.099-2.443a9.96 9.96 0 01-.42-1.543C-.868 14.408-.416 18.752.932 20.805c1.004 1.498 3.057 2.456 5.304 2.456.6 0 1.23-.044 1.843-.194 3.897-.749 6.848-3.086 8.541-6.532zm5.348-3.746c-2.32-2.728-5.738-4.226-9.634-4.226h-.51c-.253-.554-.837-.899-1.498-.899h-.045c-.943 0-1.678.81-1.647 1.753.03.898.794 1.648 1.708 1.648h.074a1.69 1.69 0 001.499-1.049h.555c2.309 0 4.495.674 6.488 1.992 1.527 1.005 2.622 2.323 3.237 3.897.538 1.288.509 2.547-.045 3.597-.855 1.647-2.294 2.517-4.196 2.517-1.199 0-2.367-.375-2.967-.644-.36.298-.96.793-1.394 1.093 1.318.598 2.652.943 3.94.943 2.922 0 5.094-1.647 5.919-3.236.898-1.798.824-4.824-1.47-7.416zM6.49 17.042c.03.899.793 1.648 1.708 1.648h.06a1.688 1.688 0 001.648-1.768c0-.9-.779-1.647-1.693-1.647h-.06c-.06 0-.15 0-.226.029-1.243-2.098-1.768-4.347-1.572-6.772.12-1.828.72-3.417 1.797-4.735.9-1.124 2.593-1.68 3.747-1.708 3.236-.061 4.585 3.971 4.689 5.574l1.498.45C17.741 3.197 14.686.62 11.764.62 9.02.62 6.49 2.613 5.47 5.535 4.077 9.43 4.991 13.177 6.7 16.174c-.15.195-.24.539-.21.868z"})]})}),W3="#1D1D1D",Ok=p.forwardRef(function({title:t="Rive",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=W3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M.643 1.475c0 .814.668 1.475 1.49 1.475H14.49c1.408 0 2.568.43 3.48 1.29.91.861 1.366 1.967 1.366 3.32 0 1.25-.456 2.274-1.367 3.072-.911.78-2.07 1.168-3.479 1.168H9.12c-.824 0-1.491.66-1.491 1.475 0 .815.667 1.475 1.491 1.475h5.93l5.342 8.482c.332.512.797.768 1.398.768.663 0 1.129-.256 1.398-.768.269-.533.217-1.096-.155-1.69l-4.753-7.56c1.284-.574 2.299-1.414 3.044-2.52.746-1.127 1.119-2.427 1.119-3.902 0-1.496-.342-2.807-1.026-3.934-.662-1.127-1.594-2.008-2.795-2.643C17.42.327 16.044 0 14.49 0H2.134C1.311 0 .643.66.643 1.475Z"})]})}),Z3="#000000",Lk=p.forwardRef(function({title:t="shadcn/ui",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=Z3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M22.219 11.784 11.784 22.219c-.407.407-.407 1.068 0 1.476.407.407 1.068.407 1.476 0L23.695 13.26c.407-.408.407-1.069 0-1.476-.408-.407-1.069-.407-1.476 0ZM20.132.305.305 20.132c-.407.407-.407 1.068 0 1.476.408.407 1.069.407 1.476 0L21.608 1.781c.407-.407.407-1.068 0-1.476-.408-.407-1.069-.407-1.476 0Z"})]})}),Ik="#00AFF0",Fk=p.forwardRef(function({title:t="Skype",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=Ik),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M12.069 18.874c-4.023 0-5.82-1.979-5.82-3.464 0-.765.561-1.296 1.333-1.296 1.723 0 1.273 2.477 4.487 2.477 1.641 0 2.55-.895 2.55-1.811 0-.551-.269-1.16-1.354-1.429l-3.576-.895c-2.88-.724-3.403-2.286-3.403-3.751 0-3.047 2.861-4.191 5.549-4.191 2.471 0 5.393 1.373 5.393 3.199 0 .784-.688 1.24-1.453 1.24-1.469 0-1.198-2.037-4.164-2.037-1.469 0-2.292.664-2.292 1.617s1.153 1.258 2.157 1.487l2.637.587c2.891.649 3.624 2.346 3.624 3.944 0 2.476-1.902 4.324-5.722 4.324m11.084-4.882l-.029.135-.044-.24c.015.045.044.074.059.12.12-.675.181-1.363.181-2.052 0-1.529-.301-3.012-.898-4.42-.569-1.348-1.395-2.562-2.427-3.596-1.049-1.033-2.247-1.856-3.595-2.426-1.318-.631-2.801-.93-4.328-.93-.72 0-1.444.07-2.143.204l.119.06-.239-.033.119-.025C8.91.274 7.829 0 6.731 0c-1.789 0-3.47.698-4.736 1.967C.729 3.235.032 4.923.032 6.716c0 1.143.292 2.265.844 3.258l.02-.124.041.239-.06-.115c-.114.645-.172 1.299-.172 1.955 0 1.53.3 3.017.884 4.416.568 1.362 1.378 2.576 2.427 3.609 1.034 1.05 2.247 1.857 3.595 2.442 1.394.6 2.877.898 4.404.898.659 0 1.334-.06 1.977-.179l-.119-.062.24.046-.135.03c1.002.569 2.126.871 3.294.871 1.783 0 3.459-.69 4.733-1.963 1.259-1.259 1.962-2.951 1.962-4.749 0-1.138-.299-2.262-.853-3.266"})]})}),zk="#F58025",$k=p.forwardRef(function({title:t="Stack Overflow",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=zk),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M15.725 0l-1.72 1.277 6.39 8.588 1.716-1.277L15.725 0zm-3.94 3.418l-1.369 1.644 8.225 6.85 1.369-1.644-8.225-6.85zm-3.15 4.465l-.905 1.94 9.702 4.517.904-1.94-9.701-4.517zm-1.85 4.86l-.44 2.093 10.473 2.201.44-2.092-10.473-2.203zM1.89 15.47V24h19.19v-8.53h-2.133v6.397H4.021v-6.396H1.89zm4.265 2.133v2.13h10.66v-2.13H6.154Z"})]})}),G3="#3FCF8E",Vk=p.forwardRef(function({title:t="Supabase",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=G3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M11.9 1.036c-.015-.986-1.26-1.41-1.874-.637L.764 12.05C-.33 13.427.65 15.455 2.409 15.455h9.579l.113 7.51c.014.985 1.259 1.408 1.873.636l9.262-11.653c1.093-1.375.113-3.403-1.645-3.403h-9.642z"})]})}),K3="#85EA2D",Bk=p.forwardRef(function({title:t="Swagger",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=K3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M12 0C5.383 0 0 5.383 0 12s5.383 12 12 12c6.616 0 12-5.383 12-12S18.616 0 12 0zm0 1.144c5.995 0 10.856 4.86 10.856 10.856 0 5.995-4.86 10.856-10.856 10.856-5.996 0-10.856-4.86-10.856-10.856C1.144 6.004 6.004 1.144 12 1.144zM8.37 5.868a6.707 6.707 0 0 0-.423.005c-.983.056-1.573.517-1.735 1.472-.115.665-.096 1.348-.143 2.017-.013.35-.05.697-.115 1.038-.134.609-.397.798-1.016.83a2.65 2.65 0 0 0-.244.042v1.463c1.126.055 1.278.452 1.37 1.629.033.429-.013.858.015 1.287.018.406.073.808.156 1.2.259 1.075 1.307 1.435 2.575 1.218v-1.283c-.203 0-.383.005-.558 0-.43-.013-.591-.12-.632-.535-.056-.535-.042-1.08-.075-1.62-.064-1.001-.175-1.988-1.153-2.625.503-.37.868-.812.983-1.398.083-.41.134-.821.166-1.237.028-.415-.023-.84.014-1.25.06-.665.102-.937.9-.91.12 0 .235-.017.369-.027v-1.31c-.16 0-.31-.004-.454-.006zm7.593.009a4.247 4.247 0 0 0-.813.06v1.274c.245 0 .434 0 .623.005.328.004.577.13.61.494.032.332.031.669.064 1.006.065.669.101 1.347.217 2.007.102.544.475.95.941 1.283-.817.549-1.057 1.333-1.098 2.215-.023.604-.037 1.213-.069 1.822-.028.554-.222.734-.78.748-.157.004-.31.018-.484.028v1.305c.327 0 .627.019.927 0 .932-.055 1.495-.507 1.68-1.412.078-.498.124-1 .138-1.504.032-.461.028-.927.074-1.384.069-.715.397-1.01 1.112-1.057a.972.972 0 0 0 .199-.046v-1.463c-.12-.014-.204-.027-.291-.032-.536-.023-.804-.203-.937-.71a5.146 5.146 0 0 1-.152-.993c-.037-.618-.033-1.241-.074-1.86-.08-1.192-.794-1.753-1.887-1.786zm-6.89 5.28a.844.844 0 0 0-.083 1.684h.055a.83.83 0 0 0 .877-.78v-.046a.845.845 0 0 0-.83-.858zm2.911 0a.808.808 0 0 0-.834.78c0 .027 0 .05.004.078 0 .503.342.826.859.826.507 0 .826-.332.826-.853-.005-.503-.342-.836-.855-.831zm2.963 0a.861.861 0 0 0-.876.835c0 .47.378.849.849.849h.009c.425.074.853-.337.881-.83.023-.457-.392-.854-.863-.854z"})]})}),Y3="#06B6D4",Uk=p.forwardRef(function({title:t="Tailwind CSS",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=Y3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M12.001,4.8c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 C13.666,10.618,15.027,12,18.001,12c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C16.337,6.182,14.976,4.8,12.001,4.8z M6.001,12c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 c1.177,1.194,2.538,2.576,5.512,2.576c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C10.337,13.382,8.976,12,6.001,12z"})]})}),Q3="#FF6F00",Hk=p.forwardRef(function({title:t="TensorFlow",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=Q3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M1.292 5.856L11.54 0v24l-4.095-2.378V7.603l-6.168 3.564.015-5.31zm21.43 5.311l-.014-5.31L12.46 0v24l4.095-2.378V14.87l3.092 1.788-.018-4.618-3.074-1.756V7.603l6.168 3.564z"})]})}),X3="#0052CC",Wk=p.forwardRef(function({title:t="Trello",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=X3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M21.147 0H2.853A2.86 2.86 0 000 2.853v18.294A2.86 2.86 0 002.853 24h18.294A2.86 2.86 0 0024 21.147V2.853A2.86 2.86 0 0021.147 0zM10.34 17.287a.953.953 0 01-.953.953h-4a.954.954 0 01-.954-.953V5.38a.953.953 0 01.954-.953h4a.954.954 0 01.953.953zm9.233-5.467a.944.944 0 01-.953.947h-4a.947.947 0 01-.953-.947V5.38a.953.953 0 01.953-.953h4a.954.954 0 01.953.953z"})]})}),J3="#262627";p.forwardRef(function({title:t="Typeform",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=J3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M15.502 13.035c-.5 0-.756-.411-.756-.917 0-.505.252-.894.756-.894.513 0 .756.407.756.894-.004.515-.261.917-.756.917Zm-4.888-1.81c.292 0 .414.17.414.317 0 .357-.365.514-1.126.536 0-.442.253-.854.712-.854Zm-3.241 1.81c-.473 0-.67-.384-.67-.917 0-.527.202-.894.67-.894.477 0 .702.38.702.894 0 .537-.234.917-.702.917Zm-3.997-2.334h-.738l1.224 2.808c-.234.519-.36.648-.522.648-.171 0-.333-.138-.45-.259l-.324.43c.22.232.522.366.832.366.387 0 .685-.224.856-.626l1.413-3.371h-.725l-.738 2.012-.828-2.008Zm19.553.523c.36 0 .432.246.432.823v1.516H24v-1.914c0-.689-.473-.988-.91-.988-.386 0-.742.241-.94.688a.901.901 0 0 0-.891-.688c-.365 0-.73.232-.927.666v-.626h-.64v2.857h.64v-1.22c0-.617.324-1.114.765-1.114.36 0 .427.246.427.823v1.516h.64l-.005-1.225c0-.617.329-1.114.77-1.114Zm-5.1-.523h-.324v2.857h.639v-1.095c0-.693.306-1.163.76-1.163.118 0 .217.005.325.05l.099-.676c-.081-.009-.153-.018-.225-.018-.45 0-.774.309-.964.707V10.7h-.31Zm-2.327-.045c-.846 0-1.418.644-1.418 1.458 0 .845.58 1.475 1.418 1.475.85 0 1.431-.648 1.431-1.475-.004-.818-.594-1.458-1.431-1.458Zm-4.852 2.38c-.333 0-.581-.17-.685-.515.847-.036 1.675-.242 1.675-.988 0-.43-.423-.872-1.03-.872-.82 0-1.374.666-1.374 1.457 0 .828.545 1.476 1.36 1.476.567 0 .927-.228 1.21-.559l-.31-.42c-.329.335-.531.42-.846.42Zm-3.151-2.38c-.324 0-.648.188-.774.483v-.438h-.64v3.98h.64v-1.422c.135.205.445.34.72.34.85 0 1.3-.631 1.3-1.48-.004-.841-.445-1.463-1.246-1.463Zm-4.483-1.1H0v.622h1.18v3.38h.67v-3.38h1.166v-.622Zm9.502 1.145h-.383v.572h.383v2.285h.639v-2.285h.621v-.572h-.621v-.447c0-.286.117-.385.382-.385.1 0 .19.027.311.068l.144-.537c-.117-.067-.351-.094-.504-.094-.612 0-.972.367-.972 1.002v.393Z"})]})});const Zk="#3178C6",Gk=p.forwardRef(function({title:t="TypeScript",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=Zk),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M1.125 0C.502 0 0 .502 0 1.125v21.75C0 23.498.502 24 1.125 24h21.75c.623 0 1.125-.502 1.125-1.125V1.125C24 .502 23.498 0 22.875 0zm17.363 9.75c.612 0 1.154.037 1.627.111a6.38 6.38 0 0 1 1.306.34v2.458a3.95 3.95 0 0 0-.643-.361 5.093 5.093 0 0 0-.717-.26 5.453 5.453 0 0 0-1.426-.2c-.3 0-.573.028-.819.086a2.1 2.1 0 0 0-.623.242c-.17.104-.3.229-.393.374a.888.888 0 0 0-.14.49c0 .196.053.373.156.529.104.156.252.304.443.444s.423.276.696.41c.273.135.582.274.926.416.47.197.892.407 1.266.628.374.222.695.473.963.753.268.279.472.598.614.957.142.359.214.776.214 1.253 0 .657-.125 1.21-.373 1.656a3.033 3.033 0 0 1-1.012 1.085 4.38 4.38 0 0 1-1.487.596c-.566.12-1.163.18-1.79.18a9.916 9.916 0 0 1-1.84-.164 5.544 5.544 0 0 1-1.512-.493v-2.63a5.033 5.033 0 0 0 3.237 1.2c.333 0 .624-.03.872-.09.249-.06.456-.144.623-.25.166-.108.29-.234.373-.38a1.023 1.023 0 0 0-.074-1.089 2.12 2.12 0 0 0-.537-.5 5.597 5.597 0 0 0-.807-.444 27.72 27.72 0 0 0-1.007-.436c-.918-.383-1.602-.852-2.053-1.405-.45-.553-.676-1.222-.676-2.005 0-.614.123-1.141.369-1.582.246-.441.58-.804 1.004-1.089a4.494 4.494 0 0 1 1.47-.629 7.536 7.536 0 0 1 1.77-.201zm-15.113.188h9.563v2.166H9.506v9.646H6.789v-9.646H3.375z"})]})}),q3="#FFFFFF",Kk=p.forwardRef(function({title:t="Unity",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=q3),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"m12.9288 4.2939 3.7997 2.1929c.1366.077.1415.2905 0 .3675l-4.515 2.6076a.4192.4192 0 0 1-.4246 0L7.274 6.8543c-.139-.0745-.1415-.293 0-.3675l3.7972-2.193V0L1.3758 5.5977V16.793l3.7177-2.1456v-4.3858c-.0025-.1565.1813-.2682.318-.1838l4.5148 2.6076a.4252.4252 0 0 1 .2136.3676v5.2127c.0025.1565-.1813.2682-.3179.1838l-3.7996-2.1929-3.7178 2.1457L12 24l9.6954-5.5977-3.7178-2.1457-3.7996 2.1929c-.1341.082-.3229-.0248-.3179-.1838V13.053c0-.1565.087-.2956.2136-.3676l4.5149-2.6076c.134-.082.3228.0224.3179.1838v4.3858l3.7177 2.1456V5.5977L12.9288 0Z"})]})}),ey="#000000",Yk=p.forwardRef(function({title:t="Vercel",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=ey),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M24 22.525H0l12-21.05 12 21.05z"})]})}),ty="#5C2D91",Qk=p.forwardRef(function({title:t="Visual Studio",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=ty),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M17.583.063a1.5 1.5 0 00-1.032.392 1.5 1.5 0 00-.001 0A.88.88 0 0016.5.5L8.528 9.316 3.875 5.5l-.407-.35a1 1 0 00-1.024-.154 1 1 0 00-.012.005l-1.817.75a1 1 0 00-.077.036 1 1 0 00-.047.028 1 1 0 00-.038.022 1 1 0 00-.048.034 1 1 0 00-.03.024 1 1 0 00-.044.036 1 1 0 00-.036.033 1 1 0 00-.032.035 1 1 0 00-.033.038 1 1 0 00-.035.044 1 1 0 00-.024.034 1 1 0 00-.032.05 1 1 0 00-.02.035 1 1 0 00-.024.05 1 1 0 00-.02.045 1 1 0 00-.016.044 1 1 0 00-.016.047 1 1 0 00-.015.055 1 1 0 00-.01.04 1 1 0 00-.008.054 1 1 0 00-.006.05A1 1 0 000 6.668v10.666a1 1 0 00.615.917l1.817.764a1 1 0 001.035-.164l.408-.35 4.653-3.815 7.973 8.815a1.5 1.5 0 00.072.065 1.5 1.5 0 00.057.05 1.5 1.5 0 00.058.042 1.5 1.5 0 00.063.044 1.5 1.5 0 00.065.038 1.5 1.5 0 00.065.036 1.5 1.5 0 00.068.031 1.5 1.5 0 00.07.03 1.5 1.5 0 00.073.025 1.5 1.5 0 00.066.02 1.5 1.5 0 00.08.02 1.5 1.5 0 00.068.014 1.5 1.5 0 00.075.01 1.5 1.5 0 00.075.008 1.5 1.5 0 00.073.003 1.5 1.5 0 00.077 0 1.5 1.5 0 00.078-.005 1.5 1.5 0 00.067-.007 1.5 1.5 0 00.087-.015 1.5 1.5 0 00.06-.012 1.5 1.5 0 00.08-.022 1.5 1.5 0 00.068-.02 1.5 1.5 0 00.07-.028 1.5 1.5 0 00.09-.037l4.944-2.377a1.5 1.5 0 00.476-.362 1.5 1.5 0 00.09-.112 1.5 1.5 0 00.004-.007 1.5 1.5 0 00.08-.125 1.5 1.5 0 00.062-.12 1.5 1.5 0 00.009-.017 1.5 1.5 0 00.04-.108 1.5 1.5 0 00.015-.037 1.5 1.5 0 00.03-.107 1.5 1.5 0 00.009-.037 1.5 1.5 0 00.017-.1 1.5 1.5 0 00.008-.05 1.5 1.5 0 00.006-.09 1.5 1.5 0 00.004-.08V3.942a1.5 1.5 0 000-.003 1.5 1.5 0 000-.032 1.5 1.5 0 00-.01-.15 1.5 1.5 0 00-.84-1.17L18.206.21a1.5 1.5 0 00-.622-.146zM18 6.92v10.163l-6.198-5.08zM3 8.574l3.099 3.427-3.1 3.426z"})]})}),ny="#007ACC",Xk=p.forwardRef(function({title:t="Visual Studio Code",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=ny),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M23.15 2.587L18.21.21a1.494 1.494 0 0 0-1.705.29l-9.46 8.63-4.12-3.128a.999.999 0 0 0-1.276.057L.327 7.261A1 1 0 0 0 .326 8.74L3.899 12 .326 15.26a1 1 0 0 0 .001 1.479L1.65 17.94a.999.999 0 0 0 1.276.057l4.12-3.128 9.46 8.63a1.492 1.492 0 0 0 1.704.29l4.942-2.377A1.5 1.5 0 0 0 24 20.06V3.939a1.5 1.5 0 0 0-.85-1.352zm-5.146 14.861L10.826 12l7.178-5.448v10.896z"})]})}),ry="#646CFF",Jk=p.forwardRef(function({title:t="Vite",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=ry),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"m8.286 10.578.512-8.657a.306.306 0 0 1 .247-.282L17.377.006a.306.306 0 0 1 .353.385l-1.558 5.403a.306.306 0 0 0 .352.385l2.388-.46a.306.306 0 0 1 .332.438l-6.79 13.55-.123.19a.294.294 0 0 1-.252.14c-.177 0-.35-.152-.305-.369l1.095-5.301a.306.306 0 0 0-.388-.355l-1.433.435a.306.306 0 0 1-.389-.354l.69-3.375a.306.306 0 0 0-.37-.36l-2.32.536a.306.306 0 0 1-.374-.316zm14.976-7.926L17.284 3.74l-.544 1.887 2.077-.4a.8.8 0 0 1 .84.369.8.8 0 0 1 .034.783L12.9 19.93l-.013.025-.015.023-.122.19a.801.801 0 0 1-.672.37.826.826 0 0 1-.634-.302.8.8 0 0 1-.16-.67l1.029-4.981-1.12.34a.81.81 0 0 1-.86-.262.802.802 0 0 1-.165-.67l.63-3.08-2.027.468a.808.808 0 0 1-.768-.233.81.81 0 0 1-.217-.6l.389-6.57-7.44-1.33a.612.612 0 0 0-.64.906L11.58 23.691a.612.612 0 0 0 1.066-.004l11.26-20.135a.612.612 0 0 0-.644-.9z"})]})}),Of="#FF0000",Gp=p.forwardRef(function({title:t="YouTube",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=Of),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})]})}),oy="#3E67B1",qk=p.forwardRef(function({title:t="Zod",color:n="currentColor",size:r=24,...o},i){return n==="default"&&(n=oy),c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,fill:n,viewBox:"0 0 24 24",ref:i,...o,children:[c.jsx("title",{children:t}),c.jsx("path",{d:"M19.088 2.477 24 7.606 12.521 20.485l-.925 1.038L0 7.559l5.108-5.082h13.98Zm-17.434 5.2 6.934-4.003H5.601L1.619 7.636l.035.041Zm12.117-4.003L3.333 9.7l2.149 2.588 10.809-6.241-.2-.346 2.851-1.646-.365-.381h-4.806Zm7.52 2.834L8.257 14.034h5.101v-.4h3.667l5.346-5.998-1.08-1.128Zm-7.129 10.338H9.268l2.36 2.843 2.534-2.843Z"})]})}),iy=[{label:at.about,id:`#${at.about}`},{label:at.skills,id:`#${at.skills}`},{label:at.experience,id:`#${at.experience}`},{label:at.projects,id:`#${at.projects}`},{label:at.education,id:`#${at.education}`},{label:at.contact,id:`#${at.contact}`}],ej=["Mobile Applications","Web Applications","Games"],sy=[{icon:_3,label:"GitHub",href:"https://github.com/Fingertips18"},{icon:M3,label:"LinkedIn",href:"https://linkedin.com/in/ghiantan"},{icon:$k,label:"Stack Overflow",href:"https://stackoverflow.com/users/18320841/fingertips"},{icon:ik,label:"Codewars",href:"https://codewars.com/users/Fingertips"}],tj=({active:e,isMounted:t})=>{const n=iu(),r=o=>{const i=document.getElementById(o);i&&(n==null||n.scrollTo(i))};return c.jsx("nav",{className:"hidden lg:flex-center px-4 flex-grow",children:c.jsx("ul",{className:ce("flex-center gap-x-10 transition-opacity duration-1000 ease-in-out",t?"opacity-100":"opacity-0"),children:iy.map((o,i)=>c.jsx("li",{className:ce("capitalize text-sm font-semibold leading-none hover:scale-95 transition-all cursor-pointer hover:drop-shadow-primary-glow hover:text-accent",e===o.label&&"text-accent"),onClick:()=>r(o.label),children:o.label},`${o.label}-${i}`))})})};var v1="Dialog",[ay,ly]=po(v1),[nj,zn]=ay(v1),cy=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:s=!0}=e,a=p.useRef(null),l=p.useRef(null),[u=!1,f]=lu({prop:r,defaultProp:o,onChange:i});return c.jsx(nj,{scope:t,triggerRef:a,contentRef:l,contentId:To(),titleId:To(),descriptionId:To(),open:u,onOpenChange:f,onOpenToggle:p.useCallback(()=>f(d=>!d),[f]),modal:s,children:n})};cy.displayName=v1;var uy="DialogTrigger",dy=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=zn(uy,n),i=ct(t,o.triggerRef);return c.jsx(Qe.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":w1(o.open),...r,ref:i,onClick:ve(e.onClick,o.onOpenToggle)})});dy.displayName=uy;var y1="DialogPortal",[rj,fy]=ay(y1,{forceMount:void 0}),hy=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=zn(y1,t);return c.jsx(rj,{scope:t,forceMount:n,children:p.Children.map(r,s=>c.jsx(Cr,{present:n||i.open,children:c.jsx(s1,{asChild:!0,container:o,children:s})}))})};hy.displayName=y1;var _c="DialogOverlay",py=p.forwardRef((e,t)=>{const n=fy(_c,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=zn(_c,e.__scopeDialog);return i.modal?c.jsx(Cr,{present:r||i.open,children:c.jsx(oj,{...o,ref:t})}):null});py.displayName=_c;var oj=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=zn(_c,n);return c.jsx(a1,{as:Jr,allowPinchZoom:!0,shards:[o.contentRef],children:c.jsx(Qe.div,{"data-state":w1(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),$o="DialogContent",my=p.forwardRef((e,t)=>{const n=fy($o,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=zn($o,e.__scopeDialog);return c.jsx(Cr,{present:r||i.open,children:i.modal?c.jsx(ij,{...o,ref:t}):c.jsx(sj,{...o,ref:t})})});my.displayName=$o;var ij=p.forwardRef((e,t)=>{const n=zn($o,e.__scopeDialog),r=p.useRef(null),o=ct(t,n.contentRef,r);return p.useEffect(()=>{const i=r.current;if(i)return Wv(i)},[]),c.jsx(gy,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ve(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),(s=n.triggerRef.current)==null||s.focus()}),onPointerDownOutside:ve(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,a=s.button===0&&s.ctrlKey===!0;(s.button===2||a)&&i.preventDefault()}),onFocusOutside:ve(e.onFocusOutside,i=>i.preventDefault())})}),sj=p.forwardRef((e,t)=>{const n=zn($o,e.__scopeDialog),r=p.useRef(!1),o=p.useRef(!1);return c.jsx(gy,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var s,a;(s=e.onCloseAutoFocus)==null||s.call(e,i),i.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{var l,u;(l=e.onInteractOutside)==null||l.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=i.target;((u=n.triggerRef.current)==null?void 0:u.contains(s))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),gy=p.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...s}=e,a=zn($o,n),l=p.useRef(null),u=ct(t,l);return hv(),c.jsxs(c.Fragment,{children:[c.jsx(X0,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:c.jsx(cu,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":w1(a.open),...s,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),c.jsxs(c.Fragment,{children:[c.jsx(lj,{titleId:a.titleId}),c.jsx(uj,{contentRef:l,descriptionId:a.descriptionId})]})]})}),x1="DialogTitle",vy=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=zn(x1,n);return c.jsx(Qe.h2,{id:o.titleId,...r,ref:t})});vy.displayName=x1;var yy="DialogDescription",xy=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=zn(yy,n);return c.jsx(Qe.p,{id:o.descriptionId,...r,ref:t})});xy.displayName=yy;var wy="DialogClose",by=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=zn(wy,n);return c.jsx(Qe.button,{type:"button",...r,ref:t,onClick:ve(e.onClick,()=>o.onOpenChange(!1))})});by.displayName=wy;function w1(e){return e?"open":"closed"}var Sy="DialogTitleWarning",[aj,Cy]=ib(Sy,{contentName:$o,titleName:x1,docsSlug:"dialog"}),lj=({titleId:e})=>{const t=Cy(Sy),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. -For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return p.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},lj="DialogDescriptionWarning",cj=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Cy(lj).contentName}}.`;return p.useEffect(()=>{var i;const o=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},b1=cy,S1=dy,C1=hy,za=py,$a=my,Va=vy,Ba=xy,Su=by;const uj=b1,dj=S1,fj=C1,_y=p.forwardRef(({className:e,...t},n)=>c.jsx(za,{className:ce("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));_y.displayName=za.displayName;const hj=au("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Ey=p.forwardRef(({side:e="right",className:t,children:n,...r},o)=>c.jsxs(fj,{children:[c.jsx(_y,{}),c.jsxs($a,{ref:o,className:ce(hj({side:e}),t),...r,children:[n,c.jsxs(Su,{className:"absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none data-[state=open]:bg-secondary",children:[c.jsx(av,{className:"h-4 w-4"}),c.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ey.displayName=$a.displayName;const ky=({className:e,...t})=>c.jsx("div",{className:ce("flex flex-col space-y-2 text-center sm:text-left",e),...t});ky.displayName="SheetHeader";const jy=({className:e,...t})=>c.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});jy.displayName="SheetFooter";const Ny=p.forwardRef(({className:e,...t},n)=>c.jsx(Va,{ref:n,className:ce("text-lg font-semibold text-foreground",e),...t}));Ny.displayName=Va.displayName;const Ry=p.forwardRef(({className:e,...t},n)=>c.jsx(Ba,{ref:n,className:ce("text-sm text-muted-foreground",e),...t}));Ry.displayName=Ba.displayName;const pj=({active:e})=>{const t=iu(),n=o=>{o?t==null||t.stop():t==null||t.start()},r=o=>{const i=document.getElementById(o);i&&i.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})};return c.jsxs(uj,{onOpenChange:n,children:[c.jsx(Fa,{asChild:!0,label:"Menu",children:c.jsx(dj,{asChild:!0,children:c.jsx(Io,{variant:"ghost",size:"icon",className:"lg:hidden hover:drop-shadow-primary-glow",children:c.jsx(eb,{className:"w-5 h-5"})})})}),c.jsxs(Ey,{"data-lenis-prevent":!0,className:"overflow-y-auto no-scrollbar",children:[c.jsxs(ky,{className:"mt-4 !items-start",children:[c.jsx(Ny,{className:"text-sm",children:"Menu"}),c.jsx(Ry,{className:"text-xs text-start",children:"Discover my portfolio, skills, projects, and how to connect."})]}),c.jsx("nav",{className:"w-full flex justify-end mt-10 flex-1",children:c.jsx("ul",{className:"space-y-6 text-end",children:iy.map((o,i)=>c.jsx("li",{className:ce("capitalize font-semibold leading-none hover:scale-95 transition-all cursor-pointer hover:drop-shadow-primary-glow lg:hover:text-accent",e===o.label&&"text-accent"),onClick:()=>r(o.label),children:o.label},`${o.label}-${i}`))})}),c.jsx(jy,{className:"fixed bottom-4 right-4",children:c.jsx(o3,{})})]})]})},mj=()=>{const{active:e,onActive:t}=QE(s=>s),n=XE(`.${po.rootSection}`),r=Ia(),o=p.useMemo(()=>{const s=[];if(n){for(let a=0;a{if(o)for(let s=0;s=o[s].offset&&t(o[s].id)},[o,t]);return p.useEffect(()=>(window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)),[i]),c.jsxs(c.Fragment,{children:[c.jsx(ej,{active:e,isMounted:r}),c.jsx(pj,{active:e})]})},gj="/assets/light-logo-D1zLD16O.png",vj="/assets/dark-logo-BJU8kvEn.png",yj="/assets/me-DHMMf89O.png",xj="/assets/fingertips-hJtLXHbF.png",wj="/assets/gotwork-digital-Do1XKOyr.png",bj="/assets/convocade-C-3l6Kop.png",Sj="/assets/graduate-school-BsjnYBB8.png",Cj="/assets/aquilarie-vPm69TK5.png",_j="/assets/mycaa-D5gOE9jd.png",Ej="/assets/tritok-preview-QQCi_UZ4.png",kj="/assets/leafonic-preview-Cxj3COJo.png",jj="/assets/flixsage-preview-BExJ66Om.png",Nj="/assets/usm-seal-CseZWBHQ.png",Rj="/assets/mnhs-seal-WbUCwXtP.jpeg",Tj="/assets/ktmsces-seal-BnWtG5Eu.jpeg",Mj="/assets/cmes-seal-BdJpbEOe.jpeg",Pj="/assets/wave-D0paLNBB.gif",Dj=gj,Aj=vj,Oj=yj,Ty=xj,Lj=wj,Ij=bj,Fj=Sj,zj=Cj,$j=_j,Vj=Ej,Bj=kj,Uj=jj,Hj=Nj,Kp=Rj,Wj=Tj,Zj=Mj,Gj=Pj,Kj=()=>{const{theme:e}=Q0(),t=Ia(),n=iu();if(!t)return c.jsx(G4,{className:"w-20 lg:w-28 h-6 lg:h-8"});const r=e===Ef.dark||e===Ef.system?Aj:Dj,o=()=>n==null?void 0:n.scrollTo(0);return c.jsx(Pt,{to:Ni.root,className:"hover:scale-95 transition-all hover:drop-shadow-primary-glow",onClick:o,children:c.jsx("img",{src:r,alt:"Logo",className:"h-4 lg:h-6"})})},Yj=()=>c.jsx("header",{className:"h-14 w-full fixed z-50 top-0 flex-center bg-background/50 backdrop-blur-lg border-b px-4 md:px-8 lg:px-0 blur-performance",children:c.jsxs("div",{className:"flex-between h-full w-full max-w-screen-lg",children:[c.jsx(Kj,{}),c.jsx(mj,{}),c.jsx("div",{className:"hidden lg:flex lg:items-end",children:c.jsx(o3,{})})]})}),Qj=()=>c.jsx("ul",{className:"flex items-start gap-x-2",children:sy.filter(e=>e.label!=="LinkedIn").map(e=>c.jsx(Fa,{asChild:!0,label:e.label,side:"top",children:c.jsx(Pt,{to:e.href,target:"_blank",className:"hover:drop-shadow-primary-glow transition-all",children:c.jsx("li",{className:"rounded-full border border-primary/50 hover:border-primary bg-primary/20 hover:bg-primary/50 p-1.5 lg:p-2.5",children:c.jsx(e.icon,{className:"w-4 h-4 pointer-events-none"})})})},`footer-${e.label}`))}),Xj=()=>{const e=new Date;return c.jsxs("footer",{className:"w-full bg-secondary/10 border-t flex flex-col items-center",children:[c.jsxs("div",{className:"w-full flex-between p-4 lg:px-0 max-w-screen-lg mx-auto mt-4 gap-x-12",children:[c.jsx(Qj,{}),c.jsxs("div",{className:"flex flex-wrap justify-end text-xs gap-x-1.5",children:[c.jsx("p",{className:"text-foreground/80",children:"Designed & Developed by"}),c.jsx(Pt,{to:"https://linkedin.com/in/ghiantan",target:"_blank",className:"underline underline-offset-2 hover:drop-shadow-primary-glow transition-all",children:"Fingertips"})]})]}),c.jsx("div",{className:"mt-4 py-1.5 bg-secondary/20 w-full flex-center",children:c.jsxs("p",{className:"text-xs text-muted-foreground",children:["© ",e.getUTCFullYear().toString()," Ghian Carlos Tan. All rights reserved."]})})]})},Jj=()=>c.jsxs(H9,{children:[c.jsx(Yj,{}),c.jsx("main",{className:"h-full max-w-screen-lg mx-auto max-xl:overflow-x-hidden",children:c.jsx(rw,{})}),c.jsx(Xj,{})]});var Cu={},My={exports:{}},qj="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",eN=qj,tN=eN;function Py(){}function Dy(){}Dy.resetWarningCache=Py;var nN=function(){function e(r,o,i,s,a,l){if(l!==tN){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Dy,resetWarningCache:Py};return n.PropTypes=n,n};My.exports=nN();var Ay=My.exports,Oy={exports:{}};/*! +For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return p.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},cj="DialogDescriptionWarning",uj=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Cy(cj).contentName}}.`;return p.useEffect(()=>{var i;const o=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},b1=cy,S1=dy,C1=hy,za=py,$a=my,Va=vy,Ba=xy,Su=by;const dj=b1,fj=S1,hj=C1,_y=p.forwardRef(({className:e,...t},n)=>c.jsx(za,{className:ce("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));_y.displayName=za.displayName;const pj=au("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Ey=p.forwardRef(({side:e="right",className:t,children:n,...r},o)=>c.jsxs(hj,{children:[c.jsx(_y,{}),c.jsxs($a,{ref:o,className:ce(pj({side:e}),t),...r,children:[n,c.jsxs(Su,{className:"absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none data-[state=open]:bg-secondary",children:[c.jsx(av,{className:"h-4 w-4"}),c.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ey.displayName=$a.displayName;const ky=({className:e,...t})=>c.jsx("div",{className:ce("flex flex-col space-y-2 text-center sm:text-left",e),...t});ky.displayName="SheetHeader";const jy=({className:e,...t})=>c.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});jy.displayName="SheetFooter";const Ny=p.forwardRef(({className:e,...t},n)=>c.jsx(Va,{ref:n,className:ce("text-lg font-semibold text-foreground",e),...t}));Ny.displayName=Va.displayName;const Ry=p.forwardRef(({className:e,...t},n)=>c.jsx(Ba,{ref:n,className:ce("text-sm text-muted-foreground",e),...t}));Ry.displayName=Ba.displayName;const mj=({active:e})=>{const t=iu(),n=o=>{o?t==null||t.stop():t==null||t.start()},r=o=>{const i=document.getElementById(o);i&&i.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})};return c.jsxs(dj,{onOpenChange:n,children:[c.jsx(Fa,{asChild:!0,label:"Menu",children:c.jsx(fj,{asChild:!0,children:c.jsx(qr,{variant:"ghost",size:"icon",className:"lg:hidden hover:drop-shadow-primary-glow",children:c.jsx(eb,{className:"w-5 h-5"})})})}),c.jsxs(Ey,{"data-lenis-prevent":!0,className:"overflow-y-auto no-scrollbar",children:[c.jsxs(ky,{className:"mt-4 !items-start",children:[c.jsx(Ny,{className:"text-sm",children:"Menu"}),c.jsx(Ry,{className:"text-xs text-start",children:"Discover my portfolio, skills, projects, and how to connect."})]}),c.jsx("nav",{className:"w-full flex justify-end mt-10 flex-1",children:c.jsx("ul",{className:"space-y-6 text-end",children:iy.map((o,i)=>c.jsx("li",{className:ce("capitalize font-semibold leading-none hover:scale-95 transition-all cursor-pointer hover:drop-shadow-primary-glow lg:hover:text-accent",e===o.label&&"text-accent"),onClick:()=>r(o.label),children:o.label},`${o.label}-${i}`))})}),c.jsx(jy,{className:"fixed bottom-4 right-4",children:c.jsx(o3,{})})]})]})},gj=()=>{const{active:e,onActive:t}=XE(s=>s),n=JE(`.${mo.rootSection}`),r=Ia(),o=p.useMemo(()=>{const s=[];if(n){for(let a=0;a{if(o)for(let s=0;s=o[s].offset&&t(o[s].id)},[o,t]);return p.useEffect(()=>(window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)),[i]),c.jsxs(c.Fragment,{children:[c.jsx(tj,{active:e,isMounted:r}),c.jsx(mj,{active:e})]})},vj="/assets/light-logo-D1zLD16O.png",yj="/assets/dark-logo-BJU8kvEn.png",xj="/assets/me-DHMMf89O.png",wj="/assets/fingertips-hJtLXHbF.png",bj="/assets/gotwork-digital-Do1XKOyr.png",Sj="/assets/convocade-C-3l6Kop.png",Cj="/assets/graduate-school-BsjnYBB8.png",_j="/assets/aquilarie-vPm69TK5.png",Ej="/assets/mycaa-D5gOE9jd.png",kj="/assets/tritok-preview-QQCi_UZ4.png",jj="/assets/leafonic-preview-Cxj3COJo.png",Nj="/assets/flixsage-preview-BExJ66Om.png",Rj="/assets/usm-seal-CseZWBHQ.png",Tj="/assets/mnhs-seal-WbUCwXtP.jpeg",Mj="/assets/ktmsces-seal-BnWtG5Eu.jpeg",Pj="/assets/cmes-seal-BdJpbEOe.jpeg",Dj="/assets/wave-D0paLNBB.gif",Aj=vj,Oj=yj,Lj=xj,Ty=wj,Ij=bj,Fj=Sj,zj=Cj,$j=_j,Vj=Ej,Bj=kj,Uj=jj,Hj=Nj,Wj=Rj,Kp=Tj,Zj=Mj,Gj=Pj,Kj=Dj,Yj=()=>{const{theme:e}=Q0(),t=Ia(),n=iu();if(!t)return c.jsx(G4,{className:"w-20 lg:w-28 h-6 lg:h-8"});const r=e===Ef.dark||e===Ef.system?Oj:Aj,o=()=>n==null?void 0:n.scrollTo(0);return c.jsx(Pt,{to:Ni.root,className:"hover:scale-95 transition-all hover:drop-shadow-primary-glow",onClick:o,children:c.jsx("img",{src:r,alt:"Logo",className:"h-4 lg:h-6"})})},Qj=()=>c.jsx("header",{className:"h-14 w-full fixed z-50 top-0 flex-center bg-background/50 backdrop-blur-lg border-b px-4 md:px-8 lg:px-0 blur-performance",children:c.jsxs("div",{className:"flex-between h-full w-full max-w-screen-lg",children:[c.jsx(Yj,{}),c.jsx(gj,{}),c.jsx("div",{className:"hidden lg:flex lg:items-end",children:c.jsx(o3,{})})]})}),Xj=()=>c.jsx("ul",{className:"flex items-start gap-x-2",children:sy.filter(e=>e.label!=="LinkedIn").map(e=>c.jsx(Fa,{asChild:!0,label:e.label,side:"top",children:c.jsx(Pt,{to:e.href,target:"_blank",className:"hover:drop-shadow-primary-glow transition-all",children:c.jsx("li",{className:"rounded-full border border-primary/50 hover:border-primary bg-primary/20 hover:bg-primary/50 p-1.5 lg:p-2.5",children:c.jsx(e.icon,{className:"w-4 h-4 pointer-events-none"})})})},`footer-${e.label}`))}),Jj=()=>{const e=new Date;return c.jsxs("footer",{className:"w-full bg-secondary/10 border-t flex flex-col items-center",children:[c.jsxs("div",{className:"w-full flex-between p-4 lg:px-0 max-w-screen-lg mx-auto mt-4 gap-x-12",children:[c.jsx(Xj,{}),c.jsxs("div",{className:"flex flex-wrap justify-end text-xs gap-x-1.5",children:[c.jsx("p",{className:"text-foreground/80",children:"Designed & Developed by"}),c.jsx(Pt,{to:"https://linkedin.com/in/ghiantan",target:"_blank",className:"underline underline-offset-2 hover:drop-shadow-primary-glow transition-all",children:"Fingertips"})]})]}),c.jsx("div",{className:"mt-4 py-1.5 bg-secondary/20 w-full flex-center",children:c.jsxs("p",{className:"text-xs text-muted-foreground",children:["© ",e.getUTCFullYear().toString()," Ghian Carlos Tan. All rights reserved."]})})]})},qj=()=>c.jsxs(H9,{children:[c.jsx(Qj,{}),c.jsx("main",{className:"h-full max-w-screen-lg mx-auto max-xl:overflow-x-hidden",children:c.jsx(rw,{})}),c.jsx(Jj,{})]}),eN=()=>c.jsxs("section",{className:"h-[calc(100dvh_-_56px)] flex-center flex-col gap-y-2 lg:gap-y-1.5 leading-tight",children:[c.jsx("h6",{className:"lg:text-lg font-bold",children:"Something Went Wrong"}),c.jsx("p",{className:"text-xs lg:text-sm text-muted-foreground",children:"Woops! You are not supposed to see this."}),c.jsxs(qr,{onClick:()=>window.location.reload(),className:"rounded-full gap-x-2",children:[c.jsx(nb,{className:"w-4 h-4"})," Refresh"]})]});var Cu={},My={exports:{}},tN="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",nN=tN,rN=nN;function Py(){}function Dy(){}Dy.resetWarningCache=Py;var oN=function(){function e(r,o,i,s,a,l){if(l!==rN){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Dy,resetWarningCache:Py};return n.PropTypes=n,n};My.exports=oN();var Ay=My.exports,Oy={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",s=0;s(typeof window=="object"&&document.documentElement.style.setProperty("--line-color",r),rN.default.createElement("div",{className:(0,oN.default)(t,"vertical-timeline",{"vertical-timeline--animate":e,"vertical-timeline--two-columns":n==="2-columns","vertical-timeline--one-column-left":n==="1-column"||n==="1-column-left","vertical-timeline--one-column-right":n==="1-column-right"})},o));Iy.propTypes={children:Tr.default.oneOfType([Tr.default.arrayOf(Tr.default.node),Tr.default.node]).isRequired,className:Tr.default.string,animate:Tr.default.bool,layout:Tr.default.oneOf(["1-column-left","1-column","2-columns","1-column-right"]),lineColor:Tr.default.string};var iN=Iy;Cu.default=iN;var _u={};function Lf(){return Lf=Object.assign||function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}var Ff=new Map,Sl=new WeakMap,Yp=0,Fy=void 0;function lN(e){Fy=e}function cN(e){return e?(Sl.has(e)||(Yp+=1,Sl.set(e,Yp.toString())),Sl.get(e)):"0"}function uN(e){return Object.keys(e).sort().filter(function(t){return e[t]!==void 0}).map(function(t){return t+"_"+(t==="root"?cN(e.root):e[t])}).toString()}function dN(e){var t=uN(e),n=Ff.get(t);if(!n){var r=new Map,o,i=new IntersectionObserver(function(s){s.forEach(function(a){var l,u=a.isIntersecting&&o.some(function(f){return a.intersectionRatio>=f});e.trackVisibility&&typeof a.isVisible>"u"&&(a.isVisible=u),(l=r.get(a.target))==null||l.forEach(function(f){f(u,a)})})},e);o=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:i,elements:r},Ff.set(t,n)}return n}function E1(e,t,n,r){if(n===void 0&&(n={}),r===void 0&&(r=Fy),typeof window.IntersectionObserver>"u"&&r!==void 0){var o=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),function(){}}var i=dN(n),s=i.id,a=i.observer,l=i.elements,u=l.get(e)||[];return l.has(e)||l.set(e,u),u.push(t),a.observe(e),function(){u.splice(u.indexOf(t),1),u.length===0&&(l.delete(e),a.unobserve(e)),l.size===0&&(a.disconnect(),Ff.delete(s))}}var fN=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function Qp(e){return typeof e.children!="function"}var Ec=function(e){sN(t,e);function t(r){var o;return o=e.call(this,r)||this,o.node=null,o._unobserveCb=null,o.handleNode=function(i){o.node&&(o.unobserve(),!i&&!o.props.triggerOnce&&!o.props.skip&&o.setState({inView:!!o.props.initialInView,entry:void 0})),o.node=i||null,o.observeNode()},o.handleChange=function(i,s){i&&o.props.triggerOnce&&o.unobserve(),Qp(o.props)||o.setState({inView:i,entry:s}),o.props.onChange&&o.props.onChange(i,s)},o.state={inView:!!r.initialInView,entry:void 0},o}var n=t.prototype;return n.componentDidUpdate=function(o){(o.rootMargin!==this.props.rootMargin||o.root!==this.props.root||o.threshold!==this.props.threshold||o.skip!==this.props.skip||o.trackVisibility!==this.props.trackVisibility||o.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},n.componentWillUnmount=function(){this.unobserve(),this.node=null},n.observeNode=function(){if(!(!this.node||this.props.skip)){var o=this.props,i=o.threshold,s=o.root,a=o.rootMargin,l=o.trackVisibility,u=o.delay,f=o.fallbackInView;this._unobserveCb=E1(this.node,this.handleChange,{threshold:i,root:s,rootMargin:a,trackVisibility:l,delay:u},f)}},n.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},n.render=function(){if(!Qp(this.props)){var o=this.state,i=o.inView,s=o.entry;return this.props.children({inView:i,entry:s,ref:this.handleNode})}var a=this.props,l=a.children,u=a.as,f=aN(a,fN);return p.createElement(u||"div",Lf({ref:this.handleNode},f),l)},t}(p.Component);Ec.displayName="InView";Ec.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1};function hN(e){var t=e===void 0?{}:e,n=t.threshold,r=t.delay,o=t.trackVisibility,i=t.rootMargin,s=t.root,a=t.triggerOnce,l=t.skip,u=t.initialInView,f=t.fallbackInView,d=p.useRef(),h=p.useState({inView:!!u}),y=h[0],x=h[1],v=p.useCallback(function(g){d.current!==void 0&&(d.current(),d.current=void 0),!l&&g&&(d.current=E1(g,function(m,w){x({inView:m,entry:w}),w.isIntersecting&&a&&d.current&&(d.current(),d.current=void 0)},{root:s,rootMargin:i,threshold:n,trackVisibility:o,delay:r},f))},[Array.isArray(n)?n.toString():n,s,i,a,l,o,f,r]);p.useEffect(function(){!d.current&&y.entry&&!a&&!l&&x({inView:!!u})});var b=[v,y.inView,y.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}const pN=Object.freeze(Object.defineProperty({__proto__:null,InView:Ec,default:Ec,defaultFallbackInView:lN,observe:E1,useInView:hN},Symbol.toStringTag,{value:"Module"})),mN=y6(pN);_u.__esModule=!0;_u.default=void 0;var Mr=k1(p),Ke=k1(Ay),Cl=k1(Ly),gN=mN;function k1(e){return e&&e.__esModule?e:{default:e}}const zy=({children:e="",className:t="",contentArrowStyle:n=null,contentStyle:r=null,date:o="",dateClassName:i="",icon:s=null,iconClassName:a="",iconOnClick:l=null,onTimelineElementClick:u=null,iconStyle:f=null,id:d="",position:h="",style:y=null,textClassName:x="",intersectionObserverProps:v={rootMargin:"0px 0px -40px 0px",triggerOnce:!0},visible:b=!1})=>Mr.default.createElement(gN.InView,v,({inView:g,ref:m})=>Mr.default.createElement("div",{ref:m,id:d,className:(0,Cl.default)(t,"vertical-timeline-element",{"vertical-timeline-element--left":h==="left","vertical-timeline-element--right":h==="right","vertical-timeline-element--no-children":e===""}),style:y},Mr.default.createElement(Mr.default.Fragment,null,Mr.default.createElement("span",{style:f,onClick:l,className:(0,Cl.default)(a,"vertical-timeline-element-icon",{"bounce-in":g||b,"is-hidden":!(g||b)})},s),Mr.default.createElement("div",{style:r,onClick:u,className:(0,Cl.default)(x,"vertical-timeline-element-content",{"bounce-in":g||b,"is-hidden":!(g||b)})},Mr.default.createElement("div",{style:n,className:"vertical-timeline-element-content-arrow"}),e,Mr.default.createElement("span",{className:(0,Cl.default)(i,"vertical-timeline-element-date")},o)))));zy.propTypes={children:Ke.default.oneOfType([Ke.default.arrayOf(Ke.default.node),Ke.default.node]),className:Ke.default.string,contentArrowStyle:Ke.default.shape({}),contentStyle:Ke.default.shape({}),date:Ke.default.node,dateClassName:Ke.default.string,icon:Ke.default.element,iconClassName:Ke.default.string,iconStyle:Ke.default.shape({}),iconOnClick:Ke.default.func,onTimelineElementClick:Ke.default.func,id:Ke.default.string,position:Ke.default.string,style:Ke.default.shape({}),textClassName:Ke.default.string,visible:Ke.default.bool,intersectionObserverProps:Ke.default.shape({root:Ke.default.object,rootMargin:Ke.default.string,threshold:Ke.default.number,triggerOnce:Ke.default.bool})};var vN=zy;_u.default=vN;var Eu={VerticalTimeline:Cu.default,VerticalTimelineElement:_u.default};const yN=[{image:Ty,position:"Freelance Software Developer",company:"Fingertips",setup:"Remote",date:"July 2022 – June 2024",highlights:["Developed and deployed 5+ custom mobile applications for Android using Flutter and 5+ web applications using React Frameworks, enhancing user engagement and client satisfaction.","Designed and implemented responsive web applications with HTML, CSS and Javascript with React framework for local clients.","Integrated third-party APIs (oauth, mapping services, etc.) and conducted thorough testing, ensuring high performance and security.","Collaborated with clients to gather requirements, deliver projects within the timelines and budgets, and provided ongoing maintenance, resulting in 95% client retention."],skills:["Android Development","Web Development","Web Design","Frontend Development","Backed Development","React JS","Next JS","Express JS","MongoDB","Clerk","Vercel","Netlify","Github Pages","Tailwind CSS","Figma","Photoshop","MVC","REST API","Rive","Unity","Tensorflow","Tflite"]},{image:Lj,position:"Mobile Application Developer",company:"GotWork Digital",link:"https://gotwork.digital",setup:"Remote",date:"May 2023 – April 2024",highlights:["Transitioned MindFree application to Flutter from its previous tech stack, implementing 8 intricate user interface designs from Figma, resulting in a 20% boost in user satisfaction.","Developed applications using Feature First Clean Architecture, leveraging Riverpod and Bloc for robust state management, adhering to industry best practices.","Enhanced app functionality through regular software updates and integration of new dependencies, consistently delivering new features and improvements.","Actively collaborated with a senior software engineer, gaining valuable mentorship, and contributed to team success by sharing updates and insights in weekly meetings."],skills:["Flutter","Firebase","Cloud Firestore","Supabase","Trello","Bloc","Riverpod","GoRouter","GetIt","Figma","Bitbucket","Unit Testing","Clean Architecture","MVVM","REST API"]},{image:Ij,position:"Software Developer",company:"Convocade",link:"https://www.facebook.com/Convocade",setup:"Remote",date:"July 2022 – January 2023",highlights:["Developed a web app using ReactJS and was migrated to NextJS for advance features, enabling businesses to hire influencers for advertisement, connecting over 3+ businesses with influencers.","Implemented dynamic features like monthly influencer rotation and influencer of the week, enhancing user engagement and platform activity by 35%.","Created a seamless booking system for influencers and businesses, prioritizing popular influencers while providing flexibility for lesser- known influencers to gain exposure, optimizing the hiring process for all parties involved.","Developed a dynamic landing page to assist 100+ eligible military spouses in obtaining professional credentials, facilitating their career advancement.","Developed a music player web app to showcase over 3+ tracks produced by Aquilarie, enhancing their online presence and audience reach."],subCompanies:[{company:"MyCAA Grant Assist",image:$j,link:"https://mycaagrant.com"},{company:"Aquilarie",image:zj,link:"https://spotify.com/artist/2F2fMy2GAqcw2k7fk97kSk"}],skills:["React JS","Next JS","Tailwind CSS","Redux JS","Zustand","Express JS","Uploadthing","Clerk","Framer Motion","GSAP","Figma","Zod","React Hook Form","Shadcn UI"]},{image:Fj,position:"Full-Stack Developer Intern",company:"USM Graduate School",link:"https://www.usm.edu.ph/academics/graduate-school",setup:"On-site",date:"January 2021 – June 2021",highlights:["Led the development of the Mastivity Web Application for USM Graduate School Faculty, managing both Frontend and Backend, resulting in a 20% increase in user engagement.","Conducted regular software updates and delivered comprehensive presentations of the web application, ensuring stakeholders were updated and satisfied with the system's progress.","Maintained an active presence, dedicating 8 hours in-office daily and continued work remotely, contributing to 95% uptime and reliability of the system.","Enhanced skill set by mastering ASP.NET Core and Angular framework, resulting in a 30% improvement in development efficiency and project completion time."],skills:["ASP.Net Core","Angular","Angular Material","Azure","MSSQL Server","Swagger API","Entity Framework (EF) Core","Bootstrap","SCSS","HTML","JSON Web Token (JWT)"]}],xN=au("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Eo({className:e,variant:t,...n}){return c.jsx("div",{className:ce(xN({variant:t}),e),...n})}const wN=({image:e,position:t,company:n,link:r,setup:o,date:i,highlights:s,skills:a,subCompanies:l})=>c.jsxs(Eu.VerticalTimelineElement,{contentStyle:{background:"hsl(var(--secondary) / 0.2)",border:"1px solid hsl(var(--secondary) / 0.5)",color:"hsl(var(--secondary-foreground))",display:"flex",flexDirection:"column",boxShadow:"hsl(var(--primary) / 0.2) 0px 4px 24px",borderRadius:"8px"},contentArrowStyle:{borderRight:"8px solid hsl(var(--secondary) / 0.8)"},date:i,iconStyle:{boxShadow:"hsl(var(--primary)) 0px 4px 24px",outline:"2px solid hsl(var(--primary))"},icon:r?c.jsx(Pt,{to:r,target:"_blank",children:c.jsx("img",{src:e,alt:n,className:"rounded-full w-full h-full border object-cover cursor-pointer"})}):c.jsx("img",{src:e,alt:n,className:"rounded-full w-full h-full border object-cover"}),children:[c.jsxs("div",{className:"flex items-start gap-x-4",children:[c.jsx("img",{src:e,alt:"company",className:"rounded-sm drop-shadow-primary-glow h-16 w-16 object-cover"}),c.jsxs("div",{className:"leading-none",children:[c.jsx("h3",{className:"font-bold",children:t}),c.jsx("h4",{className:"text-sm text-secondary-foreground/80",children:n}),c.jsx("h5",{className:"text-xs text-secondary-foreground/40",children:i}),c.jsx("h6",{className:"text-xs text-secondary-foreground/40",children:o})]})]}),c.jsx("div",{className:"flex flex-col items-start space-y-2",children:s.map(u=>c.jsxs("p",{className:"!text-sm text-muted-foreground",children:["— ",u]},u))}),l&&c.jsxs("div",{className:"space-y-1.5",children:[c.jsx("p",{className:"!font-semibold !text-sm",children:"Sub-Companies"}),c.jsx("div",{className:"flex item-start flex-wrap gap-2.5 lg:gap-6 mt-4",children:l.map(u=>c.jsxs(Pt,{to:u.link,className:"flex-center gap-x-2 text-xs text-secondary-foreground/80",children:[c.jsx("div",{style:{boxShadow:"hsl(var(--primary)) 0px 4px 24px"},className:"rounded-full h-6 w-6 bg-white overflow-hidden flex-center p-0.5",children:c.jsx("img",{src:u.image,alt:u.company,className:"w-full h-full object-scale-down"})}),u.company]},`${u.company}-${u}`))})]}),c.jsxs("div",{className:"space-y-1.5",children:[c.jsx("p",{className:"!font-semibold !text-sm",children:"Skills Gained"}),c.jsx("div",{className:"flex item-start flex-wrap gap-1.5 mt-4",children:a.map(u=>c.jsx(Eo,{children:u},`${n}-${u}`))})]})]}),bN=()=>c.jsxs("section",{className:ce("min-h-dvh flex items-center flex-col gap-y-2 lg:gap-y-6 border-b pt-14 pb-6 px-2 lg:px-0",po.rootSection),id:at.experience,children:[c.jsxs("div",{className:"flex items-center gap-x-2 w-full pt-6 lg:relative",children:[c.jsx("span",{className:"w-[32px] lg:w-[128px] h-1 rounded-full bg-muted-foreground tracking-widest"}),c.jsx("h2",{className:"text-lg lg:text-4xl font-bold",children:"WORK EXPERIENCE"}),c.jsx(K9,{className:"w-5 lg:w-8 h-5 lg:h-8 sm:absolute xs:right-6 lg:right-0 opacity-50"})]}),c.jsx("p",{className:"text-xs lg:text-sm text-muted-foreground text-center lg:mt-2 w-3/4 lg:w-full",children:"Here are details of my experience as a software developer, including my roles across various companies and projects."}),c.jsx(Eu.VerticalTimeline,{lineColor:"hsl(var(--foreground) / 0.6)",className:"mt-4 lg:mt-20",children:yN.map(e=>c.jsx(wN,{...e},e.company))})]}),SN=[{source:"https://www.usm.edu.ph",name:"University of Southern Mindanao",logo:Hj,department:"College of Engineering and Information Technology",date:"August 2019 - June 2023",honor:"Cum Laude",desc:"I graduated from the University of Southern Mindanao (USM) with a Bachelor's degree in Computer Science, achieving Cum Laude with a GPA of 1.67. During my time at USM, I actively participated in the in-house review, representing my thesis study. I was also a member of the Philippine Society of Information Technology (PSIT), which enriched my academic experience. My coursework included Data Structures and Algorithms, Time Complexity, Software Engineering, Networking, and Artificial Intelligence, among other advanced topics.",study:{title:"Luminous: A heart rate-based horror adventure game using A* pathfinding algorithm",desc:"Luminous is a story-based horror-adventure game that I created in Unity for my undergraduate thesis. The study mainly focused on AI (artificial intelligence) and provided a unique mechanism for tracking the player's location based on their heart rate. The objectives of this study were to use the player’s heart rate as the heuristic value in the A* algorithm, implement an enemy-tracking mechanic based on the heart rate-based heuristics, and determine its accuracy against the default A* algorithm.",stack:["Unity","A*","C#","HypeRate","Photoshop","Blender","Audacity"],demo:"https://www.youtube.com/watch?v=7zYUk5x-B40"},projects:[{title:"Mastivity",desc:"As per my OJT requirement, we were tasked with creating a system dedicated to our assigned department. I was assigned to graduate school; thus, I created a system that boosts masters productivity and will help them with their daily endeavors.",stack:["Bootstrap","Angular",".Net Core","Entity Framework","Swagger API","MSSQL","Azure","Netlify"],demo:"https://www.youtube.com/watch?v=OUnh-eysJrM"},{title:"Document Request System",desc:"This was a system that I made for the HR department at USM for generating documents based on user requests by filling out an online form provided by the system.",stack:["Bootstrap","Angular",".Net Core","Entity Framework","Swagger API","MSSQL","Azure","Netlify"],demo:"https://www.youtube.com/watch?v=jkJ1Z9-yHYU"},{title:"Faculty Competency System",desc:"This was a system that I made for the HRDMO to assess the competency level of the faculty members.",stack:["Bootstrap",".Net Blazor","Entity Framework","Swagger API","MSSQL","Azure","Netlify"]}],type:_s.college},{source:"https://www.facebook.com/MatanaoNHS",name:"Matanao National High School",logo:Kp,department:"Senior - Information and Communication Technology (ICT) Strand",date:"June 2017 - April 2019",honor:"With High Honors",desc:"I graduated from Matanao National High School (MNHS) - Senior High with the distinction of With High Honors. This achievement reflects my dedication and commitment to academic excellence throughout my senior high school years.",type:_s.seniorHigh},{source:"https://www.facebook.com/MatanaoNHS",name:"Matanao National High School",logo:Kp,department:"Junior - Science, Technology, Engineering and Mathematics",date:"August 2013 - June 2017",honor:"With Honors",desc:"I completed my junior high school education at Matanao National High School (MNHS), graduating with the distinction of With Honors. This recognition highlights my consistent academic performance and dedication during those formative years.",type:_s.juniorHigh},{source:"https://www.facebook.com/p/DepEd-Tayo-Youth-Formation-Ceboza-Elementary-School-100079755368493/?_rdr",name:"Ceboza Matanao Elementary School",logo:Zj,sub:{name:"Kapitan Tomas Monteverde Sr. Central Elementary School",desc:"Grade 1 - 5",logo:Wj},date:"June 2007 - March 2013",honor:"Valedictorian",desc:"I began my elementary education at Kapital Tomas Monteverde Sr. Central Elementary School, and later transferred to Ceboza Matanao Elementary School in Grade 5. I graduated from Ceboza Matanao Elementary School as the class Valedictorian, an honor that reflects my commitment to academic excellence from an early age.",type:_s.elementary}],CN=({source:e,name:t,logo:n,sub:r,department:o,date:i,honor:s,desc:a,study:l,projects:u})=>c.jsxs(Eu.VerticalTimelineElement,{contentStyle:{background:"hsl(var(--secondary) / 0.2)",border:"1px solid hsl(var(--secondary) / 0.5)",color:"hsl(var(--secondary-foreground))",display:"flex",flexDirection:"column",boxShadow:"hsl(var(--primary) / 0.2) 0px 4px 24px",borderRadius:"8px"},contentArrowStyle:{borderRight:"8px solid hsl(var(--secondary) / 0.8)"},date:i,iconStyle:{backgroundColor:"#FFF",boxShadow:"hsl(var(--primary)) 0px 4px 24px",outline:"2px solid hsl(var(--primary))"},icon:c.jsx(Pt,{to:e,target:"_blank",children:c.jsx("img",{src:n,alt:t,className:"rounded-full w-full h-full object-cover scale-90"})}),children:[c.jsxs("div",{className:"flex items-start gap-x-4",children:[c.jsx("img",{src:n,alt:t,className:"rounded-sm drop-shadow-primary-glow h-16 w-16 object-cover"}),c.jsxs("div",{className:"leading-tight space-y-0.5",children:[c.jsx("h3",{className:"font-bold",children:t}),c.jsx("h4",{className:"text-sm text-secondary-foreground/80",children:o}),c.jsx("h5",{className:"text-sm text-secondary-foreground/40",children:i}),c.jsx("h6",{className:"text-xs text-secondary-foreground/40 font-semibold",children:s})]})]}),r&&c.jsxs("div",{className:"flex gap-x-4 mt-2",children:[c.jsx("img",{src:r.logo,alt:r.name,className:"rounded-sm drop-shadow-primary-glow h-16 w-16 object-cover"}),c.jsxs("div",{className:"leading-tight space-y-0.5",children:[c.jsx("h3",{className:"font-bold",children:r.name}),c.jsx("h6",{className:"text-xs text-secondary-foreground/40 font-semibold",children:r.desc})]})]}),c.jsx("p",{className:"!text-sm text-muted-foreground",children:a}),l&&c.jsxs("div",{className:"space-y-1.5",children:[c.jsx("p",{className:"!font-semibold !text-sm",children:"Thesis Study"}),c.jsx("h5",{className:"!text-sm !font-normal text-foreground/80",children:l.title}),c.jsx("p",{className:"!text-xs text-muted-foreground",children:l.desc}),c.jsx("div",{className:"flex items-start flex-wrap gap-1",children:l.stack.map(f=>c.jsx(Eo,{className:"bg-background/50",children:f},f))}),c.jsx(Pt,{to:l.demo,target:"_blank",children:c.jsxs(Eo,{className:"bg-secondary/20 whitespace-nowrap gap-x-2 py-1 px-2.5 cursor-pointer w-fit mt-2",children:[c.jsx(Gp,{color:Of,className:"w-4 h-4"}),l.title.split(" ")[0].replace(":","")," Demo"]})})]}),u&&c.jsxs("div",{className:"space-y-1.5",children:[c.jsx("p",{className:"!font-semibold !text-sm",children:"Projects"}),c.jsx("div",{className:"space-y-2.5 mt-4",children:u.map(f=>c.jsxs("div",{className:"space-y-2",children:[c.jsx("h5",{className:"!text-sm !font-bold text-foreground/80",children:f.title}),c.jsx("p",{className:"!text-xs text-muted-foreground !m-0",children:f.desc}),c.jsx("div",{className:"flex items-start flex-wrap gap-1",children:f.stack.map(d=>c.jsx(Eo,{className:"bg-background/50",children:d},d))}),f.demo&&c.jsx(Pt,{to:f.demo,target:"_blank",children:c.jsxs(Eo,{className:"bg-secondary/20 whitespace-nowrap gap-x-2 py-1 px-2.5 cursor-pointer w-fit mt-1.5",children:[c.jsx(Gp,{color:Of,className:"w-4 h-4"}),f.title," Demo"]},f.title)})]},f.title))})]})]}),_N=()=>c.jsxs("section",{className:ce("min-h-dvh flex flex-col gap-y-2 lg:gap-y-6 border-b pt-14 pb-6 px-2 lg:px-0",po.rootSection),id:at.education,children:[c.jsxs("div",{className:"flex items-center gap-x-2 w-full pt-6 lg:relative",children:[c.jsx("span",{className:"w-[32px] lg:w-[128px] h-1 rounded-full bg-muted-foreground tracking-widest"}),c.jsx("h2",{className:"text-lg lg:text-4xl font-bold",children:"EDUCATION"}),c.jsx(J9,{className:"w-5 lg:w-8 h-5 lg:h-8 sm:absolute xs:right-6 lg:right-0 opacity-50"})]}),c.jsx("p",{className:"text-xs lg:text-sm text-muted-foreground text-center lg:mt-2 w-3/4 mx-auto",children:"Throughout my academic journey, each experience has played a distinct role in my development. Here’s an overview of the key milestones in my educational path."}),c.jsx(Eu.VerticalTimeline,{lineColor:"hsl(var(--foreground) / 0.6)",className:"mt-4 lg:mt-20",children:SN.map((e,t)=>c.jsx(CN,{...e},`${e.name}-${t}`))})]}),EN="LvRCe{t8.TWAo}a|jEj[x]V@Rjoz",kN="L5Db.:Y800ve|TwZ9|9wIonho#-;",jN="LkMa3JRk~X%2ofayayoLxuoeRiR*",NN="L9P%bT~n-:9J-;RjV@t70Fnz?6R;",RN="LVKeN5?b_N4mRjoft7fQkrV@Vskq",$y="https://forms.gle/PFHoohMazvKMeKCh7",TN=[{source:"https://www.youtube.com/embed/SBOBtfs9XiI?si=vpB3x8Mg3x4F2ipa",name:"Tweetch",subtitle:"(Twitch Clone 🎮)",desc:"Tweetch is a Twitch clone crafted with personal preferences in mind. Designed to emulate the popular live streaming platform, this project aims to provide a familiar experience while incorporating custom features and enhancements tailored to individual needs.",stack:["Next JS","Supabase","Prisma ORM","Livekit","Clerk","Zustand","Shadcn UI","React Hook Form","Uploadthing","Zod","Next Themes","Tailwind CSS"],type:jn.web,live:"https://tweetch.vercel.app"},{source:"https://www.youtube.com/embed/pWdMyb9P70I?si=ZZvSe9ja1Ax-3-U1",name:"GrainGuru",subtitle:"(Rice Price Forecaster 🌾)",desc:"Leveraging an LSTM model, I developed a web application that compares and forecasts the current and future prices of different rice varieties in Cotabato.",stack:["Tensorflow JS","React JS","Express JS","MongoDB","Clerk","Prisma ORM","Zustand","Tailwind CSS","Shadcn UI","React Hook Form","Uploadthing","Zod"],type:jn.web,live:"https://grainguru.vercel.app"},{source:"https://www.youtube.com/embed/yada96hMy48?si=MkaDE6ltknpxi8Pm",name:"ScrollWheel Date Picker",subtitle:"(Flutter Package 📅)",desc:"I developed a Flutter package that offers a unique, scrollable, and flat perspective wheel-type date picker, inspired by the sleek design seen in TikTok. This package allows developers to easily integrate an intuitive and visually appealing date picker into their Flutter applications. The date picker is fully customizable, providing smooth scrolling and a modern, flat design that enhances the user experience. It's perfect for applications where a stylish and user-friendly date selection is essential.",stack:["Dart","Flutter","Pub Dev","Change Notifier"],type:jn.web,live:"https://pub.dev/packages/scroll_wheel_date_picker"},{source:Vj,blurHash:jN,name:"TriTok",subtitle:"(TikTok Clone 🎥)",desc:"A clone application of TikTok made in Flutter. The idea was to create a modified version of TikTok by including and removing some of the features based on personal preference.",stack:["Flutter","Firebase","Firebase Auth","Firebase Storage","Cloud Firestore","Bloc","Pexels API","Go Router","GetIt","Dio","Retrofit","Secure Storage"],type:jn.mobile},{source:Bj,blurHash:NN,name:"Leafonic",subtitle:"(Corynespora Leaf Disease Detector 🌿)",desc:"I developed a mobile application using a Convolutional Neural Network (CNN) powered by TensorFlow to classify the health of 𝗥𝘂𝗯𝗯𝗲𝗿 𝗧𝗿𝗲𝗲 𝗟𝗲𝗮𝘃𝗲𝘀 (𝘏𝘦𝘷𝘦𝘢 𝘣𝘳𝘢𝘴𝘪𝘭𝘪𝘦𝘯𝘴𝘪𝘴). The app precisely detects whether a leaf is healthy or afflicted with 𝘊𝘰𝘳𝘺𝘯𝘦𝘴𝘱𝘰𝘳𝘢 disease, utilizing CNNs for accurate image recognition. This technology-driven tool enhances early disease detection and supports farmers in maintaining healthier crops.",stack:["Flutter","Tensorflow","Tflite","Image processing","Convolutional Neural Network (CNN)"],type:jn.mobile},{source:Uj,blurHash:RN,name:"FlixSage",subtitle:"(Movie or Any Show Guesser 🪄)",desc:"With FlixSage, users can effortlessly upload an image related to a movie, whether it's a poster, screenshot, or promotional still. Once uploaded, the app employs advanced image recognition algorithms to identify the title, cast members, synopsis, and other pertinent information associated with the movie depicted in the image. This seamless process eliminates the need for manual searching and typing, providing users with instant access to comprehensive details about the movie they're interested in. Whether you're browsing through your photo gallery or stumbling upon intriguing movie visuals online, FlixSage ensures that you have all the essential information at your fingertips, making your movie-watching experience more informed and enjoyable.",stack:["Flutter","Firebase","Bloc","AI","GetIt","Go Router","Object Box"],type:jn.mobile}];var Vy="AlertDialog",[MN,_M]=ho(Vy,[ly]),_r=ly(),By=e=>{const{__scopeAlertDialog:t,...n}=e,r=_r(t);return c.jsx(b1,{...r,...n,modal:!0})};By.displayName=Vy;var PN="AlertDialogTrigger",Uy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_r(n);return c.jsx(S1,{...o,...r,ref:t})});Uy.displayName=PN;var DN="AlertDialogPortal",Hy=e=>{const{__scopeAlertDialog:t,...n}=e,r=_r(t);return c.jsx(C1,{...r,...n})};Hy.displayName=DN;var AN="AlertDialogOverlay",Wy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_r(n);return c.jsx(za,{...o,...r,ref:t})});Wy.displayName=AN;var Mi="AlertDialogContent",[ON,LN]=MN(Mi),Zy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...o}=e,i=_r(n),s=p.useRef(null),a=ct(t,s),l=p.useRef(null);return c.jsx(sj,{contentName:Mi,titleName:Gy,docsSlug:"alert-dialog",children:c.jsx(ON,{scope:n,cancelRef:l,children:c.jsxs($a,{role:"alertdialog",...i,...o,ref:a,onOpenAutoFocus:ve(o.onOpenAutoFocus,u=>{var f;u.preventDefault(),(f=l.current)==null||f.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault(),children:[c.jsx(G0,{children:r}),c.jsx(FN,{contentRef:s})]})})})});Zy.displayName=Mi;var Gy="AlertDialogTitle",Ky=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_r(n);return c.jsx(Va,{...o,...r,ref:t})});Ky.displayName=Gy;var Yy="AlertDialogDescription",Qy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_r(n);return c.jsx(Ba,{...o,...r,ref:t})});Qy.displayName=Yy;var IN="AlertDialogAction",Xy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_r(n);return c.jsx(Su,{...o,...r,ref:t})});Xy.displayName=IN;var Jy="AlertDialogCancel",qy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=LN(Jy,n),i=_r(n),s=ct(t,o);return c.jsx(Su,{...i,...r,ref:s})});qy.displayName=Jy;var FN=({contentRef:e})=>{const t=`\`${Mi}\` requires a description for the component to be accessible for screen reader users. +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",s=0;s(typeof window=="object"&&document.documentElement.style.setProperty("--line-color",r),iN.default.createElement("div",{className:(0,sN.default)(t,"vertical-timeline",{"vertical-timeline--animate":e,"vertical-timeline--two-columns":n==="2-columns","vertical-timeline--one-column-left":n==="1-column"||n==="1-column-left","vertical-timeline--one-column-right":n==="1-column-right"})},o));Iy.propTypes={children:Tr.default.oneOfType([Tr.default.arrayOf(Tr.default.node),Tr.default.node]).isRequired,className:Tr.default.string,animate:Tr.default.bool,layout:Tr.default.oneOf(["1-column-left","1-column","2-columns","1-column-right"]),lineColor:Tr.default.string};var aN=Iy;Cu.default=aN;var _u={};function Lf(){return Lf=Object.assign||function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}var Ff=new Map,Sl=new WeakMap,Yp=0,Fy=void 0;function uN(e){Fy=e}function dN(e){return e?(Sl.has(e)||(Yp+=1,Sl.set(e,Yp.toString())),Sl.get(e)):"0"}function fN(e){return Object.keys(e).sort().filter(function(t){return e[t]!==void 0}).map(function(t){return t+"_"+(t==="root"?dN(e.root):e[t])}).toString()}function hN(e){var t=fN(e),n=Ff.get(t);if(!n){var r=new Map,o,i=new IntersectionObserver(function(s){s.forEach(function(a){var l,u=a.isIntersecting&&o.some(function(f){return a.intersectionRatio>=f});e.trackVisibility&&typeof a.isVisible>"u"&&(a.isVisible=u),(l=r.get(a.target))==null||l.forEach(function(f){f(u,a)})})},e);o=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:i,elements:r},Ff.set(t,n)}return n}function E1(e,t,n,r){if(n===void 0&&(n={}),r===void 0&&(r=Fy),typeof window.IntersectionObserver>"u"&&r!==void 0){var o=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),function(){}}var i=hN(n),s=i.id,a=i.observer,l=i.elements,u=l.get(e)||[];return l.has(e)||l.set(e,u),u.push(t),a.observe(e),function(){u.splice(u.indexOf(t),1),u.length===0&&(l.delete(e),a.unobserve(e)),l.size===0&&(a.disconnect(),Ff.delete(s))}}var pN=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function Qp(e){return typeof e.children!="function"}var Ec=function(e){lN(t,e);function t(r){var o;return o=e.call(this,r)||this,o.node=null,o._unobserveCb=null,o.handleNode=function(i){o.node&&(o.unobserve(),!i&&!o.props.triggerOnce&&!o.props.skip&&o.setState({inView:!!o.props.initialInView,entry:void 0})),o.node=i||null,o.observeNode()},o.handleChange=function(i,s){i&&o.props.triggerOnce&&o.unobserve(),Qp(o.props)||o.setState({inView:i,entry:s}),o.props.onChange&&o.props.onChange(i,s)},o.state={inView:!!r.initialInView,entry:void 0},o}var n=t.prototype;return n.componentDidUpdate=function(o){(o.rootMargin!==this.props.rootMargin||o.root!==this.props.root||o.threshold!==this.props.threshold||o.skip!==this.props.skip||o.trackVisibility!==this.props.trackVisibility||o.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},n.componentWillUnmount=function(){this.unobserve(),this.node=null},n.observeNode=function(){if(!(!this.node||this.props.skip)){var o=this.props,i=o.threshold,s=o.root,a=o.rootMargin,l=o.trackVisibility,u=o.delay,f=o.fallbackInView;this._unobserveCb=E1(this.node,this.handleChange,{threshold:i,root:s,rootMargin:a,trackVisibility:l,delay:u},f)}},n.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},n.render=function(){if(!Qp(this.props)){var o=this.state,i=o.inView,s=o.entry;return this.props.children({inView:i,entry:s,ref:this.handleNode})}var a=this.props,l=a.children,u=a.as,f=cN(a,pN);return p.createElement(u||"div",Lf({ref:this.handleNode},f),l)},t}(p.Component);Ec.displayName="InView";Ec.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1};function mN(e){var t=e===void 0?{}:e,n=t.threshold,r=t.delay,o=t.trackVisibility,i=t.rootMargin,s=t.root,a=t.triggerOnce,l=t.skip,u=t.initialInView,f=t.fallbackInView,d=p.useRef(),h=p.useState({inView:!!u}),y=h[0],x=h[1],v=p.useCallback(function(g){d.current!==void 0&&(d.current(),d.current=void 0),!l&&g&&(d.current=E1(g,function(m,w){x({inView:m,entry:w}),w.isIntersecting&&a&&d.current&&(d.current(),d.current=void 0)},{root:s,rootMargin:i,threshold:n,trackVisibility:o,delay:r},f))},[Array.isArray(n)?n.toString():n,s,i,a,l,o,f,r]);p.useEffect(function(){!d.current&&y.entry&&!a&&!l&&x({inView:!!u})});var b=[v,y.inView,y.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}const gN=Object.freeze(Object.defineProperty({__proto__:null,InView:Ec,default:Ec,defaultFallbackInView:uN,observe:E1,useInView:mN},Symbol.toStringTag,{value:"Module"})),vN=y6(gN);_u.__esModule=!0;_u.default=void 0;var Mr=k1(p),Ke=k1(Ay),Cl=k1(Ly),yN=vN;function k1(e){return e&&e.__esModule?e:{default:e}}const zy=({children:e="",className:t="",contentArrowStyle:n=null,contentStyle:r=null,date:o="",dateClassName:i="",icon:s=null,iconClassName:a="",iconOnClick:l=null,onTimelineElementClick:u=null,iconStyle:f=null,id:d="",position:h="",style:y=null,textClassName:x="",intersectionObserverProps:v={rootMargin:"0px 0px -40px 0px",triggerOnce:!0},visible:b=!1})=>Mr.default.createElement(yN.InView,v,({inView:g,ref:m})=>Mr.default.createElement("div",{ref:m,id:d,className:(0,Cl.default)(t,"vertical-timeline-element",{"vertical-timeline-element--left":h==="left","vertical-timeline-element--right":h==="right","vertical-timeline-element--no-children":e===""}),style:y},Mr.default.createElement(Mr.default.Fragment,null,Mr.default.createElement("span",{style:f,onClick:l,className:(0,Cl.default)(a,"vertical-timeline-element-icon",{"bounce-in":g||b,"is-hidden":!(g||b)})},s),Mr.default.createElement("div",{style:r,onClick:u,className:(0,Cl.default)(x,"vertical-timeline-element-content",{"bounce-in":g||b,"is-hidden":!(g||b)})},Mr.default.createElement("div",{style:n,className:"vertical-timeline-element-content-arrow"}),e,Mr.default.createElement("span",{className:(0,Cl.default)(i,"vertical-timeline-element-date")},o)))));zy.propTypes={children:Ke.default.oneOfType([Ke.default.arrayOf(Ke.default.node),Ke.default.node]),className:Ke.default.string,contentArrowStyle:Ke.default.shape({}),contentStyle:Ke.default.shape({}),date:Ke.default.node,dateClassName:Ke.default.string,icon:Ke.default.element,iconClassName:Ke.default.string,iconStyle:Ke.default.shape({}),iconOnClick:Ke.default.func,onTimelineElementClick:Ke.default.func,id:Ke.default.string,position:Ke.default.string,style:Ke.default.shape({}),textClassName:Ke.default.string,visible:Ke.default.bool,intersectionObserverProps:Ke.default.shape({root:Ke.default.object,rootMargin:Ke.default.string,threshold:Ke.default.number,triggerOnce:Ke.default.bool})};var xN=zy;_u.default=xN;var Eu={VerticalTimeline:Cu.default,VerticalTimelineElement:_u.default};const wN=[{image:Ty,position:"Freelance Software Developer",company:"Fingertips",setup:"Remote",date:"July 2022 – June 2024",highlights:["Developed and deployed 5+ custom mobile applications for Android using Flutter and 5+ web applications using React Frameworks, enhancing user engagement and client satisfaction.","Designed and implemented responsive web applications with HTML, CSS and Javascript with React framework for local clients.","Integrated third-party APIs (oauth, mapping services, etc.) and conducted thorough testing, ensuring high performance and security.","Collaborated with clients to gather requirements, deliver projects within the timelines and budgets, and provided ongoing maintenance, resulting in 95% client retention."],skills:["Android Development","Web Development","Web Design","Frontend Development","Backed Development","React JS","Next JS","Express JS","MongoDB","Clerk","Vercel","Netlify","Github Pages","Tailwind CSS","Figma","Photoshop","MVC","REST API","Rive","Unity","Tensorflow","Tflite"]},{image:Ij,position:"Mobile Application Developer",company:"GotWork Digital",link:"https://gotwork.digital",setup:"Remote",date:"May 2023 – April 2024",highlights:["Transitioned MindFree application to Flutter from its previous tech stack, implementing 8 intricate user interface designs from Figma, resulting in a 20% boost in user satisfaction.","Developed applications using Feature First Clean Architecture, leveraging Riverpod and Bloc for robust state management, adhering to industry best practices.","Enhanced app functionality through regular software updates and integration of new dependencies, consistently delivering new features and improvements.","Actively collaborated with a senior software engineer, gaining valuable mentorship, and contributed to team success by sharing updates and insights in weekly meetings."],skills:["Flutter","Firebase","Cloud Firestore","Supabase","Trello","Bloc","Riverpod","GoRouter","GetIt","Figma","Bitbucket","Unit Testing","Clean Architecture","MVVM","REST API"]},{image:Fj,position:"Software Developer",company:"Convocade",link:"https://www.facebook.com/Convocade",setup:"Remote",date:"July 2022 – January 2023",highlights:["Developed a web app using ReactJS and was migrated to NextJS for advance features, enabling businesses to hire influencers for advertisement, connecting over 3+ businesses with influencers.","Implemented dynamic features like monthly influencer rotation and influencer of the week, enhancing user engagement and platform activity by 35%.","Created a seamless booking system for influencers and businesses, prioritizing popular influencers while providing flexibility for lesser- known influencers to gain exposure, optimizing the hiring process for all parties involved.","Developed a dynamic landing page to assist 100+ eligible military spouses in obtaining professional credentials, facilitating their career advancement.","Developed a music player web app to showcase over 3+ tracks produced by Aquilarie, enhancing their online presence and audience reach."],subCompanies:[{company:"MyCAA Grant Assist",image:Vj,link:"https://mycaagrant.com"},{company:"Aquilarie",image:$j,link:"https://spotify.com/artist/2F2fMy2GAqcw2k7fk97kSk"}],skills:["React JS","Next JS","Tailwind CSS","Redux JS","Zustand","Express JS","Uploadthing","Clerk","Framer Motion","GSAP","Figma","Zod","React Hook Form","Shadcn UI"]},{image:zj,position:"Full-Stack Developer Intern",company:"USM Graduate School",link:"https://www.usm.edu.ph/academics/graduate-school",setup:"On-site",date:"January 2021 – June 2021",highlights:["Led the development of the Mastivity Web Application for USM Graduate School Faculty, managing both Frontend and Backend, resulting in a 20% increase in user engagement.","Conducted regular software updates and delivered comprehensive presentations of the web application, ensuring stakeholders were updated and satisfied with the system's progress.","Maintained an active presence, dedicating 8 hours in-office daily and continued work remotely, contributing to 95% uptime and reliability of the system.","Enhanced skill set by mastering ASP.NET Core and Angular framework, resulting in a 30% improvement in development efficiency and project completion time."],skills:["ASP.Net Core","Angular","Angular Material","Azure","MSSQL Server","Swagger API","Entity Framework (EF) Core","Bootstrap","SCSS","HTML","JSON Web Token (JWT)"]}],bN=au("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function ko({className:e,variant:t,...n}){return c.jsx("div",{className:ce(bN({variant:t}),e),...n})}const SN=({image:e,position:t,company:n,link:r,setup:o,date:i,highlights:s,skills:a,subCompanies:l})=>c.jsxs(Eu.VerticalTimelineElement,{contentStyle:{background:"hsl(var(--secondary) / 0.2)",border:"1px solid hsl(var(--secondary) / 0.5)",color:"hsl(var(--secondary-foreground))",display:"flex",flexDirection:"column",boxShadow:"hsl(var(--primary) / 0.2) 0px 4px 24px",borderRadius:"8px"},contentArrowStyle:{borderRight:"8px solid hsl(var(--secondary) / 0.8)"},date:i,iconStyle:{boxShadow:"hsl(var(--primary)) 0px 4px 24px",outline:"2px solid hsl(var(--primary))"},icon:r?c.jsx(Pt,{to:r,target:"_blank",children:c.jsx("img",{src:e,alt:n,className:"rounded-full w-full h-full border object-cover cursor-pointer"})}):c.jsx("img",{src:e,alt:n,className:"rounded-full w-full h-full border object-cover"}),children:[c.jsxs("div",{className:"flex items-start gap-x-4",children:[c.jsx("img",{src:e,alt:"company",className:"rounded-sm drop-shadow-primary-glow h-16 w-16 object-cover"}),c.jsxs("div",{className:"leading-none",children:[c.jsx("h3",{className:"font-bold",children:t}),c.jsx("h4",{className:"text-sm text-secondary-foreground/80",children:n}),c.jsx("h5",{className:"text-xs text-secondary-foreground/40",children:i}),c.jsx("h6",{className:"text-xs text-secondary-foreground/40",children:o})]})]}),c.jsx("div",{className:"flex flex-col items-start space-y-2",children:s.map(u=>c.jsxs("p",{className:"!text-sm text-muted-foreground",children:["— ",u]},u))}),l&&c.jsxs("div",{className:"space-y-1.5",children:[c.jsx("p",{className:"!font-semibold !text-sm",children:"Sub-Companies"}),c.jsx("div",{className:"flex item-start flex-wrap gap-2.5 lg:gap-6 mt-4",children:l.map(u=>c.jsxs(Pt,{to:u.link,className:"flex-center gap-x-2 text-xs text-secondary-foreground/80",children:[c.jsx("div",{style:{boxShadow:"hsl(var(--primary)) 0px 4px 24px"},className:"rounded-full h-6 w-6 bg-white overflow-hidden flex-center p-0.5",children:c.jsx("img",{src:u.image,alt:u.company,className:"w-full h-full object-scale-down"})}),u.company]},`${u.company}-${u}`))})]}),c.jsxs("div",{className:"space-y-1.5",children:[c.jsx("p",{className:"!font-semibold !text-sm",children:"Skills Gained"}),c.jsx("div",{className:"flex item-start flex-wrap gap-1.5 mt-4",children:a.map(u=>c.jsx(ko,{children:u},`${n}-${u}`))})]})]}),CN=()=>c.jsxs("section",{className:ce("min-h-dvh flex items-center flex-col gap-y-2 lg:gap-y-6 border-b pt-14 pb-6 px-2 lg:px-0",mo.rootSection),id:at.experience,children:[c.jsxs("div",{className:"flex items-center gap-x-2 w-full pt-6 lg:relative",children:[c.jsx("span",{className:"w-[32px] lg:w-[128px] h-1 rounded-full bg-muted-foreground tracking-widest"}),c.jsx("h2",{className:"text-lg lg:text-4xl font-bold",children:"WORK EXPERIENCE"}),c.jsx(K9,{className:"w-5 lg:w-8 h-5 lg:h-8 sm:absolute xs:right-6 lg:right-0 opacity-50"})]}),c.jsx("p",{className:"text-xs lg:text-sm text-muted-foreground text-center lg:mt-2 w-3/4 lg:w-full",children:"Here are details of my experience as a software developer, including my roles across various companies and projects."}),c.jsx(Eu.VerticalTimeline,{lineColor:"hsl(var(--foreground) / 0.6)",className:"mt-4 lg:mt-20",children:wN.map(e=>c.jsx(SN,{...e},e.company))})]}),_N=[{source:"https://www.usm.edu.ph",name:"University of Southern Mindanao",logo:Wj,department:"College of Engineering and Information Technology",date:"August 2019 - June 2023",honor:"Cum Laude",desc:"I graduated from the University of Southern Mindanao (USM) with a Bachelor's degree in Computer Science, achieving Cum Laude with a GPA of 1.67. During my time at USM, I actively participated in the in-house review, representing my thesis study. I was also a member of the Philippine Society of Information Technology (PSIT), which enriched my academic experience. My coursework included Data Structures and Algorithms, Time Complexity, Software Engineering, Networking, and Artificial Intelligence, among other advanced topics.",study:{title:"Luminous: A heart rate-based horror adventure game using A* pathfinding algorithm",desc:"Luminous is a story-based horror-adventure game that I created in Unity for my undergraduate thesis. The study mainly focused on AI (artificial intelligence) and provided a unique mechanism for tracking the player's location based on their heart rate. The objectives of this study were to use the player’s heart rate as the heuristic value in the A* algorithm, implement an enemy-tracking mechanic based on the heart rate-based heuristics, and determine its accuracy against the default A* algorithm.",stack:["Unity","A*","C#","HypeRate","Photoshop","Blender","Audacity"],demo:"https://www.youtube.com/watch?v=7zYUk5x-B40"},projects:[{title:"Mastivity",desc:"As per my OJT requirement, we were tasked with creating a system dedicated to our assigned department. I was assigned to graduate school; thus, I created a system that boosts masters productivity and will help them with their daily endeavors.",stack:["Bootstrap","Angular",".Net Core","Entity Framework","Swagger API","MSSQL","Azure","Netlify"],demo:"https://www.youtube.com/watch?v=OUnh-eysJrM"},{title:"Document Request System",desc:"This was a system that I made for the HR department at USM for generating documents based on user requests by filling out an online form provided by the system.",stack:["Bootstrap","Angular",".Net Core","Entity Framework","Swagger API","MSSQL","Azure","Netlify"],demo:"https://www.youtube.com/watch?v=jkJ1Z9-yHYU"},{title:"Faculty Competency System",desc:"This was a system that I made for the HRDMO to assess the competency level of the faculty members.",stack:["Bootstrap",".Net Blazor","Entity Framework","Swagger API","MSSQL","Azure","Netlify"]}],type:_s.college},{source:"https://www.facebook.com/MatanaoNHS",name:"Matanao National High School",logo:Kp,department:"Senior - Information and Communication Technology (ICT) Strand",date:"June 2017 - April 2019",honor:"With High Honors",desc:"I graduated from Matanao National High School (MNHS) - Senior High with the distinction of With High Honors. This achievement reflects my dedication and commitment to academic excellence throughout my senior high school years.",type:_s.seniorHigh},{source:"https://www.facebook.com/MatanaoNHS",name:"Matanao National High School",logo:Kp,department:"Junior - Science, Technology, Engineering and Mathematics",date:"August 2013 - June 2017",honor:"With Honors",desc:"I completed my junior high school education at Matanao National High School (MNHS), graduating with the distinction of With Honors. This recognition highlights my consistent academic performance and dedication during those formative years.",type:_s.juniorHigh},{source:"https://www.facebook.com/p/DepEd-Tayo-Youth-Formation-Ceboza-Elementary-School-100079755368493/?_rdr",name:"Ceboza Matanao Elementary School",logo:Gj,sub:{name:"Kapitan Tomas Monteverde Sr. Central Elementary School",desc:"Grade 1 - 5",logo:Zj},date:"June 2007 - March 2013",honor:"Valedictorian",desc:"I began my elementary education at Kapital Tomas Monteverde Sr. Central Elementary School, and later transferred to Ceboza Matanao Elementary School in Grade 5. I graduated from Ceboza Matanao Elementary School as the class Valedictorian, an honor that reflects my commitment to academic excellence from an early age.",type:_s.elementary}],EN=({source:e,name:t,logo:n,sub:r,department:o,date:i,honor:s,desc:a,study:l,projects:u})=>c.jsxs(Eu.VerticalTimelineElement,{contentStyle:{background:"hsl(var(--secondary) / 0.2)",border:"1px solid hsl(var(--secondary) / 0.5)",color:"hsl(var(--secondary-foreground))",display:"flex",flexDirection:"column",boxShadow:"hsl(var(--primary) / 0.2) 0px 4px 24px",borderRadius:"8px"},contentArrowStyle:{borderRight:"8px solid hsl(var(--secondary) / 0.8)"},date:i,iconStyle:{backgroundColor:"#FFF",boxShadow:"hsl(var(--primary)) 0px 4px 24px",outline:"2px solid hsl(var(--primary))"},icon:c.jsx(Pt,{to:e,target:"_blank",children:c.jsx("img",{src:n,alt:t,className:"rounded-full w-full h-full object-cover scale-90"})}),children:[c.jsxs("div",{className:"flex items-start gap-x-4",children:[c.jsx("img",{src:n,alt:t,className:"rounded-sm drop-shadow-primary-glow h-16 w-16 object-cover"}),c.jsxs("div",{className:"leading-tight space-y-0.5",children:[c.jsx("h3",{className:"font-bold",children:t}),c.jsx("h4",{className:"text-sm text-secondary-foreground/80",children:o}),c.jsx("h5",{className:"text-sm text-secondary-foreground/40",children:i}),c.jsx("h6",{className:"text-xs text-secondary-foreground/40 font-semibold",children:s})]})]}),r&&c.jsxs("div",{className:"flex gap-x-4 mt-2",children:[c.jsx("img",{src:r.logo,alt:r.name,className:"rounded-sm drop-shadow-primary-glow h-16 w-16 object-cover"}),c.jsxs("div",{className:"leading-tight space-y-0.5",children:[c.jsx("h3",{className:"font-bold",children:r.name}),c.jsx("h6",{className:"text-xs text-secondary-foreground/40 font-semibold",children:r.desc})]})]}),c.jsx("p",{className:"!text-sm text-muted-foreground",children:a}),l&&c.jsxs("div",{className:"space-y-1.5",children:[c.jsx("p",{className:"!font-semibold !text-sm",children:"Thesis Study"}),c.jsx("h5",{className:"!text-sm !font-normal text-foreground/80",children:l.title}),c.jsx("p",{className:"!text-xs text-muted-foreground",children:l.desc}),c.jsx("div",{className:"flex items-start flex-wrap gap-1",children:l.stack.map(f=>c.jsx(ko,{className:"bg-background/50",children:f},f))}),c.jsx(Pt,{to:l.demo,target:"_blank",children:c.jsxs(ko,{className:"bg-secondary/20 whitespace-nowrap gap-x-2 py-1 px-2.5 cursor-pointer w-fit mt-2",children:[c.jsx(Gp,{color:Of,className:"w-4 h-4"}),l.title.split(" ")[0].replace(":","")," Demo"]})})]}),u&&c.jsxs("div",{className:"space-y-1.5",children:[c.jsx("p",{className:"!font-semibold !text-sm",children:"Projects"}),c.jsx("div",{className:"space-y-2.5 mt-4",children:u.map(f=>c.jsxs("div",{className:"space-y-2",children:[c.jsx("h5",{className:"!text-sm !font-bold text-foreground/80",children:f.title}),c.jsx("p",{className:"!text-xs text-muted-foreground !m-0",children:f.desc}),c.jsx("div",{className:"flex items-start flex-wrap gap-1",children:f.stack.map(d=>c.jsx(ko,{className:"bg-background/50",children:d},d))}),f.demo&&c.jsx(Pt,{to:f.demo,target:"_blank",children:c.jsxs(ko,{className:"bg-secondary/20 whitespace-nowrap gap-x-2 py-1 px-2.5 cursor-pointer w-fit mt-1.5",children:[c.jsx(Gp,{color:Of,className:"w-4 h-4"}),f.title," Demo"]},f.title)})]},f.title))})]})]}),kN=()=>c.jsxs("section",{className:ce("min-h-dvh flex flex-col gap-y-2 lg:gap-y-6 border-b pt-14 pb-6 px-2 lg:px-0",mo.rootSection),id:at.education,children:[c.jsxs("div",{className:"flex items-center gap-x-2 w-full pt-6 lg:relative",children:[c.jsx("span",{className:"w-[32px] lg:w-[128px] h-1 rounded-full bg-muted-foreground tracking-widest"}),c.jsx("h2",{className:"text-lg lg:text-4xl font-bold",children:"EDUCATION"}),c.jsx(J9,{className:"w-5 lg:w-8 h-5 lg:h-8 sm:absolute xs:right-6 lg:right-0 opacity-50"})]}),c.jsx("p",{className:"text-xs lg:text-sm text-muted-foreground text-center lg:mt-2 w-3/4 mx-auto",children:"Throughout my academic journey, each experience has played a distinct role in my development. Here’s an overview of the key milestones in my educational path."}),c.jsx(Eu.VerticalTimeline,{lineColor:"hsl(var(--foreground) / 0.6)",className:"mt-4 lg:mt-20",children:_N.map((e,t)=>c.jsx(EN,{...e},`${e.name}-${t}`))})]}),jN="LvRCe{t8.TWAo}a|jEj[x]V@Rjoz",NN="L5Db.:Y800ve|TwZ9|9wIonho#-;",RN="LkMa3JRk~X%2ofayayoLxuoeRiR*",TN="L9P%bT~n-:9J-;RjV@t70Fnz?6R;",MN="LVKeN5?b_N4mRjoft7fQkrV@Vskq",$y="https://forms.gle/PFHoohMazvKMeKCh7",PN=[{source:"https://www.youtube.com/embed/SBOBtfs9XiI?si=vpB3x8Mg3x4F2ipa",name:"Tweetch",subtitle:"(Twitch Clone 🎮)",desc:"Tweetch is a Twitch clone crafted with personal preferences in mind. Designed to emulate the popular live streaming platform, this project aims to provide a familiar experience while incorporating custom features and enhancements tailored to individual needs.",stack:["Next JS","Supabase","Prisma ORM","Livekit","Clerk","Zustand","Shadcn UI","React Hook Form","Uploadthing","Zod","Next Themes","Tailwind CSS"],type:Nn.web,live:"https://tweetch.vercel.app"},{source:"https://www.youtube.com/embed/pWdMyb9P70I?si=ZZvSe9ja1Ax-3-U1",name:"GrainGuru",subtitle:"(Rice Price Forecaster 🌾)",desc:"Leveraging an LSTM model, I developed a web application that compares and forecasts the current and future prices of different rice varieties in Cotabato.",stack:["Tensorflow JS","React JS","Express JS","MongoDB","Clerk","Prisma ORM","Zustand","Tailwind CSS","Shadcn UI","React Hook Form","Uploadthing","Zod"],type:Nn.web,live:"https://grainguru.vercel.app"},{source:"https://www.youtube.com/embed/yada96hMy48?si=MkaDE6ltknpxi8Pm",name:"ScrollWheel Date Picker",subtitle:"(Flutter Package 📅)",desc:"I developed a Flutter package that offers a unique, scrollable, and flat perspective wheel-type date picker, inspired by the sleek design seen in TikTok. This package allows developers to easily integrate an intuitive and visually appealing date picker into their Flutter applications. The date picker is fully customizable, providing smooth scrolling and a modern, flat design that enhances the user experience. It's perfect for applications where a stylish and user-friendly date selection is essential.",stack:["Dart","Flutter","Pub Dev","Change Notifier"],type:Nn.web,live:"https://pub.dev/packages/scroll_wheel_date_picker"},{source:Bj,blurHash:RN,name:"TriTok",subtitle:"(TikTok Clone 🎥)",desc:"A clone application of TikTok made in Flutter. The idea was to create a modified version of TikTok by including and removing some of the features based on personal preference.",stack:["Flutter","Firebase","Firebase Auth","Firebase Storage","Cloud Firestore","Bloc","Pexels API","Go Router","GetIt","Dio","Retrofit","Secure Storage"],type:Nn.mobile},{source:Uj,blurHash:TN,name:"Leafonic",subtitle:"(Corynespora Leaf Disease Detector 🌿)",desc:"I developed a mobile application using a Convolutional Neural Network (CNN) powered by TensorFlow to classify the health of 𝗥𝘂𝗯𝗯𝗲𝗿 𝗧𝗿𝗲𝗲 𝗟𝗲𝗮𝘃𝗲𝘀 (𝘏𝘦𝘷𝘦𝘢 𝘣𝘳𝘢𝘴𝘪𝘭𝘪𝘦𝘯𝘴𝘪𝘴). The app precisely detects whether a leaf is healthy or afflicted with 𝘊𝘰𝘳𝘺𝘯𝘦𝘴𝘱𝘰𝘳𝘢 disease, utilizing CNNs for accurate image recognition. This technology-driven tool enhances early disease detection and supports farmers in maintaining healthier crops.",stack:["Flutter","Tensorflow","Tflite","Image processing","Convolutional Neural Network (CNN)"],type:Nn.mobile},{source:Hj,blurHash:MN,name:"FlixSage",subtitle:"(Movie or Any Show Guesser 🪄)",desc:"With FlixSage, users can effortlessly upload an image related to a movie, whether it's a poster, screenshot, or promotional still. Once uploaded, the app employs advanced image recognition algorithms to identify the title, cast members, synopsis, and other pertinent information associated with the movie depicted in the image. This seamless process eliminates the need for manual searching and typing, providing users with instant access to comprehensive details about the movie they're interested in. Whether you're browsing through your photo gallery or stumbling upon intriguing movie visuals online, FlixSage ensures that you have all the essential information at your fingertips, making your movie-watching experience more informed and enjoyable.",stack:["Flutter","Firebase","Bloc","AI","GetIt","Go Router","Object Box"],type:Nn.mobile}];var Vy="AlertDialog",[DN,kM]=po(Vy,[ly]),_r=ly(),By=e=>{const{__scopeAlertDialog:t,...n}=e,r=_r(t);return c.jsx(b1,{...r,...n,modal:!0})};By.displayName=Vy;var AN="AlertDialogTrigger",Uy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_r(n);return c.jsx(S1,{...o,...r,ref:t})});Uy.displayName=AN;var ON="AlertDialogPortal",Hy=e=>{const{__scopeAlertDialog:t,...n}=e,r=_r(t);return c.jsx(C1,{...r,...n})};Hy.displayName=ON;var LN="AlertDialogOverlay",Wy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_r(n);return c.jsx(za,{...o,...r,ref:t})});Wy.displayName=LN;var Mi="AlertDialogContent",[IN,FN]=DN(Mi),Zy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...o}=e,i=_r(n),s=p.useRef(null),a=ct(t,s),l=p.useRef(null);return c.jsx(aj,{contentName:Mi,titleName:Gy,docsSlug:"alert-dialog",children:c.jsx(IN,{scope:n,cancelRef:l,children:c.jsxs($a,{role:"alertdialog",...i,...o,ref:a,onOpenAutoFocus:ve(o.onOpenAutoFocus,u=>{var f;u.preventDefault(),(f=l.current)==null||f.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault(),children:[c.jsx(G0,{children:r}),c.jsx($N,{contentRef:s})]})})})});Zy.displayName=Mi;var Gy="AlertDialogTitle",Ky=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_r(n);return c.jsx(Va,{...o,...r,ref:t})});Ky.displayName=Gy;var Yy="AlertDialogDescription",Qy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_r(n);return c.jsx(Ba,{...o,...r,ref:t})});Qy.displayName=Yy;var zN="AlertDialogAction",Xy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_r(n);return c.jsx(Su,{...o,...r,ref:t})});Xy.displayName=zN;var Jy="AlertDialogCancel",qy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=FN(Jy,n),i=_r(n),s=ct(t,o);return c.jsx(Su,{...i,...r,ref:s})});qy.displayName=Jy;var $N=({contentRef:e})=>{const t=`\`${Mi}\` requires a description for the component to be accessible for screen reader users. You can add a description to the \`${Mi}\` by passing a \`${Yy}\` component as a child, which also benefits sighted users by adding visible context to the dialog. Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${Mi}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component. -For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return p.useEffect(()=>{var r;document.getElementById((r=e.current)==null?void 0:r.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},zN=By,$N=Uy,VN=Hy,e5=Wy,t5=Zy,n5=Xy,r5=qy,o5=Ky,i5=Qy;const BN=zN,UN=$N,HN=VN,s5=p.forwardRef(({className:e,...t},n)=>c.jsx(e5,{className:ce("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));s5.displayName=e5.displayName;const a5=p.forwardRef(({className:e,...t},n)=>c.jsxs(HN,{children:[c.jsx(s5,{}),c.jsx(t5,{ref:n,className:ce("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...t})]}));a5.displayName=t5.displayName;const l5=({className:e,...t})=>c.jsx("div",{className:ce("flex flex-col space-y-2 text-center sm:text-left",e),...t});l5.displayName="AlertDialogHeader";const c5=({className:e,...t})=>c.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});c5.displayName="AlertDialogFooter";const u5=p.forwardRef(({className:e,...t},n)=>c.jsx(o5,{ref:n,className:ce("text-lg font-semibold",e),...t}));u5.displayName=o5.displayName;const d5=p.forwardRef(({className:e,...t},n)=>c.jsx(i5,{ref:n,className:ce("text-sm text-muted-foreground",e),...t}));d5.displayName=i5.displayName;const f5=p.forwardRef(({className:e,...t},n)=>c.jsx(n5,{ref:n,className:ce(Y0(),e),...t}));f5.displayName=n5.displayName;const h5=p.forwardRef(({className:e,...t},n)=>c.jsx(r5,{ref:n,className:ce(Y0({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));h5.displayName=r5.displayName;var WN=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],Es=e=>{let t=0;for(let n=0;n{let t=e/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},yd=e=>{let t=Math.max(0,Math.min(1,e));return t<=.0031308?Math.trunc(t*12.92*255+.5):Math.trunc((1.055*Math.pow(t,.4166666666666667)-.055)*255+.5)},ZN=e=>e<0?-1:1,xd=(e,t)=>ZN(e)*Math.pow(Math.abs(e),t),Xp=class extends Error{constructor(e){super(e),this.name="ValidationError",this.message=e}},GN=e=>{if(!e||e.length<6)throw new Xp("The blurhash string must be at least 6 characters");let t=Es(e[0]),n=Math.floor(t/9)+1,r=t%9+1;if(e.length!==4+2*r*n)throw new Xp(`blurhash length mismatch: length is ${e.length} but it should be ${4+2*r*n}`)},KN=e=>{let t=e>>16,n=e>>8&255,r=e&255;return[vd(t),vd(n),vd(r)]},YN=(e,t)=>{let n=Math.floor(e/361),r=Math.floor(e/19)%19,o=e%19;return[xd((n-9)/9,2)*t,xd((r-9)/9,2)*t,xd((o-9)/9,2)*t]},QN=(e,t,n,r)=>{GN(e),r=r|1;let o=Es(e[0]),i=Math.floor(o/9)+1,s=o%9+1,a=(Es(e[1])+1)/166,l=new Array(s*i);for(let d=0;dt in e?JN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zf=(e,t)=>{for(var n in t||(t={}))p5.call(t,n)&&Jp(e,n,t[n]);if(kc)for(var n of kc(t))m5.call(t,n)&&Jp(e,n,t[n]);return e},$f=(e,t)=>qN(e,eR(t)),g5=(e,t)=>{var n={};for(var r in e)p5.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&kc)for(var r of kc(e))t.indexOf(r)<0&&m5.call(e,r)&&(n[r]=e[r]);return n},v5=class extends p.PureComponent{constructor(){super(...arguments),this.canvas=null,this.handleRef=t=>{this.canvas=t,this.draw()},this.draw=()=>{let{hash:t,height:n,punch:r,width:o}=this.props;if(this.canvas){let i=XN(t,o,n,r),s=this.canvas.getContext("2d"),a=s.createImageData(o,n);a.data.set(i),s.putImageData(a,0,0)}}}componentDidUpdate(){this.draw()}render(){let t=this.props,{hash:n,height:r,width:o}=t,i=g5(t,["hash","height","width"]);return p.createElement("canvas",$f(zf({},i),{height:r,width:o,ref:this.handleRef}))}};v5.defaultProps={height:128,width:128};var tR={position:"absolute",top:0,bottom:0,left:0,right:0,width:"100%",height:"100%"},y5=class extends p.PureComponent{componentDidUpdate(){if(this.props.resolutionX<=0)throw new Error("resolutionX must be larger than zero");if(this.props.resolutionY<=0)throw new Error("resolutionY must be larger than zero")}render(){let e=this.props,{hash:t,height:n,width:r,punch:o,resolutionX:i,resolutionY:s,style:a}=e,l=g5(e,["hash","height","width","punch","resolutionX","resolutionY","style"]);return p.createElement("div",$f(zf({},l),{style:$f(zf({display:"inline-block",height:n,width:r},a),{position:"relative"})}),p.createElement(v5,{hash:t,height:s,width:i,punch:o,style:tR}))}};y5.defaultProps={height:128,width:128,resolutionX:32,resolutionY:32};const jc=({hash:e,className:t,src:n,alt:r})=>{const[o,i]=p.useState(!1);return c.jsxs(c.Fragment,{children:[c.jsx("div",{className:ce("transition-opacity duration-500 ease-in-out overflow-hidden absolute",t,o?"opacity-0":"opacity-100"),children:c.jsx(y5,{hash:e,width:"100%",height:"100%"})}),c.jsx("img",{src:n,alt:r,onLoad:()=>i(!0),className:ce(t,o?"block":"hidden")})]})},nR=b1,rR=S1,oR=C1,x5=p.forwardRef(({className:e,...t},n)=>c.jsx(za,{ref:n,className:ce("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));x5.displayName=za.displayName;const w5=p.forwardRef(({className:e,children:t,...n},r)=>c.jsxs(oR,{children:[c.jsx(x5,{}),c.jsxs($a,{ref:r,className:ce("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...n,children:[t,c.jsxs(Su,{className:"absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[c.jsx(av,{className:"h-4 w-4"}),c.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));w5.displayName=$a.displayName;const b5=({className:e,...t})=>c.jsx("div",{className:ce("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});b5.displayName="DialogHeader";const S5=({className:e,...t})=>c.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});S5.displayName="DialogFooter";const C5=p.forwardRef(({className:e,...t},n)=>c.jsx(Va,{ref:n,className:ce("text-lg font-semibold leading-none tracking-tight",e),...t}));C5.displayName=Va.displayName;const _5=p.forwardRef(({className:e,...t},n)=>c.jsx(Ba,{ref:n,className:ce("text-sm text-muted-foreground",e),...t}));_5.displayName=Ba.displayName;const iR=()=>c.jsxs(nR,{children:[c.jsx(rR,{asChild:!0,children:c.jsx(Io,{variant:"link",className:"h-auto w-auto px-2.5 py-0.5 text-sm font-bold",children:"Request App"})}),c.jsxs(w5,{children:[c.jsx(b5,{children:c.jsx(C5,{children:"Request Access for Apps"})}),c.jsx(_5,{children:"Request access to my mobile apps by filling out this form. Please provide your name, email, and select the app/s you’re interested in. I’ll get back to you with the download details shortly!"}),c.jsx(S5,{children:c.jsx(Io,{asChild:!0,variant:"link",children:c.jsx(Pt,{to:$y,target:"_blank",children:"Fill out form"})})})]})]}),sR=({source:e,blurHash:t,name:n,subtitle:r,desc:o,stack:i,type:s})=>c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"aspect-video relative w-full",children:s===jn.web?c.jsx("iframe",{className:"w-full h-full",src:e,title:`${n} Preview`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0}):c.jsx(jc,{hash:t,src:e,alt:n,className:"aspect-video object-cover object-center"})}),c.jsxs("div",{className:"space-y-2 p-4 mt-2 flex-1 text-start",children:[c.jsxs("h3",{className:"text-lg font-bold leading-none flex items-center flex-wrap gap-x-2 gap-y-1",children:[n,r&&c.jsx("span",{className:"font-semibold text-sm text-accent",children:r})]}),c.jsx("p",{className:"text-xs text-primary-foreground/50 line-clamp-4",children:o}),c.jsx("h6",{className:"font-semibold text-xs text-primary-foreground/80",children:"Tech Stack"}),c.jsx("div",{className:"flex item-start flex-wrap gap-1.5 no-scrollbar",children:i.map(a=>c.jsx(Eo,{className:"bg-primary/30 whitespace-nowrap",children:a},`${n}-${a}`))})]})]}),aR=e=>{const t=iu(),n=()=>t==null?void 0:t.stop(),r=()=>t==null?void 0:t.start();return c.jsxs("div",{className:`w-full rounded-lg overflow-hidden bg-primary/5 \r +For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return p.useEffect(()=>{var r;document.getElementById((r=e.current)==null?void 0:r.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},VN=By,BN=Uy,UN=Hy,e5=Wy,t5=Zy,n5=Xy,r5=qy,o5=Ky,i5=Qy;const HN=VN,WN=BN,ZN=UN,s5=p.forwardRef(({className:e,...t},n)=>c.jsx(e5,{className:ce("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));s5.displayName=e5.displayName;const a5=p.forwardRef(({className:e,...t},n)=>c.jsxs(ZN,{children:[c.jsx(s5,{}),c.jsx(t5,{ref:n,className:ce("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...t})]}));a5.displayName=t5.displayName;const l5=({className:e,...t})=>c.jsx("div",{className:ce("flex flex-col space-y-2 text-center sm:text-left",e),...t});l5.displayName="AlertDialogHeader";const c5=({className:e,...t})=>c.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});c5.displayName="AlertDialogFooter";const u5=p.forwardRef(({className:e,...t},n)=>c.jsx(o5,{ref:n,className:ce("text-lg font-semibold",e),...t}));u5.displayName=o5.displayName;const d5=p.forwardRef(({className:e,...t},n)=>c.jsx(i5,{ref:n,className:ce("text-sm text-muted-foreground",e),...t}));d5.displayName=i5.displayName;const f5=p.forwardRef(({className:e,...t},n)=>c.jsx(n5,{ref:n,className:ce(Y0(),e),...t}));f5.displayName=n5.displayName;const h5=p.forwardRef(({className:e,...t},n)=>c.jsx(r5,{ref:n,className:ce(Y0({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));h5.displayName=r5.displayName;var GN=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],Es=e=>{let t=0;for(let n=0;n{let t=e/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},yd=e=>{let t=Math.max(0,Math.min(1,e));return t<=.0031308?Math.trunc(t*12.92*255+.5):Math.trunc((1.055*Math.pow(t,.4166666666666667)-.055)*255+.5)},KN=e=>e<0?-1:1,xd=(e,t)=>KN(e)*Math.pow(Math.abs(e),t),Xp=class extends Error{constructor(e){super(e),this.name="ValidationError",this.message=e}},YN=e=>{if(!e||e.length<6)throw new Xp("The blurhash string must be at least 6 characters");let t=Es(e[0]),n=Math.floor(t/9)+1,r=t%9+1;if(e.length!==4+2*r*n)throw new Xp(`blurhash length mismatch: length is ${e.length} but it should be ${4+2*r*n}`)},QN=e=>{let t=e>>16,n=e>>8&255,r=e&255;return[vd(t),vd(n),vd(r)]},XN=(e,t)=>{let n=Math.floor(e/361),r=Math.floor(e/19)%19,o=e%19;return[xd((n-9)/9,2)*t,xd((r-9)/9,2)*t,xd((o-9)/9,2)*t]},JN=(e,t,n,r)=>{YN(e),r=r|1;let o=Es(e[0]),i=Math.floor(o/9)+1,s=o%9+1,a=(Es(e[1])+1)/166,l=new Array(s*i);for(let d=0;dt in e?eR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zf=(e,t)=>{for(var n in t||(t={}))p5.call(t,n)&&Jp(e,n,t[n]);if(kc)for(var n of kc(t))m5.call(t,n)&&Jp(e,n,t[n]);return e},$f=(e,t)=>tR(e,nR(t)),g5=(e,t)=>{var n={};for(var r in e)p5.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&kc)for(var r of kc(e))t.indexOf(r)<0&&m5.call(e,r)&&(n[r]=e[r]);return n},v5=class extends p.PureComponent{constructor(){super(...arguments),this.canvas=null,this.handleRef=t=>{this.canvas=t,this.draw()},this.draw=()=>{let{hash:t,height:n,punch:r,width:o}=this.props;if(this.canvas){let i=qN(t,o,n,r),s=this.canvas.getContext("2d"),a=s.createImageData(o,n);a.data.set(i),s.putImageData(a,0,0)}}}componentDidUpdate(){this.draw()}render(){let t=this.props,{hash:n,height:r,width:o}=t,i=g5(t,["hash","height","width"]);return p.createElement("canvas",$f(zf({},i),{height:r,width:o,ref:this.handleRef}))}};v5.defaultProps={height:128,width:128};var rR={position:"absolute",top:0,bottom:0,left:0,right:0,width:"100%",height:"100%"},y5=class extends p.PureComponent{componentDidUpdate(){if(this.props.resolutionX<=0)throw new Error("resolutionX must be larger than zero");if(this.props.resolutionY<=0)throw new Error("resolutionY must be larger than zero")}render(){let e=this.props,{hash:t,height:n,width:r,punch:o,resolutionX:i,resolutionY:s,style:a}=e,l=g5(e,["hash","height","width","punch","resolutionX","resolutionY","style"]);return p.createElement("div",$f(zf({},l),{style:$f(zf({display:"inline-block",height:n,width:r},a),{position:"relative"})}),p.createElement(v5,{hash:t,height:s,width:i,punch:o,style:rR}))}};y5.defaultProps={height:128,width:128,resolutionX:32,resolutionY:32};const jc=({hash:e,className:t,src:n,alt:r})=>{const[o,i]=p.useState(!1);return c.jsxs(c.Fragment,{children:[c.jsx("div",{className:ce("transition-opacity duration-500 ease-in-out overflow-hidden absolute",t,o?"opacity-0":"opacity-100"),children:c.jsx(y5,{hash:e,width:"100%",height:"100%"})}),c.jsx("img",{src:n,alt:r,onLoad:()=>i(!0),className:ce(t,o?"block":"hidden")})]})},oR=b1,iR=S1,sR=C1,x5=p.forwardRef(({className:e,...t},n)=>c.jsx(za,{ref:n,className:ce("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));x5.displayName=za.displayName;const w5=p.forwardRef(({className:e,children:t,...n},r)=>c.jsxs(sR,{children:[c.jsx(x5,{}),c.jsxs($a,{ref:r,className:ce("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...n,children:[t,c.jsxs(Su,{className:"absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[c.jsx(av,{className:"h-4 w-4"}),c.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));w5.displayName=$a.displayName;const b5=({className:e,...t})=>c.jsx("div",{className:ce("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});b5.displayName="DialogHeader";const S5=({className:e,...t})=>c.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});S5.displayName="DialogFooter";const C5=p.forwardRef(({className:e,...t},n)=>c.jsx(Va,{ref:n,className:ce("text-lg font-semibold leading-none tracking-tight",e),...t}));C5.displayName=Va.displayName;const _5=p.forwardRef(({className:e,...t},n)=>c.jsx(Ba,{ref:n,className:ce("text-sm text-muted-foreground",e),...t}));_5.displayName=Ba.displayName;const aR=()=>c.jsxs(oR,{children:[c.jsx(iR,{asChild:!0,children:c.jsx(qr,{variant:"link",className:"h-auto w-auto px-2.5 py-0.5 text-sm font-bold",children:"Request App"})}),c.jsxs(w5,{children:[c.jsx(b5,{children:c.jsx(C5,{children:"Request Access for Apps"})}),c.jsx(_5,{children:"Request access to my mobile apps by filling out this form. Please provide your name, email, and select the app/s you’re interested in. I’ll get back to you with the download details shortly!"}),c.jsx(S5,{children:c.jsx(qr,{asChild:!0,variant:"link",children:c.jsx(Pt,{to:$y,target:"_blank",children:"Fill out form"})})})]})]}),lR=({source:e,blurHash:t,name:n,subtitle:r,desc:o,stack:i,type:s})=>c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"aspect-video relative w-full",children:s===Nn.web?c.jsx("iframe",{className:"w-full h-full",src:e,title:`${n} Preview`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0}):c.jsx(jc,{hash:t,src:e,alt:n,className:"aspect-video object-cover object-center"})}),c.jsxs("div",{className:"space-y-2 p-4 mt-2 flex-1 text-start",children:[c.jsxs("h3",{className:"text-lg font-bold leading-none flex items-center flex-wrap gap-x-2 gap-y-1",children:[n,r&&c.jsx("span",{className:"font-semibold text-sm text-accent",children:r})]}),c.jsx("p",{className:"text-xs text-primary-foreground/50 line-clamp-4",children:o}),c.jsx("h6",{className:"font-semibold text-xs text-primary-foreground/80",children:"Tech Stack"}),c.jsx("div",{className:"flex item-start flex-wrap gap-1.5 no-scrollbar",children:i.map(a=>c.jsx(ko,{className:"bg-primary/30 whitespace-nowrap",children:a},`${n}-${a}`))})]})]}),cR=e=>{const t=iu(),n=()=>t==null?void 0:t.stop(),r=()=>t==null?void 0:t.start();return c.jsxs("div",{className:`w-full rounded-lg overflow-hidden bg-primary/5 \r border drop-shadow-2xl flex justify-between flex-col hover:drop-shadow-purple-glow\r - transition-all duration-500 ease-in-out hover:-translate-y-2 cursor-pointer`,children:[c.jsxs(BN,{children:[c.jsx(UN,{onClick:n,className:"h-full w-full flex-between flex-col",children:c.jsx(sR,{...e})}),c.jsxs(a5,{"data-lenis-prevent":!0,className:"overflow-y-auto no-scrollbar h-4/5 lg:h-fit",children:[c.jsxs(l5,{children:[c.jsx("div",{className:"aspect-video relative",children:e.type===jn.web?c.jsx("iframe",{className:"w-full h-full rounded-md",src:e.source,title:`${e.name} Preview`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0}):c.jsx(jc,{hash:e.blurHash,src:e.source,alt:e.name,className:"aspect-video object-cover object-center rounded-md"})}),c.jsxs(u5,{className:"flex items-center flex-wrap gap-x-2 gap-y-1",children:[e.name," ",c.jsx("span",{className:"text-sm text-muted-foreground leading-none",children:e.subtitle})]}),c.jsx(d5,{className:"text-start",children:e.desc})]}),c.jsxs("div",{className:"space-y-2.5",children:[c.jsx("h6",{className:"font-semibold text-sm text-primary-foreground/80",children:"Tech Stack"}),c.jsx("div",{className:"flex item-start flex-wrap gap-1.5 no-scrollbar",children:e.stack.map(o=>c.jsx(Eo,{className:"bg-primary/30 whitespace-nowrap",children:o},`${e.name}-alert-${o}`))})]}),c.jsxs(c5,{children:[c.jsx(h5,{onClick:r,children:"Close"}),c.jsx(f5,{asChild:!0,children:e.type===jn.web?c.jsx(Pt,{to:e.source,children:"View Live"}):c.jsx(Pt,{to:$y,children:"Fill out form"})})]})]})]}),c.jsx("div",{className:"bg-primary/20 px-2 py-2.5 flex-center",children:e.type===jn.web?c.jsx(Io,{asChild:!0,variant:"link",className:"h-auto w-auto px-2.5 py-0.5 text-sm font-bold",children:c.jsx(Pt,{to:e.live,target:"_blank",children:"View Live"})}):c.jsx(iR,{})})]})},lR=()=>c.jsxs("section",{className:ce("min-h-dvh flex items-center flex-col gap-y-2 lg:gap-y-6 border-b pt-14 pb-6 px-2 lg:px-0",po.rootSection),id:at.projects,children:[c.jsxs("div",{className:"flex items-center justify-end gap-x-2 w-full pt-6 lg:relative",children:[c.jsx(rb,{className:"w-5 lg:w-8 h-5 lg:h-8 sm:absolute xs:left-6 lg:left-0 opacity-50"}),c.jsx("h2",{className:"text-lg lg:text-4xl font-bold",children:"PROJECTS"}),c.jsx("span",{className:"w-[32px] lg:w-[128px] h-1 rounded-full bg-muted-foreground tracking-widest"})]}),c.jsx("p",{className:"text-xs lg:text-sm text-muted-foreground text-center lg:mt-2 w-3/4 lg:w-full",children:"I’ve developed various projects, ranging from web applications to Android apps. Here are a few highlights."}),c.jsx("div",{style:{gridAutoRows:"1fr"},className:"w-full grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 mt-8 gap-4",children:TN.map(e=>c.jsx(aR,{...e},e.name))})]});var cR="Separator",qp="horizontal",uR=["horizontal","vertical"],E5=p.forwardRef((e,t)=>{const{decorative:n,orientation:r=qp,...o}=e,i=dR(r)?r:qp,a=n?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return c.jsx(Qe.div,{"data-orientation":i,...a,...o,ref:t})});E5.displayName=cR;function dR(e){return uR.includes(e)}var k5=E5;const Vf=p.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...r},o)=>c.jsx(k5,{ref:o,decorative:n,orientation:t,className:ce("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));Vf.displayName=k5.displayName;const em="service_1mmxvvr",tm="template_09zmdug",nm="LR1efBVhST8xvbETv",fR=[{icon:pk,label:"Gmail",href:"mailto:developer.ghiantan@gmail.com"},{icon:Ik,label:"Skype",href:"https://join.skype.com/invite/tzHUaI1UakyK"},{icon:M3,label:"LinkedIn",href:"https://linkedin.com/in/ghiantan"}],hR=()=>{const e=Ia();return c.jsx("ul",{className:ce("flex-center gap-x-6 transition-opacity duration-500 ease-in-out",e?"opacity-100":"opacity-0"),children:fR.map(t=>{const n=t.icon;return c.jsx(Fa,{asChild:!0,label:t.label,side:"top",children:c.jsx(Pt,{to:t.href,target:"_blank",className:`rounded-full border border-muted-foreground p-2.5\r + transition-all duration-500 ease-in-out hover:-translate-y-2 cursor-pointer`,children:[c.jsxs(HN,{children:[c.jsx(WN,{onClick:n,className:"h-full w-full flex-between flex-col",children:c.jsx(lR,{...e})}),c.jsxs(a5,{"data-lenis-prevent":!0,className:"overflow-y-auto no-scrollbar h-4/5 lg:h-fit",children:[c.jsxs(l5,{children:[c.jsx("div",{className:"aspect-video relative",children:e.type===Nn.web?c.jsx("iframe",{className:"w-full h-full rounded-md",src:e.source,title:`${e.name} Preview`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0}):c.jsx(jc,{hash:e.blurHash,src:e.source,alt:e.name,className:"aspect-video object-cover object-center rounded-md"})}),c.jsxs(u5,{className:"flex items-center flex-wrap gap-x-2 gap-y-1",children:[e.name," ",c.jsx("span",{className:"text-sm text-muted-foreground leading-none",children:e.subtitle})]}),c.jsx(d5,{className:"text-start",children:e.desc})]}),c.jsxs("div",{className:"space-y-2.5",children:[c.jsx("h6",{className:"font-semibold text-sm text-primary-foreground/80",children:"Tech Stack"}),c.jsx("div",{className:"flex item-start flex-wrap gap-1.5 no-scrollbar",children:e.stack.map(o=>c.jsx(ko,{className:"bg-primary/30 whitespace-nowrap",children:o},`${e.name}-alert-${o}`))})]}),c.jsxs(c5,{children:[c.jsx(h5,{onClick:r,children:"Close"}),c.jsx(f5,{asChild:!0,children:e.type===Nn.web?c.jsx(Pt,{to:e.live,target:"_blank",onClick:r,children:"View Live"}):c.jsx(Pt,{to:$y,target:"_blank",onClick:r,children:"Fill out form"})})]})]})]}),c.jsx("div",{className:"bg-primary/20 px-2 py-2.5 flex-center",children:e.type===Nn.web?c.jsx(qr,{asChild:!0,variant:"link",className:"h-auto w-auto px-2.5 py-0.5 text-sm font-bold",children:c.jsx(Pt,{to:e.live,target:"_blank",children:"View Live"})}):c.jsx(aR,{})})]})},uR=()=>c.jsxs("section",{className:ce("min-h-dvh flex items-center flex-col gap-y-2 lg:gap-y-6 border-b pt-14 pb-6 px-2 lg:px-0",mo.rootSection),id:at.projects,children:[c.jsxs("div",{className:"flex items-center justify-end gap-x-2 w-full pt-6 lg:relative",children:[c.jsx(ob,{className:"w-5 lg:w-8 h-5 lg:h-8 sm:absolute xs:left-6 lg:left-0 opacity-50"}),c.jsx("h2",{className:"text-lg lg:text-4xl font-bold",children:"PROJECTS"}),c.jsx("span",{className:"w-[32px] lg:w-[128px] h-1 rounded-full bg-muted-foreground tracking-widest"})]}),c.jsx("p",{className:"text-xs lg:text-sm text-muted-foreground text-center lg:mt-2 w-3/4 lg:w-full",children:"I’ve developed various projects, ranging from web applications to Android apps. Here are a few highlights."}),c.jsx("div",{style:{gridAutoRows:"1fr"},className:"w-full grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 mt-8 gap-4",children:PN.map(e=>c.jsx(cR,{...e},e.name))})]});var dR="Separator",qp="horizontal",fR=["horizontal","vertical"],E5=p.forwardRef((e,t)=>{const{decorative:n,orientation:r=qp,...o}=e,i=hR(r)?r:qp,a=n?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return c.jsx(Qe.div,{"data-orientation":i,...a,...o,ref:t})});E5.displayName=dR;function hR(e){return fR.includes(e)}var k5=E5;const Vf=p.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...r},o)=>c.jsx(k5,{ref:o,decorative:n,orientation:t,className:ce("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));Vf.displayName=k5.displayName;const em="service_1mmxvvr",tm="template_09zmdug",nm="LR1efBVhST8xvbETv",pR=[{icon:mk,label:"Gmail",href:"mailto:developer.ghiantan@gmail.com"},{icon:Fk,label:"Skype",href:"https://join.skype.com/invite/tzHUaI1UakyK"},{icon:M3,label:"LinkedIn",href:"https://linkedin.com/in/ghiantan"}],mR=()=>{const e=Ia();return c.jsx("ul",{className:ce("flex-center gap-x-6 transition-opacity duration-500 ease-in-out",e?"opacity-100":"opacity-0"),children:pR.map(t=>{const n=t.icon;return c.jsx(Fa,{asChild:!0,label:t.label,side:"top",children:c.jsx(Pt,{to:t.href,target:"_blank",className:`rounded-full border border-muted-foreground p-2.5\r hover:scale-105 hover:-translate-y-2 transition-all\r - ease-in-out cursor-pointer hover:bg-muted-foreground group hover:drop-shadow-foreground-glow`,children:c.jsx(n,{className:"w-4 h-4 ease-in-out group-hover:text-background pointer-events-none"})})},t.href)})})};var Ua=e=>e.type==="checkbox",wi=e=>e instanceof Date,zt=e=>e==null;const j5=e=>typeof e=="object";var vt=e=>!zt(e)&&!Array.isArray(e)&&j5(e)&&!wi(e),N5=e=>vt(e)&&e.target?Ua(e.target)?e.target.checked:e.target.value:e,pR=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,R5=(e,t)=>e.has(pR(t)),mR=e=>{const t=e.constructor&&e.constructor.prototype;return vt(t)&&t.hasOwnProperty("isPrototypeOf")},j1=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Gt(e){let t;const n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(j1&&(e instanceof Blob||e instanceof FileList))&&(n||vt(e)))if(t=n?[]:{},!n&&!mR(e))t=e;else for(const r in e)e.hasOwnProperty(r)&&(t[r]=Gt(e[r]));else return e;return t}var ku=e=>Array.isArray(e)?e.filter(Boolean):[],st=e=>e===void 0,G=(e,t,n)=>{if(!t||!vt(e))return n;const r=ku(t.split(/[,[\].]+?/)).reduce((o,i)=>zt(o)?o:o[i],e);return st(r)||r===e?st(e[t])?n:e[t]:r},Zn=e=>typeof e=="boolean",N1=e=>/^\w*$/.test(e),T5=e=>ku(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Pe=(e,t,n)=>{let r=-1;const o=N1(t)?[t]:T5(t),i=o.length,s=i-1;for(;++rF.useContext(M5),gR=e=>{const{children:t,...n}=e;return F.createElement(M5.Provider,{value:n},t)};var P5=(e,t,n,r=!0)=>{const o={defaultValues:t._defaultValues};for(const i in e)Object.defineProperty(o,i,{get:()=>{const s=i;return t._proxyFormState[s]!==Nn.all&&(t._proxyFormState[s]=!r||Nn.all),n&&(n[s]=!0),e[s]}});return o},Kt=e=>vt(e)&&!Object.keys(e).length,D5=(e,t,n,r)=>{n(e);const{name:o,...i}=e;return Kt(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(s=>t[s]===(!r||Nn.all))},Vs=e=>Array.isArray(e)?e:[e],A5=(e,t,n)=>!e||!t||e===t||Vs(e).some(r=>r&&(n?r===t:r.startsWith(t)||t.startsWith(r)));function R1(e){const t=F.useRef(e);t.current=e,F.useEffect(()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}function vR(e){const t=ju(),{control:n=t.control,disabled:r,name:o,exact:i}=e||{},[s,a]=F.useState(n._formState),l=F.useRef(!0),u=F.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),f=F.useRef(o);return f.current=o,R1({disabled:r,next:d=>l.current&&A5(f.current,d.name,i)&&D5(d,u.current,n._updateFormState)&&a({...n._formState,...d}),subject:n._subjects.state}),F.useEffect(()=>(l.current=!0,u.current.isValid&&n._updateValid(!0),()=>{l.current=!1}),[n]),P5(s,n,u.current,!1)}var Kn=e=>typeof e=="string",O5=(e,t,n,r,o)=>Kn(e)?(r&&t.watch.add(e),G(n,e,o)):Array.isArray(e)?e.map(i=>(r&&t.watch.add(i),G(n,i))):(r&&(t.watchAll=!0),n);function yR(e){const t=ju(),{control:n=t.control,name:r,defaultValue:o,disabled:i,exact:s}=e||{},a=F.useRef(r);a.current=r,R1({disabled:i,subject:n._subjects.values,next:f=>{A5(a.current,f.name,s)&&u(Gt(O5(a.current,n._names,f.values||n._formValues,!1,o)))}});const[l,u]=F.useState(n._getWatch(r,o));return F.useEffect(()=>n._removeUnmounted()),l}function xR(e){const t=ju(),{name:n,disabled:r,control:o=t.control,shouldUnregister:i}=e,s=R5(o._names.array,n),a=yR({control:o,name:n,defaultValue:G(o._formValues,n,G(o._defaultValues,n,e.defaultValue)),exact:!0}),l=vR({control:o,name:n,exact:!0}),u=F.useRef(o.register(n,{...e.rules,value:a,...Zn(e.disabled)?{disabled:e.disabled}:{}}));return F.useEffect(()=>{const f=o._options.shouldUnregister||i,d=(h,y)=>{const x=G(o._fields,h);x&&x._f&&(x._f.mount=y)};if(d(n,!0),f){const h=Gt(G(o._options.defaultValues,n));Pe(o._defaultValues,n,h),st(G(o._formValues,n))&&Pe(o._formValues,n,h)}return()=>{(s?f&&!o._state.action:f)?o.unregister(n):d(n,!1)}},[n,o,s,i]),F.useEffect(()=>{G(o._fields,n)&&o._updateDisabledField({disabled:r,fields:o._fields,name:n,value:G(o._fields,n)._f.value})},[r,n,o]),{field:{name:n,value:a,...Zn(r)||l.disabled?{disabled:l.disabled||r}:{},onChange:F.useCallback(f=>u.current.onChange({target:{value:N5(f),name:n},type:Nc.CHANGE}),[n]),onBlur:F.useCallback(()=>u.current.onBlur({target:{value:G(o._formValues,n),name:n},type:Nc.BLUR}),[n,o]),ref:F.useCallback(f=>{const d=G(o._fields,n);d&&f&&(d._f.ref={focus:()=>f.focus(),select:()=>f.select(),setCustomValidity:h=>f.setCustomValidity(h),reportValidity:()=>f.reportValidity()})},[o._fields,n])},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!G(l.errors,n)},isDirty:{enumerable:!0,get:()=>!!G(l.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!G(l.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!G(l.validatingFields,n)},error:{enumerable:!0,get:()=>G(l.errors,n)}})}}const wR=e=>e.render(xR(e));var L5=(e,t,n,r,o)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:o||!0}}:{},rm=e=>({isOnSubmit:!e||e===Nn.onSubmit,isOnBlur:e===Nn.onBlur,isOnChange:e===Nn.onChange,isOnAll:e===Nn.all,isOnTouch:e===Nn.onTouched}),om=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const Bs=(e,t,n,r)=>{for(const o of n||Object.keys(e)){const i=G(e,o);if(i){const{_f:s,...a}=i;if(s){if(s.refs&&s.refs[0]&&t(s.refs[0],o)&&!r)break;if(s.ref&&t(s.ref,s.name)&&!r)break;Bs(a,t)}else vt(a)&&Bs(a,t)}}};var bR=(e,t,n)=>{const r=Vs(G(e,n));return Pe(r,"root",t[n]),Pe(e,n,r),e},T1=e=>e.type==="file",Vr=e=>typeof e=="function",Rc=e=>{if(!j1)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Ul=e=>Kn(e),M1=e=>e.type==="radio",Tc=e=>e instanceof RegExp;const im={value:!1,isValid:!1},sm={value:!0,isValid:!0};var I5=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!st(e[0].attributes.value)?st(e[0].value)||e[0].value===""?sm:{value:e[0].value,isValid:!0}:sm:im}return im};const am={isValid:!1,value:null};var F5=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,am):am;function lm(e,t,n="validate"){if(Ul(e)||Array.isArray(e)&&e.every(Ul)||Zn(e)&&!e)return{type:n,message:Ul(e)?e:"",ref:t}}var ii=e=>vt(e)&&!Tc(e)?e:{value:e,message:""},cm=async(e,t,n,r,o)=>{const{ref:i,refs:s,required:a,maxLength:l,minLength:u,min:f,max:d,pattern:h,validate:y,name:x,valueAsNumber:v,mount:b,disabled:g}=e._f,m=G(t,x);if(!b||g)return{};const w=s?s[0]:i,C=L=>{r&&w.reportValidity&&(w.setCustomValidity(Zn(L)?"":L||""),w.reportValidity())},_={},S=M1(i),T=Ua(i),R=S||T,z=(v||T1(i))&&st(i.value)&&st(m)||Rc(i)&&i.value===""||m===""||Array.isArray(m)&&!m.length,O=L5.bind(null,x,n,_),X=(L,W,H,oe=sr.maxLength,se=sr.minLength)=>{const Z=L?W:H;_[x]={type:L?oe:se,message:Z,ref:i,...O(L?oe:se,Z)}};if(o?!Array.isArray(m)||!m.length:a&&(!R&&(z||zt(m))||Zn(m)&&!m||T&&!I5(s).isValid||S&&!F5(s).isValid)){const{value:L,message:W}=Ul(a)?{value:!!a,message:a}:ii(a);if(L&&(_[x]={type:sr.required,message:W,ref:w,...O(sr.required,W)},!n))return C(W),_}if(!z&&(!zt(f)||!zt(d))){let L,W;const H=ii(d),oe=ii(f);if(!zt(m)&&!isNaN(m)){const se=i.valueAsNumber||m&&+m;zt(H.value)||(L=se>H.value),zt(oe.value)||(W=senew Date(new Date().toDateString()+" "+K),M=i.type=="time",D=i.type=="week";Kn(H.value)&&m&&(L=M?Z(m)>Z(H.value):D?m>H.value:se>new Date(H.value)),Kn(oe.value)&&m&&(W=M?Z(m)+L.value,oe=!zt(W.value)&&m.length<+W.value;if((H||oe)&&(X(H,L.message,W.message),!n))return C(_[x].message),_}if(h&&!z&&Kn(m)){const{value:L,message:W}=ii(h);if(Tc(L)&&!m.match(L)&&(_[x]={type:sr.pattern,message:W,ref:i,...O(sr.pattern,W)},!n))return C(W),_}if(y){if(Vr(y)){const L=await y(m,t),W=lm(L,w);if(W&&(_[x]={...W,...O(sr.validate,W.message)},!n))return C(W.message),_}else if(vt(y)){let L={};for(const W in y){if(!Kt(L)&&!n)break;const H=lm(await y[W](m,t),w,W);H&&(L={...H,...O(W,H.message)},C(H.message),n&&(_[x]=L))}if(!Kt(L)&&(_[x]={ref:w,...L},!n))return _}}return C(!0),_};function SR(e,t){const n=t.slice(0,-1).length;let r=0;for(;r{let e=[];return{get observers(){return e},next:o=>{for(const i of e)i.next&&i.next(o)},subscribe:o=>(e.push(o),{unsubscribe:()=>{e=e.filter(i=>i!==o)}}),unsubscribe:()=>{e=[]}}},Mc=e=>zt(e)||!j5(e);function ko(e,t){if(Mc(e)||Mc(t))return e===t;if(wi(e)&&wi(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const o of n){const i=e[o];if(!r.includes(o))return!1;if(o!=="ref"){const s=t[o];if(wi(i)&&wi(s)||vt(i)&&vt(s)||Array.isArray(i)&&Array.isArray(s)?!ko(i,s):i!==s)return!1}}return!0}var z5=e=>e.type==="select-multiple",_R=e=>M1(e)||Ua(e),bd=e=>Rc(e)&&e.isConnected,$5=e=>{for(const t in e)if(Vr(e[t]))return!0;return!1};function Pc(e,t={}){const n=Array.isArray(e);if(vt(e)||n)for(const r in e)Array.isArray(e[r])||vt(e[r])&&!$5(e[r])?(t[r]=Array.isArray(e[r])?[]:{},Pc(e[r],t[r])):zt(e[r])||(t[r]=!0);return t}function V5(e,t,n){const r=Array.isArray(e);if(vt(e)||r)for(const o in e)Array.isArray(e[o])||vt(e[o])&&!$5(e[o])?st(t)||Mc(n[o])?n[o]=Array.isArray(e[o])?Pc(e[o],[]):{...Pc(e[o])}:V5(e[o],zt(t)?{}:t[o],n[o]):n[o]=!ko(e[o],t[o]);return n}var _l=(e,t)=>V5(e,t,Pc(t)),B5=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>st(e)?e:t?e===""?NaN:e&&+e:n&&Kn(e)?new Date(e):r?r(e):e;function Sd(e){const t=e.ref;if(!(e.refs?e.refs.every(n=>n.disabled):t.disabled))return T1(t)?t.files:M1(t)?F5(e.refs).value:z5(t)?[...t.selectedOptions].map(({value:n})=>n):Ua(t)?I5(e.refs).value:B5(st(t.value)?e.ref.value:t.value,e)}var ER=(e,t,n,r)=>{const o={};for(const i of e){const s=G(t,i);s&&Pe(o,i,s._f)}return{criteriaMode:n,names:[...e],fields:o,shouldUseNativeValidation:r}},ms=e=>st(e)?e:Tc(e)?e.source:vt(e)?Tc(e.value)?e.value.source:e.value:e,kR=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function um(e,t,n){const r=G(e,n);if(r||N1(n))return{error:r,name:n};const o=n.split(".");for(;o.length;){const i=o.join("."),s=G(t,i),a=G(e,i);if(s&&!Array.isArray(s)&&n!==i)return{name:n};if(a&&a.type)return{name:i,error:a};o.pop()}return{name:n}}var jR=(e,t,n,r,o)=>o.isOnAll?!1:!n&&o.isOnTouch?!(t||e):(n?r.isOnBlur:o.isOnBlur)?!e:(n?r.isOnChange:o.isOnChange)?e:!0,NR=(e,t)=>!ku(G(e,t)).length&&pt(e,t);const RR={mode:Nn.onSubmit,reValidateMode:Nn.onChange,shouldFocusError:!0};function TR(e={}){let t={...RR,...e},n={submitCount:0,isDirty:!1,isLoading:Vr(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},o=vt(t.defaultValues)||vt(t.values)?Gt(t.defaultValues||t.values)||{}:{},i=t.shouldUnregister?{}:Gt(o),s={action:!1,mount:!1,watch:!1},a={mount:new Set,unMount:new Set,array:new Set,watch:new Set},l,u=0;const f={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={values:wd(),array:wd(),state:wd()},h=rm(t.mode),y=rm(t.reValidateMode),x=t.criteriaMode===Nn.all,v=E=>N=>{clearTimeout(u),u=setTimeout(E,N)},b=async E=>{if(f.isValid||E){const N=t.resolver?Kt((await R()).errors):await O(r,!0);N!==n.isValid&&d.state.next({isValid:N})}},g=(E,N)=>{(f.isValidating||f.validatingFields)&&((E||Array.from(a.mount)).forEach(A=>{A&&(N?Pe(n.validatingFields,A,N):pt(n.validatingFields,A))}),d.state.next({validatingFields:n.validatingFields,isValidating:!Kt(n.validatingFields)}))},m=(E,N=[],A,q,Y=!0,V=!0)=>{if(q&&A){if(s.action=!0,V&&Array.isArray(G(r,E))){const ie=A(G(r,E),q.argA,q.argB);Y&&Pe(r,E,ie)}if(V&&Array.isArray(G(n.errors,E))){const ie=A(G(n.errors,E),q.argA,q.argB);Y&&Pe(n.errors,E,ie),NR(n.errors,E)}if(f.touchedFields&&V&&Array.isArray(G(n.touchedFields,E))){const ie=A(G(n.touchedFields,E),q.argA,q.argB);Y&&Pe(n.touchedFields,E,ie)}f.dirtyFields&&(n.dirtyFields=_l(o,i)),d.state.next({name:E,isDirty:L(E,N),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Pe(i,E,N)},w=(E,N)=>{Pe(n.errors,E,N),d.state.next({errors:n.errors})},C=E=>{n.errors=E,d.state.next({errors:n.errors,isValid:!1})},_=(E,N,A,q)=>{const Y=G(r,E);if(Y){const V=G(i,E,st(A)?G(o,E):A);st(V)||q&&q.defaultChecked||N?Pe(i,E,N?V:Sd(Y._f)):oe(E,V),s.mount&&b()}},S=(E,N,A,q,Y)=>{let V=!1,ie=!1;const Ee={name:E},Fe=!!(G(r,E)&&G(r,E)._f&&G(r,E)._f.disabled);if(!A||q){f.isDirty&&(ie=n.isDirty,n.isDirty=Ee.isDirty=L(),V=ie!==Ee.isDirty);const Ze=Fe||ko(G(o,E),N);ie=!!(!Fe&&G(n.dirtyFields,E)),Ze||Fe?pt(n.dirtyFields,E):Pe(n.dirtyFields,E,!0),Ee.dirtyFields=n.dirtyFields,V=V||f.dirtyFields&&ie!==!Ze}if(A){const Ze=G(n.touchedFields,E);Ze||(Pe(n.touchedFields,E,A),Ee.touchedFields=n.touchedFields,V=V||f.touchedFields&&Ze!==A)}return V&&Y&&d.state.next(Ee),V?Ee:{}},T=(E,N,A,q)=>{const Y=G(n.errors,E),V=f.isValid&&Zn(N)&&n.isValid!==N;if(e.delayError&&A?(l=v(()=>w(E,A)),l(e.delayError)):(clearTimeout(u),l=null,A?Pe(n.errors,E,A):pt(n.errors,E)),(A?!ko(Y,A):Y)||!Kt(q)||V){const ie={...q,...V&&Zn(N)?{isValid:N}:{},errors:n.errors,name:E};n={...n,...ie},d.state.next(ie)}},R=async E=>{g(E,!0);const N=await t.resolver(i,t.context,ER(E||a.mount,r,t.criteriaMode,t.shouldUseNativeValidation));return g(E),N},z=async E=>{const{errors:N}=await R(E);if(E)for(const A of E){const q=G(N,A);q?Pe(n.errors,A,q):pt(n.errors,A)}else n.errors=N;return N},O=async(E,N,A={valid:!0})=>{for(const q in E){const Y=E[q];if(Y){const{_f:V,...ie}=Y;if(V){const Ee=a.array.has(V.name);g([q],!0);const Fe=await cm(Y,i,x,t.shouldUseNativeValidation&&!N,Ee);if(g([q]),Fe[V.name]&&(A.valid=!1,N))break;!N&&(G(Fe,V.name)?Ee?bR(n.errors,Fe,V.name):Pe(n.errors,V.name,Fe[V.name]):pt(n.errors,V.name))}!Kt(ie)&&await O(ie,N,A)}}return A.valid},X=()=>{for(const E of a.unMount){const N=G(r,E);N&&(N._f.refs?N._f.refs.every(A=>!bd(A)):!bd(N._f.ref))&&me(E)}a.unMount=new Set},L=(E,N)=>(E&&N&&Pe(i,E,N),!ko(U(),o)),W=(E,N,A)=>O5(E,a,{...s.mount?i:st(N)?o:Kn(E)?{[E]:N}:N},A,N),H=E=>ku(G(s.mount?i:o,E,e.shouldUnregister?G(o,E,[]):[])),oe=(E,N,A={})=>{const q=G(r,E);let Y=N;if(q){const V=q._f;V&&(!V.disabled&&Pe(i,E,B5(N,V)),Y=Rc(V.ref)&&zt(N)?"":N,z5(V.ref)?[...V.ref.options].forEach(ie=>ie.selected=Y.includes(ie.value)):V.refs?Ua(V.ref)?V.refs.length>1?V.refs.forEach(ie=>(!ie.defaultChecked||!ie.disabled)&&(ie.checked=Array.isArray(Y)?!!Y.find(Ee=>Ee===ie.value):Y===ie.value)):V.refs[0]&&(V.refs[0].checked=!!Y):V.refs.forEach(ie=>ie.checked=ie.value===Y):T1(V.ref)?V.ref.value="":(V.ref.value=Y,V.ref.type||d.values.next({name:E,values:{...i}})))}(A.shouldDirty||A.shouldTouch)&&S(E,Y,A.shouldTouch,A.shouldDirty,!0),A.shouldValidate&&K(E)},se=(E,N,A)=>{for(const q in N){const Y=N[q],V=`${E}.${q}`,ie=G(r,V);(a.array.has(E)||!Mc(Y)||ie&&!ie._f)&&!wi(Y)?se(V,Y,A):oe(V,Y,A)}},Z=(E,N,A={})=>{const q=G(r,E),Y=a.array.has(E),V=Gt(N);Pe(i,E,V),Y?(d.array.next({name:E,values:{...i}}),(f.isDirty||f.dirtyFields)&&A.shouldDirty&&d.state.next({name:E,dirtyFields:_l(o,i),isDirty:L(E,V)})):q&&!q._f&&!zt(V)?se(E,V,A):oe(E,V,A),om(E,a)&&d.state.next({...n}),d.values.next({name:s.mount?E:void 0,values:{...i}})},M=async E=>{s.mount=!0;const N=E.target;let A=N.name,q=!0;const Y=G(r,A),V=()=>N.type?Sd(Y._f):N5(E),ie=Ee=>{q=Number.isNaN(Ee)||Ee===G(i,A,Ee)};if(Y){let Ee,Fe;const Ze=V(),yt=E.type===Nc.BLUR||E.type===Nc.FOCUS_OUT,xt=!kR(Y._f)&&!t.resolver&&!G(n.errors,A)&&!Y._f.deps||jR(yt,G(n.touchedFields,A),n.isSubmitted,y,h),nr=om(A,a,yt);Pe(i,A,Ze),yt?(Y._f.onBlur&&Y._f.onBlur(E),l&&l(0)):Y._f.onChange&&Y._f.onChange(E);const $n=S(A,Ze,yt,!1),Yo=!Kt($n)||nr;if(!yt&&d.values.next({name:A,type:E.type,values:{...i}}),xt)return f.isValid&&b(),Yo&&d.state.next({name:A,...nr?{}:$n});if(!yt&&nr&&d.state.next({...n}),t.resolver){const{errors:Wt}=await R([A]);if(ie(Ze),q){const Qo=um(n.errors,r,A),rr=um(Wt,r,Qo.name||A);Ee=rr.error,A=rr.name,Fe=Kt(Wt)}}else g([A],!0),Ee=(await cm(Y,i,x,t.shouldUseNativeValidation))[A],g([A]),ie(Ze),q&&(Ee?Fe=!1:f.isValid&&(Fe=await O(r,!0)));q&&(Y._f.deps&&K(Y._f.deps),T(A,Fe,Ee,$n))}},D=(E,N)=>{if(G(n.errors,N)&&E.focus)return E.focus(),1},K=async(E,N={})=>{let A,q;const Y=Vs(E);if(t.resolver){const V=await z(st(E)?E:Y);A=Kt(V),q=E?!Y.some(ie=>G(V,ie)):A}else E?(q=(await Promise.all(Y.map(async V=>{const ie=G(r,V);return await O(ie&&ie._f?{[V]:ie}:ie)}))).every(Boolean),!(!q&&!n.isValid)&&b()):q=A=await O(r);return d.state.next({...!Kn(E)||f.isValid&&A!==n.isValid?{}:{name:E},...t.resolver||!E?{isValid:A}:{},errors:n.errors}),N.shouldFocus&&!q&&Bs(r,D,E?Y:a.mount),q},U=E=>{const N={...s.mount?i:o};return st(E)?N:Kn(E)?G(N,E):E.map(A=>G(N,A))},J=(E,N)=>({invalid:!!G((N||n).errors,E),isDirty:!!G((N||n).dirtyFields,E),error:G((N||n).errors,E),isValidating:!!G(n.validatingFields,E),isTouched:!!G((N||n).touchedFields,E)}),ge=E=>{E&&Vs(E).forEach(N=>pt(n.errors,N)),d.state.next({errors:E?n.errors:{}})},ke=(E,N,A)=>{const q=(G(r,E,{_f:{}})._f||{}).ref,Y=G(n.errors,E)||{},{ref:V,message:ie,type:Ee,...Fe}=Y;Pe(n.errors,E,{...Fe,...N,ref:q}),d.state.next({name:E,errors:n.errors,isValid:!1}),A&&A.shouldFocus&&q&&q.focus&&q.focus()},$e=(E,N)=>Vr(E)?d.values.subscribe({next:A=>E(W(void 0,N),A)}):W(E,N,!0),me=(E,N={})=>{for(const A of E?Vs(E):a.mount)a.mount.delete(A),a.array.delete(A),N.keepValue||(pt(r,A),pt(i,A)),!N.keepError&&pt(n.errors,A),!N.keepDirty&&pt(n.dirtyFields,A),!N.keepTouched&&pt(n.touchedFields,A),!N.keepIsValidating&&pt(n.validatingFields,A),!t.shouldUnregister&&!N.keepDefaultValue&&pt(o,A);d.values.next({values:{...i}}),d.state.next({...n,...N.keepDirty?{isDirty:L()}:{}}),!N.keepIsValid&&b()},Xe=({disabled:E,name:N,field:A,fields:q,value:Y})=>{if(Zn(E)&&s.mount||E){const V=E?void 0:st(Y)?Sd(A?A._f:G(q,N)._f):Y;Pe(i,N,V),S(N,V,!1,!1,!0)}},ht=(E,N={})=>{let A=G(r,E);const q=Zn(N.disabled);return Pe(r,E,{...A||{},_f:{...A&&A._f?A._f:{ref:{name:E}},name:E,mount:!0,...N}}),a.mount.add(E),A?Xe({field:A,disabled:N.disabled,name:E,value:N.value}):_(E,!0,N.value),{...q?{disabled:N.disabled}:{},...t.progressive?{required:!!N.required,min:ms(N.min),max:ms(N.max),minLength:ms(N.minLength),maxLength:ms(N.maxLength),pattern:ms(N.pattern)}:{},name:E,onChange:M,onBlur:M,ref:Y=>{if(Y){ht(E,N),A=G(r,E);const V=st(Y.value)&&Y.querySelectorAll&&Y.querySelectorAll("input,select,textarea")[0]||Y,ie=_R(V),Ee=A._f.refs||[];if(ie?Ee.find(Fe=>Fe===V):V===A._f.ref)return;Pe(r,E,{_f:{...A._f,...ie?{refs:[...Ee.filter(bd),V,...Array.isArray(G(o,E))?[{}]:[]],ref:{type:V.type,name:E}}:{ref:V}}}),_(E,!1,void 0,V)}else A=G(r,E,{}),A._f&&(A._f.mount=!1),(t.shouldUnregister||N.shouldUnregister)&&!(R5(a.array,E)&&s.action)&&a.unMount.add(E)}}},Je=()=>t.shouldFocusError&&Bs(r,D,a.mount),Ot=E=>{Zn(E)&&(d.state.next({disabled:E}),Bs(r,(N,A)=>{const q=G(r,A);q&&(N.disabled=q._f.disabled||E,Array.isArray(q._f.refs)&&q._f.refs.forEach(Y=>{Y.disabled=q._f.disabled||E}))},0,!1))},tr=(E,N)=>async A=>{let q;A&&(A.preventDefault&&A.preventDefault(),A.persist&&A.persist());let Y=Gt(i);if(d.state.next({isSubmitting:!0}),t.resolver){const{errors:V,values:ie}=await R();n.errors=V,Y=ie}else await O(r);if(pt(n.errors,"root"),Kt(n.errors)){d.state.next({errors:{}});try{await E(Y,A)}catch(V){q=V}}else N&&await N({...n.errors},A),Je(),setTimeout(Je);if(d.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Kt(n.errors)&&!q,submitCount:n.submitCount+1,errors:n.errors}),q)throw q},We=(E,N={})=>{G(r,E)&&(st(N.defaultValue)?Z(E,Gt(G(o,E))):(Z(E,N.defaultValue),Pe(o,E,Gt(N.defaultValue))),N.keepTouched||pt(n.touchedFields,E),N.keepDirty||(pt(n.dirtyFields,E),n.isDirty=N.defaultValue?L(E,Gt(G(o,E))):L()),N.keepError||(pt(n.errors,E),f.isValid&&b()),d.state.next({...n}))},St=(E,N={})=>{const A=E?Gt(E):o,q=Gt(A),Y=Kt(E),V=Y?o:q;if(N.keepDefaultValues||(o=A),!N.keepValues){if(N.keepDirtyValues)for(const ie of a.mount)G(n.dirtyFields,ie)?Pe(V,ie,G(i,ie)):Z(ie,G(V,ie));else{if(j1&&st(E))for(const ie of a.mount){const Ee=G(r,ie);if(Ee&&Ee._f){const Fe=Array.isArray(Ee._f.refs)?Ee._f.refs[0]:Ee._f.ref;if(Rc(Fe)){const Ze=Fe.closest("form");if(Ze){Ze.reset();break}}}}r={}}i=e.shouldUnregister?N.keepDefaultValues?Gt(o):{}:Gt(V),d.array.next({values:{...V}}),d.values.next({values:{...V}})}a={mount:N.keepDirtyValues?a.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},s.mount=!f.isValid||!!N.keepIsValid||!!N.keepDirtyValues,s.watch=!!e.shouldUnregister,d.state.next({submitCount:N.keepSubmitCount?n.submitCount:0,isDirty:Y?!1:N.keepDirty?n.isDirty:!!(N.keepDefaultValues&&!ko(E,o)),isSubmitted:N.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:Y?{}:N.keepDirtyValues?N.keepDefaultValues&&i?_l(o,i):n.dirtyFields:N.keepDefaultValues&&E?_l(o,E):N.keepDirty?n.dirtyFields:{},touchedFields:N.keepTouched?n.touchedFields:{},errors:N.keepErrors?n.errors:{},isSubmitSuccessful:N.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},wn=(E,N)=>St(Vr(E)?E(i):E,N);return{control:{register:ht,unregister:me,getFieldState:J,handleSubmit:tr,setError:ke,_executeSchema:R,_getWatch:W,_getDirty:L,_updateValid:b,_removeUnmounted:X,_updateFieldArray:m,_updateDisabledField:Xe,_getFieldArray:H,_reset:St,_resetDefaultValues:()=>Vr(t.defaultValues)&&t.defaultValues().then(E=>{wn(E,t.resetOptions),d.state.next({isLoading:!1})}),_updateFormState:E=>{n={...n,...E}},_disableForm:Ot,_subjects:d,_proxyFormState:f,_setErrors:C,get _fields(){return r},get _formValues(){return i},get _state(){return s},set _state(E){s=E},get _defaultValues(){return o},get _names(){return a},set _names(E){a=E},get _formState(){return n},set _formState(E){n=E},get _options(){return t},set _options(E){t={...t,...E}}},trigger:K,register:ht,handleSubmit:tr,watch:$e,setValue:Z,getValues:U,reset:wn,resetField:We,clearErrors:ge,unregister:me,setError:ke,setFocus:(E,N={})=>{const A=G(r,E),q=A&&A._f;if(q){const Y=q.refs?q.refs[0]:q.ref;Y.focus&&(Y.focus(),N.shouldSelect&&Y.select())}},getFieldState:J}}function MR(e={}){const t=F.useRef(),n=F.useRef(),[r,o]=F.useState({isDirty:!1,isValidating:!1,isLoading:Vr(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Vr(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...TR(e),formState:r});const i=t.current.control;return i._options=e,R1({subject:i._subjects.state,next:s=>{D5(s,i._proxyFormState,i._updateFormState,!0)&&o({...i._formState})}}),F.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),F.useEffect(()=>{if(i._proxyFormState.isDirty){const s=i._getDirty();s!==r.isDirty&&i._subjects.state.next({isDirty:s})}},[i,r.isDirty]),F.useEffect(()=>{e.values&&!ko(e.values,n.current)?(i._reset(e.values,i._options.resetOptions),n.current=e.values,o(s=>({...s}))):i._resetDefaultValues()},[e.values,i]),F.useEffect(()=>{e.errors&&i._setErrors(e.errors)},[e.errors,i]),F.useEffect(()=>{i._state.mount||(i._updateValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),F.useEffect(()=>{e.shouldUnregister&&i._subjects.values.next({values:i._getWatch()})},[e.shouldUnregister,i]),t.current.formState=P5(r,i),t.current}const dm=(e,t,n)=>{if(e&&"reportValidity"in e){const r=G(n,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},U5=(e,t)=>{for(const n in t.fields){const r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?dm(r.ref,n,e):r.refs&&r.refs.forEach(o=>dm(o,n,e))}},PR=(e,t)=>{t.shouldUseNativeValidation&&U5(e,t);const n={};for(const r in e){const o=G(t.fields,r),i=Object.assign(e[r]||{},{ref:o&&o.ref});if(DR(t.names||Object.keys(e),r)){const s=Object.assign({},G(n,r));Pe(s,"root",i),Pe(n,r,s)}else Pe(n,r,i)}return n},DR=(e,t)=>e.some(n=>n.startsWith(t+"."));var AR=function(e,t){for(var n={};e.length;){var r=e[0],o=r.code,i=r.message,s=r.path.join(".");if(!n[s])if("unionErrors"in r){var a=r.unionErrors[0].errors[0];n[s]={message:a.message,type:a.code}}else n[s]={message:i,type:o};if("unionErrors"in r&&r.unionErrors.forEach(function(f){return f.errors.forEach(function(d){return e.push(d)})}),t){var l=n[s].types,u=l&&l[r.code];n[s]=L5(s,t,n,o,u?[].concat(u,r.message):r.message)}e.shift()}return n},OR=function(e,t,n){return n===void 0&&(n={}),function(r,o,i){try{return Promise.resolve(function(s,a){try{var l=Promise.resolve(e[n.mode==="sync"?"parse":"parseAsync"](r,t)).then(function(u){return i.shouldUseNativeValidation&&U5({},i),{errors:{},values:n.raw?r:u}})}catch(u){return a(u)}return l&&l.then?l.then(void 0,a):l}(0,function(s){if(function(a){return Array.isArray(a==null?void 0:a.errors)}(s))return{values:{},errors:PR(AR(s.errors,!i.shouldUseNativeValidation&&i.criteriaMode==="all"),i)};throw s}))}catch(s){return Promise.reject(s)}}};class Ha{constructor(t=0,n="Network Error"){this.status=t,this.text=n}}const LR=()=>{if(!(typeof localStorage>"u"))return{get:e=>Promise.resolve(localStorage.getItem(e)),set:(e,t)=>Promise.resolve(localStorage.setItem(e,t)),remove:e=>Promise.resolve(localStorage.removeItem(e))}},kt={origin:"https://api.emailjs.com",blockHeadless:!1,storageProvider:LR()},P1=e=>e?typeof e=="string"?{publicKey:e}:e.toString()==="[object Object]"?e:{}:{},IR=(e,t="https://api.emailjs.com")=>{if(!e)return;const n=P1(e);kt.publicKey=n.publicKey,kt.blockHeadless=n.blockHeadless,kt.storageProvider=n.storageProvider,kt.blockList=n.blockList,kt.limitRate=n.limitRate,kt.origin=n.origin||t},H5=async(e,t,n={})=>{const r=await fetch(kt.origin+e,{method:"POST",headers:n,body:t}),o=await r.text(),i=new Ha(r.status,o);if(r.ok)return i;throw i},W5=(e,t,n)=>{if(!e||typeof e!="string")throw"The public key is required. Visit https://dashboard.emailjs.com/admin/account";if(!t||typeof t!="string")throw"The service ID is required. Visit https://dashboard.emailjs.com/admin";if(!n||typeof n!="string")throw"The template ID is required. Visit https://dashboard.emailjs.com/admin/templates"},FR=e=>{if(e&&e.toString()!=="[object Object]")throw"The template params have to be the object. Visit https://www.emailjs.com/docs/sdk/send/"},Z5=e=>e.webdriver||!e.languages||e.languages.length===0,G5=()=>new Ha(451,"Unavailable For Headless Browser"),zR=(e,t)=>{if(!Array.isArray(e))throw"The BlockList list has to be an array";if(typeof t!="string")throw"The BlockList watchVariable has to be a string"},$R=e=>{var t;return!((t=e.list)!=null&&t.length)||!e.watchVariable},VR=(e,t)=>e instanceof FormData?e.get(t):e[t],K5=(e,t)=>{if($R(e))return!1;zR(e.list,e.watchVariable);const n=VR(t,e.watchVariable);return typeof n!="string"?!1:e.list.includes(n)},Y5=()=>new Ha(403,"Forbidden"),BR=(e,t)=>{if(typeof e!="number"||e<0)throw"The LimitRate throttle has to be a positive number";if(t&&typeof t!="string")throw"The LimitRate ID has to be a non-empty string"},UR=async(e,t,n)=>{const r=Number(await n.get(e)||0);return t-Date.now()+r},Q5=async(e,t,n)=>{if(!t.throttle||!n)return!1;BR(t.throttle,t.id);const r=t.id||e;return await UR(r,t.throttle,n)>0?!0:(await n.set(r,Date.now().toString()),!1)},X5=()=>new Ha(429,"Too Many Requests"),HR=async(e,t,n,r)=>{const o=P1(r),i=o.publicKey||kt.publicKey,s=o.blockHeadless||kt.blockHeadless,a=o.storageProvider||kt.storageProvider,l={...kt.blockList,...o.blockList},u={...kt.limitRate,...o.limitRate};return s&&Z5(navigator)?Promise.reject(G5()):(W5(i,e,t),FR(n),n&&K5(l,n)?Promise.reject(Y5()):await Q5(location.pathname,u,a)?Promise.reject(X5()):H5("/api/v1.0/email/send",JSON.stringify({lib_version:"4.4.1",user_id:i,service_id:e,template_id:t,template_params:n}),{"Content-type":"application/json"}))},WR=e=>{if(!e||e.nodeName!=="FORM")throw"The 3rd parameter is expected to be the HTML form element or the style selector of the form"},ZR=e=>typeof e=="string"?document.querySelector(e):e,GR=async(e,t,n,r)=>{const o=P1(r),i=o.publicKey||kt.publicKey,s=o.blockHeadless||kt.blockHeadless,a=kt.storageProvider||o.storageProvider,l={...kt.blockList,...o.blockList},u={...kt.limitRate,...o.limitRate};if(s&&Z5(navigator))return Promise.reject(G5());const f=ZR(n);W5(i,e,t),WR(f);const d=new FormData(f);return K5(l,d)?Promise.reject(Y5()):await Q5(location.pathname,u,a)?Promise.reject(X5()):(d.append("lib_version","4.4.1"),d.append("service_id",e),d.append("template_id",t),d.append("user_id",i),H5("/api/v1.0/email/send-form",d))},fm={init:IR,send:HR,sendForm:GR,EmailJSResponseStatus:Ha};var Ne;(function(e){e.assertEqual=o=>o;function t(o){}e.assertIs=t;function n(o){throw new Error}e.assertNever=n,e.arrayToEnum=o=>{const i={};for(const s of o)i[s]=s;return i},e.getValidEnumValues=o=>{const i=e.objectKeys(o).filter(a=>typeof o[o[a]]!="number"),s={};for(const a of i)s[a]=o[a];return e.objectValues(s)},e.objectValues=o=>e.objectKeys(o).map(function(i){return o[i]}),e.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const i=[];for(const s in o)Object.prototype.hasOwnProperty.call(o,s)&&i.push(s);return i},e.find=(o,i)=>{for(const s of o)if(i(s))return s},e.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function r(o,i=" | "){return o.map(s=>typeof s=="string"?`'${s}'`:s).join(i)}e.joinValues=r,e.jsonStringifyReplacer=(o,i)=>typeof i=="bigint"?i.toString():i})(Ne||(Ne={}));var Bf;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(Bf||(Bf={}));const ne=Ne.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Fr=e=>{switch(typeof e){case"undefined":return ne.undefined;case"string":return ne.string;case"number":return isNaN(e)?ne.nan:ne.number;case"boolean":return ne.boolean;case"function":return ne.function;case"bigint":return ne.bigint;case"symbol":return ne.symbol;case"object":return Array.isArray(e)?ne.array:e===null?ne.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?ne.promise:typeof Map<"u"&&e instanceof Map?ne.map:typeof Set<"u"&&e instanceof Set?ne.set:typeof Date<"u"&&e instanceof Date?ne.date:ne.object;default:return ne.unknown}},B=Ne.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),KR=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class cn extends Error{constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const n=t||function(i){return i.message},r={_errors:[]},o=i=>{for(const s of i.issues)if(s.code==="invalid_union")s.unionErrors.map(o);else if(s.code==="invalid_return_type")o(s.returnTypeError);else if(s.code==="invalid_arguments")o(s.argumentsError);else if(s.path.length===0)r._errors.push(n(s));else{let a=r,l=0;for(;ln.message){const n={},r=[];for(const o of this.issues)o.path.length>0?(n[o.path[0]]=n[o.path[0]]||[],n[o.path[0]].push(t(o))):r.push(t(o));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}cn.create=e=>new cn(e);const Hi=(e,t)=>{let n;switch(e.code){case B.invalid_type:e.received===ne.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case B.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Ne.jsonStringifyReplacer)}`;break;case B.unrecognized_keys:n=`Unrecognized key(s) in object: ${Ne.joinValues(e.keys,", ")}`;break;case B.invalid_union:n="Invalid input";break;case B.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Ne.joinValues(e.options)}`;break;case B.invalid_enum_value:n=`Invalid enum value. Expected ${Ne.joinValues(e.options)}, received '${e.received}'`;break;case B.invalid_arguments:n="Invalid function arguments";break;case B.invalid_return_type:n="Invalid function return type";break;case B.invalid_date:n="Invalid date";break;case B.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Ne.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case B.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case B.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case B.custom:n="Invalid input";break;case B.invalid_intersection_types:n="Intersection results could not be merged";break;case B.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case B.not_finite:n="Number must be finite";break;default:n=t.defaultError,Ne.assertNever(e)}return{message:n}};let J5=Hi;function YR(e){J5=e}function Dc(){return J5}const Ac=e=>{const{data:t,path:n,errorMaps:r,issueData:o}=e,i=[...n,...o.path||[]],s={...o,path:i};if(o.message!==void 0)return{...o,path:i,message:o.message};let a="";const l=r.filter(u=>!!u).slice().reverse();for(const u of l)a=u(s,{data:t,defaultError:a}).message;return{...o,path:i,message:a}},QR=[];function ee(e,t){const n=Dc(),r=Ac({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===Hi?void 0:Hi].filter(o=>!!o)});e.common.issues.push(r)}class At{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const o of n){if(o.status==="aborted")return pe;o.status==="dirty"&&t.dirty(),r.push(o.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const o of n){const i=await o.key,s=await o.value;r.push({key:i,value:s})}return At.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const o of n){const{key:i,value:s}=o;if(i.status==="aborted"||s.status==="aborted")return pe;i.status==="dirty"&&t.dirty(),s.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof s.value<"u"||o.alwaysSet)&&(r[i.value]=s.value)}return{status:t.value,value:r}}}const pe=Object.freeze({status:"aborted"}),bi=e=>({status:"dirty",value:e}),Vt=e=>({status:"valid",value:e}),Uf=e=>e.status==="aborted",Hf=e=>e.status==="dirty",pa=e=>e.status==="valid",ma=e=>typeof Promise<"u"&&e instanceof Promise;function Oc(e,t,n,r){if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function q5(e,t,n,r,o){if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,n),n}var le;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(le||(le={}));var ks,js;class qn{constructor(t,n,r,o){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const hm=(e,t)=>{if(pa(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new cn(e.common.issues);return this._error=n,this._error}}};function xe(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:o}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:o}:{errorMap:(s,a)=>{var l,u;const{message:f}=e;return s.code==="invalid_enum_value"?{message:f??a.defaultError}:typeof a.data>"u"?{message:(l=f??r)!==null&&l!==void 0?l:a.defaultError}:s.code!=="invalid_type"?{message:a.defaultError}:{message:(u=f??n)!==null&&u!==void 0?u:a.defaultError}},description:o}}class _e{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return Fr(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Fr(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new At,ctx:{common:t.parent.common,data:t.data,parsedType:Fr(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(ma(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){var r;const o={common:{issues:[],async:(r=n==null?void 0:n.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Fr(t)},i=this._parseSync({data:t,path:o.path,parent:o});return hm(o,i)}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Fr(t)},o=this._parse({data:t,path:r.path,parent:r}),i=await(ma(o)?o:Promise.resolve(o));return hm(r,i)}refine(t,n){const r=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,i)=>{const s=t(o),a=()=>i.addIssue({code:B.custom,...r(o)});return typeof Promise<"u"&&s instanceof Promise?s.then(l=>l?!0:(a(),!1)):s?!0:(a(),!1)})}refinement(t,n){return this._refinement((r,o)=>t(r)?!0:(o.addIssue(typeof n=="function"?n(r,o):n),!1))}_refinement(t){return new In({schema:this,typeName:fe.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return Xn.create(this,this._def)}nullable(){return io.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Pn.create(this,this._def)}promise(){return Zi.create(this,this._def)}or(t){return xa.create([this,t],this._def)}and(t){return wa.create(this,t,this._def)}transform(t){return new In({...xe(this._def),schema:this,typeName:fe.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new Ea({...xe(this._def),innerType:this,defaultValue:n,typeName:fe.ZodDefault})}brand(){return new D1({typeName:fe.ZodBranded,type:this,...xe(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new ka({...xe(this._def),innerType:this,catchValue:n,typeName:fe.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return Wa.create(this,t)}readonly(){return ja.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const XR=/^c[^\s-]{8,}$/i,JR=/^[0-9a-z]+$/,qR=/^[0-9A-HJKMNP-TV-Z]{26}$/,eT=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,tT=/^[a-z0-9_-]{21}$/i,nT=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,rT=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,oT="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Cd;const iT=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,sT=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,aT=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,e6="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",lT=new RegExp(`^${e6}$`);function t6(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function cT(e){return new RegExp(`^${t6(e)}$`)}function n6(e){let t=`${e6}T${t6(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function uT(e,t){return!!((t==="v4"||!t)&&iT.test(e)||(t==="v6"||!t)&&sT.test(e))}class Rn extends _e{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==ne.string){const i=this._getOrReturnCtx(t);return ee(i,{code:B.invalid_type,expected:ne.string,received:i.parsedType}),pe}const r=new At;let o;for(const i of this._def.checks)if(i.kind==="min")t.data.lengthi.value&&(o=this._getOrReturnCtx(t,o),ee(o,{code:B.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){const s=t.data.length>i.value,a=t.data.lengtht.test(o),{validation:n,code:B.invalid_string,...le.errToObj(r)})}_addCheck(t){return new Rn({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...le.errToObj(t)})}url(t){return this._addCheck({kind:"url",...le.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...le.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...le.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...le.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...le.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...le.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...le.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...le.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...le.errToObj(t)})}datetime(t){var n,r;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(n=t==null?void 0:t.offset)!==null&&n!==void 0?n:!1,local:(r=t==null?void 0:t.local)!==null&&r!==void 0?r:!1,...le.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...le.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...le.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...le.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...le.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...le.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...le.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...le.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...le.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...le.errToObj(n)})}nonempty(t){return this.min(1,le.errToObj(t))}trim(){return new Rn({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Rn({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Rn({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value{var t;return new Rn({checks:[],typeName:fe.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...xe(e)})};function dT(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r,i=parseInt(e.toFixed(o).replace(".","")),s=parseInt(t.toFixed(o).replace(".",""));return i%s/Math.pow(10,o)}class no extends _e{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==ne.number){const i=this._getOrReturnCtx(t);return ee(i,{code:B.invalid_type,expected:ne.number,received:i.parsedType}),pe}let r;const o=new At;for(const i of this._def.checks)i.kind==="int"?Ne.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),ee(r,{code:B.invalid_type,expected:"integer",received:"float",message:i.message}),o.dirty()):i.kind==="min"?(i.inclusive?t.datai.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),ee(r,{code:B.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),o.dirty()):i.kind==="multipleOf"?dT(t.data,i.value)!==0&&(r=this._getOrReturnCtx(t,r),ee(r,{code:B.not_multiple_of,multipleOf:i.value,message:i.message}),o.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),ee(r,{code:B.not_finite,message:i.message}),o.dirty()):Ne.assertNever(i);return{status:o.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,le.toString(n))}gt(t,n){return this.setLimit("min",t,!1,le.toString(n))}lte(t,n){return this.setLimit("max",t,!0,le.toString(n))}lt(t,n){return this.setLimit("max",t,!1,le.toString(n))}setLimit(t,n,r,o){return new no({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:le.toString(o)}]})}_addCheck(t){return new no({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:le.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:le.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:le.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:le.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:le.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:le.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:le.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:le.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:le.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.valuet.kind==="int"||t.kind==="multipleOf"&&Ne.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.valuenew no({checks:[],typeName:fe.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...xe(e)});class ro extends _e{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==ne.bigint){const i=this._getOrReturnCtx(t);return ee(i,{code:B.invalid_type,expected:ne.bigint,received:i.parsedType}),pe}let r;const o=new At;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.datai.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),ee(r,{code:B.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),o.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),ee(r,{code:B.not_multiple_of,multipleOf:i.value,message:i.message}),o.dirty()):Ne.assertNever(i);return{status:o.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,le.toString(n))}gt(t,n){return this.setLimit("min",t,!1,le.toString(n))}lte(t,n){return this.setLimit("max",t,!0,le.toString(n))}lt(t,n){return this.setLimit("max",t,!1,le.toString(n))}setLimit(t,n,r,o){return new ro({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:le.toString(o)}]})}_addCheck(t){return new ro({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:le.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:le.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:le.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:le.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:le.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value{var t;return new ro({checks:[],typeName:fe.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...xe(e)})};class ga extends _e{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==ne.boolean){const r=this._getOrReturnCtx(t);return ee(r,{code:B.invalid_type,expected:ne.boolean,received:r.parsedType}),pe}return Vt(t.data)}}ga.create=e=>new ga({typeName:fe.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...xe(e)});class Vo extends _e{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==ne.date){const i=this._getOrReturnCtx(t);return ee(i,{code:B.invalid_type,expected:ne.date,received:i.parsedType}),pe}if(isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return ee(i,{code:B.invalid_date}),pe}const r=new At;let o;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()i.value&&(o=this._getOrReturnCtx(t,o),ee(o,{code:B.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):Ne.assertNever(i);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Vo({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:le.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:le.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.valuenew Vo({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:fe.ZodDate,...xe(e)});class Lc extends _e{_parse(t){if(this._getType(t)!==ne.symbol){const r=this._getOrReturnCtx(t);return ee(r,{code:B.invalid_type,expected:ne.symbol,received:r.parsedType}),pe}return Vt(t.data)}}Lc.create=e=>new Lc({typeName:fe.ZodSymbol,...xe(e)});class va extends _e{_parse(t){if(this._getType(t)!==ne.undefined){const r=this._getOrReturnCtx(t);return ee(r,{code:B.invalid_type,expected:ne.undefined,received:r.parsedType}),pe}return Vt(t.data)}}va.create=e=>new va({typeName:fe.ZodUndefined,...xe(e)});class ya extends _e{_parse(t){if(this._getType(t)!==ne.null){const r=this._getOrReturnCtx(t);return ee(r,{code:B.invalid_type,expected:ne.null,received:r.parsedType}),pe}return Vt(t.data)}}ya.create=e=>new ya({typeName:fe.ZodNull,...xe(e)});class Wi extends _e{constructor(){super(...arguments),this._any=!0}_parse(t){return Vt(t.data)}}Wi.create=e=>new Wi({typeName:fe.ZodAny,...xe(e)});class To extends _e{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Vt(t.data)}}To.create=e=>new To({typeName:fe.ZodUnknown,...xe(e)});class wr extends _e{_parse(t){const n=this._getOrReturnCtx(t);return ee(n,{code:B.invalid_type,expected:ne.never,received:n.parsedType}),pe}}wr.create=e=>new wr({typeName:fe.ZodNever,...xe(e)});class Ic extends _e{_parse(t){if(this._getType(t)!==ne.undefined){const r=this._getOrReturnCtx(t);return ee(r,{code:B.invalid_type,expected:ne.void,received:r.parsedType}),pe}return Vt(t.data)}}Ic.create=e=>new Ic({typeName:fe.ZodVoid,...xe(e)});class Pn extends _e{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),o=this._def;if(n.parsedType!==ne.array)return ee(n,{code:B.invalid_type,expected:ne.array,received:n.parsedType}),pe;if(o.exactLength!==null){const s=n.data.length>o.exactLength.value,a=n.data.lengtho.maxLength.value&&(ee(n,{code:B.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((s,a)=>o.type._parseAsync(new qn(n,s,n.path,a)))).then(s=>At.mergeArray(r,s));const i=[...n.data].map((s,a)=>o.type._parseSync(new qn(n,s,n.path,a)));return At.mergeArray(r,i)}get element(){return this._def.type}min(t,n){return new Pn({...this._def,minLength:{value:t,message:le.toString(n)}})}max(t,n){return new Pn({...this._def,maxLength:{value:t,message:le.toString(n)}})}length(t,n){return new Pn({...this._def,exactLength:{value:t,message:le.toString(n)}})}nonempty(t){return this.min(1,t)}}Pn.create=(e,t)=>new Pn({type:e,minLength:null,maxLength:null,exactLength:null,typeName:fe.ZodArray,...xe(t)});function si(e){if(e instanceof qe){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Xn.create(si(r))}return new qe({...e._def,shape:()=>t})}else return e instanceof Pn?new Pn({...e._def,type:si(e.element)}):e instanceof Xn?Xn.create(si(e.unwrap())):e instanceof io?io.create(si(e.unwrap())):e instanceof er?er.create(e.items.map(t=>si(t))):e}class qe extends _e{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=Ne.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==ne.object){const u=this._getOrReturnCtx(t);return ee(u,{code:B.invalid_type,expected:ne.object,received:u.parsedType}),pe}const{status:r,ctx:o}=this._processInputParams(t),{shape:i,keys:s}=this._getCached(),a=[];if(!(this._def.catchall instanceof wr&&this._def.unknownKeys==="strip"))for(const u in o.data)s.includes(u)||a.push(u);const l=[];for(const u of s){const f=i[u],d=o.data[u];l.push({key:{status:"valid",value:u},value:f._parse(new qn(o,d,o.path,u)),alwaysSet:u in o.data})}if(this._def.catchall instanceof wr){const u=this._def.unknownKeys;if(u==="passthrough")for(const f of a)l.push({key:{status:"valid",value:f},value:{status:"valid",value:o.data[f]}});else if(u==="strict")a.length>0&&(ee(o,{code:B.unrecognized_keys,keys:a}),r.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const u=this._def.catchall;for(const f of a){const d=o.data[f];l.push({key:{status:"valid",value:f},value:u._parse(new qn(o,d,o.path,f)),alwaysSet:f in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const u=[];for(const f of l){const d=await f.key,h=await f.value;u.push({key:d,value:h,alwaysSet:f.alwaysSet})}return u}).then(u=>At.mergeObjectSync(r,u)):At.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(t){return le.errToObj,new qe({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var o,i,s,a;const l=(s=(i=(o=this._def).errorMap)===null||i===void 0?void 0:i.call(o,n,r).message)!==null&&s!==void 0?s:r.defaultError;return n.code==="unrecognized_keys"?{message:(a=le.errToObj(t).message)!==null&&a!==void 0?a:l}:{message:l}}}:{}})}strip(){return new qe({...this._def,unknownKeys:"strip"})}passthrough(){return new qe({...this._def,unknownKeys:"passthrough"})}extend(t){return new qe({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new qe({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:fe.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new qe({...this._def,catchall:t})}pick(t){const n={};return Ne.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new qe({...this._def,shape:()=>n})}omit(t){const n={};return Ne.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new qe({...this._def,shape:()=>n})}deepPartial(){return si(this)}partial(t){const n={};return Ne.objectKeys(this.shape).forEach(r=>{const o=this.shape[r];t&&!t[r]?n[r]=o:n[r]=o.optional()}),new qe({...this._def,shape:()=>n})}required(t){const n={};return Ne.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof Xn;)i=i._def.innerType;n[r]=i}}),new qe({...this._def,shape:()=>n})}keyof(){return r6(Ne.objectKeys(this.shape))}}qe.create=(e,t)=>new qe({shape:()=>e,unknownKeys:"strip",catchall:wr.create(),typeName:fe.ZodObject,...xe(t)});qe.strictCreate=(e,t)=>new qe({shape:()=>e,unknownKeys:"strict",catchall:wr.create(),typeName:fe.ZodObject,...xe(t)});qe.lazycreate=(e,t)=>new qe({shape:e,unknownKeys:"strip",catchall:wr.create(),typeName:fe.ZodObject,...xe(t)});class xa extends _e{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function o(i){for(const a of i)if(a.result.status==="valid")return a.result;for(const a of i)if(a.result.status==="dirty")return n.common.issues.push(...a.ctx.common.issues),a.result;const s=i.map(a=>new cn(a.ctx.common.issues));return ee(n,{code:B.invalid_union,unionErrors:s}),pe}if(n.common.async)return Promise.all(r.map(async i=>{const s={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:s}),ctx:s}})).then(o);{let i;const s=[];for(const l of r){const u={...n,common:{...n.common,issues:[]},parent:null},f=l._parseSync({data:n.data,path:n.path,parent:u});if(f.status==="valid")return f;f.status==="dirty"&&!i&&(i={result:f,ctx:u}),u.common.issues.length&&s.push(u.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const a=s.map(l=>new cn(l));return ee(n,{code:B.invalid_union,unionErrors:a}),pe}}get options(){return this._def.options}}xa.create=(e,t)=>new xa({options:e,typeName:fe.ZodUnion,...xe(t)});const ar=e=>e instanceof Sa?ar(e.schema):e instanceof In?ar(e.innerType()):e instanceof Ca?[e.value]:e instanceof oo?e.options:e instanceof _a?Ne.objectValues(e.enum):e instanceof Ea?ar(e._def.innerType):e instanceof va?[void 0]:e instanceof ya?[null]:e instanceof Xn?[void 0,...ar(e.unwrap())]:e instanceof io?[null,...ar(e.unwrap())]:e instanceof D1||e instanceof ja?ar(e.unwrap()):e instanceof ka?ar(e._def.innerType):[];class Nu extends _e{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ne.object)return ee(n,{code:B.invalid_type,expected:ne.object,received:n.parsedType}),pe;const r=this.discriminator,o=n.data[r],i=this.optionsMap.get(o);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(ee(n,{code:B.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),pe)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){const o=new Map;for(const i of n){const s=ar(i.shape[t]);if(!s.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const a of s){if(o.has(a))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(a)}`);o.set(a,i)}}return new Nu({typeName:fe.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:o,...xe(r)})}}function Wf(e,t){const n=Fr(e),r=Fr(t);if(e===t)return{valid:!0,data:e};if(n===ne.object&&r===ne.object){const o=Ne.objectKeys(t),i=Ne.objectKeys(e).filter(a=>o.indexOf(a)!==-1),s={...e,...t};for(const a of i){const l=Wf(e[a],t[a]);if(!l.valid)return{valid:!1};s[a]=l.data}return{valid:!0,data:s}}else if(n===ne.array&&r===ne.array){if(e.length!==t.length)return{valid:!1};const o=[];for(let i=0;i{if(Uf(i)||Uf(s))return pe;const a=Wf(i.value,s.value);return a.valid?((Hf(i)||Hf(s))&&n.dirty(),{status:n.value,value:a.data}):(ee(r,{code:B.invalid_intersection_types}),pe)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,s])=>o(i,s)):o(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}wa.create=(e,t,n)=>new wa({left:e,right:t,typeName:fe.ZodIntersection,...xe(n)});class er extends _e{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ne.array)return ee(r,{code:B.invalid_type,expected:ne.array,received:r.parsedType}),pe;if(r.data.lengththis._def.items.length&&(ee(r,{code:B.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((s,a)=>{const l=this._def.items[a]||this._def.rest;return l?l._parse(new qn(r,s,r.path,a)):null}).filter(s=>!!s);return r.common.async?Promise.all(i).then(s=>At.mergeArray(n,s)):At.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new er({...this._def,rest:t})}}er.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new er({items:e,typeName:fe.ZodTuple,rest:null,...xe(t)})};class ba extends _e{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ne.object)return ee(r,{code:B.invalid_type,expected:ne.object,received:r.parsedType}),pe;const o=[],i=this._def.keyType,s=this._def.valueType;for(const a in r.data)o.push({key:i._parse(new qn(r,a,r.path,a)),value:s._parse(new qn(r,r.data[a],r.path,a)),alwaysSet:a in r.data});return r.common.async?At.mergeObjectAsync(n,o):At.mergeObjectSync(n,o)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof _e?new ba({keyType:t,valueType:n,typeName:fe.ZodRecord,...xe(r)}):new ba({keyType:Rn.create(),valueType:t,typeName:fe.ZodRecord,...xe(n)})}}class Fc extends _e{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ne.map)return ee(r,{code:B.invalid_type,expected:ne.map,received:r.parsedType}),pe;const o=this._def.keyType,i=this._def.valueType,s=[...r.data.entries()].map(([a,l],u)=>({key:o._parse(new qn(r,a,r.path,[u,"key"])),value:i._parse(new qn(r,l,r.path,[u,"value"]))}));if(r.common.async){const a=new Map;return Promise.resolve().then(async()=>{for(const l of s){const u=await l.key,f=await l.value;if(u.status==="aborted"||f.status==="aborted")return pe;(u.status==="dirty"||f.status==="dirty")&&n.dirty(),a.set(u.value,f.value)}return{status:n.value,value:a}})}else{const a=new Map;for(const l of s){const u=l.key,f=l.value;if(u.status==="aborted"||f.status==="aborted")return pe;(u.status==="dirty"||f.status==="dirty")&&n.dirty(),a.set(u.value,f.value)}return{status:n.value,value:a}}}}Fc.create=(e,t,n)=>new Fc({valueType:t,keyType:e,typeName:fe.ZodMap,...xe(n)});class Bo extends _e{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ne.set)return ee(r,{code:B.invalid_type,expected:ne.set,received:r.parsedType}),pe;const o=this._def;o.minSize!==null&&r.data.sizeo.maxSize.value&&(ee(r,{code:B.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const i=this._def.valueType;function s(l){const u=new Set;for(const f of l){if(f.status==="aborted")return pe;f.status==="dirty"&&n.dirty(),u.add(f.value)}return{status:n.value,value:u}}const a=[...r.data.values()].map((l,u)=>i._parse(new qn(r,l,r.path,u)));return r.common.async?Promise.all(a).then(l=>s(l)):s(a)}min(t,n){return new Bo({...this._def,minSize:{value:t,message:le.toString(n)}})}max(t,n){return new Bo({...this._def,maxSize:{value:t,message:le.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}Bo.create=(e,t)=>new Bo({valueType:e,minSize:null,maxSize:null,typeName:fe.ZodSet,...xe(t)});class Pi extends _e{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ne.function)return ee(n,{code:B.invalid_type,expected:ne.function,received:n.parsedType}),pe;function r(a,l){return Ac({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Dc(),Hi].filter(u=>!!u),issueData:{code:B.invalid_arguments,argumentsError:l}})}function o(a,l){return Ac({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Dc(),Hi].filter(u=>!!u),issueData:{code:B.invalid_return_type,returnTypeError:l}})}const i={errorMap:n.common.contextualErrorMap},s=n.data;if(this._def.returns instanceof Zi){const a=this;return Vt(async function(...l){const u=new cn([]),f=await a._def.args.parseAsync(l,i).catch(y=>{throw u.addIssue(r(l,y)),u}),d=await Reflect.apply(s,this,f);return await a._def.returns._def.type.parseAsync(d,i).catch(y=>{throw u.addIssue(o(d,y)),u})})}else{const a=this;return Vt(function(...l){const u=a._def.args.safeParse(l,i);if(!u.success)throw new cn([r(l,u.error)]);const f=Reflect.apply(s,this,u.data),d=a._def.returns.safeParse(f,i);if(!d.success)throw new cn([o(f,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new Pi({...this._def,args:er.create(t).rest(To.create())})}returns(t){return new Pi({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new Pi({args:t||er.create([]).rest(To.create()),returns:n||To.create(),typeName:fe.ZodFunction,...xe(r)})}}class Sa extends _e{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}Sa.create=(e,t)=>new Sa({getter:e,typeName:fe.ZodLazy,...xe(t)});class Ca extends _e{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return ee(n,{received:n.data,code:B.invalid_literal,expected:this._def.value}),pe}return{status:"valid",value:t.data}}get value(){return this._def.value}}Ca.create=(e,t)=>new Ca({value:e,typeName:fe.ZodLiteral,...xe(t)});function r6(e,t){return new oo({values:e,typeName:fe.ZodEnum,...xe(t)})}class oo extends _e{constructor(){super(...arguments),ks.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return ee(n,{expected:Ne.joinValues(r),received:n.parsedType,code:B.invalid_type}),pe}if(Oc(this,ks)||q5(this,ks,new Set(this._def.values)),!Oc(this,ks).has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return ee(n,{received:n.data,code:B.invalid_enum_value,options:r}),pe}return Vt(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return oo.create(t,{...this._def,...n})}exclude(t,n=this._def){return oo.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}ks=new WeakMap;oo.create=r6;class _a extends _e{constructor(){super(...arguments),js.set(this,void 0)}_parse(t){const n=Ne.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==ne.string&&r.parsedType!==ne.number){const o=Ne.objectValues(n);return ee(r,{expected:Ne.joinValues(o),received:r.parsedType,code:B.invalid_type}),pe}if(Oc(this,js)||q5(this,js,new Set(Ne.getValidEnumValues(this._def.values))),!Oc(this,js).has(t.data)){const o=Ne.objectValues(n);return ee(r,{received:r.data,code:B.invalid_enum_value,options:o}),pe}return Vt(t.data)}get enum(){return this._def.values}}js=new WeakMap;_a.create=(e,t)=>new _a({values:e,typeName:fe.ZodNativeEnum,...xe(t)});class Zi extends _e{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ne.promise&&n.common.async===!1)return ee(n,{code:B.invalid_type,expected:ne.promise,received:n.parsedType}),pe;const r=n.parsedType===ne.promise?n.data:Promise.resolve(n.data);return Vt(r.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Zi.create=(e,t)=>new Zi({type:e,typeName:fe.ZodPromise,...xe(t)});class In extends _e{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===fe.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),o=this._def.effect||null,i={addIssue:s=>{ee(r,s),s.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),o.type==="preprocess"){const s=o.transform(r.data,i);if(r.common.async)return Promise.resolve(s).then(async a=>{if(n.value==="aborted")return pe;const l=await this._def.schema._parseAsync({data:a,path:r.path,parent:r});return l.status==="aborted"?pe:l.status==="dirty"||n.value==="dirty"?bi(l.value):l});{if(n.value==="aborted")return pe;const a=this._def.schema._parseSync({data:s,path:r.path,parent:r});return a.status==="aborted"?pe:a.status==="dirty"||n.value==="dirty"?bi(a.value):a}}if(o.type==="refinement"){const s=a=>{const l=o.refinement(a,i);if(r.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return a};if(r.common.async===!1){const a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?pe:(a.status==="dirty"&&n.dirty(),s(a.value),{status:n.value,value:a.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>a.status==="aborted"?pe:(a.status==="dirty"&&n.dirty(),s(a.value).then(()=>({status:n.value,value:a.value}))))}if(o.type==="transform")if(r.common.async===!1){const s=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!pa(s))return s;const a=o.transform(s.value,i);if(a instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:a}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(s=>pa(s)?Promise.resolve(o.transform(s.value,i)).then(a=>({status:n.value,value:a})):s);Ne.assertNever(o)}}In.create=(e,t,n)=>new In({schema:e,typeName:fe.ZodEffects,effect:t,...xe(n)});In.createWithPreprocess=(e,t,n)=>new In({schema:t,effect:{type:"preprocess",transform:e},typeName:fe.ZodEffects,...xe(n)});class Xn extends _e{_parse(t){return this._getType(t)===ne.undefined?Vt(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Xn.create=(e,t)=>new Xn({innerType:e,typeName:fe.ZodOptional,...xe(t)});class io extends _e{_parse(t){return this._getType(t)===ne.null?Vt(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}io.create=(e,t)=>new io({innerType:e,typeName:fe.ZodNullable,...xe(t)});class Ea extends _e{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===ne.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}Ea.create=(e,t)=>new Ea({innerType:e,typeName:fe.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...xe(t)});class ka extends _e{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return ma(o)?o.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new cn(r.common.issues)},input:r.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new cn(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}ka.create=(e,t)=>new ka({innerType:e,typeName:fe.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...xe(t)});class zc extends _e{_parse(t){if(this._getType(t)!==ne.nan){const r=this._getOrReturnCtx(t);return ee(r,{code:B.invalid_type,expected:ne.nan,received:r.parsedType}),pe}return{status:"valid",value:t.data}}}zc.create=e=>new zc({typeName:fe.ZodNaN,...xe(e)});const fT=Symbol("zod_brand");class D1 extends _e{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class Wa extends _e{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?pe:i.status==="dirty"?(n.dirty(),bi(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const o=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return o.status==="aborted"?pe:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:r.path,parent:r})}}static create(t,n){return new Wa({in:t,out:n,typeName:fe.ZodPipeline})}}class ja extends _e{_parse(t){const n=this._def.innerType._parse(t),r=o=>(pa(o)&&(o.value=Object.freeze(o.value)),o);return ma(n)?n.then(o=>r(o)):r(n)}unwrap(){return this._def.innerType}}ja.create=(e,t)=>new ja({innerType:e,typeName:fe.ZodReadonly,...xe(t)});function o6(e,t={},n){return e?Wi.create().superRefine((r,o)=>{var i,s;if(!e(r)){const a=typeof t=="function"?t(r):typeof t=="string"?{message:t}:t,l=(s=(i=a.fatal)!==null&&i!==void 0?i:n)!==null&&s!==void 0?s:!0,u=typeof a=="string"?{message:a}:a;o.addIssue({code:"custom",...u,fatal:l})}}):Wi.create()}const hT={object:qe.lazycreate};var fe;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(fe||(fe={}));const pT=(e,t={message:`Input not instance of ${e.name}`})=>o6(n=>n instanceof e,t),i6=Rn.create,s6=no.create,mT=zc.create,gT=ro.create,a6=ga.create,vT=Vo.create,yT=Lc.create,xT=va.create,wT=ya.create,bT=Wi.create,ST=To.create,CT=wr.create,_T=Ic.create,ET=Pn.create,kT=qe.create,jT=qe.strictCreate,NT=xa.create,RT=Nu.create,TT=wa.create,MT=er.create,PT=ba.create,DT=Fc.create,AT=Bo.create,OT=Pi.create,LT=Sa.create,IT=Ca.create,FT=oo.create,zT=_a.create,$T=Zi.create,pm=In.create,VT=Xn.create,BT=io.create,UT=In.createWithPreprocess,HT=Wa.create,WT=()=>i6().optional(),ZT=()=>s6().optional(),GT=()=>a6().optional(),KT={string:e=>Rn.create({...e,coerce:!0}),number:e=>no.create({...e,coerce:!0}),boolean:e=>ga.create({...e,coerce:!0}),bigint:e=>ro.create({...e,coerce:!0}),date:e=>Vo.create({...e,coerce:!0})},YT=pe;var gs=Object.freeze({__proto__:null,defaultErrorMap:Hi,setErrorMap:YR,getErrorMap:Dc,makeIssue:Ac,EMPTY_PATH:QR,addIssueToContext:ee,ParseStatus:At,INVALID:pe,DIRTY:bi,OK:Vt,isAborted:Uf,isDirty:Hf,isValid:pa,isAsync:ma,get util(){return Ne},get objectUtil(){return Bf},ZodParsedType:ne,getParsedType:Fr,ZodType:_e,datetimeRegex:n6,ZodString:Rn,ZodNumber:no,ZodBigInt:ro,ZodBoolean:ga,ZodDate:Vo,ZodSymbol:Lc,ZodUndefined:va,ZodNull:ya,ZodAny:Wi,ZodUnknown:To,ZodNever:wr,ZodVoid:Ic,ZodArray:Pn,ZodObject:qe,ZodUnion:xa,ZodDiscriminatedUnion:Nu,ZodIntersection:wa,ZodTuple:er,ZodRecord:ba,ZodMap:Fc,ZodSet:Bo,ZodFunction:Pi,ZodLazy:Sa,ZodLiteral:Ca,ZodEnum:oo,ZodNativeEnum:_a,ZodPromise:Zi,ZodEffects:In,ZodTransformer:In,ZodOptional:Xn,ZodNullable:io,ZodDefault:Ea,ZodCatch:ka,ZodNaN:zc,BRAND:fT,ZodBranded:D1,ZodPipeline:Wa,ZodReadonly:ja,custom:o6,Schema:_e,ZodSchema:_e,late:hT,get ZodFirstPartyTypeKind(){return fe},coerce:KT,any:bT,array:ET,bigint:gT,boolean:a6,date:vT,discriminatedUnion:RT,effect:pm,enum:FT,function:OT,instanceof:pT,intersection:TT,lazy:LT,literal:IT,map:DT,nan:mT,nativeEnum:zT,never:CT,null:wT,nullable:BT,number:s6,object:kT,oboolean:GT,onumber:ZT,optional:VT,ostring:WT,pipeline:HT,preprocess:UT,promise:$T,record:PT,set:AT,strictObject:jT,string:i6,symbol:yT,transformer:pm,tuple:MT,undefined:xT,union:NT,unknown:ST,void:_T,NEVER:YT,ZodIssueCode:B,quotelessJson:KR,ZodError:cn}),QT="Label",l6=p.forwardRef((e,t)=>c.jsx(Qe.label,{...e,ref:t,onMouseDown:n=>{var o;n.target.closest("button, input, select, textarea")||((o=e.onMouseDown)==null||o.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));l6.displayName=QT;var c6=l6;const XT=au("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),u6=p.forwardRef(({className:e,...t},n)=>c.jsx(c6,{ref:n,className:ce(XT(),e),...t}));u6.displayName=c6.displayName;const JT=gR,d6=p.createContext({}),El=({...e})=>c.jsx(d6.Provider,{value:{name:e.name},children:c.jsx(wR,{...e})}),Ru=()=>{const e=p.useContext(d6),t=p.useContext(f6),{getFieldState:n,formState:r}=ju(),o=n(e.name,r);if(!e)throw new Error("useFormField should be used within ");const{id:i}=t;return{id:i,name:e.name,formItemId:`${i}-form-item`,formDescriptionId:`${i}-form-item-description`,formMessageId:`${i}-form-item-message`,...o}},f6=p.createContext({}),Ns=p.forwardRef(({className:e,...t},n)=>{const r=p.useId();return c.jsx(f6.Provider,{value:{id:r},children:c.jsx("div",{ref:n,className:ce("space-y-2",e),...t})})});Ns.displayName="FormItem";const Rs=p.forwardRef(({className:e,...t},n)=>{const{error:r,formItemId:o}=Ru();return c.jsx(u6,{ref:n,className:ce(r&&"text-destructive",e),htmlFor:o,...t})});Rs.displayName="FormLabel";const Ts=p.forwardRef(({...e},t)=>{const{error:n,formItemId:r,formDescriptionId:o,formMessageId:i}=Ru();return c.jsx(Jr,{ref:t,id:r,"aria-describedby":n?`${o} ${i}`:`${o}`,"aria-invalid":!!n,...e})});Ts.displayName="FormControl";const qT=p.forwardRef(({className:e,...t},n)=>{const{formDescriptionId:r}=Ru();return c.jsx("p",{ref:n,id:r,className:ce("text-sm text-muted-foreground",e),...t})});qT.displayName="FormDescription";const Ms=p.forwardRef(({className:e,children:t,...n},r)=>{const{error:o,formMessageId:i}=Ru(),s=o?String(o==null?void 0:o.message):t;return s?c.jsx("p",{ref:r,id:i,className:ce("text-sm font-medium text-destructive",e),...n,children:s}):null});Ms.displayName="FormMessage";const h6=p.forwardRef(({className:e,...t},n)=>c.jsx("textarea",{className:ce("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));h6.displayName="Textarea";const Hl=p.forwardRef(({className:e,type:t,...n},r)=>c.jsx("input",{type:t,className:ce("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...n}));Hl.displayName="Input";const eM=gs.object({email:gs.string().min(1,{message:"Email address is required"}).email({message:"Invalid email address"}),name:gs.string().min(1,{message:"Name is required"}),subject:gs.string().min(1,{message:"Subject is required"}),message:gs.string().max(500,{message:"Message must be 500 characters long"}).optional()}),tM=()=>{const e=MR({resolver:OR(eM),defaultValues:{email:"",name:"",subject:""}}),[t,n]=p.useTransition(),r=async o=>{await fm.send(em,tm,o,{publicKey:nm}),n(()=>{fm.send(em,tm,o,{publicKey:nm}).then(()=>wp.success("Message sent. Thanks for reaching out!")).catch(()=>wp.error("Something went wrong. Please try again later."))})};return c.jsx(JT,{...e,children:c.jsxs("form",{onSubmit:e.handleSubmit(r),className:`border border-primary/50 rounded-md w-full lg:w-3/5 bg-primary/10\r + ease-in-out cursor-pointer hover:bg-muted-foreground group hover:drop-shadow-foreground-glow`,children:c.jsx(n,{className:"w-4 h-4 ease-in-out group-hover:text-background pointer-events-none"})})},t.href)})})};var Ua=e=>e.type==="checkbox",wi=e=>e instanceof Date,zt=e=>e==null;const j5=e=>typeof e=="object";var vt=e=>!zt(e)&&!Array.isArray(e)&&j5(e)&&!wi(e),N5=e=>vt(e)&&e.target?Ua(e.target)?e.target.checked:e.target.value:e,gR=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,R5=(e,t)=>e.has(gR(t)),vR=e=>{const t=e.constructor&&e.constructor.prototype;return vt(t)&&t.hasOwnProperty("isPrototypeOf")},j1=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Gt(e){let t;const n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(j1&&(e instanceof Blob||e instanceof FileList))&&(n||vt(e)))if(t=n?[]:{},!n&&!vR(e))t=e;else for(const r in e)e.hasOwnProperty(r)&&(t[r]=Gt(e[r]));else return e;return t}var ku=e=>Array.isArray(e)?e.filter(Boolean):[],st=e=>e===void 0,G=(e,t,n)=>{if(!t||!vt(e))return n;const r=ku(t.split(/[,[\].]+?/)).reduce((o,i)=>zt(o)?o:o[i],e);return st(r)||r===e?st(e[t])?n:e[t]:r},Zn=e=>typeof e=="boolean",N1=e=>/^\w*$/.test(e),T5=e=>ku(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Pe=(e,t,n)=>{let r=-1;const o=N1(t)?[t]:T5(t),i=o.length,s=i-1;for(;++rF.useContext(M5),yR=e=>{const{children:t,...n}=e;return F.createElement(M5.Provider,{value:n},t)};var P5=(e,t,n,r=!0)=>{const o={defaultValues:t._defaultValues};for(const i in e)Object.defineProperty(o,i,{get:()=>{const s=i;return t._proxyFormState[s]!==Rn.all&&(t._proxyFormState[s]=!r||Rn.all),n&&(n[s]=!0),e[s]}});return o},Kt=e=>vt(e)&&!Object.keys(e).length,D5=(e,t,n,r)=>{n(e);const{name:o,...i}=e;return Kt(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(s=>t[s]===(!r||Rn.all))},Vs=e=>Array.isArray(e)?e:[e],A5=(e,t,n)=>!e||!t||e===t||Vs(e).some(r=>r&&(n?r===t:r.startsWith(t)||t.startsWith(r)));function R1(e){const t=F.useRef(e);t.current=e,F.useEffect(()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}function xR(e){const t=ju(),{control:n=t.control,disabled:r,name:o,exact:i}=e||{},[s,a]=F.useState(n._formState),l=F.useRef(!0),u=F.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),f=F.useRef(o);return f.current=o,R1({disabled:r,next:d=>l.current&&A5(f.current,d.name,i)&&D5(d,u.current,n._updateFormState)&&a({...n._formState,...d}),subject:n._subjects.state}),F.useEffect(()=>(l.current=!0,u.current.isValid&&n._updateValid(!0),()=>{l.current=!1}),[n]),P5(s,n,u.current,!1)}var Kn=e=>typeof e=="string",O5=(e,t,n,r,o)=>Kn(e)?(r&&t.watch.add(e),G(n,e,o)):Array.isArray(e)?e.map(i=>(r&&t.watch.add(i),G(n,i))):(r&&(t.watchAll=!0),n);function wR(e){const t=ju(),{control:n=t.control,name:r,defaultValue:o,disabled:i,exact:s}=e||{},a=F.useRef(r);a.current=r,R1({disabled:i,subject:n._subjects.values,next:f=>{A5(a.current,f.name,s)&&u(Gt(O5(a.current,n._names,f.values||n._formValues,!1,o)))}});const[l,u]=F.useState(n._getWatch(r,o));return F.useEffect(()=>n._removeUnmounted()),l}function bR(e){const t=ju(),{name:n,disabled:r,control:o=t.control,shouldUnregister:i}=e,s=R5(o._names.array,n),a=wR({control:o,name:n,defaultValue:G(o._formValues,n,G(o._defaultValues,n,e.defaultValue)),exact:!0}),l=xR({control:o,name:n,exact:!0}),u=F.useRef(o.register(n,{...e.rules,value:a,...Zn(e.disabled)?{disabled:e.disabled}:{}}));return F.useEffect(()=>{const f=o._options.shouldUnregister||i,d=(h,y)=>{const x=G(o._fields,h);x&&x._f&&(x._f.mount=y)};if(d(n,!0),f){const h=Gt(G(o._options.defaultValues,n));Pe(o._defaultValues,n,h),st(G(o._formValues,n))&&Pe(o._formValues,n,h)}return()=>{(s?f&&!o._state.action:f)?o.unregister(n):d(n,!1)}},[n,o,s,i]),F.useEffect(()=>{G(o._fields,n)&&o._updateDisabledField({disabled:r,fields:o._fields,name:n,value:G(o._fields,n)._f.value})},[r,n,o]),{field:{name:n,value:a,...Zn(r)||l.disabled?{disabled:l.disabled||r}:{},onChange:F.useCallback(f=>u.current.onChange({target:{value:N5(f),name:n},type:Nc.CHANGE}),[n]),onBlur:F.useCallback(()=>u.current.onBlur({target:{value:G(o._formValues,n),name:n},type:Nc.BLUR}),[n,o]),ref:F.useCallback(f=>{const d=G(o._fields,n);d&&f&&(d._f.ref={focus:()=>f.focus(),select:()=>f.select(),setCustomValidity:h=>f.setCustomValidity(h),reportValidity:()=>f.reportValidity()})},[o._fields,n])},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!G(l.errors,n)},isDirty:{enumerable:!0,get:()=>!!G(l.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!G(l.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!G(l.validatingFields,n)},error:{enumerable:!0,get:()=>G(l.errors,n)}})}}const SR=e=>e.render(bR(e));var L5=(e,t,n,r,o)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:o||!0}}:{},rm=e=>({isOnSubmit:!e||e===Rn.onSubmit,isOnBlur:e===Rn.onBlur,isOnChange:e===Rn.onChange,isOnAll:e===Rn.all,isOnTouch:e===Rn.onTouched}),om=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const Bs=(e,t,n,r)=>{for(const o of n||Object.keys(e)){const i=G(e,o);if(i){const{_f:s,...a}=i;if(s){if(s.refs&&s.refs[0]&&t(s.refs[0],o)&&!r)break;if(s.ref&&t(s.ref,s.name)&&!r)break;Bs(a,t)}else vt(a)&&Bs(a,t)}}};var CR=(e,t,n)=>{const r=Vs(G(e,n));return Pe(r,"root",t[n]),Pe(e,n,r),e},T1=e=>e.type==="file",Vr=e=>typeof e=="function",Rc=e=>{if(!j1)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Ul=e=>Kn(e),M1=e=>e.type==="radio",Tc=e=>e instanceof RegExp;const im={value:!1,isValid:!1},sm={value:!0,isValid:!0};var I5=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!st(e[0].attributes.value)?st(e[0].value)||e[0].value===""?sm:{value:e[0].value,isValid:!0}:sm:im}return im};const am={isValid:!1,value:null};var F5=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,am):am;function lm(e,t,n="validate"){if(Ul(e)||Array.isArray(e)&&e.every(Ul)||Zn(e)&&!e)return{type:n,message:Ul(e)?e:"",ref:t}}var ii=e=>vt(e)&&!Tc(e)?e:{value:e,message:""},cm=async(e,t,n,r,o)=>{const{ref:i,refs:s,required:a,maxLength:l,minLength:u,min:f,max:d,pattern:h,validate:y,name:x,valueAsNumber:v,mount:b,disabled:g}=e._f,m=G(t,x);if(!b||g)return{};const w=s?s[0]:i,C=L=>{r&&w.reportValidity&&(w.setCustomValidity(Zn(L)?"":L||""),w.reportValidity())},_={},S=M1(i),T=Ua(i),R=S||T,z=(v||T1(i))&&st(i.value)&&st(m)||Rc(i)&&i.value===""||m===""||Array.isArray(m)&&!m.length,O=L5.bind(null,x,n,_),X=(L,W,H,oe=sr.maxLength,se=sr.minLength)=>{const Z=L?W:H;_[x]={type:L?oe:se,message:Z,ref:i,...O(L?oe:se,Z)}};if(o?!Array.isArray(m)||!m.length:a&&(!R&&(z||zt(m))||Zn(m)&&!m||T&&!I5(s).isValid||S&&!F5(s).isValid)){const{value:L,message:W}=Ul(a)?{value:!!a,message:a}:ii(a);if(L&&(_[x]={type:sr.required,message:W,ref:w,...O(sr.required,W)},!n))return C(W),_}if(!z&&(!zt(f)||!zt(d))){let L,W;const H=ii(d),oe=ii(f);if(!zt(m)&&!isNaN(m)){const se=i.valueAsNumber||m&&+m;zt(H.value)||(L=se>H.value),zt(oe.value)||(W=senew Date(new Date().toDateString()+" "+K),M=i.type=="time",D=i.type=="week";Kn(H.value)&&m&&(L=M?Z(m)>Z(H.value):D?m>H.value:se>new Date(H.value)),Kn(oe.value)&&m&&(W=M?Z(m)+L.value,oe=!zt(W.value)&&m.length<+W.value;if((H||oe)&&(X(H,L.message,W.message),!n))return C(_[x].message),_}if(h&&!z&&Kn(m)){const{value:L,message:W}=ii(h);if(Tc(L)&&!m.match(L)&&(_[x]={type:sr.pattern,message:W,ref:i,...O(sr.pattern,W)},!n))return C(W),_}if(y){if(Vr(y)){const L=await y(m,t),W=lm(L,w);if(W&&(_[x]={...W,...O(sr.validate,W.message)},!n))return C(W.message),_}else if(vt(y)){let L={};for(const W in y){if(!Kt(L)&&!n)break;const H=lm(await y[W](m,t),w,W);H&&(L={...H,...O(W,H.message)},C(H.message),n&&(_[x]=L))}if(!Kt(L)&&(_[x]={ref:w,...L},!n))return _}}return C(!0),_};function _R(e,t){const n=t.slice(0,-1).length;let r=0;for(;r{let e=[];return{get observers(){return e},next:o=>{for(const i of e)i.next&&i.next(o)},subscribe:o=>(e.push(o),{unsubscribe:()=>{e=e.filter(i=>i!==o)}}),unsubscribe:()=>{e=[]}}},Mc=e=>zt(e)||!j5(e);function jo(e,t){if(Mc(e)||Mc(t))return e===t;if(wi(e)&&wi(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const o of n){const i=e[o];if(!r.includes(o))return!1;if(o!=="ref"){const s=t[o];if(wi(i)&&wi(s)||vt(i)&&vt(s)||Array.isArray(i)&&Array.isArray(s)?!jo(i,s):i!==s)return!1}}return!0}var z5=e=>e.type==="select-multiple",kR=e=>M1(e)||Ua(e),bd=e=>Rc(e)&&e.isConnected,$5=e=>{for(const t in e)if(Vr(e[t]))return!0;return!1};function Pc(e,t={}){const n=Array.isArray(e);if(vt(e)||n)for(const r in e)Array.isArray(e[r])||vt(e[r])&&!$5(e[r])?(t[r]=Array.isArray(e[r])?[]:{},Pc(e[r],t[r])):zt(e[r])||(t[r]=!0);return t}function V5(e,t,n){const r=Array.isArray(e);if(vt(e)||r)for(const o in e)Array.isArray(e[o])||vt(e[o])&&!$5(e[o])?st(t)||Mc(n[o])?n[o]=Array.isArray(e[o])?Pc(e[o],[]):{...Pc(e[o])}:V5(e[o],zt(t)?{}:t[o],n[o]):n[o]=!jo(e[o],t[o]);return n}var _l=(e,t)=>V5(e,t,Pc(t)),B5=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>st(e)?e:t?e===""?NaN:e&&+e:n&&Kn(e)?new Date(e):r?r(e):e;function Sd(e){const t=e.ref;if(!(e.refs?e.refs.every(n=>n.disabled):t.disabled))return T1(t)?t.files:M1(t)?F5(e.refs).value:z5(t)?[...t.selectedOptions].map(({value:n})=>n):Ua(t)?I5(e.refs).value:B5(st(t.value)?e.ref.value:t.value,e)}var jR=(e,t,n,r)=>{const o={};for(const i of e){const s=G(t,i);s&&Pe(o,i,s._f)}return{criteriaMode:n,names:[...e],fields:o,shouldUseNativeValidation:r}},ms=e=>st(e)?e:Tc(e)?e.source:vt(e)?Tc(e.value)?e.value.source:e.value:e,NR=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function um(e,t,n){const r=G(e,n);if(r||N1(n))return{error:r,name:n};const o=n.split(".");for(;o.length;){const i=o.join("."),s=G(t,i),a=G(e,i);if(s&&!Array.isArray(s)&&n!==i)return{name:n};if(a&&a.type)return{name:i,error:a};o.pop()}return{name:n}}var RR=(e,t,n,r,o)=>o.isOnAll?!1:!n&&o.isOnTouch?!(t||e):(n?r.isOnBlur:o.isOnBlur)?!e:(n?r.isOnChange:o.isOnChange)?e:!0,TR=(e,t)=>!ku(G(e,t)).length&&pt(e,t);const MR={mode:Rn.onSubmit,reValidateMode:Rn.onChange,shouldFocusError:!0};function PR(e={}){let t={...MR,...e},n={submitCount:0,isDirty:!1,isLoading:Vr(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},o=vt(t.defaultValues)||vt(t.values)?Gt(t.defaultValues||t.values)||{}:{},i=t.shouldUnregister?{}:Gt(o),s={action:!1,mount:!1,watch:!1},a={mount:new Set,unMount:new Set,array:new Set,watch:new Set},l,u=0;const f={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={values:wd(),array:wd(),state:wd()},h=rm(t.mode),y=rm(t.reValidateMode),x=t.criteriaMode===Rn.all,v=E=>N=>{clearTimeout(u),u=setTimeout(E,N)},b=async E=>{if(f.isValid||E){const N=t.resolver?Kt((await R()).errors):await O(r,!0);N!==n.isValid&&d.state.next({isValid:N})}},g=(E,N)=>{(f.isValidating||f.validatingFields)&&((E||Array.from(a.mount)).forEach(A=>{A&&(N?Pe(n.validatingFields,A,N):pt(n.validatingFields,A))}),d.state.next({validatingFields:n.validatingFields,isValidating:!Kt(n.validatingFields)}))},m=(E,N=[],A,q,Y=!0,V=!0)=>{if(q&&A){if(s.action=!0,V&&Array.isArray(G(r,E))){const ie=A(G(r,E),q.argA,q.argB);Y&&Pe(r,E,ie)}if(V&&Array.isArray(G(n.errors,E))){const ie=A(G(n.errors,E),q.argA,q.argB);Y&&Pe(n.errors,E,ie),TR(n.errors,E)}if(f.touchedFields&&V&&Array.isArray(G(n.touchedFields,E))){const ie=A(G(n.touchedFields,E),q.argA,q.argB);Y&&Pe(n.touchedFields,E,ie)}f.dirtyFields&&(n.dirtyFields=_l(o,i)),d.state.next({name:E,isDirty:L(E,N),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Pe(i,E,N)},w=(E,N)=>{Pe(n.errors,E,N),d.state.next({errors:n.errors})},C=E=>{n.errors=E,d.state.next({errors:n.errors,isValid:!1})},_=(E,N,A,q)=>{const Y=G(r,E);if(Y){const V=G(i,E,st(A)?G(o,E):A);st(V)||q&&q.defaultChecked||N?Pe(i,E,N?V:Sd(Y._f)):oe(E,V),s.mount&&b()}},S=(E,N,A,q,Y)=>{let V=!1,ie=!1;const Ee={name:E},Fe=!!(G(r,E)&&G(r,E)._f&&G(r,E)._f.disabled);if(!A||q){f.isDirty&&(ie=n.isDirty,n.isDirty=Ee.isDirty=L(),V=ie!==Ee.isDirty);const Ze=Fe||jo(G(o,E),N);ie=!!(!Fe&&G(n.dirtyFields,E)),Ze||Fe?pt(n.dirtyFields,E):Pe(n.dirtyFields,E,!0),Ee.dirtyFields=n.dirtyFields,V=V||f.dirtyFields&&ie!==!Ze}if(A){const Ze=G(n.touchedFields,E);Ze||(Pe(n.touchedFields,E,A),Ee.touchedFields=n.touchedFields,V=V||f.touchedFields&&Ze!==A)}return V&&Y&&d.state.next(Ee),V?Ee:{}},T=(E,N,A,q)=>{const Y=G(n.errors,E),V=f.isValid&&Zn(N)&&n.isValid!==N;if(e.delayError&&A?(l=v(()=>w(E,A)),l(e.delayError)):(clearTimeout(u),l=null,A?Pe(n.errors,E,A):pt(n.errors,E)),(A?!jo(Y,A):Y)||!Kt(q)||V){const ie={...q,...V&&Zn(N)?{isValid:N}:{},errors:n.errors,name:E};n={...n,...ie},d.state.next(ie)}},R=async E=>{g(E,!0);const N=await t.resolver(i,t.context,jR(E||a.mount,r,t.criteriaMode,t.shouldUseNativeValidation));return g(E),N},z=async E=>{const{errors:N}=await R(E);if(E)for(const A of E){const q=G(N,A);q?Pe(n.errors,A,q):pt(n.errors,A)}else n.errors=N;return N},O=async(E,N,A={valid:!0})=>{for(const q in E){const Y=E[q];if(Y){const{_f:V,...ie}=Y;if(V){const Ee=a.array.has(V.name);g([q],!0);const Fe=await cm(Y,i,x,t.shouldUseNativeValidation&&!N,Ee);if(g([q]),Fe[V.name]&&(A.valid=!1,N))break;!N&&(G(Fe,V.name)?Ee?CR(n.errors,Fe,V.name):Pe(n.errors,V.name,Fe[V.name]):pt(n.errors,V.name))}!Kt(ie)&&await O(ie,N,A)}}return A.valid},X=()=>{for(const E of a.unMount){const N=G(r,E);N&&(N._f.refs?N._f.refs.every(A=>!bd(A)):!bd(N._f.ref))&&me(E)}a.unMount=new Set},L=(E,N)=>(E&&N&&Pe(i,E,N),!jo(U(),o)),W=(E,N,A)=>O5(E,a,{...s.mount?i:st(N)?o:Kn(E)?{[E]:N}:N},A,N),H=E=>ku(G(s.mount?i:o,E,e.shouldUnregister?G(o,E,[]):[])),oe=(E,N,A={})=>{const q=G(r,E);let Y=N;if(q){const V=q._f;V&&(!V.disabled&&Pe(i,E,B5(N,V)),Y=Rc(V.ref)&&zt(N)?"":N,z5(V.ref)?[...V.ref.options].forEach(ie=>ie.selected=Y.includes(ie.value)):V.refs?Ua(V.ref)?V.refs.length>1?V.refs.forEach(ie=>(!ie.defaultChecked||!ie.disabled)&&(ie.checked=Array.isArray(Y)?!!Y.find(Ee=>Ee===ie.value):Y===ie.value)):V.refs[0]&&(V.refs[0].checked=!!Y):V.refs.forEach(ie=>ie.checked=ie.value===Y):T1(V.ref)?V.ref.value="":(V.ref.value=Y,V.ref.type||d.values.next({name:E,values:{...i}})))}(A.shouldDirty||A.shouldTouch)&&S(E,Y,A.shouldTouch,A.shouldDirty,!0),A.shouldValidate&&K(E)},se=(E,N,A)=>{for(const q in N){const Y=N[q],V=`${E}.${q}`,ie=G(r,V);(a.array.has(E)||!Mc(Y)||ie&&!ie._f)&&!wi(Y)?se(V,Y,A):oe(V,Y,A)}},Z=(E,N,A={})=>{const q=G(r,E),Y=a.array.has(E),V=Gt(N);Pe(i,E,V),Y?(d.array.next({name:E,values:{...i}}),(f.isDirty||f.dirtyFields)&&A.shouldDirty&&d.state.next({name:E,dirtyFields:_l(o,i),isDirty:L(E,V)})):q&&!q._f&&!zt(V)?se(E,V,A):oe(E,V,A),om(E,a)&&d.state.next({...n}),d.values.next({name:s.mount?E:void 0,values:{...i}})},M=async E=>{s.mount=!0;const N=E.target;let A=N.name,q=!0;const Y=G(r,A),V=()=>N.type?Sd(Y._f):N5(E),ie=Ee=>{q=Number.isNaN(Ee)||Ee===G(i,A,Ee)};if(Y){let Ee,Fe;const Ze=V(),yt=E.type===Nc.BLUR||E.type===Nc.FOCUS_OUT,xt=!NR(Y._f)&&!t.resolver&&!G(n.errors,A)&&!Y._f.deps||RR(yt,G(n.touchedFields,A),n.isSubmitted,y,h),nr=om(A,a,yt);Pe(i,A,Ze),yt?(Y._f.onBlur&&Y._f.onBlur(E),l&&l(0)):Y._f.onChange&&Y._f.onChange(E);const $n=S(A,Ze,yt,!1),Yo=!Kt($n)||nr;if(!yt&&d.values.next({name:A,type:E.type,values:{...i}}),xt)return f.isValid&&b(),Yo&&d.state.next({name:A,...nr?{}:$n});if(!yt&&nr&&d.state.next({...n}),t.resolver){const{errors:Wt}=await R([A]);if(ie(Ze),q){const Qo=um(n.errors,r,A),rr=um(Wt,r,Qo.name||A);Ee=rr.error,A=rr.name,Fe=Kt(Wt)}}else g([A],!0),Ee=(await cm(Y,i,x,t.shouldUseNativeValidation))[A],g([A]),ie(Ze),q&&(Ee?Fe=!1:f.isValid&&(Fe=await O(r,!0)));q&&(Y._f.deps&&K(Y._f.deps),T(A,Fe,Ee,$n))}},D=(E,N)=>{if(G(n.errors,N)&&E.focus)return E.focus(),1},K=async(E,N={})=>{let A,q;const Y=Vs(E);if(t.resolver){const V=await z(st(E)?E:Y);A=Kt(V),q=E?!Y.some(ie=>G(V,ie)):A}else E?(q=(await Promise.all(Y.map(async V=>{const ie=G(r,V);return await O(ie&&ie._f?{[V]:ie}:ie)}))).every(Boolean),!(!q&&!n.isValid)&&b()):q=A=await O(r);return d.state.next({...!Kn(E)||f.isValid&&A!==n.isValid?{}:{name:E},...t.resolver||!E?{isValid:A}:{},errors:n.errors}),N.shouldFocus&&!q&&Bs(r,D,E?Y:a.mount),q},U=E=>{const N={...s.mount?i:o};return st(E)?N:Kn(E)?G(N,E):E.map(A=>G(N,A))},J=(E,N)=>({invalid:!!G((N||n).errors,E),isDirty:!!G((N||n).dirtyFields,E),error:G((N||n).errors,E),isValidating:!!G(n.validatingFields,E),isTouched:!!G((N||n).touchedFields,E)}),ge=E=>{E&&Vs(E).forEach(N=>pt(n.errors,N)),d.state.next({errors:E?n.errors:{}})},ke=(E,N,A)=>{const q=(G(r,E,{_f:{}})._f||{}).ref,Y=G(n.errors,E)||{},{ref:V,message:ie,type:Ee,...Fe}=Y;Pe(n.errors,E,{...Fe,...N,ref:q}),d.state.next({name:E,errors:n.errors,isValid:!1}),A&&A.shouldFocus&&q&&q.focus&&q.focus()},$e=(E,N)=>Vr(E)?d.values.subscribe({next:A=>E(W(void 0,N),A)}):W(E,N,!0),me=(E,N={})=>{for(const A of E?Vs(E):a.mount)a.mount.delete(A),a.array.delete(A),N.keepValue||(pt(r,A),pt(i,A)),!N.keepError&&pt(n.errors,A),!N.keepDirty&&pt(n.dirtyFields,A),!N.keepTouched&&pt(n.touchedFields,A),!N.keepIsValidating&&pt(n.validatingFields,A),!t.shouldUnregister&&!N.keepDefaultValue&&pt(o,A);d.values.next({values:{...i}}),d.state.next({...n,...N.keepDirty?{isDirty:L()}:{}}),!N.keepIsValid&&b()},Xe=({disabled:E,name:N,field:A,fields:q,value:Y})=>{if(Zn(E)&&s.mount||E){const V=E?void 0:st(Y)?Sd(A?A._f:G(q,N)._f):Y;Pe(i,N,V),S(N,V,!1,!1,!0)}},ht=(E,N={})=>{let A=G(r,E);const q=Zn(N.disabled);return Pe(r,E,{...A||{},_f:{...A&&A._f?A._f:{ref:{name:E}},name:E,mount:!0,...N}}),a.mount.add(E),A?Xe({field:A,disabled:N.disabled,name:E,value:N.value}):_(E,!0,N.value),{...q?{disabled:N.disabled}:{},...t.progressive?{required:!!N.required,min:ms(N.min),max:ms(N.max),minLength:ms(N.minLength),maxLength:ms(N.maxLength),pattern:ms(N.pattern)}:{},name:E,onChange:M,onBlur:M,ref:Y=>{if(Y){ht(E,N),A=G(r,E);const V=st(Y.value)&&Y.querySelectorAll&&Y.querySelectorAll("input,select,textarea")[0]||Y,ie=kR(V),Ee=A._f.refs||[];if(ie?Ee.find(Fe=>Fe===V):V===A._f.ref)return;Pe(r,E,{_f:{...A._f,...ie?{refs:[...Ee.filter(bd),V,...Array.isArray(G(o,E))?[{}]:[]],ref:{type:V.type,name:E}}:{ref:V}}}),_(E,!1,void 0,V)}else A=G(r,E,{}),A._f&&(A._f.mount=!1),(t.shouldUnregister||N.shouldUnregister)&&!(R5(a.array,E)&&s.action)&&a.unMount.add(E)}}},Je=()=>t.shouldFocusError&&Bs(r,D,a.mount),Ot=E=>{Zn(E)&&(d.state.next({disabled:E}),Bs(r,(N,A)=>{const q=G(r,A);q&&(N.disabled=q._f.disabled||E,Array.isArray(q._f.refs)&&q._f.refs.forEach(Y=>{Y.disabled=q._f.disabled||E}))},0,!1))},tr=(E,N)=>async A=>{let q;A&&(A.preventDefault&&A.preventDefault(),A.persist&&A.persist());let Y=Gt(i);if(d.state.next({isSubmitting:!0}),t.resolver){const{errors:V,values:ie}=await R();n.errors=V,Y=ie}else await O(r);if(pt(n.errors,"root"),Kt(n.errors)){d.state.next({errors:{}});try{await E(Y,A)}catch(V){q=V}}else N&&await N({...n.errors},A),Je(),setTimeout(Je);if(d.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Kt(n.errors)&&!q,submitCount:n.submitCount+1,errors:n.errors}),q)throw q},We=(E,N={})=>{G(r,E)&&(st(N.defaultValue)?Z(E,Gt(G(o,E))):(Z(E,N.defaultValue),Pe(o,E,Gt(N.defaultValue))),N.keepTouched||pt(n.touchedFields,E),N.keepDirty||(pt(n.dirtyFields,E),n.isDirty=N.defaultValue?L(E,Gt(G(o,E))):L()),N.keepError||(pt(n.errors,E),f.isValid&&b()),d.state.next({...n}))},St=(E,N={})=>{const A=E?Gt(E):o,q=Gt(A),Y=Kt(E),V=Y?o:q;if(N.keepDefaultValues||(o=A),!N.keepValues){if(N.keepDirtyValues)for(const ie of a.mount)G(n.dirtyFields,ie)?Pe(V,ie,G(i,ie)):Z(ie,G(V,ie));else{if(j1&&st(E))for(const ie of a.mount){const Ee=G(r,ie);if(Ee&&Ee._f){const Fe=Array.isArray(Ee._f.refs)?Ee._f.refs[0]:Ee._f.ref;if(Rc(Fe)){const Ze=Fe.closest("form");if(Ze){Ze.reset();break}}}}r={}}i=e.shouldUnregister?N.keepDefaultValues?Gt(o):{}:Gt(V),d.array.next({values:{...V}}),d.values.next({values:{...V}})}a={mount:N.keepDirtyValues?a.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},s.mount=!f.isValid||!!N.keepIsValid||!!N.keepDirtyValues,s.watch=!!e.shouldUnregister,d.state.next({submitCount:N.keepSubmitCount?n.submitCount:0,isDirty:Y?!1:N.keepDirty?n.isDirty:!!(N.keepDefaultValues&&!jo(E,o)),isSubmitted:N.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:Y?{}:N.keepDirtyValues?N.keepDefaultValues&&i?_l(o,i):n.dirtyFields:N.keepDefaultValues&&E?_l(o,E):N.keepDirty?n.dirtyFields:{},touchedFields:N.keepTouched?n.touchedFields:{},errors:N.keepErrors?n.errors:{},isSubmitSuccessful:N.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},bn=(E,N)=>St(Vr(E)?E(i):E,N);return{control:{register:ht,unregister:me,getFieldState:J,handleSubmit:tr,setError:ke,_executeSchema:R,_getWatch:W,_getDirty:L,_updateValid:b,_removeUnmounted:X,_updateFieldArray:m,_updateDisabledField:Xe,_getFieldArray:H,_reset:St,_resetDefaultValues:()=>Vr(t.defaultValues)&&t.defaultValues().then(E=>{bn(E,t.resetOptions),d.state.next({isLoading:!1})}),_updateFormState:E=>{n={...n,...E}},_disableForm:Ot,_subjects:d,_proxyFormState:f,_setErrors:C,get _fields(){return r},get _formValues(){return i},get _state(){return s},set _state(E){s=E},get _defaultValues(){return o},get _names(){return a},set _names(E){a=E},get _formState(){return n},set _formState(E){n=E},get _options(){return t},set _options(E){t={...t,...E}}},trigger:K,register:ht,handleSubmit:tr,watch:$e,setValue:Z,getValues:U,reset:bn,resetField:We,clearErrors:ge,unregister:me,setError:ke,setFocus:(E,N={})=>{const A=G(r,E),q=A&&A._f;if(q){const Y=q.refs?q.refs[0]:q.ref;Y.focus&&(Y.focus(),N.shouldSelect&&Y.select())}},getFieldState:J}}function DR(e={}){const t=F.useRef(),n=F.useRef(),[r,o]=F.useState({isDirty:!1,isValidating:!1,isLoading:Vr(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Vr(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...PR(e),formState:r});const i=t.current.control;return i._options=e,R1({subject:i._subjects.state,next:s=>{D5(s,i._proxyFormState,i._updateFormState,!0)&&o({...i._formState})}}),F.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),F.useEffect(()=>{if(i._proxyFormState.isDirty){const s=i._getDirty();s!==r.isDirty&&i._subjects.state.next({isDirty:s})}},[i,r.isDirty]),F.useEffect(()=>{e.values&&!jo(e.values,n.current)?(i._reset(e.values,i._options.resetOptions),n.current=e.values,o(s=>({...s}))):i._resetDefaultValues()},[e.values,i]),F.useEffect(()=>{e.errors&&i._setErrors(e.errors)},[e.errors,i]),F.useEffect(()=>{i._state.mount||(i._updateValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),F.useEffect(()=>{e.shouldUnregister&&i._subjects.values.next({values:i._getWatch()})},[e.shouldUnregister,i]),t.current.formState=P5(r,i),t.current}const dm=(e,t,n)=>{if(e&&"reportValidity"in e){const r=G(n,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},U5=(e,t)=>{for(const n in t.fields){const r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?dm(r.ref,n,e):r.refs&&r.refs.forEach(o=>dm(o,n,e))}},AR=(e,t)=>{t.shouldUseNativeValidation&&U5(e,t);const n={};for(const r in e){const o=G(t.fields,r),i=Object.assign(e[r]||{},{ref:o&&o.ref});if(OR(t.names||Object.keys(e),r)){const s=Object.assign({},G(n,r));Pe(s,"root",i),Pe(n,r,s)}else Pe(n,r,i)}return n},OR=(e,t)=>e.some(n=>n.startsWith(t+"."));var LR=function(e,t){for(var n={};e.length;){var r=e[0],o=r.code,i=r.message,s=r.path.join(".");if(!n[s])if("unionErrors"in r){var a=r.unionErrors[0].errors[0];n[s]={message:a.message,type:a.code}}else n[s]={message:i,type:o};if("unionErrors"in r&&r.unionErrors.forEach(function(f){return f.errors.forEach(function(d){return e.push(d)})}),t){var l=n[s].types,u=l&&l[r.code];n[s]=L5(s,t,n,o,u?[].concat(u,r.message):r.message)}e.shift()}return n},IR=function(e,t,n){return n===void 0&&(n={}),function(r,o,i){try{return Promise.resolve(function(s,a){try{var l=Promise.resolve(e[n.mode==="sync"?"parse":"parseAsync"](r,t)).then(function(u){return i.shouldUseNativeValidation&&U5({},i),{errors:{},values:n.raw?r:u}})}catch(u){return a(u)}return l&&l.then?l.then(void 0,a):l}(0,function(s){if(function(a){return Array.isArray(a==null?void 0:a.errors)}(s))return{values:{},errors:AR(LR(s.errors,!i.shouldUseNativeValidation&&i.criteriaMode==="all"),i)};throw s}))}catch(s){return Promise.reject(s)}}};class Ha{constructor(t=0,n="Network Error"){this.status=t,this.text=n}}const FR=()=>{if(!(typeof localStorage>"u"))return{get:e=>Promise.resolve(localStorage.getItem(e)),set:(e,t)=>Promise.resolve(localStorage.setItem(e,t)),remove:e=>Promise.resolve(localStorage.removeItem(e))}},kt={origin:"https://api.emailjs.com",blockHeadless:!1,storageProvider:FR()},P1=e=>e?typeof e=="string"?{publicKey:e}:e.toString()==="[object Object]"?e:{}:{},zR=(e,t="https://api.emailjs.com")=>{if(!e)return;const n=P1(e);kt.publicKey=n.publicKey,kt.blockHeadless=n.blockHeadless,kt.storageProvider=n.storageProvider,kt.blockList=n.blockList,kt.limitRate=n.limitRate,kt.origin=n.origin||t},H5=async(e,t,n={})=>{const r=await fetch(kt.origin+e,{method:"POST",headers:n,body:t}),o=await r.text(),i=new Ha(r.status,o);if(r.ok)return i;throw i},W5=(e,t,n)=>{if(!e||typeof e!="string")throw"The public key is required. Visit https://dashboard.emailjs.com/admin/account";if(!t||typeof t!="string")throw"The service ID is required. Visit https://dashboard.emailjs.com/admin";if(!n||typeof n!="string")throw"The template ID is required. Visit https://dashboard.emailjs.com/admin/templates"},$R=e=>{if(e&&e.toString()!=="[object Object]")throw"The template params have to be the object. Visit https://www.emailjs.com/docs/sdk/send/"},Z5=e=>e.webdriver||!e.languages||e.languages.length===0,G5=()=>new Ha(451,"Unavailable For Headless Browser"),VR=(e,t)=>{if(!Array.isArray(e))throw"The BlockList list has to be an array";if(typeof t!="string")throw"The BlockList watchVariable has to be a string"},BR=e=>{var t;return!((t=e.list)!=null&&t.length)||!e.watchVariable},UR=(e,t)=>e instanceof FormData?e.get(t):e[t],K5=(e,t)=>{if(BR(e))return!1;VR(e.list,e.watchVariable);const n=UR(t,e.watchVariable);return typeof n!="string"?!1:e.list.includes(n)},Y5=()=>new Ha(403,"Forbidden"),HR=(e,t)=>{if(typeof e!="number"||e<0)throw"The LimitRate throttle has to be a positive number";if(t&&typeof t!="string")throw"The LimitRate ID has to be a non-empty string"},WR=async(e,t,n)=>{const r=Number(await n.get(e)||0);return t-Date.now()+r},Q5=async(e,t,n)=>{if(!t.throttle||!n)return!1;HR(t.throttle,t.id);const r=t.id||e;return await WR(r,t.throttle,n)>0?!0:(await n.set(r,Date.now().toString()),!1)},X5=()=>new Ha(429,"Too Many Requests"),ZR=async(e,t,n,r)=>{const o=P1(r),i=o.publicKey||kt.publicKey,s=o.blockHeadless||kt.blockHeadless,a=o.storageProvider||kt.storageProvider,l={...kt.blockList,...o.blockList},u={...kt.limitRate,...o.limitRate};return s&&Z5(navigator)?Promise.reject(G5()):(W5(i,e,t),$R(n),n&&K5(l,n)?Promise.reject(Y5()):await Q5(location.pathname,u,a)?Promise.reject(X5()):H5("/api/v1.0/email/send",JSON.stringify({lib_version:"4.4.1",user_id:i,service_id:e,template_id:t,template_params:n}),{"Content-type":"application/json"}))},GR=e=>{if(!e||e.nodeName!=="FORM")throw"The 3rd parameter is expected to be the HTML form element or the style selector of the form"},KR=e=>typeof e=="string"?document.querySelector(e):e,YR=async(e,t,n,r)=>{const o=P1(r),i=o.publicKey||kt.publicKey,s=o.blockHeadless||kt.blockHeadless,a=kt.storageProvider||o.storageProvider,l={...kt.blockList,...o.blockList},u={...kt.limitRate,...o.limitRate};if(s&&Z5(navigator))return Promise.reject(G5());const f=KR(n);W5(i,e,t),GR(f);const d=new FormData(f);return K5(l,d)?Promise.reject(Y5()):await Q5(location.pathname,u,a)?Promise.reject(X5()):(d.append("lib_version","4.4.1"),d.append("service_id",e),d.append("template_id",t),d.append("user_id",i),H5("/api/v1.0/email/send-form",d))},fm={init:zR,send:ZR,sendForm:YR,EmailJSResponseStatus:Ha};var Ne;(function(e){e.assertEqual=o=>o;function t(o){}e.assertIs=t;function n(o){throw new Error}e.assertNever=n,e.arrayToEnum=o=>{const i={};for(const s of o)i[s]=s;return i},e.getValidEnumValues=o=>{const i=e.objectKeys(o).filter(a=>typeof o[o[a]]!="number"),s={};for(const a of i)s[a]=o[a];return e.objectValues(s)},e.objectValues=o=>e.objectKeys(o).map(function(i){return o[i]}),e.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const i=[];for(const s in o)Object.prototype.hasOwnProperty.call(o,s)&&i.push(s);return i},e.find=(o,i)=>{for(const s of o)if(i(s))return s},e.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function r(o,i=" | "){return o.map(s=>typeof s=="string"?`'${s}'`:s).join(i)}e.joinValues=r,e.jsonStringifyReplacer=(o,i)=>typeof i=="bigint"?i.toString():i})(Ne||(Ne={}));var Bf;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(Bf||(Bf={}));const ne=Ne.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Fr=e=>{switch(typeof e){case"undefined":return ne.undefined;case"string":return ne.string;case"number":return isNaN(e)?ne.nan:ne.number;case"boolean":return ne.boolean;case"function":return ne.function;case"bigint":return ne.bigint;case"symbol":return ne.symbol;case"object":return Array.isArray(e)?ne.array:e===null?ne.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?ne.promise:typeof Map<"u"&&e instanceof Map?ne.map:typeof Set<"u"&&e instanceof Set?ne.set:typeof Date<"u"&&e instanceof Date?ne.date:ne.object;default:return ne.unknown}},B=Ne.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),QR=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class cn extends Error{constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const n=t||function(i){return i.message},r={_errors:[]},o=i=>{for(const s of i.issues)if(s.code==="invalid_union")s.unionErrors.map(o);else if(s.code==="invalid_return_type")o(s.returnTypeError);else if(s.code==="invalid_arguments")o(s.argumentsError);else if(s.path.length===0)r._errors.push(n(s));else{let a=r,l=0;for(;ln.message){const n={},r=[];for(const o of this.issues)o.path.length>0?(n[o.path[0]]=n[o.path[0]]||[],n[o.path[0]].push(t(o))):r.push(t(o));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}cn.create=e=>new cn(e);const Hi=(e,t)=>{let n;switch(e.code){case B.invalid_type:e.received===ne.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case B.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Ne.jsonStringifyReplacer)}`;break;case B.unrecognized_keys:n=`Unrecognized key(s) in object: ${Ne.joinValues(e.keys,", ")}`;break;case B.invalid_union:n="Invalid input";break;case B.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Ne.joinValues(e.options)}`;break;case B.invalid_enum_value:n=`Invalid enum value. Expected ${Ne.joinValues(e.options)}, received '${e.received}'`;break;case B.invalid_arguments:n="Invalid function arguments";break;case B.invalid_return_type:n="Invalid function return type";break;case B.invalid_date:n="Invalid date";break;case B.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Ne.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case B.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case B.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case B.custom:n="Invalid input";break;case B.invalid_intersection_types:n="Intersection results could not be merged";break;case B.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case B.not_finite:n="Number must be finite";break;default:n=t.defaultError,Ne.assertNever(e)}return{message:n}};let J5=Hi;function XR(e){J5=e}function Dc(){return J5}const Ac=e=>{const{data:t,path:n,errorMaps:r,issueData:o}=e,i=[...n,...o.path||[]],s={...o,path:i};if(o.message!==void 0)return{...o,path:i,message:o.message};let a="";const l=r.filter(u=>!!u).slice().reverse();for(const u of l)a=u(s,{data:t,defaultError:a}).message;return{...o,path:i,message:a}},JR=[];function ee(e,t){const n=Dc(),r=Ac({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===Hi?void 0:Hi].filter(o=>!!o)});e.common.issues.push(r)}class At{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const o of n){if(o.status==="aborted")return pe;o.status==="dirty"&&t.dirty(),r.push(o.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const o of n){const i=await o.key,s=await o.value;r.push({key:i,value:s})}return At.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const o of n){const{key:i,value:s}=o;if(i.status==="aborted"||s.status==="aborted")return pe;i.status==="dirty"&&t.dirty(),s.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof s.value<"u"||o.alwaysSet)&&(r[i.value]=s.value)}return{status:t.value,value:r}}}const pe=Object.freeze({status:"aborted"}),bi=e=>({status:"dirty",value:e}),Vt=e=>({status:"valid",value:e}),Uf=e=>e.status==="aborted",Hf=e=>e.status==="dirty",pa=e=>e.status==="valid",ma=e=>typeof Promise<"u"&&e instanceof Promise;function Oc(e,t,n,r){if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function q5(e,t,n,r,o){if(typeof t=="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,n),n}var le;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(le||(le={}));var ks,js;class qn{constructor(t,n,r,o){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const hm=(e,t)=>{if(pa(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new cn(e.common.issues);return this._error=n,this._error}}};function xe(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:o}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:o}:{errorMap:(s,a)=>{var l,u;const{message:f}=e;return s.code==="invalid_enum_value"?{message:f??a.defaultError}:typeof a.data>"u"?{message:(l=f??r)!==null&&l!==void 0?l:a.defaultError}:s.code!=="invalid_type"?{message:a.defaultError}:{message:(u=f??n)!==null&&u!==void 0?u:a.defaultError}},description:o}}class _e{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return Fr(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Fr(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new At,ctx:{common:t.parent.common,data:t.data,parsedType:Fr(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(ma(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){var r;const o={common:{issues:[],async:(r=n==null?void 0:n.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Fr(t)},i=this._parseSync({data:t,path:o.path,parent:o});return hm(o,i)}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Fr(t)},o=this._parse({data:t,path:r.path,parent:r}),i=await(ma(o)?o:Promise.resolve(o));return hm(r,i)}refine(t,n){const r=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,i)=>{const s=t(o),a=()=>i.addIssue({code:B.custom,...r(o)});return typeof Promise<"u"&&s instanceof Promise?s.then(l=>l?!0:(a(),!1)):s?!0:(a(),!1)})}refinement(t,n){return this._refinement((r,o)=>t(r)?!0:(o.addIssue(typeof n=="function"?n(r,o):n),!1))}_refinement(t){return new Fn({schema:this,typeName:fe.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return Xn.create(this,this._def)}nullable(){return so.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Dn.create(this,this._def)}promise(){return Zi.create(this,this._def)}or(t){return xa.create([this,t],this._def)}and(t){return wa.create(this,t,this._def)}transform(t){return new Fn({...xe(this._def),schema:this,typeName:fe.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new Ea({...xe(this._def),innerType:this,defaultValue:n,typeName:fe.ZodDefault})}brand(){return new D1({typeName:fe.ZodBranded,type:this,...xe(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new ka({...xe(this._def),innerType:this,catchValue:n,typeName:fe.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return Wa.create(this,t)}readonly(){return ja.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const qR=/^c[^\s-]{8,}$/i,eT=/^[0-9a-z]+$/,tT=/^[0-9A-HJKMNP-TV-Z]{26}$/,nT=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,rT=/^[a-z0-9_-]{21}$/i,oT=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,iT=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,sT="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Cd;const aT=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,lT=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,cT=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,e6="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",uT=new RegExp(`^${e6}$`);function t6(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function dT(e){return new RegExp(`^${t6(e)}$`)}function n6(e){let t=`${e6}T${t6(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function fT(e,t){return!!((t==="v4"||!t)&&aT.test(e)||(t==="v6"||!t)&&lT.test(e))}class Tn extends _e{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==ne.string){const i=this._getOrReturnCtx(t);return ee(i,{code:B.invalid_type,expected:ne.string,received:i.parsedType}),pe}const r=new At;let o;for(const i of this._def.checks)if(i.kind==="min")t.data.lengthi.value&&(o=this._getOrReturnCtx(t,o),ee(o,{code:B.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){const s=t.data.length>i.value,a=t.data.lengtht.test(o),{validation:n,code:B.invalid_string,...le.errToObj(r)})}_addCheck(t){return new Tn({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...le.errToObj(t)})}url(t){return this._addCheck({kind:"url",...le.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...le.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...le.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...le.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...le.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...le.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...le.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...le.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...le.errToObj(t)})}datetime(t){var n,r;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(n=t==null?void 0:t.offset)!==null&&n!==void 0?n:!1,local:(r=t==null?void 0:t.local)!==null&&r!==void 0?r:!1,...le.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...le.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...le.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...le.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...le.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...le.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...le.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...le.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...le.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...le.errToObj(n)})}nonempty(t){return this.min(1,le.errToObj(t))}trim(){return new Tn({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Tn({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Tn({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value{var t;return new Tn({checks:[],typeName:fe.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...xe(e)})};function hT(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r,i=parseInt(e.toFixed(o).replace(".","")),s=parseInt(t.toFixed(o).replace(".",""));return i%s/Math.pow(10,o)}class ro extends _e{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==ne.number){const i=this._getOrReturnCtx(t);return ee(i,{code:B.invalid_type,expected:ne.number,received:i.parsedType}),pe}let r;const o=new At;for(const i of this._def.checks)i.kind==="int"?Ne.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),ee(r,{code:B.invalid_type,expected:"integer",received:"float",message:i.message}),o.dirty()):i.kind==="min"?(i.inclusive?t.datai.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),ee(r,{code:B.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),o.dirty()):i.kind==="multipleOf"?hT(t.data,i.value)!==0&&(r=this._getOrReturnCtx(t,r),ee(r,{code:B.not_multiple_of,multipleOf:i.value,message:i.message}),o.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),ee(r,{code:B.not_finite,message:i.message}),o.dirty()):Ne.assertNever(i);return{status:o.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,le.toString(n))}gt(t,n){return this.setLimit("min",t,!1,le.toString(n))}lte(t,n){return this.setLimit("max",t,!0,le.toString(n))}lt(t,n){return this.setLimit("max",t,!1,le.toString(n))}setLimit(t,n,r,o){return new ro({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:le.toString(o)}]})}_addCheck(t){return new ro({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:le.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:le.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:le.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:le.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:le.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:le.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:le.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:le.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:le.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.valuet.kind==="int"||t.kind==="multipleOf"&&Ne.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.valuenew ro({checks:[],typeName:fe.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...xe(e)});class oo extends _e{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==ne.bigint){const i=this._getOrReturnCtx(t);return ee(i,{code:B.invalid_type,expected:ne.bigint,received:i.parsedType}),pe}let r;const o=new At;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.datai.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),ee(r,{code:B.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),o.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),ee(r,{code:B.not_multiple_of,multipleOf:i.value,message:i.message}),o.dirty()):Ne.assertNever(i);return{status:o.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,le.toString(n))}gt(t,n){return this.setLimit("min",t,!1,le.toString(n))}lte(t,n){return this.setLimit("max",t,!0,le.toString(n))}lt(t,n){return this.setLimit("max",t,!1,le.toString(n))}setLimit(t,n,r,o){return new oo({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:le.toString(o)}]})}_addCheck(t){return new oo({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:le.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:le.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:le.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:le.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:le.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value{var t;return new oo({checks:[],typeName:fe.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...xe(e)})};class ga extends _e{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==ne.boolean){const r=this._getOrReturnCtx(t);return ee(r,{code:B.invalid_type,expected:ne.boolean,received:r.parsedType}),pe}return Vt(t.data)}}ga.create=e=>new ga({typeName:fe.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...xe(e)});class Vo extends _e{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==ne.date){const i=this._getOrReturnCtx(t);return ee(i,{code:B.invalid_type,expected:ne.date,received:i.parsedType}),pe}if(isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return ee(i,{code:B.invalid_date}),pe}const r=new At;let o;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()i.value&&(o=this._getOrReturnCtx(t,o),ee(o,{code:B.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):Ne.assertNever(i);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Vo({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:le.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:le.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.valuenew Vo({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:fe.ZodDate,...xe(e)});class Lc extends _e{_parse(t){if(this._getType(t)!==ne.symbol){const r=this._getOrReturnCtx(t);return ee(r,{code:B.invalid_type,expected:ne.symbol,received:r.parsedType}),pe}return Vt(t.data)}}Lc.create=e=>new Lc({typeName:fe.ZodSymbol,...xe(e)});class va extends _e{_parse(t){if(this._getType(t)!==ne.undefined){const r=this._getOrReturnCtx(t);return ee(r,{code:B.invalid_type,expected:ne.undefined,received:r.parsedType}),pe}return Vt(t.data)}}va.create=e=>new va({typeName:fe.ZodUndefined,...xe(e)});class ya extends _e{_parse(t){if(this._getType(t)!==ne.null){const r=this._getOrReturnCtx(t);return ee(r,{code:B.invalid_type,expected:ne.null,received:r.parsedType}),pe}return Vt(t.data)}}ya.create=e=>new ya({typeName:fe.ZodNull,...xe(e)});class Wi extends _e{constructor(){super(...arguments),this._any=!0}_parse(t){return Vt(t.data)}}Wi.create=e=>new Wi({typeName:fe.ZodAny,...xe(e)});class Mo extends _e{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Vt(t.data)}}Mo.create=e=>new Mo({typeName:fe.ZodUnknown,...xe(e)});class wr extends _e{_parse(t){const n=this._getOrReturnCtx(t);return ee(n,{code:B.invalid_type,expected:ne.never,received:n.parsedType}),pe}}wr.create=e=>new wr({typeName:fe.ZodNever,...xe(e)});class Ic extends _e{_parse(t){if(this._getType(t)!==ne.undefined){const r=this._getOrReturnCtx(t);return ee(r,{code:B.invalid_type,expected:ne.void,received:r.parsedType}),pe}return Vt(t.data)}}Ic.create=e=>new Ic({typeName:fe.ZodVoid,...xe(e)});class Dn extends _e{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),o=this._def;if(n.parsedType!==ne.array)return ee(n,{code:B.invalid_type,expected:ne.array,received:n.parsedType}),pe;if(o.exactLength!==null){const s=n.data.length>o.exactLength.value,a=n.data.lengtho.maxLength.value&&(ee(n,{code:B.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((s,a)=>o.type._parseAsync(new qn(n,s,n.path,a)))).then(s=>At.mergeArray(r,s));const i=[...n.data].map((s,a)=>o.type._parseSync(new qn(n,s,n.path,a)));return At.mergeArray(r,i)}get element(){return this._def.type}min(t,n){return new Dn({...this._def,minLength:{value:t,message:le.toString(n)}})}max(t,n){return new Dn({...this._def,maxLength:{value:t,message:le.toString(n)}})}length(t,n){return new Dn({...this._def,exactLength:{value:t,message:le.toString(n)}})}nonempty(t){return this.min(1,t)}}Dn.create=(e,t)=>new Dn({type:e,minLength:null,maxLength:null,exactLength:null,typeName:fe.ZodArray,...xe(t)});function si(e){if(e instanceof qe){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Xn.create(si(r))}return new qe({...e._def,shape:()=>t})}else return e instanceof Dn?new Dn({...e._def,type:si(e.element)}):e instanceof Xn?Xn.create(si(e.unwrap())):e instanceof so?so.create(si(e.unwrap())):e instanceof er?er.create(e.items.map(t=>si(t))):e}class qe extends _e{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=Ne.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==ne.object){const u=this._getOrReturnCtx(t);return ee(u,{code:B.invalid_type,expected:ne.object,received:u.parsedType}),pe}const{status:r,ctx:o}=this._processInputParams(t),{shape:i,keys:s}=this._getCached(),a=[];if(!(this._def.catchall instanceof wr&&this._def.unknownKeys==="strip"))for(const u in o.data)s.includes(u)||a.push(u);const l=[];for(const u of s){const f=i[u],d=o.data[u];l.push({key:{status:"valid",value:u},value:f._parse(new qn(o,d,o.path,u)),alwaysSet:u in o.data})}if(this._def.catchall instanceof wr){const u=this._def.unknownKeys;if(u==="passthrough")for(const f of a)l.push({key:{status:"valid",value:f},value:{status:"valid",value:o.data[f]}});else if(u==="strict")a.length>0&&(ee(o,{code:B.unrecognized_keys,keys:a}),r.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const u=this._def.catchall;for(const f of a){const d=o.data[f];l.push({key:{status:"valid",value:f},value:u._parse(new qn(o,d,o.path,f)),alwaysSet:f in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const u=[];for(const f of l){const d=await f.key,h=await f.value;u.push({key:d,value:h,alwaysSet:f.alwaysSet})}return u}).then(u=>At.mergeObjectSync(r,u)):At.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(t){return le.errToObj,new qe({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var o,i,s,a;const l=(s=(i=(o=this._def).errorMap)===null||i===void 0?void 0:i.call(o,n,r).message)!==null&&s!==void 0?s:r.defaultError;return n.code==="unrecognized_keys"?{message:(a=le.errToObj(t).message)!==null&&a!==void 0?a:l}:{message:l}}}:{}})}strip(){return new qe({...this._def,unknownKeys:"strip"})}passthrough(){return new qe({...this._def,unknownKeys:"passthrough"})}extend(t){return new qe({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new qe({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:fe.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new qe({...this._def,catchall:t})}pick(t){const n={};return Ne.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new qe({...this._def,shape:()=>n})}omit(t){const n={};return Ne.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new qe({...this._def,shape:()=>n})}deepPartial(){return si(this)}partial(t){const n={};return Ne.objectKeys(this.shape).forEach(r=>{const o=this.shape[r];t&&!t[r]?n[r]=o:n[r]=o.optional()}),new qe({...this._def,shape:()=>n})}required(t){const n={};return Ne.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof Xn;)i=i._def.innerType;n[r]=i}}),new qe({...this._def,shape:()=>n})}keyof(){return r6(Ne.objectKeys(this.shape))}}qe.create=(e,t)=>new qe({shape:()=>e,unknownKeys:"strip",catchall:wr.create(),typeName:fe.ZodObject,...xe(t)});qe.strictCreate=(e,t)=>new qe({shape:()=>e,unknownKeys:"strict",catchall:wr.create(),typeName:fe.ZodObject,...xe(t)});qe.lazycreate=(e,t)=>new qe({shape:e,unknownKeys:"strip",catchall:wr.create(),typeName:fe.ZodObject,...xe(t)});class xa extends _e{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function o(i){for(const a of i)if(a.result.status==="valid")return a.result;for(const a of i)if(a.result.status==="dirty")return n.common.issues.push(...a.ctx.common.issues),a.result;const s=i.map(a=>new cn(a.ctx.common.issues));return ee(n,{code:B.invalid_union,unionErrors:s}),pe}if(n.common.async)return Promise.all(r.map(async i=>{const s={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:s}),ctx:s}})).then(o);{let i;const s=[];for(const l of r){const u={...n,common:{...n.common,issues:[]},parent:null},f=l._parseSync({data:n.data,path:n.path,parent:u});if(f.status==="valid")return f;f.status==="dirty"&&!i&&(i={result:f,ctx:u}),u.common.issues.length&&s.push(u.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const a=s.map(l=>new cn(l));return ee(n,{code:B.invalid_union,unionErrors:a}),pe}}get options(){return this._def.options}}xa.create=(e,t)=>new xa({options:e,typeName:fe.ZodUnion,...xe(t)});const ar=e=>e instanceof Sa?ar(e.schema):e instanceof Fn?ar(e.innerType()):e instanceof Ca?[e.value]:e instanceof io?e.options:e instanceof _a?Ne.objectValues(e.enum):e instanceof Ea?ar(e._def.innerType):e instanceof va?[void 0]:e instanceof ya?[null]:e instanceof Xn?[void 0,...ar(e.unwrap())]:e instanceof so?[null,...ar(e.unwrap())]:e instanceof D1||e instanceof ja?ar(e.unwrap()):e instanceof ka?ar(e._def.innerType):[];class Nu extends _e{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ne.object)return ee(n,{code:B.invalid_type,expected:ne.object,received:n.parsedType}),pe;const r=this.discriminator,o=n.data[r],i=this.optionsMap.get(o);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(ee(n,{code:B.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),pe)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){const o=new Map;for(const i of n){const s=ar(i.shape[t]);if(!s.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const a of s){if(o.has(a))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(a)}`);o.set(a,i)}}return new Nu({typeName:fe.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:o,...xe(r)})}}function Wf(e,t){const n=Fr(e),r=Fr(t);if(e===t)return{valid:!0,data:e};if(n===ne.object&&r===ne.object){const o=Ne.objectKeys(t),i=Ne.objectKeys(e).filter(a=>o.indexOf(a)!==-1),s={...e,...t};for(const a of i){const l=Wf(e[a],t[a]);if(!l.valid)return{valid:!1};s[a]=l.data}return{valid:!0,data:s}}else if(n===ne.array&&r===ne.array){if(e.length!==t.length)return{valid:!1};const o=[];for(let i=0;i{if(Uf(i)||Uf(s))return pe;const a=Wf(i.value,s.value);return a.valid?((Hf(i)||Hf(s))&&n.dirty(),{status:n.value,value:a.data}):(ee(r,{code:B.invalid_intersection_types}),pe)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,s])=>o(i,s)):o(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}wa.create=(e,t,n)=>new wa({left:e,right:t,typeName:fe.ZodIntersection,...xe(n)});class er extends _e{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ne.array)return ee(r,{code:B.invalid_type,expected:ne.array,received:r.parsedType}),pe;if(r.data.lengththis._def.items.length&&(ee(r,{code:B.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((s,a)=>{const l=this._def.items[a]||this._def.rest;return l?l._parse(new qn(r,s,r.path,a)):null}).filter(s=>!!s);return r.common.async?Promise.all(i).then(s=>At.mergeArray(n,s)):At.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new er({...this._def,rest:t})}}er.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new er({items:e,typeName:fe.ZodTuple,rest:null,...xe(t)})};class ba extends _e{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ne.object)return ee(r,{code:B.invalid_type,expected:ne.object,received:r.parsedType}),pe;const o=[],i=this._def.keyType,s=this._def.valueType;for(const a in r.data)o.push({key:i._parse(new qn(r,a,r.path,a)),value:s._parse(new qn(r,r.data[a],r.path,a)),alwaysSet:a in r.data});return r.common.async?At.mergeObjectAsync(n,o):At.mergeObjectSync(n,o)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof _e?new ba({keyType:t,valueType:n,typeName:fe.ZodRecord,...xe(r)}):new ba({keyType:Tn.create(),valueType:t,typeName:fe.ZodRecord,...xe(n)})}}class Fc extends _e{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ne.map)return ee(r,{code:B.invalid_type,expected:ne.map,received:r.parsedType}),pe;const o=this._def.keyType,i=this._def.valueType,s=[...r.data.entries()].map(([a,l],u)=>({key:o._parse(new qn(r,a,r.path,[u,"key"])),value:i._parse(new qn(r,l,r.path,[u,"value"]))}));if(r.common.async){const a=new Map;return Promise.resolve().then(async()=>{for(const l of s){const u=await l.key,f=await l.value;if(u.status==="aborted"||f.status==="aborted")return pe;(u.status==="dirty"||f.status==="dirty")&&n.dirty(),a.set(u.value,f.value)}return{status:n.value,value:a}})}else{const a=new Map;for(const l of s){const u=l.key,f=l.value;if(u.status==="aborted"||f.status==="aborted")return pe;(u.status==="dirty"||f.status==="dirty")&&n.dirty(),a.set(u.value,f.value)}return{status:n.value,value:a}}}}Fc.create=(e,t,n)=>new Fc({valueType:t,keyType:e,typeName:fe.ZodMap,...xe(n)});class Bo extends _e{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ne.set)return ee(r,{code:B.invalid_type,expected:ne.set,received:r.parsedType}),pe;const o=this._def;o.minSize!==null&&r.data.sizeo.maxSize.value&&(ee(r,{code:B.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const i=this._def.valueType;function s(l){const u=new Set;for(const f of l){if(f.status==="aborted")return pe;f.status==="dirty"&&n.dirty(),u.add(f.value)}return{status:n.value,value:u}}const a=[...r.data.values()].map((l,u)=>i._parse(new qn(r,l,r.path,u)));return r.common.async?Promise.all(a).then(l=>s(l)):s(a)}min(t,n){return new Bo({...this._def,minSize:{value:t,message:le.toString(n)}})}max(t,n){return new Bo({...this._def,maxSize:{value:t,message:le.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}Bo.create=(e,t)=>new Bo({valueType:e,minSize:null,maxSize:null,typeName:fe.ZodSet,...xe(t)});class Pi extends _e{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ne.function)return ee(n,{code:B.invalid_type,expected:ne.function,received:n.parsedType}),pe;function r(a,l){return Ac({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Dc(),Hi].filter(u=>!!u),issueData:{code:B.invalid_arguments,argumentsError:l}})}function o(a,l){return Ac({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Dc(),Hi].filter(u=>!!u),issueData:{code:B.invalid_return_type,returnTypeError:l}})}const i={errorMap:n.common.contextualErrorMap},s=n.data;if(this._def.returns instanceof Zi){const a=this;return Vt(async function(...l){const u=new cn([]),f=await a._def.args.parseAsync(l,i).catch(y=>{throw u.addIssue(r(l,y)),u}),d=await Reflect.apply(s,this,f);return await a._def.returns._def.type.parseAsync(d,i).catch(y=>{throw u.addIssue(o(d,y)),u})})}else{const a=this;return Vt(function(...l){const u=a._def.args.safeParse(l,i);if(!u.success)throw new cn([r(l,u.error)]);const f=Reflect.apply(s,this,u.data),d=a._def.returns.safeParse(f,i);if(!d.success)throw new cn([o(f,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new Pi({...this._def,args:er.create(t).rest(Mo.create())})}returns(t){return new Pi({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new Pi({args:t||er.create([]).rest(Mo.create()),returns:n||Mo.create(),typeName:fe.ZodFunction,...xe(r)})}}class Sa extends _e{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}Sa.create=(e,t)=>new Sa({getter:e,typeName:fe.ZodLazy,...xe(t)});class Ca extends _e{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return ee(n,{received:n.data,code:B.invalid_literal,expected:this._def.value}),pe}return{status:"valid",value:t.data}}get value(){return this._def.value}}Ca.create=(e,t)=>new Ca({value:e,typeName:fe.ZodLiteral,...xe(t)});function r6(e,t){return new io({values:e,typeName:fe.ZodEnum,...xe(t)})}class io extends _e{constructor(){super(...arguments),ks.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return ee(n,{expected:Ne.joinValues(r),received:n.parsedType,code:B.invalid_type}),pe}if(Oc(this,ks)||q5(this,ks,new Set(this._def.values)),!Oc(this,ks).has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return ee(n,{received:n.data,code:B.invalid_enum_value,options:r}),pe}return Vt(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return io.create(t,{...this._def,...n})}exclude(t,n=this._def){return io.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}ks=new WeakMap;io.create=r6;class _a extends _e{constructor(){super(...arguments),js.set(this,void 0)}_parse(t){const n=Ne.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==ne.string&&r.parsedType!==ne.number){const o=Ne.objectValues(n);return ee(r,{expected:Ne.joinValues(o),received:r.parsedType,code:B.invalid_type}),pe}if(Oc(this,js)||q5(this,js,new Set(Ne.getValidEnumValues(this._def.values))),!Oc(this,js).has(t.data)){const o=Ne.objectValues(n);return ee(r,{received:r.data,code:B.invalid_enum_value,options:o}),pe}return Vt(t.data)}get enum(){return this._def.values}}js=new WeakMap;_a.create=(e,t)=>new _a({values:e,typeName:fe.ZodNativeEnum,...xe(t)});class Zi extends _e{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ne.promise&&n.common.async===!1)return ee(n,{code:B.invalid_type,expected:ne.promise,received:n.parsedType}),pe;const r=n.parsedType===ne.promise?n.data:Promise.resolve(n.data);return Vt(r.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Zi.create=(e,t)=>new Zi({type:e,typeName:fe.ZodPromise,...xe(t)});class Fn extends _e{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===fe.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),o=this._def.effect||null,i={addIssue:s=>{ee(r,s),s.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),o.type==="preprocess"){const s=o.transform(r.data,i);if(r.common.async)return Promise.resolve(s).then(async a=>{if(n.value==="aborted")return pe;const l=await this._def.schema._parseAsync({data:a,path:r.path,parent:r});return l.status==="aborted"?pe:l.status==="dirty"||n.value==="dirty"?bi(l.value):l});{if(n.value==="aborted")return pe;const a=this._def.schema._parseSync({data:s,path:r.path,parent:r});return a.status==="aborted"?pe:a.status==="dirty"||n.value==="dirty"?bi(a.value):a}}if(o.type==="refinement"){const s=a=>{const l=o.refinement(a,i);if(r.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return a};if(r.common.async===!1){const a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?pe:(a.status==="dirty"&&n.dirty(),s(a.value),{status:n.value,value:a.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>a.status==="aborted"?pe:(a.status==="dirty"&&n.dirty(),s(a.value).then(()=>({status:n.value,value:a.value}))))}if(o.type==="transform")if(r.common.async===!1){const s=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!pa(s))return s;const a=o.transform(s.value,i);if(a instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:a}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(s=>pa(s)?Promise.resolve(o.transform(s.value,i)).then(a=>({status:n.value,value:a})):s);Ne.assertNever(o)}}Fn.create=(e,t,n)=>new Fn({schema:e,typeName:fe.ZodEffects,effect:t,...xe(n)});Fn.createWithPreprocess=(e,t,n)=>new Fn({schema:t,effect:{type:"preprocess",transform:e},typeName:fe.ZodEffects,...xe(n)});class Xn extends _e{_parse(t){return this._getType(t)===ne.undefined?Vt(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Xn.create=(e,t)=>new Xn({innerType:e,typeName:fe.ZodOptional,...xe(t)});class so extends _e{_parse(t){return this._getType(t)===ne.null?Vt(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}so.create=(e,t)=>new so({innerType:e,typeName:fe.ZodNullable,...xe(t)});class Ea extends _e{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===ne.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}Ea.create=(e,t)=>new Ea({innerType:e,typeName:fe.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...xe(t)});class ka extends _e{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return ma(o)?o.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new cn(r.common.issues)},input:r.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new cn(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}ka.create=(e,t)=>new ka({innerType:e,typeName:fe.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...xe(t)});class zc extends _e{_parse(t){if(this._getType(t)!==ne.nan){const r=this._getOrReturnCtx(t);return ee(r,{code:B.invalid_type,expected:ne.nan,received:r.parsedType}),pe}return{status:"valid",value:t.data}}}zc.create=e=>new zc({typeName:fe.ZodNaN,...xe(e)});const pT=Symbol("zod_brand");class D1 extends _e{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class Wa extends _e{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?pe:i.status==="dirty"?(n.dirty(),bi(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const o=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return o.status==="aborted"?pe:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:r.path,parent:r})}}static create(t,n){return new Wa({in:t,out:n,typeName:fe.ZodPipeline})}}class ja extends _e{_parse(t){const n=this._def.innerType._parse(t),r=o=>(pa(o)&&(o.value=Object.freeze(o.value)),o);return ma(n)?n.then(o=>r(o)):r(n)}unwrap(){return this._def.innerType}}ja.create=(e,t)=>new ja({innerType:e,typeName:fe.ZodReadonly,...xe(t)});function o6(e,t={},n){return e?Wi.create().superRefine((r,o)=>{var i,s;if(!e(r)){const a=typeof t=="function"?t(r):typeof t=="string"?{message:t}:t,l=(s=(i=a.fatal)!==null&&i!==void 0?i:n)!==null&&s!==void 0?s:!0,u=typeof a=="string"?{message:a}:a;o.addIssue({code:"custom",...u,fatal:l})}}):Wi.create()}const mT={object:qe.lazycreate};var fe;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(fe||(fe={}));const gT=(e,t={message:`Input not instance of ${e.name}`})=>o6(n=>n instanceof e,t),i6=Tn.create,s6=ro.create,vT=zc.create,yT=oo.create,a6=ga.create,xT=Vo.create,wT=Lc.create,bT=va.create,ST=ya.create,CT=Wi.create,_T=Mo.create,ET=wr.create,kT=Ic.create,jT=Dn.create,NT=qe.create,RT=qe.strictCreate,TT=xa.create,MT=Nu.create,PT=wa.create,DT=er.create,AT=ba.create,OT=Fc.create,LT=Bo.create,IT=Pi.create,FT=Sa.create,zT=Ca.create,$T=io.create,VT=_a.create,BT=Zi.create,pm=Fn.create,UT=Xn.create,HT=so.create,WT=Fn.createWithPreprocess,ZT=Wa.create,GT=()=>i6().optional(),KT=()=>s6().optional(),YT=()=>a6().optional(),QT={string:e=>Tn.create({...e,coerce:!0}),number:e=>ro.create({...e,coerce:!0}),boolean:e=>ga.create({...e,coerce:!0}),bigint:e=>oo.create({...e,coerce:!0}),date:e=>Vo.create({...e,coerce:!0})},XT=pe;var gs=Object.freeze({__proto__:null,defaultErrorMap:Hi,setErrorMap:XR,getErrorMap:Dc,makeIssue:Ac,EMPTY_PATH:JR,addIssueToContext:ee,ParseStatus:At,INVALID:pe,DIRTY:bi,OK:Vt,isAborted:Uf,isDirty:Hf,isValid:pa,isAsync:ma,get util(){return Ne},get objectUtil(){return Bf},ZodParsedType:ne,getParsedType:Fr,ZodType:_e,datetimeRegex:n6,ZodString:Tn,ZodNumber:ro,ZodBigInt:oo,ZodBoolean:ga,ZodDate:Vo,ZodSymbol:Lc,ZodUndefined:va,ZodNull:ya,ZodAny:Wi,ZodUnknown:Mo,ZodNever:wr,ZodVoid:Ic,ZodArray:Dn,ZodObject:qe,ZodUnion:xa,ZodDiscriminatedUnion:Nu,ZodIntersection:wa,ZodTuple:er,ZodRecord:ba,ZodMap:Fc,ZodSet:Bo,ZodFunction:Pi,ZodLazy:Sa,ZodLiteral:Ca,ZodEnum:io,ZodNativeEnum:_a,ZodPromise:Zi,ZodEffects:Fn,ZodTransformer:Fn,ZodOptional:Xn,ZodNullable:so,ZodDefault:Ea,ZodCatch:ka,ZodNaN:zc,BRAND:pT,ZodBranded:D1,ZodPipeline:Wa,ZodReadonly:ja,custom:o6,Schema:_e,ZodSchema:_e,late:mT,get ZodFirstPartyTypeKind(){return fe},coerce:QT,any:CT,array:jT,bigint:yT,boolean:a6,date:xT,discriminatedUnion:MT,effect:pm,enum:$T,function:IT,instanceof:gT,intersection:PT,lazy:FT,literal:zT,map:OT,nan:vT,nativeEnum:VT,never:ET,null:ST,nullable:HT,number:s6,object:NT,oboolean:YT,onumber:KT,optional:UT,ostring:GT,pipeline:ZT,preprocess:WT,promise:BT,record:AT,set:LT,strictObject:RT,string:i6,symbol:wT,transformer:pm,tuple:DT,undefined:bT,union:TT,unknown:_T,void:kT,NEVER:XT,ZodIssueCode:B,quotelessJson:QR,ZodError:cn}),JT="Label",l6=p.forwardRef((e,t)=>c.jsx(Qe.label,{...e,ref:t,onMouseDown:n=>{var o;n.target.closest("button, input, select, textarea")||((o=e.onMouseDown)==null||o.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));l6.displayName=JT;var c6=l6;const qT=au("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),u6=p.forwardRef(({className:e,...t},n)=>c.jsx(c6,{ref:n,className:ce(qT(),e),...t}));u6.displayName=c6.displayName;const eM=yR,d6=p.createContext({}),El=({...e})=>c.jsx(d6.Provider,{value:{name:e.name},children:c.jsx(SR,{...e})}),Ru=()=>{const e=p.useContext(d6),t=p.useContext(f6),{getFieldState:n,formState:r}=ju(),o=n(e.name,r);if(!e)throw new Error("useFormField should be used within ");const{id:i}=t;return{id:i,name:e.name,formItemId:`${i}-form-item`,formDescriptionId:`${i}-form-item-description`,formMessageId:`${i}-form-item-message`,...o}},f6=p.createContext({}),Ns=p.forwardRef(({className:e,...t},n)=>{const r=p.useId();return c.jsx(f6.Provider,{value:{id:r},children:c.jsx("div",{ref:n,className:ce("space-y-2",e),...t})})});Ns.displayName="FormItem";const Rs=p.forwardRef(({className:e,...t},n)=>{const{error:r,formItemId:o}=Ru();return c.jsx(u6,{ref:n,className:ce(r&&"text-destructive",e),htmlFor:o,...t})});Rs.displayName="FormLabel";const Ts=p.forwardRef(({...e},t)=>{const{error:n,formItemId:r,formDescriptionId:o,formMessageId:i}=Ru();return c.jsx(Jr,{ref:t,id:r,"aria-describedby":n?`${o} ${i}`:`${o}`,"aria-invalid":!!n,...e})});Ts.displayName="FormControl";const tM=p.forwardRef(({className:e,...t},n)=>{const{formDescriptionId:r}=Ru();return c.jsx("p",{ref:n,id:r,className:ce("text-sm text-muted-foreground",e),...t})});tM.displayName="FormDescription";const Ms=p.forwardRef(({className:e,children:t,...n},r)=>{const{error:o,formMessageId:i}=Ru(),s=o?String(o==null?void 0:o.message):t;return s?c.jsx("p",{ref:r,id:i,className:ce("text-sm font-medium text-destructive",e),...n,children:s}):null});Ms.displayName="FormMessage";const h6=p.forwardRef(({className:e,...t},n)=>c.jsx("textarea",{className:ce("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));h6.displayName="Textarea";const Hl=p.forwardRef(({className:e,type:t,...n},r)=>c.jsx("input",{type:t,className:ce("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...n}));Hl.displayName="Input";const nM=gs.object({email:gs.string().min(1,{message:"Email address is required"}).email({message:"Invalid email address"}),name:gs.string().min(1,{message:"Name is required"}),subject:gs.string().min(1,{message:"Subject is required"}),message:gs.string().max(500,{message:"Message must be 500 characters long"}).optional()}),rM=()=>{const e=DR({resolver:IR(nM),defaultValues:{email:"",name:"",subject:""}}),[t,n]=p.useTransition(),r=async o=>{await fm.send(em,tm,o,{publicKey:nm}),n(()=>{fm.send(em,tm,o,{publicKey:nm}).then(()=>wp.success("Message sent. Thanks for reaching out!")).catch(()=>wp.error("Something went wrong. Please try again later."))})};return c.jsx(eM,{...e,children:c.jsxs("form",{onSubmit:e.handleSubmit(r),className:`border border-primary/50 rounded-md w-full lg:w-3/5 bg-primary/10\r p-4 lg:p-6 transition-all duration-500 ease-in-out hover:shadow-2xl hover:shadow-primary/50 space-y-4`,children:[c.jsx(El,{control:e.control,name:"email",render:({field:o})=>c.jsxs(Ns,{children:[c.jsx(Rs,{htmlFor:"email",children:"Email Address"}),c.jsx(Ts,{children:c.jsx(Hl,{placeholder:"example@domain.com",...o,id:"email",autoComplete:"email"})}),c.jsx(Ms,{})]})}),c.jsx(El,{control:e.control,name:"name",render:({field:o})=>c.jsxs(Ns,{children:[c.jsx(Rs,{htmlFor:"name",children:"Name"}),c.jsx(Ts,{children:c.jsx(Hl,{placeholder:"John Doe",...o,id:"name",autoComplete:"name"})}),c.jsx(Ms,{})]})}),c.jsx(El,{control:e.control,name:"subject",render:({field:o})=>c.jsxs(Ns,{children:[c.jsx(Rs,{htmlFor:"subject",children:"Subject"}),c.jsx(Ts,{children:c.jsx(Hl,{placeholder:"Subject of Your Inquiry",...o,id:"subject",name:"subject"})}),c.jsx(Ms,{})]})}),c.jsx(El,{control:e.control,name:"message",render:({field:o})=>c.jsxs(Ns,{children:[c.jsx(Rs,{htmlFor:"message",children:"Message"}),c.jsx(Ts,{children:c.jsx(h6,{placeholder:"What's on your mind?",...o,id:"message",name:"message",className:"resize-none",rows:6})}),c.jsx(Ms,{})]})}),c.jsx("button",{type:"submit",disabled:t,className:`py-2 w-full bg-gradient-to-r from-[#310055] to-[#DC97FF]\r hover:brightness-125 transition-all rounded-md active:scale-95\r - hover:drop-shadow-purple-glow font-semibold text-white`,children:t?c.jsx(q9,{className:"w-4 h-4 animate-spin"}):"Submit"})]})})},nM=()=>c.jsxs("section",{className:ce("min-h-dvh pt-14 pb-6 flex-between flex-col gap-y-6 px-4 xl:px-0 overflow-hidden",po.rootSection),id:at.contact,children:[c.jsxs("div",{className:"leading-none flex-center flex-col",children:[c.jsx("h4",{className:"text-xs lg:text-sm font-bold text-center tracking-widest pt-6 lg:pb-2",children:"CONTACT"}),c.jsxs("p",{className:"text-xl lg:text-5xl text-center",children:["Connect, Collaborate, ",c.jsx("span",{className:"text-primary",children:"Create."})]}),c.jsx("p",{className:"text-xs lg:text-sm text-muted-foreground text-center lg:mt-2 w-3/4 lg:w-full",children:"Building meaningful connections to inspire innovation and growth."})]}),c.jsx(tM,{}),c.jsxs("div",{className:"flex-center w-full gap-x-4",children:[c.jsx(Vf,{}),c.jsx("p",{className:"whitespace-nowrap text-xs font-semibold text-muted-foreground",children:"or via"}),c.jsx(Vf,{})]}),c.jsx(hR,{})]}),rM=()=>c.jsx("span",{className:"absolute pointer-events-none top-0 w-full h-full bg-gradient-to-r from-background via-transparent to-background"}),mm=[{icon:vk,hexColor:N3,label:"HTML"},{icon:ik,hexColor:g3,label:"CSS"},{icon:yk,hexColor:R3,label:"Javascript"},{icon:Zk,hexColor:J3,label:"Typescript"},{icon:sk,hexColor:v3,label:"Dart"},{icon:Mk,hexColor:B3,label:"React JS"},{icon:_k,hexColor:O3,label:"Next JS"},{icon:uk,hexColor:b3,label:"Flutter"},{icon:Ok,hexColor:Z3,label:"Shadcnui"},{icon:Bk,hexColor:Y3,label:"TailwindCSS"},{icon:tk,hexColor:p3,label:"Bootstrap"},{icon:Dk,hexColor:H3,label:"Redux"},{icon:Jk,hexColor:oy,label:"Zod"},{icon:Pk,hexColor:U3,label:"React Hook Form"},{icon:nk,hexColor:m3,label:"Clerk"},{icon:Xk,hexColor:ry,label:"Vite"}],gm=[{icon:Ek,hexColor:L3,label:"Node JS"},{icon:ak,hexColor:y3,label:"Express JS"},{icon:mk,hexColor:k3,label:"Go"},{icon:bk,hexColor:P3,label:"MongoDB"},{icon:$k,hexColor:G3,label:"Supabase"},{icon:ck,hexColor:w3,label:"Firebase"},{icon:Rk,hexColor:$3,label:"Prisma ORM"},{icon:Sk,hexColor:D3,label:"MySQL"},{icon:jk,hexColor:F3,label:"PostgreSQL"},{icon:Vk,hexColor:K3,label:"Swagger"}],vm=[{icon:dk,hexColor:S3,label:"Git"},{icon:_3,hexColor:C3,label:"GitHub"},{icon:ek,hexColor:h3,label:"Bitbucket"},{icon:Kk,hexColor:ey,label:"Vercel"},{icon:Ck,hexColor:A3,label:"Netlify"},{icon:fk,hexColor:E3,label:"Github Pages"},{icon:Tk,hexColor:V3,label:"Python"},{icon:Uk,hexColor:Q3,label:"Tensorflow"},{icon:Gk,hexColor:q3,label:"Unity"},{icon:qE,hexColor:f3,label:"Android Studio"}],ym=[{icon:gk,hexColor:j3,label:"Google Colab"},{icon:xk,hexColor:T3,label:"Jupyter"},{icon:lk,hexColor:x3,label:"Figma"},{icon:Ak,hexColor:W3,label:"Rive"},{icon:JE,hexColor:d3,label:"Adobo Photoshop"},{icon:Hk,hexColor:X3,label:"Trello"},{icon:kk,hexColor:I3,label:"Notion"},{icon:Nk,hexColor:z3,label:"Postman"},{icon:Qk,hexColor:ny,label:"Visual Studio Code"},{icon:Yk,hexColor:ty,label:"Visual Studio"}],so=({Icon:e,hexColor:t})=>{const[n,r]=p.useState(!1);return c.jsx("li",{className:ce("rounded-full p-4 border",n?"border-foreground/15":"border-border"),onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:c.jsx(e,{color:n?t:void 0,className:ce("w-6 lg:w-12 h-6 lg:h-12",!n&&"opacity-50")})})},oM=()=>c.jsxs("div",{className:"flex gap-x-4 max-w-screen-lg overflow-hidden group",children:[c.jsx("ul",{className:"flex gap-x-4 animate-loop-scroll group-hover:paused",children:mm.map(e=>c.jsx(so,{Icon:e.icon,hexColor:e.hexColor},`${e.label}-1`))}),c.jsx("ul",{className:"flex gap-x-4 animate-loop-scroll group-hover:paused","aria-hidden":"true",children:mm.map(e=>c.jsx(so,{Icon:e.icon,hexColor:e.hexColor},`${e.label}-2`))})]}),iM=()=>c.jsxs("div",{className:"flex gap-x-4 max-w-screen-lg overflow-hidden group",children:[c.jsx("ul",{className:"flex gap-x-4 animate-loop-scroll direction-reverse group-hover:paused",children:gm.map(e=>c.jsx(so,{Icon:e.icon,hexColor:e.hexColor},`${e.label}-1`))}),c.jsx("ul",{className:"flex gap-x-4 animate-loop-scroll direction-reverse group-hover:paused","aria-hidden":"true",children:gm.map(e=>c.jsx(so,{Icon:e.icon,hexColor:e.hexColor},`${e.label}-2`))})]}),sM=()=>c.jsxs("div",{className:"flex gap-x-4 max-w-screen-lg overflow-hidden group",children:[c.jsx("ul",{className:"flex gap-x-4 animate-loop-scroll group-hover:paused",children:vm.map(e=>c.jsx(so,{Icon:e.icon,hexColor:e.hexColor},`${e.label}-1`))}),c.jsx("ul",{className:"flex gap-x-4 animate-loop-scroll group-hover:paused","aria-hidden":"true",children:vm.map(e=>c.jsx(so,{Icon:e.icon,hexColor:e.hexColor},`${e.label}-2`))})]}),aM=()=>c.jsxs("div",{className:"flex gap-x-4 max-w-screen-lg overflow-hidden group",children:[c.jsx("ul",{className:"flex gap-x-4 animate-loop-scroll direction-reverse group-hover:paused",children:ym.map(e=>c.jsx(so,{Icon:e.icon,hexColor:e.hexColor},`${e.label}-1`))}),c.jsx("ul",{className:"flex gap-x-4 animate-loop-scroll direction-reverse group-hover:paused","aria-hidden":"true",children:ym.map(e=>c.jsx(so,{Icon:e.icon,hexColor:e.hexColor},`${e.label}-2`))})]}),lM=()=>c.jsxs("section",{className:ce("min-h-dvh h-dvh pt-14 flex-between flex-col gap-y-6 overflow-x-hidden border-b",po.rootSection),id:at.skills,children:[c.jsxs("div",{className:"leading-none flex-center flex-col",children:[c.jsx("h4",{className:"text-xs lg:text-sm font-bold text-center tracking-widest pt-6 lg:pb-2",children:"SKILLS"}),c.jsxs("p",{className:"text-xl lg:text-5xl text-center",children:["Innovate, Implement, ",c.jsx("span",{className:"text-primary",children:"Repeat."})]}),c.jsx("p",{className:"text-xs lg:text-sm text-muted-foreground text-center lg:mt-2 w-3/4 lg:w-full",children:"Showcasing the skills I've developed and refined over the past 3 years."})]}),c.jsxs("div",{className:"w-full flex-center flex-col gap-y-4 relative",children:[c.jsx(oM,{}),c.jsx(iM,{}),c.jsx(sM,{}),c.jsx(aM,{}),c.jsx(rM,{})]}),c.jsxs("p",{className:"text-xs text-muted-foreground text-center max-w-screen-sm mx-auto w-4/5 lg:w-full lg:mt-6 pb-6",children:["Currently expanding my skill set by delving into"," ",c.jsx("span",{className:"text-foreground/80",children:"DevOps"})," practices, focusing on automation, CI/CD, and infrastructure management to enhance development and operational efficiency."]})]}),cM=()=>c.jsx("div",{className:"w-[424px] lg:w-[512px] h-[424px] lg:h-[512px] absolute pointer-events-none",children:c.jsxs("svg",{className:"BgAnimation__svg",viewBox:"0 0 602 602",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsxs("g",{opacity:"0.15",children:[c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M201.337 87.437C193.474 79.5738 180.725 79.5738 172.862 87.437L87.437 172.862C79.5739 180.725 79.5739 193.474 87.437 201.337L400.663 514.563C408.526 522.426 421.275 522.426 429.138 514.563L514.563 429.138C522.426 421.275 522.426 408.526 514.563 400.663L201.337 87.437ZM30.4869 115.912C-8.82897 155.228 -8.82897 218.972 30.4869 258.287L343.713 571.513C383.028 610.829 446.772 610.829 486.088 571.513L571.513 486.088C610.829 446.772 610.829 383.028 571.513 343.713L258.287 30.4869C218.972 -8.82896 155.228 -8.82896 115.912 30.4869L30.4869 115.912Z",stroke:"url(#paint0_radial)",id:"path_0"}),c.jsx("path",{d:"M514.563 201.337C522.426 193.474 522.426 180.725 514.563 172.862L429.138 87.437C421.275 79.5738 408.526 79.5739 400.663 87.437L358.098 130.002L301.148 73.0516L343.713 30.4869C383.028 -8.82896 446.772 -8.82896 486.088 30.4869L571.513 115.912C610.829 155.228 610.829 218.972 571.513 258.287L357.802 471.999L300.852 415.049L514.563 201.337Z",stroke:"url(#paint1_radial)",id:"path_1"}),c.jsx("path",{d:"M243.901 471.999L201.337 514.563C193.474 522.426 180.725 522.426 172.862 514.563L87.437 429.138C79.5739 421.275 79.5739 408.526 87.437 400.663L301.148 186.952L244.198 130.002L30.4869 343.713C-8.82897 383.028 -8.82897 446.772 30.4869 486.088L115.912 571.513C155.228 610.829 218.972 610.829 258.287 571.513L300.852 528.949L243.901 471.999Z",stroke:"url(#paint2_radial)",id:"path_2"})]}),c.jsx("ellipse",{cx:"295.027",cy:"193.118",transform:"translate(-295.027 -193.118)",rx:"1.07306",ry:"1.07433",fill:"#945DD6",children:c.jsx("animateMotion",{dur:"10s",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_2"})})}),c.jsx("path",{d:"M294.685 193.474L268.932 219.258",transform:"translate(-294.685 -193.474) rotate(45 294.685 193.474)",stroke:"url(#paint3_linear)",children:c.jsx("animateMotion",{dur:"10s",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_2"})})}),c.jsx("ellipse",{cx:"295.027",cy:"193.118",transform:"translate(-295.027 -193.118)",rx:"1.07306",ry:"1.07433",fill:"#46737",children:c.jsx("animateMotion",{dur:"5s",begin:"1",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_2"})})}),c.jsx("path",{d:"M294.685 193.474L268.932 219.258",transform:"translate(-294.685 -193.474) rotate(45 294.685 193.474)",stroke:"url(#paint7_linear)",children:c.jsx("animateMotion",{dur:"5s",begin:"1",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_2"})})}),c.jsx("ellipse",{cx:"476.525",cy:"363.313",rx:"1.07433",ry:"1.07306",transform:"translate(-476.525 -363.313) rotate(90 476.525 363.313)",fill:"#945DD6",children:c.jsx("animateMotion",{dur:"10s",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_0"})})}),c.jsx("path",{d:"M476.171 362.952L450.417 337.168",transform:"translate(-476.525 -363.313) rotate(-45 476.171 362.952)",stroke:"url(#paint4_linear)",children:c.jsx("animateMotion",{dur:"10s",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_0"})})}),c.jsx("ellipse",{cx:"382.164",cy:"155.029",rx:"1.07433",ry:"1.07306",transform:"translate(-382.164 -155.029) rotate(90 382.164 155.029)",fill:"#F46737",children:c.jsx("animateMotion",{dur:"10s",begin:"1",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_0"})})}),c.jsx("path",{d:"M381.81 154.669L356.057 128.885",transform:"translate(-381.81 -154.669) rotate(-45 381.81 154.669)",stroke:"url(#paint5_linear)",children:c.jsx("animateMotion",{dur:"10s",begin:"1",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_0"})})}),c.jsx("ellipse",{cx:"333.324",cy:"382.691",rx:"1.07306",ry:"1.07433",transform:"translate(-333.324 -382.691) rotate(-180 333.324 382.691)",fill:"#F46737",children:c.jsx("animateMotion",{dur:"5s",begin:"0",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_1"})})}),c.jsx("path",{d:"M333.667 382.335L359.42 356.551",transform:"scale(-1 1) translate(-333.667 -382.335) rotate(45 333.667 382.335)",stroke:"url(#paint6_linear)",children:c.jsx("animateMotion",{dur:"5s",begin:"0",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_1"})})}),c.jsx("ellipse",{cx:"165.524",cy:"93.9596",rx:"1.07306",ry:"1.07433",transform:"translate(-165.524 -93.9596)",fill:"#F46737",children:c.jsx("animateMotion",{dur:"10s",begin:"3",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_0"})})}),c.jsx("path",{d:"M165.182 94.3159L139.429 120.1",transform:"translate(-165.182 -94.3159) rotate(45 165.182 94.3159)",stroke:"url(#paint7_linear)",children:c.jsx("animateMotion",{dur:"10s",begin:"3",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_0"})})}),c.jsx("ellipse",{cx:"476.525",cy:"363.313",rx:"1.07433",ry:"1.07306",transform:"translate(-476.525 -363.313) rotate(90 476.525 363.313)",fill:"#13ADC7",children:c.jsx("animateMotion",{dur:"12s",begin:"4",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_0"})})}),c.jsx("path",{d:"M476.171 362.952L450.417 337.168",transform:"translate(-476.525 -363.313) rotate(-45 476.171 362.952)",stroke:"url(#paint11_linear)",children:c.jsx("animateMotion",{dur:"12s",begin:"4",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_0"})})}),c.jsxs("defs",{children:[c.jsxs("radialGradient",{id:"paint0_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(301 301) rotate(90) scale(300)",children:[c.jsx("stop",{offset:"0.333333",stopColor:"#FBFBFB"}),c.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),c.jsxs("radialGradient",{id:"paint1_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(301 301) rotate(90) scale(300)",children:[c.jsx("stop",{offset:"0.333333",stopColor:"#FBFBFB"}),c.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),c.jsxs("radialGradient",{id:"paint2_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(301 301) rotate(90) scale(300)",children:[c.jsx("stop",{offset:"0.333333",stopColor:"#FBFBFB"}),c.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint3_linear",x1:"295.043",y1:"193.116",x2:"269.975",y2:"218.154",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#945DD6"}),c.jsx("stop",{offset:"1",stopColor:"#945DD6",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint4_linear",x1:"476.529",y1:"363.31",x2:"451.461",y2:"338.272",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#945DD6"}),c.jsx("stop",{offset:"1",stopColor:"#945DD6",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint5_linear",x1:"382.168",y1:"155.027",x2:"357.1",y2:"129.989",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#F46737"}),c.jsx("stop",{offset:"1",stopColor:"#F46737",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint6_linear",x1:"333.309",y1:"382.693",x2:"358.376",y2:"357.655",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#F46737"}),c.jsx("stop",{offset:"1",stopColor:"#F46737",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint7_linear",x1:"165.54",y1:"93.9578",x2:"140.472",y2:"118.996",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#F46737"}),c.jsx("stop",{offset:"1",stopColor:"#F46737",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint8_linear",x1:"414.367",y1:"301.156",x2:"439.435",y2:"276.118",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#13ADC7"}),c.jsx("stop",{offset:"1",stopColor:"#13ADC7",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint9_linear",x1:"515.943",y1:"288.238",x2:"541.339",y2:"291.454",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#13ADC7"}),c.jsx("stop",{offset:"1",stopColor:"#13ADC7",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint10_linear",x1:"117.001",y1:"230.619",x2:"117.36",y2:"258.193",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#945DD6"}),c.jsx("stop",{offset:"1",stopColor:"#945DD6",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint11_linear",x1:"476.529",y1:"363.31",x2:"451.461",y2:"338.272",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#13ADC7"}),c.jsx("stop",{offset:"1",stopColor:"#13ADC7",stopOpacity:"0"})]})]})]})}),uM=()=>{const[e,t]=p.useState(!1);return c.jsxs("div",{className:"relative rounded-full w-[256px] lg:min-w-[364px] h-[256px] lg:min-h-[364px] cursor-pointer flex-center",onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1),style:{perspective:"1000px"},children:[c.jsx(cM,{}),c.jsxs("div",{className:"absolute w-full h-full transition-transform duration-500 ease-in-out border lg:border-4 rounded-full border-secondary",style:{transformStyle:"preserve-3d",transform:`rotateY(${e?180:0}deg)`},children:[c.jsx("div",{className:"absolute w-full h-full flex-center rounded-full",style:{backfaceVisibility:"hidden"},children:c.jsx(jc,{src:Oj,alt:"Me",hash:kN,className:"w-full h-full object-cover rounded-full"})}),c.jsx("div",{className:"absolute w-full h-full flex-center rounded-full",style:{backfaceVisibility:"hidden",transform:"rotateY(180deg)"},children:c.jsx(jc,{src:Ty,alt:"Fingertips",hash:EN,className:"w-full h-full object-cover rounded-full"})})]})]})},dM=()=>c.jsx(Pt,{to:"https://drive.google.com/file/d/1ywkfqZul3nNBCcz4u2HPbgM7o5GLs0Sr/view?usp=sharing",target:"_blank",children:c.jsx("button",{className:`py-4 w-[256px] bg-gradient-to-r from-[#310055] to-[#DC97FF]\r + hover:drop-shadow-purple-glow font-semibold text-white`,children:t?c.jsx(q9,{className:"w-4 h-4 animate-spin"}):"Submit"})]})})},oM=()=>c.jsxs("section",{className:ce("min-h-dvh pt-14 pb-6 flex-between flex-col gap-y-6 px-4 xl:px-0 overflow-hidden",mo.rootSection),id:at.contact,children:[c.jsxs("div",{className:"leading-none flex-center flex-col",children:[c.jsx("h4",{className:"text-xs lg:text-sm font-bold text-center tracking-widest pt-6 lg:pb-2",children:"CONTACT"}),c.jsxs("p",{className:"text-xl lg:text-5xl text-center",children:["Connect, Collaborate, ",c.jsx("span",{className:"text-primary",children:"Create."})]}),c.jsx("p",{className:"text-xs lg:text-sm text-muted-foreground text-center lg:mt-2 w-3/4 lg:w-full",children:"Building meaningful connections to inspire innovation and growth."})]}),c.jsx(rM,{}),c.jsxs("div",{className:"flex-center w-full gap-x-4",children:[c.jsx(Vf,{}),c.jsx("p",{className:"whitespace-nowrap text-xs font-semibold text-muted-foreground",children:"or via"}),c.jsx(Vf,{})]}),c.jsx(mR,{})]}),iM=()=>c.jsx("span",{className:"absolute pointer-events-none top-0 w-full h-full bg-gradient-to-r from-background via-transparent to-background"}),mm=[{icon:yk,hexColor:N3,label:"HTML"},{icon:sk,hexColor:g3,label:"CSS"},{icon:xk,hexColor:R3,label:"Javascript"},{icon:Gk,hexColor:J3,label:"Typescript"},{icon:ak,hexColor:v3,label:"Dart"},{icon:Pk,hexColor:B3,label:"React JS"},{icon:Ek,hexColor:O3,label:"Next JS"},{icon:dk,hexColor:b3,label:"Flutter"},{icon:Lk,hexColor:Z3,label:"Shadcnui"},{icon:Uk,hexColor:Y3,label:"TailwindCSS"},{icon:nk,hexColor:p3,label:"Bootstrap"},{icon:Ak,hexColor:H3,label:"Redux"},{icon:qk,hexColor:oy,label:"Zod"},{icon:Dk,hexColor:U3,label:"React Hook Form"},{icon:rk,hexColor:m3,label:"Clerk"},{icon:Jk,hexColor:ry,label:"Vite"}],gm=[{icon:kk,hexColor:L3,label:"Node JS"},{icon:lk,hexColor:y3,label:"Express JS"},{icon:gk,hexColor:k3,label:"Go"},{icon:Sk,hexColor:P3,label:"MongoDB"},{icon:Vk,hexColor:G3,label:"Supabase"},{icon:uk,hexColor:w3,label:"Firebase"},{icon:Tk,hexColor:$3,label:"Prisma ORM"},{icon:Ck,hexColor:D3,label:"MySQL"},{icon:Nk,hexColor:F3,label:"PostgreSQL"},{icon:Bk,hexColor:K3,label:"Swagger"}],vm=[{icon:fk,hexColor:S3,label:"Git"},{icon:_3,hexColor:C3,label:"GitHub"},{icon:tk,hexColor:h3,label:"Bitbucket"},{icon:Yk,hexColor:ey,label:"Vercel"},{icon:_k,hexColor:A3,label:"Netlify"},{icon:hk,hexColor:E3,label:"Github Pages"},{icon:Mk,hexColor:V3,label:"Python"},{icon:Hk,hexColor:Q3,label:"Tensorflow"},{icon:Kk,hexColor:q3,label:"Unity"},{icon:ek,hexColor:f3,label:"Android Studio"}],ym=[{icon:vk,hexColor:j3,label:"Google Colab"},{icon:wk,hexColor:T3,label:"Jupyter"},{icon:ck,hexColor:x3,label:"Figma"},{icon:Ok,hexColor:W3,label:"Rive"},{icon:qE,hexColor:d3,label:"Adobo Photoshop"},{icon:Wk,hexColor:X3,label:"Trello"},{icon:jk,hexColor:I3,label:"Notion"},{icon:Rk,hexColor:z3,label:"Postman"},{icon:Xk,hexColor:ny,label:"Visual Studio Code"},{icon:Qk,hexColor:ty,label:"Visual Studio"}],ao=({Icon:e,hexColor:t})=>{const[n,r]=p.useState(!1);return c.jsx("li",{className:ce("rounded-full p-4 border",n?"border-foreground/15":"border-border"),onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:c.jsx(e,{color:n?t:void 0,className:ce("w-6 lg:w-12 h-6 lg:h-12",!n&&"opacity-50")})})},sM=()=>c.jsxs("div",{className:"flex gap-x-4 max-w-screen-lg overflow-hidden group",children:[c.jsx("ul",{className:"flex gap-x-4 animate-loop-scroll group-hover:paused",children:mm.map(e=>c.jsx(ao,{Icon:e.icon,hexColor:e.hexColor},`${e.label}-1`))}),c.jsx("ul",{className:"flex gap-x-4 animate-loop-scroll group-hover:paused","aria-hidden":"true",children:mm.map(e=>c.jsx(ao,{Icon:e.icon,hexColor:e.hexColor},`${e.label}-2`))})]}),aM=()=>c.jsxs("div",{className:"flex gap-x-4 max-w-screen-lg overflow-hidden group",children:[c.jsx("ul",{className:"flex gap-x-4 animate-loop-scroll direction-reverse group-hover:paused",children:gm.map(e=>c.jsx(ao,{Icon:e.icon,hexColor:e.hexColor},`${e.label}-1`))}),c.jsx("ul",{className:"flex gap-x-4 animate-loop-scroll direction-reverse group-hover:paused","aria-hidden":"true",children:gm.map(e=>c.jsx(ao,{Icon:e.icon,hexColor:e.hexColor},`${e.label}-2`))})]}),lM=()=>c.jsxs("div",{className:"flex gap-x-4 max-w-screen-lg overflow-hidden group",children:[c.jsx("ul",{className:"flex gap-x-4 animate-loop-scroll group-hover:paused",children:vm.map(e=>c.jsx(ao,{Icon:e.icon,hexColor:e.hexColor},`${e.label}-1`))}),c.jsx("ul",{className:"flex gap-x-4 animate-loop-scroll group-hover:paused","aria-hidden":"true",children:vm.map(e=>c.jsx(ao,{Icon:e.icon,hexColor:e.hexColor},`${e.label}-2`))})]}),cM=()=>c.jsxs("div",{className:"flex gap-x-4 max-w-screen-lg overflow-hidden group",children:[c.jsx("ul",{className:"flex gap-x-4 animate-loop-scroll direction-reverse group-hover:paused",children:ym.map(e=>c.jsx(ao,{Icon:e.icon,hexColor:e.hexColor},`${e.label}-1`))}),c.jsx("ul",{className:"flex gap-x-4 animate-loop-scroll direction-reverse group-hover:paused","aria-hidden":"true",children:ym.map(e=>c.jsx(ao,{Icon:e.icon,hexColor:e.hexColor},`${e.label}-2`))})]}),uM=()=>c.jsxs("section",{className:ce("min-h-dvh h-dvh pt-14 flex-between flex-col gap-y-6 overflow-x-hidden border-b",mo.rootSection),id:at.skills,children:[c.jsxs("div",{className:"leading-none flex-center flex-col",children:[c.jsx("h4",{className:"text-xs lg:text-sm font-bold text-center tracking-widest pt-6 lg:pb-2",children:"SKILLS"}),c.jsxs("p",{className:"text-xl lg:text-5xl text-center",children:["Innovate, Implement, ",c.jsx("span",{className:"text-primary",children:"Repeat."})]}),c.jsx("p",{className:"text-xs lg:text-sm text-muted-foreground text-center lg:mt-2 w-3/4 lg:w-full",children:"Showcasing the skills I've developed and refined over the past 3 years."})]}),c.jsxs("div",{className:"w-full flex-center flex-col gap-y-4 relative",children:[c.jsx(sM,{}),c.jsx(aM,{}),c.jsx(lM,{}),c.jsx(cM,{}),c.jsx(iM,{})]}),c.jsxs("p",{className:"text-xs text-muted-foreground text-center max-w-screen-sm mx-auto w-4/5 lg:w-full lg:mt-6 pb-6",children:["Currently expanding my skill set by delving into"," ",c.jsx("span",{className:"text-foreground/80",children:"DevOps"})," practices, focusing on automation, CI/CD, and infrastructure management to enhance development and operational efficiency."]})]}),dM=()=>c.jsx("div",{className:"w-[424px] lg:w-[512px] h-[424px] lg:h-[512px] absolute pointer-events-none",children:c.jsxs("svg",{className:"BgAnimation__svg",viewBox:"0 0 602 602",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsxs("g",{opacity:"0.15",children:[c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M201.337 87.437C193.474 79.5738 180.725 79.5738 172.862 87.437L87.437 172.862C79.5739 180.725 79.5739 193.474 87.437 201.337L400.663 514.563C408.526 522.426 421.275 522.426 429.138 514.563L514.563 429.138C522.426 421.275 522.426 408.526 514.563 400.663L201.337 87.437ZM30.4869 115.912C-8.82897 155.228 -8.82897 218.972 30.4869 258.287L343.713 571.513C383.028 610.829 446.772 610.829 486.088 571.513L571.513 486.088C610.829 446.772 610.829 383.028 571.513 343.713L258.287 30.4869C218.972 -8.82896 155.228 -8.82896 115.912 30.4869L30.4869 115.912Z",stroke:"url(#paint0_radial)",id:"path_0"}),c.jsx("path",{d:"M514.563 201.337C522.426 193.474 522.426 180.725 514.563 172.862L429.138 87.437C421.275 79.5738 408.526 79.5739 400.663 87.437L358.098 130.002L301.148 73.0516L343.713 30.4869C383.028 -8.82896 446.772 -8.82896 486.088 30.4869L571.513 115.912C610.829 155.228 610.829 218.972 571.513 258.287L357.802 471.999L300.852 415.049L514.563 201.337Z",stroke:"url(#paint1_radial)",id:"path_1"}),c.jsx("path",{d:"M243.901 471.999L201.337 514.563C193.474 522.426 180.725 522.426 172.862 514.563L87.437 429.138C79.5739 421.275 79.5739 408.526 87.437 400.663L301.148 186.952L244.198 130.002L30.4869 343.713C-8.82897 383.028 -8.82897 446.772 30.4869 486.088L115.912 571.513C155.228 610.829 218.972 610.829 258.287 571.513L300.852 528.949L243.901 471.999Z",stroke:"url(#paint2_radial)",id:"path_2"})]}),c.jsx("ellipse",{cx:"295.027",cy:"193.118",transform:"translate(-295.027 -193.118)",rx:"1.07306",ry:"1.07433",fill:"#945DD6",children:c.jsx("animateMotion",{dur:"10s",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_2"})})}),c.jsx("path",{d:"M294.685 193.474L268.932 219.258",transform:"translate(-294.685 -193.474) rotate(45 294.685 193.474)",stroke:"url(#paint3_linear)",children:c.jsx("animateMotion",{dur:"10s",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_2"})})}),c.jsx("ellipse",{cx:"295.027",cy:"193.118",transform:"translate(-295.027 -193.118)",rx:"1.07306",ry:"1.07433",fill:"#46737",children:c.jsx("animateMotion",{dur:"5s",begin:"1",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_2"})})}),c.jsx("path",{d:"M294.685 193.474L268.932 219.258",transform:"translate(-294.685 -193.474) rotate(45 294.685 193.474)",stroke:"url(#paint7_linear)",children:c.jsx("animateMotion",{dur:"5s",begin:"1",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_2"})})}),c.jsx("ellipse",{cx:"476.525",cy:"363.313",rx:"1.07433",ry:"1.07306",transform:"translate(-476.525 -363.313) rotate(90 476.525 363.313)",fill:"#945DD6",children:c.jsx("animateMotion",{dur:"10s",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_0"})})}),c.jsx("path",{d:"M476.171 362.952L450.417 337.168",transform:"translate(-476.525 -363.313) rotate(-45 476.171 362.952)",stroke:"url(#paint4_linear)",children:c.jsx("animateMotion",{dur:"10s",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_0"})})}),c.jsx("ellipse",{cx:"382.164",cy:"155.029",rx:"1.07433",ry:"1.07306",transform:"translate(-382.164 -155.029) rotate(90 382.164 155.029)",fill:"#F46737",children:c.jsx("animateMotion",{dur:"10s",begin:"1",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_0"})})}),c.jsx("path",{d:"M381.81 154.669L356.057 128.885",transform:"translate(-381.81 -154.669) rotate(-45 381.81 154.669)",stroke:"url(#paint5_linear)",children:c.jsx("animateMotion",{dur:"10s",begin:"1",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_0"})})}),c.jsx("ellipse",{cx:"333.324",cy:"382.691",rx:"1.07306",ry:"1.07433",transform:"translate(-333.324 -382.691) rotate(-180 333.324 382.691)",fill:"#F46737",children:c.jsx("animateMotion",{dur:"5s",begin:"0",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_1"})})}),c.jsx("path",{d:"M333.667 382.335L359.42 356.551",transform:"scale(-1 1) translate(-333.667 -382.335) rotate(45 333.667 382.335)",stroke:"url(#paint6_linear)",children:c.jsx("animateMotion",{dur:"5s",begin:"0",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_1"})})}),c.jsx("ellipse",{cx:"165.524",cy:"93.9596",rx:"1.07306",ry:"1.07433",transform:"translate(-165.524 -93.9596)",fill:"#F46737",children:c.jsx("animateMotion",{dur:"10s",begin:"3",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_0"})})}),c.jsx("path",{d:"M165.182 94.3159L139.429 120.1",transform:"translate(-165.182 -94.3159) rotate(45 165.182 94.3159)",stroke:"url(#paint7_linear)",children:c.jsx("animateMotion",{dur:"10s",begin:"3",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_0"})})}),c.jsx("ellipse",{cx:"476.525",cy:"363.313",rx:"1.07433",ry:"1.07306",transform:"translate(-476.525 -363.313) rotate(90 476.525 363.313)",fill:"#13ADC7",children:c.jsx("animateMotion",{dur:"12s",begin:"4",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_0"})})}),c.jsx("path",{d:"M476.171 362.952L450.417 337.168",transform:"translate(-476.525 -363.313) rotate(-45 476.171 362.952)",stroke:"url(#paint11_linear)",children:c.jsx("animateMotion",{dur:"12s",begin:"4",repeatCount:"indefinite",rotate:"auto",children:c.jsx("mpath",{xlinkHref:"#path_0"})})}),c.jsxs("defs",{children:[c.jsxs("radialGradient",{id:"paint0_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(301 301) rotate(90) scale(300)",children:[c.jsx("stop",{offset:"0.333333",stopColor:"#FBFBFB"}),c.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),c.jsxs("radialGradient",{id:"paint1_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(301 301) rotate(90) scale(300)",children:[c.jsx("stop",{offset:"0.333333",stopColor:"#FBFBFB"}),c.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),c.jsxs("radialGradient",{id:"paint2_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(301 301) rotate(90) scale(300)",children:[c.jsx("stop",{offset:"0.333333",stopColor:"#FBFBFB"}),c.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint3_linear",x1:"295.043",y1:"193.116",x2:"269.975",y2:"218.154",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#945DD6"}),c.jsx("stop",{offset:"1",stopColor:"#945DD6",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint4_linear",x1:"476.529",y1:"363.31",x2:"451.461",y2:"338.272",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#945DD6"}),c.jsx("stop",{offset:"1",stopColor:"#945DD6",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint5_linear",x1:"382.168",y1:"155.027",x2:"357.1",y2:"129.989",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#F46737"}),c.jsx("stop",{offset:"1",stopColor:"#F46737",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint6_linear",x1:"333.309",y1:"382.693",x2:"358.376",y2:"357.655",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#F46737"}),c.jsx("stop",{offset:"1",stopColor:"#F46737",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint7_linear",x1:"165.54",y1:"93.9578",x2:"140.472",y2:"118.996",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#F46737"}),c.jsx("stop",{offset:"1",stopColor:"#F46737",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint8_linear",x1:"414.367",y1:"301.156",x2:"439.435",y2:"276.118",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#13ADC7"}),c.jsx("stop",{offset:"1",stopColor:"#13ADC7",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint9_linear",x1:"515.943",y1:"288.238",x2:"541.339",y2:"291.454",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#13ADC7"}),c.jsx("stop",{offset:"1",stopColor:"#13ADC7",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint10_linear",x1:"117.001",y1:"230.619",x2:"117.36",y2:"258.193",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#945DD6"}),c.jsx("stop",{offset:"1",stopColor:"#945DD6",stopOpacity:"0"})]}),c.jsxs("linearGradient",{id:"paint11_linear",x1:"476.529",y1:"363.31",x2:"451.461",y2:"338.272",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#13ADC7"}),c.jsx("stop",{offset:"1",stopColor:"#13ADC7",stopOpacity:"0"})]})]})]})}),fM=()=>{const[e,t]=p.useState(!1);return c.jsxs("div",{className:"relative rounded-full w-[256px] lg:min-w-[364px] h-[256px] lg:min-h-[364px] cursor-pointer flex-center",onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1),style:{perspective:"1000px"},children:[c.jsx(dM,{}),c.jsxs("div",{className:"absolute w-full h-full transition-transform duration-500 ease-in-out border lg:border-4 rounded-full border-secondary",style:{transformStyle:"preserve-3d",transform:`rotateY(${e?180:0}deg)`},children:[c.jsx("div",{className:"absolute w-full h-full flex-center rounded-full",style:{backfaceVisibility:"hidden"},children:c.jsx(jc,{src:Lj,alt:"Me",hash:NN,className:"w-full h-full object-cover rounded-full"})}),c.jsx("div",{className:"absolute w-full h-full flex-center rounded-full",style:{backfaceVisibility:"hidden",transform:"rotateY(180deg)"},children:c.jsx(jc,{src:Ty,alt:"Fingertips",hash:jN,className:"w-full h-full object-cover rounded-full"})})]})]})},hM=()=>c.jsx(Pt,{to:"https://drive.google.com/file/d/1ywkfqZul3nNBCcz4u2HPbgM7o5GLs0Sr/view?usp=sharing",target:"_blank",children:c.jsx("button",{className:`py-4 w-[256px] bg-gradient-to-r from-[#310055] to-[#DC97FF]\r hover:scale-95 transition-all duration-500 ease-in-out rounded-full \r - hover:drop-shadow-purple-glow font-semibold text-lg mt-8 text-white`,children:"Check Resume"})}),fM=()=>{const[e,t]=p.useState({width:0,height:0}),n=()=>{t({width:window.innerWidth,height:window.innerHeight})};return p.useEffect(()=>(n(),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}),[]),e},hM=()=>{const{width:e}=fM();return e>1024?c.jsxs(c.Fragment,{children:[c.jsxs("p",{className:"text-muted-foreground text-sm mt-2",children:["I am a dedicated"," ",c.jsx("span",{className:"text-foreground/80",children:"full-stack developer"})," with a strong foundation in both"," ",c.jsx("span",{className:"text-foreground/80",children:"web"})," and"," ",c.jsx("span",{className:"text-foreground/80",children:"mobile technologies."})," ","Leveraging a"," ",c.jsx("span",{className:"text-foreground/80",children:"Bachelor's degree in Computer Science"})," ","and ",c.jsx("span",{className:"text-foreground/80",children:"3"})," professional"," ",c.jsx("span",{className:"text-foreground/80",children:"years"})," of"," ",c.jsx("span",{className:"text-foreground/80",children:"experience"}),"."]}),c.jsxs("p",{className:"text-muted-foreground text-sm",children:["I specialize in creating robust, scalable solutions using"," ",c.jsx("span",{className:"text-foreground/80",children:"React.js"}),","," ",c.jsx("span",{className:"text-foreground/80",children:"React Native"}),", and"," ",c.jsx("span",{className:"text-foreground/80",children:"Flutter"})," for front-end development, coupled with"," ",c.jsx("span",{className:"text-foreground/80",children:"Express.js"})," for backend services. My expertise extends to working with databases and cloud platforms, including ",c.jsx("span",{className:"text-foreground/80",children:"MongoDB"}),", ",c.jsx("span",{className:"text-foreground/80",children:"Supabase"}),", and"," ",c.jsx("span",{className:"text-foreground/80",children:"Firebase"}),", as well as utilizing ",c.jsx("span",{className:"text-foreground/80",children:"Prisma"})," for ORM and"," ",c.jsx("span",{className:"text-foreground/80",children:"TensorFlow"})," for machine learning applications."]}),c.jsxs("p",{className:"text-muted-foreground text-sm",children:["In addition to my primary focus on building user-centric web and mobile applications, I am also passionate about"," ",c.jsx("span",{className:"text-foreground/80",children:"game development"}),". I create games using ",c.jsx("span",{className:"text-foreground/80",children:"Unity"}),","," ",c.jsx("span",{className:"text-foreground/80",children:"Flutter"})," and"," ",c.jsx("span",{className:"text-foreground/80",children:"Vanilla JavaScript"})," as a hobby, which enhances my problem-solving skills and creativity in software design."]})]}):c.jsxs("p",{className:"text-center text-muted-foreground text-xs sm:text-sm mt-2 max-w-screen-sm",children:["I am a ",c.jsx("span",{className:"text-foreground/80",children:"full-stack developer"})," ","with a"," ",c.jsx("span",{className:"text-foreground/80",children:"Bachelor's degree in Computer Science"})," ","and ",c.jsx("span",{className:"text-foreground/80",children:"3"})," professional"," ",c.jsx("span",{className:"text-foreground/80",children:"years"})," of"," ",c.jsx("span",{className:"text-foreground/80",children:"experience"}),". I excel in creating scalable solutions using"," ",c.jsx("span",{className:"text-foreground/80",children:"React.js"}),","," ",c.jsx("span",{className:"text-foreground/80",children:"React Native"}),","," ",c.jsx("span",{className:"text-foreground/80",children:"Flutter"}),", and"," ",c.jsx("span",{className:"text-foreground/80",children:"Express.js"}),". My skills include working with ",c.jsx("span",{className:"text-foreground/80",children:"MongoDB"}),","," ",c.jsx("span",{className:"text-foreground/80",children:"Supabase"}),","," ",c.jsx("span",{className:"text-foreground/80",children:"Firebase"}),", and"," ",c.jsx("span",{className:"text-foreground/80",children:"Prisma"}),". Additionally, I am passionate about game development, creating games with"," ",c.jsx("span",{className:"text-foreground/80",children:"Unity"}),","," ",c.jsx("span",{className:"text-foreground/80",children:"Flutter"}),", and"," ",c.jsx("span",{className:"text-foreground/80",children:"Vanilla JavaScript"})," to enhance my problem-solving and design skills."]})},pM=({texts:e,speedForward:t=120,speedBackward:n=50,delayForward:r=2500,delayBackward:o=800})=>{const[i,s]=p.useState(""),[a,l]=p.useState(0),[u,f]=p.useState(0),[d,h]=p.useState(!0);return p.useEffect(()=>{const y=e[a];if(d)if(u{s(v=>v+y[u]),f(v=>v+1)},t);return()=>clearTimeout(x)}else{const x=setTimeout(()=>h(!1),r);return()=>clearTimeout(x)}else if(u>0){const x=setTimeout(()=>{s(v=>v.slice(0,-1)),f(v=>v-1)},n);return()=>clearTimeout(x)}else{const x=setTimeout(()=>{h(!0),l(v=>(v+1)%e.length),f(0)},o);return()=>clearTimeout(x)}},[u,d,a,e,t,n,r,o]),c.jsxs("div",{className:"flex items-start justify-center font-semibold text-lg lg:text-2xl",children:["I create",c.jsxs("div",{className:"text-[#8B2FC9] ml-1.5",children:[i,c.jsx("span",{className:"inline-block w-0.5 h-[1em] animate-blink ease-in-out",children:"|"})]})]})},mM=({isMounted:e})=>c.jsx("ul",{className:ce("flex-center gap-x-6 transition-opacity duration-500 ease-in-out",e?"opacity-100":"opacity-0"),children:sy.map(t=>{const n=t.icon;return c.jsx(Fa,{asChild:!0,label:t.label,side:"top",children:c.jsx(Pt,{to:t.href,target:"_blank",className:`rounded-full border border-muted-foreground p-2.5\r + hover:drop-shadow-purple-glow font-semibold text-lg mt-8 text-white`,children:"Check Resume"})}),pM=()=>{const[e,t]=p.useState({width:0,height:0}),n=()=>{t({width:window.innerWidth,height:window.innerHeight})};return p.useEffect(()=>(n(),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}),[]),e},mM=()=>{const{width:e}=pM();return e>1024?c.jsxs(c.Fragment,{children:[c.jsxs("p",{className:"text-muted-foreground text-sm mt-2",children:["I am a dedicated"," ",c.jsx("span",{className:"text-foreground/80",children:"full-stack developer"})," with a strong foundation in both"," ",c.jsx("span",{className:"text-foreground/80",children:"web"})," and"," ",c.jsx("span",{className:"text-foreground/80",children:"mobile technologies."})," ","Leveraging a"," ",c.jsx("span",{className:"text-foreground/80",children:"Bachelor's degree in Computer Science"})," ","and ",c.jsx("span",{className:"text-foreground/80",children:"3"})," professional"," ",c.jsx("span",{className:"text-foreground/80",children:"years"})," of"," ",c.jsx("span",{className:"text-foreground/80",children:"experience"}),"."]}),c.jsxs("p",{className:"text-muted-foreground text-sm",children:["I specialize in creating robust, scalable solutions using"," ",c.jsx("span",{className:"text-foreground/80",children:"React.js"}),","," ",c.jsx("span",{className:"text-foreground/80",children:"React Native"}),", and"," ",c.jsx("span",{className:"text-foreground/80",children:"Flutter"})," for front-end development, coupled with"," ",c.jsx("span",{className:"text-foreground/80",children:"Express.js"})," for backend services. My expertise extends to working with databases and cloud platforms, including ",c.jsx("span",{className:"text-foreground/80",children:"MongoDB"}),", ",c.jsx("span",{className:"text-foreground/80",children:"Supabase"}),", and"," ",c.jsx("span",{className:"text-foreground/80",children:"Firebase"}),", as well as utilizing ",c.jsx("span",{className:"text-foreground/80",children:"Prisma"})," for ORM and"," ",c.jsx("span",{className:"text-foreground/80",children:"TensorFlow"})," for machine learning applications."]}),c.jsxs("p",{className:"text-muted-foreground text-sm",children:["In addition to my primary focus on building user-centric web and mobile applications, I am also passionate about"," ",c.jsx("span",{className:"text-foreground/80",children:"game development"}),". I create games using ",c.jsx("span",{className:"text-foreground/80",children:"Unity"}),","," ",c.jsx("span",{className:"text-foreground/80",children:"Flutter"})," and"," ",c.jsx("span",{className:"text-foreground/80",children:"Vanilla JavaScript"})," as a hobby, which enhances my problem-solving skills and creativity in software design."]})]}):c.jsxs("p",{className:"text-center text-muted-foreground text-xs sm:text-sm mt-2 max-w-screen-sm",children:["I am a ",c.jsx("span",{className:"text-foreground/80",children:"full-stack developer"})," ","with a"," ",c.jsx("span",{className:"text-foreground/80",children:"Bachelor's degree in Computer Science"})," ","and ",c.jsx("span",{className:"text-foreground/80",children:"3"})," professional"," ",c.jsx("span",{className:"text-foreground/80",children:"years"})," of"," ",c.jsx("span",{className:"text-foreground/80",children:"experience"}),". I excel in creating scalable solutions using"," ",c.jsx("span",{className:"text-foreground/80",children:"React.js"}),","," ",c.jsx("span",{className:"text-foreground/80",children:"React Native"}),","," ",c.jsx("span",{className:"text-foreground/80",children:"Flutter"}),", and"," ",c.jsx("span",{className:"text-foreground/80",children:"Express.js"}),". My skills include working with ",c.jsx("span",{className:"text-foreground/80",children:"MongoDB"}),","," ",c.jsx("span",{className:"text-foreground/80",children:"Supabase"}),","," ",c.jsx("span",{className:"text-foreground/80",children:"Firebase"}),", and"," ",c.jsx("span",{className:"text-foreground/80",children:"Prisma"}),". Additionally, I am passionate about game development, creating games with"," ",c.jsx("span",{className:"text-foreground/80",children:"Unity"}),","," ",c.jsx("span",{className:"text-foreground/80",children:"Flutter"}),", and"," ",c.jsx("span",{className:"text-foreground/80",children:"Vanilla JavaScript"})," to enhance my problem-solving and design skills."]})},gM=({texts:e,speedForward:t=120,speedBackward:n=50,delayForward:r=2500,delayBackward:o=800})=>{const[i,s]=p.useState(""),[a,l]=p.useState(0),[u,f]=p.useState(0),[d,h]=p.useState(!0);return p.useEffect(()=>{const y=e[a];if(d)if(u{s(v=>v+y[u]),f(v=>v+1)},t);return()=>clearTimeout(x)}else{const x=setTimeout(()=>h(!1),r);return()=>clearTimeout(x)}else if(u>0){const x=setTimeout(()=>{s(v=>v.slice(0,-1)),f(v=>v-1)},n);return()=>clearTimeout(x)}else{const x=setTimeout(()=>{h(!0),l(v=>(v+1)%e.length),f(0)},o);return()=>clearTimeout(x)}},[u,d,a,e,t,n,r,o]),c.jsxs("div",{className:"flex items-start justify-center font-semibold text-lg lg:text-2xl",children:["I create",c.jsxs("div",{className:"text-[#8B2FC9] ml-1.5",children:[i,c.jsx("span",{className:"inline-block w-0.5 h-[1em] animate-blink ease-in-out",children:"|"})]})]})},vM=({isMounted:e})=>c.jsx("ul",{className:ce("flex-center gap-x-6 transition-opacity duration-500 ease-in-out",e?"opacity-100":"opacity-0"),children:sy.map(t=>{const n=t.icon;return c.jsx(Fa,{asChild:!0,label:t.label,side:"top",children:c.jsx(Pt,{to:t.href,target:"_blank",className:`rounded-full border border-muted-foreground p-2.5\r hover:scale-105 hover:-translate-y-2 transition-all\r - ease-in-out cursor-pointer hover:bg-muted-foreground group hover:drop-shadow-foreground-glow`,children:c.jsx(n,{className:"w-4 h-4 transition-colors ease-in-out group-hover:text-background pointer-events-none"})})},t.href)})}),gM=()=>{const e=Ia();return c.jsxs("section",{className:ce("min-h-dvh flex-center flex-col gap-y-12 lg:gap-y-24 p-6 lg:py-6 lg:px-0 relative border-b",po.rootSection),id:at.about,children:[c.jsxs("div",{className:"mt-14 flex-center lg:flex-between flex-col-reverse lg:flex-row gap-y-4 lg:gap-y-8 gap-x-24 w-full",children:[c.jsxs("div",{className:ce("flex items-center lg:items-start flex-col lg:gap-2 transition-opacity duration-500 ease-in-out",e?"opacity-100":"opacity-0"),children:[c.jsxs("div",{className:"flex items-start justify-center gap-x-2 relative",children:[c.jsx("p",{className:"lg:text-xl font-semibold",children:"Hi there!"}),c.jsx("img",{src:Gj,alt:"Wave",className:"w-6 lg:w-10 h-5 lg:h-8 relative -top-0.5 lg:-top-1.5"})]}),c.jsxs("h1",{className:"text-2xl lg:text-4xl font-bold flex items-center flex-col lg:flex-row",children:["I'm Ghian Carlos Tan"," ",c.jsx("span",{className:"text-sm lg:text-lg font-semibold text-muted-foreground lg:ml-2",children:"(Fingertips)"})]}),c.jsx(pM,{texts:qk}),c.jsx(hM,{}),c.jsx(dM,{})]}),c.jsx(uM,{})]}),c.jsx(mM,{isMounted:e})]})},vM=()=>c.jsxs(c.Fragment,{children:[c.jsx(gM,{}),c.jsx(lM,{}),c.jsx(bN,{}),c.jsx(lR,{}),c.jsx(_N,{}),c.jsx(nM,{})]}),yM=dw(xf(c.jsxs(Ss,{path:Ni.root,element:c.jsx(Jj,{}),children:[c.jsx(Ss,{index:!0,element:c.jsx(vM,{})}),c.jsx(Ss,{path:Ni.github404,element:c.jsx(xp,{})}),c.jsx(Ss,{path:Ni.notFound,element:c.jsx(xp,{})})]})));wf.createRoot(document.getElementById("root")).render(c.jsx(F.StrictMode,{children:c.jsx(jw,{children:c.jsx(Ow,{children:c.jsx(ww,{router:yM})})})})); + ease-in-out cursor-pointer hover:bg-muted-foreground group hover:drop-shadow-foreground-glow`,children:c.jsx(n,{className:"w-4 h-4 transition-colors ease-in-out group-hover:text-background pointer-events-none"})})},t.href)})}),yM=()=>{const e=Ia();return c.jsxs("section",{className:ce("min-h-dvh flex-center flex-col gap-y-12 lg:gap-y-24 p-6 lg:py-6 lg:px-0 relative border-b",mo.rootSection),id:at.about,children:[c.jsxs("div",{className:"mt-14 flex-center lg:flex-between flex-col-reverse lg:flex-row gap-y-4 lg:gap-y-8 gap-x-24 w-full",children:[c.jsxs("div",{className:ce("flex items-center lg:items-start flex-col lg:gap-2 transition-opacity duration-500 ease-in-out",e?"opacity-100":"opacity-0"),children:[c.jsxs("div",{className:"flex items-start justify-center gap-x-2 relative",children:[c.jsx("p",{className:"lg:text-xl font-semibold",children:"Hi there!"}),c.jsx("img",{src:Kj,alt:"Wave",className:"w-6 lg:w-10 h-5 lg:h-8 relative -top-0.5 lg:-top-1.5"})]}),c.jsxs("h1",{className:"text-2xl lg:text-4xl font-bold flex items-center flex-col lg:flex-row",children:["I'm Ghian Carlos Tan"," ",c.jsx("span",{className:"text-sm lg:text-lg font-semibold text-muted-foreground lg:ml-2",children:"(Fingertips)"})]}),c.jsx(gM,{texts:ej}),c.jsx(mM,{}),c.jsx(hM,{})]}),c.jsx(fM,{})]}),c.jsx(vM,{isMounted:e})]})},xM=()=>c.jsxs(c.Fragment,{children:[c.jsx(yM,{}),c.jsx(uM,{}),c.jsx(CN,{}),c.jsx(uR,{}),c.jsx(kN,{}),c.jsx(oM,{})]}),wM=dw(xf(c.jsxs(Ss,{path:Ni.root,element:c.jsx(qj,{}),children:[c.jsx(Ss,{index:!0,element:c.jsx(xM,{}),errorElement:c.jsx(eN,{})}),c.jsx(Ss,{path:Ni.github404,element:c.jsx(xp,{})}),c.jsx(Ss,{path:Ni.notFound,element:c.jsx(xp,{})})]})));wf.createRoot(document.getElementById("root")).render(c.jsx(F.StrictMode,{children:c.jsx(jw,{children:c.jsx(Ow,{children:c.jsx(ww,{router:wM})})})})); diff --git a/index.html b/index.html index e92728e..e46b641 100644 --- a/index.html +++ b/index.html @@ -46,7 +46,7 @@ })(window.location); - +