diff --git a/404.html b/404.html index 1a7aec863..ae7e3138c 100644 --- a/404.html +++ b/404.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/abi-decode/index.html b/abi-decode/index.html index 1a7aec863..ae7e3138c 100644 --- a/abi-decode/index.html +++ b/abi-decode/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/abi-encode/index.html b/abi-encode/index.html index 1a7aec863..ae7e3138c 100644 --- a/abi-encode/index.html +++ b/abi-encode/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/airdrop/index.html b/app/airdrop/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/airdrop/index.html +++ b/app/airdrop/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/assembly-bin-exp/index.html b/app/assembly-bin-exp/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/assembly-bin-exp/index.html +++ b/app/assembly-bin-exp/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/bi-directional-payment-channel/index.html b/app/bi-directional-payment-channel/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/bi-directional-payment-channel/index.html +++ b/app/bi-directional-payment-channel/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/create2/index.html b/app/create2/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/create2/index.html +++ b/app/create2/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/crowd-fund/index.html b/app/crowd-fund/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/crowd-fund/index.html +++ b/app/crowd-fund/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/deploy-any-contract/index.html b/app/deploy-any-contract/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/deploy-any-contract/index.html +++ b/app/deploy-any-contract/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/dutch-auction/index.html b/app/dutch-auction/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/dutch-auction/index.html +++ b/app/dutch-auction/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/english-auction/index.html b/app/english-auction/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/english-auction/index.html +++ b/app/english-auction/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/erc1155/index.html b/app/erc1155/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/erc1155/index.html +++ b/app/erc1155/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/erc20/index.html b/app/erc20/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/erc20/index.html +++ b/app/erc20/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/erc721/index.html b/app/erc721/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/erc721/index.html +++ b/app/erc721/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/ether-wallet/index.html b/app/ether-wallet/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/ether-wallet/index.html +++ b/app/ether-wallet/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/gasless-token-transfer/index.html b/app/gasless-token-transfer/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/gasless-token-transfer/index.html +++ b/app/gasless-token-transfer/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/iterable-mapping/index.html b/app/iterable-mapping/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/iterable-mapping/index.html +++ b/app/iterable-mapping/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/merkle-tree/index.html b/app/merkle-tree/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/merkle-tree/index.html +++ b/app/merkle-tree/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/minimal-proxy/index.html b/app/minimal-proxy/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/minimal-proxy/index.html +++ b/app/minimal-proxy/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/multi-call/index.html b/app/multi-call/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/multi-call/index.html +++ b/app/multi-call/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/multi-delegatecall/index.html b/app/multi-delegatecall/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/multi-delegatecall/index.html +++ b/app/multi-delegatecall/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/multi-sig-wallet/index.html b/app/multi-sig-wallet/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/multi-sig-wallet/index.html +++ b/app/multi-sig-wallet/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/simple-bytecode-contract/index.html b/app/simple-bytecode-contract/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/simple-bytecode-contract/index.html +++ b/app/simple-bytecode-contract/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/time-lock/index.html b/app/time-lock/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/time-lock/index.html +++ b/app/time-lock/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/uni-directional-payment-channel/index.html b/app/uni-directional-payment-channel/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/uni-directional-payment-channel/index.html +++ b/app/uni-directional-payment-channel/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/upgradeable-proxy/index.html b/app/upgradeable-proxy/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/upgradeable-proxy/index.html +++ b/app/upgradeable-proxy/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/app/write-to-any-slot/index.html b/app/write-to-any-slot/index.html index 1a7aec863..ae7e3138c 100644 --- a/app/write-to-any-slot/index.html +++ b/app/write-to-any-slot/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/array/index.html b/array/index.html index 1a7aec863..ae7e3138c 100644 --- a/array/index.html +++ b/array/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/assembly-error/index.html b/assembly-error/index.html index 1a7aec863..ae7e3138c 100644 --- a/assembly-error/index.html +++ b/assembly-error/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/assembly-if/index.html b/assembly-if/index.html index 1a7aec863..ae7e3138c 100644 --- a/assembly-if/index.html +++ b/assembly-if/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/assembly-loop/index.html b/assembly-loop/index.html index 1a7aec863..ae7e3138c 100644 --- a/assembly-loop/index.html +++ b/assembly-loop/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/assembly-math/index.html b/assembly-math/index.html index 1a7aec863..ae7e3138c 100644 --- a/assembly-math/index.html +++ b/assembly-math/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/assembly-variable/index.html b/assembly-variable/index.html index 1a7aec863..ae7e3138c 100644 --- a/assembly-variable/index.html +++ b/assembly-variable/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/assets/index-C-wTIGZT.css b/assets/index-1Qng9Y_e.css similarity index 100% rename from assets/index-C-wTIGZT.css rename to assets/index-1Qng9Y_e.css diff --git a/assets/index-aXZs8HFm.js b/assets/index-BwP8mGg_.js similarity index 99% rename from assets/index-aXZs8HFm.js rename to assets/index-BwP8mGg_.js index 338fa0095..32c8a05e8 100644 --- a/assets/index-aXZs8HFm.js +++ b/assets/index-BwP8mGg_.js @@ -38,7 +38,7 @@ function Ag(s,a){for(var n=0;nUa||(s.current=Je[Ua],Je[Ua]=null,Ua--)}function K(s,a){Ua++,Je[Ua]=s.current,s.current=a}var ua={},os=ma(ua),Cs=ma(!1),va=ua;function cn(s,a){var n=s.type.contextTypes;if(!n)return ua;var l=s.stateNode;if(l&&l.__reactInternalMemoizedUnmaskedChildContext===a)return l.__reactInternalMemoizedMaskedChildContext;var p={},e;for(e in n)p[e]=a[e];return l&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=a,s.__reactInternalMemoizedMaskedChildContext=p),p}function js(s){return s=s.childContextTypes,s!=null}function sp(){S(Cs),S(os)}function Et(s,a,n){if(os.current!==ua)throw Error(w(168));K(os,a),K(Cs,n)}function Ur(s,a,n){var l=s.stateNode;if(a=a.childContextTypes,typeof l.getChildContext!="function")return n;l=l.getChildContext();for(var p in l)if(!(p in a))throw Error(w(108,Ug(s)||"Unknown",p));return E({},n,l)}function ap(s){return s=(s=s.stateNode)&&s.__reactInternalMemoizedMergedChildContext||ua,va=os.current,K(os,s),K(Cs,Cs.current),!0}function Qt(s,a,n){var l=s.stateNode;if(!l)throw Error(w(169));n?(s=Ur(s,a,va),l.__reactInternalMemoizedMergedChildContext=s,S(Cs),S(os),K(os,s)):S(Cs),K(Cs,n)}var Qs=null,kp=!1,le=!1;function _r(s){Qs===null?Qs=[s]:Qs.push(s)}function iI(s){kp=!0,_r(s)}function ba(){if(!le&&Qs!==null){le=!0;var s=0,a=F;try{var n=Qs;for(F=1;s>=c,p-=c,Ts=1<<32-Fs(a)+p|n<Y?(x=B,B=null):x=B.sibling;var N=j(h,B,C[Y],y);if(N===null){B===null&&(B=x);break}s&&B&&N.alternate===null&&a(h,B),g=e(N,g,Y),k===null?Z=N:k.sibling=N,k=N,B=x}if(Y===C.length)return n(h,B),J&&Za(h,Y),Z;if(B===null){for(;YY?(x=B,B=null):x=B.sibling;var Xs=j(h,B,N.value,y);if(Xs===null){B===null&&(B=x);break}s&&B&&Xs.alternate===null&&a(h,B),g=e(Xs,g,Y),k===null?Z=Xs:k.sibling=Xs,k=Xs,B=x}if(N.done)return n(h,B),J&&Za(h,Y),Z;if(B===null){for(;!N.done;Y++,N=C.next())N=d(h,N.value,y),N!==null&&(g=e(N,g,Y),k===null?Z=N:k.sibling=N,k=N);return J&&Za(h,Y),Z}for(B=l(h,B);!N.done;Y++,N=C.next())N=u(B,h,Y,N.value,y),N!==null&&(s&&N.alternate!==null&&B.delete(N.key===null?Y:N.key),g=e(N,g,Y),k===null?Z=N:k.sibling=N,k=N);return s&&B.forEach(function(un){return a(h,un)}),J&&Za(h,Y),Z}function G(h,g,C,y){if(typeof C=="object"&&C!==null&&C.type===za&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case Cl:s:{for(var Z=C.key,k=g;k!==null;){if(k.key===Z){if(Z=C.type,Z===za){if(k.tag===7){n(h,k.sibling),g=p(k,C.props.children),g.return=h,h=g;break s}}else if(k.elementType===Z||typeof Z=="object"&&Z!==null&&Z.$$typeof===na&&_t(Z)===k.type){n(h,k.sibling),g=p(k,C.props),g.ref=Wn(h,k,C),g.return=h,h=g;break s}n(h,k);break}else a(h,k);k=k.sibling}C.type===za?(g=Ya(C.props.children,h.mode,y,C.key),g.return=h,h=g):(y=El(C.type,C.key,C.props,null,h.mode,y),y.ref=Wn(h,g,C),y.return=h,h=y)}return c(h);case Ja:s:{for(k=C.key;g!==null;){if(g.key===k)if(g.tag===4&&g.stateNode.containerInfo===C.containerInfo&&g.stateNode.implementation===C.implementation){n(h,g.sibling),g=p(g,C.children||[]),g.return=h,h=g;break s}else{n(h,g);break}else a(h,g);g=g.sibling}g=ge(C,h.mode,y),g.return=h,h=g}return c(h);case na:return k=C._init,G(h,g,k(C._payload),y)}if(Vn(C))return m(h,g,C,y);if(mn(C))return b(h,g,C,y);Gl(h,C)}return typeof C=="string"&&C!==""||typeof C=="number"?(C=""+C,g!==null&&g.tag===6?(n(h,g.sibling),g=p(g,C),g.return=h,h=g):(n(h,g),g=ie(C,h.mode,y),g.return=h,h=g),c(h)):n(h,g)}return G}var on=$r(!0),qr=$r(!1),pp=ma(null),ep=null,Oa=null,Fc=null;function Kc(){Fc=Oa=ep=null}function Mc(s){var a=pp.current;S(pp),s._currentValue=a}function Ee(s,a,n){for(;s!==null;){var l=s.alternate;if((s.childLanes&a)!==a?(s.childLanes|=a,l!==null&&(l.childLanes|=a)):l!==null&&(l.childLanes&a)!==a&&(l.childLanes|=a),s===n)break;s=s.return}}function ln(s,a){ep=s,Fc=Oa=null,s=s.dependencies,s!==null&&s.firstContext!==null&&(s.lanes&a&&(ds=!0),s.firstContext=null)}function Vs(s){var a=s._currentValue;if(Fc!==s)if(s={context:s,memoizedValue:a,next:null},Oa===null){if(ep===null)throw Error(w(308));Oa=s,ep.dependencies={lanes:0,firstContext:s}}else Oa=Oa.next=s;return a}var Ba=null;function Sc(s){Ba===null?Ba=[s]:Ba.push(s)}function si(s,a,n,l){var p=a.interleaved;return p===null?(n.next=n,Sc(a)):(n.next=p.next,p.next=n),a.interleaved=n,Ps(s,l)}function Ps(s,a){s.lanes|=a;var n=s.alternate;for(n!==null&&(n.lanes|=a),n=s,s=s.return;s!==null;)s.childLanes|=a,n=s.alternate,n!==null&&(n.childLanes|=a),n=s,s=s.return;return n.tag===3?n.stateNode:null}var la=!1;function xc(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ai(s,a){s=s.updateQueue,a.updateQueue===s&&(a.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects})}function _s(s,a){return{eventTime:s,lane:a,tag:0,payload:null,callback:null,next:null}}function Ia(s,a,n){var l=s.updateQueue;if(l===null)return null;if(l=l.shared,H&2){var p=l.pending;return p===null?a.next=a:(a.next=p.next,p.next=a),l.pending=a,Ps(s,n)}return p=l.interleaved,p===null?(a.next=a,Sc(l)):(a.next=p.next,p.next=a),l.interleaved=a,Ps(s,n)}function Ml(s,a,n){if(a=a.updateQueue,a!==null&&(a=a.shared,(n&4194240)!==0)){var l=a.lanes;l&=s.pendingLanes,n|=l,a.lanes=n,Wc(s,n)}}function Lt(s,a){var n=s.updateQueue,l=s.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var p=null,e=null;if(n=n.firstBaseUpdate,n!==null){do{var c={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};e===null?p=e=c:e=e.next=c,n=n.next}while(n!==null);e===null?p=e=a:e=e.next=a}else p=e=a;n={baseState:l.baseState,firstBaseUpdate:p,lastBaseUpdate:e,shared:l.shared,effects:l.effects},s.updateQueue=n;return}s=n.lastBaseUpdate,s===null?n.firstBaseUpdate=a:s.next=a,n.lastBaseUpdate=a}function cp(s,a,n,l){var p=s.updateQueue;la=!1;var e=p.firstBaseUpdate,c=p.lastBaseUpdate,t=p.shared.pending;if(t!==null){p.shared.pending=null;var o=t,r=o.next;o.next=null,c===null?e=r:c.next=r,c=o;var I=s.alternate;I!==null&&(I=I.updateQueue,t=I.lastBaseUpdate,t!==c&&(t===null?I.firstBaseUpdate=r:t.next=r,I.lastBaseUpdate=o))}if(e!==null){var d=p.baseState;c=0,I=r=o=null,t=e;do{var j=t.lane,u=t.eventTime;if((l&j)===j){I!==null&&(I=I.next={eventTime:u,lane:0,tag:t.tag,payload:t.payload,callback:t.callback,next:null});s:{var m=s,b=t;switch(j=a,u=n,b.tag){case 1:if(m=b.payload,typeof m=="function"){d=m.call(u,d,j);break s}d=m;break s;case 3:m.flags=m.flags&-65537|128;case 0:if(m=b.payload,j=typeof m=="function"?m.call(u,d,j):m,j==null)break s;d=E({},d,j);break s;case 2:la=!0}}t.callback!==null&&t.lane!==0&&(s.flags|=64,j=p.effects,j===null?p.effects=[t]:j.push(t))}else u={eventTime:u,lane:j,tag:t.tag,payload:t.payload,callback:t.callback,next:null},I===null?(r=I=u,o=d):I=I.next=u,c|=j;if(t=t.next,t===null){if(t=p.shared.pending,t===null)break;j=t,t=j.next,j.next=null,p.lastBaseUpdate=j,p.shared.pending=null}}while(!0);if(I===null&&(o=d),p.baseState=o,p.firstBaseUpdate=r,p.lastBaseUpdate=I,a=p.shared.interleaved,a!==null){p=a;do c|=p.lane,p=p.next;while(p!==a)}else e===null&&(p.shared.lanes=0);Ha|=c,s.lanes=c,s.memoizedState=d}}function Ot(s,a,n){if(s=a.effects,a.effects=null,s!==null)for(a=0;an?n:4,s(!0);var l=ee.transition;ee.transition={};try{s(!1),a()}finally{F=n,ee.transition=l}}function ui(){return Ys().memoizedState}function dI(s,a,n){var l=Ca(s);if(n={lane:l,action:n,hasEagerState:!1,eagerState:null,next:null},yi(s))mi(a,n);else if(n=si(s,a,n,l),n!==null){var p=is();Ks(n,s,l,p),bi(n,a,l)}}function CI(s,a,n){var l=Ca(s),p={lane:l,action:n,hasEagerState:!1,eagerState:null,next:null};if(yi(s))mi(a,p);else{var e=s.alternate;if(s.lanes===0&&(e===null||e.lanes===0)&&(e=a.lastRenderedReducer,e!==null))try{var c=a.lastRenderedState,t=e(c,n);if(p.hasEagerState=!0,p.eagerState=t,Ms(t,c)){var o=a.interleaved;o===null?(p.next=p,Sc(a)):(p.next=o.next,o.next=p),a.interleaved=p;return}}catch{}finally{}n=si(s,a,p,l),n!==null&&(p=is(),Ks(n,s,l,p),bi(n,a,l))}}function yi(s){var a=s.alternate;return s===D||a!==null&&a===D}function mi(s,a){Kn=op=!0;var n=s.pending;n===null?a.next=a:(a.next=n.next,n.next=a),s.pending=a}function bi(s,a,n){if(n&4194240){var l=a.lanes;l&=s.pendingLanes,n|=l,a.lanes=n,Wc(s,n)}}var rp={readContext:Vs,useCallback:es,useContext:es,useEffect:es,useImperativeHandle:es,useInsertionEffect:es,useLayoutEffect:es,useMemo:es,useReducer:es,useRef:es,useState:es,useDebugValue:es,useDeferredValue:es,useTransition:es,useMutableSource:es,useSyncExternalStore:es,useId:es,unstable_isNewReconciler:!1},jI={readContext:Vs,useCallback:function(s,a){return xs().memoizedState=[s,a===void 0?null:a],s},useContext:Vs,useEffect:$t,useImperativeHandle:function(s,a,n){return n=n!=null?n.concat([s]):null,xl(4194308,4,Ii.bind(null,a,s),n)},useLayoutEffect:function(s,a){return xl(4194308,4,s,a)},useInsertionEffect:function(s,a){return xl(4,2,s,a)},useMemo:function(s,a){var n=xs();return a=a===void 0?null:a,s=s(),n.memoizedState=[s,a],s},useReducer:function(s,a,n){var l=xs();return a=n!==void 0?n(a):a,l.memoizedState=l.baseState=a,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:a},l.queue=s,s=s.dispatch=dI.bind(null,D,s),[l.memoizedState,s]},useRef:function(s){var a=xs();return s={current:s},a.memoizedState=s},useState:Pt,useDebugValue:_c,useDeferredValue:function(s){return xs().memoizedState=s},useTransition:function(){var s=Pt(!1),a=s[0];return s=II.bind(null,s[1]),xs().memoizedState=s,[a,s]},useMutableSource:function(){},useSyncExternalStore:function(s,a,n){var l=D,p=xs();if(J){if(n===void 0)throw Error(w(407));n=n()}else{if(n=a(),ss===null)throw Error(w(349));Na&30||ei(l,a,n)}p.memoizedState=n;var e={value:n,getSnapshot:a};return p.queue=e,$t(ti.bind(null,l,e,s),[s]),l.flags|=2048,nl(9,ci.bind(null,l,e,n,a),void 0,null),n},useId:function(){var s=xs(),a=ss.identifierPrefix;if(J){var n=Us,l=Ts;n=(l&~(1<<32-Fs(l)-1)).toString(32)+n,a=":"+a+"R"+n,n=sl++,0<\/script>",s=s.removeChild(s.firstChild)):typeof l.is=="string"?s=c.createElement(n,{is:l.is}):(s=c.createElement(n),n==="select"&&(c=s,l.multiple?c.multiple=!0:l.size&&(c.size=l.size))):s=c.createElementNS(s,n),s[Js]=a,s[Pn]=l,Xi(s,a,!1,!1),a.stateNode=s;s:{switch(c=Ge(n,l),n){case"dialog":M("cancel",s),M("close",s),p=l;break;case"iframe":case"object":case"embed":M("load",s),p=l;break;case"video":case"audio":for(p=0;phn&&(a.flags|=128,l=!0,Gn(e,!1),a.lanes=4194304)}else{if(!l)if(s=tp(c),s!==null){if(a.flags|=128,l=!0,n=s.updateQueue,n!==null&&(a.updateQueue=n,a.flags|=4),Gn(e,!0),e.tail===null&&e.tailMode==="hidden"&&!c.alternate&&!J)return cs(a),null}else 2*U()-e.renderingStartTime>hn&&n!==1073741824&&(a.flags|=128,l=!0,Gn(e,!1),a.lanes=4194304);e.isBackwards?(c.sibling=a.child,a.child=c):(n=e.last,n!==null?n.sibling=c:a.child=c,e.last=c)}return e.tail!==null?(a=e.tail,e.rendering=a,e.tail=a.sibling,e.renderingStartTime=U(),a.sibling=null,n=z.current,K(z,l?n&1|2:n&1),a):(cs(a),null);case 22:case 23:return st(),l=a.memoizedState!==null,s!==null&&s.memoizedState!==null!==l&&(a.flags|=8192),l&&a.mode&1?ys&1073741824&&(cs(a),a.subtreeFlags&6&&(a.flags|=8192)):cs(a),null;case 24:return null;case 25:return null}throw Error(w(156,a.tag))}function ZI(s,a){switch(Nc(a),a.tag){case 1:return js(a.type)&&sp(),s=a.flags,s&65536?(a.flags=s&-65537|128,a):null;case 3:return rn(),S(Cs),S(os),Dc(),s=a.flags,s&65536&&!(s&128)?(a.flags=s&-65537|128,a):null;case 5:return zc(a),null;case 13:if(S(z),s=a.memoizedState,s!==null&&s.dehydrated!==null){if(a.alternate===null)throw Error(w(340));tn()}return s=a.flags,s&65536?(a.flags=s&-65537|128,a):null;case 19:return S(z),null;case 4:return rn(),null;case 10:return Mc(a.type._context),null;case 22:case 23:return st(),null;case 24:return null;default:return null}}var fl=!1,ts=!1,WI=typeof WeakSet=="function"?WeakSet:Set,f=null;function Pa(s,a){var n=s.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(l){Q(s,a,l)}else n.current=null}function qe(s,a,n){try{n()}catch(l){Q(s,a,l)}}var ro=!1;function GI(s,a){if(Fe=Ol,s=Mr(),vc(s)){if("selectionStart"in s)var n={start:s.selectionStart,end:s.selectionEnd};else s:{n=(n=s.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var p=l.anchorOffset,e=l.focusNode;l=l.focusOffset;try{n.nodeType,e.nodeType}catch{n=null;break s}var c=0,t=-1,o=-1,r=0,I=0,d=s,j=null;a:for(;;){for(var u;d!==n||p!==0&&d.nodeType!==3||(t=c+p),d!==e||l!==0&&d.nodeType!==3||(o=c+l),d.nodeType===3&&(c+=d.nodeValue.length),(u=d.firstChild)!==null;)j=d,d=u;for(;;){if(d===s)break a;if(j===n&&++r===p&&(t=c),j===e&&++I===l&&(o=c),(u=d.nextSibling)!==null)break;d=j,j=d.parentNode}d=u}n=t===-1||o===-1?null:{start:t,end:o}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ke={focusedElem:s,selectionRange:n},Ol=!1,f=a;f!==null;)if(a=f,s=a.child,(a.subtreeFlags&1028)!==0&&s!==null)s.return=a,f=s;else for(;f!==null;){a=f;try{var m=a.alternate;if(a.flags&1024)switch(a.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var b=m.memoizedProps,G=m.memoizedState,h=a.stateNode,g=h.getSnapshotBeforeUpdate(a.elementType===a.type?b:Rs(a.type,b),G);h.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var C=a.stateNode.containerInfo;C.nodeType===1?C.textContent="":C.nodeType===9&&C.documentElement&&C.removeChild(C.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(w(163))}}catch(y){Q(a,a.return,y)}if(s=a.sibling,s!==null){s.return=a.return,f=s;break}f=a.return}return m=ro,ro=!1,m}function Mn(s,a,n){var l=a.updateQueue;if(l=l!==null?l.lastEffect:null,l!==null){var p=l=l.next;do{if((p.tag&s)===s){var e=p.destroy;p.destroy=void 0,e!==void 0&&qe(a,n,e)}p=p.next}while(p!==l)}}function Gp(s,a){if(a=a.updateQueue,a=a!==null?a.lastEffect:null,a!==null){var n=a=a.next;do{if((n.tag&s)===s){var l=n.create;n.destroy=l()}n=n.next}while(n!==a)}}function sc(s){var a=s.ref;if(a!==null){var n=s.stateNode;switch(s.tag){case 5:s=n;break;default:s=n}typeof a=="function"?a(s):a.current=s}}function Ni(s){var a=s.alternate;a!==null&&(s.alternate=null,Ni(a)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(a=s.stateNode,a!==null&&(delete a[Js],delete a[Pn],delete a[xe],delete a[oI],delete a[rI])),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}function Hi(s){return s.tag===5||s.tag===3||s.tag===4}function io(s){s:for(;;){for(;s.sibling===null;){if(s.return===null||Hi(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.flags&2||s.child===null||s.tag===4)continue s;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function ac(s,a,n){var l=s.tag;if(l===5||l===6)s=s.stateNode,a?n.nodeType===8?n.parentNode.insertBefore(s,a):n.insertBefore(s,a):(n.nodeType===8?(a=n.parentNode,a.insertBefore(s,n)):(a=n,a.appendChild(s)),n=n._reactRootContainer,n!=null||a.onclick!==null||(a.onclick=ql));else if(l!==4&&(s=s.child,s!==null))for(ac(s,a,n),s=s.sibling;s!==null;)ac(s,a,n),s=s.sibling}function nc(s,a,n){var l=s.tag;if(l===5||l===6)s=s.stateNode,a?n.insertBefore(s,a):n.appendChild(s);else if(l!==4&&(s=s.child,s!==null))for(nc(s,a,n),s=s.sibling;s!==null;)nc(s,a,n),s=s.sibling}var ns=null,Ns=!1;function sa(s,a,n){for(n=n.child;n!==null;)Fi(s,a,n),n=n.sibling}function Fi(s,a,n){if(zs&&typeof zs.onCommitFiberUnmount=="function")try{zs.onCommitFiberUnmount(up,n)}catch{}switch(n.tag){case 5:ts||Pa(n,a);case 6:var l=ns,p=Ns;ns=null,sa(s,a,n),ns=l,Ns=p,ns!==null&&(Ns?(s=ns,n=n.stateNode,s.nodeType===8?s.parentNode.removeChild(n):s.removeChild(n)):ns.removeChild(n.stateNode));break;case 18:ns!==null&&(Ns?(s=ns,n=n.stateNode,s.nodeType===8?ne(s.parentNode,n):s.nodeType===1&&ne(s,n),Tn(s)):ne(ns,n.stateNode));break;case 4:l=ns,p=Ns,ns=n.stateNode.containerInfo,Ns=!0,sa(s,a,n),ns=l,Ns=p;break;case 0:case 11:case 14:case 15:if(!ts&&(l=n.updateQueue,l!==null&&(l=l.lastEffect,l!==null))){p=l=l.next;do{var e=p,c=e.destroy;e=e.tag,c!==void 0&&(e&2||e&4)&&qe(n,a,c),p=p.next}while(p!==l)}sa(s,a,n);break;case 1:if(!ts&&(Pa(n,a),l=n.stateNode,typeof l.componentWillUnmount=="function"))try{l.props=n.memoizedProps,l.state=n.memoizedState,l.componentWillUnmount()}catch(t){Q(n,a,t)}sa(s,a,n);break;case 21:sa(s,a,n);break;case 22:n.mode&1?(ts=(l=ts)||n.memoizedState!==null,sa(s,a,n),ts=l):sa(s,a,n);break;default:sa(s,a,n)}}function go(s){var a=s.updateQueue;if(a!==null){s.updateQueue=null;var n=s.stateNode;n===null&&(n=s.stateNode=new WI),a.forEach(function(l){var p=HI.bind(null,s,l);n.has(l)||(n.add(l),l.then(p,p))})}}function vs(s,a){var n=a.deletions;if(n!==null)for(var l=0;lp&&(p=c),l&=~e}if(l=p,l=U()-l,l=(120>l?120:480>l?480:1080>l?1080:1920>l?1920:3e3>l?3e3:4320>l?4320:1960*fI(l/1960))-l,10s?16:s,ta===null)var l=!1;else{if(s=ta,ta=null,hp=0,H&6)throw Error(w(331));var p=H;for(H|=4,f=s.current;f!==null;){var e=f,c=e.child;if(f.flags&16){var t=e.deletions;if(t!==null){for(var o=0;oU()-$c?Va(s,0):Pc|=n),As(s,a)}function Ei(s,a){a===0&&(s.mode&1?(a=yl,yl<<=1,!(yl&130023424)&&(yl=4194304)):a=1);var n=is();s=Ps(s,a),s!==null&&(tl(s,a,n),As(s,n))}function NI(s){var a=s.memoizedState,n=0;a!==null&&(n=a.retryLane),Ei(s,n)}function HI(s,a){var n=0;switch(s.tag){case 13:var l=s.stateNode,p=s.memoizedState;p!==null&&(n=p.retryLane);break;case 19:l=s.stateNode;break;default:throw Error(w(314))}l!==null&&l.delete(a),Ei(s,n)}var Qi;Qi=function(s,a,n){if(s!==null)if(s.memoizedProps!==a.pendingProps||Cs.current)ds=!0;else{if(!(s.lanes&n)&&!(a.flags&128))return ds=!1,wI(s,a,n);ds=!!(s.flags&131072)}else ds=!1,J&&a.flags&1048576&&Lr(a,lp,a.index);switch(a.lanes=0,a.tag){case 2:var l=a.type;Jl(s,a),s=a.pendingProps;var p=cn(a,os.current);ln(a,n),p=Qc(null,a,l,s,p,n);var e=Tc();return a.flags|=1,typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0?(a.tag=1,a.memoizedState=null,a.updateQueue=null,js(l)?(e=!0,ap(a)):e=!1,a.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,xc(a),p.updater=Wp,a.stateNode=p,p._reactInternals=a,Te(a,l,s,n),a=Le(null,a,l,!0,e,n)):(a.tag=0,J&&e&&Rc(a),rs(null,a,p,n),a=a.child),a;case 16:l=a.elementType;s:{switch(Jl(s,a),s=a.pendingProps,p=l._init,l=p(l._payload),a.type=l,p=a.tag=KI(l),s=Rs(l,s),p){case 0:a=_e(null,a,l,s,n);break s;case 1:a=co(null,a,l,s,n);break s;case 11:a=po(null,a,l,s,n);break s;case 14:a=eo(null,a,l,Rs(l.type,s),n);break s}throw Error(w(306,l,""))}return a;case 0:return l=a.type,p=a.pendingProps,p=a.elementType===l?p:Rs(l,p),_e(s,a,l,p,n);case 1:return l=a.type,p=a.pendingProps,p=a.elementType===l?p:Rs(l,p),co(s,a,l,p,n);case 3:s:{if(fi(a),s===null)throw Error(w(387));l=a.pendingProps,e=a.memoizedState,p=e.element,ai(s,a),cp(a,l,null,n);var c=a.memoizedState;if(l=c.element,e.isDehydrated)if(e={element:l,isDehydrated:!1,cache:c.cache,pendingSuspenseBoundaries:c.pendingSuspenseBoundaries,transitions:c.transitions},a.updateQueue.baseState=e,a.memoizedState=e,a.flags&256){p=gn(Error(w(423)),a),a=to(s,a,l,n,p);break s}else if(l!==p){p=gn(Error(w(424)),a),a=to(s,a,l,n,p);break s}else for(ms=ha(a.stateNode.containerInfo.firstChild),bs=a,J=!0,Hs=null,n=qr(a,null,l,n),a.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(tn(),l===p){a=$s(s,a,n);break s}rs(s,a,l,n)}a=a.child}return a;case 5:return ni(a),s===null&&De(a),l=a.type,p=a.pendingProps,e=s!==null?s.memoizedProps:null,c=p.children,Me(l,p)?c=null:e!==null&&Me(l,e)&&(a.flags|=32),Bi(s,a),rs(s,a,c,n),a.child;case 6:return s===null&&De(a),null;case 13:return Vi(s,a,n);case 4:return Jc(a,a.stateNode.containerInfo),l=a.pendingProps,s===null?a.child=on(a,null,l,n):rs(s,a,l,n),a.child;case 11:return l=a.type,p=a.pendingProps,p=a.elementType===l?p:Rs(l,p),po(s,a,l,p,n);case 7:return rs(s,a,a.pendingProps,n),a.child;case 8:return rs(s,a,a.pendingProps.children,n),a.child;case 12:return rs(s,a,a.pendingProps.children,n),a.child;case 10:s:{if(l=a.type._context,p=a.pendingProps,e=a.memoizedProps,c=p.value,K(pp,l._currentValue),l._currentValue=c,e!==null)if(Ms(e.value,c)){if(e.children===p.children&&!Cs.current){a=$s(s,a,n);break s}}else for(e=a.child,e!==null&&(e.return=a);e!==null;){var t=e.dependencies;if(t!==null){c=e.child;for(var o=t.firstContext;o!==null;){if(o.context===l){if(e.tag===1){o=_s(-1,n&-n),o.tag=2;var r=e.updateQueue;if(r!==null){r=r.shared;var I=r.pending;I===null?o.next=o:(o.next=I.next,I.next=o),r.pending=o}}e.lanes|=n,o=e.alternate,o!==null&&(o.lanes|=n),Ee(e.return,n,a),t.lanes|=n;break}o=o.next}}else if(e.tag===10)c=e.type===a.type?null:e.child;else if(e.tag===18){if(c=e.return,c===null)throw Error(w(341));c.lanes|=n,t=c.alternate,t!==null&&(t.lanes|=n),Ee(c,n,a),c=e.sibling}else c=e.child;if(c!==null)c.return=e;else for(c=e;c!==null;){if(c===a){c=null;break}if(e=c.sibling,e!==null){e.return=c.return,c=e;break}c=c.return}e=c}rs(s,a,p.children,n),a=a.child}return a;case 9:return p=a.type,l=a.pendingProps.children,ln(a,n),p=Vs(p),l=l(p),a.flags|=1,rs(s,a,l,n),a.child;case 14:return l=a.type,p=Rs(l,a.pendingProps),p=Rs(l.type,p),eo(s,a,l,p,n);case 15:return Wi(s,a,a.type,a.pendingProps,n);case 17:return l=a.type,p=a.pendingProps,p=a.elementType===l?p:Rs(l,p),Jl(s,a),a.tag=1,js(l)?(s=!0,ap(a)):s=!1,ln(a,n),wi(a,l,p),Te(a,l,p,n),Le(null,a,l,!0,s,n);case 19:return Yi(s,a,n);case 22:return Gi(s,a,n)}throw Error(w(156,a.tag))};function Ti(s,a){return yr(s,a)}function FI(s,a,n,l){this.tag=s,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bs(s,a,n,l){return new FI(s,a,n,l)}function nt(s){return s=s.prototype,!(!s||!s.isReactComponent)}function KI(s){if(typeof s=="function")return nt(s)?1:0;if(s!=null){if(s=s.$$typeof,s===bc)return 11;if(s===wc)return 14}return 2}function ja(s,a){var n=s.alternate;return n===null?(n=Bs(s.tag,a,s.key,s.mode),n.elementType=s.elementType,n.type=s.type,n.stateNode=s.stateNode,n.alternate=s,s.alternate=n):(n.pendingProps=a,n.type=s.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=s.flags&14680064,n.childLanes=s.childLanes,n.lanes=s.lanes,n.child=s.child,n.memoizedProps=s.memoizedProps,n.memoizedState=s.memoizedState,n.updateQueue=s.updateQueue,a=s.dependencies,n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},n.sibling=s.sibling,n.index=s.index,n.ref=s.ref,n}function El(s,a,n,l,p,e){var c=2;if(l=s,typeof s=="function")nt(s)&&(c=1);else if(typeof s=="string")c=5;else s:switch(s){case za:return Ya(n.children,p,e,a);case mc:c=8,p|=8;break;case je:return s=Bs(12,n,a,p|2),s.elementType=je,s.lanes=e,s;case Ae:return s=Bs(13,n,a,p),s.elementType=Ae,s.lanes=e,s;case ue:return s=Bs(19,n,a,p),s.elementType=ue,s.lanes=e,s;case nr:return fp(n,p,e,a);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case sr:c=10;break s;case ar:c=9;break s;case bc:c=11;break s;case wc:c=14;break s;case na:c=16,l=null;break s}throw Error(w(130,s==null?s:typeof s,""))}return a=Bs(c,n,a,p),a.elementType=s,a.type=l,a.lanes=e,a}function Ya(s,a,n,l){return s=Bs(7,s,l,a),s.lanes=n,s}function fp(s,a,n,l){return s=Bs(22,s,l,a),s.elementType=nr,s.lanes=n,s.stateNode={isHidden:!1},s}function ie(s,a,n){return s=Bs(6,s,null,a),s.lanes=n,s}function ge(s,a,n){return a=Bs(4,s.children!==null?s.children:[],s.key,a),a.lanes=n,a.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},a}function MI(s,a,n,l,p){this.tag=a,this.containerInfo=s,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Qp(0),this.expirationTimes=Qp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qp(0),this.identifierPrefix=l,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null}function lt(s,a,n,l,p,e,c,t,o){return s=new MI(s,a,n,t,o),a===1?(a=1,e===!0&&(a|=8)):a=0,e=Bs(3,null,null,a),s.current=e,e.stateNode=s,e.memoizedState={element:l,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},xc(e),s}function SI(s,a,n){var l=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Oi)}catch(s){console.error(s)}}Oi(),Oo.exports=ks;var EI=Oo.exports,Pi,$i,mo=EI;$i=mo.createRoot,Pi=mo.hydrateRoot;const qi={theme:"light",sideNav:!0,initialized:!1},sg=W.createContext({state:qi,init:s=>{},setTheme:s=>{},toggleSideNav:()=>{}});function tt(){return W.useContext(sg)}function bo(s,a){try{localStorage.setItem(s,a)}catch(n){console.error(n)}}const wo=({children:s})=>{const[a,n]=W.useState(qi);function l(t){t=="dark"?(document.body.classList.remove("light"),document.body.classList.add("dark")):(document.body.classList.remove("dark"),document.body.classList.add("light"))}function p(t){try{const o=localStorage.getItem("theme")||"light";let r=t.width>=500;{const I=localStorage.getItem("sideNav");I&&(r=I=="true")}l(o),n(I=>({...I,theme:o,sideNav:r}))}catch(o){console.error(o)}n(o=>({...o,initialized:!0}))}function e(t){l(t),n({...a,theme:t}),bo("theme",t)}function c(){const t=!a.sideNav;n({...a,sideNav:t}),bo("sideNav",t)}return i.jsx(sg.Provider,{value:W.useMemo(()=>({state:a,init:p,setTheme:e,toggleSideNav:c}),[a]),children:s})};/** - * @remix-run/router v1.20.0 + * @remix-run/router v1.19.1 * * Copyright (c) Remix Software Inc. * @@ -47,7 +47,7 @@ Error generating stack: `+e.message+` * * @license MIT */function pl(){return pl=Object.assign?Object.assign.bind():function(s){for(var a=1;a"u")throw new Error(a)}function ag(s,a){if(!s){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function TI(){return Math.random().toString(36).substr(2,8)}function Zo(s,a){return{usr:s.state,key:s.key,idx:a}}function tc(s,a,n,l){return n===void 0&&(n=null),pl({pathname:typeof s=="string"?s:s.pathname,search:"",hash:""},typeof a=="string"?jn(a):a,{state:n,key:a&&a.key||l||TI()})}function ng(s){let{pathname:a="/",search:n="",hash:l=""}=s;return n&&n!=="?"&&(a+=n.charAt(0)==="?"?n:"?"+n),l&&l!=="#"&&(a+=l.charAt(0)==="#"?l:"#"+l),a}function jn(s){let a={};if(s){let n=s.indexOf("#");n>=0&&(a.hash=s.substr(n),s=s.substr(0,n));let l=s.indexOf("?");l>=0&&(a.search=s.substr(l),s=s.substr(0,l)),s&&(a.pathname=s)}return a}function UI(s,a,n,l){l===void 0&&(l={});let{window:p=document.defaultView,v5Compat:e=!1}=l,c=p.history,t=oa.Pop,o=null,r=I();r==null&&(r=0,c.replaceState(pl({},c.state,{idx:r}),""));function I(){return(c.state||{idx:null}).idx}function d(){t=oa.Pop;let G=I(),h=G==null?null:G-r;r=G,o&&o({action:t,location:b.location,delta:h})}function j(G,h){t=oa.Push;let g=tc(b.location,G,h);r=I()+1;let C=Zo(g,r),y=b.createHref(g);try{c.pushState(C,"",y)}catch(Z){if(Z instanceof DOMException&&Z.name==="DataCloneError")throw Z;p.location.assign(y)}e&&o&&o({action:t,location:b.location,delta:1})}function u(G,h){t=oa.Replace;let g=tc(b.location,G,h);r=I();let C=Zo(g,r),y=b.createHref(g);c.replaceState(C,"",y),e&&o&&o({action:t,location:b.location,delta:0})}function m(G){let h=p.location.origin!=="null"?p.location.origin:p.location.href,g=typeof G=="string"?G:ng(G);return g=g.replace(/ $/,"%20"),P(h,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,h)}let b={get action(){return t},get location(){return s(p,c)},listen(G){if(o)throw new Error("A history only accepts one active listener");return p.addEventListener(ko,d),o=G,()=>{p.removeEventListener(ko,d),o=null}},createHref(G){return a(p,G)},createURL:m,encodeLocation(G){let h=m(G);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:j,replace:u,go(G){return c.go(G)}};return b}var Wo;(function(s){s.data="data",s.deferred="deferred",s.redirect="redirect",s.error="error"})(Wo||(Wo={}));function _I(s,a,n){return n===void 0&&(n="/"),LI(s,a,n,!1)}function LI(s,a,n,l){let p=typeof a=="string"?jn(a):a,e=eg(p.pathname||"/",n);if(e==null)return null;let c=lg(s);OI(c);let t=null;for(let o=0;t==null&&o{let o={relativePath:t===void 0?e.path||"":t,caseSensitive:e.caseSensitive===!0,childrenIndex:c,route:e};o.relativePath.startsWith("/")&&(P(o.relativePath.startsWith(l),'Absolute route path "'+o.relativePath+'" nested under path '+('"'+l+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),o.relativePath=o.relativePath.slice(l.length));let r=Xa([l,o.relativePath]),I=n.concat(o);e.children&&e.children.length>0&&(P(e.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+r+'".')),lg(e.children,a,I,r)),!(e.path==null&&!e.index)&&a.push({path:r,score:ld(r,e.index),routesMeta:I})};return s.forEach((e,c)=>{var t;if(e.path===""||!((t=e.path)!=null&&t.includes("?")))p(e,c);else for(let o of pg(e.path))p(e,c,o)}),a}function pg(s){let a=s.split("/");if(a.length===0)return[];let[n,...l]=a,p=n.endsWith("?"),e=n.replace(/\?$/,"");if(l.length===0)return p?[e,""]:[e];let c=pg(l.join("/")),t=[];return t.push(...c.map(o=>o===""?e:[e,o].join("/"))),p&&t.push(...c),t.map(o=>s.startsWith("/")&&o===""?"/":o)}function OI(s){s.sort((a,n)=>a.score!==n.score?n.score-a.score:pd(a.routesMeta.map(l=>l.childrenIndex),n.routesMeta.map(l=>l.childrenIndex)))}const PI=/^:[\w-]+$/,$I=3,qI=2,sd=1,ad=10,nd=-2,Go=s=>s==="*";function ld(s,a){let n=s.split("/"),l=n.length;return n.some(Go)&&(l+=nd),a&&(l+=qI),n.filter(p=>!Go(p)).reduce((p,e)=>p+(PI.test(e)?$I:e===""?sd:ad),l)}function pd(s,a){return s.length===a.length&&s.slice(0,-1).every((l,p)=>l===a[p])?s[s.length-1]-a[a.length-1]:0}function ed(s,a,n){let{routesMeta:l}=s,p={},e="/",c=[];for(let t=0;t{let{paramName:j,isOptional:u}=I;if(j==="*"){let b=t[d]||"";c=e.slice(0,e.length-b.length).replace(/(.)\/+$/,"$1")}const m=t[d];return u&&!m?r[j]=void 0:r[j]=(m||"").replace(/%2F/g,"/"),r},{}),pathname:e,pathnameBase:c,pattern:s}}function cd(s,a,n){a===void 0&&(a=!1),n===void 0&&(n=!0),ag(s==="*"||!s.endsWith("*")||s.endsWith("/*"),'Route path "'+s+'" will be treated as if it were '+('"'+s.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+s.replace(/\*$/,"/*")+'".'));let l=[],p="^"+s.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,t,o)=>(l.push({paramName:t,isOptional:o!=null}),o?"/?([^\\/]+)?":"/([^\\/]+)"));return s.endsWith("*")?(l.push({paramName:"*"}),p+=s==="*"||s==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?p+="\\/*$":s!==""&&s!=="/"&&(p+="(?:(?=\\/|$))"),[new RegExp(p,a?void 0:"i"),l]}function td(s){try{return s.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return ag(!1,'The URL path "'+s+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+a+").")),s}}function eg(s,a){if(a==="/")return s;if(!s.toLowerCase().startsWith(a.toLowerCase()))return null;let n=a.endsWith("/")?a.length-1:a.length,l=s.charAt(n);return l&&l!=="/"?null:s.slice(n)||"/"}function od(s,a){a===void 0&&(a="/");let{pathname:n,search:l="",hash:p=""}=typeof s=="string"?jn(s):s;return{pathname:n?n.startsWith("/")?n:rd(n,a):a,search:dd(l),hash:Cd(p)}}function rd(s,a){let n=a.replace(/\/+$/,"").split("/");return s.split("/").forEach(p=>{p===".."?n.length>1&&n.pop():p!=="."&&n.push(p)}),n.length>1?n.join("/"):"/"}function he(s,a,n,l){return"Cannot include a '"+s+"' character in a manually specified "+("`to."+a+"` field ["+JSON.stringify(l)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function id(s){return s.filter((a,n)=>n===0||a.route.path&&a.route.path.length>0)}function gd(s,a){let n=id(s);return a?n.map((l,p)=>p===n.length-1?l.pathname:l.pathnameBase):n.map(l=>l.pathnameBase)}function hd(s,a,n,l){l===void 0&&(l=!1);let p;typeof s=="string"?p=jn(s):(p=pl({},s),P(!p.pathname||!p.pathname.includes("?"),he("?","pathname","search",p)),P(!p.pathname||!p.pathname.includes("#"),he("#","pathname","hash",p)),P(!p.search||!p.search.includes("#"),he("#","search","hash",p)));let e=s===""||p.pathname==="",c=e?"/":p.pathname,t;if(c==null)t=n;else{let d=a.length-1;if(!l&&c.startsWith("..")){let j=c.split("/");for(;j[0]==="..";)j.shift(),d-=1;p.pathname=j.join("/")}t=d>=0?a[d]:"/"}let o=od(p,t),r=c&&c!=="/"&&c.endsWith("/"),I=(e||c===".")&&n.endsWith("/");return!o.pathname.endsWith("/")&&(r||I)&&(o.pathname+="/"),o}const Xa=s=>s.join("/").replace(/\/\/+/g,"/"),Id=s=>s.replace(/\/+$/,"").replace(/^\/*/,"/"),dd=s=>!s||s==="?"?"":s.startsWith("?")?s:"?"+s,Cd=s=>!s||s==="#"?"":s.startsWith("#")?s:"#"+s;function jd(s){return s!=null&&typeof s.status=="number"&&typeof s.statusText=="string"&&typeof s.internal=="boolean"&&"data"in s}const cg=["post","put","patch","delete"];new Set(cg);const Ad=["get",...cg];new Set(Ad);/** - * React Router v6.27.0 + * React Router v6.26.1 * * Copyright (c) Remix Software Inc. * @@ -56,7 +56,7 @@ Error generating stack: `+e.message+` * * @license MIT */function el(){return el=Object.assign?Object.assign.bind():function(s){for(var a=1;a{t.current=!0}),W.useCallback(function(r,I){if(I===void 0&&(I={}),!t.current)return;if(typeof r=="number"){l.go(r);return}let d=hd(r,JSON.parse(c),e,I.relative==="path");s==null&&a!=="/"&&(d.pathname=d.pathname==="/"?a:Xa([a,d.pathname])),(I.replace?l.replace:l.push)(d,I.state,I)},[a,l,c,e,s])}function bd(s,a){return wd(s,a)}function wd(s,a,n,l){Hp()||P(!1);let{navigator:p}=W.useContext(Rp),{matches:e}=W.useContext(An),c=e[e.length-1],t=c?c.params:{};c&&c.pathname;let o=c?c.pathnameBase:"/";c&&c.route;let r=Fp(),I;if(a){var d;let G=typeof a=="string"?jn(a):a;o==="/"||(d=G.pathname)!=null&&d.startsWith(o)||P(!1),I=G}else I=r;let j=I.pathname||"/",u=j;if(o!=="/"){let G=o.replace(/^\//,"").split("/");u="/"+j.replace(/^\//,"").split("/").slice(G.length).join("/")}let m=_I(s,{pathname:u}),b=Bd(m&&m.map(G=>Object.assign({},G,{params:Object.assign({},t,G.params),pathname:Xa([o,p.encodeLocation?p.encodeLocation(G.pathname).pathname:G.pathname]),pathnameBase:G.pathnameBase==="/"?o:Xa([o,p.encodeLocation?p.encodeLocation(G.pathnameBase).pathname:G.pathnameBase])})),e,n,l);return a&&b?W.createElement(Np.Provider,{value:{location:el({pathname:"/",search:"",hash:"",state:null,key:"default"},I),navigationType:oa.Pop}},b):b}function kd(){let s=Xd(),a=jd(s)?s.status+" "+s.statusText:s instanceof Error?s.message:JSON.stringify(s),n=s instanceof Error?s.stack:null,p={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return W.createElement(W.Fragment,null,W.createElement("h2",null,"Unexpected Application Error!"),W.createElement("h3",{style:{fontStyle:"italic"}},a),n?W.createElement("pre",{style:p},n):null,null)}const Zd=W.createElement(kd,null);class Wd extends W.Component{constructor(a){super(a),this.state={location:a.location,revalidation:a.revalidation,error:a.error}}static getDerivedStateFromError(a){return{error:a}}static getDerivedStateFromProps(a,n){return n.location!==a.location||n.revalidation!=="idle"&&a.revalidation==="idle"?{error:a.error,location:a.location,revalidation:a.revalidation}:{error:a.error!==void 0?a.error:n.error,location:n.location,revalidation:a.revalidation||n.revalidation}}componentDidCatch(a,n){console.error("React Router caught the following error during render",a,n)}render(){return this.state.error!==void 0?W.createElement(An.Provider,{value:this.props.routeContext},W.createElement(tg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Gd(s){let{routeContext:a,match:n,children:l}=s,p=W.useContext(ot);return p&&p.static&&p.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(p.staticContext._deepestRenderedBoundaryId=n.route.id),W.createElement(An.Provider,{value:a},l)}function Bd(s,a,n,l){var p;if(a===void 0&&(a=[]),n===void 0&&(n=null),l===void 0&&(l=null),s==null){var e;if(!n)return null;if(n.errors)s=n.matches;else if((e=l)!=null&&e.v7_partialHydration&&a.length===0&&!n.initialized&&n.matches.length>0)s=n.matches;else return null}let c=s,t=(p=n)==null?void 0:p.errors;if(t!=null){let I=c.findIndex(d=>d.route.id&&(t==null?void 0:t[d.route.id])!==void 0);I>=0||P(!1),c=c.slice(0,Math.min(c.length,I+1))}let o=!1,r=-1;if(n&&l&&l.v7_partialHydration)for(let I=0;I=0?c=c.slice(0,r+1):c=[c[0]];break}}}return c.reduceRight((I,d,j)=>{let u,m=!1,b=null,G=null;n&&(u=t&&d.route.id?t[d.route.id]:void 0,b=d.route.errorElement||Zd,o&&(r<0&&j===0?(m=!0,G=null):r===j&&(m=!0,G=d.route.hydrateFallbackElement||null)));let h=a.concat(c.slice(0,j+1)),g=()=>{let C;return u?C=b:m?C=G:d.route.Component?C=W.createElement(d.route.Component,null):d.route.element?C=d.route.element:C=I,W.createElement(Gd,{match:d,routeContext:{outlet:I,matches:h,isDataRoute:n!=null},children:C})};return n&&(d.route.ErrorBoundary||d.route.errorElement||j===0)?W.createElement(Wd,{location:n.location,revalidation:n.revalidation,component:b,error:u,children:g(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):g()},null)}var rg=function(s){return s.UseBlocker="useBlocker",s.UseRevalidator="useRevalidator",s.UseNavigateStable="useNavigate",s}(rg||{}),Cp=function(s){return s.UseBlocker="useBlocker",s.UseLoaderData="useLoaderData",s.UseActionData="useActionData",s.UseRouteError="useRouteError",s.UseNavigation="useNavigation",s.UseRouteLoaderData="useRouteLoaderData",s.UseMatches="useMatches",s.UseRevalidator="useRevalidator",s.UseNavigateStable="useNavigate",s.UseRouteId="useRouteId",s}(Cp||{});function fd(s){let a=W.useContext(ot);return a||P(!1),a}function Vd(s){let a=W.useContext(ud);return a||P(!1),a}function Yd(s){let a=W.useContext(An);return a||P(!1),a}function ig(s){let a=Yd(),n=a.matches[a.matches.length-1];return n.route.id||P(!1),n.route.id}function Xd(){var s;let a=W.useContext(tg),n=Vd(Cp.UseRouteError),l=ig(Cp.UseRouteError);return a!==void 0?a:(s=n.errors)==null?void 0:s[l]}function vd(){let{router:s}=fd(rg.UseNavigateStable),a=ig(Cp.UseNavigateStable),n=W.useRef(!1);return og(()=>{n.current=!0}),W.useCallback(function(p,e){e===void 0&&(e={}),n.current&&(typeof p=="number"?s.navigate(p):s.navigate(p,el({fromRouteId:a},e)))},[s,a])}function gg(s){P(!1)}function Rd(s){let{basename:a="/",children:n=null,location:l,navigationType:p=oa.Pop,navigator:e,static:c=!1,future:t}=s;Hp()&&P(!1);let o=a.replace(/^\/*/,"/"),r=W.useMemo(()=>({basename:o,navigator:e,static:c,future:el({v7_relativeSplatPath:!1},t)}),[o,t,e,c]);typeof l=="string"&&(l=jn(l));let{pathname:I="/",search:d="",hash:j="",state:u=null,key:m="default"}=l,b=W.useMemo(()=>{let G=eg(I,o);return G==null?null:{location:{pathname:G,search:d,hash:j,state:u,key:m},navigationType:p}},[o,I,d,j,u,m,p]);return b==null?null:W.createElement(Rp.Provider,{value:r},W.createElement(Np.Provider,{children:n,value:b}))}function Nd(s){let{children:a,location:n}=s;return bd(rc(a),n)}new Promise(()=>{});function rc(s,a){a===void 0&&(a=[]);let n=[];return W.Children.forEach(s,(l,p)=>{if(!W.isValidElement(l))return;let e=[...a,p];if(l.type===W.Fragment){n.push.apply(n,rc(l.props.children,e));return}l.type!==gg&&P(!1),!l.props.index||!l.props.children||P(!1);let c={id:l.props.id||e.join("-"),caseSensitive:l.props.caseSensitive,element:l.props.element,Component:l.props.Component,index:l.props.index,path:l.props.path,loader:l.props.loader,action:l.props.action,errorElement:l.props.errorElement,ErrorBoundary:l.props.ErrorBoundary,hasErrorBoundary:l.props.ErrorBoundary!=null||l.props.errorElement!=null,shouldRevalidate:l.props.shouldRevalidate,handle:l.props.handle,lazy:l.props.lazy};l.props.children&&(c.children=rc(l.props.children,e)),n.push(c)}),n}/** - * React Router DOM v6.27.0 + * React Router DOM v6.26.1 * * Copyright (c) Remix Software Inc. * @@ -2457,7 +2457,7 @@ How to swap tokens } } } -`,su=({prev:s,next:a})=>i.jsx(A,{version:_A,title:LA,description:OA,cyfrinLink:PA,html:qA,prev:s,next:a,codes:$A}),au="0.8.26",nu="Multi Call",lu="An example of contract to aggregate multiple calls.",pu="",eu=[{fileName:"MultiCall.sol",code:"Ly8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVApwcmFnbWEgc29saWRpdHkgXjAuOC4yNjsKCmNvbnRyYWN0IE11bHRpQ2FsbCB7CiAgICBmdW5jdGlvbiBtdWx0aUNhbGwoYWRkcmVzc1tdIGNhbGxkYXRhIHRhcmdldHMsIGJ5dGVzW10gY2FsbGRhdGEgZGF0YSkKICAgICAgICBleHRlcm5hbAogICAgICAgIHZpZXcKICAgICAgICByZXR1cm5zIChieXRlc1tdIG1lbW9yeSkKICAgIHsKICAgICAgICByZXF1aXJlKHRhcmdldHMubGVuZ3RoID09IGRhdGEubGVuZ3RoLCAidGFyZ2V0IGxlbmd0aCAhPSBkYXRhIGxlbmd0aCIpOwoKICAgICAgICBieXRlc1tdIG1lbW9yeSByZXN1bHRzID0gbmV3IGJ5dGVzW10oZGF0YS5sZW5ndGgpOwoKICAgICAgICBmb3IgKHVpbnQyNTYgaTsgaSA8IHRhcmdldHMubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgKGJvb2wgc3VjY2VzcywgYnl0ZXMgbWVtb3J5IHJlc3VsdCkgPSB0YXJnZXRzW2ldLnN0YXRpY2NhbGwoZGF0YVtpXSk7CiAgICAgICAgICAgIHJlcXVpcmUoc3VjY2VzcywgImNhbGwgZmFpbGVkIik7CiAgICAgICAgICAgIHJlc3VsdHNbaV0gPSByZXN1bHQ7CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gcmVzdWx0czsKICAgIH0KfQo="},{fileName:"TestMultiCall.sol",code:"Ly8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVApwcmFnbWEgc29saWRpdHkgXjAuOC4yNjsKCmNvbnRyYWN0IFRlc3RNdWx0aUNhbGwgewogICAgZnVuY3Rpb24gdGVzdCh1aW50MjU2IF9pKSBleHRlcm5hbCBwdXJlIHJldHVybnMgKHVpbnQyNTYpIHsKICAgICAgICByZXR1cm4gX2k7CiAgICB9CgogICAgZnVuY3Rpb24gZ2V0RGF0YSh1aW50MjU2IF9pKSBleHRlcm5hbCBwdXJlIHJldHVybnMgKGJ5dGVzIG1lbW9yeSkgewogICAgICAgIHJldHVybiBhYmkuZW5jb2RlV2l0aFNlbGVjdG9yKHRoaXMudGVzdC5zZWxlY3RvciwgX2kpOwogICAgfQp9Cg=="}],cu=`

An example of contract that aggregates multiple queries using a for loop and staticcall.

+`,su=({prev:s,next:a})=>i.jsx(A,{version:_A,title:LA,description:OA,cyfrinLink:PA,html:qA,prev:s,next:a,codes:$A}),au="0.8.26",nu="Multi Call",lu="An example of contract to aggregate multiple calls.",pu="",eu=[{fileName:"MultiCall.sol",code:"Ly8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVApwcmFnbWEgc29saWRpdHkgXjAuOC4yNjsKCmNvbnRyYWN0IE11bHRpQ2FsbCB7CiAgICBmdW5jdGlvbiBtdWx0aUNhbGwoYWRkcmVzc1tdIGNhbGxkYXRhIHRhcmdldHMsIGJ5dGVzW10gY2FsbGRhdGEgZGF0YSkKICAgICAgICBleHRlcm5hbAogICAgICAgIHZpZXcKICAgICAgICByZXR1cm5zIChieXRlc1tdIG1lbW9yeSkKICAgIHsKICAgICAgICByZXF1aXJlKHRhcmdldHMubGVuZ3RoID09IGRhdGEubGVuZ3RoLCAidGFyZ2V0IGxlbmd0aCAhPSBkYXRhIGxlbmd0aCIpOwoKICAgICAgICBieXRlc1tdIG1lbW9yeSByZXN1bHRzID0gbmV3IGJ5dGVzW10oZGF0YS5sZW5ndGgpOwoKICAgICAgICBmb3IgKHVpbnQyNTYgaTsgaSA8IHRhcmdldHMubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgKGJvb2wgc3VjY2VzcywgYnl0ZXMgbWVtb3J5IHJlc3VsdCkgPSB0YXJnZXRzW2ldLnN0YXRpY2NhbGwoZGF0YVtpXSk7CiAgICAgICAgICAgIHJlcXVpcmUoc3VjY2VzcywgImNhbGwgZmFpbGVkIik7CiAgICAgICAgICAgIHJlc3VsdHNbaV0gPSByZXN1bHQ7CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gcmVzdWx0czsKICAgIH0KfQo="},{fileName:"TestMultiCall.sol",code:"Ly8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVApwcmFnbWEgc29saWRpdHkgXjAuOC4yNjsKCmNvbnRyYWN0IFRlc3RNdWx0aUNhbGwgewogICAgZnVuY3Rpb24gdGVzdCh1aW50MjU2IF9pKSBleHRlcm5hbCBwdXJlIHJldHVybnMgKHVpbnQyNTYpIHsKICAgICAgICByZXR1cm4gX2k7CiAgICB9CgogICAgZnVuY3Rpb24gZ2V0RGF0YSh1aW50MjU2IF9pKSBleHRlcm5hbCBwdXJlIHJldHVybnMgKGJ5dGVzIG1lbW9yeSkgewogICAgICAgIHJldHVybiBhYmkuZW5jb2RlV2l0aFNlbGVjdG9yKHRoaXMudGVzdC5zZWxlY3RvciwgX2kpOwogICAgfQp9Cg=="}],cu=`

An example of contract that aggregates multiple queries using a for loop and staticcall.

// SPDX-License-Identifier: MIT
 pragma solidity ^0.8.26;
 
@@ -12581,4 +12581,4 @@ echidna EchidnaTestTimeAndCaller.sol --contract EchidnaTestTimeAndCaller
         return internalFunc();
     }
 }
-
`,uf=({prev:s,next:a})=>i.jsx(A,{version:hf,title:If,description:df,cyfrinLink:Cf,html:Af,prev:s,next:a,codes:jf}),yf=({size:s,className:a=""})=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",width:s,height:s,className:a,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})}),mf="_component_efeb7_1",bf="_icon_efeb7_8",wf="_input_efeb7_12",Ie={component:mf,icon:bf,input:wf},kf=({value:s,onChange:a})=>{function n(l){a(l.target.value)}return i.jsxs("div",{className:Ie.component,children:[i.jsx(yf,{size:18,className:Ie.icon}),i.jsx("input",{className:Ie.input,placeholder:"Search",value:s,onChange:n})]})};var Zf="Expected a function",Xo=NaN,Wf="[object Symbol]",Gf=/^\s+|\s+$/g,Bf=/^[-+]0x[0-9a-f]+$/i,ff=/^0b[01]+$/i,Vf=/^0o[0-7]+$/i,Yf=parseInt,Xf=typeof Il=="object"&&Il&&Il.Object===Object&&Il,vf=typeof self=="object"&&self&&self.Object===Object&&self,Rf=Xf||vf||Function("return this")(),Nf=Object.prototype,Hf=Nf.toString,Ff=Math.max,Kf=Math.min,de=function(){return Rf.Date.now()};function Mf(s,a,n){var l,p,e,c,t,o,r=0,I=!1,d=!1,j=!0;if(typeof s!="function")throw new TypeError(Zf);a=vo(a)||0,gc(n)&&(I=!!n.leading,d="maxWait"in n,e=d?Ff(vo(n.maxWait)||0,a):e,j="trailing"in n?!!n.trailing:j);function u(k){var B=l,Y=p;return l=p=void 0,r=k,c=s.apply(Y,B),c}function m(k){return r=k,t=setTimeout(h,a),I?u(k):c}function b(k){var B=k-o,Y=k-r,x=a-B;return d?Kf(x,e-Y):x}function G(k){var B=k-o,Y=k-r;return o===void 0||B>=a||B<0||d&&Y>=e}function h(){var k=de();if(G(k))return g(k);t=setTimeout(h,b(k))}function g(k){return t=void 0,j&&l?u(k):(l=p=void 0,c)}function C(){t!==void 0&&clearTimeout(t),r=0,l=o=p=t=void 0}function y(){return t===void 0?c:g(de())}function Z(){var k=de(),B=G(k);if(l=arguments,p=this,o=k,B){if(t===void 0)return m(o);if(d)return t=setTimeout(h,a),u(o)}return t===void 0&&(t=setTimeout(h,a)),c}return Z.cancel=C,Z.flush=y,Z}function gc(s){var a=typeof s;return!!s&&(a=="object"||a=="function")}function Sf(s){return!!s&&typeof s=="object"}function xf(s){return typeof s=="symbol"||Sf(s)&&Hf.call(s)==Wf}function vo(s){if(typeof s=="number")return s;if(xf(s))return Xo;if(gc(s)){var a=typeof s.valueOf=="function"?s.valueOf():s;s=gc(a)?a+"":a}if(typeof s!="string")return s===0?s:+s;s=s.replace(Gf,"");var n=ff.test(s);return n||Vf.test(s)?Yf(s.slice(2),n?2:8):Bf.test(s)?Xo:+s}var Jf=Mf;const zf=Ko(Jf),Df={leading:!1,trailing:!0};function Ef(s,a,n){return W.useCallback(zf(s,a,Df),n)}function Qf(s,a){let n=s;for(let l=0;l0;){const[e,c,t]=a.pop();p&&(l=l.slice(0,c-1),p=!1),l+=e;const o=Object.keys(t);if(o.length>0)for(let r=0;ra+p)}const _f=["/visibility"],Lf=["/visibility","/view-and-pure-functions","/sending-ether","/hashing","/function-selector","/function-modifier","/function","/fallback","/delegatecall","/calling-contract","/call"],Of=["/visibility"],Pf=["/visibility","/hacks/hiding-malicious-code-with-external-contract"],$f=["/view-and-pure-functions"],qf=["/view-and-pure-functions"],sV=["/variables","/structs","/state-variables","/shadowing-inherited-state-variables","/primitives","/mapping","/immutable","/evm/storage","/ether-units","/enum","/constants","/assembly-variable","/array"],aV=["/variables","/structs","/state-variables","/shadowing-inherited-state-variables","/primitives","/mapping","/immutable","/ether-units","/enum","/constants","/array"],nV=["/variables"],lV=["/variables"],pV=["/variables","/state-variables","/shadowing-inherited-state-variables","/evm/storage"],eV=["/variables","/user-defined-value-types","/structs","/primitives","/mapping","/immutable","/hacks/accessing-private-data","/evm/storage","/evm/memory","/ether-units","/enum","/data-locations","/constants","/array","/app/iterable-mapping"],cV=["/user-defined-value-types"],tV=["/user-defined-value-types"],oV=["/user-defined-value-types"],rV=["/user-defined-value-types","/structs","/primitives"],iV=["/user-defined-value-types"],gV=["/unchecked-math","/gas-golf","/gas"],hV=["/unchecked-math"],IV=["/unchecked-math","/assembly-math","/app/assembly-bin-exp"],dV=["/unchecked-math","/hacks/overflow"],CV=["/unchecked-math","/hacks/overflow"],jV=["/try-catch","/error","/assembly-error"],AV=["/try-catch","/error"],uV=["/transient-storage"],yV=["/transient-storage","/hacks/accessing-private-data","/evm/storage","/data-locations","/app/write-to-any-slot"],mV=["/tests/echidna"],bV=["/tests/echidna"],wV=["/super","/calling-contract"],kV=["/super"],ZV=["/super","/new-contract","/interface","/inheritance","/hello-world","/hacks/hiding-malicious-code-with-external-contract","/hacks/deploy-different-contracts-same-address","/hacks/contract-size","/first-app","/delegatecall","/constructor","/calling-contract","/call","/app/simple-bytecode-contract","/app/minimal-proxy","/app/deploy-any-contract","/app/create2"],WV=["/super","/new-contract","/interface","/inheritance","/first-app","/delegatecall","/calling-contract","/call"],GV=["/super","/shadowing-inherited-state-variables","/inheritance","/constructor"],BV=["/structs"],fV=["/structs"],VV=["/structs","/primitives"],YV=["/state-variables"],XV=["/state-variables"],vV=["/state-variables","/hello-world","/first-app","/app/write-to-any-slot","/app/upgradeable-proxy","/app/uni-directional-payment-channel","/app/time-lock","/app/simple-bytecode-contract","/app/multi-sig-wallet","/app/multi-delegatecall","/app/multi-call","/app/minimal-proxy","/app/merkle-tree","/app/iterable-mapping","/app/gasless-token-transfer","/app/ether-wallet","/app/erc721","/app/erc20","/app/erc1155","/app/english-auction","/app/dutch-auction","/app/deploy-any-contract","/app/crowd-fund","/app/create2","/app/bi-directional-payment-channel","/app/airdrop"],RV=["/state-variables","/hello-world","/first-app","/app/write-to-any-slot","/app/upgradeable-proxy","/app/uni-directional-payment-channel","/app/time-lock","/app/simple-bytecode-contract","/app/multi-sig-wallet","/app/multi-delegatecall","/app/multi-call","/app/minimal-proxy","/app/merkle-tree","/app/iterable-mapping","/app/gasless-token-transfer","/app/ether-wallet","/app/erc721","/app/erc20","/app/erc1155","/app/english-auction","/app/dutch-auction","/app/deploy-any-contract","/app/crowd-fund","/app/create2","/app/bi-directional-payment-channel","/app/airdrop"],NV=["/signature","/hashing","/hacks/signature-replay","/app/uni-directional-payment-channel","/app/merkle-tree","/app/bi-directional-payment-channel"],HV=["/signature"],FV=["/signature"],KV=["/signature","/hacks/signature-replay","/app/uni-directional-payment-channel","/app/multi-sig-wallet","/app/bi-directional-payment-channel"],MV=["/signature"],SV=["/signature"],xV=["/shadowing-inherited-state-variables"],JV=["/shadowing-inherited-state-variables"],zV=["/sending-ether"],DV=["/sending-ether","/sending-ether","/payable","/fallback"],EV=["/sending-ether","/payable","/fallback","/ether-units","/app/ether-wallet"],QV=["/sending-ether","/payable","/fallback","/app/ether-wallet"],TV=["/sending-ether","/fallback","/app/gasless-token-transfer"],UV=["/sending-ether","/delegatecall","/calling-contract","/call","/app/multi-call"],_V=["/sending-ether","/fallback"],LV=["/sending-ether","/fallback"],OV=["/sending-ether","/payable","/fallback"],PV=["/primitives"],$V=["/primitives"],qV=["/primitives"],s1=["/primitives"],a1=["/primitives"],n1=["/primitives","/hacks/deploy-different-contracts-same-address","/app/create2"],l1=["/primitives"],p1=["/primitives"],e1=["/new-contract","/hacks/deploy-different-contracts-same-address"],c1=["/new-contract"],t1=["/new-contract","/hacks/deploy-different-contracts-same-address","/app/create2"],o1=["/new-contract","/hacks/deploy-different-contracts-same-address"],r1=["/mapping","/app/iterable-mapping"],i1=["/loop","/assembly-loop"],g1=["/loop"],h1=["/library"],I1=["/interface"],d1=["/inheritance"],C1=["/inheritance"],j1=["/inheritance"],A1=["/immutable","/defi/constant-sum-amm","/defi/constant-product-amm","/constants"],u1=["/immutable","/constants"],y1=["/immutable"],m1=["/immutable"],b1=["/if-else"],w1=["/if-else"],k1=["/if-else"],Z1=["/hello-world"],W1=["/hello-world"],G1=["/hashing"],B1=["/hashing"],f1=["/hashing"],V1=["/hacks/weth-permit","/hacks/vault-inflation","/hacks/signature-replay","/hacks/self-destruct","/hacks/re-entrancy","/hacks/randomness","/hacks/phishing-with-tx-origin","/hacks/overflow","/hacks/honeypot","/hacks/hiding-malicious-code-with-external-contract","/hacks/front-running","/hacks/deploy-different-contracts-same-address","/hacks/denial-of-service","/hacks/delegatecall","/hacks/contract-size","/hacks/block-timestamp-manipulation","/hacks/accessing-private-data"],Y1=["/hacks/weth-permit","/hacks/vault-inflation","/hacks/signature-replay","/hacks/self-destruct","/hacks/re-entrancy","/hacks/randomness","/hacks/phishing-with-tx-origin","/hacks/overflow","/hacks/honeypot","/hacks/hiding-malicious-code-with-external-contract","/hacks/front-running","/hacks/deploy-different-contracts-same-address","/hacks/denial-of-service","/hacks/delegatecall","/hacks/contract-size","/hacks/block-timestamp-manipulation","/hacks/accessing-private-data","/events-advanced"],X1=["/hacks/weth-permit"],v1=["/hacks/weth-permit","/app/gasless-token-transfer"],R1=["/hacks/vault-inflation"],N1=["/hacks/vault-inflation"],H1=["/hacks/vault-inflation","/defi/vault"],F1=["/hacks/signature-replay"],K1=["/hacks/self-destruct"],M1=["/hacks/randomness"],S1=["/hacks/randomness"],x1=["/hacks/randomness"],J1=["/hacks/randomness"],z1=["/hacks/randomness","/hacks/block-timestamp-manipulation"],D1=["/hacks/randomness","/hacks/block-timestamp-manipulation"],E1=["/hacks/phishing-with-tx-origin"],Q1=["/hacks/overflow"],T1=["/hacks/honeypot"],U1=["/hacks/hiding-malicious-code-with-external-contract"],_1=["/hacks/hiding-malicious-code-with-external-contract"],L1=["/hacks/hiding-malicious-code-with-external-contract"],O1=["/hacks/hiding-malicious-code-with-external-contract"],P1=["/hacks/front-running"],$1=["/hacks/front-running"],q1=["/hacks/deploy-different-contracts-same-address","/app/deploy-any-contract"],sY=["/hacks/deploy-different-contracts-same-address"],aY=["/hacks/deploy-different-contracts-same-address"],nY=["/hacks/denial-of-service"],lY=["/hacks/denial-of-service"],pY=["/hacks/delegatecall","/delegatecall","/app/upgradeable-proxy","/app/multi-delegatecall"],eY=["/hacks/contract-size"],cY=["/hacks/contract-size"],tY=["/hacks/contract-size"],oY=["/hacks/contract-size"],rY=["/hacks/block-timestamp-manipulation"],iY=["/hacks/accessing-private-data"],gY=["/hacks/accessing-private-data"],hY=["/gas-golf"],IY=["/function-selector"],dY=["/function-selector"],CY=["/function-modifier"],jY=["/function-modifier"],AY=["/function-modifier"],uY=["/first-app"],yY=["/first-app"],mY=["/evm/storage","/evm/memory"],bY=["/evm/storage","/evm/memory","/assembly-variable","/assembly-math","/assembly-loop","/assembly-if","/assembly-error","/app/assembly-bin-exp"],wY=["/evm/storage","/evm/memory","/bitwise","/assembly-variable","/assembly-math","/assembly-loop","/assembly-if","/assembly-error","/app/assembly-bin-exp"],kY=["/evm/memory","/data-locations"],ZY=["/events-advanced","/events"],WY=["/events-advanced"],GY=["/events-advanced"],BY=["/events-advanced"],fY=["/events"],VY=["/ether-units"],YY=["/ether-units"],XY=["/error"],vY=["/error","/assembly-error"],RY=["/error"],NY=["/enum"],HY=["/defi/vault","/defi/uniswap-v3-swap","/defi/uniswap-v3-liquidity","/defi/uniswap-v3-flash-swap","/defi/uniswap-v3-flash","/defi/uniswap-v2-optimal-one-sided-supply","/defi/uniswap-v2-flash-swap","/defi/uniswap-v2-add-remove-liquidity","/defi/uniswap-v2","/defi/staking-rewards","/defi/stable-swap-amm","/defi/discrete-staking-rewards","/defi/dai-proxy","/defi/constant-sum-amm","/defi/constant-product-amm","/defi/chainlink-price-oracle"],FY=["/defi/uniswap-v3-swap","/defi/uniswap-v3-liquidity","/defi/uniswap-v3-flash-swap","/defi/uniswap-v3-flash","/defi/uniswap-v2-optimal-one-sided-supply","/defi/uniswap-v2-flash-swap","/defi/uniswap-v2-add-remove-liquidity","/defi/uniswap-v2"],KY=["/defi/uniswap-v3-swap","/defi/uniswap-v3-liquidity","/defi/uniswap-v3-flash-swap","/defi/uniswap-v3-flash"],MY=["/defi/uniswap-v3-swap","/defi/uniswap-v3-flash-swap","/defi/uniswap-v2-flash-swap","/defi/uniswap-v2","/defi/stable-swap-amm"],SY=["/defi/uniswap-v3-swap","/defi/uniswap-v3-liquidity","/defi/uniswap-v3-flash-swap","/defi/uniswap-v3-flash","/defi/uniswap-v2-optimal-one-sided-supply","/defi/uniswap-v2-flash-swap","/defi/uniswap-v2-add-remove-liquidity","/defi/uniswap-v2","/defi/stable-swap-amm","/defi/constant-sum-amm","/defi/constant-product-amm"],xY=["/defi/uniswap-v3-liquidity","/defi/uniswap-v2-add-remove-liquidity"],JY=["/defi/uniswap-v3-flash-swap"],zY=["/defi/uniswap-v3-flash","/defi/uniswap-v2-flash-swap"],DY=["/defi/uniswap-v3-flash"],EY=["/defi/uniswap-v2-optimal-one-sided-supply","/defi/uniswap-v2-flash-swap","/defi/uniswap-v2-add-remove-liquidity","/defi/uniswap-v2"],QY=["/defi/uniswap-v2-optimal-one-sided-supply"],TY=["/defi/uniswap-v2-optimal-one-sided-supply"],UY=["/defi/uniswap-v2-optimal-one-sided-supply"],_Y=["/defi/uniswap-v2-optimal-one-sided-supply"],LY=["/defi/uniswap-v2-add-remove-liquidity","/assembly-math"],OY=["/defi/uniswap-v2-add-remove-liquidity"],PY=["/defi/staking-rewards","/defi/discrete-staking-rewards"],$Y=["/defi/staking-rewards","/defi/discrete-staking-rewards"],qY=["/defi/staking-rewards","/defi/discrete-staking-rewards"],sX=["/defi/stable-swap-amm"],aX=["/defi/stable-swap-amm"],nX=["/defi/discrete-staking-rewards"],lX=["/defi/dai-proxy"],pX=["/defi/dai-proxy","/app/upgradeable-proxy","/app/minimal-proxy"],eX=["/defi/constant-sum-amm"],cX=["/defi/constant-product-amm"],tX=["/defi/chainlink-price-oracle"],oX=["/defi/chainlink-price-oracle"],rX=["/defi/chainlink-price-oracle"],iX=["/defi/chainlink-price-oracle"],gX=["/data-locations"],hX=["/data-locations"],IX=["/data-locations"],dX=["/constructor"],CX=["/constructor"],jX=["/calling-contract"],AX=["/bitwise"],uX=["/bitwise"],yX=["/bitwise"],mX=["/bitwise"],bX=["/assembly-math"],wX=["/array"],kX=["/array"],ZX=["/app/write-to-any-slot"],WX=["/app/write-to-any-slot","/app/deploy-any-contract"],GX=["/app/write-to-any-slot"],BX=["/app/upgradeable-proxy"],fX=["/app/uni-directional-payment-channel","/app/bi-directional-payment-channel"],VX=["/app/uni-directional-payment-channel","/app/bi-directional-payment-channel"],YX=["/app/time-lock"],XX=["/app/time-lock"],vX=["/app/simple-bytecode-contract"],RX=["/app/simple-bytecode-contract"],NX=["/app/multi-sig-wallet","/app/multi-delegatecall","/app/multi-call"],HX=["/app/multi-sig-wallet"],FX=["/app/multi-sig-wallet","/app/ether-wallet"],KX=["/app/multi-call"],MX=["/app/minimal-proxy"],SX=["/app/merkle-tree","/app/airdrop"],xX=["/app/merkle-tree"],JX=["/app/iterable-mapping"],zX=["/app/gasless-token-transfer"],DX=["/app/gasless-token-transfer","/app/erc20"],EX=["/app/gasless-token-transfer"],QX=["/app/erc721"],TX=["/app/erc721"],UX=["/app/erc721","/app/erc1155"],_X=["/app/erc20"],LX=["/app/erc20"],OX=["/app/erc1155"],PX=["/app/erc1155"],$X=["/app/english-auction"],qX=["/app/english-auction","/app/dutch-auction"],sv=["/app/english-auction","/app/dutch-auction"],av=["/app/dutch-auction"],nv=["/app/crowd-fund"],lv=["/app/crowd-fund"],pv=["/app/crowd-fund"],ev=["/app/create2"],cv=["/app/assembly-bin-exp"],tv=["/app/assembly-bin-exp"],ov=["/app/airdrop"],rv=["/abi-encode","/abi-decode"],iv=["/abi-encode"],gv=["/abi-encode","/abi-decode"],hv=["/abi-encode"],Iv=["/abi-encode"],dv=["/abi-encode"],Cv=["/abi-decode"],Ro={visibility:_f,function:["/visibility","/view-and-pure-functions","/sending-ether","/hashing","/function-selector","/function-modifier","/function","/fallback","/delegatecall","/calling-contract","/call"],functions:Lf,internal:Of,private:["/visibility","/hacks/accessing-private-data"],public:["/visibility"],external:Pf,view:$f,pure:qf,variable:sV,variables:aV,local:nV,global:lV,state:pV,data:eV,user:cV,defined:tV,value:oV,types:rV,udvt:iV,gas:gV,unchecked:hV,math:IV,overflow:dV,underflow:CV,try:["/try-catch"],catch:["/try-catch"],error:jV,errors:AV,transient:uV,storage:yV,test:mV,echidna:bV,calling:wV,parent:kV,contract:ZV,contracts:WV,inheritance:GV,super:["/super","/inheritance"],struct:BV,structs:fV,type:VV,reading:YV,writing:XV,app:vV,application:RV,cryptography:NV,verify:HV,verifying:FV,signature:KV,signatures:MV,ecrecover:SV,shadow:xV,shadowing:JV,sending:zV,send:DV,ether:EV,eth:QV,transfer:TV,call:UV,fallback:_V,receive:LV,payable:OV,primitive:PV,primitives:$V,boolean:qV,uint256:s1,int256:a1,address:n1,uint:l1,int:p1,new:["/new-contract","/new-contract"],create:e1,creates:c1,create2:t1,salt:o1,mapping:r1,for:["/loop","/assembly-loop"],loop:i1,loops:g1,while:["/loop","/assembly-loop"],do:["/loop"],library:h1,interface:["/interface"],interfaces:I1,override:d1,virtual:C1,is:j1,import:["/import","/enum"],constant:A1,constants:u1,immutable:y1,immutables:m1,if:["/if-else","/assembly-if"],else:["/if-else"],conditional:b1,statement:w1,statements:k1,hello:Z1,world:W1,hash:G1,hashing:B1,keccak256:f1,hack:V1,security:Y1,weth:X1,permit:v1,inflation:R1,erc4626:N1,vault:H1,replay:F1,selfdestruct:K1,"re-entrancy":["/hacks/re-entrancy"],source:M1,random:S1,randomness:x1,blockhash:J1,block:z1,timestamp:D1,phishing:E1,"tx.origin":["/hacks/phishing-with-tx-origin"],arithmetic:Q1,honeypot:T1,hide:U1,hiding:_1,malicious:L1,code:O1,front:P1,running:$1,deploy:q1,different:sY,same:aY,denial:nY,service:lY,delegatecall:pY,bypass:eY,size:cY,check:tY,extcodesize:oY,manipulation:rY,access:iY,accessing:gY,golf:hY,selector:IY,selectors:dY,modifier:CY,modifiers:jY,_:AY,first:uY,counter:yY,evm:mY,yul:bY,assembly:wY,memory:kY,events:ZY,advanced:WY,"event-driven":["/events-advanced"],monitoring:GY,filtering:BY,event:fY,wei:VY,units:YY,require:XY,revert:vY,assert:RY,enum:["/enum"],imports:NY,defi:HY,uniswap:FY,v3:KY,swap:MY,amm:SY,liquidity:xY,arbitrage:JY,flash:zY,loan:DY,v2:EY,optimal:QY,one:TY,sided:UY,supply:_Y,add:LY,remove:OY,staking:PY,reward:$Y,rewards:qY,curve:sX,stable:aX,discrete:nX,dai:lX,proxy:pX,sum:eX,product:cX,chainlink:tX,price:oX,oracle:rX,oracles:iX,location:gX,locations:hX,calldata:IX,constructor:dX,constructors:CX,other:jX,bitwise:AX,most:uX,significant:yX,bit:mX,mul:bX,switch:["/assembly-if"],array:wX,arrays:kX,write:ZX,any:WX,slot:GX,upgradeable:BX,"uni-directional":["/app/uni-directional-payment-channel"],payment:fX,channel:VX,time:YX,lock:XX,simple:vX,bytecode:RX,multi:NX,sig:HX,wallet:FX,staticcall:KX,minimal:MX,merkle:SX,tree:xX,iterable:JX,gasless:zX,token:DX,ERC20:EX,erc721:QX,ierc721:TX,nft:UX,erc20:_X,ierc20:LX,erc1155:OX,ierc1155:PX,english:$X,auction:qX,auctions:sv,dutch:av,crowd:nv,fund:lv,funding:pv,precompute:ev,"bi-directional":["/app/bi-directional-payment-channel"],binary:cv,exponentiation:tv,airdrop:ov,abi:rv,encode:iv,bytes:gv,encodeWithSelector:hv,encodeWithSignature:Iv,encodeCall:dv,decode:Cv},No={"/visibility":["visibility","function","functions","internal","private","public","external"],"/view-and-pure-functions":["view","pure","function","functions"],"/variables":["variable","variables","local","global","state","data"],"/user-defined-value-types":["data","user","defined","value","types","udvt"],"/unchecked-math":["gas","unchecked","math","overflow","underflow"],"/try-catch":["try","catch","error","errors"],"/transient-storage":["transient","storage"],"/tests/echidna":["test","echidna"],"/super":["calling","parent","contract","contracts","inheritance","super"],"/structs":["struct","structs","data","type","types","variable","variables"],"/state-variables":["reading","writing","state","variable","variables","app","application"],"/signature":["cryptography","verify","verifying","signature","signatures","ecrecover"],"/shadowing-inherited-state-variables":["state","variables","variable","shadow","shadowing","inheritance"],"/sending-ether":["sending","send","ether","eth","transfer","send","call","fallback","receive","payable","function","functions"],"/primitives":["primitive","primitives","data","type","types","variable","variables","boolean","uint256","int256","address","uint","int"],"/payable":["payable","eth","send","ether"],"/new-contract":["new","contract","create","contracts","creates","new","create2","salt"],"/mapping":["data","variable","variables","mapping"],"/loop":["for","loop","loops","while","do"],"/library":["library"],"/interface":["interface","interfaces","contract","contracts"],"/inheritance":["inheritance","super","override","virtual","is","contract","contracts"],"/import":["import"],"/immutable":["constant","constants","immutable","immutables","data","variable","variables"],"/if-else":["if","else","conditional","statement","statements"],"/hello-world":["contract","app","application","hello","world"],"/hashing":["hash","hashing","function","functions","keccak256","cryptography"],"/hacks/weth-permit":["hack","security","weth","permit"],"/hacks/vault-inflation":["hack","security","inflation","erc4626","vault"],"/hacks/signature-replay":["hack","security","cryptography","signature","replay"],"/hacks/self-destruct":["hack","security","selfdestruct"],"/hacks/re-entrancy":["hack","security","re-entrancy"],"/hacks/randomness":["hack","security","source","random","randomness","blockhash","block","timestamp"],"/hacks/phishing-with-tx-origin":["hack","security","phishing","tx.origin"],"/hacks/overflow":["hack","security","arithmetic","overflow","underflow"],"/hacks/honeypot":["hack","security","honeypot"],"/hacks/hiding-malicious-code-with-external-contract":["hack","security","hide","hiding","malicious","code","external","contract"],"/hacks/front-running":["hack","security","front","running"],"/hacks/deploy-different-contracts-same-address":["hack","security","deploy","salt","create","create2","different","contract","same","address"],"/hacks/denial-of-service":["hack","security","denial","service"],"/hacks/delegatecall":["hack","security","delegatecall"],"/hacks/contract-size":["hack","security","bypass","contract","size","check","extcodesize"],"/hacks/block-timestamp-manipulation":["hack","security","block","timestamp","manipulation"],"/hacks/accessing-private-data":["hack","security","access","accessing","private","data","storage"],"/gas-golf":["gas","golf"],"/gas":["gas"],"/function-selector":["function","functions","selector","selectors"],"/function-modifier":["function","functions","modifier","modifiers","_"],"/function":["function","functions"],"/first-app":["contract","contracts","app","first","application","counter"],"/fallback":["fallback","function","functions","receive","payable","send","ether","eth","transfer"],"/evm/storage":["data","evm","storage","state","variable","yul","assembly"],"/evm/memory":["data","evm","memory","yul","assembly"],"/events-advanced":["events","advanced","event-driven","monitoring","filtering","security"],"/events":["event","events"],"/ether-units":["data","variables","variable","ether","wei","units"],"/error":["error","errors","require","revert","assert"],"/enum":["data","variable","variables","enum","import","imports"],"/delegatecall":["delegatecall","call","contract","contracts","function","functions"],"/defi/vault":["defi","vault"],"/defi/uniswap-v3-swap":["defi","uniswap","v3","swap","amm"],"/defi/uniswap-v3-liquidity":["defi","uniswap","v3","liquidity","amm"],"/defi/uniswap-v3-flash-swap":["defi","uniswap","v3","swap","arbitrage","amm"],"/defi/uniswap-v3-flash":["defi","uniswap","v3","flash","loan","amm"],"/defi/uniswap-v2-optimal-one-sided-supply":["defi","uniswap","v2","optimal","one","sided","supply","amm"],"/defi/uniswap-v2-flash-swap":["defi","uniswap","v2","flash","swap","amm"],"/defi/uniswap-v2-add-remove-liquidity":["defi","uniswap","v2","add","remove","liquidity","amm"],"/defi/uniswap-v2":["defi","uniswap","v2","swap","amm"],"/defi/staking-rewards":["defi","staking","reward","rewards"],"/defi/stable-swap-amm":["defi","curve","stable","swap","amm"],"/defi/discrete-staking-rewards":["defi","discrete","staking","reward","rewards"],"/defi/dai-proxy":["defi","dai","proxy"],"/defi/constant-sum-amm":["defi","constant","sum","amm"],"/defi/constant-product-amm":["defi","constant","product","amm"],"/defi/chainlink-price-oracle":["defi","chainlink","price","oracle","oracles"],"/data-locations":["data","location","locations","storage","memory","calldata"],"/constructor":["constructor","constructors","contract","inheritance"],"/constants":["constant","constants","data","variable","variables"],"/calling-contract":["calling","other","contract","contracts","call","function","functions"],"/call":["contract","contracts","call","function","functions"],"/bitwise":["bitwise","most","significant","bit","assembly"],"/assembly-variable":["assembly","variable","yul"],"/assembly-math":["assembly","yul","math","add","mul"],"/assembly-loop":["assembly","loop","yul","while","for"],"/assembly-if":["assembly","yul","if","switch"],"/assembly-error":["assembly","yul","error","revert"],"/array":["data","variable","variables","array","arrays"],"/app/write-to-any-slot":["app","application","write","any","slot","storage"],"/app/upgradeable-proxy":["app","application","delegatecall","upgradeable","proxy"],"/app/uni-directional-payment-channel":["app","application","uni-directional","payment","channel","signature","cryptography"],"/app/time-lock":["app","application","time","lock"],"/app/simple-bytecode-contract":["app","application","simple","bytecode","contract"],"/app/multi-sig-wallet":["app","application","multi","sig","signature","wallet"],"/app/multi-delegatecall":["app","application","multi","delegatecall"],"/app/multi-call":["app","application","multi","call","staticcall"],"/app/minimal-proxy":["app","application","minimal","proxy","contract"],"/app/merkle-tree":["app","application","merkle","tree","cryptography"],"/app/iterable-mapping":["app","application","mapping","data","iterable"],"/app/gasless-token-transfer":["app","application","gasless","token","transfer","ERC20","permit"],"/app/ether-wallet":["app","application","ether","eth","wallet"],"/app/erc721":["app","application","erc721","ierc721","nft"],"/app/erc20":["app","application","erc20","ierc20","token"],"/app/erc1155":["app","application","erc1155","nft","ierc1155"],"/app/english-auction":["app","application","english","auction","auctions"],"/app/dutch-auction":["app","application","dutch","auction","auctions"],"/app/deploy-any-contract":["app","application","deploy","any","contract"],"/app/crowd-fund":["app","application","crowd","fund","funding"],"/app/create2":["app","application","create2","precompute","contract","address"],"/app/bi-directional-payment-channel":["app","application","bi-directional","payment","channel","signature","cryptography"],"/app/assembly-bin-exp":["assembly","yul","binary","exponentiation","math"],"/app/airdrop":["app","application","merkle","airdrop"],"/abi-encode":["abi","encode","bytes","encodeWithSelector","encodeWithSignature","encodeCall"],"/abi-decode":["abi","decode","bytes"]},hc=[];for(const s of Object.keys(No))hc.push(...No[s]);const Cg={};for(let s=0;s{const I=n.get("q");I!=null&&I.length>0&&(a(I),c(I,!1))},[]);function c(I,d){const j=I.trim();if(j.length==0){e(null),d&&l({q:""});return}const u=jv(j.split(" ")),m={};for(const b of u){const G=Av(b);for(const h of G)m[h]=!0}e(m),d&&l({q:j})}const t=Ef(I=>c(I,!0),500,[]);function o(I){a(I),t(I)}function r(){return p?Object.keys(p).length==0?i.jsx("div",{children:"No results"}):i.jsx("ul",{className:as.list,children:jp.filter(({path:I})=>p[I]).map(({path:I,title:d})=>i.jsx("li",{className:as.listItem,children:i.jsx("a",{href:I,children:d})},I))}):i.jsxs(i.Fragment,{children:[rt.map(({routes:I,title:d},j)=>i.jsxs("div",{children:[d&&i.jsx("h3",{className:as.category,children:d}),i.jsx("ul",{className:as.list,children:I.map(({path:u,title:m})=>i.jsx("li",{className:as.listItem,children:i.jsx("a",{href:u,children:m})},u))})]},j)),i.jsxs("div",{children:[i.jsx("h3",{className:as.category,children:"Translations"}),Ld.map(({lang:I,url:d})=>i.jsx("li",{className:as.listItem,children:i.jsx("a",{href:d,target:"__blank",children:I})},d))]})]})}return i.jsxs("div",{className:as.component,children:[i.jsx(dg,{title:"Solidity by Example | 0.8.26",description:"Learn smart contract programming using Solidity"}),i.jsx("h1",{className:as.header,children:i.jsx("a",{href:"/",children:"Solidity by Example"})}),i.jsx("div",{className:as.subHeader,children:"v 0.8.26"}),i.jsxs("div",{className:as.main,children:[i.jsxs("p",{children:["Introduction to ",i.jsx("a",{href:"https://solidity.readthedocs.io",children:"Solidity"})," with simple examples"]}),i.jsxs("div",{className:as.youTube,children:[i.jsx("img",{src:Ig,alt:"logo",className:as.youTubeLogo}),i.jsx("a",{href:"https://www.youtube.com/@smartcontractprogrammer",target:"__blank",children:"Most code are explained here"})]}),i.jsxs("div",{className:as.updraft,children:[i.jsx("img",{src:hg,alt:"logo",className:as.updraftLogo}),i.jsx("a",{href:"https://updraft.cyfrin.io/",target:"__blank",children:"Learn Solidity at Cyfrin Updraft"})]}),i.jsx("div",{className:as.updates,children:Vv.map((I,d)=>i.jsx("div",{children:I},d))}),i.jsx("div",{className:as.search,children:i.jsx(kf,{value:s,onChange:o})}),r()]})]})}const Xv=[{path:"/abi-decode",component:DC},{path:"/abi-encode",component:OC},{path:"/app/airdrop",component:lj},{path:"/app/assembly-bin-exp",component:ij},{path:"/app/bi-directional-payment-channel",component:Aj},{path:"/app/create2",component:Zj},{path:"/app/crowd-fund",component:Xj},{path:"/app/deploy-any-contract",component:Mj},{path:"/app/dutch-auction",component:Qj},{path:"/app/english-auction",component:$j},{path:"/app/erc1155",component:eA},{path:"/app/erc20",component:hA},{path:"/app/erc721",component:yA},{path:"/app/ether-wallet",component:GA},{path:"/app/gasless-token-transfer",component:RA},{path:"/app/iterable-mapping",component:xA},{path:"/app/merkle-tree",component:UA},{path:"/app/minimal-proxy",component:su},{path:"/app/multi-call",component:tu},{path:"/app/multi-delegatecall",component:du},{path:"/app/multi-sig-wallet",component:bu},{path:"/app/simple-bytecode-contract",component:fu},{path:"/app/time-lock",component:Hu},{path:"/app/uni-directional-payment-channel",component:zu},{path:"/app/upgradeable-proxy",component:Lu},{path:"/app/write-to-any-slot",component:ny},{path:"/array",component:ry},{path:"/assembly-error",component:jy},{path:"/assembly-if",component:ky},{path:"/assembly-loop",component:Yy},{path:"/assembly-math",component:Ky},{path:"/assembly-variable",component:Ey},{path:"/bitwise",component:Py},{path:"/call",component:pm},{path:"/calling-contract",component:gm},{path:"/constants",component:um},{path:"/constructor",component:Wm},{path:"/data-locations",component:vm},{path:"/defi/chainlink-price-oracle",component:Sm},{path:"/defi/constant-product-amm",component:Tm},{path:"/defi/constant-sum-amm",component:qm},{path:"/defi/dai-proxy",component:cb},{path:"/defi/discrete-staking-rewards",component:Ib},{path:"/defi/stable-swap-amm",component:mb},{path:"/defi/staking-rewards",component:Bb},{path:"/defi/uniswap-v2",component:Nb},{path:"/defi/uniswap-v2-add-remove-liquidity",component:Jb},{path:"/defi/uniswap-v2-flash-swap",component:_b},{path:"/defi/uniswap-v2-optimal-one-sided-supply",component:aw},{path:"/defi/uniswap-v3-flash",component:ow},{path:"/defi/uniswap-v3-flash-swap",component:Cw},{path:"/defi/uniswap-v3-liquidity",component:ww},{path:"/defi/uniswap-v3-swap",component:Vw},{path:"/defi/vault",component:Fw},{path:"/delegatecall",component:Dw},{path:"/enum",component:Ow},{path:"/error",component:lk},{path:"/ether-units",component:ik},{path:"/events",component:Ak},{path:"/events-advanced",component:Zk},{path:"/evm/memory",component:Xk},{path:"/evm/storage",component:Mk},{path:"/fallback",component:Qk},{path:"/first-app",component:$k},{path:"/function",component:e0},{path:"/function-modifier",component:h0},{path:"/function-selector",component:y0},{path:"/gas",component:G0},{path:"/gas-golf",component:R0},{path:"/hacks/accessing-private-data",component:x0},{path:"/hacks/block-timestamp-manipulation",component:U0},{path:"/hacks/contract-size",component:sZ},{path:"/hacks/delegatecall",component:tZ},{path:"/hacks/denial-of-service",component:dZ},{path:"/hacks/deploy-different-contracts-same-address",component:bZ},{path:"/hacks/front-running",component:fZ},{path:"/hacks/hiding-malicious-code-with-external-contract",component:HZ},{path:"/hacks/honeypot",component:zZ},{path:"/hacks/overflow",component:LZ},{path:"/hacks/phishing-with-tx-origin",component:nW},{path:"/hacks/randomness",component:rW},{path:"/hacks/re-entrancy",component:jW},{path:"/hacks/self-destruct",component:kW},{path:"/hacks/signature-replay",component:YW},{path:"/hacks/vault-inflation",component:KW},{path:"/hacks/weth-permit",component:EW},{path:"/hashing",component:PW},{path:"/hello-world",component:p2},{path:"/if-else",component:g2},{path:"/immutable",component:u2},{path:"/import",component:W2},{path:"/inheritance",component:v2},{path:"/interface",component:S2},{path:"/library",component:T2},{path:"/loop",component:q2},{path:"/mapping",component:cG},{path:"/new-contract",component:IG},{path:"/payable",component:mG},{path:"/primitives",component:BG},{path:"/sending-ether",component:NG},{path:"/shadowing-inherited-state-variables",component:JG},{path:"/signature",component:_G},{path:"/state-variables",component:aB},{path:"/structs",component:oB},{path:"/super",component:CB},{path:"/tests/echidna",component:wB},{path:"/transient-storage",component:VB},{path:"/try-catch",component:FB},{path:"/unchecked-math",component:DB},{path:"/user-defined-value-types",component:OB},{path:"/variables",component:lf},{path:"/view-and-pure-functions",component:gf},{path:"/visibility",component:uf},{path:"",component:Yv}];function Ho(){const{state:s,init:a}=tt();return W.useLayoutEffect(()=>{a({width:window.document.body.clientWidth})},[]),s.initialized?i.jsx(Md,{basename:void 0,children:i.jsx(VC,{children:i.jsx(Nd,{children:Xv.map(n=>{const{prev:l,next:p}=lC(n.path);return i.jsx(gg,{path:n.path,element:_o.createElement(n.component,{prev:l,next:p})},n.path)})})})}):null}const vv=document.getElementById("root"),Rv=$i(vv),Fo=document.getElementById("root");Fo.hasChildNodes()?Pi(Fo,i.jsx(wo,{children:i.jsx(Ho,{})})):Rv.render(i.jsx(wo,{children:i.jsx(Ho,{})})); +`,uf=({prev:s,next:a})=>i.jsx(A,{version:hf,title:If,description:df,cyfrinLink:Cf,html:Af,prev:s,next:a,codes:jf}),yf=({size:s,className:a=""})=>i.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",width:s,height:s,className:a,children:i.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})}),mf="_component_efeb7_1",bf="_icon_efeb7_8",wf="_input_efeb7_12",Ie={component:mf,icon:bf,input:wf},kf=({value:s,onChange:a})=>{function n(l){a(l.target.value)}return i.jsxs("div",{className:Ie.component,children:[i.jsx(yf,{size:18,className:Ie.icon}),i.jsx("input",{className:Ie.input,placeholder:"Search",value:s,onChange:n})]})};var Zf="Expected a function",Xo=NaN,Wf="[object Symbol]",Gf=/^\s+|\s+$/g,Bf=/^[-+]0x[0-9a-f]+$/i,ff=/^0b[01]+$/i,Vf=/^0o[0-7]+$/i,Yf=parseInt,Xf=typeof Il=="object"&&Il&&Il.Object===Object&&Il,vf=typeof self=="object"&&self&&self.Object===Object&&self,Rf=Xf||vf||Function("return this")(),Nf=Object.prototype,Hf=Nf.toString,Ff=Math.max,Kf=Math.min,de=function(){return Rf.Date.now()};function Mf(s,a,n){var l,p,e,c,t,o,r=0,I=!1,d=!1,j=!0;if(typeof s!="function")throw new TypeError(Zf);a=vo(a)||0,gc(n)&&(I=!!n.leading,d="maxWait"in n,e=d?Ff(vo(n.maxWait)||0,a):e,j="trailing"in n?!!n.trailing:j);function u(k){var B=l,Y=p;return l=p=void 0,r=k,c=s.apply(Y,B),c}function m(k){return r=k,t=setTimeout(h,a),I?u(k):c}function b(k){var B=k-o,Y=k-r,x=a-B;return d?Kf(x,e-Y):x}function G(k){var B=k-o,Y=k-r;return o===void 0||B>=a||B<0||d&&Y>=e}function h(){var k=de();if(G(k))return g(k);t=setTimeout(h,b(k))}function g(k){return t=void 0,j&&l?u(k):(l=p=void 0,c)}function C(){t!==void 0&&clearTimeout(t),r=0,l=o=p=t=void 0}function y(){return t===void 0?c:g(de())}function Z(){var k=de(),B=G(k);if(l=arguments,p=this,o=k,B){if(t===void 0)return m(o);if(d)return t=setTimeout(h,a),u(o)}return t===void 0&&(t=setTimeout(h,a)),c}return Z.cancel=C,Z.flush=y,Z}function gc(s){var a=typeof s;return!!s&&(a=="object"||a=="function")}function Sf(s){return!!s&&typeof s=="object"}function xf(s){return typeof s=="symbol"||Sf(s)&&Hf.call(s)==Wf}function vo(s){if(typeof s=="number")return s;if(xf(s))return Xo;if(gc(s)){var a=typeof s.valueOf=="function"?s.valueOf():s;s=gc(a)?a+"":a}if(typeof s!="string")return s===0?s:+s;s=s.replace(Gf,"");var n=ff.test(s);return n||Vf.test(s)?Yf(s.slice(2),n?2:8):Bf.test(s)?Xo:+s}var Jf=Mf;const zf=Ko(Jf),Df={leading:!1,trailing:!0};function Ef(s,a,n){return W.useCallback(zf(s,a,Df),n)}function Qf(s,a){let n=s;for(let l=0;l0;){const[e,c,t]=a.pop();p&&(l=l.slice(0,c-1),p=!1),l+=e;const o=Object.keys(t);if(o.length>0)for(let r=0;ra+p)}const _f=["/visibility"],Lf=["/visibility","/view-and-pure-functions","/sending-ether","/hashing","/function-selector","/function-modifier","/function","/fallback","/delegatecall","/calling-contract","/call"],Of=["/visibility"],Pf=["/visibility","/hacks/hiding-malicious-code-with-external-contract"],$f=["/view-and-pure-functions"],qf=["/view-and-pure-functions"],sV=["/variables","/structs","/state-variables","/shadowing-inherited-state-variables","/primitives","/mapping","/immutable","/evm/storage","/ether-units","/enum","/constants","/assembly-variable","/array"],aV=["/variables","/structs","/state-variables","/shadowing-inherited-state-variables","/primitives","/mapping","/immutable","/ether-units","/enum","/constants","/array"],nV=["/variables"],lV=["/variables"],pV=["/variables","/state-variables","/shadowing-inherited-state-variables","/evm/storage"],eV=["/variables","/user-defined-value-types","/structs","/primitives","/mapping","/immutable","/hacks/accessing-private-data","/evm/storage","/evm/memory","/ether-units","/enum","/data-locations","/constants","/array","/app/iterable-mapping"],cV=["/user-defined-value-types"],tV=["/user-defined-value-types"],oV=["/user-defined-value-types"],rV=["/user-defined-value-types","/structs","/primitives"],iV=["/user-defined-value-types"],gV=["/unchecked-math","/gas-golf","/gas"],hV=["/unchecked-math"],IV=["/unchecked-math","/assembly-math","/app/assembly-bin-exp"],dV=["/unchecked-math","/hacks/overflow"],CV=["/unchecked-math","/hacks/overflow"],jV=["/try-catch","/error","/assembly-error"],AV=["/try-catch","/error"],uV=["/transient-storage"],yV=["/transient-storage","/hacks/accessing-private-data","/evm/storage","/data-locations","/app/write-to-any-slot"],mV=["/tests/echidna"],bV=["/tests/echidna"],wV=["/super","/calling-contract"],kV=["/super"],ZV=["/super","/new-contract","/interface","/inheritance","/hello-world","/hacks/hiding-malicious-code-with-external-contract","/hacks/deploy-different-contracts-same-address","/hacks/contract-size","/first-app","/delegatecall","/constructor","/calling-contract","/call","/app/simple-bytecode-contract","/app/minimal-proxy","/app/deploy-any-contract","/app/create2"],WV=["/super","/new-contract","/interface","/inheritance","/first-app","/delegatecall","/calling-contract","/call"],GV=["/super","/shadowing-inherited-state-variables","/inheritance","/constructor"],BV=["/structs"],fV=["/structs"],VV=["/structs","/primitives"],YV=["/state-variables"],XV=["/state-variables"],vV=["/state-variables","/hello-world","/first-app","/app/write-to-any-slot","/app/upgradeable-proxy","/app/uni-directional-payment-channel","/app/time-lock","/app/simple-bytecode-contract","/app/multi-sig-wallet","/app/multi-delegatecall","/app/multi-call","/app/minimal-proxy","/app/merkle-tree","/app/iterable-mapping","/app/gasless-token-transfer","/app/ether-wallet","/app/erc721","/app/erc20","/app/erc1155","/app/english-auction","/app/dutch-auction","/app/deploy-any-contract","/app/crowd-fund","/app/create2","/app/bi-directional-payment-channel","/app/airdrop"],RV=["/state-variables","/hello-world","/first-app","/app/write-to-any-slot","/app/upgradeable-proxy","/app/uni-directional-payment-channel","/app/time-lock","/app/simple-bytecode-contract","/app/multi-sig-wallet","/app/multi-delegatecall","/app/multi-call","/app/minimal-proxy","/app/merkle-tree","/app/iterable-mapping","/app/gasless-token-transfer","/app/ether-wallet","/app/erc721","/app/erc20","/app/erc1155","/app/english-auction","/app/dutch-auction","/app/deploy-any-contract","/app/crowd-fund","/app/create2","/app/bi-directional-payment-channel","/app/airdrop"],NV=["/signature","/hashing","/hacks/signature-replay","/app/uni-directional-payment-channel","/app/merkle-tree","/app/bi-directional-payment-channel"],HV=["/signature"],FV=["/signature"],KV=["/signature","/hacks/signature-replay","/app/uni-directional-payment-channel","/app/multi-sig-wallet","/app/bi-directional-payment-channel"],MV=["/signature"],SV=["/signature"],xV=["/shadowing-inherited-state-variables"],JV=["/shadowing-inherited-state-variables"],zV=["/sending-ether"],DV=["/sending-ether","/sending-ether","/payable","/fallback"],EV=["/sending-ether","/payable","/fallback","/ether-units","/app/ether-wallet"],QV=["/sending-ether","/payable","/fallback","/app/ether-wallet"],TV=["/sending-ether","/fallback","/app/gasless-token-transfer"],UV=["/sending-ether","/delegatecall","/calling-contract","/call","/app/multi-call"],_V=["/sending-ether","/fallback"],LV=["/sending-ether","/fallback"],OV=["/sending-ether","/payable","/fallback"],PV=["/primitives"],$V=["/primitives"],qV=["/primitives"],s1=["/primitives"],a1=["/primitives"],n1=["/primitives","/hacks/deploy-different-contracts-same-address","/app/create2"],l1=["/primitives"],p1=["/primitives"],e1=["/new-contract","/hacks/deploy-different-contracts-same-address"],c1=["/new-contract"],t1=["/new-contract","/hacks/deploy-different-contracts-same-address","/app/create2"],o1=["/new-contract","/hacks/deploy-different-contracts-same-address"],r1=["/mapping","/app/iterable-mapping"],i1=["/loop","/assembly-loop"],g1=["/loop"],h1=["/library"],I1=["/interface"],d1=["/inheritance"],C1=["/inheritance"],j1=["/inheritance"],A1=["/immutable","/defi/constant-sum-amm","/defi/constant-product-amm","/constants"],u1=["/immutable","/constants"],y1=["/immutable"],m1=["/immutable"],b1=["/if-else"],w1=["/if-else"],k1=["/if-else"],Z1=["/hello-world"],W1=["/hello-world"],G1=["/hashing"],B1=["/hashing"],f1=["/hashing"],V1=["/hacks/weth-permit","/hacks/vault-inflation","/hacks/signature-replay","/hacks/self-destruct","/hacks/re-entrancy","/hacks/randomness","/hacks/phishing-with-tx-origin","/hacks/overflow","/hacks/honeypot","/hacks/hiding-malicious-code-with-external-contract","/hacks/front-running","/hacks/deploy-different-contracts-same-address","/hacks/denial-of-service","/hacks/delegatecall","/hacks/contract-size","/hacks/block-timestamp-manipulation","/hacks/accessing-private-data"],Y1=["/hacks/weth-permit","/hacks/vault-inflation","/hacks/signature-replay","/hacks/self-destruct","/hacks/re-entrancy","/hacks/randomness","/hacks/phishing-with-tx-origin","/hacks/overflow","/hacks/honeypot","/hacks/hiding-malicious-code-with-external-contract","/hacks/front-running","/hacks/deploy-different-contracts-same-address","/hacks/denial-of-service","/hacks/delegatecall","/hacks/contract-size","/hacks/block-timestamp-manipulation","/hacks/accessing-private-data","/events-advanced"],X1=["/hacks/weth-permit"],v1=["/hacks/weth-permit","/app/gasless-token-transfer"],R1=["/hacks/vault-inflation"],N1=["/hacks/vault-inflation"],H1=["/hacks/vault-inflation","/defi/vault"],F1=["/hacks/signature-replay"],K1=["/hacks/self-destruct"],M1=["/hacks/randomness"],S1=["/hacks/randomness"],x1=["/hacks/randomness"],J1=["/hacks/randomness"],z1=["/hacks/randomness","/hacks/block-timestamp-manipulation"],D1=["/hacks/randomness","/hacks/block-timestamp-manipulation"],E1=["/hacks/phishing-with-tx-origin"],Q1=["/hacks/overflow"],T1=["/hacks/honeypot"],U1=["/hacks/hiding-malicious-code-with-external-contract"],_1=["/hacks/hiding-malicious-code-with-external-contract"],L1=["/hacks/hiding-malicious-code-with-external-contract"],O1=["/hacks/hiding-malicious-code-with-external-contract"],P1=["/hacks/front-running"],$1=["/hacks/front-running"],q1=["/hacks/deploy-different-contracts-same-address","/app/deploy-any-contract"],sY=["/hacks/deploy-different-contracts-same-address"],aY=["/hacks/deploy-different-contracts-same-address"],nY=["/hacks/denial-of-service"],lY=["/hacks/denial-of-service"],pY=["/hacks/delegatecall","/delegatecall","/app/upgradeable-proxy","/app/multi-delegatecall"],eY=["/hacks/contract-size"],cY=["/hacks/contract-size"],tY=["/hacks/contract-size"],oY=["/hacks/contract-size"],rY=["/hacks/block-timestamp-manipulation"],iY=["/hacks/accessing-private-data"],gY=["/hacks/accessing-private-data"],hY=["/gas-golf"],IY=["/function-selector"],dY=["/function-selector"],CY=["/function-modifier"],jY=["/function-modifier"],AY=["/function-modifier"],uY=["/first-app"],yY=["/first-app"],mY=["/evm/storage","/evm/memory"],bY=["/evm/storage","/evm/memory","/assembly-variable","/assembly-math","/assembly-loop","/assembly-if","/assembly-error","/app/assembly-bin-exp"],wY=["/evm/storage","/evm/memory","/bitwise","/assembly-variable","/assembly-math","/assembly-loop","/assembly-if","/assembly-error","/app/assembly-bin-exp"],kY=["/evm/memory","/data-locations"],ZY=["/events-advanced","/events"],WY=["/events-advanced"],GY=["/events-advanced"],BY=["/events-advanced"],fY=["/events"],VY=["/ether-units"],YY=["/ether-units"],XY=["/error"],vY=["/error","/assembly-error"],RY=["/error"],NY=["/enum"],HY=["/defi/vault","/defi/uniswap-v3-swap","/defi/uniswap-v3-liquidity","/defi/uniswap-v3-flash-swap","/defi/uniswap-v3-flash","/defi/uniswap-v2-optimal-one-sided-supply","/defi/uniswap-v2-flash-swap","/defi/uniswap-v2-add-remove-liquidity","/defi/uniswap-v2","/defi/staking-rewards","/defi/stable-swap-amm","/defi/discrete-staking-rewards","/defi/dai-proxy","/defi/constant-sum-amm","/defi/constant-product-amm","/defi/chainlink-price-oracle"],FY=["/defi/uniswap-v3-swap","/defi/uniswap-v3-liquidity","/defi/uniswap-v3-flash-swap","/defi/uniswap-v3-flash","/defi/uniswap-v2-optimal-one-sided-supply","/defi/uniswap-v2-flash-swap","/defi/uniswap-v2-add-remove-liquidity","/defi/uniswap-v2"],KY=["/defi/uniswap-v3-swap","/defi/uniswap-v3-liquidity","/defi/uniswap-v3-flash-swap","/defi/uniswap-v3-flash"],MY=["/defi/uniswap-v3-swap","/defi/uniswap-v3-flash-swap","/defi/uniswap-v2-flash-swap","/defi/uniswap-v2","/defi/stable-swap-amm"],SY=["/defi/uniswap-v3-swap","/defi/uniswap-v3-liquidity","/defi/uniswap-v3-flash-swap","/defi/uniswap-v3-flash","/defi/uniswap-v2-optimal-one-sided-supply","/defi/uniswap-v2-flash-swap","/defi/uniswap-v2-add-remove-liquidity","/defi/uniswap-v2","/defi/stable-swap-amm","/defi/constant-sum-amm","/defi/constant-product-amm"],xY=["/defi/uniswap-v3-liquidity","/defi/uniswap-v2-add-remove-liquidity"],JY=["/defi/uniswap-v3-flash-swap"],zY=["/defi/uniswap-v3-flash","/defi/uniswap-v2-flash-swap"],DY=["/defi/uniswap-v3-flash"],EY=["/defi/uniswap-v2-optimal-one-sided-supply","/defi/uniswap-v2-flash-swap","/defi/uniswap-v2-add-remove-liquidity","/defi/uniswap-v2"],QY=["/defi/uniswap-v2-optimal-one-sided-supply"],TY=["/defi/uniswap-v2-optimal-one-sided-supply"],UY=["/defi/uniswap-v2-optimal-one-sided-supply"],_Y=["/defi/uniswap-v2-optimal-one-sided-supply"],LY=["/defi/uniswap-v2-add-remove-liquidity","/assembly-math"],OY=["/defi/uniswap-v2-add-remove-liquidity"],PY=["/defi/staking-rewards","/defi/discrete-staking-rewards"],$Y=["/defi/staking-rewards","/defi/discrete-staking-rewards"],qY=["/defi/staking-rewards","/defi/discrete-staking-rewards"],sX=["/defi/stable-swap-amm"],aX=["/defi/stable-swap-amm"],nX=["/defi/discrete-staking-rewards"],lX=["/defi/dai-proxy"],pX=["/defi/dai-proxy","/app/upgradeable-proxy","/app/minimal-proxy"],eX=["/defi/constant-sum-amm"],cX=["/defi/constant-product-amm"],tX=["/defi/chainlink-price-oracle"],oX=["/defi/chainlink-price-oracle"],rX=["/defi/chainlink-price-oracle"],iX=["/defi/chainlink-price-oracle"],gX=["/data-locations"],hX=["/data-locations"],IX=["/data-locations"],dX=["/constructor"],CX=["/constructor"],jX=["/calling-contract"],AX=["/bitwise"],uX=["/bitwise"],yX=["/bitwise"],mX=["/bitwise"],bX=["/assembly-math"],wX=["/array"],kX=["/array"],ZX=["/app/write-to-any-slot"],WX=["/app/write-to-any-slot","/app/deploy-any-contract"],GX=["/app/write-to-any-slot"],BX=["/app/upgradeable-proxy"],fX=["/app/uni-directional-payment-channel","/app/bi-directional-payment-channel"],VX=["/app/uni-directional-payment-channel","/app/bi-directional-payment-channel"],YX=["/app/time-lock"],XX=["/app/time-lock"],vX=["/app/simple-bytecode-contract"],RX=["/app/simple-bytecode-contract"],NX=["/app/multi-sig-wallet","/app/multi-delegatecall","/app/multi-call"],HX=["/app/multi-sig-wallet"],FX=["/app/multi-sig-wallet","/app/ether-wallet"],KX=["/app/multi-call"],MX=["/app/minimal-proxy"],SX=["/app/merkle-tree","/app/airdrop"],xX=["/app/merkle-tree"],JX=["/app/iterable-mapping"],zX=["/app/gasless-token-transfer"],DX=["/app/gasless-token-transfer","/app/erc20"],EX=["/app/gasless-token-transfer"],QX=["/app/erc721"],TX=["/app/erc721"],UX=["/app/erc721","/app/erc1155"],_X=["/app/erc20"],LX=["/app/erc20"],OX=["/app/erc1155"],PX=["/app/erc1155"],$X=["/app/english-auction"],qX=["/app/english-auction","/app/dutch-auction"],sv=["/app/english-auction","/app/dutch-auction"],av=["/app/dutch-auction"],nv=["/app/crowd-fund"],lv=["/app/crowd-fund"],pv=["/app/crowd-fund"],ev=["/app/create2"],cv=["/app/assembly-bin-exp"],tv=["/app/assembly-bin-exp"],ov=["/app/airdrop"],rv=["/abi-encode","/abi-decode"],iv=["/abi-encode"],gv=["/abi-encode","/abi-decode"],hv=["/abi-encode"],Iv=["/abi-encode"],dv=["/abi-encode"],Cv=["/abi-decode"],Ro={visibility:_f,function:["/visibility","/view-and-pure-functions","/sending-ether","/hashing","/function-selector","/function-modifier","/function","/fallback","/delegatecall","/calling-contract","/call"],functions:Lf,internal:Of,private:["/visibility","/hacks/accessing-private-data"],public:["/visibility"],external:Pf,view:$f,pure:qf,variable:sV,variables:aV,local:nV,global:lV,state:pV,data:eV,user:cV,defined:tV,value:oV,types:rV,udvt:iV,gas:gV,unchecked:hV,math:IV,overflow:dV,underflow:CV,try:["/try-catch"],catch:["/try-catch"],error:jV,errors:AV,transient:uV,storage:yV,test:mV,echidna:bV,calling:wV,parent:kV,contract:ZV,contracts:WV,inheritance:GV,super:["/super","/inheritance"],struct:BV,structs:fV,type:VV,reading:YV,writing:XV,app:vV,application:RV,cryptography:NV,verify:HV,verifying:FV,signature:KV,signatures:MV,ecrecover:SV,shadow:xV,shadowing:JV,sending:zV,send:DV,ether:EV,eth:QV,transfer:TV,call:UV,fallback:_V,receive:LV,payable:OV,primitive:PV,primitives:$V,boolean:qV,uint256:s1,int256:a1,address:n1,uint:l1,int:p1,new:["/new-contract","/new-contract"],create:e1,creates:c1,create2:t1,salt:o1,mapping:r1,for:["/loop","/assembly-loop"],loop:i1,loops:g1,while:["/loop","/assembly-loop"],do:["/loop"],library:h1,interface:["/interface"],interfaces:I1,override:d1,virtual:C1,is:j1,import:["/import","/enum"],constant:A1,constants:u1,immutable:y1,immutables:m1,if:["/if-else","/assembly-if"],else:["/if-else"],conditional:b1,statement:w1,statements:k1,hello:Z1,world:W1,hash:G1,hashing:B1,keccak256:f1,hack:V1,security:Y1,weth:X1,permit:v1,inflation:R1,erc4626:N1,vault:H1,replay:F1,selfdestruct:K1,"re-entrancy":["/hacks/re-entrancy"],source:M1,random:S1,randomness:x1,blockhash:J1,block:z1,timestamp:D1,phishing:E1,"tx.origin":["/hacks/phishing-with-tx-origin"],arithmetic:Q1,honeypot:T1,hide:U1,hiding:_1,malicious:L1,code:O1,front:P1,running:$1,deploy:q1,different:sY,same:aY,denial:nY,service:lY,delegatecall:pY,bypass:eY,size:cY,check:tY,extcodesize:oY,manipulation:rY,access:iY,accessing:gY,golf:hY,selector:IY,selectors:dY,modifier:CY,modifiers:jY,_:AY,first:uY,counter:yY,evm:mY,yul:bY,assembly:wY,memory:kY,events:ZY,advanced:WY,"event-driven":["/events-advanced"],monitoring:GY,filtering:BY,event:fY,wei:VY,units:YY,require:XY,revert:vY,assert:RY,enum:["/enum"],imports:NY,defi:HY,uniswap:FY,v3:KY,swap:MY,amm:SY,liquidity:xY,arbitrage:JY,flash:zY,loan:DY,v2:EY,optimal:QY,one:TY,sided:UY,supply:_Y,add:LY,remove:OY,staking:PY,reward:$Y,rewards:qY,curve:sX,stable:aX,discrete:nX,dai:lX,proxy:pX,sum:eX,product:cX,chainlink:tX,price:oX,oracle:rX,oracles:iX,location:gX,locations:hX,calldata:IX,constructor:dX,constructors:CX,other:jX,bitwise:AX,most:uX,significant:yX,bit:mX,mul:bX,switch:["/assembly-if"],array:wX,arrays:kX,write:ZX,any:WX,slot:GX,upgradeable:BX,"uni-directional":["/app/uni-directional-payment-channel"],payment:fX,channel:VX,time:YX,lock:XX,simple:vX,bytecode:RX,multi:NX,sig:HX,wallet:FX,staticcall:KX,minimal:MX,merkle:SX,tree:xX,iterable:JX,gasless:zX,token:DX,ERC20:EX,erc721:QX,ierc721:TX,nft:UX,erc20:_X,ierc20:LX,erc1155:OX,ierc1155:PX,english:$X,auction:qX,auctions:sv,dutch:av,crowd:nv,fund:lv,funding:pv,precompute:ev,"bi-directional":["/app/bi-directional-payment-channel"],binary:cv,exponentiation:tv,airdrop:ov,abi:rv,encode:iv,bytes:gv,encodeWithSelector:hv,encodeWithSignature:Iv,encodeCall:dv,decode:Cv},No={"/visibility":["visibility","function","functions","internal","private","public","external"],"/view-and-pure-functions":["view","pure","function","functions"],"/variables":["variable","variables","local","global","state","data"],"/user-defined-value-types":["data","user","defined","value","types","udvt"],"/unchecked-math":["gas","unchecked","math","overflow","underflow"],"/try-catch":["try","catch","error","errors"],"/transient-storage":["transient","storage"],"/tests/echidna":["test","echidna"],"/super":["calling","parent","contract","contracts","inheritance","super"],"/structs":["struct","structs","data","type","types","variable","variables"],"/state-variables":["reading","writing","state","variable","variables","app","application"],"/signature":["cryptography","verify","verifying","signature","signatures","ecrecover"],"/shadowing-inherited-state-variables":["state","variables","variable","shadow","shadowing","inheritance"],"/sending-ether":["sending","send","ether","eth","transfer","send","call","fallback","receive","payable","function","functions"],"/primitives":["primitive","primitives","data","type","types","variable","variables","boolean","uint256","int256","address","uint","int"],"/payable":["payable","eth","send","ether"],"/new-contract":["new","contract","create","contracts","creates","new","create2","salt"],"/mapping":["data","variable","variables","mapping"],"/loop":["for","loop","loops","while","do"],"/library":["library"],"/interface":["interface","interfaces","contract","contracts"],"/inheritance":["inheritance","super","override","virtual","is","contract","contracts"],"/import":["import"],"/immutable":["constant","constants","immutable","immutables","data","variable","variables"],"/if-else":["if","else","conditional","statement","statements"],"/hello-world":["contract","app","application","hello","world"],"/hashing":["hash","hashing","function","functions","keccak256","cryptography"],"/hacks/weth-permit":["hack","security","weth","permit"],"/hacks/vault-inflation":["hack","security","inflation","erc4626","vault"],"/hacks/signature-replay":["hack","security","cryptography","signature","replay"],"/hacks/self-destruct":["hack","security","selfdestruct"],"/hacks/re-entrancy":["hack","security","re-entrancy"],"/hacks/randomness":["hack","security","source","random","randomness","blockhash","block","timestamp"],"/hacks/phishing-with-tx-origin":["hack","security","phishing","tx.origin"],"/hacks/overflow":["hack","security","arithmetic","overflow","underflow"],"/hacks/honeypot":["hack","security","honeypot"],"/hacks/hiding-malicious-code-with-external-contract":["hack","security","hide","hiding","malicious","code","external","contract"],"/hacks/front-running":["hack","security","front","running"],"/hacks/deploy-different-contracts-same-address":["hack","security","deploy","salt","create","create2","different","contract","same","address"],"/hacks/denial-of-service":["hack","security","denial","service"],"/hacks/delegatecall":["hack","security","delegatecall"],"/hacks/contract-size":["hack","security","bypass","contract","size","check","extcodesize"],"/hacks/block-timestamp-manipulation":["hack","security","block","timestamp","manipulation"],"/hacks/accessing-private-data":["hack","security","access","accessing","private","data","storage"],"/gas-golf":["gas","golf"],"/gas":["gas"],"/function-selector":["function","functions","selector","selectors"],"/function-modifier":["function","functions","modifier","modifiers","_"],"/function":["function","functions"],"/first-app":["contract","contracts","app","first","application","counter"],"/fallback":["fallback","function","functions","receive","payable","send","ether","eth","transfer"],"/evm/storage":["data","evm","storage","state","variable","yul","assembly"],"/evm/memory":["data","evm","memory","yul","assembly"],"/events-advanced":["events","advanced","event-driven","monitoring","filtering","security"],"/events":["event","events"],"/ether-units":["data","variables","variable","ether","wei","units"],"/error":["error","errors","require","revert","assert"],"/enum":["data","variable","variables","enum","import","imports"],"/delegatecall":["delegatecall","call","contract","contracts","function","functions"],"/defi/vault":["defi","vault"],"/defi/uniswap-v3-swap":["defi","uniswap","v3","swap","amm"],"/defi/uniswap-v3-liquidity":["defi","uniswap","v3","liquidity","amm"],"/defi/uniswap-v3-flash-swap":["defi","uniswap","v3","swap","arbitrage","amm"],"/defi/uniswap-v3-flash":["defi","uniswap","v3","flash","loan","amm"],"/defi/uniswap-v2-optimal-one-sided-supply":["defi","uniswap","v2","optimal","one","sided","supply","amm"],"/defi/uniswap-v2-flash-swap":["defi","uniswap","v2","flash","swap","amm"],"/defi/uniswap-v2-add-remove-liquidity":["defi","uniswap","v2","add","remove","liquidity","amm"],"/defi/uniswap-v2":["defi","uniswap","v2","swap","amm"],"/defi/staking-rewards":["defi","staking","reward","rewards"],"/defi/stable-swap-amm":["defi","curve","stable","swap","amm"],"/defi/discrete-staking-rewards":["defi","discrete","staking","reward","rewards"],"/defi/dai-proxy":["defi","dai","proxy"],"/defi/constant-sum-amm":["defi","constant","sum","amm"],"/defi/constant-product-amm":["defi","constant","product","amm"],"/defi/chainlink-price-oracle":["defi","chainlink","price","oracle","oracles"],"/data-locations":["data","location","locations","storage","memory","calldata"],"/constructor":["constructor","constructors","contract","inheritance"],"/constants":["constant","constants","data","variable","variables"],"/calling-contract":["calling","other","contract","contracts","call","function","functions"],"/call":["contract","contracts","call","function","functions"],"/bitwise":["bitwise","most","significant","bit","assembly"],"/assembly-variable":["assembly","variable","yul"],"/assembly-math":["assembly","yul","math","add","mul"],"/assembly-loop":["assembly","loop","yul","while","for"],"/assembly-if":["assembly","yul","if","switch"],"/assembly-error":["assembly","yul","error","revert"],"/array":["data","variable","variables","array","arrays"],"/app/write-to-any-slot":["app","application","write","any","slot","storage"],"/app/upgradeable-proxy":["app","application","delegatecall","upgradeable","proxy"],"/app/uni-directional-payment-channel":["app","application","uni-directional","payment","channel","signature","cryptography"],"/app/time-lock":["app","application","time","lock"],"/app/simple-bytecode-contract":["app","application","simple","bytecode","contract"],"/app/multi-sig-wallet":["app","application","multi","sig","signature","wallet"],"/app/multi-delegatecall":["app","application","multi","delegatecall"],"/app/multi-call":["app","application","multi","call","staticcall"],"/app/minimal-proxy":["app","application","minimal","proxy","contract"],"/app/merkle-tree":["app","application","merkle","tree","cryptography"],"/app/iterable-mapping":["app","application","mapping","data","iterable"],"/app/gasless-token-transfer":["app","application","gasless","token","transfer","ERC20","permit"],"/app/ether-wallet":["app","application","ether","eth","wallet"],"/app/erc721":["app","application","erc721","ierc721","nft"],"/app/erc20":["app","application","erc20","ierc20","token"],"/app/erc1155":["app","application","erc1155","nft","ierc1155"],"/app/english-auction":["app","application","english","auction","auctions"],"/app/dutch-auction":["app","application","dutch","auction","auctions"],"/app/deploy-any-contract":["app","application","deploy","any","contract"],"/app/crowd-fund":["app","application","crowd","fund","funding"],"/app/create2":["app","application","create2","precompute","contract","address"],"/app/bi-directional-payment-channel":["app","application","bi-directional","payment","channel","signature","cryptography"],"/app/assembly-bin-exp":["assembly","yul","binary","exponentiation","math"],"/app/airdrop":["app","application","merkle","airdrop"],"/abi-encode":["abi","encode","bytes","encodeWithSelector","encodeWithSignature","encodeCall"],"/abi-decode":["abi","decode","bytes"]},hc=[];for(const s of Object.keys(No))hc.push(...No[s]);const Cg={};for(let s=0;s{const I=n.get("q");I!=null&&I.length>0&&(a(I),c(I,!1))},[]);function c(I,d){const j=I.trim();if(j.length==0){e(null),d&&l({q:""});return}const u=jv(j.split(" ")),m={};for(const b of u){const G=Av(b);for(const h of G)m[h]=!0}e(m),d&&l({q:j})}const t=Ef(I=>c(I,!0),500,[]);function o(I){a(I),t(I)}function r(){return p?Object.keys(p).length==0?i.jsx("div",{children:"No results"}):i.jsx("ul",{className:as.list,children:jp.filter(({path:I})=>p[I]).map(({path:I,title:d})=>i.jsx("li",{className:as.listItem,children:i.jsx("a",{href:I,children:d})},I))}):i.jsxs(i.Fragment,{children:[rt.map(({routes:I,title:d},j)=>i.jsxs("div",{children:[d&&i.jsx("h3",{className:as.category,children:d}),i.jsx("ul",{className:as.list,children:I.map(({path:u,title:m})=>i.jsx("li",{className:as.listItem,children:i.jsx("a",{href:u,children:m})},u))})]},j)),i.jsxs("div",{children:[i.jsx("h3",{className:as.category,children:"Translations"}),Ld.map(({lang:I,url:d})=>i.jsx("li",{className:as.listItem,children:i.jsx("a",{href:d,target:"__blank",children:I})},d))]})]})}return i.jsxs("div",{className:as.component,children:[i.jsx(dg,{title:"Solidity by Example | 0.8.26",description:"Learn smart contract programming using Solidity"}),i.jsx("h1",{className:as.header,children:i.jsx("a",{href:"/",children:"Solidity by Example"})}),i.jsx("div",{className:as.subHeader,children:"v 0.8.26"}),i.jsxs("div",{className:as.main,children:[i.jsxs("p",{children:["Introduction to ",i.jsx("a",{href:"https://solidity.readthedocs.io",children:"Solidity"})," with simple examples"]}),i.jsxs("div",{className:as.youTube,children:[i.jsx("img",{src:Ig,alt:"logo",className:as.youTubeLogo}),i.jsx("a",{href:"https://www.youtube.com/@smartcontractprogrammer",target:"__blank",children:"Most code are explained here"})]}),i.jsxs("div",{className:as.updraft,children:[i.jsx("img",{src:hg,alt:"logo",className:as.updraftLogo}),i.jsx("a",{href:"https://updraft.cyfrin.io/",target:"__blank",children:"Learn Solidity at Cyfrin Updraft"})]}),i.jsx("div",{className:as.updates,children:Vv.map((I,d)=>i.jsx("div",{children:I},d))}),i.jsx("div",{className:as.search,children:i.jsx(kf,{value:s,onChange:o})}),r()]})]})}const Xv=[{path:"/abi-decode",component:DC},{path:"/abi-encode",component:OC},{path:"/app/airdrop",component:lj},{path:"/app/assembly-bin-exp",component:ij},{path:"/app/bi-directional-payment-channel",component:Aj},{path:"/app/create2",component:Zj},{path:"/app/crowd-fund",component:Xj},{path:"/app/deploy-any-contract",component:Mj},{path:"/app/dutch-auction",component:Qj},{path:"/app/english-auction",component:$j},{path:"/app/erc1155",component:eA},{path:"/app/erc20",component:hA},{path:"/app/erc721",component:yA},{path:"/app/ether-wallet",component:GA},{path:"/app/gasless-token-transfer",component:RA},{path:"/app/iterable-mapping",component:xA},{path:"/app/merkle-tree",component:UA},{path:"/app/minimal-proxy",component:su},{path:"/app/multi-call",component:tu},{path:"/app/multi-delegatecall",component:du},{path:"/app/multi-sig-wallet",component:bu},{path:"/app/simple-bytecode-contract",component:fu},{path:"/app/time-lock",component:Hu},{path:"/app/uni-directional-payment-channel",component:zu},{path:"/app/upgradeable-proxy",component:Lu},{path:"/app/write-to-any-slot",component:ny},{path:"/array",component:ry},{path:"/assembly-error",component:jy},{path:"/assembly-if",component:ky},{path:"/assembly-loop",component:Yy},{path:"/assembly-math",component:Ky},{path:"/assembly-variable",component:Ey},{path:"/bitwise",component:Py},{path:"/call",component:pm},{path:"/calling-contract",component:gm},{path:"/constants",component:um},{path:"/constructor",component:Wm},{path:"/data-locations",component:vm},{path:"/defi/chainlink-price-oracle",component:Sm},{path:"/defi/constant-product-amm",component:Tm},{path:"/defi/constant-sum-amm",component:qm},{path:"/defi/dai-proxy",component:cb},{path:"/defi/discrete-staking-rewards",component:Ib},{path:"/defi/stable-swap-amm",component:mb},{path:"/defi/staking-rewards",component:Bb},{path:"/defi/uniswap-v2",component:Nb},{path:"/defi/uniswap-v2-add-remove-liquidity",component:Jb},{path:"/defi/uniswap-v2-flash-swap",component:_b},{path:"/defi/uniswap-v2-optimal-one-sided-supply",component:aw},{path:"/defi/uniswap-v3-flash",component:ow},{path:"/defi/uniswap-v3-flash-swap",component:Cw},{path:"/defi/uniswap-v3-liquidity",component:ww},{path:"/defi/uniswap-v3-swap",component:Vw},{path:"/defi/vault",component:Fw},{path:"/delegatecall",component:Dw},{path:"/enum",component:Ow},{path:"/error",component:lk},{path:"/ether-units",component:ik},{path:"/events",component:Ak},{path:"/events-advanced",component:Zk},{path:"/evm/memory",component:Xk},{path:"/evm/storage",component:Mk},{path:"/fallback",component:Qk},{path:"/first-app",component:$k},{path:"/function",component:e0},{path:"/function-modifier",component:h0},{path:"/function-selector",component:y0},{path:"/gas",component:G0},{path:"/gas-golf",component:R0},{path:"/hacks/accessing-private-data",component:x0},{path:"/hacks/block-timestamp-manipulation",component:U0},{path:"/hacks/contract-size",component:sZ},{path:"/hacks/delegatecall",component:tZ},{path:"/hacks/denial-of-service",component:dZ},{path:"/hacks/deploy-different-contracts-same-address",component:bZ},{path:"/hacks/front-running",component:fZ},{path:"/hacks/hiding-malicious-code-with-external-contract",component:HZ},{path:"/hacks/honeypot",component:zZ},{path:"/hacks/overflow",component:LZ},{path:"/hacks/phishing-with-tx-origin",component:nW},{path:"/hacks/randomness",component:rW},{path:"/hacks/re-entrancy",component:jW},{path:"/hacks/self-destruct",component:kW},{path:"/hacks/signature-replay",component:YW},{path:"/hacks/vault-inflation",component:KW},{path:"/hacks/weth-permit",component:EW},{path:"/hashing",component:PW},{path:"/hello-world",component:p2},{path:"/if-else",component:g2},{path:"/immutable",component:u2},{path:"/import",component:W2},{path:"/inheritance",component:v2},{path:"/interface",component:S2},{path:"/library",component:T2},{path:"/loop",component:q2},{path:"/mapping",component:cG},{path:"/new-contract",component:IG},{path:"/payable",component:mG},{path:"/primitives",component:BG},{path:"/sending-ether",component:NG},{path:"/shadowing-inherited-state-variables",component:JG},{path:"/signature",component:_G},{path:"/state-variables",component:aB},{path:"/structs",component:oB},{path:"/super",component:CB},{path:"/tests/echidna",component:wB},{path:"/transient-storage",component:VB},{path:"/try-catch",component:FB},{path:"/unchecked-math",component:DB},{path:"/user-defined-value-types",component:OB},{path:"/variables",component:lf},{path:"/view-and-pure-functions",component:gf},{path:"/visibility",component:uf},{path:"",component:Yv}];function Ho(){const{state:s,init:a}=tt();return W.useLayoutEffect(()=>{a({width:window.document.body.clientWidth})},[]),s.initialized?i.jsx(Md,{basename:"",children:i.jsx(VC,{children:i.jsx(Nd,{children:Xv.map(n=>{const{prev:l,next:p}=lC(n.path);return i.jsx(gg,{path:n.path,element:_o.createElement(n.component,{prev:l,next:p})},n.path)})})})}):null}const vv=document.getElementById("root"),Rv=$i(vv),Fo=document.getElementById("root");Fo.hasChildNodes()?Pi(Fo,i.jsx(wo,{children:i.jsx(Ho,{})})):Rv.render(i.jsx(wo,{children:i.jsx(Ho,{})})); diff --git a/bitwise/index.html b/bitwise/index.html index 1a7aec863..ae7e3138c 100644 --- a/bitwise/index.html +++ b/bitwise/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/call/index.html b/call/index.html index 1a7aec863..ae7e3138c 100644 --- a/call/index.html +++ b/call/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/calling-contract/index.html b/calling-contract/index.html index 1a7aec863..ae7e3138c 100644 --- a/calling-contract/index.html +++ b/calling-contract/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/constants/index.html b/constants/index.html index 1a7aec863..ae7e3138c 100644 --- a/constants/index.html +++ b/constants/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/constructor/index.html b/constructor/index.html index 1a7aec863..ae7e3138c 100644 --- a/constructor/index.html +++ b/constructor/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/data-locations/index.html b/data-locations/index.html index 1a7aec863..ae7e3138c 100644 --- a/data-locations/index.html +++ b/data-locations/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/defi/chainlink-price-oracle/index.html b/defi/chainlink-price-oracle/index.html index 1a7aec863..ae7e3138c 100644 --- a/defi/chainlink-price-oracle/index.html +++ b/defi/chainlink-price-oracle/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/defi/constant-product-amm/index.html b/defi/constant-product-amm/index.html index 1a7aec863..ae7e3138c 100644 --- a/defi/constant-product-amm/index.html +++ b/defi/constant-product-amm/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/defi/constant-sum-amm/index.html b/defi/constant-sum-amm/index.html index 1a7aec863..ae7e3138c 100644 --- a/defi/constant-sum-amm/index.html +++ b/defi/constant-sum-amm/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/defi/dai-proxy/index.html b/defi/dai-proxy/index.html index 1a7aec863..ae7e3138c 100644 --- a/defi/dai-proxy/index.html +++ b/defi/dai-proxy/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/defi/discrete-staking-rewards/index.html b/defi/discrete-staking-rewards/index.html index 1a7aec863..ae7e3138c 100644 --- a/defi/discrete-staking-rewards/index.html +++ b/defi/discrete-staking-rewards/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/defi/stable-swap-amm/index.html b/defi/stable-swap-amm/index.html index 1a7aec863..ae7e3138c 100644 --- a/defi/stable-swap-amm/index.html +++ b/defi/stable-swap-amm/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/defi/staking-rewards/index.html b/defi/staking-rewards/index.html index 1a7aec863..ae7e3138c 100644 --- a/defi/staking-rewards/index.html +++ b/defi/staking-rewards/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/defi/uniswap-v2-add-remove-liquidity/index.html b/defi/uniswap-v2-add-remove-liquidity/index.html index 1a7aec863..ae7e3138c 100644 --- a/defi/uniswap-v2-add-remove-liquidity/index.html +++ b/defi/uniswap-v2-add-remove-liquidity/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/defi/uniswap-v2-flash-swap/index.html b/defi/uniswap-v2-flash-swap/index.html index 1a7aec863..ae7e3138c 100644 --- a/defi/uniswap-v2-flash-swap/index.html +++ b/defi/uniswap-v2-flash-swap/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/defi/uniswap-v2-optimal-one-sided-supply/index.html b/defi/uniswap-v2-optimal-one-sided-supply/index.html index 1a7aec863..ae7e3138c 100644 --- a/defi/uniswap-v2-optimal-one-sided-supply/index.html +++ b/defi/uniswap-v2-optimal-one-sided-supply/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/defi/uniswap-v2/index.html b/defi/uniswap-v2/index.html index 1a7aec863..ae7e3138c 100644 --- a/defi/uniswap-v2/index.html +++ b/defi/uniswap-v2/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/defi/uniswap-v3-flash-swap/index.html b/defi/uniswap-v3-flash-swap/index.html index 1a7aec863..ae7e3138c 100644 --- a/defi/uniswap-v3-flash-swap/index.html +++ b/defi/uniswap-v3-flash-swap/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/defi/uniswap-v3-flash/index.html b/defi/uniswap-v3-flash/index.html index 1a7aec863..ae7e3138c 100644 --- a/defi/uniswap-v3-flash/index.html +++ b/defi/uniswap-v3-flash/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/defi/uniswap-v3-liquidity/index.html b/defi/uniswap-v3-liquidity/index.html index 1a7aec863..ae7e3138c 100644 --- a/defi/uniswap-v3-liquidity/index.html +++ b/defi/uniswap-v3-liquidity/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/defi/uniswap-v3-swap/index.html b/defi/uniswap-v3-swap/index.html index 1a7aec863..ae7e3138c 100644 --- a/defi/uniswap-v3-swap/index.html +++ b/defi/uniswap-v3-swap/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/defi/vault/index.html b/defi/vault/index.html index 1a7aec863..ae7e3138c 100644 --- a/defi/vault/index.html +++ b/defi/vault/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/delegatecall/index.html b/delegatecall/index.html index 1a7aec863..ae7e3138c 100644 --- a/delegatecall/index.html +++ b/delegatecall/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/enum/index.html b/enum/index.html index 1a7aec863..ae7e3138c 100644 --- a/enum/index.html +++ b/enum/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/error/index.html b/error/index.html index 1a7aec863..ae7e3138c 100644 --- a/error/index.html +++ b/error/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/ether-units/index.html b/ether-units/index.html index 1a7aec863..ae7e3138c 100644 --- a/ether-units/index.html +++ b/ether-units/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/events-advanced/index.html b/events-advanced/index.html index 1a7aec863..ae7e3138c 100644 --- a/events-advanced/index.html +++ b/events-advanced/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/events/index.html b/events/index.html index 1a7aec863..ae7e3138c 100644 --- a/events/index.html +++ b/events/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/evm/memory/index.html b/evm/memory/index.html index 1a7aec863..ae7e3138c 100644 --- a/evm/memory/index.html +++ b/evm/memory/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/evm/storage/index.html b/evm/storage/index.html index 1a7aec863..ae7e3138c 100644 --- a/evm/storage/index.html +++ b/evm/storage/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/fallback/index.html b/fallback/index.html index 1a7aec863..ae7e3138c 100644 --- a/fallback/index.html +++ b/fallback/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/first-app/index.html b/first-app/index.html index 1a7aec863..ae7e3138c 100644 --- a/first-app/index.html +++ b/first-app/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/function-modifier/index.html b/function-modifier/index.html index 1a7aec863..ae7e3138c 100644 --- a/function-modifier/index.html +++ b/function-modifier/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/function-selector/index.html b/function-selector/index.html index 1a7aec863..ae7e3138c 100644 --- a/function-selector/index.html +++ b/function-selector/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/function/index.html b/function/index.html index 1a7aec863..ae7e3138c 100644 --- a/function/index.html +++ b/function/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/gas-golf/index.html b/gas-golf/index.html index 1a7aec863..ae7e3138c 100644 --- a/gas-golf/index.html +++ b/gas-golf/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/gas/index.html b/gas/index.html index 1a7aec863..ae7e3138c 100644 --- a/gas/index.html +++ b/gas/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/accessing-private-data/index.html b/hacks/accessing-private-data/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/accessing-private-data/index.html +++ b/hacks/accessing-private-data/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/block-timestamp-manipulation/index.html b/hacks/block-timestamp-manipulation/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/block-timestamp-manipulation/index.html +++ b/hacks/block-timestamp-manipulation/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/contract-size/index.html b/hacks/contract-size/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/contract-size/index.html +++ b/hacks/contract-size/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/delegatecall/index.html b/hacks/delegatecall/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/delegatecall/index.html +++ b/hacks/delegatecall/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/denial-of-service/index.html b/hacks/denial-of-service/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/denial-of-service/index.html +++ b/hacks/denial-of-service/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/deploy-different-contracts-same-address/index.html b/hacks/deploy-different-contracts-same-address/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/deploy-different-contracts-same-address/index.html +++ b/hacks/deploy-different-contracts-same-address/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/front-running/index.html b/hacks/front-running/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/front-running/index.html +++ b/hacks/front-running/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/hiding-malicious-code-with-external-contract/index.html b/hacks/hiding-malicious-code-with-external-contract/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/hiding-malicious-code-with-external-contract/index.html +++ b/hacks/hiding-malicious-code-with-external-contract/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/honeypot/index.html b/hacks/honeypot/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/honeypot/index.html +++ b/hacks/honeypot/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/overflow/index.html b/hacks/overflow/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/overflow/index.html +++ b/hacks/overflow/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/phishing-with-tx-origin/index.html b/hacks/phishing-with-tx-origin/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/phishing-with-tx-origin/index.html +++ b/hacks/phishing-with-tx-origin/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/randomness/index.html b/hacks/randomness/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/randomness/index.html +++ b/hacks/randomness/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/re-entrancy/index.html b/hacks/re-entrancy/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/re-entrancy/index.html +++ b/hacks/re-entrancy/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/self-destruct/index.html b/hacks/self-destruct/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/self-destruct/index.html +++ b/hacks/self-destruct/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/signature-replay/index.html b/hacks/signature-replay/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/signature-replay/index.html +++ b/hacks/signature-replay/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/vault-inflation/index.html b/hacks/vault-inflation/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/vault-inflation/index.html +++ b/hacks/vault-inflation/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hacks/weth-permit/index.html b/hacks/weth-permit/index.html index 1a7aec863..ae7e3138c 100644 --- a/hacks/weth-permit/index.html +++ b/hacks/weth-permit/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hashing/index.html b/hashing/index.html index 1a7aec863..ae7e3138c 100644 --- a/hashing/index.html +++ b/hashing/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/hello-world/index.html b/hello-world/index.html index 1a7aec863..ae7e3138c 100644 --- a/hello-world/index.html +++ b/hello-world/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/if-else/index.html b/if-else/index.html index 1a7aec863..ae7e3138c 100644 --- a/if-else/index.html +++ b/if-else/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/immutable/index.html b/immutable/index.html index 1a7aec863..ae7e3138c 100644 --- a/immutable/index.html +++ b/immutable/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/import/index.html b/import/index.html index 1a7aec863..ae7e3138c 100644 --- a/import/index.html +++ b/import/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/index.html b/index.html index 1a7aec863..ae7e3138c 100644 --- a/index.html +++ b/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/inheritance/index.html b/inheritance/index.html index 1a7aec863..ae7e3138c 100644 --- a/inheritance/index.html +++ b/inheritance/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/interface/index.html b/interface/index.html index 1a7aec863..ae7e3138c 100644 --- a/interface/index.html +++ b/interface/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/library/index.html b/library/index.html index 1a7aec863..ae7e3138c 100644 --- a/library/index.html +++ b/library/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/loop/index.html b/loop/index.html index 1a7aec863..ae7e3138c 100644 --- a/loop/index.html +++ b/loop/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/mapping/index.html b/mapping/index.html index 1a7aec863..ae7e3138c 100644 --- a/mapping/index.html +++ b/mapping/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/new-contract/index.html b/new-contract/index.html index 1a7aec863..ae7e3138c 100644 --- a/new-contract/index.html +++ b/new-contract/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/payable/index.html b/payable/index.html index 1a7aec863..ae7e3138c 100644 --- a/payable/index.html +++ b/payable/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/primitives/index.html b/primitives/index.html index 1a7aec863..ae7e3138c 100644 --- a/primitives/index.html +++ b/primitives/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/sending-ether/index.html b/sending-ether/index.html index 1a7aec863..ae7e3138c 100644 --- a/sending-ether/index.html +++ b/sending-ether/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/shadowing-inherited-state-variables/index.html b/shadowing-inherited-state-variables/index.html index 1a7aec863..ae7e3138c 100644 --- a/shadowing-inherited-state-variables/index.html +++ b/shadowing-inherited-state-variables/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/signature/index.html b/signature/index.html index 1a7aec863..ae7e3138c 100644 --- a/signature/index.html +++ b/signature/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/state-variables/index.html b/state-variables/index.html index 1a7aec863..ae7e3138c 100644 --- a/state-variables/index.html +++ b/state-variables/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/structs/index.html b/structs/index.html index 1a7aec863..ae7e3138c 100644 --- a/structs/index.html +++ b/structs/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/super/index.html b/super/index.html index 1a7aec863..ae7e3138c 100644 --- a/super/index.html +++ b/super/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/tests/echidna/index.html b/tests/echidna/index.html index 1a7aec863..ae7e3138c 100644 --- a/tests/echidna/index.html +++ b/tests/echidna/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/transient-storage/index.html b/transient-storage/index.html index 1a7aec863..ae7e3138c 100644 --- a/transient-storage/index.html +++ b/transient-storage/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/try-catch/index.html b/try-catch/index.html index 1a7aec863..ae7e3138c 100644 --- a/try-catch/index.html +++ b/try-catch/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/unchecked-math/index.html b/unchecked-math/index.html index 1a7aec863..ae7e3138c 100644 --- a/unchecked-math/index.html +++ b/unchecked-math/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/user-defined-value-types/index.html b/user-defined-value-types/index.html index 1a7aec863..ae7e3138c 100644 --- a/user-defined-value-types/index.html +++ b/user-defined-value-types/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/variables/index.html b/variables/index.html index 1a7aec863..ae7e3138c 100644 --- a/variables/index.html +++ b/variables/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/view-and-pure-functions/index.html b/view-and-pure-functions/index.html index 1a7aec863..ae7e3138c 100644 --- a/view-and-pure-functions/index.html +++ b/view-and-pure-functions/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + + diff --git a/visibility/index.html b/visibility/index.html index 1a7aec863..ae7e3138c 100644 --- a/visibility/index.html +++ b/visibility/index.html @@ -28,8 +28,8 @@ gtag("config", "UA-133759045-1") - - + +