1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4747],{3549:function(t,n,i){t=i.nmd(t);var o=void 0,initSqlJs=function(n){return o||(o=new Promise(function(i,o){var s,u=void 0!==n?n:{},l=u.onAbort;u.onAbort=function(t){o(Error(t)),l&&l(t)},u.postRun=u.postRun||[],u.postRun.push(function(){i(u)}),t=void 0;var f=!!globalThis.window,h=!!globalThis.WorkerGlobalScope;(w||=void 0!==u?u:{}).onRuntimeInitialized=function(){function a(t,n){switch(typeof n){case"boolean":rt(t,n?1:0);break;case"number":G(t,n);break;case"string":rr(t,n,-1,-1);break;case"object":if(null===n)K(t);else if(null!=n.length){var i=rN(n.length);q.set(n,i),re(t,i,n.length,-1),rT(i)}else rn(t,"Wrong API use : tried to return a value of an unknown type ("+n+").",-1);break;default:K(t)}}function b(t,n){for(var i=[],o=0;o<t;o+=1){var s=r(n+4*o,"i32"),u=V(s);if(1===u||2===u)s=C(s);else if(3===u)s=Z(s);else if(4===u){s=X(u=s),u=J(u);for(var l=new Uint8Array(s),f=0;f<s;f+=1)l[f]=q[u+f];s=l}else s=null;i.push(s)}return i}function c(t,n){this.Qa=t,this.db=n,this.Oa=1,this.yb=[]}function d(t,n){if(this.db=n,this.ob=ea(t),null===this.ob)throw Error("Unable to allocate memory for the SQL string");this.ub=this.ob,this.gb=this.Fb=null}function e(n){if(this.filename="dbfile_"+(4294967295*Math.random()>>>0),null!=n){var o=this.filename,s="/",u=o;if(s&&(s="string"==typeof s?s:fa(s),u=o?ha(s+"/"+o):s),u=function(t,n=438){return Qb(t,4095&n|32768,0)}(u,o=ia(!0,!0)),n){if("string"==typeof n){s=Array(n.length);for(var l=0,f=n.length;l<f;++l)s[l]=n.charCodeAt(l);n=s}ka(u,146|o),ma(s=la(u,577),n,0,n.length,0),na(s),ka(u,o)}}this.handleError(i(this.filename,t)),this.db=r(t,"i32"),ri(this.db),this.pb={},this.Sa={}}var t=rL(4),n=w.cwrap,i=n("sqlite3_open","number",["string","number"]),o=n("sqlite3_close_v2","number",["number"]),s=n("sqlite3_exec","number",["number","string","number","number","number"]),u=n("sqlite3_changes","number",["number"]),l=n("sqlite3_prepare_v2","number",["number","string","number","number","number"]),f=n("sqlite3_sql","string",["number"]),h=n("sqlite3_normalized_sql","string",["number"]),p=n("sqlite3_prepare_v2","number",["number","number","number","number","number"]),m=n("sqlite3_bind_text","number",["number","number","number","number","number"]),v=n("sqlite3_bind_blob","number",["number","number","number","number","number"]),y=n("sqlite3_bind_double","number",["number","number","number"]),g=n("sqlite3_bind_int","number",["number","number","number"]),_=n("sqlite3_bind_parameter_index","number",["number","string"]),E=n("sqlite3_step","number",["number"]),k=n("sqlite3_errmsg","string",["number"]),N=n("sqlite3_column_count","number",["number"]),R=n("sqlite3_data_count","number",["number"]),L=n("sqlite3_column_double","number",["number","number"]),x=n("sqlite3_column_text","string",["number","number"]),O=n("sqlite3_column_blob","number",["number","number"]),I=n("sqlite3_column_bytes","number",["number","number"]),D=n("sqlite3_column_type","number",["number","number"]),$=n("sqlite3_column_name","string",["number","number"]),j=n("sqlite3_reset","number",["number"]),B=n("sqlite3_clear_bindings","number",["number"]),F=n("sqlite3_finalize","number",["number"]),H=n("sqlite3_create_function_v2","number","number string number number number number number number number".split(" ")),V=n("sqlite3_value_type","number",["number"]),X=n("sqlite3_value_bytes","number",["number"]),Z=n("sqlite3_value_text","string",["number"]),J=n("sqlite3_value_blob","number",["number"]),C=n("sqlite3_value_double","number",["number"]),G=n("sqlite3_result_double","",["number","number"]),K=n("sqlite3_result_null","",["number"]),rr=n("sqlite3_result_text","",["number","string","number","number"]),re=n("sqlite3_result_blob","",["number","number","number","number"]),rt=n("sqlite3_result_int","",["number","number"]),rn=n("sqlite3_result_error","",["number","string","number"]),ra=n("sqlite3_aggregate_context","number",["number","number"]),ri=n("RegisterExtensionFunctions","number",["number"]),ro=n("sqlite3_update_hook","number",["number","number","number"]);c.prototype.bind=function(t){if(!this.Qa)throw"Statement closed";return this.reset(),Array.isArray(t)?this.Wb(t):null==t||"object"!=typeof t||this.Xb(t)},c.prototype.step=function(){if(!this.Qa)throw"Statement closed";this.Oa=1;var t=E(this.Qa);switch(t){case 100:return!0;case 101:return!1;default:throw this.db.handleError(t)}},c.prototype.Pb=function(t){return null==t&&(t=this.Oa,this.Oa+=1),L(this.Qa,t)},c.prototype.hc=function(t){if(null==t&&(t=this.Oa,this.Oa+=1),t=x(this.Qa,t),"function"!=typeof BigInt)throw Error("BigInt is not supported");return BigInt(t)},c.prototype.mc=function(t){return null==t&&(t=this.Oa,this.Oa+=1),x(this.Qa,t)},c.prototype.getBlob=function(t){null==t&&(t=this.Oa,this.Oa+=1);var n=I(this.Qa,t);t=O(this.Qa,t);for(var i=new Uint8Array(n),o=0;o<n;o+=1)i[o]=q[t+o];return i},c.prototype.get=function(t,n){n=n||{},null!=t&&this.bind(t)&&this.step(),t=[];for(var i=R(this.Qa),o=0;o<i;o+=1)switch(D(this.Qa,o)){case 1:var s=n.useBigInt?this.hc(o):this.Pb(o);t.push(s);break;case 2:t.push(this.Pb(o));break;case 3:t.push(this.mc(o));break;case 4:t.push(this.getBlob(o));break;default:t.push(null)}return t},c.prototype.Db=function(){for(var t=[],n=N(this.Qa),i=0;i<n;i+=1)t.push($(this.Qa,i));return t}
1,c.prototype.Ob=function(t,n){t=this.get(t,n),n=this.Db();for(var i={},o=0;o<n.length;o+=1)i[n[o]]=t[o];return i},c.prototype.lc=function(){return f(this.Qa)},c.prototype.ic=function(){return h(this.Qa)},c.prototype.Jb=function(t){return null!=t&&this.bind(t),this.step(),this.reset()},c.prototype.Lb=function(t,n){null==n&&(n=this.Oa,this.Oa+=1),t=ea(t),this.yb.push(t),this.db.handleError(m(this.Qa,n,t,-1,0))},c.prototype.Vb=function(t,n){null==n&&(n=this.Oa,this.Oa+=1);var i=rN(t.length);q.set(t,i),this.yb.push(i),this.db.handleError(v(this.Qa,n,i,t.length,0))},c.prototype.Kb=function(t,n){null==n&&(n=this.Oa,this.Oa+=1),this.db.handleError((t===(0|t)?g:y)(this.Qa,n,t))},c.prototype.Yb=function(t){null==t&&(t=this.Oa,this.Oa+=1),v(this.Qa,t,0,0,0)},c.prototype.Mb=function(t,n){switch(null==n&&(n=this.Oa,this.Oa+=1),typeof t){case"string":this.Lb(t,n);return;case"number":this.Kb(t,n);return;case"bigint":this.Lb(t.toString(),n);return;case"boolean":this.Kb(t+0,n);return;case"object":if(null===t){this.Yb(n);return}if(null!=t.length){this.Vb(t,n);return}}throw"Wrong API use : tried to bind a value of an unknown type ("+t+")."},c.prototype.Xb=function(t){var n=this;return Object.keys(t).forEach(function(i){var o=_(n.Qa,i);0!==o&&n.Mb(t[i],o)}),!0},c.prototype.Wb=function(t){for(var n=0;n<t.length;n+=1)this.Mb(t[n],n+1);return!0},c.prototype.reset=function(){return this.Cb(),0===B(this.Qa)&&0===j(this.Qa)},c.prototype.Cb=function(){for(var t;void 0!==(t=this.yb.pop());)rT(t)},c.prototype.cb=function(){this.Cb();var t=0===F(this.Qa);return delete this.db.pb[this.Qa],this.Qa=0,t},d.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 n=rU(),i=rL(4);pa(t),pa(i);try{this.db.handleError(p(this.db.db,this.ub,-1,t,i)),this.ub=r(i,"i32");var o=r(t,"i32");if(0===o)return this.Ab(),{done:!0};return this.gb=new c(o,this.db),this.db.pb[o]=this.gb,{value:this.gb,done:!1}}catch(t){throw this.Fb=z(this.ub),this.Ab(),t}finally{rz(n)}},d.prototype.Ab=function(){rT(this.ob),this.ob=null},d.prototype.jc=function(){return null!==this.Fb?this.Fb:z(this.ub)},"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator&&(d.prototype[Symbol.iterator]=function(){return this}),e.prototype.Jb=function(n,i){if(!this.db)throw"Database closed";if(i){n=this.Gb(n,i);try{n.step()}finally{n.cb()}}else this.handleError(s(this.db,n,0,0,t));return this},e.prototype.exec=function(n,i,o){if(!this.db)throw"Database closed";var s=null,u=null,l=null;try{l=u=ea(n);var f=rL(4);for(n=[];0!==r(l,"i8");){pa(t),pa(f),this.handleError(p(this.db,l,-1,t,f));var h=r(t,"i32");if(l=r(f,"i32"),0!==h){var m=null;for(s=new c(h,this),null!=i&&s.bind(i);s.step();)null===m&&(m={columns:s.Db(),values:[]},n.push(m)),m.values.push(s.get(null,o));s.cb()}}return n}catch(t){throw s&&s.cb(),t}finally{u&&rT(u)}},e.prototype.ec=function(t,n,i,o,s){"function"==typeof n&&(o=i,i=n,n=void 0),t=this.Gb(t,n);try{for(;t.step();)i(t.Ob(null,s))}finally{t.cb()}if("function"==typeof o)return o()},e.prototype.Gb=function(n,i){if(pa(t),this.handleError(l(this.db,n,-1,t,0)),0===(n=r(t,"i32")))throw"Nothing to prepare";var o=new c(n,this);return null!=i&&o.bind(i),this.pb[n]=o},e.prototype.pc=function(t){return new d(t,this)},e.prototype.fc=function(){Object.values(this.pb).forEach(function(t){t.cb()}),Object.values(this.Sa).forEach(A),this.Sa={},this.handleError(o(this.db));var n,s,u,l=(s=la(n=this.filename,s=s||0),n=Ub(n).size,Yb(s,u=new Uint8Array(n),0,n,0),na(s),u);return this.handleError(i(this.filename,t)),this.db=r(t,"i32"),ri(this.db),l},e.prototype.close=function(){null!==this.db&&(Object.values(this.pb).forEach(function(t){t.cb()}),Object.values(this.Sa).forEach(A),this.Sa={},this.fb&&(A(this.fb),this.fb=void 0),this.handleError(o(this.db)),ta("/"+this.filename),this.db=null)},e.prototype.handleError=function(t){if(0===t)return null;throw Error(t=k(this.db))},e.prototype.kc=function(){return u(this.db)},e.prototype.bc=function(t,n){Object.prototype.hasOwnProperty.call(this.Sa,t)&&(A(this.Sa[t]),delete this.Sa[t]);var i=ua(function(t,i,o){i=b(i,o);try{var s=n.apply(null,i)}catch(n){rn(t,n,-1);return}a(t,s)},"viii");return this.Sa[t]=i,this.handleError(H(this.db,t,n.length,1,0,i,0,0,0)),this},e.prototype.ac=function(t,n){var i=n.init||function(){return null},o=n.finalize||function(t){return t},s=n.step;if(!s)throw"An aggregate function must have a step function in "+t;var u={};Object.hasOwnProperty.call(this.Sa,t)&&(A(this.Sa[t]),delete this.Sa[t]),n=t+"__finalize",Object.hasOwnProperty.call(this.Sa,n)&&(A(this.Sa[n]),delete this.Sa[n]);var l=ua(function(t,n,o){var l=ra(t,1);Object.hasOwnProperty.call(u,l)||(u[l]=i()),n=b(n,o),n=[u[l]].concat(n);try{u[l]=s.apply(null,n)}catch(n){delete u[l],rn(t,n,-1)}},"viii"),f=ua(function(t){var n=ra(t,1);try{var i=o(u[n])}catch(i){delete u[n],rn(t,i,-1);return}a(t,i),delete u[n]},"vi");return this.Sa[t]=l,this.Sa[n]=f,this.handleError(H(this.db,t,s.length-1,1,0,0,l,f,0)),this},e.prototype.vc=function(t){return this.fb&&(ro(this.db,0,0),A(this.fb),this.fb=void 0),t&&(this.fb=ua(function(n,i,o,s,u){switch(i){case 18:n="insert";break;case 23:n="update";break;case 9:n="delete";break;default:throw"unknown operationCode in updateHook callback: "+i}if(o=z(o),s=z(s),u>Number.MAX_SAFE_INTEGER)throw"rowId too big to fit inside a Number";t(n,o,s,Number(u))},"viiiij"),ro(this.db,this.fb,0)),this},c.prototype.bind=c.prototype.bind,c.prototype.step=c.prototype.step,c.prototype.get=c.prototype.get,c.prototype.getColumnNames=c.prototype.Db,c.prototype.getAsObject=c.prototype.Ob,c.prototype.getSQL=c.prototype.lc,c.prototype.getNormalizedSQL=c.prototype.ic,c.prototype.run=c.prototype.Jb,c.prototype.reset=c.prototype.reset,c.prototype.freemem=c.prototype.Cb,c.prototype.free=c.prototype.cb,d.prototype.next=d.prototype.next,d.prototype.getRemainingSQL=d.prototype.jc,e.prototype.run=e.prototype.Jb,e.prototype.exec=e.prototype.exec,e.prototype.each=e.prototype.ec,e.prototype.prepare=e.prototype.Gb,e.prototype.iterateStatements=e.prototype.pc,e.prototype.exp
1ort=e.prototype.fc,e.prototype.close=e.prototype.close,e.prototype.handleError=e.prototype.handleError,e.prototype.getRowsModified=e.prototype.kc,e.prototype.create_function=e.prototype.bc,e.prototype.create_aggregate=e.prototype.ac,e.prototype.updateHook=e.prototype.vc,w.Database=e};var p="./this.program",m=globalThis.document?.currentScript?.src;h&&(m=self.location.href);var w,v,y,g="";if(f||h){try{g=new URL(".",m).href}catch{}h&&(y=t=>{var n=new XMLHttpRequest;return n.open("GET",t,!1),n.responseType="arraybuffer",n.send(null),new Uint8Array(n.response)}),v=async t=>{if((t=await fetch(t,{credentials:"same-origin"})).ok)return t.arrayBuffer();throw Error(t.status+" : "+t.url)}}var _,E,q,k,N,R,L,x,O,I,D=console.log.bind(console),$=console.error.bind(console),j=!1;function Ha(){var t=rx.buffer;q=new Int8Array(t),N=new Int16Array(t),k=new Uint8Array(t),new Uint16Array(t),R=new Int32Array(t),L=new Uint32Array(t),x=new Float32Array(t),O=new Float64Array(t),I=new BigInt64Array(t),new BigUint64Array(t)}function Ja(t){throw w.onAbort?.(t),$(t="Aborted("+t+")"),j=!0,new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info.")}async function Ma(t){if(!_)try{var n=await v(t);return new Uint8Array(n)}catch{}if(t==rh&&_)t=new Uint8Array(_);else if(y)t=y(t);else throw"both async and sync fetching of the wasm failed";return t}async function Na(t,n){try{var i=await Ma(t);return await WebAssembly.instantiate(i,n)}catch(t){$(`failed to asynchronously prepare wasm: ${t}`),Ja(t)}}async function Oa(t){if(!_)try{var n=fetch(rh,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(n,t)}catch(t){$(`wasm streaming compile failed: ${t}`),$("falling back to ArrayBuffer instantiation")}return Na(rh,t)}let Pa=class Pa{name="ExitStatus";constructor(t){this.message=`Program terminated with exit(${t})`,this.status=t}};var Qa=t=>{for(;0<t.length;)t.shift()(w)},B=[],F=[],Ta=()=>{var t=w.preRun.shift();F.push(t)},H=0,V=null;function r(t,n="i8"){switch(n.endsWith("*")&&(n="*"),n){case"i1":case"i8":return q[t];case"i16":return N[t>>1];case"i32":return R[t>>2];case"i64":return I[t>>3];case"float":return x[t>>2];case"double":return O[t>>3];case"*":return L[t>>2];default:Ja(`invalid type for getValue: ${n}`)}}var X=!0;function pa(t){var n="i32";switch(n.endsWith("*")&&(n="*"),n){case"i1":case"i8":q[t]=0;break;case"i16":N[t>>1]=0;break;case"i32":R[t>>2]=0;break;case"i64":I[t>>3]=BigInt(0);break;case"float":x[t>>2]=0;break;case"double":O[t>>3]=0;break;case"*":L[t>>2]=0;break;default:Ja(`invalid type for setValue: ${n}`)}}var Z=new TextDecoder,Xa=(t,n,i,o)=>{if(i=n+i,o)return i;for(;t[n]&&!(n>=i);)++n;return n},z=(t,n,i)=>t?Z.decode(k.subarray(t,Xa(k,t,n,i))):"",Ya=(t,n)=>{for(var i=0,o=t.length-1;0<=o;o--){var s=t[o];"."===s?t.splice(o,1):".."===s?(t.splice(o,1),i++):i&&(t.splice(o,1),i--)}if(n)for(;i;i--)t.unshift("..");return t},ha=t=>{var n="/"===t.charAt(0),i="/"===t.slice(-1);return(t=Ya(t.split("/").filter(t=>!!t),!n).join("/"))||n||(t="."),t&&i&&(t+="/"),(n?"/":"")+t},Za=t=>{var n=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(t).slice(1);return(t=n[0],n=n[1],t||n)?t+(n&&=n.slice(0,-1)):"."},$a=t=>t&&t.match(/([^\/]+|\/)\/*$/)[1],ab=()=>t=>crypto.getRandomValues(t),bb=t=>{(bb=ab())(t)},cb=(...t)=>{for(var n="",i=!1,o=t.length-1;-1<=o&&!i;o--){if("string"!=typeof(i=0<=o?t[o]:"/"))throw TypeError("Arguments to path.resolve must be strings");if(!i)return"";n=i+"/"+n,i="/"===i.charAt(0)}return n=Ya(n.split("/").filter(t=>!!t),!i).join("/"),(i?"/":"")+n||"."},db=t=>{var n=Xa(t,0);return Z.decode(t.buffer?t.subarray(0,n):new Uint8Array(t.slice(0,n)))},J=[],gb=t=>{for(var n=0,i=0;i<t.length;++i){var o=t.charCodeAt(i);127>=o?n++:2047>=o?n+=2:55296<=o&&57343>=o?(n+=4,++i):n+=3}return n},M=(t,n,i,o)=>{if(!(0<o))return 0;var s=i;o=i+o-1;for(var u=0;u<t.length;++u){var l=t.codePointAt(u);if(127>=l){if(i>=o)break;n[i++]=l}else if(2047>=l){if(i+1>=o)break;n[i++]=192|l>>6,n[i++]=128|63&l}else if(65535>=l){if(i+2>=o)break;n[i++]=224|l>>12,n[i++]=128|l>>6&63,n[i++]=128|63&l}else{if(i+3>=o)break;n[i++]=240|l>>18,n[i++]=128|l>>12&63,n[i++]=128|l>>6&63,n[i++]=128|63&l,u++}}return n[i]=0,i-s},C=[];function qb(t,n){C[t]={input:[],output:[],kb:n},rb(t,G)}var G={open(t){var n=C[t.node.nb];
1if(!n)throw new rs(43);t.Va=n,t.seekable=!1},close(t){t.Va.kb.lb(t.Va)},lb(t){t.Va.kb.lb(t.Va)},read(t,n,i,o){if(!t.Va||!t.Va.kb.Qb)throw new rs(60);for(var s=0,u=0;u<o;u++){try{var l=t.Va.kb.Qb(t.Va)}catch(t){throw new rs(29)}if(void 0===l&&0===s)throw new rs(6);if(null==l)break;s++,n[i+u]=l}return s&&(t.node.$a=Date.now()),s},write(t,n,i,o){if(!t.Va||!t.Va.kb.Hb)throw new rs(60);try{for(var s=0;s<o;s++)t.Va.kb.Hb(t.Va,n[i+s])}catch(t){throw new rs(29)}return o&&(t.node.Ua=t.node.Ta=Date.now()),s}},K={Za:null,ab:()=>K.createNode(null,"/",16895,0),createNode(t,n,i,o){if(24576==(61440&i)||4096==(61440&i))throw new rs(63);return K.Za||(K.Za={dir:{node:{Wa:K.La.Wa,Xa:K.La.Xa,mb:K.La.mb,rb:K.La.rb,Tb:K.La.Tb,xb:K.La.xb,vb:K.La.vb,Ib:K.La.Ib,wb:K.La.wb},stream:{Ya:K.Ma.Ya}},file:{node:{Wa:K.La.Wa,Xa:K.La.Xa},stream:{Ya:K.Ma.Ya,read:K.Ma.read,write:K.Ma.write,sb:K.Ma.sb,tb:K.Ma.tb}},link:{node:{Wa:K.La.Wa,Xa:K.La.Xa,eb:K.La.eb},stream:{}},Nb:{node:{Wa:K.La.Wa,Xa:K.La.Xa},stream:rf}}),P((i=wb(t,n,i,o)).mode)?(i.La=K.Za.dir.node,i.Ma=K.Za.dir.stream,i.Na={}):32768==(61440&i.mode)?(i.La=K.Za.file.node,i.Ma=K.Za.file.stream,i.Ra=0,i.Na=null):40960==(61440&i.mode)?(i.La=K.Za.link.node,i.Ma=K.Za.link.stream):8192==(61440&i.mode)&&(i.La=K.Za.Nb.node,i.Ma=K.Za.Nb.stream),i.$a=i.Ua=i.Ta=Date.now(),t&&(t.Na[n]=i,t.$a=t.Ua=t.Ta=i.$a),i},Cc:t=>t.Na?t.Na.subarray?t.Na.subarray(0,t.Ra):new Uint8Array(t.Na):new Uint8Array(0),La:{Wa(t){var n={};return n.cc=8192==(61440&t.mode)?t.id:1,n.oc=t.id,n.mode=t.mode,n.rc=1,n.uid=0,n.nc=0,n.nb=t.nb,P(t.mode)?n.size=4096:32768==(61440&t.mode)?n.size=t.Ra:40960==(61440&t.mode)?n.size=t.link.length:n.size=0,n.$a=new Date(t.$a),n.Ua=new Date(t.Ua),n.Ta=new Date(t.Ta),n.Zb=4096,n.$b=Math.ceil(n.size/n.Zb),n},Xa(t,n){for(var i of["mode","atime","mtime","ctime"])null!=n[i]&&(t[i]=n[i]);void 0!==n.size&&(n=n.size,t.Ra!=n&&(0==n?(t.Na=null,t.Ra=0):(i=t.Na,t.Na=new Uint8Array(n),i&&t.Na.set(i.subarray(0,Math.min(n,t.Ra))),t.Ra=n)))},mb(){throw K.zb||(K.zb=new rs(44),K.zb.stack="<generic error, no stack>"),K.zb},rb:(t,n,i,o)=>K.createNode(t,n,i,o),Tb(t,n,i){try{var o=Q(n,i)}catch(t){}if(o){if(P(t.mode))for(var s in o.Na)throw new rs(55);xb(o)}delete t.parent.Na[t.name],n.Na[i]=t,t.name=i,n.Ta=n.Ua=t.parent.Ta=t.parent.Ua=Date.now()},xb(t,n){delete t.Na[n],t.Ta=t.Ua=Date.now()},vb(t,n){var i,o=Q(t,n);for(i in o.Na)throw new rs(55);delete t.Na[n],t.Ta=t.Ua=Date.now()},Ib:t=>[".","..",...Object.keys(t.Na)],wb:(t,n,i)=>((t=K.createNode(t,n,41471,0)).link=i,t),eb(t){if(40960!=(61440&t.mode))throw new rs(28);return t.link}},Ma:{read(t,n,i,o,s){var u=t.node.Na;if(s>=t.node.Ra)return 0;if(8<(t=Math.min(t.node.Ra-s,o))&&u.subarray)n.set(u.subarray(s,s+t),i);else for(o=0;o<t;o++)n[i+o]=u[s+o];return t},write(t,n,i,o,s,u){if(n.buffer===q.buffer&&(u=!1),!o)return 0;if((t=t.node).Ua=t.Ta=Date.now(),n.subarray&&(!t.Na||t.Na.subarray)){if(u)return t.Na=n.subarray(i,i+o),t.Ra=o;if(0===t.Ra&&0===s)return t.Na=n.slice(i,i+o),t.Ra=o;if(s+o<=t.Ra)return t.Na.set(n.subarray(i,i+o),s),o}u=s+o;var l=t.Na?t.Na.length:0;if(l>=u||(u=Math.max(u,l*(1048576>l?2:1.125)>>>0),0!=l&&(u=Math.max(u,256)),l=t.Na,t.Na=new Uint8Array(u),0<t.Ra&&t.Na.set(l.subarray(0,t.Ra),0)),t.Na.subarray&&n.subarray)t.Na.set(n.subarray(i,i+o),s);else for(u=0;u<o;u++)t.Na[s+u]=n[i+u];return t.Ra=Math.max(t.Ra,s+o),o},Ya(t,n,i){if(1===i?n+=t.position:2===i&&32768==(61440&t.node.mode)&&(n+=t.node.Ra),0>n)throw new rs(28);return n},sb(t,n,i,o,s){if(32768!=(61440&t.node.mode))throw new rs(43);if(t=t.node.Na,2&s||!t||t.buffer!==q.buffer){s=!0;var u=rP(65536,o=65536*Math.ceil(n/65536));if(u&&k.fill(0,u,u+o),!(o=u))throw new rs(48);t&&((0<i||i+n<t.length)&&(t=t.subarray?t.subarray(i,i+n):Array.prototype.slice.call(t,i,i+n)),q.set(t,o))}else s=!1,o=t.byteOffset;return{tc:o,Ub:s}},tb:(t,n,i,o)=>(K.Ma.write(t,n,0,o,i,!1),0)}},ia=(t,n)=>{var i=0;return t&&(i|=365),n&&(i|=146),i},rr=null,re={},rt=[],rn=1,ra=null,ri=!1,ro=!0,rs=class{name="ErrnoError";constructor(t){this.Pa=t}},ru=class{qb={};node=null;get flags(){return this.qb.flags}set flags(t){this.qb.flags=t}get position(){return this.qb.position}set position(t){this.qb.position=t}},rl=class{La={};Ma={};ib=null;constructor(t,n,i,o){t||=this,this.parent=t,this.ab=t.ab,this.id=rn++,this.name=n,this.mode=i,this.nb=o,this.$a=this.Ua=this.Ta=Date.now()}get read(){return 365==(365&this.mode)}set read(t){t?this.mode|=365:this.mode&=-366}get write(){return 146==(146&this.mode)}set write(t){t?this.mode|=146:this.mode&=-147}};function S(t,n={}){if(!t)throw new rs(44);n.Bb??(n.Bb=!0),"/"===t.charAt(0)||(t="//"+t);var i=0;r:for(;40>i;i++){t=t.split("/").filter(t=>!!t);for(var o=rr,s="/",u=0;u<t.length;u++){var l=u===t.length-1;if(l&&n.parent)break;
1if("."!==t[u]){if(".."===t[u]){if(s=Za(s),o===o.parent){t=s+"/"+t.slice(u+1).join("/"),i--;continue r}o=o.parent}else{s=ha(s+"/"+t[u]);try{o=Q(o,t[u])}catch(t){if(44===t?.Pa&&l&&n.sc)return{path:s};throw t}if(o.ib&&(!l||n.Bb)&&(o=o.ib.root),40960==(61440&o.mode)&&(!l||n.hb)){if(!o.La.eb)throw new rs(52);"/"===(o=o.La.eb(o)).charAt(0)||(o=Za(s)+"/"+o),t=o+"/"+t.slice(u+1).join("/");continue r}}}}return{path:s,node:o}}throw new rs(32)}function fa(t){for(var n;;){if(t===t.parent)return t=t.ab.Sb,n?"/"!==t[t.length-1]?`${t}/${n}`:t+n:t;n=n?`${t.name}/${n}`:t.name,t=t.parent}}function Hb(t,n){for(var i=0,o=0;o<n.length;o++)i=(i<<5)-i+n.charCodeAt(o)|0;return(t+i>>>0)%ra.length}function xb(t){var n=Hb(t.parent.id,t.name);if(ra[n]===t)ra[n]=t.jb;else for(n=ra[n];n;){if(n.jb===t){n.jb=t.jb;break}n=n.jb}}function Q(t,n){var i=P(t.mode)?(i=Ib(t,"x"))?i:t.La.mb?0:2:54;if(i)throw new rs(i);for(i=ra[Hb(t.id,n)];i;i=i.jb){var o=i.name;if(i.parent.id===t.id&&o===n)return i}return t.La.mb(t,n)}function wb(t,n,i,o){return n=Hb((t=new rl(t,n,i,o)).parent.id,t.name),t.jb=ra[n],ra[n]=t}function P(t){return 16384==(61440&t)}function Ib(t,n){return ro?0:n.includes("r")&&!(292&t.mode)||n.includes("w")&&!(146&t.mode)||n.includes("x")&&!(73&t.mode)?2:0}function Jb(t,n){if(!P(t.mode))return 54;try{return Q(t,n),20}catch(t){}return Ib(t,"wx")}function Kb(t,n,i){try{var o=Q(t,n)}catch(t){return t.Pa}if(t=Ib(t,"wx"))return t;if(i){if(!P(o.mode))return 54;if(o===o.parent||"/"===fa(o))return 10}else if(P(o.mode))return 31;return 0}function Lb(t){if(!t)throw new rs(63);return t}function T(t){if(!(t=rt[t]))throw new rs(8);return t}function Mb(t,n=-1){if(t=Object.assign(new ru,t),-1==n)r:{for(n=0;4096>=n;n++)if(!rt[n])break r;throw new rs(33)}return t.bb=n,rt[n]=t}function Ob(t,n,i){var o=t?.Ma.Xa;t=o?t:n,Lb(o??=n.La.Xa),o(t,i)}var rf={open(t){t.Ma=re[t.node.nb].Ma,t.Ma.open?.(t)},Ya(){throw new rs(70)}};function rb(t,n){re[t]={Ma:n}}function Pb(t,n){var i="/"===n;if(i&&rr)throw new rs(10);if(!i&&n){var o=S(n,{Bb:!1});if(n=o.path,(o=o.node).ib)throw new rs(10);if(!P(o.mode))throw new rs(54)}n={type:t,Gc:{},Sb:n,qc:[]},(t=t.ab(n)).ab=n,n.root=t,i?rr=t:o&&(o.ib=n,o.ab&&o.ab.qc.push(n))}function Qb(t,n,i){var o=S(t,{parent:!0}).node;if(!(t=$a(t)))throw new rs(28);if("."===t||".."===t)throw new rs(20);var s=Jb(o,t);if(s)throw new rs(s);if(!o.La.rb)throw new rs(63);return o.La.rb(o,t,n,i)}function U(t,n=511){return Qb(t,1023&n|16384,0)}function Rb(t,n,i){void 0===i&&(i=n,n=438),Qb(t,8192|n,i)}function Sb(t,n){if(!cb(t))throw new rs(44);var i=S(n,{parent:!0}).node;if(!i)throw new rs(44);var o=Jb(i,n=$a(n));if(o)throw new rs(o);if(!i.La.wb)throw new rs(63);i.La.wb(i,n,t)}function Tb(t){var n=S(t,{parent:!0}).node,i=Q(n,t=$a(t)),o=Kb(n,t,!0);if(o)throw new rs(o);if(!n.La.vb)throw new rs(63);if(i.ib)throw new rs(10);n.La.vb(n,t),xb(i)}function ta(t){var n=S(t,{parent:!0}).node;if(!n)throw new rs(44);var i=Q(n,t=$a(t)),o=Kb(n,t,!1);if(o)throw new rs(o);if(!n.La.xb)throw new rs(63);if(i.ib)throw new rs(10);n.La.xb(n,t),xb(i)}function Ub(t,n){return Lb((t=S(t,{hb:!n}).node).La.Wa)(t)}function Vb(t,n,i,o){Ob(t,n,{mode:4095&i|-4096&n.mode,Ta:Date.now(),dc:o})}function ka(t,n){Vb(null,t="string"==typeof t?S(t,{hb:!0}).node:t,n)}function Wb(t,n,i){if(P(n.mode))throw new rs(31);if(32768!=(61440&n.mode))throw new rs(28);var o=Ib(n,"w");if(o)throw new rs(o);Ob(t,n,{size:i,timestamp:Date.now()})}function la(t,n,i=438){if(""===t)throw new rs(44);if("string"==typeof n){var o={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[n];if(void 0===o)throw Error(`Unknown file open mode: ${n}`);n=o}if(i=64&n?4095&i|32768:0,"object"==typeof t)o=t;else{var s=t.endsWith("/"),u=S(t,{hb:!(131072&n),sc:!0});o=u.node,t=u.path}if(u=!1,64&n){if(o){if(128&n)throw new rs(20)}else{if(s)throw new rs(31);o=Qb(t,511|i,0),u=!0}}if(!o)throw new rs(44);if(8192==(61440&o.mode)&&(n&=-513),65536&n&&!P(o.mode))throw new rs(54);if(!u&&(o?40960==(61440&o.mode)?s=32:(s=["r","w","rw"][3&n],512&n&&(s+="w"),s=P(o.mode)&&("r"!==s||576&n)?31:Ib(o,s)):s=44,s))throw new rs(s);return 512&n&&!u&&Wb(null,s="string"==typeof(s=o)?S(s,{hb:!0}).node:s,0),(n=Mb({node:o,path:fa(o),flags:-131713&n,seekable:!0,position:0,Ma:o.Ma,uc:[],error:!1})).Ma.open&&n.Ma.open(n),u&&ka(o,511&i),n}function na(t){if(null===t.bb)throw new rs(8);t.Eb&&(t.Eb=null);try{t.Ma.close&&t.Ma.close(t)}catch(t){throw t}finally{rt[t.bb]=null}t.bb=null}function Xb(t,n,i){if(null===t.bb)throw new rs(8);if(!t.seekable||!t.Ma.Ya)throw new rs(70);if(0!=i&&1!=i&&2!=i)throw new rs(28);t.position=t.Ma.Ya(t,n,i),t.uc=[]}
1function Yb(t,n,i,o,s){if(0>o||0>s)throw new rs(28);if(null===t.bb||1==(2097155&t.flags))throw new rs(8);if(P(t.node.mode))throw new rs(31);if(!t.Ma.read)throw new rs(28);var u=void 0!==s;if(u){if(!t.seekable)throw new rs(70)}else s=t.position;return n=t.Ma.read(t,n,i,o,s),u||(t.position+=n),n}function ma(t,n,i,o,s){if(0>o||0>s)throw new rs(28);if(null===t.bb||0==(2097155&t.flags))throw new rs(8);if(P(t.node.mode))throw new rs(31);if(!t.Ma.write)throw new rs(28);t.seekable&&1024&t.flags&&Xb(t,0,2);var u=void 0!==s;if(u){if(!t.seekable)throw new rs(70)}else s=t.position;return n=t.Ma.write(t,n,i,o,s,void 0),u||(t.position+=n),n}function W(t,n,i){t=ha("/dev/"+t);var o=ia(!!n,!!i);W.Rb??(W.Rb=64);var s=W.Rb++<<8|0;rb(s,{open(t){t.seekable=!1},close(){i?.buffer?.length&&i(10)},read(t,i,o,s){for(var u=0,l=0;l<s;l++){try{var f=n()}catch(t){throw new rs(29)}if(void 0===f&&0===u)throw new rs(6);if(null==f)break;u++,i[o+l]=f}return u&&(t.node.$a=Date.now()),u},write(t,n,o,s){for(var u=0;u<s;u++)try{i(n[o+u])}catch(t){throw new rs(29)}return s&&(t.node.Ua=t.node.Ta=Date.now()),u}}),Rb(t,o,s)}var rc={};function Y(t,n,i){if("/"===n.charAt(0))return n;if(t=-100===t?"/":T(t).path,0==n.length){if(!i)throw new rs(44);return t}return t+"/"+n}function Zb(t,n){L[t>>2]=n.cc,L[t+4>>2]=n.mode,L[t+8>>2]=n.rc,L[t+12>>2]=n.uid,L[t+16>>2]=n.nc,L[t+20>>2]=n.nb,I[t+24>>3]=BigInt(n.size),R[t+32>>2]=4096,R[t+36>>2]=n.$b;var i=n.$a.getTime(),o=n.Ua.getTime(),s=n.Ta.getTime();return I[t+40>>3]=BigInt(Math.floor(i/1e3)),L[t+48>>2]=i%1e3*1e6,I[t+56>>3]=BigInt(Math.floor(o/1e3)),L[t+64>>2]=o%1e3*1e6,I[t+72>>3]=BigInt(Math.floor(s/1e3)),L[t+80>>2]=s%1e3*1e6,I[t+88>>3]=BigInt(n.oc),0}var rh,rp,rd,rm=void 0,Ac=()=>{var t=R[+rm>>2];return rm+=4,t},rw=0,rv=[0,31,60,91,121,152,182,213,244,274,305,335],ry=[0,31,59,90,120,151,181,212,243,273,304,334],rg={},Gc=t=>{if(!(t instanceof Pa||"unwind"==t))throw t},Hc=t=>{throw E=t,X||0<rw||(w.onExit?.(t),j=!0),new Pa(t)},Ic=t=>{if(!j)try{t()}catch(t){Gc(t)}finally{if(!(X||0<rw))try{E=t=E,Hc(t)}catch(t){Gc(t)}}},r_={},Lc=()=>{if(!rp){var t,n={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(globalThis.navigator?.language??"C").replace("-","_")+".UTF-8",_:p||"./this.program"};for(t in r_)void 0===r_[t]?delete n[t]:n[t]=r_[t];var i=[];for(t in n)i.push(`${t}=${n[t]}`);rp=i}return rp},Mc=(t,n,i,o)=>{var s,u={string:t=>{var n=0;if(null!=t&&0!==t){n=gb(t)+1;var i=rL(n);M(t,k,i,n),n=i}return n},array:t=>{var n=rL(t.length);return q.set(t,n),n}};t=w["_"+t];var l=[],f=0;if(o)for(var h=0;h<o.length;h++){var p=u[i[h]];p?(0===f&&(f=rU()),l[h]=p(o[h])):l[h]=o[h]}return s=i=t(...l),0!==f&&rz(f),i="string"===n?z(s):"boolean"===n?!!s:s},ea=t=>{var n=gb(t)+1,i=rN(n);return i&&M(t,k,i,n),i},rE=[],A=t=>{rd.delete(rO.get(t)),rO.set(t,null),rE.push(t)},Pc=t=>{let n=t.length;return[n%128|128,n>>7,...t]},rq={i:127,p:127,j:126,f:125,d:124,e:111},Rc=t=>Pc(Array.from(t,t=>rq[t])),ua=(t,n)=>{if(!rd){rd=new WeakMap;var i=rO.length;if(rd)for(var o=0;o<0+i;o++){var s=rO.get(o);s&&rd.set(s,o)}}if(i=rd.get(t)||0)return i;i=rE.length?rE.pop():rO.grow(1);try{rO.set(i,t)}catch(o){if(!(o instanceof TypeError))throw o;n=Uint8Array.of(0,97,115,109,1,0,0,0,1,...Pc([1,96,...Rc(n.slice(1)),...Rc("v"===n[0]?"":n[0])]),2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0),n=new WebAssembly.Module(n),n=new WebAssembly.Instance(n,{e:{f:t}}).exports.f,rO.set(i,n)}return rd.set(t,i),i};if(ra=Array(4096),Pb(K,"/"),U("/tmp"),U("/home"),U("/home/web_user"),U("/dev"),rb(259,{read:()=>0,write:(t,n,i,o)=>o,Ya:()=>0}),Rb("/dev/null",259),qb(1280,{Qb(){r:{if(!J.length){var t=null;if(globalThis.window?.prompt&&null!==(t=window.prompt("Input: "))&&(t+="\n"),!t){var n=null;break r}n=Array(gb(t)+1),t=M(t,n,0,n.length),n.length=t,J=n}n=J.shift()}return n},Hb(t,n){null===n||10===n?(D(db(t.output)),t.output=[]):0!=n&&t.output.push(n)},lb(t){0<t.output?.length&&(D(db(t.output)),t.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]}),qb(1536,{Hb(t,n){null===n||10===n?($(db(t.output)),t.output=[]):0!=n&&t.output.push(n)},lb(t){0<t.output?.length&&($(db(t.output)),t.output=[])}}),Rb("/dev/tty",1280),Rb("/dev/tty1",1536),rk=new Uint8Array(1024),rM=0,W("random",rA=()=>(0===rM&&(bb(rk),rM=rk.byteLength),rk[--rM])),W("urandom",rA),U("/dev/shm"),U("/dev/shm/tmp"),U("/proc"),rS=U("/proc/self"),U("/proc/self/fd"),Pb({ab(){var t=wb(rS,"fd",16895,73);return t.Ma={Ya:K.Ma.Ya},t.La={mb(t,n){var i=T(t=+n);return(t={parent:null,ab:{Sb:"fake"},La:{eb:()=>i.path},id:t+1}).parent=t},Ib:()=>Array.from(rt.entries()).filter(([,t])=>t).map(([t])=>t.toString())},t}},"/proc/self/fd"),w.noExitRuntime&&(X=w.noExitRuntime),w.print&&(D=w.print),w.printErr&&($=w.printErr),w.wasmBinary&&(_=w.wasmBinary),w.thisProgram&&(p=w.thisProgram),w.preInit)for("function"==typeof w.preInit&&(w.preInit=[w.preInit]);0<w.preInit.length;)w.preInit.shift()();w.stackSave=()=>rU(),w.stackRestore=t=>rz(t),w.stackAlloc=t=>rL(t),w.cwrap=(t,n,i,o)=>{var s=!i||i.every(t=>"number"===t||"boolean"===t);
1return"string"!==n&&s&&!o?w["_"+t]:(...o)=>Mc(t,n,i,o)},w.addFunction=ua,w.removeFunction=A,w.UTF8ToString=z,w.stringToNewUTF8=ea,w.writeArrayToMemory=(t,n)=>{q.set(t,n)};var rk,rM,rA,rS,rN,rT,rP,rR,rz,rL,rU,rx,rO,rI={a:(t,n,i,o)=>Ja(`Assertion failed: ${z(t)}, at: `+[n?z(n):"unknown filename",i,o?z(o):"unknown function"]),i:function(t,n){try{return t=z(t),ka(t,n),0}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},L:function(t,n,i){try{if(n=z(n),n=Y(t,n),-8&i)return -28;var o=S(n,{hb:!0}).node;if(!o)return -44;return t="",4&i&&(t+="r"),2&i&&(t+="w"),1&i&&(t+="x"),t&&Ib(o,t)?-2:0}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},j:function(t,n){try{var i=T(t);return Vb(i,i.node,n,!1),0}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},h:function(t){try{var n=T(t);return Ob(n,n.node,{timestamp:Date.now(),dc:!1}),0}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},b:function(t,n,i){rm=i;try{var o=T(t);switch(n){case 0:var s=Ac();if(0>s)break;for(;rt[s];)s++;return function(t,n=-1){return t=Mb(t,n),t.Ma?.Bc?.(t),t}(o,s).bb;case 1:case 2:case 13:case 14:return 0;case 3:return o.flags;case 4:return s=Ac(),o.flags|=s,0;case 12:return N[(s=Ac())+0>>1]=2,0}return -28}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},g:function(t,n){try{var i=T(t),o=i.node,s=i.Ma.Wa;t=s?i:o,s??=o.La.Wa,Lb(s);var u=s(t);return Zb(n,u)}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},H:function(t,n){n=-9007199254740992>n||9007199254740992<n?NaN:Number(n);try{if(isNaN(n))return -61;var i=T(t);if(0>n||0==(2097155&i.flags))throw new rs(28);return Wb(i,i.node,n),0}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},G:function(t,n){try{if(0===n)return -28;var i=gb("/")+1;if(n<i)return -68;return M("/",k,t,n),i}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},K:function(t,n){try{return t=z(t),Zb(n,Ub(t,!0))}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},C:function(t,n,i){try{return n=z(n),n=Y(t,n),U(n,i),0}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},J:function(t,n,i,o){try{n=z(n);var s=256&o;return n=Y(t,n,4096&o),Zb(i,s?Ub(n,!0):Ub(n))}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},x:function(t,n,i,o){rm=o;try{n=z(n),n=Y(t,n);var s=o?Ac():0;return la(n,i,s).bb}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},v:function(t,n,i,o){try{if(n=z(n),n=Y(t,n),0>=o)return -28;var s=S(n).node;if(!s)throw new rs(44);if(!s.La.eb)throw new rs(28);var u=s.La.eb(s),l=Math.min(o,gb(u)),f=q[i+l];return M(u,k,i,o+1),q[i+l]=f,l}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},u:function(t){try{return t=z(t),Tb(t),0}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},f:function(t,n){try{return t=z(t),Zb(n,Ub(t))}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},r:function(t,n,i){try{if(n=z(n),n=Y(t,n),i){if(512!==i)return -28;Tb(n)}else ta(n);return 0}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},q:function(t,n,i){try{n=z(n),n=Y(t,n,!0);var o,s,u=Date.now();if(i){var l=L[i>>2]+4294967296*R[i+4>>2],f=R[i+8>>2];o=1073741823==f?u:1073741822==f?null:1e3*l+f/1e6,i+=16,l=L[i>>2]+4294967296*R[i+4>>2],f=R[i+8>>2],s=1073741823==f?u:1073741822==f?null:1e3*l+f/1e6}else s=o=u;if(null!==(s??o)){t=o;var h=S(n,{hb:!0}).node;Lb(h.La.Xa)(h,{$a:t,Ua:s})}return 0}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},m:()=>Ja(""),l:()=>{X=!1,rw=0},A:function(t,n){t=-9007199254740992>t||9007199254740992<t?NaN:Number(t),t=new Date(1e3*t),R[n>>2]=t.getSeconds(),R[n+4>>2]=t.getMinutes(),R[n+8>>2]=t.getHours(),R[n+12>>2]=t.getDate(),R[n+16>>2]=t.getMonth(),R[n+20>>2]=t.getFullYear()-1900,R[n+24>>2]=t.getDay();var i=t.getFullYear();R[n+28>>2]=(0!=i%4||0==i%100&&0!=i%400?ry:rv)[t.getMonth()]+t.getDate()-1|0,R[n+36>>2]=-(60*t.getTimezoneOffset()),i=new Date(t.getFullYear(),6,1).getTimezoneOffset();var o=new Date(t.getFullYear(),0,1).getTimezoneOffset();R[n+32>>2]=0|(i!=o&&t.getTimezoneOffset()==Math.min(o,i))},y:function(t,n,i,o,s,u,l){s=-9007199254740992>s||9007199254740992<s?NaN:Number(s);try{var f=T(o);if(0!=(2&n)&&0==(2&i)&&2!=(2097155&f.flags)||1==(2097155&f.flags))throw new rs(2);if(!f.Ma.sb)throw new rs(43);if(!t)throw new rs(28);var h=f.Ma.sb(f,t,s,n,i),p=h.tc;return R[u>>2]=h.Ub,L[l>>2]=p,0}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},z:function(t,n,i,o,s,u){u=-9007199254740992>u||9007199254740992<u?NaN:Number(u);try{var l=T(s);if(2&i){if(32768!=(61440&l.node.mode))throw new rs(43);2&o||l.Ma.tb&&l.Ma.tb(l,k.slice(t,t+n),u,n,o)}}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return-t.Pa}},n:(t,n)=>{if(rg[t]&&(clearTimeout(rg[t].id),delete rg[t]),!n)return 0;var i=setTimeout(()=>{delete rg[t],Ic(()=>rR(t,performance.now()))},n);return rg[t]={id:i,Hc:n},0},B:(t,n,i,o)=>{var s=(new Date).getFullYear(),u=new Date(s,0,1).getTimezoneOffset();s=new Date(s,6,1).getTimezoneOffset(),L[t>>2]=60*Math.max(u,s),R[n>>2]=Number(u!=s),t=(n=t=>{var n=Math.abs(t);return`UTC${0<=t?"-":"+"}${String(Math.floor(n/60)).padStart(2,"0")}${String(n%60).padStart(2,"0")}`}
1)(u),n=n(s),s<u?(M(t,k,i,17),M(n,k,o,17)):(M(t,k,o,17),M(n,k,i,17))},d:()=>Date.now(),s:()=>2147483648,c:()=>performance.now(),o:t=>{var n=k.length;if(2147483648<(t>>>=0))return!1;for(var i=1;4>=i;i*=2){var o=n*(1+.2/i);o=Math.min(o,t+100663296);r:{o=(Math.min(2147483648,65536*Math.ceil(Math.max(t,o)/65536))-rx.buffer.byteLength+65535)/65536|0;try{rx.grow(o),Ha();var s=1;break r}catch(t){}s=void 0}if(s)return!0}return!1},E:(t,n)=>{var i,o=0,s=0;for(i of Lc()){var u=n+o;L[t+s>>2]=u,o+=M(i,k,u,1/0)+1,s+=4}return 0},F:(t,n)=>{var i=Lc();for(var o of(L[t>>2]=i.length,t=0,i))t+=gb(o)+1;return L[n>>2]=t,0},e:function(t){try{var n=T(t);return na(n),0}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return t.Pa}},p:function(t,n){try{var i=T(t);return q[n]=i.Va?2:P(i.mode)?3:40960==(61440&i.mode)?7:4,N[n+2>>1]=0,I[n+8>>3]=BigInt(0),I[n+16>>3]=BigInt(0),0}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return t.Pa}},w:function(t,n,i,o){try{r:{var s=T(t);t=n;for(var u,l=n=0;l<i;l++){var f=L[t>>2],h=L[t+4>>2];t+=8;var p=Yb(s,q,f,h,u);if(0>p){var m=-1;break r}if(n+=p,p<h)break;void 0!==u&&(u+=p)}m=n}return L[o>>2]=m,0}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return t.Pa}},D:function(t,n,i,o){n=-9007199254740992>n||9007199254740992<n?NaN:Number(n);try{if(isNaN(n))return 61;var s=T(t);return Xb(s,n,i),I[o>>3]=BigInt(s.position),s.Eb&&0===n&&0===i&&(s.Eb=null),0}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return t.Pa}},I:function(t){try{var n=T(t);return n.Ma?.lb?.(n)}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return t.Pa}},t:function(t,n,i,o){try{r:{var s=T(t);t=n;for(var u,l=n=0;l<i;l++){var f=L[t>>2],h=L[t+4>>2];t+=8;var p=ma(s,q,f,h,u);if(0>p){var m=-1;break r}if(n+=p,p<h)break;void 0!==u&&(u+=p)}m=n}return L[o>>2]=m,0}catch(t){if(void 0===rc||"ErrnoError"!==t.name)throw t;return t.Pa}},k:Hc};return!async function(){function a(t){return t=s=t.exports,w._sqlite3_free=t.P,w._sqlite3_value_text=t.Q,w._sqlite3_prepare_v2=t.R,w._sqlite3_step=t.S,w._sqlite3_reset=t.T,w._sqlite3_exec=t.U,w._sqlite3_finalize=t.V,w._sqlite3_column_name=t.W,w._sqlite3_column_text=t.X,w._sqlite3_column_type=t.Y,w._sqlite3_errmsg=t.Z,w._sqlite3_clear_bindings=t._,w._sqlite3_value_blob=t.$,w._sqlite3_value_bytes=t.aa,w._sqlite3_value_double=t.ba,w._sqlite3_value_int=t.ca,w._sqlite3_value_type=t.da,w._sqlite3_result_blob=t.ea,w._sqlite3_result_double=t.fa,w._sqlite3_result_error=t.ga,w._sqlite3_result_int=t.ha,w._sqlite3_result_int64=t.ia,w._sqlite3_result_null=t.ja,w._sqlite3_result_text=t.ka,w._sqlite3_aggregate_context=t.la,w._sqlite3_column_count=t.ma,w._sqlite3_data_count=t.na,w._sqlite3_column_blob=t.oa,w._sqlite3_column_bytes=t.pa,w._sqlite3_column_double=t.qa,w._sqlite3_bind_blob=t.ra,w._sqlite3_bind_double=t.sa,w._sqlite3_bind_int=t.ta,w._sqlite3_bind_text=t.ua,w._sqlite3_bind_parameter_index=t.va,w._sqlite3_sql=t.wa,w._sqlite3_normalized_sql=t.xa,w._sqlite3_changes=t.ya,w._sqlite3_close_v2=t.za,w._sqlite3_create_function_v2=t.Aa,w._sqlite3_update_hook=t.Ba,w._sqlite3_open=t.Ca,rN=w._malloc=t.Da,rT=w._free=t.Ea,w._RegisterExtensionFunctions=t.Fa,rP=t.Ga,rR=t.Ha,rz=t.Ia,rL=t.Ja,rU=t.Ka,rx=t.M,rO=t.O,Ha(),H--,w.monitorRunDependencies?.(H),0==H&&V&&(t=V,V=null,t()),s}H++,w.monitorRunDependencies?.(H);var t={a:rI};if(w.instantiateWasm)return new Promise(n=>{w.instantiateWasm(t,(t,i)=>{n(a(t,i))})});rh??=w.locateFile?w.locateFile("sql-wasm-browser.wasm",g):g+"sql-wasm-browser.wasm",a((await Oa(t)).instance)}(),!function Uc(){function a(){if(w.calledRun=!0,!j){if(!w.noFSInit&&!ri){var t,n;ri=!0,t??=w.stdin,n??=w.stdout,i??=w.stderr,t?W("stdin",t):Sb("/dev/tty","/dev/stdin"),n?W("stdout",null,n):Sb("/dev/tty","/dev/stdout"),i?W("stderr",null,i):Sb("/dev/tty1","/dev/stderr"),la("/dev/stdin",0),la("/dev/stdout",1),la("/dev/stderr",1)}if(s.N(),ro=!1,w.onRuntimeInitialized?.(),w.postRun)for("function"==typeof w.postRun&&(w.postRun=[w.postRun]);w.postRun.length;){var i=w.postRun.shift();B.push(i)}Qa(B)}}if(0<H)V=Uc;else{if(w.preRun)for("function"==typeof w.preRun&&(w.preRun=[w.preRun]);w.preRun.length;)Ta();Qa(F),0<H?V=Uc:w.setStatus?(w.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>w.setStatus(""),1),a()},1)):a()}}(),u}))};t.exports=initSqlJs,t.exports.default=initSqlJs},2166:function(t,n,i){"use strict";i.d(n,{Q1:function(){return E}});var o=ArrayBuffer,s=Uint8Array,u=Uint16Array,l=Int16Array,f=Int32Array,slc=function(t,n,i){if(s.prototype.slice)return s.prototype.slice.call(t,n,i);(null==n||n<0)&&(n=0),(null==i||i>t.length)&&(i=t.length);var o=new s(i-n);return o.set(t.subarray(n,i)),o},fill=function(t,n,i,o){if(s.prototype.fill)return s.prototype.fill.call(t,n,i,o);for((null==i||i<0)&&(i=0),(null==o||o>t.length)&&(o=t.length);i<o;++i)t[i]=n;return t},cpw=function(t,n,i,o){if(s.prototype.copyWithin)return s.prototype.copyWithin.call(t,n,i,o);for((null==i||i<0)&&(i=0),(null==o||o>t.length)&&(o=t.length);i<o;)t[n++]=t[i++]},h=["invalid zstd data","window size too large (>
12046MB)","invalid block type","FSE accuracy too high","match distance too far back","unexpected EOF"],err=function(t,n,i){var o=Error(n||h[t]);if(o.code=t,Error.captureStackTrace&&Error.captureStackTrace(o,err),!i)throw o;return o},rb=function(t,n,i){for(var o=0,s=0;o<i;++o)s|=t[n++]<<(o<<3);return s},rzfh=function(t,n){var i=t[0]|t[1]<<8|t[2]<<16;if(3126568==i&&253==t[3]){var o=t[4],u=o>>5&1,l=3&o,h=o>>6;8&o&&err(0);var p=6-u,m=3==l?4:l,w=rb(t,p,m),v=h?1<<h:u,y=rb(t,p+=m,v)+(1==h&&256),g=y;if(!u){var _=1<<10+(t[5]>>3);g=_+(_>>3)*(7&t[5])}g>2145386496&&err(1);var E=new s((1==n?y||g:n?0:g)+12);return E[0]=1,E[4]=4,E[8]=8,{b:p+v,y:0,l:0,d:w,w:n&&1!=n?n:E.subarray(12),e:g,o:new f(E.buffer,0,3),u:y,c:o>>2&1,m:Math.min(131072,g)}}if((i>>4|t[3]<<20)==25481893)return((t[4]|t[5]<<8|t[6]<<16|t[7]<<24)>>>0)+8;err(0)},msb=function(t){for(var n=0;1<<n<=t;++n);return n-1},rfse=function(t,n,i){var f=(n<<3)+4,h=(15&t[n])+5;h>i&&err(3);for(var p=1<<h,m=p,w=-1,v=-1,y=-1,g=p,_=new o(512+(p<<2)),E=new l(_,0,256),q=new u(_,0,256),k=new u(_,512,p),N=512+(p<<1),R=new s(_,N,p),L=new s(_,N+p);w<255&&m>0;){var x=msb(m+1),O=f>>3,I=(1<<x+1)-1,D=(t[O]|t[O+1]<<8|t[O+2]<<16)>>(7&f)&I,$=(1<<x)-1,j=I-m-1,B=D&$;if(B<j?(f+=x,D=B):(f+=x+1,D>$&&(D-=j)),E[++w]=--D,-1==D?(m+=D,R[--g]=w):m-=D,!D)do{var F=f>>3;v=(t[F]|t[F+1]<<8)>>(7&f)&3,f+=2,w+=v}while(3==v)}(w>255||m)&&err(0);for(var H=0,V=(p>>1)+(p>>3)+3,X=p-1,Z=0;Z<=w;++Z){var J=E[Z];if(J<1){q[Z]=-J;continue}for(y=0;y<J;++y){R[H]=Z;do H=H+V&X;while(H>=g)}}for(H&&err(0),y=0;y<p;++y){var C=q[R[y]]++,G=L[y]=h-msb(C);k[y]=(C<<G)-p}return[f+7>>3,{b:h,s:R,n:L,t:k}]},rhu=function(t,n){var i=0,o=-1,l=new s(292),f=t[n],h=l.subarray(0,256),p=l.subarray(256,268),m=new u(l.buffer,268);if(f<128){var w=rfse(t,n+1,6),v=w[0],y=w[1],g=v<<3,_=t[n+=f];_||err(0);for(var E=0,q=0,k=y.b,N=k,R=(++n<<3)-8+msb(_);!((R-=k)<g);){var L=R>>3;if(E+=(t[L]|t[L+1]<<8)>>(7&R)&(1<<k)-1,h[++o]=y.s[E],(R-=N)<g)break;q+=(t[L=R>>3]|t[L+1]<<8)>>(7&R)&(1<<N)-1,h[++o]=y.s[q],k=y.n[E],E=y.t[E],N=y.n[q],q=y.t[q]}++o>255&&err(0)}else{for(o=f-127;i<o;i+=2){var x=t[++n];h[i]=x>>4,h[i+1]=15&x}++n}var O=0;for(i=0;i<o;++i){var I=h[i];I>11&&err(0),O+=I&&1<<I-1}var D=msb(O)+1,$=1<<D,j=$-O;for(j&j-1&&err(0),h[o++]=msb(j)+1,i=0;i<o;++i){var I=h[i];++p[h[i]=I&&D+1-I]}var B=new s($<<1),F=B.subarray(0,$),H=B.subarray($);for(m[D]=0,i=D;i>0;--i){var V=m[i];fill(H,i,V,m[i-1]=V+p[i]*(1<<D-i))}for(m[0]!=$&&err(0),i=0;i<o;++i){var X=h[i];if(X){var Z=m[X];fill(F,i,Z,m[X]=Z+(1<<D-X))}}return[n,{n:H,b:D,s:F}]},p=rfse(new s([81,16,99,140,49,198,24,99,12,33,196,24,99,102,102,134,70,146,4]),0,6)[1],m=rfse(new s([33,20,196,24,99,140,33,132,16,66,8,33,132,16,66,8,33,68,68,68,68,68,68,68,68,36,9]),0,6)[1],w=rfse(new s([32,132,16,66,102,70,68,68,68,68,36,73,2]),0,5)[1],b2bl=function(t,n){for(var i=t.length,o=new f(i),s=0;s<i;++s)o[s]=n,n+=1<<t[s];return o},v=new s(new f([0,0,0,0,16843009,50528770,134678020,202050057,269422093]).buffer,0,36),y=b2bl(v,0),g=new s(new f([0,0,0,0,0,0,0,0,16843009,50528770,117769220,185207048,252579084,16]).buffer,0,53),_=b2bl(g,3),dhu=function(t,n,i){var o=t.length,s=n.length,u=t[o-1],l=(1<<i.b)-1,f=-i.b;u||err(0);for(var h=0,p=i.b,m=(o<<3)-8+msb(u)-p,w=-1;m>f&&w<s;){var v=m>>3;h=(h<<p|(t[v]|t[v+1]<<8|t[v+2]<<16)>>(7&m))&l,n[++w]=i.s[h],m-=p=i.n[h]}(m!=f||w+1!=s)&&err(0)},dhu4=function(t,n,i){var o=6,s=n.length+3>>2,u=s<<1,l=s+u;dhu(t.subarray(o,o+=t[0]|t[1]<<8),n.subarray(0,s),i),dhu(t.subarray(o,o+=t[2]|t[3]<<8),n.subarray(s,u),i),dhu(t.subarray(o,o+=t[4]|t[5]<<8),n.subarray(u,l),i),dhu(t.subarray(o),n.subarray(l),i)},rzb=function(t,n,i){var o,l=n.b,f=t[l],h=f>>1&3;n.l=1&f;var E=f>>3|t[l+1]<<5|t[l+2]<<13,q=(l+=3)+E;if(1==h)return l>=t.length?void 0:(n.b=l+1,i)?(fill(i,t[l],n.y,n.y+=E),i):fill(new s(E),t[l]);if(!(q>t.length)){if(0==h)return(n.b=q,i)?(i.set(t.subarray(l,q),n.y),n.y+=E,i):slc(t,l,q);if(2==h){var k=t[l],N=3&k,R=k>>2&3,L=k>>4,x=0,O=0;N<2?1&R?L|=t[++l]<<4|(2&R&&t[++l]<<12):L=k>>3:(O=R,R<2?(L|=(63&t[++l])<<4,x=t[l]>>6|t[++l]<<2):2==R?(L|=t[++l]<<4|(3&t[++l])<<12,x=t[l]>>2|t[++l]<<6):(L|=t[++l]<<4|(63&t[++l])<<12,x=t[l]>>6|t[++l]<<2|t[++l]<<10)),++l;var I=i?i.subarray(n.y,n.y+n.m):new s(n.m),D=I.length-L;if(0==N)I.set(t.subarray(l,l+=L),D);else if(1==N)fill(I,t[l++],D);else{var $=n.h;if(2==N){var j=rhu(t,l);x+=l-(l=j[0]),n.h=$=j[1]}else $||err(0);(O?dhu4:dhu)(t.subarray(l,l+=x),I.subarray(D),$)}var B=t[l++];if(B){255==B?B=(t[l++]|t[l++]<<8)+32512:B>127&&(B=B-128<<8|t[l++]);var F=t[l++];3&F&&err(0);for(var H=[m,w,p],V=2;V>-1;--V){var X=F>>(V<<1)+2&3;if(1==X){var Z=new s([0,0,t[l++]]);H[V]={s:Z.subarray(2,3),n:Z.subarray(0,1),t:new u(Z.buffer,0,1),b:0}}else 2==X?(l=(o=rfse(t,l,9-(1&V)))[0],H[V]=o[1]):3==X&&(n.t||err(0),H[V]=n.t[V])}var J=n.t=H,C=J[0],G=J[1],K=J[2],rr=t[q-1];rr||err(0);var re=(q<<3)-8+msb(rr)-K.b,rt=re>>
13,rn=0,ra=(t[rt]|t[rt+1]<<8)>>(7&re)&(1<<K.b)-1,ri=(t[rt=(re-=G.b)>>3]|t[rt+1]<<8)>>(7&re)&(1<<G.b)-1,ro=(t[rt=(re-=C.b)>>3]|t[rt+1]<<8)>>(7&re)&(1<<C.b)-1;for(++B;--B;){var rs=K.s[ra],ru=K.n[ra],rl=C.s[ro],rf=C.n[ro],rc=G.s[ri],rh=G.n[ri];rt=(re-=rc)>>3;var rp=1<<rc,rd=rp+((t[rt]|t[rt+1]<<8|t[rt+2]<<16|t[rt+3]<<24)>>>(7&re)&rp-1);rt=(re-=g[rl])>>3;var rm=_[rl]+((t[rt]|t[rt+1]<<8|t[rt+2]<<16)>>(7&re)&(1<<g[rl])-1);rt=(re-=v[rs])>>3;var rw=y[rs]+((t[rt]|t[rt+1]<<8|t[rt+2]<<16)>>(7&re)&(1<<v[rs])-1);if(rt=(re-=ru)>>3,ra=K.t[ra]+((t[rt]|t[rt+1]<<8)>>(7&re)&(1<<ru)-1),rt=(re-=rf)>>3,ro=C.t[ro]+((t[rt]|t[rt+1]<<8)>>(7&re)&(1<<rf)-1),rt=(re-=rh)>>3,ri=G.t[ri]+((t[rt]|t[rt+1]<<8)>>(7&re)&(1<<rh)-1),rd>3)n.o[2]=n.o[1],n.o[1]=n.o[0],n.o[0]=rd-=3;else{var rv=rd-(0!=rw);rv?(rd=3==rv?n.o[0]-1:n.o[rv],rv>1&&(n.o[2]=n.o[1]),n.o[1]=n.o[0],n.o[0]=rd):rd=n.o[0]}for(var V=0;V<rw;++V)I[rn+V]=I[D+V];rn+=rw,D+=rw;var ry=rn-rd;if(ry<0){var rg=-ry,r_=n.e+ry;rg>rm&&(rg=rm);for(var V=0;V<rg;++V)I[rn+V]=n.w[r_+V];rn+=rg,rm-=rg,ry=0}for(var V=0;V<rm;++V)I[rn+V]=I[ry+V];rn+=rm}if(rn!=D)for(;D<I.length;)I[rn++]=I[D++];else rn=I.length;i?n.y+=rn:I=slc(I,0,rn)}else if(i){if(n.y+=L,D)for(var V=0;V<L;++V)I[V]=I[D+V]}else D&&(I=slc(I,D));return n.b=q,I}err(2)}},cct=function(t,n){if(1==t.length)return t[0];for(var i=new s(n),o=0,u=0;o<t.length;++o){var l=t[o];i.set(l,u),u+=l.length}return i},E=function(){function Decompress(t){this.ondata=t,this.c=[],this.l=0,this.z=0}return Decompress.prototype.push=function(t,n){if("number"==typeof this.s){var i=Math.min(t.length,this.s);t=t.subarray(i),this.s-=i}var o=t.length+this.l;if(!this.s){if(n){if(!o){this.ondata(new s(0),!0);return}o<5&&err(5)}else if(o<18){this.c.push(t),this.l=o;return}if(this.l&&(this.c.push(t),t=cct(this.c,o),this.c=[],this.l=0),"number"==typeof(this.s=rzfh(t)))return this.push(t,n)}if("number"!=typeof this.s){if(o<(this.z||3)||(this.l&&(this.c.push(t),t=cct(this.c,o),this.c=[],this.l=0),!this.z&&o<(this.z=2&t[this.s.b]?4:3+(t[this.s.b]>>3|t[this.s.b+1]<<5|t[this.s.b+2]<<13)))){n&&err(5),this.c.push(t),this.l=o;return}for(this.z=0;;){var u=rzb(t,this.s);if(u)this.ondata(u,!1),cpw(this.s.w,0,u.length),this.s.w.set(u,this.s.w.length-u.length);else{n&&err(5);var l=t.subarray(this.s.b);this.s.b=0,this.c.push(l),this.l+=l.length;return}if(this.s.l){var f=t.subarray(this.s.b);this.s=4*this.s.c,this.push(f,n);return}}}else n&&err(5)},Decompress}()}}]);
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.