diff --git a/assets/index-CI4KQ-5-.js b/assets/index-DizMPYZS.js similarity index 79% rename from assets/index-CI4KQ-5-.js rename to assets/index-DizMPYZS.js index 2459f98..3c0d634 100644 --- a/assets/index-CI4KQ-5-.js +++ b/assets/index-DizMPYZS.js @@ -37,7 +37,7 @@ var fT=Object.defineProperty;var dT=(e,t,n)=>t in e?fT(e,t,{enumerable:!0,config `+o[s].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=s&&0<=a);break}}}finally{Qu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Li(e):""}function BT(e){switch(e.tag){case 5:return Li(e.type);case 16:return Li("Lazy");case 13:return Li("Suspense");case 19:return Li("SuspenseList");case 0:case 2:case 15:return e=Zu(e.type,!1),e;case 11:return e=Zu(e.type.render,!1),e;case 1:return e=Zu(e.type,!0),e;default:return""}}function cf(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 So:return"Fragment";case xo:return"Portal";case af:return"Profiler";case Hd:return"StrictMode";case lf:return"Suspense";case uf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Gy:return(e.displayName||"Context")+".Consumer";case Wy:return(e._context.displayName||"Context")+".Provider";case Kd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case qd:return t=e.displayName||null,t!==null?t:cf(e.type)||"Memo";case rr:t=e._payload,e=e._init;try{return cf(e(t))}catch{}}return null}function $T(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 cf(t);case 8:return t===Hd?"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 xr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ky(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function WT(e){var t=Ky(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 ra(e){e._valueTracker||(e._valueTracker=WT(e))}function qy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ky(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function al(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 ff(e,t){var n=t.checked;return _e({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function tm(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=xr(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 Yy(e,t){t=t.checked,t!=null&&Gd(e,"checked",t,!1)}function df(e,t){Yy(e,t);var n=xr(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")?pf(e,t.type,n):t.hasOwnProperty("defaultValue")&&pf(e,t.type,xr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function nm(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 pf(e,t,n){(t!=="number"||al(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ji=Array.isArray;function Vo(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=oa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function as(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var $i={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},GT=["Webkit","ms","Moz","O"];Object.keys($i).forEach(function(e){GT.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),$i[t]=$i[e]})});function Jy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||$i.hasOwnProperty(e)&&$i[e]?(""+t).trim():t+"px"}function e0(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Jy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var HT=_e({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 vf(e,t){if(t){if(HT[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(U(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(U(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(U(61))}if(t.style!=null&&typeof t.style!="object")throw Error(U(62))}}function gf(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 yf=null;function Yd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var wf=null,Uo=null,zo=null;function im(e){if(e=js(e)){if(typeof wf!="function")throw Error(U(280));var t=e.stateNode;t&&(t=tu(t),wf(e.stateNode,e.type,t))}}function t0(e){Uo?zo?zo.push(e):zo=[e]:Uo=e}function n0(){if(Uo){var e=Uo,t=zo;if(zo=Uo=null,im(e),t)for(e=0;e>>=0,e===0?32:31-(rP(e)/oP|0)|0}var ia=64,sa=4194304;function Fi(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 fl(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=Fi(a):(i&=s,i!==0&&(r=Fi(i)))}else s=n&~o,s!==0?r=Fi(s):i!==0&&(r=Fi(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 Ds(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-rn(t),e[t]=n}function lP(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=Gi),hm=" ",mm=!1;function S0(e,t){switch(e){case"keyup":return LP.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function E0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Eo=!1;function FP(e,t){switch(e){case"compositionend":return E0(t);case"keypress":return t.which!==32?null:(mm=!0,hm);case"textInput":return e=t.data,e===hm&&mm?null:e;default:return null}}function VP(e,t){if(Eo)return e==="compositionend"||!rp&&S0(e,t)?(e=b0(),Ua=ep=ur=null,Eo=!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=wm(n)}}function k0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?k0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function _0(){for(var e=window,t=al();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=al(e.document)}return t}function op(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 qP(e){var t=_0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&k0(n.ownerDocument.documentElement,n)){if(r!==null&&op(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=bm(n,i);var s=bm(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,To=null,Pf=null,Ki=null,Cf=!1;function xm(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Cf||To==null||To!==al(r)||(r=To,"selectionStart"in r&&op(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}),Ki&&ps(Ki,r)||(Ki=r,r=hl(Pf,"onSelect"),0ko||(e.current=Of[ko],Of[ko]=null,ko--)}function he(e,t){ko++,Of[ko]=e.current,e.current=t}var Sr={},ct=Ir(Sr),Et=Ir(!1),Yr=Sr;function Zo(e,t){var n=e.type.contextTypes;if(!n)return Sr;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 Tt(e){return e=e.childContextTypes,e!=null}function vl(){we(Et),we(ct)}function _m(e,t,n){if(ct.current!==Sr)throw Error(U(168));he(ct,t),he(Et,n)}function j0(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(U(108,$T(e)||"Unknown",o));return _e({},n,r)}function gl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Sr,Yr=ct.current,he(ct,e),he(Et,Et.current),!0}function Am(e,t,n){var r=e.stateNode;if(!r)throw Error(U(169));n?(e=j0(e,t,Yr),r.__reactInternalMemoizedMergedChildContext=e,we(Et),we(ct),he(ct,e)):we(Et),he(Et,n)}var In=null,nu=!1,dc=!1;function F0(e){In===null?In=[e]:In.push(e)}function sC(e){nu=!0,F0(e)}function Or(){if(!dc&&In!==null){dc=!0;var e=0,t=ae;try{var n=In;for(ae=1;e>=s,o-=s,On=1<<32-rn(t)+o|n<T?(O=k,k=null):O=k.sibling;var D=d(h,k,v[T],b);if(D===null){k===null&&(k=O);break}e&&k&&D.alternate===null&&t(h,k),p=i(D,p,T),P===null?E=D:P.sibling=D,P=D,k=O}if(T===v.length)return n(h,k),xe&&Lr(h,T),E;if(k===null){for(;TT?(O=k,k=null):O=k.sibling;var z=d(h,k,D.value,b);if(z===null){k===null&&(k=O);break}e&&k&&z.alternate===null&&t(h,k),p=i(z,p,T),P===null?E=z:P.sibling=z,P=z,k=O}if(D.done)return n(h,k),xe&&Lr(h,T),E;if(k===null){for(;!D.done;T++,D=v.next())D=f(h,D.value,b),D!==null&&(p=i(D,p,T),P===null?E=D:P.sibling=D,P=D);return xe&&Lr(h,T),E}for(k=r(h,k);!D.done;T++,D=v.next())D=m(k,h,T,D.value,b),D!==null&&(e&&D.alternate!==null&&k.delete(D.key===null?T:D.key),p=i(D,p,T),P===null?E=D:P.sibling=D,P=D);return e&&k.forEach(function(F){return t(h,F)}),xe&&Lr(h,T),E}function x(h,p,v,b){if(typeof v=="object"&&v!==null&&v.type===So&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case na:e:{for(var E=v.key,P=p;P!==null;){if(P.key===E){if(E=v.type,E===So){if(P.tag===7){n(h,P.sibling),p=o(P,v.props.children),p.return=h,h=p;break e}}else if(P.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===rr&&Om(E)===P.type){n(h,P.sibling),p=o(P,v.props),p.ref=Ai(h,P,v),p.return=h,h=p;break e}n(h,P);break}else t(h,P);P=P.sibling}v.type===So?(p=Kr(v.props.children,h.mode,b,v.key),p.return=h,h=p):(b=qa(v.type,v.key,v.props,null,h.mode,b),b.ref=Ai(h,p,v),b.return=h,h=b)}return s(h);case xo:e:{for(P=v.key;p!==null;){if(p.key===P)if(p.tag===4&&p.stateNode.containerInfo===v.containerInfo&&p.stateNode.implementation===v.implementation){n(h,p.sibling),p=o(p,v.children||[]),p.return=h,h=p;break e}else{n(h,p);break}else t(h,p);p=p.sibling}p=bc(v,h.mode,b),p.return=h,h=p}return s(h);case rr:return P=v._init,x(h,p,P(v._payload),b)}if(ji(v))return g(h,p,v,b);if(Ti(v))return y(h,p,v,b);pa(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,p!==null&&p.tag===6?(n(h,p.sibling),p=o(p,v),p.return=h,h=p):(n(h,p),p=wc(v,h.mode,b),p.return=h,h=p),s(h)):n(h,p)}return x}var ei=B0(!0),$0=B0(!1),bl=Ir(null),xl=null,Ro=null,lp=null;function up(){lp=Ro=xl=null}function cp(e){var t=bl.current;we(bl),e._currentValue=t}function Df(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 $o(e,t){xl=e,lp=Ro=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(St=!0),e.firstContext=null)}function Xt(e){var t=e._currentValue;if(lp!==e)if(e={context:e,memoizedValue:t,next:null},Ro===null){if(xl===null)throw Error(U(308));Ro=e,xl.dependencies={lanes:0,firstContext:e}}else Ro=Ro.next=e;return t}var Br=null;function fp(e){Br===null?Br=[e]:Br.push(e)}function W0(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,fp(t)):(n.next=o.next,o.next=n),t.interleaved=n,$n(e,r)}function $n(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 dp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function G0(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 Dn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function mr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,oe&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,$n(e,n)}return o=r.interleaved,o===null?(t.next=t,fp(r)):(t.next=o.next,o.next=t),r.interleaved=t,$n(e,n)}function Ba(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,Qd(e,n)}}function Mm(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 Sl(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 u=a,l=u.next;u.next=null,s===null?i=l:s.next=l,s=u;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=l:a.next=l,c.lastBaseUpdate=u))}if(i!==null){var f=o.baseState;s=0,c=l=u=null,a=i;do{var d=a.lane,m=a.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:m,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var g=e,y=a;switch(d=t,m=n,y.tag){case 1:if(g=y.payload,typeof g=="function"){f=g.call(m,f,d);break e}f=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,d=typeof g=="function"?g.call(m,f,d):g,d==null)break e;f=_e({},f,d);break e;case 2:or=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[a]:d.push(a))}else m={eventTime:m,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(l=c=m,u=f):c=c.next=m,s|=d;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;d=a,a=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(!0);if(c===null&&(u=f),o.baseState=u,o.firstBaseUpdate=l,o.lastBaseUpdate=c,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);Zr|=s,e.lanes=s,e.memoizedState=f}}function Nm(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=hc.transition;hc.transition={};try{e(!1),t()}finally{ae=n,hc.transition=r}}function lw(){return Qt().memoizedState}function cC(e,t,n){var r=gr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},uw(e))cw(t,n);else if(n=W0(e,t,n,r),n!==null){var o=dt();on(n,e,r,o),fw(n,t,r)}}function fC(e,t,n){var r=gr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(uw(e))cw(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,ln(a,s)){var u=t.interleaved;u===null?(o.next=o,fp(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=W0(e,t,o,r),n!==null&&(o=dt(),on(n,e,r,o),fw(n,t,r))}}function uw(e){var t=e.alternate;return e===ke||t!==null&&t===ke}function cw(e,t){qi=Tl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fw(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Qd(e,n)}}var Pl={readContext:Xt,useCallback:it,useContext:it,useEffect:it,useImperativeHandle:it,useInsertionEffect:it,useLayoutEffect:it,useMemo:it,useReducer:it,useRef:it,useState:it,useDebugValue:it,useDeferredValue:it,useTransition:it,useMutableSource:it,useSyncExternalStore:it,useId:it,unstable_isNewReconciler:!1},dC={readContext:Xt,useCallback:function(e,t){return vn().memoizedState=[e,t===void 0?null:t],e},useContext:Xt,useEffect:Lm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Wa(4194308,4,rw.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Wa(4194308,4,e,t)},useInsertionEffect:function(e,t){return Wa(4,2,e,t)},useMemo:function(e,t){var n=vn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=vn();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=cC.bind(null,ke,e),[r.memoizedState,e]},useRef:function(e){var t=vn();return e={current:e},t.memoizedState=e},useState:Dm,useDebugValue:bp,useDeferredValue:function(e){return vn().memoizedState=e},useTransition:function(){var e=Dm(!1),t=e[0];return e=uC.bind(null,e[1]),vn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ke,o=vn();if(xe){if(n===void 0)throw Error(U(407));n=n()}else{if(n=t(),Xe===null)throw Error(U(349));Qr&30||Y0(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Lm(Q0.bind(null,r,i,e),[e]),r.flags|=2048,xs(9,X0.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=vn(),t=Xe.identifierPrefix;if(xe){var n=Mn,r=On;n=(r&~(1<<32-rn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ws++,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[gn]=t,e[vs]=r,xw(e,t,!1,!1),t.stateNode=e;e:{switch(s=gf(n,r),n){case"dialog":ye("cancel",e),ye("close",e),o=r;break;case"iframe":case"object":case"embed":ye("load",e),o=r;break;case"video":case"audio":for(o=0;ori&&(t.flags|=128,r=!0,Ri(i,!1),t.lanes=4194304)}else{if(!r)if(e=El(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ri(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!xe)return st(t),null}else 2*Me()-i.renderingStartTime>ri&&n!==1073741824&&(t.flags|=128,r=!0,Ri(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=Me(),t.sibling=null,n=Pe.current,he(Pe,r?n&1|2:n&1),t):(st(t),null);case 22:case 23:return Cp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ct&1073741824&&(st(t),t.subtreeFlags&6&&(t.flags|=8192)):st(t),null;case 24:return null;case 25:return null}throw Error(U(156,t.tag))}function bC(e,t){switch(sp(t),t.tag){case 1:return Tt(t.type)&&vl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ti(),we(Et),we(ct),mp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return hp(t),null;case 13:if(we(Pe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(U(340));Jo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return we(Pe),null;case 4:return ti(),null;case 10:return cp(t.type._context),null;case 22:case 23:return Cp(),null;case 24:return null;default:return null}}var ma=!1,lt=!1,xC=typeof WeakSet=="function"?WeakSet:Set,H=null;function Io(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Re(e,t,r)}else n.current=null}function Wf(e,t,n){try{n()}catch(r){Re(e,t,r)}}var Km=!1;function SC(e,t){if(kf=dl,e=_0(),op(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,u=-1,l=0,c=0,f=e,d=null;t:for(;;){for(var m;f!==n||o!==0&&f.nodeType!==3||(a=s+o),f!==i||r!==0&&f.nodeType!==3||(u=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)d=f,f=m;for(;;){if(f===e)break t;if(d===n&&++l===o&&(a=s),d===i&&++c===r&&(u=s),(m=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=m}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(_f={focusedElem:e,selectionRange:n},dl=!1,H=t;H!==null;)if(t=H,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,H=e;else for(;H!==null;){t=H;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,x=g.memoizedState,h=t.stateNode,p=h.getSnapshotBeforeUpdate(t.elementType===t.type?y:Jt(t.type,y),x);h.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(U(163))}}catch(b){Re(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,H=e;break}H=t.return}return g=Km,Km=!1,g}function Yi(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&&Wf(t,n,i)}o=o.next}while(o!==r)}}function iu(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 Gf(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 Tw(e){var t=e.alternate;t!==null&&(e.alternate=null,Tw(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[gn],delete t[vs],delete t[If],delete t[oC],delete t[iC])),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 Pw(e){return e.tag===5||e.tag===3||e.tag===4}function qm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Pw(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 Hf(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=ml));else if(r!==4&&(e=e.child,e!==null))for(Hf(e,t,n),e=e.sibling;e!==null;)Hf(e,t,n),e=e.sibling}function Kf(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(Kf(e,t,n),e=e.sibling;e!==null;)Kf(e,t,n),e=e.sibling}var et=null,en=!1;function Zn(e,t,n){for(n=n.child;n!==null;)Cw(e,t,n),n=n.sibling}function Cw(e,t,n){if(Sn&&typeof Sn.onCommitFiberUnmount=="function")try{Sn.onCommitFiberUnmount(Ql,n)}catch{}switch(n.tag){case 5:lt||Io(n,t);case 6:var r=et,o=en;et=null,Zn(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?fc(e.parentNode,n):e.nodeType===1&&fc(e,n),fs(e)):fc(et,n.stateNode));break;case 4:r=et,o=en,et=n.stateNode.containerInfo,en=!0,Zn(e,t,n),et=r,en=o;break;case 0:case 11:case 14:case 15:if(!lt&&(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)&&Wf(n,t,s),o=o.next}while(o!==r)}Zn(e,t,n);break;case 1:if(!lt&&(Io(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Re(n,t,a)}Zn(e,t,n);break;case 21:Zn(e,t,n);break;case 22:n.mode&1?(lt=(r=lt)||n.memoizedState!==null,Zn(e,t,n),lt=r):Zn(e,t,n);break;default:Zn(e,t,n)}}function Ym(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new xC),t.forEach(function(r){var o=IC.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Zt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=Me()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*TC(r/1960))-r,10e?16:e,cr===null)var r=!1;else{if(e=cr,cr=null,_l=0,oe&6)throw Error(U(331));var o=oe;for(oe|=4,H=e.current;H!==null;){var i=H,s=i.child;if(H.flags&16){var a=i.deletions;if(a!==null){for(var u=0;uMe()-Tp?Hr(e,0):Ep|=n),Pt(e,t)}function Nw(e,t){t===0&&(e.mode&1?(t=sa,sa<<=1,!(sa&130023424)&&(sa=4194304)):t=1);var n=dt();e=$n(e,t),e!==null&&(Ds(e,t,n),Pt(e,n))}function RC(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Nw(e,n)}function IC(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(U(314))}r!==null&&r.delete(t),Nw(e,n)}var Dw;Dw=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Et.current)St=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return St=!1,yC(e,t,n);St=!!(e.flags&131072)}else St=!1,xe&&t.flags&1048576&&V0(t,wl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ga(e,t),e=t.pendingProps;var o=Zo(t,ct.current);$o(t,n),o=gp(null,t,r,e,o,n);var i=yp();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,Tt(r)?(i=!0,gl(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,dp(t),o.updater=ou,t.stateNode=o,o._reactInternals=t,jf(t,r,e,n),t=Uf(null,t,r,!0,i,n)):(t.tag=0,xe&&i&&ip(t),ft(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ga(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=MC(r),e=Jt(r,e),o){case 0:t=Vf(null,t,r,e,n);break e;case 1:t=Wm(null,t,r,e,n);break e;case 11:t=Bm(null,t,r,e,n);break e;case 14:t=$m(null,t,r,Jt(r.type,e),n);break e}throw Error(U(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Jt(r,o),Vf(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Jt(r,o),Wm(e,t,r,o,n);case 3:e:{if(yw(t),e===null)throw Error(U(387));r=t.pendingProps,i=t.memoizedState,o=i.element,G0(e,t),Sl(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=ni(Error(U(423)),t),t=Gm(e,t,r,n,o);break e}else if(r!==o){o=ni(Error(U(424)),t),t=Gm(e,t,r,n,o);break e}else for(Rt=hr(t.stateNode.containerInfo.firstChild),It=t,xe=!0,tn=null,n=$0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Jo(),r===o){t=Wn(e,t,n);break e}ft(e,t,r,n)}t=t.child}return t;case 5:return H0(t),e===null&&Nf(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Af(r,o)?s=null:i!==null&&Af(r,i)&&(t.flags|=32),gw(e,t),ft(e,t,s,n),t.child;case 6:return e===null&&Nf(t),null;case 13:return ww(e,t,n);case 4:return pp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ei(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:Jt(r,o),Bm(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,he(bl,r._currentValue),r._currentValue=s,i!==null)if(ln(i.value,s)){if(i.children===o.children&&!Et.current){t=Wn(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 u=a.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=Dn(-1,n&-n),u.tag=2;var l=i.updateQueue;if(l!==null){l=l.shared;var c=l.pending;c===null?u.next=u:(u.next=c.next,c.next=u),l.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Df(i.return,n,t),a.lanes|=n;break}u=u.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(U(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Df(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,$o(t,n),o=Xt(o),r=r(o),t.flags|=1,ft(e,t,r,n),t.child;case 14:return r=t.type,o=Jt(r,t.pendingProps),o=Jt(r.type,o),$m(e,t,r,o,n);case 15:return mw(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Jt(r,o),Ga(e,t),t.tag=1,Tt(r)?(e=!0,gl(t)):e=!1,$o(t,n),dw(t,r,o),jf(t,r,o,n),Uf(null,t,r,!0,e,n);case 19:return bw(e,t,n);case 22:return vw(e,t,n)}throw Error(U(156,t.tag))};function Lw(e,t){return u0(e,t)}function OC(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 Ht(e,t,n,r){return new OC(e,t,n,r)}function _p(e){return e=e.prototype,!(!e||!e.isReactComponent)}function MC(e){if(typeof e=="function")return _p(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Kd)return 11;if(e===qd)return 14}return 2}function yr(e,t){var n=e.alternate;return n===null?(n=Ht(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 qa(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")_p(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case So:return Kr(n.children,o,i,t);case Hd:s=8,o|=8;break;case af:return e=Ht(12,n,t,o|2),e.elementType=af,e.lanes=i,e;case lf:return e=Ht(13,n,t,o),e.elementType=lf,e.lanes=i,e;case uf:return e=Ht(19,n,t,o),e.elementType=uf,e.lanes=i,e;case Hy:return au(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Wy:s=10;break e;case Gy:s=9;break e;case Kd:s=11;break e;case qd:s=14;break e;case rr:s=16,r=null;break e}throw Error(U(130,e==null?e:typeof e,""))}return t=Ht(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Kr(e,t,n,r){return e=Ht(7,e,r,t),e.lanes=n,e}function au(e,t,n,r){return e=Ht(22,e,r,t),e.elementType=Hy,e.lanes=n,e.stateNode={isHidden:!1},e}function wc(e,t,n){return e=Ht(6,e,null,t),e.lanes=n,e}function bc(e,t,n){return t=Ht(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function NC(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=ec(0),this.expirationTimes=ec(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ec(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ap(e,t,n,r,o,i,s,a,u){return e=new NC(e,t,n,a,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ht(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},dp(i),e}function DC(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Uw)}catch(e){console.error(e)}}Uw(),Uy.exports=Lt;var vi=Uy.exports;const UC=_y(vi);var rv=vi;of.createRoot=rv.createRoot,of.hydrateRoot=rv.hydrateRoot;const zC={theme:"system",setTheme:()=>null},BC=w.createContext(zC);function $C({children:e,defaultTheme:t="system",storageKey:n="vite-ui-theme",...r}){const[o,i]=w.useState(()=>localStorage.getItem(n)||t);w.useEffect(()=>{const a=window.document.documentElement;if(a.classList.remove("light","dark"),o==="system"){const u=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";a.classList.add(u);return}a.classList.add(o)},[o]);const s={theme:o,setTheme:a=>{localStorage.setItem(n,a),i(a)}};return S.jsx(BC.Provider,{...r,value:s,children:e})}class $t{}Qn($t,"initialInformation",{name:"Fayaz Bin Salam",occupation:"Software Engineer"}),Qn($t,"directMessageItems",[{name:"WhatsApp",link:"https://api.whatsapp.com/send?phone=8801796306262"},{name:"Messenger",link:"https://m.me/p32929"},{name:"Telegram",link:"https://t.me/p32929"}]),Qn($t,"about",[{text:"Information",shouldNotSort:!0,arr:[{title:"Name",desc:"Fayaz Bin Salam",logo:"https://cdn-icons-png.flaticon.com/128/1077/1077012.png"},{title:"Work Experience",desc:"7+ years",logo:"https://cdn-icons-png.flaticon.com/128/3281/3281289.png"},{title:"Languages",desc:"Bengali, English, Hindi, Urdu, Chittagonian etc",logo:"https://cdn-icons-png.flaticon.com/128/3898/3898150.png"},{title:"Nationality",desc:"Bangladeshi",logo:"https://cdn-icons-png.flaticon.com/128/11701/11701027.png"},{title:"Resume",desc:"Click the link icon to view/download",link:"https://docs.google.com/document/d/1vRgTCQ-UvzjGXK7s-TR5VpmjHZ7OmSmOs5G69znPhqA/edit?usp=sharing",logo:"https://cdn-icons-png.flaticon.com/128/909/909212.png"}]},{text:"Experiences",arr:[{title:"Aqary International Group",desc:"Golang Developer",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/92b039b2-9f42-4248-9803-b27e435d2d03"},{title:"Horizon Group of Companies",desc:"Front End Developer",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/b385229a-3084-4952-84f3-134e627cc3e7"},{title:"6sense Bangladesh",desc:"Full Stack Developer",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/80aebbb6-456a-4bba-8f32-eb48373cf76d"},{title:"Rich Information Technology",desc:"Lead Software Engineer",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/6b35eee6-669c-42ee-934b-d9555176490b"},{title:"Fiverr",desc:"Freelance Software Engineer",logo:"https://cdn.worldvectorlogo.com/logos/fiverr-1.svg"},{title:"Upwork",desc:"Freelance Software Engineer",logo:"https://cdn.worldvectorlogo.com/logos/upwork-roundedsquare-1.svg"}]}]),Qn($t,"skills",[{text:"Programming / Markup Languages",arr:[{title:"C",logo:"https://seeklogo.com/images/C/c-logo-672525892C-seeklogo.com.png"},{title:"C++",logo:"https://seeklogo.com/images/C/c-logo-1B1817C041-seeklogo.com.png"},{title:"Java",logo:"https://www.vectorlogo.zone/logos/java/java-icon.svg"},{title:"Python",logo:"https://www.vectorlogo.zone/logos/python/python-icon.svg"},{title:"JavaScript",logo:"https://www.vectorlogo.zone/logos/javascript/javascript-icon.svg"},{title:"Rust",logo:"https://www.rustacean.net/assets/rustacean-flat-gesture.svg"},{title:"HTML",logo:"https://www.vectorlogo.zone/logos/w3_html5/w3_html5-icon.svg"},{title:"CSS",logo:"https://seeklogo.com/images/C/css3-logo-F1923C8D0E-seeklogo.com.png"},{title:"TypeScript",logo:"https://www.vectorlogo.zone/logos/typescriptlang/typescriptlang-icon.svg"},{title:"Kotlin",logo:"https://www.vectorlogo.zone/logos/kotlinlang/kotlinlang-icon.svg"},{title:"Dart",logo:"https://www.vectorlogo.zone/logos/dartlang/dartlang-icon.svg"},{title:"Go",logo:"https://go.dev/blog/go-brand/Go-Logo/SVG/Go-Logo_Blue.svg"}]},{text:"Databases",arr:[{title:"MongoDB",logo:"https://cdn.iconscout.com/icon/free/png-128/mongodb-3521676-2945120.png"},{title:"SQL",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/ffeb437f-0d63-40e5-9bc3-041d5715d67e"},{title:"DynamoDB",logo:"https://cdn.worldvectorlogo.com/logos/aws-dynamodb.svg"},{title:"PostgreSQL",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/b0b84cdf-ac60-4f7b-b665-99ea7e8854da"}]},{text:"UI Component Libraries",arr:[{title:"Ant Design",logo:"https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"},{title:"Material-UI",logo:"https://mui.com/static/logo.png"},{title:"Shadcn",logo:"https://ui.shadcn.com/favicon.ico"},{title:"Tailwind CSS",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Tailwind_CSS_Logo.svg/512px-Tailwind_CSS_Logo.svg.png?20230715030042"},{title:"Bootstrap",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/b/b2/Bootstrap_logo.svg/512px-Bootstrap_logo.svg.png"}]},{text:"Libraries / Frameworks / Techs",arr:[{title:"Prisma",logo:"https://www.svgrepo.com/show/374002/prisma.svg"},{title:"Android App Development",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg"},{title:"NodeJS",logo:"https://www.vectorlogo.zone/logos/nodejs/nodejs-icon.svg"},{title:"ExpressJS",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/f38ec9f9-a921-4c96-8fb3-f2a598c1d0b4"},{title:"ReactJS",logo:"https://www.vectorlogo.zone/logos/reactjs/reactjs-icon.svg"},{title:"Redux",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/77226ad4-1e3a-46ac-b287-e41ee5b5fec7"},{title:"React Native",logo:"https://d33wubrfki0l68.cloudfront.net/554c3b0e09cf167f0281fda839a5433f2040b349/ecfc9/img/header_logo.svg"},{title:"ElectronJS",logo:"https://www.vectorlogo.zone/logos/electronjs/electronjs-icon.svg"},{title:"Angular2+",logo:"https://angular.io/assets/images/logos/angular/angular.svg"},{title:"Mongoose",logo:"https://avatars.githubusercontent.com/u/7552965?s=200&v=4"},{title:"NextJS",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/1b988896-5ab2-42b4-a4f3-153d42c6488c"},{title:"OpenCV",logo:"https://www.vectorlogo.zone/logos/opencv/opencv-icon.svg"},{title:"Firebase",logo:"https://www.vectorlogo.zone/logos/firebase/firebase-icon.svg"},{title:"Flutter",logo:"https://www.vectorlogo.zone/logos/flutterio/flutterio-icon.svg"},{title:"Beautiful soup",logo:"https://github.com/3r4y/react-portfolio-template/assets/6418354/c9199eab-529b-4314-a990-c46deba899e9"},{title:"Numpy",logo:"https://numpy.org/images/logo.svg"},{title:"Tauri",logo:"https://raw.githubusercontent.com/tauri-apps/tauri/HEAD/app-icon.png"},{title:"VueJS",logo:"https://vuejs.org/images/logo.png"},{title:"Pandas",logo:"https://pandas.pydata.org/static/img/pandas_white.svg"},{title:"Matplotlib",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/f5e59574-2fee-4ef3-86f6-31a331065f60"},{title:"Socket.io",logo:"https://socket.io/images/logo-dark.svg"},{title:"Flask",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/2183bb2b-7680-49f1-a626-b1f647e7d656"},{title:"Docker",logo:"https://cdn.iconscout.com/icon/free/png-128/docker-226091.png"},{title:"Git",logo:"https://www.vectorlogo.zone/logos/git-scm/git-scm-icon.svg"},{title:"Expo",logo:"https://www.vectorlogo.zone/logos/expoio/expoio-icon.svg"},{title:"NgInx",logo:"https://www.vectorlogo.zone/logos/nginx/nginx-icon.svg"},{title:"NestJS",logo:"https://d33wubrfki0l68.cloudfront.net/e937e774cbbe23635999615ad5d7732decad182a/26072/logo-small.ede75a6b.svg"}]},{text:"Others",arr:[{title:"Vim",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/9/9f/Vimlogo.svg/544px-Vimlogo.svg.png?20150726190850"},{title:"Android Studio",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Android_Studio_Icon_3.6.svg/512px-Android_Studio_Icon_3.6.svg.png?20210301045217"},{title:"VS Code",logo:"https://cdn.icon-icons.com/icons2/2107/PNG/512/file_type_vscode_icon_130084.png"},{title:"Jira",logo:"https://cdn.iconscout.com/icon/free/png-128/jira-3628861-3030001.png"},{title:"AWS",logo:"https://cdn.iconscout.com/icon/free/png-128/aws-1869025-1583149.png"},{title:"DigitalOcean",logo:"https://www.vectorlogo.zone/logos/digitalocean/digitalocean-icon.svg"},{title:"Figma",logo:"https://www.vectorlogo.zone/logos/figma/figma-icon.svg"},{title:"Heroku",logo:"https://www.vectorlogo.zone/logos/heroku/heroku-icon.svg"},{title:"Yarn",logo:"https://www.vectorlogo.zone/logos/yarnpkg/yarnpkg-icon.svg"},{title:"npm",logo:"https://www.vectorlogo.zone/logos/npmjs/npmjs-icon.svg"},{title:"Tampermonkey",logo:"https://www.tampermonkey.net/images/ricon48.png"},{title:"Greasemonkey",logo:"https://addons.mozilla.org/user-media/addon_icons/0/748-64.png?modified=1531822767"},{title:"Linux",logo:"https://www.freepnglogos.com/uploads/linux-png/file-icons-flat-linux-svg-wikimedia-commons-6.png"},{title:"Adobe Photoshop",logo:"https://www.adobe.com/content/dam/cc/icons/photoshop-mobile.svg"}]}]),Qn($t,"projects",[{text:"Web Apps",arr:[{title:"Duas",link:"https://p32929.github.io/duas/",logo:"https://p32929.github.io/duas/favicon.png",desc:"A collection of duas I try to regularly recite - created using flutter web"},{title:"Sha1ToMd5",link:"https://p32929.github.io/Sha1ToMd5/",logo:"https://github.com/user-attachments/assets/6d63227d-1b72-4c22-9923-b2a4c96d4b68",desc:"A simple utility tool to convert Google Play Release APK Sha1 value to MD5 for Facebook login to work. "},{title:"dobd.xyz",link:"https://admui.vercel.app",logo:"https://admui.vercel.app/android-chrome-512x512.png",desc:"Best online downloader for YouTube, Facebook, Instagram, Tiktok and more"},{title:"s3cr3tm3",link:"https://s3cr3tm3.netlify.app/",logo:"https://user-images.githubusercontent.com/6418354/173877444-59dbdd3d-1b5d-4b92-ad53-30fada9362d2.png",desc:"Share secret messages secretely"},{title:"OrderZesty",logo:"https://orderzesty.com/wp-content/uploads/2021/10/Zesty-icon@3x-300x300.png",desc:"Personal chef service delivering fresh signature meals.",link:"https://orderzesty.com/"},{title:"DramaDB",logo:"https://dramadb.vercel.app/apple-icon.png",desc:"A serverless hobby project that lets you filter Asian drama by country, genre, status, year and popularity",link:"https://dramadb.vercel.app/"},{title:"Sh0Sh0",logo:"https://github.com/3r4y/react-portfolio-template/assets/6418354/a159e1d8-fabc-4f58-9391-0c3be4d14d7e",desc:"A beautifully created Absolutely FREE URL shortener for everyone made using React Shadcn Firebase. ",link:"https://sh0sh0.netlify.app/"},{title:"BreakingMars",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/8b6c5a1c-fc31-44a8-822e-73814ff57ac3",desc:"#1 Leading & Effortless Prospect Perceiving Platform",link:"https://web.archive.org/web/20220413085335/https://www.breakingmars.com/"},{title:"Voomnow",desc:"Next generation audio recorder",logo:"https://user-images.githubusercontent.com/6418354/173876916-e27cb77f-49f1-4190-be54-4c1ddaa2973d.svg",link:"https://web.archive.org/web/20220326215025/https://www.voomnow.com/"},{title:"Shajao",logo:"https://sdn.signalhire.co/storage/company/1dfc/9704/f9d3/ff49/cdce/31bb/c4d7/0628.webp",desc:"Framing Happiness",link:"https://web.archive.org/web/20191222090655/https://shajao.com/"},{title:"ChargeOnSite",logo:"https://static.wixstatic.com/media/182a81_c4e4ee2bac6d4389a866239475519bdf~mv2.png/v1/fill/w_192%2Ch_192%2Clg_1%2Cusm_0.66_1.00_0.01/182a81_c4e4ee2bac6d4389a866239475519bdf~mv2.png",desc:"Charge OnSite",link:"https://www.chargeonsite.com/"},{title:"MathFinity",logo:"https://p32929.github.io/mathfinity/icons/Icon-192.png",desc:"Simple, infinite & fun math game for everyone",link:"https://p32929.github.io/mathfinity/"}]},{text:"iOS Apps",arr:[{title:"Adblock for YT",link:"https://apps.apple.com/au/app/adblock-for-youtube/id1592568016",logo:"https://is2-ssl.mzstatic.com/image/thumb/Purple126/v4/65/7e/a8/657ea8d9-c3aa-6951-38c8-948c05cd96c3/AppIcon-0-0-85-220-0-0-0-0-4-0-0-0-2x-sRGB-0-0-0-0-0.png/246x0w.webp",desc:"Removes ads from YT videos, embedded videos on third party websites and streams."},{title:"Al Quran by Quran Touch",link:"https://apps.apple.com/gb/app/al-quran-by-quran-touch/id585240351",logo:"https://is3-ssl.mzstatic.com/image/thumb/Purple112/v4/9d/7e/ed/9d7eedd6-e567-5251-bed6-dce7e868bb57/AppIcon-0-1x_U007emarketing-0-10-0-85-220.png/246x0w.webp",desc:"The most comprehensive Muslim App!"}]},{text:"Android Apps",arr:[{title:"Al Quran by Quran Touch",link:"https://www.apkmonk.com/app/com.qurantouch.qurantouchhd.app/",logo:"https://is3-ssl.mzstatic.com/image/thumb/Purple112/v4/9d/7e/ed/9d7eedd6-e567-5251-bed6-dce7e868bb57/AppIcon-0-1x_U007emarketing-0-10-0-85-220.png/246x0w.webp",desc:"The most comprehensive Muslim App!"},{title:"Thamao",logo:"https://cdn.apkmonk.com/logos/com.thamao_150x150.png",desc:"বাংলাদেশে স্মার্টফোনের চুরি এবার অসম্ভব",link:"https://www.apkmonk.com/app/com.thamao/"},{title:"Desplash",logo:"https://lh3.googleusercontent.com/ILrto9KguXlr-clbhYKUonpnHszgNp_N5Qvc8_u9QaM71oaqNKcYql2sV3sqZ7nqzsc=s180",desc:"Automatic Free High Quality Wallpapers powered by Unsplash.com",link:"https://www.xda-developers.com/desplash-wallpaper-app-unsplash/"},{title:"The Great Postman",logo:"https://lh3.googleusercontent.com/ni-lk3b2nTMZyC7r1wYBW6cm9eYqGAN-t6fXV-kD0lSyw1lO3kenC1We71fZjSryvFII=s180",desc:"Powerful, Lightweight REST API client for Android",link:"https://apkcombo.com/es/rest-api-client-the-great-postman/p32929.greatpostman/"},{title:"Sleepy - Addiction Remover",logo:"https://user-images.githubusercontent.com/6418354/192146268-29e1bac2-e477-4010-ae03-96adecbf07e6.png",desc:"The one and only EFFECTIVE addiction remover on Google Play store",link:"https://apkcombo.com/es/sleepy-phone-addiction-controller/p32929.lazyphone/"},{title:"Best CGPA Calculator",logo:"https://user-images.githubusercontent.com/6418354/192146303-6e04c9ac-ffb2-4931-bb10-ef54ff7af382.png",desc:"A simple yet effective CGPA Calculator for University students",link:"https://apkcombo.com/es/cgpa-calculator-for-update-see-the-description/p32929.cgpa_calculator/"},{title:"Buy Sell BD",logo:"https://image.winudf.com/v2/image1/cDMyOTI5LmJ1eXNlbGxiZF9pY29uXzE1NTkyOTQ5NjVfMDYz/icon.png?w=170&fakeurl=1",desc:"A better & more reliable alternative for Bikroy.com - A marketplace app for buying-selling new/used goods",link:"https://apkcombo.com/es/buy-sell-bd-buy-sell-everything-easily-in-bd/p32929.buysellbd/"},{title:"ExIn",logo:"https://lh3.googleusercontent.com/X8mRJd7JajvDXoW7NaluKt2IvC3osH6czkTPoWeSYJ96U2LWLKT4xiFgvNouwf-UvEk=s180",desc:"A Simple & user friendly income-expense tracker ",link:"https://apkcombo.com/es/exin-discontinued/p32929.exin/"},{title:"I am free",logo:"https://image.winudf.com/v2/image1/cDMyOTI5LmltZnJlZV9pY29uXzE1NzY4ODAwNzVfMDU3/icon.png?w=170&fakeurl=1",desc:"বেকার মুক্ত বাংলাদেশ গড়ার লক্ষ্যে - I am FREE",link:"https://apkcombo.com/es/i-am-free/p32929.imfree/"},{title:"Awesome NCTB",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5uY3RiX2ljb25fMTU3NjU3MjcwNF8wMjI/icon.png?fakeurl=1",desc:"Download NCTB Books easily and Free",link:"https://apkcombo.com/es/awesome-nctb/org.richit.nctb/"},{title:"বৃক্ষ ( Brikkho )",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5icmlra2hvX2ljb25fMTU3MDEyMTU0Ml8wODA/icon.png?fakeurl=1",desc:"Learn about trees in your fingertips",link:"https://apkcombo.com/es/%E0%A6%AC%E0%A7%83%E0%A6%95%E0%A7%8D%E0%A6%B7-brikkho/org.richit.brikkho/"},{title:"IQQuiz",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5pcXF1aXphcHBfaWNvbl8xNTcxMDE0NzcxXzA2Mg/icon.png?fakeurl=1",desc:"A simple IQ game",link:"https://apkcombo.com/es/iqquiz/org.richit.iqquizapp/"},{title:"BirdsLover",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5iaXJkc2xvdmVyX2ljb25fMTU3MjAwNDIxNl8wOTE/icon.png?fakeurl=1",desc:"Learn about birds in your fingertips",link:"https://apkcombo.com/es/birdslover/org.richit.birdslover/"},{title:"Animal Lover",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5hbmltYWxfaWNvbl8xNTc3MjkyMzIzXzAyMw/icon.png?fakeurl=1",desc:"Learn about birds in your fingertips",link:"https://apkcombo.com/es/animal-lover/org.richit.animal/"},{title:"Jibanananda Recitation (Abritti)",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5qaWJvbmFuZG9rb2JpdGFzb21vZ3JvX2ljb25fMTU3MDEwNDExNF8wNDc/icon.png?fakeurl=1",desc:"50+ poems of Jibanananda Das with audio recitation",link:"https://apkcombo.com/es/jibanananda-recitation-abritti/org.richit.jibonandokobitasomogro/"},{title:"MathLover (Simple, Infinite, Math game)",logo:"https://lh3.googleusercontent.com/GaisH_-MeK2c_ct4kp5qbqxbJPE-q4isTdZswR4CocgB8sLNCFk4beXdlmaaFuveKUwd",desc:"MathLover is a simple, infinite mathematical problem solving game for everyone.",link:"https://apkcombo.com/es/mathlover-simple-infinite-math-game/org.richit.mathblitz/"},{title:"Hospitals BD",logo:"https://lh3.googleusercontent.com/MMfY8vG1YfAFh1w6iHEp8NXCwl-NSCUDmfPkUAWmqhSGfO3JR7vBvw_XZzV8JxrDag",desc:"Get nearest Hospital Information in Bangladesh in your fingertips",link:"https://apkcombo.com/es/hospitals-bd/org.richit.contacthospitals/"},{title:"BirthdayBot",logo:"https://cdn.iconscout.com/icon/premium/png-256-thumb/gift-2990371-2484427.png",desc:"Birthday wishing apps, made for individual people...",link:"https://github.com/p32929/my_android_apps/releases/tag/all"}]},{text:"Desktop Apps",arr:[{title:"PotatoTimer",logo:"https://raw.githubusercontent.com/p32929/PotatoTimer/master/resources/icon.ico",desc:"A pomotodo app that forces you to take a break - created using ElectronJS",link:"https://github.com/p32929/Electron-Pomotodo"},{title:"Pomota",logo:"https://github.com/p32929/pomota/blob/master/src-tauri/icons/128x128.png?raw=true",desc:"A simple user-friendly cross-platform tauri based pomodoro timer app that forces you to take a break",link:"https://github.com/p32929/pomota"},{title:"google calender widget",logo:"https://duckduckgo.com/i/e2d8001c.png",desc:"An unofficial google calendar desktop widget for Windows, Mac and Linux ",link:"https://github.com/p32929/google-calender-widget"},{title:"MacJuiceMonitor",logo:"https://github.com/user-attachments/assets/21b4d0ac-1734-4d42-9da4-e873628a022a",desc:"Your essential tool for keeping track of all your Bluetooth-connected devices' battery levels, conveniently located in the macOS menu bar",link:"https://github.com/p32929/mac-juice-monitor"}]},{text:"Command Line Interfaces ( CLIs )",arr:[{title:"Shortcut Virus Remover",logo:"https://cdn-icons-png.flaticon.com/128/3223/3223766.png",desc:"Shortcut virus remover script for Windows",link:"https://github.com/p32929/Shortcut-Virus-Remover"},{title:"Fay",logo:"https://crates.io/assets/cargo.png",desc:"A simple cross platform CLI app written in Rust to automate multiple shell ( bash or cmd ) commands",link:"https://crates.io/crates/fay"},{title:"SIIN",logo:"https://crates.io/assets/cargo.png",desc:"A batch installer that downloads and installs a list of apps, written in Rust ( Kinda like Ninite )",link:"https://crates.io/crates/siin"}]},{text:"Automations",arr:[{title:"Dingtone Bot",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/f24e64e7-ef7a-4d2d-a7d9-55f4797043cf",desc:"A bot made using Python and UIAutomator2 to automate watching ads on certain apps to get credits",link:"https://drive.google.com/file/d/159D_tco3qkpgh2a3CWz-f0ixPEpeUN8V/view?usp=sharing"},{title:"Indeed-Linkedin bot",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/f24e64e7-ef7a-4d2d-a7d9-55f4797043cf",desc:"An automation bot created using playwright to automate applying jobs on Indeed and Linkedin",link:"https://drive.google.com/file/d/10Xc4Y0Z5KXxKhb9StF3bQfivYHHeNZsa/view?usp=sharing"}]},{text:"Libraries / Packages / Crates",arr:[{title:"AndroidEasySQL-Library",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"An Easier & Lazier approach to SQL database for Android",link:"https://github.com/p32929/AndroidEasySQL-Library"},{title:"AndroidAppLockscreen",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"An Easier & Lazier approach to getting runtime permission in Android ",link:"https://github.com/p32929/AndroidAppLockscreen"},{title:"Manufacturer Battery Optimization",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"Simple helper class for Android Battery Optimization ignoring in some devices",link:"https://gist.github.com/p32929/41e7af650f6a2c11e9306ab600fb9b03"},{title:"MyHouse Ads Android",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A library for cross promoting own apps within own apps - for Android",link:"https://github.com/p32929/MyHouseAdsAndroid"},{title:"House Ads 2",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A library ( V2 ) for cross promoting own apps within own apps - for Android",link:"https://github.com/p32929/HouseAds2"},{title:"Android App Updater",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A simple, Lightweight App Updater Library for Android",link:"https://github.com/p32929/AndroidAppUpdater"},{title:"Office About",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A simple about screen library for Android for a Team of people",link:"https://github.com/p32929/OfficeAbout"},{title:"Json Viewer Android",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A simple JSON Viewer for Android"},{title:"Android Receivers Library",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A library for simpler BroadcastReceiver implementations"},{title:"Fay",logo:"https://crates.io/assets/cargo.png",desc:"A simple cross platform CLI app written in Rust to automate multiple shell ( bash or cmd ) commands",link:"https://crates.io/crates/fay"},{title:"fayfetch",logo:"https://avatars.githubusercontent.com/u/6078720?s=200&v=4",desc:"A simple wrapper for Fetch",link:"https://www.npmjs.com/package/fayfetch"},{title:"fjsondb",logo:"https://avatars.githubusercontent.com/u/6078720?s=200&v=4",desc:"A fast and simple JSON database for NodeJS",link:"https://www.npmjs.com/package/fjsondb"},{title:"str_template",logo:"https://avatars.githubusercontent.com/u/6078720?s=200&v=4",desc:"A fast and simple string templating library, written in TypeScript ( Supports both Client side and Server side JavaScript / TypeScript )",link:"https://www.npmjs.com/package/str-template-ts"},{title:"use-megamind",logo:"https://avatars.githubusercontent.com/u/6078720?s=200&v=4",desc:" A simple react hook for managing asynchronous function calls with ease on the client side ",link:"https://github.com/p32929/use-megamind"},{title:"EasiestDB",logo:"https://cdn.iconscout.com/icon/free/png-256/free-flutter-3521432-2944876.png",desc:"The Easiest and the Laziest approach to Flutter SQL Database.",link:"https://pub.dev/packages/easiestdb"},{title:"Simply Wifi",logo:"https://cdn.iconscout.com/icon/free/png-256/free-flutter-3521432-2944876.png",desc:"A simplified version of the wifi_iot package",link:"https://pub.dev/packages/simply_wifi"},{title:"audio_duration",logo:"https://cdn.iconscout.com/icon/free/png-256/free-flutter-3521432-2944876.png",desc:"Just a simple flutter package to get the duration of any audio file ( like: mp3 ) in milliseconds",link:"https://pub.dev/packages/audio_duration"}]},{text:"Extensions / Plugins / Addons",arr:[{title:"vscode nvim leave insertmode",logo:"https://code.visualstudio.com/assets/images/code-stable.png",desc:"This basic VSCode extension ensures that neovim is in normal mode switching between text editor panels.",link:"https://marketplace.visualstudio.com/items?itemName=p32929.vscode-nvim-leave-insertmode"},{title:"one console log",logo:"https://code.visualstudio.com/assets/images/code-stable.png",desc:"A modified version of the turbo-console-log that adds only one line of console instead of multiples.",link:"https://marketplace.visualstudio.com/items?itemName=p32929.one-console-log"},{title:"Home",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Google_Chrome_icon_%28February_2022%29.svg/800px-Google_Chrome_icon_%28February_2022%29.svg.png",desc:"A Simple homepage extension created using Shadcn, React, TypeScript, usm-redux etc ",link:"https://github.com/p32929/Home"},{title:"obsidotion",logo:"https://obsidian.md/images/obsidian-logo-gradient.svg",desc:"Asimple obsidian plugin that syncs from/to obsidian/notion ",link:"https://github.com/p32929/obsidotion"}]}]),Qn($t,"contacts",[{text:"Contact me",arr:[{title:"WhatsApp ( Recommended )",logo:"https://user-images.githubusercontent.com/6418354/155842184-b064bf36-de8e-4317-8f8e-cb7755eed995.png",link:"https://api.whatsapp.com/send?phone=8801796306262",desc:"+8801796306262"},{title:"Email",logo:"https://cdn3d.iconscout.com/3d/premium/thumb/email-address-4437044-3684811.png",desc:"p32929.ceo@gmail.com",link:"mailto:p32929.ceo@gmail.com"},{title:"Telegram",logo:"https://cdn-icons-png.flaticon.com/128/2111/2111646.png",desc:"@p32929",link:"https://t.me/p32929"}]},{text:"Others",arr:[{title:"Anywhere on the internet",logo:"https://user-images.githubusercontent.com/6418354/155840900-91ac076a-8d2b-45dc-b346-66f72d376d4b.png",desc:"@p32929"},{title:"GitHub",logo:"https://cdn-icons-png.flaticon.com/128/1051/1051275.png",link:"https://github.com/p32929/"},{title:"LinkedIn",logo:"https://user-images.githubusercontent.com/6418354/155841027-8698cb12-7ddd-4604-a4ea-c618ddbc1cd8.png",link:"https://www.linkedin.com/in/p32929/"},{title:"Facebook",logo:"https://user-images.githubusercontent.com/6418354/155840898-9e2327aa-a280-45e3-8266-8268242abda4.png",link:"https://www.facebook.com/p32929"},{title:"Twitter",logo:"https://user-images.githubusercontent.com/6418354/155841031-532d5d6e-797a-4da1-8064-48d266b69ab2.png",link:"https://twitter.com/p32929"},{title:"Instagram",logo:"https://user-images.githubusercontent.com/6418354/155841023-0b842621-56a3-42ec-81f1-3944034b09c7.png",link:"https://www.instagram.com/p32929/"},{title:"Fiverr",logo:"https://cdn.worldvectorlogo.com/logos/fiverr-1.svg",link:"https://www.fiverr.com/users/fayazbinsalam/"},{title:"Upwork",logo:"https://cdn.worldvectorlogo.com/logos/upwork-roundedsquare-1.svg",link:"https://www.upwork.com/freelancers/~017dbf657b99b0c1c1"},{title:"Medium",logo:"https://seeklogo.com/images/M/medium-logo-93CDCF6451-seeklogo.com.png",link:"https://medium.com/@p32929_77176"},{title:"xda",logo:"https://www.svgrepo.com/show/331651/xda-developers.svg",link:"https://forum.xda-developers.com/m/p32929.5346826/"},{title:"Product Hunt",logo:"https://seeklogo.com/images/P/product-hunt-logo-A144953C4C-seeklogo.com.png?v=637846885100000000",link:"https://www.producthunt.com/@p32929"},{title:"UVA Online Judge",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/5e21914b-9dfd-4394-bfa3-d2e216e8ce39",link:"https://uhunt.onlinejudge.org/id/590978"},{title:"URI Online Judge",logo:"https://user-images.githubusercontent.com/26368939/110052090-be0a0b00-7d35-11eb-8827-993190a9568e.png",link:"https://www.beecrowd.com.br/judge/en/profile/76542"},{title:"Buy Me a Coffee",logo:"https://cdn.iconscout.com/icon/free/png-256/free-buymeacoffee-3628667-3029892.png",link:"https://www.buymeacoffee.com/p32929"},{title:"Skype",logo:"https://user-images.githubusercontent.com/6418354/155840899-62c1fe8e-66a6-4492-9acc-5bd504ac21ef.png",desc:"p32929",link:"skype:p32929?chat"}]},{text:"Thank you for visiting my portfolio",arr:[{title:"Click on the link button",desc:"To create your own portfolio. It will only take around 3 minutes",logo:"https://cdn.iconscout.com/icon/premium/png-256-thumb/gift-2990371-2484427.png",link:"https://github.com/p32929/p32929.github.io/"}]}]);const Kt={initialInformation:$t.initialInformation,directMessageItems:$t.directMessageItems,routes:[{name:"About",items:$t.about},{name:"Skills",items:$t.skills},{name:"Projects",items:$t.projects},{name:"Contact",items:$t.contacts}]};function zw(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;t{const t=KC(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(Mp);return a[0]===""&&a.length!==1&&a.shift(),Bw(a,t)||HC(s)},getConflictingClassGroupIds:(s,a)=>{const u=n[s]||[];return a&&r[s]?[...u,...r[s]]:u}}},Bw=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Bw(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(Mp);return(s=t.validators.find(({validator:a})=>a(i)))==null?void 0:s.classGroupId},ov=/^\[(.+)\]$/,HC=e=>{if(ov.test(e)){const t=ov.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},KC=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return YC(Object.entries(e.classGroups),n).forEach(([i,s])=>{Zf(s,r,i,t)}),r},Zf=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:iv(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(qC(o)){Zf(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{Zf(s,iv(t,i),n,r)})})},iv=(e,t)=>{let n=e;return t.split(Mp).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},qC=e=>e.isThemeGetter,YC=(e,t)=>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,XC=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const 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)}}},$w="!",QC=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=a=>{const u=[];let l=0,c=0,f;for(let x=0;xc?f-c:void 0;return{modifiers:u,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:y}};return n?a=>n({className:a,parseClassName:s}):s},ZC=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},JC=e=>({cache:XC(e.cacheSize),parseClassName:QC(e),...GC(e)}),ek=/\s+/,tk=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(ek);let a="";for(let u=s.length-1;u>=0;u-=1){const l=s[u],{modifiers:c,hasImportantModifier:f,baseClassName:d,maybePostfixModifierPosition:m}=n(l);let g=!!m,y=r(g?d.substring(0,m):d);if(!y){if(!g){a=l+(a.length>0?" "+a:a);continue}if(y=r(d),!y){a=l+(a.length>0?" "+a:a);continue}g=!1}const x=ZC(c).join(":"),h=f?x+$w:x,p=h+y;if(i.includes(p))continue;i.push(p);const v=o(y,g);for(let b=0;b0?" "+a:a)}return a};function nk(){let e=0,t,n,r="";for(;e{if(typeof e=="string")return e;let t,n="";for(let r=0;rf(c),e());return n=JC(l),r=n.cache.get,o=n.cache.set,i=a,a(u)}function a(u){const l=r(u);if(l)return l;const c=tk(u,n);return o(u,c),c}return function(){return i(nk.apply(null,arguments))}}const ge=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Gw=/^\[(?:([a-z-]+):)?(.+)\]$/i,ok=/^\d+\/\d+$/,ik=new Set(["px","full","screen"]),sk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ak=/\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$/,lk=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,uk=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ck=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_n=e=>Go(e)||ik.has(e)||ok.test(e),Jn=e=>gi(e,"length",yk),Go=e=>!!e&&!Number.isNaN(Number(e)),xc=e=>gi(e,"number",Go),Oi=e=>!!e&&Number.isInteger(Number(e)),fk=e=>e.endsWith("%")&&Go(e.slice(0,-1)),ee=e=>Gw.test(e),er=e=>sk.test(e),dk=new Set(["length","size","percentage"]),pk=e=>gi(e,dk,Hw),hk=e=>gi(e,"position",Hw),mk=new Set(["image","url"]),vk=e=>gi(e,mk,bk),gk=e=>gi(e,"",wk),Mi=()=>!0,gi=(e,t,n)=>{const r=Gw.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},yk=e=>ak.test(e)&&!lk.test(e),Hw=()=>!1,wk=e=>uk.test(e),bk=e=>ck.test(e),xk=()=>{const e=ge("colors"),t=ge("spacing"),n=ge("blur"),r=ge("brightness"),o=ge("borderColor"),i=ge("borderRadius"),s=ge("borderSpacing"),a=ge("borderWidth"),u=ge("contrast"),l=ge("grayscale"),c=ge("hueRotate"),f=ge("invert"),d=ge("gap"),m=ge("gradientColorStops"),g=ge("gradientColorStopPositions"),y=ge("inset"),x=ge("margin"),h=ge("opacity"),p=ge("padding"),v=ge("saturate"),b=ge("scale"),E=ge("sepia"),P=ge("skew"),k=ge("space"),T=ge("translate"),O=()=>["auto","contain","none"],D=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",ee,t],F=()=>[ee,t],K=()=>["",_n,Jn],V=()=>["auto",Go,ee],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],W=()=>["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"],R=()=>["","0",ee],N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>[Go,ee];return{cacheSize:500,separator:":",theme:{colors:[Mi],spacing:[_n,Jn],blur:["none","",er,ee],brightness:G(),borderColor:[e],borderRadius:["none","","full",er,ee],borderSpacing:F(),borderWidth:K(),contrast:G(),grayscale:R(),hueRotate:G(),invert:R(),gap:F(),gradientColorStops:[e],gradientColorStopPositions:[fk,Jn],inset:z(),margin:z(),opacity:G(),padding:F(),saturate:G(),scale:G(),sepia:R(),skew:G(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",ee]}],container:["container"],columns:[{columns:[er]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"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:[...B(),ee]}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Oi,ee]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ee]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",Oi,ee]}],"grid-cols":[{"grid-cols":[Mi]}],"col-start-end":[{col:["auto",{span:["full",Oi,ee]},ee]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[Mi]}],"row-start-end":[{row:["auto",{span:[Oi,ee]},ee]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ee]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ee]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"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:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ee,t]}],"min-w":[{"min-w":[ee,t,"min","max","fit"]}],"max-w":[{"max-w":[ee,t,"none","full","min","max","fit","prose",{screen:[er]},er]}],h:[{h:[ee,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ee,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ee,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ee,t,"auto","min","max","fit"]}],"font-size":[{text:["base",er,Jn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",xc]}],"font-family":[{font:[Mi]}],"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",ee]}],"line-clamp":[{"line-clamp":["none",Go,xc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",_n,ee]}],"list-image":[{"list-image":["none",ee]}],"list-style-type":[{list:["none","disc","decimal",ee]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",_n,Jn]}],"underline-offset":[{"underline-offset":["auto",_n,ee]}],"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:F()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ee]}],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",ee]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),hk]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",pk]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},vk]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],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":[h]}],"border-style":[{border:[...$(),"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":[h]}],"divide-style":[{divide:$()}],"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:["",...$()]}],"outline-offset":[{"outline-offset":[_n,ee]}],"outline-w":[{outline:[_n,Jn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[_n,Jn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",er,gk]}],"shadow-color":[{shadow:[Mi]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...W(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":W()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",er,ee]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"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",ee]}],duration:[{duration:G()}],ease:[{ease:["linear","in","out","in-out",ee]}],delay:[{delay:G()}],animate:[{animate:["none","spin","ping","pulse","bounce",ee]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[Oi,ee]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[P]}],"skew-y":[{"skew-y":[P]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ee]}],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",ee]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":F()}],"scroll-mx":[{"scroll-mx":F()}],"scroll-my":[{"scroll-my":F()}],"scroll-ms":[{"scroll-ms":F()}],"scroll-me":[{"scroll-me":F()}],"scroll-mt":[{"scroll-mt":F()}],"scroll-mr":[{"scroll-mr":F()}],"scroll-mb":[{"scroll-mb":F()}],"scroll-ml":[{"scroll-ml":F()}],"scroll-p":[{"scroll-p":F()}],"scroll-px":[{"scroll-px":F()}],"scroll-py":[{"scroll-py":F()}],"scroll-ps":[{"scroll-ps":F()}],"scroll-pe":[{"scroll-pe":F()}],"scroll-pt":[{"scroll-pt":F()}],"scroll-pr":[{"scroll-pr":F()}],"scroll-pb":[{"scroll-pb":F()}],"scroll-pl":[{"scroll-pl":F()}],"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",ee]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[_n,Jn,xc]}],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"]}}},Sk=rk(xk);function ie(...e){return Sk(WC(e))}const Jf=(e,t)=>{const n=e.length;if(t<0&&(t+=n),t>=0&&t{var t;(t=document.getElementById(e))==null||t.scrollIntoView({behavior:"smooth"}),console.log("Scrolled")},Es=e=>{const t=["http","skype:","mailto:"];for(var n=0;n{const e=[];Kt.directMessageItems.forEach(n=>{Es(n.link)&&e.push(n.link)});const t=n=>{n.forEach(r=>{r.link&&Es(r.link)&&e.push(r.link),r.arr&&t(r.arr)})};if(Kt.routes.forEach(n=>{t(n.items)}),e.length>0){const n=Math.floor(Math.random()*e.length);return e[n]}else return null},Vs=w.forwardRef(({className:e,...t},n)=>S.jsx("div",{ref:n,className:ie("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Vs.displayName="Card";const Tk=w.forwardRef(({className:e,...t},n)=>S.jsx("div",{ref:n,className:ie("flex flex-col space-y-1.5 p-6",e),...t}));Tk.displayName="CardHeader";const Kw=w.forwardRef(({className:e,...t},n)=>S.jsx("h3",{ref:n,className:ie("font-semibold leading-none tracking-tight",e),...t}));Kw.displayName="CardTitle";const qw=w.forwardRef(({className:e,...t},n)=>S.jsx("p",{ref:n,className:ie("text-sm text-muted-foreground",e),...t}));qw.displayName="CardDescription";const du=w.forwardRef(({className:e,...t},n)=>S.jsx("div",{ref:n,className:ie("p-6 pt-0",e),...t}));du.displayName="CardContent";const Pk=w.forwardRef(({className:e,...t},n)=>S.jsx("div",{ref:n,className:ie("flex items-center p-6 pt-0",e),...t}));Pk.displayName="CardFooter";function Ck(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function pu(...e){return t=>e.forEach(n=>Ck(n,t))}function $e(...e){return w.useCallback(pu(...e),e)}var eo=w.forwardRef((e,t)=>{const{children:n,...r}=e,o=w.Children.toArray(n),i=o.find(_k);if(i){const s=i.props.children,a=o.map(u=>u===i?w.Children.count(s)>1?w.Children.only(null):w.isValidElement(s)?s.props.children:null:u);return S.jsx(ed,{...r,ref:t,children:w.isValidElement(s)?w.cloneElement(s,void 0,a):null})}return S.jsx(ed,{...r,ref:t,children:n})});eo.displayName="Slot";var ed=w.forwardRef((e,t)=>{const{children:n,...r}=e;if(w.isValidElement(n)){const o=Rk(n);return w.cloneElement(n,{...Ak(r,n.props),ref:t?pu(t,o):o})}return w.Children.count(n)>1?w.Children.only(null):null});ed.displayName="SlotClone";var kk=({children:e})=>S.jsx(S.Fragment,{children:e});function _k(e){return w.isValidElement(e)&&e.type===kk}function Ak(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 Rk(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 Yw(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,av=Ik,Xw=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return av(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(l=>{const c=n==null?void 0:n[l],f=i==null?void 0:i[l];if(c===null)return null;const d=sv(c)||sv(f);return o[l][d]}),a=n&&Object.entries(n).reduce((l,c)=>{let[f,d]=c;return d===void 0||(l[f]=d),l},{}),u=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((l,c)=>{let{class:f,className:d,...m}=c;return Object.entries(m).every(g=>{let[y,x]=g;return Array.isArray(x)?x.includes({...i,...a}[y]):{...i,...a}[y]===x})?[...l,f,d]:l},[]);return av(e,s,u,n==null?void 0:n.class,n==null?void 0:n.className)},Ok=Xw("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),wn=w.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const s=r?eo:"button";return S.jsx(s,{className:ie(Ok({variant:t,size:n,className:e})),ref:i,...o})});wn.displayName="Button";/** +`+i.stack}return{value:e,source:t,stack:o,digest:null}}function gc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ff(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var mC=typeof WeakMap=="function"?WeakMap:Map;function pw(e,t,n){n=Dn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){kl||(kl=!0,qf=r),Ff(e,t)},n}function hw(e,t,n){n=Dn(-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(){Ff(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Ff(e,t),typeof r!="function"&&(vr===null?vr=new Set([this]):vr.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Vm(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new mC;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=AC.bind(null,e,t,n),t.then(e,e))}function Um(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 zm(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=Dn(-1,1),t.tag=2,mr(n,t,1))),n.lanes|=1),e)}var vC=Kn.ReactCurrentOwner,St=!1;function ft(e,t,n,r){t.child=e===null?$0(t,null,n,r):ei(t,e.child,n,r)}function Bm(e,t,n,r,o){n=n.render;var i=t.ref;return $o(t,o),r=gp(e,t,n,r,i,o),n=yp(),e!==null&&!St?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Wn(e,t,o)):(xe&&n&&ip(t),t.flags|=1,ft(e,t,r,o),t.child)}function $m(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!_p(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,mw(e,t,i,r,o)):(e=qa(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:ps,n(s,r)&&e.ref===t.ref)return Wn(e,t,o)}return t.flags|=1,e=yr(i,r),e.ref=t.ref,e.return=t,t.child=e}function mw(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(ps(i,r)&&e.ref===t.ref)if(St=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(St=!0);else return t.lanes=e.lanes,Wn(e,t,o)}return Vf(e,t,n,r,o)}function vw(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},he(Oo,Ct),Ct|=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,he(Oo,Ct),Ct|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,he(Oo,Ct),Ct|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,he(Oo,Ct),Ct|=r;return ft(e,t,o,n),t.child}function gw(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Vf(e,t,n,r,o){var i=Tt(n)?Yr:ct.current;return i=Zo(t,i),$o(t,o),n=gp(e,t,n,r,i,o),r=yp(),e!==null&&!St?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Wn(e,t,o)):(xe&&r&&ip(t),t.flags|=1,ft(e,t,n,o),t.child)}function Wm(e,t,n,r,o){if(Tt(n)){var i=!0;gl(t)}else i=!1;if($o(t,o),t.stateNode===null)Ga(e,t),dw(t,n,r),jf(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var u=s.context,l=n.contextType;typeof l=="object"&&l!==null?l=Xt(l):(l=Tt(n)?Yr:ct.current,l=Zo(t,l));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||u!==l)&&Fm(t,s,r,l),or=!1;var d=t.memoizedState;s.state=d,Sl(t,r,s,o),u=t.memoizedState,a!==r||d!==u||Et.current||or?(typeof c=="function"&&(Lf(t,n,c,r),u=t.memoizedState),(a=or||jm(t,n,a,r,d,u,l))?(f||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=u),s.props=r,s.state=u,s.context=l,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,G0(e,t),a=t.memoizedProps,l=t.type===t.elementType?a:Jt(t.type,a),s.props=l,f=t.pendingProps,d=s.context,u=n.contextType,typeof u=="object"&&u!==null?u=Xt(u):(u=Tt(n)?Yr:ct.current,u=Zo(t,u));var m=n.getDerivedStateFromProps;(c=typeof m=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||d!==u)&&Fm(t,s,r,u),or=!1,d=t.memoizedState,s.state=d,Sl(t,r,s,o);var g=t.memoizedState;a!==f||d!==g||Et.current||or?(typeof m=="function"&&(Lf(t,n,m,r),g=t.memoizedState),(l=or||jm(t,n,l,r,d,g,u)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,g,u),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,g,u)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),s.props=r,s.state=g,s.context=u,r=l):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Uf(e,t,n,r,i,o)}function Uf(e,t,n,r,o,i){gw(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&Am(t,n,!1),Wn(e,t,i);r=t.stateNode,vC.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=ei(t,e.child,null,i),t.child=ei(t,null,a,i)):ft(e,t,a,i),t.memoizedState=r.state,o&&Am(t,n,!0),t.child}function yw(e){var t=e.stateNode;t.pendingContext?_m(e,t.pendingContext,t.pendingContext!==t.context):t.context&&_m(e,t.context,!1),pp(e,t.containerInfo)}function Gm(e,t,n,r,o){return Jo(),ap(o),t.flags|=256,ft(e,t,n,r),t.child}var zf={dehydrated:null,treeContext:null,retryLane:0};function Bf(e){return{baseLanes:e,cachePool:null,transitions:null}}function ww(e,t,n){var r=t.pendingProps,o=Pe.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),he(Pe,o&1),e===null)return Nf(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=au(s,r,0,null),e=Kr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Bf(n),t.memoizedState=zf,e):xp(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return gC(e,t,s,r,a,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,a=o.sibling;var u={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=yr(o,u),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=yr(a,i):(i=Kr(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?Bf(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=zf,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 xp(e,t){return t=au({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ha(e,t,n,r){return r!==null&&ap(r),ei(t,e.child,null,n),e=xp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function gC(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=gc(Error(U(422))),ha(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=au({mode:"visible",children:r.children},o,0,null),i=Kr(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&ei(t,e.child,null,s),t.child.memoizedState=Bf(s),t.memoizedState=zf,i);if(!(t.mode&1))return ha(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(U(419)),r=gc(i,r,void 0),ha(e,t,s,r)}if(a=(s&e.childLanes)!==0,St||a){if(r=Xe,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,$n(e,o),on(r,e,o,-1))}return kp(),r=gc(Error(U(421))),ha(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=RC.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Rt=hr(o.nextSibling),It=t,xe=!0,tn=null,e!==null&&(zt[Bt++]=On,zt[Bt++]=Mn,zt[Bt++]=Xr,On=e.id,Mn=e.overflow,Xr=t),t=xp(t,r.children),t.flags|=4096,t)}function Hm(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Df(e.return,t,n)}function yc(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 bw(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ft(e,t,r.children,n),r=Pe.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&&Hm(e,n,t);else if(e.tag===19)Hm(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(he(Pe,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&&El(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),yc(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&&El(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}yc(t,!0,n,null,i);break;case"together":yc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ga(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Wn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Zr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(U(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 yC(e,t,n){switch(t.tag){case 3:yw(t),Jo();break;case 5:H0(t);break;case 1:Tt(t.type)&&gl(t);break;case 4:pp(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;he(bl,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(he(Pe,Pe.current&1),t.flags|=128,null):n&t.child.childLanes?ww(e,t,n):(he(Pe,Pe.current&1),e=Wn(e,t,n),e!==null?e.sibling:null);he(Pe,Pe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return bw(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),he(Pe,Pe.current),r)break;return null;case 22:case 23:return t.lanes=0,vw(e,t,n)}return Wn(e,t,n)}var xw,$f,Sw,Ew;xw=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}};$f=function(){};Sw=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,$r(En.current);var i=null;switch(n){case"input":o=ff(e,o),r=ff(e,r),i=[];break;case"select":o=_e({},o,{value:void 0}),r=_e({},r,{value:void 0}),i=[];break;case"textarea":o=hf(e,o),r=hf(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ml)}vf(n,r);var s;n=null;for(l in o)if(!r.hasOwnProperty(l)&&o.hasOwnProperty(l)&&o[l]!=null)if(l==="style"){var a=o[l];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else l!=="dangerouslySetInnerHTML"&&l!=="children"&&l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(ss.hasOwnProperty(l)?i||(i=[]):(i=i||[]).push(l,null));for(l in r){var u=r[l];if(a=o!=null?o[l]:void 0,r.hasOwnProperty(l)&&u!==a&&(u!=null||a!=null))if(l==="style")if(a){for(s in a)!a.hasOwnProperty(s)||u&&u.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in u)u.hasOwnProperty(s)&&a[s]!==u[s]&&(n||(n={}),n[s]=u[s])}else n||(i||(i=[]),i.push(l,n)),n=u;else l==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(i=i||[]).push(l,u)):l==="children"?typeof u!="string"&&typeof u!="number"||(i=i||[]).push(l,""+u):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&(ss.hasOwnProperty(l)?(u!=null&&l==="onScroll"&&ye("scroll",e),i||a===u||(i=[])):(i=i||[]).push(l,u))}n&&(i=i||[]).push("style",n);var l=i;(t.updateQueue=l)&&(t.flags|=4)}};Ew=function(e,t,n,r){n!==r&&(t.flags|=4)};function Ri(e,t){if(!xe)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 st(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 wC(e,t,n){var r=t.pendingProps;switch(sp(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return st(t),null;case 1:return Tt(t.type)&&vl(),st(t),null;case 3:return r=t.stateNode,ti(),we(Et),we(ct),mp(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(da(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,tn!==null&&(Qf(tn),tn=null))),$f(e,t),st(t),null;case 5:hp(t);var o=$r(ys.current);if(n=t.type,e!==null&&t.stateNode!=null)Sw(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(U(166));return st(t),null}if(e=$r(En.current),da(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[gn]=t,r[vs]=i,e=(t.mode&1)!==0,n){case"dialog":ye("cancel",r),ye("close",r);break;case"iframe":case"object":case"embed":ye("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[gn]=t,e[vs]=r,xw(e,t,!1,!1),t.stateNode=e;e:{switch(s=gf(n,r),n){case"dialog":ye("cancel",e),ye("close",e),o=r;break;case"iframe":case"object":case"embed":ye("load",e),o=r;break;case"video":case"audio":for(o=0;ori&&(t.flags|=128,r=!0,Ri(i,!1),t.lanes=4194304)}else{if(!r)if(e=El(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ri(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!xe)return st(t),null}else 2*Me()-i.renderingStartTime>ri&&n!==1073741824&&(t.flags|=128,r=!0,Ri(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=Me(),t.sibling=null,n=Pe.current,he(Pe,r?n&1|2:n&1),t):(st(t),null);case 22:case 23:return Cp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ct&1073741824&&(st(t),t.subtreeFlags&6&&(t.flags|=8192)):st(t),null;case 24:return null;case 25:return null}throw Error(U(156,t.tag))}function bC(e,t){switch(sp(t),t.tag){case 1:return Tt(t.type)&&vl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ti(),we(Et),we(ct),mp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return hp(t),null;case 13:if(we(Pe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(U(340));Jo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return we(Pe),null;case 4:return ti(),null;case 10:return cp(t.type._context),null;case 22:case 23:return Cp(),null;case 24:return null;default:return null}}var ma=!1,lt=!1,xC=typeof WeakSet=="function"?WeakSet:Set,H=null;function Io(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Re(e,t,r)}else n.current=null}function Wf(e,t,n){try{n()}catch(r){Re(e,t,r)}}var Km=!1;function SC(e,t){if(kf=dl,e=_0(),op(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,u=-1,l=0,c=0,f=e,d=null;t:for(;;){for(var m;f!==n||o!==0&&f.nodeType!==3||(a=s+o),f!==i||r!==0&&f.nodeType!==3||(u=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)d=f,f=m;for(;;){if(f===e)break t;if(d===n&&++l===o&&(a=s),d===i&&++c===r&&(u=s),(m=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=m}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(_f={focusedElem:e,selectionRange:n},dl=!1,H=t;H!==null;)if(t=H,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,H=e;else for(;H!==null;){t=H;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,x=g.memoizedState,h=t.stateNode,p=h.getSnapshotBeforeUpdate(t.elementType===t.type?y:Jt(t.type,y),x);h.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(U(163))}}catch(b){Re(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,H=e;break}H=t.return}return g=Km,Km=!1,g}function Yi(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&&Wf(t,n,i)}o=o.next}while(o!==r)}}function iu(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 Gf(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 Tw(e){var t=e.alternate;t!==null&&(e.alternate=null,Tw(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[gn],delete t[vs],delete t[If],delete t[oC],delete t[iC])),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 Pw(e){return e.tag===5||e.tag===3||e.tag===4}function qm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Pw(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 Hf(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=ml));else if(r!==4&&(e=e.child,e!==null))for(Hf(e,t,n),e=e.sibling;e!==null;)Hf(e,t,n),e=e.sibling}function Kf(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(Kf(e,t,n),e=e.sibling;e!==null;)Kf(e,t,n),e=e.sibling}var et=null,en=!1;function Zn(e,t,n){for(n=n.child;n!==null;)Cw(e,t,n),n=n.sibling}function Cw(e,t,n){if(Sn&&typeof Sn.onCommitFiberUnmount=="function")try{Sn.onCommitFiberUnmount(Ql,n)}catch{}switch(n.tag){case 5:lt||Io(n,t);case 6:var r=et,o=en;et=null,Zn(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?fc(e.parentNode,n):e.nodeType===1&&fc(e,n),fs(e)):fc(et,n.stateNode));break;case 4:r=et,o=en,et=n.stateNode.containerInfo,en=!0,Zn(e,t,n),et=r,en=o;break;case 0:case 11:case 14:case 15:if(!lt&&(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)&&Wf(n,t,s),o=o.next}while(o!==r)}Zn(e,t,n);break;case 1:if(!lt&&(Io(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Re(n,t,a)}Zn(e,t,n);break;case 21:Zn(e,t,n);break;case 22:n.mode&1?(lt=(r=lt)||n.memoizedState!==null,Zn(e,t,n),lt=r):Zn(e,t,n);break;default:Zn(e,t,n)}}function Ym(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new xC),t.forEach(function(r){var o=IC.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Zt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=Me()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*TC(r/1960))-r,10e?16:e,cr===null)var r=!1;else{if(e=cr,cr=null,_l=0,oe&6)throw Error(U(331));var o=oe;for(oe|=4,H=e.current;H!==null;){var i=H,s=i.child;if(H.flags&16){var a=i.deletions;if(a!==null){for(var u=0;uMe()-Tp?Hr(e,0):Ep|=n),Pt(e,t)}function Nw(e,t){t===0&&(e.mode&1?(t=sa,sa<<=1,!(sa&130023424)&&(sa=4194304)):t=1);var n=dt();e=$n(e,t),e!==null&&(Ds(e,t,n),Pt(e,n))}function RC(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Nw(e,n)}function IC(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(U(314))}r!==null&&r.delete(t),Nw(e,n)}var Dw;Dw=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Et.current)St=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return St=!1,yC(e,t,n);St=!!(e.flags&131072)}else St=!1,xe&&t.flags&1048576&&V0(t,wl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ga(e,t),e=t.pendingProps;var o=Zo(t,ct.current);$o(t,n),o=gp(null,t,r,e,o,n);var i=yp();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,Tt(r)?(i=!0,gl(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,dp(t),o.updater=ou,t.stateNode=o,o._reactInternals=t,jf(t,r,e,n),t=Uf(null,t,r,!0,i,n)):(t.tag=0,xe&&i&&ip(t),ft(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ga(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=MC(r),e=Jt(r,e),o){case 0:t=Vf(null,t,r,e,n);break e;case 1:t=Wm(null,t,r,e,n);break e;case 11:t=Bm(null,t,r,e,n);break e;case 14:t=$m(null,t,r,Jt(r.type,e),n);break e}throw Error(U(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Jt(r,o),Vf(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Jt(r,o),Wm(e,t,r,o,n);case 3:e:{if(yw(t),e===null)throw Error(U(387));r=t.pendingProps,i=t.memoizedState,o=i.element,G0(e,t),Sl(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=ni(Error(U(423)),t),t=Gm(e,t,r,n,o);break e}else if(r!==o){o=ni(Error(U(424)),t),t=Gm(e,t,r,n,o);break e}else for(Rt=hr(t.stateNode.containerInfo.firstChild),It=t,xe=!0,tn=null,n=$0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Jo(),r===o){t=Wn(e,t,n);break e}ft(e,t,r,n)}t=t.child}return t;case 5:return H0(t),e===null&&Nf(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Af(r,o)?s=null:i!==null&&Af(r,i)&&(t.flags|=32),gw(e,t),ft(e,t,s,n),t.child;case 6:return e===null&&Nf(t),null;case 13:return ww(e,t,n);case 4:return pp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ei(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:Jt(r,o),Bm(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,he(bl,r._currentValue),r._currentValue=s,i!==null)if(ln(i.value,s)){if(i.children===o.children&&!Et.current){t=Wn(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 u=a.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=Dn(-1,n&-n),u.tag=2;var l=i.updateQueue;if(l!==null){l=l.shared;var c=l.pending;c===null?u.next=u:(u.next=c.next,c.next=u),l.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Df(i.return,n,t),a.lanes|=n;break}u=u.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(U(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Df(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,$o(t,n),o=Xt(o),r=r(o),t.flags|=1,ft(e,t,r,n),t.child;case 14:return r=t.type,o=Jt(r,t.pendingProps),o=Jt(r.type,o),$m(e,t,r,o,n);case 15:return mw(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Jt(r,o),Ga(e,t),t.tag=1,Tt(r)?(e=!0,gl(t)):e=!1,$o(t,n),dw(t,r,o),jf(t,r,o,n),Uf(null,t,r,!0,e,n);case 19:return bw(e,t,n);case 22:return vw(e,t,n)}throw Error(U(156,t.tag))};function Lw(e,t){return u0(e,t)}function OC(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 Ht(e,t,n,r){return new OC(e,t,n,r)}function _p(e){return e=e.prototype,!(!e||!e.isReactComponent)}function MC(e){if(typeof e=="function")return _p(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Kd)return 11;if(e===qd)return 14}return 2}function yr(e,t){var n=e.alternate;return n===null?(n=Ht(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 qa(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")_p(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case So:return Kr(n.children,o,i,t);case Hd:s=8,o|=8;break;case af:return e=Ht(12,n,t,o|2),e.elementType=af,e.lanes=i,e;case lf:return e=Ht(13,n,t,o),e.elementType=lf,e.lanes=i,e;case uf:return e=Ht(19,n,t,o),e.elementType=uf,e.lanes=i,e;case Hy:return au(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Wy:s=10;break e;case Gy:s=9;break e;case Kd:s=11;break e;case qd:s=14;break e;case rr:s=16,r=null;break e}throw Error(U(130,e==null?e:typeof e,""))}return t=Ht(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Kr(e,t,n,r){return e=Ht(7,e,r,t),e.lanes=n,e}function au(e,t,n,r){return e=Ht(22,e,r,t),e.elementType=Hy,e.lanes=n,e.stateNode={isHidden:!1},e}function wc(e,t,n){return e=Ht(6,e,null,t),e.lanes=n,e}function bc(e,t,n){return t=Ht(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function NC(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=ec(0),this.expirationTimes=ec(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ec(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ap(e,t,n,r,o,i,s,a,u){return e=new NC(e,t,n,a,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ht(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},dp(i),e}function DC(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Uw)}catch(e){console.error(e)}}Uw(),Uy.exports=Lt;var vi=Uy.exports;const UC=_y(vi);var rv=vi;of.createRoot=rv.createRoot,of.hydrateRoot=rv.hydrateRoot;const zC={theme:"system",setTheme:()=>null},BC=w.createContext(zC);function $C({children:e,defaultTheme:t="system",storageKey:n="vite-ui-theme",...r}){const[o,i]=w.useState(()=>localStorage.getItem(n)||t);w.useEffect(()=>{const a=window.document.documentElement;if(a.classList.remove("light","dark"),o==="system"){const u=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";a.classList.add(u);return}a.classList.add(o)},[o]);const s={theme:o,setTheme:a=>{localStorage.setItem(n,a),i(a)}};return S.jsx(BC.Provider,{...r,value:s,children:e})}class $t{}Qn($t,"initialInformation",{name:"Fayaz Bin Salam",occupation:"Software Engineer"}),Qn($t,"directMessageItems",[{name:"WhatsApp",link:"https://api.whatsapp.com/send?phone=8801796306262"},{name:"Messenger",link:"https://m.me/p32929"},{name:"Telegram",link:"https://t.me/p32929"}]),Qn($t,"about",[{text:"Information",shouldNotSort:!0,arr:[{title:"Name",desc:"Fayaz Bin Salam",logo:"https://cdn-icons-png.flaticon.com/128/1077/1077012.png"},{title:"Work Experience",desc:"7+ years",logo:"https://cdn-icons-png.flaticon.com/128/3281/3281289.png"},{title:"Languages",desc:"Bengali, English, Hindi, Urdu, Chittagonian etc",logo:"https://cdn-icons-png.flaticon.com/128/3898/3898150.png"},{title:"Nationality",desc:"Bangladeshi",logo:"https://cdn-icons-png.flaticon.com/128/11701/11701027.png"},{title:"Resume",desc:"Click the link icon to view/download",link:"https://docs.google.com/document/d/1vRgTCQ-UvzjGXK7s-TR5VpmjHZ7OmSmOs5G69znPhqA/edit?usp=sharing",logo:"https://cdn-icons-png.flaticon.com/128/909/909212.png"}]},{text:"Experiences",arr:[{title:"Aqary International Group",desc:"Golang Developer",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/92b039b2-9f42-4248-9803-b27e435d2d03"},{title:"Horizon Group of Companies",desc:"Front End Developer",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/b385229a-3084-4952-84f3-134e627cc3e7"},{title:"6sense Bangladesh",desc:"Full Stack Developer",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/80aebbb6-456a-4bba-8f32-eb48373cf76d"},{title:"Rich Information Technology",desc:"Lead Software Engineer",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/6b35eee6-669c-42ee-934b-d9555176490b"},{title:"Fiverr",desc:"Freelance Software Engineer",logo:"https://cdn.worldvectorlogo.com/logos/fiverr-1.svg"},{title:"Upwork",desc:"Freelance Software Engineer",logo:"https://cdn.worldvectorlogo.com/logos/upwork-roundedsquare-1.svg"}]}]),Qn($t,"skills",[{text:"Programming / Markup Languages",arr:[{title:"C",logo:"https://seeklogo.com/images/C/c-logo-672525892C-seeklogo.com.png"},{title:"C++",logo:"https://seeklogo.com/images/C/c-logo-1B1817C041-seeklogo.com.png"},{title:"Java",logo:"https://www.vectorlogo.zone/logos/java/java-icon.svg"},{title:"Python",logo:"https://www.vectorlogo.zone/logos/python/python-icon.svg"},{title:"JavaScript",logo:"https://www.vectorlogo.zone/logos/javascript/javascript-icon.svg"},{title:"Rust",logo:"https://www.rustacean.net/assets/rustacean-flat-gesture.svg"},{title:"HTML",logo:"https://www.vectorlogo.zone/logos/w3_html5/w3_html5-icon.svg"},{title:"CSS",logo:"https://seeklogo.com/images/C/css3-logo-F1923C8D0E-seeklogo.com.png"},{title:"TypeScript",logo:"https://www.vectorlogo.zone/logos/typescriptlang/typescriptlang-icon.svg"},{title:"Kotlin",logo:"https://www.vectorlogo.zone/logos/kotlinlang/kotlinlang-icon.svg"},{title:"Dart",logo:"https://www.vectorlogo.zone/logos/dartlang/dartlang-icon.svg"},{title:"Go",logo:"https://go.dev/blog/go-brand/Go-Logo/SVG/Go-Logo_Blue.svg"}]},{text:"Databases",arr:[{title:"MongoDB",logo:"https://cdn.iconscout.com/icon/free/png-128/mongodb-3521676-2945120.png"},{title:"SQL",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/ffeb437f-0d63-40e5-9bc3-041d5715d67e"},{title:"DynamoDB",logo:"https://cdn.worldvectorlogo.com/logos/aws-dynamodb.svg"},{title:"PostgreSQL",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/b0b84cdf-ac60-4f7b-b665-99ea7e8854da"}]},{text:"UI Component Libraries",arr:[{title:"Ant Design",logo:"https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"},{title:"Material-UI",logo:"https://mui.com/static/logo.png"},{title:"Shadcn",logo:"https://ui.shadcn.com/favicon.ico"},{title:"Tailwind CSS",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Tailwind_CSS_Logo.svg/512px-Tailwind_CSS_Logo.svg.png?20230715030042"},{title:"Bootstrap",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/b/b2/Bootstrap_logo.svg/512px-Bootstrap_logo.svg.png"}]},{text:"Libraries / Frameworks / Techs",arr:[{title:"Prisma",logo:"https://www.svgrepo.com/show/374002/prisma.svg"},{title:"Android App Development",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg"},{title:"NodeJS",logo:"https://www.vectorlogo.zone/logos/nodejs/nodejs-icon.svg"},{title:"ExpressJS",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/f38ec9f9-a921-4c96-8fb3-f2a598c1d0b4"},{title:"ReactJS",logo:"https://www.vectorlogo.zone/logos/reactjs/reactjs-icon.svg"},{title:"Redux",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/77226ad4-1e3a-46ac-b287-e41ee5b5fec7"},{title:"React Native",logo:"https://d33wubrfki0l68.cloudfront.net/554c3b0e09cf167f0281fda839a5433f2040b349/ecfc9/img/header_logo.svg"},{title:"ElectronJS",logo:"https://www.vectorlogo.zone/logos/electronjs/electronjs-icon.svg"},{title:"Angular2+",logo:"https://angular.io/assets/images/logos/angular/angular.svg"},{title:"Mongoose",logo:"https://avatars.githubusercontent.com/u/7552965?s=200&v=4"},{title:"NextJS",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/1b988896-5ab2-42b4-a4f3-153d42c6488c"},{title:"OpenCV",logo:"https://www.vectorlogo.zone/logos/opencv/opencv-icon.svg"},{title:"Firebase",logo:"https://www.vectorlogo.zone/logos/firebase/firebase-icon.svg"},{title:"Flutter",logo:"https://www.vectorlogo.zone/logos/flutterio/flutterio-icon.svg"},{title:"Beautiful soup",logo:"https://github.com/3r4y/react-portfolio-template/assets/6418354/c9199eab-529b-4314-a990-c46deba899e9"},{title:"Numpy",logo:"https://numpy.org/images/logo.svg"},{title:"Tauri",logo:"https://raw.githubusercontent.com/tauri-apps/tauri/HEAD/app-icon.png"},{title:"VueJS",logo:"https://vuejs.org/images/logo.png"},{title:"Pandas",logo:"https://pandas.pydata.org/static/img/pandas_white.svg"},{title:"Matplotlib",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/f5e59574-2fee-4ef3-86f6-31a331065f60"},{title:"Socket.io",logo:"https://socket.io/images/logo-dark.svg"},{title:"Flask",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/2183bb2b-7680-49f1-a626-b1f647e7d656"},{title:"Docker",logo:"https://cdn.iconscout.com/icon/free/png-128/docker-226091.png"},{title:"Git",logo:"https://www.vectorlogo.zone/logos/git-scm/git-scm-icon.svg"},{title:"Expo",logo:"https://www.vectorlogo.zone/logos/expoio/expoio-icon.svg"},{title:"NgInx",logo:"https://www.vectorlogo.zone/logos/nginx/nginx-icon.svg"},{title:"NestJS",logo:"https://d33wubrfki0l68.cloudfront.net/e937e774cbbe23635999615ad5d7732decad182a/26072/logo-small.ede75a6b.svg"}]},{text:"Others",arr:[{title:"Vim",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/9/9f/Vimlogo.svg/544px-Vimlogo.svg.png?20150726190850"},{title:"Android Studio",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Android_Studio_Icon_3.6.svg/512px-Android_Studio_Icon_3.6.svg.png?20210301045217"},{title:"VS Code",logo:"https://cdn.icon-icons.com/icons2/2107/PNG/512/file_type_vscode_icon_130084.png"},{title:"Jira",logo:"https://cdn.iconscout.com/icon/free/png-128/jira-3628861-3030001.png"},{title:"AWS",logo:"https://cdn.iconscout.com/icon/free/png-128/aws-1869025-1583149.png"},{title:"DigitalOcean",logo:"https://www.vectorlogo.zone/logos/digitalocean/digitalocean-icon.svg"},{title:"Figma",logo:"https://www.vectorlogo.zone/logos/figma/figma-icon.svg"},{title:"Heroku",logo:"https://www.vectorlogo.zone/logos/heroku/heroku-icon.svg"},{title:"Yarn",logo:"https://www.vectorlogo.zone/logos/yarnpkg/yarnpkg-icon.svg"},{title:"npm",logo:"https://www.vectorlogo.zone/logos/npmjs/npmjs-icon.svg"},{title:"Tampermonkey",logo:"https://www.tampermonkey.net/images/ricon48.png"},{title:"Greasemonkey",logo:"https://addons.mozilla.org/user-media/addon_icons/0/748-64.png?modified=1531822767"},{title:"Linux",logo:"https://www.freepnglogos.com/uploads/linux-png/file-icons-flat-linux-svg-wikimedia-commons-6.png"},{title:"Adobe Photoshop",logo:"https://www.adobe.com/content/dam/cc/icons/photoshop-mobile.svg"}]}]),Qn($t,"projects",[{text:"Web Apps",arr:[{title:"Duas",link:"https://p32929.github.io/duas/",logo:"https://p32929.github.io/duas/favicon.png",desc:"A collection of duas I try to regularly recite - created using flutter web"},{title:"Sha1ToMd5",link:"https://p32929.github.io/Sha1ToMd5/",logo:"https://github.com/user-attachments/assets/6d63227d-1b72-4c22-9923-b2a4c96d4b68",desc:"A simple utility tool to convert Google Play Release APK Sha1 value to MD5 for Facebook login to work. "},{title:"dobd.xyz",link:"https://admui.vercel.app",logo:"https://admui.vercel.app/android-chrome-512x512.png",desc:"Best online downloader for YouTube, Facebook, Instagram, Tiktok and more"},{title:"s3cr3tm3",link:"https://s3cr3tm3.netlify.app/",logo:"https://user-images.githubusercontent.com/6418354/173877444-59dbdd3d-1b5d-4b92-ad53-30fada9362d2.png",desc:"Share secret messages secretely"},{title:"OrderZesty",logo:"https://orderzesty.com/wp-content/uploads/2021/10/Zesty-icon@3x-300x300.png",desc:"Personal chef service delivering fresh signature meals.",link:"https://orderzesty.com/"},{title:"DramaDB",logo:"https://dramadb.vercel.app/apple-icon.png",desc:"A serverless hobby project that lets you filter Asian drama by country, genre, status, year and popularity",link:"https://dramadb.vercel.app/"},{title:"Sh0Sh0",logo:"https://github.com/3r4y/react-portfolio-template/assets/6418354/a159e1d8-fabc-4f58-9391-0c3be4d14d7e",desc:"A beautifully created Absolutely FREE URL shortener for everyone made using React Shadcn Firebase. ",link:"https://sh0sh0.netlify.app/"},{title:"Github Trending",logo:"https://github.com/user-attachments/assets/d93d3ea0-769b-42f1-8107-403bb9760ccd",desc:"A simple webpage that scrapes github LIVE in front of your eyes and gets the list of trending repositories",link:"http://tiny.cc/ghtre"},{title:"BreakingMars",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/8b6c5a1c-fc31-44a8-822e-73814ff57ac3",desc:"#1 Leading & Effortless Prospect Perceiving Platform",link:"https://web.archive.org/web/20220413085335/https://www.breakingmars.com/"},{title:"Voomnow",desc:"Next generation audio recorder",logo:"https://user-images.githubusercontent.com/6418354/173876916-e27cb77f-49f1-4190-be54-4c1ddaa2973d.svg",link:"https://web.archive.org/web/20220326215025/https://www.voomnow.com/"},{title:"Shajao",logo:"https://sdn.signalhire.co/storage/company/1dfc/9704/f9d3/ff49/cdce/31bb/c4d7/0628.webp",desc:"Framing Happiness",link:"https://web.archive.org/web/20191222090655/https://shajao.com/"},{title:"ChargeOnSite",logo:"https://static.wixstatic.com/media/182a81_c4e4ee2bac6d4389a866239475519bdf~mv2.png/v1/fill/w_192%2Ch_192%2Clg_1%2Cusm_0.66_1.00_0.01/182a81_c4e4ee2bac6d4389a866239475519bdf~mv2.png",desc:"Charge OnSite",link:"https://www.chargeonsite.com/"},{title:"MathFinity",logo:"https://p32929.github.io/mathfinity/icons/Icon-192.png",desc:"Simple, infinite & fun math game for everyone",link:"https://p32929.github.io/mathfinity/"}]},{text:"iOS Apps",arr:[{title:"Adblock for YT",link:"https://apps.apple.com/au/app/adblock-for-youtube/id1592568016",logo:"https://is2-ssl.mzstatic.com/image/thumb/Purple126/v4/65/7e/a8/657ea8d9-c3aa-6951-38c8-948c05cd96c3/AppIcon-0-0-85-220-0-0-0-0-4-0-0-0-2x-sRGB-0-0-0-0-0.png/246x0w.webp",desc:"Removes ads from YT videos, embedded videos on third party websites and streams."},{title:"Al Quran by Quran Touch",link:"https://apps.apple.com/gb/app/al-quran-by-quran-touch/id585240351",logo:"https://is3-ssl.mzstatic.com/image/thumb/Purple112/v4/9d/7e/ed/9d7eedd6-e567-5251-bed6-dce7e868bb57/AppIcon-0-1x_U007emarketing-0-10-0-85-220.png/246x0w.webp",desc:"The most comprehensive Muslim App!"}]},{text:"Android Apps",arr:[{title:"Al Quran by Quran Touch",link:"https://www.apkmonk.com/app/com.qurantouch.qurantouchhd.app/",logo:"https://is3-ssl.mzstatic.com/image/thumb/Purple112/v4/9d/7e/ed/9d7eedd6-e567-5251-bed6-dce7e868bb57/AppIcon-0-1x_U007emarketing-0-10-0-85-220.png/246x0w.webp",desc:"The most comprehensive Muslim App!"},{title:"Thamao",logo:"https://cdn.apkmonk.com/logos/com.thamao_150x150.png",desc:"বাংলাদেশে স্মার্টফোনের চুরি এবার অসম্ভব",link:"https://www.apkmonk.com/app/com.thamao/"},{title:"Desplash",logo:"https://lh3.googleusercontent.com/ILrto9KguXlr-clbhYKUonpnHszgNp_N5Qvc8_u9QaM71oaqNKcYql2sV3sqZ7nqzsc=s180",desc:"Automatic Free High Quality Wallpapers powered by Unsplash.com",link:"https://www.xda-developers.com/desplash-wallpaper-app-unsplash/"},{title:"The Great Postman",logo:"https://lh3.googleusercontent.com/ni-lk3b2nTMZyC7r1wYBW6cm9eYqGAN-t6fXV-kD0lSyw1lO3kenC1We71fZjSryvFII=s180",desc:"Powerful, Lightweight REST API client for Android",link:"https://apkcombo.com/es/rest-api-client-the-great-postman/p32929.greatpostman/"},{title:"Sleepy - Addiction Remover",logo:"https://user-images.githubusercontent.com/6418354/192146268-29e1bac2-e477-4010-ae03-96adecbf07e6.png",desc:"The one and only EFFECTIVE addiction remover on Google Play store",link:"https://apkcombo.com/es/sleepy-phone-addiction-controller/p32929.lazyphone/"},{title:"Best CGPA Calculator",logo:"https://user-images.githubusercontent.com/6418354/192146303-6e04c9ac-ffb2-4931-bb10-ef54ff7af382.png",desc:"A simple yet effective CGPA Calculator for University students",link:"https://apkcombo.com/es/cgpa-calculator-for-update-see-the-description/p32929.cgpa_calculator/"},{title:"Buy Sell BD",logo:"https://image.winudf.com/v2/image1/cDMyOTI5LmJ1eXNlbGxiZF9pY29uXzE1NTkyOTQ5NjVfMDYz/icon.png?w=170&fakeurl=1",desc:"A better & more reliable alternative for Bikroy.com - A marketplace app for buying-selling new/used goods",link:"https://apkcombo.com/es/buy-sell-bd-buy-sell-everything-easily-in-bd/p32929.buysellbd/"},{title:"ExIn",logo:"https://lh3.googleusercontent.com/X8mRJd7JajvDXoW7NaluKt2IvC3osH6czkTPoWeSYJ96U2LWLKT4xiFgvNouwf-UvEk=s180",desc:"A Simple & user friendly income-expense tracker ",link:"https://apkcombo.com/es/exin-discontinued/p32929.exin/"},{title:"I am free",logo:"https://image.winudf.com/v2/image1/cDMyOTI5LmltZnJlZV9pY29uXzE1NzY4ODAwNzVfMDU3/icon.png?w=170&fakeurl=1",desc:"বেকার মুক্ত বাংলাদেশ গড়ার লক্ষ্যে - I am FREE",link:"https://apkcombo.com/es/i-am-free/p32929.imfree/"},{title:"Awesome NCTB",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5uY3RiX2ljb25fMTU3NjU3MjcwNF8wMjI/icon.png?fakeurl=1",desc:"Download NCTB Books easily and Free",link:"https://apkcombo.com/es/awesome-nctb/org.richit.nctb/"},{title:"বৃক্ষ ( Brikkho )",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5icmlra2hvX2ljb25fMTU3MDEyMTU0Ml8wODA/icon.png?fakeurl=1",desc:"Learn about trees in your fingertips",link:"https://apkcombo.com/es/%E0%A6%AC%E0%A7%83%E0%A6%95%E0%A7%8D%E0%A6%B7-brikkho/org.richit.brikkho/"},{title:"IQQuiz",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5pcXF1aXphcHBfaWNvbl8xNTcxMDE0NzcxXzA2Mg/icon.png?fakeurl=1",desc:"A simple IQ game",link:"https://apkcombo.com/es/iqquiz/org.richit.iqquizapp/"},{title:"BirdsLover",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5iaXJkc2xvdmVyX2ljb25fMTU3MjAwNDIxNl8wOTE/icon.png?fakeurl=1",desc:"Learn about birds in your fingertips",link:"https://apkcombo.com/es/birdslover/org.richit.birdslover/"},{title:"Animal Lover",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5hbmltYWxfaWNvbl8xNTc3MjkyMzIzXzAyMw/icon.png?fakeurl=1",desc:"Learn about birds in your fingertips",link:"https://apkcombo.com/es/animal-lover/org.richit.animal/"},{title:"Jibanananda Recitation (Abritti)",logo:"https://image.winudf.com/v2/image1/b3JnLnJpY2hpdC5qaWJvbmFuZG9rb2JpdGFzb21vZ3JvX2ljb25fMTU3MDEwNDExNF8wNDc/icon.png?fakeurl=1",desc:"50+ poems of Jibanananda Das with audio recitation",link:"https://apkcombo.com/es/jibanananda-recitation-abritti/org.richit.jibonandokobitasomogro/"},{title:"MathLover (Simple, Infinite, Math game)",logo:"https://lh3.googleusercontent.com/GaisH_-MeK2c_ct4kp5qbqxbJPE-q4isTdZswR4CocgB8sLNCFk4beXdlmaaFuveKUwd",desc:"MathLover is a simple, infinite mathematical problem solving game for everyone.",link:"https://apkcombo.com/es/mathlover-simple-infinite-math-game/org.richit.mathblitz/"},{title:"Hospitals BD",logo:"https://lh3.googleusercontent.com/MMfY8vG1YfAFh1w6iHEp8NXCwl-NSCUDmfPkUAWmqhSGfO3JR7vBvw_XZzV8JxrDag",desc:"Get nearest Hospital Information in Bangladesh in your fingertips",link:"https://apkcombo.com/es/hospitals-bd/org.richit.contacthospitals/"},{title:"BirthdayBot",logo:"https://cdn.iconscout.com/icon/premium/png-256-thumb/gift-2990371-2484427.png",desc:"Birthday wishing apps, made for individual people...",link:"https://github.com/p32929/my_android_apps/releases/tag/all"}]},{text:"Desktop Apps",arr:[{title:"PotatoTimer",logo:"https://raw.githubusercontent.com/p32929/PotatoTimer/master/resources/icon.ico",desc:"A pomotodo app that forces you to take a break - created using ElectronJS",link:"https://github.com/p32929/Electron-Pomotodo"},{title:"Pomota",logo:"https://github.com/p32929/pomota/blob/master/src-tauri/icons/128x128.png?raw=true",desc:"A simple user-friendly cross-platform tauri based pomodoro timer app that forces you to take a break",link:"https://github.com/p32929/pomota"},{title:"google calender widget",logo:"https://duckduckgo.com/i/e2d8001c.png",desc:"An unofficial google calendar desktop widget for Windows, Mac and Linux ",link:"https://github.com/p32929/google-calender-widget"},{title:"MacJuiceMonitor",logo:"https://github.com/user-attachments/assets/21b4d0ac-1734-4d42-9da4-e873628a022a",desc:"Your essential tool for keeping track of all your Bluetooth-connected devices' battery levels, conveniently located in the macOS menu bar",link:"https://github.com/p32929/mac-juice-monitor"}]},{text:"Command Line Interfaces ( CLIs )",arr:[{title:"Shortcut Virus Remover",logo:"https://cdn-icons-png.flaticon.com/128/3223/3223766.png",desc:"Shortcut virus remover script for Windows",link:"https://github.com/p32929/Shortcut-Virus-Remover"},{title:"Fay",logo:"https://crates.io/assets/cargo.png",desc:"A simple cross platform CLI app written in Rust to automate multiple shell ( bash or cmd ) commands",link:"https://crates.io/crates/fay"},{title:"SIIN",logo:"https://crates.io/assets/cargo.png",desc:"A batch installer that downloads and installs a list of apps, written in Rust ( Kinda like Ninite )",link:"https://crates.io/crates/siin"}]},{text:"Automations",arr:[{title:"Dingtone Bot",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/f24e64e7-ef7a-4d2d-a7d9-55f4797043cf",desc:"A bot made using Python and UIAutomator2 to automate watching ads on certain apps to get credits",link:"https://drive.google.com/file/d/159D_tco3qkpgh2a3CWz-f0ixPEpeUN8V/view?usp=sharing"},{title:"Indeed-Linkedin bot",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/f24e64e7-ef7a-4d2d-a7d9-55f4797043cf",desc:"An automation bot created using playwright to automate applying jobs on Indeed and Linkedin",link:"https://drive.google.com/file/d/10Xc4Y0Z5KXxKhb9StF3bQfivYHHeNZsa/view?usp=sharing"}]},{text:"Libraries / Packages / Crates",arr:[{title:"AndroidEasySQL-Library",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"An Easier & Lazier approach to SQL database for Android",link:"https://github.com/p32929/AndroidEasySQL-Library"},{title:"AndroidAppLockscreen",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"An Easier & Lazier approach to getting runtime permission in Android ",link:"https://github.com/p32929/AndroidAppLockscreen"},{title:"Manufacturer Battery Optimization",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"Simple helper class for Android Battery Optimization ignoring in some devices",link:"https://gist.github.com/p32929/41e7af650f6a2c11e9306ab600fb9b03"},{title:"MyHouse Ads Android",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A library for cross promoting own apps within own apps - for Android",link:"https://github.com/p32929/MyHouseAdsAndroid"},{title:"House Ads 2",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A library ( V2 ) for cross promoting own apps within own apps - for Android",link:"https://github.com/p32929/HouseAds2"},{title:"Android App Updater",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A simple, Lightweight App Updater Library for Android",link:"https://github.com/p32929/AndroidAppUpdater"},{title:"Office About",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A simple about screen library for Android for a Team of people",link:"https://github.com/p32929/OfficeAbout"},{title:"Json Viewer Android",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A simple JSON Viewer for Android"},{title:"Android Receivers Library",logo:"https://www.vectorlogo.zone/logos/android/android-icon.svg",desc:"A library for simpler BroadcastReceiver implementations"},{title:"Fay",logo:"https://crates.io/assets/cargo.png",desc:"A simple cross platform CLI app written in Rust to automate multiple shell ( bash or cmd ) commands",link:"https://crates.io/crates/fay"},{title:"fayfetch",logo:"https://avatars.githubusercontent.com/u/6078720?s=200&v=4",desc:"A simple wrapper for Fetch",link:"https://www.npmjs.com/package/fayfetch"},{title:"fjsondb",logo:"https://avatars.githubusercontent.com/u/6078720?s=200&v=4",desc:"A fast and simple JSON database for NodeJS",link:"https://www.npmjs.com/package/fjsondb"},{title:"str_template",logo:"https://avatars.githubusercontent.com/u/6078720?s=200&v=4",desc:"A fast and simple string templating library, written in TypeScript ( Supports both Client side and Server side JavaScript / TypeScript )",link:"https://www.npmjs.com/package/str-template-ts"},{title:"use-megamind",logo:"https://avatars.githubusercontent.com/u/6078720?s=200&v=4",desc:" A simple react hook for managing asynchronous function calls with ease on the client side ",link:"https://github.com/p32929/use-megamind"},{title:"EasiestDB",logo:"https://cdn.iconscout.com/icon/free/png-256/free-flutter-3521432-2944876.png",desc:"The Easiest and the Laziest approach to Flutter SQL Database.",link:"https://pub.dev/packages/easiestdb"},{title:"Simply Wifi",logo:"https://cdn.iconscout.com/icon/free/png-256/free-flutter-3521432-2944876.png",desc:"A simplified version of the wifi_iot package",link:"https://pub.dev/packages/simply_wifi"},{title:"audio_duration",logo:"https://cdn.iconscout.com/icon/free/png-256/free-flutter-3521432-2944876.png",desc:"Just a simple flutter package to get the duration of any audio file ( like: mp3 ) in milliseconds",link:"https://pub.dev/packages/audio_duration"}]},{text:"Extensions / Plugins / Addons",arr:[{title:"vscode nvim leave insertmode",logo:"https://code.visualstudio.com/assets/images/code-stable.png",desc:"This basic VSCode extension ensures that neovim is in normal mode switching between text editor panels.",link:"https://marketplace.visualstudio.com/items?itemName=p32929.vscode-nvim-leave-insertmode"},{title:"one console log",logo:"https://code.visualstudio.com/assets/images/code-stable.png",desc:"A modified version of the turbo-console-log that adds only one line of console instead of multiples.",link:"https://marketplace.visualstudio.com/items?itemName=p32929.one-console-log"},{title:"Home",logo:"https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Google_Chrome_icon_%28February_2022%29.svg/800px-Google_Chrome_icon_%28February_2022%29.svg.png",desc:"A Simple homepage extension created using Shadcn, React, TypeScript, usm-redux etc ",link:"https://github.com/p32929/Home"},{title:"obsidotion",logo:"https://obsidian.md/images/obsidian-logo-gradient.svg",desc:"Asimple obsidian plugin that syncs from/to obsidian/notion ",link:"https://github.com/p32929/obsidotion"}]}]),Qn($t,"contacts",[{text:"Contact me",arr:[{title:"WhatsApp ( Recommended )",logo:"https://user-images.githubusercontent.com/6418354/155842184-b064bf36-de8e-4317-8f8e-cb7755eed995.png",link:"https://api.whatsapp.com/send?phone=8801796306262",desc:"+8801796306262"},{title:"Email",logo:"https://cdn3d.iconscout.com/3d/premium/thumb/email-address-4437044-3684811.png",desc:"p32929.ceo@gmail.com",link:"mailto:p32929.ceo@gmail.com"},{title:"Telegram",logo:"https://cdn-icons-png.flaticon.com/128/2111/2111646.png",desc:"@p32929",link:"https://t.me/p32929"}]},{text:"Others",arr:[{title:"Anywhere on the internet",logo:"https://user-images.githubusercontent.com/6418354/155840900-91ac076a-8d2b-45dc-b346-66f72d376d4b.png",desc:"@p32929"},{title:"GitHub",logo:"https://cdn-icons-png.flaticon.com/128/1051/1051275.png",link:"https://github.com/p32929/"},{title:"LinkedIn",logo:"https://user-images.githubusercontent.com/6418354/155841027-8698cb12-7ddd-4604-a4ea-c618ddbc1cd8.png",link:"https://www.linkedin.com/in/p32929/"},{title:"Facebook",logo:"https://user-images.githubusercontent.com/6418354/155840898-9e2327aa-a280-45e3-8266-8268242abda4.png",link:"https://www.facebook.com/p32929"},{title:"Twitter",logo:"https://user-images.githubusercontent.com/6418354/155841031-532d5d6e-797a-4da1-8064-48d266b69ab2.png",link:"https://twitter.com/p32929"},{title:"Instagram",logo:"https://user-images.githubusercontent.com/6418354/155841023-0b842621-56a3-42ec-81f1-3944034b09c7.png",link:"https://www.instagram.com/p32929/"},{title:"Fiverr",logo:"https://cdn.worldvectorlogo.com/logos/fiverr-1.svg",link:"https://www.fiverr.com/users/fayazbinsalam/"},{title:"Upwork",logo:"https://cdn.worldvectorlogo.com/logos/upwork-roundedsquare-1.svg",link:"https://www.upwork.com/freelancers/~017dbf657b99b0c1c1"},{title:"Medium",logo:"https://seeklogo.com/images/M/medium-logo-93CDCF6451-seeklogo.com.png",link:"https://medium.com/@p32929_77176"},{title:"xda",logo:"https://www.svgrepo.com/show/331651/xda-developers.svg",link:"https://forum.xda-developers.com/m/p32929.5346826/"},{title:"Product Hunt",logo:"https://seeklogo.com/images/P/product-hunt-logo-A144953C4C-seeklogo.com.png?v=637846885100000000",link:"https://www.producthunt.com/@p32929"},{title:"UVA Online Judge",logo:"https://github.com/p32929/portfolio-v2/assets/6418354/5e21914b-9dfd-4394-bfa3-d2e216e8ce39",link:"https://uhunt.onlinejudge.org/id/590978"},{title:"URI Online Judge",logo:"https://user-images.githubusercontent.com/26368939/110052090-be0a0b00-7d35-11eb-8827-993190a9568e.png",link:"https://www.beecrowd.com.br/judge/en/profile/76542"},{title:"Buy Me a Coffee",logo:"https://cdn.iconscout.com/icon/free/png-256/free-buymeacoffee-3628667-3029892.png",link:"https://www.buymeacoffee.com/p32929"},{title:"Skype",logo:"https://user-images.githubusercontent.com/6418354/155840899-62c1fe8e-66a6-4492-9acc-5bd504ac21ef.png",desc:"p32929",link:"skype:p32929?chat"}]},{text:"Thank you for visiting my portfolio",arr:[{title:"Click on the link button",desc:"To create your own portfolio. It will only take around 3 minutes",logo:"https://cdn.iconscout.com/icon/premium/png-256-thumb/gift-2990371-2484427.png",link:"https://github.com/p32929/p32929.github.io/"}]}]);const Kt={initialInformation:$t.initialInformation,directMessageItems:$t.directMessageItems,routes:[{name:"About",items:$t.about},{name:"Skills",items:$t.skills},{name:"Projects",items:$t.projects},{name:"Contact",items:$t.contacts}]};function zw(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;t{const t=KC(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(Mp);return a[0]===""&&a.length!==1&&a.shift(),Bw(a,t)||HC(s)},getConflictingClassGroupIds:(s,a)=>{const u=n[s]||[];return a&&r[s]?[...u,...r[s]]:u}}},Bw=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Bw(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(Mp);return(s=t.validators.find(({validator:a})=>a(i)))==null?void 0:s.classGroupId},ov=/^\[(.+)\]$/,HC=e=>{if(ov.test(e)){const t=ov.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},KC=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return YC(Object.entries(e.classGroups),n).forEach(([i,s])=>{Zf(s,r,i,t)}),r},Zf=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:iv(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(qC(o)){Zf(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{Zf(s,iv(t,i),n,r)})})},iv=(e,t)=>{let n=e;return t.split(Mp).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},qC=e=>e.isThemeGetter,YC=(e,t)=>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,XC=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const 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)}}},$w="!",QC=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=a=>{const u=[];let l=0,c=0,f;for(let x=0;xc?f-c:void 0;return{modifiers:u,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:y}};return n?a=>n({className:a,parseClassName:s}):s},ZC=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},JC=e=>({cache:XC(e.cacheSize),parseClassName:QC(e),...GC(e)}),ek=/\s+/,tk=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(ek);let a="";for(let u=s.length-1;u>=0;u-=1){const l=s[u],{modifiers:c,hasImportantModifier:f,baseClassName:d,maybePostfixModifierPosition:m}=n(l);let g=!!m,y=r(g?d.substring(0,m):d);if(!y){if(!g){a=l+(a.length>0?" "+a:a);continue}if(y=r(d),!y){a=l+(a.length>0?" "+a:a);continue}g=!1}const x=ZC(c).join(":"),h=f?x+$w:x,p=h+y;if(i.includes(p))continue;i.push(p);const v=o(y,g);for(let b=0;b0?" "+a:a)}return a};function nk(){let e=0,t,n,r="";for(;e{if(typeof e=="string")return e;let t,n="";for(let r=0;rf(c),e());return n=JC(l),r=n.cache.get,o=n.cache.set,i=a,a(u)}function a(u){const l=r(u);if(l)return l;const c=tk(u,n);return o(u,c),c}return function(){return i(nk.apply(null,arguments))}}const ge=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Gw=/^\[(?:([a-z-]+):)?(.+)\]$/i,ok=/^\d+\/\d+$/,ik=new Set(["px","full","screen"]),sk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ak=/\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$/,lk=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,uk=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ck=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_n=e=>Go(e)||ik.has(e)||ok.test(e),Jn=e=>gi(e,"length",yk),Go=e=>!!e&&!Number.isNaN(Number(e)),xc=e=>gi(e,"number",Go),Oi=e=>!!e&&Number.isInteger(Number(e)),fk=e=>e.endsWith("%")&&Go(e.slice(0,-1)),ee=e=>Gw.test(e),er=e=>sk.test(e),dk=new Set(["length","size","percentage"]),pk=e=>gi(e,dk,Hw),hk=e=>gi(e,"position",Hw),mk=new Set(["image","url"]),vk=e=>gi(e,mk,bk),gk=e=>gi(e,"",wk),Mi=()=>!0,gi=(e,t,n)=>{const r=Gw.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},yk=e=>ak.test(e)&&!lk.test(e),Hw=()=>!1,wk=e=>uk.test(e),bk=e=>ck.test(e),xk=()=>{const e=ge("colors"),t=ge("spacing"),n=ge("blur"),r=ge("brightness"),o=ge("borderColor"),i=ge("borderRadius"),s=ge("borderSpacing"),a=ge("borderWidth"),u=ge("contrast"),l=ge("grayscale"),c=ge("hueRotate"),f=ge("invert"),d=ge("gap"),m=ge("gradientColorStops"),g=ge("gradientColorStopPositions"),y=ge("inset"),x=ge("margin"),h=ge("opacity"),p=ge("padding"),v=ge("saturate"),b=ge("scale"),E=ge("sepia"),P=ge("skew"),k=ge("space"),T=ge("translate"),O=()=>["auto","contain","none"],D=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",ee,t],F=()=>[ee,t],K=()=>["",_n,Jn],V=()=>["auto",Go,ee],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],W=()=>["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"],R=()=>["","0",ee],N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>[Go,ee];return{cacheSize:500,separator:":",theme:{colors:[Mi],spacing:[_n,Jn],blur:["none","",er,ee],brightness:G(),borderColor:[e],borderRadius:["none","","full",er,ee],borderSpacing:F(),borderWidth:K(),contrast:G(),grayscale:R(),hueRotate:G(),invert:R(),gap:F(),gradientColorStops:[e],gradientColorStopPositions:[fk,Jn],inset:z(),margin:z(),opacity:G(),padding:F(),saturate:G(),scale:G(),sepia:R(),skew:G(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",ee]}],container:["container"],columns:[{columns:[er]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"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:[...B(),ee]}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Oi,ee]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ee]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",Oi,ee]}],"grid-cols":[{"grid-cols":[Mi]}],"col-start-end":[{col:["auto",{span:["full",Oi,ee]},ee]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[Mi]}],"row-start-end":[{row:["auto",{span:[Oi,ee]},ee]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ee]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ee]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"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:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ee,t]}],"min-w":[{"min-w":[ee,t,"min","max","fit"]}],"max-w":[{"max-w":[ee,t,"none","full","min","max","fit","prose",{screen:[er]},er]}],h:[{h:[ee,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ee,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ee,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ee,t,"auto","min","max","fit"]}],"font-size":[{text:["base",er,Jn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",xc]}],"font-family":[{font:[Mi]}],"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",ee]}],"line-clamp":[{"line-clamp":["none",Go,xc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",_n,ee]}],"list-image":[{"list-image":["none",ee]}],"list-style-type":[{list:["none","disc","decimal",ee]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",_n,Jn]}],"underline-offset":[{"underline-offset":["auto",_n,ee]}],"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:F()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ee]}],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",ee]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),hk]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",pk]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},vk]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],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":[h]}],"border-style":[{border:[...$(),"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":[h]}],"divide-style":[{divide:$()}],"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:["",...$()]}],"outline-offset":[{"outline-offset":[_n,ee]}],"outline-w":[{outline:[_n,Jn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[_n,Jn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",er,gk]}],"shadow-color":[{shadow:[Mi]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...W(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":W()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",er,ee]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"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",ee]}],duration:[{duration:G()}],ease:[{ease:["linear","in","out","in-out",ee]}],delay:[{delay:G()}],animate:[{animate:["none","spin","ping","pulse","bounce",ee]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[Oi,ee]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[P]}],"skew-y":[{"skew-y":[P]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ee]}],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",ee]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":F()}],"scroll-mx":[{"scroll-mx":F()}],"scroll-my":[{"scroll-my":F()}],"scroll-ms":[{"scroll-ms":F()}],"scroll-me":[{"scroll-me":F()}],"scroll-mt":[{"scroll-mt":F()}],"scroll-mr":[{"scroll-mr":F()}],"scroll-mb":[{"scroll-mb":F()}],"scroll-ml":[{"scroll-ml":F()}],"scroll-p":[{"scroll-p":F()}],"scroll-px":[{"scroll-px":F()}],"scroll-py":[{"scroll-py":F()}],"scroll-ps":[{"scroll-ps":F()}],"scroll-pe":[{"scroll-pe":F()}],"scroll-pt":[{"scroll-pt":F()}],"scroll-pr":[{"scroll-pr":F()}],"scroll-pb":[{"scroll-pb":F()}],"scroll-pl":[{"scroll-pl":F()}],"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",ee]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[_n,Jn,xc]}],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"]}}},Sk=rk(xk);function ie(...e){return Sk(WC(e))}const Jf=(e,t)=>{const n=e.length;if(t<0&&(t+=n),t>=0&&t{var t;(t=document.getElementById(e))==null||t.scrollIntoView({behavior:"smooth"}),console.log("Scrolled")},Es=e=>{const t=["http","skype:","mailto:"];for(var n=0;n{const e=[];Kt.directMessageItems.forEach(n=>{Es(n.link)&&e.push(n.link)});const t=n=>{n.forEach(r=>{r.link&&Es(r.link)&&e.push(r.link),r.arr&&t(r.arr)})};if(Kt.routes.forEach(n=>{t(n.items)}),e.length>0){const n=Math.floor(Math.random()*e.length);return e[n]}else return null},Vs=w.forwardRef(({className:e,...t},n)=>S.jsx("div",{ref:n,className:ie("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Vs.displayName="Card";const Tk=w.forwardRef(({className:e,...t},n)=>S.jsx("div",{ref:n,className:ie("flex flex-col space-y-1.5 p-6",e),...t}));Tk.displayName="CardHeader";const Kw=w.forwardRef(({className:e,...t},n)=>S.jsx("h3",{ref:n,className:ie("font-semibold leading-none tracking-tight",e),...t}));Kw.displayName="CardTitle";const qw=w.forwardRef(({className:e,...t},n)=>S.jsx("p",{ref:n,className:ie("text-sm text-muted-foreground",e),...t}));qw.displayName="CardDescription";const du=w.forwardRef(({className:e,...t},n)=>S.jsx("div",{ref:n,className:ie("p-6 pt-0",e),...t}));du.displayName="CardContent";const Pk=w.forwardRef(({className:e,...t},n)=>S.jsx("div",{ref:n,className:ie("flex items-center p-6 pt-0",e),...t}));Pk.displayName="CardFooter";function Ck(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function pu(...e){return t=>e.forEach(n=>Ck(n,t))}function $e(...e){return w.useCallback(pu(...e),e)}var eo=w.forwardRef((e,t)=>{const{children:n,...r}=e,o=w.Children.toArray(n),i=o.find(_k);if(i){const s=i.props.children,a=o.map(u=>u===i?w.Children.count(s)>1?w.Children.only(null):w.isValidElement(s)?s.props.children:null:u);return S.jsx(ed,{...r,ref:t,children:w.isValidElement(s)?w.cloneElement(s,void 0,a):null})}return S.jsx(ed,{...r,ref:t,children:n})});eo.displayName="Slot";var ed=w.forwardRef((e,t)=>{const{children:n,...r}=e;if(w.isValidElement(n)){const o=Rk(n);return w.cloneElement(n,{...Ak(r,n.props),ref:t?pu(t,o):o})}return w.Children.count(n)>1?w.Children.only(null):null});ed.displayName="SlotClone";var kk=({children:e})=>S.jsx(S.Fragment,{children:e});function _k(e){return w.isValidElement(e)&&e.type===kk}function Ak(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 Rk(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 Yw(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,av=Ik,Xw=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return av(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(l=>{const c=n==null?void 0:n[l],f=i==null?void 0:i[l];if(c===null)return null;const d=sv(c)||sv(f);return o[l][d]}),a=n&&Object.entries(n).reduce((l,c)=>{let[f,d]=c;return d===void 0||(l[f]=d),l},{}),u=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((l,c)=>{let{class:f,className:d,...m}=c;return Object.entries(m).every(g=>{let[y,x]=g;return Array.isArray(x)?x.includes({...i,...a}[y]):{...i,...a}[y]===x})?[...l,f,d]:l},[]);return av(e,s,u,n==null?void 0:n.class,n==null?void 0:n.className)},Ok=Xw("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),wn=w.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const s=r?eo:"button";return S.jsx(s,{className:ie(Ok({variant:t,size:n,className:e})),ref:i,...o})});wn.displayName="Button";/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. @@ -141,7 +141,7 @@ amplitude.init(, { Visit https://www.docs.developers.amplitude.com/data/sdks/browser-2/#tracking-default-events for more details.`;e.loggerProvider.warn(t),Kg=!0}},dM=function(){var e="@amplitude/plugin-network-checker-browser",t="before",n=sn(),r=[],o=function(u,l){n&&(n.addEventListener(u,l),r.push({type:u,handler:l}))},i=function(){r.forEach(function(u){var l=u.type,c=u.handler;n&&n.removeEventListener(l,c)}),r=[]},s=function(u,l){return de(void 0,void 0,void 0,function(){return pe(this,function(c){return typeof navigator>"u"?(u.loggerProvider.debug("Network connectivity checker plugin is disabled because navigator is not available."),u.offline=!1,[2]):(u.offline=!navigator.onLine,o("online",function(){u.loggerProvider.debug("Network connectivity changed to online."),u.offline=!1,setTimeout(function(){l.flush()},u.flushIntervalMillis)}),o("offline",function(){u.loggerProvider.debug("Network connectivity changed to offline."),u.offline=!0}),[2])})})},a=function(){return de(void 0,void 0,void 0,function(){return pe(this,function(u){return i(),[2]})})};return{name:e,type:t,setup:s,teardown:a}},Bl=function(){return Bl=Object.assign||function(t){for(var n,r=1,o=arguments.length;r0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}var hM="Network error occurred, remote config fetch failed",mM="Remote config successfully fetched",vM="Remote config fetch rejected due to exceeded retry count",qg="Remote config fetch rejected due to timeout after 5 seconds",Yg="Unexpected error occurred",gM="https://sr-client-cfg.amplitude.com/config",yM="https://sr-client-cfg.stag2.amplitude.com/config",wM="https://sr-client-cfg.eu.amplitude.com/config",bM=function(){function e(t){var n=t.localConfig,r=t.configKeys,o=this;this.retryTimeout=1e3,this.attempts=0,this.sessionTargetingMatch=!1,this.metrics={},this.getRemoteConfig=function(i,s,a){return wo(o,void 0,void 0,function(){var u,l,c;return bo(this,function(f){switch(f.label){case 0:return u=Date.now(),[4,this.fetchWithTimeout(a)];case 1:return l=f.sent(),l&&(c=l.configs&&l.configs[i],c)?(this.metrics.fetchTimeAPISuccess=Date.now()-u,[2,c[s]]):(this.metrics.fetchTimeAPIFail=Date.now()-u,[2,void 0])}})})},this.fetchWithTimeout=function(i){return wo(o,void 0,void 0,function(){var s,a,u;return bo(this,function(l){switch(l.label){case 0:return s=new AbortController,a=setTimeout(function(){return s.abort()},5e3),[4,this.fetchRemoteConfig(s.signal,i)];case 1:return u=l.sent(),clearTimeout(a),[2,u]}})})},this.fetchRemoteConfig=function(i,s){return wo(o,void 0,void 0,function(){var a,u,l,c,f,d,m,g,y,x,h,p,v;return bo(this,function(b){switch(b.label){case 0:if(s===this.lastFetchedSessionId&&this.attempts>=this.localConfig.flushMaxRetries)return[2,this.completeRequest({err:vM})];if(i.aborted)return[2,this.completeRequest({err:qg})];s!==this.lastFetchedSessionId&&(this.lastFetchedSessionId=s,this.attempts=0),b.label=1;case 1:b.trys.push([1,3,,4]),a=new URLSearchParams({api_key:this.localConfig.apiKey});try{for(u=pM(this.configKeys),l=u.next();!l.done;l=u.next())c=l.value,a.append("config_keys",c)}catch(E){h={error:E}}finally{try{l&&!l.done&&(p=u.return)&&p.call(u)}finally{if(h)throw h.error}}return s&&a.set("session_id",String(s)),f={headers:{Accept:"*/*"},method:"GET"},d="".concat(this.getServerUrl(),"?").concat(a.toString()),this.attempts+=1,[4,fetch(d,Bl(Bl({},f),{signal:i}))];case 2:if(m=b.sent(),m===null)return[2,this.completeRequest({err:Yg})];switch(g=new Cu().buildStatus(m.status),g){case Ae.Success:return this.attempts=0,[2,this.parseAndStoreConfig(m)];case Ae.Failed:return[2,this.retryFetch(i,s)];default:return[2,this.completeRequest({err:hM})]}case 3:return y=b.sent(),x=y,i.aborted?[2,this.completeRequest({err:qg})]:[2,this.completeRequest({err:(v=x.message)!==null&&v!==void 0?v:Yg})];case 4:return[2]}})})},this.retryFetch=function(i,s){return wo(o,void 0,void 0,function(){var a=this;return bo(this,function(u){switch(u.label){case 0:return[4,new Promise(function(l){return setTimeout(l,a.attempts*a.retryTimeout)})];case 1:return u.sent(),[2,this.fetchRemoteConfig(i,s)]}})})},this.parseAndStoreConfig=function(i){return wo(o,void 0,void 0,function(){var s;return bo(this,function(a){switch(a.label){case 0:return[4,i.json()];case 1:return s=a.sent(),this.completeRequest({success:mM}),[2,s]}})})},this.localConfig=n,this.configKeys=r}return e.prototype.getServerUrl=function(){return this.localConfig.serverZone===Fl.STAGING?yM:this.localConfig.serverZone===Fl.EU?wM:gM},e.prototype.completeRequest=function(t){var n=t.err,r=t.success;if(n)throw new Error(n);r&&this.localConfig.loggerProvider.log(r)},e}(),xM=function(e){var t=e.localConfig,n=e.configKeys;return wo(void 0,void 0,void 0,function(){return bo(this,function(r){return[2,new bM({localConfig:t,configKeys:n})]})})},SM=xM,EM=function(){function e(t){this.config=t,this.config.loggerProvider.debug("Local configuration before merging with remote config",JSON.stringify(this.config,null,2))}return e.prototype.initialize=function(){return de(this,void 0,void 0,function(){var t;return pe(this,function(n){switch(n.label){case 0:return t=this,[4,SM({localConfig:this.config,configKeys:["analyticsSDK"]})];case 1:return t.remoteConfigFetch=n.sent(),[2]}})})},e.prototype.generateJoinedConfig=function(){var t,n,r,o;return de(this,void 0,void 0,function(){var i,s,a;return pe(this,function(u){switch(u.label){case 0:return u.trys.push([0,3,,4]),s=this.remoteConfigFetch,s?[4,this.remoteConfigFetch.getRemoteConfig("analyticsSDK","browserSDK",this.config.sessionId)]:[3,2];case 1:s=u.sent(),u.label=2;case 2:return i=s,this.config.loggerProvider.debug("Remote configuration:",JSON.stringify(i,null,2)),i&&"autocapture"in i&&(typeof i.autocapture=="boolean"&&(this.config.autocapture=i.autocapture),typeof i.autocapture=="object"&&(this.config.autocapture===void 0&&(this.config.autocapture=i.autocapture),typeof this.config.autocapture=="boolean"&&(this.config.autocapture=Fe({attribution:this.config.autocapture,fileDownloads:this.config.autocapture,formInteractions:this.config.autocapture,pageViews:this.config.autocapture,sessions:this.config.autocapture,elementInteractions:this.config.autocapture},i.autocapture)),typeof this.config.autocapture=="object"&&(this.config.autocapture=Fe(Fe({},this.config.autocapture),i.autocapture))),this.config.defaultTracking=this.config.autocapture),this.config.loggerProvider.debug("Joined configuration: ",JSON.stringify(this.config,null,2)),(t=(o=this.config).requestMetadata)!==null&&t!==void 0||(o.requestMetadata=new I1),!((n=this.remoteConfigFetch)===null||n===void 0)&&n.metrics.fetchTimeAPISuccess&&this.config.requestMetadata.recordHistogram("remote_config_fetch_time_API_success",this.remoteConfigFetch.metrics.fetchTimeAPISuccess),!((r=this.remoteConfigFetch)===null||r===void 0)&&r.metrics.fetchTimeAPIFail&&this.config.requestMetadata.recordHistogram("remote_config_fetch_time_API_fail",this.remoteConfigFetch.metrics.fetchTimeAPIFail),[3,4];case 3:return a=u.sent(),this.config.loggerProvider.error("Failed to fetch remote configuration because of error: ",a),[3,4];case 4:return[2,this.config]}})})},e}(),TM=function(e){return de(void 0,void 0,void 0,function(){var t;return pe(this,function(n){switch(n.label){case 0:return t=new EM(e),[4,t.initialize()];case 1:return n.sent(),[2,t]}})})},ui=function(){return ui=Object.assign||function(t){for(var n,r=1,o=arguments.length;r0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function an(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i}function to(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ci(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i}function fi(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r1||u(m,y)})},g&&(o[m]=g(o[m])))}function u(m,g){try{l(r[m](g))}catch(y){d(i[0][3],y)}}function l(m){m.value instanceof Ko?Promise.resolve(m.value.v).then(c,f):d(i[0][2],m)}function c(m){u("next",m)}function f(m){u("throw",m)}function d(m,g){m(g),i.shift(),i.length&&u(i[0][0],i[0][1])}}function GM(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof As=="function"?As(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}}function me(e){return typeof e=="function"}function q1(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Bc=q1(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription: `+n.map(function(r,o){return o+1+") "+r.toString()}).join(` - `):"",this.name="UnsubscriptionError",this.errors=n}});function Pd(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var _u=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,o,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=As(s),u=a.next();!u.done;u=a.next()){var l=u.value;l.remove(this)}}catch(y){t={error:y}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}else s.remove(this);var c=this.initialTeardown;if(me(c))try{c()}catch(y){i=y instanceof Bc?y.errors:[y]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var d=As(f),m=d.next();!m.done;m=d.next()){var g=m.value;try{Xg(g)}catch(y){i=i??[],y instanceof Bc?i=fi(fi([],ci(i)),ci(y.errors)):i.push(y)}}}catch(y){r={error:y}}finally{try{m&&!m.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}}if(i)throw new Bc(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Xg(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&Pd(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&Pd(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();_u.EMPTY;function Y1(e){return e instanceof _u||e&&"closed"in e&&me(e.remove)&&me(e.add)&&me(e.unsubscribe)}function Xg(e){me(e)?e():e.unsubscribe()}var X1={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Q1={setTimeout:function(e,t){for(var n=[],r=2;r0&&h(o)},void 0,void 0,function(){g!=null&&g.closed||g==null||g.unsubscribe(),y=null})),!x&&h(r!=null?typeof r=="number"?r:+r-u.now():o)})}function PN(e){throw new EN(e)}function bn(e,t){return dn(function(n,r){var o=0;n.subscribe(Dt(r,function(i){r.next(e.call(t,i,o++))}))})}var CN=Array.isArray;function kN(e,t){return CN(t)?e.apply(void 0,fi([],ci(t))):e(t)}function _N(e){return bn(function(t){return kN(e,t)})}function AN(e,t,n,r,o,i,s,a){var u=[],l=0,c=0,f=!1,d=function(){f&&!u.length&&!l&&t.complete()},m=function(y){return l0&&(r=o[0]),Iu(r)}else throw new Error("Selector was not found.")}function HN(e,t){return e.nodeType===Node.DOCUMENT_NODE?e:e===t.root?e.ownerDocument:e}function ka(e,t,n){for(var r=null,o=[],i=e,s=0,a=function(){var l,c,f=Aa(KN(i))||Aa.apply(void 0,to([],an(qN(i)),!1))||Aa.apply(void 0,to([],an(YN(i)),!1))||Aa(XN(i))||[ny()],d=QN(i);if(t=="all")d&&(f=f.concat(f.filter(Wc).map(function(h){return _a(h,d)})));else if(t=="two")f=f.slice(0,1),d&&(f=f.concat(f.filter(Wc).map(function(h){return _a(h,d)})));else if(t=="one"){var m=an(f=f.slice(0,1),1),g=m[0];d&&Wc(g)&&(f=[_a(g,d)])}else t=="none"&&(f=[ny()],d&&(f=[_a(f[0],d)]));try{for(var y=(l=void 0,Pr(f)),x=y.next();!x.done;x=y.next()){var g=x.value;g.level=s}}catch(h){l={error:h}}finally{try{x&&!x.done&&(c=y.return)&&c.call(y)}finally{if(l)throw l.error}}if(o.push(f),o.length>=Cn.seedMinLength&&(r=ey(o,n),r))return"break";i=i.parentElement,s++};i;){var u=a();if(u==="break")break}return r||(r=ey(o,n)),!r&&n?n():r}function ey(e,t){var n,r,o=e.reduce(function(l,c){return l*c.length},1);if(o>Cn.threshold)return t?t():null;var i=wx(yx(e));try{for(var s=Pr(i),a=s.next();!a.done;a=s.next()){var u=a.value;if(gx(u))return u}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return null}function Iu(e){for(var t=e[0],n=t.name,r=1;r ").concat(n):n="".concat(e[r].name," ").concat(n),t=e[r]}return n}function ty(e){return e.map(function(t){return t.penalty}).reduce(function(t,n){return t+n},0)}function gx(e){var t=Iu(e);switch(fh.querySelectorAll(t).length){case 0:throw new Error("Can't select any node with this selector: ".concat(t));case 1:return!0;default:return!1}}function KN(e){var t=e.getAttribute("id");return t&&Cn.idName(t)?{name:"#"+CSS.escape(t),penalty:0}:null}function qN(e){var t=Array.from(e.attributes).filter(function(n){return Cn.attr(n.name,n.value)});return t.map(function(n){return{name:"[".concat(CSS.escape(n.name),'="').concat(CSS.escape(n.value),'"]'),penalty:.5}})}function YN(e){var t=Array.from(e.classList).filter(Cn.className);return t.map(function(n){return{name:"."+CSS.escape(n),penalty:1}})}function XN(e){var t=e.tagName.toLowerCase();return Cn.tagName(t)?{name:t,penalty:2}:null}function ny(){return{name:"*",penalty:3}}function QN(e){var t=e.parentNode;if(!t)return null;var n=t.firstChild;if(!n)return null;for(var r=0;n&&(n.nodeType===Node.ELEMENT_NODE&&r++,n!==e);)n=n.nextSibling;return r}function _a(e,t){return{name:e.name+":nth-child(".concat(t,")"),penalty:e.penalty+1}}function Wc(e){return e.name!=="html"&&!e.name.startsWith("#")}function Aa(){for(var e=[],t=0;t0?n:null}function ZN(e){return e!=null}function yx(e,t){var n,r,o,i,s,a;return t===void 0&&(t=[]),rs(this,function(u){switch(u.label){case 0:if(!(e.length>0))return[3,9];u.label=1;case 1:u.trys.push([1,6,7,8]),n=Pr(e[0]),r=n.next(),u.label=2;case 2:return r.done?[3,5]:(o=r.value,[5,Pr(yx(e.slice(1,e.length),t.concat(o)))]);case 3:u.sent(),u.label=4;case 4:return r=n.next(),[3,2];case 5:return[3,8];case 6:return i=u.sent(),s={error:i},[3,8];case 7:try{r&&!r.done&&(a=n.return)&&a.call(n)}finally{if(s)throw s.error}return[7];case 8:return[3,11];case 9:return[4,t];case 10:u.sent(),u.label=11;case 11:return[2]}})}function wx(e){return to([],an(e),!1).sort(function(t,n){return ty(t)-ty(n)})}function bx(e,t,n){var r,o,i;return n===void 0&&(n={counter:0,visited:new Map}),rs(this,function(s){switch(s.label){case 0:if(!(e.length>2&&e.length>Cn.optimizedMinLength))return[3,5];r=1,s.label=1;case 1:return rCn.maxNumberOfTries?[2]:(n.counter+=1,o=to([],an(e),!1),o.splice(r,1),i=Iu(o),n.visited.has(i)?[2]:gx(o)&&JN(o,t)?[4,o]:[3,4]):[3,5];case 2:return s.sent(),n.visited.set(i,!0),[5,Pr(bx(o,t,n))];case 3:s.sent(),s.label=4;case 4:return r++,[3,1];case 5:return[2]}})}function JN(e,t){return fh.querySelector(Iu(e))===t}var eD=["input","select","textarea"],Gc=function(e,t){return function(n,r){var o,i,s,a=e.pageUrlAllowlist,u=e.shouldTrackEventResolver,l=(i=(o=r==null?void 0:r.tagName)===null||o===void 0?void 0:o.toLowerCase)===null||i===void 0?void 0:i.call(o);if(!l)return!1;if(u)return u(n,r);if(!nD(window.location.href,a))return!1;var c=String(r==null?void 0:r.getAttribute("type"))||"";if(typeof c=="string")switch(c.toLowerCase()){case"hidden":return!1;case"password":return!1}if(t){var f=t.some(function(m){var g;return!!(!((g=r==null?void 0:r.matches)===null||g===void 0)&&g.call(r,m))});if(!f)return!1}switch(l){case"input":case"select":case"textarea":return n==="change"||n==="click";default:{var d=(s=window==null?void 0:window.getComputedStyle)===null||s===void 0?void 0:s.call(window,r);return d&&d.getPropertyValue("cursor")==="pointer"&&n==="click"?!0:n==="click"}}}},xx=function(e){if(e==null)return!1;if(typeof e=="string"){var t=/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/;if(t.test((e||"").replace(/[- ]/g,"")))return!1;var n=/(^\d{3}-?\d{2}-?\d{4}$)/;if(n.test(e))return!1}return!0},tD=function(e){return!!e&&e.nodeType===3},Sx=function(e){var t,n,r,o=(n=(t=e==null?void 0:e.tagName)===null||t===void 0?void 0:t.toLowerCase)===null||n===void 0?void 0:n.call(t),i=e instanceof HTMLElement?((r=e.getAttribute("contenteditable"))===null||r===void 0?void 0:r.toLowerCase())==="true":!1;return!eD.includes(o)&&!i},dh=function(e){var t="";return Sx(e)&&e.childNodes&&e.childNodes.length&&e.childNodes.forEach(function(n){var r="";tD(n)?n.textContent&&(r=n.textContent):r=dh(n),t+=r.split(/(\s+)/).filter(xx).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}),t},Ex=function(e,t){var n,r,o="";try{return o=GN(e,{className:function(c){return c!==Ed},maxNumberOfTries:1e3}),o}catch(c){if(t){var i=c;t.warn("Failed to get selector with finder, use fallback strategy instead: ".concat(i.toString()))}}var s=(r=(n=e==null?void 0:e.tagName)===null||n===void 0?void 0:n.toLowerCase)===null||r===void 0?void 0:r.call(n);s&&(o=s);var a=e.getAttribute("id"),u=e.getAttribute("class");if(a)o="#".concat(a);else if(u){var l=u.split(" ").filter(function(c){return c!==Ed}).join(".");l&&(o="".concat(o,".").concat(l))}return o},nD=function(e,t){return!t||!t.length?!0:t.some(function(n){return typeof n=="string"?e===n:e.match(n)})},rD=function(e,t){return e.getAttributeNames().reduce(function(n,r){if(r.startsWith(t)){var o=r.replace(t,""),i=e.getAttribute(r);o&&(n[o]=i||"")}return n},{})},oD=function(e){return e==null||typeof e=="object"&&Object.keys(e).length===0||typeof e=="string"&&e.trim().length===0},Tx=function(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return oD(r)||(t[n]=r),t},{})},Px=function(e){var t=e.parentElement;if(!t)return"";var n;try{n=t.querySelector(":scope>span,h1,h2,h3,h4,h5,h6")}catch{n=null}if(n){var r=n.textContent||"";return xx(r)?r:""}return Px(t)},ph=function(e,t){return e?t.some(function(n){var r;return(r=e==null?void 0:e.matches)===null||r===void 0?void 0:r.call(e,n)})?e:ph(e==null?void 0:e.parentElement,t):null},iD=function(e,t){var n,r,o;if(!e)return{};var i=(o=(r=e==null?void 0:e.tagName)===null||r===void 0?void 0:r.toLowerCase)===null||o===void 0?void 0:o.call(r),s=Ex(e,t),a=(n={},n[B1]=i,n[$1]=dh(e),n[W1]=s,n[G1]=window.location.href.split("?")[0],n);return Tx(a)},sD=function(e){return new Promise(function(t,n){var r;try{var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=e,o.addEventListener("load",function(){t({status:!0})},{once:!0}),o.addEventListener("error",function(){n({status:!1,message:"Failed to load the script ".concat(e)})}),(r=document.head)===null||r===void 0||r.appendChild(o)}catch(i){n(i)}})};function aD(){return"".concat(Date.now(),"-").concat(Math.random().toString(36).substr(2,9))}var hh=function(e){return!(e.event.target===null||!e.closestTrackedAncestor)},lD=function(){function e(t){var n=t===void 0?{}:t,r=n.origin,o=r===void 0?el:r,i=this;this.endpoint=el,this.requestCallbacks={},this.onSelect=function(s){i.notify({action:"element-selected",data:s})},this.onTrack=function(s,a){s==="selector-mode-changed"?i.notify({action:"track-selector-mode-changed",data:a}):s==="selector-moved"&&i.notify({action:"track-selector-moved",data:a})},this.endpoint=o}return e.prototype.notify=function(t){var n,r,o,i;(r=(n=this.logger)===null||n===void 0?void 0:n.debug)===null||r===void 0||r.call(n,"Message sent: ",JSON.stringify(t)),(i=(o=window.opener)===null||o===void 0?void 0:o.postMessage)===null||i===void 0||i.call(o,t,this.endpoint)},e.prototype.sendRequest=function(t,n,r){var o=this;r===void 0&&(r={timeout:15e3});var i=aD(),s={id:i,action:t,args:n},a=new Promise(function(u,l){o.requestCallbacks[i]={resolve:u,reject:l},o.notify(s),(r==null?void 0:r.timeout)>0&&setTimeout(function(){l(new Error("".concat(t," timed out (id: ").concat(i,")"))),delete o.requestCallbacks[i]},r.timeout)});return a},e.prototype.handleResponse=function(t){var n;if(!this.requestCallbacks[t.id]){(n=this.logger)===null||n===void 0||n.warn("No callback found for request id: ".concat(t.id));return}this.requestCallbacks[t.id].resolve(t.responseData),delete this.requestCallbacks[t.id]},e.prototype.setup=function(t){var n=this,r=t===void 0?{}:t,o=r.logger,i=r.endpoint,s=r.isElementSelectable,a=r.cssSelectorAllowlist,u=r.actionClickAllowlist;this.logger=o,i&&this.endpoint===el&&(this.endpoint=i);var l=null;window.addEventListener("message",function(c){var f,d,m,g,y;if((d=(f=n.logger)===null||f===void 0?void 0:f.debug)===null||d===void 0||d.call(f,"Message received: ",JSON.stringify(c)),n.endpoint===c.origin){var x=c==null?void 0:c.data,h=x==null?void 0:x.action;if(h)if("id"in x)(g=(m=n.logger)===null||m===void 0?void 0:m.debug)===null||g===void 0||g.call(m,"Received Response to previous request: ",JSON.stringify(c)),n.handleResponse(x);else if(h==="ping")n.notify({action:"pong"});else if(h==="initialize-visual-tagging-selector"){var p=x==null?void 0:x.data;sD(BM).then(function(){var v;l=(v=window==null?void 0:window.amplitudeVisualTaggingSelector)===null||v===void 0?void 0:v.call(window,{getEventTagProps:iD,isElementSelectable:function(b){return s?s((p==null?void 0:p.actionType)||"click",b):!0},onTrack:n.onTrack,onSelect:n.onSelect,visualHighlightClass:Ed,messenger:n,cssSelectorAllowlist:a,actionClickAllowlist:u}),n.notify({action:"selector-loaded"})}).catch(function(){var v;(v=n.logger)===null||v===void 0||v.warn("Failed to initialize visual tagging selector")})}else h==="close-visual-tagging-selector"&&((y=l==null?void 0:l.close)===null||y===void 0||y.call(l))}}),this.notify({action:"page-loaded"})},e}(),uD=["id","class","style","value","onclick","onchange","oninput","onblur","onsubmit","onfocus","onkeydown","onkeyup","onkeypress","data-reactid","data-react-checksum","data-reactroot"],cD=["type"],fD=["svg","path","g"],dD=["password","hidden"],pD=128,hD=1024;function mD(e){var t,n,r,o,i,s;if(e===null)return null;var a=String(e.tagName).toLowerCase(),u={tag:a},l=Array.from((o=(r=e.parentElement)===null||r===void 0?void 0:r.children)!==null&&o!==void 0?o:[]);l.length&&(u.index=l.indexOf(e),u.indexOfType=l.filter(function(b){return b.tagName===e.tagName}).indexOf(e));var c=(s=(i=e.previousElementSibling)===null||i===void 0?void 0:i.tagName)===null||s===void 0?void 0:s.toLowerCase();c&&(u.prevSib=String(c));var f=e.getAttribute("id");f&&(u.id=String(f));var d=Array.from(e.classList);d.length&&(u.classes=d);var m={},g=Array.from(e.attributes),y=g.filter(function(b){return!uD.includes(b.name)}),x=!Sx(e);if(!dD.includes(String(e.getAttribute("type")))&&!fD.includes(a))try{for(var h=Pr(y),p=h.next();!p.done;p=h.next()){var v=p.value;x&&!cD.includes(v.name)||(m[v.name]=String(v.value).substring(0,pD))}}catch(b){t={error:b}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(t)throw t.error}}return Object.keys(m).length&&(u.attrs=m),u}function vD(e){var t=[];if(!e)return t;t.push(e);for(var n=e.parentElement;n&&n.tagName!=="HTML";)t.push(n),n=n.parentElement;return t}var gD=function(e){var t=[];if(!e)return[];var n=vD(e);return t=yD(n.map(function(r){return mD(r)}),hD),t};function yD(e,t){for(var n=0,r=0;rt)return e.slice(0,r)}return e}function tl(e,t){t===void 0&&(t=!1);try{if(e==null)return t?"None":null;if(typeof e=="string")return t?(e=e.replace(/\\/g,"\\\\").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r"),e.includes('"')?"'".concat(e,"'"):e.includes("'")?'"'.concat(e.replace(/'/g,"\\'"),'"'):"'".concat(e,"'")):e;if(typeof e=="boolean")return e?"True":"False";if(Array.isArray(e)){var n=e.map(function(i){return tl(i,!0)});return"[".concat(n.join(", "),"]")}else if(typeof e=="object"){var r=Object.entries(e).filter(function(i){var s=an(i,1),a=s[0];return a!=null}).map(function(i){var s=an(i,2),a=s[0],u=s[1];return"".concat(String(tl(a,!0)),": ").concat(String(tl(u,!0)))}),o="{".concat(r.join(", "),"}");return o.includes("\\'")&&(o=o.replace(/'/g,"'").replace(/'/g,"\\'")),o}return e.toString()}catch{return null}}var wD=5;function bD(e){var t=e.amplitude,n=e.allObservables,r=e.options,o=e.shouldTrackEvent,i=n.clickObservable,s=i.pipe($N(),br(function(c){var f=an(c,2),d=f[0],m=f[1],g=d.event.target!==m.event.target,y=Math.abs(m.event.screenX-d.event.screenX)<=20&&Math.abs(m.event.screenY-d.event.screenY)<=20;return g&&!y})),a=i.pipe(VN(r.debounceTime),bn(function(){return"timeout"})),u=mx(s,a),l=i.pipe(BN(0),br(hh),br(function(c){return o("click",c.closestTrackedAncestor)}),FN(u));return l.subscribe(function(c){var f,d,m=(c.length>=wD,Sd);try{for(var g=Pr(c),y=g.next();!y.done;y=g.next()){var x=y.value;t==null||t.track(m,x.targetElementProperties,{time:x.timestamp})}}catch(h){f={error:h}}finally{try{y&&!y.done&&(d=g.return)&&d.call(g)}finally{if(f)throw f.error}}})}function xD(e){var t=e.amplitude,n=e.allObservables,r=e.getEventProperties,o=e.shouldTrackEvent,i=n.changeObservable,s=i.pipe(br(hh),br(function(a){return o("change",a.closestTrackedAncestor)}));return s.subscribe(function(a){t==null||t.track(CM,r("change",a.closestTrackedAncestor))})}function SD(e){var t=e.amplitude,n=e.allObservables,r=e.options,o=e.getEventProperties,i=e.shouldTrackEvent,s=e.shouldTrackActionClick,a=n.clickObservable,u=n.mutationObservable,l=n.navigateObservable,c=a.pipe(br(function(g){return!i("click",g.closestTrackedAncestor)}),bn(function(g){var y=ph(g.event.target,r.actionClickAllowlist);return g.closestTrackedAncestor=y,g.closestTrackedAncestor!==null&&(g.targetElementProperties=o(g.type,g.closestTrackedAncestor)),g}),br(hh),br(function(g){return s("click",g.closestTrackedAncestor)})),f=[u];l&&f.push(l);var d=mx.apply(void 0,to([],an(f),!1)),m=c.pipe(WN(function(g){return d.pipe(vx(1),TN({first:500,with:function(){return uh}}),bn(function(){return g}))}));return m.subscribe(function(g){t==null||t.track(Sd,o("click",g.closestTrackedAncestor),{time:g.timestamp})})}var Fo;(function(e){e.ClickObservable="clickObservable",e.ChangeObservable="changeObservable",e.NavigateObservable="navigateObservable",e.MutationObservable="mutationObservable"})(Fo||(Fo={}));function ED(e){return e.type==="click"||e.type==="change"}var TD=function(e){var t,n,r;e===void 0&&(e={});var o=e.dataAttributePrefix,i=o===void 0?MI:o,s=e.visualTaggingOptions,a=s===void 0?{enabled:!0,messenger:new lD}:s;e.cssSelectorAllowlist=(t=e.cssSelectorAllowlist)!==null&&t!==void 0?t:OI,e.actionClickAllowlist=(n=e.actionClickAllowlist)!==null&&n!==void 0?n:NI,e.debounceTime=(r=e.debounceTime)!==null&&r!==void 0?r:0;var u=PM,l="enrichment",c=[],f=void 0,d=function(){var p,v=os(document,"click",{capture:!0}).pipe(bn(function(k){return g(k,"click")})),b=os(document,"change",{capture:!0}).pipe(bn(function(k){return g(k,"change")})),E;window.navigation&&(E=os(window.navigation,"navigate").pipe(bn(function(k){return g(k,"navigate")})));var P=new Ft(function(k){var T=new MutationObserver(function(O){k.next(O)});return T.observe(document.body,{childList:!0,attributes:!0,characterData:!0,subtree:!0}),function(){return T.disconnect()}}).pipe(bn(function(k){return g(k,"mutation")}));return p={},p[Fo.ClickObservable]=v,p[Fo.ChangeObservable]=b,p[Fo.NavigateObservable]=E,p[Fo.MutationObservable]=P,p},m=function(p,v){var b,E,P,k=(P=(E=v==null?void 0:v.tagName)===null||E===void 0?void 0:E.toLowerCase)===null||P===void 0?void 0:P.call(E),T=typeof v.getBoundingClientRect=="function"?v.getBoundingClientRect():{left:null,top:null},O=v.getAttribute("aria-label"),D=rD(v,i),z=Px(v),F=Ex(v,f),K=(b={},b[kM]=v.getAttribute("id")||"",b[_M]=v.getAttribute("class"),b[AM]=gD(v),b[B1]=k,b[$1]=dh(v),b[IM]=T.left==null?null:Math.round(T.left),b[OM]=T.top==null?null:Math.round(T.top),b[MM]=O,b[NM]=D,b[W1]=F,b[DM]=z,b[G1]=window.location.href.split("?")[0],b[LM]=typeof document<"u"&&document.title||"",b[jM]=window.innerHeight,b[FM]=window.innerWidth,b);return k==="a"&&p==="click"&&v instanceof HTMLAnchorElement&&(K[RM]=v.href),Tx(K)},g=function(p,v){var b={event:p,timestamp:Date.now(),type:v};if(ED(b)&&b.event.target!==null){var E=ph(b.event.target,e.cssSelectorAllowlist);return E&&(b.closestTrackedAncestor=E,b.targetElementProperties=m(b.type,E)),b}return b},y=function(p,v){return zc(void 0,void 0,void 0,function(){var b,E,P,k,T,O,D,z,F,K;return rs(this,function(V){return f=p.loggerProvider,typeof document>"u"?[2]:(b=Gc(e,e.cssSelectorAllowlist),E=Gc(e,e.actionClickAllowlist),P=d(),k=bD({allObservables:P,options:e,amplitude:v,shouldTrackEvent:b}),c.push(k),T=xD({allObservables:P,getEventProperties:m,amplitude:v,shouldTrackEvent:b}),c.push(T),O=SD({allObservables:P,options:e,getEventProperties:m,amplitude:v,shouldTrackEvent:b,shouldTrackActionClick:E}),c.push(O),(F=p==null?void 0:p.loggerProvider)===null||F===void 0||F.log("".concat(u," has been successfully added.")),window.opener&&a.enabled&&(D=e.cssSelectorAllowlist,z=e.actionClickAllowlist,(K=a.messenger)===null||K===void 0||K.setup(ui(ui({logger:p==null?void 0:p.loggerProvider},(p==null?void 0:p.serverZone)&&{endpoint:zM[p.serverZone]}),{isElementSelectable:Gc(e,to(to([],an(D),!1),an(z),!1)),cssSelectorAllowlist:D,actionClickAllowlist:z}))),[2])})})},x=function(p){return zc(void 0,void 0,void 0,function(){return rs(this,function(v){return[2,p]})})},h=function(){return zc(void 0,void 0,void 0,function(){var p,v,b,E,P;return rs(this,function(k){try{for(p=Pr(c),v=p.next();!v.done;v=p.next())b=v.value,b.unsubscribe()}catch(T){E={error:T}}finally{try{v&&!v.done&&(P=p.return)&&P.call(p)}finally{if(E)throw E.error}}return[2]})})};return{name:u,type:l,setup:y,execute:x,teardown:h}},PD=function(e){bi(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n,r,o){n===void 0&&(n="");var i,s;return arguments.length>2?(i=r,s=o):typeof r=="string"?(i=r,s=void 0):(i=r==null?void 0:r.userId,s=r),wt(this._init(Fe(Fe({},s),{userId:i,apiKey:n})))},t.prototype._init=function(n){var r,o,i;return de(this,void 0,void 0,function(){var s,a,u,l,c,f,d=this;return pe(this,function(m){switch(m.label){case 0:return this.initializing?[2]:(this.initializing=!0,[4,eM(n.apiKey,n,this)]);case 1:return s=m.sent(),n.fetchRemoteConfig?[4,TM(s)]:[3,4];case 2:return a=m.sent(),[4,a.generateJoinedConfig()];case 3:s=m.sent(),m.label=4;case 4:return[4,e.prototype._init.call(this,s)];case 5:return m.sent(),this.logBrowserOptions(s),L1(this.config.defaultTracking)?(u=DO(this.config),this.webAttribution=new mO(u,this.config),[4,this.webAttribution.init()]):[3,7];case 6:m.sent(),m.label=7;case 7:return l=Ul(),c=Number.isNaN(Number(l.ampSessionId))?void 0:Number(l.ampSessionId),this.setSessionId((i=(o=(r=n.sessionId)!==null&&r!==void 0?r:c)!==null&&o!==void 0?o:this.config.sessionId)!==null&&i!==void 0?i:Date.now()),f=_s(n.instanceName),f.identityStore.setIdentity({userId:this.config.userId,deviceId:this.config.deviceId}),this.config.offline===II?[3,9]:[4,this.add(dM()).promise];case 8:m.sent(),m.label=9;case 9:return[4,this.add(new QI).promise];case 10:return m.sent(),[4,this.add(new VO).promise];case 11:return m.sent(),[4,this.add(new AO).promise];case 12:return m.sent(),fM(this.config),IO(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding file download tracking plugin"),[4,this.add(cM()).promise]):[3,14];case 13:m.sent(),m.label=14;case 14:return OO(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding form interaction plugin"),[4,this.add(uM()).promise]):[3,16];case 15:m.sent(),m.label=16;case 16:return j1(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding page view tracking plugin"),[4,this.add(iM(NO(this.config))).promise]):[3,18];case 17:m.sent(),m.label=18;case 18:return F1(this.config.autocapture)?(this.config.loggerProvider.debug("Adding user interactions plugin (autocapture plugin)"),[4,this.add(TD(MO(this.config))).promise]):[3,20];case 19:m.sent(),m.label=20;case 20:return this.initializing=!1,[4,this.runQueuedFunctions("dispatchQ")];case 21:return m.sent(),f.eventBridge.setEventReceiver(function(g){d.track(g.eventType,g.eventProperties)}),[2]}})})},t.prototype.getUserId=function(){var n;return(n=this.config)===null||n===void 0?void 0:n.userId},t.prototype.setUserId=function(n){if(!this.config){this.q.push(this.setUserId.bind(this,n));return}this.config.loggerProvider.debug("function setUserId: ",n),(n!==this.config.userId||n===void 0)&&(this.config.userId=n,kO(n,this.config.instanceName))},t.prototype.getDeviceId=function(){var n;return(n=this.config)===null||n===void 0?void 0:n.deviceId},t.prototype.setDeviceId=function(n){if(!this.config){this.q.push(this.setDeviceId.bind(this,n));return}this.config.loggerProvider.debug("function setDeviceId: ",n),this.config.deviceId=n,_O(n,this.config.instanceName)},t.prototype.reset=function(){this.setDeviceId(wi()),this.setUserId(void 0)},t.prototype.getSessionId=function(){var n;return(n=this.config)===null||n===void 0?void 0:n.sessionId},t.prototype.setSessionId=function(n){var r,o=[];if(!this.config)return this.q.push(this.setSessionId.bind(this,n)),wt(Promise.resolve());if(n===this.config.sessionId)return wt(Promise.resolve());this.config.loggerProvider.debug("function setSessionId: ",n);var i=this.getSessionId(),s=this.config.lastEventTime,a=(r=this.config.lastEventId)!==null&&r!==void 0?r:-1;this.config.sessionId=n,this.config.lastEventTime=void 0,this.config.pageCounter=0,Bg(this.config.defaultTracking)&&(i&&s&&o.push(this.track(Gg,void 0,{device_id:this.previousSessionDeviceId,event_id:++a,session_id:i,time:s+1,user_id:this.previousSessionUserId}).promise),this.config.lastEventTime=this.config.sessionId);var u=this.trackCampaignEventIfNeeded(++a,o);return Bg(this.config.defaultTracking)&&o.push(this.track(Wg,void 0,{event_id:u?++a:a,session_id:this.config.sessionId,time:this.config.lastEventTime}).promise),this.previousSessionDeviceId=this.config.deviceId,this.previousSessionUserId=this.config.userId,wt(Promise.all(o))},t.prototype.extendSession=function(){if(!this.config){this.q.push(this.extendSession.bind(this));return}this.config.lastEventTime=Date.now()},t.prototype.setTransport=function(n){if(!this.config){this.q.push(this.setTransport.bind(this,n));return}this.config.transportProvider=z1(n)},t.prototype.identify=function(n,r){if(Lc(n)){var o=n._q;n._q=[],n=Dc(new Vl,o)}return r!=null&&r.user_id&&this.setUserId(r.user_id),r!=null&&r.device_id&&this.setDeviceId(r.device_id),e.prototype.identify.call(this,n,r)},t.prototype.groupIdentify=function(n,r,o,i){if(Lc(o)){var s=o._q;o._q=[],o=Dc(new Vl,s)}return e.prototype.groupIdentify.call(this,n,r,o,i)},t.prototype.revenue=function(n,r){if(Lc(n)){var o=n._q;n._q=[],n=Dc(new HI,o)}return e.prototype.revenue.call(this,n,r)},t.prototype.trackCampaignEventIfNeeded=function(n,r){if(!this.webAttribution||!this.webAttribution.shouldTrackNewCampaign)return!1;var o=this.webAttribution.generateCampaignEvent(n);return r?r.push(this.track(o).promise):this.track(o),this.config.loggerProvider.log("Tracking attribution."),!0},t.prototype.process=function(n){return de(this,void 0,void 0,function(){var r,o,i;return pe(this,function(s){return r=Date.now(),o=D1(this.config.sessionTimeout,this.config.lastEventTime),i=this.webAttribution&&this.webAttribution.shouldSetSessionIdOnNewCampaign(),n.event_type!==Wg&&n.event_type!==Gg&&(!n.session_id||n.session_id===this.getSessionId())&&(o||i?(this.setSessionId(r),i&&this.config.loggerProvider.log("Created a new session for new campaign.")):o||this.trackCampaignEventIfNeeded()),[2,e.prototype.process.call(this,n)]})})},t.prototype.logBrowserOptions=function(n){try{var r=Fe(Fe({},n),{apiKey:n.apiKey.substring(0,10)+"********"});this.config.loggerProvider.debug("Initialized Amplitude with BrowserConfig:",JSON.stringify(r))}catch(o){this.config.loggerProvider.error("Error logging browser config",o)}},t}(GI),CD=function(){var e=new PD;return{init:je(e.init.bind(e),"init",De(e),Le(e,["config"])),add:je(e.add.bind(e),"add",De(e),Le(e,["config.apiKey","timeline.plugins"])),remove:je(e.remove.bind(e),"remove",De(e),Le(e,["config.apiKey","timeline.plugins"])),track:je(e.track.bind(e),"track",De(e),Le(e,["config.apiKey","timeline.queue.length"])),logEvent:je(e.logEvent.bind(e),"logEvent",De(e),Le(e,["config.apiKey","timeline.queue.length"])),identify:je(e.identify.bind(e),"identify",De(e),Le(e,["config.apiKey","timeline.queue.length"])),groupIdentify:je(e.groupIdentify.bind(e),"groupIdentify",De(e),Le(e,["config.apiKey","timeline.queue.length"])),setGroup:je(e.setGroup.bind(e),"setGroup",De(e),Le(e,["config.apiKey","timeline.queue.length"])),revenue:je(e.revenue.bind(e),"revenue",De(e),Le(e,["config.apiKey","timeline.queue.length"])),flush:je(e.flush.bind(e),"flush",De(e),Le(e,["config.apiKey","timeline.queue.length"])),getUserId:je(e.getUserId.bind(e),"getUserId",De(e),Le(e,["config","config.userId"])),setUserId:je(e.setUserId.bind(e),"setUserId",De(e),Le(e,["config","config.userId"])),getDeviceId:je(e.getDeviceId.bind(e),"getDeviceId",De(e),Le(e,["config","config.deviceId"])),setDeviceId:je(e.setDeviceId.bind(e),"setDeviceId",De(e),Le(e,["config","config.deviceId"])),reset:je(e.reset.bind(e),"reset",De(e),Le(e,["config","config.userId","config.deviceId"])),getSessionId:je(e.getSessionId.bind(e),"getSessionId",De(e),Le(e,["config"])),setSessionId:je(e.setSessionId.bind(e),"setSessionId",De(e),Le(e,["config"])),extendSession:je(e.extendSession.bind(e),"extendSession",De(e),Le(e,["config"])),setOptOut:je(e.setOptOut.bind(e),"setOptOut",De(e),Le(e,["config"])),setTransport:je(e.setTransport.bind(e),"setTransport",De(e),Le(e,["config"]))}};const Cx=CD();var kD=Cx.init,_D=Cx.track;const At={hovered_on_person_icon:"hovered_on_person_icon",clicked_on_person_icon:"clicked_on_person_icon",clicked_on_left_navigation_route:"clicked_on_left_navigation_route",clicked_on_goto_top:"clicked_on_goto_top",opened_share_dialog:"opened_share_dialog",opened_direct_message_dropdown:"opened_direct_message_dropdown",clicked_direct_message_item:"clicked_direct_message_item",clicked_github_icon:"clicked_github_icon",clicked_on_share_item:"clicked_on_share_item",clicked_goto_next_section:"clicked_goto_next_section",clicked_goto_prev_section:"clicked_goto_prev_section",hovered_on_item:"hovered_on_item",clicked_on_item:"clicked_on_item"};class xt{static initialize(){this.isInitialized||(kD("50e81488cd17b72ddf984a542dd6d71d",{defaultTracking:{pageViews:!1,sessions:!0},autocapture:!0}),this.isInitialized=!0)}static getBrowserInfo(){const{userAgent:t}=navigator;return t}static getScreenResolution(){return`${window.screen.width}x${window.screen.height}`}static getCurrentPageUrl(){return window.location.href}static logEvent(t,n={}){this.initialize();const r=this.getBrowserInfo(),o=this.getScreenResolution(),i=this.getCurrentPageUrl(),s={...n,browserInfo:r,screenResolution:o,pageUrl:i};_D(t,s)}static trackCustomEvent(t,n){this.logEvent(t,n)}}Qn(xt,"isInitialized",!1);const AD=e=>{const[t,n]=w.useState(!1),r={stiffness:100,damping:5},o=ih(0),i=Eg(o,[-100,100],[-45,45]),s=Eg(o,[-100,100],[-50,50]),a=Cg(i,r),u=Cg(s,r);w.useEffect(()=>{t||o.set(0)},[t]);const l=f=>{const d=f.currentTarget.offsetWidth/2;o.set(f.nativeEvent.offsetX-d)},c=()=>{const f=Ek();xt.trackCustomEvent(At.clicked_on_person_icon,{link:f}),window.open(f??"","_blank")};return S.jsx(Vs,{className:"lg:w-1/3 xl:w-1/3 2xl:w-1/4 h-full p-0 m-0 lg:block hidden ",children:S.jsxs(du,{className:"p-0 m-0 flex flex-col h-full justify-between",children:[S.jsxs("div",{className:"flex flex-col w-full items-center p-10",children:[S.jsx("div",{className:"w-28 h-28 border-2 rounded-md my-8 p-2 relative",children:S.jsxs("div",{className:"w-full h-full cursor-pointer",onMouseEnter:()=>{n(!0),xt.trackCustomEvent(At.hovered_on_person_icon,{isHovered:t})},onMouseLeave:()=>{n(!1),xt.trackCustomEvent(At.hovered_on_person_icon,{isHovered:t})},onClick:c,onMouseMove:l,children:[S.jsx(T1,{children:t&&S.jsxs(S.Fragment,{children:[S.jsxs(vd.div,{initial:{opacity:0,y:20,scale:.6},animate:{opacity:1,y:0,scale:1,transition:{type:"spring",stiffness:260,damping:10}},exit:{opacity:0,y:20,scale:.6},style:{translateX:u,rotate:a,whiteSpace:"nowrap"},className:"absolute -top-16 left-1/2 -translate-x-1/2 flex text-xs flex-col items-center justify-center rounded-md bg-black z-50 shadow-xl px-4 py-2",children:[S.jsx("div",{className:"absolute inset-x-10 z-30 w-[50%] -bottom-px bg-gradient-to-r from-transparent via-emerald-500 to-transparent h-px "}),S.jsx("div",{className:"absolute left-10 w-[70%] z-30 -bottom-px bg-gradient-to-r from-transparent via-sky-500 to-transparent h-1"}),S.jsx("p",{className:"font-semibold text-primary relative z-30 text-base",children:"Are you feeling lucky today?"}),S.jsx("p",{className:"text-primary text-sm text-center font-normal",children:"Click to feel even more lucky..."})]},"tooltip"),S.jsx(vd.span,{className:"absolute inset-0 h-full w-full block ring-4 ring-white bg-blue-500 bg-opacity-10 rounded cursor-pointer",layoutId:"hoverBackground",initial:{opacity:0},animate:{opacity:1,transition:{duration:.5}},exit:{opacity:0,transition:{duration:.5}}})]})}),S.jsx($k,{className:ie("w-full h-full ",t?"glowing-person-icon":"")})]})}),S.jsx("h1",{className:"text-xl font-extrabold tracking-normal ",children:Kt.initialInformation.name}),S.jsx("h1",{className:"text-sm font-extrabold tracking-normal mt-0.5",children:Kt.initialInformation.occupation})]}),S.jsx("div",{className:"flex flex-col w-full p-3 gap-y-2",children:Kt.routes.map(f=>{const d=()=>{Il(`section-${f.name.toLowerCase()}`),xt.trackCustomEvent(At.clicked_on_left_navigation_route,{name:f.name})};return S.jsx(wn,{variant:"outline",onClick:d,children:f.name},f.name)})})]})})};var RD=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ue=RD.reduce((e,t)=>{const n=w.forwardRef((r,o)=>{const{asChild:i,...s}=r,a=i?eo:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),S.jsx(a,{...s,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function mh(e,t){e&&vi.flushSync(()=>e.dispatchEvent(t))}var ID="Separator",ry="horizontal",OD=["horizontal","vertical"],kx=w.forwardRef((e,t)=>{const{decorative:n,orientation:r=ry,...o}=e,i=MD(r)?r:ry,a=n?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return S.jsx(ue.div,{"data-orientation":i,...a,...o,ref:t})});kx.displayName=ID;function MD(e){return OD.includes(e)}var _x=kx;const Ax=w.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...r},o)=>S.jsx(_x,{ref:o,decorative:n,orientation:t,className:ie("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));Ax.displayName=_x.displayName;const ND=e=>{const t=()=>{const i=`section-${r().toLowerCase()}`;xt.trackCustomEvent(At.clicked_goto_prev_section,{section:i}),Il(i)},n=()=>{const i=`section-${o().toLowerCase()}`;xt.trackCustomEvent(At.clicked_goto_next_section,{section:i}),Il(i)},r=()=>Jf(Kt.routes,(e.index-1)%Kt.routes.length).name,o=()=>Jf(Kt.routes,(e.index+1)%Kt.routes.length).name;return S.jsxs("div",{className:"flex flex-col bg-primary-foreground mb-2 sticky top-0 z-10 ",children:[S.jsxs("div",{className:"flex flex-row items-center px-4 py-2 justify-between",children:[S.jsxs("div",{className:"flex flex-row items-center",children:[S.jsx(Kk,{className:"mr-2 h-4 w-4"}),S.jsx("h1",{className:"text-lg uppercase font-extrabold tracking-wider",children:e.name})]}),S.jsxs("div",{className:"flex flex-row items-center lg:hidden",children:[S.jsx(wn,{variant:"ghost",size:"icon",onClick:t,title:`Goto ${r()} Section`,children:S.jsx(Gk,{className:"h-4 w-4"})}),S.jsx(wn,{variant:"ghost",size:"icon",onClick:n,title:`Goto ${o()} Section`,children:S.jsx(Hk,{className:"h-4 w-4"})})]})]}),S.jsx(Ax,{className:"w-full"})]})};var Rx={exports:{}};(()=>{var e={181:(o,i,s)=>{var a=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt,d=typeof s.g=="object"&&s.g&&s.g.Object===Object&&s.g,m=typeof self=="object"&&self&&self.Object===Object&&self,g=d||m||Function("return this")(),y=Object.prototype.toString,x=Math.max,h=Math.min,p=function(){return g.Date.now()};function v(E){var P=typeof E;return!!E&&(P=="object"||P=="function")}function b(E){if(typeof E=="number")return E;if(function(T){return typeof T=="symbol"||function(O){return!!O&&typeof O=="object"}(T)&&y.call(T)=="[object Symbol]"}(E))return NaN;if(v(E)){var P=typeof E.valueOf=="function"?E.valueOf():E;E=v(P)?P+"":P}if(typeof E!="string")return E===0?E:+E;E=E.replace(a,"");var k=l.test(E);return k||c.test(E)?f(E.slice(2),k?2:8):u.test(E)?NaN:+E}o.exports=function(E,P,k){var T,O,D,z,F,K,V=0,B=!1,$=!1,W=!0;if(typeof E!="function")throw new TypeError("Expected a function");function M(te){var J=T,ce=O;return T=O=void 0,V=te,z=E.apply(ce,J)}function R(te){var J=te-K;return K===void 0||J>=P||J<0||$&&te-V>=D}function N(){var te=p();if(R(te))return G(te);F=setTimeout(N,function(J){var ce=P-(J-K);return $?h(ce,D-(J-V)):ce}(te))}function G(te){return F=void 0,W&&T?M(te):(T=O=void 0,z)}function Y(){var te=p(),J=R(te);if(T=arguments,O=this,K=te,J){if(F===void 0)return function(ce){return V=ce,F=setTimeout(N,P),B?M(ce):z}(K);if($)return F=setTimeout(N,P),M(K)}return F===void 0&&(F=setTimeout(N,P)),z}return P=b(P)||0,v(k)&&(B=!!k.leading,D=($="maxWait"in k)?x(b(k.maxWait)||0,P):D,W="trailing"in k?!!k.trailing:W),Y.cancel=function(){F!==void 0&&clearTimeout(F),V=0,T=K=O=F=void 0},Y.flush=function(){return F===void 0?z:G(p())},Y}},858:(o,i,s)=>{var a="Expected a function",u=NaN,l="[object Symbol]",c=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,m=/^0o[0-7]+$/i,g=parseInt,y=typeof s.g=="object"&&s.g&&s.g.Object===Object&&s.g,x=typeof self=="object"&&self&&self.Object===Object&&self,h=y||x||Function("return this")(),p=Object.prototype.toString,v=Math.max,b=Math.min,E=function(){return h.Date.now()};function P(T){var O=typeof T;return!!T&&(O=="object"||O=="function")}function k(T){if(typeof T=="number")return T;if(function(z){return typeof z=="symbol"||function(F){return!!F&&typeof F=="object"}(z)&&p.call(z)==l}(T))return u;if(P(T)){var O=typeof T.valueOf=="function"?T.valueOf():T;T=P(O)?O+"":O}if(typeof T!="string")return T===0?T:+T;T=T.replace(c,"");var D=d.test(T);return D||m.test(T)?g(T.slice(2),D?2:8):f.test(T)?u:+T}o.exports=function(T,O,D){var z=!0,F=!0;if(typeof T!="function")throw new TypeError(a);return P(D)&&(z="leading"in D?!!D.leading:z,F="trailing"in D?!!D.trailing:F),function(K,V,B){var $,W,M,R,N,G,Y=0,te=!1,J=!1,ce=!0;if(typeof K!="function")throw new TypeError(a);function ve(We){var yt=$,Ne=W;return $=W=void 0,Y=We,R=K.apply(Ne,yt)}function Se(We){var yt=We-G;return G===void 0||yt>=V||yt<0||J&&We-Y>=M}function Qe(){var We=E();if(Se(We))return be(We);N=setTimeout(Qe,function(yt){var Ne=V-(yt-G);return J?b(Ne,M-(yt-Y)):Ne}(We))}function be(We){return N=void 0,ce&&$?ve(We):($=W=void 0,R)}function Ie(){var We=E(),yt=Se(We);if($=arguments,W=this,G=We,yt){if(N===void 0)return function(Ne){return Y=Ne,N=setTimeout(Qe,V),te?ve(Ne):R}(G);if(J)return N=setTimeout(Qe,V),ve(G)}return N===void 0&&(N=setTimeout(Qe,V)),R}return V=k(V)||0,P(B)&&(te=!!B.leading,M=(J="maxWait"in B)?v(k(B.maxWait)||0,V):M,ce="trailing"in B?!!B.trailing:ce),Ie.cancel=function(){N!==void 0&&clearTimeout(N),Y=0,$=G=W=N=void 0},Ie.flush=function(){return N===void 0?R:be(E())},Ie}(T,O,{leading:z,maxWait:O,trailing:F})}},694:(o,i,s)=>{var a=s(925);function u(){}function l(){}l.resetWarningCache=u,o.exports=function(){function c(m,g,y,x,h,p){if(p!==a){var v=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 v.name="Invariant Violation",v}}function f(){return c}c.isRequired=c;var d={array:c,bigint:c,bool:c,func:c,number:c,object:c,string:c,symbol:c,any:c,arrayOf:f,element:c,elementType:c,instanceOf:f,node:c,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:l,resetWarningCache:u};return d.PropTypes=d,d}},556:(o,i,s)=>{o.exports=s(694)()},925:o=>{o.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function n(o){var i=t[o];if(i!==void 0)return i.exports;var s=t[o]={exports:{}};return e[o](s,s.exports,n),s.exports}n.n=o=>{var i=o&&o.__esModule?()=>o.default:()=>o;return n.d(i,{a:i}),i},n.d=(o,i)=>{for(var s in i)n.o(i,s)&&!n.o(o,s)&&Object.defineProperty(o,s,{enumerable:!0,get:i[s]})},n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),n.o=(o,i)=>Object.prototype.hasOwnProperty.call(o,i),n.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})};var r={};(()=>{n.r(r),n.d(r,{LazyLoadComponent:()=>$h,LazyLoadImage:()=>cT,trackWindowScroll:()=>te});const o=w;var i=n.n(o),s=n(556);function a(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function u(I){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(C){return typeof C}:function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},u(I)}function l(I,C){var A=Object.keys(I);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(I);C&&(j=j.filter(function(_){return Object.getOwnPropertyDescriptor(I,_).enumerable})),A.push.apply(A,j)}return A}function c(I,C,A){return(C=d(C))in I?Object.defineProperty(I,C,{value:A,enumerable:!0,configurable:!0,writable:!0}):I[C]=A,I}function f(I,C){for(var A=0;A0&&arguments[0]!==void 0?arguments[0]:this.props.scrollPosition,L=this.placeholder.getBoundingClientRect(),Z=this.placeholder.style,q=parseInt(Z.getPropertyValue("margin-left"),10)||0,ne=parseInt(Z.getPropertyValue("margin-top"),10)||0;return{bottom:_.y+L.bottom+ne,left:_.x+L.left+q,right:_.x+L.right+q,top:_.y+L.top+ne}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var _=this.props,L=_.scrollPosition,Z=_.threshold,q=this.getPlaceholderBoundingBox(L),ne=L.y+window.innerHeight,le=L.x,Ee=L.x+window.innerWidth,Te=L.y;return Te-Z<=q.bottom&&ne+Z>=q.top&&le-Z<=q.right&&Ee+Z>=q.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var _=this,L=this.props,Z=L.className,q=L.height,ne=L.placeholder,le=L.style,Ee=L.width;if(ne&&typeof ne.type!="function")return i().cloneElement(ne,{ref:function(fe){return _.placeholder=fe}});var Te=function(fe){for(var Ze=1;Ze"u"?0:window.scrollX||window.pageXOffset},Y=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const te=function(I){var C=function(A){function j(Z){var q;if(function(le,Ee){if(!(le instanceof Ee))throw new TypeError("Cannot call a class as a function")}(this,j),(q=$(this,j,[Z])).useIntersectionObserver=Z.useIntersectionObserver&&a(),q.useIntersectionObserver)return W(q);var ne=q.onChangeScroll.bind(q);return Z.delayMethod==="debounce"?q.delayedScroll=P()(ne,Z.delayTime):Z.delayMethod==="throttle"&&(q.delayedScroll=T()(ne,Z.delayTime)),q.state={scrollPosition:{x:G(),y:Y()}},q.baseComponentRef=i().createRef(),q}return function(Z,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");Z.prototype=Object.create(q&&q.prototype,{constructor:{value:Z,writable:!0,configurable:!0}}),Object.defineProperty(Z,"prototype",{writable:!1}),q&&N(Z,q)}(j,A),_=j,L=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){typeof window>"u"||this.useIntersectionObserver||D(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement=D(this.baseComponentRef.current),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:G(),y:Y()}})}},{key:"render",value:function(){var Z=this.props,q=(Z.delayMethod,Z.delayTime,function(le,Ee){if(le==null)return{};var Te,fe,Ze=function(Je,qu){if(Je==null)return{};var qh={};for(var ea in Je)if({}.hasOwnProperty.call(Je,ea)){if(qu.indexOf(ea)>=0)continue;qh[ea]=Je[ea]}return qh}(le,Ee);if(Object.getOwnPropertySymbols){var Ge=Object.getOwnPropertySymbols(le);for(fe=0;fe=0||{}.propertyIsEnumerable.call(le,Te)&&(Ze[Te]=le[Te])}return Ze}(Z,F)),ne=this.useIntersectionObserver?null:this.state.scrollPosition;return i().createElement(I,K({forwardRef:this.baseComponentRef,scrollPosition:ne},q))}}],L&&V(_.prototype,L),Object.defineProperty(_,"prototype",{writable:!1}),_;var _,L}(i().Component);return C.propTypes={delayMethod:s.PropTypes.oneOf(["debounce","throttle"]),delayTime:s.PropTypes.number,useIntersectionObserver:s.PropTypes.bool},C.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},C};function J(I){return J=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(C){return typeof C}:function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},J(I)}function ce(I,C){for(var A=0;A=0&&Number.isFinite(ne.y)&&ne.y>=0),L}return function(_,L){if(typeof L!="function"&&L!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(L&&L.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),L&&Xn(_,L)}(C,I),A=C,(j=[{key:"componentDidUpdate",value:function(_,L){L.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var _=this.props,L=_.className,Z=_.delayMethod,q=_.delayTime,ne=_.height,le=_.placeholder,Ee=_.scrollPosition,Te=_.style,fe=_.threshold,Ze=_.useIntersectionObserver,Ge=_.width;return this.isScrollTracked||Ze&&a()?i().createElement(b,{className:L,height:ne,onVisible:this.onVisible,placeholder:le,scrollPosition:Ee,style:Te,threshold:fe,useIntersectionObserver:Ze,width:Ge}):i().createElement(yt,{className:L,delayMethod:Z,delayTime:q,height:ne,onVisible:this.onVisible,placeholder:le,style:Te,threshold:fe,width:Ge})}}])&&Xs(A.prototype,j),Object.defineProperty(A,"prototype",{writable:!1}),A;var A,j}(i().Component);Gu.propTypes={afterLoad:s.PropTypes.func,beforeLoad:s.PropTypes.func,useIntersectionObserver:s.PropTypes.bool,visibleByDefault:s.PropTypes.bool},Gu.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const $h=Gu;function co(I){return co=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(C){return typeof C}:function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},co(I)}var sT=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function Wh(I,C){var A=Object.keys(I);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(I);C&&(j=j.filter(function(_){return Object.getOwnPropertyDescriptor(I,_).enumerable})),A.push.apply(A,j)}return A}function Gh(I){for(var C=1;C=0)continue;Ge[Je]=fe[Je]}return Ge}(Z,q);if(Object.getOwnPropertySymbols){var Te=Object.getOwnPropertySymbols(Z);for(le=0;le=0||{}.propertyIsEnumerable.call(Z,ne)&&(Ee[ne]=Z[ne])}return Ee}(_,sT));return i().createElement("img",Zs({},L,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var _=this.props,L=_.beforeLoad,Z=_.className,q=_.delayMethod,ne=_.delayTime,le=_.height,Ee=_.placeholder,Te=_.scrollPosition,fe=_.style,Ze=_.threshold,Ge=_.useIntersectionObserver,Je=_.visibleByDefault,qu=_.width;return i().createElement($h,{beforeLoad:L,className:Z,delayMethod:q,delayTime:ne,height:le,placeholder:Ee,scrollPosition:Te,style:fe,threshold:Ze,useIntersectionObserver:Ge,visibleByDefault:Je,width:qu},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(_){var L=this.props,Z=L.effect,q=L.height,ne=L.placeholderSrc,le=L.width,Ee=L.wrapperClassName,Te=L.wrapperProps,fe=this.state.loaded,Ze=fe?" lazy-load-image-loaded":"",Ge=fe||!ne?{}:{backgroundImage:"url(".concat(ne,")"),backgroundSize:"100% 100%"};return i().createElement("span",Zs({className:Ee+" lazy-load-image-background "+Z+Ze,style:Gh(Gh({},Ge),{},{color:"transparent",display:"inline-block",height:q,width:le})},Te),_)}},{key:"render",value:function(){var _=this.props,L=_.effect,Z=_.placeholderSrc,q=_.visibleByDefault,ne=_.wrapperClassName,le=_.wrapperProps,Ee=this.getLazyLoadImage();return(L||Z)&&!q||ne||le?this.getWrappedLazyLoadImage(Ee):Ee}}],j&&lT(A.prototype,j),Object.defineProperty(A,"prototype",{writable:!1}),A;var A,j}(i().Component);Ku.propTypes={onLoad:s.PropTypes.func,afterLoad:s.PropTypes.func,beforeLoad:s.PropTypes.func,delayMethod:s.PropTypes.string,delayTime:s.PropTypes.number,effect:s.PropTypes.string,placeholderSrc:s.PropTypes.string,threshold:s.PropTypes.number,useIntersectionObserver:s.PropTypes.bool,visibleByDefault:s.PropTypes.bool,wrapperClassName:s.PropTypes.string,wrapperProps:s.PropTypes.object},Ku.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const cT=Ku})(),Rx.exports=r})();var DD=Rx.exports;const LD=e=>{const{url:t,isHovering:n,title:r,description:o}=e;return t&&Es(e.url??"")?S.jsx(wn,{variant:"ghost",size:"icon",className:"hover:bg-transparent",children:S.jsx(zk,{className:ie("h-4 w-4",n?"glowing-icon animate-bounce":"")})}):S.jsx(S.Fragment,{})},jD=e=>{const t=e.item;let[n,r]=w.useState(null);const[o,i]=w.useState(!1),s=()=>{if(t.link){const u=t.link;xt.trackCustomEvent(At.clicked_on_item,{link:u}),window.open(u,"_blank")}},a=t.title===n;return S.jsxs("div",{className:ie("w-full sm:w-full md:w-1/2 xl:w-1/2 2xl:w-1/3 p-1 relative group block",Es(e.item.link??"")?"cursor-pointer":"cursor-not-allowed"),onMouseEnter:()=>r(t.title),onMouseLeave:()=>r(null),onClick:s,children:[S.jsx(T1,{children:a&&S.jsx(vd.span,{className:ie("absolute inset-0 h-full w-full block bg-opacity-15 rounded-xl",Es(e.item.link??"")?"bg-green-500":"bg-red-500"),layoutId:"hoverBackground",initial:{opacity:0},animate:{opacity:1,transition:{duration:.15}},exit:{opacity:0,transition:{duration:.15,delay:.2}}})}),S.jsxs(Vs,{className:"h-full flex flex-row w-full p-4 items-center",children:[S.jsx("div",{className:"w-8 h-8 flex min-w-8 min-h-8",children:o?S.jsx(Uk,{className:"w-full h-full"}):S.jsx(DD.LazyLoadImage,{className:"mr-4 object-contain",src:t.logo,onError:()=>i(!0)})}),S.jsxs("div",{className:"flex flex-col ml-3 w-full gap-y-1",children:[S.jsx(Kw,{children:t.title}),S.jsx(qw,{children:t.desc})]}),S.jsx(LD,{url:t.link,isHovering:a,title:t.title,description:t.desc??""})]})]})},FD=e=>S.jsx("div",{className:"flex flex-col pb-4 w-full",children:e.items.map(t=>{const n=()=>t.shouldNotSort?t.arr:t.arr.sort((r,o)=>r.title.localeCompare(o.title));return S.jsxs("div",{className:"flex flex-col",children:[S.jsxs("div",{className:"flex flex-row items-center px-4 py-3",children:[S.jsx(Dk,{className:"mr-2 h-4 w-4"}),S.jsx("h1",{className:"text-sm font-bold tracking-wider",children:t.text})]}),S.jsx("div",{className:"flex flex-row flex-wrap pl-2 pr-2 w-full",children:n().map(r=>S.jsx(jD,{item:r,title:t.text}))})]})})}),VD=({index:e,item:t})=>S.jsxs("div",{className:"flex flex-col w-full",id:`section-${t.name.toLowerCase()}`,children:[S.jsx(ND,{name:t.name,index:e}),S.jsx(FD,{items:t.items})]});function Q(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 UD(e,t){const n=w.createContext(t);function r(i){const{children:s,...a}=i,u=w.useMemo(()=>a,Object.values(a));return S.jsx(n.Provider,{value:u,children:s})}function o(i){const s=w.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 so(e,t=[]){let n=[];function r(i,s){const a=w.createContext(s),u=n.length;n=[...n,s];function l(f){const{scope:d,children:m,...g}=f,y=(d==null?void 0:d[e][u])||a,x=w.useMemo(()=>g,Object.values(g));return S.jsx(y.Provider,{value:x,children:m})}function c(f,d){const m=(d==null?void 0:d[e][u])||a,g=w.useContext(m);if(g)return g;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${i}\``)}return l.displayName=i+"Provider",[l,c]}const o=()=>{const i=n.map(s=>w.createContext(s));return function(a){const u=(a==null?void 0:a[e])||i;return w.useMemo(()=>({[`__scope${e}`]:{...a,[e]:u}}),[a,u])}};return o.scopeName=e,[r,zD(o,...t)]}function zD(...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:u,scopeName:l})=>{const f=u(i)[`__scope${l}`];return{...a,...f}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function pt(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Ou({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=BD({defaultProp:t,onChange:n}),i=e!==void 0,s=i?e:r,a=pt(n),u=w.useCallback(l=>{if(i){const f=typeof l=="function"?l(e):l;f!==e&&a(f)}else o(l)},[i,e,o,a]);return[s,u]}function BD({defaultProp:e,onChange:t}){const n=w.useState(e),[r]=n,o=w.useRef(r),i=pt(t);return w.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}function vh(e){const t=e+"CollectionProvider",[n,r]=so(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=m=>{const{scope:g,children:y}=m,x=An.useRef(null),h=An.useRef(new Map).current;return S.jsx(o,{scope:g,itemMap:h,collectionRef:x,children:y})};s.displayName=t;const a=e+"CollectionSlot",u=An.forwardRef((m,g)=>{const{scope:y,children:x}=m,h=i(a,y),p=$e(g,h.collectionRef);return S.jsx(eo,{ref:p,children:x})});u.displayName=a;const l=e+"CollectionItemSlot",c="data-radix-collection-item",f=An.forwardRef((m,g)=>{const{scope:y,children:x,...h}=m,p=An.useRef(null),v=$e(g,p),b=i(l,y);return An.useEffect(()=>(b.itemMap.set(p,{ref:p,...h}),()=>void b.itemMap.delete(p))),S.jsx(eo,{[c]:"",ref:v,children:x})});f.displayName=l;function d(m){const g=i(e+"CollectionConsumer",m);return An.useCallback(()=>{const x=g.collectionRef.current;if(!x)return[];const h=Array.from(x.querySelectorAll(`[${c}]`));return Array.from(g.itemMap.values()).sort((b,E)=>h.indexOf(b.ref.current)-h.indexOf(E.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:s,Slot:u,ItemSlot:f},d,r]}var $D=w.createContext(void 0);function Ix(e){const t=w.useContext($D);return e||t||"ltr"}function WD(e,t=globalThis==null?void 0:globalThis.document){const n=pt(e);w.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 GD="DismissableLayer",Ad="dismissableLayer.update",HD="dismissableLayer.pointerDownOutside",KD="dismissableLayer.focusOutside",oy,Ox=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Mu=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...u}=e,l=w.useContext(Ox),[c,f]=w.useState(null),d=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=w.useState({}),g=$e(t,k=>f(k)),y=Array.from(l.layers),[x]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),h=y.indexOf(x),p=c?y.indexOf(c):-1,v=l.layersWithOutsidePointerEventsDisabled.size>0,b=p>=h,E=YD(k=>{const T=k.target,O=[...l.branches].some(D=>D.contains(T));!b||O||(o==null||o(k),s==null||s(k),k.defaultPrevented||a==null||a())},d),P=XD(k=>{const T=k.target;[...l.branches].some(D=>D.contains(T))||(i==null||i(k),s==null||s(k),k.defaultPrevented||a==null||a())},d);return WD(k=>{p===l.layers.size-1&&(r==null||r(k),!k.defaultPrevented&&a&&(k.preventDefault(),a()))},d),w.useEffect(()=>{if(c)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(oy=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(c)),l.layers.add(c),iy(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=oy)}},[c,d,n,l]),w.useEffect(()=>()=>{c&&(l.layers.delete(c),l.layersWithOutsidePointerEventsDisabled.delete(c),iy())},[c,l]),w.useEffect(()=>{const k=()=>m({});return document.addEventListener(Ad,k),()=>document.removeEventListener(Ad,k)},[]),S.jsx(ue.div,{...u,ref:g,style:{pointerEvents:v?b?"auto":"none":void 0,...e.style},onFocusCapture:Q(e.onFocusCapture,P.onFocusCapture),onBlurCapture:Q(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Q(e.onPointerDownCapture,E.onPointerDownCapture)})});Mu.displayName=GD;var qD="DismissableLayerBranch",Mx=w.forwardRef((e,t)=>{const n=w.useContext(Ox),r=w.useRef(null),o=$e(t,r);return w.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),S.jsx(ue.div,{...e,ref:o})});Mx.displayName=qD;function YD(e,t=globalThis==null?void 0:globalThis.document){const n=pt(e),r=w.useRef(!1),o=w.useRef(()=>{});return w.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let u=function(){Nx(HD,n,l,{discrete:!0})};const l={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}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 XD(e,t=globalThis==null?void 0:globalThis.document){const n=pt(e),r=w.useRef(!1);return w.useEffect(()=>{const o=i=>{i.target&&!r.current&&Nx(KD,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 iy(){const e=new CustomEvent(Ad);document.dispatchEvent(e)}function Nx(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?mh(o,i):o.dispatchEvent(i)}var QD=Mu,ZD=Mx,Hc=0;function Dx(){w.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??sy()),document.body.insertAdjacentElement("beforeend",e[1]??sy()),Hc++,()=>{Hc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Hc--}},[])}function sy(){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 Kc="focusScope.autoFocusOnMount",qc="focusScope.autoFocusOnUnmount",ay={bubbles:!1,cancelable:!0},JD="FocusScope",gh=w.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[a,u]=w.useState(null),l=pt(o),c=pt(i),f=w.useRef(null),d=$e(t,y=>u(y)),m=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(r){let y=function(v){if(m.paused||!a)return;const b=v.target;a.contains(b)?f.current=b:nr(f.current,{select:!0})},x=function(v){if(m.paused||!a)return;const b=v.relatedTarget;b!==null&&(a.contains(b)||nr(f.current,{select:!0}))},h=function(v){if(document.activeElement===document.body)for(const E of v)E.removedNodes.length>0&&nr(a)};document.addEventListener("focusin",y),document.addEventListener("focusout",x);const p=new MutationObserver(h);return a&&p.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",x),p.disconnect()}}},[r,a,m.paused]),w.useEffect(()=>{if(a){uy.add(m);const y=document.activeElement;if(!a.contains(y)){const h=new CustomEvent(Kc,ay);a.addEventListener(Kc,l),a.dispatchEvent(h),h.defaultPrevented||(eL(iL(Lx(a)),{select:!0}),document.activeElement===y&&nr(a))}return()=>{a.removeEventListener(Kc,l),setTimeout(()=>{const h=new CustomEvent(qc,ay);a.addEventListener(qc,c),a.dispatchEvent(h),h.defaultPrevented||nr(y??document.body,{select:!0}),a.removeEventListener(qc,c),uy.remove(m)},0)}}},[a,l,c,m]);const g=w.useCallback(y=>{if(!n&&!r||m.paused)return;const x=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,h=document.activeElement;if(x&&h){const p=y.currentTarget,[v,b]=tL(p);v&&b?!y.shiftKey&&h===b?(y.preventDefault(),n&&nr(v,{select:!0})):y.shiftKey&&h===v&&(y.preventDefault(),n&&nr(b,{select:!0})):h===p&&y.preventDefault()}},[n,r,m.paused]);return S.jsx(ue.div,{tabIndex:-1,...s,ref:d,onKeyDown:g})});gh.displayName=JD;function eL(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(nr(r,{select:t}),document.activeElement!==n)return}function tL(e){const t=Lx(e),n=ly(t,e),r=ly(t.reverse(),e);return[n,r]}function Lx(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 ly(e,t){for(const n of e)if(!nL(n,{upTo:t}))return n}function nL(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 rL(e){return e instanceof HTMLInputElement&&"select"in e}function nr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&rL(e)&&t&&e.select()}}var uy=oL();function oL(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=cy(e,t),e.unshift(t)},remove(t){var n;e=cy(e,t),(n=e[0])==null||n.resume()}}}function cy(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function iL(e){return e.filter(t=>t.tagName!=="A")}var Cr=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},sL=AT.useId||(()=>{}),aL=0;function qo(e){const[t,n]=w.useState(sL());return Cr(()=>{n(r=>r??String(aL++))},[e]),t?`radix-${t}`:""}const lL=["top","right","bottom","left"],xn=Math.min,_t=Math.max,$l=Math.round,Ra=Math.floor,kr=e=>({x:e,y:e}),uL={left:"right",right:"left",bottom:"top",top:"bottom"},cL={start:"end",end:"start"};function Rd(e,t,n){return _t(e,xn(t,n))}function Gn(e,t){return typeof e=="function"?e(t):e}function Hn(e){return e.split("-")[0]}function Si(e){return e.split("-")[1]}function yh(e){return e==="x"?"y":"x"}function wh(e){return e==="y"?"height":"width"}function _r(e){return["top","bottom"].includes(Hn(e))?"y":"x"}function bh(e){return yh(_r(e))}function fL(e,t,n){n===void 0&&(n=!1);const r=Si(e),o=bh(e),i=wh(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Wl(s)),[s,Wl(s)]}function dL(e){const t=Wl(e);return[Id(e),t,Id(t)]}function Id(e){return e.replace(/start|end/g,t=>cL[t])}function pL(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 hL(e,t,n,r){const o=Si(e);let i=pL(Hn(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Id)))),i}function Wl(e){return e.replace(/left|right|bottom|top/g,t=>uL[t])}function mL(e){return{top:0,right:0,bottom:0,left:0,...e}}function jx(e){return typeof e!="number"?mL(e):{top:e,right:e,bottom:e,left:e}}function Gl(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 fy(e,t,n){let{reference:r,floating:o}=e;const i=_r(t),s=bh(t),a=wh(s),u=Hn(t),l=i==="y",c=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let m;switch(u){case"top":m={x:c,y:r.y-o.height};break;case"bottom":m={x:c,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:f};break;case"left":m={x:r.x-o.width,y:f};break;default:m={x:r.x,y:r.y}}switch(Si(t)){case"start":m[s]-=d*(n&&l?-1:1);break;case"end":m[s]+=d*(n&&l?-1:1);break}return m}const vL=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=fy(l,r,u),d=r,m={},g=0;for(let y=0;y({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:u}=t,{element:l,padding:c=0}=Gn(e,t)||{};if(l==null)return{};const f=jx(c),d={x:n,y:r},m=bh(o),g=wh(m),y=await s.getDimensions(l),x=m==="y",h=x?"top":"left",p=x?"bottom":"right",v=x?"clientHeight":"clientWidth",b=i.reference[g]+i.reference[m]-d[m]-i.floating[g],E=d[m]-i.reference[m],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l));let k=P?P[v]:0;(!k||!await(s.isElement==null?void 0:s.isElement(P)))&&(k=a.floating[v]||i.floating[g]);const T=b/2-E/2,O=k/2-y[g]/2-1,D=xn(f[h],O),z=xn(f[p],O),F=D,K=k-y[g]-z,V=k/2-y[g]/2+T,B=Rd(F,V,K),$=!u.arrow&&Si(o)!=null&&V!==B&&i.reference[g]/2-(VV<=0)){var z,F;const V=(((z=i.flip)==null?void 0:z.index)||0)+1,B=k[V];if(B)return{data:{index:V,overflows:D},reset:{placement:B}};let $=(F=D.filter(W=>W.overflows[0]<=0).sort((W,M)=>W.overflows[1]-M.overflows[1])[0])==null?void 0:F.placement;if(!$)switch(m){case"bestFit":{var K;const W=(K=D.filter(M=>{if(P){const R=_r(M.placement);return R===p||R==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(R=>R>0).reduce((R,N)=>R+N,0)]).sort((M,R)=>M[1]-R[1])[0])==null?void 0:K[0];W&&($=W);break}case"initialPlacement":$=a;break}if(o!==$)return{reset:{placement:$}}}return{}}}};function dy(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function py(e){return lL.some(t=>e[t]>=0)}const wL=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Gn(e,t);switch(r){case"referenceHidden":{const i=await Rs(t,{...o,elementContext:"reference"}),s=dy(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:py(s)}}}case"escaped":{const i=await Rs(t,{...o,altBoundary:!0}),s=dy(i,n.floating);return{data:{escapedOffsets:s,escaped:py(s)}}}default:return{}}}}};async function bL(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Hn(n),a=Si(n),u=_r(n)==="y",l=["left","top"].includes(s)?-1:1,c=i&&u?-1:1,f=Gn(t,e);let{mainAxis:d,crossAxis:m,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof g=="number"&&(m=a==="end"?g*-1:g),u?{x:m*c,y:d*l}:{x:d*l,y:m*c}}const xL=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,u=await bL(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:s}}}}},SL=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:x=>{let{x:h,y:p}=x;return{x:h,y:p}}},...u}=Gn(e,t),l={x:n,y:r},c=await Rs(t,u),f=_r(Hn(o)),d=yh(f);let m=l[d],g=l[f];if(i){const x=d==="y"?"top":"left",h=d==="y"?"bottom":"right",p=m+c[x],v=m-c[h];m=Rd(p,m,v)}if(s){const x=f==="y"?"top":"left",h=f==="y"?"bottom":"right",p=g+c[x],v=g-c[h];g=Rd(p,g,v)}const y=a.fn({...t,[d]:m,[f]:g});return{...y,data:{x:y.x-n,y:y.y-r}}}}},EL=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:u=!0,crossAxis:l=!0}=Gn(e,t),c={x:n,y:r},f=_r(o),d=yh(f);let m=c[d],g=c[f];const y=Gn(a,t),x=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(u){const v=d==="y"?"height":"width",b=i.reference[d]-i.floating[v]+x.mainAxis,E=i.reference[d]+i.reference[v]-x.mainAxis;mE&&(m=E)}if(l){var h,p;const v=d==="y"?"width":"height",b=["top","left"].includes(Hn(o)),E=i.reference[f]-i.floating[v]+(b&&((h=s.offset)==null?void 0:h[f])||0)+(b?0:x.crossAxis),P=i.reference[f]+i.reference[v]+(b?0:((p=s.offset)==null?void 0:p[f])||0)-(b?x.crossAxis:0);gP&&(g=P)}return{[d]:m,[f]:g}}}},TL=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}=Gn(e,t),u=await Rs(t,a),l=Hn(n),c=Si(n),f=_r(n)==="y",{width:d,height:m}=r.floating;let g,y;l==="top"||l==="bottom"?(g=l,y=c===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(y=l,g=c==="end"?"top":"bottom");const x=m-u.top-u.bottom,h=d-u.left-u.right,p=xn(m-u[g],x),v=xn(d-u[y],h),b=!t.middlewareData.shift;let E=p,P=v;if(f?P=c||b?xn(v,h):h:E=c||b?xn(p,x):x,b&&!c){const T=_t(u.left,0),O=_t(u.right,0),D=_t(u.top,0),z=_t(u.bottom,0);f?P=d-2*(T!==0||O!==0?T+O:_t(u.left,u.right)):E=m-2*(D!==0||z!==0?D+z:_t(u.top,u.bottom))}await s({...t,availableWidth:P,availableHeight:E});const k=await o.getDimensions(i.floating);return d!==k.width||m!==k.height?{reset:{rects:!0}}:{}}}};function Ei(e){return Fx(e)?(e.nodeName||"").toLowerCase():"#document"}function Ot(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function qn(e){var t;return(t=(Fx(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Fx(e){return e instanceof Node||e instanceof Ot(e).Node}function un(e){return e instanceof Element||e instanceof Ot(e).Element}function kn(e){return e instanceof HTMLElement||e instanceof Ot(e).HTMLElement}function hy(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ot(e).ShadowRoot}function Ks(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=cn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function PL(e){return["table","td","th"].includes(Ei(e))}function Nu(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function xh(e){const t=Sh(),n=un(e)?cn(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 CL(e){let t=Ar(e);for(;kn(t)&&!di(t);){if(xh(t))return t;if(Nu(t))return null;t=Ar(t)}return null}function Sh(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function di(e){return["html","body","#document"].includes(Ei(e))}function cn(e){return Ot(e).getComputedStyle(e)}function Du(e){return un(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ar(e){if(Ei(e)==="html")return e;const t=e.assignedSlot||e.parentNode||hy(e)&&e.host||qn(e);return hy(t)?t.host:t}function Vx(e){const t=Ar(e);return di(t)?e.ownerDocument?e.ownerDocument.body:e.body:kn(t)&&Ks(t)?t:Vx(t)}function Is(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Vx(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=Ot(o);if(i){const a=Od(s);return t.concat(s,s.visualViewport||[],Ks(o)?o:[],a&&n?Is(a):[])}return t.concat(o,Is(o,[],n))}function Od(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ux(e){const t=cn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=kn(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=$l(n)!==i||$l(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function Eh(e){return un(e)?e:e.contextElement}function Yo(e){const t=Eh(e);if(!kn(t))return kr(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Ux(t);let s=(i?$l(n.width):n.width)/r,a=(i?$l(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const kL=kr(0);function zx(e){const t=Ot(e);return!Sh()||!t.visualViewport?kL:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function _L(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ot(e)?!1:t}function no(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Eh(e);let s=kr(1);t&&(r?un(r)&&(s=Yo(r)):s=Yo(e));const a=_L(i,n,r)?zx(i):kr(0);let u=(o.left+a.x)/s.x,l=(o.top+a.y)/s.y,c=o.width/s.x,f=o.height/s.y;if(i){const d=Ot(i),m=r&&un(r)?Ot(r):r;let g=d,y=Od(g);for(;y&&r&&m!==g;){const x=Yo(y),h=y.getBoundingClientRect(),p=cn(y),v=h.left+(y.clientLeft+parseFloat(p.paddingLeft))*x.x,b=h.top+(y.clientTop+parseFloat(p.paddingTop))*x.y;u*=x.x,l*=x.y,c*=x.x,f*=x.y,u+=v,l+=b,g=Ot(y),y=Od(g)}}return Gl({width:c,height:f,x:u,y:l})}function AL(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=qn(r),a=t?Nu(t.floating):!1;if(r===s||a&&i)return n;let u={scrollLeft:0,scrollTop:0},l=kr(1);const c=kr(0),f=kn(r);if((f||!f&&!i)&&((Ei(r)!=="body"||Ks(s))&&(u=Du(r)),kn(r))){const d=no(r);l=Yo(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+c.x,y:n.y*l.y-u.scrollTop*l.y+c.y}}function RL(e){return Array.from(e.getClientRects())}function Bx(e){return no(qn(e)).left+Du(e).scrollLeft}function IL(e){const t=qn(e),n=Du(e),r=e.ownerDocument.body,o=_t(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=_t(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Bx(e);const a=-n.scrollTop;return cn(r).direction==="rtl"&&(s+=_t(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}function OL(e,t){const n=Ot(e),r=qn(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,u=0;if(o){i=o.width,s=o.height;const l=Sh();(!l||l&&t==="fixed")&&(a=o.offsetLeft,u=o.offsetTop)}return{width:i,height:s,x:a,y:u}}function ML(e,t){const n=no(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=kn(e)?Yo(e):kr(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,u=o*i.x,l=r*i.y;return{width:s,height:a,x:u,y:l}}function my(e,t,n){let r;if(t==="viewport")r=OL(e,n);else if(t==="document")r=IL(qn(e));else if(un(t))r=ML(t,n);else{const o=zx(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Gl(r)}function $x(e,t){const n=Ar(e);return n===t||!un(n)||di(n)?!1:cn(n).position==="fixed"||$x(n,t)}function NL(e,t){const n=t.get(e);if(n)return n;let r=Is(e,[],!1).filter(a=>un(a)&&Ei(a)!=="body"),o=null;const i=cn(e).position==="fixed";let s=i?Ar(e):e;for(;un(s)&&!di(s);){const a=cn(s),u=xh(s);!u&&a.position==="fixed"&&(o=null),(i?!u&&!o:!u&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Ks(s)&&!u&&$x(e,s))?r=r.filter(c=>c!==s):o=a,s=Ar(s)}return t.set(e,r),r}function DL(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Nu(t)?[]:NL(t,this._c):[].concat(n),r],a=s[0],u=s.reduce((l,c)=>{const f=my(t,c,o);return l.top=_t(f.top,l.top),l.right=xn(f.right,l.right),l.bottom=xn(f.bottom,l.bottom),l.left=_t(f.left,l.left),l},my(t,a,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function LL(e){const{width:t,height:n}=Ux(e);return{width:t,height:n}}function jL(e,t,n){const r=kn(t),o=qn(t),i=n==="fixed",s=no(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const u=kr(0);if(r||!r&&!i)if((Ei(t)!=="body"||Ks(o))&&(a=Du(t)),r){const f=no(t,!0,i,t);u.x=f.x+t.clientLeft,u.y=f.y+t.clientTop}else o&&(u.x=Bx(o));const l=s.left+a.scrollLeft-u.x,c=s.top+a.scrollTop-u.y;return{x:l,y:c,width:s.width,height:s.height}}function Yc(e){return cn(e).position==="static"}function vy(e,t){return!kn(e)||cn(e).position==="fixed"?null:t?t(e):e.offsetParent}function Wx(e,t){const n=Ot(e);if(Nu(e))return n;if(!kn(e)){let o=Ar(e);for(;o&&!di(o);){if(un(o)&&!Yc(o))return o;o=Ar(o)}return n}let r=vy(e,t);for(;r&&PL(r)&&Yc(r);)r=vy(r,t);return r&&di(r)&&Yc(r)&&!xh(r)?n:r||CL(e)||n}const FL=async function(e){const t=this.getOffsetParent||Wx,n=this.getDimensions,r=await n(e.floating);return{reference:jL(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function VL(e){return cn(e).direction==="rtl"}const UL={convertOffsetParentRelativeRectToViewportRelativeRect:AL,getDocumentElement:qn,getClippingRect:DL,getOffsetParent:Wx,getElementRects:FL,getClientRects:RL,getDimensions:LL,getScale:Yo,isElement:un,isRTL:VL};function zL(e,t){let n=null,r;const o=qn(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,u){a===void 0&&(a=!1),u===void 0&&(u=1),i();const{left:l,top:c,width:f,height:d}=e.getBoundingClientRect();if(a||t(),!f||!d)return;const m=Ra(c),g=Ra(o.clientWidth-(l+f)),y=Ra(o.clientHeight-(c+d)),x=Ra(l),p={rootMargin:-m+"px "+-g+"px "+-y+"px "+-x+"px",threshold:_t(0,xn(1,u))||1};let v=!0;function b(E){const P=E[0].intersectionRatio;if(P!==u){if(!v)return s();P?s(!1,P):r=setTimeout(()=>{s(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(b,{...p,root:o.ownerDocument})}catch{n=new IntersectionObserver(b,p)}n.observe(e)}return s(!0),i}function BL(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:u=!1}=r,l=Eh(e),c=o||i?[...l?Is(l):[],...Is(t)]:[];c.forEach(h=>{o&&h.addEventListener("scroll",n,{passive:!0}),i&&h.addEventListener("resize",n)});const f=l&&a?zL(l,n):null;let d=-1,m=null;s&&(m=new ResizeObserver(h=>{let[p]=h;p&&p.target===l&&m&&(m.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var v;(v=m)==null||v.observe(t)})),n()}),l&&!u&&m.observe(l),m.observe(t));let g,y=u?no(e):null;u&&x();function x(){const h=no(e);y&&(h.x!==y.x||h.y!==y.y||h.width!==y.width||h.height!==y.height)&&n(),y=h,g=requestAnimationFrame(x)}return n(),()=>{var h;c.forEach(p=>{o&&p.removeEventListener("scroll",n),i&&p.removeEventListener("resize",n)}),f==null||f(),(h=m)==null||h.disconnect(),m=null,u&&cancelAnimationFrame(g)}}const $L=xL,WL=SL,GL=yL,HL=TL,KL=wL,gy=gL,qL=EL,YL=(e,t,n)=>{const r=new Map,o={platform:UL,...n},i={...o.platform,_c:r};return vL(e,t,{...o,platform:i})};var nl=typeof document<"u"?w.useLayoutEffect:w.useEffect;function Hl(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(!Hl(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)&&!Hl(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Gx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function yy(e,t){const n=Gx(e);return Math.round(t*n)/n}function wy(e){const t=w.useRef(e);return nl(()=>{t.current=e}),t}function XL(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:u,open:l}=e,[c,f]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,m]=w.useState(r);Hl(d,r)||m(r);const[g,y]=w.useState(null),[x,h]=w.useState(null),p=w.useCallback(W=>{W!==P.current&&(P.current=W,y(W))},[]),v=w.useCallback(W=>{W!==k.current&&(k.current=W,h(W))},[]),b=i||g,E=s||x,P=w.useRef(null),k=w.useRef(null),T=w.useRef(c),O=u!=null,D=wy(u),z=wy(o),F=w.useCallback(()=>{if(!P.current||!k.current)return;const W={placement:t,strategy:n,middleware:d};z.current&&(W.platform=z.current),YL(P.current,k.current,W).then(M=>{const R={...M,isPositioned:!0};K.current&&!Hl(T.current,R)&&(T.current=R,vi.flushSync(()=>{f(R)}))})},[d,t,n,z]);nl(()=>{l===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,f(W=>({...W,isPositioned:!1})))},[l]);const K=w.useRef(!1);nl(()=>(K.current=!0,()=>{K.current=!1}),[]),nl(()=>{if(b&&(P.current=b),E&&(k.current=E),b&&E){if(D.current)return D.current(b,E,F);F()}},[b,E,F,D,O]);const V=w.useMemo(()=>({reference:P,floating:k,setReference:p,setFloating:v}),[p,v]),B=w.useMemo(()=>({reference:b,floating:E}),[b,E]),$=w.useMemo(()=>{const W={position:n,left:0,top:0};if(!B.floating)return W;const M=yy(B.floating,c.x),R=yy(B.floating,c.y);return a?{...W,transform:"translate("+M+"px, "+R+"px)",...Gx(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:R}},[n,a,B.floating,c.x,c.y]);return w.useMemo(()=>({...c,update:F,refs:V,elements:B,floatingStyles:$}),[c,F,V,B,$])}const QL=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?gy({element:r.current,padding:o}).fn(n):{}:r?gy({element:r,padding:o}).fn(n):{}}}},ZL=(e,t)=>({...$L(e),options:[e,t]}),JL=(e,t)=>({...WL(e),options:[e,t]}),ej=(e,t)=>({...qL(e),options:[e,t]}),tj=(e,t)=>({...GL(e),options:[e,t]}),nj=(e,t)=>({...HL(e),options:[e,t]}),rj=(e,t)=>({...KL(e),options:[e,t]}),oj=(e,t)=>({...QL(e),options:[e,t]});var ij="Arrow",Hx=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return S.jsx(ue.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:S.jsx("polygon",{points:"0,0 30,0 15,10"})})});Hx.displayName=ij;var sj=Hx;function aj(e){const[t,n]=w.useState(void 0);return Cr(()=>{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 u=i.borderBoxSize,l=Array.isArray(u)?u[0]:u;s=l.inlineSize,a=l.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 Th="Popper",[Kx,qx]=so(Th),[lj,Yx]=Kx(Th),Xx=e=>{const{__scopePopper:t,children:n}=e,[r,o]=w.useState(null);return S.jsx(lj,{scope:t,anchor:r,onAnchorChange:o,children:n})};Xx.displayName=Th;var Qx="PopperAnchor",Zx=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Yx(Qx,n),s=w.useRef(null),a=$e(t,s);return w.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:S.jsx(ue.div,{...o,ref:a})});Zx.displayName=Qx;var Ph="PopperContent",[uj,cj]=Kx(Ph),Jx=w.forwardRef((e,t)=>{var Se,Qe,be,Ie,We,yt;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:u=!0,collisionBoundary:l=[],collisionPadding:c=0,sticky:f="partial",hideWhenDetached:d=!1,updatePositionStrategy:m="optimized",onPlaced:g,...y}=e,x=Yx(Ph,n),[h,p]=w.useState(null),v=$e(t,Ne=>p(Ne)),[b,E]=w.useState(null),P=aj(b),k=(P==null?void 0:P.width)??0,T=(P==null?void 0:P.height)??0,O=r+(i!=="center"?"-"+i:""),D=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},z=Array.isArray(l)?l:[l],F=z.length>0,K={padding:D,boundary:z.filter(dj),altBoundary:F},{refs:V,floatingStyles:B,placement:$,isPositioned:W,middlewareData:M}=XL({strategy:"fixed",placement:O,whileElementsMounted:(...Ne)=>BL(...Ne,{animationFrame:m==="always"}),elements:{reference:x.anchor},middleware:[ZL({mainAxis:o+T,alignmentAxis:s}),u&&JL({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?ej():void 0,...K}),u&&tj({...K}),nj({...K,apply:({elements:Ne,rects:Xs,availableWidth:$u,availableHeight:Wu})=>{const{width:Qs,height:uo}=Xs.reference,Xn=Ne.floating.style;Xn.setProperty("--radix-popper-available-width",`${$u}px`),Xn.setProperty("--radix-popper-available-height",`${Wu}px`),Xn.setProperty("--radix-popper-anchor-width",`${Qs}px`),Xn.setProperty("--radix-popper-anchor-height",`${uo}px`)}}),b&&oj({element:b,padding:a}),pj({arrowWidth:k,arrowHeight:T}),d&&rj({strategy:"referenceHidden",...K})]}),[R,N]=nS($),G=pt(g);Cr(()=>{W&&(G==null||G())},[W,G]);const Y=(Se=M.arrow)==null?void 0:Se.x,te=(Qe=M.arrow)==null?void 0:Qe.y,J=((be=M.arrow)==null?void 0:be.centerOffset)!==0,[ce,ve]=w.useState();return Cr(()=>{h&&ve(window.getComputedStyle(h).zIndex)},[h]),S.jsx("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:W?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ce,"--radix-popper-transform-origin":[(Ie=M.transformOrigin)==null?void 0:Ie.x,(We=M.transformOrigin)==null?void 0:We.y].join(" "),...((yt=M.hide)==null?void 0:yt.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:S.jsx(uj,{scope:n,placedSide:R,onArrowChange:E,arrowX:Y,arrowY:te,shouldHideArrow:J,children:S.jsx(ue.div,{"data-side":R,"data-align":N,...y,ref:v,style:{...y.style,animation:W?void 0:"none"}})})})});Jx.displayName=Ph;var eS="PopperArrow",fj={top:"bottom",right:"left",bottom:"top",left:"right"},tS=w.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=cj(eS,r),s=fj[i.placedSide];return S.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:S.jsx(sj,{...o,ref:n,style:{...o.style,display:"block"}})})});tS.displayName=eS;function dj(e){return e!==null}var pj=e=>({name:"transformOrigin",options:e,fn(t){var x,h,p;const{placement:n,rects:r,middlewareData:o}=t,s=((x=o.arrow)==null?void 0:x.centerOffset)!==0,a=s?0:e.arrowWidth,u=s?0:e.arrowHeight,[l,c]=nS(n),f={start:"0%",center:"50%",end:"100%"}[c],d=(((h=o.arrow)==null?void 0:h.x)??0)+a/2,m=(((p=o.arrow)==null?void 0:p.y)??0)+u/2;let g="",y="";return l==="bottom"?(g=s?f:`${d}px`,y=`${-u}px`):l==="top"?(g=s?f:`${d}px`,y=`${r.floating.height+u}px`):l==="right"?(g=`${-u}px`,y=s?f:`${m}px`):l==="left"&&(g=`${r.floating.width+u}px`,y=s?f:`${m}px`),{data:{x:g,y}}}});function nS(e){const[t,n="center"]=e.split("-");return[t,n]}var hj=Xx,mj=Zx,vj=Jx,gj=tS,yj="Portal",Lu=w.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=w.useState(!1);Cr(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?UC.createPortal(S.jsx(ue.div,{...r,ref:t}),s):null});Lu.displayName=yj;function wj(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var Yn=e=>{const{present:t,children:n}=e,r=bj(t),o=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),i=$e(r.ref,xj(o));return typeof n=="function"||r.isPresent?w.cloneElement(o,{ref:i}):null};Yn.displayName="Presence";function bj(e){const[t,n]=w.useState(),r=w.useRef({}),o=w.useRef(e),i=w.useRef("none"),s=e?"mounted":"unmounted",[a,u]=wj(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const l=Ia(r.current);i.current=a==="mounted"?l:"none"},[a]),Cr(()=>{const l=r.current,c=o.current;if(c!==e){const d=i.current,m=Ia(l);e?u("MOUNT"):m==="none"||(l==null?void 0:l.display)==="none"?u("UNMOUNT"):u(c&&d!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),Cr(()=>{if(t){const l=f=>{const m=Ia(r.current).includes(f.animationName);f.target===t&&m&&vi.flushSync(()=>u("ANIMATION_END"))},c=f=>{f.target===t&&(i.current=Ia(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",l),t.addEventListener("animationend",l),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",l),t.removeEventListener("animationend",l)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:w.useCallback(l=>{l&&(r.current=getComputedStyle(l)),n(l)},[])}}function Ia(e){return(e==null?void 0:e.animationName)||"none"}function xj(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 Xc="rovingFocusGroup.onEntryFocus",Sj={bubbles:!1,cancelable:!0},ju="RovingFocusGroup",[Md,rS,Ej]=vh(ju),[Tj,oS]=so(ju,[Ej]),[Pj,Cj]=Tj(ju),iS=w.forwardRef((e,t)=>S.jsx(Md.Provider,{scope:e.__scopeRovingFocusGroup,children:S.jsx(Md.Slot,{scope:e.__scopeRovingFocusGroup,children:S.jsx(kj,{...e,ref:t})})}));iS.displayName=ju;var kj=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:s,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:u,onEntryFocus:l,preventScrollOnEntryFocus:c=!1,...f}=e,d=w.useRef(null),m=$e(t,d),g=Ix(i),[y=null,x]=Ou({prop:s,defaultProp:a,onChange:u}),[h,p]=w.useState(!1),v=pt(l),b=rS(n),E=w.useRef(!1),[P,k]=w.useState(0);return w.useEffect(()=>{const T=d.current;if(T)return T.addEventListener(Xc,v),()=>T.removeEventListener(Xc,v)},[v]),S.jsx(Pj,{scope:n,orientation:r,dir:g,loop:o,currentTabStopId:y,onItemFocus:w.useCallback(T=>x(T),[x]),onItemShiftTab:w.useCallback(()=>p(!0),[]),onFocusableItemAdd:w.useCallback(()=>k(T=>T+1),[]),onFocusableItemRemove:w.useCallback(()=>k(T=>T-1),[]),children:S.jsx(ue.div,{tabIndex:h||P===0?-1:0,"data-orientation":r,...f,ref:m,style:{outline:"none",...e.style},onMouseDown:Q(e.onMouseDown,()=>{E.current=!0}),onFocus:Q(e.onFocus,T=>{const O=!E.current;if(T.target===T.currentTarget&&O&&!h){const D=new CustomEvent(Xc,Sj);if(T.currentTarget.dispatchEvent(D),!D.defaultPrevented){const z=b().filter($=>$.focusable),F=z.find($=>$.active),K=z.find($=>$.id===y),B=[F,K,...z].filter(Boolean).map($=>$.ref.current);lS(B,c)}}E.current=!1}),onBlur:Q(e.onBlur,()=>p(!1))})})}),sS="RovingFocusGroupItem",aS=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...s}=e,a=qo(),u=i||a,l=Cj(sS,n),c=l.currentTabStopId===u,f=rS(n),{onFocusableItemAdd:d,onFocusableItemRemove:m}=l;return w.useEffect(()=>{if(r)return d(),()=>m()},[r,d,m]),S.jsx(Md.ItemSlot,{scope:n,id:u,focusable:r,active:o,children:S.jsx(ue.span,{tabIndex:c?0:-1,"data-orientation":l.orientation,...s,ref:t,onMouseDown:Q(e.onMouseDown,g=>{r?l.onItemFocus(u):g.preventDefault()}),onFocus:Q(e.onFocus,()=>l.onItemFocus(u)),onKeyDown:Q(e.onKeyDown,g=>{if(g.key==="Tab"&&g.shiftKey){l.onItemShiftTab();return}if(g.target!==g.currentTarget)return;const y=Rj(g,l.orientation,l.dir);if(y!==void 0){if(g.metaKey||g.ctrlKey||g.altKey||g.shiftKey)return;g.preventDefault();let h=f().filter(p=>p.focusable).map(p=>p.ref.current);if(y==="last")h.reverse();else if(y==="prev"||y==="next"){y==="prev"&&h.reverse();const p=h.indexOf(g.currentTarget);h=l.loop?Ij(h,p+1):h.slice(p+1)}setTimeout(()=>lS(h))}})})})});aS.displayName=sS;var _j={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Aj(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Rj(e,t,n){const r=Aj(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return _j[r]}function lS(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function Ij(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var Oj=iS,Mj=aS,Nj=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ho=new WeakMap,Oa=new WeakMap,Ma={},Qc=0,uS=function(e){return e&&(e.host||uS(e.parentNode))},Dj=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=uS(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})},Lj=function(e,t,n,r){var o=Dj(t,Array.isArray(e)?e:[e]);Ma[n]||(Ma[n]=new WeakMap);var i=Ma[n],s=[],a=new Set,u=new Set(o),l=function(f){!f||a.has(f)||(a.add(f),l(f.parentNode))};o.forEach(l);var c=function(f){!f||u.has(f)||Array.prototype.forEach.call(f.children,function(d){if(a.has(d))c(d);else try{var m=d.getAttribute(r),g=m!==null&&m!=="false",y=(ho.get(d)||0)+1,x=(i.get(d)||0)+1;ho.set(d,y),i.set(d,x),s.push(d),y===1&&g&&Oa.set(d,!0),x===1&&d.setAttribute(n,"true"),g||d.setAttribute(r,"true")}catch(h){console.error("aria-hidden: cannot operate on ",d,h)}})};return c(t),a.clear(),Qc++,function(){s.forEach(function(f){var d=ho.get(f)-1,m=i.get(f)-1;ho.set(f,d),i.set(f,m),d||(Oa.has(f)||f.removeAttribute(r),Oa.delete(f)),m||f.removeAttribute(n)}),Qc--,Qc||(ho=new WeakMap,ho=new WeakMap,Oa=new WeakMap,Ma={})}},cS=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=Nj(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Lj(r,o,n,"aria-hidden")):function(){return null}},rl="right-scroll-bar-position",ol="width-before-scroll-bar",jj="with-scroll-bars-hidden",Fj="--removed-body-scroll-bar-size";function Zc(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Vj(e,t){var n=w.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Uj=typeof window<"u"?w.useLayoutEffect:w.useEffect,by=new WeakMap;function zj(e,t){var n=Vj(null,function(r){return e.forEach(function(o){return Zc(o,r)})});return Uj(function(){var r=by.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(a){i.has(a)||Zc(a,null)}),i.forEach(function(a){o.has(a)||Zc(a,s)})}by.set(n,e)},[e]),n}function Bj(e){return e}function $j(e,t){t===void 0&&(t=Bj);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(a){return i(a)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(i),s=n}var u=function(){var c=s;s=[],c.forEach(i)},l=function(){return Promise.resolve().then(u)};l(),n={push:function(c){s.push(c),l()},filter:function(c){return s=s.filter(c),n}}}};return o}function Wj(e){e===void 0&&(e={});var t=$j(null);return t.options=yn({async:!0,ssr:!1},e),t}var fS=function(e){var t=e.sideCar,n=H1(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return w.createElement(r,yn({},n))};fS.isSideCarExport=!0;function Gj(e,t){return e.useMedium(t),fS}var dS=Wj(),Jc=function(){},Fu=w.forwardRef(function(e,t){var n=w.useRef(null),r=w.useState({onScrollCapture:Jc,onWheelCapture:Jc,onTouchMoveCapture:Jc}),o=r[0],i=r[1],s=e.forwardProps,a=e.children,u=e.className,l=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,m=e.noIsolation,g=e.inert,y=e.allowPinchZoom,x=e.as,h=x===void 0?"div":x,p=e.gapMode,v=H1(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),b=d,E=zj([n,t]),P=yn(yn({},v),o);return w.createElement(w.Fragment,null,c&&w.createElement(b,{sideCar:dS,removeScrollBar:l,shards:f,noIsolation:m,inert:g,setCallbacks:i,allowPinchZoom:!!y,lockRef:n,gapMode:p}),s?w.cloneElement(w.Children.only(a),yn(yn({},P),{ref:E})):w.createElement(h,yn({},P,{className:u,ref:E}),a))});Fu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Fu.classNames={fullWidth:ol,zeroRight:rl};var Hj=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Kj(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Hj();return t&&e.setAttribute("nonce",t),e}function qj(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Yj(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Xj=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Kj())&&(qj(t,n),Yj(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Qj=function(){var e=Xj();return function(t,n){w.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},pS=function(){var e=Qj(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Zj={left:0,top:0,right:0,gap:0},ef=function(e){return parseInt(e||"",10)||0},Jj=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[ef(n),ef(r),ef(o)]},e3=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Zj;var t=Jj(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])}},t3=pS(),Xo="data-scroll-locked",n3=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),` + `):"",this.name="UnsubscriptionError",this.errors=n}});function Pd(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var _u=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,o,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=As(s),u=a.next();!u.done;u=a.next()){var l=u.value;l.remove(this)}}catch(y){t={error:y}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}else s.remove(this);var c=this.initialTeardown;if(me(c))try{c()}catch(y){i=y instanceof Bc?y.errors:[y]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var d=As(f),m=d.next();!m.done;m=d.next()){var g=m.value;try{Xg(g)}catch(y){i=i??[],y instanceof Bc?i=fi(fi([],ci(i)),ci(y.errors)):i.push(y)}}}catch(y){r={error:y}}finally{try{m&&!m.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}}if(i)throw new Bc(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Xg(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&Pd(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&Pd(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();_u.EMPTY;function Y1(e){return e instanceof _u||e&&"closed"in e&&me(e.remove)&&me(e.add)&&me(e.unsubscribe)}function Xg(e){me(e)?e():e.unsubscribe()}var X1={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Q1={setTimeout:function(e,t){for(var n=[],r=2;r0&&h(o)},void 0,void 0,function(){g!=null&&g.closed||g==null||g.unsubscribe(),y=null})),!x&&h(r!=null?typeof r=="number"?r:+r-u.now():o)})}function PN(e){throw new EN(e)}function bn(e,t){return dn(function(n,r){var o=0;n.subscribe(Dt(r,function(i){r.next(e.call(t,i,o++))}))})}var CN=Array.isArray;function kN(e,t){return CN(t)?e.apply(void 0,fi([],ci(t))):e(t)}function _N(e){return bn(function(t){return kN(e,t)})}function AN(e,t,n,r,o,i,s,a){var u=[],l=0,c=0,f=!1,d=function(){f&&!u.length&&!l&&t.complete()},m=function(y){return l0&&(r=o[0]),Iu(r)}else throw new Error("Selector was not found.")}function HN(e,t){return e.nodeType===Node.DOCUMENT_NODE?e:e===t.root?e.ownerDocument:e}function ka(e,t,n){for(var r=null,o=[],i=e,s=0,a=function(){var l,c,f=Aa(KN(i))||Aa.apply(void 0,to([],an(qN(i)),!1))||Aa.apply(void 0,to([],an(YN(i)),!1))||Aa(XN(i))||[ny()],d=QN(i);if(t=="all")d&&(f=f.concat(f.filter(Wc).map(function(h){return _a(h,d)})));else if(t=="two")f=f.slice(0,1),d&&(f=f.concat(f.filter(Wc).map(function(h){return _a(h,d)})));else if(t=="one"){var m=an(f=f.slice(0,1),1),g=m[0];d&&Wc(g)&&(f=[_a(g,d)])}else t=="none"&&(f=[ny()],d&&(f=[_a(f[0],d)]));try{for(var y=(l=void 0,Pr(f)),x=y.next();!x.done;x=y.next()){var g=x.value;g.level=s}}catch(h){l={error:h}}finally{try{x&&!x.done&&(c=y.return)&&c.call(y)}finally{if(l)throw l.error}}if(o.push(f),o.length>=Cn.seedMinLength&&(r=ey(o,n),r))return"break";i=i.parentElement,s++};i;){var u=a();if(u==="break")break}return r||(r=ey(o,n)),!r&&n?n():r}function ey(e,t){var n,r,o=e.reduce(function(l,c){return l*c.length},1);if(o>Cn.threshold)return t?t():null;var i=wx(yx(e));try{for(var s=Pr(i),a=s.next();!a.done;a=s.next()){var u=a.value;if(gx(u))return u}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return null}function Iu(e){for(var t=e[0],n=t.name,r=1;r ").concat(n):n="".concat(e[r].name," ").concat(n),t=e[r]}return n}function ty(e){return e.map(function(t){return t.penalty}).reduce(function(t,n){return t+n},0)}function gx(e){var t=Iu(e);switch(fh.querySelectorAll(t).length){case 0:throw new Error("Can't select any node with this selector: ".concat(t));case 1:return!0;default:return!1}}function KN(e){var t=e.getAttribute("id");return t&&Cn.idName(t)?{name:"#"+CSS.escape(t),penalty:0}:null}function qN(e){var t=Array.from(e.attributes).filter(function(n){return Cn.attr(n.name,n.value)});return t.map(function(n){return{name:"[".concat(CSS.escape(n.name),'="').concat(CSS.escape(n.value),'"]'),penalty:.5}})}function YN(e){var t=Array.from(e.classList).filter(Cn.className);return t.map(function(n){return{name:"."+CSS.escape(n),penalty:1}})}function XN(e){var t=e.tagName.toLowerCase();return Cn.tagName(t)?{name:t,penalty:2}:null}function ny(){return{name:"*",penalty:3}}function QN(e){var t=e.parentNode;if(!t)return null;var n=t.firstChild;if(!n)return null;for(var r=0;n&&(n.nodeType===Node.ELEMENT_NODE&&r++,n!==e);)n=n.nextSibling;return r}function _a(e,t){return{name:e.name+":nth-child(".concat(t,")"),penalty:e.penalty+1}}function Wc(e){return e.name!=="html"&&!e.name.startsWith("#")}function Aa(){for(var e=[],t=0;t0?n:null}function ZN(e){return e!=null}function yx(e,t){var n,r,o,i,s,a;return t===void 0&&(t=[]),rs(this,function(u){switch(u.label){case 0:if(!(e.length>0))return[3,9];u.label=1;case 1:u.trys.push([1,6,7,8]),n=Pr(e[0]),r=n.next(),u.label=2;case 2:return r.done?[3,5]:(o=r.value,[5,Pr(yx(e.slice(1,e.length),t.concat(o)))]);case 3:u.sent(),u.label=4;case 4:return r=n.next(),[3,2];case 5:return[3,8];case 6:return i=u.sent(),s={error:i},[3,8];case 7:try{r&&!r.done&&(a=n.return)&&a.call(n)}finally{if(s)throw s.error}return[7];case 8:return[3,11];case 9:return[4,t];case 10:u.sent(),u.label=11;case 11:return[2]}})}function wx(e){return to([],an(e),!1).sort(function(t,n){return ty(t)-ty(n)})}function bx(e,t,n){var r,o,i;return n===void 0&&(n={counter:0,visited:new Map}),rs(this,function(s){switch(s.label){case 0:if(!(e.length>2&&e.length>Cn.optimizedMinLength))return[3,5];r=1,s.label=1;case 1:return rCn.maxNumberOfTries?[2]:(n.counter+=1,o=to([],an(e),!1),o.splice(r,1),i=Iu(o),n.visited.has(i)?[2]:gx(o)&&JN(o,t)?[4,o]:[3,4]):[3,5];case 2:return s.sent(),n.visited.set(i,!0),[5,Pr(bx(o,t,n))];case 3:s.sent(),s.label=4;case 4:return r++,[3,1];case 5:return[2]}})}function JN(e,t){return fh.querySelector(Iu(e))===t}var eD=["input","select","textarea"],Gc=function(e,t){return function(n,r){var o,i,s,a=e.pageUrlAllowlist,u=e.shouldTrackEventResolver,l=(i=(o=r==null?void 0:r.tagName)===null||o===void 0?void 0:o.toLowerCase)===null||i===void 0?void 0:i.call(o);if(!l)return!1;if(u)return u(n,r);if(!nD(window.location.href,a))return!1;var c=String(r==null?void 0:r.getAttribute("type"))||"";if(typeof c=="string")switch(c.toLowerCase()){case"hidden":return!1;case"password":return!1}if(t){var f=t.some(function(m){var g;return!!(!((g=r==null?void 0:r.matches)===null||g===void 0)&&g.call(r,m))});if(!f)return!1}switch(l){case"input":case"select":case"textarea":return n==="change"||n==="click";default:{var d=(s=window==null?void 0:window.getComputedStyle)===null||s===void 0?void 0:s.call(window,r);return d&&d.getPropertyValue("cursor")==="pointer"&&n==="click"?!0:n==="click"}}}},xx=function(e){if(e==null)return!1;if(typeof e=="string"){var t=/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/;if(t.test((e||"").replace(/[- ]/g,"")))return!1;var n=/(^\d{3}-?\d{2}-?\d{4}$)/;if(n.test(e))return!1}return!0},tD=function(e){return!!e&&e.nodeType===3},Sx=function(e){var t,n,r,o=(n=(t=e==null?void 0:e.tagName)===null||t===void 0?void 0:t.toLowerCase)===null||n===void 0?void 0:n.call(t),i=e instanceof HTMLElement?((r=e.getAttribute("contenteditable"))===null||r===void 0?void 0:r.toLowerCase())==="true":!1;return!eD.includes(o)&&!i},dh=function(e){var t="";return Sx(e)&&e.childNodes&&e.childNodes.length&&e.childNodes.forEach(function(n){var r="";tD(n)?n.textContent&&(r=n.textContent):r=dh(n),t+=r.split(/(\s+)/).filter(xx).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}),t},Ex=function(e,t){var n,r,o="";try{return o=GN(e,{className:function(c){return c!==Ed},maxNumberOfTries:1e3}),o}catch(c){if(t){var i=c;t.warn("Failed to get selector with finder, use fallback strategy instead: ".concat(i.toString()))}}var s=(r=(n=e==null?void 0:e.tagName)===null||n===void 0?void 0:n.toLowerCase)===null||r===void 0?void 0:r.call(n);s&&(o=s);var a=e.getAttribute("id"),u=e.getAttribute("class");if(a)o="#".concat(a);else if(u){var l=u.split(" ").filter(function(c){return c!==Ed}).join(".");l&&(o="".concat(o,".").concat(l))}return o},nD=function(e,t){return!t||!t.length?!0:t.some(function(n){return typeof n=="string"?e===n:e.match(n)})},rD=function(e,t){return e.getAttributeNames().reduce(function(n,r){if(r.startsWith(t)){var o=r.replace(t,""),i=e.getAttribute(r);o&&(n[o]=i||"")}return n},{})},oD=function(e){return e==null||typeof e=="object"&&Object.keys(e).length===0||typeof e=="string"&&e.trim().length===0},Tx=function(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return oD(r)||(t[n]=r),t},{})},Px=function(e){var t=e.parentElement;if(!t)return"";var n;try{n=t.querySelector(":scope>span,h1,h2,h3,h4,h5,h6")}catch{n=null}if(n){var r=n.textContent||"";return xx(r)?r:""}return Px(t)},ph=function(e,t){return e?t.some(function(n){var r;return(r=e==null?void 0:e.matches)===null||r===void 0?void 0:r.call(e,n)})?e:ph(e==null?void 0:e.parentElement,t):null},iD=function(e,t){var n,r,o;if(!e)return{};var i=(o=(r=e==null?void 0:e.tagName)===null||r===void 0?void 0:r.toLowerCase)===null||o===void 0?void 0:o.call(r),s=Ex(e,t),a=(n={},n[B1]=i,n[$1]=dh(e),n[W1]=s,n[G1]=window.location.href.split("?")[0],n);return Tx(a)},sD=function(e){return new Promise(function(t,n){var r;try{var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=e,o.addEventListener("load",function(){t({status:!0})},{once:!0}),o.addEventListener("error",function(){n({status:!1,message:"Failed to load the script ".concat(e)})}),(r=document.head)===null||r===void 0||r.appendChild(o)}catch(i){n(i)}})};function aD(){return"".concat(Date.now(),"-").concat(Math.random().toString(36).substr(2,9))}var hh=function(e){return!(e.event.target===null||!e.closestTrackedAncestor)},lD=function(){function e(t){var n=t===void 0?{}:t,r=n.origin,o=r===void 0?el:r,i=this;this.endpoint=el,this.requestCallbacks={},this.onSelect=function(s){i.notify({action:"element-selected",data:s})},this.onTrack=function(s,a){s==="selector-mode-changed"?i.notify({action:"track-selector-mode-changed",data:a}):s==="selector-moved"&&i.notify({action:"track-selector-moved",data:a})},this.endpoint=o}return e.prototype.notify=function(t){var n,r,o,i;(r=(n=this.logger)===null||n===void 0?void 0:n.debug)===null||r===void 0||r.call(n,"Message sent: ",JSON.stringify(t)),(i=(o=window.opener)===null||o===void 0?void 0:o.postMessage)===null||i===void 0||i.call(o,t,this.endpoint)},e.prototype.sendRequest=function(t,n,r){var o=this;r===void 0&&(r={timeout:15e3});var i=aD(),s={id:i,action:t,args:n},a=new Promise(function(u,l){o.requestCallbacks[i]={resolve:u,reject:l},o.notify(s),(r==null?void 0:r.timeout)>0&&setTimeout(function(){l(new Error("".concat(t," timed out (id: ").concat(i,")"))),delete o.requestCallbacks[i]},r.timeout)});return a},e.prototype.handleResponse=function(t){var n;if(!this.requestCallbacks[t.id]){(n=this.logger)===null||n===void 0||n.warn("No callback found for request id: ".concat(t.id));return}this.requestCallbacks[t.id].resolve(t.responseData),delete this.requestCallbacks[t.id]},e.prototype.setup=function(t){var n=this,r=t===void 0?{}:t,o=r.logger,i=r.endpoint,s=r.isElementSelectable,a=r.cssSelectorAllowlist,u=r.actionClickAllowlist;this.logger=o,i&&this.endpoint===el&&(this.endpoint=i);var l=null;window.addEventListener("message",function(c){var f,d,m,g,y;if((d=(f=n.logger)===null||f===void 0?void 0:f.debug)===null||d===void 0||d.call(f,"Message received: ",JSON.stringify(c)),n.endpoint===c.origin){var x=c==null?void 0:c.data,h=x==null?void 0:x.action;if(h)if("id"in x)(g=(m=n.logger)===null||m===void 0?void 0:m.debug)===null||g===void 0||g.call(m,"Received Response to previous request: ",JSON.stringify(c)),n.handleResponse(x);else if(h==="ping")n.notify({action:"pong"});else if(h==="initialize-visual-tagging-selector"){var p=x==null?void 0:x.data;sD(BM).then(function(){var v;l=(v=window==null?void 0:window.amplitudeVisualTaggingSelector)===null||v===void 0?void 0:v.call(window,{getEventTagProps:iD,isElementSelectable:function(b){return s?s((p==null?void 0:p.actionType)||"click",b):!0},onTrack:n.onTrack,onSelect:n.onSelect,visualHighlightClass:Ed,messenger:n,cssSelectorAllowlist:a,actionClickAllowlist:u}),n.notify({action:"selector-loaded"})}).catch(function(){var v;(v=n.logger)===null||v===void 0||v.warn("Failed to initialize visual tagging selector")})}else h==="close-visual-tagging-selector"&&((y=l==null?void 0:l.close)===null||y===void 0||y.call(l))}}),this.notify({action:"page-loaded"})},e}(),uD=["id","class","style","value","onclick","onchange","oninput","onblur","onsubmit","onfocus","onkeydown","onkeyup","onkeypress","data-reactid","data-react-checksum","data-reactroot"],cD=["type"],fD=["svg","path","g"],dD=["password","hidden"],pD=128,hD=1024;function mD(e){var t,n,r,o,i,s;if(e===null)return null;var a=String(e.tagName).toLowerCase(),u={tag:a},l=Array.from((o=(r=e.parentElement)===null||r===void 0?void 0:r.children)!==null&&o!==void 0?o:[]);l.length&&(u.index=l.indexOf(e),u.indexOfType=l.filter(function(b){return b.tagName===e.tagName}).indexOf(e));var c=(s=(i=e.previousElementSibling)===null||i===void 0?void 0:i.tagName)===null||s===void 0?void 0:s.toLowerCase();c&&(u.prevSib=String(c));var f=e.getAttribute("id");f&&(u.id=String(f));var d=Array.from(e.classList);d.length&&(u.classes=d);var m={},g=Array.from(e.attributes),y=g.filter(function(b){return!uD.includes(b.name)}),x=!Sx(e);if(!dD.includes(String(e.getAttribute("type")))&&!fD.includes(a))try{for(var h=Pr(y),p=h.next();!p.done;p=h.next()){var v=p.value;x&&!cD.includes(v.name)||(m[v.name]=String(v.value).substring(0,pD))}}catch(b){t={error:b}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(t)throw t.error}}return Object.keys(m).length&&(u.attrs=m),u}function vD(e){var t=[];if(!e)return t;t.push(e);for(var n=e.parentElement;n&&n.tagName!=="HTML";)t.push(n),n=n.parentElement;return t}var gD=function(e){var t=[];if(!e)return[];var n=vD(e);return t=yD(n.map(function(r){return mD(r)}),hD),t};function yD(e,t){for(var n=0,r=0;rt)return e.slice(0,r)}return e}function tl(e,t){t===void 0&&(t=!1);try{if(e==null)return t?"None":null;if(typeof e=="string")return t?(e=e.replace(/\\/g,"\\\\").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r"),e.includes('"')?"'".concat(e,"'"):e.includes("'")?'"'.concat(e.replace(/'/g,"\\'"),'"'):"'".concat(e,"'")):e;if(typeof e=="boolean")return e?"True":"False";if(Array.isArray(e)){var n=e.map(function(i){return tl(i,!0)});return"[".concat(n.join(", "),"]")}else if(typeof e=="object"){var r=Object.entries(e).filter(function(i){var s=an(i,1),a=s[0];return a!=null}).map(function(i){var s=an(i,2),a=s[0],u=s[1];return"".concat(String(tl(a,!0)),": ").concat(String(tl(u,!0)))}),o="{".concat(r.join(", "),"}");return o.includes("\\'")&&(o=o.replace(/'/g,"'").replace(/'/g,"\\'")),o}return e.toString()}catch{return null}}var wD=5;function bD(e){var t=e.amplitude,n=e.allObservables,r=e.options,o=e.shouldTrackEvent,i=n.clickObservable,s=i.pipe($N(),br(function(c){var f=an(c,2),d=f[0],m=f[1],g=d.event.target!==m.event.target,y=Math.abs(m.event.screenX-d.event.screenX)<=20&&Math.abs(m.event.screenY-d.event.screenY)<=20;return g&&!y})),a=i.pipe(VN(r.debounceTime),bn(function(){return"timeout"})),u=mx(s,a),l=i.pipe(BN(0),br(hh),br(function(c){return o("click",c.closestTrackedAncestor)}),FN(u));return l.subscribe(function(c){var f,d,m=(c.length>=wD,Sd);try{for(var g=Pr(c),y=g.next();!y.done;y=g.next()){var x=y.value;t==null||t.track(m,x.targetElementProperties,{time:x.timestamp})}}catch(h){f={error:h}}finally{try{y&&!y.done&&(d=g.return)&&d.call(g)}finally{if(f)throw f.error}}})}function xD(e){var t=e.amplitude,n=e.allObservables,r=e.getEventProperties,o=e.shouldTrackEvent,i=n.changeObservable,s=i.pipe(br(hh),br(function(a){return o("change",a.closestTrackedAncestor)}));return s.subscribe(function(a){t==null||t.track(CM,r("change",a.closestTrackedAncestor))})}function SD(e){var t=e.amplitude,n=e.allObservables,r=e.options,o=e.getEventProperties,i=e.shouldTrackEvent,s=e.shouldTrackActionClick,a=n.clickObservable,u=n.mutationObservable,l=n.navigateObservable,c=a.pipe(br(function(g){return!i("click",g.closestTrackedAncestor)}),bn(function(g){var y=ph(g.event.target,r.actionClickAllowlist);return g.closestTrackedAncestor=y,g.closestTrackedAncestor!==null&&(g.targetElementProperties=o(g.type,g.closestTrackedAncestor)),g}),br(hh),br(function(g){return s("click",g.closestTrackedAncestor)})),f=[u];l&&f.push(l);var d=mx.apply(void 0,to([],an(f),!1)),m=c.pipe(WN(function(g){return d.pipe(vx(1),TN({first:500,with:function(){return uh}}),bn(function(){return g}))}));return m.subscribe(function(g){t==null||t.track(Sd,o("click",g.closestTrackedAncestor),{time:g.timestamp})})}var Fo;(function(e){e.ClickObservable="clickObservable",e.ChangeObservable="changeObservable",e.NavigateObservable="navigateObservable",e.MutationObservable="mutationObservable"})(Fo||(Fo={}));function ED(e){return e.type==="click"||e.type==="change"}var TD=function(e){var t,n,r;e===void 0&&(e={});var o=e.dataAttributePrefix,i=o===void 0?MI:o,s=e.visualTaggingOptions,a=s===void 0?{enabled:!0,messenger:new lD}:s;e.cssSelectorAllowlist=(t=e.cssSelectorAllowlist)!==null&&t!==void 0?t:OI,e.actionClickAllowlist=(n=e.actionClickAllowlist)!==null&&n!==void 0?n:NI,e.debounceTime=(r=e.debounceTime)!==null&&r!==void 0?r:0;var u=PM,l="enrichment",c=[],f=void 0,d=function(){var p,v=os(document,"click",{capture:!0}).pipe(bn(function(k){return g(k,"click")})),b=os(document,"change",{capture:!0}).pipe(bn(function(k){return g(k,"change")})),E;window.navigation&&(E=os(window.navigation,"navigate").pipe(bn(function(k){return g(k,"navigate")})));var P=new Ft(function(k){var T=new MutationObserver(function(O){k.next(O)});return T.observe(document.body,{childList:!0,attributes:!0,characterData:!0,subtree:!0}),function(){return T.disconnect()}}).pipe(bn(function(k){return g(k,"mutation")}));return p={},p[Fo.ClickObservable]=v,p[Fo.ChangeObservable]=b,p[Fo.NavigateObservable]=E,p[Fo.MutationObservable]=P,p},m=function(p,v){var b,E,P,k=(P=(E=v==null?void 0:v.tagName)===null||E===void 0?void 0:E.toLowerCase)===null||P===void 0?void 0:P.call(E),T=typeof v.getBoundingClientRect=="function"?v.getBoundingClientRect():{left:null,top:null},O=v.getAttribute("aria-label"),D=rD(v,i),z=Px(v),F=Ex(v,f),K=(b={},b[kM]=v.getAttribute("id")||"",b[_M]=v.getAttribute("class"),b[AM]=gD(v),b[B1]=k,b[$1]=dh(v),b[IM]=T.left==null?null:Math.round(T.left),b[OM]=T.top==null?null:Math.round(T.top),b[MM]=O,b[NM]=D,b[W1]=F,b[DM]=z,b[G1]=window.location.href.split("?")[0],b[LM]=typeof document<"u"&&document.title||"",b[jM]=window.innerHeight,b[FM]=window.innerWidth,b);return k==="a"&&p==="click"&&v instanceof HTMLAnchorElement&&(K[RM]=v.href),Tx(K)},g=function(p,v){var b={event:p,timestamp:Date.now(),type:v};if(ED(b)&&b.event.target!==null){var E=ph(b.event.target,e.cssSelectorAllowlist);return E&&(b.closestTrackedAncestor=E,b.targetElementProperties=m(b.type,E)),b}return b},y=function(p,v){return zc(void 0,void 0,void 0,function(){var b,E,P,k,T,O,D,z,F,K;return rs(this,function(V){return f=p.loggerProvider,typeof document>"u"?[2]:(b=Gc(e,e.cssSelectorAllowlist),E=Gc(e,e.actionClickAllowlist),P=d(),k=bD({allObservables:P,options:e,amplitude:v,shouldTrackEvent:b}),c.push(k),T=xD({allObservables:P,getEventProperties:m,amplitude:v,shouldTrackEvent:b}),c.push(T),O=SD({allObservables:P,options:e,getEventProperties:m,amplitude:v,shouldTrackEvent:b,shouldTrackActionClick:E}),c.push(O),(F=p==null?void 0:p.loggerProvider)===null||F===void 0||F.log("".concat(u," has been successfully added.")),window.opener&&a.enabled&&(D=e.cssSelectorAllowlist,z=e.actionClickAllowlist,(K=a.messenger)===null||K===void 0||K.setup(ui(ui({logger:p==null?void 0:p.loggerProvider},(p==null?void 0:p.serverZone)&&{endpoint:zM[p.serverZone]}),{isElementSelectable:Gc(e,to(to([],an(D),!1),an(z),!1)),cssSelectorAllowlist:D,actionClickAllowlist:z}))),[2])})})},x=function(p){return zc(void 0,void 0,void 0,function(){return rs(this,function(v){return[2,p]})})},h=function(){return zc(void 0,void 0,void 0,function(){var p,v,b,E,P;return rs(this,function(k){try{for(p=Pr(c),v=p.next();!v.done;v=p.next())b=v.value,b.unsubscribe()}catch(T){E={error:T}}finally{try{v&&!v.done&&(P=p.return)&&P.call(p)}finally{if(E)throw E.error}}return[2]})})};return{name:u,type:l,setup:y,execute:x,teardown:h}},PD=function(e){bi(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n,r,o){n===void 0&&(n="");var i,s;return arguments.length>2?(i=r,s=o):typeof r=="string"?(i=r,s=void 0):(i=r==null?void 0:r.userId,s=r),wt(this._init(Fe(Fe({},s),{userId:i,apiKey:n})))},t.prototype._init=function(n){var r,o,i;return de(this,void 0,void 0,function(){var s,a,u,l,c,f,d=this;return pe(this,function(m){switch(m.label){case 0:return this.initializing?[2]:(this.initializing=!0,[4,eM(n.apiKey,n,this)]);case 1:return s=m.sent(),n.fetchRemoteConfig?[4,TM(s)]:[3,4];case 2:return a=m.sent(),[4,a.generateJoinedConfig()];case 3:s=m.sent(),m.label=4;case 4:return[4,e.prototype._init.call(this,s)];case 5:return m.sent(),this.logBrowserOptions(s),L1(this.config.defaultTracking)?(u=DO(this.config),this.webAttribution=new mO(u,this.config),[4,this.webAttribution.init()]):[3,7];case 6:m.sent(),m.label=7;case 7:return l=Ul(),c=Number.isNaN(Number(l.ampSessionId))?void 0:Number(l.ampSessionId),this.setSessionId((i=(o=(r=n.sessionId)!==null&&r!==void 0?r:c)!==null&&o!==void 0?o:this.config.sessionId)!==null&&i!==void 0?i:Date.now()),f=_s(n.instanceName),f.identityStore.setIdentity({userId:this.config.userId,deviceId:this.config.deviceId}),this.config.offline===II?[3,9]:[4,this.add(dM()).promise];case 8:m.sent(),m.label=9;case 9:return[4,this.add(new QI).promise];case 10:return m.sent(),[4,this.add(new VO).promise];case 11:return m.sent(),[4,this.add(new AO).promise];case 12:return m.sent(),fM(this.config),IO(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding file download tracking plugin"),[4,this.add(cM()).promise]):[3,14];case 13:m.sent(),m.label=14;case 14:return OO(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding form interaction plugin"),[4,this.add(uM()).promise]):[3,16];case 15:m.sent(),m.label=16;case 16:return j1(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding page view tracking plugin"),[4,this.add(iM(NO(this.config))).promise]):[3,18];case 17:m.sent(),m.label=18;case 18:return F1(this.config.autocapture)?(this.config.loggerProvider.debug("Adding user interactions plugin (autocapture plugin)"),[4,this.add(TD(MO(this.config))).promise]):[3,20];case 19:m.sent(),m.label=20;case 20:return this.initializing=!1,[4,this.runQueuedFunctions("dispatchQ")];case 21:return m.sent(),f.eventBridge.setEventReceiver(function(g){d.track(g.eventType,g.eventProperties)}),[2]}})})},t.prototype.getUserId=function(){var n;return(n=this.config)===null||n===void 0?void 0:n.userId},t.prototype.setUserId=function(n){if(!this.config){this.q.push(this.setUserId.bind(this,n));return}this.config.loggerProvider.debug("function setUserId: ",n),(n!==this.config.userId||n===void 0)&&(this.config.userId=n,kO(n,this.config.instanceName))},t.prototype.getDeviceId=function(){var n;return(n=this.config)===null||n===void 0?void 0:n.deviceId},t.prototype.setDeviceId=function(n){if(!this.config){this.q.push(this.setDeviceId.bind(this,n));return}this.config.loggerProvider.debug("function setDeviceId: ",n),this.config.deviceId=n,_O(n,this.config.instanceName)},t.prototype.reset=function(){this.setDeviceId(wi()),this.setUserId(void 0)},t.prototype.getSessionId=function(){var n;return(n=this.config)===null||n===void 0?void 0:n.sessionId},t.prototype.setSessionId=function(n){var r,o=[];if(!this.config)return this.q.push(this.setSessionId.bind(this,n)),wt(Promise.resolve());if(n===this.config.sessionId)return wt(Promise.resolve());this.config.loggerProvider.debug("function setSessionId: ",n);var i=this.getSessionId(),s=this.config.lastEventTime,a=(r=this.config.lastEventId)!==null&&r!==void 0?r:-1;this.config.sessionId=n,this.config.lastEventTime=void 0,this.config.pageCounter=0,Bg(this.config.defaultTracking)&&(i&&s&&o.push(this.track(Gg,void 0,{device_id:this.previousSessionDeviceId,event_id:++a,session_id:i,time:s+1,user_id:this.previousSessionUserId}).promise),this.config.lastEventTime=this.config.sessionId);var u=this.trackCampaignEventIfNeeded(++a,o);return Bg(this.config.defaultTracking)&&o.push(this.track(Wg,void 0,{event_id:u?++a:a,session_id:this.config.sessionId,time:this.config.lastEventTime}).promise),this.previousSessionDeviceId=this.config.deviceId,this.previousSessionUserId=this.config.userId,wt(Promise.all(o))},t.prototype.extendSession=function(){if(!this.config){this.q.push(this.extendSession.bind(this));return}this.config.lastEventTime=Date.now()},t.prototype.setTransport=function(n){if(!this.config){this.q.push(this.setTransport.bind(this,n));return}this.config.transportProvider=z1(n)},t.prototype.identify=function(n,r){if(Lc(n)){var o=n._q;n._q=[],n=Dc(new Vl,o)}return r!=null&&r.user_id&&this.setUserId(r.user_id),r!=null&&r.device_id&&this.setDeviceId(r.device_id),e.prototype.identify.call(this,n,r)},t.prototype.groupIdentify=function(n,r,o,i){if(Lc(o)){var s=o._q;o._q=[],o=Dc(new Vl,s)}return e.prototype.groupIdentify.call(this,n,r,o,i)},t.prototype.revenue=function(n,r){if(Lc(n)){var o=n._q;n._q=[],n=Dc(new HI,o)}return e.prototype.revenue.call(this,n,r)},t.prototype.trackCampaignEventIfNeeded=function(n,r){if(!this.webAttribution||!this.webAttribution.shouldTrackNewCampaign)return!1;var o=this.webAttribution.generateCampaignEvent(n);return r?r.push(this.track(o).promise):this.track(o),this.config.loggerProvider.log("Tracking attribution."),!0},t.prototype.process=function(n){return de(this,void 0,void 0,function(){var r,o,i;return pe(this,function(s){return r=Date.now(),o=D1(this.config.sessionTimeout,this.config.lastEventTime),i=this.webAttribution&&this.webAttribution.shouldSetSessionIdOnNewCampaign(),n.event_type!==Wg&&n.event_type!==Gg&&(!n.session_id||n.session_id===this.getSessionId())&&(o||i?(this.setSessionId(r),i&&this.config.loggerProvider.log("Created a new session for new campaign.")):o||this.trackCampaignEventIfNeeded()),[2,e.prototype.process.call(this,n)]})})},t.prototype.logBrowserOptions=function(n){try{var r=Fe(Fe({},n),{apiKey:n.apiKey.substring(0,10)+"********"});this.config.loggerProvider.debug("Initialized Amplitude with BrowserConfig:",JSON.stringify(r))}catch(o){this.config.loggerProvider.error("Error logging browser config",o)}},t}(GI),CD=function(){var e=new PD;return{init:je(e.init.bind(e),"init",De(e),Le(e,["config"])),add:je(e.add.bind(e),"add",De(e),Le(e,["config.apiKey","timeline.plugins"])),remove:je(e.remove.bind(e),"remove",De(e),Le(e,["config.apiKey","timeline.plugins"])),track:je(e.track.bind(e),"track",De(e),Le(e,["config.apiKey","timeline.queue.length"])),logEvent:je(e.logEvent.bind(e),"logEvent",De(e),Le(e,["config.apiKey","timeline.queue.length"])),identify:je(e.identify.bind(e),"identify",De(e),Le(e,["config.apiKey","timeline.queue.length"])),groupIdentify:je(e.groupIdentify.bind(e),"groupIdentify",De(e),Le(e,["config.apiKey","timeline.queue.length"])),setGroup:je(e.setGroup.bind(e),"setGroup",De(e),Le(e,["config.apiKey","timeline.queue.length"])),revenue:je(e.revenue.bind(e),"revenue",De(e),Le(e,["config.apiKey","timeline.queue.length"])),flush:je(e.flush.bind(e),"flush",De(e),Le(e,["config.apiKey","timeline.queue.length"])),getUserId:je(e.getUserId.bind(e),"getUserId",De(e),Le(e,["config","config.userId"])),setUserId:je(e.setUserId.bind(e),"setUserId",De(e),Le(e,["config","config.userId"])),getDeviceId:je(e.getDeviceId.bind(e),"getDeviceId",De(e),Le(e,["config","config.deviceId"])),setDeviceId:je(e.setDeviceId.bind(e),"setDeviceId",De(e),Le(e,["config","config.deviceId"])),reset:je(e.reset.bind(e),"reset",De(e),Le(e,["config","config.userId","config.deviceId"])),getSessionId:je(e.getSessionId.bind(e),"getSessionId",De(e),Le(e,["config"])),setSessionId:je(e.setSessionId.bind(e),"setSessionId",De(e),Le(e,["config"])),extendSession:je(e.extendSession.bind(e),"extendSession",De(e),Le(e,["config"])),setOptOut:je(e.setOptOut.bind(e),"setOptOut",De(e),Le(e,["config"])),setTransport:je(e.setTransport.bind(e),"setTransport",De(e),Le(e,["config"]))}};const Cx=CD();var kD=Cx.init,_D=Cx.track;const At={hovered_on_person_icon:"hovered_on_person_icon",clicked_on_person_icon:"clicked_on_person_icon",clicked_on_left_navigation_route:"clicked_on_left_navigation_route",clicked_on_goto_top:"clicked_on_goto_top",opened_share_dialog:"opened_share_dialog",opened_direct_message_dropdown:"opened_direct_message_dropdown",clicked_direct_message_item:"clicked_direct_message_item",clicked_github_icon:"clicked_github_icon",clicked_on_share_item:"clicked_on_share_item",clicked_goto_next_section:"clicked_goto_next_section",clicked_goto_prev_section:"clicked_goto_prev_section",hovered_on_item:"hovered_on_item",clicked_on_item:"clicked_on_item"};class xt{static initialize(){this.isInitialized||(kD("50e81488cd17b72ddf984a542dd6d71d",{defaultTracking:{pageViews:!1,sessions:!0},autocapture:!0}),this.isInitialized=!0)}static getBrowserInfo(){const{userAgent:t}=navigator;return t}static getScreenResolution(){return`${window.screen.width}x${window.screen.height}`}static getCurrentPageUrl(){return window.location.href}static logEvent(t,n={}){this.initialize();const r=this.getBrowserInfo(),o=this.getScreenResolution(),i=this.getCurrentPageUrl(),s={...n,browserInfo:r,screenResolution:o,pageUrl:i};_D(t,s)}static trackCustomEvent(t,n){this.logEvent(t,n)}}Qn(xt,"isInitialized",!1);const AD=e=>{const[t,n]=w.useState(!1),r={stiffness:100,damping:5},o=ih(0),i=Eg(o,[-100,100],[-45,45]),s=Eg(o,[-100,100],[-50,50]),a=Cg(i,r),u=Cg(s,r);w.useEffect(()=>{t||o.set(0)},[t]);const l=f=>{const d=f.currentTarget.offsetWidth/2;o.set(f.nativeEvent.offsetX-d)},c=()=>{const f=Ek();xt.trackCustomEvent(At.clicked_on_person_icon,{link:f}),window.open(f??"","_blank")};return S.jsx(Vs,{className:"lg:w-1/3 xl:w-1/3 2xl:w-1/4 h-full p-0 m-0 lg:block hidden ",children:S.jsxs(du,{className:"p-0 m-0 flex flex-col h-full justify-between",children:[S.jsxs("div",{className:"flex flex-col w-full items-center p-10",children:[S.jsx("div",{className:"w-28 h-28 border-2 rounded-md my-8 p-2 relative",children:S.jsxs("div",{className:"w-full h-full cursor-pointer",onMouseEnter:()=>{n(!0),xt.trackCustomEvent(At.hovered_on_person_icon,{isHovered:t})},onMouseLeave:()=>{n(!1),xt.trackCustomEvent(At.hovered_on_person_icon,{isHovered:t})},onClick:c,onMouseMove:l,children:[S.jsx(T1,{children:t&&S.jsxs(S.Fragment,{children:[S.jsxs(vd.div,{initial:{opacity:0,y:20,scale:.6},animate:{opacity:1,y:0,scale:1,transition:{type:"spring",stiffness:260,damping:10}},exit:{opacity:0,y:20,scale:.6},style:{translateX:u,rotate:a,whiteSpace:"nowrap"},className:"absolute -top-16 left-1/2 -translate-x-1/2 flex text-xs flex-col items-center justify-center rounded-md bg-black z-50 shadow-xl px-4 py-2",children:[S.jsx("div",{className:"absolute inset-x-10 z-30 w-[50%] -bottom-px bg-gradient-to-r from-transparent via-emerald-500 to-transparent h-px "}),S.jsx("div",{className:"absolute left-10 w-[70%] z-30 -bottom-px bg-gradient-to-r from-transparent via-sky-500 to-transparent h-1"}),S.jsx("p",{className:"font-semibold text-primary relative z-30 text-base",children:"Are you feeling lucky today?"}),S.jsx("p",{className:"text-primary text-sm text-center font-normal",children:"Click to feel even more lucky..."})]},"tooltip"),S.jsx(vd.span,{className:"absolute inset-0 h-full w-full block ring-4 ring-white bg-blue-500 bg-opacity-10 rounded cursor-pointer",layoutId:"hoverBackground",initial:{opacity:0},animate:{opacity:1,transition:{duration:.5}},exit:{opacity:0,transition:{duration:.5}}})]})}),S.jsx($k,{className:ie("w-full h-full ",t?"glowing-person-icon":"")})]})}),S.jsx("h1",{className:"text-xl font-extrabold tracking-normal ",children:Kt.initialInformation.name}),S.jsx("h1",{className:"text-sm font-bold tracking-normal mt-0.5",children:Kt.initialInformation.occupation})]}),S.jsx("div",{className:"flex flex-col w-full p-3 gap-y-2",children:Kt.routes.map(f=>{const d=()=>{Il(`section-${f.name.toLowerCase()}`),xt.trackCustomEvent(At.clicked_on_left_navigation_route,{name:f.name})};return S.jsx(wn,{variant:"outline",onClick:d,children:f.name},f.name)})})]})})};var RD=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ue=RD.reduce((e,t)=>{const n=w.forwardRef((r,o)=>{const{asChild:i,...s}=r,a=i?eo:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),S.jsx(a,{...s,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function mh(e,t){e&&vi.flushSync(()=>e.dispatchEvent(t))}var ID="Separator",ry="horizontal",OD=["horizontal","vertical"],kx=w.forwardRef((e,t)=>{const{decorative:n,orientation:r=ry,...o}=e,i=MD(r)?r:ry,a=n?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return S.jsx(ue.div,{"data-orientation":i,...a,...o,ref:t})});kx.displayName=ID;function MD(e){return OD.includes(e)}var _x=kx;const Ax=w.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...r},o)=>S.jsx(_x,{ref:o,decorative:n,orientation:t,className:ie("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));Ax.displayName=_x.displayName;const ND=e=>{const t=()=>{const i=`section-${r().toLowerCase()}`;xt.trackCustomEvent(At.clicked_goto_prev_section,{section:i}),Il(i)},n=()=>{const i=`section-${o().toLowerCase()}`;xt.trackCustomEvent(At.clicked_goto_next_section,{section:i}),Il(i)},r=()=>Jf(Kt.routes,(e.index-1)%Kt.routes.length).name,o=()=>Jf(Kt.routes,(e.index+1)%Kt.routes.length).name;return S.jsxs("div",{className:"flex flex-col bg-primary-foreground mb-2 sticky top-0 z-10 ",children:[S.jsxs("div",{className:"flex flex-row items-center px-4 py-2 justify-between",children:[S.jsxs("div",{className:"flex flex-row items-center",children:[S.jsx(Kk,{className:"mr-2 h-4 w-4"}),S.jsx("h1",{className:"text-lg uppercase font-extrabold tracking-wider",children:e.name})]}),S.jsxs("div",{className:"flex flex-row items-center lg:hidden",children:[S.jsx(wn,{variant:"ghost",size:"icon",onClick:t,title:`Goto ${r()} Section`,children:S.jsx(Gk,{className:"h-4 w-4"})}),S.jsx(wn,{variant:"ghost",size:"icon",onClick:n,title:`Goto ${o()} Section`,children:S.jsx(Hk,{className:"h-4 w-4"})})]})]}),S.jsx(Ax,{className:"w-full"})]})};var Rx={exports:{}};(()=>{var e={181:(o,i,s)=>{var a=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt,d=typeof s.g=="object"&&s.g&&s.g.Object===Object&&s.g,m=typeof self=="object"&&self&&self.Object===Object&&self,g=d||m||Function("return this")(),y=Object.prototype.toString,x=Math.max,h=Math.min,p=function(){return g.Date.now()};function v(E){var P=typeof E;return!!E&&(P=="object"||P=="function")}function b(E){if(typeof E=="number")return E;if(function(T){return typeof T=="symbol"||function(O){return!!O&&typeof O=="object"}(T)&&y.call(T)=="[object Symbol]"}(E))return NaN;if(v(E)){var P=typeof E.valueOf=="function"?E.valueOf():E;E=v(P)?P+"":P}if(typeof E!="string")return E===0?E:+E;E=E.replace(a,"");var k=l.test(E);return k||c.test(E)?f(E.slice(2),k?2:8):u.test(E)?NaN:+E}o.exports=function(E,P,k){var T,O,D,z,F,K,V=0,B=!1,$=!1,W=!0;if(typeof E!="function")throw new TypeError("Expected a function");function M(te){var J=T,ce=O;return T=O=void 0,V=te,z=E.apply(ce,J)}function R(te){var J=te-K;return K===void 0||J>=P||J<0||$&&te-V>=D}function N(){var te=p();if(R(te))return G(te);F=setTimeout(N,function(J){var ce=P-(J-K);return $?h(ce,D-(J-V)):ce}(te))}function G(te){return F=void 0,W&&T?M(te):(T=O=void 0,z)}function Y(){var te=p(),J=R(te);if(T=arguments,O=this,K=te,J){if(F===void 0)return function(ce){return V=ce,F=setTimeout(N,P),B?M(ce):z}(K);if($)return F=setTimeout(N,P),M(K)}return F===void 0&&(F=setTimeout(N,P)),z}return P=b(P)||0,v(k)&&(B=!!k.leading,D=($="maxWait"in k)?x(b(k.maxWait)||0,P):D,W="trailing"in k?!!k.trailing:W),Y.cancel=function(){F!==void 0&&clearTimeout(F),V=0,T=K=O=F=void 0},Y.flush=function(){return F===void 0?z:G(p())},Y}},858:(o,i,s)=>{var a="Expected a function",u=NaN,l="[object Symbol]",c=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,m=/^0o[0-7]+$/i,g=parseInt,y=typeof s.g=="object"&&s.g&&s.g.Object===Object&&s.g,x=typeof self=="object"&&self&&self.Object===Object&&self,h=y||x||Function("return this")(),p=Object.prototype.toString,v=Math.max,b=Math.min,E=function(){return h.Date.now()};function P(T){var O=typeof T;return!!T&&(O=="object"||O=="function")}function k(T){if(typeof T=="number")return T;if(function(z){return typeof z=="symbol"||function(F){return!!F&&typeof F=="object"}(z)&&p.call(z)==l}(T))return u;if(P(T)){var O=typeof T.valueOf=="function"?T.valueOf():T;T=P(O)?O+"":O}if(typeof T!="string")return T===0?T:+T;T=T.replace(c,"");var D=d.test(T);return D||m.test(T)?g(T.slice(2),D?2:8):f.test(T)?u:+T}o.exports=function(T,O,D){var z=!0,F=!0;if(typeof T!="function")throw new TypeError(a);return P(D)&&(z="leading"in D?!!D.leading:z,F="trailing"in D?!!D.trailing:F),function(K,V,B){var $,W,M,R,N,G,Y=0,te=!1,J=!1,ce=!0;if(typeof K!="function")throw new TypeError(a);function ve(We){var yt=$,Ne=W;return $=W=void 0,Y=We,R=K.apply(Ne,yt)}function Se(We){var yt=We-G;return G===void 0||yt>=V||yt<0||J&&We-Y>=M}function Qe(){var We=E();if(Se(We))return be(We);N=setTimeout(Qe,function(yt){var Ne=V-(yt-G);return J?b(Ne,M-(yt-Y)):Ne}(We))}function be(We){return N=void 0,ce&&$?ve(We):($=W=void 0,R)}function Ie(){var We=E(),yt=Se(We);if($=arguments,W=this,G=We,yt){if(N===void 0)return function(Ne){return Y=Ne,N=setTimeout(Qe,V),te?ve(Ne):R}(G);if(J)return N=setTimeout(Qe,V),ve(G)}return N===void 0&&(N=setTimeout(Qe,V)),R}return V=k(V)||0,P(B)&&(te=!!B.leading,M=(J="maxWait"in B)?v(k(B.maxWait)||0,V):M,ce="trailing"in B?!!B.trailing:ce),Ie.cancel=function(){N!==void 0&&clearTimeout(N),Y=0,$=G=W=N=void 0},Ie.flush=function(){return N===void 0?R:be(E())},Ie}(T,O,{leading:z,maxWait:O,trailing:F})}},694:(o,i,s)=>{var a=s(925);function u(){}function l(){}l.resetWarningCache=u,o.exports=function(){function c(m,g,y,x,h,p){if(p!==a){var v=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 v.name="Invariant Violation",v}}function f(){return c}c.isRequired=c;var d={array:c,bigint:c,bool:c,func:c,number:c,object:c,string:c,symbol:c,any:c,arrayOf:f,element:c,elementType:c,instanceOf:f,node:c,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:l,resetWarningCache:u};return d.PropTypes=d,d}},556:(o,i,s)=>{o.exports=s(694)()},925:o=>{o.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function n(o){var i=t[o];if(i!==void 0)return i.exports;var s=t[o]={exports:{}};return e[o](s,s.exports,n),s.exports}n.n=o=>{var i=o&&o.__esModule?()=>o.default:()=>o;return n.d(i,{a:i}),i},n.d=(o,i)=>{for(var s in i)n.o(i,s)&&!n.o(o,s)&&Object.defineProperty(o,s,{enumerable:!0,get:i[s]})},n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),n.o=(o,i)=>Object.prototype.hasOwnProperty.call(o,i),n.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})};var r={};(()=>{n.r(r),n.d(r,{LazyLoadComponent:()=>$h,LazyLoadImage:()=>cT,trackWindowScroll:()=>te});const o=w;var i=n.n(o),s=n(556);function a(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function u(I){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(C){return typeof C}:function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},u(I)}function l(I,C){var A=Object.keys(I);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(I);C&&(j=j.filter(function(_){return Object.getOwnPropertyDescriptor(I,_).enumerable})),A.push.apply(A,j)}return A}function c(I,C,A){return(C=d(C))in I?Object.defineProperty(I,C,{value:A,enumerable:!0,configurable:!0,writable:!0}):I[C]=A,I}function f(I,C){for(var A=0;A0&&arguments[0]!==void 0?arguments[0]:this.props.scrollPosition,L=this.placeholder.getBoundingClientRect(),Z=this.placeholder.style,q=parseInt(Z.getPropertyValue("margin-left"),10)||0,ne=parseInt(Z.getPropertyValue("margin-top"),10)||0;return{bottom:_.y+L.bottom+ne,left:_.x+L.left+q,right:_.x+L.right+q,top:_.y+L.top+ne}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var _=this.props,L=_.scrollPosition,Z=_.threshold,q=this.getPlaceholderBoundingBox(L),ne=L.y+window.innerHeight,le=L.x,Ee=L.x+window.innerWidth,Te=L.y;return Te-Z<=q.bottom&&ne+Z>=q.top&&le-Z<=q.right&&Ee+Z>=q.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var _=this,L=this.props,Z=L.className,q=L.height,ne=L.placeholder,le=L.style,Ee=L.width;if(ne&&typeof ne.type!="function")return i().cloneElement(ne,{ref:function(fe){return _.placeholder=fe}});var Te=function(fe){for(var Ze=1;Ze"u"?0:window.scrollX||window.pageXOffset},Y=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const te=function(I){var C=function(A){function j(Z){var q;if(function(le,Ee){if(!(le instanceof Ee))throw new TypeError("Cannot call a class as a function")}(this,j),(q=$(this,j,[Z])).useIntersectionObserver=Z.useIntersectionObserver&&a(),q.useIntersectionObserver)return W(q);var ne=q.onChangeScroll.bind(q);return Z.delayMethod==="debounce"?q.delayedScroll=P()(ne,Z.delayTime):Z.delayMethod==="throttle"&&(q.delayedScroll=T()(ne,Z.delayTime)),q.state={scrollPosition:{x:G(),y:Y()}},q.baseComponentRef=i().createRef(),q}return function(Z,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");Z.prototype=Object.create(q&&q.prototype,{constructor:{value:Z,writable:!0,configurable:!0}}),Object.defineProperty(Z,"prototype",{writable:!1}),q&&N(Z,q)}(j,A),_=j,L=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){typeof window>"u"||this.useIntersectionObserver||D(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement=D(this.baseComponentRef.current),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:G(),y:Y()}})}},{key:"render",value:function(){var Z=this.props,q=(Z.delayMethod,Z.delayTime,function(le,Ee){if(le==null)return{};var Te,fe,Ze=function(Je,qu){if(Je==null)return{};var qh={};for(var ea in Je)if({}.hasOwnProperty.call(Je,ea)){if(qu.indexOf(ea)>=0)continue;qh[ea]=Je[ea]}return qh}(le,Ee);if(Object.getOwnPropertySymbols){var Ge=Object.getOwnPropertySymbols(le);for(fe=0;fe=0||{}.propertyIsEnumerable.call(le,Te)&&(Ze[Te]=le[Te])}return Ze}(Z,F)),ne=this.useIntersectionObserver?null:this.state.scrollPosition;return i().createElement(I,K({forwardRef:this.baseComponentRef,scrollPosition:ne},q))}}],L&&V(_.prototype,L),Object.defineProperty(_,"prototype",{writable:!1}),_;var _,L}(i().Component);return C.propTypes={delayMethod:s.PropTypes.oneOf(["debounce","throttle"]),delayTime:s.PropTypes.number,useIntersectionObserver:s.PropTypes.bool},C.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},C};function J(I){return J=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(C){return typeof C}:function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},J(I)}function ce(I,C){for(var A=0;A=0&&Number.isFinite(ne.y)&&ne.y>=0),L}return function(_,L){if(typeof L!="function"&&L!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(L&&L.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),L&&Xn(_,L)}(C,I),A=C,(j=[{key:"componentDidUpdate",value:function(_,L){L.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var _=this.props,L=_.className,Z=_.delayMethod,q=_.delayTime,ne=_.height,le=_.placeholder,Ee=_.scrollPosition,Te=_.style,fe=_.threshold,Ze=_.useIntersectionObserver,Ge=_.width;return this.isScrollTracked||Ze&&a()?i().createElement(b,{className:L,height:ne,onVisible:this.onVisible,placeholder:le,scrollPosition:Ee,style:Te,threshold:fe,useIntersectionObserver:Ze,width:Ge}):i().createElement(yt,{className:L,delayMethod:Z,delayTime:q,height:ne,onVisible:this.onVisible,placeholder:le,style:Te,threshold:fe,width:Ge})}}])&&Xs(A.prototype,j),Object.defineProperty(A,"prototype",{writable:!1}),A;var A,j}(i().Component);Gu.propTypes={afterLoad:s.PropTypes.func,beforeLoad:s.PropTypes.func,useIntersectionObserver:s.PropTypes.bool,visibleByDefault:s.PropTypes.bool},Gu.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const $h=Gu;function co(I){return co=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(C){return typeof C}:function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},co(I)}var sT=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function Wh(I,C){var A=Object.keys(I);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(I);C&&(j=j.filter(function(_){return Object.getOwnPropertyDescriptor(I,_).enumerable})),A.push.apply(A,j)}return A}function Gh(I){for(var C=1;C=0)continue;Ge[Je]=fe[Je]}return Ge}(Z,q);if(Object.getOwnPropertySymbols){var Te=Object.getOwnPropertySymbols(Z);for(le=0;le=0||{}.propertyIsEnumerable.call(Z,ne)&&(Ee[ne]=Z[ne])}return Ee}(_,sT));return i().createElement("img",Zs({},L,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var _=this.props,L=_.beforeLoad,Z=_.className,q=_.delayMethod,ne=_.delayTime,le=_.height,Ee=_.placeholder,Te=_.scrollPosition,fe=_.style,Ze=_.threshold,Ge=_.useIntersectionObserver,Je=_.visibleByDefault,qu=_.width;return i().createElement($h,{beforeLoad:L,className:Z,delayMethod:q,delayTime:ne,height:le,placeholder:Ee,scrollPosition:Te,style:fe,threshold:Ze,useIntersectionObserver:Ge,visibleByDefault:Je,width:qu},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(_){var L=this.props,Z=L.effect,q=L.height,ne=L.placeholderSrc,le=L.width,Ee=L.wrapperClassName,Te=L.wrapperProps,fe=this.state.loaded,Ze=fe?" lazy-load-image-loaded":"",Ge=fe||!ne?{}:{backgroundImage:"url(".concat(ne,")"),backgroundSize:"100% 100%"};return i().createElement("span",Zs({className:Ee+" lazy-load-image-background "+Z+Ze,style:Gh(Gh({},Ge),{},{color:"transparent",display:"inline-block",height:q,width:le})},Te),_)}},{key:"render",value:function(){var _=this.props,L=_.effect,Z=_.placeholderSrc,q=_.visibleByDefault,ne=_.wrapperClassName,le=_.wrapperProps,Ee=this.getLazyLoadImage();return(L||Z)&&!q||ne||le?this.getWrappedLazyLoadImage(Ee):Ee}}],j&&lT(A.prototype,j),Object.defineProperty(A,"prototype",{writable:!1}),A;var A,j}(i().Component);Ku.propTypes={onLoad:s.PropTypes.func,afterLoad:s.PropTypes.func,beforeLoad:s.PropTypes.func,delayMethod:s.PropTypes.string,delayTime:s.PropTypes.number,effect:s.PropTypes.string,placeholderSrc:s.PropTypes.string,threshold:s.PropTypes.number,useIntersectionObserver:s.PropTypes.bool,visibleByDefault:s.PropTypes.bool,wrapperClassName:s.PropTypes.string,wrapperProps:s.PropTypes.object},Ku.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const cT=Ku})(),Rx.exports=r})();var DD=Rx.exports;const LD=e=>{const{url:t,isHovering:n,title:r,description:o}=e;return t&&Es(e.url??"")?S.jsx(wn,{variant:"ghost",size:"icon",className:"hover:bg-transparent",children:S.jsx(zk,{className:ie("h-4 w-4",n?"glowing-icon animate-bounce":"")})}):S.jsx(S.Fragment,{})},jD=e=>{const t=e.item;let[n,r]=w.useState(null);const[o,i]=w.useState(!1),s=()=>{if(t.link){const u=t.link;xt.trackCustomEvent(At.clicked_on_item,{link:u}),window.open(u,"_blank")}},a=t.title===n;return S.jsxs("div",{className:ie("w-full sm:w-full md:w-1/2 xl:w-1/2 2xl:w-1/3 p-1 relative group block",Es(e.item.link??"")?"cursor-pointer":"cursor-not-allowed"),onMouseEnter:()=>r(t.title),onMouseLeave:()=>r(null),onClick:s,children:[S.jsx(T1,{children:a&&S.jsx(vd.span,{className:ie("absolute inset-0 h-full w-full block bg-opacity-15 rounded-xl",Es(e.item.link??"")?"bg-green-500":"bg-red-500"),layoutId:"hoverBackground",initial:{opacity:0},animate:{opacity:1,transition:{duration:.15}},exit:{opacity:0,transition:{duration:.15,delay:.2}}})}),S.jsxs(Vs,{className:"h-full flex flex-row w-full p-4 items-center",children:[S.jsx("div",{className:"w-8 h-8 flex min-w-8 min-h-8",children:o?S.jsx(Uk,{className:"w-full h-full"}):S.jsx(DD.LazyLoadImage,{className:"mr-4 object-contain",src:t.logo,onError:()=>i(!0)})}),S.jsxs("div",{className:"flex flex-col ml-3 w-full gap-y-1",children:[S.jsx(Kw,{children:t.title}),S.jsx(qw,{children:t.desc})]}),S.jsx(LD,{url:t.link,isHovering:a,title:t.title,description:t.desc??""})]})]})},FD=e=>S.jsx("div",{className:"flex flex-col pb-4 w-full",children:e.items.map(t=>{const n=()=>t.shouldNotSort?t.arr:t.arr.sort((r,o)=>r.title.localeCompare(o.title));return S.jsxs("div",{className:"flex flex-col",children:[S.jsxs("div",{className:"flex flex-row items-center px-4 py-3",children:[S.jsx(Dk,{className:"mr-2 h-4 w-4"}),S.jsx("h1",{className:"text-sm font-bold tracking-wider",children:t.text})]}),S.jsx("div",{className:"flex flex-row flex-wrap pl-2 pr-2 w-full",children:n().map(r=>S.jsx(jD,{item:r,title:t.text}))})]})})}),VD=({index:e,item:t})=>S.jsxs("div",{className:"flex flex-col w-full",id:`section-${t.name.toLowerCase()}`,children:[S.jsx(ND,{name:t.name,index:e}),S.jsx(FD,{items:t.items})]});function Q(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 UD(e,t){const n=w.createContext(t);function r(i){const{children:s,...a}=i,u=w.useMemo(()=>a,Object.values(a));return S.jsx(n.Provider,{value:u,children:s})}function o(i){const s=w.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 so(e,t=[]){let n=[];function r(i,s){const a=w.createContext(s),u=n.length;n=[...n,s];function l(f){const{scope:d,children:m,...g}=f,y=(d==null?void 0:d[e][u])||a,x=w.useMemo(()=>g,Object.values(g));return S.jsx(y.Provider,{value:x,children:m})}function c(f,d){const m=(d==null?void 0:d[e][u])||a,g=w.useContext(m);if(g)return g;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${i}\``)}return l.displayName=i+"Provider",[l,c]}const o=()=>{const i=n.map(s=>w.createContext(s));return function(a){const u=(a==null?void 0:a[e])||i;return w.useMemo(()=>({[`__scope${e}`]:{...a,[e]:u}}),[a,u])}};return o.scopeName=e,[r,zD(o,...t)]}function zD(...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:u,scopeName:l})=>{const f=u(i)[`__scope${l}`];return{...a,...f}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function pt(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Ou({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=BD({defaultProp:t,onChange:n}),i=e!==void 0,s=i?e:r,a=pt(n),u=w.useCallback(l=>{if(i){const f=typeof l=="function"?l(e):l;f!==e&&a(f)}else o(l)},[i,e,o,a]);return[s,u]}function BD({defaultProp:e,onChange:t}){const n=w.useState(e),[r]=n,o=w.useRef(r),i=pt(t);return w.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}function vh(e){const t=e+"CollectionProvider",[n,r]=so(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=m=>{const{scope:g,children:y}=m,x=An.useRef(null),h=An.useRef(new Map).current;return S.jsx(o,{scope:g,itemMap:h,collectionRef:x,children:y})};s.displayName=t;const a=e+"CollectionSlot",u=An.forwardRef((m,g)=>{const{scope:y,children:x}=m,h=i(a,y),p=$e(g,h.collectionRef);return S.jsx(eo,{ref:p,children:x})});u.displayName=a;const l=e+"CollectionItemSlot",c="data-radix-collection-item",f=An.forwardRef((m,g)=>{const{scope:y,children:x,...h}=m,p=An.useRef(null),v=$e(g,p),b=i(l,y);return An.useEffect(()=>(b.itemMap.set(p,{ref:p,...h}),()=>void b.itemMap.delete(p))),S.jsx(eo,{[c]:"",ref:v,children:x})});f.displayName=l;function d(m){const g=i(e+"CollectionConsumer",m);return An.useCallback(()=>{const x=g.collectionRef.current;if(!x)return[];const h=Array.from(x.querySelectorAll(`[${c}]`));return Array.from(g.itemMap.values()).sort((b,E)=>h.indexOf(b.ref.current)-h.indexOf(E.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:s,Slot:u,ItemSlot:f},d,r]}var $D=w.createContext(void 0);function Ix(e){const t=w.useContext($D);return e||t||"ltr"}function WD(e,t=globalThis==null?void 0:globalThis.document){const n=pt(e);w.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 GD="DismissableLayer",Ad="dismissableLayer.update",HD="dismissableLayer.pointerDownOutside",KD="dismissableLayer.focusOutside",oy,Ox=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Mu=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...u}=e,l=w.useContext(Ox),[c,f]=w.useState(null),d=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=w.useState({}),g=$e(t,k=>f(k)),y=Array.from(l.layers),[x]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),h=y.indexOf(x),p=c?y.indexOf(c):-1,v=l.layersWithOutsidePointerEventsDisabled.size>0,b=p>=h,E=YD(k=>{const T=k.target,O=[...l.branches].some(D=>D.contains(T));!b||O||(o==null||o(k),s==null||s(k),k.defaultPrevented||a==null||a())},d),P=XD(k=>{const T=k.target;[...l.branches].some(D=>D.contains(T))||(i==null||i(k),s==null||s(k),k.defaultPrevented||a==null||a())},d);return WD(k=>{p===l.layers.size-1&&(r==null||r(k),!k.defaultPrevented&&a&&(k.preventDefault(),a()))},d),w.useEffect(()=>{if(c)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(oy=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(c)),l.layers.add(c),iy(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=oy)}},[c,d,n,l]),w.useEffect(()=>()=>{c&&(l.layers.delete(c),l.layersWithOutsidePointerEventsDisabled.delete(c),iy())},[c,l]),w.useEffect(()=>{const k=()=>m({});return document.addEventListener(Ad,k),()=>document.removeEventListener(Ad,k)},[]),S.jsx(ue.div,{...u,ref:g,style:{pointerEvents:v?b?"auto":"none":void 0,...e.style},onFocusCapture:Q(e.onFocusCapture,P.onFocusCapture),onBlurCapture:Q(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Q(e.onPointerDownCapture,E.onPointerDownCapture)})});Mu.displayName=GD;var qD="DismissableLayerBranch",Mx=w.forwardRef((e,t)=>{const n=w.useContext(Ox),r=w.useRef(null),o=$e(t,r);return w.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),S.jsx(ue.div,{...e,ref:o})});Mx.displayName=qD;function YD(e,t=globalThis==null?void 0:globalThis.document){const n=pt(e),r=w.useRef(!1),o=w.useRef(()=>{});return w.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let u=function(){Nx(HD,n,l,{discrete:!0})};const l={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}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 XD(e,t=globalThis==null?void 0:globalThis.document){const n=pt(e),r=w.useRef(!1);return w.useEffect(()=>{const o=i=>{i.target&&!r.current&&Nx(KD,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 iy(){const e=new CustomEvent(Ad);document.dispatchEvent(e)}function Nx(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?mh(o,i):o.dispatchEvent(i)}var QD=Mu,ZD=Mx,Hc=0;function Dx(){w.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??sy()),document.body.insertAdjacentElement("beforeend",e[1]??sy()),Hc++,()=>{Hc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Hc--}},[])}function sy(){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 Kc="focusScope.autoFocusOnMount",qc="focusScope.autoFocusOnUnmount",ay={bubbles:!1,cancelable:!0},JD="FocusScope",gh=w.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[a,u]=w.useState(null),l=pt(o),c=pt(i),f=w.useRef(null),d=$e(t,y=>u(y)),m=w.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;w.useEffect(()=>{if(r){let y=function(v){if(m.paused||!a)return;const b=v.target;a.contains(b)?f.current=b:nr(f.current,{select:!0})},x=function(v){if(m.paused||!a)return;const b=v.relatedTarget;b!==null&&(a.contains(b)||nr(f.current,{select:!0}))},h=function(v){if(document.activeElement===document.body)for(const E of v)E.removedNodes.length>0&&nr(a)};document.addEventListener("focusin",y),document.addEventListener("focusout",x);const p=new MutationObserver(h);return a&&p.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",x),p.disconnect()}}},[r,a,m.paused]),w.useEffect(()=>{if(a){uy.add(m);const y=document.activeElement;if(!a.contains(y)){const h=new CustomEvent(Kc,ay);a.addEventListener(Kc,l),a.dispatchEvent(h),h.defaultPrevented||(eL(iL(Lx(a)),{select:!0}),document.activeElement===y&&nr(a))}return()=>{a.removeEventListener(Kc,l),setTimeout(()=>{const h=new CustomEvent(qc,ay);a.addEventListener(qc,c),a.dispatchEvent(h),h.defaultPrevented||nr(y??document.body,{select:!0}),a.removeEventListener(qc,c),uy.remove(m)},0)}}},[a,l,c,m]);const g=w.useCallback(y=>{if(!n&&!r||m.paused)return;const x=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,h=document.activeElement;if(x&&h){const p=y.currentTarget,[v,b]=tL(p);v&&b?!y.shiftKey&&h===b?(y.preventDefault(),n&&nr(v,{select:!0})):y.shiftKey&&h===v&&(y.preventDefault(),n&&nr(b,{select:!0})):h===p&&y.preventDefault()}},[n,r,m.paused]);return S.jsx(ue.div,{tabIndex:-1,...s,ref:d,onKeyDown:g})});gh.displayName=JD;function eL(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(nr(r,{select:t}),document.activeElement!==n)return}function tL(e){const t=Lx(e),n=ly(t,e),r=ly(t.reverse(),e);return[n,r]}function Lx(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 ly(e,t){for(const n of e)if(!nL(n,{upTo:t}))return n}function nL(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 rL(e){return e instanceof HTMLInputElement&&"select"in e}function nr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&rL(e)&&t&&e.select()}}var uy=oL();function oL(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=cy(e,t),e.unshift(t)},remove(t){var n;e=cy(e,t),(n=e[0])==null||n.resume()}}}function cy(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function iL(e){return e.filter(t=>t.tagName!=="A")}var Cr=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},sL=AT.useId||(()=>{}),aL=0;function qo(e){const[t,n]=w.useState(sL());return Cr(()=>{n(r=>r??String(aL++))},[e]),t?`radix-${t}`:""}const lL=["top","right","bottom","left"],xn=Math.min,_t=Math.max,$l=Math.round,Ra=Math.floor,kr=e=>({x:e,y:e}),uL={left:"right",right:"left",bottom:"top",top:"bottom"},cL={start:"end",end:"start"};function Rd(e,t,n){return _t(e,xn(t,n))}function Gn(e,t){return typeof e=="function"?e(t):e}function Hn(e){return e.split("-")[0]}function Si(e){return e.split("-")[1]}function yh(e){return e==="x"?"y":"x"}function wh(e){return e==="y"?"height":"width"}function _r(e){return["top","bottom"].includes(Hn(e))?"y":"x"}function bh(e){return yh(_r(e))}function fL(e,t,n){n===void 0&&(n=!1);const r=Si(e),o=bh(e),i=wh(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Wl(s)),[s,Wl(s)]}function dL(e){const t=Wl(e);return[Id(e),t,Id(t)]}function Id(e){return e.replace(/start|end/g,t=>cL[t])}function pL(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 hL(e,t,n,r){const o=Si(e);let i=pL(Hn(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Id)))),i}function Wl(e){return e.replace(/left|right|bottom|top/g,t=>uL[t])}function mL(e){return{top:0,right:0,bottom:0,left:0,...e}}function jx(e){return typeof e!="number"?mL(e):{top:e,right:e,bottom:e,left:e}}function Gl(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 fy(e,t,n){let{reference:r,floating:o}=e;const i=_r(t),s=bh(t),a=wh(s),u=Hn(t),l=i==="y",c=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let m;switch(u){case"top":m={x:c,y:r.y-o.height};break;case"bottom":m={x:c,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:f};break;case"left":m={x:r.x-o.width,y:f};break;default:m={x:r.x,y:r.y}}switch(Si(t)){case"start":m[s]-=d*(n&&l?-1:1);break;case"end":m[s]+=d*(n&&l?-1:1);break}return m}const vL=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=fy(l,r,u),d=r,m={},g=0;for(let y=0;y({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:u}=t,{element:l,padding:c=0}=Gn(e,t)||{};if(l==null)return{};const f=jx(c),d={x:n,y:r},m=bh(o),g=wh(m),y=await s.getDimensions(l),x=m==="y",h=x?"top":"left",p=x?"bottom":"right",v=x?"clientHeight":"clientWidth",b=i.reference[g]+i.reference[m]-d[m]-i.floating[g],E=d[m]-i.reference[m],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l));let k=P?P[v]:0;(!k||!await(s.isElement==null?void 0:s.isElement(P)))&&(k=a.floating[v]||i.floating[g]);const T=b/2-E/2,O=k/2-y[g]/2-1,D=xn(f[h],O),z=xn(f[p],O),F=D,K=k-y[g]-z,V=k/2-y[g]/2+T,B=Rd(F,V,K),$=!u.arrow&&Si(o)!=null&&V!==B&&i.reference[g]/2-(VV<=0)){var z,F;const V=(((z=i.flip)==null?void 0:z.index)||0)+1,B=k[V];if(B)return{data:{index:V,overflows:D},reset:{placement:B}};let $=(F=D.filter(W=>W.overflows[0]<=0).sort((W,M)=>W.overflows[1]-M.overflows[1])[0])==null?void 0:F.placement;if(!$)switch(m){case"bestFit":{var K;const W=(K=D.filter(M=>{if(P){const R=_r(M.placement);return R===p||R==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(R=>R>0).reduce((R,N)=>R+N,0)]).sort((M,R)=>M[1]-R[1])[0])==null?void 0:K[0];W&&($=W);break}case"initialPlacement":$=a;break}if(o!==$)return{reset:{placement:$}}}return{}}}};function dy(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function py(e){return lL.some(t=>e[t]>=0)}const wL=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Gn(e,t);switch(r){case"referenceHidden":{const i=await Rs(t,{...o,elementContext:"reference"}),s=dy(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:py(s)}}}case"escaped":{const i=await Rs(t,{...o,altBoundary:!0}),s=dy(i,n.floating);return{data:{escapedOffsets:s,escaped:py(s)}}}default:return{}}}}};async function bL(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Hn(n),a=Si(n),u=_r(n)==="y",l=["left","top"].includes(s)?-1:1,c=i&&u?-1:1,f=Gn(t,e);let{mainAxis:d,crossAxis:m,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof g=="number"&&(m=a==="end"?g*-1:g),u?{x:m*c,y:d*l}:{x:d*l,y:m*c}}const xL=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,u=await bL(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:s}}}}},SL=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:x=>{let{x:h,y:p}=x;return{x:h,y:p}}},...u}=Gn(e,t),l={x:n,y:r},c=await Rs(t,u),f=_r(Hn(o)),d=yh(f);let m=l[d],g=l[f];if(i){const x=d==="y"?"top":"left",h=d==="y"?"bottom":"right",p=m+c[x],v=m-c[h];m=Rd(p,m,v)}if(s){const x=f==="y"?"top":"left",h=f==="y"?"bottom":"right",p=g+c[x],v=g-c[h];g=Rd(p,g,v)}const y=a.fn({...t,[d]:m,[f]:g});return{...y,data:{x:y.x-n,y:y.y-r}}}}},EL=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:u=!0,crossAxis:l=!0}=Gn(e,t),c={x:n,y:r},f=_r(o),d=yh(f);let m=c[d],g=c[f];const y=Gn(a,t),x=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(u){const v=d==="y"?"height":"width",b=i.reference[d]-i.floating[v]+x.mainAxis,E=i.reference[d]+i.reference[v]-x.mainAxis;mE&&(m=E)}if(l){var h,p;const v=d==="y"?"width":"height",b=["top","left"].includes(Hn(o)),E=i.reference[f]-i.floating[v]+(b&&((h=s.offset)==null?void 0:h[f])||0)+(b?0:x.crossAxis),P=i.reference[f]+i.reference[v]+(b?0:((p=s.offset)==null?void 0:p[f])||0)-(b?x.crossAxis:0);gP&&(g=P)}return{[d]:m,[f]:g}}}},TL=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}=Gn(e,t),u=await Rs(t,a),l=Hn(n),c=Si(n),f=_r(n)==="y",{width:d,height:m}=r.floating;let g,y;l==="top"||l==="bottom"?(g=l,y=c===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(y=l,g=c==="end"?"top":"bottom");const x=m-u.top-u.bottom,h=d-u.left-u.right,p=xn(m-u[g],x),v=xn(d-u[y],h),b=!t.middlewareData.shift;let E=p,P=v;if(f?P=c||b?xn(v,h):h:E=c||b?xn(p,x):x,b&&!c){const T=_t(u.left,0),O=_t(u.right,0),D=_t(u.top,0),z=_t(u.bottom,0);f?P=d-2*(T!==0||O!==0?T+O:_t(u.left,u.right)):E=m-2*(D!==0||z!==0?D+z:_t(u.top,u.bottom))}await s({...t,availableWidth:P,availableHeight:E});const k=await o.getDimensions(i.floating);return d!==k.width||m!==k.height?{reset:{rects:!0}}:{}}}};function Ei(e){return Fx(e)?(e.nodeName||"").toLowerCase():"#document"}function Ot(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function qn(e){var t;return(t=(Fx(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Fx(e){return e instanceof Node||e instanceof Ot(e).Node}function un(e){return e instanceof Element||e instanceof Ot(e).Element}function kn(e){return e instanceof HTMLElement||e instanceof Ot(e).HTMLElement}function hy(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ot(e).ShadowRoot}function Ks(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=cn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function PL(e){return["table","td","th"].includes(Ei(e))}function Nu(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function xh(e){const t=Sh(),n=un(e)?cn(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 CL(e){let t=Ar(e);for(;kn(t)&&!di(t);){if(xh(t))return t;if(Nu(t))return null;t=Ar(t)}return null}function Sh(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function di(e){return["html","body","#document"].includes(Ei(e))}function cn(e){return Ot(e).getComputedStyle(e)}function Du(e){return un(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ar(e){if(Ei(e)==="html")return e;const t=e.assignedSlot||e.parentNode||hy(e)&&e.host||qn(e);return hy(t)?t.host:t}function Vx(e){const t=Ar(e);return di(t)?e.ownerDocument?e.ownerDocument.body:e.body:kn(t)&&Ks(t)?t:Vx(t)}function Is(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Vx(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=Ot(o);if(i){const a=Od(s);return t.concat(s,s.visualViewport||[],Ks(o)?o:[],a&&n?Is(a):[])}return t.concat(o,Is(o,[],n))}function Od(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ux(e){const t=cn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=kn(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=$l(n)!==i||$l(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function Eh(e){return un(e)?e:e.contextElement}function Yo(e){const t=Eh(e);if(!kn(t))return kr(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Ux(t);let s=(i?$l(n.width):n.width)/r,a=(i?$l(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const kL=kr(0);function zx(e){const t=Ot(e);return!Sh()||!t.visualViewport?kL:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function _L(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ot(e)?!1:t}function no(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Eh(e);let s=kr(1);t&&(r?un(r)&&(s=Yo(r)):s=Yo(e));const a=_L(i,n,r)?zx(i):kr(0);let u=(o.left+a.x)/s.x,l=(o.top+a.y)/s.y,c=o.width/s.x,f=o.height/s.y;if(i){const d=Ot(i),m=r&&un(r)?Ot(r):r;let g=d,y=Od(g);for(;y&&r&&m!==g;){const x=Yo(y),h=y.getBoundingClientRect(),p=cn(y),v=h.left+(y.clientLeft+parseFloat(p.paddingLeft))*x.x,b=h.top+(y.clientTop+parseFloat(p.paddingTop))*x.y;u*=x.x,l*=x.y,c*=x.x,f*=x.y,u+=v,l+=b,g=Ot(y),y=Od(g)}}return Gl({width:c,height:f,x:u,y:l})}function AL(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=qn(r),a=t?Nu(t.floating):!1;if(r===s||a&&i)return n;let u={scrollLeft:0,scrollTop:0},l=kr(1);const c=kr(0),f=kn(r);if((f||!f&&!i)&&((Ei(r)!=="body"||Ks(s))&&(u=Du(r)),kn(r))){const d=no(r);l=Yo(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+c.x,y:n.y*l.y-u.scrollTop*l.y+c.y}}function RL(e){return Array.from(e.getClientRects())}function Bx(e){return no(qn(e)).left+Du(e).scrollLeft}function IL(e){const t=qn(e),n=Du(e),r=e.ownerDocument.body,o=_t(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=_t(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Bx(e);const a=-n.scrollTop;return cn(r).direction==="rtl"&&(s+=_t(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}function OL(e,t){const n=Ot(e),r=qn(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,u=0;if(o){i=o.width,s=o.height;const l=Sh();(!l||l&&t==="fixed")&&(a=o.offsetLeft,u=o.offsetTop)}return{width:i,height:s,x:a,y:u}}function ML(e,t){const n=no(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=kn(e)?Yo(e):kr(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,u=o*i.x,l=r*i.y;return{width:s,height:a,x:u,y:l}}function my(e,t,n){let r;if(t==="viewport")r=OL(e,n);else if(t==="document")r=IL(qn(e));else if(un(t))r=ML(t,n);else{const o=zx(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Gl(r)}function $x(e,t){const n=Ar(e);return n===t||!un(n)||di(n)?!1:cn(n).position==="fixed"||$x(n,t)}function NL(e,t){const n=t.get(e);if(n)return n;let r=Is(e,[],!1).filter(a=>un(a)&&Ei(a)!=="body"),o=null;const i=cn(e).position==="fixed";let s=i?Ar(e):e;for(;un(s)&&!di(s);){const a=cn(s),u=xh(s);!u&&a.position==="fixed"&&(o=null),(i?!u&&!o:!u&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Ks(s)&&!u&&$x(e,s))?r=r.filter(c=>c!==s):o=a,s=Ar(s)}return t.set(e,r),r}function DL(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Nu(t)?[]:NL(t,this._c):[].concat(n),r],a=s[0],u=s.reduce((l,c)=>{const f=my(t,c,o);return l.top=_t(f.top,l.top),l.right=xn(f.right,l.right),l.bottom=xn(f.bottom,l.bottom),l.left=_t(f.left,l.left),l},my(t,a,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function LL(e){const{width:t,height:n}=Ux(e);return{width:t,height:n}}function jL(e,t,n){const r=kn(t),o=qn(t),i=n==="fixed",s=no(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const u=kr(0);if(r||!r&&!i)if((Ei(t)!=="body"||Ks(o))&&(a=Du(t)),r){const f=no(t,!0,i,t);u.x=f.x+t.clientLeft,u.y=f.y+t.clientTop}else o&&(u.x=Bx(o));const l=s.left+a.scrollLeft-u.x,c=s.top+a.scrollTop-u.y;return{x:l,y:c,width:s.width,height:s.height}}function Yc(e){return cn(e).position==="static"}function vy(e,t){return!kn(e)||cn(e).position==="fixed"?null:t?t(e):e.offsetParent}function Wx(e,t){const n=Ot(e);if(Nu(e))return n;if(!kn(e)){let o=Ar(e);for(;o&&!di(o);){if(un(o)&&!Yc(o))return o;o=Ar(o)}return n}let r=vy(e,t);for(;r&&PL(r)&&Yc(r);)r=vy(r,t);return r&&di(r)&&Yc(r)&&!xh(r)?n:r||CL(e)||n}const FL=async function(e){const t=this.getOffsetParent||Wx,n=this.getDimensions,r=await n(e.floating);return{reference:jL(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function VL(e){return cn(e).direction==="rtl"}const UL={convertOffsetParentRelativeRectToViewportRelativeRect:AL,getDocumentElement:qn,getClippingRect:DL,getOffsetParent:Wx,getElementRects:FL,getClientRects:RL,getDimensions:LL,getScale:Yo,isElement:un,isRTL:VL};function zL(e,t){let n=null,r;const o=qn(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,u){a===void 0&&(a=!1),u===void 0&&(u=1),i();const{left:l,top:c,width:f,height:d}=e.getBoundingClientRect();if(a||t(),!f||!d)return;const m=Ra(c),g=Ra(o.clientWidth-(l+f)),y=Ra(o.clientHeight-(c+d)),x=Ra(l),p={rootMargin:-m+"px "+-g+"px "+-y+"px "+-x+"px",threshold:_t(0,xn(1,u))||1};let v=!0;function b(E){const P=E[0].intersectionRatio;if(P!==u){if(!v)return s();P?s(!1,P):r=setTimeout(()=>{s(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(b,{...p,root:o.ownerDocument})}catch{n=new IntersectionObserver(b,p)}n.observe(e)}return s(!0),i}function BL(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:u=!1}=r,l=Eh(e),c=o||i?[...l?Is(l):[],...Is(t)]:[];c.forEach(h=>{o&&h.addEventListener("scroll",n,{passive:!0}),i&&h.addEventListener("resize",n)});const f=l&&a?zL(l,n):null;let d=-1,m=null;s&&(m=new ResizeObserver(h=>{let[p]=h;p&&p.target===l&&m&&(m.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var v;(v=m)==null||v.observe(t)})),n()}),l&&!u&&m.observe(l),m.observe(t));let g,y=u?no(e):null;u&&x();function x(){const h=no(e);y&&(h.x!==y.x||h.y!==y.y||h.width!==y.width||h.height!==y.height)&&n(),y=h,g=requestAnimationFrame(x)}return n(),()=>{var h;c.forEach(p=>{o&&p.removeEventListener("scroll",n),i&&p.removeEventListener("resize",n)}),f==null||f(),(h=m)==null||h.disconnect(),m=null,u&&cancelAnimationFrame(g)}}const $L=xL,WL=SL,GL=yL,HL=TL,KL=wL,gy=gL,qL=EL,YL=(e,t,n)=>{const r=new Map,o={platform:UL,...n},i={...o.platform,_c:r};return vL(e,t,{...o,platform:i})};var nl=typeof document<"u"?w.useLayoutEffect:w.useEffect;function Hl(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(!Hl(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)&&!Hl(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Gx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function yy(e,t){const n=Gx(e);return Math.round(t*n)/n}function wy(e){const t=w.useRef(e);return nl(()=>{t.current=e}),t}function XL(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:u,open:l}=e,[c,f]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,m]=w.useState(r);Hl(d,r)||m(r);const[g,y]=w.useState(null),[x,h]=w.useState(null),p=w.useCallback(W=>{W!==P.current&&(P.current=W,y(W))},[]),v=w.useCallback(W=>{W!==k.current&&(k.current=W,h(W))},[]),b=i||g,E=s||x,P=w.useRef(null),k=w.useRef(null),T=w.useRef(c),O=u!=null,D=wy(u),z=wy(o),F=w.useCallback(()=>{if(!P.current||!k.current)return;const W={placement:t,strategy:n,middleware:d};z.current&&(W.platform=z.current),YL(P.current,k.current,W).then(M=>{const R={...M,isPositioned:!0};K.current&&!Hl(T.current,R)&&(T.current=R,vi.flushSync(()=>{f(R)}))})},[d,t,n,z]);nl(()=>{l===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,f(W=>({...W,isPositioned:!1})))},[l]);const K=w.useRef(!1);nl(()=>(K.current=!0,()=>{K.current=!1}),[]),nl(()=>{if(b&&(P.current=b),E&&(k.current=E),b&&E){if(D.current)return D.current(b,E,F);F()}},[b,E,F,D,O]);const V=w.useMemo(()=>({reference:P,floating:k,setReference:p,setFloating:v}),[p,v]),B=w.useMemo(()=>({reference:b,floating:E}),[b,E]),$=w.useMemo(()=>{const W={position:n,left:0,top:0};if(!B.floating)return W;const M=yy(B.floating,c.x),R=yy(B.floating,c.y);return a?{...W,transform:"translate("+M+"px, "+R+"px)",...Gx(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:R}},[n,a,B.floating,c.x,c.y]);return w.useMemo(()=>({...c,update:F,refs:V,elements:B,floatingStyles:$}),[c,F,V,B,$])}const QL=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?gy({element:r.current,padding:o}).fn(n):{}:r?gy({element:r,padding:o}).fn(n):{}}}},ZL=(e,t)=>({...$L(e),options:[e,t]}),JL=(e,t)=>({...WL(e),options:[e,t]}),ej=(e,t)=>({...qL(e),options:[e,t]}),tj=(e,t)=>({...GL(e),options:[e,t]}),nj=(e,t)=>({...HL(e),options:[e,t]}),rj=(e,t)=>({...KL(e),options:[e,t]}),oj=(e,t)=>({...QL(e),options:[e,t]});var ij="Arrow",Hx=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return S.jsx(ue.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:S.jsx("polygon",{points:"0,0 30,0 15,10"})})});Hx.displayName=ij;var sj=Hx;function aj(e){const[t,n]=w.useState(void 0);return Cr(()=>{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 u=i.borderBoxSize,l=Array.isArray(u)?u[0]:u;s=l.inlineSize,a=l.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 Th="Popper",[Kx,qx]=so(Th),[lj,Yx]=Kx(Th),Xx=e=>{const{__scopePopper:t,children:n}=e,[r,o]=w.useState(null);return S.jsx(lj,{scope:t,anchor:r,onAnchorChange:o,children:n})};Xx.displayName=Th;var Qx="PopperAnchor",Zx=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Yx(Qx,n),s=w.useRef(null),a=$e(t,s);return w.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:S.jsx(ue.div,{...o,ref:a})});Zx.displayName=Qx;var Ph="PopperContent",[uj,cj]=Kx(Ph),Jx=w.forwardRef((e,t)=>{var Se,Qe,be,Ie,We,yt;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:u=!0,collisionBoundary:l=[],collisionPadding:c=0,sticky:f="partial",hideWhenDetached:d=!1,updatePositionStrategy:m="optimized",onPlaced:g,...y}=e,x=Yx(Ph,n),[h,p]=w.useState(null),v=$e(t,Ne=>p(Ne)),[b,E]=w.useState(null),P=aj(b),k=(P==null?void 0:P.width)??0,T=(P==null?void 0:P.height)??0,O=r+(i!=="center"?"-"+i:""),D=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},z=Array.isArray(l)?l:[l],F=z.length>0,K={padding:D,boundary:z.filter(dj),altBoundary:F},{refs:V,floatingStyles:B,placement:$,isPositioned:W,middlewareData:M}=XL({strategy:"fixed",placement:O,whileElementsMounted:(...Ne)=>BL(...Ne,{animationFrame:m==="always"}),elements:{reference:x.anchor},middleware:[ZL({mainAxis:o+T,alignmentAxis:s}),u&&JL({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?ej():void 0,...K}),u&&tj({...K}),nj({...K,apply:({elements:Ne,rects:Xs,availableWidth:$u,availableHeight:Wu})=>{const{width:Qs,height:uo}=Xs.reference,Xn=Ne.floating.style;Xn.setProperty("--radix-popper-available-width",`${$u}px`),Xn.setProperty("--radix-popper-available-height",`${Wu}px`),Xn.setProperty("--radix-popper-anchor-width",`${Qs}px`),Xn.setProperty("--radix-popper-anchor-height",`${uo}px`)}}),b&&oj({element:b,padding:a}),pj({arrowWidth:k,arrowHeight:T}),d&&rj({strategy:"referenceHidden",...K})]}),[R,N]=nS($),G=pt(g);Cr(()=>{W&&(G==null||G())},[W,G]);const Y=(Se=M.arrow)==null?void 0:Se.x,te=(Qe=M.arrow)==null?void 0:Qe.y,J=((be=M.arrow)==null?void 0:be.centerOffset)!==0,[ce,ve]=w.useState();return Cr(()=>{h&&ve(window.getComputedStyle(h).zIndex)},[h]),S.jsx("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:W?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ce,"--radix-popper-transform-origin":[(Ie=M.transformOrigin)==null?void 0:Ie.x,(We=M.transformOrigin)==null?void 0:We.y].join(" "),...((yt=M.hide)==null?void 0:yt.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:S.jsx(uj,{scope:n,placedSide:R,onArrowChange:E,arrowX:Y,arrowY:te,shouldHideArrow:J,children:S.jsx(ue.div,{"data-side":R,"data-align":N,...y,ref:v,style:{...y.style,animation:W?void 0:"none"}})})})});Jx.displayName=Ph;var eS="PopperArrow",fj={top:"bottom",right:"left",bottom:"top",left:"right"},tS=w.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=cj(eS,r),s=fj[i.placedSide];return S.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:S.jsx(sj,{...o,ref:n,style:{...o.style,display:"block"}})})});tS.displayName=eS;function dj(e){return e!==null}var pj=e=>({name:"transformOrigin",options:e,fn(t){var x,h,p;const{placement:n,rects:r,middlewareData:o}=t,s=((x=o.arrow)==null?void 0:x.centerOffset)!==0,a=s?0:e.arrowWidth,u=s?0:e.arrowHeight,[l,c]=nS(n),f={start:"0%",center:"50%",end:"100%"}[c],d=(((h=o.arrow)==null?void 0:h.x)??0)+a/2,m=(((p=o.arrow)==null?void 0:p.y)??0)+u/2;let g="",y="";return l==="bottom"?(g=s?f:`${d}px`,y=`${-u}px`):l==="top"?(g=s?f:`${d}px`,y=`${r.floating.height+u}px`):l==="right"?(g=`${-u}px`,y=s?f:`${m}px`):l==="left"&&(g=`${r.floating.width+u}px`,y=s?f:`${m}px`),{data:{x:g,y}}}});function nS(e){const[t,n="center"]=e.split("-");return[t,n]}var hj=Xx,mj=Zx,vj=Jx,gj=tS,yj="Portal",Lu=w.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=w.useState(!1);Cr(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?UC.createPortal(S.jsx(ue.div,{...r,ref:t}),s):null});Lu.displayName=yj;function wj(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var Yn=e=>{const{present:t,children:n}=e,r=bj(t),o=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),i=$e(r.ref,xj(o));return typeof n=="function"||r.isPresent?w.cloneElement(o,{ref:i}):null};Yn.displayName="Presence";function bj(e){const[t,n]=w.useState(),r=w.useRef({}),o=w.useRef(e),i=w.useRef("none"),s=e?"mounted":"unmounted",[a,u]=wj(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const l=Ia(r.current);i.current=a==="mounted"?l:"none"},[a]),Cr(()=>{const l=r.current,c=o.current;if(c!==e){const d=i.current,m=Ia(l);e?u("MOUNT"):m==="none"||(l==null?void 0:l.display)==="none"?u("UNMOUNT"):u(c&&d!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),Cr(()=>{if(t){const l=f=>{const m=Ia(r.current).includes(f.animationName);f.target===t&&m&&vi.flushSync(()=>u("ANIMATION_END"))},c=f=>{f.target===t&&(i.current=Ia(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",l),t.addEventListener("animationend",l),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",l),t.removeEventListener("animationend",l)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:w.useCallback(l=>{l&&(r.current=getComputedStyle(l)),n(l)},[])}}function Ia(e){return(e==null?void 0:e.animationName)||"none"}function xj(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 Xc="rovingFocusGroup.onEntryFocus",Sj={bubbles:!1,cancelable:!0},ju="RovingFocusGroup",[Md,rS,Ej]=vh(ju),[Tj,oS]=so(ju,[Ej]),[Pj,Cj]=Tj(ju),iS=w.forwardRef((e,t)=>S.jsx(Md.Provider,{scope:e.__scopeRovingFocusGroup,children:S.jsx(Md.Slot,{scope:e.__scopeRovingFocusGroup,children:S.jsx(kj,{...e,ref:t})})}));iS.displayName=ju;var kj=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:s,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:u,onEntryFocus:l,preventScrollOnEntryFocus:c=!1,...f}=e,d=w.useRef(null),m=$e(t,d),g=Ix(i),[y=null,x]=Ou({prop:s,defaultProp:a,onChange:u}),[h,p]=w.useState(!1),v=pt(l),b=rS(n),E=w.useRef(!1),[P,k]=w.useState(0);return w.useEffect(()=>{const T=d.current;if(T)return T.addEventListener(Xc,v),()=>T.removeEventListener(Xc,v)},[v]),S.jsx(Pj,{scope:n,orientation:r,dir:g,loop:o,currentTabStopId:y,onItemFocus:w.useCallback(T=>x(T),[x]),onItemShiftTab:w.useCallback(()=>p(!0),[]),onFocusableItemAdd:w.useCallback(()=>k(T=>T+1),[]),onFocusableItemRemove:w.useCallback(()=>k(T=>T-1),[]),children:S.jsx(ue.div,{tabIndex:h||P===0?-1:0,"data-orientation":r,...f,ref:m,style:{outline:"none",...e.style},onMouseDown:Q(e.onMouseDown,()=>{E.current=!0}),onFocus:Q(e.onFocus,T=>{const O=!E.current;if(T.target===T.currentTarget&&O&&!h){const D=new CustomEvent(Xc,Sj);if(T.currentTarget.dispatchEvent(D),!D.defaultPrevented){const z=b().filter($=>$.focusable),F=z.find($=>$.active),K=z.find($=>$.id===y),B=[F,K,...z].filter(Boolean).map($=>$.ref.current);lS(B,c)}}E.current=!1}),onBlur:Q(e.onBlur,()=>p(!1))})})}),sS="RovingFocusGroupItem",aS=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...s}=e,a=qo(),u=i||a,l=Cj(sS,n),c=l.currentTabStopId===u,f=rS(n),{onFocusableItemAdd:d,onFocusableItemRemove:m}=l;return w.useEffect(()=>{if(r)return d(),()=>m()},[r,d,m]),S.jsx(Md.ItemSlot,{scope:n,id:u,focusable:r,active:o,children:S.jsx(ue.span,{tabIndex:c?0:-1,"data-orientation":l.orientation,...s,ref:t,onMouseDown:Q(e.onMouseDown,g=>{r?l.onItemFocus(u):g.preventDefault()}),onFocus:Q(e.onFocus,()=>l.onItemFocus(u)),onKeyDown:Q(e.onKeyDown,g=>{if(g.key==="Tab"&&g.shiftKey){l.onItemShiftTab();return}if(g.target!==g.currentTarget)return;const y=Rj(g,l.orientation,l.dir);if(y!==void 0){if(g.metaKey||g.ctrlKey||g.altKey||g.shiftKey)return;g.preventDefault();let h=f().filter(p=>p.focusable).map(p=>p.ref.current);if(y==="last")h.reverse();else if(y==="prev"||y==="next"){y==="prev"&&h.reverse();const p=h.indexOf(g.currentTarget);h=l.loop?Ij(h,p+1):h.slice(p+1)}setTimeout(()=>lS(h))}})})})});aS.displayName=sS;var _j={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Aj(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Rj(e,t,n){const r=Aj(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return _j[r]}function lS(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function Ij(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var Oj=iS,Mj=aS,Nj=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ho=new WeakMap,Oa=new WeakMap,Ma={},Qc=0,uS=function(e){return e&&(e.host||uS(e.parentNode))},Dj=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=uS(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})},Lj=function(e,t,n,r){var o=Dj(t,Array.isArray(e)?e:[e]);Ma[n]||(Ma[n]=new WeakMap);var i=Ma[n],s=[],a=new Set,u=new Set(o),l=function(f){!f||a.has(f)||(a.add(f),l(f.parentNode))};o.forEach(l);var c=function(f){!f||u.has(f)||Array.prototype.forEach.call(f.children,function(d){if(a.has(d))c(d);else try{var m=d.getAttribute(r),g=m!==null&&m!=="false",y=(ho.get(d)||0)+1,x=(i.get(d)||0)+1;ho.set(d,y),i.set(d,x),s.push(d),y===1&&g&&Oa.set(d,!0),x===1&&d.setAttribute(n,"true"),g||d.setAttribute(r,"true")}catch(h){console.error("aria-hidden: cannot operate on ",d,h)}})};return c(t),a.clear(),Qc++,function(){s.forEach(function(f){var d=ho.get(f)-1,m=i.get(f)-1;ho.set(f,d),i.set(f,m),d||(Oa.has(f)||f.removeAttribute(r),Oa.delete(f)),m||f.removeAttribute(n)}),Qc--,Qc||(ho=new WeakMap,ho=new WeakMap,Oa=new WeakMap,Ma={})}},cS=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=Nj(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Lj(r,o,n,"aria-hidden")):function(){return null}},rl="right-scroll-bar-position",ol="width-before-scroll-bar",jj="with-scroll-bars-hidden",Fj="--removed-body-scroll-bar-size";function Zc(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Vj(e,t){var n=w.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Uj=typeof window<"u"?w.useLayoutEffect:w.useEffect,by=new WeakMap;function zj(e,t){var n=Vj(null,function(r){return e.forEach(function(o){return Zc(o,r)})});return Uj(function(){var r=by.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(a){i.has(a)||Zc(a,null)}),i.forEach(function(a){o.has(a)||Zc(a,s)})}by.set(n,e)},[e]),n}function Bj(e){return e}function $j(e,t){t===void 0&&(t=Bj);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(a){return i(a)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(i),s=n}var u=function(){var c=s;s=[],c.forEach(i)},l=function(){return Promise.resolve().then(u)};l(),n={push:function(c){s.push(c),l()},filter:function(c){return s=s.filter(c),n}}}};return o}function Wj(e){e===void 0&&(e={});var t=$j(null);return t.options=yn({async:!0,ssr:!1},e),t}var fS=function(e){var t=e.sideCar,n=H1(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return w.createElement(r,yn({},n))};fS.isSideCarExport=!0;function Gj(e,t){return e.useMedium(t),fS}var dS=Wj(),Jc=function(){},Fu=w.forwardRef(function(e,t){var n=w.useRef(null),r=w.useState({onScrollCapture:Jc,onWheelCapture:Jc,onTouchMoveCapture:Jc}),o=r[0],i=r[1],s=e.forwardProps,a=e.children,u=e.className,l=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,m=e.noIsolation,g=e.inert,y=e.allowPinchZoom,x=e.as,h=x===void 0?"div":x,p=e.gapMode,v=H1(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),b=d,E=zj([n,t]),P=yn(yn({},v),o);return w.createElement(w.Fragment,null,c&&w.createElement(b,{sideCar:dS,removeScrollBar:l,shards:f,noIsolation:m,inert:g,setCallbacks:i,allowPinchZoom:!!y,lockRef:n,gapMode:p}),s?w.cloneElement(w.Children.only(a),yn(yn({},P),{ref:E})):w.createElement(h,yn({},P,{className:u,ref:E}),a))});Fu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Fu.classNames={fullWidth:ol,zeroRight:rl};var Hj=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Kj(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Hj();return t&&e.setAttribute("nonce",t),e}function qj(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Yj(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Xj=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Kj())&&(qj(t,n),Yj(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Qj=function(){var e=Xj();return function(t,n){w.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},pS=function(){var e=Qj(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Zj={left:0,top:0,right:0,gap:0},ef=function(e){return parseInt(e||"",10)||0},Jj=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[ef(n),ef(r),ef(o)]},e3=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Zj;var t=Jj(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])}},t3=pS(),Xo="data-scroll-locked",n3=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(jj,` { overflow: hidden `).concat(r,`; padding-right: `).concat(a,"px ").concat(r,`; diff --git a/index.html b/index.html index 58a4fd6..8eb5ff0 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@ Fayaz Bin Salam - +