"use strict";(globalThis.webpackChunk_affine_web=globalThis.webpackChunk_affine_web||[]).push([[861],{86552:(t,e,r)=>{r.d(e,{HT:()=>o,HV:()=>s,S2:()=>n,Tj:()=>h,cy:()=>l,zN:()=>i});let s=t=>t[t.length-1],n=(t,e)=>{for(let r=0;r{for(let r=0;r{let r=Array(t.length);for(let s=0;s{r.d(e,{CW:()=>b,D1:()=>o,D7:()=>h,Dk:()=>s,KD:()=>n,KJ:()=>l,P1:()=>f,V7:()=>u,WD:()=>d,WY:()=>a,vZ:()=>g,wn:()=>i,wt:()=>c,yK:()=>p});let s=1,n=2,o=4,i=8,l=32,h=64,c=128,u=536870912,a=31,f=63,d=127,p=2097151,g=2147483647,b=4294967295},3531:(t,e,r)=>{r.d(e,{HR:()=>h,U5:()=>l}),r(66816);var s=r(36645),n=r(86552);let o=t=>new Uint8Array(t),i=(t,e,r)=>new Uint8Array(t,e,r);s.Bd||(t=>Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("base64")),s.Bd||(t=>{let e=Buffer.from(t,"base64");return i(e.buffer,e.byteOffset,e.byteLength)});let l=t=>n.Tj(t,t=>t.toString(16).padStart(2,"0")).join(""),h=t=>{let e=o(t.byteLength);return e.set(t),e}},86348:(t,e,r)=>{r.d(e,{$C:()=>a,Ib:()=>T,Jg:()=>A,VQ:()=>E,bo:()=>p,cQ:()=>m,cw:()=>b,t3:()=>y,xK:()=>U,xh:()=>g});var s=r(98376),n=r(70655),o=r(72692),i=r(66816),l=r(27211);let h=l.vt("Unexpected end of array"),c=l.vt("Integer out of Range");class u{constructor(t){this.arr=t,this.pos=0}}let a=t=>new u(t),f=t=>t.pos!==t.arr.length,d=(t,e)=>{let r=new Uint8Array(t.arr.buffer,t.pos+t.arr.byteOffset,e);return t.pos+=e,r},p=t=>d(t,b(t)),g=t=>t.arr[t.pos++],b=t=>{let e=0,r=1,n=t.arr.length;for(;t.poso.Is)throw c}throw h},w=t=>{let e=t.arr[t.pos++],r=e&s.P1,n=64,i=(e&s.D7)>0?-1:1;if((e&s.wt)==0)return i*r;let l=t.arr.length;for(;t.poso.Is)throw c}throw h},y=i.tv?t=>i.tv.decode(p(t)):t=>{let e=b(t);if(0===e)return"";{let r=String.fromCodePoint(g(t));if(--e<100)for(;e--;)r+=String.fromCodePoint(g(t));else for(;e>0;){let s=e<1e4?e:1e4,n=t.arr.subarray(t.pos,t.pos+s);t.pos+=s,r+=String.fromCodePoint.apply(null,n),e-=s}return decodeURIComponent(escape(r))}},v=(t,e)=>{let r=new DataView(t.arr.buffer,t.arr.byteOffset+t.pos,e);return t.pos+=e,r},_=[t=>void 0,t=>null,w,t=>v(t,4).getFloat32(0,!1),t=>v(t,8).getFloat64(0,!1),t=>v(t,8).getBigInt64(0,!1),t=>!1,t=>!0,y,t=>{let e=b(t),r={};for(let s=0;s{let e=b(t),r=[];for(let s=0;s_[127-g(t)](t);class m extends u{constructor(t,e){super(t),this.reader=e,this.s=null,this.count=0}read(){return 0===this.count&&(this.s=this.reader(this),f(this)?this.count=b(this)+1:this.count=-1),this.count--,this.s}}class E extends u{constructor(t){super(t),this.s=0,this.count=0}read(){if(0===this.count){this.s=w(this);let t=n.sj(this.s);this.count=1,t&&(this.s=-this.s,this.count=b(this)+2)}return this.count--,this.s}}class U extends u{constructor(t){super(t),this.s=0,this.count=0,this.diff=0}read(){if(0===this.count){let t=w(this);this.diff=n.RI(t/2),this.count=1,1&t&&(this.count=b(this)+2)}return this.s+=this.diff,this.count--,this.s}}class T{constructor(t){this.decoder=new E(t),this.str=y(this.decoder),this.spos=0}read(){let t=this.spos+this.decoder.read(),e=this.str.slice(this.spos,t);return this.spos=t,e}}},57632:(t,e,r)=>{r.d(e,{D$:()=>C,FA:()=>W,Fo:()=>a,Gu:()=>A,IO:()=>N,LH:()=>_,QJ:()=>p,Qj:()=>v,Sw:()=>M,cq:()=>I,xv:()=>c,zd:()=>g});var s=r(70655),n=r(72692),o=r(98376),i=r(66816),l=r(86552);class h{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}}let c=()=>new h,u=t=>{let e=t.cpos;for(let r=0;r{let e=new Uint8Array(u(t)),r=0;for(let s=0;s{let r=t.cbuf.length;r-t.cpos{let r=t.cbuf.length;t.cpos===r&&(t.bufs.push(t.cbuf),t.cbuf=new Uint8Array(2*r),t.cpos=0),t.cbuf[t.cpos++]=e},p=d,g=(t,e)=>{for(;e>o.WD;)d(t,o.wt|o.WD&e),e=s.RI(e/128);d(t,o.WD&e)},b=(t,e)=>{let r=s.sj(e);for(r&&(e=-e),d(t,(e>o.P1?o.wt:0)|(r?o.D7:0)|o.P1&e),e=s.RI(e/64);e>0;)d(t,(e>o.WD?o.wt:0)|o.WD&e),e=s.RI(e/128)},w=new Uint8Array(3e4),y=w.length/3,v=i.db&&i.db.encodeInto?(t,e)=>{if(e.length{let r=unescape(encodeURIComponent(e)),s=r.length;g(t,s);for(let e=0;e{let r=t.cbuf.length,n=t.cpos,o=s.jk(r-n,e.length),i=e.length-o;t.cbuf.set(e.subarray(0,o),n),t.cpos+=o,i>0&&(t.bufs.push(t.cbuf),t.cbuf=new Uint8Array(s.T9(2*r,i)),t.cbuf.set(e.subarray(o)),t.cpos=i)},A=(t,e)=>{g(t,e.byteLength),_(t,e)},m=(t,e)=>{f(t,e);let r=new DataView(t.cbuf.buffer,t.cpos,e);return t.cpos+=e,r},E=(t,e)=>m(t,4).setFloat32(0,e,!1),U=(t,e)=>m(t,8).setFloat64(0,e,!1),T=(t,e)=>m(t,8).setBigInt64(0,e,!1),D=new DataView(new ArrayBuffer(4)),O=t=>(D.setFloat32(0,t),D.getFloat32(0)===t),N=(t,e)=>{switch(typeof e){case"string":d(t,119),v(t,e);break;case"number":n.Fq(e)&&s.tn(e)<=o.vZ?(d(t,125),b(t,e)):O(e)?(d(t,124),E(t,e)):(d(t,123),U(t,e));break;case"bigint":d(t,122),T(t,e);break;case"object":if(null===e)d(t,126);else if(l.cy(e)){d(t,117),g(t,e.length);for(let r=0;r0&&g(this,this.count-1),this.count=1,this.w(this,t),this.s=t)}}let j=t=>{t.count>0&&(b(t.encoder,1===t.count?t.s:-t.s),t.count>1&&g(t.encoder,t.count-2))};class C{constructor(){this.encoder=new h,this.s=0,this.count=0}write(t){this.s===t?this.count++:(j(this),this.count=1,this.s=t)}toUint8Array(){return j(this),a(this.encoder)}}let S=t=>{if(t.count>0){let e=2*t.diff+(1===t.count?0:1);b(t.encoder,e),t.count>1&&g(t.encoder,t.count-2)}};class W{constructor(){this.encoder=new h,this.s=0,this.count=0,this.diff=0}write(t){this.diff===t-this.s?(this.s=t,this.count++):(S(this),this.count=1,this.diff=t-this.s,this.s=t)}toUint8Array(){return S(this),a(this.encoder)}}class M{constructor(){this.sarr=[],this.s="",this.lensE=new C}write(t){this.s+=t,this.s.length>19&&(this.sarr.push(this.s),this.s=""),this.lensE.write(t.length)}toUint8Array(){let t=new h;return this.sarr.push(this.s),this.s="",v(t,this.sarr.join("")),_(t,this.lensE.toUint8Array()),a(t)}}},36645:(t,e,r)=>{let s;r.d(e,{Bd:()=>a,WI:()=>w});var n=r(17915),o=r(66816);let i=t=>void 0===t?null:t,l=new class{constructor(){this.map=new Map}setItem(t,e){this.map.set(t,e)}getItem(t){return this.map.get(t)}};try{"undefined"!=typeof localStorage&&localStorage&&(l=localStorage)}catch(t){}let h=l;var c=r(86761);let u="undefined"!=typeof process&&process.release&&/node|io\.js/.test(process.release.name)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0),a="undefined"!=typeof window&&"undefined"!=typeof document&&!u;"undefined"!=typeof navigator&&/Mac/.test(navigator.platform);let f=[],d=()=>{if(void 0===s){if(u){s=n.vt();let t=process.argv,e=null;for(let r=0;r{if(0!==t.length){let[e,r]=t.split("=");s.set(`--${o.jN(e,"-")}`,r),s.set(`-${o.jN(e,"-")}`,r)}})):s=n.vt()}return s},p=t=>d().has(t),g=t=>u?i(process.env[t.toUpperCase().replaceAll("-","_")]):i(h.getItem(t)),b=t=>p("--"+t)||null!==g(t);b("production");let w=u&&c.EK(process.env.FORCE_COLOR,["true","1","2"])||!p("--no-colors")&&!b("no-color")&&(!u||process.stdout.isTTY)&&(!u||p("--color")||null!==g("COLORTERM")||(g("TERM")||"").includes("color"))},27211:(t,e,r)=>{r.d(e,{Mq:()=>o,bD:()=>n,vt:()=>s});let s=t=>Error(t),n=()=>{throw s("Method unimplemented")},o=()=>{throw s("Unexpected case")}},86761:(t,e,r)=>{r.d(e,{EK:()=>o,OK:()=>n});var s=r(86552);let n=(t,e,r=0)=>{try{for(;re.includes(t);s.cy},30827:(t,e,r)=>{r.d(e,{b:()=>f});var s=r(98376);let n=(t,e)=>t>>>e|t<<32-e,o=t=>n(t,2)^n(t,13)^n(t,22),i=t=>n(t,6)^n(t,11)^n(t,25),l=t=>n(t,7)^n(t,18)^t>>>3,h=t=>n(t,17)^n(t,19)^t>>>10,c=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),u=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]);class a{constructor(){let t=new ArrayBuffer(320);this._H=new Uint32Array(t,0,8),this._H.set(u),this._W=new Uint32Array(t,64,64)}_updateHash(){let t=this._H,e=this._W;for(let t=16;t<64;t++)e[t]=h(e[t-2])+e[t-7]+l(e[t-15])+e[t-16];let r=t[0],s=t[1],n=t[2],u=t[3],a=t[4],f=t[5],d=t[6],p=t[7];for(let t=0,l,h;t<64;t++)l=p+i(a)+(a&f^~a&d)+c[t]+e[t]>>>0,h=o(r)+(r&s^r&n^s&n)>>>0,p=d,d=f,f=a,a=u+l>>>0,u=n,n=s,s=r,r=l+h>>>0;t[0]+=r,t[1]+=s,t[2]+=n,t[3]+=u,t[4]+=a,t[5]+=f,t[6]+=d,t[7]+=p}digest(t){let e=0;for(;e+56<=t.length;){let r=0;for(;r<16&&e+3=0&&e>>(3-e)*8;return o}}let f=t=>new a().digest(t)},20847:(t,e,r)=>{r.d(e,{$5:()=>n,n:()=>o});let s=t=>({[Symbol.iterator](){return this},next:t}),n=(t,e)=>s(()=>{let r;do r=t.next();while(!r.done&&!e(r.value))return r}),o=(t,e)=>s(()=>{let{done:r,value:s}=t.next();return{done:r,value:r?void 0:e(s)}})},94368:(t,e,r)=>{r.d(e,{ft:()=>l,Y:()=>o,AV:()=>c,Qu:()=>h,hN:()=>f,hr:()=>a,UH:()=>u,Ny:()=>i,Tx:()=>d,ET:()=>p});let s=Symbol;var n=r(9800);let o=s(),i=s(),l=s(),h=s(),c=s(),u=s(),a=s(),f=s(),d=s(),p=t=>{1===t.length&&t[0]?.constructor===Function&&(t=t[0]());let e=[],r=[],s=0;for(;s0&&r.push(e.join(""));s{r.d(e,{yy:()=>d,R8:()=>p});var s=r(36645),n=r(74357);class o{constructor(t,e){this.left=t,this.right=e}}let i=(t,e)=>new o(t,e);var l=r(17915);let h="undefined"!=typeof document?document:{};"undefined"!=typeof DOMParser&&new DOMParser;let c=t=>l.Tj(t,(t,e)=>`${e}:${t};`).join("");h.ELEMENT_NODE,h.TEXT_NODE,h.CDATA_SECTION_NODE,h.COMMENT_NODE,h.DOCUMENT_NODE,h.DOCUMENT_TYPE_NODE,h.DOCUMENT_FRAGMENT_NODE;var u=r(94368);let a={[u.Y]:i("font-weight","bold"),[u.Ny]:i("font-weight","normal"),[u.ft]:i("color","blue"),[u.AV]:i("color","green"),[u.Qu]:i("color","grey"),[u.UH]:i("color","red"),[u.hr]:i("color","purple"),[u.hN]:i("color","orange"),[u.Tx]:i("color","black")},f=s.WI?t=>{1===t.length&&t[0]?.constructor===Function&&(t=t[0]());let e=[],r=[],s=l.vt(),n=[],o=0;for(;o0||t.length>0?(e.push("%c"+n),r.push(t)):e.push(n)}else break}}for(o>0&&(n=r).unshift(e.join(""));o{console.log(...f(t)),g.forEach(e=>e.print(t))},p=(...t)=>{console.warn(...f(t)),t.unshift(u.hN),g.forEach(e=>e.print(t))},g=n.vt()},17915:(t,e,r)=>{r.d(e,{C:()=>n,Tj:()=>i,_4:()=>o,bz:()=>l,vt:()=>s});let s=()=>new Map,n=t=>{let e=s();return t.forEach((t,r)=>{e.set(r,t)}),e},o=(t,e,r)=>{let s=t.get(e);return void 0===s&&t.set(e,s=r()),s},i=(t,e)=>{let r=[];for(let[s,n]of t)r.push(e(n,s));return r},l=(t,e)=>{for(let[r,s]of t)if(e(s,r))return!0;return!1}},70655:(t,e,r)=>{r.d(e,{RI:()=>s,T9:()=>i,jk:()=>o,sj:()=>l,tn:()=>n});let s=Math.floor,n=Math.abs,o=(t,e)=>tt>e?t:e,l=t=>0!==t?t<0:1/t<0},72692:(t,e,r)=>{r.d(e,{Fq:()=>i,Is:()=>o});var s=r(70655),n=r(98376);let o=Number.MAX_SAFE_INTEGER;Number.MIN_SAFE_INTEGER,n.vZ,n.CW;let i=Number.isInteger||(t=>"number"==typeof t&&isFinite(t)&&s.RI(t)===t);Number.parseInt},58674:(t,e,r)=>{r.d(e,{Im:()=>l,SQ:()=>u,jJ:()=>o,kp:()=>s});let s=Object.assign,n=Object.keys,o=(t,e)=>{for(let r in t)e(t[r],r)},i=t=>n(t).length,l=t=>{for(let e in t)return!1;return!0},h=(t,e)=>{for(let r in t)if(!e(t[r],r))return!1;return!0},c=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),u=(t,e)=>t===e||i(t)===i(e)&&h(t,(t,r)=>(void 0!==t||c(e,r))&&e[r]===t)},79296:(t,e,r)=>{r.d(e,{W:()=>i});var s=r(17915),n=r(74357),o=r(86552);class i{constructor(){this._observers=s.vt()}on(t,e){return s._4(this._observers,t,n.vt).add(e),e}once(t,e){let r=(...s)=>{this.off(t,r),e(...s)};this.on(t,r)}off(t,e){let r=this._observers.get(t);void 0!==r&&(r.delete(e),0===r.size&&this._observers.delete(t))}emit(t,e){return o.HT((this._observers.get(t)||s.vt()).values()).forEach(t=>t(...e))}destroy(){this._observers=s.vt()}}},61632:(t,e,r)=>{r.d(e,{vt:()=>s});let s=t=>new Promise(t);Promise.all.bind(Promise)},47754:(t,e,r)=>{r.d(e,{r5:()=>i,gZ:()=>l});var s=r(98376);crypto.subtle;let n=crypto.getRandomValues.bind(crypto),o=()=>n(new Uint32Array(1))[0],i=()=>{let t=n(new Uint32Array(8));return(t[0]&s.yK)*(s.CW+1)+(t[1]>>>0)},l=()=>"10000000-1000-4000-8000-100000000000".replace(/[018]/g,t=>(t^o()&15>>t/4).toString(16))},74357:(t,e,r)=>{r.d(e,{vt:()=>s});let s=()=>new Set},66816:(t,e,r)=>{r.d(e,{Af:()=>u,QV:()=>s,db:()=>c,jN:()=>h,tv:()=>a});let s=String.fromCharCode;String.fromCodePoint,s(65535);let n=t=>t.toLowerCase(),o=/^\s*/g,i=t=>t.replace(o,""),l=/([A-Z])/g,h=(t,e)=>i(t.replace(l,t=>`${e}${n(t)}`)),c="undefined"!=typeof TextEncoder?new TextEncoder:null,u=c?t=>c.encode(t):t=>{let e=unescape(encodeURIComponent(t)),r=e.length,s=new Uint8Array(r);for(let t=0;t{r.d(e,{_g:()=>s});let s=Date.now}}]); //# sourceMappingURL=chunk.npm-async-lib0.9b0cd4f1.js.map