memoscan
← all memos

Memo 0xa7110fe8…fd2041 on Ethereum

0x5ba199a9…7ba9·#25,619,939·view on Etherscan
<meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="icon" type="image/svg+xml" href="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA4IDgiIHNoYXBlLXJlbmRlcmluZz0iY3Jpc3BFZGdlcyI+PHJlY3Qgd2lkdGg9IjgiIGhlaWdodD0iOCIgZmlsbD0iI2VmZWVlYSIvPjxwYXRoIGZpbGw9IiM3ODc0NmIiIGQ9Ik0zIDFINFYySDVWM0g2VjdIM1Y2SDJWM0gzWiIvPjxwYXRoIGZpbGw9IiMwMDAiIGZpbGwtb3BhY2l0eT0iMC45MDIiIGQ9Ik0zIDFINFYySDNaTTMgNkg0VjdIM1oiLz48cGF0aCBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMjUxIiBkPSJNNCAySDVWM0g0WiIvPjxwYXRoIGZpbGw9IiMwMDAiIGZpbGwtb3BhY2l0eT0iMC41MDIiIGQ9Ik0yIDNIM1Y1SDJaTTUgNkg2VjdINVoiLz48cGF0aCBmaWxsPSIjMDAwIiBmaWxsLW9wYWNpdHk9IjAuMjUxIiBkPSJNNSA0SDZWNkg1WiIvPjxwYXRoIGZpbGw9IiMwMDAiIGZpbGwtb3BhY2l0eT0iMC43NDkiIGQ9Ik0yIDVIM1Y2SDJaTTQgNkg1VjdINFoiLz48L3N2Zz4=" /> <title>EthereumRock</title> <!-- Unfurl tags. No og:image and no og:url on purpose; see "Link previews" in README.md. Comments here are stored on chain at 200 gas a byte, so keep this short. --> <meta name="description" content="EthereumRock is the wrapper for the v1 rock contract, deployed one day before the EtherRock project itself. No owner, no fees, fully CROPS-aligned." /> <meta property="og:type" content="website" /> <meta property="og:title" content="EthereumRock" /> <meta property="og:description" content="EthereumRock is the wrapper for the v1 rock contract, deployed one day before the EtherRock project itself. No owner, no fees, fully CROPS-aligned." /> <meta name="twitter:card" content="summary" /> <meta name="twitter:title" content="EthereumRock" /> <meta name="twitter:description" content="EthereumRock is the wrapper for the v1 rock contract, deployed one day before the EtherRock project itself. No owner, no fees, fully CROPS-aligned." /> <script type="module">(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&a(l)}).observe(document,{childList:!0,subtree:!0});function r(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function a(s){if(s.ep)return;s.ep=!0;const i=r(s);fetch(s.href,i)}})();const Hi=!1;var xs=Array.isArray,Ul=Array.prototype.indexOf,ka=Array.prototype.includes,Ra=Array.from,Vl=Object.defineProperty,yn=Object.getOwnPropertyDescriptor,Yl=Object.getOwnPropertyDescriptors,Gl=Object.prototype,Zl=Array.prototype,Pi=Object.getPrototypeOf,ci=Object.isExtensible;const Kl=()=>{};function Xl(t){for(var e=0;e<t.length;e++)t[e]()}function Wi(){var t,e,r=new Promise((a,s)=>{t=a,e=s});return{promise:r,resolve:t,reject:e}}const ae=2,En=4,Na=8,Di=1<<24,tr=16,Ve=32,Ir=64,us=128,Ue=512,Jt=1024,Yt=2048,ar=4096,_e=8192,Oe=16384,Cn=32768,ds=1<<25,Sn=65536,xa=1<<17,Ql=1<<18,On=1<<19,Jl=1<<20,cr=1<<25,on=65536,Ea=1<<21,kn=1<<22,jr=1<<23,rn=Symbol("$state"),$l=Symbol("legacy props"),tc=Symbol(""),Fi=Symbol("attributes"),fs=Symbol("class"),vs=Symbol("style"),hs=Symbol("text"),ma=Symbol("form reset"),$n=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"};function ec(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function rc(t,e,r){throw new Error("https://svelte.dev/e/each_key_duplicate")}function nc(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ac(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function sc(t){throw new Error("https://svelte.dev/e/effect_orphan")}function ic(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function oc(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function lc(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function cc(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function uc(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function dc(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const fc=1,vc=2,zi=4,hc=8,pc=16,_c=1,wc=2,mc=4,bc=8,gc=16,yc=1,kc=2,Qt=Symbol("uninitialized"),xc="http://www.w3.org/1999/xhtml";function Ec(){console.warn("https://svelte.dev/e/derived_inert")}function Sc(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Tc(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function ji(t){return t===this.v}function Ic(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function qi(t){return!Ic(t,this.v)}let ta=!1,Lc=!1;function Ac(){ta=!0}let Zt=null;function Tn(t){Zt=t}function Ge(t,e=!1,r){Zt={p:Zt,i:!1,c:null,e:null,s:t,x:null,r:dt,l:ta&&!e?{s:null,u:null,$:[]}:null}}function Ze(t){var e=Zt,r=e.e;if(r!==null){e.e=null;for(var a of r)io(a)}return e.i=!0,Zt=e.p,{}}function Rn(){return!ta||Zt!==null&&Zt.l===null}let $r=[];function Ui(){var t=$r;$r=[],Xl(t)}function qr(t){if($r.length===0&&!Yn){var e=$r;queueMicrotask(()=>{e===$r&&Ui()})}$r.push(t)}function Cc(){for(;$r.length>0;)Ui()}function Vi(t){var e=dt;if(e===null)return ht.f|=jr,t;if((e.f&Cn)===0&&(e.f&En)===0)throw t;zr(t,e)}function zr(t,e){if(!(e!==null&&(e.f&Oe)!==0)){for(;e!==null;){if((e.f&us)!==0){if((e.f&Cn)===0)throw t;try{e.b.error(t);return}catch(r){t=r}}e=e.parent}throw t}}const Oc=-7169;function Dt(t,e){t.f=t.f&Oc|e}function Es(t){(t.f&Ue)!==0||t.deps===null?Dt(t,Jt):Dt(t,ar)}function Yi(t){if(t!==null)for(const e of t)(e.f&ae)===0||(e.f&on)===0||(e.f^=on,Yi(e.deps))}function Gi(t,e,r){(t.f&Yt)!==0?e.add(t):(t.f&ar)!==0&&r.add(t),Yi(t.deps),Dt(t,Jt)}let ha=!1;function Rc(t){var e=ha;try{return ha=!1,[t(),ha]}finally{ha=e}}let ui=!1;function Nc(){ui||(ui=!0,document.addEventListener("reset",t=>{Promise.resolve().then(()=>{if(!t.defaultPrevented)for(const e of t.target.elements)e[ma]?.()})},{capture:!0}))}function Nn(t){var e=ht,r=dt;Ye(null),vr(null);try{return t()}finally{Ye(e),vr(r)}}function Ss(t,e,r,a=r){t.addEventListener(e,()=>Nn(r));const s=t[ma];s?t[ma]=()=>{s(),a(!0)}:t[ma]=()=>a(!0),Nc()}function Bc(t){let e=0,r=ln(0),a;return()=>{Cs()&&(n(r),Ba(()=>(e===0&&(a=na(()=>t(()=>Gn(r)))),e+=1,()=>{qr(()=>{e-=1,e===0&&(a?.(),a=void 0,Gn(r))})})))}}var Mc=Sn|On;function Hc(t,e,r,a){new Pc(t,e,r,a)}class Pc{parent;is_pending=!1;transform_error;#t;#s=null;#e;#i;#n;#o=null;#r=null;#l=null;#a=null;#h=0;#c=0;#u=!1;#f=new Set;#_=new Set;#d=null;#m=Bc(()=>(this.#d=ln(this.#h),()=>{this.#d=null}));constructor(e,r,a,s){this.#t=e,this.#e=r,this.#i=i=>{var l=dt;l.b=this,l.f|=us,a(i)},this.parent=dt.b,this.transform_error=s??this.parent?.transform_error??(i=>i),this.#n=Ma(()=>{this.#b()},Mc)}#w(){try{this.#o=qe(()=>this.#i(this.#t))}catch(e){this.error(e)}}#y(e){const r=this.#e.failed;r&&(this.#l=qe(()=>{r(this.#t,()=>e,()=>()=>{})}))}#k(){const e=this.#e.pending;e&&(this.is_pending=!0,this.#r=qe(()=>e(this.#t)),qr(()=>{var r=this.#a=document.createDocumentFragment(),a=Sr();r.append(a),this.#o=this.#g(()=>qe(()=>this.#i(a))),this.#c===0&&(this.#t.before(r),this.#a=null,an(this.#r,()=>{this.#r=null}),this.#v(et))}))}#b(){try{if(this.is_pending=this.has_pending_snippet(),this.#c=0,this.#h=0,this.#o=qe(()=>{this.#i(this.#t)}),this.#c>0){var e=this.#a=document.createDocumentFragment();Ns(this.#o,e);const r=this.#e.pending;this.#r=qe(()=>r(this.#t))}else this.#v(et)}catch(r){this.error(r)}}#v(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#_)}defer_effect(e){Gi(e,this.#f,this.#_)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#e.pending}#g(e){var r=dt,a=ht,s=Zt;vr(this.#n),Ye(this.#n),Tn(this.#n.ctx);try{return Vr.ensure(),e()}catch(i){return Vi(i),null}finally{vr(r),Ye(a),Tn(s)}}#p(e,r){if(!this.has_pending_snippet()){this.parent&&this.parent.#p(e,r);return}this.#c+=e,this.#c===0&&(this.#v(r),this.#r&&an(this.#r,()=>{this.#r=null}),this.#a&&(this.#t.before(this.#a),this.#a=null))}update_pending_count(e,r){this.#p(e,r),this.#h+=e,!(!this.#d||this.#u)&&(this.#u=!0,qr(()=>{this.#u=!1,this.#d&&In(this.#d,this.#h)}))}get_effect_pending(){return this.#m(),n(this.#d)}error(e){if(!this.#e.onerror&&!this.#e.failed)throw e;et?.is_fork?(this.#o&&et.skip_effect(this.#o),this.#r&&et.skip_effect(this.#r),this.#l&&et.skip_effect(this.#l),et.oncommit(()=>{this.#x(e)})):this.#x(e)}#x(e){this.#o&&(Ee(this.#o),this.#o=null),this.#r&&(Ee(this.#r),this.#r=null),this.#l&&(Ee(this.#l),this.#l=null);var r=this.#e.onerror;let a=this.#e.failed;var s=!1,i=!1;const l=()=>{if(s){Tc();return}s=!0,i&&dc(),this.#l!==null&&an(this.#l,()=>{this.#l=null}),this.#g(()=>{this.#b()})},c=u=>{try{i=!0,r?.(u,l),i=!1}catch(f){zr(f,this.#n&&this.#n.parent)}a&&(this.#l=this.#g(()=>{try{return qe(()=>{var f=dt;f.b=this,f.f|=us,a(this.#t,()=>u,()=>l)})}catch(f){return zr(f,this.#n.parent),null}}))};qr(()=>{var u;try{u=this.transform_error(e)}catch(f){zr(f,this.#n&&this.#n.parent);return}u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(c,f=>zr(f,this.#n&&this.#n.parent)):c(u)})}}function Wc(t,e,r,a){const s=Rn()?Xn:Ts;var i=t.filter(v=>!v.settled),l=e.map(s);if(r.length===0&&i.length===0){a(l);return}var c=dt,u=Dc(),f=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(v=>v.promise)):null;function b(v){if((c.f&Oe)===0){u();try{a([...l,...v])}catch(y){zr(y,c)}Sa()}}var p=Zi();if(r.length===0){f.then(()=>b([])).finally(p);return}function w(){Promise.all(r.map(v=>Fc(v))).then(b).catch(v=>zr(v,c)).finally(p)}f?f.then(()=>{u(),w(),Sa()}):w()}function Dc(){var t=dt,e=ht,r=Zt,a=et;return function(i=!0){vr(t),Ye(e),Tn(r),i&&(t.f&Oe)===0&&(a?.activate(),a?.apply())}}function Sa(t=!0){vr(null),Ye(null),Tn(null),t&&et?.deactivate()}function Zi(){var t=dt,e=t.b,r=et,a=!!e?.is_rendered();return e?.update_pending_count(1,r),r.increment(a,t),()=>{e?.update_pending_count(-1,r),r.decrement(a,t)}}function Xn(t){var e=ae|Yt;return dt!==null&&(dt.f|=On),{ctx:Zt,deps:null,effects:null,equals:ji,f:e,fn:t,reactions:null,rv:0,v:Qt,wv:0,parent:dt,ac:null}}const qn=Symbol("obsolete");function Fc(t,e,r){let a=dt;a===null&&ec();var s=void 0,i=ln(Qt),l=!ht,c=new Set;return eu(()=>{var u=dt,f=Wi();s=f.promise;try{Promise.resolve(t()).then(f.resolve,v=>{v!==$n&&f.reject(v)}).finally(Sa)}catch(v){f.reject(v),Sa()}var b=et;if(l){if((u.f&Cn)!==0)var p=Zi();if(a.b?.is_rendered())b.async_deriveds.get(u)?.reject(qn);else for(const v of c.values())v.reject(qn);c.add(f),b.async_deriveds.set(u,f)}const w=(v,y=void 0)=>{p?.(),c.delete(f),y!==qn&&(b.activate(),y?(i.f|=jr,In(i,y)):((i.f&jr)!==0&&(i.f^=jr),In(i,v)),b.deactivate())};f.promise.then(w,v=>w(null,v||"unknown"))}),Os(()=>{for(const u of c)u.reject(qn)}),new Promise(u=>{function f(b){function p(){b===s?u(i):f(s)}b.then(p,p)}f(s)})}function X(t){const e=Xn(t);return vo(e),e}function Ts(t){const e=Xn(t);return e.equals=qi,e}function zc(t){var e=t.effects;if(e!==null){t.effects=null;for(var r=0;r<e.length;r+=1)Ee(e[r])}}function Is(t){var e,r=dt,a=t.parent;if(!Lr&&a!==null&&t.v!==Qt&&(a.f&(Oe|_e))!==0)return Ec(),t.v;vr(a);try{t.f&=~on,zc(t),e=wo(t)}finally{vr(r)}return e}function Ki(t){var e=Is(t);if(!t.equals(e)&&(t.wv=po(),(!et?.is_fork||t.deps===null)&&(et!==null?(et.capture(t,e,!0),ps?.capture(t,e,!0)):t.v=e,t.deps===null))){Dt(t,Jt);return}Lr||(er!==null?(Cs()||et?.is_fork)&&er.set(t,e):Es(t))}function jc(t){if(t.effects!==null)for(const e of t.effects)(e.teardown||e.ac)&&(e.teardown?.(),e.ac!==null&&Nn(()=>{e.ac.abort($n),e.ac=null}),e.fn!==null&&(e.teardown=Kl),Qn(e,0),Rs(e))}function Xi(t){if(t.effects!==null)for(const e of t.effects)e.teardown&&e.fn!==null&&An(e)}let es=null,_n=null,et=null,ps=null,er=null,_s=null,Yn=!1,rs=!1,bn=null,ba=null;var di=0;let qc=1;class Vr{id=qc++;#t=!1;linked=!0;#s=null;#e=null;async_deriveds=new Map;current=new Map;previous=new Map;#i=new Set;#n=new Set;#o=0;#r=new Map;#l=null;#a=[];#h=[];#c=new Set;#u=new Set;#f=new Map;#_=new Set;is_fork=!1;#d=!1;constructor(){_n===null?es=_n=this:(_n.#e=this,this.#s=_n),_n=this}#m(){if(this.is_fork)return!0;for(const a of this.#r.keys()){for(var e=a,r=!1;e.parent!==null;){if(this.#f.has(e)){r=!0;break}e=e.parent}if(!r)return!0}return!1}skip_effect(e){this.#f.has(e)||this.#f.set(e,{d:[],m:[]}),this.#_.delete(e)}unskip_effect(e,r=a=>this.schedule(a)){var a=this.#f.get(e);if(a){this.#f.delete(e);for(var s of a.d)Dt(s,Yt),r(s);for(s of a.m)Dt(s,ar),r(s)}this.#_.add(e)}#w(){this.#t=!0,di++>1e3&&(this.#p(),Vc());for(const u of this.#c)this.#u.delete(u),Dt(u,Yt),this.schedule(u);for(const u of this.#u)Dt(u,ar),this.schedule(u);const e=this.#a;this.#a=[],this.apply();var r=bn=[],a=[],s=ba=[];for(const u of e)try{this.#y(u,r,a)}catch(f){throw $i(u),this.#m()||this.discard(),f}if(et=null,s.length>0){var i=Vr.ensure();for(const u of s)i.schedule(u)}if(bn=null,ba=null,this.#m()){this.#v(a),this.#v(r);for(const[u,f]of this.#f)Ji(u,f);s.length>0&&et.#w();return}const l=this.#k();if(l){this.#v(a),this.#v(r),l.#b(this);return}this.#c.clear(),this.#u.clear();for(const u of this.#i)u(this);this.#i.clear(),ps=this,fi(a),fi(r),ps=null,this.#l?.resolve();var c=et;if(this.#o===0&&(this.#a.length===0||c!==null)&&this.#p(),this.#a.length>0)if(c!==null){const u=c;u.#a.push(...this.#a.filter(f=>!u.#a.includes(f)))}else c=this;c!==null&&c.#w()}#y(e,r,a){e.f^=Jt;for(var s=e.first;s!==null;){var i=s.f,l=(i&(Ve|Ir))!==0,c=l&&(i&Jt)!==0,u=c||(i&_e)!==0||this.#f.has(s);if(!u&&s.fn!==null){l?s.f^=Jt:(i&En)!==0?r.push(s):ra(s)&&((i&tr)!==0&&this.#u.add(s),An(s));var f=s.first;if(f!==null){s=f;continue}}for(;s!==null;){var b=s.next;if(b!==null){s=b;break}s=s.parent}}}#k(){for(var e=this.#s;e!==null;){if(!e.is_fork){for(const[r,[,a]]of this.current)if(e.current.has(r)&&!a)return e}e=e.#s}return null}#b(e){for(const[a,s]of e.current)!this.previous.has(a)&&e.previous.has(a)&&this.previous.set(a,e.previous.get(a)),this.current.set(a,s);for(const[a,s]of e.async_deriveds){const i=this.async_deriveds.get(a);i&&s.promise.then(i.resolve).catch(i.reject)}e.async_deriveds.clear(),this.transfer_effects(e.#c,e.#u);const r=a=>{var s=a.reactions;if(s!==null&&!((a.f&ae)!==0&&(a.f&(Yt|ar))===0))for(const c of s){var i=c.f;if((i&ae)!==0)r(c);else{var l=c;i&(kn|tr)&&!this.async_deriveds.has(l)&&(this.#u.delete(l),Dt(l,Yt),this.schedule(l))}}};for(const a of this.current.keys())r(a);this.oncommit(()=>e.discard()),e.#p(),et=this,this.#w()}#v(e){for(var r=0;r<e.length;r+=1)Gi(e[r],this.#c,this.#u)}capture(e,r,a=!1){e.v!==Qt&&!this.previous.has(e)&&this.previous.set(e,e.v),(e.f&jr)===0&&(this.current.set(e,[r,a]),er?.set(e,r)),this.is_fork||(e.v=r)}activate(){et=this}deactivate(){et=null,er=null}flush(){try{rs=!0,et=this,this.#w()}finally{di=0,_s=null,bn=null,ba=null,rs=!1,et=null,er=null,nn.clear()}}discard(){for(const e of this.#n)e(this);this.#n.clear();for(const e of this.async_deriveds.values())e.reject(qn);this.#p(),this.#l?.resolve()}register_created_effect(e){this.#h.push(e)}#g(){for(let p=es;p!==null;p=p.#e){var e=p.id<this.id,r=[];for(const[w,[v,y]]of this.current){if(p.current.has(w)){var a=p.current.get(w)[0];if(e&&v!==a)p.current.set(w,[v,y]);else continue}r.push(w)}if(e)for(const[w,v]of this.async_deriveds){const y=p.async_deriveds.get(w);y&&v.promise.then(y.resolve).catch(y.reject)}var s=[...p.current.keys()].filter(w=>!p.current.get(w)[1]);if(!(!p.#t||s.length===0)){var i=s.filter(w=>!this.current.has(w));if(i.length===0)e&&p.discard();else if(r.length>0){if(e)for(const w of this.#_)p.unskip_effect(w,v=>{(v.f&(tr|kn))!==0?p.schedule(v):p.#v([v])});p.activate();var l=new Set,c=new Map;for(var u of r)Qi(u,i,l,c);c=new Map;var f=[...p.current].filter(([w,v])=>{const y=this.current.get(w);return y?y[0]!==v[0]||y[1]!==v[1]:!0}).map(([w])=>w);if(f.length>0)for(const w of this.#h)(w.f&(Oe|_e|xa))===0&&Ls(w,f,c)&&((w.f&(kn|tr))!==0?(Dt(w,Yt),p.schedule(w)):p.#c.add(w));if(p.#a.length>0&&!p.#d){p.apply();for(var b of p.#a)p.#y(b,[],[]);p.#a=[]}p.deactivate()}}}}increment(e,r){if(this.#o+=1,e){let a=this.#r.get(r)??0;this.#r.set(r,a+1)}}decrement(e,r){if(this.#o-=1,e){let a=this.#r.get(r)??0;a===1?this.#r.delete(r):this.#r.set(r,a-1)}this.#d||(this.#d=!0,qr(()=>{this.#d=!1,this.linked&&this.flush()}))}transfer_effects(e,r){for(const a of e)this.#c.add(a);for(const a of r)this.#u.add(a);e.clear(),r.clear()}oncommit(e){this.#i.add(e)}ondiscard(e){this.#n.add(e)}settled(){return(this.#l??=Wi()).promise}static ensure(){if(et===null){const e=et=new Vr;!rs&&!Yn&&qr(()=>{e.#t||e.flush()})}return et}apply(){{er=null;return}}schedule(e){if(_s=e,e.b?.is_pending&&(e.f&(En|Na|Di))!==0&&(e.f&Cn)===0){e.b.defer_effect(e);return}for(var r=e;r.parent!==null;){r=r.parent;var a=r.f;if(bn!==null&&r===dt&&(ht===null||(ht.f&ae)===0))return;if((a&(Ir|Ve))!==0){if((a&Jt)===0)return;r.f^=Jt}}this.#a.push(r)}#p(){if(this.linked){var e=this.#s,r=this.#e;e===null?es=r:e.#e=r,r===null?_n=e:r.#s=e,this.linked=!1}}}function Uc(t){var e=Yn;Yn=!0;try{for(var r;;){if(Cc(),et===null)return r;et.flush()}}finally{Yn=e}}function Vc(){try{ic()}catch(t){zr(t,_s)}}let xr=null;function fi(t){var e=t.length;if(e!==0){for(var r=0;r<e;){var a=t[r++];if((a.f&(Oe|_e))===0&&ra(a)&&(xr=new Set,An(a),a.deps===null&&a.first===null&&a.nodes===null&&a.teardown===null&&a.ac===null&&co(a),xr?.size>0)){nn.clear();for(const s of xr){if((s.f&(Oe|_e))!==0)continue;const i=[s];let l=s.parent;for(;l!==null;)xr.has(l)&&(xr.delete(l),i.push(l)),l=l.parent;for(let c=i.length-1;c>=0;c--){const u=i[c];(u.f&(Oe|_e))===0&&An(u)}}xr.clear()}}xr=null}}function Qi(t,e,r,a){if(!r.has(t)&&(r.add(t),t.reactions!==null))for(const s of t.reactions){const i=s.f;(i&ae)!==0?Qi(s,e,r,a):(i&(kn|tr))!==0&&(i&Yt)===0&&Ls(s,e,a)&&(Dt(s,Yt),As(s))}}function Ls(t,e,r){const a=r.get(t);if(a!==void 0)return a;if(t.deps!==null)for(const s of t.deps){if(ka.call(e,s))return!0;if((s.f&ae)!==0&&Ls(s,e,r))return r.set(s,!0),!0}return r.set(t,!1),!1}function As(t){et.schedule(t)}function Ji(t,e){if(!((t.f&Ve)!==0&&(t.f&Jt)!==0)){(t.f&Yt)!==0?e.d.push(t):(t.f&ar)!==0&&e.m.push(t),Dt(t,Jt);for(var r=t.first;r!==null;)Ji(r,e),r=r.next}}function $i(t){Dt(t,Jt);for(var e=t.first;e!==null;)$i(e),e=e.next}let Ta=new Set;const nn=new Map;let to=!1;function ln(t,e){var r={f:0,v:t,reactions:null,equals:ji,rv:0,wv:0};return r}function A(t,e){const r=ln(t);return vo(r),r}function Yc(t,e=!1,r=!0){const a=ln(t);return e||(a.equals=qi),ta&&r&&Zt!==null&&Zt.l!==null&&(Zt.l.s??=[]).push(a),a}function m(t,e,r=!1){ht!==null&&(!rr||(ht.f&xa)!==0)&&Rn()&&(ht.f&(ae|tr|kn|xa))!==0&&(ur===null||!ur.has(t))&&uc();let a=r?zt(e):e;return In(t,a,ba)}function In(t,e,r=null){if(!t.equals(e)){nn.set(t,Lr?e:t.v);var a=Vr.ensure();if(a.capture(t,e),(t.f&ae)!==0){const s=t;(t.f&Yt)!==0&&Is(s),er===null&&Es(s)}t.wv=po(),eo(t,Yt,r),Rn()&&dt!==null&&(dt.f&Jt)!==0&&(dt.f&(Ve|Ir))===0&&(je===null?au([t]):je.push(t)),!a.is_fork&&Ta.size>0&&!to&&Gc()}return e}function Gc(){to=!1;for(const t of Ta){(t.f&Jt)!==0&&Dt(t,ar);let e;try{e=ra(t)}catch{e=!0}e&&An(t)}Ta.clear()}function Gn(t){m(t,t.v+1)}function eo(t,e,r){var a=t.reactions;if(a!==null)for(var s=Rn(),i=a.length,l=0;l<i;l++){var c=a[l],u=c.f;if(!(!s&&c===dt)){var f=(u&Yt)===0;if(f&&Dt(c,e),(u&xa)!==0)Ta.add(c);else if((u&ae)!==0){var b=c;er?.delete(b),(u&on)===0&&(u&Ue&&(dt===null||(dt.f&Ea)===0)&&(c.f|=on),eo(b,ar,r))}else if(f){var p=c;(u&tr)!==0&&xr!==null&&xr.add(p),r!==null?r.push(p):As(p)}}}}function zt(t){if(typeof t!="object"||t===null||rn in t)return t;const e=Pi(t);if(e!==Gl&&e!==Zl)return t;var r=new Map,a=xs(t),s=A(0),i=sn,l=c=>{if(sn===i)return c();var u=ht,f=sn;Ye(null),_i(i);var b=c();return Ye(u),_i(f),b};return a&&r.set("length",A(t.length)),new Proxy(t,{defineProperty(c,u,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&lc();var b=r.get(u);return b===void 0?l(()=>{var p=A(f.value);return r.set(u,p),p}):m(b,f.value,!0),!0},deleteProperty(c,u){var f=r.get(u);if(f===void 0){if(u in c){const b=l(()=>A(Qt));r.set(u,b),Gn(s)}}else m(f,Qt),Gn(s);return!0},get(c,u,f){if(u===rn)return t;var b=r.get(u),p=u in c;if(b===void 0&&(!p||yn(c,u)?.writable)&&(b=l(()=>{var v=zt(p?c[u]:Qt),y=A(v);return y}),r.set(u,b)),b!==void 0){var w=n(b);return w===Qt?void 0:w}return Reflect.get(c,u,f)},getOwnPropertyDescriptor(c,u){var f=Reflect.getOwnPropertyDescriptor(c,u);if(f&&"value"in f){var b=r.get(u);b&&(f.value=n(b))}else if(f===void 0){var p=r.get(u),w=p?.v;if(p!==void 0&&w!==Qt)return{enumerable:!0,configurable:!0,value:w,writable:!0}}return f},has(c,u){if(u===rn)return!0;var f=r.get(u),b=f!==void 0&&f.v!==Qt||Reflect.has(c,u);if(f!==void 0||dt!==null&&(!b||yn(c,u)?.writable)){f===void 0&&(f=l(()=>{var w=b?zt(c[u]):Qt,v=A(w);return v}),r.set(u,f));var p=n(f);if(p===Qt)return!1}return b},set(c,u,f,b){var p=r.get(u),w=u in c;if(a&&u==="length")for(var v=f;v<p.v;v+=1){var y=r.get(v+"");y!==void 0?m(y,Qt):v in c&&(y=l(()=>A(Qt)),r.set(v+"",y))}if(p===void 0)(!w||yn(c,u)?.writable)&&(p=l(()=>A(void 0)),m(p,zt(f)),r.set(u,p));else{w=p.v!==Qt;var I=l(()=>zt(f));m(p,I)}var k=Reflect.getOwnPropertyDescriptor(c,u);if(k?.set&&k.set.call(b,f),!w){if(a&&typeof u=="string"){var R=r.get("length"),Y=Number(u);Number.isInteger(Y)&&Y>=R.v&&m(R,Y+1)}Gn(s)}return!0},ownKeys(c){n(s);var u=Reflect.ownKeys(c).filter(p=>{var w=r.get(p);return w===void 0||w.v!==Qt});for(var[f,b]of r)b.v!==Qt&&!(f in c)&&u.push(f);return u},setPrototypeOf(){cc()}})}function vi(t){try{if(t!==null&&typeof t=="object"&&rn in t)return t[rn]}catch{}return t}function Zc(t,e){return Object.is(vi(t),vi(e))}var hi,ro,no,ao;function Kc(){if(hi===void 0){hi=window,ro=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,r=Text.prototype;no=yn(e,"firstChild").get,ao=yn(e,"nextSibling").get,ci(t)&&(t[fs]=void 0,t[Fi]=null,t[vs]=void 0,t.__e=void 0),ci(r)&&(r[hs]=void 0)}}function Sr(t=""){return document.createTextNode(t)}function Ln(t){return no.call(t)}function ea(t){return ao.call(t)}function o(t,e){return Ln(t)}function lt(t,e=!1){{var r=Ln(t);return r instanceof Comment&&r.data===""?ea(r):r}}function d(t,e=1,r=!1){let a=t;for(;e--;)a=ea(a);return a}function Xc(t){t.textContent=""}function so(){return!1}function Qc(t,e,r){return r?document.createElement(t,{is:r}):document.createElement(t)}function Jc(t){dt===null&&(ht===null&&sc(),ac()),Lr&&nc()}function $c(t,e){var r=e.last;r===null?e.last=e.first=t:(r.next=t,t.prev=r,e.last=t)}function Ar(t,e){var r=dt;r!==null&&(r.f&_e)!==0&&(t|=_e);var a={ctx:Zt,deps:null,nodes:null,f:t|Yt|Ue,first:null,fn:e,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};et?.register_created_effect(a);var s=a;if((t&En)!==0)bn!==null?bn.push(a):Vr.ensure().schedule(a);else if(e!==null){try{An(a)}catch(l){throw Ee(a),l}s.deps===null&&s.teardown===null&&s.nodes===null&&s.first===s.last&&(s.f&On)===0&&(s=s.first,(t&tr)!==0&&(t&Sn)!==0&&s!==null&&(s.f|=Sn))}if(s!==null&&(s.parent=r,r!==null&&$c(s,r),ht!==null&&(ht.f&ae)!==0&&(t&Ir)===0)){var i=ht;(i.effects??=[]).push(s)}return a}function Cs(){return ht!==null&&!rr}function Os(t){const e=Ar(Na,null);return Dt(e,Jt),e.teardown=t,e}function ue(t){Jc();var e=dt.f,r=!ht&&(e&Ve)!==0&&Zt!==null&&!Zt.i;if(r){var a=Zt;(a.e??=[]).push(t)}else return io(t)}function io(t){return Ar(En|Jl,t)}function tu(t){Vr.ensure();const e=Ar(Ir|On,t);return(r={})=>new Promise(a=>{r.outro?an(e,()=>{Ee(e),a(void 0)}):(Ee(e),a(void 0))})}function oo(t){return Ar(En,t)}function eu(t){return Ar(kn|On,t)}function Ba(t,e=0){return Ar(Na|e,t)}function E(t,e=[],r=[],a=[]){Wc(a,e,r,s=>{Ar(Na,()=>{t(...s.map(n))})})}function Ma(t,e=0){var r=Ar(tr|e,t);return r}function qe(t){return Ar(Ve|On,t)}function lo(t){var e=t.teardown;if(e!==null){const r=Lr,a=ht;pi(!0),Ye(null);try{e.call(null)}finally{pi(r),Ye