@hpcc-js/wasm
Advanced tools
Comparing version 2.16.0 to 2.16.1
@@ -1,2 +0,2 @@ | ||
var r=ArrayBuffer,e=Uint8Array,t=Uint16Array,n=Int16Array,o=Int32Array,a=function(r,t,n){if(e.prototype.slice)return e.prototype.slice.call(r,t,n);(null==t||t<0)&&(t=0),(null==n||n>r.length)&&(n=r.length);var o=new e(n-t);return o.set(r.subarray(t,n)),o},i=function(r,t,n,o){if(e.prototype.fill)return e.prototype.fill.call(r,t,n,o);for((null==n||n<0)&&(n=0),(null==o||o>r.length)&&(o=r.length);n<o;++n)r[n]=t;return r},s=function(r,t,n,o){if(e.prototype.copyWithin)return e.prototype.copyWithin.call(r,t,n,o);for((null==n||n<0)&&(n=0),(null==o||o>r.length)&&(o=r.length);n<o;)r[t++]=r[n++]},c=["invalid zstd data","window size too large (>2046MB)","invalid block type","FSE accuracy too high","match distance too far back","unexpected EOF"],_=function(r,e,t){var n=new Error(e||c[r]);if(n.code=r,Error.captureStackTrace&&Error.captureStackTrace(n,_),!t)throw n;return n},u=function(r,e,t){for(var n=0,o=0;n<t;++n)o|=r[e++]<<(n<<3);return o},f=function(r,t){var n,a,i=r[0]|r[1]<<8|r[2]<<16;if(3126568==i&&253==r[3]){var s=r[4],c=s>>5&1,f=s>>2&1,p=3&s,l=s>>6;8&s&&_(0);var h=6-c,y=3==p?4:p,d=u(r,h,y),b=l?1<<l:c,v=u(r,h+=y,b)+(1==l&&256),m=v;if(!c){var w=1<<10+(r[5]>>3);m=w+(w>>3)*(7&r[5])}m>2145386496&&_(1);var g=new e((1==t?v||m:t?0:m)+12);return g[0]=1,g[4]=4,g[8]=8,{b:h+b,y:0,l:0,d:d,w:t&&1!=t?t:g.subarray(12),e:m,o:new o(g.buffer,0,3),u:v,c:f,m:Math.min(131072,m)}}if(25481893==(i>>4|r[3]<<20))return 8+(((n=r)[a=4]|n[a+1]<<8|n[a+2]<<16|n[a+3]<<24)>>>0);_(0)},p=function(r){for(var e=0;1<<e<=r;++e);return e-1},l=function(o,a,i){var s=4+(a<<3),c=5+(15&o[a]);c>i&&_(3);for(var u=1<<c,f=u,l=-1,h=-1,y=-1,d=u,b=new r(512+(u<<2)),v=new n(b,0,256),m=new t(b,0,256),w=new t(b,512,u),g=512+(u<<1),C=new e(b,g,u),E=new e(b,g+u);l<255&&f>0;){var A=p(f+1),B=s>>3,U=(1<<A+1)-1,P=(o[B]|o[B+1]<<8|o[B+2]<<16)>>(7&s)&U,x=(1<<A)-1,W=U-f-1,j=P&x;if(j<W?(s+=A,P=j):(s+=A+1,P>x&&(P-=W)),v[++l]=--P,-1==P?(f+=P,C[--d]=l):f-=P,!P)do{var k=s>>3;h=(o[k]|o[k+1]<<8)>>(7&s)&3,s+=2,l+=h}while(3==h)}(l>255||f)&&_(0);for(var z=0,I=(u>>1)+(u>>3)+3,S=u-1,H=0;H<=l;++H){var O=v[H];if(O<1)m[H]=-O;else for(y=0;y<O;++y){C[z]=H;do{z=z+I&S}while(z>=d)}}for(z&&_(0),y=0;y<u;++y){var X=m[C[y]]++,G=E[y]=c-p(X);w[y]=(X<<G)-u}return[s+7>>3,{b:c,s:C,n:E,t:w}]},h=l(new e([81,16,99,140,49,198,24,99,12,33,196,24,99,102,102,134,70,146,4]),0,6)[1],y=l(new e([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],d=l(new e([32,132,16,66,102,70,68,68,68,68,36,73,2]),0,5)[1],b=function(r,e){for(var t=r.length,n=new o(t),a=0;a<t;++a)n[a]=e,e+=1<<r[a];return n},v=new e(new o([0,0,0,0,16843009,50528770,134678020,202050057,269422093]).buffer,0,36),m=b(v,0),w=new e(new o([0,0,0,0,0,0,0,0,16843009,50528770,117769220,185207048,252579084,16]).buffer,0,53),g=b(w,3),C=function(r,e,t){var n=r.length,o=e.length,a=r[n-1],i=(1<<t.b)-1,s=-t.b;a||_(0);for(var c=0,u=t.b,f=(n<<3)-8+p(a)-u,l=-1;f>s&&l<o;){var h=f>>3;c=(c<<u|(r[h]|r[h+1]<<8|r[h+2]<<16)>>(7&f))&i,e[++l]=t.s[c],f-=u=t.n[c]}f==s&&l+1==o||_(0)},E=function(r,e,t){var n=6,o=e.length+3>>2,a=o<<1,i=o+a;C(r.subarray(n,n+=r[0]|r[1]<<8),e.subarray(0,o),t),C(r.subarray(n,n+=r[2]|r[3]<<8),e.subarray(o,a),t),C(r.subarray(n,n+=r[4]|r[5]<<8),e.subarray(a,i),t),C(r.subarray(n),e.subarray(i),t)},A=function(r,n,o){var s,c=n.b,u=r[c],f=u>>1&3;n.l=1&u;var b=u>>3|r[c+1]<<5|r[c+2]<<13,A=(c+=3)+b;if(1==f){if(c>=r.length)return;return n.b=c+1,o?(i(o,r[c],n.y,n.y+=b),o):i(new e(b),r[c])}if(!(A>r.length)){if(0==f)return n.b=A,o?(o.set(r.subarray(c,A),n.y),n.y+=b,o):a(r,c,A);if(2==f){var B=r[c],U=3&B,P=B>>2&3,x=B>>4,W=0,j=0;U<2?1&P?x|=r[++c]<<4|(2&P&&r[++c]<<12):x=B>>3:(j=P,P<2?(x|=(63&r[++c])<<4,W=r[c]>>6|r[++c]<<2):2==P?(x|=r[++c]<<4|(3&r[++c])<<12,W=r[c]>>2|r[++c]<<6):(x|=r[++c]<<4|(63&r[++c])<<12,W=r[c]>>6|r[++c]<<2|r[++c]<<10)),++c;var k=o?o.subarray(n.y,n.y+n.m):new e(n.m),z=k.length-x;if(0==U)k.set(r.subarray(c,c+=x),z);else if(1==U)i(k,r[c++],z);else{var I=n.h;if(2==U){var S=function(r,n){var o=0,a=-1,s=new e(292),c=r[n],u=s.subarray(0,256),f=s.subarray(256,268),h=new t(s.buffer,268);if(c<128){var y=l(r,n+1,6),d=y[0],b=y[1],v=d<<3,m=r[n+=c];m||_(0);for(var w=0,g=0,C=b.b,E=C,A=(++n<<3)-8+p(m);!((A-=C)<v);){var B=A>>3;if(w+=(r[B]|r[B+1]<<8)>>(7&A)&(1<<C)-1,u[++a]=b.s[w],(A-=E)<v)break;g+=(r[B=A>>3]|r[B+1]<<8)>>(7&A)&(1<<E)-1,u[++a]=b.s[g],C=b.n[w],w=b.t[w],E=b.n[g],g=b.t[g]}++a>255&&_(0)}else{for(a=c-127;o<a;o+=2){var U=r[++n];u[o]=U>>4,u[o+1]=15&U}++n}var P=0;for(o=0;o<a;++o)(k=u[o])>11&&_(0),P+=k&&1<<k-1;var x=p(P)+1,W=1<<x,j=W-P;for(j&j-1&&_(0),u[a++]=p(j)+1,o=0;o<a;++o){var k=u[o];++f[u[o]=k&&x+1-k]}var z=new e(W<<1),I=z.subarray(0,W),S=z.subarray(W);for(h[x]=0,o=x;o>0;--o){var H=h[o];i(S,o,H,h[o-1]=H+f[o]*(1<<x-o))}for(h[0]!=W&&_(0),o=0;o<a;++o){var O=u[o];if(O){var X=h[O];i(I,o,X,h[O]=X+(1<<x-O))}}return[n,{n:S,b:x,s:I}]}(r,c);W+=c-(c=S[0]),n.h=I=S[1]}else I||_(0);(j?E:C)(r.subarray(c,c+=W),k.subarray(z),I)}var H=r[c++];if(H){255==H?H=32512+(r[c++]|r[c++]<<8):H>127&&(H=H-128<<8|r[c++]);var O=r[c++];3&O&&_(0);for(var X=[y,d,h],G=2;G>-1;--G){var D=O>>2+(G<<1)&3;if(1==D){var K=new e([0,0,r[c++]]);X[G]={s:K.subarray(2,3),n:K.subarray(0,1),t:new t(K.buffer,0,1),b:0}}else 2==D?(c=(s=l(r,c,9-(1&G)))[0],X[G]=s[1]):3==D&&(n.t||_(0),X[G]=n.t[G])}var Y=n.t=X,R=Y[0],T=Y[1],$=Y[2],N=r[A-1];N||_(0);var L=(A<<3)-8+p(N)-$.b,Z=L>>3,q=0,J=(r[Z]|r[Z+1]<<8)>>(7&L)&(1<<$.b)-1,M=(r[Z=(L-=T.b)>>3]|r[Z+1]<<8)>>(7&L)&(1<<T.b)-1,Q=(r[Z=(L-=R.b)>>3]|r[Z+1]<<8)>>(7&L)&(1<<R.b)-1;for(++H;--H;){var V=$.s[J],F=$.n[J],rr=R.s[Q],er=R.n[Q],tr=T.s[M],nr=T.n[M],or=1<<tr,ar=or+((r[Z=(L-=tr)>>3]|r[Z+1]<<8|r[Z+2]<<16|r[Z+3]<<24)>>>(7&L)&or-1);Z=(L-=w[rr])>>3;var ir=g[rr]+((r[Z]|r[Z+1]<<8|r[Z+2]<<16)>>(7&L)&(1<<w[rr])-1);Z=(L-=v[V])>>3;var sr=m[V]+((r[Z]|r[Z+1]<<8|r[Z+2]<<16)>>(7&L)&(1<<v[V])-1);if(Z=(L-=F)>>3,J=$.t[J]+((r[Z]|r[Z+1]<<8)>>(7&L)&(1<<F)-1),Z=(L-=er)>>3,Q=R.t[Q]+((r[Z]|r[Z+1]<<8)>>(7&L)&(1<<er)-1),Z=(L-=nr)>>3,M=T.t[M]+((r[Z]|r[Z+1]<<8)>>(7&L)&(1<<nr)-1),ar>3)n.o[2]=n.o[1],n.o[1]=n.o[0],n.o[0]=ar-=3;else{var cr=ar-(0!=sr);cr?(ar=3==cr?n.o[0]-1:n.o[cr],cr>1&&(n.o[2]=n.o[1]),n.o[1]=n.o[0],n.o[0]=ar):ar=n.o[0]}for(G=0;G<sr;++G)k[q+G]=k[z+G];z+=sr;var _r=(q+=sr)-ar;if(_r<0){var ur=-_r,fr=n.e+_r;ur>ir&&(ur=ir);for(G=0;G<ur;++G)k[q+G]=n.w[fr+G];q+=ur,ir-=ur,_r=0}for(G=0;G<ir;++G)k[q+G]=k[_r+G];q+=ir}if(q!=z)for(;z<k.length;)k[q++]=k[z++];else q=k.length;o?n.y+=q:k=a(k,0,q)}else if(o){if(n.y+=x,z)for(G=0;G<x;++G)k[G]=k[z+G]}else z&&(k=a(k,z));return n.b=A,k}_(2)}},B=function(r,t){if(1==r.length)return r[0];for(var n=new e(t),o=0,a=0;o<r.length;++o){var i=r[o];n.set(i,a),a+=i.length}return n};const U='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!#$%&()*+,./:;<=>?@[]^_`{|}~"';function P(r){const e=function(r){const e=r.length,t=[];let n=0,o=0,a=-1;for(let i=0;i<e;i++){const e=U.indexOf(r[i]);if(-1!==e)if(a<0)a=e;else{a+=91*e,n|=a<<o,o+=(8191&a)>88?13:14;do{t.push(255&n),n>>=8,o-=8}while(o>7);a=-1}}return a>-1&&t.push(255&(n|a<<o)),new Uint8Array(t)}(r);return function(r,e){for(var t=0,n=[],o=+!e,a=0;r.length;){var i=f(r,o||e);if("object"==typeof i){for(o?(e=null,i.w.length==i.u&&(n.push(e=i.w),a+=i.u)):(n.push(e),i.e=0);!i.l;){var c=A(r,i,e);c||_(5),e?i.e=i.y:(n.push(c),a+=c.length,s(i.w,0,c.length),i.w.set(c,i.w.length-c.length))}t=i.b+4*i.c}else t=i;r=r.subarray(t)}return B(n,a)}(e)}var x=("undefined"!=typeof document&&document.currentScript&&document.currentScript.src,function(r={}){var e,t,n=r;n.ready=new Promise(((r,n)=>{e=r,t=n}));var o=Object.assign({},n),a=!1;console.log.bind(console);var i,s,c=console.error.bind(console);Object.assign(n,o),o=null,n.wasmBinary&&(i=n.wasmBinary),"object"!=typeof WebAssembly&&b("no native wasm support detected");var _,u=!1;function f(){var r=s.buffer;n.HEAP8=new Int8Array(r),n.HEAP16=new Int16Array(r),n.HEAPU8=_=new Uint8Array(r),n.HEAPU16=new Uint16Array(r),n.HEAP32=new Int32Array(r),n.HEAPU32=new Uint32Array(r),n.HEAPF32=new Float32Array(r),n.HEAPF64=new Float64Array(r)}var p=[],l=[],h=[],y=0,d=null;function b(r){c(r="Aborted("+r+")"),u=!0,r+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(r);throw t(e),e}var v,m=r=>r.startsWith("data:application/octet-stream;base64,"),w=r=>r.startsWith("file://");function g(r){if(r==v&&i)return new Uint8Array(i);throw"both async and sync fetching of the wasm failed"}function C(r,e,t){return function(r){return i||!a||"function"!=typeof fetch||w(r)?Promise.resolve().then((()=>g(r))):fetch(r,{credentials:"same-origin"}).then((e=>{if(!e.ok)throw`failed to load wasm binary file at '${r}'`;return e.arrayBuffer()})).catch((()=>g(r)))}(r).then((r=>WebAssembly.instantiate(r,e))).then((r=>r)).then(t,(r=>{c(`failed to asynchronously prepare wasm: ${r}`),b(r)}))}m(v="base91lib.wasm")||(v=""+v);var E=r=>{for(;r.length>0;)r.shift()(n)},A=r=>{var e=(r-s.buffer.byteLength+65535)/65536;try{return s.grow(e),f(),1}catch(r){}},B="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,U=(r,e)=>r?((r,e,t)=>{for(var n=e+t,o=e;r[o]&&!(o>=n);)++o;if(o-e>16&&r.buffer&&B)return B.decode(r.subarray(e,o));for(var a="";e<o;){var i=r[e++];if(128&i){var s=63&r[e++];if(192!=(224&i)){var c=63&r[e++];if((i=224==(240&i)?(15&i)<<12|s<<6|c:(7&i)<<18|s<<12|c<<6|63&r[e++])<65536)a+=String.fromCharCode(i);else{var _=i-65536;a+=String.fromCharCode(55296|_>>10,56320|1023&_)}}else a+=String.fromCharCode((31&i)<<6|s)}else a+=String.fromCharCode(i)}return a})(_,r,e):"",P={a:()=>{b("")},b:r=>{var e=_.length,t=2147483648;if((r>>>=0)>t)return!1;for(var n,o,a=1;a<=4;a*=2){var i=e*(1+.2/a);i=Math.min(i,r+100663296);var s=Math.min(t,(n=Math.max(r,i))+((o=65536)-n%o)%o);if(A(s))return!0}return!1}},x=function(){var r,e,n,o;function a(r,e){var t;return x=r.exports,s=x.c,f(),t=x.d,l.unshift(t),function(r){if(0==--y&&d){var e=d;d=null,e()}}(),x}return y++,(r=i,e=v,n={a:P},o=function(r){a(r.instance)},r||"function"!=typeof WebAssembly.instantiateStreaming||m(e)||w(e)||"function"!=typeof fetch?C(e,n,o):fetch(e,{credentials:"same-origin"}).then((r=>WebAssembly.instantiateStreaming(r,n).then(o,(function(r){return c(`wasm streaming compile failed: ${r}`),c("falling back to ArrayBuffer instantiation"),C(e,n,o)}))))).catch(t),{}}();n._webidl_free=r=>(n._webidl_free=x.e)(r),n._webidl_malloc=r=>(n._webidl_malloc=x.f)(r);var W,j=n._emscripten_bind_VoidPtr___destroy___0=r=>(j=n._emscripten_bind_VoidPtr___destroy___0=x.g)(r),k=n._emscripten_bind_CBasE91_CBasE91_0=()=>(k=n._emscripten_bind_CBasE91_CBasE91_0=x.h)(),z=n._emscripten_bind_CBasE91_malloc_1=r=>(z=n._emscripten_bind_CBasE91_malloc_1=x.i)(r),I=n._emscripten_bind_CBasE91_free_1=r=>(I=n._emscripten_bind_CBasE91_free_1=x.j)(r),S=n._emscripten_bind_CBasE91_version_0=r=>(S=n._emscripten_bind_CBasE91_version_0=x.k)(r),H=n._emscripten_bind_CBasE91_reset_0=r=>(H=n._emscripten_bind_CBasE91_reset_0=x.l)(r),O=n._emscripten_bind_CBasE91_encode_3=(r,e,t,o)=>(O=n._emscripten_bind_CBasE91_encode_3=x.m)(r,e,t,o),X=n._emscripten_bind_CBasE91_encode_end_1=(r,e)=>(X=n._emscripten_bind_CBasE91_encode_end_1=x.n)(r,e),G=n._emscripten_bind_CBasE91_decode_3=(r,e,t,o)=>(G=n._emscripten_bind_CBasE91_decode_3=x.o)(r,e,t,o),D=n._emscripten_bind_CBasE91_decode_end_1=(r,e)=>(D=n._emscripten_bind_CBasE91_decode_end_1=x.p)(r,e),K=n._emscripten_bind_CBasE91___destroy___0=r=>(K=n._emscripten_bind_CBasE91___destroy___0=x.q)(r);function Y(){y>0||(E(p),y>0||W||(W=!0,n.calledRun=!0,u||(E(l),e(n),E(h))))}function R(){}function T(r){return(r||R).__cache__}function $(r,e){var t=T(e),n=t[r];return n||((n=Object.create((e||R).prototype)).ptr=r,t[r]=n)}function N(){throw"cannot construct a VoidPtr, no constructor in IDL"}function L(){this.ptr=k(),T(L)[this.ptr]=this}return n.UTF8ToString=U,d=function r(){W||Y(),W||(d=r)},Y(),R.prototype=Object.create(R.prototype),R.prototype.constructor=R,R.prototype.__class__=R,R.__cache__={},n.WrapperObject=R,n.getCache=T,n.wrapPointer=$,n.castObject=function(r,e){return $(r.ptr,e)},n.NULL=$(0),n.destroy=function(r){if(!r.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";r.__destroy__(),delete T(r.__class__)[r.ptr]},n.compare=function(r,e){return r.ptr===e.ptr},n.getPointer=function(r){return r.ptr},n.getClass=function(r){return r.__class__},N.prototype=Object.create(R.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},n.VoidPtr=N,N.prototype.__destroy__=N.prototype.__destroy__=function(){var r=this.ptr;j(r)},L.prototype=Object.create(R.prototype),L.prototype.constructor=L,L.prototype.__class__=L,L.__cache__={},n.CBasE91=L,L.prototype.malloc=L.prototype.malloc=function(r){return r&&"object"==typeof r&&(r=r.ptr),z(r)},L.prototype.free=L.prototype.free=function(r){r&&"object"==typeof r&&(r=r.ptr),I(r)},L.prototype.version=L.prototype.version=function(){var r=this.ptr;return U(S(r))},L.prototype.reset=L.prototype.reset=function(){var r=this.ptr;H(r)},L.prototype.encode=L.prototype.encode=function(r,e,t){var n=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),O(n,r,e,t)},L.prototype.encode_end=L.prototype.encode_end=function(r){var e=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),X(e,r)},L.prototype.decode=L.prototype.decode=function(r,e,t){var n=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),G(n,r,e,t)},L.prototype.decode_end=L.prototype.decode_end=function(r){var e=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),D(e,r)},L.prototype.__destroy__=L.prototype.__destroy__=function(){var r=this.ptr;K(r)},r.ready});let W,j,k;class z{constructor(r,e){this._module=r,this._exports=e}malloc_heapu8(r){return{ptr:this._exports.malloc(r),size:r}}free_heapu8(r){this._exports.free(r.ptr)}uint8_heapu8(r){const e=this.malloc_heapu8(r.byteLength);return this._module.HEAPU8.set(r,e.ptr),e}heapu8_view(r){return this._module.HEAPU8.subarray(r.ptr,r.ptr+r.size)}heapu8_uint8(r){return new Uint8Array([...this.heapu8_view(r)])}string_heapu8(r){const e=Uint8Array.from(r,(r=>r.charCodeAt(0)));return this.uint8_heapu8(e)}heapu8_string(r){const e=Array.from({length:r.size});return this._module.HEAPU8.subarray(r.ptr,r.ptr+r.size).forEach(((r,t)=>{e[t]=String.fromCharCode(r)})),e.join("")}}class I extends z{constructor(r){super(r,new r.CBasE91)}static load(){return k||(k=(j||(j=P('v7#aT)d=G[2Aymr6WVpIKbLFoIbx0IaEGHRsNRKK_,PzlE?I.aMvt.%jpII31}sV/)tXLa7erzui{}a~4c@W:dHX,q$!NTRs|7SPaX5Jfm^Ym+3=Dd;h0"PC=Ro.O`2^2.y*;v)?OKE2lrKW)5qvy+DYyZ^EGZQf%v^aB~Xjzk(^^/(nOX=aLQF]o}?>VcttowP~p%Kcy7xp<!]#WYBa1])s<NH/k#I:9eHRC8H+[%E,Prx7||Yh1sR0Yx/|)`kuiZL__s@/;w[8<#hXVr5~,dD}&jj{bap&/b/DrQg,1:/;m#y}P6cCS%|zMWiT|zCsIEfyQbrdI/w5q}Y;Sj#%QXtXGcVJJh"V(6;k"op{,B}!xh4EAu=rO`s9@f<]wrs&.4T~~f>B*i,pTM6X).ZiZd"3+d8CHSB}z`B/DO9G~[+zf3I/{`%GE7,:Ph1&9*;Ne@riCpb5}VyrPTo*~)Y:Cd49V%i09ZHgOFeQmG&ZaxbN$Sm~>m{Uqa2UthwCp0LX6j)<!cz@ZcA:5:jm.YmJEQPu6o6k9j;fH]+x2GV.ldW6J.:Y0z"7/vvRd6~nHk$eFKu#**P^g^&=42xo&j&18R1M5OejBb1M6wASZUdZej..8*sU,#D`~2K>qhhux;e%x.B0RO.2%>rwLJ{#{Pz>DskPqvtUfXu[XnP)Uso*59h|LqT5nR|r&0|&d6i[3SSR,/R6?tJS,/fMQ%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}nidioemL;G64JfQe2U#8+CYEl,Ay?Y%[RTQJXQ]ZNkD/e>/Pj1k]%|`u|nOW[)FWWVZ]kWyc79,Hz*$1Ga6=0d];7..}8Wv]e6e:XMGR%FI+v$tD)":;|%DPU`OtCUyAIyj@^hc7|G6Od2i.U=Jwtr6K%~P1xz^p]u$sV9MLBI}FHc4UJ^WkQnx~)U2vanqB:v7v_yYO2:A4U`:"W1t$E|[%+9ZaC!w(+gn#cIP=~tt!1Zr?fU`x,N,<asDLKK.}h/t?4~$046lR=&dI&KLT|LNCa8R,hfRfAqOv;g0lGoM_3wg3h;/LtoN>iy2,$T0!?~_:sL<K;|c62+22!D|e@N/{4"I{ce5])|n*e?T)a9O5iSh.vbE0Qk3"z&}]ibxhn~s|ts2?|en[5?=a_dc9xhPPg>o6<Xx|8REW$"o~e2|sk>c=kxg*X}3INY9M#WH8%"S<F1fBH.2OvUX6DvT2kr%Mm;v:_@X3_5p@$<SK<7n`8sMlT`t#ypH+Q#@Pj8Q9t@iIm*1t[$[4u{1rg>yM/sB')),W||(W=x({wasmBinary:j,locateFile:void 0})),W).then((r=>new I(r)))),k}static unload(){W&&(W=void 0)}version(){return this._exports.version()}encode(r){this._exports.reset();const e=this.uint8_heapu8(r),t=this.malloc_heapu8(e.size+Math.ceil(e.size/4));t.size=this._exports.encode(e.ptr,e.size,t.ptr);let n=this.heapu8_string(t);return t.size=this._exports.encode_end(t.ptr),n+=this.heapu8_string(t),this.free_heapu8(t),this.free_heapu8(e),n}decode(r){this._exports.reset();const e=this.string_heapu8(r),t=this.malloc_heapu8(e.size);t.size=this._exports.decode(e.ptr,e.size,t.ptr);let n=this.heapu8_uint8(t);return t.size=this._exports.decode_end(t.ptr),n=new Uint8Array([...n,...this.heapu8_view(t)]),this.free_heapu8(t),this.free_heapu8(e),n}}export{I as Base91}; | ||
var r=ArrayBuffer,e=Uint8Array,t=Uint16Array,n=Int16Array,o=Int32Array,a=function(r,t,n){if(e.prototype.slice)return e.prototype.slice.call(r,t,n);(null==t||t<0)&&(t=0),(null==n||n>r.length)&&(n=r.length);var o=new e(n-t);return o.set(r.subarray(t,n)),o},i=function(r,t,n,o){if(e.prototype.fill)return e.prototype.fill.call(r,t,n,o);for((null==n||n<0)&&(n=0),(null==o||o>r.length)&&(o=r.length);n<o;++n)r[n]=t;return r},s=function(r,t,n,o){if(e.prototype.copyWithin)return e.prototype.copyWithin.call(r,t,n,o);for((null==n||n<0)&&(n=0),(null==o||o>r.length)&&(o=r.length);n<o;)r[t++]=r[n++]},c=["invalid zstd data","window size too large (>2046MB)","invalid block type","FSE accuracy too high","match distance too far back","unexpected EOF"],_=function(r,e,t){var n=new Error(e||c[r]);if(n.code=r,Error.captureStackTrace&&Error.captureStackTrace(n,_),!t)throw n;return n},u=function(r,e,t){for(var n=0,o=0;n<t;++n)o|=r[e++]<<(n<<3);return o},f=function(r,t){var n,a,i=r[0]|r[1]<<8|r[2]<<16;if(3126568==i&&253==r[3]){var s=r[4],c=s>>5&1,f=s>>2&1,p=3&s,l=s>>6;8&s&&_(0);var h=6-c,y=3==p?4:p,d=u(r,h,y),b=l?1<<l:c,v=u(r,h+=y,b)+(1==l&&256),m=v;if(!c){var w=1<<10+(r[5]>>3);m=w+(w>>3)*(7&r[5])}m>2145386496&&_(1);var g=new e((1==t?v||m:t?0:m)+12);return g[0]=1,g[4]=4,g[8]=8,{b:h+b,y:0,l:0,d:d,w:t&&1!=t?t:g.subarray(12),e:m,o:new o(g.buffer,0,3),u:v,c:f,m:Math.min(131072,m)}}if(25481893==(i>>4|r[3]<<20))return 8+(((n=r)[a=4]|n[a+1]<<8|n[a+2]<<16|n[a+3]<<24)>>>0);_(0)},p=function(r){for(var e=0;1<<e<=r;++e);return e-1},l=function(o,a,i){var s=4+(a<<3),c=5+(15&o[a]);c>i&&_(3);for(var u=1<<c,f=u,l=-1,h=-1,y=-1,d=u,b=new r(512+(u<<2)),v=new n(b,0,256),m=new t(b,0,256),w=new t(b,512,u),g=512+(u<<1),C=new e(b,g,u),E=new e(b,g+u);l<255&&f>0;){var A=p(f+1),B=s>>3,U=(1<<A+1)-1,P=(o[B]|o[B+1]<<8|o[B+2]<<16)>>(7&s)&U,x=(1<<A)-1,W=U-f-1,j=P&x;if(j<W?(s+=A,P=j):(s+=A+1,P>x&&(P-=W)),v[++l]=--P,-1==P?(f+=P,C[--d]=l):f-=P,!P)do{var k=s>>3;h=(o[k]|o[k+1]<<8)>>(7&s)&3,s+=2,l+=h}while(3==h)}(l>255||f)&&_(0);for(var z=0,I=(u>>1)+(u>>3)+3,S=u-1,H=0;H<=l;++H){var O=v[H];if(O<1)m[H]=-O;else for(y=0;y<O;++y){C[z]=H;do{z=z+I&S}while(z>=d)}}for(z&&_(0),y=0;y<u;++y){var X=m[C[y]]++,G=E[y]=c-p(X);w[y]=(X<<G)-u}return[s+7>>3,{b:c,s:C,n:E,t:w}]},h=l(new e([81,16,99,140,49,198,24,99,12,33,196,24,99,102,102,134,70,146,4]),0,6)[1],y=l(new e([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],d=l(new e([32,132,16,66,102,70,68,68,68,68,36,73,2]),0,5)[1],b=function(r,e){for(var t=r.length,n=new o(t),a=0;a<t;++a)n[a]=e,e+=1<<r[a];return n},v=new e(new o([0,0,0,0,16843009,50528770,134678020,202050057,269422093]).buffer,0,36),m=b(v,0),w=new e(new o([0,0,0,0,0,0,0,0,16843009,50528770,117769220,185207048,252579084,16]).buffer,0,53),g=b(w,3),C=function(r,e,t){var n=r.length,o=e.length,a=r[n-1],i=(1<<t.b)-1,s=-t.b;a||_(0);for(var c=0,u=t.b,f=(n<<3)-8+p(a)-u,l=-1;f>s&&l<o;){var h=f>>3;c=(c<<u|(r[h]|r[h+1]<<8|r[h+2]<<16)>>(7&f))&i,e[++l]=t.s[c],f-=u=t.n[c]}f==s&&l+1==o||_(0)},E=function(r,e,t){var n=6,o=e.length+3>>2,a=o<<1,i=o+a;C(r.subarray(n,n+=r[0]|r[1]<<8),e.subarray(0,o),t),C(r.subarray(n,n+=r[2]|r[3]<<8),e.subarray(o,a),t),C(r.subarray(n,n+=r[4]|r[5]<<8),e.subarray(a,i),t),C(r.subarray(n),e.subarray(i),t)},A=function(r,n,o){var s,c=n.b,u=r[c],f=u>>1&3;n.l=1&u;var b=u>>3|r[c+1]<<5|r[c+2]<<13,A=(c+=3)+b;if(1==f){if(c>=r.length)return;return n.b=c+1,o?(i(o,r[c],n.y,n.y+=b),o):i(new e(b),r[c])}if(!(A>r.length)){if(0==f)return n.b=A,o?(o.set(r.subarray(c,A),n.y),n.y+=b,o):a(r,c,A);if(2==f){var B=r[c],U=3&B,P=B>>2&3,x=B>>4,W=0,j=0;U<2?1&P?x|=r[++c]<<4|(2&P&&r[++c]<<12):x=B>>3:(j=P,P<2?(x|=(63&r[++c])<<4,W=r[c]>>6|r[++c]<<2):2==P?(x|=r[++c]<<4|(3&r[++c])<<12,W=r[c]>>2|r[++c]<<6):(x|=r[++c]<<4|(63&r[++c])<<12,W=r[c]>>6|r[++c]<<2|r[++c]<<10)),++c;var k=o?o.subarray(n.y,n.y+n.m):new e(n.m),z=k.length-x;if(0==U)k.set(r.subarray(c,c+=x),z);else if(1==U)i(k,r[c++],z);else{var I=n.h;if(2==U){var S=function(r,n){var o=0,a=-1,s=new e(292),c=r[n],u=s.subarray(0,256),f=s.subarray(256,268),h=new t(s.buffer,268);if(c<128){var y=l(r,n+1,6),d=y[0],b=y[1],v=d<<3,m=r[n+=c];m||_(0);for(var w=0,g=0,C=b.b,E=C,A=(++n<<3)-8+p(m);!((A-=C)<v);){var B=A>>3;if(w+=(r[B]|r[B+1]<<8)>>(7&A)&(1<<C)-1,u[++a]=b.s[w],(A-=E)<v)break;g+=(r[B=A>>3]|r[B+1]<<8)>>(7&A)&(1<<E)-1,u[++a]=b.s[g],C=b.n[w],w=b.t[w],E=b.n[g],g=b.t[g]}++a>255&&_(0)}else{for(a=c-127;o<a;o+=2){var U=r[++n];u[o]=U>>4,u[o+1]=15&U}++n}var P=0;for(o=0;o<a;++o)(k=u[o])>11&&_(0),P+=k&&1<<k-1;var x=p(P)+1,W=1<<x,j=W-P;for(j&j-1&&_(0),u[a++]=p(j)+1,o=0;o<a;++o){var k=u[o];++f[u[o]=k&&x+1-k]}var z=new e(W<<1),I=z.subarray(0,W),S=z.subarray(W);for(h[x]=0,o=x;o>0;--o){var H=h[o];i(S,o,H,h[o-1]=H+f[o]*(1<<x-o))}for(h[0]!=W&&_(0),o=0;o<a;++o){var O=u[o];if(O){var X=h[O];i(I,o,X,h[O]=X+(1<<x-O))}}return[n,{n:S,b:x,s:I}]}(r,c);W+=c-(c=S[0]),n.h=I=S[1]}else I||_(0);(j?E:C)(r.subarray(c,c+=W),k.subarray(z),I)}var H=r[c++];if(H){255==H?H=32512+(r[c++]|r[c++]<<8):H>127&&(H=H-128<<8|r[c++]);var O=r[c++];3&O&&_(0);for(var X=[y,d,h],G=2;G>-1;--G){var D=O>>2+(G<<1)&3;if(1==D){var K=new e([0,0,r[c++]]);X[G]={s:K.subarray(2,3),n:K.subarray(0,1),t:new t(K.buffer,0,1),b:0}}else 2==D?(c=(s=l(r,c,9-(1&G)))[0],X[G]=s[1]):3==D&&(n.t||_(0),X[G]=n.t[G])}var Y=n.t=X,R=Y[0],T=Y[1],$=Y[2],N=r[A-1];N||_(0);var L=(A<<3)-8+p(N)-$.b,Z=L>>3,q=0,J=(r[Z]|r[Z+1]<<8)>>(7&L)&(1<<$.b)-1,M=(r[Z=(L-=T.b)>>3]|r[Z+1]<<8)>>(7&L)&(1<<T.b)-1,Q=(r[Z=(L-=R.b)>>3]|r[Z+1]<<8)>>(7&L)&(1<<R.b)-1;for(++H;--H;){var V=$.s[J],F=$.n[J],rr=R.s[Q],er=R.n[Q],tr=T.s[M],nr=T.n[M],or=1<<tr,ar=or+((r[Z=(L-=tr)>>3]|r[Z+1]<<8|r[Z+2]<<16|r[Z+3]<<24)>>>(7&L)&or-1);Z=(L-=w[rr])>>3;var ir=g[rr]+((r[Z]|r[Z+1]<<8|r[Z+2]<<16)>>(7&L)&(1<<w[rr])-1);Z=(L-=v[V])>>3;var sr=m[V]+((r[Z]|r[Z+1]<<8|r[Z+2]<<16)>>(7&L)&(1<<v[V])-1);if(Z=(L-=F)>>3,J=$.t[J]+((r[Z]|r[Z+1]<<8)>>(7&L)&(1<<F)-1),Z=(L-=er)>>3,Q=R.t[Q]+((r[Z]|r[Z+1]<<8)>>(7&L)&(1<<er)-1),Z=(L-=nr)>>3,M=T.t[M]+((r[Z]|r[Z+1]<<8)>>(7&L)&(1<<nr)-1),ar>3)n.o[2]=n.o[1],n.o[1]=n.o[0],n.o[0]=ar-=3;else{var cr=ar-(0!=sr);cr?(ar=3==cr?n.o[0]-1:n.o[cr],cr>1&&(n.o[2]=n.o[1]),n.o[1]=n.o[0],n.o[0]=ar):ar=n.o[0]}for(G=0;G<sr;++G)k[q+G]=k[z+G];z+=sr;var _r=(q+=sr)-ar;if(_r<0){var ur=-_r,fr=n.e+_r;ur>ir&&(ur=ir);for(G=0;G<ur;++G)k[q+G]=n.w[fr+G];q+=ur,ir-=ur,_r=0}for(G=0;G<ir;++G)k[q+G]=k[_r+G];q+=ir}if(q!=z)for(;z<k.length;)k[q++]=k[z++];else q=k.length;o?n.y+=q:k=a(k,0,q)}else if(o){if(n.y+=x,z)for(G=0;G<x;++G)k[G]=k[z+G]}else z&&(k=a(k,z));return n.b=A,k}_(2)}},B=function(r,t){if(1==r.length)return r[0];for(var n=new e(t),o=0,a=0;o<r.length;++o){var i=r[o];n.set(i,a),a+=i.length}return n};const U='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!#$%&()*+,./:;<=>?@[]^_`{|}~"';function P(r){const e=function(r){const e=r.length,t=[];let n=0,o=0,a=-1;for(let i=0;i<e;i++){const e=U.indexOf(r[i]);if(-1!==e)if(a<0)a=e;else{a+=91*e,n|=a<<o,o+=(8191&a)>88?13:14;do{t.push(255&n),n>>=8,o-=8}while(o>7);a=-1}}return a>-1&&t.push(255&(n|a<<o)),new Uint8Array(t)}(r);return function(r,e){for(var t=[],n=+!e,o=0,a=0;r.length;){var i=f(r,n||e);if("object"==typeof i){for(n?(e=null,i.w.length==i.u&&(t.push(e=i.w),a+=i.u)):(t.push(e),i.e=0);!i.l;){var c=A(r,i,e);c||_(5),e?i.e=i.y:(t.push(c),a+=c.length,s(i.w,0,c.length),i.w.set(c,i.w.length-c.length))}o=i.b+4*i.c}else o=i;r=r.subarray(o)}return B(t,a)}(e)}var x=("undefined"!=typeof document&&document.currentScript&&document.currentScript.src,function(r={}){var e,t,n=r;n.ready=new Promise(((r,n)=>{e=r,t=n}));var o=Object.assign({},n),a=!1;console.log.bind(console);var i,s,c=console.error.bind(console);Object.assign(n,o),o=null,n.wasmBinary&&(i=n.wasmBinary),"object"!=typeof WebAssembly&&b("no native wasm support detected");var _,u=!1;function f(){var r=s.buffer;n.HEAP8=new Int8Array(r),n.HEAP16=new Int16Array(r),n.HEAPU8=_=new Uint8Array(r),n.HEAPU16=new Uint16Array(r),n.HEAP32=new Int32Array(r),n.HEAPU32=new Uint32Array(r),n.HEAPF32=new Float32Array(r),n.HEAPF64=new Float64Array(r)}var p=[],l=[],h=[],y=0,d=null;function b(r){c(r="Aborted("+r+")"),u=!0,r+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(r);throw t(e),e}var v,m=r=>r.startsWith("data:application/octet-stream;base64,"),w=r=>r.startsWith("file://");function g(r){if(r==v&&i)return new Uint8Array(i);throw"both async and sync fetching of the wasm failed"}function C(r,e,t){return function(r){return i||!a||"function"!=typeof fetch||w(r)?Promise.resolve().then((()=>g(r))):fetch(r,{credentials:"same-origin"}).then((e=>{if(!e.ok)throw`failed to load wasm binary file at '${r}'`;return e.arrayBuffer()})).catch((()=>g(r)))}(r).then((r=>WebAssembly.instantiate(r,e))).then((r=>r)).then(t,(r=>{c(`failed to asynchronously prepare wasm: ${r}`),b(r)}))}m(v="base91lib.wasm")||(v=""+v);var E=r=>{for(;r.length>0;)r.shift()(n)},A=r=>{var e=(r-s.buffer.byteLength+65535)/65536;try{return s.grow(e),f(),1}catch(r){}},B="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,U=(r,e)=>r?((r,e,t)=>{for(var n=e+t,o=e;r[o]&&!(o>=n);)++o;if(o-e>16&&r.buffer&&B)return B.decode(r.subarray(e,o));for(var a="";e<o;){var i=r[e++];if(128&i){var s=63&r[e++];if(192!=(224&i)){var c=63&r[e++];if((i=224==(240&i)?(15&i)<<12|s<<6|c:(7&i)<<18|s<<12|c<<6|63&r[e++])<65536)a+=String.fromCharCode(i);else{var _=i-65536;a+=String.fromCharCode(55296|_>>10,56320|1023&_)}}else a+=String.fromCharCode((31&i)<<6|s)}else a+=String.fromCharCode(i)}return a})(_,r,e):"",P={a:()=>{b("")},b:r=>{var e=_.length,t=2147483648;if((r>>>=0)>t)return!1;for(var n,o,a=1;a<=4;a*=2){var i=e*(1+.2/a);i=Math.min(i,r+100663296);var s=Math.min(t,(n=Math.max(r,i))+((o=65536)-n%o)%o);if(A(s))return!0}return!1}},x=function(){var r,e,n,o;function a(r,e){var t;return x=r.exports,s=x.c,f(),t=x.d,l.unshift(t),function(r){if(0==--y&&d){var e=d;d=null,e()}}(),x}return y++,(r=i,e=v,n={a:P},o=function(r){a(r.instance)},r||"function"!=typeof WebAssembly.instantiateStreaming||m(e)||w(e)||"function"!=typeof fetch?C(e,n,o):fetch(e,{credentials:"same-origin"}).then((r=>WebAssembly.instantiateStreaming(r,n).then(o,(function(r){return c(`wasm streaming compile failed: ${r}`),c("falling back to ArrayBuffer instantiation"),C(e,n,o)}))))).catch(t),{}}();n._webidl_free=r=>(n._webidl_free=x.e)(r),n._webidl_malloc=r=>(n._webidl_malloc=x.f)(r);var W,j=n._emscripten_bind_VoidPtr___destroy___0=r=>(j=n._emscripten_bind_VoidPtr___destroy___0=x.g)(r),k=n._emscripten_bind_CBasE91_CBasE91_0=()=>(k=n._emscripten_bind_CBasE91_CBasE91_0=x.h)(),z=n._emscripten_bind_CBasE91_malloc_1=r=>(z=n._emscripten_bind_CBasE91_malloc_1=x.i)(r),I=n._emscripten_bind_CBasE91_free_1=r=>(I=n._emscripten_bind_CBasE91_free_1=x.j)(r),S=n._emscripten_bind_CBasE91_version_0=r=>(S=n._emscripten_bind_CBasE91_version_0=x.k)(r),H=n._emscripten_bind_CBasE91_reset_0=r=>(H=n._emscripten_bind_CBasE91_reset_0=x.l)(r),O=n._emscripten_bind_CBasE91_encode_3=(r,e,t,o)=>(O=n._emscripten_bind_CBasE91_encode_3=x.m)(r,e,t,o),X=n._emscripten_bind_CBasE91_encode_end_1=(r,e)=>(X=n._emscripten_bind_CBasE91_encode_end_1=x.n)(r,e),G=n._emscripten_bind_CBasE91_decode_3=(r,e,t,o)=>(G=n._emscripten_bind_CBasE91_decode_3=x.o)(r,e,t,o),D=n._emscripten_bind_CBasE91_decode_end_1=(r,e)=>(D=n._emscripten_bind_CBasE91_decode_end_1=x.p)(r,e),K=n._emscripten_bind_CBasE91___destroy___0=r=>(K=n._emscripten_bind_CBasE91___destroy___0=x.q)(r);function Y(){y>0||(E(p),y>0||W||(W=!0,n.calledRun=!0,u||(E(l),e(n),E(h))))}function R(){}function T(r){return(r||R).__cache__}function $(r,e){var t=T(e),n=t[r];return n||((n=Object.create((e||R).prototype)).ptr=r,t[r]=n)}function N(){throw"cannot construct a VoidPtr, no constructor in IDL"}function L(){this.ptr=k(),T(L)[this.ptr]=this}return n.UTF8ToString=U,d=function r(){W||Y(),W||(d=r)},Y(),R.prototype=Object.create(R.prototype),R.prototype.constructor=R,R.prototype.__class__=R,R.__cache__={},n.WrapperObject=R,n.getCache=T,n.wrapPointer=$,n.castObject=function(r,e){return $(r.ptr,e)},n.NULL=$(0),n.destroy=function(r){if(!r.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";r.__destroy__(),delete T(r.__class__)[r.ptr]},n.compare=function(r,e){return r.ptr===e.ptr},n.getPointer=function(r){return r.ptr},n.getClass=function(r){return r.__class__},N.prototype=Object.create(R.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},n.VoidPtr=N,N.prototype.__destroy__=N.prototype.__destroy__=function(){var r=this.ptr;j(r)},L.prototype=Object.create(R.prototype),L.prototype.constructor=L,L.prototype.__class__=L,L.__cache__={},n.CBasE91=L,L.prototype.malloc=L.prototype.malloc=function(r){return r&&"object"==typeof r&&(r=r.ptr),z(r)},L.prototype.free=L.prototype.free=function(r){r&&"object"==typeof r&&(r=r.ptr),I(r)},L.prototype.version=L.prototype.version=function(){var r=this.ptr;return U(S(r))},L.prototype.reset=L.prototype.reset=function(){var r=this.ptr;H(r)},L.prototype.encode=L.prototype.encode=function(r,e,t){var n=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),O(n,r,e,t)},L.prototype.encode_end=L.prototype.encode_end=function(r){var e=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),X(e,r)},L.prototype.decode=L.prototype.decode=function(r,e,t){var n=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),G(n,r,e,t)},L.prototype.decode_end=L.prototype.decode_end=function(r){var e=this.ptr;return r&&"object"==typeof r&&(r=r.ptr),D(e,r)},L.prototype.__destroy__=L.prototype.__destroy__=function(){var r=this.ptr;K(r)},r.ready});let W,j,k;class z{constructor(r,e){this._module=r,this._exports=e}malloc_heapu8(r){return{ptr:this._exports.malloc(r),size:r}}free_heapu8(r){this._exports.free(r.ptr)}uint8_heapu8(r){const e=this.malloc_heapu8(r.byteLength);return this._module.HEAPU8.set(r,e.ptr),e}heapu8_view(r){return this._module.HEAPU8.subarray(r.ptr,r.ptr+r.size)}heapu8_uint8(r){return new Uint8Array([...this.heapu8_view(r)])}string_heapu8(r){const e=Uint8Array.from(r,(r=>r.charCodeAt(0)));return this.uint8_heapu8(e)}heapu8_string(r){const e=Array.from({length:r.size});return this._module.HEAPU8.subarray(r.ptr,r.ptr+r.size).forEach(((r,t)=>{e[t]=String.fromCharCode(r)})),e.join("")}}class I extends z{constructor(r){super(r,new r.CBasE91)}static load(){return k||(k=(j||(j=P('v7#aT)d=G[2Aymr6WVpIKbLFoIbx0IaEGHRsNRKK_,PzlE?I.aMvt.%jpII31}sV/)tXLa7erzui{}a~4c@W:dHX,q$!NTRs|7SPaX5Jfm^Ym+3=Dd;h0"PC=Ro.O`2^2.y*;v)?OKE2lrKW)5qvy+DYyZ^EGZQf%v^aB~Xjzk(^^/(nOX=aLQF]o}?>VcttowP~p%Kcy7xp<!]#WYBa1])s<NH/k#I:9eHRC8H+[%E,Prx7||Yh1sR0Yx/|)`kuiZL__s@/;w[8<#hXVr5~,dD}&jj{bap&/b/DrQg,1:/;m#y}P6cCS%|zMWiT|zCsIEfyQbrdI/w5q}Y;Sj#%QXtXGcVJJh"V(6;k"op{,B}!xh4EAu=rO`s9@f<]wrs&.4T~~f>B*i,pTM6X).ZiZd"3+d8CHSB}z`B/DO9G~[+zf3I/{`%GE7,:Ph1&9*;Ne@riCpb5}VyrPTo*~)Y:Cd49V%i09ZHgOFeQmG&ZaxbN$Sm~>m{Uqa2UthwCp0LX6j)<!cz@ZcA:5:jm.YmJEQPu6o6k9j;fH]+x2GV.ldW6J.:Y0z"7/vvRd6~nHk$eFKu#**P^g^&=42xo&j&18R1M5OejBb1M6wASZUdZej..8*sU,#D`~2K>qhhux;e%x.B0RO.2%>rwLJ{#{Pz>DskPqvtUfXu[XnP)Uso*59h|LqT5nR|r&0|&d6i[3SSR,/R6?tJS,/fMQ%{quU8!t,06&jSPyZhQGSW1Yc9`i9J~s!yOsweXf6:^6StehY5_FN26aZ(2&:OI93E:!|U;A(3]Si,<KRab`uUKD.Y+huT0Sm&x2;vV"^P])_okCWHi1/e1:iokp[{I8]P2xI`K&i!GIW5>9bqylX#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6Od2i.U=Jwtr6K%~P1xz^p]u$sV9MLBI}FHc4UJ^WkQnx~)U2vanqB:v7v_yYO2:A4U`:"W1t$E|[%+9ZaC!w(+gn#cIP=~tt!1Zr?fU`x,N,<asDLKK.}h/t?4~$046lR=&dI&KLT|LNCa8R,hfRfAqOv;g0lGoM_3wg3h;/LtoN>iy2,$T0!?~_:sL<K;|c62+22!D|e@N/{4"I{ce5])|n*e?T)a9O5iSh.vbE0Qk3"z&}]ibxhn~s|ts2?|en[5?=a_dc9xhPPg>o6<Xx|8REW$"o~e2|sk>c=kxg*X}3INY9M#WH8%"S<F1fBH.2OvUX6DvT2kr%Mm;v:_@X3_5p@$<SK<7n`8sMlT`t#ypH+Q#@Pj8Q9t@iIm*1t[$[4u{1rg>yM/sB')),W||(W=x({wasmBinary:j,locateFile:void 0})),W).then((r=>new I(r)))),k}static unload(){W&&(W=void 0)}version(){return this._exports.version()}encode(r){this._exports.reset();const e=this.uint8_heapu8(r),t=this.malloc_heapu8(e.size+Math.ceil(e.size/4));t.size=this._exports.encode(e.ptr,e.size,t.ptr);let n=this.heapu8_string(t);return t.size=this._exports.encode_end(t.ptr),n+=this.heapu8_string(t),this.free_heapu8(t),this.free_heapu8(e),n}decode(r){this._exports.reset();const e=this.string_heapu8(r),t=this.malloc_heapu8(e.size);t.size=this._exports.decode(e.ptr,e.size,t.ptr);let n=this.heapu8_uint8(t);return t.size=this._exports.decode_end(t.ptr),n=new Uint8Array([...n,...this.heapu8_view(t)]),this.free_heapu8(t),this.free_heapu8(e),n}}export{I as Base91}; | ||
//# sourceMappingURL=base91.js.map |
@@ -1,2 +0,2 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self)["@hpcc-js/wasm"]={})}(this,(function(e){"use strict";var r=ArrayBuffer,t=Uint8Array,n=Uint16Array,o=Int16Array,a=Int32Array,i=function(e,r,n){if(t.prototype.slice)return t.prototype.slice.call(e,r,n);(null==r||r<0)&&(r=0),(null==n||n>e.length)&&(n=e.length);var o=new t(n-r);return o.set(e.subarray(r,n)),o},s=function(e,r,n,o){if(t.prototype.fill)return t.prototype.fill.call(e,r,n,o);for((null==n||n<0)&&(n=0),(null==o||o>e.length)&&(o=e.length);n<o;++n)e[n]=r;return e},c=function(e,r,n,o){if(t.prototype.copyWithin)return t.prototype.copyWithin.call(e,r,n,o);for((null==n||n<0)&&(n=0),(null==o||o>e.length)&&(o=e.length);n<o;)e[r++]=e[n++]},_=["invalid zstd data","window size too large (>2046MB)","invalid block type","FSE accuracy too high","match distance too far back","unexpected EOF"],f=function(e,r,t){var n=new Error(r||_[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,f),!t)throw n;return n},u=function(e,r,t){for(var n=0,o=0;n<t;++n)o|=e[r++]<<(n<<3);return o},p=function(e,r){var n,o,i=e[0]|e[1]<<8|e[2]<<16;if(3126568==i&&253==e[3]){var s=e[4],c=s>>5&1,_=s>>2&1,p=3&s,l=s>>6;8&s&&f(0);var h=6-c,d=3==p?4:p,y=u(e,h,d),b=l?1<<l:c,v=u(e,h+=d,b)+(1==l&&256),m=v;if(!c){var w=1<<10+(e[5]>>3);m=w+(w>>3)*(7&e[5])}m>2145386496&&f(1);var g=new t((1==r?v||m:r?0:m)+12);return g[0]=1,g[4]=4,g[8]=8,{b:h+b,y:0,l:0,d:y,w:r&&1!=r?r:g.subarray(12),e:m,o:new a(g.buffer,0,3),u:v,c:_,m:Math.min(131072,m)}}if(25481893==(i>>4|e[3]<<20))return 8+(((n=e)[o=4]|n[o+1]<<8|n[o+2]<<16|n[o+3]<<24)>>>0);f(0)},l=function(e){for(var r=0;1<<r<=e;++r);return r-1},h=function(e,a,i){var s=4+(a<<3),c=5+(15&e[a]);c>i&&f(3);for(var _=1<<c,u=_,p=-1,h=-1,d=-1,y=_,b=new r(512+(_<<2)),v=new o(b,0,256),m=new n(b,0,256),w=new n(b,512,_),g=512+(_<<1),C=new t(b,g,_),E=new t(b,g+_);p<255&&u>0;){var A=l(u+1),B=s>>3,x=(1<<A+1)-1,U=(e[B]|e[B+1]<<8|e[B+2]<<16)>>(7&s)&x,P=(1<<A)-1,W=x-u-1,j=U&P;if(j<W?(s+=A,U=j):(s+=A+1,U>P&&(U-=W)),v[++p]=--U,-1==U?(u+=U,C[--y]=p):u-=U,!U)do{var k=s>>3;h=(e[k]|e[k+1]<<8)>>(7&s)&3,s+=2,p+=h}while(3==h)}(p>255||u)&&f(0);for(var z=0,I=(_>>1)+(_>>3)+3,S=_-1,H=0;H<=p;++H){var O=v[H];if(O<1)m[H]=-O;else for(d=0;d<O;++d){C[z]=H;do{z=z+I&S}while(z>=y)}}for(z&&f(0),d=0;d<_;++d){var X=m[C[d]]++,G=E[d]=c-l(X);w[d]=(X<<G)-_}return[s+7>>3,{b:c,s:C,n:E,t:w}]},d=h(new t([81,16,99,140,49,198,24,99,12,33,196,24,99,102,102,134,70,146,4]),0,6)[1],y=h(new t([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],b=h(new t([32,132,16,66,102,70,68,68,68,68,36,73,2]),0,5)[1],v=function(e,r){for(var t=e.length,n=new a(t),o=0;o<t;++o)n[o]=r,r+=1<<e[o];return n},m=new t(new a([0,0,0,0,16843009,50528770,134678020,202050057,269422093]).buffer,0,36),w=v(m,0),g=new t(new a([0,0,0,0,0,0,0,0,16843009,50528770,117769220,185207048,252579084,16]).buffer,0,53),C=v(g,3),E=function(e,r,t){var n=e.length,o=r.length,a=e[n-1],i=(1<<t.b)-1,s=-t.b;a||f(0);for(var c=0,_=t.b,u=(n<<3)-8+l(a)-_,p=-1;u>s&&p<o;){var h=u>>3;c=(c<<_|(e[h]|e[h+1]<<8|e[h+2]<<16)>>(7&u))&i,r[++p]=t.s[c],u-=_=t.n[c]}u==s&&p+1==o||f(0)},A=function(e,r,t){var n=6,o=r.length+3>>2,a=o<<1,i=o+a;E(e.subarray(n,n+=e[0]|e[1]<<8),r.subarray(0,o),t),E(e.subarray(n,n+=e[2]|e[3]<<8),r.subarray(o,a),t),E(e.subarray(n,n+=e[4]|e[5]<<8),r.subarray(a,i),t),E(e.subarray(n),r.subarray(i),t)},B=function(e,r,o){var a,c=r.b,_=e[c],u=_>>1&3;r.l=1&_;var p=_>>3|e[c+1]<<5|e[c+2]<<13,v=(c+=3)+p;if(1==u){if(c>=e.length)return;return r.b=c+1,o?(s(o,e[c],r.y,r.y+=p),o):s(new t(p),e[c])}if(!(v>e.length)){if(0==u)return r.b=v,o?(o.set(e.subarray(c,v),r.y),r.y+=p,o):i(e,c,v);if(2==u){var B=e[c],x=3&B,U=B>>2&3,P=B>>4,W=0,j=0;x<2?1&U?P|=e[++c]<<4|(2&U&&e[++c]<<12):P=B>>3:(j=U,U<2?(P|=(63&e[++c])<<4,W=e[c]>>6|e[++c]<<2):2==U?(P|=e[++c]<<4|(3&e[++c])<<12,W=e[c]>>2|e[++c]<<6):(P|=e[++c]<<4|(63&e[++c])<<12,W=e[c]>>6|e[++c]<<2|e[++c]<<10)),++c;var k=o?o.subarray(r.y,r.y+r.m):new t(r.m),z=k.length-P;if(0==x)k.set(e.subarray(c,c+=P),z);else if(1==x)s(k,e[c++],z);else{var I=r.h;if(2==x){var S=function(e,r){var o=0,a=-1,i=new t(292),c=e[r],_=i.subarray(0,256),u=i.subarray(256,268),p=new n(i.buffer,268);if(c<128){var d=h(e,r+1,6),y=d[0],b=d[1],v=y<<3,m=e[r+=c];m||f(0);for(var w=0,g=0,C=b.b,E=C,A=(++r<<3)-8+l(m);!((A-=C)<v);){var B=A>>3;if(w+=(e[B]|e[B+1]<<8)>>(7&A)&(1<<C)-1,_[++a]=b.s[w],(A-=E)<v)break;g+=(e[B=A>>3]|e[B+1]<<8)>>(7&A)&(1<<E)-1,_[++a]=b.s[g],C=b.n[w],w=b.t[w],E=b.n[g],g=b.t[g]}++a>255&&f(0)}else{for(a=c-127;o<a;o+=2){var x=e[++r];_[o]=x>>4,_[o+1]=15&x}++r}var U=0;for(o=0;o<a;++o)(k=_[o])>11&&f(0),U+=k&&1<<k-1;var P=l(U)+1,W=1<<P,j=W-U;for(j&j-1&&f(0),_[a++]=l(j)+1,o=0;o<a;++o){var k=_[o];++u[_[o]=k&&P+1-k]}var z=new t(W<<1),I=z.subarray(0,W),S=z.subarray(W);for(p[P]=0,o=P;o>0;--o){var H=p[o];s(S,o,H,p[o-1]=H+u[o]*(1<<P-o))}for(p[0]!=W&&f(0),o=0;o<a;++o){var O=_[o];if(O){var X=p[O];s(I,o,X,p[O]=X+(1<<P-O))}}return[r,{n:S,b:P,s:I}]}(e,c);W+=c-(c=S[0]),r.h=I=S[1]}else I||f(0);(j?A:E)(e.subarray(c,c+=W),k.subarray(z),I)}var H=e[c++];if(H){255==H?H=32512+(e[c++]|e[c++]<<8):H>127&&(H=H-128<<8|e[c++]);var O=e[c++];3&O&&f(0);for(var X=[y,b,d],G=2;G>-1;--G){var D=O>>2+(G<<1)&3;if(1==D){var K=new t([0,0,e[c++]]);X[G]={s:K.subarray(2,3),n:K.subarray(0,1),t:new n(K.buffer,0,1),b:0}}else 2==D?(c=(a=h(e,c,9-(1&G)))[0],X[G]=a[1]):3==D&&(r.t||f(0),X[G]=r.t[G])}var T=r.t=X,Y=T[0],R=T[1],$=T[2],N=e[v-1];N||f(0);var L=(v<<3)-8+l(N)-$.b,Z=L>>3,q=0,J=(e[Z]|e[Z+1]<<8)>>(7&L)&(1<<$.b)-1,M=(e[Z=(L-=R.b)>>3]|e[Z+1]<<8)>>(7&L)&(1<<R.b)-1,Q=(e[Z=(L-=Y.b)>>3]|e[Z+1]<<8)>>(7&L)&(1<<Y.b)-1;for(++H;--H;){var V=$.s[J],F=$.n[J],ee=Y.s[Q],re=Y.n[Q],te=R.s[M],ne=R.n[M],oe=1<<te,ae=oe+((e[Z=(L-=te)>>3]|e[Z+1]<<8|e[Z+2]<<16|e[Z+3]<<24)>>>(7&L)&oe-1);Z=(L-=g[ee])>>3;var ie=C[ee]+((e[Z]|e[Z+1]<<8|e[Z+2]<<16)>>(7&L)&(1<<g[ee])-1);Z=(L-=m[V])>>3;var se=w[V]+((e[Z]|e[Z+1]<<8|e[Z+2]<<16)>>(7&L)&(1<<m[V])-1);if(Z=(L-=F)>>3,J=$.t[J]+((e[Z]|e[Z+1]<<8)>>(7&L)&(1<<F)-1),Z=(L-=re)>>3,Q=Y.t[Q]+((e[Z]|e[Z+1]<<8)>>(7&L)&(1<<re)-1),Z=(L-=ne)>>3,M=R.t[M]+((e[Z]|e[Z+1]<<8)>>(7&L)&(1<<ne)-1),ae>3)r.o[2]=r.o[1],r.o[1]=r.o[0],r.o[0]=ae-=3;else{var ce=ae-(0!=se);ce?(ae=3==ce?r.o[0]-1:r.o[ce],ce>1&&(r.o[2]=r.o[1]),r.o[1]=r.o[0],r.o[0]=ae):ae=r.o[0]}for(G=0;G<se;++G)k[q+G]=k[z+G];z+=se;var _e=(q+=se)-ae;if(_e<0){var fe=-_e,ue=r.e+_e;fe>ie&&(fe=ie);for(G=0;G<fe;++G)k[q+G]=r.w[ue+G];q+=fe,ie-=fe,_e=0}for(G=0;G<ie;++G)k[q+G]=k[_e+G];q+=ie}if(q!=z)for(;z<k.length;)k[q++]=k[z++];else q=k.length;o?r.y+=q:k=i(k,0,q)}else if(o){if(r.y+=P,z)for(G=0;G<P;++G)k[G]=k[z+G]}else z&&(k=i(k,z));return r.b=v,k}f(2)}},x=function(e,r){if(1==e.length)return e[0];for(var n=new t(r),o=0,a=0;o<e.length;++o){var i=e[o];n.set(i,a),a+=i.length}return n};const U='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!#$%&()*+,./:;<=>?@[]^_`{|}~"';function P(e){const r=function(e){const r=e.length,t=[];let n=0,o=0,a=-1;for(let i=0;i<r;i++){const r=U.indexOf(e[i]);if(-1!==r)if(a<0)a=r;else{a+=91*r,n|=a<<o,o+=(8191&a)>88?13:14;do{t.push(255&n),n>>=8,o-=8}while(o>7);a=-1}}return a>-1&&t.push(255&(n|a<<o)),new Uint8Array(t)}(e);return function(e,r){for(var t=0,n=[],o=+!r,a=0;e.length;){var i=p(e,o||r);if("object"==typeof i){for(o?(r=null,i.w.length==i.u&&(n.push(r=i.w),a+=i.u)):(n.push(r),i.e=0);!i.l;){var s=B(e,i,r);s||f(5),r?i.e=i.y:(n.push(s),a+=s.length,c(i.w,0,s.length),i.w.set(s,i.w.length-s.length))}t=i.b+4*i.c}else t=i;e=e.subarray(t)}return x(n,a)}(r)}var W=("undefined"!=typeof document&&document.currentScript&&document.currentScript.src,function(e={}){var r,t,n=e;n.ready=new Promise(((e,n)=>{r=e,t=n}));var o=Object.assign({},n),a=!1;console.log.bind(console);var i,s,c=console.error.bind(console);Object.assign(n,o),o=null,n.wasmBinary&&(i=n.wasmBinary),"object"!=typeof WebAssembly&&b("no native wasm support detected");var _,f=!1;function u(){var e=s.buffer;n.HEAP8=new Int8Array(e),n.HEAP16=new Int16Array(e),n.HEAPU8=_=new Uint8Array(e),n.HEAPU16=new Uint16Array(e),n.HEAP32=new Int32Array(e),n.HEAPU32=new Uint32Array(e),n.HEAPF32=new Float32Array(e),n.HEAPF64=new Float64Array(e)}var p=[],l=[],h=[],d=0,y=null;function b(e){c(e="Aborted("+e+")"),f=!0,e+=". Build with -sASSERTIONS for more info.";var r=new WebAssembly.RuntimeError(e);throw t(r),r}var v,m=e=>e.startsWith("data:application/octet-stream;base64,"),w=e=>e.startsWith("file://");function g(e){if(e==v&&i)return new Uint8Array(i);throw"both async and sync fetching of the wasm failed"}function C(e,r,t){return function(e){return i||!a||"function"!=typeof fetch||w(e)?Promise.resolve().then((()=>g(e))):fetch(e,{credentials:"same-origin"}).then((r=>{if(!r.ok)throw`failed to load wasm binary file at '${e}'`;return r.arrayBuffer()})).catch((()=>g(e)))}(e).then((e=>WebAssembly.instantiate(e,r))).then((e=>e)).then(t,(e=>{c(`failed to asynchronously prepare wasm: ${e}`),b(e)}))}m(v="base91lib.wasm")||(v=""+v);var E=e=>{for(;e.length>0;)e.shift()(n)},A=e=>{var r=(e-s.buffer.byteLength+65535)/65536;try{return s.grow(r),u(),1}catch(e){}},B="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,x=(e,r)=>e?((e,r,t)=>{for(var n=r+t,o=r;e[o]&&!(o>=n);)++o;if(o-r>16&&e.buffer&&B)return B.decode(e.subarray(r,o));for(var a="";r<o;){var i=e[r++];if(128&i){var s=63&e[r++];if(192!=(224&i)){var c=63&e[r++];if((i=224==(240&i)?(15&i)<<12|s<<6|c:(7&i)<<18|s<<12|c<<6|63&e[r++])<65536)a+=String.fromCharCode(i);else{var _=i-65536;a+=String.fromCharCode(55296|_>>10,56320|1023&_)}}else a+=String.fromCharCode((31&i)<<6|s)}else a+=String.fromCharCode(i)}return a})(_,e,r):"",U={a:()=>{b("")},b:e=>{var r=_.length,t=2147483648;if((e>>>=0)>t)return!1;for(var n,o,a=1;a<=4;a*=2){var i=r*(1+.2/a);i=Math.min(i,e+100663296);var s=Math.min(t,(n=Math.max(e,i))+((o=65536)-n%o)%o);if(A(s))return!0}return!1}},P=function(){var e,r,n,o;function a(e,r){var t;return P=e.exports,s=P.c,u(),t=P.d,l.unshift(t),function(e){if(0==--d&&y){var r=y;y=null,r()}}(),P}return d++,(e=i,r=v,n={a:U},o=function(e){a(e.instance)},e||"function"!=typeof WebAssembly.instantiateStreaming||m(r)||w(r)||"function"!=typeof fetch?C(r,n,o):fetch(r,{credentials:"same-origin"}).then((e=>WebAssembly.instantiateStreaming(e,n).then(o,(function(e){return c(`wasm streaming compile failed: ${e}`),c("falling back to ArrayBuffer instantiation"),C(r,n,o)}))))).catch(t),{}}();n._webidl_free=e=>(n._webidl_free=P.e)(e),n._webidl_malloc=e=>(n._webidl_malloc=P.f)(e);var W,j=n._emscripten_bind_VoidPtr___destroy___0=e=>(j=n._emscripten_bind_VoidPtr___destroy___0=P.g)(e),k=n._emscripten_bind_CBasE91_CBasE91_0=()=>(k=n._emscripten_bind_CBasE91_CBasE91_0=P.h)(),z=n._emscripten_bind_CBasE91_malloc_1=e=>(z=n._emscripten_bind_CBasE91_malloc_1=P.i)(e),I=n._emscripten_bind_CBasE91_free_1=e=>(I=n._emscripten_bind_CBasE91_free_1=P.j)(e),S=n._emscripten_bind_CBasE91_version_0=e=>(S=n._emscripten_bind_CBasE91_version_0=P.k)(e),H=n._emscripten_bind_CBasE91_reset_0=e=>(H=n._emscripten_bind_CBasE91_reset_0=P.l)(e),O=n._emscripten_bind_CBasE91_encode_3=(e,r,t,o)=>(O=n._emscripten_bind_CBasE91_encode_3=P.m)(e,r,t,o),X=n._emscripten_bind_CBasE91_encode_end_1=(e,r)=>(X=n._emscripten_bind_CBasE91_encode_end_1=P.n)(e,r),G=n._emscripten_bind_CBasE91_decode_3=(e,r,t,o)=>(G=n._emscripten_bind_CBasE91_decode_3=P.o)(e,r,t,o),D=n._emscripten_bind_CBasE91_decode_end_1=(e,r)=>(D=n._emscripten_bind_CBasE91_decode_end_1=P.p)(e,r),K=n._emscripten_bind_CBasE91___destroy___0=e=>(K=n._emscripten_bind_CBasE91___destroy___0=P.q)(e);function T(){d>0||(E(p),d>0||W||(W=!0,n.calledRun=!0,f||(E(l),r(n),E(h))))}function Y(){}function R(e){return(e||Y).__cache__}function $(e,r){var t=R(r),n=t[e];return n||((n=Object.create((r||Y).prototype)).ptr=e,t[e]=n)}function N(){throw"cannot construct a VoidPtr, no constructor in IDL"}function L(){this.ptr=k(),R(L)[this.ptr]=this}return n.UTF8ToString=x,y=function e(){W||T(),W||(y=e)},T(),Y.prototype=Object.create(Y.prototype),Y.prototype.constructor=Y,Y.prototype.__class__=Y,Y.__cache__={},n.WrapperObject=Y,n.getCache=R,n.wrapPointer=$,n.castObject=function(e,r){return $(e.ptr,r)},n.NULL=$(0),n.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete R(e.__class__)[e.ptr]},n.compare=function(e,r){return e.ptr===r.ptr},n.getPointer=function(e){return e.ptr},n.getClass=function(e){return e.__class__},N.prototype=Object.create(Y.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},n.VoidPtr=N,N.prototype.__destroy__=N.prototype.__destroy__=function(){var e=this.ptr;j(e)},L.prototype=Object.create(Y.prototype),L.prototype.constructor=L,L.prototype.__class__=L,L.__cache__={},n.CBasE91=L,L.prototype.malloc=L.prototype.malloc=function(e){return e&&"object"==typeof e&&(e=e.ptr),z(e)},L.prototype.free=L.prototype.free=function(e){e&&"object"==typeof e&&(e=e.ptr),I(e)},L.prototype.version=L.prototype.version=function(){var e=this.ptr;return x(S(e))},L.prototype.reset=L.prototype.reset=function(){var e=this.ptr;H(e)},L.prototype.encode=L.prototype.encode=function(e,r,t){var n=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),t&&"object"==typeof t&&(t=t.ptr),O(n,e,r,t)},L.prototype.encode_end=L.prototype.encode_end=function(e){var r=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),X(r,e)},L.prototype.decode=L.prototype.decode=function(e,r,t){var n=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),t&&"object"==typeof t&&(t=t.ptr),G(n,e,r,t)},L.prototype.decode_end=L.prototype.decode_end=function(e){var r=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),D(r,e)},L.prototype.__destroy__=L.prototype.__destroy__=function(){var e=this.ptr;K(e)},e.ready});let j,k,z;class I{constructor(e,r){this._module=e,this._exports=r}malloc_heapu8(e){return{ptr:this._exports.malloc(e),size:e}}free_heapu8(e){this._exports.free(e.ptr)}uint8_heapu8(e){const r=this.malloc_heapu8(e.byteLength);return this._module.HEAPU8.set(e,r.ptr),r}heapu8_view(e){return this._module.HEAPU8.subarray(e.ptr,e.ptr+e.size)}heapu8_uint8(e){return new Uint8Array([...this.heapu8_view(e)])}string_heapu8(e){const r=Uint8Array.from(e,(e=>e.charCodeAt(0)));return this.uint8_heapu8(r)}heapu8_string(e){const r=Array.from({length:e.size});return this._module.HEAPU8.subarray(e.ptr,e.ptr+e.size).forEach(((e,t)=>{r[t]=String.fromCharCode(e)})),r.join("")}}class S extends I{constructor(e){super(e,new e.CBasE91)}static load(){return z||(z=(k||(k=P('v7#aT)d=G[2Aymr6WVpIKbLFoIbx0IaEGHRsNRKK_,PzlE?I.aMvt.%jpII31}sV/)tXLa7erzui{}a~4c@W:dHX,q$!NTRs|7SPaX5Jfm^Ym+3=Dd;h0"PC=Ro.O`2^2.y*;v)?OKE2lrKW)5qvy+DYyZ^EGZQf%v^aB~Xjzk(^^/(nOX=aLQF]o}?>VcttowP~p%Kcy7xp<!]#WYBa1])s<NH/k#I:9eHRC8H+[%E,Prx7||Yh1sR0Yx/|)`kuiZL__s@/;w[8<#hXVr5~,dD}&jj{bap&/b/DrQg,1:/;m#y}P6cCS%|zMWiT|zCsIEfyQbrdI/w5q}Y;Sj#%QXtXGcVJJh"V(6;k"op{,B}!xh4EAu=rO`s9@f<]wrs&.4T~~f>B*i,pTM6X).ZiZd"3+d8CHSB}z`B/DO9G~[+zf3I/{`%GE7,:Ph1&9*;Ne@riCpb5}VyrPTo*~)Y:Cd49V%i09ZHgOFeQmG&ZaxbN$Sm~>m{Uqa2UthwCp0LX6j)<!cz@ZcA:5:jm.YmJEQPu6o6k9j;fH]+x2GV.ldW6J.:Y0z"7/vvRd6~nHk$eFKu#**P^g^&=42xo&j&18R1M5OejBb1M6wASZUdZej..8*sU,#D`~2K>qhhux;e%x.B0RO.2%>rwLJ{#{Pz>DskPqvtUfXu[XnP)Uso*59h|LqT5nR|r&0|&d6i[3SSR,/R6?tJS,/fMQ%{quU8!t,06&jSPyZhQGSW1Yc9`i9J~s!yOsweXf6:^6StehY5_FN26aZ(2&:OI93E:!|U;A(3]Si,<KRab`uUKD.Y+huT0Sm&x2;vV"^P])_okCWHi1/e1:iokp[{I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|%DPU`OtCUyAIyj@^hc7|G6Od2i.U=Jwtr6K%~P1xz^p]u$sV9MLBI}FHc4UJ^WkQnx~)U2vanqB:v7v_yYO2:A4U`:"W1t$E|[%+9ZaC!w(+gn#cIP=~tt!1Zr?fU`x,N,<asDLKK.}h/t?4~$046lR=&dI&KLT|LNCa8R,hfRfAqOv;g0lGoM_3wg3h;/LtoN>iy2,$T0!?~_:sL<K;|c62+22!D|e@N/{4"I{ce5])|n*e?T)a9O5iSh.vbE0Qk3"z&}]ibxhn~s|ts2?|en[5?=a_dc9xhPPg>o6<Xx|8REW$"o~e2|sk>c=kxg*X}3INY9M#WH8%"S<F1fBH.2OvUX6DvT2kr%Mm;v:_@X3_5p@$<SK<7n`8sMlT`t#ypH+Q#@Pj8Q9t@iIm*1t[$[4u{1rg>yM/sB')),j||(j=W({wasmBinary:k,locateFile:void 0})),j).then((e=>new S(e)))),z}static unload(){j&&(j=void 0)}version(){return this._exports.version()}encode(e){this._exports.reset();const r=this.uint8_heapu8(e),t=this.malloc_heapu8(r.size+Math.ceil(r.size/4));t.size=this._exports.encode(r.ptr,r.size,t.ptr);let n=this.heapu8_string(t);return t.size=this._exports.encode_end(t.ptr),n+=this.heapu8_string(t),this.free_heapu8(t),this.free_heapu8(r),n}decode(e){this._exports.reset();const r=this.string_heapu8(e),t=this.malloc_heapu8(r.size);t.size=this._exports.decode(r.ptr,r.size,t.ptr);let n=this.heapu8_uint8(t);return t.size=this._exports.decode_end(t.ptr),n=new Uint8Array([...n,...this.heapu8_view(t)]),this.free_heapu8(t),this.free_heapu8(r),n}}e.Base91=S})); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self)["@hpcc-js/wasm"]={})}(this,(function(e){"use strict";var r=ArrayBuffer,t=Uint8Array,n=Uint16Array,o=Int16Array,a=Int32Array,i=function(e,r,n){if(t.prototype.slice)return t.prototype.slice.call(e,r,n);(null==r||r<0)&&(r=0),(null==n||n>e.length)&&(n=e.length);var o=new t(n-r);return o.set(e.subarray(r,n)),o},s=function(e,r,n,o){if(t.prototype.fill)return t.prototype.fill.call(e,r,n,o);for((null==n||n<0)&&(n=0),(null==o||o>e.length)&&(o=e.length);n<o;++n)e[n]=r;return e},c=function(e,r,n,o){if(t.prototype.copyWithin)return t.prototype.copyWithin.call(e,r,n,o);for((null==n||n<0)&&(n=0),(null==o||o>e.length)&&(o=e.length);n<o;)e[r++]=e[n++]},_=["invalid zstd data","window size too large (>2046MB)","invalid block type","FSE accuracy too high","match distance too far back","unexpected EOF"],f=function(e,r,t){var n=new Error(r||_[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,f),!t)throw n;return n},u=function(e,r,t){for(var n=0,o=0;n<t;++n)o|=e[r++]<<(n<<3);return o},p=function(e,r){var n,o,i=e[0]|e[1]<<8|e[2]<<16;if(3126568==i&&253==e[3]){var s=e[4],c=s>>5&1,_=s>>2&1,p=3&s,l=s>>6;8&s&&f(0);var h=6-c,d=3==p?4:p,y=u(e,h,d),b=l?1<<l:c,v=u(e,h+=d,b)+(1==l&&256),m=v;if(!c){var w=1<<10+(e[5]>>3);m=w+(w>>3)*(7&e[5])}m>2145386496&&f(1);var g=new t((1==r?v||m:r?0:m)+12);return g[0]=1,g[4]=4,g[8]=8,{b:h+b,y:0,l:0,d:y,w:r&&1!=r?r:g.subarray(12),e:m,o:new a(g.buffer,0,3),u:v,c:_,m:Math.min(131072,m)}}if(25481893==(i>>4|e[3]<<20))return 8+(((n=e)[o=4]|n[o+1]<<8|n[o+2]<<16|n[o+3]<<24)>>>0);f(0)},l=function(e){for(var r=0;1<<r<=e;++r);return r-1},h=function(e,a,i){var s=4+(a<<3),c=5+(15&e[a]);c>i&&f(3);for(var _=1<<c,u=_,p=-1,h=-1,d=-1,y=_,b=new r(512+(_<<2)),v=new o(b,0,256),m=new n(b,0,256),w=new n(b,512,_),g=512+(_<<1),C=new t(b,g,_),E=new t(b,g+_);p<255&&u>0;){var A=l(u+1),B=s>>3,x=(1<<A+1)-1,U=(e[B]|e[B+1]<<8|e[B+2]<<16)>>(7&s)&x,P=(1<<A)-1,W=x-u-1,j=U&P;if(j<W?(s+=A,U=j):(s+=A+1,U>P&&(U-=W)),v[++p]=--U,-1==U?(u+=U,C[--y]=p):u-=U,!U)do{var k=s>>3;h=(e[k]|e[k+1]<<8)>>(7&s)&3,s+=2,p+=h}while(3==h)}(p>255||u)&&f(0);for(var z=0,I=(_>>1)+(_>>3)+3,S=_-1,H=0;H<=p;++H){var O=v[H];if(O<1)m[H]=-O;else for(d=0;d<O;++d){C[z]=H;do{z=z+I&S}while(z>=y)}}for(z&&f(0),d=0;d<_;++d){var X=m[C[d]]++,G=E[d]=c-l(X);w[d]=(X<<G)-_}return[s+7>>3,{b:c,s:C,n:E,t:w}]},d=h(new t([81,16,99,140,49,198,24,99,12,33,196,24,99,102,102,134,70,146,4]),0,6)[1],y=h(new t([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],b=h(new t([32,132,16,66,102,70,68,68,68,68,36,73,2]),0,5)[1],v=function(e,r){for(var t=e.length,n=new a(t),o=0;o<t;++o)n[o]=r,r+=1<<e[o];return n},m=new t(new a([0,0,0,0,16843009,50528770,134678020,202050057,269422093]).buffer,0,36),w=v(m,0),g=new t(new a([0,0,0,0,0,0,0,0,16843009,50528770,117769220,185207048,252579084,16]).buffer,0,53),C=v(g,3),E=function(e,r,t){var n=e.length,o=r.length,a=e[n-1],i=(1<<t.b)-1,s=-t.b;a||f(0);for(var c=0,_=t.b,u=(n<<3)-8+l(a)-_,p=-1;u>s&&p<o;){var h=u>>3;c=(c<<_|(e[h]|e[h+1]<<8|e[h+2]<<16)>>(7&u))&i,r[++p]=t.s[c],u-=_=t.n[c]}u==s&&p+1==o||f(0)},A=function(e,r,t){var n=6,o=r.length+3>>2,a=o<<1,i=o+a;E(e.subarray(n,n+=e[0]|e[1]<<8),r.subarray(0,o),t),E(e.subarray(n,n+=e[2]|e[3]<<8),r.subarray(o,a),t),E(e.subarray(n,n+=e[4]|e[5]<<8),r.subarray(a,i),t),E(e.subarray(n),r.subarray(i),t)},B=function(e,r,o){var a,c=r.b,_=e[c],u=_>>1&3;r.l=1&_;var p=_>>3|e[c+1]<<5|e[c+2]<<13,v=(c+=3)+p;if(1==u){if(c>=e.length)return;return r.b=c+1,o?(s(o,e[c],r.y,r.y+=p),o):s(new t(p),e[c])}if(!(v>e.length)){if(0==u)return r.b=v,o?(o.set(e.subarray(c,v),r.y),r.y+=p,o):i(e,c,v);if(2==u){var B=e[c],x=3&B,U=B>>2&3,P=B>>4,W=0,j=0;x<2?1&U?P|=e[++c]<<4|(2&U&&e[++c]<<12):P=B>>3:(j=U,U<2?(P|=(63&e[++c])<<4,W=e[c]>>6|e[++c]<<2):2==U?(P|=e[++c]<<4|(3&e[++c])<<12,W=e[c]>>2|e[++c]<<6):(P|=e[++c]<<4|(63&e[++c])<<12,W=e[c]>>6|e[++c]<<2|e[++c]<<10)),++c;var k=o?o.subarray(r.y,r.y+r.m):new t(r.m),z=k.length-P;if(0==x)k.set(e.subarray(c,c+=P),z);else if(1==x)s(k,e[c++],z);else{var I=r.h;if(2==x){var S=function(e,r){var o=0,a=-1,i=new t(292),c=e[r],_=i.subarray(0,256),u=i.subarray(256,268),p=new n(i.buffer,268);if(c<128){var d=h(e,r+1,6),y=d[0],b=d[1],v=y<<3,m=e[r+=c];m||f(0);for(var w=0,g=0,C=b.b,E=C,A=(++r<<3)-8+l(m);!((A-=C)<v);){var B=A>>3;if(w+=(e[B]|e[B+1]<<8)>>(7&A)&(1<<C)-1,_[++a]=b.s[w],(A-=E)<v)break;g+=(e[B=A>>3]|e[B+1]<<8)>>(7&A)&(1<<E)-1,_[++a]=b.s[g],C=b.n[w],w=b.t[w],E=b.n[g],g=b.t[g]}++a>255&&f(0)}else{for(a=c-127;o<a;o+=2){var x=e[++r];_[o]=x>>4,_[o+1]=15&x}++r}var U=0;for(o=0;o<a;++o)(k=_[o])>11&&f(0),U+=k&&1<<k-1;var P=l(U)+1,W=1<<P,j=W-U;for(j&j-1&&f(0),_[a++]=l(j)+1,o=0;o<a;++o){var k=_[o];++u[_[o]=k&&P+1-k]}var z=new t(W<<1),I=z.subarray(0,W),S=z.subarray(W);for(p[P]=0,o=P;o>0;--o){var H=p[o];s(S,o,H,p[o-1]=H+u[o]*(1<<P-o))}for(p[0]!=W&&f(0),o=0;o<a;++o){var O=_[o];if(O){var X=p[O];s(I,o,X,p[O]=X+(1<<P-O))}}return[r,{n:S,b:P,s:I}]}(e,c);W+=c-(c=S[0]),r.h=I=S[1]}else I||f(0);(j?A:E)(e.subarray(c,c+=W),k.subarray(z),I)}var H=e[c++];if(H){255==H?H=32512+(e[c++]|e[c++]<<8):H>127&&(H=H-128<<8|e[c++]);var O=e[c++];3&O&&f(0);for(var X=[y,b,d],G=2;G>-1;--G){var D=O>>2+(G<<1)&3;if(1==D){var K=new t([0,0,e[c++]]);X[G]={s:K.subarray(2,3),n:K.subarray(0,1),t:new n(K.buffer,0,1),b:0}}else 2==D?(c=(a=h(e,c,9-(1&G)))[0],X[G]=a[1]):3==D&&(r.t||f(0),X[G]=r.t[G])}var T=r.t=X,Y=T[0],R=T[1],$=T[2],N=e[v-1];N||f(0);var L=(v<<3)-8+l(N)-$.b,Z=L>>3,q=0,J=(e[Z]|e[Z+1]<<8)>>(7&L)&(1<<$.b)-1,M=(e[Z=(L-=R.b)>>3]|e[Z+1]<<8)>>(7&L)&(1<<R.b)-1,Q=(e[Z=(L-=Y.b)>>3]|e[Z+1]<<8)>>(7&L)&(1<<Y.b)-1;for(++H;--H;){var V=$.s[J],F=$.n[J],ee=Y.s[Q],re=Y.n[Q],te=R.s[M],ne=R.n[M],oe=1<<te,ae=oe+((e[Z=(L-=te)>>3]|e[Z+1]<<8|e[Z+2]<<16|e[Z+3]<<24)>>>(7&L)&oe-1);Z=(L-=g[ee])>>3;var ie=C[ee]+((e[Z]|e[Z+1]<<8|e[Z+2]<<16)>>(7&L)&(1<<g[ee])-1);Z=(L-=m[V])>>3;var se=w[V]+((e[Z]|e[Z+1]<<8|e[Z+2]<<16)>>(7&L)&(1<<m[V])-1);if(Z=(L-=F)>>3,J=$.t[J]+((e[Z]|e[Z+1]<<8)>>(7&L)&(1<<F)-1),Z=(L-=re)>>3,Q=Y.t[Q]+((e[Z]|e[Z+1]<<8)>>(7&L)&(1<<re)-1),Z=(L-=ne)>>3,M=R.t[M]+((e[Z]|e[Z+1]<<8)>>(7&L)&(1<<ne)-1),ae>3)r.o[2]=r.o[1],r.o[1]=r.o[0],r.o[0]=ae-=3;else{var ce=ae-(0!=se);ce?(ae=3==ce?r.o[0]-1:r.o[ce],ce>1&&(r.o[2]=r.o[1]),r.o[1]=r.o[0],r.o[0]=ae):ae=r.o[0]}for(G=0;G<se;++G)k[q+G]=k[z+G];z+=se;var _e=(q+=se)-ae;if(_e<0){var fe=-_e,ue=r.e+_e;fe>ie&&(fe=ie);for(G=0;G<fe;++G)k[q+G]=r.w[ue+G];q+=fe,ie-=fe,_e=0}for(G=0;G<ie;++G)k[q+G]=k[_e+G];q+=ie}if(q!=z)for(;z<k.length;)k[q++]=k[z++];else q=k.length;o?r.y+=q:k=i(k,0,q)}else if(o){if(r.y+=P,z)for(G=0;G<P;++G)k[G]=k[z+G]}else z&&(k=i(k,z));return r.b=v,k}f(2)}},x=function(e,r){if(1==e.length)return e[0];for(var n=new t(r),o=0,a=0;o<e.length;++o){var i=e[o];n.set(i,a),a+=i.length}return n};const U='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!#$%&()*+,./:;<=>?@[]^_`{|}~"';function P(e){const r=function(e){const r=e.length,t=[];let n=0,o=0,a=-1;for(let i=0;i<r;i++){const r=U.indexOf(e[i]);if(-1!==r)if(a<0)a=r;else{a+=91*r,n|=a<<o,o+=(8191&a)>88?13:14;do{t.push(255&n),n>>=8,o-=8}while(o>7);a=-1}}return a>-1&&t.push(255&(n|a<<o)),new Uint8Array(t)}(e);return function(e,r){for(var t=[],n=+!r,o=0,a=0;e.length;){var i=p(e,n||r);if("object"==typeof i){for(n?(r=null,i.w.length==i.u&&(t.push(r=i.w),a+=i.u)):(t.push(r),i.e=0);!i.l;){var s=B(e,i,r);s||f(5),r?i.e=i.y:(t.push(s),a+=s.length,c(i.w,0,s.length),i.w.set(s,i.w.length-s.length))}o=i.b+4*i.c}else o=i;e=e.subarray(o)}return x(t,a)}(r)}var W=("undefined"!=typeof document&&document.currentScript&&document.currentScript.src,function(e={}){var r,t,n=e;n.ready=new Promise(((e,n)=>{r=e,t=n}));var o=Object.assign({},n),a=!1;console.log.bind(console);var i,s,c=console.error.bind(console);Object.assign(n,o),o=null,n.wasmBinary&&(i=n.wasmBinary),"object"!=typeof WebAssembly&&b("no native wasm support detected");var _,f=!1;function u(){var e=s.buffer;n.HEAP8=new Int8Array(e),n.HEAP16=new Int16Array(e),n.HEAPU8=_=new Uint8Array(e),n.HEAPU16=new Uint16Array(e),n.HEAP32=new Int32Array(e),n.HEAPU32=new Uint32Array(e),n.HEAPF32=new Float32Array(e),n.HEAPF64=new Float64Array(e)}var p=[],l=[],h=[],d=0,y=null;function b(e){c(e="Aborted("+e+")"),f=!0,e+=". Build with -sASSERTIONS for more info.";var r=new WebAssembly.RuntimeError(e);throw t(r),r}var v,m=e=>e.startsWith("data:application/octet-stream;base64,"),w=e=>e.startsWith("file://");function g(e){if(e==v&&i)return new Uint8Array(i);throw"both async and sync fetching of the wasm failed"}function C(e,r,t){return function(e){return i||!a||"function"!=typeof fetch||w(e)?Promise.resolve().then((()=>g(e))):fetch(e,{credentials:"same-origin"}).then((r=>{if(!r.ok)throw`failed to load wasm binary file at '${e}'`;return r.arrayBuffer()})).catch((()=>g(e)))}(e).then((e=>WebAssembly.instantiate(e,r))).then((e=>e)).then(t,(e=>{c(`failed to asynchronously prepare wasm: ${e}`),b(e)}))}m(v="base91lib.wasm")||(v=""+v);var E=e=>{for(;e.length>0;)e.shift()(n)},A=e=>{var r=(e-s.buffer.byteLength+65535)/65536;try{return s.grow(r),u(),1}catch(e){}},B="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,x=(e,r)=>e?((e,r,t)=>{for(var n=r+t,o=r;e[o]&&!(o>=n);)++o;if(o-r>16&&e.buffer&&B)return B.decode(e.subarray(r,o));for(var a="";r<o;){var i=e[r++];if(128&i){var s=63&e[r++];if(192!=(224&i)){var c=63&e[r++];if((i=224==(240&i)?(15&i)<<12|s<<6|c:(7&i)<<18|s<<12|c<<6|63&e[r++])<65536)a+=String.fromCharCode(i);else{var _=i-65536;a+=String.fromCharCode(55296|_>>10,56320|1023&_)}}else a+=String.fromCharCode((31&i)<<6|s)}else a+=String.fromCharCode(i)}return a})(_,e,r):"",U={a:()=>{b("")},b:e=>{var r=_.length,t=2147483648;if((e>>>=0)>t)return!1;for(var n,o,a=1;a<=4;a*=2){var i=r*(1+.2/a);i=Math.min(i,e+100663296);var s=Math.min(t,(n=Math.max(e,i))+((o=65536)-n%o)%o);if(A(s))return!0}return!1}},P=function(){var e,r,n,o;function a(e,r){var t;return P=e.exports,s=P.c,u(),t=P.d,l.unshift(t),function(e){if(0==--d&&y){var r=y;y=null,r()}}(),P}return d++,(e=i,r=v,n={a:U},o=function(e){a(e.instance)},e||"function"!=typeof WebAssembly.instantiateStreaming||m(r)||w(r)||"function"!=typeof fetch?C(r,n,o):fetch(r,{credentials:"same-origin"}).then((e=>WebAssembly.instantiateStreaming(e,n).then(o,(function(e){return c(`wasm streaming compile failed: ${e}`),c("falling back to ArrayBuffer instantiation"),C(r,n,o)}))))).catch(t),{}}();n._webidl_free=e=>(n._webidl_free=P.e)(e),n._webidl_malloc=e=>(n._webidl_malloc=P.f)(e);var W,j=n._emscripten_bind_VoidPtr___destroy___0=e=>(j=n._emscripten_bind_VoidPtr___destroy___0=P.g)(e),k=n._emscripten_bind_CBasE91_CBasE91_0=()=>(k=n._emscripten_bind_CBasE91_CBasE91_0=P.h)(),z=n._emscripten_bind_CBasE91_malloc_1=e=>(z=n._emscripten_bind_CBasE91_malloc_1=P.i)(e),I=n._emscripten_bind_CBasE91_free_1=e=>(I=n._emscripten_bind_CBasE91_free_1=P.j)(e),S=n._emscripten_bind_CBasE91_version_0=e=>(S=n._emscripten_bind_CBasE91_version_0=P.k)(e),H=n._emscripten_bind_CBasE91_reset_0=e=>(H=n._emscripten_bind_CBasE91_reset_0=P.l)(e),O=n._emscripten_bind_CBasE91_encode_3=(e,r,t,o)=>(O=n._emscripten_bind_CBasE91_encode_3=P.m)(e,r,t,o),X=n._emscripten_bind_CBasE91_encode_end_1=(e,r)=>(X=n._emscripten_bind_CBasE91_encode_end_1=P.n)(e,r),G=n._emscripten_bind_CBasE91_decode_3=(e,r,t,o)=>(G=n._emscripten_bind_CBasE91_decode_3=P.o)(e,r,t,o),D=n._emscripten_bind_CBasE91_decode_end_1=(e,r)=>(D=n._emscripten_bind_CBasE91_decode_end_1=P.p)(e,r),K=n._emscripten_bind_CBasE91___destroy___0=e=>(K=n._emscripten_bind_CBasE91___destroy___0=P.q)(e);function T(){d>0||(E(p),d>0||W||(W=!0,n.calledRun=!0,f||(E(l),r(n),E(h))))}function Y(){}function R(e){return(e||Y).__cache__}function $(e,r){var t=R(r),n=t[e];return n||((n=Object.create((r||Y).prototype)).ptr=e,t[e]=n)}function N(){throw"cannot construct a VoidPtr, no constructor in IDL"}function L(){this.ptr=k(),R(L)[this.ptr]=this}return n.UTF8ToString=x,y=function e(){W||T(),W||(y=e)},T(),Y.prototype=Object.create(Y.prototype),Y.prototype.constructor=Y,Y.prototype.__class__=Y,Y.__cache__={},n.WrapperObject=Y,n.getCache=R,n.wrapPointer=$,n.castObject=function(e,r){return $(e.ptr,r)},n.NULL=$(0),n.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete R(e.__class__)[e.ptr]},n.compare=function(e,r){return e.ptr===r.ptr},n.getPointer=function(e){return e.ptr},n.getClass=function(e){return e.__class__},N.prototype=Object.create(Y.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},n.VoidPtr=N,N.prototype.__destroy__=N.prototype.__destroy__=function(){var e=this.ptr;j(e)},L.prototype=Object.create(Y.prototype),L.prototype.constructor=L,L.prototype.__class__=L,L.__cache__={},n.CBasE91=L,L.prototype.malloc=L.prototype.malloc=function(e){return e&&"object"==typeof e&&(e=e.ptr),z(e)},L.prototype.free=L.prototype.free=function(e){e&&"object"==typeof e&&(e=e.ptr),I(e)},L.prototype.version=L.prototype.version=function(){var e=this.ptr;return x(S(e))},L.prototype.reset=L.prototype.reset=function(){var e=this.ptr;H(e)},L.prototype.encode=L.prototype.encode=function(e,r,t){var n=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),t&&"object"==typeof t&&(t=t.ptr),O(n,e,r,t)},L.prototype.encode_end=L.prototype.encode_end=function(e){var r=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),X(r,e)},L.prototype.decode=L.prototype.decode=function(e,r,t){var n=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),t&&"object"==typeof t&&(t=t.ptr),G(n,e,r,t)},L.prototype.decode_end=L.prototype.decode_end=function(e){var r=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),D(r,e)},L.prototype.__destroy__=L.prototype.__destroy__=function(){var e=this.ptr;K(e)},e.ready});let j,k,z;class I{constructor(e,r){this._module=e,this._exports=r}malloc_heapu8(e){return{ptr:this._exports.malloc(e),size:e}}free_heapu8(e){this._exports.free(e.ptr)}uint8_heapu8(e){const r=this.malloc_heapu8(e.byteLength);return this._module.HEAPU8.set(e,r.ptr),r}heapu8_view(e){return this._module.HEAPU8.subarray(e.ptr,e.ptr+e.size)}heapu8_uint8(e){return new Uint8Array([...this.heapu8_view(e)])}string_heapu8(e){const r=Uint8Array.from(e,(e=>e.charCodeAt(0)));return this.uint8_heapu8(r)}heapu8_string(e){const r=Array.from({length:e.size});return this._module.HEAPU8.subarray(e.ptr,e.ptr+e.size).forEach(((e,t)=>{r[t]=String.fromCharCode(e)})),r.join("")}}class S extends I{constructor(e){super(e,new e.CBasE91)}static load(){return z||(z=(k||(k=P('v7#aT)d=G[2Aymr6WVpIKbLFoIbx0IaEGHRsNRKK_,PzlE?I.aMvt.%jpII31}sV/)tXLa7erzui{}a~4c@W:dHX,q$!NTRs|7SPaX5Jfm^Ym+3=Dd;h0"PC=Ro.O`2^2.y*;v)?OKE2lrKW)5qvy+DYyZ^EGZQf%v^aB~Xjzk(^^/(nOX=aLQF]o}?>VcttowP~p%Kcy7xp<!]#WYBa1])s<NH/k#I:9eHRC8H+[%E,Prx7||Yh1sR0Yx/|)`kuiZL__s@/;w[8<#hXVr5~,dD}&jj{bap&/b/DrQg,1:/;m#y}P6cCS%|zMWiT|zCsIEfyQbrdI/w5q}Y;Sj#%QXtXGcVJJh"V(6;k"op{,B}!xh4EAu=rO`s9@f<]wrs&.4T~~f>B*i,pTM6X).ZiZd"3+d8CHSB}z`B/DO9G~[+zf3I/{`%GE7,:Ph1&9*;Ne@riCpb5}VyrPTo*~)Y:Cd49V%i09ZHgOFeQmG&ZaxbN$Sm~>m{Uqa2UthwCp0LX6j)<!cz@ZcA:5:jm.YmJEQPu6o6k9j;fH]+x2GV.ldW6J.:Y0z"7/vvRd6~nHk$eFKu#**P^g^&=42xo&j&18R1M5OejBb1M6wASZUdZej..8*sU,#D`~2K>qhhux;e%x.B0RO.2%>rwLJ{#{Pz>DskPqvtUfXu[XnP)Uso*59h|LqT5nR|r&0|&d6i[3SSR,/R6?tJS,/fMQ%{quU8!t,06&jSPyZhQGSW1Yc9`i9J~s!yOsweXf6:^6StehY5_FN26aZ(2&:OI93E:!|U;A(3]Si,<KRab`uUKD.Y+huT0Sm&x2;vV"^P])_okCWHi1/e1:iokp[{I8]P2xI`K&i!GIW5>9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hc7|G6Od2i.U=Jwtr6K%~P1xz^p]u$sV9MLBI}FHc4UJ^WkQnx~)U2vanqB:v7v_yYO2:A4U`:"W1t$E|[%+9ZaC!w(+gn#cIP=~tt!1Zr?fU`x,N,<asDLKK.}h/t?4~$046lR=&dI&KLT|LNCa8R,hfRfAqOv;g0lGoM_3wg3h;/LtoN>iy2,$T0!?~_:sL<K;|c62+22!D|e@N/{4"I{ce5])|n*e?T)a9O5iSh.vbE0Qk3"z&}]ibxhn~s|ts2?|en[5?=a_dc9xhPPg>o6<Xx|8REW$"o~e2|sk>c=kxg*X}3INY9M#WH8%"S<F1fBH.2OvUX6DvT2kr%Mm;v:_@X3_5p@$<SK<7n`8sMlT`t#ypH+Q#@Pj8Q9t@iIm*1t[$[4u{1rg>yM/sB')),j||(j=W({wasmBinary:k,locateFile:void 0})),j).then((e=>new S(e)))),z}static unload(){j&&(j=void 0)}version(){return this._exports.version()}encode(e){this._exports.reset();const r=this.uint8_heapu8(e),t=this.malloc_heapu8(r.size+Math.ceil(r.size/4));t.size=this._exports.encode(r.ptr,r.size,t.ptr);let n=this.heapu8_string(t);return t.size=this._exports.encode_end(t.ptr),n+=this.heapu8_string(t),this.free_heapu8(t),this.free_heapu8(r),n}decode(e){this._exports.reset();const r=this.string_heapu8(e),t=this.malloc_heapu8(r.size);t.size=this._exports.decode(r.ptr,r.size,t.ptr);let n=this.heapu8_uint8(t);return t.size=this._exports.decode_end(t.ptr),n=new Uint8Array([...n,...this.heapu8_view(t)]),this.free_heapu8(t),this.free_heapu8(r),n}}e.Base91=S})); | ||
//# sourceMappingURL=base91.umd.js.map |
{ | ||
"name": "@hpcc-js/wasm", | ||
"version": "2.16.0", | ||
"version": "2.16.1", | ||
"description": "hpcc-js - WASM Libraries", | ||
@@ -133,26 +133,26 @@ "keywords": [ | ||
"@rollup/plugin-terser": "0.4.4", | ||
"@types/chai": "4.3.11", | ||
"@types/chai": "4.3.14", | ||
"@types/emscripten": "1.39.10", | ||
"@types/mocha": "10.0.6", | ||
"@types/node": "20.11.17", | ||
"@types/node": "20.11.30", | ||
"@types/yargs": "17.0.32", | ||
"@typescript-eslint/eslint-plugin": "6.21.0", | ||
"@typescript-eslint/parser": "6.21.0", | ||
"assemblyscript": "0.27.24", | ||
"chai": "5.0.3", | ||
"assemblyscript": "0.27.25", | ||
"chai": "5.1.0", | ||
"coveralls": "3.1.1", | ||
"eslint": "8.56.0", | ||
"fzstd": "0.1.0", | ||
"karma": "6.4.2", | ||
"eslint": "8.57.0", | ||
"fzstd": "0.1.1", | ||
"karma": "6.4.3", | ||
"karma-chai": "0.1.0", | ||
"karma-chrome-launcher": "3.2.0", | ||
"karma-firefox-launcher": "2.1.2", | ||
"karma-firefox-launcher": "2.1.3", | ||
"karma-mocha": "2.0.1", | ||
"karma-spec-reporter": "0.0.36", | ||
"local-web-server": "5.3.1", | ||
"mocha": "10.3.0", | ||
"mocha": "10.4.0", | ||
"npm-run-all": "4.1.5", | ||
"nyc": "15.1.0", | ||
"rimraf": "5.0.5", | ||
"rollup": "4.10.0", | ||
"rollup": "4.13.1", | ||
"rollup-plugin-sourcemaps": "0.6.3", | ||
@@ -162,6 +162,6 @@ "run-script-os": "1.1.6", | ||
"tslib": "2.6.2", | ||
"typedoc": "0.25.8", | ||
"typedoc": "0.25.12", | ||
"typedoc-plugin-markdown": "3.17.1", | ||
"typescript": "5.3.3", | ||
"vitepress": "1.0.0-rc.42" | ||
"typescript": "5.4.3", | ||
"vitepress": "1.0.1" | ||
}, | ||
@@ -168,0 +168,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7206663