function lp(a,c){for(var u=0;uf[g]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const g of document.querySelectorAll('link[rel="modulepreload"]'))f(g);new MutationObserver(g=>{for(const S of g)if(S.type==="childList")for(const E of S.addedNodes)E.tagName==="LINK"&&E.rel==="modulepreload"&&f(E)}).observe(document,{childList:!0,subtree:!0});function u(g){const S={};return g.integrity&&(S.integrity=g.integrity),g.referrerPolicy&&(S.referrerPolicy=g.referrerPolicy),g.crossOrigin==="use-credentials"?S.credentials="include":g.crossOrigin==="anonymous"?S.credentials="omit":S.credentials="same-origin",S}function f(g){if(g.ep)return;g.ep=!0;const S=u(g);fetch(g.href,S)}})();function Fc(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var rl={exports:{}},br={},il={exports:{}},te={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var yc;function sp(){if(yc)return te;yc=1;var a=Symbol.for("react.element"),c=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),E=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),A=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),I=Symbol.iterator;function H(y){return y===null||typeof y!="object"?null:(y=I&&y[I]||y["@@iterator"],typeof y=="function"?y:null)}var ie={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Z=Object.assign,$={};function D(y,j,Q){this.props=y,this.context=j,this.refs=$,this.updater=Q||ie}D.prototype.isReactComponent={},D.prototype.setState=function(y,j){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,j,"setState")},D.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function J(){}J.prototype=D.prototype;function ee(y,j,Q){this.props=y,this.context=j,this.refs=$,this.updater=Q||ie}var K=ee.prototype=new J;K.constructor=ee,Z(K,D.prototype),K.isPureReactComponent=!0;var re=Array.isArray,Se=Object.prototype.hasOwnProperty,De={current:null},be={key:!0,ref:!0,__self:!0,__source:!0};function Qe(y,j,Q){var X,ae={},le=null,he=null;if(j!=null)for(X in j.ref!==void 0&&(he=j.ref),j.key!==void 0&&(le=""+j.key),j)Se.call(j,X)&&!be.hasOwnProperty(X)&&(ae[X]=j[X]);var fe=arguments.length-2;if(fe===1)ae.children=Q;else if(1>>1,j=R[y];if(0>>1;yg(ae,O))leg(he,ae)?(R[y]=he,R[le]=O,y=le):(R[y]=ae,R[X]=O,y=X);else if(leg(he,O))R[y]=he,R[le]=O,y=le;else break e}}return V}function g(R,V){var O=R.sortIndex-V.sortIndex;return O!==0?O:R.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var S=performance;a.unstable_now=function(){return S.now()}}else{var E=Date,W=E.now();a.unstable_now=function(){return E.now()-W}}var T=[],A=[],M=1,I=null,H=3,ie=!1,Z=!1,$=!1,D=typeof setTimeout=="function"?setTimeout:null,J=typeof clearTimeout=="function"?clearTimeout:null,ee=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function K(R){for(var V=u(A);V!==null;){if(V.callback===null)f(A);else if(V.startTime<=R)f(A),V.sortIndex=V.expirationTime,c(T,V);else break;V=u(A)}}function re(R){if($=!1,K(R),!Z)if(u(T)!==null)Z=!0,Me(Se);else{var V=u(A);V!==null&&me(re,V.startTime-R)}}function Se(R,V){Z=!1,$&&($=!1,J(Qe),Qe=-1),ie=!0;var O=H;try{for(K(V),I=u(T);I!==null&&(!(I.expirationTime>V)||R&&!Le());){var y=I.callback;if(typeof y=="function"){I.callback=null,H=I.priorityLevel;var j=y(I.expirationTime<=V);V=a.unstable_now(),typeof j=="function"?I.callback=j:I===u(T)&&f(T),K(V)}else f(T);I=u(T)}if(I!==null)var Q=!0;else{var X=u(A);X!==null&&me(re,X.startTime-V),Q=!1}return Q}finally{I=null,H=O,ie=!1}}var De=!1,be=null,Qe=-1,jt=5,mt=-1;function Le(){return!(a.unstable_now()-mtR||125y?(R.sortIndex=O,c(A,R),u(T)===null&&R===u(A)&&($?(J(Qe),Qe=-1):$=!0,me(re,O-y))):(R.sortIndex=j,c(T,R),Z||ie||(Z=!0,Me(Se))),R},a.unstable_shouldYield=Le,a.unstable_wrapCallback=function(R){var V=H;return function(){var O=H;H=V;try{return R.apply(this,arguments)}finally{H=O}}}})(ll)),ll}var kc;function pp(){return kc||(kc=1,al.exports=fp()),al.exports}/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Ec;function hp(){if(Ec)return rt;Ec=1;var a=ml(),c=pp();function u(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),T=Object.prototype.hasOwnProperty,A=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,M={},I={};function H(e){return T.call(I,e)?!0:T.call(M,e)?!1:A.test(e)?I[e]=!0:(M[e]=!0,!1)}function ie(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Z(e,t,n,r){if(t===null||typeof t>"u"||ie(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function $(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var D={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){D[e]=new $(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];D[t]=new $(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){D[e]=new $(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){D[e]=new $(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){D[e]=new $(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){D[e]=new $(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){D[e]=new $(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){D[e]=new $(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){D[e]=new $(e,5,!1,e.toLowerCase(),null,!1,!1)});var J=/[\-:]([a-z])/g;function ee(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(J,ee);D[t]=new $(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(J,ee);D[t]=new $(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(J,ee);D[t]=new $(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){D[e]=new $(e,1,!1,e.toLowerCase(),null,!1,!1)}),D.xlinkHref=new $("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){D[e]=new $(e,1,!1,e.toLowerCase(),null,!0,!0)});function K(e,t,n,r){var i=D.hasOwnProperty(t)?D[t]:null;(i!==null?i.type!==0:r||!(2p||i[s]!==o[p]){var h=` `+i[s].replace(" at new "," at ");return e.displayName&&h.includes("")&&(h=h.replace("",e.displayName)),h}while(1<=s&&0<=p);break}}}finally{Q=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?j(e):""}function ae(e){switch(e.tag){case 5:return j(e.type);case 16:return j("Lazy");case 13:return j("Suspense");case 19:return j("SuspenseList");case 0:case 2:case 15:return e=X(e.type,!1),e;case 11:return e=X(e.type.render,!1),e;case 1:return e=X(e.type,!0),e;default:return""}}function le(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 be:return"Fragment";case De:return"Portal";case jt:return"Profiler";case Qe:return"StrictMode";case Ue:return"Suspense";case Ke:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Le:return(e.displayName||"Context")+".Consumer";case mt:return(e._context.displayName||"Context")+".Provider";case Be:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Xe:return t=e.displayName||null,t!==null?t:le(e.type)||"Memo";case Me:t=e._payload,e=e._init;try{return le(e(t))}catch{}}return null}function he(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 le(t);case 8:return t===Qe?"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 fe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function xe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ot(e){var t=xe(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.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 Vr(e){e._valueTracker||(e._valueTracker=ot(e))}function El(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=xe(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Gr(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 uo(e,t){var n=t.checked;return O({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function jl(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=fe(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 Tl(e,t){t=t.checked,t!=null&&K(e,"checked",t,!1)}function co(e,t){Tl(e,t);var n=fe(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")?fo(e,t.type,n):t.hasOwnProperty("defaultValue")&&fo(e,t.type,fe(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Cl(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 fo(e,t,n){(t!=="number"||Gr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var tr=Array.isArray;function Cn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=qr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function nr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var rr={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},cd=["Webkit","ms","Moz","O"];Object.keys(rr).forEach(function(e){cd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),rr[t]=rr[e]})});function Rl(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||rr.hasOwnProperty(e)&&rr[e]?(""+t).trim():t+"px"}function Al(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Rl(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var dd=O({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 go(e,t){if(t){if(dd[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 mo(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 yo=null;function vo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xo=null,Pn=null,Nn=null;function _l(e){if(e=Tr(e)){if(typeof xo!="function")throw Error(u(280));var t=e.stateNode;t&&(t=mi(t),xo(e.stateNode,e.type,t))}}function Dl(e){Pn?Nn?Nn.push(e):Nn=[e]:Pn=e}function Ll(){if(Pn){var e=Pn,t=Nn;if(Nn=Pn=null,_l(e),t)for(e=0;e>>=0,e===0?32:31-(kd(e)/Ed|0)|0}var Jr=64,Zr=4194304;function lr(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 ei(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var p=s&~i;p!==0?r=lr(p):(o&=s,o!==0&&(r=lr(o)))}else s=n&~i,s!==0?r=lr(s):o!==0&&(r=lr(o));if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function sr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-yt(t),e[t]=n}function Pd(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=mr),cs=" ",ds=!1;function fs(e,t){switch(e){case"keyup":return tf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ps(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var In=!1;function rf(e,t){switch(e){case"compositionend":return ps(t);case"keypress":return t.which!==32?null:(ds=!0,cs);case"textInput":return e=t.data,e===cs&&ds?null:e;default:return null}}function of(e,t){if(In)return e==="compositionend"||!Mo&&fs(e,t)?(e=is(),oi=Io=Ht=null,In=!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=ws(n)}}function ks(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ks(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Es(){for(var e=window,t=Gr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Gr(e.document)}return t}function bo(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 hf(e){var t=Es(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ks(n.ownerDocument.documentElement,n)){if(r!==null&&bo(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 i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Ss(n,o);var s=Ss(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>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,Rn=null,Bo=null,wr=null,Uo=!1;function js(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Uo||Rn==null||Rn!==Gr(r)||(r=Rn,"selectionStart"in r&&bo(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}),wr&&xr(wr,r)||(wr=r,r=pi(Bo,"onSelect"),0Mn||(e.current=ea[Mn],ea[Mn]=null,Mn--)}function ge(e,t){Mn++,ea[Mn]=e.current,e.current=t}var qt={},He=Gt(qt),Je=Gt(!1),pn=qt;function On(e,t){var n=e.type.contextTypes;if(!n)return qt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ze(e){return e=e.childContextTypes,e!=null}function yi(){ve(Je),ve(He)}function Fs(e,t,n){if(He.current!==qt)throw Error(u(168));ge(He,t),ge(Je,n)}function bs(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(u(108,he(e)||"Unknown",i));return O({},n,r)}function vi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||qt,pn=He.current,ge(He,e),ge(Je,Je.current),!0}function Bs(e,t,n){var r=e.stateNode;if(!r)throw Error(u(169));n?(e=bs(e,t,pn),r.__reactInternalMemoizedMergedChildContext=e,ve(Je),ve(He),ge(He,e)):ve(Je),ge(Je,n)}var Rt=null,xi=!1,ta=!1;function Us(e){Rt===null?Rt=[e]:Rt.push(e)}function Cf(e){xi=!0,Us(e)}function Yt(){if(!ta&&Rt!==null){ta=!0;var e=0,t=pe;try{var n=Rt;for(pe=1;e>=s,i-=s,At=1<<32-yt(t)+i|n<Y?(_e=q,q=null):_e=q.sibling;var se=C(v,q,x[Y],z);if(se===null){q===null&&(q=_e);break}e&&q&&se.alternate===null&&t(v,q),m=o(se,m,Y),G===null?U=se:G.sibling=se,G=se,q=_e}if(Y===x.length)return n(v,q),we&&gn(v,Y),U;if(q===null){for(;YY?(_e=q,q=null):_e=q.sibling;var rn=C(v,q,se.value,z);if(rn===null){q===null&&(q=_e);break}e&&q&&rn.alternate===null&&t(v,q),m=o(rn,m,Y),G===null?U=rn:G.sibling=rn,G=rn,q=_e}if(se.done)return n(v,q),we&&gn(v,Y),U;if(q===null){for(;!se.done;Y++,se=x.next())se=N(v,se.value,z),se!==null&&(m=o(se,m,Y),G===null?U=se:G.sibling=se,G=se);return we&&gn(v,Y),U}for(q=r(v,q);!se.done;Y++,se=x.next())se=L(q,v,Y,se.value,z),se!==null&&(e&&se.alternate!==null&&q.delete(se.key===null?Y:se.key),m=o(se,m,Y),G===null?U=se:G.sibling=se,G=se);return e&&q.forEach(function(ap){return t(v,ap)}),we&&gn(v,Y),U}function Pe(v,m,x,z){if(typeof x=="object"&&x!==null&&x.type===be&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case Se:e:{for(var U=x.key,G=m;G!==null;){if(G.key===U){if(U=x.type,U===be){if(G.tag===7){n(v,G.sibling),m=i(G,x.props.children),m.return=v,v=m;break e}}else if(G.elementType===U||typeof U=="object"&&U!==null&&U.$$typeof===Me&&Ys(U)===G.type){n(v,G.sibling),m=i(G,x.props),m.ref=Cr(v,G,x),m.return=v,v=m;break e}n(v,G);break}else t(v,G);G=G.sibling}x.type===be?(m=En(x.props.children,v.mode,z,x.key),m.return=v,v=m):(z=qi(x.type,x.key,x.props,null,v.mode,z),z.ref=Cr(v,m,x),z.return=v,v=z)}return s(v);case De:e:{for(G=x.key;m!==null;){if(m.key===G)if(m.tag===4&&m.stateNode.containerInfo===x.containerInfo&&m.stateNode.implementation===x.implementation){n(v,m.sibling),m=i(m,x.children||[]),m.return=v,v=m;break e}else{n(v,m);break}else t(v,m);m=m.sibling}m=Ja(x,v.mode,z),m.return=v,v=m}return s(v);case Me:return G=x._init,Pe(v,m,G(x._payload),z)}if(tr(x))return b(v,m,x,z);if(V(x))return B(v,m,x,z);Ei(v,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,m!==null&&m.tag===6?(n(v,m.sibling),m=i(m,x),m.return=v,v=m):(n(v,m),m=Xa(x,v.mode,z),m.return=v,v=m),s(v)):n(v,m)}return Pe}var Un=Qs(!0),Ks=Qs(!1),ji=Gt(null),Ti=null,Hn=null,la=null;function sa(){la=Hn=Ti=null}function ua(e){var t=ji.current;ve(ji),e._currentValue=t}function ca(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 $n(e,t){Ti=e,la=Hn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(et=!0),e.firstContext=null)}function ft(e){var t=e._currentValue;if(la!==e)if(e={context:e,memoizedValue:t,next:null},Hn===null){if(Ti===null)throw Error(u(308));Hn=e,Ti.dependencies={lanes:0,firstContext:e}}else Hn=Hn.next=e;return t}var mn=null;function da(e){mn===null?mn=[e]:mn.push(e)}function Xs(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,da(t)):(n.next=i.next,i.next=n),t.interleaved=n,Dt(e,r)}function Dt(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 Qt=!1;function fa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Js(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 Lt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Kt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(oe&2)!==0){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Dt(e,n)}return i=r.interleaved,i===null?(t.next=t,da(r)):(t.next=i.next,i.next=t),r.interleaved=t,Dt(e,n)}function Ci(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,Co(e,n)}}function Zs(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=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};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,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 Pi(e,t,n,r){var i=e.updateQueue;Qt=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,p=i.shared.pending;if(p!==null){i.shared.pending=null;var h=p,k=h.next;h.next=null,s===null?o=k:s.next=k,s=h;var P=e.alternate;P!==null&&(P=P.updateQueue,p=P.lastBaseUpdate,p!==s&&(p===null?P.firstBaseUpdate=k:p.next=k,P.lastBaseUpdate=h))}if(o!==null){var N=i.baseState;s=0,P=k=h=null,p=o;do{var C=p.lane,L=p.eventTime;if((r&C)===C){P!==null&&(P=P.next={eventTime:L,lane:0,tag:p.tag,payload:p.payload,callback:p.callback,next:null});e:{var b=e,B=p;switch(C=t,L=n,B.tag){case 1:if(b=B.payload,typeof b=="function"){N=b.call(L,N,C);break e}N=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=B.payload,C=typeof b=="function"?b.call(L,N,C):b,C==null)break e;N=O({},N,C);break e;case 2:Qt=!0}}p.callback!==null&&p.lane!==0&&(e.flags|=64,C=i.effects,C===null?i.effects=[p]:C.push(p))}else L={eventTime:L,lane:C,tag:p.tag,payload:p.payload,callback:p.callback,next:null},P===null?(k=P=L,h=N):P=P.next=L,s|=C;if(p=p.next,p===null){if(p=i.shared.pending,p===null)break;C=p,p=C.next,C.next=null,i.lastBaseUpdate=C,i.shared.pending=null}}while(!0);if(P===null&&(h=N),i.baseState=h,i.firstBaseUpdate=k,i.lastBaseUpdate=P,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);xn|=s,e.lanes=s,e.memoizedState=N}}function eu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=ya.transition;ya.transition={};try{e(!1),t()}finally{pe=n,ya.transition=r}}function xu(){return pt().memoizedState}function zf(e,t,n){var r=en(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},wu(e))Su(t,n);else if(n=Xs(e,t,n,r),n!==null){var i=Ye();Et(n,e,r,i),ku(n,t,r)}}function If(e,t,n){var r=en(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(wu(e))Su(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,p=o(s,n);if(i.hasEagerState=!0,i.eagerState=p,vt(p,s)){var h=t.interleaved;h===null?(i.next=i,da(t)):(i.next=h.next,h.next=i),t.interleaved=i;return}}catch{}finally{}n=Xs(e,t,i,r),n!==null&&(i=Ye(),Et(n,e,r,i),ku(n,t,r))}}function wu(e){var t=e.alternate;return e===Ee||t!==null&&t===Ee}function Su(e,t){zr=zi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ku(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Co(e,n)}}var Ai={readContext:ft,useCallback:$e,useContext:$e,useEffect:$e,useImperativeHandle:$e,useInsertionEffect:$e,useLayoutEffect:$e,useMemo:$e,useReducer:$e,useRef:$e,useState:$e,useDebugValue:$e,useDeferredValue:$e,useTransition:$e,useMutableSource:$e,useSyncExternalStore:$e,useId:$e,unstable_isNewReconciler:!1},Rf={readContext:ft,useCallback:function(e,t){return Nt().memoizedState=[e,t===void 0?null:t],e},useContext:ft,useEffect:du,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ii(4194308,4,hu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ii(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ii(4,2,e,t)},useMemo:function(e,t){var n=Nt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Nt();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=zf.bind(null,Ee,e),[r.memoizedState,e]},useRef:function(e){var t=Nt();return e={current:e},t.memoizedState=e},useState:uu,useDebugValue:ja,useDeferredValue:function(e){return Nt().memoizedState=e},useTransition:function(){var e=uu(!1),t=e[0];return e=Wf.bind(null,e[1]),Nt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ee,i=Nt();if(we){if(n===void 0)throw Error(u(407));n=n()}else{if(n=t(),Ae===null)throw Error(u(349));(vn&30)!==0||iu(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,du(au.bind(null,r,o,e),[e]),r.flags|=2048,Ar(9,ou.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Nt(),t=Ae.identifierPrefix;if(we){var n=_t,r=At;n=(r&~(1<<32-yt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ir++,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[Ct]=t,e[jr]=r,Uu(e,t,!1,!1),t.stateNode=e;e:{switch(s=mo(n,r),n){case"dialog":ye("cancel",e),ye("close",e),i=r;break;case"iframe":case"object":case"embed":ye("load",e),i=r;break;case"video":case"audio":for(i=0;iQn&&(t.flags|=128,r=!0,_r(o,!1),t.lanes=4194304)}else{if(!r)if(e=Ni(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),_r(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!we)return Ve(t),null}else 2*Ce()-o.renderingStartTime>Qn&&n!==1073741824&&(t.flags|=128,r=!0,_r(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ce(),t.sibling=null,n=ke.current,ge(ke,r?n&1|2:n&1),t):(Ve(t),null);case 22:case 23:return Ya(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(ut&1073741824)!==0&&(Ve(t),t.subtreeFlags&6&&(t.flags|=8192)):Ve(t),null;case 24:return null;case 25:return null}throw Error(u(156,t.tag))}function bf(e,t){switch(ra(t),t.tag){case 1:return Ze(t.type)&&yi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Vn(),ve(Je),ve(He),ma(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return ha(t),null;case 13:if(ve(ke),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));Bn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ve(ke),null;case 4:return Vn(),null;case 10:return ua(t.type._context),null;case 22:case 23:return Ya(),null;case 24:return null;default:return null}}var Mi=!1,Ge=!1,Bf=typeof WeakSet=="function"?WeakSet:Set,F=null;function qn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Te(e,t,r)}else n.current=null}function La(e,t,n){try{n()}catch(r){Te(e,t,r)}}var Vu=!1;function Uf(e,t){if(Yo=ri,e=Es(),bo(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 i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,p=-1,h=-1,k=0,P=0,N=e,C=null;t:for(;;){for(var L;N!==n||i!==0&&N.nodeType!==3||(p=s+i),N!==o||r!==0&&N.nodeType!==3||(h=s+r),N.nodeType===3&&(s+=N.nodeValue.length),(L=N.firstChild)!==null;)C=N,N=L;for(;;){if(N===e)break t;if(C===n&&++k===i&&(p=s),C===o&&++P===r&&(h=s),(L=N.nextSibling)!==null)break;N=C,C=N.parentNode}N=L}n=p===-1||h===-1?null:{start:p,end:h}}else n=null}n=n||{start:0,end:0}}else n=null;for(Qo={focusedElem:e,selectionRange:n},ri=!1,F=t;F!==null;)if(t=F,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,F=e;else for(;F!==null;){t=F;try{var b=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var B=b.memoizedProps,Pe=b.memoizedState,v=t.stateNode,m=v.getSnapshotBeforeUpdate(t.elementType===t.type?B:wt(t.type,B),Pe);v.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(u(163))}}catch(z){Te(t,t.return,z)}if(e=t.sibling,e!==null){e.return=t.return,F=e;break}F=t.return}return b=Vu,Vu=!1,b}function Dr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&La(t,n,o)}i=i.next}while(i!==r)}}function Oi(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 Ma(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 Gu(e){var t=e.alternate;t!==null&&(e.alternate=null,Gu(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ct],delete t[jr],delete t[Zo],delete t[jf],delete t[Tf])),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 qu(e){return e.tag===5||e.tag===3||e.tag===4}function Yu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||qu(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 Oa(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=gi));else if(r!==4&&(e=e.child,e!==null))for(Oa(e,t,n),e=e.sibling;e!==null;)Oa(e,t,n),e=e.sibling}function Fa(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(Fa(e,t,n),e=e.sibling;e!==null;)Fa(e,t,n),e=e.sibling}var Oe=null,St=!1;function Xt(e,t,n){for(n=n.child;n!==null;)Qu(e,t,n),n=n.sibling}function Qu(e,t,n){if(Tt&&typeof Tt.onCommitFiberUnmount=="function")try{Tt.onCommitFiberUnmount(Xr,n)}catch{}switch(n.tag){case 5:Ge||qn(n,t);case 6:var r=Oe,i=St;Oe=null,Xt(e,t,n),Oe=r,St=i,Oe!==null&&(St?(e=Oe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Oe.removeChild(n.stateNode));break;case 18:Oe!==null&&(St?(e=Oe,n=n.stateNode,e.nodeType===8?Jo(e.parentNode,n):e.nodeType===1&&Jo(e,n),pr(e)):Jo(Oe,n.stateNode));break;case 4:r=Oe,i=St,Oe=n.stateNode.containerInfo,St=!0,Xt(e,t,n),Oe=r,St=i;break;case 0:case 11:case 14:case 15:if(!Ge&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&((o&2)!==0||(o&4)!==0)&&La(n,t,s),i=i.next}while(i!==r)}Xt(e,t,n);break;case 1:if(!Ge&&(qn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(p){Te(n,t,p)}Xt(e,t,n);break;case 21:Xt(e,t,n);break;case 22:n.mode&1?(Ge=(r=Ge)||n.memoizedState!==null,Xt(e,t,n),Ge=r):Xt(e,t,n);break;default:Xt(e,t,n)}}function Ku(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Bf),t.forEach(function(r){var i=Xf.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function kt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=Ce()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*$f(r/1960))-r,10e?16:e,Zt===null)var r=!1;else{if(e=Zt,Zt=null,Hi=0,(oe&6)!==0)throw Error(u(331));var i=oe;for(oe|=4,F=e.current;F!==null;){var o=F,s=o.child;if((F.flags&16)!==0){var p=o.deletions;if(p!==null){for(var h=0;hCe()-Ua?Sn(e,0):Ba|=n),nt(e,t)}function uc(e,t){t===0&&((e.mode&1)===0?t=1:(t=Zr,Zr<<=1,(Zr&130023424)===0&&(Zr=4194304)));var n=Ye();e=Dt(e,t),e!==null&&(sr(e,t,n),nt(e,n))}function Kf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),uc(e,n)}function Xf(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(u(314))}r!==null&&r.delete(t),uc(e,n)}var cc;cc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Je.current)et=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return et=!1,Of(e,t,n);et=(e.flags&131072)!==0}else et=!1,we&&(t.flags&1048576)!==0&&Hs(t,Si,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Li(e,t),e=t.pendingProps;var i=On(t,He.current);$n(t,n),i=xa(null,t,r,e,i,n);var o=wa();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ze(r)?(o=!0,vi(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,fa(t),i.updater=_i,t.stateNode=i,i._reactInternals=t,Ca(t,r,e,n),t=za(null,t,r,!0,o,n)):(t.tag=0,we&&o&&na(t),qe(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Li(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Zf(r),e=wt(r,e),i){case 0:t=Wa(null,t,r,e,n);break e;case 1:t=Lu(null,t,r,e,n);break e;case 11:t=Iu(null,t,r,e,n);break e;case 14:t=Ru(null,t,r,wt(r.type,e),n);break e}throw Error(u(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:wt(r,i),Wa(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:wt(r,i),Lu(e,t,r,i,n);case 3:e:{if(Mu(t),e===null)throw Error(u(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Js(e,t),Pi(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Gn(Error(u(423)),t),t=Ou(e,t,r,n,i);break e}else if(r!==i){i=Gn(Error(u(424)),t),t=Ou(e,t,r,n,i);break e}else for(st=Vt(t.stateNode.containerInfo.firstChild),lt=t,we=!0,xt=null,n=Ks(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Bn(),r===i){t=Mt(e,t,n);break e}qe(e,t,r,n)}t=t.child}return t;case 5:return tu(t),e===null&&oa(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Ko(r,i)?s=null:o!==null&&Ko(r,o)&&(t.flags|=32),Du(e,t),qe(e,t,s,n),t.child;case 6:return e===null&&oa(t),null;case 13:return Fu(e,t,n);case 4:return pa(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Un(t,null,r,n):qe(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:wt(r,i),Iu(e,t,r,i,n);case 7:return qe(e,t,t.pendingProps,n),t.child;case 8:return qe(e,t,t.pendingProps.children,n),t.child;case 12:return qe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,ge(ji,r._currentValue),r._currentValue=s,o!==null)if(vt(o.value,s)){if(o.children===i.children&&!Je.current){t=Mt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var p=o.dependencies;if(p!==null){s=o.child;for(var h=p.firstContext;h!==null;){if(h.context===r){if(o.tag===1){h=Lt(-1,n&-n),h.tag=2;var k=o.updateQueue;if(k!==null){k=k.shared;var P=k.pending;P===null?h.next=h:(h.next=P.next,P.next=h),k.pending=h}}o.lanes|=n,h=o.alternate,h!==null&&(h.lanes|=n),ca(o.return,n,t),p.lanes|=n;break}h=h.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(u(341));s.lanes|=n,p=s.alternate,p!==null&&(p.lanes|=n),ca(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}qe(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,$n(t,n),i=ft(i),r=r(i),t.flags|=1,qe(e,t,r,n),t.child;case 14:return r=t.type,i=wt(r,t.pendingProps),i=wt(r.type,i),Ru(e,t,r,i,n);case 15:return Au(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:wt(r,i),Li(e,t),t.tag=1,Ze(r)?(e=!0,vi(t)):e=!1,$n(t,n),ju(t,r,i),Ca(t,r,i,n),za(null,t,r,!0,e,n);case 19:return Bu(e,t,n);case 22:return _u(e,t,n)}throw Error(u(156,t.tag))};function dc(e,t){return $l(e,t)}function Jf(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 gt(e,t,n,r){return new Jf(e,t,n,r)}function Ka(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Zf(e){if(typeof e=="function")return Ka(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Be)return 11;if(e===Xe)return 14}return 2}function nn(e,t){var n=e.alternate;return n===null?(n=gt(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 qi(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Ka(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case be:return En(n.children,i,o,t);case Qe:s=8,i|=8;break;case jt:return e=gt(12,n,t,i|2),e.elementType=jt,e.lanes=o,e;case Ue:return e=gt(13,n,t,i),e.elementType=Ue,e.lanes=o,e;case Ke:return e=gt(19,n,t,i),e.elementType=Ke,e.lanes=o,e;case me:return Yi(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case mt:s=10;break e;case Le:s=9;break e;case Be:s=11;break e;case Xe:s=14;break e;case Me:s=16,r=null;break e}throw Error(u(130,e==null?e:typeof e,""))}return t=gt(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function En(e,t,n,r){return e=gt(7,e,r,t),e.lanes=n,e}function Yi(e,t,n,r){return e=gt(22,e,r,t),e.elementType=me,e.lanes=n,e.stateNode={isHidden:!1},e}function Xa(e,t,n){return e=gt(6,e,null,t),e.lanes=n,e}function Ja(e,t,n){return t=gt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ep(e,t,n,r,i){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=To(0),this.expirationTimes=To(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=To(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Za(e,t,n,r,i,o,s,p,h){return e=new ep(e,t,n,p,h),t===1?(t=1,o===!0&&(t|=8)):t=0,o=gt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},fa(o),e}function tp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(c){console.error(c)}}return a(),ol.exports=hp(),ol.exports}var Tc;function gp(){if(Tc)return to;Tc=1;var a=Bc();return to.createRoot=a.createRoot,to.hydrateRoot=a.hydrateRoot,to}var mp=gp();const Cc=Fc(mp);Bc();/** * @remix-run/router v1.23.4 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function Br(){return Br=Object.assign?Object.assign.bind():function(a){for(var c=1;c"u")throw new Error(c)}function Uc(a,c){if(!a){typeof console<"u"&&console.warn(c);try{throw new Error(c)}catch{}}}function vp(){return Math.random().toString(36).substr(2,8)}function Nc(a,c){return{usr:a.state,key:a.key,idx:c}}function fl(a,c,u,f){return u===void 0&&(u=null),Br({pathname:typeof a=="string"?a:a.pathname,search:"",hash:""},typeof c=="string"?Zn(c):c,{state:u,key:c&&c.key||f||vp()})}function oo(a){let{pathname:c="/",search:u="",hash:f=""}=a;return u&&u!=="?"&&(c+=u.charAt(0)==="?"?u:"?"+u),f&&f!=="#"&&(c+=f.charAt(0)==="#"?f:"#"+f),c}function Zn(a){let c={};if(a){let u=a.indexOf("#");u>=0&&(c.hash=a.substr(u),a=a.substr(0,u));let f=a.indexOf("?");f>=0&&(c.search=a.substr(f),a=a.substr(0,f)),a&&(c.pathname=a)}return c}function xp(a,c,u,f){f===void 0&&(f={});let{window:g=document.defaultView,v5Compat:S=!1}=f,E=g.history,W=an.Pop,T=null,A=M();A==null&&(A=0,E.replaceState(Br({},E.state,{idx:A}),""));function M(){return(E.state||{idx:null}).idx}function I(){W=an.Pop;let D=M(),J=D==null?null:D-A;A=D,T&&T({action:W,location:$.location,delta:J})}function H(D,J){W=an.Push;let ee=fl($.location,D,J);A=M()+1;let K=Nc(ee,A),re=$.createHref(ee);try{E.pushState(K,"",re)}catch(Se){if(Se instanceof DOMException&&Se.name==="DataCloneError")throw Se;g.location.assign(re)}S&&T&&T({action:W,location:$.location,delta:1})}function ie(D,J){W=an.Replace;let ee=fl($.location,D,J);A=M();let K=Nc(ee,A),re=$.createHref(ee);E.replaceState(K,"",re),S&&T&&T({action:W,location:$.location,delta:0})}function Z(D){let J=g.location.origin!=="null"?g.location.origin:g.location.href,ee=typeof D=="string"?D:oo(D);return ee=ee.replace(/ $/,"%20"),Ne(J,"No window.location.(origin|href) available to create URL for href: "+ee),new URL(ee,J)}let $={get action(){return W},get location(){return a(g,E)},listen(D){if(T)throw new Error("A history only accepts one active listener");return g.addEventListener(Pc,I),T=D,()=>{g.removeEventListener(Pc,I),T=null}},createHref(D){return c(g,D)},createURL:Z,encodeLocation(D){let J=Z(D);return{pathname:J.pathname,search:J.search,hash:J.hash}},push:H,replace:ie,go(D){return E.go(D)}};return $}var Wc;(function(a){a.data="data",a.deferred="deferred",a.redirect="redirect",a.error="error"})(Wc||(Wc={}));function wp(a,c,u){return u===void 0&&(u="/"),Sp(a,c,u)}function Sp(a,c,u,f){let g=typeof c=="string"?Zn(c):c,S=yl(g.pathname||"/",u);if(S==null)return null;let E=Hc(a);kp(E);let W=null,T=_p(S);for(let A=0;W==null&&A{let T={relativePath:W===void 0?S.path||"":W,caseSensitive:S.caseSensitive===!0,childrenIndex:E,route:S};T.relativePath.startsWith("/")&&(Ne(T.relativePath.startsWith(f),'Absolute route path "'+T.relativePath+'" nested under path '+('"'+f+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),T.relativePath=T.relativePath.slice(f.length));let A=sn([f,T.relativePath]),M=u.concat(T);S.children&&S.children.length>0&&(Ne(S.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+A+'".')),Hc(S.children,c,M,A)),!(S.path==null&&!S.index)&&c.push({path:A,score:Wp(A,S.index),routesMeta:M})};return a.forEach((S,E)=>{var W;if(S.path===""||!((W=S.path)!=null&&W.includes("?")))g(S,E);else for(let T of $c(S.path))g(S,E,T)}),c}function $c(a){let c=a.split("/");if(c.length===0)return[];let[u,...f]=c,g=u.endsWith("?"),S=u.replace(/\?$/,"");if(f.length===0)return g?[S,""]:[S];let E=$c(f.join("/")),W=[];return W.push(...E.map(T=>T===""?S:[S,T].join("/"))),g&&W.push(...E),W.map(T=>a.startsWith("/")&&T===""?"/":T)}function kp(a){a.sort((c,u)=>c.score!==u.score?u.score-c.score:zp(c.routesMeta.map(f=>f.childrenIndex),u.routesMeta.map(f=>f.childrenIndex)))}const Ep=/^:[\w-]+$/,jp=3,Tp=2,Cp=1,Pp=10,Np=-2,zc=a=>a==="*";function Wp(a,c){let u=a.split("/"),f=u.length;return u.some(zc)&&(f+=Np),c&&(f+=Tp),u.filter(g=>!zc(g)).reduce((g,S)=>g+(Ep.test(S)?jp:S===""?Cp:Pp),f)}function zp(a,c){return a.length===c.length&&a.slice(0,-1).every((f,g)=>f===c[g])?a[a.length-1]-c[c.length-1]:0}function Ip(a,c,u){let{routesMeta:f}=a,g={},S="/",E=[];for(let W=0;W{let{paramName:H,isOptional:ie}=M;if(H==="*"){let $=W[I]||"";E=S.slice(0,S.length-$.length).replace(/(.)\/+$/,"$1")}const Z=W[I];return ie&&!Z?A[H]=void 0:A[H]=(Z||"").replace(/%2F/g,"/"),A},{}),pathname:S,pathnameBase:E,pattern:a}}function Ap(a,c,u){c===void 0&&(c=!1),u===void 0&&(u=!0),Uc(a==="*"||!a.endsWith("*")||a.endsWith("/*"),'Route path "'+a+'" will be treated as if it were '+('"'+a.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+a.replace(/\*$/,"/*")+'".'));let f=[],g="^"+a.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(E,W,T)=>(f.push({paramName:W,isOptional:T!=null}),T?"/?([^\\/]+)?":"/([^\\/]+)"));return a.endsWith("*")?(f.push({paramName:"*"}),g+=a==="*"||a==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):u?g+="\\/*$":a!==""&&a!=="/"&&(g+="(?:(?=\\/|$))"),[new RegExp(g,c?void 0:"i"),f]}function _p(a){try{return a.split("/").map(c=>decodeURIComponent(c).replace(/\//g,"%2F")).join("/")}catch(c){return Uc(!1,'The URL path "'+a+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+c+").")),a}}function yl(a,c){if(c==="/")return a;if(!a.toLowerCase().startsWith(c.toLowerCase()))return null;let u=c.endsWith("/")?c.length-1:c.length,f=a.charAt(u);return f&&f!=="/"?null:a.slice(u)||"/"}function Dp(a,c){c===void 0&&(c="/");let{pathname:u,search:f="",hash:g=""}=typeof a=="string"?Zn(a):a,S;return u?(u=Vc(u),u.startsWith("/")?S=Ic(u.substring(1),"/"):S=Ic(u,c)):S=c,{pathname:S,search:Op(f),hash:Fp(g)}}function Ic(a,c){let u=c.replace(/\/+$/,"").split("/");return a.split("/").forEach(g=>{g===".."?u.length>1&&u.pop():g!=="."&&u.push(g)}),u.length>1?u.join("/"):"/"}function sl(a,c,u,f){return"Cannot include a '"+a+"' character in a manually specified "+("`to."+c+"` field ["+JSON.stringify(f)+"]. Please separate it out to the ")+("`to."+u+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Lp(a){return a.filter((c,u)=>u===0||c.route.path&&c.route.path.length>0)}function vl(a,c){let u=Lp(a);return c?u.map((f,g)=>g===u.length-1?f.pathname:f.pathnameBase):u.map(f=>f.pathnameBase)}function xl(a,c,u,f){f===void 0&&(f=!1);let g;typeof a=="string"?g=Zn(a):(g=Br({},a),Ne(!g.pathname||!g.pathname.includes("?"),sl("?","pathname","search",g)),Ne(!g.pathname||!g.pathname.includes("#"),sl("#","pathname","hash",g)),Ne(!g.search||!g.search.includes("#"),sl("#","search","hash",g)));let S=a===""||g.pathname==="",E=S?"/":g.pathname,W;if(E==null)W=u;else{let I=c.length-1;if(!f&&E.startsWith("..")){let H=E.split("/");for(;H[0]==="..";)H.shift(),I-=1;g.pathname=H.join("/")}W=I>=0?c[I]:"/"}let T=Dp(g,W),A=E&&E!=="/"&&E.endsWith("/"),M=(S||E===".")&&u.endsWith("/");return!T.pathname.endsWith("/")&&(A||M)&&(T.pathname+="/"),T}const Vc=a=>a.replace(/\/\/+/g,"/"),sn=a=>Vc(a.join("/")),Mp=a=>a.replace(/\/+$/,"").replace(/^\/*/,"/"),Op=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,Fp=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a;function bp(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}const Gc=["post","put","patch","delete"];new Set(Gc);const Bp=["get",...Gc];new Set(Bp);/** * React Router v6.30.6 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function Ur(){return Ur=Object.assign?Object.assign.bind():function(a){for(var c=1;c{W.current=!0}),_.useCallback(function(A,M){if(M===void 0&&(M={}),!W.current)return;if(typeof A=="number"){f.go(A);return}let I=xl(A,JSON.parse(E),S,M.relative==="path");a==null&&c!=="/"&&(I.pathname=I.pathname==="/"?c:sn([c,I.pathname])),(M.replace?f.replace:f.push)(I,M.state,M)},[c,f,E,S,a])}const Vp=_.createContext(null);function Gp(a){let c=_.useContext(zt).outlet;return c&&_.createElement(Vp.Provider,{value:a},c)}function qp(){let{matches:a}=_.useContext(zt),c=a[a.length-1];return c?c.params:{}}function Kc(a,c){let{relative:u}=c===void 0?{}:c,{future:f}=_.useContext(un),{matches:g}=_.useContext(zt),{pathname:S}=Tn(),E=JSON.stringify(vl(g,f.v7_relativeSplatPath));return _.useMemo(()=>xl(a,JSON.parse(E),S,u==="path"),[a,E,S,u])}function Yp(a,c){return Qp(a,c)}function Qp(a,c,u,f){er()||Ne(!1);let{navigator:g}=_.useContext(un),{matches:S}=_.useContext(zt),E=S[S.length-1],W=E?E.params:{};E&&E.pathname;let T=E?E.pathnameBase:"/";E&&E.route;let A=Tn(),M;if(c){var I;let D=typeof c=="string"?Zn(c):c;T==="/"||(I=D.pathname)!=null&&I.startsWith(T)||Ne(!1),M=D}else M=A;let H=M.pathname||"/",ie=H;if(T!=="/"){let D=T.replace(/^\//,"").split("/");ie="/"+H.replace(/^\//,"").split("/").slice(D.length).join("/")}let Z=wp(a,{pathname:ie}),$=eh(Z&&Z.map(D=>Object.assign({},D,{params:Object.assign({},W,D.params),pathname:sn([T,g.encodeLocation?g.encodeLocation(D.pathname).pathname:D.pathname]),pathnameBase:D.pathnameBase==="/"?T:sn([T,g.encodeLocation?g.encodeLocation(D.pathnameBase).pathname:D.pathnameBase])})),S,u,f);return c&&$?_.createElement(lo.Provider,{value:{location:Ur({pathname:"/",search:"",hash:"",state:null,key:"default"},M),navigationType:an.Pop}},$):$}function Kp(){let a=ih(),c=bp(a)?a.status+" "+a.statusText:a instanceof Error?a.message:JSON.stringify(a),u=a instanceof Error?a.stack:null,g={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return _.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},c),u?_.createElement("pre",{style:g},u):null,null)}const Xp=_.createElement(Kp,null);class Jp extends _.Component{constructor(c){super(c),this.state={location:c.location,revalidation:c.revalidation,error:c.error}}static getDerivedStateFromError(c){return{error:c}}static getDerivedStateFromProps(c,u){return u.location!==c.location||u.revalidation!=="idle"&&c.revalidation==="idle"?{error:c.error,location:c.location,revalidation:c.revalidation}:{error:c.error!==void 0?c.error:u.error,location:u.location,revalidation:c.revalidation||u.revalidation}}componentDidCatch(c,u){console.error("React Router caught the following error during render",c,u)}render(){return this.state.error!==void 0?_.createElement(zt.Provider,{value:this.props.routeContext},_.createElement(qc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Zp(a){let{routeContext:c,match:u,children:f}=a,g=_.useContext(wl);return g&&g.static&&g.staticContext&&(u.route.errorElement||u.route.ErrorBoundary)&&(g.staticContext._deepestRenderedBoundaryId=u.route.id),_.createElement(zt.Provider,{value:c},f)}function eh(a,c,u,f){var g;if(c===void 0&&(c=[]),u===void 0&&(u=null),f===void 0&&(f=null),a==null){var S;if(!u)return null;if(u.errors)a=u.matches;else if((S=f)!=null&&S.v7_partialHydration&&c.length===0&&!u.initialized&&u.matches.length>0)a=u.matches;else return null}let E=a,W=(g=u)==null?void 0:g.errors;if(W!=null){let M=E.findIndex(I=>I.route.id&&(W==null?void 0:W[I.route.id])!==void 0);M>=0||Ne(!1),E=E.slice(0,Math.min(E.length,M+1))}let T=!1,A=-1;if(u&&f&&f.v7_partialHydration)for(let M=0;M=0?E=E.slice(0,A+1):E=[E[0]];break}}}return E.reduceRight((M,I,H)=>{let ie,Z=!1,$=null,D=null;u&&(ie=W&&I.route.id?W[I.route.id]:void 0,$=I.route.errorElement||Xp,T&&(A<0&&H===0?(ah("route-fallback"),Z=!0,D=null):A===H&&(Z=!0,D=I.route.hydrateFallbackElement||null)));let J=c.concat(E.slice(0,H+1)),ee=()=>{let K;return ie?K=$:Z?K=D:I.route.Component?K=_.createElement(I.route.Component,null):I.route.element?K=I.route.element:K=M,_.createElement(Zp,{match:I,routeContext:{outlet:M,matches:J,isDataRoute:u!=null},children:K})};return u&&(I.route.ErrorBoundary||I.route.errorElement||H===0)?_.createElement(Jp,{location:u.location,revalidation:u.revalidation,component:$,error:ie,children:ee(),routeContext:{outlet:null,matches:J,isDataRoute:!0}}):ee()},null)}var Xc=(function(a){return a.UseBlocker="useBlocker",a.UseRevalidator="useRevalidator",a.UseNavigateStable="useNavigate",a})(Xc||{}),Jc=(function(a){return a.UseBlocker="useBlocker",a.UseLoaderData="useLoaderData",a.UseActionData="useActionData",a.UseRouteError="useRouteError",a.UseNavigation="useNavigation",a.UseRouteLoaderData="useRouteLoaderData",a.UseMatches="useMatches",a.UseRevalidator="useRevalidator",a.UseNavigateStable="useNavigate",a.UseRouteId="useRouteId",a})(Jc||{});function th(a){let c=_.useContext(wl);return c||Ne(!1),c}function nh(a){let c=_.useContext(Up);return c||Ne(!1),c}function rh(a){let c=_.useContext(zt);return c||Ne(!1),c}function Zc(a){let c=rh(),u=c.matches[c.matches.length-1];return u.route.id||Ne(!1),u.route.id}function ih(){var a;let c=_.useContext(qc),u=nh(),f=Zc();return c!==void 0?c:(a=u.errors)==null?void 0:a[f]}function oh(){let{router:a}=th(Xc.UseNavigateStable),c=Zc(Jc.UseNavigateStable),u=_.useRef(!1);return Yc(()=>{u.current=!0}),_.useCallback(function(g,S){S===void 0&&(S={}),u.current&&(typeof g=="number"?a.navigate(g):a.navigate(g,Ur({fromRouteId:c},S)))},[a,c])}const Rc={};function ah(a,c,u){Rc[a]||(Rc[a]=!0)}function lh(a,c){a==null||a.v7_startTransition,a==null||a.v7_relativeSplatPath}function sh(a){let{to:c,replace:u,state:f,relative:g}=a;er()||Ne(!1);let{future:S,static:E}=_.useContext(un),{matches:W}=_.useContext(zt),{pathname:T}=Tn(),A=Qc(),M=xl(c,vl(W,S.v7_relativeSplatPath),T,g==="path"),I=JSON.stringify(M);return _.useEffect(()=>A(JSON.parse(I),{replace:u,state:f,relative:g}),[A,I,g,u,f]),null}function uh(a){return Gp(a.context)}function io(a){Ne(!1)}function ch(a){let{basename:c="/",children:u=null,location:f,navigationType:g=an.Pop,navigator:S,static:E=!1,future:W}=a;er()&&Ne(!1);let T=c.replace(/^\/*/,"/"),A=_.useMemo(()=>({basename:T,navigator:S,static:E,future:Ur({v7_relativeSplatPath:!1},W)}),[T,W,S,E]);typeof f=="string"&&(f=Zn(f));let{pathname:M="/",search:I="",hash:H="",state:ie=null,key:Z="default"}=f,$=_.useMemo(()=>{let D=yl(M,T);return D==null?null:{location:{pathname:D,search:I,hash:H,state:ie,key:Z},navigationType:g}},[T,M,I,H,ie,Z,g]);return $==null?null:_.createElement(un.Provider,{value:A},_.createElement(lo.Provider,{children:u,value:$}))}function dh(a){let{children:c,location:u}=a;return Yp(pl(c),u)}new Promise(()=>{});function pl(a,c){c===void 0&&(c=[]);let u=[];return _.Children.forEach(a,(f,g)=>{if(!_.isValidElement(f))return;let S=[...c,g];if(f.type===_.Fragment){u.push.apply(u,pl(f.props.children,S));return}f.type!==io&&Ne(!1),!f.props.index||!f.props.children||Ne(!1);let E={id:f.props.id||S.join("-"),caseSensitive:f.props.caseSensitive,element:f.props.element,Component:f.props.Component,index:f.props.index,path:f.props.path,loader:f.props.loader,action:f.props.action,errorElement:f.props.errorElement,ErrorBoundary:f.props.ErrorBoundary,hasErrorBoundary:f.props.ErrorBoundary!=null||f.props.errorElement!=null,shouldRevalidate:f.props.shouldRevalidate,handle:f.props.handle,lazy:f.props.lazy};f.props.children&&(E.children=pl(f.props.children,S)),u.push(E)}),u}/** * React Router DOM v6.30.6 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function hl(){return hl=Object.assign?Object.assign.bind():function(a){for(var c=1;c{A&&Ac?Ac(()=>T(I)):T(I)},[T,A]);return _.useLayoutEffect(()=>E.listen(M),[E,M]),_.useEffect(()=>lh(f),[f]),_.createElement(ch,{basename:c,children:u,location:W.location,navigationType:W.action,navigator:E,future:f})}const xh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ce=_.forwardRef(function(c,u){let{onClick:f,relative:g,reloadDocument:S,replace:E,state:W,target:T,to:A,preventScrollReset:M,viewTransition:I}=c,H=fh(c,gh),{basename:ie}=_.useContext(un),Z,$=!1;if(typeof A=="string"&&wh.test(A)&&(Z=A,xh))try{let K=new URL(window.location.href),re=A.startsWith("//")?new URL(K.protocol+A):new URL(A),Se=yl(re.pathname,ie);re.origin===K.origin&&Se!=null?A=Se+re.search+re.hash:$=!0}catch{}let D=Hp(A,{relative:g}),J=Sh(A,{replace:E,state:W,target:T,preventScrollReset:M,relative:g,viewTransition:I});function ee(K){f&&f(K),K.defaultPrevented||J(K)}return _.createElement("a",hl({},H,{href:Z||D,onClick:$||S?f:ee,ref:u,target:T}))});var _c;(function(a){a.UseScrollRestoration="useScrollRestoration",a.UseSubmit="useSubmit",a.UseSubmitFetcher="useSubmitFetcher",a.UseFetcher="useFetcher",a.useViewTransitionState="useViewTransitionState"})(_c||(_c={}));var Dc;(function(a){a.UseFetcher="useFetcher",a.UseFetchers="useFetchers",a.UseScrollRestoration="useScrollRestoration"})(Dc||(Dc={}));function Sh(a,c){let{target:u,replace:f,state:g,preventScrollReset:S,relative:E,viewTransition:W}=c===void 0?{}:c,T=Qc(),A=Tn(),M=Kc(a,{relative:E});return _.useCallback(I=>{if(hh(I,u)){I.preventDefault();let H=f!==void 0?f:oo(A)===oo(M);T(a,{replace:H,state:g,preventScrollReset:S,relative:E,viewTransition:W})}},[A,T,M,f,g,u,a,S,E,W])}const d={ink:"var(--ag-ink)",navy:"var(--ag-navy)",body:"var(--ag-body)",green:"var(--ag-green)",greenText:"var(--ag-green-text)",teal:"var(--ag-teal)",tealText:"var(--ag-teal-text)",cyan:"var(--ag-cyan)",slate:"var(--ag-slate)",gray:"var(--ag-gray)",mist:"var(--ag-mist)",fog:"var(--ag-fog)",paper:"var(--ag-paper)",white:"var(--ag-white)"},on={green:"#29a75e",depth:"#123a4a",teal:"#0e8a92",cyan:"#2498c7",gray:"#8f9ba8",fog:"#e6ecf2",white:"#ffffff"},w={nano:"var(--ag-fs-nano)",micro:"var(--ag-fs-micro)",label:"var(--ag-fs-label)",ui:"var(--ag-fs-ui)",wordmark:"var(--ag-fs-wordmark)",bodySm:"var(--ag-fs-body-sm)",body:"var(--ag-fs-body)",bodyLg:"var(--ag-fs-body-lg)",lead:"var(--ag-fs-lead)",monoLg:"var(--ag-fs-mono-lg)",h4:"var(--ag-fs-h4)",h3:"var(--ag-fs-h3)",monogram:"var(--ag-fs-monogram)",h3Fluid:"var(--ag-fs-h3-fluid)",h2Xs:"var(--ag-fs-h2-xs)",h2Sm:"var(--ag-fs-h2-sm)",h2:"var(--ag-fs-h2)",h2Lg:"var(--ag-fs-h2-lg)",h1:"var(--ag-fs-h1)",display:"var(--ag-fs-display)"},ne={prose:"min(var(--ag-measure), 100%)",narrow:"min(var(--ag-measure-narrow), 100%)"},so={head:"var(--ag-grad-head)",monogram:"var(--ag-grad-monogram)"},ue="'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace",it={padding:"92px clamp(20px,4vw,48px)"},de={maxWidth:1240,margin:"0 auto"},je=a=>({fontFamily:ue,fontSize:w.micro,fontWeight:600,letterSpacing:3,color:a,marginBottom:14});function kh({text:a,color:c}){return l.jsxs("div",{style:{display:"flex",gap:10,alignItems:"baseline",fontSize:w.bodySm,lineHeight:1.55,color:c},children:[l.jsx("span",{style:{color:d.green,fontWeight:700},children:"·"}),a]})}function Eh({name:a}){const c=a.replace(/—.*$/,"").trim().split(/\s+/),u=(c.length>1?[c[0],c[c.length-1]]:c.slice(0,1)).map(f=>f[0]).join("").toUpperCase();return l.jsx("div",{"aria-hidden":"true",style:{width:96,height:96,borderRadius:"50%",background:so.monogram,color:d.white,display:"flex",alignItems:"center",justifyContent:"center",fontFamily:ue,fontSize:w.monogram,fontWeight:600,letterSpacing:1},children:u})}function cn({eyebrowText:a,title:c,intro:u}){return l.jsx("section",{style:{background:so.head,padding:"72px clamp(20px,4vw,48px) 64px"},children:l.jsxs("div",{style:de,children:[l.jsx("div",{style:je(d.cyan),children:a}),l.jsx("h1",{style:{margin:"0 0 18px",fontSize:w.h1,lineHeight:1.1,fontWeight:800,letterSpacing:"-1.4px",color:d.white,textWrap:"balance"},children:c}),l.jsx("p",{style:{margin:0,fontSize:w.lead,lineHeight:1.65,color:d.mist,maxWidth:ne.prose,textWrap:"pretty"},children:u})]})})}function Sl({q:a,a:c,detail:u,id:f}){return l.jsxs("div",{id:f,style:{display:"flex",flexDirection:"column",gap:10,paddingBottom:28,borderBottom:"1px solid rgba(11,31,58,.1)"},children:[l.jsx("h3",{style:{margin:0,fontSize:w.h4,fontWeight:700,color:d.navy,textWrap:"balance"},children:a}),l.jsx("p",{style:{margin:0,fontSize:w.body,lineHeight:1.65,color:d.body,maxWidth:ne.prose,textWrap:"pretty"},children:c}),u&&l.jsx("p",{style:{margin:0,fontSize:w.bodySm,lineHeight:1.65,color:d.slate,maxWidth:ne.prose,textWrap:"pretty"},children:u})]})}function ln({caption:a,head:c,rows:u,minWidth:f=620}){return l.jsx("div",{style:{overflowX:"auto",border:"1px solid rgba(11,31,58,.1)",borderRadius:14,background:d.white},children:l.jsxs("table",{className:"ag-nums",style:{width:"100%",minWidth:f,borderCollapse:"collapse",fontSize:w.bodySm},children:[l.jsx("caption",{style:{captionSide:"top",textAlign:"left",padding:"18px 22px 0",fontSize:w.bodySm,lineHeight:1.6,color:d.slate,textWrap:"pretty"},children:a}),l.jsx("thead",{children:l.jsx("tr",{children:c.map((g,S)=>l.jsx("th",{scope:"col",style:{textAlign:"left",padding:"16px 22px",fontFamily:ue,fontSize:w.micro,letterSpacing:1.5,color:S===0?d.slate:d.navy,borderBottom:"1px solid rgba(11,31,58,.12)",whiteSpace:"nowrap"},children:g.toUpperCase()},g))})}),l.jsx("tbody",{children:u.map((g,S)=>l.jsx("tr",{children:g.map((E,W)=>l.jsx("td",{style:{padding:"15px 22px",verticalAlign:"top",lineHeight:1.55,color:W===0?d.navy:d.body,fontWeight:W===0?600:400,borderBottom:S===u.length-1?"none":"1px solid rgba(11,31,58,.07)",textWrap:"pretty"},children:E},W))},S))})]})})}const Xn="14%",ul="25%",jh=[{title:"Funds stay on Delta",desc:"We never hold, move or withdraw your money."},{title:"Trade-only access",desc:"An API key with withdrawals disabled. Revoke it any second."},{title:"Paid only when you gain",desc:"A share of profit and nothing else. On Platinum, nothing at all until you clear 14% a year."},{title:"Built for India",desc:"INR accounting, VDA tax reporting, Indian support hours."}],ed=[{num:"01",accent:"navy",title:"Open and fund your Delta account",desc:"The account is yours, in your name, with your KYC. We walk you through it in about fifteen minutes. Minimum ₹1,00,000.",detail:"You sign up with Delta Exchange directly and complete their KYC yourself. We are not a party to that account and cannot open one for you. Funding happens through Delta, in INR, from your own bank account."},{num:"02",accent:"tealText",title:"Connect a trade-only key",desc:"You generate an API key that can place trades but cannot withdraw a single rupee. You hold the account; we only hold permission to trade.",detail:"Withdrawal permission is disabled at the exchange, not by us — so the limit holds even if our systems are compromised. Deleting the key in Delta ends our access immediately, with no notice to us required."},{num:"03",accent:"greenText",title:"The algorithms trade, the guards watch",desc:"Positions are sized, stops are placed, and losses are capped automatically. You see every trade in your dashboard as it happens.",detail:"Every order is logged against your account with its size, entry, stop and outcome. Nothing is discretionary in the moment: the exit is decided before the position exists."}],td=[{tag:"SIZE",title:"Position sizing",desc:"Every trade is sized against your capital and current volatility. No single position can dominate the account."},{tag:"STOP",title:"Per-trade stop",desc:"A stop is placed with the trade, not after it. The exit is decided before the position exists."},{tag:"HALT",title:"Daily loss halt",desc:"Past a set daily loss the system stops trading for the day. Bad days do not compound into bad weeks."},{tag:"CAP",title:"Leverage ceiling",desc:"A hard cap the algorithms cannot exceed, whatever the setup looks like."},{tag:"FAILSAFE",title:"Outage failsafe",desc:"If the exchange or our connection fails, the system goes flat and stays out rather than guessing."},{tag:"CONTROL",title:"Your kill switch",desc:"One button stops all trading. One click in Delta revokes our access entirely."}],nd=[{key:"auto",name:"AlgoGains Auto",minimum:"₹1,00,000",minimumValue:1e5,blurb:"Our standard strategy set runs on your account with standard risk guards. Self-serve, quick to start, lower expected return than the managed tiers.",fee:"20% of profit for the period",points:["From ₹1,00,000","Standard risk profile, same for every account","Dashboard and monthly summary","20% of profit — you keep 80%"],cta:{label:"Get started",to:"/register",primary:!0}},{key:"managed",name:"AlgoGains Managed",badge:"FLAGSHIP",minimum:"₹5,00,000",minimumValue:5e5,blurb:"A discretionary managed account. We set the risk mandate with you and a managing partner watches it actively, supported by our service desk. Full reporting every month.",fee:"20% of profit for the period",points:["From ₹5,00,000","Risk mandate set with you","Managing partner shared across a small group of accounts","Grouped support and service desk","Monthly PDF, attribution and tax pack","20% of profit — you keep 80%"],cta:{label:"Book a call",to:"/#cta",primary:!1},emphasis:!0},{key:"platinum",name:"AlgoGains Platinum Managed",badge:"BY INVITATION",minimum:"₹50,00,000",minimumValue:5e6,blurb:"For capital above ₹50 lakh. A dedicated manager reachable on call every business day, a fund allocation built for your mandate by our machine-learning models, and a fee that does not start until the account has made 14% in the year.",fee:"25% of the profit above a 14% annual hurdle; nothing at or below 14%",points:["From ₹50,00,000","Nothing charged until the year clears 14%","Then 25% of the profit above 14% — not of the whole gain","Dedicated manager, on call every business day","Custom fund allocation from our ML and AI models","Risk-return analysis reviewed with you, not just reported"],cta:{label:"Request an introduction",to:"/#cta",primary:!1}}],rd=[["Minimum capital","₹1,00,000","₹5,00,000","₹50,00,000"],["Risk profile","Standard, same for every account","Mandate agreed with you","Mandate agreed with you, allocation modelled to it"],["Fund allocation","Fixed standard allocation","Standard allocation, reviewed with you","Custom, built by our ML and AI models"],["Who watches it","Automated, monitored by us","A managing partner across a small group of accounts","A manager dedicated to your account"],["Contact","Support desk","Grouped support and service desk","On call every business day"],["Risk-return analysis","Dashboard metrics","Monthly attribution report","Reviewed with you directly"],["Reporting","Dashboard and monthly summary","Monthly PDF, attribution and tax pack","Monthly PDF, attribution, tax pack and daily contact"],["Fee","20% of profit","20% of profit","Nothing up to 14% a year, then 25% of the profit above it"],["Fee floor","Charged on any profit","Charged on any profit","No fee at all in a year that returns 14% or less"],["Custody","Your own Delta Exchange account","Your own Delta Exchange account","Your own Delta Exchange account"]],id=[{name:"Kalyaan Kumar Gogineni",role:"PARTNER",bio:null},{name:"Naveen Kumar Gogineni",role:"PARTNER",bio:null},{name:"Simbu",nameStatus:"pending",role:"PARTNER",bio:null},{name:"Bala",nameStatus:"pending",role:"PARTNER",bio:null},{name:"Tech partner",nameStatus:"pending",role:"TECH PARTNER",bio:"The engineering partner that builds and runs the platform.",linkedin:"https://www.linkedin.com/in/prasvij/"}],Th=[["Can AlgoGains take my money?","No. Your funds sit in your own Delta Exchange account. We connect with an API key that permits trading only — withdrawals are disabled at the exchange level, and you can revoke the key at any moment."],["What does it cost?","20% of profits on Auto and Managed — you keep 80%. Platinum Managed charges nothing until the account clears 14% in a year, then 25% of the profit above that 14%. Delta Exchange charges its own trading fees separately. Worked examples for both on the pricing page."],["Can I lose money?","Yes. Crypto is volatile and every strategy has losing periods. Our guards are built to limit how much a bad run can cost, not to guarantee gains. Never invest money you cannot afford to lose."],["Are you selling me an algorithm?","No. We do not sell, licence or hand over software. We run the trading on your behalf and are paid only when you profit."],["How is it taxed in India?","Gains on virtual digital assets are taxed at 30% with 1% TDS on transactions, and losses cannot be set off against other income. We provide statements for your ITR; we are not tax advisers."]],Lc=[{group:"Your money and your account",items:[{q:"Can AlgoGains take my money?",a:"No. Your funds sit in your own Delta Exchange account, opened in your name under your own KYC. We connect through an API key that permits trading only — withdrawals are disabled at the exchange level, and you can revoke the key at any moment.",detail:"Because the restriction is enforced by Delta rather than by us, it holds even if our systems are compromised. We never take custody, never hold a pooled wallet and never have a path to move funds out of your account."},{q:"Who holds my assets?",a:"Delta Exchange does. AlgoGains is not a custodian and never takes possession of client assets. Your balance, positions and transaction history live in your exchange account, visible to you at all times, independent of anything we run."},{q:"How is my API key stored?",a:"Encrypted before it reaches the database, with AES-256-GCM under a key derived separately for each account, so one account’s stored key cannot be read with another’s. There is no plaintext column: the database has nowhere to hold an unencrypted key, even briefly.",detail:"Encryption is the second line rather than the first. The key you issue is trade-only with withdrawals disabled at Delta, which limits what anyone holding it could do at all, and that restriction is enforced by the exchange rather than by us — so it holds even if our storage is compromised. Deleting the key at Delta ends both questions at once."},{q:"How do I stop trading?",a:"Two ways, both immediate. The kill switch in your dashboard halts all trading on your account. Deleting the API key inside Delta Exchange revokes our access entirely and needs no approval or notice from us."},{q:"What is the minimum investment?",a:"₹1,00,000 for Auto, which is the lowest way in. Managed starts at ₹5,00,000 and Platinum Managed at ₹50,00,000. Below ₹1,00,000, position sizing cannot respect the risk guards properly — stops end up too tight to survive normal volatility, and fixed exchange costs eat too much of the return.",detail:"The higher floors are not a pricing tactic: Managed puts a managing partner on active review across a small group of accounts, and Platinum Managed assigns a dedicated manager reachable every business day with an allocation modelled specifically for your mandate. Neither is economical to deliver below those levels on a profit share alone, and Platinum earns nothing at all in a year that returns 14% or less."},{q:"Can I withdraw whenever I want?",a:"Yes. The account is yours, so withdrawals are your decision and go through Delta Exchange directly. There is no lock-in period and no exit fee from us. Withdrawing while positions are open may realise them at whatever the market is doing.",detail:"Notice mechanics for the Managed tier are being finalised and will be confirmed in the client agreement before launch."}]},{group:"Fees",items:[{q:"What does AlgoGains cost?",a:"On Auto and Managed, 20% of profit — you keep 80%. On Platinum Managed we are paid nothing until the account has made 14% in the year, and then 25% of the profit above that 14% only, not of the whole gain. No tier carries a management fee, a setup fee or a subscription.",detail:"The Platinum hurdle is a hard one: the first 14% of annual return is entirely yours, and the 25% applies only to the excess. A year at or below 14% costs you nothing at all, and losses or shortfalls against the hurdle carry forward, so a weak year has to be made good before any fee is charged again. Separately, on every tier, Delta Exchange charges its own trading and funding fees against your account — those are exchange costs, not ours, and they apply whether or not the account is profitable."},{q:"How is the profit share calculated?",a:"On the profit your account actually realises, not on assets under management and not on paper gains from a single good day. On Platinum Managed the 14% hurdle is measured over the year and applies to the excess only. Worked examples for both structures, each with a losing period alongside a winning one, are on the pricing page.",detail:"The exact calculation period, how a shortfall or loss carries forward against the next profitable year, invoicing and GST treatment are being finalised with counsel and will be stated in full in the client agreement. Nothing on this page overrides that agreement."},{q:"Are there any hidden charges?",a:"No. The only AlgoGains charge is the profit share for your tier — 20% of profit on Auto and Managed, or 25% of the profit above a 14% annual hurdle on Platinum Managed. The other costs on your account are Delta Exchange trading fees, funding rates on perpetual positions, and any bank or payment charges on your own deposits."}]},{group:"Risk and performance",items:[{q:"Can I lose money?",a:"Yes. Crypto is volatile and every strategy has losing periods. Our guards are built to limit how much a bad run can cost, not to guarantee gains. Never invest money you cannot afford to lose."},{q:"What stops a single bad trade wrecking the account?",a:"Six guards, all automatic: volatility-aware position sizing, a stop placed with every trade, a daily loss halt, a hard leverage ceiling, an outage failsafe that goes flat rather than guessing, and your own kill switch.",detail:"The guards are described one by one on the how-it-works page. They constrain the algorithms — they are not overridable in the moment by a human who feels strongly about a position."},{q:"What returns should I expect?",a:"We do not publish a target return and will not promise one. What we publish instead is the live record of a founder's own capital on Delta Exchange, updated monthly with losing months included. That record is not a client return.",detail:"The first monthly update publishes the equity curve, the return and the maximum drawdown together. Past performance does not indicate future results."},{q:"Do you guarantee profits?",a:"No. Any service guaranteeing crypto returns is either misrepresenting risk or breaking the law. Our commitment is to the process — sizing, stops, loss limits and honest reporting — not to an outcome."}]},{group:"Regulation and tax",items:[{q:"Are you SEBI registered?",a:"No. AlgoGains is not a SEBI-registered portfolio manager or investment adviser, and the crypto service is not a Portfolio Management Service under SEBI regulations. Nothing on this site is investment advice or a solicitation.",detail:"Legal entity name, registration details and the final wording of our terms are pending legal review and will be published before we take client capital."},{id:"india-crypto-tax",q:"How is crypto taxed in India?",a:"Gains on virtual digital assets are taxed at 30% with 1% TDS on transactions, and losses cannot be set off against other income or carried forward. We provide statements for your ITR. We are not tax advisers — check your position with your own.",detail:"Only the cost of acquisition is deductible: exchange fees and funding costs are not, so the gross gain is taxed rather than the net. The full guide — what counts as a virtual digital asset, how the 1% TDS thresholds work, how futures are treated, and what goes in Schedule VDA — is on the India crypto tax page."},{q:"What reporting do I get?",a:"Auto clients get a live dashboard plus a monthly summary. Managed clients also get a monthly PDF with performance attribution and a tax pack for the financial year. Every trade on your account is visible to you as it happens."},{q:"Are you selling me an algorithm?",a:"No. We do not sell, licence or hand over software. We run the trading on your behalf inside your own account, and we are paid only when you profit."}]}],cl={capital:"₹5,00,000",rows:[["Starting capital","₹5,00,000","₹5,00,000"],["Profit on the account for the period","+₹60,000","−₹40,000"],["AlgoGains share (20% of profit)","₹12,000","₹0"],["What you keep","₹48,000","−₹40,000"],["Effective cost to you","20% of the gain","Nothing"]]},no={capital:"₹50,00,000",hurdle:"₹7,00,000",columns:["Year returns 10%","Year returns 20%","Year loses 8%"],rows:[["Starting capital","₹50,00,000","₹50,00,000","₹50,00,000"],["Profit for the year","+₹5,00,000","+₹10,00,000","−₹4,00,000"],["14% hurdle for the year","₹7,00,000","₹7,00,000","₹7,00,000"],["Profit above the hurdle","None","₹3,00,000","None"],["AlgoGains share (25% of the excess)","₹0","₹75,000","₹0"],["What you keep","₹5,00,000","₹9,25,000","−₹4,00,000"],["Effective cost of the year","Nothing","7.5% of the gain","Nothing"],["Carried into the next year","₹2,00,000 of unmet hurdle","Nothing to recover","₹4,00,000 to recover, then 14%"]]},Ch=[["AlgoGains profit share — Auto and Managed","20% of profit for the period","Charged only when the account is in profit"],["AlgoGains profit share — Platinum Managed","25% of the profit above a 14% annual hurdle","Nothing at all in a year returning 14% or less; the 25% applies to the excess only"],["Management fee","None","We do not charge on assets under management"],["Setup or onboarding fee","None","Account opening is done by you, with Delta"],["Exit fee","None","No lock-in; withdraw through Delta whenever you choose"],["Delta Exchange trading fees","Set by Delta","Exchange cost, charged to your account whether or not you profit"],["Funding rates on perpetuals","Set by the market","Applies while leveraged positions are held"]],od=[{path:"/",title:"AlgoGains.ai — Crypto invested with rules, not with nerve.",description:"Algorithmic crypto investing for Indian investors. Our algorithms trade your own Delta Exchange account with loss guards running around the clock. From ₹1,00,000 and 20% of profit — you keep 80% — or Platinum Managed above ₹50 lakh, which is paid nothing until you clear 14% a year."},{path:"/how-it-works",nav:"How it works",title:"How AlgoGains works — three steps and six loss guards",description:"You open and fund your own Delta Exchange account, connect a trade-only API key, and our algorithms trade it under six automatic loss guards: position sizing, per-trade stops, a daily loss halt, a leverage ceiling, an outage failsafe and your kill switch."},{path:"/pricing",nav:"Pricing",title:"AlgoGains pricing — 20% of profit, or nothing until 14% on Platinum",description:"Auto and Managed charge 20% of profit and you keep 80%. Platinum Managed charges nothing until the account clears 14% in a year, then 25% of the profit above that 14% only. No management fee, no setup fee, no lock-in. Worked examples for both, the full fee table, and how the three tiers compare from ₹1,00,000, ₹5,00,000 and ₹50,00,000."},{path:"/faq",nav:"FAQ",title:"AlgoGains FAQ — custody, fees, risk, regulation and tax",description:"Direct answers on who holds your assets, how the profit share is calculated on each tier including the 14% Platinum hurdle, what stops a bad trade wrecking the account, our regulatory status, and how virtual digital assets are taxed in India."},{path:"/about",nav:"About",title:"About AlgoGains — the partners and how we work",description:"AlgoGains runs algorithmic crypto strategies inside investors' own Delta Exchange accounts. Who the partners are, what we will and will not do with client capital, and how models reach live money."},{path:"/india-crypto-tax",nav:"Crypto tax",title:"How crypto is taxed in India — 30% tax, 1% TDS, no loss set-off",description:"Gains on virtual digital assets in India are taxed at a flat 30% plus surcharge and cess, with 1% TDS under section 194S. Only the cost of acquisition is deductible, losses cannot be set off or carried forward, and transfers are reported in Schedule VDA."},{path:"/glossary",title:"AlgoGains glossary — crypto trading and Indian tax terms defined",description:"Definitions for every term used across the AlgoGains site: trade-only API keys, custody, position sizing, drawdown, liquidation, funding rates, perpetual contracts, backtesting, virtual digital assets, TDS and Schedule VDA."},{path:"/blog",nav:"Writing",title:"AlgoGains writing — notes on running money with rules",description:"Short pieces from the AlgoGains partners on custody, fees, the arithmetic of Indian crypto tax and the reporting rules we hold ourselves to. One idea each, and no return predictions."},{path:"/legal-and-risk",nav:"Legal & risk",title:"Legal and risk disclosures — AlgoGains",description:"AlgoGains is not a SEBI-registered portfolio manager or investment adviser and the crypto service is not a Portfolio Management Service. Full risk disclosure, custody position, performance-reporting policy and tax treatment."}],Ph=Object.assign({});function Nh(a,c){const u=/^---\r?\n([\s\S]*?)\r?\n---\r?\n([\s\S]*)$/.exec(c.trim());if(!u)throw new Error(`posts: ${a} has no frontmatter block`);const f={};for(const S of u[1].split(/\r?\n/)){const E=S.indexOf(":");E!==-1&&(f[S.slice(0,E).trim()]=S.slice(E+1).trim())}const g=["title","slug","date","author","summary"];for(const S of g)if(!f[S])throw new Error(`posts: ${a} is missing frontmatter key "${S}"`);if(!/^\d{4}-\d{2}-\d{2}$/.test(f.date))throw new Error(`posts: ${a} has date "${f.date}", expected YYYY-MM-DD`);return{slug:f.slug,title:f.title,order:f.order?Number(f.order):Number.MAX_SAFE_INTEGER,date:f.date,publish:f.publish||`${f.date}T00:00:00+05:30`,author:f.author,authorUrl:f.authorUrl,summary:f.summary,remark:f.remark,body:u[2].trim()}}const kl=Object.entries(Ph).filter(([,a])=>a.trim()!=="").map(([a,c])=>Nh(a,c)).sort((a,c)=>a.publishc.publish?-1:a.title.localeCompare(c.title)),Mc=new Set;for(const a of kl){if(Mc.has(a.slug))throw new Error(`posts: duplicate slug "${a.slug}"`);Mc.add(a.slug)}const ad=(()=>{const c="2026-08-28T19:58:00.280Z";return new Date(c.includes("T")?c:`${c}T23:59:59+05:30`)})(),$r=kl.filter(a=>new Date(a.publish)<=ad);kl.filter(a=>new Date(a.publish)>ad);const Hr=a=>`/blog/${a.slug}`;function Wh(a){const c=[...$r].sort((f,g)=>f.order-g.order),u=c.findIndex(f=>f.slug===a.slug);return u===-1?[]:[c[u-1],c[u+1]].filter(f=>!!f)}const zh=a=>$r.find(c=>c.slug===a);function ld(a){const[c,u,f]=a.split("-").map(Number);return`${f} ${["January","February","March","April","May","June","July","August","September","October","November","December"][u-1]} ${c}`}const gl={email:null,phone:null,areaServed:"India"},ao=[],jn={source:"A founder's own capital in a personal Delta Exchange account",cadence:"Monthly, within the first five working days of the following month",metrics:[["Period return","Net change in account equity for the calendar month, after Delta Exchange trading fees and funding costs."],["Equity curve","Month-end account equity for every month since inception, months in loss included."],["Maximum drawdown","Largest peak-to-trough fall in month-end equity since inception."],["Months in loss","Count of negative months, shown against the total number of months tracked."],["Capital base","Capital in the account at the start of the period, so the return can be read against its size."]],latest:null,rules:["Every month publishes, including losing months. A published month is never dropped, restated or re-baselined.","Figures are taken from the Delta Exchange account statement, not from our own trade log.","Backtested and paper results are never presented as live trading, and are labelled simulated wherever they appear.","The record is a single founder account. It is not a composite of client accounts and is not a client return.","Until the first monthly update publishes, no return, drawdown or equity figure appears anywhere on this site."]},Ih=od.filter(a=>a.nav);function Rh(){return l.jsxs("nav",{className:"ag-nav",style:{display:"flex",alignItems:"center",flexWrap:"wrap",gap:"14px 24px",padding:"12px clamp(20px,4vw,48px)",background:"rgba(7,21,38,.92)",borderBottom:"1px solid rgba(143,155,168,.14)",backdropFilter:"blur(10px)"},children:[l.jsxs(ce,{to:"/",style:{display:"flex",alignItems:"baseline",gap:2,fontWeight:800,fontSize:w.wordmark,letterSpacing:".5px",color:d.white},children:["ALGO",l.jsx("span",{style:{color:d.green},children:"GAINS"}),l.jsx("span",{style:{color:d.gray,fontSize:w.label,fontWeight:700},children:".AI"})]}),l.jsx("div",{style:{display:"flex",gap:"12px clamp(12px,2vw,26px)",flex:"1 1 260px",justifyContent:"center",flexWrap:"wrap",minWidth:0},children:Ih.map(a=>l.jsx(ce,{className:"ag-navlink",to:a.path,style:{fontSize:w.ui,fontWeight:500},children:a.nav},a.path))}),l.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[l.jsx(ce,{className:"ag-btn-ghost",to:"/#cta",style:{color:d.fog,fontSize:w.ui,fontWeight:600,padding:"9px 16px",border:"1px solid rgba(143,155,168,.35)",borderRadius:8,whiteSpace:"nowrap"},children:"Book a call"}),l.jsx("a",{className:"ag-btn-primary",href:"https://app.algogains.ai/login",style:{color:d.ink,background:d.green,fontSize:w.ui,fontWeight:700,padding:"10px 18px",borderRadius:8,whiteSpace:"nowrap"},children:"Get started"})]})]})}const Ah=[{title:"SOLUTIONS",links:[["/pricing","Crypto Auto"],["/pricing","Crypto Managed"],["/how-it-works","The loss guards"]]},{title:"LEARN",links:[["/blog","Writing"],["/faq","FAQ"],["/india-crypto-tax","India crypto tax"],["/glossary","Glossary"],["/how-it-works","How it works"]]},{title:"COMPANY",links:[["/about","About"],["/about#partners","Partners"],["/pricing","Pricing"],["/legal-and-risk","Legal & risk"]]}];function _h(){return l.jsx("footer",{style:{background:d.ink,borderTop:"1px solid rgba(143,155,168,.12)",padding:"60px clamp(20px,4vw,48px) 44px"},children:l.jsxs("div",{style:{...de,display:"flex",flexDirection:"column",gap:36},children:[l.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(min(220px,100%),1fr))",gap:32},children:[l.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[l.jsxs("div",{style:{display:"flex",alignItems:"baseline",gap:2,fontWeight:800,fontSize:w.h4,color:d.white},children:["ALGO",l.jsx("span",{style:{color:d.green},children:"GAINS"}),l.jsx("span",{style:{color:d.gray,fontSize:w.label,fontWeight:700},children:".AI"})]}),l.jsx("div",{style:{fontFamily:ue,fontSize:w.nano,letterSpacing:2,color:d.gray},children:"INTELLIGENCE IN EVERY CYCLE."}),l.jsxs("div",{style:{fontSize:w.bodySm,lineHeight:1.6,color:d.gray,maxWidth:ne.narrow},children:["Algorithmic crypto investing for Indian investors."," Entity name, registration and address publish before we accept client capital."]}),ao.length>0&&l.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:12,fontSize:w.label,color:d.mist},children:[gl.email,gl.phone,ao.map(a=>l.jsx("a",{className:"ag-link",href:a.url,target:"_blank",rel:"noopener noreferrer",style:{color:d.mist},children:a.label},a.url))]})]}),Ah.map(a=>l.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[l.jsx("div",{style:{fontFamily:ue,fontSize:w.nano,letterSpacing:2,color:d.gray},children:a.title}),a.links.map(([c,u])=>l.jsx(ce,{className:"ag-navlink",to:c,style:{color:d.mist,fontSize:w.label},children:u},u+c))]},a.title))]}),l.jsxs("div",{style:{borderTop:"1px solid rgba(143,155,168,.12)",paddingTop:22,fontSize:w.bodySm,lineHeight:1.7,color:d.gray,maxWidth:ne.prose,textWrap:"pretty"},children:[l.jsx("strong",{style:{color:d.gray},children:"Risk disclaimer"})," — Investing in virtual digital assets carries a high degree of risk, including the total loss of capital. AlgoGains is not a SEBI-registered portfolio manager or investment adviser, and the crypto service described here is not a Portfolio Management Service under SEBI regulations. Nothing on this site is investment advice or a solicitation. Performance shown is from a founder's own live account and is not indicative of what any client will achieve. Assets are custodied by Delta Exchange, not by AlgoGains. Final wording pending legal review — see"," ",l.jsx(ce,{className:"ag-link",to:"/legal-and-risk",style:{color:d.mist},children:"legal and risk"}),"."]})]})})}function Dh(){const{pathname:a,hash:c}=Tn();return _.useEffect(()=>{var u;if(c){(u=document.getElementById(c.slice(1)))==null||u.scrollIntoView({behavior:"smooth"});return}window.scrollTo(0,0)},[a,c]),null}function Lh(){const{pathname:a}=Tn();return _.useEffect(()=>{var g,S;const c=od.find(E=>E.path===a),u=!c&&a.startsWith("/blog/")?$r.find(E=>Hr(E)===a):void 0,f=c??(u?{title:`${u.title} — AlgoGains`,description:u.summary}:void 0);f&&(document.title=f.title,(g=document.querySelector('meta[name="description"]'))==null||g.setAttribute("content",f.description),(S=document.querySelector('link[rel="canonical"]'))==null||S.setAttribute("href",`https://algogains.ai${a}`))},[a]),null}function Mh(){return l.jsxs("div",{className:"ag-home",children:[l.jsx(Dh,{}),l.jsx(Lh,{}),l.jsx("a",{className:"ag-skip",href:"#main",children:"Skip to content"}),l.jsx(Rh,{}),l.jsx("main",{id:"main",children:l.jsx(uh,{})}),l.jsx(_h,{})]})}function Oh(){const a=_.useRef(null);return _.useEffect(()=>{var D;const c=a.current;if(!c)return;const u=c.getContext("2d");if(!u)return;const g=!(((D=window.matchMedia)==null?void 0:D.call(window,"(prefers-reduced-motion: reduce)").matches)??!1),S=1.61803398875,E=30,W=(J,ee,K)=>J+(ee-J)*K,T=J=>[parseInt(J.slice(1,3),16),parseInt(J.slice(3,5),16),parseInt(J.slice(5,7),16)],A=T(on.depth),M=T(on.teal),I=T(on.green),H=J=>{const[ee,K,re]=J<.55?[A,M,J/.55]:[M,I,(J-.55)/.45];return`rgb(${Math.round(W(ee[0],K[0],re))},${Math.round(W(ee[1],K[1],re))},${Math.round(W(ee[2],K[2],re))})`},ie=[8,13,18,23,27];let Z=0;const $=J=>{const ee=window.devicePixelRatio||1,K=c.offsetWidth,re=c.offsetHeight;if(!K){Z=requestAnimationFrame($);return}c.width!==K*ee&&(c.width=K*ee,c.height=re*ee),u.setTransform(ee,0,0,ee,0,0),u.clearRect(0,0,K,re);const Se=g?J/1e3:0,De=K*.52,be=re*.55,Qe=-.9+Math.sin(Se*.12)*.06,jt=Math.min(K,re)*.42,mt=g?Se*.35%1.25:.6;for(let Le=0;Le=E-7;u.save(),u.translate(Me,me),u.rotate(-Xe-Math.PI/2+(g?Math.sin(Se*1.4+Le*.9)*.02:0));const j=Le===E-3||Le===E-5?on.cyan:H(Be);if(u.globalAlpha=.55+Be*.45,u.fillStyle=j,O){const Q=R*.55,X=R*1.5;u.strokeStyle=j,u.lineWidth=2,u.beginPath(),u.moveTo(0,-X*.95),u.lineTo(0,X*.95),u.stroke(),u.fillRect(-Q/2,-X/2,Q,X)}else u.fillRect(-R/2,-R*.65,R,R*1.3);if(V>0&&(u.globalAlpha=V*.5,u.fillStyle=on.white,u.fillRect(-R/2,-R*.65,R,R*1.3)),u.restore(),ie.includes(Le)){const Q=g?1+Math.sin(Se*2+Le)*.15:1;u.save(),u.globalAlpha=.95,u.strokeStyle=on.fog,u.lineWidth=1.8,u.beginPath(),u.arc(Me,me,5.5*Q,0,Math.PI*2),u.stroke(),u.restore()}}g&&(Z=requestAnimationFrame($))};return Z=requestAnimationFrame($),()=>cancelAnimationFrame(Z)},[]),l.jsx("canvas",{ref:a,"aria-hidden":"true",style:{width:"100%",maxWidth:420,aspectRatio:"1 / 1",display:"block",justifySelf:"center"}})}function Fh(a){if(a.length<2)return"4,58 100,55 200,52 300,50 396,47";const c=Math.max(...a),u=Math.min(...a),f=c-u||1;return a.map((g,S)=>`${S/(a.length-1)*392+4},${104-(g-u)/f*96}`).join(" ")}function bh(){const[a,c]=_.useState(0),u=jn.latest;return l.jsxs(l.Fragment,{children:[l.jsx("section",{id:"top",style:{position:"relative",overflow:"hidden",background:so.head},children:l.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(min(420px,100%),1fr))",gap:48,alignItems:"center",maxWidth:1240,margin:"0 auto",padding:"80px clamp(20px,4vw,48px) 88px"},children:[l.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[l.jsx("div",{style:{fontFamily:ue,fontSize:w.micro,fontWeight:600,letterSpacing:3.5,color:d.cyan},children:"INTELLIGENCE IN EVERY CYCLE"}),l.jsxs("h1",{style:{margin:0,fontSize:w.display,lineHeight:1.06,fontWeight:800,letterSpacing:"-1.5px",color:d.white,textWrap:"balance"},children:["Crypto invested with ",l.jsx("span",{style:{color:d.green},children:"rules"}),", not with nerve."]}),l.jsx("p",{style:{margin:0,fontSize:w.lead,lineHeight:1.65,color:d.mist,maxWidth:ne.narrow,textWrap:"pretty"},children:"Our algorithms trade your Delta Exchange account for you — with loss guards running every second of every day. Your money never leaves your own exchange wallet. Start from ₹1,00,000."}),l.jsxs("div",{style:{display:"flex",gap:14,flexWrap:"wrap",marginTop:4},children:[l.jsx("a",{className:"ag-btn-primary",href:"https://app.algogains.ai/login",style:{background:d.green,color:d.ink,fontSize:w.ui,fontWeight:700,padding:"14px 26px",borderRadius:10},children:"Get started"}),l.jsx("a",{className:"ag-btn-ghost",href:"#cta",style:{color:d.white,fontSize:w.ui,fontWeight:600,padding:"14px 26px",borderRadius:10,border:"1px solid rgba(143,155,168,.4)"},children:"Book a call"})]}),l.jsx("div",{style:{fontFamily:ue,fontSize:w.micro,letterSpacing:".5px",color:d.gray},children:"India only · no wallet held by us · you can revoke access any time"})]}),l.jsxs("div",{id:"live",style:{justifySelf:"center",width:"100%",maxWidth:460,boxSizing:"border-box",background:d.navy,border:"1px solid rgba(143,155,168,.2)",borderRadius:16,padding:"24px 26px",boxShadow:"0 30px 70px rgba(0,0,0,.45)",display:"flex",flexDirection:"column",gap:18},children:[l.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:12},children:[l.jsx("div",{style:{fontFamily:ue,fontSize:w.nano,letterSpacing:2,color:d.gray},children:"FOUNDER CAPITAL · LIVE"}),l.jsxs("div",{style:{display:"flex",alignItems:"center",gap:7,fontFamily:ue,fontSize:w.nano,color:d.green},children:[l.jsx("span",{className:"ag-pulse",style:{width:8,height:8,borderRadius:"50%",background:d.green}}),"first update pending"]})]}),l.jsxs("svg",{viewBox:"0 0 400 110",style:{width:"100%",height:"auto",display:"block"},role:"img","aria-label":"Placeholder for the equity curve of the tracked founder account. No figures are published yet; the curve appears with the first monthly update.",children:[l.jsx("line",{x1:"0",y1:"55",x2:"400",y2:"55",stroke:"rgba(143,155,168,.18)",strokeWidth:"1",strokeDasharray:"3 5"}),l.jsx("polyline",{points:Fh([]),fill:"none",stroke:on.green,strokeWidth:"2.5",strokeLinejoin:"round",strokeLinecap:"round",opacity:.35,strokeDasharray:"4 6"}),l.jsx("text",{x:"8",y:"16",fontFamily:"IBM Plex Mono, monospace",fontSize:"11",fill:on.gray,children:"equity curve publishes with the first monthly update"})]}),l.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr",gap:12},children:[["CAPITAL",u==null?void 0:u.capitalBase,d.white],["RETURN",u==null?void 0:u.periodReturn,d.green],["MAX DD",u==null?void 0:u.maxDrawdown,d.fog]].map(([f,g,S])=>l.jsxs("div",{children:[l.jsx("div",{style:{fontFamily:ue,fontSize:w.nano,letterSpacing:1.5,color:d.gray,marginBottom:5},children:f}),l.jsx("div",{className:"ag-nums",style:{fontFamily:ue,fontSize:w.monoLg,fontWeight:600,color:g?S:d.gray},children:g??"pending"})]},f))}),l.jsx("div",{style:{fontSize:w.bodySm,lineHeight:1.6,color:d.gray,textWrap:"pretty"},children:l.jsxs(l.Fragment,{children:["Real money in a founder's own account on Delta Exchange. ",jn.cadence,", losing months included. No return, drawdown or equity figure is published until the first update — these read pending rather than showing sample numbers. Not a client return."]})}),l.jsx(ce,{className:"ag-link",to:"/legal-and-risk#performance",style:{fontSize:w.label,fontWeight:600,color:d.cyan},children:"How we report performance →"})]})]})}),l.jsx("section",{style:{background:d.ink,borderTop:"1px solid rgba(143,155,168,.12)"},children:l.jsx("div",{style:{...de,padding:"28px clamp(20px,4vw,48px)",display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(220px,1fr))",gap:24},children:jh.map(f=>l.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:5,borderLeft:"2px solid rgba(41,167,94,.5)",paddingLeft:14},children:[l.jsx("div",{style:{fontSize:w.bodySm,fontWeight:700,color:d.white},children:f.title}),l.jsx("div",{style:{fontSize:w.bodySm,lineHeight:1.5,color:d.gray,textWrap:"pretty"},children:f.desc})]},f.title))})}),l.jsx("section",{id:"how",style:{background:d.paper,...it},children:l.jsxs("div",{style:de,children:[l.jsx("div",{style:je(d.tealText),children:"HOW IT WORKS"}),l.jsx("h2",{style:{margin:"0 0 48px",fontSize:w.h2Lg,fontWeight:800,letterSpacing:"-1px",color:d.navy,textWrap:"balance"},children:"Three steps, then the system takes over."}),l.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(min(280px,100%),1fr))",gap:22},children:ed.map(f=>l.jsxs("div",{style:{background:d.white,border:"1px solid rgba(11,31,58,.08)",borderRadius:14,padding:28,boxShadow:"0 6px 24px rgba(7,21,38,.05)",display:"flex",flexDirection:"column",gap:12},children:[l.jsx("div",{style:{fontFamily:ue,fontSize:w.label,fontWeight:600,color:d[f.accent]},children:f.num}),l.jsx("div",{style:{fontSize:w.h4,fontWeight:700,color:d.navy,textWrap:"balance"},children:f.title}),l.jsx("div",{style:{fontSize:w.bodySm,lineHeight:1.6,color:d.slate,textWrap:"pretty"},children:f.desc})]},f.num))}),l.jsx(ce,{className:"ag-link",to:"/how-it-works",style:{display:"inline-block",marginTop:26,fontSize:w.ui,fontWeight:600,color:d.tealText},children:"The full walkthrough, step by step →"})]})}),l.jsx("section",{id:"solutions",style:{background:d.paper,padding:"0 clamp(20px,4vw,48px) 96px"},children:l.jsxs("div",{style:de,children:[l.jsx("div",{style:je(d.tealText),children:"THREE WAYS IN"}),l.jsx("h2",{style:{margin:"0 0 16px",fontSize:w.h2Lg,fontWeight:800,letterSpacing:"-1px",color:d.navy},children:"Auto, managed, or managed with a manager of your own."}),l.jsx("p",{style:{margin:"0 0 44px",fontSize:w.body,lineHeight:1.7,color:d.slate,maxWidth:ne.prose,textWrap:"pretty"},children:"Same custody and the same six loss guards on all three. What changes with the tier is how the mandate is set, how the money is allocated, who picks up the phone — and on Platinum, that we are paid nothing at all until the year clears 14%."}),l.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(min(320px,100%),1fr))",gap:22,alignItems:"stretch"},children:nd.map(f=>{const g=f.emphasis===!0;return l.jsxs("div",{style:{background:g?d.navy:d.white,border:`1px solid ${g?"rgba(41,167,94,.6)":"rgba(11,31,58,.08)"}`,borderRadius:16,padding:32,display:"flex",flexDirection:"column",gap:16,boxShadow:g?"0 18px 50px rgba(7,21,38,.25)":"0 6px 24px rgba(7,21,38,.05)"},children:[l.jsxs("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:12},children:[l.jsx("h3",{style:{margin:0,fontSize:w.h3,fontWeight:800,color:g?d.white:d.navy,textWrap:"balance"},children:f.name}),f.badge&&l.jsx("div",{style:{fontFamily:ue,fontSize:w.nano,letterSpacing:1.5,color:g?d.ink:d.white,background:g?d.green:d.navy,borderRadius:999,padding:"4px 10px",whiteSpace:"nowrap",flexShrink:0},children:f.badge})]}),l.jsxs("div",{className:"ag-nums",style:{fontFamily:ue,fontSize:w.ui,fontWeight:600,color:g?d.green:d.tealText},children:["From ",f.minimum]}),l.jsx("div",{style:{fontSize:w.body,lineHeight:1.6,color:g?d.mist:d.slate,textWrap:"pretty"},children:f.blurb}),l.jsx("div",{style:{display:"flex",flexDirection:"column",gap:9,marginTop:4},children:f.points.map(S=>l.jsx(kh,{text:S,color:g?d.fog:d.body},S))}),l.jsx("div",{style:{flex:1}}),l.jsx(ce,{className:f.cta.primary?"ag-btn-primary":"ag-btn-ghost ag-btn-ghost-green",to:f.cta.to,style:f.cta.primary?{textAlign:"center",background:d.green,color:d.ink,fontSize:w.ui,fontWeight:700,padding:"13px 0",borderRadius:10}:{textAlign:"center",color:g?d.white:d.navy,fontSize:w.ui,fontWeight:600,padding:"13px 0",borderRadius:10,border:`1px solid ${g?"rgba(143,155,168,.4)":"rgba(11,31,58,.2)"}`},children:f.cta.label})]},f.key)})}),l.jsx("div",{style:{marginTop:32},children:l.jsx(ln,{caption:"AlgoGains Auto, Managed and Platinum Managed at a glance. All three trade inside your own Delta Exchange account under the same six loss guards. Auto and Managed charge 20% of profit; Platinum Managed charges nothing until the year returns 14%, then 25% of the profit above it.",head:["","Auto","Managed","Platinum Managed"],rows:rd.map(f=>[f[0],f[1],f[2],f[3]]),minWidth:860})}),l.jsxs("div",{style:{display:"flex",gap:24,flexWrap:"wrap",marginTop:22,fontSize:w.label,color:d.slate},children:[l.jsx(ce,{className:"ag-link",to:"/pricing",style:{fontWeight:600,color:d.tealText},children:"Full pricing and a worked example →"}),l.jsxs("span",{children:["Equity Auto / Managed — ",l.jsx("span",{style:{fontFamily:ue,fontSize:w.nano,color:d.slate},children:"IN DEVELOPMENT · JOIN WAITLIST"})]}),l.jsxs("span",{children:["Commodity Auto / Managed — ",l.jsx("span",{style:{fontFamily:ue,fontSize:w.nano,color:d.slate},children:"IN DEVELOPMENT · JOIN WAITLIST"})]})]})]})}),l.jsx("section",{style:{background:d.ink,padding:"96px clamp(20px,4vw,48px)"},children:l.jsxs("div",{style:de,children:[l.jsx("div",{style:je(d.cyan),children:"LOSS GUARDS"}),l.jsx("h2",{style:{margin:"0 0 14px",fontSize:w.h2Lg,fontWeight:800,letterSpacing:"-1px",color:d.white},children:"The discipline is the product."}),l.jsx("p",{style:{margin:"0 0 52px",fontSize:w.lead,lineHeight:1.65,color:d.mist,maxWidth:ne.prose,textWrap:"pretty"},children:"Most people lose money in crypto because they hold too long, size too big, and cannot bring themselves to cut a loss. Our guards do it without hesitating."}),l.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(min(300px,100%),1fr))",gap:18},children:td.map(f=>l.jsxs("div",{className:"ag-guard",style:{background:d.navy,border:"1px solid rgba(143,155,168,.16)",borderRadius:14,padding:24,display:"flex",flexDirection:"column",gap:9},children:[l.jsx("div",{style:{fontFamily:ue,fontSize:w.nano,letterSpacing:1.5,color:d.green},children:f.tag}),l.jsx("div",{style:{fontSize:w.h4,fontWeight:700,color:d.white},children:f.title}),l.jsx("div",{style:{fontSize:w.bodySm,lineHeight:1.6,color:d.gray,textWrap:"pretty"},children:f.desc})]},f.tag))}),l.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(min(380px,100%),1fr))",gap:44,alignItems:"center",marginTop:80},children:[l.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16},children:[l.jsx("h3",{style:{margin:0,fontSize:w.h2Sm,fontWeight:800,letterSpacing:"-.8px",color:d.white,textWrap:"balance"},children:"And the system learns from every cycle."}),l.jsx("p",{style:{margin:0,fontSize:w.body,lineHeight:1.7,color:d.mist,maxWidth:ne.narrow,textWrap:"pretty"},children:"Markets change character — trending, choppy, violent. Our models are re-fitted on rolling windows, validated out of sample, and reviewed by a human before anything goes live on client capital. Nothing is switched on because it looked good on a chart."}),l.jsx(ce,{className:"ag-link",to:"/about#how-models-reach-live-money",style:{fontSize:w.ui,fontWeight:600,color:d.cyan},children:"How a model reaches live money →"})]}),l.jsx(Oh,{})]})]})}),l.jsx("section",{style:{background:d.paper,...it},children:l.jsxs("div",{style:{...de,display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(min(320px,100%),1fr))",gap:40,alignItems:"center"},children:[l.jsxs("div",{children:[l.jsx("div",{style:je(d.tealText),children:"WHO WE ARE"}),l.jsx("h2",{style:{margin:"0 0 16px",fontSize:w.h2Lg,fontWeight:800,letterSpacing:"-1px",color:d.navy,textWrap:"balance"},children:"Four partners, named and reachable — plus the tech partner who builds it."}),l.jsx("p",{style:{margin:"0 0 20px",fontSize:w.body,lineHeight:1.7,color:d.slate,maxWidth:ne.prose,textWrap:"pretty"},children:"Your money sits in your own account, so the only thing you are really trusting us with is judgement. That makes it fair to ask who we are before you connect anything."}),l.jsx(ce,{className:"ag-link",to:"/about#partners",style:{fontSize:w.ui,fontWeight:600,color:d.tealText},children:"Meet the partners →"})]}),l.jsx("div",{style:{display:"grid",gap:12},children:[["Your account, your name","Opened with Delta under your own KYC."],["Paid only on profit","20% of profit on Auto and Managed. On Platinum, nothing until you clear 14% a year."],["Nothing switched on quietly","Models are validated out of sample and human-reviewed first."]].map(([f,g])=>l.jsxs("div",{style:{background:d.white,border:"1px solid rgba(11,31,58,.08)",borderRadius:12,padding:"18px 20px"},children:[l.jsx("div",{style:{fontSize:w.body,fontWeight:700,color:d.navy},children:f}),l.jsx("div",{style:{fontSize:w.bodySm,lineHeight:1.6,color:d.slate,marginTop:4,textWrap:"pretty"},children:g})]},f))})]})}),l.jsx("section",{id:"faq",style:{background:d.paper,padding:"0 clamp(20px,4vw,48px) 96px"},children:l.jsxs("div",{style:{...de,display:"flex",flexWrap:"wrap",gap:40,alignItems:"flex-start"},children:[l.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:14,flex:"1 1 260px",maxWidth:320},children:[l.jsx("div",{style:{fontFamily:ue,fontSize:w.micro,fontWeight:600,letterSpacing:3,color:d.tealText},children:"QUESTIONS"}),l.jsx("h2",{style:{margin:0,fontSize:w.h2,fontWeight:800,letterSpacing:"-1px",color:d.navy},children:"The ones everybody asks."}),l.jsx(ce,{className:"ag-link",to:"/faq",style:{fontSize:w.ui,fontWeight:600,color:d.tealText},children:"Every question, answered in full →"})]}),l.jsx("div",{style:{display:"flex",flexDirection:"column",flex:"2 1 380px",minWidth:0},children:Th.map(([f,g],S)=>{const E=a===S;return l.jsxs("div",{style:{borderBottom:"1px solid rgba(11,31,58,.1)"},children:[l.jsxs("button",{className:"ag-faq-btn","aria-expanded":E,"aria-controls":`faq-answer-${S}`,onClick:()=>c(E?-1:S),children:[l.jsx("span",{style:{fontSize:w.body,fontWeight:700,color:d.navy},children:f}),l.jsx("span",{style:{fontFamily:ue,fontSize:w.body,color:d.tealText,flexShrink:0},children:E?"−":"+"})]}),l.jsx("div",{id:`faq-answer-${S}`,role:"region",hidden:!E,style:{padding:"0 4px 20px",fontSize:w.bodySm,lineHeight:1.65,color:d.slate,maxWidth:ne.prose,textWrap:"pretty"},children:g})]},f)})})]})}),l.jsx("section",{id:"cta",style:{background:d.navy,borderTop:"1px solid rgba(143,155,168,.14)",padding:"76px clamp(20px,4vw,48px)"},children:l.jsxs("div",{style:{...de,display:"flex",alignItems:"center",justifyContent:"space-between",gap:28,flexWrap:"wrap"},children:[l.jsxs("div",{children:[l.jsx("h2",{style:{margin:"0 0 10px",fontSize:w.h2,fontWeight:800,letterSpacing:"-1px",color:d.white},children:"Start from ₹1,00,000."}),l.jsx("p",{style:{margin:0,fontSize:w.body,color:d.mist,maxWidth:ne.narrow,textWrap:"pretty"},children:"Set up in a day. Talk to a partner first if you would rather ask questions than click buttons."})]}),l.jsxs("div",{style:{display:"flex",gap:14,flexWrap:"wrap"},children:[l.jsx("a",{className:"ag-btn-primary",href:"https://app.algogains.ai/login",style:{background:d.green,color:d.ink,fontSize:w.ui,fontWeight:700,padding:"14px 26px",borderRadius:10},children:"Get started"}),l.jsx(ce,{className:"ag-btn-ghost",to:"/faq",style:{color:d.white,fontSize:w.ui,fontWeight:600,padding:"14px 26px",borderRadius:10,border:"1px solid rgba(143,155,168,.4)"},children:"Read the FAQ"})]})]})})]})}function Bh(){return l.jsxs(l.Fragment,{children:[l.jsx(cn,{eyebrowText:"HOW IT WORKS",title:"Three steps to start, six guards that never stop.",intro:"You open and fund your own Delta Exchange account, connect an API key that can trade but cannot withdraw, and our algorithms run it under automatic loss limits. Your money never leaves your wallet, and you can cut our access in one click."}),l.jsx("section",{style:{background:d.paper,...it},children:l.jsxs("div",{style:de,children:[l.jsx("div",{style:je(d.tealText),children:"THE THREE STEPS"}),l.jsx("h2",{style:{margin:"0 0 40px",fontSize:w.h2,fontWeight:800,letterSpacing:"-1px",color:d.navy,textWrap:"balance"},children:"About a day, most of it waiting on KYC."}),l.jsx("div",{style:{display:"flex",flexDirection:"column",gap:20},children:ed.map(a=>l.jsxs("div",{style:{background:d.white,border:"1px solid rgba(11,31,58,.08)",borderRadius:14,padding:30,boxShadow:"0 6px 24px rgba(7,21,38,.05)",display:"flex",flexWrap:"wrap",gap:24},children:[l.jsxs("div",{style:{flex:"1 1 220px"},children:[l.jsxs("div",{style:{fontFamily:ue,fontSize:w.label,fontWeight:600,color:d[a.accent],marginBottom:8},children:["STEP ",a.num]}),l.jsx("h3",{style:{margin:0,fontSize:w.h3,fontWeight:700,color:d.navy,textWrap:"balance"},children:a.title})]}),l.jsxs("div",{style:{flex:"2 1 320px",minWidth:0,display:"flex",flexDirection:"column",gap:12},children:[l.jsx("p",{style:{margin:0,fontSize:w.body,lineHeight:1.65,color:d.body,maxWidth:ne.prose,textWrap:"pretty"},children:a.desc}),l.jsx("p",{style:{margin:0,fontSize:w.bodySm,lineHeight:1.65,color:d.slate,maxWidth:ne.prose,textWrap:"pretty"},children:a.detail})]})]},a.num))})]})}),l.jsx("section",{id:"guards",style:{background:d.ink,padding:"90px clamp(20px,4vw,48px)"},children:l.jsxs("div",{style:de,children:[l.jsx("div",{style:je(d.cyan),children:"THE SIX LOSS GUARDS"}),l.jsx("h2",{style:{margin:"0 0 16px",fontSize:w.h2,fontWeight:800,letterSpacing:"-1px",color:d.white,textWrap:"balance"},children:"What actually limits the damage."}),l.jsx("p",{style:{margin:"0 0 40px",fontSize:w.body,lineHeight:1.7,color:d.mist,maxWidth:ne.prose,textWrap:"pretty"},children:"Each guard is a hard constraint on the algorithms, not a guideline a human can talk themselves out of in the moment. They cannot prevent losses — they decide in advance how large a loss is allowed to get."}),l.jsx(ln,{caption:"The six automatic loss guards applied to every AlgoGains account, on both the Auto and Managed tiers.",head:["Guard","What it does"],rows:td.map(a=>[a.title,a.desc])})]})}),l.jsx("section",{style:{background:d.paper,...it},children:l.jsxs("div",{style:{...de,display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(min(320px,100%),1fr))",gap:40},children:[l.jsxs("div",{children:[l.jsx("div",{style:je(d.tealText),children:"WHAT YOU NEED"}),l.jsx("h2",{style:{margin:"0 0 20px",fontSize:w.h2Sm,fontWeight:800,letterSpacing:"-1px",color:d.navy},children:"Before you start."}),l.jsxs("ul",{style:{margin:0,paddingLeft:20,display:"flex",flexDirection:"column",gap:10,fontSize:w.body,lineHeight:1.6,color:d.body},children:[l.jsx("li",{children:"An Indian bank account and PAN for Delta Exchange KYC."}),l.jsx("li",{children:"₹1,00,000 or more you can leave invested, and can afford to lose. Managed starts at ₹5,00,000 and Platinum Managed at ₹50,00,000."}),l.jsx("li",{children:"Fifteen minutes to generate a trade-only API key with us on the call."})]})]}),l.jsxs("div",{children:[l.jsx("div",{style:je(d.tealText),children:"WHAT WE NEVER GET"}),l.jsx("h2",{style:{margin:"0 0 20px",fontSize:w.h2Sm,fontWeight:800,letterSpacing:"-1px",color:d.navy},children:"The limits are set at the exchange."}),l.jsxs("ul",{style:{margin:0,paddingLeft:20,display:"flex",flexDirection:"column",gap:10,fontSize:w.body,lineHeight:1.6,color:d.body},children:[l.jsx("li",{children:"No withdrawal permission — disabled by Delta, not merely promised by us."}),l.jsx("li",{children:"No custody of your coins, and no pooled wallet."}),l.jsx("li",{children:"No ability to stop you revoking the key or hitting the kill switch."})]})]})]})}),l.jsx("section",{style:{background:d.navy,padding:"70px clamp(20px,4vw,48px)"},children:l.jsxs("div",{style:{...de,display:"flex",gap:24,flexWrap:"wrap",alignItems:"center",justifyContent:"space-between"},children:[l.jsx("h2",{style:{margin:0,fontSize:w.h2Xs,fontWeight:800,letterSpacing:"-.8px",color:d.white,textWrap:"balance"},children:"Next: what it costs, with a worked example."}),l.jsx(ce,{className:"ag-btn-primary",to:"/pricing",style:{background:d.green,color:d.ink,fontSize:w.ui,fontWeight:700,padding:"14px 26px",borderRadius:10},children:"See pricing"})]})})]})}function Uh(){return l.jsxs(l.Fragment,{children:[l.jsx(cn,{eyebrowText:"PRICING",title:"Paid out of profit, or not paid.",intro:"Auto and Managed charge 20% of profit — you keep 80%. Platinum Managed charges nothing at all until the account has returned 14% in the year, and then 25% of the profit above that 14% only. No tier carries a management fee, a setup fee, a subscription or a lock-in. Delta Exchange charges its own trading fees against your account either way."}),l.jsx("section",{style:{background:d.paper,...it},children:l.jsxs("div",{style:de,children:[l.jsx("div",{style:je(d.tealText),children:"WORKED EXAMPLE"}),l.jsxs("h2",{style:{margin:"0 0 16px",fontSize:w.h2,fontWeight:800,letterSpacing:"-1px",color:d.navy,textWrap:"balance"},children:["Auto and Managed on ",cl.capital,"."]}),l.jsx("p",{style:{margin:"0 0 32px",fontSize:w.body,lineHeight:1.7,color:d.slate,maxWidth:ne.prose,textWrap:"pretty"},children:"Two periods on the same account: one profitable, one not. The point of a profit share is the second column — when the account loses money, our fee is zero, and we carry the same bad period you do."}),l.jsx(ln,{caption:`Illustration only, on ${cl.capital} of starting capital, for the 20% profit share that applies to Auto and Managed. The numbers are chosen to show the mechanics, not to suggest a return. Delta Exchange trading fees are charged to your account separately and are not shown here.`,head:["","A profitable period","A losing period"],rows:cl.rows.map(a=>[a[0],a[1],a[2]])})]})}),l.jsx("section",{id:"platinum-fee",style:{background:d.paper,padding:"0 clamp(20px,4vw,48px) 96px"},children:l.jsxs("div",{style:de,children:[l.jsx("div",{style:je(d.tealText),children:"PLATINUM, WORKED"}),l.jsxs("h2",{style:{margin:"0 0 16px",fontSize:w.h2,fontWeight:800,letterSpacing:"-1px",color:d.navy,textWrap:"balance"},children:["On Platinum, the first ",Xn," of the year is entirely yours."]}),l.jsxs("p",{style:{margin:"0 0 20px",fontSize:w.body,lineHeight:1.7,color:d.body,maxWidth:ne.prose,textWrap:"pretty"},children:["The hurdle is a hard one. We are paid ",ul," of the profit ",l.jsx("em",{children:"above"})," ",Xn,", not"," ",ul," of the whole gain once ",Xn," is cleared. A year that returns ",Xn," or less costs you nothing whatsoever."]}),l.jsx("p",{style:{margin:"0 0 32px",fontSize:w.bodySm,lineHeight:1.7,color:d.slate,maxWidth:ne.prose,textWrap:"pretty"},children:"Losses and shortfalls against the hurdle carry forward, so a weak year has to be made good before any fee is charged again — the third column below. That protects you from paying us to recover ground we lost."}),l.jsx(ln,{caption:`Illustration only, on ${no.capital} of capital, where the ${Xn} hurdle is ${no.hurdle} for the year. The numbers show the mechanics of the hurdle, not an expected return. Delta Exchange trading fees are charged to your account separately and are not shown here.`,head:["",...no.columns],rows:no.rows.map(a=>[a[0],a[1],a[2],a[3]]),minWidth:820})]})}),l.jsx("section",{id:"fees",style:{background:d.paper,padding:"0 clamp(20px,4vw,48px) 96px"},children:l.jsxs("div",{style:de,children:[l.jsx("div",{style:je(d.tealText),children:"EVERY CHARGE"}),l.jsx("h2",{style:{margin:"0 0 32px",fontSize:w.h2,fontWeight:800,letterSpacing:"-1px",color:d.navy},children:"The full list, including the ones that are not ours."}),l.jsx(ln,{caption:"All charges that can appear against an AlgoGains account. Only the first line is charged by AlgoGains; the rest are exchange and market costs on your own Delta Exchange account.",head:["Charge","Amount","Notes"],rows:Ch.map(a=>[a[0],a[1],a[2]])}),l.jsxs("div",{style:{marginTop:24,background:d.white,border:"1px solid rgba(41,167,94,.35)",borderRadius:12,padding:"20px 22px",maxWidth:760},children:[l.jsx("div",{style:{fontFamily:ue,fontSize:w.nano,letterSpacing:1.5,color:d.tealText,marginBottom:8},children:"STILL BEING FINALISED"}),l.jsx("p",{style:{margin:0,fontSize:w.bodySm,lineHeight:1.65,color:d.body,maxWidth:ne.prose,textWrap:"pretty"},children:"The calculation period for the profit share, how a losing period carries forward against the next profitable one, invoicing mechanics and GST treatment are being settled with counsel and will be stated in full in the client agreement. Nothing on this page overrides that agreement."})]})]})}),l.jsx("section",{id:"tiers",style:{background:d.ink,padding:"90px clamp(20px,4vw,48px)"},children:l.jsxs("div",{style:de,children:[l.jsx("div",{style:je(d.cyan),children:"AUTO, MANAGED OR PLATINUM"}),l.jsx("h2",{style:{margin:"0 0 16px",fontSize:w.h2,fontWeight:800,letterSpacing:"-1px",color:d.white,textWrap:"balance"},children:"Same fee, same custody, different level of attention."}),l.jsxs("p",{style:{margin:"0 0 20px",fontSize:w.body,lineHeight:1.7,color:d.mist,maxWidth:ne.prose,textWrap:"pretty"},children:["All three tiers hold nothing — your capital stays in your own Delta Exchange account under the same six loss guards. What changes is the minimum, how the money is allocated, who is accountable for watching it, and on Platinum the fee itself: nothing until the year clears ",Xn,", then ",ul," of the excess."]}),l.jsx("ul",{style:{margin:"0 0 36px",paddingLeft:20,display:"flex",flexDirection:"column",gap:10,fontSize:w.body,lineHeight:1.65,color:d.mist,maxWidth:ne.prose},children:nd.map(a=>l.jsxs("li",{style:{textWrap:"pretty"},children:[l.jsx("strong",{style:{color:d.white},children:a.name}),", from ",a.minimum," — ",a.blurb]},a.key))}),l.jsx(ln,{caption:"AlgoGains Auto, Managed and Platinum Managed compared. All three trade inside your own Delta Exchange account under the same six loss guards. Auto and Managed charge 20% of profit; Platinum Managed charges nothing up to a 14% annual return and 25% of the profit above it.",head:["","Auto","Managed","Platinum Managed"],rows:rd.map(a=>[a[0],a[1],a[2],a[3]]),minWidth:860}),l.jsxs("div",{style:{display:"flex",gap:14,flexWrap:"wrap",marginTop:30},children:[l.jsx("a",{className:"ag-btn-primary",href:"https://app.algogains.ai/login",style:{background:d.green,color:d.ink,fontSize:w.ui,fontWeight:700,padding:"14px 26px",borderRadius:10},children:"Start with Auto"}),l.jsx(ce,{className:"ag-btn-ghost",to:"/#cta",style:{color:d.white,fontSize:w.ui,fontWeight:600,padding:"14px 26px",borderRadius:10,border:"1px solid rgba(143,155,168,.4)"},children:"Talk about Managed or Platinum"})]})]})}),l.jsx("section",{style:{background:d.paper,...it},children:l.jsxs("div",{style:{...de,maxWidth:780},children:[l.jsx("div",{style:je(d.tealText),children:"BEFORE YOU DECIDE"}),l.jsx("h2",{style:{margin:"0 0 18px",fontSize:w.h2Sm,fontWeight:800,letterSpacing:"-1px",color:d.navy},children:"The fee is not the risk."}),l.jsx("p",{style:{margin:"0 0 14px",fontSize:w.body,lineHeight:1.7,color:d.body,maxWidth:ne.prose,textWrap:"pretty"},children:"A profit share means we only earn when you do, which is the right alignment — but it does not make the underlying investment safe. Crypto is volatile, every strategy has losing periods, and gains on virtual digital assets are taxed in India at 30% with 1% TDS, with losses that cannot be set off against other income."}),l.jsxs("p",{style:{margin:0,fontSize:w.bodySm,lineHeight:1.7,color:d.slate,maxWidth:ne.prose,textWrap:"pretty"},children:["Read the"," ",l.jsx(ce,{className:"ag-link",to:"/legal-and-risk",style:{color:d.tealText,fontWeight:600},children:"legal and risk disclosures"})," ","and the"," ",l.jsx(ce,{className:"ag-link",to:"/faq",style:{color:d.tealText,fontWeight:600},children:"FAQ"})," ","before you commit capital."]})]})})]})}const dl=a=>a.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"");function Hh(){return l.jsxs(l.Fragment,{children:[l.jsx(cn,{eyebrowText:"FAQ",title:"Direct answers, in the order people ask them.",intro:"Custody, fees, risk, regulation and tax. If something here contradicts what a partner told you on a call, the written client agreement wins — and tell us, because one of the two is wrong."}),l.jsx("section",{style:{background:d.paper,...it},children:l.jsxs("div",{style:{...de,display:"flex",flexWrap:"wrap",gap:48,alignItems:"flex-start"},children:[l.jsxs("nav",{"aria-label":"On this page",style:{flex:"1 1 200px",maxWidth:260,alignSelf:"start",position:"sticky",top:92},children:[l.jsx("div",{style:{fontFamily:ue,fontSize:w.nano,letterSpacing:2,color:d.slate,marginBottom:12},children:"ON THIS PAGE"}),l.jsx("div",{style:{display:"flex",flexDirection:"column",gap:9},children:Lc.map(a=>l.jsx("a",{className:"ag-link",href:`#${dl(a.group)}`,style:{fontSize:w.ui,fontWeight:600,color:d.tealText},children:a.group},a.group))})]}),l.jsx("div",{style:{flex:"2 1 400px",minWidth:0,display:"flex",flexDirection:"column",gap:56},children:Lc.map(a=>l.jsxs("div",{id:dl(a.group),children:[l.jsx("div",{style:je(d.tealText),children:a.group.toUpperCase()}),l.jsx("h2",{style:{margin:"0 0 28px",fontSize:w.h2Xs,fontWeight:800,letterSpacing:"-.8px",color:d.navy},children:a.group}),l.jsx("div",{style:{display:"flex",flexDirection:"column",gap:28},children:a.items.map(c=>l.jsx(Sl,{id:c.id??dl(c.q),q:c.q,a:c.a,detail:c.detail},c.q))})]},a.group))})]})}),l.jsx("section",{style:{background:d.navy,padding:"70px clamp(20px,4vw,48px)"},children:l.jsxs("div",{style:{...de,display:"flex",gap:24,flexWrap:"wrap",alignItems:"center",justifyContent:"space-between"},children:[l.jsxs("div",{children:[l.jsx("h2",{style:{margin:"0 0 8px",fontSize:w.h2Xs,fontWeight:800,letterSpacing:"-.8px",color:d.white},children:"Question not here?"}),l.jsx("p",{style:{margin:0,fontSize:w.body,color:d.mist,maxWidth:ne.narrow,textWrap:"pretty"},children:"Ask a partner directly before you connect an account. Contact details are published with the entity registration."})]}),l.jsx(ce,{className:"ag-btn-primary",to:"/#cta",style:{background:d.green,color:d.ink,fontSize:w.ui,fontWeight:700,padding:"14px 26px",borderRadius:10},children:"Book a call"})]})})]})}function $h(){const a=[];a.push(["Area served",gl.areaServed]),a.push(["Regulatory status","Not registered with SEBI as a portfolio manager or investment adviser"]),a.push(["Custody","Client assets are held by Delta Exchange, never by AlgoGains"]);const c=["legal entity name","registration details","registered address","contact email and phone",id.some(u=>u.bio===null||u.nameStatus==="pending")?"partner biographies and full names":null].filter(u=>u!==null);return l.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:22,maxWidth:ne.prose},children:[l.jsxs("div",{style:{background:d.white,border:"1px solid rgba(11,31,58,.08)",borderRadius:12,padding:"22px 24px"},children:[l.jsx("div",{style:{fontFamily:ue,fontSize:w.nano,letterSpacing:1.5,color:d.tealText,marginBottom:14},children:"WHO YOU WOULD BE DEALING WITH"}),l.jsx("dl",{style:{margin:0,display:"grid",gridTemplateColumns:"minmax(140px,auto) 1fr",gap:"10px 20px",fontSize:w.bodySm,lineHeight:1.6},children:a.map(([u,f])=>l.jsxs("div",{style:{display:"contents"},children:[l.jsx("dt",{style:{color:d.slate,fontWeight:600},children:u}),l.jsx("dd",{style:{margin:0,color:d.body,textWrap:"pretty"},children:f})]},u))}),ao.length>0&&l.jsx("div",{style:{marginTop:16,display:"flex",flexWrap:"wrap",gap:16},children:ao.map(u=>l.jsxs("a",{className:"ag-link",href:u.url,target:"_blank",rel:"noopener noreferrer",style:{fontSize:w.ui,fontWeight:600,color:d.tealText},children:[u.label," →"]},u.url))})]}),c.length>0&&l.jsxs("div",{style:{background:d.white,border:"1px solid rgba(41,167,94,.35)",borderRadius:12,padding:"20px 22px"},children:[l.jsx("div",{style:{fontFamily:ue,fontSize:w.nano,letterSpacing:1.5,color:d.tealText,marginBottom:8},children:"PENDING PUBLICATION"}),l.jsxs("p",{style:{margin:0,fontSize:w.bodySm,lineHeight:1.65,color:d.body,textWrap:"pretty"},children:["Still to publish: ",c.join(", "),". All of it goes up here before we accept client capital. Our regulatory position today, and how we report performance, are stated in full on"," ",l.jsx(ce,{className:"ag-link",to:"/legal-and-risk",style:{color:d.tealText,fontWeight:600},children:"legal and risk"}),"."]})]})]})}function Vh(){return l.jsxs(l.Fragment,{children:[l.jsx(cn,{eyebrowText:"ABOUT",title:"We run the trading. You keep the account.",intro:"AlgoGains runs algorithmic crypto strategies inside investors' own Delta Exchange accounts, for Indian investors, from ₹1,00,000 on Auto and up to a dedicated-manager Platinum tier above ₹50 lakh. We are paid a share of profit and nothing else — 20% on Auto and Managed, and on Platinum nothing at all until the year clears 14%. We do badly whenever you do."}),l.jsx("section",{style:{background:d.paper,...it},children:l.jsxs("div",{style:{...de,display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(min(320px,100%),1fr))",gap:40},children:[l.jsxs("div",{children:[l.jsx("div",{style:je(d.tealText),children:"WHAT WE DO"}),l.jsxs("ul",{style:{margin:0,paddingLeft:20,display:"flex",flexDirection:"column",gap:12,fontSize:w.body,lineHeight:1.65,color:d.body},children:[l.jsx("li",{children:"Trade a defined strategy set on your own exchange account, under fixed loss guards."}),l.jsx("li",{children:"Size positions, place stops and cut losses automatically, without discretion in the moment."}),l.jsx("li",{children:"Report every trade to you as it happens, and summarise the month in writing."}),l.jsx("li",{children:"Publish a founder's own live account, losing months included, instead of a backtest."})]})]}),l.jsxs("div",{children:[l.jsx("div",{style:je(d.tealText),children:"WHAT WE DO NOT DO"}),l.jsxs("ul",{style:{margin:0,paddingLeft:20,display:"flex",flexDirection:"column",gap:12,fontSize:w.body,lineHeight:1.65,color:d.body},children:[l.jsx("li",{children:"Hold, pool, move or withdraw client funds — custody sits with Delta Exchange."}),l.jsx("li",{children:"Sell, licence or hand over software; there is no algorithm for sale here."}),l.jsx("li",{children:"Give investment advice, or claim a target return we cannot stand behind."}),l.jsx("li",{children:"Charge a management fee, a setup fee or an exit fee."})]})]})]})}),l.jsx("section",{id:"how-models-reach-live-money",style:{background:d.ink,padding:"90px clamp(20px,4vw,48px)"},children:l.jsxs("div",{style:{...de,maxWidth:820},children:[l.jsx("div",{style:je(d.cyan),children:"HOW A MODEL REACHES LIVE MONEY"}),l.jsx("h2",{style:{margin:"0 0 20px",fontSize:w.h2,fontWeight:800,letterSpacing:"-1px",color:d.white,textWrap:"balance"},children:"Nothing is switched on because it looked good on a chart."}),l.jsx("p",{style:{margin:"0 0 16px",fontSize:w.body,lineHeight:1.75,color:d.mist,maxWidth:ne.prose,textWrap:"pretty"},children:"Markets change character — trending, choppy, violent. Models are re-fitted on rolling windows and validated out of sample, so the version that trades has been tested on data it was not built on. A human partner reviews the result before it touches client capital, and the loss guards apply to it whatever the backtest said."}),l.jsx("p",{style:{margin:0,fontSize:w.body,lineHeight:1.75,color:d.gray,maxWidth:ne.prose,textWrap:"pretty"},children:"A strategy that only works in one market regime gets sized for that reality or does not run. Where we are still deciding something — the profit-share calculation period, the notice mechanics on Managed accounts — we say so on the page rather than filling the gap with confident language."})]})}),l.jsx("section",{id:"partners",style:{background:d.paper,...it},children:l.jsxs("div",{style:de,children:[l.jsx("div",{style:je(d.tealText),children:"WHO WE ARE"}),l.jsx("h2",{style:{margin:"0 0 16px",fontSize:w.h2,fontWeight:800,letterSpacing:"-1px",color:d.navy,textWrap:"balance"},children:"Four partners, named and reachable — plus the tech partner who builds it."}),l.jsx("p",{style:{margin:"0 0 44px",fontSize:w.body,lineHeight:1.7,color:d.slate,maxWidth:ne.prose,textWrap:"pretty"},children:"Your money sits in your own account, so the only thing you are really trusting us with is judgement. That makes it fair to ask who we are before you connect anything."}),l.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(min(240px,100%),1fr))",gap:22},children:id.map(a=>l.jsxs("div",{id:a.name.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,""),style:{background:d.white,border:"1px solid rgba(11,31,58,.08)",borderRadius:14,padding:22,display:"flex",flexDirection:"column",gap:12,boxShadow:"0 6px 24px rgba(7,21,38,.05)"},children:[l.jsx(Eh,{name:a.name}),l.jsxs("div",{children:[l.jsx("h3",{style:{margin:0,fontSize:w.h4,fontWeight:700,color:d.navy},children:a.name}),l.jsx("div",{style:{fontFamily:ue,fontSize:w.nano,letterSpacing:1.5,color:d.tealText,marginTop:3},children:a.role}),a.nameStatus==="pending"&&l.jsx("div",{style:{fontSize:w.micro,color:d.slate,marginTop:5},children:"Full name publishes with the biography."})]}),l.jsx("p",{style:{margin:0,fontSize:w.bodySm,lineHeight:1.55,color:d.slate,textWrap:"pretty"},children:a.bio??"Biography being finalised. It publishes here before we accept client capital."}),a.linkedin&&l.jsx("a",{className:"ag-link",href:a.linkedin,target:"_blank",rel:"noopener noreferrer",style:{fontSize:w.ui,fontWeight:600,color:d.tealText},children:"LinkedIn →"})]},a.name))}),l.jsx("div",{style:{marginTop:28},children:l.jsx($h,{})})]})})]})}const Jn={financialYear:"FY 2026-27 (assessment year 2027-28)",lastUpdated:"2026-08-20",headline:[["Tax rate on gains","30%, plus applicable surcharge and 4% health and education cess"],["TDS on transfers","1% under section 194S"],["Deductions allowed","Cost of acquisition only"],["Loss set-off","Not permitted against any income, including other VDA gains"],["Loss carry-forward","Not permitted"],["Holding period","Irrelevant — there is no short-term or long-term distinction"],["Where it is reported","Schedule VDA of the income tax return"]]},Gh=[{id:"how-much-tax",q:"How much tax do you pay on crypto in India?",a:"Gains on the transfer of virtual digital assets are taxed at a flat 30%, plus applicable surcharge and 4% health and education cess. The rate does not change with your income slab, and it does not change with how long you held the asset.",detail:"The charge sits in section 115BBH of the Income-tax Act, introduced by the Finance Act 2022. Because it is a special rate, the gain is not added to your slab income for rate purposes — a person otherwise in the 5% slab still pays 30% on a VDA gain."},{id:"what-is-a-vda",q:"What counts as a virtual digital asset?",a:"Broadly, any cryptocurrency, token or NFT: information, code, number or token generated cryptographically, providing a digital representation of value that can be transferred, stored or traded. Bitcoin, Ether and stablecoins fall inside it. Derivatives settled in a virtual digital asset — the perpetual contracts our strategies trade — are less clear-cut, and that question is dealt with separately below.",detail:"The statutory definition is in section 2(47A). Indian currency and foreign currency are excluded, and the Central Government can notify specific exclusions and inclusions. Where an instrument is a derivative settled in a VDA, treat the position as VDA-related and take advice rather than assuming equity-derivative treatment applies."},{id:"what-can-you-deduct",q:"What can you deduct from a crypto gain?",a:"Only the cost of acquisition. Exchange trading fees, funding costs, transfer fees, subscription costs, advisory or management fees, internet and electricity are all non-deductible against VDA income, even though they are real costs of earning it.",detail:"This is the part that surprises people most, and it materially changes the arithmetic on an actively traded account: the gross gain is taxed, not the net-of-costs gain. Budget for tax on a larger figure than your account statement shows as profit."},{id:"crypto-losses",q:"Can you set off crypto losses in India?",a:"No. A loss on a virtual digital asset cannot be set off against any other income, and per CBDT clarification it cannot be set off against gains on another virtual digital asset either. It also cannot be carried forward to a later year.",detail:"The practical consequence is severe and worth stating plainly: an account that makes ₹5,00,000 on one position and loses ₹5,00,000 on another in the same year has made nothing, but can still owe 30% on the ₹5,00,000 gain. This is a reason to size positions conservatively, and a reason the AlgoGains profit share is charged on realised profit rather than on assets under management."},{id:"tds-on-crypto",q:"How does the 1% TDS on crypto work?",a:"Section 194S requires 1% tax to be deducted at source on the consideration for transferring a virtual digital asset. On an Indian exchange the exchange normally deducts and deposits it. It is a credit, not an extra tax — it is set against your final liability when you file.",detail:"Two thresholds apply — ₹50,000 a year for a specified person and ₹10,000 otherwise — and the deduction is on the transfer value rather than the gain, so a losing trade attracts it too. On peer-to-peer or foreign-platform transfers the obligation to deduct can fall on you as the buyer."},{id:"tax-on-futures",q:"How are crypto futures and perpetual contracts taxed?",a:"Treatment of VDA derivatives is less settled than treatment of spot holdings. Positions settled in a virtual digital asset are commonly treated within the VDA regime at 30%, though some advisers argue for business-income treatment depending on the facts. Take advice on your own position before you file.",detail:"We flag this rather than smoothing over it because AlgoGains strategies trade perpetual contracts on Delta Exchange, so it is directly relevant to a client account. Where the treatment is genuinely uncertain we would rather you hear that from us and ask your accountant than be told a clean answer that may not survive scrutiny."},{id:"advance-tax",q:"Do you have to pay advance tax on crypto gains?",a:"Yes, if your total tax liability for the year exceeds ₹10,000. The 1% TDS covers roughly a thirtieth of a 30% charge, so the rest is due in instalments during the year — 15% of the estimate by 15 June, 45% by 15 September, 75% by 15 December and all of it by 15 March. Shortfalls attract interest under sections 234B and 234C.",detail:"This is awkward for crypto specifically, because gains are lumpy and you cannot forecast in June what a volatile asset will have done by March. The practical habit is to set the tax aside when a gain is realised rather than when the return is due."},{id:"self-transfers",q:"Is moving crypto between your own accounts taxable?",a:"No. Transferring a virtual digital asset between wallets or exchanges you own is not a transfer for the purposes of section 194S, so there is no 1% TDS and no taxable event. Only a disposal — a sale, a swap, or spending the asset — triggers the charge.",detail:"Keep the records anyway. A self-transfer is not taxable but it does move the acquisition history to a different venue, and Schedule VDA still wants the original cost and date when you eventually dispose of it."},{id:"where-to-report",q:"Where do you report crypto in your tax return?",a:"In Schedule VDA of the income tax return, which requires transaction-level detail: date of acquisition, date of transfer, cost of acquisition and consideration received for each transfer. ITR-2 or ITR-3 depending on your other income.",detail:"Schedule VDA is why record-keeping matters more here than for most asset classes — you are reporting per transfer, not a single annual figure. Keep the exchange statements for every financial year; you need the acquisition side as much as the disposal side."},{id:"gift-and-airdrop",q:"What about gifts, airdrops and mining?",a:"A virtual digital asset received as a gift is taxable in the recipient's hands under section 56(2)(x), subject to the usual exemptions for relatives and specified occasions. Airdrops and mining rewards are generally taxed on receipt, with mining infrastructure costs not deductible.",detail:"Cost of acquisition for a mined asset is treated as nil, so effectively the whole disposal value is the gain. These edge cases are where positions differ most between advisers — this is a general summary, not a determination of your case."},{id:"gst-on-fees",q:"Is GST charged on crypto trading?",a:"GST at 18% generally applies to the service fee an exchange charges, not to the value of the asset you buy. It appears as a charge on your exchange statement and is an exchange cost, separate from income tax on your gains."},{id:"what-algogains-provides",q:"What does AlgoGains provide for your tax filing?",a:"Statements to support your return: the trades placed on your account with dates, sizes, entries and exits, and a tax pack for the financial year for Managed clients. AlgoGains is not a tax adviser and does not file on your behalf. Tax is your responsibility as the account holder.",detail:"Because the account is yours, the Delta Exchange statement is the primary record and is available to you directly at any time. Our statements are there to make Schedule VDA workable, not to replace the exchange record."}],sd=[{group:"How the service works",terms:[{term:"API key",definition:"A credential that lets one system act on an account in another. AlgoGains uses a key restricted to placing trades; withdrawal permission is disabled at the exchange, and the client can delete the key at any time to end access."},{term:"Trade-only permission",definition:"An API key scope that allows placing and cancelling orders but not moving funds. The restriction is enforced by the exchange rather than by the party using the key, so it holds even if that party's systems are compromised."},{term:"Custody",definition:"Who legally holds an asset. With AlgoGains, custody sits with Delta Exchange in the client's own account under the client's own KYC; AlgoGains never holds client funds."},{term:"Kill switch",definition:"A control that halts all trading on an account immediately. AlgoGains provides one in the client dashboard; deleting the API key at the exchange is the independent equivalent."},{term:"Profit share",definition:"A fee charged as a percentage of profit rather than of assets. AlgoGains charges 20% of profit on Auto and Managed, so a period with no profit carries no fee. Platinum Managed charges 25% but only on profit above a 14% annual hurdle."},{term:"Hurdle rate",definition:"A return an account must clear before a performance fee applies. Platinum Managed uses a 14% annual hurdle, charged as a hard hurdle: the first 14% of return is entirely the client's and the 25% fee applies only to the excess, so a year returning 14% or less carries no fee at all."},{term:"High-water mark",definition:"A rule preventing a manager being paid twice for recovering the same ground. On Platinum Managed, losses and shortfalls against the hurdle carry forward, so a weak year must be made good before any fee is charged again."},{term:"Mandate",definition:"The agreed limits within which an account is traded — risk tolerance, instruments, maximum exposure. Set with the client on the Managed tier; standard and identical for every account on Auto."}]},{group:"Risk and position management",terms:[{term:"Position sizing",definition:"Deciding how much capital a single trade risks. Sizing against current volatility means a more volatile instrument gets a smaller position for the same risk budget."},{term:"Stop loss",definition:"A pre-set exit level that closes a losing position. Placing it with the trade rather than afterwards means the exit is decided before the position exists — and before there is any emotional reason to move it."},{term:"Drawdown",definition:"The fall from a peak in account equity to the subsequent trough, quoted as a percentage. Maximum drawdown is the largest such fall over the period measured, and is the honest counterpart to a return figure."},{term:"Daily loss halt",definition:"A rule that stops trading for the rest of the day once losses reach a set limit, so a bad day cannot compound into a bad week."},{term:"Leverage",definition:"Trading with exposure larger than the capital committed. It multiplies gains and losses alike, and beyond a point makes liquidation likely on an ordinary price move. AlgoGains applies a hard ceiling the algorithms cannot exceed."},{term:"Liquidation",definition:"Forced closure of a leveraged position by the exchange when margin is insufficient. It happens at the exchange's price on the exchange's timing, not at a level of your choosing."},{term:"Slippage",definition:"The difference between the price expected and the price obtained. It widens in fast or thin markets, which is why a stop level is not a guaranteed fill price."},{term:"Outage failsafe",definition:"Behaviour defined in advance for when the exchange or the connection to it fails. AlgoGains goes flat and stays out rather than trading on stale data."}]},{group:"Instruments and markets",terms:[{term:"Perpetual contract",definition:"A derivative tracking an asset's price with no expiry date. Held positions pay or receive a periodic funding rate, which is a real cost of carry rather than a fee charged by anyone."},{term:"Funding rate",definition:"The periodic payment between long and short holders of a perpetual contract that keeps its price near the underlying. It can be positive or negative and accrues for as long as the position is open."},{term:"Spot",definition:"Buying or selling the asset itself for immediate settlement, as opposed to a derivative referencing its price. No leverage, no funding, no liquidation."},{term:"Volatility",definition:"How much a price moves over a period. It is the input that drives position sizing: the same rupee risk buys a smaller position in a more volatile market."},{term:"Delta Exchange",definition:"The Indian crypto derivatives exchange where AlgoGains clients hold their own accounts and where all client assets are custodied."}]},{group:"Method and evidence",terms:[{term:"Backtest",definition:"Running a strategy over historical data to see how it would have behaved. Useful for elimination, weak as evidence: it cannot capture slippage, outages or the temptation to keep adjusting until the past looks good."},{term:"Out-of-sample testing",definition:"Validating a model on data it was not fitted on. Without it, a backtest mostly measures how well a model has memorised its own history."},{term:"Overfitting",definition:"Tuning a strategy so closely to past data that it captures noise rather than a durable effect. The signature is a backtest far better than live results."},{term:"Market regime",definition:"The prevailing character of a market — trending, range-bound, or violently volatile. A strategy that works in one regime can lose steadily in another, which is why regime is sized for rather than assumed."},{term:"Paper trading",definition:"Running a strategy on live prices without real money. It tests the plumbing and the logic; it does not test slippage, fills at scale, or how anyone behaves when the money is real."}]},{group:"Regulation and tax",terms:[{term:"Virtual digital asset (VDA)",definition:"The Indian statutory category covering cryptocurrencies, tokens and NFTs, defined in section 2(47A) of the Income-tax Act. Gains are taxed at 30% with 1% TDS on transfers, and losses cannot be set off or carried forward."},{term:"TDS",definition:"Tax deducted at source. Section 194S requires 1% on the consideration for a VDA transfer, deducted by the exchange on Indian platforms. It is a credit against your final liability, not an additional tax."},{term:"Schedule VDA",definition:"The part of the Indian income tax return where virtual digital asset transactions are reported, transfer by transfer, with acquisition and disposal detail for each."},{term:"SEBI",definition:"The Securities and Exchange Board of India. AlgoGains is not registered with SEBI as a portfolio manager or investment adviser, and virtual digital assets are not a SEBI-regulated securities class."},{term:"Portfolio Management Service (PMS)",definition:"A SEBI-regulated arrangement for managing securities portfolios above a prescribed minimum. The AlgoGains crypto service is not a PMS, and investors have no recourse to SEBI investor-protection mechanisms in respect of it."},{term:"KYC",definition:"Know Your Customer — the identity verification a regulated platform must complete. Clients complete Delta Exchange's KYC themselves, in their own name; AlgoGains is not a party to it."}]}],qh=sd.flatMap(a=>a.terms);function Yh(){return l.jsxs("div",{style:{background:d.white,border:"1px solid rgba(41,167,94,.4)",borderRadius:12,padding:"20px 22px"},children:[l.jsx("div",{style:{fontFamily:ue,fontSize:w.nano,letterSpacing:1.5,color:d.tealText,marginBottom:8},children:"NOT YET REVIEWED BY A TAX PROFESSIONAL"}),l.jsxs("p",{style:{margin:0,fontSize:w.bodySm,lineHeight:1.65,color:d.body,maxWidth:ne.prose,textWrap:"pretty"},children:["This guide summarises Indian tax law as we understand it for ",Jn.financialYear," and has not yet been reviewed by a chartered accountant. AlgoGains is not a tax adviser. Do not rely on it to file — confirm your position with your own professional, and treat anything here that contradicts them as wrong."]})]})}function Qh(){return l.jsxs(l.Fragment,{children:[l.jsx(cn,{eyebrowText:"INDIA CRYPTO TAX",title:"How crypto is taxed in India.",intro:"Gains on virtual digital assets are taxed at a flat 30% with 1% TDS on transfers. Only the cost of acquisition is deductible, and losses cannot be set off against anything or carried forward. What that means for an actively traded account, question by question."}),l.jsx("section",{style:{background:d.paper,...it},children:l.jsxs("div",{style:{...de,maxWidth:860,display:"flex",flexDirection:"column",gap:40},children:[l.jsx(Yh,{}),l.jsxs("div",{children:[l.jsx("div",{style:je(d.tealText),children:"AT A GLANCE"}),l.jsx("h2",{style:{margin:"0 0 24px",fontSize:w.h2Xs,fontWeight:800,letterSpacing:"-.8px",color:d.navy},children:"The rules in seven rows"}),l.jsx(ln,{caption:`Indian tax treatment of virtual digital assets for ${Jn.financialYear}. Sections 115BBH and 194S of the Income-tax Act. Last updated ${Jn.lastUpdated}.`,head:["Rule","Position"],rows:Jn.headline.map(([a,c])=>[a,c])})]}),l.jsx("div",{style:{display:"flex",flexDirection:"column",gap:28},children:Gh.map(a=>l.jsx(Sl,{id:a.id,q:a.q,a:a.a,detail:a.detail},a.id))}),l.jsx("div",{style:{background:d.white,border:"1px solid rgba(11,31,58,.1)",borderRadius:12,padding:"22px 24px"},children:l.jsxs("p",{style:{margin:0,fontSize:w.bodySm,lineHeight:1.7,color:d.slate,maxWidth:ne.prose,textWrap:"pretty"},children:["Tax rules for virtual digital assets in India have changed more than once since 2022 and may change again. This page states the position for ",Jn.financialYear," as at ",Jn.lastUpdated,". Our regulatory status and what we do and do not undertake are set out on"," ",l.jsx(ce,{className:"ag-link",to:"/legal-and-risk",style:{color:d.tealText,fontWeight:600},children:"legal and risk"}),", and the terms used here are defined in the"," ",l.jsx(ce,{className:"ag-link",to:"/glossary",style:{color:d.tealText,fontWeight:600},children:"glossary"}),"."]})})]})})]})}function Kh(){return l.jsxs(l.Fragment,{children:[l.jsx(cn,{eyebrowText:"GLOSSARY",title:"Every term on this site, defined.",intro:`The ${qh.length} terms that appear across these pages — custody, drawdown, funding rate, Schedule VDA — each defined to stand on its own. If we use a word here that is not on this page, that is a bug in our writing.`}),l.jsx("section",{style:{background:d.paper,...it},children:l.jsxs("div",{style:{...de,maxWidth:860,display:"flex",flexDirection:"column",gap:56},children:[sd.map(a=>l.jsxs("div",{children:[l.jsx("div",{style:je(d.tealText),children:a.group.toUpperCase()}),l.jsx("h2",{style:{margin:"0 0 28px",fontSize:w.h2Xs,fontWeight:800,letterSpacing:"-.8px",color:d.navy},children:a.group}),l.jsx("dl",{style:{margin:0,display:"flex",flexDirection:"column",gap:26},children:a.terms.map(c=>l.jsxs("div",{id:c.term.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,""),style:{paddingBottom:24,borderBottom:"1px solid rgba(11,31,58,.1)"},children:[l.jsx("dt",{children:l.jsx("h3",{style:{margin:"0 0 8px",fontSize:w.h4,fontWeight:700,color:d.navy},children:c.term})}),l.jsx("dd",{style:{margin:0,fontSize:w.body,lineHeight:1.65,color:d.body,maxWidth:ne.prose,textWrap:"pretty"},children:c.definition})]},c.term))})]},a.group)),l.jsxs("p",{style:{margin:0,fontSize:w.bodySm,lineHeight:1.7,color:d.slate,maxWidth:ne.prose,textWrap:"pretty"},children:["Tax terms are covered in more depth in the"," ",l.jsx(ce,{className:"ag-link",to:"/india-crypto-tax",style:{color:d.tealText,fontWeight:600},children:"India crypto tax guide"}),", and the risk controls in"," ",l.jsx(ce,{className:"ag-link",to:"/how-it-works",style:{color:d.tealText,fontWeight:600},children:"how it works"}),"."]})]})})]})}const Xh=[{id:"regulatory-status",title:"Regulatory status",items:[{q:"AlgoGains is not SEBI registered",a:"AlgoGains is not a SEBI-registered portfolio manager or investment adviser, and the crypto service described on this site is not a Portfolio Management Service under SEBI regulations. Nothing published here is investment advice, a recommendation, or a solicitation to invest.",detail:"Virtual digital assets are not a SEBI-regulated securities class in India. Investors have no recourse to SEBI investor-protection mechanisms in respect of this service. Legal entity name, registration details and final terms are pending legal review and will be published before client capital is accepted."},{q:"We do not sell software or licences",a:"We do not sell, licence or hand over trading software. We operate strategies inside your own exchange account under a trade-only API key and are paid a share of profit. Nothing on this site should be read as an offer of a software product."}]},{id:"risk",title:"Risk disclosure",items:[{q:"You can lose your entire capital",a:"Investing in virtual digital assets carries a high degree of risk, including the total loss of capital. Crypto markets are volatile, trade continuously, and can gap through a stop level. Never invest money you cannot afford to lose.",detail:"Specific risks include market and volatility risk, leverage and liquidation risk on perpetual contracts, funding-rate cost while positions are held, exchange counterparty and outage risk, API and technology failure, model risk where a strategy stops working as market character changes, and regulatory change affecting virtual digital assets in India."},{q:"The loss guards limit exposure, they do not remove it",a:"Position sizing, per-trade stops, the daily loss halt, the leverage ceiling and the outage failsafe are designed to cap how much a bad run can cost. They cannot guarantee a stop fills at the intended price, and they do not prevent losses."},{q:"We do not guarantee returns",a:"AlgoGains does not promise, project or guarantee any return. Any service that guarantees crypto returns is either misrepresenting risk or breaking the law. Our commitment is to process and disclosure, not outcome."}]},{id:"custody",title:"Custody and access",items:[{q:"Assets are custodied by Delta Exchange, not by AlgoGains",a:"Your funds remain in your own Delta Exchange account, opened in your name under your own KYC. AlgoGains is not a custodian, holds no client wallet, and has no withdrawal permission — that restriction is enforced by the exchange.",detail:"Exchange counterparty risk therefore sits with Delta Exchange. If the exchange fails, is hacked, or restricts withdrawals, your assets are exposed to that event and AlgoGains cannot make you whole."},{q:"You can revoke our access at any time",a:"The kill switch in your dashboard halts all trading immediately. Deleting the API key inside Delta Exchange revokes our access entirely, needs no approval from us, and takes effect at the exchange the moment you do it."}]},{id:"performance",title:"How we report performance",extra:"performance-policy",items:[{q:"The published record is a founder account, not a client return",a:"The performance shown on this site is from a founder's own live account on Delta Exchange, updated monthly with losing months included. It is not a composite of client accounts and is not indicative of what any client will achieve.",detail:"Client results differ by capital, start date, mandate, exchange fees and slippage. Past performance does not indicate future results. Until the first monthly update is published, the live figures on the homepage are shown as pending rather than filled with sample numbers."},{q:"We publish losing periods",a:"Monthly updates include drawdown alongside return. We do not restate, re-baseline, or quietly drop a bad month from the record, and we do not present backtested results as if they were live trading."},{q:"What each monthly update contains",a:`Five figures, every month: period return, the equity curve since inception, maximum drawdown, the count of months in loss against the total tracked, and the capital base. Updates publish ${jn.cadence.toLowerCase()}. The format is set out below so the numbers can be checked against it when they arrive.`,detail:"Publishing the format before the figures is deliberate. A track record you cannot audit the shape of is a marketing claim; one with a stated measurement basis, cadence and restatement policy is a record. The table below is that basis."}]},{id:"tax",title:"Tax treatment in India",items:[{q:"Gains on virtual digital assets are taxed at 30% with 1% TDS",a:"Under current Indian law, gains on virtual digital assets are taxed at 30%, transactions attract 1% TDS, and losses cannot be set off against other income or carried forward. Tax is your responsibility as the account holder.",detail:"We provide statements to support your ITR filing, and a tax pack for Managed clients. AlgoGains is not a tax adviser; confirm your own position with a qualified professional. Tax rules for virtual digital assets in India may change."}]}];function Jh(){return l.jsxs("div",{style:{marginTop:32,display:"flex",flexDirection:"column",gap:24},children:[l.jsx(ln,{caption:`Every figure in an AlgoGains monthly performance update, and how each one is measured. Source: ${jn.source}. Cadence: ${jn.cadence.toLowerCase()}.`,head:["Figure","How it is measured"],rows:jn.metrics.map(([a,c])=>[a,c])}),l.jsxs("div",{style:{background:d.white,border:"1px solid rgba(11,31,58,.1)",borderRadius:14,padding:"22px 24px"},children:[l.jsx("div",{style:{fontFamily:ue,fontSize:w.nano,letterSpacing:1.5,color:d.tealText,marginBottom:12},children:"WHAT WE COMMIT TO"}),l.jsx("ul",{style:{margin:0,paddingLeft:20,display:"flex",flexDirection:"column",gap:10,fontSize:w.bodySm,lineHeight:1.65,color:d.body},children:jn.rules.map(a=>l.jsx("li",{style:{textWrap:"pretty"},children:a},a))})]}),l.jsxs("p",{style:{margin:0,fontSize:w.bodySm,lineHeight:1.7,color:d.slate,maxWidth:ne.prose,textWrap:"pretty"},children:[l.jsx("strong",{style:{color:d.navy},children:"Status today:"})," the first monthly update has not been published yet, so no return, drawdown or equity figure appears anywhere on this site. The homepage shows the tracked account with its figures marked pending rather than filled with sample numbers. The inception date and the date of the first update publish here as soon as they are fixed."]})]})}function Zh(){return l.jsxs(l.Fragment,{children:[l.jsx(cn,{eyebrowText:"LEGAL & RISK",title:"What we are, what we are not, and what can go wrong.",intro:"This page states our regulatory position, the risks of the service, where custody sits, how we report performance, and how virtual digital assets are taxed in India. Final wording is pending legal review."}),l.jsx("section",{style:{background:d.paper,...it},children:l.jsxs("div",{style:{...de,maxWidth:860,display:"flex",flexDirection:"column",gap:56},children:[Xh.map(a=>l.jsxs("div",{id:a.id,children:[l.jsx("div",{style:je(d.tealText),children:a.title.toUpperCase()}),l.jsx("h2",{style:{margin:"0 0 28px",fontSize:w.h2Xs,fontWeight:800,letterSpacing:"-.8px",color:d.navy},children:a.title}),l.jsx("div",{style:{display:"flex",flexDirection:"column",gap:28},children:a.items.map(c=>l.jsx(Sl,{q:c.q,a:c.a,detail:c.detail},c.q))}),a.extra==="performance-policy"&&l.jsx(Jh,{})]},a.id)),l.jsx("div",{style:{background:d.white,border:"1px solid rgba(11,31,58,.1)",borderRadius:12,padding:"22px 24px"},children:l.jsxs("p",{style:{margin:0,fontSize:w.bodySm,lineHeight:1.7,color:d.slate,maxWidth:ne.prose,textWrap:"pretty"},children:["This page is a plain-language summary for prospective investors and does not replace the client agreement, which governs the relationship once you invest. Where the two differ, the agreement applies. Questions on any of it belong in a call before you connect an account — start with the"," ",l.jsx(ce,{className:"ag-link",to:"/faq",style:{color:d.tealText,fontWeight:600},children:"FAQ"}),"."]})})]})})]})}function eg(){return l.jsxs(l.Fragment,{children:[l.jsx(cn,{eyebrowText:"WRITING",title:"Notes on running money with rules.",intro:"Short pieces on what we do and why — custody, fees, the arithmetic of Indian crypto tax, and the things we got wrong. One idea each. No return predictions, because we do not make them."}),l.jsx("section",{style:{background:d.paper,...it},children:l.jsx("div",{style:{...de,maxWidth:800,display:"flex",flexDirection:"column",gap:4},children:$r.map(a=>l.jsxs("article",{style:{padding:"30px 0",borderBottom:"1px solid rgba(11,31,58,.1)",display:"flex",flexDirection:"column",gap:10},children:[l.jsxs("div",{style:{fontFamily:ue,fontSize:w.nano,letterSpacing:1.5,color:d.slate},children:[ld(a.publish.slice(0,10))," · ",a.author]}),l.jsx("h2",{style:{margin:0,fontSize:w.h3Fluid,fontWeight:800,letterSpacing:"-.6px",color:d.navy,textWrap:"balance"},children:l.jsx(ce,{className:"ag-link",to:Hr(a),style:{color:d.navy},children:a.title})}),l.jsx("p",{style:{margin:0,fontSize:w.body,lineHeight:1.65,color:d.slate,textWrap:"pretty"},children:a.summary}),l.jsx(ce,{className:"ag-link",to:Hr(a),style:{fontSize:w.ui,fontWeight:600,color:d.tealText},children:"Read it →"})]},a.slug))})})]})}const tg=/(`[^`]+`|\*\*[^*]+\*\*|\[[^\]]+\]\([^)]+\))/g;function ng(a,c){return a.split(tg).filter(Boolean).map((u,f)=>{const g=`${c}-${f}`;if(u.startsWith("`")&&u.endsWith("`"))return l.jsx("code",{style:{fontFamily:ue,fontSize:".9em",background:"rgba(11,31,58,.06)",padding:"2px 6px",borderRadius:4},children:u.slice(1,-1)},g);if(u.startsWith("**")&&u.endsWith("**"))return l.jsx("strong",{style:{color:d.navy},children:u.slice(2,-2)},g);const S=/^\[([^\]]+)\]\(([^)]+)\)$/.exec(u);if(S){const[,E,W]=S;return W.startsWith("/")?l.jsx(ce,{className:"ag-link",to:W,style:{color:d.tealText,fontWeight:600},children:E},g):l.jsx("a",{className:"ag-link",href:W,target:"_blank",rel:"noopener noreferrer",style:{color:d.tealText,fontWeight:600},children:E},g)}return l.jsx(_.Fragment,{children:u},g)})}function rg({body:a}){const c=a.split(/\n\s*\n/).map(u=>u.trim()).filter(Boolean);return l.jsx(l.Fragment,{children:c.map((u,f)=>l.jsx("p",{style:{margin:"0 0 22px",fontSize:w.bodyLg,lineHeight:1.75,color:d.body,maxWidth:ne.prose,textWrap:"pretty"},children:ng(u,String(f))},f))})}function ig(){const{slug:a}=qp(),c=a?zh(a):void 0;if(!c)return l.jsx("section",{style:{background:d.paper,...it},children:l.jsxs("div",{style:{...de,maxWidth:680},children:[l.jsx("div",{style:je(d.tealText),children:"NOT FOUND"}),l.jsx("h1",{style:{margin:"0 0 16px",fontSize:w.h2,fontWeight:800,letterSpacing:"-1px",color:d.navy},children:"That post does not exist."}),l.jsx("p",{style:{margin:"0 0 24px",fontSize:w.body,lineHeight:1.7,color:d.slate,maxWidth:ne.prose},children:"It may have been renamed. Everything we have written is listed on the writing page."}),l.jsx(ce,{className:"ag-link",to:"/blog",style:{fontSize:w.ui,fontWeight:600,color:d.tealText},children:"All posts →"})]})});const u=Wh(c);return l.jsxs(l.Fragment,{children:[l.jsx("section",{style:{background:so.head,padding:"64px clamp(20px,4vw,48px) 56px"},children:l.jsxs("div",{style:{...de,maxWidth:800},children:[l.jsx(ce,{className:"ag-link",to:"/blog",style:{fontFamily:ue,fontSize:w.nano,letterSpacing:1.5,color:d.cyan},children:"← WRITING"}),l.jsx("h1",{style:{margin:"18px 0 18px",fontSize:w.h1,lineHeight:1.12,fontWeight:800,letterSpacing:"-1.3px",color:d.white,textWrap:"balance"},children:c.title}),l.jsxs("div",{style:{fontFamily:ue,fontSize:w.micro,letterSpacing:1.2,color:d.gray},children:[c.authorUrl?l.jsx(ce,{className:"ag-link",to:c.authorUrl,style:{color:d.mist},children:c.author}):c.author," · ",l.jsx("time",{dateTime:c.publish.slice(0,10),children:ld(c.publish.slice(0,10))})]})]})}),l.jsx("section",{style:{background:d.paper,padding:"64px clamp(20px,4vw,48px) 80px"},children:l.jsxs("div",{style:{...de,maxWidth:800},children:[l.jsx(rg,{body:c.body}),l.jsxs("div",{style:{marginTop:44,paddingTop:28,borderTop:"1px solid rgba(11,31,58,.12)"},children:[l.jsxs("p",{style:{margin:"0 0 20px",fontSize:w.bodySm,lineHeight:1.7,color:d.slate,maxWidth:ne.prose,textWrap:"pretty"},children:["Nothing here is investment advice or a solicitation. AlgoGains is not a SEBI-registered portfolio manager or investment adviser. Crypto carries the risk of total loss of capital — the"," ",l.jsx(ce,{className:"ag-link",to:"/legal-and-risk",style:{color:d.tealText,fontWeight:600},children:"full risk disclosure"})," ","says so at length."]}),u.length>0&&l.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[l.jsx("div",{style:{fontFamily:ue,fontSize:w.nano,letterSpacing:1.5,color:d.slate},children:"ALSO"}),u.map(f=>l.jsxs(ce,{className:"ag-link",to:Hr(f),style:{fontSize:w.body,fontWeight:600,color:d.tealText},children:[f.title," →"]},f.slug))]})]})]})})]})}const ud=[["/",l.jsx(bh,{})],["/how-it-works",l.jsx(Bh,{})],["/pricing",l.jsx(Uh,{})],["/faq",l.jsx(Hh,{})],["/about",l.jsx(Vh,{})],["/india-crypto-tax",l.jsx(Qh,{})],["/glossary",l.jsx(Kh,{})],["/blog",l.jsx(eg,{})],["/blog/:slug",l.jsx(ig,{})],["/legal-and-risk",l.jsx(Zh,{})]];function og(){return l.jsx(dh,{children:l.jsxs(io,{element:l.jsx(Mh,{}),children:[ud.map(([a,c])=>l.jsx(io,{path:a,element:c},a)),l.jsx(io,{path:"*",element:l.jsx(sh,{to:"/",replace:!0})})]})})}const ro=document.getElementById("root"),Oc=l.jsx(bc.StrictMode,{children:l.jsx(vh,{children:l.jsx(og,{})})}),ag=new Set([...ud.map(([a])=>a).filter(a=>!a.includes(":")),...$r.map(a=>Hr(a))]),lg=window.location.pathname.replace(/\/+$/,"")||"/";ro.hasChildNodes()&&ag.has(lg)?Cc.hydrateRoot(ro,Oc):(ro.innerHTML="",Cc.createRoot(ro).render(Oc));