1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1243],{602:(r,e,t)=>{"use strict";t.d(e,{L:()=>Z,_u:()=>Y});var n=Uint8Array,a=Uint16Array,i=Int32Array,o=new n([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),u=new n([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new n([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),f=function(r,e){for(var t=new a(31),n=0;n<31;++n)t[n]=e+=1<<r[n-1];for(var o=new i(t[30]),n=1;n<30;++n)for(var u=t[n];u<t[n+1];++u)o[u]=u-t[n]<<5|n;return{b:t,r:o}},l=f(o,2),h=l.b,c=l.r;h[28]=258,c[258]=28;for(var b=f(u,0),p=(b.b,b.r),d=new a(32768),m=0;m<32768;++m){var w=(43690&m)>>1|(21845&m)<<1;w=(61680&(w=(52428&w)>>2|(13107&w)<<2))>>4|(3855&w)<<4,d[m]=((65280&w)>>8|(255&w)<<8)>>1}for(var v=function(r,e,t){for(var n,i=r.length,o=0,u=new a(e);o<i;++o)r[o]&&++u[r[o]-1];var s=new a(e);for(o=1;o<e;++o)s[o]=s[o-1]+u[o-1]<<1;if(t){n=new a(1<<e);var f=15-e;for(o=0;o<i;++o)if(r[o])for(var l=o<<4|r[o],h=e-r[o],c=s[r[o]-1]++<<h,b=c|(1<<h)-1;c<=b;++c)n[d[c]>>f]=l}else for(o=0,n=new a(i);o<i;++o)r[o]&&(n[o]=d[s[r[o]-1]++]>>15-r[o]);return n},y=new n(288),m=0;m<144;++m)y[m]=8;for(var m=144;m<256;++m)y[m]=9;for(var m=256;m<280;++m)y[m]=7;for(var m=280;m<288;++m)y[m]=8;for(var g=new n(32),m=0;m<32;++m)g[m]=5;var _=v(y,9,0),E=v(g,5,0),q=function(r){return(r+7)/8|0},k=function(r,e,t){return(null==e||e<0)&&(e=0),(null==t||t>r.length)&&(t=r.length),new n(r.subarray(e,t))}
1,x=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],M=function(r,e,t){var n=Error(e||x[r]);if(n.code=r,Error.captureStackTrace&&Error.captureStackTrace(n,M),!t)throw n;return n},A=function(r,e,t){t<<=7&e;var n=e/8|0;r[n]|=t,r[n+1]|=t>>8},N=function(r,e,t){t<<=7&e;var n=e/8|0;r[n]|=t,r[n+1]|=t>>8,r[n+2]|=t>>16},L=function(r,e){for(var t=[],i=0;i<r.length;++i)r[i]&&t.push({s:i,f:r[i]});var o=t.length,u=t.slice();if(!o)return{t:U,l:0};if(1==o){var s=new n(t[0].s+1);return s[t[0].s]=1,{t:s,l:1}}t.sort(function(r,e){return r.f-e.f}),t.push({s:-1,f:25001});var f=t[0],l=t[1],h=0,c=1,b=2;for(t[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=o-1;)f=t[t[h].f<t[b].f?h++:b++],l=t[h!=c&&t[h].f<t[b].f?h++:b++],t[c++]={s:-1,f:f.f+l.f,l:f,r:l};for(var p=u[0].s,i=1;i<o;++i)u[i].s>p&&(p=u[i].s);var d=new a(p+1),m=T(t[c-1],d,0);if(m>e){var i=0,w=0,v=m-e,y=1<<v;for(u.sort(function(r,e){return d[e.s]-d[r.s]||r.f-e.f});i<o;++i){var g=u[i].s;if(d[g]>e)w+=y-(1<<m-d[g]),d[g]=e;else break}for(w>>=v;w>0;){var _=u[i].s;d[_]<e?w-=1<<e-d[_]++-1:++i}for(;i>=0&&w;--i){var E=u[i].s;d[E]==e&&(--d[E],++w)}m=e}return{t:new n(d),l:m}},T=function(r,e,t){return -1==r.s?Math.max(T(r.l,e,t+1),T(r.r,e,t+1)):e[r.s]=t},R=function(r){for(var e=r.length;e&&!r[--e];);for(var t=new a(++e),n=0,i=r[0],o=1,u=function(r){t[n++]=r},s=1;s<=e;++s)if(r[s]==i&&s!=e)++o;else{if(!i&&o>2){for(;o>138;o-=138)u(32754);o>2&&(u(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(u(i),--o;o>6;o-=6)u(8304);o>2&&(u(o-3<<5|8208),o=0)}for(;o--;)u(i);o=1,i=r[s]}return{c:t.subarray(0,n),n:e}},S=function(r,e){for(var t=0,n=0;n<e.length;++n)t+=r[n]*e[n];return t},O=function(r,e,t){var n=t.length,a=q(e+2);r[a]=255&n,r[a+1]=n>>8,r[a+2]=255^r[a],r[a+3]=255^r[a+1];for(var i=0;i<n;++i)r[a+i+4]=t[i];return(a+4+n)*8},D=function(r,e,t,n,i,f,l,h,c,b,p){A(e,p++,t),++i[256];for(var d,m,w,q,k=L(i,15),x=k.t,M=k.l,T=L(f,15),D=T.t,P=T.l,U=R(x),I=U.
1c,z=U.n,j=R(D),Q=j.c,$=j.n,B=new a(19),W=0;W<I.length;++W)++B[31&I[W]];for(var W=0;W<Q.length;++W)++B[31&Q[W]];for(var F=L(B,7),V=F.t,Y=F.l,C=19;C>4&&!V[s[C-1]];--C);var X=b+5<<3,H=S(i,y)+S(f,g)+l,Z=S(i,x)+S(f,D)+l+14+3*C+S(B,V)+2*B[16]+3*B[17]+7*B[18];if(c>=0&&X<=H&&X<=Z)return O(e,p,r.subarray(c,c+b));if(A(e,p,1+(Z<H)),p+=2,Z<H){d=v(x,M,0),m=x,w=v(D,P,0),q=D;var G=v(V,Y,0);A(e,p,z-257),A(e,p+5,$-1),A(e,p+10,C-4),p+=14;for(var W=0;W<C;++W)A(e,p+3*W,V[s[W]]);p+=3*C;for(var J=[I,Q],K=0;K<2;++K)for(var rr=J[K],W=0;W<rr.length;++W){var re=31&rr[W];A(e,p,G[re]),p+=V[re],re>15&&(A(e,p,rr[W]>>5&127),p+=rr[W]>>12)}}else d=_,m=y,w=E,q=g;for(var W=0;W<h;++W){var rt=n[W];if(rt>255){var re=rt>>18&31;N(e,p,d[re+257]),p+=m[re+257],re>7&&(A(e,p,rt>>23&31),p+=o[re]);var rn=31&rt;N(e,p,w[rn]),p+=q[rn],rn>3&&(N(e,p,rt>>5&8191),p+=u[rn])}else N(e,p,d[rt]),p+=m[rt]}return N(e,p,d[256]),p+m[256]},P=new i([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),U=new n(0),I=function(r,e,t,s,f,l){var h=l.z||r.length,b=new n(s+h+5*(1+Math.ceil(h/7e3))+f),d=b.subarray(s,b.length-f),m=l.l,w=7&(l.r||0);if(e){w&&(d[0]=l.r>>3);for(var v=P[e-1],y=v>>13,g=8191&v,_=(1<<t)-1,E=l.p||new a(32768),x=l.h||new a(_+1),M=Math.ceil(t/3),A=2*M,N=function(e){return(r[e]^r[e+1]<<M^r[e+2]<<A)&_},L=new i(25e3),T=new a(288),R=new a(32),S=0,U=0,I=l.i||0,z=0,j=l.w||0,Q=0;I+2<h;++I){var $=N(I),B=32767&I,W=x[$];if(E[B]=W,x[$]=B,j<=I){var F=h-I;if((S>7e3||z>24576)&&(F>423||!m)){w=D(r,d,0,L,T,R,U,z,Q,I-Q,w),z=S=U=0,Q=I;for(var V=0;V<286;++V)T[V]=0;for(var V=0;V<30;++V)R[V]=0}var Y=2,C=0,X=g,H=B-W&32767;if(F>2&&$==N(I-H))for(var Z=Math.min(y,F)-1,G=Math.min(32767,I),J=Math.min(258,F);H<=G&&--X&&B!=W;){if(r[I+Y]==r[I+Y-H]){for(var K=0;K<J&&r[I+K]==r[I+K-H];++K);if(K>Y){if(Y=K,C=H,K>Z)break;for(var rr=Math.min(H,K-2),re=0,V=0;V<rr;++V){var rt=I-H+V&32767,rn=E[rt],ra=rt-rn&32767;ra>re&&(re=ra,W=rt)}}}W=E[B=W],H+=B-W&32767}if(C){L[z++]=0x10000000|c[Y]<<18|p[C];var ri=31&c[Y],ro=31&p[C];U+=o[ri]+u[ro],++T[257+ri],++R[ro],j=I+Y,++S}else L[z++]=r[I],++T[r[I]]}}for(I=Math.max(I,j);I<h;++I)L[z++]=r[I],++T[r[I]];w=D(r,d,m,L,T,R,U,z,Q,I-Q,w),m||(l.r=7&w|d[w/8|0]<<3,w-=7,l.h=x,l.p=E,l.i=I,l.w=j)}else{for(var I=l.w||0;I<h+m;I+=65535){var ru=I+65535;ru>=h&&(d[w/8|0]=m,ru=h),w=O(d,w+1,r.subarray(I,ru))}l.i=h}return k(b,0,s+q(w)+f)},z=function(){for(var r=new Int32Array(256),e=0;e<256;++e){for(var t=e,n=9;--n;)t=(1&t&&-0x12477ce0)^t>>>1;r[e]=t}return r}(),j=function(){var r=-1;return{p:function(e){for(var t=r,n=0;n<e.length;++n)t=z[255&t^e[n]]^t>>>8;r=t},d:function(){return~r}}},Q=function(r,e,t,a,i){if(!i&&(i={l:1},e.dictionary)){var o=e.dictionary.subarray(-32768),u=new n(o.length+r.length);u.set(o),u.set(r,o.length),r=u,i.w=o.length}return I(r,null==e.level?6:e.level,null==e.mem?i.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(r.length)))):20:12+e.mem,t,a,i)},$=function(r,e){var t={};for(var n in r)t[n]=r[n];for(var n in e)t[n]=e[n];return t},B=function(r,e,t){for(;t;++e)r[e]=t,t>>>=8},W=function(r,e,t,a){for(var i in r){var o=r[i],u=e+i,s=a;Array.isArray(o)&&(s=$(a,o[1]),o=o[0]),o instanceof n?t[u]=[o,s]:(t[u+="/"]=[new n(0),s],W(o,u,t,a))}},F="u">typeof TextEncoder&&new TextEncoder,V="u">typeof TextDecoder&&new TextDecoder;try{V.decode(U,{stream:!0})}catch(r){}function Y(r,e){if(e){for(var t=new n(r.length),a=0;a<r.length;++a)t[a]=r.charCodeAt(a);return t}if(F)return F.encode(r);for(var i=r.length,o=new n(r.length+(r.length>>1)),u=0,s=function(r){o[u++]=r},a=0;a<i;++a){if(u+5>o.length){var f=new n(u+8+(i-a<<1));f.set(o),o=f}var l=r.charCodeAt(a);l<128||e?s(l):(l<2048?s(192|l>>6):(l>55295&&l<57344?(s(240|(l=65536+(1047552&l)|1023&r.charCodeAt(++a))>>18),s(128|l>>12&63)):s(224|l>>12),s(128|l>>6&63)),s(128|63&l))}return k(o,0,u)}var C=function(r){var e=0;if(r)for(var t in r){var n=r[t].length;n>65535&&M(9),e+=n+4}return e},X=function(r,e,t,n,a,i,o,u){var s=n.length,f=t.extra,l=u&&u.length,h=C(f);B(r,e,null!=o?0x2014b50:0x4034b50),e+=4,null!=o&&(r[e++]=20,r[e++]=t.os),r[e]=20,e+=2,r[e++]=t.flag<<1|(i<0&&8),r[e++]=a&&8,r[e++]=255&t.compression,r[e++]=t.compression>>8;var c=new Date(null==t.mtime?Date.now():t.mtime),b=c.getFullYear()-1980;if((b<0||b>119)&&M(10),B(r,e,b<<25|c.getMonth()+1<<21|c.getDate()<<16|c.getHours()<<11|c.getMinutes()<<5|c.getSeconds()>>1),e+=4,-1!=i&&(B(r,e,t.crc),B(r,e+4,i<0?-i-2:i),B(r,e+8,t.size)),B(r,e+12,s),B(r,e+14,h),e+=16,null!=o&&(B(r,e,l),B(r,e+6,t.attrs),B(r,e+10,o),e+=14),r.set(n,e),e+=s,h)for(var p in f){var d=f[p],m=d.length;B(r,e,+p),B(r,e+2,m),r.set(d,e+4),e+=4+m}return l&&(r.set(u,e),e+=l),e},H=function(r,e,t,n,a){B(r,e,0x6054b50),B(r,e+8,t),B(r,e+10,t),B(r,e+12,n),B(r,e+16,a)};function Z(r,e){e||(e={});var t={},a=[];W(r,"",t,e);var i=0,o=0;for(var u in t){var s=t[u],f=s[0],l=s[1],h=8*(0!=l.level),c=Y(u),b=c.length,p=l.comment,d=p&&Y(p),m=d&&d.length,w=C(l.extra);b>65535&&M(11);var v=h?Q(f,l||{},0,0):f,y=v.length,g=j();g.p(f),a.push($(l,{size:f.length,crc:g.d(),c:v,f:c,m:d,u:b!=u.length||d&&p.length!=m,o:i,compression:h}
1)),i+=30+b+w+y,o+=76+2*(b+w)+(m||0)+y}for(var _=new n(o+22),E=i,q=o-i,k=0;k<a.length;++k){var c=a[k];X(_,c.o,c,c.f,c.u,c.c.length);var x=30+c.f.length+C(c.extra);_.set(c.c,c.o+x),X(_,i,c,c.f,c.u,c.c.length,c.o,c.m),i+=16+x+(c.m?c.m.length:0)}return H(_,i,a.length,q,E),_}"function"==typeof queueMicrotask&&queueMicrotask},7676:(r,e,t)=>{r=t.nmd(r);var n=void 0,a=function(e){return n||(n=new Promise(function(t,n){var a,i=void 0!==e?e:{},o=i.onAbort;i.onAbort=function(r){n(Error(r)),o&&o(r)},i.postRun=i.postRun||[],i.postRun.push(function(){t(i)}),r=void 0;var u=!!globalThis.window,s=!!globalThis.WorkerGlobalScope;(h||=void 0!==i?i:{}).onRuntimeInitialized=function(){function r(r,e){switch(typeof e){case"boolean":H(r,+!!e);break;case"number":W(r,e);break;case"string":Y(r,e,-1,-1);break;case"object":if(null===e)F(r);else if(null!=e.length){var t=ec(e.length);w.set(e,t),X(r,t,e.length,-1),eb(t)}else Z(r,"Wrong API use : tried to return a value of an unknown type ("+e+").",-1);break;default:F(r)}}function e(r,e){for(var t=[],n=0;n<r;n+=1){var a=Q(e+4*n,"i32"),i=U(a);if(1===i||2===i)a=$(a);else if(3===i)a=z(a);else if(4===i){a=I(i=a),i=j(i);for(var o=new Uint8Array(a),u=0;u<a;u+=1)o[u]=w[i+u];a=o}else a=null;t.push(a)}return t}function t(r,e){this.Qa=r,this.db=e,this.Oa=1,this.yb=[]}function n(r,e){if(this.db=e,this.ob=ee(r),null===this.ob)throw Error("Unable to allocate memory for the SQL string");this.ub=this.ob,this.gb=this.Fb=null}function a(r){if(this.filename="dbfile_"+(0xffffffff*Math.random()>>>0),null!=r){var e=this.filename,t="/",n=e;if(t&&(t="string"==typeof t?t:rw(t),n=e?C(t+"/"+e):t),n=function(r,e=438){return rO(r,4095&e|32768,0)}(n,e=ri(!0,!0)),r){if("string"==typeof r){t=Array(r.length);for(var a=0,o=r.length;a<o;++a)t[a]=r.charCodeAt(a);r=t}r$(n,146|e),rC(t=rW(n,577),r,0,r.length,0),rF(t),r$(n,e)}}this.handleError(u(this.filename,i)),this.db=Q(i,"i32"),J(this.db),this.pb={},this.Sa={}}var i=ew(4),o=h.cwrap,u=o("sqlite3_open","number",["string","number"]),s=o("sqlite3_close_v2","number",["number"]),f=o("sqlite3_exec","number",["number","string","number","number","number"]),l=o("sqlite3_changes","number",["number"]),c=o("sqlite3_prepare_v2","number",["number","string","number","number","number"]),b=o("sqlite3_sql","string",["number"]),p=o("sqlite3_normalized_sql","string",["number"]),d=o("sqlite3_prepare_v2","number",["number","number","number","number","number"]),m=o("sqlite3_bind_text","number",["number","number","number","number","number"]),v=o("sqlite3_bind_blob","number",["number","number","number","number","number"]),y=o("sqlite3_bind_double","number",["number","number","number"]),g=o("sqlite3_bind_int","number",["number","number","number"]),_=o("sqlite3_bind_parameter_index","number",["number","string"]),E=o("sqlite3_step","number",["number"]),q=o("sqlite3_errmsg","string",["number"]),k=o("sqlite3_column_count","number",["number"]),x=o("sqlite3_data_count","number",["number"]),M=o("sqlite3_column_double","number",["number","number"]),A=o("sqlite3_column_text","string",["number","number"]),N=o("sqlite3_column_blob","number",["number","number"]),L=o("sqlite3_column_bytes","number",["number","number"]),T=o("sqlite3_column_type","number",["number","number"]),R=o("sqlite3_column_name","string",["number","number"]),S=o("sqlite3_reset","number",["number"]),O=o("sqlite3_clear_bindings","number",["number"]),D=o("sqlite3_finalize","number",["number"]),P=o("sqlite3_create_function_v2","number","number string number number number number number number number".split(" ")),U=o("sqlite3_value_type","number",["number"]),I=o("sqlite3_value_bytes","number",["number"]),z=o("sqlite3_value_text","string",["number"]),j=o("sqlite3_value_blob","number",["number"]),$=o("sqlite3_value_double","number",["number"]),W=o("sqlite3_result_double","",["number","number"]),F=o("sqlite3_result_null","",["number"]),Y=o("sqlite3_result_text","",["number","string","number","number"]),X=o("sqlite3_result_blob","",["number","number","number","number"]),H=o("sqlite3_result_int","",["number","number"]),Z=o("sqlite3_result_error","",["number","string","number"]),G=o("sqlite3_aggregate_context","number",["number","number"]),J=o("RegisterExtensionFunctions","number",["number"]),K=o("sqlite3_update_hook","number",["number","number","number"]);t.prototype.bind=function(r){if(!this.Qa)throw"Statement closed";return this.reset(),Array.isArray(r)?this.Wb(r):null==r||"object"!=typeof r||this.Xb(r)},t.prototype.step=function(){if(!this.Qa)throw"Statement closed";this.Oa=1;var r=E(this.Qa);switch(r){case 100:return!0;case 101:return!1;default:throw this.db.handleError(r)}},t.prototype.Pb=function(r){return null==r&&(r=this.Oa,this.Oa+=1),M(this.Qa,r)},t.prototype.hc=function(r){if(null==r&&(r=this.Oa,this.Oa+=1),r=A(this.Qa,r),"function"!=typeof BigInt)throw Error("BigInt is not supported");return BigInt(r)},t.prototype.mc=function(r){return null==r&&(r=this.Oa,this.Oa+=1),A(this.Qa,r)},t.prototype.getBlob=function(r){null==r&&(r=this.Oa,this.Oa+=1);var e=L(this.Qa,r);r=N(this.Qa,r);for(var t=new Uint8Array(e),n=0;n<e;n+=1)t[n]=w[r+n];return t},t.prototype.get=function(r,e){e=e||{},null!=r&&this.bind(r)&&this.step(),r=[];for(var t=x(this.Qa),n=0;n<t;n+=1)switch(T(this.Qa,n)){case 1:var a=e.useBigInt?this.hc(n):this.Pb(n);
1r.push(a);break;case 2:r.push(this.Pb(n));break;case 3:r.push(this.mc(n));break;case 4:r.push(this.getBlob(n));break;default:r.push(null)}return r},t.prototype.Db=function(){for(var r=[],e=k(this.Qa),t=0;t<e;t+=1)r.push(R(this.Qa,t));return r},t.prototype.Ob=function(r,e){r=this.get(r,e),e=this.Db();for(var t={},n=0;n<e.length;n+=1)t[e[n]]=r[n];return t},t.prototype.lc=function(){return b(this.Qa)},t.prototype.ic=function(){return p(this.Qa)},t.prototype.Jb=function(r){return null!=r&&this.bind(r),this.step(),this.reset()},t.prototype.Lb=function(r,e){null==e&&(e=this.Oa,this.Oa+=1),r=ee(r),this.yb.push(r),this.db.handleError(m(this.Qa,e,r,-1,0))},t.prototype.Vb=function(r,e){null==e&&(e=this.Oa,this.Oa+=1);var t=ec(r.length);w.set(r,t),this.yb.push(t),this.db.handleError(v(this.Qa,e,t,r.length,0))},t.prototype.Kb=function(r,e){null==e&&(e=this.Oa,this.Oa+=1),this.db.handleError((r===(0|r)?g:y)(this.Qa,e,r))},t.prototype.Yb=function(r){null==r&&(r=this.Oa,this.Oa+=1),v(this.Qa,r,0,0,0)},t.prototype.Mb=function(r,e){switch(null==e&&(e=this.Oa,this.Oa+=1),typeof r){case"string":this.Lb(r,e);return;case"number":this.Kb(r,e);return;case"bigint":this.Lb(r.toString(),e);return;case"boolean":this.Kb(r+0,e);return;case"object":if(null===r)return void this.Yb(e);if(null!=r.length)return void this.Vb(r,e)}throw"Wrong API use : tried to bind a value of an unknown type ("+r+")."},t.prototype.Xb=function(r){var e=this;return Object.keys(r).forEach(function(t){var n=_(e.Qa,t);0!==n&&e.Mb(r[t],n)}),!0},t.prototype.Wb=function(r){for(var e=0;e<r.length;e+=1)this.Mb(r[e],e+1);return!0},t.prototype.reset=function(){return this.Cb(),0===O(this.Qa)&&0===S(this.Qa)},t.prototype.Cb=function(){for(var r;void 0!==(r=this.yb.pop());)eb(r)},t.prototype.cb=function(){this.Cb();var r=0===D(this.Qa);return delete this.db.pb[this.Qa],this.Qa=0,r},n.prototype.next=function(){if(null===this.ob)return{done:!0};if(null!==this.gb&&(this.gb.cb(),this.gb=null),!this.db.db)throw this.Ab(),Error("Database closed");var r=ev(),e=ew(4);B(i),B(e);try{this.db.handleError(d(this.db.db,this.ub,-1,i,e)),this.ub=Q(e,"i32");var n=Q(i,"i32");if(0===n)return this.Ab(),{done:!0};return this.gb=new t(n,this.db),this.db.pb[n]=this.gb,{value:this.gb,done:!1}}catch(r){throw this.Fb=V(this.ub),this.Ab(),r}finally{em(r)}},n.prototype.Ab=function(){eb(this.ob),this.ob=null},n.prototype.jc=function(){return null!==this.Fb?this.Fb:V(this.ub)},"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator&&(n.prototype[Symbol.iterator]=function(){return this}),a.prototype.Jb=function(r,e){if(!this.db)throw"Database closed";if(e){r=this.Gb(r,e);try{r.step()}finally{r.cb()}}else this.handleError(f(this.db,r,0,0,i));return this},a.prototype.exec=function(r,e,n){if(!this.db)throw"Database closed";var a=null,o=null,u=null;try{u=o=ee(r);var s=ew(4);for(r=[];0!==Q(u,"i8");){B(i),B(s),this.handleError(d(this.db,u,-1,i,s));var f=Q(i,"i32");if(u=Q(s,"i32"),0!==f){var l=null;for(a=new t(f,this),null!=e&&a.bind(e);a.step();)null===l&&(l={columns:a.Db(),values:[]},r.push(l)),l.values.push(a.get(null,n));a.cb()}}return r}catch(r){throw a&&a.cb(),r}finally{o&&eb(o)}},a.prototype.ec=function(r,e,t,n,a){"function"==typeof e&&(n=t,t=e,e=void 0),r=this.Gb(r,e);try{for(;r.step();)t(r.Ob(null,a))}finally{r.cb()}if("function"==typeof n)return n()},a.prototype.Gb=function(r,e){if(B(i),this.handleError(c(this.db,r,-1,i,0)),0===(r=Q(i,"i32")))throw"Nothing to prepare";var n=new t(r,this);return null!=e&&n.bind(e),this.pb[r]=n},a.prototype.pc=function(r){return new n(r,this)},a.prototype.fc=function(){Object.values(this.pb).forEach(function(r){r.cb()}),Object.values(this.Sa).forEach(en),this.Sa={},this.handleError(s(this.db));var r,e,t,n=(r=this.filename,e=rW(r,e=e||0),rY(e,t=new Uint8Array(r=rj(r).size),0,r,0),rF(e),t);return this.handleError(u(this.filename,i)),this.db=Q(i,"i32"),J(this.db),n},a.prototype.close=function(){null!==this.db&&(Object.values(this.pb).forEach(function(r){r.cb()}),Object.values(this.Sa).forEach(en),this.Sa={},this.fb&&(en(this.fb),this.fb=void 0),this.handleError(s(this.db)),rz("/"+this.filename),this.db=null)},a.prototype.handleError=function(r){if(0===r)return null;throw Error(r=q(this.db))},a.prototype.kc=function(){return l(this.db)},a.prototype.bc=function(t,n){Object.prototype.hasOwnProperty.call(this.Sa,t)&&(en(this.Sa[t]),delete this.Sa[t]);var a=eu(function(t,a,i){a=e(a,i);try{var o=n.apply(null,a)}catch(r){Z(t,r,-1);return}r(t,o)},"viii");return this.Sa[t]=a,this.handleError(P(this.db,t,n.length,1,0,a,0,0,0)),this},a.prototype.ac=function(t,n){var a=n.init||function(){return null},i=n.finalize||function(r){return r},o=n.step;if(!o)throw"An aggregate function must have a step function in "+t;var u={};Object.hasOwnProperty.call(this.Sa,t)&&(en(this.Sa[t]),delete this.Sa[t]),n=t+"__finalize",Object.hasOwnProperty.call(this.Sa,n)&&(en(this.Sa[n]),delete this.Sa[n]);var s=eu(function(r,t,n){var i=G(r,1);Object.hasOwnProperty.call(u,i)||(u[i]=a()),t=e(t,n),t=[u[i]].concat(t);try{u[i]=o.apply(null,t)}catch(e){delete u[i],Z(r,e,-1)}},"viii"),f=eu(function(e){var t=G(e,1);try{var n=i(u[t])}catch(r){delete u[t],Z(e,r,-1);return}r(e,n),delete u[t]},"vi");return this.Sa[t]=s,this.Sa[n]=f,this.handleError(P(this.db,t,o.length-1,1,0,0,s,f,0)),this},a.prototype.vc=function(r){return this.fb&&(K(this.db,0,0),en(this.fb),this.fb=void 0),r&&(this.fb=eu(function(e,t,n,a,i){switch(t){case 18:e="insert";break;case 23:e="update";break;case 9:e="delete";break;default:throw"unknown operationCode in updateHook callback: "+t}if(n=V(n),a=V(a),i>Number.MAX_SAFE_INTEGER)throw"rowId too big to fit inside a Number";r(e,n,a,Number(i))},"viiiij"),K(this.db,this.fb,0)),this},t.prototype.bind=t.prototype.bind,t.prototype.step=t.prototype.step,t.prototype.get=t.prototype.get,t.prototype.getColumnNames=t.prototype.Db,t.prototype.getAsObject=t.prototype.Ob,t.prototype.getSQL=t.prototype.lc,t.prototype.getNormalizedSQL=t.prototype.ic,t.prototype.run=t.prototype.Jb,t.prototype.reset=t.prototype.reset,t.prototype.freemem=t.prototype.Cb,t.prototype.free=t.prototype.cb,n.prototype.next=n.prototype.next,n.prototype.getRemainingSQL=n.prototype.jc,a.prototype.run=a.prototype.Jb,a.prototype.exec=a.prototype.exec,a.prototype.each=a.prototype.ec,a.prototype.prepare=a.prototype.Gb,a.prototype.iterateStatements=a.prototype.pc,a.prototype.exp
1ort=a.prototype.fc,a.prototype.close=a.prototype.close,a.prototype.handleError=a.prototype.handleError,a.prototype.getRowsModified=a.prototype.kc,a.prototype.create_function=a.prototype.bc,a.prototype.create_aggregate=a.prototype.ac,a.prototype.updateHook=a.prototype.vc,h.Database=a};var f="./this.program",l=globalThis.document?.currentScript?.src;s&&(l=self.location.href);var h,c,b,p="";if(u||s){try{p=new URL(".",l).href}catch{}s&&(b=r=>{var e=new XMLHttpRequest;return e.open("GET",r,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),c=async r=>{if((r=await fetch(r,{credentials:"same-origin"})).ok)return r.arrayBuffer();throw Error(r.status+" : "+r.url)}}var d,m,w,v,y,g,_,E,q,k,x=console.log.bind(console),M=console.error.bind(console),A=!1;function N(){var r=ey.buffer;w=new Int8Array(r),y=new Int16Array(r),v=new Uint8Array(r),new Uint16Array(r),g=new Int32Array(r),_=new Uint32Array(r),E=new Float32Array(r),q=new Float64Array(r),k=new BigInt64Array(r),new BigUint64Array(r)}function L(r){throw h.onAbort?.(r),M(r="Aborted("+r+")"),A=!0,new WebAssembly.RuntimeError(r+". Build with -sASSERTIONS for more info.")}async function T(r){if(!d)try{var e=await c(r);return new Uint8Array(e)}catch{}if(r==rJ&&d)r=new Uint8Array(d);else if(b)r=b(r);else throw"both async and sync fetching of the wasm failed";return r}async function R(r,e){try{var t=await T(r);return await WebAssembly.instantiate(t,e)}catch(r){M(`failed to asynchronously prepare wasm: ${r}`),L(r)}}async function S(r){if(!d)try{var e=fetch(rJ,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(e,r)}catch(r){M(`wasm streaming compile failed: ${r}`),M("falling back to ArrayBuffer instantiation")}return R(rJ,r)}class O{name="ExitStatus";constructor(r){this.message=`Program terminated with exit(${r})`,this.status=r}}var D=r=>{for(;0<r.length;)r.shift()(h)},P=[],U=[],I=()=>{var r=h.preRun.shift();U.push(r)},z=0,j=null;function Q(r,e="i8"){switch(e.endsWith("*")&&(e="*"),e){case"i1":case"i8":return w[r];case"i16":return y[r>>1];case"i32":return g[r>>2];case"i64":return k[r>>3];case"float":return E[r>>2];case"double":return q[r>>3];case"*":return _[r>>2];default:L(`invalid type for getValue: ${e}`)}}var $=!0;function B(r){var e="i32";switch(e.endsWith("*")&&(e="*"),e){case"i1":case"i8":w[r]=0;break;case"i16":y[r>>1]=0;break;case"i32":g[r>>2]=0;break;case"i64":k[r>>3]=BigInt(0);break;case"float":E[r>>2]=0;break;case"double":q[r>>3]=0;break;case"*":_[r>>2]=0;break;default:L(`invalid type for setValue: ${e}`)}}var W=new TextDecoder,F=(r,e,t,n)=>{if(t=e+t,n)return t;for(;r[e]&&!(e>=t);)++e;return e},V=(r,e,t)=>r?W.decode(v.subarray(r,F(v,r,e,t))):"",Y=(r,e)=>{for(var t=0,n=r.length-1;0<=n;n--){var a=r[n];"."===a?r.splice(n,1):".."===a?(r.splice(n,1),t++):t&&(r.splice(n,1),t--)}if(e)for(;t;t--)r.unshift("..");return r},C=r=>{var e="/"===r.charAt(0),t="/"===r.slice(-1);return(r=Y(r.split("/").filter(r=>!!r),!e).join("/"))||e||(r="."),r&&t&&(r+="/"),(e?"/":"")+r},X=r=>{var e=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(r).slice(1);return(r=e[0],e=e[1],r||e)?r+(e&&=e.slice(0,-1)):"."},H=r=>r&&r.match(/([^\/]+|\/)\/*$/)[1],Z=r=>{(Z=r=>crypto.getRandomValues(r))(r)},G=r=>{var e=F(r,0);return W.decode(r.buffer?r.subarray(0,e):new Uint8Array(r.slice(0,e)))},J=[],K=r=>{for(var e=0,t=0;t<r.length;++t){var n=r.charCodeAt(t);127>=n?e++:2047>=n?e+=2:55296<=n&&57343>=n?(e+=4,++t):e+=3}return e},rr=(r,e,t,n)=>{if(!(0<n))return 0;var a=t;n=t+n-1;for(var i=0;i<r.length;++i){var o=r.codePointAt(i);if(127>=o){if(t>=n)break;e[t++]=o}else if(2047>=o){if(t+1>=n)break;e[t++]=192|o>>6,e[t++]=128|63&o}else if(65535>=o){if(t+2>=n)break;e[t++]=224|o>>12,e[t++]=128|o>>6&63,e[t++]=128|63&o}else{if(t+3>=n)break;e[t++]=240|o>>18,e[t++]=128|o>>12&63,e[t++]=128|o>>6&63,e[t++]=128|63&o,i++}}return e[t]=0,t-a},re=[];function rt(r,e){re[r]={input:[],output:[],kb:e},rR(r,rn)}var rn={open(r){var e=re[r.node.nb];if(!e)throw new rb(43);r.Va=e,r.seekable=!1},close(r){r.Va.kb.lb(r.Va)},lb(r){r.Va.kb.lb(r.Va)},read(r,e,t,n){if(!r.Va||!r.Va.kb.Qb)throw new rb(60);for(var a=0,i=0;i<n;i++){try{var o=r.Va.kb.Qb(r.Va)}catch(r){throw new rb(29)}if(void 0===o&&0===a)throw new rb(6);if(null==o)break;a++,e[t+i]=o}return a&&(r.node.$a=Date.now()),a},write(r,e,t,n){if(!r.Va||!r.Va.kb.Hb)throw new rb(60);try{for(var a=0;a<n;a++)r.Va.kb.Hb(r.Va,e[t+a])}catch(r){throw new rb(29)}return n&&(r.node.Ua=r.node.Ta=Date.now()),a}},ra={Za:null,ab:()=>ra.createNode(null,"/",16895,0),createNode(r,e,t,n){if(24576==(61440&t)||4096==(61440&t))throw new rb(63);return ra.Za||(ra.Za={dir:{node:{Wa:ra.La.Wa,Xa:ra.La.Xa,mb:ra.La.mb,rb:ra.La.rb,Tb:ra.La.Tb,xb:ra.La.xb,vb:ra.La.vb,Ib:ra.La.Ib,wb:ra.La.wb},stream:{Ya:ra.Ma.Ya}},file:{node:{Wa:ra.La.Wa,Xa:ra.La.Xa},stream:{Ya:ra.Ma.Ya,read:ra.Ma.read,write:ra.Ma.write,sb:ra.Ma.sb,tb:ra.Ma.tb}},link:{node:{Wa:ra.La.Wa,Xa:ra.La.Xa,eb:ra.La.eb},stream:{}},Nb:{node:{Wa:ra.La.Wa,Xa:ra.La.Xa},stream:rT}}),rE((t=r_(r,e,t,n)).mode)?(t.La=ra.Za.dir.node,t.Ma=ra.Za.dir.stream,t.Na={}):32768==(61440&t.mode)?(t.La=ra.Za.file.node,t.Ma=ra.Za.file.stream,t.Ra=0,t.Na=null):40960==(61440&t.mode)?(t.La=ra.Za.link.node,t.Ma=ra.Za.link.stream):8192==(61440&t.mode)&&(t.La=ra.Za.Nb.node,t.Ma=ra.Za.Nb.stream),t.$a=t.Ua=t.Ta=Date.now(),r&&(r.Na[e]=t,r.$a=r.Ua=r.Ta=t.$a),t},Cc:r=>r.Na?r.Na.subarray?r.Na.subarray(0,r.Ra):new Uint8Array(r.Na):new Uint8Array(0),La:{Wa(r){var e={};return e.cc=8192==(61440&r.mode)?r.id:1,e.oc=r.id,e.mode=r.mode,e.rc=1,e.uid=0,e.nc=0,e.nb=r.nb,rE(r.mode)?e.size=4096:32768==(61440&r.mode)?e.size=r.Ra:40960==(61440&r.mode)?e.size=r.link.length:e.size=0,e.$a=new Date(r.$a),e.Ua=new Date(r.Ua),e.Ta=new Date(r.Ta),e.Zb=4096,e.$b=Math.ceil(e.size/e.Zb),e},Xa(r,e){for(var t of["mode","atime","mtime","ctime"])null!=e[t]&&(r[t]=e[t]);void 0!==e.size&&(e=e.size,r.Ra!=e&&(0==e?(r.Na=null,r.Ra=0):(t=r.Na,r.Na=new Uint8Array(e),t&&r.Na.set(t.subarray(0,Math.min(e,r.Ra))),r.Ra=e)))},mb(){throw ra.zb||(ra.zb=new rb(44),ra.zb.stack="<generic error, no stack>"),ra.zb},rb:(r,e,t,n)=>ra.createNode(r,e,t,n),Tb(r,e,t){try{var n=rg(e,t)}catch(r){}if(n){if(rE(r.mode))for(var a in n.Na)throw new rb(55);ry(n)}delete r.parent.Na[r.name],e.Na[t]=r,r.name=t,e.Ta=e.Ua=r.parent.Ta=r.parent.Ua=Date.now()},xb(r,e){delete r.Na[e],r.Ta=r.Ua=Date.now()},vb(r,e){var t,n=rg(r,e);for(t in n.Na)throw new rb(55);delete r.Na[e],r.Ta=r.Ua=Date.now()},Ib:r=>[".","..",...Object.keys(r.Na)],wb:(r,e,t)=>((r=ra.createNode(r,e,41471,0)).link=t,r),eb(r){if(40960!=(61440&r.mode))throw new rb(28);return r.link}},Ma:{read(r,e,t,n,a){var i=r.node.Na;if(a>
1=r.node.Ra)return 0;if(8<(r=Math.min(r.node.Ra-a,n))&&i.subarray)e.set(i.subarray(a,a+r),t);else for(n=0;n<r;n++)e[t+n]=i[a+n];return r},write(r,e,t,n,a,i){if(e.buffer===w.buffer&&(i=!1),!n)return 0;if((r=r.node).Ua=r.Ta=Date.now(),e.subarray&&(!r.Na||r.Na.subarray)){if(i)return r.Na=e.subarray(t,t+n),r.Ra=n;if(0===r.Ra&&0===a)return r.Na=e.slice(t,t+n),r.Ra=n;if(a+n<=r.Ra)return r.Na.set(e.subarray(t,t+n),a),n}i=a+n;var o=r.Na?r.Na.length:0;if(o>=i||(i=Math.max(i,o*(1048576>o?2:1.125)>>>0),0!=o&&(i=Math.max(i,256)),o=r.Na,r.Na=new Uint8Array(i),0<r.Ra&&r.Na.set(o.subarray(0,r.Ra),0)),r.Na.subarray&&e.subarray)r.Na.set(e.subarray(t,t+n),a);else for(i=0;i<n;i++)r.Na[a+i]=e[t+i];return r.Ra=Math.max(r.Ra,a+n),n},Ya(r,e,t){if(1===t?e+=r.position:2===t&&32768==(61440&r.node.mode)&&(e+=r.node.Ra),0>e)throw new rb(28);return e},sb(r,e,t,n,a){if(32768!=(61440&r.node.mode))throw new rb(43);if(r=r.node.Na,2&a||!r||r.buffer!==w.buffer){a=!0;var i=ep(65536,n=65536*Math.ceil(e/65536));if(i&&v.fill(0,i,i+n),!(n=i))throw new rb(48);r&&((0<t||t+e<r.length)&&(r=r.subarray?r.subarray(t,t+e):Array.prototype.slice.call(r,t,t+e)),w.set(r,n))}else a=!1,n=r.byteOffset;return{tc:n,Ub:a}},tb:(r,e,t,n)=>(ra.Ma.write(r,e,0,n,t,!1),0)}},ri=(r,e)=>{var t=0;return r&&(t|=365),e&&(t|=146),t},ro=null,ru={},rs=[],rf=1,rl=null,rh=!1,rc=!0,rb=class{name="ErrnoError";constructor(r){this.Pa=r}},rp=class{qb={};node=null;get flags(){return this.qb.flags}set flags(r){this.qb.flags=r}get position(){return this.qb.position}set position(r){this.qb.position=r}},rd=class{La={};Ma={};ib=null;constructor(r,e,t,n){r||=this,this.parent=r,this.ab=r.ab,this.id=rf++,this.name=e,this.mode=t,this.nb=n,this.$a=this.Ua=this.Ta=Date.now()}get read(){return 365==(365&this.mode)}set read(r){r?this.mode|=365:this.mode&=-366}get write(){return 146==(146&this.mode)}set write(r){r?this.mode|=146:this.mode&=-147}};function rm(r,e={}){if(!r)throw new rb(44);e.Bb??(e.Bb=!0),"/"===r.charAt(0)||(r="//"+r);var t=0;r:for(;40>t;t++){r=r.split("/").filter(r=>!!r);for(var n=ro,a="/",i=0;i<r.length;i++){var o=i===r.length-1;if(o&&e.parent)break;if("."!==r[i])if(".."===r[i])if(a=X(a),n===n.parent){r=a+"/"+r.slice(i+1).join("/"),t--;continue r}else n=n.parent;else{a=C(a+"/"+r[i]);try{n=rg(n,r[i])}catch(r){if(44===r?.Pa&&o&&e.sc)return{path:a};throw r}if(n.ib&&(!o||e.Bb)&&(n=n.ib.root),40960==(61440&n.mode)&&(!o||e.hb)){if(!n.La.eb)throw new rb(52);"/"===(n=n.La.eb(n)).charAt(0)||(n=X(a)+"/"+n),r=n+"/"+r.slice(i+1).join("/");continue r}}}return{path:a,node:n}}throw new rb(32)}function rw(r){for(var e;;){if(r===r.parent)return r=r.ab.Sb,e?"/"!==r[r.length-1]?`${r}/${e}`:r+e:r;e=e?`${r.name}/${e}`:r.name,r=r.parent}}function rv(r,e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n)|0;return(r+t>>>0)%rl.length}function ry(r){var e=rv(r.parent.id,r.name);if(rl[e]===r)rl[e]=r.jb;else for(e=rl[e];e;){if(e.jb===r){e.jb=r.jb;break}e=e.jb}}function rg(r,e){var t=rE(r.mode)?(t=rq(r,"x"))?t:2*!r.La.mb:54;if(t)throw new rb(t);for(t=rl[rv(r.id,e)];t;t=t.jb){var n=t.name;if(t.parent.id===r.id&&n===e)return t}return r.La.mb(r,e)}function r_(r,e,t,n){return e=rv((r=new rd(r,e,t,n)).parent.id,r.name),r.jb=rl[e],rl[e]=r}function rE(r){return 16384==(61440&r)}function rq(r,e){return rc?0:e.includes("r")&&!(292&r.mode)||e.includes("w")&&!(146&r.mode)||e.includes("x")&&!(73&r.mode)?2:0}function rk(r,e){if(!rE(r.mode))return 54;try{return rg(r,e),20}catch(r){}return rq(r,"wx")}function rx(r,e,t){try{var n=rg(r,e)}catch(r){return r.Pa}if(r=rq(r,"wx"))return r;if(t){if(!rE(n.mode))return 54;if(n===n.parent||"/"===rw(n))return 10}else if(rE(n.mode))return 31;return 0}function rM(r){if(!r)throw new rb(63);return r}function rA(r){if(!(r=rs[r]))throw new rb(8);return r}function rN(r,e=-1){if(r=Object.assign(new rp,r),-1==e)r:{for(e=0;4096>=e;e++)if(!rs[e])break r;throw new rb(33)}
1return r.bb=e,rs[e]=r}function rL(r,e,t){var n=r?.Ma.Xa;r=n?r:e,rM(n??=e.La.Xa),n(r,t)}var rT={open(r){r.Ma=ru[r.node.nb].Ma,r.Ma.open?.(r)},Ya(){throw new rb(70)}};function rR(r,e){ru[r]={Ma:e}}function rS(r,e){var t="/"===e;if(t&&ro)throw new rb(10);if(!t&&e){var n=rm(e,{Bb:!1});if(e=n.path,(n=n.node).ib)throw new rb(10);if(!rE(n.mode))throw new rb(54)}e={type:r,Gc:{},Sb:e,qc:[]},(r=r.ab(e)).ab=e,e.root=r,t?ro=r:n&&(n.ib=e,n.ab&&n.ab.qc.push(e))}function rO(r,e,t){var n=rm(r,{parent:!0}).node;if(!(r=H(r)))throw new rb(28);if("."===r||".."===r)throw new rb(20);var a=rk(n,r);if(a)throw new rb(a);if(!n.La.rb)throw new rb(63);return n.La.rb(n,r,e,t)}function rD(r,e=511){return rO(r,1023&e|16384,0)}function rP(r,e,t){void 0===t&&(t=e,e=438),rO(r,8192|e,t)}function rU(r,e){if(!((...r)=>{for(var e="",t=!1,n=r.length-1;-1<=n&&!t;n--){if("string"!=typeof(t=0<=n?r[n]:"/"))throw TypeError("Arguments to path.resolve must be strings");if(!t)return"";e=t+"/"+e,t="/"===t.charAt(0)}return e=Y(e.split("/").filter(r=>!!r),!t).join("/"),(t?"/":"")+e||"."})(r))throw new rb(44);var t=rm(e,{parent:!0}).node;if(!t)throw new rb(44);var n=rk(t,e=H(e));if(n)throw new rb(n);if(!t.La.wb)throw new rb(63);t.La.wb(t,e,r)}function rI(r){var e=rm(r,{parent:!0}).node,t=rg(e,r=H(r)),n=rx(e,r,!0);if(n)throw new rb(n);if(!e.La.vb)throw new rb(63);if(t.ib)throw new rb(10);e.La.vb(e,r),ry(t)}function rz(r){var e=rm(r,{parent:!0}).node;if(!e)throw new rb(44);var t=rg(e,r=H(r)),n=rx(e,r,!1);if(n)throw new rb(n);if(!e.La.xb)throw new rb(63);if(t.ib)throw new rb(10);e.La.xb(e,r),ry(t)}function rj(r,e){return rM((r=rm(r,{hb:!e}).node).La.Wa)(r)}function rQ(r,e,t,n){rL(r,e,{mode:4095&t|-4096&e.mode,Ta:Date.now(),dc:n})}function r$(r,e){rQ(null,r="string"==typeof r?rm(r,{hb:!0}).node:r,e)}function rB(r,e,t){if(rE(e.mode))throw new rb(31);if(32768!=(61440&e.mode))throw new rb(28);var n=rq(e,"w");if(n)throw new rb(n);rL(r,e,{size:t,timestamp:Date.now()})}function rW(r,e,t=438){if(""===r)throw new rb(44);if("string"==typeof e){var n={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[e];if(void 0===n)throw Error(`Unknown file open mode: ${e}`);e=n}if(t=64&e?4095&t|32768:0,"object"==typeof r)n=r;else{var a=r.endsWith("/"),i=rm(r,{hb:!(131072&e),sc:!0});n=i.node,r=i.path}if(i=!1,64&e)if(n){if(128&e)throw new rb(20)}else{if(a)throw new rb(31);n=rO(r,511|t,0),i=!0}if(!n)throw new rb(44);if(8192==(61440&n.mode)&&(e&=-513),65536&e&&!rE(n.mode))throw new rb(54);if(!i&&(n?40960==(61440&n.mode)?a=32:(a=["r","w","rw"][3&e],512&e&&(a+="w"),a=rE(n.mode)&&("r"!==a||576&e)?31:rq(n,a)):a=44,a))throw new rb(a);return 512&e&&!i&&rB(null,a="string"==typeof(a=n)?rm(a,{hb:!0}).node:a,0),(e=rN({node:n,path:rw(n),flags:-131713&e,seekable:!0,position:0,Ma:n.Ma,uc:[],error:!1})).Ma.open&&e.Ma.open(e),i&&r$(n,511&t),e}function rF(r){if(null===r.bb)throw new rb(8);r.Eb&&(r.Eb=null);try{r.Ma.close&&r.Ma.close(r)}catch(r){throw r}finally{rs[r.bb]=null}r.bb=null}function rV(r,e,t){if(null===r.bb)throw new rb(8);if(!r.seekable||!r.Ma.Ya)throw new rb(70);if(0!=t&&1!=t&&2!=t)throw new rb(28);r.position=r.Ma.Ya(r,e,t),r.uc=[]}function rY(r,e,t,n,a){if(0>n||0>a)throw new rb(28);if(null===r.bb||1==(2097155&r.flags))throw new rb(8);if(rE(r.node.mode))throw new rb(31);if(!r.Ma.read)throw new rb(28);var i=void 0!==a;if(i){if(!r.seekable)throw new rb(70)}else a=r.position;return e=r.Ma.read(r,e,t,n,a),i||(r.position+=e),e}function rC(r,e,t,n,a){if(0>n||0>a)throw new rb(28);if(null===r.bb||0==(2097155&r.flags))throw new rb(8);if(rE(r.node.mode))throw new rb(31);if(!r.Ma.write)throw new rb(28);r.seekable&&1024&r.flags&&rV(r,0,2);var i=void 0!==a;if(i){if(!r.seekable)throw new rb(70)}else a=r.position;return e=r.Ma.write(r,e,t,n,a,void 0),i||(r.position+=e),e}function rX(r,e,t){r=C("/dev/"+r);var n=ri(!!e,!!t);rX.Rb??(rX.Rb=64);var a=rX.Rb++<<8;rR(a,{open(r){r.seekable=!1},close(){t?.buffer?.length&&t(10)},read(r,t,n,a){for(var i=0,o=0;o<a;o++){try{var u=e()}catch(r){throw new rb(29)}if(void 0===u&&0===i)throw new rb(6);if(null==u)break;i++,t[n+o]=u}return i&&(r.node.$a=Date.now()),i},write(r,e,n,a){for(var i=0;i<a;i++)try{t(e[n+i])}catch(r){throw new rb(29)}return a&&(r.node.Ua=r.node.Ta=Date.now()),i}}),rP(r,n,a)}var rH={};function rZ(r,e,t){if("/"===e.charAt(0))return e;if(r=-100===r?"/":rA(r).path,0==e.length){if(!t)throw new rb(44);return r}return r+"/"+e}function rG(r,e){_[r>>2]=e.cc,_[r+4>>2]=e.mode,_[r+8>>2]=e.rc,_[r+12>>2]=e.uid,_[r+16>>2]=e.nc,_[r+20>>2]=e.nb,k[r+24>>3]=BigInt(e.size),g[r+32>>2]=4096,g[r+36>>2]=e.$b;var t=e.$a.getTime(),n=e.Ua.getTime(),a=e.Ta.getTime();return k[r+40>>3]=BigInt(Math.floor(t/1e3)),_[r+48>>2]=t%1e3*1e6,k[r+56>>3]=BigInt(Math.floor(n/1e3)),_[r+64>>2]=n%1e3*1e6,k[r+72>>3]=BigInt(Math.floor(a/1e3)),_[r+80>>2]=a%1e3*1e6,k[r+88>>3]=BigInt(e.oc),0}var rJ,rK,r0,r1=void 0,r2=()=>{var r=g[r1>>2];return r1+=4,r},r3=0,r4=[0,31,60,91,121,152,182,213,244,274,305,335],r6=[0,31,59,90,120,151,181,212,243,273,304,334],r8={},r5=r=>{if(!(r instanceof O||"unwind"==r))throw r},r7=r=>{throw m=r,$||0<r3||(h.onExit?.(r),A=!0),new O(r)},r9={},er=()=>{if(!rK){var r,e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(globalThis.navigator?.language??"C").replace("-","_")+".UTF-8",_:f||"./this.program"};for(r in r9)void 0===r9[r]?delete e[r]:e[r]=r9[r];var t=[];for(r in e)t.push(`${r}=${e[r]}`);rK=t}return rK},ee=r=>{var e=K(r)+1,t=ec(e);return t&&rr(r,v,t,e),t},et=[],en=r=>{r0.delete(eg.get(r)),eg.set(r,null),et.push(r)},ea=r=>{let e=r.length;return[e%128|128,e>>7,...r]},ei={i:127,p:127,j:126,f:125,d:124,e:111},eo=r=>ea(Array.from(r,r=>ei[r])),eu=(r,e)=>{if(!r0){r0=new WeakMap;var t=eg.length;if(r0)for(var n=0;n<0+t;n++){var a=eg.get(n);a&&r0.set(a,n)}}if(t=r0.get(r)||0)return t;t=et.length?et.pop():eg.grow(1);try{eg.set(t,r)}catch(n){if(!(n instanceof TypeError))throw n;e=Uint8Array.of(0,97,115,109,1,0,0,0,1,...ea([1,96,...eo(e.slice(1)),...eo("v"===e[0]?"":e[0])]),2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0),e=new WebAssembly.Module(e),e=new WebAssembly.Instance(e,{e:{f:r}}).exports.f,eg.set(t,e)}return r0.set(r,t),t};if(rl=Array(4096),rS(ra,"/"),rD("/tmp"),rD("/home"),rD("/home/web_user"),rD("/dev"),rR(259,{read:()=>0,write:(r,e,t,n)=>n,Ya:()=>0}),rP("/dev/null",259),rt(1280,{Qb(){r:{if(!J.length){var r=null;if(globalThis.window?.prompt&&null!==(r=window.prompt("Input: "))&&(r+="\n"),!r){var e=null;break r}e=Array(K(r)+1),r=rr(r,e,0,e.length),e.length=r,J=e}e=J.shift()}return e},Hb(r,e){null===e||10===e?(x(G(r.output)),r.output=[]):0!=e&&r.output.push(e)},lb(r){0<r.output?.length&&(x(G(r.output)),r.output=[])},Dc:()=>({yc:25856,Ac:5,xc:191,zc:35387,wc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}),Ec:()=>0,Fc:()=>[24,80]}),rt(1536,{Hb(r,e){null===e||10===e?(M(G(r.output)),r.output=[]):0!=e&&r.output.push(e)},lb(r){0<r.output?.length&&(M(G(r.output)),r.output=[])}}),rP("/dev/tty",1280),rP("/dev/tty1",1536),es=new Uint8Array(1024),ef=0,rX("random",el=()=>(0===ef&&(Z(es),ef=es.byteLength),es[--ef])),rX("urandom",el),rD("/dev/shm"),rD("/dev/shm/tmp"),rD("/proc"),eh=rD("/proc/self"),rD("/proc/self/fd"),rS({ab(){var r=r_(eh,"fd",16895,73);return r.Ma={Ya:ra.Ma.Ya},r.La={mb(r,e){var t=rA(r=+e);return(r={parent:null,ab:{Sb:"fake"},La:{eb:()=>t.path},id:r+1}).parent=r},Ib:()=>Array.from(rs.entries()).filter(([,r])=>r).map(([r])=>r.toString())},r}},"/proc/self/fd"),h.noExitRuntime&&($=h.noExitRuntime),h.print&&(x=h.print),h.printErr&&(M=h.printErr),h.wasmBinary&&(d=h.wasmBinary),h.thisProgram&&(f=h.thisProgram),h.preInit)for("function"==typeof h.preInit&&(h.preInit=[h.preInit]);0<h.preInit.length;)h.preInit.shift()();h.stackSave=()=>ev(),h.stackRestore=r=>em(r),h.stackAlloc=r=>ew(r),h.cwrap=(r,e,t,n)=>{var a=!t||t.every(r=>"number"===r||"boolean"===r);return"string"!==e&&a&&!n?h["_"+r]:(...n)=>((r,e,t,n)=>{var a,i={string:r=>{var e=0;if(null!=r&&0!==r){e=K(r)+1;var t=ew(e);rr(r,v,t,e),e=t}return e},array:r=>{var e=ew(r.length);return w.set(r,e),e}};r=h["_"+r];var o=[],u=0;if(n)for(var s=0;s<n.length;s++){var f=i[t[s]];f?(0===u&&(u=ev()),o[s]=f(n[s])):o[s]=n[s]}return a=t=r(...o),0!==u&&em(u),t="string"===e?V(a):"boolean"===e?!!a:a})(r,e,t,n)},h.addFunction=eu,h.removeFunction=en,h.UTF8ToString=V,h.stringToNewUTF8=ee,h.writeArrayToMemory=(r,e)=>{w.set(r,e)};var es,ef,el,eh,ec,eb,ep,ed,em,ew,ev,ey,eg,e_={a:(r,e,t,n)=>L(`Assertion failed: ${V(r)}, at: `+[e?V(e):"unknown filename",t,n?V(n):"unknown function"]),i:function(r,e){try{return r=V(r),r$(r,e),0}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},L:function(r,e,t){try{if(e=V(e),e=rZ(r,e),-8&t)return -28;var n=rm(e,{hb:!0}).node;if(!n)return -44;return r="",4&t&&(r+="r"),2&t&&(r+="w"),1&t&&(r+="x"),r&&rq(n,r)?-2:0}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},j:function(r,e){try{var t=rA(r);return rQ(t,t.node,e,!1),0}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},h:function(r){try{var e=rA(r);return rL(e,e.node,{timestamp:Date.now(),dc:!1}),0}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},b:function(r,e,t){r1=t;try{var n=rA(r);switch(e){case 0:var a=r2();if(0>a)break;for(;rs[a];)a++;return function(r,e=-1){return r=rN(r,e),r.Ma?.Bc?.(r),r}(n,a).bb;case 1:case 2:case 13:case 14:return 0;case 3:return n.flags;case 4:return a=r2(),n.flags|=a,0;case 12:return y[(a=r2())+0>>1]=2,0}return -28}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},g:function(r,e){try{var t=rA(r),n=t.node,a=t.Ma.Wa;
1r=a?t:n,a??=n.La.Wa,rM(a);var i=a(r);return rG(e,i)}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},H:function(r,e){e=-0x20000000000000>e||0x20000000000000<e?NaN:Number(e);try{if(isNaN(e))return -61;var t=rA(r);if(0>e||0==(2097155&t.flags))throw new rb(28);return rB(t,t.node,e),0}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},G:function(r,e){try{if(0===e)return -28;var t=K("/")+1;if(e<t)return -68;return rr("/",v,r,e),t}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},K:function(r,e){try{return r=V(r),rG(e,rj(r,!0))}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},C:function(r,e,t){try{return e=V(e),e=rZ(r,e),rD(e,t),0}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},J:function(r,e,t,n){try{return e=V(e),e=rZ(r,e,4096&n),rG(t,256&n?rj(e,!0):rj(e))}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},x:function(r,e,t,n){r1=n;try{e=V(e),e=rZ(r,e);var a=n?r2():0;return rW(e,t,a).bb}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},v:function(r,e,t,n){try{if(e=V(e),e=rZ(r,e),0>=n)return -28;var a=rm(e).node;if(!a)throw new rb(44);if(!a.La.eb)throw new rb(28);var i=a.La.eb(a),o=Math.min(n,K(i)),u=w[t+o];return rr(i,v,t,n+1),w[t+o]=u,o}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},u:function(r){try{return r=V(r),rI(r),0}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},f:function(r,e){try{return r=V(r),rG(e,rj(r))}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},r:function(r,e,t){try{if(e=V(e),e=rZ(r,e),t)if(512!==t)return -28;else rI(e);else rz(e);return 0}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},q:function(r,e,t){try{e=V(e),e=rZ(r,e,!0);var n,a,i=Date.now();if(t){var o=_[t>>2]+0x100000000*g[t+4>>2],u=g[t+8>>2];n=0x3fffffff==u?i:0x3ffffffe==u?null:1e3*o+u/1e6,t+=16,o=_[t>>2]+0x100000000*g[t+4>>2],u=g[t+8>>2],a=0x3fffffff==u?i:0x3ffffffe==u?null:1e3*o+u/1e6}else a=n=i;if(null!==(a??n)){r=n;var s=rm(e,{hb:!0}).node;rM(s.La.Xa)(s,{$a:r,Ua:a})}return 0}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},m:()=>L(""),l:()=>{$=!1,r3=0},A:function(r,e){r=new Date(1e3*(r=-0x20000000000000>r||0x20000000000000<r?NaN:Number(r))),g[e>>2]=r.getSeconds(),g[e+4>>2]=r.getMinutes(),g[e+8>>2]=r.getHours(),g[e+12>>2]=r.getDate(),g[e+16>>2]=r.getMonth(),g[e+20>>2]=r.getFullYear()-1900,g[e+24>>2]=r.getDay();var t=r.getFullYear();g[e+28>>2]=(0!=t%4||0==t%100&&0!=t%400?r6:r4)[r.getMonth()]+r.getDate()-1|0,g[e+36>>2]=-(60*r.getTimezoneOffset()),t=new Date(r.getFullYear(),6,1).getTimezoneOffset();var n=new Date(r.getFullYear(),0,1).getTimezoneOffset();g[e+32>>2]=0|(t!=n&&r.getTimezoneOffset()==Math.min(n,t))},y:function(r,e,t,n,a,i,o){a=-0x20000000000000>a||0x20000000000000<a?NaN:Number(a);try{var u=rA(n);if(0!=(2&e)&&0==(2&t)&&2!=(2097155&u.flags)||1==(2097155&u.flags))throw new rb(2);if(!u.Ma.sb)throw new rb(43);if(!r)throw new rb(28);var s=u.Ma.sb(u,r,a,e,t),f=s.tc;return g[i>>2]=s.Ub,_[o>>2]=f,0}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},z:function(r,e,t,n,a,i){i=-0x20000000000000>i||0x20000000000000<i?NaN:Number(i);try{var o=rA(a);if(2&t){if(32768!=(61440&o.node.mode))throw new rb(43);2&n||o.Ma.tb&&o.Ma.tb(o,v.slice(r,r+e),i,e,n)}}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return-r.Pa}},n:(r,e)=>{if(r8[r]&&(clearTimeout(r8[r].id),delete r8[r]),!e)return 0;var t=setTimeout(()=>{delete r8[r];var e=()=>ed(r,performance.now());if(!A)try{e()}catch(r){r5(r)}finally{if(!($||0<r3))try{m=e=m,r7(e)}catch(r){r5(r)}}},e);return r8[r]={id:t,Hc:e},0},B:(r,e,t,n)=>{var a=(new Date).getFullYear(),i=new Date(a,0,1).getTimezoneOffset();a=new Date(a,6,1).getTimezoneOffset(),_[r>>2]=60*Math.max(i,a),g[e>>2]=Number(i!=a),r=(e=r=>{var e=Math.abs(r);return`UTC${0<=r?"-":"+"}${String(Math.floor(e/60)).padStart(2,"0")}${String(e%60).padStart(2,"0")}`})(i),e=e(a),a<i?(rr(r,v,t,17),rr(e,v,n,17)):(rr(r,v,n,17),rr(e,v,t,17))},d:()=>Date.now(),s:()=>0x80000000,c:()=>performance.now(),o:r=>{var e=v.length;if(0x80000000<(r>>>=0))return!1;for(var t=1;4>=t;t*=2){var n=e*(1+.2/t);n=Math.min(n,r+0x6000000);r:{n=(Math.min(0x80000000,65536*Math.ceil(Math.max(r,n)/65536))-ey.buffer.byteLength+65535)/65536|0;try{ey.grow(n),N();var a=1;break r}catch(r){}a=void 0}if(a)return!0}return!1},E:(r,e)=>{var t,n=0,a=0;for(t of er()){var i=e+n;_[r+a>>2]=i,n+=rr(t,v,i,1/0)+1,a+=4}return 0},F:(r,e)=>{var t=er();for(var n of(_[r>>2]=t.length,r=0,t))r+=K(n)+1;return _[e>>2]=r,0},e:function(r){try{var e=rA(r);return rF(e),0}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return r.Pa}},p:function(r,e){try{var t=rA(r);return w[e]=t.Va?2:rE(t.mode)?3:40960==(61440&t.mode)?7:4,y[e+2>>1]=0,k[e+8>>3]=BigInt(0),k[e+16>>3]=BigInt(0),0}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return r.Pa}},w:function(r,e,t,n){try{r:{var a=rA(r);r=e;for(var i,o=e=0;o<t;o++){var u=_[r>>2],s=_[r+4>>2];r+=8;var f=rY(a,w,u,s,i);if(0>f){var l=-1;break r}if(e+=f,f<s)break;void 0!==i&&(i+=f)}l=e}return _[n>>2]=l,0}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return r.Pa}},D:function(r,e,t,n){e=-0x20000000000000>e||0x20000000000000<e?NaN:Number(e);try{if(isNaN(e))return 61;var a=rA(r);return rV(a,e,t),k[n>>3]=BigInt(a.position),a.Eb&&0===e&&0===t&&(a.Eb=null),0}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return r.Pa}},I:function(r){try{var e=rA(r);return e.Ma?.lb?.(e)}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return r.Pa}},t:function(r,e,t,n){try{r:{var a=rA(r);r=e;for(var i,o=e=0;o<t;o++){var u=_[r>>2],s=_[r+4>>2];r+=8;var f=rC(a,w,u,s,i);if(0>f){var l=-1;break r}if(e+=f,f<s)break;void 0!==i&&(i+=f)}l=e}return _[n>>2]=l,0}catch(r){if(void 0===rH||"ErrnoError"!==r.name)throw r;return r.Pa}},k:r7};return!async function(){function r(r){return h._sqlite3_free=(r=a=r.exports).P,h._sqlite3_value_text=r.Q,h._sqlite3_prepare_v2=r.R,h._sqlite3_step=r.S,h._sqlite3_reset=r.T,h._sqlite3_exec=r.U,h._sqlite3_finalize=r.V,h._sqlite3_column_name=r.W,h._sqlite3_column_text=r.X,h._sqlite3_column_type=r.Y,h._sqlite3_errmsg=r.Z,h._sqlite3_clear_bindings=r._,h._sqlite3_value_blob=r.$,h._sqlite3_value_bytes=r.aa,h._sqlite3_value_double=r.ba,h._sqlite3_value_int=r.ca,h._sqlite3_value_type=r.da,h._sqlite3_result_blob=r.ea,h._sqlite3_result_double=r.fa,h._sqlite3_result_error=r.ga,h._sqlite3_result_int=r.ha,h._sqlite3_result_int64=r.ia,h._sqlite3_result_null=r.ja,h._sqlite3_result_text=r.ka,h._sqlite3_aggregate_context=r.la,h._sqlite3_column_count=r.ma,h._sqlite3_data_count=r.na,h._sqlite3_column_blob=r.oa,h._sqlite3_column_bytes=r.pa,h._sqlite3_column_double=r.qa,h._sqlite3_bind_blob=r.ra,h._sqlite3_bind_double=r.sa,h._sqlite3_bind_int=r.ta,h._sqlite3_bind_text=r.ua,h._sqlite3_bind_parameter_index=r.va,h._sqlite3_sql=r.wa,h._sqlite3_normalized_sql=r.xa,h._sqlite3_changes=r.ya,h._sqlite3_close_v2=r.za,h._sqlite3_create_function_v2=r.Aa,h._sqlite3_update_hook=r.Ba,h._sqlite3_open=r.Ca,ec=h._malloc=r.Da,eb=h._free=r.Ea,h._RegisterExtensionFunctions=r.Fa,ep=r.Ga,ed=r.Ha,em=r.Ia,ew=r.Ja,ev=r.Ka,ey=r.M,eg=r.O,N(),z--,h.monitorRunDependencies?.(z),0==z&&j&&(r=j,j=null,r()),a}z++,h.monitorRunDependencies?.(z);var e={a:e_};if(h.instantiateWasm)return new Promise(t=>{h.instantiateWasm(e,(e,n)=>{t(r(e,n))})});rJ??=h.locateFile?h.locateFile("sql-wasm-browser.wasm",p):p+"sql-wasm-browser.wasm",r((await S(e)).instance)}(),!function r(){function e(){if(h.calledRun=!0,!A){if(!h.noFSInit&&!rh){var r,e;rh=!0,r??=h.stdin,e??=h.stdout,t??=h.stderr,r?rX("stdin",r):rU("/dev/tty","/dev/stdin"),e?rX("stdout",null,e):rU("/dev/tty","/dev/stdout"),t?rX("stderr",null,t):rU("/dev/tty1","/dev/stderr"),rW("/dev/stdin",0),rW("/dev/stdout",1),rW("/dev/stderr",1)}if(a.N(),rc=!1,h.onRuntimeInitialized?.(),h.postRun)for("function"==typeof h.postRun&&(h.postRu
1n=[h.postRun]);h.postRun.length;){var t=h.postRun.shift();P.push(t)}D(P)}}if(0<z)j=r;else{if(h.preRun)for("function"==typeof h.preRun&&(h.preRun=[h.preRun]);h.preRun.length;)I();D(U),0<z?j=r:h.setStatus?(h.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>h.setStatus(""),1),e()},1)):e()}}(),i}))};r.exports=a,r.exports.default=a}}]); 2//# sourceMappingURL=1243.7661d0bec8489f0e.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.