PageSourceSearch

https://ecash.com/assets/index-DuoyfDm1.js

js ecash.com collected 2026-09-29 12:14:21 UTC 556,178 bytes, 523 lines download raw bytes

vendor: 5,726 bytes, lines 1-9
1var xu=Object.defineProperty;var el=e=>{throw TypeError(e)};var gu=(e,t,n)=>t in e?xu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Q=(e,t,n)=>gu(e,typeof t!="symbol"?t+"":t,n),yu=(e,t,n)=>t.has(e)||el("Cannot "+n);var tl=(e,t,n)=>t.has(e)?el("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);var Lr=(e,t,n)=>(yu(e,t,"access private method"),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function i(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();function vu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Lc={exports:{}},Fi={},Ac={exports:{}},$={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var Sr=Symbol.for("react.element"),wu=Symbol.for("react.portal"),bu=Symbol.for("react.fragment"),ku=Symbol.for("react.strict_mode"),ju=Symbol.for("react.profiler"),Su=Symbol.for("react.provider"),Cu=Symbol.for("react.context"),Tu=Symbol.for("react.forward_ref"),_u=Symbol.for("react.suspense"),Bu=Symbol.for("react.memo"),Eu=Symbol.for("react.lazy"),nl=Symbol.iterator;function zu(e){return e===null||typeof e!="object"?null:(e=nl&&e[nl]||e["@@iterator"],typeof e=="function"?e:null)}var Ic={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Pc=Object.assign,Rc={};function Ln(e,t,n){this.props=e,this.context=t,this.refs=Rc,this.updater=n||Ic}Ln.prototype.isReactComponent={};Ln.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ln.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Dc(){}Dc.prototype=Ln.prototype;function qa(e,t,n){this.props=e,this.context=t,this.refs=Rc,this.updater=n||Ic}var Ka=qa.prototype=new Dc;Ka.constructor=qa;Pc(Ka,Ln.prototype);Ka.isPureReactComponent=!0;var rl=Array.isArray,Mc=Object.prototype.hasOwnProperty,Ya={current:null},Wc={key:!0,ref:!0,__self:!0,__source:!0};function $c(e,t,n){var i,o={},a=null,s=null;if(t!=null)for(i in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(a=""+t.key),t)Mc.call(t,i)&&!Wc.hasOwnProperty(i)&&(o[i]=t[i]);var c=arguments.length-2;if(c===1)o.children=n;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(i in c=e.defaultProps,c)o[i]===void 0&&(o[i]=c[i]);return{$$typeof:Sr,type:e,key:a,ref:s,props:o,_owner:Ya.current}}function Nu(e,t){return{$$typeof:Sr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Qa(e){return typeof e=="object"&&e!==null&&e.$$typeof===Sr}function Lu(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var il=/\/+/g;function ao(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Lu(""+e.key):t.toString(36)}function ei(e,t,n,i,o){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(a){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Sr:case wu:s=!0}}if(s)return s=e,o=o(s),e=i===""?"."+ao(s,0):i,rl(o)?(n="",e!=null&&(n=e.replace(il,"$&/")+"/"),ei(o,t,n,"",function(u){return u})):o!=null&&(Qa(o)&&(o=Nu(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(il,"$&/")+"/")+e)),t.push(o)),1;if(s=0,i=i===""?".":i+":",rl(e))for(var c=0;c<e.length;c++){a=e[c];var l=i+ao(a,c);s+=ei(a,t,n,l,o)}else if(l=zu(e),typeof l=="function")for(e=l.call(e),c=0;!(a=e.next()).done;)a=a.value,l=i+ao(a,c++),s+=ei(a,t,n,l,o);else if(a==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function Ar(e,t,n){if(e==null)return e;var i=[],o=0;return ei(e,i,"","",function(a){return t.call(n,a,o++)}),i}function Au(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var be={current:null},ti={transition:null},Iu={ReactCurrentDispatcher:be,ReactCurrentBatchConfig:ti,ReactCurrentOwner:Ya};function Fc(){throw Error("act(...) is not supported in production builds of React.")}$.Children={map:Ar,forEach:function(e,t,n){Ar(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ar(e,function(){t++}),t},toArray:function(e){return Ar(e,function(t){return t})||[]},only:function(e){if(!Qa(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};$.Component=Ln;$.Fragment=bu;$.Profiler=ju;$.PureComponent=qa;$.StrictMode=ku;$.Suspense=_u;
vendor: 4,648 bytes, lines 9-25
9$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Iu;$.act=Fc;$.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=Pc({},e.props),o=e.key,a=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,s=Ya.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in t)Mc.call(t,l)&&!Wc.hasOwnProperty(l)&&(i[l]=t[l]===void 0&&c!==void 0?c[l]:t[l])}var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}return{$$typeof:Sr,type:e.type,key:o,ref:a,props:i,_owner:s}};$.createContext=function(e){return e={$$typeof:Cu,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Su,_context:e},e.Consumer=e};$.createElement=$c;$.createFactory=function(e){var t=$c.bind(null,e);return t.type=e,t};$.createRef=function(){return{current:null}};$.forwardRef=function(e){return{$$typeof:Tu,render:e}};$.isValidElement=Qa;$.lazy=function(e){return{$$typeof:Eu,_payload:{_status:-1,_result:e},_init:Au}};$.memo=function(e,t){return{$$typeof:Bu,type:e,compare:t===void 0?null:t}};$.startTransition=function(e){var t=ti.transition;ti.transition={};try{e()}finally{ti.transition=t}};$.unstable_act=Fc;$.useCallback=function(e,t){return be.current.useCallback(e,t)};$.useContext=function(e){return be.current.useContext(e)};$.useDebugValue=function(){};$.useDeferredValue=function(e){return be.current.useDeferredValue(e)};$.useEffect=function(e,t){return be.current.useEffect(e,t)};$.useId=function(){return be.current.useId()};$.useImperativeHandle=function(e,t,n){return be.current.useImperativeHandle(e,t,n)};$.useInsertionEffect=function(e,t){return be.current.useInsertionEffect(e,t)};$.useLayoutEffect=function(e,t){return be.current.useLayoutEffect(e,t)};$.useMemo=function(e,t){return be.current.useMemo(e,t)};$.useReducer=function(e,t,n){return be.current.useReducer(e,t,n)};$.useRef=function(e){return be.current.useRef(e)};$.useState=function(e){return be.current.useState(e)};$.useSyncExternalStore=function(e,t,n){return be.current.useSyncExternalStore(e,t,n)};$.useTransition=function(){return be.current.useTransition()};$.version="18.3.1";Ac.exports=$;var ot=Ac.exports;const C=vu(ot);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var Pu=ot,Ru=Symbol.for("react.element"),Du=Symbol.for("react.fragment"),Mu=Object.prototype.hasOwnProperty,Wu=Pu.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,$u={key:!0,ref:!0,__self:!0,__source:!0};function Oc(e,t,n){var i,o={},a=null,s=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(s=t.ref);for(i in t)Mu.call(t,i)&&!$u.hasOwnProperty(i)&&(o[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps,t)o[i]===void 0&&(o[i]=t[i]);return{$$typeof:Ru,type:e,key:a,ref:s,props:o,_owner:Wu.current}}Fi.Fragment=Du;Fi.jsx=Oc;Fi.jsxs=Oc;Lc.exports=Fi;var r=Lc.exports,Ko={},Hc={exports:{}},Ae={},Xc={exports:{}},Uc={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(N,L){var R=N.length;N.push(L);e:for(;0<R;){var K=R-1>>>1,M=N[K];if(0<o(M,L))N[K]=L,N[R]=M,R=K;else break e}}function n(N){return N.length===0?null:N[0]}function i(N){if(N.length===0)return null;var L=N[0],R=N.pop();if(R!==L){N[0]=R;e:for(var K=0,M=N.length,mt=M>>>1;K<mt;){var Rt=2*(K+1)-1,oo=N[Rt],Dt=Rt+1,Nr=N[Dt];if(0>o(oo,R))Dt<M&&0>o(Nr,oo)?(N[K]=Nr,N[Dt]=R,K=Dt):(N[K]=oo,N[Rt]=R,K=Rt);else if(Dt<M&&0>o(Nr,R))N[K]=Nr,N[Dt]=R,K=Dt;else break e}}return L}function o(N,L){var R=N.sortIndex-L.sortIndex;return R!==0?R:N.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,c=s.now();e.unstable_now=function(){return s.now()-c}}var l=[],u=[],x=1,g=null,f=3,b=!1,v=!1,y=!1,k=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(N){for(var L=n(u);
vendor: 9,519 bytes, lines 25-34
25L!==null;){if(L.callback===null)i(u);else if(L.startTime<=N)i(u),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(u)}}function h(N){if(y=!1,d(N),!v)if(n(l)!==null)v=!0,W(w);else{var L=n(u);L!==null&&q(h,L.startTime-N)}}function w(N,L){v=!1,y&&(y=!1,m(T),T=-1),b=!0;var R=f;try{for(d(L),g=n(l);g!==null&&(!(g.expirationTime>L)||N&&!P());){var K=g.callback;if(typeof K=="function"){g.callback=null,f=g.priorityLevel;var M=K(g.expirationTime<=L);L=e.unstable_now(),typeof M=="function"?g.callback=M:g===n(l)&&i(l),d(L)}else i(l);g=n(l)}if(g!==null)var mt=!0;else{var Rt=n(u);Rt!==null&&q(h,Rt.startTime-L),mt=!1}return mt}finally{g=null,f=R,b=!1}}var j=!1,_=null,T=-1,A=5,S=-1;function P(){return!(e.unstable_now()-S<A)}function D(){if(_!==null){var N=e.unstable_now();S=N;var L=!0;try{L=_(!0,N)}finally{L?O():(j=!1,_=null)}}else j=!1}var O;if(typeof p=="function")O=function(){p(D)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,z=ie.port2;ie.port1.onmessage=D,O=function(){z.postMessage(null)}}else O=function(){k(D,0)};function W(N){_=N,j||(j=!0,O())}function q(N,L){T=k(function(){N(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(N){N.callback=null},e.unstable_continueExecution=function(){v||b||(v=!0,W(w))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(N){switch(f){case 1:case 2:case 3:var L=3;break;default:L=f}var R=f;f=L;try{return N()}finally{f=R}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,L){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var R=f;f=N;try{return L()}finally{f=R}},e.unstable_scheduleCallback=function(N,L,R){var K=e.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?K+R:K):R=K,N){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=R+M,N={id:x++,callback:L,priorityLevel:N,startTime:R,expirationTime:M,sortIndex:-1},R>K?(N.sortIndex=R,t(u,N),n(l)===null&&N===n(u)&&(y?(m(T),T=-1):y=!0,q(h,R-K))):(N.sortIndex=M,t(l,N),v||b||(v=!0,W(w))),N},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(N){var L=f;return function(){var R=f;f=L;try{return N.apply(this,arguments)}finally{f=R}}}})(Uc);Xc.exports=Uc;var Fu=Xc.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var Ou=ot,Le=Fu;function B(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Vc=new Set,sr={};function Zt(e,t){Cn(e,t),Cn(e+"Capture",t)}function Cn(e,t){for(sr[e]=t,e=0;e<t.length;e++)Vc.add(t[e])}var dt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Yo=Object.prototype.hasOwnProperty,Hu=/^[: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]*$/,ol={},al={};function Xu(e){return Yo.call(al,e)?!0:Yo.call(ol,e)?!1:Hu.test(e)?al[e]=!0:(ol[e]=!0,!1)}function Uu(e,t,n,i){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return i?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Vu(e,t,n,i){if(t===null||typeof t>"u"||Uu(e,t,n,i))return!0;if(i)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 ke(e,t,n,i,o,a,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=i,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=s}var he={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){he[e]=new ke(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];he[t]=new ke(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){he[e]=new ke(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){he[e]=new ke(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){he[e]=new ke(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){he[e]=new ke(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){he[e]=new ke(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){he[e]=new ke(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){he[e]=new ke(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ga=/[\-:]([a-z])/g;function Za(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(Ga,Za);he[t]=new ke(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(Ga,Za);he[t]=new ke(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(Ga,Za);he[t]=new ke(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){he[e]=new ke(e,1,!1,e.toLowerCase(),null,!1,!1)});he.xlinkHref=new ke("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){he[e]=new ke(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ja(e,t,n,i){var o=he.hasOwnProperty(t)?he[t]:null;(o!==null?o.type!==0:i||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Vu(t,n,o,i)&&(n=null),i||o===null?Xu(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,i=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,i?e.setAttributeNS(i,t,n):e.setAttribute(t,n))))}var ft=Ou.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ir=Symbol.for("react.element"),rn=Symbol.for("react.portal"),on=Symbol.for("react.fragment"),es=Symbol.for("react.strict_mode"),Qo=Symbol.for("react.profiler"),qc=Symbol.for("react.provider"),Kc=Symbol.for("react.context"),ts=Symbol.for("react.forward_ref"),Go=Symbol.for("react.suspense"),Zo=Symbol.for("react.suspense_list"),ns=Symbol.for("react.memo"),gt=Symbol.for("react.lazy"),Yc=Symbol.for("react.offscreen"),sl=Symbol.iterator;function Pn(e){return e===null||typeof e!="object"?null:(e=sl&&e[sl]||e["@@iterator"],typeof e=="function"?e:null)}var ne=Object.assign,so;function Vn(e){if(so===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);so=t&&t[1]||""}return`
34`+so+e}var lo=!1;function co(e,t){if(!e||lo)return"";lo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var i=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){i=u}e.call(t.prototype)}else{try{throw Error()}catch(u){i=u}e()}}
vendor: 5,608 bytes, lines 34-37
34catch(u){if(u&&i&&typeof u.stack=="string"){for(var o=u.stack.split(`
35`),a=i.stack.split(`
36`),s=o.length-1,c=a.length-1;1<=s&&0<=c&&o[s]!==a[c];)c--;for(;1<=s&&0<=c;s--,c--)if(o[s]!==a[c]){if(s!==1||c!==1)do if(s--,c--,0>c||o[s]!==a[c]){var l=`
37`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=c);break}}}finally{lo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vn(e):""}function qu(e){switch(e.tag){case 5:return Vn(e.type);case 16:return Vn("Lazy");case 13:return Vn("Suspense");case 19:return Vn("SuspenseList");case 0:case 2:case 15:return e=co(e.type,!1),e;case 11:return e=co(e.type.render,!1),e;case 1:return e=co(e.type,!0),e;default:return""}}function Jo(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 on:return"Fragment";case rn:return"Portal";case Qo:return"Profiler";case es:return"StrictMode";case Go:return"Suspense";case Zo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Kc:return(e.displayName||"Context")+".Consumer";case qc:return(e._context.displayName||"Context")+".Provider";case ts:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ns:return t=e.displayName||null,t!==null?t:Jo(e.type)||"Memo";case gt:t=e._payload,e=e._init;try{return Jo(e(t))}catch{}}return null}function Ku(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 Jo(t);case 8:return t===es?"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 Nt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Qc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Yu(e){var t=Qc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){i=""+s,a.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(s){i=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Pr(e){e._valueTracker||(e._valueTracker=Yu(e))}function Gc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=Qc(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function ui(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 ea(e,t){var n=t.checked;return ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ll(e,t){var n=t.defaultValue==null?"":t.defaultValue,i=t.checked!=null?t.checked:t.defaultChecked;n=Nt(t.value!=null?t.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Zc(e,t){t=t.checked,t!=null&&Ja(e,"checked",t,!1)}function ta(e,t){Zc(e,t);var n=Nt(t.value),i=t.type;if(n!=null)i==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(i==="submit"||i==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?na(e,t.type,n):t.hasOwnProperty("defaultValue")&&na(e,t.type,Nt(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 i=t.type;if(!(i!=="submit"&&i!=="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 na(e,t,n){(t!=="number"||ui(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var qn=Array.isArray;function xn(e,t,n,i){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&i&&(e[n].defaultSelected=!0)}else{for(n=""+Nt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,i&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function ra(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(B(91));return ne({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function dl(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(B(92));if(qn(n)){if(1<n.length)throw Error(B(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Nt(n)}}
vendor: 9,069 bytes, line 37
37function Jc(e,t){var n=Nt(t.value),i=Nt(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),i!=null&&(e.defaultValue=""+i)}function pl(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ed(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ia(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ed(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Rr,td=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,i,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Rr=Rr||document.createElement("div"),Rr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Rr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function lr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Qn={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},Qu=["Webkit","ms","Moz","O"];Object.keys(Qn).forEach(function(e){Qu.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qn[t]=Qn[e]})});function nd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Qn.hasOwnProperty(e)&&Qn[e]?(""+t).trim():t+"px"}function rd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var i=n.indexOf("--")===0,o=nd(n,t[n],i);n==="float"&&(n="cssFloat"),i?e.setProperty(n,o):e[n]=o}}var Gu=ne({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 oa(e,t){if(t){if(Gu[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(B(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(B(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(B(61))}if(t.style!=null&&typeof t.style!="object")throw Error(B(62))}}function aa(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 sa=null;function rs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var la=null,gn=null,yn=null;function ul(e){if(e=_r(e)){if(typeof la!="function")throw Error(B(280));var t=e.stateNode;t&&(t=Vi(t),la(e.stateNode,e.type,t))}}function id(e){gn?yn?yn.push(e):yn=[e]:gn=e}function od(){if(gn){var e=gn,t=yn;if(yn=gn=null,ul(e),t)for(e=0;e<t.length;e++)ul(t[e])}}function ad(e,t){return e(t)}function sd(){}var po=!1;function ld(e,t,n){if(po)return e(t,n);po=!0;try{return ad(e,t,n)}finally{po=!1,(gn!==null||yn!==null)&&(sd(),od())}}function cr(e,t){var n=e.stateNode;if(n===null)return null;var i=Vi(n);if(i===null)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(B(231,t,typeof n));return n}var ca=!1;if(dt)try{var Rn={};Object.defineProperty(Rn,"passive",{get:function(){ca=!0}}),window.addEventListener("test",Rn,Rn),window.removeEventListener("test",Rn,Rn)}catch{ca=!1}function Zu(e,t,n,i,o,a,s,c,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(x){this.onError(x)}}var Gn=!1,hi=null,fi=!1,da=null,Ju={onError:function(e){Gn=!0,hi=e}};function eh(e,t,n,i,o,a,s,c,l){Gn=!1,hi=null,Zu.apply(Ju,arguments)}function th(e,t,n,i,o,a,s,c,l){if(eh.apply(this,arguments),Gn){if(Gn){var u=hi;Gn=!1,hi=null}else throw Error(B(198));fi||(fi=!0,da=u)}}function Jt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function cd(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function hl(e){if(Jt(e)!==e)throw Error(B(188))}function nh(e){var t=e.alternate;if(!t){if(t=Jt(e),t===null)throw Error(B(188));return t!==e?null:e}for(var n=e,i=t;;){var o=n.return;if(o===null)break;var a=o.alternate;if(a===null){if(i=o.return,i!==null){n=i;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return hl(o),e;if(a===i)return hl(o),t;a=a.sibling}throw Error(B(188))}if(n.return!==i.return)n=o,i=a;else{for(var s=!1,c=o.child;c;){if(c===n){s=!0,n=o,i=a;break}if(c===i){s=!0,i=o,n=a;break}c=c.sibling}if(!s){for(c=a.child;c;){if(c===n){s=!0,n=a,i=o;break}if(c===i){s=!0,i=a,n=o;break}c=c.sibling}if(!s)throw Error(B(189))}}if(n.alternate!==i)throw Error(B(190))}if(n.tag!==3)throw Error(B(188));return n.stateNode.current===n?e:t}function dd(e){return e=nh(e),e!==null?pd(e):null}function pd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=pd(e);if(t!==null)return t;e=e.sibling}return null}var ud=Le.unstable_scheduleCallback,fl=Le.unstable_cancelCallback,rh=Le.unstable_shouldYield,ih=Le.unstable_requestPaint,oe=Le.unstable_now,oh=Le.unstable_getCurrentPriorityLevel,is=Le.unstable_ImmediatePriority,hd=Le.unstable_UserBlockingPriority,mi=Le.unstable_NormalPriority,ah=Le.unstable_LowPriority,fd=Le.unstable_IdlePriority,Oi=null,nt=null;function sh(e){if(nt&&typeof nt.onCommitFiberRoot=="function")try{nt.onCommitFiberRoot(Oi,e,void 0,(e.current.flags&128)===128)}catch{}}var Ue=Math.clz32?Math.clz32:dh,lh=Math.log,ch=Math.LN2;function dh(e){return e>>>=0,e===0?32:31-(lh(e)/ch|0)|0}var Dr=64,Mr=4194304;function Kn(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 xi(e,t){var n=e.pendingLanes;if(n===0)return 0;var i=0,o=e.suspendedLanes,a=e.pingedLanes,s=n&268435455;if(s!==0){var c=s&~o;c!==0?i=Kn(c):(a&=s,a!==0&&(i=Kn(a)))}else s=n&~o,s!==0?i=Kn(s):a!==0&&(i=Kn(a));if(i===0)return 0;if(t!==0&&t!==i&&!(t&o)&&(o=i&-i,a=t&-t,o>=a||o===16&&(a&4194240)!==0))return t;if(i&4&&(i|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=i;0<t;)n=31-Ue(t),o=1<<n,i|=e[n],t&=~o;return i}function ph(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function uh(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var s=31-Ue(a),c=1<<s,l=o[s];l===-1?(!(c&n)||c&i)&&(o[s]=ph(c,t)):l<=t&&(e.expiredLanes|=c),a&=~c}}function pa(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function md(){var e=Dr;return Dr<<=1,!(Dr&4194240)&&(Dr=64),e}function uo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Cr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ue(t),e[t]=n}function hh(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 i=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Ue(n),a=1<<o;t[o]=0,i[o]=-1,e[o]=-1,n&=~a}}function os(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-Ue(n),o=1<<i;o&t|e[i]&t&&(e[i]|=t),n&=~o}}var U=0;function xd(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}
vendor: 4,790 bytes, line 37
37var gd,as,yd,vd,wd,ua=!1,Wr=[],jt=null,St=null,Ct=null,dr=new Map,pr=new Map,vt=[],fh="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ml(e,t){switch(e){case"focusin":case"focusout":jt=null;break;case"dragenter":case"dragleave":St=null;break;case"mouseover":case"mouseout":Ct=null;break;case"pointerover":case"pointerout":dr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":pr.delete(t.pointerId)}}function Dn(e,t,n,i,o,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:a,targetContainers:[o]},t!==null&&(t=_r(t),t!==null&&as(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function mh(e,t,n,i,o){switch(t){case"focusin":return jt=Dn(jt,e,t,n,i,o),!0;case"dragenter":return St=Dn(St,e,t,n,i,o),!0;case"mouseover":return Ct=Dn(Ct,e,t,n,i,o),!0;case"pointerover":var a=o.pointerId;return dr.set(a,Dn(dr.get(a)||null,e,t,n,i,o)),!0;case"gotpointercapture":return a=o.pointerId,pr.set(a,Dn(pr.get(a)||null,e,t,n,i,o)),!0}return!1}function bd(e){var t=$t(e.target);if(t!==null){var n=Jt(t);if(n!==null){if(t=n.tag,t===13){if(t=cd(n),t!==null){e.blockedOn=t,wd(e.priority,function(){yd(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ni(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ha(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n);sa=i,n.target.dispatchEvent(i),sa=null}else return t=_r(n),t!==null&&as(t),e.blockedOn=n,!1;t.shift()}return!0}function xl(e,t,n){ni(e)&&n.delete(t)}function xh(){ua=!1,jt!==null&&ni(jt)&&(jt=null),St!==null&&ni(St)&&(St=null),Ct!==null&&ni(Ct)&&(Ct=null),dr.forEach(xl),pr.forEach(xl)}function Mn(e,t){e.blockedOn===t&&(e.blockedOn=null,ua||(ua=!0,Le.unstable_scheduleCallback(Le.unstable_NormalPriority,xh)))}function ur(e){function t(o){return Mn(o,e)}if(0<Wr.length){Mn(Wr[0],e);for(var n=1;n<Wr.length;n++){var i=Wr[n];i.blockedOn===e&&(i.blockedOn=null)}}for(jt!==null&&Mn(jt,e),St!==null&&Mn(St,e),Ct!==null&&Mn(Ct,e),dr.forEach(t),pr.forEach(t),n=0;n<vt.length;n++)i=vt[n],i.blockedOn===e&&(i.blockedOn=null);for(;0<vt.length&&(n=vt[0],n.blockedOn===null);)bd(n),n.blockedOn===null&&vt.shift()}var vn=ft.ReactCurrentBatchConfig,gi=!0;function gh(e,t,n,i){var o=U,a=vn.transition;vn.transition=null;try{U=1,ss(e,t,n,i)}finally{U=o,vn.transition=a}}function yh(e,t,n,i){var o=U,a=vn.transition;vn.transition=null;try{U=4,ss(e,t,n,i)}finally{U=o,vn.transition=a}}function ss(e,t,n,i){if(gi){var o=ha(e,t,n,i);if(o===null)ko(e,t,i,yi,n),ml(e,i);else if(mh(o,e,t,n,i))i.stopPropagation();else if(ml(e,i),t&4&&-1<fh.indexOf(e)){for(;o!==null;){var a=_r(o);if(a!==null&&gd(a),a=ha(e,t,n,i),a===null&&ko(e,t,i,yi,n),a===o)break;o=a}o!==null&&i.stopPropagation()}else ko(e,t,i,null,n)}}var yi=null;function ha(e,t,n,i){if(yi=null,e=rs(i),e=$t(e),e!==null)if(t=Jt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=cd(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return yi=e,null}function kd(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(oh()){case is:return 1;case hd:return 4;case mi:case ah:return 16;case fd:return 536870912;default:return 16}default:return 16}}var bt=null,ls=null,ri=null;
vendor: 9,898 bytes, line 37
37function jd(){if(ri)return ri;var e,t=ls,n=t.length,i,o="value"in bt?bt.value:bt.textContent,a=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(i=1;i<=s&&t[n-i]===o[a-i];i++);return ri=o.slice(e,1<i?1-i:void 0)}function ii(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function $r(){return!0}function gl(){return!1}function Ie(e){function t(n,i,o,a,s){this._reactName=n,this._targetInst=o,this.type=i,this.nativeEvent=a,this.target=s,this.currentTarget=null;for(var c in e)e.hasOwnProperty(c)&&(n=e[c],this[c]=n?n(a):a[c]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?$r:gl,this.isPropagationStopped=gl,this}return ne(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=$r)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=$r)},persist:function(){},isPersistent:$r}),t}var An={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cs=Ie(An),Tr=ne({},An,{view:0,detail:0}),vh=Ie(Tr),ho,fo,Wn,Hi=ne({},Tr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ds,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Wn&&(Wn&&e.type==="mousemove"?(ho=e.screenX-Wn.screenX,fo=e.screenY-Wn.screenY):fo=ho=0,Wn=e),ho)},movementY:function(e){return"movementY"in e?e.movementY:fo}}),yl=Ie(Hi),wh=ne({},Hi,{dataTransfer:0}),bh=Ie(wh),kh=ne({},Tr,{relatedTarget:0}),mo=Ie(kh),jh=ne({},An,{animationName:0,elapsedTime:0,pseudoElement:0}),Sh=Ie(jh),Ch=ne({},An,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Th=Ie(Ch),_h=ne({},An,{data:0}),vl=Ie(_h),Bh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Eh={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},zh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Nh(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=zh[e])?!!t[e]:!1}function ds(){return Nh}var Lh=ne({},Tr,{key:function(e){if(e.key){var t=Bh[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ii(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Eh[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ds,charCode:function(e){return e.type==="keypress"?ii(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ii(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ah=Ie(Lh),Ih=ne({},Hi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),wl=Ie(Ih),Ph=ne({},Tr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ds}),Rh=Ie(Ph),Dh=ne({},An,{propertyName:0,elapsedTime:0,pseudoElement:0}),Mh=Ie(Dh),Wh=ne({},Hi,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),$h=Ie(Wh),Fh=[9,13,27,32],ps=dt&&"CompositionEvent"in window,Zn=null;dt&&"documentMode"in document&&(Zn=document.documentMode);var Oh=dt&&"TextEvent"in window&&!Zn,Sd=dt&&(!ps||Zn&&8<Zn&&11>=Zn),bl=" ",kl=!1;function Cd(e,t){switch(e){case"keyup":return Fh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Td(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var an=!1;function Hh(e,t){switch(e){case"compositionend":return Td(t);case"keypress":return t.which!==32?null:(kl=!0,bl);case"textInput":return e=t.data,e===bl&&kl?null:e;default:return null}}function Xh(e,t){if(an)return e==="compositionend"||!ps&&Cd(e,t)?(e=jd(),ri=ls=bt=null,an=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Sd&&t.locale!=="ko"?null:t.data;default:return null}}var Uh={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function jl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Uh[e.type]:t==="textarea"}function _d(e,t,n,i){id(i),t=vi(t,"onChange"),0<t.length&&(n=new cs("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var Jn=null,hr=null;function Vh(e){Md(e,0)}function Xi(e){var t=cn(e);if(Gc(t))return e}function qh(e,t){if(e==="change")return t}var Bd=!1;if(dt){var xo;if(dt){var go="oninput"in document;if(!go){var Sl=document.createElement("div");Sl.setAttribute("oninput","return;"),go=typeof Sl.oninput=="function"}xo=go}else xo=!1;Bd=xo&&(!document.documentMode||9<document.documentMode)}function Cl(){Jn&&(Jn.detachEvent("onpropertychange",Ed),hr=Jn=null)}function Ed(e){if(e.propertyName==="value"&&Xi(hr)){var t=[];_d(t,hr,e,rs(e)),ld(Vh,t)}}function Kh(e,t,n){e==="focusin"?(Cl(),Jn=t,hr=n,Jn.attachEvent("onpropertychange",Ed)):e==="focusout"&&Cl()}function Yh(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Xi(hr)}function Qh(e,t){if(e==="click")return Xi(t)}function Gh(e,t){if(e==="input"||e==="change")return Xi(t)}function Zh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var qe=typeof Object.is=="function"?Object.is:Zh;function fr(e,t){if(qe(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var o=n[i];if(!Yo.call(t,o)||!qe(e[o],t[o]))return!1}return!0}function Tl(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function _l(e,t){var n=Tl(e);e=0;for(var i;n;){if(n.nodeType===3){if(i=e+n.textContent.length,e<=t&&i>=t)return{node:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Tl(n)}}function zd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?zd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Nd(){for(var e=window,t=ui();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ui(e.document)}return t}function us(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 Jh(e){var t=Nd(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&zd(n.ownerDocument.documentElement,n)){if(i!==null&&us(n)){if(t=i.start,e=i.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(i.start,o);i=i.end===void 0?a:Math.min(i.end,o),!e.extend&&a>i&&(o=i,i=a,a=o),o=_l(n,a);var s=_l(n,i);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),a>i?(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<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var ef=dt&&"documentMode"in document&&11>=document.documentMode,sn=null,fa=null,er=null,ma=!1;function Bl(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ma||sn==null||sn!==ui(i)||(i=sn,"selectionStart"in i&&us(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),er&&fr(er,i)||(er=i,i=vi(fa,"onSelect"),0<i.length&&(t=new cs("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=sn)))}function Fr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ln={animationend:Fr("Animation","AnimationEnd"),animationiteration:Fr("Animation","AnimationIteration"),animationstart:Fr("Animation","AnimationStart"),transitionend:Fr("Transition","TransitionEnd")},yo={},Ld={};dt&&(Ld=document.createElement("div").style,"AnimationEvent"in window||(delete ln.animationend.animation,delete ln.animationiteration.animation,delete ln.animationstart.animation),"TransitionEvent"in window||delete ln.transitionend.transition);function Ui(e){if(yo[e])return yo[e];
vendor: 5,099 bytes, line 37
37if(!ln[e])return e;var t=ln[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ld)return yo[e]=t[n];return e}var Ad=Ui("animationend"),Id=Ui("animationiteration"),Pd=Ui("animationstart"),Rd=Ui("transitionend"),Dd=new Map,El="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function At(e,t){Dd.set(e,t),Zt(t,[e])}for(var vo=0;vo<El.length;vo++){var wo=El[vo],tf=wo.toLowerCase(),nf=wo[0].toUpperCase()+wo.slice(1);At(tf,"on"+nf)}At(Ad,"onAnimationEnd");At(Id,"onAnimationIteration");At(Pd,"onAnimationStart");At("dblclick","onDoubleClick");At("focusin","onFocus");At("focusout","onBlur");At(Rd,"onTransitionEnd");Cn("onMouseEnter",["mouseout","mouseover"]);Cn("onMouseLeave",["mouseout","mouseover"]);Cn("onPointerEnter",["pointerout","pointerover"]);Cn("onPointerLeave",["pointerout","pointerover"]);Zt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Zt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Zt("onBeforeInput",["compositionend","keypress","textInput","paste"]);Zt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Zt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Zt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),rf=new Set("cancel close invalid load scroll toggle".split(" ").concat(Yn));function zl(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,th(i,t,void 0,e),e.currentTarget=null}function Md(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var i=e[n],o=i.event;i=i.listeners;e:{var a=void 0;if(t)for(var s=i.length-1;0<=s;s--){var c=i[s],l=c.instance,u=c.currentTarget;if(c=c.listener,l!==a&&o.isPropagationStopped())break e;zl(o,c,u),a=l}else for(s=0;s<i.length;s++){if(c=i[s],l=c.instance,u=c.currentTarget,c=c.listener,l!==a&&o.isPropagationStopped())break e;zl(o,c,u),a=l}}}if(fi)throw e=da,fi=!1,da=null,e}function G(e,t){var n=t[wa];n===void 0&&(n=t[wa]=new Set);var i=e+"__bubble";n.has(i)||(Wd(t,e,2,!1),n.add(i))}function bo(e,t,n){var i=0;t&&(i|=4),Wd(n,e,i,t)}var Or="_reactListening"+Math.random().toString(36).slice(2);function mr(e){if(!e[Or]){e[Or]=!0,Vc.forEach(function(n){n!=="selectionchange"&&(rf.has(n)||bo(n,!1,e),bo(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Or]||(t[Or]=!0,bo("selectionchange",!1,t))}}function Wd(e,t,n,i){switch(kd(t)){case 1:var o=gh;break;case 4:o=yh;break;default:o=ss}n=o.bind(null,t,n,e),o=void 0,!ca||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),i?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function ko(e,t,n,i,o){var a=i;if(!(t&1)&&!(t&2)&&i!==null)e:for(;;){if(i===null)return;var s=i.tag;if(s===3||s===4){var c=i.stateNode.containerInfo;if(c===o||c.nodeType===8&&c.parentNode===o)break;if(s===4)for(s=i.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;s=s.return}for(;c!==null;){if(s=$t(c),s===null)return;if(l=s.tag,l===5||l===6){i=a=s;continue e}c=c.parentNode}}i=i.return}ld(function(){var u=a,x=rs(n),g=[];e:{var f=Dd.get(e);if(f!==void 0){var b=cs,v=e;switch(e){case"keypress":if(ii(n)===0)break e;case"keydown":case"keyup":b=Ah;break;case"focusin":v="focus",b=mo;break;case"focusout":v="blur",b=mo;break;case"beforeblur":case"afterblur":b=mo;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":b=yl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=bh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=Rh;break;case Ad:case Id:case Pd:b=Sh;break;case Rd:b=Mh;break;case"scroll":b=vh;break;case"wheel":b=$h;break;case"copy":case"cut":case"paste":b=Th;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=wl}var y=(t&4)!==0,k=!y&&e==="scroll",m=y?f!==null?f+"Capture":null:f;y=[];for(var p=u,d;p!==null;){d=p;var h=d.stateNode;
vendor: 7,489 bytes, lines 37-38
37if(d.tag===5&&h!==null&&(d=h,m!==null&&(h=cr(p,m),h!=null&&y.push(xr(p,h,d)))),k)break;p=p.return}0<y.length&&(f=new b(f,v,null,n,x),g.push({event:f,listeners:y}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",b=e==="mouseout"||e==="pointerout",f&&n!==sa&&(v=n.relatedTarget||n.fromElement)&&($t(v)||v[pt]))break e;if((b||f)&&(f=x.window===x?x:(f=x.ownerDocument)?f.defaultView||f.parentWindow:window,b?(v=n.relatedTarget||n.toElement,b=u,v=v?$t(v):null,v!==null&&(k=Jt(v),v!==k||v.tag!==5&&v.tag!==6)&&(v=null)):(b=null,v=u),b!==v)){if(y=yl,h="onMouseLeave",m="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(y=wl,h="onPointerLeave",m="onPointerEnter",p="pointer"),k=b==null?f:cn(b),d=v==null?f:cn(v),f=new y(h,p+"leave",b,n,x),f.target=k,f.relatedTarget=d,h=null,$t(x)===u&&(y=new y(m,p+"enter",v,n,x),y.target=d,y.relatedTarget=k,h=y),k=h,b&&v)t:{for(y=b,m=v,p=0,d=y;d;d=tn(d))p++;for(d=0,h=m;h;h=tn(h))d++;for(;0<p-d;)y=tn(y),p--;for(;0<d-p;)m=tn(m),d--;for(;p--;){if(y===m||m!==null&&y===m.alternate)break t;y=tn(y),m=tn(m)}y=null}else y=null;b!==null&&Nl(g,f,b,y,!1),v!==null&&k!==null&&Nl(g,k,v,y,!0)}}e:{if(f=u?cn(u):window,b=f.nodeName&&f.nodeName.toLowerCase(),b==="select"||b==="input"&&f.type==="file")var w=qh;else if(jl(f))if(Bd)w=Gh;else{w=Yh;var j=Kh}else(b=f.nodeName)&&b.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(w=Qh);if(w&&(w=w(e,u))){_d(g,w,n,x);break e}j&&j(e,f,u),e==="focusout"&&(j=f._wrapperState)&&j.controlled&&f.type==="number"&&na(f,"number",f.value)}switch(j=u?cn(u):window,e){case"focusin":(jl(j)||j.contentEditable==="true")&&(sn=j,fa=u,er=null);break;case"focusout":er=fa=sn=null;break;case"mousedown":ma=!0;break;case"contextmenu":case"mouseup":case"dragend":ma=!1,Bl(g,n,x);break;case"selectionchange":if(ef)break;case"keydown":case"keyup":Bl(g,n,x)}var _;if(ps)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else an?Cd(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(Sd&&n.locale!=="ko"&&(an||T!=="onCompositionStart"?T==="onCompositionEnd"&&an&&(_=jd()):(bt=x,ls="value"in bt?bt.value:bt.textContent,an=!0)),j=vi(u,T),0<j.length&&(T=new vl(T,e,null,n,x),g.push({event:T,listeners:j}),_?T.data=_:(_=Td(n),_!==null&&(T.data=_)))),(_=Oh?Hh(e,n):Xh(e,n))&&(u=vi(u,"onBeforeInput"),0<u.length&&(x=new vl("onBeforeInput","beforeinput",null,n,x),g.push({event:x,listeners:u}),x.data=_))}Md(g,t)})}function xr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function vi(e,t){for(var n=t+"Capture",i=[];e!==null;){var o=e,a=o.stateNode;o.tag===5&&a!==null&&(o=a,a=cr(e,n),a!=null&&i.unshift(xr(e,a,o)),a=cr(e,t),a!=null&&i.push(xr(e,a,o))),e=e.return}return i}function tn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Nl(e,t,n,i,o){for(var a=t._reactName,s=[];n!==null&&n!==i;){var c=n,l=c.alternate,u=c.stateNode;if(l!==null&&l===i)break;c.tag===5&&u!==null&&(c=u,o?(l=cr(n,a),l!=null&&s.unshift(xr(n,l,c))):o||(l=cr(n,a),l!=null&&s.push(xr(n,l,c)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var of=/\r\n?/g,af=/\u0000|\uFFFD/g;function Ll(e){return(typeof e=="string"?e:""+e).replace(of,`
38`).replace(af,"")}function Hr(e,t,n){if(t=Ll(t),Ll(e)!==t&&n)throw Error(B(425))}function wi(){}var xa=null,ga=null;function ya(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var va=typeof setTimeout=="function"?setTimeout:void 0,sf=typeof clearTimeout=="function"?clearTimeout:void 0,Al=typeof Promise=="function"?Promise:void 0,lf=typeof queueMicrotask=="function"?queueMicrotask:typeof Al<"u"?function(e){return Al.resolve(null).then(e).catch(cf)}:va;function cf(e){setTimeout(function(){throw e})}function jo(e,t){var n=t,i=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(i===0){e.removeChild(o),ur(t);return}i--}else n!=="$"&&n!=="$?"&&n!=="$!"||i++;n=o}while(n);ur(t)}function Tt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Il(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var In=Math.random().toString(36).slice(2),Ze="__reactFiber$"+In,gr="__reactProps$"+In,pt="__reactContainer$"+In,wa="__reactEvents$"+In,df="__reactListeners$"+In,pf="__reactHandles$"+In;function $t(e){var t=e[Ze];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pt]||n[Ze]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Il(e);e!==null;){if(n=e[Ze])return n;e=Il(e)}return t}e=n,n=e.parentNode}return null}function _r(e){return e=e[Ze]||e[pt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function cn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(B(33))}function Vi(e){return e[gr]||null}var ba=[],dn=-1;function It(e){return{current:e}}function Z(e){0>dn||(e.current=ba[dn],ba[dn]=null,dn--)}function Y(e,t){dn++,ba[dn]=e.current,e.current=t}var Lt={},ye=It(Lt),Ce=It(!1),Ut=Lt;function Tn(e,t){var n=e.type.contextTypes;if(!n)return Lt;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in n)o[a]=t[a];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Te(e){return e=e.childContextTypes,e!=null}function bi(){Z(Ce),Z(ye)}function Pl(e,t,n){if(ye.current!==Lt)throw Error(B(168));Y(ye,t),Y(Ce,n)}function $d(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!="function")return n;i=i.getChildContext();for(var o in i)if(!(o in t))throw Error(B(108,Ku(e)||"Unknown",o));return ne({},n,i)}function ki(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Lt,Ut=ye.current,Y(ye,e),Y(Ce,Ce.current),!0}function Rl(e,t,n){var i=e.stateNode;if(!i)throw Error(B(169));n?(e=$d(e,t,Ut),i.__reactInternalMemoizedMergedChildContext=e,Z(Ce),Z(ye),Y(ye,e)):Z(Ce),Y(Ce,n)}var at=null,qi=!1,So=!1;function Fd(e){at===null?at=[e]:at.push(e)}function uf(e){qi=!0,Fd(e)}function Pt(){if(!So&&at!==null){So=!0;var e=0,t=U;try{var n=at;for(U=1;e<n.length;e++){var i=n[e];do i=i(!0);while(i!==null)}at=null,qi=!1}catch(o){throw at!==null&&(at=at.slice(e+1)),ud(is,Pt),o}finally{U=t,So=!1}}return null}var pn=[],un=0,ji=null,Si=0,Pe=[],Re=0,Vt=null,st=1,lt="";function Mt(e,t){pn[un++]=Si,pn[un++]=ji,ji=e,Si=t}function Od(e,t,n){Pe[Re++]=st,Pe[Re++]=lt,Pe[Re++]=Vt,Vt=e;var i=st;e=lt;var o=32-Ue(i)-1;i&=~(1<<o),n+=1;var a=32-Ue(t)+o;if(30<a){var s=o-o%5;a=(i&(1<<s)-1).toString(32),i>>=s,o-=s,st=1<<32-Ue(t)+o|n<<o|i,lt=a+e}else st=1<<a|n<<o|i,lt=e}function hs(e){e.return!==null&&(Mt(e,1),Od(e,1,0))}function fs(e){for(;e===ji;)ji=pn[--un],pn[un]=null,Si=pn[--un],pn[un]=null;for(;e===Vt;)Vt=Pe[--Re],Pe[Re]=null,lt=Pe[--Re],Pe[Re]=null,st=Pe[--Re],Pe[Re]=null}var Ne=null,ze=null,J=!1,Xe=null;function Hd(e,t){var n=De(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Dl(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 1,205 bytes, line 38
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ne=e,ze=Tt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ne=e,ze=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Vt!==null?{id:st,overflow:lt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=De(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ne=e,ze=null,!0):!1;default:return!1}}function ka(e){return(e.mode&1)!==0&&(e.flags&128)===0}function ja(e){if(J){var t=ze;if(t){var n=t;if(!Dl(e,t)){if(ka(e))throw Error(B(418));t=Tt(n.nextSibling);var i=Ne;t&&Dl(e,t)?Hd(i,n):(e.flags=e.flags&-4097|2,J=!1,Ne=e)}}else{if(ka(e))throw Error(B(418));e.flags=e.flags&-4097|2,J=!1,Ne=e}}}function Ml(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ne=e}function Xr(e){if(e!==Ne)return!1;if(!J)return Ml(e),J=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ya(e.type,e.memoizedProps)),t&&(t=ze)){if(ka(e))throw Xd(),Error(B(418));for(;t;)Hd(e,t),t=Tt(t.nextSibling)}if(Ml(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(B(317)
vendor: 11,583 bytes, line 38
38);e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ze=Tt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ze=null}}else ze=Ne?Tt(e.stateNode.nextSibling):null;return!0}function Xd(){for(var e=ze;e;)e=Tt(e.nextSibling)}function _n(){ze=Ne=null,J=!1}function ms(e){Xe===null?Xe=[e]:Xe.push(e)}var hf=ft.ReactCurrentBatchConfig;function $n(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(B(309));var i=n.stateNode}if(!i)throw Error(B(147,e));var o=i,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(s){var c=o.refs;s===null?delete c[a]:c[a]=s},t._stringRef=a,t)}if(typeof e!="string")throw Error(B(284));if(!n._owner)throw Error(B(290,e))}return e}function Ur(e,t){throw e=Object.prototype.toString.call(t),Error(B(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Wl(e){var t=e._init;return t(e._payload)}function Ud(e){function t(m,p){if(e){var d=m.deletions;d===null?(m.deletions=[p],m.flags|=16):d.push(p)}}function n(m,p){if(!e)return null;for(;p!==null;)t(m,p),p=p.sibling;return null}function i(m,p){for(m=new Map;p!==null;)p.key!==null?m.set(p.key,p):m.set(p.index,p),p=p.sibling;return m}function o(m,p){return m=zt(m,p),m.index=0,m.sibling=null,m}function a(m,p,d){return m.index=d,e?(d=m.alternate,d!==null?(d=d.index,d<p?(m.flags|=2,p):d):(m.flags|=2,p)):(m.flags|=1048576,p)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function c(m,p,d,h){return p===null||p.tag!==6?(p=No(d,m.mode,h),p.return=m,p):(p=o(p,d),p.return=m,p)}function l(m,p,d,h){var w=d.type;return w===on?x(m,p,d.props.children,h,d.key):p!==null&&(p.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===gt&&Wl(w)===p.type)?(h=o(p,d.props),h.ref=$n(m,p,d),h.return=m,h):(h=pi(d.type,d.key,d.props,null,m.mode,h),h.ref=$n(m,p,d),h.return=m,h)}function u(m,p,d,h){return p===null||p.tag!==4||p.stateNode.containerInfo!==d.containerInfo||p.stateNode.implementation!==d.implementation?(p=Lo(d,m.mode,h),p.return=m,p):(p=o(p,d.children||[]),p.return=m,p)}function x(m,p,d,h,w){return p===null||p.tag!==7?(p=Xt(d,m.mode,h,w),p.return=m,p):(p=o(p,d),p.return=m,p)}function g(m,p,d){if(typeof p=="string"&&p!==""||typeof p=="number")return p=No(""+p,m.mode,d),p.return=m,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Ir:return d=pi(p.type,p.key,p.props,null,m.mode,d),d.ref=$n(m,null,p),d.return=m,d;case rn:return p=Lo(p,m.mode,d),p.return=m,p;case gt:var h=p._init;return g(m,h(p._payload),d)}if(qn(p)||Pn(p))return p=Xt(p,m.mode,d,null),p.return=m,p;Ur(m,p)}return null}function f(m,p,d,h){var w=p!==null?p.key:null;if(typeof d=="string"&&d!==""||typeof d=="number")return w!==null?null:c(m,p,""+d,h);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Ir:return d.key===w?l(m,p,d,h):null;case rn:return d.key===w?u(m,p,d,h):null;case gt:return w=d._init,f(m,p,w(d._payload),h)}if(qn(d)||Pn(d))return w!==null?null:x(m,p,d,h,null);Ur(m,d)}return null}function b(m,p,d,h,w){if(typeof h=="string"&&h!==""||typeof h=="number")return m=m.get(d)||null,c(p,m,""+h,w);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Ir:return m=m.get(h.key===null?d:h.key)||null,l(p,m,h,w);case rn:return m=m.get(h.key===null?d:h.key)||null,u(p,m,h,w);case gt:var j=h._init;return b(m,p,d,j(h._payload),w)}if(qn(h)||Pn(h))return m=m.get(d)||null,x(p,m,h,w,null);Ur(p,h)}return null}function v(m,p,d,h){for(var w=null,j=null,_=p,T=p=0,A=null;_!==null&&T<d.length;T++){_.index>T?(A=_,_=null):A=_.sibling;var S=f(m,_,d[T],h);if(S===null){_===null&&(_=A);break}e&&_&&S.alternate===null&&t(m,_),p=a(S,p,T),j===null?w=S:j.sibling=S,j=S,_=A}if(T===d.length)return n(m,_),J&&Mt(m,T),w;if(_===null){for(;T<d.length;T++)_=g(m,d[T],h),_!==null&&(p=a(_,p,T),j===null?w=_:j.sibling=_,j=_);return J&&Mt(m,T),w}for(_=i(m,_);T<d.length;T++)A=b(_,m,T,d[T],h),A!==null&&(e&&A.alternate!==null&&_.delete(A.key===null?T:A.key),p=a(A,p,T),j===null?w=A:j.sibling=A,j=A);return e&&_.forEach(function(P){return t(m,P)}),J&&Mt(m,T),w}function y(m,p,d,h){var w=Pn(d);if(typeof w!="function")throw Error(B(150));if(d=w.call(d),d==null)throw Error(B(151));for(var j=w=null,_=p,T=p=0,A=null,S=d.next();_!==null&&!S.done;T++,S=d.next()){_.index>T?(A=_,_=null):A=_.sibling;var P=f(m,_,S.value,h);if(P===null){_===null&&(_=A);break}e&&_&&P.alternate===null&&t(m,_),p=a(P,p,T),j===null?w=P:j.sibling=P,j=P,_=A}if(S.done)return n(m,_),J&&Mt(m,T),w;if(_===null){for(;!S.done;T++,S=d.next())S=g(m,S.value,h),S!==null&&(p=a(S,p,T),j===null?w=S:j.sibling=S,j=S);return J&&Mt(m,T),w}for(_=i(m,_);!S.done;T++,S=d.next())S=b(_,m,T,S.value,h),S!==null&&(e&&S.alternate!==null&&_.delete(S.key===null?T:S.key),p=a(S,p,T),j===null?w=S:j.sibling=S,j=S);return e&&_.forEach(function(D){return t(m,D)}),J&&Mt(m,T),w}function k(m,p,d,h){if(typeof d=="object"&&d!==null&&d.type===on&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case Ir:e:{for(var w=d.key,j=p;j!==null;){if(j.key===w){if(w=d.type,w===on){if(j.tag===7){n(m,j.sibling),p=o(j,d.props.children),p.return=m,m=p;break e}}else if(j.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===gt&&Wl(w)===j.type){n(m,j.sibling),p=o(j,d.props),p.ref=$n(m,j,d),p.return=m,m=p;break e}n(m,j);break}else t(m,j);j=j.sibling}d.type===on?(p=Xt(d.props.children,m.mode,h,d.key),p.return=m,m=p):(h=pi(d.type,d.key,d.props,null,m.mode,h),h.ref=$n(m,p,d),h.return=m,m=h)}return s(m);case rn:e:{for(j=d.key;p!==null;){if(p.key===j)if(p.tag===4&&p.stateNode.containerInfo===d.containerInfo&&p.stateNode.implementation===d.implementation){n(m,p.sibling),p=o(p,d.children||[]),p.return=m,m=p;break e}else{n(m,p);break}else t(m,p);p=p.sibling}p=Lo(d,m.mode,h),p.return=m,m=p}return s(m);case gt:return j=d._init,k(m,p,j(d._payload),h)}if(qn(d))return v(m,p,d,h);if(Pn(d))return y(m,p,d,h);Ur(m,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,p!==null&&p.tag===6?(n(m,p.sibling),p=o(p,d),p.return=m,m=p):(n(m,p),p=No(d,m.mode,h),p.return=m,m=p),s(m)):n(m,p)}return k}var Bn=Ud(!0),Vd=Ud(!1),Ci=It(null),Ti=null,hn=null,xs=null;function gs(){xs=hn=Ti=null}function ys(e){var t=Ci.current;Z(Ci),e._currentValue=t}function Sa(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function wn(e,t){Ti=e,xs=hn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Se=!0),e.firstContext=null)}function We(e){var t=e._currentValue;if(xs!==e)if(e={context:e,memoizedValue:t,next:null},hn===null){if(Ti===null)throw Error(B(308));hn=e,Ti.dependencies={lanes:0,firstContext:e}}else hn=hn.next=e;return t}var Ft=null;function vs(e){Ft===null?Ft=[e]:Ft.push(e)}function qd(e,t,n,i){var o=t.interleaved;return o===null?(n.next=n,vs(t)):(n.next=o.next,o.next=n),t.interleaved=n,ut(e,i)}function ut(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 yt=!1;function ws(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Kd(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 ct(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function _t(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,H&2){var o=i.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),i.pending=t,ut(e,n)}return o=i.interleaved,o===null?(t.next=t,vs(i)):(t.next=o.next,o.next=t),i.interleaved=t,ut(e,n)}function oi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,os(e,n)}}function $l(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var o=null,a=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};a===null?o=a=s:a=a.next=s,n=n.next}while(n!==null);a===null?o=a=t:a=a.next=t}else o=a=t;n={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:i.shared,effects:i.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function _i(e,t,n,i){var o=e.updateQueue;yt=!1;var a=o.firstBaseUpdate,s=o.lastBaseUpdate,c=o.shared.pending;if(c!==null){o.shared.pending=null;var l=c,u=l.next;l.next=null,s===null?a=u:s.next=u,s=l;var x=e.alternate;x!==null&&(x=x.updateQueue,c=x.lastBaseUpdate,c!==s&&(c===null?x.firstBaseUpdate=u:c.next=u,x.lastBaseUpdate=l))}if(a!==null){var g=o.baseState;s=0,x=u=l=null,c=a;do{var f=c.lane,b=c.eventTime;if((i&f)===f){x!==null&&(x=x.next={eventTime:b,lane:0,tag:c.tag,payload:c.payload,callback:c.callback,next:null});e:{var v=e,y=c;switch(f=t,b=n,y.tag){case 1:if(v=y.payload,typeof v=="function"){g=v.call(b,g,f);break e}g=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=y.payload,f=typeof v=="function"?v.call(b,g,f):v,f==null)break e;g=ne({},g,f);break e;case 2:yt=!0}}c.callback!==null&&c.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[c]:f.push(c))}else b={eventTime:b,lane:f,tag:c.tag,payload:c.payload,callback:c.callback,next:null},x===null?(u=x=b,l=g):x=x.next=b,s|=f;if(c=c.next,c===null){if(c=o.shared.pending,c===null)break;f=c,c=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(x===null&&(l=g),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=x,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else a===null&&(o.shared.lanes=0);Kt|=s,e.lanes=s,e.memoizedState=g}}function Fl(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],o=i.callback;if(o!==null){if(i.callback=null,i=n,typeof o!="function")throw Error(B(191,o));o.call(i)}}}var Br={},rt=It(Br),yr=It(Br),vr=It(Br);function Ot(e){if(e===Br)throw Error(B(174));return e}function bs(e,t){switch(Y(vr,t),Y(yr,e),Y(rt,Br),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ia(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ia(t,e)}Z(rt),Y(rt,t)}function En(){Z(rt),Z(yr),Z(vr)}function Yd(e){Ot(vr.current);var t=Ot(rt.current),n=ia(t,e.type);t!==n&&(Y(yr,e),Y(rt,n))}function ks(e){yr.current===e&&(Z(rt),Z(yr))}var ee=It(0);function Bi(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Co=[];function js(){for(var e=0;e<Co.length;e++)Co[e]._workInProgressVersionPrimary=null;Co.length=0}var ai=ft.ReactCurrentDispatcher,To=ft.ReactCurrentBatchConfig,qt=0,te=null,se=null,ce=null,Ei=!1,tr=!1,wr=0,ff=0;function fe(){throw Error(B(321))}function Ss(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!qe(e[n],t[n]))return!1;return!0}function Cs(e,t,n,i,o,a){if(qt=a,te=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ai.current=e===null||e.memoizedState===null?yf:vf,e=n(i,o),tr){a=0;
vendor: 8,205 bytes, line 38
38do{if(tr=!1,wr=0,25<=a)throw Error(B(301));a+=1,ce=se=null,t.updateQueue=null,ai.current=wf,e=n(i,o)}while(tr)}if(ai.current=zi,t=se!==null&&se.next!==null,qt=0,ce=se=te=null,Ei=!1,t)throw Error(B(300));return e}function Ts(){var e=wr!==0;return wr=0,e}function Qe(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ce===null?te.memoizedState=ce=e:ce=ce.next=e,ce}function $e(){if(se===null){var e=te.alternate;e=e!==null?e.memoizedState:null}else e=se.next;var t=ce===null?te.memoizedState:ce.next;if(t!==null)ce=t,se=e;else{if(e===null)throw Error(B(310));se=e,e={memoizedState:se.memoizedState,baseState:se.baseState,baseQueue:se.baseQueue,queue:se.queue,next:null},ce===null?te.memoizedState=ce=e:ce=ce.next=e}return ce}function br(e,t){return typeof t=="function"?t(e):t}function _o(e){var t=$e(),n=t.queue;if(n===null)throw Error(B(311));n.lastRenderedReducer=e;var i=se,o=i.baseQueue,a=n.pending;if(a!==null){if(o!==null){var s=o.next;o.next=a.next,a.next=s}i.baseQueue=o=a,n.pending=null}if(o!==null){a=o.next,i=i.baseState;var c=s=null,l=null,u=a;do{var x=u.lane;if((qt&x)===x)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),i=u.hasEagerState?u.eagerState:e(i,u.action);else{var g={lane:x,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(c=l=g,s=i):l=l.next=g,te.lanes|=x,Kt|=x}u=u.next}while(u!==null&&u!==a);l===null?s=i:l.next=c,qe(i,t.memoizedState)||(Se=!0),t.memoizedState=i,t.baseState=s,t.baseQueue=l,n.lastRenderedState=i}if(e=n.interleaved,e!==null){o=e;do a=o.lane,te.lanes|=a,Kt|=a,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Bo(e){var t=$e(),n=t.queue;if(n===null)throw Error(B(311));n.lastRenderedReducer=e;var i=n.dispatch,o=n.pending,a=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do a=e(a,s.action),s=s.next;while(s!==o);qe(a,t.memoizedState)||(Se=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,i]}function Qd(){}function Gd(e,t){var n=te,i=$e(),o=t(),a=!qe(i.memoizedState,o);if(a&&(i.memoizedState=o,Se=!0),i=i.queue,_s(ep.bind(null,n,i,e),[e]),i.getSnapshot!==t||a||ce!==null&&ce.memoizedState.tag&1){if(n.flags|=2048,kr(9,Jd.bind(null,n,i,o,t),void 0,null),de===null)throw Error(B(349));qt&30||Zd(n,t,o)}return o}function Zd(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=te.updateQueue,t===null?(t={lastEffect:null,stores:null},te.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Jd(e,t,n,i){t.value=n,t.getSnapshot=i,tp(t)&&np(e)}function ep(e,t,n){return n(function(){tp(t)&&np(e)})}function tp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!qe(e,n)}catch{return!0}}function np(e){var t=ut(e,1);t!==null&&Ve(t,e,1,-1)}function Ol(e){var t=Qe();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:br,lastRenderedState:e},t.queue=e,e=e.dispatch=gf.bind(null,te,e),[t.memoizedState,e]}function kr(e,t,n,i){return e={tag:e,create:t,destroy:n,deps:i,next:null},t=te.updateQueue,t===null?(t={lastEffect:null,stores:null},te.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e)),e}function rp(){return $e().memoizedState}function si(e,t,n,i){var o=Qe();te.flags|=e,o.memoizedState=kr(1|t,n,void 0,i===void 0?null:i)}function Ki(e,t,n,i){var o=$e();i=i===void 0?null:i;var a=void 0;if(se!==null){var s=se.memoizedState;if(a=s.destroy,i!==null&&Ss(i,s.deps)){o.memoizedState=kr(t,n,a,i);return}}te.flags|=e,o.memoizedState=kr(1|t,n,a,i)}function Hl(e,t){return si(8390656,8,e,t)}function _s(e,t){return Ki(2048,8,e,t)}function ip(e,t){return Ki(4,2,e,t)}function op(e,t){return Ki(4,4,e,t)}function ap(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function sp(e,t,n){return n=n!=null?n.concat([e]):null,Ki(4,4,ap.bind(null,t,e),n)}function Bs(){}function lp(e,t){var n=$e();t=t===void 0?null:t;var i=n.memoizedState;return i!==null&&t!==null&&Ss(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function cp(e,t){var n=$e();t=t===void 0?null:t;var i=n.memoizedState;return i!==null&&t!==null&&Ss(t,i[1])?i[0]:(e=e(),n.memoizedState=[e,t],e)}function dp(e,t,n){return qt&21?(qe(n,t)||(n=md(),te.lanes|=n,Kt|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Se=!0),e.memoizedState=n)}function mf(e,t){var n=U;U=n!==0&&4>n?n:4,e(!0);var i=To.transition;To.transition={};try{e(!1),t()}finally{U=n,To.transition=i}}function pp(){return $e().memoizedState}function xf(e,t,n){var i=Et(e);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},up(e))hp(t,n);else if(n=qd(e,t,n,i),n!==null){var o=we();Ve(n,e,i,o),fp(n,t,i)}}function gf(e,t,n){var i=Et(e),o={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(up(e))hp(t,o);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var s=t.lastRenderedState,c=a(s,n);if(o.hasEagerState=!0,o.eagerState=c,qe(c,s)){var l=t.interleaved;l===null?(o.next=o,vs(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=qd(e,t,o,i),n!==null&&(o=we(),Ve(n,e,i,o),fp(n,t,i))}}function up(e){var t=e.alternate;return e===te||t!==null&&t===te}function hp(e,t){tr=Ei=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fp(e,t,n){if(n&4194240){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,os(e,n)}}var zi={readContext:We,useCallback:fe,useContext:fe,useEffect:fe,useImperativeHandle:fe,useInsertionEffect:fe,useLayoutEffect:fe,useMemo:fe,useReducer:fe,useRef:fe,useState:fe,useDebugValue:fe,useDeferredValue:fe,useTransition:fe,useMutableSource:fe,useSyncExternalStore:fe,useId:fe,unstable_isNewReconciler:!1},yf={readContext:We,useCallback:function(e,t){return Qe().memoizedState=[e,t===void 0?null:t],e},useContext:We,useEffect:Hl,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,si(4194308,4,ap.bind(null,t,e),n)},useLayoutEffect:function(e,t){return si(4194308,4,e,t)},useInsertionEffect:function(e,t){return si(4,2,e,t)},useMemo:function(e,t){var n=Qe();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=Qe();return t=n!==void 0?n(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=xf.bind(null,te,e),[i.memoizedState,e]},useRef:function(e){var t=Qe();return e={current:e},t.memoizedState=e},useState:Ol,useDebugValue:Bs,useDeferredValue:function(e){return Qe().memoizedState=e},useTransition:function(){var e=Ol(!1),t=e[0];return e=mf.bind(null,e[1]),Qe().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=te,o=Qe();if(J){if(n===void 0)throw Error(B(407));n=n()}else{if(n=t(),de===null)throw Error(B(349));qt&30||Zd(i,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Hl(ep.bind(null,i,a,e),[e]),i.flags|=2048,kr(9,Jd.bind(null,i,a,n,t),void 0,null),n},useId:function(){var e=Qe(),t=de.identifierPrefix;if(J){var n=lt,i=st;n=(i&~(1<<32-Ue(i)-1)).toString(32)+n,t=":"+t+"R"+n,n=wr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=ff++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},vf={readContext:We,useCallback:lp,useContext:We,useEffect:_s,useImperativeHandle:sp,useInsertionEffect:ip,useLayoutEffect:op,useMemo:cp,useReducer:_o,useRef:rp,useState:function(){return _o(br)},useDebugValue:Bs,useDeferredValue:function(e){var t=$e();return dp(t,se.memoizedState,e)},useTransition:function(){var e=_o(br)[0],t=$e().memoizedState;return[e,t]},useMutableSource:Qd,useSyncExternalStore:Gd,useId:pp,unstable_isNewReconciler:!1},wf={readContext:We,useCallback:lp,useContext:We,useEffect:_s,useImperativeHandle:sp,useInsertionEffect:ip,useLayoutEffect:op,useMemo:cp,useReducer:Bo,useRef:rp,useState:function(){return Bo(br)},useDebugValue:Bs,useDeferredValue:function(e){var t=$e();return se===null?t.memoizedState=e:dp(t,se.memoizedState,e)}
vendor: 5,808 bytes, lines 38-40
38,useTransition:function(){var e=Bo(br)[0],t=$e().memoizedState;return[e,t]},useMutableSource:Qd,useSyncExternalStore:Gd,useId:pp,unstable_isNewReconciler:!1};function Oe(e,t){if(e&&e.defaultProps){t=ne({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ca(e,t,n,i){t=e.memoizedState,n=n(i,t),n=n==null?t:ne({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Yi={isMounted:function(e){return(e=e._reactInternals)?Jt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var i=we(),o=Et(e),a=ct(i,o);a.payload=t,n!=null&&(a.callback=n),t=_t(e,a,o),t!==null&&(Ve(t,e,o,i),oi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=we(),o=Et(e),a=ct(i,o);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=_t(e,a,o),t!==null&&(Ve(t,e,o,i),oi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=we(),i=Et(e),o=ct(n,i);o.tag=2,t!=null&&(o.callback=t),t=_t(e,o,i),t!==null&&(Ve(t,e,i,n),oi(t,e,i))}};function Xl(e,t,n,i,o,a,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,a,s):t.prototype&&t.prototype.isPureReactComponent?!fr(n,i)||!fr(o,a):!0}function mp(e,t,n){var i=!1,o=Lt,a=t.contextType;return typeof a=="object"&&a!==null?a=We(a):(o=Te(t)?Ut:ye.current,i=t.contextTypes,a=(i=i!=null)?Tn(e,o):Lt),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Yi,e.stateNode=t,t._reactInternals=e,i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Ul(e,t,n,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&Yi.enqueueReplaceState(t,t.state,null)}function Ta(e,t,n,i){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},ws(e);var a=t.contextType;typeof a=="object"&&a!==null?o.context=We(a):(a=Te(t)?Ut:ye.current,o.context=Tn(e,a)),o.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(Ca(e,t,a,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Yi.enqueueReplaceState(o,o.state,null),_i(e,n,o,i),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function zn(e,t){try{var n="",i=t;do n+=qu(i),i=i.return;while(i);var o=n}catch(a){o=`
39Error generating stack: `+a.message+`
40`+a.stack}return{value:e,source:t,stack:o,digest:null}}function Eo(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function _a(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var bf=typeof WeakMap=="function"?WeakMap:Map;function xp(e,t,n){n=ct(-1,n),n.tag=3,n.payload={element:null};var i=t.value;return n.callback=function(){Li||(Li=!0,Da=i),_a(e,t)},n}function gp(e,t,n){n=ct(-1,n),n.tag=3;var i=e.type.getDerivedStateFromError;if(typeof i=="function"){var o=t.value;n.payload=function(){return i(o)},n.callback=function(){_a(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){_a(e,t),typeof i!="function"&&(Bt===null?Bt=new Set([this]):Bt.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Vl(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new bf;var o=new Set;i.set(t,o)}else o=i.get(t),o===void 0&&(o=new Set,i.set(t,o));o.has(n)||(o.add(n),e=Pf.bind(null,e,t,n),t.then(e,e))}function ql(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Kl(e,t,n,i,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=ct(-1,1),t.tag=2,_t(n,t,1))),n.lanes|=1),e)}var kf=ft.ReactCurrentOwner,Se=!1;function ve(e,t,n,i){t.child=e===null?Vd(t,null,n,i):Bn(t,e.child,n,i)}function Yl(e,t,n,i,o){n=n.render;var a=t.ref;return wn(t,o),i=Cs(e,t,n,i,a,o),n=Ts(),e!==null&&!Se?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ht(e,t,o)):(J&&n&&hs(t),t.flags|=1,ve(e,t,i,o),t.child)}function Ql(e,t,n,i,o){if(e===null){var a=n.type;return typeof a=="function"&&!Rs(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,yp(e,t,a,i,o)):(e=pi(n.type,null,i,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&o)){var s=a.memoizedProps;if(n=n.compare,n=n!==null?n:fr,n(s,i)&&e.ref===t.ref)return ht(e,t,o)}return t.flags|=1,e=zt(a,i),e.ref=t.ref,e.return=t,t.child=e}function yp(e,t,n,i,o){if(e!==null){var a=e.memoizedProps;if(fr(a,i)&&e.ref===t.ref)if(Se=!1,t.pendingProps=i=a,(e.lanes&o)!==0)e.flags&131072&&(Se=!0);else return t.lanes=e.lanes,ht(e,t,o)}return Ba(e,t,n,i,o)}function vp(e,t,n){var i=t.pendingProps,o=i.children,a=e!==null?e.memoizedState:null;if(i.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Y(mn,Be),Be|=n;else{if(!(n&1073741824))return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Y(mn,Be),Be|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=a!==null?a.baseLanes:n,Y(mn,Be),Be|=i}else a!==null?(i=a.baseLanes|n,t.memoizedState=null):i=n,Y(mn,Be),Be|=i;return ve(e,t,o,n),t.child}function wp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 6,959 bytes, line 40
40function Ba(e,t,n,i,o){var a=Te(n)?Ut:ye.current;return a=Tn(t,a),wn(t,o),n=Cs(e,t,n,i,a,o),i=Ts(),e!==null&&!Se?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ht(e,t,o)):(J&&i&&hs(t),t.flags|=1,ve(e,t,n,o),t.child)}function Gl(e,t,n,i,o){if(Te(n)){var a=!0;ki(t)}else a=!1;if(wn(t,o),t.stateNode===null)li(e,t),mp(t,n,i),Ta(t,n,i,o),i=!0;else if(e===null){var s=t.stateNode,c=t.memoizedProps;s.props=c;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=We(u):(u=Te(n)?Ut:ye.current,u=Tn(t,u));var x=n.getDerivedStateFromProps,g=typeof x=="function"||typeof s.getSnapshotBeforeUpdate=="function";g||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(c!==i||l!==u)&&Ul(t,s,i,u),yt=!1;var f=t.memoizedState;s.state=f,_i(t,i,s,o),l=t.memoizedState,c!==i||f!==l||Ce.current||yt?(typeof x=="function"&&(Ca(t,n,x,i),l=t.memoizedState),(c=yt||Xl(t,n,c,i,f,l,u))?(g||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=l),s.props=i,s.state=l,s.context=u,i=c):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{s=t.stateNode,Kd(e,t),c=t.memoizedProps,u=t.type===t.elementType?c:Oe(t.type,c),s.props=u,g=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=We(l):(l=Te(n)?Ut:ye.current,l=Tn(t,l));var b=n.getDerivedStateFromProps;(x=typeof b=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(c!==g||f!==l)&&Ul(t,s,i,l),yt=!1,f=t.memoizedState,s.state=f,_i(t,i,s,o);var v=t.memoizedState;c!==g||f!==v||Ce.current||yt?(typeof b=="function"&&(Ca(t,n,b,i),v=t.memoizedState),(u=yt||Xl(t,n,u,i,f,v,l)||!1)?(x||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,v,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,v,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||c===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=v),s.props=i,s.state=v,s.context=l,i=u):(typeof s.componentDidUpdate!="function"||c===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),i=!1)}return Ea(e,t,n,i,a,o)}function Ea(e,t,n,i,o,a){wp(e,t);var s=(t.flags&128)!==0;if(!i&&!s)return o&&Rl(t,n,!1),ht(e,t,a);i=t.stateNode,kf.current=t;var c=s&&typeof n.getDerivedStateFromError!="function"?null:i.render();return t.flags|=1,e!==null&&s?(t.child=Bn(t,e.child,null,a),t.child=Bn(t,null,c,a)):ve(e,t,c,a),t.memoizedState=i.state,o&&Rl(t,n,!0),t.child}function bp(e){var t=e.stateNode;t.pendingContext?Pl(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Pl(e,t.context,!1),bs(e,t.containerInfo)}function Zl(e,t,n,i,o){return _n(),ms(o),t.flags|=256,ve(e,t,n,i),t.child}var za={dehydrated:null,treeContext:null,retryLane:0};function Na(e){return{baseLanes:e,cachePool:null,transitions:null}}function kp(e,t,n){var i=t.pendingProps,o=ee.current,a=!1,s=(t.flags&128)!==0,c;if((c=s)||(c=e!==null&&e.memoizedState===null?!1:(o&2)!==0),c?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Y(ee,o&1),e===null)return ja(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=i.children,e=i.fallback,a?(i=t.mode,a=t.child,s={mode:"hidden",children:s},!(i&1)&&a!==null?(a.childLanes=0,a.pendingProps=s):a=Zi(s,i,0,null),e=Xt(e,i,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Na(n),t.memoizedState=za,e):Es(t,s));if(o=e.memoizedState,o!==null&&(c=o.dehydrated,c!==null))return jf(e,t,s,i,c,o,n);if(a){a=i.fallback,s=t.mode,o=e.child,c=o.sibling;var l={mode:"hidden",children:i.children};return!(s&1)&&t.child!==o?(i=t.child,i.childLanes=0,i.pendingProps=l,t.deletions=null):(i=zt(o,l),i.subtreeFlags=o.subtreeFlags&14680064),c!==null?a=zt(c,a):(a=Xt(a,s,n,null),a.flags|=2),a.return=t,i.return=t,i.sibling=a,t.child=i,i=a,a=t.child,s=e.child.memoizedState,s=s===null?Na(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},a.memoizedState=s,a.childLanes=e.childLanes&~n,t.memoizedState=za,i}return a=e.child,e=a.sibling,i=zt(a,{mode:"visible",children:i.children}),!(t.mode&1)&&(i.lanes=n),i.return=t,i.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Es(e,t){return t=Zi({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Vr(e,t,n,i){return i!==null&&ms(i),Bn(t,e.child,null,n),e=Es(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function jf(e,t,n,i,o,a,s){if(n)return t.flags&256?(t.flags&=-257,i=Eo(Error(B(422))),Vr(e,t,s,i)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=i.fallback,o=t.mode,i=Zi({mode:"visible",children:i.children},o,0,null),a=Xt(a,o,s,null),a.flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,t.mode&1&&Bn(t,e.child,null,s),t.child.memoizedState=Na(s),t.memoizedState=za,a);if(!(t.mode&1))return Vr(e,t,s,null);if(o.data==="$!"){if(i=o.nextSibling&&o.nextSibling.dataset,i)var c=i.dgst;return i=c,a=Error(B(419)),i=Eo(a,i,void 0),Vr(e,t,s,i)}if(c=(s&e.childLanes)!==0,Se||c){if(i=de,i!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(i.suspendedLanes|s)?0:o,o!==0&&o!==a.retryLane&&(a.retryLane=o,ut(e,o),Ve(i,e,o,-1))}return Ps(),i=Eo(Error(B(421))),Vr(e,t,s,i)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Rf.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,ze=Tt(o.nextSibling),Ne=t,J=!0,Xe=null,e!==null&&(Pe[Re++]=st,Pe[Re++]=lt,Pe[Re++]=Vt,st=e.id,lt=e.overflow,Vt=t),t=Es(t,i.children),t.flags|=4096,t)}function Jl(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),Sa(e.return,t,n)}function zo(e,t,n,i,o){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=i,a.tail=n,a.tailMode=o)}
vendor: 6,030 bytes, line 40
40function jp(e,t,n){var i=t.pendingProps,o=i.revealOrder,a=i.tail;if(ve(e,t,i.children,n),i=ee.current,i&2)i=i&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Jl(e,n,t);else if(e.tag===19)Jl(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=1}if(Y(ee,i),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Bi(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),zo(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Bi(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}zo(t,!0,n,null,a);break;case"together":zo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function li(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ht(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Kt|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(B(153));if(t.child!==null){for(e=t.child,n=zt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=zt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Sf(e,t,n){switch(t.tag){case 3:bp(t),_n();break;case 5:Yd(t);break;case 1:Te(t.type)&&ki(t);break;case 4:bs(t,t.stateNode.containerInfo);break;case 10:var i=t.type._context,o=t.memoizedProps.value;Y(Ci,i._currentValue),i._currentValue=o;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(Y(ee,ee.current&1),t.flags|=128,null):n&t.child.childLanes?kp(e,t,n):(Y(ee,ee.current&1),e=ht(e,t,n),e!==null?e.sibling:null);Y(ee,ee.current&1);break;case 19:if(i=(n&t.childLanes)!==0,e.flags&128){if(i)return jp(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Y(ee,ee.current),i)break;return null;case 22:case 23:return t.lanes=0,vp(e,t,n)}return ht(e,t,n)}var Sp,La,Cp,Tp;Sp=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};La=function(){};Cp=function(e,t,n,i){var o=e.memoizedProps;if(o!==i){e=t.stateNode,Ot(rt.current);var a=null;switch(n){case"input":o=ea(e,o),i=ea(e,i),a=[];break;case"select":o=ne({},o,{value:void 0}),i=ne({},i,{value:void 0}),a=[];break;case"textarea":o=ra(e,o),i=ra(e,i),a=[];break;default:typeof o.onClick!="function"&&typeof i.onClick=="function"&&(e.onclick=wi)}oa(n,i);var s;n=null;for(u in o)if(!i.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var c=o[u];for(s in c)c.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(sr.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in i){var l=i[u];if(c=o!=null?o[u]:void 0,i.hasOwnProperty(u)&&l!==c&&(l!=null||c!=null))if(u==="style")if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(a||(a=[]),a.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,c=c?c.__html:void 0,l!=null&&c!==l&&(a=a||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(a=a||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(sr.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&G("scroll",e),a||c===l||(a=[])):(a=a||[]).push(u,l))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};Tp=function(e,t,n,i){n!==i&&(t.flags|=4)};function Fn(e,t){if(!J)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function me(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags&14680064,i|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function Cf(e,t,n){var i=t.pendingProps;switch(fs(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return me(t),null;case 1:return Te(t.type)&&bi(),me(t),null;case 3:return i=t.stateNode,En(),Z(Ce),Z(ye),js(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Xr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Xe!==null&&($a(Xe),Xe=null))),La(e,t),me(t),null;case 5:ks(t);var o=Ot(vr.current);if(n=t.type,e!==null&&t.stateNode!=null)Cp(e,t,n,i,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(B(166));return me(t),null}if(e=Ot(rt.current),Xr(t)){i=t.stateNode,n=t.type;var a=t.memoizedProps;switch(i[Ze]=t,i[gr]=a,e=(t.mode&1)!==0,n){case"dialog":G("cancel",i),G("close",i);break;case"iframe":case"object":case"embed":G("load",i);break;case"video":case"audio":for(o=0;o<Yn.length;o++)G(Yn[o],i);break;case"source":G("error",i);break;case"img":case"image":case"link":G("error",i),G("load",i);break;case"details":G("toggle",i);break;case"input":ll(i,a),G("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!a.multiple},G("invalid",i);break;case"textarea":dl(i,a),G("invalid",i)}oa(n,a),o=null;for(var s in a)if(a.hasOwnProperty(s)){var c=a[s];s==="children"?typeof c=="string"?i.textContent!==c&&(a.suppressHydrationWarning!==!0&&Hr
vendor: 29,570 bytes, line 40
40(i.textContent,c,e),o=["children",c]):typeof c=="number"&&i.textContent!==""+c&&(a.suppressHydrationWarning!==!0&&Hr(i.textContent,c,e),o=["children",""+c]):sr.hasOwnProperty(s)&&c!=null&&s==="onScroll"&&G("scroll",i)}switch(n){case"input":Pr(i),cl(i,a,!0);break;case"textarea":Pr(i),pl(i);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(i.onclick=wi)}i=o,t.updateQueue=i,i!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ed(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof i.is=="string"?e=s.createElement(n,{is:i.is}):(e=s.createElement(n),n==="select"&&(s=e,i.multiple?s.multiple=!0:i.size&&(s.size=i.size))):e=s.createElementNS(e,n),e[Ze]=t,e[gr]=i,Sp(e,t,!1,!1),t.stateNode=e;e:{switch(s=aa(n,i),n){case"dialog":G("cancel",e),G("close",e),o=i;break;case"iframe":case"object":case"embed":G("load",e),o=i;break;case"video":case"audio":for(o=0;o<Yn.length;o++)G(Yn[o],e);o=i;break;case"source":G("error",e),o=i;break;case"img":case"image":case"link":G("error",e),G("load",e),o=i;break;case"details":G("toggle",e),o=i;break;case"input":ll(e,i),o=ea(e,i),G("invalid",e);break;case"option":o=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},o=ne({},i,{value:void 0}),G("invalid",e);break;case"textarea":dl(e,i),o=ra(e,i),G("invalid",e);break;default:o=i}oa(n,o),c=o;for(a in c)if(c.hasOwnProperty(a)){var l=c[a];a==="style"?rd(e,l):a==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&td(e,l)):a==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&lr(e,l):typeof l=="number"&&lr(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(sr.hasOwnProperty(a)?l!=null&&a==="onScroll"&&G("scroll",e):l!=null&&Ja(e,a,l,s))}switch(n){case"input":Pr(e),cl(e,i,!1);break;case"textarea":Pr(e),pl(e);break;case"option":i.value!=null&&e.setAttribute("value",""+Nt(i.value));break;case"select":e.multiple=!!i.multiple,a=i.value,a!=null?xn(e,!!i.multiple,a,!1):i.defaultValue!=null&&xn(e,!!i.multiple,i.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=wi)}switch(n){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return me(t),null;case 6:if(e&&t.stateNode!=null)Tp(e,t,e.memoizedProps,i);else{if(typeof i!="string"&&t.stateNode===null)throw Error(B(166));if(n=Ot(vr.current),Ot(rt.current),Xr(t)){if(i=t.stateNode,n=t.memoizedProps,i[Ze]=t,(a=i.nodeValue!==n)&&(e=Ne,e!==null))switch(e.tag){case 3:Hr(i.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Hr(i.nodeValue,n,(e.mode&1)!==0)}a&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[Ze]=t,t.stateNode=i}return me(t),null;case 13:if(Z(ee),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(J&&ze!==null&&t.mode&1&&!(t.flags&128))Xd(),_n(),t.flags|=98560,a=!1;else if(a=Xr(t),i!==null&&i.dehydrated!==null){if(e===null){if(!a)throw Error(B(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(B(317));a[Ze]=t}else _n(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;me(t),a=!1}else Xe!==null&&($a(Xe),Xe=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,t.mode&1&&(e===null||ee.current&1?le===0&&(le=3):Ps())),t.updateQueue!==null&&(t.flags|=4),me(t),null);case 4:return En(),La(e,t),e===null&&mr(t.stateNode.containerInfo),me(t),null;case 10:return ys(t.type._context),me(t),null;case 17:return Te(t.type)&&bi(),me(t),null;case 19:if(Z(ee),a=t.memoizedState,a===null)return me(t),null;if(i=(t.flags&128)!==0,s=a.rendering,s===null)if(i)Fn(a,!1);else{if(le!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Bi(e),s!==null){for(t.flags|=128,Fn(a,!1),i=s.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;n!==null;)a=n,e=i,a.flags&=14680066,s=a.alternate,s===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,e=s.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Y(ee,ee.current&1|2),t.child}e=e.sibling}a.tail!==null&&oe()>Nn&&(t.flags|=128,i=!0,Fn(a,!1),t.lanes=4194304)}else{if(!i)if(e=Bi(s),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Fn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!s.alternate&&!J)return me(t),null}else 2*oe()-a.renderingStartTime>Nn&&n!==1073741824&&(t.flags|=128,i=!0,Fn(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(n=a.last,n!==null?n.sibling=s:t.child=s,a.last=s)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=oe(),t.sibling=null,n=ee.current,Y(ee,i?n&1|2:n&1),t):(me(t),null);case 22:case 23:return Is(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?Be&1073741824&&(me(t),t.subtreeFlags&6&&(t.flags|=8192)):me(t),null;case 24:return null;case 25:return null}throw Error(B(156,t.tag))}function Tf(e,t){switch(fs(t),t.tag){case 1:return Te(t.type)&&bi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return En(),Z(Ce),Z(ye),js(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ks(t),null;case 13:if(Z(ee),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(B(340));_n()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Z(ee),null;case 4:return En(),null;case 10:return ys(t.type._context),null;case 22:case 23:return Is(),null;case 24:return null;default:return null}}var qr=!1,ge=!1,_f=typeof WeakSet=="function"?WeakSet:Set,I=null;function fn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(i){re(e,t,i)}else n.current=null}function Aa(e,t,n){try{n()}catch(i){re(e,t,i)}}var ec=!1;function Bf(e,t){if(xa=gi,e=Nd(),us(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var o=i.anchorOffset,a=i.focusNode;i=i.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var s=0,c=-1,l=-1,u=0,x=0,g=e,f=null;t:for(;;){for(var b;g!==n||o!==0&&g.nodeType!==3||(c=s+o),g!==a||i!==0&&g.nodeType!==3||(l=s+i),g.nodeType===3&&(s+=g.nodeValue.length),(b=g.firstChild)!==null;)f=g,g=b;for(;;){if(g===e)break t;if(f===n&&++u===o&&(c=s),f===a&&++x===i&&(l=s),(b=g.nextSibling)!==null)break;g=f,f=g.parentNode}g=b}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ga={focusedElem:e,selectionRange:n},gi=!1,I=t;I!==null;)if(t=I,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,I=e;else for(;I!==null;){t=I;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var y=v.memoizedProps,k=v.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:Oe(t.type,y),k);m.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(B(163))}}catch(h){re(t,t.return,h)}if(e=t.sibling,e!==null){e.return=t.return,I=e;break}I=t.return}return v=ec,ec=!1,v}function nr(e,t,n){var i=t.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var o=i=i.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,a!==void 0&&Aa(t,n,a)}o=o.next}while(o!==i)}}function Qi(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 i=n.create;n.destroy=i()}n=n.next}while(n!==t)}}function Ia(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 _p(e){var t=e.alternate;t!==null&&(e.alternate=null,_p(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ze],delete t[gr],delete t[wa],delete t[df],delete t[pf])),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 Bp(e){return e.tag===5||e.tag===3||e.tag===4}function tc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Bp(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 Pa(e,t,n){var i=e.tag;if(i===5||i===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=wi));else if(i!==4&&(e=e.child,e!==null))for(Pa(e,t,n),e=e.sibling;e!==null;)Pa(e,t,n),e=e.sibling}function Ra(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(Ra(e,t,n),e=e.sibling;e!==null;)Ra(e,t,n),e=e.sibling}var pe=null,He=!1;function xt(e,t,n){for(n=n.child;n!==null;)Ep(e,t,n),n=n.sibling}function Ep(e,t,n){if(nt&&typeof nt.onCommitFiberUnmount=="function")try{nt.onCommitFiberUnmount(Oi,n)}catch{}switch(n.tag){case 5:ge||fn(n,t);case 6:var i=pe,o=He;pe=null,xt(e,t,n),pe=i,He=o,pe!==null&&(He?(e=pe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):pe.removeChild(n.stateNode));break;case 18:pe!==null&&(He?(e=pe,n=n.stateNode,e.nodeType===8?jo(e.parentNode,n):e.nodeType===1&&jo(e,n),ur(e)):jo(pe,n.stateNode));break;case 4:i=pe,o=He,pe=n.stateNode.containerInfo,He=!0,xt(e,t,n),pe=i,He=o;break;case 0:case 11:case 14:case 15:if(!ge&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){o=i=i.next;do{var a=o,s=a.destroy;a=a.tag,s!==void 0&&(a&2||a&4)&&Aa(n,t,s),o=o.next}while(o!==i)}xt(e,t,n);break;case 1:if(!ge&&(fn(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(c){re(n,t,c)}xt(e,t,n);break;case 21:xt(e,t,n);break;case 22:n.mode&1?(ge=(i=ge)||n.memoizedState!==null,xt(e,t,n),ge=i):xt(e,t,n);break;default:xt(e,t,n)}}function nc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new _f),t.forEach(function(i){var o=Df.bind(null,e,i);n.has(i)||(n.add(i),i.then(o,o))})}}function Fe(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var o=n[i];try{var a=e,s=t,c=s;e:for(;c!==null;){switch(c.tag){case 5:pe=c.stateNode,He=!1;break e;case 3:pe=c.stateNode.containerInfo,He=!0;break e;case 4:pe=c.stateNode.containerInfo,He=!0;break e}c=c.return}if(pe===null)throw Error(B(160));Ep(a,s,o),pe=null,He=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){re(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)zp(t,e),t=t.sibling}function zp(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Fe(t,e),Ye(e),i&4){try{nr(3,e,e.return),Qi(3,e)}catch(y){re(e,e.return,y)}try{nr(5,e,e.return)}catch(y){re(e,e.return,y)}}break;case 1:Fe(t,e),Ye(e),i&512&&n!==null&&fn(n,n.return);break;case 5:if(Fe(t,e),Ye(e),i&512&&n!==null&&fn(n,n.return),e.flags&32){var o=e.stateNode;try{lr(o,"")}catch(y){re(e,e.return,y)}}if(i&4&&(o=e.stateNode,o!=null)){var a=e.memoizedProps,s=n!==null?n.memoizedProps:a,c=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{c==="input"&&a.type==="radio"&&a.name!=null&&Zc(o,a),aa(c,s);var u=aa(c,a);for(s=0;s<l.length;s+=2){var x=l[s],g=l[s+1];x==="style"?rd(o,g):x==="dangerouslySetInnerHTML"?td(o,g):x==="children"?lr(o,g):Ja(o,x,g,u)}switch(c){case"input":ta(o,a);break;case"textarea":Jc(o,a);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var b=a.value;b!=null?xn(o,!!a.multiple,b,!1):f!==!!a.multiple&&(a.defaultValue!=null?xn(o,!!a.multiple,a.defaultValue,!0):xn(o,!!a.multiple,a.multiple?[]:"",!1))}o[gr]=a}catch(y){re(e,e.return,y)}}break;case 6:if(Fe(t,e),Ye(e),i&4){if(e.stateNode===null)throw Error(B(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(y){re(e,e.return,y)}}break;case 3:if(Fe(t,e),Ye(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{ur(t.containerInfo)}catch(y){re(e,e.return,y)}break;case 4:Fe(t,e),Ye(e);break;case 13:Fe(t,e),Ye(e),o=e.child,o.flags&8192&&(a=o.memoizedState!==null,o.stateNode.isHidden=a,!a||o.alternate!==null&&o.alternate.memoizedState!==null||(Ls=oe())),i&4&&nc(e);break;case 22:if(x=n!==null&&n.memoizedState!==null,e.mode&1?(ge=(u=ge)||x,Fe(t,e),ge=u):Fe(t,e),Ye(e),i&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!x&&e.mode&1)for(I=e,x=e.child;x!==null;){for(g=I=x;I!==null;){switch(f=I,b=f.child,f.tag){case 0:case 11:case 14:case 15:nr(4,f,f.return);break;case 1:fn(f,f.return);var v=f.stateNode;if(typeof v.componentWillUnmount=="function"){i=f,n=f.return;try{t=i,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(y){re(i,n,y)}}break;case 5:fn(f,f.return);break;case 22:if(f.memoizedState!==null){ic(g);continue}}b!==null?(b.return=f,I=b):ic(g)}x=x.sibling}e:for(x=null,g=e;;){if(g.tag===5){if(x===null){x=g;try{o=g.stateNode,u?(a=o.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(c=g.stateNode,l=g.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,c.style.display=nd("display",s))}catch(y){re(e,e.return,y)}}}else if(g.tag===6){if(x===null)try{g.stateNode.nodeValue=u?"":g.memoizedProps}catch(y){re(e,e.return,y)}}else if((g.tag!==22&&g.tag!==23||g.memoizedState===null||g===e)&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===e)break e;for(;g.sibling===null;){if(g.return===null||g.return===e)break e;x===g&&(x=null),g=g.return}x===g&&(x=null),g.sibling.return=g.return,g=g.sibling}}break;case 19:Fe(t,e),Ye(e),i&4&&nc(e);break;case 21:break;default:Fe(t,e),Ye(e)}}function Ye(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Bp(n)){var i=n;break e}n=n.return}throw Error(B(160))}switch(i.tag){case 5:var o=i.stateNode;i.flags&32&&(lr(o,""),i.flags&=-33);var a=tc(e);Ra(e,a,o);break;case 3:case 4:var s=i.stateNode.containerInfo,c=tc(e);Pa(e,c,s);break;default:throw Error(B(161))}}catch(l){re(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ef(e,t,n){I=e,Np(e)}function Np(e,t,n){for(var i=(e.mode&1)!==0;I!==null;){var o=I,a=o.child;if(o.tag===22&&i){var s=o.memoizedState!==null||qr;if(!s){var c=o.alternate,l=c!==null&&c.memoizedState!==null||ge;c=qr;var u=ge;if(qr=s,(ge=l)&&!u)for(I=o;I!==null;)s=I,l=s.child,s.tag===22&&s.memoizedState!==null?oc(o):l!==null?(l.return=s,I=l):oc(o);for(;a!==null;)I=a,Np(a),a=a.sibling;I=o,qr=c,ge=u}rc(e)}else o.subtreeFlags&8772&&a!==null?(a.return=o,I=a):rc(e)}}function rc(e){for(;I!==null;){var t=I;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ge||Qi(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!ge)if(n===null)i.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Oe(t.type,n.memoizedProps);i.componentDidUpdate(o,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&Fl(t,a,i);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Fl(t,s,n)}break;case 5:var c=t.stateNode;if(n===null&&t.flags&4){n=c;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var x=u.memoizedState;if(x!==null){var g=x.dehydrated;g!==null&&ur(g)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(B(163))}ge||t.flags&512&&Ia(t)}catch(f){re(t,t.return,f)}}if(t===e){I=null;break}if(n=t.sibling,n!==null){n.return=t.return,I=n;break}I=t.return}}function ic(e){for(;I!==null;){var t=I;if(t===e){I=null;break}var n=t.sibling;if(n!==null){n.return=t.return,I=n;break}I=t.return}}function oc(e){for(;I!==null;){var t=I;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Qi(4,t)}catch(l){re(t,n,l)}break;case 1:var i=t.stateNode;if(typeof i.componentDidMount=="function"){var o=t.return;try{i.componentDidMount()}catch(l){re(t,o,l)}}var a=t.return;try{Ia(t)}catch(l){re(t,a,l)}break;case 5:var s=t.return;try{Ia(t)}catch(l){re(t,s,l)}}}catch(l){re(t,t.return,l)}if(t===e){I=null;break}var c=t.sibling;if(c!==null){c.return=t.return,I=c;break}I=t.return}}var zf=Math.ceil,Ni=ft.ReactCurrentDispatcher,zs=ft.ReactCurrentOwner,Me=ft.ReactCurrentBatchConfig,H=0,de=null,ae=null,ue=0,Be=0,mn=It(0),le=0,jr=null,Kt=0,Gi=0,Ns=0,rr=null,je=null,Ls=0,Nn=1/0,it=null,Li=!1,Da=null,Bt=null,Kr=!1,kt=null,Ai=0,ir=0,Ma=null,ci=-1,di=0;function we(){return H&6?oe():ci!==-1?ci:ci=oe()}function Et(e){return e.mode&1?H&2&&ue!==0?ue&-ue:hf.transition!==null?(di===0&&(di=md()),di):(e=U,e!==0||(e=window.event,e=e===void 0?16:kd(e.type)),e):1}function Ve(e,t,n,i){if(50<ir)throw ir=0,Ma=null,Error(B(185));Cr(e,n,i),(!(H&2)||e!==de)&&(e===de&&(!(H&2)&&(Gi|=n),le===4&&wt(e,ue)),_e(e,i),n===1&&H===0&&!(t.mode&1)&&(Nn=oe()+500,qi&&Pt()))}function _e(e,t){var n=e.callbackNode;uh(e,t);var i=xi(e,e===de?ue:0);if(i===0)n!==null&&fl(n),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(n!=null&&fl(n),t===1)e.tag===0?uf(ac.bind(null,e)):Fd(ac.bind(null,e)),lf(function(){!(H&6)&&Pt()}),n=null;else{switch(xd(i)){case 1:n=is;break;case 4:n=hd;break;case 16:n=mi;break;case 536870912:n=fd;break;default:n=mi}n=Wp(n,Lp.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Lp(e,t){if(ci=-1,di=0,H&6)throw Error(B(327));var n=e.callbackNode;if(bn()&&e.callbackNode!==n)return null;var i=xi(e,e===de?ue:0);if(i===0)return null;if(i&30||i&e.expiredLanes||t)t=Ii(e,i);else{t=i;var o=H;H|=2;var a=Ip();(de!==e||ue!==t)&&(it=null,Nn=oe()+500,Ht(e,t));do try{Af();break}catch(c){Ap(e,c)}while(!0);gs(),Ni.current=a,H=o,ae!==null?t=0:(de=null,ue=0,t=le)}if(t!==0){if(t===2&&(o=pa(e),o!==0&&(i=o,t=Wa(e,o))),t===1)throw n=jr,Ht(e,0),wt(e,i),_e(e,oe()),n;if(t===6)wt(e,i);else{if(o=e.current.alternate,!(i&30)&&!Nf(o)&&(t=Ii(e,i),t===2&&(a=pa(e),a!==0&&(i=a,t=Wa(e,a))),t===1))throw n=jr,Ht(e,0),wt(e,i),_e(e,oe()),n;switch(e.finishedWork=o,e.finishedLanes=i,t){case 0:case 1:throw Error(B(345));case 2:Wt(e,je,it);break;case 3:if(wt(e,i),(i&130023424)===i&&(t=Ls+500-oe(),10<t)){if(xi(e,0)!==0)break;if(o=e.suspendedLanes,(o&i)!==i){we(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=va(Wt.bind(null,e,je,it),t);break}Wt(e,je,it);break;case 4:if(wt(e,i),(i&4194240)===i)break;for(t=e.eventTimes,o=-1;0<i;){var s=31-Ue(i);a=1<<s,s=t[s],s>o&&(o=s),i&=~a}if(i=o,i=oe()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*zf(i/1960))-i,10<i){e.timeoutHandle=va(Wt.bind(null,e,je,it),i);break}Wt(e,je,it);break;case 5:Wt(e,je,it);break;default:throw Error(B(329))}}}return _e(e,oe()),e.callbackNode===n?Lp.bind(null,e):null}function Wa(e,t){var n=rr;return e.current.memoizedState.isDehydrated&&(Ht(e,t).flags|=256),e=Ii(e,t),e!==2&&(t=je,je=n,t!==null&&$a(t)),e}function $a(e){je===null?je=e:je.push.apply(je,e)}function Nf(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var i=0;i<n.length;i++){var o=n[i],a=o.getSnapshot;o=o.value;try{if(!qe(a(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function wt(e,t){for(t&=~Ns,t&=~Gi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ue(t),i=1<<n;e[n]=-1,t&=~i}}function ac(e){if(H&6)throw Error(B(327));bn();var t=xi(e,0);if(!(t&1))return _e(e,oe()),null;var n=Ii(e,t);if(e.tag!==0&&n===2){var i=pa(e);i!==0&&(t=i,n=Wa(e,i))}if(n===1)throw n=jr,Ht(e,0),wt(e,t),_e(e,oe()),n;if(n===6)throw Error(B(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Wt(e,je,it),_e(e,oe()),null}function As(e,t){var n=H;H|=1;try{return e(t)}finally{H=n,H===0&&(Nn=oe()+500,qi&&Pt())}}function Yt(e){kt!==null&&kt.tag===0&&!(H&6)&&bn();var t=H;H|=1;var n=Me.transition,i=U;try{if(Me.transition=null,U=1,e)return e()}finally{U=i,Me.transition=n,H=t,!(H&6)&&Pt()}}function Is(){Be=mn.current,Z(mn)}function Ht(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,sf(n)),ae!==null)for(n=ae.return;n!==null;){var i=n;switch(fs(i),i.tag){case 1:i=i.type.childContextTypes,i!=null&&bi();break;case 3:En(),Z(Ce),Z(ye),js();break;case 5:ks(i);break;case 4:En();break;case 13:Z(ee);break;case 19:Z(ee);break;case 10:ys(i.type._context);break;case 22:case 23:Is()}n=n.return}if(de=e,ae=e=zt(e.current,null),ue=Be=t,le=0,jr=null,Ns=Gi=Kt=0,je=rr=null,Ft!==null){for(t=0;t<Ft.length;t++)if(n=Ft[t],i=n.interleaved,i!==null){n.interleaved=null;var o=i.next,a=n.pending;if(a!==null){var s=a.next;a.next=o,i.next=s}n.pending=i}Ft=null}return e}function Ap(e,t){do{var n=ae;try{if(gs(),ai.current=zi,Ei){for(var i=te.memoizedState;i!==null;){var o=i.queue;o!==null&&(o.pending=null),i=i.next}Ei=!1}if(qt=0,ce=se=te=null,tr=!1,wr=0,zs.current=null,n===null||n.return===null){le=1,jr=t,ae=null;break}e:{var a=e,s=n.return,c=n,l=t;if(t=ue,c.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,x=c,g=x.tag;if(!(x.mode&1)&&(g===0||g===11||g===15)){var f=x.alternate;f?(x.updateQueue=f.updateQueue,x.memoizedState=f.memoizedState,x.lanes=f.lanes):(x.updateQueue=null,x.memoizedState=null)}var b=ql(s);if(b!==null){b.flags&=-257,Kl(b,s,c,a,t),b.mode&1&&Vl(a,u,t),t=b,l=u;var v=t.updateQueue;if(v===null){var y=new Set;y.add(l),t.updateQueue=y}else v.add(l);break e}else{if(!(t&1)){Vl(a,u,t),Ps();break e}l=Error(B(426))}}else if(J&&c.mode&1){var k=ql(s);if(k!==null){!(k.flags&65536)&&(k.flags|=256),Kl(k,s,c,a,t),ms(zn(l,c));break e}}a=l=zn(l,c),le!==4&&(le=2),rr===null?rr=[a]:rr.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var m=xp(a,l,t);$l(a,m);break e;case 1:c=l;var p=a.type,d=a.stateNode;if(!(a.flags&128)&&(typeof p.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Bt===null||!Bt.has(d)))){a.flags|=65536,t&=-t,a.lanes|=t;var h=gp(a,c,t);$l(a,h);break e}}a=a.return}while(a!==null)}Rp(n)}catch(w){t=w,ae===n&&n!==null&&(ae=n=n.return);continue}break}while(!0)}function Ip(){var e=Ni.current;return Ni.current=zi,e===null?zi:e}function Ps(){(le===0||le===3||le===2)&&(le=4),de===null||!(Kt&268435455)&&!(Gi&268435455)||wt(de,ue)}function Ii(e,t){var n=H;H|=2;var i=Ip();(de!==e||ue!==t)&&(it=null,Ht(e,t));do try{Lf();break}catch(o){Ap(e,o)}while(!0);if(gs(),H=n,Ni.current=i,ae!==null)throw Error(B(261));return de=null,ue=0,le}function Lf(){for(;ae!==null;)Pp(ae)}function Af(){for(;ae!==null&&!rh();)Pp(ae)}function Pp(e){var t=Mp(e.alternate,e,Be);e.memoizedProps=e.pendingProps,t===null?Rp(e):ae=t,zs.current=null}function Rp(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Tf(n,t),n!==null){n.flags&=32767,ae=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{le=6,ae=null;return}}else if(n=Cf(n,t,Be),n!==null){ae=n;return}if(t=t.sibling,t!==null){ae=t;return}ae=t=e}while(t!==null);le===0&&(le=5)}function Wt(e,t,n){var i=U,o=Me.transition;try{Me.transition=null,U=1,If(e,t,n,i)}finally{Me.transition=o,U=i}return null}function If(e,t,n,i){do bn();while(kt!==null);if(H&6)throw Error(B(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(B(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(hh(e,a),e===de&&(ae=de=null,ue=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Kr||(Kr=!0,Wp(mi,function(){return bn(),null})),a=(n.flags&15990)!==0,n.subtreeFlags&15990||a){a=Me.transition,Me.transition=null;var s=U;U=1;var c=H;H|=4,zs.current=null,Bf(e,n),zp(n,e),Jh(ga),gi=!!xa,ga=xa=null,e.current=n,Ef(n),ih(),H=c,U=s,Me.transition=a}else e.current=n;if(Kr&&(Kr=!1,kt=e,Ai=o),a=e.pendingLanes,a===0&&(Bt=null),sh(n.stateNode),_e(e,oe()),t!==null)for(i=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],i(o.value,{componentStack:o.stack,digest:o.digest});if(Li)throw Li=!1,e=Da,Da=null,e;return Ai&1&&e.tag!==0&&bn(),a=e.pendingLanes,a&1?e===Ma?ir++:(ir=0,Ma=e):ir=0,Pt(),null}function bn(){if(kt!==null){var e=xd(Ai),t=Me.transition,n=U;try{if(Me.transition=null,U=16>e?16:e,kt===null)var i=!1;else{if(e=kt,kt=null,Ai=0,H&6)throw Error(B(331));var o=H;for(H|=4,I=e.current;I!==null;){var a=I,s=a.child;if(I.flags&16){var c=a.deletions;if(c!==null){for(var l=0;l<c.length;l++){var u=c[l];for(I=u;I!==null;){var x=I;switch(x.tag){case 0:case 11:case 15:nr(8,x,a)}var g=x.child;if(g!==null)g.return=x,I=g;else for(;I!==null;){x=I;var f=x.sibling,b=x.return;if(_p(x),x===u){I=null;break}if(f!==null){f.return=b,I=f;break}I=b}}}var v=a.alternate;if(v!==null){var y=v.child;if(y!==null){v.child=null;do{var k=y.sibling;y.sibling=null,y=k}while(y!==null)}}I=a}}if(a.subtreeFlags&2064&&s!==null)s.return=a,I=s;else e:for(;I!==null;){if(a=I,a.flags&2048)switch(a.tag){case 0:case 11:case 15:nr(9,a,a.return)}var m=a.sibling;if(m!==null){m.return=a.return,I=m;break e}I=a.return}}var p=e.current;for(I=p;I!==null;){s=I;var d=s.child;if(s.subtreeFlags&2064&&d!==null)d.return=s,I=d;else e:for(s=p;I!==null;){if(c=I,c.flags&2048)try{switch(c.tag){case 0:case 11:case 15:Qi(9,c)}}catch(w){re(c,c.return,w)}if(c===s){I=null;break e}var h=c.sibling;if(h!==null){h.return=c.return,I=h;break e}I=c.return}}if(H=o,Pt(),nt&&typeof nt.onPostCommitFiberRoot=="function")try{nt.onPostCommitFiberRoot(Oi,e)}catch{}i=!0}return i}finally{U=n,Me.transition=t}}return!1}function sc(e,t,n){t=zn(n,t),t=xp(e,t,1),e=_t(e,t,1),t=we(),e!==null&&(Cr(e,1,t),_e(e,t))}function re(e,t,n){if(e.tag===3)sc(e,e,n);else for(;t!==null;){if(t.tag===3){sc(t,e,n);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Bt===null||!Bt.has(i))){e=zn(n,e),e=gp(t,e,1),t=_t(t,e,1),e=we(),t!==null&&(Cr(t,1,e),_e(t,e));break}}t=t.return}}function Pf(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),t=we(),e.pingedLanes|=e.suspendedLanes&n,de===e&&(ue&n)===n&&(le===4||le===3&&(ue&130023424)===ue&&500>oe()-Ls?Ht(e,0):Ns|=n),_e(e,t)}function Dp(e,t){t===0&&(e.mode&1?(t=Mr,Mr<<=1,!(Mr&130023424)&&(Mr=4194304)):t=1);var n=we();e=ut(e,t),e!==null&&(Cr(e,t,n),_e(e,n))}function Rf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Dp(e,n)}function Df(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(B(314))}i!==null&&i.delete(t),Dp(e,n)}var Mp;Mp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ce.current)Se=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Se=!1,Sf(e,t,n);Se=!!(e.flags&131072)}else Se=!1,J&&t.flags&1048576&&Od(t,Si,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;li(e,t),e=t.pendingProps;var o=Tn(t,ye.current);wn(t,n),o=Cs(null,t,i,e,o,n);var a=Ts();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Te(i)?(a=!0,ki(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,ws(t),o.updater=Yi,t.stateNode=o,o._reactInternals=t,Ta(t,i,e,n),t=Ea(null,t,i,!0,a,n)):(t.tag=0,J&&a&&hs(t),ve(null,t,o,n),t=t.child),t;case 16:i=t.elementType;e:{switch(li(e,t),e=t.pendingProps,o=i._init,i=o(i._payload),t.type=i,o=t.tag=Wf(i),e=Oe(i,e),o){case 0:t=Ba(null,t,i,e,n);break e;case 1:t=Gl(null,t,i,e,n);break e;case 11:t=Yl(null,t,i,e,n);break e;case 14:t=Ql(null,t,i,Oe(i.type,e),n);break e}throw Error(B(306,i,""))}return t;case 0:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Oe(i,o),Ba(e,t,i,o,n);case 1:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Oe(i,o),Gl(e,t,i,o,n);case 3:e:{if(bp(t),e===null)throw Error(B(387));i=t.pendingProps,a=t.memoizedState,o=a.element,Kd(e,t),_i(t,i,null,n);var s=t.memoizedState;if(i=s.element,a.isDehydrated)if(a={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){o=zn(Error(B(423)),t),t=Zl(e,t,i,n,o);break e}else if(i!==o){o=zn(Error(B(424)),t),t=Zl(e,t,i,n,o);break e}else for(ze=Tt(t.stateNode.containerInfo.firstChild),Ne=t,J=!0,Xe=null,n=Vd(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(_n(),i===o){t=ht(e,t,n);break e}ve(e,t,i,n)}t=t.child}return t;case 5:return Yd(t),e===null&&ja(t),i=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,s=o.children,ya(i,o)?s=null:a!==null&&ya(i,a)&&(t.flags|=32),wp(e,t),ve(e,t,s,n),t.child;case 6:return e===null&&ja(t),null;
vendor: 7,247 bytes, line 40
40case 13:return kp(e,t,n);case 4:return bs(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Bn(t,null,i,n):ve(e,t,i,n),t.child;case 11:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Oe(i,o),Yl(e,t,i,o,n);case 7:return ve(e,t,t.pendingProps,n),t.child;case 8:return ve(e,t,t.pendingProps.children,n),t.child;case 12:return ve(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(i=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,Y(Ci,i._currentValue),i._currentValue=s,a!==null)if(qe(a.value,s)){if(a.children===o.children&&!Ce.current){t=ht(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var c=a.dependencies;if(c!==null){s=a.child;for(var l=c.firstContext;l!==null;){if(l.context===i){if(a.tag===1){l=ct(-1,n&-n),l.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var x=u.pending;x===null?l.next=l:(l.next=x.next,x.next=l),u.pending=l}}a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Sa(a.return,n,t),c.lanes|=n;break}l=l.next}}else if(a.tag===10)s=a.type===t.type?null:a.child;else if(a.tag===18){if(s=a.return,s===null)throw Error(B(341));s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Sa(s,n,t),s=a.sibling}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===t){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}ve(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,i=t.pendingProps.children,wn(t,n),o=We(o),i=i(o),t.flags|=1,ve(e,t,i,n),t.child;case 14:return i=t.type,o=Oe(i,t.pendingProps),o=Oe(i.type,o),Ql(e,t,i,o,n);case 15:return yp(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Oe(i,o),li(e,t),t.tag=1,Te(i)?(e=!0,ki(t)):e=!1,wn(t,n),mp(t,i,o),Ta(t,i,o,n),Ea(null,t,i,!0,e,n);case 19:return jp(e,t,n);case 22:return vp(e,t,n)}throw Error(B(156,t.tag))};function Wp(e,t){return ud(e,t)}function Mf(e,t,n,i){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=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function De(e,t,n,i){return new Mf(e,t,n,i)}function Rs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Wf(e){if(typeof e=="function")return Rs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ts)return 11;if(e===ns)return 14}return 2}function zt(e,t){var n=e.alternate;return n===null?(n=De(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 pi(e,t,n,i,o,a){var s=2;if(i=e,typeof e=="function")Rs(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case on:return Xt(n.children,o,a,t);case es:s=8,o|=8;break;case Qo:return e=De(12,n,t,o|2),e.elementType=Qo,e.lanes=a,e;case Go:return e=De(13,n,t,o),e.elementType=Go,e.lanes=a,e;case Zo:return e=De(19,n,t,o),e.elementType=Zo,e.lanes=a,e;case Yc:return Zi(n,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case qc:s=10;break e;case Kc:s=9;break e;case ts:s=11;break e;case ns:s=14;break e;case gt:s=16,i=null;break e}throw Error(B(130,e==null?e:typeof e,""))}return t=De(s,n,t,o),t.elementType=e,t.type=i,t.lanes=a,t}function Xt(e,t,n,i){return e=De(7,e,i,t),e.lanes=n,e}function Zi(e,t,n,i){return e=De(22,e,i,t),e.elementType=Yc,e.lanes=n,e.stateNode={isHidden:!1},e}function No(e,t,n){return e=De(6,e,null,t),e.lanes=n,e}function Lo(e,t,n){return t=De(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $f(e,t,n,i,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=uo(0),this.expirationTimes=uo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=uo(0),this.identifierPrefix=i,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ds(e,t,n,i,o,a,s,c,l){return e=new $f(e,t,n,c,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=De(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ws(a),e}function Ff(e,t,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:rn,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}function $p(e){if(!e)return Lt;e=e._reactInternals;e:{if(Jt(e)!==e||e.tag!==1)throw Error(B(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Te(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(B(171))}if(e.tag===1){var n=e.type;if(Te(n))return $d(e,n,t)}return t}function Fp(e,t,n,i,o,a,s,c,l){return e=Ds(n,i,!0,e,o,a,s,c,l),e.context=$p(null),n=e.current,i=we(),o=Et(n),a=ct(i,o),a.callback=t??null,_t(n,a,o),e.current.lanes=o,Cr(e,o,i),_e(e,i),e}function Ji(e,t,n,i){var o=t.current,a=we(),s=Et(o);return n=$p(n),t.context===null?t.context=n:t.pendingContext=n,t=ct(a,s),t.payload={element:e},i=i===void 0?null:i,i!==null&&(t.callback=i),e=_t(o,t,s),e!==null&&(Ve(e,o,s,a),oi(e,o,s)),s}function Pi(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function lc(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ms(e,t){lc(e,t),(e=e.alternate)&&lc(e,t)}function Of(){return null}var Op=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ws(e){this._internalRoot=e}eo.prototype.render=Ws.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(B(409));Ji(e,t,null,null)};eo.prototype.unmount=Ws.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Yt(function(){Ji(null,e,null,null)}),t[pt]=null}};function eo(e){this._internalRoot=e}eo.prototype.unstable_scheduleHydration=function(e){if(e){var t=vd();e={blockedOn:null,target:e,priority:t};for(var n=0;n<vt.length&&t!==0&&t<vt[n].priority;n++);vt.splice(n,0,e),n===0&&bd(e)}};function $s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function to(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function cc(){}function Hf(e,t,n,i,o){if(o){if(typeof i=="function"){var a=i;i=function(){var u=Pi(s);a.call(u)}}var s=Fp(t,i,e,0,null,!1,!1,"",cc);return e._reactRootContainer=s,e[pt]=s.current,mr(e.nodeType===8?e.parentNode:e),Yt(),s}for(;
vendor: 5,178 bytes, line 40
40o=e.lastChild;)e.removeChild(o);if(typeof i=="function"){var c=i;i=function(){var u=Pi(l);c.call(u)}}var l=Ds(e,0,!1,null,null,!1,!1,"",cc);return e._reactRootContainer=l,e[pt]=l.current,mr(e.nodeType===8?e.parentNode:e),Yt(function(){Ji(t,l,n,i)}),l}function no(e,t,n,i,o){var a=n._reactRootContainer;if(a){var s=a;if(typeof o=="function"){var c=o;o=function(){var l=Pi(s);c.call(l)}}Ji(t,s,e,o)}else s=Hf(n,t,e,o,i);return Pi(s)}gd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Kn(t.pendingLanes);n!==0&&(os(t,n|1),_e(t,oe()),!(H&6)&&(Nn=oe()+500,Pt()))}break;case 13:Yt(function(){var i=ut(e,1);if(i!==null){var o=we();Ve(i,e,1,o)}}),Ms(e,1)}};as=function(e){if(e.tag===13){var t=ut(e,134217728);if(t!==null){var n=we();Ve(t,e,134217728,n)}Ms(e,134217728)}};yd=function(e){if(e.tag===13){var t=Et(e),n=ut(e,t);if(n!==null){var i=we();Ve(n,e,t,i)}Ms(e,t)}};vd=function(){return U};wd=function(e,t){var n=U;try{return U=e,t()}finally{U=n}};la=function(e,t,n){switch(t){case"input":if(ta(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var o=Vi(i);if(!o)throw Error(B(90));Gc(i),ta(i,o)}}}break;case"textarea":Jc(e,n);break;case"select":t=n.value,t!=null&&xn(e,!!n.multiple,t,!1)}};ad=As;sd=Yt;var Xf={usingClientEntryPoint:!1,Events:[_r,cn,Vi,id,od,As]},On={findFiberByHostInstance:$t,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Uf={bundleType:On.bundleType,version:On.version,rendererPackageName:On.rendererPackageName,rendererConfig:On.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ft.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=dd(e),e===null?null:e.stateNode},findFiberByHostInstance:On.findFiberByHostInstance||Of,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Yr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yr.isDisabled&&Yr.supportsFiber)try{Oi=Yr.inject(Uf),nt=Yr}catch{}}Ae.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Xf;Ae.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!$s(t))throw Error(B(200));return Ff(e,t,null,n)};Ae.createRoot=function(e,t){if(!$s(e))throw Error(B(299));var n=!1,i="",o=Op;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Ds(e,1,!1,null,null,n,!1,i,o),e[pt]=t.current,mr(e.nodeType===8?e.parentNode:e),new Ws(t)};Ae.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(B(188)):(e=Object.keys(e).join(","),Error(B(268,e)));return e=dd(t),e=e===null?null:e.stateNode,e};Ae.flushSync=function(e){return Yt(e)};Ae.hydrate=function(e,t,n){if(!to(t))throw Error(B(200));return no(null,e,t,!0,n)};Ae.hydrateRoot=function(e,t,n){if(!$s(e))throw Error(B(405));var i=n!=null&&n.hydratedSources||null,o=!1,a="",s=Op;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Fp(t,null,e,1,n??null,o,!1,a,s),e[pt]=t.current,mr(e),i)for(e=0;e<i.length;e++)n=i[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new eo(t)};Ae.render=function(e,t,n){if(!to(t))throw Error(B(200));return no(null,e,t,!1,n)};Ae.unmountComponentAtNode=function(e){if(!to(e))throw Error(B(40));return e._reactRootContainer?(Yt(function(){no(null,null,e,!1,function(){e._reactRootContainer=null,e[pt]=null})}),!0):!1};Ae.unstable_batchedUpdates=As;Ae.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!to(n))throw Error(B(200));if(e==null||e._reactInternals===void 0)throw Error(B(38));return no(e,t,n,!1,i)};Ae.version="18.3.1-next-f1338f8080-20240426";function Hp(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Hp)}catch(e){console.error(e)}}Hp(),Hc.exports=Ae;var Vf=Hc.exports,dc=Vf;Ko.createRoot=dc.createRoot,Ko.hydrateRoot=dc.hydrateRoot;const Fs=[{tab:"home",path:"/",label:"Home",title:"eCash (ECX) — Bitcoin Hard Fork with Drivechains",desc:"eCash (ECX) is a Bitcoin hard fork designed to activate Drivechains (BIP300/301), with mainnet planned around October 31, 2026. Explore the fork and ECX."},{tab:"what-is-ecash",path:"/what-is-ecash/",label:"What is eCash?",title:"What Is eCash (ECX)? Bitcoin Fork & Drivechains Explained",desc:"Understand eCash (ECX), the Bitcoin hard fork associated with Paul Sztorc and LayerTwo L
40abs, its mainnet plans, and how it differs from eCash (XEC)."},{tab:"drivechains",path:"/drivechains/",label:"Drivechains",title:"Drivechains Explained — BIP300 & BIP301 | eCash (ECX)",desc:"Learn how Drivechains connect a main chain to sidechains, what BIP300 and BIP301 do, and how eCash (ECX) implements this architecture."},{tab:"coin-splitting",path:"/coin-splitting/",label:"Coin splitting",title:"ECX Coin Splitting & Replay Protection | eCash",desc:"Understand transaction replay between Bitcoin and eCash, opt-in ECX replay protection, and what to verify before splitting coins after the fork."},{tab:"why-hardfork",path:"/why-hardfork/",label:"Why a hard fork?",title:"Why Fork Bitcoin for Drivechains? | eCash (ECX)",desc:"The project's case for a Bitcoin hard fork: activating Drivechains, enabling separate sidechain rules, and experimenting on the eCash (ECX) network."},{tab:"what-to-expect",path:"/what-to-expect/",label:"What to expect",title:"eCash (ECX) Bitcoin Fork — What BTC Holders Need to Know",desc:"What happens before and after the planned October 31, 2026 eCash mainnet fork: the Bitcoin snapshot, ECX balances, custody, and replay protection."},{tab:"how-to-claim",path:"/how-to-claim/",label:"Accessing ECX",title:"How to Access ECX After the Bitcoin Fork | eCash",desc:"How fork balances work for Bitcoin holders, why exchange support matters, and where to find official eCash wallet and coin-splitting guidance."},{tab:"download",path:"/download/",label:"Wallets & downloads",title:"eCash (ECX) Wallets & Downloads — BitWindow and Nodes",desc:"Official eCash wallet and BitWindow download links, node resources, and important checks for network selection, wallet support, and replay protection."},{tab:"faq",path:"/faq/",label:"FAQ",title:"eCash (ECX) FAQ — Bitcoin Fork, Wallets & Drivechains",desc:"Answers about eCash ECX, the planned mainnet fork, BTC balances, wallet access, coin splitting, mining, Drivechains, and the distinction from XEC."},{tab:"reading",path:"/reading/",label:"Further reading",title:"Bitcoin & Drivechain Reading — eCash (ECX) Resources",desc:"Explore primary sources, essays, papers, and technical documentation on Bitcoin, BIP300/BIP301, Drivechains, and the eCash hard fork."},{tab:"fast-facts",path:"/fast-facts/",label:"Technical fast facts",title:"eCash (ECX) Fast Facts — Protocol & Integration Guide",desc:"Technical reference for eCash integrators: network stages, node software, key formats, replay protection, sidechains, and official documentation."},{tab:"sidechains",path:"/sidechains/",label:"Sidechains",title:"eCash (ECX) Sidechains — LayerTwo Labs Projects",desc:"Explore the seven LayerTwo Labs sidechain projects, from payments and privacy to prediction markets, with source repositories and development status."},{tab:"media",path:"/watch/",aliases:["/media/"],label:"Videos & interviews",title:"eCash (ECX) Videos, Interviews & Drivechain Explainers",desc:"Watch eCash interviews, Bitcoin hard-fork discussions, Drivechain presentations, and recorded debates in the project's curated video library."},{tab:"endorsements",path:"/endorsements/",label:"Endorsements",title:"eCash (ECX) & Drivechains — Community Commentary",desc:"Read attributed commentary, interviews, and coverage about eCash and Drivechains from Bitcoin builders, researchers, and community members."},{tab:"brand",path:"/brand/",label:"Brand assets",title:"eCash (ECX) Brand Assets & Media Kit",desc:"Download official eCash (ECX) logos and find the project's colours, typography, and brand assets for editorial and community use."},{tab:"bounty",path:"/bounty/",label:"Bug bounty",title:"eCash (ECX) Bug Bounty & Hackathon",desc:"Find the eCash pre-launch security-review and builder competition information, including published scope, participation resources, and programme status."},{tab:"socials",path:"/socials/",label:"Community & contact",title:"eCash (ECX) Community, Socials & Contact",desc:"Find official eCash community channels and contact resources on X, Telegram, YouTube, and GitHub. Connect with the ECX and Drivechain community."},{tab:"list-ecx",path:"/list-ecx/",label:"Exchange requests",title:"Request ECX Exchange Support | eCash",desc:"Vote for exch
40anges you would like to support eCash (ECX). Community requests express interest and do not confirm a listing or custody support."},{tab:"join",path:"/join/",label:"BTC holder primer",title:"eCash (ECX) — A Primer for Bitcoin Holders",desc:"A short guide to the eCash fork timeline, self-custody and exchange considerations, and the resources Bitcoin holders can review before mainnet."},{tab:"sol-token",path:"/sol-token/",label:"Solana community token",title:"Solana Community Token & ECX Programme | eCash",desc:"Information about the separate Solana community token, creator rewards, holder rankings, and the project's proposed post-fork ECX redemption programme."},{tab:"privacy",path:"/privacy/",label:"Privacy policy",title:"Privacy Policy — eCash (ECX) Wallet & Website",desc:"Read the privacy policy for the eCash Wallet application and ecash.com, including data handling, third-party services, and contact information."},{tab:"terms",path:"/terms/",label:"Terms of service",title:"Terms of Service — eCash (ECX) Wallet & Website",desc:"Read the terms governing use of the non-custodial eCash Wallet application and ecash.com, including user responsibilities and service limitations."}],E={BETA_DATE_ISO:"2026-09-19T04:42:25Z",ROLLOUT_AT_ISO:"2026-08-22T23:26:00Z",ROADMAP:[{key:"alpha",label:"Alpha",dateLabel:"23rd august 2026",blockHeight:963648},{key:"beta",label:"Beta",dateLabel:"19th september 2026",blockHeight:967680},{key:"mainnet",label:"Mainnet",dateLabel:"31st october 2026",blockHeight:973728}],FORK_DATE_ISO:"2026-10-31T15:00:00Z",FORK_DATE_APPROX:"on or around 31st October 2026",SIDECHAINS:[{slug:"thunder",name:"Thunder",desc:"High-throughput payments sidechain",status:"live",repo:"https://github.com/LayerTwo-Labs/thunder"},{slug:"zside",name:"zSide",desc:"Privacy sidechain modeled on Zcash",status:"live",repo:"https://github.com/LayerTwo-Labs/zebra"},{slug:"bitnames",name:"BitNames",desc:"Decentralized identity & DNS",status:"live",repo:"https://github.com/LayerTwo-Labs/plain-bitnames"},{slug:"bitassets",name:"BitAssets",desc:"NFTs, ERC20-style tokens",status:"live",repo:"https://github.com/LayerTwo-Labs/plain-bitassets"},{slug:"photon",name:"Photon",desc:"Quantum-resistant sidechain",status:"in-progress",repo:"https://github.com/LayerTwo-Labs/photon"},{slug:"truthcoin",name:"Truthcoin",desc:"Prediction markets",status:"live",repo:"https://github.com/LayerTwo-Labs/truthcoin-dc"},{slug:"coinshift",name:"CoinShift",desc:"Decentralized exchange",status:"in-progress",repo:"https://github.com/LayerTwo-Labs/coinshift-rs"}]};function qf(e=Date.now()){return e<new Date(E.ROLLOUT_AT_ISO).getTime()?"alpha":e<new Date(E.BETA_DATE_ISO).getTime()?"beta":"mainnet"}const Kf={accent:"#e8a84a",countdownStyle:"digital",showTicker:!0,showTagline:!1,gridBg:"none"};Object.fromEntries(Fs.map(e=>[e.tab,e]));const Os=new Date(E.FORK_DATE_ISO);function Fa(e=Os){const[t,n]=C.useState(()=>Date.now());C.useEffect(()=>{const u=setInterval(()=>n(Date.now()),1e3);return()=>clearInterval(u)},[]);const i=Math.max(0,e.getTime()-t),o=Math.floor(i/1e3),a=Math.floor(o/86400),s=Math.floor(o%86400/3600),c=Math.floor(o%3600/60),l=o%60;return{days:a,hours:s,minutes:c,seconds:l,totalSeconds:o,diff:i}}const kn=(e,t=2)=>String(e).padStart(t,"0"),Yf=()=>typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function Qf({threshold:e=.15,rootMargin:t="0px 0px -8% 0px",once:n=!0}={}){const i=C.useRef(null),[o,a]=C.useState(typeof window>"u");return C.useEffect(()=>{if(Yf()){a(!0);return}const s=i.current;if(!s||typeof IntersectionObserver>"u"){a(!0);return}const c=new IntersectionObserver(l=>{l.forEach(u=>{u.isIntersecting?(a(!0),n&&c.unobserve(u.target)):n||a(!1)})},{threshold:e,rootMargin:t});return c.observe(s),()=>c.disconnect()},[e,t,n]),[i,o]}function F({children:e,delay:t=0,y:n=18,as:i="div",style:o,...a}){const[s,c]=Qf();return r.jsx(i,{ref:s,style:{opacity:c?1:0,transform:c?"none":`translateY(${n}px)`,transition:`opacity .6s cubic-bezier(.22,1,.36,1) ${t}ms, transform .6s cubic-bezier(.22,1,.36,1) ${t}ms`,willChange:"opacity, transform",...o},...a,children:e})}const Xp=[{q:"What is eCash (ECX)?",a:"eCash (ECX) is a Bitcoin hard fork associated with Paul Sztorc and LayerTwo L
40abs. It creates a separate blockchain designed to activate Drivechains through BIP300 and BIP301. ECX is the asset of that chain, not an ERC20 or Solana token.",href:"/what-is-ecash/",label:"About eCash (ECX)"},{q:"When is mainnet, and at what block will eCash fork?",a:`Mainnet is planned ${E.FORK_DATE_APPROX}, at Bitcoin block ~${E.ROADMAP[2].blockHeight.toLocaleString("en-US")}. The calendar date is an estimate because Bitcoin block times vary. Check the official announcements for final launch software and parameters.`,href:"/what-to-expect/",label:"Fork timeline and what to expect"},{q:"How are Alpha, Beta, and mainnet different?",a:"Each stage is a fresh fork of Bitcoin, not a continuation of the preceding test balance. Alphanet forked at block 963,648 and is retired on September 24, 2026. Betanet launched at block 967,680 on September 19. Mainnet is the planned permanent network.",href:"/fast-facts/",label:"Network stages and integration reference"},{q:"Does owning BTC give me ECX?",a:"The fork copies the Bitcoin ledger: an address with BTC at the mainnet fork block has a matching ECX balance on the new chain. Access depends on control of the corresponding keys and suitable software. If a custodian holds the keys, its support and crediting policy determine whether you can access ECX. A 1:1 balance does not imply equal market value.",href:"/how-to-claim/",label:"Accessing ECX after the fork"},{q:"Does claiming ECX affect my BTC?",a:"The fork itself does not change Bitcoin balances. However, transactions spending unsplit pre-fork coins can be valid on both networks. Using unverified wallet software or mishandling keys can also put BTC at risk. Understand replay protection before attempting to spend either side.",href:"/coin-splitting/",label:"Replay protection and coin splitting"},{q:"What are Drivechains, BIP300, and BIP301?",a:"Drivechains connect a main chain to sidechains with separate rules. BIP300 describes hashrate escrows and miner-signalled withdrawals. BIP301 describes blind merged mining, through which main-chain miners can be paid to commit to sidechain blocks without validating those sidechains themselves.",href:"/drivechains/",label:"Drivechains explained"},{q:"How do I split BTC and ECX safely?",a:"The integration guide describes splitting on the eCash side first using opt-in replay protection, then waiting for sufficient confirmations before treating the BTC and ECX ledgers independently. The marker is nLockTime = 499999999, with non-final input sequence numbers. This is not protection on every transaction by default. Review the current guide and verified wallet release before proceeding.",href:"/coin-splitting/",label:"Read the splitting guide and cautions"},{q:"Which Bitcoin wallets can access ECX?",a:"eCash reuses Bitcoin address and key formats, but that alone does not establish wallet support. Software must connect to the correct eCash network and handle replay protection. Consult the official downloads and your wallet provider; do not assume that a Bitcoin wallet, hardware device, or exchange supports ECX.",href:"/download/",label:"Wallets and official downloads"},{q:"Which exchanges will support ECX?",a:"Do not treat a community vote or integration documentation as confirmation of a listing. Each exchange decides its own listing, crediting, deposit, and withdrawal policies. Check the exchange’s own announcements before relying on support.",href:"/list-ecx/",label:"Community exchange requests"},{q:"How does mining work, and what are the risks?",a:"eCash uses SHA-256d proof of work with a one-time difficulty reset at each fork and subsequent difficulty retargets. Early block timing and reorganisations can be unpredictable. The integration guide advises deeper confirmations and reorganisation monitoring; it does not promise immunity from majority-hashrate attacks.",href:"https://github.com/eCash-com/fast-facts/blob/main/08-mining.md",label:"Official mining documentation"},{q:"Can developers build their own sidechains?",a:"Developers can build on the open-source sidechain implementations and propose new sidechains. Activation is subject to the network’s miner-signalling rules; a proposal is not guaranteed to activate. Test-network parameters may differ from mainnet.",href:"/sidechains/",label:"Sidechain projects and s
40ource repositories"},{q:"Is eCash quantum resistant?",a:"The base chain uses Bitcoin-style keys and signatures. Photon is a sidechain project focused on quantum resistance; its existence does not make every ECX transaction or wallet quantum resistant. Review its implementation and current status before relying on it.",href:"/sidechains/",label:"Explore the sidechain projects"},{q:"Is eCash (ECX) the same project as eCash (XEC)?",a:"No. ecash.com describes eCash (ECX), the Bitcoin hard fork associated with Drivechains and the planned 2026 mainnet. The eCash project at e.cash uses the ticker XEC. The shared name does not mean these are the same asset or network.",href:"/what-is-ecash/#ecx-not-xec",label:"ECX and XEC explained"}],Ge="https://ecash.com",Up={tab:"404",path:"/404.html",label:"Page not found",title:"Page Not Found | eCash (ECX)",desc:"This page could not be found. Explore the eCash (ECX) guides, FAQ, and official resources.",noindex:!0},Hs=e=>Fs.find(t=>t.tab===e)||Up,Oa=e=>Hs(e).path;function pc(e){const t=e.replace(/\/index\.html$/,"/").replace(/\.html$/,"/").replace(/\/$/,"")+"/";return(Fs.find(n=>{var i;return n.path===t||((i=n.aliases)==null?void 0:i.includes(t))})||Up).tab}function Gf(e){const t=Hs(e);if(t.noindex)return null;const n=Ge+t.path,i={"@type":"Thing","@id":Ge+"/#ecx",name:"eCash (ECX)",alternateName:"ECX",description:"A Bitcoin hard fork associated with Paul Sztorc and LayerTwo Labs, designed to activate Drivechains using BIP300 and BIP301. Distinct from eCash (XEC).",url:Ge+"/what-is-ecash/",sameAs:["https://github.com/ecash-com/bitcoin"]},o=[i,{"@type":"WebSite","@id":Ge+"/#website",name:"eCash (ECX)",url:Ge+"/",about:{"@id":i["@id"]}},{"@type":"WebPage","@id":n+"#webpage",url:n,name:t.title,description:t.desc,isPartOf:{"@id":Ge+"/#website"},about:{"@id":i["@id"]}}];return e!=="home"&&o.push({"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:Ge+"/"},{"@type":"ListItem",position:2,name:t.label,item:n}]}),e==="faq"&&o.push({"@type":"FAQPage","@id":n+"#faq",mainEntity:Xp.map(a=>
40({"@type":"Question",name:a.q,acceptedAnswer:{"@type":"Answer",text:a.a}}))}),{"@context":"https://schema.org","@graph":o}}const nn=e=>String(e).replace(/[&<>"']/g,t=>({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"})[t]),Zf=e=>JSON.stringify(e).replace(/</g,"\\u003c");function Jf(e){const t=Hs(e),n=Ge+t.path;return`<title>${nn(t.title)}</title>
41<meta name="description" content="${nn(t.desc)}" />
42<meta name="robots" content="${t.noindex?"noindex, follow":"index, follow"}" />
43${t.noindex?"":`<link rel="canonical" href="${n}" />`}
44<meta property="og:type" content="website" />
45<meta property="og:site_name" content="eCash (ECX)" />
46<meta property="og:url" content="${n}" />
47<meta property="og:title" content="${nn(t.title)}" />
48<meta property="og:description" content="${nn(t.desc)}" />
49<meta property="og:image" content="${Ge}/social-preview.png" />
50<meta property="og:image:alt" content="eCash (ECX) — Bitcoin hard fork with Drivechains" />
51<meta name="twitter:card" content="summary_large_image" />
52<meta name="twitter:title" content="${nn(t.title)}" />
53<meta name="twitter:description" content="${nn(t.desc)}" />
54<meta name="twitter:image" content="${Ge}/social-preview.png" />
55${t.noindex?"":`<script id="page-schema" type="application/ld+json">${Zf(Gf(e))}<\/script>`}`}function em(e){document.head.querySelectorAll('title, meta[name="description"], meta[name="robots"], link[rel="canonical"], meta[property^="og:"], meta[name^="twitter:"], #page-schema').forEach(n=>n.remove());const t=document.createElement("template");t.innerHTML=Jf(e),document.head.append(t.content)}function ro(e,t){!t||e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||(e.preventDefault(),t())}function Ke({tab:e,setTab:t,children:n,onClick:i,style:o,...a}){return r.jsx("a",{...a,href:Oa(e),style:{textDecoration:"none",...o},onClick:s=>ro(s,()=>{t?t(e):i||window.location.assign(Oa(e)),i==null||i()}),children:n})}const tm={alpha:E.ROLLOUT_AT_ISO,beta:E.BETA_DATE_ISO,mainnet:E.FORK_DATE_ISO},nm=['<path d="M406.486,280.925 C472.249,280.925 525.561,334.237 525.561,400 C525.358,408.043 525.507,408.242 524.189,418.134 C523.947,419.947 523.456,421.719 523.09,423.511 C523.09,423.511 405.336,423.511 386.482,423.511 C370.04,423.511 370.04,384.532 386.482,384.483 C402.054,384.436 472.372,384.483 472.372,384.483 C466.039,353.583 436.989,333.042 406.486,332.27 C369.08,332.27 338.756,362.594 338.756,400 C338.756,437.406 369.08,467.73 406.486,467.73 L503.953,468.213 C482.286,500.711 444.793,518.106 406.486,519.075 C340.723,519.075 287.411,465.764 287.411,400 C287.645,390.728 287.36,395.905 288.518,384.483 C288.518,384.483 179.855,384.448 173.697,384.483 C173.487,383.519 176.227,361.201 177.054,359.229 C180.355,359.237 294.583,359.229 294.583,359.229 C313.423,311.336 355.039,282.226 406.486,280.925 L406.486,280.925 z" fill="COLOR"/>','<path d="M405.602,168.039 C500.166,168.102 591.592,230.091 623.305,319.984 L557.167,319.984 C527.101,263.666 470.365,231.736 407.27,229.753 C343.525,230.368 289.192,265.152 257.645,319.744 L187.883,319.744 C220.501,227.325 309.303,171.991 405.602,168.039 L405.602,168.039 z" fill="COLOR"/>','<path d="M234.989,423.511 C247.224,508.566 319.245,569.437 404.565,570.513 C471.073,570.482 535.175,530.189 561.39,468.467 L627.11,468.467 C597.06,566.545 506.089,630.683 404.565,631.961 C285.944,631.636 184.961,541.936 172.889,423.511 L234.989,423.511 z" fill="COLOR"/>'].join(`
56  `);function rm({size:e=200,color:t="#E8A84A",style:n}){return r.jsx("svg",{viewBox:"0 0 800 800",width:e,height:e,style:n,children:r.jsx("g",{dangerouslySetInnerHTML:{__html:nm.replace(/COLOR/g,t)}})})}function im(){const e=new Date("2009-01-03T18:15:05Z").getTime(),t=(Date.now()-e)/864e5;return Math.round(t*149.8)}function om(e=768){const[t,n]=C.useState(()=>typeof window<"u"&&window.innerWidth<e);return C.useEffect(()=>{const i=()=>n(window.innerWidth<e);return window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[e]),t}function am({c:e,accent:t,isMobile:n}){const i=[[e.days,"days"],[kn(e.hours),"hours"],[kn(e.minutes),"minutes"],[kn(e.seconds),"seconds"]];return r.jsxs("div",{className:"dot-grid",style:{border:"1px solid var(--border-0)",borderRadius:16,background:"rgba(255,255,255,0.012)",padding:"clamp(24px,4vw,48px) clamp(18px,4vw,56px) clamp(18px,2.6vw,28px)",width:"100%",maxWidth:1060},children:[r.jsx("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:n?6:12},children:i.map(([o,a],s)=>r.jsxs(C.Fragment,{children:[r.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:n?8:14,flex:1},children:[r.jsx("div",{className:"f-sans",style:{fontSize:"clamp(52px, 9.6vw, 148px)",fontWeight:500,lineHeight:.9,letterSpacing:"-0.04em",color:"var(--text-0)",fontVariantNumeric:"tabular-nums"},children:o}),r.jsx("div",{style:{fontFamily:"var(--font-mono)",fontSize:n?8:11,letterSpacing:"0.3em",textTransform:"uppercase",color:"var(--text-3)"},children:a})]}),s<i.length-1&&r.jsx("div",{className:"f-sans",style:{fontSize:"clamp(34px, 6vw, 92px)",fontWeight:400,lineHeight:1,color:t,o
56pacity:.85,paddingTop:"clamp(2px,0.8vw,14px)"},children:":"})]},a))}),r.jsx("div",{style:{borderTop:"1px solid var(--border-0)",marginTop:"clamp(20px,3.4vh,38px)",paddingTop:16,display:"flex",justifyContent:"flex-end",alignItems:"center",flexWrap:"wrap",gap:10,fontFamily:"var(--font-mono)",fontSize:n?9:11,letterSpacing:"0.18em",textTransform:"uppercase"},children:r.jsx("span",{style:{color:"var(--text-4)",letterSpacing:"0.14em"},children:"roadmap ↓"})})]})}function sm({accent:e,isMobile:t,activePhase:n,mainnetCountdown:i}){const o=E.ROADMAP,a=o.findIndex(s=>s.key===n);return r.jsx("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",width:"100%",maxWidth:620},children:r.jsx("div",{style:{display:"flex",width:"100%"},children:o.map((s,c)=>{const l=c<a,u=c===a,x=s.key==="mainnet"&&!u&&n!=="alpha";return r.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:8,flex:1,position:"relative"},children:[c<o.length-1&&r.jsx("div",{style:{position:"absolute",top:t?12:14,left:"50%",width:"100%",height:1,background:u||l?`linear-gradient(90deg, ${e}, var(--border-2))`:"var(--border-2)",zIndex:0}}),r.jsx("div",{style:{width:t?24:28,height:t?24:28,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",fontFamily:"var(--font-mono)",fontSize:11,position:"relative",zIndex:1,border:`1px solid ${u?e:l?`${e}80`:"var(--border-2)"}`,color:u?e:l?`${e}90`:"var(--text-4)",background:u?`linear-gradient(${e}14, ${e}14), var(--bg-0)`:l?`linear-gradient(${e}0a, ${e}0a), var(--bg-0)`:"var(--bg-0)",boxShadow:u?`0 0 12px ${e}40`:l?`0 0 6px ${e}20`:"none"},children:l?"✓":c+1}),r.jsx("div",{style:{fontFamily:"var(--font-mono)",fontSize:t?9:10,letterSpacing:"0.16em",textTransform:"uppercase",color:u?"var(--text-0)":l?"var(--text-2)":"var(--text-3)"},children:s.label}),r.jsx("div",{style:{fontFamily:"var(--font-mono)",fontSize:t?8:9,letterSpacing:"0.06em",color:"var(--text-4)",textAlign:"center",maxWidth:t?84:130},children:s.dateLabel}),r.jsxs("div",{style:{fontFamily:"var(--font-mono)",fontSize:t?7:8,letterSpacing:"0.04em",color:"var(--text-4)",opacity:.7,textAlign:"center"},children:["block ~",s.blockHeight.toLocaleString()]}),x&&r.jsxs("div",{style:{fontFamily:"var(--font-mono)",fontSize:t?7:8,letterSpacing:"0.04em",color:e,opacity:.85,textAlign:"center"},children:["in ",i.days,"d ",kn(i.hours),"h"]})]},s.key)})})})}function lm({accent:e}){const t=[{label:"activation block",value:`~${E.ROADMAP[2].blockHeight.toLocaleString()}`,sub:E.ROADMAP[2].dateLabel},{label:"ecash per btc",value:"1:1",sub:"no claim, no form"},{label:"bip",value:"300·301",sub:"drivechains + blind merged mining"}];return r.jsx("div",{className:"home-stat-grid",style:{border:"1px solid var(--border-0)",borderRadius:16,overflow:"hidden",background:"rgba(255,255,255,0.012)"},children:t.map((n,i)=>r.jsxs("div",{className:"home-stat-cell dot-grid",style:{padding:"clamp(22px,3vw,34px) clamp(18px,2.4vw,30px)"},children:[r.jsx("div",{style:{fontFamily:"var(--font-mono)",fontSize:10,letterSpacing:"0.24em",textTransform:"uppercase",color:"var(--text-3)",marginBottom:14},children:n.label}),r.jsx("div",{className:"f-sans",style:{fontSize:"clamp(30px,3.4vw,46px)",fontWeight:500,letterSpacing:"-0.03em",color:i===0?e:"var(--text-0)",lineHeight:1,fontVariantNumeric:"tabular-nums"},children:n.value}),r.jsx("div",{style:{fontFamily:"var(--font-mono)",fontSize:10,letterSpacing:"0.12em",color:"var(--text-4)",marginTop:12,textTransform:"uppercase"},children:n.sub})]},n.label))})}function cm({children:e}){return r.jsxs("div",{className:"section-marker",style:{marginBottom:"clamp(40px,6vh,64px)"},children:[r.jsx("span",{className:"sm-rule"}),r.jsx("span",{className:"sm-label",children:e}),r.jsx("span",{className:"sm-rule"})]})}function Ao({marker:e,children:t,style:n}){return r.jsx("section",{style:{padding:"clamp(64px,10vh,120px) clamp(20px,5vw,40px) 0",...n},children:r.jsxs("div",{style:{maxWidth:1060,margin:"0 auto"},children:[e&&r.jsx(F,{children:r.jsx(cm,{children:e})}),t]})})}function dm({accent:e,items:t}){const n=[...t,...t];return r.jsx("div",{style:{borderTop:"1px solid var(--border-0)",borderBottom:"1px solid var(--border-0)",padding:"12px 0",overflow:"hidden",fontSize:10,letterSpacing:"0.2em",color:"var(--text-3)",textTransform:"uppercase",background:"var(--bg-0)",maskImage:"linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent)",WebkitMaskImage:"linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent)"},children:r.jsx("div",{style:{display:"inline-flex",gap:48,whiteSpace:"nowrap",animation:"tickerScroll 60s linear infinite",paddingLeft:48},children:n.map((i,o)=>r.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:48},children:[i,r.jsx("span",{style:{color:e},children:"●"})]},o))})})}function pm({accent:e,setTab:t}){return r.jsxs("div",{style:{display:"flex",gap:"clamp(10px,1.6vw,16px)",flexWrap:"wrap",justifyContent:"center"},children:[r.jsxs("a",{className:"pill-btn pill-btn--fill",href:"https://ecash.com/download",target:"_blank",rel:"noopener noreferrer",onClick:()=>{window.plausible&&window.plausible("Hero CTA",{props:{cta:"download"}})},children:["download ecash wallet ",r.jsx("span",{style:{fontSize:"0.9em"},children:"↗"})]}),r.jsx("a",{className:"pill-btn pill-btn--ghost",href:"/how-to-claim/",onClick:n=>{n.preventDefault(),window.plausible&&window.plausible("Hero CTA",{props:{cta:"how-to-claim"}}),t("how-to-claim")},children:"how to claim $ECX"})]})}function um({tweaks:e,setTab:t}){const n=qf(),i=tm[n],o=Fa(new Date(i)),a=Fa(new Date(E.FORK_DATE_ISO)),s=om(),[c,l]=C.useState({height:null,mempoolBytes:null,mempoolTxs:null});C.useEffect(()=>{let m=!1;const p=async()=>{try{const[h,w]=await Promise.allSettled([(async()=>{const j=["https://mempool.space","https://blockstream.info"];for(const _ of j)try{const T=new AbortController;setTimeout(()=>T.abort(),5e3);const A=await fetch(`${_}/api/blocks/tip/height`,{signal:T.signal});if(A.ok)return A.text()}catch{}throw new Error("all failed")})(),fetch("https://mempool.space/api/mempool").then(j=>j.ok?j.json():null)]);if(m)return;l(j=>{const _={...j};if(h.status==="fulfilled"){const T=parseInt(h.value,10);!isNaN(T)&&T>0&&(_.height=T)}return w.status==="fulfilled"&&w.value&&(typeof w.value.vsize=="number"&&(_.mempoolBytes=w.value.vsize),typeof w.value.count=="number"&&(_.mempoolTxs=w.value.count)),_})}catch{}};p();const d=setInterval(p,6e4);return()=>{m=!0,clearInterval(d)}},[]);const u=c.height||im(),x=c.mempoolBytes!=null?(c.mempoolBytes/1024/1024).toFixed(1):"24.1",g=c.mempoolTxs!=null?c.mempoolTxs.toLocaleStr
56ing():"8,302",{accent:f,showTicker:b}=e,v=[`mempool ${x}mb · ${g} txs`,`btc block ${u.toLocaleString()}`,"bip-300 · bip-301","peer-to-peer electronic cash · again",`hardfork · ${E.FORK_DATE_APPROX.toLowerCase()}`],y={color:f,textDecoration:"none",borderBottom:`1px solid ${f}50`},k=m=>p=>{p.preventDefault(),t(m)};return r.jsxs("main",{style:{width:"100%",overflow:"hidden"},children:[r.jsxs("div",{style:{minHeight:"100svh",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:`${s?88:110}px clamp(20px,5vw,40px) clamp(40px,6vh,64px)`,gap:"clamp(28px,4.6vh,48px)",position:"relative"},children:[r.jsxs("header",{className:"hero-intro",style:{"--hero-accent":f},children:[r.jsxs("h1",{className:"hero-intro__heading",children:[r.jsxs("span",{className:"hero-intro__identity",children:["eCash ",r.jsx("span",{className:"hero-intro__ticker",children:"ECX"})]}),r.jsxs("span",{className:"hero-intro__title",children:["Bitcoin, ",r.jsx("span",{children:"with Drivechains."})]})]}),r.jsxs("div",{className:"hero-intro__details",children:[r.jsxs("p",{children:["A Bitcoin hard fork for ",r.jsx(Ke,{tab:"drivechains",setTab:t,children:"BIP300/301"}),"."]}),r.jsxs(Ke,{tab:"what-is-ecash",setTab:t,className:"hero-intro__link",children:["What is eCash? ",r.jsx("span",{"aria-hidden":"true",children:"↗"})]})]})]}),r.jsx("noscript",{children:r.jsxs("p",{style:{color:"var(--text-2)",fontSize:12},children:["The countdown below is a build-time snapshot. Enable JavaScript for a ticking clock; mainnet is planned ",E.FORK_DATE_APPROX,"."]})}),r.jsx(am,{c:o,accent:f,isMobile:s}),r.jsx(sm,{accent:f,isMobile:s,activePhase:n,mainnetCountdown:a}),r.jsx("div",{style:{textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",gap:"clamp(14px,2.2vh,22px)"},children:r.jsxs("div",{className:"f-mono",style:{color:f,fontSize:"clamp(13px,1.4vw,16px)",letterSpacing:"0.04em",lineHeight:1.4,maxWidth:720},children:["[ at block ~",E.ROADMAP[2].blockHeight.toLocaleString()," (mainnet), every btc address receives permanent $ECX 1:1 ]"]})}),r.jsx(pm,{accent:f,setTab:t}),r.jsx("div",{className:"f-mono",style:{position:"absolute",bottom:14,left:"50%",transform:"translateX(-50%)",fontSize:9,letterSpacing:"0.3em",color:"var(--text-4)",textTransform:"uppercase",display:s?"none":"block"},children:"scroll ↓"})]}),b&&r.jsx(dm,{accent:f,items:v}),r.jsx(Ao,{marker:"the fork",children:r.jsx(F,{children:r.jsx(lm,{accent:f})})}),r.jsx(Ao,{marker:"the airdrop",children:r.jsxs("div",{className:"home-2col",children:[r.jsx(F,{children:r.jsxs("div",{children:[r.jsxs("p",{className:"f-sans",style:{fontSize:"clamp(14px,1.5vw,17px)",color:"var(--text-1)",lineHeight:1.65,maxWidth:480,margin:0},children:["at block ~",E.ROADMAP[2].blockHeight.toLocaleString()," (mainnet, ",E.FORK_DATE_APPROX,"), every bitcoin address is credited with permanent $ECX, one for one. alpha and beta are separate rehearsals; mainnet starts from a fresh bitcoin snapshot. no claim, no form, no snapshot registration. wallet access and replay protection still matter."]}),r.jsxs("p",{className:"f-sans",style:{fontSize:"clamp(14px,1.5vw,17px)",color:"var(--text-1)",lineHeight:1.65,maxWidth:480,margin:"14px 0 0"},children:["your BTC is untouched. eCash is a new chain that starts from bitcoin's ledger, and adds what bitcoin can't."," ",r.jsx("a",{href:"/what-to-expect/",onClick:k("what-to-expect"),style:y,children:"what to expect →"})," Read about ",r.jsx("a",{href:"/how-to-claim/",style:y,children:"accessing ECX"})," and ",r.jsx("a",{href:"/coin-splitting/",style:y,children:"coin splitting"}),"."]})]})}),r.jsx(F,{delay:120,children:r.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",position:"relative",minHeight:260},children:[r.jsx("div",{className:"radial-rings",style:{opacity:.9}}),r.jsx(rm,{size:s?150:210,color:f,style:{filter:`drop-shadow(0 0 60px ${f}30)`}})]})})]})}),r.jsx(Ao,{marker:"problem",children:r.jsxs("div",{className:"home-2col",children:[r.jsx(F,{children:r.jsxs("div",{children:[r.jsxs("h2",{className:"bracket-h",style:{margin:0,fontSize:"clamp(28px,3.6vw,48px)"},children:["bitcoin has",r.jsx("br",{}),"ossified"]}),r.jsx("p",{className:"f-sans",style:{fontSize:"clamp(14px,1.5vw,17px)",color:"var(--text-1)",lineHeight:1.65,maxWidth:480,margin:"20px 0 0"},children:"no meaningful upgrade has shipped since taproot in 2021. every proposal dies in review. that's good for stability, and fatal for progress."}),r.jsxs("p",{className:"f-sans",style:{fontSize:"clamp(14px,1.5vw,17px)",color:"var(--text-1)",lineHeight:1.65,maxWidth:480,margin:"14px 0 0"},children:["eCash forks bitcoin to ship drivechains: opt-in sidechains for privacy, scale and experimentation, without touching the main chain's rules."," ",r.jsx("a",{href:"/why-hardfork/",onClick:k("why-hardfork"),style:y,children:"why hardfork →"})]})]})}),r.jsx(F,{delay:120,children:r.jsx("div",{className:"dot-grid",style:{border:"1px solid var(--border-0)",borderRadius:16,padding:"clamp(22px,3vw,34px)"},children:[["2009","genesis, peer-to-peer electronic cash",!1],["2017","segwit, the last contested upgrade",!1],["2021","taproot, the last soft fork, period",!1],["2026","ecash, the fork that ships sidechains",!0]].map(([m,p,d])=>r.jsxs("div",{style:{display:"flex",gap:18,alignItems:"baseline",padding:"13px 4px",borderTop:m==="2009"?"none":"1px solid var(--border-0)"},children:[r.jsx("span",{style:{fontFamily:"var(--font-mono)",fontSize:13,color:d?f:"var(--text-3)",fontWeight:d?600:400,letterSpacing:"0.08em"},children:m}),r.jsx("span",{className:"f-sans",style:{fontSize:"clamp(13px,1.4vw,15px)",color:d?"var(--text-05)":"var(--text-2)",lineHeight:1.5},children:p})]},m))})})]})}),r.jsxs("section",{style:{position:"relative",marginTop:"clamp(72px,11vh,130px)",borderTop:"1px solid var(--border-0)",padding:"clamp(80px,14vh,160px) clamp(20px,5vw,40p
56x)",textAlign:"center",overflow:"hidden"},children:[r.jsx("div",{className:"radial-rings"}),r.jsxs("div",{style:{position:"relative",maxWidth:860,margin:"0 auto",display:"flex",flexDirection:"column",alignItems:"center",gap:"clamp(22px,3.6vh,34px)"},children:[r.jsx(F,{children:r.jsxs("div",{className:"f-mono",style:{fontSize:10,letterSpacing:"0.3em",textTransform:"uppercase",color:"var(--text-3)"},children:["block ~",E.ROADMAP[2].blockHeight.toLocaleString()," ",r.jsxs("span",{style:{color:"var(--text-4)"},children:["· mainnet · ",E.FORK_DATE_APPROX.toLowerCase()]})]})}),r.jsx(F,{delay:80,children:r.jsxs("h2",{className:"bracket-h",style:{margin:0,fontSize:"clamp(30px,4.6vw,62px)"},children:["at block ~",E.ROADMAP[2].blockHeight.toLocaleString(),", every btc address is credited $ECX 1:1."]})}),r.jsx(F,{delay:160,children:r.jsxs("div",{style:{display:"flex",gap:"clamp(10px,1.6vw,16px)",flexWrap:"wrap",justifyContent:"center"},children:[r.jsxs("a",{className:"pill-btn pill-btn--fill",href:"https://ecash.com/download",target:"_blank",rel:"noopener noreferrer",onClick:()=>{window.plausible&&window.plausible("Footer CTA",{props:{cta:"download"}})},children:["download ecash wallet ",r.jsx("span",{style:{fontSize:"0.9em"},children:"↗"})]}),r.jsx("a",{className:"pill-btn pill-btn--ghost",href:"/what-to-expect/",onClick:k("what-to-expect"),children:"what to expect"})]})})]})]})]})}const hm="https://github.com/eCash-com/fast-facts",jn=({file:e,children:t})=>r.jsx("a",{href:hm+(e?"/blob/main/"+e:""),children:t}),xe=({title:e,id:t,children:n})=>r.jsxs("section",{id:t,children:[r.jsx("h2",{children:e}),n]});function fm(){return r.jsxs(r.Fragment,{children:[r.jsx("h1",{children:"What is eCash (ECX)?"}),r.jsxs("p",{children:["eCash (ECX) is a Bitcoin hard fork associated with Paul Sztorc and LayerTwo Labs. Its purpose is to activate ",r.jsx("a",{href:"/drivechains/",children:"Drivechains, using BIP300 and BIP301"}),", on a separate blockchain. ECX is that network’s asset, not a token issued on Ethereum or Solana."]}),r.jsx(xe,{title:"How does the Bitcoin hard fork work?",children:r.jsxs("p",{children:["A fork begins with Bitcoin’s ledger at a particular block, then follows separate rules. Bitcoin continues as BTC; the new network tracks ECX. The project’s node is based on Bitcoin Core, with fork-specific changes including Drivechain integration, network identity, and a difficulty reset. Read ",r.jsx("a",{href:"/what-to-expect/",children:"what Bitcoin holders can expect"})," and the project’s ",r.jsx("a",{href:"/why-hardfork/",children:"case for a hard fork"}),"."]})}),r.jsxs(xe,{title:"When does eCash mainnet launch?",children:[r.jsxs("p",{children:["Mainnet is planned ",E.FORK_DATE_APPROX,", at Bitcoin block ~",E.ROADMAP[2].blockHeight.toLocaleString("en-US"),". The date is an estimate, not a guaranteed activation time: block production determines when a height is reached."]}),r.jsxs("p",{children:["Alpha and Beta are rehearsals, each starting from a separate Bitcoin snapshot. Betanet launched on September 19, 2026 at block 967,680; Alpha is retired on September 24. Review ",r.jsx("a",{href:"/fast-facts/",children:"network details"})," and confirm the announced mainnet release before using software with real funds."]})]}),r.jsx(xe,{title:"What are Drivechains, BIP300, and BIP301?",children:r.jsxs("p",{children:["Sidechains let developers experiment with different rules outside the base chain. BIP300 describes the escrow and withdrawal mechanism connecting them; BIP301 describes blind merged mining. These mechanisms have specific security assumptions and withdrawal delays. Our ",r.jsx("a",{href:"/drivechains/",children:"Drivechains guide"})," explains the roles, and the ",r.jsx("a",{href:"/sidechains/",children:"sidechain directory"})," links to individual projects."]})}),r.jsxs(xe,{title:"What happens to BTC, and how do holders access ECX?",children:[r.jsx("p",{children:"The fork itself leaves BTC unchanged. Ordinary addresses holding BTC at the fork block receive matching balances on the ECX ledger. Controlling those keys is different from having a balance displayed by a custodian: exchange crediting and withdrawal access depend on that provider. There is no implication that BTC and ECX have equal market value."}),r.jsxs("p",{children:["There is no pre-claim registration. Read ",r.jsx("a",{href:"/how-to-claim/",children:"how ECX access works"}),"; never disclose a seed phrase to a website or someone offering to unlock coins. The project also documents special treatment of designated early mining outputs on the ECX chain, separate from ordinary holder balances; see the ",r.jsx(jn,{file:"07-faq.md",children:"official fork FAQ"}),"."]})]}),r.jsxs(xe,{title:"What is coin splitting? Which wallets can be used?",children:[r.jsxs("p",{children:["Because the chains share pre-fork transaction history and transaction formats, some transactions can replay on both. ",r.jsx("a",{href:"/coin-splitting/",children:"Coin splitting"})," separates the spendable outputs so the assets can be handled independently. Replay protection is opt-in; the fork alone does not make subsequent transactions safe."]}),r.jsxs("p",{children:["Start with ",r.jsx("a",{href:"/download/",children:"official wallet and n
56ode downloads"}),". Shared Bitcoin key formats do not guarantee that a particular wallet supports ECX, the correct network, or protected transactions. Verify software releases and wallet-provider guidance."]})]}),r.jsx(xe,{title:"Who is behind the project?",children:r.jsxs("p",{children:["The official integration guide identifies eCash as a LayerTwo Labs Bitcoin fork. Paul Sztorc is associated with the project and is an author of the Drivechain proposals. The open-source ",r.jsx("a",{href:"https://github.com/ecash-com/bitcoin",children:"eCash node"})," and ",r.jsx("a",{href:"https://github.com/LayerTwo-Labs",children:"LayerTwo Labs repositories"})," provide implementation details. See the ",r.jsx("a",{href:"/watch/",children:"interviews and presentations"})," for the team’s explanations."]})}),r.jsx(xe,{title:"Is eCash (ECX) the same as eCash (XEC)?",id:"ecx-not-xec",children:r.jsxs("p",{children:["No. This website, ecash.com, covers ",r.jsx("strong",{children:"eCash (ECX)"}),", the Bitcoin hard fork with Drivechains and planned 2026 mainnet. The project at ",r.jsx("a",{href:"https://e.cash/",children:"e.cash"})," uses ",r.jsx("strong",{children:"XEC"}),". They are distinct assets and networks; the name alone is not enough to identify a wallet, exchange market, or transaction destination."]})}),r.jsxs("p",{className:"guide-source",children:["Source: ",r.jsx(jn,{children:"official ECX integration guide"}),". For quick answers, visit the ",r.jsx("a",{href:"/faq/",children:"eCash FAQ"}),"."]})]})}function mm(){return r.jsxs(r.Fragment,{children:[r.jsx("h1",{children:"Drivechains: BIP300 and BIP301"}),r.jsxs("p",{children:["Drivechains are a design for connecting a main blockchain to sidechains with their own rules. ",r.jsx("a",{href:"/what-is-ecash/",children:"eCash (ECX)"})," is a separate Bitcoin hard fork designed to implement this architecture; it does not activate these rules on Bitcoin’s BTC network."]}),r.jsxs(xe,{title:"BIP300: hashrate escrows",children:[r.jsxs("p",{children:[r.jsx("a",{href:"https://github.com/bitcoin/bips/blob/master/bip-0300.mediawiki",children:"BIP300"}),", authored by Paul Sztorc and CryptAxe, specifies how coins are held for sidechains and how miners signal approval of withdrawal bundles. A sidechain’s users and software track its rules, while the main-chain mechanism processes deposits and approved withdrawals."]}),r.jsx("p",{children:"Withdrawals are deliberately slow: miner signalling occurs over a long block window. The official ECX integration guide describes a 13,150-ACK work score within 26,300 blocks for the mainnet withdrawal mechanism, also used on Beta. Always check current implementation parameters before integrating."})]}),r.jsxs(xe,{title:"BIP301: blind merged mining",children:[r.jsxs("p",{children:[r.jsx("a",{href:"https://github.com/bitcoin/bips/blob/master/bip-0301.mediawiki",children:"BIP301"}),", also authored by Paul Sztorc and CryptAxe, describes a way for sidechain block producers to pay main-chain miners to commit to sidechain block hashes. “Blind” means miners need not run or validate every sidechain to participate in that mechanism."]}),r.jsx("p",{children:"BIP300 and BIP301 serve different roles: the former governs the connection between ledgers, and the latter addresses sidechain block production. They are not interchangeable names for a wallet or a new token."})]}),r.jsxs(xe,{title:"How eCash implements the design",children:[r.jsxs("p",{children:["The eCash node works alongside ",r.jsx("a",{href:"https://github.com/LayerTwo-Labs/bip300301_enforcer",children:"bip300301_enforcer"}),", which validates sidechain proposals, escrow messages, miner acknowledgements, and blind merged mining. The ",r.jsx(jn,{file:"05-sidechains-and-l2s.md",children:"official sidechain integration guide"})," explains when the companion software is required."]}),r.jsxs("p",{children:["For project-specific software and development status, browse ",r.jsx("a",{href:"/sidechains/",children:"Thunder, zSide, BitNames, BitAssets, Truthcoin, Photon, and CoinShift"}),". Mainnet plans and test-network activity should not be confused with a guarantee that every feature is production-ready."]})]}),r.jsxs(xe,{title:"Security assumptions and withdrawals",children:[r.jsx("p",{children:"A miner-signalled peg is not a promise of risk-free custody. Its security model depends on miner behaviour and the withdrawal rules; sidechain software adds its own implementation risks. Fast-withdrawal services are separate arrangements, not a removal of the underlying consensus delay. Read the security discussions in the BIPs before depositing funds."}),r.jsxs("p",{children:["Sidechain withdrawals are also distinct from ",r.jsx("a",{href:"/coin-splitting/",children:"splitting BTC and ECX after the hard fork"}),". The latter addresses replay between two main chains that share a history."]})]}),r.jsxs("p",{className:"guide-source",children:["Continue with ",r.jsx("a",{href:"/reading/",children:"primary-source reading"}),", ",r.jsx("a",{href:"/watch/",children:"talks and debates"}),", or the ",r.jsx("a",{href:"/blog/",children:"essay archive"}),"."]})]})}function xm(){return r.jsxs(r.Fragment,{children:[r.jsx("h1",{children:"ECX coin splitting and replay protection"}),r.jsx("p",{children:"Coin splitting separates the spendable BTC and ECX outputs inherited from the Bitcoin fork. It matters because both chains initially share transaction history and formats: a transaction intended for one network may also be accepted on the other."}),r.jsxs(xe,{title:"The fork does not automatically protect every transaction",children:[r.jsxs("p",{children:["The ",r.jsx(jn,{file:"03-replay-protection-and-coin-splitting.md",children:"official replay-protection guide"})," describes an opt-in marker: ",r.jsx("code",{children:"nLockTime = 499999999"})," on an ECX transaction, with input sequence numbers below ",r.jsx("code",{children:"0xffffffff"})," so locktime is enforced. The documented rule treats this as final on eCash, while Bitcoin rejects it as non-final."]}),r.jsx("p",{children:"The marker protects that ECX transaction from replay onto Bitcoin. Other transactions may remain valid on both chains. Identical-looking addresses do not identify the network, and merely changing the destination address is not the documented replay-protection mechanism."})]}),r.jsx(xe,{title:"What to verify before splitting",children:r.jsxs("ul",{children:[r.jsx("li",{children:"Confirm which snapshot and network you are using. Beta is a rehearsal; mainnet is a new fork."}),r.jsxs("li",{children:["Verify the wallet or node release through ",r.jsx("a",{href:"/download/",children:"official download resources"}),". Address-format compatibility alone is not enough."]}),r.jsx("li",{children:"Back up keys securely. Never paste a seed into this website, a chat, or a claim form."}),r.jsx("li",{children:"Read the current procedure before moving unsplit pre-fork BTC. Do not assume that moving BTC first resolves replay risk."})]})}),r.jsxs(xe,{title:"The documented order of operations",children:[r.jsx("p",{children:"The integration guide’s operator procedure splits the ECX side first: it sends pre-fork outputs to fresh ECX addresses using protected transactions, waits for deep ECX confirmations, and only then resumes independent BTC operations. A reorganisation that reverses a split can expose the outputs to replay again."}),r.jsx("p",{children:"The guide describes BitWindow support for the user-facing split. Verify that your selected release and network actually support the procedure; this overview is not a transaction-construction tool. Custodians should test their complete deposit and withdrawal workflow on Beta before mainnet, and account for each chain separately."})]}),r.jsx(xe,{title:"What if an exchange holds my BTC?",children:r.jsx("p",{children:"The exchange controls the relevant keys. Its support, splitting process, and crediting policy determine customer access; ecash.com cannot split an exchange’s coins for you. Consult that provider before assuming ECX will be available."})}),r.jsxs(xe,{title:"Confirmations and remaining risks",children:[r.jsx("p",{children:"The official guide flags early-network difficulty changes and reorganisation risk. There is no universal confirmation count that makes a transaction risk-free. Use current operational guidance and verify balances against the correct chain rather than 
56inferring one chain’s deposit from another."}),r.jsxs("p",{children:["For the broader timeline, read ",r.jsx("a",{href:"/what-to-expect/",children:"what to expect at the fork"}),". For balance eligibility and access, see ",r.jsx("a",{href:"/how-to-claim/",children:"the ECX holder guide"}),". Integrators can start with ",r.jsx("a",{href:"/fast-facts/",children:"technical fast facts"}),"."]})]}),r.jsxs("p",{className:"guide-source",children:["Source: ",r.jsx(jn,{file:"03-replay-protection-and-coin-splitting.md",children:"Transaction Replay & Coin Splitting"})," and ",r.jsx(jn,{file:"02-wallets-keys-addresses.md",children:"Wallets, Keys & Addresses"}),". Reviewed September 24, 2026; recheck release-specific instructions before use."]})]})}function gm({topic:e}){return r.jsxs("main",{className:"guide-page",children:[r.jsx("div",{className:"guide-eyebrow",children:"§ eCash (ECX) explained"}),e==="drivechains"?r.jsx(mm,{}):e==="coin-splitting"?r.jsx(xm,{}):r.jsx(fm,{})]})}const Ri=Object.freeze({macos:"https://releases.drivechain.info/BitWindow-latest-x86_64-apple-darwin.dmg",windows:"https://releases.drivechain.info/BitWindow-latest-x86_64-windows.exe"}),Vp="https://news.ecash.com/",qp=["https://explorer.ecash.com/","https://explorer.beta.ecash.ninja/","https://explorer.alpha.ecash.ninja/"],Kp=["https://ecash.com/coin-splitting/","https://github.com/eCash-com/fast-facts/blob/main/03-replay-protection-and-coin-splitting.md"],ym=["desktop_nav","mobile_nav","how_to_claim","site_content","blog"];function vm(e,t){const n=t||{};switch(e){case"bitwindow_download_click":return!Object.hasOwn(Ri,n.platform)||n.download_url!==Ri[n.platform]||!["binary","installer","other"].includes(n.download_method)?null:{platform:n.platform,download_url:n.download_url,download_method:n.download_method};case"bitwindow_install_command_copy":return n.platform==="linux"?{platform:"linux"}:null;case"join_page_view":case"split_guide_view":return{};case"news_click":case"explorer_click":case"split_guide_click":return(e==="news_click"?[Vp]:e==="explorer_click"?qp:Kp).includes(n.destination_url)?{destination_url:n.destination_url,...ym.includes(n.source_context)?{source_context:n.source_context}:{}}:null;default:return null}}function Sn(e,t={}){try{if(typeof window>"u"||typeof window.gtag!="function")return!1;const n=vm(e,t);return n?(window.gtag("event",e,{...n,send_to:"G-N3HJ2ZCNNQ"}),!0):!1}catch{return!1}}function Yp(e){return e===Vp?"news_click":qp.includes(e)?"explorer_click":Kp.includes(e)?"split_guide_click":null}function Di(e,t){return Sn(Yp(e),{destination_url:e,source_context:t})}function wm(e,t,n){var i,o,a;try{if(e.type==="auxclick"&&e.button!==1)return;const s=(a=(o=(i=e.target)==null?void 0:i.closest)==null?void 0:o.call(i,"a[href]"))==null?void 0:a.getAttribute("href");if(!s)return;const c=new URL(s,"https://ecash.com/").href,l=Yp(c);if(!l||n&&l!==n)return;Di(c,t)}catch{}}function bm(){let e;return(t,n)=>{e!==t&&(e=t,n==="join"&&Sn("join_page_view"),n==="coin-splitting"&&Sn("split_guide_view"))}}function km({accent:e}){return r.jsxs("main",{className:"guide-page",style:{"--accent":e},children:[r.jsx("div",{className:"guide-eyebrow",children:"§ launch faq"}),r.jsx("h1",{children:"eCash (ECX) FAQ"}),r.jsxs("p",{children:["Questions about the Bitcoin fork, wallets, and Drivechains. New here? Start with ",r.jsx("a",{href:"/what-is-ecash/",children:"what eCash is"}),"."]}),r.jsx("div",{style:{borderTop:"1px solid var(--border-0)",marginTop:32},children:Xp.map((t,n)=>r.jsxs("details",{className:"faq-item",children:[r.jsxs("summary",{children:[r.jsx("h2",{children:t.q}),r.jsx("span",{"aria-hidden":"true",className:"faq-toggle"})]}),r.jsxs("div",{id:`faq-panel-${n}`,className:"faq-answer",children:[r.jsx("p",{children:t.a}),r.jsxs("a",{href:t.href,children:[t.label," →"]})]})]},t.q))}),r.jsxs("p",{className:"guide-source",children:["Sources: ",r.jsx("a",{href:"https://github.com/eCash-com/fast-facts",children:"official ECX integration guide"})," and the ",r.jsx("a",{href:"/drivechains/",children:"BIP300/BIP301 specifications"}),". Reviewed September 24, 2026;
56 launch estimates and software readiness may change."]})]})}const jm=[{heading:"BIP-300 Basics",items:[{name:"LayerTwoLabs main page",href:"https://layertwolabs.com/",desc:"Overview, GIFs, and comparison tables"},{name:"50+ Endorsements",href:"https://layertwolabs.com/friends",desc:"Support from prominent Bitcoin voices"},{name:"Try the Software",href:"https://layertwolabs.com/download",desc:"Downloads and hands-on testing"},{name:"drivechain.info",href:"https://www.drivechain.info/",desc:"Primary reference site"},{name:"truthcoin.info",href:"https://www.truthcoin.info/",desc:"Paul's long-form writing archive"},{name:"Paul's Resume",href:"https://www.truthcoin.info/paul/",desc:"Background and prior work"}]},{heading:"YouTube / Twitter Spaces",items:[{name:"3-minute explainer video",href:"https://www.youtube.com/watch?v=JwIoTaJQNi0&list=PLw8-6ARlyVciMH79ZyLOpImsMug3LgNc4&index=1",desc:"Shortest intro to the thesis"},{name:"Playlist of all Drivechain-related videos",href:"https://www.youtube.com/watch?v=JwIoTaJQNi0&list=PLw8-6ARlyVciMH79ZyLOpImsMug3LgNc4&index=1",desc:"Full archive of talks and explainers"},{name:"Paul Sztorc Media Appearances",href:"https://www.truthcoin.info/rss/",desc:"Podcast and interview feed"},{name:"2023 Spaces archive",href:"https://layertwolabs.com/spaces",desc:"Recorded Twitter/X Spaces series"}]},{heading:"GitHub / Tech",items:[{name:"Official L2L Github",href:"https://github.com/LayerTwo-Labs",desc:"Core org repositories"},{name:"Scaling Bitcoin",href:"https://github.com/LayerTwo-Labs/thunder-rust",desc:"Thunder implementation work"},{name:"every txn on Earth",href:"https://www.truthcoin.info/blog/all-world-txns/",desc:"Scaling argument in essay form"},{name:"Strong privacy",href:"https://github.com/iwakura-rein/thunder-orchard",desc:"Privacy-focused prototype work"},{name:"CUSF enforcer",href:"https://github.com/LayerTwo-Labs/bip300301_enforcer",desc:"Client-side soft fork enforcement"},{name:"bip300cusf.com",href:"https://bip300cusf.com/",desc:"CUSF explainer and install path"},{name:"Faucet and Multi-Chain Block Explorer",href:"https://node.drivechain.info/#/faucet",desc:"Public signet tools"},{name:"Dev Notes",href:"https://www.drivechain.info/dev.txt",desc:"Technical notes and implementation context"}]},{heading:"Drivechain.info",items:[{name:"front page / literature summary",href:"https://www.drivechain.info/",desc:"Entry point to the full thesis"},{name:"Literature page",href:"https://www.drivechain.info/literature/index.html",desc:"Talks, slides, transcripts, and videos"},{name:"Drivechain FAQ",href:"https://www.drivechain.info/faq/index.html",desc:"Longstanding technical FAQ"},{name:"archive of articles",href:"https://www.drivechain.info/archive/",desc:"Published posts and updates"},{name:"Misinformation Page",href:"https://www.drivechain.info/misinformation/index.html",desc:"Responses to recurring objections"}]},{heading:"Paul's Writing",items:[{name:"The Archives",href:"https://www.truthcoin.info/archive/",desc:"Every article in one place"},{name:"Derangements of Bitcoin (2025)",href:"https://www.truthcoin.info/blog/derangements/",desc:"Cultural critique of Bitcoin today"},{name:"Sidechains for Scaling – Thunder Network",href:"https://www.truthcoin.info/blog/thunder/",desc:"Scaling via sidechains"},{name:"Sidechains for Privacy – zSide and Melt/Cast",href:"https://www.truthcoin.info/blog/zside-meltcast/",desc:"Privacy architecture overview"},{name:"Sidechains for Identity – BitNames",href:"https://www.truthcoin.info/blog/bitnames/",desc:"Identity and naming on Bitcoin"},{name:"Drivechain (2015)",href:"https://www.truthcoin.info/blog/drivechain/",desc:"Original Drivechain essay"},{name:"Nothing is Cheaper than Proof-of-Work",href:"https://www.truthcoin.info/blog/pow-cheapest/",desc:"Security and mining economics"},{name:"Security Budget in the Long Run, Part II",href:"https://www.truthcoin.info/blog/security-budget-ii-mm/",desc:"Long-run fee and security framing"},{name:"Measuring Decentralization",href:"https://www.truthcoin.info/blog/measuring-decentralization/",desc:"How to think about decentralization"},{name:"GARP",href:"https://www.truthcoin.info/blog/garp/",desc:"Hard-fork governance concept"},{name:"IMEX",href:"https://www.truthcoin.info/blog/imex/",desc:"Companion essay on hard forks"}]},{heading:"Official Communities",items:[{name:"DC Insiders",href:"https://t.me/DcInsiders/",desc:"Main Telegram community"}
56,{name:"Paul's Twitter",href:"https://x.com/truthcoin",desc:"Current posts and commentary"},{name:"Paul's Telegram",href:"https://t.me/psztorc",desc:"Direct Telegram channel"}]},{heading:"Community Writing",items:[{name:"eCash Blog",href:"https://ecashblog.com/",desc:"Community blog, long-form writing on eCash, drivechains, and the launch. Community-run, not a LayerTwo Labs property."}]}];function Sm({accent:e}){const[t,n]=C.useState(null);return r.jsxs("main",{style:{position:"relative",maxWidth:720,margin:"0 auto",padding:"clamp(120px, 18vh, 160px) clamp(20px, 5vw, 32px) clamp(80px, 12vh, 120px)"},children:[r.jsx("div",{style:{fontSize:10,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:14},children:"§ further reading"}),r.jsx("h1",{style:{fontSize:"clamp(28px, 6vw, 48px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.02em",lineHeight:1.1,margin:"0 0 8px",fontFamily:"inherit"},children:"Further Reading"}),r.jsx("div",{style:{fontSize:14,color:"var(--text-2)",marginTop:8,fontFamily:"inherit"},children:"Nearly 10 years of research, code, and debate."}),r.jsx("div",{style:{borderBottom:"1px solid var(--border-0)",margin:"clamp(24px, 5vh, 40px) 0"}}),jm.map((i,o)=>r.jsxs("div",{children:[r.jsx("div",{style:{color:"var(--text-3)",fontSize:11,letterSpacing:"0.18em",textTransform:"uppercase",marginTop:o===0?0:"clamp(28px, 5vh, 40px)",marginBottom:"clamp(8px, 1.5vh, 12px)"},children:i.heading}),i.items.map((a,s)=>{const c=`${o}-${s}`;return r.jsxs("a",{href:a.href,target:"_blank",rel:"noopener",style:{display:"flex",justifyContent:"space-between",alignItems:"baseline",gap:16,padding:"clamp(8px, 1.6vh, 12px) 0",borderBottom:"1px solid var(--border-0)",fontSize:"clamp(13px, 2.5vw, 15px)",color:t===c?e:"var(--text-05)",textDecoration:"none",transition:"color .15s"},onMouseEnter:()=>n(c),onMouseLeave:()=>n(null),children:[r.jsx("span",{children:a.name}),r.jsx("span",{style:{color:"var(--text-2)",fontSize:"clamp(11px, 2vw, 13px)",textAlign:"right"},children:a.desc})]},s)})]},o))]})}const Cm=[{label:"asset",value:"eCash, ticker ECX"},{label:"proof of work",value:"SHA-256d — identical to Bitcoin"},{label:"address formats",value:"Identical to Bitcoin (1… / 3… / bc1…)"},{label:"betanet magic",value:"0xeca5b104"},{label:"betanet ports",value:"8533 · 8532"},{label:"node software",value:"Fork of Bitcoin Core v31.1"},{label:"replay protection",value:"Opt-in — set nLockTime = 499999999 on eCash transactions"},{label:"mainnet activation",value:`Mainnet ${E.FORK_DATE_APPROX}, block ~${E.ROADMAP[2].blockHeight.toLocaleString()}`}],Tm=[{file:"01-node-setup.md",label:"Node Setup",desc:"Full node installation and configuration"},{file:"02-wallets-keys-addresses.md",label:"Wallets, Keys & Addresses",desc:"Key management and address formats"},{file:"03-replay-protection-and-coin-splitting.md",label:"Replay Protection & Coin Splitting",desc:"Critical security guidance"},{file:"04-explorers-and-apis.md",label:"Explorers & APIs",desc:"Blockchain data access tools"},{file:"05-sidechains-and-l2s.md",label:"Sidechains & L2s",desc:"Layer 2 network information"},{file:"06-contacts-and-resources.md",label:"Contacts & Resources",desc:"Developer contact information"},{file:"07-faq.md",label:"FAQ",desc:"Frequently asked integration questions"},{file:"08-mining.md",label:"Mining",desc:"Mining pool and hardware guidance"}],uc="https://github.com/eCash-com/fast-facts";function _m({accent:e}){const t={fontFamily:"inherit",fontSize:14,color:"var(--text-2)",lineHeight:1.7},n={borderBottom:"1px solid var(--border-0)",margin:"clamp(48px,7vh,72px) 0 clamp(32px,5vh,48px)"},i={fontSize:10,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:14},o={fontSize:"clamp(28px,6vw,48px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.02em",lineHeight:1.1,margin:"0 0 8px"},a={fontSize:"clamp(20px,4vw,32px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.01em",lineHeight:1.15,margin:"0 0 8px"},s={display:"inline-flex",alignItems:"center",gap:8,minHeight:44,padding:"10px 24px",background:e,color:"var(--bg-0)",fontFamily:"inherit",fontSize:11,letterSpacing:"0.12em",textTransform:"uppercase",borderRadius:3,textDecoration:"none",border:"none",fontWeight:500,cursor:"pointer",whiteSpace:"nowrap",transition:"opacity .15s"},c=x=>{x.currentTarget.style.opacity="0.82"},l=x=>{x.currentTarget.style.opacity="1"},u=x=>{window.plausible&&window.plausible("CTA",{props:{action:`Fast Facts, ${x}`}})};return r.jsxs("main",{style:{position:"relative",maxWidth:1e3,margin:"0 auto",padding:"clamp(120px,18vh,160px) clamp(20px,5vw,32px) clamp(80px,12vh,120px)"},children:[r.jsx("div",{style:i,children:"§ fast facts"}),r.jsx("h1",{style:o,children:"eCash (ECX) fast facts"}),r.jsx("p",{style:{...t,marginTop:8,maxWidth:560},children:"The condensed technical reference for eCash — protocol parameters and wallet compatibility at a glance. Full integration docs, kept current as the network evolves, live on GitHub."}),r.jsx("div",{style:{display:"flex",gap:12,flexWrap:"wrap",marginTop:"clamp(20px,3vh,28px)"},children:r.jsx("a",{href:uc,target:"_blank",rel:"noopener noreferrer",style:s,onMouseEnter:c,onMouseLeave:l,onClick:()=>u("hero"),children:"View full docs on GitHub →"})}),r.jsxs("p",{style:t,children:["Start with ",r.jsx("a",{href:"/what-is-ecash/",style:{color:e},children:"the ECX overview"}),", ",r.jsx("a",{href:"/drivechains/",style:{color:e},children:"Drivechains"}),", or ",r.jsx("a",{href:"/coin-splitting/",style:{color:e},children:"replay protection"}),"."]}),r.jsx("div",{style:n}),r.jsx("div",{style:i,children:"§ 00 · quick facts"}),r.jsx("h2",{style:a,children:"Protocol at a Glance"}),r.jsx("p",{style:{...t,maxWidth:"62ch",marginBottom:"clamp(28px,4vh,40px)"},children:"Betanet reference, reviewed September 24, 2026; these are not a guarantee of final mainnet parameters. For anything that changes as launch approaches — testnet endpoints, mining pools, explorer APIs — see the full docs below."}),r.jsx("div",{style:{border:"1px solid var(--border-0)",borderRadius:4,overflow:"hidden",marginBottom:"clamp(8px,1vh,12px)"},children:Cm.map((x,g)=>r.jsxs("div",{style:{background:"var(--bg-1)",display:"grid",gridTemplateColumns:"200px 1fr",gap:"4px 24px",alignItems:"baseline",padding:"16px 24px",borderTop:g>0?"1px solid var(--border-0)":"none"},children:[r.jsx("div",{style:{fontFamily:"var(--font-mono)",fontSize:10,letterSpacing:"0.14em",color:"var(--text-3)",textTransform:"uppercase"},children:x.label}),r.jsx("div",{style:{fontSize:13,color:"var(--text-05)",lineHeight:1.6},children:x.value})]},x.label))}),r.jsx("div",{style:n}),r.jsx("div",{style:i,children:"§ 01 · full documentation"}),r.jsx("h2",{style:a,children:"Integration Guide"}),r.jsx("p",{style:{...t,maxWidth:"62ch",marginBottom:"clamp(28px,4vh,40px)"},children:"Node setup, wallets, replay protection, explorers, sidechains, mining, and more — maintained in the open on GitHub so exchanges and integrators always have the current version."}),r.jsx("div",{style:{border:"1px solid var(--border-0)",borderRadius:4,overflow:"hidden",marginBottom:"clamp(32px,5vh,48px)"},children:Tm.map((x,g)=>r.jsxs("a",{href:`${uc}/blob/main/${x.file}`,target:"_blank",rel:"noopener noreferrer",onClick:()=>u(`doc row, ${x.file}`),style:{background:"var(--bg-1)",display:"flex",alignItems:"center",justifyContent:"space-between",gap:16,padding:"16px 24px",borderTop:g>0?"1px solid var(--border-0)":"none",textDecoration:"none",transition:"background .15s"},onMouseEnter:f=>{f.currentTarget.style.background="var(--bg-0)"},onMouseLeave:f=>{f.currentTarget.style.background="var(--bg-1)"},children:[r.jsxs("div",{style:{minWidth:0},children:[r.jsx("div",{style:{fontSize:13,color:"var(--text-05)",fontWeight:500,marginBottom:3},children:x.label}),r.jsx("div",{style:{fontSize:11,color:"var(--text-3)",letterSpacing:"0.02em"},children:x.desc})]}),r.jsx("span",{style:{fontSize:11,color:e,flexShrink:0},children:"→"})]},x.file))}),r.jsxs("div",{style:{background:"var(--bg-1)",border:"1px solid var(--border-0)",borderLeft:"3px solid var(--border-2)",borderRadius:4,padding:"14px 18px",fontSize:12,color:"var(--text-2)",lineHeight:1.7},children:[r.jsx("span",{style:{color:"var(--text-1)",fontWeight:500},children:"Building an integration?"})," The GitHub repo is the canonical source — it's updated directly as network parameters and test environments change, ahead of anything reproduced elsewhere."]})]})}function Bm({accent:e,setTab:t}){const[n,i]=C.useState(!1),[o,a]=C.useState(!1),[s,c]=C.useState(!1),l={fontSize:"clamp(13px, 2.5vw, 15px)",lineHeight:1.7,color:"var(--text-1)",margin:0,fontFamily:"inherit"},u={fontSize:"clamp(18px, 3.2vw, 24px)",color:"var(--text-0)",margin:"28px 0 8px",fontWeight:400,lineHeight:1.3,fontFamily:"inherit"},x={...l,paddingLeft:"22px",margin:0},g={...l,paddingLeft:"20px",marginTop:8},f=b=>({background:"none",border:"none",cursor:"pointer",padding:0,fontFamily:"inherit",fontSize:"inherit",color:b?e:"var(--text-2)",transition:"color .15s"});
56return`${E.ROADMAP[0].blockHeight.toLocaleString()}${E.ROADMAP[0].dateLabel}${E.ROADMAP[1].blockHeight.toLocaleString()}${E.ROADMAP[1].dateLabel}${E.ROADMAP[2].blockHeight.toLocaleString()}${E.ROADMAP[2].dateLabel}`,r.jsxs("main",{style:{position:"relative",maxWidth:720,margin:"0 auto",padding:"clamp(120px, 18vh, 160px) clamp(20px, 5vw, 32px) clamp(80px, 12vh, 120px)"},children:[r.jsx("div",{style:{fontSize:10,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:14},children:"§ why hard fork"}),r.jsx("h1",{style:{fontSize:"clamp(28px, 6vw, 48px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.02em",lineHeight:1.1,margin:"0 0 8px",fontFamily:"inherit"},children:"A New Hard Fork of Bitcoin"}),r.jsx("div",{style:{fontSize:14,color:"var(--text-2)",marginTop:8,fontFamily:"inherit"},children:"The case for eCash (ECX), a Bitcoin hard fork designed to activate Drivechains."}),r.jsxs("p",{style:l,children:["For a neutral introduction, read ",r.jsx("a",{href:"/what-is-ecash/",style:{color:e},children:"what eCash is"})," and ",r.jsx("a",{href:"/drivechains/",style:{color:e},children:"how BIP300/BIP301 work"}),". This page presents the project’s arguments and opinions."]}),r.jsx("div",{style:{borderBottom:"1px solid var(--border-0)",margin:"clamp(24px, 5vh, 40px) 0"}}),r.jsx(F,{y:14,style:{background:"rgba(232, 232, 255, 0.08)",border:"1px solid var(--border-2)",padding:"18px 18px",color:"var(--text-05)",fontSize:"clamp(16px, 2.8vw, 18px)",lineHeight:1.6,marginBottom:28,whiteSpace:"pre-line"},children:`Iron sharpens iron
57– Proverbs 27:17`}),r.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"18px"},children:[r.jsx("p",{style:l,children:'The time has come for the Bitcoin Community to revisit the "hard fork".'}),r.jsx("p",{style:l,children:"The upside is enormous: global scalability, privacy, competition, rapid improvement and adoption. In fact, it may be a matter of life or death, for Bitcoin."}),r.jsx("p",{style:l,children:"The downside is small: some drama, plus every Bitcoiner gets some free money."}),r.jsx("h2",{style:u,children:"1. An Altcoin? You are leaving Bitcoin?!"}),r.jsx("p",{style:l,children:"I would prefer not to."}),r.jsxs("p",{style:l,children:["But it's not up to me. ",r.jsx("em",{children:"Other people"})," are damaging the Bitcoin project. Core developers have become timid, self-interested, lazy, and corrupt. Miners have abdicated their duty, to maximize their revenues (and the utility of the coin). Bitcoin culture has many entrenched errors, and is probably unfixable at this point."]}),r.jsx("h2",{style:u,children:"2. Errors? Isn't Bitcoin perfect? Nothing can stop Bitcoin!"}),r.jsx("p",{style:l,children:"I hope Bitcoin succeeds. I plan to hold my BTC, and so should you."}),r.jsx("p",{style:l,children:"If Bitcoin is unstoppable, then eCash is nothing to worry about. Just stop reading now."}),r.jsxs("p",{style:l,children:["Alternatively, though, if I am correct [that Bitcoin is ",r.jsx("em",{children:"not"})," perfect], then it would be wise to prepare. What's our backup plan? It is eCash."]}),r.jsxs("p",{style:l,children:["Even if Bitcoin is perfect now, will it remain perfect? New ideas are invented all the time! (After all, there was a time before you had ever heard of Bitcoin.) And there's no limit to ",r.jsx("em",{children:"how large"})," a mistake the Bitcoin Community might someday make."]}),r.jsx("p",{style:l,children:`Ironically, the "Bitcoin is perfect" belief, is likely to be what finally kills Bitcoin. Success often leads to complacency, and failure. The Titanic was hailed as "unsinkable", it sank on its first voyage. The book "Innovator's Dilemma" details the history of bankruptcies in tech, it is usually easier to start a new company, vs fix an old one.`}),r.jsx("h2",{style:u,children:"3. I don't like what you are doing, becau–"}),r.jsx("p",{style:l,children:"Let me stop you right there."}),r.jsxs("p",{style:l,children:["You are getting free $ECX... so sell it! Use it to get ",r.jsx("em",{children:"more BTC"}),". Do that, instead of complaining."]}),r.jsx("p",{style:l,children:`You can think of this project as "free number-go-up" on your BTC. You're welcome!`}),r.jsx("h2",{style:u,children:"4. You really think a new coin can defeat Bitcoin?"}),r.jsx("p",{style:l,children:"Yes. It is at least 5% likely."}),r.jsx("p",{style:l,children:`Even at such a "low" chance of success, eCash is still worth trying. The Bitcoin project is too important, to let today's idiots screw it up.`}),r.jsxs("p",{style:l,children:["We need ",r.jsx("em",{children:"competition"}
57),", a red team / blue team style competition. That is what is healthy for BTC."]}),r.jsx("h2",{style:u,children:"5. Why is a hard fork necessary? Please describe each technical change you are making."}),r.jsx("p",{style:l,children:"The hard fork is NOT needed for any technical reason."}),r.jsxs("p",{style:l,children:["It is not the BTC code that is broken, it is the BTC community. We need to bet ",r.jsx("em",{children:"against"})," that community. So, we need a new coin."]}),r.jsx("p",{style:l,children:"Our L1 is a clone of Bitcoin Core, with these changes:"}),r.jsxs("ol",{style:x,children:[r.jsxs("li",{children:[r.jsx("strong",{children:"Difficulty Reset"}),' – A one-time "special difficulty adjustment", down to the ',r.jsx("em",{children:"minimum difficulty"}),", on the fork date."]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Satoshi Half-Airdrop"})," – We give ",r.jsx("em",{children:"half"}),`, of Satoshi's "patoshi" coins (about 550k of 1.1 M) – to our investors and supporters.`]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Txn Replay Control"}),' – We allow our txns to have an optional "extra byte" – this intentionally mangles the TxID, allowing users to opt in/out of "transaction replay".']}),r.jsxs("li",{children:[r.jsx("strong",{children:"The Name"}),' – Superficial changes (the name, the "network magic", seed node IPs, etc).']})]}),r.jsxs("p",{style:l,children:["Furthermore, we plan to immediately adopt two ",r.jsx("em",{children:"soft forks"})," (that BTC is unwilling to adopt):"]}),r.jsxs("ol",{style:x,children:[r.jsx("li",{children:"Reduce blocksize by 10x – ie, from 4 MB to 400 kb."}),r.jsx("li",{children:"Activate BIPs 300/301."})]}),r.jsx("p",{style:l,children:'Both of these can be done via "CUSF" – (ie, without changing any lines of code).'}),r.jsx("p",{style:l,children:"We will intentionally keep our L1 codebase identical to Bitcoin Core for as long as possible, ideally forever. By doing so, we automatically gain access to CVE fixes, and new Core features (without doing any work). We do not want to compete with Core, on L1."}),r.jsx("h2",{style:u,children:"6. Aha! You are taking Satoshi's coins! That is why you are doing this! Thief!!"}),r.jsx("p",{style:l,children:"Well, again:"}),r.jsxs("ol",{style:x,children:[r.jsx("li",{children:"We'd prefer not to do this, at all."}),r.jsx("li",{children:"If BTC activates BIPs 300/301, we will abandon this project (unless the eCash marketcap is higher than BTC, at that time)."})]}),r.jsx("p",{style:l,children:"And, the facts are:"}),r.jsxs("ol",{style:x,children:[r.jsx("li",{children:`We are "stealing" zero of Satoshi's BTC. (We do not have the power to take BTC.)`}),r.jsxs("li",{children:["In fact, we are ",r.jsx("em",{children:"giving"})," Satoshi free $ECX."]}),r.jsxs("li",{children:["Admittedly, in a hypothetical future scenario where eCash replaces BTC, then Satoshi would have fewer coins, but, in that world, the eCash marketcap almost certainly exceeds today's BTC marketcap, by more than 2x. So, the ",r.jsx("em",{children:"value"})," of Satoshi's holdings, will have gone ",r.jsx("em",{children:"up"})," (from where it is today), due to our actions."]}),r.jsxs("li",{children:["In fact, in that scenario, it could be argued that we ",r.jsx("em",{children:"rescued"})," Satoshi's net worth, from $0."]}),r.jsxs("li",{children:["Our project contains a zk-snark privacy L2 – this might be ",r.jsx("em",{children:"the only safe"})," way for Satoshi to access his coins."]})]}),r.jsx("p",{style:l,children:"On top of that:"}),r.jsxs("ol",{style:x,children:[r.jsx("li",{children:"Innovators are certainly entitled, to make some return on their risk (at the expense of their haters)."}),r.jsxs("li",{children:["It is ",r.jsx("em",{children:"immoral"})," for Bip300-supporters and Bip300-haters to be treated equally, in this case."]})]}),r.jsx("p",{style:l,children:"And:"}),r.jsxs("ol",{style:x,children:[r.jsx("li",{children:'We intentionally want to split the community, and drive away the overly-conservative faction. (Those are the "bad guys" who are killing BTC.)'}),r.jsx("li",{children:"We want new people: open-minded, entrepreneurial, risk-taking, contrarians. We want to shake things up, and prioritize the new over the old."})]}),r.jsx("p",{style:l,children:"Finally:"}),r.jsxs("ol",{style:x,children:[r.jsxs("li",{children:[r.jsx("em",{children:"Lack of competition"})," is killing the BTC project. It is an existential risk, that warrants bold action."]}),r.jsxs("li",{children:["If you don't like it, then ",r.jsx("em",{children:"sell"}),". (See answer #3.)"]})]}),r.jsx("h2",{style:u,children:"7. Doesn't the failure of Bitcoin Cash (BCH), prove that hard forks always fail?"}),r.jsx("p",{style:l,children:'Bitcoin Cash launched at a sky-high price (of 15% BTC). It "flippened" Ethereum for one day, temporarily becoming the #1 Altcoin.'}),r.jsx("p",{style:l,children:"If our fork repeated that 15% performance, it would launch at $15,000/coin and linger in that area for about 6 months."}),r.jsx("p",{style:l,children:'BCH had many strengths: the support of large investors (such as Roger Ver), key resources (such as the "bitcoin.com" domain), and a pre-assembled community of largeblockers.'}),r.jsx("p",{style:l,children:'But those are easy to recreate. We have our own ".com", we have our own large investors, and, thanks to the hard fork  we replicate the #1 crypto community in the world (the Bitcoin community). The crypto community has already blazed the trail – everything from community management, to forum software, to regulatory clarity.'}),r.jsx("p",{style:l,children:"More importantly, Bitcoin Cash suffered from a long list of fundamental problems. Each of these was debilitating, and each is also easily avoided. We will avoid all these problems."}),r.jsxs("p",{style:l,children:["What if we share the exact fate of BCH? Today, BCH is worth over ",r.jsx("em",{children:"ten b
57illion dollars"}),' (over 500 $/coin). Not bad... for a "failure"!']}),r.jsx("h2",{style:u,children:"8. How do you plan to dethrone BTC?"}),r.jsx("p",{style:l,children:"It will be difficult."}),r.jsx("p",{style:l,children:"Here are the general principles:"}),r.jsxs("ol",{style:x,children:[r.jsxs("li",{children:["Do not compete with BTC where it is strong.",r.jsxs("ul",{style:g,children:[r.jsx("li",{children:"Keep L1 identical."}),r.jsx("li",{children:"Keep the fixed supply, 21 million, proof of work, etc."}),r.jsx("li",{children:'Let BTC do the "leg work", of educating the masses.'}),r.jsx("li",{children:"Keep all wallet software, block-explorers, etc identical."}),r.jsx("li",{children:"This lowers switching costs, maintenance costs, and eliminates the need for cumbersome explanations."})]})]}),r.jsxs("li",{children:["Use tech to guarantee liquidity.",r.jsxs("ul",{style:g,children:[r.jsx("li",{children:"Use cryptographic swaps to trade $ECX for BTC."}),r.jsx("li",{children:"BTC is now an on-ramp for eCash! Therefore, any BTC liquidity, also becomes eCash liquidity."}),r.jsx("li",{children:"Exchanges (in practice) must list eCash. (No need to pay exorbitant listing fees.)"}),r.jsx("li",{children:`This also flips the "all privacy coins will be de-listed" narrative – since you can't delist eCash (a coin with a private L2) without de-listing BTC.`})]})]}),r.jsxs("li",{children:["Focus on what BTC can't do:",r.jsxs("ul",{style:g,children:[r.jsx("li",{children:"Tech innovation / tech competition – (currently roadblocked by Core / prestige economy)."}),r.jsx("li",{children:"Privacy – (currently roadblocked by Saylor / corporate interests)."}),r.jsx("li",{children:"Mining Revenue – (currently roadblocked by non-mined L2s; superstitions about mining)."}),r.jsx("li",{children:"Fun – (currently roadblocked by Bitcoin twitter)."}),r.jsx("li",{children:"Specific use-cases (BitNames, BitAssets, Coin-Swaps, Prediction Markets) – (currently roadblocked by maxi culture)."})]})]}),r.jsxs("li",{children:["Focus on users.",r.jsxs("ul",{style:g,children:[r.jsx("li",{children:"Define users as: those who pay transaction fees to miners."}),r.jsx("li",{children:"In contrast, non-users are: developers, miners, investors, and media personalities."}),r.jsx("li",{children:"In the long run, users win. Non-users are parasites who must be kept at bay (when necessary)."})]})]}),r.jsxs("li",{children:['Sabotage BTC, by promoting "degrowth" policies such as...',r.jsxs("ul",{style:g,children:[r.jsx("li",{children:`Complacency narratives: ossification, "Bitcoin has already won", "Don't break bitcoin".`}),r.jsx("li",{children:"Failed L2 concepts, such as Lightning."}),r.jsx("li",{children:"Distractions, such as Covenants."}),r.jsx("li",{children:'Anti-node, anti-sovereignty concepts, such as: "federated" sidechains, Fedi, Liquid, etc.'}),r.jsx("li",{children:'Wishful thinking, and other "braindead" advocacy. Stock-to-flow. "Carnivore-style" maximalism, and other cult-like "lifestyle" nonsense.'}),r.jsx("li",{children:`Toxicity, and pointless misanthropy. "We never wanted these users, anyway." "You'll come crawling back to Bitcoin, you'll see!"`})]})]}),r.jsxs("li",{children:["Grow the new community.",r.jsxs("ul",{style:g,children:[r.jsx("li",{children:'We can only succeed, if we "recruit" people.'}),r.jsx("li",{children:'We need our own "Andreas Antonopoulos", Roger Ver, Hal Finney, etc. (We also need our own BitPay, Blockstream, Microstrategy, etc.)'}),r.jsx("li",{children:'We also need new disputes. For example, a new "Mike Hearn vs Greg Maxwell". But – this time around – they will settle their dispute NOT with a new Altcoin, but with a new L2, on the same eCash network.'}),r.jsxs("li",{children:["Prioritize growth. Elevate those who promote ",r.jsx("em",{children:"user-adoption"}),", and shame those who hold adoption back."]})]})]})]}),r.jsxs("p",{style:l,children:["A lot of it will happen automatically. Bitcoin has many serious errors, which its community is ",r.jsx("em",{children:"failing"})," to address. When the new coin launches, millions of stakeholders will be invited to form an opinion. Among the opinionated, coins will be bought and sold – and the new owners will argue their case (on Twitter and elsewhere). A bright light will shine upon these errors."]}),r.jsxs("p",{style:l,children:["It is ",r.jsx("em",{children:"these errors"}),' which create our investment opportunity. (Not the brilliance of Bip300.) If Bitcoin were perfect, then no "plan for surpassing BTC" could possibly succeed. But if instead, BTC is ',r.jsx("em",{children:"permanently disadvantaged due to unfixable cultural errors"}),", and if there is a ",r.jsx("em",{children:"way of getting everyone to notice this"}),", then there will (eventually) be a stampede to abandon BTC for the nearest viable alternative."]}),r.jsx("h2",{style:u,children:"9. If eCash succeeds, won't BTC copy it? Then what?"}),r.jsx("p",{style:l,children:"Indeed – this is a big risk!"}),r.jsxs("p",{style:l,children:["We could be ",r.jsx("em",{children:"right about everything"})," – and eCash might still go to zero."]}),r.jsxs("p",{style:l,children:["Because: the more success we have, the more attention we will get. If we are ",r.jsx("em",{children:"too persuasive"}),", too early on, then the BTC community may activate Bip300 after all. BTC will then crush eCash with its superior network effects. And we will lose."]}),r.jsx("p",{style:l,children:`So, it's a Catch-22: "lose if you fail; lose if you succeed".`}),r.jsx("p",{style:l,children:"Actually, it is even worse than that! Since winning is impossible... why would anyone invest? They would not. So, our project will have no effect on the world (even if we were right about everything)."}),r.jsx("p",{style:l,children:"This is a tricky problem to solve..."}),r.jsx("p",{style:l,children:"...but there are solutions:"}),r.jsxs("ol",{style:x,children:[r.jsxs("li",{children:["BTC is more rotten than people realize – and much of this rot is cultural (which is not easy to change).",r.jsxs("ul",{style:g,children:[r.jsx("li",{children:'In particular, there is a whole "ossification" coalition of Bitcoin; and an "anti-drivechain" coalition. Both are moderately influential. Both will have their reputations damaged, if they have to walk back their anti-drivechain comments. So they will fight tooth-and-nail to keep drivechain away from BTC.'}),r.jsx("li",{children:"Bitcoin has (in large part) ossified already. Where is the next soft fork? (Nowhere in sight.)"})]})]}),r.jsxs("li",{children:["Different people, learn at different rates.",r.jsxs("ul",{style:g,children:[r.jsx("li",{children:"So, when a person learns [that eCash > BTC], they will be faced with a choice: [1] jump ship immediately (and be the first into a 
57new, winning trade); or [2] wait patiently and try to convince others. But, on any single day, only a tiny minority of people will be in the [2] category."}),r.jsx("li",{children:"And – they have to contend not only with [1] the difficulty of persuading others, but also [2] the risk that those others will themselves jump ship (instead of persuade)."}),r.jsxs("li",{children:["Everyone who jumps ship, will then have an incentive to ",r.jsx("em",{children:"delay"})," drivechain's adoption on BTC – or even to spread ",r.jsx("em",{children:"misinformation"})," about drivechain."]})]})]}),r.jsxs("li",{children:["BTC and eCash share a mining algorithm (Sha256d). Thus, in the short run, a sudden increase in the blockreward of one coin, will starve its rival of hashrate.",r.jsxs("ul",{style:g,children:[r.jsx("li",{children:'So, in the early days (while the eCash marketcap is small), "most people" will be skeptical that eCash is better. The risk [of BTC copying eCash] will be low.'}),r.jsx("li",{children:"But afterwards, (as the eCash marketcap rises), mining the BTC blockchain might no longer be possible. So, it may be too late [for BTC to copy eCash]."}),r.jsxs("li",{children:["Even if the eCash marketcap is flat – if eCash ",r.jsx("em",{children:"total transaction fees"})," rise exponentially, then this would also starve BTC of hashrate."]})]})]})]}),r.jsx("p",{style:l,children:"So, the strategies are:"}),r.jsxs("ol",{style:x,children:[r.jsx("li",{children:"Brain drain the smart, creative people out of BTC. Abandon BTC to the crazies, and let them destroy it."}),r.jsx("li",{children:"Pursue a goal of maximizing the long run total transaction fees paid, per block."}),r.jsxs("li",{children:['"Flip" BTC, via two phases:',r.jsxs("ul",{style:g,children:[r.jsx("li",{children:'"Coiling the spring" – a low marketcap phase, where we prepare and strategize with early adopters.'}),r.jsx("li",{children:'"Unleashing the spring" – a phase in which the marketcap surges upward, to attempt to take the #1 spot.'})]})]})]}),r.jsxs("p",{style:l,children:["It will not be easy. But it is ",r.jsx("em",{children:"possible"}),". So, investors should be willing to join us – at some price. This resolves the Catch-22."]}),r.jsx("h2",{style:u,children:'10. Can you elaborate on "coiling the spring"?'}),r.jsx("p",{style:l,children:"When network effects are strong, how can you dethrone a larger rival?"}),r.jsx("p",{style:l,children:"In two phases:"}),r.jsxs("ol",{style:x,children:[r.jsx("li",{children:'"Coiling the spring" – In this phase, we purposefully de-emphasize marketing, hype, and politics – to the point of self-sabotage. We gather evidence, and "stress test" our ideas by trying to falsify them. We are pure truth-seeking; zero teamwork and growth. Pure scout; zero soldier. Pure mistake-theorizing; zero conflict-mentality. We avoid politics – and, in fact, we allow the sociopaths and parasites to have breathing room, to hopefully trick them into coming "out in the open" – so that we may identify them, and study them, before they become suspicious of us.'}),r.jsxs("li",{children:['"Unleashing the spring" – In this phase, we restore politics [and hype and marketing] to their rightful places. Since our idea has been improving ',r.jsx("em",{children:"objectively"})," throughout phase 1, it is (hopefully) now much better. Thus it creates an opportunity, for ",r.jsx("em",{children:"new"}),' influencers, promoters, and politician-types to "team up" with the newer, better idea. They have two advantages: [1] they can emulate their BTC-predecessors; and [2] they have a better fundamental idea to work with.']})]}),r.jsx("p",{style:l,children:'Ideally, by Phase 2, we have paved the way for FAST "viral" growth.'}),r.jsxs("p",{style:l,children:["That is the ",r.jsx("em",{children:"only"})," way a new coin can defeat Bitcoin. Early on, it must attract supporters who ",r.jsx("em",{children:"expect"})," future fast growth; later, the fast growth must be ",r.jsx("em",{children:"fast enough"})," to topple the #1 project before it can react."]}),r.jsx("h2",{style:u,children:"11. Bitcoin is #1. Always has been – always will be. You can't win!"}),r.jsxs("p",{style:l,children:["Bitcoin has been #1 – mostly because of ",r.jsx("em",{children:"low-quality competitors"}),"."]}),r.jsxs("p",{style:l,children:["Most Altcoins are ",r.jsx("em",{children:"pure junk"}),"."]}),r.jsxs("p",{style:l,children:["Many have huge premines. Some have ",r.jsx("em",{children:"100% premines"}),': Ripple, Stellar, NXT, Tron, and SHIB. Others, used their genesis block to "distribute to ICO investors" – which is [basically] equivalent to a "100% premine, that is all sold instantly". These include: ADA, EOS, Aptos, and AVAX. Solana had a 50% pre-mine.']}),r.jsxs("p",{style:l,children:["High pre-mines are bad, because they ",r.jsx("em",{children:"limit growth"})," – this kills the project. It caps growth in three ways: [1] it leaves too many people out of the initial coalition, [2] it gives too many coins (as a % of total coins) to the people ",r.jsx("em",{children:"in"})," the coalition (which is off-putting to those of us who must join later), and [3] it invites users to make their own new high-premine coins (favoring themselves, this time). All of this, motivates newcomers to join a coin (or create one), instead of join with the existing coin."]}),r.jsx("p",{style:l,children:'A premine is also terrible, because none of the Altcoins are ever quite finished (nor is Bitcoin). This introduces chaos to the project, as the original founders quit, retire, or are forced out, or various "committees" and foundations appear, to "guide development". The project drags on, due to the realities of software development – until morale c
57ollapses and the project is abandoned.'}),r.jsxs("p",{style:l,children:['In contrast, Bitcoin took a more reasonable path: 0% premine at genesis, 87.5% of the coins released continuously over 12 years. This punishes latecomers appropriately, but not so much that they leave the coalition. The Bitcoin UTXO set (unlike its Altcoin counterparts) has "moral glue" holding it together – those who bought Bitcoin, partly embrace a ',r.jsx("em",{children:"shared vision"}),". (In Bitcoin's case: a world without the banks.) It is a team effort."]}),r.jsx("p",{style:l,children:'A "hard fork" preserves this UTXO set. This automatically puts it in a different category.'}),r.jsx("p",{style:l,children:"BCH we have already discussed (in question 7)."}),r.jsxs("p",{style:l,children:['BSV is a fork of BCH (not BTC), and its litigious and ridiculous founder has speedily driven away all reasonable people. The other forks ("BitcoinGold", "BitcoinDiamond", etc), are frivolities. They were not legitimate competitors to BTC. They did not aspire to be the #1 coin. They were created because people wanted free money; and because it was easy to recompile the software with a new name. In fact, many of them were (I assume) created to de-legitimize BCH (with the goal of muddying the waters, in that debate). Therefore, out of all the hard forks, only BCH presented a serious ',r.jsx("em",{children:"vision"}),". The others are knockoff cash-grabs. (We discussed BCH in question 7.)"]}),r.jsx("p",{style:l,children:'We now turn to Ethereum – the #2 coin. It has differentiated itself [from Bitcoin], in many ways: proof of stake; frequent hard forks (ie "mandatory upgrades"); account model (vs UTXO); aggressive culture (vs conservative); fast block times; uncle blocks rewarded; higher node costs (and less discipline in capping node costs); Turing-complete EVM scripting. All of those changes... are bad. Ethereum exists because developers love to create stuff and have fun (which is understandable) – but drivechain is better for that. Drivechain has no gas fees. Each L2 has its own chain, and does not share a chain (nor a fee-rate) with any other chain/contract.'}),r.jsxs("p",{style:l,children:["So, in general: there has been a depressing lack of seriousness among the Altcoins. A handful – Ethereum, Monero, Namecoin, zCash – have an actual ",r.jsx("em",{children:"vision"})," for the world. The rest are just get-rich-quick schemes, or hobbyist projects."]}),r.jsx("p",{style:l,children:"The low quality of today's Altcoins has –lamentably– contributed to Bitcoin's complacency. With no competitors to keep it honest, Bitcoin has mostly wasted the last 10 years."}),r.jsx("h2",{style:u,children:"12. What would convince you NOT to go through with this hard fork?"}),r.jsx("p",{style:l,children:"Well – one thing, could be for 51% BTC hashrate, to activate Bip300 (on BTC). That might render eCash useless."}),r.jsx("p",{style:l,children:"Bip300 is an opt-in, reversible, soft fork. With the CUSF client, miners can start/stop it at any time. Plus, Bip300 (hopefully) gets them more money – much more money."}),r.jsxs("p",{style:l,children:["The bigger problem is the community. Without a community of ",r.jsx("em",{children:"genuinely interested"})," users, the mere activation of Bip300 will do very little."]}),r.jsx("h2",{style:u,children:"13. What do you think of BitVM / zk-Rollups / new technology? How do you feel about your competition?"}),r.jsx("p",{style:l,children:"This is already answered in FAQ - #comparables."}),r.jsxs("p",{style:l,children:["But – more importantly – Bitcoin does NOT have any ",r.jsx("strong",{children:"tech problems"}),". It does NOT have any technical limitations. The ",r.jsx("em",{children:"existing software stack"})," is already sufficient to achieve unlimited scale, privacy, programmability, interoperability, extensibility, ossification, etc."]}),r.jsxs("p",{style:l,children:["But, what Bitcoin DOES have is ",r.jsx("strong",{children:"cultural problems"})," – also known as the derangements. That is why we need a new project. It has nothing to do with technology."]}),r.jsx("h2",{style:u,children:"14. The drivechain idea is over 10 years old. If it were good, someone would have used it by now. Hasn't the moment passed?"}),r.jsx("p",{style:l,children:"The Drivechain-inventor was the first proponent of blockchain prediction markets, back in 2012. PolyMarket finally went mainstream in 2024 – over 10 years later."}),r.jsx("p",{style:l,children:"The drivechain idea has many supp
57orters – including most of the crème de la crème of the Bitcoin world."}),r.jsx("p",{style:l,children:"By comparison, the Lightning Network is also 10+ years old."}),r.jsx("div",{style:{overflowX:"auto",margin:"8px 0 18px"},children:r.jsxs("table",{style:{width:"100%",borderCollapse:"collapse",color:"var(--text-1)",fontSize:"clamp(13px, 2.5vw, 15px)"},children:[r.jsx("thead",{children:r.jsxs("tr",{children:[r.jsx("th",{style:{border:"1px solid var(--border-2)",padding:"12px",textAlign:"left",color:"var(--text-0)",fontWeight:500}}),r.jsx("th",{style:{border:"1px solid var(--border-2)",padding:"12px",textAlign:"left",color:"var(--text-0)",fontWeight:500},children:"Lightning"}),r.jsx("th",{style:{border:"1px solid var(--border-2)",padding:"12px",textAlign:"left",color:"var(--text-0)",fontWeight:500},children:"Drivechain"})]})}),r.jsxs("tbody",{children:[r.jsxs("tr",{children:[r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"Age"}),r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"10+ Years"}),r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"10+ Years"})]}),r.jsxs("tr",{children:[r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"How many devs?"}),r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"50+ full time, 100+ hobbyists, 5+ generational-talent level geniuses, 5+ big SF co-founders."}),r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"2 people, working casually in their spare time. Eventually, maybe 10-12 more."})]}),r.jsxs("tr",{children:[r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"How much money invested?"}),r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"Much more than $100 million."}),r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"Less than $4 million."})]}),r.jsxs("tr",{children:[r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"How much attention / praise / media support?"}),r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"Enormous, fawning support – full blown 10+ year propaganda campaign."}),r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"Minimal amount."})]}),r.jsxs("tr",{children:[r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"Can you build a demo of it, working for 8 billion users."}),r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"No – because this is not possible with Lightning."}),r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"Yes – and we already have."})]}),r.jsxs("tr",{children:[r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"Is this idea ultimately going to work?"}),r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"No. It will not."}),r.jsx("td",{style:{border:"1px solid var(--border-2)",padding:"12px"},children:"Yes, it might."})]})]})]})}),r.jsx("p",{style:l,children:"In Oct 2025, the Drivechain-inventor debated a room full of LN devs, at TabConf (the #1 Bitcoin developer conference). Tadge Dryja (the inventor of LN), joined him on stage in the final 10 minutes – and ultimately accepted all of Paul's critiques."}),r.jsx("p",{style:l,children:'Yet, people continue "trying" the Lightning Network. This is not because LN is a good idea. It is because they are too embarrassed to admit their past mistake(s). They pass over good ideas (such as Drivechain) for the same reason.'}),r.jsx("p",{style:l,children:"In fact, most critics of Drivechain, admit that they have never actually read the BIP text (which is only a few pages long). So: Bitcoin is not a meritocracy. It is a bureaucracy. The problems with Bitcoin are not technical – they are cultural."})]}),r.jsxs("div",{style:{marginTop:"clamp(32px, 5vh, 48px)",color:"var(--text-2)",fontSize:"clamp(13px, 2.5vw, 15px)",lineHeight:1.7,fontFamily:"inherit"},children:["→ ",r.jsx("button",{onClick:()=>t("faq"),onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),style:f(n),children:"See the FAQ for specifics."}),"  →  ",r.jsx("button",{onClick:()=>t("reading"),onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),style:f(o),children:"Read the source material."}),"  →  ",r.jsx("button",{onClick:()=>t("what-to-expect"),onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),style:f(s),children:"What to Expect on fork day."})]})]})}function Em({accent:e,setTab:t}){const[n,i]=C.useState(!1),o={fontSize:"clamp(13px, 2.5vw, 15px)",lineHeight:1.7,color:"var(--text-1)",margin:0,fontFamily:"inherit"},a=[{n:"01",title:"The snapshot",body:`Balances are read at three block heights: alpha (~${E.ROADMAP[0].blockHeight.toLocaleStr
57ing()}, ${E.ROADMAP[0].dateLabel}), beta (~${E.ROADMAP[1].blockHeight.toLocaleString()}, ${E.ROADMAP[1].dateLabel}), and mainnet (~${E.ROADMAP[2].blockHeight.toLocaleString()}, ${E.ROADMAP[2].dateLabel}). Alpha and beta credit practice $ECX; mainnet credits the final, permanent $ECX. Every address holding BTC at each snapshot is credited automatically, with no action required from you.`,highlight:!1,note:null,cta:null},{n:"02",title:"The fork itself leaves BTC unchanged",body:"Nothing happens to your existing Bitcoin. The fork does not move, modify, or touch your BTC in any way. eCash arrives alongside it, a separate asset, delivered to the same address. Spending either asset later requires care with keys, software, and replay protection.",highlight:!0,note:null,cta:null},{n:"03",title:"Two ledgers, separate assets",body:"After the fork, BTC and ECX have separate transaction histories and balances. A matching initial balance is not a promise of equal market value or exchange support.",highlight:!1,note:null,cta:null},{n:"04",title:"You can preview it right now",body:"The LayerTwoLabs team has working software available today, a full node, wallet, and Beta network. You can run the network, explore sidechains, and test transactions before launch day.",highlight:!1,note:null,cta:{label:"Download the test software",href:"https://layertwolabs.com/download"}},{n:"05",title:"Transaction replay & coin splitting",body:"Replay protection is opt-in, not automatic. If you move BTC after a snapshot without splitting first, that transaction can also broadcast on the eCash network, sending your $ECX to whoever receives the BTC. This is called transaction replay.",highlight:!1,note:"The official wallet can add replay protection for you and will warn you if it hasn't been applied yet — but you have to use it. Ignore the warning and move BTC anyway, and your $ECX follows it to the new owner. Split intentionally, before you move any BTC.",cta:{label:"Read the coin-splitting guide",href:"/coin-splitting/"}}];return r.jsxs("main",{style:{position:"relative",maxWidth:720,margin:"0 auto",padding:"clamp(120px, 18vh, 160px) clamp(20px, 5vw, 32px) clamp(80px, 12vh, 120px)"},children:[r.jsx("div",{style:{fontSize:10,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:14},children:"§ what to expect"}),r.jsx("h1",{style:{fontSize:"clamp(28px, 6vw, 48px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.02em",lineHeight:1.1,margin:"0 0 8px",fontFamily:"inherit"},children:"The eCash (ECX) Bitcoin fork"}),r.jsx("div",{style:{fontSize:14,color:"var(--text-2)",marginTop:8,fontFamily:"inherit"},children:"Mainnet is planned around October 31, 2026, at Bitcoin block ~973,728. Here is what happens before and after the fork, in plain terms."}),r.jsxs("p",{style:o,children:["Start with ",r.jsx("a",{href:"/what-is-ecash/",style:{color:e},children:"what eCash is"}),", learn about ",r.jsx("a",{href:"/drivechains/",style:{color:e},children:"Drivechains"}),", and review ",r.jsx("a",{href:"/how-to-claim/",style:{color:e},children:"accessing ECX"}),"."]}),r.jsx("div",{style:{borderBottom:"1px solid var(--border-0)",margin:"clamp(24px, 5vh, 40px) 0"}}),r.jsxs("div",{style:{position:"relative"},children:[r.jsx("div",{style:{position:"absolute",left:17,top:18,bottom:18,width:1,background:"var(--border-0)",zIndex:0}}),r.jsx("div",{style:{display:"flex",flexDirection:"column",gap:0},children:a.map((s,c)=>r.jsxs(F,{y:18,style:{display:"flex",gap:"clamp(20px, 4vw, 32px)",paddingBottom:c<a.length-1?"clamp(36px, 7vh, 56px)":0},children:[r.jsx("div",{style:{flexShrink:0,position:"relative",zIndex:1},children:r.jsx("div",{style:{width:34,height:34,border:`1px solid ${s.highlight?e:"var(--border-2)"}`,borderRadius:3,background:s.highlight?`${e}10`:"var(--bg-0)",display:"flex",alignItems:"center",justifyContent:"center",fontSize:10,letterSpacing:"0.08em",fontFamily:"inherit",color:s.highlight?e:"var(--text-4)",boxShadow:s.highlight?`0 0 12px ${e}14`:"none"},children:s.n})}),r.jsxs("div",{style:{flex:1,paddingTop:6},children:[r.jsx("div",{style:{fontSize:"clamp(14px, 2.8vw, 17px)",color:s.highlight?"var(--text-0)":"var(--text-05)",fontWeight:s.highlight?500:400,lineHeight:1.3,marginBottom:12,fontFamily:"inherit",letterSpacing:s.highlight?"-0.01em":0},children:s.title}),s.highlight?r.jsx("div",{style:{background:`${e}07`,border:`1px solid ${e}22`,borderLeft:`2px solid ${e}60`,padding:"clamp(12px, 2.2vh, 18px) clamp(14px, 3vw, 20px)",marginBottom:s.cta?16:0},children:r.jsx("p",{style:o,children:s.body})}):r.jsx("p",{style:{...o,marginBottom:s.note||s.cta?14:0},children:s.body}),s.note&&r.jsxs("div",{style:{background:"rgba(255,255,255,0.018)",border:"1px solid var(--border-2)",borderLeft:"2px s
57olid var(--text-4)",padding:"clamp(10px, 1.8vh, 14px) clamp(12px, 2.5vw, 16px)",marginTop:14},children:[r.jsx("div",{style:{fontSize:9,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:7},children:"note"}),r.jsx("p",{style:{...o,fontSize:"clamp(12px, 2.2vw, 13px)",color:"var(--text-2)",margin:0},children:s.note})]}),s.cta&&r.jsxs("a",{href:s.cta.href,target:"_blank",rel:"noopener noreferrer",onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),style:{display:"inline-flex",alignItems:"center",gap:7,marginTop:6,fontSize:11,letterSpacing:"0.18em",textTransform:"uppercase",color:n?"var(--text-0)":e,textDecoration:"none",borderBottom:`1px solid ${n?"var(--text-0)40":e+"40"}`,paddingBottom:2,transition:"color .15s, border-color .15s",fontFamily:"inherit"},children:[s.cta.label,r.jsx("span",{style:{fontSize:10,opacity:.7},children:"↗"})]})]})]},s.n))})]})]})}function zm({accent:e,setTab:t}){const[n,i]=C.useState(null),o={fontSize:10,letterSpacing:"0.22em",color:e,textTransform:"uppercase",marginBottom:14,fontWeight:500},a={fontSize:"clamp(22px, 4.4vw, 32px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.02em",lineHeight:1.15,margin:"0 0 14px",fontFamily:"inherit"},s={fontSize:"clamp(13px, 2.5vw, 15px)",lineHeight:1.7,color:"var(--text-1)",margin:"0 0 32px",fontFamily:"inherit"},c={fontSize:"clamp(13px, 2.5vw, 15px)",lineHeight:1.7,color:"var(--text-1)",margin:0,fontFamily:"inherit"},l={fontSize:9,letterSpacing:"0.22em",color:e,textTransform:"uppercase",marginBottom:10,fontWeight:500},u={fontSize:"clamp(14px, 2.8vw, 16px)",color:"var(--text-0)",fontWeight:500,lineHeight:1.3,marginBottom:8,letterSpacing:"-0.01em",fontFamily:"inherit"},x={fontSize:"clamp(12px, 2.3vw, 13px)",lineHeight:1.6,color:"var(--text-2)",margin:0,fontFamily:"inherit"},g={borderBottom:"1px solid var(--border-0)",margin:"clamp(48px, 8vh, 72px) 0"},f={border:"1px solid var(--border-2)",background:"var(--bg-0)",padding:"clamp(16px, 3vw, 22px)"},b=[{n:"01",title:"Hold BTC in self-custody at the snapshot",body:`Controlling the relevant Bitcoin keys lets you access the corresponding ECX balance with suitable software. If you hold your own Bitcoin keys through alpha (~${E.ROADMAP[0].blockHeight.toLocaleString()}), beta (~${E.ROADMAP[1].blockHeight.toLocaleString()}), and mainnet (~${E.ROADMAP[2].blockHeight.toLocaleString()}), a matching $ECX balance is created for your address at each stage — practice $ECX at alpha/beta, permanent $ECX at mainnet. No pre-registration, no pre-claim.`},{n:"02",title:"Community rewards",body:"Selected campaigns, competitions, testing, referrals, and ecosystem contributions may include $ECX allocations."}],v=[{n:"01",title:"The snapshot",body:`Snapshots happen three times: alpha (~${E.ROADMAP[0].blockHeight.toLocaleString()}), beta (~${E.ROADMAP[1].blockHeight.toLocaleString()}), and mainnet (~${E.ROADMAP[2].blockHeight.toLocaleString()}). Alpha and beta balances are practice $ECX; mainnet is permanent.`},{n:"02",title:"BTC stays safe",body:"Your Bitcoin remains unchanged on the Bitcoin network. The fork does not touch it."},{n:"03",title:"Separate asset",body:"$ECX is a new asset on a separate chain, initially associated with the same snapshot addresses."},{n:"04",title:"One post-fork step",body:"Use the official wallet to split BTC and $ECX — this is opt-in, so you must do it yourself or your $ECX will replay to wherever your BTC goes."}],y=[{n:"01",title:"Do not rush to move BTC",body:"Wait for the official wallet and coin-splitting guidance."},{n:"02",title:"Use the official wallet",body:"This step is opt-in — perform it yourself before moving any BTC, or your $ECX will replay to whoever receives it."},{n:"03",title:"Confirm separation",body:"Verify that BTC and $ECX balances now operate independently."},{n:"04",title:"Use each asset independently",body:"Hold, transfer, use, or trade only after official guidance confirms readiness."}],k=[{eyebrow:"FULL NODE",title:"Run the test network",body:"Validate the network and explore the system directly.",href:"https://layertwolabs.com/download"},{eyebrow:"WALLET",title:"Test receiving and sending",body:"Create addresses and try transactions in the test environment.",href:"https://layertwolabs.com/download"}
57,{eyebrow:"BETA EXPLORER",title:"Explore the Beta network",body:"View blocks and transactions on the current rehearsal network.",href:"https://explorer.beta.ecash.ninja/"},{eyebrow:"ALPHA EXPLORER",title:"Alpha explorer (retired network)",body:"Historical Alpha blocks and transactions. Alpha retires on September 24, 2026; use Beta for current testing.",href:"https://explorer.alpha.ecash.ninja/"},{eyebrow:"SIDECHAIN TOOLS",title:"Explore the architecture",body:"Review sidechains, documentation, and technical workflows.",tab:"sidechains"}],m=[{q:"Do I need to claim $ECX before the fork?",a:`No. There is no pre-claim, no registration, and no action required before any snapshot. If you hold BTC through alpha (~${E.ROADMAP[0].blockHeight.toLocaleString()}), beta (~${E.ROADMAP[1].blockHeight.toLocaleString()}), or mainnet (~${E.ROADMAP[2].blockHeight.toLocaleString()}), a matching $ECX balance is created for the same address at that stage — practice $ECX at alpha/beta, permanent $ECX at mainnet.`},{q:"Does the fork change my BTC balance?",a:"No. Your Bitcoin remains exactly where it is, on the Bitcoin network, untouched. The fork reads the snapshot and creates a separate $ECX balance on a separate chain."},{q:"What does 1:1 mean?",a:"For every 1 BTC held at snapshot, the same address is credited 1 $ECX on the eCash chain. Fractional balances follow the same ratio: 0.01 BTC → 0.01 $ECX."},{q:"What if my BTC is on an exchange?",a:"If your BTC is on a centralized exchange at the snapshot, receiving $ECX depends entirely on that exchange. Check your provider’s own crediting and withdrawal policy; support is not guaranteed."},{q:"What is transaction replay?",a:"Replay protection is opt-in, not automatic. If you move BTC after a snapshot without splitting first, that transaction can also broadcast on the eCash network, sending your $ECX to whoever receives the BTC. The official wallet can split for you and will warn you — but only if you use it."},{q:"What is coin splitting?",a:"A one-time, opt-in operation you perform with the official wallet that separates your BTC and $ECX. It is not automatic — skip it and move BTC, and your $ECX replays to the new owner of that BTC."},{q:"How can I get $ECX without BTC at the snapshot?",a:"The only secondary route is community rewards: campaigns, testing, referrals, and ecosystem contributions. Self-custody at the snapshot remains the primary and most reliable path."},{q:"Do I need to share my seed phrase?",a:"Never. No legitimate part of the fork requires you to share, type, or import your Bitcoin seed phrase into any tool that is not the official wallet, verified through official channels. Anyone asking for a seed phrase to “unlock” $ECX is running a scam."}];return r.jsxs("main",{style:{position:"relative",maxWidth:720,margin:"0 auto",padding:"clamp(120px, 18vh, 160px) clamp(20px, 5vw, 32px) clamp(80px, 12vh, 120px)"},children:[r.jsx("div",{style:{fontSize:10,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:14},children:"§ official bitcoin hard-fork guide"}),r.jsxs("h1",{style:{fontSize:"clamp(28px, 6vw, 48px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.02em",lineHeight:1.1,margin:"0 0 8px",fontFamily:"inherit"},children:["Your BTC stays yours.",r.jsx("span",{style:{fontSize:"clamp(28px, 6vw, 48px)",fontWeight:400,color:e,letterSpacing:"-0.02em",lineHeight:1.1,margin:"0 0 20px",fontFamily:"inherit",display:"block"},children:"Accessing eCash (ECX)."})]}),r.jsxs("div",{style:{fontSize:"clamp(14px, 2.6vw, 16px)",color:"var(--text-1)",lineHeight:1.6,fontFamily:"inherit"},children:["Starting at block ~",E.ROADMAP[0].blockHeight.toLocaleString()," (alpha), every address holding BTC receives a matching balance in eCash — practice $ECX at alpha and beta, permanent $ECX at mainnet (block ~",E.ROADMAP[2].blockHeight.toLocaleString(),"). No registration. No pre-claim. No changes to your Bitcoin."]}),r.jsx(F,{y:18,style:{marginTop:36},children:r.jsxs("div",{style:{background:`${e}0a`,border:`1px solid ${e}44`,borderLeft:`3px solid ${e}`,padding:"clamp(18px, 3vh, 24px) clamp(18px, 3.5vw, 26px)"},children:[r.jsx("div",{style:{fontSize:9,letterSpacing:"0.22em",color:e,textTransform:"uppercase",marginBottom:10,fontWeight:500},children:"Important"}),r.jsx("p",{style:{...c,fontSize:"clamp(14px, 2.6vw, 16px)",color:"var(--text-0)",lineHeight:1.6,marginBottom:12},children:"If your BTC is not in self-custody by the time of the fork, we cannot promise you will receive $ECX. It is entirely up to your exchange to supp
57ort $ECX."}),r.jsxs("p",{style:{...c,fontSize:"clamp(14px, 2.6vw, 16px)",color:"var(--text-0)",lineHeight:1.6,margin:0},children:["Self-custody gives you control of the keys, but you still need verified software and an understanding of replay protection. Read ",r.jsx("a",{href:"/coin-splitting/",style:{color:e},children:"the coin-splitting guide"})," before moving pre-fork coins."]}),r.jsxs("button",{type:"button",className:"pill-btn pill-btn--fill",style:{marginTop:18},onClick:()=>t&&t("download"),children:["download ecash wallet ",r.jsx("span",{style:{fontSize:"0.9em"},children:"↗"})]})]})}),r.jsx(F,{y:18,style:{marginTop:20},children:r.jsx("div",{style:{background:"rgba(220, 70, 70, 0.04)",border:"1px solid rgba(220, 70, 70, 0.22)",borderLeft:"2px solid #d84545",padding:"clamp(14px, 2.4vh, 18px) clamp(16px, 3vw, 20px)"},children:r.jsxs("p",{style:c,children:[r.jsx("strong",{style:{color:"#d84545",fontWeight:500},children:"Security:"})," Your BTC stays on Bitcoin. Never send BTC, share a seed phrase, or connect a wallet because someone says it is needed to “unlock” $ECX."]})})}),r.jsxs("div",{style:{marginTop:40,paddingTop:24,paddingBottom:4,borderTop:"1px solid var(--border-0)"},children:[r.jsx("div",{style:{fontSize:9,letterSpacing:"0.22em",color:e,textTransform:"uppercase",marginBottom:14,fontWeight:500},children:"Fork status"}),r.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(140px, 1fr))",gap:"clamp(12px, 3vw, 24px)"},children:[{k:"Model",v:"1 BTC = 1 $ECX"},{k:"Final snapshot",v:`~ Block ${E.ROADMAP[2].blockHeight.toLocaleString()}`},{k:"Pre-fork action",v:"NONE"},{k:"Replay protection",v:"OPT-IN"}].map(({k:p,v:d})=>r.jsxs("div",{children:[r.jsx("div",{style:{fontSize:10,color:"var(--text-3)",letterSpacing:"0.05em",marginBottom:4},children:p}),r.jsx("div",{style:{fontSize:13,color:"var(--text-0)",fontWeight:500},children:d})]},p))})]}),r.jsx("div",{style:g}),r.jsxs(F,{y:18,children:[r.jsx("div",{style:o,children:"§ what to expect"}),r.jsx("h2",{style:a,children:"The fork, in plain terms."}),r.jsx("p",{style:s,children:"The snapshot creates a separate eCash balance from Bitcoin’s existing ledger. Your BTC is not altered, moved, or converted. It remains BTC on the Bitcoin network."}),r.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(150px, 1fr))",gap:"clamp(10px, 2vw, 14px)"},children:v.map(p=>r.jsxs("div",{style:f,children:[r.jsx("div",{style:l,children:p.n}),r.jsx("div",{style:u,children:p.title}),r.jsx("p",{style:x,children:p.body})]},p.n))}),r.jsx("h3",{style:{fontSize:"clamp(15px, 2.8vw, 18px)",color:"var(--text-0)",fontWeight:500,letterSpacing:"-0.01em",marginTop:40,marginBottom:14},children:"Snapshot allocation"}),r.jsxs("div",{style:{border:"1px solid var(--border-2)",overflow:"hidden"},children:[r.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1.2fr",gap:0,borderBottom:"1px solid var(--border-2)",background:"rgba(255,255,255,0.015)"},children:["BTC held at snapshot","$ECX created on eCash","Action required before snapshot"].map(p=>r.jsx("div",{style:{padding:"clamp(10px, 2vh, 14px) clamp(12px, 2.5vw, 16px)",fontSize:9,letterSpacing:"0.2em",color:e,textTransform:"uppercase",fontWeight:500},children:p},p))}),[{btc:"0.01 BTC",ecx:"0.01 $ECX",act:"None"},{btc:"1 BTC",ecx:"1 $ECX",act:"None"},{btc:"10 BTC",ecx:"10 $ECX",act:"None"}].map((p,d,h)=>r.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1.2fr",borderBottom:d<h.length-1?"1px solid var(--border-2)":"none"},children:[r.jsx("div",{style:{padding:"clamp(10px, 2vh, 14px) clamp(12px, 2.5vw, 16px)",fontSize:13,color:"var(--text-0)",fontWeight:500},children:p.btc}),r.jsx("div",{style:{padding:"clamp(10px, 2vh, 14px) clamp(12px, 2.5vw, 16px)",fontSize:13,color:"var(--text-1)"},children:p.ecx}),r.jsx("div",{style:{padding:"clamp(10px, 2vh, 14px) clamp(12px, 2.5vw, 16px)",fontSize:13,color:"var(--text-2)"},children:p.act})]},p.btc))]}),r.jsx("div",{style:{marginTop:20,border:`1px solid ${e}22`,borderLeft:`2px solid ${e}80`,background:`${e}07`,padding:"clamp(12px, 2.2vh, 18px) clamp(14px, 3vw, 20px)"},children:r.jsxs("p",{style:c,children:[r.jsx("strong",{style:{color:e,fontWeight:500},children:"Before the snapshot:"})," Keep control of your Bitcoin keys if you want direct access to the corresponding $ECX. If your BTC is on an exchange or custodian, support depends on that provider’s official policy."]})})]}),r.jsx("div",{style:g}),r.jsxs(F,{y:18,children:[r.jsx("div",{style:o,children:"§ your bitcoin"}),r.jsx("h2",{style:a,children:"Nothing happens to your BTC."}),r.jsx("p",{style:s,children:"The fork does not move, modify, freeze, or touch your Bitcoin. eCash arrives alongside it as a separate asset created from the same snapshot balance."}),r.jsxs("div",{style:{border:"1px solid var(--border-2)",overflow:"hidden"},children:[r.jsx("div",{style:{display:"grid",gridTemplateColumns:"80px 100px 1fr",borderBottom:"1px solid var(--border-2)",background:"rgba(255,255,255,0.015)"},children:["Asset","Network","What happens at the fork?"].map(p=>r.jsx("div",{style:{padding:"clamp(10px, 2vh, 14px) clamp(12px, 2.5vw, 16px)",fontSize:9,letterSpacing:"0.2em",color:e,textTransform:"uppercase",fontWeight:500},children:p},p))}),[{asset:"BTC",net:"Bitcoin",what:"Nothing changes. Your BTC remains where it is."},{asset:"$ECX",net:"eCash",what:"A matching balance is created from the Bitcoin snapshot."}].map((p,d,h)=>r.jsxs("div",{style:{display:"grid",gridTemplateColumns:"80px 100px 1fr",borderBottom:d<h.length-1?"1px solid var(--border-2)":"none"},children:[r.jsx("div",{style:{padding:"clamp(10px, 2vh, 14px) clamp(12px, 2.5vw, 16px)",fontSize:13,color:"var(--text-0)",fontWeight:500},children:p.asset}),r.jsx("div",{style:{padding:"clamp(10px, 2vh, 14px) clamp(12px, 2.5vw, 16px)",fontSize:13,color:"var(--text-1)"},children:p.net}),r.jsx("div",{style:{padding:"clamp(10px, 2vh, 14px) clamp(12px, 2.5vw, 16px)",fontSize:13,color:"var(--text-2)",lineHeight:1.55},children:p.what})]},p.asset))]})]}),r.jsx("div",{style:g}),r.jsxs(F,{y:18,children:[r.jsx("div",{style:o,children:"§ hard-fork precedent"}),r.jsx("h2",{style:a,children:"This has happened before."}),r.jsx("p",{style:s,children:"Bitcoin Cash forked from Bitcoin in August 2017. BTC holders received BCH based on their BTC balances at the fork snapshot. eCash follows the same broad model: same historical UTXO set, same addresses at the snapshot, separate chains afterward."}),r.jsx("div",{style:{border:`1px solid ${e}22`,borderLeft:`2px solid ${e}80`,background:`${e}07`,padding:"clamp(12px, 2.2vh, 18px) clamp(14px, 3vw, 20px)"},children:r.jsxs("p",{style:c,children:[r.jsx("strong",{style:{color:e,fontWeight:500},children:"Historical context:"})," Fork mechanics help explain the process. They do not guarantee market value, trading availability, or any specific outcome."]})})]}),r.jsx("div",{style:g}),r.jsxs(F,{y:18,children:[r.jsx("div",{style:o,children:"§ before launch"}),r.jsx("h2",{style:a,children:"Preview the network now."}),r.jsx("p",{style:s,children:"LayerTwoLabs has working software available before launch: a full node, wallet, live signet, and tools for exploring sidechains and testing transactions."}),r.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(220px, 1fr))",gap:"clamp(10px, 2vw, 14px)"},children:k.map((p,d)=>{const h=n===`p-${d}`,w={...f,cursor:"pointer",transition:"border-color .15s, background .15s",borderColor:h?`${e}66`:"var(--border-2)",background:h?`${e}05`:"var(--bg-0)",textDecoration:"none"},j=r.jsxs(r.Fragment,{children:[r.jsx("div",{style:l,children:p.eyebrow}),r.jsx("div",{style:{...u,color:h?e:"var(--text-0)"},children:p.title}),r.jsx("p",{style:x,children:p.body}),r.jsxs("div",{style:{marginTop:12,fontSize:10,letterSpacing:"0.18em",color:e,textTransform:"uppercase",display:"flex",alignItems:"center",gap:6},children:["Open ",r.jsx("span",{style:{fontSize:10},children:p.href?"↗":"→"})]})]});return p.href?r.jsx("a",{href:p.href,target:"_blank",rel:"noopener noreferrer",onClick:()=>Di(p.href,"how_to_claim"),onAuxClick:_=>{_.button===1&&Di(p.href,"how_to_claim")},onMouseEnter:()=>i(`p-${d}`),onMouseLeave:()=>i(null),style:{...w,display:"block",color:"var(--text-1)"},children:j},d):r.jsx("div",{role:"button",tabIndex:0,onMouseEnter:()=>i(`p-${d}`),onMouseLeave:()=>i(null),onClick:()=>t&&t(p.tab),onKeyDown:_=>{(_.key==="Enter"||_.key===" ")&&t&&(_.preventDefault(),t(p.tab))},style:w,children:j},d)})})]}),r.jsx("div",{style:g}),r.jsxs(F,{y:18,children:[r.jsx("div",{style:o,children:"§ after the fork"}),r.jsx("h2",{style:a,children:"Transaction replay & coin splitting."}),r.jsx("p",{style:s,children:"Replay protection is opt-in, not automatic. If you move BTC without splitting first, that transaction can also broadcast on the eCash network, sending your $ECX to whoever receives the BTC. The official wallet can split for you and will warn 
57you — but only if you use it."}),r.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(220px, 1fr))",gap:"clamp(10px, 2vw, 14px)",marginBottom:40},children:[r.jsxs("div",{style:{...f,borderColor:"rgba(220, 70, 70, 0.22)",borderLeft:"2px solid #d84545",background:"rgba(220, 70, 70, 0.03)"},children:[r.jsx("div",{style:{...l,color:"#d84545"},children:"Before coin splitting"}),r.jsx("div",{style:u,children:"Proceed carefully."}),r.jsx("p",{style:x,children:"BTC and $ECX may share replayable transaction history. Wait for official wallet guidance before moving funds."})]}),r.jsxs("div",{style:{...f,borderColor:"rgba(60, 160, 100, 0.24)",borderLeft:"2px solid #3ba070",background:"rgba(60, 160, 100, 0.03)"},children:[r.jsx("div",{style:{...l,color:"#3ba070"},children:"After coin splitting"}),r.jsx("div",{style:u,children:"Operate independently."}),r.jsx("p",{style:x,children:"BTC and $ECX are separated. Each asset can be used independently on its own network."})]})]}),r.jsx("h3",{style:{fontSize:"clamp(15px, 2.8vw, 18px)",color:"var(--text-0)",fontWeight:500,letterSpacing:"-0.01em",marginBottom:20},children:"What to do after the fork"}),r.jsxs("div",{style:{position:"relative"},children:[r.jsx("div",{style:{position:"absolute",left:17,top:18,bottom:18,width:1,background:"var(--border-0)",zIndex:0}}),r.jsx("div",{style:{display:"flex",flexDirection:"column",gap:0},children:y.map((p,d)=>r.jsxs("div",{style:{display:"flex",gap:"clamp(20px, 4vw, 32px)",paddingBottom:d<y.length-1?"clamp(28px, 5vh, 40px)":0},children:[r.jsx("div",{style:{flexShrink:0,position:"relative",zIndex:1},children:r.jsx("div",{style:{width:34,height:34,border:"1px solid var(--border-2)",borderRadius:"50%",background:"var(--bg-0)",display:"flex",alignItems:"center",justifyContent:"center"},children:r.jsx("div",{style:{width:8,height:8,borderRadius:"50%",background:e}})})}),r.jsxs("div",{style:{flex:1,paddingTop:6},children:[r.jsxs("div",{style:{fontSize:9,letterSpacing:"0.22em",color:e,textTransform:"uppercase",marginBottom:6,fontWeight:500},children:["Step ",p.n]}),r.jsx("div",{style:{fontSize:"clamp(14px, 2.6vw, 16px)",color:"var(--text-0)",fontWeight:500,marginBottom:6,letterSpacing:"-0.01em"},children:p.title}),r.jsx("p",{style:{...c,fontSize:"clamp(12px, 2.3vw, 13px)",color:"var(--text-2)"},children:p.body})]})]},p.n))})]}),r.jsx("div",{style:{marginTop:24,background:"rgba(220, 70, 70, 0.04)",border:"1px solid rgba(220, 70, 70, 0.22)",borderLeft:"2px solid #d84545",padding:"clamp(12px, 2.2vh, 18px) clamp(14px, 3vw, 20px)"},children:r.jsxs("p",{style:c,children:[r.jsx("strong",{style:{color:"#d84545",fontWeight:500},children:"Security rule:"})," Never import your Bitcoin seed phrase into unverified software. Use only official tools linked through verified project channels."]})})]}),r.jsx("div",{style:g}),r.jsxs(F,{y:18,children:[r.jsx("div",{style:o,children:"§ allocation routes"}),r.jsx("h2",{style:a,children:"How to get $ECX."}),r.jsx("p",{style:s,children:"Fork balances depend on the snapshot; access depends on key control and software support. Community programmes have separate terms."}),r.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(220px, 1fr))",gap:"clamp(10px, 2vw, 14px)"},children:b.map(p=>r.jsxs("div",{style:f,children:[r.jsxs("div",{style:l,children:["Route ",p.n]}),r.jsx("div",{style:u,children:p.title}),r.jsx("p",{style:x,children:p.body})]},p.n))})]}),r.jsx("div",{style:g}),r.jsxs(F,{y:18,children:[r.jsx("div",{style:o,children:"§ wallet & custody"}),r.jsx("h2",{style:a,children:"Understand who controls your keys."}),r.jsx("p",{style:s,children:"To receive $ECX at the snapshot, you must control your own Bitcoin keys. If your BTC sits on a centralized exchange, whether you receive $ECX is entirely up to that exchange. Check its published policy."}),r.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(220px, 1fr))",gap:"clamp(10px, 2vw, 14px)",marginBottom:24},children:[r.jsxs("div",{style:{...f,borderColor:`${e}44`,borderLeft:`2px solid ${e}`,background:`${e}05`},children:[r.jsx("div",{style:{...l,color:e},children:"Recommended · Self-custody"}),r.jsx("div",{style:u,children:"You control the keys, you get $ECX"}),r.jsx("p",{style:x,children:"Hold BTC in a wallet where you own the private keys or seed phrase. At the snapshot, the matching $ECX balance is created for your address on the eCash chain. Move BTC into self-custody before the snapshot if you want reliable access."}),r.jsxs("button",{type:"button",className:"pill-btn pill-btn--fill",style:{marginTop:14},onClick:()=>t&&t("download"),children:["download ecash wallet ",r.jsx("span",{style:{fontSize:"0.9em"},children:"↗"})]})]}),r.jsxs("div",{style:{...f,borderColor:"rgba(220, 70, 70, 0.22)",borderLeft:"2px s
57olid #d84545",background:"rgba(220, 70, 70, 0.03)"},children:[r.jsx("div",{style:{...l,color:"#d84545"},children:"Risky · Exchange / custodian"}),r.jsx("div",{style:u,children:"You do not control the keys"}),r.jsx("p",{style:x,children:"If your BTC is on a centralized exchange, the exchange controls the addresses and therefore controls whether $ECX is credited. Assume no support unless the exchange publishes an official policy stating otherwise."})]})]}),r.jsx("div",{style:{border:`1px solid ${e}22`,borderLeft:`2px solid ${e}80`,background:`${e}07`,padding:"clamp(12px, 2.2vh, 18px) clamp(14px, 3vw, 20px)"},children:r.jsxs("p",{style:c,children:[r.jsx("strong",{style:{color:e,fontWeight:500},children:"Advanced setups:"})," If your BTC is held in multisig or another specialized configuration, wait for official technical guidance. Do not improvise with recovery material."]})})]}),r.jsx("div",{style:g}),r.jsxs(F,{y:18,children:[r.jsx("div",{style:o,children:"§ questions"}),r.jsx("h2",{style:a,children:"FAQ."}),r.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(280px, 1fr))",gap:"clamp(10px, 2vw, 14px)"},children:m.map(p=>r.jsxs("details",{style:{...f,color:"inherit",font:"inherit"},children:[r.jsx("summary",{style:{cursor:"pointer",fontSize:"clamp(13px, 2.5vw, 14px)",color:"var(--text-0)",fontWeight:500,lineHeight:1.4},children:p.q}),r.jsx("p",{style:{margin:"12px 0 0",fontSize:"clamp(12px, 2.3vw, 13px)",color:"var(--text-2)",lineHeight:1.65},children:p.a})]},p.q))})]}),r.jsx("div",{style:g}),r.jsxs(F,{y:18,children:[r.jsxs("div",{style:{border:`1px solid ${e}55`,padding:"clamp(24px, 5vh, 40px) clamp(20px, 4vw, 32px)",borderRadius:2},children:[r.jsx("div",{style:{...o,marginBottom:12},children:"§ stay informed"}),r.jsx("h2",{style:{...a,marginBottom:6},children:"Your BTC stays yours."}),r.jsx("h2",{style:{...a,color:e,marginBottom:16},children:"Your $ECX arrives alongside it."}),r.jsx("p",{style:{...c,marginBottom:24},children:"Before the fork, follow verified updates. After the fork, use the official wallet to split coins safely and operate both assets independently."}),r.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:12},children:[r.jsxs("button",{type:"button",className:"pill-btn pill-btn--fill",onClick:()=>t&&t("download"),children:["download ecash wallet ",r.jsx("span",{style:{fontSize:"0.9em"},children:"↗"})]}),r.jsxs("a",{href:"https://t.me/eCashHangout",target:"_blank",rel:"noopener noreferrer",className:"pill-btn pill-btn--ghost",children:["join telegram ",r.jsx("span",{style:{fontSize:"0.85em",opacity:.6},children:"↗"})]}),r.jsx("button",{type:"button",className:"pill-btn pill-btn--ghost",onClick:()=>t&&t("socials"),children:"all channels"})]})]}),r.jsx("div",{style:{marginTop:32,paddingTop:24,borderTop:"1px solid var(--border-0)",fontSize:11,color:"var(--text-3)",letterSpacing:"0.02em"},children:"© 2026 eCash / $ECX · Official information hub · Never share your recovery phrase."})]})]})}const Ha="https://ecash.onrender.com",Io=[{slug:"coinbase",name:"Coinbase",twitter:"coinbase",btcShort:"~970K BTC",btcHoldings:"~800K–970K BTC",bch2017:"Delayed 5 months",bchNote:"Publicly declined at fork. Listed BCH Dec 19, 2017 after sustained user pressure.",region:"US",responseStatus:"no-response"},{slug:"binance",name:"Binance",twitter:"binance",btcShort:"~665K BTC",btcHoldings:"~630K–669K BTC",bch2017:"Supported",bchNote:"Credited BCH shortly after the fork.",region:"Global",responseStatus:"no-response"},{slug:"bitfinex",name:"Bitfinex",twitter:"bitfinex",btcShort:"~360K BTC",btcHoldings:"~195K–360K BTC",bch2017:"Credited (partial)",bchNote:"Credited at fork but with a 0.8539 coefficient, not full 1:1.",region:"Global",responseStatus:"no-response"},{slug:"kraken",name:"Kraken",twitter:"krakenfx",btcShort:"~200K BTC",btcHoldings:"~200K+ BTC (historical)",bch2017:"Credited at fork",bchNote:"Public statement 5 days before fork. All accounts credited 
57within hours.",region:"US",responseStatus:"no-response"},{slug:"okx",name:"OKX",twitter:"okx",btcShort:"~38K BTC",btcHoldings:"~32K–38K BTC",bch2017:"Supported",bchNote:"As OKCoin. All Chinese exchanges credited BCH.",region:"Global",responseStatus:"no-response"},{slug:"htx",name:"HTX (Huobi)",twitter:"HTX_Global",btcShort:"~32K BTC",btcHoldings:"~32K BTC",bch2017:"Credited at fork",bchNote:"Credited BCH immediately.",region:"Global",responseStatus:"no-response"},{slug:"bybit",name:"Bybit",twitter:"Bybit_Official",btcShort:"~48K BTC",btcHoldings:"~24K–48K BTC",bch2017:"N/A",bchNote:"Founded 2018, post-BCH.",region:"Global",responseStatus:"no-response"},{slug:"gate",name:"Gate.io",twitter:"gate_io",btcShort:"~22K BTC",btcHoldings:"~22K BTC",bch2017:"Supported",bchNote:"Credited BCH.",region:"Global",responseStatus:"no-response"},{slug:"mexc",name:"MEXC",twitter:"MEXC_Official",btcShort:"~17K BTC",btcHoldings:"~17K BTC",bch2017:"N/A",bchNote:"Founded 2018.",region:"Global",responseStatus:"no-response"},{slug:"crypto-com",name:"Crypto.com",twitter:"cryptocom",btcShort:"~16K BTC",btcHoldings:"~16K BTC",bch2017:"N/A",bchNote:"Small operation in 2017.",region:"Global",responseStatus:"no-response"},{slug:"kucoin",name:"KuCoin",twitter:"kucoincom",btcShort:"~15K BTC",btcHoldings:"~15K BTC",bch2017:"Supported",bchNote:"Credited BCH.",region:"Global",responseStatus:"no-response"},{slug:"bitget",name:"Bitget",twitter:"bitgetglobal",btcShort:"~9K BTC",btcHoldings:"~9K BTC",bch2017:"N/A",bchNote:"Founded 2018.",region:"Global",responseStatus:"no-response"},{slug:"bitstamp",name:"Bitstamp",twitter:"Bitstamp",btcShort:"~3K BTC",btcHoldings:"~3K BTC",bch2017:"Delayed 2 months",bchNote:'Called BCH an "altcoin". Credited users end of September 2017.',region:"EU",responseStatus:"no-response"},{slug:"gemini",name:"Gemini",twitter:"Gemini",btcShort:"~423 BTC",btcHoldings:"~423 BTC",bch2017:"Did not credit initially",bchNote:"Did not support at fork. Added BCH years later.",region:"US",responseStatus:"no-response"},{slug:"upbit",name:"Upbit",twitter:"upbitglobal",btcShort:"KR reserves",btcHoldings:"Large KR holdings",bch2017:"Supported",bchNote:"All major Korean exchanges credited BCH.",region:"KR",responseStatus:"no-response"}],hc={"no-response":{label:"No response",color:"#d84545",bg:"rgba(216, 69, 69, 0.08)",border:"rgba(216, 69, 69, 0.35)"},reviewing:{label:"Reviewing",color:"#e0a44c",bg:"rgba(224, 164, 76, 0.08)",border:"rgba(224, 164, 76, 0.35)"},declined:{label:"Declined",color:"#d84545",bg:"rgba(216, 69, 69, 0.10)",border:"rgba(216, 69, 69, 0.45)"},committed:{label:"Committed",color:"#5cc98f",bg:"rgba(92, 201, 143, 0.08)",border:"rgba(92, 201, 143, 0.35)"},listed:{label:"Listed",color:"#5cc98f",bg:"rgba(92, 201, 143, 0.12)",border:"rgba(92, 201, 143, 0.50)"}};function Nm({status:e,size:t="sm"}){const n=hc[e]||hc["no-response"];return r.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:5,fontSize:t==="md"?10:9,letterSpacing:"0.14em",textTransform:"uppercase",fontWeight:500,padding:t==="md"?"3px 8px":"2px 6px",background:n.bg,color:n.color,border:`1px solid ${n.border}`},children:[r.jsx("span",{style:{width:5,height:5,borderRadius:"50%",background:n.color}}),n.label]})}function Lm({accent:e}){const t=Fa();return r.jsxs("div",{style:{marginTop:32,padding:"clamp(14px, 2.6vh, 18px) clamp(16px, 3.2vw, 22px)",border:"1px solid var(--border-2)",background:"var(--bg-0)",display:"flex",flexWrap:"wrap",alignItems:"center",justifyContent:"space-between",gap:14},children:[r.jsxs("div",{children:[r.jsx("div",{style:{fontSize:9,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:6,fontWeight:500},children:"§ fork window"}),r.jsxs("div",{style:{fontSize:"clamp(13px, 2.4vw, 14px)",color:"var(--text-1)",lineHeight:1.4},children:["Mainnet block ",r.jsxs("span",{style:{color:e,fontVariantNumeric:"tabular-nums"},children:["~",E.ROADMAP[2].blockHeight.toLocaleString()]})," · ",r.jsx("span",{style:{color:"var(--text-2)"},children:E.FORK_DATE_APPROX})]})]}),r.jsx("div",{style:{display:"flex",gap:"clamp(8px, 2vw, 14px)",fontVariantNumeric:"tabular-nums"},children:[{label:"days",value:t.days},{label:"hrs",value:t.hours},{label:"min",value:t.minutes},{label:"sec",value:t.seconds}].map((n,i)=>r.jsxs("div",{style:{textAlign:"center",minWidth:42},children:[r.jsx("div",{style:{fontSize:"clamp(18px, 3.6vw, 22px)",color:e,fontWeight:400,lineHeight:1,letterSpacing:"-0.02em"},children:kn(n.value)}),r.jsx("div",{style:{fontSize:9,letterSpacing:"0.14em",color:"var(--text-3)",textTransform:"uppercase",marginTop:4},children:n.label})]},i))})]})}function Am(e){const n=`.${e.twitter?"@"+e.twitter:e.name} — credit BTC holders at the eCash fork and list $ECX. Your users are watching.`;return`https://twitter.com/intent/tweet?text=${encodeURIComponent(n)}&url=${encodeURIComponent("https://ecash.com/list-ecx")}`}const Im=[{q:"Why does exchange support matter?",a:"If your BTC is on an exchange at the snapshot, whether you receive $ECX depends entirely on that exch
57ange. Historically, roughly half of major exchanges either refused to credit forked assets or delayed for months. Exchange listings also determine whether users can trade $ECX once it exists."},{q:"What is one vote worth?",a:"Individually, very little. Collectively, thousands of votes for the same exchange become a demand signal we can send directly to that exchange’s business development team. This is how BCH pushed Coinbase from a public refusal to a listing five months later."},{q:"How do you prevent duplicate votes?",a:"Each visitor can vote once per exchange from the same network. IP addresses are hashed with a server-side salt before storage — raw IPs are never persisted."},{q:"What happens to my email?",a:"If you provide one, it is stored alongside your vote and used only to notify you when we send the aggregated demand signal to exchanges, and to keep you informed about listing progress. Emails are not sold or shared."},{q:"Can an exchange guarantee it will list $ECX?",a:"No exchange can promise a listing before the asset exists. But exchanges that publicly commit to crediting BTC holders at the snapshot are demonstrably more likely to list the asset afterwards."}];function Pm({accent:e,setTab:t}){const[n,i]=C.useState(null),[o,a]=C.useState(""),[s,c]=C.useState(!1),[l,u]=C.useState(null),[x,g]=C.useState(null),[f,b]=C.useState({}),[v,y]=C.useState(null),[k,m]=C.useState(null),p={fontSize:10,letterSpacing:"0.22em",color:e,textTransform:"uppercase",marginBottom:14,fontWeight:500},d={fontSize:"clamp(22px, 4.4vw, 32px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.02em",lineHeight:1.15,margin:"0 0 14px",fontFamily:"inherit"},h={fontSize:"clamp(13px, 2.5vw, 15px)",lineHeight:1.7,color:"var(--text-1)",margin:"0 0 32px",fontFamily:"inherit"},w={fontSize:"clamp(13px, 2.5vw, 15px)",lineHeight:1.7,color:"var(--text-1)",margin:0,fontFamily:"inherit"},j={fontSize:9,letterSpacing:"0.22em",textTransform:"uppercase",marginBottom:10,fontWeight:500},_={borderBottom:"1px solid var(--border-0)",margin:"clamp(48px, 8vh, 72px) 0"};C.useEffect(()=>{let S=!1;return fetch(`${Ha}/api/vote-results`).then(P=>P.ok?P.json():Promise.reject(P)).then(P=>{if(S||!(P!=null&&P.ok))return;const D={};for(const O of P.results||[])D[O.exchange]=O.votes;b(D),y(P.total||0)}).catch(()=>{}),()=>{S=!0}},[]);async function T(S){if(S==null||S.preventDefault(),!(!n||s)){c(!0),g(null);try{const P=await fetch(`${Ha}/api/vote`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({exchange:n,email:o.trim()||void 0})}),D=await P.json().catch(()=>({}));if(!P.ok||!(D!=null&&D.ok)){g((D==null?void 0:D.error)==="rate_limited"?"Too many requests. Try again in a few minutes.":(D==null?void 0:D.error)==="invalid_email"?"That email doesn’t look valid.":"Something went wrong. Try again in a moment."),c(!1);return}u(D),b(O=>({...O,[D.exchange]:D.totalForExchange})),y(O=>O==null?D.totalForExchange:O+(D.alreadyVoted?0:1))}catch{g("Could not reach the vote server. Try again in a moment.")}finally{c(!1)}}}const A=C.useMemo(()=>[...Io].map(S=>({...S,votes:f[S.slug]||0})).sort((S,P)=>P.votes-S.votes),[f]);return r.jsxs("main",{style:{position:"relative",maxWidth:720,margin:"0 auto",padding:"clamp(120px, 18vh, 160px) clamp(20px, 5vw, 32px) clamp(80px, 12vh, 120px)"},children:[r.jsx("div",{style:{fontSize:10,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:14},children:"§ exchange listing campaign"}),r.jsxs("h1",{style:{fontSize:"clamp(28px, 6vw, 48px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.02em",lineHeight:1.1,margin:"0 0 8px",fontFamily:"inherit"},children:["Tell exchanges to list $ECX.",r.jsx("span",{style:{fontSize:"clamp(28px, 6vw, 48px)",fontWeight:400,color:e,letterSpacing:"-0.02em",lineHeight:1.1,margin:"0 0 20px",fontFamily:"inherit",display:"block"},children:"And to credit BTC holders at the fork."})]}),r.jsxs("div",{style:{fontSize:"clamp(14px, 2.6vw, 16px)",color:"var(--text-1)",lineHeight:1.6,fontFamily:"inherit"},children:["Vote for the exchange you want $ECX listed on. Every vote and email lands on that exch
57ange’s desk. Refusing to credit BTC holders is a choice, and it’s one their users notice.",v!=null&&r.jsxs(r.Fragment,{children:[" ",r.jsx("strong",{style:{color:"var(--text-0)",fontWeight:500},children:v.toLocaleString()})," votes so far."]})]}),r.jsx(Lm,{accent:e}),r.jsx(F,{y:18,style:{marginTop:36},children:l?(()=>{const S=Io.find(O=>O.slug===l.exchange),P=S?Am(S):null,D=S!=null&&S.twitter?"@"+S.twitter:S==null?void 0:S.name;return r.jsxs("div",{style:{background:`${e}0a`,border:`1px solid ${e}44`,borderLeft:`3px solid ${e}`,padding:"clamp(18px, 3vh, 24px) clamp(18px, 3.5vw, 26px)"},children:[r.jsx("div",{style:{fontSize:9,letterSpacing:"0.22em",color:e,textTransform:"uppercase",marginBottom:10,fontWeight:500},children:l.alreadyVoted?"Already recorded":"Vote recorded"}),r.jsx("p",{style:{...w,fontSize:"clamp(14px, 2.6vw, 16px)",color:"var(--text-0)",lineHeight:1.6,marginBottom:12},children:l.alreadyVoted?`Your vote for ${S==null?void 0:S.name} was already on file.`:`Thank you. Your vote for ${S==null?void 0:S.name} has been recorded.`}),r.jsxs("p",{style:{...w,fontSize:"clamp(13px, 2.4vw, 15px)",color:"var(--text-1)",lineHeight:1.6,marginBottom:18},children:["Current tally for ",S==null?void 0:S.name,": ",r.jsx("strong",{style:{color:e,fontWeight:500},children:l.totalForExchange.toLocaleString()})," votes."]}),P&&r.jsxs("div",{style:{borderTop:"1px solid var(--border-1)",paddingTop:16,marginBottom:16},children:[r.jsx("div",{style:{fontSize:10,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:8,fontWeight:500},children:"Now tell them yourself"}),r.jsxs("p",{style:{...w,fontSize:"clamp(12px, 2.3vw, 13px)",color:"var(--text-2)",marginBottom:12},children:["One tweet at ",D," carries more weight than a hundred anonymous votes. We’ve pre-filled it."]}),r.jsxs("a",{href:P,target:"_blank",rel:"noopener noreferrer",style:{display:"inline-flex",alignItems:"center",gap:10,fontSize:11,letterSpacing:"0.18em",textTransform:"uppercase",color:"var(--bg-0)",background:e,border:`1px solid ${e}`,padding:"11px 18px",cursor:"pointer",fontFamily:"inherit",fontWeight:500,textDecoration:"none"},children:["Tweet at ",D," ",r.jsx("span",{style:{fontSize:11},children:"↗"})]})]}),r.jsx("button",{type:"button",onClick:()=>{u(null),i(null),a("")},style:{display:"inline-flex",alignItems:"center",gap:8,fontSize:11,letterSpacing:"0.18em",textTransform:"uppercase",color:"var(--text-1)",background:"transparent",border:"1px solid var(--border-2)",padding:"10px 16px",cursor:"pointer",fontFamily:"inherit",fontWeight:500},children:"Vote for another exchange"})]})})():r.jsxs("form",{onSubmit:T,children:[r.jsx("div",{style:{fontSize:10,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:14,fontWeight:500},children:"Step 1 · Pick an exchange"}),r.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(140px, 1fr))",gap:8,marginBottom:28},children:Io.map(S=>{const P=n===S.slug,D=f[S.slug]||0;return r.jsxs("button",{type:"button",onClick:()=>i(S.slug),style:{textAlign:"left",cursor:"pointer",padding:"12px 14px",background:P?`${e}12`:"var(--bg-0)",border:P?`1px solid ${e}`:"1px solid var(--border-2)",color:P?"var(--text-0)":"var(--text-1)",fontFamily:"inherit",transition:"all .12s"},children:[r.jsx("div",{style:{fontSize:14,fontWeight:500,color:"var(--text-0)",letterSpacing:"-0.01em",marginBottom:4},children:S.name}),r.jsx("div",{style:{fontSize:11,color:e,letterSpacing:"-0.01em",fontVariantNumeric:"tabular-nums",marginBottom:2},children:S.btcShort}),r.jsxs("div",{style:{fontSize:10,letterSpacing:"0.06em",color:"var(--text-3)"},children:[D.toLocaleString()," votes · ",S.region]})]},S.slug)})}),r.jsx("div",{style:{fontSize:10,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:14,fontWeight:500},children:"Step 2 · Email (optional)"}),r.jsx("p",{style:{...w,fontSize:"clamp(12px, 2.3vw, 13px)",color:"var(--text-2)",marginBottom:12},children:"Add your email and we’ll include you in the demand signal sent directly to their BD team, and n
57otify you when they respond."}),r.jsx("input",{type:"email",value:o,onChange:S=>a(S.target.value),placeholder:"[email protected]",style:{width:"100%",boxSizing:"border-box",background:"var(--bg-0)",border:"1px solid var(--border-2)",color:"var(--text-0)",fontFamily:"inherit",fontSize:14,padding:"12px 14px",marginBottom:20,outline:"none"},onFocus:S=>S.currentTarget.style.borderColor=e,onBlur:S=>S.currentTarget.style.borderColor="var(--border-2)"}),x&&r.jsx("div",{style:{background:"rgba(220, 70, 70, 0.05)",border:"1px solid rgba(220, 70, 70, 0.28)",borderLeft:"2px solid #d84545",padding:"10px 14px",marginBottom:16},children:r.jsx("p",{style:{...w,fontSize:13,color:"#d84545",margin:0},children:x})}),r.jsxs("button",{type:"submit",disabled:!n||s,style:{display:"inline-flex",alignItems:"center",gap:10,fontSize:11,letterSpacing:"0.18em",textTransform:"uppercase",color:n?"var(--bg-0)":"var(--text-3)",background:n?e:"transparent",border:`1px solid ${n?e:"var(--border-2)"}`,padding:"12px 20px",cursor:n&&!s?"pointer":"not-allowed",fontFamily:"inherit",fontWeight:500,opacity:s?.6:1,transition:"all .15s"},children:[s?"Recording…":"Submit vote",!s&&r.jsx("span",{style:{fontSize:11},children:"→"})]}),r.jsx("p",{style:{...w,fontSize:11,color:"var(--text-3)",marginTop:14,letterSpacing:"0.02em"},children:"One vote per exchange, per network address. Your IP is hashed with a server-side salt before storage."})]})}),r.jsx("div",{style:_}),r.jsxs("div",{children:[r.jsx("div",{style:p,children:"§ current demand"}),r.jsx("h2",{style:d,children:"What holders are demanding."}),r.jsx("p",{style:h,children:"Live vote counts, updated as they come in. Sorted by demand. Response status reflects each exchange’s current public position on crediting BTC holders at the fork — updated as they respond."}),r.jsx("div",{style:{display:"grid",gap:8},children:A.map((S,P)=>{var ie;const D=((ie=A[0])==null?void 0:ie.votes)||1,O=Math.max(2,S.votes/D*100);return r.jsxs("div",{style:{padding:"14px 16px 16px",background:"var(--bg-0)",border:"1px solid var(--border-2)"},children:[r.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between",gap:10},children:[r.jsxs("div",{style:{display:"flex",alignItems:"baseline",gap:10,minWidth:0},children:[r.jsx("span",{style:{fontSize:10,color:"var(--text-4)",letterSpacing:"0.06em",fontVariantNumeric:"tabular-nums",flexShrink:0},children:String(P+1).padStart(2,"0")}),r.jsx("span",{style:{fontSize:14,color:"var(--text-0)",fontWeight:500,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:S.name})]}),r.jsxs("span",{style:{fontSize:13,color:S.votes>0?e:"var(--text-3)",fontWeight:500,fontVariantNumeric:"tabular-nums",flexShrink:0,whiteSpace:"nowrap"},children:[S.votes.toLocaleString()," ",S.votes===1?"vote":"votes"]})]}),r.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,flexWrap:"wrap",marginTop:8},children:[r.jsx("span",{style:{fontSize:11,color:e,fontVariantNumeric:"tabular-nums"},children:S.btcShort}),r.jsx("span",{style:{fontSize:11,color:"var(--text-4)"},children:"·"}),r.jsx("span",{style:{fontSize:11,color:"var(--text-3)"},children:S.region}),r.jsx(Nm,{status:S.responseStatus})]}),r.jsx("div",{style:{marginTop:12,height:2,background:"var(--border-1)"},children:r.jsx("div",{style:{height:"100%",width:`${O}%`,background:S.votes>0?e:"transparent",transition:"width .3s"}})})]},S.slug)})})]}),r.jsx("div",{style:_}),r.jsxs(F,{y:18,children:[r.jsx("div",{style:p,children:"§ historical precedent"}),r.jsx("h2",{style:d,children:"How the Bitcoin Cash fork played out."}),r.jsx("p",{style:h,children:"The August 2017 Bitcoin Cash fork is the closest analog. Not every exchange credited users at the snapshot, and the ones that didn’t took months to reverse course under user pressure."}),r.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(220px, 1fr))",gap:"clamp(10px, 2vw, 14px)",marginBottom:24},children:[r.jsxs("div",{style:{border:"1px solid var(--border-2)",background:"var(--bg-0)",padding:"clamp(16px, 3vw, 22px)",borderLeft:`2px solid ${e}`},children:[r.jsx("div",{style:{...j,color:e},children:"Credited at fork"}),r.jsx("div",{style:{fontSize:"clamp(14px, 2.8vw, 16px)",color:"var(--text-0)",fontWeight:500,lineHeight:1.3,marginBottom:10},children:"Kraken, Bitfinex, HTX, Bittrex, Bithumb, OKCoin"}),r.jsx("p",{style:{...w,fontSize:"clamp(12px, 2.3vw, 13px)",color:"var(--text-2)"},children:"Credited BCH to user accounts within hours of the fork. Kraken publicly committed five days in advance."})]}),r.jsxs("div",{style:{border:"1px solid var(--border-2)",background:"var(--bg-0)",padding:"clamp(16px, 3vw, 22px)",borderLeft:"2px s
57olid #d84545"},children:[r.jsx("div",{style:{...j,color:"#d84545"},children:"Delayed or refused"}),r.jsx("div",{style:{fontSize:"clamp(14px, 2.8vw, 16px)",color:"var(--text-0)",fontWeight:500,lineHeight:1.3,marginBottom:10},children:"Coinbase, Bitstamp, Gemini, GDAX"}),r.jsx("p",{style:{...w,fontSize:"clamp(12px, 2.3vw, 13px)",color:"var(--text-2)"},children:"Publicly declined at fork. Coinbase reversed 5 months later. Bitstamp reversed after 2 months. Gemini did not credit users initially at all."})]})]}),r.jsx("div",{style:{background:`${e}05`,border:`1px solid ${e}22`,borderLeft:`2px solid ${e}`,padding:"clamp(14px, 2.4vh, 18px) clamp(16px, 3vw, 20px)"},children:r.jsxs("p",{style:w,children:[r.jsx("strong",{style:{color:"var(--text-0)",fontWeight:500},children:"The IRS ruling:"})," In 2021, the IRS confirmed that fork receipt is a taxable event at the moment of the fork under Section 61 of the Code — regardless of when the exchange credited the coins. Exchanges that delayed created a tax liability their users could not access."]})})]}),r.jsx("div",{style:_}),r.jsxs(F,{y:18,children:[r.jsx("div",{style:p,children:"§ faq"}),r.jsx("h2",{style:d,children:"Common questions."}),r.jsxs("div",{style:{display:"grid",gap:2,marginTop:20},children:[Im.map((S,P)=>r.jsxs("div",{style:{borderTop:"1px solid var(--border-1)",paddingTop:14,paddingBottom:14},children:[r.jsxs("button",{type:"button",onClick:()=>m(k===P?null:P),style:{width:"100%",display:"flex",justifyContent:"space-between",alignItems:"center",gap:12,background:"transparent",border:"none",color:"var(--text-0)",fontFamily:"inherit",fontSize:"clamp(14px, 2.6vw, 15px)",fontWeight:400,cursor:"pointer",padding:0,textAlign:"left",letterSpacing:"-0.01em"},children:[r.jsx("span",{children:S.q}),r.jsx("span",{style:{color:e,fontSize:18,lineHeight:1,fontWeight:300},children:k===P?"−":"+"})]}),k===P&&r.jsx("p",{style:{...w,marginTop:12,color:"var(--text-2)"},children:S.a})]},P)),r.jsx("div",{style:{borderTop:"1px solid var(--border-1)"}})]})]}),r.jsx(F,{y:18,style:{marginTop:"clamp(48px, 8vh, 72px)"},children:r.jsxs("div",{style:{background:`${e}0a`,border:`1px solid ${e}44`,borderLeft:`3px solid ${e}`,padding:"clamp(20px, 4vh, 28px) clamp(20px, 4vw, 28px)"},children:[r.jsx("div",{style:p,children:"§ before the fork"}),r.jsx("h2",{style:{...d,color:"var(--text-0)",marginBottom:8},children:"Your BTC stays yours."}),r.jsx("h2",{style:{...d,color:e,marginBottom:18},children:"Move it to self-custody to be sure of $ECX."}),r.jsx("p",{style:{...w,marginBottom:20},children:"Voting tells exchanges what their users want. Controlling your own keys avoids depending on an exchange’s crediting decision, but verified wallet software and replay protection still matter."}),r.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:12},children:[r.jsxs("button",{type:"button",onClick:()=>t&&t("download"),style:{display:"inline-flex",alignItems:"center",gap:8,fontSize:11,letterSpacing:"0.18em",textTransform:"uppercase",color:"var(--bg-0)",background:e,border:`1px solid ${e}`,padding:"11px 18px",cursor:"pointer",fontFamily:"inherit",fontWeight:500},children:["Download eCash wallet ",r.jsx("span",{style:{fontSize:10},children:"→"})]}),r.jsxs("button",{type:"button",onClick:()=>t&&t("how-to-claim"),style:{display:"inline-flex",alignItems:"center",gap:8,fontSize:11,letterSpacing:"0.18em",textTransform:"uppercase",color:"var(--text-1)",background:"transparent",border:"1px solid var(--border-2)",padding:"11px 18px",cursor:"pointer",fontFamily:"inherit",fontWeight:500},children:["How to claim $ECX ",r.jsx("span",{style:{fontSize:10},children:"→"})]})]})]})})]})}const Qp="2026-10-31T00:00:00Z",Hn=973728,fc=963648;function Rm(){const e=C.useMemo(()=>new Date(Qp),[]),[t,n]=C.useState(()=>Date.now());C.useEffect(()=>{const a=setInterval(()=>n(Date.now()),1e3);return()=>clearInterval(a)},[]);const i=Math.max(0,e.getTime()-t),o=Math.floor(i/1e3);return{days:Math.floor(o/86400),hours:Math.floor(o%86400/3600),minutes:Math.floor(o%3600/60),seconds:o%60,live:i<=0}}function Dm({accent:e,setTab:t}){const n=Rm(),i={fontSize:10,letterSpacing:"0.22em",color:e,textTransform:"uppercase",marginBottom:14,fontWeight:500},o={fontSize:"clamp(30px, 6.6vw, 52px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.02em",lineHeight:1.05,margin:"0 0 12px",fontFamily:"inherit"},a={...o,color:e,margin:"0 0 22px"},s={fontSize:"clamp(22px, 4.4vw, 32px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.02em",lineHeight:1.15,margin:"0 0 14px",fontFamily:"inherit"},c={fontSize:"clamp(16px, 3vw, 18px)",fontWeight:500,color:"var(--text-0)",letterSpacing:"-0.01em",lineHeight:1.3,margin:"0 0 10px",fontFamily:"inherit"},l={fontSize:"clamp(14px, 2.6vw, 16px)",lineHeight:1.65,color:"var(--text-1)",margin:"0 0 22px",fontFamily:"inherit"},u={fontSize:"clamp(13px, 2.5vw, 15px)",lineHeight:1.7,color:"var(--text-1)",margin:0,fontFamily:"inherit"},x={fontSize:9,letterSpacing:"0.22em",textTransform:"uppercase",marginBottom:10,fontWeight:500},g={borderBottom:"1px solid var(--border-0)",margin:"clamp(48px, 8vh, 72px) 0"},f={fontFamily:"ui-monospace, SFMono-Regular, Menlo, monospace",fontVariantNumeric:"tabular-nums"},b=v=>()=>t(v);return r.jsxs("main",{style:{position:"relative",maxWidth:720,margin:"0 auto",padding:"clamp(120px, 18vh, 160px) clamp(20px, 5vw, 32px) clamp(80px, 12vh, 120px)"},children:[r.jsx("div",{style:{fontSize:10,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:14},children:"§ btc holders · read this"}),r.jsxs("h1",{style:o,children:["Bitcoin holders:",r.jsx("span",{style:{...a,display:"block"},children:"understand eCash (ECX)."})]}),r.jsxs("p",{style:l,children:["On October 31, at BTC block ",r.jsxs("span",{style:{...f,color:e}
57,children:["~",Hn.toLocaleString()]}),", every BTC address gets an equal ECX balance on a new chain. Your BTC does not move, convert, or lock. Bitcoin and eCash run in parallel from that block onward."]}),r.jsxs("div",{style:{marginTop:8,padding:"clamp(14px, 2.6vh, 18px) clamp(16px, 3.2vw, 22px)",border:"1px solid var(--border-2)",background:"var(--bg-0)",display:"flex",flexWrap:"wrap",alignItems:"center",justifyContent:"space-between",gap:14},children:[r.jsxs("div",{children:[r.jsx("div",{style:{fontSize:9,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:6,fontWeight:500},children:"§ mainnet snapshot"}),r.jsxs("div",{style:{fontSize:"clamp(13px, 2.4vw, 14px)",color:"var(--text-1)",lineHeight:1.4},children:["BTC block ",r.jsxs("span",{style:{...f,color:e},children:["~",Hn.toLocaleString()]})," · ",r.jsx("span",{style:{color:"var(--text-2)"},children:"on or around October 31"})]})]}),r.jsx("div",{style:{display:"flex",gap:"clamp(8px, 2vw, 14px)",...f},children:[{label:"days",value:n.days},{label:"hrs",value:n.hours},{label:"min",value:n.minutes},{label:"sec",value:n.seconds}].map((v,y)=>r.jsxs("div",{style:{textAlign:"center",minWidth:42},children:[r.jsx("div",{style:{fontSize:"clamp(18px, 3.6vw, 22px)",color:e,fontWeight:400,lineHeight:1,letterSpacing:"-0.02em"},children:kn(v.value)}),r.jsx("div",{style:{fontSize:9,letterSpacing:"0.14em",color:"var(--text-3)",textTransform:"uppercase",marginTop:4},children:v.label})]},y))})]}),r.jsx("div",{style:g}),r.jsxs(F,{y:18,children:[r.jsx("div",{style:i,children:"§ 01 · the question"}),r.jsx("h2",{style:s,children:"Do you self-custody your BTC, or hold it on an exchange?"}),r.jsx("p",{style:l,children:"The answer decides what you do next. Both paths lead to ECX, they just take different routes."}),r.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(280px, 1fr))",gap:16},children:[r.jsxs("div",{style:{padding:"clamp(20px, 3.2vh, 26px) clamp(20px, 3.5vw, 26px)",border:`1px solid ${e}66`,borderLeft:`3px solid ${e}`,background:"var(--bg-0)",display:"flex",flexDirection:"column"},children:[r.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,marginBottom:10,flexWrap:"wrap"},children:[r.jsx("div",{style:{...x,color:e,marginBottom:0},children:"§ path a"}),r.jsx("span",{style:{fontSize:9,color:e,letterSpacing:"0.18em",textTransform:"uppercase",border:`1px solid ${e}55`,padding:"2px 8px",fontWeight:500},children:"Recommended"})]}),r.jsx("h3",{style:c,children:"Self-custody"}),r.jsx("p",{style:{...u,marginBottom:14},children:"Recovery phrase in your possession. Ledger, Trezor, Electrum, Sparrow, BitWindow, or any wallet where you hold the keys."}),r.jsx("ul",{style:{...u,paddingLeft:18,margin:"0 0 18px",listStyle:"none"},children:["Hold BTC through the snapshot. No pre-fork movement needed.","After the fork: split your coins once with the eCash wallet, BitWindow, or a manual nLockTime transaction.","Optional: claim pECX now during the Alpha and Beta phases for bonus ECX at Mainnet."].map((v,y)=>r.jsxs("li",{style:{marginBottom:8,position:"relative",paddingLeft:16},children:[r.jsx("span",{style:{position:"absolute",left:0,top:10,width:6,height:6,borderRadius:"50%",background:e}}),v]},y))}),r.jsxs("div",{style:{display:"flex",gap:8,flexWrap:"wrap",marginTop:"auto"},children:[r.jsx("button",{onClick:b("download"),style:{background:e,color:"#0a0a0c",border:`1px solid ${e}`,padding:"10px 16px",fontFamily:"inherit",fontSize:12,letterSpacing:"0.14em",textTransform:"uppercase",fontWeight:500,cursor:"pointer"},children:"Download eCash wallet to split"}),r.jsx(Ke,{tab:"coin-splitting",setTab:t,style:{background:"transparent",color:"var(--text-3)",border:"1px solid var(--border-1)",padding:"10px 16px",fontFamily:"inherit",fontSize:12,letterSpacing:"0.14em",textTransform:"uppercase",fontWeight:500,cursor:"pointer",opacity:1},children:"How to split"})]})]}),r.jsxs("div",{style:{padding:"clamp(20px, 3.2vh, 26px) clamp(20px, 3.5vw, 26px)",border:"1px solid var(--border-1)",background:"var(--bg-0)",display:"flex",flexDirection:"column"},children:[r.jsx("div",{style:{...x,color:"var(--text-3)"},children:"§ path b"}),r.jsx("h3",{style:c,children:"Exchange"}),r.jsx("p",{style:{...u,marginBottom:14},children:"BTC on Coinbase, Kraken, Binance, or similar. You do not hold the keys, so the exchange decides whether you get ECX."}),r.jsx("ul",{style:{...u,paddingLeft:18,margin:"0 0 14px",listStyle:"none"},children:["You cannot split yourself. ECX credit depends on exchange policy.","Ask: do they support the fork? Will they suspend BTC withdrawals? What is their timeline?","Alternative: withdraw BTC to self-custody before Oct 31, then follow Path A."].map((v,y)=>r.jsxs("li",{style:{marginBottom:8,position:"relative",paddingLeft:16},children:[r.jsx("span",{style:{position:"absolute",left:0,top:10,width:6,height:6,borderRadius:"50%",background:"var(--text-3)"}}),v]},y))}),r.jsx("div",{style:{padding:"10px 12px",border:"1px solid var(--border-1)",marginBottom:16,fontSize:"clamp(12px, 2.3vw, 13px)",color:"var(--text-2)",lineHeight:1.5}
57,children:"History: most fork tokens were credited weeks or months after snapshot, and only on some venues. Do not rely on this."}),r.jsx("div",{style:{display:"flex",gap:8,flexWrap:"wrap",marginTop:"auto"},children:r.jsx("button",{onClick:b("list-ecx"),style:{background:"transparent",color:"var(--text-0)",border:`1px solid ${e}`,padding:"10px 16px",fontFamily:"inherit",fontSize:12,letterSpacing:"0.14em",textTransform:"uppercase",fontWeight:500,cursor:"pointer"},children:"Vote for your exchange"})})]})]})]}),r.jsx("div",{style:g}),r.jsxs(F,{y:18,children:[r.jsx("div",{style:i,children:"§ 02 · timeline"}),r.jsx("h2",{style:s,children:"Three phases. One permanent snapshot."}),r.jsxs("p",{style:l,children:["Alpha and Beta are dress rehearsals. They mint ",r.jsx("span",{style:f,children:"pECX"}),", practice units redeemable for real ECX at Mainnet (1,000 pECX = 10 ECX). The permanent 1:1 allocation happens only at Mainnet on Oct 31."]}),r.jsx("div",{style:{margin:"28px 0 24px"},children:(()=>{const v=Date.now(),y=new Date("2026-08-23T00:00:00Z").getTime(),k=new Date(E.BETA_DATE_ISO).getTime(),m=new Date(Qp).getTime(),p=[{key:"Alpha",n:1,date:"23rd august 2026",block:fc,at:y},{key:"Beta",n:2,date:E.ROADMAP[1].dateLabel,block:E.ROADMAP[1].blockHeight,at:k},{key:"Mainnet",n:3,date:"31st october 2026",block:Hn,at:m}].map(T=>({...T,state:v>=T.at?"done":"up"}));let d=-1;for(let T=0;T<p.length;T++)if(v<p[T].at){d=T;break}d===-1&&(d=p.length-1),p.forEach((T,A)=>{A<d?T.state="done":A===d?T.state="current":T.state="upcoming"});const h=p[d].at,w=Math.max(0,h-v),j=Math.floor(w/864e5),_=Math.floor(w%864e5/36e5);return r.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr",position:"relative",padding:"4px 0 4px"},children:[r.jsx("div",{style:{position:"absolute",top:26,left:"16.67%",right:"16.67%",height:1,background:`linear-gradient(to right, ${e} 0%, ${e} ${d/(p.length-1)*100}%, var(--border-1) ${d/(p.length-1)*100}%, var(--border-1) 100%)`,zIndex:0}}),p.map(T=>{const A=T.state==="done",S=T.state==="current",P=A||S?e:"var(--border-2)",D=A||S?e:"var(--text-3)";return r.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:10,position:"relative",zIndex:1},children:[r.jsx("div",{style:{width:44,height:44,borderRadius:"50%",border:`1.5px solid ${P}`,display:"flex",alignItems:"center",justifyContent:"center",background:"var(--bg-0)",color:D,fontFamily:f.fontFamily,fontSize:14,boxShadow:S?`0 0 0 6px ${e}18, 0 0 16px ${e}55`:"none",transition:"all 200ms ease"},children:A?r.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:e,strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:r.jsx("polyline",{points:"20 6 9 17 4 12"})}):T.n}),r.jsx("div",{style:{...f,fontSize:11,letterSpacing:"0.18em",textTransform:"uppercase",color:A||S?"var(--text-0)":"var(--text-3)"},children:T.key}),r.jsx("div",{style:{...f,fontSize:11,color:"var(--text-2)",textAlign:"center"},children:T.date}),r.jsxs("div",{style:{...f,fontSize:11,color:"var(--text-3)",textAlign:"center"},children:["block ~",T.block.toLocaleString()]}),S&&w>0&&r.jsxs("div",{style:{...f,fontSize:11,color:e,fontWeight:600,marginTop:2},children:["in ",j,"d ",_,"h"]})]},T.key)})]})})()}),r.jsx("div",{style:{display:"grid",gap:12},children:[{phase:"Alpha",status:"live",block:fc,date:"Aug 23, 2026",detail:"Test chain. Practice pECX. Bug-hunting and infrastructure trials."},{phase:"Beta",status:"live",block:E.ROADMAP[1].blockHeight,date:new Date(E.BETA_DATE_ISO).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric",timeZone:"UTC"}),detail:"Second rehearsal. Practice pECX. Exchange and custodian integration."},{phase:"Mainnet",status:"upcoming",block:Hn,date:"Oct 31, 2026",detail:"Permanent 1:1 ECX allocation to BTC addresses. Sidechains go live. 18th anniversary of the Bitcoin whitepaper.",accent:!0}].map((v,y)=>r.jsxs("div",{style:{display:"grid",gridTemplateColumns:"auto 1fr auto",gap:16,alignItems:"center",padding:"16px 20px",border:v.accent?`1px solid ${e}66`:"1px solid var(--border-1)",borderLeft:v.accent?`3px solid ${e}`:"1px solid var(--border-1)",background:"var(--bg-0)"},children:[r.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[r.jsx("span",{style:{width:8,height:8,borderRadius:"50%",background:v.status==="live"?"#5ac47a":e,boxShadow:v.status==="live"?"0 0 8px #5ac47a55":`0 0 8px ${e}55`,...v.status==="live"?{}:{animation:"pulseDot 1.6s ease-in-out infinite"}}}),r.jsx("div",{style:{fontSize:"clamp(15px, 2.8vw, 17px)",color:v.accent?e:"var(--text-0)",fontWeight:500,letterSpacing:"-0.01em"},children:v.phase})]}),r.jsx("div",{style:{fontSize:"clamp(12px, 2.3vw, 13px)",color:"var(--text-2)",lineHeight:1.5},children:v.detail}),r.jsxs("div",{style:{textAlign:"right",...f},children:[r.jsxs("div",{style:{fontSize:"clamp(12px, 2.3vw, 13px)",color:"var(--text-1)"}
57,children:["~",v.block.toLocaleString()]}),r.jsx("div",{style:{fontSize:11,color:"var(--text-3)",marginTop:2,letterSpacing:"0.02em"},children:v.date})]})]},y))}),r.jsx("p",{style:{...u,marginTop:18,color:"var(--text-2)",fontSize:"clamp(12px, 2.3vw, 13px)"},children:"Dates are estimates because the phases are tied to BTC block height, not the calendar. The block heights are the source of truth."})]}),r.jsx("div",{style:g}),r.jsxs(F,{y:18,children:[r.jsx("div",{style:i,children:"§ 03 · learn more"}),r.jsx("h2",{style:s,children:"Read further."}),r.jsx("p",{style:l,children:"Six starting points, from beginner to primary sources."}),r.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(220px, 1fr))",gap:12},children:[{title:"What is eCash",desc:"The one-page overview.",tab:"what-is-ecash"},{title:"Why hardfork",desc:"The case for forking Bitcoin.",tab:"why-hardfork"},{title:"Drivechains",desc:"BIP300 and BIP301 explained.",tab:"drivechains"},{title:"How to split",desc:"Retail and technical procedures.",tab:"coin-splitting"},{title:"ECX on CryptoRank",desc:"Price, listings, feed. External.",href:"https://cryptorank.io/price/bitcoin-drivechains"},{title:"Paul Sztorc",desc:"Founder. BIP 300/301 author.",href:"https://x.com/Truthcoin"}].map((v,y)=>{const k=!!v.href,m=!!v.disabled,p=r.jsxs(r.Fragment,{children:[r.jsxs("div",{style:{fontSize:"clamp(14px, 2.6vw, 15px)",color:"var(--text-0)",fontWeight:500,marginBottom:4,display:"flex",alignItems:"center",gap:6},children:[v.title,k&&r.jsx("span",{style:{color:"var(--text-3)",fontSize:11},children:"↗"})]}),r.jsx("div",{style:{fontSize:"clamp(12px, 2.3vw, 13px)",color:"var(--text-2)",lineHeight:1.5},children:v.desc})]}),d={display:"block",padding:"16px 18px",border:"1px solid var(--border-1)",background:"var(--bg-0)",cursor:m?"not-allowed":"pointer",opacity:m?.5:1,textAlign:"left",width:"100%",fontFamily:"inherit",textDecoration:"none",transition:"border-color .15s, background .15s"};return k?r.jsx("a",{href:v.href,target:"_blank",rel:"noopener noreferrer",style:d,onMouseEnter:h=>{h.currentTarget.style.borderColor=e+"66"},onMouseLeave:h=>{h.currentTarget.style.borderColor="var(--border-1)"},children:p},y):r.jsx(Ke,{tab:v.tab,setTab:t,style:d,onMouseEnter:m?void 0:h=>{h.currentTarget.style.borderColor=e+"66"},onMouseLeave:m?void 0:h=>{h.currentTarget.style.borderColor="var(--border-1)"},children:p},y)})})]}),r.jsx("div",{style:g}),r.jsx(F,{y:18,children:r.jsxs("div",{style:{padding:"clamp(18px, 3vh, 22px) clamp(20px, 3.5vw, 26px)",border:`1px solid ${e}44`,background:`${e}0a`,borderLeft:`3px solid ${e}`},children:[r.jsx("div",{style:{...x,color:e},children:"§ the short version"}),r.jsxs("p",{style:{...u,color:"var(--text-0)",marginBottom:0},children:["Nothing on this page requires you to sign anything, connect a wallet, or send funds. The snapshot is passive: hold BTC in a wallet you control at BTC block ",r.jsxs("span",{style:{...f,color:e},children:["~",Hn.toLocaleString()]})," and your ECX balance is created automatically on the eCash chain."]})]})})]})}const Mm="Operator-editable. sections[] drives the Media tab. Add playlistId to auto-index from YouTube RSS. featured[]/curated[] pins items at the front. Add/remove sections here only — no code change needed.",Wm="https://www.youtube.com/@eCashDotCom",$m=[{key:"interviews",label:"eCash podcasts",featured:[{id:"tEBJ5aQwrwE",title:'"THE ASYMMETRIC BET OF THE DECADE" | He Is Buying ECX',description:"eCash official video on why one investor is calling ECX the asymmetric bet of the decade.",date:"2026-09-04",author:"eCash"},{id:"JA-RSWLXEEI",title:"Why He Left Bitcoin to Build on eCash",description:"eCash official video on why a Bitcoin builder chose to move his work to eCash instead.",date:"2026-08-27",author:"eCash"},{id:"tuHb_8lBBio",title:"October 31st. Satoshi's Date. eCash Launches.",description:"eCash official video marking the October 31 mainnet launch date, Bitcoin's anniversary.",date:"2026-08-21",author:"eCash"},{id:"7uCbMENgEkc",title:'"BITCOIN BUILDERS ARE QUITTING" | The ECX Solution',description:"Pete Rizzo talks with Vlad from the Bitcoin Takeover Podcast about why Paul Sztorc may be Bitcoin's answer to Vitalik — and what's driving builders away from BTC.",date:"2026-07-29",author:"eCash"},{id:"eohFlGCjwlY",title:"Paul Sztorc on Bitcoin & Chill: Core Captured BTC, Lightning Failed, and ECX Fights Back",description:"Paul Sztorc joins Wicked's Bitcoin & Chill to make the case that Bitcoin Core captured BTC, Lightning failed, and eCash is the fightback.",date:"2026-07-23",author:"Bitcoin & Chill"},{id:"8K15HWgOvmY",title:'"PSYCHOLOGICAL WARFARE" | Why ECX Will Humble BTC',description:"Pete Rizzo sits down with the anonymous Layer Two Labs Intern meme account to break down why the eCash hardfork is a once-in-a-lifetime event.",date:"2026-07-20",author:"eCash"},{id:"vuWMq7Wk6Yw",title:"HE SURVIVED SILK ROAD: NOW HE’S BETTING AGAINST BTC",description:"The Bitcoin Historian talks with a Silk Road forum veteran who bought BTC for 88 cents — and n
57ow bets on eCash instead.",date:"2026-07-15",author:"eCash"},{id:"wVCK7gSI1cI",title:'"BITCOIN BECAME A RELIGION." This Fork Fixes It',description:"Pete Rizzo and Paul Sztorc dig into the original Satoshi threads most Bitcoiners have never read, and why Satoshi would back the eCash fork.",date:"2026-07-07",author:"eCash"},{id:"5bUgkPwBTMo",title:"THE PERFECT FAILURE | Why BIP 110's Bitcoin Fork Will Be Worthless",description:"eCash official video breaking down why BIP 110's competing Bitcoin fork is fundamentally flawed.",date:"2026-06-30",author:"eCash"},{id:"DcZy7jLk6-o",title:"Every L2 Is LYING to you. (The Problem No One In Crypto Will Admit)",description:"Rizzo and Paul Sztorc unpack Ethereum insider David Hoffman's viral L2 confession, and why it proves the case Paul's made since 2015.",date:"2026-06-24",author:"eCash"},{id:"bDK0_FjM_Es",title:"Strategy Is Winning. Bitcoin Is Dying.",description:"Pete Rizzo and Paul Sztorc dismantle Michael Saylor's viral Bitcoin-risk taxonomy, point by point.",date:"2026-06-15",author:"eCash"},{id:"AoxY5tWhaYk",title:"BITCOIN'S OLDEST INVESTORS ARE SCARED | $5 Million Fundraising Proves It",description:"eCash official video on how the $5M community fundraise signals a major shift — Bitcoin's oldest investors are taking notice.",date:"2026-06-10",author:"eCash"},{id:"3PEzf-DBiv8",title:"THE WORST IS YET TO COME | This Number Proves BTC Is In Danger",description:"Paul Sztorc on the data that shows Bitcoin's security budget crisis is accelerating — and why eCash is the answer.",date:"2026-06-05",author:"eCash"},{id:"KNoqOWWVE8w",title:"THIS WILL IGNITE THE NEXT BULL RUN!!",description:"Pantheon interviews Paul Sztorc on eCash, drivechains, and why the August 21 hardfork could be the catalyst the market is waiting for.",date:"2026-06-03",author:"Pantheon"},{id:"cDVTq5pJOEw",title:"Monero Talk with Paul Sztorc: Bitcoin Stagnation and Drivechain",description:"Monero Talk interviews Paul Sztorc on Bitcoin stagnation, Lightning's limits, Drivechain/BIP 300, and whether Bitcoin can still scale to billions of users.",date:"2026-06-03",author:"Monero Talk"},{id:"camN2NCQnOM",title:"Epicenter Podcast with Paul Sztorc: Truthcoin and Prediction Markets",description:"Epicenter Bitcoin talks Truthcoin, Bitcoin Hivemind, and prediction markets with Paul Sztorc as tools for censorship-resistant information markets.",date:"2026-06-03",author:"Epicenter"},{id:"WX15NTBtjcs",title:"Paul Sztorc with Isabel Foxen Duke: Drivechain, eCash, and Bitcoin's Hard Fork",description:"Isabel Foxen Duke interviews Paul Sztorc on Bitcoin Rails about the eCash hard fork, Drivechain's long history, and BIP 300/301.",date:"2026-06-03",author:"Bitcoin Rails"},{id:"dtYCYvASRM8",title:"Paul Sztorc with Vlad Costea: eCash, Drivechain, and the Bitcoin Hard Fork",description:"Vlad Costea interviews Paul Sztorc on the eCash announcement, launch sidechains, self-custody, and the long-term builder ecosystem.",date:"2026-06-03",author:"Vlad Costea"},{id:"r3H48EcF0XU",title:"Paul Sztorc with Joel Valenzuela: eCash, Drivechain, and Bitcoin's Fork Problem",description:"Joel Valenzuela talks with Paul Sztorc about the eCash launch, the eCash.com name controversy, and why BIP 300 stalled on Bitcoin.",date:"2026-06-03",author:"Joel Valenzuela"},{id:"QTpwaSPAnxk",title:"Paul Sztorc with XXIM: Drivechain, eCash, and Why Lightning Failed",description:"XXIM interviews Paul Sztorc on prediction markets, BIP 300/301, and why Lightning and Bitcoin Cash failed to scale Bitcoin payments.",date:"2026-06-03",author:"XXIM"},{id:"PooArm808R8",title:"Paul Sztorc with Rafael LaVerde: The Bitcoin Fork That Changes Everything",description:"Rafael LaVerde talks with Paul Sztorc about why eCash is launching and how Drivechain offers a serious alternative to the current BTC roadmap.",date:"2026-06-03",author:"Rafael LaVerde"},{id:"B5DzU1CkyAc",title:"The Post-Subsidy World: Paul Sztorc, Nick Hansen, Mike Casey, and Colin Harper at Bitcoin 2026",description:"Colin Harper moderates a Bitc
57oin 2026 panel with Paul Sztorc, Nick Hansen, and Mike Casey on the post-subsidy security budget and merge-mined L2s.",date:"2026-06-03",author:"Bitcoin 2026"},{id:"yTO1d02Q5eY",title:"The Block Size War Cost Bitcoin Everything",description:"Paul Sztorc and The Bitcoin Historian revisit the Bitcoin Cash block size war for lessons on whether any Bitcoin hard fork can succeed.",date:"2026-05-28",author:"eCash"},{id:"6U143dPqUuo",title:"Bitcoin Developer: Hard Forking Bitcoin to Launch eCash",description:"XXIM interviews Paul Sztorc on Lightning & Bitcoin Cash failures, and why eCash is the next step.",date:"2026-05-24",author:"XXIM"},{id:"ZE-nNVEKmAk",title:"Nobody Touches Satoshi's Coins. eCash Just Did.",description:"eCash Official — published May 21, 2026.",date:"2026-05-21",author:"eCash"},{id:"C0nxRCiegXs",title:"A New Bitcoin Fork is Coming — Everything You Need to Know About the eCash Hard Fork",description:"Blockspace breaks down the eCash hardfork: what it is, why it's happening, and what it means for Bitcoin.",date:"2026-05-02",author:"Blockspace"},{id:"QlTENvWsxIQ",title:"The Bitcoin Fork that Changes Everything | Interview with Paul Sztorc",description:"Crypto Vigilante interviews Paul Sztorc on the eCash hardfork, Drivechains, and what it means for Bitcoin.",date:"2026-04-30",author:"eCash"},{id:"-fx_esffAyc",title:"Paul Sztorc — eCash — BTC Fork | Ernest Hancock",description:"Paul Sztorc on the Ernest Hancock Show, discussing the eCash Bitcoin fork and what it means for freedom technology.",date:"2026-04-24",author:"Ernest Hancock"},{id:"1DXWOMsbu-Q",title:"Paul Sztorc Launches Drivechains on the eCash Bitcoin Hard Fork",description:"Paul announces the August 21 hardfork at Drivechain Day. The whole roadmap, the why, and what BTC holders need to do.",date:"2026-04-15",author:"eCash"},{id:"VLYbluQNFBQ",title:"Drivechains Author to Hardfork Bitcoin",description:"First public announcement of the eCash fork. Why now, after a decade of waiting on Bitcoin Core.",date:"2026-04-12",author:"eCash"},{id:"99KHVbwYOrI",title:"A New Bitcoin Fork?! Digital Cash Rundown 225",description:"Paul on Stephan Livera's pod: BIP 300/301 activation, sidechain count, the case against waiting any longer.",date:"2026-04-10",author:"eCash"},{id:"SpsrmWAXPws",title:"Pete Rizzo — Bitcoin OG: Bitcoin Is Dead",description:"Bitcoin Magazine editor on why eCash matters: 'anybody in the developer community will tell you they respect Paul Sztorc.'",date:"2026-04-08",author:"eCash"}]},{key:"xspaces",label:"x spaces",featured:[{id:"6C9Le0_MAGk",title:"eCash ($ECX) Spaces Special Edition July 30: What to Expect When Expecting Forks",description:"MARA Foundation's Isabel Foxen Duke hosts Paul Sztorc, Peter Todd, and a dozen others for a two-hour argument over August's competing Bitcoin forks.",date:"2026-07-30",author:"Isabel Foxen Duke"},{id:"N-kuY9hiPbE",title:"eCash ($ECX) Space July 15 2026: Launch, Sidechain Economics, and Soft Fork Strategy Explained",description:"Paul covers launch strategy, sidechain economics, and quantum-resistant signatures with the community.",date:"2026-07-17",author:"eCash"},{id:"n12zf1os_uo",title:"eCash ($ECX) X Space July 8 2026: Why Are Free Samurai Devs in Jail? BIP110 Chaos, Saylor Blunders",description:"Paul takes aim at Michael Saylor's missteps, BIP110's drama, and Luke Dashjr's blocking of key Bitcoin upgrades.",date:"2026-07-09",author:"eCash"},{id:"sVQ9ukXd0Vg",title:"eCash ($ECX) Spaces w/ Paul Sztorc: Can This Hardfork Actually Survive Launch?",description:"Paul announces the eCash mobile wallet and digs into MicroStrategy's Bitcoin-buying disadvantage and BIP-300 sidechain mechanics.",date:"2026-06-30",author:"eCash"},{id:"PKrFdZ3OJIM",title:"eCash $ECX Spaces: Should Saylor Get 5%? Launch Fight, Soft Fork Drama & MicroStrategy Heat",description:"Paul covers the $100,000 bug hunt and new mobile app, then the Space turns into a long fight over Michael Saylor and MicroStrategy incentives.",date:"2026-06-24",author:"eCash"},{id:"oc_SWO4UvIs",title:"eCash Open Discussion X Space - June 19 2026",description:"Community discussion on Bitcoin sidechains, blind merge mining, the Elements Plus sidechain, and privacy layers.",date:"2026-06-19",author:"eCash"},{id:"1wxWjjqWlXMJQ",title:"eCash X Space",description:"Live X Space broadcast discussion on eCash and the upcoming hardfork.",date:"2026-06-14",author:"eCash",externalUrl:"https://x.com/i/broadcasts/1wxWjjqWlXMJQ"}
57,{id:"IV8rAc-nvWo",title:"eCash Open Discussion X Space - Jun 10 2026",description:"An in-depth session on the Zcash incident, AI's role in code auditing, developer ecosystems, and mining economics.",date:"2026-06-11",author:"eCash"},{id:"c-jRt3qDiBo",title:"eCash Open Discussion X Space - June 3 2026",description:"Community discussion covering BIP300 technical details, mining pool software, sidechain interoperability, and token distribution strategy.",date:"2026-06-03",author:"eCash"},{id:"2kNWSpZOR1Y",title:"eCash Open Discussion X Space - May 27 2026",description:"Paul and guests cover Lightning's limits, the eCash launch, a $100,000 bug bounty, and an open-source mining pool software project.",date:"2026-05-27",author:"eCash"},{id:"pdcvMRr_LR8",title:"eCash Open Discussion X Space - May 20 2026",description:"Paul covers BIP300 governance, BitVM vs. Drivechain, recurring payments and privacy, and mining centralization debates.",date:"2026-05-20",author:"eCash"},{id:"g3MR9rkfeds",title:"eCash Open Discussion X Space - May 13 2026",description:"Paul addresses drivechain misconceptions, RGB critiques, CUSF and Bitcoin Core governance, and mining pool security budget economics.",date:"2026-05-13",author:"eCash"},{id:"v3hEQH7pXDw",title:"eCash Open Discussion X Space - May 6 2026",description:"Paul covers why Bitcoin needs competition, the “Satoshi's coins” controversy, BIP300 as a settlement layer, and the 2014 sidechain history.",date:"2026-05-07",author:"eCash"}]},{key:"explainers",label:"drivechain explainers",playlistId:"PLAHeWDyAh2B7fnjnPNhG8kwjaanStx79S",featured:[{id:"k5i3IP3ZYv8",title:"Drivechains from Scratch",description:"The clearest on-record explanation of how BIP 300 works — the blind merge mining model, sidechain slots, and the withdrawal mechanism."},{id:"xzP83MKxO-I",title:"Paul Sztorc at OP_NEXT 2024: CUSF and Bitcoin Soft Forks",description:"Paul makes the case for CUSF at OP_NEXT 2024 — why Bitcoin soft-fork activation is blocked by politics, and how separate activator software could let Bitcoin move without waiting on Core."}]},{key:"stories",label:"eCash stories",featured:[{id:"hk_XmocY1E0",title:"eCash: Bitcoin Maximalists",description:"Short eCash-produced piece on Bitcoin maximalism ahead of fork day.",date:"2026-07-30",author:"eCash"},{id:"OBBsKtlNGfI",title:"Why is Paul Sztorc stealing Satoshi's coins!?!",description:"Quick-hit teaser responding to Paul Sztorc's viral article on the Satoshi coin question.",date:"2026-07-13",author:"eCash"},{id:"APr7kQi1gLg",title:"eCash: First Blood",description:"Short-form eCash story marking the opening moves of the hardfork fight.",date:"2026-07-06",author:"eCash"},{id:"jlL6ewWf5dE",title:"eCash: Try Again?",description:"A short-form story on eCash's second chance — and why this time is different.",date:"2026-05-29",author:"eCash"},{id:"r9JWZ5CzVvY",title:"eCash — The Story",description:"An artistic explainer on what eCash is and why it matters. Visual storytelling for the hardfork era.",date:"2026-05-01",author:"eCash"}]},{key:"debates",label:"debates",curated:[{id:"hB7o7V7NZ58",title:"Paul Sztorc vs. Peter Todd: The Great Drivechain Debate",description:"Stephan Livera hosts a debate on BIP 300 Drivechain covering sidechain security, miner incentives, and withdrawal risk.",date:"2026-06-03"},{id:"yBlQlsBCSRY",title:"Alex Gladstein vs. Paul Sztorc: Is Bitcoin Failing?",description:"From What Bitcoin Did: Gladstein and Sztorc debate whether Lightning can scale and what role ARK and sidechains play in Bitcoin's future.",date:"2026-06-03"},{id:"EhJoJPf76Pw",title:"The Lightning Debate",description:"A head-to-head on whether Lightning Network or Drivechains is the right path forward for Bitcoin payments and scalability.",date:"2026-03-01"}]}],Fm={_comment:Mm,channelUrl:Wm,sections:$m},Om=`#media-root{--bg:#0A0A0C; --panel:#0d0d10; --ink:#c9c9cf; --dim:#76767e; --dimmer:#4a4a52;
58  --amber:#E8A84A; --amber-soft:rgba(232,168,74,0.14); --amber-dim:rgba(232,168,74,0.5);
59  --line:#272729; --line2:#161619; --r:3px;
60  --fs-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
61  font-family:var(--fs-mono); color:var(--ink); position:relative;}
62#media-root .statusbar{
63    display:flex;justify-content:space-between;align-items:center;
64    padding:7px 22px;border-bottom:1px solid var(--line);
65    font-size:10.5px;letter-spacing:.06em;color:var(--amber-dim);
66    background:var(--panel);
67  }
68#media-root .statusbar__r{display:flex;align-items:center;gap:7px;}
69#media-root .dot{width:6px;height:6px;border-radius:50%;background:var(--amber);
70    box-shadow:0 0 7px var(--amber);animation:pulse 2.4s ease-in-out infinite;}
71  @keyframes pulse{0%,100%{opacity:1;}50%{opacity:.25;}}#media-root .nav{
72    display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
73    padding:16px 22px;border-bottom:1px solid var(--line);
74    position:sticky;top:60px;z-index:30;
75    background:rgba(10,10,12,0.86);backdrop-filter:blur(8px);
76  }
77#media-root .nav__logo{font-size:19px;font-weight:700;letter-spacing:-.01em;color:#f2f2f4;}
78#media-root .nav__caret{color:var(--amber);animation:blink 1.2s steps(1) infinite;}
79  @keyframes blink{0%,49%{opacity:1;}50%,100%{opacity:0;}}#media-root .nav__links{display:flex;gap:26px;justify-content:center;}
80#media-root .nav__links a{
81    font-size:11.5px;letter-spacing:.18em;color:var(--dim);
82    text-decoration:none;cursor:pointer;transition:color .15s;white-space:nowrap;
83  }
84#media-root .nav__links a:hover{color:var(--ink);}
85#media-root .nav__links a.is-active{color:var(--amber);}
86#media-root .shell{display:grid;grid-template-columns:200px 1fr;max-width:1480px;margin:0 auto;}
87#media-root .rail{
88    position:sticky;top:60px;align-self:start;
89    height:calc(100vh - 60px);
90    border-right:1px solid var(--line);
91    padding:30px 0 20px;
92    display:flex;flex-direction:column;gap:30px;
93  }
94#media-root .rail__group{display:flex;flex-direction:column;}
95#media-root .rail__head{
96    font-size:10.5px;letter-spacing:.08em;color:var(--amber);
97    padding:0 22px 10px;
98  }
99#media-root .rail__item{
100    appearance:none;background:none;border:none;text-align:left;
101    color:var(--dim);font-size:13px;padding:6px 22px;
102    border-left:2px solid transparent;transition:all .14s;
103    display:flex;justify-content:space-between;align-items:center;
104  }
105#media-root .rail__item:hover{color:var(--ink);background:var(--line2);}
106#media-root .rail__item.is-active{color:var(--amber);border-left-color:var(--amber);background:var(--amber-soft);}
107#media-root .rail__n{color:var(--dimmer);font-size:11px;}
108#media-root .rail__item.is-active .rail__n{color:var(--amber-dim);}
109#media-root .rail__foot{margin-top:auto;padding:14px 22px 0;border-top:1px solid var(--line2);
110    font-size:10px;color:var(--dimmer);letter-spacing:.04em;}
111#media-root .rail__foot>div:first-child{color:var(--dim);}
112#media-root .rail__footdim{margin-top:3px;}
113#media-root .main{padding:26px 28px 60px;min-width:0;}
114#media-root .toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;
115    flex-wrap:wrap;margin-bottom:24px;}
116#media-root .chips{display:flex;gap:8px;flex-wrap:wrap;}
117#media-root .chip{
118    background:none;border:1px solid var(--line);color:var(--dim);
119    font-size:12px;padding:6px 12px;border-radius:var(--r);
120    transition:all .14s;display:flex;align-items:center;gap:7px;
121  }
122#media-root .chip:hover{border-color:#33333a;color:var(--ink);}
123#media-root .chip__n{color:var(--dimmer);font-size:11px;}
124#media-root .chip--on{border-color:var(--amber);color:var(--amber);background:var(--amber-soft);}
125#media-root .chip--on .chip__n{color:var(--amber-dim);}
126#media-root .search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);
127    border-radius:var(--r);padding:7px 12px;min-width:260px;transition:border-color .15s;}
128#media-root .search:focus-within{border-color:var(--amber-dim);}
129#media-root .search__ico{color:var(--dim);font-size:14px;}
130#media-root .search__in{flex:1;background:none;border:none;outline:none;color:var(--ink);
131    font-family:inherit;font-size:13px;}
132#media-root .search__in::placeholder{color:var(--dimmer);}
133#media-root .search__clr{background:none;border:1px solid var(--line);color:var(--dim);
134    font-size:10px;padding:2px 6px;border-radius:2px;}
135#media-root .search__clr:hover{color:var(--amber);border-color:var(--amber-dim);}
136#media-root .hero{display:grid;grid-template-columns:1.45fr 1fr;gap:26px;align-items:center;
137    border:1px solid var(--line);border-radius:var(--r);padding:18px;margin-bottom:34px;
138    background:linear-gradient(180deg,#0c0c0f,#0a0a0c);}
139#media-root .hero__frame{position:relative;aspect-ratio:16/9;border:1px solid var(--line);
140    border-radius:2px;overflow:hidden;}
141#media-root .hero__scan{position:absolute;inset:0;pointer-events:none;
142    background:repeating-linear-gradient(0deg,rgba(0,0,0,0) 0 2px,rgba(0,0,0,0.18) 2px 3px);}
143#media-root .hero__badge{position:absolute;top:12px;left:12px;font-size:11px;color:var(--amber);
144    background:rgba(10,10,12,.8);border:1px solid var(--amber-dim);padding:3px 8px;border-radius:2px;letter-spacing:.04em;}
145#media-root .hero__dur{position:absolute;bottom:12px;right:12px;font-size:11px;color:#e7e7ea;
146    background:rgba(0,0,0,.75);padding:2px 7px;border-radius:2px;}
147#media-root .hero__playbar{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.08);}
148#media-root .hero__progress{width:34%;height:100%;background:var(--amber);box-shadow:0 0 8px var(--amber);}
149#media-root .hero__cat{font-size:13px;color:var(--amber);margin-bottom:12px;letter-spacing:.04em;}
150#media-root .hero__title{font-size:36px;line-height:1.15;font-weight:700;color:#f2f2f4;margin:0 0 16px;
151    letter-spacing:-.02em;text-wrap:balance;}
152#media-root .hero__chan{font-size:15px;color:var(--dim);}
153#media-root .hero__sep{margin:0 8px;color:var(--dimmer);}
154#media-root .libhead{display:flex;justify-content:space-between;align-items:baseline;
155    padding-bottom:14px;margin-bottom:18px;border-bottom:1px solid var(--line);}
156#media-root .libhead__l{font-size:13px;color:var(--ink);}
157#media-root .libhead__sep{margin:0 9px;color:var(--dimmer);}
158#media-root .libhead__filt{color:var(--amber);}
159#media-root .libhead__yt{font-size:12px;color:var(--dim);text-decoration:none;cursor:pointer;transition:color .15s;}
160#media-root .libhead__yt:hover{color:var(--amber);}
161#media-root .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px 18px;}
162#media-root .card{
163    background:none;border:none;padding:0;text-align:left;display:flex;flex-direction:column;
164    border:1px solid transparent;border-radius:var(--r);transition:transform .16s,border-color .16s;
165  }
166#media-root .card__thumbwrap{position:relative;aspect-ratio:16/9;border:1px solid var(--line);
167    border-radius:2px;overflow:hidden;background:#101013;}
168#media-root .card__cat{position:absolute;
168left:8px;bottom:8px;font-size:10.5px;color:var(--ink);
169    background:rgba(10,10,12,.82);border:1px solid var(--line);padding:2px 6px;border-radius:2px;}
170#media-root .card__dur{position:absolute;right:8px;bottom:8px;font-size:10.5px;color:#e7e7ea;
171    background:rgba(0,0,0,.78);padding:2px 6px;border-radius:2px;}
172#media-root .card__nowtag{position:absolute;left:8px;top:8px;font-size:10px;color:#000;
173    background:var(--amber);padding:2px 7px;border-radius:2px;letter-spacing:.03em;}
174#media-root .card__body{display:flex;gap:11px;padding:12px 4px 4px;}
175#media-root .card__idx{font-size:11px;color:var(--dimmer);padding-top:2px;min-width:18px;}
176#media-root .card__txt{min-width:0;}
177#media-root .card__title{font-size:13.5px;line-height:1.32;font-weight:500;color:#e9e9ec;margin:0 0 6px;
178    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
179#media-root .card__chan{font-size:12px;color:var(--dim);margin-bottom:3px;
180    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
181#media-root .card__stats{font-size:11.5px;color:var(--dimmer);}
182#media-root .card__host{font-size:11px;color:var(--amber-dim);margin-bottom:2px;}
183#media-root .card:hover{transform:translateY(-3px);border-color:var(--amber-dim);}
184#media-root .card:hover .card__thumbwrap{border-color:var(--amber-dim);}
185#media-root .card:hover .card__title{color:#fff;}
186#media-root .card:hover .thumb__play{opacity:1;}
187#media-root .card:hover .thumb__glyph{opacity:.06;}
188#media-root .card--playing{border-color:var(--amber);}
189#media-root .card--playing .card__thumbwrap{border-top:2px solid var(--amber);box-shadow:0 0 0 0 var(--amber);}
190#media-root .card--playing .card__title{color:var(--amber);}
191#media-root .thumb{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;}
192#media-root .thumb__grid{position:absolute;inset:0;
193    background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
194      linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
195    background-size:28px 28px;}
196#media-root .thumb__glyph{font-size:62px;font-weight:700;color:rgba(232,168,74,0.12);transition:opacity .16s;line-height:1;}
197#media-root .thumb--big .thumb__glyph{font-size:120px;}
198#media-root .thumb__meta{position:absolute;top:8px;right:9px;font-size:9.5px;color:rgba(232,168,74,0.45);letter-spacing:.05em;}
199#media-root .thumb__play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .16s;}
200#media-root .thumb__play span{width:46px;height:46px;border:1px solid var(--amber);border-radius:50%;
201    display:flex;align-items:center;justify-content:center;color:var(--amber);font-size:15px;
202    background:rgba(10,10,12,.55);padding-left:3px;}
203#media-root .empty{padding:80px 20px;text-align:center;color:var(--dim);border:1px dashed var(--line);border-radius:var(--r);}
204#media-root .empty__big{font-size:42px;color:var(--dimmer);margin-bottom:14px;}
205#media-root .empty__q{color:var(--amber);}
206#media-root .empty__reset{margin-top:18px;background:none;border:1px solid var(--amber-dim);color:var(--amber);
207    padding:7px 14px;border-radius:var(--r);font-size:12px;}
208#media-root .empty__reset:hover{background:var(--amber-soft);}
209#media-root .endline{margin-top:42px;text-align:center;font-size:11px;color:var(--dimmer);letter-spacing:.05em;}
210#media-root .mchips{display:none;gap:8px;padding:12px 18px;border-bottom:1px solid var(--line);
211    overflow-x:auto;-webkit-overflow-scrolling:touch;}
212#media-root .mchips .chip{flex:0 0 auto;}
213  @media (max-width:880px){#media-root .shell{grid-template-columns:1fr;}
214#media-root .rail{display:none;}
215#media-root .mchips{display:flex;}
216#media-root .nav__links{display:none;}
217#media-root .nav{grid-template-columns:1fr auto;}
218#media-root .hero{grid-template-columns:1fr;}
219#media-root .hero__title{font-size:23px;}
220#media-root .grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px 14px;}
221#media-root .toolbar{flex-direction:column;align-items:stretch;}
222#media-root .search{min-width:0;}
223}
224  @media (max-width:480px){#media-root .grid{grid-template-columns:1fr;}
225}
226#media-root .thumb__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;transition:transform .38s cubic-bezier(.25,.46,.45,.94);}
227#media-root .card:hover .thumb__img{transform:scale(1.04);}
228#media-root .card__thumbwrap .thumb__play{z-index:2;}
229#media-root .card__cat,#media-root .card__dur,#media-root .card__nowtag{z-index:3;}
230#media-root .hero__frame{cursor:pointer;}
231#media-root .hero__frame .thumb__img{z-index:1;}
232#media-root .hero__frame .thumb__play{z-index:2;opacity:.9;}
233#media-root .hero__frame:hover .thumb__play{opacity:1;}
234#media-root .hero__scan,#media-root .hero__badge,#media-root .hero__dur,#media-root .hero__playbar{z-index:3;}
235#media-root .mw{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;background:rgba(6,6,8,.86);backdrop-filter:blur(6px);padding:24px;}
236#media-root .mw__box{width:min(1040px,100%);}
237#media-root .mw__frame{position:relative;width:100%;aspect-ratio:16/9;border:1px solid var(--line);border-top:2px solid var(--amber);border-radius:var(--r);overflow:hidden;background:#000;}
238#media-root .mw__frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}
239#media-root .mw__bar{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-top:14px;}
240#media-root .mw__title{font-size:17px;color:#f2f2f4;line-height:1.35;margin:0 0 5px;font-weight:600;}
241#media-root .mw__meta{font-size:13.5px;color:var(--dim);}
242#media-root .mw__yt{font-size:13.5px;color:var(--dim);text-decoration:none;white-space:nowrap;}
243#media-root .mw__yt:hover{color:var(--amber);}
244#media-root .mw__x{position:absolute;top:-34px;right:0;background:none;border:none;color:var(--dim);font-size:14.5px;letter-spacing:.06em;cursor:pointer;}
245#media-root .mw__x:hover{color:var(--amber);}
246#media-root .secnote{font-size:13px;color:var(--dimmer);padding:8px 2px 14px;}
247#media-root .secnote a{color:var(--amber-dim);text-decoration:none;}
248#media-root .secnote a:hover{color:var(--amber);}
249#media-root{padding-top:60px;padding-bottom:40px;}
250body:has(#media-root) .corner-meta{display:none!important;}
251`;function Hm(e){if(!e)return"";const t=new Date(e).getTime();if(isNaN(t))return"";const n=Math.max(0,(Date.now()-t)/1e3);if(n<3600)return Math.floor(n/60)+"m ago";if(n<86400)return Math.floor(n/3600)+"h ago";const i=Math.floor(n/86400);return i<14?i+"d ago":i<60?Math.floor(i/7)+"w ago":i<365?Math.floor(i/30)+"mo ago":Math.floor(i/365)+"y ago"}
251const Xm={xspaces:"X",debates:"∆",explainers:"§",interviews:"▸",stories:"★"};function Xs({video:e,big:t}){const[n,i]=C.useState(!0),o=(e.id||"").split("").reduce((f,b)=>f+b.charCodeAt(0),0),a=90+o%5*18,s=.04+o%4*.012,c=14+o%4*4,l=Xm[e.cat]||"▸",u=951556-o%900,x={backgroundColor:"#101013",backgroundImage:["repeating-linear-gradient("+a+"deg, rgba(232,168,74,"+s+") 0px, rgba(232,168,74,"+s+") 1px, transparent 1px, transparent "+c+"px)","radial-gradient(120% 140% at "+(10+o%60)+"% -20%, rgba(232,168,74,0.10), transparent 55%)","radial-gradient(80% 90% at 110% 120%, rgba(232,168,74,0.05), transparent 50%)"].join(", ")},g=e.thumbnail||"https://img.youtube.com/vi/"+e.id+"/hqdefault.jpg";return r.jsxs("div",{className:"thumb"+(t?" thumb--big":""),style:x,children:[!t&&r.jsx("div",{className:"thumb__grid"}),r.jsx("div",{className:"thumb__glyph",children:l}),r.jsxs("div",{className:"thumb__meta",children:["blk ",u.toLocaleString()]}),n&&e.id&&e.cat!=="xspaces"&&r.jsx("img",{className:"thumb__img",src:g,alt:e.title,loading:"lazy",onError:()=>i(!1)}),r.jsx("div",{className:"thumb__play",children:r.jsx("span",{children:"▶"})})]})}function Um({video:e,index:t,playing:n,onPlay:i,hostMap:o}){const a=o&&o[e.id],s=e.cat==="xspaces"&&e._ts?new Date(e._ts).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):"";return r.jsxs("a",{className:"card"+(n?" card--playing":""),href:e.externalUrl||`https://www.youtube.com/watch?v=${e.id}`,onClick:c=>ro(c,()=>i(e.id)),style:{textDecoration:"none"},children:[r.jsxs("div",{className:"card__thumbwrap",children:[r.jsx(Xs,{video:e}),e.catLabel&&r.jsx("span",{className:"card__cat",children:e.catLabel}),e.duration&&r.jsx("span",{className:"card__dur",children:e.duration}),n&&r.jsxs("span",{className:"card__nowtag",children:["▸"," playing"]})]}),r.jsxs("div",{className:"card__body",children:[r.jsx("div",{className:"card__idx",children:String(t+1).padStart(2,"0")}),r.jsxs("div",{className:"card__txt",children:[r.jsx("h3",{className:"card__title",children:e.title}),a&&r.jsxs("div",{className:"card__host",children:["hosted by ",a]}),r.jsx("div",{className:"card__chan",children:e.channel}),r.jsx("div",{className:"card__stats",children:s||[e.views&&e.views+" views",e.age].filter(Boolean).join(" · ")})]})]})]})}function Vm({video:e,onPlay:t}){return e?r.jsxs("section",{className:"hero",children:[r.jsxs("a",{className:"hero__frame",style:{display:"block"},href:e.externalUrl||`https://www.youtube.com/watch?v=${e.id}`,onClick:n=>ro(n,()=>t(e.id)),children:[r.jsx(Xs,{video:e,big:!0}),r.jsxs("span",{className:"hero__badge",children:["▸"," now playing"]}),e.duration&&r.jsx("span",{className:"hero__dur",children:e.duration}),r.jsx("div",{className:"hero__playbar",children:r.jsx("div",{className:"hero__progress"})})]}),r.jsxs("div",{className:"hero__info",children:[e.catLabel&&r.jsx("div",{className:"hero__cat",children:e.catLabel}),r.jsx("h2",{className:"hero__title",children:e.title}),r.jsxs("div",{className:"hero__chan",children:[e.channel,e.views&&r.jsx("span",{className:"hero__sep",children:"·"}),e.views&&e.views+" views",e.age&&r.jsx("span",{className:"hero__sep",children:"·"}),e.age]})]})]}):null}function qm({video:e,onClose:t}){if(C.useEffect(()=>{const i=o=>{o.key==="Escape"&&t()};return window.addEventListener("keydown",i),()=>window.removeEventListener("keydown",i)},[t]),!e)return null;const n="https://www.youtube.com/embed/"+e.id+"?autoplay=1&rel=0&modestbranding=1&color=white";return r.jsx("div",{className:"mw",onClick:t,children:r.jsxs("div",{className:"mw__box",onClick:i=>i.stopPropagation(),children:[r.jsxs("div",{className:"mw__frame",children:[r.jsx("button",{className:"mw__x",onClick:t,type:"button",children:"esc ✕ close"}),r.jsx("iframe",{src:n,title:e.title,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})]}),r.jsxs("div",{className:"mw__bar",children:[r.jsxs("div",{children:[r.jsx("h3",{className:"mw__title",children:e.title}),r.jsx("div",{className:"mw__meta",children:[e.channel,e.views&&e.views+" views",e.age].filter(
251Boolean).join(" · ")})]}),r.jsxs("a",{className:"mw__yt",href:"https://www.youtube.com/watch?v="+e.id,target:"_blank",rel:"noopener noreferrer",children:["watch on youtube ","→"]})]})]})})}function Km(e){if(e&&Array.isArray(e.sections))return e.sections;const t=[],n=(i,o,a)=>{a&&(Array.isArray(a)?t.push({key:i,label:o,curated:a}):t.push({key:i,label:o,playlistId:a.playlistId,curated:a.featured||[]}))};return n("interviews","podcasts",e.news),n("explainers","drivechain explainers",e.explainers),n("debates","debates",e.debates),t}const mc={interviews:"Paul Sztorc and the eCash team on podcasts and interviews. The case for drivechains and the hardfork.",xspaces:"Live discussions on X, recorded for replay. Fork mechanics, BIP 300/301, roadmap.",explainers:"How BIP 300 works: blind merge mining, sidechain slots, withdrawals. Start here.",stories:"Short-form videos on eCash: what it is, where it came from, why the hardfork matters.",debates:"Head-to-head: Lightning vs. Drivechains, and whether sidechains are the right path."};function Ym({accent:e}){const[t,n]=C.useState(Fm),[i,o]=C.useState({}),[a,s]=C.useState("all"),[c,l]=C.useState(""),[u,x]=C.useState("library"),[g,f]=C.useState(null),[b,v]=C.useState(null),[y,k]=C.useState({}),m=C.useRef(new Set);C.useEffect(()=>{fetch("/videos.json").then(z=>z.json()).then(n).catch(()=>{})},[]);const p=C.useMemo(()=>t?Km(t):[],[t]);C.useEffect(()=>{p.forEach(z=>{!z.playlistId||z.playlistId in i||(o(W=>({...W,[z.playlistId]:null})),fetch(Ha+"/api/playlist/"+z.playlistId).then(W=>W.json()).then(W=>o(q=>({...q,[z.playlistId]:W.data||[]}))).catch(()=>o(W=>({...W,[z.playlistId]:[]}))))})},[p]);const{videos:d,counts:h,failedSections:w}=C.useMemo(()=>{const z=new Set,W=[],q=[];p.forEach(L=>{const R=L.curated||L.featured||[];let K=[];if(L.playlistId){const M=i[L.playlistId];Array.isArray(M)&&(K=M)}L.playlistId&&Array.isArray(i[L.playlistId])&&i[L.playlistId].length===0&&R.length===0&&q.push(L),[...R,...K].forEach(M=>{!M||!M.id||z.has(M.id)||(z.add(M.id),W.push({id:M.id,title:M.title,channel:M.channel||M.author||"eCash",thumbnail:M.thumbnail,duration:M.duration||"",views:M.views||"",age:M.age||Hm(M.published||M.date),_ts:M.published||M.date||"",cat:L.key,catLabel:L.label,externalUrl:M.externalUrl||""}))})}),W.sort((L,R)=>L._ts<R._ts?1:L._ts>R._ts?-1:0);const N={all:W.length};return W.forEach(L=>{N[L.cat]=(N[L.cat]||0)+1}),{videos:W,counts:N,failedSections:q}},[p,i]);C.useEffect(()=>{!b&&d.length&&v(d[0].id)},[d,b]),C.useEffect(()=>{d.filter(z=>z.cat==="interviews"&&z.id&&!m.current.has(z.id)).forEach(z=>{m.current.add(z.id),fetch("https://www.youtube.com/oembed?url=https://www.youtube.com/watch?v="+z.id+"&format=json").then(W=>W.json()).then(W=>{W.author_name&&k(q=>({...q,[z.id]:W.author_name}))}).catch(()=>{})})},[d]);const j=[{key:"all",label:"all"},...p.map(z=>({key:z.key,label:z.label}))],_=c.trim().toLowerCase(),T=d.filter(z=>{const W=a==="all"||z.cat===a,q=!_||((z.title||"")+" "+(z.channel||"")).toLowerCase().includes(_);return W&&q}),A=d.find(z=>z.cat==="interviews"),S=a==="all"?A||d[0]:d.find(z=>z.id===b)||d[0],P=d.find(z=>z.id===g),D=t&&t.channelUrl||"https://www.youtube.com/@eCashDotCom",O=!t||p.some(z=>z.playlistId&&i[z.playlistId]===null)&&d.length===0,ie=z=>{window.plausible&&window.plausible("Video clicked",{props:{id:z}});const W=d.find(q=>q.id===z);if(W&&W.externalUrl){window.open(W.externalUrl,"_blank","noopener,noreferrer");return}v(z),f(z)};return r.jsxs("div",{id:"media-root",children:[r.jsx("h1",{style:{fontSize:22,fontWeight:400,margin:"0 auto 24px",padding:"0 24px",maxWidth:1400},children:"eCash (ECX) videos & interviews"}),r.jsx("style",{dangerouslySetInnerHTML:{__html:Om}}),r.jsx("div",{className:"mchips",children:j.map(z=>r.jsxs("button",{className:"chip"+(a===z.key?" chip--on":""),onClick:()=>s(z.key),type:"button",children:[z.label," ","·"," ",h[z.key]||0]},z.key))}),r.jsxs("div",{className:"shell",children:[r.jsxs("aside",{className:"rail",children:[r.jsxs("div",{className:"rail__group",children:[r.jsxs("div",{className:"rail__head",children:["§"," views"]}),r.jsx("button",{className:"rail__item"+(u==="library"?" is-active":""),onClick:()=>x("library"),type:"button",children:"library"}),r.jsx("button",{className:"rail__item"+(u==="playlists"?" is-active":""),onClick:()=>x("playlists"),type:"button",children:"playlists"})]}),r.jsxs("div",{className:"rail__group",children:[r.jsxs("div",{className:"rail__head",children:["§"," sections"]}),p.map(z=>r.jsxs("button",{className:"rail__item"+(a===z.key?" is-active":""),onClick:()=>s(a===z.key?"all":z.key),type:"button",children:[z.label,r.jsx("span",{className:"rail__n",children:h[z.key]||0})]},z.key))]}),r.jsxs("div",{className:"rail__foot",children:[r.jsx("div",{children:"idx synced"}),r.jsxs("div",{className:"rail__footdim",children:[d.length," records ","·"," rev E8504"]})]})]}),r.jsxs("main",{className:"main",children:[r.jsxs("div",{className:"toolbar",children:[r.jsx("div",{className:"chips",children:j.map(z=>r.jsxs("button",{className:"chip"+(a===z.key?" chip--on":""),onClick:()=>s(z.key),type:"button",children:[z.label,r.jsx("span",{className:"chip__n",children:h[z.key]||0})]},z.key))}),r.jsxs("div",{className:"search",children:[r.jsx("span",{className:"search__ico",children:"⌕"}),r.jsx("input",{className:"search__in",placeholder:"search videos…",value:c,onChange:z=>l(z.target.value)}),c&&r.jsx("button",{className:"search__clr",onClick:()=>l(""),type:"button",children:"esc"})]})]}),u==="playlists"?r.jsx("div",{className:"grid",children:p.map(z=>{const W=d.find(q=>q.cat===z.key);return r.jsxs("button",{className:"card",onClick:()=>s(z.key),type:"button",children:[r.jsxs("div",{className:"card__thumbwrap",children:[W?r.jsx(Xs,{video:W}):r.jsx("div",{className:"thumb",style:{backgroundColor:"#101013"},children:r.jsx("div",{className:"thumb__glyph",children:"§"})}),r.jsxs("span",{className:"card__cat",children:[h[z.key]||0," videos"]})]}),r.jsxs("div",{className:"card__body",children:[r.jsx("div",{className:"card__idx",children:"▸"}),r.jsxs("div",{className:"card__txt",children:[r.jsx("h3",{className:"card__title",children:z.label}),r.jsxs("div",{className:"card__chan",children:["open section ","→"]})]})]})]},z.key)})}):r.jsxs(r.Fragment,{children:[!c&&a==="all"&&S&&r.jsx(Vm,{video:S,onPlay:ie}),r.jsxs("div",{className:"libhead",children:[r.jsxs("span",{className:"libhead__l",children:["§"," library",r.jsx("span",{className:"libhead__sep",children:"·"}),T.length," ",T.length===1?"video":"videos",a!=="all"&&r.jsxs("span",{className:"libhead__filt",children:[" / ",a]})]}),r.jsxs("a",{className:"libhead__yt",href:D,target:"_blank",rel:"noopener noreferrer",children:["open channel on youtube ","→"]})]}),a!=="all"&&mc[a]&&r.jsx("div",{className:"secnote",children:mc[a]}),w.length>0&&r.jsxs("div",{className:"secnote",children:["couldn't load latest for: ",w.map(z=>z.label).join(", ")," "," "," ",r.jsxs("a",{href:D,target:"_blank",rel:"noopener noreferrer",children:["open on youtube ","→"]})]}),T.length>0?r.jsx("div",{className:"grid",children:T.map((z,W)=>r.jsx(Um,{video:z,index:W,playing:z.id===b,onPlay:ie,hostMap:y},z.id))}):O?r.jsx("div",{className:"grid",children:[0,1,2,3,4,5].map(z=>r.jsxs("div",{className:"card",children:[r.jsx("div",{className:"card__thumbwrap"}),r.jsx("div",{className:"card__body",children:r.jsx("div",{className:"card__txt",children:r.jsx("h3",{className:"card__title",children:"loading…"})})})]},z))}):r.jsxs("div",{className:"empty",children:[r.jsx("div",{className:"empty__big",children:"∅"}),r.jsxs("div",{children:["no records match ",r.jsxs("span",{className:"empty__q",children:['"',c,'"']})]}),r.jsx("button",{className:"empty__reset",onClick:()=>{l(""),s("all")},type:"button",children:"reset filters"})]}),r.jsxs("footer",{className:"endline",children:[" "," end of index ","·"," ",T.length," of ",d.length," records "," "]})]})]})]}),P&&r.jsx(qm,{video:P,onClose:()=>f(null)})]})}const Qm=()=>r.jsx("svg",{width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{d:"M6.18 11.7a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5zm11.64 0a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5zM14.84 3.06l1.1-1.9a.25.25 0 0 0-.43-.26l-1.12 1.94A7.44 7.44 0 0 0 12 2.5c-.85 0-1.67.13-2.43.36L8.45.88a.25.25 0 0 0-.43.26l1.1 1.9A7.5 7.5 0 0 0 4.5 9.5h15a7.5 7.5 0 0 0-4.66-6.44zM4.5 11v6a1.5 1.5 0 0 0 1.5 1.5h.5V21a1.5 1.5 0 0 0 3 0v-2.5h5V21a1.5 1.5 0 0 0 3 0v-2.5H18a1.5 1.5 0 0 0 1.5-1.5v-6h-15z",fill:"#3DDC84"})}),Gm=()=>r.jsx("svg",{width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{d:"M18.71 19.5c-.83 1.24
251-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.8-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83zM13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z",fill:"var(--text-1)"})}),Zm=({color:e})=>r.jsx("svg",{width:"13",height:"16",viewBox:"0 0 14 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{d:"M13.332 12.547c-.26.59-.568 1.134-.926 1.636-.487.685-.885 1.159-1.19 1.42-.476.43-.986.65-1.534.663-.392 0-.865-.11-1.415-.333-.552-.222-1.059-.333-1.523-.333-.486 0-1.007.111-1.564.333-.558.222-1.007.338-1.35.35-.527.023-1.049-.204-1.567-.682-.33-.283-.746-.774-1.247-1.474C.537 13.4.14 12.626 0 11.76c-.154-.913-.154-1.797.002-2.65.23-1.252.723-2.27 1.482-3.052.774-.8 1.71-1.207 2.81-1.22.391 0 .905.12 1.544.354.638.235 1.047.354 1.226.354.134 0 .59-.139 1.36-.416.729-.257 1.343-.363 1.847-.32 1.365.108 2.39.637 3.07 1.59-1.22.73-1.825 1.754-1.812 3.068.012 1.023.385 1.873 1.117 2.547.332.31.703.55 1.113.72a8.85 8.85 0 0 1-.427 1.011zM10.104.9c0 .803-.296 1.552-.886 2.244-.712.82-1.572 1.294-2.505 1.22a2.47 2.47 0 0 1-.02-.306c0-.77.34-1.596.944-2.269.301-.34.685-.624 1.15-.85.464-.224.903-.348 1.316-.37.013.11.02.222.02.332z",fill:e})}),Jm=({color:e})=>r.jsx("svg",{width:"13",height:"13",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{d:"M0 1.888L5.714.973V6.59H0V1.888zM6.364.868L14 0v6.59H6.364V.868zM0 7.41h5.714V13.03L0 12.114V7.41zM6.364 7.41H14V14l-7.636-.875V7.41z",fill:e})});function ex({accent:e}){const[t,n]=C.useState(null);C.useEffect(()=>{const g=f=>{f.key==="Escape"&&n(null)};return window.addEventListener("keydown",g),()=>window.removeEventListener("keydown",g)},[]);const i={fontSize:10,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:10},o={fontSize:"clamp(13px,2.5vw,15px)",color:"var(--text-1)",lineHeight:1.7,fontFamily:"inherit",margin:"0 0 20px",maxWidth:600},a={borderBottom:"1px solid var(--border-0)",margin:"clamp(32px,6vh,48px) 0"},s={background:"#0e0e1f",border:"1px dashed #2a2a6a",borderRadius:4,padding:"9px 13px",fontSize:10,color:"#6868b8",letterSpacing:"0.05em",margin:"10px 0",lineHeight:1.6,fontFamily:"inherit"};function c({label:g,id:f,href:b,plausibleOs:v,icon:y,platform:k}){const[m,p]=C.useState(!1),d=m?e:"var(--text-2)",h=v?`plausible-event-name=download plausible-event-os=${v}`:void 0;return r.jsxs("a",{href:b,target:"_blank",rel:"noopener noreferrer",className:h,onClick:()=>Sn("bitwindow_download_click",{platform:k,download_url:b,download_method:"installer"}),onAuxClick:w=>{w.button===1&&Sn("bitwindow_download_click",{platform:k,download_url:b,download_method:"installer"})},onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),style:{display:"inline-flex",alignItems:"center",gap:9,border:`1px solid ${m?e:"var(--text-4)"}`,color:d,padding:"10px 20px",fontFamily:"inherit",fontSize:11,letterSpacing:"0.12em",textTransform:"uppercase",textDecoration:"none",borderRadius:3,transition:"border-color .15s, color .15s"},children:[y==="apple"&&r.jsx(Zm,{color:d}),y==="windows"&&r.jsx(Jm,{color:d}),g]})}function l({text:g}){const[f,b]=C.useState(!1);async function v(){try{await navigator.clipboard.writeText(g),Sn("bitwindow_install_command_copy",{platform:"linux"}),b(!0),setTimeout(()=>b(!1),1500)}catch{}}return r.jsx("button",{onClick:v,style:{background:"none",border:"none",cursor:"pointer",padding:"2px 6px",color:f?e:"var(--text-3)",fontFamily:"inherit",fontSize:11,letterSpacing:"0.08em",transition:"color .15s",flexShrink:0},children:f?"✓ copied":"copy"})}const u=[{src:"/screenshots/bw-overview.png",title:"Overview",desc:"Live Bitcoin price, wallet transactions, block explorer and coin news on one screen."},{src:"/screenshots/bw-sidechains.png",title:"Sidechains",desc:"Deposit to thunder, BitNames, bitassets and zSide, all from the same interface."},{src:"/screenshots/bw-wallet.png",title:"Wallet creation",desc:"BIP39 with custom entropy. Paranoid mode shows word 
251indices as you type."},{src:"/screenshots/bw-settings.png",title:"Auto-updates",desc:"BitWindow checks for updates on launch and installs in one click, no manual re-download."}];function x({href:g,icon:f,platform:b,status:v,btnLabel:y,available:k}){const[m,p]=C.useState(!1),d=k&&m,h=k?"a":"div",w=k?{href:g,target:"_blank",rel:"noopener noreferrer"}:{};return r.jsxs(h,{...w,onMouseEnter:()=>k&&p(!0),onMouseLeave:()=>p(!1),style:{flex:"1 1 240px",minWidth:240,display:"flex",flexDirection:"column",alignItems:"flex-start",gap:14,border:`1px solid ${d?e:k?"var(--border-2)":"var(--border-0)"}`,borderRadius:4,padding:"24px 20px",textDecoration:"none",opacity:k?1:.5,transition:"border-color .15s",cursor:k?"pointer":"default"},children:[f,r.jsxs("div",{children:[r.jsx("div",{style:{fontSize:13,fontWeight:500,color:"var(--text-0)",letterSpacing:"0.04em",marginBottom:4},children:b}),r.jsx("div",{style:{fontSize:11,color:"var(--text-2)",letterSpacing:"0.08em"},children:v})]}),r.jsx("div",{style:{marginTop:"auto",border:`1px solid ${d?e:"var(--text-4)"}`,color:d?e:k?"var(--text-1)":"var(--text-3)",padding:"6px 14px",fontSize:11,letterSpacing:"0.12em",textTransform:"uppercase",borderRadius:3,transition:"border-color .15s, color .15s"},children:y})]})}return r.jsxs("main",{style:{position:"relative",maxWidth:720,margin:"0 auto",padding:"clamp(120px,18vh,160px) clamp(20px,5vw,32px) clamp(80px,12vh,120px)"},children:[r.jsx("div",{style:i,children:"§ ecash wallet"}),r.jsx("h1",{style:{fontSize:"clamp(28px,6vw,48px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.02em",lineHeight:1.1,margin:"0 0 8px",fontFamily:"inherit"},children:"eCash (ECX) wallets"}),r.jsx("p",{style:o,children:"A native mobile wallet for eCash, send, receive, and manage your balance from your phone."}),r.jsxs("div",{style:{display:"flex",gap:16,flexWrap:"wrap",marginBottom:0},children:[r.jsx(x,{href:"https://testflight.apple.com/join/PxZjPxrK",icon:r.jsx(Gm,{}),platform:"iOS",status:"Available now",btnLabel:"Join TestFlight →",available:!0}),r.jsx(x,{href:"https://github.com/ecash-com/ecash-wallet-mobile/releases/latest",icon:r.jsx(Qm,{}),platform:"Android",status:"Available now",btnLabel:"Download APK →",available:!0})]}),r.jsx("div",{style:a}),r.jsx("div",{style:i,children:"§ bitwindow"}),r.jsx("h2",{style:{fontSize:"clamp(28px,6vw,48px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.02em",lineHeight:1.1,margin:"0 0 8px",fontFamily:"inherit"},children:"Download BitWindow"}),r.jsx("p",{style:o,children:"An alternative Bitcoin Core frontend with native drivechain support, wallet, sidechains, and blind merge mining in one app. Check the release notes and selected network before use; test-network software is not confirmation of mainnet readiness."}),r.jsxs("p",{style:o,children:["Bitcoin-compatible key formats do not establish support in every wallet. Review ",r.jsx("a",{href:"/coin-splitting/",style:{color:e},children:"coin splitting and replay protection"})," before using pre-fork keys. Never share a seed phrase with a website. Node binaries and network-specific release information are available at ",r.jsx("a",{href:"https://releases.ecash.com/",style:{color:e},children:"releases.ecash.com"})," and the ",r.jsx("a",{href:"https://github.com/eCash-com/fast-facts/blob/main/02-wallets-keys-addresses.md",style:{color:e},children:"official wallet integration guide"}),"."]}),r.jsxs("div",{style:{display:"flex",gap:10,flexWrap:"wrap",marginBottom:20},children:[r.jsx(c,{label:"macOS .dmg",id:"bw-mac",icon:"apple",href:Ri.macos,plausibleOs:"mac",platform:"macos"}),r.jsx(c,{label:"Windows .exe",id:"bw-win",icon:"windows",href:Ri.windows,plausibleOs:"win",platform:"windows"})]}),r.jsxs("div",{style:s,children:[r.jsx("strong",{style:{color:e},children:"Linux:"})," one-line installer, copy and run in Terminal."]}),r.jsxs("div",{style:{marginBottom:6},children:[r.jsx("div",{style:{fontSize:11,letterSpacing:"0.12em",color:"var(--text-2)",textTransform:"uppercase",marginBottom:8},children:"Linux"}),r.jsxs("div",{style:{background:"var(--bg-0)",border:"1px solid var(--border-0)",borderRadius:3,padding:"12px 14px",display:"flex",alignItems:"center",gap:10,fontSize:12,fontFamily:"monospace",color:"var(--text-1)",overflowX:"auto",scrollbarWidth:"none"},children:[r.jsx("code",{style:{flex:1,whiteSpace:"nowrap"},children:"curl -sSL https://raw.githubusercontent.com/LayerTwo-Labs/drivechain-frontends/refs/heads/master/install/install-bitwindow.sh | bash"}),r.jsx(l,{text:"curl -sSL https://raw.githubusercontent.com/LayerTwo-Labs/drivechain-frontends/refs/heads/master/install/install-bitwindow.sh | bash"})]})]}),r.jsxs("div",{style:s,children:["Latest binaries at"," ",r.jsx("a",{href:"https://releases.drivechain.info",target:"_blank",rel:"noopener noreferrer",style:{color:"#8888cc",textDecoration:"none",borderBottom:"1px dotted #4444aa"},children:"releases.drivechain.info"})]}),r.jsx("div",{style:a}),r.jsx("div",{style:i,children:"§ what you'll see"}),r.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:2},children:u.map(({src:g,title:f,desc:b})=>r.jsxs("div",{style:{background:"var(--bg-1)",border:"1px solid var(--border-0)",borderRadius:4,overflow:"hidden"},children:[r.jsx("div",{style:{width:"100%",aspectRatio:"16/10",overflow:"hidden",borderBottom:"1px solid var(--border-0)",cursor:"zoom-in"},onClick:()=>n(g),children:r.jsx("img",{src:g,alt:f,style:{width:"100%",height:"100%",objectFit:"cover",objectPosition:"top left",display:"block",transition:"opacity .15s"},onMouseEnter:v=>{v.currentTarget.style.opacity="0.85"},onMouseLeave:v=>{v.currentTarget.style.opacity="1"}})}),r.jsxs("div",{style:{padding:"12px 14px"},children:[r.jsx("div",{style:{fontSize:11,color:"var(--text-05)",letterSpacing:"0.06em",marginBottom:4},children:f}
251),r.jsx("div",{style:{fontSize:10,color:"var(--text-3)",lineHeight:1.55},children:b})]})]},g))}),t&&r.jsxs("div",{onClick:()=>n(null),style:{position:"fixed",inset:0,zIndex:1e3,background:"rgba(0,0,0,0.88)",backdropFilter:"blur(6px)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"zoom-out"},children:[r.jsx("button",{onClick:()=>n(null),style:{position:"fixed",top:20,right:24,background:"none",border:"none",color:"var(--text-3)",fontSize:22,cursor:"pointer",fontFamily:"inherit",lineHeight:1,padding:"4px 8px"},children:"✕"}),r.jsx("img",{src:t,alt:"",onClick:g=>g.stopPropagation(),style:{maxWidth:"92vw",maxHeight:"88vh",borderRadius:4,border:"1px solid var(--border-0)",boxShadow:"0 32px 80px rgba(0,0,0,0.8)",objectFit:"contain"}})]})]})}const xc=[{id:"ecash-static-xximpod-1",type:"Tweet",person:"xximpod",handle:"@xximpod",snippet:`🚨 Episode w @Truthcoin, "Bitcoin Lightning & Bitcoin Cash Failed Mission, Now Hard Forking Bitcoin to Launch ECash"
252
253@Sehgal_ankit sits down with @Truthcoin, Bitcoin researcher and CEO of @LayerTwoLabs, to discuss his decade-long push for Bitcoin scaling through Drivechain (BIP 300 & 301) and why he's now launching eCash: a Bitcoin hard fork scheduled for August that activates the sidechain vision Bitcoin Core refused to enable.`,link:"https://x.com/xximpod/status/2058537729714164107",date:"2026-05-24"},{id:"ecash-static-coinbureau-1",type:"Video",person:"Coin Bureau",snippet:"Satoshi's Stash Gets Grabbed in eCash Bitcoin Fork",link:"https://www.youtube.com/watch?v=itJpwsK3WVg",date:"2026-05-02"},{id:"ecash-static-alphastack-1",type:"Video",person:"Alphastack",snippet:"Bitcoin Fork EXPLAINED: 7 New Chains Coming in August?",link:"https://www.youtube.com/watch?v=buhJpD5ddoE",date:"2026-05-03"},{id:"ecash-static-truthcoin-1",type:"Tweet",person:"Paul Sztorc",handle:"@Truthcoin",role:"Creator of BIP 300/301, Lead Developer of eCash",snippet:`BREAKING: New Bitcoin Fork
254
255I am helping create a new Bitcoin Hardfork, dropping this August, called "eCash".
256
257Your coins will split. If you have 4.19 BTC, you will get 4.19 eCash. You may sell your $ECX, or keep it. Or ignore it!`,link:"https://x.com/Truthcoin/status/2047639261453680838",date:"2026-04-24"},{id:"ecash-static-layertwolabs-1",type:"Tweet",person:"Layer Two Labs",handle:"@LayerTwoLabs",role:"Company behind BIP 300/301 development",snippet:"WATCH: @reardencode admits @Truthcoin has a point about L2 fees on a podcast with @jimmysong and @ToneVays",link:"https://x.com/LayerTwoLabs/status/2015509852647235624",date:"2026-01-25"},{id:"ecash-static-yahoofinance-video-1",type:"Video",person:"Yahoo Finance",snippet:"The eCash Hard Fork on Bitcoin Could Be 'Bizarre' For Miners: Here's How",link:"https://finance.yahoo.com/video/ecash-hard-fork-bitcoin-could-211801875.html",date:"2026-05-01"},{id:"ecash-static-reddit-1",type:"Article",person:"r/CryptoTechnology",snippet:"Technical Analysis of the eCash Hard Fork",link:"https://www.reddit.com/r/CryptoTechnology/comments/1sxsnic/technical_analysis_of_the_ecash_hard_fork/",date:"2026-05-01"},{id:"ecash-static-bitcoincom-1",type:"Article",person:"Bitcoin.com",snippet:"Bitcoin's August Hard Fork May Dwarf Every Previous Split Combined. Here's Why",link:"https://news.bitcoin.com/bitcoins-august-hard-fork-may-dwarf-every-previous-split-combined-heres-why/",date:"2026-04-29"},{id:"ecash-static-cryptotimes-1",type:"Article",person:"CryptoTimes",snippet:"Paul Sztorc Pushes Back on eCash 'Theft' Claims: 'We Don't Take a Single BTC'",link:"https://www.cryptotimes.io/2026/04/28/paul-sztorc-pushes-back-on-ecash-theft-claims-we-dont-take-a-single-btc/",date:"2026-04-28"},{id:"ecash-static-yahoofinance-1",type:"Article",person:"Yahoo Finance",snippet:"Bitcoin Developer Plans to 'Reassign' Coins Linked to Satoshi Nakamoto in Hard Fork",link:"https://finance.yahoo.com/markets/crypto/articles/bitcoin-developer-plans-reassign-coins-201529807.html",date:"2026-04-27"},{id:"ecash-static-bitcoinmanual-1",type:"Article",person:"The Bitcoin Manual",snippet:"What Is The eCash Fork?",link:"https://thebitcoinmanual.com/articles/ecash-fork/",date:"2026-04-27"},{id:"ecash-static-bitcoinnewscom-1",type:"Tweet",person:"Bitcoin News",handle:"@BitcoinNewsCom",snippet:`NEW BITCOIN FORK PROPOSED SET FOR AUGUST LAUNCH
258
259A new Bitcoin hard fork dubbed "eCash" is being developed by Paul Sztorc. Holders would receive a 1:1 split of their BTC, 4.19 BTC would result in 4.19 eCash. One of the most contentious elements is the proposed reassignment of a portion of Satoshi's estimated 1.1M BTC as a premine for investors on the new chain.`,link:"https://x.com/BitcoinNewsCom/status/2048020029350858845",date:"2026-04-25"},{id:"ecash-static-binance-1",type:"Article",person:"Binance Square",snippet:"eCash hard fork coverage. Binance Square",link:"https://www.binance.com/en/square/post/317501666142529",date:"2026-04-25"},{id:"ecash-static-cryptorank-1",type:"Article",person:"CryptoRank",snippet:"Top Bitcoin Dev Is Launching a New BTC Fork That Will Give Holders New eC
259ash",link:"https://cryptorank.io/news/feed/2323a-top-bitcoin-dev-is-launching-a-new-btc-fork-that-will-give-holders-new-ecash-but-claiming",date:"2026-04-25"},{id:"ecash-static-mexc-1",type:"Article",person:"MEXC",snippet:"eCash hard fork coverage. MEXC News",link:"https://www.mexc.com/news/1053036",date:"2026-04-25"},{id:"ecash-static-tradingview-1",type:"Article",person:"CoinTelegraph",source:"CoinTelegraph",snippet:"Bitcoin developer Paul Sztorc announces BTC hard fork called eCash",link:"https://www.tradingview.com/news/cointelegraph:ecd9e1072094b:0-bitcoin-developer-paul-sztorc-announces-btc-hard-fork-called-ecash/",date:"2026-04-24"},{id:"ecash-static-cryptoeconomy-1",type:"Article",person:"Crypto Economy",snippet:"Bitcoin Dev Paul Sztorc Unveils New 'eCash' Hard Fork Proposal",link:"https://crypto-economy.com/bitcoin-dev-paul-sztorc-unveils-new-ecash-hard-fork-proposal/",date:"2026-04-24"},{id:"ecash-static-cryptonews-1",type:"Article",person:"CryptoNews",snippet:"Bitcoin Hard Fork eCash Set to Launch in August: Drivechain Proposer Reveals Plan",link:"https://cryptonews.net/news/bitcoin/32762233/",date:"2026-04-24"},{id:"ecash-static-binance-2",type:"Article",person:"Binance Square",snippet:"eCash hard fork coverage. Binance Square",link:"https://www.binance.com/en/square/post/316121980126737",date:"2026-04-24"},{id:"ecash-static-cryptoslate-1",type:"Article",person:"CryptoSlate",snippet:"Top Bitcoin Dev Is Launching a New BTC Fork That Will Give Holders New eCash",link:"https://cryptoslate.com/top-bitcoin-dev-is-launching-a-new-btc-fork-that-will-give-holders-new-ecash-but-claiming-it-may-be-the-real-risk/",date:"2026-04-25"},{id:"ecash-static-forklog-1",type:"Article",person:"ForkLog",snippet:"Developer Announces Bitcoin Hard Fork and Distribution of Satoshi's Coins",link:"https://forklog.com/en/developer-announces-bitcoin-hard-fork-and-distribution-of-satoshis-coins/",date:"2026-04-25"}],Po=e=>e.replace(/\b\w/g,t=>t.toUpperCase()),tx=`
260#endorse-root .ecard__arthead{display:flex;align-items:center;gap:10px;margin-bottom:12px;}
261#endorse-root .ecard__artlogo{position:relative;width:38px;height:38px;flex-shrink:0;border:1px solid var(--line);border-radius:2px;overflow:hidden;background:#0d0d10;display:flex;align-items:center;justify-content:center;}
262#endorse-root .ecard__artimg{width:100%;height:100%;object-fit:contain;padding:18%;display:block;}
263#endorse-root .ecard__artlogo--txt{font-size:16px;font-weight:700;color:var(--amber);background:#141418;}
264#endorse-root .ecard--article .ecard__outlet{margin-bottom:0;}
265#endorse-root{--bg:#0A0A0C; --panel:#0d0d10; --ink:#c9c9cf; --dim:#76767e; --dimmer:#4a4a52;
266  --amber:#E8A84A; --amber-soft:rgba(232,168,74,0.14); --amber-dim:rgba(232,168,74,0.5);
267  --line:#1f1f23; --line2:#161619; --r:3px;
268  --fs-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
269  font-family:var(--fs-mono); color:var(--ink); position:relative; padding-top:60px; padding-bottom:40px;}
270#endorse-root .statusbar{display:flex;justify-content:space-between;align-items:center;padding:7px 22px;
271    border-bottom:1px solid var(--line);font-size:10.5px;letter-spacing:.06em;color:var(--amber-dim);background:var(--panel);}
272#endorse-root .statusbar__r{display:flex;align-items:center;gap:7px;}
273#endorse-root .dot{width:6px;height:6px;border-radius:50%;background:var(--amber);box-shadow:0 0 7px var(--amber);animation:pulse 2.4s ease-in-out infinite;}
274  @keyframes pulse{0%,100%{opacity:1;}50%{opacity:.25;}}#endorse-root .nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:16px 22px;
275    border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30;
276    background:rgba(10,10,12,0.86);backdrop-filter:blur(8px);}
277#endorse-root .nav__logo{font-size:19px;font-weight:700;letter-spacing:-.01em;color:#f2f2f4;}
278#endorse-root .nav__caret{color:var(--amber);animation:blink 1.2s steps(1) infinite;}
279  @keyframes blink{0%,49%{opacity:1;}50%,100%{opacity:0;}}#endorse-root .nav__links{display:flex;gap:26px;justify-content:center;}
280#endorse-root .nav__links a{font-size:11.5px;letter-spacing:.18em;color:var(--dim);text-decoration:none;cursor:pointer;transition:color .15s;white-space:nowrap;}
281#endorse-root .nav__links a:hover{color:var(--ink);}
282#endorse-root .nav__links a.is-active{color:var(--amber);}
283#endorse-root .shell{display:grid;grid-template-columns:218px 1fr;max-width:1480px;margin:0 auto;}
284#endorse-root .rail{position:sticky;top:65px;align-self:start;height:calc(100vh - 65px);border-right:1px solid var(--line);
285    padding:30px 0 20px;display:flex;flex-direction:column;gap:30px;}
286#endorse-root .rail__group{display:flex;flex-direction:column;}
287#endorse-root .rail__head{font-size:10.5px;letter-spacing:.08em;color:var(--amber);padding:0 22px 10px;}
288#endorse-root .rail__item{appearance:none;background:none;border:none;text-align:left;color:var(--dim);font-size:13px;
289    padding:6px 22px;border-left:2px solid transparent;transition:all .14s;display:flex;justify-content:space-between;align-items:center;gap:8px;}
290#endorse-root .rail__item--view{font-size:12.5px;line-height:1.3;}
291#endorse-root .rail__item:hover:not(:disabled){color:var(--ink);background:var(--line2);}
292#endorse-root .rail__item.is-active{color:var(--amber);border-left-color:var(--amber);background:var(--amber-soft);}
293#endorse-root .rail__n{color:var(--dimmer);font-size:11px;}
294#endorse-root .rail__item.is-active .rail__n{color:var(--amber-dim);}
295#endorse-root .rail__foot{margin-top:auto;padding:14px 22px 0;border-top:1px solid var(--line2);font-size:10px;color:var(--dimmer);letter-spacing:.04em;}
296#endorse-root .rail__foot>div:first-child{color:var(--dim);}
297#endorse-root .rail__footdim{margin-top:3px;}
298#endorse-root .main{padding:26px 28px 60px;min-width:0;}
299#endorse-root .toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:24px;}
300#endorse-root .chips{display:flex;gap:8px;flex-wrap:wrap;}
301#endorse-root .chip{background:none;border:1px solid var(--line);color:var(--dim);font-size:12px;padding:6px 12px;border-radius:var(--r);
302    transition:all .14s;display:flex;align-items:center;gap:7px;}
303#endorse-root .chip:hover:not(:disabled){border-color:#33333a;color:var(--ink);}
304#endorse-root .chip__n{color:var(--dimmer);font-size:11px;}
305#endorse-root .chip--on{border-color:var(--amber);color:var(--amber);background:var(--amber-soft);}
306#endorse-root .chip--on .chip__n{color:var(--amber-dim);}
307#endorse-root .search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:var(--r);padding:7px 12px;min-width:280px;transition:border-color .15s;}
308#endorse-root .search:focus-within{border-color:var(--amber-dim);}
309#endorse-root .search__ico{color:var(--dim);font-size:14px;}
310#endorse-root .search__in{flex:1;background:none;border:none;outline:none;color:var(--ink);font-family:inherit;font-size:13px;}
311#endorse-root .search__in::placeholder{color:var(--dimmer);}
312#endorse-root .search__clr{background:none;border:1px solid var(--line);color:var(--dim);font-size:10px;padding:2px 6px;border-radius:2px;}
313#endorse-root .search__clr:hover{color:var(--amber);border-color:var(--amber-dim);}
314#endorse-root .feat{border:1px solid var(--line);border-left:2px solid var(--amber);border-radius:var(--r);
315    padding:24px 28px 22px;margin-bottom:34px;background:linear-gradient(180deg,#0c0c0f,#0a0a0c);}
316#endorse-root .feat__label{font-size:11px;color:var(--amber);letter-spacing:.05em;margin-bottom:16px;}
317#endorse-root .feat__row{display:flex;gap:14px;}
318#endorse-root .feat__mark{font-size:64px;line-height:.7;color:var(--amber);opacity:.5;font-weight:700;}
319#endorse-root .feat__body{flex:1;min-width:0;}
320#endorse-root .feat__quote{font-size:25px;line-height:1.34;color:#f0f0f2;font-weight:500;margin:6px 0 22px;text-wrap:pretty;}
321#endorse-root .feat__by{display:flex;align-items:center;gap:13px;}
322#endorse-root .feat__name{font-size:13.5px;color:#e9e9ec;font-weight:500;}
323#endorse-root .feat__meta{font-size:12px;color:var(--dim);}
324#endorse-root .feat__sep{margin:0 7px;color:var(--dimmer);}
325#endorse-root .feat__link{margin-left:auto;font-size:12px;color:var(--dim);text-decoration:none;cursor:pointer;white-space:nowrap;transition:color .15s;}
326#endorse-root .feat__link:hover{color:var(--amber);}
327#endorse-root .libhead{display:flex;justify-content:space-between;align-items:baseline;gap:16px;
328    padding-bottom:14px;margin-bottom:20px;border-bottom:1px solid var(--line);flex-wrap:wrap;}
329#endorse-root .libhead__l{font-size:13px;color:var(--ink);}
330#endorse-root .libhead__sep{margin:0 9px;color:var(--dimmer);}
331#endorse-root .libhead__filt{color:var(--amber);}
332#endorse-root .libhead__view{color:var(--dim);}
333#endorse-root .libhead__yt{font-size:12px;color:var(--dim);text-decoration:none;cursor:pointer;transition:color .15s;white-space:nowrap;}
334#endorse-root .libhead__yt:hover{color:var(--amber);}
335#endorse-root .masonry{column-count:3;column-gap:18px;}
336  @media (max-width:1100px){#endorse-root .masonry{column-count:2;}
337}
338  @media (max-width:680px){#endorse-root .masonry{column-count:1;}
339}#endorse-root .vgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px 18px;}#endorse-root .ecard{position:relative;break-inside:avoid;display:inline-block;width:100%;margin:0 0 18px;
340    border:1px solid var(--line);border-left:2px solid #26211a;border-radius:var(--r);
341    background:var(--panel);padding:16px 16px 14px;transition:border-color .16s,transform .16s,background .16s;}
342#endorse-root .ecard:hover{border-color:var(--amber-dim);border-left-color:var(--amber);transform:translateY(-2px);background:#0e0e12;}
343#endorse-root .ecard__top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px;}
344#endorse-root .ecard__plat{display:block;font-size:10px;color:var(--dimmer);letter-spacing:.04em;margin-bottom:6px;}
345#endorse-root .ecard__who{min-width:0;}
346#endorse-root .ecard__name{display:block;font-size:13.5px;color:#e9e9ec;font-weight:500;}
347#endorse-root .ecard__handle{display:block;font-size:12px;color:var(--amber-dim);margin-top:1px;word-break:break-all;}
348#endorse-root .ecard__quote{font-size:14px;line-height:1.5;color:var(--ink);margin:0 0 16px;text-wrap:pretty;}
349#endorse-root .ecard__quote::before{content:"";}
350#endorse-root .av{flex:0 0 40px;width:40px;height:40px;border:1px solid var(--line);border-radius:2px;
351    display:flex;align-items:center;justify-content:center;overflow:hidden;}
352#endorse-root .av span{font-size:13px;font-weight:700;color:var(--amber);letter-spacing:.02em;}
353#endorse-root .ecard__foot{display:flex;align-items:center;gap:11px;}
354#endorse-root .ecard__tag{font-size:10px;color:var(--amber);border:1px solid #2c2620;background:rgba(232,168,74,0.06);
355    padding:2px 7px;border-radius:2px;letter-spacing:.03em;}
356#endorse-root .ecard__date{font-size:11px;color:var(--dimmer);}
357#endorse-root .ecard__link{margin-left:auto;font-size:11.5px;color:var(--dim);text-decoration:none;cursor:pointer;white-space:nowrap;transition:color .15s;}
358#endorse-root .ecard__link:hover{color:var(--amber);}
359#endorse-root .ecard--video{padding:0;overflow:hidden;border-left:1px solid var(--line);}
360#endorse-root .ecard__media{display:block;position:relative;aspect-ratio:16/9;border-bottom:1px solid var(--line);overflow:hidden;background:#0f0f12;}
361#endorse-root .ecard__vplay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .16s;z-index:3;}
362#endorse-root .ecard--video:hover .ecard__vplay{opacity:1;}
363#endorse-root .ecard__vplay span{width:46px;height:46px;border:1px solid var(--amber);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--amber);font-size:15px;background:rgba(10,10,12,.55);padding-left:3px;}
364#endorse-root .ecard__vcat{position:absolute;left:8px;bottom:8px;font-size:10.5px;color:var(--ink);background:rgba(10,10,12,.82);border:1px solid var(--line);padding:2px 6px;border-radius:2px;z-index:3;}
365#endorse-root .ecard__vbody{padding:14px 16px 13px;}
366#endorse-root .ecard__title{font-size:14px;line-height:1.34;font-weight:500;color:#e9e9ec;margin:0 0 7px;text-wrap:pretty;}
367#endorse-root .ecard__src{font-size:12px;color:var(--dim);margin-bottom:13px;}
368#endorse-root .ecard__dur{position:absolute;right:8px;bottom:8px;font-size:10.5px;color:#e7e7ea;background:rgba(0,0,0,.78);padding:2px 6px;border-radius:2px;}
369#endorse-root .ecard__outlet{font-size:10.5px;color:var(--amber);letter-spacing:.04em;margin-bottom:11px;}
370#endorse-root .ecard__title--art{font-size:16px;line-height:1.3;font-weight:700;margin-bottom:11px;}
371#endorse-root .ecard__excerpt{font-size:13px;line-height:1.5;color:var(--dim);margin:0 0 16px;text-wrap:pretty;}
372#endorse-root .ecard__podrow{display:flex;gap:13px;margin-bottom:14px;}
373#endorse-root .ecard__podtxt{min-width:0;display:flex;flex-direction:column;}
374#endorse-root .ecard__show{font-size:10.5px;color:var(--amber);letter-spacing:.04em;margin-bottom:6px;}
375#endorse-root .ecard__title--pod{font-size:13.5px;margin-bottom:8px;}
376#endorse-root .ecard__dur--inline{position:static;background:none;padding:0;color:var(--dimmer);font-size:11px;align-self:flex-start;}
377#endorse-root .mthumb{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;}
378#endorse-root .mthumb--sq{position:relative;flex:0 0 78px;width:78px;height:78px;border:1px solid var(--line);border-radius:2px;overflow:hidden;}
379#endorse-root .mthumb__glyph{font-size:54px;font-weight:700;color:rgba(232,168,74,0.13);line-height:1;}
380#endorse-root .mthumb--sq .mthumb__glyph{font-size:30px;}
381#endorse-root .mthumb__play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .16s;}
382#endorse-root .ecard--video:hover .mthumb__play{opacity:1;}
383#endorse-root .mthumb__play span{width:44px;height:44px;border:1px solid var(--amber);border-radius:50%;display:flex;align-items:center;justify-content:center;
384    color:var(--amber);font-size:14px;background:rgba(10,10,12,.55);padding-left:3px;}
385#endorse-root .mthumb--sq .mthumb__play{display:none;}
386#endorse-root .empty{padding:80px 20px;text-align:center;color:var(--dim);border:1px dashed var(--line);border-radius:var(--r);}
387#endorse-root .empty__big{font-size:42px;color:var(--dimmer);margin-bottom:14px;}
388#endorse-root .empty__q{color:var(--amber);}
389#endorse-root .empty__reset{margin-top:18px;background:none;border:1px solid var(--amber-dim);color:var(--amber);padding:7px 14px;border-radius:var(--r);font-size:12px;}
390#endorse-root .empty__reset:hover{background:var(--amber-soft);}
391#endorse-root .endline{margin-top:42px;text-align:center;font-size:11px;color:var(--dimmer);letter-spacing:.05em;}
392#endorse-root .mchips{display:none;gap:8px;padding:12px 18px;border-bottom:1px solid var(--line);overflow-x:auto;-webkit-overflow-scrolling:touch;}
393#endorse-root .mchips .chip{flex:0 0 auto;}
394  @media (max-width:880px){#endorse-root .shell{grid-template-columns:1fr;}
395#endorse-root .rail{display:none;}
396#endorse-root .mchips{display:flex;}
397#endorse-root .nav__links{display:none;}
398#endorse-root .nav{grid-template-columns:1fr auto;}
399#endorse-root .feat__quote{font-size:20px;}
400#endorse-root .feat__mark{font-size:48px;}
401#endorse-root .toolbar{flex-direction:column;align-items:stretch;}
402#endorse-root .search{min-width:0;}
403}
404#endorse-root .imgwrap{position:absolute;inset:0;}
405#endorse-root .img--cover{width:100%;height:100%;object-fit:cover;display:block;}
406#endorse-root .img--logo{width:100%;height:100%;object-fit:contain;padding:22%;background:#0d0d10;display:block;}
407#endorse-root .av{position:relative;}
408#endorse-root .av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;}
409#endorse-root .av img.av--logo{object-fit:contain;padding:18%;}
410#endorse-root .mthumb img{position:absolute;inset:0;z-index:1;}
411#endorse-root .mthumb .mthumb__glyph,#endorse-root .mthumb .mthumb__play{z-index:2;}
412`,{useState:Je,useMemo:nx,useEffect:gc}=C,Gp={tweet:"tweet",video:"video",article:"article"},Ro=[{key:"all",label:"all"},{key:"article",label:"article"},{key:"video",label:"video"},{key:"tweet",label:"tweet"}],yc=new Set(["article","video","tweet"]),Do=[{key:"current",label:"ecash endorsements"},{key:"archive",label:"drivechain archive (2018–2024)"}];function Zp(e){return(e||"x").split("").reduce((t,n)=>t+n.charCodeAt(0),0)}function Us(e){try{var t=new URL(e).hostname.replace(/^www\./,""),n=t.split(".");return n.length>2?n.slice(-2).join("."):t}catch{return""}}function rx(e){if(!e)return null;var t=e.match(/(?:youtube\.com\/(?:live|watch|embed)\/|youtu\.be\/)([A-Za-z0-9_-]{11})/);return t||(t=e.match(/[?&]v=([A-Za-z0-9_-]{11})/)),t?t[1]:null}function ix(e){var t=e.type;return t==="nostr"?"nostr":t==="tweet"||t==="quote"?"X (formerly Twitter)":t==="video"?e.source||"YouTube":t==="article"?e.outlet||Us(e.link)||"Article":t==="podcast"?e.show||e.source||"Podcast":e.source||"X (formerly Twitter)"}function ox({sources:e,className:t,onAllFail:n}){const[i,o]=Je(0);if(!e.length||i>=e.length)return n&&n(),null;const a=e[i];return r.jsx("img",{className:t+(a.logo?" img--logo":""),src:a.url,alt:"",loading:"lazy",onError:()=>o(i+1)})}function Jp({item:e}){const[t,n]=Je(!1),i=e.author||"?",o=i.split(/\s+/).slice(0,2).map(x=>x[0]).join("").toUpperCase(),c={backgroundColor:"#141418",backgroundImage:`repeating-linear-gradient(${120+Zp(i)%5*24}deg, rgba(232,168,74,0.10) 0 1px, transparent 1px 7px)`},l=[];e.photo&&l.push({url:e.photo}
412);var u=(e.handle||"").replace(/^@/,"");return u&&(e.type==="tweet"||e.type==="quote")&&l.push({url:"https://unavatar.io/twitter/"+u+"?fallback=false"}),r.jsxs("div",{className:"av",style:c,children:[r.jsx("span",{children:o}),!t&&l.length>0&&r.jsx(ox,{sources:l,className:"",onAllFail:()=>n(!0)})]})}function ax({e}){const t=e.type==="nostr"||e.npub?e.npub:e.handle;return r.jsxs("article",{className:"ecard ecard--text",children:[r.jsxs("header",{className:"ecard__top",children:[r.jsxs("div",{className:"ecard__id",children:[r.jsx("span",{className:"ecard__plat",children:e.platform}),r.jsxs("div",{className:"ecard__who",children:[r.jsx("span",{className:"ecard__name",children:e.author}),t&&r.jsx("span",{className:"ecard__handle",children:t})]})]}),r.jsx(Jp,{item:e})]}),e.text&&r.jsx("p",{className:"ecard__quote",children:e.text}),r.jsxs("footer",{className:"ecard__foot",children:[r.jsx("span",{className:"ecard__tag",children:Gp[e.type]}),e.date&&r.jsx("span",{className:"ecard__date",children:e.date}),e.link&&r.jsx("a",{className:"ecard__link",href:e.link,target:"_blank",rel:"noopener noreferrer",children:"view source →"})]})]})}function sx({e}){const[t,n]=Je(!0),i=rx(e.link),o=Zp(e.title||"v"),s={backgroundImage:[`repeating-linear-gradient(${90+o%5*20}deg,rgba(232,168,74,0.05) 0 1px,transparent 1px ${14+o%4*3}px)`,`radial-gradient(120% 130% at ${10+o%50}% -10%,rgba(232,168,74,0.10),transparent 55%)`].join(",")};return r.jsxs("article",{className:"ecard ecard--video",style:{display:"flex",flexDirection:"column"},children:[r.jsxs("a",{className:"ecard__media",href:e.link,target:"_blank",rel:"noopener noreferrer",style:s,children:[(!i||!t)&&r.jsx("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",fontSize:62,fontWeight:700,color:"rgba(232,168,74,0.12)",lineHeight:1},children:"▸"}),i&&r.jsx("img",{src:"https://img.youtube.com/vi/"+i+"/hqdefault.jpg",onError:()=>n(!1),style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",display:"block",transition:"transform .38s cubic-bezier(.25,.46,.45,.94)"},alt:"",loading:"lazy"}),r.jsx("span",{className:"ecard__vcat",children:e.outlet||"video"}),e.duration&&r.jsx("span",{className:"ecard__dur",children:e.duration}),r.jsx("div",{className:"ecard__vplay",children:r.jsx("span",{children:"▶"})})]}),r.jsxs("div",{className:"ecard__vbody",style:{flex:1,display:"flex",flexDirection:"column"},children:[r.jsx("h3",{className:"ecard__title",children:e.title}),r.jsx("div",{className:"ecard__src",style:{marginBottom:"auto"},children:e.author}),r.jsxs("footer",{className:"ecard__foot",style:{marginTop:10},children:[r.jsx("span",{className:"ecard__tag",children:"video"}),e.date&&r.jsx("span",{className:"ecard__date",children:e.date}),e.link&&r.jsx("a",{className:"ecard__link",href:e.link,target:"_blank",rel:"noopener noreferrer",children:"watch →"})]})]})]})}function lx({item:e}){const[t,n]=Je(0),[i,o]=Je(!1);var a=Us(e.link),s=[];return e.photo&&s.push(e.photo),a&&(s.push("https://unavatar.io/"+a+"?fallback=false"),s.push("https://www.google.com/s2/favicons?domain="+a+"&sz=128")),i||!s.length?r.jsx("div",{className:"ecard__artlogo ecard__artlogo--txt",children:((e.outlet||"?")[0]||"?").toUpperCase()}):r.jsx("div",{className:"ecard__artlogo",children:r.jsx("img",{className:"ecard__artimg",src:s[Math.min(t,s.length-1)],alt:"",loading:"lazy",onError:()=>t+1<s.length?n(t+1):o(!0)})})}function cx({e}){return r.jsxs("article",{className:"ecard ecard--article",children:[r.jsxs("div",{className:"ecard__arthead",children:[r.jsx(lx,{item:e}),r.jsx("div",{className:"ecard__outlet",children:e.outlet})]}),r.jsx("h3",{className:"ecard__title ecard__title--art",children:e.title}),e.excerpt&&r.jsx("p",{className:"ecard__excerpt",children:e.excerpt}),r.jsxs("footer",{className:"ecard__foot",children:[r.jsx("span",{className:"ecard__tag",children:Gp[e.type]}),e.date&&r.jsx("span",{className:"ecard__date",children:e.date}),e.link&&r.jsx("a",{className:"ecard__link",href:e.link,target:"_blank",rel:"noopener noreferrer",children:"read →"})]})]})}function dx({e}){return e.type==="video"?r.jsx(sx,{e}):e.type==="article"?r.jsx(cx,{e}):e.type==="tweet"?r.jsx(ax,{e}):null}function px({e}){return e?r.jsxs("section",{className:"feat",children:[r.jsx("div",{className:"feat__label",children:"§ featured endorsement"}),r.jsxs("div",{className:"feat__row",children:[r.jsx("span",{className:"feat__mark",children:'"'}),r.jsxs("div",{className:"feat__body",children:[r.jsx("p",{className:"feat__quote",children:e.text||e.title}),r.jsxs("div",{className:"feat__by",children:[r.jsx(Jp,{item:e}),r.jsxs("div",{children:[r.jsx("div",{className:"feat__name",children:e.author}),r.jsxs("div",{className:"feat__meta",children:[e.handle,e.handle&&r.jsx("span",{className:"feat__sep",children:"·"}),e.platform,e.date&&r.jsx("span",{className:"feat__sep",children:"·"}),e.date]})]}),e.link&&r.jsx("a",{className:"feat__link",href:e.link,target:"_blank",rel:"noopener noreferrer",children:"view source →"})]})]})]})]}):null}function Mo(e,t){var n=(e.type||"tweet").toLowerCase();(n==="tweet"||n==="x")&&(n="tweet");var i=e.snippet||e.text||"",o={id:e.id||t+"-"+Math.random().toString(36).slice(2),type:n,view:t,author:e.person||e.author||e.handle||"",handle:e.handle||"",npub:e.npub||(n==="nostr"?e.handle||e.person:""),text:i,title:e.title||i,source:e.source||"",outlet:e.outlet||e.source||Us(e.link),excerpt:e.excerpt||"",show:e.show||e.source||"",duration:e.duration||"",date:e.date||"",link:e.link||"",photo:e.photo||""};return o.platform=ix(o),o}function ux({accent:e}){const[t,n]=Je(()=>xc.map(d=>Mo(d,"current"))),[i,o]=Je(null),[a,s]=Je("current"),[c,l]=Je("all"),[u,x]=Je("");gc(()=>{n(xc.map(d=>Mo(d,"current"))),fetch("/drivechain-endorsements.json").then(d=>d.json()).then(d=>o((d.data||d||[]).map(h=>Mo(h,"archive")))).catch(()=>o([]))},[]);const g=(a==="current"?t:i)||[],f=nx(()=>{var d={all:0};return g.forEach(h=>{yc.has(h.type)&&(d.all++,d[h.type]=(d[h.type]||0)+1)}),d},[g]),b=u.trim().toLowerCase(),v={article:0,video:1,tweet:2},y=g.filter(d=>{if(!yc.has(d.type))return!1;var h=c==="all"||d.type===c,w=[d.author,d.handle,d.text,d.title,d.source,d.outlet,d.excerpt].filter(
412Boolean).join(" ").toLowerCase();return h&&(!b||w.includes(b))}).sort((d,h)=>(v[d.type]??9)-(v[h.type]??9));gc(()=>{c!=="all"&&!f[c]&&l("all")},[a]);const k=(t||[]).find(d=>d.link&&d.link.includes("thebitcoinmanual.com"))||(t||[]).find(d=>d.type==="article"&&d.text)||(t||[])[0],m=(i||[]).find(d=>d.type==="tweet"&&d.author&&d.author.toLowerCase().includes("adam back"))||(i||[])[0],p=t===null;return r.jsxs("div",{id:"endorse-root",children:[r.jsx("h1",{style:{fontSize:22,fontWeight:400,margin:"0 auto 24px",padding:"0 24px",maxWidth:1400},children:"eCash & Drivechain community commentary"}),r.jsx("style",{dangerouslySetInnerHTML:{__html:tx}}),r.jsx("div",{className:"mchips",children:Ro.map(d=>r.jsxs("button",{disabled:d.key!=="all"&&!f[d.key],className:"chip"+(c===d.key?" chip--on":""),onClick:()=>l(d.key),type:"button",children:[d.label," · ",f[d.key]||0]},d.key))}),r.jsxs("div",{className:"shell",children:[r.jsxs("aside",{className:"rail",children:[r.jsxs("div",{className:"rail__group",children:[r.jsx("div",{className:"rail__head",children:"§ views"}),Do.map(d=>r.jsx("button",{className:"rail__item rail__item--view"+(a===d.key?" is-active":""),onClick:()=>s(d.key),type:"button",children:d.label},d.key))]}),r.jsxs("div",{className:"rail__group",children:[r.jsx("div",{className:"rail__head",children:"§ types"}),Ro.filter(d=>d.key!=="all").map(d=>r.jsxs("button",{disabled:!f[d.key],className:"rail__item"+(c===d.key?" is-active":""),onClick:()=>l(c===d.key?"all":d.key),type:"button",children:[d.label,r.jsx("span",{className:"rail__n",children:f[d.key]||0})]},d.key))]}),r.jsxs("div",{className:"rail__foot",children:[r.jsx("div",{children:"idx synced"}),r.jsxs("div",{className:"rail__footdim",children:[g.length," records · rev E8538"]})]})]}),r.jsxs("main",{className:"main",children:[r.jsxs("div",{className:"toolbar",children:[r.jsx("div",{className:"chips",children:Ro.map(d=>r.jsxs("button",{disabled:d.key!=="all"&&!f[d.key],className:"chip"+(c===d.key?" chip--on":""),onClick:()=>l(d.key),type:"button",children:[d.label,r.jsx("span",{className:"chip__n",children:f[d.key]||0})]},d.key))}),r.jsxs("div",{className:"search",children:[r.jsx("span",{className:"search__ico",children:"⌕"}),r.jsx("input",{className:"search__in",placeholder:"search endorsements…",value:u,onChange:d=>x(d.target.value)}),u&&r.jsx("button",{className:"search__clr",onClick:()=>x(""),type:"button",children:"esc"})]})]}),!u&&c==="all"&&r.jsx(px,{e:a==="current"?k:m}),r.jsxs("div",{className:"libhead",children:[r.jsxs("span",{className:"libhead__l",children:["§ endorsements",r.jsx("span",{className:"libhead__sep",children:"·"}),y.length,c!=="all"&&r.jsxs("span",{className:"libhead__filt",children:[" / ",c]}),r.jsxs("span",{className:"libhead__view",children:[" · ",Do.find(d=>d.key===a).label]})]}),r.jsx("a",{className:"libhead__yt",href:"https://x.com/intent/post?text="+encodeURIComponent(`Bitcoin is forking, in 3 stages: Alpha ${Po(E.ROADMAP[0].dateLabel)} (block ~${E.ROADMAP[0].blockHeight.toLocaleString()}), Beta ${Po(E.ROADMAP[1].dateLabel)} (block ~${E.ROADMAP[1].blockHeight.toLocaleString()}), Mainnet ${Po(E.ROADMAP[2].dateLabel)} (block ~${E.ROADMAP[2].blockHeight.toLocaleString()}).
413
414Drivechains are real. Sidechains are real. The wait is over.
415
416I'm with #eCash. ecash.com`),target:"_blank",rel:"noopener noreferrer",children:"submit an endorsement →"})]}),p?r.jsxs("div",{className:"empty",children:[r.jsx("div",{className:"empty__big",children:"⋯"}),r.jsx("div",{children:"loading endorsements…"})]}):y.length>0?r.jsx("div",{className:c==="video"?"vgrid":"masonry",children:y.map(d=>r.jsx(dx,{e:d},d.id))}):r.jsxs("div",{className:"empty",children:[r.jsx("div",{className:"empty__big",children:"∅"}),r.jsxs("div",{children:["no records match ",r.jsxs("span",{className:"empty__q",children:['"',u,'"']})]}),r.jsx("button",{className:"empty__reset",onClick:()=>{x(""),l("all")},type:"button",children:"reset filters"})]}),r.jsxs("footer",{className:"endline",children:["  end of index · ",y.length," of ",g.length," records · ",Do.find(d=>d.key===a).label,", "]})]})]})]})}const Xn=e=>e.replace(/\b\w/g,t=>t.toUpperCase()),Xa=['<path d="M406.486,280.925 C472.249,280.925 525.561,334.237 525.561,400 C525.358,408.043 525.507,408.242 524.189,418.134 C523.947,419.947 523.456,421.719 523.09,423.511 C523.09,423.511 405.336,423.511 386.482,423.511 C370.04,423.511 370.04,384.532 386.482,384.483 C402.054,384.436 472.372,384.483 472.372,384.483 C466.039,353.583 436.989,333.042 406.486,332.27 C369.08,332.27 338.756,362.594 338.756,400 C338.756,437.406 369.08,467.73 406.486,467.73 L503.953,468.213 C482.286,500.711 444.793,518.106 406.486,519.075 C340.723,519.075 287.411,465.764 287.411,400 C287.645,390.728 287.36,395.905 288.518,384.483 C288.518,384.483 179.855,384.448 173.697,384.483 C173.487,383.519 176.227,361.201 177.054,359.229 C180.355,359.237 294.583,359.229 294.583,359.229 C313.423,311.336 355.039,282.226 406.486,280.925 L406.486,280.925 z" fill="COLOR"/>','<path d="M405.602,168.039 C500.166,168.102 591.592,230.091 623.305,319.984 L557.167,319.984 C527.101,263.666 470.365,231.736 407.27,229.753 C343.525,230.368 289.192,265.152 257.645,319.744 L187.883,319.744 C220.501,227.325 309.303,171.991 405.602,168.039 L405.602,168.039 z" fill="COLOR"/>','<path d="M234.989,423.511 C247.224,508.566 319.245,569.437 404.565,570.513 C471.073,570.482 535.175,530.189 561.39,468.467 L627.11,468.467 C597.06,566.545 506.089,630.683 404.565,631.9
41661 C285.944,631.636 184.961,541.936 172.889,423.511 L234.989,423.511 z" fill="COLOR"/>'].join(`
417  `);function hx(e,t){return`<?xml version="1.0" encoding="UTF-8"?>
418<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800" width="800" height="800">
419  ${t?`<rect width="800" height="800" fill="${t}"/>`:""}
420  ${Xa.replace(/COLOR/g,e)}
421</svg>`}function fx(e,t){const n=new Blob([e],{type:"image/svg+xml"}),i=URL.createObjectURL(n),o=document.createElement("a");o.href=i,o.download=t,o.click(),setTimeout(()=>URL.revokeObjectURL(i),1e3)}const vc=[{name:"eCash Gold",hex:"#E8A84A",note:"Primary accent, logo, highlights, CTAs"},{name:"Near Black",hex:"var(--bg-0)",note:"Page background"},{name:"Carbon",hex:"var(--bg-1)",note:"Card & surface background"},{name:"Border Deep",hex:"var(--border-0)",note:"Section dividers"},{name:"Border",hex:"var(--border-2)",note:"Inputs, hairlines"},{name:"Zinc 600",hex:"var(--text-3)",note:"Muted labels, § prefixes"},{name:"Zinc 500",hex:"var(--text-2)",note:"Captions, nav items"},{name:"Zinc 400",hex:"var(--text-1)",note:"Body text on dark"},{name:"Zinc 200",hex:"var(--text-05)",note:"Default body on dark"},{name:"White",hex:"var(--text-0)",note:"Headings on dark"}],mx=[{name:"Cyan",hex:"#5AC8D6",note:"Live · streaming"},{name:"Lime",hex:"#A8D65A",note:"Success · shipped"},{name:"Pink",hex:"#E86A8A",note:"Warning · off-spec"},{name:"Off-white",hex:"var(--text-05)",note:"Neutral data series"}];function Wo({color:e}){const[t,n]=C.useState(!1),o=parseInt(e.hex.slice(1,3),16)*.299+parseInt(e.hex.slice(3,5),16)*.587+parseInt(e.hex.slice(5,7),16)*.114<140,a=o?"var(--text-0)":"var(--bg-0)",s=o?"var(--text-1)":"var(--text-3)";function c(){navigator.clipboard.writeText(e.hex).then(()=>{n(!0),setTimeout(()=>n(!1),1500)}).catch(()=>{})}return r.jsxs("div",{onClick:c,style:{background:e.hex,border:"1px solid var(--border-2)",borderRadius:4,padding:"20px 16px 14px",cursor:"pointer",display:"flex",flexDirection:"column",gap:5,minWidth:0,transition:"transform .15s, box-shadow .15s"},onMouseEnter:l=>{l.currentTarget.style.transform="translateY(-2px)",l.currentTarget.style.boxShadow=`0 6px 20px ${e.hex}40`},onMouseLeave:l=>{l.currentTarget.style.transform="",l.currentTarget.style.boxShadow=""},children:[r.jsx("div",{style:{fontSize:11,fontWeight:500,color:a,letterSpacing:"0.04em"},children:e.name}),r.jsx("div",{style:{fontSize:10,letterSpacing:"0.14em",color:s,textTransform:"uppercase"},children:t?"✓ copied":e.hex}),r.jsx("div",{style:{fontSize:9,color:s,lineHeight:1.4,marginTop:2},children:e.note})]})}function xx({accent:e}){const[t,n]=C.useState(null);function i(y,k){navigator.clipboard.writeText(y).then(()=>{n(k),setTimeout(()=>n(null),1500)}).catch(()=>{})}const o=[{num:"01",label:"Amber, transparent",sub:"primary · default · transparent bg",previewBg:"var(--bg-0)",fill:"#E8A84A",filename:"ecash-logo-amber.svg",hasBg:!1},{num:"02",label:"White, transparent",sub:"knockout white · dark contexts",previewBg:"var(--bg-0)",fill:"#FFFFFF",filename:"ecash-logo-white.svg",hasBg:!1},{num:"03",label:"Black, transparent",sub:"knockout black · light contexts",previewBg:"#f4f4f5",fill:"var(--bg-0)",filename:"ecash-logo-black.svg",hasBg:!1},{num:"04",label:"Amber on White",sub:"for print or solid-bg contexts",previewBg:"#ffffff",fill:"#E8A84A",filename:"ecash-logo-amber-white.svg",hasBg:!0,bgColor:"#FFFFFF"}],a={fontFamily:"inherit",fontSize:14,color:"var(--text-2)",lineHeight:1.7},s={borderBottom:"1px solid var(--border-0)",margin:"clamp(48px,7vh,72px) 0 clamp(32px,5vh,48px)"},c={fontSize:10,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:14},l={fontSize:"clamp(28px,6vw,48px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.02em",lineHeight:1.1,margin:"0 0 8px"},u={fontSize:"clamp(20px,4vw,32px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.01em",lineHeight:1.15,margin:"0 0 8px"},x=y=>r.jsx("div",{style:{background:"var(--bg-1)",border:"1px solid var(--border-0)",borderLeft:"3px solid var(--border-2)",borderRadius:4,padding:"14px 18px",fontSize:12,color:"var(--text-2)",lineHeight:1.7},children:y}),g=(y,k)=>r.jsx("button",{onClick:()=>{y(),window.plausible&&k&&window.plausible("Brand asset downloaded",{props:{filename:k}})},style:{background:"transparent",border:`1px solid ${e}`,color:e,padding:"6px 14px",fontFamily:"inherit",fontSize:10,letterSpacing:"0.12em",textTransform:"uppercase",cursor:"pointer",borderRadius:3,whiteSpace:"nowrap",flexShrink:0,transition:"background .15s"},onMouseEnter:m=>{m.currentTarget.style.background=e+"18"},onMouseLeave:m=>{m.currentTarget.style.background="transparent"},children:"Download SVG"}),f=[{w:300,role:"rarely used, only for very large display numerals"},{w:400,role:"body · default · navigation"},{w:500,role:"labels · nav · emphasis · card titles"},{w:600,role:"headings · active states · key data"}],b=[{label:"display · 600 · 64–112px · –3% tracking",size:"clamp(56px,9vw,96px)",weight:600,tracking:"-0.03em",text:"display.",color:"var(--text-0)"},{label:"heading · 600 · 32–48px",size:"clamp(28px,4vw,44px)",
421weight:600,tracking:"-0.01em",text:"heading.",color:"var(--text-0)"},{label:"subheading · 500 · 20–28px",size:"clamp(18px,2.4vw,26px)",weight:500,tracking:"-0.005em",text:"subheading.",color:"var(--text-05)"},{label:"body · 400 · 14–17px · line-height 1.65",size:15,weight:400,tracking:0,text:"Body, the quick brown fox jumps over the lazy dog. Used for everything you actually read. Left-aligned, ragged right, generously leaded.",color:"var(--text-1)",maxWidth:"62ch"},{label:"caption · 500 · 10–12px · +180 tracking · UPPERCASE",size:11,weight:500,tracking:"0.18em",text:"CAPTION / METADATA LABEL",color:"var(--text-05)",upper:!0},{label:"§ marker · 400 · 12–14px · +100 tracking · lowercase · § prefix",size:13,weight:400,tracking:"0.1em",text:"§ section · marker · annotation",color:"#e8a84a"}],v=[{n:"01",title:"mostly lowercase.",body:"Body, headings, navigation, links, all lowercase. The rare exception is acronyms (BTC, BIP) and proper names that demand caps."},{n:"02",title:"loose-tracked uppercase for labels.",body:"When uppercase is used, track it out generously, +100 to +200 units. Only in metadata labels, section markers, navigation tabs. Never in body.",sample:{text:"COUNTDOWN · RUN A NODE · WHAT TO EXPECT",style:{letterSpacing:"0.18em",textTransform:"uppercase",fontSize:11}}},{n:"03",title:"the § prefix.",body:"Section markers begin with § (section sign), followed by a space, followed by the lowercase label. This is the visual signature of the brand.",sample:{text:"§ how it works   § sidechains   § further reading",style:{color:"#e8a84a",fontSize:13}}}];return r.jsxs("main",{style:{position:"relative",maxWidth:1e3,margin:"0 auto",padding:"clamp(120px,18vh,160px) clamp(20px,5vw,32px) clamp(80px,12vh,120px)"},children:[r.jsx("div",{style:c,children:"§ brand"}),r.jsx("h1",{style:l,children:"Brand Assets"}),r.jsx("p",{style:{...a,marginTop:8,maxWidth:560},children:"Official eCash logo, colour palette, and typeface. Use these assets consistently across all touchpoints."}),r.jsx("div",{style:s}),r.jsx("div",{style:c,children:"§ 00 · launch kit"}),r.jsx("h2",{style:u,children:"Launch Kit"}),r.jsx("p",{style:{...a,maxWidth:"62ch",marginBottom:"clamp(28px,4vh,40px)"},children:"Use this kit to make eCash easier to spread. Build banners, posts, videos, explainers, memes, countdown graphics, and point people back to ecash.com."}),r.jsx("div",{style:{fontSize:10,letterSpacing:"0.18em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:10},children:"suggested one-liners"}),r.jsx("div",{style:{display:"flex",flexDirection:"column",gap:6,marginBottom:"clamp(32px,5vh,48px)"},children:[`Bitcoin hard fork, activating in 3 stages from Alpha (${Xn(E.ROADMAP[0].dateLabel)}) through Mainnet (${Xn(E.ROADMAP[2].dateLabel)}, block ~${E.ROADMAP[2].blockHeight.toLocaleString()}). Every BTC holder receives $ECX 1:1. ecash.com`,"Bitcoin can still improve. Drivechains are ready. eCash ships them.","Before: 1 BTC. After fork: 1 BTC + 1 $ECX. Your BTC stays yours.",`Sidechains for payments, privacy, assets, identity, prediction markets. Mainnet ${Xn(E.ROADMAP[2].dateLabel)}, block ~${E.ROADMAP[2].blockHeight.toLocaleString()}. ecash.com`,"eCash isn't a token. It's a Bitcoin hard fork. ecash.com"].map((y,k)=>{const m="line-"+k,p=t===m;return r.jsxs("div",{onClick:()=>i(y,m),style:{background:"var(--bg-1)",border:"1px solid var(--border-0)",borderRadius:3,padding:"12px 16px",cursor:"pointer",display:"flex",justifyContent:"space-between",alignItems:"center",gap:12,transition:"border-color .15s"},onMouseEnter:d=>{d.currentTarget.style.borderColor="var(--border-2)"},onMouseLeave:d=>{d.currentTarget.style.borderColor="var(--border-0)"},children:[r.jsx("span",{style:{fontSize:13,color:"var(--text-05)",lineHeight:1.5},children:y}),r.jsx("span",{style:{fontSize:9,letterSpacing:"0.14em",color:p?e:"var(--text-3)",textTransform:"uppercase",flexShrink:0,transition:"color .15s"},children:p?"✓ copied":"copy"})]},k)})}),r.jsx("div",{style:{fontSize:10,letterSpacing:"0.18em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:10},children:"ready-made post copy"}),r.jsx("div",{style:{display:"flex",flexDirection:"column",gap:8,marginBottom:"clamp(32px,5vh,48px)"},children:[`Bitcoin's monetary policy is sacred. Bitcoin's technical conservatism isn't. Drivechains let Bitcoin do more without changing what makes Bitcoin Bitc
421oin. Mainnet ${Xn(E.ROADMAP[2].dateLabel)}, block ~${E.ROADMAP[2].blockHeight.toLocaleString()}.`,`Every BTC address gets $ECX 1:1, starting at alpha (block ~${E.ROADMAP[0].blockHeight.toLocaleString()}). No claim, no airdrop form, no whitelist. Run a node, you have it.`,`What Lightning was supposed to do, and didn't. What Liquid was supposed to do, and didn't. Drivechains, on Bitcoin, no federation. Mainnet ${Xn(E.ROADMAP[2].dateLabel)}, block ~${E.ROADMAP[2].blockHeight.toLocaleString()}.`,"Miners get new fee markets. Holders get new coins to spend. Developers get new platforms to build. All from one fork."].map((y,k)=>{const m="post-"+k,p=t===m;return r.jsxs("div",{style:{background:"var(--bg-1)",border:"1px solid var(--border-0)",borderRadius:3,padding:"16px 20px",position:"relative"},children:[r.jsx("div",{style:{fontSize:13,color:"var(--text-1)",lineHeight:1.7,paddingRight:64},children:y}),r.jsx("button",{onClick:()=>i(y,m),style:{position:"absolute",top:14,right:14,background:"transparent",border:`1px solid ${p?e:"var(--border-2)"}`,color:p?e:"var(--text-3)",padding:"4px 10px",fontFamily:"inherit",fontSize:9,letterSpacing:"0.12em",textTransform:"uppercase",cursor:"pointer",borderRadius:2,transition:"border-color .15s, color .15s"},children:p?"✓ copied":"copy"})]},k)})}),r.jsx("div",{style:{fontSize:10,letterSpacing:"0.18em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:10},children:"campaign hashtags / phrases"}),r.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:8,marginBottom:"clamp(32px,5vh,48px)"},children:["#eCash","#Drivechains","#BIP300","#BIP301",`alpha ~${E.ROADMAP[0].blockHeight.toLocaleString()}`,`mainnet ~${E.ROADMAP[2].blockHeight.toLocaleString()}`].map((y,k)=>{const m="tag-"+k,p=t===m;return r.jsxs("div",{onClick:()=>i(y,m),style:{background:"var(--bg-1)",border:`1px solid ${p?e:"var(--border-2)"}`,borderRadius:3,padding:"8px 14px",cursor:"pointer",fontSize:12,color:p?e:"var(--text-05)",letterSpacing:"0.04em",transition:"border-color .15s, color .15s",display:"flex",alignItems:"center",gap:8},children:[y,p&&r.jsx("span",{style:{fontSize:9,color:e},children:"✓"})]},k)})}),r.jsx("div",{style:{fontSize:10,letterSpacing:"0.18em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:10},children:"follow & spread"}),r.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:10,marginBottom:"clamp(8px,1vh,12px)"},children:[{label:"GitHub",href:"https://github.com/LayerTwo-Labs",ch:"github"},{label:"ecash.com",href:"https://ecash.com",ch:"ecash"}].map(y=>y.soon?r.jsxs("span",{title:"Coming soon",style:{display:"inline-flex",alignItems:"center",gap:7,padding:"8px 16px",background:"transparent",border:"1px solid var(--border-1)",color:"var(--text-4)",fontFamily:"inherit",fontSize:10,letterSpacing:"0.12em",textTransform:"uppercase",borderRadius:3,cursor:"default",userSelect:"none"},children:[y.label,r.jsx("span",{style:{fontSize:8,letterSpacing:"0.14em",color:"var(--border-1)"},children:"soon"})]},y.label):r.jsx("a",{href:y.href,target:"_blank",rel:"noopener noreferrer",onClick:()=>{window.plausible&&window.plausible("External social clicked",{props:{channel:y.ch}})},style:{display:"inline-flex",alignItems:"center",padding:"8px 16px",background:"transparent",border:`1px solid ${e}`,color:e,fontFamily:"inherit",fontSize:10,letterSpacing:"0.12em",textTransform:"uppercase",borderRadius:3,textDecoration:"none",transition:"background .15s"},onMouseEnter:k=>{k.currentTarget.style.background=e+"18"},onMouseLeave:k=>{k.currentTarget.style.background="transparent"},children:y.label},y.label))}),r.jsx("div",{style:s}),r.jsx("div",{style:c,children:"§ 01 · logo"}),r.jsx("h2",{style:u,children:"Logo"}),r.jsxs("p",{style:{...a,marginBottom:"clamp(28px,4vh,40px)",maxWidth:"62ch"},children:["One mark. A lowercase ",r.jsx("em",{children:"e"})," built from a circular arc, the Bitcoin ₿ opened and reformed. Always rendered in a single flat colour. Never gradient, never outlined. Three transparent-background files cover all digital use; the solid-background variant is for print."]}),r.jsx("div",{style:{background:"var(--bg-0)",border:"1px solid var(--border-0)",borderRadius:6,padding:"clamp(40px,8vw,80px) 0",display:"flex",alignItems:"center",justifyContent:"center",marginBottom:8},children:r.jsx("svg",{viewBox:"0 0 800 800",width:"160",height:"160",children:r.jsx("g",{dangerouslySetInnerHTML:{__html:Xa.replace(/COLOR/g,"#E8A84A")}})})}),r.jsx("div",{style:{fontSize:10,letterSpacing:"0.18em",color:e,textTransform:"uppercase",textAlign:"center",marginBottom:"clamp(32px,5vh,48px)"},children:"primary mark · amber on ink"}),r.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(220px, 1fr))",gap:1,background:"var(--border-0)",border:"1px solid var(--border-0)",marginBottom:"clamp(28px,4vh,40px)"},children:o.map(y=>r.jsxs("div",{style:{background:"var(--bg-1)",display:"flex",flexDirection:"column"}
421,children:[r.jsx("div",{style:{background:y.previewBg,aspectRatio:"1/1",display:"flex",alignItems:"center",justifyContent:"center",padding:40},children:r.jsx("svg",{viewBox:"0 0 800 800",style:{width:"60%",height:"auto"},children:r.jsx("g",{dangerouslySetInnerHTML:{__html:Xa.replace(/COLOR/g,y.fill)}})})}),r.jsxs("div",{style:{padding:"16px 20px",borderTop:"1px solid var(--border-0)",display:"flex",alignItems:"center",justifyContent:"space-between",gap:12,flex:1},children:[r.jsxs("div",{children:[r.jsx("div",{style:{fontSize:10,letterSpacing:"0.12em",color:e,textTransform:"uppercase",marginBottom:4},children:y.num}),r.jsx("div",{style:{fontSize:12,color:"var(--text-05)",fontWeight:500,marginBottom:2},children:y.label}),r.jsx("div",{style:{fontSize:10,color:"var(--text-3)",letterSpacing:"0.06em"},children:y.sub})]}),g(()=>fx(hx(y.fill,y.hasBg?y.bgColor:null),y.filename),y.filename)]})]},y.num))}),x(r.jsxs(r.Fragment,{children:[r.jsx("span",{style:{color:"var(--text-1)",fontWeight:500},children:"Clear space."})," Maintain a minimum clear zone of ¼ the mark's height on all sides. Below 24 px digital / 10 mm print the inner detail stops resolving, use the favicon variant instead. Never rotate, skew, recolour outside the four variants, or apply drop shadows."]})),r.jsx("div",{style:s}),r.jsx("div",{style:c,children:"§ 02 · colour"}),r.jsx("h2",{style:u,children:"Colour"}),r.jsx("p",{style:{...a,marginBottom:4,maxWidth:"62ch"},children:"One brand colour against one background. Everything else is neutral. The discipline is what makes the amber meaningful, when it appears, it signals something."}),r.jsx("div",{style:{fontSize:11,color:"var(--text-3)",letterSpacing:"0.1em",marginBottom:"clamp(24px,4vh,36px)"},children:"click any swatch to copy its hex"}),r.jsx("div",{style:{marginBottom:10},children:r.jsx(Wo,{color:vc[0]})}),r.jsx("div",{style:{fontSize:10,letterSpacing:"0.18em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:10},children:"neutrals, 9 step scale"}),r.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(150px, 1fr))",gap:8,marginBottom:"clamp(36px,5vh,56px)"},children:vc.slice(1).map(y=>r.jsx(Wo,{color:y},y.hex))}),r.jsx("div",{style:{fontSize:10,letterSpacing:"0.18em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:12},children:"usage ratio, per composition"}),r.jsx("div",{style:{display:"flex",height:72,border:"1px solid var(--border-0)",overflow:"hidden",borderRadius:4,marginBottom:8},children:[{label:"ink",pct:"70%",flex:70,bg:"var(--bg-0)",fg:"var(--text-0)",sub:"var(--text-3)"},{label:"neutrals",pct:"25%",flex:25,bg:"var(--bg-1)",fg:"var(--text-1)",sub:"var(--text-3)",border:!0},{label:"amber",pct:"5%",flex:5,bg:"#e8a84a",fg:"var(--bg-0)",sub:"var(--text-3)40"}].map(y=>r.jsxs("div",{style:{flex:y.flex,background:y.bg,borderLeft:y.border?"1px solid var(--border-0)":"none",borderRight:y.border?"1px solid var(--border-0)":"none",padding:"10px 14px",display:"flex",flexDirection:"column",justifyContent:"space-between",minWidth:0,overflow:"hidden"},children:[r.jsx("span",{style:{fontSize:"clamp(16px,2.5vw,24px)",fontWeight:600,color:y.fg,letterSpacing:"-0.02em",lineHeight:1},children:y.pct}),r.jsx("span",{style:{fontSize:9,letterSpacing:"0.12em",textTransform:"uppercase",color:y.fg,opacity:.7},children:y.label})]},y.label))}),r.jsx("p",{style:{...a,fontSize:12,marginBottom:"clamp(36px,5vh,56px)"},children:"70 % background · 25 % neutral surface · 5 % amber. When amber exceeds ~10 % of a composition it loses its signal value."}),r.jsx("div",{style:{fontSize:10,letterSpacing:"0.18em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:10},children:"secondary accents, use sparingly"}),r.jsx("p",{style:{...a,marginBottom:"clamp(20px,3vh,28px)",maxWidth:"62ch"},children:"Four optional accents for status, charts, and segmented data where amber alone is insufficient. Use one at a time, never mix three accents in the same composition."}),r.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(150px, 1fr))",gap:8,marginBottom:"clamp(8px,1vh,12px)"},children:mx.map(y=>r.jsx(Wo,{color:y},y.hex))}),r.jsx("div",{style:s}),r.jsx("div",{style:c,children:"§ 03 · typography"}),r.jsx("h2",{style:u,children:"Typography"}),r.jsx("p",{style:{...a,marginBottom:"clamp(24px,4vh,36px)",maxWidth:"62ch"},children:"Two typefaces, one job each. Satoshi carries display and body copy, everything you read. JetBrains Mono is reserved for eyebrows, labels, countdowns, and anything technical, the parts that should read like source code."}),r.jsxs("div",{className:"brand-dual-type",style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:16,marginBottom:"clamp(28px,4vh,40px)"},children:[r.jsxs("div",{style:{border:"1px solid var(--border-0)",borderRadius:6,overflow:"hidden"},children:[r.jsxs("div",{style:{background:"var(--bg-1)",padding:"clamp(24px,4vw,40px) clamp(22px,4vw,36px)"},children:[r.jsx("div",{style:{fontSize:10,letterSpacing:"0.2em",color:e,textTransform:"uppercase",marginBottom:14},children:"display & body"}),r.jsx("div",{className:"f-sans",style:{fontSize:"clamp(38px,6vw,60px)",fontWeight:500,color:"var(--text-0)",lineHeight:1,letterSpacing:"-0.02em",marginBottom:16},children:"Satoshi"}),r.jsx("div",{className:"f-sans",style:{fontSize:14,color:"var(--text-1)",lineHeight:1.6,maxWidth:"38ch"},children:"Used for hero headlines, section H2s, and every paragraph of running body copy. Weight 400 for text, 500 for headings."})]}),r.jsxs("div",{style:{borderTop:"1px solid var(--border-0)",padding:"16px clamp(22px,4vw,36px)",background:"#060608",display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:12},children:[r.jsx("dl",{style:{margin:0,display:"flex",flexWrap:"wrap",gap:"6px 28px"},children:[["source","fontshare.com"],["licence","Fontshare free licence"],["weights","400 · 500 · 700"]].map(([y,k])=>r.jsxs("div",{children:[r.jsx("dt",{style:{fontSize:9,letterSpacing:"0.14em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:2},children:y}),r.jsx("dd",{style:{margin:0,fontSize:12,color:"var(--text-1)"},children:k})]},y))}),r.jsx("a",{href:"https://www.fontshare.com/fonts/satoshi",target:"_blank",rel:"noopener noreferrer",style:{display:"inline-block",background:"transparent",border:`1px solid ${e}`,color:e,padding:"7px 16px",fontFamily:"inherit",fontSize:10,letterSpacing:"0.12em",textTransform:"uppercase",borderRadius:3,textDecoration:"none",transition:"background .15s",flexShrink:0},onMouseEnter:y=>{y.currentTarget.style.background=e+"18"},onMouseLeave:y=>{y.currentTarget.style.background="transparent"},children:"Get Satoshi →"})]})]}),r.jsxs("div",{style:{border:"1px solid var(--border-0)",borderRadius:6,overflow:"hidden"},children:[r.jsxs("div",{style:{background:"var(--bg-1)",padding:"clamp(24px,4vw,40px) clamp(22px,4vw,36px)"},children:[r.jsx("div",{className:"f-mono",style:{fontSize:10,letterSpacing:"0.2em",color:e,textTransform:"uppercase",marginBottom:14},children:"eyebrows & technical"}),r.jsx("div",{className:"f-mono",style:{fontSize:"clamp(30px,4.6vw,44px)",fontWeight:400,color:"var(--text-0)",lineHeight:1,letterSpacing:"-0.01em",marginBottom:16},children:"JetBrains Mono"}),r.jsx("div",{className:"f-mono",style:{fontSize:13,color:"var(--text-1)",lineHeight:1.6,maxWidth:"40ch"},children:"Used for eyebrows, countdowns, section markers, block heights, nav labels, and anything numeric or technical."})]}),r.jsxs("div",{style:{borderTop:"1px solid var(--border-0)",padding:"16px clamp(22px,4vw,36px)",background:"#060608",display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:12},children:[r.jsx("dl",{style:{margin:0,display:"flex",flexWrap:"wrap",gap:"6px 28px"},children:[["source","fonts.google.com"],["licence","SIL Open Font 1.1"],["weights","300 · 400 · 500 · 600"]].map(([y,k])=>r.jsxs("div",{children:[r.jsx("dt",{style:{fontSize:9,letterSpacing:"0.14em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:2},children:y}),r.jsx("dd",{style:{margin:0,fontSize:12,color:"var(--text-1)"},children:k})]},y))}),r.jsx("a",{href:"https://fonts.google.com/specimen/JetBrains+Mono",target:"_blank",rel:"noopener noreferrer",style:{display:"inline-block",background:"transparent",border:`1px solid ${e}`,color:e,padding:"7px 16px",fontFamily:"inherit",fontSize:10,letterSpacing:"0.12em",textTransform:"uppercase",borderRadius:3,textDecoration:"none",transition:"background .15s",flexShrink:0},onMouseEnter:y=>{y.currentTarget.style.background=e+"18"},onMouseLeave:y=>{y.currentTarget.style.background="transparent"},children:"Get Mono →"})]})]})]}),r.jsx("style",{children:"@media (max-width: 700px) { .brand-dual-type { grid-template-columns: 1fr !important; } }"}),r.jsx("p",{style:{...a,marginBottom:"clamp(24px,4vh,36px)",maxWidth:"62ch"},children:"The legacy single-face system below (JetBrains Mono only) remains for reference on technical specimens and weight scales."}),r.jsxs("div",{style:{border:"1px solid var(--border-0)",borderRadius:6,overflow:"hidden",marginBottom:"clamp(28px,4vh,40px)"},children:[r.jsxs("div",{style:{background:"var(--bg-1)",padding:"clamp(28px,5vw,48px) clamp(24px,5vw,48px)"},children:[r.jsx("div",{style:{fontSize:"clamp(48px,9vw,80px)",fontWeight:400,color:"var(--text-0)",lineHeight:1,letterSpacing:"-0.02em",marginBottom:20},children:"JetBrains Mono"}),r.jsx("div",{style:{fontSize:"clamp(12px,2vw,14px)",color:"var(--text-3)",letterSpacing:"0.28em",textTransform:"uppercase",marginBottom:16},children:"Aa Bb Cc Dd Ee Ff Gg Hh Ii Jj Kk Ll Mm Nn Oo Pp"}),r.jsxs("div",{style:{fontSize:12,color:"var(--text-4)",letterSpacing:"0.18em"},children:["0 1 2 3 4 5 6 7 8 9 · ! ? @ # $ % & ( ) [ ] ","{ }"]})]}),r.jsxs("div",{style:{borderTop:"1px solid var(--border-0)",padding:"16px clamp(24px,5vw,48px)",background:"#060608",display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:12},children:[r.jsx("dl",{style:{margin:0,display:"flex",flexWrap:"wrap",gap:"6px 40px"},children:[["source","fonts.google.com"],["licence","SIL Open Font 1.1"],["weights","300 · 400 · 500 · 600"],["variable","yes (100–800)"]].map(([y,k])=>r.jsxs("div",{children:[r.jsx("dt",{style:{fontSize:9,letterSpacing:"0.14em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:2},children:y}),r.jsx("dd",{style:{margin:0,fontSize:12,color:"var(--text-1)"},children:k})]},y))}),r.jsx("a",{href:"https://fonts.google.com/specimen/JetBrains+Mono",target:"_blank",rel:"noopener noreferrer",style:{display:"inline-block",background:"transparent",border:`1px solid ${e}`,color:e,padding:"7px 16px",fontFamily:"inherit",fontSize:10,letterSpacing:"0.12em",textTransform:"uppercase",borderRadius:3,textDecoration:"none",transition:"background .15s",flexShrink:0},onMouseEnter:y=>{y.currentTarget.style.background=e+"18"},onMouseLeave:y=>{y.currentTarget.style.background="transparent"},children:"Download Free →"})]})]}),r.jsx("div",{style:{fontSize:10,letterSpacing:"0.18em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:1},children:"weights"}),r.jsx("div",{style:{border:"1px solid var(--border-0)",borderRadius:4,overflow:"hidden",marginBottom:"clamp(32px,5vh,48px)"},children:f.map(({w:y,role:k},m)=>r.jsxs("div",{style:{background:"var(--bg-1)",display:"grid",gridTemplateColumns:"100px 1fr auto",alignItems:"center",gap:24,padding:"20px 24px",borderTop:m>0?"1px solid var(--border-0)":"none"}
421,children:[r.jsxs("div",{style:{fontSize:10,color:"var(--text-3)",letterSpacing:"0.12em"},children:[y," · ",["light","regular","medium","semibold"][m]]}),r.jsx("div",{style:{fontSize:30,fontWeight:y,color:"var(--text-0)",letterSpacing:"-0.01em",lineHeight:1},children:"eCash 0123"}),r.jsx("div",{style:{fontSize:11,color:"var(--text-3)",letterSpacing:"0.06em",textAlign:"right",maxWidth:200},children:k})]},y))}),r.jsx("div",{style:{fontSize:10,letterSpacing:"0.18em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:1},children:"type hierarchy"}),r.jsx("div",{style:{border:"1px solid var(--border-0)",borderRadius:4,overflow:"hidden",marginBottom:"clamp(32px,5vh,48px)"},children:b.map((y,k)=>r.jsxs("div",{style:{background:k%2===0?"var(--bg-1)":"#060608",padding:"24px 28px",borderTop:k>0?"1px solid var(--border-0)":"none"},children:[r.jsx("div",{style:{fontSize:9,letterSpacing:"0.14em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:12},children:y.label}),r.jsx("div",{style:{fontSize:y.size,fontWeight:y.weight,letterSpacing:y.tracking,color:y.color,lineHeight:typeof y.size=="number"&&y.size<20?1.65:1.05,textTransform:y.upper?"uppercase":"none",maxWidth:y.maxWidth||"none"},children:y.text})]},k))}),r.jsx("div",{style:{fontSize:10,letterSpacing:"0.18em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:1},children:"three habits"}),r.jsx("div",{style:{border:"1px solid var(--border-0)",borderRadius:4,overflow:"hidden",marginBottom:"clamp(8px,1vh,12px)"},children:v.map((y,k)=>r.jsxs("div",{style:{background:"var(--bg-1)",display:"grid",gridTemplateColumns:"40px 1fr",gap:"0 24px",alignItems:"start",padding:"24px 28px",borderTop:k>0?"1px solid var(--border-0)":"none"},children:[r.jsx("div",{style:{fontSize:13,color:e,fontWeight:600,paddingTop:2},children:y.n}),r.jsxs("div",{children:[r.jsx("div",{style:{fontSize:16,color:"var(--text-0)",fontWeight:500,marginBottom:8},children:y.title}),r.jsx("div",{style:{fontSize:13,color:"var(--text-2)",lineHeight:1.65,marginBottom:y.sample?12:0},children:y.body}),y.sample&&r.jsx("div",{style:{...y.sample.style,padding:"10px 14px",background:"#121215",borderLeft:`2px solid ${e}
421`,fontSize:y.sample.style.fontSize||12,color:y.sample.style.color||"var(--text-2)"},children:y.sample.text})]})]},y.n))})]})}const $o=[{txt:"> initiating bug-hunt --season=summer-2026",hi:!1},{txt:"> prize_pool.............: $100,000 USD",hi:!0},{txt:"> contests...............: 5 × $20,000 · biweekly",hi:!1},{txt:"> deadlines..............: Jun 10 · 24 · Jul 8 · 22 · Aug 5",hi:!1},{txt:"> status.................: [ OPEN ]",hi:!0}],Fo=["2026-06-10T09:00:00Z","2026-06-24T09:00:00Z","2026-07-08T09:00:00Z","2026-07-22T09:00:00Z","2026-08-05T09:00:00Z"].map(e=>new Date(e).getTime()),wc=[{tier:"T1",name:"ForkNet",lbl:"critical",href:"https://github.com/drivechain-forknet/drivechain-forknet"},{tier:"T2",name:"BIP300/301 enforcer",lbl:"high",href:"https://github.com/LayerTwo-Labs/bip300301_enforcer"},{tier:"T3",name:"Thunder",lbl:"medium",href:"https://github.com/LayerTwo-Labs/thunder-rust"},{tier:"T3",name:"zSide",lbl:"medium",href:"https://github.com/iwakura-rein/thunder-orchard"},{tier:"T3",name:"BitWindow",lbl:"medium",href:"https://github.com/LayerTwo-Labs/drivechain-frontends"},{tier:"T4",name:"CoinShift",lbl:"low",href:"https://github.com/LayerTwo-Labs/coinshift-rs"},{tier:"T4",name:"BitNames",lbl:"low",href:"https://github.com/LayerTwo-Labs/plain-bitnames"},{tier:"T4",name:"BitAssets",lbl:"low",href:"https://github.com/LayerTwo-Labs/plain-bitassets"},{tier:"T5",name:"Photon",lbl:"minimal",href:"https://github.com/LayerTwo-Labs/photon"},{tier:"T5",name:"Truthcoin-DC",lbl:"minimal",href:"https://github.com/LayerTwo-Labs/truthcoin-dc"}],bc=[{tier:"T1",label:"Network fork · loss of funds · inflation · theft",col:"accent"},{tier:"T2",label:"Network crashes · mining halts · txns fail to confirm",col:"#e87c4a"},{tier:"T3",label:"Performance degrades significantly · software slows",col:"var(--text-1)"},{tier:"T4",label:"Anything else, graphical glitches · mysterious behavior",col:"var(--text-3)"}],kc=[{cmd:'$ pay --method="telegram-stars" --amount=20 --once',out:"> payment confirmed. entry window now active."},{cmd:'$ hunt --window="2 weeks" --repos="see scope"',out:"> document each bug: what it is, why it qualifies."},{cmd:'$ submit --to=@psztorc --format="bug-list+ReadMe" --by="Wed 09:00 UTC"',out:"> warning: invalid submissions incur negative points, be sure."},{cmd:'$ await --results="Thu 17:00 NYC" --payout="BTC or USD"',out:"> winners announced by Thursday 5 PM NYC. bug lists made public. collect in BTC or USD."}];function gx(){const e=Date.now();return Fo.find(n=>n>e)||Fo[Fo.length-1]}function yx({accent:e,setTab:t}){const[n,i]=C.useState(typeof window>"u"?$o.length:0);C.useEffect(()=>{const w=[0,380,720,1040,1360].map((j,_)=>setTimeout(()=>i(T=>Math.max(T,_+1)),j));return()=>w.forEach(clearTimeout)},[]);const o=()=>{const h=Math.max(0,gx()-Date.now());return{d:Math.floor(h/864e5),h:Math.floor(h%864e5/36e5),m:Math.floor(h%36e5/6e4),s:Math.floor(h%6e4/1e3)}},[a,s]=C.useState(o);C.useEffect(()=>{const h=setInterval(()=>s(o()),1e3);return()=>clearInterval(h)},[]);const c=h=>String(h).padStart(2,"0"),l=`${a.d}d ${c(a.h)}h ${c(a.m)}m ${c(a.s)}s`,u=C.useRef(null),[x,g]=C.useState(!1);C.useEffect(()=>{const h=()=>{if(!(window.innerWidth<768)){g(!1);return}const j=u.current;g(!j||j.getBoundingClientRect().top>window.innerHeight)};return h(),window.addEventListener("scroll",h,{passive:!0}),window.addEventListener("resize",h),()=>{window.removeEventListener("scroll",h),window.removeEventListener("resize",h)}},[]);const f={fontSize:10,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:14},b={borderBottom:"1px solid var(--border-0)",margin:"clamp(40px,6vh,56px) 0 clamp(28px,4vh,36px)"},v=h=>{h.currentTarget.style.opacity="0.82"},y=h=>{h.currentTarget.style.opacity="1"},k={display:"inline-flex",alignItems:"center",gap:8,minHeight:44,padding:"10px 24px",background:e,color:"var(--bg-0)",fontFamily:"inherit",fontSize:11,letterSpacing:"0.12em",textTransform:"uppercase",borderRadius:3,textDecoration:"none",border:"none",fontWeight:500,cursor:"pointer",whiteSpace:"nowrap",transition:"opacity .15s"},m={display:"inline-flex",alignItems:"center",minHeight:44,padding:"10px 20px",background:"transparent",border:"1px solid var(--border-1)",color:"var(--text-1)",fontFamily:"inherit",fontSize:11,letterSpacing:"0.12em",textTransform:"uppercase",borderRadius:3,textDecoration:"none",whiteSpace:"nowrap",transition:"opacity .15s"},p=h=>h==="T2"?"#e87c4a":h==="T3"?"var(--text-1)":h==="T4"?"var(--text-3)":"var(--text-4)",d=h=>h==="accent"?e:h;return r.jsxs("main",{style:{maxWidth:820,margin:"0 auto",padding:"clamp(120px,18vh,160px) clamp(20px,5vw,32px) clamp(100px,14vh,140px)",fontFamily:"inherit"},children:[r.jsx("div",{style:f,children:"§ mission brief"}),r.jsxs("div",{style:{marginBottom:28},children:[$o.slice(0,n).map((h,w)=>r.jsx("div",{style:{fontSize:11,color:h.hi?e:"var(--text-3)",letterSpacing:"0.04em",lineHeight:2,fontFamily:"inherit"},children:h.txt},w)),n<$o.length&&r.jsx("div",{style:{fontSize:11,color:"var(--text-4)",lineHeight:2,fontFamily:"inherit"},children:r.jsx("span",{className:"term-cursor",children:"▌"})})]}),r.jsx("div",{style:{fontSize:"clamp(56px,14vw,104px)",fontWeight:400,color:e,letterSpacing:"-0.04em",lineHeight:.88,marginBottom:12,fontFamily:"inherit"},children:"$100,000"}),r.jsx("h1",{style:{fontSize:13,fontWeight:400,color:"var(--text-2)",letterSpacing:"0.02em",margin:"0 0 clamp(20px,3vh,28px)",fontFamily:"inherit"},children:"Summer 2026 Bug Hunt Hackathon · by LayerTwoLabs · cross-promoted by eCash (ECX)"}),r.jsxs("div",{style:{display:"inline-flex",alignItems:"center",flexWrap:"wrap",gap:10,background:"var(--bg-1)",border:"1px solid var(--border-1)",borderRadius:3,padding:"9px 14px",marginBottom:"clamp(22px,3.5vh,32px)"},children:[r.jsx("div",{style:{width:6,height:6,borderRadius:"50%",background:e,flexShrink:0,boxShadow:`0 0 7px ${e}99`}}),r.jsx("span",{style:{fontSize:9,letterSpacing:"0.2em",color:"var(--text-3)",textTransform:"uppercase"},children:"next deadline"}),r.jsx("span",{style:{fontSize:13,color:"var(--text-0)",letterSpacing:"0.05em",fontFamily:"inherit"},children:l}),r.jsx("span",{style:{fontSize:9,letterSpacing:"0.16em",color:"var(--text-4)",textTransform:"uppercase"},children:"Wed · 09:00 UTC"})]}),r.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:10,marginBottom:"clamp(32px,5vh,48px)"},children:[r.jsx("a",{href:"https://t.me/psztorc",target:"_blank",rel:"noopener noreferrer",style:k,onMouseEnter:v,onMouseLeave:y,onClick:()=>{window.plausible&&window.plausible("CTA",{props:{action:"Bounty, submit hero"}}
421)},children:"Submit via @psztorc →"}),r.jsx("a",{href:"https://drivechain.info/blog/bug-contest/",target:"_blank",rel:"noopener noreferrer",style:m,onMouseEnter:v,onMouseLeave:y,onClick:()=>{window.plausible&&window.plausible("CTA",{props:{action:"Bounty, rules hero"}})},children:"Full rules (drivechain.info)"})]}),r.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(110px,1fr))",gap:1,background:"var(--border-0)",border:"1px solid var(--border-0)",borderRadius:4,overflow:"hidden"},children:[{label:"per contest",value:"$20,000"},{label:"contests",value:"5 total"},{label:"cadence",value:"biweekly"},{label:"top winners",value:"3 / round"},{label:"payout",value:"BTC / USD"}].map(h=>r.jsxs("div",{style:{background:"var(--bg-1)",padding:"16px 14px 14px"},children:[r.jsx("div",{style:{fontSize:9,letterSpacing:"0.2em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:7},children:h.label}),r.jsx("div",{style:{fontSize:"clamp(12px,2.2vw,16px)",color:"var(--text-0)",letterSpacing:"-0.01em",lineHeight:1},children:h.value})]},h.label))}),r.jsx("div",{style:b}),r.jsx("div",{style:f,children:"§ scope, repositories"}),r.jsxs("a",{href:"https://github.com/drivechain-forknet/drivechain-forknet",target:"_blank",rel:"noopener noreferrer",style:{display:"flex",textDecoration:"none",background:e+"0d",border:`1px solid ${e}40`,borderLeft:`3px solid ${e}`,borderRadius:"0 4px 4px 0",padding:"18px 20px",marginBottom:10,alignItems:"flex-start",justifyContent:"space-between",gap:16,flexWrap:"wrap",transition:"background .15s"},onMouseEnter:h=>h.currentTarget.style.background=e+"16",onMouseLeave:h=>h.currentTarget.style.background=e+"0d",onClick:()=>{window.plausible&&window.plausible("CTA",{props:{action:"Bounty. ForkNet GitHub"}})},children:[r.jsxs("div",{style:{display:"flex",gap:14,alignItems:"flex-start",minWidth:0},children:[r.jsx("div",{style:{fontSize:10,color:e,letterSpacing:"0.12em",flexShrink:0,paddingTop:2},children:"T1"}),r.jsxs("div",{children:[r.jsxs("div",{style:{fontSize:15,color:e,fontFamily:"inherit",fontWeight:500,marginBottom:5},children:["ForkNet",r.jsx("span",{style:{fontSize:10,color:e+"aa",letterSpacing:"0.1em",marginLeft:10,fontWeight:400},children:"↗ github"})]}),r.jsx("div",{style:{fontSize:12,color:"var(--text-2)",fontFamily:"inherit",lineHeight:1.6,maxWidth:"46ch"},children:"One T1 bug here = automatic 1st place, regardless of how many lower-tier bugs others submit."})]})]}),r.jsx("div",{style:{fontSize:9,letterSpacing:"0.16em",color:e,textTransform:"uppercase",border:`1px solid ${e}50`,borderRadius:2,padding:"4px 9px",flexShrink:0,alignSelf:"flex-start",whiteSpace:"nowrap"},children:"critical · auto-1st"})]}),r.jsxs("div",{style:{border:"1px solid var(--border-0)",borderRadius:4,overflow:"hidden",marginBottom:"clamp(28px,4vh,40px)"},children:[r.jsx("div",{style:{display:"grid",gridTemplateColumns:"40px 1fr 64px",background:"var(--bg-1)",borderBottom:"1px solid var(--border-0)",padding:"8px 16px",gap:12},children:["tier","repository","severity"].map((h,w)=>r.jsx("div",{style:{fontSize:9,letterSpacing:"0.18em",color:"var(--text-4)",textTransform:"uppercase",textAlign:w===2?"right":"left"},children:h},h))}),wc.slice(1).map((h,w)=>r.jsxs("a",{href:h.href,target:"_blank",rel:"noopener noreferrer",style:{display:"grid",gridTemplateColumns:"40px 1fr 64px",padding:"10px 16px",gap:12,borderBottom:w<wc.length-2?"1px solid var(--border-0)":"none",alignItems:"center",textDecoration:"none",transition:"background .12s"},onMouseEnter:j=>j.currentTarget.style.background="var(--bg-1)",onMouseLeave:j=>j.currentTarget.style.background="transparent",onClick:()=>{window.plausible&&window.plausible("CTA",{props:{action:`Bounty, ${h.name} GitHub`}})},children:[r.jsx("div",{style:{fontSize:10,color:p(h.tier),letterSpacing:"0.1em"},children:h.tier}),r.jsxs("div",{style:{fontSize:13,color:"var(--text-1)",fontFamily:"inherit"},children:[h.name,r.jsx("span",{style:{fontSize:9,color:"var(--text-4)",marginLeft:8},children:"↗"})]}),r.jsx("div",{style:{fontSize:9,color:p(h.tier),letterSpacing:"0.14em",textTransform:"uppercase",textAlign:"right"},children:h.lbl})]},h.name))]}),r.jsxs("div",{style:{fontSize:11,color:"var(--text-3)",marginBottom:"clamp(20px,3vh,28px)",fontFamily:"inherit"}
421,children:["For more info on the software stack →"," ",r.jsx("a",{href:"https://drivechain.info/dev.txt",target:"_blank",rel:"noopener noreferrer",style:{color:"var(--text-2)",textDecoration:"none",borderBottom:"1px solid var(--border-1)"},onMouseEnter:h=>{h.currentTarget.style.color="var(--text-0)",h.currentTarget.style.borderBottomColor="var(--text-2)"},onMouseLeave:h=>{h.currentTarget.style.color="var(--text-2)",h.currentTarget.style.borderBottomColor="var(--border-1)"},onClick:()=>{window.plausible&&window.plausible("CTA",{props:{action:"Bounty, dev.txt"}})},children:"drivechain.info/dev.txt"})]}),r.jsx("div",{style:{fontSize:10,letterSpacing:"0.2em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:10},children:"bug severity"}),r.jsx("div",{style:{border:"1px solid var(--border-0)",borderRadius:4,overflow:"hidden",marginBottom:"clamp(32px,5vh,48px)"},children:bc.map((h,w)=>r.jsxs("div",{style:{display:"grid",gridTemplateColumns:"40px 1fr",padding:"12px 16px",gap:12,borderBottom:w<bc.length-1?"1px solid var(--border-0)":"none",alignItems:"flex-start"},children:[r.jsx("div",{style:{fontSize:10,color:d(h.col),letterSpacing:"0.1em",paddingTop:2},children:h.tier}),r.jsx("div",{style:{fontSize:13,color:"var(--text-1)",fontFamily:"inherit",lineHeight:1.5},children:h.label})]},h.tier))}),r.jsx("div",{style:b}),r.jsx("div",{style:f,children:"§ prize pool"}),r.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:10,background:"var(--bg-1)",border:"1px solid var(--border-1)",borderRadius:3,padding:"10px 16px",marginBottom:20},children:[r.jsx("span",{style:{fontSize:13,color:e},children:"✦"}),r.jsxs("span",{style:{fontSize:12,color:"var(--text-1)",fontFamily:"inherit"},children:["Sole entry? You take home the full ",r.jsx("strong",{style:{color:e,fontWeight:500},children:"$20,000"}),"."]})]}),r.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:8,marginBottom:10},children:[{place:"1st",amount:"$9,000",col:e,border:"var(--border-1)"},{place:"2nd",amount:"$5,500",col:"var(--text-1)",border:"var(--border-0)"},{place:"3rd",amount:"$5,500",col:"var(--text-2)",border:"var(--border-0)"}].map(h=>r.jsxs("div",{style:{background:"var(--bg-1)",border:`1px solid ${h.border}`,borderRadius:4,padding:"clamp(18px,3vw,28px) clamp(12px,2vw,20px)",textAlign:"center"},children:[r.jsxs("div",{style:{fontSize:9,letterSpacing:"0.22em",color:"var(--text-4)",textTransform:"uppercase",marginBottom:14},children:[h.place," place"]}),r.jsx("div",{style:{fontSize:"clamp(22px,5vw,38px)",color:h.col,letterSpacing:"-0.03em",fontWeight:400,lineHeight:1,marginBottom:10},children:h.amount}),r.jsx("div",{style:{fontSize:9,color:"var(--text-4)",letterSpacing:"0.12em",textTransform:"uppercase"},children:"per contest"})]},h.place))}),r.jsx("div",{style:{fontSize:11,color:"var(--text-4)",letterSpacing:"0.06em",lineHeight:1.7,marginBottom:"clamp(32px,5vh,48px)"},children:"Prizes shown for 4+ qualified entries. Fewer entrants = larger individual payouts. 5 contests total."}),r.jsx("div",{style:b}),r.jsx("div",{style:f,children:"§ how to enter"}),r.jsx("div",{style:{border:"1px solid var(--border-0)",borderRadius:4,overflow:"hidden",marginBottom:"clamp(28px,4vh,40px)"},children:kc.map((h,w)=>r.jsxs("div",{style:{padding:"16px 18px",borderBottom:w<kc.length-1?"1px solid var(--border-0)":"none"},children:[r.jsx("div",{style:{fontSize:12,color:e,fontFamily:"inherit",letterSpacing:"0.02em",marginBottom:5,wordBreak:"break-word"},children:h.cmd}),r.jsx("div",{style:{fontSize:11,color:"var(--text-3)",fontFamily:"inherit",letterSpacing:"0.03em",lineHeight:1.6},children:h.out})]},w))}),r.jsx("div",{style:b}),r.jsx("div",{ref:u,style:f,children:"§ participate"}),r.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:10},children:[r.jsx("a",{href:"https://t.me/psztorc",target:"_blank",rel:"noopener noreferrer",style:k,onMouseEnter:v,onMouseLeave:y,onClick:()=>{window.plausible&&window.plausible("CTA",{props:{action:"Bounty, submit bottom"}})},children:"Submit via @psztorc →"}),r.jsx("a",{href:"https://drivechain.info/blog/bug-contest/",target:"_blank",rel:"noopener noreferrer",style:m,onMouseEnter:v,onMouseLeave:y,onClick:()=>{window.plausible&&window.plausible("CTA",{props:{action:"Bounty, rules bottom"}})},children:"Full rules (drivechain.info)"})]}),x&&r.jsx("div",{style:{position:"fixed",bottom:0,left:0,right:0,zIndex:200,padding:"10px 16px 16px",background:"var(--bg-0)",borderTop:"1px solid var(--border-0)"},children:r.jsx("a",{href:"https://t.me/psztorc",target:"_blank",rel:"noopener noreferrer",style:{...k,width:"100%",justifyContent:"center",minHeight:48,fontSize:12},onMouseEnter:v,onMouseLeave:y,onClick:()=>{window.plausible&&window.plausible("CTA",{props:{action:"Bounty, sticky"}})},children:"Submit via @psztorc →"})})]})}const Oo=[{category:"X · Twitter",accounts:[{handle:"@BTCdrivechains",href:"https://x.com/BTCdrivechains",desc:"The official eCash account, announcements, fork updates, and everything happening on ecash.com.",ch:"x"}
421,{handle:"@truthcoin",href:"https://x.com/truthcoin",desc:"Paul Sztorc's personal account. Bitcoin criticism, drivechain research, and the eCash thesis.",ch:"x"},{handle:"@layertwolabs",href:"https://x.com/layertwolabs",desc:"LayerTwo Labs team, dev updates, signet milestones, and protocol announcements.",ch:"x"}]},{category:"Telegram",accounts:[{handle:"@ecashcom_official",href:"https://t.me/ecashcom_official",desc:"Official eCash announcement channel, important updates, releases, and fork milestones.",ch:"telegram"},{handle:"@eCashHangout",href:"https://t.me/eCashHangout",desc:"The eCash community hangout, casual discussion, questions, and connecting with other supporters.",ch:"telegram"},{handle:"@DcInsiders",href:"https://t.me/DcInsiders",desc:"The main Drivechain community. BIP-300 discussion, ecosystem building, and technical debate.",ch:"telegram"},{handle:"@psztorc",href:"https://t.me/psztorc",desc:"Paul's personal Telegram, longer-form commentary and direct updates from the founder.",ch:"telegram"}]},{category:"YouTube",accounts:[{handle:"@ecashdotcom",href:"https://youtube.com/@ecashdotcom",desc:"Interviews, explainer videos, a decade of Drivechain talks, and recorded debates.",ch:"youtube"}]},{category:"GitHub",accounts:[{handle:"LayerTwo-Labs",href:"https://github.com/LayerTwo-Labs",desc:"Open-source home of the eCash node, BitWindow, Thunder, zSide, and all L2 repos.",ch:"github"},{handle:"ecash-com",href:"https://github.com/ecash-com",desc:"Source for ecash.com, the wallet apps, and other eCash.com-maintained repos.",ch:"github"}]},{category:"Blog",accounts:[{handle:"ecashblog.com",href:"https://ecashblog.com/",desc:"Community-run publication covering the eCash thesis, Drivechain philosophy, and fork analysis. Not affiliated with LayerTwo Labs.",ch:"blog"}]},{category:"Websites",accounts:[{handle:"layertwolabs.com",href:"https://layertwolabs.com",desc:"LayerTwo Labs, the company building the eCash node, BitWindow, and the L2 sidechain stack.",ch:"web"},{handle:"drivechain.info",href:"https://drivechain.info",desc:"Paul Sztorc's site on the Drivechain thesis, BIP-300/301, and the research behind eCash.",ch:"web"}]}];function vx({accent:e}){const t={"X · Twitter":"[X]",Telegram:"[TG]",YouTube:"[YT]",GitHub:"[GH]",Blog:"[◈]",Websites:"[W]"},n={"@BTCdrivechains":"official","@ecashdotcom":"official","@truthcoin":"main-contributor","@layertwolabs":"official","@ecashcom_official":"official","@eCashHangout":"community","@DcInsiders":"community","@psztorc":"main-contributor","LayerTwo-Labs":"official","ecash-com":"official","ecashblog.com":"community","layertwolabs.com":"official","drivechain.info":"main-contributor"},i=Oo.reduce((o,a)=>o+a.accounts.length,0);return r.jsxs("main",{style:{position:"relative",maxWidth:900,margin:"0 auto",padding:"clamp(120px,18vh,160px) clamp(20px,5vw,40px) clamp(80px,12vh,120px)"},children:[r.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between",flexWrap:"wrap",gap:8,marginBottom:14},children:[r.jsx("div",{style:{fontSize:10,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase"},children:"§ social channels"}),r.jsxs("div",{style:{fontSize:9,letterSpacing:"0.14em",color:"var(--text-4)",textTransform:"uppercase"},children:[Oo.length," platforms · ",i," channels"]})]}),r.jsx("h1",{style:{fontSize:"clamp(28px,6vw,48px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.02em",lineHeight:1.1,margin:"0 0 8px",fontFamily:"inherit"},children:"Community & Socials"}),r.jsx("div",{style:{fontSize:14,color:"var(--text-2)",marginBottom:"clamp(24px,5vh,40px)",fontFamily:"inherit"},children:"Every place the eCash community lives online."}),r.jsx("div",{style:{borderBottom:"1px solid var(--border-0)",marginBottom:"clamp(40px,7vh,64px)"}}),Oo.map((o,a)=>r.jsxs("div",{style:{marginBottom:"clamp(48px,8vh,72px)"},children:[r.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,paddingBottom:12,borderBottom:"1px solid var(--border-0)",marginBottom:12},children:[r.jsx("span",{style:{fontSize:10,letterSpacing:"0.12em",color:"var(--text-3)",fontWeight:400},children:t[o.category]}),r.jsx("span",{style:{fontSize:11,letterSpacing:"0.22em",textTransform:"uppercase",color:"var(--text-1)",fontWeight:500},children:o.category}),r.jsx("div",{style:{flex:1}}),r.jsx("span",{style:{fontSize:9,letterSpacing:"0.14em",color:"var(--text-4)",textTransform:"uppercase"},children:o.accounts.length===1?"1 channel":`${o.accounts.length} channels`})]}),r.jsx("div",{className:"sc-grid",children:o.accounts.map((s,c)=>{const l=n[s.handle]||"community",u=(a*3+c)*55;return r.jsxs("a",{className:"sc-card",href:s.href,target:"_blank",rel:"noopener noreferrer",style:{animationDelay:`${u}ms`},onClick:()=>{window.plausible&&window.plausible("External social clicked",{props:{channel:s.ch}})},children:[r.jsxs("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:10,marginBottom:9},children:[r.jsx("span",{style:{fontSize:"clamp(13px,2.2vw,14px)",fontWeight:500,color:"var(--text-0)",letterSpacing:"-0.01em",lineHeight:1.2},children:s.handle}),r.jsx("span",{className:`sc-badge sc-badge-${l}`,children:l.replace(/-/g," ")})]}),r.jsx("p",{style:{fontSize:"clamp(11px,1.8vw,12px)",color:"var(--text-2)",lineHeight:1.65,margin:0,letterSpacing:"0.01em",paddingRight:16},children:s.desc}),r.jsx("span",{className:"sc-arrow",children:"→"})]},s.handle)})})]},o.category))]})}function wx({accent:e,align:t="start",size:n="md",inline:i=!1,style:o}
421){const s=E.ROADMAP[2].blockHeight.toLocaleString(),c=E.FORK_DATE_APPROX,l={sm:{block:"clamp(11px,1.4vw,13px)",date:"clamp(9px,1.1vw,11px)",gap:3},md:{block:"clamp(13px,1.8vw,16px)",date:"clamp(10px,1.3vw,12px)",gap:4},lg:{block:"clamp(16px,2.4vw,22px)",date:"clamp(11px,1.5vw,13px)",gap:6}}[n]||{};return i?r.jsxs("span",{style:{display:"inline-flex",alignItems:"baseline",gap:6,...o},children:[r.jsxs("span",{style:{fontSize:l.block,letterSpacing:"0.08em",color:e||"var(--text-0)",fontVariantNumeric:"tabular-nums"},children:["Mainnet Block Height ~",s]}),r.jsx("span",{style:{fontSize:l.date,letterSpacing:"0.06em",color:"var(--text-4)",fontWeight:300},children:c})]}):r.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:t==="center"?"center":"flex-start",gap:l.gap,...o},children:[r.jsxs("span",{style:{fontSize:l.block,letterSpacing:"0.1em",color:e||"var(--text-05)",fontVariantNumeric:"tabular-nums",textTransform:"uppercase"},children:["Mainnet Block Height ",r.jsxs("span",{style:{color:e||"var(--text-0)"},children:["~",s]})]}),r.jsx("span",{style:{fontSize:l.date,letterSpacing:"0.14em",color:"var(--text-4)",fontWeight:300,textTransform:"lowercase"},children:c})]})}const bx=e=>String(e+1).padStart(2,"0");function kx({status:e,accent:t}){const n=e==="live";return r.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:6,fontSize:8,letterSpacing:"0.16em",textTransform:"uppercase",padding:"3px 8px",borderRadius:2,lineHeight:1.6,fontWeight:500,border:`1px solid ${n?"rgba(120,200,120,.4)":t+"55"}`,color:n?"#7bc47b":t,background:n?"rgba(120,200,120,.06)":`${t}0c`},children:[r.jsx("span",{style:{width:5,height:5,borderRadius:"50%",background:n?"#7bc47b":t,boxShadow:`0 0 5px ${n?"#7bc47b":t}`}}),n?"live":"in progress"]})}function jx({sc:e,i:t,accent:n}){const[i,o]=C.useState(!1),a=e.repo.replace("https://github.com/","");return r.jsxs("a",{href:e.repo,target:"_blank",rel:"noopener noreferrer",onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),style:{display:"flex",flexDirection:"column",gap:14,textDecoration:"none",position:"relative",padding:"clamp(18px,3vw,24px)",border:`1px solid ${i?n+"66":n+"2e"}`,borderRadius:6,background:i?`${n}0b`:`${n}06`,transform:i?"translateY(-2px)":"none",boxShadow:i?`0 10px 30px ${n}22`:"none",transition:"transform .2s, border-color .2s, box-shadow .2s, background .2s"},children:[r.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[r.jsx("div",{style:{width:40,height:40,borderRadius:10,background:i?n:`${n}22`,color:i?"var(--bg-0)":n,display:"flex",alignItems:"center",justifyContent:"center",fontSize:15,fontWeight:600,transition:"background .2s, color .2s"},children:e.name.charAt(0)}),r.jsx(kx,{status:e.status,accent:n})]}),r.jsxs("div",{children:[r.jsx("div",{style:{fontSize:9,letterSpacing:"0.18em",color:"var(--text-4)",marginBottom:4},children:bx(t)}),r.jsx("div",{style:{fontSize:"clamp(16px,2.4vw,19px)",fontWeight:500,color:"var(--text-0)",letterSpacing:"-0.01em"},children:e.name})]}),r.jsx("div",{style:{fontSize:13,lineHeight:1.55,color:"var(--text-2)",flex:1},children:e.desc}),r.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,paddingTop:10,borderTop:"1px solid var(--border-0)",fontSize:10,letterSpacing:"0.06em",color:i?n:"var(--text-3)",textTransform:"uppercase",transition:"color .2s"},children:[r.jsx("span",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:a}),r.jsx("span",{style:{flexShrink:0},children:"↗"})]})]})}function Sx({accent:e="#e8a84a",setTab:t}){const n=E.SIDECHAINS,i=n.filter(a=>a.status==="live").length,o=n.length-i;return r.jsxs("main",{style:{maxWidth:1e3,margin:"0 auto",padding:"clamp(120px,18vh,160px) clamp(20px,5vw,32px) clamp(80px,12vh,120px)"},children:[r.jsxs(F,{children:[r.jsx("div",{style:{fontSize:10,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:14},children:"§ sidechains"}),r.jsx("h1",{style:{fontSize:"clamp(28px,6vw,48px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.02em",lineHeight:1.1,margin:"0 0 12px"},children:"eCash (ECX) sidechains"}),r.jsxs("p",{style:{fontSize:"clamp(13px,2.5vw,16px)",color:"var(--text-2)",lineHeight:1.7,margin:"0 0 20px",maxWidth:640}
421,children:["Seven LayerTwo Labs projects explore different uses for sidechains. Learn ",r.jsx("a",{href:"/drivechains/",style:{color:e},children:"how Drivechains and BIP300/BIP301 work"}),", then review each project’s current software and network status before use."]}),r.jsxs("div",{style:{display:"flex",gap:20,flexWrap:"wrap",alignItems:"center",fontSize:11,letterSpacing:"0.14em",color:"var(--text-3)",textTransform:"uppercase"},children:[r.jsxs("span",{children:[r.jsx("span",{style:{color:"var(--text-0)"},children:n.length})," sidechains"]}),r.jsx("span",{style:{color:"var(--border-2)"},children:"·"}),r.jsxs("span",{children:[r.jsx("span",{style:{color:"#7bc47b"},children:i})," live"]}),r.jsx("span",{style:{color:"var(--border-2)"},children:"·"}),r.jsxs("span",{children:[r.jsx("span",{style:{color:e},children:o})," in progress"]})]})]}),r.jsx("div",{style:{borderBottom:"1px solid var(--border-0)",margin:"clamp(24px,5vh,40px) 0"}}),r.jsx("div",{className:"sidechain-grid",style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(260px, 1fr))",gap:14},children:n.map((a,s)=>r.jsx(F,{delay:s%3*70,children:r.jsx(jx,{sc:a,i:s,accent:e})},a.slug))}),r.jsx(F,{delay:80,children:r.jsxs("div",{style:{marginTop:"clamp(36px,6vh,56px)",display:"flex",flexDirection:"column",gap:16},children:[r.jsxs("div",{style:{padding:"clamp(16px,3vw,22px)",border:"1px solid var(--border-0)",borderRadius:6,background:"var(--bg-1)"},children:[r.jsx("div",{style:{fontSize:14,color:"var(--text-05)",lineHeight:1.6,marginBottom:8},children:"Anyone can propose a new sidechain; activation depends on the network’s miner-signalling rules."}),r.jsx("a",{href:"https://www.drivechain.info",target:"_blank",rel:"noopener noreferrer",style:{fontSize:11,letterSpacing:"0.16em",textTransform:"uppercase",color:e,textDecoration:"none"},children:"learn how on drivechain.info ↗"})]}),r.jsxs("div",{style:{padding:"clamp(16px,3vw,22px)",border:`1px solid ${e}22`,borderLeft:`2px solid ${e}60`,borderRadius:6,background:`${e}06`},children:[r.jsx("div",{style:{fontSize:9,letterSpacing:"0.22em",color:e,textTransform:"uppercase",marginBottom:8},children:"on photon"}),r.jsx("div",{style:{fontSize:13,color:"var(--text-2)",lineHeight:1.7,marginBottom:8},children:"Photon is a quantum-resistant sidechain, a hedge against a future where Bitcoin's signature scheme is threatened, without changing Bitcoin itself."}),r.jsx(Ke,{tab:"faq",setTab:t,style:{background:"none",border:"none",padding:0,cursor:"pointer",fontFamily:"inherit",fontSize:11,letterSpacing:"0.16em",textTransform:"uppercase",color:e},children:"see the faq →"})]})]})}),r.jsx(F,{delay:120,children:r.jsx("div",{style:{marginTop:"clamp(32px,5vh,44px)",display:"flex",justifyContent:"center"},children:r.jsx(wx,{accent:e,align:"center",size:"sm"})})})]})}const Cx="https://ecash.onrender.com",Qr="cTxqg4vt21u1Q2f9DSEig6S1fxmxLSsUV2v2wWspump",Tx="AZAQQsLehoqJawgT1dZjYuicZZG12uPCkoFGufwitkBu",jc=5e4,Ho=30;function Sc(e){var t=parseFloat(e);return isFinite(t)?t:0}function Gr(e,t){return e==null||!Number.isFinite(e)?"—":(t=t===void 0?0:t,"$"+Number(e).toLocaleString("en-US",{minimumFractionDigits:t,maximumFractionDigits:t}))}function Xo(e,t){return e==null||!Number.isFinite(e)?"—":(t=t===void 0?0:t,Number(e).toLocaleString("en-US",{minimumFractionDigits:t,maximumFractionDigits:t}))}const _x=`
422.solmath{--ink:#161616;--ink-soft:#555;--line:#cfcfcf;--line-strong:#9a9a9a;--head:#f1f1f1;--edit:#fffceb;--edit-line:#d8cf9a;--paper:#ffffff;--shade:#fafafa;font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;background:#e9e9e9;padding:28px 16px 60px;min-height:100vh;color:#161616;box-sizing:border-box;}
423.solmath *,.solmath *::before,.solmath *::after{box-sizing:border-box;}
424.solmath a{color:inherit;text-decoration:none;}
425.solmath .sheet{max-width:880px;margin:0 auto;background:var(--paper);border:1px solid var(--line-strong);}
426.solmath .filebar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--head);border-bottom:1px solid var(--line-strong);padding:7px 12px;font-size:11.5px;color:var(--ink-soft);}
427.solmath .filebar-logo{display:flex;align-items:center;gap:6px;flex-shrink:0;}
428.solmath .filebar-logo img{width:18px;height:18px;display:block;}
429.solmath .filebar-logo .logo-name{color:var(--ink);font-weight:500;font-size:12px;letter-spacing:.04em;}
430.solmath .filebar .fname{color:var(--ink);font-weight:500;}
431.solmath .filebar .ro{border:1px solid var(--line-strong);padding:1px 6px;border-radius:2px;background:#fff;font-size:10.5px;letter-spacing:.04em;text-transform:uppercase;}
432.solmath .pad{padding:26px 30px;}
433.solmath h1{font-size:24px;font-weight:700;margin:0 0 2px;letter-spacing:-0.01em;color:var(--ink);font-family:inherit;line-height:1.2;}
434.solmath .h1-sub{font-size:11px;color:var(--ink-soft);letter-spacing:.08em;margin:0 0 14px;}
435.solmath .sub{color:var(--ink-soft);margin:0 0 18px;font-size:13px;max-width:62ch;}
436.solmath .cta{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:var(--ink);border:1px solid var(--ink);background:#fff;padding:8px 14px;font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;font-weight:500;cursor:pointer;transition:background .12s,color .12s;}
437.solmath .cta:hover{background:var(--ink);color:#fff;}
438.solmath .cta .arrow{font-weight:700;}
439.solmath .note{border:1px solid var(--line-strong);background:var(--shade);padding:12px 14px;font-size:12.5px;color:var(--ink);margin:18px 0;}
440.solmath .note.tight{margin:10px 0 0;}
441.solmath .note .lbl{display:block;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:5px;}
442.solmath .note.secondary{background:#fff;}
443.solmath .sectionhead{display:flex;align-items:baseline;gap:10px;margin:34px 0 10px;padding-bottom:6px;border-bottom:2px solid var(--ink);}
444.solmath .sectionhead .n{font-weight:700;font-size:13px;color:var(--ink);}
445.solmath .sectionhead h2{font-size:14px;font-weight:500;margin:0;color:var(--ink);font-family:inherit;}
446.solmath table{width:100%;border-collapse:collapse;font-size:13px;color:var(--ink);}
447.solmath th,.solmath td{border:1px solid var(--line);padding:7px 10px;text-align:left;vertical-align:middle;}
448.solmath thead th{background:var(--head);border-color:var(--line-strong);font-weight:500;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-soft);}
449.solmath .rownum{width:30px;background:var(--head);color:var(--ink-soft);text-align:center;font-size:11px;border-color:var(--line-strong);}
450.solmath td.label{width:46%;}
451.solmath td.val{text-align:right;font-weight:500;color:var(--ink);}
452.solmath tr.total td{border-top:2px solid var(--line-strong);font-weight:700;background:var(--shade);}
453.solmath tr.derived td.val{color:var(--ink);}
454.solmath td.input{background:var(--edit);border-color:var(--edit-line);padding:0;text-align:right;}
455.solmath td.input input{width:100%;border:0;background:transparent;font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;font-weight:500;color:var(--ink);text-align:right;padding:7px 10px;display:block;}
456.solmath td.input input:focus{outline:2px solid #2b2b2b;outline-offset:-2px;background:#fffef5;}
457.solmath .unit{color:var(--ink-soft);font-weight:400;}
458.solmath .live-tag{display:inline-block;font-size:9px;letter-spacing:.06em;text-transform:uppercase;background:#ecfdf5;color:#059669;border:1px solid #a7f3d0;padding:1px 5px;border-radius:2px;vertical-align:middle;margin-left:5px;}
459.solmath .wallet-hint{font-size:10px;color:var(--ink-soft);margin-top:3px;word-break:break-all;font-weight:400;}
460.solmath .addrbox{display:flex;flex-wrap:wrap;align-items:center;gap:10px;border:1px solid var(--line-strong);background:var(--shade);padding:12px 14px;margin-top:8px;}
461.solmath .addrbox .k{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-soft);}
462.solmath .addrbox .a{font-size:12.5px;word-break:break-all;flex:1 1 240px;color:var(--ink);}
463.solmath .copybtn{border:1px solid var(--ink);background:#fff;color:var(--ink);font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;padding:5px 12px;cursor:pointer;transition:background .12s,color .12s;}
464.solmath .copybtn:hover,.solmath .copybtn.ok{background:var(--ink);color:#fff;}
465.solmath .bottomctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px;}
466.solmath footer{margin-top:30px;padding-top:14px;border-top:1px solid var(--line);font-size:11.5px;color:var(--ink-soft);}
467.solmath .smallnote{font-size:12px;color:var(--ink-soft);margin:9px 0 0;}
468.solmath .faq-block{border-top:1px solid var(--line);margin-top:4px;}
469.solmath .faq-item{padding:16px 0;border-bottom:1px solid var(--line);}
470.solmath .faq-item:last-child{border-bottom:none;}
471.solmath .faq-q{font-size:13px;font-weight:600;color:var(--ink);margin:0 0 9px;font-family:inherit;}
472.solmath .faq-a{font-size:13px;color:var(--ink-soft);margin:0;line-height:1.65;padding-left:14px;border-left:2px solid var(--line-strong);max-width:60ch;}
473@media(max-width:640px){
474  .solmath{padding:14px 8px 40px;}
475  .solmath .pad{padding:20px 16px;}
476}
477`;function Bx(){return r.jsx("img",{src:"/ecash-logo.svg",width:"18",height:"18",alt:"eCash",style:{display:"block"}})}function Ex({accent:e,setTab:t}){const[n,i]=ot.useState("120"),[o,a]=ot.useState("5"),[s,c]=ot.useState(null),[l,u]=ot.useState("loading"),[x,g]=ot.useState(!1);ot.useEffect(()=>{let A=!0;const S=60*1e3;function P(){fetch(Cx+"/api/sol-token",{headers:{accept:"application/json"}}).then(O=>O.ok?O.json():Promise.reject()).then(O=>{if(!A)return;const ie=O&&O.config&&O.config.creatorRewardsUsd;ie!=null&&Number.isFinite(Number(ie))?(c(Number(ie)),u(O.config.rewardsSource==="fallback"?"estimate":"API data")):u("unavailable")}).catch(()=>{A&&u("unavailable")})}P();const D=setInterval(P,S);return()=>{A=!1,clearInterval(D)}},[]);const f=s==null?NaN:s/Ho,b=f/jc*100,v=f*Ho,y=Sc(o),k=Sc(n),m=s==null?NaN:s*y,p=m/Ho,d=p/jc*100,h=p*k,w=new Date,j=w.getUTCFullYear()+"-"+String(w.getUTCMonth()+1).padStart(2,"0")+"-"+String(w.getUTCDate()).padStart(2,"0");function _(){const A=()=>{g(!0),setTimeout(()=>g(!1),1400)};if(navigator.clipboard&&navigator.clipboard.writeText)navigator.clipboard.writeText(Qr).then(A,A);else{const S=document.createElement("textarea");S.value=Qr,document.body.appendChild(S),S.select();try{document.execCommand("copy")}catch{}document.body.removeChild(S),A()}}const T={width:"34px",border:"1px solid var(--edit-line)",background:"var(--edit)",fontFamily:'"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace',fontSize:"12px",textAlign:"center",padding:"1px"};return r.jsxs("div",{className:"solmath","data-nosnippet":!0,children:[r.jsx("style",{children:_x}),r.jsx("noscript",{children:"Current rewards require JavaScript and a successful API response; no live amount is included in this static page."}),r.jsxs("div",{className:"sheet",children:[r.jsxs("div",{className:"filebar",children:[r.jsxs("div",{className:"filebar-logo",children:[r.jsx(Bx,{}),r.jsx("span",{className:"logo-name",children:"eCash"})]}),r.jsx("span",{className:"fname",children:"sol-ecash_swap_math.xlsx"}),r.jsxs("span",{className:"ro",children:["updated ",j]})]}),r.jsxs("div",{className:"pad",children:[r.jsx("h1",{children:"sol-ecash → $ECX"}),r.jsx("div",{className:"h1-sub",children:"swap math"}),r.jsx("p",{className:"sub",children:"The top 15 holders of the pump.fun $eCash token at fork day can each redeem once, weighted by their share of the top-15 pool."}),r.jsxs("div",{className:"note",children:[r.jsx("span",{className:"lbl",children:"Note"}),"This is not a focus of the project. But a sol-ecash market already exists, it is spreading, and it will continue with or without us. Documenting one limited swap is the cleanest way to point that energy in the same direction as the fork."]}),r.jsx("div",{className:"note secondary",children:"Real eCash is not a Solana token. The Solana token is a memecoin. The only thing described here is a limited swap calculation."}),r.jsxs("div",{className:"sectionhead",children:[r.jsx("span",{className:"n",children:"1."}),r.jsx("h2",{children:"Current outcome"})]}),r.jsxs("table",{children:[r.jsx("thead",{children:r.jsxs("tr",{children:[r.jsx("th",{className:"rownum",children:"#"}),r.jsx("th",{children:"Item"}),r.jsx("th",{style:{textAlign:"right"},children:"Value"})]})}),r.jsxs("tbody",{children:[r.jsxs("tr",{children:[r.jsx("td",{className:"rownum",children:"1"}),r.jsxs("td",{className:"label",children:["Creator rewards so far ",r.jsx("span",{className:"live-tag",children:l}),r.jsx("div",{className:"wallet-hint",children:Tx})]}),r.jsx("td",{className:"val",children:Gr(s)})]}),r.jsxs("tr",{children:[r.jsx("td",{className:"rownum",children:"2"}),r.jsx("td",{className:"label",children:"eCash reference price"}),r.jsx("td",{className:"val",children:"$30"})]}),r.jsxs("tr",{className:"derived",children:[r.jsx("td",{className:"rownum",children:"3"}),r.jsxs("td",{className:"label",children:["eCash in swap pool ",r.jsx("span",{className:"unit",children:"= row 1 / row 2"})]}),r.jsxs("td",{className:"val",children:[Xo(f,1)," ECX"]})]}),r.jsxs("tr",{className:"derived",children:[r.jsx("td",{className:"rownum",children:"4"}),r.jsx("td",{className:"label",children:"% of 50,000 max pool"}),r.jsxs("td",{className:"val",children:[Number.isFinite(b)?b.toFixed(2):"—","%"]})]}),r.jsxs("tr",{className:"total",children:[r.jsx("td",{className:"rownum",children:"5"}),r.jsx("td",{className:"label",children:"Value of pool at ref price"}),r.jsx("td",{className:"val",children:Gr(v)})]})]})]}),r.jsxs("p",{className:"smallnote",children:["If the top 15 holders were combined into one person, they would receive around"," ",Xo(Math.round(f))," ECX using the programme’s $30 reference price, not a market-price quote."]}),r.jsxs("div",{className:"sectionhead",children:[r.jsx("span",{className:"n",children:"2."}),r.jsx("h2",{children:"Potential outcome"})]}),r.jsxs("table",{children:[r.jsx("thead",{children:r.jsxs("tr",{children:[r.jsx("th",{className:"rownum",children:"#"}),r.jsx("th",{children:"Item"}),r.jsx("th",{style:{textAlign:"right"},children:"Value"})]})}),r.jsxs("tbody",{children:[r.jsxs("tr",{className:"derived",children:[r.jsx("td",{className:"rownum",children:"1"}),r.jsxs("td",{className:"label",children:["Creator rewards ",r.jsx("span",{className:"unit",children:"×"}),r.jsx("input",{type:"text",inputMode:"decimal",value:o,onChange:A=>a(A.target.value),style:T})]}),r.jsx("td",{className:"val",children:Gr(m)})]}),r.jsxs("tr",{children:[r.jsx("td",{className:"rownum",children:"2"}),r.jsx("td",{className:"label",children:"eCash reference price used for pool"}),r.jsx("td",{className:"val",children:"$30"})]}),r.jsxs("tr",{children:[r.jsx("td",{className:"rownum",children:"3"}),r.jsx("td",{className:"label",children:"Example future $ECX price"}),r.jsx("td",{className:"input",children:r.jsx("input",{type:"text",inputMode:"decimal",value:n,onChange:A=>i(A.target.value)})})]}),r.jsxs("tr",{className:"derived",children:[r.jsx("td",{className:"rownum",children:"4"}),r.jsxs("td",{className:"label",children:["eCash in swap pool ",r.jsx("span",{className:"unit",children:"= row 1 / row 2"})]}),r.jsxs("td",{className:"val",children:[Xo(p,1)," ECX"]})]}),r.jsxs("tr",{className:"derived",children:[r.jsx("td",{className:"rownum",children:"5"}),r.jsx("td",{className:"label",children:"% of 50,000 max pool"}),r.jsxs("td",{className:"val",children:[Number.isFinite(d)?d.toFixed(2):"—","%"]})]}),r.jsxs("tr",{className:"total",children:[r.jsx("td",{className:"rownum",children:"6"}),r.jsx("td",{className:"label",children:"Value of pool at future price"}),r.jsx("td",{className:"val",children:Gr(h)})]})]})]}),r.jsx("div",{className:"note tight",children:"The swap pool is calculated at $30/ECX. The second example only shows what that same ECX amount would be worth if ECX later traded at higher price."}),r.jsxs("div",{className:"sectionhead",children:[r.jsx("span",{className:"n",children:"3."}),r.jsx("h2",{children:"Token reference"})]}),r.jsxs("div",{className:"addrbox",children:[r.jsx("span",{className:"k",children:"Token address"}),r.jsx("span",{className:"a",children:Qr}),r.jsx("button",{className:"copybtn"+(x?" ok":""),onClick:_,children:x?"Copied":"Copy"})]}),r.jsx("div",{className:"bottomctas",children:r.jsxs("a",{className:"cta",href:"https://pump.fun/coin/"+Qr,target:"_blank",rel:"noopener noreferrer",children:["View token on pump.fun ",r.jsx("span",{className:"arrow",children:"→"})]})}),r.jsx("div",{style:{marginTop:"20px",paddingTop:"16px",borderTop:"1px solid var(--line)"},children:r.jsx("a",{href:"https://claude.ai/public/artifacts/2d3b895b-9024-4222-b564-970b40935bdd",target:"_blank",rel:"noopener noreferrer",style:{fontSize:"11.5px",color:"var(--ink-soft)",textDecoration:"none",borderBottom:"1px dotted var(--line-strong)",paddingBottom:"1px"},children:"Dashboard, from the Sol community →"})}),r.jsxs("div",{className:"sectionhead",children:[r.jsx("span",{className:"n",children:"4."}),r.jsx("h2",{children:"FAQ"})]}),r.jsxs("div",{className:"faq-block",children:[r.jsxs("div",{className:"faq-item",children:[r.jsx("p",{className:"faq-q",children:"What if I am not in the top 15?"}),r.jsx("p",{className:"faq-a",children:"Your coins have zero redeem value to you, but they have 100% redeem value to someone in the top 15. You should be able to sell your sol-coins to one of them, for about 99% of their redeem value."})]}),r.jsxs("div",{className:"faq-item",children:[r.jsx("p",{className:"faq-q",children:"Should I ask Paul about this on X?"}),r.jsx("p",{className:"faq-a",children:"No. He considers this to be noise, and almost completely off-topic."})]})]})]})]})]})}function zx({accent:e,setTab:t}){return r.jsx(Ex,{accent:e,setTab:t})}const Vs={fontSize:"clamp(13px, 2.5vw, 15px)",lineHeight:1.7,color:"var(--text-1)",margin:"0 0 16px",fontFamily:"inherit"},eu={fontSize:"clamp(16px, 3vw, 19px)",fontWeight:500,color:"var(--text-0)",letterSpacing:"-0.01em",margin:"clamp(28px, 5vh, 40p
477x) 0 12px",fontFamily:"inherit"},tu={...Vs,paddingLeft:"1.2em"},nu={marginBottom:6};function ru({eyebrow:e,title:t,effectiveDate:n,children:i}){return r.jsxs("main",{style:{position:"relative",maxWidth:720,margin:"0 auto",padding:"clamp(120px, 18vh, 160px) clamp(20px, 5vw, 32px) clamp(80px, 12vh, 120px)"},children:[r.jsx("div",{style:{fontSize:10,letterSpacing:"0.22em",color:"var(--text-3)",textTransform:"uppercase",marginBottom:14},children:e}),r.jsx("h1",{style:{fontSize:"clamp(28px, 6vw, 48px)",fontWeight:400,color:"var(--text-0)",letterSpacing:"-0.02em",lineHeight:1.1,margin:"0 0 8px",fontFamily:"inherit"},children:t}),r.jsxs("div",{style:{fontSize:14,color:"var(--text-2)",marginTop:8,fontFamily:"inherit"},children:["Effective date: ",n]}),r.jsx("div",{style:{borderBottom:"1px solid var(--border-0)",margin:"clamp(24px, 5vh, 40px) 0"}}),r.jsx("div",{children:i})]})}function Nx(){const e=Vs,t=eu,n=tu,i=nu;return r.jsxs(ru,{eyebrow:"§ legal",title:"eCash Wallet Privacy Policy",effectiveDate:"August 6, 2026",children:[r.jsx("p",{style:e,children:"Mainchain Research Group Foundation (“Foundation,” “we,” “us,” or “our”) publishes and maintains the eCash Wallet application for iOS, Android, and web (the “Wallet”), and the ecash.com website (the “Site”). This Privacy Policy explains what happens to your information when you use the Wallet and the Site."}),r.jsx("p",{style:e,children:"The short version: the Wallet is non-custodial. We never see your funds, your private keys, or your recovery phrase, and we do not collect, store, or process any personal data about you."}),r.jsx("h2",{style:t,children:"1. No account, no personal data collection"}),r.jsx("p",{style:e,children:"The Wallet does not require you to create an account, register with an email address, or provide any personal information to use it. We do not collect, store, or transmit:"}),r.jsxs("ul",{style:n,children:[r.jsx("li",{style:i,children:"Your name, email address, phone number, or physical address"}),r.jsx("li",{style:i,children:"Your private keys, seed phrase, or recovery phrase"}),r.jsx("li",{style:i,children:"Your wallet balances or transaction history on our servers"}),r.jsx("li",{style:i,children:"Government-issued identification or other know-your-customer (KYC) data"}),r.jsx("li",{style:i,children:"Device identifiers, advertising IDs, or analytics/usage data"}),r.jsx("li",{style:i,children:"Crash logs or diagnostic telemetry"})]}),r.jsx("p",{style:e,children:"Your private keys and recovery phrase are generated and stored exclusively on your own device. We have no ability to access, recover, freeze, or restore them. If you lose your recovery phrase, neither the Foundation nor anyone else can recover your funds."}),r.jsx("h2",{style:t,children:"2. How the Wallet works"}),r.jsx("p",{style:e,children:"Because eCash (ECX) is a public, permissionless blockchain, the Wallet broadcasts your transactions directly to the eCash peer-to-peer network so they can be confirmed by the network. Once broadcast, transaction data (sending address, receiving address, amount, and timestamp) is recorded on the public eCash blockchain, which is openly viewable by anyone, including through public block explorers. This is a property of public blockchains generally and is not something the Foundation controls, collects, or stores separately."}),r.jsx("p",{style:e,children:"To display balances and network information, the Wallet may query public eCash network nodes and public block-explorer or exchange-rate APIs. These requests can include your IP address and the addresses you query, which are handled by those third-party or public network services, not by the Foundation. We do not operate logging or tracking on top of these requests, and we do not receive copies of this data."}),r.jsx("h2",{style:t,children:"3. No advertising, no analytics, no tracking"}),r.jsx("p",{style:e,children:"We do not use advertising networks, behavioral tracking, cookies for profiling, or third-party analytics SDKs inside the Wallet. The ecash.com website may use minimal, privacy-respecting, aggregate traffic statistics (e.g., to see that the site is online and how many people visit it) that do not identify you personally; no such data is combined with your Wallet activity, because we have no way of linking website visits to wallet usage."}),r.jsx("h2",{style:t,children:"4. Data sharing"}),r.jsx("p",{style:e,children:"Since we do not collect personal data, we have nothing to sell, rent, or share with advertisers, data brokers, or other third parties. We do not respond to data requests from third parties regarding personal information because none exists on our systems to disclose. If compelled by valid legal process to produce information, we can only provide what we actually hold — which, for wallet usage, is nothing."}),r.jsx("h2",{style:t,children:"5. Open-source software"}
477),r.jsx("p",{style:e,children:"The Wallet is open-source. Its source code is publicly available for independent review, so you (or any security researcher) can verify these privacy claims directly rather than relying solely on this document."}),r.jsx("h2",{style:t,children:"6. Children’s privacy"}),r.jsx("p",{style:e,children:"The Wallet and Site are not directed at children under 13 (or the equivalent minimum age in your jurisdiction), and we do not knowingly collect personal data from children, consistent with Section 1 above."}),r.jsx("h2",{style:t,children:"7. Your responsibility"}),r.jsx("p",{style:e,children:"Because the Wallet is non-custodial, you are solely responsible for safeguarding your device, your recovery phrase, and any passwords or biometric locks you use to protect the Wallet. The Foundation cannot reset, recover, or restore access on your behalf."}),r.jsx("h2",{style:t,children:"8. Changes to this policy"}),r.jsx("p",{style:e,children:"We may update this Privacy Policy from time to time to reflect changes in the Wallet, the Site, or applicable law. We will post the revised policy at this URL with an updated effective date. Continued use of the Wallet or Site after changes take effect constitutes acceptance of the revised policy."}),r.jsx("h2",{style:t,children:"9. Contact us"}),r.jsxs("p",{style:e,children:["If you have questions about this Privacy Policy, contact us at"," ",r.jsx("a",{href:"mailto:[email protected]",style:{color:"var(--text-05)"},children:"[email protected]"}),"."]}),r.jsx("p",{style:{...e,marginTop:"clamp(24px, 5vh, 40px)",color:"var(--text-3)"},children:"Mainchain Research Group Foundation"})]})}function Lx(){const e=Vs,t=eu,n=tu,i=nu;return r.jsxs(ru,{eyebrow:"§ legal",title:"eCash Wallet Terms of Service",effectiveDate:"August 6, 2026",children:[r.jsx("p",{style:e,children:"These Terms of Service (“Terms”) govern your use of the eCash Wallet application for iOS, Android, and web (the “Wallet”) and the ecash.com website (the “Site”), published by Mainchain Research Group Foundation (“Foundation,” “we,” “us,” or “our”). By downloading, installing, or using the Wallet, or by accessing the Site, you agree to these Terms. If you do not agree, do not use the Wallet or the Site."}),r.jsx("h2",{style:t,children:"1. Nature of the Wallet"}),r.jsx("p",{style:e,children:"The Wallet is free, open-source, non-custodial software that lets you generate, store, and manage cryptographic keys for the eCash (XEC) network, and construct and broadcast transactions to that network directly from your own device."}),r.jsx("p",{style:e,children:"The Wallet is a tool, not a financial service. The Foundation:"}),r.jsxs("ul",{style:n,children:[r.jsx("li",{style:i,children:"Does not hold, custody, control, or have access to your funds, private keys, or recovery phrase at any time"}),r.jsx("li",{style:i,children:"Does not operate as a bank, money transmitter, exchange, broker, or custodian"}),r.jsx("li",{style:i,children:"Cannot reverse, cancel, freeze, or recover any transaction once it is broadcast to the eCash network"}),r.jsx("li",{style:i,children:"Cannot recover your funds if you lose your device, your recovery phrase, or your password"})]}),r.jsx("h2",{style:t,children:"2. Eligibility and your responsibilities"}),r.jsx("p",{style:e,children:"You must be legally able to enter into these Terms under the laws applicable to you, and you must comply with all laws applicable to your use of cryptocurrency in your jurisdiction, including any tax, reporting, and anti-money-laundering obligations. You are solely responsible for:"}),r.jsxs("ul",{style:n,children:[r.jsx("li",{style:i,children:"Securely storing your recovery phrase and private keys; anyone who obtains them can control your funds"}),r.jsx("li",{style:i,children:"Verifying transaction details (addresses, amounts) before confirming, since blockchain transactions cannot be reversed"}),r.jsx("li",{style:i,children:"Any loss resulting from device loss/theft, malware, phishing, user error, or forgotten credentials"}),r.jsx("li",{style:i,children:"Understanding the risks of holding and transacting in cryptocurrency, including price volatility and irreversible loss"})]}),r.jsx("h2",{style:t,children:"3. No investment advice; assumption of risk"}),r.jsx("p",{style:e,children:"Nothing on the Site or in the Wallet constitutes financial, investment, tax, or legal advice. Cryptocurrency values are volatile and can go to zero. You acknowledge that you are using the Wallet and interacting with the eCash network entirely at your own risk."}),r.jsx("h2",{style:t,children:"4. Open-source license"}),r.jsx("p",{style:e,children:"The Wallet’s source code is published under an open-source license in its public repository. Your rights to copy, modify, and redistribute the code are governed by that license, not by these Terms. These Terms govern your use of the compiled Wallet application and the Site as distributed by the Foundation (e.g., through the Apple App Store or Google Play)."}),r.jsx("h2",{style:t,children:"5. “As is” disclaimer"}),r.jsx("p",{style:e,children:"THE WALLET AND SITE ARE PROVIDED “AS IS” AND “AS AVAILABLE,” WITHOUT WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR THAT THE WALLET WILL BE UNINTERRUPTED, SECURE, OR ERROR-FREE. YOU USE THE WALLET AND INTERACT WITH THE ECASH NETWORK AT YOUR OWN RISK."}),r.jsx("h2",{style:t,children:"6. Limitation of liability"}),r.jsx("p",{style:e,children:"To the fullest extent permitted by law, the Foundation, its contributors, and its affiliates will not be liable for any indirect, incidental, special, consequential, or punitive damages, or any loss of funds, data, or profits, arising from or related to your use of (or inability to use) the Wallet or the Site, even if advised of the possibility of such damages. Because the Wallet is non-cu
477stodial, the Foundation has no ability to prevent, mitigate, or reverse losses caused by lost keys, user error, third-party attacks, or network conditions."}),r.jsx("h2",{style:t,children:"7. Third-party services and networks"}),r.jsx("p",{style:e,children:"The Wallet may connect to public eCash network nodes, public block explorers, or third-party exchange-rate APIs to function. The Foundation does not control these third-party services and is not responsible for their availability, accuracy, or practices. Your use of any linked third-party service is subject to that service’s own terms."}),r.jsx("h2",{style:t,children:"8. Prohibited use"}),r.jsx("p",{style:e,children:"You agree not to use the Wallet or Site to violate applicable law, infringe others’ rights, distribute malware, or attempt to disrupt, reverse-engineer for malicious purposes, or gain unauthorized access to the Foundation’s infrastructure."}),r.jsx("h2",{style:t,children:"9. Changes to the Wallet, Site, or Terms"}),r.jsx("p",{style:e,children:"We may modify, suspend, or discontinue any part of the Wallet or Site at any time. We may revise these Terms from time to time; the updated version will be posted at this URL with a new effective date. Continued use after changes take effect constitutes acceptance of the revised Terms."}),r.jsx("h2",{style:t,children:"10. Termination"}),r.jsx("p",{style:e,children:"We may restrict or discontinue your access to the Site or the distribution of the Wallet to you at our discretion, including for violation of these Terms. Because the Wallet is non-custodial, terminating your access to the Site does not affect your ability to independently run open-source Wallet software you have already obtained, or control funds secured by your own keys."}),r.jsx("h2",{style:t,children:"11. Governing law"}),r.jsx("p",{style:{...e,fontStyle:"italic",color:"var(--text-2)"},children:"[Placeholder — please confirm the jurisdiction under which Mainchain Research Group Foundation is established before publishing, so the applicable governing law and venue can be specified here.]"}),r.jsx("h2",{style:t,children:"12. Contact us"}),r.jsxs("p",{style:e,children:["If you have questions about these Terms, contact us at"," ",r.jsx("a",{href:"mailto:[email protected]",style:{color:"var(--text-05)"},children:"[email protected]"}),"."]}),r.jsx("p",{style:{...e,marginTop:"clamp(24px, 5vh, 40px)",color:"var(--text-3)"},children:"Mainchain Research Group Foundation"})]})}const Ax=[{header:"the fork",links:[{label:"buy $ecx",href:"https://buy.ecash.com"},{label:"how to access ECX",tab:"how-to-claim"},{label:"what to expect",tab:"what-to-expect"},{label:"sidechains",tab:"sidechains"},{label:"download",tab:"download"},{label:"bounty",tab:"bounty"}]},{header:"learn",links:[{label:"what is eCash?",tab:"what-is-ecash"},{label:"drivechains",tab:"drivechains"},{label:"coin splitting",tab:"coin-splitting"},{label:"fast facts",tab:"fast-facts"},{label:"why hardfork",tab:"why-hardfork"},{label:"faq",tab:"faq"},{label:"reading",tab:"reading"}]},{header:"more",links:[{label:"blog",href:"/blog/"},{label:"videos",tab:"media"},{label:"endorsements",tab:"endorsements"},{label:"socials",tab:"socials"},{label:"brand",tab:"brand"}]}],Ix=[{label:"X",href:"https://x.com/BTCdrivechains"},{label:"TG",href:"https://t.me/ecashcom_official"},{label:"YT",href:"https://youtube.com/@ecashdotcom"},{label:"GH",href:"https://github.com/ecash-com"}];function Px({link:e,setTab:t}){const[n,i]=C.useState(!1),o={fontSize:12,letterSpacing:"0.04em",color:n?"var(--text-05)":"var(--text-3)",textDecoration:"none",textTransform:"lowercase",cursor:"pointer",background:"none",border:"none",padding:0,textAlign:"left",fontFamily:"inherit",transition:"color .14s",lineHeight:1.9,display:"block"};return e.href?r.jsx("a",{href:e.href,style:o,target:e.href.startsWith("http")?"_blank":void 0,rel:"noopener noreferrer",onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:e.label}):r.jsx(Ke,{tab:e.tab,setTab:t,style:o,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:e.label})}function Cc({label:e,tab:t,setTab:n}){const[i,o]=C.useState(!1);return r.jsx(Ke,{tab:t,setTab:n,onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),style:{fontSize:9,letterSpacing:"0.14em",textTransform:"uppercase",color:i?"var(--text-05)":"var(--text-4)",background:"none",border:"none",padding:0,cursor:"pointer",fontFamily:"inherit",transition:"color .14s"},children:e})}function Rx({s:e}){const[t,n]=C.useState(!1);return r.jsx("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",onMouseEnter:()=>n(!0),onMouseLeave:()=>
477n(!1),"aria-label":e.label,style:{width:34,height:34,borderRadius:"50%",border:`1px solid ${t?"var(--accent-border, #e8a84a)":"var(--border-1)"}`,display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:10,letterSpacing:"0.06em",color:t?"#e8a84a":"var(--text-3)",textDecoration:"none",textTransform:"uppercase",transition:"color .14s, border-color .14s"},children:e.label})}function Dx({setTab:e,accent:t="#e8a84a"}){return r.jsx("footer",{style:{borderTop:"1px solid var(--border-0)",background:"var(--bg-0)",padding:"clamp(48px,7vh,72px) clamp(20px,5vw,40px) clamp(48px,7vh,72px)"},children:r.jsxs("div",{style:{maxWidth:1126,margin:"0 auto"},children:[r.jsxs("div",{className:"footer-grid",style:{display:"grid",gridTemplateColumns:"1.5fr 1fr 1fr 1fr",gap:"clamp(24px,4vw,48px)",alignItems:"start"},children:[r.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,minWidth:0},children:[r.jsxs(Ke,{tab:"home",setTab:e,style:{display:"flex",alignItems:"center",gap:10,cursor:"pointer"},children:[r.jsx("img",{src:"/ecash-logo.svg",width:"22",height:"22",alt:"eCash",style:{display:"block",flexShrink:0}}),r.jsx("span",{style:{color:"var(--text-0)",letterSpacing:"0.08em",fontSize:15,fontWeight:500},children:"eCash"})]}),r.jsx("p",{style:{fontSize:13,lineHeight:1.6,color:"var(--text-3)",margin:0,maxWidth:260},children:"eCash (ECX), a Bitcoin hard fork designed to activate Drivechains. Learn about the fork, wallet access, and replay protection."}),r.jsx("div",{style:{display:"flex",gap:8,flexWrap:"wrap"},children:Ix.map(n=>r.jsx(Rx,{s:n},n.label))})]}),Ax.map(n=>r.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[r.jsx("div",{style:{fontSize:9,letterSpacing:"0.22em",color:"var(--text-4)",textTransform:"uppercase",marginBottom:4},children:n.header}),n.links.map(i=>r.jsx(Px,{link:i,setTab:e},i.label))]},n.header))]}),r.jsxs("div",{style:{marginTop:"clamp(32px,5vh,48px)",paddingTop:20,borderTop:"1px solid var(--border-0)",display:"flex",justifyContent:"space-between",alignItems:"center",gap:16,flexWrap:"wrap",fontSize:9,letterSpacing:"0.14em",color:"var(--text-4)",textTransform:"uppercase"},children:[r.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:8,flexWrap:"wrap"},children:[r.jsx("span",{style:{textTransform:"none"},children:"© 2026 Blockchain Emulation Services Ltd. All rights reserved. eCash.com is operated by Blockchain Emulation Services Ltd."}),r.jsx("span",{style:{color:"var(--border-2)"},children:"·"}),r.jsx(Cc,{label:"privacy",tab:"privacy",setTab:e}),r.jsx("span",{style:{color:"var(--border-2)"},children:"·"}),r.jsx(Cc,{label:"terms",tab:"terms",setTab:e})]}),r.jsx("span",{style:{display:"inline-flex",alignItems:"center",gap:6},children:r.jsxs("span",{style:{color:"var(--text-4)",fontWeight:300,textTransform:"lowercase"},children:["fork day · block ~",E.ROADMAP[2].blockHeight.toLocaleString()," · ",E.FORK_DATE_APPROX]})})]})]})})}function qs(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let en=qs();function iu(e){en=e}const ou=/[&<>"']/,Mx=new RegExp(ou.source,"g"),au=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Wx=new RegExp(au.source,"g"),$x={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Tc=e=>$x[e];function Ee(e,t){if(t){if(ou.test(e))return e.replace(Mx,Tc)}else if(au.test(e))return e.replace(Wx,Tc);return e}const Fx=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Ox(e){return e.replace(Fx,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const Hx=/(^|[^\[])\^/g;function V(e,t){let n=typeof e=="string"?e:e.source;t=t||"";const i={replace:(o,a)=>{let s=typeof a=="string"?a:a.source;return s=s.replace(Hx,"$1"),n=n.replace(o,s),i},getRegex:()=>new RegExp(n,t)};return i}function _c(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const or={exec:()=>null};function Bc(e,t){const n=e.replace(/\|/g,(a,s,c)=>{let l=!1,u=s;for(;--u>=0&&c[u]==="\\";)l=!l;return l?"|":" |"}),i=n.split(/ \|/);let o=0;if(i[0].trim()||i.shift(),i.length>0&&!i[i.length-1].trim()&&i.pop(),t)if(i.length>t)i.splice(t);else for(;i.length<t;)i.push("");for(;o<i.length;o++)i[o]=i[o].trim().replace(/\\\|/g,"|");return i}function Zr(e,t,n){const i=e.length;if(i===0)return"";let o=0;for(;o<i&&e.charAt(i-o-1)===t;)o++;return e.slice(0,i-o)}function Xx(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let i=0;i<e.length;i++)if(e[i]==="\\")i++;else if(e[i]===t[0])n++;else if(e[i]===t[1]&&(n--,n<0))return i;return-1}function Ec(e,t,n,i){const o=t.href,a=t.title?Ee(t.title):null,s=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){i.state.inLink=!0;
vendor: 7,457 bytes, lines 477-491
477const c={type:"link",raw:n,href:o,title:a,text:s,tokens:i.inlineTokens(s)};return i.state.inLink=!1,c}return{type:"image",raw:n,href:o,title:a,text:Ee(s)}}function Ux(e,t){const n=e.match(/^(\s+)(?:```)/);if(n===null)return t;const i=n[1];return t.split(`
478`).map(o=>{const a=o.match(/^\s+/);if(a===null)return o;const[s]=a;return s.length>=i.length?o.slice(i.length):o}).join(`
479`)}class Mi{constructor(t){Q(this,"options");Q(this,"rules");Q(this,"lexer");this.options=t||en}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const i=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?i:Zr(i,`
480`)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const i=n[0],o=Ux(i,n[3]||"");return{type:"code",raw:i,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:o}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let i=n[2].trim();if(/#$/.test(i)){const o=Zr(i,"#");(this.options.pedantic||!o||/ $/.test(o))&&(i=o.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:i,tokens:this.lexer.inline(i)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){let i=n[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,`
481    $1`);i=Zr(i.replace(/^ *>[ \t]?/gm,""),`
482`);const o=this.lexer.state.top;this.lexer.state.top=!0;const a=this.lexer.blockTokens(i);return this.lexer.state.top=o,{type:"blockquote",raw:n[0],tokens:a,text:i}}}list(t){let n=this.rules.block.list.exec(t);if(n){let i=n[1].trim();const o=i.length>1,a={type:"list",raw:"",ordered:o,start:o?+i.slice(0,-1):"",loose:!1,items:[]};i=o?`\\d{1,9}\\${i.slice(-1)}`:`\\${i}`,this.options.pedantic&&(i=o?i:"[*+-]");const s=new RegExp(`^( {0,3}${i})((?:[	 ][^\\n]*)?(?:\\n|$))`);let c="",l="",u=!1;for(;t;){let x=!1;if(!(n=s.exec(t))||this.rules.block.hr.test(t))break;c=n[0],t=t.substring(c.length);let g=n[2].split(`
483`,1)[0].replace(/^\t+/,m=>" ".repeat(3*m.length)),f=t.split(`
484`,1)[0],b=0;this.options.pedantic?(b=2,l=g.trimStart()):(b=n[2].search(/[^ ]/),b=b>4?1:b,l=g.slice(b),b+=n[1].length);let v=!1;if(!g&&/^ *$/.test(f)&&(c+=f+`
485`,t=t.substring(f.length+1),x=!0),!x){const m=new RegExp(`^ {0,${Math.min(3,b-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`),p=new RegExp(`^ {0,${Math.min(3,b-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),d=new RegExp(`^ {0,${Math.min(3,b-1)}}(?:\`\`\`|~~~)`),h=new RegExp(`^ {0,${Math.min(3,b-1)}}#`);for(;t;){const w=t.split(`
486`,1)[0];if(f=w,this.options.pedantic&&(f=f.replace(/^ {1,4}(?=( {4})*[^ ])/g,"  ")),d.test(f)||h.test(f)||m.test(f)||p.test(t))break;if(f.search(/[^ ]/)>=b||!f.trim())l+=`
487`+f.slice(b);else{if(v||g.search(/[^ ]/)>=4||d.test(g)||h.test(g)||p.test(g))break;l+=`
488`+f}!v&&!f.trim()&&(v=!0),c+=w+`
489`,t=t.substring(w.length+1),g=f.slice(b)}}a.loose||(u?a.loose=!0:/\n *\n *$/.test(c)&&(u=!0));let y=null,k;this.options.gfm&&(y=/^\[[ xX]\] /.exec(l),y&&(k=y[0]!=="[ ] ",l=l.replace(/^\[[ xX]\] +/,""))),a.items.push({type:"list_item",raw:c,task:!!y,checked:k,loose:!1,text:l,tokens:[]}),a.raw+=c}a.items[a.items.length-1].raw=c.trimEnd(),a.items[a.items.length-1].text=l.trimEnd(),a.raw=a.raw.trimEnd();for(let x=0;x<a.items.length;x++)if(this.lexer.state.top=!1,a.items[x].tokens=this.lexer.blockTokens(a.items[x].text,[]),!a.loose){const g=a.items[x].tokens.filter(b=>b.type==="space"),f=g.length>0&&g.some(b=>/\n.*\n/.test(b.raw));a.loose=f}if(a.loose)for(let x=0;x<a.items.length;x++)a.items[x].loose=!0;return a}}html(t){const n=this.rules.block.html.exec(t);if(n)return{type:"html",block:!0,raw:n[0],pre:n[1]==="pre"||n[1]==="script"||n[1]==="style",text:n[0]}}def(t){const n=this.rules.block.def.exec(t);if(n){const i=n[1].toLowerCase().replace(/\s+/g," "),o=n[2]?n[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",a=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:i,raw:n[0],href:o,title:a}}}table(t){const n=this.rules.block.table.exec(t);if(!n||!/[:|]/.test(n[2]))return;const i=Bc(n[1]),o=n[2].replace(/^\||\| *$/g,"").split("|"),a=n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(`
490`):[],s={type:"table",raw:n[0],header:[],align:[],rows:[]};if(i.length===o.length){for(const c of o)/^ *-+: *$/.test(c)?s.align.push("right"):/^ *:-+: *$/.test(c)?s.align.push("center"):/^ *:-+ *$/.test(c)?s.align.push("left"):s.align.push(null);for(const c of i)s.header.push({text:c,tokens:this.lexer.inline(c)});for(const c of a)s.rows.push(Bc(c,s.header.length).map(l=>({text:l,tokens:this.lexer.inline(l)})));return s}}lheading(t){const n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){const n=this.rules.block.paragraph.exec(t);if(n){const i=n[1].charAt(n[1].length-1)===`
491`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:i,tokens:this.lexer.inline(i)}}}text(t){const n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){const n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:Ee(n[1])}}tag(t){const n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const i=n[2].trim();if(!this.options.pedantic&&/^</.test(i)){if(!/>$/.test(i))return;const s=Zr(i.slice(0,-1),"\\");if((i.length-s.length)%2===0)return}else{const s=Xx(n[2],"()");if(s>-1){const l=(n[0].indexOf("!")===0?5:4)+n[1].length+s;n[2]=n[2].substring(0,s),n[0]=n[0].substring(0,l).trim(),n[3]=""}}let o=n[2],a="";if(this.options.pedantic){const s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);s&&(o=s[1],a=s[3])}else a=n[3]?n[3].slice(1,-1):"";return o=o.trim(),/^</.test(o)&&(this.options.pedantic&&!/>$/.test(i)?o=o.slice(1):o=o.slice(1,-1)),Ec(n,{href:o&&o.replace(this.rules.inline.anyPunctuation,"$1"),title:a&&a.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer)}}reflink(t,n){let i;if((i=this.rules.inline.reflink.exec(t))||(i=this.rules.inline.nolink.exec(t))){const o=(i[2]||i[1]).replace(/\s+/g," "),a=n[o.toLowerCase()];if(!a){const s=i[0].charAt(0);return{type:"text",raw:s,text:s}}return Ec(i,a,i[0],this.lexer)}}emStrong(t,n,i=""){let o=this.rules.inline.emStrongLDelim.exec(t);if(!o||o[3]&&i.match(/[\p{L}\p{N}]/u))return;if(!(o[1]||o[2]||"")||!i||this.rules.inline.punctuation.exec(i)){const s=[...o[0]].length-1;let c,l,u=s,x=0;const g=o[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(g.lastIndex=0,n=n.slice(-1*t.length+s);(o=g.exec(n))!=null;){if(c=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!c)continue;if(l=[...c].length,o[3]||o[4]){u+=l;continue}else if((o[5]||o[6])&&s%3&&!((s+l)%3)){x+=l;continue}if(u-=l,u>0)continue;l=Math.min(l,l+u+x);const f=[...o[0]][0].length,b=t.slice(0,s+o.index+f+l);
vendor: 8,983 bytes, lines 491-492
491if(Math.min(s,l)%2){const y=b.slice(1,-1);return{type:"em",raw:b,text:y,tokens:this.lexer.inlineTokens(y)}}const v=b.slice(2,-2);return{type:"strong",raw:b,text:v,tokens:this.lexer.inlineTokens(v)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let i=n[2].replace(/\n/g," ");const o=/[^ ]/.test(i),a=/^ /.test(i)&&/ $/.test(i);return o&&a&&(i=i.substring(1,i.length-1)),i=Ee(i,!0),{type:"codespan",raw:n[0],text:i}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t){const n=this.rules.inline.autolink.exec(t);if(n){let i,o;return n[2]==="@"?(i=Ee(n[1]),o="mailto:"+i):(i=Ee(n[1]),o=i),{type:"link",raw:n[0],text:i,href:o,tokens:[{type:"text",raw:i,text:i}]}}}url(t){var i;let n;if(n=this.rules.inline.url.exec(t)){let o,a;if(n[2]==="@")o=Ee(n[0]),a="mailto:"+o;else{let s;do s=n[0],n[0]=((i=this.rules.inline._backpedal.exec(n[0]))==null?void 0:i[0])??"";while(s!==n[0]);o=Ee(n[0]),n[1]==="www."?a="http://"+n[0]:a=n[0]}return{type:"link",raw:n[0],text:o,href:a,tokens:[{type:"text",raw:o,text:o}]}}}inlineText(t){const n=this.rules.inline.text.exec(t);if(n){let i;return this.lexer.state.inRawBlock?i=n[0]:i=Ee(n[0]),{type:"text",raw:n[0],text:i}}}}const Vx=/^(?: *(?:\n|$))+/,qx=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,Kx=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Er=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Yx=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,su=/(?:[*+-]|\d{1,9}[.)])/,lu=V(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,su).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Ks=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Qx=/^[^\n]+/,Ys=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Gx=V(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",Ys).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Zx=V(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,su).getRegex(),io="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Qs=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Jx=V("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",Qs).replace("tag",io).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),cu=V(Ks).replace("hr",Er).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",io).getRegex(),eg=V(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",cu).getRegex(),Gs={blockquote:eg,code:qx,def:Gx,fences:Kx,heading:Yx,hr:Er,html:Jx,lheading:lu,list:Zx,newline:Vx,paragraph:cu,table:or,text:Qx},zc=V("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Er).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",io).getRegex(),tg={...Gs,table:zc,paragraph:V(Ks).replace("hr",Er).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",zc).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",io).getRegex()},ng={...Gs,html:V(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Qs).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:or,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:V(Ks).replace("hr",Er).replace("heading",` *#{1,6} *[^
492]`).replace("lheading",lu).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},du=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,rg=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,pu=/^( {2,}|\\)\n(?!\s*$)/,ig=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,zr="\\p{P}\\p{S}",og=V(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,zr).getRegex(),ag=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,sg=V(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,zr).getRegex(),lg=V("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,zr).getRegex(),cg=V("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,zr).getRegex(),dg=V(/\\([punct])/,"gu").replace(/punct/g,zr).getRegex(),pg=V(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ug=V(Qs).replace("(?:-->|$)","-->").getRegex(),hg=V("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",ug).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Wi=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,fg=V(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Wi).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),uu=V(/^!?\[(label)\]\[(ref)\]/).replace("label",Wi).replace("ref",Ys).getRegex(),hu=V(/^!?\[(ref)\](?:\[\])?/).replace("ref",Ys).getRegex(),mg=V("reflink|nolink(?!\\()","g").replace("reflink",uu).replace("nolink",hu).getRegex(),Zs={_backpedal:or,anyPunctuation:dg,autolink:pg,blockSkip:ag,br:pu,code:rg,del:or,emStrongLDelim:sg,emStrongRDelimAst:lg,emStrongRDelimUnd:cg,escape:du,link:fg,nolink:hu,punctuation:og,reflink:uu,reflinkSearch:mg,tag:hg,text:ig,url:or},xg={...Zs,link:V(/^!?\[(label)\]\((.*?)\)/).replace("label",Wi).getRegex(),reflink:V(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Wi).getRegex()},Ua={...Zs,escape:V(du).replace("])","~|])").getRegex(),url:V(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},gg={...Ua,br:V(pu).replace("{2,}","*").getRegex(),text:V(Ua.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}
vendor: 12,521 bytes, lines 492-521
492,Jr={normal:Gs,gfm:tg,pedantic:ng},Un={normal:Zs,gfm:Ua,breaks:gg,pedantic:xg};class et{constructor(t){Q(this,"tokens");Q(this,"options");Q(this,"state");Q(this,"tokenizer");Q(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||en,this.options.tokenizer=this.options.tokenizer||new Mi,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:Jr.normal,inline:Un.normal};this.options.pedantic?(n.block=Jr.pedantic,n.inline=Un.pedantic):this.options.gfm&&(n.block=Jr.gfm,this.options.breaks?n.inline=Un.breaks:n.inline=Un.gfm),this.tokenizer.rules=n}static get rules(){return{block:Jr,inline:Un}}static lex(t,n){return new et(n).lex(t)}static lexInline(t,n){return new et(n).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,`
493`),this.blockTokens(t,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){const i=this.inlineQueue[n];this.inlineTokens(i.src,i.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,n=[]){this.options.pedantic?t=t.replace(/\t/g,"    ").replace(/^ +$/gm,""):t=t.replace(/^( *)(\t+)/gm,(c,l,u)=>l+"    ".repeat(u.length));let i,o,a,s;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(c=>(i=c.call({lexer:this},t,n))?(t=t.substring(i.raw.length),n.push(i),!0):!1))){if(i=this.tokenizer.space(t)){t=t.substring(i.raw.length),i.raw.length===1&&n.length>0?n[n.length-1].raw+=`
494`:n.push(i);continue}if(i=this.tokenizer.code(t)){t=t.substring(i.raw.length),o=n[n.length-1],o&&(o.type==="paragraph"||o.type==="text")?(o.raw+=`
495`+i.raw,o.text+=`
496`+i.text,this.inlineQueue[this.inlineQueue.length-1].src=o.text):n.push(i);continue}if(i=this.tokenizer.fences(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.heading(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.hr(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.blockquote(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.list(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.html(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.def(t)){t=t.substring(i.raw.length),o=n[n.length-1],o&&(o.type==="paragraph"||o.type==="text")?(o.raw+=`
497`+i.raw,o.text+=`
498`+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=o.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title});continue}if(i=this.tokenizer.table(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.lheading(t)){t=t.substring(i.raw.length),n.push(i);continue}if(a=t,this.options.extensions&&this.options.extensions.startBlock){let c=1/0;const l=t.slice(1);let u;this.options.extensions.startBlock.forEach(x=>{u=x.call({lexer:this},l),typeof u=="number"&&u>=0&&(c=Math.min(c,u))}),c<1/0&&c>=0&&(a=t.substring(0,c+1))}if(this.state.top&&(i=this.tokenizer.paragraph(a))){o=n[n.length-1],s&&o.type==="paragraph"?(o.raw+=`
499`+i.raw,o.text+=`
500`+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):n.push(i),s=a.length!==t.length,t=t.substring(i.raw.length);continue}if(i=this.tokenizer.text(t)){t=t.substring(i.raw.length),o=n[n.length-1],o&&o.type==="text"?(o.raw+=`
501`+i.raw,o.text+=`
502`+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=o.text):n.push(i);continue}if(t){const c="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let i,o,a,s=t,c,l,u;if(this.tokens.links){const x=Object.keys(this.tokens.links);if(x.length>0)for(;(c=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)x.includes(c[0].slice(c[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,c.index)+"["+"a".repeat(c[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(c=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,c.index)+"["+"a".repeat(c[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(c=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,c.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(l||(u=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(x=>(i=x.call({lexer:this},t,n))?(t=t.substring(i.raw.length),n.push(i),!0):!1))){if(i=this.tokenizer.escape(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.tag(t)){t=t.substring(i.raw.length),o=n[n.length-1],o&&i.type==="text"&&o.type==="text"?(o.raw+=i.raw,o.text+=i.text):n.push(i);continue}if(i=this.tokenizer.link(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(i.raw.length),o=n[n.length-1],o&&i.type==="text"&&o.type==="text"?(o.raw+=i.raw,o.text+=i.text):n.push(i);continue}if(i=this.tokenizer.emStrong(t,s,u)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.codespan(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.br(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.del(t)){t=t.substring(i.raw.length),n.push(i);continue}if(i=this.tokenizer.autolink(t)){t=t.substring(i.raw.length),n.push(i);continue}if(!this.state.inLink&&(i=this.tokenizer.url(t))){t=t.substring(i.raw.length),n.push(i);continue}if(a=t,this.options.extensions&&this.options.extensions.startInline){let x=1/0;const g=t.slice(1);let f;this.options.extensions.startInline.forEach(b=>{f=b.call({lexer:this},g),typeof f=="number"&&f>=0&&(x=Math.min(x,f))}),x<1/0&&x>=0&&(a=t.substring(0,x+1))}if(i=this.tokenizer.inlineText(a)){t=t.substring(i.raw.length),i.raw.slice(-1)!=="_"&&(u=i.raw.slice(-1)),l=!0,o=n[n.length-1],o&&o.type==="text"?(o.raw+=i.raw,o.text+=i.text):n.push(i);continue}if(t){const x="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(x);break}else throw new Error(x)}}return n}}class $i{constructor(t){Q(this,"options");this.options=t||en}code(t,n,i){var a;const o=(a=(n||"").match(/^\S*/))==null?void 0:a[0];return t=t.replace(/\n$/,"")+`
503`,o?'<pre><code class="language-'+Ee(o)+'">'+(i?t:Ee(t,!0))+`</code></pre>
504`:"<pre><code>"+(i?t:Ee(t,!0))+`</code></pre>
505`}blockquote(t){return`<blockquote>
506${t}</blockquote>
507`}html(t,n){return t}heading(t,n,i){return`<h${n}>${t}</h${n}>
508`}hr(){return`<hr>
509`}list(t,n,i){const o=n?"ol":"ul",a=n&&i!==1?' start="'+i+'"':"";return"<"+o+a+`>
510`+t+"</"+o+`>
511`}listitem(t,n,i){return`<li>${t}</li>
512`}checkbox(t){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(t){return`<p>${t}</p>
513`}table(t,n){return n&&(n=`<tbody>${n}</tbody>`),`<table>
514<thead>
515`+t+`</thead>
516`+n+`</table>
517`}tablerow(t){return`<tr>
518${t}</tr>
519`}tablecell(t,n){const i=n.header?"th":"td";return(n.align?`<${i} align="${n.align}">`:`<${i}>`)+t+`</${i}>
520`}strong(t){return`<strong>${t}</strong>`}em(t){return`<em>${t}</em>`}codespan(t){return`<code>${t}</code>`}br(){return"<br>"}del(t){return`<del>${t}</del>`}link(t,n,i){const o=_c(t);if(o===null)return i;t=o;let a='<a href="'+t+'"';return n&&(a+=' title="'+n+'"'),a+=">"+i+"</a>",a}image(t,n,i){const o=_c(t);if(o===null)return i;t=o;let a=`<img src="${t}" alt="${i}"`;return n&&(a+=` title="${n}"`),a+=">",a}text(t){return t}}class Js{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,n,i){return""+i}image(t,n,i){return""+i}br(){return""}}class tt{constructor(t){Q(this,"options");Q(this,"renderer");Q(this,"textRenderer");this.options=t||en,this.options.renderer=this.options.renderer||new $i,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Js}static parse(t,n){return new tt(n).parse(t)}static parseInline(t,n){return new tt(n).parseInline(t)}parse(t,n=!0){let i="";for(let o=0;o<t.length;o++){const a=t[o];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[a.type]){const s=a,c=this.options.extensions.renderers[s.type].call({parser:this},s);if(c!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(s.type)){i+=c||"";continue}}switch(a.type){case"space":continue;case"hr":{i+=this.renderer.hr();continue}case"heading":{const s=a;i+=this.renderer.heading(this.parseInline(s.tokens),s.depth,Ox(this.parseInline(s.tokens,this.textRenderer)));continue}case"code":{const s=a;i+=this.renderer.code(s.text,s.lang,!!s.escaped);continue}case"table":{const s=a;let c="",l="";for(let x=0;x<s.header.length;x++)l+=this.renderer.tablecell(this.parseInline(s.header[x].tokens),{header:!0,align:s.align[x]});c+=this.renderer.tablerow(l);let u="";for(let x=0;x<s.rows.length;x++){const g=s.rows[x];l="";for(let f=0;f<g.length;f++)l+=this.renderer.tablecell(this.parseInline(g[f].tokens),{header:!1,align:s.align[f]});u+=this.renderer.tablerow(l)}i+=this.renderer.table(c,u);continue}case"blockquote":{const s=a,c=this.parse(s.tokens);i+=this.renderer.blockquote(c);continue}case"list":{const s=a,c=s.ordered,l=s.start,u=s.loose;let x="";for(let g=0;g<s.items.length;g++){const f=s.items[g],b=f.checked,v=f.task;let y="";if(f.task){const k=this.renderer.checkbox(!!b);u?f.tokens.length>0&&f.tokens[0].type==="paragraph"?(f.tokens[0].text=k+" "+f.tokens[0].text,f.tokens[0].tokens&&f.tokens[0].tokens.length>0&&f.tokens[0].tokens[0].type==="text"&&(f.tokens[0].tokens[0].text=k+" "+f.tokens[0].tokens[0].text)):f.tokens.unshift({type:"text",text:k+" "}):y+=k+" "}y+=this.parse(f.tokens,u),x+=this.renderer.listitem(y,v,!!b)}i+=this.renderer.list(x,c,l);continue}case"html":{const s=a;i+=this.renderer.html(s.text,s.block);continue}case"paragraph":{const s=a;i+=this.renderer.paragraph(this.parseInline(s.tokens));continue}case"text":{let s=a,c=s.tokens?this.parseInline(s.tokens):s.text;for(;o+1<t.length&&t[o+1].type==="text";)s=t[++o],c+=`
521`+(s.tokens?this.parseInline(s.tokens):s.text);i+=n?this.renderer.paragraph(c):c;continue}default:{const s='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(s),"";throw new Error(s)}}}return i}parseInline(t,n){n=n||this.renderer;let i="";for(let o=0;o<t.length;o++){const a=t[o];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[a.type]){const s=this.options.extensions.renderers[a.type].call({parser:this},a);if(s!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){i+=s||"";continue}}switch(a.type){case"escape":{const s=a;i+=n.text(s.text);break}case"html":{const s=a;i+=n.html(s.text);break}case"link":{const s=a;i+=n.link(s.href,s.title,this.parseInline(s.tokens,n));break}case"image":{const s=a;i+=n.image(s.href,s.title,s.text);break}case"strong":{const s=a;i+=n.strong(this.parseInline(s.tokens,n));break}case"em":{const s=a;i+=n.em(this.parseInline(s.tokens,n));break}case"codespan":{const s=a;i+=n.codespan(s.text);break}case"br":{i+=n.br();break}case"del":{const s=a;i+=n.del(this.parseInline(s.tokens,n));break}case"text":{const s=a;i+=n.text(s.text);break}default:{const s='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(s),"";throw new Error(s)}}}return i}}class ar{constructor(t){Q(this,"options");this.options=t||en}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}}Q(ar,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));var Gt,Va,fu;class yg{constructor(...t){tl(this,Gt);Q(this,"defaults",qs());Q(this,"options",this.setOptions);Q(this,"parse",Lr(this,Gt,Va).call(this,et.lex,tt.parse));Q(this,"parseInline",Lr(this,Gt,Va).call(this,et.lexInline,tt.parseInline));Q(this,"Parser",tt);Q(this,"Renderer",$i);Q(this,"TextRenderer",Js);Q(this,"Lexer",et);Q(this,"Tokenizer",Mi);Q(this,"Hooks",ar);this.use(...t)}walkTokens(t,n){var o,a;let i=[];for(const s of t)switch(i=i.concat(n.call(this,s)),s.type){case"table":{const c=s;for(const l of c.header)i=i.concat(this.walkTokens(l.tokens,n));for(const l of c.rows)for(const u of l)i=i.concat(this.walkTokens(u.tokens,n));break}case"list":{const c=s;i=i.concat(this.walkTokens(c.items,n));break}default:{const c=s;(a=(o=this.defaults.extensions)==null?void 0:o.childTokens)!=null&&a[c.type]?this.defaults.extensions.childTokens[c.type].forEach(l=>{const u=c[l].flat(1/0);
vendor: 4,143 bytes, lines 521-522
521i=i.concat(this.walkTokens(u,n))}):c.tokens&&(i=i.concat(this.walkTokens(c.tokens,n)))}}return i}use(...t){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(i=>{const o={...i};if(o.async=this.defaults.async||o.async||!1,i.extensions&&(i.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if("renderer"in a){const s=n.renderers[a.name];s?n.renderers[a.name]=function(...c){let l=a.renderer.apply(this,c);return l===!1&&(l=s.apply(this,c)),l}:n.renderers[a.name]=a.renderer}if("tokenizer"in a){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const s=n[a.level];s?s.unshift(a.tokenizer):n[a.level]=[a.tokenizer],a.start&&(a.level==="block"?n.startBlock?n.startBlock.push(a.start):n.startBlock=[a.start]:a.level==="inline"&&(n.startInline?n.startInline.push(a.start):n.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(n.childTokens[a.name]=a.childTokens)}),o.extensions=n),i.renderer){const a=this.defaults.renderer||new $i(this.defaults);for(const s in i.renderer){if(!(s in a))throw new Error(`renderer '${s}' does not exist`);if(s==="options")continue;const c=s,l=i.renderer[c],u=a[c];a[c]=(...x)=>{let g=l.apply(a,x);return g===!1&&(g=u.apply(a,x)),g||""}}o.renderer=a}if(i.tokenizer){const a=this.defaults.tokenizer||new Mi(this.defaults);for(const s in i.tokenizer){if(!(s in a))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;const c=s,l=i.tokenizer[c],u=a[c];a[c]=(...x)=>{let g=l.apply(a,x);return g===!1&&(g=u.apply(a,x)),g}}o.tokenizer=a}if(i.hooks){const a=this.defaults.hooks||new ar;for(const s in i.hooks){if(!(s in a))throw new Error(`hook '${s}' does not exist`);if(s==="options")continue;const c=s,l=i.hooks[c],u=a[c];ar.passThroughHooks.has(s)?a[c]=x=>{if(this.defaults.async)return Promise.resolve(l.call(a,x)).then(f=>u.call(a,f));const g=l.call(a,x);return u.call(a,g)}:a[c]=(...x)=>{let g=l.apply(a,x);return g===!1&&(g=u.apply(a,x)),g}}o.hooks=a}if(i.walkTokens){const a=this.defaults.walkTokens,s=i.walkTokens;o.walkTokens=function(c){let l=[];return l.push(s.call(this,c)),a&&(l=l.concat(a.call(this,c))),l}}this.defaults={...this.defaults,...o}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,n){return et.lex(t,n??this.defaults)}parser(t,n){return tt.parse(t,n??this.defaults)}}Gt=new WeakSet,Va=function(t,n){return(i,o)=>{const a={...o},s={...this.defaults,...a};this.defaults.async===!0&&a.async===!1&&(s.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),s.async=!0);const c=Lr(this,Gt,fu).call(this,!!s.silent,!!s.async);if(typeof i>"u"||i===null)return c(new Error("marked(): input parameter is undefined or null"));if(typeof i!="string")return c(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(i)+", string expected"));if(s.hooks&&(s.hooks.options=s),s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(i):i).then(l=>t(l,s)).then(l=>s.hooks?s.hooks.processAllTokens(l):l).then(l=>s.walkTokens?Promise.all(this.walkTokens(l,s.walkTokens)).then(()=>l):l).then(l=>n(l,s)).then(l=>s.hooks?s.hooks.postprocess(l):l).catch(c);try{s.hooks&&(i=s.hooks.preprocess(i));let l=t(i,s);s.hooks&&(l=s.hooks.processAllTokens(l)),s.walkTokens&&this.walkTokens(l,s.walkTokens);let u=n(l,s);return s.hooks&&(u=s.hooks.postprocess(u)),u}catch(l){return c(l)}}},fu=function(t,n){return i=>{if(i.message+=`
522Please report this to https://github.com/markedjs/marked.`,t){const o="<p>An error occurred:</p><pre>"+Ee(i.message+"",!0)+"</pre>";return n?Promise.resolve(o):o}if(n)return Promise.reject(i);throw i}};const Qt=new yg;function X(e,t){return Qt.parse(e,t)}X.options=X.setOptions=function(e){return Qt.setOptions(e),X.defaults=Qt.defaults,iu(X.defaults),X};X.getDefaults=qs;X.defaults=en;X.use=function(...e){return Qt.use(...e),X.defaults=Qt.defaults,iu(X.defaults),X};X.walkTokens=function(e,t){return Qt.walkTokens(e,t)};X.parseInline=Qt.parseInline;X.Parser=tt;X.parser=tt.parse;
522X.Renderer=$i;X.TextRenderer=Js;X.Lexer=et;X.lexer=et.lex;X.Tokenizer=Mi;X.Hooks=ar;X.parse=X;X.options;X.setOptions;X.use;X.walkTokens;X.parseInline;tt.parse;et.lex;const vg=typeof window<"u"&&window.location.hostname==="localhost"?"http://localhost:3000":"https://ecash.onrender.com";function wg(e){return X.parse(e).replace(/<a href=/g,'<a target="_blank" rel="noopener noreferrer" href=')}function bg(e=600){const[t,n]=C.useState(()=>typeof window<"u"&&window.innerWidth<e);return C.useEffect(()=>{const i=()=>n(window.innerWidth<e);return window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[e]),t}function mu({accent:e="#e8a84a",size:t=12,active:n=!0}){return r.jsxs("span",{className:n?"signal-bars signal-bars--active":"signal-bars",style:{height:t},"aria-hidden":"true",children:[r.jsx("span",{className:"signal-bar",style:{background:e}}),r.jsx("span",{className:"signal-bar",style:{background:e}}),r.jsx("span",{className:"signal-bar",style:{background:e}})]})}function kg({open:e,onClick:t,accent:n="#e8a84a"}){const[i,o]=C.useState(!1);return e?null:r.jsxs("button",{onClick:t,onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),style:{position:"fixed",right:"clamp(12px, 3vw, 24px)",bottom:"clamp(20px, 5vh, 36px)",zIndex:999,display:"flex",alignItems:"center",gap:10,background:i?"var(--bg-0)":"var(--bg-1)",border:`1px solid ${i?n+"aa":n+"40"}`,borderRadius:6,padding:"11px 18px",cursor:"pointer",fontFamily:"var(--font-mono)",transition:"border-color .2s, background .2s, box-shadow .2s",boxShadow:i?`0 0 24px ${n}22, 0 10px 28px rgba(0,0,0,0.45)`:"0 2px 8px rgba(0,0,0,0.3)"},children:[r.jsx(mu,{accent:n,size:11,active:i}),r.jsx("span",{"aria-hidden":"true",style:{color:i?n:"var(--text-3)",fontSize:13,lineHeight:1,transition:"margin .22s cubic-bezier(.2,.8,.3,1), color .2s",marginRight:i?8:2},children:"["}),r.jsx("span",{style:{color:i?"var(--text-0)":"var(--text-1)",fontSize:11,letterSpacing:"0.14em",textTransform:"uppercase",transition:"color .2s",whiteSpace:"nowrap"},children:"ask about ecash"}),r.jsx("span",{"aria-hidden":"true",style:{color:i?n:"var(--text-3)",fontSize:13,lineHeight:1,transition:"margin .22s cubic-bezier(.2,.8,.3,1), color .2s",marginLeft:i?8:2},children:"]"})]})}const jg=["What is eCash?","What happens to my BTC?","Why hardfork?","What's a drivechain?","What is SHAD?","Is this real?"],Uo="Ask me anything about eCash, drivechains, BIP 300/301, or the hardfork launch.";function Sg({open:e,onClose:t,accent:n="#e8a84a"}){var h;const i=bg(),[o,a]=C.useState([]),[s,c]=C.useState(""),[l,u]=C.useState(!1),[x,g]=C.useState(""),[f,b]=C.useState(!1),v=C.useRef(null),y=C.useRef(null),k=C.useRef(!1);C.useEffect(()=>{if(!e||k.current)return;if(k.current=!0,window.matchMedia("(prefers-reduced-motion: reduce)").matches){g(Uo),b(!0);return}let j=0;const _=setInterval(()=>{j++,g(Uo.slice(0,j)),j>=Uo.length&&(clearInterval(_),b(!0))},14);return()=>clearInterval(_)},[e]),C.useEffect(()=>{v.current&&(v.current.scrollTop=v.current.scrollHeight)},[o,l]),C.useEffect(()=>()=>{y.current&&y.current.abort()},[]);const m=async w=>{const j=(typeof w=="string"?w:s).trim();if(!j||l)return;const _=[...o,{role:"user",content:j}];a(_),c(""),u(!0),typeof window.plausible=="function"&&window.plausible("chatbot_message");const T=new AbortController;y.current=T;try{const A=await fetch(`${vg}/api/chat`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:_}),signal:T.signal});if(!A.ok){const ie=await A.json().catch(()=>({}));throw new Error(ie.error||`HTTP ${A.status}`)}if(!A.body)throw new Error("no streaming body from server");a(ie=>[...ie,{role:"assistant",content:""}]);const S=A.body.getReader(),P=new TextDecoder;let D="",O="";for(;;){const{done:ie,value:z}=await S.read();if(ie)break;D+=P.decode(z,{stream:!0});const W=D.split(`
523`);D=W.pop();for(const q of W){const N=q.trim();if(!N||N.startsWith(":")||!N.startsWith("data: "))continue;const L=N.slice(6);if(L==="[DONE]")continue;let R;try{R=JSON.parse(L)}catch{continue}if(R.error)throw new Error(R.error);if(R.content){O+=R.content;const K=O;a(M=>{const mt=[...M];return mt[mt.length-1]={role:"assistant",content:K},mt})}}}if(!O)throw new Error("empty response from AI backend")}catch(A){A.name!=="AbortError"&&a(S=>{const P=S[S.length-1];if((P==null?void 0:P.role)==="assistant"){const D=[...S];return D[D.length-1]={role:"assistant",content:P.content||`[error: ${A.message}]`},D}return[...S,{role:"assistant",content:`[error: ${A.message}]`}]})}finally{u(!1)}},p=w=>{typeof window.plausible=="function"&&window.plausible("chip_click",{props:{chip:w}}),m(w)};if(!e)return null;const d=i?{position:"fixed",left:0,right:0,bottom:0,width:"100%",height:"86vh",borderRadius:"12px 12px 0 0"}:{position:"fixed",right:"clamp(8px, 2vw, 24px)",bottom:"clamp(96px, 16vh, 112px)",width:"clamp(340px, 32vw, 520px)",height:"clamp(460px, 78vh, 720px)",borderRadius:8};return r.jsxs("div",{style:{...d,background:"var(--bg-1)",border:"1px solid var(--border-0)",boxShadow:"0 20px 60px rgba(0,0,0,0.6), inset 0 0 0 0.5px rgba(255,255,255,0.03)",display:"flex",flexDirection:"column",zIndex:1e3,fontFamily:'"JetBrains Mono", ui-monospace, monospace',color:"var(--text-05)",overflow:"hidden"},children:[r.jsxs("div",{style:{padding:"clamp(8px, 2vh, 10px) clamp(10px, 2.5vw, 14px)",borderBottom:"1px solid var(--border-0)",display:"flex",alignItems:"center",justifyContent:"space-between",fontSize:"clamp(9px, 2.5vw, 11px)",letterSpacing:"0.08em",textTransform:"uppercase"},children:[r.jsxs("div",{style:{display:"flex",alignItems:"center",gap:9},children:[r.jsx(mu,{accent:n,size:11,active:!0}),r.jsx("span",{style:{color:"var(--text-1)"},children:"atreides"}),r.jsx("span",{style:{color:"var(--text-4)",letterSpacing:"0.04em"},children:"· fork intelligence"})]}),r.jsx("button",{onClick:t,style:{background:"none",border:"none",color:"var(--text-2)",cursor:"pointer",fontSize:"clamp(12px, 3vw, 14px)",padding:2,lineHeight:1},children:"×"})]}),r.jsxs("div",{ref:v,style:{flex:1,overflowY:"auto",padding:"clamp(10px, 2vh, 14px)",display:"flex",flexDirection:"column",gap:"clamp(10px, 2vh, 16px)",fontSize:"clamp(11px, 2.5vw, 13px)",lineHeight:1.5},children:[r.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:3,maxWidth:"92%"},children:[r.jsx("div",{style:{fontSize:"clamp(8px, 2vw, 10px)",color:n,letterSpacing:"0.1em",textTransform:"uppercase"},children:"• atreides"}),r.jsxs("div",{style:{color:"var(--text-05)"},children:[x,!f&&r.jsx("span",{className:"term-cursor",style:{color:n,marginLeft:1},children:"█"})]})]}),o.length===0&&f&&r.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:6},children:jg.map(w=>r.jsxs("button",{className:"chat-chip",onClick:()=>p(w),children:[r.jsx("span",{style:{color:n},children:"›"}),w]},w))}),o.map((w,j)=>r.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:3,alignSelf:w.role==="user"?"flex-end":"flex-start",maxWidth:"85%"},children:[w.role==="assistant"&&r.jsx("div",{style:{fontSize:"clamp(8px, 2vw, 10px)",color:n,letterSpacing:"0.1em",textTransform:"uppercase"},children:"• atreides"}),w.role==="assistant"?r.jsx("div",{className:"chat-md",style:{color:"var(--text-05)"},dangerouslySetInnerHTML:{__html:wg(w.content)}}):r.jsxs("div",{style:{color:"var(--text-2)",whiteSpace:"pre-wrap",wordBreak:"break-word"},children:[r.jsx("span",{style:{color:n},children:"> "}),w.content]}
523)]},j)),l&&((h=o[o.length-1])==null?void 0:h.role)!=="assistant"&&r.jsxs("div",{style:{alignSelf:"flex-start",fontSize:"clamp(8px, 2vw, 10px)",color:n,letterSpacing:"0.1em",textTransform:"uppercase"},children:["• atreides ",r.jsx(Cg,{})]})]}),r.jsxs("div",{style:{borderTop:"1px solid var(--border-0)",padding:"6px clamp(10px, 2.5vw, 14px)",display:"flex",alignItems:"center",gap:8,fontSize:9,letterSpacing:"0.14em",textTransform:"uppercase",flexShrink:0},children:[r.jsx("span",{style:{color:"var(--text-4)"},children:"atreides"}),r.jsx("span",{style:{color:"var(--text-4)"},children:"·"}),r.jsx("span",{style:{color:"var(--text-4)"},children:"ecash corpus"}),r.jsxs("span",{style:{marginLeft:"auto",display:"flex",alignItems:"center",gap:5,color:n,opacity:.6},children:[r.jsx("span",{style:{display:"inline-block",width:4,height:4,borderRadius:"50%",background:n,animation:"pulseDot 2s ease-in-out infinite"}}),"online"]})]}),r.jsxs("div",{style:{borderTop:"1px solid var(--border-0)",padding:"clamp(8px, 1.5vh, 10px) clamp(10px, 2vw, 12px)",display:"flex",gap:"clamp(6px, 1.5vw, 8px)",alignItems:"center"},children:[r.jsx("span",{style:{color:n,fontSize:"clamp(13px, 2.5vw, 15px)",lineHeight:1},children:">"}),r.jsx("input",{className:"hero-chat-input",value:s,onChange:w=>c(w.target.value),onKeyDown:w=>w.key==="Enter"&&m(),placeholder:"ask a question.",disabled:l,style:{flex:1,background:"transparent",border:"none",outline:"none",color:"var(--text-0)",fontFamily:"inherit",fontSize:"clamp(11px, 2.5vw, 13px)"}}),r.jsx("button",{onClick:m,disabled:l||!s.trim(),style:{background:"transparent",border:`1px solid ${l||!s.trim()?"var(--border-2)":n+"55"}`,color:l||!s.trim()?"var(--text-4)":n,padding:"clamp(4px, 1vh, 5px) clamp(8px, 1.5vw, 12px)",fontSize:"clamp(8px, 2vw, 10px)",borderRadius:2,cursor:l||!s.trim()?"default":"pointer",fontFamily:"inherit",letterSpacing:"0.14em",textTransform:"uppercase",whiteSpace:"nowrap",transition:"border-color .13s, color .13s"},children:"↵ send"})]})]})}function Cg(){const[e,t]=C.useState(0);return C.useEffect(()=>{const n=setInterval(()=>t(i=>(i+1)%4),400);return()=>clearInterval(n)},[]),r.jsx("span",{children:".".repeat(e)})}function Tg(e=600){const[t,n]=C.useState(()=>typeof window<"u"&&window.innerWidth<e);return C.useEffect(()=>{const i=()=>n(window.innerWidth<e);return window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[e]),t}function _g({open:e,onClose:t,accent:n="#e8a84a",mode:i="repl"}){const o=Tg(),[a,s]=C.useState([]),[c,l]=C.useState(""),[u,x]=C.useState({height:null,mempoolBytes:null,mempoolTxs:null,fetchedAt:null}),g=C.useRef(null),f=C.useCallback(async()=>{try{const[k,m]=await Promise.allSettled([fetch("https://mempool.space/api/blocks/tip/height").then(p=>p.text()),fetch("https://mempool.space/api/mempool").then(p=>p.json())]);x(p=>{const d={...p,fetchedAt:Date.now()};if(k.status==="fulfilled"){const h=parseInt(k.value,10);!isNaN(h)&&h>0&&(d.height=h)}return m.status==="fulfilled"&&m.value&&(typeof m.value.vsize=="number"&&(d.mempoolBytes=m.value.vsize),typeof m.value.count=="number"&&(d.mempoolTxs=m.value.count)),d})}catch{}},[]);C.useEffect(()=>{e&&(s([{kind:"sys",text:"ecash-node v0.1.0-rc1 (drivechain-enabled)"},{kind:"sys",text:"connected to signet · 14,203 peers"},{kind:"sys",text:`type 'help' for commands. hardfork in ${Vo()} days.`}]),f())},[e,f]),C.useEffect(()=>{g.current&&(g.current.scrollTop=g.current.scrollHeight)},[a]);const b=k=>{const m=k.trim(),p=[{kind:"prompt",text:m}];if(!m){l("");return}const[d,...h]=m.split(/\s+/);switch(d.toLowerCase()){case"help":p.push({kind:"out",text:"commands:"},{kind:"out",text:"  help               this list"},{kind:"out",text:"  status             node status"},{kind:"out",text:"  bip300 list        sidechains shipping at fork"},{kind:"out",text:"  bip301 bmm         blind merge mining status"},{kind:"out",text:"  hardfork           countdown"},{kind:"out",text:"  whoami             paul's answer"},{kind:"out",text:"  clear              clear screen"});break;case"clear":s([]),l("");return;case"status":{const w=u.height||Eg(),j=u.mempoolBytes!=null?(u.mempoolBytes/1024/1024).toFixed(1):"24.1",_=u.mempoolTxs!=null?u.mempoolTxs.toLocaleStr
523ing():"8,302";p.push({kind:"out",text:`block height    : ${w.toLocaleString()}`},{kind:"out",text:`mempool         : ${j} MB / ${_} txs`},{kind:"out",text:"sidechains live : 0 (BIP300 not yet activated on BTC)"},{kind:"out",text:`hardfork eta    : ${Vo()} days`}),f();break}case"bip300":h[0]==="list"?p.push({kind:"out",text:"ID  NAME           STATUS    PURPOSE"},{kind:"out",text:"──  ─────────────  ────────  ─────────────────────────"},{kind:"out",text:"01  thunder        ready     payments · large blocks"},{kind:"out",text:"02  zside          ready     zk-snark privacy"},{kind:"out",text:"03  bitnames       beta      decentralized identity"},{kind:"out",text:"04  bitassets      beta      tokens · NFTs"},{kind:"out",text:"05  evm            beta      eth contracts on btc"},{kind:"out",text:"06  photon         alpha     quantum-resistant sigs"},{kind:"out",text:"07  truthcoin      draft     prediction markets"},{kind:"out",text:"08  filechain      draft     ipfs-style storage"},{kind:"out",text:""},{kind:"out",text:"shipping at fork: ready · beta · alpha"},{kind:"out",text:"see drivechain.info for full list"}):p.push({kind:"err",text:"usage: bip300 list"});break;case"bip301":p.push({kind:"out",text:"blind merge mining: inactive on BTC"},{kind:"out",text:`activates on eCash L1 starting alpha (block ~${E.ROADMAP[0].blockHeight.toLocaleString()})`},{kind:"out",text:"lets sidechains pay BTC miners for security"});break;case"hardfork":{p.push({kind:"out",text:`T-${Vo()} days, ${Bg()} hours (to mainnet)`},{kind:"out",text:`alpha   : ${E.ROADMAP[0].dateLabel} · block ~${E.ROADMAP[0].blockHeight.toLocaleString()}`},{kind:"out",text:`beta    : ${E.ROADMAP[1].dateLabel} · block ~${E.ROADMAP[1].blockHeight.toLocaleString()}`},{kind:"out",text:`mainnet : ${E.ROADMAP[2].dateLabel} · block ~${E.ROADMAP[2].blockHeight.toLocaleString()} (permanent)`}),f();break}case"whoami":p.push({kind:"out",text:"you are a person reading a website. good."});break;case"paul":case"sztorc":p.push({kind:"out",text:"he's around. he's skeptical."});break;default:p.push({kind:"err",text:`command not found: ${d}`})}s(w=>[...w,...p]),l("")};if(!e)return null;const v=i==="ide"?"~/ecash/node.sh":i==="blocks"?"block-stream · live":"ecash@node ~ %",y=o?{position:"fixed",left:0,right:0,bottom:0,width:"100%",height:"78vh",borderRadius:"12px 12px 0 0",transform:"none"}:{position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"clamp(320px, 92vw, 720px)",height:"clamp(280px, 80vh, 480px)",borderRadius:6};return r.jsxs("div",{style:{...y,background:"#0a0a0c",border:"1px solid #2a2a30",boxShadow:"0 40px 120px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.02)",display:"flex",flexDirection:"column",zIndex:1001,fontFamily:'"JetBrains Mono", ui-monospace, monospace',color:"#d4d4d8",overflow:"hidden"},children:[r.jsxs("div",{style:{padding:"clamp(8px, 2vh, 10px) clamp(10px, 2.5vw, 14px)",borderBottom:"1px solid #1f1f23",display:"flex",alignItems:"center",justifyContent:"space-between",fontSize:"clamp(9px, 2.5vw, 11px)",color:"#71717a"},children:[r.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"clamp(6px, 1.5vw, 10px)"},children:[r.jsxs("div",{style:{display:"flex",gap:"clamp(4px, 1vw, 6px)"},children:[r.jsx("span",{style:{width:"clamp(6px, 1.5vw, 10px)",height:"clamp(6px, 1.5vw, 10px)",borderRadius:"50%",background:"#3a3a42"}}),r.jsx("span",{style:{width:"clamp(6px, 1.5vw, 10px)",height:"clamp(6px, 1.5vw, 10px)",borderRadius:"50%",background:"#3a3a42"}}),r.jsx("span",{style:{width:"clamp(6px, 1.5vw, 10px)",height:"clamp(6px, 1.5vw, 10px)",borderRadius:"50%",background:"#3a3a42"}})]}),r.jsx("span",{style:{marginLeft:"clamp(4px, 1vw, 8px)",letterSpacing:"0.04em"},children:v})]}),r.jsx("button",{onClick:t,style:{background:"none",border:"none",color:"#71717a",cursor:"pointer",fontSize:"clamp(12px, 3vw, 16px)",padding:2,lineHeight:1},children:"×"})]}),r.jsx("div",{ref:g,style:{flex:1,overflowY:"auto",padding:"clamp(10px, 2vh, 14px) clamp(12px, 2.5vw, 16px)",fontSize:"clamp(10px, 2vw, 12.5px)",lineHeight:1.55},children:a.map((k,m)=>r.jsx("div",{style:{color:k.kind==="err"?"#f87171":k.kind==="sys"?"#71717a":k.kind==="prompt"?"#e4e4e7":"#a1a1aa",whiteSpace:o?"pre-wrap":"pre",wordBreak:o?"break-word":"normal",fontFamily:"inherit"},children:k.kind==="prompt"?r.jsxs(r.Fragment,{children:[r.jsx("span",{style:{color:n},children:"$ "}),k.text]}):k.text},m))}),r.jsxs("form",{onSubmit:k=>{k.preventDefault(),b(c)},style:{borderTop:"1px solid #1f1f23",padding:"clamp(8px, 1.5vh, 10px) clamp(12px, 2.5vw, 16px)",display:"flex",gap:"clamp(6px, 1.5vw, 8px)",alignItems:"center"},children:[r.jsx("span",{style:{color:n,fontSize:"clamp(11px, 2.5vw, 13px)"},children:"$"}),r.jsx("input",{autoFocus:!0,value:c,onChange:k=>l(k.target.value),style:{flex:1,background:"transparent",border:"none",outline:"none",color:"#e4e4e7",fontFamily:"inherit",fontSize:"clamp(11px, 2.5vw, 13px)"}})]})]})}function Vo(){const e=Os.getTime()-Date.now();return Math.max(0,Math.floor(e/864e5))}function Bg(){const e=Os.getTime()-Date.now();return Math.max(0,Math.floor(e%864e5/36e5))}function Eg(){const e=new Date("2009-01-03T18:15:05Z").getTime(),t=(Date.now()-e)/864e5;return Math.round(t*149.8)}function qo({accent:e}){return r.jsx("span",{style:{display:"inline-block",width:6,height:6,borderRadius:"50%",background:e,animation:"pulseDot 1.6s ease-in-out infinite",boxShadow:`0 0 8px ${e}`}})}function Nc(){return r.jsx("img",{src:"/ecash-logo.svg",width:"34",height:"34",alt:"eCash",style:{display:"block",flexShrink:0}})}function zg({open:e,onClick:t,accent:n}){const[i,o]=C.useState(!1);return r.jsxs("button",{onClick:t,onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),style:{position:"fixed",left:"clamp(12px, 3vw, 24px)",bottom:"clamp(20px, 5vh, 36px)",zIndex:999,display:"flex",alignItems:"center",gap:6,background:"transparent",border:`1px solid ${e?n:i?"#2a2a30":"var(--border-0)"}`,borderRadius:4,padding:"6px 10px",cursor:"pointer",fontFamily:'"JetBrains Mono", ui-monospace, monospace',fontSize:10,letterSpacing:"0.14em",textTransform:"uppercase",color:e?n:i?"var(--text-1)":"var(--text-2)",transition:"color .15s, border-color .15s"},children:[r.jsx("span",{children:"[_]"}),r.jsx("span",{className:"mobile-hide",children:"terminal"})]})}function Ng({name:e}){const t={fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"},n={bolt:r.jsx("path",{...t,d:"M8.5 1.5L3.5 9h4l-1 5.5L11.5 7h-4l1-5.5z"}),calendar:r.jsxs(r.Fragment,{children:[r.jsx("rect",{...t,x:"2",y:"3",width:"11",height:"10.5",rx:"1.5"}),r.jsx("path",{...t,d:"M2 6.5h11M5 1.5v3M10 1.5v3"})]}),layers:r.jsxs(r.Fragment,{children:[r.jsx("path",{...t,d:"M7.5 1.5L14 5 7.5 8.5 1 5l6.5-3.5z"}),r.jsx("path",{...t,d:"M1 8l6.5 3.5L14 8"}),r.jsx("path",{...t,d:"M1 11l6.5 3.5L14 11"})]}),help:r.jsxs(r.Fragment,{children:[r.jsx("circle",{...t,cx:"7.5",cy:"7.5",r:"6"}),r.jsx("path",{...t,d:"M5.75 5.75a1.75 1.75 0 113 1.25c-.6.6-1.25.9-1.25 1.75"}),r.jsx("circle",{cx:"7.5",cy:"10.9",r:"0.7",fill:"currentColor",stroke:"none"})]}),book:r.jsxs(r.Fragment,{children:[r.jsx("path",{...t,d:"M2 2.5h4.5A1.5 1.5 0 018 4v9.5a1.5 1.5 0 00-1.5-1.5H2v-9.5z"}),r.jsx("path",{...t,d:"M14 2.5H9.5A1.5 1.5 0 008 4v9.5A1.5 1.5 0 019.5 12H14V2.5z"})]}),play:r.jsxs(r.Fragment,{children:[r.jsx("circle",{...t,cx:"7.5",cy:"7.5",r:"6"}
523),r.jsx("path",{d:"M6.2 5.2l3.6 2.3-3.6 2.3z",fill:"currentColor",stroke:"none"})]}),quote:r.jsx("path",{d:"M2.5 8.5c0-3 1.5-5 4-6l.6 1.1c-1.6.8-2.4 1.9-2.6 3.1.2-.1.5-.2.9-.2 1.1 0 2 .9 2 2.1S6.5 10.7 5.3 10.7c-1.6 0-2.8-.9-2.8-2.2zm6.5 0c0-3 1.5-5 4-6l.6 1.1c-1.6.8-2.4 1.9-2.6 3.1.2-.1.5-.2.9-.2 1.1 0 2 .9 2 2.1s-.9 2.1-2.1 2.1c-1.6 0-2.8-.9-2.8-2.2z",fill:"currentColor",stroke:"none"}),archive:r.jsxs(r.Fragment,{children:[r.jsx("rect",{...t,x:"1.5",y:"2.5",width:"12",height:"3.5",rx:"0.8"}),r.jsx("path",{...t,d:"M2.5 6v6a1.5 1.5 0 001.5 1.5h7A1.5 1.5 0 0012.5 12V6M6 9h3"})]}),download:r.jsxs(r.Fragment,{children:[r.jsx("path",{...t,d:"M7.5 1.5v8M4.5 7l3 3 3-3"}),r.jsx("path",{...t,d:"M1.5 11v1.5A1.5 1.5 0 003 14h9a1.5 1.5 0 001.5-1.5V11"})]}),bug:r.jsxs(r.Fragment,{children:[r.jsx("circle",{...t,cx:"7.5",cy:"8.5",r:"4"}),r.jsx("path",{...t,d:"M5.5 5.5c0-1.2.9-2 2-2s2 .8 2 2M1.5 8.5h2M11.5 8.5h2M2.5 4.5L4.5 6M12.5 4.5L10.5 6M2.5 12.5L4.5 11M12.5 12.5L10.5 11"})]}),wallet:r.jsxs(r.Fragment,{children:[r.jsx("path",{...t,d:"M2 4.5A1.5 1.5 0 013.5 3h7A1.5 1.5 0 0112 4.5V5H3.5A1.5 1.5 0 012 3.5v1z"}),r.jsx("path",{...t,d:"M2 5h9.5A1.5 1.5 0 0113 6.5v6a1.5 1.5 0 01-1.5 1.5h-8A1.5 1.5 0 012 12.5v-8z"}),r.jsx("circle",{cx:"10",cy:"9.2",r:"0.9",fill:"currentColor",stroke:"none"})]}),list:r.jsxs(r.Fragment,{children:[r.jsx("path",{...t,d:"M3 1.5h6l3 3v8.5a1 1 0 01-1 1H3a1 1 0 01-1-1v-10.5a1 1 0 011-1z"}),r.jsx("path",{...t,d:"M9 1.5V5h3.5"}),r.jsx("path",{...t,d:"M4.3 8h6.4M4.3 10.3h6.4"})]})};return r.jsx("svg",{width:"15",height:"15",viewBox:"0 0 15 15","aria-hidden":"true",children:n[e]||null})}function Lg({items:e,tab:t,cols:n=1,minWidth:i,onLeave:o,onEnter:a}){return r.jsx("div",{className:"nav-drop2",style:{minWidth:i},onMouseEnter:a,onMouseLeave:o,children:r.jsx("div",{className:n===2?"nav-drop2-grid":void 0,children:e.map(s=>{const c=r.jsxs(r.Fragment,{children:[r.jsx("span",{className:"nav-drop2-chip",children:r.jsx(Ng,{name:s.icon})}),r.jsxs("span",{style:{display:"flex",flexDirection:"column"},children:[r.jsxs("span",{className:"nav-drop2-title",style:{display:"inline-flex",alignItems:"center",gap:6},children:[s.pulse&&r.jsx("span",{style:{width:5,height:5,borderRadius:"50%",background:"var(--accent)",display:"inline-block",animation:"pulseDot 1.6s ease-in-out infinite"}}),s.name]}),r.jsx("span",{className:"nav-drop2-desc",children:s.desc})]})]});return s.href?r.jsx("a",{href:s.href,target:"_blank",rel:"noopener noreferrer",className:"nav-drop2-item",onClick:s.onClick,children:c},s.name):r.jsx(Ke,{tab:s.tab,className:"nav-drop2-item"+(t===s.tab?" is-active":""),onClick:s.onClick,children:c},s.name)})})})}function Ag({tab:e,setTab:t,accent:n,menuOpen:i,setMenuOpen:o}){const[a,s]=C.useState(null),[c,l]=C.useState(null),u=(d,h,w=!1)=>{const j=`https://${d}.ecash.com/`;w&&window.open(j,"_blank"),Di(j,h),window.plausible&&window.plausible("External nav clicked",{props:{dest:d}}),o(!1)};C.useEffect(()=>(document.body.style.overflow=i?"hidden":"",()=>{document.body.style.overflow=""}),[i]);const x=C.useRef(null),g=C.useCallback(()=>{x.current&&(clearTimeout(x.current),x.current=null)},[]),f=C.useCallback(()=>{g(),x.current=setTimeout(()=>{l(null),s(null),x.current=null},220)},[g]),b=C.useCallback(d=>{g(),l(d),s(d)},[g]);C.useEffect(()=>()=>g(),[g]);const v=[{tab:"what-is-ecash",name:"what is ecash",desc:"a guide to ECX and the Bitcoin fork",icon:"help"},{tab:"drivechains",name:"drivechains",desc:"BIP300 and BIP301 explained",icon:"layers"},{tab:"coin-splitting",name:"coin splitting",desc:"understand replay protection",icon:"wallet"},{tab:"why-hardfork",name:"why hardfork",desc:"the case for a bitcoin hard fork",icon:"bolt"},{tab:"what-to-expect",name:"what to expect",desc:"what happens on and after fork day",icon:"calendar"},{tab:"how-to-claim",name:"how to claim",desc:"get your $ECX after the fork",icon:"wallet"},{tab:"sidechains",name:"sidechains",desc:"the seven L2s launching at fork",icon:"layers"},{tab:"faq",name:"faq",desc:"common questions answered",icon:"help"},{tab:"reading",name:"reading",desc:"essays, papers & source material",icon:"book"},{tab:"fast-facts",name:"fast facts",desc:"protocol specs & integration docs",icon:"list"}],y=[{tab:"media",name:"videos",desc:"interviews, talks & recorded debates",icon:"play"},{tab:"endorsements",name:"endorsements",desc:"what bitcoin builders are saying",icon:"quote"}],k=[{tab:"download",name:"download",desc:"ecash wallet + bitwindow",icon:"download"},{tab:"bounty",name:"bounty",desc:"earn $ECX for finding bugs",icon:"bug",pulse:!0}],m=[{key:"news",label:"news",pulse:!0,action:()=>u("news","mobile_nav",!0)},{key:"explorer",label:"explorer",action:()=>u("explorer","mobile_nav",!0)},{key:"archive",label:"archive",action:()=>u("archive","mobile_nav",!0)},{key:"learn",label:"learn",group:v},{key:"media",label:"media",group:y},{key:"software",label:"software",group:k},{key:"socials",label:"contact",action:()=>{t("socials"),o(!1)}},{key:"list-ecx",label:"list $ecx",action:()=>{t("list-ecx"),o(!1)}}],p=({label:d,dropKey:h,activeWhen:w,items:j,cols:_,minWidth:T,onClick:A,decoration:S,external:P,href:D,panelWidth:O})=>{const ie=w(e),z=c===h,W=a===(h||d),q=!!j,N=D?"a":"button";return r.jsxs("div",{style:{position:"relative"},onMouseEnter:q?()=>b(h):()=>s(d),onMouseLeave:q?f:()=>s(null),children:[r.jsxs(N,{href:D,target:P?"_blank":void 0,rel:P?"noopener noreferrer":void 0,"aria-expanded":q?z:void 0,onClick:q?()=>l(z?null:h):L=>P?A==null?void 0:A():D?ro(L,A):A==null?void 0:A(),onAuxClick:L=>{P&&L.button===1&&(A==null||A())},onKeyDown:L=>{L.key==="Escape"&&l(null)},style:{textDecoration:"none",background:"none",border:"none",borderBottom:ie?`1px solid ${n}
523`:"1px solid transparent",cursor:"pointer",padding:"4px 0",fontFamily:"inherit",fontSize:"inherit",letterSpacing:"inherit",textTransform:"inherit",color:ie?n:W?"var(--text-1)":"var(--text-2)",transition:"color .15s",display:"flex",alignItems:"center",gap:q?4:5},children:[S,d,q&&r.jsx("span",{style:{fontSize:8,display:"inline-block",lineHeight:1,opacity:z?.9:.55,transform:z?"rotate(180deg)":"rotate(0deg)",transition:"transform .18s ease, opacity .15s"},children:"▾"})]}),z&&q&&r.jsx(Lg,{items:j.map(L=>({...L,onClick:L.href?void 0:()=>{t(L.tab),l(null),s(null)}})),tab:e,cols:_,minWidth:O||T,onEnter:g,onLeave:f})]})};return r.jsxs(r.Fragment,{children:[r.jsxs("div",{style:{position:"fixed",top:0,left:0,right:0,padding:"16px clamp(16px, 4vw, 32px)",zIndex:10,display:e==="sol-token"?"none":"flex",justifyContent:"space-between",alignItems:"center",fontFamily:"var(--font-sans)",fontSize:14,letterSpacing:"0.01em",color:"var(--text-2)",textTransform:"none",background:"rgba(10,10,12,0.72)",backdropFilter:"blur(14px)",WebkitBackdropFilter:"blur(14px)",borderBottom:"1px solid rgba(255,255,255,0.04)"},children:[r.jsxs(Ke,{tab:"home",setTab:t,style:{display:"flex",alignItems:"center",gap:10,cursor:"pointer"},children:[r.jsx(Nc,{}),r.jsx("span",{style:{color:"var(--text-0)",letterSpacing:"0.01em",fontSize:16,fontWeight:500},children:"eCash"})]}),r.jsxs("div",{className:"nav-tabs",style:{position:"absolute",left:"50%",transform:"translateX(-50%)",display:"flex",gap:"clamp(10px, 2.4vw, 24px)",alignItems:"center"},children:[r.jsx(p,{label:"news",href:"https://news.ecash.com/",external:!0,activeWhen:()=>!1,decoration:r.jsx(qo,{accent:n}),onClick:()=>u("news","desktop_nav")}),r.jsx(p,{label:"explorer",href:"https://explorer.ecash.com/",external:!0,activeWhen:()=>!1,onClick:()=>u("explorer","desktop_nav")}),r.jsx(p,{label:"archive",href:"https://archive.ecash.com/",external:!0,activeWhen:()=>!1,onClick:()=>u("archive","desktop_nav")}),r.jsx(p,{label:"learn",dropKey:"learn",activeWhen:d=>v.some(h=>h.tab===d),items:v,cols:2,panelWidth:480}),r.jsx(p,{label:"media",dropKey:"media",activeWhen:d=>d==="media"||d==="endorsements",items:y,panelWidth:280}),r.jsx(p,{label:"software",dropKey:"software",activeWhen:d=>d==="download"||d==="bounty",items:k,panelWidth:280}),r.jsx(p,{label:"contact",href:"/socials/",activeWhen:d=>d==="socials",onClick:()=>t("socials")}),r.jsx(p,{label:"list $ecx",href:"/list-ecx/",activeWhen:d=>d==="list-ecx",onClick:()=>t("list-ecx")})]}),r.jsxs("div",{className:"nav-mobile",style:{alignItems:"center",gap:10},children:[r.jsx("span",{style:{color:n,fontSize:9,letterSpacing:"0.18em",borderBottom:`1px solid ${n}50`,paddingBottom:1},children:e==="why-hardfork"?"why hardfork":e==="list-ecx"?"list $ecx":e}),r.jsxs("button",{onClick:()=>o(!0),style:{background:"none",border:"none",cursor:"pointer",padding:"4px 2px",display:"flex",flexDirection:"column",gap:4},"aria-label":"Open menu",children:[r.jsx("span",{style:{display:"block",width:18,height:1.5,background:"var(--text-2)",borderRadius:1}}),r.jsx("span",{style:{display:"block",width:18,height:1.5,background:"var(--text-2)",borderRadius:1}}),r.jsx("span",{style:{display:"block",width:12,height:1.5,background:"var(--text-2)",borderRadius:1}})]})]}),r.jsxs("a",{href:"https://github.com/orgs/ecash-com/repositories",target:"_blank",rel:"noopener noreferrer",style:{display:"inline-flex",alignItems:"center",gap:8,color:"var(--text-0)",textDecoration:"none",fontFamily:"var(--font-sans)",fontSize:14,letterSpacing:"0.01em",padding:"4px 0",transition:"color .15s"},onMouseEnter:d=>d.currentTarget.style.color=n,onMouseLeave:d=>d.currentTarget.style.color="var(--text-0)",children:["github",r.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true",children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})})]})]}),e!=="sol-token"&&r.jsxs("div",{className:"mobile-menu-overlay"+(i?" open":""),onClick:d=>{d.target===d.currentTarget&&o(!1)},children:[r.jsxs("div",{style:{height:56,display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 clamp(16px,4vw,24px)",flexShrink:0},children:[r.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[r.jsx(Nc,{}),r.jsx("span",{style:{color:"var(--text-0)",fontSize:13,letterSpacing:"0.08em",textTransform:"none",fontWeight:500},children:"eCash"})]}),r.jsx("button",{onClick:()=>o(!1),style:{background:"none",border:"none",cursor:"pointer",color:"var(--text-3)",fontSize:20,lineHeight:1,padding:"4px 6px",fontFamily:"inherit"},"aria-label":"Close menu",children:"✕"})]}),r.jsx("div",{style:{height:1,background:"var(--border-0)",flexShrink:0}}),r.jsx("div",{style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",overflowY:"auto"},children:m.reduce((d,h)=>{const w=h.group?h.group.some(j=>j.tab===e):e===h.key;return h.group?d.push(r.jsxs(C.Fragment,{children:[r.jsx("div",{style:{width:"100%",padding:"10px 0 4px",display:"flex",alignItems:"center",justifyContent:"center"},children:r.jsx("span",{style:{fontSize:9,letterSpacing:"0.28em",textTransform:"uppercase",color:"var(--text-4)"},children:h.label})}),h.group.map(j=>j.href?r.jsx("a",{href:j.href,target:"_blank",rel:"noopener noreferrer",style:{width:"100%",background:"none",border:"none",padding:"12px 0",display:"flex",alignItems:"center",justifyContent:"center",gap:10,fontFamily:"inherit",fontSize:13,letterSpacing:"0.24em",textTransform:"uppercase",color:"var(--text-2)",textDecoration:"none"},children:j.name},j.name):r.jsxs(Ke,{tab:j.tab,setTab:t,onClick:()=>o(!1),style:{width:"100%",background:"none",border:"none",padding:"12px 0",display:"flex",alignItems:"center",justifyContent:"center",gap:10,fontFamily:"inherit",fontSize:13,letterSpacing:"0.24em",textTransform:"uppercase",color:j.pulse||e===j.tab?n:"var(--text-2)",cursor:"pointer"},children:[j.pulse&&r.jsx(qo,{accent:n}),j.name,e===j.tab&&!j.pulse&&r.jsx("span",{style:{display:"inline-block",width:4,height:4,borderRadius:"50%",background:n,marginLeft:2}})]},j.name)),r.jsx("div",{style:{width:"60%",height:1,background:"var(--border-3)",margin:"4px 0"}})]},h.key)):d.push(r.jsxs(C.Fragment,{children:[r.jsxs("button",{onClick:h.action,style:{width:"100%",background:"none",border:"none",padding:"16px 0",display:"flex",alignItems:"center",justifyContent:"center",gap:10,fontFamily:"inherit",fontSize:14,letterSpacing:"0.28em",textTransform:"uppercase",color:h.pulse||w?n:"var(--text-2)",cursor:"pointer"},children:[h.pulse&&r.jsx(qo,{accent:n}),h.label,w&&!h.pulse&&r.jsx("span",{style:{display:"inline-block",width:4,height:4,borderRadius:"50%",background:n,marginLeft:2}})]}),r.jsx("div",{style:{width:"60%",height:1,background:"var(--border-3)"}}
523)]},h.key)),d},[])})]})]})}function Ig({initialPath:e}={}){const[t,n]=C.useState(Kf),[i,o]=C.useState(!1),[a,s]=C.useState(()=>pc(e||(typeof window>"u"?"/":window.location.pathname))),[c]=C.useState("dark"),[l,u]=C.useReducer(h=>h+1,0),x=C.useRef(null);x.current||(x.current=bm());const[g,f]=C.useState(!1),[b,v]=C.useState(!1),[y,k]=C.useState(!1);C.useEffect(()=>{document.documentElement.setAttribute("data-theme","dark")},[]);const m=h=>{s(h),window.history.pushState({tab:h},"",Oa(h)),u(),typeof window.plausible=="function"&&window.plausible("tab_view",{props:{tab:h}})};C.useEffect(()=>{const h=()=>{s(pc(window.location.pathname)),u()};return window.addEventListener("popstate",h),()=>window.removeEventListener("popstate",h)},[]),C.useEffect(()=>{em(a)},[a]),C.useEffect(()=>{x.current(l,a)},[l,a]),C.useEffect(()=>{const h=w=>wm(w,"site_content","split_guide_click");return document.addEventListener("click",h,!0),document.addEventListener("auxclick",h,!0),()=>{document.removeEventListener("click",h,!0),document.removeEventListener("auxclick",h,!0)}},[]),C.useEffect(()=>{window.scrollTo({top:0,behavior:"auto"})},[a]),C.useEffect(()=>{const h=w=>{const j=w.data;!j||typeof j!="object"||(j.type==="__activate_edit_mode"&&o(!0),j.type==="__deactivate_edit_mode"&&o(!1))};return window.addEventListener("message",h),window.parent.postMessage({type:"__edit_mode_available"},"*"),()=>window.removeEventListener("message",h)},[]);const p=(h,w)=>{n(j=>({...j,[h]:w})),window.parent.postMessage({type:"__edit_mode_set_keys",edits:{[h]:w}},"*")},{accent:d}=t;return r.jsxs(r.Fragment,{children:[r.jsx(Ag,{tab:a,setTab:m,accent:d,menuOpen:y,setMenuOpen:k}),r.jsxs("div",{style:{background:"var(--bg-0)"},children:[a==="home"&&r.jsx(um,{tweaks:t,setTab:m,theme:c}),["what-is-ecash","drivechains","coin-splitting"].includes(a)&&r.jsx(gm,{topic:a}),a==="404"&&r.jsxs("main",{className:"guide-page",children:[r.jsx("h1",{children:"Page not found"}),r.jsx("p",{children:"This address does not match a page on ecash.com."}),r.jsxs("p",{children:[r.jsx("a",{href:"/",children:"Return home"})," or ",r.jsx("a",{href:"/what-is-ecash/",children:"learn about eCash (ECX)"}),"."]})]}),a==="faq"&&r.jsx(km,{accent:d}),a==="reading"&&r.jsx(Sm,{accent:d}),a==="fast-facts"&&r.jsx(_m,{accent:d}),a==="why-hardfork"&&r.jsx(Bm,{accent:d,setTab:m}),a==="what-to-expect"&&r.jsx(Em,{accent:d,setTab:m}),a==="how-to-claim"&&r.jsx(zm,{accent:d,setTab:m}),a==="list-ecx"&&r.jsx(Pm,{accent:d,setTab:m}),a==="join"&&r.jsx(Dm,{accent:d,setTab:m}),(a==="media"||a==="watch")&&r.jsx(Ym,{accent:d}),a==="download"&&r.jsx(ex,{accent:d}),a==="endorsements"&&r.jsx(ux,{accent:d}),a==="brand"&&r.jsx(xx,{accent:d}),a==="bounty"&&r.jsx(yx,{accent:d,setTab:m}),a==="sol-token"&&r.jsx(zx,{accent:d,setTab:m}),a==="socials"&&r.jsx(vx,{accent:d}),a==="sidechains"&&r.jsx(Sx,{accent:d}),a==="privacy"&&r.jsx(Nx,{}),a==="terms"&&r.jsx(Lx,{}),a!=="sol-token"&&r.jsx(Dx,{setTab:m,accent:d})]}),a==="home"&&!y&&r.jsxs(r.Fragment,{children:[r.jsx(kg,{open:g,onClick:()=>{f(!0),window.plausible&&window.plausible("Chat opened")},accent:d}),r.jsx(Sg,{open:g,onClose:()=>f(!1),accent:d})]}),a!=="sol-token"&&!y&&r.jsxs(r.Fragment,{children:[r.jsx(zg,{open:b,onClick:()=>v(h=>!h),accent:d}),r.jsx(_g,{open:b,onClose:()=>v(!1),accent:d,mode:"blocks"})]}),a==="home"&&r.jsxs("div",{className:`tweaks-panel ${i?"open":""}`,style:{"--accent":t.accent},children:[r.jsx("h3",{children:"tweaks"}),r.jsxs("div",{className:"tweaks-row",children:[r.jsx("label",{children:"countdown"}),r.jsx("div",{className:"opts",children:["digital","flip","single","ascii"].map(h=>r.jsx("button",{className:t.countdownStyle===h?"on":"",onClick:()=>p("countdownStyle",h),children:h},h))})]}),r.jsxs("div",{className:"tweaks-row",children:[r.jsx("label",{children:"accent"}),r.jsx("div",{className:"opts",children:[{n:"amber",v:"#e8a84a"},{n:"cyan",v:"#5ac8d6"},{n:"lime",v:"#a8d65a"},{n:"pink",v:"#e86a8a"},{n:"white",v:"var(--text-05)"}].map(h=>r.jsx("button",{className:`swatch ${t.accent===h.v?"on":""}`,style:{background:h.v},title:h.n,onClick:()=>p("accent",h.v)},h.v))})]}),r.jsxs("div",{className:"tweaks-row",children:[r.jsx("label",{children:"background"}),r.jsx("div",{className:"opts",children:["grid","dots","scanlines","none"].map(h=>r.jsx("button",{className:t.gridBg===h?"on":"",onClick:()=>p("gridBg",h),children:h},h))})]}),r.jsxs("div",{className:"tweaks-row",children:[r.jsx("label",{children:"tagline"}),r.jsxs("div",{className:"opts",children:[r.jsx("button",{className:t.
523showTagline?"on":"",onClick:()=>p("showTagline",!0),children:"on"}),r.jsx("button",{className:t.showTagline?"":"on",onClick:()=>p("showTagline",!1),children:"off"})]})]}),r.jsxs("div",{className:"tweaks-row",children:[r.jsx("label",{children:"ticker"}),r.jsxs("div",{className:"opts",children:[r.jsx("button",{className:t.showTicker?"on":"",onClick:()=>p("showTicker",!0),children:"on"}),r.jsx("button",{className:t.showTicker?"":"on",onClick:()=>p("showTicker",!1),children:"off"})]})]}),r.jsxs("div",{style:{fontSize:9,color:"var(--text-3)",letterSpacing:".1em",marginTop:8},children:["target · ",E.FORK_DATE_ISO.slice(0,16).replace("T"," "),"Z"]})]})]})}Ko.createRoot(document.getElementById("root")).render(r.jsx(C.StrictMode,{children:r.jsx(Ig,{})}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.